@charset "UTF-8";
:root{color-scheme:dark;--bg:#171a18;--panel:#222623;--text:#f3f2e9;--muted:#a7aea8;--line:#363d37;--yellow:#f7e342;--great:#ffffff;--ontrack:#38c85e;--target:#ffd521;--warning:#ff9f00;--overdue:#e3342f;--critical:#000000;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-synthesis:none}
*{box-sizing:border-box}html{min-height:100%;background:var(--bg)}body{margin:0;color:var(--text);padding-bottom:78px;-webkit-font-smoothing:antialiased}button,select{font:inherit}button,a,select{-webkit-tap-highlight-color:transparent;touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:default}button{color:inherit}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid var(--yellow);outline-offset:3px}button:active{transform:translateY(1px)}a{color:inherit}button,select{min-height:44px}svg{width:20px;height:20px;flex-shrink:0}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.topbar{height:82px;padding:0 32px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;text-decoration:none;gap:18px;flex:1}.wordmark{font-family:Impact,"Arial Black",sans-serif;font-weight:900;font-stretch:condensed;letter-spacing:-1.8px;font-size:36px;line-height:1;color:var(--yellow)}.brand-dot{font-family:Arial,sans-serif;letter-spacing:-2px}.brand-divider{height:27px;width:1px;background:#50594f}.brand-product{font-size:12px;letter-spacing:2.6px;font-weight:750}.store-switch{display:flex;padding:4px;background:#262c27;border:1px solid #384139;border-radius:9px;gap:4px}.store-switch button{padding:0 24px;background:none;border:0;border-radius:5px;font-size:15px;font-weight:650;color:#b5beb6;white-space:nowrap}.store-switch button[aria-pressed=true]{background:var(--yellow);color:#1b211b;box-shadow:0 1px 5px #0003}.icon-button{background:transparent;border:1px solid #414b43;width:44px;border-radius:50%;display:grid;place-items:center;margin-left:20px}.icon-button:hover{background:#30392f}
.demo-banner{min-height:42px;padding:4px 32px;background:#222721;border-bottom:1px solid #333c32;display:flex;align-items:center;justify-content:space-between;color:#c2cbbf;font-size:12px;gap:15px}.demo-banner>span{display:flex;align-items:center;gap:10px}.demo-banner strong{font-size:10px;letter-spacing:1.5px;color:#e5e8d8}.demo-dot{width:5px;height:5px;background:#bec3ab;border-radius:50%}.demo-banner button{font-size:12px;min-height:34px;color:#dedfca;background:none;border:0;padding:4px 0;white-space:nowrap}.demo-banner button span{padding-left:6px}
main{max-width:1920px;margin:0 auto;padding:26px 32px 40px}.queue-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-bottom:28px}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:700;color:var(--muted);margin:0 0 8px}h1{font-weight:740;letter-spacing:-1.4px;font-size:35px;line-height:1.1;margin:0}.title-dot{color:var(--yellow)}.queue-metrics{display:flex;align-items:center;gap:0}.metric{padding:0 24px;border-left:1px solid var(--line);display:flex;flex-direction:column;gap:5px;min-width:115px}.metric strong{font-weight:650;font-size:28px;letter-spacing:-1px;line-height:1;font-variant-numeric:tabular-nums}.metric span{color:var(--muted);font-size:11px;white-space:nowrap}.metric:last-child{padding-right:0;min-width:125px}.metric.alert strong{color:#f09c8f}.queue-toolbar{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #3b433c;gap:12px}.tabs{display:flex;gap:22px}.tab{border:0;border-bottom:3px solid transparent;background:none;padding:0 0 14px;color:#a8b1aa;display:flex;align-items:center;gap:9px;font-weight:650;font-size:14px}.tab.active{border-bottom-color:var(--yellow);color:var(--text)}.tab span{background:#343c35;min-width:24px;height:23px;display:grid;place-items:center;border-radius:5px;font-weight:550;font-size:11px}.tab.active span{background:#f7e342;color:#1e241c}.queue-tools{display:flex;align-items:center;gap:18px;padding-bottom:9px}.channel-select select{font-size:13px;padding:0 30px 0 12px;min-height:36px;border:1px solid #414b42;border-radius:5px;background:#252c26;color:#e1e4d9;max-width:180px}.sort-label{display:flex;align-items:center;gap:7px;font-size:11px;color:#a3ada4;white-space:nowrap}.sort-label svg{width:17px;height:17px}.list-caption{display:flex;justify-content:space-between;align-items:center;gap:15px;min-height:56px;color:#9da79f;font-size:11px}.text-button{background:none;border:0;display:flex;align-items:center;gap:6px;font-size:12px;white-space:nowrap;color:#e2e5d8;padding:5px 0}.text-button span{font-size:20px;font-weight:400}
.ticket-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:stretch}.ticket{--tone:var(--great);color:#222823;background:#f4f3e9;border-radius:9px;overflow:hidden;display:flex;flex-direction:column;border:1px solid #fbfcf51a;box-shadow:0 5px 15px #0001;min-width:0;border-top:5px solid var(--tone)}.ticket[data-level=ontrack]{--tone:var(--ontrack)}.ticket[data-level=target]{--tone:var(--target)}.ticket[data-level=warning]{--tone:var(--warning)}.ticket[data-level=overdue]{--tone:var(--overdue)}.ticket[data-level=critical]{--tone:var(--critical)}.ticket-header{display:flex;justify-content:space-between;gap:6px;padding:16px 16px 13px;align-items:flex-start}.order-number{font-weight:760;font-size:26px;letter-spacing:-1px;line-height:1;font-variant-numeric:tabular-nums}.order-number .hash{font-size:18px;font-weight:500;color:#70796e;margin-right:1px}.order-type{font-size:11px;margin-top:7px;font-weight:650;color:#586052;display:flex;align-items:center;gap:5px}.order-type svg{width:13px;height:13px}.timer-box{display:flex;flex-direction:column;align-items:flex-end;gap:5px}.timer{background:var(--tone);color:#263328;font-variant-numeric:tabular-nums;font-size:20px;font-weight:740;padding:6px 8px;min-width:78px;text-align:center;border-radius:5px;letter-spacing:-.3px;line-height:1}.ticket[data-level=overdue] .timer{color:#913b31}.timer-status{font-size:9px;font-weight:750;letter-spacing:.65px;text-transform:uppercase;color:#646b5c;min-height:10px}.ticket[data-level=overdue] .timer-status{color:#913b31}.order-origin{border-top:1px solid #dcded2;border-bottom:1px solid #dcded2;padding:9px 16px;display:flex;justify-content:space-between;gap:8px;color:#697160;font-size:10px;line-height:1.3;text-transform:uppercase;letter-spacing:.55px;font-weight:600}.order-location{color:#424d3e}.ticket-items{padding:10px 16px 12px;flex:1}.item{display:flex;align-items:flex-start;gap:9px;width:100%;padding:9px 0;text-align:left;background:none;border:0;border-bottom:1px solid #e1e2d9;min-height:51px;color:#202820}.item:last-child{border-bottom:0}.item-qty{font-size:13px;font-weight:750;background:#e5e7db;border-radius:4px;min-width:23px;height:24px;display:grid;place-items:center;margin-top:1px}.item-copy{flex:1;min-width:0}.item-name{font-size:16px;line-height:1.3;font-weight:700;display:block;letter-spacing:-.2px}.item-modifiers{font-size:12px;line-height:1.5;color:#3a4434;display:block;margin-top:4px}.item-modifiers span{display:block}.item-check{border:1.5px solid #abb5a5;width:20px;height:20px;min-width:20px;border-radius:50%;margin:3px 0 0;display:grid;place-items:center;font-size:12px;color:transparent}.item.prepared .item-name{text-decoration:line-through;color:#7d8577}.item.prepared .item-modifiers{color:#8b9285}.item.prepared .item-check{color:#fff;background:#425740;border-color:#425740}.item:focus-visible{outline:3px solid #3f6142;outline-offset:3px;border-radius:4px}.order-note{font-size:12px;line-height:1.5;margin:0 16px 14px;padding:9px 10px;background:#e8e9df;border-left:2px solid #7d8870;color:#384132}.order-note strong{font-size:10px;letter-spacing:.7px;display:block;margin-bottom:3px}.ticket-action{padding:0 14px 14px}.complete-button{width:100%;background:#253b29;color:#fafcf5;border:1px solid #253b29;border-radius:6px;display:flex;align-items:center;justify-content:center;gap:9px;min-height:49px;font-size:13px;font-weight:650}.complete-button:hover{background:#36503a}.complete-button svg{width:16px;height:16px}.complete-button:focus-visible{outline-color:#18291b}.recall-button{background:#f4f3e9;color:#2b3d2a;border:1px solid #8c9986}.recall-button:hover{background:#e2e7da}.ticket.completed{--tone:#a3ad9c}.ticket.completed .timer{background:#e4e8de;color:#4b5947}.ticket.completed .timer-status{color:#667360}.completed-label{display:flex;align-items:center;gap:5px;font-size:10px;color:#5f6d59;font-weight:650}.empty-state{text-align:center;padding:60px 20px}.empty-icon{background:#303b30;color:var(--yellow);font-size:28px;width:68px;height:68px;margin:auto;border-radius:50%;display:grid;place-items:center}.empty-state h2{font-size:27px;margin:22px 0 8px;letter-spacing:-.7px}.empty-state p{font-size:14px;color:var(--muted);margin:0 auto 22px;max-width:370px;line-height:1.5}
.statusbar{position:fixed;bottom:0;left:0;right:0;min-height:58px;padding:12px 32px calc(12px + env(safe-area-inset-bottom));background:#1b201cf5;backdrop-filter:blur(14px);border-top:1px solid #384238;display:flex;align-items:center;gap:22px;z-index:5}.time-rule{font-size:10px;font-weight:750;letter-spacing:1.3px;color:#e3e6d6;white-space:nowrap}.time-legend{display:flex;align-items:center;gap:19px;flex:1}.time-legend>span{display:flex;align-items:center;gap:6px;font-size:10px;color:#b9c1b4;white-space:nowrap}.legend-dot{height:7px;width:7px;border-radius:50%;display:inline-block}.legend-dot.great{background:var(--great)}.legend-dot.ontrack{background:var(--ontrack)}.legend-dot.target{background:var(--target)}.legend-dot.warning{background:var(--warning)}.legend-dot.overdue{background:var(--overdue)}.legend-dot.critical{background:var(--critical);box-shadow:0 0 0 1px #9fa69d}.target-note{color:#b4bea9;font-size:10px;white-space:nowrap}
.toast{position:fixed;left:50%;transform:translateX(-50%);bottom:84px;background:#f4f3e9;color:#263226;box-shadow:0 8px 32px #0005;padding:9px 10px 9px 20px;border-radius:8px;z-index:50;display:flex;align-items:center;gap:20px;max-width:calc(100vw - 32px);min-height:60px;font-size:13px;white-space:normal}.toast button{background:none;border:0;color:#263b24;font-weight:750;padding:0 8px}.toast #undo-button{text-decoration:underline;text-underline-offset:4px}.toast .toast-dismiss{font-size:23px;font-weight:400;min-width:36px}
dialog{border:1px solid #4a5347;border-radius:15px;background:#222922;color:#f0f2e8;width:500px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 40px);padding:30px;box-shadow:0 24px 100px #0007}dialog::backdrop{background:#090e0bd9;backdrop-filter:blur(5px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;gap:10px}.dialog-heading .eyebrow{margin:0;font-size:9px}.dialog-close{background:#333d33;border:0;border-radius:50%;font-size:25px;width:36px;min-height:36px;line-height:1;flex-shrink:0}.dialog-heading+h2{font-size:30px;letter-spacing:-1px;margin:0 0 13px;line-height:1.15}dialog p{font-size:14px;line-height:1.65;color:#b7c2b3;margin:0 0 22px}.demo-actions{display:flex;flex-direction:column;gap:10px}.demo-action{background:#2b352b;border:1px solid #465144;border-radius:9px;padding:15px 12px;display:flex;align-items:center;gap:12px;text-align:left;width:100%}.demo-action:hover{background:#354133}.action-symbol{width:35px;height:35px;background:#424e3c;border-radius:7px;display:grid;place-items:center;font-size:19px;flex-shrink:0;color:var(--yellow)}.demo-action>span:nth-child(2){flex:1}.demo-action strong{font-size:13px;display:block}.demo-action small{font-size:11px;line-height:1.5;color:#aebda7;display:block;margin-top:4px}.dialog-footnote{font-size:11px;margin:20px 0 0;color:#8fa089}.help-list{list-style:none;margin:0 0 25px;padding:0}.help-list li{border-top:1px solid #414c3e;padding:13px 0;font-size:13px;line-height:1.6;color:#b4c0af}.help-list strong{color:#edf0df;display:block}.info-box{border:1px solid #657252;border-radius:8px;padding:17px;margin-bottom:22px;background:#303b29}.info-box>strong{font-size:13px;color:#e6ebd3}.info-box p{font-size:12px;line-height:1.6;margin:7px 0 0;color:#bdc9b1}.button{border:0;border-radius:6px;min-height:48px;padding:10px 18px;font-size:13px;font-weight:700}.button.primary{background:var(--yellow);color:#222a1b}.button.secondary{background:#394634;color:#e7eada;border:1px solid #637258}.full-width{width:100%}.dialog-buttons{display:flex;justify-content:flex-end;gap:10px}.noscript{padding:30px;background:#f6e442;color:#121712}
@media(min-width:1600px){.ticket-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.item-name{font-size:18px}.ticket-header{padding:19px}.ticket-items{padding:12px 19px}}
@media(max-width:1179px){.ticket-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.topbar{padding:0 24px}main{padding:24px 24px 36px}.demo-banner{padding-left:24px;padding-right:24px}.statusbar{padding-left:24px;padding-right:24px;gap:16px}.time-legend{gap:14px}.metric{padding:0 20px}.brand-product{font-size:11px;letter-spacing:2px}.brand{gap:13px}.store-switch button{padding:0 20px}}
@media(max-width:850px){.topbar{padding:0 20px;height:74px;gap:12px}.wordmark{font-size:31px}.brand-product{font-size:9px;letter-spacing:1.5px}.brand-divider{height:23px}.store-switch button{padding:0 15px;font-size:13px}.icon-button{margin-left:0;width:40px;min-height:40px}.ticket-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.queue-heading{padding-bottom:24px}h1{font-size:31px}.metric{min-width:90px;padding:0 15px}.metric strong{font-size:25px}.metric:last-child{min-width:105px}.metric span{font-size:10px}.queue-tools{gap:12px}.sort-label{display:none}.time-legend{gap:12px}.statusbar{gap:14px}.target-note{display:none}.list-caption{font-size:10px}}
@media(max-width:560px){body{padding-bottom:92px}.topbar{height:auto;min-height:112px;flex-wrap:wrap;padding:14px 16px 11px;gap:10px}.brand{flex:1}.brand-product{font-size:11px}.store-switch{order:3;width:100%}.store-switch button{flex:1;min-height:38px}.demo-banner{padding:6px 16px;align-items:center;font-size:10px;gap:7px}.demo-copy{max-width:200px;line-height:1.4}.demo-banner>span{gap:7px}.demo-banner button{font-size:10px}.demo-banner button span{padding:0}main{padding:22px 16px 28px}.queue-heading{align-items:flex-start;gap:15px}.eyebrow{font-size:8px;letter-spacing:1.2px}h1{font-size:28px}.queue-metrics{gap:0}.metric{min-width:0;padding:0 11px}.metric strong{font-size:25px}.metric span{font-size:9px}.metric:last-child{padding-right:0}.oldest-metric{display:none}.queue-toolbar{align-items:center}.tabs{gap:16px}.tab{font-size:12px;gap:6px;padding-bottom:13px}.tab span{min-width:20px;height:20px;font-size:10px}.queue-tools{padding-bottom:10px}.channel-select select{font-size:11px;padding:0 5px 0 8px;max-width:127px}.list-caption{align-items:center;gap:10px;min-height:62px;line-height:1.5}.list-caption>span{max-width:210px}.text-button{font-size:10px;gap:4px}.ticket-grid{grid-template-columns:1fr;gap:16px}.ticket-header{padding:16px 19px}.order-number{font-size:31px}.timer{font-size:22px}.ticket-items{padding:8px 19px 12px}.item-name{font-size:18px}.item{padding:12px 0}.order-origin{padding:9px 19px}.item-modifiers{font-size:13px}.ticket-action{padding:0 17px 17px}.complete-button{min-height:52px;font-size:14px}.statusbar{flex-wrap:wrap;gap:9px;padding:12px 16px calc(12px + env(safe-area-inset-bottom))}.time-rule{width:100%;font-size:8px;letter-spacing:1.5px}.time-legend{justify-content:space-between;gap:7px;width:100%}.time-legend>span{font-size:9px;gap:4px}.legend-dot{width:6px;height:6px}.toast{bottom:100px;width:max-content;gap:10px;font-size:12px;padding-left:15px}dialog{padding:22px}.dialog-buttons{flex-direction:column}.dialog-buttons .button{width:100%}.dialog-heading+h2{font-size:28px}}
@media(prefers-reduced-motion:no-preference){.complete-button,.store-switch button,.tab,.demo-action{transition:background .12s ease,color .12s ease}.toast{animation:toast-in .2s ease-out}@keyframes toast-in{from{opacity:0;translate:0 8px}to{opacity:1;translate:0 0}}}

/* Native kitchen gestures: allow scrolling, but never double-tap or pinch zoom.
   Apply to every descendant because tickets, the queue, sidebar and dialogs
   can each be the nearest scroll container. Keep the back office unchanged. */
html.kitchen-screen, .kitchen-screen * { touch-action: pan-x pan-y; }

/* Compact, stationary kitchen shell. Only the queue and long tickets scroll. */
html,body{height:100%;overflow:hidden;overscroll-behavior:none}body{padding:0}
#kitchen-app{height:100vh;height:100dvh;display:flex;flex-direction:column;overflow:hidden;padding-top:env(safe-area-inset-top)}
.topbar{height:44px;min-height:44px;flex:0 0 44px;padding:0 20px;gap:12px}.wordmark{font-size:27px;letter-spacing:-1.5px}.brand{gap:12px}.brand-divider{height:20px}.brand-product{font-size:10px;letter-spacing:2px}.store-switch{padding:2px;gap:2px;border-radius:6px}.store-switch button{font-size:12px;min-height:34px;padding:0 18px;border-radius:4px}.topbar-actions{display:flex;gap:7px}.icon-button{margin:0;width:34px;min-height:34px;border-radius:6px}.icon-button svg{width:16px;height:16px}
.demo-banner{min-height:23px;height:23px;flex:0 0 23px;padding:0 20px;font-size:10px;gap:8px}.demo-banner strong{font-size:8px;letter-spacing:1px}.demo-banner>span{gap:7px}.demo-banner button{min-height:23px;font-size:10px;padding:0 4px}.demo-dot{width:4px;height:4px}
main{display:flex;flex-direction:column;flex:1;min-height:0;width:100%;padding:9px 20px 8px;overflow:hidden}.queue-heading{flex:0 0 40px;padding:0;gap:20px;align-items:center}.queue-heading .eyebrow{display:none}h1{font-size:24px;letter-spacing:-.8px}.queue-metrics{height:30px}.metric{min-width:auto;padding:0 17px;flex-direction:row;align-items:baseline;gap:6px}.metric strong{font-size:20px;letter-spacing:-.5px}.metric span{font-size:10px}.metric:last-child{min-width:auto;padding-right:0}.queue-toolbar{flex:0 0 39px;min-height:39px;gap:12px}.tabs{gap:20px;height:39px}.tab{min-height:39px;font-size:12px;padding:0 0 3px;gap:7px;border-bottom-width:2px}.tab span{min-width:20px;height:19px;font-size:10px}.queue-tools{padding:0 0 3px;gap:15px}.channel-select select{min-height:31px;font-size:11px;padding-left:10px}.sort-label{font-size:10px}.list-caption{flex:0 0 27px;min-height:27px;font-size:10px;gap:8px}.text-button{min-height:27px;font-size:10px}.text-button span{font-size:17px}.order-scroll{min-height:0;flex:1;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#6a7565 transparent;scroll-padding:6px;outline-offset:-3px}.ticket-grid{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:var(--ticket-height,250px);gap:10px;align-items:stretch;padding:0 3px 0 0}.ticket{position:relative;border-top-width:4px;min-height:0;height:100%;border-radius:7px;box-shadow:none}.ticket-header{flex:0 0 auto;padding:7px 11px 5px;align-items:center;min-height:44px}.ticket-header>div:first-child{display:flex;align-items:center;gap:9px}.order-number{font-size:24px;letter-spacing:-.7px}.order-number .hash{font-size:14px}.order-type{font-size:9px;margin:0;gap:4px}.order-type svg{width:11px;height:11px}.timer-box{gap:2px}.timer{font-size:18px;padding:4px 6px;min-width:66px;background:var(--tone);background:var(--tone)}.timer-status{font-size:8px;letter-spacing:.4px;min-height:9px}.order-origin{flex:0 0 22px;padding:5px 11px;font-size:9px;line-height:11px}.ticket-content{flex:1;min-height:0;overflow:auto;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#9aa58e transparent;outline-offset:-3px}.ticket-items{padding:3px 11px 4px;flex:initial}.item{min-height:40px;padding:6px 0;gap:7px}.item-name{font-size:15px;line-height:1.2;letter-spacing:-.15px}.item-qty{min-width:20px;height:21px;font-size:12px;margin:0}.item-check{width:17px;height:17px;min-width:17px;margin-top:2px;font-size:10px}.item-modifiers{font-size:11px;line-height:1.3;margin-top:3px}.item-modifiers span{margin-top:1px}.order-note{font-size:11px;padding:6px 8px;margin:3px 11px 8px;line-height:1.3}.order-note strong{display:inline;font-size:8px;margin-right:6px}.ticket-action{flex:0 0 auto;padding:5px 9px 7px;border-top:1px solid #dddfd2;background:#f4f3e9}.complete-button{min-height:37px;height:37px;font-size:12px;border-radius:5px;gap:6px}.complete-button svg{width:14px;height:14px}.ticket-scroll-hint{position:absolute;right:12px;bottom:54px;font-size:9px;line-height:1.2;background:#f6f5e9f5;color:#36432e;border:1px solid #a4af98;padding:3px 6px;border-radius:4px;pointer-events:none;box-shadow:0 1px 5px #0001}.statusbar{position:static;flex:0 0 auto;min-height:29px;padding:7px 20px calc(7px + env(safe-area-inset-bottom));gap:18px;background:#1b201c;backdrop-filter:none}.time-rule{font-size:8px;letter-spacing:1px}.time-legend{gap:17px}.time-legend>span{font-size:9px}.legend-dot{height:6px;width:6px}.target-note{font-size:9px}.toast{bottom:48px}.empty-state{padding:35px 16px}.empty-state h2{font-size:24px}
.site-gate{height:100vh;height:100dvh;overflow-y:auto;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at 75% 10%,#2d3828 0,transparent 55%),#171a18;padding:30px 20px;overscroll-behavior:contain}.site-gate-card{width:400px;max-width:100%;margin:auto}.gate-brand{display:flex;align-items:center;gap:16px;margin-bottom:38px}.gate-brand .wordmark{font-size:42px}.gate-brand>span:last-child{font-size:12px;letter-spacing:3px;border-left:1px solid #69715d;padding-left:16px}.site-gate .eyebrow{font-size:9px;letter-spacing:1.8px;margin:0 0 12px}.site-gate h1{font-size:35px;letter-spacing:-1.3px}.gate-description{font-size:13px;line-height:1.6;color:#b4bead;min-height:42px;margin:13px 0 22px}.gate-sites{display:flex;gap:10px;margin-bottom:24px}.gate-sites button{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:1;border:1px solid #4a5943;border-radius:7px;background:#283325;color:#f0f2e1;padding:12px 15px;font-size:13px;font-weight:650;min-height:51px}.gate-sites button[aria-pressed=true]{background:var(--yellow);color:#222b1b;border-color:var(--yellow)}.gate-sites button span{font-size:17px}.site-gate form>label{font-size:11px;font-weight:650;color:#c7d0bc;display:block;margin-bottom:8px}.site-gate input[type=password]{color-scheme:dark;display:block;width:100%;font-size:24px;letter-spacing:12px;background:#20281d;color:#f3f4e7;border:1px solid #6b7b5b;border-radius:6px;padding:12px 18px;min-height:56px;margin-bottom:20px;outline-color:var(--yellow);font-variant-numeric:tabular-nums}.site-gate input::placeholder{color:#69745e}.site-gate input:focus{border-color:var(--yellow);outline:1px solid var(--yellow)}.site-code-status{font-size:12px;color:#b5c0a8;line-height:1.5;margin:16px 0 0;min-height:18px}.site-code-status.error{color:#ffb5a5}.gate-cancel{background:none;border:0;text-decoration:underline;text-underline-offset:4px;font-size:12px;color:#dce2cf;width:100%;margin-top:8px}.gate-demo-note{display:flex;align-items:center;gap:7px;font-size:8px;letter-spacing:1px;color:#89977c;margin-top:32px}#site-retry{margin-top:14px}
@media(min-width:1600px){.ticket-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.item-name{font-size:18px}.item{padding:8px 0}.item-modifiers{font-size:13px}.order-number{font-size:28px}.timer{font-size:21px}}
@media(max-width:1179px){.ticket-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.metric{padding:0 12px}.order-type{font-size:9px}.ticket-header>div:first-child{gap:6px}}
@media(max-width:850px){.brand-product{font-size:9px}.brand{gap:9px}.topbar{padding:0 14px}.store-switch button{padding:0 12px;font-size:11px}main{padding:7px 14px}.demo-banner{padding:0 14px}.queue-heading{flex-basis:36px}.metric{padding:0 10px;gap:5px}.metric span{font-size:9px}.metric strong{font-size:19px}.oldest-metric{display:flex}.ticket-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.ticket-header{padding:6px 8px;min-height:42px}.ticket-header>div:first-child{display:block}.order-number{font-size:21px}.order-type{font-size:8px;margin-top:3px}.timer{font-size:16px;min-width:60px}.item-name{font-size:13px}.item-modifiers{font-size:10px}.ticket-items{padding:2px 8px}.item{gap:6px;min-height:38px}.item-check{display:none}.order-origin{font-size:8px;padding-left:8px;padding-right:8px}.statusbar{padding-left:14px;padding-right:14px}.time-legend{gap:12px}.target-note{display:none}}
@media(max-width:600px){.topbar{height:46px;min-height:46px;flex:0 0 46px;flex-wrap:nowrap;gap:8px;padding:0 12px}.brand{gap:0;flex:0 0 auto}.brand-product,.brand-divider{display:none}.wordmark{font-size:24px}.store-switch{order:initial;width:auto;flex:1;padding:2px;gap:0;justify-content:space-around}.store-switch button{padding:0 8px;font-size:10px;min-height:32px;flex:1}.topbar-actions{gap:4px}.topbar-actions .icon-button{width:29px;min-height:32px}.topbar-actions #help-button{display:none}.demo-banner{padding:0 12px;font-size:8px;gap:5px}.demo-copy{max-width:none;line-height:1.2}.demo-banner>span{gap:5px}.demo-banner button{font-size:8px}.queue-heading{flex-basis:38px;align-items:center}.queue-heading h1{font-size:22px}.metric{flex-direction:column;gap:1px;padding:0 9px}.metric strong{font-size:19px}.metric span{font-size:8px}.oldest-metric{display:none}main{padding:6px 12px}.queue-toolbar{flex-basis:38px;min-height:38px}.tabs{gap:15px;height:38px}.tab{min-height:38px;font-size:11px}.channel-select select{font-size:10px;max-width:116px;min-height:29px}.list-caption{font-size:8px;flex-basis:29px;min-height:29px}.list-caption>span{max-width:225px}.text-button{font-size:9px}.ticket-grid{grid-template-columns:1fr;gap:10px}.ticket-header{padding:12px 15px}.ticket-header>div:first-child{display:flex;gap:12px}.order-number{font-size:28px}.order-type{font-size:11px;margin:0}.timer{font-size:22px;min-width:82px}.timer-status{font-size:9px}.order-origin{font-size:10px;padding:7px 15px;flex-basis:27px}.ticket-items{padding:5px 15px}.item{min-height:46px;padding:9px 0}.item-name{font-size:17px}.item-modifiers{font-size:13px}.item-check{display:grid;width:19px;height:19px;min-width:19px}.ticket-action{padding:8px 12px}.complete-button{min-height:44px;height:44px;font-size:13px}.ticket-scroll-hint{bottom:68px}.statusbar{flex-wrap:nowrap;gap:8px;min-height:29px;padding:7px 12px calc(7px + env(safe-area-inset-bottom))}.time-rule{display:none}.time-legend{gap:6px;justify-content:space-between;width:100%}.time-legend>span{font-size:8px}.toast{bottom:46px}.site-gate{padding:25px 20px}.gate-brand{margin-bottom:28px}}

/* Five tickets per iPad row, with a compact action beside the tickets. */
.brand-logo{display:block;width:40px;height:40px;object-fit:contain;flex-shrink:0;border-radius:3px}
.gate-brand .brand-logo{width:86px;height:86px}
.gate-brand{margin-bottom:24px}
.ticket-grid{display:flex;flex-direction:column;gap:10px;padding-right:3px}
.order-row{height:var(--row-height,260px);flex:0 0 var(--row-height,260px);min-height:0;display:flex;flex-direction:row;align-items:stretch;gap:8px}



.bump-row{display:flex;flex-direction:column;align-items:center;justify-content:center;align-self:center;flex:0 0 56px;width:56px;min-height:64px;gap:4px;border:0;border-radius:6px;background:var(--yellow);color:#182214;padding:7px 4px;font-size:11px;line-height:1.15;box-shadow:inset 0 0 0 1px #ffe865}
.bump-row strong{font-weight:850;max-width:40px}.bump-row svg{width:17px;height:17px}.bump-row:hover{background:#fff074}

.row-tickets{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;min-height:0;min-width:0;flex:1}
.ticket{border-top-width:8px;overflow:hidden}
.ticket-header{background:var(--tone);padding:6px 8px;gap:4px;min-height:48px;flex:0 0 48px}
.ticket-header>div:first-child{display:block;min-width:0}.order-number{font-size:23px;line-height:1}.order-type{font-size:8px;margin-top:3px;color:#172a21;gap:3px;white-space:nowrap}
.timer{background:var(--tone);color:#13251a;font-size:18px;min-width:60px;padding:2px 0;border-radius:0;white-space:nowrap}
.timer-status{font-size:7px;color:#13251a;letter-spacing:0;white-space:nowrap}
.ticket[data-level=overdue] .ticket-header{color:#fff}.ticket[data-level=overdue] .order-type,.ticket[data-level=overdue] .timer,.ticket[data-level=overdue] .timer-status{color:#fff}
.ticket.completed .ticket-header{background:#c7d0bf;color:#253122}.ticket.completed .timer{background:#c7d0bf;color:#253122}
.ticket.completed .order-type,.ticket.completed .timer-status{color:#253122}
.order-origin{padding:4px 8px;gap:4px}.order-origin>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ticket-items{padding:3px 8px}.item{gap:5px}.item-name{font-size:13px;line-height:1.2}.item-modifiers{font-size:11px}.item-check{display:none}.item-qty{min-width:18px;height:20px;font-size:11px}
.ticket-action{padding:4px 6px 6px}.complete-button{font-size:11px;gap:4px;min-height:34px;height:34px}.ticket-scroll-hint{bottom:48px;right:7px}
.legend-dot{width:9px;height:9px}
@media(min-width:1200px){.ticket-header{padding:6px 11px}.order-number{font-size:27px}.timer{font-size:21px}.timer-status{font-size:8px}.item-name{font-size:15px}.item-modifiers{font-size:12px}.ticket-items{padding:4px 11px}.complete-button{font-size:12px}}
@media(min-width:601px) and (max-width:850px){.ticket-header{padding:5px 5px;gap:2px}.order-number{font-size:19px}.order-number .hash{font-size:11px}.order-type{font-size:7px}.order-type svg{display:none}.timer{font-size:15px;min-width:47px}.timer-status{font-size:6px}.row-tickets{gap:6px}.item-name{font-size:12px}.item-modifiers{font-size:10px}.complete-button{font-size:10px}.complete-button svg{display:none}.ticket-items{padding:3px 6px}.order-origin{font-size:7px;padding:4px 5px}}
@media(max-width:600px){.brand-logo{width:34px;height:34px}.row-tickets{grid-template-columns:1fr}.bump-row{flex-basis:48px;width:48px;font-size:10px;padding:6px 3px}.order-number{font-size:28px}.order-type{font-size:11px}.ticket-header{padding:8px 15px;flex-basis:60px}.ticket-header>div:first-child{display:flex}.timer{font-size:23px}.timer-status{font-size:9px}.ticket-items{padding:5px 15px}.item-name{font-size:17px}.item-modifiers{font-size:13px}.item-check{display:grid}.ticket-action{padding:7px 12px}.complete-button{font-size:13px;height:44px;min-height:44px}.ticket-scroll-hint{bottom:65px}}

/* Remove the black matte at display time; keep the original logo pixels. */
.logo-filter-defs{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}
.brand-logo{filter:url(#stax-logo-cutout);border-radius:0;background:transparent}

/* Black time band from 25 minutes, with white text for legibility. */
.ticket[data-level=critical]:not(.completed) .ticket-header,
.ticket[data-level=critical]:not(.completed) .order-type,
.ticket[data-level=critical]:not(.completed) .timer,
.ticket[data-level=critical]:not(.completed) .timer-status,
.ticket[data-level=critical]:not(.completed) .hash{color:#ffffff}

.feed-error{background:#732c23!important;color:#fff!important}.feed-error .demo-dot{background:#ff6c56}.ticket button:disabled,.bump-row:disabled{cursor:wait;opacity:.65}.info-box a{color:#f4d135}

/* Use the order note as the ticket heading and keep longer notes readable. */
.ticket-header{flex-basis:auto;max-height:45%;overflow-y:auto;align-items:flex-start}
.ticket-header>div:first-child{display:block;flex:1;min-width:0}
.timer-box{flex:0 0 auto}
.order-note-heading{overflow-wrap:anywhere;white-space:pre-wrap;line-height:1.05}
.order-note-heading.no-note{font-size:14px;letter-spacing:0;font-weight:600}

/* Half the space between item contents, with no item separation rules. */
.item{border:0;padding:3px 0;min-height:30px}
@media(min-width:1600px){.item{padding:4px 0}}
@media(max-width:850px){.item{min-height:29px}}
@media(max-width:600px){.item{padding:4.5px 0;min-height:33px}}

/* A stationary left control column gives the order rows the full screen height. */
#kitchen-app {
  --sidebar-width: 154px;
  display: grid;
  grid-template-columns: calc(var(--sidebar-width) + env(safe-area-inset-left)) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
}
.kitchen-sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 0;
  min-width: 0;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom)) calc(12px + env(safe-area-inset-left));
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #6a7565 transparent;
  background: #1b201c;
  border-right: 1px solid var(--line);
}
.kitchen-sidebar > * { flex-shrink: 0; }
.kitchen-sidebar .topbar {
  height: auto;
  min-height: 0;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}
.kitchen-sidebar .brand { flex: 0 0 auto; gap: 9px; }
.kitchen-sidebar .brand-logo { width: 52px; height: 52px; }
.kitchen-sidebar .brand-product { display: inline; font-size: 9px; letter-spacing: 1.4px; }
.kitchen-sidebar .store-switch { flex: 0 0 auto; flex-direction: column; width: 100%; gap: 3px; padding: 3px; order: initial; }
.kitchen-sidebar .store-switch button { flex: 0 0 auto; min-height: 34px; padding: 6px 8px; font-size: 12px; text-align: left; white-space: normal; }
.kitchen-sidebar .queue-heading { flex: 0 0 auto; flex-direction: column; align-items: stretch; padding: 0; gap: 12px; }
.kitchen-sidebar h1 { font-size: 20px; line-height: 1.1; letter-spacing: -.5px; margin: 0; overflow-wrap: break-word; }
.kitchen-sidebar .queue-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); height: auto; gap: 10px 6px; }
.kitchen-sidebar .metric { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 0; gap: 3px; border: 0; }
.kitchen-sidebar .metric strong { font-size: 23px; line-height: 1; letter-spacing: -.5px; }
.kitchen-sidebar .metric span { font-size: 9px; line-height: 1.3; }
.kitchen-sidebar .oldest-metric { grid-column: 1 / -1; flex-direction: row-reverse; align-items: baseline; justify-content: space-between; padding-top: 9px; border-top: 1px solid var(--line); }
.kitchen-sidebar .oldest-metric strong { font-size: 17px; }
.kitchen-sidebar .queue-toolbar { flex: 0 0 auto; min-height: 0; flex-direction: column; align-items: stretch; border: 0; gap: 9px; }
.kitchen-sidebar .tabs { flex-direction: column; height: auto; gap: 4px; }
.kitchen-sidebar .tab { width: 100%; min-height: 36px; padding: 7px 8px; border: 1px solid transparent; border-radius: 5px; justify-content: space-between; font-size: 11px; gap: 4px; }
.kitchen-sidebar .tab.active { background: #30382e; border-color: #59634d; color: var(--yellow); }
.kitchen-sidebar .tab span { min-width: 21px; height: 19px; font-size: 10px; }
.kitchen-sidebar .queue-tools { padding: 0 3px; }
.kitchen-sidebar .sort-label { display: flex; font-size: 10px; gap: 5px; }
.kitchen-sidebar .sort-label svg { width: 14px; height: 14px; }
.kitchen-sidebar .demo-banner { height: auto; min-height: 0; flex: 0 0 auto; flex-direction: column; align-items: stretch; padding: 9px; border: 1px solid #394235; border-radius: 5px; gap: 5px; }
.kitchen-sidebar .demo-banner > span { display: grid; grid-template-columns: 5px minmax(0, 1fr); gap: 6px; align-items: center; }
.kitchen-sidebar .demo-dot { width: 5px; height: 5px; }
.kitchen-sidebar .demo-banner strong { font-size: 8px; letter-spacing: .6px; }
.kitchen-sidebar .demo-copy { grid-column: 1 / -1; max-width: none; font-size: 10px; line-height: 1.45; overflow-wrap: anywhere; }
.kitchen-sidebar .demo-banner button { min-height: 28px; font-size: 10px; text-align: left; padding: 0; }
.kitchen-sidebar .list-caption { flex: 0 0 auto; min-height: 0; flex-direction: column; align-items: stretch; gap: 5px; font-size: 10px; line-height: 1.5; }
.kitchen-sidebar .list-caption > span { max-width: none; }
.kitchen-sidebar .text-button { align-self: flex-start; min-height: 28px; font-size: 10px; }
.kitchen-sidebar .packing-shortcut { display: flex; align-items: center; flex: 1 0 auto; min-height: 68px; }
.packing-helper-tab { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 56px; padding: 10px 9px; border: 1px solid #626346; border-radius: 6px; background: #2b3021; color: var(--yellow); font: inherit; text-align: left; cursor: default; opacity: 1; }
.packing-helper-tab svg { width: 18px; height: 18px; flex-shrink: 0; }
.packing-helper-tab > span { display: grid; gap: 5px; min-width: 0; }
.packing-helper-tab strong { font-size: 11px; line-height: 1.3; font-weight: 750; }
.packing-helper-tab small { color: #b9c1b4; font-size: 8px; line-height: 1.3; letter-spacing: .6px; text-transform: uppercase; }
.kitchen-sidebar .statusbar { position: static; flex: 0 0 auto; flex-direction: column; align-items: stretch; min-height: 0; padding: 12px 0 0; margin-top: auto; border-top: 1px solid var(--line); gap: 9px; background: transparent; }
.kitchen-sidebar .time-rule { display: block; width: auto; font-size: 8px; letter-spacing: 1px; }
.kitchen-sidebar .time-legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; gap: 7px 5px; }
.kitchen-sidebar .time-legend > span { font-size: 9px; gap: 4px; white-space: nowrap; }
.kitchen-sidebar .legend-dot { width: 9px; height: 9px; flex-shrink: 0; }
.kitchen-sidebar .target-note { display: block; font-size: 9px; margin: 0; }
.sidebar-actions { display: flex; gap: 6px; }
.sidebar-actions .icon-button { display: flex; justify-content: center; align-items: center; gap: 4px; width: auto; flex: 1; min-height: 36px; margin: 0; border-radius: 5px; font-size: 10px; }
.sidebar-actions .icon-button svg { width: 14px; height: 14px; }
main.queue-main { width: auto; max-width: none; margin: 0; min-width: 0; min-height: 0; padding: 8px calc(8px + env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) 8px; }
.queue-main .order-scroll { width: 100%; }
.toast { bottom: calc(16px + env(safe-area-inset-bottom)); }
@media(min-width:1200px) {
  #kitchen-app { --sidebar-width: 170px; }
}
@media(max-width:850px) {
  #kitchen-app { --sidebar-width: 132px; }
  .kitchen-sidebar { padding-left: calc(8px + env(safe-area-inset-left)); padding-right: 8px; gap: 12px; }
  .kitchen-sidebar .brand { gap: 5px; }
  .kitchen-sidebar .brand-logo { width: 46px; height: 46px; }
  .kitchen-sidebar .brand-product { letter-spacing: 1px; }
  .kitchen-sidebar h1 { font-size: 19px; }
  .kitchen-sidebar .store-switch button { font-size: 11px; }
  .kitchen-sidebar .tab { padding-left: 5px; padding-right: 5px; font-size: 10px; }
  .kitchen-sidebar .time-legend > span { font-size: 8px; }
  .kitchen-sidebar .oldest-metric strong { font-size: 15px; }
}
@media(max-width:600px) {
  #kitchen-app { --sidebar-width: 116px; }
  .kitchen-sidebar .brand { flex-direction: column; align-items: flex-start; gap: 2px; }
  .kitchen-sidebar h1 { font-size: 18px; }
  .kitchen-sidebar .queue-metrics { column-gap: 3px; }
  .kitchen-sidebar .metric span { font-size: 8px; }
  .kitchen-sidebar .oldest-metric { flex-direction: column; gap: 4px; }
  .kitchen-sidebar .time-legend { grid-template-columns: 1fr; }
  .sidebar-actions .icon-button { flex-direction: column; gap: 3px; min-height: 44px; }
  main.queue-main { padding-left: 6px; }
}

.admin-entry{display:block;text-align:center;margin-top:20px;font-size:12px;color:#bbc6af;text-decoration:none}.admin-entry:hover{color:var(--yellow)}

/* Store mode is chosen with the PIN and is visible throughout the shift. */
.gate-modes{border:0;margin:0 0 22px;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.gate-modes legend{font-size:11px;font-weight:650;color:#c7d0bc;margin-bottom:9px}
.gate-mode{display:flex;align-items:flex-start;gap:9px;padding:13px 11px;border:1px solid #56614b;border-radius:7px;background:#242c20;cursor:pointer;min-width:0}
.gate-mode:has(input:checked){border-color:var(--yellow);background:#353723}
.gate-mode input{accent-color:var(--yellow);width:17px;height:17px;flex-shrink:0;margin:1px 0 0}
.gate-mode span{display:grid;gap:6px}.gate-mode strong{font-size:13px;color:#f0f2e1}.gate-mode small{font-size:10px;line-height:1.5;color:#b4bead}
.gate-mode:has(input:focus-visible){outline:2px solid var(--yellow);outline-offset:3px}
.screen-mode-badge{display:block;padding:6px 8px;border:1px solid #59634d;border-radius:5px;font-size:10px;line-height:1.4;color:var(--yellow);font-weight:750;text-align:center}
.is-readonly .screen-mode-badge{color:#e2e8db;border-color:#819174;background:#34412e}
.is-readonly .item{cursor:default}.is-readonly .ticket-scroll-hint{bottom:8px}
.is-readonly .ticket-action,.is-readonly .bump-row{display:none}
@media(max-width:360px){.gate-modes{grid-template-columns:1fr}}

.chicken-shortcut{display:flex;align-items:center;justify-content:space-between;gap:5px;min-height:44px;border:1px solid #596647;border-radius:7px;padding:9px 8px;color:#e6ecd4;font-size:11px;text-decoration:none;background:#293323}.chicken-shortcut span{color:#c1d19e;font-size:10px}.is-readonly .chicken-shortcut{display:none}

/* Prospect-only timers stay outside the order grid and its bump gestures. */
.chip-timers { display: grid; gap: 8px; }
.chip-timers h2 { margin: 0 0 1px; color: #abb79e; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; }
.chip-timer { overflow: hidden; border: 1px solid #657048; border-radius: 7px; background: #2b3222; color: #f2f2db; }
.chip-timer-main { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 100%; min-height: 92px; padding: 9px 5px; border: 0; border-radius: 0; color: inherit; background: transparent; font: inherit; touch-action: manipulation; }
.chip-timer-main:disabled { opacity: 1; cursor: default; }
.chip-serves { font-size: 13px; line-height: 1.2; font-weight: 750; }
.chip-clock { font-size: 30px; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.5px; color: var(--yellow); }
.chip-status { font-size: 10px; line-height: 1.25; }
.chip-timer.is-running { background: #304125; border-color: #8fa560; }
.chip-cancel { width: 100%; min-height: 44px; padding: 5px; color: #d4dec9; background: #1a2518; border: 0; border-top: 1px solid #617546; border-radius: 0; font: inherit; font-size: 11px; touch-action: manipulation; }
.chip-timer.is-ready { background: #f7e342; color: #1c2717; border-color: #ffec78; animation: chip-ready-flash 1.2s steps(1, end) infinite; }
.chip-timer.is-ready .chip-clock { color: inherit; }
.chip-timer.is-ready .chip-status { font-weight: 750; }
.chip-sound { min-height: 44px; border: 1px solid #e4ba56; border-radius: 6px; background: #3b3220; color: #ffe29b; font: inherit; font-size: 11px; padding: 7px; }
.chip-storage-note { color: #e8c18e; font-size: 10px; line-height: 1.4; margin: 0; }
@keyframes chip-ready-flash { 0%, 100% { background: #f7e342; } 50% { background: #fff4bb; } }
@media (prefers-reduced-motion: reduce) { .chip-timer.is-ready { animation: none; box-shadow: inset 0 0 0 3px #fff4bb; } }
#help-dialog .demo-banner { height: auto; padding: 12px; align-items: flex-start; flex-direction: column; gap: 9px; margin-bottom: 15px; border-radius: 6px; }
#help-dialog .demo-banner > span { flex-wrap: wrap; }
#help-dialog .demo-copy { white-space: normal; line-height: 1.5; }
#help-dialog .list-caption { margin: 14px 0; gap: 10px; align-items: flex-start; }

/* Whole-ticket taps keep native vertical scrolling and acknowledge saves. */
.tap-to-bump { cursor: pointer; }
.ticket { position: relative; }
.ticket.is-saving { opacity: .65; }
.bump-progress { position: absolute; z-index: 3; inset: 0 0 auto; padding: 9px; background: #253b29; color: #fff; font-size: 12px; font-weight: 700; text-align: center; pointer-events: none; }

/* Retain v60 docket geometry, density and type; neutral warm-paper finish only. */
.kitchen-screen:not(.fryer-page){--bg:#202020;--panel:#303030;--text:#f6f5ed;--muted:#c5c5bf;--line:#626262;--yellow:#f5ed27}
.kitchen-screen:not(.fryer-page) .kitchen-sidebar{background:#1f1f1f}
.kitchen-screen:not(.fryer-page) .store-switch,.kitchen-screen:not(.fryer-page) .tab{background:#2b2b2b;border-color:var(--line)}
.kitchen-screen:not(.fryer-page) .tab.active{border-color:#bda91e}
.kitchen-screen:not(.fryer-page) .tab span{background:#373737;color:var(--text)}
.kitchen-screen:not(.fryer-page) .tab.active span{background:var(--yellow);color:#1f1f1f}
.kitchen-screen:not(.fryer-page) .ticket{background:#f5f3e9;color:#1c1c1c;border-color:#e3e1d7}
.kitchen-screen:not(.fryer-page) .order-origin{border-color:#deddd3;color:#646464}
.kitchen-screen:not(.fryer-page) .order-location{color:inherit}
.kitchen-screen:not(.fryer-page) .item{color:#1c1c1c}
.kitchen-screen:not(.fryer-page) .item-modifiers{color:#5c5c5c}
.kitchen-screen:not(.fryer-page) .item-qty{background:#e7e6dc;color:#1c1c1c}
.kitchen-screen:not(.fryer-page) .ticket-action{background:#f5f3e9}
.kitchen-screen:not(.fryer-page) .complete-button{background:#2c2c2c;border-color:#2c2c2c;color:var(--text)}
.kitchen-screen:not(.fryer-page) .complete-button:hover{background:#444}
.kitchen-screen:not(.fryer-page) .complete-button svg{color:var(--yellow)}
.kitchen-screen:not(.fryer-page) .complete-button:focus-visible{outline:3px solid #111;outline-offset:2px}
.kitchen-screen:not(.fryer-page) .recall-button{background:#e3e6df;color:#1f1f1f;border-color:#8d8d8d}
.kitchen-screen:not(.fryer-page) .bump-row{background:var(--yellow);color:#1f1f1f;box-shadow:none}
.kitchen-screen:not(.fryer-page) .chip-timer{background:#2b2b2b;color:var(--text);border-color:var(--yellow)}
.kitchen-screen:not(.fryer-page) .chip-timer.is-running{background:#3a3a3a;border-color:#b1b1b1}
.kitchen-screen:not(.fryer-page) .chip-timer.is-ready{background:var(--yellow);color:#1f1f1f}
.kitchen-screen:not(.fryer-page) .chip-cancel{background:#2b2b2b;color:var(--text);border-color:var(--line)}
.queue-service-status{flex:0 0 auto;padding:10px 12px;margin-bottom:8px;border:1px solid #8c945d;border-radius:5px;background:#303030;color:#f5f6e7;font-size:14px;line-height:1.4;overflow-wrap:anywhere}

/* Explicit exception to v60: complete note and clock share one readable line.
   Remove wasted clock/padding width first. Unbounded notes stay scrollable, not truncated. */
.kitchen-screen:not(.fryer-page) #kitchen-app .ticket{container-type:inline-size}
.kitchen-screen:not(.fryer-page) #kitchen-app .ticket-header{padding-left:4px;padding-right:4px;gap:3px}
.kitchen-screen:not(.fryer-page) #kitchen-app .ticket-header .timer{min-width:0;padding-left:0;padding-right:0;font-size:clamp(15px,10cqw,23px)}
.kitchen-screen:not(.fryer-page) #kitchen-app .ticket-header .timer-status{font-size:clamp(6px,4cqw,8px);white-space:nowrap}
.kitchen-screen:not(.fryer-page) #kitchen-app .ticket-header .order-note-heading{white-space:nowrap;overflow-wrap:normal;overflow-x:auto;text-overflow:clip;scrollbar-width:thin;font-size:clamp(12px,8.4cqw,22px);letter-spacing:-.35px;line-height:1.2}
.kitchen-screen:not(.fryer-page) #kitchen-app .ticket-header{padding-left:3px;padding-right:3px}
.kitchen-screen:not(.fryer-page) #kitchen-app .ticket-header>.timer-box{flex:0 0 clamp(36px,26cqw,60px);min-width:0;align-items:flex-end}
.kitchen-screen:not(.fryer-page) #kitchen-app .ticket-header .timer-status{max-width:100%;letter-spacing:-.15px;white-space:normal;text-align:right}

/* Retain v61 working sidebar; only docket presentation is restored. */
/* Neutral warm-paper service. Presentation only; retain the original name/time row. */
.kitchen-screen:not(.fryer-page){--bg:#202020;--panel:#303030;--text:#f6f5ed;--muted:#c5c5bf;--line:#626262;--yellow:#f5ed27}
.kitchen-screen:not(.fryer-page) #kitchen-app{--sidebar-width:clamp(148px,14.7vw,234px)}
.kitchen-screen:not(.fryer-page) .kitchen-sidebar{background:#1f1f1f;gap:clamp(9px,1.4vh,16px);padding:clamp(10px,1.4vw,22px);padding-left:calc(clamp(10px,1.4vw,22px) + env(safe-area-inset-left));padding-bottom:calc(clamp(10px,1.4vw,22px) + env(safe-area-inset-bottom))}
.kitchen-screen:not(.fryer-page) .brand{gap:12px}
.kitchen-screen:not(.fryer-page) .brand-logo{width:clamp(48px,4.5vw,72px);height:clamp(48px,4.5vw,72px)}
.kitchen-screen:not(.fryer-page) .brand-product{font-size:clamp(9px,.9vw,14px);letter-spacing:2px}
.kitchen-screen:not(.fryer-page) .store-switch{background:#2b2b2b;border-color:var(--line);padding:4px;border-radius:7px}
.kitchen-screen:not(.fryer-page) #kitchen-app .store-switch button{min-height:44px;font-size:clamp(13px,1.25vw,20px);padding:8px}
.kitchen-screen:not(.fryer-page) .kitchen-sidebar h1{font-size:clamp(23px,1.9vw,30px)}
.kitchen-screen:not(.fryer-page) .metric strong{font-size:clamp(28px,2.5vw,40px)}
.kitchen-screen:not(.fryer-page) .metric span{color:var(--muted);font-size:clamp(10px,1vw,16px)}
.kitchen-screen:not(.fryer-page) .oldest-metric strong{font-size:clamp(20px,1.7vw,27px)}
.kitchen-screen:not(.fryer-page) #kitchen-app .tab{min-height:44px;padding:7px 9px;background:#2b2b2b;border:1px solid var(--line);font-size:clamp(12px,1.1vw,18px)}
.kitchen-screen:not(.fryer-page) .tab.active{border-color:#bda91e}
.kitchen-screen:not(.fryer-page) .tab span{min-width:26px;height:26px;border-radius:5px;font-size:14px;background:#373737}
.kitchen-screen:not(.fryer-page) .tab.active span{background:var(--yellow);color:#1f1f1f}
.kitchen-screen:not(.fryer-page) .sort-label{font-size:clamp(11px,1vw,16px);color:var(--muted)}
.kitchen-screen:not(.fryer-page) .chip-timers{gap:7px;border-top:1px solid var(--line);padding-top:10px}
.kitchen-screen:not(.fryer-page) .chip-timers h2{color:var(--text);font-size:clamp(11px,1.1vw,17px)}
.kitchen-screen:not(.fryer-page) .chip-timer{background:transparent;border-color:var(--yellow);border-radius:7px}
.kitchen-screen:not(.fryer-page) .chip-timer-main{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 7px;min-height:56px;padding:7px 8px}
.kitchen-screen:not(.fryer-page) .chip-serves{font-size:clamp(12px,1.2vw,19px)}
.kitchen-screen:not(.fryer-page) .chip-clock{color:inherit;font-size:clamp(19px,1.4vw,23px)}
.kitchen-screen:not(.fryer-page) .chip-status{grid-column:1/-1;font-size:clamp(10px,.9vw,14px);color:inherit}
.kitchen-screen:not(.fryer-page) .chip-timer.is-running{background:#3a3a3a;border-color:#b1b1b1}
.kitchen-screen:not(.fryer-page) .chip-timer.is-ready{background:var(--yellow);color:#1f1f1f}
.kitchen-screen:not(.fryer-page) .chip-cancel{background:#2b2b2b;color:var(--text);border-color:var(--line)}
.kitchen-screen:not(.fryer-page) .statusbar{padding-top:10px;gap:9px}
.kitchen-screen:not(.fryer-page) .time-rule{color:var(--muted);font-size:clamp(9px,.9vw,14px)}
.kitchen-screen:not(.fryer-page) .time-legend{gap:8px 5px}
.kitchen-screen:not(.fryer-page) .time-legend>span{color:var(--muted);font-size:clamp(10px,.9vw,14px)}
.kitchen-screen:not(.fryer-page) .legend-dot{width:12px;height:12px}
.kitchen-screen:not(.fryer-page) #kitchen-app .sidebar-actions .icon-button{min-height:44px;border-color:var(--line);font-size:clamp(11px,1vw,16px)}
.kitchen-screen:not(.fryer-page) .sidebar-actions{position:sticky;bottom:0;z-index:6;background:var(--bg);box-shadow:0 -5px 0 var(--bg)}
@media(min-width:601px) and (max-height:800px){
.kitchen-screen:not(.fryer-page) .kitchen-sidebar{gap:7px;padding-top:9px;padding-bottom:calc(9px + env(safe-area-inset-bottom))}
.kitchen-screen:not(.fryer-page) .topbar{gap:6px}
.kitchen-screen:not(.fryer-page) .brand-logo{width:40px;height:40px}
.kitchen-screen:not(.fryer-page) .queue-heading{gap:7px}
.kitchen-screen:not(.fryer-page) .queue-metrics{row-gap:6px}
.kitchen-screen:not(.fryer-page) .metric strong{font-size:26px}
.kitchen-screen:not(.fryer-page) .oldest-metric{padding-top:6px}
.kitchen-screen:not(.fryer-page) .oldest-metric strong{font-size:20px}
.kitchen-screen:not(.fryer-page) .queue-toolbar{gap:6px}
.kitchen-screen:not(.fryer-page) .chip-timers{gap:5px;padding-top:7px}
.kitchen-screen:not(.fryer-page) .chip-timer-main{min-height:48px;padding:5px 7px}
.kitchen-screen:not(.fryer-page) .statusbar{padding-top:7px;gap:6px}
.kitchen-screen:not(.fryer-page) .time-legend{row-gap:6px}
.kitchen-screen:not(.fryer-page) .target-note{display:none}
}
/* The disabled future placeholder is not a service control; preserve the live chicken shortcut. */
.kitchen-screen:not(.fryer-page) .packing-shortcut{display:none}
.kitchen-screen:not(.fryer-page) .chicken-shortcut{background:#2b2b2b;color:var(--text);border-color:var(--line)}
.kitchen-screen:not(.fryer-page) .chicken-shortcut span{color:var(--muted)}
@media(min-width:601px) and (max-height:800px){
.kitchen-screen:not(.fryer-page) .kitchen-sidebar{padding-left:calc(12px + env(safe-area-inset-left));padding-right:12px}
.kitchen-screen:not(.fryer-page) .chip-serves{font-size:12px;white-space:nowrap}
.kitchen-screen:not(.fryer-page) .time-legend>span{font-size:10px}
}

@media(max-width:600px){.kitchen-screen:not(.fryer-page) #kitchen-app{--sidebar-width:116px}.kitchen-screen:not(.fryer-page) .kitchen-sidebar{padding:9px}.kitchen-screen:not(.fryer-page) .chip-timer-main{grid-template-columns:1fr}.kitchen-screen:not(.fryer-page) .time-legend{grid-template-columns:1fr}}

/* Keep the side timer label readable on narrow kitchen sidebars. */
.kitchen-screen:not(.fryer-page) [data-chip-card="sides"] .chip-serves{white-space:normal;text-align:left;min-width:0}
