/* The Pashtoon Flavours. Cream canvas, deep forest green, one lime action colour, food photography as the hero. */
:root {
  --forest: #00473c;
  --lime: #e6ff55;
  --sage: #d8e5d6;
  --sand: #e8dcc6;
  --cream: #f4f3e7;
  --ink: #0e150e;
  --ink-2: #4a514a;
  --ink-3: #8c8c82;
  --line: #d9d6c6;
  --white: #fffef8;
  --ok: #1f6b3a; --ok-bg: #d8e5d6;
  --warn: #8a5a00; --warn-bg: #f6e7c1;
  --bad: #a3261b; --bad-bg: #f7dcd6;
  --info: #00473c; --info-bg: #e3ecdf;
  --shadow: rgba(14, 21, 14, .4) 3px 3px 32px -10px;
  --display: "Outfit", "Futura", "Avenir Next", system-ui, sans-serif;
  --thin: "Fraunces", Georgia, serif;
  --text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1200px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 16px/1.4 var(--text); letter-spacing: .017em; }
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0 0 .4em; font-family: var(--display); font-weight: 400; letter-spacing: 0; }
h1 { font-size: clamp(44px, 8vw, 80px); line-height: .88; }
h2 { font-size: clamp(32px, 5vw, 48px); line-height: .92; }
h3 { font-size: 20px; line-height: 1.2; font-family: var(--text); font-weight: 700; letter-spacing: .01em; }
p { margin: 0 0 1em; }
.thin { font-family: var(--thin); font-weight: 200; font-style: italic; letter-spacing: -.03em; }
.eyebrow { text-transform: uppercase; font-weight: 700; font-size: 13px; letter-spacing: .08em; color: var(--forest); margin-bottom: 14px; display: block; }
.muted { color: var(--ink-2); }
.faint { color: var(--ink-3); }
.small { font-size: 14px; }
.tiny { font-size: 12px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.stack > * + * { margin-top: 16px; }
.grid { display: grid; gap: 20px; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid.four { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.hide { display: none !important; }
.right { text-align: right; }
.nowrap { white-space: nowrap; }
pre.msg { white-space: pre-wrap; font: 14px/1.45 var(--text); background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 16px; margin: 0; }

/* buttons: pills only */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 9999px;
  border: 2px solid var(--forest); background: transparent; color: var(--forest); font: 700 15px var(--text); letter-spacing: .02em;
  text-decoration: none; cursor: pointer; transition: transform .06s, background .15s; white-space: nowrap; }
.btn:hover { background: rgba(0, 71, 60, .07); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.btn.primary:hover { filter: brightness(.97); }
.btn.dark { background: var(--forest); color: var(--cream); }
.btn.danger { border-color: var(--bad); color: var(--bad); }
.btn.small { padding: 7px 14px; font-size: 13px; border-width: 1.5px; }
.btn.big { padding: 16px 28px; font-size: 17px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.ghost { font-weight: 700; text-decoration: none; color: var(--ink); background: none; border: 0; padding: 0; cursor: pointer; font-size: 15px; }
.ghost::after { content: " →"; }
.ghost:hover { text-decoration: underline; }
.link { background: none; border: 0; padding: 0; font: inherit; color: var(--forest); text-decoration: underline; cursor: pointer; }

/* nav */
.nav { background: var(--cream); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.nav-in { max-width: var(--max); margin: 0 auto; padding: 14px 20px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.nav-links { display: flex; gap: 22px; }
.nav-links a, .nav-right a.plain { text-decoration: none; font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.nav-links a:hover { color: var(--forest); }
.logo { text-decoration: none; text-align: center; color: var(--forest); line-height: 1; }
.logo .the { font-family: var(--thin); font-style: italic; font-weight: 300; font-size: 15px; display: block; }
.logo b { font-family: var(--display); font-weight: 500; font-size: 22px; letter-spacing: .06em; text-transform: uppercase; }
.nav-right { display: flex; justify-content: flex-end; gap: 10px; align-items: center; }
.cart-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; border-radius: 99px; background: var(--forest); color: var(--cream); font-size: 12px; padding: 0 6px; }
@media (max-width: 760px) {
  .nav-in { grid-template-columns: auto 1fr; }
  .nav-links { display: none; }
  .logo { text-align: left; }
  .logo b { font-size: 17px; }
}
.announce { background: var(--forest); color: var(--cream); text-align: center; padding: 8px 16px; font-size: 14px; font-weight: 600; }

/* hero */
.hero { position: relative; min-height: min(78vh, 720px); display: flex; align-items: flex-end; background: var(--ink) center/cover no-repeat; }
.hero-panel { background: rgba(244, 243, 231, .94); margin: 0 0 40px 40px; padding: 40px; max-width: 620px; border-radius: 24px; }
.hero-panel h1 { margin-bottom: 18px; }
.hero-panel p { font-size: 18px; color: var(--ink-2); }
@media (max-width: 700px) { .hero { min-height: 560px; } .hero-panel { margin: 0 12px 12px; padding: 26px; } }

/* bands */
.band { padding: 80px 0; }
.band.sage { background: var(--sage); }
.band.sand { background: var(--sand); }
.band.forest { background: var(--forest); color: var(--cream); }
.band.forest .eyebrow { color: var(--lime); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split img { border-radius: 20px; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .band { padding: 56px 0; } }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; margin-top: 32px; }
.steps .n { font-family: var(--display); font-size: 56px; line-height: .9; color: var(--forest); }

/* product cards: the photo is the card */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 36px 28px; }
.dish img, .dish .noimg { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 20px; }
.dish .noimg { background: var(--sage); display: grid; place-items: center; font-family: var(--display); font-size: 34px; color: var(--forest); text-align: center; padding: 20px; }
.dish .body { padding: 18px 4px 0; }
.dish h3 { margin-bottom: 6px; }
.dish p { color: var(--ink-2); font-size: 15px; line-height: 1.35; }
.dish { position: relative; }
.badge-lime { position: absolute; top: 14px; left: 14px; background: var(--lime); color: var(--ink); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; padding: 4px 12px; border-radius: 20px; }
.opts { display: grid; gap: 8px; margin-top: 10px; }
.opt { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.opt .lbl { font-size: 15px; }
.opt .price { font-weight: 700; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--forest); border-radius: 9999px; overflow: hidden; }
.qty button { width: 34px; height: 34px; border: 0; background: transparent; font: 700 18px var(--text); color: var(--forest); cursor: pointer; }
.qty span { min-width: 26px; text-align: center; font-weight: 700; }
.add { padding: 8px 16px; font-size: 14px; }

/* menu tabs */
.tabs { display: flex; gap: 34px; overflow-x: auto; padding: 8px 0 18px; scrollbar-width: none; }
.tabs a { font-family: var(--display); font-size: clamp(26px, 4vw, 40px); text-decoration: none; white-space: nowrap; position: relative; padding-bottom: 12px; }
.tabs a.on::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 6px; height: 6px; border-radius: 9px; background: var(--ink); transform: translateX(-50%); }
.menu-section { scroll-margin-top: 90px; padding-top: 32px; }
.menu-section > h2 { margin-bottom: 26px; }

/* basket bar */
.basket { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 40; width: min(560px, calc(100% - 24px));
  background: var(--forest); color: var(--cream); border-radius: 9999px; padding: 10px 10px 10px 24px; display: flex; justify-content: space-between; align-items: center; box-shadow: var(--shadow); }
.basket b { font-size: 17px; }

/* forms */
label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.field { margin-bottom: 16px; }
.hint { font-weight: 400; color: var(--ink-2); font-size: 13px; margin-top: 4px; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=tel], input[type=date], input[type=time],
input[type=search], input:not([type]), select, textarea {
  width: 100%; padding: 12px 14px; border-radius: 8px; border: 1.5px solid var(--ink-3); background: var(--white); color: var(--ink); font: 16px var(--text);
}
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(0, 71, 60, .25); border-color: var(--forest); }
textarea { min-height: 90px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: 15px; }
.check input { width: 20px; height: 20px; accent-color: var(--forest); margin-top: 1px; flex: none; }
.choice { display: flex; gap: 8px; flex-wrap: wrap; }
.choice label { margin: 0; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: inline-block; padding: 10px 18px; border-radius: 9999px; border: 1.5px solid var(--forest); color: var(--forest); font-weight: 700; cursor: pointer; }
.choice input:checked + span { background: var(--forest); color: var(--cream); }
.choice input:focus-visible + span { outline: 3px solid var(--lime); }
.alert { padding: 14px 18px; border-radius: 16px; margin-bottom: 18px; font-weight: 600; }
.alert.ok { background: var(--ok-bg); color: var(--ok); }
.alert.error { background: var(--bad-bg); color: var(--bad); }
.alert.info { background: var(--info-bg); color: var(--info); }

/* cards and panels */
.card { background: var(--white); border-radius: 24px; padding: 24px; border: 1px solid var(--line); }
.card.sage { background: var(--sage); border-color: transparent; }
.card.sand { background: var(--sand); border-color: transparent; }
.card h2 { font-size: 28px; margin-bottom: 14px; }
.stat .label { color: var(--ink-2); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.stat .value { font-family: var(--display); font-size: 40px; line-height: 1; margin-top: 8px; }
.summary-line { display: flex; justify-content: space-between; padding: 6px 0; }
.summary-line.total { border-top: 1.5px solid var(--ink); margin-top: 6px; padding-top: 12px; font-weight: 700; font-size: 18px; }

/* badges and tables */
.badge { display: inline-block; padding: 3px 11px; border-radius: 20px; font-size: 12px; font-weight: 700; letter-spacing: .03em; background: var(--sand); color: var(--ink-2); white-space: nowrap; text-transform: capitalize; }
.badge.confirmed { background: var(--info-bg); color: var(--forest); }
.badge.cooking { background: var(--warn-bg); color: var(--warn); }
.badge.ready, .badge.paid { background: var(--lime); color: var(--ink); }
.badge.cancelled, .badge.unpaid { background: var(--bad-bg); color: var(--bad); }
.badge.reported { background: var(--warn-bg); color: var(--warn); }
.badge.completed { background: var(--sage); color: var(--ink-2); }
table.list { width: 100%; border-collapse: collapse; }
table.list th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); font-weight: 700; padding: 8px 10px; border-bottom: 1.5px solid var(--ink); }
table.list td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.list tr.click { cursor: pointer; }
table.list tr.click:hover td { background: rgba(0, 71, 60, .04); }
.scroll-x { overflow-x: auto; }

/* footer */
.foot { background: var(--forest); color: var(--cream); padding: 60px 0 30px; margin-top: 0; }
.foot-in { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
.foot a { color: var(--cream); text-decoration: none; display: block; margin: 6px 0; }
.foot a:hover { text-decoration: underline; }
.foot .big { font-family: var(--display); font-size: clamp(34px, 5vw, 56px); line-height: .9; }
.foot .base { border-top: 1px solid rgba(244, 243, 231, .2); margin-top: 40px; padding-top: 18px; font-size: 13px; opacity: .8; }
@media (max-width: 760px) { .foot-in { grid-template-columns: 1fr; } }

/* chat widget */
.chat-fab { position: fixed; right: 18px; bottom: 18px; z-index: 50; }
body.has-basket .chat-fab { bottom: 86px; }
@media (max-width: 600px) { .chat-fab { padding: 9px 16px; font-size: 14px; right: 12px; } }
.chat-box { position: fixed; right: 18px; bottom: 18px; width: min(390px, calc(100% - 24px)); height: min(600px, calc(100vh - 36px)); z-index: 60;
  background: var(--cream); border-radius: 24px; box-shadow: var(--shadow), 0 0 0 1px var(--line); display: flex; flex-direction: column; overflow: hidden; }
.chat-head { background: var(--forest); color: var(--cream); padding: 16px 18px; display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.chat-head b { font-size: 16px; }
.chat-head .tiny { opacity: .85; }
.chat-head button { background: none; border: 0; color: var(--cream); font-size: 26px; line-height: 1; cursor: pointer; }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.bubble { max-width: 85%; padding: 10px 14px; border-radius: 18px; white-space: pre-wrap; font-size: 15px; line-height: 1.38; }
.bubble.me, .bubble.customer { align-self: flex-end; background: var(--forest); color: var(--cream); border-bottom-right-radius: 6px; }
.bubble.ai, .bubble.owner, .bubble.them { align-self: flex-start; background: var(--white); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.bubble.owner { background: var(--sand); border-color: transparent; }
.bubble.ai { background: var(--sage); border-color: transparent; }
.bubble .who { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; opacity: .7; margin-bottom: 3px; }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: var(--white); }
.chat-form input { border-radius: 9999px; }
.typing { align-self: flex-start; color: var(--ink-3); font-size: 13px; }

/* ---------------------------------------------------------------- owner app */
.app { display: grid; grid-template-columns: 230px 1fr; min-height: 100vh; }
.side { background: var(--forest); color: var(--cream); padding: 22px 14px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.side .logo { color: var(--cream); text-align: left; display: block; padding: 0 10px 22px; }
.side nav a { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 9999px; text-decoration: none; font-weight: 600; font-size: 15px; margin-bottom: 2px; }
.side nav a:hover { background: rgba(244, 243, 231, .1); }
.side nav a.on { background: var(--lime); color: var(--ink); }
.side .pill { background: var(--lime); color: var(--ink); border-radius: 99px; font-size: 12px; padding: 1px 8px; font-weight: 700; }
.side nav a.on .pill { background: var(--forest); color: var(--cream); }
.side .sep { height: 1px; background: rgba(244, 243, 231, .18); margin: 14px 8px; }
.main { padding: 28px clamp(16px, 3vw, 40px) 80px; min-width: 0; }
.topbar { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.topbar h1 { font-size: clamp(36px, 5vw, 56px); margin: 0; }
.mob-top, .tabbar, .sm-only { display: none; }
@media (max-width: 900px) {
  .app { grid-template-columns: 1fr; }
  .side { display: none; }
}
.ticket-mini { display: flex; justify-content: space-between; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); text-decoration: none; }
.ticket-mini:first-child { border-top: 0; }
.alert-row { padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; display: block; text-decoration: none; }
.alert-row:first-child { border-top: 0; }
.alert-row.new { font-weight: 700; }
.toast { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); background: var(--lime); color: var(--ink); padding: 12px 20px; border-radius: 9999px; font-weight: 700; z-index: 90; box-shadow: var(--shadow); text-decoration: none; }

/* inbox */
.inbox { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 20px; align-items: start; }
.inbox .threads a { display: block; padding: 14px 16px; border-radius: 16px; text-decoration: none; margin-bottom: 6px; background: var(--white); border: 1px solid var(--line); }
.inbox .threads a.on { border: 2px solid var(--forest); }
.inbox .convo { background: var(--white); border: 1px solid var(--line); border-radius: 24px; display: flex; flex-direction: column; min-height: 520px; }
.inbox .convo .chat-log { max-height: 60vh; }
@media (max-width: 900px) { .inbox { grid-template-columns: minmax(0, 1fr); } }

/* calendar */
.cal { width: 100%; border-collapse: separate; border-spacing: 6px; table-layout: fixed; }
.cal th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); text-align: left; padding: 0 8px; }
.cal td { background: var(--white); border-radius: 14px; vertical-align: top; height: 110px; padding: 8px; border: 1px solid var(--line); }
.cal td.out { opacity: .45; }
.cal td.today { border: 2px solid var(--forest); }
.cal td.closed { background: var(--sand); }
.cal .d { font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.cal .o { display: block; font-size: 12px; background: var(--sage); border-radius: 8px; padding: 3px 6px; margin-top: 4px; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal .closebtn { font-size: 11px; background: none; border: 0; color: var(--ink-3); cursor: pointer; padding: 0; text-decoration: underline; }
@media (max-width: 700px) { .cal td { height: 70px; padding: 4px; } .cal .o { font-size: 10px; } }

/* kitchen screen */
.kds { background: var(--ink); color: var(--cream); min-height: 100vh; }
.kds header { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid #263026; flex-wrap: wrap; }
.kds header h1 { font-size: 30px; margin: 0; }
.kds .clock { font-family: var(--display); font-size: 34px; font-variant-numeric: tabular-nums; }
.kds .daybtn { background: transparent; color: var(--cream); border: 1.5px solid #3a453a; border-radius: 99px; padding: 8px 16px; font: 700 14px var(--text); cursor: pointer; }
.kds .daybtn.on { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.kds .cols { display: grid; grid-template-columns: repeat(3, minmax(260px, 1fr)); gap: 16px; padding: 16px; align-items: start; }
@media (max-width: 960px) { .kds .cols { grid-template-columns: 1fr; } }
.kds .col h2 { font-family: var(--text); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #a9b3a5; display: flex; justify-content: space-between; margin: 4px 6px 12px; }
.ticket { background: #182018; border-radius: 20px; padding: 16px; margin-bottom: 12px; border: 1px solid #263026; }
.ticket.late { border-color: #e0a43a; }
.ticket .top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.ticket .num { font-family: var(--display); font-size: 30px; }
.ticket .when { font-family: var(--display); font-size: 26px; color: var(--lime); }
.ticket ul { list-style: none; padding: 0; margin: 10px 0; font-size: 18px; }
.ticket li { padding: 4px 0; border-bottom: 1px dashed #2e392e; }
.ticket li b { color: var(--lime); margin-right: 6px; }
.ticket .note { background: #3a2f12; color: #ffe2a0; border-radius: 10px; padding: 8px 10px; font-size: 14px; margin: 8px 0; }
.ticket .acts { display: flex; gap: 8px; margin-top: 10px; }
.ticket .acts button { flex: 1; padding: 13px; border-radius: 9999px; border: 0; font: 700 16px var(--text); cursor: pointer; background: var(--lime); color: var(--ink); }
.ticket .acts button.back { flex: 0 0 auto; background: transparent; color: #a9b3a5; border: 1.5px solid #3a453a; }
.kds .empty { color: #6b766b; text-align: center; padding: 30px 0; }
.kds .totals { padding: 0 16px 24px; }
.kds .totals div { display: inline-block; background: #182018; border-radius: 99px; padding: 8px 14px; margin: 4px; font-size: 15px; }
.kds .totals b { color: var(--lime); }

/* dish videos */
.dish .media { position: relative; }
.watch { position: absolute; left: 12px; bottom: 12px; background: var(--lime); color: var(--forest); border: 0; border-radius: 999px; padding: 8px 16px; font-weight: 600; cursor: pointer; }
.vmodal { position: fixed; inset: 0; background: rgba(0, 20, 16, .72); z-index: 90; display: flex; align-items: center; justify-content: center; padding: 16px; }
.vmodal.hide { display: none; }
.vbox { background: var(--cream); border-radius: 24px; overflow: hidden; width: min(440px, 100%); position: relative; }
.vbox video { width: 100%; max-height: 70vh; background: #000; display: block; }
.vbox #vclose { position: absolute; right: 10px; top: 8px; z-index: 2; background: rgba(0,0,0,.5); color: #fff; border: 0; border-radius: 50%; width: 34px; height: 34px; font-size: 22px; cursor: pointer; }
.vcta { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; }
.chat-form label.btn { display: inline-flex; align-items: center; justify-content: center; }

/* ---------------------------------------------------------------- phones
   Owner: a slim top bar and a thumb-reach tab bar (Today, Orders, Messages, Kitchen, More); tables become cards.
   Customers: compact menu cards, a full-screen chat, nothing floating over prices or buttons. */
.inbox .threads a { min-width: 0; }
.sheet { position: fixed; inset: 0; z-index: 80; background: rgba(0, 20, 16, .45); display: flex; align-items: flex-end; }
.sheet-in { background: var(--cream); width: 100%; border-radius: 24px 24px 0 0; padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); }
.sheet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sheet-grid a { display: block; padding: 14px 16px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.sheet-grid a.on { background: var(--lime); border-color: var(--lime); }
.agenda-day { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; margin-bottom: 8px; }
.agenda-day.today { border: 2px solid var(--forest); }
.agenda { margin-bottom: 18px; }
.back-link { padding: 12px 18px 0; font-weight: 700; text-decoration: none; color: var(--forest); }
@media (max-width: 900px) {
  .sm-only { display: block; }
  span.sm-only { display: inline; }
  .mob-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: calc(10px + env(safe-area-inset-top)) 16px 10px;
    background: var(--forest); position: sticky; top: 0; z-index: 30; }
  .mob-top .logo { color: var(--cream); text-align: left; }
  .mob-top .logo .the { font-size: 12px; }
  .mob-top .logo b { font-size: 15px; }
  .mob-top .btn { border-color: rgba(244, 243, 231, .5); color: var(--cream); }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--white);
    border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .tabbar a, .tabbar button { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 2px; border: 0; background: none;
    font: 600 11px var(--text); color: var(--ink-2); text-decoration: none; border-radius: 14px; cursor: pointer; min-height: 52px; justify-content: center; }
  .tabbar .on { color: var(--forest); background: var(--sage); }
  .tabbar .dot { position: absolute; top: 2px; left: 55%; background: var(--bad); color: #fff; border-radius: 99px; font-size: 10px; padding: 0 6px; line-height: 16px; }
  .main { padding: 18px 16px calc(150px + env(safe-area-inset-bottom)); }
  .topbar { margin-bottom: 16px; align-items: flex-start; }
  .topbar h1 { font-size: 38px; }
  .card { padding: 18px; border-radius: 20px; }
  .card h2 { font-size: 24px; }
  .app ~ #oa-open { bottom: calc(78px + env(safe-area-inset-bottom)); right: 12px; padding: 9px 16px; font-size: 14px; }
  .inbox.has-current .threads, .inbox.has-current + * { display: none; }
  .inbox:not(.has-current) .convo { display: none; }
  .inbox .convo { min-height: 0; }
  .inbox .convo .chat-log { max-height: none; min-height: 45vh; }
  .agenda + .scroll-x .cal .o { display: none; }
  .search-row { width: 100%; }
  .search-row input { max-width: none !important; flex: 1; }
  /* tables that read as cards */
  table.stack-sm, table.stack-sm tbody, table.stack-sm tr, table.stack-sm td { display: block; width: 100%; }
  table.stack-sm thead { display: none; }
  table.stack-sm tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  table.stack-sm tr:last-child { border-bottom: 0; }
  table.stack-sm td { border: 0; padding: 3px 0; min-width: 0 !important; white-space: normal; }
  table.stack-sm td[data-label] { display: flex; justify-content: space-between; gap: 14px; text-align: right; }
  table.stack-sm td[data-label]::before { content: attr(data-label); color: var(--ink-3); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; text-align: left; flex: none; padding-top: 2px; }
  table.stack-sm td.sm-head { font-size: 17px; font-weight: 700; padding-bottom: 6px; }
  table.stack-sm td.sm-hide { display: none; }
  table.stack-sm td.sm-acts { text-align: left; padding-top: 8px; }
  .card.scroll-x:has(table.stack-sm) { padding-top: 6px; padding-bottom: 6px; }
}
@media (max-width: 600px) {
  /* menu: photo on the left, words and buttons on the right, so more dishes fit on a screen */
  .cards { grid-template-columns: 1fr; gap: 22px; }
  .menu-section .dish { display: grid; grid-template-columns: 116px 1fr; gap: 14px; align-items: start; }
  .menu-section .dish img, .menu-section .dish .noimg { border-radius: 16px; }
  .menu-section .dish .noimg { font-size: 16px; padding: 8px; }
  .menu-section .dish .body { padding: 0; }
  .menu-section .dish h3 { font-size: 18px; }
  .menu-section .dish p { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 4px; }
  .menu-section .dish .watch { left: 6px; bottom: 6px; padding: 4px 10px; font-size: 12px; }
  .menu-section .badge-lime { position: static; display: inline-block; margin-bottom: 6px; grid-column: 2; order: -1; font-size: 11px; }
  .menu-section .dish .opts { grid-column: 1 / -1; }
  .tabs { gap: 22px; position: sticky; top: 61px; background: var(--cream); z-index: 20; margin: 0 -20px; padding: 10px 20px 12px; }
  .tabs a { font-size: 22px; padding-bottom: 8px; }
  .menu-section { scroll-margin-top: 130px; padding-top: 18px; }
  h1 { font-size: 42px; }
  /* chat fills the screen on a phone */
  .chat-box { inset: 0; width: 100%; height: 100%; height: 100dvh; border-radius: 0; right: 0; bottom: 0; }
  .chat-head { padding-top: calc(16px + env(safe-area-inset-top)); }
  .chat-form { padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
  #chat-open { bottom: calc(14px + env(safe-area-inset-bottom)); width: 54px; height: 54px; padding: 0; border-radius: 50%; }
  #chat-open .fab-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  body.has-basket #chat-open { bottom: calc(84px + env(safe-area-inset-bottom)); }
  body { padding-bottom: 0; }
  .checkout-aside { position: static !important; }
  .opt .btn.add { padding: 10px 18px; }
  .qty button { width: 40px; height: 40px; }
  .nav-right .btn.small { padding: 7px 12px; }
}
#chat-open svg { flex: none; }
@media (min-width: 601px) { #chat-open svg { display: none; } }

/* ---------------------------------------------------------------- landing page */
.lp-hero { position: relative; min-height: min(86vh, 780px); display: flex; align-items: flex-end; background: var(--ink); overflow: hidden; }
.lp-hero-media { position: absolute; inset: 0; }
.lp-hero-media video, .lp-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.lp-hero-panel { position: relative; background: rgba(244, 243, 231, .95); margin: 0 0 40px 40px; padding: 40px; max-width: 640px; border-radius: 24px; }
.lp-hero-panel h1 { margin-bottom: 18px; }
.lp-lead { font-size: 18px; color: var(--ink-2); }
.lp-next { margin: 18px 0 0; font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #2f9e44; box-shadow: 0 0 0 4px rgba(47, 158, 68, .18); flex: none; }
.lp-facts { background: var(--forest); color: var(--cream); padding: 22px 0; }
.lp-facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.lp-facts b { display: block; color: var(--lime); font-size: 15px; }
.lp-facts span { font-size: 14px; opacity: .9; }
.lp-head { align-items: flex-end; margin-bottom: 30px; }
.lp-rail { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 32px 26px; }
.lp-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 20px; }
.lp-card p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.lp-reels { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.lp-reel { position: relative; display: block; width: 100%; aspect-ratio: 9 / 14; border: 0; padding: 0; border-radius: 20px; overflow: hidden; background: #0b2b25; cursor: pointer; color: var(--cream); }
.lp-reel img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: transform .3s; }
.lp-reel:hover img { transform: scale(1.04); }
.lp-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 58px; height: 58px; border-radius: 50%; background: var(--lime); color: var(--forest); display: grid; place-items: center; font-size: 20px; }
.lp-reel-name { position: absolute; left: 12px; right: 12px; bottom: 12px; text-align: left; font-weight: 700; background: rgba(0, 30, 25, .72); padding: 8px 12px; border-radius: 12px; font-size: 14px; }
.lp-faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
.lp-faq details { background: var(--white); border-radius: 18px; padding: 4px 20px; margin-bottom: 10px; }
.lp-faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--forest); }
.lp-faq details[open] summary::after { content: "−"; }
.lp-faq details p { color: var(--ink-2); margin: 0 0 16px; }
.lp-final { text-align: center; }
.lp-final h2 { font-size: clamp(40px, 7vw, 72px); }
.lp-final p { opacity: .9; }
.lp-sticky { display: none; }
.hygiene { display: block; width: 240px; max-width: 100%; line-height: 0; border-radius: 12px; transition: transform .2s; }
.hygiene svg { width: 100%; height: auto; display: block; }
.hygiene:hover { transform: translateY(-2px); }
.hygiene:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.lp-hygiene { margin-top: 20px; }
.foot .hygiene.foot-hygiene { margin-top: 20px; width: 200px; }
@media (max-width: 900px) {
  .lp-facts .wrap { grid-template-columns: 1fr 1fr; }
  .lp-faq { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 700px) {
  .lp-hero { display: block; min-height: 0; background: var(--cream); }
  .lp-hero-media { position: relative; aspect-ratio: 4 / 4.2; }
  .lp-hero-panel { margin: -56px 12px 0; padding: 24px 20px; border-radius: 22px; background: var(--cream); box-shadow: var(--shadow); }
  .lp-lead { font-size: 16px; }
  .lp-ctas { flex-direction: column; align-items: stretch; }
  .lp-ctas .btn { width: 100%; }
  .lp-facts { margin-top: 24px; }
  .lp-facts .wrap { gap: 14px 16px; }
  .lp-head { margin-bottom: 20px; }
  /* swipe sideways through dishes and clips */
  .lp-rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 -20px; padding: 0 20px 6px; scrollbar-width: none; }
  .lp-rail::-webkit-scrollbar { display: none; }
  .lp-rail > * { flex: 0 0 78%; scroll-snap-align: start; }
  .lp-reels > * { flex-basis: 56%; }
  .lp-sticky { display: block; position: fixed; left: 12px; right: 78px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 39;
    transform: translateY(140%); transition: transform .25s; }
  .lp-sticky.show { transform: none; }
  body.has-basket .lp-sticky { display: none; }
  .lp-sticky .btn { box-shadow: var(--shadow); padding: 15px 18px; }
  body.home .foot { padding-bottom: 100px; }
}
@media (max-width: 900px) { table.stack-sm td[data-label] > div { text-align: right; min-width: 0; } }
