.food-reference-editor fieldset{border:1px solid var(--line);border-radius:16px;gap:10px;margin:0;padding:14px;display:grid}.food-reference-editor legend{padding:0 6px;font-size:.78rem;font-weight:850}.food-reference-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.food-reference-grid .wide-field{grid-column:1/-1}.nutrient-reference-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.density-fields{grid-template-columns:minmax(130px,.5fr) minmax(220px,1.5fr)}.food-reference-ai{background:color-mix(in srgb,var(--paper) 88%,#eee9ff);border:1px solid #bbaef0;border-radius:16px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 16px;padding:14px;display:grid}.food-reference-ai>div:first-child{gap:4px;display:grid}.food-reference-ai small{color:var(--muted)}.ai-reference-result{border-top:1px solid var(--line);grid-column:1/-1;gap:4px;padding-top:10px;display:grid}html[data-theme=dark] .food-reference-ai{background:#292344;border-color:#6653b2}@media (width<=720px){.food-reference-grid,.density-fields,.food-reference-ai{grid-template-columns:1fr}.nutrient-reference-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ai-reference-result{grid-column:auto}}@media (width<=420px){.nutrient-reference-grid{grid-template-columns:1fr}}.ingredient-editor-actions{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}@media (width<=520px){.ingredient-editor-actions .button{width:100%}}.dashboard-goal-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:14px;display:flex}.nutrition-streak{border:1px solid var(--line);color:var(--muted);background:var(--paper);border-radius:14px;align-items:center;gap:9px;padding:8px 12px;display:flex}.nutrition-streak svg{color:#a6adbc;width:22px}.nutrition-streak span{grid-template-columns:auto 1fr;align-items:baseline;gap:0 4px;font-size:.72rem;font-weight:800;display:grid}.nutrition-streak strong{color:var(--ink);font-size:1.18rem}.nutrition-streak small{color:var(--muted);grid-column:1/-1;font-size:.58rem;font-weight:650}.nutrition-streak.active{color:#a46112;background:#fff4dc;border-color:#f2b45c;box-shadow:0 8px 24px #e58b2124}.nutrition-streak.active svg{color:#f08a24;fill:#ffd170;animation:1.35s ease-in-out infinite alternate streak-flame}.dashboard-goal.goal-achieved,.target-card.goal-achieved{border-color:#63c99b;animation:.85s cubic-bezier(.18,.89,.32,1.28) goal-achievement-pop;position:relative;overflow:hidden;box-shadow:0 12px 32px #23a96f2e}.dashboard-goal.goal-achieved:before,.target-card.goal-achieved:before{content:"";pointer-events:none;background:conic-gradient(#0000,#ffffffbf,#0000 23%);animation:1.1s ease-out both goal-achievement-shine;position:absolute;inset:-45%}.goal-achieved-label{z-index:1;background:#dff7eb;border-radius:99px;justify-content:center;align-items:center;gap:5px;width:fit-content;margin-inline:auto;padding:4px 8px;font-weight:850;position:relative;color:#16734f!important;font-size:.62rem!important;display:inline-flex!important}.goal-achieved-label svg{width:14px;height:14px}.target-copy .goal-achieved-label{margin-top:7px}.nutrition-history-hero{background:linear-gradient(135deg, color-mix(in srgb, var(--paper) 90%, #eee9ff), color-mix(in srgb, var(--paper) 91%, #fff0dc));border:1px solid #e1d6ff;border-radius:24px;grid-template-columns:minmax(0,1fr) auto auto;align-items:stretch;gap:14px;margin-bottom:18px;padding:20px;display:grid}.nutrition-history-hero h2{margin:4px 0 7px}.nutrition-history-hero p{max-width:720px;color:var(--muted);margin:0;font-size:.78rem}.history-streak-card,.history-achievement-card{border:1px solid var(--line);background:var(--paper);border-radius:18px;align-items:center;gap:12px;min-width:150px;padding:15px;display:flex}.history-streak-card>svg,.history-achievement-card>svg{color:#9aa3b4;width:30px}.history-streak-card.active{background:#fff5e1;border-color:#f1b95f}.history-streak-card.active>svg{color:#ef8a25;fill:#ffd374}.history-achievement-card>svg{color:#2fa878}.history-streak-card span,.history-achievement-card span{display:grid}.history-streak-card strong,.history-achievement-card strong{font-size:1.35rem}.history-streak-card small,.history-achievement-card small{color:var(--muted);font-size:.65rem}.nutrition-history-section,.weekly-energy-section,.long-term-history{margin-bottom:18px}.history-legend{color:var(--muted);flex-wrap:wrap;align-items:center;gap:12px;font-size:.65rem;display:flex}.history-legend>span{align-items:center;gap:5px;display:inline-flex}.history-matrix{border:1px solid var(--line);background:var(--paper);border-radius:16px;max-height:520px;overflow:auto}.history-row{border-bottom:1px solid var(--line);grid-template-columns:minmax(92px,1.5fr) repeat(5,minmax(36px,1fr));align-items:center;gap:8px;min-height:40px;padding:6px 12px;display:grid}.history-row:last-child{border-bottom:0}.history-row time{color:var(--muted);font-size:.7rem;font-weight:700}.history-header{z-index:2;background:color-mix(in srgb, var(--paper) 90%, #ebe6fb);min-height:36px;position:sticky;top:0}.history-header span,.history-header abbr{color:var(--muted);text-align:center;font-size:.62rem;font-weight:850;text-decoration:none}.history-header span{text-align:left}.history-dot{border:2px solid #0000;border-radius:50%;flex:0 0 13px;justify-self:center;width:13px;height:13px;display:inline-block}.history-dot.status-achieved{background:#35b87e;box-shadow:0 0 0 3px #35b87e1f}.history-dot.status-near{background:#e4ad36;box-shadow:0 0 0 3px #e4ad361f}.history-dot.status-missed{background:#db5c67;box-shadow:0 0 0 3px #db5c671f}.history-dot.status-unknown{background:0 0;border-color:#aab1bf}.weekly-energy-section>.section-title>svg{color:#7254d6}.weekly-energy-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.weekly-energy-card{border:1px solid var(--line);background:var(--paper);border-radius:16px;gap:5px;padding:14px;display:grid}.weekly-energy-card header{color:var(--muted);justify-content:space-between;align-items:center;font-size:.68rem;font-weight:800;display:flex}.weekly-energy-card header svg{width:18px}.weekly-energy-card>strong{margin-top:4px;font-size:1.16rem}.weekly-energy-card>small{color:var(--muted)}.weekly-energy-card>div{border-top:1px solid var(--line);color:var(--muted);gap:2px;margin-top:7px;padding-top:7px;font-size:.6rem;display:grid}.weekly-energy-card.surplus{border-color:#e7b96b}.weekly-energy-card.surplus header svg,.weekly-energy-card.surplus>strong{color:#b76b18}.weekly-energy-card.deficit{border-color:#83b9ef}.weekly-energy-card.deficit header svg,.weekly-energy-card.deficit>strong{color:#2b76bd}.weekly-energy-card.balanced{border-color:#64c99b}.weekly-energy-card.balanced>strong{color:#21835d}.history-help{color:var(--muted);margin-top:10px;display:block}.history-empty{color:var(--muted);margin:0}.long-term-dots{flex-wrap:wrap;gap:10px;padding:10px 2px;display:flex}html[data-theme=dark] .nutrition-streak.active,html[data-theme=dark] .history-streak-card.active{color:#ffd692;background:#43331d;border-color:#8f6427}html[data-theme=dark] .nutrition-history-hero{background:linear-gradient(135deg,#292541,#332a27);border-color:#4c416b}html[data-theme=dark] .history-matrix,html[data-theme=dark] .weekly-energy-card,html[data-theme=dark] .history-streak-card,html[data-theme=dark] .history-achievement-card{background:#18213a}html[data-theme=dark] .history-header{background:#252c48}html[data-theme=dark] .goal-achieved-label{background:#194d3b;color:#9ce4c3!important}@keyframes goal-achievement-pop{0%{transform:scale(.96)}55%{transform:scale(1.025)}to{transform:scale(1)}}@keyframes goal-achievement-shine{0%{opacity:1;transform:translate(-65%)rotate(0)}to{opacity:0;transform:translate(65%)rotate(40deg)}}@keyframes streak-flame{0%{transform:translateY(1px)scale(.96)}to{transform:translateY(-1px)scale(1.06)}}@media (width<=980px){.nutrition-history-hero{grid-template-columns:1fr 1fr}.nutrition-history-hero>div:first-child{grid-column:1/-1}.weekly-energy-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=640px){.dashboard-goal-actions{justify-content:stretch;align-items:stretch;width:100%}.nutrition-streak{flex:1}.nutrition-history-hero{grid-template-columns:1fr;padding:15px}.nutrition-history-hero>div:first-child{grid-column:auto}.history-streak-card,.history-achievement-card{min-width:0}.history-legend{flex-direction:column;align-items:flex-start;gap:6px}.history-row{grid-template-columns:minmax(78px,1.4fr) repeat(5,minmax(28px,1fr));gap:4px;padding-inline:8px}.weekly-energy-grid{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){.dashboard-goal.goal-achieved,.target-card.goal-achieved,.dashboard-goal.goal-achieved:before,.target-card.goal-achieved:before,.nutrition-streak.active svg{animation:none}}:root{color:var(--ink);font-synthesis:none;--cream:#fff8ed;--paper:#fffdf8;--ink:#29241f;--muted:#776f66;--coral:#e9624b;--coral-dark:#c94634;--leaf:#4f8563;--leaf-soft:#e6f0e8;--berry:#8e5571;--gold:#d49b32;--line:#e9e0d4;--shadow:0 18px 50px #4a34241a;--safe-bottom:env(safe-area-inset-bottom,0px);background:#f8f3e9;font-family:DM Sans,system-ui,sans-serif}*{box-sizing:border-box}html{background:var(--cream);scroll-behavior:smooth}body{background:radial-gradient(circle at 75% -10%,#ffe4c7 0,#0000 32%),#f8f3e9;min-width:0;min-height:100vh;margin:0}button,input,textarea,select{font:inherit}button{color:inherit}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline-offset:2px;outline:3px solid #e9624b59}h1,h2,h3,p{margin-top:0}h1,h2,h3{text-wrap:balance}h1,h2{font-family:Fraunces,Georgia,serif}h1{letter-spacing:-.045em;margin-bottom:16px;font-size:clamp(2.1rem,5vw,4.2rem);line-height:.98}h2{margin-bottom:8px;font-size:clamp(1.45rem,3vw,2.1rem)}p{line-height:1.6}svg{flex:none}.boot-screen{min-height:100vh;color:var(--muted);place-content:center;justify-items:center;display:grid}.brand-mark{background:var(--coral);color:#fff;width:72px;height:72px;box-shadow:var(--shadow);border-radius:24px;place-items:center;font:750 2rem Fraunces;display:grid}.app-shell{grid-template-columns:248px 1fr;min-height:100vh;display:grid}.sidebar{border-right:1px solid var(--line);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);z-index:20;background:#fffdf8e8;flex-direction:column;height:100vh;padding:28px 20px;display:flex;position:sticky;top:0}.brand,.mobile-brand{text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:12px;padding:0;display:flex}.brand>span{background:var(--coral);color:#fff;border-radius:16px;place-items:center;width:46px;height:46px;display:grid;transform:rotate(-4deg)}.brand strong{font:750 1.28rem Fraunces;display:block}.brand small{color:var(--muted);letter-spacing:.04em;font-size:.69rem}.sidebar nav{gap:7px;margin-top:44px;display:grid}.sidebar nav button,.account-link{cursor:pointer;min-height:48px;color:var(--muted);background:0 0;border:0;border-radius:15px;align-items:center;gap:14px;padding:0 14px;font-weight:600;display:flex}.sidebar nav button:hover,.account-link:hover{color:var(--ink);background:#f7efe4}.sidebar nav button.active{background:var(--ink);color:#fff;box-shadow:0 10px 22px #29241f29}.sidebar nav svg,.account-link svg{width:20px}.sidebar-card{color:#fff;background:linear-gradient(145deg, var(--berry), #65384f);border-radius:20px;margin-top:auto;padding:17px;box-shadow:0 14px 30px #5f304838}.sidebar-card>svg{color:#ffd6a0}.sidebar-card strong{margin:9px 0 3px;display:block}.sidebar-card p{opacity:.8;margin-bottom:12px;font-size:.78rem;line-height:1.45}.sidebar-card button{color:#fff;cursor:pointer;background:#ffffff24;border:0;border-radius:10px;align-items:center;gap:8px;padding:9px 11px;font-weight:600;display:flex}.sidebar-card button svg{width:16px}.account-link{width:100%;margin-top:13px}.app-column{min-width:0}.topbar{z-index:15;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#f8f3e9d1;border-bottom:1px solid #e9e0d4b3;justify-content:flex-end;align-items:center;gap:12px;height:70px;padding:0 clamp(18px,4vw,48px);display:flex;position:sticky;top:0}.mobile-brand{margin-right:auto;display:none}.mobile-brand svg{color:var(--coral)}.sync-pill{border:1px solid var(--line);color:var(--muted);background:#fff9;border-radius:99px;align-items:center;gap:7px;padding:8px 12px;font-size:.77rem;display:flex}.sync-pill svg{width:15px}.top-actions{gap:6px;display:flex}.icon-button{border:1px solid var(--line);background:var(--paper);cursor:pointer;border-radius:13px;place-items:center;width:42px;height:42px;display:grid}.icon-button:hover{transform:translateY(-1px);box-shadow:0 7px 18px #3c281914}.icon-button svg{width:19px}.icon-button.subtle{color:#a69c91;background:0 0;border:0}.main-content{max-width:1540px;padding:48px clamp(20px, 5vw, 70px) calc(64px + var(--safe-bottom));margin:0 auto}.bottom-nav{display:none}.page-heading{justify-content:space-between;align-items:end;gap:30px;margin:4px 0 36px;display:flex}.page-heading>div:first-child{max-width:820px}.page-heading p{color:var(--muted);margin-bottom:0;font-size:1.05rem}.hero-heading{background:linear-gradient(120deg,#fff8edf0,#ffe9d2d9);border-radius:36px;padding:clamp(24px,4vw,52px);position:relative;overflow:hidden}.hero-heading:after{content:"";border:45px solid #e9624b17;border-radius:50%;width:250px;height:250px;position:absolute;top:-100px;right:-80px}.eyebrow{text-transform:uppercase;letter-spacing:.13em;color:var(--coral-dark);margin-bottom:9px;font-size:.72rem;font-weight:700;display:block}.heading-actions,.plan-controls{z-index:1;flex-wrap:wrap;gap:10px;display:flex;position:relative}.button{cursor:pointer;border:1px solid #0000;border-radius:13px;justify-content:center;align-items:center;gap:9px;min-height:44px;padding:0 16px;font-weight:650;transition:all .2s;display:inline-flex}.button:hover:not(:disabled){transform:translateY(-2px)}.button:disabled{opacity:.55;cursor:wait}.button svg{width:18px}.button.primary{background:var(--coral);color:#fff;box-shadow:0 10px 24px #c9463438}.button.tertiary{background:0 0;border-color:#d9ccbd}.button.full{width:100%}.text-button{color:var(--coral-dark);cursor:pointer;background:0 0;border:0;padding:5px 0;font-weight:700}.notice{border:1px solid var(--line);color:var(--muted);background:#f7f4ef;border-radius:14px;padding:13px 15px;font-size:.88rem;line-height:1.45}.search-field{background:var(--paper);border:1px solid var(--line);border-radius:17px;align-items:center;gap:11px;max-width:760px;padding:0 17px;display:flex;box-shadow:0 8px 30px #46301e0d}.search-field input{background:0 0;border:0;outline:0;width:100%;min-width:0;height:54px}.result-line{color:var(--muted);margin:20px 0 12px;font-size:.88rem}.result-line strong{color:var(--ink)}.recipe-grid{grid-template-columns:repeat(auto-fill,minmax(min(300px,100%),1fr));gap:22px;display:grid}.recipe-card{text-align:left;background:var(--paper);cursor:pointer;border:1px solid #e1d7cbd9;border-radius:25px;min-width:0;padding:0;transition:all .25s;overflow:hidden;box-shadow:0 8px 30px #46301e0e}.recipe-card:hover{box-shadow:var(--shadow);transform:translateY(-5px)}.recipe-image-wrap{background:#eadbca;height:190px;position:relative;overflow:hidden}.recipe-image{object-fit:cover;width:100%;height:100%;transition:transform .4s}.recipe-card:hover .recipe-image{transform:scale(1.035)}.review-pill{color:#724f1d;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#fff2d5ed;border-radius:99px;padding:6px 9px;font-size:.66rem;font-weight:700;position:absolute;top:13px;right:13px}.recipe-card h3{margin:11px 0 7px;font:700 1.25rem Fraunces}.recipe-card p{min-height:44px;color:var(--muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-bottom:18px;font-size:.88rem;display:-webkit-box;overflow:hidden}.chip-row{flex-wrap:wrap;gap:5px;min-height:25px;display:flex}.chip{background:var(--leaf-soft);color:#3e6f50;border-radius:99px;align-items:center;gap:4px;padding:5px 7px;font-size:.64rem;font-weight:650;display:inline-flex}.recipe-card footer{color:var(--muted);justify-content:space-between;font-size:.74rem;display:flex}.recipe-card footer span{align-items:center;gap:5px;display:inline-flex}.recipe-card-compact{border-radius:20px;grid-template-columns:122px 1fr;width:100%;display:grid}.recipe-card-compact .recipe-image-wrap{height:100%;min-height:125px}.recipe-card-compact .recipe-card-body{padding:14px}.recipe-card-compact .review-pill,.recipe-card-compact p{display:none}.modal-backdrop{z-index:100;padding:max(18px, env(safe-area-inset-top)) 18px max(18px, env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#251f198f;place-items:center;display:grid;position:fixed;inset:0;overflow-y:auto}.modal-card{background:var(--paper);border-radius:26px;width:min(540px,100%);max-height:92vh;animation:.2s ease-out modal-in;overflow:hidden;box-shadow:0 30px 100px #1e140f4d}.modal-card.modal-wide{width:min(960px,100%)}@keyframes modal-in{0%{opacity:0;transform:translateY(12px)scale(.98)}}.modal-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;min-height:68px;padding:14px 18px 14px 24px;display:flex}.modal-header h2{margin:0;font-size:1.35rem}.modal-body{max-height:calc(92vh - 68px);padding:22px;overflow-y:auto}.detail-image{object-fit:cover;border-radius:20px;width:100%;height:min(34vh,320px)}.detail-intro{margin:18px 0}.detail-intro p{color:var(--muted)}.nutrient-grid{grid-template-columns:repeat(4,1fr);gap:9px;display:grid}.nutrient-card{background:#fff0eb;border-radius:17px;align-content:space-between;min-width:0;min-height:105px;padding:14px;display:grid}.nutrient-card span{color:var(--muted);font-size:.72rem}.nutrient-card strong{font-size:1.4rem}.nutrient-card small{font-size:.7rem}.nutrient-green{background:#e8f3ea}.nutrient-berry{background:#f4e8ee}.nutrient-gold{background:#fff1d8}.detail-values{background:#f7f2ea;border-radius:14px;grid-template-columns:repeat(3,1fr);gap:8px;margin:8px 0;padding:14px;display:grid}.detail-values small{color:var(--muted);grid-column:1/-1}.detail-columns{grid-template-columns:.85fr 1.15fr;gap:30px;margin:26px 0;display:grid}.detail-columns h3{font:700 1.15rem Fraunces}.ingredient-list,.step-list{gap:9px;margin:0;padding:0;list-style:none;display:grid}.ingredient-list li{border-bottom:1px solid var(--line);grid-template-columns:75px 1fr;padding:0 0 8px;font-size:.88rem;display:grid}.ingredient-list span{color:var(--muted)}.step-list li{gap:11px;display:flex}.step-list li>span{background:var(--coral);color:#fff;border-radius:50%;flex:none;place-items:center;width:28px;height:28px;font-size:.75rem;font-weight:700;display:grid}.step-list p{margin-bottom:8px;font-size:.88rem}.form-stack{gap:16px;display:grid}.form-stack label,.idea-hero label,.profile-target-fields label,.plan-controls label,.profile-select{color:var(--muted);gap:7px;font-size:.78rem;font-weight:650;display:grid}input,textarea,select{border:1px solid var(--line);width:100%;color:var(--ink);background:#fff;border-radius:12px;outline:none;padding:12px 13px}textarea{resize:vertical;line-height:1.5}.idea-hero{color:#fff;background:linear-gradient(145deg,#73425c,#9a5a78);border-radius:30px;max-width:880px;margin:0 auto 42px;padding:clamp(22px,5vw,42px);box-shadow:0 22px 60px #6b375033}.idea-icon{color:#ffd399;background:#ffffff21;border-radius:16px;place-items:center;width:48px;height:48px;margin-bottom:18px;display:grid}.idea-hero label{color:#fffc;font-size:.88rem}.idea-hero textarea{border-color:#0000;min-height:92px;margin:8px 0 14px}.section-block{border:1px solid var(--line);background:#fffdf8cc;border-radius:26px;margin-bottom:28px;padding:clamp(20px,3vw,30px)}.section-title{justify-content:space-between;align-items:center;gap:15px;margin-bottom:17px;display:flex}.section-title h2{margin:0}.pantry-chips{flex-wrap:wrap;gap:8px;margin-bottom:17px;display:flex}.pantry-chips span{background:var(--leaf-soft);color:#3d6c4d;border-radius:99px;padding:8px 11px;font-size:.79rem}.inline-form{gap:10px;display:flex}.inline-form.prominent{background:var(--paper);max-width:800px;box-shadow:var(--shadow);border-radius:18px;margin-bottom:30px;padding:10px}.inline-form input{min-width:0}.count-badge{background:var(--leaf);color:#fff;border-radius:99px;padding:8px 11px}.suggestion-list{gap:13px;display:grid}.suggestion-row{grid-template-columns:40px 1fr;align-items:center;gap:10px;display:grid}.suggestion-number{background:var(--coral);color:#fff;border-radius:50%;place-items:center;width:38px;height:38px;font:700 1rem Fraunces;display:grid}.profile-select select,.plan-controls select{background:var(--paper);min-width:160px}.target-grid{grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:28px;display:grid}.target-card{border:1px solid var(--line);background:var(--paper);border-radius:20px;padding:20px}.target-card header{justify-content:space-between;align-items:baseline;gap:10px;display:flex}.target-card header span{color:var(--muted);font-size:.78rem}.target-card header strong{font-size:1.45rem}.target-card header small{color:var(--muted);font-size:.68rem;font-weight:500}.progress-track{background:#eee5d9;border-radius:99px;height:7px;margin:16px 0 10px;overflow:hidden}.progress-track span{background:linear-gradient(90deg, var(--coral), #f2a057);border-radius:inherit;height:100%;display:block}.target-card p{color:var(--muted);margin:0;font-size:.7rem}.empty-state{text-align:center;color:var(--muted);padding:35px 15px}.empty-state>svg{width:38px;height:38px;color:var(--coral)}.empty-state h3{color:var(--ink);margin:10px 0 4px}.empty-state p{margin:0}.log-list{gap:8px;display:grid}.log-list>div{background:#f8f3eb;border-radius:14px;justify-content:space-between;align-items:center;padding:13px 15px;display:flex}.log-list span,.account-state div{gap:3px;display:grid}.log-list small{color:var(--muted)}.wellness-note{color:var(--muted);text-align:center;margin-top:15px;font-size:.75rem}.profile-editor-list{gap:12px;margin-bottom:16px;display:grid}.profile-editor-list article{background:#f7f2ea;border-radius:16px;grid-template-columns:46px 1fr;align-items:start;gap:12px;padding:15px;display:grid}.avatar{background:var(--berry);color:#fff;border-radius:15px;place-items:center;width:44px;height:44px;font:700 1.1rem Fraunces;display:grid}.profile-editor-list article>div:last-child>input{margin-bottom:9px;font-weight:700}.profile-target-fields{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.plan-controls{align-items:end}.plan-summary{flex-wrap:wrap;gap:10px;margin-bottom:24px;display:flex}.plan-summary span{background:var(--paper);border:1px solid var(--line);color:var(--muted);border-radius:99px;align-items:center;gap:7px;padding:9px 12px;font-size:.76rem;display:inline-flex}.plan-summary svg{width:16px;color:var(--coral)}.plan-days{gap:20px;display:grid}.plan-day{border:1px solid var(--line);background:var(--paper);border-radius:24px;overflow:hidden}.plan-day>header{background:#f1e9dd;align-items:center;gap:13px;padding:17px 20px;display:flex}.plan-day>header span{background:var(--ink);color:#fff;border-radius:9px;padding:6px 9px;font-size:.7rem}.meal-slot{border-top:1px solid var(--line);grid-template-columns:125px 1fr;gap:15px;padding:18px 20px;display:grid}.meal-time{align-content:start;gap:3px;display:grid}.meal-time span{color:var(--muted);font-size:.75rem}.meal-options{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.meal-option{border:1px solid var(--line);text-align:left;cursor:pointer;background:#fff;border-radius:15px;grid-template-columns:64px 1fr;gap:9px;min-width:0;padding:8px;display:grid;position:relative}.meal-option.selected{border:2px solid var(--leaf);background:#f1f8f3;padding:7px}.meal-option img{object-fit:cover;border-radius:11px;width:64px;height:64px}.meal-option>div{align-content:center;gap:5px;min-width:0;display:grid}.meal-option strong{white-space:nowrap;text-overflow:ellipsis;font-size:.79rem;overflow:hidden}.meal-option small{color:var(--muted);font-size:.62rem;line-height:1.35}.option-number{z-index:1;background:var(--coral);color:#fff;border-radius:50%;place-items:center;width:23px;height:23px;font-size:.66rem;font-weight:700;display:grid;position:absolute;top:3px;left:3px}.meal-option.selected .option-number{background:var(--leaf)}.shopping-count{background:var(--coral);color:#fff;border-radius:99px;align-items:center;gap:8px;padding:11px 15px;font-weight:700;display:flex}.shopping-layout{grid-template-columns:1fr 290px;align-items:start;gap:24px;display:grid}.shopping-sections{gap:18px;display:grid}.shopping-sections section{background:var(--paper);border:1px solid var(--line);border-radius:22px;padding:20px}.shopping-sections h2{font-size:1.25rem}.shopping-item{border-top:1px solid var(--line);grid-template-columns:36px 1fr 42px;align-items:center;min-height:54px;display:grid}.shopping-item>span{justify-content:space-between;gap:10px;display:flex}.shopping-item small{color:var(--muted)}.shopping-item.checked strong{color:#9a9289;text-decoration:line-through}.check-button{cursor:pointer;color:var(--coral);background:0 0;border:0;padding:4px}.check-button svg{width:22px}.shopping-item.checked .check-button{color:var(--leaf)}.pantry-panel{color:#fff;background:linear-gradient(145deg,#4f8563,#386b4b);border-radius:22px;padding:22px;position:sticky;top:90px;box-shadow:0 18px 40px #2f634233}.pantry-panel>div{border-top:1px solid #ffffff2e;justify-content:space-between;gap:10px;padding:10px 0;font-size:.79rem;display:flex}.pantry-panel>div span{opacity:.72}.pantry-panel p{opacity:.72;margin:14px 0 0;font-size:.72rem}.account-stack{gap:12px;display:grid}.account-state{background:#f4efe7;border-radius:16px;align-items:center;gap:13px;padding:15px;display:flex}.account-state.success{color:#366448;background:#e9f4ec}.account-state svg{width:26px}.account-state span{color:var(--muted);font-size:.77rem}.privacy-points{color:var(--muted);gap:8px;margin-top:20px;font-size:.76rem;display:grid}.privacy-points span{align-items:center;gap:8px;display:flex}.privacy-points svg{width:16px;color:var(--leaf)}.install-guide{text-align:center}.install-guide>svg{width:48px;height:48px;color:var(--coral)}.install-guide h3{margin:12px 0 5px}.install-guide ol{text-align:left;padding-left:24px;line-height:1.8}@media (width<=1120px){.target-grid{grid-template-columns:repeat(2,1fr)}.meal-options{grid-template-columns:1fr}.meal-option{grid-template-columns:54px 1fr}.meal-option img{width:54px;height:54px}}@media (width<=820px){.app-shell{display:block}.sidebar{display:none}.topbar{height:60px;padding:0 14px}.mobile-brand{display:flex}.mobile-brand strong{font:700 1.08rem Fraunces}.sync-pill span{display:none}.sync-pill{padding:8px}.top-actions .icon-button:first-child{display:none}.main-content{padding:28px 16px calc(96px + var(--safe-bottom))}.bottom-nav{z-index:30;padding:7px 6px calc(7px + var(--safe-bottom));border-top:1px solid var(--line);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#fffdf8f0;grid-template-columns:repeat(6,1fr);display:grid;position:fixed;bottom:0;left:0;right:0}.bottom-nav button{color:var(--muted);cursor:pointer;background:0 0;border:0;justify-items:center;gap:3px;padding:5px 2px;font-size:.62rem;display:grid}.bottom-nav button svg{width:21px}.bottom-nav button.active{color:var(--coral-dark);font-weight:700}.page-heading{align-items:start;margin-bottom:24px;display:grid}.page-heading h1{font-size:clamp(2.2rem,11vw,3.4rem)}.hero-heading{border-radius:25px;padding:26px 20px}.heading-actions{width:100%}.heading-actions .button{flex:1}.recipe-grid{grid-template-columns:1fr}.recipe-card{border-radius:20px;grid-template-columns:130px 1fr;display:grid}.recipe-image-wrap{height:100%;min-height:170px}.recipe-card-body{padding:14px}.recipe-card p{min-height:auto;margin-bottom:12px}.recipe-card footer{gap:5px;display:grid}.recipe-card-compact{grid-template-columns:90px 1fr}.recipe-card-compact .recipe-image-wrap{min-height:112px}.nutrient-grid{grid-template-columns:repeat(2,1fr)}.detail-columns{grid-template-columns:1fr;gap:16px}.detail-values{grid-template-columns:1fr}.detail-values small{grid-column:auto}.target-grid{grid-template-columns:1fr 1fr;gap:9px}.target-card{padding:15px}.target-card header{display:grid}.profile-target-fields{grid-template-columns:1fr}.plan-controls{width:100%}.plan-controls label{flex:1}.meal-slot{grid-template-columns:1fr;padding:15px}.meal-time{justify-content:space-between;display:flex}.shopping-layout{grid-template-columns:1fr}.pantry-panel{position:static}.shopping-count{justify-self:start}}@media (width<=480px){.page-heading p{font-size:.92rem}.heading-actions{grid-template-columns:1fr;display:grid}.recipe-card{grid-template-columns:112px 1fr}.recipe-card h3{font-size:1.05rem}.recipe-card .chip-row{display:none}.recipe-card-body{align-content:center;display:grid}.recipe-image-wrap{min-height:145px}.target-grid{grid-template-columns:1fr}.inline-form{display:grid}.inline-form.prominent{grid-template-columns:1fr}.suggestion-row{grid-template-columns:30px 1fr}.suggestion-number{width:30px;height:30px}.modal-backdrop{align-items:end;padding-left:8px;padding-right:8px}.modal-card{border-radius:24px 24px 14px 14px;width:100%;max-height:94vh}.modal-body{padding:16px}}@media (prefers-color-scheme:dark){:root{--cream:#191714;--paper:#24211d;--ink:#f5eee4;--muted:#b2a89c;--line:#3c3630;--leaf-soft:#263c2e;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}body{background:radial-gradient(circle at 75% -10%,#402b22 0,#0000 30%),#191714}.sidebar,.topbar,.bottom-nav{background:#1f1c18eb}.hero-heading{background:linear-gradient(120deg,#29241e,#362820)}.search-field,.recipe-card,.section-block,.target-card,.plan-day,.shopping-sections section,input,textarea,select,.meal-option{background:var(--paper)}.meal-option.selected{background:#213329}.plan-day>header,.account-state,.profile-editor-list article,.log-list>div,.detail-values{background:#302b25}.nutrient-card{background:#3a2622}.nutrient-green{background:#24352a}.nutrient-berry{background:#382832}.nutrient-gold{background:#3c3020}.icon-button{background:#29251f}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}:root{--cream:#eaf9f7;--paper:#fff;--ink:#17233f;--muted:#68738d;--coral:#ff5d8f;--coral-dark:#e93e76;--leaf:#32bf85;--leaf-soft:#ddf8eb;--berry:#8a67e8;--gold:#f6c646;--line:#dce9ef;--shadow:0 18px 50px #3949741f;--blue:#4ca7f7;--violet:#7658e8;--mint:#7ee0ce;font-family:Inter,ui-rounded,SF Pro Rounded,Avenir Next,system-ui,sans-serif}html{background:#eaf9f7}body{color:var(--ink);background:radial-gradient(circle at 90% 8%,#8a67e826 0 13%,#0000 29%),radial-gradient(circle at 4% 78%,#7ee0ce52 0 10%,#0000 28%),linear-gradient(135deg,#eefbf8 0%,#eff8ff 52%,#f8f1ff 100%)}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline-color:#7658e86b}h1,h2,h3{font-family:ui-rounded,SF Pro Rounded,Avenir Next,Inter,system-ui,sans-serif}h1{letter-spacing:-.055em;font-weight:850}.app-shell{grid-template-columns:224px 1fr}.sidebar{background:#ffffffe0;border-color:#ccdee8d9;padding:24px 16px;box-shadow:10px 0 40px #4259790d}.brand>span{background:linear-gradient(145deg,#7658e8,#a981f0);border-radius:15px 18px 13px 19px;width:44px;height:44px;box-shadow:0 9px 22px #7658e840}.brand strong{font-family:ui-rounded,SF Pro Rounded,system-ui,sans-serif;font-weight:850}.brand small{letter-spacing:0;color:#7a86a0}.sidebar nav{gap:6px;margin-top:36px}.sidebar nav button,.account-link{color:#68738d;border-radius:16px;min-height:46px;transition:background .18s,color .18s,transform .18s}.sidebar nav button:hover,.account-link:hover{color:var(--ink);background:#f0f6ff;transform:translate(2px)}.sidebar nav button.active{color:#4937a5;background:linear-gradient(100deg,#e7fbf4,#eee9ff);box-shadow:inset 3px 0 #7658e8,0 8px 20px #4b5b8714}.sidebar nav button:first-child svg{color:#ff5d8f}.sidebar nav button:nth-child(2) svg{color:#f4b828}.sidebar nav button:nth-child(3) svg{color:#32bf85}.sidebar nav button:nth-child(4) svg{color:#7658e8}.sidebar nav button:nth-child(5) svg{color:#4ca7f7}.install-mini{color:#654c00;cursor:pointer;background:#fff2aa;border:0;border-radius:13px;justify-content:center;align-items:center;gap:8px;min-height:38px;margin-top:auto;padding:0 12px;font-size:.78rem;font-weight:750;display:flex}.install-mini:hover{background:#ffe879;transform:translateY(-1px)}.install-mini svg{width:16px}.account-link{margin-top:8px}.topbar{background:#f0fafac7;border-color:#d5e5ecc7}.sync-pill,.icon-button{background:#ffffffd1;border-color:#dce9ef}.sync-pill.synced{color:#14875b;background:#e1f9ed;border-color:#bdebd4}.sync-pill.error,.sync-pill.offline{color:#876100;background:#fff5bf;border-color:#f6df71}.icon-button:hover{box-shadow:0 8px 20px #4a5b841f}.main-content{max-width:1480px}.hero-heading{background:radial-gradient(circle at 87% 22%,#ffd75a 0 38px,#0000 39px),radial-gradient(circle at 92% 78%,#ff75a4 0 70px,#0000 71px),linear-gradient(125deg,#fffffffa,#e5f7fff5);border:1px solid #d2e6f0e6;align-items:center;min-height:250px;padding:clamp(26px,5vw,58px);box-shadow:0 20px 55px #395b8217}.hero-heading:before{content:"";opacity:.75;background:#7ee0ce;border-radius:42% 58% 65% 35%;width:130px;height:130px;position:absolute;top:-52px;right:138px;transform:rotate(20deg)}.hero-heading:after{border:34px solid #7658e82e;width:180px;height:180px;top:-76px;right:-58px}.hero-heading h1{color:#17233f;max-width:700px;margin-bottom:20px}.recipe-count{color:#4937a5;background:#eeeaff;border-radius:16px;grid-template-columns:auto auto;align-items:center;column-gap:9px;width:fit-content;padding:9px 13px;display:grid;box-shadow:inset 0 0 0 1px #7658e81f}.recipe-count svg{color:#7658e8;grid-row:1/span 2;width:23px}.recipe-count strong{font-size:1.05rem;line-height:1}.recipe-count span{color:#6e63a0;font-size:.69rem}.heading-actions{align-self:flex-end}.button{border-radius:15px}.button.primary{background:linear-gradient(135deg,#ff5d8f,#f2467f);box-shadow:0 11px 24px #f2467f40}.button.primary:hover{background:#e93e76}.button.secondary{background:#ffffffed;border-color:#d7e5ed}.button.tertiary{color:#5b42bb;background:#f4f0ff;border-color:#cfc2f7}.text-button,.eyebrow{color:#7658e8}.notice{background:#f3f8fb;border-color:#dbe8ef}.notice.warning{color:#755900;background:#fff7c9;border-color:#f4df71}.notice.success{color:#1d7954;background:#ddf8eb;border-color:#afe8ce}.search-field{border-color:#d7e6ed;border-radius:19px;max-width:820px;box-shadow:0 12px 35px #3e557914}.search-field:focus-within{border-color:#8a67e8;box-shadow:0 0 0 4px #8a67e81f}.search-field svg{color:#7658e8}.result-line{color:#75819a}.recipe-grid{grid-template-columns:repeat(auto-fill,minmax(min(280px,100%),1fr));align-items:start;gap:24px}.recipe-card{background:#fffffff5;border:0;border-radius:28px;box-shadow:0 12px 34px #3e527b1a}.recipe-card:nth-child(5n+2){transform:translateY(12px)}.recipe-card:nth-child(5n+4){transform:translateY(7px)}.recipe-card:hover,.recipe-card:nth-child(5n+2):hover,.recipe-card:nth-child(5n+4):hover{transform:translateY(-6px)rotate(-.3deg);box-shadow:0 22px 52px #3e527b2b}.recipe-image-wrap{background:#e7f7f2;border-radius:22px;height:208px;margin:9px}.recipe-image{object-position:center}.recipe-card-body{padding:10px 19px 20px}.recipe-card h3{color:#17233f;font-family:ui-rounded,SF Pro Rounded,system-ui,sans-serif;font-weight:850}.recipe-card p{color:#75819a}.chip{color:#236d55;background:#dff8ed}.chip:nth-child(2){color:#654aaa;background:#eee9ff}.chip:nth-child(3){color:#a14469;background:#ffe8f1}.review-pill{color:#765500;background:#fff3aaf2}.review-pill.approved{color:#197553;background:#daf9e9f2}.coverage-good{color:#1a9567}.coverage-warn{color:#b17c00}.modal-backdrop{background:#19213e94}.modal-card{background:#fff;border:1px solid #dce8f0e6;box-shadow:0 35px 100px #1c25484d}.detail-image{background:#e4f5ef}.nutrient-grid{grid-template-columns:repeat(6,1fr)}.nutrient-card{border:1px solid #fffc;min-height:112px;box-shadow:0 8px 18px #3b496e0f}.nutrient-coral{color:#b82860;background:#ffe5ef}.nutrient-green{color:#167653;background:#dff8eb}.nutrient-blue{color:#246da7;background:#e2f2ff}.nutrient-violet{color:#5c43bd;background:#eee9ff}.nutrient-berry{color:#8044aa;background:#f5e7ff}.nutrient-gold{color:#866000;background:#fff3bc}.nutrient-card span{color:currentColor;opacity:.72}.detail-values{background:#f3f7fb}.step-list li>span{background:#7658e8}.idea-hero{background:radial-gradient(circle at 91% 17%,#ffd659 0 48px,#0000 49px),radial-gradient(circle at 4% 94%,#70dfca 0 60px,#0000 61px),linear-gradient(145deg,#7559e8,#a56de4 55%,#ef6aa3);box-shadow:0 24px 65px #6548bb40}.idea-icon{color:#4a319c;background:#fff2a8}.section-block{background:#ffffffe0;border-color:#dce9ef;box-shadow:0 12px 38px #3d4f760f}.pantry-chips span{color:#227459;background:#ddf8eb}.inline-form.prominent{background:#fff}.count-badge{background:#7658e8}.suggestion-number{background:#ff5d8f}.target-grid{grid-template-columns:repeat(5,minmax(155px,1fr));gap:14px}.target-card{text-align:center;--ring-color:#ff5d8f;--ring-soft:#ffe5ef;background:#fffffff0;border:0;border-radius:26px;align-content:center;place-items:center;gap:13px;min-height:235px;padding:18px 14px;display:grid;box-shadow:0 12px 34px #3c4f7717}.target-green{--ring-color:#32bf85;--ring-soft:#dff8eb}.target-blue{--ring-color:#4ca7f7;--ring-soft:#e2f2ff}.target-violet{--ring-color:#7658e8;--ring-soft:#eee9ff}.target-berry{--ring-color:#d26adb;--ring-soft:#f7e7fb}.target-ring{background:conic-gradient(var(--ring-color) var(--progress,0deg), var(--ring-soft) 0);border-radius:50%;place-items:center;width:126px;height:126px;padding:11px;display:grid;position:relative}.target-ring:after{content:"";background:#fff;border-radius:50%;position:absolute;inset:11px;box-shadow:inset 0 0 0 1px #46587c0d}.target-ring>div{z-index:1;gap:3px;display:grid;position:relative}.target-ring strong{color:var(--ink);font-size:1.55rem;line-height:1}.target-ring small{color:var(--muted);font-size:.62rem}.target-copy span{color:var(--ring-color);font-weight:850}.target-copy p{color:var(--muted);margin:4px 0 0;font-size:.7rem}.macro-form{grid-template-columns:repeat(2,1fr);gap:10px;display:grid}.profile-target-fields{grid-template-columns:repeat(5,1fr)}.profile-editor-list article{background:#f3f7fb}.avatar{background:linear-gradient(145deg,#7658e8,#ff69a0)}.plan-summary span{background:#fff;border-color:#dce9ef}.plan-summary svg{color:#7658e8}.plan-day{background:#fff;border:0;box-shadow:0 12px 35px #394b7114}.plan-day>header{background:linear-gradient(90deg,#e4f8f2,#eef0ff)}.plan-day>header span{background:#7658e8}.meal-option{border-color:#dce9ef}.meal-option:hover{border-color:#a994ee}.meal-option.selected{background:#e6f9ef;border-color:#32bf85}.option-number,.shopping-count{background:#ff5d8f}.shopping-sections section{background:#fff;border-color:#dce9ef;box-shadow:0 12px 32px #3d507512}.check-button{color:#7658e8}.pantry-panel{background:radial-gradient(circle at 92% 8%,#ffd759cc 0 32px,#0000 33px),linear-gradient(145deg,#36c68d,#28a9a1);box-shadow:0 18px 40px #28a9a133}.pantry-panel .eyebrow{color:#e7fff7}@media (width<=1180px){.target-grid,.nutrient-grid,.profile-target-fields{grid-template-columns:repeat(3,1fr)}}@media (width<=900px){.app-shell{grid-template-columns:200px 1fr}.recipe-grid{grid-template-columns:repeat(auto-fill,minmax(min(245px,100%),1fr))}}@media (width<=820px){.app-shell{display:block}.topbar{background:#eefaf8e6}.bottom-nav{background:#fffffff0;border-color:#dce9ef}.bottom-nav button.active{color:#7658e8}.hero-heading{min-height:0}.recipe-card:nth-child(5n+2),.recipe-card:nth-child(5n+4){transform:none}.recipe-card:hover{transform:translateY(-3px)}}@media (width<=620px){.main-content{padding-left:13px;padding-right:13px}.hero-heading{background:radial-gradient(circle at 93% 10%,#ffd75a 0 26px,#0000 27px),linear-gradient(135deg,#fffffffa,#e2f5fff7);border-radius:28px;padding:25px 20px}.hero-heading:before{display:none}.hero-heading h1{max-width:88%;font-size:clamp(2rem,12vw,3.15rem)}.heading-actions{width:100%}.heading-actions .button{flex:140px}.target-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.target-card{min-height:210px;padding:14px 8px}.target-ring{width:108px;height:108px}.nutrient-grid{grid-template-columns:repeat(2,1fr)}.macro-form,.profile-target-fields{grid-template-columns:1fr 1fr}.recipe-image-wrap{height:200px}}@media (prefers-color-scheme:dark){:root{--cream:#10162b;--paper:#18213a;--ink:#f5f7ff;--muted:#aab5cf;--line:#2c3859;--shadow:0 18px 50px #00000047}html{background:#10162b}body{background:radial-gradient(circle at 90% 7%,#7658e83d,#0000 30%),linear-gradient(140deg,#10162b,#13273a)}.sidebar,.topbar,.bottom-nav{background:#141d33eb;border-color:#2c3859}.sidebar nav button:hover,.account-link:hover{background:#202d4b}.sidebar nav button.active{color:#d6ccff;background:linear-gradient(100deg,#183b3b,#2d2853)}.sync-pill,.icon-button,.search-field,.button.secondary{background:#1b2743;border-color:#344263}.hero-heading{background:radial-gradient(circle at 87% 22%,#e0b833 0 38px,#0000 39px),radial-gradient(circle at 92% 78%,#b94473 0 70px,#0000 71px),linear-gradient(125deg,#1a2944,#262551);border-color:#344263}.hero-heading h1,.recipe-card h3{color:#f7f8ff}.recipe-count{color:#d8ceff;background:#302b57}.recipe-count span{color:#b9afe8}.recipe-card,.section-block,.target-card,.plan-day,.shopping-sections section,.modal-card,.target-ring:after{background:#18213a}.target-ring strong{color:#f5f7ff}.recipe-card p{color:#aab5cf}input,textarea,select{color:#f5f7ff;background:#111a30;border-color:#344263}.detail-values,.profile-editor-list article{background:#202b48}.plan-day>header{background:linear-gradient(90deg,#193a3a,#2a2950)}.meal-option{background:#111a30;border-color:#344263}.meal-option.selected{background:#163b32}.notice{background:#202b48}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}.stock-toast{animation:none}}.main-content{padding-top:32px}.page-heading{margin-bottom:24px}.page-heading:not(.hero-heading) h1,.compact-heading h1{margin-bottom:8px;font-size:clamp(1.75rem,3.2vw,2.85rem);line-height:1.05}.page-heading:not(.hero-heading) p{font-size:.9rem;line-height:1.45}.compact-hero{border-radius:28px;min-height:168px;padding:26px 32px}.compact-hero h1{max-width:570px;margin-bottom:12px;font-size:clamp(2rem,4vw,3.25rem)}.compact-hero:before{width:90px;height:90px;top:-38px;right:115px}.compact-hero:after{border-width:24px;width:130px;height:130px}.compact-button{border-radius:12px;min-height:36px;padding:0 12px;font-size:.78rem}.compact-button svg{width:15px}.recipe-count{border-radius:13px;padding:7px 10px}.recipe-count svg{width:19px}.recipe-count strong{font-size:.92rem}.recipe-count span{font-size:.61rem}.category-filter{scrollbar-width:thin;scroll-snap-type:x proximity;gap:8px;padding:15px 2px 8px;display:flex;overflow-x:auto}.category-filter button{min-height:35px;color:var(--muted);cursor:pointer;scroll-snap-align:start;background:#ffffffd1;border:1px solid #dce9ef;border-radius:99px;flex:none;padding:0 13px;font-size:.75rem;font-weight:750}.category-filter button:hover{color:#5c43bd;border-color:#9c88eb}.category-filter button.active{color:#fff;background:#7658e8;border-color:#7658e8;box-shadow:0 7px 18px #7658e838}.compact-idea{max-width:820px;margin-bottom:26px;padding:27px}.compact-idea .idea-icon{width:40px;height:40px;margin-bottom:10px}.catalog-count{color:#5c43bd;background:#eee9ff;border-radius:99px;padding:6px 10px;font-size:.7rem;font-weight:750}.pantry-chips span{align-items:center;gap:6px;display:inline-flex}.pantry-chips span button{color:#28775d;cursor:pointer;background:#ffffffa6;border:0;border-radius:50%;place-items:center;width:22px;height:22px;padding:0;display:grid}.pantry-chips span button svg{width:12px}.pantry-add-form{grid-template-columns:minmax(210px,2fr) minmax(100px,.7fr) minmax(110px,.8fr) auto;align-items:end;gap:10px;display:grid}.pantry-add-form label{color:var(--muted);gap:6px;font-size:.72rem;font-weight:700;display:grid}.pantry-add-form .button{min-height:43px}.planner-heading{align-items:center}.planner-builder{background:#ffffffe6;border:1px solid #dce9ef;border-radius:25px;margin-bottom:22px;padding:22px;box-shadow:0 12px 36px #3d507512}.planner-builder-title{align-items:center;gap:12px;margin-bottom:18px;display:flex}.planner-builder-title>svg{color:#5c43bd;background:#eee9ff;border-radius:13px;width:38px;height:38px;padding:9px}.planner-builder-title h2,.planner-builder-title p{margin:0}.planner-builder-title h2{font-size:1.25rem}.planner-builder-title p{color:var(--muted);font-size:.76rem}.planner-basics{flex-wrap:wrap;align-items:end;gap:12px;margin-bottom:15px;display:flex}.planner-basics label{color:var(--muted);gap:5px;font-size:.7rem;font-weight:700;display:grid}.planner-basics select{min-width:115px}.planner-basics>span{color:#267457;background:#dff8eb;border-radius:13px;align-items:center;gap:7px;min-height:43px;padding:0 12px;font-size:.75rem;font-weight:750;display:inline-flex}.planner-basics>span svg{width:16px}.meal-settings{gap:8px;display:grid}.meal-settings article{background:#f3f7fb;border-radius:16px;grid-template-columns:30px minmax(150px,1fr) minmax(120px,.7fr) minmax(160px,1fr);align-items:end;gap:9px;padding:10px;display:grid}.meal-settings article>b{color:#fff;background:#ff5d8f;border-radius:50%;align-self:center;place-items:center;width:28px;height:28px;display:grid}.meal-settings label{color:var(--muted);gap:4px;font-size:.66rem;font-weight:700;display:grid}.meal-settings input,.meal-settings select{padding:9px 10px}.quota-settings{background:linear-gradient(100deg,#eee9ff,#e4f8f2);border-radius:17px;grid-template-columns:minmax(190px,1.3fr) repeat(4,minmax(95px,.5fr));align-items:end;gap:10px;margin-top:15px;padding:14px;display:grid}.quota-settings h3,.quota-settings p{margin:0}.quota-settings h3{font-size:.95rem}.quota-settings p{color:var(--muted);font-size:.68rem}.quota-settings label{color:#5c43bd;gap:4px;font-size:.68rem;font-weight:800;display:grid;position:relative}.quota-settings input{padding:9px 28px 9px 10px}.quota-settings small{position:absolute;bottom:10px;right:10px}.planner-generate{margin-top:14px}.horizontal-plan{scroll-snap-type:x mandatory;overscroll-behavior-inline:contain;grid-template-columns:none;grid-auto-columns:minmax(660px,78vw);grid-auto-flow:column;gap:18px;padding:4px 4px 20px;display:grid;overflow-x:auto}.horizontal-plan .plan-day{scroll-snap-align:start;align-self:start}.meal-time em{color:#5c43bd;background:#eee9ff;border-radius:99px;width:fit-content;padding:4px 7px;font-size:.61rem;font-style:normal;font-weight:750}.shopping-heading{align-items:center}.stock-toast{z-index:60;color:#176d50;background:#ddf8eb;border:1px solid #afe8ce;border-radius:12px;align-items:center;gap:7px;max-width:min(330px,100vw - 28px);padding:9px 12px;font-size:.72rem;font-weight:750;animation:.18s ease-out stock-toast-in;display:flex;position:fixed;top:84px;right:22px;box-shadow:0 12px 32px #14554133}.stock-toast svg{width:16px}@keyframes stock-toast-in{0%{opacity:0;transform:translateY(-7px)}to{opacity:1;transform:translateY(0)}}.editable-pantry{padding:14px}.editable-pantry .pantry-panel-heading{justify-content:flex-start;align-items:center;gap:9px;margin:2px 6px 13px;display:flex}.pantry-panel-heading h2{margin:0;font-size:1.2rem}.pantry-image{object-fit:cover;border-radius:10px;flex:0 0 26px;width:26px;height:26px;margin:0}.pantry-editor-list{border:0!important;gap:6px!important;padding:0!important;display:grid!important}.pantry-editor-list article{grid-template-columns:minmax(90px,1.3fr) 65px 82px 30px;align-items:center;gap:5px;display:grid}.pantry-editor-list input,.pantry-editor-list select{color:#fff;background:#0d55552e;border-color:#ffffff40;min-width:0;padding:7px;font-size:.68rem}.pantry-editor-list button{color:#fff;cursor:pointer;background:#ffffff24;border:0;border-radius:9px;place-items:center;width:28px;height:28px;padding:0;display:grid}.pantry-editor-list button svg{width:14px}.pantry-panel-form{grid-template-columns:1fr 68px 86px;gap:6px;margin-top:13px;display:grid}.pantry-panel-form input,.pantry-panel-form select{color:#fff;background:#0d555538;border-color:#ffffff47;min-width:0;padding:8px;font-size:.68rem}.pantry-panel-form input::placeholder{color:#ffffffad}.pantry-panel-form>input:first-child{grid-column:1/-1}.pantry-add-button{color:#176b58;background:#fff2aa;grid-column:1/-1;min-height:36px}.stocked-label{font-weight:750;color:#1e8d64!important}@media (width<=900px){.compact-hero{min-height:150px;padding:22px}.meal-settings article{grid-template-columns:28px 1fr 1fr}.meal-settings article label:last-child{grid-column:2/-1}.quota-settings{grid-template-columns:repeat(2,1fr)}.quota-settings>div{grid-column:1/-1}.pantry-add-form{grid-template-columns:1.5fr .7fr .8fr}.pantry-add-form .button{grid-column:1/-1}.horizontal-plan{grid-auto-columns:minmax(590px,88vw)}}@media (width<=620px){.main-content{padding-top:20px}.page-heading:not(.hero-heading) h1,.compact-heading h1{font-size:1.75rem}.compact-hero{border-radius:23px;padding:19px 17px}.compact-hero h1{max-width:86%;font-size:2rem}.compact-hero .heading-actions{margin-top:6px}.compact-hero .heading-actions .button{min-height:34px}.stock-toast{max-width:none;top:76px;left:14px;right:14px}.pantry-add-form{grid-template-columns:1fr 1fr}.pantry-add-form label:first-child{grid-column:1/-1}.meal-settings article{grid-template-columns:28px 1fr}.meal-settings article label{grid-column:2}.quota-settings{grid-template-columns:1fr 1fr}.horizontal-plan{grid-auto-columns:92vw}.horizontal-plan .meal-slot{grid-template-columns:1fr}}@media (prefers-color-scheme:dark){.category-filter button{color:#aab5cf;background:#1b2743;border-color:#344263}.planner-builder{background:#18213a;border-color:#2c3859}.meal-settings article{background:#202b48}.quota-settings{background:linear-gradient(100deg,#2d2853,#193a3a)}.meal-time em{color:#d6ccff;background:#302b57}.stock-toast{color:#bff5df;background:#163b32;border-color:#2c7b63}}.dashboard-welcome{background:radial-gradient(circle at 88% 22%,#ffd759b8 0 31px,#0000 32px),linear-gradient(120deg,#fffffff5,#e4f8f2f0);border:1px solid #dce9ef;border-radius:24px;align-items:center;padding:21px 24px;box-shadow:0 12px 36px #3d507512}.dashboard-welcome h1{margin-bottom:5px}.dashboard-welcome p{margin:0}.dashboard-welcome .button svg{width:15px}.dashboard-section{margin-bottom:20px}.compact-section-title{margin-bottom:12px}.compact-section-title h2{font-size:1.25rem}.compact-section-title .text-button{font-size:.72rem}.dashboard-goal-grid{grid-template-columns:repeat(5,minmax(130px,1fr));gap:10px;display:grid}.dashboard-goal{--goal-color:#ff5d8f;background:#ffffffeb;border:1px solid #dce9eff2;border-radius:18px;padding:14px;box-shadow:0 8px 24px #3d50750f}.dashboard-goal.goal-green{--goal-color:#32bf85}.dashboard-goal.goal-blue{--goal-color:#4ca7f7}.dashboard-goal.goal-violet{--goal-color:#7658e8}.dashboard-goal.goal-berry{--goal-color:#d26adb}.dashboard-goal>div:first-child{justify-content:space-between;align-items:end;gap:8px;display:flex}.dashboard-goal>div>span{color:var(--goal-color);font-size:.68rem;font-weight:850}.dashboard-goal strong{color:var(--ink);font-size:1.2rem;line-height:1}.dashboard-goal strong small{color:var(--muted);font-size:.58rem}.dashboard-goal>small{color:var(--muted);font-size:.62rem}.dashboard-progress{background:color-mix(in srgb, var(--goal-color) 16%, white);border-radius:99px;height:7px;margin:11px 0 8px;overflow:hidden}.dashboard-progress span{width:var(--dashboard-progress,0%);border-radius:inherit;background:var(--goal-color);height:100%;transition:width .25s;display:block}.dashboard-split{grid-template-columns:1fr 1.15fr;gap:16px;margin-bottom:24px;display:grid}.dashboard-panel{background:#ffffffeb;border:1px solid #dce9ef;border-radius:23px;min-width:0;padding:18px;box-shadow:0 10px 30px #3d507512}.dashboard-panel>header{justify-content:space-between;align-items:center;gap:10px;margin-bottom:13px;display:flex}.dashboard-panel-title{align-items:center;gap:10px;display:flex}.dashboard-panel-title>svg{color:#5c43bd;background:#eee9ff;border-radius:13px;width:38px;height:38px;padding:9px}.dashboard-panel-title h2{margin:1px 0 0;font-size:1.05rem}.dashboard-shopping-list{gap:4px;display:grid}.dashboard-shopping-list>div{border-bottom:1px solid #edf2f5;grid-template-columns:21px 1fr auto;align-items:center;gap:8px;min-height:37px;padding:6px 8px;display:grid}.dashboard-shopping-list svg{color:#7658e8;width:17px}.dashboard-shopping-list strong{font-size:.78rem}.dashboard-shopping-list span{color:var(--muted);font-size:.7rem}.dashboard-more{margin-top:9px;font-size:.7rem}.dashboard-meal-list{gap:6px;display:grid}.dashboard-meal-list>button{width:100%;min-height:54px;color:var(--ink);text-align:left;cursor:pointer;background:#f8fbfc;border:1px solid #e5edf2;border-radius:14px;grid-template-columns:44px 46px minmax(0,1fr) 20px;align-items:center;gap:9px;padding:6px;display:grid}.dashboard-meal-list>button:hover{background:#f5f1ff;border-color:#a994ee}.dashboard-meal-list img{object-fit:cover;border-radius:10px;width:46px;height:42px}.dashboard-meal-list button>span:not(.dashboard-meal-time){gap:2px;min-width:0;display:grid}.dashboard-meal-list button>svg{width:16px;color:var(--muted)}.dashboard-meal-time{color:var(--muted);text-align:center;font-size:.64rem;font-weight:750}.dashboard-empty{min-height:125px;color:var(--muted);align-content:center;place-items:center;gap:7px;font-size:.75rem;display:grid}.dashboard-empty svg{color:#a994ee;width:26px}.dashboard-search-section{padding-top:4px}.dashboard-search{max-width:none;margin-bottom:15px}.dashboard-recipe-grid{grid-template-columns:repeat(3,minmax(230px,1fr));gap:16px}.dashboard-recipe-grid .recipe-card{transform:none}.dashboard-recipe-grid .recipe-image-wrap{height:150px}.dashboard-recipe-grid .recipe-card-body{padding:8px 15px 15px}.compact-empty{padding:30px}@media (width<=1180px){.dashboard-goal-grid{grid-template-columns:repeat(3,1fr)}.dashboard-recipe-grid{grid-template-columns:repeat(2,minmax(220px,1fr))}}@media (width<=820px){.bottom-nav button{font-size:.56rem}.bottom-nav button svg{width:19px}.dashboard-welcome{padding:18px}.dashboard-split{grid-template-columns:1fr}}@media (width<=620px){.dashboard-welcome{align-items:flex-start}.dashboard-welcome .button{justify-content:center;width:100%;margin-top:10px}.dashboard-goal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-goal:last-child{grid-column:1/-1}.dashboard-recipe-grid{grid-template-columns:1fr}.dashboard-recipe-grid .recipe-image-wrap{height:190px}.bottom-nav button{font-size:.5rem}.bottom-nav button svg{width:18px}}@media (prefers-color-scheme:dark){.dashboard-welcome,.dashboard-goal,.dashboard-panel{background:#18213a;border-color:#2c3859}.dashboard-meal-list>button{color:#f5f7ff;background:#111a30;border-color:#344263}.dashboard-meal-list>button:hover{background:#2d2853}.dashboard-shopping-list>div{border-color:#2c3859}.dashboard-progress{background:color-mix(in srgb, var(--goal-color) 22%, #18213a)}}@media (prefers-reduced-motion:reduce){.dashboard-progress span{transition:none}}.own-recipe-button{color:#173b45;background:#ffdf6b;border-color:#ffe996;box-shadow:0 9px 24px #ffd34940}.own-recipe-button:hover{background:#ffe789}.category-filter-panel{border:1px solid var(--line);background:color-mix(in srgb, var(--paper) 88%, transparent);border-radius:22px;margin-top:16px;padding:17px;box-shadow:0 8px 26px #23304d0d}.category-filter-top{color:var(--muted);justify-content:space-between;align-items:center;gap:12px;margin-bottom:13px;font-size:.72rem;font-weight:700;display:flex}.category-filter-top button{color:#7658e8;cursor:pointer;background:0 0;border:0;padding:4px;font-weight:800}.category-groups{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px;display:grid}.category-group{border:1px solid color-mix(in srgb, var(--group-color) 26%, var(--line));background:color-mix(in srgb, var(--group-color) 8%, transparent);border-radius:15px;min-width:0;margin:0;padding:9px 10px 10px}.category-group legend{color:var(--group-color);letter-spacing:.04em;padding:0 5px;font-size:.66rem;font-weight:850}.category-group>div{flex-wrap:wrap;gap:6px;display:flex}.category-group button{border:1px solid color-mix(in srgb, var(--group-color) 26%, var(--line));min-height:29px;color:var(--muted);background:color-mix(in srgb, var(--paper) 91%, transparent);cursor:pointer;border-radius:99px;padding:0 9px;font-size:.68rem;font-weight:750}.category-group button:hover{color:var(--group-color);border-color:var(--group-color)}.category-group button.active{color:#fff;background:var(--group-color);border-color:var(--group-color);box-shadow:0 6px 14px color-mix(in srgb, var(--group-color) 26%, transparent)}.tone-gold{--group-color:#c58412}.tone-blue{--group-color:#317dbd}.tone-green{--group-color:#27845f}.tone-orange{--group-color:#d06a2d}.tone-violet{--group-color:#7458dc}.tone-pink{--group-color:#c84f84}.tone-slate{--group-color:#5c6d82}.category-filter-panel.compact{margin-top:10px;padding:12px}.category-filter-panel.compact .category-groups{grid-template-columns:repeat(2,minmax(0,1fr))}.field-heading{color:var(--ink);font-size:.9rem;display:block}.field-help{color:var(--muted);margin:4px 0 0;font-size:.75rem;line-height:1.4}.local-ideas-note{color:#ffffffe0;background:#0d1d372e;border-radius:12px;align-items:flex-start;gap:8px;margin:-2px 0 12px;padding:9px 11px;font-size:.7rem;line-height:1.42;display:flex}.local-ideas-note svg{width:16px;margin-top:1px}.idea-search-status{color:#fff;text-align:center;margin-top:9px;font-size:.72rem;font-weight:750}.pantry-picker .section-title p{color:var(--muted);margin:3px 0 0;font-size:.74rem;line-height:1.4}.catalog-search{border:1px solid var(--line);background:var(--paper);border-radius:13px;align-items:center;gap:9px;max-width:520px;margin:12px 0 10px;padding:0 12px;display:flex}.catalog-search svg{width:17px;color:var(--muted)}.catalog-search input{background:0 0;border:0;height:42px;padding:0}.catalog-category-tabs{scrollbar-width:thin;gap:6px;padding-bottom:8px;display:flex;overflow-x:auto}.catalog-category-tabs button{border:1px solid var(--line);min-height:30px;color:var(--muted);background:var(--paper);cursor:pointer;border-radius:99px;flex:none;padding:0 10px;font-size:.67rem;font-weight:750}.catalog-category-tabs button.active{color:#fff;background:#7458dc;border-color:#7458dc}.food-choice-grid{grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:8px;max-height:290px;padding:3px 3px 8px;display:grid;overflow-y:auto}.food-choice-grid>button{border:1px solid var(--line);min-width:0;min-height:52px;color:var(--ink);background:var(--paper);text-align:left;cursor:pointer;border-radius:13px;align-items:center;gap:8px;padding:8px 10px;display:flex}.food-choice-grid>button>svg{color:#7458dc;width:17px}.food-choice-grid>button>span{gap:2px;min-width:0;display:grid}.food-choice-grid strong{text-overflow:ellipsis;white-space:nowrap;font-size:.74rem;overflow:hidden}.food-choice-grid small{color:var(--muted);font-size:.6rem}.food-choice-grid>button.selected{color:#176d50;background:#e2f8ef;border-color:#8ddcbd}.food-choice-grid>button.selected svg{color:#218660}.empty-hint{color:var(--muted);font-size:.75rem}.pantry-detail-add{border-top:1px solid var(--line);margin-top:14px;padding-top:12px}.pantry-detail-add summary{color:#7458dc;cursor:pointer;width:fit-content;font-size:.74rem;font-weight:800}.pantry-detail-add .pantry-add-form{margin-top:12px}.meal-option{border:1px solid var(--line);background:var(--paper);cursor:default;border-radius:15px;grid-template-columns:1fr 38px;gap:6px;min-width:0;padding:7px;display:grid;position:relative}.meal-option.selected{background:#e8f8f0;border:2px solid #32a977;padding:6px}.meal-option-detail{text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:56px minmax(0,1fr);align-items:center;gap:9px;min-width:0;padding:0;display:grid}.meal-option-detail img{object-fit:cover;border-radius:10px;width:56px;height:56px}.meal-option-detail>span{gap:3px;min-width:0;display:grid}.meal-option-detail strong{text-overflow:ellipsis;white-space:nowrap;font-size:.73rem;overflow:hidden}.meal-option-detail small{text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:.59rem;overflow:hidden}.meal-option-detail em{color:#7458dc;align-items:center;gap:4px;font-size:.58rem;font-style:normal;font-weight:750;display:inline-flex}.meal-option-detail em svg{width:12px}.meal-option-select{border:0;border-left:1px solid var(--line);color:#75819a;cursor:pointer;background:0 0;align-self:stretch;place-items:center;padding:0;display:grid}.meal-option-select:hover{color:#32a977}.meal-option-select svg{width:22px}.meal-option.selected .meal-option-select{color:#21966a}.option-number{top:2px;left:2px}.shopping-quick-add{max-width:800px;box-shadow:none;background:0 0;border:0;margin-bottom:24px;padding:0}.shopping-quick-add input{min-height:46px}.shopping-layout{grid-template-columns:minmax(0,1fr) minmax(320px,360px)}.editable-pantry{width:100%;max-width:100%;overflow:hidden}.editable-pantry .pantry-panel-heading{border-bottom:1px solid #ffffff2e;margin:0 0 13px;padding:0 0 11px}.pantry-panel-heading>span{color:#126656;background:#ffffffc2;border-radius:99px;place-items:center;min-width:25px;height:25px;margin-left:auto;font-size:.68rem;font-weight:800;display:grid}.pantry-editor-list article{grid-template-columns:minmax(0,1.35fr) 72px 86px 30px}.pantry-panel-form{grid-template-columns:minmax(0,1fr) 76px 90px}html[data-theme=light] .sidebar,html[data-theme=light] .topbar,html[data-theme=light] .bottom-nav{background:#fafcfff0}html[data-theme=light] :is(.search-field,.recipe-card,.section-block,.target-card,.plan-day,.shopping-sections section,.meal-option,.planner-builder,.modal-card,input,textarea,select,.icon-button){color:var(--ink);background-color:var(--paper)}html[data-theme=light] :is(.plan-day>header,.account-state,.profile-editor-list article,.log-list>div,.detail-values){background:#f1f5f9}html[data-theme=light] .meal-settings article{background:#f3f7fb}html[data-theme=light] .meal-option.selected{background:#e8f8f0}html[data-theme=dark]{--cream:#0f172a;--paper:#151f35;--ink:#eef4ff;--muted:#aab5cc;--line:#344263;--leaf-soft:#193d36;background:var(--cream)}html[data-theme=dark] body{background:radial-gradient(circle at 78% -10%,#263065 0,#0000 34%),#0f172a}html[data-theme=dark] .sidebar,html[data-theme=dark] .topbar,html[data-theme=dark] .bottom-nav{background:#0f172af0}html[data-theme=dark] .hero-heading{background:linear-gradient(120deg,#183d64,#27306a)}html[data-theme=dark] :is(.search-field,.recipe-card,.section-block,.target-card,.plan-day,.shopping-sections section,.meal-option,.planner-builder,.modal-card,input,textarea,select,.icon-button,.category-filter-panel,.catalog-search,.food-choice-grid>button){color:var(--ink);background-color:var(--paper)}html[data-theme=dark] :is(.plan-day>header,.account-state,.profile-editor-list article,.log-list>div,.detail-values),html[data-theme=dark] .meal-settings article{background:#202b48}html[data-theme=dark] .meal-option.selected{background:#163b32}html[data-theme=dark] .category-group button{background:#1b2743}html[data-theme=dark] .food-choice-grid>button.selected{color:#bff5df;background:#163b32}html[data-theme=dark] .dashboard-welcome{background:radial-gradient(circle at 88% 22%,#ffd75994 0 31px,#0000 32px),linear-gradient(120deg,#18213a,#193a3a)}html[data-theme=dark] .nutrient-card{background:#3a2622}html[data-theme=dark] .nutrient-green{background:#24352a}html[data-theme=dark] .nutrient-berry{background:#382832}html[data-theme=dark] .nutrient-gold{background:#3c3020}@media (width<=1180px){.shopping-layout{grid-template-columns:1fr}.pantry-panel{position:static}}@media (width<=820px){.top-actions .theme-toggle{display:grid!important}.top-actions .icon-button:nth-child(2){display:none}.category-groups{grid-template-columns:repeat(2,minmax(0,1fr))}.category-filter-panel.compact .category-groups{grid-template-columns:1fr}}@media (width<=620px){.category-filter-panel{padding:12px}.category-groups{grid-template-columns:1fr}.food-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-height:350px}.pantry-detail-add .pantry-add-form{grid-template-columns:1fr 1fr}.shopping-quick-add{grid-template-columns:minmax(0,1fr) auto;display:grid}.pantry-editor-list article{grid-template-columns:minmax(0,1fr) 68px 80px 28px}}@media (width<=390px){.food-choice-grid,.shopping-quick-add{grid-template-columns:1fr}.pantry-editor-list article{grid-template-columns:minmax(0,1fr) 72px 30px}.pantry-editor-list article select{grid-column:1/3}.pantry-panel-form{grid-template-columns:1fr 90px}}html[data-theme=light] .hero-heading h1,html[data-theme=light] .recipe-card h3,html[data-theme=light] .target-ring strong{color:var(--ink)}html[data-theme=light] .recipe-card p{color:var(--muted)}html[data-theme=light] .target-ring:after{background:var(--paper)}html[data-theme=light] .sync-pill,html[data-theme=light] .button.secondary{color:var(--muted);border-color:var(--line);background:#ffffffe0}html[data-theme=light] .sidebar nav button:hover,html[data-theme=light] .account-link:hover{color:var(--ink);background:#f0f6ff}html[data-theme=light] .notice{color:var(--muted);border-color:var(--line);background:#f4f7fa}html[data-theme=light] .notice.warning{color:#855b20;background:#fff3dc;border-color:#efd4a2}html[data-theme=light] .notice.success{color:#38694a;background:#eaf4ed;border-color:#c6ddcd}html[data-theme=light] .dashboard-goal,html[data-theme=light] .dashboard-panel{color:var(--ink);background:var(--paper);border-color:var(--line)}html[data-theme=light] .dashboard-meal-list>button{color:var(--ink);border-color:var(--line);background:#f8faff}html[data-theme=light] .dashboard-meal-list>button:hover{background:#f5f1ff}html[data-theme=light] .dashboard-shopping-list>div{border-color:var(--line)}html[data-theme=light] .dashboard-progress{background:color-mix(in srgb, var(--goal-color) 16%, white)}html[data-theme=light]{--cream:#f1e7d8;--paper:#fffaf0;--ink:#2c2925;--muted:#756b61;--line:#dfd2c0;--leaf-soft:#e3f1e9;background:var(--cream)}html[data-theme=light] body{background:radial-gradient(circle at 78% -8%,#e7d9bd 0,#0000 34%),linear-gradient(145deg,#f4ecdf,#eee1cf)}html[data-theme=light] :is(.sidebar,.topbar,.bottom-nav){background:#fffaf0f0}html[data-theme=light] .hero-heading{background:linear-gradient(120deg,#fffaf0,#eadcc7)}html[data-theme=light] :is(.search-field,.recipe-card,.section-block,.target-card,.plan-day,.shopping-sections section,.meal-option,.planner-builder,.modal-card,input,textarea,select,.icon-button,.category-filter-panel,.dashboard-goal,.dashboard-panel){color:var(--ink);background-color:var(--paper)}html[data-theme=light] :is(.plan-day>header,.account-state,.profile-editor-list article,.log-list>div,.detail-values,.meal-settings article){background:#f5ecde}html[data-theme=light] .dashboard-welcome{background:radial-gradient(circle at 88% 22%,#e2be539e 0 31px,#0000 32px),linear-gradient(120deg,#fffaf0,#e6dbca)}html[data-theme=light] .dashboard-meal-list>button{background:#f6ecdc}html[data-theme=light] .sidebar nav button:hover,html[data-theme=light] .account-link:hover{background:#eee2d2}html[data-theme=light] .sidebar nav button.active{color:#4937a5;background:linear-gradient(100deg,#e2f1e8,#e8dfef)}.dashboard-goal-grid{align-items:stretch}.dashboard-goal{--goal-color:#e7677c;text-align:center;grid-template-rows:auto 1fr auto;place-items:center;gap:2px;min-height:172px;padding:15px 12px 13px;display:grid}.dashboard-goal-label{width:100%;color:var(--goal-color);text-align:left;font-size:.72rem;font-weight:850}.dashboard-semicircle{place-items:end center;width:min(150px,100%);height:84px;display:grid;position:relative}.dashboard-semicircle svg{width:100%;height:auto;position:absolute;inset:0 0 auto;overflow:visible}.dashboard-semicircle path{fill:none;stroke-width:11px;stroke-linecap:round}.dashboard-semicircle .goal-track{stroke:color-mix(in srgb,var(--goal-color) 18%,transparent)}.dashboard-semicircle .goal-value{stroke:var(--goal-color);stroke-dasharray:var(--goal-dash,0 100);transition:stroke-dasharray .3s}.dashboard-semicircle strong{align-items:baseline;gap:4px;margin-bottom:7px;font-size:1.45rem;display:flex;position:relative}.dashboard-semicircle strong small{font-size:.62rem}.dashboard-goal>small{text-align:center;width:100%}.category-filter-actions{align-items:center;gap:10px;display:flex}.category-filter-actions button{align-items:center;gap:4px;display:inline-flex}.category-filter-actions svg{width:14px;height:14px}.editor-image-preview{border:1px solid var(--line);background:color-mix(in srgb,var(--paper) 82%,#dff1e8);border-radius:16px;grid-template-columns:116px minmax(0,1fr);align-items:center;gap:14px;padding:10px;display:grid}.editor-image-preview img{object-fit:cover;border-radius:11px;width:116px;height:78px}.editor-image-preview span{color:var(--muted);font-size:.72rem;line-height:1.45}.editor-number-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.ingredient-editor-list{gap:8px;margin:10px 0;display:grid}.ingredient-editor-list article{grid-template-columns:minmax(180px,1.4fr) minmax(150px,1fr) 90px 72px 38px;align-items:center;gap:8px;display:grid}.ingredient-editor-list article>:only-child{grid-column:auto}.ingredient-editor-list article>button{border:1px solid var(--line);height:38px;color:var(--muted);cursor:pointer;background:0 0;border-radius:10px;place-items:center;display:grid}.ingredient-editor-list article>button svg{width:16px}.nutrition-preview{background:#fff0e7;border:1px solid #e2b0a3;border-radius:14px;gap:4px;padding:12px 14px;display:grid}.nutrition-preview.complete{background:#e9f6ef;border-color:#9fd5bd}.nutrition-preview span,.nutrition-preview small{color:var(--muted)}.nutrition-preview small{font-size:.65rem}.pantry-selection-only{overflow:hidden}.pantry-choice-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.pantry-choice-grid button{border:1px solid var(--line);min-width:0;color:var(--ink);background:var(--paper);text-align:left;cursor:pointer;border-radius:14px;grid-template-columns:25px minmax(0,1fr);align-items:center;gap:8px;padding:12px;display:grid}.pantry-choice-grid button.selected{background:color-mix(in srgb,#45c99a 16%,var(--paper));border-color:#27a778}.pantry-choice-grid button:not(.selected){opacity:.72;grid-template-columns:minmax(0,1fr)}.pantry-choice-grid button svg{color:#16956a;width:20px}.pantry-choice-grid span{gap:3px;min-width:0;display:grid}.pantry-choice-grid strong,.pantry-choice-grid small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.pantry-choice-grid small{color:var(--muted)}.pantry-manage-link{margin-top:14px}.planner-heading-actions{align-items:end;gap:10px;display:flex}.planner-profile-select{color:var(--muted);gap:4px;font-size:.65rem;font-weight:800;display:grid}.planner-profile-select select{min-width:135px;padding:9px 30px 9px 10px}.quota-settings{grid-template-columns:repeat(4,minmax(100px,1fr));align-items:end;gap:12px;padding:16px;display:grid}.quota-settings .quota-intro{grid-column:1/-1;padding-bottom:2px}.quota-settings label{min-width:0;position:static}.quota-input{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:7px;display:grid}.quota-settings .quota-input input{width:100%;min-width:0;padding:9px 10px}.quota-settings .quota-input small{color:var(--muted);position:static}.active-plan-profile{border:1px solid var(--line);background:var(--paper);width:fit-content;color:var(--muted);border-radius:99px;align-items:center;gap:8px;margin:18px 0 10px;padding:7px 11px;font-size:.68rem;display:flex}.active-plan-profile strong{color:var(--ink)}.horizontal-plan{grid-auto-columns:min(860px,100vw - 330px)}.horizontal-plan .meal-slot{grid-template-columns:110px minmax(0,1fr)}.horizontal-plan .meal-options{grid-template-columns:repeat(3,minmax(0,1fr))}.meal-option{overflow:hidden}.meal-option-detail{grid-template-columns:46px minmax(0,1fr)}.meal-option-detail img{width:46px;height:46px}.meal-option-detail strong{max-width:100%}.plan-source{color:#7458dc!important}@media (width<=1120px) and (width>=801px){.horizontal-plan{grid-auto-columns:min(720px,100vw - 310px)}.horizontal-plan .meal-slot{grid-template-columns:1fr}.horizontal-plan .meal-time{align-items:center;gap:8px;display:flex}.horizontal-plan .meal-options{grid-template-columns:repeat(3,minmax(0,1fr))}.meal-option-detail{grid-template-columns:40px minmax(0,1fr);gap:6px}.meal-option-detail img{width:40px;height:40px}.meal-option-detail strong{font-size:.68rem}}@media (width<=800px){.editor-number-grid{grid-template-columns:1fr}.ingredient-editor-list article{grid-template-columns:minmax(0,1fr) 80px 72px 38px}.ingredient-editor-list article>input:not([type=number]){grid-column:1/-1}.pantry-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.planner-heading-actions{justify-content:space-between;align-items:end;width:100%}.quota-settings{grid-template-columns:repeat(2,minmax(0,1fr))}.horizontal-plan{grid-auto-columns:92vw}.horizontal-plan .meal-slot,.horizontal-plan .meal-options{grid-template-columns:1fr}}@media (width<=520px){.dashboard-goal{min-height:150px}.dashboard-semicircle{width:120px;height:70px}.editor-image-preview{grid-template-columns:80px minmax(0,1fr)}.editor-image-preview img{width:80px;height:64px}.ingredient-editor-list article{grid-template-columns:minmax(0,1fr) 72px 64px 36px}.ingredient-editor-list article .ingredient-reference-select{grid-column:1/-1}.ingredient-editor-list article .ingredient-unit-select{grid-column:auto}.pantry-choice-grid{grid-template-columns:1fr}.planner-heading-actions{grid-template-columns:1fr;display:grid}.planner-profile-select select{width:100%}.category-filter-top{align-items:flex-start}.category-filter-actions{flex-direction:column;align-items:flex-end}}@media (prefers-reduced-motion:reduce){.dashboard-semicircle .goal-value{transition:none}}.modal-header-actions{align-items:center;gap:8px;display:flex}.dashboard-meal-row{background:#f8fbfc;border:1px solid #e5edf2;border-radius:14px;grid-template-columns:42px minmax(0,1fr);align-items:stretch;display:grid;overflow:hidden}.dashboard-meal-row.consumed{background:#ecf9f3;border-color:#8bd4b2}.dashboard-meal-check{border:0;border-right:1px solid var(--line);color:#75819a;cursor:pointer;background:0 0;place-items:center;min-width:42px;padding:0;display:grid}.dashboard-meal-check:hover,.dashboard-meal-check:focus-visible{color:#23855f;background:#32a9771c}.dashboard-meal-check[aria-pressed=true]{color:#23855f}.dashboard-meal-check svg{width:22px}.dashboard-meal-detail{width:100%;min-height:54px;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:44px 46px minmax(0,1fr) 20px;align-items:center;gap:9px;padding:6px;display:grid}.dashboard-meal-detail:hover{background:#f5f1ff}.dashboard-meal-detail img{object-fit:cover;border-radius:10px;width:46px;height:42px}.dashboard-meal-detail>span:not(.dashboard-meal-time){gap:2px;min-width:0;display:grid}.dashboard-meal-detail>svg{width:16px;color:var(--muted)}.dashboard-meal-list small{color:#7658e8;font-size:.58rem;font-weight:800}.dashboard-meal-list strong{text-overflow:ellipsis;white-space:nowrap;font-size:.72rem;overflow:hidden}.recipe-log-panel{background:#f6f9fd;border:1px solid #cddcf0;border-radius:18px;gap:12px;margin-top:14px;padding:16px;display:grid}.recipe-log-panel>div:first-child{gap:4px;display:grid}.recipe-log-panel small{color:var(--muted)}.gram-log-row{grid-template-columns:minmax(120px,.65fr) 1fr;align-items:end;gap:10px;display:grid}.gram-log-row label{color:var(--muted);gap:6px;font-size:.75rem;font-weight:700;display:grid}.recipe-image-editor{border:1px solid var(--line);background:color-mix(in srgb, var(--paper) 86%, #dff1e8);border-radius:20px;grid-template-columns:minmax(220px,.8fr) minmax(280px,1.2fr);gap:18px;padding:14px;display:grid}.recipe-image-editor .editor-image-preview{background:0 0;border:0;grid-template-columns:1fr;align-content:start;margin:0;padding:0}.recipe-image-editor .editor-image-preview img{object-fit:cover;border-radius:15px;width:100%;height:210px}.image-editor-controls{align-content:start;gap:10px;display:grid}.image-editor-controls>label{gap:6px;display:grid}.image-action-row,.delete-confirm-actions{flex-wrap:wrap;gap:8px;display:flex}.image-upload-button{position:relative}.visually-hidden{clip:rect(0, 0, 0, 0)!important;white-space:nowrap!important;border:0!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;position:absolute!important;overflow:hidden!important}.button.danger{color:#fff;background:#b93b45;border-color:#b93b45}.button.danger:hover{background:#982e37}.delete-recipe-zone{border-top:1px solid var(--line);gap:10px;padding-top:18px;display:grid}.spin{animation:.9s linear infinite recipe-spin}@keyframes recipe-spin{to{transform:rotate(360deg)}}html[data-theme=dark] .dashboard-meal-row{background:#111a30;border-color:#344263}html[data-theme=dark] .dashboard-meal-row.consumed{background:#163b32;border-color:#2d8d69}html[data-theme=dark] .recipe-log-panel{background:#202b48;border-color:#344263}html[data-theme=dark] .recipe-image-editor{background:#202b48}@media (width<=720px){.recipe-image-editor{grid-template-columns:1fr}.recipe-image-editor .editor-image-preview img{height:190px}.gram-log-row{grid-template-columns:1fr}.dashboard-meal-detail{grid-template-columns:38px 42px minmax(0,1fr) 18px}}@media (prefers-reduced-motion:reduce){.spin{animation:none}}.recipe-serving-planner{background:color-mix(in srgb, var(--paper) 88%, #e7eefc);border:1px solid #cddcf0;border-radius:20px;gap:12px;margin:18px 0;padding:16px;display:grid}.recipe-serving-heading{justify-content:space-between;align-items:end;gap:16px;display:flex}.recipe-serving-heading h3{margin:2px 0 0}.recipe-serving-heading>strong{color:#7254d6;text-align:right;font-size:.78rem}.recipe-selection-mode{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.recipe-selection-mode button,.portion-choice-grid button{border:1px solid var(--line);min-height:42px;color:var(--ink);background:var(--paper);cursor:pointer;border-radius:12px;justify-content:center;align-items:center;gap:7px;display:flex}.recipe-selection-mode button[aria-pressed=true],.portion-choice-grid button[aria-pressed=true]{color:#5136b5;background:#eee9ff;border-color:#7254d6;box-shadow:inset 0 0 0 1px #7254d6}.recipe-selection-mode svg{width:18px}.portion-choice-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;display:grid}.portion-choice-grid button{font-weight:850}.profile-serving-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.profile-serving-grid label{border:1px solid var(--line);background:var(--paper);cursor:pointer;border-radius:12px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:2px 9px;padding:10px 12px;display:grid}.profile-serving-grid label.selected{background:#e9f7f0;border-color:#39a97a}.profile-serving-grid input{grid-row:1/span 2;width:18px;height:18px;margin:0}.profile-serving-grid small{color:var(--muted)}.recipe-action-buttons{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.recipe-action-buttons .button{min-height:46px}.recipe-log-divider{color:var(--muted);align-items:center;gap:10px;font-size:.7rem;display:flex!important}.recipe-log-divider:before,.recipe-log-divider:after{content:"";background:var(--line);flex:1;height:1px}.recipe-shopping-section{background:color-mix(in srgb, var(--paper) 90%, #eee9ff)!important;border-color:#bdaef1!important}.recipe-shopping-section h2{color:#674bc5}html[data-theme=dark] .recipe-serving-planner{background:#202b48;border-color:#46527b}html[data-theme=dark] .recipe-selection-mode button[aria-pressed=true],html[data-theme=dark] .portion-choice-grid button[aria-pressed=true]{color:#d8d0ff;background:#3a3162}html[data-theme=dark] .profile-serving-grid label.selected{background:#173c32;border-color:#3cae80}html[data-theme=dark] .recipe-shopping-section{background:#26213f!important;border-color:#6c5ab3!important}@media (width<=720px){.recipe-action-buttons{grid-template-columns:1fr}}@media (width<=520px){.recipe-serving-heading{flex-direction:column;align-items:flex-start}.recipe-serving-heading>strong{text-align:left}.profile-serving-grid{grid-template-columns:1fr}}
