:root{font-family:Barlow,system-ui,sans-serif;color:#1d1f20;background:#f2f2f3;font-size:16px;font-synthesis:none;--ink:#1d1f20;--muted:#5d5d60;--accent:#416180;--line:rgba(29,31,32,.16);--track:#e7e7ea;--display:'Barlow Condensed',Impact,sans-serif}
*{box-sizing:border-box}body{margin:0}a{color:var(--accent)}button,select,input{font:inherit}button,a,select{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #5980a6;outline-offset:4px}button{color:inherit}button,a{ -webkit-tap-highlight-color:transparent}[hidden]{display:none!important}.skip-link{position:fixed;top:-100px;left:1rem;z-index:99;background:white;padding:1rem}.skip-link:focus{top:1rem}
.shell{min-height:100vh;max-width:1920px;margin:auto;padding:2.2rem 3rem 1.4rem;display:flex;flex-direction:column;gap:1.2rem}.masthead{display:flex;justify-content:space-between;align-items:flex-end;border-bottom:1px solid var(--line);padding-bottom:1.1rem;gap:1.5rem}.wordmark{font-family:var(--display);font-weight:600;font-size:3.6rem;line-height:1;letter-spacing:-.01em;text-decoration:none;color:var(--ink)}.subtitle{font-size:1.1rem;color:var(--muted);display:flex;gap:1rem;align-items:center;margin-top:.4rem;flex-wrap:wrap}.separator{height:1rem;width:1px;background:var(--line)}.stage{font-family:var(--display);font-weight:600;letter-spacing:.08em;text-transform:uppercase;font-size:1rem;color:var(--accent);border:1px solid currentColor;padding:.1rem .5rem}.stage.test{color:#825315;background:#fff1d5}.header-stats{display:flex;gap:3rem;text-align:right}.header-stats>div{display:flex;flex-direction:column;gap:.15rem}.header-stats strong{font-family:var(--display);font-size:2.6rem;line-height:1;font-weight:600;font-variant-numeric:tabular-nums}.eyebrow{font-family:var(--display);font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);font-size:.9rem}.date-label{font-size:.875rem;color:var(--muted)}.live-dot{display:inline-block;width:.6rem;height:.6rem;border-radius:50%;background:#9b9b9e;margin-right:.5rem}.live-dot.connected{background:#427660}.connection-status{font-size:.9rem;color:var(--muted);min-height:1.2rem}.connection-status.warning{color:#825315}.filters{display:flex;align-items:flex-end;gap:1rem;flex-wrap:wrap}.filters label{display:flex;flex-direction:column;gap:.35rem;font-size:.875rem;color:var(--muted)}select{background:transparent;border:1px solid var(--line);border-radius:0;color:var(--ink);padding:.65rem 2.25rem .65rem .75rem;max-width:100%;min-width:160px}.area-control{flex:1;min-width:210px}.tv-link{padding:.7rem 0;white-space:nowrap;text-decoration:none;font-weight:500}.tv-link span{margin-left:.75rem}.view-nav{display:flex;gap:1.8rem;border-bottom:1px solid var(--line);overflow-x:auto;scrollbar-width:thin}.view-nav button{background:none;border:0;border-bottom:3px solid transparent;padding:.7rem 0;white-space:nowrap;color:var(--muted)}.view-nav button[aria-current]{border-color:var(--accent);color:var(--ink);font-weight:700}
main{flex:1;min-height:540px;position:relative;outline:none}.view{height:100%;display:flex;flex-direction:column;gap:1.2rem;animation:appear .4s ease}.section-title{display:flex;justify-content:space-between;align-items:baseline;gap:1rem;flex-wrap:wrap}.section-title h1{margin:0;font-family:var(--display);font-size:2.6rem;line-height:1.05;font-weight:600}.section-title p,.muted{color:var(--muted);font-size:1rem;margin:0;line-height:1.5}.area-title{color:var(--accent);font-family:var(--display);font-size:1.1rem;letter-spacing:.07em;text-transform:uppercase}.result-table{width:100%;border-collapse:collapse;table-layout:fixed}.result-table caption{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.result-table th,.result-table td{border-bottom:1px solid rgba(29,31,32,.1);text-align:right;padding:.65rem .8rem;vertical-align:middle}.result-table thead th{font-family:var(--display);font-weight:600;letter-spacing:.08em;text-transform:uppercase;font-size:.875rem;color:var(--muted)}.result-table th:first-child{width:5rem;text-align:left}.result-table .party-name{width:14rem;text-align:left;font-weight:400;color:#424244;font-size:1.05rem}.party-button{background:none;border:0;padding:0;color:var(--party);font-family:var(--display);font-weight:600;font-size:2.4rem;line-height:1.1;text-align:left}.party-button:hover{text-decoration:underline}.result-table .pct{width:8rem;font-family:var(--display);font-weight:600;font-size:2.65rem;font-variant-numeric:tabular-nums}.result-table .delta{width:7rem;font-family:var(--display);font-weight:600;font-size:1.5rem;font-variant-numeric:tabular-nums}.positive{color:var(--accent)}.negative{color:var(--muted)}.bar{height:2.2rem;background:var(--track);position:relative;text-align:left}.bar-fill{height:100%;width:var(--width);background:var(--party);transition:width 1.2s cubic-bezier(.2,.8,.2,1)}.threshold{position:absolute;left:var(--threshold);top:-.3rem;bottom:-.3rem;width:1px;background:var(--ink);opacity:.5}.result-table tr.changed{animation:highlight 4s}.note{font-size:.9rem;color:var(--muted);line-height:1.5;margin:0}.comparison .bar{height:.8rem;margin:.3rem 0}.comparison .previous{background:#b7b7ba}.comparison .pct{font-size:2rem;width:7rem}.comparison .previous-pct{font-size:1.4rem;color:var(--muted);width:7rem}.comparison .delta{width:8rem}.comparison .seat-compare{width:9rem;font-size:1.4rem;font-variant-numeric:tabular-nums}.comparison .party-name{display:none}.legend{display:flex;gap:1.5rem;color:var(--muted);font-size:.9rem}.legend i{display:inline-block;width:2rem;height:.6rem;margin-right:.4rem;background:#b7b7ba}.legend span:last-child i{background:var(--ink)}
.two-column{display:grid;grid-template-columns:1.2fr 1fr;gap:3rem;flex:1;min-height:0}.two-column.equal{grid-template-columns:1fr 1fr}.mandate-chart{display:flex;flex-direction:column;justify-content:center;min-width:0;gap:1.5rem}.hemi{width:100%;height:auto;overflow:visible;max-height:400px}.hemi text{font-family:var(--display);font-weight:600;fill:var(--ink)}.seats-table .party-name{width:auto}.seats-table .pct{width:6rem}.seats-table .delta{width:5rem}.seats-table .party-button{font-size:2rem}.frame{border:1px solid var(--line);position:relative;padding:2rem}.frame:before,.frame:after{content:'+';position:absolute;font-family:monospace;line-height:1;font-size:16px;top:-9px;opacity:.55}.frame:before{left:-5px}.frame:after{right:-5px}.stat-frame{display:flex;flex-direction:column;justify-content:space-between;gap:2rem;min-width:0}.stat-number{font-family:var(--display);font-weight:600;font-size:8rem;line-height:.95;letter-spacing:-.02em;font-variant-numeric:tabular-nums}.stat-caption{font-size:1.25rem;color:#424244;margin-top:.8rem}.stat-frame .eyebrow{font-size:1.1rem;color:var(--accent)}.stat-frame .bar{height:1.2rem}.stat-detail{display:flex;justify-content:space-between;gap:1rem;margin-top:.6rem;line-height:1.5;color:var(--muted)}.mini-stats{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.mini-stats strong{display:block;font-family:var(--display);font-weight:600;font-size:2.2rem;color:var(--ink)}.block-list{display:flex;flex-direction:column;gap:1.6rem;flex:1}.block{display:grid;grid-template-columns:1fr auto;gap:1.3rem 2rem;flex:1}.block-heading{display:flex;align-items:baseline;gap:1rem;flex-wrap:wrap}.block h2{font:600 2.2rem/1 var(--display);margin:0}.majority-badge{font:600 .9rem var(--display);text-transform:uppercase;border:1px solid var(--accent);padding:.2rem .5rem;color:var(--accent)}.block-total{grid-column:2;grid-row:1/3;text-align:right;align-self:center}.block-total strong{font:600 7rem/.9 var(--display);display:block;font-variant-numeric:tabular-nums}.block-total small{display:block;margin-top:.7rem;font-size:1.1rem}.block-bar{height:3.5rem;display:flex;background:var(--track);position:relative;align-self:center}.block-bar>span{flex:0 0 var(--width);background:var(--party);display:flex;align-items:center;justify-content:center;overflow:hidden;color:var(--label-color,#fff);font:600 1.35rem var(--display);white-space:nowrap}.majority-line{position:absolute;left:var(--majority);top:-.5rem;bottom:-.5rem;width:2px;background:var(--ink)}.movement-column{display:flex;flex-direction:column;gap:1rem}.movement-column .eyebrow{font-size:1.1rem}.movement{display:grid;grid-template-columns:4.5rem 1fr auto;align-items:center;gap:1rem;padding:1.5rem;flex:1}.movement strong{font:600 3.5rem/1 var(--display)}.movement .party-button{font-size:3.2rem}.movement .muted{font-size:.9rem}.movement p{margin:.25rem 0}.countdown .stat-number{font-size:6rem}.countdown .stat-frame{justify-content:center;text-align:center}.empty-state{padding:4rem 2rem;text-align:center;border:1px solid var(--line);min-height:320px;display:flex;flex-direction:column;justify-content:center}.empty-state h1,.empty-state h2{font:600 2.6rem var(--display);margin:0 0 1rem}.empty-state p{color:var(--muted);line-height:1.6}.action-button{background:var(--accent);color:white;border:1px solid var(--accent);padding:.65rem 1rem;display:inline-block;text-decoration:none}.empty-state .action-button{align-self:center}
.ticker-footer{display:grid;grid-template-columns:auto 1fr auto;gap:1.5rem;align-items:center;border-top:1px solid var(--line);padding-top:1rem;min-height:3.8rem}.ticker-title{border:0;background:none;padding:0;color:var(--accent);text-align:left;white-space:nowrap}.ticker{display:flex;gap:.8rem;overflow:auto;scrollbar-width:thin;min-width:0;font-size:.95rem}.ticker button{display:flex;gap:.6rem;align-items:center;white-space:nowrap;border:1px solid var(--line);background:transparent;padding:.45rem .8rem}.ticker button:hover{background:#e2eaf1}.ticker time{color:var(--muted);font-size:.875rem}.dots{display:flex;gap:.45rem;align-items:center}.dots button{width:.65rem;height:.65rem;border-radius:50%;border:0;background:#d4d4d7;padding:0}.dots button.active{background:#5980a6}.source-line{display:flex;gap:1rem;justify-content:space-between;color:var(--muted);font-size:.875rem;flex-wrap:wrap}.source-line a{color:inherit}.history-list{display:flex;flex-direction:column;gap:.75rem}.history-item{display:grid;grid-template-columns:9rem 1fr auto;gap:1.5rem;text-align:left;width:100%;background:transparent;border:1px solid var(--line);padding:1rem 1.25rem;align-items:center}.history-item:hover{background:#e2eaf1}.history-item strong{font-size:1.15rem;font-weight:500;display:block}.history-item time{font-variant-numeric:tabular-nums;color:var(--accent)}.history-item small{display:block;margin-top:.25rem;color:var(--muted);font-size:.9rem}.history-more{align-self:flex-start}.tv-controls{display:none}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;margin:1.5rem 0}.detail-grid strong{font:600 2.5rem var(--display);display:block}.detail-grid span{color:var(--muted)}dialog{background:#f2f2f3;color:var(--ink);border:1px solid var(--line);width:min(750px,calc(100% - 2rem));max-height:85vh;padding:2rem}dialog::backdrop{background:rgba(15,22,28,.45)}dialog h2{font:600 2.6rem/1.1 var(--display);margin:.7rem 2rem 1rem 0}.close-dialog{position:absolute;right:.8rem;top:.6rem;background:none;border:0;font-size:2rem}.change-table{border-collapse:collapse;width:100%;margin:1.5rem 0;font-variant-numeric:tabular-nums}.change-table th,.change-table td{border-bottom:1px solid var(--line);padding:.65rem .25rem;text-align:right}.change-table th:first-child,.change-table td:first-child{text-align:left}.change-table th{font-size:.9rem;color:var(--muted)}.detail-actions{display:flex;justify-content:space-between;gap:1rem;margin-top:1.5rem}
.tv{height:100vh;overflow:hidden;font-size:clamp(14px,calc(.55vw + .45vh),38px)}.tv .shell{height:100vh;min-height:0;max-width:none;padding:2.2em 3em 1.4em;gap:1em;font-size:inherit}.tv .filters,.tv .view-nav,.tv .interactive-only{display:none}.tv main{min-height:0;flex:1;overflow:hidden}.tv .masthead{padding-bottom:.8em}.tv .wordmark{font-size:3.6em}.tv .header-stats strong{font-size:2.6em}.tv .subtitle{font-size:1.1em}.tv .section-title h1{font-size:2.6em}.tv .section-title p{font-size:1em}.tv .eyebrow,.tv .connection-status,.tv .source-line{font-size:.9em}.tv .stage{font-size:1em}.tv .date-label{font-size:.8em}.tv .result-table{flex:1;height:100%}.tv .result-table td,.tv .result-table th{padding:.2em .6em}.tv .result-table .pct{font-size:2.7em;width:9em;width:13%}.tv .result-table .delta{font-size:1.5em;width:10%}.tv .party-button{font-size:2.4em}.tv .result-table th:first-child{width:7%}.tv .result-table .party-name{width:20%;font-size:1.15em}.tv .bar{height:2em}.tv .comparison .bar{height:.7em}.tv .comparison .pct{font-size:2em;width:12%}.tv .comparison .previous-pct{font-size:1.6em;width:12%}.tv .comparison .seat-compare{font-size:1.4em;width:15%}.tv .result-table thead th{font-size:.9em}.tv .seats-table .pct{font-size:2.7em}.tv .seats-table .party-name{font-size:.9em;width:auto}.tv .stat-number{font-size:8.5em}.tv .stat-caption{font-size:1.4em}.tv .stat-frame{padding:2em}.tv .block h2{font-size:2em}.tv .block-total strong{font-size:6.5em}.tv .block-bar{height:3em}.tv .hemi{max-height:100%}.tv .ticker{overflow:hidden;font-size:1em}.tv .ticker button{pointer-events:none}.tv .source-line{font-size:.75em}.tv .movement{padding:1em}.tv .movement strong{font-size:3.3em}.tv .movement .party-button{font-size:3em}.tv .two-column{gap:2.5em}.tv .tv-controls{display:flex;position:fixed;right:1rem;bottom:1rem;gap:1rem;align-items:center;background:#f2f2f3;box-shadow:0 2px 12px #0002;padding:.75rem;opacity:0;transition:opacity .2s;font-size:16px}.tv .tv-controls:hover,.tv .tv-controls:focus-within{opacity:1}.tv-controls button{border:1px solid var(--line);padding:.5rem;background:transparent}.tv .note{font-size:.9em}
@keyframes appear{from{opacity:0}to{opacity:1}}@keyframes highlight{0%,35%{background:#d6ebff}100%{background:transparent}}
@media(min-width:1800px){.interactive main{min-height:650px}.interactive .result-table td{padding:1rem .8rem}}
@media(max-width:1100px){.shell{padding:1.5rem;gap:1rem}.header-stats{gap:1.5rem}.result-table .party-name{width:10rem;font-size:.95rem}.two-column{gap:1.5rem}.stat-number{font-size:6rem}.movement{grid-template-columns:3rem 1fr auto;padding:1rem;gap:.5rem}.movement strong{font-size:2.5rem}.block h2{font-size:1.8rem}.section-title h1{font-size:2.2rem}.view-nav{gap:1.25rem}}
@media(max-width:740px){.interactive .shell{padding:1rem;gap:1rem}.interactive .masthead{align-items:flex-start;flex-wrap:wrap}.interactive .wordmark{font-size:2.8rem}.interactive .subtitle{font-size:.9rem;gap:.5rem}.interactive .stage{font-size:.875rem}.interactive .header-stats{width:100%;justify-content:space-between;text-align:left}.interactive .header-stats strong{font-size:2rem}.interactive .header-stats>div:last-child{align-items:flex-end}.interactive .filters{gap:.75rem}.interactive .filters label{flex:1;min-width:calc(50% - .75rem)}.interactive .filters .area-control{flex-basis:100%}.interactive select{width:100%;min-width:0}.interactive .tv-link{margin-left:auto}.interactive main{min-height:400px}.interactive .section-title{gap:.7rem}.interactive .section-title h1{font-size:2.1rem}.interactive .section-title p{font-size:.9rem}.interactive .result-table .party-name{display:none}.interactive .result-table th:first-child{width:3.5rem}.interactive .result-table .pct{width:5rem;font-size:2rem}.interactive .result-table .delta{width:4.5rem;font-size:1.2rem}.interactive .result-table th,.interactive .result-table td{padding:.8rem .2rem}.interactive .party-button{font-size:1.75rem}.interactive .bar{height:1.5rem}.interactive .comparison .bar-column{display:none}.interactive .comparison .previous-pct{width:5rem;font-size:1.2rem}.interactive .comparison .pct{width:5rem;font-size:1.6rem}.interactive .comparison .delta{width:5rem}.interactive .comparison .seat-compare{width:5rem;font-size:1.1rem}.interactive .result-table thead th{letter-spacing:0;font-size:.8rem}.interactive .two-column,.interactive .two-column.equal{grid-template-columns:1fr;gap:1.5rem}.interactive .stat-frame{min-height:350px}.interactive .stat-number{font-size:6rem}.interactive .frame{padding:1.4rem}.interactive .block{grid-template-columns:1fr;gap:1rem}.interactive .block-total{grid-column:1;grid-row:auto;text-align:left}.interactive .block-total strong{font-size:4.5rem}.interactive .block-bar{grid-row:2}.interactive .movement-column{min-height:320px}.interactive .movement{grid-template-columns:3rem 1fr auto}.interactive .ticker-footer{grid-template-columns:1fr auto;gap:.75rem}.interactive .ticker{grid-row:2;grid-column:1/3}.interactive .source-line{font-size:.875rem;line-height:1.5}.interactive .history-item{grid-template-columns:1fr auto;gap:.75rem}.interactive .history-item time{grid-column:1/3;font-size:.9rem}.interactive .history-item .arrow{grid-column:2;grid-row:2}.interactive .legend{gap:1rem;font-size:.875rem}.interactive .countdown .stat-number{font-size:4rem}.detail-grid{gap:1rem}dialog{padding:1.5rem}.change-table{font-size:.9rem}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-width:740px){.interactive .comparison th:first-child{width:14%}.interactive .comparison .previous-pct,.interactive .comparison .pct,.interactive .comparison .delta,.interactive .comparison .seat-compare{width:21.5%}.interactive .stat-number{font-size:clamp(3.5rem,16vw,6rem)}.interactive .movement{grid-template-columns:3rem minmax(0,1fr) auto}.interactive .movement p{overflow-wrap:anywhere}.interactive .movement strong{font-size:clamp(1.8rem,7vw,2.5rem)}}
.result-table .party-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.party-button{max-width:100%;overflow-wrap:anywhere}
@media(max-height:800px) and (min-width:1000px){.tv .shell{padding:1.2em 2em .8em;gap:.6em}.tv .wordmark{font-size:3em}.tv .section-title h1{font-size:2em}.tv .result-table .pct{font-size:2.2em}.tv .party-button{font-size:2em}.tv .result-table td,.tv .result-table th{padding:.12em .5em}.tv .view{gap:.7em}.tv .stat-number{font-size:6.5em}.tv .stat-frame{padding:1.5em;gap:1em}.tv .ticker-footer{min-height:3em;padding-top:.6em}.tv .block-total strong{font-size:5em}.tv .frame{padding:1.3em}.tv .block-list{gap:1em}.tv .movement strong{font-size:2.8em}}
/* The default entrance stays separate from explicitly opened rehearsal data. */
.waiting .filters,.waiting .view-nav,.waiting .header-stats,.waiting .ticker-footer{display:none}
.waiting main{display:flex;min-height:0;align-items:center}.waiting-view{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,5vw,6rem);width:100%;padding:clamp(2rem,7vh,6rem) 0;align-items:center}.waiting-copy h1{font:600 clamp(2.8rem,4.6vw,5.7rem)/1.02 var(--display);letter-spacing:-.015em;margin:1.3rem 0 1.5rem}.waiting-copy>p{font-size:1.15rem;line-height:1.65;color:var(--muted);max-width:31rem}.waiting-actions{display:flex;align-items:flex-start;flex-direction:column;gap:.9rem;margin-top:2rem}.waiting-actions .action-button{padding:1rem 1.5rem;font-size:1.05rem;min-height:48px}.waiting-actions button span{margin-left:1.5rem}.waiting-actions>span{font-size:.9rem;color:var(--muted)}.waiting-clock{padding:clamp(1.25rem,3vw,3rem);min-width:0}.waiting-clock h2{font:600 clamp(1.8rem,2.5vw,3.2rem)/1.1 var(--display);margin:.7rem 0 2rem}.countdown-units{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(.4rem,1vw,1rem);margin:2rem 0;text-align:center}.countdown-units>div{border-top:1px solid var(--line);padding:1rem 0}.countdown-units strong{display:block;font:600 clamp(2.5rem,5.2vw,6.5rem)/1 var(--display);font-variant-numeric:tabular-nums;color:var(--accent)}.countdown-units span{display:block;font-size:.85rem;margin-top:.8rem;color:var(--muted)}#launch-message{font-size:1.05rem;line-height:1.6;margin:0 0 1rem}.rehearsal-tools{display:flex;gap:1rem;align-items:center;flex-wrap:wrap;font-size:.9rem;color:#825315}.rehearsal-tools button{border:1px solid var(--line);background:transparent;padding:.65rem .9rem;min-height:44px;color:var(--accent)}
@media(max-width:850px){.interactive .waiting-view{grid-template-columns:1fr;padding:1.5rem 0;gap:2rem}.interactive .waiting-copy h1{font-size:clamp(2.5rem,8vw,4rem)}.interactive .waiting-copy>p{font-size:1rem}.interactive .waiting-clock{padding:1.3rem}.interactive .countdown-units strong{font-size:clamp(2.4rem,11vw,4.5rem)}.interactive .waiting-clock h2{font-size:2rem}.interactive .countdown-units span{font-size:.8rem}.interactive .waiting-actions{margin-top:1.5rem}}
.tv.waiting .waiting-view{padding:1em 0}.tv.waiting .waiting-copy h1{font-size:4em}.tv.waiting .waiting-copy>p,.tv.waiting #launch-message{font-size:1.2em}.tv.waiting .waiting-clock h2{font-size:2.5em}.tv.waiting .countdown-units strong{font-size:5em}.tv.waiting .countdown-units span{font-size:1em}.tv .rehearsal-tools{font-size:.85em}
