:root{--tmr-k-bg:#13100e;--tmr-k-mid:#221a15;--tmr-k-orange:#f28b2f;--tmr-k-cream:#f8efe0;--tmr-k-text:#21170f;--tmr-k-border:#dcccbc}*{box-sizing:border-box}body.tmr-kitchen-page{margin:0;background:var(--tmr-k-bg);color:var(--tmr-k-text);font-family:Inter,system-ui,-apple-system,sans-serif}.tmr-kitchen{min-height:100vh}.tmr-kitchen button,.tmr-kitchen select{font:inherit;cursor:pointer}.tmr-kitchen button:focus-visible,.tmr-kitchen a:focus-visible,.tmr-kitchen input:focus-visible{outline:3px solid var(--tmr-k-orange);outline-offset:2px}.tmr-k-header{display:flex;justify-content:space-between;align-items:center;gap:20px;background:#120e0b;color:#fff;padding:17px clamp(14px,2vw,35px);border-bottom:3px solid var(--tmr-k-orange)}.tmr-k-logo span{font-size:10px;letter-spacing:.22em;color:var(--tmr-k-orange);font-weight:800}.tmr-k-logo h1{font:900 clamp(22px,2vw,30px)/1 'Roboto Condensed',Impact,sans-serif;margin:5px 0 0;letter-spacing:-.015em}.tmr-k-logo h1 i{font-style:normal;color:var(--tmr-k-orange)}.tmr-k-status{display:flex;gap:15px;align-items:center}.tmr-k-status time{font-weight:800;font-size:20px;font-variant-numeric:tabular-nums}.tmr-k-state{padding:6px 10px;border:1px solid #78695d;border-radius:4px;font-size:11px;font-weight:900;letter-spacing:.06em}.tmr-k-state.is-live{color:#d2f6d7;border-color:#478159;background:#1e4230}.tmr-k-state.is-offline{color:#ffe2dd;border-color:#be5139;background:#58291f}.tmr-k-status button{color:#fff;background:transparent;border:1px solid #74645a;border-radius:5px;min-height:40px;padding:8px 13px}.tmr-k-warning{background:#7c301b;color:#fff;padding:11px 20px;font-size:13px;font-weight:700}.tmr-k-warning[hidden]{display:none}.tmr-k-shell{background:#f0e8dc;min-height:calc(100vh - 90px)}.tmr-k-tabs{display:flex;background:#241d18;gap:2px;overflow-x:auto;padding:0 clamp(12px,2vw,32px);scrollbar-width:thin}.tmr-k-tabs button{color:#c5b8ab;min-height:60px;white-space:nowrap;background:none;border:0;border-bottom:3px solid transparent;padding:10px 19px;font-weight:850;font-size:12px;letter-spacing:.04em}.tmr-k-tabs button[aria-selected="true"]{color:#fff;border-color:var(--tmr-k-orange);background:#3b291e}.tmr-k-tabs b{margin-left:5px;color:var(--tmr-k-orange)}.tmr-k-summary{display:flex;align-items:center;gap:14px;padding:12px clamp(12px,2vw,32px);border-bottom:1px solid var(--tmr-k-border);background:#fffaf2}.tmr-k-summary>div{display:flex;gap:10px;align-items:center;border-right:1px solid #d2bda8;padding-right:18px}.tmr-k-summary>div:last-child{border:0}.tmr-k-summary span{font-size:11px;color:#735949;font-weight:850}.tmr-k-summary strong{font:900 23px/1 'Roboto Condensed',Impact,sans-serif;color:#251910;font-variant-numeric:tabular-nums}.tmr-k-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(310px,360px);min-height:67vh}.tmr-k-board{padding:19px clamp(12px,2vw,28px);min-width:0}.tmr-k-columns{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.tmr-k-columns[hidden],.tmr-k-other[hidden],.tmr-k-stock[hidden]{display:none}.tmr-k-columns>section{min-width:0;min-height:420px}.tmr-k-columns h2{font:900 14px/1 'Roboto Condensed',Impact,sans-serif;padding:11px 12px;margin:0 0 10px;background:#33271d;color:#f6e9d8;letter-spacing:.035em;border-left:4px solid var(--tmr-k-orange)}.tmr-k-columns [data-stage="accepted"] h2{border-left-color:#a88959}.tmr-k-columns [data-stage="preparing"] h2{border-left-color:#4f86b3}.tmr-k-columns [data-stage="ready"] h2{border-left-color:#3c9562}.tmr-k-ticket-card{display:block;text-align:left;width:100%;border:1px solid #ddd0c1;border-left:4px solid #b76427;background:#fffaf3;border-radius:6px;padding:13px 11px;margin-bottom:9px;box-shadow:0 2px 8px #37221909;color:#2b1b11;min-height:125px}.tmr-k-ticket-card:hover,.tmr-k-ticket-card.is-selected{border-color:#d16a21;background:#fff2e1;box-shadow:0 0 0 2px #f3bc8c}.tmr-k-ticket-top{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:12px}.tmr-k-ticket-top b{font:900 23px/1 'Roboto Condensed',Impact,sans-serif}.tmr-k-ticket-card>strong{display:block;font-size:13px;margin:8px 0 4px}.tmr-k-ticket-sub{display:block;color:#765843;font-size:11px;line-height:1.5}.tmr-k-ticket-tag{display:inline-block;background:#e8dacb;color:#5a3a25;border-radius:3px;font-size:10px;font-weight:900;padding:5px 6px;margin-top:9px}.tmr-k-detail{padding:22px 20px;background:#fffaf3;border-left:1px solid #e3d1be;min-height:100%;position:sticky;top:0;align-self:start;max-height:100vh;overflow-y:auto}.tmr-k-no-order{padding:20px 0;color:#69574a}.tmr-k-no-order h2{font:900 28px 'Roboto Condensed',Impact,sans-serif}.tmr-k-detail-head>span{font-weight:800;color:#b95416;font-size:10px;letter-spacing:.14em}.tmr-k-detail-head h2{font:900 55px/.95 'Roboto Condensed',Impact,sans-serif;margin:10px 0 12px}.tmr-k-due{font-weight:900;font-size:20px;background:#251811;color:#fff;padding:11px 13px}.tmr-k-detail-head p{font-weight:850;margin:13px 0 4px}.tmr-k-detail-head small{color:#755c4c;font-size:11px}.tmr-k-payment{font-size:12px;font-weight:850;letter-spacing:.02em;padding:11px;margin:14px 0}.tmr-k-payment.is-due{background:#fff0c8;color:#663e04}.tmr-k-payment.is-paid{background:#e0f0e5;color:#28583a}.tmr-k-ticket-lines{border-top:2px solid #271b15;margin-top:17px;padding-top:9px}.tmr-k-ticket-lines h3{font-size:11px;color:#755846;letter-spacing:.1em}.tmr-k-line{padding:11px 0;border-bottom:1px dashed #cbbbaa}.tmr-k-line strong{font-size:17px;display:block;line-height:1.35}.tmr-k-line p{font-size:13px;margin:5px 0 0 14px;color:#604735}.tmr-k-note,.tmr-k-alert{border:2px solid #bb772f;padding:12px;margin-top:13px;font-size:13px;white-space:pre-line}.tmr-k-alert{background:#fff1dc;border-color:#b94d22}.tmr-k-note b,.tmr-k-alert b{font-size:11px;letter-spacing:.06em}.tmr-k-note p,.tmr-k-alert p{margin:6px 0 0}.tmr-k-detail-actions{display:grid;gap:8px;margin:18px 0}.tmr-k-detail-actions button{min-height:48px;font-weight:900;font-size:12px;letter-spacing:.04em;border:1px solid #c5a991;border-radius:6px;padding:10px;color:#271b14;background:transparent}.tmr-k-detail-actions .tmr-k-primary{background:#e56d1f;border-color:#e56d1f;color:#fff;font-size:14px;min-height:58px}.tmr-k-detail-actions .tmr-k-danger{color:#96351d;border-color:#bf7b6d}.tmr-k-print{display:flex;gap:8px}.tmr-k-print button:first-child{flex:1}.tmr-k-footnote{font-size:11px;color:#816956}.tmr-k-other h2,.tmr-k-stock h2{font:900 27px 'Roboto Condensed',Impact,sans-serif}.tmr-k-other>p,.tmr-k-stock>p{color:#6d5442;font-size:13px}.tmr-k-other .tmr-k-ticket-card{max-width:520px;min-height:auto}.tmr-k-empty{color:#927c68;font-size:12px;margin:10px}.tmr-k-stock-row{display:flex;justify-content:space-between;gap:12px;max-width:660px;border-bottom:1px solid #dccab7;padding:14px 8px;font-size:14px;min-height:50px}.tmr-k-stock-row input{width:20px;height:20px;vertical-align:middle;accent-color:#d96a1e}.tmr-k-footer{background:#efe4d6;border-top:1px solid var(--tmr-k-border);padding:14px clamp(12px,2vw,32px);display:flex;align-items:center;gap:12px;flex-wrap:wrap}.tmr-k-footer button,.tmr-k-footer a{min-height:42px;padding:10px 12px;color:#3a271b;background:#fff9f2;border:1px solid #ceb9a2;border-radius:5px;font-size:12px;font-weight:850;text-decoration:none}.tmr-k-footer span{font-size:11px;color:#6e5a4b}.tmr-k-stage-tabs{display:none}.tmr-k-modal{border:none;border-radius:9px;box-shadow:0 16px 45px #0007;width:min(460px,calc(100vw - 30px));padding:26px;background:#fffaf3;color:#2b2019}.tmr-k-modal::backdrop{background:#090706a9}.tmr-k-modal h2{font:900 29px 'Roboto Condensed',Impact,sans-serif;margin:0}.tmr-k-modal p{font-size:13px;color:#6d5441}.tmr-k-modal label{font-size:13px;font-weight:800;display:block;margin:16px 0 7px}.tmr-k-modal textarea,.tmr-k-modal select{width:100%;min-height:44px;border:1px solid #b69d88;padding:10px;background:#fff}.tmr-k-confirm{display:flex!important;align-items:center;gap:10px}.tmr-k-confirm input{width:20px;height:20px}.tmr-k-modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:20px}.tmr-k-modal-actions button{min-height:46px;padding:11px 16px;background:#f1dfcd;border:0;border-radius:4px;font-weight:800}.tmr-k-modal-actions button[type=submit]{background:#d9681d;color:#fff}
@media(max-width:1250px){.tmr-k-layout{grid-template-columns:minmax(0,1fr) 320px}.tmr-k-columns{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.tmr-k-layout{display:block}.tmr-k-detail{position:static;max-height:none;border-left:0;border-top:2px solid #d5b99e;margin:0;padding:22px}.tmr-k-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.tmr-k-columns>section{min-height:200px}}
@media(max-width:540px){.tmr-k-header{padding:12px;align-items:flex-start}.tmr-k-logo h1{font-size:24px}.tmr-k-logo>span{font-size:8px}.tmr-k-status{gap:8px;flex-wrap:wrap;justify-content:flex-end}.tmr-k-status time{font-size:16px}.tmr-k-status button{font-size:10px;min-height:36px}.tmr-k-tabs{padding:0 8px}.tmr-k-tabs button{min-height:52px;padding:8px 12px;font-size:11px}.tmr-k-summary{gap:8px;padding:10px}.tmr-k-summary>div{padding-right:8px;gap:5px}.tmr-k-summary span{font-size:9px}.tmr-k-summary strong{font-size:18px}.tmr-k-board{padding:12px}.tmr-k-stage-tabs{display:flex;gap:6px;overflow-x:auto;padding-bottom:10px}.tmr-k-stage-tabs button{background:#f8efe4;border:1px solid #c9b49e;padding:10px 12px;font-size:11px;font-weight:900;white-space:nowrap;min-height:43px;border-radius:5px}.tmr-k-stage-tabs button.is-current{background:#2d2119;color:#fff;border-color:#2d2119}.tmr-k-columns{display:block}.tmr-k-columns>section{display:none;min-height:0}.tmr-k-columns>section[data-stage="new"]{display:block}.tmr-k-columns>section.is-mobile-visible{display:block}.tmr-k-columns:has(>section.is-mobile-visible)>section:not(.is-mobile-visible){display:none}.tmr-k-ticket-card{min-height:110px}.tmr-k-detail-head h2{font-size:43px}.tmr-k-due{font-size:17px}.tmr-k-footer span{width:100%}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Operational controls: inline payment, timed pauses and modifier availability. */
.tmr-k-inline-payment{background:#fcf0df;border:1px solid #cda67d;border-radius:8px;padding:13px;display:grid;gap:8px}
.tmr-k-inline-payment>b{font-size:13px;letter-spacing:.05em}.tmr-k-inline-payment small{color:#745442;font-size:12px}
.tmr-k-pay-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.tmr-k-pay-actions button{min-height:52px;padding:10px 6px;font-size:12px}
.tmr-k-print a.tmr-k-secondary{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;text-align:center}
.tmr-k-pause-choice{display:inline-flex;align-items:center;gap:8px;color:#f1d8c0;font-size:12px;font-weight:750}.tmr-k-pause-choice select{min-height:38px;max-width:140px;background:#fff;color:#26160d;border:1px solid #bca288;border-radius:5px;padding:6px}
#tmr-silence-alert:not([hidden]){background:#f18c34;color:#24140a;border-color:#f18c34;font-weight:900}
.tmr-k-stock-product{border:1px solid #decbb9;border-radius:8px;margin:10px 0;background:#fffdf9;overflow:hidden}
.tmr-k-stock-options{padding:6px 12px 10px 23px;background:#fff8ee;border-top:1px dashed #d3bfae}
.tmr-k-stock-choice{display:flex;justify-content:space-between;align-items:center;gap:10px;border-bottom:1px solid #edd9c5;padding:9px 0;font-size:12px;color:#3b2616}
.tmr-k-stock-choice:last-child{border-bottom:0}.tmr-k-stock-choice input{width:20px;height:20px;vertical-align:middle}
@media(max-width:700px){.tmr-k-pay-actions{grid-template-columns:1fr}.tmr-k-pause-choice{width:100%;justify-content:space-between}}
/* Visible operations toolbar, intentionally not hidden at bottom of long order boards. */
.tmr-k-footer{background:#33241a;color:#fff3e7;border:0;border-bottom:1px solid #77543c;padding:11px clamp(12px,2vw,32px);gap:9px}
.tmr-k-pause-choice{color:#fff3e7;font-size:13px}.tmr-k-pause-choice select{color:#26160d;background:#fffdf9;min-height:44px;max-width:160px}
.tmr-k-footer button,.tmr-k-footer a{background:#fff6eb;color:#2a1b10;border-color:#c5a589}
.tmr-k-footer #tmr-pause-button{background:#e77728;color:#fff;border-color:#e77728}
.tmr-k-footer a:hover,.tmr-k-footer button:hover{filter:brightness(.96)}
.tmr-k-print a.tmr-k-secondary{font:900 12px/1.2 Inter,system-ui,sans-serif;letter-spacing:.03em;color:#24180f;border:1px solid #bc997b;background:#fff6e9;border-radius:6px;padding:12px 8px;min-height:49px;flex:1}
.tmr-k-print a.tmr-k-secondary:hover{background:#f6e3cd}
@media(max-width:540px){.tmr-k-footer{align-items:center;gap:10px;padding:11px 12px}.tmr-k-pause-choice{flex:1}.tmr-k-pause-choice select{max-width:140px}.tmr-k-footer #tmr-refresh-button{order:3}.tmr-k-footer>a{order:4}.tmr-k-footer #tmr-pause-button{order:2}.tmr-k-print{gap:8px}}

/* v0.9: stages are recognisable before reading button text. */
.tmr-k-detail-actions .tmr-k-primary.is-stage-new{background:#d7651d;color:#fff;border-color:#d7651d}
.tmr-k-detail-actions .tmr-k-primary.is-stage-accepted{background:#205c9d;color:#fff;border-color:#205c9d}
.tmr-k-detail-actions .tmr-k-primary.is-stage-preparing{background:#247850;color:#fff;border-color:#247850}
.tmr-k-detail-actions .tmr-k-primary.is-stage-ready{background:#236c66;color:#fff;border-color:#236c66}
.tmr-k-detail-actions .tmr-k-primary.is-stage-collected{background:#333f4b;color:#fff;border-color:#333f4b}
.tmr-k-pause-choice select{max-width:200px;min-height:42px;padding:8px 10px}
.tmr-pause-status{font-weight:750;font-size:12px;line-height:1.45;color:#5e3820;flex:1 1 250px}
.tmr-k-footer{flex-wrap:wrap}
.tmr-k-print button{width:100%;min-width:0}
/* Final receipt action sizing: prevent narrow flex buttons from collapsing into vertical text. */
.tmr-k-print{display:grid;grid-template-columns:minmax(0,1fr) 78px;gap:8px;min-width:0}
.tmr-k-detail-actions .tmr-k-print button{display:flex;align-items:center;justify-content:center;min-height:50px;min-width:0;width:auto!important;margin:0;text-align:center;font:900 12px/1.2 Inter,Arial,sans-serif;letter-spacing:0;white-space:normal;overflow-wrap:normal}
.tmr-k-pause-status,.tmr-pause-status{color:#f1d8c0;font-weight:800}
@media(max-width:400px){.tmr-k-print{grid-template-columns:minmax(0,1fr) 65px}}

/* v0.9.2: clearly surface accepted scheduled orders while showing live work. */
.tmr-k-upcoming-prompt:not([hidden]){display:flex;gap:12px;align-items:center;flex-wrap:wrap;background:#fff2df;color:#321b0d;padding:10px 18px;border-bottom:2px solid #d77a25;font-size:13px}.tmr-k-upcoming-prompt strong{font-weight:900}.tmr-k-upcoming-prompt button{border:1px solid #a7521e;background:#fff7ec;color:#552b14;padding:7px 12px;font-weight:800;cursor:pointer}.tmr-k-upcoming-prompt button:focus-visible{outline:3px solid #e7791d;outline-offset:2px}

/* v0.9.8: in-page ticket printing, sound gate, unseen orders, availability search. */
#tmr-print-root{display:none}
#tmr-print-root.is-measuring{display:block;position:fixed;left:-10000px;top:0;visibility:hidden;background:#fff}
@media print{
 html,body,body.tmr-kitchen-page{background:#fff!important;margin:0!important;padding:0!important;min-height:0!important}
 body.tmr-printing>*:not(#tmr-print-root){display:none!important}
 body.tmr-printing #tmr-print-root{display:block!important;position:static;visibility:visible}
}
.tmr-k-sound-gate{display:block;width:100%;border:0;background:#f28b2f;color:#1b100a;padding:16px 20px;text-align:left;font:inherit;cursor:pointer}
.tmr-k-sound-gate[hidden]{display:none}
.tmr-k-sound-gate strong{display:block;font:900 18px/1.2 'Roboto Condensed',Impact,sans-serif;letter-spacing:.02em}
.tmr-k-sound-gate span{display:block;font-size:13px;margin-top:3px}
#tmr-enable-sound.is-on{background:#1e4230;border-color:#478159;color:#d2f6d7}
.tmr-k-ticket-card.is-unseen{border-left-color:#e2431b;animation:tmr-k-pulse 1.6s ease-in-out infinite}
@keyframes tmr-k-pulse{50%{box-shadow:0 0 0 4px #f3a26b}}
.tmr-k-ticket-allergy{display:inline-block;margin:9px 0 0 6px;background:#b94d22;color:#fff;border-radius:3px;font-size:10px;font-weight:900;padding:5px 6px}
.tmr-k-print{display:grid;grid-template-columns:1fr;gap:4px}
.tmr-k-print-note{font-size:11px;color:#6d5442}
.tmr-k-check{display:inline-flex;align-items:center;gap:8px;color:#fff3e7;font-size:13px;font-weight:750;min-height:44px}
.tmr-k-check input{width:22px;height:22px;accent-color:#e77728}
.tmr-k-footer #tmr-pause-button.is-resume{background:#247850;border-color:#247850}
.tmr-kitchen.is-paused .tmr-k-header{border-bottom-color:#c0392b}
.tmr-k-stock-search{display:grid;gap:6px;max-width:660px;font-size:12px;font-weight:800;color:#5a3a25;margin:6px 0 4px}
.tmr-k-stock-search input{min-height:46px;border:1px solid #b69d88;border-radius:6px;padding:10px;font-size:16px;background:#fff}
.tmr-k-stock-help{font-size:12px;color:#6d5442}
.tmr-k-stock-group{max-width:760px;margin:18px 0}
.tmr-k-stock-group>h3{font:900 18px 'Roboto Condensed',Impact,sans-serif;margin:0 0 6px;color:#2b1b11}
.tmr-k-stock-group>p{font-size:12px;color:#6d5442;margin:0 0 6px}
.tmr-k-stock-row small{display:block;color:#806652;font-size:11px;font-weight:600}
.tmr-k-stock-options summary{cursor:pointer;font-size:12px;font-weight:800;padding:10px 0;min-height:44px;display:flex;align-items:center}
.tmr-k-stock-row input,.tmr-k-stock-choice input{width:24px;height:24px}
.tmr-k-detail[hidden]{display:none}
.tmr-k-detail-head a{color:inherit}
.tmr-k-layout:has(>.tmr-k-detail[hidden]){grid-template-columns:minmax(0,1fr)}
.tmr-k-pause-choice[hidden],.tmr-k-check[hidden]{display:none!important}
.tmr-k-footer .tmr-pause-status{color:#f1d8c0!important;font-weight:800}
.tmr-k-line p.is-omit{font-weight:900;color:#8d2b12}
