/* CafePilot v5.1 Fast Service: staff-first ordering workspace. Safe front-end only. */
:root{--service-ink:#132338;--service-lime:#cafa78;--service-outline:#dbe4ea}
.pos-layout.service-board{display:block!important;min-height:0;height:auto}
.pos-layout.service-board>.tables-pane{min-height:0;height:auto;overflow:visible}
.pos-layout.service-board>.catalog-pane,.pos-layout.service-board>.basket-pane{display:none!important}
.pos-layout.service-board .premium-tables{display:grid;grid-template-columns:repeat(auto-fill,minmax(196px,1fr));gap:14px;padding:12px 22px 26px;overflow:visible;max-height:none}
.pos-layout.service-board .premium-table{min-height:157px;padding:18px;border-radius:16px}
.pos-layout.service-board .table-search-wrap{max-width:530px}
.pos-layout.service-board .pane-title{padding:22px 22px 10px}
.pos-layout.service-board .filter-pills{margin-top:9px}
.pos-layout.service-board .zone-tabs{padding-bottom:8px}
.pos-layout.service-active{grid-template-columns:minmax(180px,225px) minmax(340px,1.5fr) minmax(285px,.95fr);gap:13px}
.pos-layout.service-active .tables-pane{min-width:0}
.pos-layout.service-active .tables-pane .pane-title{padding:18px 12px 6px}
.pos-layout.service-active .tables-pane .pane-title p{font-size:10px}
.pos-layout.service-active .table-search-wrap{margin:7px 10px 9px}
.pos-layout.service-active .filter-pills{margin:0 10px 7px;display:grid;grid-template-columns:1fr 1fr;gap:4px}
.pos-layout.service-active .filter-pill{justify-content:center;padding:7px 4px;min-width:0}
.pos-layout.service-active .zone-tabs{gap:4px;padding:4px 9px 10px;overflow-x:auto}
.pos-layout.service-active .zone-tab{padding:6px 8px;font-size:10px}
.pos-layout.service-active .premium-tables{grid-template-columns:1fr!important;gap:6px;padding:5px 10px 13px}
.pos-layout.service-active .premium-table{padding:10px 11px;min-height:77px;border-radius:11px;display:grid;grid-template-columns:1fr auto;align-content:center;gap:3px 6px}
.pos-layout.service-active .premium-table .table-card-top{display:contents}
.pos-layout.service-active .premium-table .table-icon{display:none}
.pos-layout.service-active .premium-table .pill{grid-column:2;grid-row:1;align-self:center;font-size:9px}
.pos-layout.service-active .premium-table>strong{grid-column:1;grid-row:1;margin:0;align-self:center;font-size:12px}
.pos-layout.service-active .premium-table .zone{display:none}
.pos-layout.service-active .premium-table .table-bottom{grid-column:1/-1;padding:0;border:0;min-height:0;gap:7px;display:flex;align-items:center}
.pos-layout.service-active .premium-table .table-bottom span{font-size:9px}
.pos-layout.service-active .premium-table .table-bottom strong{font-size:11px}
.pos-layout.service-active .premium-products{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.pos-layout.service-active .product-visual{height:77px}
.pos-layout.service-active .product-visual span{font-size:37px}
.pos-layout.service-active .premium-product{position:relative;border-radius:12px}
.pos-layout.service-active .product-meta strong{font-size:12px}
.pos-layout.service-active .product-add{height:33px;width:33px;border-radius:9px;font-size:22px}
.pos-layout.service-active .product-footer{margin-top:8px}
.pos-layout.service-active .catalog-results{padding:12px 13px 20px}
.pos-layout.service-active .catalog-categories{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;overscroll-behavior-x:contain;padding-bottom:12px}
.pos-layout.service-active .category-pill{flex:none;min-height:40px;font-size:11px}
.pos-layout.service-active .basket-lines{padding-top:13px}
.pos-layout.service-active .basket-bottom{padding:13px 15px 15px}
.pos-layout.service-active .basket-due{margin:10px 0}
.pos-layout.service-active .basket-due strong{font-size:22px}
.pos-layout.service-active .basket-fiscal{display:none}
.service-context{display:flex;align-items:center;gap:7px;background:#f0fbe3;border:1px solid #e2f0d2;color:#3d6c30;width:max-content;max-width:100%;padding:5px 9px;border-radius:20px;margin:0 0 7px;font-size:10px;font-weight:800}
.service-context-dot{height:7px;width:7px;flex:none;background:#4aad60;border-radius:50%}
.pending-signal{font-size:10px;color:#97550c;letter-spacing:0;font-weight:800;background:#fff0d8;border-radius:20px;padding:5px 8px}
.pending-count{color:#b67a1f}
.service-send{background:#163a33!important;border-color:#163a33!important;color:#fff!important;font-weight:800!important;min-height:53px!important;box-shadow:0 4px 14px #163a3324!important}
.queue-progress{margin:0 14px 8px;background:#fff4d7;color:#98621c;border-radius:9px;padding:8px 12px;font-size:11px;font-weight:800}
.queue-progress[hidden],.quick-qty[hidden]{display:none!important}
.quick-qty{position:absolute;top:9px;right:9px;background:#142c40;color:#fff;border-radius:18px;min-width:27px;padding:4px 6px;text-align:center;font-size:11px;font-weight:900;box-shadow:0 2px 10px #21334933}
.premium-product{touch-action:manipulation}
.premium-product:active{filter:brightness(.97)}
@media(max-width:1400px) and (min-width:1101px){
 .pos-layout.service-active{grid-template-columns:minmax(160px,195px) minmax(300px,1.45fr) minmax(255px,.95fr)}
 .pos-layout.service-active .premium-products{grid-template-columns:repeat(2,minmax(0,1fr))}
 .pos-layout.service-active .premium-table{min-height:72px}
}
@media(max-width:1100px) and (min-width:721px){
 .pos-layout.service-active{grid-template-columns:minmax(190px,230px) minmax(340px,1fr)}
 .pos-layout.service-active .tables-pane{grid-row:span 2}
 .pos-layout.service-active .basket-pane{grid-column:2;min-height:420px;height:auto}
 .pos-layout.service-active .premium-products{grid-template-columns:repeat(3,minmax(0,1fr))}
 .pos-layout.service-active .basket-lines{max-height:300px}
}
@media(max-width:720px){
 .premium-shell .page-head{margin:0 0 11px}
 .premium-shell .page-head h1{font-size:21px}
 .premium-shell .page-head .eyebrow{display:none}
 .premium-shell .page-head .sub{font-size:10px;max-width:260px}
 .pos-layout.service-board{display:block}
 .pos-layout.service-board .tables-pane{display:block}
 .pos-layout.service-board .premium-tables{grid-template-columns:repeat(2,minmax(0,1fr));padding:10px 12px 16px;gap:10px}
 .pos-layout.service-board .premium-table{min-height:140px;padding:12px}
 .pos-layout.service-active{display:block;height:auto;min-height:0}
 .pos-layout.service-active .catalog-pane{display:flex;height:auto;min-height:calc(100dvh - 225px)}
 .pos-layout.service-active .premium-products{grid-template-columns:repeat(2,minmax(0,1fr))}
 .pos-layout.service-active .product-visual{height:88px}
 .pos-layout.service-active .product-visual span{font-size:47px}
 .pos-layout.service-active .product-meta{padding:9px 11px}
 .pos-layout.service-active .product-meta strong{font-size:12px}
 .pos-layout.service-active .product-add{height:37px;width:37px;min-height:37px}
 .pos-layout.service-active .catalog-categories{position:sticky;top:0;z-index:5;background:#fff;border-bottom:1px solid #e7edf3;padding:9px 12px;gap:6px}
 .pos-layout.service-active .category-pill{min-height:41px}
 .pos-layout.service-active .catalog-results{overflow:visible}
 .pos-layout.service-active .catalog-title{padding:15px 14px 8px}
 .pos-layout.service-active .catalog-search-wrap{margin:0 12px 5px}
 .pos-layout.service-active .mobile-back-catalog{display:flex}
 .pos-layout.service-active.mobile-basket .basket-pane{display:flex;height:auto;padding-bottom:26px}
 .pos-layout.service-active.mobile-basket .catalog-pane{display:none}
 .pos-layout.service-active .basket-bottom>.button{min-height:53px}
 .mobile-cart-dock.fast-cart-dock{display:flex!important;bottom:calc(66px + env(safe-area-inset-bottom));padding:8px 10px;gap:6px}
 .fast-cart-dock .dock-summary{min-width:0;min-height:55px;padding:7px 10px}
 .fast-cart-dock .dock-summary b{font-size:12px;color:#d9ff85}
 .fast-cart-dock .dock-back{min-width:46px;padding:0}
 .fast-cart-dock .dock-send{border:none;min-width:103px;padding:8px 10px;background:#cafa78;color:#162c26;font-size:12px;font-weight:900;display:flex;align-items:center;justify-content:center;gap:6px}
 .fast-cart-dock .dock-send b{border-radius:30px;background:#183b31;color:#fff;min-width:22px;padding:3px}
 .fast-cart-dock .dock-ready{display:grid;place-items:center;background:#eef8ef;color:#3d754b;border-radius:10px;padding:0 9px;font-size:11px;font-weight:800}
 .pos-layout.service-active.mobile-basket + .fast-cart-dock{display:none!important}
 .pos-layout.service-active .premium-qty button{min-height:35px;min-width:35px}
 .premium-shell .surface:has(.service-active){padding-bottom:calc(160px + env(safe-area-inset-bottom))}
}
@media(max-width:390px){
 .fast-cart-dock .dock-summary{padding:5px 8px}.fast-cart-dock .dock-summary strong{font-size:13px}
 .fast-cart-dock .dock-send{min-width:91px;font-size:10px;padding:7px}
 .pos-layout.service-board .premium-tables{gap:7px}
 .pos-layout.service-board .premium-table{min-height:130px}
}
@media(prefers-reduced-motion:reduce){.premium-product{transition:none!important}}
@media print{.fast-cart-dock{display:none!important}}
