:root{color-scheme:dark;--bg:#05294d;--panel:#0b355d;--panel2:#0e3d69;--line:#2a5277;--text:#f6f8fc;--muted:#b4c9df;--gold:#ffc16a;--red:#e94550;--blue:#3787d9;--gray:#8798aa;--green:#68c85b;--radius:18px;font-family:Poppins,Arial,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-size:14px;line-height:1.6}a{color:var(--gold);text-decoration:none}a:hover{text-decoration:underline}button,input,select{font:inherit}button,select{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--gold);outline-offset:3px}button{border:1px solid var(--line);background:#123f68;color:var(--text);padding:9px 14px;border-radius:9px;font-weight:600}button:hover{background:#1c507d}button.active,button.primary{background:var(--gold);border-color:var(--gold);color:#082c50}button.secondary{background:transparent}button[disabled]{opacity:.4;cursor:not-allowed}.top{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px max(24px,calc((100vw - 1390px)/2));background:linear-gradient(180deg,rgba(5,31,57,.97),rgba(6,36,67,.93));backdrop-filter:blur(14px);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:10;box-shadow:0 8px 24px rgba(0,12,29,.18)}.brand{color:white;display:flex;align-items:center;gap:12px;white-space:nowrap;line-height:1.08}.brand:hover{text-decoration:none}.brand29n{display:block;width:92px;height:48px;object-fit:contain;filter:drop-shadow(0 3px 8px rgba(0,0,0,.18))}.brand-meta b span{color:var(--gold)}.brand-meta b{font-size:15px;letter-spacing:.75px}.brand-meta small{display:block;color:var(--muted);font-size:9px;letter-spacing:1.25px;margin-top:4px}nav{display:flex;gap:4px;flex-wrap:wrap}nav a{color:var(--muted);font-weight:500;padding:9px 12px;border-radius:8px;font-size:12px}nav a.active{background:#123f68;color:var(--gold)}nav a:hover{color:white;text-decoration:none}main{max-width:1390px;margin:auto;padding:34px 32px 60px;min-height:80vh}.hero{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:24px}.eyebrow{font-size:11px;font-weight:700;letter-spacing:1.8px;color:var(--gold);text-transform:uppercase;margin-bottom:8px}h1{font-size:clamp(26px,4vw,43px);letter-spacing:-1.5px;line-height:1.15;margin:0 0 8px;font-weight:700}h2{font-size:20px;margin:0 0 6px;line-height:1.35}h3{font-size:15px;margin:0 0 7px}.muted,.sub{color:var(--muted)}.sub{font-size:13px;margin:0}.tag{border:1px solid #b1844f;color:var(--gold);font-size:11px;padding:6px 10px;border-radius:100px;white-space:nowrap}.card{border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);padding:22px;margin-bottom:18px;min-width:0}.controls{display:flex;gap:20px;flex-wrap:wrap;align-items:end;justify-content:space-between}.control label,.label{display:block;font-size:10px;letter-spacing:1px;font-weight:600;text-transform:uppercase;color:var(--muted);margin-bottom:7px}.seg{display:flex;gap:4px;background:#06294b;padding:4px;border-radius:11px;border:1px solid #234d74;flex-wrap:wrap}.seg button{font-size:12px;border:0;background:transparent;padding:8px 12px}.seg button.active{background:var(--gold);color:#082c50}.metricgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 18px}.metric{padding:18px 20px;background:var(--panel);border:1px solid var(--line);border-radius:15px}.metric small{display:block;color:var(--muted);font-size:11px}.metric strong{font-size:32px;line-height:1.3;letter-spacing:-1px;font-variant-numeric:tabular-nums}.metric .detail{font-size:11px;color:var(--muted)}.charthead{display:flex;justify-content:space-between;align-items:start;gap:12px;margin-bottom:14px}.charthead button{font-size:11px;white-space:nowrap}.legend{display:flex;gap:8px 16px;flex-wrap:wrap;margin:12px 0;color:var(--muted);font-size:11px}.legend button{display:inline-flex;align-items:center;gap:6px;background:none;border:0;padding:2px 0;color:var(--muted);font-size:11px;font-weight:500}.legend button.off{opacity:.35;text-decoration:line-through}.swatch{display:inline-block;width:11px;height:11px;border-radius:3px;flex:none}.legend span.item{display:flex;align-items:center;gap:6px}.svgwrap{overflow-x:auto}.chart{display:block;width:100%;height:auto;overflow:visible}.chart text{font-family:Poppins,Arial,sans-serif;font-variant-numeric:tabular-nums}.chart .hoverable{cursor:help}.chart .hoverable:hover{filter:brightness(1.15)}.chart .hoverable:focus{outline:none;stroke:#fff;stroke-width:2px}.note{font-size:11px;color:var(--muted);border-top:1px solid var(--line);padding-top:12px;margin-top:15px}.note a{font-weight:500}.optionline{display:flex;gap:20px;align-items:center;flex-wrap:wrap;margin-top:16px}.optionline label{font-size:12px;display:flex;align-items:center;gap:8px}.optionline input[type=range]{width:140px;accent-color:var(--gold)}input[type=checkbox]{accent-color:var(--gold);width:16px;height:16px}.analysisgrid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.analysisgrid .card{margin:0}.tabrow{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:20px}.tabrow button{font-size:12px}.profilegrid{display:grid;grid-template-columns:1fr;gap:0}.profilegrid .card{padding:22px}.profilegrid .chart{min-width:540px}.data-table{border-collapse:collapse;width:100%;font-size:12px;font-variant-numeric:tabular-nums}.data-table th{text-align:left;color:var(--muted);font-weight:500;border-bottom:1px solid var(--line);padding:9px 8px}.data-table td{padding:9px 8px;border-bottom:1px solid #234c72}.data-table tr:last-child td{border:0}.data-table td.num{text-align:right}.tablewrap{overflow:auto}.coalitionlayout{display:grid;grid-template-columns:minmax(420px,1.1fr) minmax(350px,.9fr);gap:18px}.coalitionlayout .card{align-self:start}.coalitionlayout .sticky{position:sticky;top:100px}.partyrow{display:grid;grid-template-columns:minmax(110px,1fr) 76px 150px;align-items:center;gap:8px;padding:8px 0;border-bottom:1px solid var(--line)}.partyrow .pname{display:flex;align-items:center;gap:8px;font-weight:500}input[type=number],select,input[type=text]{border:1px solid var(--line);background:#06294b;color:var(--text);border-radius:7px;padding:8px;min-width:0;width:100%}.partyrow select{font-size:12px}.partyrow input{font-variant-numeric:tabular-nums}.status{border:1px solid var(--line);padding:12px;border-radius:10px;display:flex;justify-content:space-between;gap:8px;margin-top:10px}.pass{color:#8ee9a0}.fail{color:#ff9ba3}.warn{color:var(--gold)}.sourcegrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.sourceitem{display:block;padding:15px;background:var(--panel);border:1px solid var(--line);border-radius:12px;color:var(--text)}.sourceitem:hover{background:var(--panel2);text-decoration:none}.sourceitem b{font-size:13px;color:var(--gold);display:block}.sourceitem small{color:var(--muted);font-size:11px}.sourcegroup{margin-bottom:28px}.sourcegroup h2{margin-bottom:12px}.sectionspace{margin-top:26px}.callout{border-left:3px solid var(--gold);background:#123d64;padding:13px 16px;border-radius:6px;margin:12px 0;font-size:12px}.divider{height:1px;background:var(--line);margin:18px 0}.toolbar{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.toolbar button{font-size:12px}.bar-compare{display:flex;height:24px;border-radius:6px;overflow:hidden;margin:8px 0}.bar-compare span{display:flex;align-items:center;justify-content:center;font-weight:600;font-size:11px;min-width:0;overflow:hidden;color:white}.tip{color:var(--muted);font-size:12px}.hidden{display:none!important}footer{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;border-top:1px solid var(--line);padding:18px 32px;color:var(--muted);font-size:10px;max-width:1390px;margin:auto}#tooltip{position:fixed;pointer-events:none;z-index:99;background:#031c34;border:1px solid #527391;box-shadow:0 5px 18px #0005;padding:10px 13px;border-radius:9px;max-width:300px;white-space:pre-line;font-size:12px;color:white}details summary{cursor:pointer;color:var(--gold);font-size:12px;font-weight:600}details p{font-size:12px;color:var(--muted)}@media(min-width:1200px){.profilegrid.dual{grid-template-columns:1fr 1fr;gap:18px}.profilegrid.dual .chart{min-width:470px}}@media(max-width:1000px){.top{position:static;flex-direction:column;align-items:start;gap:12px}nav a{padding:7px 9px}.coalitionlayout{grid-template-columns:1fr}.coalitionlayout .sticky{position:static}.controls{justify-content:start}.analysisgrid{grid-template-columns:1fr}}@media(max-width:600px){main{padding:23px 13px 35px}.top{padding:14px}.hero{align-items:start;flex-direction:column;gap:8px}.card,.profilegrid .card{padding:14px}.metricgrid{gap:7px}.metric{padding:12px 9px}.metric strong{font-size:22px}.metric small,.metric .detail{font-size:10px}.charthead{flex-wrap:wrap}.controls{gap:12px}.svgwrap .chart{min-width:650px}.profilegrid .chart{min-width:560px}.sourcegrid{grid-template-columns:1fr}.partyrow{grid-template-columns:minmax(95px,1fr) 64px 106px}.partyrow select{font-size:11px}h2{font-size:18px}.hero h1{font-size:30px}.optionline{gap:9px}footer{padding:16px}}@media print{.top,footer,.controls,.toolbar,.optionline,.charthead button,.tabrow{display:none}body{background:#fff;color:#000}.card{break-inside:avoid}}
.chartactions{display:flex;gap:6px;flex-wrap:wrap}.present-dialog{background:var(--panel);color:var(--text);width:min(96vw,1500px);height:min(96vh,1000px);max-width:96vw;max-height:96vh;border:1px solid var(--line);border-radius:16px;padding:20px;overflow:auto}.present-dialog::backdrop{background:#001326e8}.present-header{display:flex;justify-content:space-between;align-items:start;gap:15px}.present-chart{display:flex;justify-content:center;align-items:center;min-height:0}.present-chart .chart{width:auto;max-width:100%;max-height:calc(96vh - 190px);height:auto}.present-note{font-size:10px;color:var(--muted)}.present-dialog .legend button[disabled]{opacity:1;cursor:default}.present-dialog .legend button.off{opacity:.35}.chartactions button{padding:7px 10px}.metric strong[style*="#287fd1"]{color:#79b7fa!important}.metric strong[style*="#df3849"]{color:#ff7d87!important}

/* EUMS broadcast refresh — palette extracted from the supplied Posts Templates deck */
:root{--bg:#003366;--panel:#0b3b68;--panel2:#124675;--line:#31608b;--text:#fff;--muted:#c2d9eb;--gold:#EAB00F;--red:#e94352;--blue:#368bd6;--gray:#8295ae;--radius:22px;--ease:cubic-bezier(.2,.75,.2,1);--header:64px}
body{background:var(--bg);line-height:1.45}a{color:#f5c44b}button,nav a,.sourceitem,.partyrow input,.partyrow select{transition:background .2s var(--ease),color .2s var(--ease),border-color .2s var(--ease),box-shadow .2s var(--ease),transform .2s var(--ease)}button:hover{background:#1b507f;transform:translateY(-1px)}button:active{transform:scale(.97)}button.active,button.primary,.seg button.active{background:var(--gold);color:#003366;box-shadow:0 2px 8px #001b3c30}button{border-radius:100px;background:#124575;border-color:#39648b;padding:8px 14px}button.secondary{border-color:#50759a;background:#0d3e6c}.top{height:var(--header);background:#002b57f5;padding:9px max(20px,calc((100vw - 1310px)/2));gap:18px;box-shadow:0 6px 20px #001b3c25;backdrop-filter:blur(16px);border-bottom:1px solid #326189}.brandmark{border:0;background:#EAB00F;color:#003366;padding:5px 9px;border-radius:10px;font-size:27px;letter-spacing:-1px}.brandmark span{color:#003366}.brand b{font-size:15px;font-weight:800}.brand small{font-size:8px;letter-spacing:.8px}.brand b span{color:var(--gold)}nav{gap:5px}nav a{padding:8px 12px;border-radius:999px;font-weight:600;font-size:12px}nav a.active{background:#EAB00F;color:#003366}nav a:hover{background:#154674}nav a.active:hover{background:#f3c34b;color:#003366}
main{max-width:1310px;padding:20px 24px 45px}.hero{margin-bottom:14px;align-items:center;gap:12px}h1{font-size:clamp(26px,3vw,38px);font-weight:800;letter-spacing:-1.4px;text-transform:uppercase;line-height:1.1;margin:0 0 3px}.hero .sub{font-size:12px}.eyebrow{font-size:10px;letter-spacing:1.6px;margin:0 0 5px;color:#EAB00F}.tag{border:1px solid #a78631;background:#EAB00F12;color:#f7cf60;border-radius:999px;font-size:10px;font-weight:600}.card{border-radius:22px;background:var(--panel);border:1px solid #32628d;box-shadow:0 9px 30px #001f451a;padding:18px 22px;margin-bottom:16px}h2{font-size:20px;font-weight:700;letter-spacing:-.45px}h3{font-weight:650}.charthead{margin:0 0 9px;align-items:center}.charthead h2{margin:0 0 3px}.charthead .sub{font-size:12px}.chartactions button{font-size:11px;padding:7px 13px}.present-btn span{font-size:15px;margin-right:4px}.history-card{padding:15px 20px 13px}.history-controls{padding:9px 0 8px;border-top:1px solid #2c5982;border-bottom:1px solid #2c5982}.sticky-tools{position:sticky;top:var(--header);z-index:8;background:var(--panel);box-shadow:0 8px 12px -10px #00162f80}.controls{justify-content:flex-start;gap:16px;align-items:end}.control label,.label{font-size:9px;letter-spacing:1.05px;margin-bottom:4px;color:#b8d5ed}.seg{gap:3px;background:#002d59;border:1px solid #315b84;padding:3px;border-radius:999px}.seg button{border-radius:999px;padding:6px 12px;font-size:12px;white-space:nowrap}.seg button:not(.active):hover{background:#1a507e;color:white}.optionline{margin:7px 0 0;gap:15px;min-height:22px}.optionline label{font-size:11px}.optionline input[type=range]{width:115px}.optionline select{padding:3px 6px;border-radius:7px;font-size:11px}.history-summary{display:flex;justify-content:space-between;align-items:center;gap:10px}.poll-gap{font-size:12px;color:var(--gold);font-weight:700;white-space:nowrap}.legend{margin:8px 0 9px;font-size:12px;gap:6px 16px;color:#e0eefb}.legend .swatch,.swatch{border-radius:50%;width:11px;height:11px}.legend button{font-size:12px;color:#dfedf9;border-radius:8px;padding:2px 4px;transition:opacity .2s,background .2s}.legend button:hover{background:#295784;transform:none}.chart{overflow:visible}.chart .hoverable{transition:filter .18s ease,opacity .18s ease,stroke .18s ease;cursor:help}.chart .hoverable:hover{filter:brightness(1.22) saturate(1.08)}.chart .hoverable:focus-visible{stroke:white;stroke-width:2px}.note{border-top:0;font-size:10px;line-height:1.45;padding-top:3px;margin:7px 0 0;color:#b4cde4}.note a{white-space:nowrap}.denominator{display:block;margin-top:3px}.metric{background:#0e4475;border:1px solid #3c6890;border-radius:17px;padding:13px 17px}.metric strong{font-weight:800;font-size:32px}.metric strong[style*="#e94352"]{color:#ff7880!important}.metric strong[style*="#368bd6"]{color:#82c8ff!important}.metric .detail{font-size:11px}.metricgrid{gap:10px}.sectionspace{margin-top:17px}.analysisgrid .card{padding:18px}.bar-compare{border-radius:999px;height:27px}.bar-compare span{transition:width .45s var(--ease)}.profile-tools{border:1px solid #32628d;border-radius:18px;padding:10px 13px;margin:0 0 13px;background:#0b3b68f7;backdrop-filter:blur(12px)}.tabrow{margin:0;gap:5px}.tabrow button{font-size:12px;padding:7px 12px;border:0;background:#134978}.tabrow button.active{background:var(--gold);color:#003366}.profile-source-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:9px}.profile-source-row .label{margin:0;font-size:10px}.source-hint{color:var(--muted);font-size:11px;margin-left:auto}.profilegrid .card{padding:18px 22px}.profilegrid .chart{min-width:0}.data-table tr{transition:background .15s}.data-table tbody tr:hover{background:#194b77}.data-table td{border-color:#2c5982}.coalitionlayout .sticky{top:calc(var(--header) + 12px)}.toolbar{margin:0 0 7px}.partyrow{padding:6px 0}.sourceitem{border-radius:16px}.sourceitem:hover{transform:translateY(-2px);border-color:#EAB00F77}#tooltip{background:#002449f5;border:1px solid #69B2CA88;box-shadow:0 7px 25px #00172e66;border-radius:12px;padding:12px 15px;font-size:12px;line-height:1.6}.present-dialog{background:#003366;border:1px solid #69B2CA;box-shadow:0 16px 100px #0009;border-radius:24px}.present-dialog[open]{animation:dialog-in .24s var(--ease)}@keyframes dialog-in{from{opacity:0;transform:scale(.975)}to{opacity:1;transform:scale(1)}}.present-chart .chart{max-height:calc(96vh - 170px)}footer{padding:12px 24px;font-size:10px}.history-card #history-chart .chart{max-height:620px}.turnout-summary .metricgrid{margin-bottom:0}.profilegrid .card .svgwrap{margin:0}.profilegrid .card .charthead h2{font-size:22px}
@media(min-width:1001px) and (max-height:900px){main{padding-top:12px}.hero{margin-bottom:9px}.hero h1{font-size:30px}.history-card #history-chart .chart{max-height:calc(100vh - 316px)}.history-card .note{margin-top:3px}}
@media(max-width:1000px){:root{--header:0px}.top{position:static;height:auto;padding:12px 15px;gap:8px;flex-direction:column;align-items:flex-start}.top nav{gap:3px}nav a{padding:7px 8px;font-size:11px}.sticky-tools{top:0}.controls{gap:9px}.history-card #history-chart .chart{max-height:none}.coalitionlayout .sticky{position:static}}
@media(max-width:600px){main{padding:13px 11px 30px}.top{padding:11px}.hero{flex-direction:row;align-items:center;gap:7px}.hero h1{font-size:25px}.hero .tag{display:none}.card,.profilegrid .card{padding:12px;border-radius:17px}.history-card{padding:12px 10px}.controls{gap:9px}.control label{font-size:9px}.seg button{font-size:10px;padding:6px 9px}.optionline{gap:7px}.optionline label{font-size:10px}.optionline input[type=range]{width:90px}.sticky-tools{position:static}.history-summary{align-items:flex-start;gap:5px}.legend{font-size:10px;gap:5px 9px}.poll-gap{font-size:10px}.charthead{flex-wrap:nowrap}.charthead h2,.profilegrid .card .charthead h2{font-size:17px}.charthead .sub{font-size:10px}.chartactions button{font-size:10px;padding:5px 8px}.profile-tools{padding:8px;border-radius:14px}.tabrow button{font-size:10px;padding:6px 9px}.source-hint{display:none}.svgwrap .chart{min-width:640px}.profilegrid .chart{min-width:570px}.metric strong{font-size:24px}.metric{padding:10px}.metric .detail{font-size:10px}.metric small{font-size:10px}.present-chart .chart{min-width:0;max-height:none}.present-dialog{padding:12px}.present-dialog .legend{font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.001ms!important;transition-duration:.001ms!important;scroll-behavior:auto!important}}
/* Keep the newest polling row inside a standard 16:9 broadcast viewport. */
@media(min-width:1001px){main:has(.history-card) .hero{margin-bottom:9px}main:has(.history-card) .hero .eyebrow{display:none}main:has(.history-card) .hero h1{font-size:27px;display:inline;margin-right:12px}main:has(.history-card) .hero .sub{display:inline;font-size:12px}.history-card .charthead{margin-bottom:6px}.history-card .charthead .sub{display:none}.history-controls{padding-top:7px;padding-bottom:6px}.history-card .history-summary .legend{margin:6px 0}.history-card .charthead h2{font-size:19px}}
@media(min-width:1250px){.history-controls{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;column-gap:12px;row-gap:6px}.history-controls .controls{gap:10px}.history-controls .optionline{margin:0;gap:9px}.history-controls .optionline label{font-size:10px}.history-controls .optionline input[type=range]{width:86px}}
@media(min-width:1001px) and (max-height:900px){.history-card #history-chart .chart{max-height:calc(100vh - 258px)}main:has(.history-card){padding-top:11px}}
/* V3 · Livestream refinement */
.history-card:has(#turnout-balance) #history-chart .chart{height:auto;width:auto;max-width:100%;max-height:470px;margin-inline:auto;min-width:0}
.history-card:has(#turnout-balance){margin-bottom:10px;padding-bottom:8px}
.history-card:has(#turnout-balance) .note{font-size:10px;text-align:center;margin-top:0}
.turnout-summary{padding:12px 20px 14px;margin-bottom:12px;text-align:center}
.turnout-summary h2{font-size:18px;margin:0 0 10px}
.turnout-summary .metricgrid{margin:0;gap:8px}
.turnout-summary .metric{background:none;border:0;padding:3px 10px;display:flex;flex-direction:column;align-items:center;gap:2px}
.turnout-summary .metric+.metric{border-left:1px solid #69B2CA40;border-radius:0}
.turnout-summary .metric small{font-size:13px;font-weight:600;color:#e5f0fb}
.turnout-summary .metric strong{font-size:clamp(28px,3.6vw,44px);line-height:1.1;font-weight:800}
.turnout-summary .metric .detail{font-size:12px;color:#abc9e2}
.coalition-tools{padding:11px 14px;margin-bottom:14px;position:sticky;top:calc(var(--header) + 3px);z-index:5;background:#0b3b68f7;backdrop-filter:blur(12px)}
.coal-tools-row,.coal-shortcuts{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.coal-tools-row{justify-content:space-between}
.coal-shortcuts button{font-size:12px;padding:8px 12px}
.coal-shortcuts .bloc-left:not(.active){border-color:#e9435277;color:#ff9ca2}
.coal-shortcuts .bloc-right:not(.active){border-color:#368bd688;color:#a1d2ff}
.coal-source{font-size:11px;color:#b4cde4;align-self:center;white-space:nowrap}
.v3-coal{grid-template-columns:minmax(0,1.14fr) minmax(0,1fr);gap:16px}
.v3-coal .card{padding:18px;min-width:0}
.partytiles{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.party-tile{min-width:0}
.party-select{width:100%;display:flex;align-items:center;gap:9px;padding:9px 10px;min-height:66px;text-align:left;border:1px solid #37658c;background:#0e4475;border-radius:14px;transition:background .2s,border .2s,box-shadow .25s,transform .2s var(--ease)}
.party-select:hover{background:#1a5384;transform:translateY(-2px);border-color:#69B2CA}
.party-select:active{transform:scale(.98)}
.party-select.selected{background:color-mix(in srgb,var(--party) 24%,#0b3b68);border-color:var(--party);box-shadow:inset 3px 0 var(--party),0 0 0 1px color-mix(in srgb,var(--party) 30%,transparent)}
.party-logo{width:38px;height:38px;object-fit:contain;border-radius:9px;flex:0 0 38px;background:#fff;padding:3px;display:inline-grid;place-items:center}
.letter-logo{color:#fff;background:var(--party);font-size:10px;font-weight:800}
.party-info{min-width:0;flex:1;line-height:1.3;display:flex;flex-direction:column;gap:3px}
.party-info b{font-size:12px;overflow-wrap:anywhere}.party-info small{font-size:10px;color:#b8d2e9;font-weight:400}
.party-select>strong{font-size:20px;white-space:nowrap;letter-spacing:-.5px;font-variant-numeric:tabular-nums}
.party-check{width:21px;height:21px;border:1px solid #6790b5;border-radius:50%;display:grid;place-items:center;font-size:14px;flex:none;color:#9abedb;transition:background .2s,color .2s}
.selected .party-check{background:var(--gold);border-color:var(--gold);color:#003366}
.party-edit{display:flex;gap:6px;padding:7px 4px}.party-edit label{font-size:10px;flex:1;color:var(--muted)}.party-edit input{font-size:12px;padding:5px}
.coal-dot{cursor:pointer;transition:opacity .25s ease,fill .25s ease;transform-box:fill-box;transform-origin:center}.coal-dot:hover{opacity:1!important;filter:brightness(1.25);transform:scale(1.25)}
.coal-big{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:12px 0 8px}.coal-big small{display:block;font-size:13px;color:var(--muted)}.coal-big strong{font-size:45px;line-height:1.15;letter-spacing:-1.8px;font-variant-numeric:tabular-nums}.coal-big strong span{font-size:18px;color:var(--muted);font-weight:500;letter-spacing:0}.coal-verdict{border:1px solid #69B2CA55;border-radius:99px;padding:6px 11px;color:#b4cde4;font-size:12px;font-weight:700;white-space:nowrap}.coal-verdict.pass{color:#8ee9a0;border-color:#8ee9a077;background:#2b6f4c33}
.coal-progress{position:relative;height:18px;background:#082e54;border-radius:99px;overflow:visible}.coal-progress div{height:100%;background:var(--gold);border-radius:99px;transition:width .45s var(--ease)}.coal-progress i,.vote-distribution i{position:absolute;height:calc(100% + 10px);top:-5px;border-left:2px dashed var(--gold);filter:drop-shadow(0 0 1px #003366);pointer-events:none}.coal-scale{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);margin-top:5px}.coal-scale b{color:var(--gold)}.coal-detail{font-size:12px;margin:10px 0;color:#d3e5f6}.selected-parties{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px;min-height:36px;align-items:center}.selected-pill{display:flex;align-items:center;gap:6px;font-size:11px;padding:4px 8px;background:#0c4272;border-color:var(--party);border-radius:99px}.selected-pill .party-logo{width:23px;height:23px;flex-basis:23px;border-radius:50%;padding:2px}.coal-source-link{font-size:10px;text-align:right;margin-top:12px}.vote-distribution{display:flex;position:relative;height:62px;margin:38px 0 30px;border-radius:14px;overflow:visible;background:#082e54}.vote-distribution span{height:100%;transition:opacity .25s, width .4s}.vote-distribution span:first-child{border-radius:14px 0 0 14px}.vote-distribution span:last-of-type{border-radius:0 14px 14px 0}.vote-distribution i{border-left-width:3px}.vote-distribution span:hover{opacity:1!important;filter:brightness(1.2)}
@media(min-width:1001px) and (max-height:900px){.history-card:has(#turnout-balance) #history-chart .chart{max-height:clamp(330px,calc(100vh - 410px),470px)}.turnout-summary{padding:9px 18px 10px}.turnout-summary h2{margin-bottom:4px}}
@media(max-width:1000px){.v3-coal{grid-template-columns:1fr}.v3-coal #coal-result{grid-row:1;position:static}.coalition-tools{position:static}.coal-tools-row{justify-content:flex-start}}
@media(max-width:600px){.history-card:has(#turnout-balance) #history-chart .chart{width:100%;height:auto;max-height:none;min-width:0}.turnout-summary{padding:10px 8px}.turnout-summary h2{font-size:14px}.turnout-summary .metric small{font-size:10px}.turnout-summary .metric strong{font-size:26px}.turnout-summary .metric .detail{font-size:10px}.turnout-summary .metric{padding:3px}.v3-coal .card{padding:12px}.partytiles{gap:6px}.party-select{gap:5px;padding:7px 6px;min-height:57px}.party-logo{width:28px;height:28px;flex-basis:28px;border-radius:6px}.party-info b{font-size:10px}.party-info small{font-size:9px}.party-select>strong{font-size:16px}.party-check{width:15px;height:15px;font-size:10px}.coal-big strong{font-size:35px}.coal-big strong span{font-size:14px}.v3-coal #hemicycle{min-width:0}.coal-shortcuts button{padding:6px 9px;font-size:10px}.coal-tools-row{gap:6px}.coalition-tools{padding:9px}.coal-source{font-size:9px}}
.party-logo{background:transparent;padding:1px;object-fit:contain;border-radius:3px}
.party-logo[src$="/ERC.png"],.party-logo[data-logo="ERC"]{background:#f2d05f;padding:4px;border-radius:7px}
.letter-logo{background:#2f6491;border-radius:8px}
.selected-pill .party-logo{background:transparent;border-radius:0;padding:0}
.selected-pill .party-logo[data-logo="ERC"]{background:#f2d05f;border-radius:4px;padding:2px}
@media(min-width:1001px) and (max-height:900px){.history-card:has(#turnout-balance) #history-chart .chart{max-height:clamp(275px,calc(100vh - 465px),435px)}.turnout-summary{padding:8px 18px 10px}.turnout-summary .metric strong{font-size:38px}.turnout-summary .metric small{font-size:12px}}
/* V4 · EUMS identity and polling analysis */
.brandmark{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(to bottom,#c60b1e 0 25%,#ffc400 25% 75%,#c60b1e 75% 100%);color:#063366!important;box-shadow:0 1px 6px #001d3b55;min-width:54px}
.brandmark:before{content:'';position:absolute;width:43px;height:43px;left:-25px;top:0;background:#fff;clip-path:polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 94%,50% 72%,21% 94%,32% 57%,2% 35%,39% 35%);z-index:-1;opacity:.95}
.brandmark .branddigits{color:#063366!important;font-weight:800;letter-spacing:-1.8px;font-size:22px;position:relative;text-shadow:0 0 2px #ffc400}
.eums-logo{width:83px;height:42px;object-fit:contain;flex-shrink:0;margin-inline:auto;}
.top{gap:12px}.top nav{gap:3px}.top nav a{padding-inline:9px}
.party-logo,.party-logo[data-logo],.selected-pill .party-logo,.selected-pill .party-logo[data-logo]{background:var(--party);padding:4px;border-radius:8px;object-fit:contain}.selected-pill .party-logo{padding:2px;border-radius:5px}.coal-dot:hover{transform:none;filter:brightness(1.18)}.coal-dot:focus-visible{outline:none;stroke:#EAB00F;stroke-width:3}.v3-coal #hemicycle{max-height:360px}
.poll-card{padding:15px 20px}.poll-controls{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;margin-bottom:12px;padding:5px 0;background:#0b3b68;position:sticky;top:var(--header);z-index:4}.poll-caption{margin:3px 0;color:#abc9e2;font-size:12px}.poll-legend{display:flex;flex-wrap:wrap;gap:16px;margin:5px 0 8px;font-size:12px;color:#dce7f2}.poll-legend span{display:flex;align-items:center;gap:6px}.poll-legend i{display:inline-block;width:16px;height:10px;border-radius:3px}.poll-legend .dash{height:0;border-top:2px dashed #EAB00F;border-radius:0}.poll-foot{font-size:10px;color:#aac5de;margin-top:8px}.poll-foot a{white-space:nowrap}.poll-card .svgwrap{overflow-x:auto}.poll-card .chart{min-width:680px;max-height:calc(100vh - 230px);width:100%;display:block;margin:auto}
@media(max-width:1000px){.top{flex-wrap:wrap}.eums-logo{margin-left:auto;margin-right:0;width:72px}.top nav{width:100%}.poll-controls{position:static}.poll-card .chart{max-height:none;min-width:680px}}
@media(max-width:600px){.poll-card{padding:10px}.poll-controls .seg{max-width:100%;flex-wrap:wrap}.poll-controls .seg button{font-size:10px;padding:7px 9px}.poll-legend{font-size:10px;gap:8px}.eums-logo{width:64px;height:35px}}
@media(min-width:1001px){.poll-card .chart{width:auto;max-width:100%;min-width:0;height:auto;max-height:calc(100vh - 305px)}main:has(.poll-card) .hero{padding:0;margin-bottom:10px}main:has(.poll-card) .hero h1{font-size:25px}.poll-card .poll-controls{padding:3px 0;margin-bottom:7px}.poll-card .charthead{margin-bottom:3px}}
@media(max-width:1000px){.top{display:grid;grid-template-columns:1fr auto;align-items:center}.top nav{grid-column:1/-1}.eums-logo{justify-self:end}.poll-card .chart{width:100%;min-width:680px}}
/* V5 · Streamlined disclosure and proportionality bars */
.gender-disclosure{margin-top:12px;border-top:1px solid #69b2ca35;padding-top:8px}
.gender-toggle{display:flex;justify-content:space-between;align-items:center;width:100%;padding:10px 14px;border:1px solid #69b2ca40;border-radius:10px;background:#0a3158;color:#fff;text-align:left;font-size:14px;font-weight:600}
.gender-toggle:hover{background:#164974;border-color:#69b2ca99}.gender-toggle small{font-size:11px;color:#a9c6e4;font-weight:400}.gender-toggle .chevron{font-size:23px;line-height:16px;color:var(--gold);transition:transform .32s var(--ease)}.gender-disclosure.open .chevron{transform:rotate(180deg)}
.gender-reveal{display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows .38s var(--ease),opacity .26s ease}.gender-disclosure.open .gender-reveal{grid-template-rows:1fr;opacity:1}.gender-inner{min-height:0;overflow:hidden}.gender-inner .svgwrap{padding-top:8px}
.dual-progress{display:grid;gap:13px;margin:14px 0 6px}.dual-label{display:flex;align-items:center;gap:9px;margin:0 0 7px;font-size:13px}.dual-label b{font-size:13px;letter-spacing:.1px}.dual-label strong{font-size:20px;font-variant-numeric:tabular-nums;margin-left:auto;line-height:1.15}.dual-verdict{font-size:10px;font-weight:600;color:#aac5de;white-space:nowrap;min-width:67px;text-align:right}.dual-verdict.pass{color:#8ee9a0}.dual-track.coal-progress{height:24px;position:relative;background:#082e54;box-shadow:inset 0 0 0 1px #69b2ca30}.dual-track.coal-progress .dual-clip{position:absolute;inset:0;height:100%;width:100%;background:none;border-radius:99px;overflow:hidden;transition:none}.coal-segment{position:absolute;top:0;bottom:0;display:flex;align-items:center;justify-content:center;overflow:hidden;white-space:nowrap;font-size:11px;font-weight:700;color:white;text-shadow:0 1px 2px #001d3b99}.dual-track i{z-index:2}.dual-progress .coal-scale{font-size:10px}.coal-big{margin:6px 0 2px}.coal-big strong{font-size:34px}.coal-detail{margin:8px 0}.selected-parties{margin-top:8px}.v3-coal #hemicycle{max-height:285px}.poll-card .chart{max-height:none}.poll-card .svgwrap{scrollbar-color:#69b2ca #003366}.poll-card .poll-foot{font-size:10px}
@media(min-width:1001px){.poll-card .chart{width:100%;max-width:1100px;height:auto;max-height:none}.poll-controls{z-index:8}.v3-coal #coal-result{top:calc(var(--header) + 10px)}}
@media(max-width:600px){.dual-label strong{font-size:17px}.dual-label b{font-size:12px}.dual-verdict{font-size:9px}.dual-progress{gap:10px}.gender-toggle{font-size:12px}.gender-toggle small{font-size:10px}.coal-big strong{font-size:29px}}
@media(prefers-reduced-motion:reduce){.gender-reveal,.gender-toggle .chevron{transition:none}}

.coal-segment.last{border-radius:0 99px 99px 0}
@media(min-width:1001px){.poll-card .chart{width:auto;max-width:100%;max-height:calc(100vh - 250px)}}

.history-card:has(#turnout-balance) #history-chart .chart{width:100%;max-width:100%;max-height:none;min-width:0}
.history-card:has(#turnout-balance){padding-bottom:10px}
.turnout-summary{padding:14px 22px 16px}
.turnout-summary .metric strong{font-size:clamp(30px,4.2vw,46px)}
.turnout-summary .metric small{font-size:14px}

.coalitionlayout{grid-template-columns:minmax(270px,.72fr) minmax(590px,1.28fr);gap:14px}
.coalitionlayout.v3-coal .card:first-child{padding:16px 16px 18px}
.coalitionlayout.v3-coal .card.sticky{padding:18px 20px 16px}
.partytiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.party-tile{min-width:0}
.party-select{width:100%;display:grid;grid-template-rows:42px auto auto auto;justify-items:center;align-content:start;text-align:center;gap:4px;padding:9px 8px 10px;min-height:118px;border:1px solid #37658c;background:#0e4475;border-radius:16px;transition:background .2s,border .2s,box-shadow .25s,transform .2s var(--ease);position:relative}.party-select:hover{background:#1a5384;transform:translateY(-2px);border-color:#69B2CA}.party-select:active{transform:scale(.985)}.party-select.selected{background:color-mix(in srgb,var(--party) 19%,#0b3b68);border-color:var(--party);box-shadow:0 0 0 1px color-mix(in srgb,var(--party) 25%,transparent), inset 0 -18px 32px rgba(255,255,255,.03)}
.party-logo{width:64px;height:38px;flex-basis:auto;display:block;object-fit:contain;background:var(--party);padding:5px 7px;border-radius:10px}.letter-logo{display:flex;align-items:center;justify-content:center;font-weight:800;font-size:14px;color:#fff}.party-name{font-size:11px;line-height:1.1;font-weight:700;color:#fff;display:block}.party-sub{font-size:10px;color:#b9d6ec;display:block;min-height:14px}.party-main-value{font-size:20px;white-space:nowrap;letter-spacing:-.5px;font-variant-numeric:tabular-nums;font-weight:800;line-height:1}.party-check{position:absolute;top:8px;right:8px;width:18px;height:18px;border-radius:50%;display:grid;place-items:center;background:#073158;border:1px solid rgba(255,255,255,.12);font-size:11px}.party-select.selected .party-check{background:var(--party);color:#fff;border-color:transparent}.party-edit{margin-top:7px;display:grid;grid-template-columns:1fr 1fr;gap:5px}.party-edit label{font-size:10px;color:#a9c6e4}.party-edit input{margin-top:4px;font-size:11px;padding:6px 7px}
.v3-coal #hemicycle{max-height:420px}.coal-big{margin:6px 0 6px}.coal-big strong{font-size:38px}.coal-big strong span{font-size:17px}
.dual-track.coal-progress{height:26px;background:#082e54;box-shadow:inset 0 0 0 1px #69b2ca30;border-radius:6px}.dual-track.coal-progress .dual-clip{border-radius:6px}.coal-segment{border-radius:0}.coal-segment.last{border-radius:0 4px 4px 0}.dual-row:first-child .coal-segment:first-child,.dual-row:last-child .coal-segment:first-child{border-radius:4px 0 0 4px}
.selected-pill{display:flex;align-items:center;gap:6px;font-size:11px;padding:4px 8px;background:#0c4272;border-color:var(--party);border-radius:18px}

@media(max-width:1000px){.eums-logo{height:34px}.brand29n{width:84px;height:42px}.coalitionlayout{grid-template-columns:1fr}.partytiles{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:700px){.partytiles{grid-template-columns:repeat(3,minmax(0,1fr))}.party-select{min-height:104px;padding:7px 6px}.party-logo{width:56px;height:34px}.party-main-value{font-size:16px}.party-name{font-size:10px}.party-sub{font-size:9px}}

/* V7 – broadcast polish and historical atlas */
footer{justify-content:flex-start;align-items:center;gap:12px;color:#b7cfe3} .footer-eums{width:56px;height:26px;object-fit:contain} .hero .sub:empty,.charthead .sub:empty{display:none}
.history-card:has(#turnout-balance) #history-chart .chart{width:auto;height:auto;max-width:100%;max-height:clamp(340px,calc(100vh - 320px),550px);margin:0 auto;min-width:0}
.history-card:has(#turnout-balance) .svgwrap{display:flex;justify-content:center}.turnout-summary{padding:9px 18px 11px}.turnout-summary .metric strong{font-size:clamp(25px,3.2vw,40px)}.turnout-summary h2{margin-bottom:4px}
.seg,.tabrow,.map-year-strip{position:relative;isolation:isolate}.slide-indicator{position:absolute;background:var(--gold);z-index:-1;border-radius:999px;pointer-events:none;box-shadow:0 2px 10px #eab00f26}.tabrow .slide-indicator{border-radius:9px}.seg.has-slider button.active,.tabrow.has-slider button.active,.map-year-strip.has-slider button.active{background:transparent!important;color:#003366!important;box-shadow:none}.seg.has-slider button,.tabrow.has-slider button,.map-year-strip.has-slider button{position:relative}.tabrow.has-slider button.active:hover{background:transparent!important}.seg.has-slider button.active:active{transform:none}.map-year-strip.has-slider button.active{border-color:transparent}
.extra-history{margin-top:16px}.extra-history .card{margin-bottom:16px}.extra-history h2{font-size:21px}.extra-history .charthead{margin-bottom:8px}.gov-controls,.map-controls{display:flex;gap:8px;flex-wrap:wrap;align-items:center;justify-content:space-between}.gov-controls .seg{flex:none}.gov-legend{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin:8px 0;color:var(--muted);font-size:11px}.gov-key{display:inline-flex;align-items:center;gap:6px}.gov-key i{width:13px;height:13px;background:#c9d8e8;border-radius:2px}.gov-key i.yes{background:#7b9ab3;border:1px solid #fff}.gov-key i.abstain{background:repeating-linear-gradient(135deg,#aac6df 0 2px,#2b476a 2px 5px)}.gov-support-label{font-size:11px;color:var(--gold);font-weight:600}.history-extra-chart{width:100%;min-width:0}.gov-note{font-size:10px;color:var(--muted);margin-top:4px}.map-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.map-tile{display:block;text-align:left;background:#07335c;border:1px solid #32628d;border-radius:12px;padding:8px;min-width:0;color:#fff;cursor:pointer;transition:background .2s,border .2s,transform .2s}.map-tile:hover,.map-tile:focus-visible{background:#124772;border-color:var(--gold);transform:translateY(-1px)}.map-tile strong{display:block;text-align:center;font-size:15px;color:#fff}.map-grid svg,.map-single svg{display:block;width:100%;height:auto}.province-shape{stroke:#092e52;stroke-width:.75;stroke-linejoin:round;transition:fill .4s ease,filter .18s;cursor:pointer}.province-shape:hover,.province-shape:focus{stroke:#fff;stroke-width:1.4;filter:brightness(1.18);outline:none}.map-single{max-width:840px;margin:auto}.map-year-strip{display:flex;flex-wrap:wrap;gap:4px;margin:10px 0 13px;background:#07335c;padding:6px;border-radius:12px}.map-year-strip button{padding:5px 9px;border:1px solid transparent;background:transparent;color:#cfdfef;font-size:12px;border-radius:999px}.map-year-strip button.active{background:var(--gold);color:#003366}.map-leg{gap:5px 13px;margin:10px 0 14px}.map-leg .item{font-size:11px}.map-caption{font-size:10px;color:var(--muted);margin-top:8px}.map-grid .province-shape{pointer-events:none}.profilegrid .chart{min-width:0}.profilegrid .svgwrap,.extra-history .svgwrap{overflow-x:auto}.party-select{min-height:104px;grid-template-rows:38px auto auto auto}.party-logo{width:62px;height:35px}.poll-card .poll-foot{display:none}.coal-source-link{display:none}
@media(min-width:1001px) and (max-height:900px){.history-card:has(#turnout-balance) #history-chart .chart{max-height:clamp(295px,calc(100vh - 370px),500px)}}
@media(max-width:1000px){.coalitionlayout.v3-coal{grid-template-columns:1fr}.coalitionlayout .sticky{position:static}.map-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.history-card:has(#turnout-balance) #history-chart .chart{width:100%;max-height:none}.top nav{flex-wrap:wrap}.party-select{min-height:99px}}
@media(max-width:600px){main{max-width:100vw;overflow:clip;padding-inline:10px}.top{gap:8px;padding:9px 10px}.brand29n{width:60px;height:37px}.brand-meta b{font-size:12px}.brand-meta small{font-size:8px}.top nav{gap:3px;justify-content:flex-start}.top nav a{font-size:10px;padding:7px 6px}.profilegrid .chart{min-width:680px}.profilegrid .svgwrap{max-width:100%;overscroll-behavior-x:contain}.history-card #history-chart .chart{min-width:650px;max-height:none}.history-card:has(#turnout-balance) #history-chart .chart{min-width:0;width:100%;max-height:none}.turnout-summary .metric small{font-size:10px}.turnout-summary .metric strong{font-size:25px}.map-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.map-grid .map-tile{padding:4px}.map-grid .map-tile strong{font-size:12px}.extra-history .charthead h2{font-size:17px}.extra-history .history-extra-chart{min-width:620px}.map-year-strip button{font-size:11px;padding:5px 8px}.partytiles{grid-template-columns:repeat(3,minmax(0,1fr))}.party-select{min-height:102px;padding:6px 5px}.party-logo{width:51px;height:34px}.party-name{font-size:10px}.coalitionlayout.v3-coal .card{padding:10px}.coalitionlayout.v3-coal #hemicycle{width:100%;min-width:0}.coal-big{flex-wrap:wrap}.coal-big strong{font-size:28px}.dual-label{gap:5px}.dual-label strong{font-size:17px}.metricgrid{min-width:0}.data-table{font-size:11px}.sourcegrid{grid-template-columns:1fr}.coalition-tools .seg button{font-size:10px}.footer-eums{height:23px;width:48px}}
@media(prefers-reduced-motion:reduce){.province-shape,.map-tile{transition:none}}
/* Final screen-fit pass. Keep both proportionality bars visible beneath the parliament. */
@media(min-width:1001px) and (max-height:950px){.history-card:has(#turnout-balance) #history-chart .chart{max-height:clamp(270px,calc(100vh - 435px),455px)}.turnout-summary{padding:8px 16px}.turnout-summary .metric{padding:1px 6px}.turnout-summary .metric strong{font-size:34px}.v3-coal #hemicycle{max-height:clamp(240px,calc(100vh - 555px),350px)}.v3-coal .party-select{min-height:91px;padding:6px;gap:2px;grid-template-rows:32px auto auto auto}.v3-coal .party-logo{height:31px}.v3-coal .party-main-value{font-size:18px}.v3-coal .party-sub{font-size:9px}.v3-coal .dual-progress{margin-top:9px;gap:9px}.v3-coal .coal-big{margin-top:2px}.v3-coal .coal-big strong{font-size:33px}}
.present-chart #province-map,.present-chart svg:not(.chart){display:block;width:100%;height:auto;max-height:calc(96vh - 150px)}
@media(max-width:600px){.map-single .province-shape{stroke-width:1.1}.map-tile{touch-action:manipulation}.map-year-strip button{min-height:32px}.party-select,.seg button,.tabrow button{touch-action:manipulation}}
/* V7 expanded — broadcast additions */
.bx-route-tabs{display:flex;gap:8px;margin:0 0 12px}.bx-route-tabs a{padding:8px 16px;border-radius:10px;background:#164778;color:#d9eafa;border:1px solid #36628b;font-weight:600;font-size:12px}.bx-route-tabs a.active{background:var(--gold);color:#003366;border-color:var(--gold)}.bx-controls{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:8px 0 12px}.bx-seg{flex-wrap:wrap}.bx-seg button{white-space:nowrap}.bx-inline-legend{display:flex;gap:10px 22px;flex-wrap:wrap;color:#d5e6f5;font-size:12px;margin:10px 0}.bx-inline-legend span{display:inline-flex;align-items:center;gap:6px}.bx-inline-legend i,.bx-dh-totals i,.bx-dh-table th i{width:12px;height:12px;border-radius:3px;background:#c9d8e7;display:inline-block;flex:none}.bx-gold{color:var(--gold)}.bx-foot{display:flex;gap:12px;justify-content:flex-end;align-items:center;flex-wrap:wrap;margin-top:10px;font-size:11px;color:var(--muted)}.bx-source{color:#f3cb5c;font-size:11px}.bx-source:hover{text-decoration:underline}.bx-small{font-size:11px;color:#b5cde2;line-height:1.55;margin-top:8px}.bx-grid2,.bx-grid3{display:grid;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr));margin:12px 0}.bx-grid3{grid-template-columns:repeat(3,minmax(0,1fr))}.bx-explainer p,.bx-pact-notes p{font-size:13px;line-height:1.6;margin:8px 0}.bx-exit-card .svgwrap .chart{max-height:570px;width:100%}.bx-exit-metrics{margin:6px 0}.bx-exit-metrics .metric strong{font-size:clamp(21px,3vw,34px)}.bx-systems-control{padding:9px 14px}.bx-senate-frame{border:0;display:block;width:100%;height:clamp(300px,48vw,650px);background:#00234a;border-radius:13px}.bx-map-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:20px;align-items:center}.bx-map-layout .bx-pact-svg{width:100%;display:block;max-height:510px}.bx-map-legend{font-size:11px}.bx-pact-notes{background:#0a3159;border:1px solid #32628d;border-radius:16px;padding:18px}.bx-rule{border-top:1px solid #32628d;padding:9px 0;display:grid;gap:4px}.bx-rule b{font-size:15px;color:var(--gold)}.bx-rule span{font-size:12px;color:#e1edf7;line-height:1.5}.bx-links{display:flex;gap:12px 24px;flex-wrap:wrap;margin-top:15px}.bx-gender-age .gender-inner{padding:10px 0 0}.bx-gender-age .gender-inner h2{margin:5px 0}.bx-dh-title{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:8px 0}.bx-dh-counter{font-size:36px;font-weight:800;color:var(--gold);white-space:nowrap}.bx-dh-counter small{font-size:14px;color:var(--muted)}.bx-dh-controls{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}.bx-primary{background:var(--gold)!important;color:#003366!important;border-color:var(--gold)!important;font-weight:700}.bx-dh-controls button:disabled{opacity:.4;cursor:not-allowed}.bx-dh-current{font-weight:600;background:#082e54;padding:10px 13px;border-radius:8px;color:#f6d474;min-height:40px;font-size:15px}.bx-seat-strip{display:flex;gap:3px;margin:13px 0}.bx-seat-strip span{flex:1;min-width:0;background:var(--seat-color);border-radius:3px;display:grid;place-items:center;height:26px;color:white;font-size:11px;font-weight:700;transition:background .3s}.bx-seat-strip .new{animation:bx-seat-in .35s cubic-bezier(.2,.8,.2,1)}@keyframes bx-seat-in{from{transform:scaleY(.35);opacity:.4}to{transform:scaleY(1);opacity:1}}.bx-dh-totals{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:12px 0}.bx-dh-totals>div{background:#0b345c;border:1px solid #315d84;border-radius:9px;padding:9px;display:grid;gap:4px}.bx-dh-totals span{font-size:12px;display:flex;align-items:center;gap:5px;overflow-wrap:anywhere}.bx-dh-totals b{font-size:26px;font-weight:800}.bx-dh-totals small{font-size:10px;color:#b6cde2}.bx-table-scroll{overflow-x:auto;max-width:100%;scrollbar-color:#69B2CA #003366}.bx-dh-table{width:100%;border-collapse:separate;border-spacing:4px;font-variant-numeric:tabular-nums;font-size:12px}.bx-dh-table td,.bx-dh-table th{padding:9px;text-align:right;background:#0a3159;border-radius:5px;white-space:nowrap}.bx-dh-table th:first-child{position:sticky;left:0;z-index:1;text-align:left;min-width:100px}.bx-dh-table th i{background:var(--pc);margin-right:6px}.bx-dh-table td.won{background:var(--pc);color:white;font-weight:700}.bx-dh-table td.just-won{box-shadow:inset 0 0 0 2px var(--gold);animation:bx-seat-in .3s}.bx-dh-table td small{display:block;font-size:9px;color:#fff;opacity:.85}.bx-dh-table td.ineligible{color:#7798b7}.bx-dh-table td:last-child{font-size:16px}.bx-senate-animation,.bx-map-layout,.bx-exit-card{min-width:0}.bx-route-tabs a,.bx-dh-controls button{transition:background .2s,transform .2s}.bx-route-tabs a:hover{border-color:var(--gold)}@media(min-width:1001px){.top nav{gap:1px}.top nav a{padding:7px 8px;font-size:11px}.top{gap:13px}}@media(max-width:800px){.bx-map-layout{grid-template-columns:1fr}.bx-senate-frame{height:clamp(240px,67vw,540px)}.bx-pact-notes{padding:12px}.bx-dh-totals{grid-template-columns:repeat(3,minmax(0,1fr))}.bx-exit-card .svgwrap .chart{min-width:650px;max-height:none}.bx-grid3 .metric strong{font-size:24px}}@media(max-width:480px){.bx-grid3,.bx-exit-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.bx-grid3 .metric{padding:7px}.bx-grid3 .metric strong,.bx-exit-metrics .metric strong{font-size:19px}.bx-grid3 .metric small{font-size:9px}.bx-grid3 .metric .detail{font-size:9px}.bx-grid2{grid-template-columns:1fr}.bx-senate-frame{height:270px}.bx-dh-title{align-items:flex-start}.bx-dh-title h2{font-size:16px}.bx-dh-counter{font-size:24px}.bx-dh-counter small{font-size:10px}.bx-dh-current{font-size:12px}.bx-seat-strip{gap:1px}.bx-seat-strip span{height:17px}.bx-dh-totals>div{padding:7px}.bx-dh-totals b{font-size:21px}.bx-map-legend{gap:6px 10px}.bx-route-tabs a{font-size:11px}.bx-foot{justify-content:flex-start}.bx-controls .seg{max-width:100%;overflow:visible}.bx-dh-controls button{font-size:10px;padding:7px 9px}}@media(prefers-reduced-motion:reduce){.bx-seat-strip .new,.bx-dh-table td.just-won{animation:none}.bx-route-tabs a,.bx-seat-strip span{transition:none}}
