:root{--bg:#f6faf7;--surface:#fffefc;--surface-strong:#eef6f2;--text:#18211f;--muted:#65716d;--line:#d8e2dc;--accent:#147a63;--accent-strong:#0c5b49;--danger:#a33846;--sun:#f2ba4b;--shadow:0 16px 40px #10271f1f;--sans:system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;color:var(--text);background:var(--bg);font:16px/1.5 var(--sans);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}body{min-width:320px;min-height:100svh;margin:0}button,input{font:inherit}button{-webkit-tap-highlight-color:transparent}#app{height:100dvh;min-height:100svh}.app-shell{background:var(--surface);width:min(100%,460px);height:100dvh;min-height:100svh;max-height:100dvh;box-shadow:var(--shadow);grid-template-rows:auto minmax(0,1fr) auto auto auto;margin:0 auto;display:grid;overflow:hidden}.app-header{padding:calc(18px + env(safe-area-inset-top)) 18px 14px;border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:14px;display:flex}.app-title{letter-spacing:0;margin:0;font-size:24px;font-weight:800;line-height:1.1}.count-pill{text-align:center;min-width:52px;color:var(--accent-strong);background:var(--surface-strong);border:1px solid #cae0d6;border-radius:8px;padding:8px 10px;font-weight:700}.list-area{background:linear-gradient(#fffefc,#fffefc) padding-box padding-box,linear-gradient(#147a6314,#f2ba4b14) border-box;min-width:0;min-height:0;padding:14px 14px 24px;overflow-y:auto}.shopping-list{gap:10px;margin:0;padding:0;list-style:none;display:grid}.item-row{border:1px solid var(--line);background:#fff;border-radius:8px;grid-template-columns:minmax(0,1fr) 52px;align-items:center;gap:10px;min-height:62px;padding:8px 8px 8px 16px;display:grid}.item-label{overflow-wrap:anywhere;min-width:0;font-size:19px;font-weight:700;line-height:1.35}.done-button,.add-button{color:#fff;cursor:pointer;border:0;border-radius:8px;place-items:center;min-width:52px;min-height:52px;display:inline-grid}.done-button{background:var(--accent);font-size:26px}.add-button{background:var(--accent-strong);font-size:30px;line-height:1}.done-button:active,.add-button:active{transform:translateY(1px)}.done-button:focus-visible,.add-button:focus-visible,.item-input:focus-visible{outline:3px solid var(--sun);outline-offset:2px}.empty-state{min-height:44svh;color:var(--muted);text-align:center;place-items:center;font-weight:700;display:grid}.empty-state[hidden],.storage-notice[hidden]{display:none}.quick-picks{border-top:1px solid var(--line);background:#fbfdfb;width:100%;min-width:0;padding:10px 14px 11px}.quick-picks[hidden]{display:none}.quick-picks-title{color:var(--muted);letter-spacing:0;margin:0 0 7px;font-size:13px;font-weight:800;line-height:1.2}.quick-pick-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;min-width:0;max-width:100%;margin-bottom:8px;display:grid}.quick-pick-button{min-width:0;min-height:48px;color:var(--accent-strong);background:var(--surface-strong);cursor:pointer;overflow-wrap:anywhere;word-break:keep-all;border:1px solid #c9dbd1;border-radius:8px;padding:5px 8px;font-size:15px;font-weight:800;line-height:1.15;overflow:hidden}.quick-pick-button:active{transform:translateY(1px)}.quick-pick-button:focus-visible{outline:3px solid var(--sun);outline-offset:2px}.quick-pick-select{width:100%;min-height:44px;color:var(--accent-strong);background:#fff;border:1px solid #bccbc3;border-radius:8px;padding:0 12px;font-size:16px;font-weight:800}.quick-pick-select:focus-visible{outline:3px solid var(--sun);outline-offset:2px}.composer{width:100%;min-width:0;padding:12px 14px calc(14px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fffefcf5;grid-template-columns:minmax(0,1fr) 56px;gap:10px;display:grid}.item-input{min-width:0;min-height:56px;color:var(--text);background:#fff;border:1px solid #bccbc3;border-radius:8px;padding:0 15px;font-size:18px}.item-input::placeholder{color:#75817d}.storage-notice{color:#fff;background:var(--danger);border-radius:8px;margin:0 14px 10px;padding:10px 12px;font-weight:700}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (width>=720px){body{place-items:center;padding:28px;display:grid}.app-shell{border:1px solid var(--line);border-radius:8px;height:min(820px,100svh - 56px);min-height:min(820px,100svh - 56px);max-height:min(820px,100svh - 56px);overflow:hidden}}
