/* CafePilot POS Pro v4 - premium operational UI, built on the existing role-checked API. */
:root{--navy:#101b2c;--navy2:#16283f;--accent:#cbfa72;--accent2:#e8ffc8;--canvas:#f5f7fa;--surface:#fff;--text:#16243a;--muted:#8190a3;--line:#e7edf3;--shadow:0 14px 44px rgba(32,49,78,.055);font-family:'DM Sans',system-ui,-apple-system,sans-serif;background:var(--canvas);color:var(--text)}
body{background:var(--canvas)}
button, input{font-family:inherit}button{transition:background .13s,border-color .13s,transform .13s}button:focus-visible,input:focus-visible{outline:3px solid #78bb39;outline-offset:3px}
.premium-shell .sidebar{width:235px;min-width:235px;background:linear-gradient(175deg,#101b2d 0%,#111e31 70%,#182b40 100%);padding:28px 14px 17px;box-shadow:14px 0 35px #0f17250a}
.premium-shell .brand{font-size:20px;letter-spacing:-.8px;gap:10px;margin:0 10px 49px}
.premium-shell .brand-icon{width:39px;height:39px;border-radius:11px;background:#d7fb82;color:#192b38;box-shadow:0 8px 21px #b7e8712f;font-size:25px}
.premium-shell .brand small{font-size:9px;color:#a4b0c2;letter-spacing:2.2px;margin-top:0}
.premium-shell .brand small b{color:#d7fb82}
.premium-shell .side-label{font-size:10px;letter-spacing:1.6px;color:#798da7;margin-left:15px;margin-bottom:14px}
.premium-shell .nav{gap:5px}
.premium-shell .nav-btn{min-height:47px;border-radius:11px;font-size:12px;font-weight:700;padding:11px 13px;color:#a4b4ca;gap:13px}
.premium-shell .nav-btn:hover{background:#24344b;color:#fff}
.premium-shell .nav-btn.active{background:linear-gradient(100deg,#d9ff99,#c6fa76);box-shadow:0 5px 20px #d7fa7721;color:#192631}
.premium-shell .nav-ico{font-size:17px;width:22px}
.premium-shell .nav .count{background:#e65e6c}
.premium-shell .sidebar-foot{padding:17px 7px 0;border-color:#2f3d51}
.sidebar-support{display:flex;gap:9px;align-items:center;padding:12px 10px;margin-bottom:13px;border-radius:12px;background:#22344b;border:1px solid #33465b}
.sidebar-support-icon{font-size:17px;color:#d8ff8a}
.sidebar-support strong,.sidebar-support small{display:block;font-size:10px}.sidebar-support small{font-size:9px;color:#98acc3;margin-top:4px}
.premium-shell .person{margin:10px 0;gap:9px}.premium-shell .avatar{background:#3e536c;color:#d1f8a0;border-radius:12px}.premium-shell .person strong{font-size:12px}.premium-shell .person span{font-size:10px}
.sidebar-foot .signout{font-size:12px;padding:11px!important;text-align:left;width:100%}.sidebar-foot .signout:hover{color:white;background:#283b52;border-radius:9px}
.premium-shell .topbar{height:76px;padding:0 32px;box-shadow:0 1px 0 #e7edf2;border-bottom:0;background:#fff;z-index:16}
.topbar-left{display:flex;align-items:center;gap:11px}.top-icon{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#f3f7fa;color:#5e7593;font-size:18px}
.top-title strong,.top-title span{display:block}.top-title strong{font-family:'Plus Jakarta Sans',sans-serif;font-size:14px;letter-spacing:-.3px}.top-title span{font-size:10px;color:#95a2b2;margin-top:3px}
.premium-shell .top-actions{gap:18px}.top-date{font-weight:600;color:#8595a6}.premium-shell .online{border:1px solid #d7eee1;border-radius:30px;padding:8px 12px;font-size:11px;font-weight:700;color:#28804f;background:#f6fdf8}
.premium-shell .online.off{color:#b74952;background:#fff5f5;border-color:#f2d7d7}.top-avatar{width:37px;height:37px;border-radius:11px;background:linear-gradient(145deg,#e1e8f5,#b9c8da);color:#334865;display:grid;place-items:center;font-weight:800}
.premium-shell .surface{max-width:1900px;padding:29px 28px 70px}
.premium-shell .page-head{margin-bottom:22px}.eyebrow{display:flex;gap:7px;align-items:center;font-size:9px;font-weight:800;letter-spacing:1.8px;color:#91a0af;margin-bottom:8px}.eyebrow span:first-child{color:#5b8854}.eyebrow-dot{width:4px;height:4px;border-radius:100%;background:#94c36b}
.premium-shell .page-head h1{font-size:27px;font-weight:800;letter-spacing:-1.15px;line-height:1.15}.premium-shell .page-head .sub{color:#8d9aab;font-size:12px;margin-top:7px}
.premium-shell .button{border-radius:11px;min-height:41px;font-weight:800;font-size:12px;border:1px solid #e1e9f2;box-shadow:none}
.premium-shell .button.primary{background:#cafa78;color:#1e303c;border-color:#cafa78}.premium-shell .button.primary:hover{background:#b6ee5a;border-color:#b6ee5a}
.premium-shell .button.dark{background:#182c44;color:#fff;border-color:#182c44}
.premium-shell .button.block{width:100%;min-height:49px}
.premium-shell .button.small{min-height:36px;padding:6px 12px}.premium-shell .button.outline{border-color:#e4edf5;color:#50657a;background:transparent}
.premium-card{background:#fff;border:1px solid var(--line);border-radius:19px;box-shadow:var(--shadow);min-width:0;overflow:hidden}
/* Home */
.welcome-banner{min-height:225px;background:linear-gradient(114deg,#15273d 0%,#1a3448 64%,#264743 100%);border-radius:22px;display:flex;justify-content:space-between;overflow:hidden;position:relative;padding:32px 40px;color:white;box-shadow:0 20px 50px #1b354b1c}
.welcome-kicker{font-size:10px;color:#cefa8d;letter-spacing:2.1px;font-weight:800}.welcome-banner h1{font-size:32px;line-height:1.25;margin:10px 0 8px;letter-spacing:-1.35px}.welcome-banner h1 em{font-style:normal;color:#d5ff8f}.welcome-banner p{color:#b3c4cf;font-size:12px}.welcome-actions{display:flex;gap:9px;margin-top:21px}.welcome-banner .button{min-height:40px}
.welcome-art{width:290px;position:relative;flex:none;opacity:.95}.welcome-art span{position:absolute;display:grid;place-items:center}.welcome-art span:nth-child(1){right:100px;top:18px;background:#b4f5a51a;border:1px solid #a4ff7f4d;border-radius:70px;width:170px;height:170px;font-size:80px;transform:rotate(-12deg)}.welcome-art span:nth-child(2){right:10px;top:0;font-size:71px;color:#d8fbc3;opacity:.6}.welcome-art span:nth-child(3){right:22px;bottom:0;font-size:60px;color:#d1ff9e;opacity:.16}
.premium-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:19px}
.metric-card{background:white;border-radius:16px;padding:20px;display:flex;gap:13px;min-height:122px;border:1px solid var(--line);box-shadow:var(--shadow)}
.metric-ico{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;font-size:23px;flex:none}.metric-ico.green{background:#e8f9e8;color:#31995a}.metric-ico.peach{background:#fff0ee;color:#dd796a}.metric-ico.blue{background:#edf5ff;color:#5688c9}.metric-ico.lilac{background:#f5efff;color:#9773bb}
.metric-body span,.metric-body small{display:block;color:#8c9aab;font-size:11px}.metric-body strong{display:block;font-weight:800;font-family:'Plus Jakarta Sans';font-size:27px;letter-spacing:-1.2px;margin:3px 0}.metric-body strong.money{font-size:21px}.metric-body small{font-size:10px;color:#94a0b0}
.dash-section-title{display:flex;justify-content:space-between;align-items:center;margin:31px 0 15px}.dash-section-title h2{font-size:18px}.dash-section-title p{color:var(--muted);font-size:11px;margin-top:4px}.overview-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important}.dashboard-kitchen{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.dash-ticket{background:#fff;border:1px solid var(--line);border-radius:15px;padding:16px;display:flex;gap:12px;align-items:center}.dash-ticket-ico{width:36px;height:36px;background:#eef3f6;display:grid;place-items:center;border-radius:10px}.dash-ticket>div:nth-child(2){flex:1;min-width:0}.dash-ticket strong,.dash-ticket small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dash-ticket small{font-size:10px;color:var(--muted);margin-top:5px}
/* Three-pane POS */
.pos-layout{display:grid;grid-template-columns:minmax(238px,.93fr) minmax(310px,1.15fr) minmax(295px,1fr);gap:13px;align-items:stretch;min-height:calc(100vh - 203px)}
.pos-layout>.premium-card{min-height:620px}.pane-title{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;padding:22px 19px 15px}.pane-title h2,.basket-heading h2{font-size:17px;letter-spacing:-.5px}.pane-title p,.basket-heading p{font-size:11px;color:#8c9aaa;margin-top:5px}.pane-count,.catalog-counter{font-size:9px;font-weight:800;letter-spacing:1px;background:#f2f6fa;padding:7px 9px;border-radius:8px;color:#8b9aaa;white-space:nowrap}
.table-search-wrap,.catalog-search-wrap{margin:2px 18px 14px;border-radius:11px;border:1px solid #e8edf3;background:#f8fafc;display:flex;align-items:center;padding:0 11px;gap:8px;color:#a2afbb}.table-search-wrap>span:first-child,.catalog-search-wrap>span:first-child{font-size:24px;line-height:1}.table-search,.catalog-search{width:100%;border:0;background:transparent;outline:0;min-height:41px;font-size:12px;color:var(--text)}.table-search:focus,.catalog-search:focus{box-shadow:none}.table-search-wrap:focus-within,.catalog-search-wrap:focus-within{box-shadow:0 0 0 2px #d0f7a9;border-color:#a4d778}
.filter-pills{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;margin:0 18px 12px;background:#f4f7fa;border-radius:10px;padding:4px}.filter-pill{border:0;border-radius:8px;display:flex;justify-content:center;align-items:center;gap:4px;background:transparent;font-size:10px;font-weight:700;color:#8091a3;min-height:32px;padding:5px 2px}.filter-pill b{font-size:9px}.filter-pill.active{color:white;background:#182b41;box-shadow:0 3px 10px #121f3027}
.zone-tabs{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;padding:0 18px 13px}.zone-tab{white-space:nowrap;border:1px solid #e7edf3;background:#fff;border-radius:9px;min-height:32px;padding:6px 9px;font-size:11px;font-weight:700;color:#8b9aaa}.zone-tab.active{color:#30623c;background:#eaf7e2;border-color:#dbefce}
.pos-layout .premium-tables{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:0 17px 20px}.premium-table{border:1.5px solid #e5ecf3;background:#fff;border-radius:13px;text-align:left;padding:12px;min-height:136px;box-shadow:none;display:block;width:100%}.premium-table:hover{border-color:#d4e7b3;box-shadow:0 5px 18px #12253d09;transform:translateY(-1px)}.premium-table.selected{outline:none;border-color:#a6dc66;background:#fbfff7;box-shadow:0 0 0 2px #daefbb}
.premium-table.busy{border-color:#f5d5d4}.premium-table.reserved{border-color:#dae8fd}
.table-card-top{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:11px;gap:3px}.premium-table .table-icon{font-size:17px;margin:0;width:32px;height:32px;border-radius:9px;background:#f1f5f6}.premium-table .pill{position:static;font-size:8px;border-radius:6px;padding:5px;letter-spacing:.2px}.premium-table .pill.busy{background:#ffe8e9;color:#dd5965}.premium-table .pill.free{background:#e4f9ef;color:#259863}.premium-table .pill.reserved{background:#eaf2ff;color:#5b8bc7}.premium-table strong{font-size:12px}.premium-table .zone{font-size:10px;margin-top:2px}.table-bottom{border-top:1px dashed #edf1f5;margin-top:11px;padding-top:10px;display:flex;align-items:center;justify-content:space-between;gap:4px;min-height:22px}.table-bottom strong{font-size:12px;letter-spacing:-.4px}.table-bottom span{font-size:9px;color:#95a1b2;white-space:nowrap}
.premium-empty{text-align:center;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:25px}.empty-illustration{font-size:49px;width:110px;height:110px;border-radius:28px;display:grid;place-items:center;background:#eef5ed;margin-bottom:22px}.premium-empty h2{font-size:17px}.premium-empty p{color:var(--muted);font-size:12px;max-width:220px;margin-top:10px}
/* Catalog */
.catalog-pane{display:flex;flex-direction:column}.catalog-title{padding-bottom:17px}.catalog-search-wrap{margin-bottom:15px}.search-hint{border:1px solid #dfe8f1;border-radius:5px;padding:2px 7px;background:#fff;font-size:10px}
.catalog-categories{display:flex;flex-wrap:wrap;gap:7px;padding:0 18px 17px;border-bottom:1px solid #edf2f6}.category-pill{display:flex;align-items:center;gap:6px;justify-content:center;background:#f9fafc;border:1px solid #e7ecf2;color:#63738a;border-radius:9px;padding:9px 11px;font-weight:750;font-size:10px;min-height:37px}.category-pill span{font-size:14px}.category-pill.active{background:#182c43;color:#fff;border-color:#182c43}
.catalog-results{padding:15px 16px 22px;min-height:100px;flex:1}.catalog-results-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.catalog-results-head h3{font-size:13px}.catalog-results-head span{color:#98a6b6;font-size:10px}
.premium-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.premium-product{padding:0;background:white;border:1px solid #e9edf3;border-radius:14px;overflow:hidden;text-align:left;min-width:0}.premium-product:hover{border-color:#afd585;box-shadow:0 10px 21px #122f310c;transform:translateY(-1px)}.premium-product:active{transform:scale(.98)}.product-visual{height:100px;background:radial-gradient(circle at 52% 40%,#fff 0,#f4f7f4 45%,#e9f2eb 100%);display:grid;place-items:center;position:relative}.premium-product:nth-child(3n + 2) .product-visual{background:radial-gradient(circle at 50% 40%,#fff8ec,#fff2e4 58%,#f7e9d7)}.premium-product:nth-child(3n + 3) .product-visual{background:radial-gradient(circle at 50% 40%,#f3faff,#edf6fd 58%,#dceaf6)}.product-visual:after{content:'';position:absolute;bottom:12px;width:66px;height:10px;border-radius:50%;background:#2938260b;filter:blur(5px)}.product-visual span{font-size:51px;filter:drop-shadow(0 8px 6px #1e2e2224);position:relative;z-index:1}.product-meta{padding:10px 11px 11px}.product-meta strong,.product-meta small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-meta strong{font-size:12px}.product-meta small{font-size:9px;color:#9aabba;margin-top:3px}.product-footer{display:flex;align-items:center;justify-content:space-between;margin-top:10px}.product-footer b{font-size:12px}.product-add{height:26px;width:26px;border-radius:8px;display:grid;place-items:center;background:#d9fca3;font-size:19px;font-weight:750;color:#2b5124}
.mobile-back-catalog{display:none}
/* Basket */
.basket-pane{display:flex;flex-direction:column}.basket-heading{padding:23px 18px 15px;border-bottom:1px solid #edf1f4}.basket-heading-top{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}.basket-heading h2{font-size:21px}.basket-overline{font-weight:800;color:#9aabbb;letter-spacing:1.8px;font-size:9px;margin-bottom:7px}.basket-meta{display:flex;gap:14px;color:#95a2b1;margin-top:15px;font-size:10px}.basket-heading .pill{font-size:9px}.basket-actions{padding:12px 17px;display:flex;flex-wrap:wrap;gap:7px;border-bottom:1px solid #edf1f5}.basket-actions .button{font-size:10px;min-height:34px;flex:1}.basket-lines{padding:16px 16px 10px;flex:1;max-height:500px;overflow:auto;scrollbar-width:thin}.basket-lines-title{display:flex;justify-content:space-between;align-items:center;padding-bottom:12px}.basket-lines-title h3{font-size:12px}.basket-lines-title span{font-size:10px;color:#9aa8b6}.premium-order-row{display:flex;gap:9px;border-bottom:1px solid #edf1f5;padding:13px 0;align-items:flex-start}.order-row-icon{width:37px;height:37px;border-radius:10px;background:#f3f6f7;display:grid;place-items:center;font-size:22px;flex:none}.premium-order-body{flex:1;min-width:0}.premium-order-body>strong{font-size:11px;display:block}.premium-order-body>small{font-size:9px;color:#a1aeb9;display:block;margin-top:4px}.row-total{font-size:11px;white-space:nowrap}.premium-qty{display:flex;align-items:center;gap:6px;margin-top:8px}.premium-qty button{width:25px;height:25px;min-width:25px;border:1px solid #e6ecf2;background:#fff;border-radius:7px;color:#536576;font-size:16px;font-weight:800}.premium-qty span{min-width:15px;text-align:center;font-size:12px;font-weight:800}.premium-qty button.move-line,.premium-qty button.void-inline{font-size:10px;min-width:unset;width:auto;padding:0 7px}.premium-qty button.void-inline{color:#bf6567;background:#fff7f7}.basket-bottom{margin-top:auto;padding:20px 17px 18px;border-top:1px solid #e9eef4;background:linear-gradient(180deg,#fff,#fafcfb)}.basket-total-lines{display:grid;gap:10px}.basket-total-lines>div,.basket-due{display:flex;justify-content:space-between;gap:10px}.basket-total-lines span{color:#8e9bac;font-size:11px}.basket-total-lines strong{font-size:11px}.basket-due{align-items:center;border-top:1px dashed #d4dfe5;padding-top:15px;margin-top:15px;margin-bottom:15px}.basket-due span{font-size:13px;font-weight:800}.basket-due strong{font-size:24px;letter-spacing:-1px}.basket-bottom>.button{margin-top:8px}.basket-secondary{display:flex;gap:6px;margin-top:10px;flex-wrap:wrap}.basket-secondary .button{flex:1;min-width:80px;font-size:10px;padding:7px}.basket-fiscal{font-size:9px;line-height:1.5;text-align:center;margin-top:12px;color:#a0aab7}.mobile-cart-dock{display:none}
/* Upgrade legacy management screens */
.premium-shell .card{border-color:var(--line);border-radius:17px;box-shadow:var(--shadow)}
.premium-shell .kitchen-grid .ticket{border-top:4px solid #d1f5a2}.premium-shell .card.stat .value{font-family:'Plus Jakarta Sans',sans-serif}.premium-shell .data-table th{background:#f8fafb;color:#73859c;font-weight:800;font-size:10px;letter-spacing:.6px}.premium-shell .data-table td{font-size:12px}
.premium-shell .modal{border-radius:19px}.premium-shell .modal-header{background:#fbfcfd}
.premium-shell .notice.warning{background:#fff7e7;border-color:#f7e1bc;color:#866024}
/* Responsive tablet */
@media(max-width:1500px){.premium-shell .sidebar{width:218px;min-width:218px}.premium-shell .surface{padding:24px 20px 65px}.pos-layout{grid-template-columns:minmax(230px,.88fr) minmax(285px,1.13fr) minmax(270px,.98fr);gap:11px}.pane-title{padding:19px 14px 13px}.catalog-categories{padding:0 12px 15px}.catalog-results{padding:14px 12px}.premium-products{gap:7px}.premium-table{min-height:135px;padding:10px}.pos-layout .premium-tables{gap:7px;padding:0 12px 17px}.table-search-wrap,.catalog-search-wrap{margin-left:13px;margin-right:13px}.filter-pills{margin-left:13px;margin-right:13px}.zone-tabs{padding-left:13px}.metric-card{padding:16px}}
@media(max-width:1250px){.pos-layout{grid-template-columns:minmax(230px,.9fr) minmax(340px,1.4fr)}.pos-layout .basket-pane{grid-column:2;min-height:300px}.pos-layout .tables-pane{grid-row:span 2}.catalog-pane{min-height:600px}.overview-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}.premium-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-kitchen{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.premium-shell .sidebar{position:fixed;width:258px;min-width:258px;left:0;transform:translateX(-110%);transition:transform .2s;z-index:50}.premium-shell .sidebar.open{transform:translateX(0)}.premium-shell .mobile-shade.show{z-index:49;display:block}.premium-shell .topbar{padding:0 18px;height:65px}.premium-shell .surface{padding:22px 17px 90px}.premium-shell .icon-menu{display:inline-flex}.pos-layout{grid-template-columns:minmax(225px,.9fr) minmax(330px,1.3fr)}.top-date{display:none}}
@media(max-width:720px){.premium-shell .topbar{height:59px;padding:0 12px}.top-icon{display:none}.top-title strong{font-size:12px}.top-title span{font-size:9px}.top-avatar{width:29px;height:29px;border-radius:9px;font-size:11px}.premium-shell .top-actions{gap:7px}.premium-shell .online{font-size:0;padding:7px;border:0}.premium-shell .online .live-dot{margin:0}.premium-shell .surface{padding:16px 12px calc(95px + env(safe-area-inset-bottom))}.premium-shell .page-head h1{font-size:24px}.premium-shell .page-head{margin-bottom:16px}.premium-shell .page-head .sub{font-size:11px;line-height:1.45}.premium-shell .page-head .button{padding:8px 11px;font-size:11px}.premium-card{border-radius:15px}
 .pos-layout{display:block;min-height:0}.pos-layout>.premium-card{min-height:unset}.pos-layout .tables-pane{display:block}.pos-layout .catalog-pane,.pos-layout .basket-pane{display:none}.pos-layout.has-selection .tables-pane{display:none}.pos-layout.has-selection .catalog-pane{display:block}.pos-layout.has-selection.mobile-basket .catalog-pane{display:none}.pos-layout.has-selection.mobile-basket .basket-pane{display:flex}.pos-layout .premium-tables{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:0 14px 18px}.premium-table{min-height:146px}.premium-table strong{font-size:13px}.premium-table .pill{font-size:9px}.premium-table .table-bottom{font-size:11px}.pane-title{padding:18px 15px}.catalog-categories{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding:0 14px 14px}.category-pill{flex:none;min-height:40px;padding:9px 13px}.catalog-results{padding:17px 12px}.premium-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-visual{height:118px}.product-visual span{font-size:60px}.premium-product{border-radius:14px}.product-meta{padding:12px}.product-meta strong{font-size:13px}.product-footer b{font-size:13px}.product-add{width:32px;height:32px}
 .mobile-back-catalog{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-bottom:13px}.mobile-back-catalog button{border:0;border-radius:8px;background:#eaf7e3;color:#38604b;padding:7px 9px;font-size:11px;font-weight:800}.mobile-back-catalog small{color:#9aa7b7;font-size:11px}
 .pos-layout.has-selection .basket-pane{padding-bottom:10px}.basket-heading{padding:20px}.basket-lines{max-height:unset;overflow:visible}.premium-order-row{padding:18px 0}.order-row-icon{width:48px;height:48px;font-size:29px}.premium-order-body>strong{font-size:13px}.premium-qty button{width:35px;height:35px}.row-total{font-size:13px}.basket-due strong{font-size:26px}
 .mobile-cart-dock{display:flex;align-items:stretch;gap:8px;position:fixed;bottom:calc(69px + env(safe-area-inset-bottom));left:0;right:0;z-index:18;background:#fff;padding:9px 12px;box-shadow:0 -9px 25px #10254018;border-top:1px solid #e6edf3}.mobile-cart-dock button{border:0;border-radius:10px;min-height:52px}.dock-back,.dock-products{background:#f1f5f8;color:#283e4d;font-size:19px;padding:0 12px}.dock-summary{flex:1;background:#15283d;color:#fff;display:flex;justify-content:space-between;align-items:center;text-align:left;padding:8px 14px;gap:10px;min-width:0}.dock-summary small,.dock-summary strong{display:block}.dock-summary small{font-size:9px;color:#b2c3cf}.dock-summary strong{font-size:16px}.dock-summary b{font-size:10px;color:#d9fa97;white-space:nowrap}.pos-layout.has-selection.mobile-basket .dock-summary{background:#cafa78;color:#1c2c3b}.pos-layout.has-selection.mobile-basket .dock-summary small{color:#567151}.pos-layout.has-selection.mobile-basket .dock-summary b{color:#1e5934}
 .premium-shell .bottom-nav{z-index:17}.welcome-banner{min-height:185px;padding:23px;box-shadow:none}.welcome-banner h1{font-size:25px}.welcome-art{display:none}.premium-metrics{gap:9px;margin-top:13px}.metric-card{min-height:99px;padding:12px;gap:9px;flex-direction:column}.metric-ico{width:30px;height:30px;border-radius:9px;font-size:16px}.metric-body span{font-size:10px}.metric-body strong{font-size:21px;margin:3px 0}.metric-body strong.money{font-size:15px}.metric-body small{font-size:9px}.overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.dashboard-kitchen{grid-template-columns:1fr}.dash-section-title{margin:24px 0 12px}.premium-shell .modal{border-radius:18px 18px 0 0}.premium-shell .modal-overlay{z-index:80}.premium-shell .bottom-nav{z-index:19}.premium-shell .toast{z-index:90}
}
@media(max-width:380px){.premium-products{gap:7px}.product-visual{height:92px}.product-visual span{font-size:48px}.product-meta{padding:9px}.product-footer b{font-size:12px}.dock-summary b{font-size:9px}.premium-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.premium-table{padding:10px;min-height:132px}.premium-table .table-bottom{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
@media print{.mobile-cart-dock{display:none!important}.premium-shell .sidebar,.premium-shell .topbar,.premium-shell .bottom-nav{display:none!important}}
/* Desktop three-column POS uses independent scroll regions; totals and primary actions remain visible. */
@media(min-width:1251px){
 .pos-layout{height:calc(100dvh - 210px);min-height:610px}
 .pos-layout>.premium-card{min-height:0;height:100%}
 .pos-layout .tables-pane{display:flex;flex-direction:column}
 .pos-layout .premium-tables{flex:1;min-height:0;overflow-y:auto;align-content:start;scrollbar-width:thin}
 .pos-layout .catalog-pane{min-height:0}
 .pos-layout .catalog-results{min-height:0;overflow-y:auto;scrollbar-width:thin}
 .pos-layout .basket-pane{min-height:0}
 .pos-layout .basket-lines{min-height:0;overflow-y:auto;max-height:none;scrollbar-width:thin}
 .pos-layout .basket-bottom{flex:none}
}
.mobile-back-basket{display:none}
@media(max-width:720px){
 .mobile-back-basket{display:block;margin:0 0 15px}
 .mobile-back-basket button{background:#eaf7e3;color:#38604b;border:0;border-radius:9px;padding:10px 13px;font-size:12px;font-weight:800;min-height:42px}
 .pos-layout.has-selection.mobile-basket + .mobile-cart-dock{display:none}
}
