/* Lửa Bếp — hướng thiết kế "phiếu bếp & biển sơn": giấy kem, than đá, một màu đỏ than cho hành động.
   Màu rút từ ảnh của chính quán: mặt đá đen dưới đĩa, tôm nướng đỏ cam, nồi đồng, giấy gói thịt. */
:root {
  --paper: #F1E9DA; --paper-2: #E7DCC8; --card: #FBF6EC; --card-2: #F5EEE1;
  --ink: #1E1915; --ink-2: #463C34; --muted: #6A5E53;
  --coal: #17120F; --coal-2: #231B16; --on-coal: #F3EADB; --on-coal-2: #BFB1A0;
  --ember: #C23B24; --ember-h: #A8311C; --ember-soft: #F6DCD1; --on-ember: #FFF8F1;
  --copper: #A2662F; --herb: #4F6E2E; --herb-soft: #E1E8D2; --amber: #9C6410; --amber-soft: #F5E6C6;
  --slip: #F4E8BE; --slip-ink: #2A2216; --slip-line: rgba(70, 50, 20, .16);
  --line: rgba(40, 28, 18, .10); --line-2: rgba(40, 28, 18, .18);
  --sh: 0 1px 0 rgba(60, 40, 20, .05), 0 18px 40px -28px rgba(60, 35, 15, .45);
  --f-d: 'Bricolage Grotesque', 'Be Vietnam Pro', system-ui, sans-serif;
  --f-b: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-m: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --r: 10px; --r-s: 7px; --sbw: 248px; --pad: 40px; --gap: 28px;
  --ease: cubic-bezier(.2, .8, .2, 1); --spring: cubic-bezier(.2, 1.3, .4, 1);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .25 0 0 0 0 .15 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  color-scheme: light;
}
[data-theme="dark"] {
  --paper: #13100D; --paper-2: #1B1612; --card: #1F1915; --card-2: #261F1A;
  --ink: #F2E9DB; --ink-2: #D5C8B7; --muted: #A99A88;
  --coal: #0D0A08; --coal-2: #1A1410;
  --ember: #E0533A; --ember-h: #EC6A51; --ember-soft: #3A1D15; --on-ember: #1A0905;
  --copper: #D39459; --herb: #9DBB70; --herb-soft: #222A18; --amber: #E2AA52; --amber-soft: #33270F;
  --slip: #E9DBAE; --slip-ink: #241C10;
  --line: rgba(255, 240, 220, .08); --line-2: rgba(255, 240, 220, .15);
  --sh: 0 1px 0 rgba(0, 0, 0, .3), 0 18px 40px -26px rgba(0, 0, 0, .9);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
html.locked { overflow: hidden; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.55 var(--f-b); -webkit-font-smoothing: antialiased; min-height: 100dvh; }
body::before { content: ""; position: fixed; inset: 0; background: var(--grain); opacity: .32; pointer-events: none; z-index: 0; mix-blend-mode: multiply; }
[data-theme="dark"] body::before { opacity: .5; mix-blend-mode: screen; filter: invert(1); opacity: .06; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
button:disabled { cursor: not-allowed; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-family: var(--f-d); font-weight: 700; letter-spacing: -.02em; line-height: 1.12; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid var(--ember); outline-offset: 2px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 200; background: var(--coal); color: var(--on-coal); padding: 12px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
.eyebrow { font: 600 13px/1.3 var(--f-m); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.eyebrow.on-dark { color: var(--on-coal-2); }
kbd { font: 600 12px var(--f-m); padding: 2px 7px; border-radius: 5px; background: var(--paper-2); color: var(--muted); }

/* ---------- shell ---------- */
.app { position: relative; z-index: 1; display: grid; grid-template-columns: var(--sbw) minmax(0, 1fr); min-height: 100dvh; }
.sb { position: sticky; top: 0; height: 100dvh; background: var(--coal); color: var(--on-coal); display: flex; flex-direction: column; padding: 22px 16px 18px; overflow-y: auto; }
.sb::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(243, 234, 219, .14); border-radius: 6px; pointer-events: none; box-shadow: inset 0 0 0 3px var(--coal), inset 0 0 0 4px rgba(243, 234, 219, .07); }
.sb-logo { display: flex; align-items: center; gap: 12px; padding: 10px 10px 22px; margin-bottom: 8px; border-bottom: 1px dashed rgba(243, 234, 219, .18); }
.lg-mark svg { width: 44px; height: 44px; color: var(--on-coal); }
.lg-t b { display: block; font: 800 25px/1 var(--f-d); letter-spacing: -.01em; text-transform: uppercase; }
.lg-t small { display: block; margin-top: 5px; font: 500 13px var(--f-b); color: var(--on-coal-2); }
.sb-nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.sb-g { font: 600 12.5px var(--f-m); letter-spacing: .08em; text-transform: uppercase; color: #9A8C7C; padding: 20px 12px 8px; }
.sb-sp { flex: 1; min-height: 20px; }
.sb-a { position: relative; display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 12px; border-radius: 8px; font-weight: 500; font-size: 15.5px; color: #D9CDBD; transition: background .2s var(--ease), color .2s; }
.sb-a:hover { background: rgba(243, 234, 219, .07); color: var(--on-coal); }
.sb-a.on { background: var(--on-coal); color: var(--coal); font-weight: 600; }
.sb-a.on .i { color: var(--ember); }
.sb-n { margin-left: auto; font: 600 13px var(--f-m); color: var(--on-coal-2); }
.sb-a.on .sb-n { color: var(--muted); }
.sb-foot { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 14px 10px 4px; border-top: 1px dashed rgba(243, 234, 219, .18); }
.sb-foot img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.sb-foot b { display: block; font-size: 14.5px; font-weight: 600; }
.sb-foot small { color: var(--on-coal-2); font-size: 13px; }
.col { min-width: 0; display: flex; flex-direction: column; }
.tb { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 20px; padding: 14px var(--pad); background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
html.scrolled .tb { box-shadow: 0 1px 0 var(--line); }
.tb-br { display: flex; background: var(--paper-2); border-radius: 999px; padding: 4px; }
.tb-b { min-height: 40px; padding: 0 18px; border-radius: 999px; font-weight: 600; font-size: 15px; white-space: nowrap; color: var(--ink-2); transition: background .25s var(--ease), color .2s; }
.tb-b:hover { color: var(--ink); }
.tb-b.on { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(40, 25, 10, .12); }
.tb-clock { display: flex; align-items: center; gap: 9px; color: var(--ink-2); }
.tb-clock b { font: 600 17px var(--f-m); color: var(--ink); }
.tb-clock em { font-style: normal; color: var(--muted); font-size: 14.5px; }
.tb-r { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.tb-k { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px 0 14px; border-radius: 999px; background: var(--card); color: var(--muted); font-size: 14.5px; min-width: 300px; box-shadow: inset 0 0 0 1px var(--line); }
.tb-k kbd { margin-left: auto; }
.tb-k:hover { color: var(--ink); }
.tb-i { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--ink-2); transition: background .2s; }
.tb-i:hover { background: var(--paper-2); color: var(--ink); }
.tb-i.on { background: var(--ink); color: var(--paper); }
.tb-lang { font: 700 13.5px var(--f-m); }
.main { padding: 12px var(--pad) 40px; max-width: 1480px; width: 100%; outline: none; }
.tabbar { display: none; }

/* ---------- page head ---------- */
.ph { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin: 18px 0 30px; }
.ph h1 { font-size: clamp(32px, 3.4vw, 44px); margin-top: 8px; }
.ph-sub { margin-top: 10px; color: var(--ink-2); font-size: 16.5px; max-width: 62ch; }
.ph-r { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

/* ---------- atoms ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 0 20px; border-radius: 999px; font-weight: 600; font-size: 15.5px; transition: transform .18s var(--ease), background .2s, color .2s, box-shadow .2s; white-space: nowrap; }
.btn:active:not(:disabled) { transform: scale(.97); }
.btn.pri { background: var(--ember); color: var(--on-ember); }
.btn.pri:hover:not(:disabled) { background: var(--ember-h); }
.btn.ink { background: var(--ink); color: var(--paper); }
.btn.ghost { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-2); color: var(--ink); }
.btn.ghost:hover:not(:disabled) { background: var(--paper-2); }
.btn.danger { background: var(--ember); color: var(--on-ember); }
.btn.danger.ghost { background: transparent; color: var(--ember); box-shadow: inset 0 0 0 1.5px currentColor; }
.btn:disabled { opacity: .42; }
.btn.lg { min-height: 54px; padding: 0 26px; font-size: 16.5px; }
.btn.sm { min-height: 44px; padding: 0 16px; font-size: 14.5px; }
.btn.wide { width: 100%; }
.lnk { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; font-weight: 600; font-size: 15px; color: var(--ember-h); white-space: nowrap; }
[data-theme="dark"] .lnk { color: var(--ember-h); }
.lnk .i { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.lnk:hover .i { transform: translateX(3px); }
.card { background: var(--card); border-radius: var(--r); padding: 30px; box-shadow: var(--sh); }
.c-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 22px; }
.c-h h2, .card > h2 { font-size: 23px; }
.c-sub { margin-top: 6px; color: var(--muted); font-size: 15px; }
.chip { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--card); font-weight: 500; font-size: 15px; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); transition: background .2s, color .2s; }
.chip em { font: 600 13.5px var(--f-m); font-style: normal; color: var(--muted); }
.chip.on { background: var(--ink); color: var(--paper); box-shadow: none; }
.chip.on em { color: inherit; opacity: .7; }
.chip.sm { min-height: 38px; font-size: 14px; padding: 0 13px; }
.tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; min-height: 44px; padding: 0 16px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--muted); transition: background .2s, color .2s; }
.tab em { font: 600 13px var(--f-m); font-style: normal; margin-left: 3px; opacity: .8; }
.tab:hover { color: var(--ink); }
.tab.on { background: var(--ink); color: var(--paper); }
.seg { display: inline-flex; background: var(--paper-2); border-radius: 999px; padding: 4px; gap: 2px; flex-wrap: wrap; }
.seg [role="radio"] { min-height: 40px; padding: 0 16px; border-radius: 999px; font-weight: 600; font-size: 14.5px; color: var(--ink-2); transition: background .2s, color .2s; }
.seg [aria-checked="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(40, 25, 10, .14); }
.srch { position: relative; display: flex; align-items: center; flex: 1; min-width: 180px; max-width: 300px; }
.srch .i { position: absolute; left: 15px; color: var(--muted); pointer-events: none; }
.srch input, .inp, .sort select, .sel-t select { width: 100%; min-height: 46px; border-radius: 999px; border: 0; background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); padding: 0 16px 0 44px; font-size: 15.5px; outline: none; transition: box-shadow .2s; }
.inp { padding: 0 16px; border-radius: 8px; }
.srch input:focus, .inp:focus, select:focus { box-shadow: inset 0 0 0 2px var(--ember); }
.inp[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--ember); background: var(--ember-soft); }
.sort select, .sel-t select { padding: 0 38px 0 16px; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236A5E53' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; cursor: pointer; }
.fld { display: flex; flex-direction: column; gap: 7px; flex: 1; min-width: 0; }
.fld > span, .fd-l { font-weight: 600; font-size: 14px; color: var(--ink-2); }
.fr { display: flex; gap: 16px; flex-wrap: wrap; }
.fr .fld { min-width: 180px; }
.err { color: var(--ember-h); font-weight: 600; font-size: 14.5px; }
.step { display: inline-flex; align-items: center; background: var(--paper-2); border-radius: 999px; padding: 4px; }
.step button { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); transition: background .2s, transform .15s; }
.step button:hover { background: var(--card); }
.step button:active { transform: scale(.92); }
.step output { min-width: 40px; text-align: center; font: 700 18px var(--f-m); }
.step.sm button { width: 36px; height: 36px; }
.step.sm button .i { width: 17px; height: 17px; }
.step.sm output { min-width: 26px; font-size: 15px; }
.pill { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 999px; font-weight: 600; font-size: 13.5px; white-space: nowrap; background: var(--paper-2); color: var(--ink-2); }
.hint { display: flex; align-items: center; gap: 8px; margin-top: 20px; color: var(--muted); font-size: 14.5px; }
.empty { text-align: center; padding: 40px 20px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.empty img { width: 180px; height: 130px; object-fit: cover; border-radius: var(--r); margin-bottom: 8px; filter: saturate(.85); }
.empty h3 { font-size: 21px; }
.empty p { color: var(--muted); max-width: 40ch; }
.empty .btn { margin-top: 8px; }
.empty.sm { padding: 18px 0; flex-direction: row; text-align: left; gap: 16px; }
.empty.sm img { width: 72px; height: 72px; margin: 0; }

/* reveal */
[data-rv] { opacity: 0; transform: translateY(18px); transition: opacity .55s var(--ease) var(--d, 0ms), transform .6s var(--ease) var(--d, 0ms); }
[data-rv].in { opacity: 1; transform: none; }
.dish[data-rv] { clip-path: inset(12% 0 0 0 round var(--r)); transition: opacity .5s var(--ease) var(--d, 0ms), clip-path .7s var(--ease) var(--d, 0ms), transform .3s var(--ease); transform: none; }
.dish[data-rv].in { clip-path: inset(0 0 0 0 round var(--r)); }

/* skeleton */
.skel { padding-top: 24px; display: flex; flex-direction: column; gap: 24px; }
.sk-row { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; }
.sk-row:last-child { grid-template-columns: repeat(3, 1fr); }
.sk { position: relative; overflow: hidden; background: var(--paper-2); border-radius: var(--r); }
.sk::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255, 250, 240, .55), transparent); animation: shim 1.1s infinite; }
[data-theme="dark"] .sk::after { background: linear-gradient(90deg, transparent, rgba(255, 240, 220, .06), transparent); }
@keyframes shim { to { transform: translateX(100%); } }
.sk-h { height: 70px; width: 46%; }
.sk-b { height: 340px; }
.sk-c { height: 220px; }

/* toast */
#toasts { position: fixed; right: 24px; bottom: 24px; z-index: 300; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 12px; max-width: 420px; padding: 14px 16px 14px 18px; border-radius: 10px; background: var(--coal); color: var(--on-coal); font-size: 15px; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .5); transform: translateY(14px) scale(.97); opacity: 0; transition: transform .38s var(--spring), opacity .25s; }
[data-theme="dark"] .toast { background: #F2E9DB; color: #17120F; }
.toast.in { transform: none; opacity: 1; }
.toast .i { color: #F07B5E; }
.toast.err .i { color: #F2B75A; }
.t-undo { margin-left: 6px; min-height: 36px; padding: 0 12px; border-radius: 999px; font-weight: 700; font-size: 14px; color: #F49A80; box-shadow: inset 0 0 0 1px rgba(244, 154, 128, .5); }
[data-theme="dark"] .t-undo { color: var(--ember); }
#tip { position: fixed; z-index: 400; pointer-events: none; background: var(--coal); color: var(--on-coal); font: 500 13.5px/1.4 var(--f-b); padding: 8px 12px; border-radius: 7px; max-width: 280px; }
[data-theme="dark"] #tip { background: #F2E9DB; color: #17120F; }

/* sheets */
.sheet-wrap { position: fixed; inset: 0; z-index: 100; display: grid; }
.scrim { position: absolute; inset: 0; background: rgba(18, 12, 8, .48); opacity: 0; transition: opacity .3s var(--ease); }
.sheet-wrap.in .scrim { opacity: 1; }
.sheet { position: relative; background: var(--card); color: var(--ink); outline: none; overflow-y: auto; overscroll-behavior: contain; }
.sheet-wrap.center { place-items: center; padding: 20px; }
.sheet-wrap.center .sheet { width: min(560px, 100%); max-height: calc(100dvh - 40px); border-radius: 14px; padding: 36px; transform: translateY(20px) scale(.97); opacity: 0; transition: transform .42s var(--spring), opacity .25s; }
.sheet-wrap.side { justify-items: end; }
.sheet-wrap.side .sheet { width: min(480px, 100%); height: 100dvh; padding: 36px 32px; transform: translateX(40px); opacity: 0; transition: transform .45s var(--ease), opacity .3s; }
.sheet-wrap.in .sheet { transform: none; opacity: 1; }
.sh-x { position: absolute; top: 14px; right: 14px; z-index: 3; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--card); color: var(--ink); }
.sh-x:hover { background: var(--paper-2); }
.sh-t { font-size: 30px; margin: 6px 0 10px; }
.sh-p { color: var(--ink-2); font-size: 16px; }
.sh-act { display: flex; justify-content: flex-end; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.more-l { display: flex; flex-direction: column; gap: 4px; margin-top: 12px; }
.more-a { display: flex; align-items: center; gap: 14px; min-height: 58px; padding: 0 12px; border-radius: 10px; font-weight: 600; font-size: 17px; }
.more-a:hover { background: var(--paper-2); }
.more-a .i:last-child { margin-left: auto; color: var(--muted); }

/* ⌘K */
.sheet-wrap.pal { place-items: start center; padding-top: 12vh; }
.sheet-wrap.pal .sheet { padding: 10px; width: min(620px, 100%); }
.sheet-wrap.pal .sh-x { display: none; }
.pal-in { display: flex; align-items: center; gap: 12px; padding: 6px 14px; border-bottom: 1px solid var(--line); }
.pal-in .i { color: var(--muted); }
.pal-in input { flex: 1; min-height: 52px; border: 0; background: none; outline: none; font-size: 17px; }
.pal-l { padding: 8px 0 4px; max-height: 420px; overflow-y: auto; }
.pal-l li { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 6px 12px; border-radius: 9px; cursor: pointer; }
.pal-l li[aria-selected="true"], .pal-l li:hover { background: var(--paper-2); }
.pal-l img, .pal-ic { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex: none; }
.pal-ic { display: grid; place-items: center; background: var(--paper-2); }
.pal-t { flex: 1; font-weight: 600; }
.pal-l em { font-style: normal; color: var(--muted); font-size: 13.5px; }
.pal-0 { color: var(--muted); padding: 20px 12px; }

.flyer { position: fixed; z-index: 500; pointer-events: none; object-fit: cover; border-radius: 10px; margin: 0; }

/* bars */
.bars { display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 8px; height: 240px; align-items: end; padding-top: 30px; }
.bar-c { position: relative; height: 100%; display: flex; align-items: flex-end; justify-content: center; cursor: default; }
.bar-a, .bar-b { position: absolute; bottom: 28px; left: 14%; right: 14%; border-radius: 4px 4px 1px 1px; }
.bar-b { left: 6%; right: 6%; background: var(--paper-2); border-radius: 5px 5px 1px 1px; max-height: calc(100% - 28px); }
.bar-a { height: 0; background: var(--ink-2); opacity: .82; transition: height .9s var(--ease); max-height: calc(100% - 28px); }
.in .bar-a, .sheet .bar-a { height: calc((100% - 28px) * var(--h) / 100); }
.bar-c.hi .bar-a { background: var(--ember); opacity: 1; }
.bar-v { position: absolute; transform: translateY(-6px); margin-bottom: 28px; font: 700 14px var(--f-m); white-space: nowrap; color: var(--ink); }
.bar-c.hi .bar-v { color: var(--ember-h); }
.bar-l { position: absolute; bottom: 0; font: 500 13px var(--f-m); color: var(--muted); white-space: nowrap; }
.bar-c:hover .bar-a { opacity: 1; }

/* ---------- TỔNG QUAN ---------- */
.ov-hero { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: var(--gap); margin-top: 14px; }
.ov-fire { position: relative; min-height: 470px; border-radius: 14px; overflow: hidden; background: radial-gradient(120% 90% at 72% 62%, #3A1A10 0%, #1C120D 42%, #120D0A 100%); color: var(--on-coal); isolation: isolate; }
.ov-fire::after { content: ""; position: absolute; inset: 0; background: var(--grain); opacity: .12; mix-blend-mode: screen; pointer-events: none; }
.fire-stage { position: absolute; inset: 0; z-index: 0; }
.fire-poster { position: absolute; right: 6%; top: 50%; width: 46%; aspect-ratio: 1; transform: translateY(-46%); border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 110, 40, .55), rgba(194, 59, 36, .25) 45%, transparent 72%); filter: blur(4px); animation: breathe 4.5s ease-in-out infinite; transition: opacity .8s; }
.fire-stage.live .fire-poster { opacity: 0; }
@keyframes breathe { 50% { transform: translateY(-46%) scale(1.06); opacity: .8; } }
.fire-cv { position: absolute; inset: 0; width: 100% !important; height: 100% !important; opacity: 0; animation: fadein 1.2s var(--ease) .1s forwards; }
@keyframes fadein { to { opacity: 1; } }
.fire-copy { position: relative; z-index: 2; padding: 40px 44px; max-width: 470px; display: flex; flex-direction: column; height: 100%; pointer-events: none; }
.fire-copy a { pointer-events: auto; align-self: flex-start; margin-top: auto; }
.fire-l { margin-top: 26px; font-size: 17px; color: var(--on-coal-2); }
.fire-n { font: 800 clamp(52px, 6vw, 76px)/1 var(--f-d); letter-spacing: -.03em; margin-top: 8px; font-variant-numeric: tabular-nums; }
.fire-s { margin-top: 14px; color: var(--on-coal-2); font-size: 15.5px; }
.fire-s b { font: 700 15px var(--f-m); padding: 3px 8px; border-radius: 6px; margin-right: 4px; }
.fire-s b.up { background: rgba(157, 187, 112, .18); color: #B9D58E; }
.fire-s b.dn { background: rgba(240, 120, 90, .18); color: #F49A80; }
.fire-s.dk { color: var(--muted); }
.fire-s.dk b.up { background: var(--herb-soft); color: var(--herb); }
.fire-s.dk b.dn { background: var(--ember-soft); color: var(--ember-h); }
.fire-m { display: flex; gap: 34px; margin: 32px 0 34px; }
.fire-m b { display: block; font: 700 30px/1 var(--f-d); font-variant-numeric: tabular-nums; }
.fire-m span { display: block; margin-top: 6px; font-size: 14px; color: var(--on-coal-2); }
.ov-photo { margin: 0; position: relative; border-radius: 14px; overflow: hidden; min-height: 470px; background: var(--coal); color: #FFF6EA; }
.ph-img { position: absolute; inset: 0; overflow: hidden; }
.ph-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); will-change: transform; }
.ov-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(15, 9, 5, .86)); }
.ov-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 28px 30px; display: flex; flex-direction: column; gap: 4px; font-size: 15px; color: #E9DDCD; }
.ov-photo figcaption b { font: 700 26px var(--f-d); color: #FFF6EA; margin-bottom: 4px; }
.ov-photo .who { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding-top: 12px; border-top: 1px dashed rgba(255, 246, 234, .3); }
.ov-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); margin-top: var(--gap); }
.c-chart { grid-column: span 7; }
.c-slow { grid-column: span 5; }
.c-open { grid-column: span 7; }
.c-low { grid-column: span 5; }
.slow-l li, .low-l li { display: flex; align-items: center; gap: 16px; min-height: 72px; padding: 8px 0; }
.slow-l li + li, .low-l li + li, .open-l li + li { border-top: 1px solid var(--line); }
.slow-l img, .low-l img { width: 60px; height: 60px; border-radius: 9px; object-fit: cover; flex: none; }
.slow-l div, .low-l div { flex: 1; min-width: 0; }
.slow-l b, .low-l b, .open-l b { display: block; font-weight: 600; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slow-l span, .low-l span, .open-l span { color: var(--muted); font-size: 14.5px; }
.slow-l em, .low-l em { font: 700 16px var(--f-m); font-style: normal; color: var(--ink-2); white-space: nowrap; }
em.late, .slow-l em { color: var(--ember-h); }
.low-l em { font: 600 14.5px var(--f-b); }
.open-l a { display: flex; align-items: center; gap: 16px; min-height: 68px; padding: 8px 10px; margin: 0 -10px; border-radius: 9px; transition: background .2s; }
.open-l a:hover { background: var(--card-2); }
.open-l div { flex: 1; min-width: 0; }
.open-l em { font: 700 16px var(--f-m); font-style: normal; }
.tid { width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 10px; font: 700 16px var(--f-m); background: var(--ink); color: var(--paper); }
.tid.big { width: 64px; height: 64px; font-size: 19px; }

/* status colours (tables) */
.st-free { --sbg: var(--herb-soft); --sfg: var(--herb); }
.st-seated { --sbg: var(--ink); --sfg: var(--paper); }
.st-late { --sbg: var(--amber-soft); --sfg: var(--amber); }
.st-reserved { --sbg: var(--card); --sfg: var(--copper); }
.st-dirty { --sbg: var(--paper-2); --sfg: var(--muted); }
.st-merged { --sbg: var(--paper-2); --sfg: var(--ink-2); }
.st-all { --sbg: var(--paper-2); --sfg: var(--ink); }
.tid[class*="st-"], .pill[class*="st-"] { background: var(--sbg); color: var(--sfg); }
.tid.st-reserved, .pill.st-reserved { box-shadow: inset 0 0 0 2px var(--copper); }
.sw { width: 14px; height: 14px; border-radius: 4px; background: var(--sbg); box-shadow: inset 0 0 0 1.5px var(--sfg); }
.chip.on .sw { box-shadow: inset 0 0 0 1.5px currentColor; }

/* ---------- SƠ ĐỒ BÀN ---------- */
.flt { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.fl-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: var(--gap); align-items: start; }
.fl-scroll { overflow-x: auto; border-radius: 14px; }
.floor { position: relative; min-width: 640px; aspect-ratio: 16 / 10.5; background: var(--card); border-radius: 14px; box-shadow: var(--sh); touch-action: none; user-select: none; -webkit-user-select: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 4% 6%; background-position: -1px -1px; }
.fl-z { position: absolute; border-radius: 10px; border: 1.5px dashed var(--line-2); }
.fl-z span { position: absolute; left: 12px; top: -11px; padding: 0 8px; background: var(--card); font: 600 12.5px var(--f-m); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.tb-t { position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-radius: 10px; background: var(--sbg); color: var(--sfg); box-shadow: 0 1px 0 rgba(40, 25, 10, .06), 0 6px 14px -10px rgba(40, 25, 10, .5); transition: transform .3s var(--spring), box-shadow .2s, opacity .3s, outline-color .2s; cursor: grab; touch-action: none; outline: 3px solid transparent; outline-offset: 3px; }
.tb-t.sh-r { border-radius: 50%; }
.tb-t.sh-c { border-radius: 50%; }
.tb-t b { font: 700 17px/1 var(--f-m); }
.tb-t span { font-size: 13px; font-weight: 500; opacity: .85; white-space: nowrap; }
.tb-t .gs { position: absolute; top: -8px; right: -8px; min-width: 24px; height: 24px; padding: 0 6px; display: grid; place-items: center; border-radius: 999px; background: var(--card); color: var(--ink); font: 700 12.5px var(--f-m); font-style: normal; box-shadow: 0 0 0 2px var(--sbg); }
.tb-t.st-reserved { box-shadow: inset 0 0 0 2px var(--copper); }
.tb-t.st-dirty { background-image: repeating-linear-gradient(135deg, transparent 0 6px, rgba(100, 80, 60, .1) 6px 8px); }
.tb-t.st-merged { box-shadow: inset 0 0 0 2px var(--line-2); opacity: .9; }
.tb-t.st-late::after { content: ""; position: absolute; inset: -5px; border-radius: inherit; border: 2px solid var(--amber); animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.12); } }
.tb-t:hover { transform: translateY(-2px); }
.tb-t.sel { outline-color: var(--ember); }
.tb-t.dim { opacity: .22; }
.tb-t.drag { z-index: 5; cursor: grabbing; transition: none; box-shadow: 0 26px 40px -18px rgba(40, 20, 10, .6); }
.tb-t.drop { outline: 3px dashed var(--ember); outline-offset: 5px; transform: scale(1.06); }
.fl-detail { position: sticky; top: 92px; min-height: 420px; padding: 30px; }
.fd-empty { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.fd-empty img { width: 100%; height: 180px; object-fit: cover; border-radius: 10px; margin-bottom: 8px; }
.fd-empty h3 { font-size: 22px; }
.fd-empty p { color: var(--muted); font-size: 15px; }
.fd-h { display: flex; align-items: center; gap: 16px; padding-right: 30px; flex-wrap: wrap; }
.fd-h > div { flex: 1; min-width: 120px; }
.fd-h h3 { font-size: 24px; }
.fd-h p { color: var(--muted); font-size: 14.5px; margin-top: 3px; }
.fd-p { margin: 22px 0 0; color: var(--ink-2); }
.fd-dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 24px 0 6px; }
.fd-dl div { background: var(--card-2); border-radius: 9px; padding: 14px; }
.fd-dl dt { font-size: 13px; color: var(--muted); }
.fd-dl dd { margin: 4px 0 0; font: 700 17px var(--f-d); }
.fd-items { margin-top: 18px; max-height: 340px; overflow-y: auto; }
.fd-items li { display: flex; align-items: center; gap: 14px; min-height: 64px; }
.fd-items li + li { border-top: 1px solid var(--line); }
.fd-items img { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; }
.fd-items div { flex: 1; min-width: 0; }
.fd-items b { display: block; font-weight: 600; font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fd-items span { font-size: 13.5px; color: var(--muted); }
.fd-items em { font: 700 15px var(--f-m); font-style: normal; }
.fd-items .none { color: var(--muted); }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.dot.ok { background: var(--herb); }
.dot.wait { background: var(--amber); box-shadow: 0 0 0 4px var(--amber-soft); }
.fd-tot { display: flex; justify-content: space-between; align-items: baseline; margin-top: 18px; padding-top: 18px; border-top: 2px dashed var(--line-2); }
.fd-tot span { color: var(--ink-2); }
.fd-tot b { font: 800 26px var(--f-d); font-variant-numeric: tabular-nums; }
.fd-act { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.fd-act .btn.lg { flex: 1 1 100%; }
.fd-act .btn.ghost { flex: 1; }
.fd-open { margin-top: 26px; display: flex; align-items: center; justify-content: space-between; }

/* receipt (bill) */
.sheet-wrap.bill .sheet { background: var(--paper); }
.rcpt { background: #FFFDF7; color: #1E1915; padding: 30px 28px 34px; font-family: var(--f-m); font-size: 14.5px; position: relative; box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .5);
  -webkit-mask: radial-gradient(circle 7px at 50% 100%, transparent 98%, #000) 0 0 / 18px 100% repeat-x; mask: radial-gradient(circle 7px at 50% 100%, transparent 98%, #000) 0 0 / 18px 100% repeat-x; }
.rc-top { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 3px; padding-bottom: 16px; border-bottom: 1.5px dashed #BDB1A0; }
.rc-top svg { width: 40px; height: 40px; color: #1E1915; }
.rc-top b { font: 800 22px var(--f-d); letter-spacing: .06em; }
.rc-top span { font-size: 13px; color: #5E5247; }
.rc-l, .rc-s { padding: 14px 0; }
.rc-l li, .rc-s li { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.rc-s { border-top: 1.5px dashed #BDB1A0; }
.rc-s .tot { font-size: 18px; font-weight: 700; padding-top: 10px; }
.rc-th { text-align: center; font-size: 13px; color: #5E5247; padding-top: 12px; border-top: 1.5px dashed #BDB1A0; }

/* ---------- GỌI MÓN ---------- */
.om { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; }
.om-tools { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 24px; }
.om-tools .tabs { flex: 1 1 auto; min-width: 0; }
.dishes { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 22px; }
.dish { position: relative; background: var(--card); border-radius: var(--r); box-shadow: var(--sh); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; will-change: transform; }
.dish::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255, 250, 240, .35) 50%, transparent 65%); background-size: 250% 100%; background-position: calc(100% - var(--gx, 0%)) 0; opacity: 0; transition: opacity .3s; }
.dish:hover::after { opacity: 1; }
.dish-b { display: block; width: 100%; text-align: left; }
.dish-img { aspect-ratio: 4 / 3.2; overflow: hidden; background: var(--coal); }
.dish-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.dish:hover .dish-img img { transform: scale(1.05); }
.dish-t { padding: 18px 20px 22px; }
.dish-t h3 { font-size: 19px; }
.dish-t p { margin-top: 6px; font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dish-t b { display: flex; align-items: center; min-height: 46px; margin-top: 10px; font: 700 16px var(--f-m); }
.dish-add { position: absolute; right: 16px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); transition: transform .2s var(--spring), background .2s; }
.dish-add:hover { background: var(--ember); color: var(--on-ember); transform: scale(1.06); }
.dish-add:active { transform: scale(.94); }
.om-rc { position: sticky; top: 92px; }
.rcpt-s { background: #FFFCF4; color: #1E1915; padding: 28px 26px 36px; box-shadow: var(--sh);
  -webkit-mask: radial-gradient(circle 7px at 50% 100%, transparent 98%, #000) 0 0 / 18px 100% repeat-x; mask: radial-gradient(circle 7px at 50% 100%, transparent 98%, #000) 0 0 / 18px 100% repeat-x; border-radius: 10px 10px 0 0; }
[data-theme="dark"] .rcpt-s { background: #EFE5D3; }
.rcpt-s .eyebrow { color: #6A5E53; }
.rc-head { display: flex; flex-direction: column; gap: 12px; padding-bottom: 18px; border-bottom: 1.5px dashed #C3B6A3; }
.sel-t select { background-color: #fff; color: #1E1915; box-shadow: inset 0 0 0 1.5px #CDBFAA; font-weight: 600; border-radius: 8px; }
.cart-l { padding: 6px 0; max-height: 46vh; overflow-y: auto; }
.cart-l li { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; }
.cart-l li + li { border-top: 1px dashed #D8CCB9; }
.cart-l img { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; }
.cl-t b { display: block; font-weight: 600; font-size: 15px; line-height: 1.3; }
.cl-t span { display: block; font-size: 13px; color: #6A5E53; }
.cl-t em { font: 700 14px var(--f-m); font-style: normal; }
.rcpt-s .step { background: #EFE6D5; }
.rcpt-s .step button { color: #1E1915; }
.rcpt-s .step button:hover { background: #fff; }
.cart-0 { display: flex; gap: 16px; align-items: center; padding: 22px 0; color: #5E5247; font-size: 15px; }
.cart-0 img { width: 76px; height: 76px; border-radius: 10px; object-fit: cover; flex: none; }
.sent { margin-top: 4px; padding: 12px 0; border-top: 1px dashed #D8CCB9; font-size: 14.5px; }
.sent summary { cursor: pointer; min-height: 36px; display: flex; align-items: center; font-weight: 600; color: #5E5247; }
.sent li { display: flex; justify-content: space-between; padding: 4px 0; color: #5E5247; }
.sent em { font-style: normal; font-size: 13px; }
.rc-foot .fd-tot { border-top-color: #C3B6A3; }
.rc-foot .fd-tot span { color: #463C34; }
.rc-foot .err { margin: 12px 0 0; }
.rc-foot .btn { margin-top: 18px; }
.rcpt-s .btn.pri { background: #C23B24; color: #FFF8F1; }
.om-bar { display: none; }
.sheet-wrap.cart .sheet { background: var(--paper); padding: 56px 18px 24px; }
.sheet-wrap.cart .rcpt-s { box-shadow: none; }
/* dish sheet */
.sheet-wrap.dish-sh .sheet { width: min(860px, 100%); padding: 0; display: block; }
.dish-sh .sh-body { display: grid; grid-template-columns: 1fr 1fr; }
.ds-img { background: var(--coal); min-height: 100%; }
.ds-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.ds-b { padding: 40px 36px 34px; display: flex; flex-direction: column; }
.ds-d { color: var(--ink-2); font-size: 16px; }
.ds-o { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.qn { display: flex; flex-wrap: wrap; gap: 6px; }
.ds-f { display: flex; gap: 12px; align-items: center; margin-top: auto; padding-top: 28px; flex-wrap: wrap; }
.ds-f .btn { flex: 1; }

/* ---------- MÀN HÌNH BẾP ---------- */
.kds-sum { display: inline-flex; gap: 22px; flex-wrap: wrap; }
.kds-sum b { font: 800 22px var(--f-d); margin-right: 4px; color: var(--ink); }
.kds-sum .late b { color: var(--ember-h); }
.kds { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(214px, 1fr); gap: 14px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x proximity; }
.lane { background: var(--paper-2); border-radius: 12px; padding: 14px 12px; min-height: 520px; scroll-snap-align: start; display: flex; flex-direction: column; }
.ln-h { display: flex; flex-direction: column; gap: 2px; padding: 4px 4px 14px; }
.ln-h h2 { font-size: 22px; text-transform: uppercase; letter-spacing: .02em; }
.ln-h span { font-size: 14px; color: var(--muted); }
.ln-b { display: flex; flex-direction: column; gap: 14px; flex: 1; }
.ln-0 { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 28px 10px; text-align: center; color: var(--muted); font-size: 14.5px; }
.ln-0 img { width: 100%; height: 110px; object-fit: cover; border-radius: 9px; opacity: .85; }
.lane.done { background: transparent; box-shadow: inset 0 0 0 2px var(--line-2); transition: background .25s, box-shadow .25s; background-image: repeating-linear-gradient(135deg, transparent 0 10px, var(--line) 10px 11px); }
.lane.done.over { background-color: var(--herb-soft); box-shadow: inset 0 0 0 3px var(--herb); }
.lane.done .ln-h h2 { color: var(--herb); }
.slip { position: relative; background: var(--slip); color: var(--slip-ink); padding: 20px 13px 14px 16px; border-radius: 3px 3px 6px 6px; box-shadow: 0 1px 0 rgba(60, 40, 10, .08), 0 10px 20px -14px rgba(60, 40, 10, .55); cursor: grab; touch-action: none; transition: transform .3s var(--ease), box-shadow .2s; user-select: none; -webkit-user-select: none; }
.slip::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 9px; background: radial-gradient(circle at 6px 0, transparent 4px, var(--slip) 4.5px) 0 0 / 12px 9px repeat-x; transform: translateY(-5px); }
.slip::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; border-radius: 3px 0 0 6px; background: var(--lv, #8A9A5B); }
.slip.lv-ok { --lv: #6F8A3D; }
.slip.lv-warn { --lv: #D08A1A; }
.slip.lv-late { --lv: #C23B24; box-shadow: 0 0 0 2px #C23B24, 0 10px 20px -14px rgba(60, 40, 10, .55); }
.slip.lv-done { opacity: .78; --lv: #6F8A3D; }
.slip.drag { z-index: 50; cursor: grabbing; transition: none; box-shadow: 0 30px 50px -20px rgba(30, 15, 5, .6); }
.slip:focus-visible { outline-offset: 4px; }
.sl-h { display: flex; align-items: baseline; gap: 10px; }
.sl-no { font: 600 13.5px var(--f-m); color: #6B5A3E; }
.sl-t { font: 800 19px var(--f-d); white-space: nowrap; }
.sl-c { margin-left: auto; font: 700 18px var(--f-m); font-style: normal; font-variant-numeric: tabular-nums; }
.lv-late .sl-c { color: #A8311C; }
.lv-warn .sl-c { color: #8A5A0C; }
.lv-done .sl-c { font-size: 14px; color: #4F6E2E; }
.sl-m { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 13px; color: #6B5A3E; padding-bottom: 10px; border-bottom: 1.5px dashed var(--slip-line); }
.stag { font: 700 12.5px var(--f-m); letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; border: 1.5px solid currentColor; transform: rotate(-2deg); }
.s-nuong { color: #A8311C; } .s-lau { color: #8A5A0C; } .s-lanh { color: #2F5E6E; } .s-bar { color: #5D3E78; }
.sl-l { padding: 8px 0 12px; }
.sl-i { display: grid; grid-template-columns: 38px minmax(0, 1fr) 24px; gap: 10px; align-items: center; width: 100%; min-height: 54px; padding: 6px 0; text-align: left; border-radius: 6px; }
.sl-i:hover:not(:disabled) { background: rgba(255, 255, 255, .4); }
.sl-i img { width: 38px; height: 38px; border-radius: 6px; object-fit: cover; }
.sl-q { font: 800 15.5px var(--f-m); }
.sl-n { font-weight: 600; font-size: 15px; line-height: 1.3; }
.sl-n small { display: block; font-weight: 500; font-size: 13px; color: #6B5A3E; }
.sl-n small.note { color: #A8311C; font-weight: 700; }
.box { width: 24px; height: 24px; border-radius: 6px; border: 2px solid #8C7B5E; display: grid; place-items: center; }
.box .i { width: 16px; height: 16px; stroke-width: 2.6; opacity: 0; transform: scale(.4); transition: transform .25s var(--spring), opacity .15s; }
.sl-i.ok .box { background: #4F6E2E; border-color: #4F6E2E; color: #fff; }
.sl-i.ok .box .i { opacity: 1; transform: none; }
.sl-i.ok .sl-n, .sl-i.ok .sl-q { text-decoration: line-through; text-decoration-thickness: 2px; opacity: .55; }
.slip .btn.ink { background: #2A2216; color: #F4E8BE; }
.slip .btn.ghost { color: #2A2216; box-shadow: inset 0 0 0 1.5px rgba(42, 34, 22, .3); }

/* ---------- KHO ---------- */
.kho { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 36px; align-items: start; }
.stk { background: var(--card); border-radius: var(--r); box-shadow: var(--sh); padding: 6px 10px; }
.stk li + li { border-top: 1px solid var(--line); }
.stk-r { display: grid; grid-template-columns: 60px minmax(0, 1.4fr) minmax(0, 1fr) 84px 20px; gap: 18px; align-items: center; width: 100%; min-height: 84px; padding: 10px 12px; text-align: left; border-radius: 8px; transition: background .2s; }
.stk-r:hover { background: var(--card-2); }
.stk-r img { width: 60px; height: 60px; border-radius: 9px; object-fit: cover; }
.stk-n b { display: block; font-weight: 600; font-size: 16px; line-height: 1.3; }
.stk-n span { font-size: 14px; color: var(--muted); }
.stk-m { display: flex; flex-direction: column; gap: 8px; }
.stk-m span { font-size: 13.5px; color: var(--muted); font-weight: 500; }
.stk-m span.k-low { color: var(--ember-h); font-weight: 600; }
.stk-m span.k-watch { color: var(--amber); font-weight: 600; }
.stk-n span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meter { position: relative; height: 8px; border-radius: 99px; background: var(--paper-2); }
.meter i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: inherit; background: var(--ink-2); }
.meter.st-low i { background: var(--ember); }
.meter.st-watch i { background: var(--amber); }
.meter u { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--ink); opacity: .45; }
.stk-q { text-align: right; }
.stk-q b { display: block; font: 700 20px var(--f-m); font-variant-numeric: tabular-nums; }
.stk-q span { font-size: 13.5px; color: var(--muted); }
.stk-c { color: var(--muted); }
.pill.k-low { background: var(--ember-soft); color: var(--ember-h); }
.pill.k-watch { background: var(--amber-soft); color: var(--amber); }
.pill.k-ok { background: var(--herb-soft); color: var(--herb); }
.kho-po { position: sticky; top: 92px; }
.po { background: var(--card-2); border-radius: 10px; padding: 20px; transition: opacity .3s, transform .3s var(--ease); }
.po + .po { margin-top: 16px; }
.po.gone { opacity: 0; transform: translateX(30px); }
.po header b { display: block; font-weight: 700; font-size: 16px; }
.po header span { font-size: 13.5px; color: var(--muted); }
.po ul { margin: 14px 0; }
.po li { display: flex; align-items: center; gap: 12px; min-height: 58px; }
.po li + li { border-top: 1px dashed var(--line-2); }
.po li img { width: 44px; height: 44px; border-radius: 7px; object-fit: cover; }
.po li > span { flex: 1; font-size: 15px; font-weight: 500; line-height: 1.3; }
.po-q { display: flex; align-items: center; gap: 6px; }
.po-q input { width: 76px; min-height: 42px; border: 0; border-radius: 8px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); text-align: right; padding: 0 10px; font: 600 15px var(--f-m); }
.po-q input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ember); }
.po-q em { font-style: normal; font-size: 13.5px; color: var(--muted); width: 32px; }
.po footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.po footer b { font: 700 16px var(--f-m); }
.po-h { font-size: 18px; margin: 28px 0 8px; }
.po-sent li { display: flex; align-items: center; gap: 12px; padding: 14px 0; justify-content: space-between; }
.po-sent li + li { border-top: 1px solid var(--line); }
.po-sent b { display: block; font-size: 15px; }
.po-sent span { font-size: 13.5px; color: var(--muted); }
.nl-img { margin: -36px -32px 24px; aspect-ratio: 16 / 10; overflow: hidden; background: var(--coal); }
.nl-img img { width: 100%; height: 100%; object-fit: cover; }
.nl-k { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0 8px; }
.nl-k div { background: var(--card-2); border-radius: 9px; padding: 14px; }
.nl-k b { display: block; font: 800 22px var(--f-d); }
.nl-k span { font-size: 13px; color: var(--muted); }
.nl-h { font-size: 18px; margin: 28px 0 12px; }
.nl .bars { height: 170px; gap: 4px; }
.nl .bar-l { font-size: 11px; }
.nl-f { display: flex; flex-direction: column; gap: 16px; }
.nl-log li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; padding: 12px 0; align-items: baseline; font-size: 14.5px; }
.nl-log li + li { border-top: 1px solid var(--line); }
.nl-log b { font-family: var(--f-m); }
.nl-log span, .nl-log em { color: var(--muted); font-style: normal; }

/* ---------- BÁO CÁO ---------- */
.rp-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); gap: var(--gap); }
.rp-big { background: var(--coal); color: var(--on-coal); display: flex; flex-direction: column; }
[data-theme="dark"] .rp-big { background: var(--card-2); }
.rp-big .eyebrow { color: var(--on-coal-2); }
.big-n { font: 800 clamp(46px, 4.6vw, 64px)/1 var(--f-d); letter-spacing: -.03em; margin-top: 18px; font-variant-numeric: tabular-nums; }
.rp-big .fire-s { color: var(--on-coal-2); }
.rp-fc { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: auto; padding-top: 30px; border-top: 1px dashed rgba(243, 234, 219, .22); }
.rp-fc b { display: block; font: 700 28px var(--f-d); }
.rp-fc span { font-size: 14px; color: var(--on-coal-2); }
.rp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin-top: var(--gap); }
.top-l li { display: grid; grid-template-columns: 26px 60px minmax(0, 1fr) auto; gap: 14px; align-items: center; min-height: 78px; }
.top-l li + li { border-top: 1px solid var(--line); }
.rk { font: 700 15px var(--f-m); color: var(--muted); }
.top-l img { width: 60px; height: 60px; border-radius: 9px; object-fit: cover; }
.top-l b { display: block; font-weight: 600; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-l span { display: block; font-size: 13.5px; color: var(--muted); }
.top-l em { font: 700 16px var(--f-m); font-style: normal; }
.tl { display: block; height: 5px; border-radius: 9px; background: var(--paper-2); margin-top: 8px; overflow: hidden; }
.tl i { display: block; height: 100%; background: var(--ink-2); border-radius: inherit; }
.top-l li:first-child .tl i { background: var(--ember); }
.brc li { display: flex; gap: 18px; align-items: center; padding: 16px 0; }
.brc li + li { border-top: 1px solid var(--line); }
.brc img { width: 76px; height: 76px; border-radius: 10px; object-fit: cover; flex: none; }
.brc-b { flex: 1; min-width: 0; }
.brc-t { display: flex; justify-content: space-between; gap: 10px; }
.brc-t b { font-weight: 700; font-size: 16.5px; }
.brc-t em { font: 700 17px var(--f-m); font-style: normal; }
.brc-s { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 8px; font-size: 14px; color: var(--muted); }
.fc { font-weight: 600; color: var(--herb); }
.fc.over { color: var(--ember-h); }
.fcbar { position: relative; height: 6px; background: var(--paper-2); border-radius: 9px; margin-top: 8px; }
.fcbar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 9px; background: var(--herb); }
.fcbar i.over { background: var(--ember); }
.fcbar u { position: absolute; top: -5px; bottom: -5px; width: 2px; background: var(--ink); }

/* ---------- CÀI ĐẶT ---------- */
.set { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.set-br { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.3fr; gap: 0; padding: 0; overflow: hidden; }
.set-ph img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
.set-f { padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.set-f h2 { font-size: 24px; }
.set-f .btn { align-self: flex-start; }
.set-st { margin-top: 18px; }
.set-st li { display: flex; align-items: center; gap: 14px; min-height: 64px; }
.set-st li + li { border-top: 1px solid var(--line); }
.set-st b { flex: 1; font-weight: 600; font-size: 16px; }
.set-st span { color: var(--muted); font-size: 14px; width: 36px; }
.set-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; min-height: 68px; }
.set-row + .set-row { border-top: 1px solid var(--line); }
.set-row > span { font-weight: 600; }
.card > h2 + .set-row { margin-top: 12px; }
.set-about { grid-column: 1 / -1; display: flex; gap: 28px; align-items: center; }
.set-about img { width: 116px; height: 116px; border-radius: 26px; object-fit: cover; flex: none; }
.set-about p { color: var(--ink-2); margin: 8px 0 18px; max-width: 70ch; }

/* concept footer */
.concept { margin-top: 64px; padding-top: 22px; border-top: 1px dashed var(--line-2); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.concept a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- responsive ---------- */
@media (max-width: 1279px) {
  :root { --pad: 28px; --sbw: 222px; }
  .tb-k { min-width: 0; }
  .tb-k span, .tb-k kbd { display: none; }
  .ov-grid > .card { grid-column: span 12; }
  .om { grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; }
  .kho { grid-template-columns: minmax(0, 1fr); }
  .kho-po { position: static; }
}
@media (max-width: 1023px) {
  :root { --pad: 20px; --gap: 20px; }
  .app { grid-template-columns: minmax(0, 1fr); }
  .sb { display: none; }
  .tb { padding: 10px var(--pad); gap: 12px; }
  .tb-clock em { display: none; }
  .main { padding-bottom: 110px; }
  .tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: repeat(5, 1fr); background: var(--coal); color: #CDBFAE; padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); }
  .tabbar a, .tabbar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 56px; border-radius: 10px; font-size: 12.5px; font-weight: 600; color: inherit; }
  .tabbar .on { color: var(--on-coal); background: rgba(243, 234, 219, .1); }
  .tabbar .on .i { color: #F07B5E; }
  #toasts { left: 16px; right: 16px; bottom: 90px; align-items: stretch; }
  .ov-hero { grid-template-columns: minmax(0, 1fr); }
  .ov-photo { min-height: 260px; }
  .fl-wrap { grid-template-columns: minmax(0, 1fr); }
  .fl-detail { display: none; }
  .om { grid-template-columns: minmax(0, 1fr); }
  .om-rc { display: none; }
  .om-bar { position: fixed; left: 12px; right: 12px; bottom: calc(80px + env(safe-area-inset-bottom)); z-index: 55; display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 0 18px 0 8px; border-radius: 999px; background: var(--ink); color: var(--paper); box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .55); transform: translateY(140%); transition: transform .4s var(--spring); }
  .om-bar.has { transform: none; }
  .ob-n { width: 42px; height: 42px; border-radius: 50%; background: var(--ember); color: var(--on-ember); display: grid; place-items: center; font: 700 16px var(--f-m); }
  .ob-t { font-weight: 600; }
  .ob-go { margin-left: auto; display: flex; align-items: center; gap: 4px; font-weight: 700; }
  .sheet-wrap.side .sheet, .sheet-wrap.fdet .sheet { width: 100%; }
  .sheet-wrap.fdet, .sheet-wrap.more { place-items: end stretch; padding: 0; }
  .sheet-wrap.fdet .sheet, .sheet-wrap.more .sheet { width: 100%; max-height: 88dvh; border-radius: 18px 18px 0 0; padding: 28px 22px calc(28px + env(safe-area-inset-bottom)); transform: translateY(40px); }
  .rp-top, .rp-grid, .set { grid-template-columns: minmax(0, 1fr); }
  .set-br { grid-template-columns: minmax(0, 1fr); }
  .set-ph img { min-height: 0; aspect-ratio: 16 / 8; }
}
@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .card { padding: 22px; }
  .tb-br { flex: 1; }
  .tb-b { flex: 1; padding: 0 8px; font-size: 14px; }
  .tb-clock { display: none; }
  .tb-i[data-act="motion"] { display: none; }
  .tb-i, .tb-k { width: 44px; min-width: 44px; padding: 0; justify-content: center; }
  .ph { margin: 10px 0 22px; }
  .ph h1 { font-size: 32px; }
  .ov-fire { min-height: 0; display: flex; flex-direction: column; }
  .fire-stage { position: relative; inset: auto; height: 260px; order: 0; }
  .fire-poster { right: 50%; transform: translate(50%, -46%); width: 70%; }
  @keyframes breathe { 50% { transform: translate(50%, -46%) scale(1.06); opacity: .8; } }
  .fire-copy { padding: 0 24px 28px; margin-top: -30px; max-width: none; }
  .fire-m { gap: 22px; margin: 24px 0 26px; }
  .fire-m b { font-size: 24px; }
  .fire-copy a { align-self: stretch; }
  .c-h { flex-wrap: wrap; }
  .bars { gap: 4px; height: 200px; }
  .bar-l { font-size: 11.5px; }
  .dishes { grid-template-columns: 1fr 1fr; gap: 14px; }
  .dish-t { padding: 12px 12px 16px; }
  .dish-t h3 { font-size: 15.5px; }
  .dish-t p { display: none; }
  .dish-t b { font-size: 14.5px; margin-top: 6px; }
  .dish-add { width: 40px; height: 40px; right: 10px; bottom: 10px; }
  .om-tools .srch { max-width: none; }
  .dish-sh .sh-body { grid-template-columns: minmax(0, 1fr); }
  .ds-img img { aspect-ratio: 16 / 11; }
  .ds-b { padding: 24px 22px 28px; }
  .sheet-wrap.dish-sh { padding: 0; place-items: end stretch; }
  .sheet-wrap.dish-sh .sheet { border-radius: 18px 18px 0 0; max-height: 94dvh; }
  .sheet-wrap.center .sheet { padding: 28px 22px; }
  .kds { grid-auto-columns: 86%; }
  .stk-r { grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; }
  .stk-r img { width: 56px; height: 56px; }
  .stk-m { grid-column: 2 / -1; grid-row: 2; }
  .stk-c { display: none; }
  .kho .om-tools .tabs { flex-basis: 100%; }
  .sort { flex: 1; }
  .nl-img { margin: -36px -32px 20px; }
  .sheet-wrap.side .sheet { padding: 36px 20px; }
  .nl-k b { font-size: 18px; }
  .fd-dl { grid-template-columns: 1fr 1fr 1fr; }
  .set-about { flex-direction: column; align-items: flex-start; }
  .top-l li { grid-template-columns: 20px 52px minmax(0, 1fr); }
  .top-l em { grid-column: 3; justify-self: start; margin-top: -10px; font-size: 14.5px; }
  .top-l img { width: 52px; height: 52px; }
  .brc img { width: 56px; height: 56px; }
}

/* motion off */
html.calm *, html.calm *::before, html.calm *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
html.calm [data-rv] { opacity: 1; transform: none; clip-path: none; }
@media (prefers-reduced-motion: reduce) { .fire-poster, .tb-t.st-late::after { animation: none; } }

/* nhãn bao gạo dựng bằng HTML, ép lên vải bố bằng multiply */
.pic { position: relative; display: block; overflow: hidden; flex: none; }
.pic > img { width: 100%; height: 100%; object-fit: cover; border-radius: 0 !important; }
.pic.pk-gao { container-type: inline-size; }
.sack { position: absolute; left: 31%; top: 50%; width: 38%; height: 30%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4cqw; padding: 2cqw 1cqw; color: #7E2A18; mix-blend-mode: multiply; border: .7cqw double rgba(126, 42, 24, .75); border-radius: 1.2cqw; transform: perspective(60cqw) rotateX(4deg) rotate(-1.5deg); text-align: center; line-height: 1; opacity: .92; }
.sack .sk-fl svg { width: 6cqw; height: 6cqw; fill: #B5361F; }
.sack b { font: 800 4.6cqw var(--f-d); letter-spacing: .08em; }
.sack em { font: 700 3.4cqw var(--f-m); font-style: normal; letter-spacing: .1em; color: #2A2016; }
.sack small { font: 500 2.6cqw var(--f-b); color: #4A3A2A; }
.nl-img .sack { top: 58%; height: 26%; left: 37%; width: 26%; }
.slow-l .pic, .low-l .pic, .stk-r .pic, .po li .pic, .pal-l .pic { border-radius: 9px; }
.stk-r .pic { width: 60px; height: 60px; } .low-l .pic { width: 60px; height: 60px; } .po li .pic { width: 44px; height: 44px; border-radius: 7px; } .pal-l .pic { width: 44px; height: 44px; border-radius: 8px; }
.nl-img .pic { width: 100%; height: 100%; }

.sb-lp { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; margin-top: 10px; font-size: 14px; color: var(--on-coal-2); border-radius: 8px; }
.sb-lp .i { width: 16px; height: 16px; }
.sb-lp:hover { color: var(--on-coal); background: rgba(243, 234, 219, .06); }

/* ================= LANDING ================= */
html.lp-mode .app { grid-template-columns: minmax(0, 1fr); }
html.lp-mode .sb, html.lp-mode .tb, html.lp-mode .tabbar { display: none; }
html.lp-mode .main { padding: 0; max-width: none; }
.lp { --lpad: clamp(20px, 5vw, 80px); overflow-x: clip; }
.lp-eye { font: 600 13.5px/1.3 var(--f-m); letter-spacing: .12em; text-transform: uppercase; color: #E9C9A8; }
.lp-eye.dk { color: var(--ember-h); }
.lp-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 40; display: flex; align-items: center; gap: 28px; padding: 18px var(--lpad); color: #FFF4E6; transition: background .35s var(--ease), color .35s, box-shadow .35s; }
.lp-nav.solid { background: color-mix(in srgb, var(--paper) 92%, transparent); color: var(--ink); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.lp-logo { display: flex; align-items: center; gap: 10px; }
.lp-logo svg { width: 38px; height: 38px; }
.lp-logo b { font: 800 22px var(--f-d); text-transform: uppercase; letter-spacing: -.01em; }
.lp-links { display: flex; gap: 28px; margin-left: 24px; }
.lp-links a { font-weight: 500; font-size: 15.5px; opacity: .86; min-height: 44px; display: flex; align-items: center; }
.lp-links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
.lp-nr { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.lp-nav .tb-i { color: inherit; }
.lp-nav:not(.solid) .tb-i:hover { background: rgba(255, 244, 230, .12); }
.lp-nr .btn { margin-left: 8px; }
.lp-nr .btn .i, .lp-cta-row .btn .i, .lp-end .btn .i { width: 18px; height: 18px; }

.lp-hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 120px var(--lpad) 36px; color: #FFF4E6; overflow: hidden; background: #120C08; }
.lp-hero-bg { position: absolute; inset: 0; overflow: hidden; }
.lp-hero-bg img, .lp-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.lp-poster { animation: kb 22s ease-out both; }
/* video is scaled from the top-left so the Flow mark in the bottom-right corner falls outside the frame */
.lp-video { transform: scale(1.07); transform-origin: 30% 30%; opacity: 0; transition: opacity 1.2s var(--ease); }
.lp-video.on { opacity: 1; }
html.calm .lp-video { display: none; }
@keyframes kb { from { scale: 1.08; } to { scale: 1; } }
.lp-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 8, 4, .86) 0%, rgba(14, 8, 4, .55) 45%, rgba(14, 8, 4, .1) 100%), linear-gradient(0deg, rgba(14, 8, 4, .9) 0%, transparent 45%); }
.lp-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--grain); opacity: .14; mix-blend-mode: screen; pointer-events: none; }
.lp-hero-in, .lp-hero-st { position: relative; z-index: 2; }
.lp-h1 { font: 800 clamp(56px, 7.4vw, 124px)/.92 var(--f-d); letter-spacing: -.045em; margin: 18px 0 26px; }
.lp-h1 span { display: block; overflow: hidden; padding-bottom: .06em; }
.lp-h1 i { display: block; font-style: normal; transform: translateY(105%); animation: up .9s var(--ease) forwards; }
.lp-h1 span:nth-child(2) i { animation-delay: .09s; }
.lp-h1 span:nth-child(3) i { animation-delay: .18s; }
.lp-h1 em { font-style: normal; color: #F07B5E; }
@keyframes up { to { transform: none; } }
.lp-lead { max-width: 620px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: #EADCCB; opacity: 0; animation: fadein .8s var(--ease) .45s forwards; }
.lp-cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; opacity: 0; animation: fadein .8s var(--ease) .6s forwards; }
.btn.on-img { color: #FFF4E6; box-shadow: inset 0 0 0 1.5px rgba(255, 244, 230, .5); }
.btn.on-img:hover { background: rgba(255, 244, 230, .12) !important; }
.lp-hero-st { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 244, 230, .22); }
.lp-hero-st b { display: block; font: 700 clamp(30px, 3vw, 44px)/1 var(--f-d); font-variant-numeric: tabular-nums; }
.lp-hero-st span { display: block; margin-top: 8px; color: #D7C6B2; font-size: 15px; max-width: 30ch; }

.lp-say { padding: clamp(90px, 12vw, 170px) var(--lpad) clamp(70px, 9vw, 130px); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.lp-say-t { font: 600 clamp(28px, 3.3vw, 50px)/1.2 var(--f-d); letter-spacing: -.025em; color: var(--ink-2); }
.lp-say-t em { font-style: normal; color: var(--ink); background: linear-gradient(transparent 62%, color-mix(in srgb, var(--ember) 28%, transparent) 62%); }
.lp-say-ph { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; aspect-ratio: 1 / 1.05; }
.lp-say-ph figure:first-child { grid-row: span 2; }
.clip { margin: 0; overflow: hidden; border-radius: 10px; clip-path: inset(100% 0 0 0); transition: clip-path 1s var(--ease) var(--d, 0ms); background: var(--coal); }
.clip.in { clip-path: inset(0 0 0 0); }
.clip img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform 1.4s var(--ease) var(--d, 0ms); }
.clip.in img { transform: none; }

.lp-sh { padding: 0 var(--lpad); margin-bottom: clamp(40px, 5vw, 70px); }
.lp-h2 { font: 800 clamp(40px, 5.4vw, 86px)/.98 var(--f-d); letter-spacing: -.04em; margin-top: 16px; }
.lp-h2.big { font-size: clamp(42px, 6.4vw, 104px); }
.lp-sub { margin-top: 18px; font-size: 18px; color: var(--muted); }
.lp-story { padding: clamp(70px, 9vw, 130px) 0; background: var(--paper-2); }
.lp-st-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 80px); padding: 0 var(--lpad); }
.lp-st-dev { position: sticky; top: 13vh; align-self: start; }
.laptop { position: relative; }
.lt-scr { position: relative; aspect-ratio: 16 / 10; border-radius: 14px 14px 0 0; background: #0E0B09; border: 11px solid #0E0B09; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(30, 15, 5, .6); }
.lt-scr img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transform: scale(1.03); transition: opacity .6s var(--ease), transform .9s var(--ease); }
.lt-scr img.on { opacity: 1; transform: none; }
.lt-base { height: 16px; margin: 0 -5%; background: linear-gradient(#3A332E, #1B1714); border-radius: 0 0 14px 14px; position: relative; }
.lt-base::after { content: ""; position: absolute; left: 42%; right: 42%; top: 0; height: 5px; background: #110E0C; border-radius: 0 0 6px 6px; }
.lp-st-clock { display: flex; align-items: baseline; gap: 14px; margin-top: 30px; }
.lp-st-clock b { font: 700 46px var(--f-m); color: var(--ember-h); font-variant-numeric: tabular-nums; }
.lp-st-clock span { color: var(--muted); }
.lp-steps { display: flex; flex-direction: column; }
.lp-step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; opacity: .32; transition: opacity .5s var(--ease); }
.lp-step.on { opacity: 1; }
.lp-t { font: 700 16px var(--f-m); color: var(--ember-h); letter-spacing: .04em; }
.lp-step h3 { font: 700 clamp(28px, 2.6vw, 40px)/1.08 var(--f-d); margin: 12px 0 16px; }
.lp-step p { font-size: 18px; line-height: 1.65; color: var(--ink-2); max-width: 46ch; }
.lp-step-m { display: none; }

.lp-num { position: relative; color: #FFF4E6; padding: clamp(100px, 12vw, 180px) var(--lpad); overflow: hidden; background: #120C08; }
.lp-num-bg { position: absolute; inset: 0; border-radius: 0; }
.lp-num-bg img { width: 100%; height: 100%; object-fit: cover; }
.lp-num::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 8, 4, .9), rgba(14, 8, 4, .62)); }
.lp-num-in { position: relative; z-index: 2; }
.lp-num ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(26px, 4vw, 60px); margin-top: 40px; }
.lp-num li b { display: block; font: 800 clamp(64px, 8vw, 128px)/.9 var(--f-d); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.lp-num li > span { display: block; margin-top: 18px; color: #DCCBB7; font-size: 17px; max-width: 30ch; }

.lp-feat { padding: clamp(80px, 10vw, 150px) 0 clamp(40px, 6vw, 80px); }
.lp-f { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 110px); align-items: center; padding: 0 var(--lpad); margin-bottom: clamp(80px, 10vw, 150px); }
.lp-f.rev .lp-f-dev { order: 2; }
.lp-f-dev { display: grid; place-items: center; background: var(--paper-2); border-radius: 18px; padding: clamp(30px, 5vw, 70px); min-height: 520px; }
.lp-f-n { font: 700 15px var(--f-m); color: var(--ember-h); }
.lp-f-t h3 { font: 700 clamp(30px, 3vw, 46px)/1.06 var(--f-d); letter-spacing: -.03em; margin: 14px 0 20px; }
.lp-f-t p { font-size: 18px; line-height: 1.65; color: var(--ink-2); max-width: 46ch; }
.lp-ticks { margin-top: 26px; display: flex; flex-direction: column; gap: 12px; }
.lp-ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16.5px; }
.lp-ticks .i { color: var(--herb); margin-top: 2px; }
.phone { width: min(300px, 70%); aspect-ratio: 390 / 844; border-radius: 44px; background: #0E0B09; padding: 11px; box-shadow: 0 50px 80px -40px rgba(30, 15, 5, .7); transform: rotate(-3deg); }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 34px; }
.tablet { width: 100%; aspect-ratio: 16 / 10.6; border-radius: 26px; background: #0E0B09; padding: 14px; box-shadow: 0 50px 80px -40px rgba(30, 15, 5, .7); }
.tablet img { width: 100%; height: 100%; object-fit: cover; object-position: top left; border-radius: 14px; }
.lp-ing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; width: 100%; }
.lp-ing figure { aspect-ratio: 1; }

.lp-quote { padding: 0 0 clamp(80px, 10vw, 150px); }
.lp-qs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 0 var(--lpad); }
.lp-q { margin: 0; background: var(--card); border-radius: 14px; padding: 36px 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; box-shadow: var(--sh); }
.lp-q:nth-child(2) { transform: translateY(36px); }
.lp-q:nth-child(2).in { transform: translateY(36px); }
.lp-q blockquote { margin: 0; font: 500 clamp(19px, 1.5vw, 22px)/1.5 var(--f-d); letter-spacing: -.01em; }
.lp-q figcaption { display: flex; gap: 14px; align-items: center; }
.av { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); font: 700 19px var(--f-d); flex: none; }
.lp-q b { display: block; }
.lp-q small { color: var(--muted); font-size: 14px; }

.lp-price { padding: clamp(70px, 9vw, 130px) 0; background: var(--paper-2); }
.lp-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 0 var(--lpad); align-items: start; }
.lp-plan { position: relative; background: var(--card); border-radius: 14px; padding: 38px 32px 32px; display: flex; flex-direction: column; gap: 6px; }
.lp-plan.hot { background: var(--coal); color: var(--on-coal); }
[data-theme="dark"] .lp-plan.hot { background: #2A1F18; }
.lp-plan h3 { font: 700 24px var(--f-d); }
.lp-pr { margin-top: 18px; }
.lp-pr b { font: 800 46px/1 var(--f-d); letter-spacing: -.03em; }
.lp-pr span { color: var(--muted); }
.lp-plan.hot .lp-pr span, .lp-plan.hot .lp-pfor { color: var(--on-coal-2); }
.lp-pfor { color: var(--muted); font-size: 15px; }
.lp-plan ul { margin: 24px 0 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.lp-plan li { display: flex; gap: 10px; font-size: 15.5px; }
.lp-plan li .i { color: var(--herb); flex: none; margin-top: 2px; }
.lp-plan.hot li .i { color: #B9D58E; }
.lp-plan.hot .btn.ghost { color: var(--on-coal); }
.lp-tag { position: absolute; top: -14px; left: 30px; background: var(--ember); color: var(--on-ember); font: 600 13px var(--f-m); padding: 6px 12px; border-radius: 999px; }

.lp-end { position: relative; min-height: 86svh; display: grid; place-items: center; text-align: center; padding: 120px var(--lpad); color: #FFF4E6; overflow: hidden; background: #120C08; }
.lp-end-bg { position: absolute; inset: 0; margin: 0; overflow: hidden; }
.lp-end-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.lp-end::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(14, 8, 4, .62), rgba(14, 8, 4, .9)); }
.lp-end-in { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 34px; }
.lp-end-in p { color: #DCCBB7; }
.lp-foot { background: var(--coal); color: var(--on-coal); padding: 60px var(--lpad) 40px; }
.lp-foot-top { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: 34px; border-bottom: 1px dashed rgba(243, 234, 219, .2); }
.lp-foot nav { display: flex; gap: 28px; flex-wrap: wrap; }
.lp-foot nav a { color: #D9CDBD; min-height: 44px; display: flex; align-items: center; }
.lp-foot nav a:hover { color: #fff; }
.lp-note { margin-top: 26px; color: #B3A492; font-size: 14.5px; max-width: 90ch; }
.lp-note a { color: #E9DCCB; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1023px) {
  .lp-links { display: none; }
  .lp-say, .lp-st-grid, .lp-f { grid-template-columns: minmax(0, 1fr); }
  .lp-st-dev { display: none; }
  .lp-step { min-height: 0; opacity: 1; padding: 30px 0; }
  .lp-step + .lp-step { border-top: 1px dashed var(--line-2); }
  .lp-step-m { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; border-radius: 10px; margin-top: 22px; border: 8px solid #0E0B09; }
  .lp-f.rev .lp-f-dev { order: 0; }
  .lp-f-dev { min-height: 0; }
  .lp-qs, .lp-plans { grid-template-columns: minmax(0, 1fr); }
  .lp-q:nth-child(2), .lp-q:nth-child(2).in { transform: none; }
  .lp-plan.hot { order: -1; }
}
@media (max-width: 720px) {
  .lp-nav { padding: 12px 16px; gap: 10px; }
  .lp-logo b { font-size: 18px; }
  .lp-logo svg { width: 32px; height: 32px; }
  .lp-nr .btn { padding: 0 14px; font-size: 14px; }
  .lp-nr .btn .i { display: none; }
  .lp-nr .tb-i[data-act="theme"] { display: none; }
  .lp-hero { padding-top: 110px; }
  .lp-h1 { font-size: clamp(50px, 15vw, 70px); }
  .lp-hero-st { grid-template-columns: 1fr; gap: 18px; margin-top: 44px; }
  .lp-hero-st li { display: flex; align-items: baseline; gap: 14px; }
  .lp-hero-st span { margin: 0; }
  .lp-cta-row .btn { flex: 1 1 100%; }
  .lp-num ul { grid-template-columns: minmax(0, 1fr); }
  .phone { width: 70%; }
}
html.calm .lp-h1 i, html.calm .lp-lead, html.calm .lp-cta-row { transform: none; opacity: 1; animation: none; }
html.calm .clip { clip-path: none; }
html.calm .lp-hero-bg img { animation: none; }
[data-theme="dark"] .tb-b.on, [data-theme="dark"] .seg [aria-checked="true"] { background: #3A2E25; }
[data-theme="dark"] .bar-b { background: #2E251F; }
.stag { white-space: nowrap; }
