:root{--bg:#f2f3f1;--surface:#fff;--fill:#e8ebe8;--input-bg:#fff;--raised:#fff;--text:#1f2421;--muted:#6b716d;--border:#d6dad6;--separator:#e1e4e1;--accent:#2f7d4f;--accent-text:#fff;--danger:#b3261e;--danger-bg:#fbe9e7;--badge-bg:#d93025;--warning-bg:#fff4d6;--warning-text:#7a5a00;--tag-gray:#737a75;--tag-red:#d93025;--tag-orange:#c45f09;--tag-yellow:#a67c00;--tag-green:#2f8f4f;--tag-teal:#0f8b8d;--tag-blue:#1a73e8;--tag-purple:#8e44c9;--tag-pink:#d0398a;--tag-brown:#7a5230;--tag-tint:30%;--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--tabbar-height:56px;--content-width:40rem;color:var(--text);background:var(--bg);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;overscroll-behavior:none;-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:16px;line-height:1.4}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}:root[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#0f110f;--surface:#1c1f1d;--fill:#2a2e2b;--input-bg:#232724;--raised:#4a504b;--text:#e8ebe8;--muted:#9aa19c;--border:#3a3f3b;--separator:#2e332f;--accent:#5cb27f;--accent-text:#0d1a12;--danger:#f2b8b5;--danger-bg:#3b1d1b;--badge-bg:#e5534b;--warning-bg:#3a3014;--warning-text:#f3d27a;--tag-gray:#a3aaa5;--tag-red:#f28b82;--tag-orange:#fcad70;--tag-yellow:#fdd663;--tag-green:#81c995;--tag-teal:#78d9d4;--tag-blue:#8ab4f8;--tag-purple:#c58af9;--tag-pink:#ff8bcb;--tag-brown:#c8a690;--tag-tint:22%}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--bg:#0f110f;--surface:#1c1f1d;--fill:#2a2e2b;--input-bg:#232724;--raised:#4a504b;--text:#e8ebe8;--muted:#9aa19c;--border:#3a3f3b;--separator:#2e332f;--accent:#5cb27f;--accent-text:#0d1a12;--danger:#f2b8b5;--danger-bg:#3b1d1b;--badge-bg:#e5534b;--warning-bg:#3a3014;--warning-text:#f3d27a;--tag-gray:#a3aaa5;--tag-red:#f28b82;--tag-orange:#fcad70;--tag-yellow:#fdd663;--tag-green:#81c995;--tag-teal:#78d9d4;--tag-blue:#8ab4f8;--tag-purple:#c58af9;--tag-pink:#ff8bcb;--tag-brown:#c8a690;--tag-tint:22%}}*,:before,:after{box-sizing:border-box}body{-webkit-tap-highlight-color:transparent;min-height:100dvh;margin:0}h1,h2{margin:0;line-height:1.2}h1{font-size:1.75rem;font-weight:700}h2{font-size:1.15rem;font-weight:600}input,button{font:inherit}input{border:1px solid var(--border);background:var(--input-bg);width:100%;min-height:48px;color:var(--text);border-radius:10px;padding:.6rem .85rem;font-size:16px}input:focus{outline:2px solid var(--accent);outline-offset:-1px}button{border:1px solid var(--border);background:var(--surface);min-height:44px;color:var(--text);cursor:pointer;touch-action:manipulation;-webkit-user-select:none;user-select:none;border-radius:10px;padding:.6rem 1rem}button:disabled{opacity:.45;cursor:default}.icon{flex:none;width:22px;height:22px}.stack{flex-direction:column;gap:1rem;display:flex}.row{gap:.75rem;display:flex}.row>label{flex:1;min-width:0}label{color:var(--muted);flex-direction:column;gap:.35rem;font-size:.875rem;font-weight:500;display:flex}.muted{color:var(--muted);margin:0}.error{color:var(--danger);margin:0}.notice{color:var(--accent);margin:0}.banner{background:var(--danger-bg);border-radius:10px;justify-content:space-between;align-items:center;gap:.75rem;margin:0 1rem 1rem;padding:.5rem .5rem .5rem 1rem;display:flex}.banner-action{color:var(--danger);background:0 0;border:none;flex:none;font-weight:600}.empty{text-align:center;color:var(--muted);margin:3rem 2rem}.splash{min-height:100dvh;color:var(--muted);place-items:center;margin:0;display:grid}button.primary{border-color:var(--accent);background:var(--accent);color:var(--accent-text)}button.block{border-radius:12px;width:100%;min-height:50px;font-weight:600}button.link{color:var(--muted);background:0 0;border:none;align-self:center}.icon-button{width:44px;height:44px;color:var(--muted);background:0 0;border:none;place-items:center;padding:0;display:grid;position:relative}.icon-button:before{content:"";background:var(--fill);border-radius:50%;position:absolute;inset:6px}.icon-button .icon{width:18px;height:18px;position:relative}.code-boxes{grid-template-columns:repeat(6,1fr);gap:.5rem;display:grid;position:relative}.code-input{z-index:1;color:#0000;caret-color:#0000;background:0 0;border:none;height:100%;position:absolute;inset:0}.code-input:focus{outline:none}.code-input::selection{background:0 0}.code-box{border:1px solid var(--border);background:var(--input-bg);height:56px;color:var(--text);font-variant-numeric:tabular-nums;border-radius:10px;place-items:center;font-size:1.5rem;font-weight:600;display:grid}.code-box.active{outline:2px solid var(--accent);outline-offset:-1px}.onboarding{max-width:26rem;min-height:100dvh;padding:calc(var(--safe-top) + 3rem) 1.25rem calc(var(--safe-bottom) + 1.5rem);flex-direction:column;gap:1.25rem;margin:0 auto;display:flex}.brand{text-align:center;flex-direction:column;align-items:center;gap:.5rem;margin-bottom:.5rem;display:flex}.brand img{border-radius:18px}.segmented{background:var(--fill);border-radius:10px;padding:2px;display:flex}.segmented button,.segment span{min-height:44px;color:var(--muted);text-align:center;background:0 0;border:none;border-radius:8px;flex:1;place-items:center;padding:0 .35rem;font-size:.95rem;font-weight:500;display:grid}.segmented button[aria-selected=true],.segment input:checked+span{background:var(--raised);color:var(--text);box-shadow:0 1px 3px #00000026}.segment{cursor:pointer;flex:1;min-width:0;display:flex}.segment input:focus-visible+span{outline:2px solid var(--accent);outline-offset:-2px}.group-list.profile-card{flex-direction:column;gap:.15rem;padding:1rem;display:flex}.profile-card strong{font-size:1.15rem}.app{max-width:var(--content-width);padding-bottom:calc(var(--tabbar-height) + var(--safe-bottom));margin:0 auto;overflow-x:clip}.tab-pages{position:relative}.tab-peer{position:absolute}.page{min-height:calc(100dvh - var(--tabbar-height) - var(--safe-bottom));flex-direction:column;display:flex}.page.pushed{max-width:var(--content-width);min-height:100dvh;margin:0 auto}.appbar{z-index:10;padding:calc(var(--safe-top) + 1rem) 1rem .75rem;background:color-mix(in srgb, var(--bg) 85%, transparent);-webkit-backdrop-filter:blur(16px)saturate(180%);flex-wrap:wrap;align-items:center;gap:.75rem .25rem;display:flex;position:sticky;top:0}.appbar h1{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;line-height:44px;overflow:hidden}.pushed .appbar h1{font-size:1.25rem}.appbar-actions{gap:.5rem;display:flex}.appbar-actions .icon-button{color:var(--accent);margin-right:-.5rem}.appbar-actions .icon-button .icon{width:22px;height:22px}.back-button{width:44px;height:44px;color:var(--accent);background:0 0;border:none;place-items:center;margin-left:-.75rem;padding:0;display:grid}.back-button .icon{width:28px;height:28px}.appbar-toolbar{flex:0 0 100%;min-width:0}.filter{flex-direction:column;gap:.75rem;display:flex}.search{background:var(--fill);color:var(--muted);border-radius:10px;align-items:center;gap:.5rem;padding:0 0 0 .75rem;display:flex}.search-action{width:44px;height:44px;color:var(--muted);background:0 0;border:none;flex:none;place-items:center;padding:0;display:grid}.search-action[data-active=true]{color:var(--accent)}.search input{background:0 0;border:none;min-height:44px;padding:0}.search input:focus{outline:none}.search:focus-within{outline:2px solid var(--accent);outline-offset:-2px}.page-content{flex:1;padding-bottom:2rem}.page-content:has(>.empty-screen){flex-direction:column;display:flex}.empty-screen{flex:1;place-items:center;margin:0 2rem;display:grid}.tabbar{z-index:30;padding-bottom:var(--safe-bottom);border-top:1px solid var(--separator);background:color-mix(in srgb, var(--surface) 90%, transparent);-webkit-backdrop-filter:blur(16px)saturate(180%);justify-content:center;display:flex;position:fixed;bottom:0;left:0;right:0}.tab{max-width:10rem;min-height:var(--tabbar-height);color:var(--muted);background:0 0;border:none;border-radius:0;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:2px;padding:.35rem 0;font-size:.7rem;font-weight:500;display:flex}.tab[aria-current=page]{color:var(--accent)}.tab-icon{display:grid;position:relative}.tab-badge{background:var(--badge-bg);color:#fff;text-align:center;border-radius:9px;min-width:18px;height:18px;padding:0 5px;font-size:.7rem;font-weight:700;line-height:18px;position:absolute;top:-4px;right:-10px}.items{background:var(--surface);border-radius:12px;margin:0 1rem;padding:0;list-style:none;overflow:hidden}.item{align-items:center;gap:.75rem;min-height:64px;padding:0 1rem 0 0;display:flex;position:relative}.item+.item:before{content:"";border-top:1px solid var(--separator);position:absolute;top:0;left:1rem;right:0}.item-text{min-width:0;color:var(--text);flex-direction:column;flex:1;justify-content:center;align-self:stretch;padding:.5rem 0 .5rem 1rem;text-decoration:none;display:flex}.item-text:active{background:var(--fill)}.item-name,.item-meta{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.item-name{font-weight:500}.item-meta{color:var(--muted);font-size:.9rem}.item-meta.item-low{color:var(--danger);align-items:center;gap:.3rem;font-weight:500;display:flex}.item-low [role=img]{display:flex;transform:translateY(2px)}.item-low .icon{flex:none;width:16px;height:16px}.section-toggle{width:100%;min-height:44px;color:inherit;font:inherit;letter-spacing:inherit;text-align:left;text-transform:inherit;background:0 0;border:none;justify-content:space-between;align-items:center;padding:0;display:flex}.section-toggle .icon{width:18px;height:18px;transition:transform .2s}.section-toggle[aria-expanded=true] .icon{transform:rotate(90deg)}.group-title:has(>.section-toggle){margin-bottom:0}.stepper{gap:.5rem;display:flex}.stepper button{background:var(--fill);width:44px;height:44px;color:var(--accent);border:none;border-radius:50%;place-items:center;padding:0;display:grid}.stepper button:active:not(:disabled){transform:scale(.94)}.stepper button:disabled{border:1px solid var(--border);color:color-mix(in srgb, var(--muted) 60%, transparent);opacity:1;background:0 0}.group{margin:0 1rem 1.75rem}.group-title{color:var(--muted);letter-spacing:.04em;text-transform:uppercase;margin:0 0 .4rem;font-size:.8rem;font-weight:600}.group-list{background:var(--surface);border-radius:12px;margin:0;padding:0;list-style:none;overflow:hidden}.group-row{width:100%;min-height:48px;color:var(--text);text-align:left;background:0 0;border:none;border-radius:0;justify-content:space-between;align-items:center;padding:.5rem 1rem;display:flex}a.group-row{text-decoration:none}.group-row+.group-row,.group-list>li+li{border-top:1px solid var(--separator)}.group-row:active:not(div){background:var(--fill)}.group-row.danger{color:var(--danger);justify-content:center;font-weight:500}.group-list.fields{flex-direction:column;gap:.85rem;padding:1rem;display:flex}.form{padding-top:.25rem}.form-actions{flex-direction:column;gap:.75rem;margin:0 1rem;display:flex}.chips{scrollbar-width:none;gap:.5rem;margin:0;padding:3px;scroll-padding-inline:3px;list-style:none;display:flex;overflow-x:auto}.chips::-webkit-scrollbar{display:none}.chips>*{flex:none}.chips.bleed{scroll-snap-type:x proximity;margin:0 -1rem;padding:3px 1rem;scroll-padding-inline:1rem}.chips.bleed>*{scroll-snap-align:start}.chips:focus{outline:none}.tag-chip{border:1px solid var(--tag-color);background:color-mix(in srgb, var(--tag-color) var(--tag-tint), var(--surface));min-height:44px;color:var(--text);border-radius:999px;align-items:center;padding-left:1rem;display:inline-flex}.tag-remove{width:44px;height:42px;min-height:42px;color:var(--text);background:0 0;border:none;border-radius:0 999px 999px 0;place-items:center;padding:0;display:grid}.tag-remove .icon{width:16px;height:16px}.tag-button{font:inherit;white-space:nowrap;padding-right:1rem}.group-header{justify-content:space-between;align-items:center;margin-bottom:.25rem;display:flex}.group-header .group-title{margin-bottom:0}.text-button{color:var(--accent);background:0 0;border:none;align-items:center;gap:.25rem;padding:0 .5rem;font-weight:500;display:inline-flex}.text-button .icon{width:18px;height:18px}.text-button.icon-only{justify-content:flex-end;width:44px;height:44px;margin:-.5rem 0;padding:0}.text-button.icon-only .icon{width:22px;height:22px}.filter-panel{background:var(--surface);border-radius:12px;flex-direction:column;gap:.75rem;padding:.75rem;display:flex}.filter-panel .muted{margin:0}.filter-panel[hidden]{display:none}.field-label:focus{outline:none}.swatches{grid-template-columns:repeat(5,44px);gap:.5rem .75rem;display:grid}.swatch{cursor:pointer;place-items:center;width:44px;height:44px;display:grid;position:relative}.swatch-dot{background:var(--tag-color);border-radius:50%;width:30px;height:30px}.swatch input:checked+.swatch-dot{width:32px;height:32px;box-shadow:0 0 0 2px var(--surface), 0 0 0 4px var(--text)}.swatch input:focus-visible+.swatch-dot{outline:2px solid var(--accent);outline-offset:6px}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;min-height:0;margin:-1px;padding:0;position:absolute;overflow:hidden}.stack-tight{flex-direction:column;gap:.4rem;display:flex}.field-label{color:var(--muted);font-size:.875rem;font-weight:500}.small{font-size:.875rem}input:disabled{opacity:.5}.reminder-row{align-items:center;gap:.75rem;display:flex}.level{flex:1;justify-content:flex-end;align-items:center;gap:.35rem;min-width:0;display:flex}.level input{text-align:right;flex:none;width:calc(8ch + 1rem);padding:.6rem .5rem}.level-unit{min-width:0;color:var(--muted);overflow-wrap:anywhere}.level.disabled{opacity:.5}.level.disabled input:disabled{opacity:1}.switch{background:0 0;border:none;flex:none;width:51px;height:44px;min-height:44px;padding:0;position:relative}.switch:before{content:"";background:var(--border);border-radius:999px;width:51px;height:31px;transition:background .2s;position:absolute;top:6.5px;left:0}.switch[aria-checked=true]:before{background:var(--accent)}.switch-thumb{background:#fff;border-radius:50%;width:27px;height:27px;transition:transform .2s;position:absolute;top:8.5px;left:2px;box-shadow:0 1px 3px #0000004d}.switch[aria-checked=true] .switch-thumb{transform:translate(20px)}@media (prefers-reduced-motion:reduce){.switch:before,.switch-thumb{transition:none}}button.destructive{border-color:var(--badge-bg);background:var(--badge-bg);color:#fff}button.danger-outline{border:1.5px solid var(--danger);color:var(--danger);background:0 0;font-weight:600}.group-footer{color:var(--muted);margin:.4rem 0 0;font-size:.8rem}.join-code{font-variant-numeric:tabular-nums;letter-spacing:.15em;font-size:1.1rem}.sheet-backdrop{z-index:50;background:#0006;justify-content:center;align-items:flex-end;animation:.2s ease-out fade-in;display:flex;position:fixed;inset:0}.sheet{width:100%;max-width:var(--content-width);max-height:90dvh;padding:.5rem 1.25rem calc(var(--safe-bottom) + 1.25rem);background:var(--surface);border-radius:16px 16px 0 0;animation:.25s cubic-bezier(.2,.8,.2,1) slide-up;overflow-y:auto}.sheet:focus{outline:none}.sheet-handle{background:var(--border);border-radius:3px;width:36px;height:5px;margin:0 auto .75rem}.confirm-message{text-align:justify;margin:.25rem 0 .5rem;line-height:1.45}.sheet-header{justify-content:space-between;align-items:center;margin-bottom:1rem;display:flex}@keyframes fade-in{0%{opacity:0}}@keyframes slide-up{0%{transform:translateY(100%)}}@media (prefers-reduced-motion:reduce){.sheet,.sheet-backdrop{animation:none}}.notice.banner-notice{background:color-mix(in srgb, var(--accent) 14%, var(--surface));border-radius:10px;margin:0 1rem 1rem;padding:.75rem 1rem}.group .items{margin:0}button.item-text{text-align:left;background:0 0;border:none;border-radius:0;min-height:64px}.nav-row{min-width:0;color:var(--text);flex:1;align-self:stretch;align-items:center;gap:.75rem;padding:.5rem 0 .5rem 1rem;text-decoration:none;display:flex}.nav-row:active{background:var(--fill)}.nav-row-text{flex-direction:column;flex:1;min-width:0;display:flex}.nav-row>.icon,.row-end .icon{width:18px;height:18px;color:var(--muted)}.row-end{align-items:center;gap:.35rem;display:flex}.group-list.product-card{flex-direction:column;gap:.2rem;padding:1rem;display:flex}.product-card strong{font-size:1.1rem}.item-search{margin-bottom:.75rem}.choices{max-height:22rem;overflow-y:auto}label.choice{min-height:48px;color:var(--text);cursor:pointer;flex-direction:row;align-items:center;gap:.75rem;padding:.5rem 1rem;font-size:1rem;font-weight:400;display:flex}label.choice+label.choice{border-top:1px solid var(--separator)}.choice input{width:20px;height:20px;min-height:0;accent-color:var(--accent);flex:none;margin:0}.choice-name{overflow-wrap:anywhere;flex:1;align-items:center;gap:.35rem;min-width:0;display:flex}.choice-name.accent{color:var(--accent);font-weight:500}.choice-name .icon{width:18px;height:18px}.scan-page{min-height:100dvh}.scan-page .appbar{color:#fff;-webkit-backdrop-filter:none;background:linear-gradient(#0009,#0000)}.scan-page .back-button{color:#fff}.viewfinder{background:#000;position:fixed;inset:0;overflow:hidden}.viewfinder-video{object-fit:cover;width:100%;height:100%}.viewfinder-frame{aspect-ratio:1;border:3px solid #ffffffe6;border-radius:20px;width:min(72vw,300px);position:absolute;top:42%;left:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 100vmax #00000080}.scan-panel{color:#fff;max-width:var(--content-width);padding:1rem 1rem calc(var(--safe-bottom) + 1rem);flex-direction:column;gap:.75rem;margin:0 auto;display:flex;position:fixed;bottom:0;left:0;right:0}.scan-message{text-align:center;background:#0000008c;border-radius:12px;margin:0;padding:.6rem 1rem}.scan-error{color:#ffb4ab}
