:root{color:#19283f;font-synthesis:none;text-rendering:optimizelegibility;--nav:#111d30;--text:#19283f;--muted:#596980;--line:#e2e8f0;--mint:#94e4ca;--green:#086553;--shadow:0 2px 7px #1523440a;background:#f3f6fa;font-family:Aptos,Segoe UI,system-ui,-apple-system,sans-serif}*{box-sizing:border-box}body{min-width:320px;min-height:100dvh;margin:0}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.62}a{color:inherit;text-decoration:none}:focus-visible{outline-offset:3px;outline:3px solid #13836d}button svg,a svg{flex-shrink:0}h1,h2,p{margin:0}h1{letter-spacing:-.045em}h2{letter-spacing:-.025em}ul{margin:0;padding:0;list-style:none}small{font-size:.8125rem}.skip{z-index:10;background:#fff;border-radius:8px;padding:12px 16px;position:fixed;top:-100px;left:12px}.skip:focus{top:12px}.app-shell{grid-template-columns:224px minmax(0,1fr);min-height:100dvh;display:grid}.sidebar{background:var(--nav);color:#eaf0fa;flex-direction:column;align-self:start;height:100dvh;padding:24px 14px 15px;display:flex;position:sticky;top:0}.brand{letter-spacing:-.045em;white-space:nowrap;align-items:center;gap:11px;font-size:1.31rem;font-weight:660;display:flex}.brand strong{font-weight:770}.brand-icon{color:#98ecd0;background:#263f47;border-radius:12px;place-items:center;width:40px;height:40px;display:grid}.sidebar>.brand{margin:0 10px 35px}.sidebar nav{gap:5px;display:grid}.sidebar nav a{color:#acbad0;border-radius:9px;align-items:center;gap:13px;min-height:46px;padding:0 13px;font-size:.9375rem;font-weight:610;display:flex}.sidebar nav a:hover,.sidebar nav a[aria-current]{color:#e9fff8;background:#23354a}.sidebar nav a[aria-current] svg{color:var(--mint)}.sidebar :focus-visible{outline-color:var(--mint)}.sidebar-footer{margin-top:auto}.install-link{color:#b9c6db;background:0 0;border:0;align-items:center;gap:12px;min-height:44px;margin:0 0 12px;padding:0 13px;font-size:.875rem;font-weight:620;display:flex}.install-link:hover{color:var(--mint)}.profile{border-top:1px solid #2b3b50;align-items:center;gap:10px;padding:13px 0 0 4px;display:flex}.avatar{color:#124e42;background:#d6f3e8;border-radius:50%;flex-shrink:0;place-items:center;width:36px;height:36px;font-size:.8125rem;font-weight:760;display:grid}.profile-copy{flex:1;gap:2px;min-width:0;display:grid}.profile-copy strong{white-space:nowrap;text-overflow:ellipsis;font-size:.875rem;overflow:hidden}.profile-copy small{color:#aab8cd}.icon-button.profile-signout{color:#b9c6db;background:0 0;border-color:#0000}.icon-button.profile-signout:hover{color:#f1f5fc;background:#23354a}.topbar{border-bottom:1px solid var(--line);background:#fff;justify-content:space-between;align-items:center;height:70px;padding:0 clamp(22px,3vw,44px);display:flex}.desktop-heading{font-size:1.0625rem;font-weight:720}.topbar-right{align-items:center;gap:16px;display:flex}.topbar time{color:var(--muted);align-items:center;gap:8px;font-size:.875rem;display:flex}.mobile-brand,.mobile-tools.icon-button{display:none}.content{width:100%;max-width:1490px;margin:auto;padding:27px clamp(22px,3vw,44px) 42px}.content:focus{outline:none}.hero{isolation:isolate;color:#f7fbff;background:#142238;border-radius:17px;align-items:center;min-height:252px;display:flex;position:relative;overflow:hidden}.hero:before{content:"";z-index:-1;background:linear-gradient(90deg,#142238 18% 32%,#142238bb 55%,#1019281a 100%),url(/kitchen-groceries.jpg) right 48%/min(77%,850px) no-repeat;position:absolute;inset:0}.hero-content{padding:30px clamp(25px,3.5vw,44px)}.hero-label{color:#c4efdf;letter-spacing:.045em;text-transform:uppercase;background:#2c4b497b;border:1px solid #83cbb14d;border-radius:100px;align-items:center;gap:7px;padding:6px 10px;font-size:.75rem;font-weight:720;display:inline-flex}.hero-label>span{background:#9fe9d1;border-radius:50%;width:6px;height:6px}.hero h1{overflow-wrap:anywhere;margin:12px 0 9px;font-size:clamp(2.1rem,4.2vw,3.15rem);line-height:1.08}.hero p{color:#d7e2f0;font-size:1rem;line-height:1.5}.hero-actions{flex-wrap:wrap;gap:10px;margin-top:22px;display:flex}.button{white-space:nowrap;border:1px solid #0000;border-radius:9px;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:0 14px;font-size:.875rem;font-weight:690;display:inline-flex}.button.primary{color:#fff;background:#126a59}.button.primary:hover{background:#0d584a}.button.secondary{color:#263951;background:#fff;border-color:#dce4ee}.button.secondary:hover{background:#f2f7fa;border-color:#bac9d8}.button.mint{color:#142c2c;background:var(--mint)}.button.mint:hover{background:#b1f0db}.button.hero-secondary{color:#f4f8ff;background:#182b41b5;border-color:#95a9c373}.button.hero-secondary:hover{background:#283f54}.hero button:focus-visible{outline-color:var(--mint)}.icon-button{color:#51637b;background:0 0;border:1px solid #0000;border-radius:9px;flex-shrink:0;place-items:center;width:44px;height:44px;display:inline-grid}.icon-button:hover{color:#173249;background:#eff4f8}.text-button{min-height:40px;color:var(--green);white-space:nowrap;background:0 0;border:0;justify-content:center;align-items:center;gap:6px;padding:0 3px;font-size:.875rem;font-weight:720;display:inline-flex}.text-button:hover{text-decoration:underline}.stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:19px 0;display:grid}.stat{border:1px solid var(--line);box-shadow:var(--shadow);background:#fff;border-radius:12px;grid-template-rows:auto auto;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:3px 12px;padding:17px;display:grid}.stat:hover{border-color:#aed3c9}.stat .tile-icon{grid-row:1/3}.stat-value{letter-spacing:-.045em;font-size:1.65rem;font-weight:780;line-height:1}.stat-label{color:var(--muted);font-size:.875rem;line-height:1.25}.tile-icon{border-radius:10px;flex-shrink:0;place-items:center;width:41px;height:41px;display:inline-grid}.green,.receive{color:#147456;background:#dcf5e9}.blue,.freezer,.transfer{color:#265b9a;background:#e6efff}.amber,.pantry,.correct{color:#885512;background:#fbefd6}.violet,.undo{color:#6544a5;background:#eee7fa}.fridge{color:#186d6a;background:#e2f4f2}.neutral,.other,.consume{color:#4e617c;background:#edf1f8}.dashboard-grid{grid-template-columns:1.25fr 1fr;align-items:stretch;gap:17px;display:grid}.panel{border:1px solid var(--line);box-shadow:var(--shadow);background:#fff;border-radius:14px;min-width:0}.panel-header{justify-content:space-between;align-items:flex-start;gap:11px;padding:19px 20px 14px;display:flex}.panel-header h2{font-size:1.18rem;line-height:1.2}.panel-header p{color:var(--muted);margin-top:5px;font-size:.875rem;line-height:1.4}.panel-header .text-button{min-height:31px}.location-preview{grid-template-columns:1fr 1fr;gap:8px;padding:0 16px 17px;display:grid}.location-tile{text-align:left;width:100%;color:var(--text);background:#fafbfd;border:1px solid #edf1f5;border-radius:9px;align-items:center;gap:10px;min-width:0;padding:8px;display:flex}.location-tile:hover{background:#f4fbf8;border-color:#b7d6d0}.location-tile strong,.location-tile small,.inventory-product small,.activity-copy small,.grocery-list small{display:block}.location-tile strong{overflow-wrap:anywhere;font-size:.875rem;line-height:1.22}.location-tile small{color:var(--muted);margin-top:2px}.activity-list li{border-top:1px solid #edf1f5;align-items:center;gap:11px;min-height:64px;padding:12px 19px;display:flex;position:relative}.tile-icon.activity{border-radius:9px;width:36px;height:36px}.activity-copy{overflow-wrap:anywhere;flex:1;min-width:0}.activity-copy strong{font-size:.875rem;line-height:1.25;display:block}.activity-copy small{color:var(--muted);margin-top:4px;line-height:1.3}.activity-list time{white-space:nowrap;color:var(--muted);font-size:.75rem}.page-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:15px;margin:0 0 23px;display:flex}.page-heading h1{font-size:clamp(1.9rem,3.5vw,2.6rem);line-height:1.13}.page-heading p{color:var(--muted);margin-top:6px;line-height:1.45}.heading-actions{flex-wrap:wrap;gap:9px;display:flex}.filters{flex-wrap:wrap;gap:11px;padding:15px;display:flex}.filters select{width:auto}.search{max-width:420px;min-height:44px;color:var(--muted);border:1px solid #dbe4ee;border-radius:8px;flex:195px;align-items:center;gap:9px;padding:0 12px;display:flex}.search:focus-within{outline:2px solid #13836d}.search input{background:0 0;border:0;outline:none;min-width:0;height:42px;padding:0}.inventory-labels,.inventory-row{grid-template-columns:minmax(0,1.2fr) minmax(0,1.12fr) minmax(0,.6fr) auto;align-items:center;gap:15px;padding:11px 16px;display:grid}.inventory-labels{color:var(--muted);background:#f6f8fb;font-size:.8125rem;font-weight:700}.inventory-labels>:last-child{width:150px}.inventory-row{border-top:1px solid #edf1f5;min-height:68px}.inventory-product{overflow-wrap:anywhere;align-items:center;gap:10px;min-width:0;display:flex}.inventory-product strong,.inventory-count strong{font-size:.9375rem;display:block}.inventory-product small,.inventory-storage{color:var(--muted);font-size:.875rem}.inventory-storage{overflow-wrap:anywhere}.inventory-count{justify-items:start;gap:4px;display:grid}.status{white-space:nowrap;border-radius:50px;padding:3px 8px;font-size:.75rem;font-weight:700;display:inline-flex}.row-actions{align-items:center;gap:3px;display:flex}.button.compact{min-height:38px;padding:0 10px}.locations-grid,.grocery-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;display:grid}.grocery-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.location-card{padding:15px 17px}.location-card-top{justify-content:space-between;display:flex}.location-card h2{overflow-wrap:anywhere;margin-top:10px;font-size:1.18rem}.location-card p{color:var(--muted);margin-top:4px;font-size:.875rem}.location-card .text-button{margin-top:8px;padding:0}.grocery-list li{border-top:1px solid #edf1f5;justify-content:space-between;align-items:center;gap:9px;padding:8px 12px 8px 17px;display:flex}.grocery-list label{cursor:pointer;overflow-wrap:anywhere;flex:1;align-items:center;gap:11px;min-height:43px;display:flex}.grocery-list input{width:19px;height:19px;accent-color:var(--green);flex-shrink:0;margin:0}.grocery-list small{color:var(--muted);margin-top:3px}.grocery-list .checked strong{color:var(--muted);text-decoration:line-through}.empty{text-align:center;min-height:146px;color:var(--muted);align-content:center;justify-items:center;gap:7px;padding:18px;font-size:.875rem;display:grid}.empty strong{color:var(--text)}dialog{color:var(--text);border:1px solid #d9e2ed;border-radius:17px;width:min(510px,100% - 26px);max-height:calc(100dvh - 30px);padding:22px;box-shadow:0 20px 66px #06172d50}dialog::backdrop{background:#101e34a8}.dialog-header{justify-content:space-between;align-items:start;gap:8px;margin-bottom:14px;display:flex}.dialog-header h2{overflow-wrap:anywhere;margin-top:3px;font-size:1.45rem;line-height:1.25}.dialog-header p{color:var(--muted);margin-top:5px;font-size:.9rem;line-height:1.45}.dialog-form,.dialog-form fieldset{gap:12px;min-width:0;display:grid}.dialog-form fieldset{border:0;margin:0;padding:0}.dialog-form label{min-width:0;font-size:.875rem;font-weight:680;display:block}.dialog-form label>input,.dialog-form label>select,.dialog-form label>textarea{margin-top:5px}.dialog-form label small{color:var(--muted);margin-left:4px;font-size:.75rem;font-weight:530}input:not([type=checkbox]),select,textarea{width:100%;color:var(--text);background:#fff;border:1px solid #cdd9e6;border-radius:8px;min-height:44px;padding:9px 11px;font-size:1rem}.search input:not([type=checkbox]){border:0;outline:0;padding:0}textarea{resize:vertical}select{appearance:none;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23596980' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 9px center no-repeat;padding-right:34px}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.submit{justify-self:end;min-width:124px;margin-top:4px}.dialog-actions{justify-content:flex-end;gap:9px;margin-top:13px;display:flex}.item-code{align-items:end;gap:4px;display:flex}.item-code label{flex:1}.item-code input{font:.82rem ui-monospace,monospace}.scanner-frame{color:#c3f3e1;text-align:center;background:#142238;border-radius:12px;place-content:center;justify-items:center;gap:8px;min-height:175px;padding:8px;display:grid;position:relative;overflow:hidden}.scanner-frame.live{background:#121b29;padding:0}.scanner-frame video{width:100%;max-height:43dvh;display:block}.scan-guide{pointer-events:none;border:2px solid #9ce4ce;border-radius:11px;position:absolute;inset:22% 13%}.camera-button{justify-self:stretch}.inline-label{align-items:center;gap:7px;display:inline-flex}.install-help{color:var(--muted);gap:11px;line-height:1.55;display:flex}.install-help svg{color:var(--green);flex-shrink:0}.install-help p+p{margin-top:9px}.message{color:#943329;background:#fff0ef;border:1px solid #f7d3ce;border-radius:9px;padding:9px 11px;font-size:.875rem;line-height:1.45}.error-bar{align-items:center;gap:11px;margin-bottom:15px;display:flex}.error-bar .message{flex:1}.toast{z-index:5;color:#fff;background:#14362e;border-radius:10px;align-items:center;gap:9px;padding:13px 16px;font-size:.875rem;display:flex;position:fixed;bottom:18px;right:18px;box-shadow:0 3px 18px #111b3140}.loading{min-height:100px;color:var(--muted);align-items:center;gap:9px;display:flex}.spin{animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.startup{justify-items:start;gap:14px;width:min(88%,380px);margin:min(13vh,90px) auto;display:grid}.login{background:#fff;grid-template-columns:minmax(340px,45fr) 55fr;min-height:100dvh;display:grid}.login-content{flex-direction:column;padding:clamp(22px,5vw,65px);display:flex}.login-box{width:min(100%,390px);margin:auto;padding:45px 0}.login-box h1{font-size:clamp(2.3rem,4.7vw,3.3rem);line-height:1.1}.login-box>p{color:var(--muted);margin:10px 0 25px}.login-box .dialog-form{gap:16px}.login-box .submit{width:100%}.login-image{background:#142238 url(/kitchen-groceries.jpg) 50%/cover}@media (width<=1110px){.app-shell{grid-template-columns:190px minmax(0,1fr)}.content,.topbar{padding-left:21px;padding-right:21px}.stat{gap:3px 8px;padding:13px 11px}.dashboard-grid{grid-template-columns:1fr 1fr}}@media (width<=920px){.dashboard-grid{grid-template-columns:1fr}.stat{grid-template-rows:auto auto auto;grid-template-columns:1fr;row-gap:6px}.stat .tile-icon{grid-row:auto;width:34px;height:34px}.inventory-labels,.inventory-row{gap:9px;padding-left:12px;padding-right:12px}.inventory-product .tile-icon{display:none}}@media (width<=700px){.app-shell{grid-template-columns:minmax(0,1fr)}.content{padding:15px 13px calc(82px + env(safe-area-inset-bottom))}.topbar{height:61px;padding:0 13px}.topbar-right{gap:2px}.topbar time,.desktop-heading,.topbar-avatar,.sidebar>.brand,.sidebar-footer{display:none}.mobile-brand,.mobile-tools.icon-button{display:inline-grid}.brand{font-size:1.19rem}.brand-icon{width:35px;height:35px}.sidebar{z-index:4;border-top:1px solid var(--line);background:#fff;height:auto;padding:0;position:fixed;inset:auto 0 0;box-shadow:0 -3px 14px #19283f14}.sidebar nav{padding:4px 5px calc(4px + env(safe-area-inset-bottom));grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;display:grid}.sidebar nav a{color:#526277;flex-direction:column;justify-content:center;gap:3px;min-height:53px;padding:3px 0;font-size:.69rem;display:flex}.sidebar nav a:hover,.sidebar nav a[aria-current]{color:#125e4f;background:#e6f5ef}.sidebar nav a[aria-current] svg{color:#126a59}.hero{border-radius:13px;min-height:225px}.hero-content{padding:21px 16px}.hero:before{background:linear-gradient(90deg,#142238 1%,#142238ef 25%,#142238a6 62%,#14223850),url(/kitchen-groceries.jpg) 100%/auto 100% no-repeat}.hero h1{font-size:clamp(1.76rem,7.3vw,2.42rem)}.hero p{font-size:.875rem}.hero-actions{margin-top:17px}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:11px 0}.stat{grid-template-rows:auto auto;grid-template-columns:auto minmax(0,1fr);gap:2px 8px}.stat .tile-icon{grid-row:1/3}.stat-value{font-size:1.3rem}.stat-label{font-size:.75rem}.dashboard-grid,.grocery-grid{grid-template-columns:1fr;gap:11px}.locations-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.panel-header{padding:15px 13px 11px}.location-preview{gap:5px;padding:0 9px 11px}.location-tile{gap:7px;padding:6px}.location-tile .tile-icon{width:34px;height:34px}.location-tile .tile-icon svg{width:17px}.page-heading{margin-bottom:15px}.inventory-labels{display:none}.inventory-row{grid-template-columns:minmax(0,1fr) auto;row-gap:4px}.inventory-product{grid-column:1}.inventory-storage{grid-area:2/1}.inventory-count{grid-area:1/2;justify-items:end}.row-actions{grid-area:2/2}.row-actions .icon-button{width:36px;height:40px}.toast{bottom:calc(69px + env(safe-area-inset-bottom))}.login{grid-template-columns:1fr}.login-content{min-height:100dvh}.login-image{display:none}}@media (width<=380px){.form-grid{grid-template-columns:1fr}.hero-actions{gap:5px}.hero-actions button{padding:0 10px}}@media (prefers-reduced-motion:reduce){*,:before,:after{animation-duration:.01ms!important}}
