:root {
  --bg: #ffffff; --surface: #f6f7f5; --card: #ffffff; --text: #17201c; --muted: #5d6b64; --line: #dfe5e1;
  --brand: #0b6e4f; --brand-ink: #ffffff; --brand-soft: #e3f2ec; --accent: #f5c542; --warn: #a3410f; --warn-soft: #fbeee6;
  --radius: 14px; --shadow: 0 1px 2px rgb(0 0 0 / .06), 0 2px 8px rgb(0 0 0 / .05);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0f1412; --surface: #161d1a; --card: #1b2420; --text: #e8efeb; --muted: #9db0a6; --line: #2a3631;
    --brand: #34b88a; --brand-ink: #062a1d; --brand-soft: #173a2e; --warn: #f0a27a; --warn-soft: #3a2418; color-scheme: dark; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--surface); color: var(--text); font: 16px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; padding-bottom: 96px; }
a { color: var(--brand); }
.bar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; background: var(--bg); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; color: var(--text); text-decoration: none; }
.where { color: var(--muted); font-size: 13px; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 55vw; }
main { max-width: 640px; margin: 0 auto; padding: 16px; }
h1 { font-size: 28px; line-height: 1.15; margin: 8px 0 8px; }
h2 { font-size: 20px; margin: 24px 0 8px; }
h3 { font-size: 15px; margin: 16px 0 6px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
p.lead { color: var(--muted); margin: 0 0 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.stack > * + * { margin-top: 12px; }
.promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 16px 0; }
.promise div { background: var(--brand-soft); border-radius: 12px; padding: 10px; text-align: center; font-size: 13px; color: var(--text); }
.promise b { display: block; font-size: 20px; color: var(--brand); }
label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 4px; }
input, textarea { width: 100%; font: inherit; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--text); }
input:focus, textarea:focus, button:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 40%, transparent); outline-offset: 1px; }
button { font: inherit; cursor: pointer; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--text); padding: 10px 14px; }
button.primary { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); font-weight: 700; width: 100%; padding: 14px; }
button:disabled { opacity: .55; cursor: default; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.muted { color: var(--muted); font-size: 14px; }
.badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--accent); color: #3b2c00; vertical-align: middle; }
.notice { background: var(--warn-soft); color: var(--warn); border-radius: 10px; padding: 10px 12px; font-size: 14px; }
.list { display: grid; gap: 10px; }
.rest { display: block; text-decoration: none; color: inherit; }
.rest .name { font-weight: 700; font-size: 17px; }
.rest.off { opacity: .6; }
.item { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.item:last-child { border-bottom: 0; }
.item .price { font-weight: 600; white-space: nowrap; }
.qty { display: flex; align-items: center; gap: 8px; }
.qty button { width: 36px; height: 36px; padding: 0; font-size: 20px; line-height: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border-radius: 999px; padding: 8px 12px; font-size: 14px; }
.chip.now { border-color: var(--brand); color: var(--brand); font-weight: 700; flex-basis: 100%; }
.chip[aria-pressed="true"] { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); font-weight: 700; }
.totals div { display: flex; justify-content: space-between; padding: 4px 0; }
.totals .grand { font-weight: 800; font-size: 18px; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; }
.cartbar { position: fixed; left: 0; right: 0; bottom: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line); }
.cartbar button { max-width: 608px; margin: 0 auto; display: flex; justify-content: space-between; }
.steps { list-style: none; padding: 0; margin: 0; }
.steps li { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; color: var(--muted); }
.steps li .dot { width: 14px; height: 14px; margin-top: 4px; border-radius: 50%; border: 2px solid var(--line); flex: none; }
.steps li.done { color: var(--text); }
.steps li.done .dot { background: var(--brand); border-color: var(--brand); }
.steps li.now { color: var(--text); font-weight: 700; }
.steps li.now .dot { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.spinner { color: var(--muted); padding: 24px 0; text-align: center; }
