/* WordPress-specific additions to the prototype CSS: skip link, server-rendered list paging, footer headings,
   admin bar offset and the bits the prototype drew with JS. Token values only. */
.skip{position:absolute;left:var(--sp-12);top:var(--sp-12);transform:translateY(-300%);z-index:50;background:var(--forest);color:var(--on-forest);padding:var(--sp-10) var(--sp-16);border-radius:var(--radius-pill);font-weight:700;text-decoration:none}
.skip:focus{transform:none}
.foot-in .foot-h{font-weight:600;font-size:var(--fs-20);line-height:1.15;letter-spacing:0;margin:0 0 var(--sp-8)}
.foot-aff{font-size:var(--fs-14);opacity:.85}
.foot-cookies{display:block;padding:0;border:0;background:none;color:inherit;text-decoration:underline;margin:var(--sp-6) 0}
.more-wrap{text-align:center;margin-top:var(--sp-24)}
.admin-bar header.top{top:var(--wp-admin--admin-bar--height,32px)}
.page-body{max-width:820px}
.page-body h2{font:700 var(--fs-26)/1.1 var(--display);margin:var(--sp-28) 0 var(--sp-10)}
.app-loading{min-height:420px;display:grid;place-items:center;color:var(--muted)}
.noscript-panel{margin-top:var(--sp-20)}
/* Utility classes replacing the prototype's inline styles */
.flush{margin:0}
.sec-head.tight{margin-bottom:var(--sp-14)}
.strong{font-weight:700}
.gap-top{margin-top:var(--sp-20)}
.hint.flush-top{margin:0 0 var(--sp-14)}
@media (min-width:981px){nav.main .nav-acct{display:none}}
.sec-head.tight h2{margin:0}
.promo .plogo{height:48px;width:auto;display:block;margin-bottom:var(--sp-18)}
.chip[aria-current="true"]{background:var(--forest);color:var(--on-forest)}
a.chip{text-decoration:none}
.chips-gap{margin-top:var(--sp-20)}
.love.love-1{grid-template-columns:1fr}
.love-1 .tips p{background:var(--raised)}
.gap-top-lg{margin-top:var(--sp-40)}
.gap-top-md{margin-top:var(--sp-24)}
.conv-in{display:grid;grid-template-columns:1fr 1fr;gap:var(--sp-8);max-width:420px}
.page-head.center{text-align:center}
.page-head.center .lede{margin:var(--sp-14) auto 0}
.foot-cookies[hidden]{display:none}
.ref-h{font-size:var(--fs-22);margin:var(--sp-40) 0 var(--sp-14);padding-top:var(--sp-14);border-top:2px dashed var(--tint)}
.ref-icons{display:flex;flex-wrap:wrap;gap:var(--sp-14)}

/* Hold the space a JS-drawn tool will fill, so the footer does not jump when it draws (CLS). */
.mount:is([data-mount="fridge"],[data-mount="planner"],[data-mount="tool"]):not([data-ready]){min-height:100vh}

/* In-page jump links (guide and collection chips, "Ingredients and nutrition") scroll smoothly, as in the prototype. */
html{scroll-behavior:smooth}
@media (prefers-reduced-motion: reduce){html{scroll-behavior:auto}}
/* Spacing that must not depend on an ad slot: empty slots output nothing on staging/live until AdSense is on.
   These margins collapse into the slot's own margin when an ad is there, so the layout with ads is unchanged. */
.showcase{margin-bottom:var(--sp-40)}
.two{margin-bottom:var(--sp-20)}
