:root{--blue-900:#0b3d91;--blue-800:#0f4fb5;--blue-700:#1565d8;--blue-600:#1976e6;--blue-100:#e8f1fd;--blue-50:#f4f8fe;--white:#fff;--gray-50:#f4f7fb;--gray-100:#eceff4;--gray-200:#dde3ec;--gray-400:#9aa5b5;--gray-600:#5b6778;--gray-800:#2b3648;--red-500:#e5484d;--red-100:#fdecec;--green-600:#1a9c5a;--green-100:#e6f7ef;--amber-500:#d68a00;--amber-100:#fff4e0;--radius:10px;--shadow:0 1px 3px #141e3c14,0 1px 2px #141e3c0f}*{box-sizing:border-box}#root,body,html{height:100%;margin:0}body{background:#f4f7fb;background:var(--gray-50);color:#2b3648;color:var(--gray-800);font-family:Segoe UI,system-ui,-apple-system,Roboto,Arial,sans-serif;overflow-x:auto}@media (min-width:1001px){body{min-width:1024px}}button{cursor:pointer;font-family:inherit}button,input,select,textarea{font-family:inherit;font-size:14px}::-webkit-scrollbar{height:10px;width:10px}::-webkit-scrollbar-thumb{background:#dde3ec;background:var(--gray-200);border-radius:8px}::-webkit-scrollbar-track{background:#0000}@media print{body *{visibility:hidden}#invoice-print-area,#invoice-print-area *{visibility:visible}#invoice-print-area{left:0;position:absolute;top:0;width:100%}}#invoice-print-root{left:-99999px;position:absolute;top:0}@media print{body,html{background:#fff!important;height:auto!important;margin:0!important}body.print-invoice>#root{display:none!important}body.print-invoice #invoice-print-root{left:auto!important;position:static!important}body.print-invoice #invoice-print-area{position:static!important;width:auto!important}}.app-shell{display:flex;height:100vh}.sidebar{background:linear-gradient(180deg,var(--blue-900),var(--blue-800));color:#fff;display:flex;flex-direction:column;flex-shrink:0;width:230px}.sidebar-brand{align-items:center;border-bottom:1px solid #ffffff1f;display:flex;gap:10px;padding:22px 18px 16px}.sidebar-brand h1{font-size:16px;font-weight:700;margin:0 0 2px}.sidebar-brand span{font-size:11px;opacity:.75}.sidebar-nav{flex:1 1;overflow-y:auto;padding:10px 0}.sidebar-link{align-items:center;border-left:3px solid #0000;color:#ffffffd9;display:flex;font-size:14px;gap:10px;padding:11px 20px;text-decoration:none;transition:background .15s}.sidebar-link:hover{background:#ffffff14}.sidebar-link.active{background:#ffffff24;border-left-color:#fff;font-weight:600}.sidebar-icon{align-items:center;display:inline-flex;justify-content:center;width:18px}.sidebar-footer{border-top:1px solid #ffffff1f;font-size:12px;padding:14px 18px}.sidebar-footer .developed-by{font-size:11px;opacity:.7}.sidebar-footer button{align-items:center;background:#0000;border:1px solid #ffffff4d;border-radius:6px;color:#fff;display:flex;gap:6px;justify-content:center;margin-top:8px;padding:7px;width:100%}.sidebar-footer button:hover{background:#ffffff1f}.main-area{display:flex;flex:1 1;flex-direction:column;min-width:0;overflow:hidden}.topbar{align-items:center;background:#fff;border-bottom:1px solid var(--gray-200);display:flex;flex-shrink:0;height:58px;justify-content:space-between;padding:0 24px}.topbar h2{color:var(--gray-800);font-size:18px;margin:0}.page-content{flex:1 1;overflow-y:auto;padding:24px}.card{background:#fff;border-radius:var(--radius);box-shadow:var(--shadow);padding:18px}.stat-grid{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(188px,1fr));margin-bottom:20px}.stat-card{background:#fff;border-left:4px solid var(--blue-700);border-radius:var(--radius);box-shadow:var(--shadow);padding:18px 20px}.stat-card.warn{background:var(--red-100);border-left-color:var(--red-500)}.stat-card .stat-label{color:var(--gray-600);font-size:12px;letter-spacing:.4px;text-transform:uppercase}.stat-card .stat-value{color:var(--gray-800);font-size:24px;font-weight:700;margin-top:6px}.stat-card.warn .stat-value{color:var(--red-500)}.btn{align-items:center;border:none;border-radius:7px;display:inline-flex;font-size:13.5px;font-weight:600;gap:6px;padding:9px 16px}.btn-primary{background:var(--blue-700);color:#fff}.btn-primary:hover{background:var(--blue-800)}.btn-secondary{background:var(--gray-100);color:var(--gray-800)}.btn-secondary:hover{background:var(--gray-200)}.btn-outline{background:#fff;border:1px solid var(--gray-200);color:var(--gray-800)}.btn-outline:hover{background:var(--gray-50)}.btn-danger{background:var(--red-500);color:#fff}.btn-danger:hover{background:#c73438}.btn-success{background:var(--green-600);color:#fff}.btn:disabled{cursor:not-allowed;opacity:.5}.btn-sm{font-size:12.5px;padding:5px 10px}.input,select.input,textarea.input{background:#fff;border:1px solid var(--gray-200);border-radius:7px;color:var(--gray-800);outline:none;padding:9px 11px;width:100%}.input:focus{border-color:var(--blue-600);box-shadow:0 0 0 3px var(--blue-100)}.form-row{margin-bottom:14px}.form-row label{color:var(--gray-600);display:block;font-size:12.5px;font-weight:600;margin-bottom:5px}.form-grid{grid-gap:0 14px;display:grid;gap:0 14px;grid-template-columns:1fr 1fr}table.data-table{border-collapse:collapse;font-size:13.5px;width:100%}table.data-table th{background:var(--gray-50);border-bottom:1px solid var(--gray-200);color:var(--gray-600);font-size:12px;letter-spacing:.3px;padding:10px 12px;text-align:left;text-transform:uppercase}table.data-table td{border-bottom:1px solid var(--gray-100);padding:10px 12px}table.data-table tbody tr:hover{background:var(--blue-50)}.badge{border-radius:20px;display:inline-block;font-size:11.5px;font-weight:600;padding:3px 9px}.badge-green{background:var(--green-100);color:var(--green-600)}.badge-red{background:var(--red-100);color:var(--red-500)}.badge-amber{background:var(--amber-100);color:var(--amber-500)}.badge-blue{background:var(--blue-100);color:var(--blue-700)}.badge-gray{background:var(--gray-100);color:var(--gray-600)}.toolbar{gap:12px;justify-content:space-between;margin-bottom:16px}.toolbar,.toolbar-left{align-items:center;display:flex;flex-wrap:wrap}.toolbar-left{gap:10px}.tabs{border-bottom:1px solid var(--gray-200);display:flex;gap:4px;margin-bottom:18px}.tab-btn{background:#0000;border:none;border-bottom:2px solid #0000;color:var(--gray-600);font-weight:600;padding:10px 16px}.tab-btn.active{border-bottom-color:var(--blue-700);color:var(--blue-700)}.login-shell{align-items:center;background:linear-gradient(135deg,var(--blue-900),var(--blue-600));display:flex;height:100vh;justify-content:center}.login-card{background:#fff;border-radius:14px;box-shadow:0 20px 60px #0000004d;padding:34px 32px;width:380px}.login-card h1{color:var(--blue-900);font-size:20px;margin:0 0 2px}.login-card p.sub{color:var(--gray-600);font-size:13px;margin:0 0 22px}.login-error{background:var(--red-100);border-radius:7px;color:var(--red-500);font-size:13px;margin-bottom:14px;padding:9px 12px}:root{--pos-surface:#fff;--pos-border:#8fb4ec;--pos-header-bg:var(--blue-800);--pos-header-text:#fff;--pos-details-bg:var(--blue-50);--pos-divider:var(--gray-100);--pos-text:var(--gray-800);--pos-muted:var(--gray-600);--pos-highlight:#fff3bf;--pos-footer-bg:#fff;--pos-input-bg:#fff;--pos-card-bg:#fff;--pos-incart-bg:var(--blue-50)}:root[data-theme=dark]{--pos-surface:#1b2433;--pos-border:#3b5a8f;--pos-header-bg:#0b2a5e;--pos-header-text:#eaf1ff;--pos-details-bg:#222d40;--pos-divider:#2c3a52;--pos-text:#e6ebf4;--pos-muted:#9aa8bd;--pos-highlight:#4a4420;--pos-footer-bg:#161e2c;--pos-input-bg:#101826;--pos-card-bg:#1b2433;--pos-incart-bg:#20324f}.pos-layout{grid-gap:16px;display:grid;gap:16px;grid-template-columns:minmax(0,1fr) 400px;height:calc(100vh - 150px);min-height:460px}.pos-left{display:flex;flex-direction:column;gap:10px;min-height:0}.pos-search{align-items:center;display:flex;position:relative}.pos-search svg{color:var(--gray-400);left:10px;pointer-events:none;position:absolute}.pos-search .input{padding-left:32px;width:320px}.pos-chips{display:flex;flex-shrink:0;flex-wrap:wrap;gap:6px}.pos-chip{background:#fff;background:var(--pos-card-bg);border:1px solid var(--gray-200);border-radius:20px;color:var(--gray-800);color:var(--pos-text);cursor:pointer;font-size:12.5px;font-weight:600;padding:5px 13px}.pos-chip:hover{border-color:var(--blue-600)}.pos-chip.active{background:var(--blue-700);border-color:var(--blue-700);color:#fff}.pos-products{grid-gap:10px;align-content:start;display:grid;flex:1 1;gap:10px;grid-template-columns:repeat(auto-fill,minmax(165px,1fr));overflow-y:auto;padding:2px}.pos-product-card{background:#fff;background:var(--pos-card-bg);border:1px solid #0000;border-radius:10px;box-shadow:var(--shadow);color:var(--gray-800);color:var(--pos-text);cursor:pointer;display:flex;flex-direction:column;padding:12px;position:relative}.pos-product-card.in-cart,.pos-product-card:hover{border-color:var(--blue-600)}.pos-product-card.in-cart{background:var(--blue-50);background:var(--pos-incart-bg)}.pos-product-card .name{font-size:13px;font-weight:600;margin-bottom:3px;padding-right:4px}.pos-product-card .meta{margin-bottom:4px}.pos-product-card .desc,.pos-product-card .meta{color:var(--gray-600);color:var(--pos-muted);font-size:11.5px}.pos-product-card .desc{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;line-height:1.35;margin-bottom:6px;overflow:hidden}.pos-product-card .card-foot{align-items:baseline;display:flex;gap:6px;justify-content:space-between;margin-top:auto;padding-top:4px}.pos-product-card .price{color:var(--blue-700);font-weight:700}.pos-product-card .stock{color:var(--gray-600);color:var(--pos-muted);font-size:11px;font-weight:600;white-space:nowrap}.pos-product-card .stock.low{color:var(--red-500)}.pos-product-card.out-of-stock{opacity:.7}.pos-product-card .qty-overlay button:disabled{cursor:not-allowed;opacity:.4}.pos-product-card .qty-overlay{align-items:center;background:#fff;border:1px solid var(--gray-200);border-radius:20px;box-shadow:var(--shadow);display:none;gap:5px;padding:3px 5px;position:absolute;right:8px;top:8px}.pos-product-card:hover .qty-overlay{display:flex}.pos-product-card .qty-overlay button{align-items:center;background:var(--blue-100);border:none;border-radius:50%;color:var(--blue-700);display:flex;font-size:13px;font-weight:700;height:20px;justify-content:center;line-height:1;padding:0;width:20px}.pos-product-card .qty-overlay span{color:var(--gray-800);font-size:12.5px;font-weight:700;min-width:16px;text-align:center}.pos-cart{background:#fff;background:var(--pos-surface);border:2px solid #8fb4ec;border:2px solid var(--pos-border);border-radius:14px;box-shadow:0 6px 22px #0f4fb529;color:var(--gray-800);color:var(--pos-text);display:flex;flex-direction:column;min-height:0;overflow:hidden}.pos-cart-header{background:var(--blue-800);background:var(--pos-header-bg);display:flex;flex-shrink:0;font-size:14.5px;font-weight:700;gap:8px;justify-content:space-between;padding:12px 16px}.pos-cart-header,.pos-clear{align-items:center;color:#fff;color:var(--pos-header-text)}.pos-clear{background:#0000;border:1px solid #ffffff73;border-radius:6px;cursor:pointer;display:inline-flex;font-size:12px;font-weight:600;gap:4px;padding:4px 10px}.pos-clear:hover:not(:disabled){background:#ffffff29}.pos-clear:disabled{cursor:default;opacity:.45}.pos-cart-items{flex:1 1;min-height:200px;overflow-y:auto;padding:4px 14px}.pos-cart-item{border-bottom:1px solid var(--pos-divider);border-radius:6px;padding:8px 6px;transition:background-color .5s ease}.pos-cart-item:last-child{border-bottom:none}.pos-cart-item.just-added{background:#fff3bf;background:var(--pos-highlight)}.pos-cart-item .line-top{align-items:flex-start;display:flex;gap:6px}.pos-cart-item .info{flex:1 1;min-width:0}.pos-cart-item .info .n{font-size:13.5px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pos-cart-item .info .p{color:var(--gray-600);color:var(--pos-muted);font-size:11.5px}.pos-cart-item .line-remove{background:#0000;border:none;border-radius:5px;color:var(--red-500);cursor:pointer;display:flex;padding:2px}.pos-cart-item .line-remove:hover{background:var(--red-100)}.pos-cart-item .line-controls{align-items:center;display:flex;gap:8px;margin-top:4px}.pos-cart-item .unit-price{align-items:center;color:var(--gray-600);color:var(--pos-muted);display:flex;font-size:11.5px;gap:4px}.pos-cart-item .unit-price input{background:#fff;background:var(--pos-input-bg);border:1px solid var(--gray-200);border-radius:6px;color:var(--gray-800);color:var(--pos-text);font:inherit;font-size:12.5px;padding:5px 6px;text-align:right;width:74px}.pos-cart-item .qty-stepper{align-items:center;border:1px solid var(--gray-200);border-radius:8px;display:flex;overflow:hidden}.pos-cart-item .qty-stepper button{background:var(--blue-100);border:none;color:var(--blue-700);cursor:pointer;font-size:15px;font-weight:700;height:30px;width:28px}.pos-cart-item .qty-stepper button:disabled{cursor:default;opacity:.4}.pos-cart-item .qty-stepper input{-moz-appearance:textfield;background:#fff;background:var(--pos-input-bg);border:none;color:var(--gray-800);color:var(--pos-text);font:inherit;font-weight:600;height:30px;text-align:center;width:46px}.pos-cart-item .qty-stepper input::-webkit-inner-spin-button,.pos-cart-item .qty-stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.pos-cart-item .line-total{font-size:13.5px;font-weight:700;margin-left:auto;white-space:nowrap}.pos-cart-item .line-more{align-items:center;background:#0000;border:none;color:var(--blue-700);cursor:pointer;display:inline-flex;font-size:11.5px;font-weight:600;gap:3px;margin-left:8px;padding:0}.pos-cart-item .line-details{background:var(--blue-50);background:var(--pos-details-bg);border-radius:6px;font-size:12px;line-height:1.45;margin-top:5px;padding:7px 9px}.pos-cart-item .line-details .muted{color:var(--gray-600);color:var(--pos-muted);font-size:11.5px;margin-top:2px}.stock-warn{background:var(--amber-100);border-radius:6px;color:var(--amber-500);font-size:11.5px;font-weight:600;margin-top:5px;padding:4px 8px}.stock-warn.footer-warn{margin:0 0 8px}.pos-error{flex-shrink:0;margin:8px 14px 0}.pos-cart-details{background:var(--blue-50);background:var(--pos-details-bg);border-top:1px solid #8fb4ec;border-top:1px solid var(--pos-border);flex:0 1 auto;max-height:30%;overflow-y:auto;padding:12px 14px 4px}.pos-cart-details .form-row label,.pos-cart-details label{color:var(--gray-600);color:var(--pos-muted)}.pos-sums{margin-top:2px;padding-bottom:8px}.pos-cart-footer{background:#fff;background:var(--pos-footer-bg);border-top:2px solid #8fb4ec;border-top:2px solid var(--pos-border);box-shadow:0 -4px 10px #0f4fb514;flex-shrink:0;padding:12px 16px 14px}.pos-total{align-items:baseline;display:flex;justify-content:space-between;margin-bottom:10px}.pos-total span{color:var(--gray-600);color:var(--pos-muted);font-size:14px;font-weight:700;letter-spacing:.5px;text-transform:uppercase}.pos-total strong{color:var(--blue-800);font-size:28px;font-weight:800;line-height:1.1}:root[data-theme=dark] .pos-total strong{color:#8fb8ff}.pos-buttons{display:flex;gap:8px}.pos-buttons .btn{justify-content:center;padding:11px 12px}.pos-buttons .btn:first-child{flex:1 1}.pos-buttons .btn:last-child{flex:2 1;font-size:14px}.pos-buttons kbd{border:1px solid;border-radius:4px;font:inherit;font-size:10.5px;margin-left:4px;opacity:.8;padding:0 4px}.pos-summary-row{display:flex;font-size:13.5px;justify-content:space-between;margin-bottom:6px}.pos-summary-row.total{font-size:17px;font-weight:700;margin-top:8px}.invoice-paper{color:#000;font-family:Consolas,monospace;font-size:12px;margin:0 auto;width:300px}.invoice-paper h2{font-size:15px;margin:0 0 2px;text-align:center}.invoice-paper .center{text-align:center}.invoice-paper hr{border:none;border-top:1px dashed #000;margin:8px 0}.invoice-paper table{border-collapse:collapse;width:100%}.invoice-paper td,.invoice-paper th{font-size:11px;padding:2px 0;text-align:left}.invoice-paper .right{text-align:right}.license-lock-shell{background:linear-gradient(135deg,#2b0f0f,#7a1f1f)}.license-activation-shell,.license-lock-shell{align-items:center;display:flex;height:100vh;justify-content:center}.license-activation-shell{background:linear-gradient(135deg,var(--blue-900),var(--blue-600))}.license-lock-card{background:#fff;border-radius:14px;box-shadow:0 20px 60px #0006;padding:32px;text-align:center;width:420px}.empty-state{color:var(--gray-400);padding:40px 20px;text-align:center}.license-frame{display:flex;flex-direction:column;height:100vh}.license-frame-body{display:flex;flex:1 1;flex-direction:column;min-height:0}.license-frame-body>.app-shell,.license-frame-body>.login-shell{flex:1 1;height:auto;min-height:0}.license-banner{align-items:center;display:flex;flex:0 0 auto;flex-wrap:wrap;font-size:13px;font-weight:600;gap:6px 16px;padding:8px 16px}.license-banner-red{background:#c62828;color:#fff}.license-banner-yellow{background:#fff3cd;color:#7a5b00}.license-banner-support{opacity:.95}.license-banner-btn{background:#fff;border:0;border-radius:6px;color:#c62828;cursor:pointer;font-weight:700;margin-left:auto;padding:4px 12px}.license-toast{background:#c62828;border-radius:8px;bottom:20px;box-shadow:0 8px 24px #0000004d;color:#fff;cursor:pointer;font-size:13.5px;max-width:380px;padding:12px 16px;position:fixed;right:20px;z-index:9999}.readonly-note{background:#fdecea;border:1px solid #f5c2c0;border-radius:8px;color:#7f1d1d;font-size:13px;margin-bottom:14px;padding:10px 14px}.license-readonly [data-write]{cursor:not-allowed;opacity:.45}.sync-box{background:#ffffff14;border-radius:8px;color:#e5edf9;font-size:12px;margin-bottom:10px;padding:8px 10px}.sync-row{align-items:center;display:flex;gap:6px}.sync-dot{border-radius:50%;flex:0 0 auto;height:8px;width:8px}.sync-btn{background:#0000;border:1px solid #ffffff59;border-radius:5px;color:#fff;cursor:pointer;font-size:11px;margin-left:auto;padding:1px 8px}.sync-btn:disabled{cursor:default;opacity:.5}.sync-detail{font-size:11px;margin-top:3px;opacity:.75}.nav-toggle{align-self:flex-start;background:#fff;border:1px solid var(--gray-200);border-radius:8px;cursor:pointer;display:none;font-size:14px;margin:8px 12px 0;padding:6px 12px}@media (max-width:1000px){.nav-toggle{display:inline-block}.sidebar{bottom:0;left:-260px;overflow-y:auto;position:fixed;top:0;transition:left .2s;z-index:900}.sidebar.open{box-shadow:0 0 40px #00000073;left:0}.page-content{padding:14px}.pos-layout{grid-template-columns:1fr;height:auto;min-height:0}.pos-products{max-height:40vh}.pos-cart{overflow:visible}.pos-cart-header{border-radius:12px 12px 0 0}.pos-cart-items{flex:none;max-height:46vh;min-height:120px}.pos-cart-details{max-height:none;overflow:visible}.pos-cart-footer{border-radius:0 0 12px 12px;bottom:0;position:sticky;z-index:5}.pos-search .input{width:220px}.modal-box{max-width:96vw}}@media (max-width:700px){.form-grid{grid-template-columns:1fr}.toolbar{align-items:stretch;flex-direction:column}}.nav-badge,.sidebar-link{white-space:nowrap}.nav-badge{background:#ffb020;border-radius:10px;color:#3d2a00;font-size:10.5px;font-weight:700;margin-left:auto;padding:1px 8px}.brand-row{align-items:center;display:flex;gap:10px;margin-bottom:2px}.brand-row h1{margin:0!important}.brand-mark{display:block;flex-shrink:0;object-fit:contain}.sidebar-brand-text{min-width:0}.sidebar-brand-text h1{overflow:hidden;text-overflow:ellipsis}.report-head{align-items:center;background:#fff;border:1px solid var(--gray-200);border-left:4px solid var(--blue-700);border-radius:10px;display:flex;flex-wrap:wrap;gap:14px;margin-bottom:16px;padding:12px 16px}.report-logo{height:44px;max-width:120px;object-fit:contain}.report-head-text{flex:1 1;min-width:180px}.report-shop{color:var(--blue-900);font-size:16px;font-weight:800}.report-title{color:var(--gray-600);font-size:13.5px;font-weight:600}.report-meta{color:var(--gray-600);font-size:12.5px;text-align:right}.data-table td,.data-table th,.stat-value{overflow-wrap:normal}.stat-value{white-space:nowrap}@media print{.report-head{break-inside:avoid;page-break-inside:avoid}}.filters-toggle,.mobile-more-overlay,.mobile-more-sync,.mobile-nav,.phone-only,.pos-camera-btn,.pos-cart-close,.pos-cartbar,.pos-sheet-backdrop{display:none}.pwa-bar{align-items:center;background:var(--blue-900);color:#fff;display:flex;flex:0 0 auto;font-size:13.5px;font-weight:600;gap:10px;padding:9px 14px}.pwa-bar span{flex:1 1}.pwa-bar button{background:#fff;border:0;border-radius:8px;color:var(--blue-900);font-weight:700;min-height:36px;padding:8px 14px}.pwa-bar button.ghost{background:#0000;color:#fff;font-size:22px;line-height:1;padding:4px 8px}.pwa-bar.pwa-update{background:#d68a00;color:#1d1400}.pwa-install{display:none}.camera-scan{background:#000;color:#fff;display:flex;flex-direction:column;inset:0;position:fixed;z-index:2000}.camera-scan-bar{align-items:center;background:#0009;display:flex;justify-content:space-between;padding:12px 16px}.camera-scan-bar button{background:#0000;border:0;color:#fff;min-height:44px;min-width:44px;padding:8px}.camera-scan video{flex:1 1;min-height:0;object-fit:cover;width:100%}.camera-scan-frame{border:3px solid #fff;border-radius:14px;box-shadow:0 0 0 100vmax #00000059;height:28%;left:12%;pointer-events:none;position:absolute;right:12%;top:30%}.camera-scan p{bottom:8%;font-size:15px;left:0;margin:0;padding:0 20px;position:absolute;right:0;text-align:center}@media (max-width:700px){body,html{max-width:100%;overflow-x:hidden}.app-shell{height:100vh;height:100dvh}.nav-toggle,.sidebar{display:none!important}.main-area{padding-bottom:calc(60px + env(safe-area-inset-bottom))}.mobile-nav,.pwa-install{display:flex}.mobile-nav{background:#fff;border-top:1px solid var(--gray-200);bottom:0;box-shadow:0 -2px 10px #0f1e4614;left:0;padding-bottom:env(safe-area-inset-bottom);position:fixed;right:0;z-index:940}.mobile-nav-item{align-items:center;background:none;border:0;color:var(--gray-600);display:flex;flex:1 1;flex-direction:column;font-size:11px;font-weight:600;gap:2px;justify-content:center;min-height:58px;min-width:0;padding:4px 0;text-decoration:none}.mobile-nav-item.active{color:var(--blue-700)}.mn-icon{display:inline-flex;position:relative}.mn-dot{background:#ffb020;border:2px solid #fff;border-radius:50%;height:9px;position:absolute;right:-5px;top:-2px;width:9px}.mobile-more-overlay{background:#0f172a73;display:block;inset:0;position:fixed;z-index:960}.mobile-more{background:#fff;border-radius:16px 16px 0 0;bottom:0;left:0;max-height:85vh;overflow-y:auto;padding-bottom:calc(10px + env(safe-area-inset-bottom));position:absolute;right:0}.mobile-more-head{align-items:center;display:flex;font-size:16px;justify-content:space-between;padding:14px 18px 6px}.mobile-more-head button{background:none;border:0;color:var(--gray-600);min-height:44px;min-width:44px}.mobile-more-list{display:flex;flex-direction:column;padding:0 10px}.mobile-more-item{align-items:center;background:none;border:0;border-bottom:1px solid var(--gray-100);color:var(--gray-800);display:flex;font-size:15.5px;gap:14px;min-height:52px;padding:0 12px;text-align:left;text-decoration:none}.mobile-more-item.active{color:var(--blue-700);font-weight:700}.mobile-more-item.danger{color:var(--red-500);font-weight:600}.mobile-more-sync{background:var(--blue-900);border-radius:10px;color:#fff;display:block;font-size:11px;margin:12px 4px 4px;padding:10px 12px}.mobile-more-sync .developed-by{margin-top:6px;opacity:.7}.topbar{flex-wrap:wrap;gap:8px;height:auto;min-height:52px;padding:8px 12px}.topbar h2{font-size:17px}.topbar-actions{flex-wrap:wrap;width:100%}.topbar-actions>*{flex:1 1 auto}.page-content{padding:12px}.card{padding:14px}.toolbar-left{width:100%}.toolbar-left>*{flex:1 1 140px}input:not([type=checkbox]):not([type=radio]),select,textarea{font-size:16px!important;min-height:44px}.btn,.btn-sm{font-size:14px;min-height:44px;padding:10px 14px}.tabs{-webkit-overflow-scrolling:touch;flex-wrap:nowrap;overflow-x:auto;white-space:nowrap}.tab-btn{flex:0 0 auto;min-height:44px}.badge{font-size:12px}.sync-btn{min-height:30px}.dash-split,.page-content [style*=grid-template-columns]{grid-template-columns:1fr!important}.form-grid{grid-template-columns:1fr}.stat-grid{gap:10px;grid-template-columns:1fr 1fr}.stat-card{min-width:0;order:9;order:var(--p-order,9);padding:12px}.stat-card .stat-value{font-size:18px}.stat-card .stat-label{font-size:11px}.phone-only.stat-card{display:block}table.data-table,table.data-table tbody,table.data-table td,table.data-table tr{display:block;width:100%}table.data-table thead{display:none}table.data-table tr{background:#fff;border:1px solid var(--gray-200);border-radius:12px;box-shadow:var(--shadow);margin-bottom:10px;padding:4px 12px}table.data-table tbody tr:hover{background:#fff}table.data-table td{align-items:center;border-bottom:1px solid var(--gray-100);display:flex;gap:12px;justify-content:space-between;min-height:40px;padding:8px 0;text-align:right;word-break:break-word}table.data-table td:last-child{border-bottom:0}table.data-table td:before{color:var(--gray-600);content:attr(data-label);flex:0 0 38%;font-size:11.5px;font-weight:600;letter-spacing:.3px;max-width:42%;text-align:left;text-transform:uppercase}table.data-table td.cell-nolabel{flex-wrap:wrap;justify-content:flex-start}table.data-table td.cell-nolabel:before,table.data-table tr.row-single td:before{display:none}table.data-table tr.row-single td{justify-content:center;text-align:center}div:has(>.modal-box){align-items:flex-end!important}.modal-box{border-radius:16px 16px 0 0!important;max-height:92vh!important;max-width:100vw!important;width:100%!important}.modal-box>div:nth-child(2){padding:14px!important}.invoice-preview{max-width:100%;overflow-x:auto}.license-activation-shell,.license-lock-shell,.login-shell{height:auto;min-height:100vh;min-height:100dvh;padding:16px}.license-lock-card,.login-card{max-width:400px;padding:24px 18px;width:100%}.filters-wrap .filters-toggle{display:flex;justify-content:space-between;margin-bottom:10px;width:100%}.filters-wrap:not(.open) .toolbar-left{display:none}.filters-wrap .toolbar-left label{display:block;width:100%}.report-head{padding:10px 12px}.report-meta{text-align:left}.pos-layout{display:block;height:auto;min-height:0}.pos-left{padding-bottom:84px}.pos-search{flex:1 1 100%}.pos-search .input{padding-right:50px;width:100%}.pos-camera-btn{align-items:center;background:var(--blue-100);border:0;border-radius:7px;bottom:2px;color:var(--blue-700);display:flex;justify-content:center;position:absolute;right:2px;top:2px;width:44px}.pos-chips{-webkit-overflow-scrolling:touch;flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px}.pos-chip{flex:0 0 auto;font-size:13.5px;min-height:40px;padding:8px 15px}.pos-products{gap:10px;grid-template-columns:1fr;max-height:none;overflow:visible}.pos-product-card{min-height:84px;padding:14px}.pos-product-card .name{font-size:15px;padding-right:128px}.pos-product-card .desc,.pos-product-card .meta,.pos-product-card .stock{font-size:12.5px}.pos-product-card .price{font-size:16px}.pos-product-card .qty-overlay{display:flex;gap:6px;padding:3px 6px;right:10px;top:10px}.pos-product-card .qty-overlay button{font-size:20px;height:38px;width:38px}.pos-product-card .qty-overlay span{font-size:15px;min-width:22px}.pos-cartbar{align-items:center;background:var(--blue-700);border:0;border-radius:14px;bottom:calc(66px + env(safe-area-inset-bottom));box-shadow:0 6px 18px #1565d873;color:#fff;display:flex;font-size:15px;font-weight:600;justify-content:space-between;left:12px;min-height:54px;padding:0 18px;position:fixed;right:12px;z-index:930}.pos-cartbar span{align-items:center;display:inline-flex;gap:8px}.pos-cartbar strong{font-size:17px}.pos-sheet-backdrop{background:#0f172a80;display:block;inset:0;position:fixed;z-index:965}.pos-cart{border-radius:18px 18px 0 0;border-width:0;bottom:0;left:0;overflow:hidden;position:fixed;right:0;top:7vh;transform:translateY(105%);transition:transform .22s ease,visibility .22s;visibility:hidden;z-index:970}.pos-cart.sheet-open{transform:none;visibility:visible}.pos-cart-header{border-radius:18px 18px 0 0;font-size:15.5px;justify-content:flex-start;padding:10px 12px}.pos-cart-header>span{flex:1 1}.pos-cart-close{align-items:center;background:#ffffff24;border:0;border-radius:10px;color:#fff;display:inline-flex;height:44px;justify-content:center;width:44px}.pos-clear{font-size:13px;min-height:40px;padding:4px 12px}.pos-cart-items{flex:1 1;max-height:none;min-height:110px;padding:4px 12px}.pos-cart-details{flex:0 1 auto;max-height:34vh;overflow-y:auto;padding:12px 12px 4px}.pos-cart-footer{border-radius:0;padding:12px 14px calc(14px + env(safe-area-inset-bottom));position:static}.pos-cart-item .qty-stepper button{font-size:20px;height:44px;width:42px}.pos-cart-item .qty-stepper input{font-size:16px;height:44px;width:52px}.pos-cart-item .unit-price input{font-size:16px;min-height:44px;padding:6px 8px;width:92px}.pos-cart-item .line-remove{align-items:center;justify-content:center;min-height:44px;min-width:44px}.pos-cart-item .line-controls{flex-wrap:wrap;gap:10px}.pos-cart-item .line-more{min-height:44px}.pos-cart-item .info .n{font-size:14.5px}.pos-buttons .btn{min-height:50px}.pos-buttons kbd{display:none}.license-toast{bottom:calc(70px + env(safe-area-inset-bottom));left:12px;max-width:none;right:12px}}