@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--green:#245642;--ink:#223c30;--cream:#faf7ee;--coral:#e76648;--line:#e2e4d7;--muted:#667467}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font:15px 'DM Sans',sans-serif}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer;border:0;border-radius:10px;padding:11px 17px;background:#e8edde;color:var(--green);font-weight:700}button:hover{filter:brightness(.95)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--coral);outline-offset:3px}a{color:inherit}header,main{max-width:1180px;margin:auto}header{display:flex;align-items:center;gap:24px;padding:26px 24px}.brand{font:800 29px Manrope,sans-serif;letter-spacing:-1.7px;text-decoration:none;white-space:nowrap}.brand-icon{background:var(--green);color:#f3d775;padding:2px 9px;border-radius:50%;margin-right:9px;letter-spacing:0}.brand-dot{color:var(--coral)}.household{flex:1;color:var(--muted);font-size:13px}.quiet{background:transparent;border:1px solid var(--line)}.practice{background:var(--green);color:#fff8dc;text-align:center;padding:9px 16px;font-size:11px;font-weight:700;letter-spacing:1.3px}.practice span{font-weight:400;letter-spacing:.2px;margin-left:16px}main{padding:0 24px}.hero{display:grid;grid-template-columns:1.15fr 1fr;background:#f0edda;border-radius:24px;overflow:hidden;margin:10px 0 24px}.hero>div:first-child{padding:40px 44px}.eyebrow{font-size:10px;font-weight:800;letter-spacing:2px;color:#58734f}h1{font:800 clamp(38px,5vw,58px)/1.07 Manrope,sans-serif;letter-spacing:-2.7px;margin:18px 0}h1 em{color:var(--coral);font-style:normal}.hero p{line-height:1.7;color:var(--muted)}.primary{background:var(--green);color:white}.hero-art{position:relative;background:#f3d775;display:flex;align-items:center;justify-content:center;min-height:300px}.hero-art svg{width:100%;max-width:430px}.art-label{position:absolute;top:23px;right:25px;font-size:10px;font-weight:800;line-height:1.5;letter-spacing:2px;transform:rotate(8deg)}.art-note{position:absolute;bottom:18px;font-size:12px;font-weight:600}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:30px}.stat{background:white;border:1px solid var(--line);padding:18px 20px;border-radius:14px;display:flex;align-items:center;gap:14px}.stat b{display:block;font:800 25px Manrope,sans-serif}.stat small{color:var(--muted)}.stat-icon{background:#eef1e3;padding:11px;border-radius:12px;font-size:22px}nav{display:flex;gap:8px;border-bottom:1px solid var(--line);padding-bottom:12px;overflow-x:auto}nav button{white-space:nowrap;background:transparent;color:var(--muted)}nav button.active{background:var(--green);color:white}.section-head{display:flex;align-items:center;gap:16px;margin:28px 0 20px}.section-head>div{flex:1}h2{font:800 26px Manrope,sans-serif;letter-spacing:-1px;margin:0 0 6px}p{line-height:1.6}.section-head p{margin:0;color:var(--muted);font-size:13px}.filters{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:20px}input,select{padding:12px;border:1px solid var(--line);border-radius:9px;background:white;color:var(--ink)}input[type=search]{flex:1;min-width:180px}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.item,.recipe,.panel{background:white;border:1px solid var(--line);border-radius:16px;padding:20px}.item-top{display:flex;align-items:center;gap:12px}.emoji{font-size:29px;background:#f5f2e6;width:53px;height:53px;display:grid;place-items:center;border-radius:14px}.item h3{font-size:15px;margin:0 0 4px}.sub{font-size:12px;color:var(--muted)}.badge{display:inline-block;border-radius:6px;padding:5px 7px;font-size:10px;font-weight:700;background:#edf1e5;color:#4a6d44}.badge.orange{background:#fff0d0;color:#865d0c}.badge.red{background:#fde9e2;color:#a1422d}.item-meta{display:flex;justify-content:space-between;gap:8px;margin:17px 0 12px}.qty{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding-top:12px}.qty button{padding:5px 12px;font-size:19px}.qty b{font-size:13px}.item-actions{display:flex;gap:8px;margin-top:12px}.item-actions button{padding:8px 10px;font-size:11px;flex:1}.recipe{padding:0;overflow:hidden}.recipe-art{height:135px;display:flex;justify-content:center;align-items:center;font-size:65px;background:#e6edce}.recipe:nth-child(2) .recipe-art{background:#f6d5c0}.recipe:nth-child(3) .recipe-art{background:#f6e5ae}.recipe:nth-child(4) .recipe-art{background:#dcece4}.recipe-body{padding:22px}.recipe h3{font:800 19px Manrope,sans-serif;margin:13px 0 9px}.recipe p{font-size:13px;color:var(--muted);min-height:42px}.recipe-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.pills{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.pills span{font-size:11px;background:#f4f4ed;padding:6px 9px;border-radius:7px}.recipe button{width:100%}.notice{background:#eef2e3;border:1px solid #dbe4cc;border-radius:12px;padding:15px 18px;font-size:13px;line-height:1.6;margin:16px 0}.notice.warm{background:#fff0d6;border-color:#f1dfb8}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:20px}.list-row{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}.list-row>div{flex:1}.list-row button{padding:7px 10px;font-size:12px}.list-row input{width:20px;height:20px}.list-row.done{text-decoration:line-through;opacity:.6}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}label{display:flex;flex-direction:column;gap:7px;font-size:12px;margin-bottom:12px}label input,label select{width:100%}.receipt-table{width:100%;border-collapse:collapse;font-size:13px}.receipt-table td,.receipt-table th{text-align:left;padding:12px 6px;border-bottom:1px solid var(--line)}.receipt-table td:last-child,.receipt-table th:last-child{text-align:right}.receipt-table input[type=number]{width:85px;padding:7px}.bar{height:8px;background:#edf0e5;border-radius:5px;overflow:hidden;margin:7px 0 15px}.bar>div{background:var(--green);height:100%}footer{text-align:center;padding:35px 10px;font-size:11px;color:var(--muted);line-height:1.8}dialog{border:1px solid var(--line);border-radius:20px;max-width:650px;width:calc(100% - 30px);padding:28px;color:var(--ink);background:var(--cream)}dialog::backdrop{background:#17332688}dialog h2{margin:5px 0 16px}dialog li{line-height:1.6;margin-bottom:9px}.close{margin-top:20px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);padding:13px 22px;background:var(--green);color:white;border-radius:12px;display:none;z-index:10;max-width:90vw;font-size:13px}.empty{text-align:center;padding:45px;color:var(--muted)}.danger{background:#fbe5dc;color:#9b3825}.receipt-preview{max-height:260px;max-width:100%;border-radius:12px}.flex{display:flex;gap:10px;flex-wrap:wrap}.spacer{margin-top:18px}
@media(max-width:800px){.grid{grid-template-columns:repeat(2,1fr)}.stats{grid-template-columns:repeat(2,1fr)}.household{display:none}header{justify-content:space-between}.hero>div:first-child{padding:30px}.hero-art{min-height:250px}.two-col{grid-template-columns:1fr}}@media(max-width:540px){header,main{padding-left:16px;padding-right:16px}header{padding-top:20px;padding-bottom:18px}.brand{font-size:25px}header button{font-size:11px;padding:9px}.practice span{display:block;margin:4px 0 0;font-size:10px}.hero{grid-template-columns:1fr}.hero>div:first-child{padding:28px}.hero-art{min-height:180px;height:180px}.hero-art svg{max-width:270px}.art-label{font-size:8px;right:15px;top:16px}.art-note{font-size:10px;bottom:10px}h1{font-size:43px;margin:12px 0}.hero p{font-size:13px}.stats{gap:8px;margin-bottom:20px}.stat{padding:13px 10px;gap:9px}.stat-icon{font-size:17px;padding:8px}.stat b{font-size:21px}.stat small{font-size:10px}nav{gap:3px}nav button{padding:10px 12px;font-size:12px}.grid,.recipe-grid{grid-template-columns:1fr}.section-head{align-items:flex-start}h2{font-size:23px}.section-head>button{font-size:12px}.form-grid{grid-template-columns:1fr}.receipt-table{font-size:11px}.receipt-table input[type=number]{width:65px}}
.cook-row{border:1px solid var(--line);border-radius:12px;background:white;padding:15px;margin:12px 0}.cook-row>label{margin-top:10px}.cook-amount{display:flex;align-items:center;gap:12px}.cook-amount label{flex:1}button:disabled{opacity:.45;cursor:not-allowed}details{margin-top:10px}summary{cursor:pointer;font-size:12px}
