:root{font-family:system-ui,-apple-system,Segoe UI,sans-serif;color:#183b39;background:#f6f5f0;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,a,input{font:inherit}button{cursor:pointer}a{color:inherit}header{max-width:1200px;margin:auto;padding:28px 32px;display:flex;justify-content:space-between;align-items:center;gap:20px}.brand{text-decoration:none;font-size:21px;letter-spacing:-.8px;font-weight:800;display:flex;align-items:center;gap:9px}.brand-icon{display:grid;place-items:center;background:#183b39;color:#e9f0be;border-radius:11px;width:36px;height:36px;font-size:27px}.dot{color:#a34426;margin-left:-8px}nav{display:flex;gap:24px;align-items:center}button{border:0}nav button,footer button{background:none;color:#254e49;padding:10px;text-decoration:underline;text-underline-offset:5px}.privacy{font-size:12px;border:1px solid #ccd5c9;padding:8px 12px;border-radius:30px}main{max-width:1136px;margin:20px auto 72px;padding:0 0}.eyebrow{font-size:11px;font-weight:750;letter-spacing:2px;text-transform:uppercase;display:flex;gap:9px;align-items:center}.eyebrow:before{content:'';width:7px;height:7px;border-radius:50%;background:#b8d288}.hero{display:grid;grid-template-columns:1.3fr 1fr;gap:36px;align-items:center;padding:48px 8px 58px}.hero h1{font-family:Georgia,serif;font-size:clamp(48px,6vw,78px);font-weight:400;line-height:1.04;letter-spacing:-3px;margin:24px 0}.hero h1 em{color:#65814b}.lead{font-size:17px;line-height:1.8;color:#52625c;max-width:500px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:15px;padding:15px 22px;border-radius:8px;background:#193f3a;color:white;font-weight:650;text-decoration:none;min-height:48px}.btn:hover{background:#28594f}.btn.alt{background:#e9ece0;color:#214a41}.btn.ghost{background:transparent;border:1px solid #ccd5c9;color:#214a41}.btn:disabled{opacity:.5;cursor:not-allowed}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}.micro{font-size:12px;color:#607069;margin-top:18px}.art{min-height:390px;background:#e8ecd9;border-radius:120px 120px 20px 20px;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden}.orbit{position:absolute;width:310px;height:310px;border:1px solid #c6cfb4;border-radius:50%;transform:rotate(-25deg)}.orbit:after{content:'';position:absolute;inset:35px;border:1px solid #c6cfb4;border-radius:50%}.idea-card{background:#fffef9;width:245px;padding:25px;border-radius:12px;box-shadow:0 15px 35px #304a3620;transform:rotate(-7deg);z-index:1}.idea-card .line{height:7px;background:#dde3d2;border-radius:4px;margin-top:13px}.idea-card .line.short{width:60%}.idea-card .tick{margin:16px 0 0;display:flex;gap:12px;align-items:center;font-size:13px;color:#536654}.tick span{border:1px solid #9cb18a;padding:2px 5px;border-radius:4px}.bubble{position:absolute;right:20px;bottom:38px;background:#214c43;color:#ecf1d6;padding:18px 23px;border-radius:12px;transform:rotate(5deg);z-index:2;font-family:Georgia,serif;font-size:24px}.section-label{font-size:11px;letter-spacing:1.8px;text-transform:uppercase;color:#6c796e}.section-head{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:22px}h2{font-family:Georgia,serif;font-weight:400;font-size:34px;letter-spacing:-.7px;margin:12px 0}h3{font-size:20px;margin:12px 0}.muted{color:#607069;line-height:1.7}.modes{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.mode{position:relative;border:1px solid #d4d9cd;background:#fffef9;border-radius:12px;padding:26px;text-align:left;color:inherit}.mode:hover,.mode.selected{border-color:#254f43;box-shadow:0 0 0 1px #254f43}.mode.selected{background:#eef1e2}.mode .number{font-family:Georgia,serif;font-size:48px;line-height:1.2}.mode .number small{font:12px system-ui;color:#637064;display:block;margin-top:5px}.mode p{font-size:14px;line-height:1.6;color:#627064}.mode .arrow{position:absolute;right:22px;top:30px}.pill{display:inline-block;padding:5px 8px;font-size:10px;letter-spacing:.6px;background:#e8edda;border-radius:4px}.notice{font-size:13px;line-height:1.7;border-left:3px solid #a7773a;padding:12px 18px;background:#f0ebdf;margin:26px 0}.panel{background:#fffef9;border:1px solid #d8ddcf;border-radius:16px;padding:32px;margin:20px 0}.narrow{max-width:800px;margin:auto}.chips{display:flex;flex-wrap:wrap;gap:9px;margin:24px 0}.chip{background:#fffef9;border:1px solid #cbd5c7;padding:12px 16px;border-radius:28px;color:#2b4b3e}.chip[aria-pressed=true]{background:#214c43;color:white;border-color:#214c43}.quiz-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;color:#607069}progress{width:100%;height:6px;border:0;margin:20px 0 34px;accent-color:#6a8951}progress::-webkit-progress-bar{background:#e5e9dd;border-radius:10px}progress::-webkit-progress-value{background:#6a8951;border-radius:10px}.question{font-size:29px;line-height:1.4;margin:12px 0 26px;letter-spacing:-.5px}.question .pre{font:12px system-ui;display:block;margin-bottom:15px;color:#607069}.choices{display:grid;gap:10px}.choice{border:1px solid #d4ddce;border-radius:9px;padding:15px 18px;background:#fffef9;text-align:left;color:#294b41;display:flex;gap:13px;align-items:center;min-height:52px}.choice:before{content:'';width:16px;height:16px;flex:0 0 16px;border:1px solid #a6b7a0;border-radius:50%}.choice[aria-pressed=true]{background:#eaf0de;border-color:#53754c}.choice[aria-pressed=true]:before{background:#53754c;box-shadow:inset 0 0 0 3px #eaf0de}.choice:hover{border-color:#53754c}.bottom-nav{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:28px}.text-button{background:none;color:#47604c;padding:12px;text-decoration:underline;text-underline-offset:4px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:24px 0}.stat{background:#eaf0df;padding:18px;border-radius:10px}.stat strong{display:block;font-size:28px;font-family:Georgia,serif}.stat small{color:#5b6f59}details{border-top:1px solid #dce1d4;padding:18px 0}summary{cursor:pointer;font-weight:650}details p{font-size:14px;line-height:1.7}details p span{display:block;color:#4e6c45}.source-state{display:flex;gap:15px;align-items:start}.source-icon{font-size:30px}.status{padding:15px;background:#fff0d3}footer{max-width:1136px;margin:auto;padding:30px 0;border-top:1px solid #d6ddce;font-size:12px;color:#64725f;line-height:2}footer strong{color:#345240;font-weight:600}footer button{padding-left:0}.skip{position:absolute;top:-100px;left:10px}.skip:focus{top:10px;padding:12px;background:white;z-index:10}:focus-visible{outline:3px solid #a45b30;outline-offset:4px}h1:focus,h2:focus{outline:0} @media(max-width:850px){main,footer{margin-left:24px;margin-right:24px}.hero{gap:20px;padding-top:25px}.art{min-height:330px}.hero h1{font-size:58px}.idea-card{width:210px}.bubble{right:8px}.modes{gap:10px}.mode{padding:20px}}@media(max-width:600px){header{padding:20px}.brand{font-size:17px}.brand-icon{width:29px;height:29px;font-size:22px}nav{gap:0}nav button{font-size:12px}.privacy{display:none}main{margin:0 18px 40px}.hero{grid-template-columns:1fr;padding:26px 3px 35px}.hero h1{font-size:55px}.art{display:none}.lead{font-size:16px}.section-head{display:block}.modes{grid-template-columns:1fr}.mode{padding:22px;display:grid;grid-template-columns:75px 1fr;gap:10px}.mode .number{font-size:37px}.mode .arrow{display:none}.mode h3{margin-top:0}.mode p{margin-bottom:0}.panel{padding:23px 18px}.question{font-size:25px}.quiz-meta{font-size:11px}.stats{gap:6px}.stat{padding:12px}.stat strong{font-size:24px}.stat small{font-size:10px}h2{font-size:29px}footer{margin:0 20px;padding:24px 0}.bottom-nav .actions{margin:0}.btn{padding:13px 17px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.wide{max-width:960px}.province-field{margin:28px 0;padding:22px;background:#eaf0df;border-radius:12px}.province-field label,.filter-row label{display:block;font-size:13px;font-weight:700;margin-bottom:9px}select{width:100%;max-width:100%;padding:13px 15px;border:1px solid #b9c8b0;border-radius:8px;background:#fffef9;color:#244b3f;font:inherit;min-height:48px}.candidate-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:24px}.candidate{border:1px solid #d9e1d1;border-radius:10px;padding:20px}.candidate h4{font-size:14px;line-height:1.6;margin:0 0 10px;overflow-wrap:anywhere}.candidate a,.source-ref a,.panel a{color:#285c49;text-decoration:underline;text-underline-offset:3px}.candidate a{font-size:12px}.coverage{font-size:12px;color:#546a4c;line-height:1.7}.filter-row{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:24px 0}.proposal{border:1px solid #dce3d3;border-radius:10px;padding:22px;margin:12px 0 26px}.proposal h4{font-weight:600;line-height:1.6;font-size:17px;margin:14px 0}.proposal-meta{display:flex;gap:9px;flex-wrap:wrap;align-items:center;font-size:11px;color:#66745d}.proposal-party{font-size:12px;text-transform:uppercase;letter-spacing:1px;font-weight:750;color:#647857;margin-top:30px}.source-ref{font-size:12px;color:#627258;line-height:1.8}.relation{padding:10px 13px;background:#edf0e6;border-radius:6px;font-size:13px;display:inline-block;font-weight:650}.relation.same{background:#e5eedc;color:#294e2c}.relation.different{background:#f3e7dd;color:#764323}.proposal details{margin-top:18px}.small{font-size:13px;line-height:1.7}@media(max-width:600px){.candidate-grid,.filter-row{grid-template-columns:1fr}.province-field{padding:18px}.proposal{padding:17px}.proposal h4{font-size:16px}nav button{padding:8px;font-size:11px}}

.profile-list{padding-left:1.3rem}.profile-list li{padding:.5rem 0;border-bottom:1px solid var(--line,#ddd)}.profile-list li:last-child{border-bottom:0}.profile-list p{margin:.3rem 0}.profile-list .text-button{margin-bottom:.5rem}

@media print{header,footer,.actions,.text-button,.bottom-nav,.skip,.source-state{display:none!important}body{background:white;color:black}main,.narrow{max-width:none;margin:0;padding:0}.panel{border:0;padding:0}.stats{display:flex}details{display:block;break-inside:avoid}details>*{display:block!important}.notice{background:white}a{overflow-wrap:anywhere}}
@media(max-width:380px){header{flex-wrap:wrap;gap:6px}.brand{font-size:17px}nav{width:100%}.hero h1{font-size:46px}}

.document-jumps{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}.document-jumps a{padding:12px 14px;border:1px solid #b9c8b0;border-radius:8px;color:#285c49;font-size:14px}section[id]{scroll-margin-top:20px}

/* Visual comparison: outcome colours are identical for all candidacies. */
.visual-results{max-width:1040px}.result-heading{display:flex;gap:24px;align-items:center;justify-content:space-between}.result-heading h2{font-size:44px;margin-bottom:8px}.result-heading .muted{margin-top:0;max-width:620px}.comparison-scope{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:24px 0}.comparison-scope .province-field{background:transparent;padding:0;margin:0}.comparison-scope .province-field .micro{display:none}.comparison-scope label{font-size:13px;font-weight:700;display:block;margin-bottom:9px}.affinity-intro{background:#193f3a;color:#fffef9;border-radius:20px;padding:30px;display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:30px;align-items:center}.affinity-intro h3{font:30px/1.25 Georgia,serif;margin:16px 0 10px}.affinity-intro p{font-size:14px;line-height:1.6;color:#e0e8dc;margin:8px 0}.affinity-intro .eyebrow{font-size:10px;color:#d8e7c0}.party-chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}.party-chips button{padding:9px 12px;border-radius:8px;background:#f1f4e6;color:#193f3a;font-size:13px;font-weight:650}.party-chips button span{margin-left:8px}.coverage-orb{text-align:center;border:1px solid #77958a;border-radius:50%;width:174px;height:174px;display:flex;flex-direction:column;align-items:center;justify-content:center}.coverage-orb strong{font:52px/1 Georgia,serif;color:#e9f0be}.coverage-orb strong span{font-size:26px;color:#d0dbcf}.coverage-orb p{font-size:11px;line-height:1.5}.visual-comparison{margin:30px 0;background:#fffef9;border:1px solid #d8ddcf;border-radius:18px;padding:24px}.comparison-section-title{display:flex;align-items:baseline;gap:16px;justify-content:space-between}.comparison-section-title h3{margin:0;font-size:19px}.comparison-section-title .micro{margin:0}.bar-legend{display:flex;gap:15px;flex-wrap:wrap;margin:20px 0 12px;font-size:12px}.key:before{content:'';display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:6px}.key.same:before{background:#47765b}.key.different:before{background:#b96d4f}.key.middle:before{background:#d6b96d}.key.missing:before{background:#e1e5df}.reading-note{font-size:12px;line-height:1.6;color:#5a6c60;margin-bottom:22px}.match-rows{display:grid;gap:4px}.match-row{background:transparent;width:100%;color:inherit;padding:19px 8px;display:grid;grid-template-columns:150px minmax(0,1fr) 20px;gap:20px;text-align:left;border-top:1px solid #e0e5d9;border-radius:4px;align-items:center}.match-row:hover{background:#f0f3e7}.party-title{font-size:16px;font-weight:750;line-height:1.3;overflow-wrap:anywhere}.party-title small{display:block;font-size:11px;font-weight:400;color:#667662;margin-top:7px}.match-bar{width:100%;height:15px;display:block;border-radius:5px;overflow:hidden}.segment.same{fill:#47765b}.segment.different{fill:#b96d4f}.segment.middle{fill:#d6b96d}.segment.mixed{fill:#8c7b99}.segment.missing{fill:#e1e5df}.bar-caption{display:flex;gap:12px;flex-wrap:wrap;margin-top:9px;font-size:11px;color:#566950}.bar-caption span:first-child{color:#2f6348;font-weight:700}.row-arrow{font-size:20px;color:#557351}.comparison-pages{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:20px}.comparison-pages span{font-size:12px;color:#667662}.comparison-pages .btn{font-size:12px;min-height:44px;padding:10px 13px}.pending-candidates,.result-method{background:#eeefe7;border-radius:12px;padding:18px 22px;margin:14px 0;border:0}.pending-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}.pending-grid>div{background:#fffef9;padding:16px;border-radius:9px;overflow-wrap:anywhere}.pending-grid p{font-size:12px;margin:6px 0;color:#607069}.pending-grid .micro{font-size:10px}.empty-result{text-align:center;padding:25px 10px}.empty-result p{color:#607069;font-size:14px;line-height:1.6}.candidate-dialog{width:min(760px,calc(100vw - 32px));max-height:88vh;border:1px solid #c7d3bf;border-radius:18px;padding:30px;color:#183b39;background:#fffef9;box-shadow:0 24px 90px #10282240}.candidate-dialog::backdrop{background:#102822aa}.dialog-top{display:flex;align-items:center;justify-content:space-between;gap:15px}.dialog-top .btn{min-height:42px;padding:10px 15px;font-size:13px}.candidate-dialog h2{font-size:36px}.candidate-dialog .match-bar{margin-top:20px}.detail-intro{font-size:14px;line-height:1.6}.detail-group{margin-top:24px}.detail-group h3{font-size:18px}.detail-group summary{font-size:14px;line-height:1.5}.candidate-dialog .proposal{margin-bottom:12px}.candidate-dialog .proposal h4{font-size:15px}
@media(max-width:650px){.result-heading{display:block}.result-heading h2{font-size:35px}.result-heading>.btn{padding:10px 14px;min-height:42px;font-size:12px;margin-top:5px}.comparison-scope{gap:14px;grid-template-columns:1fr}.affinity-intro{padding:24px 20px;grid-template-columns:1fr;gap:12px}.affinity-intro h3{font-size:26px}.coverage-orb{border:0;border-top:1px solid #55796a;border-radius:0;width:100%;height:auto;flex-direction:row;gap:15px;justify-content:flex-start;padding-top:16px}.coverage-orb strong{font-size:34px;white-space:nowrap}.coverage-orb strong span{font-size:20px}.coverage-orb p{text-align:left;font-size:11px}.visual-comparison{padding:20px 14px}.comparison-section-title{display:block}.comparison-section-title .micro{margin-top:8px}.bar-legend{gap:9px 12px;font-size:11px}.match-row{grid-template-columns:minmax(0,1fr) 20px;gap:12px;padding:17px 2px}.party-title{font-size:15px;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.party-title small{font-size:10px;margin:0}.party-bar{grid-column:1 / -1;grid-row:2}.row-arrow{grid-column:2;grid-row:1}.bar-caption{font-size:10px;gap:8px}.match-bar{height:14px}.pending-grid{grid-template-columns:1fr}.candidate-dialog{padding:22px 18px}.comparison-pages{gap:6px}.comparison-pages .btn{padding:10px;font-size:11px}}

.affinity-intro{padding:20px 24px;grid-template-columns:minmax(0,1fr) 120px;gap:22px}.affinity-intro h3{font-size:25px;margin:10px 0 6px}.affinity-intro p{font-size:13px;margin:5px 0}.party-chips{margin-top:12px}.coverage-orb{width:116px;height:116px}.coverage-orb strong{font-size:38px}.coverage-orb strong span{font-size:21px}.coverage-orb p{font-size:9px}.comparison-scope{margin:18px 0}.visual-comparison{margin-top:22px}.result-heading h2{font-size:39px}.result-heading .muted{font-size:14px}.reading-note{margin-bottom:12px}.bar-legend{margin-top:14px}@media(max-width:650px){.affinity-intro{grid-template-columns:1fr;padding:20px}.coverage-orb{width:100%;height:auto}.coverage-orb p{font-size:11px}.affinity-intro h3{font-size:25px}.result-heading h2{font-size:33px}}

/* Identidades: los colores identifican candidaturas, no resultados. */
.brand-pp{--party-color:#0075c9;--party-ink:#ffffff}
.brand-psoe{--party-color:#e30613;--party-ink:#ffffff}
.brand-vox{--party-color:#63be21;--party-ink:#111111}
.brand-pacma{--party-color:#85ad2a;--party-ink:#111111}
.brand-erc{--party-color:#f6cc26;--party-ink:#111111}
.brand-pnv{--party-color:#00843d;--party-ink:#ffffff}
.brand-bng{--party-color:#5ca7d9;--party-ink:#111111}
.brand-cc{--party-color:#f2ce1b;--party-ink:#111111}
.brand-adelante{--party-color:#07966a;--party-ink:#111111}
.brand-mj{--party-color:#e6b684;--party-ink:#111111}
.brand-ph{--party-color:#f77916;--party-ink:#111111}
.brand-compromis{--party-color:#ff6720;--party-ink:#111111}
.brand-fo{--party-color:#c9232c;--party-ink:#ffffff}
.brand-salf{--party-color:#b29a6c;--party-ink:#111111}
.brand-soria{--party-color:#e52b38;--party-ink:#111111}
.brand-podemos{--party-color:#6b2c91;--party-ink:#ffffff}

.brand-neutral{--party-color:#d0d5cf;--party-ink:#183b39}.brand-badge{display:inline-flex;align-items:center;justify-content:center;flex:0 0 38px;width:38px;height:38px;border-radius:9px;background:var(--party-color,#d0d5cf);color:var(--party-ink,#183b39);font:800 10px/1 system-ui;letter-spacing:-.3px;vertical-align:middle}.party-title{display:flex;gap:12px;align-items:center}.party-title>span:last-child{min-width:0}.match-row{border-left:4px solid var(--party-color,#d0d5cf);padding-left:13px;margin-top:4px}.party-chips button{display:inline-flex;align-items:center;gap:7px;border-left:3px solid var(--party-color,#d0d5cf)}.party-chips button .brand-badge{width:25px;height:25px;flex-basis:25px;border-radius:6px;font-size:7px}.party-chips button span{margin-left:0}.candidate-dialog #detail-title{display:flex;gap:12px;align-items:center}.pending-grid strong{display:flex;gap:9px;align-items:center}.pending-grid .brand-badge{width:28px;height:28px;flex-basis:28px;border-radius:7px;font-size:8px}@media(max-width:650px){.party-title{justify-content:flex-start;flex-wrap:nowrap}.party-title small{display:block;margin-top:5px}.brand-badge{width:34px;height:34px;flex-basis:34px;font-size:9px}.match-row{padding-left:10px}}

.brand-pp{--party-ink:#ffffff}
.brand-psoe{--party-ink:#ffffff}
.brand-vox{--party-ink:#000000}
.brand-pacma{--party-ink:#000000}
.brand-erc{--party-ink:#000000}
.brand-pnv{--party-ink:#ffffff}
.brand-bng{--party-ink:#000000}
.brand-cc{--party-ink:#000000}
.brand-adelante{--party-ink:#000000}
.brand-mj{--party-ink:#000000}
.brand-ph{--party-ink:#000000}
.brand-compromis{--party-ink:#000000}
.brand-fo{--party-ink:#ffffff}
.brand-salf{--party-ink:#000000}
.brand-soria{--party-ink:#000000}
.brand-podemos{--party-ink:#ffffff}

.project-credit{font-size:11px;font-weight:400;color:#697565;margin:12px 0 0;line-height:1.5}
@media(max-width:650px){.comparison-scope{grid-template-columns:1fr 1fr;align-items:end;gap:10px}.comparison-scope label{font-size:11px;min-height:30px}.comparison-scope select{font-size:12px;padding:10px;min-height:46px}.result-heading>.btn{display:none}.result-heading .section-label{font-size:10px;letter-spacing:1px}.result-heading .muted{font-size:13px}}

.affinity-intro .coverage-limit{font-size:11px;color:#dde6d9;margin-top:14px;max-width:620px}
