/* Order status screen — the three approved designs (docs/design/order-status, commits d999d08 + 7cbb6a1) on one engine.
   The stage is drawn at 1920×1080 (or 1080×1920) and scaled to the screen, so a TV, a tablet and the station app all show
   the mockup pixel for pixel. Items are absolutely placed by status.js and glide between places (FLIP); nothing blinks. */
@import url(fonts.css);
:root{--ink:#111111;--text:#1D1D1F;--muted:#6E6E73;--faint:#AEAEB2;--card:#F5F5F7;--line:#E5E5EA;--hi:#111111;--hi-soft:#E5E5EA;--navy:#1B365D}
*{box-sizing:border-box;margin:0;padding:0}
html,body{width:100%;height:100%;overflow:hidden;background:var(--bg,#F5F5F7)}
body{font-family:Inter,system-ui,-apple-system,sans-serif;font-optical-sizing:auto;letter-spacing:-.011em;-webkit-font-smoothing:antialiased;font-feature-settings:"cv11" 1;cursor:none}
body.pointer{cursor:auto}
#stage{position:absolute;left:0;top:0;transform-origin:0 0;overflow:hidden;color:var(--fg)}
#stage::before{content:"";position:absolute;inset:0;pointer-events:none;transition:opacity .8s}
.he,[lang=he] .lbl{font-family:"Noto Sans Hebrew",Inter,sans-serif;letter-spacing:0}
.num{font-weight:700;letter-spacing:-.055em;line-height:.8;font-feature-settings:"tnum" 0,"cv11" 1;direction:ltr;unicode-bidi:isolate;white-space:nowrap}
.tn{font-variant-numeric:tabular-nums;unicode-bidi:isolate}
.n{position:absolute;left:0;top:0;transform-origin:0 0}
.n.anim{transition:transform .62s cubic-bezier(.22,1,.36,1),opacity .4s ease}
.n.gone{opacity:0!important;transition:opacity .32s ease,transform .32s ease}
.n.enter{opacity:0}
.ic{width:1em;height:1em;flex:none;display:block}
.bar{overflow:hidden}.bar b{display:block;height:100%;transition:width 1s linear}

/* ---------- header (all designs) ---------- */
.hd{display:flex;align-items:center;justify-content:space-between;height:60px}
.brand{display:flex;align-items:baseline;gap:20px;white-space:nowrap}
.brand .wm{font-size:44px;font-weight:700;letter-spacing:-.045em;line-height:1}
.brand .hb{font-size:27px;font-weight:600;color:var(--muted)}
.hr{display:flex;align-items:center;gap:30px;font-size:28px;font-weight:500;white-space:nowrap}
.hr .clock{font-size:40px;font-weight:600;letter-spacing:-.02em}
.hr .busy{display:flex;align-items:center;gap:14px;font-weight:600;height:60px;padding:0 26px;border-radius:999px}
.hr .busy i,.hr .off i{width:12px;height:12px;border-radius:50%;display:inline-block}
.hr .off{display:flex;align-items:center;gap:12px;font-size:22px;font-weight:600;height:44px;padding:0 18px;border-radius:999px}
.hr .off i{animation:breathe 2.4s ease-in-out infinite}
@keyframes breathe{50%{opacity:.35}}
.sect{display:flex;align-items:baseline;gap:22px;white-space:nowrap}
.sect h2{font-size:62px;font-weight:700;letter-spacing:-.04em;line-height:1}
.sect .sub{font-size:30px;font-weight:500}
.sect .r{margin-inline-start:auto;font-size:30px;font-weight:500}
.sect .r b{font-weight:600}
.hint{font-size:34px;font-weight:500;line-height:1.35;text-align:center;display:flex;align-items:center;justify-content:center}

/* ---------- empty screen ---------- */
.empty{text-align:center}
.empty .wm{font-size:150px;font-weight:700;letter-spacing:-.05em;line-height:1}
.empty .hb{font-size:56px;font-weight:600;margin-top:24px}
.empty .l1{margin-top:96px;font-size:46px;font-weight:600;letter-spacing:-.025em}
.empty .l2{margin-top:18px;font-size:32px;font-weight:500}
.empty .l2 b{font-weight:600}

/* =====================================================================================================
   EVENING (dir-3) — dark is the base; .theme-light overrides (exactly the mockup's <style id="light"> block)
   ===================================================================================================== */
.design-evening{--bg:#0A0A0B;--fg:#F5F5F7;background:#0A0A0B;color:#F5F5F7;--icbg:#0A0A0B}
.design-evening::before{background:radial-gradient(ellipse 900px 500px at 8% -12%,rgba(255,255,255,.05),transparent 70%)}
.design-evening.o-port::before{background:radial-gradient(ellipse 900px 500px at 8% -12%,rgba(255,255,255,.05),transparent 70%)}
.design-evening.is-empty::before{background:radial-gradient(ellipse 1400px 700px at 50% -20%,rgba(255,255,255,.07),transparent 72%)}
.design-evening .brand .wm{color:#fff}.design-evening .brand .hb{color:#8E8E93}
.design-evening .hr{color:#8E8E93}.design-evening .hr .clock{color:#fff}
.design-evening .hr .busy{color:#fff;background:rgba(255,255,255,.12);box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.28)}
.design-evening .hr .busy i{background:#fff}
.design-evening .hr .off{color:#AEAEB2;background:rgba(255,255,255,.06)}.design-evening .hr .off i{background:#AEAEB2}
.design-evening .sect h2{color:#fff}.design-evening .sect .sub,.design-evening .sect .r{color:#8E8E93}.design-evening .sect .r b{color:#fff}
.design-evening .hint{color:#6E6E73}
.design-evening .empty .wm{color:#fff}.design-evening .empty .hb{color:#8E8E93}.design-evening .empty .l1{color:#fff}.design-evening .empty .l2{color:#A1A1A6}.design-evening .empty .l2 b{color:#fff}
/* pass = the twin of the kiosk ticket */
.pw .glow{position:absolute;pointer-events:none;opacity:0;transition:opacity 1.2s ease}
.pw.just .glow{opacity:1}
.pass{position:absolute;inset:0;overflow:hidden;background:linear-gradient(180deg,#232325 0%,#19191B 100%)}
.pass .lit{position:absolute;inset:0;opacity:0;transition:opacity 10s linear;background:linear-gradient(165deg,#FFFFFF 0%,#F5F5F7 60%,#E5E5EA 100%)}
.pw.just .pass .lit{opacity:1;transition:opacity .5s ease}
.pass .lab{position:absolute;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:#8E8E93;transition:color 1s}
.pass .ago{position:absolute;font-weight:500;color:#8E8E93;transition:color 1s}
.pass .num{position:absolute;color:#fff;transition:color 1s}
.pass .perf{position:absolute;border-top:3px dotted rgba(255,255,255,.14)}
.pass .st{position:absolute;display:flex;align-items:center;font-weight:600;letter-spacing:-.02em;color:#fff;white-space:nowrap}
.pass .st .ic{color:#fff;--icbg:#1C1C1E}
.pulse{border-radius:50%;background:#fff;flex:none}
.pw.just .lab,.pw.just .ago{color:#6E6E73}
.pw.just .perf{border-color:rgba(0,0,0,.18)}
.design-evening:not(.theme-light) .pw.just .pass .num,.design-evening:not(.theme-light) .pw.just .pass .st,.design-evening:not(.theme-light) .pw.just .pass .st .ic{color:#111111;--icbg:#FFFFFF}
.design-evening:not(.theme-light) .pw.just .pulse{background:#111111!important;box-shadow:0 0 0 6px rgba(0,0,0,.12)!important}
.pw .ghost{position:absolute;inset:0;border-radius:40px;box-shadow:inset 0 0 0 2px #2A2A2D;display:flex;align-items:center;justify-content:center;text-align:center;padding:40px;font-size:30px;line-height:1.35;color:#6E6E73;font-weight:500}
/* still at the counter */
.still{border-radius:40px;box-shadow:inset 0 0 0 2px #2A2A2D}
.still .lab{font-size:26px;line-height:1.3;color:#8E8E93;font-weight:500}
.si .num{color:#D1D1D6}
.si .m{color:#8E8E93;font-weight:500}
.si.sep{border-top:1.5px solid #2A2A2D}
.si.row{display:flex;align-items:baseline;justify-content:space-between}
/* preparing = live capsules */
.cap{position:absolute;inset:0;background:rgba(30,30,32,.92);box-shadow:inset 0 0 0 1px rgba(255,255,255,.04)}
.cap .num{position:absolute;color:#fff;letter-spacing:-.045em}
.cap .line{position:absolute;font-weight:600;color:#fff;letter-spacing:-.015em;white-space:nowrap}
.cap .line small{color:#8E8E93;font-weight:500;letter-spacing:0;margin-inline-end:8px}
.cap .bar{position:absolute;background:#2E2E31}
.cap .bar b{background:linear-gradient(90deg,#BDBDC2,#F5F5F7)}
.cap .tick{position:absolute;width:12px;height:12px;border-radius:50%;background:#fff;box-shadow:0 0 0 6px rgba(255,255,255,.2)}
.cap.q .num{color:#C7C7CC}.cap.q .line{color:#AEAEB2;font-weight:500}.cap.q .bar b{background:#5A5A5F}
.cap.al .line{color:#fff;font-weight:700}.cap.al .bar b{background:linear-gradient(90deg,#8E8E93,#FFFFFF)}
.more{display:flex;align-items:center;justify-content:center;color:#8E8E93;font-size:24px;font-weight:500;box-shadow:inset 0 0 0 2px #2A2A2D;width:100%;height:100%}
.qside h3{font-size:42px;font-weight:700;color:#fff;letter-spacing:-.035em}
.qside .ord{font-size:34px;color:#8E8E93;font-weight:500;line-height:1.35}
.qside .ord b{display:block;font-size:84px;color:#fff;font-weight:700;letter-spacing:-.045em;margin-top:6px}
.pfoot{font-size:30px;color:#8E8E93;font-weight:500;text-align:center}.pfoot b{color:#fff;font-weight:600}

/* ----- Evening · light ----- */
.design-evening.theme-light{--bg:#F5F5F7;--fg:#1D1D1F;background:#F5F5F7;color:#1D1D1F;--icbg:#FFFFFF}
.design-evening.theme-light::before{background:radial-gradient(ellipse 1200px 600px at 12% -18%,rgba(255,255,255,.75),transparent 70%)}
.design-evening.theme-light.is-empty::before{background:radial-gradient(ellipse 1200px 600px at 12% -18%,rgba(255,255,255,.75),transparent 70%)}
.theme-light .brand .wm{color:#1D1D1F}.theme-light .brand .hb{color:var(--muted)}
.theme-light .hr{color:var(--muted)}.theme-light .hr .clock{color:#1D1D1F}
.theme-light .hr .busy{color:#111111;background:#E5E5EA;box-shadow:inset 0 0 0 1.5px rgba(0,0,0,.08)}
.theme-light .hr .busy i{background:#111111}
.theme-light .hr .off{color:var(--muted);background:rgba(0,0,0,.04)}.theme-light .hr .off i{background:var(--muted)}
.theme-light .sect h2{color:#1D1D1F}.theme-light .sect .sub,.theme-light .sect .r{color:var(--muted)}.theme-light .sect .r b{color:#1D1D1F}
.theme-light .hint{color:var(--muted)}
.theme-light .empty .wm{color:#1D1D1F}.theme-light .empty .hb{color:var(--muted)}.theme-light .empty .l1{color:#1D1D1F}.theme-light .empty .l2{color:var(--muted)}.theme-light .empty .l2 b{color:#1D1D1F}
.pwi{position:absolute;inset:0}
.theme-light .pw .pwi{filter:drop-shadow(0 0 .7px rgba(0,0,0,.22)) drop-shadow(0 2px 2px rgba(0,0,0,.035))}
.theme-light .pw.just .pwi{filter:none}
.theme-light .pass{background:#FFFFFF}
.theme-light .pass .lit{background:linear-gradient(165deg,#2C2C2E 0%,#1D1D1F 55%,#111111 100%)}
.theme-light .pass .lab,.theme-light .pass .ago{color:var(--muted)}
.theme-light .pass .num{color:#1D1D1F}
.theme-light .pass .perf{border-top-color:#D1D1D6}
.theme-light .pass .st{color:var(--navy)}
.theme-light .pass .st .ic{color:var(--navy);--icbg:#FFFFFF}
.theme-light .pw.just .num,.theme-light .pw.just .st{color:#fff}
.theme-light .pw.just .lab,.theme-light .pw.just .ago{color:rgba(255,255,255,.80)}
.theme-light .pw.just .perf{border-top-color:rgba(255,255,255,.38)}
.theme-light .pw .ghost{box-shadow:inset 0 0 0 1.5px #E5E5EA;color:var(--muted);background:rgba(255,255,255,.35)}
.theme-light .still{background:rgba(255,255,255,.5);box-shadow:inset 0 0 0 1.5px #E5E5EA}
.theme-light .still .lab{color:var(--muted)}
.theme-light .si .num{color:#48484A}.theme-light .si .m{color:var(--muted)}
.theme-light .si.sep{border-top-color:#E5E5EA}
.theme-light .cap{background:#FFFFFF;box-shadow:0 0 0 1px var(--line),0 1px 2px rgba(0,0,0,.04),0 10px 22px -12px rgba(0,0,0,.10)}
.theme-light .cap .num,.theme-light .cap .line{color:#1D1D1F}
.theme-light .cap .line small{color:var(--muted)}
.theme-light .cap .bar{background:#E5E5EA}
.theme-light .cap .bar b{background:linear-gradient(90deg,#2C4A75,var(--navy))}
.theme-light .cap.q{background:rgba(255,255,255,.55);box-shadow:inset 0 0 0 1px var(--line)}
.theme-light .cap.q .num{color:#8E8E93}.theme-light .cap.q .line{color:var(--muted)}.theme-light .cap.q .bar b{background:#C7C7CC}
.theme-light .cap.al .line{color:#111111;font-weight:700}
.theme-light .cap.al .bar b{background:linear-gradient(90deg,#6E6E73,#111111)}
.theme-light .cap .tick{background:#111111;box-shadow:0 0 0 6px rgba(0,0,0,.10)}
.theme-light .more{color:var(--muted);box-shadow:inset 0 0 0 1.5px #E5E5EA}
.theme-light .qside h3{color:#1D1D1F}.theme-light .qside .ord{color:var(--muted)}.theme-light .qside .ord b{color:#1D1D1F}
.theme-light .pfoot{color:var(--muted)}.theme-light .pfoot b{color:#1D1D1F}

/* =====================================================================================================
   ORDER CARDS (dir-1) — light, the till's family
   ===================================================================================================== */
.design-cards{--bg:#FFFFFF;--fg:#1D1D1F;background:#fff;color:var(--text);--icbg:#F5F5F7}
.design-cards .brand .wm,.design-rings .brand .wm{color:var(--ink)}
.design-cards .hr,.design-rings .hr{color:var(--muted)}.design-cards .hr .clock,.design-rings .hr .clock{color:var(--ink)}
.design-cards .hr .busy,.design-rings .hr .busy{color:var(--ink);background:var(--hi-soft);height:58px}
.design-cards .hr .busy i,.design-rings .hr .busy i{background:var(--ink)}
.design-cards .hr .off,.design-rings .hr .off{color:var(--muted);background:var(--card)}.design-cards .hr .off i,.design-rings .hr .off i{background:var(--muted)}
.design-cards .sect h2{font-size:58px;color:var(--ink)}.design-cards .sect .sub,.design-rings .sect .sub,.design-rings .sect .r{color:var(--muted)}
.design-rings .sect h2{font-size:56px;color:var(--ink)}.design-rings .sect .r b{color:var(--ink)}
.design-cards .hint,.design-rings .hint{color:var(--muted)}
.design-cards .empty .wm,.design-rings .empty .wm{color:var(--ink)}.design-cards .empty .hb,.design-rings .empty .hb{color:var(--muted)}
.design-cards .empty .l1,.design-rings .empty .l1{color:var(--ink)}.design-cards .empty .l2,.design-rings .empty .l2{color:var(--muted)}.design-cards .empty .l2 b,.design-rings .empty .l2 b{color:var(--ink)}
.card{position:absolute;inset:0;border-radius:40px;background:var(--card);transition:background .8s,box-shadow .8s}
.card .top{position:absolute;display:flex;align-items:center;gap:12px;font-weight:600;color:var(--ink);letter-spacing:-.015em;white-space:nowrap}
.card .top .ic{color:var(--ink)}
.card .top .t{margin-inline-start:auto;color:var(--muted);font-weight:500}
.card .num{position:absolute;color:var(--ink);transition:color .8s}
.card.just{background:#fff;box-shadow:inset 0 0 0 5px var(--hi),0 30px 70px -20px rgba(0,0,0,.30)}
.card.just .num{color:var(--hi)}
.pill{display:flex;align-items:center;gap:12px;border-radius:999px;background:var(--hi);color:#fff;font-weight:600;white-space:nowrap}
.pill i{border-radius:50%;background:#fff;box-shadow:0 0 0 5px rgba(255,255,255,.28)}
.cstill{border-radius:40px;background:#fff;box-shadow:inset 0 0 0 2px var(--line)}
.cstill .lab{font-size:26px;color:var(--muted);font-weight:500}
.cs{display:flex;align-items:baseline;justify-content:space-between}
.cs .num{color:#3A3A3C}.cs .m{font-size:26px;color:var(--muted);font-weight:500}
.cs.sep{border-top:1.5px solid var(--line)}
.panel{border-radius:44px;background:var(--card)}
.panel .sect h2{font-size:44px}
.li{display:grid;grid-template-columns:150px 1fr auto;align-items:center;column-gap:22px;border-top:1.5px solid var(--line);height:100%}
.li .num{font-size:60px;color:var(--ink);letter-spacing:-.045em}
.li .mid{display:flex;flex-direction:column;gap:12px}
.li .w{font-size:22px;color:var(--muted);font-weight:500;white-space:nowrap}
.li .bar{height:8px;border-radius:4px;background:#E3E3E8}
.li .bar b{background:var(--ink);border-radius:4px}
.li .m{font-size:32px;font-weight:600;color:var(--ink);letter-spacing:-.02em;min-width:96px;text-align:end}
.li.q .num,.li.q .m{color:#8E8E93}.li.q .bar b{background:#C7C7CC}
.li.al .w{color:var(--ink);font-weight:700}.li.al .bar b{background:var(--ink)}
.li.al .m{display:flex;justify-content:flex-end}.li.al .m i{width:14px;height:14px;border-radius:50%;background:var(--ink);box-shadow:0 0 0 7px rgba(0,0,0,.10)}
.li.lmore{display:flex;align-items:center;justify-content:center;font-size:24px;color:var(--muted);font-weight:500}
.cfoot{border-radius:30px;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 32px}
.cfoot span{font-size:26px;color:var(--muted);font-weight:500;line-height:1.25}
.cfoot b{font-size:40px;font-weight:700;letter-spacing:-.03em;color:var(--ink);white-space:nowrap}
.cmore{display:flex;align-items:center;justify-content:center;border-radius:40px;box-shadow:inset 0 0 0 2px var(--line);color:var(--muted);font-size:30px;font-weight:600;width:100%;height:100%}

/* =====================================================================================================
   RINGS (dir-2) — Apple Watch: a ring fills as the order cooks, a solid disc when ready
   ===================================================================================================== */
.design-rings{--bg:#FFFFFF;--fg:#1D1D1F;background:#fff;color:var(--text)}
.o{display:flex;flex-direction:column;align-items:center}
.disc{border-radius:50%;background:var(--ink);display:flex;align-items:center;justify-content:center;position:relative;flex:none;transition:background .8s}
.disc .num{color:#fff;letter-spacing:-.05em;line-height:1}
.disc .cl{position:absolute;inset:0;border-radius:50%;background:radial-gradient(circle at 35% 30%,#48484A,#1D1D1F 60%,#000000);opacity:0;transition:opacity 10s linear}
.o.just .disc .cl{opacity:1;transition:opacity .5s}
.disc .num{position:relative}
.disc .halo{position:absolute;border-radius:50%;opacity:0;transition:opacity 1.2s}
.o.just .disc .halo{opacity:1;animation:halo 3.2s ease-in-out infinite}
@keyframes halo{50%{transform:scale(1.035)}}
.o .capt{display:flex;align-items:center;gap:10px;font-size:28px;font-weight:600;color:var(--ink);letter-spacing:-.015em;white-space:nowrap}
.o .capt span{color:var(--muted);font-weight:500}
.o.just .capt{color:var(--ink);font-weight:700}
.disc.still{background:#fff;box-shadow:inset 0 0 0 4px #D1D1D6}
.disc.still .num{color:#3A3A3C}
.rsep{background:var(--line);width:2px;height:100%}
.ring{position:relative;display:flex;align-items:center;justify-content:center;flex:none}
.ring svg{position:absolute;inset:0;transform:rotate(-90deg)}
.ring svg .fg{transition:stroke-dasharray 1s linear,stroke .8s}
[dir=rtl] .ring svg{transform:rotate(-90deg) scaleY(-1)}
.ring .num{color:var(--ink);letter-spacing:-.045em;line-height:1;position:relative}
.o.q .ring .num{color:#8E8E93}
.o.q .capt{color:#8E8E93;font-weight:500}
.o.al .capt{color:var(--ink);font-weight:700}
.rmore{display:flex;align-items:center;justify-content:center;border-radius:50%;box-shadow:inset 0 0 0 3px var(--line);color:var(--muted);font-weight:600}

/* ---------- setup (no token yet) ---------- */
#setup{position:fixed;inset:0;display:none;align-items:center;justify-content:center;background:#F5F5F7;color:#1D1D1F;cursor:auto;z-index:10}
#setup.on{display:flex}
#setup .box{width:min(720px,90vw);text-align:center}
#setup h1{font-size:44px;font-weight:700;letter-spacing:-.04em}
#setup p{font-size:20px;color:#6E6E73;margin-top:14px;line-height:1.45}
#setup input{margin-top:34px;width:min(420px,80vw);height:84px;border-radius:22px;border:1.5px solid #E5E5EA;background:#fff;font:700 44px Inter,sans-serif;letter-spacing:.18em;text-align:center;text-transform:uppercase;color:#1D1D1F;outline:none}
#setup input:focus{border-color:#1B365D}
#setup button{margin-top:22px;height:64px;padding:0 40px;border-radius:999px;border:0;background:#1D1D1F;color:#fff;font:600 22px Inter,sans-serif}
#setup .err{color:#D70015;min-height:28px;margin-top:16px;font-size:18px}
#tap{position:fixed;right:24px;bottom:20px;z-index:5;display:none;align-items:center;gap:10px;padding:10px 16px;border-radius:999px;background:rgba(0,0,0,.55);color:#fff;font:600 15px Inter,sans-serif;cursor:pointer}
#tap.on{display:flex}

/* state swaps that keep the DOM stable (so the highlight can fade over 10 s instead of jumping) */
.pass .st>span{display:flex;align-items:center}
.pass .st>.sj{display:none}.pw.just .pass .st>.sj{display:flex}.pw.just .pass .st>.sr{display:none}.pw.just .ago{visibility:hidden}
.design-evening .pw .glow{box-shadow:0 34px 110px -14px rgba(255,255,255,.22)}
.design-evening.theme-light .pw .glow{box-shadow:0 44px 60px -34px rgba(0,0,0,.45)}
[lang=he] .pass .lab{letter-spacing:0}
#stage{font-family:Inter,"Noto Sans Hebrew",system-ui,-apple-system,sans-serif}
.card .pj{display:none}.cw.just .card .pj{display:flex}.cw.just .card .pr,.cw.just .card .t{display:none}
.card .pr{display:flex;align-items:center;gap:12px}
.cw.just .card{background:#fff;box-shadow:inset 0 0 0 5px var(--hi),0 30px 70px -20px rgba(0,0,0,.30)}
.cw.just .card .num{color:var(--hi)}
.n.o{display:flex;flex-direction:column;align-items:center}
.si .m{white-space:nowrap}
.o .capt span.tn{color:inherit;font-weight:inherit}
.o .capt>.tn{color:var(--ink)}
.o.q .capt>.tn,.o.al .capt>.tn{color:inherit}
.design-rings .pfoot{color:var(--muted)}.design-rings .pfoot b,.design-cards .pfoot b{color:var(--ink)}
