/* The guest menu.
 *
 * One stylesheet, no framework, no webfont. A diner opens this once, at a
 * table, on whatever connection the room has — every kilobyte here is paid for
 * by somebody waiting to read a price.
 *
 * The system font stack is deliberate. Satoshi is the app's typeface and it is
 * ~100 KB a weight; the till can afford that at install time and a phone at a
 * table cannot, so this page uses whatever the phone already has. Nothing here
 * needs to be brand-perfect — it needs to be legible in one glance, held at
 * arm's length, in a room lit for eating.
 */

:root {
  --ink: #14110f;
  --ink-soft: #6b625c;
  --paper: #fbfaf8;
  --card: #ffffff;
  --line: #e8e3dd;
  --accent: #c2410c;
  --accent-ink: #ffffff;
  /* The two tints everything soft reads: a chip's background, a tile's icon
   * well, the hairline under an open card. `theme.js` recomputes all three
   * from the restaurant's own colour once the profile lands. */
  --accent-soft: rgb(194 65 12 / 0.12);
  --accent-line: rgb(194 65 12 / 0.35);
  --veg: #16803c;
  --nonveg: #b91c1c;
  --egg: #b45309;
  --radius: 14px;
  --gap: 14px;
}

/* Always light. The page used to follow the phone's dark-mode setting, and a
 * menu read at a table is a printed card: white paper, dark ink, whatever the
 * phone's own theme is. `color-scheme: light` on <html> is what keeps the
 * browser's form controls and scrollbars from going dark on their own. */
html { color-scheme: light; }

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.app {
  max-width: 640px;
  margin: 0 auto;
  padding: 16px 16px calc(96px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.booting, .empty {
  color: var(--ink-soft);
  text-align: center;
  padding: 32px 0;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  text-align: center;
}

/* --- the header ------------------------------------------------------------
 *
 * The cover, the logo over its bottom edge, then the words. The card's own
 * padding is on the body so the picture can run edge to edge.
 */

.profile { position: relative; padding: 0; overflow: hidden; }
.profile__service {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--card);
  color: var(--accent);
  cursor: pointer;
}
.profile__service:active { background: var(--line); }
.profile__service:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.app > .profile--compact {
  margin: -16px -16px 0;
  border-radius: 0;
  border-width: 0 0 1px;
}
.profile__body { position: relative; padding: 0 18px 18px; }

.cover {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--accent-soft);
  cursor: pointer;
}
.profile--compact .cover { aspect-ratio: 5 / 2; }
.cover--band { aspect-ratio: auto; height: 64px; cursor: default; background: var(--accent); }
.cover__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cover__count {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgb(0 0 0 / 0.55);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  margin: -38px auto 10px;
  object-fit: contain;
  border-radius: 18px;
  border: 3px solid var(--card);
  background: var(--card);
  box-shadow: 0 2px 10px rgb(0 0 0 / 0.12);
  color: var(--accent);
}
.logo--none { background: var(--accent-soft); }

.profile__name { margin: 0; font-size: 23px; line-height: 1.2; letter-spacing: -0.01em; }
.profile__tagline { margin: 4px 0 0; color: var(--ink-soft); font-size: 15px; }
.profile__blurb { margin: 10px 0 0; color: var(--ink-soft); font-size: 14.5px; }
.profile__address {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  text-align: left;
}
.profile__address .i { flex: 0 0 auto; margin-top: 3px; }

.tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.tag {
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 600;
}

.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: inherit;
  text-decoration: none;
  font-size: 14px;
}
.link .i { color: var(--accent); }
.link:active { background: var(--line); }

.i { display: inline-block; flex: 0 0 auto; vertical-align: -0.2em; }


/* --- the hub, at /{slug} --------------------------------------------------
 *
 * The front page: who they are and the ways to reach them. One button carries
 * more weight than everything else on it, because everything else on it is a
 * way out of the page and that is the way in.
 */

.hub {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

/* The page reserves room at the foot for the cart bar, which is fixed and
 * overlaps the last dish. The hub has no cart, so it would otherwise end in a
 * hand's width of nothing. Browsers without `:has()` keep the old padding,
 * which is only ever too generous. */
.app:has(.hub) {
  padding-bottom: calc(24px + env(safe-area-inset-bottom));
}

.hero {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  text-align: left;
  box-shadow: 0 6px 18px var(--accent-line);
}
.hero:active { opacity: 0.9; }
.hero__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: rgb(255 255 255 / 0.18);
}
.hero__text { flex: 1 1 auto; min-width: 0; }
.hero__label { display: block; font-size: 18px; font-weight: 700; line-height: 1.2; }
.hero__hint { display: block; margin-top: 2px; font-size: 14px; opacity: 0.85; }

.linkgroup { text-align: left; }
.linkgroup__title {
  margin: 0 0 8px 4px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* The hub's links: a two-up grid of tiles rather than a row of pills. A tile
 * has room for an icon well and a label a thumb can hit, and a grid reads
 * top to bottom the way somebody scans a list of ways to reach a place. A
 * group with one link in it gets the whole row. */
.tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.tiles:has(> :only-child) { grid-template-columns: 1fr; }
.tile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  color: inherit;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  min-width: 0;
}
.tile:active { background: var(--paper); }
.tile > .i:first-child {
  width: 34px;
  height: 34px;
  padding: 8px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
}
.tile .link__label { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile > .i:last-child { color: var(--ink-soft); }

/* --- photos ---------------------------------------------------------------- */

.gallery { margin: 0 -16px; }
.gallery__track {
  display: flex;
  gap: 8px;
  padding: 0 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 16px;
  scrollbar-width: none;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__item {
  flex: 0 0 auto;
  width: min(62%, 300px);
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  scroll-snap-align: start;
  background: var(--accent-soft);
  cursor: pointer;
}
.gallery__item img { display: block; width: 100%; height: 100%; object-fit: cover; }

.lightbox {
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #000;
  color: #fff;
}
.lightbox::backdrop { background: #000; }
.lightbox__bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(10px + env(safe-area-inset-top)) 14px 10px;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(rgb(0 0 0 / 0.5), transparent);
}
.lightbox__close {
  display: flex;
  padding: 8px;
  border: 0;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.15);
  color: #fff;
  cursor: pointer;
}
.lightbox__track {
  display: flex;
  width: 100vw;
  height: 100dvh;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.lightbox__track::-webkit-scrollbar { display: none; }
.lightbox__slide {
  flex: 0 0 100vw;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.lightbox__img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* The way from the menu back to everything the hub carries. Quiet, and at the
 * foot of the page: a diner who is reading a menu is not looking for it, and a
 * diner who came for Instagram never opened the menu in the first place. */
.tohub {
  display: block;
  padding: 12px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 14px;
  text-decoration: none;
}
.tohub:active { color: var(--ink); }

.hours { margin-top: 12px; text-align: left; font-size: 14px; }
.hours summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  list-style: none;
  cursor: pointer;
  color: var(--ink-soft);
}
.hours summary::-webkit-details-marker { display: none; }
.hours__state { font-weight: 500; }
.hours__state--open { color: var(--veg); }
.hours summary > .i:last-child { transition: transform 0.15s; }
.hours[open] summary > .i:last-child { transform: rotate(90deg); }
.hours dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 12px;
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--paper);
}
.hours dt { color: var(--ink-soft); }
.hours dd { margin: 0; text-align: right; }

.seated {
  margin: 0;
  text-align: center;
  font-size: 14px;
  color: var(--ink-soft);
}
.seated__table { font-weight: 700; color: var(--ink); }
.seated__section::before { content: " · "; }
.seated--header {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: calc(50% - 58px);
  min-height: 44px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--card);
  text-align: left;
  line-height: 1.3;
}
.seated--header > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seated--header .seated__section { font-size: 12px; }
.seated--header .seated__section::before { content: none; }

/* A code that no longer resolves to a table. Warm rather than alarming: from
   the diner's side nothing is wrong, they simply cannot order from here. */
.notice {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  background: var(--card);
  font-size: 14px;
  line-height: 1.4;
}

.welcome {
  margin: 0;
  padding: 10px 14px;
  background: var(--card);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  font-size: 14px;
}

/* The Wi-Fi card: the hours' shape, folded shut, with the password one tap
   from the clipboard once it is open. */
.wifi {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  font-size: 14px;
}
.wifi__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  cursor: pointer;
  list-style: none;
}
.wifi__head::-webkit-details-marker { display: none; }
.wifi__head > .i:first-child { color: var(--accent); }
.wifi__title { font-weight: 600; }
.wifi__name {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ink-soft);
}
.wifi__head > .i:last-child { color: var(--ink-soft); transition: transform 0.15s; }
.wifi[open] .wifi__head > .i:last-child { transform: rotate(90deg); }
.wifi__rows {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 14px;
  align-items: center;
  margin: 0;
  padding: 2px 14px 14px;
}
.wifi__rows dt { color: var(--ink-soft); }
.wifi__rows dd {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  min-width: 0;
}
.wifi__value {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  user-select: all;
  -webkit-user-select: all;
}
.wifi__open { color: var(--ink-soft); }
.wifi__copy {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  padding: 6px 10px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: transparent;
  color: var(--accent);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.wifi__copy:active, .wifi__copy--done { background: var(--accent); color: var(--accent-ink); }

/* --- menu --- */

.chips {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 0;
  background: var(--paper);
  /* Wide content scrolls inside its own box; the page itself never does. */
  scrollbar-width: none;
}
.chips::-webkit-scrollbar { display: none; }

.chip {
  flex: 0 0 auto;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--card);
  color: inherit;
  font-size: 14px;
  cursor: pointer;
}

.menu { display: flex; flex-direction: column; gap: 22px; }
.group__name {
  margin: 0 0 10px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.group__dishes {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.dish {
  display: flex;
  gap: 12px;
  padding: 12px;
}
.dish + .dish { border-top: 1px solid var(--line); }
.dish--out { opacity: 0.55; }

.dish__photo {
  width: 68px;
  height: 68px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 10px;
}
.dish__body { flex: 1 1 auto; min-width: 0; }
.dish__name {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 7px;
}
.dish__foot {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
/* With prices hidden the row has one child left, and space-between would put
   the Add button on the left of an empty line. */
.dish__foot--noprice { justify-content: flex-end; }

/* The FSSAI mark: a dot inside a square, drawn rather than shipped as an
   image, because it is two rules of CSS and one fewer request. */
.mark {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  border: 1.5px solid currentColor;
  border-radius: 3px;
  position: relative;
}
.mark::after {
  content: "";
  position: absolute;
  inset: 2.5px;
  border-radius: 50%;
  background: currentColor;
}
.mark--veg { color: var(--veg); }
.mark--non-veg { color: var(--nonveg); }
.mark--egg { color: var(--egg); }
.mark--vegan { color: var(--veg); border-radius: 50%; }

.prices { display: inline-flex; align-items: baseline; gap: 8px; }
.price { font-weight: 600; }
.price--was {
  font-weight: 400;
  font-size: 13px;
  color: var(--ink-soft);
  text-decoration: line-through;
}
.sold-out { font-size: 13px; color: var(--ink-soft); }

/* A dish on the full menu that is not served at this hour: its hours where
   the Add button would be. Quieter than a sold-out dish, because nothing is
   wrong with it — it is simply for later. */
.dish--later { opacity: 0.7; }
.later { font-size: 13px; color: var(--ink-soft); text-align: right; }

/* What the menu's timings are serving right now, over the dishes. */
.timed {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 8px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  background: var(--card);
  font-size: 14px;
}
.timed--full { border-left-color: var(--line); }
.timed__text { font-weight: 600; min-width: 0; }
.timed__toggle {
  flex: none;
  padding: 6px 12px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: transparent;
  color: var(--accent);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.add {
  padding: 8px 18px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}
.add:active { filter: brightness(0.9); }

/* --- actions --- */

.primary {
  width: 100%;
  padding: 14px;
  border: 0;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
.primary { background: var(--accent); color: var(--accent-ink); }
.primary:disabled { opacity: 0.6; }

.cartbar {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(14px + env(safe-area-inset-bottom));
  width: min(608px, calc(100% - 32px));
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  z-index: 3;
}
.cartbar__total { margin-left: auto; }
.cartbar__go { opacity: 0.85; font-weight: 500; }
/* The total carries the `margin-left: auto` that pushes everything after it to
   the right, so with no total the job passes to what follows it. */
.cartbar--noprice .cartbar__go { margin-left: auto; }

/* --- sheet --- */

.sheet {
  border: 0;
  padding: 0;
  background: transparent;
  width: 100%;
  max-width: 640px;
  margin: auto auto 0;
}
.sheet::backdrop { background: rgba(0, 0, 0, 0.45); }
.sheet__inner {
  background: var(--card);
  color: var(--ink);
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 18px 18px calc(18px + env(safe-area-inset-bottom));
  max-height: 82vh;
  overflow-y: auto;
}
.sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.sheet__head h2 { margin: 0; font-size: 18px; }
.sheet__close {
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
}

.field {
  width: 100%;
  padding: 13px 14px;
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  /* Flat, never tinted. A field is the largest block of colour on the screen
     and any accent in it reads as orange — the same rule the app's theme keeps
     for inputDecorationTheme.fillColor. */
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}
.field--code { text-align: center; letter-spacing: 0.5em; font-size: 22px; }
/* 16px or larger, or iOS zooms the page when the field takes focus. */
.field, .field--code { font-size: max(16px, 1rem); }

.phone { display: flex; align-items: stretch; gap: 8px; }
.phone__code {
  display: flex;
  align-items: center;
  padding: 0 12px;
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink-soft);
}
.phone .field { flex: 1 1 auto; }

.identity__why { margin: 0 0 12px; color: var(--ink-soft); font-size: 14px; }

.linkish {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 8px;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.linkish:disabled { text-decoration: none; }

.problem { margin: 0 0 10px; color: var(--nonveg); font-size: 14px; display: none; }
.problem--on { display: block; }

/* --- cart --- */

.cart__line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.cart__what { flex: 1 1 auto; min-width: 0; }
.cart__name { display: block; font-weight: 500; }
.cart__note { display: block; font-size: 13px; color: var(--ink-soft); }
.cart__amount { font-variant-numeric: tabular-nums; font-weight: 600; }

.stepper { display: inline-flex; align-items: center; gap: 2px; }
.stepper button {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font-size: 17px;
  cursor: pointer;
}
.stepper__value { min-width: 26px; text-align: center; font-variant-numeric: tabular-nums; }

.cart__sum {
  display: flex;
  justify-content: space-between;
  padding: 14px 0 4px;
  font-size: 17px;
}
.cart__caveat { margin: 0 0 14px; font-size: 13px; color: var(--ink-soft); }

.sizes, .service { display: flex; flex-direction: column; gap: 8px; }
.sizes__btn, .service__btn {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.sizes__btn { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sizes__price { flex-shrink: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.service__other { display: flex; flex-direction: column; gap: 0; }

/* --- status --- */

.statuses { display: flex; flex-direction: column; gap: 10px; }
.status {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--ink-soft);
  border-radius: var(--radius);
  padding: 12px 14px;
}
.status--accepted { border-left-color: var(--veg); }
.status--rejected, .status--cancelled { border-left-color: var(--nonveg); }
.status__head {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink-soft);
}
.status__word { margin: 6px 0 0; font-weight: 600; }
.status__why, .status__stale { margin: 4px 0 0; font-size: 14px; color: var(--ink-soft); }
.status__stale { color: var(--nonveg); }
.status__lines { margin: 8px 0 0; padding-left: 18px; font-size: 14px; }
.status__sum { margin: 8px 0 0; font-size: 14px; }

.whoami {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-soft);
}
.whoami .linkish { width: auto; margin: 0; padding: 0; }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}

/* --- offers ---
 *
 * The owner's running offers, above the menu: a row of cards that scrolls
 * sideways so the first dish is still on the first screen. Tinted with the
 * restaurant's own colour through `--accent`, like everything else here. */

.offers { display: flex; flex-direction: column; gap: 8px; }
.offers__title { margin: 0; font-size: 17px; }
.offers__row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin: 0 -16px;
  padding: 0 16px 4px;
  -webkit-overflow-scrolling: touch;
}
.offer {
  flex: 0 0 min(280px, 82%);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid var(--accent-line);
  border-radius: var(--radius);
  background: var(--accent-soft);
}
.offer--later { opacity: 0.7; border-color: var(--line); background: var(--card); }
.offer__head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.offer__name { margin: 0; font-size: 16px; }
.offer__price { font-weight: 700; color: var(--accent); white-space: nowrap; }
.offer__what { margin: 0; font-size: 14px; }
.offer__when { margin: 0; font-size: 13px; color: var(--ink-soft); }
.offer__terms { margin: 0; font-size: 12px; color: var(--ink-soft); }
.offer__foot { display: flex; align-items: center; gap: 10px; margin-top: 6px; flex-wrap: wrap; }
.offer__note { font-size: 12px; color: var(--ink-soft); }

.offer-badge {
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  vertical-align: middle;
}
