.theme-toggle{display:flex;align-items:center;gap:7px;background:none;border:1px solid #ccd6bf;border-radius:30px;padding:10px 13px;font-size:13px;margin-left:auto;margin-right:16px}.theme-toggle span{font-size:10px}header nav{margin-left:auto;margin-right:auto}.map-context{opacity:.16;pointer-events:none;animation:context-recede .8s ease both}.map-context path.context-shape{fill:#9bb685!important;stroke:#e4eddb!important;stroke-width:.7!important;pointer-events:none!important}.map-foreground{filter:drop-shadow(0 14px 14px #10271245)}.map-foreground path{stroke-width:1.2!important}.map-label-layer{pointer-events:none;transition:opacity .35s}.map-label-layer text{font-size:9px!important}.map-label-layer text.focus-label{font-size:20px!important}.map-area{isolation:isolate}.map-key,.map-source,.map-label,.map-heading,.map-breadcrumb,.zoom{z-index:2}@keyframes context-recede{from{opacity:.55;filter:blur(0)}to{opacity:.16;filter:blur(.5px)}}
html[data-theme=dark]{color-scheme:dark;--green:#8be9ce;--ink:#e5ecf7;--muted:#8490a9;--line:#243046;--cream:#0c1220}
html[data-theme=dark] body{background:#080c18;color:var(--ink);background-image:radial-gradient(ellipse at 80% 0,#31487b28,transparent 50%),radial-gradient(ellipse at 15% 28%,#24665a18,transparent 40%);background-attachment:fixed}
html[data-theme=dark] header{border-color:#243046}html[data-theme=dark] .brand{color:#c5f6e7}html[data-theme=dark] .brand-icon{border-color:#83d8c0}html[data-theme=dark] .beta{border-color:#334154;color:#9aaec5}html[data-theme=dark] .nav{color:#8491ac}html[data-theme=dark] .nav.active{color:#bcefe3}html[data-theme=dark] .nav.active:after{background:#78ddc0}html[data-theme=dark] .about,html[data-theme=dark] .theme-toggle{border-color:#2d3b53;color:#bac9de;background:#10182970}html[data-theme=dark] .eyebrow{color:#8aafbe}html[data-theme=dark] .eyebrow>span{background:#72e3c0;box-shadow:0 0 10px #71e8c5aa}html[data-theme=dark] h1{color:#e6edfa}html[data-theme=dark] h1 em{color:#88dfcc;text-shadow:0 0 40px #6cc9bd25}html[data-theme=dark] .intro p{color:#8493af}html[data-theme=dark] .intro-note p{color:#a1b5c7}html[data-theme=dark] .intro-note .flag{color:#8de6c9}html[data-theme=dark] .small{color:#687b99}
html[data-theme=dark] .workspace{border-color:#29384d;background:#0f1726;box-shadow:0 24px 80px #0005,0 0 50px #5275bf08}html[data-theme=dark] aside{background:#0d1422}html[data-theme=dark] aside>label{color:#b1c1d8}html[data-theme=dark] .search-wrap{background:#151e30;border-color:#29374b}html[data-theme=dark] input{color:#dae7f7}html[data-theme=dark] input::placeholder{color:#7587a1}html[data-theme=dark] .search-wrap>span,html[data-theme=dark] kbd{color:#90a9c5}html[data-theme=dark] .aside-heading>span,html[data-theme=dark] .muted{color:#8795ab}html[data-theme=dark] .state-list{scrollbar-color:#34475e transparent}html[data-theme=dark] .state-button{color:#a9b9cf}html[data-theme=dark] .state-button span:last-child{color:#506c89}html[data-theme=dark] .state-button:hover{background:#17273a;color:#d1eee6}html[data-theme=dark] .state-button.active{background:#1b3839;color:#a1efd7;border:1px solid #345a56}html[data-theme=dark] .aside-bottom{border-color:#223047;color:#9fb6c4}html[data-theme=dark] .aside-bottom p{color:#6b7f9b}html[data-theme=dark] .tiny-mark{color:#8bd7bc}
html[data-theme=dark] .map-area{background-color:#0a1121;border-color:#253148;background-image:radial-gradient(ellipse at 50% 50%,#20345580,transparent 75%),radial-gradient(#adc9f244 .6px,transparent .9px),radial-gradient(#99c0ff22 1px,transparent 1.5px);background-size:auto,37px 43px,113px 97px;background-position:center,0 0,19px 12px}html[data-theme=dark] #map path{fill:#244857;stroke:#7aaeb058;stroke-width:1px}html[data-theme=dark] #map path:nth-child(4n){fill:#254252}html[data-theme=dark] #map path:nth-child(3n){fill:#2b5560}html[data-theme=dark] #map path:hover,html[data-theme=dark] #map path:focus{fill:#417d83;stroke:#bafce7}html[data-theme=dark] #map path.selected{fill:#4ba58e;stroke:#a6f9da;filter:drop-shadow(0 0 7px #80e6bd60)}html[data-theme=dark] .map-context path.context-shape{fill:#567891!important;stroke:#96b5ce!important}html[data-theme=dark] .map-foreground{filter:drop-shadow(0 0 16px #68e8ca25) drop-shadow(0 15px 12px #0008)}html[data-theme=dark] #map .state-label{fill:#a9cbd2;stroke:#102735;stroke-width:2px}html[data-theme=dark] #map .focus-label{fill:#ecfff8;stroke:#296d63}html[data-theme=dark] .map-breadcrumb{color:#7797b3}html[data-theme=dark] .map-breadcrumb button{background:#142136;border-color:#34475c;color:#a9d9d2}html[data-theme=dark] .map-breadcrumb #stateBack{background:none}html[data-theme=dark] .map-heading,html[data-theme=dark] .map-heading button{color:#7f9fba}html[data-theme=dark] .status-dot{background:#78d2bc;box-shadow:0 0 8px #8affe0}html[data-theme=dark] .map-label{background:#111d31e8;border-color:#34485d;box-shadow:0 8px 25px #0003;color:#daf4ef;backdrop-filter:blur(14px)}html[data-theme=dark] .map-label small{color:#84a2b4}html[data-theme=dark] .map-key{color:#8fa6bd}html[data-theme=dark] .map-key i{background:#315d6b}html[data-theme=dark] .map-key i.selected-key{background:#77d9bc}html[data-theme=dark] .zoom button{background:#18273d;color:#bcd4e7}html[data-theme=dark] .zoom button+button{border-color:#2c3d54}html[data-theme=dark] .map-source{color:#627d99}
html[data-theme=dark] .results{background:#101827;scrollbar-color:#34475e transparent}html[data-theme=dark] .demo-pill{background:#183c36;color:#8cd0bc}html[data-theme=dark] .scope-note{color:#8b9db6}html[data-theme=dark] .tabs{background:#0a1120;border:1px solid #25344a}html[data-theme=dark] .tabs button{color:#7e92af}html[data-theme=dark] .tabs .selected{background:#223a49;color:#c5f6e6;box-shadow:0 0 10px #5bd8b70b}html[data-theme=dark] .rep-card{background:linear-gradient(135deg,#182337,#131c2d);border-color:#2d3d54;color:#e2edfa}html[data-theme=dark] .rep-card:hover{border-color:#70af9e;box-shadow:0 0 24px #73e5c50c}html[data-theme=dark] .avatar{background:#263b4c;color:#b0dfd4}html[data-theme=dark] .portrait{border-color:#3b5365}html[data-theme=dark] .person p{color:#91a4bc}html[data-theme=dark] .rep-bottom{color:#8fa1ba}html[data-theme=dark] .party{border-color:#354d5a;color:#a0c8c0}html[data-theme=dark] .rep-link{border-color:#2b3a4d;color:#9addc8}html[data-theme=dark] .location-control{border-color:#26354a}html[data-theme=dark] .location-control label{color:#9aafc8}html[data-theme=dark] select{background:#142035;border-color:#34445b;color:#c0d5e6}html[data-theme=dark] .location-control small{color:#7c91aa}html[data-theme=dark] .data-note{color:#7e92ad}html[data-theme=dark] .ward-next{background:#122b31;border-color:#2b4c52}html[data-theme=dark] .ward-next p{color:#91acb9}html[data-theme=dark] .ward-next a{color:#a5d9cb}html[data-theme=dark] .empty{color:#8fa4bc}html[data-theme=dark] .empty strong{color:#c3e1df}html[data-theme=dark] .empty button{background:#24443e;color:#b8eedc}html[data-theme=dark] .suggestions{background:#152035;border-color:#34465f}html[data-theme=dark] .suggestions button{color:#c8dfef}html[data-theme=dark] .suggestions button:hover{background:#264439}html[data-theme=dark] .suggestions p{color:#9cafc8}
html[data-theme=dark] .below p,html[data-theme=dark] .section-number,html[data-theme=dark] footer>span{color:#8294af}html[data-theme=dark] .below button{border-color:#3d5d68;color:#b1d8d0}html[data-theme=dark] footer{border-color:#243249}html[data-theme=dark] footer button{color:#96adca}html[data-theme=dark] dialog{background:#101a2b;color:#dceaf7;border-color:#37506b;box-shadow:0 30px 100px #000a}html[data-theme=dark] dialog::backdrop{background:#020611b8}html[data-theme=dark] .close{background:#26394e;color:#d1ebe9}html[data-theme=dark] dialog p,html[data-theme=dark] dialog li{color:#a0b1c8}html[data-theme=dark] dialog dt{color:#7d97b2}html[data-theme=dark] .evidence,html[data-theme=dark] .coverage-gap,html[data-theme=dark] .review-note{background:#19273a}html[data-theme=dark] .timeline article{border-color:#375c61}html[data-theme=dark] .timeline small,html[data-theme=dark] .evidence small{color:#94c7bc}html[data-theme=dark] .citations a,html[data-theme=dark] .timeline a,html[data-theme=dark] .photo-credit a{color:#96dbcf}
html[data-theme=dark] #governmentTree{border-color:#26364e}html[data-theme=dark] .tree-heading p{color:#8fa0b9}html[data-theme=dark] .tree-heading p strong{color:#a1d4cc}html[data-theme=dark] .tree-root{background:linear-gradient(140deg,#193d49,#20304e);border:1px solid #4e7882;box-shadow:0 0 40px #5bd7c516;color:#dbf5f0}html[data-theme=dark] .tree-root>span{color:#8ab6c1}html[data-theme=dark] .tier-node{background:#101b2c;border-color:#2d4158}html[data-theme=dark] .tier-index{color:#7eabbd}html[data-theme=dark] .tier-node>summary small{color:#829ab6}html[data-theme=dark] .expand-sign{color:#8de0c4}html[data-theme=dark] .tree-root:after,html[data-theme=dark] .tier-branches:before,html[data-theme=dark] .tier-node:before,html[data-theme=dark] .arm-branches:before,html[data-theme=dark] .arm-node:before{background:#436374}html[data-theme=dark] .arm-node{background:#172538;border-color:#2c4056}html[data-theme=dark] .arm-node>summary small,html[data-theme=dark] .office-node summary small{color:#8aa3bd}html[data-theme=dark] .arm-node>summary>span{color:#8ecfbf}html[data-theme=dark] .office-node{border-color:#437f7d}html[data-theme=dark] .office-node summary:after{color:#8ccbbd}html[data-theme=dark] .office-content p{color:#9fb4cb}html[data-theme=dark] .office-content button{background:#1d3d42;border-color:#426c69;color:#b9f0dc}html[data-theme=dark] .confusion-card{background:linear-gradient(120deg,#152e37,#1b263d);border-color:#344c60}html[data-theme=dark] .confusion-card>span{color:#89bdb7}html[data-theme=dark] .office-comparison span{color:#93abc3}html[data-theme=dark] .tree-caveat,html[data-theme=dark] .tree-sources{color:#8198b4}html[data-theme=dark] .tree-sources a{color:#8fcfc1}html[data-theme=dark] .guide-grid article{background:#131f31;border-color:#2d4258}html[data-theme=dark] .guide-grid p,html[data-theme=dark] .guide-foot{color:#8fa5bd}html[data-theme=dark] .guide-grid article>span{color:#7aa4b4}
@media(max-width:800px){.theme-toggle{margin-left:10px;margin-right:0}header nav{margin-right:0;margin-left:auto}.theme-toggle span{display:none}.theme-toggle{padding:8px 10px}}@media(max-width:520px){.map-label-layer text{font-size:10px!important}.map-label-layer text.focus-label{font-size:20px!important}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
html[data-theme=dark] .arm-heading{border-color:#2c3b50}html[data-theme=dark] .arm-heading>span{color:#86ccbb}html[data-theme=dark] .arm-heading small{color:#7c96b3}html[data-theme=dark] .office-gap{border-color:#34465d;background:#101b2b80}html[data-theme=dark] .office-gap strong{color:#b9cce0}html[data-theme=dark] .office-gap>span{color:#6f8ca8}html[data-theme=dark] .office-gap p,html[data-theme=dark] .federal-representation>summary>span,html[data-theme=dark] .jurisdiction-note{color:#8da5bf}html[data-theme=dark] .federal-representation{border-color:#293c52}html[data-theme=dark] .federal-representation>summary{color:#bdddd8}html[data-theme=dark] .map-scene .map-context path.context-shape{fill:#345064!important;stroke:#81a3bc!important}
html[data-theme=dark] #map .map-scene path.selected{filter:none}
html[data-theme=dark] .office-status.is-elected{background:#204d3c;color:#a4f1c4;border-color:#418260;box-shadow:0 0 12px #4cfba80d}html[data-theme=dark] .office-status.is-appointed{background:#25344c;color:#b7c9e5;border-color:#465c7d}html[data-theme=dark] #map .screen-labels text{fill:#c5e5e8;stroke:#101d2d}html[data-theme=dark] #map .screen-labels .neighbor-label{fill:#91a7bf;stroke:#0d1929}html[data-theme=dark] #map .screen-labels .focus-label{fill:#effff8;stroke:#226855}html[data-theme=dark] .screen-labels .label-leader{stroke:#6c94aa}html[data-theme=dark] .map-scene .map-context path.context-interactive:hover{fill:#437382!important;stroke:#b0e5df!important}html[data-theme=dark] #map .map-context{pointer-events:auto}
html[data-theme=dark] .map-state-picker label{color:#83a4bc}html[data-theme=dark] .map-state-picker select{background:#152337e8;color:#b9ded7;border-color:#3b526b}html[data-theme=dark] .map-pan-hint{color:#7896b0}html[data-theme=dark] .wiki-link{color:#9bdccc}
/* Choose a legislative chamber before opening its members. */
.legislature-choice{margin:24px 0 12px}.legislature-choice h3{font-size:17px;margin:0 0 6px}.legislature-choice p{font-size:12px;line-height:1.6;color:var(--muted);margin:0}
.office-directory{border:1px solid var(--line);border-radius:12px;margin:10px 0;background:transparent;overflow:hidden;border-left:3px solid #739d83}
.office-directory.house-members{border-left-color:#7c9fc2}.office-directory.assembly-members{border-left-color:#c4a76f}
.office-directory>summary{display:flex;align-items:center;gap:10px;padding:16px 12px;cursor:pointer;list-style:none;min-height:72px}.office-directory>summary::-webkit-details-marker{display:none}.directory-heading{flex:1;min-width:0}.directory-heading strong{display:block;font-size:15px;line-height:1.4}.directory-heading small{display:block;font-size:11px;line-height:1.5;margin-top:4px;opacity:.7}.directory-count{font-size:11px;white-space:nowrap;border:1px solid var(--line);border-radius:20px;padding:5px 7px}.directory-chevron{font-size:20px;transition:transform .2s}.office-directory[open]>summary .directory-chevron{transform:rotate(180deg)}.office-directory[open]>summary{border-bottom:1px solid var(--line)}.office-directory-content{padding:0 12px 14px}.office-directory-content>.jurisdiction-note{line-height:1.65;font-size:12px}.office-directory-content .rep-card{margin-top:12px}
html[data-theme=dark] .office-directory{border-top-color:#293c52;border-right-color:#293c52;border-bottom-color:#293c52;background:#13233344}html[data-theme=dark] .directory-count,html[data-theme=dark] .office-directory[open]>summary{border-color:#293c52}
@media(max-width:600px){.office-directory>summary{padding:16px 10px}.directory-heading strong{font-size:16px}.directory-count{font-size:10px}.office-directory-content{padding:0 10px 14px}}

/* Keep About discoverable without squeezing mobile navigation. */
.about-meaning{font-size:17px;line-height:1.7}
#aboutFooter{background:none;border:0;color:inherit;font:inherit;cursor:pointer;min-height:44px}
@media(max-width:800px){
 header{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:4px 10px;height:auto;min-height:106px;padding-top:10px;align-items:center}
 header .brand{grid-column:1;grid-row:1;font-size:19px;gap:7px;white-space:nowrap}
 header .theme-toggle{grid-column:2;grid-row:1;min-width:44px;min-height:44px;margin:0}
 header .about{display:inline-flex;align-items:center;justify-content:center;gap:7px;grid-column:3;grid-row:1;min-height:44px;padding:8px 12px;font-size:12px;white-space:nowrap}
 header .about span{margin-left:0}
 header nav{grid-column:1/-1;grid-row:2;justify-content:center;gap:28px;height:44px;width:100%}
 header nav .nav{font-size:12px;height:44px}
 footer{flex-wrap:wrap;gap:10px 18px}
 footer #aboutFooter{font-size:12px}
}

.theme-toggle,header .theme-toggle{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;padding:0;gap:0;flex-shrink:0;line-height:1}
.theme-toggle svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.about-credit{margin-top:24px;font-size:12px;letter-spacing:.04em;color:var(--muted)}

/* A persistent dismissal control above an independently scrolling body. */
#modal{padding:0;overflow:hidden;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);margin:auto}
#modal[open]{display:flex;flex-direction:column}
#modal .modal-toolbar{display:flex;justify-content:flex-end;flex:0 0 auto;padding:8px 8px 0;position:relative;z-index:1}
#modal .close{position:static;display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:0;font-size:24px;line-height:1;touch-action:manipulation}
#modalContent{min-height:0;overflow-y:auto;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;padding:0 34px 30px;scrollbar-gutter:stable}
#modalContent>:first-child{margin-top:0}
@media(max-width:600px){#modal{width:calc(100% - 24px);max-width:none;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px)}#modalContent{padding:0 22px 24px}#modal::backdrop{backdrop-filter:none}}
