:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #37352f;
  background: #f7f7f5;
  font-synthesis: none;
  --border: #e7e6e2;
  --muted: #787774;
  --green: #356859;
  --green-soft: #eaf1ed;
  --paper: #fff;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: #f7f7f5; }
button, input { font: inherit; }
button { color: inherit; }
a { color: #356859; text-underline-offset: 2px; }
main { width: min(100%, 1080px); margin: auto; padding: max(18px, env(safe-area-inset-top)) 24px max(72px, env(safe-area-inset-bottom)); }
.hero { display: grid; grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr); min-height: 390px; margin: 18px 0 20px; overflow: hidden; border: 1px solid var(--border); border-radius: 18px; background: var(--paper); box-shadow: 0 1px 2px #0f0f0f0a; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(34px, 6vw, 68px); }
.hero-image { min-height: 320px; margin: 0; overflow: hidden; background: #ebe9e3; }
.hero-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.eyebrow, .kicker { margin: 0 0 10px; color: var(--muted); font-size: .75rem; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 7px; color: #52645b; text-transform: none; letter-spacing: 0; }
.eyebrow span { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 8px; background: var(--green-soft); }
h1 { max-width: 620px; margin: 14px 0 0; font-size: clamp(2.5rem, 7vw, 5.2rem); line-height: .98; letter-spacing: -.055em; }
.lede { max-width: 520px; margin: 18px 0 0; color: #5f5e5a; font-size: clamp(1rem, 2vw, 1.18rem); line-height: 1.5; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 26px; }
.hero-meta span, .promise span { padding: 6px 10px; border: 1px solid var(--border); border-radius: 7px; color: #5f5e5a; background: #fafafa; font-size: .76rem; }
.promise { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px 0 20px; }
.promise span { border: 0; color: #486158; background: var(--green-soft); }
.view-switcher { position: sticky; top: 10px; z-index: 5; display: flex; gap: 4px; width: max-content; margin: 12px 0 36px; padding: 4px; border: 1px solid var(--border); border-radius: 10px; background: #ffffffee; box-shadow: 0 3px 12px #0f0f0f0c; backdrop-filter: blur(14px); }
.view-button { min-width: 132px; min-height: 38px; padding: 0 14px; border: 0; border-radius: 7px; background: transparent; color: #5c5b57; font-weight: 650; cursor: pointer; }
.view-button:hover { background: #f1f1ef; }
.view-button.active { color: #37352f; background: #ebebea; }
.view-button span:not(:empty) { display: inline-grid; min-width: 20px; height: 20px; margin-left: 5px; place-items: center; border-radius: 5px; background: #dce9e2; color: #315b4f; font-size: .7rem; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 18px; }
h2 { margin: 0; font-size: clamp(1.8rem, 4vw, 2.55rem); line-height: 1.1; letter-spacing: -.035em; }
.updated { max-width: 280px; margin: 0; color: var(--muted); font-size: .76rem; text-align: right; }
.day-tabs { display: flex; gap: 6px; margin: 0 -4px 18px; padding: 0 4px 5px; overflow-x: auto; scrollbar-width: none; }
.day-tabs::-webkit-scrollbar { display: none; }
.day-tab { flex: 0 0 auto; min-width: 46px; height: 42px; border: 1px solid var(--border); border-radius: 8px; background: var(--paper); color: #676661; cursor: pointer; }
.day-tab:hover { background: #f1f1ef; }
.day-tab[aria-selected="true"] { border-color: #aac2b8; color: #244f43; background: var(--green-soft); font-weight: 700; }
.day-card { overflow: hidden; border: 1px solid var(--border); border-radius: 14px; background: var(--paper); box-shadow: 0 1px 2px #0f0f0f0a; }
.day-photo { width: 100%; height: 220px; display: block; object-fit: cover; }
.day-card-header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 22px 24px 16px; border-bottom: 1px solid var(--border); }
.day-card h3 { margin: 0; font-size: 1.35rem; letter-spacing: -.02em; }
.cook-count { padding: 4px 8px; border-radius: 6px; color: #547065; background: var(--green-soft); font-size: .72rem; }
.meal { display: grid; grid-template-columns: 88px 1fr auto; gap: 16px; align-items: start; padding: 19px 24px; border-bottom: 1px solid #efefed; }
.meal:last-of-type { border-bottom: 0; }
.meal-type { color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.meal h4 { margin: -3px 0 6px; font-size: 1rem; }
.meal p { margin: 0; color: #6f6e69; font-size: .82rem; line-height: 1.5; }
.meal-stats { display: flex; gap: 5px; white-space: nowrap; }
.meal-stats span, .source { padding: 5px 7px; border-radius: 6px; color: #52685f; background: var(--green-soft); font-size: .68rem; font-weight: 650; }
.source { display: inline-block; margin-top: 8px; color: #695d43; background: #f4efe3; }
.prep { margin: 0; padding: 20px 24px; background: #fafaf9; }
.prep h4 { margin: 0 0 12px; font-size: .76rem; letter-spacing: .05em; text-transform: uppercase; }
.prep-item + .prep-item { margin-top: 16px; }
.prep-item strong { display: block; margin-bottom: 5px; }
.prep ol { margin: 0; padding-left: 18px; color: #66655f; font-size: .82rem; line-height: 1.6; }
.tips { margin-top: 16px; padding: 18px 20px; border: 1px solid #dce6e1; border-radius: 12px; color: #52635b; background: #f3f8f5; }
.tips strong { display: block; margin-bottom: 7px; color: #31574c; }
.tips ul { margin: 0; padding-left: 18px; line-height: 1.55; }
.shopping { display: grid; gap: 28px; }
.store-block { display: grid; gap: 10px; }
.store-name { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 1.25rem; }
.store-name::before { content: ""; width: 9px; height: 9px; border-radius: 3px; background: #77a18f; }
.store-categories { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.shopping-group { padding: 18px; border: 1px solid var(--border); border-radius: 12px; background: var(--paper); }
.shopping-group h4 { margin: 0 0 10px; color: var(--muted); font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; }
.shopping-item { display: grid; grid-template-columns: 22px 1fr auto; gap: 9px; align-items: start; padding: 11px 0; cursor: pointer; }
.shopping-item + .shopping-item { border-top: 1px solid #efefed; }
.shopping-item input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--green); }
.shopping-item.checked .product-title { color: #9a9995; text-decoration: line-through; }
.product-title { display: block; font-size: .9rem; font-weight: 650; }
.brand { display: inline-block; margin: 0 0 3px; padding: 2px 5px; border-radius: 4px; color: #456357; background: var(--green-soft); font-size: .65rem; font-weight: 700; }
.composition { display: block; margin-top: 5px; color: #777671; font-size: .72rem; line-height: 1.42; }
.product-link { display: inline-block; margin-top: 5px; font-size: .7rem; }
.amount { color: #777671; font-size: .74rem; text-align: right; white-space: nowrap; }
.progress { height: 5px; margin-bottom: 7px; overflow: hidden; border-radius: 999px; background: #e5e5e2; }
.progress span { display: block; width: 0; height: 100%; border-radius: inherit; background: #5d8d7b; transition: width .25s ease; }
.progress-text { margin: 0 0 22px; color: var(--muted); font-size: .76rem; }
.text-button { padding: 7px 0; border: 0; background: transparent; color: #60756c; font-size: .76rem; text-decoration: underline; cursor: pointer; }
.empty { padding: 32px; border: 1px dashed #cfcfca; border-radius: 12px; color: var(--muted); text-align: center; background: var(--paper); }
footer { margin-top: 54px; padding-top: 22px; border-top: 1px solid var(--border); color: var(--muted); font-size: .73rem; line-height: 1.5; }
footer p { margin: 5px 0; }
[hidden] { display: none !important; }
@media (max-width: 760px) {
  main { padding-left: 16px; padding-right: 16px; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 34px 28px; }
  .hero-image { order: -1; min-height: 230px; max-height: 300px; }
  .view-switcher { width: 100%; }
  .view-button { flex: 1; min-width: 0; }
  .day-tabs { margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; }
  .store-categories { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .hero { margin-top: 6px; }
  .hero-copy { padding: 28px 22px 30px; }
  .hero-image { min-height: 190px; }
  .promise { gap: 6px; }
  .promise span { font-size: .68rem; }
  .section-heading { align-items: start; }
  .updated { max-width: 130px; }
  .meal { grid-template-columns: 1fr auto; padding: 17px; }
  .meal-type { grid-column: 1 / -1; }
  .meal-stats { flex-direction: column; }
  .day-card-header, .prep { padding-left: 17px; padding-right: 17px; }
  .day-photo { height: 170px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
