/* Your Voice — unified interface, accessible user themes, and new civic features. */
:root{--yv-main:#17474a;--yv-ink:#16383b;--yv-accent:#d9f379;--yv-surface:#fffefa;--yv-border:#cbded8;--yv-muted:#496469;--yv-glow:#f1f7e6}
:root[data-yv-palette="ocean"]{--yv-main:#164b79;--yv-ink:#183a5b;--yv-accent:#b7e1fa;--yv-border:#bfd9e5;--yv-glow:#e5f4fa}
:root[data-yv-palette="orchid"]{--yv-main:#694a7e;--yv-ink:#40314b;--yv-accent:#f0d3f4;--yv-border:#e6d3ea;--yv-glow:#f8eafa}
:root[data-yv-palette="sunrise"]{--yv-main:#85501f;--yv-ink:#58371f;--yv-accent:#ffe1a3;--yv-border:#e6cfb5;--yv-glow:#fff0df}
html[data-yv-mode="dark"]{color-scheme:dark;--yv-main:#c2f2df;--yv-ink:#e7f4f0;--yv-accent:#d8f57f;--yv-surface:#19282b;--yv-border:#4b6265;--yv-muted:#c1d0cd;--yv-glow:#223638}
html[data-yv-mode="dark"] body{background:#111e21!important;color:#e8f1ed!important}
html[data-yv-mode="dark"] .site-header,html[data-yv-mode="dark"] .site-footer,html[data-yv-mode="dark"] .yv-card,html[data-yv-mode="dark"] .yv-panel,html[data-yv-mode="dark"] .yv-field,html[data-yv-mode="dark"] .yv-controls{background:#19282b!important;color:#e7f4f0!important}
html[data-yv-mode="dark"] h1,html[data-yv-mode="dark"] h2,html[data-yv-mode="dark"] h3,html[data-yv-mode="dark"] .yv-card h3,html[data-yv-mode="dark"] .page-hero h1{color:#e9f5ec!important}
html[data-yv-mode="dark"] p,html[data-yv-mode="dark"] label{color:inherit}
html[data-yv-mode="dark"] input,html[data-yv-mode="dark"] select,html[data-yv-mode="dark"] textarea{background:#122126!important;color:#f3f9f5!important;border:1px solid #547071!important}
html[data-yv-mode="dark"] .yv-btn{color:#152321}
html[data-yv-mode="dark"] .yv-btn-secondary{background:#283b3e;color:#e7f4f0!important}
.yv-top-election{background:#153d40;color:#fff;padding:9px max(16px,calc((100vw - 1160px)/2));font-weight:650;font-size:.83rem;line-height:1.45;display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;text-align:center;letter-spacing:.01em}
.yv-top-election a{color:#e4ffa3;text-decoration:underline;text-underline-offset:3px}
.yv-ads-note{font-size:.84rem!important;line-height:1.6;max-width:1120px;margin:0 auto;padding:15px 22px;text-align:center;border-top:1px solid var(--yv-border);color:var(--yv-muted)}
.yv-bottom-election{padding:18px;text-align:center;background:var(--yv-glow);color:var(--yv-ink)}.yv-bottom-election a{color:inherit;text-decoration:underline}
.yv-theme-toolbar{border-top:1px solid var(--yv-border);background:var(--yv-surface);padding:11px 16px;display:flex;gap:10px;justify-content:center;align-items:center;flex-wrap:wrap;font-size:.84rem;color:var(--yv-ink)}
.yv-theme-toolbar select,.yv-theme-toolbar button{font:inherit;border:1px solid var(--yv-border);border-radius:10px;background:var(--yv-surface);color:var(--yv-ink);padding:7px 10px}.yv-theme-toolbar button{cursor:pointer;font-weight:700}
.yv-theme-toolbar select:focus-visible,.yv-theme-toolbar button:focus-visible{outline:3px solid #ebbd55}
.yv-theme-toolbar .yv-lbl{font-weight:700}
.yv-heading-graphic{width:24px;height:24px;display:inline-block;vertical-align:middle;color:var(--yv-main)}
.brand-icon svg{width:42px;height:42px;display:block;fill:none!important;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.yv-mission{background:linear-gradient(125deg,#e9f4db,#eaf6fa);border:1px solid #bad1bf;border-radius:18px;padding:21px 28px;margin-top:22px;margin-bottom:8px;display:flex;align-items:center;gap:18px}.yv-mission h2{font-size:1.12rem;margin:0 0 5px;color:#173f41}.yv-mission p{margin:0;color:#34545a;line-height:1.55}.yv-mission svg{width:54px;height:54px;flex:none}
.yv-section{padding:42px 0 62px}.yv-layout{max-width:1120px;margin:0 auto;padding:0 22px}.yv-overline{text-transform:uppercase;font-weight:850;letter-spacing:.11em;font-size:.71rem;color:var(--yv-main);margin-bottom:10px}.yv-intro{max-width:850px;font-size:1.04rem;line-height:1.67;color:var(--yv-muted);margin:0 0 26px}
.yv-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:16px}.yv-grid-2{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:16px}.yv-card,.yv-panel{background:var(--yv-surface);color:var(--yv-ink);border:1px solid var(--yv-border);border-radius:20px;padding:23px;box-shadow:0 8px 24px rgba(14,48,47,.05)}.yv-card h3,.yv-panel h2{margin:0 0 10px;color:var(--yv-ink);font-size:1.28rem;line-height:1.3}.yv-card p,.yv-panel p{line-height:1.61;margin:8px 0;color:var(--yv-muted)}.yv-card ul,.yv-panel ul{padding-left:20px;line-height:1.72}.yv-card a:not(.yv-btn),.yv-panel a:not(.yv-btn){color:var(--yv-main);text-decoration:underline;text-underline-offset:3px}
.yv-form{display:grid;gap:15px}.yv-form label{font-weight:700;display:grid;gap:7px;color:var(--yv-ink)}.yv-form input,.yv-form select,.yv-form textarea,.yv-field{font:inherit;box-sizing:border-box;padding:11px 12px;width:100%;border:1px solid #aac3bd;border-radius:11px;background:#fff;color:#15383d}.yv-form textarea{min-height:118px;resize:vertical}.yv-form .yv-inline{display:flex;flex-wrap:wrap;gap:14px;align-items:center}.yv-form .yv-check{display:flex;gap:8px;align-items:flex-start;font-weight:500}.yv-check input{width:auto;margin:6px 0}
.yv-btn{display:inline-flex;gap:9px;align-items:center;justify-content:center;background:var(--yv-accent);color:#123c3d!important;border-radius:12px;padding:11px 17px;font-weight:780;text-decoration:none!important;cursor:pointer;border:1px solid #a3c886;font-size:.95rem;line-height:1.4}.yv-btn-secondary{background:var(--yv-glow);color:var(--yv-ink)!important;border-color:var(--yv-border)}.yv-btn:focus-visible,.yv-form input:focus-visible,.yv-form select:focus-visible,.yv-form textarea:focus-visible{outline:3px solid #e6b84d;outline-offset:2px}.yv-links{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.yv-chip{display:inline-block;padding:6px 10px;border-radius:50px;background:var(--yv-glow);font-size:.81rem;color:var(--yv-ink);font-weight:700}.yv-note{background:var(--yv-glow);border-left:4px solid var(--yv-main);border-radius:10px;padding:14px 16px;line-height:1.6;color:var(--yv-ink);margin:16px 0}.yv-small{color:var(--yv-muted);font-size:.85rem;line-height:1.55}.yv-status{min-height:1.5em;font-weight:600;line-height:1.6;color:var(--yv-ink)}.yv-sep{border:0;border-top:1px solid var(--yv-border);margin:28px 0}.yv-step{padding:13px;border-radius:12px;background:var(--yv-glow);margin-bottom:10px;color:var(--yv-ink);display:flex;gap:10px}.yv-num{font-weight:900;color:var(--yv-main)}
.yv-rank-item{display:flex;align-items:center;gap:10px;padding:10px 11px;border-radius:12px;background:var(--yv-glow);margin-bottom:8px}.yv-rank-item span{flex:1}.yv-rank-item button{background:var(--yv-surface);color:var(--yv-ink);border:1px solid var(--yv-border);border-radius:9px;padding:7px 10px;cursor:pointer}
.yv-choice-group{display:flex;flex-wrap:wrap;gap:9px;margin-top:14px}.yv-choice-group button{border:1px solid var(--yv-border);border-radius:11px;padding:9px 12px;background:var(--yv-surface);color:var(--yv-ink);font-weight:650;cursor:pointer}.yv-choice-group button[aria-pressed="true"]{background:var(--yv-accent);color:#133f40;border-color:#a2be6b}
.yv-nav-groups{display:flex;gap:12px;flex-wrap:wrap;justify-content:center;background:var(--yv-glow);padding:10px 18px;border-top:1px solid var(--yv-border);font-size:.83rem;font-weight:650}.yv-nav-groups a{color:var(--yv-ink);text-decoration:none}.yv-nav-groups a:hover{text-decoration:underline}
.yv-footer-nav{max-width:1120px;margin:0 auto;padding:10px 20px;display:flex;gap:12px 18px;justify-content:center;flex-wrap:wrap}.yv-footer-nav a{color:inherit;font-size:.8rem;text-decoration:underline}
.yv-lead .page-hero-inner{max-width:920px}.yv-lead h1{max-width:820px}.yv-voice-icon{display:inline-block;width:31px;height:31px;color:var(--yv-main)}
.yv-footer-disclosure{border:1px solid var(--yv-border);background:var(--yv-glow);padding:14px;border-radius:14px;margin:18px 0;font-size:.86rem;line-height:1.6}
@media(max-width:720px){.yv-mission{margin:16px 12px;padding:18px;align-items:flex-start}.yv-mission svg{width:38px;height:38px}.yv-section{padding:26px 0 42px}.yv-grid,.yv-grid-2{grid-template-columns:minmax(0,1fr)}.yv-top-election{padding:9px 12px}.yv-card,.yv-panel{padding:18px}.yv-nav-groups{gap:9px}}
@media(prefers-reduced-motion:reduce){.yv-btn{transition:none!important}}
/* Visual integrity on the original pages as well as the new pages. */
.brand-icon svg,.brand-icon svg path,.brand-icon svg path:first-child{fill:none!important;stroke:#d9f379!important}
.site-footer .brand-icon svg,.site-footer .brand-icon svg path{stroke:#16383b!important}
.art-speech svg{width:70%;height:70%;color:#184748;margin:auto}
.yv-heading-graphic svg{width:100%;height:100%}
.mobile-nav:not([hidden]){max-height:calc(100dvh - 100px);overflow-y:auto;overscroll-behavior:contain}
.desktop-nav a[aria-current="page"],.yv-nav-groups a[aria-current="page"]{text-decoration:underline;text-underline-offset:6px}
.yv-rep-draft{min-height:160px}
.yv-form [hidden],.yv-panel [hidden],section[hidden]{display:none!important}
html[data-yv-mode="dark"]{--ink:#e4f0ed;--cream:#111f22;--lime:#d9f379;--sand:#243639;--paper:#19282b}
html[data-yv-mode="dark"] .page-hero,html[data-yv-mode="dark"] .hero,html[data-yv-mode="dark"] .yv-mission,html[data-yv-mode="dark"] .process-section,html[data-yv-mode="dark"] .learning-section,html[data-yv-mode="dark"] .directory-card,html[data-yv-mode="dark"] .official-card,html[data-yv-mode="dark"] .official-locator-card{background:#1d2d30!important;color:#eff6f2!important;border-color:#496164!important}
html[data-yv-mode="dark"] .desktop-nav a,html[data-yv-mode="dark"] .brand,html[data-yv-mode="dark"] .mobile-nav a{color:#e6f2ec!important}
html[data-yv-mode="dark"] .yv-mission p,html[data-yv-mode="dark"] .yv-mission h2,html[data-yv-mode="dark"] .hero-subtitle{color:#e0f1ea!important}
html[data-yv-mode="dark"] .mobile-nav:not([hidden]){background:#142629!important}
html[data-yv-mode="dark"] .yv-nav-groups,html[data-yv-mode="dark"] .yv-bottom-election{background:#24393c!important}
html[data-yv-mode="dark"] .footer-brand p,html[data-yv-mode="dark"] .yv-ads-note{color:#bfd3cf!important}
html[data-yv-mode="dark"] .official-search-tools,html[data-yv-mode="dark"] .official-map-details,html[data-yv-mode="dark"] .official-location-result,html[data-yv-mode="dark"] .civic-local-section{color:#f0f6f3!important}
html[data-yv-mode="dark"] .site-header .desktop-nav a,html[data-yv-mode="dark"] .site-header .brand,html[data-yv-mode="dark"] .yv-nav-groups a{color:#e8f4ef!important}
html[data-yv-mode="dark"] .site-header .header-cta{color:#e7f5e7!important}
html[data-yv-mode="dark"] .announcement{background:#111c1e!important}
html[data-yv-mode="dark"] .yv-top-election{background:#0b2b30!important}
