@font-face{font-family:Desk;src:url('assets/dm-sans.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:Desk;src:url('assets/manrope.woff2') format('woff2');font-style:normal;font-weight:700;font-display:swap}
@font-face{font-family:Manrope;src:url('assets/manrope.woff2') format('woff2');font-style:normal;font-weight:700;font-display:swap}
:root{color-scheme:light;--paper:#f5f3ed;--white:#fffefa;--ink:#193b30;--muted:#6c776e;--line:#dde2d7;--soft:#edf1e8;--accent:#a64a32;--red:#a63b2f;--shadow:0 8px 28px #193b3005;font-family:Desk,Arial,sans-serif;background:var(--paper);color:var(--ink)}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}button,a{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #ac553b;outline-offset:3px}a{color:inherit}p{line-height:1.6}h1,h2,h3,p{margin-top:0}h1,h2,h3{letter-spacing:-.035em}h1,h2{font-family:Manrope,Arial,sans-serif}button{border:0}label{display:block;font-weight:700;font-size:12px;margin-bottom:8px}input,textarea,select{width:100%;min-width:0;border:1px solid #c3ccbf;border-radius:8px;padding:12px 14px;background:var(--white);color:var(--ink);font-size:16px;line-height:1.45}textarea{resize:vertical}input[type=checkbox]{width:19px;min-width:19px;height:19px;padding:0;accent-color:var(--ink)}input::placeholder,textarea::placeholder{color:#8b9189}input[type=search]::-webkit-search-cancel-button{display:none}[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}.skip-link{position:fixed;left:-9999px;top:12px;z-index:100;padding:12px 18px;border-radius:8px;background:var(--ink);color:white}.skip-link:focus{left:12px}
.desk-header{min-height:82px;padding:17px clamp(20px,3vw,48px);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:24px;background:var(--white)}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-family:Manrope,Arial,sans-serif;font-size:22px;font-weight:800;line-height:1.2;letter-spacing:-.8px;flex-shrink:0}.brand-mark{width:42px;height:42px;display:grid;place-items:center;background:var(--ink);color:var(--white);border-radius:50% 50% 8px 50%;font-family:Georgia,serif;font-size:29px;font-style:italic}.brand small{display:block;margin-top:5px;font:9px Desk,Arial,sans-serif;letter-spacing:1.9px;text-transform:uppercase;color:var(--muted)}.header-end,#desk-tools{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end}.header-end{gap:16px}.connection-badge{display:inline-flex;align-items:center;gap:7px;font-size:11px;padding:8px 10px;border-radius:30px;background:#edf3e9;white-space:nowrap}.connection-badge::before{content:'';width:6px;height:6px;border-radius:50%;background:#87918a}.connection-badge[data-state=online]::before{background:#448456}.connection-badge[data-state=offline]{background:#faebe5;color:var(--red)}.connection-badge[data-state=offline]::before{background:var(--red)}.quiet-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 12px;min-height:40px;background:transparent;color:var(--ink);font-size:11px;border:1px solid var(--line);border-radius:7px;line-height:1.35;text-decoration:none}.quiet-button:hover{background:var(--soft);border-color:#bdcbb9}.quiet-button[aria-pressed=true]{background:var(--ink);color:var(--white);border-color:var(--ink)}.logout-button{border-color:transparent;color:var(--muted)}main{max-width:1680px;margin:auto;padding:26px clamp(20px,3vw,48px) 32px}.eyebrow{font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:1.8px;color:var(--muted);margin-bottom:15px}.button{display:inline-flex;align-items:center;justify-content:center;gap:16px;border-radius:8px;padding:13px 18px;min-height:48px;font-weight:700;font-size:13px;text-decoration:none;line-height:1.45}.primary{background:var(--ink);color:var(--white)}.primary:hover{background:#285442}.secondary{background:var(--white);color:var(--ink);border:1px solid #bbc9bc}.secondary:hover{background:var(--soft)}.danger{background:#fbebe5;color:var(--red);border:1px solid #e0c0b1}.small-muted{font-size:11px;color:var(--muted);line-height:1.65;margin-bottom:0}.global-error{margin:0 0 22px;background:#f8e8df;border:1px solid #dfbaa7;padding:14px 18px;border-radius:8px;color:#7d2c20;font-size:13px;line-height:1.6}.form-error{font-size:12px;color:var(--red);line-height:1.6;margin-top:13px;margin-bottom:0}
.login-wrap{min-height:calc(100dvh - 180px);display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:clamp(45px,8vw,130px);align-items:center;max-width:1120px;margin:auto;padding:45px 0 65px}.login-intro{padding:34px 0}.login-intro h1{font-size:clamp(37px,4.3vw,57px);font-weight:700;line-height:1.12;margin-bottom:22px;max-width:610px}.login-intro>p:not(.eyebrow){max-width:440px;font-size:15px;color:var(--muted)}.login-path{list-style:none;margin:30px 0 0;padding:0;max-width:420px}.login-path li{display:flex;align-items:flex-start;gap:15px;padding:15px 0;border-bottom:1px solid var(--line)}.login-path li>span{font-size:10px;letter-spacing:1px;color:var(--accent);font-weight:700;padding-top:4px}.login-path strong{display:block;font-size:13px}.login-path small{display:block;font-size:11px;color:var(--muted);margin-top:5px;line-height:1.5}.login-footnote{display:flex;gap:13px;margin-top:27px;align-items:flex-start}.login-footnote>span{display:grid;place-items:center;width:32px;height:32px;border:1px solid #cbd3c7;border-radius:50%;font-size:18px;flex-shrink:0}.login-footnote p{font-size:11px;color:var(--muted);margin:0}.login-footnote strong{color:var(--ink)}.login-card{background:var(--white);border:1px solid var(--line);border-top:3px solid var(--ink);border-radius:14px;padding:35px;box-shadow:var(--shadow)}.login-lock{width:38px;height:38px;display:grid;place-items:center;border:1px solid #d3decc;border-radius:10px;background:var(--soft);margin-bottom:27px}.login-lock svg{width:21px;height:21px}.login-card .eyebrow{display:block;font-size:8px;letter-spacing:1.5px}.login-card h2{font-size:23px;margin:14px 0 10px}.login-card>p:not(.small-muted):not(.form-error){font-size:13px;color:var(--muted);margin-bottom:25px}.login-card .button{width:100%;justify-content:space-between;margin-top:16px}.login-card input{min-height:50px}.login-card .small-muted{padding-top:18px;margin-top:21px;border-top:1px solid var(--line)}
.reception-panel{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:0 0 25px}.reception-kicker{display:flex;align-items:center;gap:15px;margin-bottom:8px;flex-wrap:wrap}.reception-kicker .eyebrow{margin:0}.desk-clock{font-size:10px;color:var(--muted);font-variant-numeric:tabular-nums}.reception-panel h1{font-size:clamp(24px,2.8vw,34px);margin:0 0 8px;line-height:1.2}.reception-copy>p{color:var(--muted);font-size:12px;margin:0}.reception-controls{text-align:right;flex-shrink:0}.reception-controls .button{min-width:166px;min-height:46px}.reception-controls p{font-size:10px;color:var(--muted);margin:9px 0 0;font-variant-numeric:tabular-nums}.reception-panel[data-active=true] h1::before{content:'';display:inline-block;width:9px;height:9px;background:#438151;border-radius:50%;margin-right:10px;vertical-align:middle}.desk-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:0 0 23px;border:1px solid var(--line);border-radius:11px;background:var(--white);box-shadow:var(--shadow);overflow:hidden}.stat-card{padding:18px 22px;min-width:0;position:relative}.stat-card+.stat-card{border-left:1px solid var(--line)}.stat-label{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--muted);line-height:1.4}.stat-card>strong{display:block;font-family:Manrope,Arial,sans-serif;font-size:29px;line-height:1.2;letter-spacing:-1px;margin:9px 0 6px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.stat-card>small{display:block;font-size:10px;line-height:1.5;color:var(--muted)}.stat-new{background:#f9f5ee}.stat-new>strong{color:var(--accent)}.stat-dot{width:5px;height:5px;border-radius:50%;background:var(--accent)}.desk-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:16px}.desk-search-wrap{display:flex;align-items:center;position:relative;flex:1;max-width:670px;min-width:0;background:var(--white);border:1px solid var(--line);border-radius:8px}.desk-search-wrap:focus-within{border-color:#849a84;box-shadow:0 0 0 3px #193b3008}.desk-search-wrap>svg{width:18px;height:18px;flex-shrink:0;margin-left:15px;color:#788576}.desk-search-wrap input{padding:12px 72px 12px 11px;border:0;background:transparent;min-height:46px;font-size:12px;border-radius:8px;outline:none}.desk-search-wrap input:focus-visible{outline:none}.desk-search-wrap:has(input:focus-visible){outline:3px solid #ac553b;outline-offset:2px}.search-clear{position:absolute;right:32px;top:5px;width:35px;height:35px;background:transparent;color:var(--muted);font-size:20px;border-radius:6px}.search-clear:hover{background:var(--soft);color:var(--ink)}kbd{display:inline-flex;align-items:center;justify-content:center;border:1px solid #dce1d6;background:#f5f5ef;border-radius:4px;min-width:22px;min-height:23px;font:11px Desk,Arial,sans-serif;color:var(--muted);padding:2px 5px}.desk-search-wrap>kbd{position:absolute;right:11px;top:12px;pointer-events:none;min-width:18px;min-height:21px;font-size:10px}.desk-toolbar-actions{display:flex;gap:8px;flex-shrink:0}.next-button{background:var(--ink);color:var(--white);min-height:46px;padding:11px 17px;font-size:11px}.next-button:hover{background:#285442}.desk-toolbar-actions .quiet-button{font-size:11px;min-height:46px;padding-inline:15px}
.desk-workspace{display:grid;grid-template-columns:330px minmax(0,1fr);border:1px solid var(--line);border-radius:12px;background:var(--white);box-shadow:var(--shadow);min-height:570px;overflow:hidden;align-items:stretch}.orders-sidebar{min-width:0;border-right:1px solid var(--line);background:#f6f7f0}.list-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:23px 20px 19px}.list-heading .eyebrow{font-size:8px;margin:0 0 7px;letter-spacing:1.3px}.list-heading h2{font-size:20px;margin:0}.list-heading>span{font-size:10px;color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap}.order-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:0 14px 15px;min-width:0}.order-filters button{display:flex;align-items:center;justify-content:space-between;gap:5px;padding:10px 8px;border:1px solid transparent;border-radius:6px;font-size:9px;background:transparent;color:var(--muted);min-height:40px;text-align:left;min-width:0;flex-wrap:wrap}.order-filters button[aria-pressed=true]{background:var(--ink);color:white;box-shadow:0 3px 6px #193b300b}.order-filters button:not([aria-pressed=true]):hover{background:#e8eddf}.order-filters span{font-size:9px;font-variant-numeric:tabular-nums;background:#ffffff90;border-radius:4px;padding:2px 5px;color:var(--ink);flex-shrink:0}.queue-controls{display:grid;grid-template-columns:1fr 1fr;gap:9px;padding:14px 17px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#f0f3e9}.queue-controls>div{min-width:0}.queue-controls label{font-size:9px;font-weight:400;color:var(--muted);margin-bottom:6px}.queue-controls select{font-size:10px;padding:8px 22px 8px 8px;min-height:35px;border-radius:5px;border-color:#d2dacb;max-width:100%}.search-summary{font-size:10px;color:var(--muted);padding:12px 18px 0;margin:0;line-height:1.5;overflow-wrap:anywhere}.order-list{padding:11px;max-height:780px;overflow:auto;min-width:0;scrollbar-width:thin;scrollbar-color:#cbd4c3 transparent}.order-card{display:block;width:100%;padding:15px 13px;border:1px solid #dde3d5;border-radius:8px;text-align:left;background:var(--white);color:var(--ink);margin-bottom:8px;min-width:0;position:relative;transition:background .12s,border-color .12s}.order-card:hover{border-color:#a7b79e;background:#fcfcf8}.order-card[aria-pressed=true]{border-color:#426148;box-shadow:inset 3px 0 0 #2c503b;background:#eaf0e3}.order-card[data-status=received]{border-left:3px solid var(--accent)}.order-card[data-urgency=high]{border-left:3px solid var(--red)}.order-card[data-urgency=high] .order-wait{color:var(--red);background:#fae8df}.order-card[data-urgency=medium] .order-wait{color:#8c5d20;background:#f7eed9}.order-card-top,.order-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px}.order-card-top strong{font-size:11px;letter-spacing:.1px;overflow-wrap:anywhere;min-width:0}.order-card-top time{font-size:10px;color:var(--muted);white-space:nowrap;flex-shrink:0}.order-card h3{margin:11px 0 8px;font-size:13px;line-height:1.4;overflow-wrap:anywhere;letter-spacing:0}.order-card-bottom{font-size:10px;color:var(--muted);line-height:1.5}.order-card-bottom strong{color:var(--ink);white-space:nowrap;font-size:12px;font-variant-numeric:tabular-nums}.order-card-meta{display:flex;align-items:center;justify-content:space-between;gap:5px;flex-wrap:wrap;margin-top:12px;padding-top:10px;border-top:1px solid #d9e1d480;font-size:9px;color:var(--muted)}.order-wait{display:inline-flex;padding:3px 6px;border-radius:4px;background:#f1f2e9;font-size:9px;font-variant-numeric:tabular-nums;line-height:1.5}.method-chip{display:inline-flex;align-items:center;gap:4px;padding:3px 6px;border:1px solid #dbe2d3;border-radius:4px;font-size:9px;color:var(--muted);background:#ffffff70}.method-chip[data-method=delivery]{color:#6f5d35;background:#f6f0df;border-color:#e9dfc5}.list-empty{padding:33px 17px;text-align:center;font-size:12px;color:var(--muted);line-height:1.7}.order-detail{padding:28px clamp(22px,3vw,45px) 35px;min-width:0;overflow-wrap:anywhere}.empty-detail{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:450px;padding:30px}.empty-detail>span{display:grid;place-items:center;width:58px;height:58px;border:1px solid #c4d2bc;border-radius:50%;font-size:24px;color:#587950;margin-bottom:25px;background:#f7faf3}.empty-detail h2{font-size:24px;margin-bottom:12px}.empty-detail p{color:var(--muted);font-size:13px;max-width:350px;margin-bottom:0}.empty-detail>small{font-size:10px;color:#8d978b;margin-top:30px}.detail-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:22px}.detail-heading h2{font-size:27px;margin:9px 0;line-height:1.25}.detail-heading p{color:var(--muted);font-size:11px;margin-bottom:0}.status-chip{display:inline-flex;gap:6px;align-items:center;font-size:9px;font-weight:700;padding:6px 8px;border-radius:4px;background:var(--soft);color:var(--ink);white-space:nowrap}.status-chip::before{content:'';width:4px;height:4px;background:currentColor;border-radius:50%}.status-chip[data-status=received]{background:#fae9dc;color:#994c30}.status-chip[data-status=rejected]{background:#f9e6e2;color:#9a3b31}.status-chip[data-status=accepted]{background:#edf2de;color:#57703b}.status-chip[data-status=transferred]{background:#e3eee1;color:#365d38}.detail-heading .quiet-button{margin-top:9px;font-size:10px;min-height:37px;max-width:160px}.detail-workflow{display:flex;list-style:none;padding:0;margin:0 0 23px;gap:12px}.detail-workflow li{position:relative;flex:1;padding-top:10px;border-top:2px solid #e0e6d8;color:#8b9587;font-size:10px;line-height:1.5}.detail-workflow li.done,.detail-workflow li[data-state=done]{border-color:#789369;color:#527248}.detail-workflow li.current,.detail-workflow li[data-state=current]{border-color:var(--accent);color:var(--ink);font-weight:700}.detail-timebar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:10px 13px;border:1px solid #e2e7d9;background:#f6f8f0;border-radius:7px;font-size:10px;color:var(--muted);margin-bottom:22px;font-variant-numeric:tabular-nums}.detail-timebar[data-urgency=high]{background:#fcf0e9;border-color:#edd0bd;color:#9a4b32}.detail-quick-tools{display:flex;gap:6px;flex-wrap:wrap;margin:-5px 0 21px}.detail-quick-tools .quiet-button{font-size:10px;min-height:37px;padding:8px 10px}.detail-customer{display:grid;grid-template-columns:1fr 1fr;gap:25px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:20px 0;margin-bottom:23px}.detail-customer h3,.detail-items h3{font-size:9px;text-transform:uppercase;letter-spacing:1.4px;color:var(--muted);margin-bottom:10px}.detail-customer p{font-size:13px;margin:0;line-height:1.8}.detail-customer a{display:inline-block;margin-top:3px;text-decoration:underline;text-underline-offset:3px}.items-list{list-style:none;margin:0;padding:0}.detail-item{padding:15px 0;border-bottom:1px solid var(--line)}.detail-item:first-child{padding-top:5px}.item-main{display:flex;justify-content:space-between;gap:18px;align-items:baseline}.item-main strong{font-size:15px;line-height:1.5}.item-main>span{font-size:13px;white-space:nowrap;font-variant-numeric:tabular-nums}.item-variant,.item-extras{color:var(--muted);font-size:11px;line-height:1.6;margin:5px 0 0}.item-note{padding:10px 12px;background:#fbf3e7;border-left:2px solid #c1935c;border-radius:0 5px 5px 0;font-size:12px;line-height:1.65;margin:10px 0 0}.detail-total{display:flex;align-items:baseline;justify-content:space-between;gap:20px;padding:20px 0 7px}.detail-total span{font-size:12px}.detail-total strong{font-family:Manrope,Arial,sans-serif;font-size:26px;font-variant-numeric:tabular-nums;letter-spacing:-.6px}.payment-note{font-size:11px;color:var(--muted);line-height:1.65;margin-bottom:22px}.action-box{margin-top:23px;padding:23px;border:1px solid #cad7be;border-radius:9px;background:#f0f4e8}.action-box h3{font-size:17px;margin-bottom:9px;line-height:1.4}.action-box p,.action-box li{font-size:12px;line-height:1.7}.action-box p:last-child{margin-bottom:0}.action-row{display:flex;align-items:flex-end;gap:12px;margin-top:18px}.action-row>div{max-width:150px;min-width:0}.action-row>.button{flex:1;font-size:12px;padding-inline:12px}.action-row input{height:47px}.action-row label{font-size:11px}.action-box ol{padding-left:18px;margin-bottom:21px}.action-box li+li{margin-top:8px}.check-label{display:flex;align-items:flex-start;gap:10px;font-size:11px;line-height:1.7;margin-top:15px;font-weight:400}.check-label input{margin:2px 0 0}.transfer-form .button{width:100%;margin-top:9px}.transfer-form>label:not(.check-label){font-size:11px}.accept-presets,.rejection-presets{display:flex;flex-wrap:wrap;gap:6px;margin:13px 0}.accept-presets button,.rejection-presets button{background:#ffffffa0;color:var(--ink);border:1px solid #d4deca;border-radius:5px;min-height:35px;padding:7px 10px;font-size:10px}.accept-presets button:hover,.rejection-presets button:hover{background:#e2ebd5;border-color:#a2b790}.accept-presets button[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:var(--white)}.reject-section{margin-top:18px}.reject-section summary{cursor:pointer;min-height:44px;display:flex;align-items:center;color:var(--red);font-size:11px;text-decoration:underline;text-underline-offset:3px}.reject-section summary::before{content:'+';font-size:15px;margin-right:8px;text-decoration:none}.reject-section[open] summary::before{content:'−'}.reject-section form{padding:18px;border:1px solid #e6cbbb;border-radius:8px;background:#fcf5ef}.reject-section .button{margin-top:12px;font-size:11px;min-height:44px}.accepted-info{margin-bottom:18px;font-size:12px;color:var(--ink)}.action-box.transferred-box{background:#eaf2e5}.transfer-reference{display:block;font-family:Manrope,Arial,sans-serif;font-size:24px;font-weight:700;letter-spacing:.3px;margin:12px 0;overflow-wrap:anywhere}.delivery-warning{padding:11px 13px;background:#fcf1e4;border:1px solid #e9d0b2;border-radius:6px;color:#805733;font-size:11px;line-height:1.7;margin-top:16px}.reject-reason{white-space:pre-wrap}.handoff-checklist{list-style:none!important;padding:0!important}.handoff-checklist li{display:flex;gap:9px;align-items:flex-start}.handoff-checklist li::before{content:'✓';color:#799063;font-size:12px;flex-shrink:0}.audit-tools{padding-top:18px;border-top:1px solid var(--line);margin-top:23px;font-size:10px;color:var(--muted);line-height:1.7}.audit-tools h3{font-size:11px;color:var(--ink);letter-spacing:0}.internal-note-section{margin-top:23px;padding:20px;border:1px solid var(--line);border-radius:8px;background:#f9faf5}.internal-note-section h3{font-size:14px;margin-bottom:8px}.internal-note-section p,.note-meta{font-size:10px;color:var(--muted);line-height:1.7}.internal-note-form textarea{font-size:12px}.internal-note-form .button{font-size:11px;margin-top:10px;min-height:40px}.workflow-note{display:flex;gap:10px;margin:18px 0 0;padding:4px 2px;font-size:10px;line-height:1.65;color:var(--muted)}.workflow-note strong{color:var(--ink)}.workflow-icon{font-size:16px;color:#8e9e84;flex-shrink:0}.workflow-note strong{margin-right:4px}dialog{border:1px solid #d1daca;border-radius:13px;max-width:560px;width:calc(100% - 40px);max-height:calc(100dvh - 40px);overflow:auto;padding:28px;background:var(--white);color:var(--ink);box-shadow:0 24px 100px #193b3029}dialog::backdrop{background:#10271eb8;backdrop-filter:blur(3px)}dialog h2{font-size:24px;line-height:1.25;margin-bottom:14px}dialog p{font-size:12px;color:var(--muted)}dialog textarea{font-size:12px}dialog .button{width:100%;margin-top:18px}.shortcut-list{margin:25px 0;border-top:1px solid var(--line)}.shortcut-list>div{display:flex;align-items:center;gap:20px;padding:12px 0;border-bottom:1px solid var(--line)}.shortcut-list dt{min-width:90px;font-size:10px}.shortcut-list dd{margin:0;font-size:12px}.help-workflow{background:var(--soft);border-radius:8px;padding:18px;margin-top:24px}.help-workflow h3{font-size:14px;margin-bottom:12px}.help-workflow ol{padding-left:18px;font-size:11px;line-height:1.8}.help-workflow p{font-size:11px;margin-bottom:0}
body.desk-focus main{padding-top:16px}body.desk-focus .desk-stats,body.desk-focus .workflow-note{display:none}body.desk-focus .reception-panel{padding-bottom:17px}body.desk-focus .reception-panel h1{font-size:21px}body.desk-focus .reception-kicker,body.desk-focus .reception-copy>p{display:none}body.desk-focus .reception-controls{display:flex;align-items:center;gap:15px}body.desk-focus .reception-controls p{margin:0}body.desk-focus .reception-controls .button{min-height:39px;padding-block:9px;font-size:11px}body.desk-focus .desk-workspace{min-height:calc(100dvh - 230px)}body.desk-compact .order-card{padding:11px 12px}body.desk-compact .order-card h3{margin:7px 0;font-size:12px}body.desk-compact .order-card-meta{margin-top:8px;padding-top:7px}body.desk-compact .detail-item{padding-block:11px}
@media(min-width:1500px){.desk-workspace{grid-template-columns:360px minmax(0,1fr)}.order-detail{padding-right:65px;padding-left:45px}.order-card h3{font-size:14px}.stat-card{padding-block:20px}.stat-card>strong{font-size:31px}}
@media(max-width:1100px){.desk-header{padding-inline:24px}.header-end{gap:9px}.quiet-button{font-size:10px;padding-inline:10px}.desk-header .brand{font-size:20px}.desk-header .brand-mark{width:38px;height:38px;font-size:27px}main{padding-inline:24px}.desk-workspace{grid-template-columns:292px minmax(0,1fr)}.order-detail{padding:25px 24px 30px}.detail-heading{flex-wrap:wrap;gap:11px}.detail-heading h2{font-size:24px}.detail-heading .quiet-button{margin-top:0;max-width:none}.stat-card{padding:16px 18px}.stat-card>strong{font-size:25px}.stat-card>small{font-size:9px}.stat-label{font-size:10px}.action-box{padding:19px}.action-row{flex-wrap:wrap}.action-row>div{max-width:100%;width:100%}.action-row>.button{flex-basis:100%}.login-wrap{grid-template-columns:minmax(0,1fr) 350px;gap:55px}.login-card{padding:28px}.detail-customer{gap:17px}.detail-customer p{font-size:12px}.queue-controls{padding-inline:13px;gap:7px}.queue-controls select{font-size:9px}}
@media(max-width:900px){.desk-header{align-items:flex-start}.header-end{max-width:64%;gap:8px}.header-end,#desk-tools{gap:5px}.connection-badge{font-size:10px}.desk-header .quiet-button{padding:8px 9px;min-height:34px;font-size:9px}.desk-toolbar{gap:12px}.desk-search-wrap input{font-size:11px;padding-right:62px}.desk-search-wrap>svg{margin-left:12px;width:16px}.desk-toolbar-actions .quiet-button{padding-inline:11px;font-size:10px}.next-button{padding-inline:12px;font-size:10px;gap:10px}.desk-workspace{grid-template-columns:265px minmax(0,1fr)}.order-detail{padding:23px 20px 27px}.detail-customer{grid-template-columns:1fr;gap:18px}.item-main{gap:12px}.item-main strong{font-size:14px}.detail-heading h2{font-size:23px}.login-wrap{gap:35px}.login-intro h1{font-size:39px}.stat-card{padding:15px}.stat-label{font-size:9px}.stat-card>strong{font-size:23px}.reception-panel h1{font-size:28px}}
@media(max-width:740px){.desk-header{padding:15px 18px;gap:14px;flex-wrap:wrap;min-height:0}.brand{font-size:20px}.brand small{font-size:8px}.header-end{max-width:none;width:100%;justify-content:space-between;gap:8px}.header-end .connection-badge{background:transparent;padding-left:0}.header-end #desk-tools{flex:1;justify-content:flex-end}.desk-header .quiet-button{min-height:36px}.desk-header .logout-button{display:inline-flex}main{padding:23px 16px 27px}.login-wrap{grid-template-columns:minmax(0,1fr);gap:25px;padding:4px 5px 25px;min-height:0;max-width:440px}.login-intro{padding:18px 0 0}.login-intro h1{font-size:39px;margin-bottom:16px}.login-intro>p:not(.eyebrow){font-size:13px}.login-path{display:none}.login-footnote{display:none}.login-card{padding:26px}.login-lock{margin-bottom:23px}.reception-panel{gap:16px;align-items:flex-start;padding-bottom:21px}.reception-kicker{gap:8px;margin-bottom:8px}.reception-kicker .eyebrow{font-size:8px;letter-spacing:1.3px}.desk-clock{font-size:9px}.reception-panel h1{font-size:25px;line-height:1.3;margin-bottom:7px}.reception-copy>p{font-size:11px}.reception-controls .button{font-size:10px;min-width:0;min-height:43px;padding:10px 12px}.reception-controls p{font-size:8px;line-height:1.5;max-width:140px;margin-top:7px}.desk-stats{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:18px;border-radius:9px}.stat-card{padding:15px 16px}.stat-card:nth-child(3){border-left:0}.stat-card:nth-child(n+3){border-top:1px solid var(--line)}.stat-label{font-size:10px}.stat-card>strong{font-size:26px;margin:8px 0 5px}.stat-card>small{font-size:9px}.desk-toolbar{flex-wrap:wrap;gap:10px;margin-bottom:13px}.desk-search-wrap{flex-basis:100%;max-width:none}.desk-search-wrap input{font-size:12px;min-height:45px}.desk-toolbar-actions{width:100%;display:flex;justify-content:space-between}.desk-toolbar-actions .next-button{min-height:41px;font-size:11px;padding-inline:14px;flex:1}.desk-toolbar-actions .quiet-button{min-height:41px;font-size:10px;padding-inline:14px}.desk-workspace{grid-template-columns:minmax(0,1fr);border-radius:10px;min-height:0}.orders-sidebar{border-right:0;border-bottom:1px solid var(--line);min-width:0}.list-heading{padding:20px 17px 15px}.list-heading h2{font-size:19px}.list-heading .eyebrow{font-size:7px;margin-bottom:6px}.order-filters{grid-template-columns:repeat(3,minmax(0,1fr));padding:0 11px 13px;gap:3px}.order-filters button{font-size:9px;padding:8px 6px;min-height:40px;flex-wrap:wrap;gap:4px;justify-content:center;text-align:center}.order-filters span{font-size:8px;padding-inline:4px}.queue-controls{grid-template-columns:1fr 1fr;padding:12px 15px;gap:12px}.queue-controls select{font-size:11px;min-height:38px;padding:9px}.queue-controls label{font-size:9px}.search-summary{font-size:9px;padding:11px 15px 0}.order-list{display:flex;gap:8px;overflow-x:auto;overflow-y:hidden;padding:12px;scroll-snap-type:x proximity;max-height:240px;min-width:0}.order-card{min-width:230px;width:230px;max-width:230px;flex-shrink:0;margin:0;scroll-snap-align:start;padding:13px}.order-card h3{font-size:12px;margin:9px 0 7px}.order-card-top strong{font-size:10px}.order-card-top time{font-size:9px}.order-card-bottom{font-size:9px}.order-card-bottom strong{font-size:11px}.order-card-meta{font-size:8px;margin-top:10px;padding-top:8px}.order-wait{font-size:8px}.list-empty{padding:12px;margin:0;min-width:100%;width:100%;font-size:11px}.order-detail{padding:23px 20px 27px}.detail-heading{gap:11px;margin-bottom:20px}.detail-heading h2{font-size:24px}.detail-heading p{font-size:10px}.detail-heading .quiet-button{font-size:9px;min-height:36px}.detail-workflow{gap:8px;margin-bottom:19px}.detail-workflow li{font-size:9px}.detail-timebar{font-size:9px;margin-bottom:19px}.detail-quick-tools{gap:5px;margin-bottom:19px}.detail-quick-tools .quiet-button{font-size:9px;min-height:37px;padding:8px}.detail-customer{grid-template-columns:1fr 1fr;gap:16px;padding-block:19px;margin-bottom:21px}.detail-customer h3,.detail-items h3{font-size:8px}.detail-customer p{font-size:12px}.item-main strong{font-size:14px}.item-main>span{font-size:12px}.item-variant,.item-extras{font-size:10px}.item-note{font-size:11px}.detail-total strong{font-size:25px}.detail-total span{font-size:11px}.payment-note{font-size:10px}.action-box{padding:18px;margin-top:20px}.action-box h3{font-size:16px}.action-box p,.action-box li{font-size:11px}.action-row{flex-wrap:nowrap;gap:10px}.action-row>div{max-width:100px}.action-row>.button{flex-basis:auto;font-size:11px;padding-inline:10px}.check-label{font-size:10px}.transfer-form .button{font-size:11px}.empty-detail{min-height:270px;padding:25px 10px}.empty-detail h2{font-size:21px}.empty-detail p{font-size:12px}.empty-detail>small{font-size:9px;margin-top:23px}.workflow-note{font-size:9px;gap:8px;padding-inline:2px;margin-top:14px}.workflow-note strong{display:block;margin-bottom:4px}.accept-presets button,.rejection-presets button{min-height:36px}.internal-note-section{padding:16px}body.desk-focus .reception-panel{align-items:center}body.desk-focus .reception-panel h1{font-size:18px}body.desk-focus .reception-controls{display:block}body.desk-focus .reception-controls p{display:none}body.desk-focus .desk-workspace{min-height:0}}
@media(max-width:380px){.desk-header{padding-inline:16px}.header-end{flex-wrap:wrap}.header-end .connection-badge{font-size:9px}.header-end #desk-tools{gap:4px}.desk-header .quiet-button{padding:7px;font-size:8px;min-height:34px}.reception-panel{flex-wrap:wrap;gap:13px}.reception-controls{display:flex;align-items:center;gap:12px;text-align:left;width:100%}.reception-controls p{margin:0;max-width:none}.reception-panel h1{font-size:26px}.desk-clock{font-size:8px}.stat-card{padding:13px}.stat-label{font-size:9px}.stat-card>strong{font-size:24px}.stat-card>small{font-size:8px}.desk-search-wrap input{font-size:11px}.order-detail{padding-inline:16px}.detail-heading h2{font-size:22px}.detail-customer{grid-template-columns:1fr;gap:17px}.action-row{flex-wrap:wrap}.action-row>div{max-width:100%;width:100%}.action-row>.button{flex-basis:100%}.order-filters button{font-size:8px;padding-inline:5px}.order-filters span{font-size:8px}.queue-controls{padding-inline:12px;gap:9px}.queue-controls select{font-size:10px}.detail-workflow{gap:6px}.detail-workflow li{font-size:8px}.shortcut-list dt{min-width:78px}.shortcut-list dd{font-size:11px}dialog{padding:23px;width:calc(100% - 28px)}body.desk-focus .reception-controls{width:auto}body.desk-focus .reception-panel h1{font-size:17px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
.detail-workflow li > span{display:inline-block;margin-right:.55em;font-variant-numeric:tabular-nums;font-weight:700}
.order-attention{font-size:10px;line-height:1.5;margin:9px 0 0;color:#8c5d20}
.order-card[data-urgency=high] .order-attention{color:var(--red)}
.audit-tools summary{cursor:pointer;min-height:38px;padding-block:8px;color:var(--ink);font-size:12px}
.audit-tools dl{margin:9px 0 0}.audit-tools dl>div{display:grid;grid-template-columns:130px minmax(0,1fr);gap:14px;padding-block:7px}.audit-tools dt{color:var(--muted)}.audit-tools dd{margin:0;overflow-wrap:anywhere}
@media(max-width:540px){.audit-tools dl>div{grid-template-columns:1fr;gap:2px}}

/* Keep the complete team toolbar available on small screens. */
@media(max-width:740px){.desk-header{position:relative}.header-end{display:block;width:100%}.header-end>.connection-badge{position:absolute;right:18px;top:25px}.header-end #desk-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.desk-header .quiet-button{min-width:0;min-height:36px;font-size:10px}.desk-header #logout-button{grid-column:2/4;border:1px solid var(--line)}.desk-header #help-button{grid-column:1}.desk-toolbar-actions .quiet-button{min-height:42px}}
@media(max-width:380px){.header-end>.connection-badge{right:16px;top:23px}.desk-header .quiet-button{font-size:9px}}

/* Comfortable working text: extras and actions stay readable during a shift. */
.desk-search-wrap input{font-size:14px}.order-filters button{font-size:10px}.order-card h3{font-size:14px}.order-card-bottom{font-size:11px}.item-variant,.item-extras{font-size:12px}.detail-timebar{font-size:11px}.action-box p,.action-box li{font-size:13px}.check-label{font-size:12px}.detail-quick-tools .quiet-button{min-height:40px;font-size:11px}.accept-presets button,.rejection-presets button{min-height:40px;font-size:11px}
@media(max-width:740px){.desk-search-wrap input{font-size:16px}.desk-search-wrap input::placeholder{font-size:12px}.queue-controls select{font-size:16px;padding-inline:8px}.queue-controls label{font-size:10px}.order-filters button{font-size:10px}.order-card h3{font-size:13px}.order-card-bottom{font-size:10px}.item-variant,.item-extras{font-size:12px}.item-note{font-size:12px}.action-box p,.action-box li{font-size:12px}.check-label{font-size:11px}.detail-timebar{font-size:10px}.detail-quick-tools .quiet-button{min-height:40px;font-size:10px}.desk-header .quiet-button{font-size:11px}.accept-presets button,.rejection-presets button{min-height:40px;font-size:10px}}
@media(max-width:380px){.order-filters button{font-size:9px}.desk-header .quiet-button{font-size:10px}.queue-controls select{font-size:16px}}

/* E-Mail confirmation is separate from order and payment status. */
.mail-notice{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-top:22px;padding:18px;border:1px solid var(--line);border-radius:9px;background:#f8f7f0}
.mail-notice .eyebrow{font-size:9px;margin:0 0 8px}.mail-notice h3{font-size:14px;margin:0 0 7px}.mail-notice p:not(.eyebrow){font-size:12px;line-height:1.6;margin:5px 0 0;color:var(--muted)}
.mail-notice .mail-recipient,.contact-email{overflow-wrap:anywhere}.mail-notice .quiet-button{flex-shrink:0;font-size:11px}
.mail-notice[data-status=sent]{background:#eef5e9;border-color:#c4d9b9}.mail-notice[data-status=failed],.mail-notice[data-status=uncertain]{background:#fcf0e9;border-color:#edd0bd}
.accept-fee{margin-top:18px}.accept-fee input{max-width:170px}.accept-fee .small-muted{margin-top:7px;font-size:11px}.accept-total{display:flex;justify-content:space-between;gap:18px;padding-block:13px;border-bottom:1px solid #d5dfc9;font-size:12px}.accept-total strong{font-size:18px;white-space:nowrap}
.email-preview-text{white-space:pre-wrap;overflow-wrap:anywhere;font:13px/1.7 Desk,Arial,sans-serif;border-top:1px solid var(--line);padding-top:18px;color:var(--ink)}#email-preview-meta{overflow-wrap:anywhere}
@media(max-width:540px){.mail-notice{flex-direction:column;gap:12px}.mail-notice .quiet-button{width:100%}.accept-fee input{max-width:none}}
/* Catalog controls stay separate from the order being processed. */
.sales-controls{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:18px 0;padding:18px 22px;background:var(--paper,#fffef9);border:1px solid var(--line,#dce2d7);border-radius:16px}
.sales-controls .eyebrow{margin:0 0 5px}.sales-controls p:last-child{margin:0;font-size:13px;color:#536054}.sales-control-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.sales-pause-banner{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:0 0 20px;padding:20px 22px;border:1px solid #d7aa8f;background:#fff0e7;border-radius:16px;color:#713b29}.sales-pause-banner[hidden]{display:none}.sales-pause-banner p{margin:6px 0 0;font-size:13px;overflow-wrap:anywhere}
.availability-dialog{width:min(940px,calc(100vw - 40px));max-width:940px;box-sizing:border-box;max-height:88vh;padding:28px;border:1px solid #dce2d7;border-radius:22px;background:#fffef9;color:#183b30}.availability-dialog::backdrop{background:#102e24a6;backdrop-filter:blur(5px)}.availability-dialog-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.availability-dialog-header .eyebrow{margin:0 0 8px}.availability-dialog h2{font-size:clamp(23px,3vw,32px);line-height:1.15;margin:0}.availability-dialog-header form{margin:0}.availability-intro{font-size:14px;line-height:1.65;color:#586258;margin:18px 0 22px}
.stock-toolbar{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) minmax(0,1.2fr);gap:14px;padding:18px;background:#f2f3ea;border:1px solid #dce2d7;border-radius:14px}.availability-dialog label{display:block;font-size:12px;font-weight:600;margin:0 0 8px}.availability-dialog input,.availability-dialog select,.availability-dialog textarea{width:100%;box-sizing:border-box;min-height:44px;padding:10px 12px;border:1px solid #c9d0c3;border-radius:8px;background:#fffef9;color:#193b30;font:inherit;font-size:14px}.availability-dialog textarea{resize:vertical}.availability-feedback{min-height:20px;font-size:13px;line-height:1.5;color:#52624e;margin:14px 0}.availability-feedback[data-error=true]{color:#933c28}.stock-list{display:grid;gap:12px}.stock-card{padding:18px;border:1px solid #dce2d7;border-radius:13px;background:#fffef9}.stock-card[data-stock-blocked=true]{border-color:#d5ab8f;background:#fff8f0}.stock-card-heading{display:flex;justify-content:space-between;gap:18px;align-items:center}.stock-card-heading .eyebrow{font-size:10px;margin:0 0 5px}.stock-card h3{font-size:17px;margin:0 0 6px;overflow-wrap:anywhere}.stock-item-status{font-size:12px;margin:0;color:#67715f}.stock-toggle{flex-shrink:0;min-height:42px}.stock-card[data-stock-blocked=true] .stock-item-status{color:#8c4d2e}.stock-variants{margin-top:14px;border-top:1px solid #e0e3d7}.stock-variant{display:flex;align-items:center;justify-content:space-between;gap:15px;padding-top:12px}.stock-variant strong{font-size:13px}.stock-variant small{display:block;font-size:11px;color:#67715f;margin-top:4px}.stock-empty{padding:20px;color:#65715f}.pause-dialog{max-width:580px}.pause-fields{display:grid;gap:18px}.pause-dialog #pause-submit{width:100%;margin-top:8px}
@media(max-width:700px){.sales-controls{align-items:flex-start;flex-direction:column;padding:16px}.sales-control-actions{width:100%}.sales-control-actions>*{flex:1;text-align:center}.sales-pause-banner{align-items:flex-start;flex-direction:column;padding:16px}.availability-dialog{width:calc(100vw - 24px);padding:20px;max-height:90vh}.stock-toolbar{grid-template-columns:1fr;padding:14px;gap:12px}.stock-card{padding:14px}.stock-card-heading{align-items:flex-start;flex-direction:column;gap:12px}.stock-card-heading>.stock-toggle{width:100%}.stock-variant{align-items:flex-start;flex-direction:column;gap:9px}.stock-variant>.stock-toggle{width:100%}.availability-dialog-header .quiet-button{padding:8px 10px;font-size:12px}.availability-dialog .small-muted{overflow-wrap:anywhere}}

.stock-toolbar>div{min-width:0}.availability-dialog select{max-width:100%}

/* One place for the printer connection, pending kitchen tickets and deliberate reprints. */
.printing-summary{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 18px;padding:13px 20px;border:1px solid var(--line);border-radius:12px;background:#eeefe7}.printing-summary-copy{display:flex;align-items:center;gap:12px;min-width:0}.printing-status-dot{width:9px;height:9px;flex-shrink:0;border-radius:50%;background:#8b9586;box-shadow:0 0 0 4px #8b958610}.printing-summary strong{font-size:12px}.printing-summary p{margin:3px 0 0;font-size:11px;color:#66725f;overflow-wrap:anywhere}.printing-summary>.quiet-button{flex-shrink:0;font-size:11px}.printing-summary[data-state=connected] .printing-status-dot{background:#4c7c4d}.printing-summary[data-state=offline],.printing-summary[data-state=error]{border-color:#d6b69c;background:#fcf3e8}.printing-summary[data-state=offline] .printing-status-dot,.printing-summary[data-state=error] .printing-status-dot{background:#b16c3c}.printing-dialog{width:min(920px,calc(100vw - 40px));max-width:920px;padding:30px;border-radius:20px}.printing-dialog-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.printing-dialog-header .eyebrow{margin:0 0 8px}.printing-dialog-header h2{margin:0 0 20px;font-size:31px}.printing-dialog-header form{margin:0}.printing-device{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;border:1px solid var(--line);border-radius:13px;background:#eff2e8;padding:20px}.printing-device>div{min-width:0}.printing-device-label{font-size:10px;color:var(--muted);text-transform:uppercase;letter-spacing:1.1px}.printing-device h3{font-size:20px;margin:8px 0}.printing-device p{font-size:12px;line-height:1.7;margin:5px 0 0;overflow-wrap:anywhere}.printing-device #printing-device-meta{font-size:10px}.printing-device[data-state=offline],.printing-device[data-state=error]{border-color:#dfc5a9;background:#fcf3e8}.printing-mode{display:inline-flex;flex-shrink:0;max-width:100%;font-size:10px;line-height:1.4;font-weight:700;padding:7px 10px;border-radius:6px;background:#fffdf4;border:1px solid #d8ddcd}.printing-mode[data-mode=capture]{color:#805b29;border-color:#dfcdab;background:#fff6e4}.printing-setup{padding:14px 18px;margin:14px 0 0;border:1px dashed #bdc9b7;border-radius:9px;background:#f8f9f3;font-size:12px;line-height:1.7}.printing-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}.printing-counts>div{display:flex;align-items:center;gap:11px;padding:16px 17px;border:1px solid var(--line);border-radius:10px;background:var(--white)}.printing-counts strong{font-family:Manrope,Arial,sans-serif;font-size:25px;line-height:1}.printing-counts span{font-size:11px;line-height:1.4;color:var(--muted)}.printing-tools{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.printing-tools h3{font-size:15px;margin:0 0 6px}.printing-tools p{margin:0;font-size:11px;max-width:420px}.printing-tool-buttons{display:flex;align-items:center;gap:9px;flex-shrink:0}.printing-dialog .printing-tool-buttons .button,.printing-dialog .printing-retry-actions .button{margin:0;width:auto;min-height:40px;padding:10px 14px;font-size:11px}.printing-feedback{margin:14px 0;min-height:20px;font-size:12px;line-height:1.6}.printing-feedback[data-error=true]{color:#933c28}.printing-jobs-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:20px 0 13px}.printing-jobs-heading h3{font-size:16px;margin:0}.printing-jobs-heading span{font-size:11px;color:var(--muted)}.printing-jobs{display:grid;gap:10px}.printing-job{padding:16px;border:1px solid var(--line);border-radius:11px;background:var(--white)}.printing-job-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}.printing-job-heading>div{min-width:0}.printing-job .eyebrow{font-size:9px;margin:0 0 5px}.printing-job h4{font-size:14px;margin:0;overflow-wrap:anywhere}.printing-job .printing-job-date{margin:5px 0 0;font-size:10px}.printing-job-state{display:inline-block;font-size:10px;font-weight:700;border-radius:5px;background:#edf1e8;padding:6px 9px;line-height:1.5;flex-shrink:0;max-width:100%}.printing-job[data-print-state=failed],.printing-job[data-print-state=uncertain]{border-color:#e3bba5;background:#fff7ef}.printing-job[data-print-state=failed] .printing-job-state,.printing-job[data-print-state=uncertain] .printing-job-state{color:#8d462f;background:#f7e5d8}.printing-job[data-print-state=waiting_payment] .printing-job-state{color:#80622e;background:#f9f0da}.printing-job .printing-job-note{margin:12px 0 0;font-size:11px}.printing-job>.quiet-button{margin-top:12px;font-size:11px;border:1px solid var(--line);min-height:36px}.printing-empty{padding:18px;border:1px dashed var(--line);border-radius:10px;background:#f9faf6;font-size:12px;line-height:1.8}.printing-retry{padding:18px;background:#fff3e4;border:1px solid #dbbc93;border-radius:12px;margin:15px 0 24px}.printing-retry h3{font-size:17px;margin-bottom:9px;overflow-wrap:anywhere}.printing-retry p{font-size:12px}.printing-retry .check-label{font-size:12px;line-height:1.7;margin:18px 0}.printing-retry-actions{display:flex;justify-content:flex-end;gap:10px;align-items:center}.printing-footnote{font-size:10px!important;line-height:1.8;margin:20px 0 0;padding-top:15px;border-top:1px solid var(--line)}.printing-order-panel{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:16px 18px;margin-top:20px;border:1px solid var(--line);border-radius:9px;background:#f4f5ed}.printing-order-panel .eyebrow{font-size:9px;margin:0 0 7px}.printing-order-panel h3{font-size:13px;margin:0 0 6px}.printing-order-panel p:not(.eyebrow){font-size:11px;line-height:1.7;margin:0;color:var(--muted)}.printing-order-panel .quiet-button{font-size:10px;flex-shrink:0;min-height:36px}
@media(max-width:740px){.desk-header #desk-tools{grid-template-columns:repeat(4,minmax(0,1fr))}.desk-header #logout-button{grid-column:auto}.desk-header #help-button{grid-column:auto}.printing-summary{padding:14px;align-items:flex-start;flex-direction:column;gap:10px}.printing-summary>.quiet-button{margin-left:16px;padding:6px 0;min-height:32px}.printing-dialog{width:calc(100vw - 24px);max-width:calc(100vw - 24px);padding:20px}.printing-dialog-header h2{font-size:25px}.printing-dialog-header .quiet-button{font-size:11px;padding:8px 10px}.printing-device{padding:16px;flex-direction:column;gap:12px}.printing-device h3{font-size:19px}.printing-counts{gap:7px}.printing-counts>div{flex-direction:column;align-items:flex-start;padding:13px 11px;gap:8px}.printing-counts span{font-size:10px}.printing-tools{flex-direction:column;align-items:flex-start;gap:14px}.printing-tool-buttons{width:100%;flex-wrap:wrap}.printing-tool-buttons>*{flex:1}.printing-dialog .printing-tool-buttons .quiet-button{min-height:42px;border:1px solid var(--line);font-size:11px}.printing-job{padding:14px}.printing-job-heading{flex-direction:column;gap:10px}.printing-job-state{flex-shrink:1}.printing-job>.quiet-button{width:100%;min-height:40px}.printing-order-panel{flex-direction:column;gap:10px}.printing-order-panel .quiet-button{padding-left:0}.printing-retry-actions{flex-direction:column-reverse;align-items:stretch}.printing-dialog .printing-retry-actions .button{width:100%;min-height:42px}.printing-retry-actions .quiet-button{min-height:42px}.printing-retry .check-label{font-size:11px}.printing-mode{font-size:10px}}

/* Payment state chips come from server snapshot fields only; attention banners for sound, gaps and session end. */
.pay-chip{display:inline-flex;align-items:center;gap:4px;padding:3px 7px;border:1px solid #d9d2c4;border-radius:4px;font-size:10px;font-weight:700;background:#f6f1e6;color:#6f5d35;white-space:nowrap}.pay-chip[data-pay=pending]{background:#fff3d6;border-color:#e6c98a;color:#7a5a12}.pay-chip[data-pay=paid],.pay-chip[data-pay=paidTest]{background:#e6f1e0;border-color:#bcd3ae;color:#2f5d33}.pay-chip[data-pay=aborted]{background:#f9e6e2;border-color:#e2b8ae;color:#9a3b31}.pay-chip[data-pay=afterClose]{background:#fbe9d2;border-color:#e9b98a;color:#8a4a12}.detail-heading .pay-chip{margin-left:8px;font-size:11px;padding:6px 9px;vertical-align:middle}.order-card[data-status=received]:has(.pay-chip[data-pay=pending]){border-left-color:#d9b25a}.action-box.awaiting-box{background:#fff8e8;border-color:#e6c98a}
.desk-stats{grid-template-columns:repeat(5,minmax(0,1fr))}.stat-awaiting>strong{color:#8a6a1f}
.sound-banner{display:block;width:100%;margin:0 0 16px;padding:22px 20px;border-radius:12px;background:var(--red);color:#fff;font-family:Manrope,Arial,sans-serif;font-size:clamp(20px,2.6vw,28px);font-weight:800;letter-spacing:-.02em;line-height:1.25;text-align:center;box-shadow:0 10px 30px #a63b2f40;animation:sound-pulse 1.6s ease-in-out infinite}.sound-banner:hover{background:#8f3127}@keyframes sound-pulse{0%,100%{box-shadow:0 10px 30px #a63b2f40}50%{box-shadow:0 0 0 8px #a63b2f33}}
.gap-banner{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 16px;padding:16px 20px;border:1px solid #e0b38a;border-radius:12px;background:#fff1e2;color:#7a3e1a}.gap-banner p{margin:0;font-size:14px;font-weight:700;line-height:1.5}.gap-banner .quiet-button{flex-shrink:0;border-color:#d9a373;color:#7a3e1a}
.session-notice{margin:0 0 16px;padding:14px 18px;border:1px solid #d9c389;border-radius:10px;background:#fff8dc;color:#6b5410;font-size:13px;line-height:1.6}
.quiet-select{min-height:40px;width:auto;padding:8px 28px 8px 10px;font-size:11px;border:1px solid var(--line);border-radius:7px;background:var(--white);color:var(--ink)}
@media(max-width:1100px){.desk-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.stat-card:nth-child(4){border-left:0}.stat-card:nth-child(n+4){border-top:1px solid var(--line)}}
@media(max-width:740px){.desk-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-card:nth-child(4){border-left:1px solid var(--line)}.stat-card:nth-child(odd){border-left:0}.stat-card:nth-child(n+3){border-top:1px solid var(--line)}.sound-banner{padding:18px 14px;font-size:19px}.gap-banner{flex-direction:column;align-items:flex-start}.gap-banner .quiet-button{width:100%}.header-end #desk-tools{grid-template-columns:repeat(4,minmax(0,1fr))}.desk-header #logout-button{grid-column:3/5}.quiet-select{min-height:36px;font-size:10px;padding:6px 22px 6px 8px}}
@media(prefers-reduced-motion:reduce){.sound-banner{animation:none}}
/* Readability layer (FE-8): base text ≥ 14 px, order number / wait time / status chips 16–18 px, every control ≥ 44 px (header ≥ 40 px). ID selectors win over the earlier size rules. */
#desk-view,#desk-view p,#desk-view li,#desk-view label,#desk-view dd,#desk-view dt,#desk-view .small-muted,#desk-view .form-error,#desk-view .check-label,#desk-view .detail-customer p,#desk-view .action-box p,#desk-view .action-box li,#desk-view .item-variant,#desk-view .item-extras,#desk-view .item-note,#desk-view .detail-timebar,#desk-view .order-attention,#desk-view .accepted-info,#desk-view .order-card-bottom,#desk-view .order-card-meta,#desk-view .search-summary,#desk-view .mail-notice p:not(.eyebrow),#desk-view .payment-note,#desk-view .reject-reason,#desk-view .audit-tools summary,#desk-view .workflow-note{font-size:14px}
#desk-view .eyebrow,#desk-view .stat-label,#desk-view .mail-notice .eyebrow{font-size:11px}
#desk-view .order-card-top strong{font-size:17px;line-height:1.3}
#desk-view .order-card h3{font-size:16px}
#desk-view .order-card-top time{font-size:14px}
#desk-view .order-wait{font-size:16px;padding:4px 8px;font-weight:700}
#desk-view .status-chip{font-size:16px;padding:7px 10px}
#desk-view .pay-chip,#desk-view .method-chip{font-size:14px;padding:4px 8px}
#desk-view .order-countdown{display:inline-flex;padding:4px 8px;border-radius:4px;font-size:16px;font-weight:700;font-variant-numeric:tabular-nums;background:#e3efe4;color:#1f5c3b}
#desk-view .order-countdown[data-overdue="true"]{background:#fae8df;color:var(--red)}
#desk-view .detail-countdown{font-size:16px;font-weight:700;color:#1f5c3b;margin:-8px 0 14px}
#desk-view .detail-countdown:empty{display:none}
#desk-view .status-chip[data-cancelled="true"]{background:#f3e3e0;color:var(--red)}
#desk-view .pay-chip[data-pay="refund"]{background:#fff0e7;border-color:#d7aa8f;color:#8a3b1e}
#desk-view .desk-search-wrap input{font-size:16px;min-height:48px}
#desk-view .search-clear{width:44px;height:44px;top:50%;transform:translateY(-50%);right:28px}
#desk-view .quiet-button,#desk-view .button,#desk-view .next-button,#desk-view .order-filters button,#desk-view .queue-controls select,#desk-view .accept-presets button,#desk-view .rejection-presets button,#desk-view input:not([type=checkbox]):not([type=radio]),#desk-view select,#desk-view textarea,#desk-view .reject-section summary,#desk-view .reschedule-section summary,#desk-view .contact-details summary,#desk-view .audit-tools summary,#desk-view .sound-banner,#desk-view .map-link{font-size:15px;min-height:44px}
#desk-view .order-filters button{font-size:14px;padding-inline:8px}
#desk-view .order-filters button [data-count]{font-size:16px;font-weight:700}
#desk-view .queue-controls label{font-size:13px}
#desk-view .queue-controls select{font-size:16px}
#desk-view .accept-presets button,#desk-view .rejection-presets button{padding:10px 12px}
#desk-view input[type=checkbox]{width:24px;height:24px;flex-shrink:0;margin-top:4px}
#desk-view .detail-heading h2{font-size:28px}
#desk-view .stat-card strong{font-size:30px}
#desk-tools .quiet-button,#desk-tools .quiet-select{font-size:13px;min-height:40px;padding:8px 10px;line-height:1.25;white-space:normal;overflow-wrap:anywhere;text-align:center}
#desk-tools .quiet-select{padding-right:24px}
#connection-badge{font-size:13px}
#desk-view .map-link{display:inline-flex;align-items:center;gap:6px;margin-top:4px;padding:8px 12px;border:1px solid var(--line);border-radius:7px;color:var(--ink);text-decoration:none;font-weight:700;background:var(--white)}
#desk-view .contact-details{margin:0 0 23px;border:1px solid var(--line);border-radius:9px;padding:0 16px}
#desk-view .contact-details summary{cursor:pointer;display:flex;align-items:center;font-weight:700;color:var(--ink)}
#desk-view .contact-details .detail-customer{border-top:1px solid var(--line);border-bottom:0;margin-bottom:0}
#desk-view .reschedule-section{margin:0 0 18px;border:1px solid #cad7be;border-radius:9px;padding:0 16px;background:#fbfdf7}
#desk-view .reschedule-section summary{cursor:pointer;display:flex;align-items:center;font-weight:700;color:var(--ink)}
#desk-view .reschedule-section form{padding-bottom:16px}
#desk-view .reschedule-section .button{margin-top:0;min-height:48px}
#desk-view .refund-note{margin:14px 0 0;padding:12px 14px;border:1px solid #d7aa8f;border-radius:8px;background:#fff0e7;color:#8a3b1e;font-size:14px;line-height:1.6}
#desk-view .cancel-section{margin-top:18px}
#desk-view .cancelled-box{border-color:#e0b3ad;background:#fbf0ee}
#desk-view .accepted-info[data-rescheduled]{padding:10px 12px;border-radius:8px;background:#e3efe4;color:#1f5c3b}
#desk-view .detail-quick-tools .quiet-button{max-width:none}
#desk-view .order-card{padding:14px 13px}
#desk-view .order-card-meta{gap:6px}
#desk-view .accept-presets,#desk-view .rejection-presets{display:flex;flex-wrap:wrap;gap:8px}
#desk-view .next-button{min-height:48px;font-size:15px}
#desk-view .action-row>div{flex:1;min-width:0}
#desk-view .action-row .button{min-height:48px}
@media(min-width:741px) and (max-width:1100px){#desk-view .desk-workspace{grid-template-columns:300px minmax(0,1fr)}}
@media(max-width:740px){#desk-view .desk-workspace{grid-template-columns:minmax(0,1fr)}}
@media(max-width:740px){.desk-header #desk-tools,.header-end #desk-tools{grid-template-columns:repeat(3,minmax(0,1fr))}.desk-header #logout-button,.desk-header #help-button{grid-column:auto}#desk-view .order-card{min-width:250px;width:250px;max-width:250px}#desk-view .order-list{max-height:300px}}
@media(max-width:380px){.desk-header #desk-tools,.header-end #desk-tools{grid-template-columns:repeat(2,minmax(0,1fr))}.desk-header #logout-button,.desk-header #help-button{grid-column:auto}#desk-view .order-filters{grid-template-columns:repeat(2,minmax(0,1fr))}#desk-view .queue-controls{grid-template-columns:1fr}#desk-view .detail-heading h2{font-size:24px}#desk-view .stat-card strong{font-size:26px}#desk-view .order-card{min-width:240px;width:240px;max-width:240px}}
/* Idle lock (PR-11): the overlay covers everything; the content stays in the DOM and is only hidden visually. Reception, polling and the alarm keep running. */
.lock-overlay{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:24px;background:#193b30f2;color:#fff}
.lock-overlay[hidden]{display:none}
.lock-card{width:min(420px,100%);padding:32px 28px;border-radius:16px;background:var(--white);color:var(--ink);box-shadow:0 20px 60px #00000055}
.lock-card h2{margin:6px 0 10px;font-size:28px}
.lock-card .lock-count{margin:0 0 10px;padding:12px 14px;border-radius:10px;background:#fae8df;color:var(--red);font-size:20px;font-weight:700;text-align:center}
.lock-card .small-muted{font-size:14px;margin:0 0 16px;padding:0;border:0}
.lock-card label{display:block;font-size:14px;font-weight:700;margin-bottom:6px}
.lock-card input{width:100%;min-height:48px;font-size:16px;padding:10px 12px;border:1px solid var(--line);border-radius:8px;margin-bottom:10px}
.lock-card .button{width:100%;min-height:48px;font-size:15px;margin:0}
.lock-card .form-error{font-size:14px}
body.desk-locked #desk-view,body.desk-locked .desk-header .brand,body.desk-locked #desk-tools{visibility:hidden}
body.desk-locked{overflow:hidden}

/* Brief arrival attention: no layout shift, screen flash, automatic selection or scrolling. */
.order-arrival-notice{position:fixed;right:24px;bottom:24px;z-index:35;display:flex;align-items:center;gap:10px;max-width:min(360px,calc(100vw - 32px));padding:13px 17px;border:1px solid #b9cfb5;border-radius:12px;background:#f1f7ed;color:#254b35;box-shadow:0 6px 24px #193b3014;font-size:14px;font-weight:600;line-height:1.45;pointer-events:none;animation:desk-arrival-reveal .55s ease-out both}
.order-arrival-notice[hidden]{display:none}.order-arrival-symbol{display:grid;place-items:center;flex:0 0 27px;width:27px;height:27px;border-radius:50%;background:#e0edda;color:#376442;font-size:16px}
.order-card[data-arrival=true]{border-color:#8eaf86;background:#f0f7eb;animation:desk-arrival-glow 1.6s ease-out 1}
.order-card[data-arrival=true][data-urgency=high]{border-left-color:var(--red)}
body.desk-locked .order-arrival-notice{visibility:hidden}
@keyframes desk-arrival-reveal{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@keyframes desk-arrival-glow{from{box-shadow:inset 0 0 0 3px #a5c69b80}to{box-shadow:inset 0 0 0 0 #a5c69b00}}
@media(max-width:900px){.order-arrival-notice{right:12px;left:12px;bottom:calc(90px + env(safe-area-inset-bottom));max-width:none;padding:11px 14px;font-size:14px}}
@media(prefers-reduced-motion:reduce){.order-arrival-notice,.order-card[data-arrival=true]{animation:none;transition:none}}

/* A lost mutation answer stays visibly unresolved until a verified read succeeds. */
.uncertain-action-banner{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 18px;padding:18px;border:2px solid #a64a32;border-radius:12px;background:#fff0e2;color:#723b26}
.uncertain-action-banner[hidden]{display:none}.uncertain-action-banner p{margin:6px 0 0;line-height:1.5}.uncertain-action-banner>.button{flex-shrink:0}
.operator-alert-notice{padding:14px 16px;margin:0 0 14px;border:1px solid #d9b37d;border-radius:10px;background:#fff4df;color:#704d1f}.operator-alert-notice[hidden]{display:none}.operator-alert-notice p{font-size:14px;line-height:1.5;margin:6px 0 0}
.desk-extra-tools{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:7px;min-width:0}
.mobile-only,.mobile-action-bar{display:none}
@media(max-width:900px){
  .mobile-only{display:inline-flex}
  .desk-header{position:relative;display:flex;flex-wrap:wrap;gap:10px;padding:12px 14px;min-height:0}
  .desk-header .brand{font-size:20px}.desk-header .brand small{font-size:9px}
  .header-end{display:block;width:100%;max-width:100%}.header-end>.connection-badge{position:absolute;top:18px;right:14px;max-width:45%;padding:0;background:transparent;font-size:12px;line-height:1.25;white-space:normal;overflow-wrap:anywhere;text-align:right}
  .desk-header #desk-tools,.header-end #desk-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
  .desk-header #desk-tools[hidden]{display:none}
  #desk-tools>.quiet-button{min-height:44px;font-size:13px;padding:8px 6px}
  .desk-extra-tools{grid-column:1/-1;flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;padding:3px 1px 5px;scrollbar-width:thin;overscroll-behavior-x:contain}
  #desk-tools .desk-extra-tools>*:not(.sr-only){flex:0 0 auto;min-height:44px;max-width:180px;white-space:nowrap}
  .desk-header #logout-button,.desk-header #help-button{grid-column:auto}
  main{padding:14px 12px 24px}
  #desk-view{display:flex;flex-direction:column;min-width:0}#desk-view[hidden]{display:none}
  .reception-panel{order:0;gap:10px;align-items:center;padding-bottom:12px;flex-wrap:nowrap}
  .reception-copy{min-width:0}.reception-kicker{display:none}
  #desk-view .reception-copy h1{font-size:21px;line-height:1.25;margin-bottom:5px}
  #desk-view .reception-copy>p{font-size:12px;line-height:1.45}
  .reception-controls{display:block;flex:0 0 115px;width:auto;text-align:right}
  #desk-view .reception-controls .button{min-width:0;width:100%;padding:9px 7px;font-size:13px;min-height:44px}
  #desk-view .reception-controls p{font-size:10px;margin-top:5px}
  #desk-view .sales-pause-banner{order:1;display:flex;flex-direction:row;align-items:center;padding:10px 12px;margin-bottom:12px;gap:10px}
  #desk-view .sales-pause-banner[hidden]{display:none}#desk-view .sales-pause-banner p{font-size:12px;margin:3px 0 0}#desk-view .sales-pause-banner .button{font-size:13px;padding:8px 10px;flex-shrink:0}
  #uncertain-action-banner{order:2;flex-direction:column;align-items:stretch;padding:12px;gap:10px;margin-bottom:12px}#desk-view #uncertain-action-message{font-size:14px}
  #sound-banner{order:3;padding:12px;font-size:17px!important;margin-bottom:10px}
  #gap-banner,#session-notice{order:3}
  #operator-alert-notice{order:3}
  #desk-view .desk-toolbar{order:4;position:sticky;top:0;z-index:15;display:flex;flex-wrap:wrap;gap:7px;padding:8px 0;margin:0;background:var(--paper);box-shadow:0 8px 12px var(--paper)}
  #desk-view .desk-search-wrap{max-width:none;flex-basis:100%}#desk-view .desk-search-wrap input{min-height:44px;padding-block:8px}
  .desk-toolbar-actions{display:flex;width:100%;gap:7px}
  #desk-view #mobile-queue-button{flex:1;font-size:14px;padding:8px}
  #desk-view #next-order{flex:1;min-height:44px;font-size:14px;padding:8px}
  #desk-view .desk-workspace{order:5;margin-top:7px;min-height:0}
  #desk-view .orders-sidebar{scroll-margin-top:115px}
  #desk-view #order-detail h2{scroll-margin-top:135px}
  #desk-view .desk-stats{order:6;margin:18px 0 12px}
  #desk-view .sales-controls{order:7;margin:0 0 12px;padding:12px;gap:10px}
  #desk-view .printing-summary{order:8;margin:0 0 12px;padding:12px}
  #desk-view .printing-summary[data-state=offline],#desk-view .printing-summary[data-state=error]{order:2}
  #desk-view .workflow-note{order:9}
  #desk-view .detail-heading{gap:10px}#desk-view .detail-heading h2{font-size:24px}
  #desk-view .detail-heading>div{min-width:0}#desk-view .detail-heading p{font-size:13px;line-height:1.5}
  #desk-view .order-detail{padding:18px 16px 24px}
  #desk-view .detail-workflow{margin-bottom:13px}#desk-view .detail-workflow li{font-size:12px}
  #desk-view .detail-quick-tools{gap:6px;margin-bottom:14px}#desk-view .detail-quick-tools .quiet-button{font-size:12px;padding:8px}
  #desk-view .detail-customer{margin-bottom:16px;padding-bottom:16px}
  #desk-view .detail-item{padding:12px 0}
  #desk-view .action-box{padding:16px;margin-top:16px}
  #desk-view .action-box h3{font-size:18px}
  .mobile-action-bar{position:fixed;left:0;right:0;bottom:0;z-index:30;display:flex;align-items:center;gap:9px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));border-top:1px solid #c5d0bd;background:var(--white);box-shadow:0 -8px 24px #193b3014}
  .mobile-action-bar[hidden]{display:none}#desk-view .mobile-action-bar>span{min-width:0;max-width:40%;font-size:13px;font-weight:700;overflow-wrap:anywhere}
  #desk-view .mobile-action-bar .button{flex:1;min-height:48px;margin:0;padding:10px;font-size:14px}
  body.has-mobile-action main{padding-bottom:calc(100px + env(safe-area-inset-bottom))}
  body.desk-locked .mobile-action-bar{visibility:hidden}
  body.desk-focus #desk-view .reception-panel h1{font-size:19px}
}
@media(max-width:740px){
  #desk-view .list-heading{padding:12px 14px 9px}#desk-view .list-heading .eyebrow{display:none}#desk-view .list-heading h2{font-size:18px}
  #desk-view .order-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:0 10px 8px}
  #desk-view .order-filters button{flex-wrap:wrap;min-height:44px;font-size:13px;padding:7px 5px;white-space:normal}
  #desk-view .queue-controls{grid-template-columns:1fr 1fr;padding:9px 12px;gap:10px}#desk-view .queue-controls label{font-size:12px}
  #desk-view .queue-controls select{font-size:16px;padding:8px;min-height:44px}
  #desk-view .search-summary{font-size:12px;padding:7px 12px 0}
  #desk-view .order-list{max-height:190px;padding:10px;gap:8px;overscroll-behavior-x:contain}
  #desk-view .order-card{min-width:220px;width:220px;max-width:220px;padding:11px}
  #desk-view .order-card-top strong{font-size:15px}#desk-view .order-card h3{font-size:15px;margin:7px 0}
  #desk-view .order-card-meta{font-size:13px;margin-top:7px;padding-top:7px;gap:5px}#desk-view .method-chip,#desk-view .pay-chip{font-size:12px;padding:3px 5px}
  #desk-view .order-card-bottom,#desk-view .order-attention{font-size:12px}#desk-view .order-card-bottom{margin-top:7px}#desk-view .order-attention{margin:7px 0 0}
  #desk-view .detail-heading{flex-wrap:wrap}
  #desk-view .detail-heading #copy-order{width:100%;font-size:14px;min-height:44px}
  #desk-view .stat-card{padding:12px}#desk-view .stat-card strong{font-size:26px}
}
@media(max-width:380px){#desk-view .order-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:741px) and (max-width:900px){#desk-view .order-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}#desk-view .order-filters button{min-width:0;flex-wrap:wrap;white-space:normal;font-size:13px;padding:8px}}

/* Queue navigation keeps payment-pending requests separate and preserves work. */
#desk-view .selection-position{font-size:13px;font-weight:700;color:var(--ink);padding:0 14px 10px;margin:0}
#desk-view .selection-position:empty{display:none}
#desk-view .order-filters{grid-template-columns:repeat(2,minmax(0,1fr))}
#desk-view .order-filters button{white-space:normal;min-width:0;overflow-wrap:anywhere}
#previous-order{min-height:44px}
@media(min-width:1000px){
 #desk-view .order-card{padding:11px 13px}
 #desk-view .order-card h3{margin:6px 0;font-size:15px}
 #desk-view .order-card-meta{margin-top:6px;padding-top:6px}
 #desk-view .order-card-bottom{margin-top:6px}
 #desk-view .order-list{max-height:calc(100dvh - 330px);min-height:220px;overflow-y:auto;overscroll-behavior-y:contain}
 #desk-view .order-detail{max-height:calc(100dvh - 120px);overflow-y:auto;overscroll-behavior-y:contain;scroll-padding-top:20px}
}
@media(max-width:740px){
 #desk-view .order-list{display:flex;flex-direction:column;overflow-x:hidden;overflow-y:auto;max-height:60dvh;min-height:200px;overscroll-behavior-y:contain}
 #desk-view .order-card{flex:none;width:100%;max-width:none;min-width:0;text-align:left}
 #desk-view .desk-toolbar-actions{display:flex;flex-wrap:wrap;width:100%;gap:7px}
 #desk-view #mobile-queue-button{flex:1 1 40%}
 #desk-view #previous-order{flex:0 1 auto;padding:8px;font-size:13px}
 #desk-view #next-order{flex:1 1 40%}
 body:not(.mobile-detail-open) #desk-view .order-detail{display:none}
 body:not(.mobile-detail-open) #desk-view .mobile-action-bar{display:none}
 body:not(.mobile-detail-open).has-mobile-action{padding-bottom:0}
 body.mobile-detail-open #desk-view .orders-sidebar{display:none}
 body.mobile-detail-open #desk-view .desk-search-wrap{display:none}
 body.mobile-detail-open #desk-view .desk-toolbar{scroll-margin-top:0}
 body.mobile-detail-open #desk-view .order-detail h2{scroll-margin-top:140px}
 body.mobile-detail-open #desk-view .desk-stats{display:none}
 #desk-view .order-card-top,#desk-view .order-card-bottom{gap:8px}
 #desk-view .order-card h3{overflow-wrap:anywhere}
}
