/* YOUR VOICE — design refinement, 2026-10-26
   Original warm ivory / sage / deep teal / citron palette restored as the light default.
   Dark is a deliberate, high-contrast alternate—not a color inversion. */
:root{
  color-scheme:light;
  --yv-main:#24564e;
  --yv-ink:#183d3e;
  --yv-muted:#4c6662;
  --yv-accent:#dff17c;
  --yv-surface:#fffefa;
  --yv-border:#cfded4;
  --yv-glow:#eaf2e9;
  --yv-link:#24564e;
  --yv-focus:#466c1b;
  --yv-face-highlight:#eaf5e7;
  --yv-space-xs:8px;
  --yv-space-sm:16px;
  --yv-space-md:24px;
  --yv-space-lg:32px;
  --yv-space-xl:48px;
  --yv-space-2xl:64px;
}
:root[data-yv-palette="ocean"]{--yv-main:#214f72;--yv-ink:#193e4c;--yv-accent:#c3e2ef;--yv-link:#174f73;--yv-glow:#e6f2f3}
:root[data-yv-palette="orchid"]{--yv-main:#654979;--yv-ink:#3d3444;--yv-accent:#ecd7f4;--yv-link:#68477b;--yv-glow:#f2ebf6}
:root[data-yv-palette="sunrise"]{--yv-main:#775019;--yv-ink:#483827;--yv-accent:#ffe1a3;--yv-link:#704510;--yv-glow:#fbf1e4}
html[data-yv-mode="light"]{color-scheme:light}
/* Make the site's section rhythm more consistent without flattening the editorial home layout. */
.yv-section{padding-block:var(--yv-space-2xl)}
.yv-section>.yv-layout>h2,.yv-section>.yv-layout>.yv-intro{margin-top:0}
.yv-grid,.yv-grid-2,.step-grid,.directory-grid,.resource-grid,.topic-grid,.share-grid,.voting-steps{gap:var(--yv-space-sm)}
.yv-grid>.yv-card,.yv-grid-2>.yv-card,.resource-grid>a,.directory-card{height:100%}
.yv-panel,.yv-card,.learning-section,.civic-local-section,.civic-ballot-tool{scroll-margin-top:var(--yv-space-md)}
.yv-panel>*:first-child,.yv-card>*:first-child,.learning-section>*:first-child{margin-top:0}
.yv-panel>*:last-child,.yv-card>*:last-child,.learning-section>*:last-child{margin-bottom:0}
.yv-card,.yv-panel{padding:var(--yv-space-md)}
.yv-grid+.yv-grid,.yv-grid-2+.yv-grid-2{margin-top:var(--yv-space-md)}
.yv-lead+.yv-section{padding-top:var(--yv-space-2xl)}
.learning-body{padding-block:var(--yv-space-xl) var(--yv-space-2xl)}
.learning-section{margin-block:var(--yv-space-md);padding:clamp(24px,3vw,40px)}
.learning-section+.learning-section{margin-top:var(--yv-space-md)}
.process-section,.other-section{padding-block:clamp(56px,7vw,92px)}
.lookup-section,.action-section{padding-block:clamp(60px,7vw,100px)}
.page-hero{padding-block:clamp(55px,7vw,83px)}
.simple-page{padding-block:clamp(50px,6vw,85px)}
.civic-section-header,.official-filter-heading{margin-block:var(--yv-space-lg) var(--yv-space-sm)}
.yv-form,.inquiry-form{row-gap:var(--yv-space-sm)}
.yv-mission{background:linear-gradient(125deg,#e9f4df,#e5f1ee);border-color:#c6d9ca;border-radius:16px;gap:var(--yv-space-md)}
.yv-theme-toolbar{gap:12px;row-gap:8px}
/* Gentle emphasis and keyboard visibility in all light palettes. */
:root:not([data-yv-mode="dark"]) .yv-heading-graphic{color:var(--yv-main)}
.yv-heading-graphic svg{width:100%;height:100%;display:block}
.art-speech svg{width:68%;height:68%;max-width:128px;color:#214d46}
.yv-theme-toolbar select,.yv-theme-toolbar button{min-height:38px}
:focus-visible{outline:3px solid var(--yv-focus);outline-offset:3px}
a{text-underline-offset:3px}
@media(max-width:720px){
  .yv-section{padding-block:var(--yv-space-lg)}
  .learning-body{padding-block:var(--yv-space-md) var(--yv-space-xl)}
  .yv-card,.yv-panel,.learning-section{padding:var(--yv-space-md)}
  .yv-mission{gap:var(--yv-space-sm);margin-inline:12px}
  .yv-grid,.yv-grid-2{gap:var(--yv-space-sm)}
  .page-hero{padding-block:48px}
}

/* DELIBERATE DARK MODE — deep charcoal-teal surfaces, paper-light text,
   calm muted copy, accessible citron accents and purposeful borders. */
html[data-yv-mode="dark"]{
  color-scheme:dark;
  --cream:#101d20;
  --paper:#1d3033;
  --ink:#edf6f0;
  --text:#e3f1eb;
  --muted:#c1d5cc;
  --mint:#263d3f;
  --sand:#283d3e;
  --line:#466364;
  --lime:#dff17c;
  --coral:#edb3a2;
  --blue:#8fcad3;
  --yv-main:#c6eac8;
  --yv-ink:#edf6ef;
  --yv-muted:#c3d4ce;
  --yv-accent:#dff17c;
  --yv-surface:#1d3033;
  --yv-border:#486266;
  --yv-glow:#283e40;
  --yv-link:#ddf3ae;
  --yv-focus:#dff17c;
  --yv-face-highlight:#18292c;
}
html[data-yv-mode="dark"][data-yv-palette="ocean"]{--yv-accent:#a9dcf7;--lime:#a9dcf7;--yv-main:#aadcf0;--yv-link:#b3e6ff}
html[data-yv-mode="dark"][data-yv-palette="orchid"]{--yv-accent:#e7c7fa;--lime:#e7c7fa;--yv-main:#e9c6fb;--yv-link:#f3d8ff}
html[data-yv-mode="dark"][data-yv-palette="sunrise"]{--yv-accent:#ffe0aa;--lime:#ffe0aa;--yv-main:#ffdcaa;--yv-link:#ffdfaa}
html[data-yv-mode="dark"] body{background:#101d20!important;color:var(--yv-ink)!important}
html[data-yv-mode="dark"] ::selection{background:#dff17c;color:#102327}
html[data-yv-mode="dark"] :is(h1,h2,h3,h4,h5,h6,legend,summary,dt){color:var(--yv-ink)!important}
html[data-yv-mode="dark"] :is(p,li,dd,small,label,figcaption,blockquote){color:var(--yv-muted)}
html[data-yv-mode="dark"] :is(.page-hero p,.hero-subtitle,.learning-body p,.yv-intro,.section-intro p,.footer-brand p,.yv-card p,.yv-panel p,.learn-detail p,.learn-tip,.directory-card p,.official-card p,.privacy-copy,.policy-note,.civic-fineprint,.intro-note,.yv-small,.official-locator-card p,.official-map-body p){color:var(--yv-muted)!important}
html[data-yv-mode="dark"] :is(.eyebrow,.section-tag,.small-caps,.yv-overline,.quiz-progress,.resource-meta,.yv-theme-toolbar .yv-lbl){color:#c1edc3!important}
html[data-yv-mode="dark"] a:not(.yv-btn):not(.learn-btn):not(.primary-link):not(.primary-button):not(.header-cta):not(.sponsor-cta):not(.install-action):not(.install-button){color:var(--yv-link)}
html[data-yv-mode="dark"] a:hover{text-decoration-thickness:2px}
html[data-yv-mode="dark"] :is(.site-header,.mobile-nav,.yv-theme-toolbar){background:#17282b!important;color:var(--yv-ink)!important;border-color:var(--yv-border)!important}
html[data-yv-mode="dark"] .site-footer{background:#0c181b!important;color:#eaf3ee!important}
html[data-yv-mode="dark"] .site-footer :is(.footer-links a,.footer-links h3,.brand,.footer-brand p,.footer-bottom){color:#d9e7df!important}
html[data-yv-mode="dark"] .footer-bottom{border-color:#405959}
html[data-yv-mode="dark"] .announcement{background:#0e2224!important;color:#e9f7ec!important}
html[data-yv-mode="dark"] .yv-top-election{background:#071c20!important;color:#f1f9ef!important}
html[data-yv-mode="dark"] .yv-top-election a{color:#eaffba!important}
html[data-yv-mode="dark"] :is(.yv-nav-groups,.yv-bottom-election){background:#1f3538!important;border-color:var(--yv-border)!important;color:var(--yv-ink)!important}
html[data-yv-mode="dark"] :is(.yv-nav-groups a,.yv-bottom-election a,.yv-footer-nav a,.desktop-nav a,.mobile-nav a,.brand,.site-header .brand){color:#eff7ef!important}
html[data-yv-mode="dark"] :is(.yv-nav-groups a,.desktop-nav a,.mobile-nav a)[aria-current="page"]{text-decoration-color:var(--yv-accent)!important}
html[data-yv-mode="dark"] :is(.hero,.page-hero,.process-section,.other-section,.learning-body,.lookup-section,.action-section,.simple-page){color:var(--yv-ink)!important}
html[data-yv-mode="dark"] :is(.page-hero,.process-section,.other-section){background:#18292c!important;border-color:#40595b!important}
html[data-yv-mode="dark"] .hero h1 em,html[data-yv-mode="dark"] .page-hero h1 em{color:#d0e9a4!important}
html[data-yv-mode="dark"] .hero-trust,html[data-yv-mode="dark"] .hero-trust span{color:#d5e6dc!important}
html[data-yv-mode="dark"] .hero-trust svg{stroke:#c3eaa7}
html[data-yv-mode="dark"] .yv-mission{background:linear-gradient(125deg,#233e3b,#20363a)!important;border-color:#4d6960!important}
html[data-yv-mode="dark"] .yv-mission :is(h2,p){color:#f0f6ed!important}
html[data-yv-mode="dark"] .yv-mission img[src$="megaphone.svg"]{filter:brightness(0) saturate(100%) invert(92%) sepia(39%) saturate(600%) hue-rotate(18deg) brightness(100%)}
/* Primary raised surfaces, including previous-generation component families. */
html[data-yv-mode="dark"] :is(
 .yv-card,.yv-panel,.yv-controls,.lookup-main,.step-card,.directory-card,.official-card,
 .official-locator-card,.official-map-details,.civic-local-section,.civic-ballot-tool,
 .learning-section,.price-card,.resource-card,.discover-card,.community-event-card,
 .community-empty,.install-step,.quiz-panel,.quiz-result,.scenario-map-panel,.scenario-editor,
 .state-result,.share-preview,.quiz-picker,.civic-result-sheet,.civic-sample-measure,
 .contact-panel,.page-controls,.official-location-result,.sponsor-active,.side-ad-active
){background:#1d3033!important;border-color:#49666a!important;color:var(--yv-ink)!important;box-shadow:0 5px 26px rgba(0,0,0,.12)}
/* Subtle secondary surfaces and controls: clearly distinct, never white cards on dark. */
html[data-yv-mode="dark"] :is(
 .yv-note,.yv-chip,.yv-step,.yv-rank-item,.yv-footer-disclosure,
 .learn-detail,.learn-game,.learn-tip,.learning-hero-band,.timeline-grid article,
 .topic-grid details,.voting-steps article,.resource-grid>a,.share-option,
 .civic-address-form,.civic-address-result,.civic-directory-item,.civic-jurisdiction-pill,
 .civic-check-grid p,.civic-compare-card,.civic-yesno article,.community-resource,
 .community-date,.community-type-icon,.community-count,.info-note,.official-map-body,
 .official-reset-btn,.social-pill,.state-result-actions a,.spotlight-card,
 .spotlight-card.alternate,.state-icon,.legislature-icon,.local-icon,.answer-options button,
 .learn-level-tabs button,.quiz-tabs button,.install-detect,.programmatic-ad-wrap,
 .ad-unit-preview .programmatic-ad-content,.official-find-btn+.official-map-details,
 .lookup-result-head,.zip-examples button,.side-ad-slot,.sponsor-slot,
 .scenario-counts div,.art-label
){background:#293f42!important;color:var(--yv-ink)!important;border-color:#526f71!important}
html[data-yv-mode="dark"] :is(.community-resource p,.learn-game p,.topic-grid details p,.timeline-grid p,.civic-compare-card p,.state-result p){color:var(--yv-muted)!important}
/* Borders signal layout and focus without luminous overdraw. */
html[data-yv-mode="dark"] :is(.learning-section,.yv-card,.yv-panel,.directory-card,.official-card,.resource-grid>a,.topic-grid details,.civic-compare-card,.civic-yesno article,.resource-card,.price-card,.share-option,.step-card){border:1px solid #496569!important}
html[data-yv-mode="dark"] :is(.yv-sep,.official-search-tools){border-color:#496569!important}
/* Form fields, placeholders, hover and selection across all generations of the site. */
html[data-yv-mode="dark"] :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea,.yv-field,.community-search-grid input,.community-search-grid select,.page-controls input,.page-controls select,.quiz-picker select,.learn-control-row select){background:#122629!important;color:#f2f8f4!important;border:1px solid #668385!important;caret-color:#e5f4c4!important}
html[data-yv-mode="dark"] :is(input,textarea)::placeholder{color:#b4c8c4!important;opacity:1}
html[data-yv-mode="dark"] :is(input,textarea,select):focus-visible,html[data-yv-mode="dark"] :is(button,a,summary):focus-visible{outline:3px solid var(--yv-focus)!important;outline-offset:3px!important}
html[data-yv-mode="dark"] :is(input[type="checkbox"],input[type="radio"]){accent-color:var(--yv-accent)}
html[data-yv-mode="dark"] .zip-input-row{background:#182e31!important;border-color:#698b86!important}
html[data-yv-mode="dark"] .zip-input-row input{background:transparent!important;border:0!important}
html[data-yv-mode="dark"] .zip-input-row button,html[data-yv-mode="dark"] .yv-btn:not(.yv-btn-secondary),html[data-yv-mode="dark"] .community-go,html[data-yv-mode="dark"] .install-button,html[data-yv-mode="dark"] .sponsor-cta{background:var(--yv-accent)!important;color:#132d30!important;border-color:transparent!important}
html[data-yv-mode="dark"] .yv-btn-secondary,html[data-yv-mode="dark"] :is(.yv-rank-item button,.yv-choice-group button,.learn-level-tabs button,.quiz-tabs button,.quiet-button,.official-reset-btn,.civic-outline-button,.civic-research-resources a){background:#304b4e!important;color:#f2f8ef!important;border:1px solid #698388!important}
html[data-yv-mode="dark"] :is(.yv-btn-secondary,.yv-rank-item button,.yv-choice-group button,.learn-level-tabs button,.quiz-tabs button,.quiet-button,.official-reset-btn):hover{background:#38595a!important}
html[data-yv-mode="dark"] :is(.yv-choice-group button[aria-pressed="true"],.learn-level-tabs button.active,.quiz-tabs button.active){background:var(--yv-accent)!important;color:#14292d!important;border-color:transparent!important}
html[data-yv-mode="dark"] :is(.header-cta,.primary-link,.primary-button,.learn-btn,.inquiry-form button,.price-card a,.official-find-btn,.install-action){background:#dff17c!important;color:#152b2e!important;border-color:transparent!important}
html[data-yv-mode="dark"] :is(.header-cta,.primary-link,.primary-button,.learn-btn,.inquiry-form button,.price-card a,.official-find-btn,.install-action):hover{background:#c9e36e!important;color:#102124!important}
html[data-yv-mode="dark"] :is(.header-cta,.primary-link,.primary-button,.learn-btn,.inquiry-form button,.price-card a,.official-find-btn,.install-action):is(:focus-visible){outline-color:#fff!important}
/* Quizzes: legible feedback with non-color cues preserved. */
html[data-yv-mode="dark"] .answer-options button{color:#f0f7ef!important;background:#2b4245!important;border:1px solid #657f80!important}
html[data-yv-mode="dark"] .answer-options button:hover:not(:disabled){background:#375558!important;border-color:#a0c2af!important}
html[data-yv-mode="dark"] .answer-options .answer-correct{background:#204d3e!important;border:2px solid #91d7b0!important;color:#f2fff7!important}
html[data-yv-mode="dark"] .answer-options .answer-incorrect{background:#523934!important;border:2px solid #ffb4a5!important;color:#fff1e9!important}
html[data-yv-mode="dark"] :is(.answer-feedback,.quiz-progress,.civic-vote-word){color:#c6e5c9!important}
/* Map colored states are intentionally preserved to communicate categories; legend text brightens. */
html[data-yv-mode="dark"] :is(.state-tile,.state-tile.no-race,.state-tile.selected-D,.state-tile.selected-R,.state-tile.selected-I){color:#122d31!important}
html[data-yv-mode="dark"] :is(.scenario-editor label,.scenario-counts,.state-result h3,.official-map-details label){color:#edf6ef!important}
/* Homepage illustration keeps the visual warmth, rebuilt for dark backdrops. */
html[data-yv-mode="dark"] .hero-art{background:#1e3b3a!important;border:1px solid #4d6868!important}
html[data-yv-mode="dark"] .art-wash{background:#315651!important}
html[data-yv-mode="dark"] .speech-one{background:#dff17c!important;border-color:#b1cd77!important}
html[data-yv-mode="dark"] .speech-one:after{background:#dff17c!important}
html[data-yv-mode="dark"] .speech-two{background:#d9eee1!important;border-color:#b4d7cd!important}
html[data-yv-mode="dark"] .speech-two:after{background:#d9eee1!important}
html[data-yv-mode="dark"] .art-speech svg{color:#214d46!important;--yv-face-highlight:#dff17c}
html[data-yv-mode="dark"] .art-label{background:#293e41!important;color:#edf4ec!important}
html[data-yv-mode="dark"] .brand-icon{background:#dff17c!important;color:#173d3e!important}
html[data-yv-mode="dark"] .brand-icon svg,html[data-yv-mode="dark"] .brand-icon svg path{stroke:#173d3e!important}
html[data-yv-mode="dark"] .site-footer .brand-icon{background:#cce79d!important}
html[data-yv-mode="dark"] .site-footer .brand-icon svg path{stroke:#173d3e!important}
html[data-yv-mode="dark"] .yv-voice-icon,html[data-yv-mode="dark"] .yv-heading-graphic{color:#dff17c!important}
/* Restore original typographic contrast in the core homepage cards. */
html[data-yv-mode="dark"] :is(.aside-top,.final-sponsor-card){background:#173c3d!important;color:#edf7ee!important}
html[data-yv-mode="dark"] :is(.aside-top a,.final-sponsor-card a){color:#e4ffa1!important}
html[data-yv-mode="dark"] :is(.aside-bottom,.action-right,.final-ad-illustration){background:#2d4746!important;color:#f0f7ee!important}
html[data-yv-mode="dark"] :is(.lookup-empty p,.aside-bottom p,.final-sponsor-card p,.action-right p){color:#e6f0e8!important}
html[data-yv-mode="dark"] :is(.art-star,.art-sparkle){color:#efc7a8!important}
/* Small print must also be readable—not just headings. */
html[data-yv-mode="dark"] :is(.yv-ads-note,.yv-footer-disclosure,.footer-bottom,.civic-fineprint,.policy-note,.resource-meta,.sponsor-label,.ad-placement-label){color:#c6d8cd!important}
html[data-yv-mode="dark"] :is(.yv-top-election,.yv-bottom-election,.yv-ads-note){border-color:#466165!important}
@media(max-width:720px){
 html[data-yv-mode="dark"] .mobile-nav:not([hidden]){background:#15272a!important}
 html[data-yv-mode="dark"] .yv-theme-toolbar{border-top-color:#486266!important}
}
@media(prefers-reduced-motion:reduce){.resource-grid>a:hover{transform:none}}

/* Final contrast polish, verified against warm ivory and dark teal surfaces. */
:root:not([data-yv-mode="dark"]) :is(.hero h1 em,.page-hero h1 em,.section-intro h2 em,.other-header h2 em,.lookup-heading h2 em,.action-left h2 em,.civic-section-header h2 em,.section-heading h2 em){color:#536e43!important}
:root:not([data-yv-mode="dark"]) :is(.sponsor-label,.step-number,.source-strip,.inline-status,.section-tag,.card-kicker,.civic-section-eyebrow,.civic-vote-word){color:#415e53!important}
:root:not([data-yv-mode="dark"]) .page-hero p{color:#466258!important}
:root:not([data-yv-mode="dark"]) .civic-fineprint{color:#4c6558!important}
.site-footer .yv-ads-note{color:#dce8de!important}
.yv-mission svg{width:54px;height:54px;flex:none;color:#24564e}
html[data-yv-mode="dark"] .yv-mission svg{color:#dff17c!important}
html[data-yv-mode="dark"] .skip-link{background:#dff17c!important;color:#173339!important}
html[data-yv-mode="dark"] :is(.site-header .header-cta,.sponsor-cta){color:#153236!important}
html[data-yv-mode="dark"] .site-header .header-cta:hover{color:#102124!important}
html[data-yv-mode="dark"] :is(.timeline-grid b,.voting-steps article>b,.civic-section-eyebrow,.card-kicker,.inline-status,.step-number,.source-strip,.resource-meta,.quiz-progress,.yv-overline){color:#c6e5bb!important}
html[data-yv-mode="dark"] .community-search-panel{background:#213e41!important;color:#edf7f1!important;border-color:#5e7c7a!important}
html[data-yv-mode="dark"] .community-search-panel :is(label,small,span,p){color:#e1eee8!important}
html[data-yv-mode="dark"] .community-search-panel :is(.community-quick button,.community-quick button:hover){background:#36575a!important;color:#f2f9f4!important;border:1px solid #78918e!important}
html[data-yv-mode="dark"] .community-search-panel :is(input,select){background:#132c30!important;color:#f4fbf6!important;border-color:#72928b!important}
html[data-yv-mode="dark"] .community-search-panel :is(input,select)::placeholder{color:#b4cbc5!important}
@media(max-width:720px){.yv-mission svg{width:39px;height:39px}}
/* Light-mode small print and legacy detail cards, previously pale on pale. */
:root:not([data-yv-mode="dark"]) :is(h1,h2,h3) em{color:#536e43!important}
:root:not([data-yv-mode="dark"]) :is(.powered-note,.zip-examples,.discover-card small,.community-resource small,.community-privacy,.info-note,.official-disclosure,.official-tool-title p,.official-locator-card p,.official-map-body p,.source-strip,.community-resource p,.community-empty p,.learning-section .civic-fineprint){color:#405e51!important}
:root:not([data-yv-mode="dark"]) .action-right>span{color:#355d42!important}
:root:not([data-yv-mode="dark"]) .aside-bottom :is(.small-caps,span){color:#744531!important}
:root:not([data-yv-mode="dark"]) .discover-section small{color:#425f50!important}
:root:not([data-yv-mode="dark"]) .community-stamp span{color:#335a4d!important}
:root:not([data-yv-mode="dark"]) .footer-brand p{color:#d1e3d6!important}
/* Dark-mode contrast inside the final legacy and community illustrations. */
html[data-yv-mode="dark"] .action-right>span,html[data-yv-mode="dark"] .sponsor-band .sponsor-slot div>span{color:#dff2ce!important}
html[data-yv-mode="dark"] .sponsor-slot :is(p,span){color:#deece3!important}
html[data-yv-mode="dark"] .zip-examples{color:#d2e5d8!important}
html[data-yv-mode="dark"] .community-stamp span{color:#e0f0e4!important}
/* Standalone offline shell matches both appearances. */
.offline-logo{display:inline-flex;gap:10px;align-items:center}
.offline-logo svg{height:34px;width:34px;color:#24564e;flex:none}
html[data-yv-mode="dark"] .offline-screen{background:#15272a!important;color:#f1f8ee!important}
html[data-yv-mode="dark"] .offline-screen p{color:#c8dad1!important}
html[data-yv-mode="dark"] .offline-logo svg{color:#dff17c}
html[data-yv-mode="dark"] .offline-screen a{background:#dff17c!important;color:#153236!important}
/* Preserve citron wording on intentionally dark promotional banners in light mode. */
:root:not([data-yv-mode="dark"]) .final-sponsor-card h2 em{color:#dff17c!important}
:root:not([data-yv-mode="dark"]) .community-search-panel .community-privacy{color:#d8ede1!important}
:root:not([data-yv-mode="dark"]) :is(.directory-disclaimer,.other-header p,.other-section .directory-card p,.process-section .section-intro p,.lookup-section .section-intro p,.sponsor-slot p,.side-ad-slot p,.sponsor-band .sponsor-slot span,.sponsor-band .sponsor-slot p,.sponsor-band .sponsor-slot .sponsor-label,.community-resource p,.community-empty p,.community-events-note,.info-note,.spotlight-card p,.resource-card p,.footer-note){color:#3e5c51!important}
:root:not([data-yv-mode="dark"]) .community-wrap>p, :root:not([data-yv-mode="dark"]) .community-wrap .community-fineprint{color:#3d5b50!important}
:root:not([data-yv-mode="dark"]) .price-card p,:root:not([data-yv-mode="dark"]) .price-card .card-kicker{color:#466050!important}
:root:not([data-yv-mode="dark"]) .discover-card p,:root:not([data-yv-mode="dark"]) .discover-card small{color:#3b594e!important}
:root:not([data-yv-mode="dark"]) .process-section :is(.step-card p,.step-number){color:#405e52!important}
:root:not([data-yv-mode="dark"]) .side-ad-slot p{color:#4b604b!important}
:root:not([data-yv-mode="dark"]) .community-resource p{color:#3f5a50!important}
:root:not([data-yv-mode="dark"]) .source-strip{color:#3f5d50!important}
:root:not([data-yv-mode="dark"]) .footer-bottom{color:#d0e3d7!important}
:root:not([data-yv-mode="dark"]) :is(.hero-trust,.hero-trust span,.lookup-empty p,.action-left p,.tips p,.section-summary,.discover-section>p,.lookup-heading p,.inline-search p,.community-note p,.discover-section .section-summary){color:#395a50!important}
:root:not([data-yv-mode="dark"]) .other-section .section-intro p{color:#395a50!important}
:root:not([data-yv-mode="dark"]) .art-label span{color:#254a43!important}
:root:not([data-yv-mode="dark"]) .community-stamp span{color:#254b43!important}
:root:not([data-yv-mode="dark"]) .lookup-stamp span{color:#395849!important}
/* Alternate palettes use one harmonious accent throughout dark mode. */
html[data-yv-mode="dark"] :is(.site-header .header-cta,.primary-link,.primary-button,.learn-btn,.inquiry-form button,.price-card a,.official-find-btn,.install-action,.sponsor-cta,.yv-btn:not(.yv-btn-secondary),.zip-input-row button,.community-go,.install-button){background:var(--yv-accent)!important;color:#142a2c!important}
html[data-yv-mode="dark"] .brand-icon{background:var(--yv-accent)!important}
html[data-yv-mode="dark"] .speech-one,html[data-yv-mode="dark"] .speech-one:after{background:var(--yv-accent)!important}
/* Mobile layout: secondary links stay available without a three-line navigation wall. */
@media(max-width:720px){
  .yv-nav-groups{
    justify-content:flex-start;
    flex-wrap:nowrap;
    white-space:nowrap;
    overflow-x:auto;
    overscroll-behavior-x:contain;
    scrollbar-width:thin;
    gap:18px;
    padding-block:12px;
  }
  .yv-nav-groups a{flex:0 0 auto}
  .yv-mission{flex-direction:column;gap:10px}
  .yv-mission h2{font-size:1.06rem;line-height:1.38}
  .yv-mission p{font-size:.94rem;line-height:1.62}
}
/* Cross-page finishing touches found during the complete 25-page audit. */
:root:not([data-yv-mode="dark"]) :is(.price small,.policy-note,.intro-note,.contact-panel p,.tiny-note,.map-legend span,.state-result p,.scenario-editor p,.volunteer-panel p,.quiz-panel p,.install-detect span){color:#405d51!important}
:root:not([data-yv-mode="dark"]) .price-card.featured small{color:#36594e!important}
:root:not([data-yv-mode="dark"]) .volunteer-panel p{color:#38594d!important}
html[data-yv-mode="dark"] .volunteer-panel{background:#1d3033!important;color:#edf6ef!important;border:1px solid #496569!important}
html[data-yv-mode="dark"] .volunteer-panel :is(label,legend,p,small,span){color:#d8e7de!important}
html[data-yv-mode="dark"] .volunteer-panel :is(h2,h3){color:#f2f9f3!important}
html[data-yv-mode="dark"] .volunteer-panel a{color:#e4f6b7!important}
html[data-yv-mode="dark"] .install-tablet{background:#e7f0e8!important;border-color:#b7d4cb!important}
html[data-yv-mode="dark"] .install-tablet :is(h3,span,p,b){color:#1c4540!important}
html[data-yv-mode="dark"] .install-step-head span{color:#deeee1!important}
html[data-yv-mode="dark"] .install-step-head span:first-child{color:#eaffbd!important}
html[data-yv-mode="dark"] .map-legend span{color:#d8e8de!important}
html[data-yv-mode="dark"] .text-button{color:#e1f5b9!important}
