:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#163c23;background:#f5f8f4;font-synthesis:none;--green:#138c20;--deep:#075c23;--line:#e2eae0;--muted:#6a776c}*{box-sizing:border-box}body{margin:0;min-height:100dvh;background:radial-gradient(ellipse at bottom right,#d9efbd 0,transparent 50%) fixed}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0;border-radius:14px;min-height:46px;padding:11px 16px;color:inherit;background:#eef6e9;font-weight:650}button:active{transform:translateY(1px)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #50a9df;outline-offset:3px}button:disabled{opacity:.5;cursor:default}a{color:var(--deep)}h1,h2,h3,p{margin:0}h1{font-size:clamp(26px,4vw,34px);line-height:1.15;letter-spacing:-1px;overflow-wrap:anywhere}h2{font-size:20px;letter-spacing:-.5px}h3{font-size:18px;margin-top:14px}p{line-height:1.5}small{font-size:13px;color:var(--muted)}.muted{color:var(--muted);font-size:14px;line-height:1.45}.eyebrow{font-size:10px;font-weight:800;letter-spacing:1.6px;color:#4b8052;margin:6px 0 10px}.primary{background:linear-gradient(115deg,#188e2a,#079209);color:white;box-shadow:0 4px 10px #138c2020;border-radius:18px}.secondary{background:#eff5ec;border:1px solid #e2ebdd}.icon{font-size:23px;min-width:46px;padding:7px;background:transparent}.danger-quiet{color:#a43d37;background:#fff1ee}.text-button{padding:4px 0;text-align:left;background:none;min-height:36px}.header{height:86px;max-width:900px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:12px 22px;gap:10px;background:#fff;border-bottom:1px solid #edf1e9}.brand{display:flex;align-items:center;gap:2px;font-size:24px;font-weight:800;letter-spacing:-1px;text-decoration:none;color:#0c3d1b}.brand b{color:#319c08}.brand img{width:53px;height:53px;object-fit:contain}.back{background:#edf6e9;font-size:30px;padding:0;width:44px;min-height:44px}.local-badge{font-size:10px;color:var(--muted);max-width:75px;text-align:right}.header .back{display:none}body:has(.buy-item) .header .back,body:has(.buy-cta) .header .back{display:block}body:has(.buy-item) .header .brand{font-size:20px}main{max-width:800px;margin:auto;padding:26px 24px 138px;min-height:calc(100dvh - 86px)}.hero{position:relative;overflow:hidden;display:flex;align-items:center;min-height:210px;border:1px solid #e2edda;background:linear-gradient(120deg,#e9f4db,#f5faef);border-radius:24px;padding:28px;margin-bottom:22px;isolation:isolate}.hero:after{content:'';position:absolute;width:600px;height:130px;bottom:-105px;right:-80px;background:#70be28;border-radius:50%;transform:rotate(-12deg);z-index:-1}.hero h1{font-size:38px;line-height:1.05;margin-bottom:12px;color:#123f20;letter-spacing:-1.7px}.hero p:not(.eyebrow){max-width:270px;color:#547557;font-size:15px}.hero img{width:160px;height:160px;object-fit:contain;mix-blend-mode:multiply;margin-left:auto}.shortcuts{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:30px}.shortcut{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:white;border:1px solid var(--line);box-shadow:0 2px 2px #1b3f1710;min-height:95px;font-size:12px;padding:8px;border-radius:18px}.shortcut-icon{color:#22970d;font-size:32px;font-weight:600;line-height:1}.section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px;margin-top:20px}.section-title h1{flex:1}.section-title .text-button{font-size:13px;color:var(--deep)}.list-card{background:#fff;border:1px solid var(--line);border-radius:19px;display:flex;align-items:center;gap:14px;padding:15px;margin-bottom:12px;box-shadow:0 2px 5px #183b1510}.store-icon{color:#1a8c17;background:#eef6e8;font-size:32px;width:58px;flex-shrink:0}.list-info{flex:1;min-width:0}.list-info .text-button{font-size:17px;line-height:1.2;overflow-wrap:anywhere}.list-info .muted{font-size:12px;margin-bottom:8px}.card-end{font-size:12px;color:var(--muted);display:flex;align-items:center}.card-end .icon{font-size:28px;min-width:25px;padding:6px}.list-info progress{height:6px}.privacy-note{text-align:center;color:#65815f;font-size:12px;margin:30px 0 12px}.settings-link{display:block;margin:auto;background:transparent;text-decoration:underline;font-size:12px;color:var(--muted)}.bottom{position:fixed;z-index:10;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,900px);background:#fffffff5;backdrop-filter:blur(14px);border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:12px;padding:15px 24px calc(15px + env(safe-area-inset-bottom));box-shadow:0 -4px 18px #163d1610}.bottom .primary{flex:1}.nav-home{background:none;font-size:13px}.buy-cta{width:100%;letter-spacing:.5px;height:56px}.store-picker{display:flex;justify-content:space-between;align-items:center;gap:10px;width:100%;background:#fff;border:1px solid var(--line);padding:18px;margin-top:22px;border-radius:18px}.store-picker .muted{font-size:12px}.toolbar{display:flex;gap:10px;margin:15px 0 25px}.toolbar button{font-size:12px;min-height:40px}.price-pill{background:#eaf4e5;color:var(--deep);padding:7px 10px;border-radius:9px;font-size:13px;font-weight:700;white-space:nowrap}.edit-item{display:flex;gap:6px;align-items:center;background:white;border:1px solid var(--line);border-radius:17px;padding:11px 8px;margin:9px 0;position:relative}.drag-handle{touch-action:none;user-select:none;cursor:grab;color:#8c9888;background:none;padding:2px;min-width:30px;font-size:29px;min-height:52px}.dragging{opacity:.6}.drop-target{outline:2px solid #3ba51b;outline-offset:2px}.item-detail{flex:1;min-width:0;display:flex;flex-direction:column;align-items:flex-start;text-align:left;background:none;padding:5px;gap:5px;overflow-wrap:anywhere}.item-detail strong{font-size:15px;width:100%}.item-detail small{font-size:11px;font-weight:400}.item-price{font-size:13px;font-weight:700;white-space:nowrap;color:#216a21}.delete{color:#8b716a;font-size:22px;padding:3px;min-width:35px}.add-product{background:#e9f4e2;color:#1e7a22;width:100%;margin:18px 0 12px;border:1px dashed #8bc175;border-radius:16px}.summary{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--line);border-radius:20px;background:#fff;margin:23px 0;padding:20px 5px}.summary>div{display:flex;flex-direction:column;text-align:center;gap:8px;border-right:1px solid var(--line)}.summary>div:last-child{border:0}.summary span{font-size:11px;color:#6b796b}.summary strong{font-size:22px;letter-spacing:-.7px}.summary>div:nth-child(2) strong{color:var(--green)}progress{appearance:none;-webkit-appearance:none;display:block;width:100%;height:10px;overflow:hidden;border:0;border-radius:20px;background:#e3e9e0}progress::-webkit-progress-bar{background:#e3e9e0;border-radius:20px}progress::-webkit-progress-value{background:linear-gradient(90deg,#419c11,#43c813);border-radius:20px}progress::-moz-progress-bar{background:#39a813;border-radius:20px}.progress-label{text-align:right;color:var(--muted);font-size:12px;margin:9px 0 22px}.group-title{font-size:13px;color:#63805b;margin:23px 0 10px}.buy-item{display:flex;align-items:stretch;border:1px solid var(--line);border-radius:18px;background:#fff;margin-bottom:10px;overflow:hidden}.buy-toggle{display:flex;flex:1;gap:12px;text-align:left;align-items:center;padding:17px 12px;min-width:0;background:none;border-radius:0}.check-circle{width:34px;height:34px;min-width:34px;border:2px solid #bac5b5;border-radius:10px;background:#fff;color:#fff;display:grid;place-items:center;font-size:23px}.buy-detail{min-width:0;flex:1}.product-name{display:block;font-size:15px;line-height:1.3;overflow-wrap:anywhere}.buy-detail small{display:block;font-size:11px;font-weight:400;margin-top:5px}.buy-price{font-size:13px;white-space:nowrap}.skip-button{align-self:center;margin:5px 9px 5px 0;padding:10px 8px;border:1px solid #e6c8c2;background:#fff5f3;color:#9c4942;font-size:11px;border-radius:10px;min-width:66px;min-height:44px}.buy-item.bought{background:#edf8e9;border-color:#d7ebcf}.buy-item.bought .check-circle{background:#229617;border-color:#229617}.buy-item.skip{background:#fff1f0;border-color:#efd9d5}.buy-item.skip .check-circle{background:#c76158;border-color:#c76158}.buy-item:not(.pending) .product-name{text-decoration:line-through;color:#60715c}.buy-item.skip .product-name{color:#9a625a}.buy-item:not(.pending) .buy-price{text-decoration:line-through}.total-footer{background:linear-gradient(110deg,#117e23,#089408);color:#fff;border-radius:18px;padding:18px 20px;display:flex;justify-content:space-between;align-items:center;width:100%;gap:10px}.total-footer span{font-size:14px}.total-footer strong{font-size:27px;letter-spacing:-1px}.warning{background:#fff7df;border:1px solid #f3e8bf;color:#856b25;font-size:12px;border-radius:12px;padding:12px;margin:12px auto;line-height:1.5}.complete{background:#eaf6e5;border-radius:16px;text-align:center;padding:24px;color:var(--deep);margin:25px 0}.empty{border:1px dashed #c5d4be;background:#fff9;border-radius:18px;padding:35px 22px;text-align:center;color:#78916e;line-height:1.5}dialog{border:1px solid #d7e5d0;border-radius:24px;max-width:520px;width:calc(100% - 26px);padding:24px;box-shadow:0 25px 100px #103a2330;max-height:90dvh;overscroll-behavior:contain}dialog::backdrop{background:#102b1d65;backdrop-filter:blur(3px)}.modal-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:20px}.modal-heading h2{font-size:23px}dialog p{font-size:14px;margin:12px 0}form,label{display:flex;flex-direction:column}form{gap:16px}label{gap:7px;margin:7px 0;font-size:13px;color:#52654e}input,select{background:#f9fbf7;border:1px solid #d7e1d1;color:#1a4025;border-radius:12px;padding:13px;width:100%;min-width:0;min-height:48px}input[type=checkbox]{width:24px;min-height:24px;accent-color:var(--green)}input[type=file]{font-size:12px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}.form-error{color:#9d3434;background:#fff2ef;padding:10px;border-radius:10px}.store-results{max-height:45dvh;overflow-y:auto;margin:16px 0}.store-row{display:grid;grid-template-columns:44px 1fr auto;align-items:center;gap:7px;border-bottom:1px solid var(--line);padding:10px 0}.store-row p{margin:3px 0;overflow-wrap:anywhere}.store-row button:not(.icon){font-size:11px;padding:8px}.store-row .map-link{grid-column:2/4;font-size:12px;margin-bottom:8px}.history-card{background:#f6faf3;border-radius:14px;padding:16px;margin:12px 0}.history-card p{margin:6px 0}.history-card strong{overflow-wrap:anywhere}dialog>div>.primary{width:100%;margin:10px 0}hr{border:0;border-top:1px solid var(--line);margin:20px 0}#notice{position:fixed;left:50%;bottom:105px;transform:translateX(-50%);z-index:50;background:#194428;color:white;border-radius:12px;padding:0;max-width:calc(100% - 30px);width:max-content;font-size:13px;box-shadow:0 8px 30px #123c2320;pointer-events:none}#notice:not(:empty){padding:13px 18px}#splash{position:fixed;inset:0;z-index:100;background:white;display:grid;place-items:center}.splash-art{height:100dvh;aspect-ratio:864/1536;max-width:100vw;background:url('./assets/splash.webp') center/100% 100% no-repeat;position:relative}.spinner-mask{position:absolute;top:63.7%;left:39.5%;width:20%;aspect-ratio:1;background:radial-gradient(circle,#fafbf9 55%,#fafbf9 65%,transparent 74%);display:grid;place-items:center}.spinner{border:7px solid #d8e8cd;border-top-color:#66b71a;border-right-color:#66b71a;width:79%;aspect-ratio:1;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:480px){.header{padding:10px 17px;height:76px}.brand{font-size:22px}.brand img{width:48px;height:48px}main{padding:22px 16px 134px}.hero{padding:23px 20px;min-height:198px;border-radius:22px}.hero h1{font-size:32px}.hero img{width:112px;height:135px;margin-right:-8px}.hero p:not(.eyebrow){font-size:12px;max-width:180px}.hero .eyebrow{font-size:8px;max-width:175px;letter-spacing:1px}.shortcuts{gap:7px}.shortcut{font-size:10px;min-height:86px;padding:6px 2px;border-radius:15px}.list-card{gap:9px;padding:12px}.store-icon{width:46px;padding:6px}.list-info .text-button{font-size:15px}.summary strong{font-size:21px}.buy-toggle{gap:8px;padding:16px 9px}.check-circle{width:30px;height:30px;min-width:30px}.product-name{font-size:13px}.buy-price{font-size:12px}.buy-detail small{font-size:10px}.skip-button{min-width:63px;margin-right:7px;padding:9px 5px;font-size:10px}.bottom{padding:13px 16px calc(13px + env(safe-area-inset-bottom))}.bottom .primary{font-size:13px}.local-badge{font-size:9px}.item-price{font-size:12px}.edit-item{gap:3px}.item-detail strong{font-size:13px}.item-detail small{font-size:10px}}@media(min-width:800px){main{padding-top:38px}.hero{min-height:245px;padding:40px}.hero h1{font-size:45px}.hero img{width:210px;height:200px}.shortcut{min-height:100px;font-size:14px}.buy-item .product-name{font-size:17px}.buy-item .buy-detail small{font-size:13px}.buy-price{font-size:16px}.skip-button{font-size:13px;min-width:90px;margin-right:15px}.buy-toggle{padding:20px}.summary strong{font-size:30px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:2s!important}}

#app:not([data-screen="home"]) .header .back{display:block}
