.food-approach-switch{display:grid;gap:.85rem;margin:1.15rem 0 0;padding:0;border:0;border-radius:0;background:none}
.food-approach-switch__copy p{margin:.3rem 0 0;max-width:62ch;color:var(--muted,#5f6b66)}
.food-approach-switch__copy h3{margin:.1rem 0;font-size:1.15rem;color:var(--ink,#121c18)}
.food-approach-switch__choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.food-approach-card{display:grid;gap:.3rem;text-align:left;min-height:108px;padding:1rem 1.05rem;border:1px solid var(--line,#d7e2db);border-radius:14px;background:var(--white,#ffffff);color:var(--ink,#121c18);cursor:pointer}
.food-approach-card small{font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;font-weight:650;color:var(--green,#0b4638)}
.food-approach-card strong{font-size:1.08rem}
.food-approach-card span{color:var(--muted,#5f6b66);line-height:1.45}
.food-approach-card:hover{border-color:var(--green,#0b4638)}
.food-approach-card.is-selected{border-color:var(--green,#0b4638);box-shadow:0 0 0 2px #0b46381a;background:#ffffff}
.food-approach-switch--compact{padding:1rem}
.food-approach-switch--compact .food-approach-card{min-height:100px}
.food-approach-switch--today .food-approach-card{min-height:108px}
.food-approach-note{margin:0 0 1.2rem;padding:12px 14px;border-radius:12px;background:#eaf4ee;color:#173c33;line-height:1.55}
.food-approach-switch [role="status"]{min-height:1.3em;margin:0;color:#125b47;font-weight:650}
.today-food-story{display:grid;gap:1.2rem;margin:0 0 2rem;padding:1.7rem 1.7rem 1.75rem;border:1px solid var(--line,#d7e2db);border-radius:14px;background:var(--white,#ffffff);box-shadow:0 10px 28px -18px rgba(14,26,23,.16)}
.today-food-story__head h2{margin:.1rem 0 .35rem;font-size:clamp(1.55rem,2.4vw,2.05rem);color:var(--ink,#121c18);letter-spacing:-.03em;font-family:var(--serif,"Iowan Old Style",Palatino,Georgia,serif);font-weight:500}
.today-food-story__head p{margin:0;max-width:62ch;color:var(--muted,#5f6b66)}
.today-food-story .nutrition-summary{margin:0}
.today-next-action{display:grid;gap:.35rem;padding:1.2rem 1.3rem;border-radius:14px;background:var(--navy,#0e1a17);color:#fff}
.today-next-action .eyebrow{color:var(--lime,#d9ef72);margin:0}
.today-next-action h3{margin:0;font-size:1.28rem;letter-spacing:-.02em}
.today-next-action p{margin:0;color:#d4e8e0;max-width:60ch}
.today-next-action .btn{justify-self:start;margin-top:.45rem}
.food-allowance-panel,.on-the-go-panel{margin:0 0 1.4rem;padding:1.3rem 1.4rem;border:1px solid var(--line,#d7e2db);border-radius:14px;background:var(--white,#ffffff)}
.today-food-story .food-allowance-panel{margin:0}
.on-the-go-intro p,.food-allowance-panel>p{color:#496a61;max-width:68ch}
.on-the-go-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;margin-top:1rem}
.on-the-go-card{display:grid;gap:.4rem;align-content:start;min-height:210px;padding:1rem;border-radius:18px;color:#173c33;border:1px solid #d5e2dc}
.on-the-go-card small{font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;font-weight:800}
.on-the-go-card h4{margin:0;font-size:1.05rem;line-height:1.3}
.on-the-go-card p{margin:0;color:#496a61;font-size:.92rem;line-height:1.45}
.on-the-go-card b{font-size:.95rem}
.on-the-go-card__mark{display:grid;place-items:center;width:36px;height:36px;border-radius:12px;font-weight:800;background:#fff8}
.tone-cream{background:linear-gradient(165deg,#fff8ef,#f3e6cf)}
.tone-frost{background:linear-gradient(165deg,#f4f8ff,#d9e6f4)}
.tone-ember{background:linear-gradient(165deg,#fff4ec,#f0d4c0)}
.tone-grove{background:linear-gradient(165deg,#f3f8ee,#d7e6c8)}
.tone-slate{background:linear-gradient(165deg,#f4f6f5,#d9e0dc)}
.tone-volt{background:linear-gradient(165deg,#eef6ea,#dcefe0)}
.food-allowance-panel--budget{background:linear-gradient(165deg,#fffdf6,#f7f1dc 55%,#fff);border-color:#e2d7b0}
.food-allowance-panel--budget>p,.food-allowance-editor>p{color:#5b5340}
.food-allowance-chip{border:1px solid #d4c89a;background:#fff;border-radius:999px;padding:.55rem .9rem;font-weight:750;color:#173c33;margin:0 .4rem .5rem 0}
.food-allowance-chip.is-on{background:#11624b;color:#fff;border-color:#11624b}
.food-allowance-row{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:center;justify-content:space-between;padding:14px 0;border-bottom:1px solid #eadfb8}
.food-allowance-row.is-kept{background:transparent}
.food-allowance-row.is-skipped{opacity:1;background:#f6f1de;border-radius:14px;padding:14px 12px;border-bottom:0;margin:.35rem 0}
.food-allowance-row strong,.food-allowance-row small{display:block}
.food-allowance-empty,.food-log-empty,.recent-foods__empty{margin:.4rem 0 0;color:#125b47}
.food-log-panel h3{margin:.15rem 0 .4rem;font-size:1.28rem;color:#173c33}
.food-portion{margin:.85rem 0 .2rem;padding:1rem 1.15rem;border:1px solid var(--line,#d7e2db);border-radius:14px;background:#eef4f0}
.food-portion__copy{margin:0 0 .7rem;color:#496a61;max-width:60ch;line-height:1.5}
.food-portion__row{display:grid;grid-template-columns:minmax(140px,220px) minmax(0,1fr);gap:12px 18px;align-items:end}
.food-portion label{display:grid;gap:6px;font-weight:650;color:#173c33}
.food-portion input{font:inherit;background:#fff;color:#173c33;border:1px solid #a9c3b9;border-radius:10px;min-height:46px;padding:10px;width:100%}
.food-portion__ref{margin:0;color:#125b47;font-weight:650;align-self:center;line-height:1.45}
.food-log-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;margin:.8rem 0}
.food-log-fields label,.food-log-search label{display:grid;gap:6px;font-weight:650;color:#173c33}
.food-log-fields input,.food-log-search input{font:inherit;background:#fff;color:#173c33;border:1px solid #a9c3b9;border-radius:10px;min-height:46px;padding:10px;width:100%}
.recent-foods{margin:1rem 0 .85rem}
.recent-foods .eyebrow{margin:0 0 .55rem}
.recent-foods__chips{display:flex;flex-wrap:wrap;gap:8px}
.recent-food-chip{display:grid;gap:.15rem;text-align:left;padding:.7rem .9rem;border:1px solid var(--line,#d7e2db);border-radius:12px;background:#eef4f0;color:var(--ink,#121c18);cursor:pointer}
.recent-food-chip:hover{border-color:#11624b}
.recent-food-chip strong{font-size:.95rem}
.recent-food-chip small{color:#496a61}
.task.meal.is-flexible{background:linear-gradient(150deg,#162e2a,#1d4a3d);color:#fff}
.task.meal.is-flexible small,.task.meal.is-flexible #meal-method,.task.meal.is-flexible .why-chosen{color:#cfe3db}
.task.meal.is-flexible .pills span{background:#ffffff14;color:#fff;border-color:#ffffff22}
.task.meal.is-flexible .link{color:#d9ef72}
.food-log-form fieldset{border:1px solid #d5e2dc;border-radius:16px;padding:16px;margin:0 0 1rem}
.food-log-search{display:grid;grid-template-columns:1fr auto;gap:10px;width:100%}
.food-search-results{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px;margin:.55rem 0 .2rem}
.food-search-hit{display:grid;gap:.25rem;align-content:start;width:100%;text-align:left;margin:0;padding:.85rem .9rem;border:1px solid var(--line,#d7e2db);border-radius:12px;background:#ffffff;color:var(--ink,#121c18);cursor:pointer}
.food-search-hit:hover{border-color:var(--green,#0b4638);background:#eef4f0}
.food-search-hit__mark{font-size:.68rem;letter-spacing:.08em;text-transform:uppercase;font-weight:800;color:#167d68}
.food-search-hit strong{font-size:1rem}
.food-search-hit small{color:#496a61}
#food-search-status,#food-log-status,#allowance-status{min-height:1.3em;margin:.45rem 0 0;color:#125b47;font-weight:650}
.nutrition-stat.is-primary{background:linear-gradient(160deg,#162e2a,#1f5345);color:#fff;border-color:#162e2a}
.nutrition-stat.is-primary small,.nutrition-stat.is-primary p,.nutrition-stat.is-primary a{color:#d4e8e0}
.nutrition-stat.is-primary strong{color:#fff}
.nutrition-stat--allowance{background:linear-gradient(165deg,#fffdf6,#f4edd2);border-color:#e2d7b0}
.nutrition-stat--allowance small,.nutrition-stat--allowance p{color:#5b5340}
.nutrition-summary{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}
.nutrition-summary--today{gap:14px}
@media(max-width:720px){
  .food-approach-switch__choices,.food-log-search,.food-search-results,.food-log-fields,.food-portion__row{grid-template-columns:1fr}
  .food-approach-card,.on-the-go-card{min-height:0}
  .food-allowance-row{align-items:flex-start}
  .today-food-story{padding:1.1rem 1rem 1.2rem}
}
