.history-controls{justify-content:space-between;align-items:center;gap:8px;margin-top:8px;display:flex}.history-controls .history-measures{margin-top:0}.history-majority-key{color:var(--muted);align-items:center;gap:5px;font-size:10px;display:flex}.history-majority-key i{border-top:2px dashed #697e6c;width:14px}.history-majority-key[hidden]{display:none}.history-visual{border:1px solid var(--line);background:var(--paper);border-radius:18px;min-width:0;margin:0 0 16px;padding:16px 14px 6px}.history-visual-heading{flex-direction:row;justify-content:space-between;align-items:center;gap:8px;display:flex}.history-visual h2{letter-spacing:-.7px;margin:0 0 4px;font-size:21px}.history-basis{color:var(--muted);font-size:10px}.history-measures{background:#e9eddf;border-radius:10px;gap:2px;width:fit-content;margin-top:10px;padding:2px;display:flex}.history-measures button{min-height:44px;font:inherit;color:var(--muted);white-space:nowrap;background:0 0;border:0;border-radius:7px;padding:8px 14px;font-size:12px}.history-measures button[aria-pressed=true]{background:var(--paper);color:var(--ink);box-shadow:0 1px 4px #18392b15}.history-legend{scrollbar-width:thin;align-items:center;gap:3px;margin:6px -4px 12px;padding:0 4px 3px;display:flex;overflow-x:auto}.history-legend button,.history-legend>span{min-height:44px;font:inherit;color:var(--ink);background:0 0;border:1px solid #0000;border-radius:7px;flex-shrink:0;align-items:center;gap:6px;padding:7px;font-size:10px;line-height:1.4;display:flex}.history-legend button{white-space:nowrap;max-width:150px;overflow:hidden}.history-legend button:hover,.history-legend button[aria-pressed=true]{border-color:var(--line);background:#edf1e5}.history-legend i,.history-party-name i{background:var(--party);border-radius:2px;flex:none;width:8px;height:8px;display:inline-block}.history-flow{--plot-height:170px;height:calc(var(--plot-height) + 44px);grid-template-columns:25px minmax(0,1fr);gap:0;display:grid}.history-scale{height:var(--plot-height);color:var(--muted);flex-direction:column;justify-content:space-between;font-size:9px;display:flex}.history-flow-plot{min-width:0;height:var(--plot-height);position:relative}.history-flow-svg{width:100%;height:100%;display:block;overflow:visible}.history-gridline{stroke:var(--line);stroke-width:1px;vector-effect:non-scaling-stroke}.history-band{fill-opacity:.33}.history-flow-svg [data-trend-line]{transition:opacity .18s}.history-selection{fill:none;stroke:#63816b;stroke-width:2px;vector-effect:non-scaling-stroke}.history-majority-line{stroke:#fff;stroke-width:2px;stroke-dasharray:3 2;vector-effect:non-scaling-stroke}.history-year-targets{touch-action:pan-y pinch-zoom;-webkit-user-select:none;user-select:none;cursor:ew-resize;grid-template-columns:repeat(var(--columns),minmax(0,1fr));display:grid;position:absolute;inset:0 0 -44px}.history-election{cursor:inherit;min-width:0;font:inherit;color:var(--muted);background:0 0;border:0;border-radius:6px;flex-direction:column;justify-content:end;align-items:center;padding:0;display:flex;position:relative}.history-election:focus-visible{outline-offset:4px}.history-year-label{place-items:center;height:44px;font-size:10px;display:grid}.history-election[aria-pressed=true]{color:var(--ink);font-weight:650}.history-gap{color:#97a28b;position:absolute;top:45%}.history-election:hover .history-year-label{text-underline-offset:4px;text-decoration:underline}.history-readouts{border-top:1px solid var(--line);margin:8px 0 4px;padding-top:10px}.history-readout-heading{grid-template-columns:minmax(0,1fr) 64px 84px;align-items:center;gap:12px;margin-bottom:4px;font-size:13px;display:grid}.history-readout-heading>span{color:var(--muted);text-align:right;font-size:10px}.history-seat-total{color:var(--muted);margin:8px 0 0;font-size:10px}.history-party-values{display:grid}.history-party-values>div{border-top:1px solid #d9dfd180;grid-template-columns:minmax(0,1fr) 64px 84px;align-items:center;gap:12px;min-height:38px;padding:7px 0;display:grid}.history-party-name{overflow-wrap:anywhere;align-items:center;gap:7px;font-size:11px;line-height:1.45;display:flex}.history-party-values strong{text-align:right;letter-spacing:-.5px;font-variant-numeric:tabular-nums;font-size:20px;font-weight:550;line-height:1}.history-party-values .change-value,.history-no-change{justify-self:end}.history-no-change{color:var(--muted);font-size:11px}.history-swipe-hint{text-align:center;width:fit-content;color:var(--muted);justify-content:center;align-items:center;gap:4px;margin:4px auto 12px;font-size:10px;line-height:1.4;display:flex}@media (width>=650px),print{.history-swipe-hint{display:none}}.history-metric-panel[hidden],[data-trend-panel][hidden],[data-trend-value][hidden]{display:none!important}@media (width>=650px){.history-visual{padding:22px 24px 10px}.history-visual-heading{flex-direction:row;justify-content:space-between;align-items:center}.history-visual h2{font-size:24px}.history-legend{flex-wrap:wrap;gap:6px;margin:6px 0 16px;overflow:visible}.history-legend button,.history-legend>span{padding:7px 9px;font-size:11px}.history-legend button{max-width:none}.history-flow{--plot-height:240px;grid-template-columns:30px minmax(0,1fr)}.history-year-label{font-size:12px}.history-readouts{margin-top:20px}.history-readout-heading,.history-party-values>div{grid-template-columns:minmax(0,1fr) 100px 110px;gap:24px}.history-party-values strong{font-size:22px}.history-party-name{font-size:13px}.history-readout-heading>span{font-size:11px}.history-party-values>div{min-height:42px}}@media print{.history-measures,.history-source-details{display:none}.history-visual{break-inside:avoid}.history-band{fill-opacity:.45}}.history-legend button>span{text-overflow:ellipsis;min-width:0;overflow:hidden}.history-footer{flex-wrap:wrap;align-items:start;gap:4px 24px;margin-top:12px;display:flex}.history-footer>.history-source-details{flex:210px;min-width:0}.history-footer>.election-history{margin:0 0 8px auto}.history-footer:has(details[open]){flex-direction:column}@media (width<=380px){.history-visual h2{font-size:19px}.history-share{padding-inline:8px}.history-share>span{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.history-share{width:44px}}@media (width<=650px){.compact-result .party-row--long .party-name{grid-area:1/1/auto/-1}.compact-result .party-row--long .party-identity-text abbr{white-space:normal;overflow-wrap:normal}.compact-result .party-row--long .bar-track{grid-area:2/1/auto/3}.compact-result .party-row--long .party-votes{grid-area:2/3}}
