/* Eligibility Voronoi Map — "Warm Editorial" light skin (for the light .co pages, e.g. homepage embed).
   Load AFTER eligibility-map.css; activates via <body data-em-theme="light"> (the controller reads the
   same attribute to swap the SVG palette + style). Only remaps the --em-* tokens + the few hardcoded
   dark-surface colors (tooltip / mobile card / amounts) + adds a paper label halo. */
[data-em-theme="light"]{
  --em-forest-dk:#faf7f2;            /* page bg → parchment */
  --em-forest:#fefcf8;               /* surface → paper */
  --em-forest-mid:#f4eee2;           /* selected option bg → parchment-2 */
  --em-sage:#c9beac;
  --em-gold:#8a6d00;                 /* darker gold for selected-option ring contrast on paper */
  --em-parchment:#1c1917;            /* primary text → ink */
  --em-parch-dim:#5c544a;            /* secondary text → ink-3 */
  --em-rim:#74695a;                  /* caps labels → warm mute (AA: 5.24:1 on the light panel; #857b6c was 4.06) */
  --em-line:#e8e0d2;                 /* hairlines → rule-soft */
  --em-panel:#fefcf8;                /* question panel → paper */
  --em-panel-2:#f4eee2;              /* inner controls → parchment-2 */
}
/* paper card lift instead of dark-glass border */
[data-em-theme="light"] .em-panel{border-color:#efe8d8;box-shadow:0 1px 2px rgba(28,25,23,.04),0 14px 34px -24px rgba(28,25,23,.28)}
/* stage: dark radial vignette → barely-there paper glow; counter loses its dark text-shadow */
[data-em-theme="light"] .em-stage{background:radial-gradient(120% 120% at 50% 42%,#fffdf9 0%,#faf7f2 72%)}
[data-em-theme="light"] #em-counter{text-shadow:none}
/* in-cell labels get a paper halo so they stay legible across cell hues + gutter overflow */
[data-em-theme="light"] #em-viz text{paint-order:stroke;stroke:rgba(250,247,242,.82);stroke-width:2.4px;stroke-linejoin:round}
/* group/rim labels sit ON coloured cells in light mode — mute taupe blends in; go ink + heavier halo */
[data-em-theme="light"] #em-viz .em-rim{fill:#403a32;stroke:rgba(250,247,242,.9);stroke-width:3.2px;letter-spacing:.06em}
/* tooltip + mobile card: dark-glass → paper */
[data-em-theme="light"] #em-tooltip{background:#fffdf9;color:#1c1917;border-color:#e3dac8;box-shadow:0 12px 34px -10px rgba(28,25,23,.30)}
[data-em-theme="light"] .em-mcard{background:#fffdf9;color:#1c1917;border-color:#e3dac8;box-shadow:0 -8px 30px -12px rgba(28,25,23,.30)}
/* the mint money-green reads neon on paper → brand forest */
[data-em-theme="light"] .em-tip-amt,[data-em-theme="light"] .em-mcard__amt,[data-em-theme="light"] .em-match__amt{color:#2d6a4f}
/* results meta line + "why it fits" chips: mint reads neon on paper → warm ink + forest chips */
[data-em-theme="light"] .em-match__m{color:#5c544a}
[data-em-theme="light"] .em-why{color:#1f4d39;background:#ecf3ef;border-color:#d8e6df}
[data-em-theme="light"] .em-cta--secondary{border-color:#cbbfa8;color:#1c1917}
[data-em-theme="light"] .em-cta--secondary:hover{background:#f4eee2}
[data-em-theme="light"] .em-opt:hover{border-color:#b3a78f}
/* buttons that hardcode color:#fff on a now-light surface → solid sienna (matches .em-dim .is-active) */
[data-em-theme="light"] .em-next{background:var(--em-sienna);border-color:var(--em-sienna)}
[data-em-theme="light"] .em-next:hover{background:var(--em-sienna-dk)}
[data-em-theme="light"] .em-refine__b.is-on{background:var(--em-sienna);border-color:var(--em-sienna)}
[data-em-theme="light"] .em-lens.is-on{color:#fffdf9}
/* the big results number: olive-gold reads murky on paper → sienna brand accent */
[data-em-theme="light"] .em-end__n{color:var(--em-sienna)}
/* end-state v2 (2026-07-09): light-theme fixes for the blurred lock rows + inline gate */
[data-em-theme="light"] .em-lockrow__m{color:#2d6a4f}
[data-em-theme="light"] .em-gate__err{color:#b3402a}
[data-em-theme="light"] .em-gate--v2 .em-gate__form input{background:#fffdf9}
[data-em-theme="light"] .em-gate--v2 .em-gate__form .em-cta--secondary{border-color:#cbbfa8;color:#1c1917}
[data-em-theme="light"] .em-gate--v2 .em-gate__form .em-cta--secondary:hover{border-color:#a89a7f;background:#f4eee2}
