/* Delicias al Carbón: interfaz táctil, legible y adaptable */
:root{--green:#087b60;--green-dark:#06684f;--type-body:16px;--touch:48px}
body{font-size:var(--type-body);line-height:1.5;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.mobile-menu{display:grid;width:48px;height:48px;min-width:48px;font-size:23px;color:#173c3a;border:1px solid var(--line);background:#fff}
.sidebar{transition:transform .22s ease,width .22s ease}.app-shell.sidebar-collapsed .sidebar{transform:translateX(-100%)}.app-shell.sidebar-collapsed .workspace{margin-left:0}
.sidebar-scrim{display:none;position:fixed;inset:0;z-index:29;border:0;background:rgba(21,39,41,.38)}.sidebar-scrim.visible{display:block}
.sidebar .nav-item{font-size:16px;min-height:50px;gap:13px}.sidebar .nav-icon{width:24px;font-size:21px}.nav-caption{font-size:12px}.brand-lockup strong{font-size:17px}.brand-lockup small{font-size:13px}.help-card p,.help-card button,.user-chip strong,.user-chip small{font-size:13px}
.topbar{padding:0 clamp(12px,2.5vw,34px);gap:12px}.topbar-actions{gap:9px}.icon-button,.notification-button{width:48px;height:48px;min-width:48px;font-size:22px}.breadcrumb{font-size:15px}.global-search{height:44px}.global-search input{font-size:15px}
.page-content{padding:clamp(16px,2.6vw,30px) clamp(12px,2.5vw,34px) 72px}.page-heading{margin-bottom:18px}.page-heading h1{font-size:clamp(25px,3vw,34px);line-height:1.2}.page-heading p{font-size:16px;line-height:1.45}.eyebrow{font-size:13px;letter-spacing:.07em}
.btn{font-size:15px;min-height:var(--touch);padding:10px 16px;border-radius:11px}.btn-small{font-size:14px;min-height:44px;padding:8px 12px}.panel-header h2,.panel-header p{font-size:16px}.panel-header p,.stat-foot,.stat-top,.page-tools,.filter-select,.period-select{font-size:14px}
.stat-card{min-height:110px;padding:16px}.stat-top{font-size:14px}.stat-icon{width:40px;height:40px;font-size:21px}.stat-value{font-size:clamp(24px,3vw,30px)}.stat-foot{font-size:14px}.panel{padding:20px;border-radius:16px}.tab-button{min-height:48px;padding:10px 15px;font-size:15px}.status{font-size:13px;padding:6px 10px}
.floor-grid{gap:12px}.floor-card{min-height:84px;padding:12px 14px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:10px}.floor-card-top{display:contents}.floor-icon{display:none}.floor-state{order:2;font-size:14px;padding:7px 11px;border-radius:20px}.floor-card>strong{font-size:18px;order:1}.floor-card.is-occupied{background:#fff3f2;border-color:#e9b2ae;box-shadow:inset 4px 0 #c94b43}.floor-card.is-occupied .floor-state{background:#fbe0de;color:#9b2f29}.floor-card:not(.is-occupied){background:#f0f8f3;border-color:#c7e2d2;box-shadow:inset 4px 0 #32885f}.floor-card:not(.is-occupied) .floor-state{background:#dff1e6;color:#216b49}
.prep-tabs .tab-button{min-height:52px;padding:10px 22px;font-size:18px}.prep-toolbar{font-size:16px}.prep-toolbar strong{font-size:18px}.prep-order{overflow:hidden}.prep-order-header{padding:16px;gap:12px}.prep-order-kicker{font-size:15px}.prep-order-header h2{font-size:22px}.prep-wait{font-size:16px;padding:5px 9px}.prep-order-items{padding:12px 16px}.prep-item{padding:14px 10px}.prep-item-name strong,.prep-item-main strong{font-size:18px;line-height:1.35}.prep-item-name small,.prep-zone-state,.prep-delivered{font-size:15px}.prep-item-actions .btn,.prep-bulk-actions .btn{min-height:48px;font-size:15px}.prep-table-group>header h2{font-size:21px}.prep-table-group>header span{font-size:15px}.prep-order-note{font-size:15px}
.field label,.field span,.field input,.field select,.field textarea,input,select,textarea{font-size:16px}.field input,.field select,.field textarea,select,input{min-height:46px}.search-field{height:48px;min-width:min(100%,260px)}.search-field input{font-size:16px}.category-chip{min-height:44px;padding:9px 14px;font-size:14px}.order-product{min-height:112px;padding:15px;gap:8px}.order-product strong{font-size:16px;line-height:1.35}.order-product small{font-size:15px}.cart-line{padding:14px 8px;gap:12px}.cart-line strong{font-size:16px}.cart-line small{font-size:14px}.qty-stepper{gap:8px}.qty-stepper button{width:48px;height:48px;font-size:20px}.cart-trash{width:44px;height:44px;font-size:20px}.item-note{height:44px;font-size:15px}.cash-count input{min-height:48px;font-size:17px}
table{white-space:normal}th{font-size:13px;padding:11px 10px}td{font-size:15px;padding:12px 10px}.stock-pill{font-size:13px}.product-thumb{width:40px;height:40px;font-size:22px}.inventory-product-photo{width:50px;height:50px;object-fit:cover;border-radius:10px}.product-photo-field{margin-top:16px}.product-photo-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.product-photo-row img{width:76px;height:76px;object-fit:cover;border-radius:12px;border:1px solid var(--line)}.product-photo-placeholder{display:grid;place-items:center;width:76px;height:76px;border:1px dashed #a9b9b2;border-radius:12px;color:#60736c;font-size:13px}.field-hint{font-size:13px}.notification-button.has-alert{color:#a9322d;background:#fff0ee}.notification-button.has-alert:after{content:'';position:absolute;right:7px;top:7px;width:9px;height:9px;border-radius:50%;background:#c43b32}
.modal-backdrop{padding:clamp(6px,2vw,18px);overscroll-behavior:contain}.modal{max-height:min(94dvh,100%);border-radius:18px}.modal-header{align-items:center;padding:16px 20px}.modal-header h2{font-size:21px}.modal-header p{font-size:15px}.modal-close{width:48px;height:48px;font-size:28px}.modal-body{padding:18px 20px;font-size:16px}.modal-footer{padding:14px 18px;gap:9px}.modal-footer .btn{flex:1 1 auto;min-height:50px}.modal.wide{width:min(1100px,100%)}
.order-current-status{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 14px;border:1px solid #dce9e2;border-radius:12px;background:#f5faf7}.order-current-status strong{font-size:16px}.order-current-status span,.order-current-status small{font-size:14px;color:#60726d}.order-current-status small{margin-left:auto}.order-step-nav{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:14px 0;border-bottom:1px solid var(--line);padding-bottom:12px}.order-step-tab{min-height:52px;border:1px solid var(--line);background:#fff;border-radius:12px;color:#405750;font-size:16px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:10px}.order-step-tab>span{width:28px;height:28px;border-radius:50%;background:#edf4f0;display:grid;place-items:center}.order-step-tab.active{border-color:#168568;background:#eaf6f0;color:#05684f}
.order-channel-groups{display:grid;gap:18px}.order-channel-groups h3,.register-lines h3,.report-table h3{font-size:17px;margin:0 0 10px}.order-channel-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(125px,1fr));gap:10px}.order-channel{min-height:68px;padding:10px 12px;text-align:left;border:1px solid #dce6e1;border-radius:12px;background:#f5faf7;color:#153b35}.order-channel strong{display:block;font-size:16px}.channel-state{display:block;font-size:12px;color:#4b775e}.order-channel.selected{outline:3px solid #168568;background:#e8f6ef}.order-channel.occupied{background:#fff3f2;color:#9b302a;border-color:#e8b6b1}.order-channel:disabled{opacity:.55}.order-step-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;padding-top:14px;margin-top:14px;border-top:1px solid var(--line)}.order-item-count{margin-right:auto;font-weight:700;color:#455b55}
.register-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(250px,.8fr);gap:18px}.register-lines,.register-summary{padding:16px;border:1px solid var(--line);border-radius:14px;background:#fff}.register-summary{display:grid;align-content:start;gap:12px}.editable-price{display:flex;align-items:center;gap:8px;margin:7px 0;font-size:13px;color:#536861}.editable-price input{width:140px;min-height:42px;padding:6px 10px;border:1px solid #cad9d2;border-radius:9px;font-weight:700}.register-actions{justify-content:flex-start}.register-actions .btn-primary{margin-left:auto}.register-actions .btn-bill{background:#087b60;color:#fff;border-color:#087b60}.register-summary .field{display:grid;gap:5px}.register-summary .field span{font-weight:700}.register-summary .field input,.register-summary .field select{width:100%}
.checkout-modal{width:min(580px,100%)}.checkout-total{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:18px;border-radius:14px;background:#eaf6f0;margin-bottom:16px}.checkout-total span{font-weight:700;color:#31594a}.checkout-total strong{font-size:clamp(26px,5vw,34px);font-variant-numeric:tabular-nums}.checkout-screen .field{display:grid;gap:7px;margin:14px 0}.checkout-screen .field label{font-weight:700}.checkout-tender[hidden]{display:none}.cash-presets{gap:8px}.cash-presets button{flex:1 1 28%;min-height:46px;border:1px solid #90c9ae;border-radius:10px;background:#f5fcf8;color:#087b60;font-weight:700}.checkout-change{padding:14px;border-radius:10px;background:#f5f7f6;font-weight:800;font-size:19px;text-align:right;font-variant-numeric:tabular-nums}.checkout-customer{font-size:14px;color:#63756f;margin-top:10px}
.report-filters{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;align-items:end;margin-bottom:18px}.report-filters .field,.service-point-panel .field{display:grid;gap:6px}.report-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:12px 0 18px}.report-stats article{padding:14px;border:1px solid var(--line);border-radius:12px}.report-stats small,.report-stats strong{display:block}.report-stats small{color:#62736e;font-size:14px}.report-stats strong{margin-top:5px;font-size:21px;font-variant-numeric:tabular-nums}.report-table{margin-top:18px}.report-table .table-wrap{max-height:300px;overflow:auto}.service-point-panel{max-width:760px;display:grid;gap:18px}.service-point-panel>p{margin:0;color:#576a63;font-size:15px}.service-point-panel textarea{width:100%;padding:12px;border:1px solid #ccd8d2;border-radius:10px;line-height:1.6}.notification-item{display:grid;gap:4px;padding:14px 10px;border-bottom:1px solid var(--line)}.notification-item strong{font-size:16px}.notification-item span{font-size:14px;color:#596c66}.notification-item.late{border-left:4px solid #cb7929;background:#fffbf4}.notification-item.cancelled{border-left:4px solid #c43b32;background:#fff7f6}.inactive-user{opacity:.75}.inactive-user td{color:#667773}
@media(max-width:900px){.sidebar{transform:translateX(-102%);width:min(320px,86vw);z-index:30}.sidebar.open{transform:translateX(0)}.workspace{margin-left:0!important}.sidebar-scrim{z-index:29}.topbar{height:64px}.page-content{max-width:none}.dashboard-grid,.two-panels{grid-template-columns:1fr}.global-search{display:none}.report-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.topbar{height:60px;padding:0 10px}.topbar .breadcrumb>span:first-child,.crumb-divider{display:none}.breadcrumb{font-size:15px;min-width:0}.topbar-actions{gap:3px}.topbar-actions .avatar{display:none}.page-heading{align-items:flex-start;flex-direction:column;gap:10px}.heading-actions{width:100%;display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px}.heading-actions .btn{width:100%;justify-content:center}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.stat-card{min-height:98px;padding:12px}.stat-value{font-size:22px;margin:7px 0 2px}.stat-top,.stat-foot{font-size:12px}.stat-icon{width:34px;height:34px}.page-content{padding:16px 12px 80px}.panel{padding:14px;border-radius:14px}.floor-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.floor-card{min-height:68px;padding:9px;gap:6px}.floor-card>strong{font-size:16px}.floor-state{font-size:12px;padding:5px 7px}.prep-tabs{overflow-x:auto;scrollbar-width:thin}.prep-tabs .tab-button{flex:1 0 auto;min-height:50px;font-size:16px;padding:8px 14px}.prep-order-header h2{font-size:19px}.prep-item-name strong,.prep-item-main strong{font-size:16px}.prep-item-actions{padding-left:0}.prep-item-actions .btn{flex:1 1 42%;font-size:14px}.modal-backdrop{place-items:end center;padding:0}.modal,.modal.wide{width:100%;max-width:none;max-height:94dvh;border-radius:18px 18px 0 0}.modal-body{padding:14px 14px 18px}.modal-header{padding:12px 14px}.modal-footer{padding:10px 12px calc(12px + env(safe-area-inset-bottom));display:grid;grid-template-columns:1fr 1fr}.modal-footer .btn{min-width:0;white-space:normal;font-size:14px}.order-current-status small{margin-left:0}.order-step-nav{position:sticky;top:0;z-index:3;background:#fff}.order-step-tab{font-size:14px;min-height:48px;gap:6px}.order-channel-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.order-channel{min-height:62px}.order-channel strong{font-size:15px}.register-layout{grid-template-columns:1fr}.register-actions{display:grid;grid-template-columns:1fr 1fr}.register-actions .btn-primary{margin-left:0}.register-actions .btn-bill{grid-column:1/-1}.report-filters{grid-template-columns:1fr 1fr}.report-filters>.btn{grid-column:1/-1}.report-stats article{padding:11px}.report-stats strong{font-size:18px}.table-wrap{max-width:100%}.data-panel .table-wrap{padding:0 8px 10px}.cash-panel .table-wrap{overflow-x:auto}.search-field{width:100%;min-width:0}.tools-left,.tools-right{width:100%}.tools-left .filter-select{flex:1}.page-tools>.btn{width:100%;justify-content:center}}
@media(max-width:390px){.floor-card{flex-direction:column;align-items:flex-start}.floor-state{order:0}.floor-card>strong{order:1}.stats-grid{grid-template-columns:1fr 1fr}.order-channel-grid{grid-template-columns:1fr 1fr}.report-stats{gap:7px}.checkout-total{padding:13px}.order-step-tab>span{width:24px;height:24px}}
.sidebar .nav-icon{width:38px;height:38px;flex:0 0 38px;font-size:23px!important;line-height:1;box-shadow:0 2px 6px #173e3610}.sidebar .nav-item{gap:12px}.order-step-tab{position:relative}.order-item-badge{position:absolute;right:12px;top:8px;min-width:26px;height:26px;padding:0 7px;border-radius:99px;background:#d83f45;color:white;display:grid;place-items:center;font-size:13px;line-height:1;font-weight:800;box-shadow:0 2px 6px #9e303033}.order-item-badge[hidden]{display:none}.register-adjustments{border:1px solid #e7edea;border-radius:10px;padding:10px 12px}.register-adjustments summary{cursor:pointer;font-size:14px;font-weight:700;color:#4e655d}.register-adjustments .field{margin-top:12px}.register-actions{align-items:stretch}.register-actions .btn-split{background:#f5f1ff;border-color:#ded6fa;color:#594993}.receipt-trigger{margin-left:auto}.modal-header:has(.receipt-trigger){gap:8px}.receipt-preview{background:#edf2ef;padding:12px;border-radius:12px;max-height:65vh;overflow:auto;text-align:center}.receipt-preview img{display:block;width:min(100%,520px);height:auto;margin:0 auto;box-shadow:0 4px 20px #172f2b20}.receipt-modal{width:min(680px,100%)}.receipt-modal .modal-footer{justify-content:flex-end}.split-product-list{display:grid;gap:8px;max-height:42vh;overflow:auto}.split-product-row{display:grid;grid-template-columns:minmax(0,1fr) 145px;align-items:center;gap:12px;padding:11px;border:1px solid #e5ece8;border-radius:10px;background:#fbfdfc}.split-product-row span{font-weight:700}.split-product-row small{display:block;margin-top:4px;color:#087b60}.split-product-row select{min-height:42px;border:1px solid #dce5e0;border-radius:8px;padding:0 8px;background:#fff}
.prep-orders{grid-template-columns:minmax(0,1fr)!important;gap:8px!important;align-items:stretch!important}.prep-order{margin:0!important;border-radius:14px}.prep-order-header{padding:12px 16px}.prep-order-items{padding:3px 14px}.prep-item{padding:9px 0}.prep-item-main{grid-template-columns:40px minmax(0,1fr) auto;gap:11px;align-items:center}.prep-item-name{min-width:0}.prep-units{display:flex!important;flex-wrap:nowrap!important;gap:7px!important;max-width:100%;overflow-x:auto;scrollbar-width:thin}.prep-unit{flex:0 0 auto;white-space:nowrap;font-size:16px!important;line-height:1.25;padding:7px 10px!important}.prep-unit i{font-size:21px!important}.prep-zone-states{margin-top:7px;flex-wrap:wrap;gap:6px}.prep-zone-state{font-size:13px!important;padding:4px 8px}.prep-item-name small{font-size:14px!important}.prep-item-actions{align-items:flex-end}.prep-item-actions .btn{min-height:44px;font-size:14px}.prep-product-photo{width:34px;height:34px;object-fit:cover;border-radius:9px}
@media(max-width:650px){.register-actions .btn-split{grid-column:1/-1}.receipt-trigger{padding:7px 9px;font-size:12px}.modal-header:has(.receipt-trigger){flex-wrap:wrap}.modal-header:has(.receipt-trigger) h2{margin-right:auto}.modal-header:has(.receipt-trigger) .receipt-trigger{order:3;width:100%;justify-content:center}.modal-header:has(.receipt-trigger) .modal-close{order:2}.split-product-row{grid-template-columns:minmax(0,1fr) 112px}.prep-item-main{grid-template-columns:38px minmax(0,1fr) auto!important;align-items:center!important;flex-wrap:initial!important}.prep-item-actions{grid-column:auto!important;width:auto!important;padding:0!important;align-items:flex-end!important;flex-direction:column!important}.prep-item-actions .btn{flex:0 0 auto!important;min-height:42px!important}.prep-units{flex-wrap:nowrap!important}.prep-unit{font-size:14px!important}}
.prep-view-switch{display:flex;justify-content:flex-end;align-items:center;gap:6px;margin:-4px 0 12px}.prep-view-switch>span{font-size:13px;color:#72837e;margin-right:3px}.prep-view-switch button{border:1px solid #dfe8e3;border-radius:9px;background:#fff;color:#52645d;padding:8px 12px;font-size:14px;font-weight:700;min-height:40px}.prep-view-switch button.active{background:#e5f5ec;border-color:#8cc6a8;color:#087b60;box-shadow:0 2px 6px #16835f14}.prep-orders.layout-grid{display:block!important;column-width:min(440px,100%);column-gap:12px;column-fill:balance;align-items:initial!important}.prep-orders.layout-grid>.prep-order{display:inline-block;width:100%;break-inside:avoid;vertical-align:top;margin:0 0 12px!important}.prep-orders.layout-grid>.prep-empty{display:block;width:100%;column-span:all}.prep-orders.layout-list{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important}.prep-orders.layout-list>.prep-order{width:100%}.prep-order{min-width:0}.prep-product-title{display:block!important;max-width:100%;overflow-x:auto;white-space:nowrap;font-size:19px!important;line-height:1.3!important;color:#183d3c!important;scrollbar-width:thin}.prep-unit-count{display:inline-flex;align-items:center;margin-top:4px;padding:3px 8px;border-radius:20px;background:#edf5f0;color:#42675a;font-size:13px;font-weight:800}.prep-item-name{min-width:0;overflow:hidden}.prep-item-name small{white-space:normal;overflow-wrap:anywhere}.prep-item-main{grid-template-columns:44px minmax(0,1fr) auto!important;align-items:start!important}.prep-emoji,.prep-product-photo{width:40px!important;height:40px!important}.prep-item-actions{align-self:start}.prep-bulk-actions{gap:8px;padding:10px 14px}.register-layout{align-items:start;grid-template-columns:minmax(0,1.6fr) minmax(240px,.65fr)}.register-summary{height:max-content;align-self:start}.cart-line{grid-template-columns:minmax(0,1fr) auto;align-items:start}.cart-line>span:first-child{min-width:0}.cart-line>span:first-child>strong{display:block;white-space:nowrap;overflow-x:auto;font-size:17px!important}.editable-price{white-space:nowrap}.item-note{width:min(100%,420px)}
@media(max-width:760px){.register-layout{grid-template-columns:minmax(0,1fr)}.register-summary{width:100%}.prep-orders.layout-grid{column-width:min(100%,520px);column-count:1}.prep-view-switch{justify-content:stretch}.prep-view-switch>span{display:none}.prep-view-switch button{flex:1}}
.split-person-totals{margin-top:18px;padding:14px;border:1px solid #dce9e2;border-radius:14px;background:#f8fbf9}.split-person-totals h3{margin:0;color:#244149;font-size:18px}.split-person-totals>p{margin:5px 0 12px;color:#71817b;font-size:14px}.split-person-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:9px}.split-person-card{display:grid;gap:8px;padding:12px;border:1px solid #e0e9e4;border-radius:11px;background:#fff}.split-person-card[hidden]{display:none!important}.split-person-card.is-paid{border-color:#a7d7bd;background:#f0faf4}.split-person-heading,.split-person-heading label{display:flex;align-items:center;gap:8px}.split-person-heading{justify-content:space-between}.split-person-heading label input{width:18px;height:18px;min-height:18px;accent-color:#087b60}.split-person-heading strong{font-size:15px;color:#25423d}.split-person-heading>b{font-size:19px;color:#087b60;font-variant-numeric:tabular-nums}.split-person-status{font-size:13px;color:#697b75}.split-person-card.is-paid .split-person-status{color:#13825d;font-weight:700}.split-method{display:grid;gap:4px;font-size:12px;color:#71817b}.split-method select{min-height:38px;border:1px solid #dce5e0;border-radius:8px;background:#fff;padding:0 9px;font-size:14px}.split-summary{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px;border-radius:10px;background:#eff7f2;color:#375d4f;font-size:14px}.split-summary strong{color:#183d3c}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
.prep-order-meta{font-size:14px!important;font-weight:700;color:#415d53;text-align:right}
.prep-product-photo{width:44px;height:44px;object-fit:cover;border-radius:9px;border:1px solid var(--line)}
.checkout-lines{display:grid;gap:8px;max-height:190px;overflow:auto;padding:0 2px;margin-bottom:14px}
.checkout-lines>div{display:flex;justify-content:space-between;gap:12px;padding:9px 10px;border-bottom:1px solid var(--line);font-size:15px}
@media(max-width:650px){.prep-order-meta{font-size:13px!important;text-align:left}.prep-product-photo{width:40px;height:40px}}
.modal-header p:empty{display:none}
.split-order-locked #cartLines input,.split-order-locked #cartLines button{opacity:.55;cursor:not-allowed}
.billing-group-preview{display:grid;gap:6px;margin:8px 0 0;padding:9px 10px;border:1px solid #d9e8e0;border-radius:12px;background:#f3f8f5;color:#284d45}
.billing-group-title{font-size:12px;color:#557167}
.billing-group-ticket{margin:0!important;padding:7px 0 0!important;border:0!important;border-top:1px solid #dce9e2!important;border-radius:0!important;background:transparent!important}
.billing-group-ticket>b{display:block;margin:0 0 4px;font-size:12px}
.billing-group-line{display:flex;justify-content:space-between;gap:8px;padding:2px 0;font-size:12px}
.chart-date-range{align-items:end;gap:8px}.chart-date-range label{min-width:125px}.chart-date-range select{min-height:40px;border:1px solid var(--border,#dce6e1);border-radius:9px;background:#fff;padding:8px;color:var(--ink,#173b35);font:inherit}
.prep-orders.layout-grid{column-gap:8px!important;row-gap:8px!important}.prep-orders.layout-grid>.prep-order{margin-bottom:8px!important}.prep-order-header{padding:8px 11px!important}.prep-order-items{margin:7px 8px!important;padding:3px 9px!important}.prep-unit-row{padding:7px 3px!important;gap:8px!important}.prep-tabs{margin-bottom:8px!important}.prep-view-switch{margin-bottom:7px!important}
.prep-product-title{overflow:hidden!important;text-overflow:ellipsis;scrollbar-width:none;font-size:17px!important}.prep-item-main{grid-template-columns:40px minmax(0,1fr)!important;align-items:start!important}.prep-item-actions{grid-column:2;display:flex;flex-flow:row wrap;justify-content:flex-start;align-items:center;gap:7px;margin-top:7px}.prep-unit-count{margin-top:3px}.prep-item-name{width:100%}
@media(max-width:650px){.prep-item-main{grid-template-columns:38px minmax(0,1fr)!important;flex-wrap:initial!important}.prep-item-actions{grid-column:2!important;width:auto!important;padding:0!important;flex-flow:row wrap!important;align-items:center!important}.prep-item-actions .btn{flex:0 0 auto!important;min-height:42px!important}}
/* Tarjetas compactas en columnas; el HTML conserva el orden guardado de las comandas. */
.prep-orders.layout-grid{display:block!important;column-width:min(420px,100%);column-gap:12px;column-fill:balance;align-items:initial!important}
.prep-orders.layout-list{display:grid!important;grid-template-columns:minmax(0,1fr)!important;align-items:start!important;gap:8px!important}
.prep-orders.layout-grid>.prep-order{display:inline-block!important;width:100%!important;min-width:0;margin:0 0 10px!important;break-inside:avoid;vertical-align:top}
.prep-orders.layout-list>.prep-order{display:block!important;width:100%!important;min-width:0;margin:0!important;break-inside:auto}
.prep-orders.layout-grid>.prep-empty,.prep-orders.layout-list>.prep-empty{display:block;width:100%}
.prep-item-main-clean{display:grid!important;grid-template-columns:42px minmax(0,1fr)!important;gap:8px 12px!important;align-items:center!important;width:100%;min-width:0;padding:10px 12px!important}
.prep-product-visual{grid-column:1;grid-row:1;display:grid;place-items:center;width:42px;height:42px;border-radius:10px;background:#edf5f0}
.prep-product-visual .prep-product-photo,.prep-product-visual .prep-emoji{width:34px!important;height:34px!important;object-fit:cover}
.prep-item-details{grid-column:2;grid-row:1;min-width:0;width:100%;overflow:hidden}
.prep-product-title-row{display:flex;align-items:center;gap:10px;min-width:0;width:100%}
.prep-product-title{flex:1 1 auto;min-width:0;max-width:none!important;overflow:hidden!important;text-overflow:ellipsis;white-space:nowrap!important;font-size:16px!important;line-height:1.35!important;scrollbar-width:none}
.prep-unit-count{flex:0 0 auto;margin:0!important}
.prep-item-note{display:block;margin-top:4px;white-space:normal;overflow-wrap:anywhere}
.prep-item-details .prep-zone-states{display:flex;flex-flow:row wrap;gap:5px;margin-top:6px;min-width:0}
.prep-item-details .prep-zone-state{white-space:normal;line-height:1.3}
.prep-item-main-clean>.prep-item-actions{grid-column:2;grid-row:2;display:flex!important;flex-flow:row wrap;align-items:center;gap:8px;min-width:0;width:100%;margin:0!important}
.prep-item-main-clean>.prep-item-actions .btn{white-space:nowrap}
@media(max-width:760px){.prep-orders.layout-grid{column-width:min(100%,520px);column-count:1}.prep-item-main-clean{grid-template-columns:36px minmax(0,1fr)!important;gap:8px!important}.prep-product-visual{width:36px;height:36px}}
.brand-lockup .brand-logo{background:#fff;padding:3px;object-fit:contain;border:1px solid #e5e9e7}
.register-actions .btn-primary,.register-actions .btn-bill{background:#0b8065;border-color:#0b8065;color:#fff}
.register-actions [data-action="go-cash"]{background:#e8f4ed;border-color:#84c4a5;color:#126548;font-weight:800}
.split-order-modal .modal-footer [data-action="confirm-split-products"],.modal-footer [data-action="confirm-split-products"]{background:#0b8065;border-color:#0b8065;color:#fff;font-weight:800}
.btn-bill{background:#d94d42!important;border-color:#d94d42!important;color:#fff!important;box-shadow:0 5px 14px #d94d4235!important}
.btn-bill:hover{background:#bd3933!important;border-color:#bd3933!important}
/* Cuadrícula cronológica: las órdenes fluyen por filas según el orden recibido. */
.prep-orders.layout-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,410px),1fr))!important;grid-auto-flow:row!important;align-items:start!important;align-content:start!important;column-count:initial!important;column-width:auto!important;column-gap:12px!important;row-gap:12px!important}
.prep-orders.layout-grid>.prep-order{display:block!important;min-width:0;width:100%!important;margin:0!important;break-inside:auto;vertical-align:initial}
.prep-orders.layout-grid>.prep-empty{grid-column:1/-1}
.prep-orders.layout-list{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important}
.daily-history-panel{margin-top:14px}.daily-history-panel .panel-header{margin-bottom:8px}.daily-history-empty{font-size:14px;color:#74837d;margin:8px 0 2px}
.cash-history-trigger{display:flex;justify-content:flex-end;margin-top:10px}.cash-history-panel{margin-top:12px}.cash-history-panel[hidden]{display:none!important}.cash-history-panel .cash-invoices{margin:0 0 14px}.cash-history-panel .cash-history{margin-top:0}
@media(max-width:760px){.prep-orders.layout-grid{grid-template-columns:minmax(0,1fr)!important;gap:8px!important}}

/* Product order workflow and report layout refinements */
.order-entry-modal .modal-header{min-height:54px;justify-content:flex-end;padding-block:6px}
.order-entry-modal .modal-header h2,.order-entry-modal .modal-header p,.order-entry-modal .order-current-status{display:none!important}
.order-entry-modal .modal-close{margin-left:auto}
.order-entry-modal .modal-body{padding-top:10px}
.order-entry-modal .order-step-panel{min-height:0}
.order-entry-modal .order-products{max-height:calc(84dvh - 190px)}
.product-rank{display:inline-flex;align-items:center;min-height:22px;padding:2px 7px;border-radius:99px;background:#eef2f0;color:#61716a;font-size:11px;font-weight:800}
.product-rank.has-sales{background:#e3f5eb;color:#087b60}
.cart-line{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:start!important;gap:10px!important;position:relative!important;padding:12px 0!important}
.cart-line>span:first-child{display:grid;grid-column:1;gap:7px;min-width:0}
.cart-line>span:first-child>strong{white-space:normal!important;overflow:visible!important;overflow-wrap:anywhere}
.cart-line .price-choice,.cart-line .editable-price{display:grid;grid-template-columns:1fr;gap:4px;width:100%;margin:0;white-space:normal}
.cart-line .price-choice select,.cart-line .editable-price input{box-sizing:border-box;width:100%;min-width:0;min-height:42px;border:1px solid #cad9d2;border-radius:9px;background:#fff;padding:6px 10px;font-size:14px}
.cart-line .editable-price input{font-weight:700}
.cart-line .item-note{box-sizing:border-box;width:100%;min-width:0}
.cart-line .qty-stepper{grid-column:2;grid-row:1;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:5px;max-width:130px;padding:0}
.cart-line .qty-stepper button{width:36px;height:36px;min-width:36px;flex:0 0 36px}
.cart-line .qty-stepper b{min-width:20px;text-align:center}
.cart-line .qty-stepper .cart-trash{position:static!important;inset:auto!important;transform:none!important;margin:0!important;border:1px solid #e4c6c3;border-radius:9px;background:#fff8f7;color:#bd3933;box-shadow:none}
.daily-history-controls{display:flex;align-items:end;gap:10px;flex-wrap:wrap}
.daily-history-controls .field{display:grid;gap:5px;margin:0}
.daily-history-controls input{min-height:42px}
.daily-history-panel .panel-header{align-items:end}
.daily-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.daily-report-footnote{margin:14px 0 0;color:#536861;font-size:14px}
.prep-order-meta{position:absolute;top:8px;right:10px;display:flex!important;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin-left:auto;align-self:flex-start;text-align:right}
.prep-order-header{position:relative;align-items:flex-start}
.prep-order-toggle{flex:0 0 auto;align-self:flex-start;white-space:nowrap}
.chart-col-clickable{cursor:pointer;outline-offset:3px}
.chart-col-clickable:focus-visible{outline:2px solid #1684ff;border-radius:5px}
.chart-detail{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px;border:1px solid #dce8e2;border-radius:12px;background:#f5faf7}
.chart-detail strong{font-size:24px;color:#173d37}
.prep-order-meta .btn{min-height:36px}
@media(max-width:760px){.order-entry-modal .order-products{max-height:calc(86dvh - 160px)}.cart-line .qty-stepper{max-width:88px}.daily-history-controls{width:100%}.daily-history-controls .field{flex:1;min-width:145px}.daily-history-controls>.btn{width:100%;justify-content:center}.daily-detail-grid{grid-template-columns:1fr}.daily-history-panel .panel-header{align-items:stretch}}

@media(max-width:760px){.modal-backdrop:has(.order-entry-modal){align-items:flex-start;padding:4px 6px}.order-entry-modal{height:calc(var(--visual-viewport-height,100dvh) - 8px)!important;max-height:calc(var(--visual-viewport-height,100dvh) - 8px)!important;display:flex;flex-direction:column}.order-entry-modal .modal-body{min-height:0;flex:1;overflow:auto;overscroll-behavior:contain}.order-entry-modal .order-step-panel{min-height:0;display:flex;flex-direction:column}.order-entry-modal .order-builder,.order-entry-modal .order-catalog{min-height:0;flex:1;display:flex;flex-direction:column}.order-entry-modal .order-products{flex:1;min-height:100px;max-height:none!important;overflow:auto;overscroll-behavior:contain}.order-entry-modal.product-search-focus .order-step-nav{display:none!important}.order-entry-modal.product-search-focus .order-catalog>.search-field{position:sticky;top:0;z-index:2;background:#fff;padding:3px 0}.order-entry-modal .category-chips{flex:0 0 auto}}
.table-transfer-trigger{margin-left:auto;white-space:nowrap}.order-entry-modal .modal-footer{flex-shrink:0}

/* Ajustes de identidad y desplazamiento táctil del selector de productos. */
.brand-lockup{gap:12px}
.brand-lockup .brand-logo{width:76px;height:76px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;object-fit:contain}
@media(max-width:760px){.brand-lockup .brand-logo{width:64px;height:64px}}
@media(max-width:760px){
  .modal-backdrop:has(.order-entry-modal.products-scroll){overflow:hidden;touch-action:pan-y}
  .order-entry-modal.products-scroll{min-height:0;overflow:hidden}
  .order-entry-modal.products-scroll .modal-body{min-height:0;flex:1 1 auto;display:flex;flex-direction:column;overflow:hidden}
  .order-entry-modal.products-scroll .order-step-panel{min-height:0;flex:1 1 auto;overflow:hidden}
  .order-entry-modal.products-scroll .order-builder,.order-entry-modal.products-scroll .order-catalog{min-height:0;flex:1 1 auto;display:flex;flex-direction:column;overflow:hidden}
  .order-entry-modal.products-scroll .category-chips{-webkit-overflow-scrolling:touch;touch-action:pan-x}
  .order-entry-modal.products-scroll .order-products{min-height:0;flex:1 1 auto;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain;touch-action:pan-y}
}


/* Selector móvil: el teclado deja espacio al catálogo y la lista conserva el gesto vertical. */
@media(max-width:760px){
  .modal-backdrop:has(.order-entry-modal.products-scroll){position:fixed;inset-block-start:var(--visual-viewport-offset-top,0px);inset-block-end:auto;height:var(--visual-viewport-height,100dvh);align-items:flex-start;overflow:hidden;overscroll-behavior:none}
  .order-entry-modal.products-scroll{height:calc(var(--visual-viewport-height,100dvh) - 8px)!important;max-height:calc(var(--visual-viewport-height,100dvh) - 8px)!important;min-height:0;overflow:hidden}
  .order-entry-modal.products-scroll .modal-header,.order-entry-modal.products-scroll .modal-footer{flex:0 0 auto}
  .order-entry-modal.products-scroll .modal-body,.order-entry-modal.products-scroll .order-step-panel,.order-entry-modal.products-scroll .order-catalog{min-height:0}
  .order-entry-modal.products-scroll .order-products{flex:1 1 0;min-height:0;overscroll-behavior-y:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch}
  .order-entry-modal.products-scroll.product-search-focus .category-chips{display:none}
}

/* Compact operational screens from the review annotations. */
.order-overview-stats{gap:10px;margin:12px 0 16px}.order-overview-stats article{min-height:76px;padding:14px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px}.order-overview-stats article>span{font-size:15px}.order-overview-stats article>strong{font-size:27px;line-height:1}.floor-toolbar{display:flex;align-items:center;gap:12px;white-space:nowrap;min-height:42px;margin:0 0 12px}.floor-toolbar .status{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.floor-toolbar .status strong{font-size:18px}.table-transfer-trigger{margin-left:auto}.floor-card-detail,.floor-card-bottom{display:none!important}.floor-card{min-height:94px;gap:7px}.floor-grid{gap:10px}
.order-products .order-product{display:grid;grid-template-columns:48px minmax(0,1fr) auto;grid-template-rows:auto;align-items:center;column-gap:11px;min-height:70px;text-align:left;padding:10px 12px}.order-product .product-thumb{grid-column:1;grid-row:1;width:46px;height:46px;object-fit:cover;border-radius:10px;display:grid;place-items:center;font-size:27px}.order-product strong{grid-column:2;grid-row:1;min-width:0;line-height:1.25}.order-product small{grid-column:3;grid-row:1;align-self:start;white-space:nowrap;font-size:13px;font-weight:700;color:#087b60}.order-product .product-rank{display:none!important}
.prep-page-heading{min-height:0;margin-bottom:5px;padding:0;justify-content:flex-end}.prep-page-heading h1{display:none}.prep-page-heading .heading-actions{margin-left:auto;justify-content:flex-end}.prep-page-heading .heading-actions .btn{width:auto;min-height:40px;padding:7px 11px}.prep-page-controls{margin:0 0 8px}.prep-view-switch{margin:0 0 8px}.prep-toolbar{display:none!important}.prep-tabs{margin:0 0 8px}.prep-tabs .tab-button{min-height:42px;padding:7px 16px}.prep-orders.layout-grid{column-width:min(390px,100%);column-gap:9px}.prep-orders.layout-grid>.prep-order{margin-bottom:9px!important}.prep-order-header{padding:9px 12px;gap:8px}.prep-order-kicker{font-size:12px}.prep-order-header h2{font-size:18px}.prep-wait{font-size:13px;padding:3px 7px}.prep-order-items{padding:5px 9px}.prep-item{padding:6px 2px}.prep-item-main-clean{display:grid;grid-template-columns:38px minmax(0,1fr);align-items:start;gap:9px}.prep-product-visual{grid-column:1;grid-row:1}.prep-item-details{grid-column:2;min-width:0}.prep-product-photo,.prep-emoji{width:36px!important;height:36px!important}.prep-item-note{font-size:13px;margin:0 0 3px}.prep-unit-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;min-height:36px;border-top:1px solid #edf1ef}.prep-product-title{font-size:16px!important;line-height:1.2!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.prep-zone-states{display:flex;gap:4px;white-space:nowrap}.prep-zone-state{padding:2px 6px;border-radius:999px;background:#e5f5ec;color:#087b60;font-size:10px!important;font-weight:800;line-height:1.2}.prep-zone-state.done{background:#fde8e6;color:#b4232b}.prep-zone-state.inactive{background:#eef1ef;color:#81908a}.prep-unit-row .btn{min-height:30px!important;height:30px;padding:3px 9px;font-size:12px}.prep-delivered{font-size:11px;color:#63736e}.prep-order-note{padding:6px 12px;font-size:12px}
.register-lines,.register-summary{padding:10px 12px;border-radius:10px}.register-lines{min-width:0}.register-summary{border-color:transparent;background:transparent;gap:7px}.register-lines h3{display:none}.register-layout{gap:10px;grid-template-columns:minmax(0,1.55fr) minmax(210px,.65fr)}.cart-line{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px 0}.cart-line-info{min-width:0}.cart-line-heading{display:flex;align-items:center;justify-content:space-between;gap:9px}.cart-line-heading>strong{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:16px}.price-choice{display:flex;align-items:center;gap:4px;flex:0 0 auto;font-size:12px!important;white-space:nowrap}.price-choice select{width:auto;max-width:150px;min-height:32px;padding:3px 6px;font-size:12px}.qty-stepper{display:flex;flex-direction:row;align-items:center;gap:5px}.qty-stepper button{width:34px;height:34px;min-height:34px;padding:0}.qty-stepper b{min-width:20px;text-align:center}.item-note{margin-top:5px;min-height:34px}.order-general-note{margin-top:10px}.order-general-note textarea{min-height:54px;resize:vertical}.receipt-trigger{width:38px;height:38px;min-height:38px;padding:8px;margin-left:auto;display:grid;place-items:center}.receipt-trigger svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.order-step-actions{padding-top:9px;margin-top:9px}
@media(max-width:700px){.order-overview-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.order-overview-stats article{min-height:64px;padding:10px 12px}.order-overview-stats article>span{font-size:14px}.order-overview-stats article>strong{font-size:24px}.floor-toolbar{min-height:38px}.floor-grid{gap:8px}.order-products .order-product{grid-template-columns:42px minmax(0,1fr) auto;min-height:62px;padding:8px}.order-product .product-thumb{width:40px;height:40px}.order-product strong{font-size:15px}.order-product small{font-size:12px}.prep-page-heading{margin:0 0 4px}.prep-page-heading .heading-actions .btn{min-height:36px}.prep-view-switch button{min-height:34px;padding:5px 9px;font-size:12px}.prep-orders.layout-grid{column-width:100%;column-gap:0}.prep-orders.layout-grid>.prep-order{margin-bottom:8px!important}.prep-order-header{padding:8px 10px}.prep-order-items{padding:4px 8px}.prep-item-main-clean{grid-template-columns:32px minmax(0,1fr);gap:7px}.prep-product-photo,.prep-emoji{width:30px!important;height:30px!important}.prep-unit-row{grid-template-columns:minmax(0,1fr) auto auto;gap:5px;min-height:33px}.prep-product-title{font-size:14px!important}.prep-zone-state{padding:2px 4px;font-size:9px!important}.prep-unit-row .btn{min-height:28px!important;height:28px;padding:2px 7px}.register-layout{grid-template-columns:minmax(0,1fr);gap:8px}.register-summary{padding:8px 4px}.register-lines{padding:8px}.cart-line-heading>strong{font-size:15px}.price-choice select{max-width:130px}.order-step-actions{gap:7px}.order-step-actions .btn{min-height:40px}}

.order-overview-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.prep-page-heading{flex-direction:row;align-items:center}.prep-page-heading>div:first-child{display:none}.prep-page-heading .heading-actions{display:flex;width:auto}
@media(max-width:700px){.order-overview-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.prep-page-heading{flex-direction:row!important;align-items:center!important}.prep-page-heading .heading-actions{width:auto;display:flex}}

@media(max-width:650px){.modal-header:has(.receipt-trigger) .receipt-trigger{order:1;width:38px;height:38px;min-height:38px;flex:0 0 38px;justify-content:center}.modal-header:has(.receipt-trigger) .modal-close{order:2}}
.cart-trash{position:static;right:auto;top:auto;width:34px;height:34px;flex:0 0 34px}
@media(max-width:700px){.order-products .order-product strong{font-size:16px}}

.orders-page-heading{margin-bottom:10px}.order-overview-stats{gap:9px;margin:8px 0 12px}.order-overview-stats article{min-height:62px;padding:10px 14px;background:#fff;border:1px solid #e1e9e5;border-radius:13px;box-shadow:0 3px 10px #163a2d0b;position:relative;overflow:hidden}.order-overview-stats article:before{content:'';position:absolute;inset:0 auto 0 0;width:3px;background:#178363}.order-overview-stats article:nth-child(2):before{background:#4c8eb4}.order-overview-stats article:nth-child(3):before{background:#d39345}.order-overview-stats article:nth-child(4):before{background:#c56e5c}.order-overview-stats article>strong{font-size:28px;color:#153d36}.floor-tabs .tab-button{font-size:17px;min-height:48px;padding:9px 16px}.floor-tabs .tab-count{font-size:12px}
.order-entry-modal.products-scroll .order-catalog>.order-search{flex:0 0 48px!important;height:48px!important;min-height:48px!important;margin:0 0 8px!important;padding:0 12px!important;align-self:stretch}.order-entry-modal.products-scroll .order-catalog>.order-search input{height:44px;min-height:44px;flex:1 1 auto}
.order-products .order-product{height:auto;min-height:88px;align-items:start;padding:10px}.order-products .order-product strong{display:block;white-space:normal;overflow-wrap:anywhere;word-break:normal;line-height:1.25;align-self:center}.order-products .order-product small{padding-top:1px}
.cart-line-info{display:block!important;width:100%;min-width:0}.cart-unit-list{display:grid;gap:3px}.cart-unit-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px;line-height:1.25}.cart-unit-row strong{min-width:0;font-size:16px!important;white-space:normal;overflow-wrap:anywhere}.cart-unit-row b{white-space:nowrap;text-align:right;font-size:15px;color:#173d37}.price-choice{display:flex;justify-content:flex-end;margin-top:3px}.price-choice .sr-only,.editable-price .sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.price-choice select{max-width:128px;min-height:30px!important;height:30px;border:0;background:transparent;text-align:right;font-size:12px!important;color:#6b7b76}.editable-price{justify-content:flex-end;margin:2px 0}.editable-price input{width:120px;min-height:32px!important;height:32px}.cart-line{align-items:start;padding:8px 0}.qty-stepper{padding-top:0;flex-wrap:nowrap}.cart-trash{position:static;right:auto;top:auto;width:34px;height:34px;flex:0 0 34px}

/* Correcciones de estado y jerarquía de controles en preparación y registro. */
.prep-order-header{display:grid!important;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;align-items:start;column-gap:12px;row-gap:6px}
.prep-order-header>div:first-child{grid-column:1;grid-row:1 / span 2;min-width:0}
.prep-order-header .prep-order-meta{position:static;grid-column:2;grid-row:1;justify-self:end;align-self:start;margin:0;text-align:right;white-space:nowrap}
.prep-order-header .prep-order-toggle{grid-column:2;grid-row:2;justify-self:end;align-self:start}
.prep-wait{background:#d9f3e7;color:#087b60}
.prep-wait.wait-blue{background:#dce7ff;color:#2856b3}
.prep-wait.wait-red{background:#fee3df;color:#a42d22}
.prep-zone-state{background:#edf1ef!important;color:#65756f!important}
.prep-zone-state.done{background:#d9f3e7!important;color:#087b60!important}
.cart-unit-row{grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:8px}
.cart-unit-row .price-choice{margin:0;justify-content:flex-end}
.cart-unit-row .price-choice select{max-width:145px;text-align:right}
@media(max-width:520px){.prep-order-header{grid-template-columns:minmax(0,1fr) auto;column-gap:7px}.prep-order-header h2{font-size:16px}.prep-order-header .prep-order-meta{font-size:12px}.prep-order-header .prep-order-toggle{max-width:150px;padding-inline:8px;font-size:12px}.cart-unit-row .price-choice select{max-width:112px}}

/* Registro simple: nombre y selector de precio en una sola línea. */
.cart-unit-row{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;min-width:0}
.cart-unit-row strong{flex:1 1 auto;min-width:0;white-space:normal;overflow-wrap:anywhere}
.cart-unit-row .price-choice{flex:0 0 auto;margin:0!important;justify-content:flex-end}
.cart-unit-row .price-choice select{max-width:150px;text-align:right}


@media(max-width:520px){.cart-unit-row{gap:6px!important}.cart-unit-row .price-choice select{max-width:112px}}
.cart-line{grid-template-columns:minmax(0,1fr) 96px!important;align-items:start!important;gap:10px!important}
.cart-line-info{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;grid-column:1;grid-row:1}
.cart-unit-list{display:grid!important;grid-template-columns:minmax(0,1fr);gap:4px;width:100%;min-width:0}
.cart-unit-row{display:grid!important;grid-template-columns:minmax(0,1fr) max-content!important;align-items:center!important;gap:8px!important;width:100%;min-width:0;max-width:100%;line-height:1.25}
.cart-unit-row strong{display:block;flex:none!important;width:auto;min-width:0!important;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap!important;overflow-wrap:normal!important;font-size:14px!important;letter-spacing:-.15px}
.cart-unit-row .price-choice{display:flex;flex:0 0 auto!important;justify-content:flex-end;align-items:center;width:auto;max-width:150px;min-width:0;margin:0!important;white-space:nowrap}
.cart-unit-row .price-choice select{display:block;width:auto;min-width:0;max-width:145px!important;min-height:30px!important;height:30px;padding:2px 4px;text-align:right;white-space:nowrap;font-size:12px!important}
.cart-line .qty-stepper{display:grid!important;grid-template-columns:32px 22px 32px;grid-template-rows:28px 32px;align-items:center;justify-content:end;gap:4px;width:94px;max-width:94px!important;min-width:94px;padding:0!important;grid-column:2;grid-row:1;flex:none}
.cart-line .qty-stepper>[data-action="cart-minus"]{grid-column:1;grid-row:2}
.cart-line .qty-stepper>b{grid-column:2;grid-row:2;min-width:22px;text-align:center;font-size:14px}
.cart-line .qty-stepper>[data-action="cart-plus"]{grid-column:3;grid-row:2}
.cart-line .qty-stepper>.cart-trash{grid-column:3;grid-row:1;justify-self:end;width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important;padding:0!important;font-size:15px}
.prep-order-header.wait-blue{background:#dce7ff!important;border-bottom-color:#c4d5fb!important}
.prep-order-header.wait-red{background:#fee3df!important;border-bottom-color:#f5c8c2!important}
.prep-order-header.wait-blue .prep-order-kicker{color:#2856b3}
.prep-order-header.wait-red .prep-order-kicker{color:#a42d22}
@media(max-width:520px){.cart-line{grid-template-columns:minmax(0,1fr) 94px!important;gap:7px!important}.cart-unit-row{gap:5px!important}.cart-unit-row strong{font-size:13px!important}.cart-unit-row .price-choice select{max-width:112px!important}.cart-line .qty-stepper{grid-template-columns:30px 20px 30px;width:88px;max-width:88px!important;min-width:88px}.cart-line .qty-stepper>[data-action="cart-minus"],.cart-line .qty-stepper>[data-action="cart-plus"]{width:30px!important;min-width:30px!important;height:32px!important;min-height:32px!important}}
.cart-line .qty-stepper>[data-action="cart-minus"]{grid-column:1;grid-row:2;width:32px!important;min-width:32px!important;height:32px!important;min-height:32px!important;padding:0!important}
.cart-line .qty-stepper>[data-action="cart-plus"]{grid-column:3;grid-row:2;width:32px!important;min-width:32px!important;height:32px!important;min-height:32px!important;padding:0!important}
.cart-line .qty-stepper>b{grid-column:2;grid-row:2}
.cart-line .qty-stepper>.cart-trash{grid-column:3;grid-row:1}
@media(max-width:520px){.cart-line .qty-stepper>[data-action="cart-minus"],.cart-line .qty-stepper>[data-action="cart-plus"]{width:30px!important;min-width:30px!important;height:32px!important;min-height:32px!important}.cart-line .qty-stepper>.cart-trash{width:28px!important;min-width:28px!important;height:28px!important;min-height:28px!important}}
.cart-unit-list{width:100%;min-width:0}
.prep-unit-row{grid-template-columns:minmax(0,1fr) auto max-content!important;gap:6px!important}
.prep-unit-row .prep-zone-states{justify-content:flex-end}
.prep-unit-row .btn{position:relative;z-index:1}
@media(max-width:380px){.cart-line{grid-template-columns:minmax(0,1fr) 84px!important;gap:6px!important}.cart-line .qty-stepper{grid-template-columns:28px 20px 28px;width:80px;max-width:80px!important;min-width:80px}.cart-line .qty-stepper>[data-action="cart-minus"],.cart-line .qty-stepper>[data-action="cart-plus"]{width:28px!important;min-width:28px!important}.cart-unit-row .price-choice select{max-width:96px!important}}
.prep-unit-row .btn:disabled{opacity:.55;cursor:wait;box-shadow:none}

/* Keep price selector beside the product name; base styles otherwise span both grid columns. */
.cart-unit-row>.price-choice{grid-column:2!important;grid-row:1!important;align-self:center}
.floor-card{position:relative}
.floor-card.is-occupied{background:#fff4f2;border-color:#f0c8c2;box-shadow:inset 3px 0 #c84b45}
.floor-card-top{padding-right:64px}
.floor-time{position:absolute;top:10px;right:11px;z-index:1;padding:4px 7px;border-radius:999px;background:#e2f3e9;color:#087b60;font-size:12px;font-weight:800;line-height:1.2;white-space:nowrap}
.floor-time.wait-blue{background:#dce8ff;color:#2455b8}
.floor-time.wait-red{background:#fde2df;color:#b4232b}
.prep-unit-row{grid-template-columns:minmax(0,1fr)!important;gap:4px!important;padding:5px 0}
.prep-unit-row .prep-zone-states{justify-content:flex-start;flex-wrap:wrap;white-space:normal;gap:6px}
.prep-zone-control{display:inline-flex;align-items:center;gap:5px}
.prep-zone-control.is-unassigned{opacity:.52}
.prep-zone-control .btn{position:relative;z-index:1}
.prep-product-title.kitchen-ready{color:#087b60!important}
.prep-zone-waiting{padding:3px 7px;border-radius:999px;background:#edf1ef;color:#65756f;font-size:10px;font-weight:700;white-space:nowrap}
.prep-unit-row{grid-template-columns:minmax(0,1fr) max-content!important;align-items:center!important;gap:10px!important;min-height:44px!important;padding:6px 0!important}
.prep-unit-row>.prep-product-title{grid-column:1;grid-row:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.prep-unit-row>.prep-zone-states{grid-column:2;grid-row:1;display:flex;flex-wrap:nowrap!important;align-items:center;justify-content:flex-end!important;gap:6px!important;white-space:nowrap;min-width:0}
.prep-unit-row .prep-zone-control{flex:0 0 auto;gap:5px}
.prep-unit-row .prep-zone-state{font-size:11px!important;padding:4px 7px!important;white-space:nowrap}
.prep-unit-row .prep-zone-control .btn{min-width:84px;min-height:38px!important;height:38px!important;padding:6px 11px!important;font-size:13px!important;white-space:nowrap}
.prep-unit-row .prep-zone-waiting{font-size:11px;padding:5px 7px}
@media(max-width:420px){.prep-unit-row{grid-template-columns:minmax(0,1fr) max-content!important;gap:6px!important}.prep-unit-row>.prep-product-title{font-size:13px!important}.prep-unit-row>.prep-zone-states{gap:4px!important}.prep-unit-row .prep-zone-state{font-size:9px!important;padding:3px 5px!important}.prep-unit-row .prep-zone-control .btn{min-width:74px;min-height:36px!important;height:36px!important;padding:5px 8px!important;font-size:12px!important}}
.prep-order-header .prep-order-meta{display:flex!important;flex-direction:column;align-items:flex-end;gap:7px;max-width:270px;white-space:normal!important}
.prep-order-bulk-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px;max-width:270px}
.prep-order-bulk-actions .btn{min-height:44px!important;padding:7px 11px!important;font-size:12px!important;white-space:nowrap}

.prep-order-bulk-actions .btn:disabled{opacity:.5;cursor:not-allowed;box-shadow:none}
.prep-station-complete{align-self:center;padding:6px 9px;border-radius:999px;background:#e4f4eb;color:#087b60;font-size:12px;font-weight:800;white-space:nowrap}
@media(max-width:520px){.prep-order-header{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto!important}.prep-order-header>div:first-child{grid-column:1!important;grid-row:1!important}.prep-order-header .prep-order-meta{position:static!important;grid-column:1!important;grid-row:2!important;width:100%;justify-self:stretch!important;align-items:flex-end!important;text-align:right!important;max-width:none}.prep-order-bulk-actions{justify-content:flex-end;max-width:none}}
.order-general-comment textarea{width:100%;min-height:70px;padding:9px 10px;border:1px solid var(--line);border-radius:9px;resize:vertical;font:inherit;font-size:14px}
.order-general-comment-read{padding:10px 12px;border-radius:9px;background:#fff8e8;color:#59472a}
.closing-alarm-panel{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin:12px 0;padding:16px;border:2px solid #c83e34;border-radius:14px;background:#fff0ed;color:#6d1e19;box-shadow:0 4px 16px #b4232b20}
.closing-alarm-panel>div{min-width:0}.closing-alarm-panel>div>strong{font-size:18px}.closing-alarm-panel p{margin:5px 0 8px}.closing-alarm-panel ul{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:6px 16px;padding:0;margin:0;list-style:none}.closing-alarm-panel li{display:flex;flex-wrap:wrap;gap:6px;color:#7d3028}.closing-alarm-panel li span{color:#80554f}.closing-alarm-panel .btn{min-height:44px;white-space:nowrap}
@media(max-width:600px){.closing-alarm-panel{flex-direction:column}.closing-alarm-panel .btn{width:100%}}

/* Comanda digital: texto algo mayor y legible en Cocina y Parrilla. */
.prep-order-kicker{font-size:13px!important}
.prep-order-header h2{font-size:19px!important}
.prep-wait{font-size:14px!important}
.prep-order-header .prep-order-meta{font-size:14px}
.prep-unit-row>.prep-product-title{font-size:15px!important}
.prep-unit-row .prep-zone-state,.prep-unit-row .prep-zone-waiting{font-size:12px!important}
.prep-unit-row .prep-zone-control .btn{font-size:14px!important;min-height:40px!important;height:40px!important}
.prep-order-note{font-size:13px!important}
@media(max-width:420px){.prep-order-kicker{font-size:12px!important}.prep-order-header h2{font-size:18px!important}.prep-unit-row>.prep-product-title{font-size:14px!important}.prep-unit-row .prep-zone-state,.prep-unit-row .prep-zone-waiting{font-size:10px!important}.prep-unit-row .prep-zone-control .btn{font-size:13px!important;min-height:38px!important;height:38px!important;padding:5px 7px!important}.prep-order-note{font-size:12px!important}}

/* Keep full product names visible in both prep stations, including narrow screens. */
.prep-unit-row>.prep-product-title{min-width:0!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere;line-height:1.3!important}
@media(max-width:600px){.prep-unit-row{grid-template-columns:minmax(0,1fr)!important;align-items:start!important;gap:6px!important}.prep-unit-row>.prep-product-title{grid-column:1!important;grid-row:1!important}.prep-unit-row>.prep-zone-states{grid-column:1!important;grid-row:2!important;justify-content:flex-start!important;flex-wrap:wrap!important;white-space:normal!important}}

.closing-alarm-panel{margin:8px 0;padding:10px 12px;gap:10px;border:1px solid #e8dfc8;border-radius:10px;background:#fbf8f0;color:#554d3c;box-shadow:none}
.closing-alarm-panel>div>strong{font-size:15px}.closing-alarm-panel p{margin:3px 0 6px;color:#716a5b;font-size:13px}.closing-alarm-panel ul{gap:4px 12px}.closing-alarm-panel li,.closing-alarm-panel li span{color:#716a5b}.closing-alarm-panel .btn{min-height:32px;padding:5px 9px;border:1px solid #e5ddca;background:#fffdf8;color:#655b45;font-size:12px;box-shadow:none}
@media(max-width:600px){.closing-alarm-panel{align-items:flex-start}.closing-alarm-panel .btn{width:auto;align-self:flex-end}}

/* Orden de venta: separar el precio del nombre para darle al producto todo el ancho disponible. */
.order-products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
.order-products .order-product{grid-template-columns:44px minmax(0,1fr)!important;grid-template-rows:auto auto!important;column-gap:10px!important;row-gap:4px!important;align-items:center!important;min-height:86px;padding:10px!important}
.order-products .order-product .product-thumb{grid-column:1!important;grid-row:1 / span 2!important;width:40px;height:40px;margin:0!important;align-self:center}
.order-products .order-product strong{grid-column:2!important;grid-row:1!important;width:100%;min-width:0;align-self:end;font-size:15px!important;line-height:1.25!important;white-space:normal!important;overflow:visible!important;overflow-wrap:anywhere!important;word-break:normal!important}
.order-products .order-product small{grid-column:2!important;grid-row:2!important;justify-self:end;align-self:start;padding:0!important;font-size:12px!important;line-height:1.1;font-weight:700;white-space:nowrap}
@media(max-width:760px){.order-products{grid-template-columns:minmax(0,1fr)!important}.order-products .order-product{grid-template-columns:42px minmax(0,1fr)!important;min-height:76px}.order-products .order-product strong{font-size:14px!important}.order-products .order-product small{font-size:11px!important}}
.prep-zone-control .btn{border-radius:9px;font-weight:800;box-shadow:0 2px 5px #183b3614}.prep-unit-row .prep-product-title.kitchen-ready{color:#087b60!important}
.floor-tabs{display:flex;gap:7px;padding:6px;border:1px solid #dce7e1;border-radius:13px;background:#eef5f1}.floor-tabs .tab-button{flex:1;min-height:42px;padding:8px 12px;border:1px solid transparent;border-radius:9px;color:#5f716a;font-size:13px;font-weight:700;transition:background .15s,border-color .15s,color .15s}.floor-tabs .tab-button:hover{background:#fff;border-color:#d8e5dd}.floor-tabs .tab-button.active{background:#fff;border-color:#b8d7c5;color:#087b60;box-shadow:0 2px 6px #1a42370d}.floor-tabs .tab-count{font-size:11px;color:inherit}
.sync-status{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:0 10px;border-radius:999px;background:#edf7f0;color:#26734f;font-size:12px;font-weight:700;white-space:nowrap}.sync-status[data-state='syncing'],.sync-status[data-state='retry']{background:#fff6e8;color:#97671d}.sync-status[data-state='offline']{background:#fff0ee;color:#a43c32}.cart-line-info{min-width:0}.item-note{display:block;width:100%;min-height:54px;height:54px;margin-top:8px;padding:9px 11px;border:1px solid #dbe6e0;border-radius:10px;background:#fbfdfc;color:#243c3a;font:inherit;font-size:14px;line-height:1.4;resize:vertical}.item-note:focus{border-color:#168568;background:#fff}.item-note::placeholder{color:#82938d}@media(max-width:650px){.sync-status{font-size:11px;min-height:30px;padding:0 8px}.item-note{min-height:64px;height:64px;font-size:16px}}
@media(max-width:600px){.notification-button{display:grid!important;visibility:visible!important;flex:0 0 44px!important;width:44px!important;min-width:44px!important;height:44px!important}}.prep-zone-state{display:none!important}.prep-zone-control .btn{text-transform:none!important}

.prep-item-actions .btn{text-transform:none!important}@media(max-width:600px){.sync-status{font-size:0!important;width:10px!important;min-width:10px!important;height:10px!important;min-height:10px!important;padding:0!important;overflow:hidden;border-radius:50%;flex:0 0 10px!important}.breadcrumb{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar-actions{flex:0 0 auto}.topbar-actions #adminNotificationToggle{min-height:40px;padding:6px 9px;font-size:12px}}
/* Comanda digital: productos en una sola línea y acciones alineadas a la derecha. */
.prep-order-meta{display:flex!important;flex-direction:column;align-items:flex-end;gap:8px!important}
.prep-reset-bulk{display:flex;justify-content:flex-end;gap:7px;flex-wrap:wrap}
.prep-item-main{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:12px!important}
.prep-item-name{min-width:0;overflow:hidden}
.prep-item-name strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.prep-item-actions{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-end;gap:7px!important;min-width:max-content}
.prep-item-actions .btn{flex:0 0 auto!important;white-space:nowrap}
@media(max-width:480px){.prep-item-main{grid-template-columns:minmax(0,1fr) auto!important;gap:6px!important}.prep-item-actions{gap:5px!important}.prep-item-actions .btn{min-height:38px!important;height:38px!important;padding:5px 8px!important;font-size:12px!important}.prep-reset-bulk .btn{min-height:36px;padding:5px 8px;font-size:12px}}
/* Preparation work queue */
.prep-tabs{display:flex;gap:10px;margin:0 0 12px}
.prep-tabs .tab-button{min-height:44px;min-width:120px}
.prep-order-items{display:grid;gap:0}
.prep-unit-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(92px,auto) auto;align-items:center;gap:12px;padding:12px 4px;border-top:1px solid var(--border,#e6ece9)}
.prep-unit-name{min-width:0;overflow-wrap:anywhere;font-weight:700;color:var(--ink,#173b35)}
.prep-unit-name small{display:block;margin-top:3px;font-weight:500;color:var(--muted,#687a76)}
.prep-unit-state{font-size:.82rem;color:var(--muted,#687a76)}
.prep-unit-action,.prep-bulk-actions .btn{min-height:44px;min-width:112px;touch-action:manipulation}
.prep-bulk-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}
.prep-unit-row.is-waiting .prep-unit-name{color:var(--muted,#687a76)}
.prep-order-note{display:flex;gap:8px;flex-wrap:wrap;padding:10px 14px;color:var(--ink,#173b35)}
.prep-empty{padding:28px;text-align:center}
@media(max-width:640px){
  .prep-order-header{align-items:flex-start;gap:10px}
  .prep-order-meta{align-items:flex-end;flex-wrap:wrap}
  .prep-unit-row{grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:12px 0}
  .prep-unit-state{grid-column:1;grid-row:2}
  .prep-unit-action{grid-column:2;grid-row:1 / span 2;min-width:104px}
  .prep-bulk-actions{width:100%}
  .prep-bulk-actions .btn{flex:1;min-width:124px}
}
/* Keep each product and its single action on the same touch-friendly row. */
.prep-unit-row{grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:8px 12px!important}
.prep-unit-name{grid-column:1!important;grid-row:1!important}
.prep-unit-state{grid-column:1!important;grid-row:2!important}
.prep-unit-action{grid-column:2!important;grid-row:1 / span 2!important;min-width:104px!important;justify-self:end}
@media(max-width:380px){.prep-unit-row{gap:6px!important}.prep-unit-action{min-width:92px!important;padding-inline:8px!important}}

/* Color and hierarchy for the sales floor and preparation queue. */
.dashboard-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
.order-overview-stats article{border:1px solid #e1e9e5;border-left-width:4px;box-shadow:none}
.order-overview-stats article:nth-child(1){border-left-color:#138161;background:#eaf8f1}
.order-overview-stats article:nth-child(2){border-left-color:#4d9ac4;background:#eef7fc}
.order-overview-stats article:nth-child(3){border-left-color:#d88f23;background:#fff7e8}
.order-overview-stats article:nth-child(4){border-left-color:#cc6658;background:#fff1ef}
.floor-panel{background:#fbfdfc;border-color:#dfe9e4}
.floor-toolbar{padding:4px 2px 10px}
.floor-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.floor-card{display:grid;grid-template-columns:42px minmax(0,1fr) auto;grid-template-rows:minmax(26px,auto) auto;align-items:center;min-height:100px;padding:15px 16px;border-radius:16px;text-align:left;box-shadow:0 1px 2px #183b3608}
.floor-card-top{display:contents}
.floor-icon{display:grid;grid-column:1;grid-row:1 / span 2;place-items:center;width:40px;height:40px;border-radius:12px;background:#dff3e8;color:#127653;font-size:21px}
.floor-card>strong{grid-column:2;grid-row:1;align-self:end;font-size:18px}
.floor-state{grid-column:2;grid-row:2;justify-self:start;align-self:start;order:unset;padding:5px 9px;background:#dff3e8;color:#176946;font-size:12px}
.floor-time{grid-column:3;grid-row:2;align-self:start;font-size:11px}
.floor-card.is-occupied{background:#fff8f7;border-color:#f1c5be;box-shadow:inset 4px 0 #dd6558,0 1px 2px #183b3608}
.floor-card.is-occupied .floor-icon{background:#ffe4df;color:#af4035}
.floor-card.is-occupied .floor-state{background:#ffe4df;color:#a73d32}
.floor-card:not(.is-occupied){background:#f9fdfb;border-color:#dcebe2;box-shadow:inset 4px 0 #2c9568,0 1px 2px #183b3608}
.prep-unit-row{grid-template-columns:minmax(0,1fr) 46px auto!important;column-gap:12px!important}
.prep-unit-name{grid-column:1!important;grid-row:1!important}
.prep-unit-image{grid-column:2;grid-row:1 / span 2;width:42px;height:42px;object-fit:cover;border:1px solid #deebe4;border-radius:11px;background:#f2f8f5;display:grid;place-items:center}
.prep-unit-emoji{font-size:22px}
.prep-unit-state{grid-column:1!important;grid-row:2!important}
.prep-unit-action{grid-column:3!important;grid-row:1 / span 2!important}
@media(max-width:700px){.dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.floor-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.floor-card{grid-template-columns:36px minmax(0,1fr) auto;min-height:88px;padding:12px}.floor-icon{width:34px;height:34px;border-radius:10px;font-size:18px}.floor-card>strong{font-size:16px}.prep-unit-row{grid-template-columns:minmax(0,1fr) 38px auto!important;gap:8px!important}.prep-unit-image{width:34px;height:34px;border-radius:9px}.prep-unit-emoji{font-size:18px}}

/* Preparation station: stronger contrast while retaining the existing interactions. */
.table-symbol{position:relative;width:20px;height:15px;border:2px solid currentColor;border-radius:4px 4px 2px 2px;display:block}
.table-symbol::before,.table-symbol::after{content:"";position:absolute;top:12px;width:2px;height:6px;border-radius:2px;background:currentColor}
.table-symbol::before{left:3px}.table-symbol::after{right:3px}
.floor-time{grid-column:3;grid-row:1;align-self:start;justify-self:end;padding:4px 7px;border-radius:999px;background:#e2f4e9;color:#087b60;font-weight:800;white-space:nowrap}
.prep-order{border:1px solid #b7d5c8!important;border-radius:22px!important;background:#eff8f4!important;box-shadow:0 7px 18px #173d3510!important;overflow:hidden}
.prep-order-header{background:#dcefe7;border-bottom:1px solid #c5dfd3}
.prep-order-items{margin:10px!important;padding:4px 14px!important;border:1px solid #d7e8df;border-radius:16px;background:#fff}
.prep-unit-row{grid-template-columns:46px minmax(0,1fr) auto!important;column-gap:12px!important;padding:12px 4px!important}
.prep-unit-image{grid-column:1!important;grid-row:1 / span 2!important}
.prep-unit-name{grid-column:2!important;grid-row:1!important;font-size:16px;font-weight:800}
.prep-unit-name.kitchen-finished{color:#087b60!important}
.prep-unit-state{grid-column:2!important;grid-row:2!important}
.prep-unit-action{grid-column:3!important;grid-row:1 / span 2!important;min-width:108px!important;border:1px solid #9fcabd!important;border-radius:12px!important;background:#e6f5ef!important;color:#0a7152!important;font-weight:800!important;box-shadow:0 2px 5px #123d3012!important}
.prep-unit-action.btn-primary{background:#087b60!important;border-color:#087b60!important;color:#fff!important;box-shadow:0 4px 10px #087b6030!important}
.prep-unit-action:not(:disabled):hover{transform:translateY(-1px);filter:brightness(.98)}
.prep-bulk-actions .btn{border-radius:12px!important;font-weight:800!important}
.prep-bulk-actions .btn-primary{background:#087b60!important;border-color:#087b60!important;box-shadow:0 4px 10px #087b6026!important}
@media(max-width:700px){.prep-order{border-radius:18px!important}.prep-order-items{margin:8px!important;padding:3px 10px!important;border-radius:13px}.prep-unit-row{grid-template-columns:38px minmax(0,1fr) auto!important;gap:8px!important}.prep-unit-image{width:34px;height:34px}.prep-unit-name{font-size:14px}.prep-unit-action{min-width:94px!important}}

/* Softer queue surfaces and clear action colors for both preparation stations. */
.prep-order{border:0!important;border-radius:26px!important;background:#f4faf7!important;box-shadow:0 10px 24px #183d3514!important}
.prep-order-header{border:0!important;border-radius:26px 26px 0 0;background:#d8ede3!important}
.prep-order-items{margin:0!important;padding:10px 16px 16px!important;border:0!important;border-radius:0 0 26px 26px!important;background:#f8fcfa!important}
.prep-order-cancelled{border:1px solid #e6aaa5!important;background:#fff4f2!important;box-shadow:0 8px 20px #8b251510!important}
.prep-order-cancelled .prep-order-header{background:#f8dfdc!important;border-bottom:1px solid #edc3bf!important}
.prep-order-cancelled .prep-order-kicker,.prep-order-cancelled .prep-order-header h2{color:#9f2925!important}
.prep-order-cancelled .prep-order-items{background:#fff8f7!important}
.prep-cancelled-badge{display:inline-flex;align-items:center;min-height:28px;padding:4px 10px;border:1px solid #e6aaa5;border-radius:999px;background:#d94b43;color:#fff;font-size:11px;font-weight:900;letter-spacing:.04em}
.prep-cancelled-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px}
.prep-dismiss-cancelled{min-height:30px;padding:5px 10px;font-size:11px}
.prep-cancelled-item{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid #f0d6d3;color:#73302d}
.prep-cancelled-item:last-of-type{border-bottom:0}
.prep-cancelled-item>div{display:grid;gap:3px;min-width:0}
.prep-cancelled-item strong{font-size:13px}
.prep-cancelled-item small,.prep-cancelled-reason{color:#995b57;font-size:11px}
.prep-cancelled-reason{margin:8px 0 0;padding:8px 10px;border-radius:10px;background:#ffebe8}
.prep-unit-row{border-top-color:#dcece4!important}
.prep-order-timer{display:inline-flex;align-items:center;min-height:26px;padding:4px 9px;border-radius:999px;background:#fff2df;color:#ad6505;font-weight:800;letter-spacing:.02em}
.prep-order-meta .prep-bulk-actions{padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
.prep-bulk-actions .btn{border-radius:999px!important;background:#fff!important;border-color:#b9d8ca!important;color:#087b60!important;box-shadow:0 2px 6px #183d3512!important}
.prep-unit-action.btn-primary,.prep-bulk-actions .btn.btn-primary{background:#c94d45!important;border-color:#c94d45!important;color:#fff!important;box-shadow:0 5px 12px #c94d4530!important}
.prep-unit-action.btn-primary:not(:disabled):hover,.prep-bulk-actions .btn.btn-primary:not(:disabled):hover{background:#ae3f38!important;border-color:#ae3f38!important}
.prep-unit-action:not(.btn-primary){background:#e3f4ed!important;border-color:#a5d5c1!important;color:#087b60!important}
@media(max-width:700px){.prep-order{border-radius:20px!important}.prep-order-header{border-radius:20px 20px 0 0}.prep-order-items{padding:8px 12px 12px!important;border-radius:0 0 20px 20px!important}.prep-order-timer{min-height:23px;padding:3px 7px;font-size:11px}}

/* Notes and cash reconciliation sheet. */
.prep-unit-name small{display:inline-flex!important;align-items:center;width:max-content;max-width:100%;margin-top:6px!important;padding:4px 8px!important;border-radius:8px;background:#7652b7;color:#fff!important;font-size:12px!important;font-weight:800;line-height:1.2;box-shadow:0 3px 8px #7652b52b}
.cash-close-cta{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:18px;padding:18px 20px;border-radius:18px;background:#f5faf7;border:1px solid #d8e8df}.cash-close-cta strong{display:block;color:#183d35;font-size:16px}.cash-close-cta p{margin:4px 0 0;color:#677a74;font-size:13px}.cash-close-sheet{overflow:hidden;border:1px solid #dbeae2;border-radius:16px;background:#fbfefc}.cash-close-sheet table{width:100%;border-collapse:collapse}.cash-close-sheet th{padding:12px 14px;background:#e7f4ed;color:#5d746b;font-size:11px;letter-spacing:.07em;text-align:left}.cash-close-sheet td{padding:12px 14px;border-top:1px solid #e3efe9}.cash-close-sheet p{margin:0;padding:12px 14px;background:#f6fbf8;color:#60766e;font-size:12px}.cash-close-sheet .cash-count input{width:100%;min-width:115px;border:1px solid #cde1d6;border-radius:10px;background:#fff;padding:9px 10px;color:#173b35;font-weight:700}
@media(max-width:600px){.cash-close-cta{align-items:stretch;flex-direction:column;padding:15px}.cash-close-cta .btn{width:100%;justify-content:center}.cash-close-sheet{overflow-x:auto}.cash-close-sheet table{min-width:500px}.prep-unit-name small{font-size:11px!important}}

.billing-group-line{align-items:center}.billing-group-ticket .billing-group-line button{flex:0 0 auto;border:1px solid #f1c2bb;border-radius:999px;padding:4px 9px;background:#fff3f0;color:#aa382d;font-size:11px;font-weight:700}.billing-group-ticket .billing-group-line button:hover{background:#fde3de}
.checkout-tender-options{margin-top:4px;border:1px solid #dce8e2;border-radius:12px;background:#f8fbf9;padding:10px 12px}.checkout-tender-options summary{cursor:pointer;color:#087b60;font-size:13px;font-weight:700}.checkout-tender-options[open] summary{margin-bottom:10px}.checkout-customer-select[hidden]{display:none!important}

/* Mobile readability for dense day and hour charts, without changing their data. */
/* Chart and linked-order markup is emitted dynamically by JavaScript templates. */
/* fallow-ignore-next-line css-dead-surface */
@media(max-width:760px){.chart{overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:thin;gap:3px}.chart-col{flex:0 0 20px}.chart-legend{flex-wrap:wrap;row-gap:6px}.chart-legend .period-note{flex:1 0 100%;margin-left:0;text-align:left}.cash-presets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.cash-presets [data-mode="set"]{grid-column:1/-1}.billing-group-line{align-items:center}.billing-group-line>span:first-child{flex:1;min-width:0}.billing-group-line>span:nth-child(2){white-space:nowrap}.billing-remove-line{flex:0 0 auto;min-width:76px;min-height:38px;border:1px solid #efc9c3;border-radius:9px;background:#fff7f5;color:#a33d34;font-size:12px;font-weight:700;cursor:pointer}}
