:root{color-scheme:light;--paper:#f4f5ed;--white:#fffefa;--ink:#17251f;--muted:#77827a;--line:#dfe5d9;--green:#17654c;--dark:#164e3d;--lime:#c8e870;--mono:"DM Mono",monospace;--sans:"DM Sans",sans-serif;--display:Manrope,"DM Sans",sans-serif}*{box-sizing:border-box}[hidden]{display:none!important}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:13px}.app-shell{max-width:1740px;margin:auto;padding:0 35px}.topbar{height:61px;display:flex;align-items:center;border-bottom:1px solid #dfe4d9}.brand{display:flex;align-items:center;gap:9px;text-decoration:none;color:var(--ink);flex:none}.brand-mark,.brand-mini{display:flex;align-items:flex-end;gap:3px;width:23px;height:24px}.brand-mark i,.brand-mini i{display:block;width:5px;border-radius:4px;background:var(--green);transform:skew(-12deg)}.brand-mark i:nth-child(1),.brand-mini i:nth-child(1){height:12px;opacity:.55}.brand-mark i:nth-child(2),.brand-mini i:nth-child(2){height:18px;opacity:.76}.brand-mark i:nth-child(3),.brand-mini i:nth-child(3){height:24px}.brand-word{font:800 17px var(--display);letter-spacing:-.9px}.brand-word span{font-weight:500;color:#87918a}.main-nav{height:100%;display:flex;align-items:center;gap:32px;margin-left:76px}.main-nav a{height:100%;display:flex;align-items:center;position:relative;text-decoration:none;color:#768179;font-size:12px;font-weight:600}.main-nav a.selected{color:var(--green)}.main-nav a.selected:after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:2px;background:var(--green)}.top-actions{margin-left:auto;display:flex;align-items:center;gap:12px}.official-tag{display:flex;align-items:center;gap:7px;font:500 9px var(--mono);letter-spacing:.25px;color:#985545;background:#f6e8dc;border:1px solid #f0dfd2;border-radius:99px;padding:8px 11px;white-space:nowrap}.official-tag i{width:7px;height:7px;border-radius:50%;background:#bc7058}.official-tag b{font-weight:400;color:#c6a496}.refresh-button{height:37px;width:37px;border:1px solid #d7e0d6;border-radius:50%;background:var(--white);color:#38705a;font-size:21px;line-height:1;cursor:pointer}.refresh-button:hover{border-color:#8dae9c;background:#f0f5e9}.refresh-button.spinning{animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.refresh-note{color:#728078;font-size:10px;line-height:1.3;white-space:nowrap}.page{padding-bottom:16px}.hero{height:149px;display:grid;grid-template-columns:minmax(390px,1.12fr) minmax(280px,.88fr) 370px;align-items:center;gap:14px;position:relative;overflow:hidden}.hero-copy{z-index:1;padding-top:6px}.eyebrow,.section-overline,.stat-label,.filter-intro,.candidate-table-head,.surface-foot>a,.vote-foot,.footer,.map-legend>small,.filter-field>span{font:500 9px var(--mono);letter-spacing:.75px}.eyebrow{display:flex;align-items:center;gap:9px;color:#687a70}.eyebrow b{color:#aab4a8;font-weight:400}.hero h1{margin:8px 0 4px;font:750 clamp(30px,3.4vw,43px) var(--display);letter-spacing:-2.45px;line-height:1.12;white-space:nowrap;color:#13251e}.hero h1 em{font-style:normal;color:#22735a}.hero-copy p{margin:0;color:#6f7e75;font-size:12px}.hero-art{align-self:stretch;position:relative;display:flex;align-items:flex-end;min-width:0}.hero-art svg{position:absolute;bottom:0;left:0;width:100%;height:128px}.hero-motto{position:absolute;z-index:1;top:20px;left:19%;font:500 22px/ .92 Caveat,cursive;color:#385b49;transform:rotate(-5deg)}.hero-status{display:flex;align-items:center;gap:11px;padding:12px 13px;border:1px solid #ead2c3;border-radius:6px;background:#f9f5ee;z-index:1}.status-pulse{width:9px;height:9px;border-radius:50%;background:#c47b5e;box-shadow:0 0 0 4px #f1ded2;flex:none}.hero-status.is-live .status-pulse{background:#319263;box-shadow:0 0 0 4px #d9eddd,0 0 12px #31926366}.hero-status.is-error .status-pulse{background:#c47b5e}.hero-status small{display:block;color:#9b6a56;font:500 8px var(--mono);letter-spacing:.45px;white-space:nowrap}.hero-status strong{display:block;margin-top:4px;font:500 9px var(--mono);color:#53685a;white-space:nowrap}.status-divider{width:1px;height:31px;background:#e3d9ce;margin-left:auto}.date-block{min-width:87px}.date-block strong{font:600 11px var(--mono);color:#24392e}.filter-bar{height:48px;display:flex;align-items:center;gap:0;border:1px solid #dce4d9;border-radius:7px;background:var(--white);padding:0 13px}.filter-intro{display:flex;align-items:center;gap:9px;color:#66766c;white-space:nowrap;padding-right:18px;height:28px;border-right:1px solid var(--line)}.filter-glyph{font:400 23px var(--sans);line-height:1;color:#267359}.filter-intro b{font:500 9px var(--mono);letter-spacing:.55px}.filter-field{height:100%;display:flex;align-items:center;gap:11px;padding:0 20px;border-right:1px solid #edf0e9;min-width:0}.filter-field>span{color:#8a938a;font-size:8px;letter-spacing:.25px}.filter-field select{appearance:none;min-width:138px;border:0;outline:0;background:transparent;color:#27372e;font:600 11px var(--sans);cursor:pointer;padding:7px 23px 7px 0;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='6' viewBox='0 0 9 6'%3E%3Cpath d='m1 1 3.5 3.5L8 1' fill='none' stroke='%2376877a' stroke-width='1.4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right center}.filter-field select:disabled{opacity:.7;cursor:not-allowed}.municipality-field{flex:1;border:0}.municipality-field select{min-width:170px}.auto-refresh{margin-left:auto;display:flex;align-items:center;gap:6px;color:#819087;font-size:9px;white-space:nowrap}.auto-refresh>span{font-size:16px;color:#2c7b5d}.auto-refresh b{padding:4px 6px;background:#edf2e7;color:#54705c;border-radius:4px;font:500 9px var(--mono)}.notice{height:57px;display:flex;align-items:center;gap:11px;margin-top:12px;padding:9px 13px;background:#fff6e8;border:1px solid #f0d19e;border-radius:6px;color:#76513a}.notice-mark{display:grid;place-items:center;flex:none;width:29px;height:29px;border-radius:50%;background:#f6e5c2;color:#976b35;font:600 15px var(--mono)}.notice div{display:grid;gap:2px}.notice strong{font-size:12px;color:#754b34}.notice div span{font-size:10px;color:#8c806d}.notice a{margin-left:auto;color:#995d43;font-size:10px;text-decoration:none;white-space:nowrap}.notice a b{font-size:15px;margin-left:6px;font-weight:400}.stat-grid{display:grid;grid-template-columns:1.12fr 1fr 1fr 1fr;gap:12px;margin-top:12px}.stat-card{height:112px;padding:14px 17px 11px;border:1px solid #dce3d8;border-radius:8px;background:var(--white);min-width:0}.stat-primary{background:#205742;border-color:#205742;color:#f3f5e9}.stat-label{display:flex;align-items:center;justify-content:space-between;gap:6px;color:#6e7d72;font-size:8px}.stat-label span{font-size:7px;color:#8b968d}.stat-primary .stat-label,.stat-primary .stat-label span{color:#bfd2c3}.stat-main{display:flex;align-items:center;justify-content:space-between;margin:8px 0 5px}.stat-main>strong{font:700 26px var(--display);letter-spacing:-.75px;color:#1b2d24}.stat-primary .stat-main>strong{color:#f1f6ec}.stat-main strong small{font-size:14px;letter-spacing:0}.stat-icon{display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:#edf1e8;color:#426c54;font-size:15px}.stat-primary .stat-icon{background:#386b51;color:#d2eb88}.stat-caption{display:flex;justify-content:space-between;gap:6px;margin-top:7px;color:#758279;font-size:9px}.stat-caption b{font:500 7px var(--mono);letter-spacing:.3px;color:#789080;white-space:nowrap}.stat-primary .stat-caption{color:#c9d9ca}.stat-primary .stat-caption b{color:#dbeda9}.stat-trackline{display:grid;grid-template-columns:minmax(100px,1fr) auto;align-items:center;gap:14px}.stat-trackline .stat-caption{display:grid;justify-items:end;gap:2px;margin:0;white-space:nowrap}.mini-track{height:7px;border-radius:9px;overflow:hidden;background:#487461}.mini-track i{display:block;width:0;height:100%;border-radius:inherit;background:#c8e870;transition:width .4s}.content-grid{display:grid;grid-template-columns:minmax(0,1.62fr) minmax(400px,1fr);gap:13px;margin-top:12px}.surface{border:1px solid #dce3d8;border-radius:8px;background:var(--white)}.results-surface{padding:14px 19px 11px;min-height:282px}.section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.section-overline{display:flex;align-items:center;gap:6px;color:#687c70;font-size:8px}.tiny-live{width:6px;height:6px;border-radius:50%;background:#27785b;display:inline-block}.section-heading h2,.regions-title h2{margin:5px 0 0;font:700 17px var(--display);letter-spacing:-.55px;color:#192a22}.heading-tools{display:flex;align-items:center;gap:5px}.scope-chip{padding:6px 9px;border-radius:4px;background:#edf2e8;color:#536f5e;font:500 8px var(--mono);letter-spacing:.35px;white-space:nowrap}.view-button{height:27px;width:27px;border:1px solid #dce4d9;border-radius:4px;background:#fffefa;color:#77877b;font-size:15px;cursor:pointer}.view-button.active{color:#1e6c51;border-color:#a9c4ad;background:#f1f5ed}.candidate-table-head{display:grid;grid-template-columns:48px minmax(155px,1.1fr) minmax(105px,1fr) 100px 82px;gap:9px;padding:12px 5px 7px;border-bottom:1px solid #e6eae2;color:#89928a;font-size:7px}.candidate-table-head span:nth-last-child(-n+2){text-align:right}.candidate-list{min-height:140px}.candidate-row{display:grid;grid-template-columns:48px minmax(155px,1.1fr) minmax(105px,1fr) 100px 82px;gap:9px;align-items:center;padding:6px 5px;border-bottom:1px solid #edf0e9;min-height:39px}.candidate-position{font:500 10px var(--mono);color:#34473a;display:flex;align-items:center;gap:9px}.candidate-position i{height:23px;width:6px;border-radius:3px;background:#9dbba0}.candidate-row:nth-child(1) .candidate-position i{background:#1f674d}.candidate-row:nth-child(2) .candidate-position i{background:#54906d}.candidate-row:nth-child(3) .candidate-position i{background:#a4c48c}.candidate-row:nth-child(4) .candidate-position i{background:#b7c9b0}.candidate-row:nth-child(5) .candidate-position i{background:#c5ccc4}.candidate-info{display:flex;align-items:center;gap:8px;min-width:0}.candidate-photo{width:28px;height:28px;object-fit:cover;object-position:center 25%;border-radius:50%;background:#e6ecdf;flex:none;border:1px solid #e2e7dc}.candidate-photo.fallback{display:grid;place-items:center;color:#607c68;font:600 8px var(--mono)}.candidate-text{min-width:0}.candidate-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#26372e;font-size:10px;font-weight:700}.candidate-party{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#76847a;font-size:9px}.candidate-votes,.candidate-percent{text-align:right;color:#34483a;font:500 10px var(--mono);white-space:nowrap}.candidate-percent{font-weight:600}.candidate-bar{height:7px;background:#ecefe9;border-radius:9px;overflow:hidden;min-width:40px}.candidate-bar i{display:block;height:100%;border-radius:9px;background:#559175}.candidate-row:nth-child(1) .candidate-bar i{background:#246a50}.candidate-row:nth-child(2) .candidate-bar i{background:#629978}.candidate-row:nth-child(3) .candidate-bar i{background:#9dbb91}.empty-state{grid-column:1/-1;padding:29px 12px;text-align:center;color:#8b968b;font-size:10px}.surface-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:9px;color:#858f86;font-size:8px}.surface-foot>a{color:#617f69;font-size:7px;text-decoration:none;white-space:nowrap}.side-stack{display:grid;align-content:start;gap:10px}.vote-summary{padding:14px 16px 10px;min-height:224px}.vote-summary .section-heading h2{font-size:15px}.vote-content{display:grid;grid-template-columns:minmax(145px,.8fr) minmax(0,1.4fr);align-items:center;gap:18px;margin-top:11px}.donut{width:min(158px,100%);aspect-ratio:1/1;margin:auto;border-radius:50%;display:grid;place-items:center;position:relative;background:conic-gradient(#216c50 0 0%,#a9c87c 0 0%,#bbc3bb 0 100%)}.donut:after{content:"";position:absolute;inset:13px;border-radius:50%;background:#fffefa}.donut>div{position:relative;z-index:1;display:grid;justify-items:center;gap:2px}.donut strong{font:700 16px var(--display);letter-spacing:-.45px;color:#23372c}.donut small{font-size:9px;color:#758279}.vote-legend{display:grid;gap:11px}.vote-line{display:grid;grid-template-columns:minmax(95px,1fr) auto auto;align-items:center;gap:8px 10px}.vote-line>span{display:flex;align-items:center;gap:8px;color:#46584c;font-size:10px;white-space:nowrap}.vote-line b,.vote-line small{font:500 9px var(--mono);color:#45574b;white-space:nowrap}.vote-line small{color:#62776a}.key-dot{width:8px;height:8px;border-radius:50%;flex:none}.key-valid{background:#216c50}.key-blank{background:#a9c87c}.key-null{background:#a7b0a9}.thin-track{grid-column:1/-1;height:7px;margin-top:-4px;border-radius:9px;overflow:hidden;background:#ecefe9}.thin-track i{display:block;height:100%;width:0;border-radius:9px;background:#216c50}.vote-line:nth-child(2) .thin-track i{background:#a9c87c}.vote-line:nth-child(3) .thin-track i{background:#a7b0a9}.vote-foot{display:flex;justify-content:space-between;margin-top:11px;padding-top:8px;border-top:1px solid #edf0e9;color:#89948b;font-size:7px}.vote-foot span:last-child{color:#64816b}.live-source{min-height:48px;display:flex;align-items:center;gap:9px;padding:8px 12px;border:1px solid #d9e6d6;border-radius:6px;background:#edf3e8;text-decoration:none}.source-check{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:#dbead3;color:#367453;font-size:14px}.live-source strong,.live-source small{display:block}.live-source strong{color:#315343;font-size:10px}.live-source small{margin-top:2px;color:#819087;font-size:8px}.source-arrow{margin-left:auto;color:#73907b;font-size:14px}.regions-surface{margin-top:11px;padding:13px 18px 12px}.regions-title h2{margin-top:3px;font-size:16px}.regions-title p{margin:3px 0 0;color:#829087;font-size:9px}.regions-content{display:grid;grid-template-columns:minmax(0,1fr) 500px;align-items:center;gap:16px}.region-cards{display:grid;grid-template-columns:repeat(5,minmax(100px,1fr));gap:8px;margin-top:9px}.region-card{min-width:0;padding:7px 8px 6px;border:1px solid #dfe5da;border-radius:6px;background:#fcfcf8}.region-card-head{display:flex;align-items:center;gap:7px}.region-mini-map{width:38px;height:40px;flex:none}.region-mini-map path{fill:#91b19b}.region-card.active .region-mini-map path{fill:#54866a}.region-card.done .region-mini-map path{fill:#2f7052}.region-card-info{min-width:0}.region-name{font-size:8px;color:#6d7c71;white-space:nowrap}.region-percent{display:block;margin-top:1px;color:#253a2d;font:700 11px var(--display)}.region-count{display:block;margin-top:2px;color:#79867c;font:400 7px var(--mono);white-space:nowrap}.region-track{height:5px;margin-top:5px;border-radius:6px;overflow:hidden;background:#e7ebe5}.region-track i{display:block;width:0;height:100%;background:#59866a}.region-card.active .region-track i{background:#2f7453}.region-card.done .region-track i{background:#276e50}.region-substatus{display:block;margin-top:3px;color:#89938a;font:400 6px var(--mono);letter-spacing:.2px}.brazil-map-wrap{display:grid;grid-template-columns:100px 90px 1fr;gap:12px;align-items:center;border-left:1px solid #e5e9e1;padding-left:14px}.brazil-map{width:100px;height:130px}.map-legend{display:grid;gap:4px}.map-legend>small{font-size:6px;color:#8b968c;margin-bottom:2px}.map-legend>span{display:flex;align-items:center;gap:5px;color:#77847b;font-size:7px;white-space:nowrap}.map-legend i{width:8px;height:8px;border-radius:50%}.level-5{background:#3e7857}.level-4{background:#5a8b69}.level-3{background:#80a587}.level-2{background:#aabfa5}.level-1{background:#d2d9ca}.brazil-map-wrap blockquote{margin:0;border-left:1px solid #e5e9e1;padding-left:11px;color:#607265;font:italic 13px/1.35 var(--display)}.brazil-map-wrap blockquote small{display:block;margin-top:10px;color:#859287;font:500 6px var(--mono);letter-spacing:2px}.footer{display:flex;justify-content:space-between;gap:12px;padding:14px 1px 0;color:#849087;font-size:7px;letter-spacing:.45px}.footer-brand{display:flex;align-items:center;gap:5px;color:#345a43;font:700 10px var(--display);letter-spacing:-.2px}.footer-brand em{font:400 9px var(--sans);color:#89948a}.brand-mini{width:13px;height:14px;gap:2px}.brand-mini i{width:3px}.brand-mini i:nth-child(1){height:7px}.brand-mini i:nth-child(2){height:11px}.brand-mini i:nth-child(3){height:14px}.footer a{color:#587a61;text-decoration:none}.candidate-list.grid-view{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.candidate-list.grid-view .candidate-row{grid-template-columns:30px 1fr;grid-template-rows:auto auto;gap:4px;padding:8px;border:1px solid #edf0e9;border-radius:5px}.candidate-list.grid-view .candidate-position{grid-row:1/3}.candidate-list.grid-view .candidate-info{grid-column:2}.candidate-list.grid-view .candidate-bar{grid-column:2}.candidate-list.grid-view .candidate-votes,.candidate-list.grid-view .candidate-percent{display:none}body.error .hero-status{border-color:#ead2c3}body.error .live-source{background:#f9f1e8;border-color:#ead9c9}body.error .source-check{background:#f0e3d0;color:#91663c}
@media(max-width:1250px){.app-shell{padding:0 24px}.hero{grid-template-columns:minmax(360px,1fr) minmax(190px,.7fr) 340px}.hero-motto{left:12%;font-size:19px}.content-grid{grid-template-columns:minmax(0,1.4fr) minmax(360px,1fr)}.regions-content{grid-template-columns:minmax(0,1fr) 400px}.brazil-map-wrap{grid-template-columns:85px 77px 1fr;gap:8px;padding-left:9px}.brazil-map{width:85px}.region-cards{gap:5px}.region-card{padding:6px}.region-mini-map{width:31px}}
@media(max-width:980px){.hero{height:auto;min-height:142px;grid-template-columns:minmax(0,1fr) 340px}.hero-art{display:none}.hero-copy{padding:22px 0}.content-grid{grid-template-columns:1fr}.side-stack{grid-template-columns:minmax(0,1fr) minmax(230px,.65fr);align-items:start}.regions-content{grid-template-columns:1fr}.brazil-map-wrap{border-left:0;border-top:1px solid #e5e9e1;padding:10px 0 0;grid-template-columns:110px 100px 1fr}.brazil-map{width:100px;height:125px}.region-cards{margin-top:13px}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.app-shell{padding:0 12px}.topbar{height:56px}.brand-word{font-size:15px}.main-nav{margin-left:20px;gap:14px}.main-nav a{font-size:10px}.main-nav a:nth-child(4){display:none}.official-tag{font-size:7px;padding:7px 8px}.official-tag b{display:none}.refresh-note{display:none}.refresh-button{width:31px;height:31px}.hero{grid-template-columns:1fr;gap:0;padding:12px 0}.hero-copy{padding:8px 0 14px}.hero h1{font-size:33px;letter-spacing:-1.8px}.hero-copy p{font-size:10px;line-height:1.4}.hero-status{max-width:100%;padding:9px;gap:8px}.hero-status small{font-size:7px}.hero-status strong{font-size:8px}.date-block{min-width:74px}.date-block strong{font-size:9px}.filter-bar{height:auto;display:grid;grid-template-columns:1fr 1fr;padding:8px 10px;gap:4px 9px}.filter-intro{grid-column:1/-1;height:22px;border:0;padding:0}.filter-field{height:37px;padding:0 4px 0 0;gap:5px;display:grid;align-content:center;border:0}.filter-field>span{font-size:7px}.filter-field select{min-width:0;width:100%;font-size:10px;padding:4px 19px 4px 0}.municipality-field{grid-column:1/-1}.auto-refresh{grid-column:1/-1;justify-self:end;font-size:8px}.notice{height:auto;min-height:54px;gap:8px;padding:8px}.notice-mark{width:24px;height:24px}.notice strong{font-size:10px}.notice div span{font-size:8px;line-height:1.35}.notice a{display:none}.stat-grid{gap:7px;margin-top:8px}.stat-card{height:100px;padding:10px}.stat-label{font-size:6.5px}.stat-label span{font-size:6px}.stat-main{margin:9px 0 6px}.stat-main>strong{font-size:20px}.stat-icon{width:23px;height:23px;font-size:12px}.stat-caption{font-size:7px}.stat-caption b{font-size:5.5px}.stat-trackline{grid-template-columns:1fr;gap:5px}.stat-trackline .stat-caption{display:flex;justify-items:initial}.mini-track{height:5px}.content-grid{gap:8px;margin-top:8px}.results-surface{padding:12px 10px 9px}.section-heading h2{font-size:14px}.section-overline{font-size:7px}.scope-chip{font-size:6px;padding:5px}.view-button{width:23px;height:24px}.candidate-table-head,.candidate-row{grid-template-columns:28px minmax(95px,1fr) 45px 64px;gap:5px}.candidate-table-head span:nth-child(3),.candidate-row .candidate-party-cell{display:none}.candidate-table-head{font-size:6px;padding-top:10px}.candidate-table-head span:nth-child(4){text-align:right}.candidate-table-head span:nth-child(5){display:none}.candidate-position{font-size:8px;gap:4px}.candidate-position i{height:18px;width:4px}.candidate-info{gap:5px}.candidate-photo{height:25px;width:25px}.candidate-name{font-size:8px}.candidate-party{font-size:7px}.candidate-votes{font-size:8px}.candidate-percent{font-size:8px}.candidate-row{min-height:34px;padding:5px 3px}.surface-foot{font-size:7px}.surface-foot>a{font-size:6px}.side-stack{grid-template-columns:1fr}.vote-summary{padding:12px;min-height:0}.vote-content{grid-template-columns:130px 1fr;gap:10px}.donut{width:125px}.donut:after{inset:10px}.donut strong{font-size:13px}.vote-line{gap:5px}.vote-line>span{font-size:8px}.vote-line b,.vote-line small{font-size:7px}.vote-legend{gap:7px}.live-source{min-height:42px}.regions-surface{margin-top:8px;padding:12px 10px}.regions-title h2{font-size:14px}.regions-title p{font-size:8px}.region-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.region-card{padding:7px}.region-mini-map{width:34px;height:37px}.region-name{font-size:7px}.region-percent{font-size:10px}.region-count{font-size:6px}.region-substatus{font-size:5px}.brazil-map-wrap{grid-template-columns:85px 90px 1fr;gap:6px;padding-top:8px}.brazil-map{width:82px;height:105px}.map-legend>span{font-size:6px}.brazil-map-wrap blockquote{font-size:10px;padding-left:7px}.brazil-map-wrap blockquote small{font-size:5px;letter-spacing:1px}.footer{flex-direction:column;font-size:6px}.footer-brand{font-size:9px}.footer-brand em{font-size:8px}}
.candidate-number-mobile{display:none}.candidate-bar{height:7px;flex:1;min-width:42px;margin-left:5px;border-radius:9px;overflow:hidden;background:#ecefe9}.candidate-bar i{display:block;height:100%;border-radius:9px;background:#639776}.candidate-row:nth-child(1) .candidate-bar i{background:#246a50}.candidate-row:nth-child(2) .candidate-bar i{background:#629978}.candidate-row:nth-child(3) .candidate-bar i{background:#9dbb91}.candidate-text{flex:0 1 auto;min-width:60px}.candidate-party-cell{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#68776d;font-size:9px}
@media(max-width:650px){.candidate-number-mobile{display:block}.candidate-info .candidate-bar{display:none}}
.hero-art img{position:absolute;inset:auto 0 0;width:100%;height:100%;object-fit:contain;object-position:center bottom}
.brazil-map-wrap{grid-template-columns:126px 90px 1fr}
.brazil-map{width:126px;height:130px;overflow:visible}
.brazil-map [data-uf]{transition:fill .35s ease}
.map-source{padding-top:4px;border-top:1px solid #e5e9e1}
@media(max-width:1250px){.brazil-map-wrap{grid-template-columns:100px 80px 1fr}.brazil-map{width:100px}}
@media(max-width:980px){.brazil-map-wrap{grid-template-columns:126px 100px 1fr}.brazil-map{width:126px}}
@media(max-width:650px){.brazil-map-wrap{grid-template-columns:90px 90px 1fr}.brazil-map{width:90px;height:105px}}
.candidate-row.awaiting-count .candidate-bar{visibility:hidden}
.candidate-row.awaiting-count .candidate-votes,.candidate-row.awaiting-count .candidate-percent{color:#98a299;font-weight:400}

.candidate-carousel-surface{margin-top:10px;padding:13px 15px 10px;overflow:hidden}
.candidate-carousel-heading{align-items:center}
.candidate-carousel-heading h2{margin-top:4px;font-size:17px}
.candidate-carousel-heading p{margin:4px 0 0;color:#849087;font-size:8px;line-height:1.4}
.candidate-carousel-filters{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap;min-width:0}
.candidate-carousel-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:10px 0 7px;color:#849087;font:500 8px var(--mono);letter-spacing:.2px}
.candidate-carousel-buttons{display:flex;gap:5px;flex:none}
.candidate-carousel-buttons button{width:29px;height:27px;border:1px solid #dfe5da;border-radius:5px;background:#fffefa;color:#28694f;font:500 16px var(--sans);line-height:1;cursor:pointer;transition:background .2s,border-color .2s,opacity .2s}
.candidate-carousel-buttons button:hover:not(:disabled){background:#edf3e8;border-color:#a8bca8}
.candidate-carousel-buttons button:disabled{opacity:.38;cursor:default}
.candidate-carousel-filter{display:flex;align-items:center;gap:8px;flex:none;height:32px;padding:0 9px;border:1px solid #dfe5da;border-radius:6px;background:#fffefa}
.candidate-carousel-filter>span{color:#879287;font:500 7px var(--mono);letter-spacing:.5px}
.candidate-carousel-filter select{max-width:185px;border:0;outline:0;background:transparent;color:#28694f;font:600 9px var(--sans);cursor:pointer}
.candidate-carousel-filter:focus-within{border-color:#81a98d;box-shadow:0 0 0 2px #81a98d33}
#candidate-carousel-play{position:relative;width:30px;font-size:0}
#candidate-carousel-play::before,#candidate-carousel-play::after{position:absolute;top:7px;width:3px;height:11px;border-radius:1px;background:currentColor;content:""}
#candidate-carousel-play::before{left:10px}
#candidate-carousel-play::after{left:16px}
#candidate-carousel-play.is-paused::before{top:6px;left:11px;width:0;height:0;border-top:7px solid transparent;border-bottom:7px solid transparent;border-left:9px solid currentColor;border-radius:0;background:transparent}
#candidate-carousel-play.is-paused::after{display:none}
.candidate-carousel-viewport{overflow:hidden;min-width:0;touch-action:pan-y;outline:none}
.candidate-carousel-viewport:focus-visible{outline:2px solid #76a286;outline-offset:2px;border-radius:7px}
.candidate-carousel-track{display:flex;gap:9px;width:100%;min-width:100%;will-change:transform;transform:translate3d(0,0,0)}
.candidate-carousel-track.is-updating .candidate-trend-card{animation:candidate-carousel-enter 360ms cubic-bezier(.22,.68,0,1) both}
.candidate-carousel-track.is-updating .candidate-trend-card:nth-child(2){animation-delay:45ms}
.candidate-carousel-track.is-updating .candidate-trend-card:nth-child(3){animation-delay:90ms}
@keyframes candidate-carousel-enter{from{opacity:.2;transform:translate3d(9px,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}
.candidate-trend-card{flex:0 0 calc((100% - 18px)/3);min-width:220px;padding:12px 13px 10px;border:1px solid #e1e7dc;border-radius:8px;background:linear-gradient(140deg,#fffefa,#fbfcf7)}
@media(min-width:651px){.candidate-carousel-track[data-visible-count="1"]>.candidate-trend-card{flex-basis:100%}.candidate-carousel-track[data-visible-count="2"]>.candidate-trend-card{flex-basis:calc((100% - 9px)/2)}}
.candidate-trend-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
.candidate-trend-identity{display:flex;align-items:center;gap:10px;min-width:0}
.candidate-carousel-photo,.candidate-carousel-photo-fallback{width:52px;height:52px;flex:none;border:1px solid #e2e7dc;border-radius:50%;background:#e8eee4;object-fit:cover;object-position:center 25%}
.candidate-carousel-photo-fallback{display:grid;place-items:center;color:#567460;font:600 12px var(--mono)}
.candidate-trend-person{display:grid;gap:3px;min-width:0}
.candidate-trend-name{overflow:hidden;color:#1c3027;font-size:12px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}
.candidate-trend-party{overflow:hidden;color:#4f6257;font-size:9px;text-overflow:ellipsis;white-space:nowrap}
.candidate-trend-office{overflow:hidden;color:#849087;font-size:8px;text-overflow:ellipsis;white-space:nowrap}
.candidate-trend-rank{flex:none;padding:5px 7px;border-radius:12px;background:#f5efd9;color:#91732e;font-size:7px;white-space:nowrap}
.candidate-trend-rank.is-leading{background:#e0f1e5;color:#24734e}
.candidate-trend-score{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-top:10px}
.candidate-trend-score strong{color:#173d31;font:700 25px var(--display);letter-spacing:-1px;white-space:nowrap}
.candidate-trend-score span{overflow:hidden;color:#78857b;font-size:9px;text-overflow:ellipsis;white-space:nowrap}
.candidate-trend-meter{height:7px;margin-top:5px;border-radius:9px;overflow:hidden;background:#e9ede6}
.candidate-trend-meter i{display:block;height:100%;min-width:0;border-radius:inherit;background:linear-gradient(90deg,#2f8061,#6baa78);transition:width .5s ease}
.candidate-trend-change{display:flex;align-items:center;gap:8px;min-height:37px;margin-top:9px;padding:5px 8px;border-radius:6px;background:#f0f5ee;color:#327953}
.candidate-trend-change>b{font-size:17px;line-height:1}
.candidate-trend-change>span{display:grid;gap:1px;min-width:0}
.candidate-trend-change strong{font-size:10px;font-weight:700}
.candidate-trend-change small{color:#849087;font-size:7px}
.candidate-trend-change.down{background:#fbf0eb;color:#bd4a3b}
.candidate-trend-change.steady,.candidate-trend-change.waiting{background:#f1f3ef;color:#78857b}
.candidate-carousel-empty{display:grid;min-height:90px;place-items:center;width:100%;padding:16px;border:1px dashed #dfe5da;border-radius:7px;color:#7c887f;font-size:10px;text-align:center}
.candidate-carousel-foot{margin-top:7px;color:#89938a;font-size:7px;line-height:1.4}
@media(max-width:1250px){.candidate-trend-card{flex-basis:calc((100% - 9px)/2)}}
@media(max-width:650px){.candidate-carousel-surface{margin-top:8px;padding:11px 10px 9px}.candidate-carousel-heading{align-items:flex-start;flex-wrap:wrap}.candidate-carousel-heading h2{font-size:14px}.candidate-carousel-heading p{max-width:260px;font-size:7px}.candidate-carousel-filter{height:29px;padding:0 7px}.candidate-carousel-filter select{max-width:155px;font-size:8px}.candidate-carousel-toolbar{margin:8px 0 6px;font-size:7px}.candidate-carousel-buttons button{width:27px;height:25px}#candidate-carousel-play::before,#candidate-carousel-play::after{top:6px}#candidate-carousel-play.is-paused::before{top:5px}.candidate-carousel-track{gap:8px}.candidate-trend-card{flex-basis:87%;min-width:0;padding:10px}.candidate-carousel-photo,.candidate-carousel-photo-fallback{width:45px;height:45px}.candidate-trend-name{font-size:11px}.candidate-trend-score{margin-top:8px}.candidate-trend-score strong{font-size:23px}.candidate-trend-score span{font-size:8px}.candidate-trend-change{min-height:34px;margin-top:7px}.candidate-carousel-foot{font-size:6.5px}}
@media(max-width:650px){.candidate-carousel-filters{width:100%;justify-content:flex-start;gap:6px}.candidate-carousel-filters .candidate-carousel-filter{flex:1 1 auto;min-width:120px}}
@media(prefers-reduced-motion:reduce){.candidate-trend-meter i,.candidate-carousel-buttons button{transition:none}}
.region-carousel{min-width:0}
.region-carousel-toolbar{display:flex;justify-content:space-between;align-items:center;margin:9px 0 6px;color:#849087;font:500 8px var(--mono);letter-spacing:.35px}
.region-carousel-buttons{display:flex;gap:5px}
.region-carousel-buttons button{width:27px;height:25px;border:1px solid #dfe5da;border-radius:5px;background:#fffefa;color:#28694f;font-size:18px;line-height:1;cursor:pointer;transition:background .2s,border-color .2s,opacity .2s}
.region-carousel-buttons button:hover:not(:disabled){background:#edf3e8;border-color:#a8bca8}
.region-carousel-buttons button:disabled{opacity:.38;cursor:default}
.region-cards{display:flex;gap:10px;margin-top:0;padding:2px 1px 8px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#c5d1c5 transparent;touch-action:pan-x}
.region-card{flex:0 0 calc((100% - 20px)/3);min-width:150px;scroll-snap-align:start}
.region-mini-map{width:62px;height:56px;object-fit:contain}
.region-mini-map [data-uf]{transition:fill .35s ease}
@media(max-width:1250px){.region-card{flex-basis:calc((100% - 10px)/2)}}
@media(max-width:650px){.region-cards{gap:8px}.region-card{flex-basis:82%;min-width:0}.region-mini-map{width:58px;height:52px}.region-carousel-toolbar{margin-top:8px}}
.region-cards{display:block;position:relative;overflow:hidden;overscroll-behavior:contain;padding:2px 1px 8px;touch-action:pan-y}
.region-carousel-track{display:flex;gap:10px;width:100%;will-change:transform;transform:translate3d(0,0,0)}
.region-card{scroll-snap-align:none}
@media(max-width:1250px){.region-carousel-track{gap:5px}}
@media(max-width:650px){.region-carousel-track{gap:8px}.region-card{flex-basis:100%}}
.news-panel{padding:12px 13px 10px;min-width:0}
.news-heading{align-items:start;gap:8px}
.news-heading h2{margin-top:3px;font-size:14px}
.news-refresh-label{color:#8a958b;font:400 7px var(--mono);white-space:nowrap}
.news-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:9px}
.news-item{overflow:hidden;min-width:0;border:1px solid #e4e9df;border-radius:6px;background:#fffefa;color:inherit;text-decoration:none;transition:border-color .18s,transform .18s}
.news-item:hover{border-color:#a9bead;transform:translateY(-1px)}
.news-image-wrap{position:relative;height:92px;overflow:hidden;background:linear-gradient(135deg,#dce8d9,#edf0e7)}
.news-image-wrap.no-image .news-image-placeholder{position:absolute;inset:0;width:86%;height:68%;margin:auto;object-fit:contain}
.news-image-wrap img{display:block;width:100%;height:100%;object-fit:cover}
.news-copy{display:grid;gap:5px;padding:7px 8px 9px}
.news-meta{display:flex;justify-content:space-between;gap:5px;color:#879287;font:400 7px var(--mono)}
.news-meta b{overflow:hidden;color:#327050;font-weight:500;text-overflow:ellipsis;white-space:nowrap}
.news-meta time{white-space:nowrap}
.news-title{display:-webkit-box;overflow:hidden;min-height:2.7em;color:#24372c;font-size:9px;font-weight:650;line-height:1.35;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.news-empty{grid-column:1/-1;margin:0;padding:15px 8px;text-align:center;color:#879287;font-size:9px;line-height:1.5}
.news-foot{display:flex;justify-content:space-between;gap:8px;margin-top:8px;padding-top:7px;border-top:1px solid #edf0e9;color:#879287;font:400 7px var(--mono)}
@media(max-width:650px){.news-panel{padding:11px}.news-image-wrap{height:82px}.news-title{font-size:8px}.news-foot{font-size:6px}}

/* Small-screen layout: keep every section inside the viewport. */
html,body{max-width:100%;overflow-x:clip}
.app-shell,.page,.surface,.content-grid,.regions-content,.region-carousel{min-width:0}
@media(max-width:980px){
  .topbar{height:auto;min-height:80px;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:44px 36px;align-items:center;padding-top:2px}
  .brand{grid-column:1;grid-row:1;min-width:0}
  .top-actions{grid-column:2;grid-row:1;gap:8px;margin-left:0}
  .refresh-note{display:none}
  .main-nav{grid-column:1/-1;grid-row:2;width:100%;height:36px;display:flex;justify-content:space-between;gap:0;margin:0}
  .main-nav a,.main-nav a:nth-child(4){display:flex;flex:1;justify-content:center;height:36px;font-size:11px}
  .main-nav a.selected:after{left:15%;right:15%}
}
@media(min-width:651px) and (max-width:980px){
  .filter-bar{height:auto;display:grid;grid-template-columns:minmax(90px,105px) minmax(0,1fr) minmax(0,1fr) auto;grid-template-rows:36px 36px;gap:3px 6px;padding:6px 9px}
  .filter-intro{grid-column:1;grid-row:1;padding:0;border:0}
  .filter-field{height:36px;min-width:0;gap:5px;padding:0 6px;border:0}
  .filter-field select,.municipality-field select{width:100%;min-width:0;padding-right:15px;font-size:10px}
  .filter-field>span{font-size:7px}
  .filter-field:not(.municipality-field){display:grid;align-content:center;gap:1px}
  .municipality-field{grid-column:1/4;grid-row:2}
  .auto-refresh{grid-column:4;grid-row:2;margin:0;justify-self:end;font-size:8px}
}
@media(max-width:480px){
  .app-shell{width:100%;padding:0 10px}
  .topbar{height:auto;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:42px 34px;align-items:center;padding-top:2px}
  .brand{grid-column:1;grid-row:1;gap:7px;min-width:0}
  .brand-mark{width:20px;height:21px}
  .brand-word{font-size:15px}
  .top-actions{grid-column:2;grid-row:1;gap:7px;margin-left:0}
  .official-tag{gap:5px;padding:6px 7px;font-size:7px}
  .refresh-button{width:29px;height:29px;font-size:18px}
  .main-nav{grid-column:1/-1;grid-row:2;width:100%;height:34px;display:flex;justify-content:space-between;gap:0;margin:0}
  .main-nav a,.main-nav a:nth-child(4){display:flex;flex:1;justify-content:center;height:34px;font-size:9px}
  .main-nav a.selected:after{left:15%;right:15%}
  .hero{min-width:0}
  .hero h1{font-size:clamp(24px,7.8vw,33px);letter-spacing:-1.5px;white-space:normal;overflow-wrap:anywhere}
  .hero-copy p{max-width:100%}
  .filter-bar,.notice,.stat-grid,.content-grid,.regions-surface{min-width:0;max-width:100%}
  .candidate-table-head,.candidate-row{grid-template-columns:25px minmax(0,1fr) 42px 52px;gap:4px}
  .candidate-info{min-width:0}
  .candidate-text{min-width:0}
  .candidate-name{font-size:7.5px}
  .candidate-votes,.candidate-percent{font-size:7px}
  .vote-content{grid-template-columns:minmax(0,130px) minmax(0,1fr)}
  .donut{max-width:100%}
  .brazil-map-wrap{grid-template-columns:76px minmax(72px,88px) minmax(0,1fr)}
  .brazil-map{width:76px;height:96px}
  .brazil-map-wrap blockquote{overflow-wrap:anywhere}
  .region-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .news-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:370px){
  .app-shell{padding:0 8px}
  .brand-word{font-size:14px}
  .official-label,.official-tag b{display:none}
  .official-tag{padding:6px}
  .hero-status{width:100%;min-width:0;flex-wrap:wrap;gap:7px}
  .hero-status>div:not(.date-block){min-width:0;flex:1}
  .hero-status small,.hero-status strong{white-space:normal;overflow-wrap:anywhere}
  .status-divider{display:none}
  .date-block{min-width:0;margin-left:auto;text-align:right}
  .stat-card{padding:9px 7px}
  .stat-main>strong{font-size:18px}
  .vote-content{grid-template-columns:1fr;justify-items:center}
  .vote-legend{width:100%}
  .brazil-map-wrap{grid-template-columns:68px minmax(68px,80px) minmax(0,1fr);gap:4px}
  .brazil-map{width:68px;height:90px}
  .region-card{padding:6px}
  .region-count{white-space:normal}
  .news-list{grid-template-columns:1fr}
}

/* Election news follows the long-form, source-first layout from the reference. */
.news-panel{margin-top:12px;padding:24px 28px 14px;min-width:0}
.news-heading{align-items:center;gap:12px}
.news-heading h2{margin-top:6px;font-size:25px;letter-spacing:-.75px}
.news-refresh-label{font-size:13px}
.news-list{display:block;max-height:min(690px,72vh);overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;margin-top:18px;padding-right:10px;scrollbar-width:thin;scrollbar-color:#aab9ab #edf0e9}
.news-list::-webkit-scrollbar{width:8px}
.news-list::-webkit-scrollbar-track{border-radius:8px;background:#edf0e9}
.news-list::-webkit-scrollbar-thumb{border:2px solid #edf0e9;border-radius:8px;background:#aab9ab}
.news-item{display:grid;grid-template-columns:minmax(220px,30%) minmax(0,1fr) 26px;align-items:center;gap:24px;overflow:visible;padding:14px 0;border:0;border-bottom:1px solid #dfe5dd;border-radius:0;background:transparent;transition:background .18s}
.news-item:hover{border-color:#dfe5dd;background:#f9faf5;transform:none}
.news-image-wrap{height:auto;aspect-ratio:2.05/1;border-radius:8px;background:linear-gradient(110deg,#e5eae1 20%,#f4f5ef 38%,#e5eae1 56%);background-size:220% 100%;animation:skeleton-shimmer 1.5s linear infinite}
.news-image-wrap img{border-radius:inherit}
.news-copy{min-width:0;display:grid;gap:7px;padding:2px 0}
.news-meta{justify-content:flex-start;gap:12px;font-size:13px}
.news-source-name{overflow:hidden;color:#398066;text-overflow:ellipsis;white-space:nowrap}
.news-meta i{color:#829087;font-style:normal}
.news-meta time{color:#829087}
.news-title{min-height:0;overflow:visible;color:#17251f;font-size:20px;font-weight:700;line-height:1.3;-webkit-line-clamp:unset}
.news-description{margin:0;color:#59655f;font-size:15px;line-height:1.5}
.news-arrow{color:#268060;font-size:27px;line-height:1;transition:transform .18s}
.news-item:hover .news-arrow{transform:translateX(3px)}
.news-foot{margin-top:10px;padding-top:10px;font-size:11px}
.news-empty{padding:28px 10px;font-size:13px}
.news-load-sentinel{height:1px}
.news-skeleton-row{display:grid;grid-template-columns:minmax(220px,30%) minmax(0,1fr);align-items:center;gap:24px;padding:14px 0;border-bottom:1px solid #e7ebe4}
.news-skeleton-row>i,.news-skeleton-row>div i,.sk-header i,.sk-header b,.sk-hero i,.sk-hero>b,.sk-filters i,.sk-stats i,.sk-candidates i,.sk-side i,.sk-news>i{display:block;border-radius:6px;background:linear-gradient(110deg,#e5eae1 20%,#f4f5ef 38%,#e5eae1 56%);background-size:220% 100%;animation:skeleton-shimmer 1.5s linear infinite}
.news-skeleton-row>i{aspect-ratio:2.05/1}
.news-skeleton-row>div{display:grid;gap:10px}
.news-skeleton-row>div i{height:13px}
.news-skeleton-row>div i:first-child{width:32%;height:10px}
.news-skeleton-row>div i:nth-child(2){width:78%;height:21px}
.news-skeleton-row>div i:nth-child(3){width:92%;height:34px}
@keyframes skeleton-shimmer{to{background-position-x:-220%}}

/* First visit loading shell. It disappears after the first data requests settle. */
.initial-skeleton{position:fixed;z-index:100;inset:0;overflow:hidden;background:var(--paper);padding:0 max(calc((100vw - 1670px)/2 + 35px),24px);transition:opacity .22s ease}
.sk-header{height:61px;display:flex;align-items:center;gap:24px;border-bottom:1px solid var(--line)}
.sk-header i{width:112px;height:24px;margin-right:40px}
.sk-header b{width:58px;height:13px}
.sk-header b:last-child{margin-left:auto;width:122px}
.sk-hero{height:149px;display:grid;grid-template-columns:minmax(0,1fr) 35%;align-items:center;gap:24px}
.sk-hero>div{display:grid;gap:10px}
.sk-hero i{width:80%;height:13px}
.sk-hero i:nth-child(2){width:64%;height:39px}
.sk-hero i:nth-child(3){width:75%;height:13px}
.sk-hero>b{height:58px}
.sk-filters{height:48px;display:grid;grid-template-columns:1fr 1fr 1fr 1.4fr;gap:14px;padding:8px 14px;border:1px solid var(--line);border-radius:7px;background:var(--white)}
.sk-filters i{height:100%}
.sk-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:12px}
.sk-stats i{height:106px}
.sk-dashboard{display:grid;grid-template-columns:1.6fr 1fr;gap:12px;margin-top:12px}
.sk-candidates,.sk-side{display:grid;gap:9px;padding:17px;border:1px solid var(--line);border-radius:8px;background:var(--white)}
.sk-candidates i{height:37px}
.sk-candidates i:first-child{height:26px;width:44%}
.sk-side i{height:125px}
.sk-news{display:grid;gap:11px;margin-top:12px;padding:24px 28px;border:1px solid var(--line);border-radius:8px;background:var(--white)}
.sk-news>i{height:84px}
.sk-news>i:first-child{height:34px;width:38%}
body.is-loading,html:has(body.is-loading){overflow:hidden}
@media(max-width:980px){.initial-skeleton{padding:0 24px}.sk-hero{grid-template-columns:1fr 300px}.sk-dashboard{grid-template-columns:1fr}.sk-side{grid-template-columns:repeat(2,minmax(0,1fr))}.sk-side i{height:110px}}
@media(max-width:650px){
  .initial-skeleton{padding:0 12px}
  .sk-header{height:92px;display:grid;grid-template-columns:1fr auto;grid-template-rows:44px 36px;gap:4px;padding:2px 0}
  .sk-header i{width:105px;height:23px;margin:0}
  .sk-header b{display:none}
  .sk-header b:nth-last-child(2){display:block;grid-column:2;grid-row:1;width:72px}
  .sk-header b:last-child{display:block;grid-column:1/-1;grid-row:2;width:100%;height:12px}
  .sk-hero{height:auto;grid-template-columns:1fr;padding:18px 0;gap:12px}
  .sk-hero>b{height:54px}
  .sk-filters{height:100px;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .sk-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .sk-stats i{height:94px}
  .sk-candidates,.sk-side{padding:11px}
  .sk-news{padding:15px}
  .sk-news>i{height:66px}
  .news-panel{padding:15px 13px 12px}
  .news-heading h2{font-size:19px}
  .news-refresh-label{font-size:9px}
  .news-list{max-height:68vh;margin-top:10px;padding-right:5px}
  .news-item{grid-template-columns:92px minmax(0,1fr) 17px;gap:11px;padding:11px 0}
  .news-image-wrap{aspect-ratio:1.18/1}
  .news-copy{gap:5px}
  .news-meta{gap:6px;font-size:9px}
  .news-title{font-size:13px;line-height:1.28}
  .news-description{font-size:10px;line-height:1.4;display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3}
  .news-arrow{font-size:20px}
  .news-foot{font-size:8px}
  .news-skeleton-row{grid-template-columns:92px minmax(0,1fr);gap:11px;padding:11px 0}
  .news-skeleton-row>i{aspect-ratio:1.18/1}
}
@media(max-width:370px){
  .initial-skeleton{padding:0 8px}
  .news-panel{padding-right:10px;padding-left:10px}
  .news-item{grid-template-columns:72px minmax(0,1fr) 14px;gap:8px}
  .news-meta{font-size:8px}
  .news-title{font-size:12px}
  .news-description{font-size:9px;-webkit-line-clamp:2}
  .news-skeleton-row{grid-template-columns:72px minmax(0,1fr);gap:8px}
}
@media(prefers-reduced-motion:reduce){.news-image-wrap,.news-skeleton-row>i,.news-skeleton-row>div i,.sk-header i,.sk-header b,.sk-hero i,.sk-hero>b,.sk-filters i,.sk-stats i,.sk-candidates i,.sk-side i,.sk-news>i{animation:none}}

/* Keep election news directly below the vote summary in the dashboard sidebar. */
@media(max-width:980px){.side-stack{grid-template-columns:1fr}}
.news-panel{margin-top:0;padding:13px 14px 10px;min-width:0}
.news-heading{align-items:flex-start;gap:8px}
.news-heading h2{margin-top:4px;font-size:15px;letter-spacing:-.35px}
.news-refresh-label{font-size:8px;white-space:nowrap}
.news-list{display:block;max-height:350px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;margin-top:7px;padding-right:5px;scrollbar-width:thin;scrollbar-color:#aab9ab #edf0e9}
.news-list::-webkit-scrollbar{width:6px}
.news-list::-webkit-scrollbar-track{border-radius:6px;background:#edf0e9}
.news-list::-webkit-scrollbar-thumb{border:1px solid #edf0e9;border-radius:6px;background:#aab9ab}
.news-item{grid-template-columns:minmax(72px,27%) minmax(0,1fr) 14px;gap:9px;padding:9px 0;overflow:hidden}
.news-image-wrap{height:auto;aspect-ratio:1.3/1;border-radius:5px}
.news-copy{gap:3px;padding:0}
.news-meta{gap:5px;font-size:8px}
.news-title{font-size:11px;line-height:1.3;-webkit-line-clamp:2;display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical}
.news-description{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:9px;line-height:1.35}
.news-arrow{font-size:17px}
.news-foot{margin-top:7px;padding-top:7px;font-size:7px}
.news-empty{padding:16px 6px;font-size:10px}
.news-skeleton-row{grid-template-columns:minmax(72px,27%) minmax(0,1fr);gap:9px;padding:9px 0}
.news-skeleton-row>i{aspect-ratio:1.3/1}
.news-skeleton-row>div{gap:5px}
.news-skeleton-row>div i{height:9px}
.news-skeleton-row>div i:nth-child(2){height:13px}
.news-skeleton-row>div i:nth-child(3){height:18px}
@media(max-width:650px){.news-panel{padding:12px 11px 9px}.news-heading h2{font-size:14px}.news-refresh-label{font-size:7px}.news-list{max-height:46vh}.news-item{grid-template-columns:76px minmax(0,1fr) 14px;gap:9px;padding:8px 0}.news-image-wrap{aspect-ratio:1.25/1}.news-meta{font-size:8px}.news-title{font-size:11px}.news-description{font-size:9px}.news-foot{font-size:7px}}
@media(max-width:370px){.news-panel{padding-right:9px;padding-left:9px}.news-item{grid-template-columns:66px minmax(0,1fr) 12px;gap:7px}.news-meta{font-size:7px}.news-title{font-size:10px}.news-description{font-size:8px}}
