@font-face{font-family:Anton;src:url('assets/anton.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:Manrope;src:url('assets/manrope.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:Manrope;src:url('assets/manrope-bold.ttf') format('truetype');font-weight:700;font-display:swap}

/* Same tokens as styles.css (the restaurant site). */
:root {
  --red: oklch(.53 .21 27);
  --red-dark: oklch(.45 .18 27);
  --red-tint: oklch(.96 .025 15);
  --pink: oklch(.93 .035 10);
  --white: oklch(1 0 0);
  --ink: oklch(.19 .015 25);
  --muted: oklch(.43 .02 25);
  --line: oklch(.8 .025 10);
  --soy: oklch(.3 .04 50);       /* soy sauce brown, for soy tags only */
  --soy-tint: oklch(.94 .02 60);
  --green: oklch(.45 .1 150);
  --display: Anton, Impact, sans-serif;
  --body: Manrope, Arial, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--white); color: var(--ink); font: 15px/1.55 var(--body); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
a { color: inherit; text-underline-offset: 4px; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 20px; top: -100px; z-index: 40; padding: 12px 20px; background: var(--white); }
.skip:focus { top: 15px; }
.icon { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.num, .price { font-variant-numeric: tabular-nums; }

.demo-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; padding: 8px clamp(16px, 3vw, 40px); background: var(--ink); color: var(--white); font-size: 12px; }
.demo-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; }
.demo-links a { font-weight: 700; }
.link-button { display: inline-flex; align-items: center; gap: 6px; padding: 4px 0; border: 0; background: none; color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.link-button .icon { width: 14px; height: 14px; }

/* Top bar: the site's pink header */
.topbar { position: sticky; top: 0; z-index: 20; background: var(--pink); border-bottom: 1px solid var(--red); }
.topbar-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; padding: 14px clamp(16px, 3vw, 40px) 6px; }
.wordmark { font: 400 30px/1 var(--display); letter-spacing: -.015em; color: var(--red); text-decoration: none; white-space: nowrap; }
.wordmark small { font: 400 .5em/1 var(--display); letter-spacing: .02em; text-transform: uppercase; vertical-align: .43em; }
.staff-tag { display: inline-block; margin-left: 8px; padding: 3px 8px 2px; vertical-align: 5px; background: var(--red); color: var(--white); font: 700 11px/1.2 var(--body); letter-spacing: .1em; text-transform: uppercase; }
.window { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--ink); }
.window-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.window.is-open .window-dot { background: var(--green); box-shadow: 0 0 0 4px oklch(.45 .1 150 / .18); }
.window.is-closed .window-dot { background: var(--red); }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 18px; font-size: 13px; }
.clock { font: 400 26px/1 var(--display); color: var(--red); font-variant-numeric: tabular-nums; }
.who { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.avatar { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--red); color: var(--white); font-size: 13px; }
.tabs { display: flex; gap: 6px; padding: 0 clamp(8px, 2.5vw, 32px); overflow-x: auto; scrollbar-width: none; }
.tabs a { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 12px; font-size: 14px; font-weight: 700; text-decoration: none; color: var(--muted); white-space: nowrap; }
.tabs a:hover { color: var(--red); }
.tabs a[aria-current="page"] { color: var(--red); }
.tabs a[aria-current="page"]::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: -1px; height: 4px; background: var(--red); }
.tab-count { min-width: 22px; padding: 3px 7px; border-radius: 999px; background: var(--red); color: var(--white); font-size: 12px; text-align: center; }
.tab-count-line { background: var(--white); color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }

/* Layout */
main { padding: 36px clamp(16px, 3vw, 40px) 72px; max-width: 1480px; margin-inline: auto; }
main:focus { outline: none; }
.view-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 18px 28px; margin-bottom: 28px; }
.kicker { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.view-head h1 { font: 400 clamp(2.8rem, 5.6vw, 4.8rem)/1.02 var(--display); letter-spacing: -.02em; color: var(--red); }
.view-head h1 em { font: 400 .45em/1 var(--display); font-style: normal; letter-spacing: .02em; text-transform: uppercase; padding: 0 .1em; vertical-align: .53em; }
.lead { margin-top: 12px; max-width: 44rem; color: var(--muted); }
.panel { border: 1px solid var(--line); padding: 20px 22px; min-width: 0; background: var(--white); }
.panel-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.panel-head h2 { font: 400 26px/1.05 var(--display); letter-spacing: -.01em; }
.panel-head a { font-size: 13px; font-weight: 700; }
.empty-line { color: var(--muted); font-size: 14px; padding: 4px 0; }
.footnote { margin-top: 14px; font-size: 12px; color: var(--muted); }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 46px; padding: 10px 20px; border: 1px solid var(--red); background: var(--red); color: var(--white); font-size: 14px; font-weight: 700; text-decoration: none; transition: transform .2s var(--ease), background-color .2s var(--ease); }
.button:hover { transform: translateY(-2px); background: var(--red-dark); }
.button:active { transform: translateY(0); }
.button-line { background: var(--white); color: var(--red); }
.button-line:hover { background: var(--pink); }
.button-ink { background: var(--ink); border-color: var(--ink); }
.button-ink:hover { background: var(--red); border-color: var(--red); }
.button-sm { min-height: 38px; padding: 6px 12px; font-size: 13px; }
.icon-btn { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--red); background: var(--white); color: var(--red); }
.icon-btn:hover { background: var(--pink); }

/* Soy vs spicy */
.duel { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px 28px; padding: 26px clamp(18px, 3vw, 36px); background: var(--pink); margin-bottom: 18px; }
.duel-side { display: grid; justify-items: center; }
.duel-label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.duel-side strong { font: 400 clamp(3.6rem, 8vw, 6.5rem)/1 var(--display); font-variant-numeric: tabular-nums; }
.duel-soy { color: var(--soy); }
.duel-spicy { color: var(--red); }
.duel-bar { position: relative; display: flex; height: 26px; background: var(--red); border: 4px solid var(--white); }
.duel-fill { height: 100%; background: var(--soy); transition: width .5s var(--ease); }
.duel-or { position: absolute; top: 50%; left: var(--split, 50%); transform: translate(-50%, -50%); display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--white); color: var(--red); border: 4px solid var(--pink); font: 400 20px/1 var(--display); letter-spacing: .02em; text-transform: uppercase; transition: left .5s var(--ease); }
.duel-note { grid-column: 1 / -1; text-align: center; font-size: 14px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 0 18px; border-block: 1px solid var(--red); }
.stats div { padding: 16px 18px; }
.stats div + div { border-left: 1px solid var(--line); }
.stats dt { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.stats dd { margin: 6px 0 0; font: 400 38px/1.05 var(--display); font-variant-numeric: tabular-nums; }
.today-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.bars li { display: grid; grid-template-columns: 6.5rem 1fr 3rem; gap: 12px; align-items: center; font-size: 14px; }
.bar { height: 12px; background: var(--pink); }
.bar span { display: block; height: 100%; background: var(--red); transition: width .4s var(--ease); }
.bars .num { text-align: right; font-weight: 700; }
.low-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.low-list li { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.low-list li:last-child { border-bottom: 0; }
.low-list strong { font-weight: 700; }
.low-list .num { color: var(--muted); }
.off-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.off-list li { display: inline-flex; align-items: center; gap: 4px; padding: 4px 4px 4px 14px; border: 1px solid var(--red); border-radius: 30px; color: var(--red); font-size: 13px; font-weight: 700; }
.off-list button { display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 50%; background: none; color: inherit; }
.off-list button:hover { background: var(--pink); }
.note-copy { font-size: 16px; white-space: pre-wrap; }
.note-meta { margin-top: 10px; font-size: 12px; color: var(--muted); }
.note-form { display: grid; gap: 8px; }
.note-form label { font-size: 14px; font-weight: 700; }
.note-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--ink); background: var(--white); resize: vertical; }
.form-actions { display: flex; justify-content: flex-end; gap: 8px; }

/* Orders */
.head-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.switch { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; font-weight: 700; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch-track { position: relative; width: 46px; height: 26px; border-radius: 30px; background: var(--line); transition: background-color .2s var(--ease); }
.switch-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--white); transition: transform .2s var(--ease); }
.switch input:checked + .switch-track { background: var(--red); }
.switch input:checked + .switch-track::after { transform: translateX(20px); }
.switch input:focus-visible + .switch-track { outline: 3px solid var(--red); outline-offset: 3px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button { min-height: 44px; padding: 8px 18px; border: 1px solid var(--red); border-radius: 30px; background: var(--white); color: var(--red); font-size: 14px; font-weight: 700; }
.seg button[aria-pressed="true"] { background: var(--red); color: var(--white); }
.banner { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; padding: 12px 16px; background: var(--ink); color: var(--white); font-size: 14px; font-weight: 700; }
.rail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.lane { min-height: 240px; padding: 14px; background: var(--pink); }
.lane h2 { display: flex; justify-content: space-between; align-items: center; padding: 2px 2px 12px; font: 400 28px/1 var(--display); color: var(--red); }
.lane h2 span { min-width: 30px; padding: 5px 9px; border-radius: 30px; background: var(--red); color: var(--white); font: 700 13px/1 var(--body); text-align: center; }
.tickets { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lane-empty { padding: 22px 8px; text-align: center; color: var(--muted); font-size: 14px; }
.ticket { background: var(--white); border: 1px solid var(--line); animation: drop .35s var(--ease); }
.ticket.is-late { border-color: var(--red); box-shadow: inset 0 4px 0 var(--red); }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }
.ticket-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 12px 14px 10px; }
.ticket-top strong { display: block; font: 400 24px/1 var(--display); }
.ticket-top span { font-size: 12px; color: var(--muted); }
.src { display: inline-block; margin-top: 6px; padding: 2px 8px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; border: 1px solid currentColor; }
.src-uber { color: var(--green); }
.src-counter { color: var(--ink); }
.timing { flex: none; text-align: right; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.timing small { display: block; font-weight: 400; font-size: 12px; color: var(--muted); }
.is-late .timing { color: var(--red); }
.ticket-items { list-style: none; margin: 0; padding: 10px 14px; display: grid; gap: 6px; border-top: 1px dashed var(--line); }
.ticket-items li { display: grid; grid-template-columns: 1.7rem 1fr auto; gap: 6px; align-items: baseline; font-size: 14px; }
.qty { font-weight: 700; }
.sauce { padding: 2px 8px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.sauce-soy { background: var(--soy); color: var(--white); }
.sauce-spicy { background: var(--red); color: var(--white); }
.mod { grid-column: 2 / -1; font-size: 12px; font-weight: 700; color: var(--red); }
.ticket-actions { display: flex; padding: 0 14px 14px; }
.ticket-actions .button { flex: 1; }
.done { margin-top: 26px; }
.done h2 { font: 400 26px/1 var(--display); color: var(--red); margin-bottom: 10px; }
.done-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.done-list li { padding: 5px 12px; border: 1px solid var(--line); border-radius: 30px; font-size: 12px; color: var(--muted); }

/* Station */
.sauces { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-bottom: 18px; border: 1px solid var(--red); }
.sauce-card { display: grid; grid-template-columns: auto 1fr auto; gap: 14px 22px; align-items: center; padding: 22px 24px; }
.sauce-card + .sauce-card { border-left: 1px solid var(--red); }
.sauce-card.is-soy { background: var(--soy-tint); }
.sauce-card.is-spicy { background: var(--pink); }
.bottle { position: relative; width: 54px; height: 96px; border: 2px solid var(--ink); border-radius: 10px 10px 6px 6px; background: var(--white); overflow: hidden; }
.bottle::before { content: ""; position: absolute; top: -2px; left: 50%; width: 18px; height: 12px; transform: translateX(-50%); background: var(--ink); }
.bottle span { position: absolute; left: 0; right: 0; bottom: 0; transition: height .5s var(--ease); }
.is-soy .bottle span { background: var(--soy); }
.is-spicy .bottle span { background: var(--red); }
.sauce-card h2 { font: 400 32px/1 var(--display); }
.is-soy h2 { color: var(--soy); }
.is-spicy h2 { color: var(--red); }
.sauce-card p { font-size: 13px; color: var(--muted); margin-top: 4px; }
.sauce-card .sauce-level { font: 400 34px/1 var(--display); color: var(--ink); margin-top: 8px; }
.sauce-actions { display: grid; gap: 6px; }
.station-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.tray { display: grid; gap: 10px; padding: 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tray.is-low { background: var(--red-tint); }
.tray-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.tray-head h3 { font: 400 22px/1.05 var(--display); }
.tray-head span { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.is-low .tray-head span { color: var(--red); }
.tray-level { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: var(--muted); }
.tray-level strong { font: 400 30px/1 var(--display); color: var(--ink); font-variant-numeric: tabular-nums; }
.meter { position: relative; height: 8px; background: var(--pink); }
.meter span { display: block; height: 100%; background: var(--ink); transition: width .4s var(--ease); }
.is-low .meter span { background: var(--red); }
.meter i { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--red); }
.tray-actions { display: flex; gap: 6px; }
.tray-actions .button { flex: 1; padding-inline: 8px; white-space: nowrap; }
.tray-actions .button:last-child { flex: 1.7; }

/* Menu matrix */
.matrix-wrap { overflow-x: auto; padding: 0; margin-bottom: 18px; border-color: var(--red); }
.matrix { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 860px; }
.matrix th, .matrix td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: center; }
.matrix thead th { position: sticky; top: 0; background: var(--pink); font: 400 18px/1.1 var(--display); color: var(--red); white-space: nowrap; }
.matrix thead th small { display: block; font: 700 11px/1.3 var(--body); color: var(--ink); }
.matrix tbody th { text-align: left; white-space: nowrap; font-weight: 700; font-size: 14px; }
.matrix tbody th .sauce { margin-left: 6px; }
.cell { min-width: 64px; min-height: 36px; padding: 6px 8px; border: 1px solid var(--ink); background: var(--white); font-size: 12px; font-weight: 700; }
.cell[aria-pressed="false"] { border-color: var(--red); background: var(--red-tint); color: var(--red); text-decoration: line-through; }
.cell:hover { background: var(--pink); }
.na { color: var(--line); }
.row-toggle { min-height: 36px; padding: 4px 12px; border: 1px solid var(--red); border-radius: 30px; background: var(--white); color: var(--red); font-size: 12px; font-weight: 700; white-space: nowrap; }
.row-toggle[aria-pressed="true"] { background: var(--red); color: var(--white); }
.matrix tr.is-off th:first-child { color: var(--red); text-decoration: line-through; }
.extras .panel-head { align-items: flex-end; }
.search { display: flex; align-items: center; gap: 8px; min-height: 44px; min-width: min(320px, 100%); padding: 0 12px; border: 1px solid var(--ink); }
.search input { width: 100%; min-height: 40px; border: 0; outline: none; background: none; }
.table-scroll { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th { padding: 10px 12px; border-bottom: 1px solid var(--red); text-align: left; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.data-table td { padding: 8px 12px; border-bottom: 1px solid var(--line); }
.data-table .num { text-align: right; }
.data-table td:first-child { font-weight: 700; }
.data-table tr.is-off td:not(:last-child) { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--red); }
.avail { min-width: 7rem; min-height: 36px; padding: 4px 12px; border: 1px solid var(--ink); border-radius: 30px; background: var(--white); font-size: 13px; font-weight: 700; }
.avail[aria-pressed="false"] { border-color: var(--red); background: var(--red); color: var(--white); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

@media (max-width: 1000px) {
  .rail { grid-template-columns: 1fr; }
  .lane { min-height: 0; }
  .today-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div:nth-child(3) { border-left: 0; }
  .stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .sauces { grid-template-columns: 1fr; }
  .sauce-card + .sauce-card { border-left: 0; border-top: 1px solid var(--red); }
}
@media (max-width: 640px) {
  .topbar { position: static; }
  .topbar-right .who { display: none; }
  .wordmark { font-size: 25px; }
  .window { order: 3; width: 100%; }
  .duel { grid-template-columns: 1fr 1fr; padding: 20px 16px; }
  .duel-bar { grid-column: 1 / -1; grid-row: 2; }
  .duel-or { width: 46px; height: 46px; font-size: 16px; }
  .sauce-card { grid-template-columns: auto 1fr; }
  .sauce-actions { grid-column: 1 / -1; grid-template-columns: 1fr 1fr 1fr; }
  .head-controls, .seg { width: 100%; }
  .seg button { flex: 1; padding: 8px 10px; }
  .bars li { grid-template-columns: 5.5rem 1fr 2.5rem; }
}
@media (max-width: 420px) {
  .stats dd { font-size: 30px; }
  .stats div { padding: 12px; }
}
