/* GlowBase redesign - CSP-safe overrides.
 * The site CSP (style-src 'self') blocks inline style="" attributes, so the
 * per-element custom properties and the product-overview dialog styles live here.
 * Loaded after redesign.css. Added 2026-10-21.
 */

/* Ambient color preview: initial glow + swatch colors */
#mood{--mood-color:#e4b393}
#mood [data-color="peach"]{--swatch:#dbaa85}
#mood [data-color="rose"]{--swatch:#d798a7}
#mood [data-color="lilac"]{--swatch:#ae9bcf}
#mood [data-color="blue"]{--swatch:#84b0d4}
#mood [data-color="mint"]{--swatch:#9ec4ac}

/* Enlarged product infographic dialog */
#overview-dialog{width:min(1100px,calc(100% - 32px));max-height:92vh;padding:48px 24px 24px}
#overview-dialog > button{position:absolute;top:8px;right:12px;border:0;background:#fff;color:var(--ink);font-size:28px;line-height:1;padding:4px 10px;cursor:pointer}
#overview-dialog > button:focus-visible{outline:2px solid currentColor;outline-offset:2px}
#overview-dialog img{display:block;max-height:75vh;max-width:100%;width:auto;height:auto;margin:auto}

/* Phones: anchor benefit card text to the top so the 01-04 labels and headings
 * line up regardless of how many lines each description wraps to. */
@media (max-width:700px){
  .benefit-grid article{justify-content:flex-start}
}