:root{--ink:#222721;--muted:#7d847a;--line:#e9e9df;--lime:#e7fa64;--cream:#f3f0e2}*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink)}body{background:#e9ece5}button,a{font:inherit;color:inherit;touch-action:manipulation}button{cursor:pointer}a{text-decoration:none}[hidden]{display:none!important}.dashboard{height:100vh;height:100dvh;min-height:0;display:flex;flex-direction:column;padding:clamp(16px,2.1vw,30px) clamp(20px,3.1vw,48px) 15px;background:radial-gradient(ellipse at 80% 20%,#f4edcf 0,transparent 43%),linear-gradient(130deg,#f8f5e9 12%,#e6eee4 66%,#d4e5db);overflow:hidden}.header{display:flex;justify-content:space-between;align-items:center;flex:none;padding-bottom:clamp(14px,2vh,22px);border-bottom:1px solid #22272116}.brand{display:flex;align-items:center;gap:10px;font-size:19px;font-weight:800;letter-spacing:.04em}.brand-icon{display:grid;place-items:center;background:#212820;color:var(--lime);width:34px;height:34px;border-radius:50%;font-size:21px}.brand-sub{font-weight:500;font-size:13px;color:#7e897c}.header-actions{display:flex;align-items:center;gap:13px}.today{font-size:13px;color:#68756a}.sync{font-size:11px;color:#788579}.sync.offline{color:#a45b47}.icon-button,.circle-link{display:grid;place-items:center;border:0;background:#fff;width:37px;height:37px;border-radius:50%;font-size:22px;line-height:1}.add{border-radius:30px;background:#202722;color:#fff;font-size:13px;font-weight:700;padding:11px 17px}.add span{font-size:17px;color:var(--lime)}.layout{display:grid;grid-template-columns:1.12fr 1fr;gap:clamp(13px,1.7vw,24px);flex:1;min-height:0;padding-top:clamp(14px,2vh,22px)}.main-column,.side-column{display:flex;flex-direction:column;min-height:0;gap:clamp(12px,1.6vh,18px)}.welcome{flex:none;min-height:clamp(105px,17vh,155px);display:flex;align-items:end;justify-content:space-between;gap:8px;padding:0 5px 4px}.eyebrow,.section-kicker{font-size:9px;letter-spacing:.16em;font-weight:800;color:#8b9786}.eyebrow span{color:#a5b990;font-size:16px;margin-left:5px}.welcome h1{font-size:clamp(27px,3.3vw,48px);letter-spacing:-.045em;line-height:1.17;margin:12px 0 0;font-weight:800}.welcome h1 span{color:#658779}.welcome-right{font-size:11px;color:#8d998b;white-space:nowrap;padding-bottom:4px}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#9bbd9c;margin-right:5px}.panel{border-radius:clamp(20px,2.4vw,34px);padding:clamp(17px,2.2vw,28px);overflow:hidden}.inventory{background:#fff;flex:1;display:flex;flex-direction:column;min-height:0}.section-top{display:flex;align-items:start;justify-content:space-between;gap:10px}.section-kicker{font-size:9px;color:#879086}.section-top h2,.dialog-head h2{font-size:clamp(20px,2.1vw,29px);line-height:1.2;margin:7px 0 0;letter-spacing:-.04em}.count{display:inline-grid;place-items:center;background:#edf2e9;border-radius:20px;font-size:12px;min-width:26px;height:24px;vertical-align:middle;letter-spacing:0;color:#5a7061}.circle-link{background:#222721;color:white;width:36px;height:36px;font-size:20px}.inventory-controls{display:flex;justify-content:space-between;align-items:center;margin:clamp(12px,1.5vh,18px) 0 6px;gap:8px}.tabs{display:flex;gap:5px}.tab{border:1px solid #e5e9e1;background:transparent;border-radius:30px;padding:7px 11px;font-size:11px;white-space:nowrap}.tab.active{background:var(--lime);border-color:var(--lime);font-weight:700}.count-caption{font-size:10px;color:#a2aca0;white-space:nowrap}.food-list{min-height:0;flex:1;display:grid;grid-template-rows:repeat(4,minmax(0,1fr))}.food-row{display:flex;align-items:center;gap:12px;border-bottom:1px solid #eff1ed;min-width:0}.food-row:last-child{border-bottom:0}.food-icon{width:clamp(37px,4vw,50px);height:clamp(37px,4vw,50px);flex:none;border-radius:15px;display:grid;place-items:center;font-size:21px;background:#e9f2df}.food-info{min-width:0;flex:1}.food-name{font-size:clamp(14px,1.45vw,18px);font-weight:750;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.food-meta{font-size:11px;color:#9aa59a;margin-top:4px}.food-quantity{font-size:13px;font-weight:700;white-space:nowrap}.food-arrow{color:#bbc3b8;font-size:17px}.empty{margin:auto;text-align:center;font-size:14px;color:#9aa59a}.empty a{display:block;color:#4c765b;margin-top:10px}.side-column{padding-top:0}.reminder{background:#d6e7d7;flex:.87;display:flex;flex-direction:column;min-height:0}.reminder-star{font-size:29px;color:#6e9d7b}.reminder-content{flex:1;display:flex;flex-direction:column;justify-content:center;min-height:0;padding:5px 0}.reminder-item{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:clamp(6px,1vh,11px) 0;border-bottom:1px solid #79948027}.reminder-item:last-child{border-bottom:0}.reminder-name{font-size:clamp(14px,1.6vw,19px);font-weight:750;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reminder-detail{font-size:11px;color:#758c78;margin-top:3px}.reminder-badge{background:#eef87d;color:#3b472d;border-radius:20px;padding:7px 10px;font-size:11px;font-weight:700;white-space:nowrap}.reminder-empty{font-size:clamp(18px,1.8vw,24px);font-weight:700}.reminder-empty small{display:block;color:#79917d;font-size:12px;font-weight:400;margin-top:8px}.reminder-foot{display:flex;justify-content:space-between;align-items:end;gap:8px;font-size:10px;color:#79917d}.reminder-foot button{padding:0;border:0;background:transparent;font-size:11px;font-weight:700;white-space:nowrap}.recipes{background:#f9f9f4;flex:1;min-height:0;display:flex;flex-direction:column}.coming{background:#f0f0e5;border-radius:20px;font-size:10px;color:#8d9586;padding:7px 10px}.recipe-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(8px,1vw,13px);min-height:0;flex:1;margin-top:clamp(10px,1.5vh,18px)}.recipe{min-width:0;display:flex;flex-direction:column}.recipe-art{flex:1;min-height:25px;border-radius:18px;display:grid;place-items:center;position:relative;overflow:hidden}.recipe-art:before,.recipe-art:after{content:'';position:absolute;border-radius:50%;border:1px solid #ffffff8c}.recipe-art:before{width:68px;height:68px}.recipe-art:after{width:105px;height:105px}.recipe-art span{font-size:clamp(27px,4vw,48px);z-index:1;opacity:.6}.art-one{background:#d9e6cf;color:#5d8a62}.art-two{background:#f1dfba;color:#bf8961}.art-three{background:#d9def1;color:#8b96c2}.recipe-title{font-weight:750;font-size:clamp(12px,1.3vw,16px);margin-top:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.recipe-sub{font-size:10px;color:#9da59b;margin-top:3px}footer{flex:none;display:flex;justify-content:space-between;align-items:center;color:#91a094;font-size:9px;padding:13px 4px 0;letter-spacing:.05em}footer b{color:#92ac91}.all-dialog{width:min(760px,90vw);max-height:85vh;border:0;border-radius:26px;padding:28px;background:#f8f9f4;color:var(--ink);box-shadow:0 24px 80px #202b2738}.all-dialog::backdrop{background:#202a25a8}.dialog-head{display:flex;justify-content:space-between;align-items:start;margin-bottom:20px}.all-foods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.all-foods .food-row{background:#fff;border:0;border-radius:15px;padding:14px}.dialog-empty{padding:30px;text-align:center;color:#89978b}@media(max-height:700px) and (min-width:701px){.dashboard{padding-top:14px}.welcome{min-height:88px}.welcome h1{font-size:29px;margin-top:6px}.panel{padding:17px}.header{padding-bottom:10px}.section-top h2{font-size:21px}.layout{padding-top:10px}.recipe-grid{margin-top:8px}.recipe-art span{font-size:28px}.recipe-title{margin-top:4px}footer{padding-top:7px}.food-icon{width:34px;height:34px;font-size:18px}.food-meta{margin-top:1px}}@media(max-width:700px){.dashboard{height:auto;min-height:100vh;overflow:visible}.header-actions .today,.sync,.welcome-right,.count-caption{display:none}.layout{display:flex;flex-direction:column}.welcome{min-height:120px}.inventory{min-height:370px}.reminder{min-height:240px}.recipes{min-height:270px}.side-column{display:contents}.recipe-art{min-height:120px}.all-foods{grid-template-columns:1fr}footer{margin-top:20px}}

.dialog-note{margin:8px 0 0;color:#89978b;font-size:11px}.all-foods .detailed-row{flex-wrap:wrap;align-content:center;row-gap:8px}.food-metrics{display:flex;gap:8px;flex-wrap:wrap;width:100%;padding-left:clamp(49px,4vw + 12px,62px);font-size:11px;color:#718577}.food-metrics span{background:#f1f5ee;padding:5px 8px;border-radius:8px;white-space:nowrap}.food-metrics .metric-soon{background:#eff7bf;color:#596a34}

button.recipe{border:0;padding:0;background:transparent;text-align:left;color:inherit;cursor:pointer;font:inherit}.recipe:focus-visible{outline:2px solid #678d73;outline-offset:4px;border-radius:18px}.recipe-dialog{width:min(600px,90vw)}.recipe-detail{display:grid;grid-template-columns:150px 1fr;gap:24px;align-items:center}.recipe-detail-icon{display:grid;place-items:center;min-height:160px;border-radius:20px;background:#dcebd5;font-size:60px}.recipe-detail h3{font-size:13px;margin:0 0 8px}.recipe-detail p{font-size:14px;line-height:1.8;color:#6d7b6e;margin:0 0 18px}@media(max-width:500px){.recipe-detail{grid-template-columns:1fr}.recipe-detail-icon{min-height:100px}}

.recipe-hint{flex:none;margin:8px 0 0;font-size:11px;color:#869486}

.recipe-dialog{width:min(790px,92vw);padding:32px}.recipe-body{display:grid;grid-template-columns:minmax(190px,.8fr) minmax(0,1.2fr);gap:26px}.recipe-body h3{font-size:14px;margin:0 0 15px}.recipe-prep,.recipe-steps{background:#fff;border-radius:20px;padding:22px}.recipe-prep h3:not(:first-child){margin-top:24px}.ingredient-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid #eef1eb;font-size:14px;font-weight:650}.ingredient-state{border-radius:20px;padding:6px 10px;font-size:11px;white-space:nowrap}.ingredient-state.is-present{background:#e5f2e2;color:#5a8060}.ingredient-state.is-missing{background:#f4eee4;color:#a0825d}.seasoning-list{display:flex;flex-wrap:wrap;gap:7px}.seasoning-list span{background:#f2f5ef;color:#68776b;border-radius:8px;padding:7px 10px;font-size:12px}.recipe-steps ol{list-style:none;padding:0;margin:0}.recipe-steps li{display:flex;align-items:flex-start;gap:13px;padding:0 0 16px}.recipe-steps li:last-child{padding-bottom:0}.step-number{font-size:11px;font-weight:800;color:#8aa08a;background:#eaf1e5;border-radius:50%;width:27px;height:27px;flex:none;display:grid;place-items:center}.recipe-steps p{margin:3px 0 0;font-size:13px;line-height:1.7;color:#5b695d}@media(max-width:600px){.recipe-dialog{padding:22px}.recipe-body{grid-template-columns:1fr;gap:12px}}
