/* Shared editorial system: identity colour belongs to results, restraint belongs to chrome. */
html{--piq-base:#f5f7f9;--piq-panel:#ffffffeb;--piq-glass:#ffffffd6;--piq-border:#d6dfe5;--piq-muted:#526574;--piq-shadow:0 2px 5px #132d3f04;--piq-map-ocean:#edf2f6}
html[data-resolved-theme=dark]{--piq-base:#0d151d;--piq-panel:#15212ded;--piq-glass:#15212dd9;--piq-border:#30404f;--piq-muted:#acb9c5;--piq-shadow:none;--piq-map-ocean:#10212e}
html[data-resolved-theme] body[data-piq-design]{background:var(--piq-base)!important;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;line-height:1.5}
html[data-resolved-theme] body[data-piq-design] :is(.panel,.race-card,.municipality,.coverage-stats>div,.about-grid>div,.poll-average,.poll-context,.ft-highlight,.poll-archive,.pa-notes,.fp-panel,.outlook-card,.us-card,.br-card,.eu-map-panel,.eu-seat-panel,.eu-riding-detail,.eu-country-card,.eu-feature-card,.eu-ep-panel,.en-profile,.en-facts article,.en-institution-details,.el-map-glass,.el-map-detail,.el-leader-grid article,.eu-country-coverage,.eu-method,.eu-members,.en-country-map,.en-party-table,.en-chamber-grid article,.in-panel,.in-stat,.in-results,.in-map-panel,.in-card,.studio-disclosure){background:var(--piq-panel)!important;background-image:none!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border-radius:12px!important;border-color:var(--piq-border)!important}
html[data-resolved-theme] body[data-piq-design] :is(.eu-hero,.world-atlas,.hero,.br-cover,.piq-national-leader){background-image:none!important;box-shadow:none!important;border-color:var(--piq-border)!important;backdrop-filter:none!important}
.masthead .edition{font-size:9px;letter-spacing:.08em;padding-block:9px}.masthead .mast-row{padding-block:14px;min-height:0}.masthead .wordmark{font-size:clamp(40px,5vw,62px);letter-spacing:-3px;line-height:1}.masthead .mast-row>p{font-size:11px;line-height:1.5}.masthead .navigation{min-height:46px;gap:18px;padding-block:5px}.masthead .navigation :is(a,summary){font-size:12px}.masthead .search-shortcut{font-size:11px}.piq-section-links{padding-block:8px;gap:14px!important;min-height:44px}.piq-section-links>a{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;padding:8px 0!important;font-size:11px!important;min-height:36px}.piq-section-links>a[aria-current=page]{box-shadow:inset 0 -2px var(--piq-accent)!important}
body[data-piq-design] :is(.kicker,.eyebrow,.eu-kicker,.midterm-kicker){font-size:10px!important;letter-spacing:.09em;line-height:1.6}.eu-main,.world-atlas,.ec-home-countries{font-variant-numeric:tabular-nums}.eu-hero{margin-top:18px;border-radius:12px;grid-template-columns:minmax(280px,.85fr) minmax(0,1.15fr);background:var(--piq-panel)!important}.eu-hero-copy{padding:28px}.eu-hero h1{font:500 clamp(34px,4vw,52px)/1.06 Georgia,serif;letter-spacing:-1.4px;margin:12px 0}.eu-hero h1 em{color:var(--piq-ink)!important}.eu-hero-copy>p:not(.eu-kicker){font-size:13px;line-height:1.65}.eu-hero-actions{margin:18px 0}.eu-stat-strip{gap:20px}.eu-stat-strip span{font-size:10px}.eu-stat-strip b{font-size:27px;color:var(--piq-ink)}.eu-continent{background:var(--piq-map-ocean)}.eu-map-caption,.eu-map-key{font-size:10px;letter-spacing:.03em}.eu-coverage-line{font-size:12px;line-height:1.7;max-width:110ch}.eu-section-head h2{font-size:28px!important}.eu-country-section{margin-top:24px}.eu-directory-controls{padding-block:12px 18px;gap:12px}.eu-directory-controls label{font-size:11px}.eu-directory-controls input,.eu-directory-controls select{font-size:13px;min-height:44px;background:var(--piq-input)}.eu-directory-controls>span{font-size:11px}.eu-country-hero{padding-block:22px!important}.eu-country-hero h1{font-size:46px!important;letter-spacing:-1px}.eu-country-hero>div>p{font-size:13px;line-height:1.6}.eu-country-stamp{border-radius:12px!important}.eu-page-jumps{gap:14px!important}.eu-page-jumps>a{border:0!important;background:transparent!important;padding:8px 0!important;border-radius:0!important;box-shadow:none!important;font-size:12px!important}.eu-page-jumps>a:hover{text-decoration:underline;text-underline-offset:5px}.eu-country-hero .eu-page-jumps{margin-top:12px}.en-profile{padding:20px!important}.en-profile .en-election-date{margin-block:16px}.en-facts{gap:10px}.en-facts article{padding:13px!important;border-width:1px}.en-facts article>b{font-size:26px!important}.en-facts article>span,.en-facts article>small{font-size:10px!important}.en-source-note{font-size:11px!important}.en-party-table table tbody th b{font-size:12px!important}.en-party-table table tbody td{font-size:12px}.en-party-table table tbody th{padding-block:10px!important}.el-explorer-grid{gap:16px}.el-map-glass{padding:16px!important}.el-map-stage{min-height:0;max-height:500px;aspect-ratio:1.2;background:var(--piq-map-ocean)}.el-map-stage #el-map{width:100%;height:100%;display:block}.el-map-detail{max-height:710px;padding:20px!important}.el-map-detail h3{font-size:27px}.el-leading-party>strong{font-size:21px}.el-leading-party>b{font-size:24px}.el-map-legend{font-size:11px;gap:8px 14px}.el-vote-logo{display:inline-block;object-fit:contain;vertical-align:middle;width:32px;height:22px;margin-right:7px;background:#fff;border-radius:3px;padding:2px}.el-leader-grid h3{font-size:14px!important}.el-leader-name{font-size:20px!important}.el-leader-context,.el-leader-grid small{font-size:11px}.ec-fold,.eu-method{box-shadow:none!important}.ec-artwork-credits{font-size:11px}.piq-national-leader{min-height:164px!important;padding:18px 22px!important;border-radius:12px!important;background:var(--piq-panel)!important}.piq-national-leader:before{display:none}.piq-national-leader .piq-leader-kicker{font-size:9px!important;letter-spacing:.09em}.piq-national-leader h2{font-size:29px!important;font-weight:500}.piq-leader-portraits figure,.piq-leader-portraits figure>img{width:112px}.piq-leader-portraits figure>img{height:138px;border-radius:8px}.piq-national-leader .piq-leader-snapshot{right:155px}.piq-shared-leadership .piq-leader-snapshot{right:280px}.piq-leader-sources{font-size:11px}
/* Country directory follows one election-card pattern across desks. */
.eu-country-grid,.ec-core-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ec-election-card,.ec-election-card.eu-country-card{position:relative;display:grid;grid-template-columns:80px minmax(0,1fr);align-items:start;gap:18px;padding:22px!important;min-height:174px;border:1px solid var(--piq-border);border-radius:12px!important;background:var(--piq-panel);color:var(--piq-ink);text-decoration:none;transition:border-color .15s,box-shadow .15s;overflow:hidden}.ec-election-card[hidden]{display:none!important}.ec-election-card:hover{border-color:#8da4b4!important;box-shadow:0 3px 12px #132d3f08!important;transform:none}.ec-election-card:focus-visible{outline:3px solid var(--piq-accent);outline-offset:3px}.ec-card-number{padding-top:5px;min-width:0}.ec-card-number>b{display:block;font:500 39px/1 Georgia,serif;letter-spacing:-1.3px;color:#627d9e}.ec-card-number>span{display:block;margin-top:5px;font:600 8px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;text-transform:uppercase;letter-spacing:.065em;max-width:80px;color:var(--piq-muted)}.ec-card-copy{min-width:0}.ec-card-election{display:block;padding-right:20px;color:var(--piq-muted);font-size:10px;line-height:1.4;letter-spacing:.025em}.ec-election-card h3,.ec-election-card.eu-country-card h3{display:flex;align-items:center;gap:8px;margin:7px 0!important;font:500 27px/1.15 Georgia,serif!important;letter-spacing:-.4px;color:var(--piq-ink);overflow-wrap:anywhere}.ec-card-copy h3 img{width:23px;height:15px;object-fit:contain;flex-shrink:0;border-radius:2px}.ec-card-copy>p,.ec-election-card.eu-country-card p{margin:0!important;color:var(--piq-muted);font:400 11px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.ec-card-arrow{position:absolute;right:20px;top:20px;font-size:17px;color:var(--piq-accent)}.ec-card-parties{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:16px;min-height:30px}.ec-party-chip{display:inline-flex;align-items:center;justify-content:center;width:45px;height:30px;flex-shrink:0;box-sizing:border-box;border:1px solid #dce2e8;border-bottom:2px solid var(--party,#8a99a5);background:#fff;border-radius:5px;padding:3px;overflow:hidden}.ec-party-chip img{display:block;width:auto;height:auto;max-width:100%;max-height:24px;object-fit:contain}.ec-party-chip>span{font:600 8px/1.1 Arial,sans-serif;color:#233a4a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.ec-card-party-date{display:block;color:var(--piq-muted);font-size:9px;margin-top:6px}.ec-card-no-parties{font-size:11px;color:var(--piq-muted)}.ec-directory-heading{display:flex;justify-content:space-between;align-items:baseline;gap:20px;margin-bottom:15px}.ec-directory-heading h2{font:500 28px Georgia,serif;letter-spacing:-.5px}.ec-directory-heading a{font-size:12px;color:var(--piq-ink);text-decoration:none}.ec-directory-heading a:hover{text-decoration:underline;text-underline-offset:4px}.ec-home-countries{margin:28px 0 34px}.ec-home-countries .ec-election-card{min-height:172px}
/* Calm the homepage and country introductions; keep tools visually subordinate to results. */
.world-atlas{padding:22px!important;gap:25px!important;border-radius:12px!important;background:var(--piq-panel)!important}.world-intro h1{font-size:44px;line-height:1.08;margin:12px 0;letter-spacing:-1px}.world-intro h1 em{color:var(--piq-ink)!important}.world-intro>p{font-size:13px;line-height:1.6}.world-map-shell{border-radius:9px!important}.world-desk-list>a{border:0;border-bottom:1px solid var(--piq-border);border-radius:0;background:transparent;padding:9px 3px}.world-desk-list>a:hover{transform:none;background:var(--piq-hover)}.world-desk-list b{font-size:12px}.world-desk-list small{font-size:10px}.world-desk-dot{box-shadow:none}.world-map-top,.world-map-bottom{font-size:11px}.world-map-top>span{font-size:10px}.world-map-toolbar button{border-radius:6px}.world-map-top i{animation:none!important}.world-atlas .world-list-heading{font-size:10px}.studio-home .find-section{border-radius:12px;padding:22px!important}.studio-home .find-section h2{font-size:28px}.studio-home .desk-heading h2{font-size:29px}.studio-home .kicker{font-size:10px;letter-spacing:.09em}.studio-home .lead-feature{border-radius:12px!important}.atlas-page .hero h1{font-size:clamp(36px,4.5vw,56px)!important;line-height:1.05!important}.atlas-page .hero{gap:24px;padding-block:22px!important}.atlas-page .hero p{font-size:14px;max-width:55ch}.atlas-page .country-art{border-radius:10px;box-shadow:none!important;max-height:270px}.atlas-page .country-art>img{max-height:270px;object-fit:cover}.atlas-page .hero-links a{min-height:44px;border-radius:7px}.atlas-page .workspace,.atlas-page .map-panel,.atlas-page .standings{border-radius:12px!important;box-shadow:none!important}.atlas-page .regions{gap:7px}.atlas-page .region-card,.atlas-page .region{border-radius:7px!important}.atlas-page .section-top h2{font-size:28px!important}.br-cover h1{font-size:clamp(35px,4vw,53px)!important}.us-cover h1{font-size:clamp(38px,5vw,64px)!important}.us-cover{min-height:290px!important;border-radius:12px!important}.br-cover{border-radius:12px!important}.piq-map-toolbar{border-radius:8px;box-shadow:0 2px 8px #0001}.piq-map-toolbar button{border-radius:5px}.piq-preferences{background:var(--piq-glass)!important;backdrop-filter:blur(12px)}.piq-theme-toggle{border-radius:7px!important}.eu-page-jumps a,.eu-country-card,.ec-election-card,.world-desk-list>a{transition:background .15s,border-color .15s!important}
@media(max-width:1000px){.ec-election-card,.ec-election-card.eu-country-card{grid-template-columns:65px minmax(0,1fr);gap:14px;padding:18px!important}.ec-card-number>b{font-size:34px}.ec-election-card h3,.ec-election-card.eu-country-card h3{font-size:24px!important}.world-atlas{grid-template-columns:minmax(220px,.7fr) minmax(0,1.3fr)}.world-intro h1{font-size:37px}.el-map-stage{max-height:430px}}
@media(max-width:700px){.eu-country-grid,.ec-core-grid{grid-template-columns:1fr}.ec-election-card,.ec-election-card.eu-country-card{grid-template-columns:65px minmax(0,1fr);min-height:155px;padding:18px!important;gap:15px}.ec-election-card h3,.ec-election-card.eu-country-card h3{font-size:26px!important}.ec-card-number>b{font-size:36px}.ec-card-number>span{font-size:8px}.ec-card-copy>p,.ec-election-card.eu-country-card p{font-size:12px}.ec-card-election{font-size:10px}.ec-card-parties{gap:6px;margin-top:12px}.ec-party-chip{width:42px;height:29px}.ec-directory-heading{align-items:flex-start;flex-direction:column;gap:8px}.ec-directory-heading h2{font-size:26px}.eu-directory-controls{flex-wrap:wrap}.eu-directory-controls label:first-child{flex-basis:100%}.eu-hero{grid-template-columns:1fr}.eu-hero-copy{padding:22px}.eu-hero h1{font-size:40px}.eu-continent{min-height:220px}.eu-overview-map{min-height:210px;max-height:260px}.eu-country-hero h1{font-size:36px!important}.eu-country-hero{gap:12px!important}.eu-country-stamp b{font-size:30px!important}.world-atlas{grid-template-columns:1fr!important;padding:17px!important;gap:18px!important}.world-intro h1{font-size:36px}.world-desk-list{max-height:150px}.world-map-shell{min-height:280px}.world-atlas .world-map{min-height:260px}.masthead .mast-row{padding-block:12px}.masthead .wordmark{font-size:44px}.masthead .navigation{gap:8px}.masthead .navigation :is(a,summary){font-size:11px}.masthead .edition{font-size:8px}.el-map-stage{max-height:360px;aspect-ratio:1.05}.el-map-detail{max-height:none}.piq-national-leader{padding:16px!important;gap:12px;min-height:148px!important}.piq-national-leader h2{font-size:24px!important}.piq-leader-portraits figure,.piq-leader-portraits figure>img{width:90px}.piq-leader-portraits figure>img{height:120px}.piq-national-leader .piq-leader-snapshot{position:static}.eu-section-head h2{font-size:26px!important}.eu-section-head>span{white-space:normal}.en-profile{padding:16px!important}.eu-page-jumps{gap:10px!important}.ec-country-switch nav a{font-size:13px}.atlas-page .country-art{max-height:220px}.atlas-page .country-art>img{max-height:220px}.piq-section-links{gap:12px!important}}
@media(prefers-reduced-motion:reduce){.ec-election-card,.world-desk-list>a,.piq-national-leader{transition:none!important;animation:none!important}}
.ec-country-election{display:flex;align-items:center;gap:12px;margin:18px 0 22px;padding:0;flex-wrap:wrap}.ec-country-election label{font-size:12px;font-weight:600;color:var(--piq-muted)}.ec-country-election select{min-width:205px;min-height:44px;font-size:13px!important;background:var(--piq-input)!important;border:1px solid var(--piq-border);border-radius:7px;color:var(--piq-ink)}.ec-country-election button{min-height:44px;border:1px solid var(--piq-border);border-radius:7px;padding:8px 13px;background:var(--piq-panel);color:var(--piq-ink);font:600 12px system-ui;cursor:pointer}.ec-country-election button:hover{background:var(--piq-hover)}.ec-national-summary>.en-profile{border:0!important;padding:12px 0!important}.ec-national-summary>summary{font-size:13px}.eu-method .eu-coverage-line{padding:12px 0}.ec-national-summary{scroll-margin-top:15px}.ec-country-election :is(select,button):focus-visible{outline:3px solid var(--piq-accent);outline-offset:3px}
.eu-country-hero:has(.piq-leader-hero-slot){display:grid;grid-template-columns:minmax(0,1.1fr) minmax(360px,.9fr);gap:28px!important;align-items:center}.piq-leader-hero-slot{min-width:0;width:100%}.piq-leader-hero-slot .piq-national-leader{margin:0;gap:16px;min-height:164px!important}.piq-leader-hero-slot .piq-national-leader h2{font-size:25px!important;max-width:25ch}.piq-leader-hero-slot .piq-leader-snapshot{position:static;display:none}.piq-leader-hero-slot .piq-leader-country{font-size:11px}.piq-leader-hero-slot .piq-leader-sources{margin-top:6px}.piq-leader-hero-slot .piq-leader-kicker{font-size:8px!important}.piq-leader-hero-slot .piq-leader-office{font-size:12px}.atlas-page .hero:has(.piq-leader-hero-slot){grid-template-columns:minmax(0,1.1fr) minmax(350px,.9fr);align-items:center}.atlas-page .piq-leader-hero-slot .piq-leader-note{font-size:11px}.atlas-page .hero:has(.piq-leader-hero-slot) h1{font-size:46px!important}.atlas-page .hero:has(.piq-leader-hero-slot) h1 em{font-style:normal;color:var(--piq-ink)}@media(max-width:900px){.eu-country-hero:has(.piq-leader-hero-slot),.atlas-page .hero:has(.piq-leader-hero-slot){grid-template-columns:1fr;gap:18px!important}.piq-leader-hero-slot .piq-national-leader{max-width:none;margin:0}.atlas-page .hero:has(.piq-leader-hero-slot) h1{font-size:39px!important}}@media(max-width:400px){.piq-leader-hero-slot .piq-national-leader h2{font-size:23px!important}}
.piq-country-statline{margin:10px 2px 0!important;font:400 11px/1.5 system-ui!important;color:var(--piq-muted)!important}
/* Observed live QA fixes: full-width map stage and readable selected province labels. */
.el-map-stage{width:100%;height:500px;max-height:none;aspect-ratio:auto;border-radius:8px}.piq-desk-nav{gap:16px!important;padding-block:8px!important;scrollbar-width:thin}.piq-desk-nav>a{border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;padding:7px 0!important;font-size:11px!important;min-height:35px;white-space:nowrap}.piq-desk-nav>a[aria-current=page]{color:var(--piq-accent)!important;box-shadow:inset 0 -2px var(--piq-accent)!important}.piq-desk-nav>a:hover{text-decoration:underline;text-underline-offset:4px}.canada-atlas .region[aria-pressed=true]{border-color:var(--piq-accent)!important;box-shadow:inset 0 -2px var(--piq-accent)!important;color:var(--piq-ink)!important}.canada-atlas .region[aria-pressed=true] small{color:var(--piq-muted)!important}.atlas-page .hero:has(.piq-leader-hero-slot){min-height:0;padding-block:26px!important}.atlas-page .hero:has(.piq-leader-hero-slot) h1{font-size:49px!important;letter-spacing:-1.5px}.atlas-page .hero:has(.piq-leader-hero-slot) p{margin:14px 0;line-height:1.7}.atlas-page .hero:has(.piq-leader-hero-slot) .piq-leader-identity p{margin:5px 0}.atlas-page .hero:has(.piq-leader-hero-slot) .piq-leader-kicker{margin-top:10px}.atlas-page .region small{font-size:9px}.piq-leader-hero-slot .piq-national-leader h2{font-family:Georgia,serif!important}@media(max-width:1000px){.el-map-stage{height:430px}}@media(max-width:700px){.el-map-stage{height:350px}.piq-desk-nav{gap:14px!important}.atlas-page .hero:has(.piq-leader-hero-slot) h1{font-size:38px!important}}
.atlas-page .hero:has(.piq-leader-hero-slot) h1{font-family:Georgia,serif!important;font-weight:500!important}
