@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600;700&family=Instrument+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root{
  --ink:#1a1d1b;
  --muted:#6b6e6a;
  --canvas:#f5f5f4;
  --surface:#fff;
  --line:#e3e2de;
  --green:#2a5443;
  --green-dark:#1f4436;
  --green-soft:#e9ecea;
  --lime:#72c94d;
  --chart-sage:#2a7059;
  --chart-blue:#76bca2;
  --chart-sand:#d3a35c;
  --chart-rose:#c1725f;
  --chart-gray:#a5a7a3;
  --shadow:0 28px 80px -60px rgba(26,29,27,.5);
  color-scheme:light;
}

:where(a:any-link){color:var(--green);text-underline-offset:3px}
:where(a:any-link:hover){color:var(--green-dark)}
html{scroll-behavior:smooth;background:var(--canvas)}
body{background:var(--canvas);color:var(--ink);font-family:'Figtree',system-ui,sans-serif;font-size:15px;line-height:1.6}
.header-inner,main,.footer-inner{width:min(1400px,calc(100% - clamp(32px,6vw,96px)));margin-inline:auto}

.site-header{position:sticky;top:0;z-index:40;border-bottom:1px solid rgba(26,29,27,.08);background:rgba(245,245,244,.86);backdrop-filter:blur(18px) saturate(1.2)}
.header-inner{min-height:70px;gap:32px}
.brand{gap:10px;color:var(--ink)}
.brand-mark{width:34px;height:34px;padding:0;border:0;border-radius:0;background:transparent;color:var(--green);box-shadow:none}
.brand-wordmark{display:flex;gap:0;font-family:'Instrument Sans',system-ui,sans-serif;font-size:21px;line-height:1;letter-spacing:-.045em}
.brand-wordmark strong{font:600 21px/1 'Instrument Sans',system-ui,sans-serif}.brand-wordmark strong+strong{font-weight:400;color:var(--muted)}
.site-header nav{margin-left:auto;align-self:center;gap:4px 6px;font-size:14px}
.site-header nav a{padding:8px 13px;border-radius:999px;color:var(--muted);white-space:nowrap;transition:background .15s,color .15s}
.site-header nav a:hover{color:var(--ink);background:#ececea}
.site-header nav .nav-active{color:var(--canvas);background:var(--ink)}
.site-header nav .nav-active::after{display:none}

h1,h2,h3,.entity-page-head h1,.page-head h1{font-family:'Instrument Sans',system-ui,sans-serif;font-weight:500;letter-spacing:-.04em}
.portal-kicker,.section-label,.eyebrow,.entity-page-head span,.promise-area,.result-line,.party-rating-history small{font-family:'JetBrains Mono',monospace;letter-spacing:.12em;text-transform:uppercase}
.page-head{padding:clamp(56px,7vw,104px) 0 clamp(34px,4vw,56px)}
.page-head h1{max-width:18ch;font-size:clamp(42px,6vw,84px);line-height:.98;letter-spacing:-.055em;text-wrap:balance}
.page-head>p{max-width:760px;margin-top:22px;color:var(--muted);font-size:clamp(16px,1.5vw,19px);line-height:1.65}
.portal-kicker,.section-label{color:var(--muted)!important;font-size:10.5px!important;font-weight:600;letter-spacing:.16em}

.entity-page-head{margin:0;padding:clamp(52px,7vw,96px) 0 clamp(34px,4vw,52px);gap:28px;background:transparent}
.entity-page-icon{width:88px;height:88px;flex-basis:88px;border-radius:50%;font-family:'JetBrains Mono',monospace;font-size:17px;text-shadow:0 1px 2px rgba(0,0,0,.25)}
.entity-page-head h1{margin:9px 0 8px;font-size:clamp(38px,5vw,66px);line-height:1;letter-spacing:-.055em}
.entity-page-head p{font-size:16px}

.profile-box,.portal-card,.search-page,.vote-chamber-panel,.vote-people-panel,.promise-card,.source-card,.election-offer,.coalition-card,.home-explore-card,.candidate-browser-card,.candidate-comparison,.vote-result-pie,.vote-explanation,.vote-party-chart,.chamber-panel,.profiles-panel,.catalogue,.votes-panel{border:0!important;border-radius:24px!important;background:var(--surface);box-shadow:none!important}
.profile-box,.search-page,.vote-chamber-panel,.vote-people-panel,.candidate-comparison,.catalogue,.votes-panel,.chamber-panel,.profiles-panel{padding:clamp(24px,3vw,36px)}
.portal-card,.promise-card,.source-card,.election-offer,.coalition-card,.home-explore-card,.candidate-browser-card{transition:transform .35s cubic-bezier(.16,1,.3,1),box-shadow .35s cubic-bezier(.16,1,.3,1)}
.portal-card:hover,.promise-card:hover,.source-card:hover,.election-offer:hover,.coalition-card:hover,.home-explore-card:hover,.candidate-browser-card:hover{transform:translateY(-4px);box-shadow:0 30px 65px -48px rgba(26,29,27,.55)!important}

input:not([type="checkbox"]):not([type="radio"]),select,textarea{border:1px solid var(--line)!important;border-radius:14px!important;background:#fff!important;color:var(--ink);min-height:48px}
input:focus,select:focus,textarea:focus{border-color:#aeb9b3!important;box-shadow:0 0 0 4px rgba(42,84,67,.08)!important}
button,.dialog-source,.home-primary,.ballot-full-profile{border-radius:999px!important}
.voting-tabs,.profile-tabs,.candidate-chart-mode,.migration-modes{display:inline-flex;padding:4px;border-radius:999px!important;background:var(--green-soft)}
.voting-tabs a,.profile-tabs button,.candidate-chart-mode button,.migration-modes button{border-radius:999px!important}
.voting-tabs a.active,.profile-tabs button.active,.candidate-chart-mode button[aria-pressed=true],.migration-modes button.active{background:var(--ink)!important;color:var(--canvas)!important;box-shadow:none!important}

.tag-line i,.vote-topic-tags i,.topic-chip,.promise-party i,.experience-badge{border-radius:999px!important}
.vote-detail,.candidate-item,.declaration-list>div,.fact{border-color:var(--line)!important}
.vote-detail summary>a,.candidate-item,.page-back-link,.dialog-source,.data-provenance a,.footer-all-sources{transition:color .2s,opacity .2s}
.data-provenance a,.page-back-link,.dialog-source,.footer-all-sources{color:var(--green)}

.vote-overview{gap:clamp(20px,3vw,36px);border:0}
.vote-overview>.vote-explanation,.vote-result-pie,.vote-party-chart{padding:clamp(24px,3vw,36px)!important}
.vote-explanation dl{background:transparent;padding:0;grid-template-columns:1fr 1fr;gap:12px}
.vote-explanation dl>div,.vote-explanation dt+dd{padding:16px 18px;border-radius:16px}
.vote-party-chart{margin-top:clamp(20px,2.5vw,32px);border:0}
.ballot-chart-bar{border-radius:12px!important;background:#f0f0ee}
.ballot-chart-row .ballot-chart-label .ballot-party-icon{font-family:'JetBrains Mono',monospace}

.candidate-browser-grid{gap:16px}.candidate-browser-card{padding:24px 14px}
.candidate-browser-card>i,.promise-party i,.election-offer-logo,.entity-page-icon{box-shadow:none}
.candidate-bars,.party-history-bars{scrollbar-color:#c8cbc8 transparent;scrollbar-width:thin}
.programme-box{border-top:4px solid var(--entity-color,var(--green))!important}
.programme-bullets li{border:0;border-radius:18px;background:var(--canvas)}
.programme-donut::after{background:#fff}

.site-footer{margin-top:clamp(56px,7vw,100px);padding:clamp(42px,5vw,70px) 0;border:0;background:#e5f0eb;color:var(--ink)}
.footer-inner{grid-template-columns:1fr 1.15fr 1fr;gap:clamp(32px,5vw,76px)}
.site-footer h2{margin-bottom:16px;font-size:18px}.site-footer p{color:var(--muted);line-height:1.7}.site-footer a{color:var(--green)}

[data-design-reveal]{opacity:0;transform:translateY(40px);filter:blur(6px);transition:opacity 1s cubic-bezier(.16,1,.3,1),transform 1s cubic-bezier(.16,1,.3,1),filter 1s cubic-bezier(.16,1,.3,1)}
[data-design-reveal].is-visible{opacity:1;transform:none;filter:none}
.page-head,.entity-page-head{animation:designFadeUp .9s cubic-bezier(.16,1,.3,1) both}
.ballot-chart-bar span,.candidate-bar-track i,.party-history-track i,.promise-status-bar>span{transform-origin:center bottom;animation:designGrowY 1.1s cubic-bezier(.16,1,.3,1) both}
.vote-pie,.programme-donut{animation:designPieIn 1.05s cubic-bezier(.16,1,.3,1) both}
@keyframes designFadeUp{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
@keyframes designGrowY{from{transform:scaleY(0)}to{transform:scaleY(1)}}
@keyframes designPieIn{from{opacity:0;transform:scale(.72) rotate(-35deg)}to{opacity:1;transform:none}}

@media(max-width:1000px){.site-header nav{gap:2px}.site-header nav a{padding:7px 9px;font-size:12px}.header-inner{gap:18px}}
@media(max-width:850px){
  .header-inner,main,.footer-inner{width:min(100% - 28px,1400px)}
  .header-inner{flex-wrap:wrap;gap:0;padding-top:14px}
  .site-header nav{display:flex;order:3;width:100%;margin:10px 0 0;padding-bottom:10px;gap:5px;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:none}
  .site-header nav::-webkit-scrollbar{display:none}
  .site-header nav a{flex:0 0 auto;padding:7px 11px}
  .footer-inner{grid-template-columns:1fr}
  .page-head{padding-top:48px}
}
@media(max-width:620px){.entity-page-head{align-items:flex-start}.entity-page-icon{width:64px;height:64px;flex-basis:64px}.page-head h1{font-size:42px}.profile-box,.search-page,.vote-chamber-panel,.vote-people-panel,.candidate-comparison,.catalogue,.votes-panel,.chamber-panel,.profiles-panel{padding:20px!important}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}[data-design-reveal]{opacity:1;transform:none;filter:none;transition:none}.page-head,.entity-page-head,.ballot-chart-bar span,.candidate-bar-track i,.party-history-track i,.promise-status-bar>span,.vote-pie,.programme-donut{animation:none}}

/* Page-specific reference layouts. Keep existing data and controls intact. */
body{--accent:#b5643c;-webkit-font-smoothing:antialiased}
.header-inner,main,.footer-inner{box-sizing:border-box;width:100%;max-width:1280px;padding-inline:clamp(20px,4vw,44px)}
main{max-width:1240px}main>*{min-width:0}
.header-inner{padding-block:0;min-height:70px;display:flex;align-items:center;justify-content:space-between}
.brand-wordmark{text-transform:lowercase}.brand{flex:0 0 auto}
.site-header nav{display:flex;flex-wrap:wrap}.site-header nav a{line-height:1.4}
.page-head{margin:0}.page-head h1{margin:0 0 22px;max-width:none;text-wrap:pretty}.page-head .portal-kicker{margin:0 0 20px}.page-head>p{margin:0;max-width:640px}
main h2{font-weight:500;line-height:1.15}main p{text-wrap:pretty}
main a:not([class]){color:var(--accent)}
.site-footer{background:#1a1d1b;color:#e6e6e3;border-radius:0;margin-top:clamp(64px,9vw,120px);padding:clamp(48px,6vw,84px) 0 44px}
.footer-inner{grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(32px,4vw,56px)}
.site-footer h2{font-size:21px;color:#f5f5f4;margin:0 0 14px}.site-footer p{font-size:14.5px;line-height:1.75;color:#a9aba7;margin:0}
.site-footer a{color:#d9a37a}.site-footer .footer-all-sources{display:inline-block;margin-top:18px;padding:11px 20px;border:1px solid #ffffff47;border-radius:99px;color:#f5f5f4;font-size:13.5px;text-decoration:none}
/* Home: an editorial grid, not a collection of identical cards. */
.infographic-intro{padding:clamp(72px,9vw,132px) 0 clamp(56px,7vw,96px)}
.infographic-intro h1{font-weight:400;font-size:clamp(44px,6.2vw,94px);line-height:.98;letter-spacing:-.055em;margin:0 0 28px;max-width:1050px}
.infographic-intro h1 em{font-weight:400;color:var(--accent)}
.infographic-intro p{max-width:620px;font-size:clamp(16px,1.4vw,19px);line-height:1.7;margin:0}
.infographic-grid,.info-extra-row{gap:clamp(28px,4vw,56px)}
.infographic-grid article{padding:8px 0;border-radius:0;background:transparent;border:0}
.infographic-grid .info-feature{padding:clamp(32px,4vw,52px);border-radius:32px;background:linear-gradient(160deg,#1c3a30,#2a5443 60%,#35664f);color:#fff}
.info-eyebrow,.info-explore>a>span{font:500 10.5px/1.6 'JetBrains Mono',monospace;letter-spacing:.16em}
.info-massive{font-family:'Instrument Sans',sans-serif;font-size:clamp(100px,15vw,210px);font-weight:500;line-height:.9;margin:36px 0}
.info-number,.info-money,.info-percent{font-family:'Instrument Sans',sans-serif;font-weight:500;letter-spacing:-.065em}
.info-number{font-size:clamp(64px,8vw,112px)}.info-money{font-size:clamp(34px,4.1vw,60px);overflow-wrap:anywhere}
.infographic-grid h2,.info-extra-row h2{font-size:clamp(22px,2vw,26px);line-height:1.2;font-weight:500}
.infographic-grid p,.info-extra-row p{font-size:15px;line-height:1.7;color:var(--muted)}.info-feature p{color:#ffffffb3}
.info-education .info-number{color:var(--accent)}.info-watermark{color:#e9ecea;opacity:1;font-weight:400;z-index:-1}
.infographic-grid .info-experience{padding:clamp(40px,5vw,56px) clamp(24px,3vw,36px);border-radius:96px 32px 32px 32px;background:#e9ecea}
.info-experience-stripes{opacity:.65}.info-orbit{border-color:#e9ecea}
.infographic-grid .info-unemployed{padding:clamp(32px,4vw,44px) clamp(24px,3vw,36px);border-radius:32px;background:#d3a35c}
.info-unemployed p{color:#3a3d3a}.info-extra-row{margin-top:clamp(56px,7vw,104px)}
.info-extra-row article{border-radius:0;background:none;padding:28px 0 0;border:0;border-top:2px solid #8fae95}
.info-extra-row .info-debt{border-color:#c1725f}.info-extra-row .info-property{border:0;padding:clamp(32px,4vw,44px) clamp(24px,3vw,36px);border-radius:32px;background:#e9ecea}
.info-explore{margin-top:clamp(64px,8vw,112px);gap:32px;padding-top:32px}.info-explore a{background:transparent;border-radius:0;padding:0}.info-explore h2{font-size:clamp(26px,2.6vw,34px)}
/* Promises */
.promise-method,.direction-method{background:transparent;border-left:3px solid #d3a35c;border-radius:0;max-width:850px;padding:0 0 0 clamp(18px,2.5vw,28px);margin:0 0 40px}
.promise-method>strong{font:500 19px 'Instrument Sans',sans-serif}.promise-method p{font-size:15px;line-height:1.7}
.promise-filters{border:0;padding:0;gap:16px;margin-top:clamp(40px,5vw,64px)}
.promise-filters label,.candidate-filters label,.profile-select-label{font:500 10.5px/1.6 'JetBrains Mono',monospace;letter-spacing:.14em;text-transform:uppercase}
select,input{font-family:'Figtree',sans-serif!important;letter-spacing:normal;text-transform:none}
.promise-status-chart{margin-top:clamp(40px,5vw,64px);padding:0 0 36px}.promise-status-heading h2{font-size:clamp(24px,2.6vw,32px)}
.promise-status-bar{height:40px;border-radius:12px}.promise-status-legend{gap:10px 22px}
.promise-results>p{margin:36px 0 20px;font:12px 'JetBrains Mono',monospace}
.promise-grid{gap:clamp(20px,2.5vw,32px);align-items:start}
.promise-card{border-top:4px solid var(--party-color)!important;padding:clamp(22px,2.5vw,28px);min-height:0}
.promise-card-top{flex-wrap:wrap;gap:8px 14px}.promise-party{font-size:12px}.promise-party i{width:36px;height:36px;flex-shrink:0;font:700 10px 'JetBrains Mono',monospace}
.promise-area{letter-spacing:.06em;font-size:10.5px}.promise-body{grid-template-columns:48px minmax(0,1fr);gap:16px;align-items:start;padding:18px 0;flex:none}
.promise-body p{font-size:15.5px;line-height:1.55;font-weight:500}.promise-check{width:44px;height:44px}
.promise-evaluation{margin:0 0 16px;background:rgba(26,29,27,.05);border-radius:14px}.promise-evaluation p{font-size:14px;line-height:1.6}
.promise-sources{margin-top:clamp(64px,8vw,112px);max-width:760px;border:0;padding:0}
.promise-sources a{padding:12px 20px;border:1px solid var(--line);border-radius:99px;text-decoration:none;font-size:14px;color:var(--ink);margin-right:8px}
/* Voting list, explanations and charts */
.vote-topic-cloud-panel{margin-top:clamp(40px,5vw,64px);padding:clamp(28px,3.5vw,44px);border:0;border-radius:32px;background:#fff}
.vote-topic-cloud-panel h2{font-size:clamp(24px,2.6vw,32px)}.vote-topic-cloud{padding:20px 0 0;gap:12px 24px}
.vote-filter,.search-page{background:transparent!important;padding:0!important;border:0!important;box-shadow:none!important}
.vote-detail{padding:24px 28px;border:0!important;background:#fff;border-radius:20px;margin-bottom:14px}.vote-detail summary{padding:0}
.vote-detail summary>a{font:500 20px/1.3 'Instrument Sans',sans-serif;color:var(--ink)}
.vote-topic-tags{gap:8px}.vote-topic-tags i{font-size:12px;padding:5px 12px;border:0;background:#e9ecea}
.vote-page .page-head h1{max-width:24ch;font-size:clamp(32px,4.6vw,60px);line-height:1.02}
.vote-overview{padding-top:0;margin-top:28px;grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr);gap:clamp(20px,2.5vw,32px)}
.vote-overview>.vote-explanation,.vote-result-pie,.vote-party-chart{border-radius:28px!important}
.vote-explanation>p:first-of-type{font-size:16px;line-height:1.75}.vote-explanation dl.vote-meaning-cards{grid-template-columns:1fr;gap:10px}
.vote-explanation .vote-meaning-cards>div{grid-template-columns:44px minmax(0,1fr);padding:14px 16px;border:0;border-radius:14px}
.vote-meaning-cards dd{padding:0!important;background:none;font-size:14px}
.vote-result-pie h2{font-size:20px}.vote-party-chart h2,.vote-chamber-panel h2,.vote-people-panel h2{font-size:clamp(22px,2.4vw,28px)}
.ballot-chart-rows{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:clamp(8px,1.5vw,20px);overflow:visible;align-items:start}
.ballot-chart-row{display:grid;grid-template-rows:200px auto auto;justify-items:center;min-width:0;width:100%;margin:0}
.ballot-chart-bar{grid-row:1;width:min(100%,64px);height:200px;margin:0;align-self:end;border-radius:8px!important}
.ballot-chart-label{grid-row:2;width:100%;margin:14px 0 0;min-height:132px;display:flex;align-items:center;gap:8px;justify-content:flex-start}
.ballot-party-heading{display:flex;flex-direction:column;align-items:center;width:100%;gap:9px}
.ballot-chart-label .ballot-party-icon{width:32px;height:32px;flex:0 0 32px;display:grid;place-items:center;font-size:10px}
.ballot-party-heading strong{font-size:12px;line-height:1.35;min-height:49px;display:block;text-align:center;white-space:normal;overflow-wrap:anywhere}
.ballot-chart-label small{font:11px 'JetBrains Mono',monospace}.ballot-chart-values{grid-row:3;font-size:11px;width:100%;margin-top:0}
.vote-people-panel{background:transparent!important;padding:0!important;margin-top:48px}.vote-person{background:#fff;border:0;padding:16px;border-radius:16px}
.vote-people-grid{gap:12px}.vote-person strong{font-size:14px}.vote-person small{font-size:12px}
/* Election, party and candidate profiles */
.candidate-filters{display:grid;grid-template-columns:2fr repeat(4,minmax(0,1fr));gap:14px;margin:0}.candidate-filters label{min-width:0}.candidate-filters .candidate-keyword{grid-column:auto}.candidate-filters button{grid-column:1/-1;justify-self:end}
.candidate-comparison{margin-top:clamp(40px,5vw,64px);background:transparent!important;padding:0!important;border:0}
.candidate-comparison h2{font-size:clamp(24px,2.6vw,32px)}.candidate-bars{gap:clamp(6px,1vw,14px);padding-top:30px}
.candidate-bar-track{height:200px;background:#e8e8e5;border-radius:8px;overflow:hidden}.candidate-bar-track i{width:100%;max-width:none;border-radius:0}
.candidate-browser-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:clamp(12px,1.5vw,18px);margin-top:20px}.candidate-browser-card{border-radius:20px!important;padding:24px 16px 20px;gap:6px}
.candidate-browser-card>strong{font-size:14px}.candidate-browser-card>span{font-size:12px}
.election-offers,.portal-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(20px,2.5vw,32px)}
.election-offer{padding:clamp(24px,3vw,36px);border-top:4px solid var(--list-color)!important}.election-offer h2{font-size:22px;margin:18px 0 12px}.election-offer p{font-size:14px;line-height:1.7}
.entity-page-head h1{font-size:clamp(36px,5vw,68px)}.entity-page-icon{width:96px;height:96px;flex-basis:96px;font-size:23px}
.candidate-stat-row{padding:clamp(28px,3vw,40px) 0;border-block:1px solid #1a1d1b26;gap:clamp(20px,3vw,40px)}
.candidate-charts{gap:clamp(20px,2.5vw,32px);margin-top:28px}.candidate-pie-card h2,.party-official h2{font-size:20px}
.party-official>.profile-box{padding:clamp(22px,2.5vw,28px)}.party-official .fact{background:none;padding:0;border:0}.party-official .fact strong{font:500 22px 'Instrument Sans',sans-serif}
.programme-box{padding:clamp(28px,3.5vw,44px)!important;border-radius:32px!important;border-top-color:var(--list-color,var(--green))!important}
.programme-box h2{font-size:clamp(26px,3vw,36px)}.programme-bullets li{background:transparent;border-radius:0;padding:0;font-size:15px;line-height:1.7}
.candidate-pie-card{padding:clamp(22px,2.5vw,28px);border-radius:24px;background:#fff}
/* Ratings, sources and the parliamentary dashboard */
.ratings-box{background:transparent;padding:0;border:0}.rating-row{padding:16px 0;border-bottom:1px solid var(--line)}
.coalition-intro{margin-top:clamp(64px,8vw,112px);padding:clamp(28px,4vw,48px);border-radius:32px;background:linear-gradient(160deg,#1c3a30,#2a5443 60%,#35664f);color:#fff}
.coalition-intro p{color:#ffffffb3}.coalition-intro h2{color:#fff;font-size:clamp(26px,3vw,38px)}.coalition-grid{gap:clamp(20px,2.5vw,32px);margin-top:32px}
.coalition-card{padding:28px}.source-card,.portal-card{padding:clamp(24px,3vw,36px)}.source-card h2,.portal-card h2{font-size:23px}
.hero{padding:clamp(36px,4.5vw,52px) 0 0}.hero h1{font:600 clamp(40px,5.4vw,72px)/1 'Instrument Sans',sans-serif;letter-spacing:-.055em}.hero h1 span{color:var(--accent)}
.section-shortcuts{gap:1px;padding:0;margin-top:14px;background:var(--line);border:1px solid var(--line);border-radius:22px;overflow:hidden}
.section-shortcuts a{padding:22px 26px;background:#fff;border:0;border-radius:0}
.metrics{gap:clamp(20px,3vw,40px);margin-top:40px;padding:32px 0;background:none;border-block:1px solid #1a1d1b26}.metrics article{padding:0;border:0;background:none}.metrics strong{font:500 48px 'Instrument Sans',sans-serif}
.chamber-panel{margin-top:14px;border-radius:22px!important}.chamber-wrap{background:#f5f5f4;border-radius:16px}.deputy-ranking{background:#f5f5f4;border:1px solid var(--line);border-radius:12px;padding:18px}
.entity-drawer{background:#f2f2ee}.drawer-hero h2{font:500 clamp(28px,3.4vw,40px)/1.02 'Instrument Sans',sans-serif;letter-spacing:-.045em}
.entity-drawer-shade{border-radius:0!important}.ballot-deputy-popup{border:0;border-radius:24px;padding:28px}
@media(max-width:1000px){.candidate-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.candidate-filters .candidate-keyword{grid-column:1/-1}.candidate-browser-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.ballot-chart-rows{grid-template-columns:repeat(auto-fit,minmax(84px,1fr))}}
@media(max-width:850px){.header-inner{padding-top:14px;gap:0}.site-header nav{flex-wrap:nowrap;max-width:100%;margin-top:14px}.vote-overview{grid-template-columns:1fr}.footer-inner{grid-template-columns:1fr}.election-offers,.portal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.infographic-grid,.info-extra-row{grid-template-columns:repeat(2,minmax(0,1fr))}.info-feature,.info-education-wide{grid-column:1/-1}}
@media(max-width:640px){.promise-grid,.promise-filters,.candidate-filters,.election-offers,.portal-grid,.infographic-grid,.info-extra-row{grid-template-columns:1fr}.candidate-browser-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.candidate-filters .candidate-keyword{grid-column:auto}.info-feature,.info-education-wide{grid-column:auto}.ballot-chart-rows{grid-template-columns:repeat(auto-fit,minmax(78px,1fr));row-gap:28px}.ballot-chart-row{grid-template-rows:160px auto auto}.ballot-chart-bar{height:160px;width:48px}.vote-topic-cloud-panel{padding:24px}.entity-page-icon{width:64px;height:64px;flex-basis:64px}.promise-status-heading{align-items:start;flex-direction:column;gap:12px}}
/* Animations begin on viewport entry, including asynchronously rendered data. */
[data-motion]{--motion-delay:0ms}
[data-motion="reveal"]{opacity:0;translate:0 40px;filter:blur(6px);transition:opacity 1s cubic-bezier(.16,1,.3,1) var(--motion-delay),translate 1s cubic-bezier(.16,1,.3,1) var(--motion-delay),filter 1s cubic-bezier(.16,1,.3,1) var(--motion-delay)}
[data-motion="grow-y"]{scale:1 0;transform-origin:center bottom;transition:scale 1.2s cubic-bezier(.16,1,.3,1) .25s}
[data-motion="grow-x"]{scale:0 1;transform-origin:left center;transition:scale 1.2s cubic-bezier(.16,1,.3,1) .25s}
[data-motion="pie"]{opacity:0;scale:.7;rotate:-40deg;transition:opacity .9s ease .15s,scale 1.2s cubic-bezier(.16,1,.3,1) .15s,rotate 1.2s cubic-bezier(.16,1,.3,1) .15s}
[data-motion="pop"]{opacity:0;scale:.4;transform-box:fill-box;transform-origin:center;transition:opacity .7s ease var(--motion-delay),scale .9s cubic-bezier(.16,1,.3,1) var(--motion-delay)}
[data-motion].design-visible{opacity:1;translate:0 0;scale:1;rotate:0deg;filter:none}
.ballot-chart-bar span,.candidate-bar-track i,.party-history-track i,.promise-status-bar>span,.vote-pie,.programme-donut{animation:none}
@media(prefers-reduced-motion:reduce){[data-motion]{opacity:1;translate:none;scale:none;rotate:none;filter:none;transition:none}}
.brand-mosaic{display:grid;grid-template-columns:repeat(3,7px);gap:3px;flex:0 0 auto;margin-right:4px}.brand-mosaic i{width:7px;height:7px;border-radius:2px}
.infographic-intro h1 em{margin-left:0;padding-bottom:0}.infographic-intro h1 em::after{display:none}
.infographic-grid .info-education,.infographic-grid .info-business,.infographic-grid .info-savings{border:0;padding:8px 0}
.infographic-grid .info-education .info-number{font-size:clamp(64px,8.5vw,136px);color:#2a5443}
.infographic-grid .info-watermark{color:#d3a35c;opacity:.22;z-index:0;font-weight:600}.info-education>*:not(.info-watermark){position:relative;z-index:1}
/* Exact home heading and drawer motion from the supplied references. */
.infographic-intro h1 em{margin-left:clamp(0px,4vw,64px);padding-bottom:12px;font-weight:600;color:#2a5443}
.infographic-intro h1 em::after{display:block;background:#b5643c}
.design-word-clip{display:inline-block;overflow:hidden;vertical-align:bottom;padding-bottom:.08em;margin-bottom:-.08em}
.design-word{display:inline-block;animation:designWordUp .9s cubic-bezier(.16,1,.3,1) both}
.infographic-intro>p{animation:designFadeUp 1s cubic-bezier(.16,1,.3,1) .7s both}
@keyframes designWordUp{from{opacity:0;transform:translateY(110%) rotate(2deg)}to{opacity:1;transform:none}}
@keyframes designDrawerIn{from{transform:translateX(40px);opacity:0}to{transform:none;opacity:1}}
@keyframes designShadeIn{from{opacity:0}to{opacity:1}}
.entity-drawer:not([hidden]){animation:designDrawerIn .5s cubic-bezier(.16,1,.3,1) both}
.entity-drawer-shade:not([hidden]){background:rgba(26,29,27,.28);backdrop-filter:blur(10px) saturate(.9);animation:designShadeIn .35s ease both}
.promise-card:hover,.coalition-card:hover,.home-explore-card:hover{transform:none;box-shadow:none!important}
.election-offer:hover,.portal-card:hover,.source-card:hover{transform:translateY(-6px);box-shadow:none!important}
.vote-person{transition:transform .3s cubic-bezier(.16,1,.3,1)}.vote-person:hover{transform:translateY(-2px)}
.info-feature[data-motion="reveal"],.info-experience[data-motion="reveal"],.info-unemployed[data-motion="reveal"],.info-property[data-motion="reveal"]{transition:opacity 1s cubic-bezier(.16,1,.3,1) var(--motion-delay),translate 1s cubic-bezier(.16,1,.3,1) var(--motion-delay),filter 1s cubic-bezier(.16,1,.3,1) var(--motion-delay),transform .35s cubic-bezier(.16,1,.3,1)}
.info-feature:hover,.info-experience:hover,.info-unemployed:hover,.info-property:hover{transform:translateY(-6px)}
select{appearance:none!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%236b6e6a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;background-position:right 16px center!important;background-size:16px 16px!important;background-repeat:no-repeat!important;padding-right:44px!important}
.rating-period-control{padding:0;border:0;background:none;display:flex;flex-direction:column;align-items:start;gap:8px;margin-bottom:40px}.rating-period-control select{min-width:260px;width:auto}.rating-period-control span{font:500 10.5px 'JetBrains Mono',monospace;letter-spacing:.14em}
.rating-row{padding:0;border:0;gap:22px;margin:14px 0;grid-template-columns:minmax(120px,240px) 1fr 64px 56px}.rating-track{height:14px;border-radius:99px;background:#e8e8e5;overflow:hidden}.rating-row>strong{font-size:14.5px;font-weight:500}
@media(max-width:640px){.infographic-intro h1 em{margin-left:0}.rating-row{grid-template-columns:minmax(80px,120px) 1fr 48px 40px;gap:10px}}
@media(prefers-reduced-motion:reduce){.design-word,.infographic-intro>p,.entity-drawer:not([hidden]),.entity-drawer-shade:not([hidden]){animation:none}}
.vote-explanation dl.vote-meaning-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.vote-explanation .vote-meaning-cards>div{display:block;padding:16px 18px;border-radius:16px}
.vote-meaning-cards dt{font:500 10.5px/1.5 'JetBrains Mono',monospace;letter-spacing:.14em;text-transform:uppercase}
.vote-meaning-cards dd{margin-top:8px;font-size:14.5px;line-height:1.55}.vote-meaning-cards .vote-meaning-for{background:rgba(42,84,67,.08)}.vote-meaning-cards .vote-meaning-against{background:rgba(181,100,60,.1)}
.vote-pie{display:grid;place-items:center}.vote-pie-total{width:60%;aspect-ratio:1;border-radius:50%;background:#fff;display:grid;place-items:center;font:500 26px 'Instrument Sans',sans-serif}
.ballot-chart-row{grid-template-rows:220px auto auto}.ballot-chart-bar{height:220px;width:min(100%,72px);border-radius:12px!important}.ballot-chart-label .ballot-party-icon{width:40px;height:40px;flex-basis:40px}
.ballot-other{background:#cfcfcb}.entity-drawer{width:min(600px,100%)}
@media(max-width:640px){.vote-explanation dl.vote-meaning-cards{grid-template-columns:1fr}.ballot-chart-row{grid-template-rows:160px auto auto}.ballot-chart-bar{height:160px;width:48px}}
.candidate-pie-card{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:18px}.candidate-pie-card>h2{margin:0}.candidate-pie{width:160px;margin:0 auto;flex-shrink:0}.candidate-pie strong{font:500 28px 'Instrument Sans',sans-serif}.candidate-pie-legend{width:100%;gap:8px}.candidate-pie-legend>div{font-size:13px}
.candidate-stat-row{padding:0;border:0;gap:10px;margin:12px 0;grid-template-columns:90px 1fr 44px}
.party-experience-stats{padding:clamp(28px,3vw,40px) 0;border-block:1px solid #1a1d1b26;gap:clamp(20px,3vw,40px)}.party-experience-stats strong{font:500 clamp(32px,4vw,48px) 'Instrument Sans',sans-serif}
.hero h1 em{color:#b5643c}.section-shortcuts a{color:#1a1d1b!important}
.profile-tabs button,.reason-tabs button{white-space:nowrap}.catalogue-heading{flex-wrap:wrap}.catalogue-heading>div:first-child{flex:1 1 500px}.catalogue-heading .profile-tabs{flex-shrink:0;max-width:100%;overflow:auto}
.programme-box>h2::before{display:none}.programme-content .programme-bullets{gap:20px 28px}.programme-content .programme-bullets li{padding:0 0 0 20px;min-height:0}
.programme-content .programme-bullets li::before{content:'';width:7px;height:7px;left:0;top:10px;background:var(--list-color,var(--green));border-radius:50%}
.profile-box.district-candidates{grid-column:1/-1;background:transparent!important;padding:0!important;margin-top:40px}.district-candidates h2{font-size:clamp(24px,2.6vw,32px);margin:0 0 18px}
.district-candidates .candidate-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:clamp(12px,1.5vw,18px)}
.district-candidates .candidate-item{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;padding:24px 16px 20px;border:0!important;border-radius:20px;background:#fff;transition:transform .35s cubic-bezier(.16,1,.3,1),box-shadow .35s}
.district-candidate-position{width:48px;height:48px;display:grid;place-items:center;border-radius:50%;font:500 12px 'JetBrains Mono',monospace;color:#fff;margin-bottom:8px;flex-shrink:0}
.district-candidates .candidate-item strong{font-size:15px;line-height:1.3}.district-candidates .candidate-item>span{font-size:12.5px;line-height:1.45}
.district-candidates .candidate-item:hover{transform:translateY(-4px);box-shadow:0 24px 40px -30px rgba(26,29,27,.35)}
@media(max-width:900px){.district-candidates .candidate-list{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:640px){.district-candidates .candidate-list{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Form values keep body-sized text rather than inheriting the small field label. */
select{font-size:15px!important;line-height:1.5!important}

/* Typography matched to the supplied .dc.html references, 2026-09-07.
   Preserve text and allow wrapping instead of clipping longer real content. */
body{-webkit-font-smoothing:antialiased}
.page-head>p,.entity-page-head p{line-height:1.7}
.page-head>p{font-size:clamp(16px,1.4vw,19px)}
.page-head>.portal-kicker,.entity-page-head>div>span{font:400 11px/1.6 'JetBrains Mono',monospace!important;letter-spacing:.18em!important;text-transform:uppercase}
.entity-page-head h1{letter-spacing:-.05em}.entity-page-head p{font-size:clamp(15px,1.3vw,18px)}
.site-footer h2{font-weight:500;letter-spacing:-.02em;line-height:1.15}
.site-footer .footer-sources p{line-height:1.85}
input,select,textarea{font-family:'Figtree',system-ui,sans-serif;font-size:15px;letter-spacing:0;text-transform:none}
.candidate-filters input{font-size:15px}.vote-filter input{font-size:16px}.vote-filter select{font-size:14px!important}
.info-eyebrow,.info-explore>a>span{font-size:11px}
.info-massive{font-size:clamp(88px,14vw,220px);font-weight:600;letter-spacing:-.08em;line-height:.95;font-variant-numeric:tabular-nums}
.info-number,.info-percent{font-size:clamp(64px,8vw,124px);font-weight:600;letter-spacing:-.075em;line-height:.95}
.info-education .info-number{font-size:clamp(64px,8.5vw,136px)}
.info-money{font-size:clamp(34px,3.4vw,56px);font-weight:600;letter-spacing:-.055em;line-height:1.1}
.infographic-grid p,.info-extra-row p{line-height:1.65}
.infographic-grid h2,.info-extra-row h2{letter-spacing:-.03em}
.info-explore h2{line-height:1.05}.info-explore p{font-size:14px;line-height:1.6}
.vote-topic-cloud-panel h2,.candidate-comparison h2,.promise-status-heading h2,.promise-sources h2,.district-candidates h2{font-size:clamp(24px,2.6vw,32px);font-weight:500;line-height:1.1;letter-spacing:-.035em}
.vote-topic-cloud-panel>div>p{font-size:14.5px;line-height:1.65}
.vote-detail summary>a{font:600 16px/1.35 'Figtree',system-ui,sans-serif;letter-spacing:-.01em}
.vote-detail .vote-topic-tags i{font-size:11.5px;font-weight:600}
.vote-explanation>p:first-of-type{font-size:17px;line-height:1.65}
.vote-detail .vote-explanation>p:first-of-type{font-size:15px}
.vote-explanation>p.muted{font-size:13.5px;line-height:1.6}
.vote-explanation>.tag-line,.vote-explanation>a,.vote-explanation>small{font-size:13px}
.vote-page .page-head h1{letter-spacing:-.05em}
.vote-page .page-head>p{font:400 12.5px/1.7 'JetBrains Mono',monospace;letter-spacing:.04em}
.vote-result-pie h2,.candidate-pie-card h2,.party-official h2{font-size:20px;font-weight:500;letter-spacing:-.03em}
.vote-party-chart h2,.vote-chamber-panel h2,.vote-people-panel h2{font-weight:500;letter-spacing:-.035em}
.vote-party-chart>p{font-size:13.5px}.vote-party-chart>p:last-child,.vote-result-pie>p{font-size:12.5px;line-height:1.55}
.ballot-party-heading strong{font:600 12.5px/1.3 'Figtree',system-ui,sans-serif;text-align:center}
.ballot-chart-label small,.ballot-chart-values{font:400 10.5px/1.6 'JetBrains Mono',monospace;text-align:center}
.vote-person strong{font-size:13.5px;font-weight:600}.vote-person small{font-size:11.5px}
.candidate-browser-card{text-align:center}
.candidate-browser-card>strong,.district-candidates .candidate-item strong{font:600 15px/1.3 'Figtree',system-ui,sans-serif;letter-spacing:-.01em}
.candidate-browser-card>span,.district-candidates .candidate-item>span{font-size:12.5px;line-height:1.45}
.candidate-browser-card small{font:400 10px/1.5 'JetBrains Mono',monospace;letter-spacing:.06em}
.candidate-pie strong,.programme-donut strong{font:500 24px/1 'Instrument Sans',system-ui,sans-serif;letter-spacing:-.04em}
.candidate-pie span,.programme-donut span{font:400 9.5px/1.5 'JetBrains Mono',monospace;letter-spacing:.06em;text-align:center}
.candidate-pie-legend b{font-family:'JetBrains Mono',monospace}
.party-experience-stats strong,.metrics strong{font:500 clamp(34px,4vw,56px)/1 'Instrument Sans',system-ui,sans-serif;letter-spacing:-.05em}
.party-experience-stats span,.metrics span{font-size:13.5px;line-height:1.5}
.party-official .fact strong{font:700 17px/1.5 'Figtree',system-ui,sans-serif}
.party-official .fact span{font:400 10px/1.6 'JetBrains Mono',monospace;letter-spacing:.1em}
.programme-box h2{line-height:1.05;letter-spacing:-.04em}.programme-box>p{font-size:16px;line-height:1.7}
.programme-content .programme-bullets li{font-size:15px;line-height:1.6}
.party-history-track b{font:700 clamp(9px,.85vw,11.5px)/1.5 'JetBrains Mono',monospace}
.election-offer h2,.coalition-card h3{font-size:22px;line-height:1.15;letter-spacing:-.03em}
.election-offer p,.coalition-card p{font-size:14px;line-height:1.65}
.source-card h2,.portal-card h2{font-size:23px;line-height:1.15;letter-spacing:-.03em}
.source-card p,.portal-card p{font-size:14.5px;line-height:1.65}
.section-shortcuts strong{font:500 19px/1.3 'Instrument Sans',system-ui,sans-serif;letter-spacing:-.03em}
.section-shortcuts span{font-size:13.5px;line-height:1.6}
.entity-drawer h2{font:500 clamp(28px,3.4vw,40px)/1.02 'Instrument Sans',system-ui,sans-serif;letter-spacing:-.045em}
.entity-drawer h3{font:700 12px/1.5 'JetBrains Mono',monospace;letter-spacing:.14em;text-transform:uppercase}
.entity-drawer dt{font-size:14.5px;line-height:1.45}.entity-drawer dd{font-size:15px;line-height:1.45;font-weight:600}
/* Party-profile reference: inset facts and consistently sized candidate badges. */
.party-official .fact{background:#f5f5f4;border-radius:14px;padding:14px}
.party-official .fact span{text-transform:uppercase}
.party-official .data-provenance{border:0;padding-top:0;margin-top:16px!important}
.party-official .data-provenance a{color:var(--ink);font-size:12.5px;font-weight:600;text-decoration:underline;text-underline-offset:4px}
.district-candidates .candidate-item .district-candidate-position{width:58px;height:58px;font:500 14px/1 'JetBrains Mono',monospace;font-style:normal}
.district-candidates .candidate-item>.experience-badge{font:700 9.5px/1.5 'JetBrains Mono',monospace;letter-spacing:.08em;text-transform:uppercase}
/* Remove legacy list markers and reference-only duplicate decorations. */
.programme-content .programme-bullets{list-style:none;padding-left:0}
.programme-content .programme-bullets li::marker{content:''}
.programme-content .programme-bullets li::before{width:8px;height:8px;top:.55em}
.profile-box.programme-box:has(.programme-bullets)::before{content:none;display:none}
.profile-box.programme-box .unavailable-data{background:none;border:0;padding:0;margin:28px 0;font-size:13px;line-height:1.6}
.programme-box>.dialog-source{margin:0 18px 0 0}.programme-data-link{display:inline-block;color:var(--ink);font-size:13px;font-weight:600}
.party-rating-history .party-history-bars{gap:10px;padding:20px 0;align-items:start}
.party-rating-history .party-history-bars>a{display:grid;grid-template-rows:18px 190px auto;gap:8px;min-width:38px}
.party-rating-history .party-history-track{height:190px;margin:0;border:0;width:100%}
.party-rating-history .party-history-track i{width:100%;max-width:none;border-radius:9px;font-style:normal}
.party-history-value{font:700 clamp(9px,.85vw,11.5px)/18px 'JetBrains Mono',monospace;color:var(--ink);font-style:normal}
.party-rating-history .party-history-bars small{font:400 clamp(8px,.75vw,10px)/1.4 'JetBrains Mono',monospace;letter-spacing:0}

.entity-drawer .drawer-content a:any-link{color:var(--green);text-underline-offset:3px}
.entity-drawer .drawer-content a:hover{color:var(--green-dark)}

/* Index reference: editorial links and decorative marks. */
.infographic-grid article>a,.info-extra-row article>a,.info-explore>a{color:#1a1d1b;text-decoration:none;font-weight:600}
.infographic-grid article>a:hover,.info-extra-row article>a:hover{color:#b5643c}
.infographic-grid .info-feature>a{color:#fff}
.info-orbit{width:240px;height:240px;right:-96px;top:24px;background:conic-gradient(#2a5443 0 var(--share),#e9ecea var(--share) 100%);mask:radial-gradient(circle,transparent 0 46%,#000 47%);opacity:.9}
.info-experience-stripes{opacity:1}.info-experience-stripes i{border-radius:3px}

.term-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(20px,3vw,40px);margin-top:clamp(40px,5vw,64px);padding:clamp(28px,3vw,40px) 0;background:none;border-block:1px solid #1a1d1b26}
.term-overview>div{display:flex;flex-direction:column;gap:8px;padding:0;border:0}
.term-overview strong{order:-1;font:500 clamp(34px,4vw,56px)/1 'Instrument Sans',sans-serif;letter-spacing:-.05em}
.term-overview span{font:400 13.5px/1.5 'Figtree',sans-serif;letter-spacing:0;text-transform:none;color:#5f625f}
.term-overview small{font:400 12.5px/1.5 'Figtree',sans-serif;color:#6b6e6a}
@media(max-width:640px){.term-overview{grid-template-columns:repeat(2,minmax(0,1fr))}}

#chamberSvg .seat-label{display:none}

/* Ranking keeps full names and the original metric beneath each person. */
.deputy-ranking li{display:flex;align-items:flex-start;gap:12px;padding:14px 0}
.deputy-ranking li::before{content:none}
.ranking-party-logo{display:flex;align-items:center;justify-content:center;flex:0 0 36px;width:36px;height:36px;border-radius:50%;background:var(--party-color);color:#fff;font:600 11px/1 'Figtree',sans-serif;font-style:normal}
.ranking-person{min-width:0;flex:1}
.ranking-person .ranking-profile-link{display:block;font:600 14px/1.4 'Figtree',sans-serif;color:var(--ink);white-space:normal;overflow-wrap:anywhere}
.ranking-person .deputy-ranking-metric{display:block;margin-top:4px;font-size:12px;line-height:1.5}
/* Reference party toggles retain native checkbox keyboard semantics. */
.party-legend{gap:6px;margin-top:0}
.party-legend label{padding:9px 13px;border:1px solid #e3e2de;border-radius:8px;background:#f5f5f4;color:#6b6e6a;font:400 10.5px/1.3 'JetBrains Mono',monospace!important;letter-spacing:.1em}
.party-legend label:has(input:checked){border-color:var(--filter-party);background:var(--filter-party);color:#fff}
.party-legend input{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
.party-filter legend{font:400 10.5px/1.5 'JetBrains Mono',monospace!important;letter-spacing:.14em;text-transform:uppercase;margin-bottom:8px}
.term-overview>div>strong{font-size:clamp(34px,4vw,56px);line-height:1;margin:0}
.promise-card .promise-links a{color:#1a1d1b;font-weight:600;text-decoration-color:#1a1d1b66}
.promise-area{text-transform:none}
.rating-period-control label{font:400 10.5px/1.5 'JetBrains Mono',monospace;letter-spacing:.14em;text-transform:uppercase}
.ratings-box>h2{font:500 clamp(26px,3vw,38px)/1.1 'Instrument Sans',sans-serif;letter-spacing:-.045em;margin:0 0 12px}
.ratings-box>p.muted{font-size:13.5px;line-height:1.6;color:#6b6e6a}
.ratings-box>p.muted:first-of-type{font:400 12px/1.6 'JetBrains Mono',monospace}
/* Native details opens immediately in the supplied vote-list reference. */
.vote-detail{padding:20px 24px;overflow:hidden}
.vote-detail summary{list-style:none}.vote-detail summary::-webkit-details-marker{display:none}
.vote-detail summary>a strong{font:inherit}
.vote-detail summary>span:not(.tag-line):not(.vote-topic-tags){font:400 11px/1.5 'JetBrains Mono',monospace;letter-spacing:.04em}
.vote-detail .vote-explanation{margin-top:18px;padding:18px 0 0;border-top:1px solid #f0f0ee;background:none;border-radius:0;opacity:1;translate:none;filter:none}
.vote-detail .vote-meaning-cards{gap:12px;margin-top:18px}
.vote-detail .vote-meaning-cards>div{padding:14px 16px;border:0;border-radius:14px}
.vote-detail .vote-meaning-for{background:#2a544314}.vote-detail .vote-meaning-against{background:#b5643c1a}
.vote-detail .vote-meaning-cards dt{font:400 10.5px/1.5 'JetBrains Mono',monospace;letter-spacing:.14em;text-transform:uppercase}
.vote-detail .vote-meaning-cards dd{margin:6px 0 0;font-size:14px;line-height:1.55}
.entity-drawer .drawer-hero{padding:64px 36px 32px;gap:22px}
.entity-drawer .drawer-content{padding:16px 36px 48px}
.entity-drawer .drawer-content>h3:first-child{margin-top:0}
.drawer-directions li{display:grid;grid-template-columns:minmax(100px,1fr) 2fr 44px;align-items:center;gap:10px;padding:5px 0;border:0;font-size:13px}
.drawer-directions li>span{color:#5f625f}.drawer-directions li small{display:block;font-size:11px;line-height:1.4;margin-top:4px;color:#6b6e6a}
.drawer-direction-track{height:8px;border-radius:99px;background:#e8e8e5;display:block;overflow:hidden}
.drawer-direction-track>b{display:block;height:100%;border-radius:99px}
.drawer-directions li>b{font:500 12px/1.4 'JetBrains Mono',monospace;text-align:right;color:#1a1d1b}
@media(max-width:600px){.entity-drawer .drawer-hero{padding:60px 22px 24px}.entity-drawer .drawer-content{padding:12px 22px 32px}}
.vote-detail summary{position:relative;padding-right:164px;min-height:60px}
.vote-detail summary>.vote-mini-bar{position:absolute;right:0;top:50%;translate:0 -50%;display:flex;width:140px;height:10px;overflow:hidden;border-radius:99px;background:#e8e8e5}
.vote-mini-bar b{display:block;height:100%}
@media(max-width:640px){.vote-detail summary{padding-right:0;padding-bottom:24px}.vote-detail summary>.vote-mini-bar{top:auto;bottom:0;left:0;translate:none}}
.vote-back{margin:clamp(56px,7vw,96px) 0 24px}.vote-back+.page-head{padding-top:0}
.source-catalogue-card{display:flex;flex-direction:column}
.source-catalogue-card h2{font:500 23px/1.15 'Instrument Sans',sans-serif;letter-spacing:-.03em}
.source-catalogue-card footer{display:flex;align-items:end;justify-content:space-between;gap:14px;margin-top:auto;padding-top:20px;border-top:1px solid #f0f0ee;color:#1a1d1b}
.source-catalogue-card>p{margin-bottom:24px}
.source-catalogue-card footer strong{display:block;font:500 32px/1 'Instrument Sans',sans-serif;letter-spacing:-.05em}
.source-catalogue-card footer small{display:block;margin-top:5px;font:400 10.5px/1.5 'JetBrains Mono',monospace;color:#6b6e6a}
.source-catalogue-card footer b{font-size:13.5px;font-weight:600;white-space:nowrap}
.entity-page-head:has(.party-back-link){position:relative;padding-right:150px}
.party-back-link{position:absolute;right:0;top:56px;padding:12px 20px;border:1px solid #e3e2de;border-radius:99px;color:#1a1d1b;text-decoration:none;font-weight:600;font-size:14px}
@media(max-width:640px){.entity-page-head:has(.party-back-link){padding-right:0;padding-bottom:64px}.party-back-link{top:auto;bottom:0;left:0;right:auto}}

.district-candidates .candidate-item>.candidate-list-number{font:400 11px/1.5 "JetBrains Mono",monospace;color:var(--muted,#6b6e6a);margin:0 0 4px}

/* Keep badge geometry unchanged while making party labels and initials legible. */
.entity-page-icon{font-size:23px;line-height:1;text-shadow:none}
.drawer-party-icon{font-size:22px;line-height:1}
.election-offer-logo{font-size:20px;line-height:1}
.district-candidates .candidate-item .district-candidate-position{font-size:14px;line-height:1}
.candidate-initials{font-size:13px;line-height:1}
.candidate-browser-card>i{font-size:14px;line-height:1}
.ballot-chart-label .ballot-party-icon{font-size:10px;line-height:1}
.ranking-party-logo{font-size:11px;line-height:1}
.promise-party i{font-size:10px;line-height:1}
.deputy-popover-icon{font-size:16px;line-height:1}
.migration-party i{font-size:16px;line-height:1}
@media(max-width:640px){.entity-page-icon{font-size:18px}}
@media(max-width:600px){.drawer-party-icon{font-size:18px}}

/* Shared party badge typography across profiles, cards and faction charts. */
.entity-page-icon,.drawer-party-icon,.election-offer-logo,.candidate-initials,.candidate-browser-card>i,.district-candidate-position,.ranking-party-logo,.promise-party i,.deputy-popover-icon,.migration-party i,.ballot-chart-row .ballot-chart-label .ballot-party-icon{font-family:'JetBrains Mono',monospace;font-weight:700;font-style:normal;letter-spacing:0;text-shadow:none}
.ballot-chart-bar>span{font:700 10px/1.2 'JetBrains Mono',monospace}
.ballot-chart-bar>.ballot-against{color:#fff}
.ballot-chart-legend{font:400 12.5px/1.5 'Figtree',sans-serif;color:#5f625f}
.ballot-chart-values b{font-weight:400}
.ballot-chart-label{min-height:0;margin-top:10px;gap:10px}
.ballot-party-heading{gap:10px}
.ballot-party-heading strong{min-height:49px}
.ballot-chart-row .ballot-chart-label .ballot-party-icon{color:#fff}

/* One quiet close control for dialogs, drawers and small profile overlays. */
button:is(.dialog-close,.entity-drawer-close,.deputy-popover-close,.ballot-popup-close){display:grid;place-items:center;width:36px;height:36px;min-width:36px;min-height:36px;padding:0;border:0!important;border-radius:50%;background-color:#e9ecea!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 6 8 8m0-8-8 8' fill='none' stroke='%231a1d1b' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E")!important;background-size:20px 20px!important;background-position:center!important;background-repeat:no-repeat!important;color:transparent!important;font-size:0!important;box-shadow:none!important;cursor:pointer;transition:background-color .2s ease}
button:is(.dialog-close,.entity-drawer-close,.deputy-popover-close,.ballot-popup-close):hover{background-color:#dce2dd!important}
button:is(.dialog-close,.entity-drawer-close,.deputy-popover-close,.ballot-popup-close):focus-visible{outline:2px solid #2a5443;outline-offset:3px}
.ballot-deputy-popup .ballot-full-profile{display:inline-block;width:auto;padding:0;margin-top:20px;border:0;border-radius:0!important;background:transparent;color:var(--ink);font:600 14px/1.5 'Figtree',sans-serif;text-align:left;text-decoration:underline;text-decoration-color:#1a1d1b4d;text-underline-offset:5px;box-shadow:none}
.ballot-deputy-popup .ballot-full-profile:hover{color:var(--green);text-decoration-color:currentColor;background:transparent}

/* Individual ballot chamber, matching the supplied ballot page. */
.vote-chamber-panel{margin-top:clamp(20px,2.5vw,32px);padding:clamp(24px,3vw,36px);border-radius:28px!important;background:#fff}
.vote-chamber-panel>h2{margin:0 0 8px}
.vote-chamber-panel>p:first-of-type{margin:0 0 18px;max-width:760px;font:400 14px/1.65 'Figtree',sans-serif;color:#5f625f;text-align:left}
.vote-chamber-panel .vote-totals{justify-content:flex-start;gap:8px;margin:0 0 18px}
.vote-chamber-panel .vote-totals b{padding:8px 14px;border-radius:99px;font:700 12px/1.5 'JetBrains Mono',monospace;background:rgba(42,84,67,.1);color:#2a5443}
.vote-chamber-panel .vote-totals b:nth-child(2){background:rgba(181,100,60,.12);color:#8f4b2b}
.vote-chamber-panel .vote-totals b:nth-child(3){background:rgba(211,163,92,.18);color:#7a5a20}
.vote-chamber-panel .vote-chamber{display:block;width:100%;height:auto;max-width:none;margin:0}
.vote-chamber-panel .vote-symbols{margin:14px 0 0;text-align:left;font:400 11px/1.6 'JetBrains Mono',monospace;letter-spacing:.06em;color:#6b6e6a}
.vote-chamber-panel .vote-party-legend{justify-content:flex-start;gap:8px 18px;margin-top:12px;padding:0;border:0;color:#5f625f}
.vote-chamber-panel .vote-party-legend span{font:400 12.5px/1.5 'Figtree',sans-serif}
.vote-chamber-panel .vote-party-legend i{width:10px;height:10px;border-radius:3px}
.vote-chamber-panel .vote-note{margin:16px 0 0;text-align:left;font:400 12.5px/1.55 'Figtree',sans-serif;color:#6b6e6a}
.vote-chamber-panel>a{display:inline-block;margin-top:12px;font:600 13.5px/1.5 'Figtree',sans-serif;color:#1a1d1b;text-decoration:underline;text-decoration-color:#1a1d1b4d;text-underline-offset:4px}

/* Complete ballot detail typography and responsive composition. */
.vote-page .page-head h1{max-width:20ch;margin:0 0 16px;font:500 clamp(32px,4.6vw,60px)/1.02 'Instrument Sans',sans-serif;letter-spacing:-.05em}
.vote-page .page-head>.portal-kicker{display:block;margin-bottom:18px}
.vote-page .page-head>p{margin:0}
.vote-page .vote-overview{align-items:start}
.vote-page .vote-explanation .vote-meaning-cards dd{margin:8px 0 0;font:400 14.5px/1.55 'Figtree',sans-serif}
.vote-page .vote-explanation .vote-meaning-cards dt{font:400 10.5px/1.5 'JetBrains Mono',monospace;letter-spacing:.14em;text-transform:uppercase}
.vote-page .vote-explanation>p:first-of-type{margin:14px 0 0}
.vote-page .vote-explanation>a{font-weight:600;color:#1a1d1b;text-decoration:underline;text-decoration-color:#1a1d1b4d;text-underline-offset:4px}
.vote-page .vote-result-pie h2{margin:0 0 18px}
.vote-page .vote-pie{width:min(200px,100%);margin:0 auto}
.vote-page .vote-pie-values{display:flex;flex-direction:column;gap:8px;max-width:none;margin-top:18px}
.vote-page .vote-pie-values>div{display:grid;grid-template-columns:10px 1fr auto auto;gap:10px;margin:0;font:400 13.5px/1.5 'Figtree',sans-serif}
.vote-page .vote-pie-values strong{font:700 13px/1.5 'JetBrains Mono',monospace}
.vote-page .vote-pie-values small{min-width:44px;font:400 11px/1.5 'JetBrains Mono',monospace}
.vote-page .vote-people-panel{margin-top:clamp(40px,5vw,64px)}
.vote-page .vote-people-panel h2{margin:0 0 18px}
.vote-page .vote-people-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.vote-page .vote-person{padding:12px 14px;border-radius:14px;gap:12px}
.vote-page .vote-person>i{width:40px;height:40px;flex-basis:40px;color:#fff;font:700 20px/1 'JetBrains Mono',monospace}
.vote-page .vote-person>span{min-width:0;display:flex;flex-direction:column;gap:2px}
.vote-page .vote-person strong{white-space:normal;overflow-wrap:anywhere;font:600 13.5px/1.35 'Figtree',sans-serif}
.vote-page .vote-person small{margin:0;font:400 11.5px/1.5 'Figtree',sans-serif;color:#6b6e6a}
@media(max-width:1000px){.vote-page .vote-people-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.vote-page .vote-people-grid{grid-template-columns:1fr}}

.vote-page .vote-person>i>svg{display:block;width:100%;height:100%;pointer-events:none}

/* Original badge lettering from the supplied redesign. */
.entity-page-icon,.drawer-party-icon,.election-offer-logo,.candidate-initials,.candidate-browser-card>i,.district-candidate-position,.ranking-party-logo,.promise-party i,.deputy-popover-icon,.migration-party i,.ballot-chart-row .ballot-chart-label .ballot-party-icon,.ballot-popup-symbol{font-family:'JetBrains Mono',monospace;font-weight:800;font-style:normal;letter-spacing:0;color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.35)}

/* Elections overview, matched to velesanas.dc.html. */
.election-offer{align-items:stretch;text-align:left;min-height:0;padding:clamp(22px,2.5vw,28px)}
.election-offer-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.election-offer-logo{width:52px;height:52px;margin:0;font-size:13px;flex-shrink:0}
.election-list-number{font:10.5px 'JetBrains Mono',monospace;letter-spacing:.14em;color:var(--muted)}
.election-offer h2{min-height:0;font-weight:500}
.election-offer-facts{display:flex;flex-wrap:wrap;gap:6px 18px;border:0;margin:0}
.election-offer-facts span{padding:0;font-size:13px}.election-offer-facts span+span{border:0}
.election-offer-facts b{display:inline;font:700 13px 'JetBrains Mono',monospace}
.election-offer>p{flex:1;margin:14px 0 0}
.election-offer>a{width:auto;align-self:flex-start;justify-content:start;gap:8px;margin:18px 0 0;padding:0;background:none;color:var(--ink);font-size:14px;font-weight:600;border-radius:0;text-decoration:underline;text-underline-offset:4px;transition:gap .2s,color .2s}
.election-offer>a:hover{gap:14px;color:#b86e4b;filter:none}
.election-summary-note{max-width:none;background:none;padding:0 0 0 18px;font-size:14px;line-height:1.65}
#electionOverview .party-wealth-totals{gap:clamp(20px,2.5vw,32px);margin:clamp(20px,2.5vw,32px) 0}
#electionOverview .party-wealth-totals>div{padding:clamp(22px,2.5vw,28px);border:0;border-radius:24px;background:#e9ecea}
#electionOverview .party-wealth-totals>div+div{background:#f0f0ee}
#electionOverview .party-wealth-totals span{font:10.5px 'JetBrains Mono',monospace;text-transform:uppercase;letter-spacing:.14em}
#electionOverview .party-wealth-totals strong{font:500 clamp(30px,3.4vw,46px)/1 'Instrument Sans',sans-serif;letter-spacing:-.05em;margin-top:10px;overflow-wrap:anywhere}
#electionOverview .candidate-pie-legend i{border-radius:3px}
#electionOverview .mini-stat{display:grid;grid-template-columns:90px 1fr 44px;gap:10px;align-items:center;font-size:13.5px;margin:12px 0}
#electionOverview .mini-stat>i{height:10px;border-radius:99px;background:#e8e8e5;overflow:hidden}
#electionOverview .mini-stat>i>b{display:block;height:100%;background:#2a5443;border-radius:99px}
#electionOverview .mini-stat>strong{font:12.5px 'JetBrains Mono',monospace;text-align:right}
.election-transitions{margin:clamp(48px,6vw,80px) 0}
.migration-modes{align-self:flex-start;gap:4px}.migration-modes button{padding:11px 18px;border:0;background:transparent;font-size:14px;font-weight:600}
.migration-grid{gap:clamp(14px,2vw,22px)}
.election-transitions .migration-card{padding:20px;border:0;border-radius:20px}
.election-transitions .migration-card summary{grid-template-columns:1fr auto 1fr;gap:10px}
.migration-party i{width:44px;height:44px;font-size:11px}
.migration-party small{font-size:11.5px;line-height:1.35}
.migration-arrow b{font:500 22px 'Instrument Sans',sans-serif;color:var(--ink)}
.migration-arrow>span{font-size:18px;color:#b86e4b}
.migration-arrow small{font:10px 'JetBrains Mono',monospace}
.migration-expand{font:10.5px 'JetBrains Mono',monospace}
.migration-selection button{font-size:13px;font-weight:600;color:var(--green)}
.migration-destinations legend{font:10.5px 'JetBrains Mono',monospace;letter-spacing:.14em;text-transform:uppercase}
.migration-destinations .party-legend label{padding:0;border:0;background:none}
.migration-destinations .party-legend label>span{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;border:2px solid var(--filter-party);background:var(--filter-party);color:white;font:700 9.5px 'JetBrains Mono',monospace;text-shadow:0 1px 2px #0004;transition:all .2s}
.migration-destinations .party-legend label:has(input:not(:checked))>span{border-color:#e3e2de;background:#f5f5f4;color:#8f918d;text-shadow:none}
.migration-destinations .party-legend input{position:absolute;opacity:0;width:1px;height:1px}
.migration-destinations .party-legend label:has(input:focus-visible)>span{outline:2px solid var(--green);outline-offset:3px}

.migration-destinations .party-legend label:has(input:checked){background:transparent;border:0;border-radius:50%}
.election-offer>a:link,.election-offer>a:visited{color:var(--ink)!important;text-decoration:none}
.election-offer>a:hover{color:#b86e4b!important}

/* Home choice mosaic. */
.info-dot-field{grid-template-columns:repeat(6,minmax(0,1fr));width:clamp(108px,13vw,180px);gap:clamp(5px,.6vw,8px)}
.info-dot-field i{width:100%;height:auto;aspect-ratio:1;border-radius:24%;background:var(--tile-green);opacity:1;transition:background-color 1.1s ease}
.info-feature a:link,.info-feature a:visited,.info-feature a:hover{color:#fff!important}
@media(max-width:550px){.info-feature-bottom{flex-wrap:wrap}.info-dot-field{width:120px;margin-left:auto}}
@media(prefers-reduced-motion:reduce){.info-dot-field i{transition:none}}

.election-party-head>div:last-child{min-width:0;flex:1;container-type:inline-size}
.election-party-head h1{font-size:clamp(28px,3.45vw,46px);font-size:clamp(28px,4.45cqi,46px);text-wrap:initial}

.party-rating-history .party-history-bars>a{flex:1 0 0;min-width:38px}

.info-dot-field{grid-template-columns:repeat(9,7px);width:87px;gap:3px}
.info-dot-field i{width:7px;height:7px;border-radius:2px;transition:background-color .4s ease}

.info-secondary-education{display:flex;align-items:baseline;gap:14px;margin-top:28px;padding-top:20px;border-top:1px solid var(--line);position:relative;z-index:1}
.info-secondary-education strong{font:500 clamp(36px,4vw,54px)/1 'Instrument Sans',sans-serif;letter-spacing:-.05em;color:#8eae96}
.info-secondary-education span{font-size:16px;line-height:1.4;color:var(--muted)}
.info-education-links{display:flex;flex-wrap:wrap;gap:8px 20px;position:relative;z-index:1;margin-top:20px}
.info-education .info-education-links a{font-size:13px;margin-top:0}
.info-education .info-watermark{pointer-events:none}

/* Keep the shared wordmark identical to SiteHeader.dc.html. */
.site-header .brand{gap:14px}
.site-header .brand-mosaic{margin-right:0}
.site-header .brand-wordmark{display:block;white-space:nowrap;font:600 21px/1 'Instrument Sans',system-ui,sans-serif;letter-spacing:-.045em;color:#1a1d1b}
.site-header .brand-wordmark strong{display:inline;font:inherit;letter-spacing:inherit;color:#1a1d1b}
.site-header .brand-wordmark strong:last-child{font-weight:400;color:#6b6e6a}

.info-education h2>strong{font-weight:600}
.info-secondary-education>span>strong{display:block;margin-top:4px;font:600 20px/1.25 'Instrument Sans',sans-serif;letter-spacing:-.025em;color:var(--ink)}

.info-professions h2{margin-top:18px}
.info-profession-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;margin-top:20px}
.info-profession-list>a{display:block;margin:0;padding:14px 0;border-top:1px solid var(--line);text-decoration:none}
.info-profession-list strong{display:block;font-size:15px;line-height:1.45;font-weight:500;overflow-wrap:anywhere}
.info-profession-list span{display:block;margin-top:6px;font-size:13px;color:var(--muted)}
.info-professions .info-profession-note{font-size:12px;line-height:1.5;margin-top:20px}
@media(max-width:550px){.info-profession-list{grid-template-columns:1fr}}

.info-profession-list{gap:12px;margin-top:28px}
.info-profession-list>a{border:0;border-radius:16px;padding:20px;background:#e9ecea;transition:transform .2s,background .2s}
.info-profession-list>a:nth-child(3n+2){background:#eee5d6}
.info-profession-list>a:nth-child(3n){background:#e4e7ed}
.info-profession-list>a:hover{transform:translateY(-3px)}
.info-profession-list strong{font:500 clamp(19px,1.8vw,25px)/1.15 'Instrument Sans',sans-serif;letter-spacing:-.03em;color:var(--ink);text-transform:none}
.info-profession-list strong::first-letter{text-transform:uppercase}
.info-profession-list span{margin-top:16px;font-size:12px}

/* Full original programme: compact, centered reading dialog. */
.programme-show-all{display:inline-block;margin-top:22px;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:var(--ink);font-family:inherit;font-size:15px;font-weight:600;line-height:1.5;text-decoration:underline;text-underline-offset:5px;text-decoration-color:#1a1d1b4d;cursor:pointer}
.programme-show-all:hover{color:var(--green);text-decoration-color:currentColor}
.programme-all-popup{box-sizing:border-box;width:min(720px,calc(100vw - 32px));max-height:82dvh;margin:auto;padding:28px;border:0;border-radius:24px;background:#fff;color:var(--ink);overflow:hidden;box-shadow:0 20px 80px #1a1d1b26}
.programme-all-popup[open]{display:flex;flex-direction:column;gap:18px}
.programme-all-popup::backdrop{background:#1a1d1b66}
.programme-all-popup header{display:flex;align-items:center;justify-content:space-between;gap:20px}
.programme-all-popup h2{margin:0;font-size:26px;line-height:1.2;letter-spacing:-.04em}
.programme-all-popup .dialog-close{position:static;flex-shrink:0}
.programme-all-popup .programme-all-intro{margin:0;color:var(--muted,#6b6e6a);font-size:14px;line-height:1.5}
.programme-all-scroll{overflow-y:auto;overscroll-behavior:contain;min-height:0;padding-right:12px}
.programme-all-scroll h3{font-size:18px;line-height:1.45;margin:32px 0 14px;color:var(--green);letter-spacing:0}
.programme-all-scroll h4{font-size:16px;line-height:1.5;margin:24px 0 10px;color:var(--green)}
.programme-all-scroll>:first-child{margin-top:0}
.programme-all-scroll p{font-size:15px;line-height:1.75;margin:0 0 16px;color:var(--ink);white-space:pre-wrap}
.programme-all-scroll ul,.programme-all-scroll ol{margin:12px 0 22px;padding-left:24px;list-style-position:outside}
.programme-all-scroll ul{list-style-type:disc}
.programme-all-scroll ol{list-style-type:decimal}
.programme-all-scroll li{padding:0 0 0 4px;margin:0 0 10px;border:0;font-size:15px;line-height:1.7;white-space:pre-wrap}
.programme-all-scroll li::before{content:none}
.programme-all-scroll li::marker{color:var(--green)}
.programme-all-scroll li>ul,.programme-all-scroll li>ol{margin-top:10px;margin-bottom:12px}
.programme-all-scroll .programme-divider{text-align:center;color:var(--green);margin:24px 0}

@media(max-width:620px){.programme-all-popup{padding:20px;max-height:86dvh}.programme-all-popup h2{font-size:23px}}

/* Saeimas chart detail card, using the shared close and text-link styles. */
.deputy-popover{box-sizing:border-box;width:min(420px,calc(100% - 28px));padding:24px;border:0;border-radius:24px;box-shadow:0 12px 40px #1a1d1b26;font-size:14px;line-height:1.55}
.deputy-popover .deputy-popover-close{top:0;float:right;margin:0 0 8px 12px}
.deputy-popover-heading{gap:14px;padding-right:0;margin-bottom:18px}
.deputy-popover-heading strong{font-size:19px;line-height:1.25;padding:0}
.deputy-popover-heading .deputy-popover-party{margin:5px 0 0;font-size:14px}
.deputy-popover p{margin:12px 0 0}
.deputy-popover-attendance-detail{font-size:13px;line-height:1.55}
.deputy-popover-unexcused{background:#f5f5f3;color:var(--muted);padding:10px 12px;border-radius:10px;font-size:13px}
.deputy-popover .deputy-profile-link{display:inline-block;width:auto;margin-top:20px;padding:0;border:0;border-radius:0!important;background:transparent;color:var(--ink);font-size:14px;font-weight:600;text-align:left;text-decoration:underline;text-decoration-color:#1a1d1b4d;text-underline-offset:5px;box-shadow:none}
.deputy-popover .deputy-profile-link:hover{color:var(--green);text-decoration-color:currentColor;background:transparent}

.chamber-panel>.party-filter{margin:12px 0 14px}
.chamber-grid{align-items:start}
.chamber-grid>.deputy-ranking{margin-top:0;height:auto;align-self:start}

.chamber-main>.chamber-wrap{margin-top:0}

.info-profession-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.info-profession-list>a{padding:16px;border-radius:14px}
.info-profession-list strong{font-size:clamp(16px,1.35vw,19px);line-height:1.3;letter-spacing:-.02em}
.info-profession-list span{margin-top:10px;font-size:12px;line-height:1.4}
@media(max-width:850px){.info-profession-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:550px){.info-profession-list{grid-template-columns:1fr}}

.candidate-company .company-loss{color:#b84b47}
.candidate-company .company-registration{display:block;margin-top:3px;color:var(--muted);font-size:12px;font-weight:400}
.candidate-companies .company-method,.candidate-companies .company-sources{font-size:13px;line-height:1.65;color:var(--muted);margin:18px 0 0}
.company-sources a:any-link{color:var(--green);text-underline-offset:3px}
.company-sources a:hover{color:var(--green-dark)}


.candidate-socials{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:18px 0}
.candidate-socials>a{display:grid;place-items:center;flex:none;width:38px;height:38px;padding:0;border:1px solid var(--line);border-radius:50%;color:#727874;background:#e9ecea;text-decoration:none;transition:background-color .2s ease,color .2s ease,border-color .2s ease,transform .2s ease}
.candidate-socials svg{width:18px;height:18px}
.candidate-socials>a:hover{color:#fff;background:var(--social-brand);border-color:var(--social-brand);transform:translateY(-1px)}
.candidate-socials>a:focus-visible{outline:2px solid var(--social-brand);outline-offset:3px}
.entity-drawer .drawer-content .candidate-socials>a:any-link{color:#727874}
.entity-drawer .drawer-content .candidate-socials>a:hover{color:#fff;background:var(--social-brand);border-color:var(--social-brand)}

.info-business-count-label{display:block;font-size:24px;line-height:1.3;letter-spacing:-.02em;margin:10px 0 24px}
.info-business .info-business-profit-note{font-size:12px;line-height:1.5}
/* Method and correction controls shared by the public data pages. */
.programme-methodology{margin:28px 0 20px;padding:18px 20px;border:1px solid var(--line,#d9ddd9);border-radius:16px;background:#f5f6f4;color:#49534e}
.programme-methodology summary{cursor:pointer;font-weight:700;color:#1d2823}
.programme-methodology p{margin:12px 0 0;font-size:.95rem;line-height:1.55}
.profile-box-source,.drawer-source-note a{display:inline-block;margin-top:16px;color:#245d4c;text-decoration:underline;text-underline-offset:4px}
.drawer-source-note{margin:28px 0 12px;color:#69716d;font-size:.92rem}
.report-error-link{display:inline-block;margin-top:16px;padding:0;border:0;background:transparent;color:inherit;font:inherit;font-weight:700;text-decoration:underline;text-underline-offset:5px;cursor:pointer}
.report-error-fixed{position:fixed;right:24px;bottom:20px;z-index:20;padding:10px 14px;border:1px solid #d3d8d4;border-radius:999px;background:rgba(255,255,255,.94);color:#245d4c;box-shadow:0 8px 24px rgba(20,42,34,.12)}
.error-report-dialog{width:min(620px,calc(100vw - 32px));max-height:calc(100vh - 32px);padding:0;border:0;border-radius:26px;background:#fbfcfa;color:#171b19;box-shadow:0 30px 90px rgba(18,36,30,.25)}
.error-report-dialog::backdrop{background:rgba(31,46,40,.36);backdrop-filter:blur(3px)}
.error-report-dialog form{position:relative;display:grid;gap:18px;padding:36px}
.error-report-dialog h2,.error-report-dialog p{margin:0}
.error-report-dialog h2{font-size:clamp(1.8rem,5vw,3rem);line-height:1}
.error-report-dialog label{display:grid;gap:8px;font-weight:700}
.error-report-dialog label small,.error-report-privacy{font-weight:400;color:#69716d}
.error-report-dialog textarea,.error-report-dialog input[type=email]{box-sizing:border-box;width:100%;border:1px solid #cbd2cd;border-radius:14px;background:#fff;color:#171b19;font:inherit}
.error-report-dialog textarea{min-height:150px;padding:14px;resize:vertical}
.error-report-dialog input[type=email]{padding:12px 14px}
.error-report-dialog textarea:focus,.error-report-dialog input:focus{outline:3px solid rgba(36,93,76,.18);border-color:#245d4c}
.error-report-close{position:absolute;top:20px;right:20px;width:46px;height:46px;border:0;border-radius:50%;background:#e9ece9;color:#1c2b25;font-size:30px;line-height:1;cursor:pointer}
.error-report-actions{display:flex;justify-content:flex-end;gap:10px}
.error-report-actions button{padding:11px 18px;border:1px solid #245d4c;border-radius:999px;background:transparent;color:#245d4c;font:inherit;font-weight:700;cursor:pointer}
.error-report-actions button[type=submit]{background:#245d4c;color:#fff}
.error-report-actions button:disabled{opacity:.55;cursor:wait}
.error-report-status{min-height:1.4em;color:#69716d}
.error-report-status.success{color:#246342}.error-report-status.error{color:#8a342e}
.error-report-trap{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
@media(max-width:640px){.error-report-dialog form{padding:30px 22px}.report-error-fixed{right:12px;bottom:12px}.error-report-close{top:14px;right:14px}}
