:root{font-family:Segoe UI Variable,Segoe UI,Arial,sans-serif;color:#172b35;background:#f4f6f5;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;color-scheme:light;--ink: #172b35;--muted: #647780;--line: #dce5e2;--surface: #fff;--paper: #f4f6f5;--navy: #142f3a;--teal: #087a70;--teal-dark: #08655d}*{box-sizing:border-box}html{min-width:320px}body{margin:0;min-width:320px}button,input,select{font:inherit}button{cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}button:disabled{opacity:.55;cursor:not-allowed}:focus-visible{outline:3px solid #49b5a5;outline-offset:3px}h1,h2,h3,p{margin-top:0}h1{margin-bottom:0;font-size:clamp(1.9rem,4vw,2.5rem);line-height:1.13;letter-spacing:-.045em}h2{margin-bottom:0;font-size:1.17rem;line-height:1.3;letter-spacing:-.025em}h3{margin:0;font-size:1.08rem;line-height:1.3}h1,h2,h3{text-wrap:balance;scroll-margin-top:18px}.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip-link{position:absolute;z-index:30;top:-90px;left:12px;padding:12px 16px;background:#fff;color:var(--teal-dark);font-weight:700}.skip-link:focus{top:8px}.app-shell{min-height:100svh;display:flex;flex-direction:column}.app-header{height:68px;background:var(--surface);border-bottom:1px solid var(--line)}.header-inner{width:100%;max-width:1320px;height:100%;margin:auto;padding:0 20px;display:flex;align-items:center;justify-content:space-between;gap:16px}.brand{display:flex;align-items:center;gap:11px;min-width:0}.brand-mark{flex:0 0 39px;width:39px;height:39px;border-radius:11px;display:grid;place-items:center;background:var(--navy);color:#fff;font-size:1.15rem;font-weight:800}.brand strong,.database-label{display:block}.brand strong{font-size:1.06rem;font-weight:780;line-height:1.16;letter-spacing:-.025em}.database-label{max-width:26ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:.75rem;line-height:1.45}.desktop-nav{display:none}.menu-wrap{position:relative}.menu-button{min-width:48px;min-height:45px;display:flex;align-items:center;justify-content:center;gap:8px;padding:8px 12px;border:1px solid var(--line);border-radius:11px;background:#fff;color:var(--ink);font-weight:700}.menu-button:hover{background:#f1f7f5}.menu-button>span{display:flex;align-items:center;color:var(--teal)}.menu-panel{position:absolute;top:calc(100% + 8px);right:0;z-index:20;min-width:210px;padding:7px;border:1px solid var(--line);border-radius:13px;background:#fff;box-shadow:0 18px 50px #142f3a22}.menu-panel button{width:100%;min-height:47px;padding:10px 12px;border:0;border-radius:8px;background:transparent;color:var(--ink);text-align:left}.menu-panel button:hover:not(:disabled){background:#eef6f3}.main-content{width:100%;max-width:1320px;margin:0 auto;padding:26px 20px calc(104px + env(safe-area-inset-bottom));flex:1}.app-footer{width:100%;max-width:1320px;margin:0 auto;padding:14px 20px calc(90px + env(safe-area-inset-bottom));color:#87969a;font-size:.76rem}.mobile-bottom-nav{position:fixed;inset:auto 0 0;z-index:12;display:grid;grid-template-columns:repeat(4,1fr);min-height:calc(68px + env(safe-area-inset-bottom));padding:7px max(8px,env(safe-area-inset-left)) calc(7px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-right));border-top:1px solid var(--line);background:#fff;box-shadow:0 -8px 30px #142f3a0c}.mobile-bottom-nav button{min-height:54px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:0;border-radius:10px;background:transparent;color:#708087;font-size:.75rem;font-weight:700}.mobile-bottom-nav button[aria-current=page]{color:var(--teal-dark);background:#e9f5f1}.mobile-bottom-nav button:hover:not(:disabled){background:#eef6f3}.mobile-bottom-nav svg{width:20px;height:20px}.eyebrow{margin:0 0 8px;color:var(--teal-dark);font-size:.72rem;font-weight:800;letter-spacing:.095em;text-transform:uppercase}.home-view{max-width:1120px}.home-heading{display:flex;flex-direction:column;gap:6px}.home-heading>p{margin:0;color:var(--muted);font-size:.91rem}.home-heading h1{font-size:clamp(2rem,4vw,2.7rem)}.home-today{margin-top:24px}.home-section-head{min-height:42px;display:flex;justify-content:space-between;align-items:center;gap:12px}.home-section-head h2,.home-utilities h2{font-size:1.04rem}.quiet-button{min-height:42px;display:inline-flex;align-items:center;gap:6px;padding:7px 4px;border:0;background:transparent;color:var(--teal-dark);font-weight:750}.quiet-button:hover{color:#064c48}.home-summary{display:grid;gap:0;margin-top:8px;padding:22px;border:1px solid #234653;border-radius:16px;background:var(--navy);color:#fff;box-shadow:0 10px 25px #142f3a12}.home-summary-state{min-height:150px;place-items:center;color:#d5e6e4}.home-total{display:flex;flex-direction:column;gap:3px}.home-total span,.home-secondary-metrics span{color:#bad4d5;font-size:.8rem}.home-total strong{font-size:clamp(2.1rem,6vw,3.4rem);line-height:1.14;letter-spacing:-.055em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.home-total small,.home-secondary-metrics small{color:#bed1d3;font-size:.78rem}.home-summary-divider{height:1px;margin:18px 0 15px;background:#45616a}.home-secondary-metrics{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,.75fr);gap:14px}.home-secondary-metrics>div{min-width:0;display:flex;flex-direction:column;gap:2px}.home-secondary-metrics strong{font-size:1.1rem;letter-spacing:-.025em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.home-error{margin-top:8px;padding:16px;border:1px solid #eec4b9;border-radius:11px;background:#fff5f2;color:#8c342a}.home-error p{margin-bottom:6px}.home-modules{margin-top:28px}.home-primary-modules{margin-top:7px;border:1px solid var(--line);border-radius:15px;background:var(--surface);overflow:hidden}.home-module{width:100%;min-height:83px;display:flex;align-items:center;gap:14px;padding:14px 16px;border:0;background:transparent;color:var(--ink);text-align:left}.home-module+.home-module{border-top:1px solid var(--line)}.home-module:hover{background:#f4faf7}.module-icon{flex:0 0 43px;width:43px;height:43px;display:grid;place-items:center;border-radius:11px;background:#e7f4ef;color:var(--teal-dark)}.module-copy{display:flex;flex-direction:column;min-width:0;gap:3px}.module-copy strong{font-size:1rem;letter-spacing:-.016em}.module-copy small{color:var(--muted);font-size:.78rem;line-height:1.35}.module-arrow{display:flex;margin-left:auto;color:var(--teal-dark)}.home-utilities{margin-top:27px}.home-utility-modules{margin-top:8px;border-top:1px solid var(--line)}.home-utility-modules button{width:100%;min-height:52px;display:flex;align-items:center;justify-content:space-between;padding:10px 3px;border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--ink);text-align:left;font-weight:650}.home-utility-modules button>span{display:inline-flex;align-items:center;gap:13px}.home-utility-modules button>span svg{color:#65847d}.home-utility-modules button>svg{color:var(--teal)}.home-utility-modules button:hover{color:var(--teal-dark)}.workspace,.secondary-page{max-width:1050px}.page-heading{margin-bottom:20px}.section-line{display:flex;align-items:end;justify-content:space-between;gap:16px}.section-help,.field-help{color:var(--muted);font-size:.88rem;line-height:1.45}.section-help{margin:8px 0 0}.search-form{padding:18px;border:1px solid var(--line);border-radius:14px;background:#fff}.search-form label,.field-stack label,.edit-panel label{display:block;margin-bottom:8px;font-size:.86rem;font-weight:700}.search-controls,.save-controls{display:flex;gap:10px}input,select{width:100%;min-width:0;min-height:48px;padding:11px 13px;border:1px solid #cbd9d6;border-radius:9px;background:#fff;color:var(--ink);font-size:1rem}input::placeholder{color:#88979b}input:hover,select:hover{border-color:#92b6ae}input:focus,select:focus{border-color:var(--teal)}#barcode{min-height:52px;font-size:1.04rem}.primary-button{min-height:48px;padding:10px 18px;border:1px solid var(--teal);border-radius:9px;background:var(--teal);color:#fff;font-weight:750;white-space:nowrap}.primary-button:hover:not(:disabled){background:var(--teal-dark)}.search-controls .primary-button{min-width:108px}.scan-line{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin:12px 0 0;color:var(--muted);font-size:.82rem}.scan-line>span{flex:1 1 180px}.scan-button{min-height:43px;padding:8px 13px;border:1px solid #c3dcd4;border-radius:9px;background:#ecf6f1;color:var(--teal-dark);font-weight:700}.scan-button:hover{background:#e0f0e9}.live-button{background:transparent}.empty-hint{margin:33px 0;color:var(--muted)}.inline-message{margin:17px 0 0;padding:12px 15px;border-radius:9px;line-height:1.45;overflow-wrap:anywhere}.inline-message.error{border-left:3px solid #b44831;background:#fbece8;color:#863222}.inline-message.success{border-left:3px solid #198567;background:#e6f4ee;color:#145f4d}.inline-message.info{border-left:3px solid #4c8990;background:#e9f1f2;color:#295663}.text-button,.back-button,.inline-button{min-height:42px;padding:7px 2px;border:0;background:transparent;color:var(--teal-dark);font-weight:700;text-decoration:underline;text-underline-offset:3px}.back-button{margin-bottom:14px;text-decoration:none}.result-section{margin-top:32px}.result-section .eyebrow{overflow-wrap:anywhere}.product-list,.history-list{margin-top:14px;border-top:1px solid var(--line)}.product-row{width:100%;min-height:77px;display:flex;justify-content:space-between;align-items:center;gap:15px;padding:13px 10px;border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--ink);text-align:left}.product-row:hover{background:#ebf5f1}.product-row.selected{background:#e7f3ed;box-shadow:inset 3px 0 var(--teal)}.product-main{display:block;min-width:0}.product-main strong{display:block;overflow-wrap:anywhere;line-height:1.35}.product-meta{display:flex;flex-wrap:wrap;gap:3px 9px;margin-top:4px;color:var(--muted);font-size:.78rem;line-height:1.4;overflow-wrap:anywhere}.product-price{flex:0 0 auto;font-weight:800;font-variant-numeric:tabular-nums;white-space:nowrap}.pagination{display:flex;align-items:center;gap:10px;margin-top:17px;color:var(--muted);font-size:.84rem}.edit-panel,.new-product-form{margin-top:20px;padding:20px;border:1px solid var(--line);border-radius:14px;background:#fff}.edit-heading{display:flex;justify-content:space-between;align-items:start;gap:15px;margin-bottom:21px}.old-price{display:flex;flex-direction:column;gap:2px;text-align:right}.old-price span{color:var(--muted);font-size:.76rem}.old-price strong{font-size:1.3rem;white-space:nowrap}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.form-grid>:first-child{grid-column:1 / -1}.field-stack{display:flex;flex-direction:column}.field-stack label:not(:first-child){margin-top:13px}.field-stack input,.field-stack select{margin-bottom:1px}.price-input-wrap{position:relative;min-width:0;flex:1}.price-input-wrap input{padding-right:37px}.price-input-wrap>span{position:absolute;top:50%;right:14px;transform:translateY(-50%);color:var(--muted);font-weight:650}.field-error{margin:6px 0 0;color:#863222;font-size:.86rem}.field-help{margin:12px 0 0}.edit-save-button,.create-button{margin-top:15px}.label-hint{color:var(--muted);font-size:.77rem;font-weight:500}.history-row{display:flex;justify-content:space-between;gap:20px;padding:16px 0;border-bottom:1px solid var(--line);content-visibility:auto;contain-intrinsic-size:auto 76px}.history-primary,.history-secondary{display:flex;flex-direction:column;gap:4px;min-width:0}.history-primary strong,.history-change{overflow-wrap:anywhere}.history-primary span,.history-secondary span{color:var(--muted);font-size:.8rem}.history-secondary{align-items:end;text-align:right;white-space:nowrap}.settings-page .section-help{margin-bottom:22px}.settings-form{max-width:540px}.settings-form .primary-button{margin-top:18px;align-self:flex-start}.address-list{margin-top:35px;padding-top:20px;border-top:1px solid var(--line)}.address-list h2{font-size:1.08rem}.address-list p{margin:9px 0 13px;color:var(--muted)}.address-list code{display:block;margin-bottom:7px;overflow-wrap:anywhere;font-size:.88rem}.scanner-dialog{width:min(92vw,560px);max-height:90svh;overflow:auto;overscroll-behavior:contain;padding:18px;border:0;border-radius:14px;background:#fff;color:var(--ink);box-shadow:0 20px 60px #0b283f4d}.scanner-dialog::backdrop{background:#0b1e2bc7}.scanner-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.scanner-head h2{font-size:1.15rem}.scan-close{min-height:45px;padding:8px 12px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--teal-dark);font-weight:700}.scanner-dialog video{display:block;width:100%;max-height:60svh;border-radius:8px;background:#15232a;object-fit:contain}.scanner-hint{margin:12px 0 0;color:var(--muted)}.auth-shell{width:min(100% - 28px,480px);margin:min(10svh,90px) auto 45px;padding:30px;border:1px solid var(--line);border-radius:15px;background:#fff}.auth-head{margin-bottom:24px}.auth-head h1{margin-bottom:10px}.auth-head>p:last-child{margin:0;color:var(--muted)}.auth-shell .primary-button{margin-top:18px}.setup-shell{max-width:560px;margin-top:35px}.loading-shell{min-height:100svh;display:grid;place-items:center;color:var(--muted)}@media(max-width:640px){.main-content{padding:20px 17px calc(100px + env(safe-area-inset-bottom))}.header-inner{padding:0 17px}.brand-mark{flex-basis:35px;width:35px;height:35px}.brand strong{font-size:.98rem}.menu-button{font-size:.86rem}.home-heading>p{font-size:.84rem}.home-today{margin-top:18px}.home-summary{padding:18px}.home-total strong{font-size:clamp(2rem,8vw,2.8rem)}.home-modules{margin-top:22px}.home-module{min-height:70px;padding:9px 14px}.home-utilities{margin-top:22px}.search-controls,.save-controls{flex-direction:column}.search-controls .primary-button,.save-controls .primary-button{width:100%}.search-form{padding:15px}.product-row{align-items:flex-start}.product-price{font-size:.93rem}.form-grid{grid-template-columns:1fr}.form-grid>:first-child{grid-column:auto}.edit-panel,.new-product-form{padding:16px}.edit-save-button,.create-button{width:100%}.old-price strong{font-size:1.12rem}.history-row{flex-direction:column;gap:7px}.history-secondary{align-items:start;text-align:left}.auth-shell{padding:23px 20px}}@media(min-width:801px){.app-header{position:fixed;inset:0 auto 0 0;z-index:10;width:238px;height:100svh;border-right:1px solid var(--line);border-bottom:0}.header-inner{height:100%;padding:26px 15px 17px;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0}.brand{padding:0 9px}.desktop-nav{display:flex;flex-direction:column;align-items:stretch;gap:3px;width:100%;margin-top:40px}.desktop-nav button{min-height:48px;display:flex;align-items:center;gap:13px;padding:10px 14px;border:0;border-radius:9px;background:transparent;color:#536871;text-align:left;font-weight:680}.desktop-nav button:hover:not(:disabled){background:#f0f7f4;color:var(--teal-dark)}.desktop-nav button[aria-current=page]{background:#e8f5ef;color:var(--teal-dark)}.nav-group-label{margin:25px 14px 8px;color:#87979b;font-size:.68rem;font-weight:800;letter-spacing:.1em}.desktop-nav svg{width:20px;height:20px}.menu-wrap{width:100%;margin-top:auto}.menu-button{width:100%;justify-content:space-between}.menu-panel{top:auto;bottom:calc(100% + 8px);left:0;right:auto;width:100%}.main-content{width:calc(100% - 238px);max-width:none;margin-left:238px;padding:42px clamp(28px,4.6vw,82px) 78px}.app-footer{width:calc(100% - 238px);max-width:none;margin-left:238px;padding:14px clamp(28px,4.6vw,82px) 22px}.mobile-bottom-nav{display:none}.home-summary{grid-template-columns:minmax(0,1fr) 1px minmax(0,.85fr);align-items:center;gap:26px;padding:30px}.home-summary-divider{width:1px;height:110px;margin:0}.home-secondary-metrics{gap:22px}.home-module{min-height:94px}.home-utility-modules{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;--ink: #192e29;--muted: #5d6f68;--line: #e2e8e5;--paper: #f4f6f8;--navy: #163d32;--teal: #17664e;--teal-dark: #124d3c;background:var(--paper);color:var(--ink)}html{scroll-padding-block:86px 110px}button,a,input,select{transition:background-color .14s ease,border-color .14s ease,color .14s ease}button:active:not(:disabled){transform:translateY(1px)}.app-shell .app-header{background:var(--paper);border-color:transparent}.app-shell .brand-mark{border-radius:12px;background:var(--navy);color:#def2bd;box-shadow:none}.app-shell .brand strong{letter-spacing:-.035em;font-weight:750}.app-shell .database-label{color:var(--muted);font-size:.7rem}.app-shell .menu-button{background:var(--surface);border-color:var(--line);border-radius:50px}.app-shell .main-content{padding-top:15px}h1{font-size:clamp(1.8rem,4vw,2.35rem);letter-spacing:-.055em}.eyebrow{font-size:.67rem;letter-spacing:.09em}.home-heading h1{font-size:clamp(1.9rem,4vw,2.5rem)}.home-heading .eyebrow{color:var(--muted);text-transform:none;letter-spacing:0;font-size:.78rem;font-weight:550}.home-heading>p{font-size:.82rem}.home-today{margin-top:16px}.home-section-head h2,.home-utilities h2{font-size:.93rem;font-weight:750}.home-summary{border:1px solid var(--line);border-radius:16px;background:#fff;color:var(--ink);box-shadow:none;padding:18px;margin-top:4px}.home-total strong{letter-spacing:-.06em;font-weight:650}.home-total strong{color:var(--teal-dark)}.home-total span,.home-secondary-metrics span,.home-total small,.home-secondary-metrics small{color:var(--muted)}.home-summary-divider{background:var(--line);margin:14px 0 12px}.home-secondary-metrics strong{font-weight:650}.home-scan-action{display:flex;align-items:center;gap:14px;width:100%;padding:13px 16px;margin-top:12px;min-height:64px;border:1px solid var(--teal);border-radius:12px;background:var(--teal);color:#fff;text-align:left}.home-scan-action>span{flex:1;display:flex;flex-direction:column;gap:3px}.home-scan-action strong{font-size:.95rem}.home-scan-action small{font-size:.75rem;color:#daebe4}.home-scan-action:hover{background:var(--teal-dark)}.home-modules{margin-top:17px}.home-primary-modules{margin-top:4px;border:0;border-radius:14px;padding:0 14px}.home-module{min-height:65px;padding:10px 0;gap:12px}.module-icon{flex-basis:37px;width:37px;height:37px;border-radius:10px;background:#f0f4ed}.module-copy strong{font-size:.9rem}.module-copy small{font-size:.73rem}.module-arrow{color:#7c8c82}.home-utilities{margin-top:18px}.home-utility-modules button{font-size:.85rem}.mobile-bottom-nav{border-top:1px solid var(--line);box-shadow:none;padding-top:5px}.mobile-bottom-nav button{position:relative;border-radius:12px;color:#66766e;font-size:.67rem;gap:5px}.mobile-bottom-nav button[aria-current=page]{background:transparent;color:var(--teal-dark)}.mobile-bottom-nav button svg{box-sizing:content-box;padding:5px 17px;border-radius:20px}.mobile-bottom-nav button[aria-current=page] svg{background:#e4f1eb;stroke-width:2}.app-footer{font-size:.7rem;color:var(--muted)}.search-form,.edit-panel,.new-product-form,.reports-page .report-filter{border:1px solid var(--line);border-radius:15px;box-shadow:none}input,select{background:#fbfcfa;border-color:#d7dfd9;border-radius:10px}.primary-button{border-radius:10px}.scan-line{gap:10px;margin-top:14px}.scan-line .live-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;flex:1;background:var(--navy);color:#fff;border-color:var(--navy);border-radius:11px}.scan-line .live-button:hover{background:var(--teal-dark)}.scan-line .photo-button{border:0;background:transparent;text-decoration:underline;text-underline-offset:4px;font-size:.78rem}.scan-line>span{flex-basis:100%;font-size:.75rem;line-height:1.5}.product-list,.history-list{background:#fff;border:1px solid var(--line);border-radius:13px;overflow:hidden}.product-row{padding:13px 14px;min-height:72px}.product-row:last-child,.history-row:last-child{border-bottom:0}.product-price{color:var(--teal-dark)}.product-dialog{width:min(520px,calc(100% - 24px));max-height:calc(100dvh - 32px);margin:auto;padding:0;border:1px solid var(--line);border-radius:18px;background:#fff;color:var(--ink);overflow:auto;overscroll-behavior:contain;box-shadow:0 24px 70px #102b3240}.product-dialog::backdrop{background:#10251dcc}.product-dialog .edit-panel{margin:0;padding:22px;border:0;border-radius:0}.product-dialog .edit-heading{gap:12px;padding-bottom:18px;border-bottom:1px solid var(--line)}.product-dialog .edit-heading>div{min-width:0}.product-dialog h3{overflow-wrap:anywhere;line-height:1.35}.product-dialog .old-price{flex-direction:row;align-items:baseline;flex-wrap:wrap;gap:8px;text-align:left;margin-top:10px}.product-dialog .old-price strong{font-size:1rem;color:var(--teal-dark)}.product-dialog-close{flex:0 0 44px;width:44px;height:44px;padding:0;border:1px solid var(--line);border-radius:50%;background:var(--paper);color:var(--ink);font-size:1.7rem;line-height:1}.product-dialog-close:hover{background:#e4efce}.product-dialog .edit-grid{grid-template-columns:minmax(0,1fr);gap:14px}.product-dialog .edit-save-button{width:100%;margin-top:8px}.classification-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:end;margin-top:14px}.classification-group,.classification-notice{grid-column:1 / -1}.classification-fields .field-stack{min-width:0}.classification-fields label{line-height:1.3}.classification-fields input,.classification-fields select{width:100%;min-width:0}@media(max-width:480px){.product-dialog .edit-panel{padding:18px}}.history-row{padding:16px}.reports-page .report-presets{gap:4px}.report-screen-nav{display:flex;gap:6px;padding:5px;margin:-6px 0 20px;background:#e9eee5;border-radius:12px}.report-screen-nav a{flex:1;padding:12px;border-radius:8px;color:var(--muted);text-decoration:none;text-align:center;font-size:.9rem;font-weight:700}.report-screen-nav a[aria-current=page]{background:#fff;color:var(--teal-dark);box-shadow:0 1px 3px #163d3210}.report-screen-nav a:hover{color:var(--teal-dark)}.reports-page .report-products-section{margin-top:0}.reports-page .report-presets button{border-color:transparent;background:#f2f5ef;border-radius:8px;min-height:44px}.reports-page .report-presets button.active{background:var(--navy);color:#fff}.reports-page .report-overview .report-amounts{border:0;border-radius:15px}.reports-page .report-overview .report-amount-row:first-child{background:var(--navy);color:#fff}.reports-page .report-overview .report-amount-row:first-child span{color:#c7dbd0}.reports-page .report-payments>.report-amounts{padding:0 16px;border:1px solid var(--line);border-radius:13px;background:#fff}.reports-page .report-payments .report-amount-row:last-child{border-bottom:0}.reports-page .report-product-list thead{background:#edf2e8}.reports-page .report-product-list thead button{min-height:36px}.stock-page .stock-product-list{border:1px solid var(--line);border-radius:13px;background:#fff;overflow:hidden}.stock-page .stock-product-list li{padding:15px}.stock-page .stock-product-list li:last-child{border-bottom:0}.stock-page .stock-quantity strong{width:fit-content;align-self:end;padding:5px 9px;border-radius:7px;background:#eef4e8}.stock-page .stock-quantity .stock-quantity-missing{background:#f2f4f1;font-size:.76rem;font-weight:500}.scanner-dialog{padding:20px;background:#13271f;color:#fff;border-radius:20px}.scanner-dialog::backdrop{background:#0b1813df}.scanner-dialog .eyebrow{color:#c9dfaa}.scanner-dialog .scan-close{background:#254235;color:#fff;border-color:#547061;border-radius:30px}.scanner-viewport{position:relative;overflow:hidden;min-height:240px;border-radius:14px;background:#09110d}.scanner-dialog .scanner-viewport video{width:100%;height:min(50svh,410px);object-fit:cover;border-radius:0}.scanner-target{position:absolute;inset:30% 9%;border:2px solid #d4edb0;border-radius:14px;display:grid;place-items:center;box-shadow:0 0 0 150px #08160b66;color:#d4edb0;pointer-events:none}.scanner-target svg{opacity:.55}.scanner-dialog .scanner-hint{color:#d7e5d9;font-size:.9rem;line-height:1.5}.camera-setup-help{line-height:1.5;font-size:.88rem}.camera-setup-help a{color:#d4edb0;display:inline-block;padding-block:12px}.camera-setup-help p{color:#d7e5d9}.auth-shell{border-radius:20px;border-color:var(--line);box-shadow:0 16px 60px #192d2908}@media(prefers-reduced-motion:no-preference){.home-view,.workspace,.reports-page,.stock-page,.secondary-page{animation:workspace-in .18s ease-out}.scanner-dialog[open],.menu-panel{animation:workspace-in .14s ease-out}@keyframes workspace-in{0%{opacity:.4;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}}@media(max-width:640px){.app-shell .main-content{padding-inline:18px}.home-summary{padding:18px}.home-total strong{font-size:clamp(2rem,8vw,2.8rem)}.home-module{min-height:63px;padding:9px 0}.stock-page .stock-product-list li{flex-direction:row;align-items:center;gap:12px}.stock-page .stock-quantity{flex:0 0 115px;text-align:right}.stock-page .stock-product-identity strong{font-size:.88rem}.stock-page .stock-product-identity span{font-size:.72rem}.scanner-dialog{width:calc(100% - 20px);max-height:calc(100svh - 24px)}}@media(max-width:800px){.app-shell .app-header{height:calc(56px + env(safe-area-inset-top));padding-top:env(safe-area-inset-top);background:#fff;border-bottom:1px solid var(--line)}.app-shell .brand-mark{width:30px;height:30px;flex-basis:30px;border-radius:9px;font-size:1rem}.app-shell .brand strong{font-size:.95rem}.app-shell .database-label{display:none}.app-shell .menu-button{min-height:44px;padding:8px;border:0;border-radius:8px;font-size:.8rem}.app-shell .header-inner,.app-shell .main-content{padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}.app-shell .main-content{padding-top:12px}.page-heading,.home-heading{margin-bottom:12px}.page-heading>.eyebrow{display:none}.page-heading h1,.home-heading h1{font-size:1.5rem;letter-spacing:-.04em}.home-heading .eyebrow{margin-bottom:4px;font-size:.72rem}.home-today{margin-top:10px}.home-summary{padding:16px}.home-total strong{font-size:2.15rem}.home-secondary-metrics span{font-size:.72rem}.home-secondary-metrics strong{font-size:1rem}.search-form{padding:12px;border-radius:12px}.search-controls .primary-button{min-width:62px}.scan-line{margin-top:10px}.scan-line>span{font-size:.72rem}.result-section{margin-top:18px}.product-list{margin-top:10px}.product-main strong{font-size:.88rem;font-weight:650}.product-meta{font-size:.7rem}.app-footer{display:none}}@media(min-width:801px){.app-shell .app-header{background:#163d32;color:#fff;border-right:0}.app-header .database-label,.app-header .nav-group-label{color:#b9d2c6}.app-header .desktop-nav button{color:#e1eae5}.app-header .desktop-nav button:hover{background:#235143}.app-header .desktop-nav button[aria-current=page]{background:#edf6f0;color:#163d32;box-shadow:none}.app-shell .main-content{padding-top:28px}.home-summary{padding:28px}.home-summary-divider{margin:0}.home-scan-action{max-width:430px}.home-primary-modules{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:0}.home-module{flex-wrap:wrap;min-height:154px;padding:22px;align-content:center;gap:15px}.home-module+.home-module{border-top:0;border-left:1px solid var(--line)}.module-copy{flex:1 1 calc(100% - 58px)}.module-arrow{display:none}}.pwa-install{margin-top:20px;border-top:1px solid var(--line);padding-top:10px}.pwa-install button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:52px;padding:8px 0;border:0;background:transparent;color:var(--ink);text-align:left}.pwa-install strong,.pwa-install small{display:block}.pwa-install strong{font-size:.85rem}.pwa-install small{margin-top:3px;color:var(--muted);font-size:.73rem}.pwa-install p{padding:12px;margin-top:8px;border-radius:10px;background:#e8f1ec;font-size:.83rem;line-height:1.6}.connection-banner{position:sticky;top:0;z-index:40;padding:10px 16px;background:#fff0cc;color:#604900;font-size:.8rem;line-height:1.5}.update-notice{position:fixed;z-index:35;bottom:calc(90px + env(safe-area-inset-bottom));right:12px;left:12px;max-width:430px;margin-left:auto;padding:14px 50px 14px 16px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);font-size:.8rem;line-height:1.5;box-shadow:0 4px 24px #163d3220}.update-notice button{position:absolute;right:4px;top:4px;width:44px;height:44px;border:0;background:transparent;color:var(--ink);font-size:1.5rem}@media(display-mode:standalone){body{overscroll-behavior-y:none}}
