/* ═══════════════════════════════════════════════════════════════════════
   1718pos back office — UI v5 "calm glass". Light only.
   The console's design system (app/console/glass.css) brought to the café's
   own screens. Loaded after shell.css and overrides it; back office only
   (index.html), never the guest page. Restore point before it:
   `php app/tools/snapshot.php restore before-backoffice-glass`.

   Rules, the same as the console's:
   - a cool light canvas with a dot grid, faint grain and three soft orbs;
   - frosted glass surfaces with a white hairline edge and NO drop shadows;
   - colour rationed to sage green, orange and lilac (+ lime for tiny tags);
     icons are ink on glass; colour lives in feathered cards (.fx-*) and the
     green pill (.fxp);
   - thin Inter Tight type, Doto dot-matrix numerals for headline figures;
   - pill bars carry a glass bead that follows the pointer (.rail-ind here).

   Every rule is prefixed `:root[data-theme] body.bo` so it outranks the
   v3/v4 rules (some of which are written `:root[data-theme="light"] body.bo`).
   The café sign-in (.login) keeps its own look.
   ═══════════════════════════════════════════════════════════════════════ */

:root[data-theme] body.bo{
  --g-ink:#17191A; --g-ink2:#4F5558; --g-ink3:#8E9497;
  --g-line:rgba(20,24,22,.07); --g-line2:rgba(20,24,22,.12);
  --g-glass:rgba(255,255,255,.5); --g-glass2:rgba(255,255,255,.66); --g-edge:rgba(255,255,255,.85);
  --g-blur:blur(22px) saturate(1.5); --g-ease:cubic-bezier(.1,.9,.2,1);
  --c-green:#4E9A78; --c-green-d:#2F7F57; --c-orange:#EE7A2F; --c-lilac:#9488D4; --c-lime:#DDF26A;
  /* the v3/v4 tokens, re-pointed at the glass system */
  --bg:#E8EAE9; --panel:transparent; --surface:rgba(255,255,255,.7); --surface-2:rgba(255,255,255,.55); --surface-3:rgba(255,255,255,.85);
  --line:var(--g-line); --line-2:var(--g-line2); --hair:var(--g-line); --hair-2:var(--g-line2); --glass-line:var(--g-line);
  --fg:var(--g-ink); --fg-2:var(--g-ink2); --fg-3:var(--g-ink3);
  --accent:var(--c-green-d); --accent-ink:#fff; --accent-soft:rgba(78,154,120,.12); --accent-line:rgba(78,154,120,.35);
  --accent-fill:var(--c-green); --accent-grad:linear-gradient(135deg,#4E9A78,#2F7F57);
  --warn:#B0700F; --warn-soft:rgba(216,164,58,.15); --danger:#C2501A; --danger-soft:rgba(238,122,47,.14);
  --info:#5E52A8; --info-soft:rgba(148,136,212,.16);
  --card-bg:var(--g-glass); --tile-bg:none; --tile-solid:rgba(255,255,255,.6); --glass-bg:transparent;
  --shadow:none; --shadow-sm:none; --hero-card:rgba(255,255,255,.85); --hero-ink:var(--g-ink);
  --display:'Inter Tight','Satoshi',system-ui,sans-serif; --sans:'Inter Tight','Satoshi',system-ui,sans-serif;
  --seg-solid:var(--c-green); --seg-ink:#fff; --sand:#E9C98F;
  --hatch:repeating-linear-gradient(-45deg,rgba(20,24,22,.05) 0 1px,transparent 1px 8px);
  font-family:'Inter Tight','Satoshi',system-ui,sans-serif;color:var(--g-ink);-webkit-font-smoothing:antialiased;
}

/* ── the room ──────────────────────────────────────────────────────────── */
:root[data-theme] body.bo{background:#E8EAE9;}
:root[data-theme] body.bo::after{
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    radial-gradient(circle,rgba(20,24,22,.075) 1px,transparent 1.4px),
    linear-gradient(180deg,#ECEEED 0%,#E5E7E6 100%);
  background-size:auto,22px 22px,auto;}
:root[data-theme] body.bo::before{opacity:0;}
:root[data-theme] body.bo .bo-art{opacity:.1;filter:blur(90px) saturate(.8) brightness(1.5);}
:root[data-theme] body.bo .bo-art::after{display:none;}
.gb-orbs{position:fixed;inset:0;z-index:-1;pointer-events:none;overflow:hidden;}
.gb-orbs i{position:absolute;display:block;border-radius:50%;filter:blur(100px);}
.gb-orbs i:nth-child(1){width:560px;height:560px;right:-160px;top:-200px;background:#BFE0CF;opacity:.55;animation:gb-drift 30s ease-in-out infinite alternate;}
.gb-orbs i:nth-child(2){width:520px;height:520px;left:-200px;top:42%;background:#D9D2F2;opacity:.45;animation:gb-drift 34s ease-in-out infinite alternate-reverse;}
.gb-orbs i:nth-child(3){width:480px;height:480px;right:20%;bottom:-260px;background:#F7D9C4;opacity:.45;animation:gb-drift 38s ease-in-out infinite alternate;}
@keyframes gb-drift{to{transform:translate(60px,40px) scale(1.08);}}
:root[data-theme] body.bo .theme-btn{display:none !important;}

/* ── the shell: a glass rail on the left, the page floating on the canvas ── */
:root[data-theme] body.bo .shell{padding:14px;gap:14px;background:transparent;}
:root[data-theme] body.bo .rail{
  background:rgba(255,255,255,.42);border:1px solid var(--g-edge);border-radius:30px;box-shadow:none;color:var(--g-ink2);
  -webkit-backdrop-filter:var(--g-blur);backdrop-filter:var(--g-blur);padding:14px 0 12px;}
:root[data-theme] body.bo .rail-top{border-color:var(--g-line) !important;}
:root[data-theme] body.bo .rail-logo img{background:#fff;border:0;border-radius:50%;}
:root[data-theme] body.bo .rail-mono{border-radius:50%;border:0;color:#fff;
  background:radial-gradient(closest-side at 50% 58%,#2F8A50,#6DB671 62%,#CFE6BC);}
:root[data-theme] body.bo .rail-cafe b{color:var(--g-ink);font-weight:500;font-family:'Inter Tight',sans-serif;}
:root[data-theme] body.bo .rail-cafe span{color:var(--g-ink3);}
:root[data-theme] body.bo .rail-toggle{background:rgba(255,255,255,.8);border:0;color:var(--g-ink2);border-radius:50%;}
:root[data-theme] body.bo .rail-toggle:hover{background:#fff;color:var(--g-ink);}
:root[data-theme] body.bo .rail-group{color:var(--g-ink3) !important;}
:root[data-theme] body.bo .rail-sep{background:var(--g-line2);}
:root[data-theme] body.bo .rail-btn{color:var(--g-ink2);background:transparent !important;border:0;box-shadow:none !important;
  transition:color .25s,transform .35s cubic-bezier(.3,1.6,.5,1);}
:root[data-theme] body.bo .rail-btn svg{color:currentColor;}
:root[data-theme] body.bo .shell.rail-open .rail-btn svg{background:rgba(255,255,255,.75);border-radius:50%;color:var(--g-ink2);}
:root[data-theme] body.bo .rail-btn:hover,:root[data-theme] body.bo .rail-btn.on{color:var(--g-ink);}
:root[data-theme] body.bo .rail-btn.on svg,:root[data-theme] body.bo .shell.rail-open .rail-btn.on svg{color:var(--g-ink);background:#fff;}
:root[data-theme] body.bo .shell.rail-open .rail-btn.on span{font-weight:600;}
:root[data-theme] body.bo .rail-btn.lq-pop{transform:scale(1.04);}
:root[data-theme] body.bo .shell.rail-open .rail-btn.lq-pop{transform:translateX(3px);}
/* the bead: liquid glass, gliding (transform transition from shell.css) */
:root[data-theme] body.bo .rail-ind{
  background:radial-gradient(120% 140% at 50% 120%,rgba(255,255,255,.98),rgba(255,255,255,.62) 60%,rgba(255,255,255,.42));
  box-shadow:inset 0 1px 1px #fff,inset 0 -1.5px 2px rgba(255,255,255,.7),inset 0 0 0 1px rgba(255,255,255,.9),0 0 0 .5px rgba(20,24,22,.07) !important;
  -webkit-backdrop-filter:blur(2px) saturate(1.8);backdrop-filter:blur(2px) saturate(1.8) url(#gxLens);
  transition:transform .5s cubic-bezier(.3,1.25,.5,1),width .35s var(--g-ease),height .35s var(--g-ease) !important;}
:root[data-theme] body.bo .rail-ind::before{content:'';position:absolute;left:14%;right:14%;top:2px;height:36%;border-radius:999px;
  background:linear-gradient(180deg,rgba(255,255,255,.95),rgba(255,255,255,0));opacity:.8;}
:root[data-theme] body.bo .rail-badge{border:2px solid #fff;background:var(--c-orange);color:#fff;}
:root[data-theme] body.bo .rail-pos{opacity:.75;border-color:var(--g-line) !important;}
:root[data-theme] body.bo .rail-pos .pos-mark{filter:invert(1) hue-rotate(180deg);}
:root[data-theme] body.bo .rail-pos b{color:var(--g-ink);font-family:'Inter Tight',sans-serif;font-weight:500;}
:root[data-theme] body.bo .rail-pos b i{color:var(--c-green-d);}

/* the page: no panel any more — the screens sit on the canvas */
:root[data-theme] body.bo .main{background:transparent;border:0;border-radius:0;box-shadow:none;overflow:visible;
  -webkit-backdrop-filter:none;backdrop-filter:none;}
:root[data-theme] body.bo .view{background:transparent;}
:root[data-theme] body.bo .topbar{height:68px;padding:0 6px 0 10px;border:0;background:transparent;}
:root[data-theme] body.bo .topbar h2{font-family:'Inter Tight',sans-serif;font-weight:300;font-size:1.9rem;letter-spacing:-.045em;color:var(--g-ink);}
:root[data-theme] body.bo .topbar .crumb,:root[data-theme] body.bo .clock{font-family:'Inter Tight',sans-serif;font-size:.8rem;letter-spacing:0;text-transform:none;
  height:40px;padding:0 16px;display:inline-flex;align-items:center;border-radius:999px;background:var(--g-glass2);border:1px solid var(--g-edge);color:var(--g-ink2);
  -webkit-backdrop-filter:var(--g-blur);backdrop-filter:var(--g-blur);}
:root[data-theme] body.bo .topbar .btn-ghost,:root[data-theme] body.bo .kbar-btn,:root[data-theme] body.bo .who-btn{
  height:44px;border-radius:999px;background:var(--g-glass2);border:1px solid var(--g-edge);color:var(--g-ink2);box-shadow:none;
  font-family:'Inter Tight',sans-serif;font-size:.84rem;font-weight:500;letter-spacing:0;text-transform:none;
  -webkit-backdrop-filter:var(--g-blur);backdrop-filter:var(--g-blur);transition:background .25s;}
:root[data-theme] body.bo .topbar .btn-ghost:hover,:root[data-theme] body.bo .kbar-btn:hover,:root[data-theme] body.bo .who-btn:hover{background:rgba(255,255,255,.92);color:var(--g-ink);}
:root[data-theme] body.bo .kbar-btn kbd{background:rgba(20,24,22,.05);border:0;border-radius:999px;color:var(--g-ink3);font-family:'Inter Tight',sans-serif;}
:root[data-theme] body.bo .who-btn{padding:4px 14px 4px 4px;}
:root[data-theme] body.bo .who-dot{color:#fff;background:radial-gradient(circle at 50% 60%,#2F7F57,#7FBF8F 75%,#BFE0CB);}
:root[data-theme] body.bo .who-text b{color:var(--g-ink);font-weight:500;font-family:'Inter Tight',sans-serif;}
:root[data-theme] body.bo .who-text span{color:var(--g-ink3);font-family:'Inter Tight',sans-serif;letter-spacing:0;text-transform:none;}
:root[data-theme] body.bo .who-menu{background:rgba(255,255,255,.86);border:1px solid #fff;border-radius:22px;box-shadow:none;padding:6px;
  -webkit-backdrop-filter:blur(24px) saturate(1.5);backdrop-filter:blur(24px) saturate(1.5);}
:root[data-theme] body.bo .who-menu button{border-radius:14px;}
:root[data-theme] body.bo .who-menu button:hover{background:#fff;}
:root[data-theme] body.bo .plan-banner,:root[data-theme] body.bo .setup-bar{margin:4px 6px 10px 10px;border-radius:999px;border:1px solid var(--g-edge);
  background:var(--g-glass2);-webkit-backdrop-filter:var(--g-blur);backdrop-filter:var(--g-blur);}

/* ── shared furniture on every screen ───────────────────────────────── */
:root[data-theme] body.bo .page{padding:8px 10px 40px;}
:root[data-theme] body.bo .page-head h3{font-family:'Inter Tight',sans-serif;font-weight:300;font-size:clamp(1.8rem,2.4vw,2.4rem);letter-spacing:-.045em;}
:root[data-theme] body.bo .mono{letter-spacing:.08em;}
:root[data-theme] body.bo .panel,:root[data-theme] body.bo .stat,:root[data-theme] body.bo .lane{
  background:var(--g-glass);border:1px solid var(--g-edge);border-radius:28px;box-shadow:none;
  -webkit-backdrop-filter:var(--g-blur);backdrop-filter:var(--g-blur);}
:root[data-theme] body.bo .stat b{font-family:'Inter Tight',sans-serif;font-weight:300;letter-spacing:-.045em;}
:root[data-theme] body.bo .stat:hover{transform:translateY(-2px);}
:root[data-theme] body.bo .btn{border-radius:999px;font-family:'Inter Tight',sans-serif;letter-spacing:0;text-transform:none;font-weight:500;font-size:.84rem;
  background:var(--g-glass2);border:1px solid var(--g-edge);color:var(--g-ink);box-shadow:none;transition:background .25s,transform .2s;}
:root[data-theme] body.bo .btn:hover{background:rgba(255,255,255,.95);}
:root[data-theme] body.bo .btn-ghost{background:rgba(255,255,255,.45);color:var(--g-ink2);}
:root[data-theme] body.bo .btn-accent,:root[data-theme] body.bo .btn-solid{background:var(--g-ink);border-color:var(--g-ink);color:#fff;}
:root[data-theme] body.bo .btn-accent:hover,:root[data-theme] body.bo .btn-solid:hover{background:#2A2D2F;}
:root[data-theme] body.bo .btn-danger{background:var(--c-orange);border-color:var(--c-orange);color:#fff;}
:root[data-theme] body.bo .btn-sm{font-size:.78rem;padding:7px 14px;}
:root[data-theme] body.bo .btn-lg{font-size:.92rem;}
:root[data-theme] body.bo .field > .mono,:root[data-theme] body.bo .field > span{font-family:'Inter Tight',sans-serif;letter-spacing:0;text-transform:none;font-size:.78rem;font-weight:500;color:var(--g-ink2);}
:root[data-theme] body.bo .field input,:root[data-theme] body.bo .field select,:root[data-theme] body.bo .field textarea{
  border-radius:14px;background:rgba(255,255,255,.7);border:1px solid var(--g-line2);color:var(--g-ink);box-shadow:none;}
:root[data-theme] body.bo .field input:focus,:root[data-theme] body.bo .field select:focus,:root[data-theme] body.bo .field textarea:focus{
  background:#fff;border-color:var(--c-green);box-shadow:0 0 0 4px rgba(78,154,120,.14);}
:root[data-theme] body.bo .search{border-radius:999px;background:var(--g-glass2);border:1px solid var(--g-edge);}
:root[data-theme] body.bo .chip{border-radius:999px;font-family:'Inter Tight',sans-serif;letter-spacing:0;text-transform:none;font-weight:500;}
:root[data-theme] body.bo .chip-opt{border-radius:999px;background:rgba(255,255,255,.55);border:1px solid var(--g-edge);color:var(--g-ink2);}
:root[data-theme] body.bo .chip-opt.on{background:var(--g-ink);border-color:var(--g-ink);color:#fff;}
:root[data-theme] body.bo .seg-btn{border-radius:999px;background:rgba(255,255,255,.55);border:1px solid var(--g-edge);color:var(--g-ink2);}
:root[data-theme] body.bo .seg-btn.on{background:var(--g-ink);border-color:var(--g-ink);color:#fff;}
:root[data-theme] body.bo .empty{border-radius:22px;background:var(--hatch);color:var(--g-ink3);border:0;}
:root[data-theme] body.bo .modal-back{background:rgba(232,234,233,.5);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);}
:root[data-theme] body.bo .modal{border-radius:30px;background:rgba(255,255,255,.88);border:1px solid #fff;box-shadow:none;color:var(--g-ink);
  -webkit-backdrop-filter:blur(30px) saturate(1.5);backdrop-filter:blur(30px) saturate(1.5);}
:root[data-theme] body.bo .modal h3{font-family:'Inter Tight',sans-serif;font-weight:400;letter-spacing:-.03em;}
:root[data-theme] body.bo .toast{border-radius:999px;background:rgba(255,255,255,.92);border:1px solid #fff;color:var(--g-ink);box-shadow:none;}
:root[data-theme] body.bo .toast.good{background:var(--c-green);border-color:var(--c-green);color:#fff;}
:root[data-theme] body.bo .toast.err{background:var(--c-orange);border-color:var(--c-orange);color:#fff;}

/* ── the liquid slider (core/liquid.js) on any pill bar ──────────────── */
:root[data-theme] body.bo .lq{position:relative;}
:root[data-theme] body.bo .lq > button,:root[data-theme] body.bo .lq > a{position:relative;z-index:1;
  transition:color .25s,transform .35s cubic-bezier(.3,1.6,.5,1) !important;}
:root[data-theme] body.bo .lq > .on{background:transparent !important;border-color:transparent !important;color:var(--g-ink) !important;box-shadow:none !important;}
:root[data-theme] body.bo .lq > .on *{color:var(--g-ink) !important;}
:root[data-theme] body.bo .lq > .lq-pop{color:var(--g-ink) !important;transform:scale(1.06);}
:root[data-theme] body.bo .lq-ind{position:absolute;z-index:0;left:0;top:0;border-radius:999px;pointer-events:none;
  background:radial-gradient(120% 140% at 50% 120%,rgba(255,255,255,.98),rgba(255,255,255,.62) 60%,rgba(255,255,255,.42));
  box-shadow:inset 0 1px 1px #fff,inset 0 -1.5px 2px rgba(255,255,255,.7),inset 0 0 0 1px rgba(255,255,255,.9),0 0 0 .5px rgba(20,24,22,.08);
  -webkit-backdrop-filter:blur(2px) saturate(1.8);backdrop-filter:blur(2px) saturate(1.8) url(#gxLens);}
:root[data-theme] body.bo .lq-ind::before{content:'';position:absolute;left:14%;right:14%;top:2px;height:36%;border-radius:999px;
  background:linear-gradient(180deg,rgba(255,255,255,.95),rgba(255,255,255,0));opacity:.8;}
:root[data-theme] body.bo .lq-ind[hidden]{display:none;}
/* chip groups: the chosen one is the bead, the rest stay as quiet pills */
:root[data-theme] body.bo #payWays.lq > .chip-opt:not(.on),:root[data-theme] body.bo #tblGrid.lq > .chip-opt:not(.on){background:rgba(255,255,255,.35);}

/* the Orders board's top bar: dot-matrix tallies, a glass filter bar */
:root[data-theme] body.bo .ob-bar{border:0;padding:6px 10px 14px;}
:root[data-theme] body.bo .ob-count{background:var(--g-glass2);border:1px solid var(--g-edge);border-radius:999px;padding:6px 16px 6px 12px;gap:8px;}
:root[data-theme] body.bo .ob-count b{font-family:'Doto','Inter Tight',monospace;font-weight:600;font-variation-settings:'ROND' 100;font-size:1.6rem;}
:root[data-theme] body.bo .ob-count i{font-family:'Inter Tight',sans-serif;font-style:normal;letter-spacing:0;text-transform:none;font-size:.8rem;color:var(--g-ink3);}
:root[data-theme] body.bo .ob-count.hot b{color:var(--c-orange);}
:root[data-theme] body.bo .ob-filter{background:var(--g-glass2);border:1px solid var(--g-edge);border-radius:999px;padding:4px;
  -webkit-backdrop-filter:var(--g-blur);backdrop-filter:var(--g-blur);}
:root[data-theme] body.bo .ob-filter button{border-radius:999px;font-family:'Inter Tight',sans-serif;color:var(--g-ink2);background:transparent;}
:root[data-theme] body.bo .ob-live{font-family:'Inter Tight',sans-serif;letter-spacing:0;text-transform:none;font-size:.8rem;color:var(--g-ink2);
  height:40px;padding:0 14px;border-radius:999px;display:inline-flex;align-items:center;gap:8px;background:var(--g-glass2);border:1px solid var(--g-edge);}
:root[data-theme] body.bo .lane-empty .mono{font-family:'Inter Tight',sans-serif;letter-spacing:0;text-transform:none;font-size:.85rem;color:var(--g-ink3);}
:root[data-theme] body.bo .lane-empty{font-family:'Inter Tight',sans-serif;letter-spacing:0;text-transform:none;color:var(--g-ink3);
  background:repeating-linear-gradient(-45deg,rgba(20,24,22,.04) 0 1px,transparent 1px 8px);}
:root[data-theme] body.bo .rail-logo img{background:radial-gradient(closest-side at 50% 58%,#2F8A50,#6DB671 62%,#CFE6BC);}

/* ── Orders: three glass lanes, order cards as white glass ───────────── */
:root[data-theme] body.bo .lane{border-radius:30px;}
:root[data-theme] body.bo .lane-head{border-bottom:1px dashed var(--g-line2);}
:root[data-theme] body.bo .lane-head b{font-family:'Inter Tight',sans-serif;font-weight:400;font-size:1.25rem;letter-spacing:-.03em;}
:root[data-theme] body.bo .lane-head .mono{font-family:'Inter Tight',sans-serif;letter-spacing:0;text-transform:none;font-size:.78rem;color:var(--g-ink3);}
:root[data-theme] body.bo .lane-n{background:rgba(255,255,255,.85);border:0;color:var(--g-ink);font-family:'Inter Tight',sans-serif;}
:root[data-theme] body.bo .lane-n.hot{background:var(--c-orange);color:#fff;box-shadow:none;}
:root[data-theme] body.bo .lane-empty{border-radius:22px;}
:root[data-theme] body.bo .ocard{border-radius:24px;background:rgba(255,255,255,.72);border:1px solid #fff;box-shadow:none;
  transition:transform .35s var(--g-ease),background .25s;}
:root[data-theme] body.bo .ocard:hover{background:#fff;transform:translateY(-2px);}
:root[data-theme] body.bo .ocard.late{border-color:rgba(238,122,47,.55);}

/* ── New order: three glass panes ─────────────────────────────────────── */
@media (min-width:761px){
  :root[data-theme] body.bo .pos,:root[data-theme] body.bo .mgr{padding:4px 6px 10px 10px;gap:14px;}
  :root[data-theme] body.bo .cats,:root[data-theme] body.bo .grid-wrap,:root[data-theme] body.bo .ticket,
  :root[data-theme] body.bo .mgr-rail,:root[data-theme] body.bo .mgr-main{
    border-radius:30px;border:1px solid var(--g-edge);background:var(--g-glass);
    -webkit-backdrop-filter:var(--g-blur);backdrop-filter:var(--g-blur);}
  :root[data-theme] body.bo .ticket{background:rgba(255,255,255,.72);}
  /* the totals bar sticks over the scrolling lines, so it is frosted solid —
     anything passing beneath is blurred out, never read through */
  :root[data-theme] body.bo .ticket-close{border-radius:0 0 30px 30px;background:rgba(250,251,250,.94);
    border-top:1px solid var(--g-line);-webkit-backdrop-filter:blur(18px) saturate(1.4);backdrop-filter:blur(18px) saturate(1.4);}
  :root[data-theme] body.bo .grid-head,:root[data-theme] body.bo .mgr-head{border-bottom:1px dashed var(--g-line2);}
}
:root[data-theme] body.bo .grid-wrap{background:transparent;}
:root[data-theme] body.bo .cat{border-radius:999px;color:var(--g-ink2);transition:background .25s,transform .35s cubic-bezier(.3,1.6,.5,1);}
:root[data-theme] body.bo .cat b{font-family:'Inter Tight',sans-serif;font-weight:500;}
:root[data-theme] body.bo .cat i{font-family:'Inter Tight',sans-serif;letter-spacing:0;}
:root[data-theme] body.bo .cat:hover{background:rgba(255,255,255,.6);transform:translateX(2px);}
:root[data-theme] body.bo .cat.on{background:#fff;color:var(--g-ink);}
:root[data-theme] body.bo .cat.on i{color:var(--c-green-d);}
:root[data-theme] body.bo .tile{border-radius:24px;background:rgba(255,255,255,.72);border:1px solid #fff;box-shadow:none;
  transition:transform .35s var(--g-ease),background .25s;}
:root[data-theme] body.bo .tile:hover{background:#fff;transform:translateY(-3px);}
:root[data-theme] body.bo .tile b{font-family:'Inter Tight',sans-serif;font-weight:500;letter-spacing:-.01em;}
:root[data-theme] body.bo .tile-shot,:root[data-theme] body.bo .tile-shot img{border-radius:18px;}
:root[data-theme] body.bo .tile-price{font-family:'Inter Tight',sans-serif;font-weight:400;}
:root[data-theme] body.bo .tile-add{background:var(--g-ink);color:#fff;}
:root[data-theme] body.bo .types{background:rgba(20,24,22,.05);border:0;padding:4px;border-radius:999px;}
:root[data-theme] body.bo .type-btn{color:var(--g-ink2);font-family:'Inter Tight',sans-serif;font-weight:500;}
:root[data-theme] body.bo .type-btn.on{background:#fff;color:var(--g-ink);box-shadow:inset 0 1px 1px #fff,0 0 0 .5px rgba(20,24,22,.07);}
:root[data-theme] body.bo .line{border-radius:16px;}
:root[data-theme] body.bo .line:hover{background:rgba(255,255,255,.75);}
:root[data-theme] body.bo .sum.total span:last-child{font-family:'Inter Tight',sans-serif;font-weight:300;letter-spacing:-.045em;}
:root[data-theme] body.bo .ticket-head .mono,:root[data-theme] body.bo .ticket-foot .mono{font-family:'Inter Tight',sans-serif;letter-spacing:0;text-transform:none;font-size:.78rem;font-weight:500;color:var(--g-ink3);}

/* ═══════════════════ the Overview (views/overview.js) ═══════════════════ */
:root[data-theme] body.bo .ovb{padding:6px 10px 60px;}
.ovb-load{display:flex;gap:8px;justify-content:center;padding:120px 0;}
.ovb-load i{width:10px;height:10px;border-radius:50%;background:var(--c-green);animation:ovb-dot 1s ease-in-out infinite;}
.ovb-load i:nth-child(2){animation-delay:.15s;} .ovb-load i:nth-child(3){animation-delay:.3s;}
@keyframes ovb-dot{50%{transform:translateY(-8px);opacity:.4;}}
.og{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none;}
.og.sm{width:15px;height:15px;}
.ovb-head{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;padding:10px 4px 26px;flex-wrap:wrap;}
.ovb-kick{margin:0 0 10px;font-family:var(--mono);font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--g-ink3);}
.ovb-head h1{margin:0;font-family:'Inter Tight',sans-serif;font-weight:300;font-size:clamp(34px,3.4vw,48px);line-height:1.02;letter-spacing:-.045em;}
.ovb-figs{display:flex;gap:clamp(20px,3vw,50px);}
.ovb-figs > div{display:grid;grid-template-columns:auto auto;align-items:start;column-gap:8px;}
.ovb-figs b{font-size:46px;line-height:.9;color:var(--g-ink);font-weight:600;}
.ovb-figs b small{font-family:'Inter Tight',sans-serif;font-size:12px;font-weight:500;color:var(--g-ink3);margin-left:4px;}
.ovb-figs span{grid-column:1 / -1;margin-top:10px;font-size:12px;color:var(--g-ink3);}
.dotnum{font-family:'Doto','Inter Tight',monospace !important;font-weight:600;letter-spacing:-.02em;font-variation-settings:'ROND' 100;}
.tag{display:inline-flex;align-items:center;height:20px;padding:0 9px;border-radius:999px;font-style:normal;font-size:10.5px;font-weight:500;
  background:rgba(255,255,255,.78);color:var(--g-ink2);white-space:nowrap;font-family:'Inter Tight',sans-serif;}
.tag.lime{background:var(--c-lime);color:#33400A;}

/* the dotted strip with its riding pill */
.tl{position:relative;margin:-4px 0 20px;padding:30px 18px 14px;border-radius:999px;}
.tl::before{content:'';position:absolute;left:0;right:0;top:22px;bottom:4px;border-radius:999px;background:rgba(255,255,255,.42);
  border:1px solid rgba(255,255,255,.78);-webkit-backdrop-filter:var(--g-blur);backdrop-filter:var(--g-blur);}
.tl-days{position:relative;display:flex;align-items:center;height:46px;}
.tl-d{position:relative;flex:1;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;}
.tl-d i{display:block;border-radius:50%;transition:transform .3s var(--g-ease);}
.tl-d i.a{width:3px;height:3px;background:rgba(20,24,22,.25);}
.tl-d i.p{width:7px;height:7px;background:var(--c-green);transform:scale(var(--s,1));}
.tl-d.today::after{content:'';position:absolute;top:8px;bottom:8px;width:2px;border-radius:2px;background:var(--g-ink);}
.tl-d.hot i{transform:scale(1.6);} .tl-d.hot i.a{background:var(--g-ink);}
.tl-d em{position:absolute;left:0;bottom:-2px;font-style:normal;font-size:10.5px;color:var(--g-ink3);white-space:nowrap;}
.tl-d em::before{content:'';position:absolute;left:0;bottom:16px;width:1.5px;height:14px;border-radius:2px;background:rgba(20,24,22,.25);}
.tl-pill{position:absolute;top:2px;left:50%;z-index:2;padding:10px 20px 10px 16px;border-radius:999px;pointer-events:none;white-space:nowrap;
  background:linear-gradient(180deg,rgba(255,255,255,.94),rgba(255,255,255,.72));border:1px solid #fff;
  box-shadow:inset 0 1px 0 #fff,inset 0 -8px 16px rgba(255,255,255,.5),0 0 0 .5px rgba(20,24,22,.06);
  -webkit-backdrop-filter:blur(10px) saturate(1.6);backdrop-filter:blur(10px) saturate(1.6);transition:left .55s cubic-bezier(.3,1.25,.5,1);}
.tl-pill b{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:400;}
.tl-pill i{display:block;font-style:normal;font-size:11.5px;color:var(--g-ink3);margin-top:2px;}

/* glass cards */
.gl{position:relative;padding:20px 22px;border-radius:30px;background:var(--g-glass);border:1px solid var(--g-edge);
  -webkit-backdrop-filter:var(--g-blur);backdrop-filter:var(--g-blur);transition:background .35s;min-width:0;}
.gl:hover{background:rgba(255,255,255,.62);}
.gl:hover .gl-ic{transform:rotate(-10deg);}
.gl > header{display:flex;align-items:center;gap:10px;margin-bottom:14px;}
.gl > header h3{margin:0;font-family:'Inter Tight',sans-serif;font-size:15px;font-weight:500;letter-spacing:-.01em;white-space:nowrap;}
.gl-ic,.fx-ic{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;flex:none;color:var(--g-ink2);background:rgba(255,255,255,.82);
  transition:transform .4s var(--g-ease);}
.fx-ic{background:rgba(255,255,255,.22);color:#fff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);}
.gl-muted{font-size:12px;color:var(--g-ink3);}
.gl-go{margin-left:auto;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;color:var(--g-ink);background:rgba(255,255,255,.82);
  cursor:pointer;transition:transform .4s var(--g-ease),background .25s;}
.gl-go .og{width:14px;height:14px;} .gl-go:hover{transform:rotate(45deg);background:#fff;}
.gl-note{margin:12px 0 0;font-size:12.5px;color:var(--g-ink3);line-height:1.5;}
.gl-note b{color:var(--g-ink2);font-weight:500;}
.gempty{padding:22px 16px;text-align:center;font-size:13px;color:var(--g-ink3);border-radius:20px;
  background:repeating-linear-gradient(-45deg,rgba(20,24,22,.04) 0 1px,transparent 1px 8px);}

/* feathered colour cards */
.fx{position:relative;isolation:isolate;display:flex;flex-direction:column;padding:24px 26px;border-radius:36px;color:#fff;text-decoration:none;cursor:pointer;
  min-width:0;background:rgba(255,255,255,.1);box-shadow:inset 0 0 0 1px rgba(255,255,255,.5),inset 0 1px 0 rgba(255,255,255,.55);
  text-shadow:0 1px 14px rgba(20,50,30,.16);transition:transform .5s var(--g-ease);}
.fx::before{content:'';position:absolute;inset:3px;z-index:-2;border-radius:inherit;background:var(--fx);filter:blur(8px);transition:filter .6s var(--g-ease),transform .6s var(--g-ease);}
.fx::after{content:'';position:absolute;inset:8px;z-index:-1;border-radius:inherit;pointer-events:none;opacity:.5;mix-blend-mode:soft-light;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  -webkit-mask-image:radial-gradient(closest-side,#000 60%,transparent);mask-image:radial-gradient(closest-side,#000 60%,transparent);}
.fx:hover{transform:translateY(-3px);} .fx:hover::before{filter:blur(11px);transform:scale(1.01);}
.fx-green{--fx:radial-gradient(farthest-corner at 50% 62%,#2E8A4F 0%,#4DA25E 34%,#82C077 66%,#C2E0A8 92%,#DCEDC6 100%);}
.fx-orange{--fx:radial-gradient(farthest-corner at 42% 62%,#EE6A1E 0%,#F28A3E 32%,#F5AE76 62%,#F3CFB4 86%,#E7DAE3 100%);text-shadow:0 1px 14px rgba(120,50,10,.16);}
.fx-lilac{--fx:radial-gradient(farthest-corner at 50% 62%,#8475CC 0%,#A196DA 40%,#C9C1EC 75%,#E6E2F7 100%);}
.fx-top{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:500;}
.fx-big{margin-top:auto;display:flex;align-items:baseline;gap:8px;}
.fx-big b{font-size:clamp(60px,6vw,96px);line-height:.85;}
.fx-big small,.wait-n small{font-size:14px;font-weight:500;opacity:.85;}
.fx-sub{margin-top:14px;font-size:13px;opacity:.92;}
.fx-dot{margin:0 6px;opacity:.6;}
.glass-pill{margin-left:auto;height:32px;padding:0 15px;border-radius:999px;display:inline-flex;align-items:center;font-size:12.5px;font-weight:500;
  background:rgba(255,255,255,.2);border:1px solid rgba(255,255,255,.35);color:#fff;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);}
.fx:hover .glass-pill{background:rgba(255,255,255,.32);}
.cash{position:absolute;inset:14px;z-index:-1;border-radius:30px;overflow:hidden;pointer-events:none;
  -webkit-mask-image:radial-gradient(closest-side,#000 55%,transparent);mask-image:radial-gradient(closest-side,#000 55%,transparent);}
.cash i{position:absolute;left:var(--x);bottom:-40px;opacity:0;animation:cash-up 7.5s linear infinite;animation-delay:var(--d);}
.cash .note{width:38px;height:22px;border-radius:5px;border:1.5px solid rgba(255,255,255,.75);background:
  radial-gradient(circle at 50% 50%,transparent 4px,rgba(255,255,255,.75) 4.5px,rgba(255,255,255,.75) 5.5px,transparent 6px),rgba(255,255,255,.14);}
.cash .coin{width:15px;height:15px;border-radius:50%;border:1.5px solid rgba(255,255,255,.8);background:rgba(255,255,255,.18);}
@keyframes cash-up{0%{transform:translateY(0) rotate(var(--r,0deg)) scale(var(--s));opacity:0;}12%{opacity:.85;}70%{opacity:.6;}
  100%{transform:translateY(-460px) rotate(calc(var(--r,0deg) * -1.4)) scale(var(--s));opacity:0;}}
.rings{position:absolute;right:20%;top:50%;width:0;height:0;z-index:-1;}
.rings i{position:absolute;left:50%;top:50%;width:150px;height:150px;margin:-75px 0 0 -75px;border-radius:50%;border:1.5px solid rgba(255,255,255,.55);
  animation:ring 3.6s cubic-bezier(.2,.6,.3,1) infinite;opacity:0;}
.rings i:nth-child(2){animation-delay:1.2s;} .rings i:nth-child(3){animation-delay:2.4s;}
.rings i.core{width:22px;height:22px;margin:-11px 0 0 -11px;border:0;background:#fff;opacity:.95;animation:none;box-shadow:0 0 0 7px rgba(255,255,255,.3);}
@keyframes ring{0%{transform:scale(.15);opacity:.9;}100%{transform:scale(1);opacity:0;}}
.wait-n{margin-top:auto;display:flex;align-items:baseline;gap:6px;} .wait-n b{font-size:68px;line-height:.85;}

/* the green pill and plain rows */
.fxp{position:relative;display:flex;align-items:center;gap:14px;padding:9px 9px 9px 20px;min-height:62px;border-radius:999px;margin-bottom:12px;
  color:#fff;text-decoration:none;overflow:hidden;isolation:isolate;cursor:pointer;
  background:linear-gradient(100deg,rgba(132,196,164,.78) 0%,rgba(96,172,134,.9) 38%,rgba(78,154,120,.95) 70%,rgba(98,166,136,.9) 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.35),inset 0 0 0 1px rgba(255,255,255,.18);transition:transform .45s var(--g-ease),filter .3s;}
.fxp::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:radial-gradient(60% 120% at 18% 0%,rgba(255,255,255,.28),transparent 70%),radial-gradient(50% 90% at 80% 110%,rgba(30,90,60,.18),transparent 70%);}
.fxp:hover{transform:translateY(-1px);filter:saturate(1.08) brightness(1.03);}
.fxp-ic{width:28px;height:28px;display:grid;place-items:center;flex:none;} .fxp-ic .og{width:18px;height:18px;}
.fxp-t{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.2;}
.fxp-t b{font-size:16px;font-weight:400;letter-spacing:-.01em;} .fxp-t i{font-style:normal;font-size:12.5px;color:rgba(255,255,255,.62);margin-top:2px;}
.fxp-go{height:44px;padding:0 20px;border-radius:999px;display:inline-flex;align-items:center;font-size:14px;flex:none;
  background:rgba(255,255,255,.14);box-shadow:inset 0 1px 0 rgba(255,255,255,.3),inset 0 0 0 1px rgba(255,255,255,.12);transition:background .25s;}
.fxp:hover .fxp-go{background:rgba(255,255,255,.24);}
.gops{display:flex;flex-direction:column;gap:6px;}
.gops > *{display:flex;align-items:center;gap:10px;padding:11px 12px;border-radius:18px;background:rgba(255,255,255,.55);border:0;width:100%;
  font:inherit;color:inherit;text-align:left;cursor:pointer;transition:background .2s,transform .35s var(--g-ease);}
.gops > *:hover{background:rgba(255,255,255,.92);transform:translateX(3px);}
.gops span{flex:1;font-size:13px;color:var(--g-ink2);} .gops b{font-size:13px;font-weight:500;}
.gled{width:8px;height:8px;border-radius:50%;background:#C3C8C6;flex:none;}
.gled.ok{background:var(--c-green);} .gled.warn{background:#D8A43A;} .gled.bad{background:var(--c-orange);}

/* the bento */
.ovb-bento{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));grid-template-rows:repeat(2,minmax(200px,auto));gap:16px;}
.ovb-bento .b-money{grid-column:1 / span 5;grid-row:1 / span 2;}
.ovb-bento .b-pass{grid-column:6 / span 7;grid-row:1;}
.ovb-bento .b-wait{grid-column:6 / span 3;grid-row:2;}
.ovb-bento .b-do{grid-column:9 / span 4;grid-row:2;}
.ovb-bento.lean .b-pass{grid-column:1 / span 7;grid-row:1 / span 2;}
.ovb-bento.lean .b-wait{grid-column:8 / span 5;grid-row:1;}
.ovb-bento.lean .b-do{grid-column:8 / span 5;grid-row:2;}
.pass-lanes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:12px;}
.pass-lane{display:flex;flex-direction:column;align-items:flex-start;padding:14px 16px;border-radius:22px;border:0;background:rgba(255,255,255,.6);
  font:inherit;color:inherit;cursor:pointer;text-align:left;transition:background .25s,transform .35s var(--g-ease);}
.pass-lane:hover{background:#fff;transform:translateY(-2px);}
.pass-lane b{font-size:40px;line-height:.9;font-weight:600;}
.pass-lane span{margin-top:8px;font-size:13px;font-weight:500;} .pass-lane i{font-style:normal;font-size:11.5px;color:var(--g-ink3);}
.pass-lane.pending b{color:var(--c-orange);} .pass-lane.ready b{color:var(--c-green-d);}
.pass-list{display:flex;flex-direction:column;gap:6px;}
.pass-row{display:flex;align-items:center;gap:12px;padding:8px 12px 8px 8px;border-radius:18px;border:0;background:rgba(255,255,255,.45);
  font:inherit;color:inherit;text-align:left;cursor:pointer;transition:background .2s,transform .35s var(--g-ease);}
.pass-row:hover{background:#fff;transform:translateX(3px);}
.pass-no{min-width:46px;height:34px;padding:0 10px;border-radius:999px;display:grid;place-items:center;background:#fff;font-size:12.5px;font-weight:500;}
.pass-row .grow{flex:1;min-width:0;display:flex;flex-direction:column;}
.pass-row .grow b{font-size:13.5px;font-weight:500;} .pass-row .grow span{font-size:11.5px;color:var(--g-ink3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.pass-st{height:22px;padding:0 10px;border-radius:999px;display:inline-flex;align-items:center;font-size:11px;font-weight:500;background:rgba(20,24,22,.06);color:var(--g-ink2);}
.pass-st.st-pending{background:rgba(238,122,47,.14);color:#B8501A;} .pass-st.st-ready{background:rgba(78,154,120,.14);color:var(--c-green-d);}
.pass-st.st-preparing{background:rgba(148,136,212,.16);color:#5E52A8;}
.pass-min{font-size:12px;color:var(--g-ink3);min-width:34px;text-align:right;} .pass-min.late{color:var(--c-orange);font-weight:600;}

/* the sales band */
.ov-band{margin-top:16px;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:30px;padding:26px 28px 22px;border-radius:36px;
  background:var(--g-glass);border:1px solid var(--g-edge);-webkit-backdrop-filter:var(--g-blur);backdrop-filter:var(--g-blur);}
.ov-history,.ov-offers{min-width:0;}
.ov-dhead{display:flex;align-items:center;gap:12px;margin-bottom:16px;}
.ov-dhead h2{margin:0;font-family:'Inter Tight',sans-serif;font-weight:300;font-size:28px;letter-spacing:-.035em;}
.ov-count{font-size:13px;color:var(--g-ink3);}
.gseg{margin-left:auto;display:flex;gap:2px;padding:3px;border-radius:999px;background:rgba(20,24,22,.05);}
.gseg button{height:30px;padding:0 14px;border:0;border-radius:999px;background:none;font:inherit;font-size:12.5px;color:var(--g-ink2);cursor:pointer;white-space:nowrap;
  transition:background .3s,color .3s,transform .35s cubic-bezier(.3,1.6,.5,1);}
.gseg button:hover{color:var(--g-ink);transform:scale(1.05);}
.gseg button.on{background:#fff;color:var(--g-ink);box-shadow:inset 0 1px 1px #fff,0 0 0 .5px rgba(20,24,22,.07);}
.hist{position:relative;height:250px;display:flex;align-items:flex-end;gap:8px;padding-top:84px;}
.hist-col{flex:1;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;cursor:pointer;}
.hist-bar{position:relative;width:2px;height:var(--h);border-radius:2px;background:rgba(20,24,22,.16);transform-origin:bottom;animation:bar-up .9s var(--g-ease) both;}
.hist-bar::before{content:'';position:absolute;top:-1px;left:50%;width:12px;height:2px;margin-left:-6px;border-radius:2px;background:rgba(20,24,22,.3);}
@keyframes bar-up{from{transform:scaleY(0);}to{transform:scaleY(1);}}
.hist-col.on .hist-bar{width:3px;background:linear-gradient(180deg,var(--c-orange),rgba(238,122,47,.08));}
.hist-col.on .hist-bar::before{background:var(--c-orange);height:3px;}
.hist-col.hot .hist-bar{width:3px;background:linear-gradient(180deg,var(--g-ink),rgba(20,24,22,.06));}
.hist-col.hot .hist-bar::before{background:var(--g-ink);}
.hist-col > span{margin-top:12px;font-size:11px;color:var(--g-ink3);min-height:14px;}
.hist-col.on > span,.hist-col.hot > span{color:var(--g-ink);font-weight:500;}
.hist-flag{position:absolute;top:0;left:0;padding:12px 16px;border-radius:20px;white-space:nowrap;
  background:linear-gradient(180deg,rgba(255,255,255,.95),rgba(255,255,255,.72));border:1px solid #fff;box-shadow:inset 0 1px 0 #fff,0 0 0 .5px rgba(20,24,22,.06);
  transition:left .5s cubic-bezier(.3,1.25,.5,1);}
.hist-flag b{font-weight:300;font-size:26px;letter-spacing:-.035em;margin-right:6px;}
.hist-flag em{font-style:normal;font-size:11px;font-weight:600;color:var(--c-green-d);}
.hist-flag i{display:block;font-style:normal;font-size:11.5px;color:var(--g-ink3);margin-top:3px;}
.best{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}
.fx-card{min-height:200px;padding:16px 18px;border-radius:28px;overflow:hidden;}
.fx-card::before{inset:-24px;filter:blur(18px);}
.fx-card::after{inset:0;-webkit-mask-image:none;mask-image:none;opacity:.35;}
.best-img{display:block;height:84px;margin:-4px -6px 10px;border-radius:20px;background-size:cover;background-position:center;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.4);transition:transform .5s var(--g-ease);}
.best-card:hover .best-img{transform:scale(1.04);}
.best-rank{position:absolute;top:12px;right:12px;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;font-size:12px;font-weight:600;
  background:rgba(255,255,255,.28);box-shadow:inset 0 0 0 1px rgba(255,255,255,.45);text-shadow:none;}
.best-name{font-size:14px;font-weight:500;line-height:1.2;}
.ov-cafe-row{display:flex;gap:18px;margin-top:auto;padding-top:12px;}
.ov-cafe-row i{display:block;font-style:normal;font-size:11px;opacity:.8;}
.ov-cafe-row b{font-weight:300;font-size:22px;letter-spacing:-.03em;} .ov-cafe-row small{font-size:11px;font-weight:500;}

/* the four small cards */
.ovb-four{margin-top:16px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:stretch;}
.ovh{display:flex;align-items:flex-end;gap:4px;height:120px;}
.ovh span{flex:1;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:6px;}
.ovh i{width:100%;max-width:12px;height:var(--h);border-radius:6px;background:rgba(20,24,22,.12);transform-origin:bottom;animation:bar-up .8s var(--g-ease) both;}
.ovh span.on i{background:var(--c-green);}
.ovh em{font-style:normal;font-size:10px;color:var(--g-ink3);min-height:12px;}
.splitbar{display:flex;gap:3px;height:12px;margin:6px 0 14px;}
.splitbar i{border-radius:999px;min-width:8px;}
.c0{background:var(--c-green);} .c1{background:var(--c-orange);} .c2{background:var(--c-lilac);} .c3{background:rgba(20,24,22,.35);}
.splitlist{display:flex;flex-direction:column;gap:8px;}
.splitlist span{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--g-ink2);}
.splitlist span i{width:8px;height:8px;border-radius:50%;}
.splitlist b{margin-left:auto;font-weight:500;color:var(--g-ink);}
.goal-wrap{position:relative;margin:-6px auto 0;max-width:250px;}
.goal{display:block;width:100%;height:auto;overflow:visible;}
.g-halo{fill:none;stroke:rgba(143,208,168,.2);stroke-width:18;stroke-linecap:round;}
.g-arc{fill:none;stroke-width:2.5;stroke-linecap:round;stroke-dasharray:600;stroke-dashoffset:600;animation:arc-in 1.4s var(--g-ease) .2s forwards;}
@keyframes arc-in{to{stroke-dashoffset:0;}}
.g-bead{fill:#F28A3A;} .g-bead-h{fill:rgba(242,138,58,.22);animation:halo 2.4s ease-in-out infinite;transform-box:fill-box;transform-origin:center;}
@keyframes halo{50%{transform:scale(1.35);opacity:.5;}}
.goal-c{position:absolute;left:0;right:0;top:42%;text-align:center;}
.goal-c b{font-weight:300;font-size:40px;letter-spacing:-.04em;line-height:1;}
.goal-c sup{font-size:13px;margin-left:3px;color:var(--g-ink3);font-weight:500;letter-spacing:0;}
.goal-c i{display:block;font-style:normal;font-size:11.5px;color:var(--g-ink3);margin-top:6px;}
.goal-leg{display:flex;justify-content:space-between;margin-top:-4px;font-size:12px;color:var(--g-ink3);}
.goal-leg span{display:block;} .goal-leg span:last-child{text-align:right;}
.goal-leg i{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:6px;}
.goal-leg i.y{background:#8FD0A8;} .goal-leg i.g{background:var(--c-orange);}
.goal-leg b{display:block;margin-top:2px;font-weight:300;font-size:20px;color:var(--g-ink);letter-spacing:-.02em;}

/* ═══════════════════ v5.1 — the rail, and every screen ═══════════════════ */

/* the rail: small and round by default — icons with tiny names under them,
   on a liquid glass capsule with a specular rim — opening on hover */
@media (min-width:761px){
  :root[data-theme] body.bo .rail{width:72px;padding:12px 0;border-radius:36px;gap:2px;
    background:linear-gradient(180deg,rgba(255,255,255,.66) 0%,rgba(255,255,255,.38) 45%,rgba(255,255,255,.5) 100%);
    border:1px solid rgba(255,255,255,.9);
    box-shadow:inset 0 1px 1px #fff,inset 0 -1px 1px rgba(255,255,255,.7),inset 1px 0 0 rgba(255,255,255,.6),inset 0 0 24px rgba(255,255,255,.35) !important;
    -webkit-backdrop-filter:blur(26px) saturate(1.7);backdrop-filter:blur(26px) saturate(1.7);}
  :root[data-theme] body.bo .rail::after{content:'';position:absolute;left:10%;right:10%;top:6px;height:60px;border-radius:999px;pointer-events:none;
    background:radial-gradient(60% 100% at 50% 0%,rgba(255,255,255,.9),transparent 70%);opacity:.7;}
  :root[data-theme] body.bo .shell:not(.rail-open) .rail-btn{width:58px;min-height:52px;padding:7px 2px 6px;gap:3px;border-radius:24px;}
  :root[data-theme] body.bo .shell:not(.rail-open) .rail-btn svg{width:17px;height:17px;}
  :root[data-theme] body.bo .shell:not(.rail-open) .rail-btn span{font-family:'Inter Tight',sans-serif;font-size:.56rem;font-weight:500;max-width:56px;color:inherit;}
  :root[data-theme] body.bo .shell:not(.rail-open) .rail-top{padding-bottom:8px;}
  :root[data-theme] body.bo .shell:not(.rail-open) .rail-logo img,:root[data-theme] body.bo .shell:not(.rail-open) .rail-mono{width:40px;height:40px;}
  :root[data-theme] body.bo .shell:not(.rail-open) .rail-sep{width:4px;height:4px;border-radius:50%;margin:5px 0;background:rgba(20,24,22,.16);}
  :root[data-theme] body.bo .shell.rail-open .rail{width:200px;padding:14px 10px 12px;border-radius:32px;}
  :root[data-theme] body.bo .shell.rail-open .rail-btn{height:40px;border-radius:999px;padding:0 6px;gap:10px;}
  :root[data-theme] body.bo .shell.rail-open .rail-btn svg{width:28px;height:28px;padding:6px;}
  :root[data-theme] body.bo .shell.rail-open .rail-btn span{font-family:'Inter Tight',sans-serif;font-size:.84rem;font-weight:500;}
  :root[data-theme] body.bo .shell.rail-open .rail-group{margin:10px 0 2px 12px;font-family:'Inter Tight',sans-serif;font-size:.62rem;letter-spacing:.08em;font-weight:500;}
  :root[data-theme] body.bo .rail-badge{min-width:16px;height:16px;font-size:9px;}
}
/* the bead is moved by the liquid animation in app.js, not by a transition */
:root[data-theme] body.bo .rail-ind{transition:none !important;}
:root[data-theme] body.bo .rail-btn svg{transition:transform .4s var(--g-ease);}
:root[data-theme] body.bo .rail-btn.lq-pop svg{transform:scale(1.08);}
:root[data-theme] body.bo .shell:not(.rail-open) .rail-btn.lq-pop{transform:scale(1.05);}

/* the top bar drops its title when the screen has its own page head */
:root[data-theme] body.bo .shell.has-head .topbar h2{opacity:0;width:0;overflow:hidden;margin:0;}
:root[data-theme] body.bo .shell.has-head .topbar .crumb{margin-left:0;}

/* page heads: a big thin title over a quiet line, actions as glass pills */
:root[data-theme] body.bo .page-head{align-items:flex-end;gap:14px;margin:4px 0 24px;padding:6px 4px 0;}
:root[data-theme] body.bo .page-head h3{font-family:'Inter Tight',sans-serif;font-weight:300;font-size:clamp(2rem,3vw,2.8rem);letter-spacing:-.05em;line-height:1.02;margin:0 0 6px;}
:root[data-theme] body.bo .page-head > div > .mono,:root[data-theme] body.bo .page-head > div > span.mono{display:block;font-family:'Inter Tight',sans-serif;letter-spacing:0;
  text-transform:none;font-size:.9rem;color:var(--g-ink3);max-width:60ch;line-height:1.45;}
/* the day-pickers (Receipts, Manage, Table order) */
:root[data-theme] body.bo .rcpt-nav{display:inline-flex;align-items:center;gap:6px;padding:4px;border-radius:999px;background:var(--g-glass2);border:1px solid var(--g-edge);
  -webkit-backdrop-filter:var(--g-blur);backdrop-filter:var(--g-blur);margin-bottom:16px;}
:root[data-theme] body.bo .rcpt-nav .btn{border:0;background:transparent;min-width:36px;}
:root[data-theme] body.bo .rcpt-nav .btn:hover{background:#fff;}
:root[data-theme] body.bo .rcpt-nav input[type="date"]{border:0;background:transparent;font-family:'Inter Tight',sans-serif;color:var(--g-ink);}

/* the mono, letter-spaced, upper-case labels of v3/v4 become quiet sentence
   case everywhere on a screen; codes in tables keep a mono face below */
:root[data-theme] body.bo .page .mono:not(td):not(code){font-family:'Inter Tight',sans-serif;letter-spacing:0;text-transform:none;}
:root[data-theme] body.bo .page td.mono,:root[data-theme] body.bo .page .mono.code{font-family:var(--mono);letter-spacing:.02em;}
/* Reports' tabs and every range-preset row: glass tracks with the bead */
:root[data-theme] body.bo .rtabs,:root[data-theme] body.bo .range-presets{display:inline-flex;flex-wrap:wrap;gap:2px;padding:4px;border-radius:999px;
  background:var(--g-glass2);border:1px solid var(--g-edge);-webkit-backdrop-filter:var(--g-blur);backdrop-filter:var(--g-blur);}
:root[data-theme] body.bo .rtabs button,:root[data-theme] body.bo .range-presets button{height:36px;padding:0 16px;border-radius:999px;border:0;background:transparent;
  font-family:'Inter Tight',sans-serif !important;letter-spacing:0 !important;text-transform:none !important;font-size:.84rem !important;font-weight:500;color:var(--g-ink2);}
:root[data-theme] body.bo .rangebar{gap:12px;}
:root[data-theme] body.bo .rangebar input[type="date"]{height:42px;border-radius:999px;padding:0 14px;background:var(--g-glass2);border:1px solid var(--g-edge);font-family:'Inter Tight',sans-serif;}

/* tab rows (core/liquid.js .gtabs): a glass track with the gliding bead */
:root[data-theme] body.bo .gtabs{display:inline-flex !important;flex-wrap:wrap;gap:2px !important;padding:4px;border-radius:999px;
  background:var(--g-glass2);border:1px solid var(--g-edge);-webkit-backdrop-filter:var(--g-blur);backdrop-filter:var(--g-blur);}
:root[data-theme] body.bo .gtabs > .btn{background:transparent !important;border-color:transparent !important;color:var(--g-ink2);height:36px;padding:0 16px;}
:root[data-theme] body.bo .gtabs > .btn-solid{color:var(--g-ink) !important;}

/* stat tiles → dot-matrix figures with a tag; the first in a row is the
   one colour moment, a feathered green card */
:root[data-theme] body.bo .cards{gap:14px;}
:root[data-theme] body.bo .stat{position:relative;padding:18px 20px 16px;border-radius:28px;overflow:hidden;isolation:isolate;min-height:128px;
  display:flex;flex-direction:column;}
:root[data-theme] body.bo .stat > .mono:first-child{align-self:flex-start;display:inline-flex;align-items:center;height:22px;padding:0 10px;border-radius:999px;
  background:rgba(255,255,255,.8);font-family:'Inter Tight',sans-serif;font-size:.7rem;letter-spacing:0;text-transform:none;font-weight:500;color:var(--g-ink2);}
:root[data-theme] body.bo .stat > b{margin-top:auto;padding-top:14px;font-family:'Doto','Inter Tight',monospace !important;font-weight:600;
  font-variation-settings:'ROND' 100;font-size:clamp(2rem,2.8vw,2.7rem);letter-spacing:-.02em;line-height:1;color:var(--g-ink);}
:root[data-theme] body.bo .stat > b .dec{opacity:.35;font-size:.55em;}
:root[data-theme] body.bo .stat > i{margin-top:8px;font-size:.78rem;color:var(--g-ink3);}
:root[data-theme] body.bo .cards > .stat:first-child{color:#fff;background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.5);
  text-shadow:0 1px 12px rgba(20,50,30,.16);}
:root[data-theme] body.bo .cards > .stat:first-child::before{content:'';position:absolute;inset:-20px;z-index:-1;filter:blur(16px);
  background:radial-gradient(farthest-corner at 50% 62%,#2E8A4F 0%,#4DA25E 34%,#82C077 66%,#C2E0A8 92%,#DCEDC6 100%);}
:root[data-theme] body.bo .cards > .stat:first-child > b{color:#fff;}
:root[data-theme] body.bo .cards > .stat:first-child > i,:root[data-theme] body.bo .cards > .stat:first-child .stat-delta em{color:rgba(255,255,255,.85);}
:root[data-theme] body.bo .cards > .stat:first-child > .mono:first-child{background:rgba(255,255,255,.22);color:#fff;text-shadow:none;}
:root[data-theme] body.bo .stat:hover{transform:translateY(-3px);}
:root[data-theme] body.bo .stat{transition:transform .45s var(--g-ease),background .3s;}

/* panels → glass cards with a quiet head */
:root[data-theme] body.bo .panel{padding:20px 22px;border-radius:30px;margin-bottom:16px;}
:root[data-theme] body.bo .panel > h4,:root[data-theme] body.bo .panel-head > h4{font-family:'Inter Tight',sans-serif;font-weight:500;font-size:1rem;letter-spacing:-.01em;
  display:flex;align-items:center;gap:10px;}
:root[data-theme] body.bo .panel > h4::before,:root[data-theme] body.bo .panel-head > h4::before{content:'';width:8px;height:8px;border-radius:50%;flex:none;
  background:var(--c-green);box-shadow:0 0 0 4px rgba(78,154,120,.15);}
:root[data-theme] body.bo .panel-head{border:0;padding-bottom:4px;}
:root[data-theme] body.bo .panel .mono{letter-spacing:.04em;}
:root[data-theme] body.bo .panel p.mono,:root[data-theme] body.bo .panel > .mono{font-family:'Inter Tight',sans-serif;letter-spacing:0;text-transform:none;font-size:.82rem;color:var(--g-ink3);}

/* tables → glass rows */
:root[data-theme] body.bo .page table{border-collapse:separate;border-spacing:0;width:100%;}
:root[data-theme] body.bo .page th{font-family:'Inter Tight',sans-serif;font-size:.68rem;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:var(--g-ink3);
  background:transparent;border:0;border-bottom:1px solid var(--g-line2);padding:10px 12px;}
:root[data-theme] body.bo .page td{border:0;border-bottom:1px dashed var(--g-line2);padding:12px;color:var(--g-ink);font-family:'Inter Tight',sans-serif;}
:root[data-theme] body.bo .page tbody tr{transition:background .2s;}
:root[data-theme] body.bo .page tbody tr:hover td{background:rgba(255,255,255,.7);}
:root[data-theme] body.bo .page tbody tr:hover td:first-child{border-radius:16px 0 0 16px;}
:root[data-theme] body.bo .page tbody tr:hover td:last-child{border-radius:0 16px 16px 0;}
:root[data-theme] body.bo .page tbody tr:last-child td{border-bottom:0;}
:root[data-theme] body.bo .page td.mono,:root[data-theme] body.bo .page td .mono{letter-spacing:.02em;}

/* switches and checkboxes in settings forms */
:root[data-theme] body.bo .switch,:root[data-theme] body.bo .toggle{accent-color:var(--c-green);}
:root[data-theme] body.bo input[type="checkbox"],:root[data-theme] body.bo input[type="radio"]{accent-color:var(--c-green);}

/* a page figure strip (core/figs.js) beside a page title */
.pg-figs{display:flex;gap:clamp(18px,2.6vw,40px);margin-left:auto;align-items:flex-end;}
.pg-figs > div{display:grid;grid-template-columns:auto auto;align-items:start;column-gap:8px;}
.pg-figs b{font-family:'Doto','Inter Tight',monospace;font-weight:600;font-variation-settings:'ROND' 100;font-size:40px;line-height:.9;color:var(--g-ink);letter-spacing:-.02em;}
.pg-figs b small{font-family:'Inter Tight',sans-serif;font-size:11px;font-weight:500;color:var(--g-ink3);margin-left:4px;}
.pg-figs span{grid-column:1 / -1;margin-top:8px;font-size:11.5px;color:var(--g-ink3);white-space:nowrap;}
:root[data-theme] body.bo .page-head .pg-figs + .spacer{display:none;}

/* ═══════════════════ v5.1 — screen by screen ═══════════════════ */
/* small shared bits */
.blob{width:42px;height:42px;border-radius:50%;flex:none;display:grid;place-items:center;font-size:12.5px;font-weight:500;color:#fff;font-family:'Inter Tight',sans-serif;}
/* One calm green for every avatar (Settings › People, Loyalty) — the same
   green the till uses for a selected table, instead of green/orange/violet. */
.blob.b0,.blob.b1,.blob.b2{
  background:linear-gradient(135deg,rgba(132,196,164,1) 0%,rgba(96,172,134,1) 42%,rgba(78,154,120,1) 74%,rgba(63,138,104,1) 100%);}
.p-tag{display:inline-flex;align-items:center;height:20px;padding:0 9px;border-radius:999px;font-style:normal;font-size:10.5px;font-weight:500;
  background:rgba(20,24,22,.06);color:var(--g-ink2);white-space:nowrap;}
.p-tag.regular{background:rgba(78,154,120,.14);color:var(--c-green-d);}
.p-tag.lapsed{background:rgba(238,122,47,.14);color:#B8501A;}
.p-tag.new{background:rgba(148,136,212,.16);color:#5E52A8;}

/* Happy hour */
.hh-day{margin-bottom:16px;}
.hh-lanes{position:relative;display:flex;flex-direction:column;gap:10px;padding:4px 0 6px;}
.hh-lane{display:grid;grid-template-columns:190px 1fr;align-items:center;gap:14px;}
.hh-lane > span{font-size:13px;color:var(--g-ink2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;} .hh-lane b{font-weight:600;color:var(--g-ink);}
.hh-lane.on > span{color:var(--g-ink);}
.hh-track{position:relative;height:10px;border-radius:999px;background:repeating-linear-gradient(90deg,rgba(20,24,22,.08) 0 2px,transparent 2px 8px),rgba(255,255,255,.5);}
.hh-track > i{position:absolute;top:0;bottom:0;border-radius:999px;background:linear-gradient(90deg,#9ED2B4,var(--c-green));}
.hh-lane.on .hh-track > i{background:linear-gradient(90deg,#F7C08F,var(--c-orange));}
/* the now line runs down the track area, which starts after the 190px names + 14px gap */
.hh-now{position:absolute;top:-6px;bottom:-6px;width:2px;border-radius:2px;background:var(--g-ink);left:calc(204px + (100% - 204px) * var(--p));}
.hh-now em{position:absolute;top:-20px;left:50%;transform:translateX(-50%);font-style:normal;font-size:10.5px;font-weight:600;padding:2px 7px;border-radius:999px;background:var(--g-ink);color:#fff;}
.hh-hours{position:relative;height:18px;margin:8px 0 0 204px;}
.hh-hours span{position:absolute;transform:translateX(-50%);font-size:10.5px;color:var(--g-ink3);}
.hh-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px;}
.hh-card{display:flex;flex-direction:column;gap:12px;min-height:250px;padding:20px 22px;border-radius:30px;}
.hh-card.off{opacity:.62;}
.hh-top{display:flex;align-items:flex-start;justify-content:space-between;}
.hh-top b{font-size:52px;line-height:.9;} .hh-top b small{font-family:'Inter Tight',sans-serif;font-size:18px;font-weight:400;margin-left:2px;}
.gl.hh-card .hh-top b{color:var(--g-ink);}
.hh-state{height:24px;padding:0 11px;border-radius:999px;display:inline-flex;align-items:center;font-size:11.5px;font-weight:500;background:rgba(255,255,255,.8);color:var(--g-ink2);}
.hh-state.live{background:rgba(255,255,255,.25);color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.45);}
.hh-state.paused{background:rgba(20,24,22,.06);}
.hh-card h4{margin:0;font-family:'Inter Tight',sans-serif;font-size:17px;font-weight:500;letter-spacing:-.01em;}
.hh-days{display:flex;gap:5px;}
.hh-days span{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;font-size:11px;font-weight:500;background:rgba(20,24,22,.05);color:var(--g-ink3);}
.hh-days span.on{background:var(--g-ink);color:#fff;}
.hh-days span.today{box-shadow:0 0 0 2px var(--c-lime);}
.fx .hh-days span{background:rgba(255,255,255,.18);color:rgba(255,255,255,.8);} .fx .hh-days span.on{background:#fff;color:var(--c-green-d);}
.hh-win{display:flex;flex-direction:column;gap:6px;} .hh-win > span{font-size:12.5px;color:var(--g-ink3);}
.fx .hh-win > span{color:rgba(255,255,255,.85);}
.fx .hh-track{background:repeating-linear-gradient(90deg,rgba(255,255,255,.25) 0 2px,transparent 2px 8px),rgba(255,255,255,.12);}
.fx .hh-track > i{background:#fff;}
.hh-dot{position:absolute;top:50%;width:14px;height:14px;margin:-7px 0 0 -7px;border-radius:50%;background:var(--c-lime);box-shadow:0 0 0 4px rgba(221,242,106,.35);}
.hh-scope{margin:0;font-size:12.5px;color:var(--g-ink3);line-height:1.45;} .fx .hh-scope{color:rgba(255,255,255,.85);}
.hh-actions{display:flex;gap:6px;margin-top:auto;flex-wrap:wrap;}
.fx .hh-actions .btn{background:rgba(255,255,255,.2);border-color:rgba(255,255,255,.35);color:#fff;}
.hh-add{align-items:center;justify-content:center;text-align:center;cursor:pointer;font:inherit;color:inherit;border:1px dashed rgba(20,24,22,.16);
  background:repeating-linear-gradient(-45deg,rgba(20,24,22,.03) 0 1px,transparent 1px 8px),rgba(255,255,255,.3);transition:background .25s,transform .4s var(--g-ease);}
.hh-add:hover{background:rgba(255,255,255,.6);transform:translateY(-3px);}
.hh-add b{font-weight:500;} .hh-add span:last-child{font-size:12px;color:var(--g-ink3);max-width:26ch;}

/* Customers */
.cu-bento{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,4fr) minmax(0,3fr);gap:16px;margin-bottom:18px;}
.cu-top,.cu-back{min-height:230px;}
.cu-name{margin-top:14px;font-size:20px;font-weight:400;letter-spacing:-.02em;}
.cust-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:14px;}
:root[data-theme] body.bo .cust-search,:root[data-theme] body.bo .cust-sort{height:42px;border-radius:999px;padding:0 16px;background:var(--g-glass2);border:1px solid var(--g-edge);
  font-family:'Inter Tight',sans-serif;color:var(--g-ink);}
.people{display:flex;flex-direction:column;gap:8px;}
.person{display:grid;grid-template-columns:auto minmax(180px,1.6fr) repeat(3,minmax(70px,.6fr)) minmax(140px,1fr) auto;align-items:center;gap:16px;
  padding:12px 16px 12px 12px;border-radius:26px;background:var(--g-glass);border:1px solid var(--g-edge);
  -webkit-backdrop-filter:var(--g-blur);backdrop-filter:var(--g-blur);transition:background .25s,transform .4s var(--g-ease);}
.person:hover{background:rgba(255,255,255,.78);transform:translateX(3px);}
.person:hover .blob{transform:rotate(-8deg) scale(1.06);} .person .blob{transition:transform .4s var(--g-ease);}
.p-who{min-width:0;display:flex;flex-direction:column;} .p-who b{font-size:14.5px;font-weight:500;} .p-who > span{font-size:12px;color:var(--g-ink3);}
.p-tags{display:flex;gap:4px;flex-wrap:wrap;margin-top:5px;}
.p-fig{display:flex;flex-direction:column;} .p-fig b{font-weight:300;font-size:20px;letter-spacing:-.03em;} .p-fig i{font-style:normal;font-size:11px;color:var(--g-ink3);}
.p-fig.dim b{color:var(--g-ink2);}
.p-last{display:flex;flex-direction:column;min-width:0;} .p-last span{font-size:13px;} .p-last i{font-style:normal;font-size:11.5px;color:var(--g-ink3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.p-act{display:flex;gap:6px;}

/* team / people cards (Settings › People) */
.team-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px;}
.team-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:18px 18px 14px;border-radius:28px;
  background:var(--g-glass);border:1px solid var(--g-edge);-webkit-backdrop-filter:var(--g-blur);backdrop-filter:var(--g-blur);
  transition:background .3s,transform .45s var(--g-ease);text-align:left;font:inherit;color:inherit;}
.team-card:hover{background:rgba(255,255,255,.72);transform:translateY(-3px);}
.team-card.off{opacity:.6;}
.team-card .blob{width:46px;height:46px;font-size:14px;}
.team-card .grow{display:flex;flex-direction:column;min-width:0;}
.team-card .grow b{font-size:15px;font-weight:500;display:flex;align-items:center;gap:6px;}
.team-card .grow span{font-size:12px;color:var(--g-ink3);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.role-chip{height:24px;padding:0 11px;border-radius:999px;display:inline-flex;align-items:center;font-size:11.5px;font-weight:500;text-transform:capitalize;
  background:rgba(20,24,22,.06);color:var(--g-ink2);}
.role-chip.owner{background:rgba(78,154,120,.15);color:var(--c-green-d);} .role-chip.manager{background:rgba(148,136,212,.16);color:#5E52A8;}
.team-note{grid-column:1 / -1;margin:0;font-size:12px;color:var(--g-ink3);line-height:1.45;}
.team-flags{grid-column:1 / -1;display:flex;gap:5px;flex-wrap:wrap;}
.team-foot{grid-column:1 / -1;display:flex;align-items:center;gap:6px;padding-top:12px;border-top:1px dashed var(--g-line2);}
.team-card.add{grid-template-columns:auto;justify-items:center;text-align:center;gap:6px;cursor:pointer;min-height:200px;align-content:center;
  background:repeating-linear-gradient(-45deg,rgba(20,24,22,.03) 0 1px,transparent 1px 8px),rgba(255,255,255,.3);border-style:dashed;border-color:rgba(20,24,22,.14);}
.team-card.add b{font-weight:500;font-size:14px;} .team-card.add span:last-child{font-size:12px;color:var(--g-ink3);max-width:28ch;}

/* Settings › Settings and Order page: a two-column grid of glass cards,
   on/off choices drawn as switches */
:root[data-theme] body.bo .set-grid{columns:2 420px;column-gap:16px;}
:root[data-theme] body.bo .set-grid > .panel{max-width:none !important;break-inside:avoid;display:inline-block;width:100%;}
:root[data-theme] body.bo .set-grid > :not(.panel){column-span:all;}
:root[data-theme] body.bo .c-opt[data-switch],:root[data-theme] body.bo #vatToggle{position:relative;flex:0 1 auto !important;width:auto !important;justify-content:flex-start !important;
  height:44px;padding:0 64px 0 18px !important;border-radius:999px;background:rgba(255,255,255,.6);border:1px solid var(--g-edge);color:var(--g-ink2);}
:root[data-theme] body.bo .c-opt[data-switch]::after,:root[data-theme] body.bo #vatToggle::after{content:'';position:absolute;right:8px;top:50%;width:42px;height:26px;margin-top:-13px;
  border-radius:999px;background:rgba(20,24,22,.14);transition:background .3s;}
:root[data-theme] body.bo .c-opt[data-switch]::before,:root[data-theme] body.bo #vatToggle::before{content:'';position:absolute;right:28px;top:50%;width:20px;height:20px;margin-top:-10px;
  border-radius:50%;background:#fff;z-index:1;box-shadow:0 1px 2px rgba(20,24,22,.2);transition:right .35s cubic-bezier(.3,1.5,.5,1);}
:root[data-theme] body.bo .c-opt[data-switch].on,:root[data-theme] body.bo #vatToggle.on{color:var(--g-ink);background:rgba(255,255,255,.85);}
:root[data-theme] body.bo .c-opt[data-switch].on::after,:root[data-theme] body.bo #vatToggle.on::after{background:var(--c-green);}
:root[data-theme] body.bo .c-opt[data-switch].on::before,:root[data-theme] body.bo #vatToggle.on::before{right:11px;}
:root[data-theme] body.bo .panel .modal-body > .mono{font-family:'Inter Tight',sans-serif;letter-spacing:0;text-transform:none;font-size:.8rem;font-weight:500;}
:root[data-theme] body.bo .panel p.mono{line-height:1.6 !important;}
:root[data-theme] body.bo .logo-prev{border-radius:50%;background:rgba(255,255,255,.7);}

/* Inventory */
.inv-live{margin-bottom:16px;}
.inv-live .fxp-go{border:0;font:inherit;color:#fff;cursor:pointer;}
.fxp-orange{background:linear-gradient(100deg,rgba(246,176,128,.8) 0%,rgba(240,140,78,.92) 40%,rgba(232,116,52,.95) 72%,rgba(240,140,80,.9) 100%);}
.inv-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 16px;}
.inv-toolbar:empty{display:none;}
:root[data-theme] body.bo .unit-pick{display:inline-flex;padding:3px;gap:2px;border-radius:999px;background:var(--g-glass2);border:1px solid var(--g-edge);}
:root[data-theme] body.bo .unit-pick button{border-radius:999px;border:0;}
:root[data-theme] body.bo .unit-pick button.on{background:#fff;color:var(--g-ink);}
:root[data-theme] body.bo .ing-kind-icon{color:var(--c-green-d);}

/* Kitchen: the bar sits on the canvas, the station tabs are a glass track */
:root[data-theme] body.bo .kds-bar{background:transparent;border:0;padding:6px 10px 14px;}
:root[data-theme] body.bo .kds-bar .live{font-family:'Inter Tight',sans-serif;letter-spacing:0;text-transform:none;font-size:.8rem;color:var(--g-ink2);
  height:40px;padding:0 14px;border-radius:999px;display:inline-flex;align-items:center;gap:8px;background:var(--g-glass2);border:1px solid var(--g-edge);margin-left:auto;}
:root[data-theme] body.bo .kds-board{background:transparent;}
:root[data-theme] body.bo .kticket,:root[data-theme] body.bo .kds-ticket{border-radius:26px;background:rgba(255,255,255,.72);border:1px solid #fff;box-shadow:none;}

/* Pay Later */
.pl-bento{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px;}
.pl-card{min-height:190px;}

/* Tables */
.tb-floor{margin-bottom:16px;}
.tb-tokens{display:flex;flex-wrap:wrap;gap:12px;}
.tb-token{position:relative;width:62px;height:62px;border-radius:50%;display:grid;place-items:center;
  background:radial-gradient(circle at 50% 35%,#fff,rgba(225,232,228,.8) 75%);box-shadow:inset 0 1px 1px #fff,inset 0 -6px 12px rgba(20,24,22,.05);
  transition:transform .45s cubic-bezier(.3,1.5,.5,1);}
.tb-token:hover{transform:scale(1.1);}
.tb-token b{font-size:13px;font-weight:500;}
.tb-token i{position:absolute;right:6px;top:6px;width:8px;height:8px;border-radius:50%;background:var(--c-green);box-shadow:0 0 0 3px #fff;}
.tb-token.off{opacity:.45;} .tb-token.off i{background:rgba(20,24,22,.25);}

@media (max-width:1180px){
  .cu-bento{grid-template-columns:1fr 1fr;} .cu-mix{grid-column:1 / -1;}
  .person{grid-template-columns:auto minmax(0,1fr) auto auto;} .person .p-fig.dim,.person .p-last{display:none;}
  .pg-figs{margin-left:0;width:100%;}
}
@media (max-width:760px){
  .cu-bento,.pl-bento{grid-template-columns:1fr;}
  .person{grid-template-columns:auto minmax(0,1fr);} .person .p-fig,.person .p-act{display:none;}
  .hh-lane{grid-template-columns:1fr;} .hh-hours{margin-left:0;}
  .pg-figs{gap:14px;flex-wrap:wrap;} .pg-figs b{font-size:30px;}
  :root[data-theme] body.bo .set-grid{columns:1;}
}

/* ═══════════════════ readable figures (v5.2) ═══════════════════
   The dot-matrix numerals were hard to read at tile sizes: every figure in
   the back office is now thin Inter Tight with even-width digits. (The
   sign-in clock keeps its dots — it is decoration, not data.) */
:root[data-theme] body.bo .shell .dotnum,:root[data-theme] body.bo .stat > b,:root[data-theme] body.bo .pg-figs b,
:root[data-theme] body.bo .ob-count b,:root[data-theme] body.bo .ovb-figs b{
  font-family:'Inter Tight',sans-serif !important;font-weight:300 !important;font-variation-settings:normal;
  font-variant-numeric:tabular-nums;letter-spacing:-.045em !important;}
:root[data-theme] body.bo .pg-figs b,:root[data-theme] body.bo .ovb-figs b{font-size:44px;}
:root[data-theme] body.bo .fx-big b{font-size:clamp(60px,6vw,92px);}
:root[data-theme] body.bo .stat > b{font-size:clamp(2.1rem,2.8vw,2.8rem);}
:root[data-theme] body.bo .stat > b .dec,:root[data-theme] body.bo .pg-figs b small{opacity:.4;}
:root[data-theme] body.bo .pass-lane b{font-size:42px;}

/* ═══════════════════ Reports ═══════════════════ */
/* today so far: a glass strip of plain figures */
:root[data-theme] body.bo .livestrip{border-radius:999px;padding:8px 10px 8px 18px;background:var(--g-glass2);border:1px solid var(--g-edge);
  -webkit-backdrop-filter:var(--g-blur);backdrop-filter:var(--g-blur);box-shadow:none;}
:root[data-theme] body.bo .live-title{font-family:'Inter Tight',sans-serif !important;font-size:.85rem !important;font-weight:500;color:var(--g-ink) !important;}
:root[data-theme] body.bo .live-figs{gap:6px;}
:root[data-theme] body.bo .live-figs span{display:inline-flex;align-items:baseline;gap:6px;height:40px;padding:0 14px;border-radius:999px;background:rgba(255,255,255,.75);}
:root[data-theme] body.bo .live-figs b{font-family:'Inter Tight',sans-serif;font-weight:400;font-size:1.15rem;letter-spacing:-.03em;font-variant-numeric:tabular-nums;line-height:40px;}
:root[data-theme] body.bo .live-figs i{font-family:'Inter Tight',sans-serif;font-style:normal;font-size:.75rem;letter-spacing:0;text-transform:none;color:var(--g-ink3);}
:root[data-theme] body.bo .live-figs .hot b{color:var(--c-orange);}
/* the lead tile: the green feathered card, its split as glass pills */
:root[data-theme] body.bo .bento > .stat.hero{color:#fff;background:rgba(255,255,255,.1) !important;border-color:rgba(255,255,255,.5);text-shadow:0 1px 12px rgba(20,50,30,.16);}
:root[data-theme] body.bo .bento > .stat.hero::before{content:'';position:absolute;inset:-20px;z-index:-1;filter:blur(16px);
  background:radial-gradient(farthest-corner at 50% 62%,#2E8A4F 0%,#4DA25E 34%,#82C077 66%,#C2E0A8 92%,#DCEDC6 100%);}
:root[data-theme] body.bo .bento > .stat.hero > b{color:#fff;font-size:clamp(3rem,5vw,4.6rem) !important;}
:root[data-theme] body.bo .bento > .stat.hero > i,:root[data-theme] body.bo .bento > .stat.hero .stat-delta em{color:rgba(255,255,255,.88);}
:root[data-theme] body.bo .bento > .stat.hero > .mono:first-child{background:rgba(255,255,255,.22);color:#fff;text-shadow:none;}
:root[data-theme] body.bo .bento > .stat.hero .b-foot{border-top:1px solid rgba(255,255,255,.3);}
:root[data-theme] body.bo .stat .pillbar{height:auto;gap:6px;background:none;border:0;padding:0;}
:root[data-theme] body.bo .stat .pill-seg{min-height:46px;border-radius:999px;padding:6px 16px;display:flex;flex-direction:column;justify-content:center;
  background:rgba(255,255,255,.75);color:var(--g-ink);border:0;text-shadow:none;}
:root[data-theme] body.bo .stat .pill-seg.solid{background:#fff;}
:root[data-theme] body.bo .stat .pill-seg.hatch{background:repeating-linear-gradient(-45deg,rgba(20,24,22,.06) 0 1px,transparent 1px 7px),rgba(255,255,255,.5);}
:root[data-theme] body.bo .stat .pill-seg em{font-style:normal;font-family:'Inter Tight',sans-serif;font-size:.68rem;letter-spacing:0;text-transform:none;color:var(--g-ink3);}
:root[data-theme] body.bo .stat .pill-seg b{font-family:'Inter Tight',sans-serif;font-weight:400;font-size:1rem;letter-spacing:-.02em;font-variant-numeric:tabular-nums;}
/* through the day: thin rounded bars, the peak lit, values on hover */
:root[data-theme] body.bo .bento-hours{display:flex;align-items:flex-end;gap:6px;height:150px;padding:28px 2px 0;background:none;}
:root[data-theme] body.bo .bento-hours .hour{flex:1;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:6px;position:relative;}
:root[data-theme] body.bo .bento-hours .hour-bar{width:100%;max-width:26px;border-radius:10px;background:rgba(20,24,22,.1);border:0;
  transform-origin:bottom;animation:bar-up .8s var(--g-ease) both;transition:background .25s;}
:root[data-theme] body.bo .bento-hours .hour:hover .hour-bar{background:rgba(20,24,22,.25);}
:root[data-theme] body.bo .bento-hours .hour.peak .hour-bar{background:linear-gradient(180deg,#4DA25E,#2F7F57);}
:root[data-theme] body.bo .bento-hours .hour-val{position:absolute;top:-4px;font-family:'Inter Tight',sans-serif !important;font-size:.72rem;letter-spacing:0;
  color:var(--g-ink2);opacity:0;transition:opacity .2s;}
:root[data-theme] body.bo .bento-hours .hour:hover .hour-val,:root[data-theme] body.bo .bento-hours .hour.peak .hour-val{opacity:1;}
:root[data-theme] body.bo .bento-hours .hour.peak .hour-val{color:var(--c-green-d);font-weight:600;}
:root[data-theme] body.bo .bento-hours .hour i{font-style:normal;font-family:'Inter Tight',sans-serif;font-size:.72rem;color:var(--g-ink3);
  background:none !important;border:0 !important;width:auto;height:auto;}
:root[data-theme] body.bo .b-head{display:flex;align-items:center;justify-content:space-between;gap:10px;}
:root[data-theme] body.bo .b-head i{font-style:normal;font-size:.78rem;color:var(--g-ink3);}
:root[data-theme] body.bo .bento-empty{border-radius:20px;}
/* share bars in the item table: one clean track and fill */
:root[data-theme] body.bo .page .bar{display:inline-block;width:110px;height:6px;vertical-align:middle;border-radius:999px;border:0;
  background:rgba(20,24,22,.07) !important;overflow:hidden;}
:root[data-theme] body.bo .page .bar > i{display:block;height:100%;min-width:4px;background:var(--c-green) !important;border-radius:999px;
  transform-origin:left;animation:fill-in .9s var(--g-ease) both;}

/* ═══════════════════ the one sign-in page (core/auth.js, .login-v5) ═══════════════════
   Two faces: the café's (features, a turning tip, the card) and the 1718pos
   team's (.lx-adm — the console's own sign-in, redrawn). Both: the console's
   canvas with the café photo washed in, a soft colour glow, glass everywhere. */
:root[data-theme] body.bo .login.login-v5{display:block;padding:0;background:transparent !important;color:var(--g-ink);
  --g-ink:#17191A;--g-ink2:#4F5558;--g-ink3:#8E9497;font-family:'Inter Tight',sans-serif;}
:root[data-theme] body.bo .login.login-v5::before,:root[data-theme] body.bo .login.login-v5::after{display:none;}
.lx{position:relative;min-height:100vh;display:flex;flex-direction:column;isolation:isolate;overflow:hidden;}
/* the background: the café photo, blurred and faded toward the card, a colour
   glow, and a fine dot grid that fades out at the edges */
.lx-art{position:absolute;inset:0;z-index:-1;pointer-events:none;}
.lx-art::before{content:'';position:absolute;left:-8%;top:-10%;width:62%;height:120%;
  background:url("../img/cafe.jpg") center/cover no-repeat;filter:blur(40px) saturate(.9) brightness(1.25);opacity:.22;
  -webkit-mask-image:radial-gradient(70% 60% at 35% 50%,#000 20%,transparent 75%);mask-image:radial-gradient(70% 60% at 35% 50%,#000 20%,transparent 75%);}
.lx-art::after{content:'';position:absolute;inset:0;
  background:radial-gradient(38% 46% at 74% 50%,rgba(158,210,180,.55),transparent 70%),radial-gradient(30% 40% at 86% 30%,rgba(215,207,243,.55),transparent 72%),
             radial-gradient(28% 34% at 66% 78%,rgba(247,212,187,.5),transparent 72%);filter:blur(30px);animation:lx-glow 18s ease-in-out infinite alternate;}
@keyframes lx-glow{to{transform:translate(-2%,2%) scale(1.04);}}
.lx-adm::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:radial-gradient(40% 50% at 72% 48%,rgba(158,210,180,.45),transparent 70%),radial-gradient(35% 45% at 25% 70%,rgba(215,207,243,.45),transparent 72%);filter:blur(30px);}
.lx-top{display:flex;align-items:center;gap:10px;padding:20px 26px;}
.lx-brand,.lx-status,.lx-admin{height:44px;border-radius:999px;display:inline-flex;align-items:center;gap:8px;padding:0 16px;
  background:rgba(255,255,255,.6);border:1px solid rgba(255,255,255,.9);color:var(--g-ink2);font:inherit;font-size:13.5px;
  -webkit-backdrop-filter:blur(20px) saturate(1.5);backdrop-filter:blur(20px) saturate(1.5);}
.lx-brand{cursor:pointer;padding:0 16px 0 12px;color:var(--g-ink);}
.lx-brand .pos-mark{width:20px;height:auto;filter:invert(1) hue-rotate(180deg);}
.lx-brand b{font-weight:500;font-size:14px;} .lx-brand b i{font-style:normal;color:var(--c-green-d);}
.lx-tagc{margin-left:4px;height:22px;padding:0 9px;border-radius:999px;display:inline-flex;align-items:center;font-size:11px;font-weight:500;background:var(--g-ink);color:#fff;}
.lx-status{margin-left:auto;} .lx-status i{width:8px;height:8px;border-radius:50%;background:var(--c-green);box-shadow:0 0 0 4px rgba(78,154,120,.18);
  animation:lx-live 2.4s ease-in-out infinite;}
@keyframes lx-live{50%{box-shadow:0 0 0 7px rgba(78,154,120,.06);}}
.lx-admin{cursor:pointer;color:var(--g-ink);transition:background .25s,transform .3s cubic-bezier(.3,1.5,.5,1);}
.lx-adm .lx-admin{margin-left:auto;}
.lx-admin:hover{background:#fff;transform:translateY(-1px);}
.lx-admin svg,.lx-feat-ic svg,.lx-tip-ic svg,.lx-badge svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
/* two columns: the useful half on the left, the card on the right */
.lx-main{flex:1;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(360px,440px);gap:clamp(30px,6vw,96px);align-items:center;
  width:min(1180px,100%);margin:0 auto;padding:10px 28px 30px;}
.lx-side{max-width:560px;animation:lx-in .7s cubic-bezier(.1,.9,.2,1) both;}
.lx-eyebrow{display:inline-flex;align-items:center;gap:8px;margin:0 0 16px;font-size:12px;font-weight:500;color:var(--g-ink2);
  height:28px;padding:0 12px;border-radius:999px;background:rgba(255,255,255,.6);border:1px solid rgba(255,255,255,.9);}
.lx-eyebrow::before{content:'';width:7px;height:7px;border-radius:50%;background:var(--c-green);}
.lx-side h1{margin:0;font-family:'Inter Tight',sans-serif;font-weight:300;font-size:clamp(40px,4.6vw,64px);line-height:1;letter-spacing:-.05em;color:var(--g-ink);}
.lx-side h1 em{font-style:normal;color:var(--c-green-d);}
.lx-lede{margin:18px 0 26px;font-size:15.5px;line-height:1.55;color:var(--g-ink2);max-width:46ch;}
.lx-feats{display:grid;grid-template-columns:1fr 1fr;gap:10px;}
.lx-feat{display:grid;grid-template-columns:auto 1fr;column-gap:12px;row-gap:2px;align-items:start;padding:14px 16px;border-radius:22px;
  background:rgba(255,255,255,.5);border:1px solid rgba(255,255,255,.85);-webkit-backdrop-filter:blur(18px) saturate(1.4);backdrop-filter:blur(18px) saturate(1.4);
  transition:background .25s,transform .4s cubic-bezier(.1,.9,.2,1);}
.lx-feat:hover{background:rgba(255,255,255,.8);transform:translateY(-2px);}
.lx-feat-ic{grid-row:1 / span 2;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#fff;color:var(--c-green-d);}
.lx-feat b{font-size:14px;font-weight:500;} .lx-feat > span:last-child{font-size:12.5px;line-height:1.4;color:var(--g-ink3);}
.lx-tip{display:flex;align-items:center;gap:12px;margin-top:14px;padding:10px 14px 10px 10px;border-radius:999px;color:#fff;
  background:linear-gradient(100deg,rgba(132,196,164,.85),rgba(78,154,120,.95));box-shadow:inset 0 1px 0 rgba(255,255,255,.35);text-shadow:0 1px 8px rgba(20,50,30,.15);}
.lx-tip-ic{width:30px;height:30px;border-radius:50%;flex:none;display:grid;place-items:center;background:rgba(255,255,255,.22);}
.lx-tip #lxTip{flex:1;font-size:13.5px;}
.lx-tipdots{display:flex;gap:4px;flex:none;} .lx-tipdots i{width:5px;height:5px;border-radius:50%;background:rgba(255,255,255,.4);transition:width .3s,background .3s;}
.lx-tipdots i.on{width:14px;border-radius:3px;background:#fff;}
/* the console's glimpse cards on the team's face */
.lx-glimpse{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:16px;}
.lx-gc{display:flex;flex-direction:column;gap:4px;padding:16px 18px;border-radius:24px;background:rgba(255,255,255,.6);border:1px solid rgba(255,255,255,.9);
  -webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);}
.lx-gc span{font-size:12px;color:var(--g-ink3);} .lx-gc b{font-weight:300;font-size:32px;letter-spacing:-.04em;color:var(--g-ink);}
.lx-gc b small{font-size:12px;font-weight:500;color:inherit;opacity:.7;} .lx-gc i{font-style:normal;font-size:12px;color:var(--g-ink3);}
.lx-gc.dark{background:var(--g-ink);border-color:var(--g-ink);} .lx-gc.dark span,.lx-gc.dark i{color:rgba(255,255,255,.6);} .lx-gc.dark b{color:#fff;}
.lx-gc.green{grid-column:span 1;color:#fff;border:0;background:linear-gradient(140deg,#6DB671,#2F8A50);text-shadow:0 1px 8px rgba(20,50,30,.15);}
.lx-gc.green span{color:rgba(255,255,255,.8);} .lx-gc.green b{color:#fff;}
.lx-gc svg{width:100%;height:30px;} .lx-gc svg path{fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;}
.lx-gc:last-child{grid-column:1 / -1;}
.lx-private{display:inline-flex;align-items:center;gap:8px;margin:0;font-size:12px;color:var(--g-ink3);}
.lx-private i{width:7px;height:7px;border-radius:50%;background:var(--c-green);}
/* the card */
.lx-card{position:relative;width:100%;padding:34px 34px 28px;border-radius:38px;isolation:isolate;
  background:linear-gradient(180deg,rgba(255,255,255,.82) 0%,rgba(255,255,255,.58) 100%);border:1px solid #fff;
  box-shadow:inset 0 1px 1px #fff,inset 0 -1px 1px rgba(255,255,255,.7),inset 0 0 30px rgba(255,255,255,.4);
  -webkit-backdrop-filter:blur(30px) saturate(1.6);backdrop-filter:blur(30px) saturate(1.6);
  animation:lx-in .7s .08s cubic-bezier(.1,.9,.2,1) both;}
.lx-card::before{content:'';position:absolute;left:12%;right:12%;top:8px;height:70px;border-radius:999px;pointer-events:none;z-index:-1;
  background:radial-gradient(60% 100% at 50% 0%,rgba(255,255,255,.95),transparent 70%);opacity:.8;}
@keyframes lx-in{from{opacity:0;transform:translateY(18px) scale(.985);}}
.lx-logo{display:block;height:40px;width:auto;margin:0 auto 20px;filter:invert(1) hue-rotate(180deg);cursor:pointer;}
.lx-badge{display:grid;place-items:center;width:52px;height:52px;margin:0 auto 18px;border-radius:50%;color:#fff;background:var(--g-ink);}
.lx-badge svg{width:22px;height:22px;}
.lx-form{display:flex;flex-direction:column;gap:12px;}
.lx-head{text-align:center;margin-bottom:8px;}
.lx-kick{display:inline-flex;align-items:center;gap:7px;margin:0 0 8px;font-size:12px;color:var(--g-ink3);}
.lx-kick::before{content:'';width:6px;height:6px;border-radius:50%;background:var(--c-green);}
.lx-head h2{margin:0;font-family:'Inter Tight',sans-serif;font-weight:300;font-size:40px;line-height:1;letter-spacing:-.05em;color:var(--g-ink);}
.lx-sub{margin:10px 0 0;font-size:13.5px;color:var(--g-ink3);line-height:1.45;}
.lx-input{position:relative;display:flex;align-items:center;gap:10px;height:54px;padding:0 18px;border-radius:999px;
  background:rgba(255,255,255,.66);border:1px solid rgba(20,24,22,.08);transition:background .25s,border-color .25s,box-shadow .25s;}
.lx-input:focus-within{background:#fff;border-color:var(--c-green);box-shadow:0 0 0 4px rgba(78,154,120,.14);}
.lx-input > svg{width:18px;height:18px;flex:none;fill:none;stroke:var(--g-ink3);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;transition:stroke .25s;}
.lx-input:focus-within > svg{stroke:var(--c-green-d);}
.lx-input input{flex:1;min-width:0;height:100%;border:0;background:transparent;outline:none;font:inherit;font-size:15px;color:var(--g-ink);}
.lx-input input::placeholder{color:var(--g-ink3);}
.lx-input .pw-wrap{flex:1;min-width:0;height:100%;display:flex;align-items:center;gap:6px;position:relative;}
.lx-input .pw-wrap input{flex:1;padding:0 !important;}
.lx-input .pw-eye{position:static !important;transform:none !important;flex:none;width:34px;height:34px;border-radius:50%;border:0;display:grid;place-items:center;
  background:transparent;color:var(--g-ink3);cursor:pointer;transition:background .2s,color .2s;}
.lx-input .pw-eye:hover{background:rgba(20,24,22,.05);color:var(--g-ink);}
.lx-input .pw-eye svg{width:18px;height:18px;}
.lx-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:-2px 4px 2px;}
.lx-row > :only-child{margin-left:auto;}
.lx-adm .lx-row > :only-child{margin:0 auto;}
.lx-link{border:0;background:none;padding:0;font:inherit;font-size:12.5px;color:var(--g-ink2);cursor:pointer;}
.lx-link:hover{color:var(--g-ink);text-decoration:underline;text-underline-offset:3px;}
.lx-go{position:relative;height:56px;margin-top:6px;border:0;border-radius:999px;background:var(--g-ink);color:#fff;font:inherit;font-size:15px;font-weight:500;
  display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .25s,transform .2s;}
.lx-go:hover{background:#2A2D2F;} .lx-go:active{transform:scale(.98);} .lx-go:disabled{opacity:.55;}
.lx-go i{position:absolute;right:6px;top:6px;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:#fff;color:var(--g-ink);
  transition:transform .4s cubic-bezier(.3,1.5,.5,1);}
.lx-go:hover i{transform:translateX(3px) rotate(-8deg);}
.lx-go i svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
.lx-back{display:inline-flex;align-items:center;gap:6px;border:0;background:none;padding:0;font:inherit;font-size:12.5px;color:var(--g-ink2);cursor:pointer;}
.lx-back svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;transition:transform .3s;}
.lx-back:hover{color:var(--g-ink);} .lx-back:hover svg{transform:translateX(-3px);}
.lx-msg{min-height:1.1em;margin:0;text-align:center;font-family:'Inter Tight',sans-serif !important;font-size:13px;letter-spacing:0;text-transform:none;}
.lx-msg.bad{color:#B8501A;} .lx-msg.ok{color:var(--c-green-d);}
.lx-choice{display:flex;flex-direction:column;gap:6px;padding:12px;border-radius:24px;background:rgba(255,255,255,.6);}
.lx-choice[hidden]{display:none !important;}
.lx-choice > span{font-size:12.5px;color:var(--g-ink3);text-align:center;}
.lx-choice button{display:flex;justify-content:space-between;align-items:center;height:46px;padding:0 16px;border:0;border-radius:999px;background:#fff;
  font:inherit;cursor:pointer;transition:transform .3s;} .lx-choice button:hover{transform:translateX(3px);}
.lx-choice b{font-weight:500;font-size:14px;} .lx-choice i{font-style:normal;font-family:var(--mono);font-size:11px;color:var(--g-ink3);}
.lx-dots{display:flex;justify-content:center;gap:12px;margin:6px 0;}
.lx-dots .pin-dot{width:14px;height:14px;border-radius:50%;background:rgba(20,24,22,.1);border:0;transition:background .2s,transform .3s cubic-bezier(.3,1.6,.5,1);}
.lx-dots .pin-dot.on{background:var(--g-ink);transform:scale(1.15);}
.lx-pad{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:4px 6px 8px;}
.lx-pad button{height:58px;border-radius:999px;border:1px solid rgba(255,255,255,.9);background:rgba(255,255,255,.66);font:inherit;font-size:20px;font-weight:300;
  color:var(--g-ink);cursor:pointer;transition:background .2s,transform .15s;}
.lx-pad button:hover{background:#fff;} .lx-pad button:active{transform:scale(.94);}
.lx-pad .pad-clr{font-size:13px;color:var(--g-ink2);} .lx-pad .pad-go{background:var(--g-ink);color:#fff;font-size:14px;font-weight:500;}
.lx-foot{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:0 28px 22px;font-size:12px;color:var(--g-ink3);}
.lx-clock{display:flex;flex-direction:column;gap:4px;}
.lx-clock b{font-size:30px;line-height:1;color:var(--g-ink);}
.lx-help{max-width:46ch;text-align:center;}
@media (max-width:960px){
  .lx-main{grid-template-columns:1fr;justify-items:center;padding-top:0;}
  .lx-side{text-align:center;max-width:520px;} .lx-lede{margin-left:auto;margin-right:auto;}
  .lx-feats,.lx-glimpse,.lx-private{display:none;}
  .lx-side h1{font-size:38px;} .lx-tip{text-align:left;}
  .lx-card{max-width:440px;}
  .lx-help{display:none;}
}
@media (max-width:600px){
  .lx-top{padding:14px;} .lx-status{display:none;} .lx-admin{margin-left:auto;}
  .lx-main{padding:0 14px 20px;gap:18px;} .lx-tip{display:none;} .lx-lede{display:none;}
  .lx-side h1{font-size:30px;}
  .lx-card{padding:28px 20px 22px;border-radius:32px;} .lx-head h2{font-size:34px;}
  .lx-foot{padding:0 16px 16px;} .lx-clock b{font-size:24px;}
}
@media (prefers-reduced-motion:reduce){ .lx-art::after,.lx-status i{animation:none;} }

/* ── smaller screens ──────────────────────────────────────────────────── */
@media (max-width:1180px){
  .ovb-bento,.ovb-bento.lean{grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:none;}
  .ovb-bento .b-money{grid-column:1 / -1;grid-row:auto;min-height:280px;}
  .ovb-bento .b-pass,.ovb-bento.lean .b-pass{grid-column:1 / -1;grid-row:auto;}
  .ovb-bento .b-wait,.ovb-bento .b-do,.ovb-bento.lean .b-wait,.ovb-bento.lean .b-do{grid-column:span 3;grid-row:auto;min-height:200px;}
  .ov-band{grid-template-columns:1fr;}
  .ovb-four{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:760px){
  /* the top bar on a phone: title and account only, on one line */
  :root[data-theme] body.bo .topbar{height:auto;min-height:60px;flex-wrap:nowrap;padding:8px 6px 4px;gap:8px;}
  :root[data-theme] body.bo .topbar h2{font-size:1.6rem;}
  :root[data-theme] body.bo .topbar .crumb,:root[data-theme] body.bo .clock,:root[data-theme] body.bo .who-text,
  :root[data-theme] body.bo .who-caret,:root[data-theme] body.bo #drawerBtn,:root[data-theme] body.bo .guest-link{display:none !important;}
  :root[data-theme] body.bo .kbar-btn{min-width:0;width:44px;padding:0;justify-content:center;}
  :root[data-theme] body.bo .kbar-btn::after,:root[data-theme] body.bo .kbar-btn kbd{display:none;}
  :root[data-theme] body.bo .who-btn{padding:4px;}
  :root[data-theme] body.bo .topbar-right{margin-left:auto;}
  /* the rail becomes a glass tab bar along the bottom */
  :root[data-theme] body.bo .rail{border-radius:28px;}
  :root[data-theme] body.bo .rail-btn span{font-family:'Inter Tight',sans-serif !important;letter-spacing:0 !important;text-transform:none !important;font-size:.68rem !important;}
  :root[data-theme] body.bo .shell{padding:8px;gap:8px;}
  .ovb-figs{width:100%;justify-content:space-between;gap:10px;} .ovb-figs b{font-size:32px;}
  .ovb-figs > div{grid-template-columns:auto;} .ovb-figs .tag{margin-top:6px;justify-self:start;}
  .ovb-bento .b-wait,.ovb-bento .b-do,.ovb-bento.lean .b-wait,.ovb-bento.lean .b-do{grid-column:1 / -1;}
  .ovb-four{grid-template-columns:1fr;} .best{grid-template-columns:1fr;}
  .tl-d em{display:none;} .tl-pill i{display:none;}
  .ov-band{padding:20px 16px;border-radius:30px;} .ov-dhead{flex-wrap:wrap;}
}
@media (prefers-reduced-motion:reduce){ .gb-orbs i,.cash i,.rings i{animation:none;} .cash{display:none;} }

/* ═══════════════════ 1718 Coffee tweaks (on top of the template) ═══════════════════ */

/* The till's table picker: the chosen table is the Quick start "New order"
   green pill (.fxp's gradient), not a white glass bead. */
:root[data-theme] body.bo #tblGrid .lq-ind{display:none;}
:root[data-theme] body.bo #tblGrid.lq > .chip-opt.on,
:root[data-theme] body.bo #tblGrid > .chip-opt.on{
  background:linear-gradient(100deg,rgba(132,196,164,.95) 0%,rgba(96,172,134,1) 38%,rgba(78,154,120,1) 70%,rgba(98,166,136,1) 100%) !important;
  border-color:transparent !important;color:#fff !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.35),inset 0 0 0 1px rgba(255,255,255,.18),0 4px 12px rgba(47,127,87,.22) !important;}
:root[data-theme] body.bo #tblGrid > .chip-opt.on *{color:#fff !important;}

/* Feathered colour cards: the edge is all but invisible, and the colour glows
   just past it — a hair-thin halo of a couple of pixels, far less than the
   template's spread (which washed well outside the card). */
.fx{overflow:visible;box-shadow:inset 0 0 0 1px rgba(255,255,255,.07);}
.fx::before{inset:4px;filter:blur(3px);}
.fx:hover::before{filter:blur(3.5px);transform:none;}
/* Overview › Best sellers: no glow at all — the colour stops at the card's
   edge (drawn past it and clipped), with a barely-there hairline. */
.fx.best-card{overflow:hidden;box-shadow:inset 0 0 0 1px rgba(255,255,255,.14);}
.fx.best-card::before,.fx.best-card:hover::before{inset:-12px;}

/* Overview: "Today so far" is as tall as "On the pass" beside it, with
   "Waiting longest" and "Quick start" sharing the row below. */
@media (min-width:1181px){
  .ovb-bento{grid-template-rows:auto auto;}
  .ovb-bento .b-money{grid-column:1 / span 5;grid-row:1;}
  .ovb-bento .b-pass{grid-column:6 / span 7;grid-row:1;}
  .ovb-bento .b-wait{grid-column:1 / span 5;grid-row:2;min-height:200px;}
  .ovb-bento .b-do{grid-column:6 / span 7;grid-row:2;}
}

/* Reports › Through the day: the busiest hour in the system's green
   gradient, like the cards and the Overview's charts. */
:root[data-theme] body.bo .hour.peak .hour-bar,
:root[data-theme] body.bo .ovh span.on i{background:linear-gradient(180deg,#6DB671 0%,#4DA25E 45%,#2E8A4F 100%);}

/* The rail: only the small pill, a little larger and easier to read — bigger
   icons, names that wrap to two lines instead of being cut short. */
@media (min-width:761px){
  :root[data-theme] body.bo .rail{width:86px;padding:14px 0;gap:3px;}
  :root[data-theme] body.bo .shell:not(.rail-open) .rail-btn{width:72px;min-height:60px;padding:8px 3px 7px;gap:4px;border-radius:26px;}
  :root[data-theme] body.bo .shell:not(.rail-open) .rail-btn svg{width:21px;height:21px;}
  :root[data-theme] body.bo .shell:not(.rail-open) .rail-btn span{font-size:.64rem;font-weight:500;line-height:1.15;max-width:68px;
    white-space:normal;text-align:center;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;}
  :root[data-theme] body.bo .shell:not(.rail-open) .rail-btn.on span{font-weight:600;}
  :root[data-theme] body.bo .shell:not(.rail-open) .rail-logo img{width:46px;height:46px;}
  :root[data-theme] body.bo .rail-badge{min-width:18px;height:18px;font-size:10px;}
}

/* The dot-matrix font for the side figures only — the four beside the
   Overview greeting and the small strips beside a page's title (setFigs()).
   The main tiles keep the plain thin figures, which read better at size.
   (.shell … outranks the template's plain-figure rule, which names .shell .dotnum.) */
:root[data-theme] body.bo .shell .ovb-figs b.dotnum,:root[data-theme] body.bo .shell .pg-figs b{
  font-family:'Doto','Inter Tight',monospace !important;font-weight:600 !important;
  font-variation-settings:'ROND' 100;letter-spacing:-.02em !important;}

/* Inventory › Deactivated: items taken out of use, marked in red so they are
   unmistakable — a red panel edge, a red "Deactivated" chip, softly tinted rows. */
:root[data-theme] body.bo .ing-off-panel{border-color:rgba(214,69,69,.32);background:rgba(214,69,69,.035);}
:root[data-theme] body.bo .ing-off-panel .ing-section-head{color:#B73A3A !important;}
:root[data-theme] body.bo .ing-off-panel .ing-kind-icon{color:#D64545 !important;}
:root[data-theme] body.bo .ing-off-n{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 6px;margin-left:8px;border-radius:999px;
  background:#D64545;color:#fff;font-family:'Inter Tight',sans-serif;font-size:.72rem;font-weight:600;}
:root[data-theme] body.bo .ing-off-chip{background:rgba(214,69,69,.13);color:#B73A3A;border:1px solid rgba(214,69,69,.3);}
:root[data-theme] body.bo .ing-off-row td{background:rgba(214,69,69,.04);}
:root[data-theme] body.bo .ing-off-row td:first-child{box-shadow:inset 3px 0 0 #D64545;}
:root[data-theme] body.bo .ing-off-row td b{color:var(--g-ink2);}

/* Smooth scrolling (see the scroll listener in app.js): only the ENDLESS
   decorative loops pause while the page is moving. Entry animations are left
   alone so a card fading in never freezes half-visible. Nothing is removed. */
body.bo.is-scrolling .gb-orbs i,
body.bo.is-scrolling .cash i,
body.bo.is-scrolling .rings i,
body.bo.is-scrolling .g-bead-h,
body.bo.is-scrolling .ovb-load i,
body.bo.is-scrolling .mon-dot,
body.bo.is-scrolling .live-dot,
body.bo.is-scrolling .lane-n.hot,
body.bo.is-scrolling .ocard.late::before,
body.bo.is-scrolling .kds-ticket.age-3{animation-play-state:paused;}

/* Order cards: one clean edge. A late card used to draw a second ring in a
   ::before with the old 14px corners around a 24px card, so the two outlines
   drifted apart at every corner. Now the card keeps a single hairline (orange
   when late) and the "late" pulse is a soft halo on the card's own corners. */
:root[data-theme] body.bo .ocard{border:1px solid rgba(255,255,255,.95);box-shadow:0 1px 2px rgba(20,24,22,.04);}
:root[data-theme] body.bo .ocard:hover{border-color:#fff;box-shadow:0 6px 18px rgba(20,24,22,.06);}
:root[data-theme] body.bo .ocard.late{border-color:rgba(238,122,47,.42);}
:root[data-theme] body.bo .ocard.late::before{inset:-1px;border-radius:inherit;opacity:1;
  box-shadow:0 0 0 3px rgba(238,122,47,.13);animation:nag 2.6s var(--g-ease) infinite;}
:root[data-theme] body.bo .ocard-dest{border-color:rgba(20,24,22,.08);}

/* Reports › Export data: quick ranges, two typeable dates, three formats */
.xp{gap:14px;}
.xp-picks{display:flex;flex-wrap:wrap;gap:6px;}
.xp-picks button{border:1px solid var(--g-line2);background:rgba(255,255,255,.6);border-radius:999px;padding:7px 13px;
  font:inherit;font-size:13px;color:var(--g-ink2);cursor:pointer;transition:background .2s,color .2s,border-color .2s;}
.xp-picks button:hover{background:#fff;}
.xp-picks button.on{background:var(--g-ink);border-color:var(--g-ink);color:#fff;}
.xp-dates{display:grid;grid-template-columns:1fr auto 1fr;align-items:end;gap:10px;}
.xp-dates .field{margin:0;}
.xp-arrow{padding-bottom:12px;color:var(--g-ink3);}
.xp-range{margin:-4px 0 2px;color:var(--g-ink3);}
.xp-ways{display:grid;gap:8px;}
.xp-way{display:flex;flex-direction:column;align-items:flex-start;gap:3px;text-align:left;padding:13px 16px;border-radius:18px;
  border:1px solid var(--g-line2);background:rgba(255,255,255,.7);font:inherit;cursor:pointer;transition:background .2s,transform .3s var(--g-ease),border-color .2s;}
.xp-way:hover{background:#fff;border-color:rgba(46,138,79,.45);transform:translateY(-1px);}
.xp-way b{font-size:14px;font-weight:600;color:var(--g-ink);}
.xp-way span{font-size:12px;color:var(--g-ink3);line-height:1.45;}
.xp-way:disabled{opacity:.55;cursor:wait;transform:none;}
.xp-way.busy b::after{content:' · preparing…';font-weight:400;color:var(--c-green-d);}
@media (max-width:520px){ .xp-dates{grid-template-columns:1fr;} .xp-arrow{display:none;} }

/* Kitchen: a new order nobody has started yet — dashed, with a lime flag */
:root[data-theme] body.bo .kds-ticket.kt-new{border-style:dashed;border-color:rgba(20,24,22,.18);}
:root[data-theme] body.bo .kt-flag{margin-left:auto;margin-right:8px;padding:2px 9px;border-radius:999px;background:var(--c-lime);
  color:#2B3A12;font-size:11px;font-weight:500;font-family:'Inter Tight',sans-serif;letter-spacing:0;white-space:nowrap;}

/* Top-bar "Monitoring on" badge — shown to everyone while the owner has the
   counter feed switched on. Deliberately not quiet: staff should notice it. */
:root[data-theme] body.bo .mon-flag{display:inline-flex;align-items:center;gap:7px;padding:6px 12px;border-radius:999px;
  background:rgba(238,122,47,.12);border:1px solid rgba(238,122,47,.4);color:#B4531A;
  font-family:'Inter Tight',sans-serif;font-size:.74rem;font-weight:600;white-space:nowrap;}
:root[data-theme] body.bo .mon-flag.hidden{display:none;}
:root[data-theme] body.bo .mon-dot{width:8px;height:8px;border-radius:50%;background:#EE7A2F;box-shadow:0 0 0 0 rgba(238,122,47,.5);
  animation:mon-pulse 1.8s ease-out infinite;}
@keyframes mon-pulse{0%{box-shadow:0 0 0 0 rgba(238,122,47,.5);}70%{box-shadow:0 0 0 7px rgba(238,122,47,0);}100%{box-shadow:0 0 0 0 rgba(238,122,47,0);}}

/* Monitoring screen */
:root[data-theme] body.bo .mon-note{margin:0 0 16px;padding:14px 18px;border-radius:20px;
  background:rgba(238,122,47,.07);border:1px solid rgba(238,122,47,.22);color:var(--g-ink2);line-height:1.6;font-size:.9rem;}
:root[data-theme] body.bo .mon-note b{color:var(--g-ink);}
:root[data-theme] body.bo .mon-stage{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:16px;align-items:start;}
:root[data-theme] body.bo .mon-video-wrap{position:relative;border-radius:24px;overflow:hidden;background:#0C0F0E;
  aspect-ratio:16/9;border:1px solid var(--g-edge);}
:root[data-theme] body.bo .mon-video{width:100%;height:100%;object-fit:cover;display:block;transform:scaleX(-1);}
:root[data-theme] body.bo .mon-live{position:absolute;top:14px;left:14px;display:inline-flex;align-items:center;gap:8px;
  padding:6px 12px;border-radius:999px;background:rgba(12,15,14,.6);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
  color:#fff;font-family:'Inter Tight',sans-serif;font-size:.74rem;font-weight:600;letter-spacing:.04em;}
:root[data-theme] body.bo .mon-live.hidden{display:none;}
:root[data-theme] body.bo .mon-live i{width:8px;height:8px;border-radius:50%;background:#FF4B3E;animation:mon-pulse 1.4s ease-out infinite;}
:root[data-theme] body.bo .mon-live span{font-family:var(--mono);opacity:.85;}
:root[data-theme] body.bo .mon-fallback{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;
  justify-content:center;gap:12px;color:rgba(255,255,255,.8);text-align:center;padding:24px;}
:root[data-theme] body.bo .mon-fallback.hidden{display:none;}
:root[data-theme] body.bo .mon-fallback p{max-width:38ch;line-height:1.55;font-size:.9rem;}
:root[data-theme] body.bo .mon-side{display:flex;flex-direction:column;gap:12px;}
:root[data-theme] body.bo .mon-meter{display:flex;flex-direction:column;gap:6px;}
:root[data-theme] body.bo .mon-meter-bar{height:8px;border-radius:999px;background:rgba(20,24,22,.08);overflow:hidden;}
:root[data-theme] body.bo .mon-meter-bar i{display:block;height:100%;width:0;border-radius:999px;
  background:linear-gradient(90deg,#6DB671,#4DA25E 60%,#EE7A2F);transition:width .1s linear;}
:root[data-theme] body.bo .mon-hint{color:var(--g-ink3);line-height:1.5;font-size:.72rem;}
:root[data-theme] body.bo .mon-later{margin-top:4px;padding:14px 16px;border-radius:18px;background:var(--g-glass);border:1px solid var(--g-edge);}
:root[data-theme] body.bo .mon-later b{font-size:.82rem;}
:root[data-theme] body.bo .mon-later ul{margin:8px 0 0;padding-left:18px;color:var(--g-ink3);font-size:.82rem;line-height:1.7;}
@media (max-width:760px){ :root[data-theme] body.bo .mon-stage{grid-template-columns:1fr;} }
:root[data-theme] body.bo .mon-live span{font-family:var(--mono);opacity:.85;}
:root[data-theme] body.bo .mon-live #monWho{opacity:1;font-family:'Inter Tight',sans-serif;}
/* the live-staff list */
:root[data-theme] body.bo .mon-devs{border-radius:18px;background:var(--g-glass);border:1px solid var(--g-edge);padding:12px;}
:root[data-theme] body.bo .mon-devs-head{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:8px;}
:root[data-theme] body.bo .mon-devs-head b{font-size:.9rem;}
:root[data-theme] body.bo .mon-devs-head span{color:var(--g-ink3);font-size:.72rem;}
:root[data-theme] body.bo .mon-dev{display:flex;align-items:center;gap:10px;width:100%;text-align:left;padding:10px 12px;margin-bottom:6px;
  border-radius:14px;border:1px solid var(--g-line);background:rgba(255,255,255,.6);font:inherit;cursor:pointer;transition:background .2s,border-color .2s;}
:root[data-theme] body.bo .mon-dev:last-child{margin-bottom:0;}
:root[data-theme] body.bo .mon-dev:hover{background:#fff;}
:root[data-theme] body.bo .mon-dev.on{border-color:rgba(238,122,47,.5);background:rgba(238,122,47,.07);}
:root[data-theme] body.bo .mon-dev-dot{width:8px;height:8px;border-radius:50%;background:#FF4B3E;flex:none;animation:mon-pulse 1.5s ease-out infinite;}
:root[data-theme] body.bo .mon-dev-main{display:flex;flex-direction:column;min-width:0;flex:1;}
:root[data-theme] body.bo .mon-dev-main b{font-size:.9rem;font-weight:500;}
:root[data-theme] body.bo .mon-dev-main i{font-style:normal;font-size:.72rem;color:var(--g-ink3);text-transform:capitalize;}
:root[data-theme] body.bo .mon-dev-go{font-size:.74rem;color:var(--c-green-d);font-weight:600;}
:root[data-theme] body.bo .mon-dev-now{font-size:.72rem;color:#B4531A;font-weight:600;}
:root[data-theme] body.bo .mon-off{max-width:620px;padding:22px;border-radius:22px;background:var(--g-glass);border:1px solid var(--g-edge);color:var(--g-ink2);line-height:1.6;}
:root[data-theme] body.bo .mon-turn{margin:6px 0;padding:12px 14px;border-radius:16px;background:rgba(20,24,22,.03);border:1px solid var(--g-line);}
:root[data-theme] body.bo .mon-turn summary{cursor:pointer;font-weight:500;font-size:.86rem;}
:root[data-theme] body.bo .mon-turn .field{margin-top:8px;}

/* The staff permission gate — blocks the till until camera + mic are allowed. */
.mon-gate{position:fixed;inset:0;z-index:2000;display:grid;place-items:center;padding:24px;
  background:rgba(8,12,11,.78);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);}
.mon-gate-card{max-width:420px;text-align:center;background:#fff;color:#14201C;border-radius:28px;padding:34px 30px;
  display:flex;flex-direction:column;align-items:center;gap:12px;box-shadow:0 30px 80px rgba(0,0,0,.4);}
.mon-gate-card svg{color:#2E8A4F;}
.mon-gate-card h2{font-size:1.5rem;font-weight:600;}
.mon-gate-card p{color:#4F5558;line-height:1.6;font-size:.95rem;}
.mon-gate-card .btn{margin-top:6px;}

/* Loyalty member cards (the Settings › People card, with a points figure) */
:root[data-theme] body.bo .lm-pts{grid-column:1 / -1;display:flex;align-items:baseline;gap:8px;margin:2px 0 0;}
:root[data-theme] body.bo .lm-pts b{font-family:'Doto','Inter Tight',monospace !important;font-weight:600;font-size:34px;line-height:1;
  font-variation-settings:'ROND' 100;letter-spacing:-.02em;color:var(--g-ink);}
:root[data-theme] body.bo .lm-pts small{font-size:12px;color:var(--g-ink3);}
:root[data-theme] body.bo .lm-card .team-foot{flex-wrap:wrap;row-gap:6px;}

/* ═══════════════════ Phones (≤760px) ═══════════════════ */
@media (max-width:760px){
  /* The tab bar along the bottom: one slim row that scrolls sideways, names
     on one line, the count a small tag on the icon's corner. */
  :root[data-theme] body.bo .rail,:root[data-theme] body.bo .shell.rail-open .rail{
    margin:0 8px calc(8px + env(safe-area-inset-bottom));padding:5px;gap:2px;border-radius:24px;
    overflow-x:auto;overflow-y:hidden;scrollbar-width:none;scroll-snap-type:x proximity;
    -webkit-mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 26px),transparent);
            mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 26px),transparent);}
  :root[data-theme] body.bo .rail::-webkit-scrollbar{display:none;}
  :root[data-theme] body.bo .rail-btn,:root[data-theme] body.bo .shell.rail-open .rail-btn{
    flex:0 0 66px;min-width:66px;min-height:52px;padding:7px 3px 6px;gap:3px;border-radius:19px;scroll-snap-align:start;}
  :root[data-theme] body.bo .rail-btn svg{width:20px;height:20px;flex:none;}
  /* the chosen tab is a white pill around icon and name, not a square behind the icon */
  :root[data-theme] body.bo .rail-btn.on,:root[data-theme] body.bo .shell.rail-open .rail-btn.on{
    background:#fff !important;box-shadow:0 3px 10px rgba(20,24,22,.1) !important;}
  :root[data-theme] body.bo .rail-btn.on svg,:root[data-theme] body.bo .shell.rail-open .rail-btn.on svg{background:none !important;}
  :root[data-theme] body.bo .rail-btn span{display:block;max-width:62px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
    font-size:.64rem !important;line-height:1.1;font-weight:500;}
  :root[data-theme] body.bo .rail-btn.on span{font-weight:600;}
  :root[data-theme] body.bo .rail-badge,:root[data-theme] body.bo .shell.rail-open .rail-badge{
    top:3px;left:calc(50% + 3px);right:auto;transform:none;min-width:0;height:15px;padding:0 5px;
    font-size:9px;line-height:15px;border-radius:999px;box-shadow:0 0 0 2px rgba(255,255,255,.9);}

  /* New order: one scrolling column instead of three squeezed panes —
     categories pinned at the top, the whole grid, then the ticket, with the
     total and Confirm pinned to the bottom so they are always in reach. */
  :root[data-theme] body.bo .pos{display:flex;flex-direction:column;overflow-y:auto;overflow-x:hidden;min-height:0;height:100%;
    padding:0 2px;gap:0;overscroll-behavior:contain;}
  :root[data-theme] body.bo .cats{position:sticky;top:0;z-index:5;flex:none;padding:6px 4px 8px;gap:4px;
    border:0;border-radius:0;background:var(--bg);scrollbar-width:none;}
  :root[data-theme] body.bo .cats::-webkit-scrollbar{display:none;}
  :root[data-theme] body.bo .cat{padding:8px 14px;min-height:0;}
  :root[data-theme] body.bo .cat b{font-size:.86rem;}
  :root[data-theme] body.bo .cat i{font-size:.66rem;}
  :root[data-theme] body.bo .grid-wrap{flex:none;min-height:0;overflow:visible;border:0;}
  :root[data-theme] body.bo .grid-head{padding:4px 4px 10px;border:0;gap:10px;}
  :root[data-theme] body.bo .grid-head .search{flex:1;min-width:0;}
  :root[data-theme] body.bo .grid{overflow:visible;height:auto;flex:none;padding:0 4px 14px;gap:10px;
    grid-template-columns:repeat(2,minmax(0,1fr));}
  :root[data-theme] body.bo .tile{min-width:0;}
  :root[data-theme] body.bo .tile-shot{height:104px;}
  :root[data-theme] body.bo .ticket{display:contents;}
  :root[data-theme] body.bo .ticket-head{flex:none;margin:0 4px;padding:16px 14px;gap:12px;
    border-radius:26px 26px 0 0;background:rgba(255,255,255,.78);border:1px solid #fff;border-bottom:1px dashed var(--g-line2);}
  :root[data-theme] body.bo .lines{flex:none;min-height:96px;margin:0 4px;padding:8px;background:rgba(255,255,255,.78);
    border-left:1px solid #fff;border-right:1px solid #fff;}
  :root[data-theme] body.bo .ticket-foot{flex:none;margin:0 4px;padding:12px 14px 14px;background:rgba(255,255,255,.78);
    border:1px solid #fff;border-top:1px dashed var(--g-line2);border-radius:0 0 26px 26px;}
  :root[data-theme] body.bo .ticket-foot:empty{display:none;}
  :root[data-theme] body.bo .ticket-close{position:sticky;bottom:0;z-index:6;margin:12px 0 0;margin-top:auto;padding:10px 12px 12px;gap:8px;
    border-radius:24px 24px 0 0;border:1px solid #fff;border-bottom:0;background:rgba(250,251,250,.96);
    box-shadow:0 -8px 24px rgba(20,24,22,.08);-webkit-backdrop-filter:blur(18px) saturate(1.4);backdrop-filter:blur(18px) saturate(1.4);}
  :root[data-theme] body.bo .ticket-close .sums{gap:4px;}
  :root[data-theme] body.bo .ticket-close .sum{font-size:.8rem;}
  :root[data-theme] body.bo .ticket-close .sum.total span:last-child{font-size:1.4rem;}
  :root[data-theme] body.bo .ticket-close .btn-accent{min-height:46px;}
  :root[data-theme] body.bo .ticket-actions{gap:6px;}
  /* the type switch: four choices fit one row at phone width */
  :root[data-theme] body.bo .ticket-head .types{gap:2px;}
  :root[data-theme] body.bo .ticket-head .type-btn{padding:9px 2px;font-size:.78rem;min-width:0;}
  /* tables: an even grid of round-ish buttons rather than loose text */
  :root[data-theme] body.bo #tblGrid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;}
  :root[data-theme] body.bo #tblGrid > .chip-opt{min-width:0;justify-content:center;padding:8px 0;border-radius:14px;
    background:rgba(20,24,22,.04);}
  :root[data-theme] body.bo .ticket-who{grid-template-columns:1fr;}

  /* Overview: the four figures beside the greeting sit two by two */
  :root[data-theme] body.bo .ovb-figs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 14px;width:100%;}
  :root[data-theme] body.bo .ovb-figs > div{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:4px;}
  :root[data-theme] body.bo .ovb-figs > div > *{margin-top:0 !important;margin-bottom:0 !important;}
  :root[data-theme] body.bo .ovb-figs b{font-size:34px !important;line-height:1;white-space:nowrap;}
  :root[data-theme] body.bo .ovb-figs .tag{margin:0;}
  :root[data-theme] body.bo .ovb-figs span{font-size:.8rem;line-height:1.3;}
  /* the page figure strips (Happy hour, Loyalty…) likewise */
  :root[data-theme] body.bo .pg-figs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 14px;}
  :root[data-theme] body.bo .pg-figs > *{min-width:0;}
  :root[data-theme] body.bo .pg-figs b{font-size:30px !important;}

  /* tab rows (Inventory, Accounts…) scroll sideways instead of breaking onto
     a second line */
  :root[data-theme] body.bo .gtabs{flex-wrap:nowrap !important;overflow-x:auto;max-width:100%;scrollbar-width:none;}
  :root[data-theme] body.bo .gtabs::-webkit-scrollbar{display:none;}
  :root[data-theme] body.bo .gtabs > button{flex:none;}
  /* Menu: search on its own row, the count and Add item beneath it */
  :root[data-theme] body.bo .mgr-head{flex-wrap:wrap;row-gap:8px;height:auto !important;min-height:0;flex:none;padding-bottom:10px;}
  :root[data-theme] body.bo .mgr-head .search{flex:1 1 100%;min-width:0;}
  /* wide tables scroll inside their panel rather than spilling past it */
  :root[data-theme] body.bo .panel > table.data:not(.staff-table){display:block;overflow-x:auto;max-width:100%;}
  /* the staff-style tables keep their columns but fit the width: a status chip
     drops under the name, the row's buttons stack at the right */
  :root[data-theme] body.bo .staff-table{width:100%;}
  :root[data-theme] body.bo .staff-table td:first-child .chip{display:table;margin:6px 0 0 !important;}
  :root[data-theme] body.bo .staff-table td:last-child{white-space:normal;text-align:right;}
  :root[data-theme] body.bo .staff-table td:last-child .btn{display:flex;margin:0 0 6px auto;}
  :root[data-theme] body.bo .staff-table td:last-child .btn:last-child{margin-bottom:0;}
  /* That table class is shared: the rule dropping columns 3–4 was written for
     the accounts list, and on Tables it hid Rename/Retire, on Pay later the
     Total. Those two get their columns back (Pay later drops Type and Placed). */
  :root[data-theme] body.bo .staff-table:has(thead th:nth-child(4):last-child) :is(th,td):nth-child(n),
  :root[data-theme] body.bo .staff-table:has(thead th:nth-child(7)) :is(th,td):nth-child(n){display:table-cell;}
  :root[data-theme] body.bo .staff-table:has(thead th:nth-child(7)) :is(th,td):is(:nth-child(3),:nth-child(5)){display:none;}
  :root[data-theme] body.bo .staff-table:has(thead th:nth-child(7)){display:block !important;overflow-x:auto;white-space:nowrap;}
  :root[data-theme] body.bo .staff-table:has(thead th:nth-child(7)) td:last-child .btn{display:inline-flex;margin:0;}
}
