@import "https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap";*,:before,:after{box-sizing:border-box;margin:0;padding:0}:root{--bg-base:#f8fafc;--bg-surface:#fff;--bg-elevated:#f1f5f9;--bg-hover:#e2e8f0;--sidebar-w:245px;--accent:#2548e8;--accent-hover:#1e3ecb;--accent-active:#120158;--accent-muted:#eff4ff;--accent-border:#bfdbfe;--accent-glow:#2548e840;--text-primary:#0f172a;--text-secondary:#334155;--text-muted:#64748b;--text-subtle:#94a3b8;--border:#e2e8f0;--border-light:#f1f5f9;--border-hover:#cbd5e1;--success:#059669;--success-bg:#ecfdf5;--danger:#e11d48;--danger-bg:#fff1f2;--warning:#d97706;--warning-bg:#fffbeb;--info:#0284c7;--info-bg:#f0f9ff;--vama-gradient:linear-gradient(135deg, #2548e8 0%, #1e3ecb 100%);--vama-gradient-start:#2548e8;--vama-gradient-mid:#1e3ecb;--vama-gradient-end:#120158;--vyapar-green:#059669;--vyapar-green-hover:#047857;--vyapar-green-light:#ecfdf5;--vyapar-blue:#2548e8;--vyapar-blue-hover:#1e3ecb;--vyapar-blue-light:#eff4ff;--vyapar-red:#e11d48;--vyapar-red-hover:#be123c;--vyapar-red-light:#fff1f2;--radius:10px;--radius-sm:6px;--radius-lg:14px;--radius-xl:18px;--shadow-sm:0 1px 2px 0 #0f172a0d;--shadow:0 1px 3px 0 #0f172a14, 0 1px 2px -1px #0f172a0f;--shadow-md:0 4px 6px -1px #0f172a14, 0 2px 4px -2px #0f172a0d;--shadow-lg:0 10px 25px -3px #0f172a1a, 0 4px 6px -4px #0f172a0d;--shadow-xl:0 20px 30px -4px #0f172a24;--transition:.15s ease;--font-3xs:clamp(.5625rem, .54rem + .12vw, .625rem);--font-2xs:clamp(.625rem, .6rem + .14vw, .6875rem);--font-xs:clamp(.6875rem, .66rem + .16vw, .75rem);--font-sm:clamp(.75rem, .72rem + .18vw, .8125rem);--font-base:clamp(.8125rem, .78rem + .22vw, .875rem);--font-md:clamp(.875rem, .84rem + .28vw, 1rem);--font-lg:clamp(1rem, .95rem + .35vw, 1.15rem);--font-xl:clamp(1.125rem, 1.05rem + .45vw, 1.325rem);--font-2xl:clamp(1.275rem, 1.18rem + .6vw, 1.55rem);--font-3xl:clamp(1.5rem, 1.38rem + .8vw, 1.875rem);--space-3xs:clamp(2px, .25vw, 4px);--space-2xs:clamp(4px, .5vw, 6px);--space-xs:clamp(6px, .75vw, 10px);--space-sm:clamp(10px, 1.1vw, 14px);--space-md:clamp(14px, 1.6vw, 20px);--space-lg:clamp(18px, 2.2vw, 28px);--space-xl:clamp(24px, 3.2vw, 40px)}.vama-header-gradient{background:var(--vama-gradient)!important;color:#fff!important}html{-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;height:100%;overflow-x:hidden}body,#app{background:var(--bg-base);width:100%;min-width:320px;min-height:100%;color:var(--text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizelegibility;font-feature-settings:"cv02", "cv03", "cv04", "cv11";font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;overflow-x:hidden}::-moz-selection{color:#120158;background:#2548e833}::selection{color:#120158;background:#2548e833}.stat-val,.stat-value,.total-val-num,.total-amount,.amount-val,.invoice-total-num,.tab-count,td,th{font-variant-numeric:tabular-nums}img,picture,video,canvas{max-width:100%;height:auto;display:block}svg{flex-shrink:0;max-width:100%}h1,.h1{font-size:var(--font-2xl);font-weight:800;line-height:1.22}h2,.h2{font-size:var(--font-xl);font-weight:700;line-height:1.28}h3,.h3{font-size:var(--font-lg);font-weight:700;line-height:1.32}h4,.h4{font-size:var(--font-md);font-weight:600;line-height:1.38}h5,.h5{font-size:var(--font-base);font-weight:600;line-height:1.42}h6,.h6{font-size:var(--font-sm);font-weight:600;line-height:1.45}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:99px}::-webkit-scrollbar-thumb:hover{background:#94a3b8}.app-shell{height:100vh;display:flex;overflow:hidden}.sidebar{width:var(--sidebar-w);background:var(--bg-surface);border-right:1px solid var(--border);transition:transform var(--transition), width var(--transition);z-index:50;flex-direction:column;flex-shrink:0;padding:0;display:flex}.sidebar.rail-collapsed .sidebar-logo{justify-content:center!important;padding:14px 8px!important}.sidebar.rail-collapsed .sidebar-logo-text-wrap,.sidebar.rail-collapsed .nav-item-label,.sidebar.rail-collapsed .nav-section-title,.sidebar.rail-collapsed .nav-section-label,.sidebar.rail-collapsed .sidebar-footer-text,.sidebar.rail-collapsed .nav-group-children,.sidebar.rail-collapsed .nav-badge,.sidebar.rail-collapsed .nav-chevron{display:none!important}.sidebar.rail-collapsed .nav-link,.sidebar.rail-collapsed .nav-group-header{justify-content:center!important;gap:0!important;padding:10px 0!important}.sidebar.rail-collapsed .nav-section-divider{background:var(--border);height:1px;margin:8px 10px;display:block!important}.sidebar.rail-collapsed .sidebar-footer{flex-direction:column;align-items:center;display:flex;padding:8px 4px!important}.sidebar.rail-collapsed .sidebar-footer .nav-link{justify-content:center!important;padding:10px 0!important}.sidebar.rail-collapsed .sidebar-footer .sidebar-user-card{display:none!important}.sidebar-logo{border-bottom:1px solid var(--border);align-items:center;gap:10px;padding:14px 16px;display:flex}.sidebar-logo-icon{border-radius:var(--radius-sm);background:#fff;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;display:flex}.sidebar-logo-text{color:var(--text-primary);font-size:14px;font-weight:700}.sidebar-logo-sub{color:var(--text-muted);font-size:11px}.sidebar-nav{flex:1;padding:10px 8px;overflow-y:auto}.nav-section-label{letter-spacing:.08em;color:var(--text-muted);text-transform:uppercase;padding:10px 10px 4px;font-size:10px;font-weight:700}.nav-link{border-radius:var(--radius-sm);color:var(--text-secondary);transition:all var(--transition);cursor:pointer;background:0 0;border:none;align-items:center;gap:9px;width:100%;padding:8px 10px;font-size:13px;font-weight:500;text-decoration:none;display:flex}.nav-link:hover{background:var(--bg-elevated);color:var(--text-primary)}.nav-link.active{background:var(--accent-muted,#eff4ff);color:var(--accent,#2548e8);font-weight:600}.nav-link.active svg{color:var(--accent,#2548e8)}.nav-link svg{flex-shrink:0;width:17px;height:17px}.sidebar-footer{border-top:1px solid var(--border);padding:10px 8px}.main-content{background:linear-gradient(#f3f5fc 0%,#f8fafc 40%,#eff4ff 100%);flex-direction:column;flex:1;display:flex;overflow:hidden}.topbar{border-bottom:1px solid var(--border);background:var(--bg-surface);flex-shrink:0;justify-content:space-between;align-items:center;height:48px;padding:0 16px;display:none;position:relative}@media (width>=1025px){.topbar{-webkit-backdrop-filter:blur(16px)!important;background:#ffffffe0!important;border-bottom:1px solid #818cf838!important;justify-content:space-between!important;align-items:center!important;height:64px!important;padding:0 24px!important;display:flex!important;box-shadow:0 4px 16px -2px #2548e80d!important}[data-theme=dark] .topbar{background:#0f172ad9!important;border-bottom:1px solid #818cf838!important}.menu-btn,.topbar-mobile-brand{display:none!important}}@media (width<=1024px){.topbar{-webkit-backdrop-filter:blur(16px)!important;height:56px!important;min-height:56px!important;color:var(--text-primary,#0f172a)!important;background:#ffffffeb!important;border-bottom:1px solid #2548e82e!important;justify-content:space-between!important;align-items:center!important;padding:0 14px!important;display:flex!important;box-shadow:0 3px 12px #2548e80d!important}.topbar .topbar-title{color:var(--text-primary,#0f172a)!important;font-size:15px!important}.topbar .menu-btn{color:var(--text-primary,#0f172a)!important}.topbar-desktop-only{display:none!important}}.topbar-title{color:var(--text-primary);letter-spacing:-.02em;font-size:18px;font-weight:700}.topbar-actions{align-items:center;gap:10px;display:flex}.topbar-action-btn{cursor:pointer;white-space:nowrap;border:none;border-radius:8px;justify-content:center;align-items:center;gap:6px;padding:8px 14px;font-size:13px;font-weight:600;line-height:1.2;text-decoration:none;transition:all .15s;display:inline-flex}.topbar-btn-sale{box-shadow:0 1px 3px #05966933;background:var(--vyapar-green)!important;color:#fff!important}.topbar-btn-sale:hover{background:var(--vyapar-green-hover)!important}.topbar-btn-purchase{box-shadow:0 1px 3px #2548e833;background:var(--vyapar-blue)!important;color:#fff!important}.topbar-btn-purchase:hover{background:var(--vyapar-blue-hover)!important}.topbar-btn-scan{font-weight:600;box-shadow:0 1px 2px #2548e814;background:var(--bg-surface,#fff)!important;color:var(--accent,#2548e8)!important;border:1.5px solid var(--accent,#2548e8)!important}.topbar-btn-scan:hover{background:var(--accent-muted,#eff4ff)!important;color:var(--accent-hover,#1e3ecb)!important;border-color:var(--accent-hover,#1e3ecb)!important}.topbar-trial-badge{letter-spacing:-.01em;white-space:nowrap;border-radius:20px;align-items:center;gap:6px;padding:5px 12px;font-size:12px;font-weight:600;display:inline-flex}.topbar-trial-badge.trial-active{color:#059669;background:#ecfdf5;border:1px solid #a7f3d0}.topbar-trial-badge.trial-warning{color:#b45309;background:#fffbeb;border:1px solid #fde68a}.topbar-trial-badge.trial-danger{color:#e11d48;background:#fff1f2;border:1px solid #fecdd3}.topbar-trial-badge.super-admin-badge{color:#1e3ecb;background:#dbeafe;border:1px solid #bfdbfe}.topbar-trial-badge.store-badge{color:#854d0e;background:#fef08a;border:1px solid #fde047}.topbar-trial-badge.lifetime-badge{color:#059669;background:#ecfdf5;border:1px solid #a7f3d0}.page-content{flex-direction:column;flex:1;min-height:0;padding:12px 18px;display:flex;position:relative;overflow:hidden auto}.page-full-card{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.page-full-card .table-wrap,.page-full-card .table-container{flex:1;min-height:0;overflow:auto}.app-footer{border-top:1px solid var(--border);color:var(--text-muted);text-align:center;background:var(--bg-surface);flex-shrink:0;padding:10px 24px;font-size:12px}.footer-link{color:var(--accent);font-weight:500;text-decoration:none}.footer-link:hover{text-decoration:underline}.inv-mode-cards{flex-direction:column;gap:6px;padding:0 2px;display:flex}.inv-mode-card{border-radius:var(--radius);background:var(--bg-elevated);cursor:pointer;text-align:left;border:1.5px solid #0000;align-items:center;gap:10px;width:100%;padding:9px 10px;text-decoration:none;transition:all .18s;display:flex;position:relative}.inv-mode-card:hover{background:var(--bg-hover);border-color:var(--border)}.inv-mode-card--active-blue{background:#eff6ff;border-color:#bfdbfe}.inv-mode-card--active-blue:hover{background:#dbeafe}.inv-mode-card--active-green{background:#f0fdf4;border-color:#bbf7d0}.inv-mode-card--active-green:hover{background:#dcfce7}.inv-mode-card-icon{border-radius:var(--radius-sm);flex-shrink:0;justify-content:center;align-items:center;width:30px;height:30px;display:flex}.inv-mode-card-icon--muted{background:var(--bg-hover);color:var(--text-muted)}.inv-mode-card-icon--blue{color:#2563eb;background:#dbeafe}.inv-mode-card-icon--green{color:#16a34a;background:#dcfce7}.inv-mode-card-body{flex-direction:column;flex:1;gap:1px;min-width:0;display:flex}.inv-mode-card-title{color:var(--text-primary);font-size:13px;font-weight:600;line-height:1.2}.inv-mode-card-sub{color:var(--text-muted);font-size:11px}.inv-mode-dot{border-radius:50%;flex-shrink:0;width:7px;height:7px}.inv-mode-dot--blue{background:#2563eb}.inv-mode-dot--green{background:#16a34a}.card{background:var(--bg-surface);border-radius:var(--radius-lg);border:1px solid #e2e8f0d9;transition:box-shadow .2s cubic-bezier(.16,1,.3,1),border-color .2s,transform .2s;overflow:hidden;box-shadow:0 1px 3px #0f172a0a,0 4px 12px -2px #0f172a08}.card:hover{border-color:#bfdbfee6;box-shadow:0 4px 6px -1px #0f172a0d,0 10px 20px -4px #2548e80f}.responsive-card{padding:16px 20px}.btn{border-radius:var(--radius-sm);cursor:pointer;white-space:nowrap;border:none;justify-content:center;align-items:center;gap:4px;min-height:25px;padding:3.5px 9px;font-size:11px;font-weight:500;line-height:1.25;text-decoration:none;transition:all .18s cubic-bezier(.16,1,.3,1);display:inline-flex}.btn-primary{color:#fff;text-shadow:0 1px 1px #1201584d;letter-spacing:-.01em;background:linear-gradient(#2b4ff5 0%,#1e3ecb 100%);border:1px solid #12015838;font-weight:600;box-shadow:inset 0 1px #ffffff38,0 1px 2px #1201581a,0 2px 6px #2548e840}.btn-primary:hover{background:linear-gradient(#375bf7 0%,#1737be 100%);transform:translateY(-.5px);box-shadow:inset 0 1px #ffffff47,0 2px 4px #12015826,0 5px 14px #2548e859}.btn-primary:active{background:linear-gradient(#1e3ecb 0%,#120158 100%);transform:translateY(.5px);box-shadow:inset 0 1px 2px #0003}.btn-secondary{background:var(--bg-surface);color:var(--text-secondary);border:1px solid var(--border);font-weight:500;box-shadow:0 1px 2px #0f172a0a,inset 0 1px #fffc}.btn-secondary:hover{background:var(--bg-elevated);color:var(--text-primary);border-color:var(--border-hover);transform:translateY(-.5px);box-shadow:0 2px 5px #0f172a0f}.btn-secondary:active{transform:translateY(.5px)}.btn-danger{background:var(--danger-bg);color:var(--danger);border:1px solid #fecdd3}.btn-danger:hover{background:#ffe4e6}.btn-ghost{color:var(--text-secondary);background:0 0}.btn-ghost:hover{background:var(--bg-elevated);color:var(--text-primary)}.btn-sm{gap:3px;min-height:21px;padding:2px 6px;font-size:10px}.btn-icon{min-width:25px;min-height:25px;padding:3.5px}.btn:disabled{opacity:.45;cursor:not-allowed;box-shadow:none!important;transform:none!important}.form-group{flex-direction:column;gap:4px;display:flex}.form-label{color:var(--text-secondary);font-size:11px;font-weight:500}.form-input{background:var(--bg-surface);border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--text-primary);transition:border-color var(--transition), box-shadow var(--transition);outline:none;width:100%;padding:6px 10px;font-family:inherit;font-size:12px}.form-input:focus{border-color:#2548e8;box-shadow:0 0 0 3px #2548e829,0 1px 2px #0f172a0a}input::-moz-placeholder{color:var(--text-muted);opacity:1;transition:opacity .12s ease-out,color .12s ease-out}textarea::-moz-placeholder{color:var(--text-muted);opacity:1;transition:opacity .12s ease-out,color .12s ease-out}.form-input::-moz-placeholder{color:var(--text-muted);opacity:1;transition:opacity .12s ease-out,color .12s ease-out}.search-input::-moz-placeholder{color:var(--text-muted);opacity:1;transition:opacity .12s ease-out,color .12s ease-out}input::placeholder,textarea::placeholder,.form-input::placeholder,.search-input::placeholder{color:var(--text-muted);opacity:1;transition:opacity .12s ease-out,color .12s ease-out}input:focus::-moz-placeholder{color:#0000!important;opacity:0!important}textarea:focus::-moz-placeholder{color:#0000!important;opacity:0!important}.form-input:focus::-moz-placeholder{color:#0000!important;opacity:0!important}.search-input:focus::-moz-placeholder{color:#0000!important;opacity:0!important}input:not(:placeholder-shown)::-moz-placeholder{color:#0000!important;opacity:0!important}textarea:not(:placeholder-shown)::-moz-placeholder{color:#0000!important;opacity:0!important}.form-input:not(:placeholder-shown)::-moz-placeholder{color:#0000!important;opacity:0!important}.search-input:not(:placeholder-shown)::-moz-placeholder{color:#0000!important;opacity:0!important}input:not(:-moz-placeholder-shown)::placeholder{color:#0000!important;opacity:0!important}input:not(:placeholder-shown)::placeholder{color:#0000!important;opacity:0!important}textarea:not(:-moz-placeholder-shown)::placeholder{color:#0000!important;opacity:0!important}textarea:not(:placeholder-shown)::placeholder{color:#0000!important;opacity:0!important}.form-input:not(:-moz-placeholder-shown)::placeholder{color:#0000!important;opacity:0!important}.form-input:not(:placeholder-shown)::placeholder{color:#0000!important;opacity:0!important}.search-input:not(:-moz-placeholder-shown)::placeholder{color:#0000!important;opacity:0!important}.search-input:not(:placeholder-shown)::placeholder{color:#0000!important;opacity:0!important}input:focus::placeholder,textarea:focus::placeholder,.form-input:focus::placeholder,.search-input:focus::placeholder,input:not(:placeholder-shown)::placeholder,textarea:not(:placeholder-shown)::placeholder,.form-input:not(:placeholder-shown)::placeholder,.search-input:not(:placeholder-shown)::placeholder{color:#0000!important;opacity:0!important}input:focus::-webkit-input-placeholder{color:#0000!important;opacity:0!important;-webkit-text-fill-color:transparent!important}textarea:focus::-webkit-input-placeholder{color:#0000!important;opacity:0!important;-webkit-text-fill-color:transparent!important}.form-input:focus::-webkit-input-placeholder{color:#0000!important;opacity:0!important;-webkit-text-fill-color:transparent!important}.search-input:focus::-webkit-input-placeholder{color:#0000!important;opacity:0!important;-webkit-text-fill-color:transparent!important}input:not(:placeholder-shown)::-webkit-input-placeholder{color:#0000!important;opacity:0!important;-webkit-text-fill-color:transparent!important}textarea:not(:placeholder-shown)::-webkit-input-placeholder{color:#0000!important;opacity:0!important;-webkit-text-fill-color:transparent!important}.form-input:not(:placeholder-shown)::-webkit-input-placeholder{color:#0000!important;opacity:0!important;-webkit-text-fill-color:transparent!important}.search-input:not(:placeholder-shown)::-webkit-input-placeholder{color:#0000!important;opacity:0!important;-webkit-text-fill-color:transparent!important}input:not(:-moz-placeholder-shown)::-moz-placeholder{color:#0000!important;opacity:0!important}textarea:not(:-moz-placeholder-shown)::-moz-placeholder{color:#0000!important;opacity:0!important}.form-input:not(:-moz-placeholder-shown)::-moz-placeholder{color:#0000!important;opacity:0!important}.search-input:not(:-moz-placeholder-shown)::-moz-placeholder{color:#0000!important;opacity:0!important}input:focus::-moz-placeholder{color:#0000!important;opacity:0!important}textarea:focus::-moz-placeholder{color:#0000!important;opacity:0!important}.form-input:focus::-moz-placeholder{color:#0000!important;opacity:0!important}.search-input:focus::-moz-placeholder{color:#0000!important;opacity:0!important}input:not(:placeholder-shown)::-moz-placeholder{color:#0000!important;opacity:0!important}textarea:not(:placeholder-shown)::-moz-placeholder{color:#0000!important;opacity:0!important}.form-input:not(:placeholder-shown)::-moz-placeholder{color:#0000!important;opacity:0!important}.search-input:not(:placeholder-shown)::-moz-placeholder{color:#0000!important;opacity:0!important}.hide-arrows::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.hide-arrows::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.hide-arrows{appearance:textfield}.form-error{color:var(--danger);font-size:12px}.form-row{grid-template-columns:1fr 1fr;gap:14px;display:grid}.table-wrap{-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#94a3b8 #f1f5f9;box-sizing:border-box;width:100%;max-width:100%;overflow:auto}.data-table{border-collapse:collapse;width:100%}.data-table:not(.mobile-card-table){min-width:1050px}.data-table th{text-align:left;text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted);background:var(--bg-surface,#fff);box-shadow:0 1px 0 var(--border);white-space:nowrap;z-index:10;padding:6px 10px;font-size:10px;font-weight:700;position:sticky;top:0}.data-table td{color:var(--text-primary);border-bottom:1px solid var(--border-light);vertical-align:middle;padding:6px 10px;font-size:11.5px}.data-table tr{transition:background-color .12s}.data-table tr:hover td{background:#eff4ff73}.data-table tr:last-child td{border-bottom:none}.table-container{-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#94a3b8 #f1f5f9;box-sizing:border-box;flex:1;width:100%;max-width:100%;min-height:0;overflow:auto}.custom-table{border-collapse:collapse;width:100%}.custom-table:not(.mobile-card-table){min-width:1050px}.custom-table th{text-align:left;text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted);background:var(--bg-surface,#fff);box-shadow:0 1px 0 var(--border);white-space:nowrap;z-index:10;padding:6px 10px;font-size:10px;font-weight:700;position:sticky;top:0}.custom-table td{color:var(--text-primary);border-bottom:1px solid var(--border-light);vertical-align:middle;padding:6px 10px;font-size:11.5px}.custom-table tr:hover td{background:#f8fafc}.custom-table tr:last-child td{border-bottom:none}.inventory-total-value-pill{color:var(--accent,#2548e8);background:#2548e814;border:1px solid #2548e833;border-radius:6px;align-items:center;gap:5px;padding:3.5px 9px;font-size:11px;font-weight:600;display:inline-flex}.inventory-total-value-pill .total-val-label{color:var(--text-secondary);font-size:10.5px}.inventory-total-value-pill .total-val-num{font-variant-numeric:tabular-nums;color:var(--accent,#2548e8);font-size:11.5px}.ai-scan-modal-box{background:var(--bg-surface,#fff);text-align:center;border-radius:14px;flex-direction:column;align-items:center;gap:14px;width:90%;max-width:400px;padding:24px 22px;display:flex;box-shadow:0 20px 40px #0003}.ai-scan-badge{color:#2548e8;letter-spacing:.5px;text-transform:uppercase;background:#2548e81a;border-radius:20px;align-items:center;gap:6px;padding:4px 10px;font-size:11.5px;font-weight:700;display:inline-flex}.ai-scan-spinner-wrap{justify-content:center;align-items:center;width:64px;height:64px;display:flex;position:relative}.ai-scan-spinner-ring{border-width:3.5px;width:64px;height:64px}.ai-scan-spinner-text{color:var(--text-primary);font-variant-numeric:tabular-nums;font-size:15px;font-weight:800;position:absolute}.ai-scan-title{color:var(--text-primary);margin-bottom:3px;font-size:15px;font-weight:700}.ai-scan-status{color:var(--text-muted);min-height:18px;font-size:11.5px}.scan-summary{border-radius:var(--radius-sm);background:#f0f9ff;border:1px solid #bae6fd;align-items:flex-start;gap:12px;padding:12px 14px;display:flex}.scan-summary-icon{border-radius:var(--radius-sm);width:32px;height:32px;color:var(--accent);background:#e0f2fe;flex-shrink:0;justify-content:center;align-items:center;display:flex}.scan-summary-title{color:var(--text-primary);font-size:13px;font-weight:700}.scan-summary-text{color:var(--text-secondary);margin-top:2px;font-size:12.5px}.purchase-review-layout{grid-template-columns:minmax(0,1fr) 280px;align-items:start;gap:14px;display:grid}.purchase-items-panel,.purchase-scan-panel{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--bg-surface);overflow:hidden}.purchase-panel-head{border-bottom:1px solid var(--border);background:#f8fafc;justify-content:space-between;align-items:center;gap:12px;min-height:54px;padding:10px 12px;display:flex}.purchase-panel-title{color:var(--text-primary);font-size:13px;font-weight:700}.purchase-panel-sub{color:var(--text-muted);margin-top:2px;font-size:11.5px}.purchase-items-scroll{width:100%;overflow-x:auto}.purchase-items-table{min-width:920px}.purchase-items-table th{background:var(--bg-elevated)}.purchase-items-table td{padding:5px;font-size:11.5px}.purchase-items-table .form-input{min-height:28px;padding:4px 6px;font-size:11.5px}.purchase-desc-input{min-width:210px}.purchase-amount-cell{white-space:nowrap;font-size:11.5px;font-weight:700}.purchase-empty-row{text-align:center;color:var(--text-muted);font-size:13px;padding:26px!important}.purchase-scan-panel{padding:12px;position:sticky;top:0}.purchase-bill-preview{-o-object-fit:contain;object-fit:contain;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--bg-base);width:100%;max-height:420px;margin-top:10px;display:block}.purchase-file-placeholder{border:1px dashed var(--border);border-radius:var(--radius-sm);background:var(--bg-base);text-align:center;min-height:210px;color:var(--text-muted);flex-direction:column;justify-content:center;align-items:center;gap:10px;margin-top:10px;padding:18px;font-size:12.5px;display:flex}.purchase-stats-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-bottom:12px;display:grid}.purchase-stats-grid.cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}@media (width<=1200px){.purchase-stats-grid,.purchase-stats-grid.cols-5{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=768px){.purchase-stats-grid,.purchase-stats-grid.cols-5{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}}@media (width<=480px){.purchase-stats-grid,.purchase-stats-grid.cols-5{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px!important}}@media (width<=360px){.purchase-stats-grid,.purchase-stats-grid.cols-5{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:4px!important}}.purchase-stat-compact{background:var(--bg-surface);border:1px solid var(--border);border-radius:var(--radius-sm);box-shadow:var(--shadow-sm);transition:all var(--transition);align-items:center;gap:6px;min-width:0;padding:4px 8px;display:flex}.purchase-stat-compact:hover{border-color:var(--border-hover);box-shadow:var(--shadow)}.purchase-stat-icon-wrap{border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;width:24px;height:24px;display:flex}.purchase-stat-icon-wrap svg{width:13px;height:13px}.purchase-stat-info{flex-direction:column;flex:1;min-width:0;display:flex}.purchase-stat-title{color:var(--text-muted);text-transform:uppercase;letter-spacing:.03em;font-size:9px;font-weight:600;line-height:1.2}.purchase-stat-num{color:var(--text-primary);font-variant-numeric:tabular-nums;white-space:nowrap;text-overflow:ellipsis;font-size:12px;font-weight:700;line-height:1.25;overflow:hidden}.filter-pills-bar{background:var(--bg-base);border-bottom:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:8px;padding:10px 18px;display:flex}.filter-pill{color:var(--text-secondary);background:var(--bg-surface);border:1px solid var(--border);cursor:pointer;border-radius:20px;align-items:center;gap:6px;padding:5px 12px;font-size:12.5px;font-weight:600;transition:all .15s;display:inline-flex}.filter-pill:hover{border-color:var(--border-hover);color:var(--text-primary);background:var(--bg-elevated)}.filter-pill.active{background:var(--accent);color:#fff;border-color:var(--accent);box-shadow:0 2px 6px var(--accent-glow)}.filter-pill-badge{background:#00000014;border-radius:10px;padding:1px 6px;font-size:11px}.filter-pill.active .filter-pill-badge{color:#fff;background:#ffffff40}.date-cell{font-variant-numeric:tabular-nums;letter-spacing:-.01em;color:var(--text-secondary);white-space:nowrap!important;font-size:10.5px!important}.flutter-date-filter-bar{box-sizing:border-box;background:#fff;border-bottom:1px solid #e2e8f0;flex-direction:column;gap:6px;width:100%;padding:7px 14px;display:flex}.flutter-date-scroll-row{white-space:nowrap;-webkit-overflow-scrolling:touch;scrollbar-width:none;align-items:center;gap:10px;display:flex;overflow-x:auto}.flutter-date-scroll-row::-webkit-scrollbar{display:none}.flutter-date-label-wrap{flex-shrink:0;align-items:center;gap:6px;display:inline-flex}.flutter-date-calendar-icon{color:#64748b;flex-shrink:0}.flutter-date-label{color:#64748b;letter-spacing:.04em;-webkit-user-select:none;user-select:none;font-size:10px;font-weight:700;line-height:1}.flutter-date-chips-list{flex-shrink:0;align-items:center;gap:5px;display:inline-flex}.flutter-date-chip{color:#475569;cursor:pointer;white-space:nowrap;-webkit-user-select:none;user-select:none;background:#fff;border:1px solid #e2e8f0;border-radius:6px;align-items:center;gap:4px;padding:3.5px 8px;font-size:11px;font-weight:500;line-height:1.2;transition:all .15s;display:inline-flex}.flutter-date-chip:hover{color:#2548e8;background:#f8fafc;border-color:#2548e8}.flutter-date-chip.selected{color:#fff;background:#2548e8;border-color:#2548e8;font-weight:600;box-shadow:0 1px 2px #2548e833}.flutter-date-chip.selected .flutter-date-chip-icon{color:#fff}.flutter-date-chip-icon{color:#64748b;flex-shrink:0}.flutter-date-picker-popover{z-index:1000;background:#fff;border:1px solid #e2e8f0;border-radius:8px;width:250px;padding:12px;position:absolute;top:calc(100% + 6px);left:0;box-shadow:0 10px 25px -5px #0f172a26,0 4px 6px -2px #0f172a0d}.flutter-popover-header{border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:center;margin-bottom:10px;padding-bottom:6px;display:flex}.flutter-popover-title{color:#0f172a;font-size:11.5px;font-weight:700}.flutter-popover-close{color:#64748b;cursor:pointer;background:0 0;border:none;border-radius:4px;align-items:center;padding:2px;display:inline-flex}.flutter-popover-close:hover{color:#0f172a}.flutter-popover-body{flex-direction:column;gap:8px;display:flex}.flutter-popover-field{flex-direction:column;gap:3px;display:flex}.flutter-popover-field-label{color:#64748b;font-size:10.5px;font-weight:600}.flutter-popover-date-input{color:#0f172a;box-sizing:border-box;background:#fff;border:1px solid #e2e8f0;border-radius:6px;width:100%;height:28px;padding:4px 8px;font-size:11.5px}.flutter-popover-date-input:focus{border-color:#2548e8;outline:none;box-shadow:0 0 0 2px #2548e826}.flutter-popover-actions{border-top:1px solid #f1f5f9;justify-content:flex-end;align-items:center;gap:6px;margin-top:6px;padding-top:6px;display:flex}.flutter-date-active-row{flex-wrap:wrap;align-items:center;gap:8px;padding-top:1px;display:flex}.flutter-date-active-pill{color:#2548e8;background:#eff4ff;border:1px solid #bfdbfe;border-radius:6px;align-items:center;gap:4px;padding:2.5px 8px;font-size:10.5px;font-weight:600;line-height:1.2;display:inline-flex}.flutter-active-filter-icon{color:#2548e8;flex-shrink:0}.flutter-active-range-text{color:#2548e8;font-size:10.5px;font-weight:600}.flutter-active-close-btn{color:#2548e8;cursor:pointer;background:0 0;border:none;border-radius:3px;justify-content:center;align-items:center;margin-left:4px;padding:0;transition:opacity .15s;display:inline-flex}.flutter-active-close-btn:hover{opacity:.7}.flutter-date-clear-btn{color:#64748b;cursor:pointer;background:0 0;border:none;border-radius:4px;padding:2px 6px;font-size:10.5px;font-weight:500;transition:color .15s}.flutter-date-clear-btn:hover{color:#0f172a;text-decoration:underline}.flutter-date-extra-info{color:#475569;align-items:center;gap:6px;margin-left:auto;font-size:11px;display:inline-flex}.status-select-wrap{align-items:center;display:inline-flex;position:relative}.status-select{cursor:pointer;border:1px solid #0000;border-radius:12px;outline:none;padding:4px 10px;font-size:12px;font-weight:600;transition:all .15s}.status-select.Pending{background:var(--warning-bg);color:var(--warning);border-color:#fde68a}.status-select.Approved{background:var(--info-bg);color:var(--info);border-color:#bae6fd}.status-select.Received{background:var(--success-bg);color:var(--success);border-color:#a7f3d0}.status-select.Cancelled{background:var(--danger-bg);color:var(--danger);border-color:#fecdd3}.stock-sync-indicator{border-radius:8px;align-items:center;gap:4px;margin-top:4px;padding:2px 7px;font-size:11px;font-weight:600;display:inline-flex}.stock-sync-indicator.synced{color:var(--success);background:#0596691a}.stock-sync-indicator.unsynced{color:var(--text-muted);background:#64748b1a}.toast-notice{z-index:999999;border-radius:var(--radius);background:var(--bg-surface);color:var(--text-primary);border:1px solid var(--border);align-items:center;gap:12px;padding:12px 18px;animation:.25s cubic-bezier(.16,1,.3,1) toastSlideIn;display:flex;position:fixed;bottom:24px;right:24px;box-shadow:0 10px 30px #00000026}.toast-notice.success{border-left:4px solid var(--success)}.toast-notice.error{border-left:4px solid var(--danger)}@keyframes toastSlideIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.modal-alert-box{border-radius:var(--radius-sm);align-items:flex-start;gap:10px;margin-bottom:12px;padding:10px 14px;font-size:13px;display:flex}.modal-alert-box.danger{background:var(--danger-bg);color:var(--danger);border:1px solid #fecdd3}.modal-alert-box.info{background:var(--info-bg);color:var(--info);border:1px solid #bae6fd}.badge{border-radius:99px;align-items:center;padding:2px 8px;font-size:11.5px;font-weight:600;display:inline-flex}.badge-success{color:var(--success);background:#dcfce7}.badge-danger{color:var(--danger);background:#fee2e2}.badge-info{color:var(--info);background:#dbeafe}.badge-warning{color:var(--warning);background:#fef3c7}.modal-overlay{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);z-index:100;background:#0f172a59;justify-content:center;align-items:center;padding:24px;animation:.12s fadeIn;display:flex;position:fixed;inset:0}.modal-box{background:var(--bg-surface);border:1px solid var(--border);border-radius:var(--radius-lg);width:100%;max-width:520px;box-shadow:var(--shadow-lg);flex-direction:column;max-height:90vh;animation:.18s slideUp;display:flex}.modal-box.modal-lg{max-width:780px}.modal-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:18px 22px 14px;display:flex}.modal-title{color:var(--text-primary);font-size:14px;font-weight:600}.modal-body{flex-direction:column;flex:1;gap:14px;padding:18px 22px;display:flex;overflow-y:auto}.modal-footer{border-top:1px solid var(--border);background:var(--bg-surface);border-radius:0 0 var(--radius-lg) var(--radius-lg);flex-shrink:0;justify-content:flex-end;align-items:center;gap:10px;padding:12px 20px;display:flex}.drawer-footer{border-top:1px solid var(--border);background:var(--bg-surface);z-index:10;flex-shrink:0;padding:12px 20px;position:sticky;bottom:0;flex-flow:row!important;justify-content:flex-end!important;align-items:center!important;gap:10px!important;display:flex!important}.drawer-footer .btn{white-space:nowrap!important;flex:none!important;width:auto!important}.invoice-print-modal-overlay,.modal-overlay.invoice-print-modal-overlay{justify-content:center!important;align-items:center!important;padding:16px!important;display:flex!important;position:fixed!important;inset:0!important}.modal-overlay:has(.invoice-print-modal){justify-content:center!important;align-items:center!important;padding:16px!important;display:flex!important;position:fixed!important;inset:0!important}.invoice-print-modal,.modal-box.invoice-print-modal{align-self:center!important;margin:auto!important}.modal-footer .btn,.drawer-footer .btn,.invoice-form-actions .btn,.purchase-form-actions .btn{white-space:nowrap;border-radius:8px;justify-content:center;align-items:center;gap:6px;min-height:36px;padding:0 16px;font-size:12.5px;font-weight:600;line-height:1;transition:all .18s cubic-bezier(.16,1,.3,1);display:inline-flex}.modal-footer .btn-secondary,.drawer-footer .btn-secondary,.invoice-form-actions .btn-secondary,.purchase-form-actions .btn-secondary{color:var(--text-secondary);border:1px solid var(--border);background:#fff;box-shadow:0 1px 2px #0f172a0a}.modal-footer .btn-secondary:hover,.drawer-footer .btn-secondary:hover,.invoice-form-actions .btn-secondary:hover,.purchase-form-actions .btn-secondary:hover{background:var(--bg-elevated);color:var(--text-primary);border-color:var(--border-hover)}.modal-footer .btn-primary,.drawer-footer .btn-primary,.invoice-form-actions .btn-primary,.purchase-form-actions .btn-primary{color:#fff;text-shadow:0 1px 1px #1201584d;background:linear-gradient(#2b4ff5 0%,#1e3ecb 100%);border:1px solid #12015838;box-shadow:inset 0 1px #ffffff38,0 1px 2px #1201581f,0 2px 6px #2548e840}.modal-footer .btn-primary:hover,.drawer-footer .btn-primary:hover,.invoice-form-actions .btn-primary:hover,.purchase-form-actions .btn-primary:hover{background:linear-gradient(#375bf7 0%,#1737be 100%);transform:translateY(-.5px);box-shadow:inset 0 1px #ffffff47,0 2px 4px #12015826,0 5px 14px #2548e859}.modal-footer .btn-danger{border-radius:8px;min-height:36px;padding:0 16px;font-size:12.5px;font-weight:600}.invoice-modal-toolbar-actions .btn{border-radius:6px;justify-content:center;align-items:center;gap:6px;min-height:32px;padding:0 12px;font-size:12px;font-weight:600;display:inline-flex}.invoice-modal-toolbar-actions .btn.btn-icon{min-width:32px;padding:0}.drawer-overlay{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:100;background:#0f172a4d;animation:.12s fadeIn;position:fixed;inset:0}.drawer{background:var(--bg-surface);border-left:1px solid var(--border);width:400px;max-width:100vw;box-shadow:var(--shadow-lg);z-index:101;flex-direction:column;animation:.2s slideLeft;display:flex;position:fixed;top:0;bottom:0;right:0}.drawer-header{border-bottom:1px solid var(--border);flex-shrink:0;justify-content:space-between;align-items:center;padding:18px 22px;display:flex}.drawer-title{color:var(--text-primary);font-size:14px;font-weight:600}.drawer-body{flex-direction:column;flex:1;gap:14px;padding:18px 22px;display:flex;overflow-y:auto}.toast-container{z-index:99999;pointer-events:none;flex-direction:column;align-items:flex-end;gap:8px;max-width:calc(100vw - 32px);display:flex;position:fixed;top:20px;right:24px}.toast{pointer-events:auto;border-radius:var(--radius-sm,6px);background:var(--bg-surface,#fff);border:1px solid var(--border,#e2e8f0);max-width:440px;color:var(--text-primary,#0f172a);align-items:center;gap:10px;padding:10px 14px;font-size:13px;font-weight:500;animation:.22s cubic-bezier(.16,1,.3,1) toastSlideDown;display:flex;box-shadow:0 10px 25px -5px #0000001f,0 4px 6px -2px #0000000d}.toast-success{border-left:4px solid var(--success,#10b981)}.toast-error{border-left:4px solid var(--danger,#ef4444)}.toast-warning{border-left:4px solid var(--warning,#f59e0b)}@keyframes toastSlideDown{0%{opacity:0;transform:translateY(-16px)}to{opacity:1;transform:translateY(0)}}.saas-login-container{background:var(--bg-surface,#fff);min-height:100dvh;color:var(--text-primary,#0f172a);display:flex;overflow-x:hidden}.saas-login-hero{color:#fff;background:linear-gradient(135deg,#2548e8 0%,#1e3ecb 100%);border-right:1px solid #ffffff26;flex-direction:column;flex:1.1;justify-content:space-between;padding:60px 64px;display:flex;position:relative;overflow:hidden}.saas-brand-badge{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#e2e8f0;background:#ffffff12;border:1px solid #ffffff24;border-radius:999px;align-items:center;gap:8px;width:fit-content;padding:6px 14px;font-size:12px;font-weight:600;display:inline-flex}.saas-brand-pulse{background:#10b981;border-radius:50%;width:8px;height:8px;animation:2s infinite saasPulse;box-shadow:0 0 10px #10b981}@keyframes saasPulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.5;transform:scale(.85)}}.saas-login-form-panel{color:#0f172a;background:#fff;flex:.9;justify-content:center;align-items:center;padding:40px 32px;display:flex;position:relative}@media (width<=1024px){.btn,.btn-sm,.btn-icon{min-height:38px!important;padding:8px 11px!important}.form-input,.form-select,select.form-input,textarea.form-input,.form-control{min-height:42px!important;padding:9px 11px!important;font-size:16px!important}.saas-login-container{background:radial-gradient(circle at 50% 0,#2548e826 0%,#0000 70%),#f8fafc;flex-direction:column;justify-content:center;align-items:center;min-height:100dvh;padding:32px 16px}.saas-login-hero{display:none!important}.saas-login-form-panel{background:#fff;border:1px solid #e2e8f0;border-radius:16px;width:100%;max-width:440px;min-height:auto;padding:36px 28px;box-shadow:0 10px 25px -5px #00000014,0 8px 10px -6px #0000000a}}@media (width<=480px){.saas-login-container{padding:20px 12px}.saas-login-form-panel{border-radius:14px;padding:28px 18px}}.auth-wrapper{background:radial-gradient(circle at 50% 0,#2548e81f 0%,#0000 60%),#f8fafc;justify-content:center;align-items:center;min-height:100dvh;padding:24px;display:flex}.auth-card{background:var(--bg-surface);border:1px solid var(--border);border-radius:var(--radius-xl);width:100%;max-width:440px;box-shadow:var(--shadow-xl);padding:36px}.auth-logo{text-align:center;margin-bottom:24px}.auth-logo-icon{color:#fff;background:linear-gradient(135deg,#2548e8 0%,#120158 100%);border-radius:14px;justify-content:center;align-items:center;width:48px;height:48px;margin-bottom:10px;font-size:22px;font-weight:800;display:inline-flex;box-shadow:0 4px 14px #2548e859}.auth-title{text-align:center;color:var(--text-primary);margin-bottom:4px;font-size:18px;font-weight:700}.auth-subtitle{color:var(--text-muted);text-align:center;margin-bottom:22px;font-size:13px}.auth-divider{text-align:center;color:var(--text-muted);margin:14px 0;font-size:12px}.auth-link{color:var(--accent);font-size:13px;font-weight:500;text-decoration:none}.auth-link:hover{text-decoration:underline}.scroll-sentinel{height:1px}.loading-ring{justify-content:center;padding:18px;display:flex}.loading-ring:after{content:"";border:2px solid var(--border);border-top-color:var(--accent);border-radius:50%;width:24px;height:24px;animation:.7s linear infinite spin}.stats-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px;margin-bottom:16px;display:grid}.stat-card{background:var(--bg-surface);border-radius:var(--radius);border:1px solid #e2e8f0d9;flex-direction:column;gap:3px;min-width:0;padding:10px 12px;transition:transform .18s cubic-bezier(.16,1,.3,1),box-shadow .18s cubic-bezier(.16,1,.3,1),border-color .18s;display:flex;box-shadow:0 1px 2px #0f172a0a}.stat-card:hover{border-color:#2548e847;transform:translateY(-1px);box-shadow:0 4px 12px #0f172a0d,0 1px 3px #2548e814}.stat-label{color:var(--text-muted);text-transform:uppercase;letter-spacing:.03em;font-size:10px;font-weight:600;line-height:1.25}.stat-value{color:var(--text-primary);font-variant-numeric:tabular-nums;letter-spacing:-.02em;word-break:break-word;font-size:17px;font-weight:700;line-height:1.2}.stat-icon{border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;margin-bottom:2px;display:flex}.stat-icon svg{width:17px;height:17px}.stat-breakdown-wrap{border-top:1px dashed var(--border);gap:2px;width:100%;margin-top:5px;padding-top:5px;display:grid}.stat-breakdown-row{justify-content:space-between;align-items:center;gap:5px;font-size:10.5px;line-height:1.25;display:flex}.stat-breakdown-row span{color:var(--text-muted);font-size:10px}.stat-breakdown-row strong{font-variant-numeric:tabular-nums;font-size:10px;font-weight:600}.table-toolbar{border-bottom:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:14px 18px;display:flex}.toolbar-left{flex:1;align-items:center;gap:10px;display:flex}.search-input-wrap{flex:1;max-width:300px;position:relative}.search-input-wrap svg{color:var(--text-muted);width:14px;position:absolute;top:50%;left:10px;transform:translateY(-50%)}.search-input{padding-left:32px!important}.item-img{-o-object-fit:cover;object-fit:cover;background:var(--bg-elevated);border:1px solid var(--border);border-radius:6px;width:32px;height:32px}.item-img-placeholder{background:var(--accent-muted);width:32px;height:32px;color:var(--accent);border-radius:6px;justify-content:center;align-items:center;font-size:12px;font-weight:600;display:flex}.lazy-img{opacity:0;background:linear-gradient(90deg, var(--bg-elevated) 25%, var(--bg-hover) 50%, var(--bg-elevated) 75%);background-size:200% 100%;transition:opacity .3s;animation:1.2s infinite shimmer}.lazy-img.loaded{opacity:1;background:var(--bg-elevated);animation:none}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.action-btns{gap:4px;display:flex}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes slideLeft{0%{opacity:0;transform:translate(20px)}to{opacity:1;transform:translate(0)}}@keyframes spin{to{transform:rotate(360deg)}}.spin,.animate-spin{animation:.8s linear infinite spin;display:inline-block}@media print{.no-print{display:none!important}body{color:#000;background:#fff}.print-page{padding:20px}}.dashboard-grid{grid-template-columns:1fr 1fr;gap:16px;display:grid}.menu-btn,.sidebar-close-btn{display:none}@media (width<=1024px){html,body,#app{-webkit-overflow-scrolling:touch;height:auto!important;min-height:100%!important;overflow:hidden auto!important}.app-shell{flex-direction:column!important;height:auto!important;min-height:100dvh!important;display:flex!important;overflow:visible!important}.main-content{flex-direction:column!important;flex:1 0 auto!important;width:100%!important;height:auto!important;min-height:100dvh!important;display:flex!important;overflow:visible!important}.sidebar{z-index:1050!important;width:280px!important;max-width:85vw!important;transition:transform .25s cubic-bezier(.4,0,.2,1)!important;position:fixed!important;top:0!important;bottom:0!important;left:0!important;transform:translate(-100%)!important;box-shadow:0 20px 25px -5px #00000040,0 10px 10px -5px #00000026!important}.sidebar.open{transform:translate(0)!important}.menu-btn,.sidebar-close-btn{cursor:pointer;justify-content:center;align-items:center;display:inline-flex!important}.topbar{z-index:100;background:var(--bg-surface);border-bottom:1px solid var(--border);gap:10px;height:48px;padding:0 14px;position:sticky;top:0;display:flex!important}.topbar-title{white-space:nowrap;font-size:13.5px;font-weight:700}.purchase-review-layout{grid-template-columns:1fr}.purchase-scan-panel{order:-1;position:static}}@media (width<=768px){.scanner-hero-banner{flex-direction:column!important;align-items:stretch!important;gap:12px!important;padding:14px 16px!important}.scanner-hero-btn{justify-content:center!important;width:100%!important}.page-content{-webkit-overflow-scrolling:touch;flex:1 0 auto!important;height:auto!important;min-height:auto!important;padding:10px 10px 24px!important;overflow:hidden visible!important}.page-full-card{flex:none!important;height:auto!important;min-height:auto!important;overflow:visible!important}.stats-grid{grid-template-columns:repeat(2,1fr);gap:8px;margin-bottom:12px}.stat-card{gap:4px;padding:12px 10px}.stat-value{word-break:break-all;font-size:18px}.dashboard-grid{grid-template-columns:1fr;gap:12px}.modal-overlay{padding:8px}.modal-box{width:100%;max-height:94vh}.modal-box.modal-lg{max-width:100%}.form-row{grid-template-columns:1fr;gap:10px}.table-toolbar{flex-direction:column;align-items:stretch;gap:10px;padding:10px 12px}.toolbar-left,.search-input-wrap{width:100%;max-width:100%}.toolbar-right{flex-direction:column!important;gap:8px!important;width:100%!important;display:flex!important}.toolbar-right .btn{justify-content:center!important;width:100%!important}.flutter-date-filter-bar{gap:5px!important;padding:5px 10px!important}.flutter-date-scroll-row{gap:6px!important;width:100%!important}.flutter-date-chip{height:22px!important;padding:3px 7px!important;font-size:10px!important}.flutter-date-active-row{flex-wrap:wrap!important;gap:5px!important}.flutter-date-extra-info{width:100%!important;margin-left:0!important;font-size:10px!important}.filter-pills-bar{border-bottom:1px solid var(--border);-webkit-overflow-scrolling:touch!important;flex-wrap:nowrap!important;gap:4px!important;padding:6px 8px!important;overflow-x:auto!important}.filter-pill{white-space:nowrap!important;flex-shrink:0!important;padding:2.5px 7px!important;font-size:10px!important}.toast-container{align-items:stretch;max-width:none;inset:12px 12px auto}.toast{min-width:unset;box-sizing:border-box;width:100%}body,#app{font-size:13px}.nav-link{gap:7px;padding:7px 9px;font-size:12px}.nav-section-label{font-size:9px}.sidebar-logo-text{font-size:12px}.sidebar-logo-sub{font-size:10px}.topbar-title{font-size:13px}.btn{gap:5px;padding:6px 12px;font-size:11.5px}.btn-sm{padding:3px 8px;font-size:10.5px}.form-label{font-size:11px}.form-input{padding:7px 10px;font-size:12px}.form-error{font-size:10.5px}.data-table th{padding:8px 10px;font-size:9.5px}.badge{padding:1px 6px;font-size:10px}.modal-title{font-size:13px}.modal-body{padding:14px 16px;font-size:12.5px}.modal-header{padding:14px 16px 10px}.modal-footer{padding:10px 16px}.drawer-title{font-size:13px}.drawer-body{padding:14px 16px;font-size:12.5px}.stat-label{font-size:10px}.toast{padding:9px 13px;font-size:12px}.page-full-card .table-wrap,.page-full-card .table-container,.table-wrap,.table-container{-webkit-overflow-scrolling:touch!important;touch-action:pan-x pan-y!important;flex:none!important;width:100%!important;max-width:100%!important;display:block!important;overflow:auto visible!important}.table-wrap::-webkit-scrollbar{height:5px!important;display:block!important}.table-container::-webkit-scrollbar{height:5px!important;display:block!important}.purchase-items-scroll::-webkit-scrollbar{height:5px!important;display:block!important}.date-presets-wrap::-webkit-scrollbar{height:5px!important;display:block!important}.filter-pills-bar::-webkit-scrollbar{height:5px!important;display:block!important}.table-wrap::-webkit-scrollbar-track{border-radius:4px;background:#f1f5f9!important}.table-container::-webkit-scrollbar-track{border-radius:4px;background:#f1f5f9!important}.purchase-items-scroll::-webkit-scrollbar-track{border-radius:4px;background:#f1f5f9!important}.date-presets-wrap::-webkit-scrollbar-track{border-radius:4px;background:#f1f5f9!important}.filter-pills-bar::-webkit-scrollbar-track{border-radius:4px;background:#f1f5f9!important}.table-wrap::-webkit-scrollbar-thumb{border-radius:4px;background:#94a3b8!important}.table-container::-webkit-scrollbar-thumb{border-radius:4px;background:#94a3b8!important}.purchase-items-scroll::-webkit-scrollbar-thumb{border-radius:4px;background:#94a3b8!important}.date-presets-wrap::-webkit-scrollbar-thumb{border-radius:4px;background:#94a3b8!important}.filter-pills-bar::-webkit-scrollbar-thumb{border-radius:4px;background:#94a3b8!important}.custom-table{min-width:760px}.custom-table th{letter-spacing:.04em;padding:7px 8px;font-size:9px}.custom-table td{padding:8px;font-size:11.5px}.data-table{min-width:480px}.data-table th{letter-spacing:.04em;padding:7px 8px;font-size:9px}.data-table td{padding:8px;font-size:11.5px}.action-btns .btn-icon{padding:4px}.item-img,.item-img-placeholder{width:26px;height:26px;font-size:10px}.purchase-modal .modal-body{-webkit-overflow-scrolling:touch!important;overscroll-behavior:contain!important;max-height:calc(94dvh - 120px)!important;padding:12px!important;overflow-y:auto!important}.purchase-review-layout{grid-template-columns:1fr}.purchase-scan-panel{order:-1;position:static}.purchase-bill-preview{max-height:280px}.purchase-panel-head{flex-direction:column;align-items:stretch}.purchase-panel-head .btn{justify-content:center;width:100%}.purchase-items-scroll{-webkit-overflow-scrolling:touch!important;touch-action:pan-x pan-y!important;width:100%!important;display:block!important;overflow:auto visible!important}.purchase-items-table{min-width:900px}.form-input[type=number]{padding:6px 8px;font-size:12px}.modal-box[style*="100vw"] .modal-header,.modal-box[style*="100vh"] .modal-header{padding:10px 14px 8px}.modal-box[style*="100vw"] .modal-footer,.modal-box[style*="100vh"] .modal-footer{padding:8px 14px}.drawer{width:100%!important}.drawer-header{padding:12px 14px}.drawer-body{gap:10px;padding:12px 14px}.drawer-footer{padding:10px 14px}}@media (width<=400px){.data-table th{padding:6px;font-size:8.5px}.data-table td{padding:6px;font-size:11px}.btn{padding:5px 10px;font-size:11px}.page-content{padding:8px}}.invoice-form-grid-2{grid-template-columns:1fr 1fr;gap:16px;display:grid}.invoice-form-grid-3{grid-template-columns:1fr 1fr 1fr;gap:10px;display:grid}.invoice-meta-grid{background:var(--bg-elevated);border-radius:10px;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;padding:14px 16px;display:grid}.invoice-bottom-grid{grid-template-columns:1.2fr 1fr;gap:16px;display:grid}.invoice-modal-body{flex-direction:column;flex:1;gap:20px;padding:20px 24px;display:flex;overflow-y:auto}@media (width<=850px){.invoice-meta-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=768px){.invoice-form-grid-2{grid-template-columns:1fr;gap:12px}.invoice-bottom-grid{grid-template-columns:1fr;gap:14px}.invoice-modal-body{gap:14px;padding:12px 14px}.modal-box.invoice-modal-box{width:98vw!important;max-width:98vw!important;max-height:96vh!important;margin:6px auto!important}}@media (width<=640px){.invoice-form-grid-3{grid-template-columns:1fr;gap:8px}.invoice-meta-grid{grid-template-columns:1fr;gap:10px;padding:10px 12px}}@media screen and (width<=640px){.bill-print-overlay{align-items:flex-end!important;padding:0!important}.bill-print-modal{border-radius:18px 18px 0 0!important;width:100%!important;max-width:100%!important;max-height:96dvh!important}.bill-print-toolbar{align-items:flex-start!important;gap:8px!important;padding:12px!important}.bill-print-title{overflow-wrap:anywhere;flex:100%;min-width:0;line-height:1.45;font-size:13px!important}.bill-print-actions{width:100%;gap:6px!important}.bill-print-actions .btn{white-space:nowrap;flex:auto;justify-content:center;min-width:0;padding-inline:8px}.bill-print-scroll{padding:10px!important}.reminder-print-document{overflow-wrap:anywhere;font-size:12px;width:100%!important;max-width:100%!important;box-shadow:none!important;border-radius:8px!important;padding:18px 14px!important}.reminder-print-heading{flex-direction:column;gap:12px}.reminder-print-heading>div:last-child{text-align:left!important}.reminder-print-heading>div:last-child>div:first-child{line-height:1.25;font-size:18px!important}.reminder-print-parties{grid-template-columns:minmax(0,1fr)!important;gap:10px!important}.reminder-print-parties>div:last-child{text-align:left!important}.reminder-print-items{display:block;border-collapse:separate!important;border-spacing:0!important;width:100%!important}.reminder-print-items thead{clip:rect(0, 0, 0, 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.reminder-print-items tbody{gap:9px;display:grid}.reminder-print-items tbody tr{background:#fff;border-radius:8px;padding:8px 11px;display:block;border:1px solid #e2e8f0!important}.reminder-print-items tbody td{overflow-wrap:anywhere;border:0;justify-content:space-between;gap:12px;width:100%;display:flex;text-align:right!important;padding:5px 0!important}.reminder-print-items tbody td:before{content:attr(data-label);color:#64748b;text-align:left;flex:0 0 30%;font-size:11px;font-weight:600}.reminder-print-settlement,.reminder-print-signature{flex-direction:column;align-items:stretch!important;gap:10px!important}.reminder-print-settlement>div:last-child{width:100%!important}.reminder-print-signature>div:last-child{text-align:left!important;width:100%!important}}@media print{@page{size:auto;margin:10mm}body:has(.bill-print-overlay) *{visibility:hidden!important}.bill-print-overlay,.bill-print-overlay *{visibility:visible!important}.bill-print-overlay{background:#fff!important;padding:0!important;display:block!important;position:static!important}.bill-print-modal{width:100%!important;max-width:none!important;height:auto!important;max-height:none!important;box-shadow:none!important;border:0!important;border-radius:0!important;display:block!important;overflow:visible!important}.bill-print-toolbar{display:none!important}.bill-print-scroll{background:#fff!important;padding:0!important;overflow:visible!important}.reminder-print-document{width:100%!important;max-width:none!important;box-shadow:none!important;color:#000!important;border:0!important;border-radius:0!important;margin:0!important;padding:0!important}.reminder-print-items thead{clip:auto!important;white-space:normal!important;width:auto!important;height:auto!important;position:static!important;overflow:visible!important}.reminder-print-items tbody,.reminder-print-items tbody tr,.reminder-print-items tbody td{display:table-row-group!important}.reminder-print-items tbody tr{display:table-row!important}.reminder-print-items tbody td{width:auto!important;text-align:inherit!important;border-bottom:1px solid #e2e8f0!important;display:table-cell!important}.reminder-print-items tbody td:before{content:none!important}.reminder-print-settlement,.reminder-print-signature{flex-direction:row!important}}.verify-email-copy{color:var(--text-secondary);text-align:center;margin:0 0 20px;font-size:14px;line-height:1.6}.verify-email-status{color:#047857;background:#ecfdf5;border:1px solid #a7f3d0;border-radius:10px;align-items:center;gap:8px;margin-bottom:16px;padding:11px 12px;font-size:13px;display:flex}.verify-email-logout{color:var(--text-secondary);font:inherit;cursor:pointer;background:0 0;border:0;margin:16px auto 0;padding:8px 12px;font-size:13px;display:block}.verify-email-logout:hover{color:var(--accent);text-decoration:underline}.import-modal-overlay{z-index:1200!important;-webkit-backdrop-filter:blur(5px)!important;backdrop-filter:blur(5px)!important;background:#0f172a99!important;justify-content:center!important;align-items:center!important;padding:clamp(6px,1.5vw,16px)!important;animation:.15s fadeIn!important;display:flex!important;position:fixed!important;inset:0!important}.import-modal-box{background:var(--bg-surface)!important;border:1px solid var(--border)!important;border-radius:var(--radius-lg,14px)!important;flex-direction:column!important;width:98vw!important;max-width:1540px!important;height:94vh!important;max-height:94vh!important;animation:.2s cubic-bezier(.16,1,.3,1) slideUp!important;display:flex!important;overflow:hidden!important;box-shadow:0 25px 60px -15px #0f172a66!important}.import-modal-header{border-bottom:1px solid var(--border)!important;background:var(--bg-surface)!important;flex-shrink:0!important;justify-content:space-between!important;align-items:center!important;gap:12px!important;padding:16px 24px!important;display:flex!important}.import-modal-stepper-bar{background:var(--bg-surface)!important;border-bottom:1px solid var(--border)!important;flex-wrap:wrap!important;flex-shrink:0!important;justify-content:space-between!important;align-items:center!important;gap:12px!important;padding:10px 24px!important;font-size:12.5px!important;font-weight:600!important;display:flex!important}.import-modal-body{-webkit-overflow-scrolling:touch;background:var(--bg-base)!important;flex-direction:column!important;flex:auto!important;gap:18px!important;padding:20px 24px!important;display:flex!important;overflow-y:auto!important}.import-modal-footer{border-top:1px solid var(--border)!important;background:var(--bg-surface)!important;flex-shrink:0!important;justify-content:space-between!important;align-items:center!important;padding:14px 24px!important;display:flex!important}.import-dropzone{border:2px dashed var(--accent,#2548e8);border-radius:var(--radius-lg,14px);text-align:center;cursor:pointer;background:#2548e808;flex-direction:column;justify-content:center;align-items:center;min-height:280px;padding:36px 20px;transition:all .2s;display:flex}.import-dropzone:hover{border-color:var(--accent-hover,#1e3ecb);background:#2548e812;transform:translateY(-1px)}.import-grid-step1{grid-template-columns:1.15fr .85fr;align-items:stretch;gap:20px;display:grid}.import-file-info-bar{border-radius:var(--radius-md,10px);background:var(--bg-surface);border:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:12px 18px;display:flex}.import-settings-card{border-radius:var(--radius-lg,12px);background:var(--bg-surface);border:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:14px 18px;font-size:12.5px;display:flex}.import-results-grid{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:14px;max-width:600px;margin:0 auto 24px;display:grid}@media (width<=840px){.import-grid-step1{grid-template-columns:1fr!important;gap:14px!important}.import-modal-body{padding:16px!important}.import-modal-header{padding:14px 16px!important}.import-modal-stepper-bar{padding:10px 16px!important}.import-modal-footer{padding:12px 16px!important}}@media (width<=768px){.import-file-info-bar{flex-direction:column!important;align-items:stretch!important;gap:10px!important}.import-file-info-bar>div:last-child{flex-wrap:wrap!important;justify-content:space-between!important;gap:8px!important;width:100%!important;display:flex!important}.import-file-info-bar select{flex:1!important}.import-settings-card{flex-direction:column!important;align-items:stretch!important;gap:12px!important}.import-settings-card>div{flex-direction:column!important;align-items:flex-start!important;gap:8px!important;width:100%!important;display:flex!important}.import-results-grid{grid-template-columns:repeat(2,1fr)!important;gap:10px!important}.import-modal-overlay{padding:0!important}.import-modal-box{border:none!important;border-radius:0!important;width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important}.import-modal-header{padding:12px 14px!important}.import-modal-stepper-bar{gap:6px!important;padding:8px 12px!important}.import-modal-stepper-bar a.btn{justify-content:center!important;width:100%!important}.import-modal-body{gap:12px!important;padding:12px!important}.import-modal-footer{flex-direction:column-reverse!important;gap:8px!important;padding:10px 14px!important}.import-modal-footer>div{gap:8px!important;width:100%!important;display:flex!important}.import-modal-footer .btn{flex:1!important;justify-content:center!important;padding:9px 12px!important;font-size:13px!important}.import-dropzone{min-height:220px!important;padding:24px 14px!important}.import-mapping-table thead{display:none!important}.import-mapping-table,.import-mapping-table tbody,.import-mapping-table tr,.import-mapping-table td{width:100%!important;display:block!important}.import-mapping-table tr{border-bottom:1px solid var(--border)!important;background:var(--bg-surface)!important;padding:12px 14px!important}.import-mapping-table td{border:none!important;padding:4px 0!important}.import-mapping-table td select{width:100%!important;margin-top:6px!important;padding:8px 10px!important;font-size:13px!important}.import-mapping-status-cell{justify-content:flex-start!important;margin-top:4px!important;display:flex!important}}.responsive-banner{border-radius:var(--radius-lg,14px)!important;box-sizing:border-box!important;flex-wrap:wrap!important;justify-content:space-between!important;align-items:center!important;gap:clamp(10px,1.6vw,18px)!important;width:100%!important;padding:clamp(14px,2.2vw,24px)!important;display:flex!important}.responsive-banner-left{flex:300px!important;align-items:center!important;gap:clamp(10px,1.5vw,16px)!important;min-width:0!important;display:flex!important}.responsive-banner-actions{flex-wrap:wrap!important;align-items:center!important;gap:8px!important;display:flex!important}.responsive-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:clamp(10px,1.5vw,16px)!important;display:grid!important}.responsive-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:clamp(10px,1.5vw,16px)!important;display:grid!important}.responsive-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:clamp(10px,1.5vw,16px)!important;display:grid!important}img,picture,video,canvas{max-width:100%!important;height:auto!important}.purchase-bill-preview,.bill-document-preview,.scan-preview-img{-o-object-fit:contain!important;object-fit:contain!important;border-radius:var(--radius-sm,8px)!important;width:100%!important;max-width:100%!important;height:auto!important;max-height:clamp(220px,45vh,480px)!important}.qr-code-image,.upi-qr-image{aspect-ratio:1!important;-o-object-fit:contain!important;object-fit:contain!important;width:min(260px,75vw)!important;max-width:100%!important;height:min(260px,75vw)!important;margin-left:auto!important;margin-right:auto!important;display:block!important}.thermal-label-card{box-sizing:border-box!important;width:100%!important;max-width:100%!important}.table-wrap,.table-container,.table-responsive,.table-wrapper,.purchase-items-scroll,.invoice-modal-items-wrap,.overflow-x-auto{-webkit-overflow-scrolling:touch!important;scrollbar-width:thin!important;scrollbar-color:#cbd5e1 transparent!important;touch-action:pan-x pan-y!important;width:100%!important;max-width:100%!important;position:relative!important;overflow-x:auto!important}.table-wrap::-webkit-scrollbar{width:8px!important;height:8px!important;display:block!important}.table-container::-webkit-scrollbar{width:8px!important;height:8px!important;display:block!important}.table-responsive::-webkit-scrollbar{width:8px!important;height:8px!important;display:block!important}.table-wrapper::-webkit-scrollbar{width:8px!important;height:8px!important;display:block!important}.purchase-items-scroll::-webkit-scrollbar{width:8px!important;height:8px!important;display:block!important}.invoice-modal-items-wrap::-webkit-scrollbar{width:8px!important;height:8px!important;display:block!important}.overflow-x-auto::-webkit-scrollbar{width:8px!important;height:8px!important;display:block!important}.table-wrap::-webkit-scrollbar-track{background:#f1f5f9!important;border-radius:4px!important}.table-container::-webkit-scrollbar-track{background:#f1f5f9!important;border-radius:4px!important}.table-responsive::-webkit-scrollbar-track{background:#f1f5f9!important;border-radius:4px!important}.table-wrapper::-webkit-scrollbar-track{background:#f1f5f9!important;border-radius:4px!important}.purchase-items-scroll::-webkit-scrollbar-track{background:#f1f5f9!important;border-radius:4px!important}.invoice-modal-items-wrap::-webkit-scrollbar-track{background:#f1f5f9!important;border-radius:4px!important}.overflow-x-auto::-webkit-scrollbar-track{background:#f1f5f9!important;border-radius:4px!important}.table-wrap::-webkit-scrollbar-thumb{background:#94a3b8!important;border:1.5px solid #f1f5f9!important;border-radius:4px!important}.table-container::-webkit-scrollbar-thumb{background:#94a3b8!important;border:1.5px solid #f1f5f9!important;border-radius:4px!important}.table-responsive::-webkit-scrollbar-thumb{background:#94a3b8!important;border:1.5px solid #f1f5f9!important;border-radius:4px!important}.table-wrapper::-webkit-scrollbar-thumb{background:#94a3b8!important;border:1.5px solid #f1f5f9!important;border-radius:4px!important}.purchase-items-scroll::-webkit-scrollbar-thumb{background:#94a3b8!important;border:1.5px solid #f1f5f9!important;border-radius:4px!important}.invoice-modal-items-wrap::-webkit-scrollbar-thumb{background:#94a3b8!important;border:1.5px solid #f1f5f9!important;border-radius:4px!important}.overflow-x-auto::-webkit-scrollbar-thumb{background:#94a3b8!important;border:1.5px solid #f1f5f9!important;border-radius:4px!important}.table-wrap::-webkit-scrollbar-thumb:hover{background:#64748b!important}.table-container::-webkit-scrollbar-thumb:hover{background:#64748b!important}.table-responsive::-webkit-scrollbar-thumb:hover{background:#64748b!important}.table-wrapper::-webkit-scrollbar-thumb:hover{background:#64748b!important}.purchase-items-scroll::-webkit-scrollbar-thumb:hover{background:#64748b!important}.invoice-modal-items-wrap::-webkit-scrollbar-thumb:hover{background:#64748b!important}.overflow-x-auto::-webkit-scrollbar-thumb:hover{background:#64748b!important}@media (width>=1441px){.page-content{padding:20px 28px!important}.stats-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))!important;gap:18px!important}.stat-value{font-size:22px!important}}@media (width<=1440px) and (width>=1025px){.page-content{padding:14px 20px!important}.stats-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))!important;gap:14px!important}}@media (width<=1024px){.responsive-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))!important}.page-content{padding:12px 16px 28px!important}.invoice-bottom-grid{grid-template-columns:1fr!important}}@media (width<=840px){.responsive-grid-3{grid-template-columns:repeat(2,minmax(0,1fr))!important}.responsive-banner{flex-direction:column!important;align-items:stretch!important}.responsive-banner-actions{justify-content:flex-start!important;width:100%!important}.responsive-banner-actions .btn{flex:auto!important;justify-content:center!important}}@media (width<=768px){.responsive-card,.card[style*="padding: 20"],.card[style*="padding: 24"],.card[style*=padding\:20],.card[style*=padding\:24],.card[style*="padding: 16"],.card[style*=padding\:16]{padding:12px 14px!important}.stats-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr))!important;gap:8px!important}.stat-card{border-radius:8px!important;padding:8px 10px!important}.stat-icon{border-radius:6px!important;width:28px!important;height:28px!important}.stat-icon svg{width:15px!important;height:15px!important}.stat-value{font-size:14.5px!important;line-height:1.2!important}.stat-label{font-size:9px!important}.form-input,.form-select,select.form-input,textarea.form-input{min-height:30px!important;font-size:13px!important}.date-picker-input,input[type=date]{height:22px!important;min-height:22px!important;font-size:10.5px!important}.date-cell{font-size:10px!important}.btn{min-height:26px!important;padding:3px 8px!important;font-size:10.5px!important}.btn-sm{min-height:21px!important;padding:2px 5px!important;font-size:9.5px!important}.modal-overlay{padding:10px!important}.modal-box{width:100%!important;max-width:100%!important;max-height:94dvh!important}.responsive-grid-2,.responsive-grid-3,.responsive-grid-4{grid-template-columns:1fr!important;gap:10px!important}.whatsapp-tabs-bar{-webkit-overflow-scrolling:touch!important;flex-wrap:nowrap!important;gap:6px!important;width:100%!important;padding-bottom:4px!important;display:flex!important;overflow-x:auto!important}.whatsapp-tabs-bar .btn,.whatsapp-tabs-bar button{white-space:nowrap!important;flex-shrink:0!important}#invoice-modal-print-sheet{min-width:100%!important;max-width:100%!important;box-shadow:none!important;padding:14px 12px!important;font-size:11px!important}.data-table th,.custom-table th,.table th{letter-spacing:.02em!important;padding:4px 6px!important;font-size:8.5px!important}.data-table td,.custom-table td,.table td{padding:4px 6px!important;font-size:10px!important;line-height:1.25!important}.data-table td strong,.custom-table td strong,.table td strong,.data-table td span,.custom-table td span,.table td span,.data-table td a,.custom-table td a,.table td a{font-size:10px!important}.data-table td .badge,.custom-table td .badge,.table td .badge{padding:1px 4px!important;font-size:8.5px!important}.broadcast-upload-btn{white-space:normal!important;word-break:break-word!important;text-align:left!important;max-width:100%!important;line-height:1.35!important}}@media (width<=640px){.modal-overlay{align-items:flex-end!important;padding:0!important}.modal-box{border-bottom:none!important;border-left:none!important;border-right:none!important;border-radius:18px 18px 0 0!important;width:100vw!important;max-width:100vw!important;max-height:96dvh!important}.modal-header{padding:14px 16px 12px!important}.modal-body{-webkit-overflow-scrolling:touch!important;gap:12px!important;padding:14px 16px!important}.modal-footer{flex-wrap:wrap!important;gap:8px!important;padding:12px 16px!important}.modal-footer>.btn{flex:calc(50% - 8px)!important;justify-content:center!important;min-height:38px!important;font-size:12.5px!important}.modal-box.invoice-modal-box,.modal-box.purchase-modal,.modal-box.import-modal-box,.modal-box.modal-fullscreen-mobile{border-radius:0!important;height:100dvh!important;max-height:100dvh!important}.responsive-card,.card[style*="padding: 20"],.card[style*="padding: 24"],.card[style*=padding\:20],.card[style*=padding\:24],.card[style*="padding: 16"],.card[style*=padding\:16]{border-radius:9px!important;padding:10px 12px!important}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;margin-bottom:10px!important}.stat-card{border-radius:7px!important;gap:2px!important;padding:7px 8px!important}.stat-icon{border-radius:6px!important;width:24px!important;height:24px!important;margin-bottom:2px!important}.stat-icon svg{width:13px!important;height:13px!important}.stat-value{word-break:break-word!important;font-variant-numeric:tabular-nums!important;font-size:clamp(12px,3.4vw,14.5px)!important;line-height:1.2!important}.stat-label{letter-spacing:.02em!important;font-size:8.5px!important;line-height:1.2!important}.stat-breakdown-row{gap:4px!important;font-size:9px!important}.stat-breakdown-row span,.stat-breakdown-row strong{font-size:9px!important}.inventory-total-value-pill{justify-content:space-between!important;width:100%!important;padding:2.5px 7px!important;font-size:10px!important}.inventory-total-value-pill .total-val-label{font-size:9px!important}.inventory-total-value-pill .total-val-num{font-size:10px!important}.table-toolbar{gap:6px!important;padding:8px 10px!important}.toolbar-left,.toolbar-right{width:100%!important}.toolbar-right{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px!important;display:grid!important}.toolbar-right .btn,.toolbar-right .scan-quota-badge{text-align:center!important;white-space:nowrap!important;text-overflow:ellipsis!important;border-radius:var(--radius-sm,6px)!important;box-sizing:border-box!important;justify-content:center!important;align-items:center!important;width:100%!important;height:27px!important;min-height:27px!important;margin:0!important;padding:3px 6px!important;font-size:10px!important;display:inline-flex!important;overflow:hidden!important}.toolbar-right .btn svg,.toolbar-right .scan-quota-badge svg{flex-shrink:0!important;width:13px!important;height:13px!important}.toolbar-right .scan-quota-badge{grid-column:auto!important;font-weight:600!important;line-height:1!important}.toolbar-right>.btn-primary,.toolbar-right>button:last-of-type{grid-column:1/-1!important;height:29px!important;min-height:29px!important;font-size:10.5px!important;font-weight:700!important}.superadmin-banner,.responsive-banner{border-radius:10px!important;flex-direction:column!important;align-items:stretch!important;gap:6px!important;margin-bottom:10px!important;padding:7px 10px!important;display:flex!important}.superadmin-banner>div:first-child,.responsive-banner>div:first-child{flex:none!important;align-items:center!important;gap:8px!important;width:100%!important;display:flex!important}.superadmin-banner .responsive-banner-icon,.responsive-banner .responsive-banner-icon{border-radius:6px!important;flex-shrink:0!important;width:28px!important;height:28px!important}.superadmin-banner .responsive-banner-icon svg,.responsive-banner .responsive-banner-icon svg{width:15px!important;height:15px!important}.superadmin-banner span[style*="font-size: clamp"],.responsive-banner span[style*="font-size: clamp"]{letter-spacing:-.01em!important;font-size:12.5px!important}.superadmin-banner-subtitle{display:none!important}.superadmin-banner-actions{flex-wrap:nowrap!important;align-items:center!important;gap:6px!important;width:100%!important;margin-top:2px!important;display:flex!important}.superadmin-store-switcher-box{background:#ffffff26!important;border-radius:6px!important;flex:auto!important;min-width:0!important;height:27px!important;padding:2px 6px!important}.superadmin-switcher-label{display:none!important}.superadmin-store-switcher-box select{border-radius:4px!important;width:100%!important;height:23px!important;padding:1px 4px!important;font-size:10.5px!important}.superadmin-create-admin-btn{border-radius:6px!important;flex-shrink:0!important;gap:4px!important;height:27px!important;padding:3px 8px!important;font-size:10.5px!important}.superadmin-create-admin-btn svg{width:13px!important;height:13px!important}.drawer{width:100%!important;max-width:100vw!important}}@media (width<=480px){body,#app{font-size:12px!important}.page-content{padding:6px 6px 18px!important}.topbar{height:40px!important;padding:0 8px!important}.topbar-title{font-size:12px!important}.topbar-brand span,.topbar-divider{display:none!important}.responsive-card,.card[style*="padding: 20"],.card[style*="padding: 24"],.card[style*=padding\:20],.card[style*=padding\:24],.card[style*="padding: 16"],.card[style*=padding\:16],.card[style*="padding: 12"],.card[style*=padding\:12]{border-radius:8px!important;padding:8px 10px!important}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px!important;margin-bottom:8px!important}.stat-card{border-radius:6px!important;gap:1.5px!important;padding:6px 7px!important}.stat-icon{border-radius:5px!important;width:22px!important;height:22px!important}.stat-icon svg{width:12px!important;height:12px!important}.stat-value{font-size:11.5px!important;line-height:1.15!important}.stat-label{font-size:8px!important;line-height:1.15!important}.stat-breakdown-row,.stat-breakdown-row span,.stat-breakdown-row strong{font-size:8.5px!important}.btn{min-height:24px!important;padding:3px 7px!important;font-size:10px!important}.btn-sm{min-height:20px!important;padding:2px 4px!important;font-size:9px!important}.date-picker-input,input[type=date]{height:21px!important;min-height:21px!important;padding:1px 4px!important;font-size:10px!important}.date-preset-btn{height:20px!important;padding:1px 4px!important;font-size:9px!important}.date-cell{font-size:9.5px!important}.data-table th,.custom-table th,.table th{letter-spacing:0!important;padding:3px 4px!important;font-size:7.5px!important}.data-table td,.custom-table td,.table td{padding:3px 4px!important;font-size:9px!important;line-height:1.2!important}.data-table td strong,.custom-table td strong,.table td strong,.data-table td span,.custom-table td span,.table td span,.data-table td a,.custom-table td a,.table td a{font-size:9px!important}.data-table td .badge,.custom-table td .badge,.table td .badge{padding:1px 3px!important;font-size:7.5px!important}.responsive-banner{margin-bottom:10px!important;padding:6px 8px!important}.responsive-banner-icon{border-radius:6px!important;width:26px!important;height:26px!important}.responsive-banner-icon svg{width:14px!important;height:14px!important}.superadmin-banner,.responsive-banner{margin-bottom:8px!important;padding:5px 8px!important}.superadmin-banner span[style*="font-size: clamp"],.responsive-banner span[style*="font-size: clamp"]{font-size:11px!important}.superadmin-banner .responsive-banner-icon,.responsive-banner .responsive-banner-icon{border-radius:5px!important;width:24px!important;height:24px!important}.superadmin-banner .responsive-banner-icon svg,.responsive-banner .responsive-banner-icon svg{width:13px!important;height:13px!important}.superadmin-store-switcher-box{height:24px!important}.superadmin-store-switcher-box select{height:20px!important;font-size:9.5px!important}.superadmin-create-admin-btn{height:24px!important;padding:2px 6px!important;font-size:9px!important}.inventory-total-value-pill{padding:2px 6px!important;font-size:9px!important}.inventory-total-value-pill .total-val-label{font-size:8.5px!important}.inventory-total-value-pill .total-val-num{font-size:9.5px!important}.toolbar-right{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:4px!important}.toolbar-right .btn,.toolbar-right .scan-quota-badge{height:25px!important;min-height:25px!important;padding:2px 4px!important;font-size:9px!important}.toolbar-right .btn svg,.toolbar-right .scan-quota-badge svg{width:12px!important;height:12px!important}.toolbar-right>.btn-primary,.toolbar-right>button:last-of-type{height:27px!important;min-height:27px!important;font-size:9.5px!important}.auth-card{border-radius:12px!important;padding:20px 14px!important}}@media (width<=360px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:4px!important}.stat-card{border-radius:5px!important;gap:1.5px!important;padding:5px 6px!important}.stat-icon{border-radius:4px!important;width:18px!important;height:18px!important}.stat-icon svg{width:10px!important;height:10px!important}.stat-value{letter-spacing:-.03em!important;font-size:10.5px!important}.stat-label{font-size:7.5px!important}.stat-breakdown-row,.stat-breakdown-row span,.stat-breakdown-row strong{font-size:8px!important}.btn{min-height:23px!important;padding:2.5px 6px!important;font-size:9.5px!important}.btn-sm{min-height:19px!important;padding:1.5px 4px!important;font-size:8.5px!important}.date-cell{font-size:9px!important}.filter-pill{padding:2px 5px!important;font-size:9px!important}.data-table th,.custom-table th{padding:4px!important;font-size:8px!important}.data-table td,.custom-table td{padding:4px!important;font-size:9.5px!important}}.mobile-bottom-nav{display:none}@media (width<=1024px){.main-content{min-height:100dvh!important;padding-bottom:calc(66px + env(safe-area-inset-bottom))!important}.page-content{padding:18px 22px 28px!important}.topbar{height:auto;min-height:56px;padding:8px 18px}.topbar-actions{min-width:0}.topbar-actions>span{text-overflow:ellipsis;white-space:nowrap;max-width:28vw;overflow:hidden}.mobile-bottom-nav{z-index:900;border-top:1px solid var(--border);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#fffffff5;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -5px 20px #0f172a12;box-sizing:border-box!important;white-space:nowrap!important;width:100%!important;padding:6px 8px calc(6px + env(safe-area-inset-bottom))!important;flex-flow:row!important;justify-content:space-around!important;align-items:stretch!important;display:flex!important;overflow-x:hidden!important}.mobile-bottom-nav-item{min-height:48px;color:var(--text-muted);font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;background:0 0;border:0;border-radius:11px;gap:3px;text-decoration:none;box-sizing:border-box!important;flex-direction:column!important;flex:1 1 0!important;justify-content:center!important;align-items:center!important;width:20%!important;min-width:0!important;max-width:20%!important;padding:4px 2px!important;display:flex!important}.mobile-bottom-nav-item span{text-align:center;font-size:11px;font-weight:600;line-height:1.15;display:block;white-space:nowrap!important;text-overflow:ellipsis!important;max-width:100%!important;overflow:hidden!important}.mobile-bottom-nav-item svg{flex-shrink:0}.mobile-bottom-nav-item.active{color:var(--accent);background:var(--accent-muted)}.app-footer{padding-bottom:16px}body:has(.modal-overlay) .mobile-bottom-nav{display:none!important}}@media (width<=768px){:root{--font-base:.9375rem;--font-sm:.875rem}body,#app{font-size:15px!important}.main-content{min-height:100dvh!important;padding-bottom:calc(66px + env(safe-area-inset-bottom))!important}.topbar{gap:8px;min-height:56px;padding:8px 14px}.topbar-brand img{width:30px!important;height:30px!important}.topbar-brand span,.topbar-title{font-size:14px!important}.page-content{gap:14px;padding:14px 14px 24px!important}.card,.responsive-card{border-radius:14px!important}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.stat-card{min-height:102px;border-radius:13px!important;gap:6px!important;padding:13px!important}.stat-value{overflow-wrap:anywhere;word-break:normal!important;font-size:clamp(15px,4vw,19px)!important}.stat-label{font-size:11px!important;line-height:1.35!important}.btn,.btn-sm,button,input,select,textarea{font-size:max(14px,1em)}.btn,.btn-sm,.btn-icon{border-radius:10px!important;min-height:42px!important;padding:9px 13px!important}.btn-icon{min-width:42px!important;padding:9px!important}.form-input,.form-select,select.form-input,textarea.form-input,.form-control{border-radius:10px!important;min-height:44px!important;padding:10px 12px!important;font-size:16px!important}.form-label{font-size:13px!important}.table-toolbar{border-radius:12px;gap:10px!important;padding:12px!important}.toolbar-right{flex-flow:wrap!important;gap:8px!important;display:flex!important}.toolbar-right .btn,.toolbar-right .scan-quota-badge,.toolbar-right>.btn-primary,.toolbar-right>button:last-of-type{white-space:normal!important;text-overflow:clip!important;flex:145px!important;grid-column:auto!important;width:auto!important;min-width:0!important;height:auto!important;min-height:42px!important;padding:8px 10px!important;font-size:13px!important;line-height:1.25!important;overflow:visible!important}.table-wrap,.table-container,.table-wrapper,.purchase-items-scroll{overscroll-behavior-inline:contain;scrollbar-width:thin;position:relative;-webkit-overflow-scrolling:touch!important;max-width:100%!important;overflow-x:auto!important}.data-table,.custom-table{min-width:680px}.purchase-items-table{min-width:820px!important}.data-table th,.custom-table th,.table th{padding:11px 12px!important;font-size:11px!important}.data-table td,.custom-table td,.table td{padding:11px 12px!important;font-size:13px!important;line-height:1.4!important}.modal-overlay{padding:12px!important}.modal-box{border-radius:18px!important;width:min(100%,560px)!important;max-width:560px!important;max-height:calc(100dvh - 24px)!important}.modal-body{overscroll-behavior:contain;min-height:0}.toast-container{top:calc(10px + env(safe-area-inset-top));max-width:none;left:12px;right:12px}.mobile-bottom-nav{z-index:900;border-top:1px solid var(--border);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#fffffff5;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -5px 20px #0f172a12;box-sizing:border-box!important;white-space:nowrap!important;width:100%!important;padding:6px 6px calc(6px + env(safe-area-inset-bottom))!important;flex-flow:row!important;justify-content:space-around!important;align-items:stretch!important;display:flex!important;overflow-x:hidden!important}.mobile-bottom-nav-item{min-height:48px;color:var(--text-muted);font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;background:0 0;border:0;border-radius:11px;gap:3px;text-decoration:none;box-sizing:border-box!important;flex-direction:column!important;flex:1 1 0!important;justify-content:center!important;align-items:center!important;width:20%!important;min-width:0!important;max-width:20%!important;padding:3px 2px!important;display:flex!important}.mobile-bottom-nav-item span{text-align:center;font-size:10.5px;font-weight:600;line-height:1.15;display:block;white-space:nowrap!important;text-overflow:ellipsis!important;max-width:100%!important;overflow:hidden!important}.mobile-bottom-nav-item svg{flex-shrink:0}.mobile-bottom-nav-item.active{color:var(--accent);background:var(--accent-muted)}.app-footer{padding-bottom:16px}}@media (width<=480px){.mobile-bottom-nav{padding:5px 2px calc(5px + env(safe-area-inset-bottom))!important}.mobile-bottom-nav-item{gap:2px;min-height:44px;padding:2px 1px!important}.mobile-bottom-nav-item span{letter-spacing:-.25px;font-size:9.5px}.mobile-bottom-nav-item svg{width:17px;height:17px}.page-content{padding:12px 12px 20px!important}.stats-grid{gap:8px!important}.stat-card{min-height:94px;padding:11px!important}.toolbar-right .btn,.toolbar-right .scan-quota-badge,.toolbar-right>.btn-primary,.toolbar-right>button:last-of-type{flex-basis:100%!important}.data-table,.custom-table{min-width:620px}.modal-overlay{align-items:flex-end!important;padding:0!important}.modal-box,.modal-box.invoice-modal-box,.modal-box.purchase-modal,.modal-box.import-modal-box,.modal-box.modal-fullscreen-mobile{padding-bottom:env(safe-area-inset-bottom);border-radius:18px 18px 0 0!important;width:100%!important;max-width:100%!important;height:auto!important;max-height:94dvh!important}}@media (width<=768px){body:has(.modal-overlay) .mobile-bottom-nav{display:none}}@media (width<=480px){.modal-box.invoice-modal-box,.modal-box.purchase-modal,.modal-box.import-modal-box,.modal-box.modal-fullscreen-mobile{border-radius:0!important;height:100dvh!important;max-height:100dvh!important}}@media (width<=640px){:is(.table-wrap:has(>.mobile-card-table),.table-container:has(>.mobile-card-table)){max-height:none!important;overflow:visible!important}.mobile-card-table{border-collapse:separate!important;border-spacing:0!important;width:100%!important;min-width:0!important;display:block!important}.mobile-card-table thead{clip:rect(0, 0, 0, 0)!important;white-space:nowrap!important;border:0!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;position:absolute!important;overflow:hidden!important}.mobile-card-table tbody{gap:10px!important;display:grid!important}.mobile-card-table tbody tr{box-shadow:var(--shadow-sm);background:var(--bg-surface)!important;border:1px solid var(--border)!important;border-radius:13px!important;flex-direction:column!important;gap:0!important;padding:10px 13px!important;display:flex!important}.mobile-card-table tbody tr:hover td{background:0 0!important}.mobile-card-table tbody td{overflow-wrap:anywhere;border:0!important;border-bottom:1px solid var(--border-light)!important;text-align:right!important;justify-content:space-between!important;align-items:flex-start!important;gap:12px!important;width:100%!important;min-width:0!important;padding:6px 0!important;display:flex!important}.mobile-card-table tbody td:last-child{border-bottom:0!important;padding-bottom:2px!important}.mobile-card-table tbody td:before{content:attr(data-label);color:var(--text-muted);text-align:left;overflow-wrap:normal;flex:0 0 35%;font-size:11px;font-weight:600;line-height:1.4}.reminder-print-items tbody td[data-label=\#]{justify-content:flex-start!important;gap:0!important}.reminder-print-items tbody td[data-label=\#]:before{content:"#"!important;flex:none!important;margin-right:0!important}.mobile-card-table tbody td[colspan]{text-align:center!important;border:0!important;justify-content:center!important}.mobile-card-table tbody td[colspan]:before{display:none}.mobile-card-table tbody td[data-label=\#]{justify-content:flex-start!important;gap:0!important}.mobile-card-table tbody td[data-label=\#]:before{content:"#"!important;flex:none!important}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.register-logo-mark{border-radius:14px;width:54px;height:54px;margin:0 auto 12px;box-shadow:0 6px 18px #2548e838}.register-trial-note{color:#120158;background:#eff4ff;border:1px solid #bfdbfe;border-radius:11px;flex-direction:column;gap:4px;margin:-6px 0 20px;padding:12px 14px;font-size:12.5px;line-height:1.45;display:flex}.register-trial-note strong{font-size:14px}.login-register-cta{border-top:1px solid var(--border-light);color:var(--text-secondary);text-align:center;padding-top:14px;font-size:13px}.login-register-cta a{color:var(--accent);font-weight:700;text-decoration:none}.login-register-cta a:hover{text-decoration:underline}@media (width<=640px){.auth-wrapper{min-height:100dvh;padding:16px 12px calc(20px + env(safe-area-inset-bottom));align-items:flex-start}.auth-card{max-width:480px;margin:auto;border-radius:18px!important;padding:26px 20px!important}.register-trial-note{font-size:12px}}.auth-icon-input,.auth-icon-input.form-input{padding-left:38px!important}.auth-icon-input.auth-password-input{padding-right:40px!important}.auth-submit-button,.auth-card .auth-submit-button{height:44px!important;min-height:44px!important;padding:10px 14px!important;font-size:14px!important;line-height:1.25!important}@media (width<=640px){.invoice-form-footer,.purchase-form-footer{flex-direction:column;align-items:stretch!important;gap:8px!important;padding:10px 14px!important}.invoice-form-whatsapp,.purchase-form-sync{width:100%;min-height:24px}.invoice-form-actions,.purchase-form-actions{gap:8px;width:100%;display:flex}.invoice-form-actions>.btn,.purchase-form-actions>.btn{flex:1 1 0!important;justify-content:center!important;min-height:38px!important;font-size:12.5px!important}}.date-filter-badge-wrapper{display:inline-block;position:relative}.date-filter-badge{border:1px solid var(--border);height:32px;color:var(--text-secondary);cursor:pointer;white-space:nowrap;-webkit-user-select:none;user-select:none;background:#fff;border-radius:8px;align-items:center;gap:6px;padding:4px 10px;font-size:12px;font-weight:500;line-height:1.2;transition:all .15s;display:inline-flex}.date-filter-badge:hover{border-color:var(--border-hover);color:var(--text-primary);background:#f8fafc}.date-filter-badge.compact{border-radius:6px;height:28px;padding:2px 8px;font-size:11.5px}.date-filter-badge.filtered{border-color:var(--accent);color:var(--accent);background:#eff4ff;font-weight:600}.date-filter-badge-icon{color:var(--text-muted);flex-shrink:0}.date-filter-badge.filtered .date-filter-badge-icon{color:var(--accent)}.date-filter-badge-chevron{color:var(--text-subtle);flex-shrink:0;margin-left:2px}.date-filter-badge-close{width:18px;height:18px;color:var(--accent);border-radius:50%;justify-content:center;align-items:center;margin-left:2px;transition:background .15s;display:inline-flex}.date-filter-badge-close:hover{background:#2548e826}.date-filter-menu-dropdown{z-index:1000;border:1px solid var(--border);background:#fff;border-radius:10px;min-width:220px;padding:6px;animation:.12s ease-out fadeInDropdown;position:absolute;top:calc(100% + 4px);left:0;box-shadow:0 10px 25px -5px #0f172a1f,0 4px 6px -2px #0f172a0d}@keyframes fadeInDropdown{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.date-filter-menu-header{color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em;-webkit-user-select:none;user-select:none;padding:4px 8px 6px;font-size:10px;font-weight:700}.date-filter-menu-list{flex-direction:column;gap:2px;display:flex}.date-filter-menu-item{width:100%;color:var(--text-secondary);cursor:pointer;text-align:left;background:0 0;border:none;border-radius:6px;align-items:center;gap:8px;padding:6px 10px;font-size:12.5px;transition:background .12s;display:flex}.date-filter-menu-item:hover{color:var(--text-primary);background:#f8fafc}.date-filter-menu-item.current{color:var(--accent);background:#eff4ff;font-weight:600}.date-menu-item-icon{color:var(--text-muted);flex-shrink:0}.date-filter-menu-item.current .date-menu-item-icon{color:var(--accent)}.date-menu-item-text{flex:1}.date-menu-item-check{color:var(--accent);flex-shrink:0}.date-filter-menu-divider{background:var(--border);height:1px;margin:4px 0}.unified-filter-bar{border-bottom:1px solid var(--border);background:#fff;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;min-height:48px;padding:8px 16px;display:flex}.unified-filter-left{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.unified-filter-separator{background:var(--border);flex-shrink:0;width:1px;height:20px;margin:0 4px}.unified-status-chips{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.unified-status-chip{border:1px solid var(--border);height:30px;color:var(--text-secondary);cursor:pointer;white-space:nowrap;-webkit-user-select:none;user-select:none;background:#fff;border-radius:7px;align-items:center;gap:5px;padding:4px 10px;font-size:12px;font-weight:500;line-height:1.2;transition:all .15s;display:inline-flex}.unified-status-chip:hover{border-color:var(--border-hover);color:var(--text-primary);background:#f8fafc}.unified-status-chip.active{border-color:var(--accent);color:var(--accent);background:#eff4ff;font-weight:600}.unified-status-chip-count{color:var(--text-muted);background:#f1f5f9;border-radius:999px;padding:1px 6px;font-size:10.5px;font-weight:600;display:inline-block}.unified-status-chip.active .unified-status-chip-count{color:var(--accent);background:#dbeafe}.unified-filter-right{color:var(--text-muted);align-items:center;gap:12px;font-size:12px;display:flex}.unified-filter-summary{align-items:center;gap:6px;display:inline-flex}.unified-filter-count{color:var(--text-secondary);font-weight:500}.unified-filter-total{color:var(--accent);font-weight:700}.desktop-table-view{flex-direction:column;flex:1;width:100%;min-height:0;display:flex}.flutter-mobile-card-list{display:none}@media (width<=768px){.desktop-table-view{display:none!important}.flutter-mobile-card-list{box-sizing:border-box;flex-direction:column;gap:10px;width:100%;padding:10px 12px;display:flex!important}.flutter-card{border:1px solid var(--border);background:#fff;border-radius:12px;flex-direction:column;padding:14px;transition:border-color .15s,box-shadow .15s;display:flex;position:relative;box-shadow:0 1px 3px #0f172a0d}.flutter-card:active{background:#fcfdfe}.flutter-card-header{justify-content:space-between;align-items:center;margin-bottom:6px;display:flex}.flutter-card-num{color:var(--accent);letter-spacing:-.01em;font-size:13.5px;font-weight:700}.flutter-card-title{color:var(--text-primary);word-break:break-word;margin-bottom:2px;font-size:15px;font-weight:600;line-height:1.3}.flutter-card-meta{color:var(--text-muted);flex-wrap:wrap;align-items:center;gap:6px;font-size:12px;display:flex}.flutter-card-row{justify-content:space-between;align-items:flex-end;margin-top:8px;display:flex}.flutter-card-amount-col{text-align:right;flex-direction:column;align-items:flex-end;display:flex}.flutter-card-amount{color:var(--text-primary);font-size:15px;font-weight:700}.flutter-card-due{color:#e11d48;font-size:11.5px;font-weight:700}.flutter-card-divider{background:var(--border);height:1px;margin:12px 0 10px}.flutter-card-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.flutter-badge{letter-spacing:.02em;border-radius:12px;align-items:center;padding:2.5px 8px;font-size:11px;font-weight:700;line-height:1.2;display:inline-flex}.flutter-badge-success{color:#059669;background:#ecfdf5}.flutter-badge-warning{color:#d97706;background:#fffbeb}.flutter-badge-danger{color:#e11d48;background:#fff1f2}.flutter-badge-info{color:#2563eb;background:#eff6ff}.flutter-badge-neutral{color:#475569;background:#f1f5f9}.flutter-stock-summary{border:1px solid var(--border);background:#fff;border-radius:10px;justify-content:space-between;align-items:center;margin-bottom:12px;padding:12px 16px;display:flex}.flutter-stock-stat{flex-direction:column;flex:1;display:flex}.flutter-stock-divider{background:var(--border);flex-shrink:0;width:1px;height:36px;margin:0 14px}.flutter-avatar{width:36px;height:36px;color:var(--accent);background:#eff4ff;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-size:14px;font-weight:700;display:flex}.flutter-empty-state{text-align:center;color:var(--text-muted);flex-direction:column;justify-content:center;align-items:center;padding:40px 16px;display:flex}.flutter-empty-title{color:var(--text-primary);margin:10px 0 4px;font-size:16px;font-weight:700}.flutter-empty-subtitle{color:var(--text-muted);max-width:280px;margin-bottom:14px;font-size:12.5px}}:root{--vama-gradient:linear-gradient(135deg, #2548e8 0%, #1e3ecb 100%);--vyapar-green:#059669;--vyapar-green-hover:#047857;--vyapar-blue:#2548e8;--vyapar-blue-hover:#1e3ecb;--vyapar-red:#e11d48;--vyapar-red-hover:#be123c;--sidebar-w:240px;--sidebar-rail-w:72px}.sidebar.rail-collapsed{width:var(--sidebar-rail-w)!important}.vama-sidebar-brand-header{color:#fff;box-sizing:border-box;background:#2548e8;border-bottom:1px solid #ffffff26;align-items:center;gap:12px;min-height:64px;padding:14px 16px;display:flex}.vama-sidebar-brand-header .sidebar-close-btn{color:#fff;margin-left:auto}.vama-sidebar-brand-header .sidebar-close-btn:hover{color:#fff;background:#ffffff2e}.vama-brand-logo-box{background:0 0;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;display:flex}.vama-brand-title-wrap{flex-direction:column;min-width:0;display:flex}.vama-brand-title{color:#fff;letter-spacing:.04em;white-space:nowrap;font-size:15px;font-weight:800;line-height:1.2}.vama-brand-sub{color:#eff4ff;white-space:nowrap;opacity:.9;margin-top:2px;font-size:11px;line-height:1.2}.sidebar-section-header{color:var(--text-subtle,#94a3b8);text-transform:uppercase;letter-spacing:.05em;white-space:nowrap;padding:14px 12px 5px;font-size:10px;font-weight:800}.rail-collapsed .sidebar-section-header{border-top:1px solid var(--border);text-indent:-9999px;height:10px;margin:6px 0;padding:0;overflow:hidden}.vama-nav-tile{color:var(--text-secondary);cursor:pointer;box-sizing:border-box;white-space:nowrap;background:0 0;border:none;border-radius:8px;align-items:center;gap:10px;width:100%;margin:2px 0;padding:8px 12px;font-size:13px;font-weight:500;text-decoration:none;transition:all .15s;display:flex}.vama-nav-tile:hover{color:var(--text-primary);background:#f8fafc}.vama-nav-tile.active{background:var(--accent-muted,#eff4ff);color:var(--accent,#2548e8);font-weight:700}.vama-nav-tile.active svg{color:var(--accent,#2548e8)}.rail-collapsed .vama-nav-tile{justify-content:center;padding:10px 0}.rail-collapsed .vama-nav-tile span{display:none}.vama-rail-toggle-btn{color:var(--text-secondary);cursor:pointer;border:none;border-top:1px solid var(--border);background:0 0;align-items:center;gap:8px;width:100%;padding:10px 12px;font-size:12px;font-weight:600;transition:background .15s;display:flex}.vama-rail-toggle-btn:hover{color:var(--text-primary);background:#f8fafc}.rail-collapsed .vama-rail-toggle-btn{justify-content:center;padding:12px 0}.rail-collapsed .vama-rail-toggle-btn span{display:none}.rail-collapsed .vama-brand-title-wrap,.rail-collapsed .sidebar-footer-info{display:none!important}.rail-collapsed .vama-sidebar-brand-header{justify-content:center;padding:14px 0}.vama-desktop-topbar{border-bottom:1px solid var(--border);background:#fff;flex-shrink:0;justify-content:space-between;align-items:center;gap:16px;height:64px;padding:0 24px;display:flex}.topbar-page-title{color:var(--text-primary);letter-spacing:-.01em;margin:0;font-size:17.5px;font-weight:700}.topbar-right-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.btn-vyapar-sale{cursor:pointer;text-shadow:0 1px 1px #04785766;white-space:nowrap;background:linear-gradient(#10b981 0%,#059669 100%);border:1px solid #0478574d;border-radius:8px;align-items:center;gap:6px;padding:8px 14px;font-size:13px;font-weight:700;text-decoration:none;transition:all .18s cubic-bezier(.16,1,.3,1);display:inline-flex;box-shadow:inset 0 1px #ffffff40,0 1px 2px #04785726,0 3px 8px #05966938;color:#fff!important}.btn-vyapar-sale:hover{background:linear-gradient(#34d399 0%,#047857 100%);transform:translateY(-.5px);box-shadow:inset 0 1px #ffffff4d,0 2px 4px #04785733,0 5px 14px #05966952}.btn-vyapar-sale:active{background:linear-gradient(#059669 0%,#064e3b 100%);transform:translateY(.5px);box-shadow:inset 0 1px 2px #0003}.btn-vyapar-purchase{cursor:pointer;text-shadow:0 1px 1px #1201584d;white-space:nowrap;background:linear-gradient(#2b4ff5 0%,#1e3ecb 100%);border:1px solid #12015838;border-radius:8px;align-items:center;gap:6px;padding:8px 14px;font-size:13px;font-weight:700;text-decoration:none;transition:all .18s cubic-bezier(.16,1,.3,1);display:inline-flex;box-shadow:inset 0 1px #ffffff38,0 1px 2px #1201581f,0 3px 8px #2548e83d;color:#fff!important}.btn-vyapar-purchase:hover{background:linear-gradient(#375bf7 0%,#1737be 100%);transform:translateY(-.5px);box-shadow:inset 0 1px #ffffff47,0 2px 4px #12015826,0 5px 14px #2548e859}.btn-vyapar-purchase:active{background:linear-gradient(#1e3ecb 0%,#120158 100%);transform:translateY(.5px);box-shadow:inset 0 1px 2px #0003}.btn-vyapar-scan{color:var(--accent,#2548e8);border:1.5px solid var(--accent,#2548e8);cursor:pointer;white-space:nowrap;background:#fff;border-radius:8px;align-items:center;gap:6px;padding:7px 12px;font-size:13px;font-weight:700;text-decoration:none;transition:all .18s cubic-bezier(.16,1,.3,1);display:inline-flex;box-shadow:0 1px 2px #2548e814,inset 0 1px #ffffffe6}.btn-vyapar-scan:hover{background:var(--accent-muted,#eff4ff);color:var(--accent-hover,#1e3ecb);border-color:var(--accent-hover,#1e3ecb);transform:translateY(-.5px);box-shadow:0 2px 6px #2548e826}.btn-vyapar-scan:active{transform:translateY(.5px)}.topbar-trial-badge{color:#2563eb;white-space:nowrap;background:#eff6ff;border:1px solid #bfdbfe;border-radius:20px;align-items:center;gap:6px;padding:5px 10px;font-size:11.5px;font-weight:600;display:inline-flex}.topbar-trial-badge.trial-warning{color:#d97706;background:#fffbeb;border-color:#fde68a}.topbar-trial-badge.trial-danger{color:#e11d48;background:#fff1f2;border-color:#fecdd3}.topbar-trial-badge .status-dot{background:currentColor;border-radius:50%;width:7px;height:7px;display:inline-block}@media (width<=768px){.vama-desktop-topbar{display:none!important}}.search-input-wrap{position:relative!important}.search-input-wrap svg,.search-input-wrap>svg{color:var(--text-muted)!important;pointer-events:none!important;z-index:2!important;width:15px!important;height:15px!important;position:absolute!important;top:50%!important;left:12px!important;transform:translateY(-50%)!important}.search-input,.form-input.search-input,.search-input-wrap input,.search-input-wrap .form-input{padding-left:38px!important;padding-right:32px!important}@media (width<=1024px){.search-input,.form-input.search-input,.search-input-wrap input,.search-input-wrap .form-input{padding-left:38px!important;padding-right:32px!important}}@media (width<=768px){.search-input,.form-input.search-input,.search-input-wrap input,.search-input-wrap .form-input{padding-left:38px!important;padding-right:32px!important}}@media (width<=480px){.search-input,.form-input.search-input,.search-input-wrap input,.search-input-wrap .form-input{padding-left:38px!important;padding-right:32px!important}}
