:root {
  color-scheme: light;
  --paper: #f8f2e8;
  --surface: #fffaf2;
  --white: #fffcf6;
  --ink: #2a201b;
  --muted: #625148;
  --line: #ded0bf;
  --line-strong: #8e786a;
  --red: #a52f25;
  --red-deep: #82251d;
  --red-soft: #f7e6de;
  --focus: #176579;
  --amber: #704809;
  --amber-soft: #f5e9ce;
  --green: #355544;
  --green-soft: #e7eee2;
  --blue: #385865;
  --blue-soft: #e5eef0;
  --radius: 19px;
  --small-radius: 12px;
  --display: "Songti SC", "Noto Serif CJK SC", "Noto Serif SC", SimSun, Georgia, serif;
  --body: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  --brand: Georgia, "Times New Roman", serif;
  --ticket-number: "SF Mono", Menlo, Consolas, monospace;
  --tap: 44px;
  --gutter: clamp(16px, 4.65vw, 68px);
  --transition: 160ms ease;
}

* { box-sizing: border-box; }
html { scroll-padding: 16px 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.55 var(--body);
  min-width: 0;
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
body.has-cart { padding-bottom: calc(82px + env(safe-area-inset-bottom, 0px)); }
html:has(body.has-cart) { scroll-padding-bottom: calc(106px + env(safe-area-inset-bottom, 0px)); }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.22; overflow-wrap: anywhere; }
a { color: inherit; text-decoration: none; }
button, input, textarea { color: inherit; font: inherit; }
button { touch-action: manipulation; }
a, button:not(:disabled), summary { cursor: pointer; touch-action: manipulation; }
button:disabled { cursor: default; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
[tabindex="-1"]:focus-visible { outline-offset: 6px; }
::selection { background: var(--red-soft); color: var(--red-deep); }
.icon { width: 1.2em; height: 1.2em; flex: 0 0 auto; vertical-align: middle; }
.container { width: min(calc(100% - 2 * var(--gutter)), 1220px); margin-inline: auto; }
main.container { flex: 1 0 auto; min-width: 0; }
.skip-link { position: fixed; left: 20px; top: 12px; z-index: 20; background: var(--white); padding: 12px 16px; border-radius: 8px; transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.live-region { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.eyebrow { color: var(--red-deep); font-size: .73rem; font-weight: 800; letter-spacing: .145em; line-height: 1.45; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; }
.btn {
  min-height: var(--tap);
  border: 1px solid transparent;
  border-radius: 9px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  font-size: .91rem;
  font-weight: 720;
  line-height: 1.35;
  text-align: center;
  transition: background var(--transition), color var(--transition), border var(--transition);
}
.btn-primary { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-primary:hover { background: var(--red-deep); border-color: var(--red-deep); }
.btn-primary:active { background: var(--ink); border-color: var(--ink); }
.btn-quiet { background: var(--white); border-color: var(--line-strong); }
.btn-quiet:hover { background: var(--paper); }
.btn-quiet:active { background: var(--red-soft); }
.btn:disabled { color: var(--muted); background: var(--paper); border-color: var(--line); }
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 4px 9px;
  background: var(--paper);
  color: var(--muted);
  font-size: .74rem;
  font-weight: 750;
  line-height: 1.4;
  border-radius: 999px;
}
.status-pending { background: var(--amber-soft); color: var(--amber); }
.status-accepted { background: var(--blue-soft); color: var(--blue); }
.status-ready { background: var(--green-soft); color: var(--green); }
.status-declined { background: var(--red-soft); color: var(--red-deep); }
.empty { text-align: center; padding: clamp(20px, 6vw, 54px) 16px; color: var(--muted); }
.empty > .icon { width: 29px; height: 29px; margin-bottom: 12px; color: var(--red); }
.empty h1, .empty h2 { margin-bottom: 9px; color: var(--ink); }
.empty .btn { margin-top: 18px; }

.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 12px; padding-block: 10px; }
.wordmark { display: inline-flex; align-items: center; gap: 11px; min-width: 0; min-height: var(--tap); }
.wordmark img { flex: 0 0 auto; width: 42px; height: 42px; }
.wordmark strong { display: block; font: 700 clamp(1.1rem, 3.6vw, 1.52rem)/1.08 var(--brand); letter-spacing: -.048em; overflow-wrap: anywhere; }
.wordmark small { display: block; color: var(--muted); font-size: .75rem; margin-top: 2px; font-weight: 720; letter-spacing: .11em; }
.app-nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(8px, 1.7vw, 22px); }
.nav-item, .nav-staff {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--tap);
  min-width: var(--tap);
  font-size: .82rem;
  font-weight: 720;
  line-height: 1.2;
  white-space: nowrap;
}
.nav-item { color: var(--muted); }
.nav-item[aria-current], .nav-item:hover { color: var(--red-deep); }
.nav-item[aria-current] { box-shadow: inset 0 -2px var(--red); }
.nav-item:not(.nav-order) > .icon { display: none; }
.nav-staff { border: 1px solid var(--line-strong); border-radius: 9px; padding: 8px 12px; background: var(--surface); }
.nav-staff[aria-current], .nav-staff:hover { background: var(--red-soft); color: var(--red-deep); }
.nav-staff .icon { width: 16px; height: 16px; }
.site-footer { border-top: 1px solid var(--line); margin-top: clamp(40px, 7vw, 76px); }
.footer-inner { padding: 16px 0 calc(16px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: 8px 20px; flex-wrap: wrap; color: var(--muted); font-size: .84rem; }
.footer-brand { font: 700 1rem/1.2 var(--brand); color: var(--ink); }
.footer-inner a { display: inline-flex; align-items: center; gap: 7px; min-height: var(--tap); margin-left: auto; color: var(--red-deep); font-weight: 720; }

.menu-section { margin-top: clamp(17px, 4vw, 39px); }
.menu-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: clamp(12px, 2.1vw, 24px);
}
.menu-section-header h1 {
  font: 800 clamp(2.05rem, 5.1vw, 3.6rem)/1.14 var(--display);
  letter-spacing: -.045em;
}
.menu-pickup {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--green);
  background: var(--green-soft);
  font-size: .77rem;
  font-weight: 750;
}
.menu-grid { display: grid; gap: clamp(8px, 1.5vw, 17px); }
.menu-card {
  display: grid;
  grid-template-columns: clamp(64px, 20vw, 101px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(9px, 2.7vw, 15px);
  padding: clamp(9px, 2vw, 15px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--small-radius);
  box-shadow: 0 1px 0 #2a201b09;
}
.menu-card-image { aspect-ratio: 1; background: var(--red-soft); border-radius: 8px; overflow: hidden; }
.menu-card-image img { width: 100%; height: 100%; object-fit: cover; }
.menu-sold .menu-card-image img { filter: saturate(.55); }
.menu-placeholder, .staff-dish-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: var(--red-deep); background: var(--red-soft); }
.menu-placeholder .icon { width: 30px; height: 30px; }
.menu-card-body { display: grid; min-width: 0; align-content: start; gap: 5px; }
.dish-top { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 3px 8px; }
.dish-title { min-width: 0; }
.dish-title h2 { font: 800 clamp(1.2rem, 4.5vw, 1.72rem)/1.17 var(--display); letter-spacing: -.025em; }
.dish-en { margin-top: 2px; color: var(--muted); font-size: .77rem; line-height: 1.2; overflow-wrap: anywhere; }
.dish-price { color: var(--red-deep); font-weight: 800; font-size: clamp(.9rem, 3.9vw, 1.16rem); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.dish-options { display: flex; flex-wrap: wrap; gap: 2px 9px; color: var(--muted); font-size: .78rem; line-height: 1.4; }
.dish-options span { overflow-wrap: anywhere; }
.dish-action { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; margin-top: 3px; }
.dish-action .btn { min-width: var(--tap); padding: 8px 10px; }
.dish-action .dish-quick { padding-inline: clamp(9px, 3vw, 15px); }
.dish-quick .icon { width: .95rem; height: .95rem; }
.dish-in-cart { color: var(--muted); font-size: .77rem; font-weight: 700; }
.menu-sold .dish-action { min-height: 33px; }

.cart-dock { position: fixed; inset: auto 0 0; z-index: 5; pointer-events: none; }
.dock-inner { max-width: 720px; padding: 0 0 calc(10px + env(safe-area-inset-bottom, 0px)); }
.dock-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 10px clamp(12px, 3vw, 21px);
  border-radius: var(--small-radius);
  background: var(--red-deep);
  color: var(--white);
  box-shadow: 0 4px 20px #2a201b45;
  pointer-events: auto;
  font-weight: 750;
}
.dock-link:hover { background: var(--red); }
.dock-title, .dock-total { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.dock-title small { margin-left: 3px; font-size: .78em; }
.dock-action { border-left: 1px solid currentColor; padding-left: 8px; font-size: .8em; }
.toast {
  visibility: hidden; opacity: 0; pointer-events: none; position: fixed; z-index: 10;
  right: var(--gutter); bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  max-width: calc(100% - 2 * var(--gutter)); border-radius: 10px; background: var(--ink); color: var(--white);
  padding: 10px 16px; font-size: .86rem; transition: opacity var(--transition);
}
.has-cart .toast { bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
.toast.is-visible { visibility: visible; opacity: 1; }

.checkout-page, .staff-shell { margin-top: clamp(22px, 4.25vw, 47px); }
.checkout-page { max-width: 1050px; margin-inline: auto; }
.checkout-back, .staff-form-back, .staff-detail-back { margin-bottom: 16px; }
.checkout-heading, .staff-header { margin-bottom: 23px; }
.checkout-heading h1, .staff-header h1, .staff-access h1 {
  margin-top: 6px;
  font: 800 clamp(2rem, 4.5vw, 3.8rem)/1.12 var(--display);
  letter-spacing: -.04em;
}
.checkout-heading > p:last-child:not(.eyebrow), .staff-header p:not(.eyebrow), .staff-access p:not(.eyebrow) { color: var(--muted); margin-top: 7px; }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(275px, .59fr); gap: clamp(16px, 2vw, 25px); align-items: start; }
.checkout-main { display: grid; gap: 16px; min-width: 0; }
.checkout-section { padding: clamp(16px, 2.3vw, 24px); }
.checkout-section:not(.panel) { padding-inline: 0; padding-block: 0; }
.checkout-section h2, .checkout-summary h2 { font-size: 1.19rem; }
.checkout-section > p { margin-top: 5px; color: var(--muted); font-size: .91rem; }
.checkout-quantity, .checkout-group-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.checkout-quantity p { color: var(--muted); font-size: .89rem; margin-top: 2px; }
.checkout-stepper { display: flex; align-items: center; gap: 8px; text-align: center; }
.checkout-stepper .btn { padding-inline: 0; min-width: var(--tap); }
.checkout-stepper output { display: block; min-width: 30px; font-weight: 750; }
.checkout-unit { margin: 12px 0 0; padding: 9px 14px 14px; }
.checkout-unit legend { font-weight: 750; font-size: .9rem; padding: 0 7px; }
.checkout-options { display: grid; gap: 8px; }
.checkout-options p { color: var(--muted); font-size: .92rem; }
.checkout-option {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: center;
  text-align: start;
  min-height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--ink);
  background: var(--surface);
  padding: 8px 10px;
  transition: background var(--transition), border var(--transition);
}
.checkout-option strong { font-size: .84rem; overflow-wrap: anywhere; }
.checkout-option:hover { background: var(--paper); }
.checkout-option[aria-pressed="true"] { color: var(--red-deep); border-color: var(--red); background: var(--red-soft); }
.checkout-option:disabled { color: var(--muted); border-color: var(--line); background: var(--paper); }
.checkout-option-mark { line-height: 1; }
.checkout-option > span:nth-child(2) { overflow-wrap: anywhere; }
.checkout-summary { overflow: clip; }
.checkout-review-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.checkout-review-heading h1 { margin-top: 0; }
.checkout-review-simple-line { display: flex; justify-content: space-between; gap: 8px; }
.checkout-review-simple-line strong { color: var(--ink); }
.checkout-dish-cover { width: 100%; height: auto; aspect-ratio: 1.6; object-fit: cover; }
.checkout-dish-copy { padding: clamp(16px, 2.2vw, 25px); }
.checkout-summary .btn-primary { width: 100%; margin-top: 11px; }
.checkout-review-summary .checkout-totals { margin-top: 0; }
.checkout-review-summary .checkout-total:only-child { border-top: 0; margin-top: 0; padding-top: 0; }
.checkout-review-summary .btn-primary { min-height: 48px; }
.checkout-totals { margin-top: 10px; }
.checkout-summary-line { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 4px 0; color: var(--muted); }
.checkout-summary-line dd { color: var(--ink); font-weight: 700; overflow-wrap: anywhere; }
.checkout-total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 10px; color: var(--ink); font-weight: 800; }
.checkout-total dd { font: 700 1.5rem/1.2 var(--brand); color: var(--red-deep); }
.checkout-alert { display: flex; gap: 10px; background: var(--amber-soft); color: var(--amber); border-radius: var(--small-radius); padding: 13px 15px; margin-bottom: 16px; }
.checkout-alert > .icon { width: 21px; height: 21px; margin-top: 1px; }
.checkout-alert h2 { font-size: 1rem; }
.checkout-alert p, .checkout-alert ul { margin-top: 3px; font-size: .88rem; }
.checkout-alert ul { margin-bottom: 0; padding-left: 22px; }
.checkout-alert-error { background: var(--red-soft); color: var(--red-deep); }
.checkout-recheck { margin-top: 9px; }
.checkout-lines-actions, .checkout-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.checkout-actions > .btn { flex: 1 0 100%; }
.checkout-pickup, .checkout-private-note { margin-top: 12px; font-size: .86rem; color: var(--muted); }
.checkout-pickup .icon { margin-right: 6px; }
.checkout-order-hero { color: var(--ink); background: var(--surface); }
.checkout-order-hero[data-status="ready"] { box-shadow: inset 0 4px var(--green); }
.checkout-order-label { display: block; color: var(--muted); font-size: .82rem; font-weight: 750; margin-top: 17px; }
.checkout-order-number { display: block; margin-block: 3px; font: 700 clamp(3.4rem, 8vw, 5.6rem)/1 var(--ticket-number); color: var(--red-deep); letter-spacing: -.075em; overflow-wrap: anywhere; }
.checkout-order-hero time { display: inline-block; margin-top: 7px; color: var(--muted); font-size: .84rem; }
.checkout-tracker { list-style: none; padding: 15px 0 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px 13px; border-top: 1px dashed var(--line-strong); }
.checkout-milestone { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .79rem; font-weight: 700; }
.checkout-milestone-icon { width: 24px; height: 24px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--paper); }
.checkout-milestone .icon { width: 13px; height: 13px; }
.checkout-milestone-current { color: var(--red-deep); }
.checkout-milestone-current .checkout-milestone-icon { background: var(--red); color: var(--white); }
.checkout-milestone-complete .checkout-milestone-icon { background: var(--green-soft); color: var(--green); }
.ticket-lines, .ticket-addons { list-style: none; margin: 0; padding: 0; }
.ticket-line { padding: 12px 0; border-bottom: 1px dashed var(--line); }
.ticket-line:last-child { padding-bottom: 2px; border-bottom: 0; }
.ticket-title { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; align-items: baseline; }
.ticket-title strong { grid-column: 1; overflow-wrap: anywhere; }
.ticket-title > span:last-child { grid-row: 2; grid-column: 2; white-space: nowrap; font-size: .88rem; font-weight: 710; }
.ticket-unit { grid-column: 1 / -1; color: var(--muted); font-size: .77rem; font-weight: 750; }
.ticket-addons { color: var(--muted); font-size: .84rem; }
.ticket-addons li { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 3px; padding-left: 14px; position: relative; }
.ticket-addons li::before { content: ""; position: absolute; left: 1px; top: .72em; width: 4px; height: 4px; border-radius: 50%; background: var(--red); }

.staff-nav { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 16px; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.staff-nav-items { display: flex; gap: 8px; flex-wrap: wrap; }
.staff-nav-items a { min-height: var(--tap); display: inline-flex; align-items: center; gap: 5px; padding: 7px 10px; border-bottom: 2px solid transparent; color: var(--muted); font-size: .84rem; font-weight: 750; }
.staff-nav-items a .icon { width: 16px; height: 16px; }
.staff-nav-items a[aria-current], .staff-nav-items a:hover { color: var(--red-deep); border-color: var(--red); }
.staff-sign-out { margin-bottom: 7px; }
.staff-header--action { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.staff-access { max-width: 560px; margin: 55px auto; padding: clamp(24px, 6vw, 55px); }
.staff-access-icon, .staff-entry-icon { display: grid; place-items: center; width: 45px; height: 45px; border-radius: 11px; background: var(--red-soft); color: var(--red-deep); margin-bottom: 16px; }
.staff-access form { margin-top: 19px; }
.staff-access label { display: block; font-weight: 750; margin-bottom: 4px; }
.staff-access form .btn { margin-top: 12px; }
.staff-access .form-error { color: var(--red-deep); margin-bottom: 0; }
.staff-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 2vw, 18px); margin-bottom: 20px; }
.staff-metric { display: flex; gap: 12px; align-items: center; padding: clamp(10px, 1.8vw, 19px); text-align: start; min-height: var(--tap); }
.staff-metric:hover, .staff-metric[aria-pressed="true"] { border-color: var(--red); }
.staff-metric-icon { width: 40px; height: 40px; background: var(--amber-soft); color: var(--amber); border-radius: 9px; display: grid; place-items: center; flex: none; }
.staff-metric--accepted .staff-metric-icon { background: var(--blue-soft); color: var(--blue); }
.staff-metric--ready .staff-metric-icon { background: var(--green-soft); color: var(--green); }
.staff-metric-label { display: block; color: var(--muted); font-weight: 690; font-size: .84rem; }
.staff-metric strong { font: 700 1.9rem/1.12 var(--brand); font-variant-numeric: lining-nums tabular-nums; }
.staff-workspace { display: grid; grid-template-columns: minmax(300px, .82fr) minmax(0, 1.18fr); gap: clamp(13px, 2vw, 21px); align-items: start; }
.staff-list, .staff-detail { padding: clamp(14px, 2.2vw, 25px); }
.staff-section-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 11px; }
.staff-section-head h2, .staff-entry h2 { font-size: 1.2rem; }
.staff-section-head > span { font-size: .85rem; color: var(--muted); }
.staff-search label, .staff-fields label, .staff-addon label, .staff-entry-link label { display: block; font-size: .85rem; font-weight: 750; margin-bottom: 4px; }
.staff-search-fields { display: flex; align-items: start; gap: 8px; }
input:not([type="checkbox"]), textarea {
  width: 100%;
  min-width: 0;
  min-height: var(--tap);
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 1rem;
}
input::placeholder { color: var(--muted); opacity: .92; }
input[type="checkbox"] { width: 20px; height: 20px; margin: 0; accent-color: var(--red); }
.staff-search-fields .btn { flex: 0 0 auto; }
.staff-filters { display: flex; flex-wrap: wrap; gap: 5px 8px; margin-top: 10px; }
.staff-filters button {
  min-height: var(--tap);
  min-width: var(--tap);
  border: 0;
  border-radius: 8px;
  background: var(--paper);
  color: var(--muted);
  font-size: .8rem;
  font-weight: 700;
  padding: 6px 8px;
}
.staff-filters button[aria-pressed="true"] { background: var(--red); color: var(--white); }
.staff-filters button:not([aria-pressed="true"]):hover { background: var(--red-soft); color: var(--red-deep); }
.staff-order-list { list-style: none; padding: 0; margin: 13px 0 0; display: grid; gap: 8px; }
.staff-order-card { display: block; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; min-height: var(--tap); }
.staff-order-card[aria-current], .staff-order-card:hover { border-color: var(--red); background: var(--surface); }
.staff-order-card[aria-current] { box-shadow: inset 3px 0 var(--red); }
.staff-order-head, .staff-order-meta, .staff-detail-head, .staff-total { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 9px; }
.staff-order-head strong { font: 700 1.23rem/1.15 var(--ticket-number); }
.staff-order-meta { margin-top: 6px; color: var(--muted); font-size: .79rem; }
.staff-order-meta--detail { justify-content: flex-start; gap: 8px 24px; margin: 9px 0 14px; }
.staff-order-meta--detail dt { font-weight: 750; }
.staff-order-meta--detail dd { font-size: .91rem; color: var(--ink); }
.staff-detail-head h2 { font: 700 2.55rem/1 var(--ticket-number); margin-top: 3px; }
.staff-work-note { display: flex; align-items: start; gap: 7px; border-radius: 9px; padding: 10px 12px; margin-block: 12px 16px; color: var(--amber); background: var(--amber-soft); font-size: .87rem; }
.staff-work-note .icon { margin-top: 2px; }
.staff-work-note--accepted { background: var(--blue-soft); color: var(--blue); }
.staff-work-note--ready { background: var(--green-soft); color: var(--green); }
.staff-work-note--declined { background: var(--red-soft); color: var(--red-deep); }
.staff-line-items h3 { font-size: 1.03rem; }
.staff-total { font-weight: 750; margin-top: 13px; border-top: 1px solid var(--line); padding-block: 12px 0; }
.staff-total strong { font: 700 1.5rem/1.15 var(--brand); color: var(--red-deep); }
.staff-actions { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 15px; }
.staff-empty { padding-block: 23px; }
.staff-empty > span { display: block; color: var(--red); margin-bottom: 8px; }
.staff-empty > span .icon { width: 26px; height: 26px; }
.staff-menu-list { display: grid; gap: 9px; }
.staff-menu-list .staff-section-head { margin-bottom: 1px; }
.staff-dish-card { display: grid; grid-template-columns: 82px minmax(0, 1fr) auto auto; align-items: center; gap: 10px 15px; padding: 10px 14px; }
.staff-dish-card img, .staff-dish-placeholder { border-radius: 9px; width: 82px; height: 68px; object-fit: cover; }
.staff-dish-info h3 { font-size: 1.12rem; }
.staff-dish-info p { color: var(--muted); font-size: .84rem; overflow-wrap: anywhere; }
.staff-dish-addons { display: flex; flex-wrap: wrap; gap: 3px 10px; color: var(--muted); font-size: .77rem; margin-top: 3px; }
.staff-dish-price { display: grid; gap: 4px; justify-items: start; }
.staff-dish-price strong { color: var(--red-deep); letter-spacing: -.025em; font-family: var(--brand); }
.staff-form { padding: clamp(15px, 3vw, 30px); max-width: 840px; }
.staff-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.staff-fields h2, .staff-field-wide { grid-column: 1 / -1; }
.staff-fields h2, .staff-addons h2 { font-size: 1.12rem; }
.staff-fields label span { color: var(--muted); font-size: .77rem; font-weight: 400; }
.staff-check-field { display: flex; align-items: end; }
.staff-check-field label { display: flex; align-items: center; gap: 7px; min-height: var(--tap); margin-bottom: 0; cursor: pointer; }
.staff-addons { margin-top: 20px; padding-top: 15px; border-top: 1px solid var(--line); }
.staff-addons p { color: var(--muted); font-size: .86rem; }
.staff-addon { display: grid; grid-template-columns: minmax(120px, 1fr) minmax(90px, .52fr) auto auto; gap: 9px 12px; align-items: end; border: 1px solid var(--line); border-radius: var(--small-radius); padding: 9px 12px 12px; margin: 0 0 9px; min-width: 0; }
.staff-addon legend { padding-inline: 6px; font-size: .85rem; font-weight: 750; }
.form-error { background: var(--red-soft); color: var(--red-deep); padding: 10px 12px; border-radius: 8px; margin-bottom: 15px; }
.staff-entry { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.staff-entry-card { padding: clamp(15px, 2.6vw, 26px); }
.staff-entry-card p { color: var(--muted); font-size: .92rem; margin-top: 6px; }
.staff-entry-link, .staff-qr-code { margin-top: 13px; }
.staff-qr-code img { display: block; background: white; outline: 1px solid var(--line); border-radius: 7px; }
.staff-edit-fields { min-width: 0; padding: 0; margin: 0; border: 0; }

@media (min-width: 840px) {
  .menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .menu-card { grid-template-columns: clamp(94px, 11vw, 136px) minmax(0, 1fr); }
  .menu-card-body { align-self: center; }
}
@media (max-width: 760px) {
  .checkout-grid, .staff-entry { grid-template-columns: 1fr; }
  .checkout-dish-cover { display: none; }
  .staff-workspace { display: block; }
  .staff-workspace[data-open-order="true"] .staff-list, .staff-detail--preview { display: none; }
  .staff-shell:has(.staff-workspace[data-open-order="true"]) :is(.staff-header p, .staff-header > button, .staff-metrics) { display: none; }
  .staff-shell:has(.staff-workspace[data-open-order="true"]) .staff-header { margin-bottom: 12px; }
}
@media (max-width: 540px) {
  .header-inner { min-height: 62px; }
  .wordmark { gap: 6px; }
  .wordmark img { width: 34px; height: 34px; }
  .wordmark small { font-size: .66rem; }
  .app-nav { gap: 8px; }
  .nav-item:not(.nav-order) { display: none; }
  .nav-item, .nav-staff { font-size: .76rem; }
  .nav-order .icon, .nav-staff .icon { display: none; }
  .nav-staff { padding-inline: 8px; }
  .menu-section-header { gap: 6px 10px; }
  .dish-action .btn { font-size: .83rem; }
  .checkout-review { margin-top: 14px; }
  .checkout-review-heading h1 { font-size: clamp(1.55rem, 6.8vw, 2rem); }
  .checkout-review .checkout-grid, .checkout-review .checkout-main { gap: 9px; }
  .checkout-review-group, .checkout-review-summary .checkout-dish-copy { padding: 11px 12px; }
  .checkout-review-back { padding-inline: 9px; font-size: .82rem; }
  .staff-nav { align-items: start; margin-bottom: 18px; }
  .staff-nav-items a { padding-inline: 5px; }
  .staff-nav-items a .icon { display: none; }
  .staff-sign-out { padding-inline: 8px; }
  .staff-metric { gap: 6px; flex-direction: column; align-items: flex-start; }
  .staff-metric-icon { width: 29px; height: 29px; }
  .staff-metric strong { font-size: 1.4rem; }
  .staff-dish-card { grid-template-columns: 50px minmax(0, 1fr) auto; gap: 8px; padding: 8px; }
  .staff-dish-card img, .staff-dish-placeholder { width: 50px; height: 50px; }
  .staff-dish-price { grid-column: 2; }
  .staff-edit { grid-column: 3; grid-row: 1 / 3; }
  .staff-fields { grid-template-columns: 1fr; }
  .staff-addon { grid-template-columns: minmax(0, 1fr) minmax(0, .72fr); }
}
@media (max-width: 355px) {
  .nav-order span { display: none; }
  .nav-order .icon { display: inline-block; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
