:root{--forest:#175b3d;--green:#2d8257;--mint:#e5f1e9;--cream:#f7f5ef;--ink:#17352b;--muted:#6d7d74;--line:#dce5dd;--coral:#e96a50;--white:#fff;--shadow:0 14px 35px rgba(24,60,42,.09)}*{box-sizing:border-box}body{margin:0;background:linear-gradient(135deg,#f1f5ed 0%,#f7f5ef 55%,#edf4ec 100%);color:var(--ink);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;min-height:100vh}.app-shell{width:min(920px,calc(100% - 32px));margin:0 auto;padding:50px 0 64px}.hero{padding:4px 8px 34px}.brand-row{display:flex;align-items:center;gap:12px}.brand-mark{height:41px;width:41px;display:grid;place-items:center;background:var(--forest);color:#fff;border-radius:13px;font-size:24px;font-weight:700;box-shadow:0 5px 13px #175b3d35}.eyebrow{font-size:10px;letter-spacing:.13em;font-weight:700;color:var(--green);margin:0 0 1px}h1,h2,h3,p{margin-top:0}h1{font-family:Georgia,"Times New Roman",serif;font-size:34px;line-height:1;margin:0}.text-button{margin-left:auto;border:0;background:transparent;color:var(--green);font:600 13px inherit;padding:10px;border-radius:8px;cursor:pointer}.text-button:hover,.text-button:focus-visible{background:#e4efe7}.subtitle{margin:22px 0;color:var(--muted);font-size:16px}.progress-wrap{max-width:550px}.progress-label{display:flex;justify-content:space-between;font-size:12px;font-weight:600;color:var(--muted);margin-bottom:8px}.progress-track{height:7px;background:#dce8de;border-radius:9px;overflow:hidden}.progress-bar{height:100%;width:0;background:var(--green);border-radius:inherit;transition:width .3s}.card,.list-panel{background:rgba(255,255,255,.91);border:1px solid rgba(220,229,221,.8);box-shadow:var(--shadow);border-radius:20px}.add-card{padding:23px 25px}.section-heading{display:flex;align-items:baseline;justify-content:space-between}.section-heading h2,.toolbar h2{font:700 20px Georgia,"Times New Roman",serif;margin-bottom:19px}.hint{font-size:12px;color:var(--muted)}.item-form{display:grid;grid-template-columns:2.2fr .8fr 1fr auto;gap:10px;align-items:end}.field{min-width:0}.field span{display:block;font-size:11px;font-weight:700;color:var(--muted);margin:0 0 5px 2px}input,select{width:100%;font:500 14px inherit;color:var(--ink);border:1px solid var(--line);border-radius:10px;background:#fbfcfa;padding:11px 12px;height:42px;outline:none}input:focus,select:focus{border-color:var(--green);box-shadow:0 0 0 3px #2d825721}.add-button{height:42px;border:0;border-radius:10px;padding:0 17px;background:var(--forest);color:#fff;font:700 14px inherit;cursor:pointer;white-space:nowrap}.add-button span{font-size:19px;vertical-align:-1px;margin-right:3px}.add-button:hover{background:#10482f}.list-panel{margin-top:24px;padding:25px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px}.toolbar h2{margin-bottom:0}.search{height:38px;width:210px;display:flex;align-items:center;gap:5px;color:var(--muted);border:1px solid var(--line);border-radius:10px;padding:0 10px}.search input{border:0;background:transparent;height:100%;padding:0;font-size:13px}.search:focus-within{border-color:var(--green);box-shadow:0 0 0 3px #2d825721}.filters{display:flex;gap:7px;margin:22px 0 16px;border-bottom:1px solid var(--line);padding-bottom:14px}.filter{border:0;background:transparent;color:var(--muted);border-radius:8px;padding:7px 10px;cursor:pointer;font:600 13px inherit}.filter span{font-size:11px;background:#edf1ed;border-radius:20px;padding:2px 6px;margin-left:2px}.filter.active{color:var(--forest);background:var(--mint)}.filter.active span{background:#cbe2d1}.grocery-list{display:grid;gap:9px}.item{display:flex;align-items:center;gap:13px;padding:13px 10px 13px 4px;border-radius:13px;transition:background .15s}.item:hover{background:#f7faf7}.check{width:23px;height:23px;min-width:23px;border:2px solid #abc4b2;border-radius:50%;background:#fff;cursor:pointer;color:#fff;font-size:14px;font-weight:bold}.item.purchased .check{border-color:var(--green);background:var(--green)}.item-main{min-width:0;flex:1}.item-name{font-weight:600;font-size:15px;overflow-wrap:anywhere}.item.purchased .item-name{text-decoration:line-through;color:#89968e}.metadata{display:flex;gap:7px;margin-top:4px;font-size:12px;color:var(--muted)}.tag{background:#edf3ee;color:#4d715a;border-radius:5px;padding:2px 6px}.quantity{white-space:nowrap}.actions{display:flex;opacity:0;transition:opacity .15s}.item:hover .actions,.item:focus-within .actions{opacity:1}.icon-button{border:0;background:transparent;color:#6d7d74;width:31px;height:31px;border-radius:8px;cursor:pointer;font-size:16px}.icon-button:hover{background:#e5efe7;color:var(--forest)}.delete:hover{background:#ffebe7;color:#bd4933}.empty-state{text-align:center;padding:52px 10px 42px}.empty-icon{font:44px Fraunces;color:var(--green);margin-bottom:7px}.empty-state h3{font:700 19px Fraunces;margin-bottom:7px}.empty-state p{color:var(--muted);font-size:14px}.secondary-button{border:1px solid #b8cfbd;background:#fff;color:var(--forest);font:600 13px inherit;border-radius:9px;padding:9px 13px;cursor:pointer}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);opacity:0;background:#183d2c;color:#fff;padding:10px 15px;border-radius:9px;font-size:13px;pointer-events:none;transition:.2s}.toast.show{transform:translate(-50%,0);opacity:1}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}button:focus-visible{outline:3px solid #82bd96;outline-offset:2px}@media(max-width:650px){.app-shell{width:min(100% - 22px,920px);padding-top:26px}.hero{padding:4px 3px 24px}.add-card,.list-panel{padding:18px 15px;border-radius:16px}.item-form{grid-template-columns:1fr 1fr}.field-name{grid-column:1/-1}.add-button{grid-column:1/-1}.toolbar{align-items:flex-start}.search{width:145px}.filters{overflow-x:auto;margin-left:-3px;margin-right:-3px}.filter{white-space:nowrap}.actions{opacity:1}.subtitle{margin:17px 0}.hint{display:none}}
