:root{font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,input:focus-visible,select:focus-visible{outline-offset:3px;outline:2px solid #44dbb3}h1,h2,h3,p{margin-top:0}button,input,select{min-height:38px}button{transition:background .2s,transform .2s}button:hover:not(:disabled){filter:brightness(1.1)}:root{--bg:#0b111b;--panel:#182230bd;--surface:#1c2939;--text:#edf3fa;--muted:#8797ac;--border:#b9d6f21a;--accent:#62e2bb;--accent-ink:#07372b;--shadow:0 12px 45px #0002}html[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#eff4f7;--panel:#ffffffc2;--surface:#e9f0f4;--text:#1d3040;--muted:#6b7f91;--border:#234b641f;--accent:#16a881;--accent-ink:white;--shadow:0 12px 45px #193c5010}body{background:var(--bg);color:var(--text)}.shell{background:radial-gradient(at 88% 0,#2a80651a,#0000 45%),radial-gradient(at 0 90%,#566ce010,#0000 40%);min-height:100vh}.glass{background:var(--panel);border:1px solid var(--border);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(24px)}button{border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:9px 13px;font-size:12px;font-weight:550;display:inline-flex}button.primary{background:var(--accent);color:var(--accent-ink);border-color:#0000;font-weight:700}.sidebar{z-index:20;border-radius:20px;flex-direction:column;width:242px;padding:23px 14px 12px;display:flex;position:fixed;inset:14px auto 14px 14px}.brand{align-items:center;gap:10px;padding:0 4px 28px;display:flex}.brand strong{font-size:14px;line-height:1.4;display:block}.brand small{letter-spacing:1px;color:var(--muted);margin-top:6px;font-size:8px;display:block}.logo{color:#123d32;background:linear-gradient(145deg,#85f1cf,#35bc9c);border-radius:13px;flex-shrink:0;place-items:center;width:42px;height:42px;display:grid;box-shadow:0 4px 20px #64e2bd20}.nav-caption{color:var(--muted);letter-spacing:1.6px;margin-bottom:10px;padding:0 12px;font-size:9px}.sidebar nav{flex-direction:column;gap:3px;display:flex;overflow-y:auto}.sidebar nav button{color:var(--muted);background:0 0;border-color:#0000;flex-shrink:0;justify-content:flex-start;min-height:39px;padding:10px 12px;font-size:12px}.sidebar nav button.active{color:var(--accent);background:#62e2bb13;border-color:#62e2bb20}.sidebar nav button:nth-child(6),.sidebar nav button:nth-child(14){margin-top:10px}.sidebar nav kbd{opacity:.7;margin-left:auto;font-size:9px}.profile{border-top:1px solid var(--border);align-items:center;gap:9px;margin-top:auto;padding-top:17px;display:flex}.profile strong{font-size:11px}.profile small{color:var(--muted);margin-top:4px;font-size:10px;display:block}.profile button{background:0 0;border:0;margin-left:auto;padding:6px}.avatar{color:#342318;background:linear-gradient(135deg,#d5b89b,#b37d59);border-radius:50%;flex-shrink:0;place-items:center;width:34px;height:34px;font-size:13px;font-weight:700;display:grid}main{min-width:0;margin-left:272px;padding:26px 30px}header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;margin-bottom:25px;padding-bottom:25px;display:flex}.heading{align-items:center;gap:10px;display:flex}.breadcrumb{color:var(--muted);margin-bottom:9px;font-size:10px}.breadcrumb span{opacity:.5;margin:0 8px}h1{letter-spacing:-.8px;margin-bottom:0;font-size:25px;font-weight:650}.header-actions{align-items:center;gap:16px;display:flex}.header-actions button{background:var(--panel);border-radius:50%;width:37px;padding:8px}.connection{color:var(--muted);align-items:center;gap:7px;font-size:10px;display:flex}.connection i{background:var(--accent);border-radius:50%;width:6px;height:6px;box-shadow:0 0 9px #62e2bb66}.connection.offline i{background:#eda66a}.page-intro{justify-content:space-between;align-items:center;margin-bottom:23px;display:flex}.eyebrow{letter-spacing:1.6px;color:var(--accent);font-size:9px;font-weight:650}.page-intro p{color:var(--muted);margin:8px 0 0;font-size:12px}.pos-layout{grid-template-columns:minmax(0,1fr) 335px;align-items:start;gap:24px;display:grid}.search{color:var(--muted);border-radius:12px;align-items:center;gap:10px;padding:4px 14px;display:flex}input,select{background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:9px;max-width:100%;padding:10px 12px;font-size:12px}input::placeholder{color:var(--muted)}.search input{background:0 0;border:0;outline:0;width:100%;min-width:0}.search kbd{white-space:nowrap;border:1px solid var(--border);border-radius:4px;padding:4px;font-size:9px}.chips{gap:7px;margin:18px 0 20px;padding-bottom:3px;display:flex;overflow:auto}.chips button{white-space:nowrap;min-height:33px;color:var(--muted);background:0 0;border-radius:9px;padding:7px 11px;font-size:10px}.chips button.selected,.payment button.selected{color:var(--accent);background:#62e2bb17;border-color:#62e2bb3b}.chips span{opacity:.7;margin-left:3px;font-size:8px}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;display:grid}.product{text-align:left;border-radius:15px;min-width:0;padding:12px;display:block}.product:hover{border-color:#62e2bb50;transform:translateY(-3px)}.product-art{background:radial-gradient(ellipse at center,#b8d7c712,transparent),var(--surface);border-radius:10px;place-items:center;height:108px;margin-bottom:13px;font-size:49px;display:grid;position:relative}.product-art>span{color:var(--accent);background:var(--panel);border:1px solid var(--border);border-radius:6px;padding:4px 6px;font-size:8px;font-weight:500;position:absolute;top:7px;right:7px}.product-art>span.low{color:#e8b078}.product>small{color:var(--muted);font-size:8px;font-weight:400}.product h3{min-height:25px;margin:7px 0 15px;font-size:11px;font-weight:550}.product-bottom{justify-content:space-between;align-items:center;gap:5px;display:flex}.product-bottom strong{letter-spacing:-.2px;font-size:11px}.add{color:var(--accent);background:#62e2bb16;border-radius:7px;flex-shrink:0;place-items:center;width:26px;height:26px;display:grid}.hint{color:var(--muted);align-items:center;gap:8px;margin-top:22px;font-size:10px;display:flex}.cart{border-radius:17px;padding:20px;position:sticky;top:20px}.cart-title{justify-content:space-between;align-items:center;display:flex}.cart-title h2{gap:9px;margin:0;font-size:15px;display:flex}.cart-title button{min-height:28px;color:var(--muted);background:0 0;border:0;padding:0}.muted{color:var(--muted);font-size:10px}.cart>.muted{margin-top:6px;display:block}.cart-lines{min-height:220px;max-height:330px;padding:18px 0;overflow:auto}.empty{text-align:center;color:var(--muted);padding:30px 10px;font-size:12px}.empty-icon{border:1px solid var(--border);width:65px;height:65px;color:var(--accent);background:#62e2bb09;border-radius:20px;place-items:center;margin:10px auto 18px;display:grid}.empty h3{color:var(--text);margin-bottom:7px;font-size:13px}.empty p{font-size:10px}.cart-line{border-bottom:1px solid var(--border);align-items:center;gap:9px;padding:11px 0;display:flex}.mini-art{background:var(--surface);border-radius:9px;padding:6px;font-size:24px}.line-name{flex:1;min-width:0}.line-name strong{font-size:10px;display:block}.line-name small{color:var(--muted);margin-top:5px;font-size:9px;display:block}.quantity{border:1px solid var(--border);border-radius:7px;align-items:center;font-size:10px;display:flex}.quantity button{background:0 0;border:0;min-height:27px;padding:2px 7px}.quantity span{padding:0 4px}.checkout{border-top:1px dashed var(--border);padding-top:15px}.checkout label{margin-bottom:13px}.split{color:var(--muted);justify-content:space-between;align-items:center;margin-bottom:12px;font-size:11px;display:flex}.split strong{color:var(--text);font-weight:500}.split input{width:105px;min-height:32px;padding:7px 10px}.payment{background:var(--bg);border-radius:10px;gap:3px;margin:16px 0;padding:4px;display:flex}.payment button{background:0 0;border-color:#0000;flex:1;min-height:32px;font-size:10px}.total{justify-content:space-between;align-items:center;margin:20px 0 18px;font-size:11px;display:flex}.total strong{letter-spacing:-.8px;font-size:22px}.checkout>.primary{border-radius:11px;justify-content:space-between;width:100%;padding:14px;font-size:12px}.secure{text-align:center;color:var(--muted);margin-top:12px;font-size:8px;display:block}label{color:var(--muted);flex-direction:column;gap:7px;margin-bottom:15px;font-size:11px;display:flex}label.split{flex-direction:row}.toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;display:flex}.toolbar p{color:var(--muted);flex:1;margin:0;font-size:12px}.toolbar .search{flex:1;max-width:400px}.toolbar label{margin:0}.table-wrap{border-radius:15px;overflow:auto}table{border-collapse:collapse;white-space:nowrap;width:100%;font-size:11px}th{text-align:left;color:var(--muted);background:#94c5da04;padding:17px 18px;font-size:10px;font-weight:500}td{border-top:1px solid var(--border);padding:15px 18px}td strong{font-weight:550}td small{color:var(--muted);margin-top:5px;font-size:9px;display:block}.row-actions{align-items:center;gap:6px;display:flex}.row-actions button{min-height:29px;padding:6px 8px;font-size:10px}.badge{color:var(--accent);background:#62e2bb12;border:1px solid #62e2bb22;border-radius:6px;padding:5px 8px;font-size:9px}.badge.warning{color:#dca863;background:#dca86312;border-color:#dca86322}.danger{color:#ef9494}.stats{grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:22px;display:grid}.stat{border-radius:16px;margin-bottom:20px;padding:22px}.stats .stat{margin-bottom:0}.stat span,.stat small{color:var(--muted);font-size:11px;display:block}.stat strong{letter-spacing:-1px;margin:18px 0 12px;font-size:25px;display:block}.stat small{font-size:9px}.panel{border-radius:16px;padding:24px}.panel h2{margin-bottom:20px;font-size:16px}.panel p{color:var(--muted);font-size:12px;line-height:1.7}.settings-grid{grid-template-columns:1fr 1fr;gap:20px;display:grid}.panel ul{color:var(--muted);padding-left:18px;font-size:11px;line-height:2}.panel hr{border:0;border-top:1px solid var(--border);margin:25px 0}footer{color:var(--muted);border-top:1px solid var(--border);justify-content:space-between;margin-top:40px;padding-top:16px;font-size:9px;display:flex}.notice,.error{color:var(--accent);background:#62e2bb15;border:1px solid #62e2bb33;border-radius:10px;align-items:center;gap:10px;margin-bottom:16px;padding:12px 15px;font-size:12px;display:flex}.error{color:#e99;background:#ef797915;border-color:#ef797933}.notice button,.error button{min-height:20px;color:inherit;background:0 0;border:0;margin-left:auto;padding:0}.overlay{-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px);z-index:50;background:#030810aa;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.dialog{background:var(--panel);border-radius:22px;width:500px;max-width:100%;max-height:90dvh;padding:25px;overflow:auto}.dialog-head{justify-content:space-between;align-items:center;gap:15px;margin-bottom:24px;display:flex}.dialog-head h2{margin:0;font-size:17px}.dialog-head button{background:0 0;border:0;min-height:30px;padding:5px}.dialog p{color:var(--muted);font-size:12px;line-height:1.7}.dialog form>.primary{width:100%;margin-top:10px}.dialog video{border-radius:10px;width:100%}.check{flex-direction:row;align-items:center;margin:7px 10px 7px 0;display:inline-flex}.check input{min-height:auto}.dialog fieldset{border:1px solid var(--border);color:var(--muted);border-radius:10px;padding:12px;font-size:10px}.receipt #receipt{text-align:center;font-family:monospace;font-size:12px}.receipt #receipt h2{font-size:19px}.receipt-line{text-align:left;justify-content:space-between;gap:15px;margin:15px 0;display:flex}.receipt-line small{margin-top:4px;font-size:10px;display:block}.receipt hr{border:0;border-top:1px dashed var(--muted)}.receipt>.primary{width:100%;margin-top:20px}.mobile-menu{display:none}.welcome{min-height:100vh;color:var(--muted);place-items:center;display:grid}.login-shell{background:radial-gradient(ellipse at 65% 30%,#3eae8926,transparent 60%),var(--bg);place-items:center;min-height:100vh;padding:25px;display:grid;position:relative;overflow:hidden}.login-orb{filter:blur(10px);background:linear-gradient(45deg,#57d4af33,#7c8fe011);border-radius:50%;width:500px;height:500px;position:absolute;top:-220px;right:-90px}.login{border-radius:28px;width:410px;max-width:100%;padding:35px;position:relative}.login .logo{margin-bottom:28px}.login h1{margin:14px 0;font-size:32px;line-height:1.25}.login p{color:var(--muted);margin-bottom:28px;font-size:12px}.login>.primary{justify-content:space-between;width:100%;margin-top:8px}.login>small{color:var(--muted);text-align:center;margin-top:20px;font-size:9px;display:block}@media (width>=1600px){.product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}main{padding:30px 45px}.pos-layout{grid-template-columns:minmax(0,1fr) 370px}}@media (width<=1200px){.sidebar{width:215px}main{margin-left:230px;padding:25px 20px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pos-layout{grid-template-columns:minmax(0,1fr) 305px;gap:16px}.stats{grid-template-columns:repeat(2,1fr)}}@media (width<=900px){.sidebar{transition:transform .2s;transform:translate(-110%)}.sidebar.nav-open{background:var(--bg);transform:translate(0);box-shadow:0 0 0 100vmax #0007}.mobile-menu{padding:6px;display:flex}main{margin-left:0;padding:20px}.settings-grid{grid-template-columns:1fr}.header-actions{gap:10px}}@media (width<=600px){main{padding:16px}.pos-layout{grid-template-columns:1fr}.cart{position:static}.cart-lines{min-height:130px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-art{height:95px}.page-intro{align-items:flex-start;gap:10px}.page-intro p{font-size:11px;line-height:1.6}.page-intro>button{padding:9px;font-size:0}.page-intro>button svg{width:20px}.connection{gap:0;font-size:0}.breadcrumb{font-size:9px}h1{font-size:21px}.stats{gap:10px}.stat{padding:16px}.stat strong{font-size:20px}.dialog{padding:20px}.toolbar .search{min-width:100%;max-width:100%}footer span,.header-actions>.avatar{display:none}th,td{padding:13px}.login{padding:28px}.search kbd{display:none}}@media print{body{color:#000;background:#fff}.shell>aside,.shell>main,.no-print{display:none!important}.overlay{-webkit-backdrop-filter:none;backdrop-filter:none;background:#fff;padding:0;display:block;position:static}.dialog.receipt{color:#000;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;background:#fff;border:0;width:80mm;max-height:none;padding:4mm}.receipt p{color:#000}.overlay:has(.dialog:not(.receipt)){display:none}}.debt-history{margin-top:22px}.table-tools{border-bottom:1px solid var(--border);color:var(--muted);justify-content:space-between;align-items:center;gap:12px;padding:10px 16px;font-size:10px;display:flex}.table-tools button{background:0 0;min-height:28px;padding:5px 9px;font-size:10px}.filter-active{color:var(--accent);border-color:var(--accent)}.overview-banner{background:linear-gradient(110deg,#62e2bb12,transparent),var(--panel);border-radius:18px;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px;padding:24px;display:flex}.overview-banner h2{margin:12px 0 8px;font-size:21px}.overview-banner p{color:var(--muted);margin:0;font-size:12px;line-height:1.7}.stock-nudge{color:#d7ab78;background:#eab06c0b;border-color:#eab06c22;justify-content:flex-start;width:100%;margin-top:18px;font-size:10px}.stock-nudge svg:last-child{margin-left:auto}.purchase-totals{border-top:1px solid var(--border);margin-top:20px;padding-top:18px}.purchase-totals p{font-size:10px}.dialog .row-actions input{width:100%;min-width:0}.mobile-checkout{display:none}@media (width<=900px){.overview-banner{flex-direction:column;align-items:flex-start}}@media (width<=600px){.mobile-checkout{z-index:25;border-radius:16px;justify-content:space-between;padding:15px 18px;display:flex;position:fixed;bottom:18px;left:18px;right:18px;box-shadow:0 8px 30px #0005}.shell main{padding-bottom:95px}.overview-banner{padding:20px}.overview-banner .row-actions{flex-wrap:wrap}input,select{font-size:16px}.search input{font-size:14px}.toolbar label input{max-width:150px}.stock-nudge{font-size:9px}.cart{scroll-margin-top:18px}}@media print{.mobile-checkout{display:none!important}}.product-art>img{object-fit:contain;border-radius:10px;width:100%;height:100%;max-height:108px;padding:5px}.mini-art{flex-shrink:0;place-items:center;width:40px;height:40px;display:grid}.mini-art img{object-fit:contain;border-radius:5px;width:100%;height:100%}.table-product-image{object-fit:contain;float:left;background:var(--surface);border-radius:7px;width:38px;height:38px;margin-right:10px}.image-upload{border:1px dashed var(--border);border-radius:14px;margin:18px 0;padding:16px}.image-picker{cursor:pointer;text-align:center;color:var(--accent);justify-content:center;align-items:center;margin:0;padding:15px;position:relative}.image-picker img{object-fit:contain;background:var(--surface);border-radius:12px;width:130px;height:120px;margin-bottom:8px;padding:8px}.image-picker small{color:var(--muted);font-size:10px}.image-picker input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.image-picker:focus-within{outline:2px solid var(--accent);border-radius:12px}.image-upload>button{color:#ef9494;margin:10px auto 0;font-size:10px;display:flex}@media (width<=600px){.product-art>img{max-height:95px}}.browser-scanner video{aspect-ratio:4/3;object-fit:contain;background:#10151b;border-radius:12px;width:100%;max-height:48svh;display:block}.browser-scanner form{gap:12px;display:grid}.browser-scanner input{font-size:16px}html{-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}html,body,#root{width:100%;min-width:0}body{overflow-x:clip}.shell{min-height:100svh}main,main>*,.pos-layout>*,.settings-grid>*,.stats>*,.toolbar>*,.heading,.heading>div,.overview-banner>*,.profile>div,.brand>div,.dialog form,.cell-content{min-width:0}.table-wrap{width:100%;max-width:100%;overflow:hidden}.table-scroll{overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;width:100%;max-width:100%;overflow-x:auto}.table-tools{flex-wrap:wrap}button{touch-action:manipulation}button svg{flex-shrink:0}.product h3,.product-bottom strong,.line-name strong,.stat strong,.brand strong,.heading h1,.dialog-head h2,.panel li,.receipt-line,.notice,.error{overflow-wrap:anywhere}.product-bottom strong{min-width:0}.settings-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.stats{grid-template-columns:repeat(4,minmax(0,1fr))}.brand,.profile{flex-shrink:0}.sidebar nav{flex:1;min-height:0}.nav-title{justify-content:space-between;align-items:center;display:flex}.mobile-nav-close,.mobile-cart-close,.nav-backdrop,.cart-backdrop{display:none}.dialog{overscroll-behavior-y:contain;scroll-padding-block:20px}.dialog input,.dialog select,.settings-grid input{width:100%;min-width:0}.dialog fieldset{min-width:0}.dialog .check input{width:auto}@media (width<=1200px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=900px){.shell main{padding-top:max(16px, env(safe-area-inset-top));padding-left:max(16px, env(safe-area-inset-left));padding-right:max(16px, env(safe-area-inset-right));margin-left:0}.sidebar{width:min(300px,100vw - 32px);inset:max(8px, env(safe-area-inset-top)) auto max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));z-index:41;visibility:hidden}.sidebar.nav-open{visibility:visible;box-shadow:var(--shadow)}.sidebar nav button{min-height:44px;font-size:13px}.nav-backdrop{z-index:40;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#03081099;border:0;border-radius:0;display:block;position:fixed;inset:0}.mobile-nav-close{background:0 0;min-width:44px;min-height:44px;padding:8px;display:inline-flex}.nav-title{margin-bottom:8px}.nav-title .nav-caption{margin:0}.brand{padding-bottom:15px}.settings-grid{grid-template-columns:minmax(0,1fr)}.heading h1{line-height:1.25}header{gap:10px}.header-actions{flex-shrink:0;gap:8px}.mobile-menu,.header-actions button{min-width:44px;min-height:44px}}@media (width<=760px){input,select,textarea,.search input,.split input,.dialog input,.toolbar input{min-height:44px;font-size:16px}input[type=checkbox]{width:20px;height:20px;min-height:20px}button{min-height:44px}.shell main{padding-bottom:calc(100px + env(safe-area-inset-bottom))}.shell main>header{margin-bottom:18px;padding-bottom:16px}.breadcrumb{display:none}h1{font-size:21px}.header-actions>.avatar{display:none}.connection{gap:0;font-size:0}.connection i{width:8px;height:8px}.page-intro{gap:12px}.page-intro p{font-size:12px}.page-intro>button{flex-shrink:0;min-width:44px}.eyebrow{letter-spacing:1px;font-size:9px}.pos-layout{grid-template-columns:minmax(0,1fr)}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product{padding:10px}.product-art{height:100px}.product-art>img{max-height:100px}.product>small{font-size:10px}.product h3{min-height:36px;margin-bottom:10px;font-size:13px;line-height:1.4}.product-art>span{font-size:10px}.product-bottom{align-items:flex-end}.product-bottom strong{font-size:12px;line-height:1.5}.add{width:30px;height:30px}.product:hover{transform:none}.search{padding-inline:10px}.search kbd{display:none}.chips{max-width:100%;margin-block:12px 16px}.chips button{min-height:40px;font-size:12px}.hint{align-items:flex-start;font-size:11px;line-height:1.6}.hint svg{flex-shrink:0}.stock-nudge{text-align:left;font-size:11px;line-height:1.5}.cart{display:none}.cart.mobile-cart-open{inset:max(8px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));z-index:45;background:var(--bg);overscroll-behavior-y:contain;border-radius:18px;max-height:calc(100dvh - 16px);padding:18px;display:block;position:fixed;overflow-y:auto}.cart-backdrop{z-index:44;background:#03081099;border:0;border-radius:0;display:block;position:fixed;inset:0}.cart-title{gap:8px}.cart-title h2{flex:1;font-size:16px}.cart-title button,.cart-title .mobile-cart-close{min-width:44px;min-height:44px;display:inline-flex}.cart-lines{min-height:80px;max-height:none;overflow:visible}.cart-line{flex-wrap:wrap}.line-name strong{font-size:13px}.line-name small{font-size:12px}.quantity{font-size:14px}.quantity button{min-width:36px;min-height:44px}.checkout label,.split,.total{font-size:13px}.payment button{min-height:44px;font-size:13px}.checkout>.primary{min-height:50px;font-size:14px}.total{gap:12px}.total strong{overflow-wrap:anywhere;font-size:clamp(19px,6vw,26px)}.secure{font-size:10px}.mobile-checkout{bottom:calc(12px + env(safe-area-inset-bottom));left:max(12px, env(safe-area-inset-left));right:max(12px, env(safe-area-inset-right));z-index:25;border-radius:15px;justify-content:space-between;min-height:54px;padding:12px 16px;font-size:13px;display:flex;position:fixed;box-shadow:0 8px 30px #0005}.toolbar{align-items:stretch;gap:10px;display:flex}.toolbar>.search{flex:100%;min-width:0;max-width:none}.toolbar>p{flex:100%;line-height:1.6}.toolbar>label{flex:calc(50% - 10px)}.toolbar label input{width:100%;max-width:none}.toolbar>button{flex:auto;font-size:12px}.stats{gap:10px}.stat{padding:16px}.stat strong{font-size:clamp(18px,5vw,24px);line-height:1.3}.stat span{font-size:12px}.stat small{font-size:10px;line-height:1.5}.panel{padding:16px}.panel li{font-size:12px}.overview-banner{padding:18px}.overview-banner .row-actions{flex-wrap:wrap;width:100%}.overview-banner .row-actions button{flex:1;font-size:12px}.table-scroll{overflow:visible}.table-wrap table,.table-wrap tbody{white-space:normal;width:100%;display:block}.table-wrap thead{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.table-wrap tbody>tr{border-top:1px solid var(--border);padding:10px 14px;display:block}.table-wrap tbody>tr:first-child{border-top:0}.table-wrap td{overflow-wrap:anywhere;border:0;grid-template-columns:minmax(0,38%) minmax(0,1fr);align-items:start;gap:12px;width:100%;padding:9px 0;font-size:13px;line-height:1.5;display:grid}.table-wrap td:before{content:attr(data-label);color:var(--muted);font-size:11px;line-height:1.7}.table-wrap td small{font-size:11px;line-height:1.5}.table-wrap td[colspan]{display:block}.table-wrap td[colspan]:before{display:none}.table-wrap .row-actions{flex-wrap:wrap;gap:6px}.table-wrap .row-actions button,.table-wrap td button{min-height:44px;font-size:12px}.table-tools{gap:8px;padding:10px 14px}.table-tools button{min-height:44px;font-size:12px}.table-tools>span{font-size:11px}.badge{white-space:normal;max-width:100%;font-size:11px;line-height:1.5;display:inline-block}.row-actions{min-width:0}.overlay{padding:max(8px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));align-items:flex-start;overflow-y:auto}.dialog{border-radius:18px;width:100%;max-height:calc(100dvh - 16px);padding:18px}.dialog-head{gap:10px;margin-bottom:18px}.dialog-head h2{font-size:17px;line-height:1.4}.dialog-head button{min-width:44px;min-height:44px}.dialog label,.settings-grid label{font-size:13px}.dialog .check{min-height:40px;font-size:12px}.dialog .row-actions{flex-wrap:wrap}.dialog .row-actions input{flex:100px}.dialog .row-actions button{min-width:44px;min-height:44px}.dialog fieldset{margin:0;padding:10px}.notice,.error{font-size:12px;line-height:1.5}.notice button,.error button{flex-shrink:0;min-width:36px;min-height:36px}.login-shell{min-height:100svh;padding:max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom))}.login{border-radius:22px;width:min(410px,100%);padding:24px}.login h1{font-size:clamp(25px,8vw,32px)}.login p{line-height:1.6}.login label{font-size:13px}.login>small{font-size:11px;line-height:1.7}.login>.primary{min-height:48px;font-size:14px}}@media (width<=359px){.shell main{padding-left:12px;padding-right:12px}.header-actions,.heading{gap:6px}.heading h1{font-size:18px}.product-bottom{flex-wrap:wrap}.product-art{height:85px}.stats{grid-template-columns:minmax(0,1fr)}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}@media print{body{position:static!important;overflow:visible!important}.nav-backdrop,.cart-backdrop,.mobile-checkout{display:none!important}}.supplier-hub{margin-bottom:24px}.supplier-hub-heading{justify-content:space-between;align-items:center;gap:18px;margin-bottom:20px;display:flex}.supplier-hub-heading h2{margin:10px 0 8px;font-size:21px}.supplier-hub-heading p{color:var(--muted);margin:0;font-size:12px;line-height:1.6}.supplier-hub-heading>div{min-width:0}.supplier-hub-heading>button{flex-shrink:0}.supplier-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px;display:grid}.supplier-summary>div{border-radius:14px;min-width:0;padding:18px}.supplier-summary span{color:var(--muted);margin-bottom:12px;font-size:11px;display:block}.supplier-summary strong{overflow-wrap:anywhere;font-size:20px}.supplier-summary>div:last-child strong{color:var(--accent)}.supplier-tabs{border-bottom:1px solid var(--border);flex-wrap:wrap;gap:8px;padding-bottom:16px;display:flex}.supplier-tabs .selected{color:var(--accent);background:#62e2bb17;border-color:#62e2bb44}.document-item{border:1px solid var(--border);border-radius:12px;margin-bottom:12px;padding:14px}.document-item-heading{align-items:center;gap:10px;margin-bottom:14px;display:flex}.document-item-heading>div:nth-child(2){flex:1;min-width:0}.document-item-heading strong{overflow-wrap:anywhere;font-size:13px}.document-item-heading small{color:var(--muted);margin-top:5px;font-size:11px;display:block}.document-item-heading>button{flex-shrink:0;min-width:40px}.document-item-inputs{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.document-item-inputs>label{min-width:0}.document-item .split{gap:12px;margin-bottom:0}.scan-hint{align-items:center;gap:7px;display:flex;font-size:10px!important}.scan-hint svg{flex-shrink:0}.purchase-balance{background:#62e2bb0c;border:1px solid #62e2bb33;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;padding:15px;display:flex}.purchase-balance span{color:var(--muted);font-size:12px}.purchase-balance strong{color:var(--accent);overflow-wrap:anywhere;font-size:20px}.purchase-balance.overpaid strong{color:#e99}.receive-now{flex-direction:row;align-items:flex-start;gap:10px;font-size:12px;display:flex}.dialog .receive-now input{flex-shrink:0;width:20px;height:20px;min-height:20px}.receive-now small{color:var(--muted);margin-top:4px;font-size:10px;line-height:1.6;display:block}@media (width<=760px){.supplier-hub-heading{flex-direction:column;align-items:stretch}.supplier-hub-heading h2{font-size:20px;line-height:1.4}.supplier-summary{grid-template-columns:minmax(0,1fr);gap:8px}.supplier-summary>div{justify-content:space-between;align-items:center;gap:14px;padding:14px;display:flex}.supplier-summary span{margin:0;font-size:12px}.supplier-summary strong{text-align:right;font-size:18px}.supplier-tabs{gap:6px}.supplier-tabs button{flex:80px;padding-inline:7px;font-size:11px}.document-item{padding:12px}.document-item-heading>button{min-width:44px;min-height:44px}.document-item-inputs label{font-size:12px}.purchase-balance{flex-direction:column;align-items:flex-start;gap:8px}.purchase-balance strong{font-size:24px}}.notification-bell{position:relative}.notification-bell>span{background:var(--accent);min-width:18px;height:18px;color:var(--accent-ink);border-radius:50%;place-items:center;padding:2px;font-size:10px;display:grid;position:absolute;top:-4px;right:-5px}.delivery-banner{border-color:#eab06c40;border-radius:14px;align-items:center;gap:14px;margin-bottom:20px;padding:16px;display:flex}.delivery-banner>svg{color:#d7ab78;flex-shrink:0}.delivery-banner>div{flex:1;min-width:0}.delivery-banner strong{overflow-wrap:anywhere;font-size:13px}.delivery-banner p{color:var(--muted);margin:5px 0 0;font-size:11px}.delivery-alert{border:1px solid var(--border);border-radius:14px;margin-bottom:14px;padding:16px}.delivery-alert.read{opacity:.8}.delivery-alert-heading{align-items:center;gap:10px;display:flex}.delivery-alert-heading h3{flex:1;min-width:0;margin:0;font-size:14px}.delivery-alert-heading>svg{color:var(--accent);flex-shrink:0}.delivery-alert>p{overflow-wrap:anywhere}.delivery-alert>p:first-of-type{margin-top:14px}.delivery-alert .row-actions{flex-wrap:wrap}.supplier-quick-actions{flex-wrap:wrap;gap:8px;display:flex}@media (width<=760px){.supplier-quick-actions>button{flex:130px}.delivery-banner{gap:10px;padding:13px}.delivery-banner strong{font-size:12px}.delivery-banner button{flex-shrink:0}.delivery-alert .row-actions button{flex:110px}}.pos-quick-actions{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:16px;display:flex}.hold-cart-button{width:100%;color:var(--accent);background:0 0;border-style:dashed;margin-bottom:16px}.cash-payment{border-top:1px solid var(--border);padding-top:14px}.cash-shortcuts{flex-wrap:wrap;gap:6px;margin-bottom:12px;display:flex}.cash-shortcuts button{flex:80px;min-height:32px;padding:6px;font-size:10px}.cash-change{color:var(--accent);background:#62e2bb0d;border-radius:10px;justify-content:space-between;align-items:center;gap:10px;padding:12px;font-size:12px;display:flex}.cash-change strong{overflow-wrap:anywhere;font-size:18px}.cash-change.short{color:#e99;background:#ef79790d}.report-loss{color:var(--muted);margin-bottom:20px;font-size:12px;line-height:1.7}.held-cancel{border-top:1px solid var(--border);padding-top:8px}@media (width<=760px){.pos-quick-actions>button{width:100%;font-size:13px}.cash-shortcuts button{min-height:44px;font-size:12px}.cash-change{font-size:13px}.hold-cart-button{min-height:44px;font-size:13px}}.login-qr-button{width:100%;margin-top:12px}.connection-qr{background:#fff;border-radius:16px;place-items:center;width:fit-content;max-width:100%;margin:18px auto;padding:10px;display:grid}.connection-qr img{width:240px;max-width:100%;height:auto;display:block}.connection-url{text-align:center;overflow-wrap:anywhere;color:var(--accent);margin-bottom:16px;font-size:14px;display:block}.phone-connection>p:first-child{align-items:flex-start;gap:10px;display:flex}.phone-connection>p:first-child svg{flex-shrink:0}.phone-connection .row-actions{flex-wrap:wrap;justify-content:center;margin-bottom:22px}.phone-connection>small{color:var(--muted);margin-top:16px;font-size:11px;line-height:1.7;display:block}@media (width<=760px){.header-actions{gap:4px}.header-actions button{width:40px;min-width:40px}.shell main>header{flex-wrap:wrap}.heading{flex:140px}.connection{display:none}.phone-connection form>button{width:100%}}
