/* recipe-img-fix-0923 */
:root{--ink:#17201d;--forest:#173f35;--forest-2:#285d4e;--cream:#f7f4ed;--paper:#fffdfa;--coral:#e96343;--gold:#e7b95e;--sage:#dfe9e3;--muted:#66716c;--line:#d9ddd8;--shadow:0 18px 50px rgba(20,46,38,.11);--serif:"Playfair Display",Georgia,serif;--sans:"DM Sans",system-ui,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--cream);font-family:var(--sans);line-height:1.55}.skip-link{position:absolute;left:-9999px;z-index:100}.skip-link:focus{left:1rem;top:1rem;background:white;padding:.7rem 1rem}.site-header{height:76px;padding:0 clamp(1.2rem,5vw,5rem);display:flex;align-items:center;justify-content:space-between;background:var(--paper);position:relative;z-index:10}.brand{display:flex;align-items:center;gap:.7rem;font-weight:700;letter-spacing:.02em;text-decoration:none;color:inherit}.brand-mark{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:var(--forest);color:white;font-family:var(--serif);font-size:1.2rem}.site-header nav{display:flex;gap:2rem}.site-header nav a{color:var(--ink);text-decoration:none;font-size:.88rem;font-weight:600}.site-header nav a:hover{color:var(--coral)}.hero{min-height:650px;background:var(--forest);display:grid;grid-template-columns:minmax(380px,.85fr) 1.15fr;overflow:hidden}.hero-copy{padding:clamp(4rem,7vw,7rem) clamp(2rem,6vw,7rem);color:white;align-self:center}.eyebrow{font-size:.72rem;text-transform:uppercase;letter-spacing:.2em;font-weight:700;margin:0 0 1rem;color:#c9dfd5}.eyebrow.dark{color:var(--forest-2)}h1,h2,h3{font-family:var(--serif);line-height:1.08;margin-top:0}h1{font-size:clamp(3.25rem,6vw,6.3rem);margin-bottom:1.5rem;letter-spacing:-.04em}.hero-lede{font-size:1.08rem;color:#dbe8e3;max-width:560px}.hero-meta{display:flex;gap:2rem;margin:2.2rem 0}.hero-meta span{border-left:1px solid #5d7f74;padding-left:.8rem;font-size:.72rem;letter-spacing:.11em;text-transform:uppercase}.hero-meta strong{display:block;font-size:1.15rem;letter-spacing:0}.button{border:0;border-radius:3px;padding:.95rem 1.25rem;font:700 .83rem var(--sans);letter-spacing:.02em;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:.6rem;cursor:pointer;transition:.2s}.button:hover{transform:translateY(-1px)}.button-light{background:white;color:var(--forest)}.button-primary{background:var(--coral);color:white}.button-outline{background:transparent;color:var(--forest);box-shadow:inset 0 0 0 1px var(--forest)}.hero-mosaic{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:7px;transform:rotate(1deg) scale(1.025)}.hero-mosaic img{width:100%;height:100%;object-fit:cover;min-height:0}.hero-mosaic .mosaic-main{grid-row:1/3}.section-pad{padding:clamp(4.5rem,8vw,8rem) clamp(1.25rem,7vw,7.5rem)}.week-intro{display:grid;grid-template-columns:1fr 1fr;gap:8vw;align-items:end;background:var(--paper)}.week-intro h2,.grocery h2,.feedback h2{font-size:clamp(2.5rem,4.5vw,4.5rem);letter-spacing:-.03em;margin:0}.week-intro-note>p{font-size:1.1rem;color:var(--muted);max-width:650px;margin:0}.pending-jump{display:inline-block;margin-top:1rem;color:var(--forest);font-size:.82rem;font-weight:700;text-decoration:none}.pending-jump:hover{color:var(--coral);text-decoration:underline}.recipe-list{background:var(--paper);padding:0 clamp(1.25rem,5vw,5rem) 7rem}.recipe-card{display:grid;grid-template-columns:minmax(300px,.9fr) 1.1fr;background:var(--cream);margin-bottom:3rem;box-shadow:var(--shadow);overflow:hidden}.recipe-card:nth-child(even){grid-template-columns:1.1fr minmax(300px,.9fr)}.recipe-card:nth-child(even) .recipe-image-wrap{order:2}.recipe-image-wrap{position:relative;min-height:620px}.recipe-image-wrap img{width:100%;height:100%;object-fit:cover;position:absolute}.night-tab{position:absolute;top:1.5rem;left:1.5rem;background:var(--paper);padding:.65rem .9rem;font-size:.72rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;box-shadow:0 4px 20px #0002}.recipe-body{padding:clamp(2rem,4vw,4.2rem);display:flex;flex-direction:column}.recipe-kicker{font-size:.75rem;color:var(--coral);font-weight:700;text-transform:uppercase;letter-spacing:.13em}.recipe-body h2{font-size:clamp(2.2rem,3.7vw,3.8rem);margin:.6rem 0 1rem;letter-spacing:-.03em}.inspiration{color:var(--muted);margin:0 0 1.4rem}.chips{display:flex;gap:.55rem;flex-wrap:wrap;margin-bottom:1.25rem}.chip{background:white;border:1px solid var(--line);border-radius:99px;padding:.42rem .75rem;font-size:.76rem;font-weight:600}.allium-note{background:var(--sage);padding:.85rem 1rem;border-left:3px solid var(--forest);font-size:.85rem;margin-bottom:1.3rem}.allium-note strong{color:var(--forest)}.decision-control{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:.9rem 0;margin-bottom:1rem}.decision-control>span{font-size:.8rem;font-weight:700}.segmented{display:flex;background:#e8e7e1;border-radius:4px;padding:3px}.decision-btn{border:0;background:transparent;padding:.55rem .9rem;border-radius:3px;font:700 .75rem var(--sans);color:var(--muted);cursor:pointer}.decision-btn.active[data-decision="keep"]{background:var(--forest);color:white}.decision-btn.active[data-decision="modify"]{background:var(--gold);color:#352b17}.decision-btn.active[data-decision="replace"]{background:var(--coral);color:white}.recipe-details{margin-top:auto}.recipe-details summary{cursor:pointer;font-weight:700;color:var(--forest);padding:.8rem 0;list-style:none;display:flex;justify-content:space-between}.recipe-details summary::-webkit-details-marker{display:none}.recipe-details summary::after{content:"+";font-size:1.25rem}.recipe-details[open] summary::after{content:"−"}.details-content{border-top:1px solid var(--line);padding-top:1.2rem}.details-content h3{font:700 .72rem var(--sans);letter-spacing:.13em;text-transform:uppercase;color:var(--forest);margin:1.5rem 0 .6rem}.ingredient-sections{columns:2;column-gap:2rem}.ingredient-group{break-inside:avoid}.details-content ul{margin:.4rem 0;padding-left:1.1rem}.details-content li{font-size:.83rem;margin:.32rem 0}.steps{list-style:none!important;padding:0!important;counter-reset:step}.steps li{counter-increment:step;display:grid;grid-template-columns:28px 1fr;gap:.55rem;margin:.8rem 0}.steps li::before{content:counter(step);width:23px;height:23px;background:var(--forest);color:white;border-radius:50%;display:grid;place-items:center;font-size:.68rem;font-weight:700}.notes-grid{display:grid;grid-template-columns:1fr 1fr;gap:.8rem;margin-top:1.5rem}.note-card{background:white;padding:1rem}.note-card h3{margin-top:0}.note-card.wide{grid-column:1/-1;background:#fff4df}.grocery{background:var(--forest);color:white}.grocery-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:2rem}.grocery-heading p:not(.eyebrow){color:#cbddd6}.status-pill{padding:.5rem .8rem;border:1px solid #729186;border-radius:99px;font-size:.7rem;text-transform:uppercase;letter-spacing:.12em;white-space:nowrap}.grocery details{margin-top:3rem;border-top:1px solid #52766a}.grocery summary{padding:1.4rem 0;display:flex;justify-content:space-between;cursor:pointer;list-style:none;font-weight:700}.grocery summary::-webkit-details-marker{display:none}.summary-icon{font-size:1.4rem}.grocery details[open] .summary-icon{transform:rotate(45deg)}.grocery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.2rem;padding:1rem 0}.grocery-grid>div{background:#204b40;padding:1.5rem}.grocery-grid h3{font-size:1.5rem}.grocery-grid ul{list-style:none;margin:0;padding:0}.grocery-grid li{display:flex;justify-content:space-between;gap:1rem;border-top:1px solid #426b60;padding:.65rem 0;font-size:.78rem}.grocery-grid b{text-align:right;font-weight:600;color:#c9dfd5}.label-check{background:var(--gold);color:#352b17;padding:1rem 1.2rem;font-size:.83rem;margin:1rem 0 2rem}.feedback{display:grid;grid-template-columns:1fr 1fr;gap:10vw;background:var(--paper)}.feedback-copy>p:not(.eyebrow){color:var(--muted);max-width:550px}.decision-summary{display:inline-block;background:var(--sage);color:var(--forest);font-size:.8rem;font-weight:700;padding:.65rem .9rem;margin-top:1rem}.feedback-form{align-self:center;background:var(--cream);padding:clamp(1.5rem,3vw,2.5rem);box-shadow:var(--shadow)}.feedback-form label{display:flex;justify-content:space-between;font-size:.82rem;font-weight:700;margin-bottom:.6rem}.feedback-form label span{font-weight:400;color:var(--muted)}textarea{width:100%;resize:vertical;border:1px solid var(--line);background:white;padding:1rem;font:inherit;min-height:120px;border-radius:2px}textarea:focus{outline:2px solid var(--forest);outline-offset:1px}.form-actions{display:grid;grid-template-columns:1fr 1fr;gap:.7rem;margin-top:1rem}.submit-status{display:none;padding:.75rem 1rem;margin-top:1rem;font-size:.82rem}.submit-status.visible{display:block}.submit-status.success{background:#dceddf;color:#1e5b34}.submit-status.error{background:#fde2dc;color:#812e1f}.submit-status.info{background:#fff0cd;color:#68501a}.copy-fallback{margin-top:.8rem;width:100%;border:0;background:none;text-decoration:underline;color:var(--forest);cursor:pointer;font:600 .8rem var(--sans)}.privacy-note{text-align:center;color:var(--muted);font-size:.7rem;margin:.8rem 0 0}.mobile-action{display:none}footer{padding:2rem clamp(1.25rem,7vw,7.5rem);display:flex;justify-content:space-between;align-items:center;background:#102e27;color:white}footer p{font-size:.75rem;color:#aec8be}
@media(max-width:900px){.hero{grid-template-columns:1fr;min-height:auto}.hero-copy{padding-top:5rem;padding-bottom:4rem}.hero-mosaic{height:520px;transform:none}.week-intro,.feedback{grid-template-columns:1fr;gap:2rem}.recipe-card,.recipe-card:nth-child(even){grid-template-columns:1fr}.recipe-card:nth-child(even) .recipe-image-wrap{order:0}.recipe-image-wrap{min-height:460px}.grocery-grid{grid-template-columns:1fr 1fr}.mobile-action{display:flex;position:fixed;z-index:20;bottom:0;left:0;right:0;background:white;box-shadow:0 -8px 30px #0002;padding:.7rem 1rem;align-items:center;justify-content:space-between}.mobile-action span{font-size:.78rem;font-weight:700}.mobile-action .button{padding:.75rem 1rem}body{padding-bottom:68px}}
@media(max-width:600px){.site-header{height:64px}.site-header nav a[href^="#"]{display:none}.site-header nav{gap:0}h1{font-size:3.2rem}.hero-copy{padding:4rem 1.3rem 3rem}.hero-meta{gap:1rem}.hero-mosaic{height:320px}.week-intro{padding-top:4rem;padding-bottom:4rem}.recipe-list{padding-left:.75rem;padding-right:.75rem}.recipe-image-wrap{min-height:330px}.recipe-body{padding:1.5rem}.recipe-body h2{font-size:2.25rem}.ingredient-sections{columns:1}.notes-grid{grid-template-columns:1fr}.note-card.wide{grid-column:auto}.grocery-heading{align-items:flex-start;flex-direction:column}.grocery-grid{grid-template-columns:1fr}.form-actions{grid-template-columns:1fr}.feedback{padding-bottom:5rem}footer{flex-direction:column;gap:1rem;text-align:center}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.button{transition:none}}

.status-pill.approved {
  background: #d8f3e4;
  color: #14532d;
  border-color: #86efac;
}

/* Step indicator */
.step-indicator {
  background: var(--paper);
  padding-top: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--line);
}
.steps-bar {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: clamp(0.75rem, 3vw, 2rem);
  align-items: center;
  flex-wrap: wrap;
}
.steps-bar .step {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.82rem;
}
.steps-bar .step a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: inherit;
  text-decoration: none;
}
.steps-bar .step a:hover { color: var(--coral); }
.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e8e7e1;
  color: var(--muted);
  font-size: 0.75rem;
}
.steps-bar .step.done .step-num {
  background: var(--forest);
  color: white;
}
.steps-bar .step.current {
  color: var(--forest);
}
.steps-bar .step.current .step-num {
  background: var(--coral);
  color: white;
}
.step-hint {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Pantry / grocery review */
.pantry-review {
  background: var(--cream);
}
.pantry-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.pantry-heading h2 {
  font-size: clamp(2.5rem, 4.5vw, 4.5rem);
  letter-spacing: -0.03em;
  margin: 0;
}
.pantry-heading p:not(.eyebrow) {
  color: var(--muted);
  max-width: 560px;
  margin: 0.75rem 0 0;
}
.grocery-checklist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.1rem;
}
.check-group {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.25rem 1.35rem 1rem;
  box-shadow: 0 8px 24px rgba(20, 46, 38, 0.06);
}
.check-group h3 {
  font-size: 1.35rem;
  margin: 0 0 0.85rem;
  color: var(--forest);
}
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.check-list li {
  border-top: 1px solid var(--line);
}
.check-list li.optional {
  opacity: 0.85;
}
.check-list label {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.7rem 0;
  cursor: pointer;
  font-size: 0.84rem;
}
.check-list input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--forest);
  cursor: pointer;
}
.item-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.item-name {
  font-weight: 600;
  color: var(--ink);
}
.item-qty {
  font-size: 0.75rem;
  color: var(--muted);
}
.have-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--forest-2);
  white-space: nowrap;
}
.opt-tag {
  font-style: normal;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral);
  margin-left: 0.25rem;
}
.pantry-form {
  margin-top: 2rem;
  background: var(--paper);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow);
  max-width: 720px;
}
.pantry-form label {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.pantry-form label span {
  font-weight: 400;
  color: var(--muted);
}
.pantry-actions {
  margin-top: 1rem;
}
.label-details {
  margin-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.label-details summary {
  padding: 1.1rem 0;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: var(--forest);
}
.label-details summary::-webkit-details-marker { display: none; }
.label-details[open] .summary-icon { transform: rotate(45deg); display: inline-block; }
.label-details .label-check {
  margin: 0 0 0.5rem;
}

@media (max-width: 900px) {
  .pantry-heading {
    flex-direction: column;
    align-items: flex-start;
  }
  .check-list label {
    grid-template-columns: 22px 1fr;
  }
  .have-label {
    grid-column: 2;
    margin-top: -0.35rem;
    margin-bottom: 0.2rem;
  }
}
@media (max-width: 600px) {
  .grocery-checklist {
    grid-template-columns: 1fr;
  }
  .pantry-actions {
    grid-template-columns: 1fr;
  }
  .step-label { font-size: 0.78rem; }
}

/* Tap to shop */
.tap-to-shop {
  background: var(--forest);
  color: white;
}
.tap-to-shop .eyebrow {
  color: #c9dfd5;
}
.shop-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.shop-heading h2 {
  font-size: clamp(2.5rem, 4.5vw, 4.5rem);
  letter-spacing: -0.03em;
  margin: 0;
  color: white;
}
.shop-heading p:not(.eyebrow) {
  color: #cbddd6;
  max-width: 640px;
  margin: 0.75rem 0 0;
  font-size: 1rem;
}
.status-pill.shop-pill {
  border-color: #729186;
  color: #c9dfd5;
  background: transparent;
}
.shop-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.1rem;
}
.shop-group {
  background: #204b40;
  padding: 1.25rem 1.2rem 1rem;
  border-radius: 2px;
}
.shop-group h3 {
  font-size: 1.4rem;
  margin: 0 0 0.75rem;
  color: white;
}
.shop-rows {
  list-style: none;
  margin: 0;
  padding: 0;
}
.shop-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-top: 1px solid #426b60;
  padding: 0.75rem 0;
  min-height: 56px;
}
.shop-item-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  flex: 1;
}
.shop-item-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: white;
}
.shop-item-qty {
  font-size: 0.75rem;
  color: #aec8be;
}
.shop-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 0.95rem;
  background: var(--coral);
  color: white;
  text-decoration: none;
  font: 700 0.72rem var(--sans);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 3px;
  white-space: nowrap;
  transition: transform 0.15s, background 0.15s;
}
.shop-btn:hover {
  background: #f07a5c;
  transform: translateY(-1px);
}
.shop-btn:focus-visible {
  outline: 2px solid white;
  outline-offset: 2px;
}
.shop-optional {
  margin-top: 1.75rem;
}
.shop-optional-details {
  border-top: 1px solid #52766a;
}
.shop-optional-details summary {
  padding: 1.1rem 0;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: #c9dfd5;
}
.shop-optional-details summary::-webkit-details-marker { display: none; }
.shop-optional-details[open] .summary-icon {
  transform: rotate(45deg);
  display: inline-block;
}
.shop-rows-optional {
  background: #1a4037;
  padding: 0.5rem 1rem 0.75rem;
  border-radius: 2px;
  margin-bottom: 0.5rem;
}
.shop-rows-optional .shop-btn {
  background: transparent;
  box-shadow: inset 0 0 0 1px #8fb5a8;
  color: #dbe8e3;
  font-size: 0.68rem;
  min-height: 40px;
  padding: 0.55rem 0.8rem;
}
.shop-rows-optional .shop-btn:hover {
  background: #285d4e;
}
.shop-note {
  margin: 1.75rem 0 0;
  font-size: 0.78rem;
  color: #8fb5a8;
  max-width: 720px;
}

@media (max-width: 900px) {
  .shop-heading {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 600px) {
  .shop-list {
    grid-template-columns: 1fr;
  }
  .shop-row {
    flex-wrap: wrap;
    gap: 0.55rem;
    padding: 0.85rem 0;
  }
  .shop-btn {
    width: 100%;
    min-height: 48px;
  }
  .shop-rows-optional .shop-btn {
    width: 100%;
    min-height: 44px;
  }
  .tap-to-shop {
    padding-bottom: 5rem;
  }
}

/* Next-step link under meal form */
.next-step-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  font: 700 0.82rem var(--sans);
  color: var(--forest);
  text-decoration: none;
}
.next-step-link:hover { color: var(--coral); }

/* Step 3 — Clean list ready */
.list-ready {
  background: var(--forest);
  color: white;
}
.list-ready .eyebrow { color: #c9dfd5; }
.list-ready-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.list-ready-heading h2 {
  font-size: clamp(2.5rem, 4.5vw, 4.5rem);
  letter-spacing: -0.03em;
  margin: 0;
  color: white;
}
.email-note {
  color: #dbe8e3;
  max-width: 640px;
  margin: 0.9rem 0 0;
  font-size: 1.05rem;
}
.email-note strong {
  color: white;
  font-weight: 700;
}
.status-pill.list-pill {
  border-color: #86efac;
  color: #d8f3e4;
  background: rgba(216, 243, 228, 0.12);
}
.clean-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.1rem;
}
.clean-group {
  background: #204b40;
  padding: 1.25rem 1.2rem 1rem;
  border-radius: 2px;
}
.clean-group h3 {
  font-size: 1.35rem;
  margin: 0 0 0.75rem;
  color: white;
}
.clean-rows {
  list-style: none;
  margin: 0;
  padding: 0;
}
.clean-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid #426b60;
  padding: 0.7rem 0;
  font-size: 0.9rem;
}
.clean-name { font-weight: 600; color: white; }
.clean-qty { color: #aec8be; font-size: 0.78rem; text-align: right; white-space: nowrap; }
.clean-optional { opacity: 0.92; }
.clean-empty {
  grid-column: 1 / -1;
  background: #204b40;
  padding: 1.5rem;
  margin: 0;
  color: #dbe8e3;
}
.shop-collapsed {
  margin-top: 2.5rem;
  border-top: 1px solid #52766a;
}
.shop-collapsed summary {
  padding: 1.1rem 0;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: #c9dfd5;
}
.shop-collapsed summary::-webkit-details-marker { display: none; }
.shop-collapsed[open] .summary-icon {
  transform: rotate(45deg);
  display: inline-block;
}
.shop-collapsed-hint {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  color: #8fb5a8;
}
.shop-list-collapsed .shop-rows-optional {
  background: #1a4037;
  padding: 0.5rem 1rem 0.75rem;
  border-radius: 2px;
}
.shop-list-collapsed .shop-btn {
  background: transparent;
  box-shadow: inset 0 0 0 1px #8fb5a8;
  color: #dbe8e3;
  font-size: 0.68rem;
  min-height: 40px;
  padding: 0.55rem 0.8rem;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 3px;
  white-space: nowrap;
}
.shop-list-collapsed .shop-btn:hover { background: #285d4e; }
.shop-list-collapsed .shop-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-top: 1px solid #426b60;
  padding: 0.75rem 0;
}
.shop-list-collapsed .shop-item-name { font-weight: 600; font-size: 0.9rem; color: white; }
.shop-list-collapsed .shop-item-qty { font-size: 0.75rem; color: #aec8be; }
.shop-list-collapsed .shop-item-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  flex: 1;
}
.shop-list-collapsed .shop-rows {
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 900px) {
  .list-ready-heading {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 600px) {
  .clean-list { grid-template-columns: 1fr; }
  .list-ready { padding-bottom: 5rem; }
  .shop-list-collapsed .shop-btn { width: 100%; min-height: 44px; }
  .shop-list-collapsed .shop-row { flex-wrap: wrap; }
}

/* Sales strip — Lowe's Forest Acres weekly deals */
.sales-strip {
  background: #214f43;
  color: #e8f3ee;
  border-bottom: 1px solid #3a6b5c;
}
.sales-strip-inner {
  padding: 1.25rem clamp(1.25rem, 5vw, 5rem) 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}
.sales-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c9dfd5;
}
.sales-ad-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.8rem;
  margin: -0.15rem 0 0.85rem;
  font-size: 0.78rem;
  color: #b7d0c6;
}
.sales-ad-links span { font-weight: 600; }
.sales-ad-links a {
  color: #fff4df;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.sales-ad-links a:hover { color: var(--gold); }
.sales-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.sales-list li {
  background: #173f35;
  border: 1px solid #4a7a6a;
  border-radius: 99px;
  padding: 0.45rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
}
.sales-list li strong {
  color: #e7b95e;
  font-weight: 700;
  margin-right: 0.25rem;
}
.sales-note {
  margin: 0.9rem 0 0;
  font-size: 0.78rem;
  color: #b7d0c6;
  max-width: 920px;
  line-height: 1.45;
}

.sale-tip {
  background: #fff4df;
  border-left: 3px solid var(--gold);
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  margin-bottom: 1.2rem;
  color: #3a2f14;
}
.sale-tip strong {
  color: #68501a;
}

.next-step-link {
  display: inline-flex;
  margin-top: 1rem;
  font-weight: 700;
  color: var(--forest);
  text-decoration: none;
}
.next-step-link:hover { color: var(--coral); }

@media (max-width: 600px) {
  .sales-list li { font-size: 0.72rem; padding: 0.4rem 0.7rem; }
}

/* Taste ratings after the current-week plan */
.prior-taste {
  background: var(--cream);
  padding-top: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
  border-top: 1px solid var(--line);
}
.prior-taste-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.75rem;
}
.prior-taste-heading h2 {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  letter-spacing: -0.03em;
  margin: 0;
}
.prior-taste-lede {
  color: var(--muted);
  max-width: 640px;
  margin: 0.75rem 0 0;
  font-size: 0.98rem;
}
.prior-taste-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}
@media (max-width: 1100px) {
  .prior-taste-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .prior-taste-list { grid-template-columns: 1fr; }
}
.prior-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.15rem 1.2rem 1.25rem;
  box-shadow: 0 8px 24px rgba(20, 46, 38, 0.06);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
}
.prior-card-top {
  flex: 0 0 auto;
  min-height: 5.5rem; /* day label + two title lines — keeps rating rows aligned */
}
.prior-day {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
}
.prior-title {
  font-family: var(--serif);
  font-size: 1.35rem;
  margin: 0.35rem 0 0;
  letter-spacing: -0.02em;
  line-height: 1.25;
  min-height: calc(1.25em * 2);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.prior-rating-control {
  margin-top: 0.85rem;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.rating-segmented {
  flex-wrap: wrap;
}
.rating-btn {
  border: 0;
  background: transparent;
  padding: 0.5rem 0.7rem;
  border-radius: 3px;
  font: 700 0.72rem var(--sans);
  color: var(--muted);
  cursor: pointer;
}
.rating-btn.active[data-rating="loved"] { background: var(--forest); color: white; }
.rating-btn.active[data-rating="good"] { background: #3d7a5c; color: white; }
.rating-btn.active[data-rating="meh"] { background: #b8860b; color: white; }
.rating-btn.active[data-rating="never"] { background: var(--coral); color: white; }
.rating-btn.active[data-rating="skipped"] { background: #6b7280; color: white; }
.prior-note-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--ink);
}
.prior-note-label span { font-weight: 400; color: var(--muted); }
.prior-note-help {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.35;
}
.prior-note {
  width: 100%;
  border: 1px solid var(--line);
  background: white;
  padding: 0.65rem 0.75rem;
  font: inherit;
  font-size: 0.84rem;
  border-radius: 2px;
  resize: vertical;
  min-height: 4.2rem;
  line-height: 1.4;
}
.prior-note:focus {
  outline: 2px solid var(--forest);
  outline-offset: 1px;
}

.current-plan-kicker {
  background: var(--paper);
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(1.5rem, 3vw, 2rem);
}
.current-plan-kicker h2 {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  letter-spacing: -0.03em;
  margin: 0;
}
.current-plan-kicker p:not(.eyebrow) {
  color: var(--muted);
  max-width: 640px;
  margin: 0.75rem 0 0;
}

/* Step 3 cart actions */
.cart-actions {
  margin-top: 2.25rem;
  background: #204b40;
  padding: clamp(1.35rem, 3vw, 2rem);
  max-width: 640px;
  border-radius: 2px;
}
.cart-status-copy {
  margin: 0 0 1rem;
  color: #dbe8e3;
  font-size: 0.95rem;
  line-height: 1.45;
}
.cart-form-actions {
  grid-template-columns: 1fr;
  margin-top: 0.75rem;
}
.cart-form-actions .button-primary {
  width: 100%;
}
.cart-privacy {
  color: #8fb5a8 !important;
}
.list-ready .submit-status.success { background: #1e5b34; color: #d8f3e4; }
.list-ready .submit-status.error { background: #812e1f; color: #fde2dc; }
.list-ready .submit-status.info { background: #68501a; color: #fff0cd; }
.list-ready .copy-fallback { color: #c9dfd5; }

@media (max-width: 900px) {
  .prior-taste-heading {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 600px) {
  .prior-taste-list { grid-template-columns: 1fr; }
  .rating-segmented { width: 100%; }
  .rating-btn { flex: 1; text-align: center; }
}


/* Pending empty + save row */
.taste-empty {
  margin-top: 0.5rem;
  padding: 1.25rem 1.35rem;
  background: var(--paper);
  border: 1px dashed var(--line);
  color: var(--muted);
  font-size: 0.98rem;
  border-radius: 2px;
  max-width: 640px;
}
.taste-save-row {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1rem;
  max-width: 720px;
}
.taste-save-row .submit-status {
  flex: 1 1 100%;
  margin: 0;
}
.taste-save-row .submit-status:not(.visible) {
  display: none;
}

/* Meal history */
.meal-history {
  background: var(--paper);
  padding-top: clamp(2rem, 4vw, 3.25rem);
  padding-bottom: clamp(2rem, 4vw, 3.25rem);
  border-bottom: 1px solid var(--line);
}
.meal-history-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.history-week {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.history-week > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.15rem;
  font-weight: 700;
  font-size: 0.95rem;
}
.history-week > summary::-webkit-details-marker { display: none; }
.history-week-count {
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.history-week-body {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  padding: 0 1.15rem 1.15rem;
}
@media (max-width: 1100px) {
  .history-week-body { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .history-week-body { grid-template-columns: 1fr; }
}
.history-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1rem 1.05rem 1.1rem;
  box-shadow: 0 6px 18px rgba(20, 46, 38, 0.04);
  min-width: 0;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.history-card:hover,
.history-card:focus-visible {
  border-color: var(--forest-2);
  box-shadow: 0 10px 28px rgba(20, 46, 38, 0.1);
  transform: translateY(-1px);
  outline: none;
}
.history-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
}
.history-title {
  font-family: var(--serif);
  font-size: 1.15rem;
  margin: 0.45rem 0 0;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.history-note {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.4;
}
.history-rating-badge {
  flex: 0 0 auto;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: #e8eee9;
  color: #4b5563;
}
.history-rating-badge[data-rating="loved"] { background: #dcefe4; color: #1e5b34; }
.history-rating-badge[data-rating="good"] { background: #e2f0e8; color: #2f6a4a; }
.history-rating-badge[data-rating="meh"] { background: #f7ecd0; color: #7a5a12; }
.history-rating-badge[data-rating="never"] { background: #f8e2dc; color: #8a3a2a; }
.history-rating-badge[data-rating="skipped"] { background: #e8eaed; color: #5b6470; }

/* Page nav current + history split */
.site-header nav a.is-current,
.site-header nav a[aria-current="page"] {
  color: var(--coral);
  box-shadow: inset 0 -2px 0 var(--coral);
  padding-bottom: 0.15rem;
}
.history-browse {
  background: var(--paper);
  margin: 0;
  padding: 0 clamp(1.25rem, 7vw, 7.5rem) clamp(1.5rem, 3vw, 2.25rem);
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  font-weight: 600;
}
.history-browse a {
  color: var(--forest);
  text-decoration: none;
}
.history-browse a:hover {
  color: var(--coral);
}
.history-page {
  padding-top: clamp(3rem, 6vw, 5rem);
  min-height: 55vh;
}
.history-back {
  margin: 2rem 0 0;
  font-size: 0.92rem;
  font-weight: 600;
}
.history-back a {
  color: var(--forest);
  text-decoration: none;
}
.history-back a:hover {
  color: var(--coral);
}
.feedback-copy a {
  color: var(--forest);
  font-weight: 600;
}

/* History filters + detail modal */
.history-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin: 0 0 1.35rem;
}
.history-filters-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.history-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.history-filter-chip {
  border: 1px solid var(--line);
  background: white;
  border-radius: 999px;
  padding: 0.42rem 0.85rem;
  font: 700 0.78rem var(--sans);
  color: var(--muted);
  cursor: pointer;
  transition: 0.15s;
}
.history-filter-chip:hover {
  border-color: var(--forest-2);
  color: var(--forest);
}
.history-filter-chip.is-active {
  background: var(--forest);
  border-color: var(--forest);
  color: white;
}
body.history-modal-open {
  overflow: hidden;
}
.history-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}
.history-detail-modal[hidden] {
  display: none !important;
}
.history-detail-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 46, 39, 0.55);
}
.history-detail-panel {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: min(88vh, 920px);
  overflow: auto;
  background: var(--paper);
  box-shadow: var(--shadow);
  border-radius: 4px;
  padding: clamp(1.25rem, 3vw, 2rem);
}
.history-detail-close {
  position: sticky;
  top: 0;
  float: right;
  z-index: 2;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 50%;
  background: var(--sage);
  color: var(--forest);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  margin: -0.25rem -0.25rem 0.5rem 0.5rem;
}
.history-detail-close:hover {
  background: var(--forest);
  color: white;
}
.history-detail-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  clear: both;
}
.history-detail-title {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  letter-spacing: -0.03em;
  margin: 0.55rem 0 0.75rem;
  line-height: 1.15;
}
.history-detail-notes {
  margin: 0 0 1.1rem;
  padding: 0.85rem 1rem;
  background: var(--cream);
  border-left: 3px solid var(--forest);
  font-size: 0.92rem;
}
.history-detail-notes.is-empty {
  color: var(--muted);
  font-style: italic;
  border-left-color: var(--line);
}
.history-detail-image {
  margin: 0 0 1.15rem;
  border-radius: 2px;
  overflow: hidden;
  max-height: 280px;
  background: var(--sage);
}
.history-detail-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}
.history-detail-meta {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0 0 1rem;
}
.history-detail-section {
  margin-top: 1.25rem;
}
.history-detail-section h3,
.history-detail-ingredients h3 {
  font: 700 0.72rem var(--sans);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--forest);
  margin: 0 0 0.55rem;
}
.history-detail-ingredients {
  margin-top: 1rem;
  columns: 2;
  column-gap: 1.5rem;
}
.history-detail-ingredients .ingredient-group {
  break-inside: avoid;
  margin-bottom: 0.9rem;
}
.history-detail-section ul,
.history-detail-ingredients ul {
  margin: 0.35rem 0;
  padding-left: 1.1rem;
}
.history-detail-section li,
.history-detail-ingredients li {
  font-size: 0.86rem;
  margin: 0.3rem 0;
}
.history-detail-missing {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 1rem 0 0;
  padding: 1rem;
  background: var(--cream);
}
@media (max-width: 640px) {
  .history-detail-ingredients { columns: 1; }
  .history-detail-image img { height: 200px; }
}

/* Phase / next-step banner — loudest surface after header */
.phase-banner {
  background: linear-gradient(135deg, #1a4a3e 0%, #173f35 55%, #0f2e27 100%);
  color: white;
  padding: clamp(1.4rem, 3.5vw, 2.25rem) clamp(1.25rem, 7vw, 7.5rem);
  border-bottom: 4px solid var(--coral);
  position: relative;
  z-index: 9;
}
.phase-banner-inner {
  max-width: 920px;
}
.phase-eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #f0b29f;
}
.phase-banner h2 {
  font-family: var(--serif);
  font-size: clamp(1.85rem, 4vw, 2.85rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.65rem;
  color: white;
  line-height: 1.1;
}
.phase-detail {
  margin: 0 0 1.25rem;
  color: #d5e6df;
  font-size: 1.05rem;
  max-width: 640px;
}
.phase-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.phase-banner .button-primary {
  background: var(--coral);
  color: white;
  box-shadow: 0 8px 24px rgba(233, 99, 67, 0.35);
  font-size: 0.9rem;
  padding: 1rem 1.4rem;
}
.phase-banner .button-primary:hover {
  filter: brightness(1.05);
}
.phase-banner .phase-secondary {
  background: transparent;
  color: white;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}
.phase-banner .phase-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
.hero-secondary {
  color: #c9dfd5;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
}
.hero-secondary:hover {
  color: white;
  text-decoration: underline;
}

.approved-lock {
  text-align: center;
  padding: 0.5rem 0 0.25rem;
}
.approved-lock-badge {
  display: inline-block;
  background: #d8f3e4;
  color: #14532d;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.7rem 1rem;
  border-radius: 3px;
  margin: 0 0 0.75rem;
}
.approved-lock-note {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0 0 1.1rem;
}
.approved-lock .button {
  width: 100%;
}
.decision-control.is-locked,
.decision-control[hidden] {
  display: none !important;
}

.steps-bar .step.done .step-num {
  font-size: 0;
}
.steps-bar .step.done .step-num::after {
  content: "✓";
  font-size: 0.78rem;
  font-weight: 700;
}
.steps-bar .step.done.current .step-num {
  background: var(--coral);
}

@media (max-width: 600px) {
  .phase-banner {
    padding: 1.25rem 1.15rem 1.4rem;
  }
  .phase-banner h2 {
    font-size: 1.65rem;
  }
  .phase-banner-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .phase-banner .button {
    width: 100%;
  }
}

html[data-meals-locked="1"] .decision-control { display: none !important; }
html[data-meals-locked="1"] #approve-actions { display: none !important; }
html[data-phase="approve"] #approved-lock { display: none !important; }

/* Utility */
.hidden { display: none !important; }

/* Approve phase: keep dinners first; hide later steps + duplicate CTAs */
html[data-phase="approve"] #pantry,
html[data-phase="approve"] #cart {
  display: none !important;
}
html[data-phase="approve"] #hero-actions {
  display: none !important;
}
html[data-phase="approve"] .next-step-link {
  display: none !important;
}
html[data-phase="approve"] .site-header nav a.nav-later,
html[data-phase="approve"] .site-header nav a[href="#pantry"],
html[data-phase="approve"] .site-header nav a[href="#cart"] {
  pointer-events: none;
  opacity: 0.38;
  cursor: default;
}
html[data-phase="approve"] #step-indicator .step[data-step="2"] a,
html[data-phase="approve"] #step-indicator .step[data-step="3"] a {
  pointer-events: none;
  opacity: 0.45;
  cursor: default;
}

/* Compact week meta under phase banner */
.week-meta-line {
  margin: 0;
  padding: 0.65rem clamp(1.25rem, 7vw, 7.5rem);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.week-intro.section-pad {
  padding-top: clamp(2rem, 4vw, 3.25rem);
  padding-bottom: clamp(1.5rem, 3vw, 2.25rem);
}
#step-indicator.section-pad {
  padding-top: clamp(1.25rem, 2.5vw, 2rem);
  padding-bottom: clamp(1rem, 2vw, 1.5rem);
}



/* Optional Food Lion value buys (pantry review) */
.value-buys {
  margin: 2.25rem 0 0;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(20, 46, 38, 0.06);
  padding: clamp(1.35rem, 3vw, 1.85rem);
}
.value-buys-heading {
  margin-bottom: 1.1rem;
  max-width: 720px;
}
.value-buys-heading h3 {
  font-size: clamp(1.55rem, 2.6vw, 2.1rem);
  letter-spacing: -0.02em;
  margin: 0.15rem 0 0.55rem;
  color: var(--forest);
}
.value-buys-heading p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}
.value-buys-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.75rem;
}
.value-buy-card {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 0.7rem;
  align-items: start;
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 0.85rem 0.95rem;
  cursor: pointer;
}
.value-buy-card:has(input:checked) {
  border-color: #8fb3a5;
  background: #f0f6f3;
}
.value-buy-card input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
  accent-color: var(--forest);
  cursor: pointer;
}
.value-buy-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.value-buy-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 0.75rem;
}
.value-buy-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
}
.value-buy-price {
  font-size: 0.78rem;
  font-weight: 700;
  color: #8a6a1f;
  background: #fff4df;
  padding: 0.2rem 0.5rem;
  border-radius: 99px;
  white-space: nowrap;
}
.value-buy-reason {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}
@media (max-width: 640px) {
  .value-buys-list {
    grid-template-columns: 1fr;
  }
}


/* Modify decision + note */
.decision-btn.active[data-decision="modify"] {
  background: var(--gold);
  color: #352b17;
}
.modify-note-wrap {
  margin: -0.35rem 0 1rem;
  padding: 0.85rem 0 0;
  border-bottom: 1px solid var(--line);
}
.modify-note-wrap[hidden] { display: none !important; }
.modify-note-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--ink);
}
.modify-note-label .required-mark {
  font-weight: 700;
  color: var(--coral);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.modify-note-wrap.has-error .modify-note {
  border-color: var(--coral);
  outline: 2px solid rgba(233, 99, 67, 0.25);
}
.modify-note-wrap.has-error .modify-note-label {
  color: #812e1f;
}
html[data-meals-locked="1"] .modify-note-wrap { display: none !important; }

@media (max-width: 600px) {
  .decision-control {
    flex-wrap: wrap;
    gap: 0.55rem;
    align-items: flex-start;
  }
  .decision-control > span { width: 100%; }
  .segmented {
    width: 100%;
    flex-wrap: nowrap;
  }
  .decision-btn {
    flex: 1 1 0;
    padding: 0.5rem 0.35rem;
    font-size: 0.68rem;
    text-align: center;
  }
}


/* —— Household adventurousness dial —— */
.adventurousness-dial {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding-top: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}
.adventurousness-inner {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) 1.1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  max-width: 1100px;
}
.adventurousness-title {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  margin: 0 0 0.6rem;
  letter-spacing: -0.02em;
}
.adventurousness-help {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 420px;
}
.adventurousness-segments {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  width: 100%;
  max-width: 560px;
  background: #e8e7e1;
  border-radius: 6px;
  padding: 4px;
}
.adv-btn {
  border: 0;
  background: transparent;
  padding: 0.7rem 0.35rem;
  border-radius: 4px;
  font: 700 0.95rem var(--sans);
  color: var(--muted);
  cursor: pointer;
  line-height: 1.25;
  transition: 0.15s;
}
.adv-btn span {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 0.15rem;
}
.adv-btn:hover { color: var(--forest); }
.adv-btn.active {
  background: var(--forest);
  color: white;
  box-shadow: 0 4px 14px rgba(23, 63, 53, 0.25);
}
.adventurousness-dial.is-dirty .adv-btn.active {
  background: var(--coral);
  box-shadow: 0 4px 14px rgba(233, 99, 67, 0.3);
}
.adventurousness-blurb {
  margin: 0.85rem 0 0.35rem;
  font-size: 0.88rem;
  color: var(--ink);
  font-weight: 600;
}
.adventurousness-saved {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
}
.adventurousness-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.85rem;
}
.adventurousness-dial .submit-status {
  margin-top: 0.75rem;
}
.adventurousness-dial.is-dirty {
  box-shadow: inset 0 0 0 2px rgba(233, 99, 67, 0.35);
}

.week-skill-strip {
  background: var(--sage);
  border-bottom: 1px solid var(--line);
  padding: 1rem clamp(1.25rem, 7vw, 7.5rem);
}
.week-skill-inner {
  max-width: 920px;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  align-items: baseline;
}
.week-skill-kicker {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--forest-2);
}
.week-skill-title {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--forest);
}
.week-skill-detail {
  margin: 0;
  flex: 1 1 100%;
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 720px;
}

@media (max-width: 800px) {
  .adventurousness-inner { grid-template-columns: 1fr; }
  .adventurousness-segments { max-width: none; }
}
@media (max-width: 480px) {
  .adv-btn { padding: 0.55rem 0.2rem; font-size: 0.85rem; }
  .adv-btn span { font-size: 0.58rem; }
}

/* Recipe photo: don't stretch when ingredients/method expand */
.recipe-card {
  align-items: start;
}
.recipe-image-wrap {
  position: sticky;
  top: 88px; /* under site header */
  align-self: start;
  width: 100%;
  height: min(620px, 72vh);
  min-height: 280px;
  max-height: 72vh;
  overflow: hidden;
  background: #dfe9e3;
}
.recipe-image-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 900px) {
  .recipe-image-wrap {
    position: relative;
    top: auto;
    height: min(420px, 55vh);
    max-height: 55vh;
  }
}
@media (max-width: 600px) {
  .recipe-image-wrap {
    height: min(300px, 45vh);
    max-height: 45vh;
  }
}

/* Single week action button (Approve vs Send feedback) */
.form-actions-single {
  grid-template-columns: 1fr;
}
.form-actions-single #week-action {
  width: 100%;
}
