/* Helarte: arena como base, anaranjado como acento; estados conservan texto e iconos. */
.report-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.report-actions .button{min-height:44px}
#report-dialog{width:min(1060px,96vw);max-width:96vw;background:var(--surface);padding:24px}#report-dialog .modal-heading{position:sticky;top:-24px;z-index:1;background:var(--surface);padding:12px 0}
.report-scope{font-weight:800;margin:12px 0}.report-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:20px 0}.report-cards>div{padding:16px;background:var(--sand);border-radius:12px}.report-cards strong{display:block;font-size:25px;color:var(--accent-ink)}
.report-table-wrap{overflow-x:auto;margin:18px 0}.report-table{width:100%;border-collapse:collapse;font-size:13px;font-variant-numeric:tabular-nums}.report-table caption{text-align:left;font-size:17px;font-weight:800;margin-bottom:10px}.report-table th,.report-table td{padding:10px;text-align:right;border-bottom:1px solid var(--line);white-space:nowrap}.report-table th{background:var(--sand);white-space:normal}.report-table th:first-child,.report-table td:first-child{text-align:left}#report-dialog .modal-actions{position:sticky;bottom:-24px;background:var(--surface);padding:16px 0;margin-top:16px}
@media(max-width:650px){#report-dialog{padding:16px}.report-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.report-cards>div{padding:12px}.report-cards strong{font-size:22px}.report-actions{display:grid;grid-template-columns:1fr 1fr}.report-actions button:first-child{grid-column:1/-1}#report-dialog .modal-actions{bottom:-16px}#report-dialog .modal-heading{top:-16px}}
:root{--sand:#f4ebdd;--sand-soft:#ede0cd;--surface:#fffdf8;--ink:#382b22;--muted:#705c4d;--line:#d4bfa5;--orange:#ef802d;--accent-ink:#853b13;--focus:#a64816}
@font-face{font-family:Nunito;src:url('/assets/nunito-sans.woff2') format('woff2');font-display:swap}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;font-family:Nunito,system-ui,-apple-system,sans-serif;background:var(--sand);color:var(--ink);font-size:15px;line-height:1.45}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}h1{font-size:30px;line-height:1.12;letter-spacing:-.8px}h2{font-size:21px;line-height:1.2;letter-spacing:-.4px}h3{font-size:17px}.muted{color:var(--muted)}.optional{font-weight:400;color:var(--muted)}small{font-size:12px}label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:750}input,textarea,select{min-height:43px;border:1px solid var(--sand-soft);border-radius:10px;padding:10px 12px;background:#fff;color:var(--ink);max-width:100%;width:100%;outline:none}input:focus,textarea:focus,select:focus{border-color:var(--muted);box-shadow:0 0 0 3px #6e4d2d1f}textarea{resize:vertical}input[type=checkbox],input[type=radio]{width:auto;min-height:0;accent-color:var(--muted)}button:focus-visible,a:focus-visible{outline:3px solid var(--line);outline-offset:3px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 17px;border-radius:11px;font-weight:800;border:1px solid transparent;line-height:1.25;transition:background .15s,transform .15s}.button:active{transform:translateY(1px)}.primary{background:var(--muted);color:#fff;box-shadow:0 4px 12px #6e4d2d17}.primary:hover:not(:disabled){background:var(--accent-ink)}.subtle{background:#fff;border-color:var(--sand-soft);color:var(--accent-ink)}.subtle:hover:not(:disabled){background:var(--sand)}.danger{color:#a33b4c;background:#fff2f3;border-color:#f1cdd2}.danger:hover{background:#fde4e8}.small{min-height:36px;padding:8px 12px;font-size:12px}.wide{width:100%}.icon-button{height:38px;min-width:38px;border:1px solid var(--sand-soft);border-radius:10px;background:#fff;color:var(--muted);font-size:23px;display:inline-flex;align-items:center;justify-content:center}.lab-strip{padding:5px 15px;text-align:center;background:#fff4cf;color:#796019;font-size:11px;font-weight:800;letter-spacing:.3px}.app-header{height:82px;display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid var(--sand-soft);padding:0 26px;gap:16px}.brand{display:flex;align-items:center;gap:11px;font-weight:900;font-size:18px;letter-spacing:-.25px}.brand img{width:44px;height:44px;object-fit:contain}.brand small{display:block;color:var(--muted);font-size:11px;font-weight:700;letter-spacing:.1px;margin-top:1px}.header-tools{display:flex;gap:10px;align-items:center}.connection{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:12px;white-space:nowrap}.connection i,.state-dot{width:7px;height:7px;border-radius:50%;background:#5eaa8e;display:inline-block}.connection.offline{color:#a04443}.connection.offline i{background:#c66a55}.eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:900;color:var(--muted);margin-bottom:9px}.panel-body{height:100dvh;display:flex;flex-direction:column;overflow:hidden}.workspace{display:grid;grid-template-columns:215px minmax(300px,1fr) minmax(350px,410px);flex:1;min-height:0}.sidebar{background:#fff;border-right:1px solid var(--sand-soft);padding:30px 17px 18px;display:flex;flex-direction:column;min-height:0}.nav-caption{font-size:10px;font-weight:900;letter-spacing:1.5px;color:var(--muted);padding:0 13px;margin-bottom:13px}.queue-button{width:100%;display:flex;align-items:center;text-align:left;gap:10px;border:0;background:transparent;border-radius:12px;min-height:47px;padding:12px;color:var(--muted);font-weight:750;font-size:13px;margin-bottom:6px}.queue-button:hover{background:var(--sand)}.queue-button.active{background:var(--sand-soft);color:var(--muted)}.nav-icon{font-size:20px;min-width:23px;text-align:center}.queue-count{margin-left:auto;min-width:24px;height:23px;border-radius:7px;display:grid;place-items:center;background:var(--sand);font-size:11px}.active .queue-count{background:var(--muted);color:#fff}.sidebar-bottom{margin-top:auto;padding-top:20px}.store-state{display:flex;align-items:center;gap:9px;padding:14px 6px}.store-state strong{font-size:12px;display:block}.store-state small{display:block;font-size:10px;color:var(--muted)}.sidebar-bottom>.button{width:100%;font-size:12px}.state-dot.paused{background:#c29251}.staff-badge{display:flex;gap:10px;align-items:center;border-top:1px solid var(--sand-soft);padding:20px 6px 0;margin-top:25px}.avatar{width:35px;height:35px;display:grid;place-items:center;background:var(--sand);border-radius:50%;color:var(--muted);font-weight:900}.staff-badge strong{font-size:11px;display:block}.staff-badge small{color:var(--muted);font-size:10px;display:block}.inbox{padding:30px 24px 0;min-height:0;display:flex;flex-direction:column;background:var(--sand)}.inbox-title{display:flex;justify-content:space-between;gap:15px;margin-bottom:23px}.inbox-title h1{font-size:26px}.inbox-title p{font-size:12px;margin-top:7px}.inbox-title .icon-button{margin-top:15px;background:transparent}.search-box{display:flex;flex-direction:row;align-items:center;gap:7px;background:#fff;border:1px solid var(--sand-soft);border-radius:11px;padding:0 12px;font-size:25px;color:var(--muted);font-weight:400}.search-box input{border:0;box-shadow:none;background:none;padding:10px 0;min-height:42px;font-size:12px}.search-box:focus-within{border-color:var(--muted)}.list-label{display:flex;justify-content:space-between;margin:22px 0 12px;color:var(--muted);font-size:10px;font-weight:750;letter-spacing:.2px}.order-list{overflow:auto;min-height:0;padding:0 3px 25px 0;scrollbar-width:thin;scrollbar-color:var(--line) transparent}.order-card{display:block;text-align:left;width:100%;border:1px solid var(--sand-soft);background:#fff;border-radius:14px;margin-bottom:12px;padding:16px 18px;box-shadow:0 2px 5px #6e4d2d03;transition:border-color .15s,box-shadow .15s}.order-card:hover{border-color:var(--line)}.order-card.selected{border:1.5px solid var(--muted);background:var(--sand);box-shadow:0 0 0 3px #6e4d2d0a}.order-top,.order-bottom,.row-between{display:flex;align-items:center;justify-content:space-between;gap:10px}.folio{font-size:13px;font-weight:900}.order-age{font-size:11px;color:#b07d3b;font-weight:750}.order-customer{font-size:15px;font-weight:850;margin-top:11px}.order-summary{font-size:12px;color:var(--muted);margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.order-bottom{margin-top:15px}.order-bottom strong{font-size:15px}.pill{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:6px;font-size:10px;font-weight:850;white-space:nowrap;background:var(--sand);color:var(--muted)}.pill.delivery{color:#607b9d;background:#edf3fc}.pill.pickup{color:var(--muted);background:var(--sand)}.pill.new{background:var(--sand);color:var(--muted)}.pill.accepted{background:#fff1d8;color:#a37a32}.pill.preparing{background:#fff1d8;color:#a37a32}.pill.ready,.pill.delivered{background:#eaf5ee;color:#58806b}.pill.out_for_delivery{background:#e9f1fc;color:#6180a8}.pill.rejected,.pill.cancelled{background:#fbeaec;color:#b06874}.status-row{display:flex;gap:7px;flex-wrap:wrap;margin-top:8px}.order-detail{background:#fff;border-left:1px solid var(--sand-soft);overflow:auto;min-height:0;scrollbar-width:thin;display:flex;flex-direction:column}.detail-head{padding:25px 24px 21px;border-bottom:1px solid var(--sand-soft)}.detail-head h2{font-size:24px;margin:10px 0 8px}.detail-head .row-between .muted{font-size:11px}.detail-section{padding:20px 24px;border-bottom:1px solid var(--sand-soft)}.detail-section h3{font-size:10px;color:var(--muted);letter-spacing:1.2px;margin-bottom:13px;font-weight:900}.customer-detail{display:flex;align-items:center;gap:10px}.customer-detail strong{font-size:14px;display:block}.customer-detail a{font-size:12px;color:var(--muted)}.customer-detail .avatar{width:39px;height:39px}.address-block{margin-top:13px;font-size:12px;color:var(--muted);line-height:1.65}.note{border:1px solid #f0e4c9;background:#fffbef;padding:11px 12px;border-radius:9px;font-size:12px;color:#947d4d;margin-top:13px}.line-item{display:flex;align-items:flex-start;gap:10px;padding:10px 0}.quantity-token{display:grid;place-items:center;min-width:25px;height:25px;border-radius:6px;background:var(--sand);color:var(--muted);font-size:11px;font-weight:800}.line-copy{flex:1;min-width:0;font-size:12px}.line-copy strong{display:block;font-weight:800}.line-copy small{display:block;margin-top:3px;font-size:11px}.line-price{font-size:12px;white-space:nowrap}.totals{margin-top:10px;padding-top:10px;border-top:1px dashed var(--sand-soft)}.total-line{display:flex;justify-content:space-between;gap:15px;font-size:12px;margin:7px 0}.grand-total{font-size:17px;margin-top:14px}.payment-box{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px}.payment-box small{display:block;font-size:11px;color:var(--muted);margin-top:3px}.detail-actions{padding:20px 24px;position:sticky;bottom:0;background:#fffffff5;border-top:1px solid var(--sand-soft);margin-top:auto;box-shadow:0 -8px 20px #fff;display:flex;flex-direction:column;gap:9px}.action-pair{display:grid;grid-template-columns:1fr 2fr;gap:9px}.detail-actions .button{width:100%;font-size:12px;min-height:46px}.action-hint{font-size:11px;color:var(--muted);line-height:1.5;text-align:center}.empty-detail,.empty-list{text-align:center;color:var(--muted);display:flex;align-items:center;justify-content:center;flex-direction:column;padding:40px 30px}.empty-detail{margin:auto;max-width:350px}.empty-symbol{width:75px;height:75px;border-radius:22px;background:var(--sand);display:grid;place-items:center;color:var(--muted);font-size:44px;margin-bottom:21px}.empty-detail h2,.empty-list h2{color:var(--muted);font-size:19px;margin-bottom:10px}.empty-detail p,.empty-list p{font-size:12px;line-height:1.8}.empty-list{padding-top:70px}.message{padding:11px 13px;border-radius:9px;font-size:12px;margin:12px 0;background:#fff0f0;border:1px solid #efd4d7;color:#9a4655;line-height:1.5}.message.success{background:#edf7ee;border-color:#d1e9d4;color:#42754d}.message.info{background:var(--sand);border-color:var(--sand-soft);color:var(--muted)}.notice{padding:11px 13px;background:#fcf5e5;color:#977837;border:1px solid #f0e2be;border-radius:9px;font-size:12px;margin-top:12px}.alert-notice{border-color:var(--line);background:var(--sand);color:var(--muted)}.history-list{padding:0;margin:0;list-style:none}.history-list li{font-size:11px;color:var(--muted);padding:8px 0 8px 13px;border-left:2px solid var(--sand-soft)}.history-list li strong{font-weight:800;color:var(--muted);margin-right:7px}dialog{border:1px solid var(--sand-soft);border-radius:21px;box-shadow:0 24px 100px #6e4d2d30;padding:26px;width:min(480px,calc(100vw - 32px));color:var(--ink);max-height:90dvh;overflow:auto}dialog::backdrop{background:#6e4d2d66;backdrop-filter:blur(4px)}.modal-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:23px}.modal-heading h2{font-size:24px}.modal-heading .eyebrow{margin-bottom:6px}.modal-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:25px}#action-fields{display:flex;flex-direction:column;gap:16px}#action-fields p,dialog p{font-size:13px;color:var(--muted);line-height:1.7}.check-label{flex-direction:row;align-items:flex-start;gap:9px;font-size:12px;font-weight:600;line-height:1.6}.check-label input{margin-top:4px}.time-choices{display:flex;gap:8px}.time-choices .button{flex:1}.access-wrap{margin:auto;width:min(870px,calc(100% - 40px));display:grid;grid-template-columns:1fr 1fr;box-shadow:0 15px 70px #6e4d2d0b;border-radius:24px;overflow:hidden;background:white;min-height:480px}.access-card{padding:42px;display:flex;flex-direction:column;gap:19px}.access-card h1{font-size:34px}.access-card p{font-size:13px;line-height:1.7}.access-card .eyebrow{margin:0}.access-card form{display:flex;flex-direction:column;gap:14px}.access-aside{position:relative;background:var(--sand-soft);min-height:420px}.access-aside img{width:100%;height:100%;object-fit:cover;filter:brightness(.7)}.access-aside span{position:absolute;left:30px;bottom:35px;color:white;font-size:25px;font-weight:900;letter-spacing:-.5px;line-height:1.3}.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}
/* Customer storefront */
.customer-layout{max-width:1400px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) 370px;gap:32px;padding:30px 30px 60px;align-items:start}.menu-hero{display:flex;justify-content:space-between;align-items:center;background:var(--sand-soft);border-radius:20px;overflow:hidden;min-height:230px;padding:26px 30px;gap:25px}.menu-hero h1{font-size:38px;color:var(--accent-ink);line-height:1.03;letter-spacing:-1.5px}.menu-hero p{font-size:12px;color:var(--muted);margin-top:13px}.menu-hero .eyebrow{color:var(--muted)}.menu-hero img{height:185px;width:185px;object-fit:cover;border-radius:50% 48% 42% 45%;box-shadow:0 12px 35px #6e4d2d1f;transform:rotate(4deg)}.hero-chips{display:flex;gap:7px;flex-wrap:wrap;margin-top:17px}.hero-chips span{border-radius:20px;padding:5px 8px;background:#ffffff85;color:var(--muted);font-size:9px;font-weight:850}.menu-toolbar{position:sticky;top:0;z-index:2;} .menu-toolbar{background:var(--sand);padding:22px 0 14px}.category-list{display:flex;gap:8px;overflow:auto;padding:15px 0 4px;scrollbar-width:thin}.category-list .button{font-size:11px;white-space:nowrap;min-height:34px;border-radius:20px;padding:8px 13px;background:#fff;border-color:var(--sand-soft);color:var(--muted)}.category-list .active{background:var(--muted);color:#fff;border-color:var(--muted)}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.product-card{background:#fff;border:1px solid var(--sand-soft);border-radius:14px;overflow:hidden;display:flex;flex-direction:column}.product-image{height:125px;background:var(--sand);display:grid;place-items:center;overflow:hidden}.product-image img{width:100%;height:100%;object-fit:cover}.product-image.symbol img{width:65px;height:65px;object-fit:contain;opacity:.55}.product-copy{padding:14px;display:flex;flex-direction:column;flex:1}.product-copy h3{font-size:13px;font-weight:900}.product-copy p{font-size:10px;color:var(--muted);min-height:30px;margin:6px 0 10px}.product-copy .row-between{margin-top:auto}.product-copy strong{font-size:14px;color:var(--muted)}.product-add{width:31px;height:31px;min-width:31px;border:0;background:var(--sand-soft);color:var(--muted);font-size:22px;border-radius:9px;display:grid;place-items:center}.product-add:hover{background:var(--sand-soft)}.menu-footnote{font-size:11px;color:var(--muted);line-height:1.8;margin-top:25px}.cart-panel{border:1px solid var(--sand-soft);border-radius:18px;background:#fff;padding:22px;position:sticky;top:20px;max-height:calc(100dvh - 40px);overflow:auto;scrollbar-width:thin}.cart-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;padding-bottom:17px;border-bottom:1px solid var(--sand-soft)}.cart-heading h2{font-size:17px}.cart-heading .eyebrow{font-size:9px}.round-count{width:31px;height:31px;border-radius:10px;background:var(--sand-soft);color:var(--muted);font-weight:850;font-size:13px;display:grid;place-items:center}.cart-items{padding:12px 0 17px;border-bottom:1px dashed var(--sand-soft);max-height:250px;overflow:auto}.cart-empty{font-size:12px;text-align:center;padding:23px 10px;color:var(--muted);line-height:1.8}.cart-item{display:flex;gap:10px;align-items:center;padding:10px 0}.cart-item-copy{flex:1;min-width:0}.cart-item-copy strong{font-size:12px;display:block}.cart-item-copy small{font-size:11px;color:var(--muted);display:block;margin-top:3px}.quantity-picker{display:flex;align-items:center;gap:8px;border:1px solid var(--sand-soft);border-radius:8px;padding:3px}.quantity-picker button{border:0;background:var(--sand);border-radius:5px;color:var(--muted);width:23px;height:23px;font-size:17px}.quantity-picker span{font-size:11px;font-weight:850;min-width:12px;text-align:center}#checkout-form{display:flex;flex-direction:column;gap:13px;padding-top:17px}.segmented{display:flex;border:0;padding:4px;background:var(--sand);border-radius:10px;gap:4px;min-width:0;margin:0}.segmented label{flex:1}.segmented input{position:absolute;opacity:0;width:1px;height:1px}.segmented span{text-align:center;font-size:12px;padding:9px 5px;color:var(--muted);border-radius:7px;cursor:pointer}.segmented input:checked+span{background:#fff;color:var(--muted);box-shadow:0 2px 7px #6e4d2d14}.segmented input:focus-visible+span{outline:3px solid var(--line)}.small-note{font-size:10px;background:var(--sand);border-radius:8px;padding:9px 11px;color:var(--muted);line-height:1.7}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.cart-panel label{font-size:11px}.cart-panel input,.cart-panel textarea,.cart-panel select{font-size:11px;min-height:40px;padding:9px 10px}.cart-panel label small{font-size:10px;color:var(--muted);font-weight:500}.privacy-note{font-size:10px;color:var(--muted);line-height:1.8}.mobile-cart{display:none}.tracking-layout{max-width:760px;margin:36px auto;padding:0 20px 50px}.tracking-hero{background:var(--sand-soft);border:1px solid var(--sand-soft);border-radius:23px;text-align:center;padding:34px 25px;margin-bottom:22px}.tracking-hero .empty-symbol{margin:0 auto 18px;background:var(--sand-soft)}.tracking-hero h1{font-size:30px;color:var(--accent-ink)}.tracking-hero p{margin-top:12px;font-size:13px}.tracking-hero .folio{color:var(--muted);margin-top:12px}.tracking-section{background:#fff;border:1px solid var(--sand-soft);border-radius:16px;padding:25px;margin-bottom:17px}.tracking-section h2{font-size:17px;margin-bottom:18px}.timeline{display:grid;grid-template-columns:repeat(5,1fr);margin:30px 0 5px;gap:0}.timeline-step{position:relative;font-size:10px;color:var(--muted);font-weight:750;padding-top:29px}.timeline-step:before{content:'';display:block;position:absolute;top:5px;left:0;width:100%;height:2px;background:var(--line)}.timeline-step:first-child:before{left:50%;width:50%}.timeline-step:last-child:before{width:50%}.timeline-step:after{content:'';width:12px;height:12px;background:var(--sand-soft);border:3px solid var(--sand-soft);border-radius:50%;position:absolute;top:0;left:calc(50% - 7px)}.timeline-step.done:before,.timeline-step.done:after{background:var(--muted)}.timeline-step.done{color:var(--muted)}.tracking-disclaimer{text-align:center}.tracking-section .button{margin-top:13px}.tracking-description{font-size:13px;color:var(--muted);line-height:1.8}.tracking-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.tracking-grid .tracking-section{margin:0}.mobile-back{display:none}.hidden-data{display:none}
@media(min-width:1450px){.workspace{grid-template-columns:230px minmax(400px,1fr) 440px}.inbox{padding:34px 35px 0}.order-card{padding:19px 22px}.detail-section{padding:22px 28px}}
@media(max-width:1100px){.workspace{grid-template-columns:180px minmax(265px,1fr) 330px}.sidebar{padding:24px 11px 15px}.queue-button{padding:10px 8px;font-size:11px}.nav-icon{font-size:17px}.inbox{padding:25px 17px 0}.inbox-title h1{font-size:23px}.detail-head,.detail-section,.detail-actions{padding:18px}.header-tools .connection{display:none}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-layout{gap:22px;padding:25px 20px 40px;grid-template-columns:minmax(0,1fr) 340px}.menu-hero{padding:23px}.menu-hero h1{font-size:31px}.menu-hero img{width:135px;height:150px}.hero-chips{max-width:180px}.cart-panel{padding:19px}.brand{font-size:16px}}
@media(max-width:850px){.workspace{grid-template-columns:155px 1fr}.order-detail{display:none;position:fixed;inset:82px 0 0 40%;z-index:8;box-shadow:-30px 0 80px #6e4d2d33}.panel-body:has(.lab-strip:not([hidden])) .order-detail{top:108px}.workspace.detail-open .order-detail{display:flex}.mobile-back{display:inline-flex}.sidebar{padding:20px 7px}.inbox{padding:25px}.app-header{padding:0 18px}.header-tools{gap:6px}.sidebar-bottom>.button{font-size:10px;padding:9px 4px}.staff-badge{padding:17px 4px 0;gap:7px}.staff-badge strong{font-size:10px}.queue-button{font-size:11px;gap:6px}.nav-icon{min-width:19px}.queue-count{min-width:20px}.nav-caption{font-size:9px}.customer-layout{display:block;max-width:740px}.cart-panel{position:static;max-height:none;margin-top:30px}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.menu-hero{min-height:240px}.menu-hero h1{font-size:39px}.menu-hero img{width:195px;height:195px}.hero-chips{max-width:none}.mobile-cart{display:flex;position:fixed;bottom:14px;left:20px;right:20px;z-index:5;justify-content:space-between;box-shadow:0 7px 35px #6e4d2d33}.customer-layout{padding-bottom:95px}.cart-items{max-height:350px}.access-wrap{max-width:700px}.access-card{padding:30px}.access-card h1{font-size:30px}}
@media(max-width:550px){.app-header{height:72px;padding:0 14px}.brand img{width:35px;height:35px}.brand{font-size:14px;gap:7px}.brand small{font-size:9px}.header-tools .small{font-size:10px;padding:7px;min-height:32px}.header-tools>a{display:none}.header-tools .icon-button{height:32px;min-width:32px;font-size:20px}.lab-strip{font-size:9px;padding:5px 8px;letter-spacing:0}.workspace{display:flex;flex-direction:column;overflow:hidden}.sidebar{border-right:0;border-bottom:1px solid var(--sand-soft);padding:9px 10px;background:#fff;display:block}.nav-caption,.sidebar-bottom{display:none}#queues{display:flex;gap:5px;overflow:auto}.queue-button{display:flex;flex-direction:column;justify-content:center;gap:3px;margin:0;padding:8px 9px;min-width:81px;min-height:68px;border-radius:9px;font-size:9px;position:relative}.nav-icon{font-size:19px;line-height:1}.queue-count{position:absolute;top:4px;right:5px;min-width:16px;height:16px;font-size:9px;margin:0;border-radius:50%}.inbox{padding:20px 16px 0;flex:1}.inbox-title{margin-bottom:16px}.inbox-title h1{font-size:24px}.inbox-title p{font-size:11px}.inbox-title .eyebrow{font-size:8px}.list-label{margin-top:17px}.order-card{padding:15px}.order-detail{inset:72px 0 0;box-shadow:none}.panel-body:has(.lab-strip:not([hidden])) .order-detail{top:95px}.detail-head,.detail-section,.detail-actions{padding:19px 22px}.detail-actions{padding-bottom:calc(18px + env(safe-area-inset-bottom))}.access-wrap{display:block;margin:20px auto;width:calc(100% - 30px);min-height:0}.access-card{padding:28px}.access-aside{display:none}.panel-body:has(#workspace[hidden]){overflow:auto}.customer-layout{padding:18px 14px 95px}.menu-hero{padding:22px 20px;min-height:215px;gap:10px}.menu-hero h1{font-size:31px}.menu-hero p{font-size:11px;max-width:200px}.menu-hero img{width:125px;height:155px}.menu-hero .eyebrow{font-size:8px;letter-spacing:1px}.hero-chips{gap:4px}.hero-chips span{font-size:8px;padding:4px 6px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.product-image{height:115px}.product-copy{padding:12px}.product-copy h3{font-size:12px}.product-copy p{font-size:9px;min-height:27px}.menu-toolbar{padding:18px 0 13px}.cart-panel{padding:20px}.cart-heading h2{font-size:19px}.cart-panel label,.cart-panel input,.cart-panel textarea,.cart-panel select{font-size:12px}.cart-panel .small-note{font-size:11px}.cart-panel .privacy-note{font-size:11px}.mobile-cart{left:14px;right:14px}.tracking-layout{padding:0 14px 35px;margin-top:20px}.tracking-hero{padding:27px 15px}.tracking-hero h1{font-size:27px}.timeline-step{font-size:9px}.tracking-section{padding:21px}.tracking-grid{display:block}.tracking-grid .tracking-section{margin-bottom:17px}.customer-body .app-header>.button{font-size:10px;padding:7px;min-height:33px}dialog{padding:23px}.modal-actions .button{font-size:12px}.tracking-disclaimer{font-size:11px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
@media(max-width:550px){.sidebar-bottom{display:flex;align-items:center;gap:12px;padding-top:7px}.sidebar-bottom .staff-badge{display:none}.sidebar-bottom .store-state{padding:3px 5px;flex:1;gap:7px}.sidebar-bottom .store-state strong{font-size:10px}.sidebar-bottom .store-state small{display:none}.sidebar-bottom>.button{width:auto;font-size:10px;min-height:29px;padding:6px 10px}.sidebar-bottom .state-dot{width:6px;height:6px}}

.spaced{margin-top:17px}.spaced-button{margin-left:8px}

.detail-title-row{display:flex;align-items:center;justify-content:space-between;gap:15px}.detail-title-row>.muted,.detail-title-row .muted{font-size:12px}.detail-total{text-align:right;white-space:nowrap;padding-top:7px}.detail-total small{display:block;font-size:9px;font-weight:900;letter-spacing:1px;color:var(--muted)}.detail-total strong{display:block;font-size:22px;letter-spacing:-.5px;color:var(--muted);margin-top:3px}

.alert-notice{display:flex;align-items:center;justify-content:space-between;gap:10px}.alert-notice .button{font-size:10px;min-height:28px;padding:5px 9px;background:#fff8}

/* Order disclosures and controls remain usable on small, touch-only screens. */
.privacy-note a,.privacy-layout a:not(.button){color:var(--accent-ink);text-decoration:underline;text-underline-offset:3px}.checkout-privacy{color:var(--accent-ink);background:var(--sand);border-radius:10px;padding:10px 12px}.payment-guidance{font-size:12px;color:var(--accent-ink);line-height:1.7;margin-top:12px}.privacy-layout{max-width:800px;margin:32px auto 70px;padding:0 24px;overflow-wrap:anywhere}.privacy-layout>p{margin-top:18px}.privacy-layout section{background:white;border:1px solid var(--sand-soft);border-radius:16px;padding:24px;margin:22px 0}.privacy-layout h2{margin-bottom:12px}.privacy-layout p{color:var(--accent-ink);line-height:1.8}.privacy-layout section p+p{margin-top:12px}.product-add{width:44px;height:44px;min-width:44px}.quantity-picker button{width:34px;height:34px}.detail-head{position:sticky;top:0;z-index:2;background:#fff}.detail-title-row>div:first-child{min-width:0}.detail-title-row h2{overflow-wrap:anywhere}.cart-panel{scroll-margin-top:20px}
@media(max-width:550px){.cart-panel input,.cart-panel textarea,.cart-panel select{font-size:16px;min-height:44px}.form-grid{grid-template-columns:1fr}.menu-hero>div{min-width:0}.menu-hero img{flex:0 0 98px;width:98px;height:130px}.menu-hero h1{font-size:28px}.product-copy .row-between{gap:4px}.product-copy strong{font-size:13px}.quantity-picker button{width:40px;height:40px}.quantity-picker{gap:5px}.privacy-layout{padding:0 16px;margin-top:24px}.privacy-layout section{padding:20px}.privacy-layout h1{font-size:28px}.detail-total strong{font-size:20px}.mobile-cart{bottom:calc(12px + env(safe-area-inset-bottom))}.customer-layout{padding-bottom:calc(110px + env(safe-area-inset-bottom))}.privacy-note{font-size:12px}.cart-panel .small-note{color:var(--accent-ink)}.tracking-grid .tracking-section{overflow-wrap:anywhere}}
.order-detail>*{flex-shrink:0}
@media(max-width:550px){.quantity-picker button{width:44px;height:44px}.sidebar-bottom>.button{min-height:44px}.privacy-body .app-header{gap:8px}.privacy-body .app-header>.button{font-size:11px;padding:8px}.detail-head .row-between{flex-wrap:wrap}}

/* Sound preferences stay in a dialog to keep the order board compact. */
.sound-volume-label{display:flex;justify-content:space-between;align-items:center;gap:20px;font-weight:800;margin-top:22px}.sound-volume{width:100%;accent-color:var(--muted);min-height:44px;margin:8px 0}.sound-volume-label output{font-variant-numeric:tabular-nums;color:var(--accent-ink)}.sound-enabled{background:var(--sand-soft)!important;color:var(--accent-ink)!important}.sound-actions{flex-wrap:wrap}.sound-credit{margin-top:22px}.sound-credit a{color:var(--accent-ink);text-decoration:underline}#sound-dialog{max-width:520px}#sound-dialog h2{margin:4px 0 12px}#sound-dialog .small-note{line-height:1.6}

#sound-dialog .modal-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}#sound-dialog .modal-head>.icon-button{flex-shrink:0}#sound-dialog .sound-volume-label{flex-direction:row}

.sound-control{display:inline-flex;align-items:center;justify-content:center;gap:7px}.sound-bell{width:21px;height:21px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.sound-enabled .bell-off{display:none}.sound-control:not(.sound-enabled) .sound-bell{opacity:.7}#sound-toggle.sound-enabled{background:var(--muted)!important;color:#fff!important}@media(max-width:550px){.sound-bell{width:19px;height:19px}.sound-control{gap:4px}}

/* Delivery scope and opt-in courier map; local 1.2.0 preparation. */
.delivery-location{border:1px solid var(--line);border-radius:16px;background:var(--sand);padding:14px;margin:16px 0}.delivery-location h3{margin:0 0 8px}.delivery-map{height:310px;width:100%;border:1px solid var(--sand-soft);border-radius:14px;margin:12px 0;z-index:0;background:var(--sand)}.delivery-map .leaflet-control-attribution{font-size:10px}.delivery-location .check-label{margin:12px 0}.delivery-location .button{margin-bottom:8px}#location-section{margin:16px 0}.courier-layout{max-width:680px}.courier-layout h1{font-size:32px}.courier-layout .action-pair{margin:20px 0}.delivery-map button,.delivery-map a{min-width:28px}.delivery-link{word-break:break-all;width:100%;padding:12px;border:1px solid var(--line);border-radius:10px}.delivery-coordinates{font-size:13px;color:var(--accent-ink)}#tracking-map .delivery-map{height:360px}@media(max-width:600px){.delivery-map{height:300px}.courier-layout .action-pair{display:flex;flex-direction:column}.courier-layout .button{min-height:48px}}

.helarte-map-pin{background:transparent;border:0;filter:drop-shadow(0 3px 3px #6e4d2d55)}.helarte-map-pin svg{display:block;width:40px;height:50px}.helarte-map-label{font:700 13px/1.3 system-ui,sans-serif;color:var(--accent-ink);border-color:var(--line);padding:6px 9px;box-shadow:0 2px 8px #6e4d2d20}

/* Auditoría local: contraste, tamaño táctil y jerarquía. */
body{background:var(--sand);color:var(--ink)}
.app-header,.sidebar,.product-card,.cart-panel,.tracking-section,dialog{background:var(--surface)}
.primary,.product-add,.active .queue-count,.category-list .button.active{background:var(--orange);color:#38200e}
.primary:hover:not(:disabled),.product-add:hover{background:#dd691b;color:#281708}
.subtle{color:var(--ink);border-color:var(--line)}
.subtle:hover:not(:disabled){background:var(--sand-soft)}
.menu-hero,.tracking-hero{background:var(--sand-soft);border-color:var(--line)}
.menu-hero h1,.tracking-hero h1{color:var(--ink)}
.queue-button.active,.order-card.selected{background:#fff1df;color:var(--accent-ink);border-color:var(--orange)}
.queue-button.active{box-shadow:inset 3px 0 var(--orange)}
.message.info,.small-note{background:#faf0e1;color:var(--muted);border-color:var(--line)}
.message,.note,.small-note,.action-hint,.privacy-note,.menu-footnote{font-size:13px;line-height:1.6}
.note{color:#6f542b}.muted,.optional{color:var(--muted)}
.eyebrow{font-size:11px;color:var(--accent-ink)}
.product-copy h3,.cart-item-copy strong{font-size:15px}
.product-copy p,.cart-item-copy small,.hero-chips span,.brand small{font-size:12px;color:var(--muted)}
.cart-panel label{font-size:13px}.cart-panel input,.cart-panel textarea,.cart-panel select{font-size:16px;min-height:44px}
.cart-panel label small,.cart-panel .small-note,.cart-panel .privacy-note{font-size:12px;color:var(--muted)}
.search-box input{font-size:16px}.button.small,.small{font-size:13px;min-height:44px}
.icon-button,.quantity-picker button{min-width:44px;min-height:44px}
.detail-actions .button,.sidebar-bottom>.button{font-size:13px;min-height:44px}
.button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
input:focus,textarea:focus,select:focus{border-color:var(--focus);box-shadow:0 0 0 3px #ef802d30}
input[type=radio],input[type=checkbox],.sound-volume{accent-color:var(--focus)}
.sound-enabled{background:#ffe2bd!important;color:var(--accent-ink)!important}
#sound-toggle.sound-enabled{background:var(--orange)!important;color:#38200e!important}
.timeline-step{font-size:12px;color:var(--muted)}.timeline-step.done{color:var(--accent-ink)}
.timeline-step.done:before,.timeline-step.done:after{background:var(--accent-ink)}
.tracking-description{font-size:15px;color:var(--muted)}
.map-disclosure{font-size:12px;line-height:1.5;color:var(--muted);margin:10px 0}
.map-disclosure summary{cursor:pointer;text-decoration:underline;text-underline-offset:3px;min-height:44px;display:flex;align-items:center}
.map-disclosure summary:before{content:'＋';margin-right:7px}.map-disclosure[open] summary:before{content:'−'}
.map-legend{display:flex;gap:14px;flex-wrap:wrap;color:var(--muted);font-size:12px;margin:8px 0}
.map-legend span:before{content:'●';color:#167269;margin-right:5px}.map-legend span:first-child:before{content:'◆';color:var(--accent-ink)}
.helarte-map-label{color:var(--accent-ink);border-color:var(--line)}
.courier-layout>p,.courier-layout section>p{margin:12px 0}.courier-layout h2{margin-top:20px}
.courier-actions{position:sticky;bottom:0;z-index:600;padding:12px 0 calc(12px + env(safe-area-inset-bottom));background:var(--sand);border-top:1px solid var(--line)}
.courier-layout .courier-actions.action-pair{margin:14px 0 0;display:grid;grid-template-columns:1fr 1fr;gap:10px}
.courier-actions .button{min-height:52px;font-size:15px;padding:12px}
.courier-layout #courier-address{font-size:17px;font-weight:800;overflow-wrap:anywhere}
@media(max-width:550px){.product-copy h3{font-size:14px}.product-copy p{font-size:12px;min-height:34px}.hero-chips span{font-size:10px}.brand small{font-size:10px}.timeline-step{font-size:11px}.queue-button{font-size:11px}.cart-panel .small-note,.cart-panel .privacy-note{font-size:12px}.courier-layout .courier-actions.action-pair{grid-template-columns:1fr 1fr}.courier-layout h1{font-size:28px}.courier-layout .button{font-size:14px}}

.customer-loyalty{background:var(--sand);border:1px solid var(--line);border-radius:14px;padding:14px;margin:12px 0}.customer-loyalty h3{margin:0 0 8px}.customer-loyalty form{display:grid;gap:8px}.customer-loyalty p{margin:8px 0}.customer-loyalty label{font-size:14px}.customer-loyalty input[type=checkbox]{width:20px;height:20px;vertical-align:middle}.customer-loyalty details{margin-top:12px}.customer-loyalty summary{cursor:pointer;font-weight:700}

.customer-loyalty .loyalty-opt-in{display:flex;flex-direction:row;align-items:center;gap:10px;margin:12px 0;font-weight:700}.customer-loyalty .loyalty-opt-in input{width:20px;min-width:20px;height:20px;margin:0;accent-color:#a54c18}.customer-loyalty details p{font-size:13px}.customer-loyalty details a{text-decoration:underline;text-underline-offset:3px}
[data-history-range]{white-space:nowrap}
.history-filters{margin-top:12px;padding:14px;background:var(--paper,#fff);border:1px solid var(--line);border-radius:12px}
.history-filter-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;margin-bottom:10px}
.history-filter-row label{font-size:11px;gap:5px;min-width:0;margin:0}
.history-filter-row input,.history-filter-row select{font-size:13px;min-width:0;min-height:40px;width:100%;padding:8px}
.history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}
.history-shortcuts .button{padding:7px 10px;min-height:36px;font-size:11px}
.history-note{font-size:11px;line-height:1.5;color:var(--muted);margin:10px 0 0}
.history-summary{padding:12px 0 0}
.history-counts{font-size:12px;line-height:1.5;color:var(--muted);margin:0 0 9px}
.history-amounts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.history-amounts>div{min-width:0;background:var(--sand-soft);border-radius:9px;padding:9px}
.history-amounts small{display:block;font-size:10px;color:var(--muted);line-height:1.4;margin-bottom:5px}
.history-amounts strong{display:block;font-size:15px;overflow-wrap:anywhere}
.history-day-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;padding:14px 0 10px}
.history-day-head h2{font-size:15px;line-height:1.4;text-transform:capitalize}
.history-day-head>span{font-size:11px;white-space:nowrap;color:var(--muted)}
.history-day-totals{margin-bottom:12px}
.history-day-totals>div{background:#fff8ed;border:1px solid var(--sand-soft)}
.history-order-date{font-size:11px;line-height:1.5;color:var(--muted);margin:8px 0 0}
.order-top{gap:10px;flex-wrap:wrap}
.history-filters .message{margin-bottom:0}
.inbox:has(#history-filters:not([hidden])){overflow:auto}
.inbox:has(#history-filters:not([hidden])) .order-list{flex-shrink:0;overflow:visible}
@media(max-width:550px){.history-filter-row input,.history-filter-row select{font-size:16px;min-height:44px}.history-amounts strong{font-size:14px}.history-shortcuts .button{min-height:44px}.history-day-head{align-items:start}.history-day-head h2{font-size:14px}}

/* Reviewed menu photography: show the whole product and the engraved stick. */
.product-image{height:auto;aspect-ratio:1;background:#f4e9da}.product-image img{width:100%;height:100%;object-fit:contain}
.product-image.has-photo-gallery{display:flex;flex-direction:column;aspect-ratio:auto}.product-image.has-photo-gallery>img{display:block;aspect-ratio:1;height:auto}.product-photo-gallery-trigger{border:0;border-top:1px solid var(--line);border-radius:0;background:var(--surface);color:var(--accent-ink);line-height:1.35;font-family:inherit;font-size:11px;font-weight:800;min-height:44px;width:100%;padding:8px;cursor:pointer}.product-photo-gallery-trigger:focus-visible{outline:3px solid var(--orange);outline-offset:-3px}.product-photo-gallery{width:min(820px,94vw);max-height:90dvh;overflow:auto;padding:22px;border:1px solid var(--line);border-radius:20px;background:var(--surface);color:var(--ink)}.product-photo-gallery::backdrop{background:#39281980}.product-photo-gallery>.button{float:right}.product-photo-gallery h2{font-size:22px;margin:8px 90px 12px 0}.product-photo-gallery>p{font-size:13px;line-height:1.6;clear:both;margin-bottom:18px}.product-photo-gallery-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.product-photo-gallery figure{margin:0;min-width:0}.product-photo-gallery img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;border-radius:14px}.product-photo-gallery figcaption{font-size:15px;font-weight:800;padding:12px 0;text-align:center}@media(max-width:550px){.product-photo-gallery-grid{grid-template-columns:1fr}.product-photo-gallery{padding:16px}.product-photo-gallery h2{font-size:19px}}

/* Portada editable: the full 3:2 photograph stays legible next to the heading. */
.menu-hero img#menu-cover-image{width:45%;height:auto;aspect-ratio:3/2;object-fit:contain;border-radius:16px;box-shadow:none;transform:none;flex-shrink:0}.menu-hero>div{min-width:0}
@media(max-width:620px){.menu-hero{flex-direction:column;align-items:stretch}.menu-hero img#menu-cover-image{width:100%;max-height:250px}.menu-hero h1{font-size:32px}}
.flavor-picker{width:min(570px,94vw);max-height:90dvh;overflow:auto;padding:22px;border:1px solid var(--line);border-radius:20px;background:var(--surface);color:var(--ink)}.flavor-picker::backdrop{background:#39281980}.flavor-picker fieldset{border:0;padding:0;margin:16px 0}.flavor-picker legend{font-weight:800}.flavor-group{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}.flavor-group h3{grid-column:1/-1;font-size:15px}.flavor-choice{display:flex;align-items:center;gap:10px;padding:10px;background:var(--sand);border:1px solid var(--line);border-radius:10px;min-height:48px;font-size:15px}.flavor-choice input{width:20px;height:20px;accent-color:var(--orange);margin:0}.flavor-choice:has(input:checked){border-color:var(--orange);outline:1px solid var(--orange)}.flavor-picker form>.button{width:100%;position:sticky;bottom:0}.flavor-picker .modal-heading h2{font-size:25px}@media(max-width:390px){.flavor-group{grid-template-columns:1fr}}

/* Helarte Pedidos: imagen del acceso, 2026-11-25. Sólo presentación. */
.access-aside-paletas{isolation:isolate;background:#ead9c3}
.access-aside-paletas img{position:absolute;inset:0;display:block;filter:none;object-position:50% 50%}
.access-aside-paletas::after{content:"";position:absolute;inset:55% 0 0;background:linear-gradient(180deg,transparent 0%,rgba(42,29,19,.20) 38%,rgba(42,29,19,.83) 100%);pointer-events:none}
.access-aside-paletas span{z-index:1;left:30px;right:24px;bottom:30px;font-size:24px;text-shadow:0 1px 7px rgba(0,0,0,.25)}

/* The two empty states share a row, so their headings align even when copy wraps. */
.inbox-controls{flex-shrink:0}
.empty-symbol{flex-shrink:0}
.empty-symbol img{display:block;width:52px;height:52px;object-fit:contain}
@supports(grid-template-rows:subgrid){
 @media(min-width:851px){
  .workspace:has(.empty-list):not(:has(#history-filters:not([hidden]))){grid-template-rows:auto minmax(0,1fr)}
  .workspace:has(.empty-list):not(:has(#history-filters:not([hidden])))>.sidebar{grid-column:1;grid-row:1/3}
  .workspace:has(.empty-list):not(:has(#history-filters:not([hidden])))>.inbox{display:grid;grid-column:2;grid-row:1/3;grid-template-rows:subgrid;gap:0}
  .workspace:has(.empty-list):not(:has(#history-filters:not([hidden])))>.order-detail{grid-column:3;grid-row:1/3}
  .workspace:has(.empty-list):not(:has(#history-filters:not([hidden])))>.order-detail:has(.empty-detail){display:grid;grid-template-rows:subgrid;gap:0}
  .workspace:has(.empty-list):not(:has(#history-filters:not([hidden]))) .empty-detail{grid-row:2;align-self:start;margin:0 auto;width:100%;padding-top:70px}
 }
}
.screen-awake-controls{flex-shrink:0;display:flex;align-items:center;gap:12px;padding:8px 26px;background:#fffaf2;border-bottom:1px solid var(--sand-soft)}
.screen-awake-controls p{font-size:12px;color:var(--muted);line-height:1.5}
.screen-awake-controls .button{flex-shrink:0}
.screen-awake-controls .awake-active{background:#f1e1cc;border-color:#a95c2a;color:#573a20}
@media(max-width:550px){.screen-awake-controls{padding:8px 14px;align-items:stretch;flex-direction:column;gap:5px}.screen-awake-controls .button{min-height:44px}.screen-awake-controls p{font-size:11px}.panel-body:has(#screen-awake-controls:not([hidden])) .order-detail{inset:0;z-index:12}}

/* Panel touch navigation: tablet first, compact phone fallback. */
.panel-body .queue-label-mobile{display:none}
.panel-body .queue-button .queue-label{flex:1;min-width:0}
.panel-body .panel-menu-link{display:none}
.panel-body .sidebar{overflow-y:auto;overscroll-behavior:contain}
.panel-body :is(button,a,input,select,textarea):focus-visible{outline:3px solid var(--orange);outline-offset:3px}
.panel-body :is(.icon-button,.button){min-height:44px}
.panel-body .icon-button{min-width:44px}
.panel-body :is(input,select,textarea){font-size:16px}
.panel-body :is(.app-header,.screen-awake-controls){flex-shrink:0}
.panel-body .report-scroll-hint{font-size:13px;color:var(--muted);margin:18px 0 4px}
.panel-body .report-table-wrap{overscroll-behavior-x:contain;margin-top:4px;border:1px solid var(--line);border-radius:10px}
.panel-body .report-table-wrap:focus-visible{outline:3px solid var(--orange);outline-offset:3px}
@media(min-width:551px) and (max-width:1050px){
 .panel-body .workspace{grid-template-columns:165px minmax(280px,1fr)}
 .panel-body .inbox{padding:22px 20px 0}
}
@media(min-width:851px) and (max-width:1050px){
 .panel-body .workspace{grid-template-columns:145px minmax(260px,1fr) minmax(310px,.95fr)}
 .panel-body .sidebar{padding-left:10px;padding-right:10px}
 .panel-body .inbox{padding-left:16px;padding-right:16px}
}
@media(max-width:850px){
 .panel-body:has(#screen-awake-controls) .order-detail{inset:0;z-index:12;padding-bottom:env(safe-area-inset-bottom);overscroll-behavior:contain}
 .panel-body .order-detail .detail-head{position:sticky;top:0;z-index:2;background:var(--surface);padding-top:max(14px,env(safe-area-inset-top));border-bottom:1px solid var(--line)}
 .panel-body .mobile-back{display:inline-flex;margin-bottom:12px;min-height:44px}
 .panel-body .order-detail .row-between{flex-wrap:wrap;gap:8px}
 .panel-body .order-detail .detail-title-row{gap:12px}
 .panel-body .order-detail h2{overflow-wrap:anywhere}
 .panel-body dialog{max-height:calc(100dvh - 24px);overscroll-behavior:contain}
 .panel-body .history-filter-row:first-child{grid-template-columns:1fr}
}
@media(max-width:550px){
 .panel-body .sidebar{display:block;overflow:visible;padding:8px 10px;flex-shrink:0}
 .panel-body #queues{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;overflow:visible}
 .panel-body .queue-button{min-width:0;min-height:62px;padding:6px 2px;display:grid;grid-template-columns:1fr auto;grid-template-rows:22px auto;gap:2px;font-size:11px;border-radius:10px;text-align:center}
 .panel-body .queue-button .nav-icon{justify-self:end;margin:0;font-size:16px}
 .panel-body .queue-button .queue-count{position:static;margin:0;justify-self:start;min-width:18px;padding:1px 4px;font-size:10px}
 .panel-body .queue-label{display:none}
 .panel-body .queue-label-mobile{display:block;grid-row:2;grid-column:1/-1;font-weight:800}
 .panel-body .product-menu-control,.panel-body .panel-menu-link{display:inline-flex;min-height:44px;width:calc(50% - 4px);margin-top:6px;vertical-align:middle}
 .panel-body .panel-menu-link{margin-left:8px}
 .panel-body #open-products[hidden]+.panel-menu-link{margin-left:0;width:100%}
 .panel-body .inbox{overflow:auto;overscroll-behavior:contain;min-height:0;padding-top:18px}
 .panel-body .inbox-controls,.panel-body .order-list{flex-shrink:0}
 .panel-body .order-list{overflow:visible}
 .panel-body .history-filter-row{min-width:0}
 .panel-body .history-filter-row>*{min-width:0}
 .panel-body .history-filter-row input{min-width:0;width:100%;max-width:100%}
 .panel-body .report-actions,.panel-body .history-shortcuts{display:flex;flex-wrap:wrap;gap:8px}
 .panel-body .report-actions>*{flex:1 1 120px}
 .panel-body .header-tools{gap:6px}
 .panel-body .store-state{min-width:0}
 .panel-body .store-state strong,.panel-body .store-state small{overflow-wrap:anywhere}
 .panel-body .detail-head{padding-left:16px;padding-right:16px}
 .panel-body .detail-title-row h2{font-size:26px}
 .panel-body .detail-total strong{font-size:26px}
 .panel-body .modal-actions{flex-wrap:wrap}
 .panel-body .modal-actions>.button{flex:1 1 120px}
}
@media(max-height:600px){
 .panel-body .inbox{overflow:auto}
 .panel-body .inbox-controls,.panel-body .order-list{flex-shrink:0}
 .panel-body .order-list{overflow:visible}
}

.panel-body input:not([type=checkbox]):not([type=range]):not([type=file]),.panel-body select{min-height:44px}
@media(max-width:550px),(max-height:600px){
 .panel-body .detail-actions{position:static;bottom:auto;background:var(--surface)}
}
