:root{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#20382f;background:var(--cream);font-synthesis:none;--green:#225949;--muted:#718176;--line:#dfe4da;--cream:#f7f7f0;--gold:#e1b769}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer;border:0}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--gold);outline-offset:3px}a{color:var(--green)}h1,h2,h3,p{margin:0}h1{font-size:clamp(28px,6vw,38px);letter-spacing:-1.3px;line-height:1.12}h2{font-size:22px;letter-spacing:-.5px}h3{font-size:16px}small,.muted{color:var(--muted);font-size:13px;line-height:1.5}.shell{max-width:680px;margin:auto;padding:22px 20px 130px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:32px}.brand{display:flex;align-items:center;gap:9px;font-weight:760;font-size:18px;letter-spacing:-.5px}.brand img{width:34px;height:34px}.top-actions{display:flex;gap:8px;align-items:center}.language{border:1px solid var(--line);border-radius:20px;background:white;padding:8px 10px;font-size:13px;min-height:40px}.circle{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:color-mix(in srgb,var(--green) 10%,white);color:var(--green)}.eyebrow{text-transform:uppercase;letter-spacing:2px;font-size:11px;font-weight:750;margin-bottom:10px;color:var(--muted)}.heading{margin-bottom:24px}.heading p{margin-top:10px;line-height:1.5;color:var(--muted)}.toolbar{display:flex;gap:10px;margin:20px 0}.search{width:100%;border:1px solid var(--line);border-radius:14px;background:white;padding:14px 16px;min-width:0}.primary{background:var(--green);color:var(--on-primary,white);border-radius:14px;padding:14px 18px;font-weight:650;min-height:48px}.secondary{background:color-mix(in srgb,var(--green) 10%,white);color:var(--green);border-radius:14px;padding:13px 16px;min-height:46px;font-weight:600}.danger{color:#a2382c;background:#fff0ec;border-radius:12px;padding:12px}.full{width:100%}.card{background:white;border:1px solid var(--line);border-radius:20px;padding:20px;margin-bottom:14px}.row{display:flex;align-items:center;gap:12px}.between{justify-content:space-between}.grow{flex:1;min-width:0}.stack{display:grid;gap:6px}.item{padding:16px 0;border-bottom:1px solid #edf0e8}.item:last-child{border-bottom:0}.item-name{font-weight:650;font-size:16px;overflow-wrap:anywhere}.check{flex-shrink:0;width:28px;height:28px;border:1.5px solid #bcc9bb;background:white;border-radius:9px;color:white;display:grid;place-items:center}.check.checked{color:var(--on-primary,white);background:var(--green);border-color:var(--green)}.done .item-name{text-decoration:line-through;color:var(--muted)}.tag{display:inline-flex;align-items:center;background:#eef2e9;color:#56704d;padding:5px 9px;border-radius:9px;font-size:11px;font-weight:650;width:fit-content}.tag.low{background:#fcf0d8;color:#926622}.stepper{display:flex;align-items:center;gap:9px}.stepper button{background:#eef2e9;border-radius:10px;width:38px;height:38px;color:var(--green);font-size:22px}.stepper span{min-width:24px;text-align:center;font-weight:700}.iconbutton{padding:9px;color:var(--muted);background:transparent;border-radius:10px;min-width:36px;min-height:40px}.stats{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:24px 0}.stat{background:color-mix(in srgb,var(--green) 10%,white);border-radius:18px;padding:18px}.stat strong{display:block;font-size:30px;letter-spacing:-1px;margin-bottom:4px}.stat small{color:#56704d}.note{background:#f9f0dd;color:#715e34;padding:14px 16px;border-radius:14px;line-height:1.6;font-size:13px;margin:16px 0}.empty{text-align:center;padding:35px 16px;color:var(--muted)}.empty svg{width:44px;height:44px;color:#9dab97;margin-bottom:15px}.empty h3{color:#20382f;margin-bottom:8px}.empty p{font-size:14px;line-height:1.6}.bottomnav{position:fixed;bottom:0;left:0;right:0;background:var(--cream);border-top:1px solid var(--line);padding:10px 12px calc(10px + env(safe-area-inset-bottom));z-index:10}.nav-inner{max-width:640px;margin:auto;display:flex;justify-content:space-around;gap:4px}.nav-inner button{background:transparent;color:var(--muted);font-size:11px;display:grid;justify-items:center;gap:5px;padding:7px 10px;border-radius:13px;min-width:58px}.nav-inner button.active{background:color-mix(in srgb,var(--green) 10%,white);color:var(--green);font-weight:700}.nav-inner svg{width:22px;height:22px}.scan-fab{position:fixed;bottom:calc(91px + env(safe-area-inset-bottom));right:max(20px,calc((100vw - 640px)/2));border-radius:18px;display:flex;align-items:center;gap:9px;box-shadow:0 7px 22px #22594933;z-index:9}.scan-fab svg{width:21px;height:21px}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.login{max-width:430px;margin:35px auto}.login-art{height:150px;display:grid;place-items:center;margin:12px 0 25px;background:color-mix(in srgb,var(--green) 10%,white);border-radius:30px}.login-art img{width:104px;height:104px;transform:rotate(-7deg);box-shadow:0 10px 30px #22594922;border-radius:24px}.field{display:grid;gap:7px;margin:16px 0}.field label{font-size:13px;font-weight:650}.field input,.field select{width:100%;border:1px solid var(--line);border-radius:12px;background:#fff;padding:13px;min-height:46px}.error{color:#9f3e2d;font-size:14px;line-height:1.5;margin:12px 0}.success{color:var(--green)}dialog{border:1px solid var(--line);border-radius:24px;padding:24px;width:calc(100% - 28px);max-width:490px;max-height:90dvh;color:#20382f;background:var(--cream)}dialog::backdrop{background:#183b2e88}dialog h2{padding-right:32px}.close{position:absolute;top:12px;right:14px}.form-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:24px}.form-actions button{flex:1}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:12px}.grid2 .field{margin-top:5px}.toggle{display:flex;gap:10px;align-items:center;min-height:44px;padding:6px 0;font-size:14px}.toggle input{width:20px;height:20px;accent-color:var(--green)}.store{padding:12px 0;border-bottom:1px solid #edf0e8}.store:last-child{border:0}.store a{font-weight:650;text-decoration:none;display:block}.price{font-size:24px;font-weight:750;color:var(--green)}.account-email{overflow-wrap:anywhere}.scanner{position:relative;min-height:240px;background:#20382f;border-radius:16px;overflow:hidden;margin:18px 0}.scanner video{display:block;width:100%;height:260px;object-fit:cover}.scan-guide{position:absolute;left:15%;right:15%;top:30%;height:40%;border:2px solid #e1b769;border-radius:16px;pointer-events:none}.scan-result{margin-top:12px;padding:16px;border-radius:16px;background:white;border:1px solid var(--line)}#toast{position:fixed;top:15px;left:50%;transform:translateX(-50%);background:#20382f;color:white;padding:12px 18px;border-radius:14px;box-shadow:0 6px 20px #0002;z-index:100;display:none;width:max-content;max-width:90%;font-size:14px}#toast.visible{display:block}.connection{font-size:11px;display:flex;align-items:center;gap:5px;color:var(--muted);margin-top:8px}.connection::before{content:'';width:6px;height:6px;background:#82a973;border-radius:50%}.connection.offline::before{background:#c89c5b}.settings-section{margin-top:24px}.section-head{margin:24px 0 12px;display:flex;align-items:center;justify-content:space-between}.loading{padding:45px;text-align:center;color:var(--muted)}@media(min-width:700px){.shell{padding-top:32px}.login{margin-top:55px}}@media(max-width:370px){.shell{padding-left:14px;padding-right:14px}.stepper{gap:4px}.nav-inner button{padding:7px;min-width:50px}.item-name{font-size:14px}}@media(prefers-reduced-motion:no-preference){button{transition:background .15s,transform .15s}button:active{transform:scale(.97)}}

.maps-search{display:block;text-align:center;text-decoration:none}.theme-presets{display:flex;gap:12px;margin:20px 0}.theme-swatch{width:44px;height:44px;border-radius:50%;border:3px solid white;box-shadow:0 0 0 1px var(--line)}.field input[type=color]{padding:4px;height:54px}.store strong{overflow-wrap:anywhere}

.store[hidden]{display:none}

.product-setting[hidden]{display:none}
