/* The café's panel: made for a tablet by the coffee machine, works on a phone too. */
.panel {
  background: var(--paper);
}
.panel-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
  padding: 0.8rem 1.1rem;
  border-bottom: 1px solid var(--line);
  background: var(--card);
}
.panel-top .brand {
  font-size: 1.4rem;
  color: var(--accent);
  text-decoration: none;
}
.panel-tabs {
  display: flex;
  gap: 0.3rem;
  margin-right: auto;
}
.panel-tabs a {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.panel-tabs a:hover {
  background: var(--soft);
}
.panel-tabs a[aria-current='page'] {
  background: var(--accent);
  color: #fff;
}
.panel-top form {
  margin: 0;
}
.panel-top .button {
  padding: 0.4rem 0.9rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.panel-top .languages {
  position: relative;
}
.link {
  border: 0;
  padding: 0;
  background: none;
  color: var(--accent);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.panel button.button {
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.panel button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.button-danger {
  background: #9a3524;
  border-color: #9a3524;
}

.panel-signin {
  max-width: 30rem;
  margin: 0 auto;
  padding: 1.5rem 1.1rem 3rem;
}
.panel-demo {
  margin: 0 0 1.5rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius);
  background: var(--soft);
}
.panel-demo p {
  margin: 0.4rem 0;
}

.switches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
  padding: 0.7rem 1.1rem;
  border-bottom: 1px solid var(--line);
}
.switch {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.5rem;
  margin: 0;
}
.switch p {
  margin: 0 0.4rem 0 0;
  font-weight: 600;
}
.switch p::before {
  content: '';
  display: inline-block;
  width: 0.65rem;
  height: 0.65rem;
  margin-right: 0.45rem;
  border-radius: 50%;
  background: #2f8f5b;
}
.switch-off p::before {
  background: #c0482f;
}
.switch-label {
  color: var(--muted);
  font-size: 0.9rem;
}
.switch .button {
  padding: 0.35rem 0.8rem;
  font-size: 0.9rem;
}

.panel #orders {
  max-width: none;
  margin: 0;
  padding: 0;
}
.columns {
  display: grid;
  gap: 1.2rem;
  padding: 1rem 1.1rem 3rem;
}
@media (min-width: 60rem) {
  .columns {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: start;
  }
}
.column h2 {
  margin: 0 0 0.7rem;
  font-size: 1.15rem;
}
.column .count {
  display: inline-block;
  min-width: 1.6rem;
  padding: 0 0.45rem;
  border-radius: 999px;
  background: var(--line);
  font: 600 0.85rem/1.6rem var(--text);
  text-align: center;
  vertical-align: middle;
}
.column-new .count {
  background: var(--accent);
  color: #fff;
}

.order-card {
  margin: 0 0 0.9rem;
  padding: 0.9rem 1rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}
.order-new {
  border: 2px solid var(--accent);
  box-shadow: 0 6px 18px rgb(29 27 38 / 0.08);
}
.order-done,
.order-rejected,
.order-cancelled {
  opacity: 0.75;
}
.order-card header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0 0.8rem;
}
.order-card h3 {
  margin: 0;
  font-size: 1.35rem;
  white-space: nowrap;
}
.placed {
  color: var(--muted);
  font-size: 0.85rem;
}
.order-card p {
  margin: 0.45rem 0;
}
.order-card .order-lines {
  margin: 0.6rem 0;
}
.order-card .order-lines li {
  display: block;
  font-size: 1.05rem;
}
.ready-by {
  font-weight: 600;
  color: var(--accent);
}
.guest-note {
  padding: 0.5rem 0.7rem;
  border-radius: 10px;
  background: #fdf3d7;
}
.guest {
  color: var(--muted);
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}
.order-actions {
  margin-top: 0.8rem;
}
.order-actions form {
  margin: 0;
}
.accept-label {
  font-weight: 600;
}
.minutes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.minutes .button {
  padding: 0.55rem 0.8rem;
}
.order-actions > form > .button {
  width: 100%;
}
.decline {
  margin-top: 0.7rem;
}
.decline summary {
  color: #9a3524;
  cursor: pointer;
  font-weight: 600;
}
.decline fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.7rem 0;
  padding: 0;
  border: 0;
}
.decline legend {
  margin-bottom: 0.4rem;
  font-weight: 600;
}
.decline label:not(.pill) {
  display: block;
  font-weight: 500;
}
.decline input[name='text'] {
  display: block;
  width: 100%;
  margin-top: 0.3rem;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
}

/* --- the editor: one column, big fields, a short line under every name --- */
.visually-hidden {
  position: absolute;
  /* (stronger than the editor's full-width fields: a file field stays out of the way) */
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.editor {
  max-width: 46rem;
  margin: 0 auto;
  padding: 1.2rem 1.1rem 4rem;
}
.editor h1 {
  margin: 0.4rem 0 0.3rem;
}
.editor .lead {
  color: var(--muted);
  margin: 0 0 1.2rem;
}
.editor input:not([type='checkbox']):not([type='radio']),
.editor textarea,
.editor select {
  width: 100%;
  box-sizing: border-box;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.editor input:focus,
.editor textarea:focus,
.editor select:focus {
  outline: 3px solid var(--soft);
  border-color: var(--accent);
}
.editor ::placeholder {
  color: #a19dab;
}
.field {
  position: relative;
  margin: 0 0 1.1rem;
  padding: 0;
  border: 0;
  min-width: 0;
}
.field-name,
.field legend,
.translations > summary {
  display: block;
  font-weight: 650;
  font-size: 1rem;
  margin: 0;
  padding: 0;
}
.hint {
  margin: 0.15rem 0 0.4rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.more {
  position: absolute;
  top: -0.1rem;
  right: 0;
  max-width: 22rem;
  text-align: right;
}
.more summary {
  display: inline-grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--soft);
  color: var(--accent);
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}
.more summary::-webkit-details-marker {
  display: none;
}
.more[open] p {
  position: relative;
  z-index: 2;
  margin: 0.3rem 0 0;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  background: var(--card);
  box-shadow: 0 6px 20px rgb(0 0 0 / 0.08);
  text-align: left;
  font-size: 0.92rem;
}
.notice {
  padding: 0.7rem 0.9rem;
  border-radius: 0.6rem;
  background: var(--soft);
  margin: 0 0 1rem;
}
.notice-ok {
  background: #e3f3e6;
  color: #1d5a2a;
}
.notice-error {
  background: #fbe4df;
  color: #8a2d1e;
}
.editor-demo {
  margin: 0;
  color: var(--ink);
  padding: 0.5rem 1.1rem;
  background: #fff4d6;
  text-align: center;
  font-size: 0.92rem;
}
.empty {
  color: var(--muted);
  font-style: italic;
}
.empty-big {
  padding: 1rem;
  border: 2px dashed var(--line);
  border-radius: 0.8rem;
  text-align: center;
}
.menu-section,
.add-section,
.choice,
.photo-field,
.translations {
  margin: 0 0 1.2rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: var(--card);
}
.section-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: space-between;
}
.section-title {
  display: flex;
  flex: 1 1 16rem;
  gap: 0.4rem;
}
.section-title input {
  font-weight: 650;
  font-size: 1.1rem;
}
.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin: 0;
}
.mini {
  display: inline-block;
  padding: 0.3rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.88rem;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.mini:hover {
  border-color: var(--accent);
}
.mini-danger {
  color: #9a3524;
}
.dishes {
  list-style: none;
  margin: 0.8rem 0;
  padding: 0;
}
.dish {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.8rem;
  padding: 0.6rem 0;
  border-top: 1px solid var(--line);
}
.dish-name {
  flex: 1 1 10rem;
  font-weight: 600;
  color: var(--ink);
}
.dish-out .dish-name {
  color: var(--muted);
  text-decoration: line-through;
}
.dish-out-mark {
  font-size: 0.8rem;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: #fbe4df;
  color: #8a2d1e;
}
.add-dish {
  padding-top: 0.6rem;
}
.add-dish > summary,
.new-choice > summary {
  display: inline-block;
  margin: 0.2rem 0 0.8rem;
  padding: 0.5rem 0.9rem;
  border: 1px dashed var(--accent);
  border-radius: 999px;
  color: var(--accent);
  font-weight: 650;
  list-style: none;
  cursor: pointer;
}
.add-dish > summary::-webkit-details-marker {
  display: none;
}
.add-dish-fields {
  display: grid;
  grid-template-columns: 1fr 12rem;
  gap: 0 0.8rem;
}
@media (max-width: 34rem) {
  .add-dish-fields {
    grid-template-columns: 1fr;
  }
}
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.pill {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
}
.pill:has(input:checked) {
  border-color: var(--accent);
  background: var(--soft);
}
.toggle {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin: 0.35rem 0;
  cursor: pointer;
}
.toggle input,
.pill input[type='radio'],
.pill input {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--accent);
}
.choices-field > .toggle {
  margin-bottom: 0.8rem;
  font-weight: 600;
}
.variants {
  width: 100%;
  border-collapse: collapse;
}
.variants th {
  text-align: left;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  padding: 0 0 0.2rem;
}
.variants td {
  padding: 0 0.4rem 0.4rem 0;
}
.variants td:last-child {
  width: 8rem;
  padding-right: 0;
}
.toggles {
  margin-top: 0.4rem;
}
.new-choice > summary {
  display: inline-block;
  margin: 0.2rem 0 0.8rem;
  padding: 0.5rem 0.9rem;
  border: 1px dashed var(--accent);
  border-radius: 999px;
  color: var(--accent);
  font-weight: 650;
  list-style: none;
  cursor: pointer;
}
.new-choice > summary::-webkit-details-marker {
  display: none;
}
.presets {
  display: flex;
  gap: 0.4rem;
  margin: 0 0 0.8rem;
}
.translation {
  display: grid;
  gap: 0.35rem;
  margin: 0.8rem 0 0;
}
.translation-name {
  margin: 0;
  font-weight: 600;
  font-size: 0.9rem;
}
.save-bar {
  position: sticky;
  bottom: 0;
  margin: 0 -1.1rem;
  padding: 0.8rem 1.1rem;
  background: linear-gradient(transparent, var(--paper) 35%);
}
.save-bar .button {
  width: 100%;
  font-size: 1.05rem;
}
.photo-preview {
  display: block;
  max-width: 100%;
  max-height: 16rem;
  margin: 0 0 0.7rem;
  border-radius: 0.6rem;
}
.photo-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  margin: 0 0 0.6rem;
}
.button-quiet {
  cursor: pointer;
}
.photo-status {
  color: var(--muted);
}
.danger-zone {
  margin-top: 2rem;
  text-align: right;
}
.back {
  color: var(--muted);
}

.field:has(> .more) > .hint,
.field:has(> .more) > legend {
  padding-right: 2.2rem;
}

/* --- settings --- */
.parts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}
.part {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.15rem 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: var(--card);
  color: var(--ink);
  text-decoration: none;
}
.part:hover {
  border-color: var(--accent);
}
.part-name {
  font-weight: 650;
}
.part-text {
  grid-column: 1;
  color: var(--muted);
  font-size: 0.92rem;
}
.part-state {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.82rem;
  white-space: nowrap;
}
.part-done {
  background: #e3f3e6;
  color: #1d5a2a;
}
.part-todo {
  background: #fff1cc;
  color: #6b4d00;
}
.hours {
  border-collapse: collapse;
  width: 100%;
}
.hours th,
.hours td {
  padding: 0.3rem 0.4rem 0.3rem 0;
  text-align: left;
  white-space: nowrap;
}
.hours thead th {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}
.editor .hours input[type='time'] {
  width: 7.8rem;
  padding: 0.4rem;
}
.hours .toggle {
  margin: 0;
}
@media (max-width: 40rem) {
  .hours,
  .hours tbody,
  .hours tr,
  .hours td,
  .hours th {
    display: block;
  }
  .hours thead {
    display: none;
  }
  .hours tr {
    padding: 0.5rem 0;
    border-top: 1px solid var(--line);
  }
  .hours .second::before {
    content: '+ ';
    color: var(--muted);
  }
}
.add-dish-fields.three {
  grid-template-columns: 1fr 1fr 2fr;
}
@media (max-width: 34rem) {
  .add-dish-fields.three {
    grid-template-columns: 1fr;
  }
}
.closures {
  margin-top: 1.5rem;
}
.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.swatch input {
  position: absolute;
  opacity: 0;
}
.swatch span {
  display: block;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--line);
  cursor: pointer;
}
.swatch input:checked + span {
  box-shadow: 0 0 0 3px var(--ink);
}
.swatch input:focus-visible + span {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.swatch-0 span {
  background: linear-gradient(135deg, #6b5aa6 55%, #ede9f8 55%);
}
.swatch-1 span {
  background: linear-gradient(135deg, #b8653d 55%, #f8e8de 55%);
}
.swatch-2 span {
  background: linear-gradient(135deg, #2f6b4f 55%, #e2f0e8 55%);
}
.swatch-3 span {
  background: linear-gradient(135deg, #2c5d8f 55%, #e1ecf7 55%);
}
.swatch-4 span {
  background: linear-gradient(135deg, #a23b5a 55%, #f7e2e9 55%);
}
.swatch-5 span {
  background: linear-gradient(135deg, #8a6d1f 55%, #f5edd6 55%);
}
.swatch-6 span {
  background: linear-gradient(135deg, #1f6e78 55%, #ddf0f2 55%);
}
.swatch-7 span {
  background: linear-gradient(135deg, #3a3a44 55%, #ececef 55%);
}

.editor h2.field-name {
  font-family: inherit;
}

/* --- start.pagefoldstudio.com --- */
.chosen {
  margin: 0 0 1rem;
  padding: 0.6rem 0.9rem;
  border-radius: 0.6rem;
  background: var(--soft);
}
.address-field {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: #fff;
  overflow: hidden;
}
.editor .address-field input {
  flex: 1;
  min-width: 0;
  border: 0;
  border-radius: 0;
}
.address-field span {
  padding: 0 0.7rem 0 0;
  color: var(--muted);
  white-space: nowrap;
}
.slug-state {
  font-weight: 600;
  color: #1d5a2a;
}
.slug-state.slug-taken {
  color: #8a2d1e;
}
.terms {
  align-items: flex-start;
  margin: 0.4rem 0 0.8rem;
}
.promises {
  margin: 1.5rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

/* --- trial and QR codes --- */
.trial {
  margin: 0;
  padding: 0.45rem 1.1rem;
  background: var(--soft);
  text-align: center;
  font-size: 0.92rem;
}
.trial-soon {
  background: #fff1cc;
}
.qr-form .row-actions {
  gap: 0.6rem;
}
.qr-sheet {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.qr-card {
  margin: 0;
  padding: 1rem;
  border: 1px dashed var(--line);
  border-radius: 0.8rem;
  background: #fff;
  text-align: center;
  break-inside: avoid;
}
.qr-card svg {
  display: block;
  width: 100%;
  max-width: 12rem;
  margin: 0 auto 0.6rem;
}
.qr-card figcaption {
  display: grid;
  gap: 0.2rem;
}
.qr-card strong {
  font-size: 1.25rem;
}
.qr-card small {
  color: var(--muted);
  word-break: break-all;
}
@media print {
  .panel-top,
  .no-print,
  .notice,
  .trial,
  .editor-demo {
    display: none !important;
  }
  .panel {
    background: #fff;
  }
  .editor {
    max-width: none;
    padding: 0;
  }
  .qr-sheet {
    grid-template-columns: repeat(2, 1fr);
    gap: 8mm;
  }
  .qr-card {
    border: 1px dashed #999;
    padding: 8mm;
  }
  .qr-card svg {
    max-width: 55mm;
  }
}

/* --- history --- */
.period {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: flex-end;
}
.period label {
  display: grid;
  gap: 0.2rem;
  font-weight: 600;
  font-size: 0.9rem;
}
.editor .period input {
  width: auto;
}
.quick {
  margin: 0.8rem 0 1rem;
}
.quick a[aria-current] {
  border-color: var(--accent);
  background: var(--soft);
}
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: 0.6rem;
}
.tile {
  display: grid;
  gap: 0.2rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: var(--card);
}
.tile span {
  color: var(--muted);
  font-size: 0.88rem;
}
.tile strong {
  font-size: 1.45rem;
  font-variant-numeric: tabular-nums;
}
.report {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  font-variant-numeric: tabular-nums;
}
.report th,
.report td {
  padding: 0.45rem 0.6rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.report thead th {
  font-size: 0.85rem;
  color: var(--muted);
}
.report td:last-child,
.report th:last-child {
  text-align: right;
}
.report tr.muted td {
  color: var(--muted);
}
.downloads {
  margin-top: 1.5rem;
}
.downloads .row-actions {
  gap: 0.6rem;
}

/* Four tabs fit a phone: they wrap and get a little smaller. */
.panel-tabs {
  flex-wrap: wrap;
  min-width: 0;
}
@media (max-width: 30rem) {
  .panel-tabs a {
    padding: 0.3rem 0.55rem;
    font-size: 0.92rem;
  }
}

/* --- bookings in the panel --- */
.part-off {
  background: #ecebef;
  color: var(--muted);
}
.mini-strong {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.booking-time {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  min-width: 7.5rem;
}
.booking .dish-name small {
  display: block;
  font-weight: 400;
  color: var(--muted);
}
.booking-note {
  font-style: italic;
}
.booking-state {
  font-size: 0.82rem;
  padding: 0.1rem 0.55rem;
  border-radius: 999px;
  background: #ecebef;
}
.booking-new .booking-state {
  background: #fff1cc;
}
.booking-confirmed .booking-state {
  background: #e3f3e6;
}
.booking-declined,
.booking-cancelled,
.booking-noshow {
  opacity: 0.6;
}
.service-row .field-name {
  display: grid;
  gap: 0.25rem;
  margin-bottom: 0.6rem;
}

/* --- the owner's calendar address --- */
.calendar-feed {
  margin-top: 1.5rem;
}
.more-inline summary {
  cursor: pointer;
  color: var(--accent);
  margin: 0.6rem 0;
}
.editor .feed-address {
  font-family: ui-monospace, monospace;
  font-size: 0.85rem;
  margin-bottom: 0.8rem;
}
.pills.templates .pill {
  font-weight: 600;
}

/* --- requests --- */
.request-row .dish-name {
  display: grid;
  gap: 0.15rem;
  color: inherit;
  text-decoration: none;
}
.request-new .booking-state {
  background: #fff1cc;
}
.request-accepted .booking-state,
.request-done .booking-state {
  background: #e3f3e6;
}
.request-declined,
.request-closed {
  opacity: 0.6;
}
.request-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}
.request-photos a {
  width: 8rem;
  height: 8rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e3e1e8;
}
.request-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.answer {
  background: #f4f2fa;
  border-radius: 14px;
  padding: 0.8rem 1rem;
  margin: 1rem 0;
}
.answer h2 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}
.answer-text {
  white-space: pre-wrap;
}
.facts {
  border-collapse: collapse;
}
.facts th,
.facts td {
  text-align: left;
  vertical-align: top;
  padding: 0.45rem 1.2rem 0.45rem 0;
  border-bottom: 1px solid #e3e1e8;
}
.facts th {
  font-weight: 600;
}

/* --- listings --- */
.dish-photo {
  width: 4rem;
  height: 3rem;
  object-fit: cover;
  border-radius: 8px;
  flex: none;
}
.dish-off {
  opacity: 0.6;
}
.listing-photo-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
  gap: 0.75rem;
}
.listing-photo-list img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  margin-bottom: 0.3rem;
}

/* --- History: long tables scroll inside, the page stays put --- */
.report-wrap {
  overflow-x: auto;
}
.report td small {
  display: block;
}
