:root {
  --ink:#0b1220; --ink-2:#1a2438; --muted:#5b6780; --line:#e6eaf2;
  --paper:#f6f4ef; --white:#fff; --brand:#1e4b8c; --brand-2:#0b1f3a;
  --gold:#c9a227; --ok:#0f7a4a; --warn:#b45309; --bad:#b42318;
  --shadow:0 18px 50px rgba(15,23,42,.08);
  --font:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,serif;
  --sans:"Segoe UI",system-ui,-apple-system,sans-serif;
}
* { box-sizing:border-box; }
html, body { margin:0; }
body { font-family:var(--sans); color:var(--ink); background:var(--paper); line-height:1.5; }
a { color:var(--brand); }
h1,h2,h3 { font-family:var(--font); letter-spacing:-.02em; margin:0 0 .35em; }
h1 { font-size:clamp(32px,4vw,46px); line-height:1.05; }
h2 { font-size:28px; }
p { margin:0 0 .8em; }
.kicker { font-size:12px; letter-spacing:.12em; text-transform:uppercase; color:var(--brand); font-weight:700; margin:0 0 4px; }
.top {
  display:flex; flex-wrap:wrap; gap:10px 16px; align-items:center;
  padding:14px 22px; background:#fff; color:var(--ink);
  border-bottom:1px solid var(--line); position:sticky; top:0; z-index:20;
}
.brand { color:var(--ink); text-decoration:none; font-family:var(--font); font-weight:700; font-size:26px; letter-spacing:.04em; }
.brand span { color:var(--gold); }
.brand small { font-family:var(--sans); font-size:11px; letter-spacing:.16em; color:var(--muted); margin-left:4px; }
.bizname { color:var(--muted); font-size:14px; }
.nav { display:flex; flex-wrap:wrap; gap:6px; margin-left:auto; align-items:center; min-width:0; flex:1 1 280px; justify-content:flex-end; }
.nav a, .nav .link {
  color:var(--ink-2); text-decoration:none; border-radius:999px; padding:8px 12px;
  background:transparent; font:inherit; font-size:14px; font-weight:600; cursor:pointer; border:0;
}
.nav a.on, .nav a:hover { background:var(--paper); color:var(--ink); }
.nav form { margin:0; }
.demo-bar { margin:0; padding:10px 22px; background:#fff6df; color:#6b4b16; font-weight:650; border-bottom:1px solid #f0e2bc; }
main { max-width:1120px; margin:0 auto; padding:22px 22px 48px; }
main.wide { max-width:1280px; }
.flash, .alert { padding:12px 14px; border-radius:12px; background:#e4f5ea; color:#14532d; }
.flash.error { background:#fde8e8; color:#7f1d1d; }
.hero { display:grid; grid-template-columns:1.15fr .85fr; gap:36px; align-items:center; padding:28px 0 12px; }
.lede { font-size:18px; color:var(--muted); max-width:46ch; }
.hero-card, .card {
  background:#fff; border:1px solid var(--line); border-radius:18px; padding:18px;
  box-shadow:var(--shadow);
}
.hero-card p { display:flex; justify-content:space-between; gap:12px; }
.split-cards { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin:8px 0 18px; }
.row { display:flex; flex-wrap:wrap; gap:8px; margin:12px 0; align-items:center; }
.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  border:0; border-radius:999px; padding:11px 16px; font-weight:650; cursor:pointer;
  background:var(--ink); color:#fff; text-decoration:none; font:inherit; font-weight:650;
}
.btn.ghost { background:#fff; color:var(--ink); border:1px solid var(--line); }
.btn.ok { background:var(--ok); color:#fff; }
.btn.warn { background:var(--warn); color:#fff; }
.btn.bad { background:var(--bad); color:#fff; }
.btn.sm { padding:6px 10px; font-size:13px; }
.card { margin:12px 0; }
label { display:grid; gap:6px; font-weight:650; font-size:13px; margin:10px 0; }
input, select, textarea {
  width:100%; max-width:420px; padding:11px 12px; border:1px solid #d5dbe6;
  border-radius:12px; font:inherit; background:#fff; color:var(--ink);
}
input[type=radio], input[type=checkbox] { width:auto; }
.pill { display:inline-flex; align-items:center; border-radius:999px; padding:4px 10px; font-size:12px; font-weight:700; background:#efe7dc; color:#6b4b2a; }
.pill.warn { background:#fff4db; color:#92400e; }
.page-head { display:flex; justify-content:space-between; gap:12px; align-items:end; margin-bottom:8px; }
.grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(160px,1fr)); gap:12px; }
.cat-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(128px,1fr)); gap:8px; }
.cat-tile {
  min-height:72px; border-radius:14px; color:#fff; text-decoration:none;
  padding:12px 14px; display:flex; flex-direction:column; justify-content:center; gap:4px;
  font-family:var(--sans); font-size:16px; font-weight:750; line-height:1.15;
  border:1px solid rgba(0,0,0,.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 4px 0 rgba(0,0,0,.18);
}
.cat-tile:active { transform:translateY(2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 1px 0 rgba(0,0,0,.2); }
.cat-tile small { font-family:var(--sans); font-size:11px; font-weight:650; opacity:.9; }
.place-name { font-size:28px; margin:0 0 8px; }
.read-line span { font-size:20px; color:#fff; }
.pay-fit { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(132px,.85fr); gap:8px 10px; align-items:start; }
.paypad { min-height:0; }
.remove-line, .refund-fields { display:flex; flex-wrap:wrap; gap:6px; align-items:center; margin-top:8px; width:100%; }
.remove-line[hidden], .refund-fields[hidden] { display:none !important; }
.remove-line select, .refund-fields select { max-width:none; padding:8px 10px; flex:1 1 180px; }
.paid-line { display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px; align-items:center; padding:8px 0; border-bottom:1px solid var(--line); }
.paid-line form, .paid-line { margin:0; }
.item-tools { margin-left:auto; }
.bill-ask { position:fixed; inset:0; z-index:70; background:rgba(7,22,40,.55); display:flex; align-items:center; justify-content:center; padding:16px; }
.bill-ask[hidden] { display:none !important; }
.bill-ask .card { max-width:440px; width:100%; }
.bill-ask h2 { font-size:28px; }
.ready-alert { display:flex; flex-wrap:wrap; gap:10px 16px; align-items:center; background:#0f7a4a; color:#fff; padding:12px 18px; font-weight:750; }
.ready-alert[hidden] { display:none !important; }
.ready-alert a { color:#fff; text-decoration:underline; }
.ready-alert .pass-kitchen { background:#0f7a4a; }
.ready-alert .pass-bar { background:#6b3fa0; }
.ready-alert strong { border-radius:999px; padding:4px 10px; }
.dot.bar { box-shadow:0 0 0 2px #fff, 0 0 0 4px #6b3fa0; }
.open-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(220px,1fr)); gap:12px; }
.open-card { background:#fff; border:1px solid var(--line); border-radius:16px; padding:14px; }
.open-card.ready { border-color:#0f7a4a; box-shadow:0 0 0 3px rgba(15,122,74,.18); }
.open-card h2 { font-size:30px; }
.open-state { font-weight:750; margin:0 0 6px; }
.open-card.ready .open-state { color:#0f7a4a; }
.open-items { list-style:none; margin:8px 0; padding:0; }
.open-items li.many { font-weight:800; }
.open-total { font-family:var(--font); font-size:28px; margin:4px 0 8px; }
.office-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(210px,1fr)); gap:12px; margin:8px 0 18px; }
.office-card {
  display:block; text-decoration:none; color:var(--ink); background:#fff;
  border:1px solid #c5ceda; border-radius:16px; padding:16px;
  box-shadow: inset 0 1px 0 #fff, 0 4px 0 #e2e8f0;
}
.office-card:active { transform:translateY(2px); box-shadow: inset 0 1px 0 #fff, 0 1px 0 #e2e8f0; }
.office-card b { display:block; font-size:18px; margin-bottom:6px; }
.office-card span { color:var(--muted); font-size:14px; }
.site-switch { margin-left:8px; }
.site-switch select { max-width:180px; padding:8px 10px; }
@media (min-width:840px) and (orientation:landscape) {
  .paypad { min-height:0; padding:14px 16px; }
  .pay-fit { display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:8px 18px; align-items:start; }
  .amount { font-size:52px; }
  .keys button, .mode, .quick button { padding:11px 6px; }
  .pay-go { padding:14px; }
}
.menu-head { display:flex; gap:14px; align-items:center; margin-bottom:12px; }
.menu-head h2 { margin:0; }
.prod {
  position:relative; overflow:hidden; width:100%; min-height:84px; text-align:left;
  border:1px solid #c5ceda; border-radius:14px; color:var(--ink);
  padding:14px 14px 14px 22px; cursor:pointer; font-weight:750;
  background:linear-gradient(#fff, #f3f6fb);
  box-shadow: inset 0 1px 0 #fff, 0 4px 0 #d5dbe3;
}
.prod:active { transform:translateY(2px); box-shadow: inset 0 1px 0 #fff, 0 1px 0 #d5dbe3; }
.prod .strip { position:absolute; left:0; top:0; bottom:0; width:8px; }
.prod small { display:block; margin-top:6px; color:var(--muted); font-weight:650; }
.order-menu form { margin:0; }
.tables { display:flex; gap:8px; overflow:auto; padding-bottom:8px; }
.tables a {
  flex:0 0 auto; text-decoration:none; color:var(--ink); background:#fff;
  border:1px solid var(--line); border-radius:14px; padding:10px 14px; font-weight:750;
}
.tables a.on { border-color:var(--brand); box-shadow:0 0 0 3px rgba(30,75,140,.15); }
.dot { display:inline-block; width:9px; height:9px; border-radius:50%; margin-right:6px; background:#d5dbe6; }
.dot.kitchen { background:var(--warn); }
.dot.ready { background:var(--ok); }
.order-split { display:grid; grid-template-columns:320px minmax(0,1fr); gap:18px; align-items:start; width:100%; }
.order-split > .basket { grid-column:1; grid-row:1; min-width:0; max-width:320px; align-self:start; z-index:1; }
.order-split > .order-menu { grid-column:2; grid-row:1; min-width:0; position:relative; z-index:2; }
.order-menu .grid { width:100%; }
.basket {
  position:sticky; top:78px; max-height:calc(100vh - 96px); overflow:auto;
  background:#fff; border:1px solid var(--line); border-radius:20px; padding:16px;
  box-shadow:var(--shadow);
}
.basket h2 { font-size:26px; }
.basket input, .basket select, .basket textarea { max-width:100%; min-width:0; }
.basket .row { margin:6px 0 0; }
.line { display:block; padding:7px 0; border-bottom:1px solid var(--line); }
.line-main { display:flex; align-items:center; gap:8px; }
.line-main b { flex:1 1 auto; min-width:0; font-size:14px; line-height:1.2; }
.line-price { font-size:13px; font-weight:750; color:var(--ink-2); white-space:nowrap; }
.line .qty { margin:0; gap:2px; flex:0 0 auto; }
.line .qty .btn { width:28px; height:28px; padding:0; border-radius:8px; }
.line .qty strong { font-size:14px; min-width:1.1em; }
.note-form { margin:4px 0 0; }
.note-form input { padding:6px 8px; font-size:13px; border-radius:8px; }
.basket { padding:12px 12px 10px; border-radius:16px; }
.place-name { font-size:22px; }
.ticket-total { margin-top:8px; }
.ticket-total strong { font-size:28px; }
.ticket-bar { margin-bottom:6px; }
.cook-note { margin-top:6px; background:#fff4db; color:#7a3e00; font-weight:800; font-size:16px; line-height:1.25; padding:7px 10px; border-radius:8px; }
.ticket .item { padding:10px 14px; }
.prod { min-height:72px; padding:10px 12px 10px 18px; border-radius:12px; }
.cat-tile { min-height:64px; padding:10px 12px; font-size:15px; }
.btn { padding:9px 14px; }
.btn.sm { padding:5px 9px; }
.nav a, .nav .link { padding:6px 10px; }
.top { padding:10px 16px; }
main { padding:16px 16px 40px; }
h1 { font-size:clamp(28px,3vw,40px); }
.card, .hero-card { border-radius:16px; padding:14px; box-shadow:0 8px 24px rgba(15,23,42,.06); }
.basket .line > div:first-child { flex:1 1 160px; min-width:0; }
.line.sent { color:var(--muted); font-size:14px; }
.line.sent em { font-style:normal; }
.qty strong { min-width:1.2em; text-align:center; }
.ticket-total { display:flex; justify-content:space-between; align-items:baseline; margin-top:12px; font-size:14px; color:var(--muted); }
.ticket-total strong { font-family:var(--font); font-size:34px; color:var(--ink); }
.muted { color:var(--muted); font-size:14px; }
.till { display:grid; grid-template-columns:300px minmax(0,1fr); gap:18px; align-items:start; }
.till-list { display:grid; gap:8px; }
.till-ticket {
  display:grid; grid-template-columns:1fr auto; gap:2px 10px; text-decoration:none; color:var(--ink);
  background:#fff; border:1px solid var(--line); border-radius:16px; padding:12px 14px;
}
.till-ticket.on { border-color:var(--brand); box-shadow:0 0 0 3px rgba(30,75,140,.15); }
.till-ticket b { font-family:var(--font); font-size:22px; }
.till-ticket small { grid-column:1 / -1; color:var(--muted); }
.paid-line { display:flex; justify-content:space-between; gap:8px; align-items:center; padding:8px 0; border-bottom:1px solid var(--line); }
.paypad {
  background:var(--brand-2); color:#f4f7fb; border-radius:24px; padding:14px;
  box-shadow:var(--shadow); min-height:0;
}
.paypad .kicker { color:var(--gold); }
.paypad h2 { color:#fff; }
.amount { font-family:var(--font); font-size:clamp(42px,6vw,68px); line-height:.95; margin:4px 0; color:#fff; }
.change-line { color:#c9d4e4; min-height:1.4em; }
.receipt { list-style:none; margin:0 0 14px; padding:0; border-top:1px solid rgba(255,255,255,.12); }
.receipt li { display:flex; justify-content:space-between; gap:8px 12px; padding:8px 0; border-bottom:1px solid rgba(255,255,255,.12); flex-wrap:wrap; align-items:center; }
.remove-line { width:100%; }
.modes, .quick, .keys { display:grid; gap:8px; margin:10px 0; }
.modes { grid-template-columns:repeat(3,1fr); }
.quick { grid-template-columns:repeat(5,1fr); }
.keys { grid-template-columns:repeat(3,1fr); }
.mode, .quick button, .keys button {
  border:0; border-radius:14px; padding:14px 8px; font:inherit; font-weight:750; cursor:pointer;
  background:rgba(255,255,255,.08); color:#fff;
}
.mode.on { background:#fff; color:var(--brand-2); }
.quick button { background:rgba(201,162,39,.18); }
.readout { display:flex; justify-content:space-between; align-items:baseline; margin:8px 0 0; color:#c9d4e4; }
.readout b { font-family:var(--font); font-size:36px; color:#fff; }
.card-note { color:#c9d4e4; font-size:14px; }
.pay-go { width:100%; margin-top:8px; padding:16px; font-size:18px; }
.open-till { display:flex; flex-wrap:wrap; gap:12px 18px; align-items:end; }
.open-till label, .shift-line { margin:0; }
.tickets { display:grid; grid-template-columns:repeat(auto-fill, minmax(280px,1fr)); gap:14px; }
.ticket { background:#fff; border-radius:18px; border:1px solid var(--line); overflow:hidden; box-shadow:var(--shadow); }
.ticket h2 { margin:0; padding:14px 16px; background:var(--brand-2); color:#fff; display:flex; justify-content:space-between; font-size:22px; }
.ticket .item { display:flex; justify-content:space-between; gap:8px; align-items:center; padding:12px 14px; border-top:1px solid var(--line); }
.swatch { width:28px; height:28px; border-radius:50%; border:2px solid #fff; outline:1px solid #ccc; }
.stats { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin:12px 0; }
.stat { background:#fff; border:1px solid var(--line); border-radius:16px; padding:14px 16px; }
.stat span, .stat small { display:block; color:var(--muted); font-size:13px; }
.stat b { display:block; font-family:var(--font); font-size:28px; margin:4px 0; }
.foot { padding:8px 22px 36px; color:var(--muted); text-align:center; font-size:13px; }
table { width:100%; border-collapse:collapse; background:#fff; border-radius:14px; overflow:hidden; }
th, td { text-align:left; padding:10px 12px; border-bottom:1px solid var(--line); vertical-align:top; }
th { font-size:12px; letter-spacing:.04em; text-transform:uppercase; color:var(--muted); background:#fbfaf7; }
.copy-card, .staff-card { box-shadow:none; }
.table-picks { display:grid; grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); gap:12px; }
.table-pick { display:flex; flex-direction:column; justify-content:space-between; min-height:120px; border-radius:18px; background:#0b1f3a; color:#fff; text-decoration:none; padding:16px; box-shadow:var(--shadow); }
.table-pick span { font-size:22px; font-weight:750; }
.table-pick b { font-family:var(--font); font-size:28px; color:#e2c56a; }
.tip-row { display:flex; flex-wrap:wrap; gap:8px; margin:8px 0; }
.tip-row button { border:0; border-radius:999px; padding:10px 14px; background:rgba(255,255,255,.12); color:#fff; font:inherit; font-weight:700; cursor:pointer; }
.tip-row button.on { background:#e2c56a; color:#1a1403; }
.ticket-actions { display:flex; flex-wrap:wrap; gap:8px; align-items:center; padding:10px 14px; border-top:1px solid var(--line); }
.ticket-actions form { margin:0; }
.paypad label { color:#d5deea; }
.paypad input { background:#fff; color:var(--ink); max-width:none; }
.bill-lines { margin:8px 0 12px; color:#d5deea; }
.bill-lines summary { cursor:pointer; font-weight:700; }
[hidden] { display:none !important; }
.ticket-bar { display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin-bottom:10px; }
.ticket-bar .bar-send { margin:0; }
.bar-send[hidden] { display:none !important; }
.read-sheet { position:fixed; inset:0; z-index:80; background:rgba(7,22,40,.72); display:flex; align-items:stretch; justify-content:center; padding:12px; }
.read-sheet[hidden] { display:none !important; }
.read-card { background:#071628; color:#fff; width:min(640px,100%); margin:auto; border-radius:22px; padding:22px 22px 16px; max-height:100%; overflow:auto; box-shadow:0 24px 60px rgba(0,0,0,.35); }
.read-card .kicker { color:#e2c56a; }
.read-card h2 { color:#fff; font-size:34px; }
.read-line { display:flex; justify-content:space-between; gap:16px; font-size:20px; line-height:1.3; margin:0 0 8px; color:#fff; }
.read-line b { font-weight:650; }
.read-line span { font-size:20px; color:#fff; }
.read-note { margin:-6px 0 14px; color:#f0d78c; font-size:20px; }
.read-total { font-family:var(--font); font-size:48px; margin:8px 0 16px; color:#fff; }
.read-empty { font-size:22px; color:#d5deea; }
.read-close { width:100%; margin-top:8px; padding:16px; font-size:18px; position:sticky; bottom:0; }
body.reading { overflow:hidden; }
.home-hero {
  margin:-22px -22px 18px; padding:42px 28px 36px; color:#fff;
  background:linear-gradient(145deg,#0b1f3a 0%,#163a72 42%,#1e4b8c 100%);
  display:grid; grid-template-columns:1.1fr .9fr; gap:28px; align-items:center;
}
.home-hero h1 { color:#fff; font-size:clamp(40px,6vw,68px); }
.home-hero p { color:#e7eef8; font-size:18px; max-width:42ch; }
.eyebrow { letter-spacing:.14em; text-transform:uppercase; font-size:12px; font-weight:800; color:var(--gold); margin:0 0 8px; }
.btn.gold { background:var(--gold); color:#1a1403; }
.btn.light { background:transparent; color:#fff; border:1px solid rgba(255,255,255,.45); }
.home-board { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.home-board a {
  min-height:92px; border-radius:18px; color:#fff; text-decoration:none; padding:14px;
  display:flex; flex-direction:column; justify-content:space-between;
  font-family:var(--font); font-size:28px; line-height:1; box-shadow:var(--shadow);
}
.home-board small { font-family:var(--sans); font-size:13px; font-weight:700; opacity:.92; }
.home-points { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin:0 0 18px; }
.home-points article { color:#fff; border-radius:20px; padding:18px 18px 8px; min-height:180px; }
.home-points h2 { color:#fff; font-size:28px; }
.home-points p { color:rgba(255,255,255,.88); }
dialog.readout { display:none; }
@media (max-width:1200px) {
  .nav { flex-basis:100%; margin-left:0; justify-content:flex-start; }
}
@media (max-width:900px) {
  .hero, .split-cards, .stats, .till, .home-hero, .home-points { grid-template-columns:1fr; }
  .home-hero { margin:-16px -12px 16px; padding:28px 18px; }
  .cat-grid { grid-template-columns:1fr 1fr; }
}
@media (max-width:700px) {
  .order-split { display:flex; flex-direction:column-reverse; gap:12px; }
  .order-split > .basket, .order-split > .order-menu { grid-column:auto; grid-row:auto; max-width:none; width:100%; }
  .basket { position:sticky; bottom:8px; top:auto; max-height:none; width:100%; z-index:5; }
  .basket:not(.open) .ticket-fold { display:none; }
  .read-sheet { padding:0; }
  .read-card { width:100%; height:100%; max-height:none; margin:0; border-radius:0; padding:20px 16px 12px; }
  .read-line { font-size:26px; }
  .read-total { font-size:42px; }
}
@media (max-width:720px) {
  .nav { width:100%; margin-left:0; }
  input, select, textarea { max-width:none; }
  .quick { grid-template-columns:repeat(3,1fr); }
  main { padding:16px 12px 40px; }
}
body.bill-page .nav { display:none; }
body.bill-page main { max-width:460px; padding-top:12px; }
.bill-actions { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:12px; }
.bill-sheet {
  background:#fff; color:#0b1220; border-radius:18px; padding:28px 22px 22px;
  box-shadow:0 16px 40px rgba(15,23,42,.08); border:1px solid var(--line);
}
.bill-shop { margin:0; font-family:var(--font); font-size:28px; letter-spacing:-.02em; }
.bill-sheet h1 { font-size:40px; margin:8px 0 0; }
.bill-meta { margin:4px 0 0; color:#0b1220; font-size:15px; font-weight:650; line-height:1.35; }
.bill-lines { list-style:none; margin:18px 0 0; padding:0; }
.bill-lines li { display:flex; gap:10px; align-items:flex-start; padding:12px 0; border-bottom:1px solid #c5cedd; font-size:20px; color:#0b1220; }
.bill-qty { min-width:1.6em; font-weight:800; color:#0b1220; }
.bill-name { flex:1; font-weight:750; line-height:1.25; color:#0b1220; }
.bill-name small { display:block; margin-top:3px; font-size:15px; font-weight:700; color:#0b1220; }
.bill-price { font-weight:800; white-space:nowrap; color:#0b1220; }
.bill-row, .bill-due { display:flex; justify-content:space-between; align-items:baseline; gap:12px; margin:10px 0 0; color:#0b1220; font-weight:750; }
.bill-due { margin-top:16px; padding-top:12px; border-top:2px solid #0b1220; }
.bill-due strong { font-family:var(--font); font-size:48px; letter-spacing:-.03em; color:#0b1220; }
.bill-vat, .bill-wait { margin:8px 0 0; color:#0b1220; font-weight:700; font-size:15px; }
.bill-thanks { margin:22px 0 0; text-align:center; color:#0b1220; font-weight:700; }
.bill-empty { margin:22px 0; font-size:18px; color:#0b1220; font-weight:700; }
.bill-email { margin-top:14px; background:#fff; border:1px solid #c5cedd; border-radius:14px; padding:12px; }
.bill-sheet { color:#0b1220; }
@media print {
  body.bill-page { background:#fff; }
  body.bill-page .top,
  body.bill-page .demo-bar,
  body.bill-page .foot,
  body.bill-page .ready-alert,
  body.bill-page .flash,
  .no-print { display:none !important; }
  body.bill-page main { max-width:none; margin:0; padding:0; }
  .bill-sheet { box-shadow:none; border:0; border-radius:0; padding:0; }
}
body { background:linear-gradient(180deg,#d9e6f5 0%,#f7f1e4 38%,#f6f3ea 100%); }
.top {
  background:linear-gradient(100deg,#071628 0%,#1e4b8c 62%,#2b7d9a 100%);
  color:#fff; border-bottom:0; box-shadow:0 8px 22px rgba(7,22,40,.28);
}
.brand, .brand small, .bizname, .nav a, .nav .link { color:#fff; }
.brand span { color:#e2c56a; }
.nav a.on, .nav a:hover, .nav .link:hover { background:#e2c56a; color:#1a1403; }
.top select { background:#fff; color:#0b1220; }
.kicker { color:#1e4b8c; }
.btn {
  background:linear-gradient(#3c74c4,#1e4b8c); color:#fff;
  box-shadow:0 3px 0 #0b1f3a;
}
.btn:active { transform:translateY(2px); box-shadow:0 1px 0 #0b1f3a; }
.btn.ghost { background:#fff; color:#0b1f3a; border:1px solid #b7c6de; box-shadow:0 2px 0 #d5deea; }
.btn.ok { background:linear-gradient(#22b36e,#0f7a4a); box-shadow:0 3px 0 #085c36; }
.btn.warn { background:linear-gradient(#e08a1e,#b45309); box-shadow:0 3px 0 #7a3b06; }
.btn.bad { background:linear-gradient(#d6453d,#9f1d14); box-shadow:0 3px 0 #6f120c; }
.card, .hero-card, .stat, .office-card { border-top:4px solid #1e4b8c; }
.office-card:nth-child(3n+2) { border-top-color:#c45c26; }
.office-card:nth-child(3n) { border-top-color:#0f7a4a; }
.stat:nth-child(4n+2) { border-top-color:#c45c26; }
.stat:nth-child(4n+3) { border-top-color:#0f7a4a; }
.stat:nth-child(4n) { border-top-color:#6b3fa0; }
.basket { background:linear-gradient(#fffdf6,#fff); border-top:6px solid #e2c56a; }
.place-name, .ticket-total strong, .line-main b, .line-price { color:#0b1220; }
.prod { background:linear-gradient(#fff,#e7f0fb); border-color:#8eadd4; }
.tables a.on { background:#1e4b8c; color:#fff; border-color:#1e4b8c; }
.open-card { border:0; border-top:7px solid #1e4b8c; box-shadow:0 10px 24px rgba(15,23,42,.08); }
.open-card.kitchen { border-top-color:#c45c26; background:linear-gradient(#fff6ee,#fff); }
.open-card.ready { border-top-color:#0f7a4a; background:linear-gradient(#eefbf3,#fff); }
.open-card.hold { border-top-color:#2b7d9a; background:linear-gradient(#f3f8fc,#fff); }
.table-pick:nth-child(4n+1) { background:linear-gradient(160deg,#1e4b8c,#0b1f3a); }
.table-pick:nth-child(4n+2) { background:linear-gradient(160deg,#c45c26,#8a3410); }
.table-pick:nth-child(4n+3) { background:linear-gradient(160deg,#2f7d4a,#145232); }
.table-pick:nth-child(4n) { background:linear-gradient(160deg,#6b3fa0,#3d2068); }
.table-pick b { color:#ffe08a; }
.ticket h2 { background:linear-gradient(90deg,#6b3010,#c45c26); }
body.screen-bar .ticket h2 { background:linear-gradient(90deg,#3d2068,#8a5cc0); }
body.screen-ready .ticket h2 { background:linear-gradient(90deg,#0a4a2d,#1aa864); }
body.screen-kitchen { background:linear-gradient(180deg,#ffe8d6,#f7f1ea 40%); }
body.screen-bar { background:linear-gradient(180deg,#f3e8fb,#f6f3ea 40%); }
body.screen-ready { background:linear-gradient(180deg,#ddf6e8,#f6f3ea 40%); }
body.screen-till { background:linear-gradient(180deg,#d5e4f8,#f6f1e4 46%); }
body.screen-order { background:linear-gradient(180deg,#d7e6f8,#f7f1e4 42%); }
body.screen-floor { background:linear-gradient(180deg,#d5e4f8,#f7f1e4 42%); }
body.screen-bill { background:#f4efe6; }
body.bill-page .bill-sheet, body.bill-page .bill-sheet p, body.bill-page .bill-sheet li, body.bill-page .bill-sheet h1 { color:#0b1220; }
body.home { background:#0b1f3a; }
.order-split > .basket { z-index:4; }
.order-split > .order-menu { z-index:1; }
.ticket-bar { position:sticky; top:0; z-index:5; background:#fff; padding:6px 0; }
@media (max-width:900px) {
  .order-split { display:flex; flex-direction:column-reverse; }
  .order-split > .basket {
    position:sticky; bottom:0; top:auto; z-index:8; max-width:none; width:100%;
    max-height:42vh; background:#fff; box-shadow:0 -10px 28px rgba(7,22,40,.2);
  }
  .order-split > .order-menu { z-index:1; }
  .order-menu { padding-bottom:16px; }
  .ticket-bar { position:static; }
}
.product-edit summary { cursor:pointer; font-size:16px; }
.product-edit summary .muted { font-weight:650; }
.menu-add, .edit-fold { margin:0; }
.menu-add { min-width:180px; }
.menu-add summary, .edit-fold summary { cursor:pointer; font-weight:750; }
.menu-add[open], .edit-fold[open] { flex:1 1 100%; }
.edit-grid { display:grid; grid-template-columns:1fr 1fr; gap:0 12px; }
.edit-grid label { margin:6px 0; }
.swatches { display:flex; flex-wrap:wrap; gap:6px; margin:8px 0; }
.swatches label { margin:0; }
.swatches input { position:absolute; opacity:0; }
.swatches .swatch { display:block; width:22px; height:22px; border-radius:50%; outline:1px solid #ccc; }
.swatches input:checked + .swatch { outline:2px solid #0b1220; }
.menu-node { background:#fff; border:1px solid #d5deea; border-radius:14px; margin:8px 0; padding:8px 10px; }
.menu-row, .prod-line { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.prod-line { border-top:1px solid #e6eaf2; padding:6px 0 6px 18px; }
.menu-row b, .prod-line b { font-size:15px; }
.menu-row form, .prod-line form { margin:0; }
@media (max-width:700px) { .edit-grid { grid-template-columns:1fr; } }
.menu-search { margin:0 0 12px; }
.menu-search input { max-width:none; font-size:18px; }
.shift-due { display:flex; flex-wrap:wrap; justify-content:space-between; gap:10px; align-items:center; background:#b45309; color:#fff; padding:10px 16px; font-weight:750; }
.shift-due form { margin:0; }
.shift-due .btn { background:#fff; color:#7a3b06; box-shadow:none; }
.prod.off { opacity:.45; filter:grayscale(.35); }
.prod .allergen, .off-why { display:block; margin-top:4px; font-size:12px; font-weight:750; }
.prod .allergen { color:#9f1239; }
.wait-time { font-style:normal; font-weight:800; color:#9a3412; }
.wait-time.late { color:#9f1239; }
.course-row, .choice-list { display:flex; flex-wrap:wrap; gap:6px; margin-top:6px; }
.course-row .btn.on, .choice-list .btn.on { background:#1e4b8c; color:#fff; box-shadow:none; }
#choice-add, #choice-close { width:100%; margin-top:8px; }
