:root{color-scheme:dark;--navy:#081b2a;--navy-2:#0d2637;--navy-3:#123448;--cream:#f7f7f2;--ink:#172834;--muted:#879ba6;--line:rgba(190,218,224,.15);--blue:#3c70b4;--green:#36a779;--aqua:#a2ccd5;--gold:#c49d62;--slate:#758c9a;font-family:'Noto Sans TC',sans-serif;font-size:16px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:320px;background:radial-gradient(circle at 80% 4%,#173749 0,#081b2a 34%,#061724 75%);color:#f4f7f5}button,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:2px solid #cbe9e3;outline-offset:3px}a{color:inherit}.site-shell{width:min(1520px,calc(100% - 72px));margin:auto}.site-header{height:78px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:inline-flex;align-items:center;gap:11px;text-decoration:none}.brand-name{font-size:1.29rem;font-weight:900;letter-spacing:.08em}.brand-name span{color:#97d2c5}.brand-mark{position:relative;display:block;width:29px;height:31px;border:1.7px solid #b5e0d6;transform:skew(-9deg) rotate(5deg);border-radius:47% 34% 45% 35%;box-shadow:0 0 18px rgba(124,207,193,.22)}.brand-mark span{position:absolute;width:4px;height:4px;background:#b5e0d6;border-radius:50%}.brand-mark span:nth-child(1){top:6px;left:11px}.brand-mark span:nth-child(2){top:15px;right:6px}.brand-mark span:nth-child(3){bottom:5px;left:7px}.header-right{display:flex;align-items:center;gap:20px;color:#afc1c9;font-size:.85rem}.header-divider{width:1px;height:20px;background:var(--line)}.preview-badge{display:inline-flex;align-items:center;gap:8px;padding:7px 11px;border:1px solid rgba(127,216,188,.35);background:rgba(56,145,129,.14);color:#b8e5d7;border-radius:999px;font-size:.78rem;letter-spacing:.05em}.preview-dot{width:6px;height:6px;border-radius:50%;background:#9ee4bd;box-shadow:0 0 7px #9ee4bd}
.intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(420px,.94fr);align-items:end;gap:52px;padding:43px 0 32px}.eyebrow,.map-kicker,.section-kicker,.detail-kicker{font-family:'DM Sans','Noto Sans TC',sans-serif;font-weight:700;letter-spacing:.19em;font-size:.72rem}.eyebrow{display:flex;align-items:center;gap:12px;color:#9ed1c2}.eyebrow-rule{width:25px;height:1px;background:#9ed1c2}.eyebrow-index{color:#527687}.intro h1{font-size:clamp(2.25rem,4.1vw,4.2rem);line-height:1.19;letter-spacing:-.045em;margin:15px 0 12px;font-weight:900}.intro h1 span{color:#aedbd0}.intro p{color:#a6bdc6;line-height:1.75;font-size:.95rem;margin:0;max-width:560px}.intro-controls{display:flex;gap:13px;align-items:flex-end}.search-wrap{position:relative;flex:1;min-width:0}.search-wrap label,.control-label{display:block;color:#b8cbd0;font-size:.76rem;font-weight:700;letter-spacing:.08em;margin-bottom:9px}.search-box{height:56px;border:1px solid #47697b;background:#102d3e;border-radius:13px;display:flex;align-items:center;gap:13px;padding:0 15px;box-shadow:0 12px 24px rgba(0,0,0,.12)}.search-box:focus-within{border-color:#98d4c8;box-shadow:0 0 0 3px rgba(122,201,184,.13)}.search-icon{width:15px;height:15px;border:2px solid #91b7c2;border-radius:50%;position:relative;flex:none}.search-icon:after{content:"";position:absolute;width:7px;height:2px;background:#91b7c2;right:-6px;bottom:-3px;transform:rotate(47deg);border-radius:4px}.search-box input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:white;font-size:.83rem}.search-box input::placeholder{color:#829fae}.search-box kbd{font:600 .72rem 'DM Sans',sans-serif;color:#9cb4be;border:1px solid #426375;border-radius:4px;padding:1px 5px}.search-results{position:absolute;top:100%;left:0;right:0;z-index:20;margin-top:7px;padding:7px;border:1px solid #486b7a;border-radius:12px;background:#112c3c;box-shadow:0 18px 30px rgba(0,0,0,.3);max-height:300px;overflow:auto}.search-result{width:100%;display:flex;justify-content:space-between;gap:8px;text-align:left;background:transparent;border:0;color:#f7f9f9;border-radius:7px;padding:11px 10px;font-size:.83rem}.search-result:hover,.search-result:focus-visible{background:#234657}.search-result small{font-size:.7rem;color:#95b3bf}.search-empty{padding:14px;color:#a9c1c7;font-size:.82rem}.year-control{flex:none}.control-label-sub{font-family:'DM Sans',sans-serif;color:#60818f;font-size:.65rem;margin-left:4px}.year-tabs{height:56px;display:flex;align-items:center;padding:4px;border:1px solid #456576;border-radius:13px;background:#102d3e}.year-tabs button{height:46px;min-width:68px;border:0;color:#a9c1c8;background:transparent;border-radius:9px;font-family:'DM Sans',sans-serif;font-size:.84rem;font-weight:700}.year-tabs button.active{background:#d9eee6;color:#173d43;box-shadow:0 2px 10px rgba(0,0,0,.18)}
.workspace{display:grid;grid-template-columns:minmax(0,1.63fr) minmax(350px,.82fr);gap:18px}.map-panel{min-height:640px;display:flex;flex-direction:column;position:relative;overflow:hidden;background:radial-gradient(circle at 54% 45%,#1b4555 0,#103245 36%,#092434 72%,#082130 100%);border:1px solid #315466;border-radius:21px;box-shadow:0 26px 58px rgba(0,9,17,.25)}.map-topline{position:relative;z-index:3;display:flex;justify-content:space-between;align-items:start;padding:23px 27px 0}.map-kicker{color:#8fbbb7}.map-kicker span{color:#708d9c;letter-spacing:0}.breadcrumbs{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:9px}.breadcrumb{padding:0;border:0;background:none;color:#bed1d4;font-size:1rem;font-weight:800}.breadcrumb.current{color:white}.breadcrumb:hover{text-decoration:underline}.crumb-divider{color:#62828f;font-size:.8rem}.reset-button{background:rgba(255,255,255,.05);border:1px solid #4b6d79;border-radius:8px;color:#d3e6e5;font-size:.76rem;padding:8px 12px}.reset-button:hover{background:#234c5d}.map-stage{position:relative;flex:1;min-height:500px;overflow:hidden}.map-grid{position:absolute;inset:0;pointer-events:none;opacity:.38;background-image:linear-gradient(rgba(174,209,218,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(174,209,218,.08) 1px,transparent 1px);background-size:52px 52px;mask-image:radial-gradient(circle at 50% 50%,black 25%,transparent 80%)}.map-stage:after{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 48% 45%,transparent 23%,rgba(4,22,32,.18) 78%)}.map-corner{position:absolute;width:22px;height:22px;border-color:rgba(150,194,198,.36);z-index:2;pointer-events:none}.map-corner-tl{top:22px;left:24px;border-top:1px solid;border-left:1px solid}.map-corner-br{bottom:24px;right:24px;border-bottom:1px solid;border-right:1px solid}#election-map{width:100%;height:100%;position:absolute;inset:0;overflow:visible}#election-map .county{stroke:#e3eff0;stroke-width:1.5;vector-effect:non-scaling-stroke;cursor:pointer;transition:fill .25s,opacity .25s,stroke .25s,filter .25s;filter:drop-shadow(0 4px 3px rgba(0,9,18,.18))}#election-map .county:hover,#election-map .county:focus-visible{stroke:#fff;stroke-width:2.7;filter:drop-shadow(0 0 8px rgba(211,255,239,.7))}#election-map .county.dimmed{opacity:.17}#election-map .county.selected{stroke:#e7f6f1;stroke-width:2.7;filter:drop-shadow(0 0 6px rgba(180,240,225,.65))}#election-map .town{stroke:#d3e8e8;stroke-width:1;vector-effect:non-scaling-stroke;cursor:pointer;transition:fill .25s,opacity .25s,stroke .25s;opacity:0;pointer-events:none}#election-map .town.visible{opacity:1;pointer-events:auto}#election-map .town:hover,#election-map .town:focus-visible{stroke:#fff;stroke-width:2.6}#election-map .town.selected{stroke:#fff;stroke-width:3}#election-map .town.council-peer{stroke:#f2d99a;stroke-width:2.2}.map-tooltip{position:absolute;z-index:10;min-width:130px;pointer-events:none;padding:9px 12px;background:#f5f9f6;color:#133040;border-radius:9px;box-shadow:0 8px 20px rgba(0,0,0,.25);font-size:.77rem;font-weight:700;white-space:nowrap}.map-tooltip span{display:block;font-size:.68rem;font-weight:500;color:#5d7580;margin-top:2px}.map-hint{position:absolute;z-index:3;left:26px;bottom:27px;display:flex;align-items:center;gap:9px;border:1px solid rgba(135,187,191,.25);border-radius:999px;background:rgba(7,33,45,.75);padding:8px 13px;color:#d7e9e7;font-size:.72rem;backdrop-filter:blur(10px)}.hint-pulse{width:6px;height:6px;border-radius:50%;background:#9bd5ca;box-shadow:0 0 0 4px rgba(155,213,202,.13)}.map-bottomline{position:relative;z-index:3;min-height:59px;padding:13px 25px;border-top:1px solid rgba(175,213,218,.12);display:flex;align-items:center;justify-content:space-between;gap:12px;background:rgba(7,31,44,.55)}.legend{display:flex;align-items:center;gap:15px;flex-wrap:wrap}.legend-title{font-size:.7rem;color:#7e9eaa;margin-right:2px}.legend-item{display:inline-flex;align-items:center;gap:6px;color:#c7d7db;font-size:.69rem;white-space:nowrap}.swatch{display:inline-block;width:9px;height:9px;border-radius:3px}.swatch.kmt{background:var(--blue)}.swatch.dpp{background:var(--green)}.swatch.tpp{background:var(--aqua)}.swatch.other{background:var(--gold)}.swatch.independent{background:var(--slate)}.map-footnote{color:#7195a1;font-size:.66rem;white-space:nowrap}
.detail-panel{min-height:640px;border-radius:21px;background:var(--cream);color:var(--ink);padding:28px;box-shadow:0 26px 58px rgba(0,9,17,.21);overflow:hidden}.detail-kicker{color:#4d867f}.detail-head{display:flex;align-items:start;justify-content:space-between;gap:10px}.detail-head h2{font-size:1.85rem;letter-spacing:-.05em;margin:9px 0 5px;line-height:1.3}.detail-subtitle{color:#70818a;font-size:.8rem;line-height:1.55;margin:0}.detail-number{font:700 3.2rem/1 'DM Sans',sans-serif;color:#cfded9;letter-spacing:-.08em}.detail-rule{height:1px;background:#dbe4e0;margin:22px 0}.year-dash{display:inline-flex;align-items:center;gap:7px;border-radius:999px;background:#e4f0e9;color:#3d7566;font:700 .72rem 'DM Sans','Noto Sans TC',sans-serif;padding:7px 11px;margin-top:16px}.year-dash:before{content:"";width:6px;height:6px;border-radius:50%;background:#4fb58b}.overview-intro{font-size:.86rem;line-height:1.8;color:#5d7179;margin:17px 0 20px}.party-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.party-stat{border:1px solid #e0e8e3;background:#fff;border-radius:12px;padding:14px 15px}.party-stat .party-name{font-size:.72rem;color:#65747c}.party-stat .party-name i{width:7px;height:7px;display:inline-block;border-radius:50%;margin-right:6px}.party-stat strong{display:block;margin-top:8px;font:700 1.85rem 'DM Sans',sans-serif;color:#183442}.party-stat small{font-size:.65rem;color:#8a9b9f;margin-left:3px}.detail-section-title{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:.77rem;color:#556d74;font-weight:800;margin:24px 0 10px}.detail-section-title span:last-child{font-size:.66rem;color:#90a1a6;font-weight:500}.county-list{display:grid;grid-template-columns:1fr 1fr;gap:7px;max-height:169px;overflow:auto;padding-right:3px}.county-link{display:flex;align-items:center;gap:8px;text-align:left;min-width:0;background:#fff;border:1px solid #e2e9e4;border-radius:8px;padding:9px 10px;color:#35505c;font-size:.74rem}.county-link:hover{border-color:#80bdb0;background:#edf7f2}.county-link .list-dot{width:7px;height:7px;border-radius:50%;flex:none}.county-link span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.detail-note{font-size:.67rem;line-height:1.6;color:#8b9c9d;margin:17px 0 0}.result-summary{display:grid;grid-template-columns:1fr auto;align-items:end;gap:8px;margin-top:19px}.result-summary .label{font-size:.76rem;color:#73868e}.result-summary h3{font-size:1.38rem;margin:5px 0 0;letter-spacing:-.04em}.party-pill{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:7px 10px;font-size:.68rem;font-weight:700;white-space:nowrap}.party-pill i{width:7px;height:7px;border-radius:50%}.candidate-card{position:relative;overflow:hidden;background:#fff;border:1px solid #e1e9e4;border-radius:15px;padding:17px;margin-top:17px}.candidate-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--candidate-color,#91aaad)}.candidate-top{display:flex;justify-content:space-between;align-items:center;font-size:.7rem;color:#799097}.candidate-name{font-size:1.33rem;font-weight:900;margin:10px 0 3px}.candidate-meta{font-size:.72rem;color:#7d9097}.vote-line{display:flex;align-items:end;justify-content:space-between;margin-top:18px}.vote-line strong{font:700 1.8rem/1 'DM Sans',sans-serif;letter-spacing:-.03em}.vote-line span{font-size:.72rem;color:#71878e}.vote-bar{height:6px;border-radius:20px;background:#e8eee9;margin-top:12px;overflow:hidden}.vote-bar span{display:block;height:100%;width:var(--vote-width,50%);border-radius:20px;background:var(--candidate-color,#91aaad)}.result-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:11px}.mini-card{border:1px solid #e1e9e4;border-radius:11px;background:#fff;padding:13px}.mini-card span{display:block;color:#82979b;font-size:.67rem}.mini-card strong{display:block;margin-top:6px;font-size:.86rem}.mini-card small{display:block;margin-top:5px;color:#94a4a7;font-size:.64rem}.district-callout{margin-top:17px;background:#e7efec;border:1px solid #d8e4df;border-radius:12px;padding:13px 14px}.district-callout .kicker{font-size:.64rem;color:#678c80;font-weight:800;letter-spacing:.08em}.district-callout strong{display:block;font-size:.9rem;margin-top:5px}.district-callout p{font-size:.68rem;color:#698078;margin:6px 0 0;line-height:1.5}.detail-actions{display:flex;gap:8px;margin-top:20px}.detail-actions button{flex:1;border-radius:9px;padding:10px 8px;border:1px solid #cbdcd5;background:#fff;color:#315457;font-size:.72rem;font-weight:700}.detail-actions button.primary{background:#153d43;color:white;border-color:#153d43}.detail-actions button:hover{filter:brightness(.96)}.demo-chip{display:inline-block;font-size:.62rem;border-radius:4px;background:#f7eddf;color:#9c7034;padding:3px 5px;font-weight:800;margin-left:7px;vertical-align:middle}.show-towns{display:flex;align-items:center;justify-content:space-between;width:100%;text-align:left;background:#fff;border:1px solid #e1e9e4;border-radius:10px;padding:12px 13px;color:#36515b;font-size:.76rem;font-weight:700;margin-top:14px}.show-towns:hover{background:#eff7f3}.show-towns .count{color:#8ba0a4;font:600 .7rem 'DM Sans',sans-serif}
.lower-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:18px;margin:18px 0}.trend-card,.explore-card{border:1px solid #305162;background:#0c2839;border-radius:18px;min-height:169px;padding:21px 27px}.trend-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.section-kicker{color:#79aba8;margin:0 0 7px}.trend-card h2,.explore-card h2{font-size:1.12rem;margin:0;letter-spacing:-.03em}.trend-track{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:22px}.trend-step{display:flex;align-items:center;gap:9px;border-top:1px solid #395768;padding-top:13px}.trend-step .year{font:700 .8rem 'DM Sans',sans-serif;color:#bed0d5}.trend-step .dot{width:11px;height:11px;border-radius:50%;background:var(--step-color);box-shadow:0 0 0 4px color-mix(in srgb,var(--step-color) 16%,transparent)}.trend-step .party{font-size:.68rem;color:#a4bec4}.trend-step.current .year{color:#fff}.trend-step.current{border-top-color:#9ccfc7}.explore-card{display:flex;align-items:center;gap:24px}.explore-icon{width:70px;height:70px;flex:none;border:1px solid #4b7880;border-radius:15px;transform:rotate(-7deg);position:relative;background:linear-gradient(145deg,#214d57,#0d2938)}.explore-icon span{position:absolute;border-radius:50%;background:#a2d8bf}.explore-icon span:nth-child(1){width:8px;height:8px;left:21px;top:21px}.explore-icon span:nth-child(2){width:6px;height:6px;right:17px;top:29px}.explore-icon span:nth-child(3){width:5px;height:5px;left:32px;bottom:14px}.explore-card p:last-child{color:#95b1b9;font-size:.73rem;line-height:1.7;margin:7px 0 0}.demo-notice{padding:14px 17px;border:1px solid #456875;border-radius:11px;background:rgba(23,64,76,.42);color:#9fbbc2;font-size:.72rem;line-height:1.65}.demo-notice strong{color:#cde4dd}.site-footer{display:flex;justify-content:space-between;gap:16px;padding:27px 0 33px;color:#7895a1;font-size:.68rem}.site-footer a{text-decoration:underline;text-underline-offset:3px}.footer-separator{padding:0 8px;color:#547783}
@media(max-width:1150px){.site-shell{width:min(100% - 42px,1050px)}.intro{grid-template-columns:1fr;gap:26px}.intro-controls{max-width:760px}.workspace{grid-template-columns:minmax(0,1.4fr) minmax(320px,.85fr)}.map-panel,.detail-panel{min-height:620px}.map-bottomline{align-items:flex-start}.map-footnote{display:none}.legend{gap:9px}.detail-panel{padding:23px}.county-list{max-height:140px}}
@media(max-width:850px){.site-shell{width:min(100% - 28px,720px)}.site-header{height:65px}.header-caption,.header-divider{display:none}.intro{padding:31px 0 25px}.intro h1{font-size:clamp(2.25rem,7vw,3.4rem)}.intro p{font-size:.85rem}.workspace{display:flex;flex-direction:column}.map-panel{min-height:0;height:580px}.detail-panel{min-height:0}.map-stage{min-height:0}.lower-grid{grid-template-columns:1fr}.site-footer{flex-direction:column;gap:5px}}
@media(max-width:600px){.site-shell{width:calc(100% - 22px)}.site-header{height:59px}.brand-name{font-size:1.1rem}.brand-mark{width:25px;height:27px}.preview-badge{font-size:.67rem;padding:6px 8px}.intro{padding:29px 4px 21px}.eyebrow{font-size:.61rem}.intro h1{font-size:2.15rem;line-height:1.27;margin:14px 0 11px}.intro p{font-size:.79rem;line-height:1.65}.intro-controls{display:block}.search-wrap label{font-size:.7rem}.search-box{height:50px}.search-box input{font-size:.75rem}.year-control{display:flex;justify-content:space-between;align-items:center;margin-top:13px}.year-control .control-label{margin:0}.control-label-sub{display:none}.year-tabs{height:43px}.year-tabs button{height:35px;min-width:62px;font-size:.76rem}.map-panel{height:535px;border-radius:15px}.map-topline{padding:17px 17px 0}.map-kicker{font-size:.59rem}.breadcrumbs{margin-top:6px}.breadcrumb{font-size:.83rem}.reset-button{font-size:.66rem;padding:7px 8px}.map-stage{min-height:0}.map-hint{left:12px;bottom:12px;font-size:.62rem;padding:7px 9px}.map-bottomline{padding:11px 14px;min-height:0}.legend{gap:7px 9px}.legend-title{display:none}.legend-item{font-size:.59rem}.swatch{width:7px;height:7px}.detail-panel{border-radius:15px;padding:20px}.detail-head h2{font-size:1.55rem}.detail-number{font-size:2.6rem}.trend-card,.explore-card{padding:18px;border-radius:14px;min-height:0}.trend-track{gap:4px}.trend-step{gap:5px}.trend-step .year{font-size:.69rem}.trend-step .party{font-size:.6rem}.explore-icon{width:54px;height:54px}.explore-card{gap:15px}.demo-notice{font-size:.66rem}.site-footer{padding:22px 3px 28px;font-size:.63rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition-duration:.01ms!important;animation-duration:.01ms!important}}
.swatch.newparty{background:#d0ac5c}.swatch.other{background:#b98b9d}
#election-map .county,#election-map .town{filter:none;transition:fill .16s ease,opacity .16s ease,stroke .16s ease}
#election-map .county:hover,#election-map .county:focus-visible,#election-map .county.selected{filter:none}
.map-data-badge{display:inline-block;margin-top:10px;padding:5px 9px;border:1px solid rgba(231,199,127,.4);border-radius:5px;background:rgba(69,52,24,.32);color:#f1dcae;font-size:.68rem;font-weight:700;letter-spacing:.04em}
.mini-map{position:absolute;top:16px;right:18px;z-index:4;width:118px;height:160px;padding:9px;border:1px solid rgba(170,210,211,.34);border-radius:12px;background:rgba(7,31,43,.87);box-shadow:0 10px 28px rgba(0,0,0,.18);pointer-events:none}
.mini-map[hidden]{display:none}.mini-map>span{display:block;text-align:center;color:#b5d0d1;font-size:.62rem;font-weight:700;letter-spacing:.08em}.mini-map svg{display:block;width:100%;height:126px;margin-top:3px}.mini-county{stroke:#9cb9bb;stroke-width:1.1;vector-effect:non-scaling-stroke}.mini-county.active{stroke:#fff;stroke-width:2.1}
@media(max-width:600px){.mini-map{top:10px;right:10px;width:88px;height:119px;padding:6px}.mini-map>span{font-size:.55rem}.mini-map svg{height:92px}}
#election-map .county.dimmed{opacity:.62}
#election-map .town-layer{transition:none}
#election-map .town-layer.revealing{transition:opacity .18s ease}
#election-map .county-label-layer{pointer-events:none;transition:none}
#election-map .county-label-layer.revealing{transition:opacity .18s ease}
#election-map .county-label{fill:#e4edf0;stroke:#183846;stroke-width:.024;paint-order:stroke;stroke-linejoin:round;text-anchor:middle;font-family:'Noto Sans TC',sans-serif;font-weight:800;letter-spacing:.04em}
.workspace{align-items:start}.map-panel{height:clamp(640px,78vh,900px);position:sticky;top:16px}.detail-panel{min-height:640px}
.council-section{margin-top:24px;border-top:1px solid #d9e3df;padding-top:18px}.council-section-title,.council-result-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.council-section-title span{font-size:.67rem;letter-spacing:.14em;font-weight:900;color:#4b837b}.council-section-title strong{font-size:.69rem;color:#5f777a}.council-result{margin-top:12px;background:#fff;border:1px solid #dbe8e3;border-radius:13px;padding:14px}.council-result-heading{font-size:.75rem;font-weight:800;color:#24505a}.council-result-heading strong{white-space:nowrap;color:#287b67}.council-scope{color:#697e81;font-size:.68rem;line-height:1.55;margin:9px 0}.council-facts{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0 12px}.council-facts span{font-size:.66rem;font-weight:800;color:#526e73;background:#edf4f0;border-radius:5px;padding:5px 7px}.council-winners,.council-all ol{padding:0;margin:0;list-style:none}.council-candidate{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 10px;align-items:center;border-top:1px solid #e9efeb;padding:10px 4px 10px 10px;border-left:3px solid var(--council-party)}.council-candidate-name{font-size:.83rem;font-weight:900;color:#243e45;min-width:0}.council-candidate-name small,.council-candidate-votes small{display:block;font-size:.63rem;font-weight:500;color:#71878c;margin-top:2px}.council-candidate-votes{text-align:right;white-space:nowrap}.council-candidate-votes strong{font:800 .88rem 'DM Sans',sans-serif;color:#173941}.council-status{grid-column:1/-1;font-size:.62rem;color:#4b806c;font-weight:800}.council-status.quota{color:#92631f}.council-all,.council-indigenous{margin-top:12px}.council-all summary,.council-indigenous>summary{cursor:pointer;font-weight:800;color:#235c62;font-size:.72rem;padding:8px 0}.council-all ol{margin-top:6px}.council-provenance{border-top:1px solid #e9efeb;padding-top:11px;color:#71868a;font-size:.63rem;line-height:1.5}.council-provenance a,.district-callout a{color:#1a6770;text-decoration:underline;text-underline-offset:2px}.council-choices{margin-top:12px}.council-choices p,.council-indigenous>p,.council-unselected{font-size:.7rem;line-height:1.6;color:#61787d}.council-choice{display:inline-flex;flex-direction:column;gap:3px;text-align:left;margin:0 7px 7px 0;padding:8px 10px;border:1px solid #b9d2ca;background:#fff;color:#244a50;border-radius:8px;font-weight:800;font-size:.73rem;cursor:pointer}.council-choice.active{background:#d8eee4;border-color:#308974}.council-choice small{font-size:.6rem;color:#658187;font-weight:500}.council-indigenous{border-top:1px solid #dce6e1;padding-top:7px}.council-indigenous .council-result{margin-top:10px}
@media(max-width:850px){.map-panel{position:relative;top:auto;height:580px}}@media(max-width:600px){.map-panel{height:535px}.council-result{padding:11px}}
/* Chrome can mispaint the SVG while a native focus outline scales with the viewBox.
   The path stroke above provides the keyboard focus indicator. */
#election-map path:focus{outline:none}
@media(max-width:850px){.workspace{align-items:stretch}.detail-panel{min-height:0}}
.council-ballot{padding:0;margin:0;list-style:none}
.elected-mark{display:inline-block;margin-right:.35em;color:#bd212b;font-size:1.17em;font-weight:900;line-height:1}
.party-emblem{width:16px;height:16px;object-fit:contain;vertical-align:-4px;margin-right:5px}
.council-candidate:not(.council-winner) .council-candidate-name{font-weight:650}
.council-status{color:#73581c}
.swatch.unavailable{background:#526a72}
.county-party-stats,.executive-section{margin-top:20px}
.executive-section h3{margin:0;font-size:1rem}
.trend-step{display:block}
.trend-values{display:grid;gap:7px;margin-top:9px;color:#c0d3da;font-size:.72rem}
.trend-values span{display:flex;align-items:center;gap:6px}
.trend-values .dot{flex:none;width:7px;height:7px}
.council-composition,.council-roster{margin-top:22px}
.council-composition h3,.council-roster h3{margin:0;font-size:1rem}
.seat-heading{display:flex;justify-content:space-between;align-items:baseline;gap:8px}
.seat-heading strong{font-size:1.2rem}
.seat-heading span,.seat-threshold{font-size:.72rem;font-weight:700;color:#325a61}
.seat-chart{position:relative;display:flex;height:12px;overflow:hidden;border-radius:6px;background:#e5ece8;margin-top:10px}
.seat-chart::after{content:"";position:absolute;inset:0 auto 0 50%;width:2px;background:#fff;box-shadow:0 0 0 1px #18434b}
.seat-threshold{text-align:right;margin:6px 0 10px}
.seat-legend,.roster-group ul{list-style:none;margin:0;padding:0}
.seat-share{display:grid;grid-template-columns:9px minmax(0,1fr) auto 6ch;align-items:center;gap:6px;padding:6px 0;border-top:1px solid #edf0ec;font-size:.71rem}
.seat-swatch{width:8px;height:8px;border-radius:2px}
.seat-percent{text-align:right;color:#516c73;font-variant-numeric:tabular-nums}
.council-roster h3 small{font-size:.72rem;font-weight:650;color:#607983}
.roster-group{margin-top:12px;border:1px solid #dbe8e3;border-radius:10px;padding:10px 12px;background:#fff}
.roster-group h4{margin:0 0 7px;font-size:.76rem;color:#31565d}
.roster-group ul{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(105px,100%),1fr));gap:5px 9px}
.roster-group li{padding:5px 0;border-top:1px solid #edf0ec}
.roster-group li strong,.roster-group li small{display:block;font-size:.73rem}
.roster-group li small{margin-top:2px;font-size:.64rem;color:#516c73}
.share-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.share-actions a,.share-actions button{min-height:44px}
.share-actions a{display:grid;place-items:center;text-align:center;border-radius:9px;padding:8px;color:#fff;font-size:.72rem;font-weight:800;text-decoration:none}
.share-actions [data-line-share]{background:#087133}
.share-actions [data-facebook-share]{background:#1854a6}
.share-actions [data-threads-share]{background:#21262b}
.share-actions a:hover{filter:brightness(.9)}
.share-actions :focus-visible{outline:2px solid #164c52;outline-offset:2px}
.county-page-links{display:flex;flex-wrap:wrap;gap:8px 14px;padding:18px 0;font-size:.79rem}
.county-page-links a{color:#b8ddd9;text-underline-offset:3px}
