.public-header .brand small { text-transform: none; }
.public-header { border-bottom: 1px solid #1d2a40; box-shadow: 0 12px 40px rgb(0 0 0 / 18%); }
.remember-preferences { align-items: center; color: #c6d1df; cursor: pointer; display: inline-flex; font-size: 9px; gap: 5px; white-space: nowrap; }
.remember-preferences input { accent-color: var(--brand); height: 14px; margin: 0; width: 14px; }
.ballot-picker-toggle, .ballot-picker-tools input, .ballot-picker-tools select, .vote-legend button { background: #0f192a; border-color: var(--line); color: var(--ink); }
.vote-legend button:hover, .vote-legend button:focus-visible { border-color: #72829a; }
.vote-tile { box-shadow: 0 0 0 1px #0d1626; }
.vote-tile:hover, .vote-tile:focus-visible, .vote-tile.selected { box-shadow: 0 0 0 2px #fff; }
.member-avatar { background: #26364e; color: #dfe7f2; }
.official-comment p:last-child, .case-panel > p, .method-band p { color: #c1cbd8; }
.vote-filters button { background: #1d2b41; border-color: #3a4c67; color: #dce4ef; }
.vote-filters button:hover, .vote-filters button:focus-visible { border-color: #70819a; }
.vote-filters button.is-active { background: var(--brand); border-color: var(--brand); color: #071513; }
.member-row, .position-member { border-color: #2a3a51; }
.cohesion-row.has-dissent { background: #2a2418; }
.cohesion-bar { background: #29384e; }
.position-group { background: #111b2d; border-color: var(--line); }
.method-band { border-top: 1px solid var(--line); display: grid; gap: 20px; grid-template-columns: minmax(220px, .7fr) minmax(0, 1fr) minmax(0, 1fr); margin-top: 28px; padding: 28px 4px 10px; }
.method-band p { font-size: 12px; line-height: 1.6; margin: 0; }
.method-band a { color: var(--brand); }
.release-coverage, .editorial-coverage { align-items: start; border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); display: grid; gap: 24px; grid-template-columns: minmax(220px, .7fr) minmax(0, 1.5fr); margin-top: 28px; padding: 24px 4px; }
.release-coverage h2, .editorial-coverage h3 { margin: 3px 0 8px; }
.release-coverage p, .editorial-coverage p { color: var(--muted); font-size: 12px; line-height: 1.55; margin: 0; }
.release-coverage dl, .editorial-coverage dl { display: grid; gap: 1px; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.release-coverage dl div, .editorial-coverage dl div { background: var(--surface); border: 1px solid var(--line); min-height: 86px; padding: 13px; }
.release-coverage dt, .editorial-coverage dt { color: var(--ink); font-size: 24px; font-weight: 800; }
.release-coverage dd, .editorial-coverage dd { color: var(--muted); font-size: 11px; line-height: 1.4; margin: 4px 0 0; }
.editorial-coverage { border-color: #c84d5f; margin: 16px 0 22px; }
.editorial-coverage dl { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.scope-limitation { margin-top: 8px !important; }
.scope-declaration { align-items: start; border-bottom: 1px solid var(--line); display: grid; gap: 28px; grid-template-columns: minmax(230px, .65fr) minmax(0, 1.6fr); padding: 25px 4px; }
.scope-declaration > div > p:last-child { color: var(--muted); font-size: 12px; line-height: 1.55; margin: 9px 0 0; }
.scope-declaration dl { display: grid; gap: 0 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.scope-declaration dl div { border-top: 1px solid var(--line); padding: 11px 0 13px; }
.scope-declaration dt { color: var(--ink); font-size: 11px; font-weight: 800; }
.scope-declaration dd { color: var(--muted); font-size: 10px; line-height: 1.55; margin: 5px 0 0; }
footer { align-items: center; background: var(--brand-dark); color: #c7d6d2; display: flex; font-size: 11px; gap: 24px; justify-content: center; margin-top: 34px; min-height: 74px; padding: 18px 24px; }
footer strong { color: #fff; font-size: 15px; }
.public-dashboard, .politician-index { border-top: 1px solid var(--line); margin-top: 34px; padding-top: 28px; }
.candidate-gateway { align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: 7px; display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr); margin-top: 34px; padding: 24px; }
.candidate-gateway > div > p:last-child { color: var(--muted); font-size: 13px; line-height: 1.6; margin: 12px 0 0; max-width: 720px; }
.candidate-gateway nav { display: grid; gap: 1px; }
.gateway-link { align-items: center; border-bottom: 1px solid var(--line); color: var(--ink); display: flex; justify-content: space-between; padding: 13px 4px; text-decoration: none; }
.gateway-link:first-child { border-top: 1px solid var(--line); }
.gateway-link span, .gateway-link strong, .gateway-link small { display: block; }
.gateway-link small { color: var(--muted); font-size: 10px; margin-top: 3px; }
.gateway-link b { color: var(--brand); font-size: 20px; }
.gateway-link:hover strong, .gateway-link:focus-visible strong { color: var(--brand); }
.candidate-page { max-width: 1460px; }
.candidate-intro { align-items: end; border-bottom: 1px solid var(--line); display: flex; gap: 30px; justify-content: space-between; padding: 22px 4px 30px; }
.candidate-intro h1 { font-size: 36px; }
.candidate-intro > div > p:last-child { color: var(--muted); line-height: 1.55; margin: 12px 0 0; max-width: 720px; }
.candidate-intro nav { flex: 0 0 auto; }
.candidate-intro nav a { border: 1px solid var(--line); border-radius: 5px; color: var(--ink); font-size: 12px; font-weight: 700; padding: 10px 13px; }
.candidate-intro nav a:hover { border-color: var(--brand); color: var(--brand); }
.public-section-heading { align-items: end; display: flex; justify-content: space-between; }
.protocol-metrics { display: grid; gap: 9px; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 17px 0 24px; }
.protocol-metrics div { background: var(--surface); border-left: 4px solid var(--brand); padding: 14px; }
.protocol-metrics strong, .protocol-metrics span { display: block; }
.protocol-metrics strong { font-size: 24px; }
.protocol-metrics span { color: var(--muted); font-size: 10px; margin-top: 3px; }
.ranking-grid { display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ranking-grid > section { background: var(--surface); border: 1px solid var(--line); border-radius: 7px; min-width: 0; padding: 15px; }
.ranking-heading { align-items: baseline; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; padding-bottom: 10px; }
.ranking-heading span { color: var(--muted); font-size: 9px; }
.ranking-list { list-style: none; margin: 0; padding: 0; }
.ranking-list li { border-bottom: 1px solid #2a3a51; }
.ranking-list button { align-items: center; background: transparent; border: 0; color: var(--ink); cursor: pointer; display: grid; gap: 9px; grid-template-columns: 22px minmax(0, 1fr) auto; padding: 9px 3px; text-align: left; width: 100%; }
.ranking-list a { align-items: center; color: var(--ink); display: grid; gap: 9px; grid-template-columns: 22px minmax(0, 1fr) auto; padding: 9px 3px; text-decoration: none; }
.ranking-list button:hover, .ranking-list a:hover { background: var(--surface-soft); }
.ranking-list strong, .ranking-list small { display: block; }
.ranking-list strong { font-size: 11px; }
.ranking-list small { color: var(--muted); font-size: 9px; margin-top: 2px; }
.ranking-list b { font-size: 13px; }
.ranking-number { color: var(--gold); font-size: 10px; font-weight: 700; text-align: center; }
.absence-hall { background: var(--surface); border: 1px solid var(--line); border-radius: 7px; margin-top: 12px; padding: 15px; }
.absence-hall > .ranking-heading { align-items: end; }
.absence-hall > .ranking-heading > span { max-width: 650px; text-align: right; }
.party-switcher-hall { background: var(--surface); border: 1px solid var(--line); border-radius: 7px; margin-top: 12px; padding: 15px; }
.party-switcher-hall > .ranking-heading { align-items: end; }
.party-switcher-hall > .ranking-heading > span { max-width: 650px; text-align: right; }
.absence-role-filters { align-items: center; border: 0; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 7px 14px; margin: 12px 0 0; padding: 0 0 12px; }
.absence-role-filters legend { color: var(--muted); float: left; font-size: 9px; margin-right: 8px; padding: 5px 0; }
.absence-role-filters label { align-items: center; color: var(--ink); cursor: pointer; display: inline-flex; font-size: 9px; gap: 5px; }
.absence-role-filters input { accent-color: var(--brand); height: 14px; margin: 0; width: 14px; }
.absence-role-filters .career-role-filter { border-right: 1px solid var(--line); font-weight: 800; margin-right: 3px; padding-right: 14px; }
.absence-role-filters .realm-role-filter { border-right: 1px solid var(--line); font-weight: 800; margin-right: 3px; padding-right: 14px; }
.absence-comparison { display: grid; gap: 22px; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-top: 14px; }
.absence-comparison > section { min-width: 0; }
.absence-comparison > section + section { border-left: 1px solid var(--line); padding-left: 20px; }
.absence-comparison h3 { font-size: 13px; }
.golden-hall { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 7px; margin-top: 12px; padding: 15px; }
.golden-hall > .ranking-heading { align-items: end; }
.golden-hall > .ranking-heading > span { max-width: 650px; text-align: right; }
.golden-ranking { display: grid; gap: 0 22px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 10px; }
.golden-ranking b { color: var(--gold); white-space: nowrap; }
.role-badge { background: #273952; border: 1px solid #455a76; border-radius: 3px; color: #dbe6f2; display: inline-block; font-size: 8px; margin: 2px 3px 0 0; padding: 2px 4px; }
.role-badge.is-former { background: transparent; border-style: dashed; color: var(--muted); }
.realm-community-badge { background: #24443f; border: 1px solid #46756d; border-radius: 3px; color: #bfe8df; display: inline-block; font-size: 8px; font-weight: 700; margin: 2px 3px 0 0; padding: 2px 4px; }
.ranking-context { color: var(--muted); display: block; font-size: 8px; margin-top: 4px; }
.former-party-inline { color: var(--muted); font-size: 8px; font-weight: 600; margin-left: 4px; }
.party-switcher-ranking { display: grid; gap: 7px; list-style: none; margin: 13px 0 0; padding: 0; }
.party-switcher-ranking button, .party-switcher-ranking > li > a { align-items: start; background: var(--surface-soft); border: 1px solid var(--line); color: var(--ink); cursor: pointer; display: grid; gap: 10px; grid-template-columns: 28px minmax(170px, .42fr) minmax(0, 1fr) auto; padding: 10px; text-align: left; text-decoration: none; width: 100%; }
.party-switcher-ranking button:hover, .party-switcher-ranking > li > a:hover { border-color: var(--brand); }
.party-switcher-name strong, .party-switcher-name small { display: block; }
.party-switcher-name strong { font-size: 11px; }
.party-switcher-name small { color: var(--muted); font-size: 8px; margin-top: 3px; }
.party-timeline { display: flex; flex-wrap: wrap; gap: 5px; }
.party-period { background: var(--surface); border-left: 3px solid var(--brand); font-size: 8px; line-height: 1.35; padding: 5px 7px; }
.party-period.is-independent { border-left-color: var(--muted); border-left-style: dashed; color: var(--muted); }
.party-period b, .party-period span { display: block; }
.party-period span { color: var(--muted); margin-top: 2px; }
.party-switch-count { font-size: 11px; text-align: right; white-space: nowrap; }
.party-history-profile .party-timeline { margin-top: 10px; }
.legal-record-badge { background: #542832; border: 1px solid #9b5360; border-radius: 3px; color: #ffe5e9; display: inline-block; font-size: 8px; font-weight: 700; margin: 3px 3px 0 0; padding: 3px 5px; }
.legal-record-badge b { color: #ffbbc4; margin-right: 3px; }
.history-record-badge { background: #2d301f; border: 1px solid #77733d; border-radius: 3px; color: #f3e9a3; display: inline-block; font-size: 8px; font-weight: 700; margin: 3px 3px 0 0; padding: 3px 5px; }
.politician-controls { align-items: end; display: grid; gap: 10px; grid-template-columns: minmax(260px, 1fr) repeat(3, minmax(155px, 190px)); margin: 17px 0 12px; }
.politician-controls label span { color: var(--muted); display: block; font-size: 10px; margin-bottom: 5px; }
.politician-controls input, .politician-controls select { background: #0f192a; border: 1px solid var(--line); border-radius: 5px; color: var(--ink); height: 40px; padding: 0 10px; width: 100%; }
.politician-gallery { display: grid; gap: 7px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.politician-empty { border: 1px dashed var(--line); color: var(--muted); grid-column: 1 / -1; margin: 0; padding: 28px; text-align: center; }
.politician-card { align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; color: var(--ink); cursor: pointer; display: grid; gap: 10px; grid-template-columns: 48px minmax(0, 1fr) auto; min-height: 70px; padding: 9px; text-align: left; }
.politician-card:hover { border-color: #667a96; background: var(--surface-soft); }
.politician-card.is-historical { border-left: 3px solid #74849b; }
.historical-profile-label { color: #a9b6c8; display: block; font-size: 8px; margin-top: 4px; }
.profile-topic-badges { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 5px; }
.profile-topic-badge { background: var(--surface-soft); border: 1px solid var(--line); color: var(--muted); font-size: 8px; font-weight: 700; padding: 3px 5px; }
.profile-topic-badge.is-conviction { border-color: #b63c3c; color: #dc7474; }
.profile-topic-badge.is-reprimand { border-color: #bd8514; color: var(--gold); }
.profile-topic-badge.is-withdrawn { border-style: dashed; }
.profile-topic-badge.is-statement { border-color: #377d73; color: #62b7a8; }
.profile-topic-badge.is-dynasty { border-color: #956e2d; color: var(--gold); }
.historical-card-stats { grid-template-columns: auto auto; }
.politician-portrait, .profile-portrait { align-items: center; background: #26364e; display: flex; font-size: 12px; font-weight: 700; justify-content: center; overflow: hidden; position: relative; }
.politician-portrait { border-radius: 4px; height: 48px; width: 48px; }
.politician-portrait img, .profile-portrait img { inset: 0; height: 100%; object-fit: cover; position: absolute; width: 100%; }
.politician-card-copy strong, .politician-card-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.politician-card-copy strong { font-size: 11px; }
.politician-card-copy small { color: var(--muted); font-size: 9px; margin-top: 3px; }
.politician-card-stats { display: grid; gap: 1px 6px; grid-template-columns: auto auto; text-align: right; }
.politician-card-stats b { font-size: 11px; }
.politician-card-stats small { color: var(--muted); font-size: 8px; }
.politician-profile-panel { background: var(--surface); border: 1px solid var(--line); margin-top: 18px; padding: 24px; }
.politician-profile-panel[hidden] { display: none; }
.profile-back { background: transparent; border: 0; color: var(--brand); cursor: pointer; font-size: 11px; font-weight: 800; margin: -4px 0 20px; padding: 8px 0; }
.profile-back:hover { color: var(--ink); }
.politician-index.is-profile-open .politician-controls,
.politician-index.is-profile-open .politician-gallery,
.politician-index.is-profile-open .editorial-coverage,
.politician-index.is-profile-open > .public-section-heading { display: none; }
.polygraph-readout { background: #0a1322; border: 1px solid #31435c; margin: -24px -24px 20px; padding: 13px 24px 7px; }
.polygraph-readout-heading { align-items: baseline; display: flex; gap: 12px; justify-content: space-between; padding-right: 34px; }
.polygraph-readout-heading span { color: var(--brand); font-size: 9px; font-weight: 800; }
.polygraph-readout-heading small { color: var(--muted); font-size: 8px; text-align: right; }
.polygraph-readout canvas { display: block; height: 150px; margin-top: 3px; width: 100%; }
.historical-profile-banner { align-items: baseline; background: #0a1322; border: 1px solid #31435c; display: flex; justify-content: space-between; margin: -24px -24px 20px; padding: 15px 58px 15px 24px; }
.historical-profile-banner span { color: var(--gold); font-size: 9px; font-weight: 800; }
.historical-profile-banner small { color: var(--muted); font-size: 8px; }
.profile-header { align-items: center; display: grid; gap: 16px; grid-template-columns: 92px minmax(0, 1fr); padding-right: 28px; }
.profile-header > div { min-width: 0; }
.profile-header h2 { font-size: 25px; }
.profile-header p:not(.eyebrow) { color: var(--muted); font-size: 12px; margin: 4px 0; }
.profile-portrait { border-radius: 6px; height: 92px; width: 92px; }
.profile-metrics { display: grid; gap: 8px; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 20px 0; }
.profile-metrics div { background: var(--surface-soft); border-top: 3px solid var(--brand); padding: 10px; }
.profile-metrics strong, .profile-metrics span { display: block; }
.profile-metrics strong { font-size: 18px; }
.profile-metrics span { color: var(--muted); font-size: 9px; }
.profile-section { border-top: 1px solid var(--line); padding: 15px 0 4px; }
.profile-section li, .profile-section p { color: #c1cbd8; font-size: 11px; line-height: 1.5; margin-bottom: 7px; }
.profile-section-heading { align-items: end; display: flex; gap: 16px; justify-content: space-between; }
.profile-section-heading > strong { color: var(--gold); font-size: 22px; text-align: right; }
.remuneration-section > p { margin-top: 6px; }
.remuneration-totals { display: grid; gap: 8px; grid-template-columns: 1fr 1fr; margin: 13px 0; }
.remuneration-totals span { background: #111b2d; color: var(--muted); display: block; font-size: 9px; padding: 10px; }
.remuneration-totals b { color: var(--ink); display: block; font-size: 15px; margin-bottom: 3px; }
.mandate-periods { background: var(--surface-soft); border-left: 3px solid var(--brand); margin: 10px 0; padding: 9px 12px; }
.mandate-periods strong { display: block; font-size: 10px; margin-bottom: 5px; }
.mandate-periods ul { display: flex; flex-wrap: wrap; gap: 4px 16px; list-style: none; margin: 0; padding: 0; }
.mandate-periods li { color: var(--muted); font-size: 9px; margin: 0; }
.pension-note { border: 1px solid var(--line); color: var(--muted); padding: 9px; }
.remuneration-section details { border: 1px solid var(--line); border-radius: 5px; margin-top: 10px; }
.remuneration-section summary { cursor: pointer; font-size: 11px; font-weight: 700; padding: 10px; }
.remuneration-table-wrap { overflow-x: auto; }
.remuneration-section table { border-collapse: collapse; font-size: 10px; min-width: 560px; width: 100%; }
.remuneration-section th, .remuneration-section td { border-top: 1px solid var(--line); padding: 8px; text-align: right; }
.remuneration-section th:first-child, .remuneration-section td:first-child { text-align: left; }
.calculation-warning { background: #2a2418; border-left: 3px solid var(--gold); margin-top: 12px; padding: 9px; }
.remuneration-sources a { color: var(--brand); }
.terms-votes { display: grid; gap: 7px; margin: 10px 0; }
.terms-votes a { align-items: center; background: #111b2d; border: 1px solid var(--line); color: var(--ink); display: grid; gap: 10px; grid-template-columns: 58px minmax(0, 1fr); padding: 9px; text-decoration: none; }
.terms-votes a:hover { border-color: #667a96; }
.terms-votes strong, .terms-votes small { display: block; }
.terms-votes strong { font-size: 11px; }
.terms-votes small { color: var(--muted); font-size: 9px; margin-top: 3px; }
.terms-vote-position { background: #273952; border-radius: 3px; font-size: 9px; font-weight: 800; padding: 5px; text-align: center; }
.terms-vote-position.is-for { background: #174f45; color: #c9fff4; }
.terms-vote-position.is-against { background: #612d36; color: #ffe0e4; }
.legal-records-section { border-top-color: #70404a; }
.legal-count { align-items: center; background: #542832; border: 1px solid #9b5360; border-radius: 50%; color: #ffe5e9; display: flex; font-size: 12px; font-weight: 800; height: 30px; justify-content: center; width: 30px; }
.legal-record-list { display: grid; gap: 9px; margin-top: 12px; }
.legal-record-list article { background: #171722; border-left: 4px solid #b25f6d; padding: 12px; }
.legal-record-heading { align-items: baseline; display: flex; gap: 12px; justify-content: space-between; }
.legal-record-heading span { color: #ffbbc4; font-size: 11px; font-weight: 800; }
.legal-record-heading small { color: var(--muted); font-size: 8px; text-align: right; }
.legal-record-list h4 { font-size: 13px; margin-top: 9px; }
.legal-sources { display: grid; gap: 4px; margin-top: 9px; }
.legal-sources a { color: var(--brand); font-size: 9px; }
.legal-review-section { border-left: 4px solid var(--blue); }
.legal-review-section time { color: var(--muted); font-size: 10px; font-weight: 700; }
.legal-review-section > p, .legal-review-section details p { color: var(--muted); font-size: 10px; line-height: 1.55; }
.legal-review-section details { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 9px; }
.legal-review-section summary { color: var(--brand); cursor: pointer; font-size: 10px; font-weight: 700; }
.legal-method-note { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 9px; }
.blue-book-section { border-top-color: #69633a; }
.blue-book-section > .profile-section-heading > span { color: var(--gold); font-size: 10px; font-weight: 700; }
.blue-book-event-list { display: grid; gap: 9px; margin-top: 12px; }
.blue-book-event-list article { background: #171b22; border-left: 4px solid #8a8146; padding: 12px; }
.blue-book-event-list article.is-documented_incident { border-left-color: #607b98; }
.blue-book-event-heading { align-items: center; display: flex; justify-content: space-between; }
.blue-book-event-heading strong { color: var(--gold); font-size: 11px; }
.blue-book-event-heading span { color: var(--muted); font-size: 8px; text-transform: uppercase; }
.blue-book-event-list h4 { font-size: 13px; margin-top: 9px; }
.blue-book-event-list .event-limitation { background: #111722; border: 1px solid var(--line); color: var(--muted); padding: 8px; }
.statements-section { border-top-color: #377d73; }
.statements-section > .profile-section-heading > span { color: #62b7a8; font-size: 10px; font-weight: 700; }
.statement-list { display: grid; gap: 11px; margin-top: 12px; }
.statement-list > article { background: #111b20; border-left: 4px solid #377d73; padding: 14px; }
.statement-list > article.is-contradicted_by_later_action { border-left-color: #c84d5f; }
.statement-list article > header { align-items: baseline; display: flex; gap: 12px; justify-content: space-between; }
.statement-list article > header span { color: #62b7a8; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.statement-list article.is-contradicted_by_later_action > header span { color: #ef8795; }
.statement-list article > header small { color: var(--muted); font-size: 8px; }
.statement-list h4 { font-size: 15px; margin: 10px 0; }
.statement-list blockquote { border-left: 2px solid var(--gold); color: var(--ink); font-size: 13px; font-weight: 700; line-height: 1.55; margin: 12px 0; padding: 3px 0 3px 12px; }
.statement-timeline { counter-reset: statement-step; display: grid; gap: 0; list-style: none; margin: 16px 0; padding: 0; }
.statement-timeline li { display: grid; gap: 12px; grid-template-columns: 112px minmax(0, 1fr); margin: 0; min-height: 62px; position: relative; }
.statement-timeline li::before { background: #377d73; border: 4px solid #111b20; border-radius: 50%; content: ""; height: 9px; left: 103px; position: absolute; top: 3px; width: 9px; z-index: 1; }
.statement-timeline li:not(:last-child)::after { background: #377d73; content: ""; height: 100%; left: 110px; position: absolute; top: 10px; width: 1px; }
.statement-timeline time { color: var(--muted); font-size: 9px; padding-right: 14px; text-align: right; }
.statement-timeline li > div { padding-left: 14px; }
.statement-timeline strong { color: var(--ink); font-size: 11px; }
.statement-timeline p { margin: 3px 0 10px; }
.statement-assessment { background: #1d1820; border: 1px solid #563843; padding: 10px; }
.statement-list details { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 9px; }
.statement-list summary { color: var(--brand); cursor: pointer; font-size: 10px; font-weight: 700; }
.dynasty-section { border-top-color: #956e2d; }
.family-tree { align-items: center; display: grid; gap: 0; justify-items: center; margin: 18px 0 24px; }
.family-generation { display: flex; gap: 12px; justify-content: center; width: 100%; }
.family-member { background: var(--surface-soft); border: 1px solid var(--line); color: var(--ink); cursor: pointer; display: grid; gap: 3px; max-width: 250px; min-height: 92px; padding: 12px; position: relative; text-align: left; width: min(100%, 250px); }
.family-member:hover, .family-member.is-selected { border-color: #956e2d; box-shadow: inset 0 0 0 1px #956e2d; }
.family-member-party { color: var(--gold); font-size: 9px; font-weight: 900; position: absolute; right: 8px; top: 8px; }
.family-member strong { font-size: 12px; padding-right: 24px; }
.family-member small { color: var(--brand); font-size: 8px; font-style: normal; }
.family-member em { color: var(--muted); font-size: 8px; font-style: normal; line-height: 1.35; }
.family-connector { height: 26px; position: relative; width: min(270px, 50%); }
.family-connector::before { background: #956e2d; content: ""; height: 100%; left: 50%; position: absolute; width: 1px; }
.family-connector i { background: #956e2d; bottom: 0; height: 1px; left: 0; position: absolute; right: 0; }
.family-timeline { border-top: 1px solid var(--line); display: grid; gap: 12px; padding-top: 13px; }
.family-timeline-scale { color: var(--muted); display: flex; font-size: 8px; justify-content: space-between; margin-left: 150px; }
.family-timeline-row { display: grid; gap: 5px 12px; grid-template-columns: 138px minmax(0, 1fr); }
.family-timeline-row > button { background: transparent; border: 0; color: var(--ink); cursor: pointer; font-size: 9px; font-weight: 800; overflow: hidden; padding: 0; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.family-track { background: var(--surface-soft); height: 12px; overflow: hidden; position: relative; }
.family-track i { background: #956e2d; height: 100%; min-width: 2px; position: absolute; top: 0; }
.family-track i.is-temporary { background: repeating-linear-gradient(90deg, #956e2d 0 3px, transparent 3px 5px); border: 1px solid #956e2d; box-sizing: border-box; }
.family-timeline-row > small { color: var(--muted); font-size: 7px; grid-column: 2; line-height: 1.35; }
.family-period-details { border-top: 1px solid var(--line); margin-top: 15px; padding-top: 11px; }
.family-period-details summary { color: var(--brand); cursor: pointer; font-size: 10px; font-weight: 800; }
.family-period-details > div { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 12px; }
.family-period-details section { background: var(--surface-soft); padding: 10px; }
.family-period-details section > strong { font-size: 10px; }
.family-period-details ul { margin: 7px 0 0; padding-left: 16px; }
.family-period-details li { font-size: 8px; margin-bottom: 3px; }
.official-profile-link { display: inline-block; font-size: 11px; font-weight: 700; margin-top: 13px; }
:root[data-theme="light"] .public-header { border-bottom-color: var(--line); box-shadow: 0 8px 28px rgb(28 57 48 / 8%); }
:root[data-theme="light"] .remember-preferences { color: #52645f; }
:root[data-theme="light"] .ballot-picker-toggle,
:root[data-theme="light"] .ballot-picker-tools input,
:root[data-theme="light"] .ballot-picker-tools select,
:root[data-theme="light"] .vote-legend button,
:root[data-theme="light"] .politician-controls input,
:root[data-theme="light"] .politician-controls select { background: #fff; border-color: var(--line); color: var(--ink); }
:root[data-theme="light"] .vote-tile { box-shadow: 0 0 0 1px #e1e8e4; }
:root[data-theme="light"] .vote-filters button { background: #edf3f0; border-color: #cbd8d2; color: #38514b; }
:root[data-theme="light"] .vote-filters button.is-active { color: #fff; }
:root[data-theme="light"] .member-row,
:root[data-theme="light"] .position-member,
:root[data-theme="light"] .ranking-list li { border-color: var(--line); }
:root[data-theme="light"] .position-group,
:root[data-theme="light"] .terms-votes a,
:root[data-theme="light"] .remuneration-totals span { background: #f7faf8; }
:root[data-theme="light"] .cohesion-row.has-dissent,
:root[data-theme="light"] .calculation-warning { background: #fff9ea; }
:root[data-theme="light"] .cohesion-bar { background: #e1e8e4; }
:root[data-theme="light"] .profile-section li,
:root[data-theme="light"] .profile-section p,
:root[data-theme="light"] .official-comment p:last-child,
:root[data-theme="light"] .case-panel > p,
:root[data-theme="light"] .method-band p { color: #4d5b56; }
:root[data-theme="light"] .polygraph-readout,
:root[data-theme="light"] .historical-profile-banner { background: #eaf3ef; border-color: #b8cec6; }
:root[data-theme="light"] .polygraph-readout-heading small,
:root[data-theme="light"] .historical-profile-banner small { color: #60706b; }
:root[data-theme="light"] .legal-record-list article { background: #fff5f6; }
:root[data-theme="light"] .blue-book-event-list article { background: #fbfaf3; }
:root[data-theme="light"] .statement-list > article { background: #f4faf8; }
:root[data-theme="light"] .statement-timeline li::before { border-color: #f4faf8; }
:root[data-theme="light"] .statement-assessment { background: #fff5f6; border-color: #e0b2ba; }
:root[data-theme="light"] .blue-book-event-list .event-limitation { background: #f4f6f5; }
:root[data-theme="light"] footer { background: #e6eeea; color: #51615c; }
:root[data-theme="light"] footer strong { color: var(--ink); }
@media (max-width: 760px) { .method-band { grid-template-columns: 1fr; } footer { align-items: flex-start; flex-direction: column; gap: 6px; } }
@media (max-width: 760px) { .release-coverage, .editorial-coverage { grid-template-columns: 1fr; } .release-coverage dl, .editorial-coverage dl { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .scope-declaration { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .ranking-grid, .politician-gallery { grid-template-columns: 1fr 1fr; } .absence-comparison, .golden-ranking { grid-template-columns: 1fr; } .absence-comparison > section + section { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 16px; } }
@media (max-width: 900px) { .candidate-gateway { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .public-section-heading, .profile-section-heading { align-items: flex-start; flex-direction: column; gap: 4px; } .profile-section-heading > strong { text-align: left; } .protocol-metrics, .remuneration-totals { grid-template-columns: 1fr 1fr; } .ranking-grid, .politician-gallery, .politician-controls { grid-template-columns: 1fr; } .absence-hall > .ranking-heading, .golden-hall > .ranking-heading { align-items: flex-start; flex-direction: column; gap: 5px; } .absence-hall > .ranking-heading > span, .golden-hall > .ranking-heading > span { text-align: left; } .profile-metrics { grid-template-columns: 1fr 1fr; } .politician-card { grid-template-columns: 44px minmax(0, 1fr); } .politician-card-stats { grid-column: 2; justify-content: start; text-align: left; } .remember-preferences { align-self: flex-end; } .polygraph-readout { margin: -24px -24px 18px; padding-left: 13px; padding-right: 13px; } .polygraph-readout-heading { align-items: flex-start; box-sizing: border-box; flex-direction: column; gap: 2px; min-width: 0; width: 100%; } .polygraph-readout-heading small { text-align: left; } .profile-header { gap: 10px; grid-template-columns: 64px minmax(0, 1fr); } .profile-header h2 { font-size: 20px; overflow-wrap: anywhere; } .profile-portrait { height: 64px; width: 64px; } }
@media (max-width: 480px) { .statement-timeline li { grid-template-columns: 82px minmax(0, 1fr); } .statement-timeline li::before { left: 73px; } .statement-timeline li:not(:last-child)::after { left: 80px; } }
@media (max-width: 560px) { .politician-profile-panel { padding: 16px; } .family-generation { align-items: stretch; } .family-member { min-height: 102px; padding: 9px; } .family-timeline-scale { margin-left: 0; } .family-timeline-row { grid-template-columns: 1fr; } .family-timeline-row > small { grid-column: 1; } .family-period-details > div { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .party-switcher-hall > .ranking-heading { align-items: flex-start; flex-direction: column; gap: 5px; } .party-switcher-hall > .ranking-heading > span { text-align: left; } .party-switcher-ranking button, .party-switcher-ranking > li > a { grid-template-columns: 28px minmax(0, 1fr) auto; } .party-switcher-ranking .party-timeline { grid-column: 2 / -1; } }
@media (max-width: 640px) { .candidate-gateway { gap: 20px; padding: 18px; } .candidate-intro { align-items: flex-start; flex-direction: column; } .candidate-intro h1 { font-size: 28px; } .candidate-intro nav { width: 100%; } .candidate-intro nav a { flex: 1; text-align: center; } }
