/* R40: Post-election analysis system. Keeps the original light blue brand. */
:root{--ink:#14374a;--light:#f6f8f9;--teal-strong:#11697e;--line-r40:#d7e4e9}
body{background:#f6f8f9}
.wrap{max-width:1210px}
#mainnav{gap:3px}#mainnav a{font-size:12.5px;padding:8px 7px}
.section{scroll-margin-top:93px}
.hero .kpis{margin-bottom:13px}
.hero h1{max-width:950px}
.snapshot-notice{margin:0 0 20px;border:1px solid #cedfe6;border-right:4px solid #156b82;border-radius:10px;background:#f0f7f9;padding:14px 18px;max-width:1100px;color:#315464;font-size:13px;line-height:1.8}
.snapshot-notice strong{color:#123c51}
.podcast-section{padding-top:14px;padding-bottom:16px}
.podcast-feature{background:#123b50;color:#f6fbff;border:1px solid #23536a;border-radius:20px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);overflow:hidden;gap:26px;padding:23px;box-shadow:0 8px 32px #12384d18}
.podcast-intro{padding:15px 11px;display:flex;flex-direction:column;align-items:start;justify-content:center}
.podcast-intro .eyebrow{color:#a5e5e8}.podcast-intro h2{color:white;font-size:clamp(23px,3vw,31px);margin:6px 0 14px}.podcast-intro p{font-size:15px;color:#cce0e9;max-width:415px}.podcast-intro p.tiny{font-size:12px;margin:15px 0 0;color:#b2ccda}
.pill-link{background:#eaf9fc;border:1px solid white;border-radius:9px;padding:10px 17px;color:#0d526c!important;font-weight:800;font-size:14px;display:inline-flex;margin-top:4px}.pill-link:hover{text-decoration:none;background:#fff}
.video-shell{position:relative;aspect-ratio:16/9;min-width:0;background:#081e2c;border-radius:12px;overflow:hidden;align-self:center}.video-shell iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.timeline-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:22px 0}
.timeline-step{border:1px solid var(--line);background:white;border-radius:13px;padding:20px;display:flex;align-items:start;gap:14px;box-shadow:0 4px 19px #12384d0a;min-height:174px}
.timeline-step h3{font-size:18px;margin:5px 0 7px}.timeline-step p{color:#4e6977;font-size:14px;margin:0}
.time-dot{flex:0 0 31px;height:31px;border-radius:50%;display:grid;place-items:center;background:#dceff2;color:#0e5b74;font-weight:800;font-size:14px}
.time-date{font-weight:800;color:#17677d;font-size:13px}
.preset-strip{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0 15px}.preset-strip .btn{font-size:13px;padding:9px 12px;white-space:normal;text-align:right}
.coalition-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.85fr);gap:15px;align-items:start}
.coalition-sandbox,.coalition-result{padding:20px}
.coalition-table-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 0 11px;border-bottom:1px solid var(--line)}
.coalition-table-head .btn{font-size:12px}
.coal-party{display:grid;grid-template-columns:minmax(0,1fr) 165px;align-items:center;gap:15px;padding:9px 0;border-bottom:1px solid #e4edef}
.coal-party:last-child{border-bottom:0}
.coal-identity{display:flex;align-items:center;gap:11px;font-size:14px;font-weight:600;min-width:0}
.coal-count{display:grid;place-items:center;min-width:32px;height:32px;border-radius:8px;color:#155f78;background:#dff0f3;font-weight:900;font-variant-numeric:tabular-nums}
.coal-party select{max-width:100%;background:#fff;border:1px solid #c3d7de;color:#183c51;border-radius:8px;padding:6px 8px;font-size:12.5px}
.coalition-result{position:sticky;top:91px}
.coal-totals-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:9px;margin:16px 0}.coal-totals-grid>div{background:#f4f8fa;border-radius:11px;padding:12px;border:1px solid #e1edf0}.coal-totals-grid span{display:block;color:#607a87;font-size:12px}.coal-totals-grid strong{display:block;font-weight:900;font-size:34px;color:#173c51;line-height:1.2}
.coalition-bar{display:flex;direction:rtl;min-height:49px;border-radius:10px;overflow:hidden;background:#e2e8ea;margin:14px 0}.coal-segment{flex-grow:0;flex-shrink:0;display:grid;place-items:center;color:#fff;font-size:14px;font-weight:900;min-width:0}.seg-gov{background:#204e67}.seg-support{background:#2d8c8d}.seg-abstain{background:#a8b7be;color:#1a3e4f}.seg-none{background:#b06c69}
.result-status{padding:13px 12px;border-radius:9px;font-weight:800;font-size:15px;line-height:1.5}.result-status.pass{border:1px solid #c5ded0;background:#eef8f2;color:#286047}.result-status.fail{border:1px solid #eedbd7;background:#fff2ef;color:#9a4437}
.coalition-explanation p{color:#42606e;font-size:14px;line-height:1.75}
.storygrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0 22px}.storycard{padding:18px 19px;min-height:162px}.storycard h3{font-size:16px;margin:2px 0 7px;color:#38566a}.storybig{font-size:clamp(20px,2.1vw,27px);font-weight:900;line-height:1.32;color:#13637c}.storycard p{font-size:13px;color:#546e7c;margin:7px 0 0;line-height:1.7}.text-link{border:0;background:transparent;padding:8px 0 0;color:#0a6a87;font-weight:800;font-size:13px;cursor:pointer}.text-link:hover{text-decoration:underline}
.shift-table{min-width:940px}.shift-table td:first-child{min-width:210px}.shift-table tbody .tiny{font-size:11px;max-width:210px;line-height:1.4}
.locality-tools{margin:19px 0 13px}.locality-tools .search{min-width:190px;max-width:290px}.check-label{display:flex;align-items:center;gap:8px;font-size:13px;color:#4d687a;cursor:pointer;padding:8px 0}.check-label input{accent-color:#156b82;width:16px;height:16px}
#localityCount{margin:11px 0}.mini-btn{padding:5px 10px;font-size:12px}.loadmore{text-align:center;margin:15px 0}
.locality-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:18px 0}.locality-groups>div{padding:12px;background:#eff5f7;border:1px solid #dce9ee;border-radius:11px}.locality-groups span{font-size:12px;color:#5b717c;display:block}.locality-groups strong{font-size:24px;color:#165b76}.local-top3{padding-right:24px}.local-top3 li{padding:3px 0}
.powers-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:19px 0}.power{padding:22px 24px;position:relative}.power:before{content:'';position:absolute;width:4px;background:#9bced8;right:0;top:20px;bottom:20px;border-radius:4px}.power h3{font-size:19px;color:#173d52;margin:5px 0 10px}.power p{color:#496876;font-size:14px;line-height:1.8;margin:0}.power-label{font-size:11px;color:#18748a;font-weight:800;letter-spacing:.04em}
#timeline p.tiny,#opposition p.tiny{line-height:1.8}
[hidden]{display:none!important}
@media (max-width:1060px){.podcast-feature{grid-template-columns:minmax(0,.9fr) minmax(0,1fr)}.coalition-layout{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)}.storygrid{grid-template-columns:repeat(2,minmax(0,1fr))}.top-inner{gap:11px}#mainnav a{font-size:12px;padding:7px 5px}}
@media (max-width:790px){#mainnav{gap:2px}.nav a{font-size:11px}.podcast-feature{grid-template-columns:1fr;gap:14px}.podcast-intro{padding:4px 5px}.timeline-grid{grid-template-columns:1fr}.coalition-layout{grid-template-columns:1fr}.coalition-result{position:static}.powers-grid{grid-template-columns:1fr}}
@media (max-width:690px){.nav{top:64px!important}.nav a{font-size:14px!important;padding:9px!important}.timeline-step{min-height:auto}.podcast-feature{padding:15px;border-radius:16px}.podcast-intro h2{font-size:24px}.storygrid{grid-template-columns:1fr}.storycard{min-height:auto}.coalition-sandbox,.coalition-result{padding:14px}.coal-party{grid-template-columns:minmax(0,1fr) 145px;gap:7px}.coal-party select{font-size:12px;padding:7px 5px}.coal-identity{font-size:12px;gap:5px}.coal-count{min-width:27px;height:29px}.coal-totals-grid strong{font-size:30px}.locality-tools .search{max-width:none;width:100%}.snapshot-notice{font-size:12px}.locality-groups{grid-template-columns:1fr}.storybig{font-size:25px}}
@media print{.podcast-feature{background:#fff;color:#111}.video-shell{display:none}.podcast-intro h2{color:#111}.power p,.storycard p,.timeline-step p{color:#333}.coalition-sandbox,.preset-strip,.locality-tools,.loadmore{display:none!important}.coalition-result{position:static}}

.podcast-play{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;width:100%;height:100%;border:0;background:radial-gradient(circle at 50% 45%,#26576d 0%,#143e54 50%,#091f2e 100%);color:white;cursor:pointer;z-index:1;font-size:clamp(15px,2vw,22px);font-weight:850}
.podcast-play:hover,.podcast-play:focus-visible{background:radial-gradient(circle at 50% 45%,#28667b 0%,#194d64 50%,#092234 100%)}
.podcast-play small{font-size:12px;color:#bed6e3;font-weight:500}.play-orb{display:grid;place-items:center;width:70px;height:70px;border-radius:50%;background:#effcff;color:#155d73;box-shadow:0 8px 22px #0005;margin-bottom:10px;padding-right:3px;font-size:27px}
/* Preserve horizontal gutter in the hero: the original .hero rule reset .wrap's padding. */
.hero.wrap{padding-right:24px;padding-left:24px}
@media(max-width:690px){.hero.wrap{padding-right:16px;padding-left:16px}.hero h1{font-size:clamp(31px,8.3vw,37px)}.hero .lead{font-size:16px}}
