.portal-loading{margin:40px 0;padding:30px;border:1px solid var(--line);border-radius:18px;background:white;color:var(--muted)}
.candidate-charts{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:0 0 16px}.candidate-stat-row{display:grid;grid-template-columns:minmax(110px,1fr) 2fr 30px;align-items:center;gap:8px;margin:12px 0}.candidate-stat-row>span{color:var(--muted);font-size:12px}.candidate-stat-row>i{height:10px;overflow:hidden;border-radius:99px;background:#e7ece9}.candidate-stat-row>i>b{display:block;height:100%;border-radius:99px;background:var(--green)}.candidate-stat-row>strong{text-align:right}.declaration-list{display:grid;gap:8px}.declaration-list>div{display:flex;flex-wrap:wrap;gap:12px 28px;padding:13px;border-radius:10px;background:var(--canvas)}.declaration-list span{min-width:130px}.declaration-list small,.declaration-list b{display:block}.declaration-list small{color:var(--muted);font-size:11px}.declaration-list b{margin-top:2px}@media(max-width:850px){.candidate-charts{grid-template-columns:1fr}}
.entity-page-head{display:flex;align-items:center;gap:25px;margin:28px 0 20px;padding:38px 42px;border-radius:22px;background:transparent;color:var(--ink)}.entity-page-icon{flex:0 0 92px;width:92px;height:92px;display:grid;place-items:center;border-radius:50%;color:white;background:var(--entity-color);font:800 24px 'Instrument Sans',sans-serif;;border:0;box-shadow:none;filter:none}.entity-page-head span{font-size:11px;font-weight:800;letter-spacing:.14em}.entity-page-head h1{margin:6px 0 4px;font-size:clamp(30px,4vw,46px)}.entity-page-head p{margin:0;color:var(--muted)}@media(max-width:600px){.entity-page-head{align-items:flex-start;padding:28px 22px}.entity-page-icon{flex-basis:68px;width:68px;height:68px;font-size:18px;border:0;box-shadow:none;filter:none}.entity-page-head h1{font-size:28px}}
.election-summary-note{max-width:850px;margin:18px 0;padding:13px 16px;border-left:3px solid var(--gold);color:var(--muted);background:#fffaf0;font-size:13px}.election-offers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0}.election-offer{position:relative;display:flex;align-items:center;flex-direction:column;min-height:430px;padding:24px 22px 20px;overflow:hidden;border:0;border-radius:17px;background:white;box-shadow:none;text-align:center;transition:none}.election-offer:before{content:none}.election-offer:hover{transform:none;box-shadow:none}.election-offer-logo{position:relative;width:76px;height:76px;display:grid;place-items:center;margin:4px auto 14px;border-radius:50%;color:white;background:var(--list-color);font:800 20px 'Instrument Sans',sans-serif;;border:0;box-shadow:none;filter:none}.election-list-number{color:var(--list-color);font-size:11px;font-weight:800;letter-spacing:.12em}.election-offer h2{min-height:52px;margin:7px 0 13px;font:700 17px/1.35 'Instrument Sans',sans-serif}.election-offer-facts{width:100%;display:grid;grid-template-columns:1fr 1fr;margin-bottom:14px;border-block:1px solid var(--line)}.election-offer-facts span{padding:11px 5px;color:var(--muted);font-size:11px}.election-offer-facts span+span{border-left:1px solid var(--line)}.election-offer-facts b{display:block;color:var(--ink);font-size:18px}.election-offer>p{margin:0;color:var(--muted);font-size:13px;line-height:1.5;text-align:left}.election-offer>a{width:100%;display:flex;justify-content:space-between;margin-top:auto;padding:11px 13px;border-radius:9px;color:white;background:var(--list-color);font-size:13px;font-weight:800;text-decoration:none}.election-offer>a:hover{filter:brightness(.93)}@media(max-width:920px){.election-offers{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:590px){.election-offers{grid-template-columns:1fr}.election-offer{min-height:390px}}
.coalition-intro{margin:25px 0 16px;padding:28px;border-radius:17px;color:white;background:#173e31}.coalition-intro>span{color:var(--lime);font-size:11px;font-weight:800;letter-spacing:.12em}.coalition-intro h2{margin:6px 0 10px;font-size:28px}.coalition-intro p{max-width:900px;color:rgba(255,255,255,.74)}.coalition-intro>div{margin-top:16px;padding:12px 14px;border:1px solid rgba(255,255,255,.18);border-radius:10px;background:rgba(255,255,255,.07);font-size:12px}.coalition-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.coalition-card{position:relative;padding:23px;border:1px solid var(--line);border-top:5px solid #d0a441;border-radius:16px;background:white;box-shadow:var(--shadow)}.coalition-card.strong{border-top-color:var(--green)}.coalition-card.weak{border-top-color:#b7bdb9}.coalition-card header{display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:11px;font-weight:700;letter-spacing:.06em}.coalition-card header b{color:var(--ink);letter-spacing:0}.coalition-card h3{margin:12px 0 8px;font:700 21px 'Instrument Sans',sans-serif}.coalition-parties{display:flex;flex-wrap:wrap;gap:5px}.coalition-parties i{padding:4px 8px;border-radius:6px;color:white;background:var(--party);font-size:11px;font-style:normal;font-weight:800}.coalition-card svg{display:block;width:100%;margin:3px 0 -5px}.coalition-score{fill:var(--ink);font:800 27px 'Instrument Sans',sans-serif;text-anchor:middle}.coalition-score-label{fill:var(--muted);font:700 8px 'Instrument Sans',sans-serif;letter-spacing:.12em;text-anchor:middle}.coalition-card p{margin:8px 0;color:var(--muted);font-size:13px;line-height:1.48}.coalition-card p strong{color:var(--ink)}.coalition-method{margin:16px 0 50px;padding:24px;border:1px solid var(--line);border-radius:14px;background:#fffaf0}.coalition-method p{color:var(--muted)}.coalition-method a{color:var(--green);font-weight:700;text-decoration:none}@media(max-width:760px){.coalition-grid{grid-template-columns:1fr}.coalition-card{padding:18px}.coalition-card header{align-items:start;flex-direction:column}.coalition-card svg{max-height:300px}}
.candidate-item{display:block!important;color:inherit;text-decoration:none}.candidate-item:hover{border-color:#9dbdae;background:#f7faf8}.experience-badge{display:inline-block;margin-top:8px;padding:4px 8px;border-radius:99px;color:var(--green);background:var(--green-soft);font-size:11px}.previous-term{border-top:4px solid var(--green)}.previous-term>p{color:var(--muted)}.previous-term h3{margin-top:28px}.inline-link{width:max-content;max-width:100%;margin-top:22px}
.data-provenance{display:flex;gap:14px;margin:12px 0;font-size:12px}.data-provenance a{color:var(--green);font-weight:700;text-decoration:none}.portal-card>strong{display:block;margin-top:14px;color:var(--green)}code{overflow-wrap:anywhere}.vote-detail summary{cursor:pointer}.vote-detail summary::marker{color:var(--green)}.vote-detail>p{color:var(--muted)}.tag-line{display:flex!important;flex-wrap:wrap;gap:5px;margin-top:8px}.tag-line i{padding:3px 7px;border-radius:99px;color:var(--green);background:var(--green-soft);font-size:11px;font-style:normal}.ratings-box,.coalition-note{margin:18px 0}.ratings-chart{display:grid;gap:10px}.rating-row{display:grid;grid-template-columns:55px minmax(120px,1fr) 60px 55px;gap:10px;align-items:center}.rating-track{height:18px;border-radius:4px;background:#e6ebe8}.rating-track i{display:block;height:100%;border-radius:4px}.rating-row .up{color:var(--green)}.rating-row .down{color:#c33}.coalition-note{border-left:4px solid var(--gold)}
.mini-stat{display:grid;grid-template-columns:90px 1fr 42px;gap:9px;align-items:center;margin:9px 0}.mini-stat i{height:10px;border-radius:99px;background:#e6ebe8}.mini-stat b{display:block;height:100%;border-radius:99px;background:var(--green)}.mini-stat>span{color:var(--muted);font-size:12px}.programme-bullets{columns:2;column-gap:35px}.programme-bullets li{break-inside:avoid;margin:0 0 10px}@media(max-width:650px){.programme-bullets{columns:1}}
.page-head{margin:28px 0 20px;padding:42px;border-radius:22px;color:white;background:linear-gradient(130deg,var(--green-dark),#175a47)}.page-head h1{font-size:clamp(34px,5vw,52px)}.page-head p{max-width:720px;margin:12px 0 0;color:rgba(255,255,255,.72);font-size:16px}
.portal-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:20px 0 50px}.portal-card{display:block;padding:24px;border:1px solid var(--line);border-radius:16px;background:white;color:inherit;text-decoration:none;box-shadow:var(--shadow)}.portal-card:hover{border-color:#9dbdae;transform:translateY(-2px)}.portal-card h2,.portal-card h3{margin:8px 0;font:700 20px 'Instrument Sans',sans-serif}.portal-card p{margin:0;color:var(--muted)}.portal-kicker{color:var(--green);font-size:12px;font-weight:700;letter-spacing:.08em}.party-swatch{width:36px;height:8px;border-radius:99px}.profile-layout{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:50px}.profile-box{padding:26px;border:1px solid var(--line);border-radius:17px;background:white;box-shadow:var(--shadow)}.profile-box.wide{grid-column:1/-1}.profile-box h2{margin:0 0 16px}.fact-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.fact{padding:14px;border-radius:11px;background:var(--canvas)}.fact span{display:block;color:var(--muted);font-size:12px}.fact strong{display:block;margin-top:4px;font-size:20px}.entity-list{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.entity-row{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid var(--line);border-radius:11px;color:inherit;text-decoration:none}.entity-row:hover{background:#f7faf8}.entity-row span{display:block;color:var(--muted);font-size:12px}.direction-row{display:grid;grid-template-columns:minmax(160px,1fr) 3fr 70px;gap:12px;align-items:center;margin:10px 0}.direction-track{height:12px;overflow:hidden;border-radius:99px;background:#edf1ef}.direction-fill{height:100%;border-radius:99px;background:var(--green)}.search-page{margin:20px 0 50px;padding:26px;border:1px solid var(--line);border-radius:17px;background:white}.search-page input{margin-bottom:16px}.candidate-list{display:grid;gap:8px}.candidate-item{padding:14px;border:1px solid var(--line);border-radius:10px}.candidate-item strong,.candidate-item span{display:block}.candidate-item span{color:var(--muted);font-size:12px}@media(max-width:800px){.portal-grid,.profile-layout,.entity-list{grid-template-columns:1fr}.profile-box.wide{grid-column:auto}.page-head{padding:30px 24px}.fact-grid{grid-template-columns:1fr}.direction-row{grid-template-columns:1fr}.header-inner nav{display:none}}

.direction-method{margin:20px 0;padding:18px 20px;border-left:4px solid var(--gold);border-radius:0 12px 12px 0;background:#fffaf0}.direction-method p{max-width:900px;margin:5px 0 0;color:var(--muted);line-height:1.55}.direction-controls{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:20px 0;padding:18px;border:1px solid var(--line);border-radius:14px;background:white}.direction-controls label{min-width:min(520px,55%);color:var(--muted);font-size:12px;font-weight:700}.direction-controls select{display:block;margin-top:6px}.direction-type-tabs{display:flex;gap:5px;padding:4px;border-radius:10px;background:var(--canvas)}.direction-type-tabs button{padding:10px 14px;border:0;border-radius:8px;color:var(--muted);background:transparent;font-weight:700;cursor:pointer}.direction-type-tabs button.active{color:white;background:var(--green)}.direction-loading{padding:35px;color:var(--muted);text-align:center}.direction-overview{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:14px}.direction-overview article{padding:20px;border:1px solid var(--line);border-radius:14px;background:white}.direction-overview span,.direction-panel>span,.direction-panel-head>div>span{display:block;color:var(--green);font-size:11px;font-weight:800;letter-spacing:.1em}.direction-overview strong{display:block;margin:7px 0 3px;font:700 30px 'Instrument Sans',sans-serif}.direction-overview small{color:var(--muted)}.direction-panel{padding:25px;border:1px solid var(--line);border-radius:16px;background:white;box-shadow:var(--shadow)}.direction-panel h2{margin:5px 0 20px}.direction-panel-head{display:flex;align-items:end;justify-content:space-between;gap:20px}.alignment-legend{display:flex;gap:22px;color:var(--muted);font-size:11px}.alignment-legend span:before{content:'';display:inline-block;width:9px;height:9px;margin-right:5px;border-radius:50%;background:#d36a70}.alignment-legend span:last-child:before{background:var(--green)}.alignment-list{display:grid;gap:3px}.alignment-row{display:grid;grid-template-columns:minmax(180px,1fr) 3fr 56px;align-items:center;gap:18px;padding:11px 0;border-top:1px solid #edf1ef;color:inherit;text-decoration:none}.alignment-row:hover{background:#f9fbfa}.alignment-name{display:grid;grid-template-columns:10px 1fr;align-items:center;gap:0 9px}.alignment-name>i{grid-row:1/3;width:10px;height:28px;border-radius:4px}.alignment-name b{font-size:13px}.alignment-name small{color:var(--muted)}.alignment-scale{position:relative;height:13px;overflow:visible;border-radius:99px;background:#efdadd}.alignment-scale>i{display:block;height:100%;border-radius:99px;background:var(--green)}.alignment-scale>em{position:absolute;top:-4px;width:2px;height:21px;background:#263c34;transform:translateX(-1px)}.alignment-row>strong{text-align:right}.direction-people{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:14px 0}.direction-people ol{margin:0;padding:0;list-style:none}.direction-people li{display:grid;grid-template-columns:22px 1fr 45px;align-items:center;gap:9px;padding:10px 0;border-top:1px solid #edf1ef}.direction-people li>span{color:#98a19d;text-align:right}.direction-people li a{color:inherit;text-decoration:none}.direction-people li a:hover b{color:var(--green)}.direction-people li b,.direction-people li small{display:block}.direction-people li small{margin-top:2px;color:var(--muted)}.direction-people li>strong{text-align:right}.evidence{margin-bottom:50px}.evidence details{padding:14px 0;border-top:1px solid var(--line)}.evidence summary{cursor:pointer}.evidence summary b,.evidence summary small{display:block}.evidence summary small{margin-top:4px;color:var(--muted)}.evidence details p{color:var(--muted)}.evidence details a{color:var(--green);font-weight:700;text-decoration:none}
@media(max-width:760px){.direction-controls{align-items:stretch;flex-direction:column}.direction-controls label{min-width:0;width:100%}.direction-type-tabs{overflow:auto}.direction-overview,.direction-people{grid-template-columns:1fr}.direction-panel-head{align-items:start;flex-direction:column}.alignment-row{grid-template-columns:1fr 50px}.alignment-scale{grid-column:1/-1;grid-row:2}.alignment-row>strong{grid-column:2;grid-row:1}.alignment-legend{display:none}}
.candidate-charts.party-official{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:850px){.candidate-charts.party-official{grid-template-columns:1fr}}

/* Vienots partiju programmu kopsavilkuma bloks. */
.profile-box:has(.programme-bullets){padding:34px 38px;border-top:6px solid var(--green);background:linear-gradient(180deg,#fff 0,#fbfdfc 100%)}
.profile-box:has(.programme-bullets)>h2{margin-bottom:8px;font-size:30px;letter-spacing:-.025em}
.profile-box:has(.programme-bullets)>h2+p{max-width:920px;margin:0 0 28px;color:#44534d;font-size:17px;line-height:1.65}
.programme-bullets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;padding:0;columns:auto;counter-reset:promise;list-style:none}
.programme-bullets li{position:relative;min-height:76px;margin:0;padding:18px 18px 18px 56px;border:1px solid #dce6e1;border-radius:13px;background:#fff;color:var(--ink);font-size:14px;line-height:1.5;break-inside:auto;counter-increment:promise}
.programme-bullets li::before{content:counter(promise);position:absolute;top:17px;left:17px;width:26px;height:26px;display:grid;place-items:center;border-radius:50%;color:#fff;background:var(--green);font:800 11px 'Instrument Sans',sans-serif}
.programme-content{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,300px);gap:clamp(28px,4vw,70px);align-items:center;margin-top:26px}
.programme-content .programme-bullets{grid-template-columns:repeat(2,minmax(0,1fr))}
.programme-promise-chart{display:grid;justify-items:center;gap:22px;min-width:0}
.programme-donut{width:min(210px,100%);aspect-ratio:1;display:grid;place-items:center;border-radius:50%;background:conic-gradient(var(--green) 0 var(--assessable-share),var(--chart-sand) var(--assessable-share) 100%);position:relative}
.programme-donut::after{content:'';position:absolute;inset:24%;border-radius:50%;background:var(--surface)}
.programme-donut span{position:relative;z-index:1;display:grid;justify-items:center;line-height:1}
.programme-donut b{font-size:34px}.programme-donut small{margin-top:7px;color:var(--muted);font-size:12px}
.programme-chart-legend{display:grid;width:min(260px,100%);gap:10px;color:var(--muted);font-size:13px}
.programme-chart-legend span{display:grid;grid-template-columns:12px minmax(0,1fr) auto;align-items:center;gap:9px}
.programme-chart-legend i{width:12px;height:12px;border-radius:3px}.programme-chart-legend b{color:var(--ink)}
.programme-assessable{background:var(--green)}.programme-subjective{background:var(--chart-sand)}
@media(max-width:900px){.programme-content{grid-template-columns:1fr}.programme-promise-chart{grid-template-columns:minmax(150px,190px) minmax(220px,300px);justify-content:center}.programme-content .programme-bullets{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.programme-content .programme-bullets{grid-template-columns:1fr}.programme-promise-chart{grid-template-columns:1fr}}
.profile-box:has(.programme-bullets) .unavailable-data{margin:24px 0 14px;padding:13px 15px;border-left-color:var(--gold);font-size:12px;line-height:1.55}
.profile-box:has(.programme-bullets)>.dialog-source{display:inline-flex;align-items:center;padding:10px 14px;border:1px solid var(--green);border-radius:9px;color:var(--green);font-size:13px;font-weight:800;text-decoration:none}
.profile-box:has(.programme-bullets)>.dialog-source:hover{color:#fff;background:var(--green)}
@media(max-width:700px){.profile-box:has(.programme-bullets){padding:26px 20px}.profile-box:has(.programme-bullets)>h2{font-size:25px}.programme-bullets{grid-template-columns:1fr}.programme-bullets li{min-height:0}}
.rating-period-control{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:20px 0;padding:18px 22px;border:1px solid var(--line);border-radius:14px;background:#fff}.rating-period-control label{color:var(--muted);font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.rating-period-control select{min-width:280px}.rating-row{grid-template-columns:minmax(190px,260px) minmax(160px,1fr) 60px 55px}.rating-row>strong{font-size:13px}.ratings-box>h2{margin-bottom:22px}@media(max-width:650px){.rating-period-control{align-items:stretch;flex-direction:column}.rating-period-control select{min-width:0;width:100%}.rating-row{grid-template-columns:1fr 52px 45px}.rating-row>strong{grid-column:1/-1}.rating-track{grid-column:1}}

/* Programmas saglabā plašāku, redakcionāli attīrītu divu sleju formu. */
.profile-box:has(.programme-bullets){border-top-width:4px}
.programme-bullets{display:block;margin:4px 0 0;padding-left:24px;columns:2;column-gap:54px;list-style:disc}
.programme-bullets li{min-height:0;margin:0 0 14px;padding:0 8px 0 2px;border:0;border-radius:0;background:transparent;font-size:15px;line-height:1.58;break-inside:avoid;counter-increment:none}
.programme-bullets li::before{content:none}
.programme-bullets li::marker{color:var(--green);font-size:1.15em}
@media(max-width:700px){.programme-bullets{columns:1;column-gap:0}}
.candidate-pie-card{display:grid;grid-template-columns:150px 1fr;align-items:center;gap:14px}.candidate-pie-card>h2{grid-column:1/-1}.candidate-pie{position:relative;width:142px;aspect-ratio:1;display:grid;place-content:center;border-radius:50%;background:var(--pie)}.candidate-pie::after{content:'';position:absolute;inset:27px;border-radius:50%;background:#fff}.candidate-pie strong,.candidate-pie span{position:relative;z-index:1;text-align:center}.candidate-pie strong{font:800 25px 'Instrument Sans',sans-serif}.candidate-pie span{max-width:82px;color:var(--muted);font-size:10px}.candidate-pie-legend{display:grid;gap:8px}.candidate-pie-legend>div{display:grid;grid-template-columns:9px 1fr auto;align-items:center;gap:7px;font-size:11px}.candidate-pie-legend i{width:9px;height:9px;border-radius:50%}.candidate-pie-legend span{color:var(--muted)}.party-wealth-totals{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:-2px 0 18px}.party-wealth-totals>div{padding:18px;border:1px solid var(--line);border-radius:13px;background:#fff}.party-wealth-totals span,.party-wealth-totals strong{display:block}.party-wealth-totals span{color:var(--muted);font-size:11px}.party-wealth-totals strong{margin-top:5px;font-size:20px}.recent-payments{margin:18px 0 0;padding:0;list-style:none}.recent-payments li{display:flex;align-items:start;justify-content:space-between;gap:15px;padding:10px 0;border-top:1px solid var(--line)}.recent-payments strong,.recent-payments span{display:block}.recent-payments span{margin-top:2px;color:var(--muted);font-size:11px}.recent-payments>li>b{white-space:nowrap}@media(max-width:1050px){.candidate-pie-card{grid-template-columns:1fr}.candidate-pie{margin:auto}}@media(max-width:700px){.party-wealth-totals{grid-template-columns:1fr}}

/* Sākumlapas saukļa redakcionālais akcents. */
.infographic-intro h1{max-width:1050px;line-height:1.02}
.infographic-intro h1 em{position:relative;display:inline-block;margin-left:clamp(0px,4vw,64px);padding-bottom:10px}
.infographic-intro h1 em::after{content:'';position:absolute;left:2px;bottom:0;width:38%;height:4px;border-radius:99px;background:var(--gold)}
@media(max-width:550px){.infographic-intro h1 em{margin-left:0}}
.finance-period{margin:8px 0 18px;color:var(--muted);font-size:12px}
.profile-layout>.profile-box:has(>.candidate-list){grid-column:1/-1}.profile-box>.candidate-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.profile-box>.candidate-list .candidate-item{display:grid!important;grid-template-columns:48px minmax(0,1fr);grid-template-rows:auto auto auto;align-items:center;column-gap:13px;min-height:76px}.candidate-initials{grid-column:1;grid-row:1/-1;width:46px;height:46px;display:grid;place-items:center;border-radius:50%;color:#fff;background:var(--candidate-party);font:800 13px 'Instrument Sans',sans-serif;font-style:normal}.profile-box>.candidate-list .candidate-item>strong,.profile-box>.candidate-list .candidate-item>span,.profile-box>.candidate-list .candidate-item>.experience-badge{grid-column:2}.profile-box>.candidate-list .candidate-item>strong{overflow-wrap:anywhere}.profile-box>.candidate-list .candidate-item>.experience-badge{justify-self:start;margin-top:5px}@media(max-width:700px){.profile-box>.candidate-list{grid-template-columns:1fr}}

.vote-chamber-panel,.vote-people-panel{margin:24px 0;padding:28px;background:#f3f3ee;border-radius:18px}.vote-chamber{display:block;width:100%;max-width:980px;margin:16px auto}.vote-chamber text{font:bold 20px sans-serif;fill:#17241e;pointer-events:none}.vote-chamber a:hover circle,.vote-chamber a:focus circle{stroke:#17241e;stroke-width:3}.vote-totals,.vote-party-legend{display:flex;justify-content:center;gap:18px;flex-wrap:wrap}.vote-totals b{font-size:20px}.vote-party-legend span{display:flex;align-items:center;gap:7px;font-size:13px}.vote-party-legend i{width:12px;height:12px;border-radius:50%}.vote-symbols,.vote-note{text-align:center;color:#59635d;font-size:14px}.vote-people-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 24px}.vote-person{display:flex;gap:12px;align-items:center;padding:12px 0;color:inherit;text-decoration:none;border-bottom:1px solid #daddd6}.vote-person:hover strong{text-decoration:underline}.vote-person i{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;border-radius:50%;font-style:normal;font-weight:800;color:#17241e}.vote-person small{display:block;margin-top:4px;color:#59635d}.candidate-profile .profile-box{background:#f3f3ee;border:0;box-shadow:none}.candidate-profile .fact,.candidate-profile .declaration-list>div{background:transparent;border:0;border-bottom:1px solid #daddd6;border-radius:0}.candidate-bio p{line-height:1.8}.candidate-bio a{font-size:13px;color:var(--green)}
@media(max-width:1000px){.vote-people-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.vote-people-grid{grid-template-columns:1fr}.vote-chamber-panel,.vote-people-panel{padding:16px}.vote-totals b{font-size:16px}}

/* Page titles follow the content edge, without a separate banner. */
.page-head,.entity-page-head { margin:0 0 24px; padding:48px 0 28px; border:0; border-radius:0; background:none; box-shadow:none; color:var(--ink); }
.page-head .portal-kicker,.entity-page-head span { color:var(--muted); }
.page-head h1 { margin-top:10px; font-size:clamp(34px,4.5vw,52px); }
.page-head p { color:var(--muted); max-width:850px; }
@media(max-width:1100px) { .header-inner nav { display:flex; } }
@media(max-width:600px) {
 .page-head,.entity-page-head { padding:32px 0 20px; margin-bottom:20px; }
 .entity-page-head { gap:16px; }
}

#electionOverview { margin-bottom:48px; }
.election-transitions { margin:28px 0; }
.election-transitions details { border-bottom:1px solid var(--line); padding:14px 0; }
.election-transitions summary { display:flex; justify-content:space-between; align-items:center; gap:20px; cursor:pointer; }
.election-transitions summary strong { color:var(--green); }
.election-transitions details>div { display:flex; flex-wrap:wrap; gap:10px 20px; padding:16px 0 4px; }
.election-transitions a { color:var(--green); }

/* Compact candidate tiles within each electoral district. */
.profile-box>.candidate-list { grid-template-columns:repeat(6,minmax(0,1fr)); gap:12px; }
.profile-box>.candidate-list .candidate-item {
  display:flex!important; flex-direction:column; align-items:center;
  justify-content:flex-start; gap:10px; min-width:0; min-height:0;
  padding:20px 12px 16px; text-align:center;
}
.profile-box>.candidate-list .candidate-initials { flex-shrink:0; width:48px; height:48px; margin:0 0 2px; }
.profile-box>.candidate-list .candidate-item>strong {overflow-wrap:anywhere}
.profile-box>.candidate-list .candidate-item>span {
  font-size:12px; line-height:1.5; overflow-wrap:anywhere;
  display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; overflow:hidden;
}
.profile-box>.candidate-list .candidate-item>.experience-badge { margin-top:auto; font-size:10px; padding:4px 7px; }
@media(max-width:1050px) { .profile-box>.candidate-list { grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media(max-width:760px) { .profile-box>.candidate-list { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:560px) { .profile-box>.candidate-list { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; } }
@media(max-width:350px) { .profile-box>.candidate-list { grid-template-columns:1fr; } }

.migration-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; align-items:start; }
.election-transitions .migration-card { padding:20px; border:1px solid var(--line); border-radius:14px; background:white; }
.election-transitions .migration-card summary { display:grid; grid-template-columns:1fr 64px 1fr; gap:12px 6px; text-align:center; list-style:none; }
.migration-card summary::-webkit-details-marker { display:none; }
.migration-party { display:flex; flex-direction:column; align-items:center; gap:10px; align-self:start; min-width:0; }
.migration-party i { width:58px; height:58px; border-radius:50%; display:grid; place-items:center; color:white; font-style:normal; font-weight:700; }
.migration-party small { font-size:12px; line-height:1.4; overflow-wrap:anywhere; }
.migration-arrow { display:flex; flex-direction:column; align-self:start; align-items:center; }
.migration-arrow b { color:var(--green); font-size:18px; }
.migration-arrow>span { font-size:25px; line-height:1.2; color:var(--muted); }
.migration-arrow small { color:var(--muted); font-size:11px; }
.migration-expand { grid-column:1/-1; color:var(--muted); font-size:12px; margin-top:6px; }
.migration-card[open] .migration-expand { color:var(--green); }
.election-transitions .migration-people { flex-direction:column; border-top:1px solid var(--line); margin-top:16px; }
@media(max-width:950px) { .migration-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) { .migration-grid { grid-template-columns:1fr; } }

.migration-modes { display:flex; flex-wrap:wrap; gap:8px; margin:20px 0; }
.migration-modes button { padding:10px 16px; border:1px solid var(--line); border-radius:8px; background:white; color:var(--muted); cursor:pointer; }
.migration-modes button.active { background:var(--green); color:white; border-color:var(--green); }
.migration-people>div { display:flex; flex-direction:column; align-items:start; gap:4px; }
.migration-mp { font-size:11px; color:var(--green); }
.migration-people .migration-source { font-size:11px; color:var(--muted); }

.migration-card[hidden],.migration-show-all[hidden] { display:none; }
.migration-show-all { display:block; margin:22px auto 0; padding:10px 20px; border:0; background:transparent; color:var(--green); font-size:13px; cursor:pointer; box-shadow:none; }
.migration-show-all:hover { text-decoration:underline; }

.migration-controls { display:flex; align-items:flex-start; gap:20px; margin:20px 0; }
.migration-controls .migration-modes { flex:0 0 auto; margin:22px 0 0; }
.migration-destinations { min-width:0; flex:1; margin:0; }
.migration-selection { display:flex; gap:14px; margin-top:8px; }
.migration-selection button { border:0; padding:0; background:none; color:var(--muted); font-size:11px; cursor:pointer; }
.migration-selection button:hover { color:var(--green); text-decoration:underline; }
@media(max-width:1050px) { .migration-controls { flex-wrap:wrap; } .migration-controls .migration-modes { margin:0; } .migration-destinations { flex-basis:100%; } }

/* Destination filters sit below the two migration view buttons. */
.migration-controls { flex-direction:column; align-items:stretch; gap:16px; }
.migration-controls .migration-modes { margin:0; flex:initial; }
.migration-controls .migration-destinations { flex:initial; width:100%; }

/* Voting views use the shared white panels and quiet links. */
.page-back-link { display:inline-block; color:var(--green); text-decoration:none; font-size:14px; font-weight:600; }
.page-back-link:hover { text-decoration:underline; }
.votes-page>.data-provenance { margin:0 0 14px; }
.votes-page>.search-page { padding:24px; box-shadow:none; }
#semanticVotes { gap:0; }
#semanticVotes .vote-detail { border:0; border-bottom:1px solid var(--line); border-radius:0; padding:20px 0; background:none; }
#semanticVotes .vote-detail:last-child { border-bottom:0; }
#semanticVotes .vote-detail summary { position:relative; display:block; padding-right:28px; list-style:none; }
#semanticVotes .vote-detail summary::-webkit-details-marker { display:none; }
#semanticVotes .vote-detail summary::after { content:'⌄'; position:absolute; top:0; right:2px; color:var(--muted); }
#semanticVotes .vote-detail[open] summary::after { content:'⌃'; }
#semanticVotes .vote-detail summary>a { color:var(--ink); text-decoration:none; font-size:16px; line-height:1.5; }
#semanticVotes .vote-detail summary>a:hover { color:var(--green); text-decoration:underline; }
#semanticVotes .vote-detail summary>span { margin-top:7px; font-size:13px; }
#semanticVotes .tag-line i { border-radius:5px; }
#semanticVotes .tag-line .unclassified { color:var(--muted); background:var(--canvas); }
.vote-page .page-head h1 { font-size:clamp(28px,3.5vw,42px); line-height:1.2; max-width:1000px; }
.vote-chamber-panel,.vote-people-panel { padding:26px; border:1px solid var(--line); background:var(--surface); border-radius:17px; box-shadow:none; }
.vote-chamber-panel>h2,.vote-people-panel>h2 { margin:0 0 16px; font-size:24px; }
.vote-chamber-panel>p:first-of-type { color:var(--muted); font-size:14px; }
.vote-chamber { max-width:780px; margin:24px auto 12px; }
.vote-chamber text { font-size:16px; font-weight:600; }
.vote-totals { justify-content:flex-start; gap:10px; margin:22px 0 0; }
.vote-totals b { padding:10px 16px; border-radius:8px; background:var(--canvas); font-size:16px; font-weight:600; }
.vote-party-legend { padding:18px 0; border-top:1px solid var(--line); gap:10px 20px; }
.vote-symbols,.vote-note { font-size:12px; color:var(--muted); }
.vote-chamber-panel>a { color:var(--green); font-size:13px; text-decoration:none; }
.vote-chamber-panel>a:hover { text-decoration:underline; }
.vote-people-grid { gap:12px; }
.vote-person { padding:14px; border:1px solid var(--line); border-radius:10px; gap:12px; min-width:0; }
.vote-person:hover { background:var(--canvas); }
.vote-person strong { font-size:14px; overflow-wrap:anywhere; }
.vote-person small { font-size:12px; color:var(--muted); }
.vote-person i { width:38px; height:38px; flex-basis:38px; font-weight:600; }
@media(max-width:600px) { .votes-page>.search-page,.vote-chamber-panel,.vote-people-panel { padding:18px; } .vote-totals { gap:6px; } .vote-totals b { padding:8px 10px; font-size:14px; } }
.voting-tabs{display:flex;gap:10px;margin:24px 0;flex-wrap:wrap}.voting-tabs a{padding:11px 18px;border-radius:8px;color:var(--muted,#67756f);text-decoration:none;background:#e9eeeb}.voting-tabs a.active{background:#14644f;color:white}.vote-filter{display:flex;align-items:center;gap:14px;margin:18px 0}.vote-filter select{padding:10px;border:1px solid #dce4df;border-radius:8px;background:white;font:inherit}.vote-explanation{padding:24px 0;margin:16px 0;border-top:1px solid #dce4df}.vote-explanation p{max-width:90ch;line-height:1.65}.vote-explanation dl{display:grid;grid-template-columns:50px 1fr;gap:12px;margin:18px 0}.vote-explanation dt{font-weight:700}.vote-explanation dd{margin:0}.vote-explanation a{color:#14644f}.vote-pagination{display:flex;align-items:center;justify-content:center;gap:20px;margin-top:24px}.vote-pagination button{padding:10px 16px;background:#e9eeeb;color:#14644f;border:0;border-radius:8px;font:inherit}.vote-pagination button:disabled{opacity:.4}
.vote-topic-cloud-panel{display:block;width:100%;padding:26px 0 22px;margin:6px 0 28px;border-block:1px solid var(--line)}.vote-topic-cloud-panel h2{font-size:26px;margin:8px 0}.vote-topic-cloud-panel p{font-size:14px;line-height:1.6;color:var(--muted);max-width:none;margin:0 0 14px}.vote-topic-cloud{display:flex;align-items:center;justify-content:center;align-content:center;flex-wrap:wrap;column-gap:15px;row-gap:12px;width:100%;min-height:118px}.vote-topic-cloud button{border:0;background:transparent;padding:2px 4px;color:var(--green);font:inherit;font-size:calc(13px + var(--topic-scale) * 23px);font-weight:calc(500 + var(--topic-scale) * 220);line-height:1.08;letter-spacing:-.02em;cursor:pointer}.vote-topic-cloud button:nth-child(4n+2){color:#356f63}.vote-topic-cloud button:nth-child(4n+3){color:#6b756f}.vote-topic-cloud button:nth-child(4n+4){color:#9a6a28}.vote-topic-cloud button:hover,.vote-topic-cloud button.active{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:5px}.vote-topic-cloud button.active{color:var(--ink)}.vote-topic-cloud small{font-size:10px;font-weight:500;margin-left:3px;vertical-align:top;opacity:.65}.vote-topic-tags{display:flex;flex-wrap:wrap;column-gap:9px;row-gap:7px;margin:10px 0}.vote-topic-tags i{display:inline-flex;padding:5px 9px;border:1px solid #cbded6;border-radius:999px;background:#f4f8f6;color:var(--green);font-size:11px;font-style:normal;line-height:1.2}.vote-detail summary>.vote-topic-tags{display:flex;margin:8px 0 0}.vote-explanation>.vote-topic-tags{display:flex;margin:14px 0 4px}@media(max-width:760px){.vote-topic-cloud-panel{padding:22px 0 18px}.vote-topic-cloud{justify-content:flex-start;min-height:0;row-gap:10px}.vote-topic-cloud button{font-size:calc(13px + var(--topic-scale) * 17px)}}
.ballot-deputy-popup{position:fixed;width:min(480px,calc(100vw - 32px));max-height:calc(100dvh - 32px);box-sizing:border-box;margin:auto;padding:28px;border:1px solid var(--line,#dce4df);border-radius:16px;background:var(--canvas,#f4f6f4);color:var(--ink,#14271f);overflow:auto;box-shadow:none}
.ballot-deputy-popup::backdrop{background:rgb(15 35 28 / 25%)}
.ballot-popup-close{display:block;margin:0 0 12px auto;border:0;background:none;color:inherit;font-size:26px;cursor:pointer;width:36px;height:36px}
.ballot-deputy-popup header{display:flex;gap:16px;align-items:center}.ballot-deputy-popup h2{font-size:25px;line-height:1.2;margin:8px 0;overflow-wrap:anywhere}.ballot-deputy-popup header p{margin:0;color:var(--muted)}
.ballot-popup-symbol{display:grid;place-items:center;flex:0 0 52px;width:52px;height:52px;border-radius:50%;font-style:normal;font-size:24px}.ballot-deputy-popup dl{display:grid;grid-template-columns:1fr 1fr;gap:10px 18px;margin:24px 0;font-size:14px}.ballot-deputy-popup dt{color:var(--muted)}.ballot-deputy-popup dd{margin:0;font-weight:600}.ballot-deputy-popup p{font-size:14px;line-height:1.6}.ballot-popup-title{border-top:1px solid var(--line);padding-top:18px;font-weight:600}.ballot-full-profile{display:block;text-align:center;padding:13px 16px;margin-top:24px;border-radius:8px;background:#14644f;color:#fff;text-decoration:none;font-weight:600}.ballot-deputy-popup :focus-visible{outline:2px solid #14644f;outline-offset:3px}

.vote-overview{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:48px;border-top:1px solid #dce4df;margin:24px 0 40px;align-items:start}
.vote-overview>.vote-explanation{border:0;margin:0;padding:28px 0;min-width:0}
.vote-party-chart{padding:28px 0;min-width:0}.vote-party-chart h2{font-size:24px;margin:0 0 10px}.vote-party-chart>.muted{font-size:14px;line-height:1.5;margin:0 0 18px}
.ballot-chart-legend{display:flex;flex-wrap:wrap;gap:16px;font-size:13px;margin-bottom:24px}.ballot-chart-legend span{display:flex;align-items:center;gap:6px}.ballot-chart-legend i{width:10px;height:10px;border-radius:2px}
.ballot-for{background:var(--chart-sage);color:#fff}.ballot-against{background:var(--chart-rose);color:#17241e}.ballot-abstain{background:var(--chart-sand);color:#26352b}.ballot-other{background:var(--chart-blue);color:#17241e}
.ballot-chart-row{margin-bottom:20px}.ballot-chart-label{display:flex;justify-content:space-between;gap:12px;align-items:baseline;margin-bottom:8px;font-size:14px}.ballot-chart-label strong{display:flex;align-items:center;gap:8px}.ballot-chart-label i{width:9px;height:9px;border-radius:50%;flex-shrink:0}.ballot-chart-label small{white-space:nowrap;color:#67756f}
.ballot-chart-bar{display:flex;height:28px;overflow:hidden;border-radius:4px}.ballot-chart-bar span{display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:600;min-width:0;text-shadow:none;box-shadow:none}
.ballot-chart-values{display:flex;flex-wrap:wrap;gap:4px 14px;font-size:12px;color:#67756f;margin-top:6px}.ballot-chart-note{font-size:12px;color:#67756f;line-height:1.5;margin-top:24px}
@media(max-width:1000px){.vote-overview{grid-template-columns:1fr;gap:0}.vote-party-chart{border-top:1px solid #dce4df}}

/* Shared non-party chart palette. Party marks retain their own colors. */

.home-election{display:grid;grid-template-columns:1.25fr 1fr;align-items:center;gap:48px;padding:56px 0 64px;border-bottom:1px solid var(--line)}.home-intro h1{font-size:clamp(42px,5.5vw,80px);line-height:1.08;letter-spacing:-.055em;margin:22px 0}.home-intro h1 span{color:var(--green)}.home-intro>p{font-size:18px;line-height:1.75;max-width:560px;color:var(--muted)}.home-actions{display:flex;flex-wrap:wrap;align-items:center;gap:22px;margin-top:32px}.home-actions a{font-weight:600;text-decoration:none;color:var(--green)}.home-actions .home-primary{display:flex;gap:25px;padding:16px 22px;border-radius:7px;background:var(--green);color:#fff}.home-ballot svg{display:block;width:100%;max-width:440px;margin:auto}.home-section-heading{padding:44px 0 24px}.home-section-heading h2{font-size:26px;letter-spacing:-.03em;margin:10px 0}.home-explore{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:20px}.home-explore-card{display:flex;flex-direction:column;background:var(--surface);padding:28px;border-radius:10px;color:var(--ink);text-decoration:none;border:1px solid var(--line);transition:border-color .15s}.home-explore-card:first-child{background:#eaf0ed}.home-explore-card:hover{border-color:var(--green)}.home-card-top{display:flex;justify-content:space-between;color:var(--muted);font-size:14px}.home-card-top span:last-child{font-size:24px;color:var(--green)}.home-explore-card svg{height:130px;width:100%;margin:16px 0}.home-explore-card h2{font-size:24px;letter-spacing:-.03em;margin:12px 0}.home-explore-card p{font-size:15px;line-height:1.7;color:var(--muted);margin:0 0 28px}.home-card-link{margin-top:auto;color:var(--green);font-weight:600}.home-source-note{display:flex;align-items:center;justify-content:space-between;gap:40px;padding:48px 0;margin-top:30px;border-top:1px solid var(--line)}.home-source-note h2{font-size:24px;margin:10px 0}.home-source-note p{max-width:700px;color:var(--muted)}.home-source-note>a{color:var(--green);white-space:nowrap}.home-page a:focus-visible{outline:3px solid var(--green);outline-offset:5px}
@media(max-width:900px){.home-election{gap:16px;padding-top:32px}.home-explore{grid-template-columns:1fr}.home-explore-card{display:grid;grid-template-columns:1fr 180px;column-gap:24px}.home-explore-card svg{grid-column:2;grid-row:1/5;align-self:center}.home-explore-card p{margin-bottom:16px}.home-source-note{align-items:start;flex-direction:column;gap:12px}}
@media(max-width:600px){.home-election{grid-template-columns:1fr;padding-bottom:32px}.home-ballot{max-width:240px;justify-self:center}.home-intro>p{font-size:16px}.home-explore-card{display:flex;padding:22px}.home-explore-card svg{height:100px}.home-section-heading h2{font-size:22px}.home-actions{gap:16px}.home-source-note>a{white-space:normal}}

.candidate-filters{display:flex;flex-wrap:wrap;gap:16px;align-items:end;margin:0 0 32px}.candidate-filters label{display:flex;flex-direction:column;gap:7px;font-size:13px;color:var(--muted);flex:1;min-width:170px}.candidate-filters .candidate-keyword{flex-basis:100%}.candidate-filters input,.candidate-filters select{padding:13px;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:var(--ink);font:inherit;font-size:15px;min-width:0}.candidate-filters button,#moreCandidates{padding:13px 18px;border:0;border-radius:7px;background:var(--green-soft);color:var(--green);font:inherit;cursor:pointer}.candidate-comparison{border-block:1px solid var(--line);padding:24px 0}.candidate-comparison h2{margin:0;font-size:24px}.candidate-comparison p{color:var(--muted);max-width:850px;font-size:14px}.candidate-bars{display:flex;gap:16px;overflow-x:auto;padding:20px 0 12px}.candidate-bar-column{flex:1;min-width:58px;text-align:center;font-size:13px}.candidate-bar-track{height:180px;background:repeating-linear-gradient(to top,transparent 0,transparent calc(25% - 1px),var(--line) 25%);display:flex;align-items:end;justify-content:center;margin:10px 0}.candidate-bar-track i{display:block;width:75%;max-width:48px;border-radius:4px 4px 0 0}.candidate-bar-column small{display:block;color:var(--muted);margin-top:4px}.candidate-browser-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;margin:20px 0}.candidate-browser-card{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;padding:22px 12px;background:var(--surface);border:1px solid var(--line);border-radius:9px;color:var(--ink);text-decoration:none}.candidate-browser-card:hover{border-color:var(--green)}.candidate-browser-card>i{width:52px;height:52px;display:grid;place-items:center;border-radius:50%;color:white;font-style:normal}.candidate-browser-card>span{font-size:13px;color:var(--muted);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.candidate-browser-card>small{font-size:12px}.candidate-browser-card:focus-visible{outline:2px solid var(--green);outline-offset:3px}@media(max-width:1150px){.candidate-browser-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:750px){.candidate-browser-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

.candidate-charts.party-official{grid-template-columns:minmax(0,.85fr) minmax(0,1fr) minmax(0,1.7fr);align-items:start}.party-official>.profile-box{padding:20px;min-width:0}.party-official .fact-grid{grid-template-columns:1fr}.party-official h2{font-size:19px}.party-official .fact{padding:10px 0}.party-official .fact strong{font-size:19px}.party-official .data-provenance{flex-wrap:wrap;font-size:11px}.party-history-bars{display:flex;gap:10px;overflow-x:auto;padding:12px 0}.party-history-bars>a{flex:1;min-width:38px;text-align:center;text-decoration:none;color:var(--ink);font-size:11px}.party-history-bars strong{white-space:nowrap}.party-history-track{height:125px;display:flex;align-items:end;justify-content:center;border-bottom:1px solid var(--line);margin:8px 0}.party-history-track i{width:75%;max-width:32px;display:block;border-radius:3px 3px 0 0}.party-history-bars a:hover i{opacity:.8}.party-history-bars a:focus-visible{outline:2px solid var(--green)}.party-history-bars small{line-height:1.4;display:block;color:var(--muted)}@media(max-width:1000px){.candidate-charts.party-official{grid-template-columns:repeat(2,minmax(0,1fr))}.party-rating-history{grid-column:1/-1}}@media(max-width:600px){.candidate-charts.party-official{grid-template-columns:1fr}}

.candidate-chart-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}.candidate-chart-heading label{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:13px}.candidate-chart-heading select{padding:10px;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:var(--ink);font:inherit}

.candidate-chart-mode{display:flex;gap:4px;background:var(--green-soft);padding:4px;border-radius:8px}.candidate-chart-mode button{border:0;border-radius:5px;padding:10px 13px;font:inherit;font-size:13px;color:var(--green);background:transparent;cursor:pointer}.candidate-chart-mode button[aria-pressed="true"]{background:var(--green);color:white}.candidate-chart-mode button:focus-visible{outline:2px solid var(--green);outline-offset:2px}

.vote-overview{grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr);padding-top:28px;gap:32px}.vote-overview>.vote-explanation{padding:26px;background:var(--surface);border-radius:12px}.vote-explanation>p:first-of-type{font-size:18px;line-height:1.7}.vote-explanation dl{background:var(--green-soft);padding:18px;border-radius:8px}.vote-explanation .muted{font-size:13px;line-height:1.6}.vote-result-pie{padding:20px 24px}.vote-result-pie h2{font-size:24px;margin:0 0 24px}.vote-pie{width:200px;aspect-ratio:1;border-radius:50%;margin:0 auto 24px}.vote-pie-values{max-width:320px;margin:auto}.vote-pie-values>div{display:flex;align-items:center;gap:10px;margin:10px 0}.vote-pie-values i{width:10px;height:10px;border-radius:2px}.vote-pie-values span{flex:1}.vote-pie-values small{min-width:55px;text-align:right;color:var(--muted)}.vote-party-chart{border-block:1px solid var(--line);margin-bottom:32px}.ballot-chart-rows{display:flex;gap:24px;overflow-x:auto}.ballot-chart-row{flex:1;min-width:120px;display:flex;flex-direction:column}.ballot-chart-label{order:2;flex-direction:column;align-items:center;text-align:center;gap:6px;margin-top:12px;min-height:62px}.ballot-chart-label strong{justify-content:center}.ballot-chart-bar{height:220px;width:70px;flex-shrink:0;margin:auto;flex-direction:column-reverse;border-radius:4px}.ballot-chart-bar span{width:100%;flex-shrink:0}.ballot-chart-values{order:3;flex-direction:column;text-align:center}@media(max-width:800px){.vote-overview{grid-template-columns:1fr}.vote-overview>.vote-explanation{padding:20px}.vote-result-pie{padding:20px 0}}

.party-history-bars{gap:8px;padding-top:24px}.party-history-bars>a{min-width:42px}.party-history-track{height:150px;margin-top:10px}.party-history-track i{position:relative;min-height:0}.party-history-track strong{position:absolute;bottom:100%;left:50%;transform:translateX(-50%);padding-bottom:5px;font-size:11px;font-weight:600}.party-history-bars small{font-size:10px;white-space:nowrap}

.candidate-sort-links{display:flex;align-items:center;flex-wrap:wrap;gap:12px;font-size:13px;color:var(--muted)}.candidate-sort-links button{padding:6px 0;border:0;background:none;color:var(--green);font:inherit;text-decoration:underline;text-underline-offset:3px;cursor:pointer}.candidate-sort-links button:disabled{color:var(--muted);text-decoration:none;cursor:default}.candidate-sort-links button:focus-visible{outline:2px solid var(--green);outline-offset:4px}.candidate-filters select,.candidate-filters input{box-sizing:border-box;height:48px;min-height:48px;line-height:24px;padding:10px 12px}.candidate-filters select{padding-right:32px;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%2365736d' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}

/* Party facts share one row; rating history gets the full available width. */
.candidate-charts.party-official{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}
.party-official .fact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.party-official>.party-rating-history{grid-column:1/-1;min-width:0}
.party-rating-history .party-history-bars{gap:12px;width:100%;box-sizing:border-box;padding:28px 0 12px;overflow-x:auto}
.party-rating-history .party-history-bars>a{flex:1 0 48px;min-width:48px}
.party-rating-history .party-history-track{height:190px}
.party-rating-history .party-history-track i{width:65%;max-width:64px}
@media(max-width:600px){.candidate-charts.party-official{grid-template-columns:1fr}.party-official .fact-grid{grid-template-columns:1fr}.party-rating-history .party-history-track{height:160px}}

.vote-explanation dl.vote-meaning-cards{display:grid;grid-template-columns:1fr;gap:12px;background:transparent;padding:0;border:0}.vote-meaning-cards>div{padding:16px 18px;border-radius:8px;border:1px solid transparent}.vote-meaning-cards .vote-meaning-for{background:#e5f2ec;border-color:#d0e5d9}.vote-meaning-cards .vote-meaning-against{background:#fbece8;border-color:#f0d7cf}.vote-meaning-cards dt{font-weight:700;margin:0 0 6px}.vote-meaning-for dt{color:#15664f}.vote-meaning-against dt{color:#a34637}.vote-meaning-cards dd{margin:0;line-height:1.6}

/* Softer ballot symbols over each faction's color. */
.vote-chamber text{fill:rgba(0,0,0,.4)}
.vote-person i{color:rgba(0,0,0,.4)}

.ballot-deputy-popup header{gap:18px;align-items:center}.ballot-deputy-popup header>div{min-width:0}.ballot-deputy-popup header .portal-kicker{display:block;font-size:11px;line-height:1.4;letter-spacing:.08em;margin:0}.ballot-deputy-popup header h2{font-size:24px;line-height:1.25;margin:5px 0 6px}.ballot-deputy-popup header p{font-size:13px;line-height:1.4;margin:0}.ballot-deputy-popup .ballot-popup-symbol{flex:0 0 68px;width:68px;height:68px;font-size:21px;font-weight:700;color:#fff;text-shadow:none}@media(max-width:480px){.ballot-deputy-popup header{gap:12px}.ballot-deputy-popup header h2{font-size:21px}.ballot-deputy-popup .ballot-popup-symbol{flex-basis:60px;width:60px;height:60px;font-size:19px}}

.vote-meaning-cards>div{display:grid;grid-template-columns:48px minmax(0,1fr);gap:16px;align-items:baseline;padding:12px 16px}
.vote-meaning-cards dt{margin:0;line-height:1.6}
.vote-meaning-cards dd{margin:0;min-width:0}
.infographic-intro{padding:48px 0 32px}.infographic-intro h1{font-size:clamp(38px,5vw,72px);letter-spacing:-.055em;line-height:1.05;margin:16px 0}.infographic-intro h1 em{font-style:normal;color:var(--green)}.infographic-intro p{color:var(--muted);max-width:560px}.infographic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.infographic-grid article{position:relative;padding:30px;border-radius:12px;overflow:hidden}.info-eyebrow{display:block;font-size:11px;letter-spacing:.12em;font-weight:700}.infographic-grid h2{font-size:23px;line-height:1.2;letter-spacing:-.025em;margin:10px 0}.infographic-grid p{font-size:14px;line-height:1.6;max-width:440px}.infographic-grid a{display:inline-block;font-size:14px;font-weight:600;color:inherit;text-underline-offset:5px;margin-top:14px}.info-feature{grid-column:span 2;background:var(--chart-sage);color:white}.info-massive{font-size:clamp(80px,13vw,200px);font-weight:750;letter-spacing:-.075em;line-height:1.05;margin:26px 0}.info-feature-bottom{display:flex;gap:24px;align-items:end;justify-content:space-between}.info-dot-field{display:grid;grid-template-columns:repeat(10,6px);gap:5px;flex-shrink:0}.info-dot-field i{width:6px;height:6px;border-radius:50%;background:var(--chart-blue)}.info-education{background:var(--chart-sand)}.info-number{display:block;font-size:clamp(60px,8vw,116px);font-weight:700;letter-spacing:-.07em;line-height:1.1;margin:26px 0 12px}.info-watermark{position:absolute;right:10px;bottom:-24px;font-size:150px;opacity:.08;pointer-events:none;font-weight:700}.info-business{background:var(--chart-blue)}.info-percent{font-size:94px;letter-spacing:-.07em;font-weight:700;line-height:1.1;margin-top:24px}.info-percent small{font-size:48px}.info-meter{height:8px;background:rgb(255 255 255 / 35%);margin:24px 0 0}.info-meter i{display:block;height:100%;background:var(--chart-sage)}.info-experience{background:var(--surface)}.info-savings{background:#f1e7e0}.info-money{display:block;font-size:clamp(30px,3.2vw,52px);line-height:1.2;letter-spacing:-.05em;margin:34px 0 24px;overflow-wrap:anywhere}.info-explore{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px;margin:40px 0}.info-explore a{border-top:1px solid var(--line);padding:24px 0;color:inherit;text-decoration:none}.info-explore span{font-size:11px;letter-spacing:.08em;color:var(--muted)}.info-explore h2{font-size:25px;letter-spacing:-.03em}.info-explore p,.info-source{font-size:13px;color:var(--muted)}.infographic-grid a:focus-visible,.info-explore a:focus-visible{outline:2px solid currentColor;outline-offset:5px}@media(max-width:900px){.infographic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.info-feature{grid-column:1/-1}.info-explore{gap:18px}.info-explore h2{font-size:20px}}@media(max-width:550px){.infographic-grid,.info-explore{grid-template-columns:1fr}.infographic-grid article{padding:24px}.info-feature-bottom{align-items:center}.info-dot-field{grid-template-columns:repeat(10,4px);gap:3px}.info-dot-field i{width:4px;height:4px}.info-massive{font-size:100px}.info-explore{gap:0}.infographic-intro{padding-top:32px}}
/* Editorial infographic: alternate open space with colored data panels. */
.infographic-grid{gap:28px}.infographic-grid article{border-radius:0}.infographic-grid .info-feature{border-radius:16px;padding:38px}.infographic-grid .info-education{background:transparent;border-top:2px solid var(--chart-sand);padding:26px 12px}.info-education .info-number{color:var(--chart-sage);font-size:130px}.info-education .info-watermark{font-size:210px;right:-12px;bottom:-38px;color:var(--chart-sand);opacity:.25}.infographic-grid .info-business{background:transparent;border-bottom:1px solid var(--line);padding:32px 12px}.info-business .info-percent,.info-business h2,.info-business p,.info-business a{position:relative;z-index:1}.info-business .info-meter{display:none}.info-orbit{position:absolute;width:245px;height:245px;right:-115px;top:0;border-radius:50%;background:conic-gradient(var(--chart-blue) 0 var(--share),var(--green-soft) var(--share) 100%);mask:radial-gradient(circle,transparent 0 48%,#000 49%);opacity:.7}.infographic-grid .info-experience{background:var(--green-soft);border-radius:100px 12px 12px 12px;padding:38px 30px}.info-experience-stripes{display:flex;gap:5px;height:32px;margin-top:24px}.info-experience-stripes i{flex:1}.info-experience .info-number{margin-top:12px}.infographic-grid .info-savings{background:transparent;border-top:2px solid var(--chart-rose);padding:26px 12px}.info-savings .info-money{color:var(--green)}.info-education-wide{grid-column:span 2;background:var(--surface);border:1px solid var(--line)}.info-education-layout{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:end}.info-education-wide .info-number small{font-size:.5em}.info-editorial-bars{display:flex;gap:20px;align-items:end;padding:24px 0 0}.info-editorial-bars>div{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;gap:12px}.info-editorial-bars i{display:block;width:100%;min-height:4px}.info-editorial-bars small{font-size:11px;white-space:nowrap}.info-unemployed{background:var(--chart-sand)}.info-unemployed .info-number{display:flex;justify-content:space-between;align-items:center}.info-unemployed .info-number span{font-size:66px;font-weight:400;opacity:.55}.infographic-grid article>a{position:relative;z-index:1}@media(max-width:900px){.info-education-wide{grid-column:1/-1}.info-unemployed{grid-column:1/-1}}@media(max-width:550px){.infographic-grid{gap:24px}.infographic-grid .info-feature{padding:26px}.infographic-grid .info-education{padding:24px 12px}.info-education .info-number{font-size:100px}.info-education-layout{grid-template-columns:1fr}.info-editorial-bars{max-width:320px;width:100%;margin:auto}.infographic-grid .info-experience{border-radius:64px 12px 12px 12px}.info-education-wide{grid-column:auto}}

/* Clean facts in the party's registry and donations panels. */
.party-official>.profile-box:not(.party-rating-history){display:flex;flex-direction:column;padding:24px}
.party-official>.profile-box:not(.party-rating-history) h2{margin:0 0 18px;line-height:1.3}
.party-official>.profile-box:not(.party-rating-history) .fact-grid{gap:18px 24px;margin:8px 0 20px}
.party-official>.profile-box:not(.party-rating-history) .fact span{display:block;margin-bottom:8px;line-height:1.5;color:var(--muted)}
.party-official>.profile-box:not(.party-rating-history) .finance-period{margin:0 0 16px;line-height:1.6}
.party-official>.profile-box:not(.party-rating-history) .data-provenance{margin-top:auto;margin-bottom:0;padding-top:16px;border-top:1px solid var(--line);gap:10px 18px}

.info-extra-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin-top:28px}.info-extra-row article{padding:28px 22px;min-width:0}.info-extra-row h2{font-size:23px;line-height:1.25;letter-spacing:-.025em}.info-extra-row p{font-size:14px;line-height:1.6}.info-extra-row a{color:inherit;font-size:14px;font-weight:600;text-underline-offset:5px}.info-debt{border-top:3px solid var(--chart-rose)}.info-property{background:var(--green-soft);border-radius:12px}.info-local{border-top:3px solid var(--chart-blue)}.info-local .info-number{color:var(--chart-sage)}@media(max-width:900px){.info-extra-row{grid-template-columns:1fr 1fr}.info-extra-row article:last-child{grid-column:1/-1}}@media(max-width:550px){.info-extra-row{grid-template-columns:1fr}.info-extra-row article:last-child{grid-column:auto}}

.site-footer{margin-top:72px;background:var(--green-soft);border-top:1px solid var(--line);color:var(--ink)}.footer-inner{max-width:1440px;margin:auto;padding:42px 28px;display:grid;grid-template-columns:1fr 1.15fr 1.15fr;gap:48px}.site-footer h2{font-size:15px;margin:0 0 18px;font-weight:700}.site-footer p{font-size:14px;line-height:1.75;margin:0 0 16px;color:var(--muted)}.site-footer a{color:var(--green);text-underline-offset:4px}.site-footer ul{list-style:none;margin:0 0 18px;padding:0}.site-footer li{font-size:13px;line-height:1.6;margin-bottom:10px}.site-footer li a{font-weight:600}.site-footer li span{display:block;color:var(--muted)}.site-footer .footer-contact{font-size:12px}.footer-all-sources{font-size:13px;font-weight:600}.site-footer a:focus-visible{outline:2px solid var(--green);outline-offset:4px}@media(max-width:800px){.footer-inner{grid-template-columns:1fr;gap:24px;padding:32px 20px}.site-footer{margin-top:44px}}

.vote-filter-row{display:flex;align-items:center;gap:24px;flex-wrap:wrap}.vote-filter-row .candidate-sort-links{font-size:inherit}

.ballot-popup-close{position:absolute;top:10px;right:10px;margin:0}.ballot-deputy-popup header{margin:0;padding:10px 20px 0 0;min-height:0}

.promise-method{margin:4px 0 28px;padding:20px 24px;border-left:4px solid var(--chart-sand);background:#fbf7ed}.promise-method p{max-width:850px;margin:8px 0 0;color:var(--muted);line-height:1.65}.promise-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;padding:24px 0;border-block:1px solid var(--line)}.promise-filters label{display:flex;flex-direction:column;gap:8px;color:var(--muted);font-size:13px}.promise-filters select{height:50px;padding:0 42px 0 14px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);font:inherit}.promise-results>p{color:var(--muted);font-size:13px;margin:24px 0 14px}.promise-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.promise-card{display:flex;flex-direction:column;min-height:230px;padding:24px;background:var(--surface);border:1px solid var(--line);border-top:4px solid var(--party-color);border-radius:10px}.promise-card-top{display:flex;align-items:center;justify-content:space-between;gap:14px}.promise-party{display:flex;align-items:center;gap:9px;font-size:13px;font-weight:700}.promise-party i{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--party-color);color:#fff;font-style:normal;font-size:11px}.promise-area{font-size:11px;color:var(--muted);text-align:right}.promise-body{display:grid;grid-template-columns:58px 1fr;gap:18px;align-items:center;flex:1;padding:24px 0}.promise-body p{font-size:18px;line-height:1.5;margin:0}.promise-check{width:52px;height:52px;border:2px solid var(--line);border-radius:50%;background:transparent}.promise-card footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-top:16px;border-top:1px solid var(--line);font-size:12px}.promise-card footer span{color:var(--muted)}.promise-card footer a,.promise-sources a{color:var(--green);font-weight:600}.promise-sources{margin-top:36px;padding:26px 0;border-top:1px solid var(--line)}.promise-sources h2{font-size:22px}.promise-sources p{max-width:850px;color:var(--muted);line-height:1.65}.promise-sources a{display:inline-block;margin:8px 22px 0 0}@media(max-width:760px){.promise-grid,.promise-filters{grid-template-columns:1fr}.promise-card{padding:20px}.promise-body{grid-template-columns:44px 1fr;gap:14px}.promise-check{width:40px;height:40px}.promise-body p{font-size:16px}.promise-card footer{align-items:flex-start;flex-direction:column}}

/* Factual promise fulfilment statuses. */
.promise-filters{grid-template-columns:repeat(3,minmax(0,1fr))}
.promise-check{display:grid;place-items:center;font-size:26px;font-weight:800;color:var(--ink)}
.promise-fulfilled .promise-check{border-color:var(--green);background:var(--chart-sage);color:#fff}
.promise-partial .promise-check,.promise-in-progress .promise-check{border-color:var(--chart-sand);background:var(--chart-sand)}
.promise-not-fulfilled .promise-check,.promise-contrary .promise-check{border-color:var(--chart-rose);background:var(--chart-rose);color:#fff}
.promise-not-assessable .promise-check{border-color:var(--chart-gray);background:var(--chart-gray);color:#fff}
.promise-evaluation{margin:-4px 0 20px;padding:16px 18px;background:var(--green-soft);border-radius:9px}
.promise-evaluation strong{display:block;margin-bottom:6px;font-size:13px}
.promise-evaluation p{margin:0;line-height:1.55;font-size:14px}
.promise-evaluation small{display:block;margin-top:10px;color:var(--muted);line-height:1.5}
.promise-links{display:flex;gap:14px;flex-wrap:wrap}
@media(max-width:760px){.promise-filters{grid-template-columns:1fr}}
.promise-responsibility{display:block;margin-top:12px;padding-top:10px;border-top:1px solid rgba(15,48,37,.12);color:var(--ink);font-size:12px;line-height:1.5}.promise-responsibility b{font-weight:750}

/* Filter-aware promise status overview. */
.promise-status-chart{width:100%;margin:26px 0 8px;padding:24px 0;border-bottom:1px solid var(--line)}
.promise-status-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:18px}
.promise-status-heading h2{margin:5px 0 0;font-size:22px}
.promise-status-heading>strong{color:var(--muted);font-size:13px}
.promise-status-bar{display:flex;width:100%;height:32px;overflow:hidden;border-radius:7px;background:var(--green-soft)}
.promise-status-bar>span{display:grid;place-items:center;min-width:0}
.promise-status-bar b{color:#fff;font-size:11px;text-shadow:0 1px 2px rgba(0,0,0,.25)}
.promise-status-legend{display:flex;flex-wrap:wrap;gap:10px 22px;margin-top:14px;color:var(--muted);font-size:12px}
.promise-status-legend span{display:flex;align-items:center;gap:7px}
.promise-status-legend i{width:10px;height:10px;border-radius:3px}
.promise-status-legend b{color:var(--ink)}
.status-fulfilled{background:var(--chart-sage)}
.status-partial{background:var(--chart-sand)}
.status-in-progress{background:#d59432}
.status-not-fulfilled{background:var(--chart-rose)}
.status-contrary{background:#a44848}
.status-not-assessable{background:var(--chart-gray)}
.status-unreviewed{background:#dfe6e2}
@media(max-width:600px){.promise-status-heading{align-items:flex-start;flex-direction:column;gap:8px}.promise-status-bar{height:26px}.promise-status-legend{gap:9px 14px}}
.promise-original{margin:0 1.35rem 1rem;padding-top:.85rem;border-top:1px solid var(--line);color:var(--muted)}
.promise-original summary{cursor:pointer;color:var(--green);font-weight:700}
.promise-original p{margin:.65rem 0 0;line-height:1.55}

.footer-source-summary a{font-weight:650;white-space:nowrap}

