:root {
  --ink: #171713;
  --ink-soft: #34332e;
  --cream: #f5f0e6;
  --cream-deep: #ebe3d3;
  --paper: #fffdf8;
  --gold: #b89b5e;
  --gold-light: #e9dcc0;
  --red: #a82d24;
  --green: #376b53;
  --green-soft: #e4eee8;
  --amber: #a66d20;
  --amber-soft: #f8ecd5;
  --blue: #2c5e77;
  --line: rgba(23, 23, 19, 0.12);
  --shadow: 0 20px 60px rgba(31, 27, 19, 0.1);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(circle at 5% 5%, rgba(184, 155, 94, 0.13), transparent 25rem),
    var(--cream);
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

.prototype-ribbon {
  min-height: 31px;
  padding: 6px 24px;
  display: flex;
  justify-content: center;
  gap: 8px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.prototype-ribbon > span:first-child {
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
}

.site-header {
  min-height: 80px;
  padding: 12px clamp(18px, 4vw, 64px);
  display: grid;
  grid-template-columns: minmax(160px, 1fr) auto minmax(360px, 1fr);
  align-items: center;
  gap: 24px;
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(245, 240, 230, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  width: fit-content;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: 156px;
  height: auto;
  display: block;
}

.brand span {
  margin-left: 9px;
  padding-left: 11px;
  border-left: 1px solid rgba(23, 23, 19, 0.28);
  color: var(--red);
  font-family: Manrope, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.location-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3b9b68;
  box-shadow: 0 0 0 4px rgba(59, 155, 104, 0.12);
}

.view-switcher {
  justify-self: end;
  display: flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.54);
}

.view-switcher button {
  padding: 9px 13px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #656258;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: 160ms ease;
}

.view-switcher button:hover {
  color: var(--ink);
}

.view-switcher button.active {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 5px 18px rgba(23, 23, 19, 0.2);
}

#app {
  min-height: calc(100vh - 164px);
  outline: none;
}

.page-shell {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 72px) clamp(18px, 4vw, 64px) 80px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-family: Manrope, sans-serif;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

h2 {
  font-family: Manrope, sans-serif;
  font-size: clamp(25px, 3.3vw, 42px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

h3 {
  font-family: Manrope, sans-serif;
  letter-spacing: -0.025em;
}

.lede {
  max-width: 650px;
  color: #5e5b52;
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.6;
}

.muted {
  color: #777266;
}

.tiny {
  font-size: 11px;
}

.button,
.button-secondary,
.button-quiet,
.add-button,
.stepper-button {
  border: 0;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.button {
  min-height: 50px;
  padding: 13px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(23, 23, 19, 0.18);
}

.button:hover,
.button-secondary:hover,
.add-button:hover {
  transform: translateY(-1px);
}

.button.gold {
  background: var(--gold);
  color: var(--ink);
}

.button.red {
  background: var(--red);
}

.button.small {
  min-height: 38px;
  padding: 9px 14px;
  font-size: 12px;
}

.button.full {
  width: 100%;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
  box-shadow: none;
}

.button-secondary {
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-weight: 700;
}

.button-quiet,
.text-button {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--red);
  cursor: pointer;
  font-weight: 700;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(470px, 1.12fr);
  gap: clamp(28px, 5vw, 84px);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy .button-row {
  margin-top: 30px;
}

.location-line {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
  color: #696559;
  font-size: 12px;
}

.location-line span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-card {
  min-height: 620px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(15, 14, 12, 0.03) 15%, rgba(15, 14, 12, 0.92) 100%),
    url("./assets/brand/hero.jpg") center / cover;
  color: white;
  box-shadow: var(--shadow);
}

.wait-card {
  width: min(310px, 100%);
  margin-left: auto;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  background: rgba(18, 17, 14, 0.68);
  backdrop-filter: blur(15px);
}

.wait-card-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.wait-time {
  margin: 5px 0 2px;
  font-family: Manrope, sans-serif;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.06em;
}

.hero-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.hero-stat {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(12px);
}

.hero-stat strong,
.metric strong {
  display: block;
  font-family: Manrope, sans-serif;
  font-size: 21px;
  letter-spacing: -0.04em;
}

.hero-stat span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 10px;
}

.form-card,
.panel,
.metric-card,
.ticket,
.case-card {
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.84);
  box-shadow: 0 10px 35px rgba(31, 27, 19, 0.055);
}

.form-card {
  width: min(560px, 100%);
  margin: 0 auto;
  padding: clamp(22px, 4vw, 42px);
  border-radius: var(--radius-lg);
}

.form-card-header {
  margin-bottom: 26px;
}

.back-link {
  margin-bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  color: #706c61;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.field {
  margin-bottom: 16px;
}

.field label,
.range-label {
  margin-bottom: 7px;
  display: flex;
  justify-content: space-between;
  color: #625e54;
  font-size: 12px;
  font-weight: 700;
}

.field input,
.field select {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid rgba(23, 23, 19, 0.16);
  border-radius: 13px;
  outline: none;
  background: #fff;
  color: var(--ink);
}

.field input:focus,
.field select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(184, 155, 94, 0.16);
}

.consent-note {
  margin: 16px 0;
  color: #7b766b;
  font-size: 11px;
  line-height: 1.5;
}

.queue-shell {
  width: min(1060px, 100%);
  margin: 0 auto;
}

.queue-top {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}

.queue-status,
.preorder-pitch {
  min-height: 310px;
  padding: clamp(24px, 4vw, 44px);
  border-radius: var(--radius-lg);
}

.queue-status {
  background: var(--ink);
  color: white;
}

.queue-status .muted {
  color: rgba(255, 255, 255, 0.62);
}

.queue-number {
  margin: 25px 0;
  font-family: Manrope, sans-serif;
  font-size: clamp(66px, 10vw, 112px);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.08em;
}

.queue-number small {
  font-size: 18%;
  letter-spacing: 0;
}

.progress-track {
  width: 100%;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
}

.progress-fill {
  width: 32%;
  height: 100%;
  border-radius: inherit;
  background: var(--gold);
}

.preorder-pitch {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  background: var(--gold-light);
}

.preorder-pitch::after {
  content: "金";
  position: absolute;
  right: -15px;
  bottom: -55px;
  color: rgba(184, 155, 94, 0.21);
  font-family: "Noto Serif SC", serif;
  font-size: 180px;
}

.preorder-pitch > * {
  position: relative;
  z-index: 1;
}

.how-row {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--line);
}

.how-step {
  padding: 24px;
  background: var(--paper);
}

.how-step .number {
  width: 27px;
  height: 27px;
  margin-bottom: 14px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.how-step strong {
  display: block;
  margin-bottom: 5px;
}

.how-step p {
  margin-bottom: 0;
  color: #777266;
  font-size: 12px;
  line-height: 1.5;
}

.menu-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 30px;
  align-items: start;
}

.menu-header {
  margin-bottom: 25px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
}

.menu-header h1 {
  margin-bottom: 0;
  font-size: clamp(36px, 5vw, 60px);
}

.wait-badge {
  padding: 10px 13px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.category-tabs {
  margin: 0 0 27px;
  padding-bottom: 5px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.category-tab {
  padding: 9px 13px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  cursor: pointer;
  color: #706c61;
  font-size: 12px;
  font-weight: 700;
}

.category-tab.active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.menu-section {
  margin-bottom: 36px;
  scroll-margin-top: 130px;
}

.menu-section-heading {
  margin-bottom: 15px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.menu-section-heading h2 {
  margin-bottom: 0;
  font-size: 25px;
}

.menu-section-heading span {
  color: #898478;
  font-size: 11px;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}

.menu-card {
  min-width: 0;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--paper);
  transition: 180ms ease;
}

.menu-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(31, 27, 19, 0.09);
}

.menu-image {
  width: 100%;
  aspect-ratio: 1.15;
  display: block;
  object-fit: cover;
  background: #eee9df;
}

.menu-card-content {
  min-height: 158px;
  padding: 15px;
  display: flex;
  flex-direction: column;
}

.item-meta {
  min-height: 20px;
  margin-bottom: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.tag {
  padding: 4px 6px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.tag.cook-later {
  background: var(--amber-soft);
  color: var(--amber);
}

.menu-card h3 {
  margin-bottom: 4px;
  font-size: 14px;
  line-height: 1.25;
}

.chinese-name {
  margin-bottom: 10px;
  color: #888377;
  font-family: "Noto Serif SC", serif;
  font-size: 11px;
}

.item-bottom {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.item-price {
  font-weight: 700;
}

.add-button {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 19px;
  line-height: 1;
}

.cart-panel {
  padding: 20px;
  position: sticky;
  top: 112px;
  border-radius: 22px;
}

.cart-header,
.cart-total-row,
.cart-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.cart-header {
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}

.cart-header h3 {
  margin-bottom: 0;
}

.cart-count {
  min-width: 23px;
  height: 23px;
  padding: 0 6px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--red);
  color: white;
  font-size: 10px;
  font-weight: 700;
}

.empty-cart {
  padding: 32px 8px;
  color: #8a8579;
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
}

.cart-lines {
  max-height: 360px;
  overflow: auto;
}

.cart-line {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
}

.cart-line-name {
  max-width: 165px;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 700;
}

.cart-line-price {
  color: #767166;
  font-size: 11px;
}

.stepper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stepper-button {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--cream-deep);
  font-weight: 700;
}

.stepper span {
  min-width: 12px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
}

.cart-total {
  padding: 16px 0;
}

.cart-total-row {
  margin-bottom: 6px;
  color: #6d695f;
  font-size: 12px;
}

.cart-total-row.grand {
  margin-top: 10px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
}

.cart-mobile-bar {
  display: none;
}

.checkout-layout {
  width: min(980px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(310px, 0.92fr);
  gap: 22px;
  align-items: start;
}

.checkout-card {
  padding: clamp(22px, 4vw, 36px);
  border-radius: var(--radius-lg);
}

.safety-banner {
  margin: 20px 0;
  padding: 16px;
  display: flex;
  gap: 12px;
  border-radius: 14px;
  background: var(--green-soft);
  color: #315b49;
  font-size: 12px;
  line-height: 1.5;
}

.safety-icon {
  flex: 0 0 auto;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: white;
  font-size: 12px;
}

.payment-options {
  display: grid;
  gap: 10px;
}

.payment-option {
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
}

.payment-option.selected {
  border-color: var(--ink);
  box-shadow: 0 0 0 2px var(--ink);
}

.payment-mark {
  width: 38px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--ink);
  color: white;
  font-size: 9px;
  font-weight: 700;
}

.order-summary-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.order-summary-list li {
  padding: 11px 0;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.held-shell {
  width: min(900px, 100%);
  margin: 0 auto;
  text-align: center;
}

.held-icon {
  width: 78px;
  height: 78px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-size: 30px;
  box-shadow: 0 0 0 12px rgba(55, 107, 83, 0.07);
}

.held-shell h1 {
  margin-right: auto;
  margin-left: auto;
}

.held-shell .lede {
  margin-right: auto;
  margin-left: auto;
}

.status-card {
  margin: 32px auto;
  padding: 25px;
  border-radius: 22px;
  text-align: left;
}

.order-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}

.order-timeline::before {
  content: "";
  height: 2px;
  position: absolute;
  top: 13px;
  left: 12.5%;
  right: 12.5%;
  background: var(--line);
}

.timeline-step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.timeline-dot {
  width: 27px;
  height: 27px;
  margin: 0 auto 10px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--cream-deep);
  color: #8e887c;
  font-size: 10px;
  font-weight: 700;
}

.timeline-step.complete .timeline-dot,
.timeline-step.active .timeline-dot {
  background: var(--green);
  color: white;
}

.timeline-step.active .timeline-dot {
  box-shadow: 0 0 0 7px rgba(55, 107, 83, 0.12);
}

.timeline-step strong,
.timeline-step span {
  display: block;
  font-size: 11px;
}

.timeline-step span {
  margin-top: 3px;
  color: #8a857a;
}

.demo-actions {
  margin-top: 24px;
  padding: 18px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
  border: 1px dashed rgba(23, 23, 19, 0.22);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.35);
}

.demo-actions-label {
  width: 100%;
  margin-bottom: 4px;
  color: #868075;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.ops-header {
  margin-bottom: 28px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
}

.ops-header h1 {
  margin-bottom: 0;
  font-size: clamp(36px, 5vw, 62px);
}

.clock {
  color: #5d594f;
  text-align: right;
  font-size: 12px;
}

.clock strong {
  display: block;
  color: var(--ink);
  font-family: Manrope, sans-serif;
  font-size: 26px;
}

.metrics-grid {
  margin-bottom: 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 11px;
}

.metric-card {
  padding: 17px;
  border-radius: 15px;
}

.metric-card span {
  color: #777267;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.metric-card strong {
  margin-top: 4px;
  display: block;
  font-family: Manrope, sans-serif;
  font-size: 27px;
  letter-spacing: -0.05em;
}

.metric-delta {
  margin-top: 4px;
  color: var(--green) !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.host-layout {
  display: grid;
  grid-template-columns: minmax(490px, 1.25fr) minmax(350px, 0.75fr);
  gap: 18px;
}

.panel {
  padding: 20px;
  border-radius: 20px;
}

.panel-header {
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.panel-header h3 {
  margin-bottom: 0;
}

.panel-kicker {
  color: #817c71;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.queue-table {
  width: 100%;
  border-collapse: collapse;
}

.queue-table th {
  padding: 9px 8px;
  color: #918b7f;
  text-align: left;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.queue-table td {
  padding: 13px 8px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  vertical-align: middle;
}

.queue-table tr.featured {
  background: #f2ead8;
}

.queue-table tr.featured td:first-child {
  border-radius: 10px 0 0 10px;
}

.queue-table tr.featured td:last-child {
  border-radius: 0 10px 10px 0;
}

.guest-name {
  font-weight: 700;
}

.party-size {
  color: #888276;
}

.status-pill {
  width: fit-content;
  padding: 5px 7px;
  border-radius: 999px;
  background: #ece8df;
  color: #656156;
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}

.status-pill.green {
  background: var(--green-soft);
  color: var(--green);
}

.status-pill.amber {
  background: var(--amber-soft);
  color: var(--amber);
}

.status-pill.red {
  background: #f4e0dd;
  color: var(--red);
}

.table-map {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 9px;
}

.floor-table {
  aspect-ratio: 1.08;
  padding: 7px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #f3efe7;
  font-size: 9px;
}

.floor-table strong {
  font-size: 12px;
}

.floor-table.early {
  background: #ece9e2;
}

.floor-table.late {
  border-color: #d9b76b;
  background: #faefd8;
}

.floor-table.checking {
  border-color: #81a693;
  background: #e6f0e9;
}

.floor-table.ready {
  border-color: #6e9b83;
  background: var(--green);
  color: white;
}

.floor-table.selected {
  box-shadow: 0 0 0 3px var(--red);
}

.selection-card {
  margin-top: 14px;
  padding: 16px;
  border-radius: 14px;
  background: var(--ink);
  color: white;
}

.selection-card h3 {
  margin-bottom: 5px;
}

.selection-card p {
  color: rgba(255, 255, 255, 0.63);
  font-size: 11px;
  line-height: 1.5;
}

.selection-facts {
  margin: 14px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.selection-fact {
  padding: 9px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
}

.selection-fact strong,
.selection-fact span {
  display: block;
}

.selection-fact strong {
  font-size: 14px;
}

.selection-fact span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 8px;
}

.kitchen-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 18px;
}

.station-list {
  display: grid;
  gap: 14px;
}

.station-row {
  display: grid;
  grid-template-columns: 96px 1fr 40px;
  gap: 10px;
  align-items: center;
  font-size: 11px;
}

.station-row strong {
  text-align: right;
}

.station-track {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--cream-deep);
}

.station-fill {
  height: 100%;
  border-radius: inherit;
  background: var(--green);
}

.station-fill.warm {
  background: var(--amber);
}

.station-fill.hot {
  background: var(--red);
}

.ticket-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
}

.ticket-column-title {
  margin-bottom: 9px;
  display: flex;
  justify-content: space-between;
  color: #716c62;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ticket {
  margin-bottom: 9px;
  padding: 13px;
  border-radius: 13px;
  background: #fff;
}

.ticket.held {
  border-color: #d9ba77;
  background: #fff8e9;
}

.ticket.fired {
  border-color: #87ab98;
  background: #f1f7f3;
}

.ticket-head {
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: start;
}

.ticket-head strong {
  font-size: 12px;
}

.ticket-time {
  color: #7d786d;
  font-size: 9px;
}

.ticket-items {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ticket-items li {
  padding: 4px 0;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: #57544c;
  font-size: 10px;
}

.future-demand {
  margin-top: 16px;
  padding: 15px;
  border-radius: 14px;
  background: #ece6db;
}

.future-demand strong {
  display: block;
  margin-bottom: 6px;
}

.future-demand p {
  margin: 0;
  color: #6f6b61;
  font-size: 11px;
  line-height: 1.5;
}

.case-hero {
  padding: clamp(28px, 5vw, 60px);
  overflow: hidden;
  position: relative;
  border-radius: 34px;
  background: var(--ink);
  color: white;
}

.case-hero::after {
  content: "20";
  position: absolute;
  right: -10px;
  bottom: -105px;
  color: rgba(255, 255, 255, 0.045);
  font-family: Manrope, sans-serif;
  font-size: clamp(230px, 34vw, 470px);
  font-weight: 700;
  letter-spacing: -0.12em;
}

.case-hero > * {
  position: relative;
  z-index: 1;
}

.case-hero h1 {
  max-width: 930px;
}

.case-hero .lede {
  color: rgba(255, 255, 255, 0.67);
}

.case-stat-row {
  max-width: 780px;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.case-stat {
  padding: 18px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.08);
}

.case-stat strong {
  display: block;
  font-family: Manrope, sans-serif;
  font-size: 30px;
  letter-spacing: -0.05em;
}

.case-stat span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
}

.case-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.case-card {
  padding: clamp(23px, 4vw, 38px);
  border-radius: 24px;
}

.case-card.wide {
  grid-column: 1 / -1;
}

.case-card h2 {
  margin-bottom: 13px;
  font-size: 29px;
}

.flow-comparison {
  display: grid;
  gap: 8px;
}

.flow-row {
  padding: 12px;
  display: grid;
  grid-template-columns: 85px 1fr auto;
  gap: 12px;
  align-items: center;
  border-radius: 11px;
  background: #f1ede5;
  font-size: 11px;
}

.flow-row.proposed {
  background: var(--green-soft);
}

.flow-row strong {
  color: var(--red);
}

.flow-row.proposed strong {
  color: var(--green);
}

.roi-layout {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 34px;
  align-items: center;
}

.range-row {
  margin-bottom: 18px;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--red);
}

.roi-result {
  padding: 26px;
  border-radius: 20px;
  background: var(--gold-light);
}

.roi-big {
  margin-bottom: 8px;
  font-family: Manrope, sans-serif;
  font-size: clamp(46px, 7vw, 78px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.07em;
}

.roi-sub {
  color: #6f6550;
  font-size: 12px;
  line-height: 1.5;
}

.stack-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.stack-item {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.stack-item span,
.stack-item strong {
  display: block;
}

.stack-item span {
  margin-bottom: 4px;
  color: #898378;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stack-item strong {
  font-size: 12px;
}

body.modal-open {
  overflow: hidden;
}

.superset-banner {
  margin: 20px 0 14px;
  padding: 19px;
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) minmax(205px, 0.8fr) minmax(205px, 0.8fr);
  gap: 13px;
  border: 1px solid rgba(184, 155, 94, 0.35);
  border-radius: 19px;
  background:
    radial-gradient(circle at 0 0, rgba(184, 155, 94, 0.16), transparent 34%),
    var(--ink);
  color: #fff;
  box-shadow: 0 18px 45px rgba(23, 23, 19, 0.12);
}

.superset-copy {
  padding: 5px 12px 5px 4px;
}

.superset-label {
  color: #d7bc82;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.superset-copy h2 {
  max-width: 580px;
  margin: 7px 0 8px;
  color: #fff;
  font-size: clamp(20px, 2.3vw, 31px);
  line-height: 1.08;
}

.superset-copy p {
  max-width: 610px;
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 9px;
  line-height: 1.45;
}

.capability-stack {
  padding: 14px;
  display: grid;
  align-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
}

.capability-stack strong {
  margin-bottom: 2px;
  color: #d7bc82;
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.capability-stack span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 9px;
  line-height: 1.4;
}

.added-capabilities {
  border-color: rgba(89, 137, 111, 0.46);
  background: rgba(89, 137, 111, 0.13);
}

.added-capabilities strong {
  color: #a9d2b9;
}

.menu-catalog-proof {
  margin: 9px 0 0;
  color: #746f64;
  font-size: 12px;
}

.empty-search {
  min-height: 280px;
  padding: 40px;
  display: grid;
  place-items: center;
  align-content: center;
  color: #8a8479;
  text-align: center;
}

.empty-search[hidden] {
  display: none;
}

.empty-search span {
  margin-bottom: 6px;
  font-size: 40px;
}

.empty-search strong {
  color: var(--ink);
}

.empty-search p {
  margin: 5px 0 0;
  font-size: 11px;
}

.menu-toolbar {
  margin-bottom: 10px;
  padding: 10px;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  position: sticky;
  top: 102px;
  z-index: 25;
  border-radius: 17px;
  backdrop-filter: blur(18px);
}

.menu-search {
  min-height: 43px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.menu-search > span {
  color: #797469;
  font-size: 20px;
}

.menu-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--ink);
}

.menu-search kbd {
  padding: 3px 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #8a8478;
  font-size: 9px;
  font-family: inherit;
}

.language-switch {
  padding: 3px;
  display: flex;
  border-radius: 10px;
  background: var(--cream-deep);
}

.language-switch button {
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #706b61;
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
}

.language-switch button.active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 3px 10px rgba(23, 23, 19, 0.08);
}

.collab-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #69655b;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.collab-chip button {
  border: 0;
  background: transparent;
  color: var(--red);
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
}

.avatar-stack {
  display: inline-flex;
  align-items: center;
}

.avatar-stack i {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-style: normal;
  font-size: 9px;
  font-weight: 800;
}

.avatar-stack i + i {
  margin-left: -7px;
  background: var(--green);
  color: #fff;
}

.filter-tabs {
  margin: 11px 0 8px;
  padding-bottom: 3px;
  display: flex;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: none;
}

.filter-tabs::-webkit-scrollbar {
  display: none;
}

.category-chinese {
  margin-top: 4px;
  color: #8b8579;
  font-family: "Noto Serif SC", serif;
  font-size: 11px;
}

.menu-card {
  cursor: pointer;
}

.menu-card:focus-visible {
  outline: 3px solid rgba(168, 45, 36, 0.35);
  outline-offset: 2px;
}

.menu-card.unavailable .menu-image {
  filter: grayscale(0.72);
  opacity: 0.5;
}

.menu-card.unavailable .menu-card-content {
  opacity: 0.68;
}

.menu-placeholder {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  background:
    radial-gradient(circle at 50% 40%, rgba(184, 155, 94, 0.18), transparent 45%),
    #ece7dd;
  color: #9a8557;
}

.menu-placeholder span {
  font-family: "Noto Serif SC", serif;
  font-size: 30px;
}

.menu-placeholder small {
  color: #948e82;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tag.sold-out {
  background: #eeeae3;
  color: #716c62;
}

.tag.neutral {
  background: #ece9e2;
  color: #645f56;
}

.chinese-name.primary {
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}

.item-description {
  margin: 0 0 8px;
  display: -webkit-box;
  overflow: hidden;
  color: #777166;
  font-size: 10px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.option-count {
  margin-top: auto;
  margin-bottom: 8px;
  color: var(--red);
  font-size: 9px;
  font-weight: 700;
}

.add-button.has-options {
  width: 39px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.add-button:disabled {
  cursor: not-allowed;
  background: #aaa59b;
}

.cart-line-copy {
  min-width: 0;
  flex: 1;
}

button.cart-line-name {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  text-decoration: underline;
  text-decoration-color: rgba(23, 23, 19, 0.2);
  text-underline-offset: 3px;
}

.cart-line-options,
.cart-line-by {
  max-width: 190px;
  margin-top: 3px;
  color: #8a8479;
  font-size: 9px;
  line-height: 1.35;
}

.cart-line-by {
  color: var(--green);
}

.share-cart-button {
  width: 100%;
  margin-top: 10px;
  padding: 10px;
  border: 1px dashed rgba(23, 23, 19, 0.22);
  border-radius: 10px;
  background: transparent;
  color: var(--red);
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
}

.order-summary-list small {
  margin-top: 3px;
  display: block;
  color: #8a8479;
  font-size: 9px;
  font-weight: 400;
}

.checkout-benefits {
  margin: 16px 0;
  display: grid;
  gap: 8px;
}

.checkout-benefits > div {
  padding: 12px;
  display: grid;
  grid-template-columns: 28px 1fr auto;
  column-gap: 9px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.checkout-benefits > div > span {
  grid-row: span 2;
  font-size: 19px;
}

.checkout-benefits strong,
.checkout-benefits small {
  display: block;
}

.checkout-benefits strong {
  font-size: 11px;
}

.checkout-benefits small {
  color: #858075;
  font-size: 9px;
}

.checkout-benefits button {
  grid-row: 1 / span 2;
  grid-column: 3;
  border: 0;
  background: transparent;
  color: var(--red);
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
}

.payment-sheet {
  width: min(620px, calc(100vw - 28px));
  max-height: min(820px, calc(100vh - 28px));
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 91;
  overflow: hidden;
  border-radius: 26px;
  background: var(--paper);
  box-shadow: 0 35px 110px rgba(0, 0, 0, 0.38);
  transform: translate(-50%, -50%);
}

.payment-sheet-head {
  padding: 32px 32px 20px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 100% 0, rgba(184, 155, 94, 0.2), transparent 35%),
    #f7f3eb;
}

.payment-sheet-head h2 {
  margin: 4px 0 4px;
  font-size: 32px;
}

.payment-sheet-head > p:not(.eyebrow) {
  max-width: 400px;
  margin: 0;
  color: #756f64;
  font-size: 11px;
}

.check-total {
  margin-top: 17px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.check-total span {
  color: #817b70;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.check-total strong {
  font-size: 24px;
}

.payment-sheet-body {
  min-height: 0;
  padding: 21px 32px;
  overflow-y: auto;
}

.split-tabs {
  padding: 4px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-radius: 12px;
  background: var(--cream-deep);
}

.split-tabs button,
.tip-selector button {
  padding: 9px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #756f64;
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
}

.split-tabs button.active,
.tip-selector button.active {
  background: #fff;
  color: var(--red);
  box-shadow: 0 3px 10px rgba(23, 23, 19, 0.08);
}

.pay-person-list,
.pay-item-list {
  margin: 15px 0;
  display: grid;
  gap: 7px;
}

.pay-person,
.pay-item-list label,
.equal-share-card {
  width: 100%;
  min-height: 62px;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  text-align: left;
}

.pay-person {
  cursor: pointer;
}

.pay-person.selected {
  border-color: var(--red);
  box-shadow: 0 0 0 2px rgba(168, 45, 36, 0.09);
}

.pay-avatar,
.equal-share-card > span {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold-light);
  color: #7b622f;
  font-size: 11px;
  font-weight: 800;
}

.pay-person strong,
.pay-person small,
.pay-item-list strong,
.pay-item-list small,
.equal-share-card strong,
.equal-share-card small {
  display: block;
}

.pay-person strong,
.pay-item-list strong,
.equal-share-card strong {
  font-size: 10px;
}

.pay-person small,
.pay-item-list small,
.equal-share-card small {
  margin-top: 2px;
  color: #8a8479;
  font-size: 8px;
}

.pay-person b,
.pay-item-list b,
.equal-share-card b {
  font-size: 11px;
}

.pay-item-list input {
  accent-color: var(--red);
}

.equal-share-card {
  margin: 15px 0;
}

.tip-selector {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.tip-selector > span {
  color: #5e5a52;
  font-size: 10px;
  font-weight: 800;
}

.tip-selector > div {
  padding: 3px;
  display: flex;
  border-radius: 10px;
  background: var(--cream-deep);
}

.pay-breakdown {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.pay-breakdown > div {
  padding: 4px 0;
  display: flex;
  justify-content: space-between;
  color: #777166;
  font-size: 10px;
}

.pay-breakdown .grand {
  padding-top: 10px;
  color: var(--ink);
  font-size: 13px;
}

.payment-sheet-footer {
  padding: 15px 32px 20px;
  border-top: 1px solid var(--line);
  background: #fffdfa;
}

.payment-sheet-footer p {
  margin: 8px 0 0;
  color: #928c81;
  font-size: 8px;
  text-align: center;
}

.comparison-note {
  margin: -2px 0 18px;
  color: #777166;
  font-size: 10px;
  line-height: 1.5;
}

.capability-table {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.capability-row {
  min-height: 48px;
  padding: 10px 13px;
  display: grid;
  grid-template-columns: minmax(190px, 1.05fr) minmax(180px, 1fr) minmax(180px, 1fr);
  gap: 15px;
  align-items: center;
  border-top: 1px solid var(--line);
  background: #fff;
  font-size: 10px;
}

.capability-row:first-child {
  border-top: 0;
}

.capability-row > span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 700;
}

.capability-row i {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold-light);
  color: #80652c;
  font-style: normal;
  font-size: 9px;
}

.capability-row > span:nth-child(2) {
  color: #7a756b;
}

.capability-row > strong:last-child {
  color: var(--green);
}

.capability-head {
  min-height: 37px;
  background: var(--cream-deep);
  color: #756f64;
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(14, 13, 11, 0.64);
  backdrop-filter: blur(5px);
}

.item-sheet {
  width: min(960px, calc(100vw - 32px));
  max-height: min(780px, calc(100vh - 32px));
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(380px, 1.1fr);
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 91;
  overflow: hidden;
  border-radius: 28px;
  background: var(--paper);
  box-shadow: 0 35px 110px rgba(0, 0, 0, 0.38);
  transform: translate(-50%, -50%);
}

.sheet-close {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  border: 1px solid rgba(23, 23, 19, 0.12);
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.92);
  cursor: pointer;
  font-size: 22px;
}

.sheet-media {
  min-height: 0;
  position: relative;
  background: #ece7dd;
}

.sheet-media > img,
.sheet-media > .menu-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  object-fit: cover;
}

.sheet-operational {
  min-width: 150px;
  padding: 13px;
  position: absolute;
  right: 15px;
  bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 13px;
  background: rgba(19, 18, 15, 0.8);
  color: #fff;
  backdrop-filter: blur(12px);
}

.sheet-operational span,
.sheet-operational strong,
.sheet-operational small {
  display: block;
}

.sheet-operational span {
  color: var(--gold-light);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sheet-operational strong {
  margin: 3px 0;
}

.sheet-operational small {
  color: rgba(255, 255, 255, 0.65);
  font-size: 9px;
}

.sheet-content {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: 1fr auto;
}

.sheet-scroll {
  min-height: 0;
  padding: 36px 36px 24px;
  overflow-y: auto;
}

.sheet-scroll h2 {
  margin-bottom: 5px;
}

.sheet-chinese {
  margin-bottom: 13px;
  color: #777166;
  font-family: "Noto Serif SC", serif;
}

.sheet-description {
  color: #676259;
  font-size: 13px;
  line-height: 1.55;
}

.detail-chips {
  margin: 14px 0 23px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.option-group {
  margin: 0 0 18px;
  padding: 0;
  border: 0;
}

.option-group legend,
.special-note-label {
  width: 100%;
  margin-bottom: 9px;
  display: flex;
  justify-content: space-between;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.option-group legend span,
.special-note-label span {
  color: #8a8478;
  font-size: 9px;
  font-weight: 600;
}

.option-row {
  min-height: 50px;
  padding: 10px 11px;
  display: grid;
  grid-template-columns: 20px 1fr auto;
  gap: 9px;
  align-items: center;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}

.option-row:first-of-type {
  border-radius: 11px 11px 0 0;
}

.option-row:last-of-type {
  border-radius: 0 0 11px 11px;
}

.option-row + .option-row {
  border-top: 0;
}

.option-row input {
  accent-color: var(--red);
}

.option-row span,
.option-row strong,
.option-row small {
  display: block;
}

.option-row strong {
  font-size: 10px;
}

.option-row small {
  margin-top: 2px;
  color: #8a8479;
  font-family: "Noto Serif SC", serif;
  font-size: 9px;
}

.option-row b {
  font-size: 10px;
}

.modifier-options.many {
  max-height: 275px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 11px;
}

.modifier-options.many .option-row {
  border-right: 0;
  border-left: 0;
  border-radius: 0;
}

.modifier-options.many .option-row:first-child {
  border-top: 0;
}

.modifier-options.many .option-row:last-child {
  border-bottom: 0;
}

.option-group textarea {
  width: 100%;
  min-height: 82px;
  padding: 12px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 11px;
  outline: none;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
}

.option-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 155, 94, 0.15);
}

.allergen-warning {
  margin: 7px 0 0;
  color: #8a6c3a;
  font-size: 9px;
  line-height: 1.45;
}

.added-by {
  padding: 10px 0 0;
  display: flex;
  align-items: center;
  gap: 9px;
  border-top: 1px solid var(--line);
  color: #777166;
  font-size: 10px;
  font-weight: 700;
}

.added-by select {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  font-size: 10px;
}

.seated-service-grid {
  margin: 18px 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
}

.seated-service-grid button {
  min-height: 120px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--paper);
  cursor: pointer;
}

.seated-service-grid button > span {
  width: 32px;
  height: 32px;
  margin-bottom: 4px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold-light);
  color: #7d632c;
}

.seated-service-grid strong,
.seated-service-grid small {
  display: block;
}

.seated-service-grid strong {
  font-size: 11px;
}

.seated-service-grid small {
  color: #8a8479;
  font-size: 8px;
}

.sheet-footer {
  padding: 13px 16px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  border-top: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.96);
}

.sheet-quantity {
  min-width: 115px;
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  text-align: center;
}

.sheet-quantity button {
  height: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
}

.sheet-quantity strong {
  font-size: 12px;
}

.sheet-add {
  width: 100%;
}

.site-footer {
  min-height: 53px;
  padding: 14px clamp(18px, 4vw, 64px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--line);
  color: #827d72;
  font-size: 10px;
}

.toast {
  max-width: calc(100vw - 32px);
  padding: 12px 17px;
  position: fixed;
  left: 50%;
  bottom: 25px;
  z-index: 100;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  box-shadow: var(--shadow);
  font-size: 12px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .location-chip {
    display: none;
  }

  .menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .host-layout,
  .kitchen-layout {
    grid-template-columns: 1fr;
  }

  .stack-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .menu-toolbar {
    grid-template-columns: 1fr auto;
  }

  .collab-chip {
    grid-column: 1 / -1;
  }

  .superset-banner {
    grid-template-columns: 1fr 1fr;
  }

  .superset-copy {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .prototype-ribbon {
    justify-content: flex-start;
    overflow: hidden;
  }

  .site-header {
    min-height: auto;
    padding: 11px 16px 9px;
    display: block;
  }

  .brand img {
    width: 127px;
  }

  .brand span {
    font-size: 10px;
  }

  .view-switcher {
    width: 100%;
    margin-top: 10px;
    justify-content: stretch;
    overflow-x: auto;
    border-radius: 14px;
  }

  .view-switcher button {
    flex: 1 0 auto;
    padding: 8px 10px;
  }

  .hero-grid,
  .queue-top,
  .checkout-layout,
  .case-grid,
  .roi-layout {
    grid-template-columns: 1fr;
  }

  .hero-card {
    min-height: 480px;
    order: -1;
  }

  .hero-stat-row {
    grid-template-columns: 1fr 1fr;
  }

  .hero-stat:last-child {
    grid-column: 1 / -1;
  }

  .how-row {
    grid-template-columns: 1fr;
  }

  .menu-layout {
    display: block;
  }

  .cart-panel {
    display: none;
  }

  .menu-toolbar {
    top: 118px;
  }

  .item-sheet {
    width: min(660px, calc(100vw - 24px));
    max-height: calc(100vh - 24px);
    grid-template-columns: 1fr;
    grid-template-rows: 230px minmax(0, 1fr);
  }

  .sheet-media > img {
    object-position: center 46%;
  }

  .sheet-content {
    min-height: 0;
  }

  .cart-mobile-bar {
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    right: 12px;
    bottom: 14px;
    left: 12px;
    z-index: 50;
    border-radius: 16px;
    background: var(--ink);
    color: white;
    box-shadow: 0 16px 40px rgba(23, 23, 19, 0.3);
  }

  .cart-mobile-bar .button {
    min-height: 38px;
    padding: 8px 15px;
    background: var(--gold);
    color: var(--ink);
    box-shadow: none;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-card.wide {
    grid-column: auto;
  }

  .ticket-columns {
    grid-template-columns: 1fr;
  }

  .case-stat-row {
    grid-template-columns: 1fr;
  }

  .capability-table {
    overflow-x: auto;
  }

  .capability-row {
    min-width: 680px;
  }
}

@media (max-width: 600px) {
  .prototype-copy {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
  }

  .page-shell {
    padding-top: 28px;
    padding-bottom: 70px;
  }

  .hero-card {
    min-height: 405px;
    padding: 18px;
    border-radius: 24px;
    background-position: 42% center;
  }

  .wait-card {
    padding: 16px;
  }

  .wait-time {
    font-size: 40px;
  }

  .field-grid,
  .metrics-grid,
  .stack-list {
    grid-template-columns: 1fr;
  }

  .queue-status,
  .preorder-pitch {
    min-height: 275px;
    border-radius: 21px;
  }

  .menu-header {
    display: block;
  }

  .menu-header .wait-badge {
    width: fit-content;
    margin-top: 13px;
  }

  .menu-header .button-row {
    align-items: flex-start;
  }

  .superset-banner {
    padding: 14px;
    grid-template-columns: 1fr;
  }

  .superset-copy {
    grid-column: auto;
    padding: 3px;
  }

  .capability-stack {
    padding: 12px;
  }

  .menu-toolbar {
    padding: 8px;
    display: flex;
    flex-wrap: wrap;
    top: 118px;
  }

  .menu-search {
    width: 100%;
  }

  .language-switch {
    flex: 1;
  }

  .language-switch button {
    flex: 1;
  }

  .collab-chip {
    width: 100%;
    justify-content: space-between;
  }

  .menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .menu-card-content {
    min-height: 190px;
    padding: 12px;
  }

  .item-meta {
    min-height: 52px;
  }

  .menu-card h3 {
    font-size: 12px;
  }

  .menu-image {
    aspect-ratio: 1;
  }

  .item-sheet {
    width: 100vw;
    max-height: calc(100vh - 10px);
    top: auto;
    bottom: 0;
    left: 0;
    grid-template-rows: 190px minmax(0, 1fr);
    border-radius: 24px 24px 0 0;
    transform: none;
  }

  .payment-sheet {
    width: 100vw;
    max-height: calc(100vh - 10px);
    top: auto;
    bottom: 0;
    left: 0;
    border-radius: 24px 24px 0 0;
    transform: none;
  }

  .payment-sheet-head,
  .payment-sheet-body,
  .payment-sheet-footer {
    padding-right: 19px;
    padding-left: 19px;
  }

  .payment-sheet-head {
    padding-top: 25px;
  }

  .tip-selector {
    display: block;
  }

  .tip-selector > div {
    margin-top: 8px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }

  .sheet-scroll {
    padding: 27px 19px 20px;
  }

  .sheet-operational {
    right: auto;
    bottom: 10px;
    left: 10px;
  }

  .sheet-footer {
    padding-bottom: calc(13px + env(safe-area-inset-bottom));
  }

  .sheet-quantity {
    min-width: 105px;
  }

  .seated-service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .order-timeline {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .order-timeline::before {
    width: 2px;
    height: auto;
    top: 12px;
    bottom: 12px;
    left: 13px;
    right: auto;
  }

  .timeline-step {
    min-height: 29px;
    padding-left: 40px;
    text-align: left;
  }

  .timeline-dot {
    margin: 0;
    position: absolute;
    left: 0;
  }

  .ops-header {
    display: block;
  }

  .clock {
    margin-top: 10px;
    text-align: left;
  }

  .host-layout {
    display: block;
  }

  .host-layout .panel {
    margin-bottom: 14px;
    overflow-x: auto;
  }

  .queue-table {
    min-width: 580px;
  }

  .table-map {
    grid-template-columns: repeat(4, 1fr);
  }

  .selection-facts {
    grid-template-columns: 1fr;
  }

  .flow-row {
    grid-template-columns: 70px 1fr;
  }

  .flow-row span:last-child {
    grid-column: 2;
  }

  .site-footer {
    display: block;
    text-align: center;
  }

  .site-footer .text-button {
    margin-top: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
