:root {
  --cream: #f5eedd;
  --paper: #fbf7ee;
  --card: #ffffff;
  --ink: #1d1b17;
  --muted: #6d665a;
  --line: #e4dcc8;
  --accent: #b5622e;
  --accent-soft: #f3dfcf;
  --brand: #1d1b17;      /* buttons and selected things; a website theme can change it (site-theme.js) */
  --brand-ink: #f5eedd;
  --ok: #3f7a4f;
  --ok-soft: #dcebdc;
  --warn: #a8641a;
  --warn-soft: #f6e6cc;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(40, 30, 10, .06), 0 6px 20px rgba(40, 30, 10, .06);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--cream); color: var(--ink); font: 16px/1.45 var(--sans); -webkit-font-smoothing: antialiased; padding-bottom: 120px; }
button, input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; margin: 0 0 .4em; line-height: 1.15; }
h1 { font-size: clamp(1.7rem, 5vw, 2.4rem); }
h2 { font-size: 1.35rem; }
h3 { font-size: 1.05rem; font-family: var(--sans); font-weight: 600; }
p { margin: 0 0 .8em; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(245, 238, 221, .94); background: color-mix(in srgb, var(--cream) 94%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-inner { max-width: 880px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 14px; }
.logo { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: #fff; flex: none; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; flex: 1; }
.steps li { flex: 1; font-size: .72rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.steps li::before { content: ""; display: block; height: 4px; border-radius: 4px; background: var(--line); margin-bottom: 5px; }
.steps li.done::before, .steps li.on::before { background: var(--brand); }
.steps li.on { color: var(--ink); }
.steps li button { all: unset; cursor: pointer; display: block; }
.steps li button:disabled { cursor: default; }
@media (max-width: 420px) { .steps li span { display: none; } }
.modebar { text-align: center; font-size: .78rem; padding: 4px 8px; background: var(--brand); color: var(--brand-ink); }

.wrap { max-width: 880px; margin: 0 auto; padding: 22px 16px 40px; }
.section { margin: 26px 0; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }

/* hero */
.hero { display: grid; gap: 18px; grid-template-columns: 1fr; align-items: center; }
.hero p { font-size: 1.05rem; }
.repeat { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--paper); border: 1px dashed var(--line); border-radius: var(--radius); padding: 12px 14px; }

/* headcount */
.hc-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.hc-row .chips { margin-top: 0; }
.count { display: inline-flex; align-items: center; gap: 8px; background: var(--card); border-radius: 999px; box-shadow: var(--shadow); padding: 6px; }
.count input { width: 3.2ch; text-align: right; border: 0; font-size: 1.6rem; font-family: var(--serif); font-weight: 600; background: transparent; padding: 0; -moz-appearance: textfield; }
.count input::-webkit-outer-spin-button, .count input::-webkit-inner-spin-button { -webkit-appearance: none; }
.count .lbl { color: var(--muted); font-size: .95rem; padding-right: 4px; }
.round { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); font-size: 1.3rem; line-height: 1; cursor: pointer; flex: none; }
.round:active { transform: scale(.96); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 8px 14px; cursor: pointer; font-size: .92rem; white-space: nowrap; }
.chip.on { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.chip:disabled { opacity: .4; cursor: not-allowed; }

/* choice cards */
.grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.grid.two { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.choice { text-align: left; border: 2px solid transparent; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; cursor: pointer; display: flex; flex-direction: column; gap: 4px; min-height: 92px; }
.choice .em { font-size: 1.6rem; line-height: 1; }
.choice b { font-weight: 600; }
.choice small { color: var(--muted); }
.choice.on { border-color: var(--brand); }
.choice:focus-visible, .chip:focus-visible, .btn:focus-visible, .round:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* dietary */
details.diet { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
details.diet summary { padding: 14px 16px; cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; }
details.diet summary::-webkit-details-marker { display: none; }
details.diet summary::after { content: "+"; font-size: 1.3rem; line-height: 1; }
details.diet[open] summary::after { content: "–"; }
.diet-rows { padding: 0 16px 12px; }
.drow { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; border-top: 1px solid var(--line); }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }
.stepper button { width: 36px; height: 36px; border: 0; background: none; font-size: 1.15rem; cursor: pointer; border-radius: 50%; }
.stepper button:disabled { opacity: .35; }
.stepper output { min-width: 30px; text-align: center; font-weight: 600; }

/* menu lines */
.banner { display: flex; gap: 10px; align-items: flex-start; justify-content: space-between; padding: 12px 14px; border-radius: 12px; background: var(--ok-soft); margin-bottom: 14px; font-size: .95rem; }
.banner.warn { background: var(--warn-soft); }
.banner .btn { flex: none; }
.line { display: grid; grid-template-columns: 64px 1fr; gap: 12px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px; margin-bottom: 10px; }
.line .noimg { width: 64px; height: 64px; border-radius: 10px; background: var(--line); }
.add .noimg { aspect-ratio: 4/3; background: var(--line); }
.line img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; background: var(--line); }
.line-top { display: flex; justify-content: space-between; gap: 8px; }
.line-price { font-weight: 600; white-space: nowrap; }
.line-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; }
.line-ctl select { border: 1px solid var(--line); border-radius: 10px; padding: 7px 10px; background: var(--paper); max-width: 100%; }
.tag { display: inline-block; font-size: .75rem; padding: 2px 8px; border-radius: 999px; background: var(--accent-soft); color: #7a3c14; margin: 2px 4px 0 0; }
.tag.warn { background: var(--warn-soft); color: var(--warn); }
.x { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: .85rem; text-decoration: underline; padding: 6px; }
.add { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.add img { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: var(--line); display: block; }
.add div { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.add .btn { margin-top: auto; }

/* people table */
.people { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px; }
.prow { display: grid; grid-template-columns: 1fr 1fr 1fr 28px; gap: 6px; padding: 6px 0; border-top: 1px solid var(--line); align-items: center; }
.prow:first-child { border-top: 0; }
.prow input, .prow select { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 7px 8px; background: var(--paper); font-size: .9rem; min-width: 0; }
@media (max-width: 560px) { .prow { grid-template-columns: 1fr 1fr 28px; } .prow .psand { grid-column: 1 / 3; } }
textarea.paste { width: 100%; min-height: 90px; border: 1px solid var(--line); border-radius: 10px; padding: 10px; background: var(--paper); }

/* forms */
.field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; }
.field label { font-size: .85rem; font-weight: 600; }
.field input, .field textarea, .field select { border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: var(--card); width: 100%; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--brand); border-color: transparent; }
.row2 { display: grid; gap: 0 12px; grid-template-columns: 1fr 1fr; }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } }
.hint { font-size: .82rem; color: var(--muted); }
.hint.bad { color: #a3341f; }
.occ-grid { display: grid; gap: 10px; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); }
.occ-grid .choice { min-height: 0; }
@media (max-width: 720px) { .occ-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .occ-grid .choice { padding: 12px; } .occ-grid .choice small { font-size: .8rem; } }
.occ-own { display: block; width: 100%; margin-top: 10px; text-align: left; background: transparent; border: 1px dashed var(--line); border-radius: var(--radius); padding: 12px 14px; cursor: pointer; font: inherit; color: inherit; }
.occ-own.on { border: 2px solid var(--brand); background: var(--card); }
.occ-own:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.choice small.bad { color: #a3341f; font-weight: 600; }
.code-row { margin-top: 14px; }
.code-row label { display: block; margin-bottom: 4px; }
.code-in { display: flex; gap: 8px; max-width: 360px; }
.code-in input { flex: 1; min-width: 0; text-transform: uppercase; }
#codeMsg { margin-top: 6px; min-height: 1em; }
#codeMsg.bad { color: #a3341f; }
.tag.good { background: #e3f1e6; color: #1f6f3a; }
.rline.disc span:last-child { color: #1f6f3a; }
.hint.good { color: var(--ok); }
.dates { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x mandatory; }
.date { flex: none; scroll-snap-align: start; width: 70px; border: 1px solid var(--line); background: var(--card); border-radius: 14px; padding: 8px 4px; text-align: center; cursor: pointer; }
.date b { display: block; font-size: 1.35rem; font-family: var(--serif); }
.date span { font-size: .72rem; text-transform: uppercase; color: var(--muted); letter-spacing: .04em; }
.date.on { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.date.on span { color: var(--cream); }

/* review */
.receipt { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; }
.rline { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); }
.rline:first-child { border-top: 0; }
.rtotal { font-weight: 700; font-size: 1.15rem; border-top: 2px solid var(--ink); margin-top: 6px; padding-top: 10px; }
.facts { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); margin-bottom: 14px; }
.fact { background: var(--paper); border-radius: 12px; padding: 10px 12px; }
.fact small { display: block; color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; }
.errors { background: #fbe3dc; color: #7c2412; border-radius: 12px; padding: 12px 14px; margin: 12px 0; }
.errors ul { margin: 0; padding-left: 18px; }
pre.payload { background: #1d1b17; color: #f5eedd; padding: 14px; border-radius: 12px; overflow: auto; font-size: .78rem; max-height: 420px; }

/* buttons */
.btn { border: 0; border-radius: 999px; padding: 12px 20px; font-weight: 600; cursor: pointer; }
.btn.primary { background: var(--brand); color: var(--brand-ink); }
.btn.primary:disabled { opacity: .4; cursor: not-allowed; }
.btn.ghost { background: transparent; border: 1px solid var(--ink); }
.btn.soft { background: var(--paper); border: 1px solid var(--line); padding: 8px 14px; font-size: .9rem; }
.btn.accent { background: var(--accent); color: #fff; }
.btn.block { width: 100%; }

/* bottom bar */
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--card); border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(40, 30, 10, .08); padding-bottom: env(safe-area-inset-bottom); }
.bar-inner { max-width: 880px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 12px; }
.bar-sum { flex: 1; min-width: 0; }
.bar-total { font-weight: 700; font-size: 1.15rem; }
.bar-meta { font-size: .8rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meter { height: 5px; background: var(--line); border-radius: 5px; margin-top: 5px; overflow: hidden; }
.meter span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .3s; }
.meter span.full { background: var(--ok); }

.fade { animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .fade { animation: none; } .meter span { transition: none; } }


/* ---------- header: back to the website + neutral name ---------- */
.backsite { flex: none; display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--ink); text-decoration: none; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); white-space: nowrap; }
.backsite:hover { border-color: var(--ink); }
.wordmark { flex: none; font-family: var(--serif); font-weight: 600; font-size: 1.25rem; color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
body.home .top-inner { justify-content: space-between; }
body.home .steps { display: none; }
@media (max-width: 560px) { .hide-sm { display: none; } .wordmark { font-size: 1.1rem; } }

/* ---------- landing page ---------- */
body.home { padding-bottom: 0; }
body.home .wrap { max-width: 1040px; }
.btn.big { padding: 15px 26px; font-size: 1.02rem; }
.btn.ghost.big { border-width: 1.5px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.home-hero { display: grid; gap: 24px; align-items: center; grid-template-columns: 1.05fr 1fr; padding: 18px 0 8px; }
.home-hero h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); margin-bottom: .3em; }
.home-hero .lead { font-size: 1.12rem; line-height: 1.55; color: #3d382f; max-width: 34em; }
.home-hero-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow); }
.home-sec { margin: 52px 0; }
.home-sec > h2 { font-size: clamp(1.45rem, 3.6vw, 1.9rem); margin-bottom: .7em; }
.how { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
.how li { display: flex; gap: 12px; align-items: flex-start; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; }
.how .num { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; font-weight: 700; }
.how b { display: block; margin-bottom: 2px; }
.how .muted { font-size: .92rem; }
.menu-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.menu-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.menu-card img, .menu-card .noimg { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--line); }
.menu-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; }
.menu-body h3 { margin: 0; font-family: var(--serif); font-size: 1.15rem; }
.menu-body p { margin: 0; }
.story { display: grid; gap: 28px; grid-template-columns: .8fr 1.2fr; align-items: center; background: var(--paper); border-radius: 22px; padding: 26px; }
.story img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; }
.story p { font-size: 1.05rem; line-height: 1.6; }
.know { margin: 0; padding-left: 1.1em; display: grid; gap: 8px; line-height: 1.5; }
.bigger { background: var(--brand); color: var(--brand-ink); border-radius: 22px; padding: 28px; }
.bigger h2 { color: var(--cream); }
.bigger .btn.soft { background: var(--cream); color: var(--ink); border: 0; }
.final { text-align: center; padding-bottom: 30px; }
@media (max-width: 760px) {
  .home-hero { grid-template-columns: 1fr; }
  .home-hero-img { order: -1; }
  .how { grid-template-columns: 1fr; }
  .story { grid-template-columns: 1fr; padding: 18px; }
  .story img { aspect-ratio: 4 / 3; }
  .home-sec { margin: 38px 0; }
  .cta-row .btn { flex: 1 1 auto; }
}
.story h2 { font-size: clamp(1.45rem, 3.6vw, 1.9rem); }
@media (max-width: 560px) { body:not(.home) .wordmark { display: none; } }
.menu-page { margin-top: 8px; } .menu-page .lead { color: #3d382f; font-size: 1.05rem; margin-bottom: 18px; }
/* loading message (never a blank page) */
.loading { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 50vh; color: var(--muted); font-size: 1rem; }
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--ink); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.bar[hidden] { display: none; }
/* links to the topic pages (bottom of the landing page) and the topic pages themselves */
.home-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin: 8px 0 32px; font-size: .92rem; }
.home-links a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.home-links a:hover { color: var(--ink); }
.topic .crumbs { margin: 0 0 4px; color: var(--muted); }
.topic .crumbs a { color: inherit; }
.topic a.btn { display: inline-block; text-decoration: none; }
.topic .home-hero-text > p:not(.lead) { line-height: 1.55; color: #3d382f; max-width: 34em; }
.faq details { background: var(--card); border-radius: 12px; box-shadow: var(--shadow); padding: 14px 16px; margin: 0 0 10px; }
.faq summary { font-weight: 600; cursor: pointer; }
.faq details p { margin: 10px 0 0; line-height: 1.55; }
.shops { display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: center; text-align: center; border-top: 1px solid var(--line); padding-top: 18px; }

/* ---------- ordering page: fold-out sections (2026-12-01) ---------- */
.acc-wrap { display: flex; flex-direction: column; gap: 10px; }
.acc { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); scroll-margin-top: 120px; }
.acc.locked { background: transparent; box-shadow: none; border: 1px dashed var(--line); }
.acc-head { all: unset; box-sizing: border-box; width: 100%; display: flex; align-items: center; gap: 12px; padding: 14px 16px; cursor: pointer; border-radius: var(--radius); }
.acc-head:disabled { cursor: default; }
.acc-head:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.acc.done .acc-head:hover .acc-edit { color: var(--ink); }
.acc-num { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .9rem; background: var(--paper); border: 1px solid var(--line); }
.acc.open .acc-num { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.acc.done .acc-num { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.acc.locked .acc-num, .acc.locked .acc-title { opacity: .55; }
.acc-title { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.acc-title b { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; }
.acc-title small { color: var(--muted); font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acc-edit { flex: none; font-size: .85rem; color: var(--muted); text-decoration: underline; }
.acc-body { padding: 0 16px 18px; }
.acc-body .section { margin: 18px 0; }
.acc-body .section.first { margin-top: 4px; }
.acc-body h2 { font-size: 1.05rem; }
.acc-intro { margin: 0 0 12px; }
.acc-body .line, .acc-body .people, .acc-body .count { box-shadow: none; border: 1px solid var(--line); }
.acc-body .choice { box-shadow: none; border: 2px solid var(--line); }
.acc-body .choice.on { border-color: var(--brand); }
.acc-next { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-top: 16px; }
@media (max-width: 560px) { .acc-next .btn { width: 100%; } .acc-head { padding: 12px 14px; } .acc-body { padding: 0 14px 16px; } }

/* "Add to your spread": a sideways-scrolling row of small cards */
.add-row { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 10px; scrollbar-width: thin; }
.add-row .add { flex: none; width: 240px; scroll-snap-align: start; box-shadow: none; border: 1px solid var(--line); flex-direction: row; align-items: stretch; }
.add-row .add img, .add-row .add .noimg { width: 76px; height: auto; min-height: 92px; aspect-ratio: auto; flex: none; object-fit: cover; }
.add-row .add div { padding: 8px 10px; gap: 2px; min-width: 0; }
.add-row .add b { font-size: .9rem; line-height: 1.2; }
.add-row .add .btn { padding: 5px 10px; font-size: .85rem; align-self: flex-start; margin-top: 6px; }
.car-nav { display: flex; gap: 6px; }
.round.sm { width: 32px; height: 32px; font-size: 1.1rem; }
@media (hover: none) { .car-nav { display: none; } }

/* When & where: each part folds to its answer */
.folds { display: flex; flex-direction: column; gap: 10px; }
.fold { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; background: var(--paper); }
.fold.done { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--card); }
.fold-sum { display: flex; flex-direction: column; min-width: 0; }
.fold-lbl { font-size: .8rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin: 10px 0 8px; }
.fold.open > .fold-lbl:first-child { margin-top: 0; }
.fold.done .fold-lbl { margin: 0; }
.fold .muted { text-transform: none; letter-spacing: 0; font-weight: 400; }
.fold .dates { margin-bottom: 4px; }
.seg { display: inline-flex; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.seg button { border: 0; background: none; border-radius: 999px; padding: 8px 16px; font: inherit; font-weight: 600; cursor: pointer; color: var(--muted); }
.seg button.on { background: var(--brand); color: var(--brand-ink); }
.opts { display: flex; flex-direction: column; gap: 6px; }
.opt { display: flex; align-items: flex-start; gap: 10px; text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; cursor: pointer; font: inherit; color: inherit; }
.opt.on { border: 2px solid var(--brand); padding: 9px 11px; }
.opt small { display: block; color: var(--muted); }
.opt small.bad { color: #a3341f; font-weight: 600; }
.opt .radio { flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; border: 2px solid var(--line); }
.opt.on .radio { border: 6px solid var(--brand); }
.other-date { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.other-date input { border: 1px solid var(--line); border-radius: 10px; padding: 6px 8px; background: var(--card); font: inherit; }

/* tighter spread rows */
.line { padding: 10px; gap: 10px; }
.line-top { align-items: baseline; }
.line-top h3 { flex: 1; margin: 0; font-size: 1rem; }
.line-rm { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: .95rem; padding: 0 2px 0 6px; }
.line-rm:hover { color: var(--ink); }
.line-ctl { margin-top: 6px; gap: 6px 8px; }
.line-ctl select { flex: 1 1 140px; padding: 6px 8px; }
.qty-wrap { display: inline-flex; align-items: center; gap: 6px; }
.line .tag { font-size: .7rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.note-fold { margin-bottom: 10px; }
.note-fold summary { cursor: pointer; font-size: .9rem; font-weight: 600; padding: 4px 0 8px; }
.note-fold summary .muted { font-weight: 400; }
/* UX review v1 (2026-12-01) */
.bar-meta.short { color: var(--warn); font-weight: 600; }
.help-btn { flex: none; border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 8px 14px; font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; color: var(--ink); }
dialog.help { width: min(560px, calc(100vw - 32px)); max-height: min(80vh, 720px); border: 0; border-radius: var(--radius); padding: 18px 18px 14px; box-shadow: 0 20px 60px rgba(40, 30, 10, .25); background: var(--paper); color: var(--ink); }
dialog.help::backdrop { background: rgba(29, 27, 23, .4); }
.help-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.help-head h2 { margin: 0; font-size: 1.3rem; }
dialog.help details { background: var(--card); border-radius: 12px; box-shadow: var(--shadow); padding: 12px 14px; margin: 0 0 8px; }
dialog.help summary { font-weight: 600; cursor: pointer; }
dialog.help details p { margin: 8px 0 0; line-height: 1.5; }
.help-contact { margin: 12px 0 0; }
.banner.ask { background: var(--accent-soft); flex-wrap: wrap; align-items: center; }
.ask-btns { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.menu-add { align-self: flex-start; margin-top: 4px; }
.line-hint { margin: 6px 0 0; }
.paste-fold { margin: 0 0 12px; }
.paste-fold summary { cursor: pointer; }
.opt-wrap { position: relative; }
.opt-wrap .opt { width: 100%; padding-right: 64px; }
.opt-wrap .opt.on { padding-right: 63px; }
.maplink { position: absolute; right: 12px; top: 11px; color: var(--muted); }
.deliv-terms { margin: 8px 0 0; }
.suburbs { margin: 6px 0 10px; }
.suburbs summary { cursor: pointer; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.suburbs p { margin: 6px 0 0; line-height: 1.5; }
.date.closed { opacity: .45; cursor: not-allowed; background: var(--paper); }
.date.closed b { text-decoration: line-through; }
.pay-notes { margin: 12px 0 0; }
.pay-notes p { margin: 0 0 4px; }
.pay-notes .x { padding: 0; font-size: inherit; }
#dateMsg:empty { display: none; }

/* iPhone (owner 2026-12-01): tapping + / − quickly zoomed the page. touch-action:manipulation turns off
   double-tap-to-zoom on controls (pinch-zoom still works), and iOS zooms into any field under 16px, so fields are 16px on phones. */
button,a,label,summary,input,select,textarea,[data-act]{touch-action:manipulation}
@media (max-width:900px){input:not([type=checkbox]):not([type=radio]):not(#hc),select,textarea{font-size:16px !important}}
