/* Cua Ngon — one product family across the hub, customer site, branch portal and owner HQ.
   Layout concept: white pages and white cards. Red carries the brand and the main actions,
   green means open / paid / done, yellow flags offers and anything that needs attention.
   Light only: the owner can lay a photo behind the customer site, so every page is built on white. */
:root {
  color-scheme: light;
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --surface-2: #F6F5F3;
  --surface-3: #ECEAE6;
  --ink: #1C1B1A;
  --ink-2: #4A4744;
  --ink-3: #736F6A;
  --line: #E8E5E0;
  --line-2: #D4D0C9;
  --brand: #C8102E;
  --brand-hover: #A50D26;
  --brand-ink: #FFFFFF;
  --brand-text: #B30E29;
  --brand-soft: #FDECEE;
  --accent: #FFC20E;
  --accent-on: #3D2E00;
  --accent-soft: #FFF6D6;
  --accent-ink: #7A5A00;
  --sale: #C8102E;
  --sale-soft: #FDECEE;
  --ok: #1E7B3C;
  --ok-soft: #E3F1E7;
  --warn: #8A6100;
  --warn-soft: #FFF4D1;
  --danger: #9B1C1C;
  --danger-soft: #FBE9E9;
  --info: #4A4744;
  --info-soft: #F3F2EF;
  --ring: #1E7B3C;
  --ring-soft: #DCEFE2;
  --chart: #1E7B3C;
  --chart-hover: #145A2B;
  --thumb: #FFFFFF;
  --nav-bg: #F8F6F4;
  --nav-ink: #1C1B1A;
  --nav-ink-2: #5F5B57;
  --nav-line: #E8E5E0;
  --nav-hover: #EFECE8;
  --nav-active: #FDECEE;
  --nav-accent: #C8102E;
  --hero-bg: #C8102E;
  --hero-ink: #FFFFFF;
  --hero-ink-2: rgba(255, 255, 255, .86);
  --hero-line: rgba(255, 255, 255, .2);
  --hero-accent: #FFC20E;
  --proto-bg: #1C1B1A;
  --proto-ink: #FFFFFF;
  --proto-ink-2: #C9C4BE;
  --proto-hover: rgba(255, 255, 255, .08);
  --proto-active: rgba(255, 194, 14, .22);
  --proto-accent: #FFC20E;
  --shadow-sm: 0 1px 2px rgba(28, 27, 26, .06);
  --shadow: 0 1px 2px rgba(28, 27, 26, .05), 0 10px 28px rgba(28, 27, 26, .08);
  --shadow-lg: 0 24px 64px rgba(28, 27, 26, .22);
  --overlay: rgba(28, 27, 26, .48);
  --focus: #1E7B3C;
  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --font-ui: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --r-sm: 6px;
  --r: 10px;
  --r-lg: 16px;
  --r-xl: 22px;
  /* food illustration palette */
  --art-broth: #F2D59C; --art-noodle: #FFF9EC; --art-meat: #B66A58; --art-herb: #4E9A4B; --art-herb-2: #93C78B;
  --art-chili: #D8452F; --art-sticks: #8B6A47; --art-plate: #FFFFFF; --art-rice: #FBF6EA; --art-grill: #9C4F2B;
  --art-egg: #FFFDF6; --art-yolk: #F2B33D; --art-crust: #D9994C; --art-crust-dark: #A9692B; --art-carrot: #E98A4F;
  --art-paper: #F6F0E2; --art-shrimp: #EE8B6E; --art-sauce: #8C4A2F; --art-coffee: #5B3A26; --art-crema: #D9B48A;
  --art-glass: rgba(255, 255, 255, .85); --art-ice: rgba(255, 255, 255, .8); --art-straw: #2E7D5B; --art-citrus: #F4B740;
  --art-cream: #FFF7EA; --art-caramel: #9C5A1E; --art-ring: rgba(20, 33, 27, .08);
}
/* ---------- base ---------- */
* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-ui); font-size: 15px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; text-wrap: balance; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--brand-text); }
button, input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.num { font-variant-numeric: tabular-nums; }
.display { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.015em; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.muted { color: var(--ink-3); }
.ink-2 { color: var(--ink-2); }
.small { font-size: 13px; }
.tiny { font-size: 12px; }
.strong { font-weight: 700; }
.nowrap { white-space: nowrap; }
.right { text-align: right; }
.row { display: flex; align-items: center; gap: 10px; min-width: 0; }
.row-wrap { flex-wrap: wrap; }
.row-between { justify-content: space-between; }
.stack { display: grid; gap: 12px; min-width: 0; }
.stack-sm { display: grid; gap: 6px; min-width: 0; }
.stack-lg { display: grid; gap: 20px; min-width: 0; }
.grow { flex: 1; min-width: 0; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { flex: none; }
.divider { height: 1px; background: var(--line); border: 0; margin: 4px 0; }
.or { display: flex; align-items: center; gap: 12px; color: var(--ink-3); font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 16px; border-radius: var(--r); border: 1px solid transparent;
  font-weight: 600; font-size: 14px; line-height: 1; cursor: pointer; white-space: nowrap; text-decoration: none;
  transition: background .15s, border-color .15s, color .15s, transform .05s;
}
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover:not(:disabled) { background: var(--brand-hover); }
.btn-secondary { background: var(--surface); border-color: var(--line-2); color: var(--ink); }
.btn-secondary:hover:not(:disabled) { background: var(--surface-2); }
.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover:not(:disabled) { background: var(--surface-2); color: var(--ink); }
.btn-danger { background: var(--danger-soft); color: var(--danger); }
.btn-danger:hover:not(:disabled) { border-color: var(--danger); }
.btn-accent { background: var(--accent); color: var(--accent-on); }
.btn-accent:hover:not(:disabled) { filter: brightness(1.04); }
.btn-sm { height: 32px; padding: 0 12px; font-size: 13px; border-radius: 8px; gap: 6px; }
.btn-lg { height: 50px; padding: 0 22px; font-size: 15.5px; border-radius: 12px; }
.btn-block { width: 100%; }
/* Long labels wrap on narrow phones instead of pushing the page sideways. */
@media (max-width: 480px) { .btn-lg, .btn-block:not(.btn-sm) { height: auto; min-height: 48px; white-space: normal; line-height: 1.25; padding-block: 10px; text-align: center; } }
.icon-btn { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; border: 0; background: transparent; color: var(--ink-2); cursor: pointer; flex: none; }
.icon-btn:hover { background: var(--surface-2); color: var(--ink); }
.link-btn { background: none; border: 0; padding: 0; color: var(--brand-text); font-weight: 600; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; font-size: inherit; text-decoration: none; }
.link-btn:hover { text-decoration: underline; text-underline-offset: 3px; }
.copy-btn { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 9px; border-radius: 7px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); font-size: 12px; font-weight: 600; cursor: pointer; }
.copy-btn:hover { color: var(--ink); background: var(--surface-2); }

/* ---------- form controls ---------- */
.input, .select, .textarea {
  width: 100%; height: 42px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--r);
  background: var(--surface); color: var(--ink); transition: border-color .15s, box-shadow .15s; min-width: 0;
}
.textarea { height: auto; min-height: 84px; padding: 10px 12px; resize: vertical; line-height: 1.45; }
.input::placeholder, .textarea::placeholder { color: var(--ink-3); opacity: .85; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ring); box-shadow: 0 0 0 3px var(--ring-soft); }
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--danger); }
.input-sm { height: 34px; font-size: 13.5px; padding: 0 10px; border-radius: 8px; }
.select-wrap { position: relative; min-width: 0; }
.select-wrap .select { appearance: none; -webkit-appearance: none; padding-right: 34px; cursor: pointer; }
.select-wrap .ic { position: absolute; right: 11px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--ink-3); }
.input-affix { position: relative; min-width: 0; }
.input-affix .input { padding-right: 46px; }
.input-affix .affix { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--ink-3); font-size: 13px; pointer-events: none; }
.input-icon { position: relative; min-width: 0; }
.input-icon .ic { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; }
.input-icon .input { padding-left: 38px; }
.field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.field-label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field-label .field-opt { font-weight: 400; color: var(--ink-3); }
.field-hint { font-size: 12.5px; color: var(--ink-3); }
.field-error { font-size: 12.5px; color: var(--danger); font-weight: 500; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 720px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 14px; }
.check input { margin: 3px 0 0; width: 16px; height: 16px; accent-color: var(--brand); flex: none; }

.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; position: relative; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch-track { width: 38px; height: 22px; border-radius: 99px; background: var(--line-2); position: relative; transition: background .15s; flex: none; }
.switch-thumb { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--thumb); box-shadow: 0 1px 2px rgba(0, 0, 0, .25); transition: transform .15s; }
.switch input:checked + .switch-track { background: var(--ok); }
.switch input:checked + .switch-track .switch-thumb { transform: translateX(16px); }
.switch input:focus-visible + .switch-track { outline: 2px solid var(--focus); outline-offset: 2px; }
.switch input:disabled + .switch-track { opacity: .45; }
.switch-label { font-size: 14px; }

.seg { display: inline-flex; padding: 3px; background: var(--surface-2); border-radius: 11px; gap: 3px; max-width: 100%; overflow-x: auto; }
.seg-opt { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 34px; padding: 0 14px; border: 0; border-radius: 8px; background: transparent; color: var(--ink-2); font-weight: 600; font-size: 13.5px; cursor: pointer; white-space: nowrap; }
.seg-opt:hover:not(:disabled):not(.on) { color: var(--ink); }
.seg-opt.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.seg-opt:disabled { opacity: .45; cursor: not-allowed; }
.seg-block { display: flex; width: 100%; }
.seg-block .seg-opt { flex: 1; }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 99px; height: 34px; background: var(--surface); flex: none; }
.qty button { width: 32px; height: 32px; border: 0; background: transparent; display: grid; place-items: center; color: var(--ink-2); cursor: pointer; border-radius: 50%; }
.qty button:hover:not(:disabled) { color: var(--ink); background: var(--surface-2); }
.qty button:disabled { opacity: .35; cursor: default; }
.qty span { min-width: 22px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; font-size: 14px; }
.qty-sm { height: 28px; } .qty-sm button { width: 26px; height: 26px; } .qty-sm span { font-size: 13px; }

/* ---------- badges, notices ---------- */
.badge { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 99px; font-size: 12px; font-weight: 600; white-space: nowrap; background: var(--surface-2); color: var(--ink-2); line-height: 1; }
.badge-ok { background: var(--ok-soft); color: var(--ok); }
.badge-warn { background: var(--warn-soft); color: var(--warn); }
.badge-danger { background: var(--danger-soft); color: var(--danger); }
.badge-info { background: var(--info-soft); color: var(--info); }
.badge-brand { background: var(--brand-soft); color: var(--brand-text); }
.badge-accent { background: var(--accent-soft); color: var(--accent-ink); }
.badge-sale { background: var(--sale-soft); color: var(--sale); }
.badge-outline { background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); }
.badge-lg { height: 28px; padding: 0 12px; font-size: 13px; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 var(--ok); animation: live 2s infinite; flex: none; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(30, 123, 60, .45); } 70% { box-shadow: 0 0 0 7px rgba(30, 123, 60, 0); } 100% { box-shadow: 0 0 0 0 rgba(30, 123, 60, 0); } }

.notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; font-size: 14px; background: var(--surface-2); color: var(--ink-2); line-height: 1.45; }
.notice > .ic { margin-top: 1px; }
.notice strong { color: var(--ink); }
.notice-info { background: var(--info-soft); color: var(--ink-2); } .notice-info > .ic { color: var(--info); }
.notice-warn { background: var(--warn-soft); color: var(--ink-2); } .notice-warn > .ic { color: var(--warn); }
.notice-danger { background: var(--danger-soft); color: var(--ink-2); } .notice-danger > .ic { color: var(--danger); }
.notice-ok { background: var(--ok-soft); color: var(--ink-2); } .notice-ok > .ic { color: var(--ok); }
.notice-brand { background: var(--ok-soft); color: var(--ink-2); } .notice-brand > .ic { color: var(--ok); }
.notice .notice-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }

/* ---------- surfaces ---------- */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); min-width: 0; }
.panel-pad { padding: 20px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.panel-title { font-size: 15.5px; font-weight: 700; }
.panel-body { padding: 18px 20px; }
.kv { display: grid; grid-template-columns: minmax(110px, auto) minmax(0, 1fr); gap: 10px 16px; font-size: 14px; align-items: center; }
.kv dt { color: var(--ink-3); }
.kv dd { margin: 0; font-weight: 600; min-width: 0; overflow-wrap: anywhere; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.list-rows > * + * { border-top: 1px solid var(--line); }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 11.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); padding: 11px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tbody tr:last-child td { border-bottom: 0; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table tr.click { cursor: pointer; }
.table tr.click:hover td { background: var(--surface-2); }
.table tr.group td { background: var(--surface-2); font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); padding-block: 8px; }

/* ---------- overlay: modal, drawer, toasts ---------- */
.overlay { position: fixed; inset: 0; background: var(--overlay); z-index: 70; display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); animation: fade .15s ease-out; }
.modal { width: 100%; max-width: 520px; max-height: calc(100dvh - 32px); display: flex; flex-direction: column; background: var(--surface); border-radius: var(--r-xl); box-shadow: var(--shadow-lg); overflow: hidden; animation: pop .18s ease-out; }
.modal-sm { max-width: 420px; } .modal-lg { max-width: 760px; } .modal-xl { max-width: 1000px; }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 20px 22px 10px; }
.modal-title { font-size: 19px; font-weight: 700; }
.modal-sub { color: var(--ink-3); font-size: 13.5px; margin-top: 4px; }
.modal-body { padding: 8px 22px 22px; overflow: auto; min-height: 0; }
.modal-foot { display: flex; justify-content: flex-end; align-items: center; gap: 10px; padding: 14px 22px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.modal-foot .grow { flex: 1; }
.overlay-drawer { place-items: stretch end; padding: 0; }
.drawer { width: min(540px, 100%); height: 100%; background: var(--surface); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; animation: slide .2s ease-out; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); padding-right: env(safe-area-inset-right, 0px); }
.drawer .modal-body { flex: 1; }
@media (max-width: 640px) {
  .overlay:not(.overlay-drawer) { place-items: end stretch; padding: 0; }
  .modal { max-width: none; border-radius: 20px 20px 0 0; max-height: 94dvh; padding-bottom: env(safe-area-inset-bottom, 0px); }
  .modal-head, .modal-body, .modal-foot { padding-left: max(18px, env(safe-area-inset-left, 0px)); padding-right: max(18px, env(safe-area-inset-right, 0px)); }
}
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.985); } }
@keyframes slide { from { transform: translateX(28px); opacity: 0; } }
.toasts { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 90; display: grid; gap: 8px; width: min(440px, calc(100% - 32px)); pointer-events: none; }
.toast { display: flex; align-items: center; gap: 10px; background: var(--ink); color: var(--bg); padding: 12px 16px; border-radius: 12px; box-shadow: var(--shadow); font-size: 14px; font-weight: 500; animation: pop .2s ease-out; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }

/* ---------- empty, loading ---------- */
.empty { display: grid; justify-items: center; text-align: center; gap: 8px; padding: 40px 20px; color: var(--ink-2); }
.empty-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; color: var(--ink-3); margin-bottom: 4px; }
.empty h3 { font-size: 16px; color: var(--ink); }
.empty p { max-width: 44ch; font-size: 14px; color: var(--ink-3); }
.empty .row { margin-top: 8px; justify-content: center; flex-wrap: wrap; }
.boot { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 24px; }
.boot-mark { font-family: var(--font-display); font-style: italic; font-size: 44px; color: var(--brand-text); line-height: 1; }
.boot p { color: var(--ink-3); margin-top: 10px; font-size: 14px; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--brand-text); animation: spin .8s linear infinite; display: inline-block; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- brand bits ---------- */
.wordmark { display: inline-flex; align-items: baseline; gap: 6px; text-decoration: none; color: var(--brand-text); line-height: 1; white-space: nowrap; }
.wordmark b { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 28px; letter-spacing: -0.02em; }
.wordmark span { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.logo-link { display: inline-flex; align-items: center; text-decoration: none; min-width: 0; }
.wordmark-on-dark { color: var(--hero-ink); }
.wordmark-on-dark span { color: var(--hero-ink-2); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-width: 0; line-height: 1; }
.logo-img { display: block; width: auto; max-width: 200px; object-fit: contain; height: 36px; }
.logo-sm .logo-img { height: 28px; }
.logo-lg .logo-img { height: 46px; }
.logo-name { font-family: var(--font-display); font-weight: 600; font-size: 21px; letter-spacing: -0.01em; color: var(--ink); white-space: nowrap; }
.logo-suffix { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
.logo-on-dark .logo-img { background: #FFFFFF; padding: 5px 9px; border-radius: 10px; box-sizing: content-box; }
.logo-on-dark .logo-name { color: var(--hero-ink); }
.logo-on-dark .logo-suffix { color: var(--hero-ink-2); }
.side .logo-img { height: 30px; max-width: 150px; }
.side .logo-name { font-size: 18px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-text); font-weight: 700; font-size: 13px; flex: none; text-transform: uppercase; }

/* ---------- dish art ---------- */
.art { aspect-ratio: 1; max-width: 100%; flex: none; }
.art svg { width: 100%; height: 100%; display: block; }
.art .art-bg { fill: color-mix(in oklab, var(--tint, #E3A43A) 20%, var(--surface)); }

/* ---------- QR ---------- */
.qr-frame { position: relative; display: inline-grid; place-items: center; padding: 10px; background: #FFFFFF; border-radius: 16px; box-shadow: 0 0 0 1px var(--line); max-width: 100%; }
.qr-frame canvas { display: block; max-width: 100%; height: auto; }
.qr-stamp { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-8deg); background: #FFFFFF; color: #B42318; border: 2px solid #B42318; padding: 4px 10px; border-radius: 6px; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }

/* ---------- charts ---------- */
.chart { position: relative; width: 100%; }
.chart svg { display: block; overflow: visible; }
.chart text { fill: var(--ink-3); font-size: 11.5px; font-family: var(--font-ui); font-variant-numeric: tabular-nums; }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .bar { fill: var(--chart); transition: fill .12s; }
.chart .bar.on { fill: var(--chart-hover); }
.chart .cap { fill: var(--ink-2); font-weight: 600; }
.chart-tip { position: absolute; pointer-events: none; background: var(--ink); color: var(--bg); font-size: 12.5px; padding: 7px 10px; border-radius: 8px; white-space: nowrap; transform: translate(-50%, calc(-100% - 8px)); box-shadow: var(--shadow); z-index: 2; line-height: 1.35; }
.chart-tip b { font-weight: 700; }
.hbars { display: grid; gap: 10px; }
.hbar { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr) auto; gap: 12px; align-items: center; font-size: 13.5px; }
.hbar-track { height: 10px; border-radius: 0 4px 4px 0; background: transparent; position: relative; }
.hbar-fill { height: 100%; background: var(--chart); border-radius: 0 4px 4px 0; min-width: 2px; }
.hbar-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hbar-val { font-variant-numeric: tabular-nums; color: var(--ink-2); font-weight: 600; }


/* ---------- sign-in (portals) ---------- */
.signin { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.signin-brand { background: var(--hero-bg); color: var(--hero-ink); padding: 48px max(32px, env(safe-area-inset-left, 0px)); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; position: relative; overflow: hidden; }
.signin-brand::after { content: ""; position: absolute; inset: auto -80px -120px auto; width: 420px; height: 420px; border-radius: 50%; border: 1px solid var(--hero-line); box-shadow: 0 0 0 40px rgba(255, 255, 255, .05), 0 0 0 80px rgba(255, 255, 255, .035); pointer-events: none; }
.signin-brand h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(32px, 4vw, 50px); line-height: 1.05; letter-spacing: -0.02em; max-width: 14ch; }
.signin-brand p { color: var(--hero-ink-2); max-width: 46ch; margin-top: 14px; }
.signin-points { display: grid; gap: 12px; max-width: 420px; position: relative; z-index: 1; }
.signin-points div { display: flex; gap: 10px; align-items: flex-start; color: var(--hero-ink-2); font-size: 14px; }
.signin-points .ic { color: var(--hero-accent); margin-top: 2px; }
.signin-form { display: grid; place-items: center; padding: 40px max(24px, env(safe-area-inset-right, 0px)) 40px max(24px, env(safe-area-inset-left, 0px)); }
.signin-card { width: 100%; max-width: 400px; display: grid; gap: 18px; }
.signin-card h2 { font-size: 24px; }
.google-btn { display: flex; align-items: center; justify-content: center; gap: 12px; height: 48px; width: 100%; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font-weight: 600; font-size: 15px; cursor: pointer; }
.google-btn:hover { background: var(--surface-2); }
.acct-list { display: grid; gap: 6px; }
.acct { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; text-align: left; width: 100%; }
.acct:hover { border-color: var(--brand); background: var(--brand-soft); }
.acct-main { min-width: 0; flex: 1; }
.acct-email { font-weight: 600; font-size: 14px; overflow-wrap: anywhere; }
.acct-role { font-size: 12.5px; color: var(--ink-3); }
@media (max-width: 860px) { .signin { grid-template-columns: 1fr; } .signin-brand { padding: 32px max(20px, env(safe-area-inset-left, 0px)); } }

/* ---------- app shell (branch portal + owner HQ) ---------- */
.shell { display: grid; grid-template-columns: 252px minmax(0, 1fr); min-height: 100vh; min-height: 100dvh; }
.side { background: var(--nav-bg); color: var(--nav-ink); border-right: 1px solid var(--nav-line); display: flex; flex-direction: column; gap: 18px; padding: 20px 14px 16px max(14px, env(safe-area-inset-left, 0px)); position: sticky; top: 0; height: 100vh; height: 100dvh; overflow-y: auto; }
.side-head { display: grid; gap: 6px; padding: 4px 8px 12px; border-bottom: 1px solid var(--nav-line); }
.side-sub { font-size: 12.5px; color: var(--nav-ink-2); }
.side-nav { display: grid; gap: 2px; }
.side-nav button { display: flex; align-items: center; gap: 11px; height: 40px; padding: 0 12px; border-radius: 9px; border: 0; background: transparent; color: var(--nav-ink-2); font-weight: 500; font-size: 14px; cursor: pointer; text-align: left; width: 100%; }
.side-nav button:hover { background: var(--nav-hover); color: var(--nav-ink); }
.side-nav button.on { background: var(--nav-active); color: var(--nav-ink); }
.side-nav button.on .ic { color: var(--nav-accent); }
.side-nav .count { margin-left: auto; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--accent); color: var(--accent-on); font-size: 11.5px; font-weight: 700; display: grid; place-items: center; }
.side-foot { margin-top: auto; display: grid; gap: 8px; padding: 12px 8px 0; border-top: 1px solid var(--nav-line); font-size: 13px; color: var(--nav-ink-2); }
.side-foot .who { color: var(--nav-ink); font-weight: 600; overflow-wrap: anywhere; }
.side-foot button { background: none; border: 0; color: var(--nav-ink-2); padding: 0; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; font-size: 13px; }
.side-foot button:hover { color: var(--nav-ink); }
.main { min-width: 0; display: flex; flex-direction: column; }
.topbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 18px max(28px, env(safe-area-inset-right, 0px)) 14px 28px; border-bottom: 1px solid var(--line); background: var(--bg); }
.topbar h1 { font-size: 22px; letter-spacing: -0.01em; }
.topbar .sub { color: var(--ink-3); font-size: 13.5px; }
/* Capped on big monitors so cards and tables stay readable. */
.content { padding: 22px max(28px, env(safe-area-inset-right, 0px)) 48px 28px; display: grid; gap: 20px; align-content: start; min-width: 0; width: 100%; max-width: 1480px; }
/* Tablets and phones: the menu moves to a bar on top, so the page gets the full width. */
@media (max-width: 1080px) {
  .shell { grid-template-columns: 1fr; }
  .side { position: static; height: auto; flex-direction: column; gap: 10px; border-right: 0; border-bottom: 1px solid var(--nav-line); padding: 14px max(16px, env(safe-area-inset-right, 0px)) 10px max(16px, env(safe-area-inset-left, 0px)); }
  .side-head { border-bottom: 0; padding: 0; grid-template-columns: auto 1fr; align-items: baseline; gap: 10px; }
  .side-nav { display: flex; overflow-x: auto; gap: 4px; padding-bottom: 4px; }
  .side-nav button { width: auto; flex: none; height: 36px; }
  .side-foot { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 8px 0 0; }
  .topbar { padding: 14px max(16px, env(safe-area-inset-right, 0px)) 12px max(16px, env(safe-area-inset-left, 0px)); }
  .content { padding: 16px max(16px, env(safe-area-inset-right, 0px)) 40px max(16px, env(safe-area-inset-left, 0px)); }
}
/* Phones: a shorter top area so the first order shows sooner. */
@media (max-width: 640px) {
  .side { gap: 8px; padding-top: 10px; padding-bottom: 8px; }
  .side-foot { flex-wrap: nowrap; align-items: center; gap: 14px; padding-top: 6px; font-size: 12.5px; }
  .side-foot .who { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .side-foot button { flex: none; }
  .topbar { padding-top: 10px; padding-bottom: 10px; gap: 8px 10px; }
  .topbar h1 { font-size: 20px; }
}

.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px 18px; display: grid; gap: 6px; min-width: 0; }
.kpi-label { font-size: 13px; color: var(--ink-3); display: flex; align-items: center; gap: 8px; }
.kpi-value { font-size: 28px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.1; }
.kpi-foot { font-size: 12.5px; color: var(--ink-3); }
.kpi-alert { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.table-wide { min-width: 900px; }
.tabs button { height: 40px; padding: 0 14px; border: 0; background: none; color: var(--ink-3); font-weight: 600; font-size: 14px; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.tabs button:hover { color: var(--ink); }
.tabs button.on { color: var(--ink); border-bottom-color: var(--brand-text); }
.tabs .badge { height: 20px; }
.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.toolbar .select-wrap { width: auto; }
.toolbar .select { height: 36px; font-size: 13.5px; }
.publish-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 16px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); }
.publish-bar .grow { font-size: 14px; }
.publish-bar strong { color: var(--ink); }

/* ---------- staff order board ---------- */
/* Three columns side by side where they fit (computers, tablets), stacked on phones. */
.board { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 14px; align-items: start; }
.col { background: var(--surface-2); border-radius: var(--r-lg); padding: 10px; display: grid; gap: 10px; align-content: start; min-height: 220px; min-width: 0; }
.col-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 4px 6px 2px; }
.col-head h3 { font-size: 14px; }
.col-head .badge { background: var(--surface); }
.ocard { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 13px 14px; display: grid; gap: 10px; box-shadow: var(--shadow-sm); min-width: 0; }
.ocard.fresh { box-shadow: 0 0 0 2px var(--accent), var(--shadow-sm); }
.ocard-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ocard-num { font-weight: 800; font-size: 16px; font-variant-numeric: tabular-nums; letter-spacing: .01em; background: none; border: 0; padding: 0; cursor: pointer; color: var(--ink); }
.ocard-num:hover { text-decoration: underline; text-underline-offset: 3px; }
.ocard-meta { font-size: 13px; color: var(--ink-3); display: flex; gap: 6px 12px; flex-wrap: wrap; }
.ocard-items { display: grid; gap: 3px; font-size: 13.5px; }
.ocard-items li { list-style: none; display: flex; gap: 8px; }
.ocard-items .q { font-weight: 700; min-width: 22px; font-variant-numeric: tabular-nums; }
.ocard-items .d { color: var(--ink-3); font-size: 12.5px; }
.ocard-note { font-size: 13px; padding: 8px 10px; border-radius: 9px; background: var(--accent-soft); color: var(--accent-ink); }
.ocard-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.ocard-actions .btn { flex: 1 1 auto; }

.timeline { display: grid; gap: 0; }
.tl { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 10px; padding: 8px 0; font-size: 13.5px; position: relative; }
.tl::before { content: ""; position: absolute; left: 8px; top: 22px; bottom: -8px; width: 2px; background: var(--line); }
.tl:last-child::before { display: none; }
.tl-dot { width: 18px; height: 18px; border-radius: 50%; background: var(--surface-2); border: 2px solid var(--line-2); margin-top: 1px; position: relative; z-index: 1; }
.tl-dot.on { background: var(--brand); border-color: var(--brand); }
.tl-time { color: var(--ink-3); font-variant-numeric: tabular-nums; font-size: 12.5px; }

/* ---------- customer site ---------- */
.c-site { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.c-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: color-mix(in oklab, var(--bg) 90%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.c-header .wrap { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.c-header nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.c-header .logo-link { flex: none; }
.branch-pill { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px 0 10px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--surface); cursor: pointer; max-width: 340px; min-width: 0; font-size: 13.5px; }
.branch-pill:hover { border-color: var(--brand); }
.branch-pill .bp-name { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.branch-pill .bp-state { color: var(--ink-3); white-space: nowrap; }
.cart-btn { position: relative; }
.cart-count { position: absolute; top: -4px; right: -6px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: var(--accent); color: var(--accent-on); font-size: 11px; font-weight: 800; display: grid; place-items: center; }
/* Tablets and phones: the branch button gets its own row, so it never covers the logo. */
@media (max-width: 900px) {
  .c-header .wrap { flex-wrap: wrap; gap: 8px 10px; padding-block: 10px; min-height: 0; }
  .c-header .branch-pill { order: 3; max-width: none; width: 100%; justify-content: flex-start; }
  .c-header .branch-pill .bp-state { margin-left: auto; }
}
@media (max-width: 720px) { .hide-sm { display: none !important; } }
/* Small phones: logo and buttons still share one row. */
@media (max-width: 380px) {
  .c-header .wordmark b { font-size: 23px; }
  .c-header .logo-img { height: 30px; max-width: 130px; }
  .c-header nav { gap: 2px; }
  .c-header .lang-pick { padding: 0 8px; }
  .c-header .lang-pick > .ic:first-child { display: none; }
}
.c-main { flex: 1; padding-block: 28px 96px; }
.c-foot { border-top: 1px solid var(--line); padding-block: 24px; color: var(--ink-3); font-size: 13px; }
.c-foot .wrap { display: flex; gap: 10px 24px; flex-wrap: wrap; justify-content: space-between; }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); background: none; border: 0; padding: 0; cursor: pointer; font-weight: 600; font-size: 14px; margin-bottom: 14px; }
.back:hover { color: var(--ink); }
.c-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -0.02em; line-height: 1.08; }
.c-lede { color: var(--ink-2); font-size: 16px; max-width: 60ch; margin-top: 8px; }

.c-hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 48px; align-items: center; padding-block: 8px 24px; }
.c-hero h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(40px, 5.6vw, 70px); line-height: .98; letter-spacing: -0.03em; }
.c-hero h1 em { font-style: italic; color: var(--brand-text); }
.c-hero .lede { font-size: 17px; color: var(--ink-2); max-width: 46ch; margin-top: 18px; }
.locate { margin-top: 28px; padding: 22px; display: grid; gap: 14px; box-shadow: var(--shadow); max-width: 560px; }
.locate-why { display: flex; gap: 10px; color: var(--ink-2); font-size: 13.5px; }
.locate-why .ic { color: var(--brand-text); margin-top: 2px; }
.suggest { position: relative; }
.suggest-list { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20; background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: var(--shadow); padding: 6px; display: grid; gap: 2px; }
.suggest-list button { display: flex; align-items: center; gap: 10px; text-align: left; padding: 9px 10px; border: 0; background: none; border-radius: 8px; cursor: pointer; font-size: 14px; }
.suggest-list button:hover, .suggest-list button:focus-visible { background: var(--surface-2); }
.suggest-list .city { color: var(--ink-3); font-size: 12.5px; margin-left: auto; white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--surface); cursor: pointer; font-weight: 600; font-size: 13.5px; white-space: nowrap; color: var(--ink); }
.chip:hover { border-color: var(--brand); }
.chip.on { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.chip small { font-weight: 500; opacity: .75; }
.hero-art { position: relative; justify-self: center; width: min(100%, 460px); }
.hero-art .art { width: 100%; }
.float-card { position: absolute; display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow); font-size: 13px; }
.float-card strong { display: block; font-size: 14px; }
.float-card .ic { color: var(--brand-text); }
.fc-1 { left: -4%; top: 12%; } .fc-2 { right: -2%; bottom: 14%; }
.welcome { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px 16px; border-radius: 14px; background: var(--brand-soft); margin-bottom: 18px; }
.welcome .grow { font-size: 14px; }
@media (max-width: 900px) { .c-hero { grid-template-columns: 1fr; gap: 24px; } .hero-art { width: min(100%, 320px); order: -1; } .fc-1 { left: -6%; } }
@media (max-width: 480px) { .fc-1 { left: 0; } .fc-2 { right: 0; } }

.c-branches { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px; align-items: start; margin-top: 20px; }
.rec { padding: 22px; display: grid; gap: 14px; background: var(--surface); border: 1px solid var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); border-radius: var(--r-lg); }
.rec h2 { font-family: var(--font-display); font-weight: 500; font-size: 30px; letter-spacing: -0.02em; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--ink-2); }
.facts span { display: inline-flex; align-items: center; gap: 6px; }
.facts .ic { color: var(--ink-3); }
.brow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 16px 18px; }
.brow h3 { font-size: 16px; }
.brow-addr { font-size: 13.5px; color: var(--ink-3); margin-top: 2px; }
.brow .facts { margin-top: 8px; font-size: 13px; }
.brow-actions { display: grid; gap: 6px; justify-items: end; }
.map-card { position: sticky; top: calc(var(--c-header-h, 64px) + 20px); overflow: hidden; }
.map { position: relative; width: 100%; background: var(--surface-2); }
.map svg { display: block; }
.map .m-grid { stroke: var(--line-2); stroke-width: 1; opacity: .55; }
.map .m-ring { fill: none; stroke: var(--brand-text); stroke-width: 1.5; stroke-dasharray: 4 4; opacity: .6; }
.map .m-area { fill: var(--brand-text); opacity: .08; }
.map .m-pin { fill: var(--surface); stroke: var(--brand-text); stroke-width: 2.5; cursor: pointer; }
.map .m-pin.sel { fill: var(--brand); stroke: var(--surface); }
.map .m-me { fill: var(--ok); stroke: var(--surface); stroke-width: 3; }
.map .m-me-halo { fill: var(--ok); opacity: .18; }
.map text { font-size: 12px; font-weight: 600; fill: var(--ink); paint-order: stroke; stroke: var(--surface-2); stroke-width: 4px; stroke-linejoin: round; font-family: var(--font-ui); }
.map .m-scale { stroke: var(--ink-3); stroke-width: 2; }
.map .m-scale-t { font-weight: 500; fill: var(--ink-3); font-size: 11px; }
.map-legend { display: flex; gap: 14px; flex-wrap: wrap; padding: 10px 14px; font-size: 12.5px; color: var(--ink-3); border-top: 1px solid var(--line); }
.map-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
@media (max-width: 900px) { .c-branches { grid-template-columns: 1fr; } .map-card { position: static; } }

.cover { position: relative; border-radius: var(--r-xl); overflow: hidden; min-height: clamp(240px, 30vw, 340px); display: flex; align-items: flex-end; color: #FFFFFF; isolation: isolate; }
.cover-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
.cover::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 16, 12, 0) 30%, rgba(8, 16, 12, .72) 100%); }
.cover-in { padding: 28px; display: grid; gap: 10px; width: 100%; }
.cover h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(36px, 5vw, 60px); letter-spacing: -0.025em; line-height: 1; }
.cover p { font-size: 16px; opacity: .92; max-width: 52ch; }
.cover .badge { background: rgba(255, 255, 255, .16); color: #FFFFFF; backdrop-filter: blur(6px); }
.cover-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.cover-actions .btn-secondary { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .4); color: #FFFFFF; }
.cover-actions .btn-secondary:hover:not(:disabled) { background: rgba(255, 255, 255, .24); }
.cover-paddy { background:
  radial-gradient(circle at 18% 22%, rgba(255, 194, 14, .4) 0 2px, transparent 3px) 0 0 / 26px 26px,
  radial-gradient(120% 90% at 85% 10%, #2E9A50 0%, transparent 60%),
  linear-gradient(135deg, #0C3D1C 0%, #1E7B3C 55%, #2E9A50 100%); }
.cover-lantern { background:
  radial-gradient(circle at 50% 50%, rgba(255, 220, 120, .3) 0 2px, transparent 3px) 0 0 / 30px 30px,
  radial-gradient(90% 80% at 80% 20%, #FFC20E 0%, transparent 60%),
  linear-gradient(140deg, #6B0716 0%, #C8102E 55%, #E2432A 100%); }
.cover-jade { background:
  repeating-linear-gradient(45deg, rgba(255, 255, 255, .08) 0 2px, transparent 2px 18px),
  radial-gradient(100% 90% at 20% 0%, #FFD45C 0%, transparent 60%),
  linear-gradient(150deg, #7A4E00 0%, #C98A00 55%, #F2B200 100%); }
.cover-night { background:
  radial-gradient(circle at 30% 40%, rgba(255, 194, 14, .35) 0 1.5px, transparent 2.5px) 0 0 / 22px 22px,
  radial-gradient(80% 70% at 75% 25%, #7A0A1C 0%, transparent 65%),
  linear-gradient(160deg, #141312 0%, #24211F 60%, #3A2F2B 100%); }
.info-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 18px; }
.info-cell { padding: 16px 18px; display: grid; gap: 4px; align-content: start; font-size: 14px; min-width: 0; }
.info-cell + .info-cell { border-left: 1px solid var(--line); }
.info-cell .eyebrow { display: flex; align-items: center; gap: 6px; }
.info-cell strong { font-size: 15px; }
.hours { display: grid; gap: 2px; font-size: 13px; color: var(--ink-2); margin-top: 4px; }
.hours div { display: flex; justify-content: space-between; gap: 12px; }
.hours .today { color: var(--ink); font-weight: 700; }
@media (max-width: 900px) { .info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .info-cell:nth-child(3) { border-left: 0; } .info-cell:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .info-grid { grid-template-columns: 1fr; } .info-cell + .info-cell { border-left: 0; border-top: 1px solid var(--line); } }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 34px 0 14px; }
.section-head h2 { font-family: var(--font-display); font-weight: 500; font-size: 28px; letter-spacing: -0.02em; }
.promos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.promo { padding: 18px; display: grid; gap: 10px; align-content: start; }
.promo h3 { font-size: 17px; line-height: 1.3; }
.promo-meta { display: grid; gap: 4px; font-size: 13px; color: var(--ink-3); }
.promo-meta span { display: flex; gap: 7px; align-items: flex-start; }
.promo-meta .ic { margin-top: 2px; }
.promo-terms { font-size: 12.5px; color: var(--ink-3); border-top: 1px dashed var(--line-2); padding-top: 10px; }
.promo-off { font-family: var(--font-display); font-size: 30px; line-height: 1; color: var(--sale); font-weight: 500; letter-spacing: -0.02em; }
.about { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 28px; }
.about p { color: var(--ink-2); font-size: 15.5px; line-height: 1.65; max-width: 64ch; }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 10px; }
.photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } }

.menu-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.menu-top { display: grid; gap: 14px; margin-bottom: 6px; }
/* --c-header-h is the header's real height (customer.js measures it), so sticky bars sit right under it. */
.cat-nav { position: sticky; top: calc(var(--c-header-h, 64px) + env(safe-area-inset-top, 0px)); z-index: 30; background: var(--bg); display: flex; gap: 6px; overflow-x: auto; padding-block: 10px; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.cat-nav::-webkit-scrollbar { display: none; }
.cat-nav .chip { height: 34px; flex: none; }
.menu-tools { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.menu-tools .input-icon { flex: 1 1 220px; }
.cat-block { scroll-margin-top: calc(var(--c-header-h, 64px) + 76px); margin-top: 26px; }
.cat-block h2 { font-family: var(--font-display); font-weight: 500; font-size: 26px; letter-spacing: -0.015em; margin-bottom: 12px; }
.items { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 12px; }
.item { position: relative; display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 14px; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); cursor: pointer; text-align: left; transition: border-color .15s, box-shadow .15s; width: 100%; color: inherit; }
.item:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.item .art { width: 92px; }
.item-body { display: grid; gap: 4px; align-content: start; min-width: 0; padding-right: 30px; }
.item-name { font-weight: 700; font-size: 15.5px; line-height: 1.3; }
.item-en { font-size: 13px; color: var(--ink-3); }
.item-desc { font-size: 13px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item-foot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.price { font-weight: 700; font-variant-numeric: tabular-nums; }
.price-old { text-decoration: line-through; color: var(--ink-3); font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; }
.price-sale { color: var(--sale); }
.add-dot { position: absolute; right: 12px; bottom: 12px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: var(--brand-ink); }
.item.off { cursor: not-allowed; }
.item.off .art, .item.off .item-body > :not(.item-foot) { opacity: .55; }
.item.off .add-dot { display: none; }
.tags { display: inline-flex; gap: 4px; flex-wrap: wrap; }
.tag { display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 7px; border-radius: 6px; font-size: 11.5px; font-weight: 600; background: var(--surface-2); color: var(--ink-2); }
.tag-veg { background: var(--ok-soft); color: var(--ok); }
.tag-spicy { background: var(--sale-soft); color: var(--sale); }
.tag-sig { background: var(--accent-soft); color: var(--accent-ink); }
.combo { grid-template-columns: 92px minmax(0, 1fr); }
.combo-arts { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; width: 92px; align-content: center; }
.combo-arts .art { width: 45px; }
.cart-panel { position: sticky; top: calc(var(--c-header-h, 64px) + 20px + env(safe-area-inset-top, 0px)); display: grid; max-height: calc(100dvh - var(--c-header-h, 64px) - 46px); }
.cart-lines { overflow: auto; padding: 4px 18px; }
.cline { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cline:last-child { border-bottom: 0; }
.cline-name { font-weight: 600; font-size: 14px; }
.cline-detail { font-size: 12.5px; color: var(--ink-3); }
.cline-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cline.bad .cline-name { text-decoration: line-through; color: var(--ink-3); }
.totals { display: grid; gap: 7px; padding: 14px 18px; border-top: 1px solid var(--line); font-size: 14px; }
.totals div { display: flex; justify-content: space-between; gap: 12px; }
.totals .sum { font-size: 17px; font-weight: 800; padding-top: 6px; border-top: 1px solid var(--line); margin-top: 3px; }
.totals .disc { color: var(--sale); font-weight: 600; }
.cart-cta { padding: 0 18px 18px; display: grid; gap: 10px; }
.cart-bar { display: none; }
@media (max-width: 980px) {
  .menu-layout { grid-template-columns: 1fr; }
  .menu-layout > .cart-panel { display: none; }
  .cart-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); background: color-mix(in oklab, var(--bg) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
  .cart-bar .btn { width: 100%; justify-content: space-between; }
}
.item-modal .art { width: 140px; margin: 0 auto; }
.opt-group { display: grid; gap: 8px; margin-top: 18px; }
.opt-group h4 { font-size: 14px; display: flex; gap: 8px; align-items: center; }
.opt { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; font-size: 14px; }
.opt:hover { border-color: var(--line-2); }
.opt.on { border-color: var(--brand); background: var(--brand-soft); }
.opt input { accent-color: var(--brand); width: 16px; height: 16px; margin: 0; flex: none; }
.opt .grow { min-width: 0; }
.allergens { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: 13px; color: var(--ink-2); margin-top: 12px; }

.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.co-sec { padding: 22px; display: grid; gap: 16px; }
.co-sec h2 { font-size: 17px; display: flex; align-items: center; gap: 10px; }
.co-step { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-text); font-size: 13px; font-weight: 800; flex: none; }
.methods { display: grid; gap: 10px; }
.method { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 14px; cursor: pointer; text-align: left; background: var(--surface); width: 100%; color: inherit; }
.method:hover:not(:disabled) { border-color: var(--brand); }
.method.on { border-color: var(--brand); background: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--brand); }
.method:disabled { opacity: .5; cursor: not-allowed; }
.method .radio { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-2); margin-top: 2px; display: grid; place-items: center; }
.method.on .radio { border-color: var(--brand); }
.method.on .radio::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.method-title { font-weight: 700; font-size: 14.5px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.method-sub { font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.summary { position: sticky; top: calc(var(--c-header-h, 64px) + 20px + env(safe-area-inset-top, 0px)); }
@media (max-width: 980px) { .checkout { grid-template-columns: 1fr; } .summary { position: static; } }

.order-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
@media (max-width: 980px) { .order-layout { grid-template-columns: 1fr; } }
.pay { padding: 24px; display: grid; gap: 18px; justify-items: center; text-align: center; }
.pay-amount { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.pay-ref { font-size: 14px; color: var(--ink-2); }
.pay-steps { display: grid; gap: 6px; text-align: left; font-size: 13.5px; color: var(--ink-2); counter-reset: s; justify-self: stretch; max-width: 420px; margin: 0 auto; }
.pay-steps li { list-style: none; display: flex; gap: 10px; counter-increment: s; }
.pay-steps li::before { content: counter(s); width: 20px; height: 20px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; font-size: 11.5px; font-weight: 700; flex: none; color: var(--ink-2); }
.countdown { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 99px; background: var(--surface-2); font-weight: 700; font-variant-numeric: tabular-nums; font-size: 14px; }
.countdown.low { background: var(--warn-soft); color: var(--warn); }
.bank-details { justify-self: stretch; text-align: left; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.proto-box { justify-self: stretch; border: 1px dashed var(--line-2); border-radius: 14px; padding: 14px; display: grid; gap: 10px; text-align: left; background: var(--surface-2); }
.proto-box .row { flex-wrap: wrap; }
.status-hero { padding: 24px; display: grid; gap: 14px; }
.status-hero h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(30px, 4vw, 42px); letter-spacing: -0.02em; line-height: 1.05; }
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 6px; }
.step { display: grid; gap: 8px; align-content: start; font-size: 13px; color: var(--ink-3); position: relative; }
.step-bar { height: 6px; border-radius: 99px; background: var(--surface-3); }
.step.done .step-bar { background: var(--ok); }
.step.now .step-bar { background: linear-gradient(90deg, var(--ok) 0 50%, var(--surface-3) 50%); }
.step.now { color: var(--ink); font-weight: 700; }
.step.done { color: var(--ink-2); }
.step time { font-size: 12px; font-weight: 500; color: var(--ink-3); font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { grid-template-columns: 6px minmax(0, 1fr); gap: 12px; padding-bottom: 12px; }
  .step-bar { height: 100%; min-height: 28px; width: 6px; }
  .step.now .step-bar { background: linear-gradient(180deg, var(--ok) 0 50%, var(--surface-3) 50%); }
}
.msgs { display: grid; gap: 10px; }
.msg { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; font-size: 13.5px; }
.msg-icon { width: 30px; height: 30px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; color: var(--ink-3); }
.msg time { color: var(--ink-3); font-size: 12px; }
.faq { display: grid; gap: 0; }
.faq details { border-top: 1px solid var(--line); padding: 12px 0; }
.faq details:first-child { border-top: 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 14px; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ink-3); font-weight: 400; font-size: 18px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { font-size: 13.5px; color: var(--ink-2); margin-top: 8px; }
.preview-banner { background: var(--accent); color: var(--accent-on); font-size: 13.5px; font-weight: 600; }
.preview-banner .wrap { display: flex; align-items: center; gap: 12px; min-height: 42px; flex-wrap: wrap; padding-block: 6px; }
.preview-banner button { margin-left: auto; background: rgba(0, 0, 0, .12); border: 0; color: inherit; height: 30px; padding: 0 12px; border-radius: 8px; font-weight: 700; cursor: pointer; }

/* ---------- portal extras ---------- */
.ws-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.ws-card { display: flex; flex-direction: column; gap: 10px; min-height: 230px; padding: 24px; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); cursor: pointer; color: inherit; transition: border-color .15s, box-shadow .15s, transform .1s; }
.ws-card:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.ws-card:active { transform: translateY(1px); }
.ws-card h2 { font-family: var(--font-display); font-weight: 500; font-size: 30px; letter-spacing: -0.02em; }
.ws-card p { color: var(--ink-2); font-size: 14.5px; }
.ws-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-text); }
@media (max-width: 640px) { .ws-grid { grid-template-columns: 1fr; } }
.cover-swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.cover-swatch { width: 110px; height: 66px; border-radius: 12px; border: 2px solid transparent; cursor: pointer; display: flex; align-items: flex-end; padding: 8px; color: #FFFFFF; font-weight: 700; font-size: 12.5px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.cover-swatch.on { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); gap: 10px; }
.photo-tile { position: relative; margin: 0; border-radius: 12px; overflow: hidden; background: var(--surface-2); aspect-ratio: 4 / 3; }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; }
.photo-tag { position: absolute; left: 8px; top: 8px; }
.photo-tools { position: absolute; right: 6px; bottom: 6px; display: flex; gap: 2px; background: var(--surface); border-radius: 10px; padding: 2px; box-shadow: var(--shadow-sm); }
.photo-tools .icon-btn { width: 30px; height: 30px; }
.photo-add { display: grid; place-items: center; align-content: center; gap: 6px; aspect-ratio: 4 / 3; border: 1.5px dashed var(--line-2); border-radius: 12px; color: var(--ink-3); cursor: pointer; font-size: 13px; font-weight: 600; }
.photo-add:hover { border-color: var(--brand); color: var(--brand-text); }
.photo-add:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; }
.test-qr { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; padding: 16px; border-radius: 14px; background: var(--surface-2); font-size: 14px; }
.test-qr .row .ic { color: var(--ok); }
.admin-cols { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 960px) { .admin-cols { grid-template-columns: 1fr; } }
.cat-list { display: grid; padding: 6px; }
.cat-row { display: flex; align-items: center; gap: 6px; padding: 4px 6px 4px 10px; border-radius: 9px; min-height: 38px; border: 0; background: none; text-align: left; width: 100%; cursor: pointer; font-size: 14px; color: inherit; }
.cat-row:hover { background: var(--surface-2); }
.cat-row.on { background: var(--brand-soft); }
.cat-row.on .cat-name { color: var(--brand-text); font-weight: 700; }
.cat-name { background: none; border: 0; padding: 6px 0; text-align: left; cursor: pointer; font-size: 14px; font-weight: 600; color: inherit; min-width: 0; }
.cat-tools { display: flex; opacity: .55; }
.cat-row:hover .cat-tools, .cat-row:focus-within .cat-tools { opacity: 1; }
.cat-tools .icon-btn { width: 28px; height: 28px; }
.rot90 { transform: rotate(90deg); }
.opt-edit { display: grid; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.art-preview { width: 180px; max-width: 100%; }
.tint-dot { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--surface); box-shadow: 0 0 0 1px var(--line-2); cursor: pointer; }
.tint-dot.on { box-shadow: 0 0 0 2px var(--ink); }
.branch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 400px), 1fr)); gap: 16px; align-items: start; }

/* ---------- dish photos, customer footer, website editor ---------- */
.dish-photo { display: block; aspect-ratio: 1; max-width: 100%; flex: none; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); }
.dish-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.item .dish-photo { width: 92px; }
.combo-arts .dish-photo { width: 45px; border-radius: 10px; }
.item-modal .dish-photo { width: 100%; max-width: 420px; aspect-ratio: 4 / 3; margin: 0 auto; }
.hero-photo { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 32px; display: block; }
.c-foot .foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 20px 28px; align-items: start; }
.c-foot .foot-copy { display: block; margin-top: 18px; }
.c-foot a { color: var(--ink-2); }
.policy-text { display: grid; gap: 12px; color: var(--ink-2); line-height: 1.65; }
.preset-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: 10px; }
.preset { display: grid; gap: 6px; text-align: left; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); cursor: pointer; color: inherit; }
.preset:hover { border-color: var(--line-2); }
.preset.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.preset-swatches { display: flex; gap: 4px; }
.preset-swatches i { width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
.preset-sample { font-size: 22px; line-height: 1.15; color: var(--ink); }
.preset-name { font-weight: 700; font-size: 14px; }
.preset-note { font-size: 12.5px; color: var(--ink-3); }
.color-row { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); }
.color-row:first-child { border-top: 0; }
.color-row input[type="color"] { width: 44px; height: 36px; padding: 0; border: 1px solid var(--line-2); border-radius: 8px; background: none; cursor: pointer; }
.look-preview { border: 1px solid var(--line); border-radius: 16px; padding: 16px; background: #FFFFFF; display: grid; gap: 12px; font-family: var(--font-ui); color: var(--ink); }
.look-preview .lp-title { font-family: var(--font-display); font-weight: var(--display-weight, 500); font-size: 30px; line-height: 1.05; letter-spacing: -0.015em; }
.look-preview .lp-title em { color: var(--brand-text); }
.edit-list { display: grid; gap: 12px; }
.edit-item { display: grid; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.edit-item .row .grow { min-width: 0; }
.tpl-row { display: grid; gap: 6px; padding: 10px 0; border-top: 1px solid var(--line); }
.tpl-row:first-child { border-top: 0; }

/* ---------- supply orders: messages between a branch and HQ ---------- */
.checkout.supply-layout { grid-template-columns: minmax(0, 1fr) 340px; }
@media (max-width: 1100px) { .checkout.supply-layout { grid-template-columns: 1fr; } .supply-layout .summary { position: static; } }
.thread { display: grid; gap: 8px; }
.msg-bubble { justify-self: start; width: fit-content; max-width: 85%; display: grid; gap: 3px; padding: 9px 12px; border-radius: 12px; background: var(--surface-2); font-size: 14px; overflow-wrap: anywhere; }
.msg-bubble time { font-size: 11.5px; color: var(--ink-3); }
.msg-bubble.mine { justify-self: end; background: var(--brand-soft); }

/* ---------- owner HQ: logo and background ---------- */
label.btn { position: relative; }
label.btn:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; }
.brand-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 20px; align-items: start; }
.logo-previews { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 12px; }
.logo-preview { display: grid; gap: 8px; min-width: 0; }
.logo-stage { min-height: 74px; display: flex; align-items: center; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.logo-stage.on-red { background: var(--hero-bg); border-color: var(--hero-bg); }
.logo-stage .logo, .side-head .logo { flex-wrap: wrap; row-gap: 6px; }
.bg-preview { position: relative; isolation: isolate; overflow: hidden; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); }
.bg-preview-img, .backdrop-img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.bg-preview-wash, .backdrop-wash { position: absolute; inset: 0; background: #FFFFFF; }
.bg-preview-in { position: relative; padding: 14px; display: grid; gap: 14px; }
.bg-preview-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .9); }
.bg-preview-title { font-family: var(--font-display); font-weight: 500; font-size: 26px; line-height: 1.05; letter-spacing: -0.02em; max-width: 18ch; color: var(--ink); }
.bg-preview-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: grid; gap: 6px; max-width: 290px; }
.wash-row { display: flex; align-items: center; gap: 12px; }
.wash-row input[type="range"] { flex: 1; accent-color: var(--brand); min-width: 0; }

/* ---------- customer site photo background ---------- */
.c-site { position: relative; isolation: isolate; }
.backdrop { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.has-photo .c-foot { background: rgba(255, 255, 255, .94); }
.has-photo .about > :first-child { background: rgba(255, 255, 255, .94); border-radius: var(--r-lg); padding: 18px 20px; }

/* ---------- hub ---------- */
.hub-hero { padding-block: 56px 28px; display: grid; gap: 16px; }
.hub-hero h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(38px, 5.4vw, 66px); letter-spacing: -0.03em; line-height: 1; max-width: 16ch; }
.hub-hero h1 em { font-style: italic; color: var(--brand-text); }
.hub-hero p { font-size: 17px; color: var(--ink-2); max-width: 62ch; }
.sites { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; position: relative; }
.site { padding: 22px; display: grid; gap: 14px; align-content: start; position: relative; }
.site-num { font-family: var(--font-display); font-style: italic; font-size: 40px; line-height: 1; color: var(--accent-ink); }
.site h2 { font-size: 21px; }
.site .who { font-size: 13.5px; color: var(--ink-3); }
.site ul { display: grid; gap: 7px; font-size: 14px; color: var(--ink-2); }
.site li { list-style: none; display: flex; gap: 9px; }
.site li .ic { color: var(--brand-text); margin-top: 2px; }
.site .btn { justify-self: start; margin-top: 4px; }
.site-login { font-size: 12.5px; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 12px; overflow-wrap: anywhere; }
.site-login code { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: 12px; color: var(--ink-2); }
.flow-arrow { display: none; }
@media (min-width: 981px) { .flow-arrow { display: grid; place-items: center; position: absolute; top: 40px; width: 30px; height: 30px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); color: var(--ink-3); z-index: 2; } .fa-1 { left: calc(33.333% - 15px - 5px); } .fa-2 { left: calc(66.666% - 15px + 5px); } }
@media (max-width: 980px) { .sites { grid-template-columns: 1fr; } }
.hub-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 16px; }
@media (max-width: 860px) { .hub-cols { grid-template-columns: 1fr; } }
.sync-list { display: grid; gap: 0; }
.sync { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; }
.sync:first-child { border-top: 0; padding-top: 0; }
.sync .from { font-weight: 700; }
.sync .to { color: var(--ink-3); font-size: 13px; }
.sync-ic { width: 34px; height: 34px; border-radius: 10px; background: var(--brand-soft); color: var(--brand-text); display: grid; place-items: center; }
.try { display: grid; gap: 12px; counter-reset: t; }
.try li { list-style: none; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; font-size: 14px; color: var(--ink-2); counter-increment: t; }
.try li::before { content: counter(t); width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.try strong { color: var(--ink); }

/* ---------- languages: customer language picker, owner text in four languages ---------- */
.lang-pick { position: relative; display: inline-flex; align-items: center; gap: 5px; height: 34px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--ink); background: var(--surface); cursor: pointer; }
.lang-pick:focus-within { outline: 2px solid var(--focus, var(--ok)); outline-offset: 2px; }
.lang-select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
.loc-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.loc-tabs { display: inline-flex; gap: 2px; padding: 2px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; }
.loc-tab { position: relative; border: 0; background: none; font: inherit; font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 3px 9px; border-radius: 6px; color: var(--ink-3); cursor: pointer; }
.loc-tab:hover { color: var(--ink); }
.loc-tab.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(28, 27, 26, .14); }
.loc-tab.has::after { content: ''; position: absolute; top: 3px; right: 3px; width: 4px; height: 4px; border-radius: 50%; background: var(--ok); }
.ws-card[disabled] { opacity: .55; cursor: not-allowed; }

/* ---------- every device: phones, tablets, big screens ---------- */
/* iPhones zoom into any text box under 16px, so phones and touch screens get 16px. */
@media (max-width: 900px), (pointer: coarse) {
  .input, .select, .textarea, .input-sm, .toolbar .select { font-size: 16px; }
}
/* Fingers need bigger targets than a mouse. */
@media (pointer: coarse) {
  .btn-sm { height: 40px; }
  .icon-btn { width: 40px; height: 40px; }
  .chip, .cat-nav .chip { height: 40px; }
  .seg-opt { min-height: 40px; }
  .qty { height: 40px; } .qty button { width: 38px; height: 38px; }
  .qty-sm { height: 36px; } .qty-sm button { width: 34px; height: 34px; }
  .copy-btn { height: 34px; padding: 0 12px; }
  .cat-tools .icon-btn, .photo-tools .icon-btn { width: 38px; height: 38px; }
  .loc-tab { padding: 9px 12px; }
  .tint-dot { width: 36px; height: 36px; }
  .check input, .opt input { width: 20px; height: 20px; }
  .lang-pick { height: 40px; }
  .preview-banner button { height: 36px; }
  /* Text-sized buttons keep their look but get a finger-sized tap area. */
  .link-btn, .side-foot button, .ocard-num, .c-header .logo-link { padding-block: 9px; margin-block: -9px; }
  .back { padding-block: 9px; margin-top: -9px; margin-bottom: 5px; }
  .c-foot a { padding-block: 10px; }
}
/* Phones: wide tables keep their first column in view while the rest scrolls sideways. */
@media (max-width: 720px) {
  .table th:first-child, .table td:first-child { position: sticky; left: 0; z-index: 1; background: var(--surface); box-shadow: 1px 0 0 var(--line); }
  .table tr.group td:first-child { background: var(--surface-2); }
}
/* Phones held sideways: a smaller dish picture leaves room for the options. */
@media (max-height: 520px) and (orientation: landscape) {
  .item-modal .art { width: 84px; }
  .item-modal .dish-photo { max-width: 220px; }
  .modal-head { padding-top: 14px; }
}

/* ---------- motion and decorations (app/fx.js; Owner HQ → Customer website → Motion and effects) ---------- */
/* Things arrive with a soft deceleration; decorations loop slowly. “Lively” moves a little further and faster
   than “Gentle”; “Off” (and phones set to reduce motion) keep everything still. Only transform and opacity
   move, so scrolling stays smooth on older phones. */
.c-site { --fx-rise: 12px; --fx-step: 55ms; --fx-float: 6px; }
.c-site.fx-lively { --fx-rise: 18px; --fx-step: 70ms; --fx-float: 10px; }
.boot-mark { animation: breathe 2.6s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .55; transform: scale(.97); } }

/* A new page fades in (opacity only, so the cart bar and pop-ups keep their place). */
.fx-gentle .c-main > .page, .fx-lively .c-main > .page { animation: page-in .38s ease-out backwards; }
@keyframes page-in { from { opacity: 0; } }

/* Sections and cards rise into view once, as they scroll in (class rv; fx.js marks them data-in). */
.fx-reveal .rv:not([data-in]) { opacity: 0; }
.fx-reveal .rv[data-in] { animation: rise-in .6s cubic-bezier(.2, .7, .2, 1) backwards; animation-delay: calc(var(--i, 0) * var(--fx-step)); }
@keyframes rise-in { from { opacity: 0; transform: translateY(var(--fx-rise)); } }

/* Announcement bar: messages scroll along the top; hovering or tabbing in pauses them. */
.announce { background: var(--brand); color: var(--brand-ink); font-size: 13px; font-weight: 600; overflow: hidden; }
.ann-track { display: flex; width: max-content; }
.ann-row { display: flex; flex: none; }
.ann-item { display: inline-flex; align-items: center; gap: 8px; padding: 9px 24px; white-space: nowrap; }
.ann-item .ic { color: var(--accent); flex: none; }
.announce:not(.ann-scroll) .ann-track, .announce:not(.ann-scroll) .ann-row { width: auto; flex-wrap: wrap; justify-content: center; }
.announce:not(.ann-scroll) .ann-item { white-space: normal; padding: 8px 12px; }
.ann-scroll .ann-track { animation: marquee var(--ann-t, 30s) linear infinite; }
.ann-scroll:hover .ann-track, .ann-scroll:focus-within .ann-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* The home picture: a sea-coloured disc behind the dish, with waves, bubbles or sun rays. */
.hero-art .hero-dish { position: relative; z-index: 1; }
.hero-art .float-card { z-index: 3; }
.hero-art.has-fx .hero-dish .art-bg { fill: transparent; }
.hero-fx { position: absolute; inset: 1.6%; border-radius: 50%; overflow: hidden; z-index: 0; background: radial-gradient(circle at 50% 34%, var(--surface) 0%, var(--accent-soft) 58%, var(--brand-soft) 100%); }
.hero-fx .wave { position: absolute; left: 0; bottom: -2px; width: 200%; height: 40%; fill: var(--brand); opacity: .13; }
.hero-fx .w2 { height: 32%; fill: var(--accent); opacity: .3; }
.hero-fx .w3 { height: 24%; opacity: .2; }
.fx-gentle .hero-fx .wave, .fx-lively .hero-fx .wave { animation: wave-x 18s linear infinite; }
.fx-gentle .hero-fx .w2, .fx-lively .hero-fx .w2 { animation-duration: 13s; animation-direction: reverse; }
.fx-gentle .hero-fx .w3, .fx-lively .hero-fx .w3 { animation-duration: 9s; }
.fx-lively .hero-fx .w1 { animation-duration: 12s; } .fx-lively .hero-fx .w2 { animation-duration: 8.5s; } .fx-lively .hero-fx .w3 { animation-duration: 6s; }
@keyframes wave-x { to { transform: translateX(-50%); } }
.hero-fx .bub { position: absolute; bottom: -14%; left: var(--x); width: var(--s); height: var(--s); border-radius: 50%; border: 2px solid color-mix(in srgb, var(--brand) 30%, transparent); background: radial-gradient(circle at 32% 30%, rgba(255, 255, 255, .95) 0 16%, transparent 18%), color-mix(in srgb, var(--accent) 16%, transparent); }
.fx-off .hero-fx .bub { bottom: auto; top: calc(var(--x) * .8 + 6%); }
.fx-gentle .hero-fx .bub, .fx-lively .hero-fx .bub { animation: bub-up var(--t) linear var(--d) infinite; }
@keyframes bub-up { 0% { transform: translate(0, 0); opacity: 0; } 12% { opacity: 1; } 50% { transform: translate(10px, -240px); } 100% { transform: translate(-6px, -480px); opacity: 0; } }
.hero-fx .rays { position: absolute; inset: -30%; background: repeating-conic-gradient(from 0deg, color-mix(in srgb, var(--accent) 28%, transparent) 0deg 9deg, transparent 9deg 18deg); }
.fx-gentle .hero-fx .rays { animation: spin 90s linear infinite; }
.fx-lively .hero-fx .rays { animation: spin 50s linear infinite; }
/* The dish and the two small cards bob gently. */
.fx-gentle .hero-dish, .fx-lively .hero-dish { animation: bob 6s ease-in-out infinite; }
.fx-gentle .float-card, .fx-lively .float-card { animation: bob 7s ease-in-out infinite; }
.fx-gentle .fc-2, .fx-lively .fc-2 { animation-delay: -3.5s; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(calc(var(--fx-float) * -1)) rotate(-1.2deg); } }
.c-hero h1 em { text-decoration-skip-ink: none; }
.fx-gentle .c-hero h1 em, .fx-lively .c-hero h1 em { text-decoration: underline wavy var(--accent); text-decoration-thickness: 3px; text-underline-offset: .2em; }
/* Doodles drifting around the picture. */
.doodle { display: block; line-height: 0; }
.doodle svg { width: 100%; height: 100%; display: block; overflow: visible; }
/* The doodles stay inside the picture's square (the dish is round, so the corners are free); they never reach
   past the screen edge. */
.floaters { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.floaters .fl { position: absolute; width: 34px; }
.fl-a { top: 0; left: 3%; width: 42px; color: #E8743B; }
.fl-b { top: 3%; right: 6%; color: #5E9E5A; }
.fl-c { top: 46%; left: 1%; width: 22px; color: var(--accent); }
.fl-d { bottom: 7%; left: 4%; width: 30px; color: #C8553D; }
.fl-e { bottom: 2%; right: 14%; width: 30px; color: var(--brand); }
.fl-f { top: 30%; right: 5%; width: 18px; color: var(--accent); }
.fx-gentle .fl, .fx-lively .fl { animation: drift 8s ease-in-out infinite; }
.fx-gentle .fl-b, .fx-lively .fl-b { animation-duration: 10s; animation-delay: -3s; }
.fx-gentle .fl-d, .fx-lively .fl-d { animation-duration: 9s; animation-delay: -5s; }
.fx-gentle .fl-e, .fx-lively .fl-e { animation-duration: 11s; animation-delay: -1.5s; }
.fx-gentle .fl-c, .fx-lively .fl-c, .fx-gentle .fl-f, .fx-lively .fl-f { animation: twinkle 3.2s ease-in-out infinite; }
.fx-gentle .fl-f, .fx-lively .fl-f { animation-delay: -1.6s; }
@keyframes drift { 0%, 100% { transform: translate(0, 0) rotate(0deg); } 33% { transform: translate(calc(var(--fx-float) * .7), calc(var(--fx-float) * -1.2)) rotate(9deg); } 66% { transform: translate(calc(var(--fx-float) * -.6), calc(var(--fx-float) * .6)) rotate(-7deg); } }
@keyframes twinkle { 0%, 100% { transform: scale(.7) rotate(0deg); opacity: .55; } 50% { transform: scale(1.12) rotate(45deg); opacity: 1; } }
@media (max-width: 720px) { .fl-c, .fl-f { display: none; } .fl-a { width: 34px; } }

/* Seasonal effects: Tết apricot flowers and snow drift down, sea bubbles rise, Mid-Autumn lanterns sway
   under the header. They sit under the header, cart bar and pop-ups, and never catch a tap. */
.season { position: fixed; inset: 0; z-index: 25; pointer-events: none; overflow: hidden; --fall: 112vh; }
.season.contained { position: absolute; z-index: 3; --fall: 360px; }
.season .sp { position: absolute; top: -60px; left: var(--x); width: var(--s); animation: fall var(--t) linear var(--d) infinite; }
@keyframes fall { to { transform: translate3d(var(--drift), var(--fall), 0) rotate(var(--rot)); } }
.season-snow .sp { color: #8FC1E3; }
.season-sea .sp { top: auto; bottom: -60px; color: var(--brand); animation-name: sea-rise; }
@keyframes sea-rise { 0% { transform: translate3d(0, 0, 0); opacity: 0; } 12% { opacity: .85; } 100% { transform: translate3d(var(--drift), calc(var(--fall) * -1), 0); opacity: 0; } }
.season-midautumn .sp { top: calc(var(--c-header-h, 64px) - 6px); transform-origin: 50% 0; animation: sway var(--t) ease-in-out var(--d) infinite alternate; }
.season-midautumn.contained .sp { top: -4px; }
@keyframes sway { from { transform: rotate(-8deg); } to { transform: rotate(8deg); } }

/* Home page: reasons to order and signature dishes. */
.highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 14px; margin-top: 36px; }
.hl { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.hl strong { display: block; font-size: 15.5px; line-height: 1.3; }
.hl p { color: var(--ink-2); font-size: 13.5px; margin-top: 4px; }
.hl-icon { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-text); }
.fx-lively .hl-icon { animation: bob 5s ease-in-out infinite; }
.fx-lively .hl:nth-child(2) .hl-icon { animation-delay: -1.7s; } .fx-lively .hl:nth-child(3) .hl-icon { animation-delay: -3.4s; }
.signature { margin-top: 6px; }
.sig-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 180px); gap: 12px; overflow-x: auto; padding: 4px 2px 14px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.sig { scroll-snap-align: start; display: grid; justify-items: center; align-content: start; gap: 8px; padding: 16px 12px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); cursor: pointer; text-align: center; color: inherit; transition: border-color .2s, box-shadow .2s, transform .25s cubic-bezier(.2, .7, .2, 1); }
.sig .art, .sig .dish-photo { width: 104px; }
.sig-name { font-weight: 700; font-size: 14.5px; line-height: 1.25; }
.sig-price { font-size: 13px; color: var(--brand-text); font-weight: 600; }
@media (hover: hover) {
  .sig:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
  .fx-gentle .sig:hover, .fx-lively .sig:hover { transform: translateY(-4px); }
  .fx-gentle .sig:hover .art, .fx-lively .sig:hover .art, .fx-gentle .hl:hover .hl-icon, .fx-lively .hl:hover .hl-icon { animation: wiggle .6s ease-in-out; }
  /* Menu cards lift a little, the dish leans in, and the + turns. */
  .fx-gentle .item:not(.off), .fx-lively .item:not(.off) { transition: border-color .15s, box-shadow .2s, transform .22s cubic-bezier(.2, .7, .2, 1); }
  .fx-gentle .item:not(.off):hover, .fx-lively .item:not(.off):hover { transform: translateY(-3px); }
  .fx-lively .item .art, .fx-lively .item .dish-photo { transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
  .fx-lively .item:not(.off):hover .art, .fx-lively .item:not(.off):hover .dish-photo { transform: scale(1.06) rotate(-3deg); }
  .fx-gentle .add-dot, .fx-lively .add-dot { transition: transform .28s cubic-bezier(.3, 1.6, .5, 1); }
  .fx-gentle .item:not(.off):hover .add-dot, .fx-lively .item:not(.off):hover .add-dot { transform: rotate(90deg) scale(1.1); }
}
@keyframes wiggle { 25% { transform: rotate(-9deg) scale(1.06); } 75% { transform: rotate(7deg) scale(1.06); } }
.fx-gentle .item:not(.off):active, .fx-lively .item:not(.off):active { transform: scale(.985); }

/* Adding to the cart: the dish's picture flies in and the cart gives a bounce. */
.fly-ghost { position: fixed; z-index: 85; pointer-events: none; border-radius: 50%; overflow: hidden; box-shadow: 0 10px 26px rgba(0, 0, 0, .2); background: var(--surface, #FFFFFF); }
.fly-ghost svg, .fly-ghost img { width: 100%; height: 100%; display: block; object-fit: cover; }
.fx-gentle .cart-btn.bump, .fx-lively .cart-btn.bump, .fx-gentle .cart-bar .btn.bump, .fx-lively .cart-bar .btn.bump { animation: bump .6s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes bump { 30% { transform: scale(1.16) rotate(-6deg); } 60% { transform: scale(.95) rotate(3deg); } }
.fx-gentle .cart-count, .fx-lively .cart-count { animation: pop-in .42s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes pop-in { from { transform: scale(.3); opacity: 0; } }

/* Branch covers drift slowly; the order tracker's current step shimmers. */
.fx-gentle .cover-bg, .fx-lively .cover-bg { animation: kenburns 26s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
.step.now .step-bar { position: relative; overflow: hidden; }
.fx-gentle .step.now .step-bar::after, .fx-lively .step.now .step-bar::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .65), transparent); transform: translateX(-100%); animation: shimmer 1.8s ease-in-out infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }

/* Faint background textures behind the page (not with a photo background). */
.c-site.tex-dots:not(.has-photo) { background-image: radial-gradient(color-mix(in srgb, var(--brand) 12%, transparent) 1.2px, transparent 1.4px); background-size: 22px 22px; }
.c-site.tex-waves:not(.has-photo) { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='26'%3E%3Cpath d='M0 13c15-9 15-9 30 0s15 9 30 0 15-9 30 0 15 9 30 0' fill='none' stroke='%23888888' stroke-opacity='.13' stroke-width='2'/%3E%3C/svg%3E"); }

/* Owner HQ → Motion and effects: a small live preview. */
.motion-preview.c-site { min-height: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background-color: var(--bg); }
.mp-stage { position: relative; height: 300px; display: grid; place-items: center; overflow: hidden; }
.mp-stage .hero-art { width: 230px; }
.icon-pick.on { background: var(--brand-soft); color: var(--brand-text); box-shadow: inset 0 0 0 1.5px var(--brand); }
