/* Layout: one app, four surfaces (till, kitchen, back office, guest site) chosen by route. */
:root {
  /* denall: black, white and one electric blue. Token names kept from the first build. */
  --navy: #0b0b0d; --navy-2: #161619; --navy-3: #222228; --line-d: #2d2d35;
  --gold: #2f8bff; --gold-soft: rgba(47,139,255,.16); --on-accent: #ffffff;
  --panel: #101013; --bar: #101013; --room: #121215; --wall: #34343c; --tbl: rgba(58,83,120,.25); --warn-ink: #ffb39d; --hover: rgba(255,255,255,.03); --strong: #f4f4f6; --on-strong: #0b0b0d; --scheme: dark;
  --ink-d: #f3f3f5; --muted-d: #9d9daa; --dim-d: #6c6c78;
  --free: #3a3a44; --seated: #2fb39b; --ordered: #6a8cff; --mains: #a679f0; --bill: #f07c5a; --dessert: #e0a94a;
  /* back office (light) */
  --bg: #f5f5f7; --card: #ffffff; --ink: #0b0b0d; --muted: #6b6b76; --line: #e7e7ec; --teal: #1f9a85; --coral: #d9603d; --chip: #f0f0f3;
  /* guest site */
  --olive: #2d3a26; --sage: #6f8462; --mist: #eef1ea; --ox: #8e2b22; --site-bg: #ffffff; --site-ink: #1f2a1b; --site-muted: #6a7363;
  --f-ui: "Inter", "Segoe UI", system-ui, sans-serif;
  --f-display: "DM Serif Display", Georgia, "Times New Roman", serif;
}
/* The back office, HQ and guest website stay light whatever the device's dark mode: they are read in daylight, at a desk. */
html, body { height: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-ui); font-size: 14px; }
* { box-sizing: border-box; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.num { font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ---------- demo hub ---------- */
.hub { min-height: 100%; background: var(--navy); color: var(--ink-d); padding-block: 40px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.hub-in { max-width: 1120px; margin: 0 auto; display: flex; flex-direction: column; gap: 28px; }
.brand { font-weight: 800; font-size: 22px; letter-spacing: -.01em; }
.brand { text-transform: lowercase; letter-spacing: -.035em; } .brand b { color: var(--gold); }
.hub h1 { font-size: clamp(28px, 4vw, 44px); line-height: 1.1; margin: 0; text-wrap: balance; letter-spacing: -.015em; }
.hub p.lede { color: #a8a8b3; font-size: 17px; max-width: 70ch; margin: 0; line-height: 1.55; }
.hub-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.hub-card { text-align: left; background: var(--navy-2); border: 1px solid var(--line-d); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 8px; color: var(--ink-d); }
.hub-card:hover { border-color: var(--gold); }
.hub-card b { font-size: 18px; } .hub-card span { color: var(--muted-d); line-height: 1.45; }
.hub-card .go { margin-top: auto; color: var(--gold); font-weight: 700; padding-top: 8px; }
.pins { display: flex; flex-wrap: wrap; gap: 8px; }
.pin-chip { background: var(--navy-2); border: 1px solid var(--line-d); border-radius: 999px; padding: 7px 12px; color: var(--muted-d); font-size: 13px; }
.pin-chip b { color: var(--ink-d); }
.promise { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.promise div { border-left: 3px solid var(--gold); padding: 6px 12px; color: #b9b9c3; line-height: 1.45; }
.promise b { color: var(--ink-d); display: block; }

/* ---------- till (deliberately dark: dim restaurant lighting) ---------- */
.till { height: 100%; display: flex; flex-direction: column; background: var(--navy); color: var(--ink-d); overflow: hidden; color-scheme: var(--scheme); }
.top { min-height: 60px; display: flex; align-items: center; gap: 18px; padding: 8px 18px; border-bottom: 1px solid var(--line-d); background: var(--bar); flex-wrap: wrap; }
.top .venue { color: var(--muted-d); font-size: 13px; }
.tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.tab { padding: 9px 15px; border-radius: 10px; color: var(--muted-d); font-weight: 700; }
.tab.on { background: var(--navy-3); color: var(--ink-d); box-shadow: inset 0 -2px 0 var(--gold); }
.sp { flex: 1; }
.chip { padding: 6px 11px; border-radius: 999px; background: var(--navy-2); color: var(--muted-d); font-size: 12.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; background: var(--seated); }
.dot.off { background: var(--bill); }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: var(--on-accent); display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.btn { border-radius: 12px; padding: 13px 16px; font-weight: 800; font-size: 15px; text-align: center; }
.btn.gold { background: var(--gold); color: var(--on-accent); }
.btn.ghost { background: var(--navy-3); color: var(--ink-d); }
.btn.line { border: 1.5px solid var(--line-d); color: var(--ink-d); }
.btn.red { background: rgba(240,124,90,.18); color: var(--warn-ink); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.sm { padding: 8px 12px; font-size: 13px; border-radius: 9px; }
.main { flex: 1; display: flex; min-height: 0; }

.login { flex: 1; display: grid; place-items: center; padding: 20px; }
.login-box { width: min(420px, 100%); display: flex; flex-direction: column; gap: 16px; align-items: center; text-align: center; }
.login-box h2 { margin: 0; font-size: 24px; }
.pinrow { display: flex; gap: 12px; }
.pinrow i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--muted-d); }
.pinrow i.on { background: var(--gold); border-color: var(--gold); }
.keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 100%; }
.keypad button { background: var(--navy-2); border-radius: 14px; padding: 18px 0; font-size: 24px; font-weight: 700; color: var(--ink-d); }
.keypad button:active { background: var(--navy-3); }
.whos { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }

.floor { flex: 1; min-width: 0; padding: 14px 18px; display: flex; flex-direction: column; gap: 12px; overflow: auto; }
.zones { display: flex; gap: 8px; flex-wrap: wrap; }
.zone { padding: 8px 15px; border-radius: 999px; background: var(--navy-2); color: var(--muted-d); font-weight: 700; font-size: 13.5px; }
.zone.on { background: var(--gold-soft); color: var(--gold); box-shadow: inset 0 0 0 1px rgba(47,139,255,.5); }
.room-wrap { flex: 1; min-height: 420px; position: relative; border-radius: 18px; border: 1px solid var(--line-d); background: radial-gradient(circle at 1px 1px, rgba(143,160,184,.12) 1px, transparent 0) 0 0/24px 24px, var(--room); overflow: hidden; }
.room { position: absolute; left: 0; top: 0; width: 960px; height: 760px; transform-origin: 0 0; }
.wall { position: absolute; background: var(--wall); border-radius: 3px; }
.rlabel { position: absolute; color: var(--dim-d); font-size: 12px; font-weight: 700; }
.t { position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 14px; border: 2px solid var(--free); background: var(--tbl); color: var(--ink-d); }
.t.round { border-radius: 50%; }
.t .n { font-weight: 800; font-size: 22px; line-height: 1; }
.t .c { font-size: 12px; color: var(--muted-d); margin-top: 3px; }
.t .s { position: absolute; bottom: -11px; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 800; background: var(--navy); border: 1.5px solid currentColor; white-space: nowrap; max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
.t.seated { border-color: var(--seated); background: rgba(47,179,155,.18); } .t.seated .s { color: var(--seated); }
.t.ordered { border-color: var(--ordered); background: rgba(106,140,255,.18); } .t.ordered .s { color: var(--ordered); }
.t.mains { border-color: var(--mains); background: rgba(166,121,240,.18); } .t.mains .s { color: var(--mains); }
.t.dessert { border-color: var(--dessert); background: rgba(224,169,74,.16); } .t.dessert .s { color: var(--dessert); }
.t.bill { border-color: var(--bill); background: rgba(240,124,90,.2); } .t.bill .s { color: var(--bill); }
.t.booked { border: 2px dashed var(--gold); background: var(--gold-soft); } .t.booked .s { color: var(--gold); }
.legend { display: flex; gap: 14px; color: var(--muted-d); font-size: 12.5px; align-items: center; flex-wrap: wrap; }
.legend span { display: flex; align-items: center; gap: 6px; }
.sw { width: 13px; height: 13px; border-radius: 4px; border: 2px solid; display: inline-block; }

.rail { width: 340px; flex: none; border-left: 1px solid var(--line-d); background: var(--panel); padding: 16px; display: flex; flex-direction: column; gap: 12px; overflow: auto; }
.rail h2 { margin: 0; font-size: 18px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stat { background: var(--navy-2); border-radius: 12px; padding: 9px 11px; }
.stat b { font-size: 19px; display: block; } .stat small { color: var(--muted-d); font-size: 11.5px; }
.bk { background: var(--navy-2); border-radius: 12px; padding: 10px 12px; display: grid; grid-template-columns: 50px 1fr auto; gap: 3px 10px; align-items: center; border-left: 3px solid var(--gold); text-align: left; color: var(--ink-d); width: 100%; }
.bk.late { border-left-color: var(--bill); } .bk.seatedb { border-left-color: var(--seated); opacity: .7; }
.bk .time { font-weight: 800; font-size: 15px; } .bk .who { font-weight: 700; }
.bk .tbl { color: var(--gold); font-weight: 800; font-size: 12.5px; text-align: right; }
.bk .note { grid-column: 2 / 4; color: var(--muted-d); font-size: 12px; }
.tag { display: inline-block; background: var(--navy-3); color: var(--ink-d); font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 6px; margin-right: 4px; }
.tag.warn { background: rgba(240,124,90,.2); color: var(--warn-ink); }
.src { font-size: 11.5px; color: var(--dim-d); }

/* order screen */
.cats { width: 160px; flex: none; padding: 12px 10px; display: flex; flex-direction: column; gap: 7px; border-right: 1px solid var(--line-d); overflow: auto; }
.cat { padding: 13px 12px; border-radius: 12px; background: var(--navy-2); font-weight: 700; border-left: 4px solid var(--cc); text-align: left; color: var(--ink-d); }
.cat.on { background: var(--navy-3); box-shadow: inset 0 0 0 1.5px var(--gold); }
.grid { flex: 1; min-width: 0; padding: 12px; display: flex; flex-direction: column; gap: 10px; overflow: auto; }
.bar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.search { flex: 1; min-width: 160px; background: var(--navy-2); border: 0; border-radius: 12px; padding: 12px 14px; color: var(--ink-d); }
.seg { display: inline-flex; background: var(--navy-2); border-radius: 12px; padding: 4px; gap: 4px; }
.seg button { padding: 8px 12px; border-radius: 9px; font-weight: 700; color: var(--muted-d); font-size: 13px; }
.seg button.on { background: var(--navy-3); color: var(--ink-d); box-shadow: inset 0 -2px 0 var(--gold); }
.items { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 9px; }
.it { min-height: 96px; border-radius: 14px; background: var(--navy-2); padding: 12px; display: flex; flex-direction: column; justify-content: space-between; border-top: 4px solid var(--cc); text-align: left; color: var(--ink-d); position: relative; }
.it b { font-weight: 700; font-size: 14.5px; line-height: 1.25; } .it span { color: var(--muted-d); font-size: 13.5px; }
.it.out { opacity: .4; } .it .flag { position: absolute; top: 8px; right: 8px; font-size: 10.5px; font-weight: 800; color: var(--warn-ink); }
.it .al { font-size: 10.5px; color: var(--dim-d); }
.ticket { width: 380px; flex: none; background: var(--panel); border-left: 1px solid var(--line-d); display: flex; flex-direction: column; min-height: 0; }
.th { padding: 14px 18px; border-bottom: 1px solid var(--line-d); display: flex; flex-direction: column; gap: 6px; }
.th h2 { margin: 0; font-size: 22px; } .th p { margin: 0; color: var(--muted-d); font-size: 13px; }
.lines { flex: 1; overflow: auto; padding: 4px 18px; }
.course { display: flex; justify-content: space-between; color: var(--muted-d); font-size: 12px; font-weight: 800; margin: 12px 0 4px; }
.course .sent { color: var(--seated); } .course .new { color: var(--gold); }
.ln { display: grid; grid-template-columns: 24px 1fr auto; padding: 6px 0; font-size: 14px; gap: 0 4px; width: 100%; text-align: left; color: var(--ink-d); border-radius: 8px; }
.ln:hover { background: var(--hover); }
.ln .q { color: var(--muted-d); } .ln small { grid-column: 2 / 4; color: var(--muted-d); font-size: 12px; }
.ln.new { color: var(--gold); } .ln.void { color: var(--dim-d); text-decoration: line-through; }
.ln .al { color: var(--warn-ink); font-weight: 700; }
.tot { padding: 12px 18px; border-top: 1px solid var(--line-d); font-size: 13.5px; }
.tot div { display: flex; justify-content: space-between; padding: 2px 0; color: var(--muted-d); }
.tot .big { color: var(--ink-d); font-weight: 800; font-size: 21px; padding-top: 6px; }
.acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 18px 16px; }
.acts .wide { grid-column: 1 / 3; }
.allergy-bar { background: rgba(240,124,90,.16); color: var(--warn-ink); border: 1px solid rgba(240,124,90,.5); border-radius: 10px; padding: 8px 10px; font-weight: 700; font-size: 13px; }

/* modal */
.modal-bg { position: fixed; inset: 0; background: rgba(6,16,32,.72); display: grid; place-items: center; z-index: 50; padding: 16px; }
.modal { width: min(620px, 100%); max-height: calc(100% - 20px); overflow: auto; background: var(--navy-2); border-radius: 20px; padding: 22px; border: 1px solid var(--line-d); box-shadow: 0 30px 80px rgba(0,0,0,.5); color: var(--ink-d); display: flex; flex-direction: column; gap: 14px; }
.modal.wide { width: min(980px, 100%); }
.modal h3 { margin: 0; font-size: 21px; } .modal .sub { color: var(--muted-d); font-size: 13.5px; margin-top: -8px; }
.grp p { font-weight: 700; margin: 0 0 8px; font-size: 13.5px; } .grp p em { font-style: normal; color: var(--bill); font-weight: 600; margin-left: 6px; font-size: 12.5px; }
.opts { display: flex; flex-wrap: wrap; gap: 7px; }
.o { padding: 10px 14px; border-radius: 10px; background: var(--navy-3); font-weight: 600; color: var(--ink-d); }
.o.on { background: var(--gold); color: var(--on-accent); font-weight: 800; }
.o small { color: var(--muted-d); margin-left: 4px; } .o.on small { color: rgba(255,255,255,.8); }
.mfoot { display: flex; gap: 10px; flex-wrap: wrap; } .mfoot .btn { flex: 1; }
.field-d { display: flex; flex-direction: column; gap: 6px; } .field-d label { font-size: 12.5px; font-weight: 700; color: var(--muted-d); }
.in-d { background: var(--navy); border: 1px solid var(--line-d); border-radius: 10px; padding: 11px 12px; color: var(--ink-d); width: 100%; }

/* payment */
.pay { display: grid; grid-template-columns: 1fr 1.15fr 360px; flex: 1; min-height: 0; }
.pay > div { padding: 18px; overflow: auto; min-width: 0; }
.pay .billcol { background: var(--panel); border-right: 1px solid var(--line-d); }
.due { background: var(--navy-2); border-radius: 18px; padding: 18px 20px; }
.due small { color: var(--muted-d); } .due .amt { font-size: 52px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.tenders { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tender { border-radius: 16px; padding: 16px; background: var(--navy-3); font-weight: 800; font-size: 17px; text-align: left; color: var(--ink-d); }
.tender small { display: block; color: var(--muted-d); font-weight: 500; font-size: 12.5px; margin-top: 4px; }
.tender.card { background: var(--gold); color: var(--on-accent); grid-column: 1 / 3; font-size: 21px; padding: 20px; } .tender.card small { color: var(--on-accent); opacity: .85; }
.cashbtns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cashbtns button { background: var(--navy-2); border-radius: 10px; padding: 12px 6px; font-weight: 700; color: var(--ink-d); }
.parts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.part { flex: 1; min-width: 110px; border-radius: 12px; padding: 10px 12px; background: var(--navy-3); font-size: 13px; }
.part b { display: block; font-size: 16px; } .part.paid { opacity: .55; } .part.now { box-shadow: inset 0 0 0 2px var(--gold); }

/* the pretend card machine */
.cm-wrap { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cm { width: 250px; height: 470px; border-radius: 34px; background: linear-gradient(#1a1d22, #0e1013); padding: 18px 15px 22px; box-shadow: 0 24px 60px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.08); display: flex; flex-direction: column; align-items: center; }
.cm .cam { width: 52px; height: 6px; border-radius: 4px; background: #2a2a30; margin-bottom: 12px; }
.cm .scr { width: 100%; flex: 1; border-radius: 16px; background: #fff; color: #0b0b0d; padding: 16px 14px; display: flex; flex-direction: column; gap: 8px; color-scheme: light; }
.cm .hd { font-size: 11.5px; color: #5f5f6a; display: flex; justify-content: space-between; }
.cm .amt { font-size: 36px; font-weight: 800; text-align: center; letter-spacing: -.02em; margin-top: 14px; }
.cm .cap { text-align: center; color: #5f5f6a; font-size: 12.5px; }
.cm .tips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.cm .tips button { background: #f0f0f3; border-radius: 10px; padding: 12px 4px; font-weight: 800; color: #0b0b0d; font-size: 15px; }
.cm .tips button small { display: block; font-weight: 500; color: #5f5f6a; font-size: 11.5px; }
.cm .tips .wide { grid-column: 1 / 3; font-size: 13px; }
.cm .nfc { margin: 26px auto 18px; width: 104px; height: 104px; border-radius: 50%; border: 3px solid var(--gold); display: grid; place-items: center; position: relative; font-weight: 800; color: #0b0b0d; background: #fff; }
.cm .nfc::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 2px solid rgba(47,139,255,.35); animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { transform: scale(.92); opacity: 1 } 100% { transform: scale(1.15); opacity: 0 } }
.cm .ok { margin: 26px auto 12px; width: 92px; height: 92px; border-radius: 50%; background: #2fb39b; display: grid; place-items: center; color: #fff; font-size: 46px; font-weight: 800; }
.cm .cbtn { margin-top: auto; background: #0b0b0d; color: #fff; text-align: center; border-radius: 11px; padding: 13px; font-weight: 800; }
.cm .cbtn.light { background: #f0f0f3; color: #0b0b0d; }
.cm .keys { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 14px; }
.cm .keys i { height: 18px; border-radius: 6px; background: #22262d; }
.steps { display: flex; flex-direction: column; gap: 2px; width: 100%; }
.st { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; }
.st i { width: 24px; height: 24px; border-radius: 50%; flex: none; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 800; background: var(--navy-3); color: var(--muted-d); }
.st.done i { background: var(--seated); color: var(--on-strong); } .st.now i { background: var(--gold); color: var(--on-accent); box-shadow: 0 0 0 5px rgba(47,139,255,.25); }
.st p { margin: 0; font-weight: 700; } .st small { color: var(--muted-d); font-size: 12.5px; display: block; }

/* receipt */
.receipt { background: #fff; color: #111; width: 300px; max-width: 100%; padding: 18px 16px; font-family: "Courier New", ui-monospace, monospace; font-size: 12.5px; line-height: 1.45; border-radius: 4px; margin: 0 auto; color-scheme: light; }
.receipt .c { text-align: center; } .receipt .r { display: flex; justify-content: space-between; gap: 8px; } .receipt hr { border: 0; border-top: 1px dashed #999; margin: 8px 0; }

/* kitchen */
.kds { flex: 1; overflow: auto; padding: 14px 18px; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; align-content: start; grid-auto-rows: max-content; background: var(--room); }
.tk { background: var(--navy-2); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.tk .h { padding: 12px 14px; display: flex; justify-content: space-between; align-items: baseline; background: var(--navy-3); border-top: 5px solid var(--seated); gap: 8px; }
.tk .h b { font-size: 21px; } .tk .h span { font-size: 12.5px; color: var(--muted-d); }
.tk .tm { font-weight: 800; font-size: 18px; color: var(--seated); }
.tk.warn .h { border-top-color: var(--gold); } .tk.warn .tm { color: var(--gold); }
.tk.late .h { border-top-color: var(--bill); background: rgba(240,124,90,.18); } .tk.late .tm { color: var(--bill); }
.tk .meta { padding: 6px 14px; font-size: 12.5px; color: var(--muted-d); border-bottom: 1px solid var(--line-d); }
.tk .ki { padding: 8px 14px; font-size: 16.5px; font-weight: 700; display: grid; grid-template-columns: 28px 1fr; }
.tk .ki small { grid-column: 2; font-size: 13px; font-weight: 500; color: var(--muted-d); }
.tk .ki.chg small { color: var(--gold); font-weight: 700; }
.tk .alg { margin: 4px 14px 8px; padding: 8px 10px; border-radius: 10px; background: rgba(240,124,90,.16); color: var(--warn-ink); font-weight: 800; font-size: 13.5px; border: 1px solid rgba(240,124,90,.5); }
.tk .foot { margin-top: auto; padding: 10px 14px 14px; display: flex; gap: 8px; } .tk .foot .btn { flex: 1; padding: 10px; }

/* voice */
.mic { width: 64px; height: 64px; border-radius: 50%; background: var(--gold); color: var(--on-accent); font-weight: 800; display: grid; place-items: center; font-size: 13px; }
.mic.on { background: var(--bill); color: #fff; animation: pulse2 1s infinite; }
@keyframes pulse2 { 50% { box-shadow: 0 0 0 10px rgba(240,124,90,.25) } }

/* toast */
.toast { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--gold); color: var(--on-accent); padding: 12px 18px; border-radius: 12px; font-weight: 800; z-index: 80; box-shadow: 0 12px 30px rgba(0,0,0,.3); max-width: calc(100% - 32px); }

/* ---------- back office ---------- */
.office { height: 100%; display: flex; background: var(--bg); color: var(--ink); --navy: var(--deep, #0b0b0d); --navy-2: var(--deep-2, #161619); --navy-3: var(--deep-3, #222228); --line-d: var(--deep-line, #2d2d35); --ink-d: #f3f3f5; --muted-d: #a3a3ae; }
/* the room planner shows the till's own colours inside the back office */
.office .rp-stage { --navy: var(--till-bg, #0b0b0d); --navy-2: var(--till-2, #161619); --navy-3: var(--till-3, #222228); --line-d: var(--till-line, #2d2d35); --ink-d: var(--till-ink, #f3f3f5); --muted-d: var(--till-muted, #9d9daa); }
.side { width: 230px; flex: none; background: var(--navy); color: #c4c4cc; padding: 18px 12px; display: flex; flex-direction: column; gap: 2px; overflow: auto; }
.side .brand { color: #fff; padding: 0 10px 2px; } .side .v { font-size: 12px; color: #8a8a95; padding: 0 10px 16px; }
.nav { padding: 10px 12px; border-radius: 9px; font-weight: 600; text-align: left; color: #c4c4cc; display: flex; justify-content: space-between; align-items: center; }
.nav.on { background: rgba(47,139,255,.16); color: #fff; box-shadow: inset 3px 0 0 var(--gold); }
.nav.gap { margin-top: 12px; }
.nav .badge { background: var(--gold); color: var(--on-accent); border-radius: 999px; font-size: 11px; padding: 1px 7px; font-weight: 800; }
.side .foot { margin-top: auto; font-size: 12px; color: #8a8a95; padding: 10px; line-height: 1.5; }
.page { flex: 1; display: flex; flex-direction: column; min-width: 0; overflow: auto; }
.ph { padding: 18px 26px 14px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); background: var(--card); flex-wrap: wrap; position: sticky; top: 0; z-index: 5; }
.ph h1 { margin: 0; font-size: 24px; letter-spacing: -.01em; } .ph p { margin: 2px 0 0; color: var(--muted); font-size: 13.5px; }
.b { padding: 9px 14px; border-radius: 10px; font-weight: 700; border: 1px solid var(--line); background: var(--card); color: var(--ink); }
.b.p { background: var(--navy); color: #fff; border-color: var(--on-strong); }
.b.g { background: var(--gold); color: var(--on-accent); border-color: var(--gold); }
.b.danger { color: var(--coral); }
.wrap { padding: 18px 26px 40px; display: flex; flex-direction: column; gap: 14px; }
.cardo { background: var(--card); border-radius: 14px; box-shadow: 0 0 0 1px var(--line); padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.cardo h3 { margin: 0; font-size: 15.5px; } .cardo .d { color: var(--muted); font-size: 12.5px; margin-top: -8px; }
.cols { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.k { background: var(--card); border-radius: 12px; box-shadow: 0 0 0 1px var(--line); padding: 12px 15px; }
.k small { color: var(--muted); font-size: 12.5px; font-weight: 600; } .k b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.01em; margin: 2px 0; font-variant-numeric: tabular-nums; }
.k span { font-size: 12.5px; color: var(--muted); } .up { color: var(--teal); font-weight: 700; } .dn { color: var(--coral); font-weight: 700; }
.tablewrap { overflow-x: auto; }
table.t2 { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.t2 th { text-align: left; font-size: 12px; color: var(--muted); font-weight: 700; padding: 9px 10px; background: var(--chip); border-bottom: 1px solid var(--line); white-space: nowrap; }
.t2 td { padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.t2 tr.sel td { background: rgba(47,139,255,.1); } .t2 tr.click { cursor: pointer; } .t2 tr.click:hover td { background: var(--chip); }
.r { text-align: right; font-variant-numeric: tabular-nums; }
.pill { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; background: var(--chip); color: var(--muted); white-space: nowrap; }
.pill.ok { background: rgba(31,154,133,.14); color: var(--teal); } .pill.warn { background: rgba(217,96,61,.13); color: var(--coral); } .pill.gold { background: rgba(47,139,255,.18); color: #1a5fd0; }
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; } .field label { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.in { border: 1px solid var(--line); border-radius: 9px; padding: 9px 11px; background: var(--card); width: 100%; color: var(--ink); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .three { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.rowx { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.rowx small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.sw2 { width: 42px; height: 24px; border-radius: 999px; background: var(--line); position: relative; flex: none; }
.sw2::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: left .15s; }
.sw2.on { background: var(--navy); } .sw2.on::after { left: 21px; background: var(--gold); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.c2 { padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; background: var(--card); color: var(--ink); }
.c2.on { background: var(--navy); color: #fff; border-color: var(--on-strong); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.ft { padding: 7px 13px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 600; font-size: 13px; color: var(--ink); }
.ft.on { background: var(--navy); color: #fff; border-color: var(--on-strong); }
.split2 { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 14px; align-items: start; }
.diary { position: relative; overflow-x: auto; background: var(--card); border-radius: 12px; box-shadow: 0 0 0 1px var(--line); }
.dbk { position: absolute; border-radius: 7px; padding: 3px 7px; font-size: 11.5px; line-height: 1.2; color: #fff; background: var(--navy); overflow: hidden; white-space: nowrap; text-align: left; }
.dbk.seated { background: var(--teal); } .dbk.completed { background: #a5a5af; } .dbk.noshow { background: var(--coral); } .dbk.dep { box-shadow: inset 4px 0 0 var(--gold); } .dbk.sel { outline: 3px solid var(--gold); }
.floor-ed { position: relative; height: 620px; border-radius: 14px; background: radial-gradient(circle at 1px 1px, #d6d6dc 1px, transparent 0) 0 0/20px 20px, var(--card); box-shadow: 0 0 0 1px var(--line); overflow: hidden; touch-action: none; }
.fe-t { position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 2px solid #b5b5bf; background: var(--chip); border-radius: 10px; font-weight: 800; color: var(--ink); cursor: grab; user-select: none; }
.fe-t.round { border-radius: 50%; } .fe-t small { font-weight: 600; font-size: 11px; color: var(--muted); }
.fe-t.sel { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(47,139,255,.25); }
.ai-msg { padding: 10px 12px; border-radius: 12px; background: var(--chip); line-height: 1.5; white-space: pre-wrap; }
.ai-msg.me { background: var(--navy); color: #fff; align-self: flex-end; max-width: 85%; }
.callout { border-left: 4px solid var(--gold); background: rgba(47,139,255,.09); padding: 10px 14px; border-radius: 0 10px 10px 0; line-height: 1.5; }
.hbars { display: flex; align-items: flex-end; gap: 4px; height: 120px; border-bottom: 1px solid var(--line); }
.hbars div { flex: 1; background: #2f8bff; border-radius: 3px 3px 0 0; min-height: 2px; }

/* ---------- guest site ---------- */
.site { min-height: 100%; background: var(--site-bg); color: var(--site-ink); }
.site-in { max-width: 1100px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.site-nav { display: flex; align-items: center; gap: 20px; padding-block: 18px; flex-wrap: wrap; }
.site-nav .logo { font-family: var(--f-display); font-size: 26px; color: var(--olive); }
.site-nav a, .site-nav button { color: var(--site-ink); text-decoration: none; font-weight: 600; }
.site-nav .bookbtn { background: var(--olive); color: #fff; padding: 10px 16px; border-radius: 999px; }
.hero { background: var(--olive); color: #f1f3ee; }
.hero .site-in { padding-block: 64px 56px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-family: var(--f-display); font-weight: 400; font-size: clamp(38px, 6vw, 68px); line-height: 1.02; margin: 0; text-wrap: balance; }
.hero p { color: #c9d3c0; font-size: 18px; line-height: 1.55; max-width: 48ch; }
.hero .info { display: flex; flex-direction: column; gap: 10px; color: #dfe6d8; }
.hero .info b { color: #fff; }
.sec { padding-block: 44px; }
.sec h2 { font-family: var(--f-display); font-weight: 400; font-size: 34px; margin: 0 0 14px; color: var(--site-ink); }
.menu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 8px 40px; }
.mi { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 0; border-bottom: 1px solid color-mix(in srgb, var(--site-muted) 30%, transparent); }
.mi b { font-weight: 700; } .mi .pr { font-variant-numeric: tabular-nums; font-weight: 700; }
.mi p { grid-column: 1 / 3; margin: 0; color: var(--site-muted); font-size: 13.5px; } .mi .cont { grid-column: 1 / 3; font-size: 12px; color: var(--site-muted); }
.mi.hide { opacity: .3; }
.bw { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.bstep { font-size: 13px; color: var(--site-muted); font-weight: 600; }
.bq { font-size: 13px; font-weight: 700; color: var(--site-muted); }
.bopts { display: flex; flex-wrap: wrap; gap: 7px; }
.bo { padding: 11px 15px; border-radius: 10px; background: var(--mist); font-weight: 700; color: var(--site-ink); position: relative; }
.bo.on { background: var(--olive); color: #fff; }
.bo:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.bo .few { position: absolute; top: -8px; right: 4px; background: var(--ox); color: #fff; font-size: 10px; padding: 1px 6px; border-radius: 6px; }
.bplan { position: relative; height: 380px; border-radius: 14px; background: radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--site-muted) 30%, transparent) 1px, transparent 0) 0 0/16px 16px, var(--mist); overflow: hidden; }
.bplan .room { width: 960px; height: 760px; }
.bt { position: absolute; border: 2px solid color-mix(in srgb, var(--site-muted) 40%, transparent); border-radius: 10px; display: grid; place-items: center; font-weight: 800; color: var(--site-muted); background: var(--site-bg); font-size: 20px; }
.bt.round { border-radius: 50%; } .bt.av { border-color: var(--sage); color: var(--olive); cursor: pointer; } .bt.pick { background: var(--olive); color: #fff; border-color: var(--olive); }
.bfield { border: 1px solid color-mix(in srgb, var(--site-muted) 40%, transparent); border-radius: 10px; padding: 12px; background: var(--site-bg); color: var(--site-ink); width: 100%; }
.bcta { background: var(--olive); color: #fff; padding: 15px; border-radius: 12px; font-weight: 800; font-size: 16px; }
.bcta:disabled { opacity: .5; }
.dep { border: 1px solid rgba(142,43,34,.35); background: rgba(142,43,34,.07); border-radius: 12px; padding: 12px 14px; font-size: 14px; line-height: 1.5; }
.okbig { width: 72px; height: 72px; border-radius: 50%; background: var(--olive); color: #fff; display: grid; place-items: center; font-size: 34px; margin: 0 auto; }
.site-foot { background: var(--olive); color: #c9d3c0; padding-block: 28px; font-size: 13.5px; }

/* demo ribbon */
.ribbon { position: fixed; left: calc(10px + env(safe-area-inset-left, 0px)); bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 60; display: flex; gap: 6px; background: var(--navy); border: 1px solid var(--line-d); border-radius: 999px; padding: 5px; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.ribbon button { color: #c4c4cc; font-weight: 700; font-size: 12px; padding: 7px 11px; border-radius: 999px; }
.ribbon button.on { background: var(--gold); color: var(--on-accent); }

@media (max-width: 1000px) {
  .rail { display: none; } .ticket { width: 320px; } .cats { width: 120px; }
  .pay { grid-template-columns: 1fr; overflow: auto; } .pay > div { overflow: visible; }
  .split2 { grid-template-columns: 1fr; } .hero .site-in { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .side { display: none; } .main.order { flex-direction: column; overflow: auto; } .cats { width: auto; flex-direction: row; overflow-x: auto; border-right: 0; }
  .ticket { width: 100%; border-left: 0; } .two, .three { grid-template-columns: 1fr; }
  .ph { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
}

/* simplified till: two big actions, everything else in one sheet */
.acts.two-big { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btn.big { padding: 20px 14px; font-size: 19px; border-radius: 14px; }
.btn.line.big { background: var(--strong); color: var(--on-strong); border: 0; }
.chip.quiet { background: transparent; cursor: pointer; }
.sheet { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.sh { background: var(--navy-3); border-radius: 14px; padding: 18px 14px; text-align: left; display: flex; flex-direction: column; gap: 4px; color: var(--ink-d); min-height: 78px; }
.sh b { font-size: 16px; } .sh small { color: var(--muted-d); font-size: 12.5px; }
.sh.on { box-shadow: inset 0 0 0 2px var(--gold); background: var(--gold-soft); }
.sh.warn { box-shadow: inset 0 0 0 1.5px rgba(240,124,90,.6); } .sh.warn b { color: var(--warn-ink); }
.sh:disabled { opacity: .4; }
.demo-src { background: var(--navy); color: #c4c4cc; font-size: 13px; }
.demo-src b { color: var(--gold); }
@media (max-width: 720px) { .bdet { grid-template-columns: 1fr !important; } .office { flex-direction: column; } .mnav { display: block !important; } }
.mnav { display: none; }

.ribbon [data-go] { display: none; } .ribbon.open [data-go] { display: block; }
.ribbon .rt { color: var(--gold); }
.vbrand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; color: var(--ink-d); white-space: nowrap; }
.vbrand .vname { letter-spacing: -.01em; }
.vbrand.light { color: #fff; }
.cardo .vbrand, .ph .vbrand { color: var(--ink); }
.site .hero { background: var(--olive); }
@media (max-width: 720px) { .ph { flex-direction: column; align-items: stretch; } .ph > div { width: 100%; } }
/* the card machine as its own screen, about life size */
.term { min-height: 100%; background: radial-gradient(circle at 50% 30%, #1a1a20, #08080a 70%); display: grid; place-items: center; padding-block: 24px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); color: #c4c4cc; }
.term-in { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.cm.big { width: min(340px, 92vw); height: min(640px, 82vh); }
.cm.big .scr { padding: 20px 18px; }
.term-note { max-width: 34ch; text-align: center; font-size: 13px; line-height: 1.5; margin: 0; }
.tour { background: var(--navy-2); border: 1px solid var(--line-d); border-radius: 16px; padding: 18px 20px; }
.tour h2 { margin: 0 0 10px; font-size: 18px; }
.tour ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; color: var(--gold); }
.tour li button { text-align: left; color: #b9b9c3; line-height: 1.45; padding: 4px 0; }
.tour li button:hover { color: var(--ink-d); }
/* allergy on one dish */
small.dal { display: block; grid-column: 2 / -1; margin-top: 3px; padding: 3px 8px; border-radius: 6px; background: rgba(240,124,90,.18); color: var(--warn-ink); font-weight: 800; font-size: 12.5px; border: 1px solid rgba(240,124,90,.5); }
.tk .ki small.dal { color: var(--warn-ink); font-size: 14px; }
.dal-opts .o { padding: 7px 10px; font-size: 13px; }
.dal-opts .o.on { background: rgba(240,124,90,.22); color: var(--warn-ink); box-shadow: inset 0 0 0 1.5px #f07c5a; }
/* rota */
table.rota td { min-width: 112px; vertical-align: top; }
.rday { text-align: left; display: flex; flex-direction: column; gap: 2px; color: var(--ink); }
.rday span { font-weight: 600; color: var(--muted); font-size: 11.5px; } .rday .rbk { color: #1a5fd0; }
.rshift { display: block; width: 100%; text-align: left; padding: 5px 8px; margin-bottom: 4px; border-radius: 8px; background: var(--navy); color: #fff; font-weight: 700; font-size: 12px; }
.rshift small { display: block; font-weight: 500; opacity: .75; }
.rshift.draft { background: var(--chip); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--navy); }
.rshift.gap { background: rgba(217,96,61,.14); color: var(--coral); }
.radd { width: 100%; border: 1px dashed var(--line); border-radius: 8px; color: var(--muted); padding: 2px 0; font-weight: 700; }
/* staffing card on the till */
.staffnow { background: var(--navy-2); border: 1px solid var(--line-d); border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; }
.staffnow small { color: var(--muted-d); line-height: 1.4; }
.staffnow.warn { border-color: var(--gold); background: var(--gold-soft); }
/* staff app */
.sapp { min-height: 100%; background: var(--navy); color: var(--ink-d); color-scheme: var(--scheme); padding-block: 18px 80px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.sapp-in { max-width: 480px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.sapp-in h2 { margin: 6px 0 0; text-align: center; } .sapp-in .sub { color: var(--muted-d); text-align: center; margin: 0; }
.sapp-list { display: flex; flex-direction: column; gap: 8px; }
.sapp-btn { background: var(--navy-2); border-radius: 14px; padding: 14px 16px; text-align: left; display: flex; flex-direction: column; color: var(--ink-d); } .sapp-btn small { color: var(--muted-d); }
.sapp-card { background: var(--navy-2); border: 1px solid var(--line-d); border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.sapp-card small { color: var(--muted-d); line-height: 1.45; } .sapp-card .amt { font-size: 26px; font-weight: 800; }
.sapp-card .ok { color: var(--seated); font-weight: 700; } .sapp-card .bad { color: var(--warn-ink); font-weight: 700; }
.sapp-clock { background: var(--seated); color: #04221c; font-size: 22px; font-weight: 800; border-radius: 16px; padding: 22px; }
.sapp-clock.out { background: #f4f4f6; color: var(--on-strong); }
.sapp-demo { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted-d); }
/* team board */
.bthread { display: flex; flex-direction: column; gap: 8px; max-height: 440px; overflow: auto; }
.bpost { background: var(--chip); border-radius: 12px; padding: 10px 12px; color: var(--ink); }
.sapp .bpost { background: var(--navy-3); color: var(--ink-d); }
.bpost small { color: var(--muted); } .sapp .bpost small { color: var(--muted-d); }
.bpost.alert { box-shadow: inset 4px 0 0 var(--coral); } .bpost.pinned { box-shadow: inset 4px 0 0 var(--gold); } .bpost.alert.pinned { box-shadow: inset 4px 0 0 var(--coral); }
.bpost .btitle { font-weight: 800; margin-top: 4px; } .bpost .btext { line-height: 1.45; margin-top: 2px; white-space: pre-wrap; }
.bform { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.sapp .bform .in { background: var(--navy); color: var(--ink-d); border-color: var(--line-d); }
.tillalert { background: color-mix(in srgb, var(--bill) 14%, var(--navy-2)); border: 1px solid color-mix(in srgb, var(--bill) 45%, transparent); color: var(--ink-d); border-radius: 12px; padding: 10px 12px; font-size: 14px; text-align: left; line-height: 1.4; }
.tillalert b { color: var(--warn-ink); display: block; }
.bstat { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.bstat .pill { font-size: 10.5px; }
.dmrow { width: 100%; text-align: left; padding: 8px; border-radius: 10px; color: var(--ink); }
.dmrow.on { background: var(--chip); }
.dmrow small { display: block; color: var(--muted); font-size: 12px; }
.codebox { display: flex; gap: 8px; align-items: flex-start; background: var(--chip); border-radius: 10px; padding: 8px 8px 8px 12px; }
.codebox pre { flex: 1; margin: 0; white-space: pre-wrap; word-break: break-all; font-size: 12px; font-family: ui-monospace, Menlo, monospace; color: var(--ink); }
.fakesite { position: relative; height: 560px; border-radius: 12px; overflow: hidden; background: #f4f1ea; color: #222; border: 1px solid #ccc; }
.fs-nav { display: flex; gap: 18px; padding: 14px 18px; background: #fff; font-size: 14px; } .fs-nav b { margin-right: auto; font-family: var(--f-display); font-size: 18px; }
.fs-hero { height: 220px; background: linear-gradient(135deg, #6f8462, #2d3a26); display: grid; place-items: center; color: #fff; text-align: center; padding: 20px; } .fs-hero b { font-size: 26px; font-family: var(--f-display); font-weight: 400; } .fs-hero p { opacity: .85; }
.fs-btn { position: absolute; right: 16px; bottom: 16px; color: #fff; border-radius: 999px; padding: 12px 20px; font-weight: 800; box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.fs-pop { position: absolute; inset: 0; background: rgba(0,0,0,.45); display: flex; align-items: center; justify-content: center; padding: 14px; }
.fs-box { background: #fff; border-radius: 14px; width: 100%; max-height: 100%; overflow: auto; position: relative; color-scheme: light; }
.fs-box .site { --site-bg: #fff; --site-ink: #1f2a1b; --site-muted: #6a7363; --mist: #eef1ea; background: #fff; color: #1f2a1b; min-height: 0; }
.fs-close { position: absolute; right: 8px; top: 2px; font-size: 28px; z-index: 2; color: #333; }
[hidden] { display: none !important; }
/* table checks */
.t.checkdue { box-shadow: 0 0 0 4px var(--gold); animation: chkpulse 1.6s ease-in-out infinite; }
@keyframes chkpulse { 50% { box-shadow: 0 0 0 9px rgba(47,139,255,.25); } }
@media (prefers-reduced-motion: reduce) { .t.checkdue { animation: none; } }
.checks { background: var(--gold-soft); border: 1px solid var(--gold); border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; }
.chk { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.chk small { display: block; color: var(--muted-d); line-height: 1.35; } .chk.late small { color: var(--warn-ink); }
.chk-b { display: flex; gap: 4px; flex: none; }
.chkrow { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 6px 0; border-bottom: 1px solid var(--line-d); color: var(--ink-d); }
.rday .rty { color: var(--teal); font-weight: 700; }
/* spoken alert bubble, shows what was said in the headset */
.saybubble { position: fixed; top: calc(70px + env(safe-area-inset-top, 0px)); left: 50%; transform: translateX(-50%); z-index: 90; display: flex; gap: 10px; align-items: center; background: var(--panel); color: var(--ink-d); border: 1.5px solid var(--gold); border-radius: 16px; padding: 10px 16px; max-width: min(560px, 92vw); box-shadow: 0 14px 40px rgba(0,0,0,.45); font-weight: 700; font-size: 15px; line-height: 1.35; }
.saybubble small { display: block; color: var(--gold); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.saybubble.warn { border-color: #f07c5a; } .saybubble .sb-ic { color: var(--gold); flex: none; }
/* booking form, the simple layout */
.rd { max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; background: var(--site-bg); border: 1px solid color-mix(in srgb, var(--site-muted) 25%, transparent); border-radius: 16px; padding: 18px; box-shadow: 0 10px 30px rgba(0,0,0,.06); }
.rd-sum { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; background: var(--mist); border-radius: 12px; padding: 10px 12px; font-size: 14px; }
.rd-sum span { background: var(--site-bg); border-radius: 8px; padding: 4px 9px; } .rd-edit { margin-left: auto; color: var(--olive); font-weight: 800; }
.rd-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.rd-l { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 700; color: var(--site-muted); }
.rd-cal { border: 1px solid color-mix(in srgb, var(--site-muted) 25%, transparent); border-radius: 12px; padding: 10px; }
.rd-calh { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; } .rd-calh button { font-size: 24px; width: 36px; height: 36px; border-radius: 8px; color: var(--olive); } .rd-calh button:disabled { opacity: .25; }
.rd-dow, .rd-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; } .rd-dow span { font-size: 11.5px; font-weight: 700; color: var(--site-muted); }
.cal-d { aspect-ratio: 1; border-radius: 10px; font-weight: 700; color: var(--site-ink); background: var(--mist); max-width: 100%; }
.cal-d:disabled { background: none; color: color-mix(in srgb, var(--site-muted) 50%, transparent); text-decoration: line-through; cursor: default; }
.cal-d.today { box-shadow: inset 0 0 0 1.5px var(--olive); } .cal-d.on { background: var(--olive); color: #fff; }
.rd-g { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--site-muted); margin-top: 4px; }
.rd-ts { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 6px; margin-top: 6px; }
.rd-t { padding: 10px 0; border-radius: 10px; background: var(--mist); font-weight: 800; color: var(--site-ink); } .rd-t.on { background: var(--olive); color: #fff; } .rd-t:disabled { opacity: .3; text-decoration: line-through; }
.rd-h { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: 24px; }
.rd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } @media (max-width: 520px) { .rd-grid { grid-template-columns: 1fr; } }
.rd-tick { display: flex; gap: 8px; align-items: center; font-size: 14px; }
.rd { margin-left: auto; margin-right: auto; }
.rd-title { font-family: var(--f-display); font-weight: 400; font-size: 30px; margin: 0 0 4px; color: var(--site-ink); }

/* AI agent card */
.agent { background: var(--card); color: var(--ink); border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 0 0 1px var(--line), 0 6px 24px rgba(20,20,40,.06); min-width: 0; border-top: 4px solid var(--gold); }
.agent .ag-h { display: flex; gap: 12px; align-items: center; }
.agent .ag-h b { font-size: 18px; display: block; } .agent .ag-h small { color: var(--muted); font-size: 13px; }
.agent .ag-logo { width: 44px; height: 44px; border-radius: 14px; background: var(--gold); color: var(--on-accent); display: grid; place-items: center; flex: none; }
.agent .ag-live { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; font-weight: 800; color: #11704e; background: #e3f6ee; padding: 5px 10px; border-radius: 999px; }
.agent .ag-live .dot { width: 7px; height: 7px; border-radius: 50%; background: #22b07d; animation: agp 1.6s infinite; }
.agent .ag-k { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.agent .ag-k > div { background: var(--bg); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.agent .ag-k small { color: var(--muted); font-size: 12.5px; font-weight: 600; } .agent .ag-k b { font-size: 26px; font-weight: 800; color: var(--ink); } .agent .ag-k b.dn { color: var(--coral); } .agent .ag-k span { color: var(--muted); font-size: 12px; }
.agent .ag-list { display: flex; flex-direction: column; gap: 10px; }
.agent .ag-i { display: flex; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.agent .ag-i.high { background: #fff6f3; box-shadow: inset 0 0 0 1px #f3c9bd, inset 4px 0 0 #d9603d; }
.agent .ag-i b { font-size: 15.5px; color: var(--ink); } .agent .ag-i p { margin: 3px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.agent .ag-ic { flex: none; margin-top: 1px; color: var(--gold); } .agent .ag-i.high .ag-ic { color: #d9603d; } .agent .ag-i.info .ag-ic { color: #2f6dff; }
.agent .ag-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.agent .ag-btns .b { font-size: 13.5px; padding: 9px 14px; } .agent .ag-btns .b.ghost { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1.5px var(--line); }
.agent .ag-why { margin-top: 8px; font-size: 13px; color: var(--muted); } .agent .ag-why summary { cursor: pointer; color: var(--gold); font-weight: 700; }
.agent .ag-why ol { margin: 6px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; line-height: 1.45; }
.agent .ag-more { background: none; border: 0; color: var(--gold); font-weight: 800; padding: 6px 2px; text-align: left; cursor: pointer; font: inherit; }

/* menu: subcategories, specials, pairings, allergy check */
.cat.spec { background: var(--gold-soft); box-shadow: inset 0 0 0 1.5px var(--gold); color: var(--gold); }
.cat small { background: var(--gold); color: var(--on-accent); border-radius: 999px; padding: 0 7px; font-size: 11px; margin-left: 4px; }
.subcats { display: flex; gap: 6px; flex-wrap: wrap; }
.subcats .sc { padding: 9px 14px; border-radius: 999px; background: var(--navy-2); color: var(--muted-d); font-weight: 700; font-size: 13.5px; }
.subcats .sc.on { background: var(--gold); color: var(--on-accent); }
.suggest { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; background: var(--gold-soft); border: 1px solid rgba(47,139,255,.45); border-radius: 12px; padding: 8px 10px; }
.suggest span { color: var(--gold); font-weight: 700; font-size: 13px; }
.suggest .sg { background: var(--navy-3); color: var(--ink-d); padding: 9px 12px; border-radius: 10px; font-weight: 700; font-size: 13.5px; }
.suggest .sg b { color: var(--gold); margin-left: 4px; } .suggest .sgx { margin-left: auto; color: var(--muted-d); padding: 4px 8px; }
.it.spec { background: linear-gradient(160deg, rgba(47,139,255,.16), var(--navy-2) 60%); }
.it .flag.ok { color: var(--seated); }
.acgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px; }
.ac-s { background: var(--navy); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; border-top: 4px solid var(--line-d); }
.ac-s > p { margin: 0; font-weight: 800; display: flex; justify-content: space-between; } .ac-s > p span { color: var(--muted-d); }
.ac-s.ok { border-top-color: var(--seated); } .ac-s.swp { border-top-color: var(--gold); } .ac-s.may { border-top-color: var(--dessert); } .ac-s.no { border-top-color: var(--bill); } .ac-s.un { border-top-color: var(--dim-d); }
.ac-r { display: flex; flex-direction: column; padding: 4px 0; border-bottom: 1px solid var(--line-d); } .ac-r:last-child { border-bottom: 0; }
.ac-r small, .ac-n { color: var(--muted-d); font-size: 12.5px; line-height: 1.35; }
.ac-s.no .ac-r b { color: var(--warn-ink); } .ac-s.un .ac-r b { color: var(--muted-d); }
.o.ing small { color: var(--warn-ink); }
/* back office menu */
.cattree { display: flex; flex-direction: column; gap: 6px; }
.catrow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: var(--chip); border-radius: 10px; padding: 8px 10px; border: 1px solid transparent; }
.catrow.drag { opacity: .45; } .catrow.over { border-color: var(--gold); box-shadow: 0 -3px 0 var(--gold); }
.catrow .grip { cursor: grab; color: var(--muted); letter-spacing: -2px; font-weight: 800; user-select: none; }
.catrow small { color: var(--muted); } .catrow.hid b { color: var(--muted); text-decoration: line-through; }
.catrow .b { padding: 6px 10px; font-size: 12.5px; }
.cdot { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.specrow { display: flex; gap: 14px; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.specrow small { display: block; color: var(--muted); margin: 2px 0; }
.specrow .left { text-align: center; background: var(--chip); border-radius: 12px; padding: 8px 12px; min-width: 64px; }
.specrow .left b { font-size: 26px; display: block; } .specrow .left.low { background: rgba(217,96,61,.13); color: var(--coral); }
.dropzone { display: flex; flex-direction: column; align-items: center; gap: 4px; border: 2px dashed var(--line-d); border-radius: 14px; padding: 28px 16px; cursor: pointer; text-align: center; }
.dropzone small { color: var(--muted-d); } .dropzone:hover { border-color: var(--gold); }
.imprev { position: relative; max-height: 420px; overflow: hidden; border-radius: 12px; }
.imprev img { width: 100%; display: block; }
.scanline { position: absolute; left: 0; right: 0; height: 60px; background: linear-gradient(transparent, rgba(47,139,255,.45), transparent); animation: scan 1.4s linear infinite; }
@keyframes scan { from { top: -60px; } to { top: 100%; } }
.impwrap { display: flex; gap: 16px; align-items: flex-start; }
.impthumb { width: 180px; border-radius: 10px; flex: none; }
.improw { display: flex; flex-direction: column; gap: 4px; padding: 8px 0; border-bottom: 1px solid var(--line-d); }
.improw small { color: var(--muted-d); } .ck { display: flex; gap: 8px; align-items: center; }
@media (max-width: 720px) { .impwrap { flex-direction: column; } .impthumb { width: 100%; max-width: 260px; } }

.acgrid details.ac-s { grid-column: 1 / -1; } .acgrid details summary { cursor: pointer; display: flex; justify-content: space-between; } .acgrid details summary span { color: var(--muted-d); }

.improw.ck { flex-direction: row; align-items: center; justify-content: flex-start; flex-wrap: wrap; text-align: left; gap: 8px; }
.improw { text-align: left; }

/* accident book photos, roles matrix */
.acph { display: flex; gap: 10px; flex-wrap: wrap; }
.acph figure { margin: 0; width: 120px; } .acph img { width: 120px; height: 90px; object-fit: cover; border-radius: 10px; display: block; }
.acph figcaption { font-size: 12px; color: var(--muted-d); display: flex; justify-content: space-between; margin-top: 3px; }
.acadd { width: 120px; height: 90px; border: 2px dashed var(--line-d); border-radius: 10px; display: grid; place-items: center; color: var(--muted-d); font-weight: 700; cursor: pointer; font-size: 13px; }
table.perm td, table.perm th { text-align: left; } table.perm .c { text-align: center; } .perm .pgrp { background: var(--chip); font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.pk { width: 26px; height: 26px; border-radius: 8px; border: 1.5px solid var(--line); background: var(--card); color: #fff; font-weight: 800; }
.pk.on { background: var(--gold); border-color: var(--gold); } .pk:disabled { opacity: .55; cursor: not-allowed; }
.c2.on { background: var(--navy); }
/* till sign in: pick who, then PIN */
.login2 { flex: 1; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(300px, 1fr); gap: 0; min-height: 0; }
.who2 { padding: 22px; display: flex; flex-direction: column; gap: 14px; overflow: auto; border-right: 1px solid var(--line-d); }
.who2 h2, .pin2 h2 { margin: 0; font-size: 22px; letter-spacing: -.01em; }
.whogrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.whot { background: var(--navy-2); border: 1px solid var(--line-d); border-radius: 16px; padding: 16px 10px; display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--ink-d); }
.whot.on, .whot:hover { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.whot .av { width: 52px; height: 52px; border-radius: 50%; background: var(--navy-3); display: grid; place-items: center; font-weight: 800; font-size: 18px; margin-bottom: 4px; }
.whot b { font-size: 16px; } .whot small { color: var(--muted-d); font-size: 12.5px; display: flex; align-items: center; gap: 5px; } .whot em { font-style: normal; font-size: 11px; color: var(--dim-d); }
.ondot { width: 7px; height: 7px; border-radius: 50%; background: var(--seated); display: inline-block; }
.pin2 { padding: 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.pin2 .keypad { max-width: 340px; }
@media (max-width: 760px) { .login2 { grid-template-columns: 1fr; } .who2 { border-right: 0; border-bottom: 1px solid var(--line-d); } }
/* booking search */
.bklist { display: flex; flex-direction: column; gap: 6px; max-height: 420px; overflow: auto; }
.bkr { display: flex; justify-content: space-between; gap: 12px; text-align: left; background: var(--navy); border-radius: 12px; padding: 10px 12px; color: var(--ink-d); }
.bkr small { display: block; color: var(--muted-d); font-size: 12.5px; } .bkr span:last-child { text-align: right; }
/* connection badge, shown on every screen when offline or sending */
.netbadge { position: fixed; right: calc(12px + env(safe-area-inset-right, 0px)); bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 90; max-width: min(360px, calc(100% - 24px)); border-radius: 14px; padding: 10px 14px; display: flex; flex-direction: column; gap: 2px; font-size: 13px; box-shadow: 0 12px 30px rgba(0,0,0,.35); }
.netbadge b { font-size: 14px; } .netbadge.off { background: #2a1512; color: #ffd6cf; border: 1px solid #e5534b; } .netbadge.sync { background: var(--gold); color: #fff; }
/* prep list and pars */
.prepwrap { display: flex; flex-direction: column; gap: 10px; color: var(--ink-d); }
.prepwrap.light { color: var(--ink); background: var(--card); border-radius: 14px; box-shadow: 0 0 0 1px var(--line); padding: 16px 18px; }
.prephead { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: flex-start; }
.prephead b { font-size: 18px; display: block; } .prephead small { color: var(--muted-d); max-width: 60ch; display: block; } .light .prephead small, .light .prepnote, .light .prept small { color: var(--muted); }
.prepbtns { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; } .light .chip { background: var(--chip); color: var(--ink); }
.prepwrap h4 { margin: 6px 0 0; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.prept td, .prept th { color: inherit; } .prept small { color: var(--muted-d); font-weight: 500; }
.cnt { width: 64px; text-align: right; font: inherit; font-weight: 700; padding: 6px 8px; border-radius: 8px; border: 1px solid var(--line-d); background: var(--navy); color: var(--ink-d); }
.light .cnt { background: var(--chip); color: var(--ink); border-color: var(--line); }
.todo { color: var(--gold); font-size: 17px; } .done { color: var(--seated); }
.prepnote { margin: 0; font-size: 13px; color: var(--muted-d); }
/* allergen sheets preview */
.sheetprev { background: #d9d9de; border-radius: 12px; padding: 14px; max-height: 64vh; overflow: auto; }

.sheetprev .asheet{font-family:Manrope,Arial,sans-serif;color:#0a0a0c;background:#fff;width:190mm;min-height:270mm;margin:0 auto 14px;padding:12mm;box-sizing:border-box;page-break-after:always;display:flex;flex-direction:column;gap:10px;border-radius:6px}
.sheetprev .asheet.wide{width:277mm;min-height:190mm}
.sheetprev .asheet header{display:flex;justify-content:space-between;align-items:flex-end;border-bottom:3px solid #0a0a0c;padding-bottom:8px}
.sheetprev .asheet h2{margin:0;font-size:24px}
.sheetprev .asheet h3{margin:6px 0 0;font-size:14px}
.sheetprev .asheet small{color:#5e5e6b}
.sheetprev .asl{font-weight:800;font-size:20px;letter-spacing:-1px}
.sheetprev .asl i{color:#2f8bff;font-style:normal}
.sheetprev .asheet table{width:100%;border-collapse:collapse;font-size:12.5px}
.sheetprev .asheet th,.asheet td{border:1px solid #c9c9d1;padding:6px 7px;text-align:left;vertical-align:top}
.sheetprev .asheet th{background:#f2f3f7;font-weight:800}
.sheetprev .af th{width:28%}
.sheetprev .ag td,.ag th{text-align:center;width:14.2%}
.sheetprev .ag td{height:34px}
.sheetprev .ai td{height:22px}
.sheetprev .abox{border:1px solid #c9c9d1;min-height:40px;padding:7px;font-size:12.5px}
.sheetprev .y{color:#c62828}
.sheetprev .m{color:#b26a00}
.sheetprev .n{color:#9b9ba8}
.sheetprev .am th span{writing-mode:vertical-rl;transform:rotate(180deg);display:inline-block;font-size:11px}
.sheetprev .am td{text-align:center}
.sheetprev .am td:first-child{text-align:left;font-weight:700}
.sheetprev .asheet footer{margin-top:auto;font-size:11px;color:#5e5e6b;border-top:1px solid #c9c9d1;padding-top:6px}
.prepwrap:not(.light) .prept th { background: var(--navy-3); color: var(--muted-d); border-bottom-color: var(--line-d); } .prepwrap:not(.light) .prept td { border-bottom-color: var(--line-d); }
.lnk{background:none;border:0;padding:0;color:inherit;font:inherit;cursor:pointer;text-align:left}.lnk:hover{text-decoration:underline}

/* menus preview and learned choices */
.previewbar{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap;background:color-mix(in srgb,var(--gold) 22%,var(--navy-2));border:1.5px solid var(--gold);border-radius:12px;padding:8px 12px;margin-bottom:8px;font-size:14px;color:var(--ink-d)}
.toppick{display:grid;gap:6px;margin-bottom:6px}.toppick>span{font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--gold)}
.opts.big .o{min-height:56px;font-size:16px;font-weight:700;padding:10px 16px}
.morepick summary{cursor:pointer;font-weight:700;font-size:14px;color:var(--muted-d);padding:6px 0;list-style:revert}.morepick[open] summary{margin-bottom:6px}

/* undo the last button tapped, for a few seconds */
.grid{position:relative}
.undopill{position:sticky;bottom:12px;margin:12px auto 0;display:flex;align-items:center;gap:10px;justify-content:center;width:min(420px,100%);background:#f3f3f6;color:#0b0b0d;border:0;border-radius:999px;padding:14px 22px;font:700 17px/1.2 var(--f-body,system-ui);box-shadow:0 10px 30px rgba(0,0,0,.45);overflow:hidden;cursor:pointer;z-index:5}
.undopill b{font-weight:800}
.undopill i{position:absolute;left:0;bottom:0;height:4px;width:100%;background:var(--gold);transform-origin:left;animation:undoshrink linear forwards}
@keyframes undoshrink{from{transform:scaleX(1)}to{transform:scaleX(0)}}
@media (prefers-reduced-motion:reduce){.undopill i{animation:none}}

/* room planner */
.roomsvg{position:absolute;left:0;top:0;pointer-events:none;overflow:visible}
.roomsvg .rf,.roomsvg [data-corner],.roomsvg [data-mid]{pointer-events:auto}
.rp-world .roomsvg .rf{cursor:move}
.tabs[hidden]{display:none!important}
.rp-modes{display:flex;gap:6px;flex-wrap:wrap}
.rp-m{border:1.5px solid var(--line);background:var(--card);border-radius:999px;padding:9px 16px;font-weight:700;color:var(--ink)}
.rp-m.on{background:var(--ink);color:var(--card);border-color:var(--ink)}
.rp-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:14px;align-items:start}
@media (max-width:900px){.rp-grid{grid-template-columns:1fr}}
.rp-stage{position:relative;overflow:auto;-webkit-overflow-scrolling:touch;border-radius:16px;background:radial-gradient(circle at 1px 1px,rgba(120,130,150,.22) 1px,transparent 0) 0 0/20px 20px,var(--navy);touch-action:none;min-height:200px;border:1px solid var(--line)}
.rp-world{position:absolute;left:0;top:0;transform-origin:0 0;--room:var(--navy);color:var(--ink-d)}
.rp-t{position:absolute;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:12px;border:2px solid var(--free);background:var(--navy-3);color:var(--ink-d);cursor:move;touch-action:none;user-select:none}
.rp-t.round{border-radius:50%}.rp-t b{font-size:18px}.rp-t small{font-size:11px;color:var(--muted-d)}
.rp-t.sel{border-color:var(--gold);box-shadow:0 0 0 3px var(--gold-soft)}
.rp-side{gap:10px}.rp-side h3{margin:0}
.rp-pal{display:flex;flex-wrap:wrap;gap:6px}
.rp-pb{border:1.5px solid var(--line);border-radius:10px;padding:9px 12px;font-weight:700;background:var(--chip);color:var(--ink)}
.rp-pb.on{background:var(--gold);color:var(--on-accent);border-color:var(--gold)}
.rp-row{display:flex;gap:8px;flex-wrap:wrap}
.rp-sel{border-top:1px solid var(--line);padding-top:10px;display:grid;gap:8px}
.rp-lbl{font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.rp-chk{display:flex;gap:8px;align-items:center;font-weight:600}

/* ---------- modern pass: soft cards, pill controls, tinted tiles. Colours still come from the theme. ---------- */
.till { --r-lg: 20px; --r-md: 14px; --sh: 0 1px 2px rgba(0,0,0,.06), 0 4px 14px rgba(0,0,0,.06); font-family: "Plus Jakarta Sans", var(--f-ui); letter-spacing: -.005em; }
:root[data-till="dark"] .till { --sh: 0 1px 0 rgba(255,255,255,.04) inset, 0 6px 18px rgba(0,0,0,.35); }
.till .top { min-height: 68px; padding: 10px 18px; gap: 14px; border-bottom: 0; background: var(--bar); box-shadow: 0 1px 0 var(--line-d); }
.till .top .tabs { background: var(--navy); padding: 4px; border-radius: 999px; gap: 2px; }
.till .top .tab { border-radius: 999px; padding: 9px 18px; }
.till .top .tab.on { background: var(--navy-2); color: var(--ink-d); box-shadow: var(--sh); }
.till .btn { border-radius: var(--r-md); }
.till .btn.sm { border-radius: 999px; padding: 9px 14px; }
.till .chip { border-radius: 999px; }

.main.order { gap: 14px; padding: 14px; background: var(--navy); }
.till .cats { width: 178px; padding: 0; gap: 6px; border-right: 0; }
.till .cat { position: relative; display: flex; align-items: center; gap: 11px; padding: 14px 14px; border-radius: var(--r-md); border-left: 0; background: transparent; font-weight: 700; font-size: 15px; color: var(--muted-d); transition: background .15s, color .15s; }
.till .cat::before { content: ""; width: 12px; height: 12px; border-radius: 4px; flex: none; background: var(--cc); }
.till .cat:hover { background: var(--hover); color: var(--ink-d); }
.till .cat.on { background: var(--navy-2); color: var(--ink-d); box-shadow: var(--sh), inset 0 0 0 1.5px color-mix(in srgb, var(--cc) 55%, transparent); }
.till .cat.spec { background: var(--gold); color: var(--on-accent); box-shadow: var(--sh); }
.till .cat.spec::before { background: var(--on-accent); border-radius: 50%; }
.till .cat.spec small { background: var(--on-accent); color: var(--gold); }

.till .grid { padding: 0; gap: 12px; }
.till .search { border-radius: 999px; padding: 14px 20px 14px 46px; background: var(--navy-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%23888' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='8' cy='8' r='6'/%3E%3Cpath d='m13 13 4 4'/%3E%3C/svg%3E") no-repeat 18px center; box-shadow: var(--sh); font-size: 15px; }
.till .items { grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 12px; }
.till .it { min-height: 118px; border-radius: var(--r-lg); border-top: 0; padding: 16px 16px 14px; gap: 6px; justify-content: flex-start;
  background: color-mix(in srgb, var(--cc) 13%, var(--navy-2)); box-shadow: var(--sh); transition: transform .08s, box-shadow .15s; }
.till .it:hover { box-shadow: var(--sh), inset 0 0 0 1.5px color-mix(in srgb, var(--cc) 60%, transparent); }
.till .it:active { transform: scale(.97); }
.till .it b { font-size: 15.5px; font-weight: 700; line-height: 1.25; padding-right: 26px; text-wrap: balance; }
.till .it .al { font-size: 11px; color: var(--muted-d); line-height: 1.3; }
.till .it .pr { margin-top: auto; font-size: 16px; font-weight: 800; color: var(--ink-d); font-variant-numeric: tabular-nums; }
.till .it .more { position: absolute; right: 12px; bottom: 12px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 16px; line-height: 1; background: color-mix(in srgb, var(--cc) 30%, var(--navy-2)); color: var(--ink-d); }
.till .it .flag { top: 12px; right: 12px; padding: 3px 8px; border-radius: 999px; background: color-mix(in srgb, var(--bill) 18%, transparent); font-size: 11px; }
.till .it .flag.ok { background: color-mix(in srgb, var(--seated) 18%, transparent); }
.till .it.spec { background: color-mix(in srgb, var(--gold) 12%, var(--navy-2)); }
.till .subcats .sc { box-shadow: var(--sh); padding: 10px 16px; }

.till .ticket { width: 390px; border-left: 0; border-radius: 24px; background: var(--panel); box-shadow: var(--sh); overflow: hidden; }
.till .th { border-bottom: 0; padding: 16px 18px 10px; }
.till .th h2 { font-size: 24px; letter-spacing: -.02em; }
.till .lines { padding: 0 12px; }
.till .course { margin: 14px 6px 6px; text-transform: uppercase; letter-spacing: .06em; font-size: 11px; }
.till .ln { padding: 9px 8px; border-radius: 12px; grid-template-columns: 28px 1fr auto; }
.till .ln .q { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: var(--navy-3); color: var(--ink-d); font-size: 12px; font-weight: 800; }
.till .ln.new { background: var(--gold-soft); }
.till .ln.new .q { background: var(--gold); color: var(--on-accent); }
.till .tot { border-top: 1px dashed var(--line-d); margin: 0 18px; padding: 14px 0 12px; }
.till .acts { padding: 0 14px 14px; }
.till .btn.big { border-radius: 18px; padding: 20px 14px; font-size: 19px; letter-spacing: -.01em; }
.till .btn.gold.big { box-shadow: 0 8px 20px color-mix(in srgb, var(--gold) 35%, transparent); }
.till .allergy-bar { border-radius: 12px; }
.till .undopill { background: var(--strong); color: var(--on-strong); }

@media (max-width: 1100px) { .till .ticket { width: 330px; } .till .cats { width: 150px; } .till .cat { font-size: 14px; padding: 12px; } .till .items { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); } }
@media (max-width: 720px) {
  .main.order { padding: 10px; gap: 10px; }
  .till .cats { width: auto; flex-direction: row; overflow-x: auto; padding-bottom: 2px; flex: none; }
  .till .cat { white-space: nowrap; padding: 11px 14px; }
  .till .ticket { width: 100%; border-radius: 20px; overflow: visible; flex: none; }
  .till .grid { flex: none; overflow: visible; }
  .till .items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Keith change cards */
.kcard { margin-top: 10px; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.kcard ul { margin: 0 0 10px; padding-left: 18px; display: grid; gap: 4px; }
.kcard .kbtns { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.kcard.gone { opacity: .6; }
.b.sm { padding: 7px 12px; font-size: 13px; }

/* buttons that look like buttons: raised surface, clear edge, press feedback */
.btn.ghost, .cashbtns button, .modal .opt, .modal .seg button:not(.on) { background: var(--navy-2); color: var(--ink-d); box-shadow: inset 0 0 0 1.5px var(--line-d), 0 1px 2px rgba(0,0,0,.06); }
.cashbtns button { padding: 16px 6px; font-size: 17px; border-radius: 14px; }
.btn.ghost:hover, .cashbtns button:hover { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--gold) 60%, transparent), 0 2px 8px rgba(0,0,0,.08); }
.till .btn:active:not(:disabled) { transform: scale(.98); }
.till .tender { background: var(--navy-2); box-shadow: inset 0 0 0 1.5px var(--line-d), var(--sh); border-radius: 18px; }
.till .tender:hover { box-shadow: inset 0 0 0 2px var(--gold), var(--sh); }
.till .tender.card { background: var(--gold); color: var(--on-accent); box-shadow: 0 8px 20px color-mix(in srgb, var(--gold) 30%, transparent); }
.till .tender.card:disabled { opacity: .5; }
.till .seg { background: var(--navy-3); padding: 5px; border-radius: 14px; }
.till .seg button { padding: 11px 16px; font-size: 14.5px; color: var(--ink-d); }
.till .seg button.on { background: var(--gold); color: var(--on-accent); box-shadow: none; }
.splitbtn { display: flex; align-items: center; gap: 14px; text-align: left; padding: 16px 18px !important; border-radius: 18px !important; background: var(--navy-2); color: var(--gold); box-shadow: inset 0 0 0 2px var(--gold), var(--sh); font-size: 18px; }
.splitbtn span { color: var(--ink-d); } .splitbtn small { display: block; font-weight: 500; font-size: 13px; color: var(--muted-d); margin-top: 2px; }
.splitbtn:hover { background: var(--gold-soft); }

/* paying by item: what is paid, what is picked, what is left */
.plhead { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 8px; color: var(--muted-d); font-weight: 700; font-size: 14px; }
.paidpill { display: inline-block; background: color-mix(in srgb, var(--seated) 18%, transparent); color: color-mix(in srgb, var(--seated) 80%, var(--ink-d)); border-radius: 999px; padding: 2px 9px; font-size: 12px; font-weight: 800; }
.ln.pl.pick { grid-template-columns: 34px 1fr auto; align-items: center; padding: 12px 10px; margin: 4px 0; border-radius: 14px; background: var(--navy-2); box-shadow: inset 0 0 0 1.5px var(--line-d); font-size: 15.5px; cursor: pointer; }
.ln.pl.pick .tick { width: 24px; height: 24px; border-radius: 8px; border: 2px solid var(--line-d); display: grid; place-items: center; font-weight: 900; font-size: 14px; color: var(--on-accent); background: var(--navy-2); }
.ln.pl.pick.on { background: var(--gold-soft); box-shadow: inset 0 0 0 2px var(--gold); }
.ln.pl.pick.on .tick { background: var(--gold); border-color: var(--gold); }
.ln.pl.pick.paid { background: color-mix(in srgb, var(--seated) 9%, var(--navy-2)); box-shadow: none; color: var(--muted-d); cursor: default; }
.ln.pl.pick.paid .tick { background: var(--seated); border-color: var(--seated); color: #fff; }
.ln.pl.pick.paid .num { text-decoration: line-through; }
.ln.pl:disabled { opacity: 1; }
.pickhint { margin: 0; color: var(--muted-d); } .pickhint b { color: var(--ink-d); }
.o { border-radius: 12px; } .o:not(.on) { background: var(--navy-2); box-shadow: inset 0 0 0 1.5px var(--line-d); }
.o.on small { color: var(--on-accent); opacity: .85; }

/* ---------- phone: the till as a handheld ---------- */
.sheetbar { display: none; }
@media (max-width: 720px) {
  .till .top { min-height: 56px; padding: 8px max(12px, env(safe-area-inset-left, 0px)); gap: 8px; }
  .till .top .tabs { order: 3; width: 100%; justify-content: space-between; }
  .till .top .tab { flex: 1; text-align: center; padding: 9px 6px; }
  /* sign in: a strip of faces, then a big keypad */
  .login2 { display: flex; flex-direction: column; overflow: auto; }
  .who2 { padding: 12px 14px; gap: 10px; border-bottom: 1px solid var(--line-d); flex: none; }
  .who2 h2 { font-size: 17px; }
  .who2 .tillalert { font-size: 12.5px; padding: 8px 10px; }
  .whogrid { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 4px; scroll-snap-type: x mandatory; }
  .whot { flex: none; width: 84px; padding: 10px 6px; border-radius: 14px; scroll-snap-align: start; }
  .whot .av { width: 40px; height: 40px; font-size: 14px; margin-bottom: 2px; }
  .whot b { font-size: 13.5px; } .whot small { font-size: 11px; } .whot em { display: none; }
  .who2 > .btn { padding: 10px; }
  .pin2 { flex: 1; padding: 14px 16px calc(84px + env(safe-area-inset-bottom, 0px)); gap: 10px; justify-content: flex-start; }
  .pin2 > div:first-child { display: none !important; }
  .pin2 h2 { font-size: 20px; }
  .pin2 .keypad { max-width: 420px; gap: 10px; }
  .keypad button { padding: 16px 0; font-size: 26px; }
  /* ordering: menu fills the screen, the bill is a sheet at the bottom */
  .main.order { padding: 8px 10px calc(150px + env(safe-area-inset-bottom, 0px)); gap: 8px; display: flex; flex-direction: column; overflow: auto; }
  .till .cats { position: sticky; top: -8px; z-index: 3; background: var(--navy); padding: 6px 0; margin: 0 -2px; }
  .till .cat { padding: 10px 14px; font-size: 14px; }
  .till .search { padding: 12px 16px 12px 42px; background-position: 14px center; }
  .till .items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .till .it { min-height: 96px; padding: 12px; border-radius: 16px; }
  .till .it b { font-size: 14.5px; }
  .till .ticket { position: fixed; left: 0; right: 0; bottom: 0; width: auto; z-index: 40; border-radius: 22px 22px 0 0; max-height: 82vh; display: flex; flex-direction: column; box-shadow: 0 -10px 30px rgba(0,0,0,.18); padding-bottom: env(safe-area-inset-bottom, 0px); overflow: hidden; }
  .till .ticket:not(.open) .th, .till .ticket:not(.open) .lines, .till .ticket:not(.open) .tot { display: none; }
  .till .ticket.open .lines { overflow: auto; flex: 1; min-height: 0; }
  .sheetbar { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 14px 18px 8px; font-size: 15px; color: var(--ink-d); text-align: left; }
  .sheetbar::before { content: ""; position: absolute; left: 50%; top: 6px; width: 40px; height: 4px; border-radius: 4px; background: var(--line-d); transform: translateX(-50%); }
  .sheetbar em { font-style: normal; color: var(--gold); font-weight: 800; } .sheetbar .num { font-weight: 800; font-size: 17px; } .sheetbar i { font-style: normal; color: var(--muted-d); }
  .till .acts { padding: 6px 12px 12px; } .till .btn.big { padding: 15px 10px; font-size: 17px; }
  .till .undopill { position: fixed; bottom: calc(150px + env(safe-area-inset-bottom, 0px)); left: 50%; transform: translateX(-50%); width: calc(100% - 32px); }
  /* the demo switcher stays out of the way */
  .ribbon { left: 0; right: 0; top: 0; bottom: auto; border-radius: 0; border: 0; border-bottom: 1px solid var(--line-d); padding: calc(4px + env(safe-area-inset-top, 0px)) 8px 4px; overflow-x: auto; scrollbar-width: none; background: var(--bar); }
  .ribbon::-webkit-scrollbar { display: none; }
  .ribbon [data-rt] { display: none; } .ribbon [data-go] { display: block; flex: none; }
  .ribbon button { font-size: 12px; padding: 6px 10px; color: var(--muted-d); }
  body:has(#ribbon) #app { padding-top: calc(36px + env(safe-area-inset-top, 0px)); height: 100%; box-sizing: border-box; }
  .till .top .chip { font-size: 0; gap: 0; padding: 6px; } .till .top .chip .dot { width: 10px; height: 10px; }
}
.till .it:has(.flag) b { padding-right: 58px; }

/* seating a walk in */
.wstep { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; }
.wstep > b { width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: var(--on-accent); display: grid; place-items: center; font-size: 14px; }
.wstep .btn { margin-left: auto; }
.wnum .o { min-width: 64px; justify-content: center; font-size: 20px; }
.wtables { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.wt { position: relative; text-align: left; padding: 16px; border-radius: 16px; background: var(--navy-2); color: var(--ink-d); box-shadow: inset 0 0 0 1.5px var(--line-d); display: grid; gap: 2px; }
.wt b { font-size: 20px; } .wt span { color: var(--muted-d); font-size: 13px; }
.wt:hover, .wt.best { box-shadow: inset 0 0 0 2px var(--gold); background: var(--gold-soft); }
.wt em { position: absolute; top: 10px; right: 10px; font-style: normal; font-size: 11px; font-weight: 800; background: var(--gold); color: var(--on-accent); border-radius: 999px; padding: 2px 8px; }
.pickbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--gold); color: var(--on-accent); border-radius: 14px; padding: 12px 14px 12px 18px; font-size: 15px; }
.pickbar .btn { background: var(--on-accent); color: var(--gold); box-shadow: none; }
.room-wrap.picking .t:not(.fits) { opacity: .35; }
.room-wrap.picking .t.fits { box-shadow: 0 0 0 4px var(--gold-soft), 0 0 0 2px var(--gold) inset; animation: pickglow 1.4s ease-in-out infinite; }
@keyframes pickglow { 50% { box-shadow: 0 0 0 10px transparent, 0 0 0 2px var(--gold) inset; } }
@media (prefers-reduced-motion: reduce) { .room-wrap.picking .t.fits { animation: none; } }

/* Denall HQ is our own business, so it wears Denall colours, not the venue's */
.office[data-screen="hq"] { --deep: #0b0b0d; --deep-2: #17171b; --deep-3: #232329; --deep-line: #2d2d35; --gold: #2f8bff; --gold-soft: rgba(47,139,255,.12); --on-accent: #ffffff; }

/* notices on the sign in screen: one line each on a phone */
@media (max-width: 720px) {
  html, body { background: var(--navy); }
  .till { height: 100dvh; }
  body:has(#ribbon) #app { height: 100dvh; }
  body:has(#ribbon) #app .till { height: 100%; }
  .who2 { padding: 10px 12px; gap: 8px; }
  .who2 .tillalert { padding: 8px 12px; font-size: 13px; border-radius: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .who2 .tillalert b { display: inline; }
  .who2 h2 { font-size: 16px; }
  .whot { width: 74px; padding: 8px 4px; gap: 2px; }
  .whot .av { width: 34px; height: 34px; font-size: 13px; }
  .whot b { font-size: 13px; } .whot small { font-size: 10.5px; }
  .who2 > .btn { padding: 9px; font-size: 14px; }
  .pin2 { padding: 10px 14px calc(16px + env(safe-area-inset-bottom, 0px)); gap: 8px; }
  .pin2 h2 { font-size: 18px; }
  .pinrow i { width: 14px; height: 14px; }
  .pin2 .keypad { gap: 8px; }
  .keypad button { padding: 0; height: clamp(48px, 7.2dvh, 64px); font-size: 24px; border-radius: 14px; }
}

/* ---------- demo start page, in Denall colours whatever the venue ---------- */
.hub { --hk: #0b0b0d; --hb: #2f8bff; --hp: #f4f5f8; --hm: #6b6b76; background: var(--hp); color: var(--hk); padding: 0; min-height: 100%; font-family: "Plus Jakarta Sans", var(--f-ui); }
.hub .hub-in { max-width: 1160px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.hub-hero { background: var(--hk); color: #fff; padding-block: clamp(32px, 6vw, 64px) clamp(36px, 6vw, 72px); background-image: radial-gradient(circle at 85% 20%, rgba(47,139,255,.28), transparent 45%); }
.hub-hero .hub-in { display: flex; flex-direction: column; gap: 18px; }
.hub-brand { display: flex; gap: 12px; align-items: center; }
.hub .brand { font: 900 26px/1 Outfit, sans-serif; letter-spacing: -.04em; color: #fff; } .hub .brand b { color: var(--hb); } .hub .brand span { font: 700 14px "Plus Jakarta Sans", sans-serif; letter-spacing: 0; color: #a8a8b3; margin-left: 6px; }
.hub h1 { font: 900 clamp(34px, 5.4vw, 64px)/1.02 Outfit, sans-serif; letter-spacing: -.035em; margin: 0; max-width: 18ch; color: #fff; text-wrap: balance; }
.hub h1 .hdot { color: var(--hb); }
.hub-hero .lede { color: #c4c4cc; font-size: clamp(16px, 1.6vw, 19px); max-width: 60ch; margin: 0; line-height: 1.55; }
.hub-pins { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; color: #c4c4cc; font-size: 14px; }
.hub-pins span { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 800; color: var(--hb); }
.hub-pins b { background: rgba(255,255,255,.1); color: #fff; padding: 4px 10px; border-radius: 8px; font-variant-numeric: tabular-nums; letter-spacing: .1em; }
.hub-body { display: flex; flex-direction: column; gap: 28px; padding-block: 28px 80px; margin-top: -40px; }
.hub .hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.hub .hub-card { text-align: left; background: #fff; border: 0; border-radius: 24px; padding: 22px; display: flex; flex-direction: column; gap: 10px; color: var(--hk); box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 10px 30px rgba(20,20,40,.07); transition: transform .15s, box-shadow .15s; cursor: pointer; }
.hub .hub-card:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(0,0,0,.06), 0 16px 40px rgba(20,20,40,.12); border: 0; }
.hc-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.hc-ic { width: 46px; height: 46px; border-radius: 14px; background: var(--hc); display: grid; place-items: center; }
.hc-ic svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hc-top em { font-style: normal; font-size: 12px; font-weight: 800; color: var(--hm); background: var(--hp); border-radius: 999px; padding: 5px 10px; }
.hub .hub-card b { font: 800 24px/1.1 Outfit, sans-serif; letter-spacing: -.02em; margin-top: 6px; }
.hub .hub-card .hc-t { color: var(--hm); line-height: 1.5; font-size: 15px; flex: 1; }
.hub .hub-card .go { align-self: flex-start; margin-top: 6px; background: var(--hk); color: #fff; padding: 11px 18px; border-radius: 999px; font-weight: 800; font-size: 14.5px; }
.hub .hub-card:hover .go { background: var(--hb); }
.hub .tour, .hub .promise { background: #fff; border-radius: 24px; padding: 24px; box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 10px 30px rgba(20,20,40,.06); }
.hub .tour h2 { font: 800 26px Outfit, sans-serif; letter-spacing: -.02em; margin: 0 0 10px; color: var(--hk); }
.hub .tour li button { color: var(--hk); }
.hub .promise div { border-left-color: var(--hb); color: var(--hm); } .hub .promise b { color: var(--hk); }
.hub .lede { color: var(--hm); }
.hub .pin-chip { background: var(--hp); border: 0; color: var(--hm); } .hub .pin-chip b { color: var(--hk); }
@media (max-width: 600px) { .hub-body { margin-top: -24px; } .hub .hub-card { padding: 18px; border-radius: 20px; } }

/* headings in the Denall typeface, like the demo start page */
.till .th h2, .till .pay h2, .login2 h2, .till .hd h2, .modal h3 { font-family: Outfit, "Plus Jakarta Sans", sans-serif; font-weight: 800; letter-spacing: -.02em; }
.till .tot .big { font-family: Outfit, "Plus Jakarta Sans", sans-serif; letter-spacing: -.01em; }

/* paying: type any amount, change or tip */
.pnin { width: 84px !important; padding: 8px 10px !important; border-radius: 999px !important; text-align: center; }
.cashtype { display: flex; align-items: center; gap: 8px; background: var(--navy-2); border-radius: 14px; padding: 4px 14px; box-shadow: inset 0 0 0 1.5px var(--line-d); }
.cashtype span { font-weight: 800; color: var(--muted-d); white-space: nowrap; }
.cashtype input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 18px; font-weight: 700; padding: 10px 0; color: var(--ink-d); outline: none; }
.cashtype.big input { font-size: 22px; }
.cashtype:focus-within { box-shadow: inset 0 0 0 2px var(--gold); }
.cashbtns button.on { background: var(--gold) !important; color: var(--on-accent) !important; box-shadow: none !important; }
.changeopts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.changeopts button { text-align: left; padding: 12px; border-radius: 14px; background: var(--navy-2); box-shadow: inset 0 0 0 1.5px var(--line-d); color: var(--ink-d); display: grid; gap: 2px; }
.changeopts button b { font-size: 14.5px; } .changeopts button small { color: var(--muted-d); font-size: 12px; }
.changeopts button.on { box-shadow: inset 0 0 0 2px var(--gold); background: var(--gold-soft); }
@media (max-width: 520px) { .changeopts { grid-template-columns: 1fr; } }

/* after tapping a dish: undo it, or add a note */
.undowrap { position: sticky; bottom: 12px; margin: 12px auto 0; display: flex; gap: 8px; width: min(520px, 100%); z-index: 5; }
.undowrap .undopill { position: relative; bottom: auto; margin: 0; flex: 1; width: auto; }
.notepill { flex: none; border: 0; border-radius: 999px; padding: 14px 20px; font: 800 16px/1.2 inherit; background: var(--gold); color: var(--on-accent); box-shadow: 0 10px 30px rgba(0,0,0,.25); cursor: pointer; }
@media (max-width: 720px) { .till .undowrap { position: fixed; bottom: calc(150px + env(safe-area-inset-bottom, 0px)); left: 16px; right: 16px; width: auto; margin: 0; } .till .undowrap .undopill { position: relative; left: auto; bottom: auto; transform: none; width: auto; } }

/* room canvas: shape, zoom and moving around */
.rp-stagewrap { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.rp-zoom { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.rp-zoom select { width: auto; padding: 7px 10px; }
.rp-zoom .b.on { background: var(--ink); color: var(--card); }
.rp-size { position: relative; }
.rp-stage.panning, .rp-stage.panning * { cursor: grab !important; }
.rp-stage.panning .rp-world { pointer-events: none; }

/* the day at a glance: each table across the day */
.fviews { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.fviews .cnt { background: var(--gold); color: var(--on-accent); border-radius: 999px; padding: 0 7px; font-size: 11px; margin-left: 4px; }
.fviews .seg button.on .cnt { background: var(--on-accent); color: var(--gold); }
.daybk { flex: 1; display: flex; flex-direction: column; gap: 8px; min-height: 0; background: var(--navy-2); border-radius: 18px; padding: 12px; box-shadow: var(--sh, 0 4px 14px rgba(0,0,0,.06)); overflow: auto; }
.tlhead { display: grid; grid-template-columns: 64px 1fr; position: sticky; top: -12px; background: var(--navy-2); z-index: 2; padding: 6px 0; }
.tlhours { position: relative; height: 18px; }
.tlhours span { position: absolute; transform: translateX(-50%); font-size: 11.5px; font-weight: 700; color: var(--muted-d); }
.tlbody { position: relative; display: flex; flex-direction: column; gap: 6px; }
.tlrow { display: grid; grid-template-columns: 64px 1fr; gap: 0; align-items: stretch; min-height: 48px; }
.tln { text-align: left; padding: 6px 8px; border-radius: 10px; color: var(--ink-d); display: flex; flex-direction: column; justify-content: center; }
.tln b { font-size: 15px; } .tln small { color: var(--muted-d); font-size: 11px; }
.tlt { position: relative; background: var(--navy); border-radius: 10px; min-height: 48px; }
.tlb { position: absolute; top: 4px; bottom: 4px; min-width: 44px; border-radius: 9px; padding: 3px 8px; text-align: left; overflow: hidden; white-space: nowrap; color: var(--ink-d); background: var(--navy-2); box-shadow: inset 0 0 0 2px var(--gold); display: flex; flex-direction: column; justify-content: center; }
.tlb b { font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; } .tlb span { font-size: 11px; color: var(--muted-d); overflow: hidden; text-overflow: ellipsis; }
.tlb.booked { box-shadow: inset 0 0 0 2px var(--gold); background: var(--gold-soft); border: 0; outline: 2px dashed transparent; }
.tlb.seated { box-shadow: inset 0 0 0 2px var(--seated); background: color-mix(in srgb, var(--seated) 14%, var(--navy-2)); }
.tlb.walk { box-shadow: inset 0 0 0 2px var(--ordered); background: color-mix(in srgb, var(--ordered) 14%, var(--navy-2)); }
.tlb.late, .tlb.noshow { box-shadow: inset 0 0 0 2px var(--bill); background: color-mix(in srgb, var(--bill) 12%, var(--navy-2)); }
.tlb.done { box-shadow: inset 0 0 0 1.5px var(--free); opacity: .6; }
.tlnow { position: absolute; top: -4px; bottom: 0; width: 2px; background: var(--bill); z-index: 1; pointer-events: none; }
.tlnow span { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); background: var(--bill); color: #fff; font-size: 10.5px; font-weight: 800; padding: 1px 6px; border-radius: 999px; }
@media (max-width: 720px) { .daybk { overflow-x: auto; } .tlhead, .tlbody { min-width: 760px; } }

.tlg { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line-d); }

/* questions when adding a dish: numbered, the one you must answer stands out */
.grp.q { border-radius: 16px; padding: 14px; background: var(--navy-2); box-shadow: inset 0 0 0 1.5px var(--line-d); }
.grp.q.req:not(.done) { box-shadow: inset 0 0 0 2px var(--gold); background: var(--gold-soft); }
.grp.q.done { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--seated) 60%, transparent); }
.qh { display: flex; align-items: center; gap: 10px; margin: 0 0 10px !important; flex-wrap: wrap; }
.qn { width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: var(--on-accent); display: grid; place-items: center; font-weight: 900; font-size: 14px; flex: none; }
.grp.q.done .qn { background: var(--seated); color: #fff; }
.qt { font: 800 19px/1.2 Outfit, "Plus Jakarta Sans", sans-serif; letter-spacing: -.01em; color: var(--ink-d); }
.qh em { font-style: normal; font-weight: 800; font-size: 12.5px; border-radius: 999px; padding: 3px 10px; margin-left: auto; }
.qh .qreq { background: var(--gold); color: var(--on-accent); animation: qpulse 1.6s ease-in-out infinite; }
.qh .qok { background: color-mix(in srgb, var(--seated) 16%, transparent); color: color-mix(in srgb, var(--seated) 75%, var(--ink-d)); }
.qh .qopt { background: var(--navy-3); color: var(--muted-d); }
@keyframes qpulse { 50% { opacity: .65; } }
@media (prefers-reduced-motion: reduce) { .qh .qreq { animation: none; } }
.dishmore { border-radius: 16px; padding: 12px 14px; box-shadow: inset 0 0 0 1.5px var(--line-d); }
.dishmore summary { cursor: pointer; font-weight: 800; color: var(--ink-d); list-style: revert; }
.dishmore summary b { color: var(--warn-ink); font-weight: 800; margin-left: 6px; }
.dishmore[open] summary { margin-bottom: 10px; }

/* coursing: on hold in the kitchen, and the Away button */
.course .heldc { color: var(--dessert); font-weight: 800; }
.awaybtn { display: block; width: calc(100% - 12px); margin: 4px 6px 8px; padding: 12px; border-radius: 14px; background: var(--gold); color: var(--on-accent); font-weight: 800; font-size: 15px; box-shadow: 0 6px 16px color-mix(in srgb, var(--gold) 30%, transparent); }
.awaycard .chk small { display: block; color: var(--muted-d); font-size: 12.5px; }
.awaycard .chk { display: flex; justify-content: space-between; align-items: center; gap: 8px; }

.tk.held { opacity: .8; background: repeating-linear-gradient(135deg, var(--navy-2) 0 12px, var(--navy-3) 12px 24px); }
.tk.held .h { border-top-color: var(--dessert); background: var(--navy-3); } .tk.held .tm { color: var(--dessert); }
.tk.justaway { animation: awayflash 1s ease-in-out 3; } @keyframes awayflash { 50% { box-shadow: 0 0 0 4px var(--gold); } }
.heldh { margin: 18px 4px 8px; font: 800 18px Outfit, sans-serif; color: var(--ink-d); } .heldh small { font: 600 13px "Plus Jakarta Sans", sans-serif; color: var(--muted-d); margin-left: 8px; }

.kdsscroll { flex: 1; overflow: auto; background: var(--room); display: flex; flex-direction: column; }
.kdsscroll .kds { flex: none; overflow: visible; }
.kdsscroll .heldh { margin: 6px 18px 0; }
