.ec-preview{--ink:#16352f;--muted:#52675f;--line:#ccd8d0;--a:#176558;--b:#a44225;color:var(--ink);font:16px/1.55 system-ui,-apple-system,"Segoe UI",sans-serif;background:#fff;border:1px solid var(--line);border-radius:18px;padding:clamp(18px,3vw,36px);box-sizing:border-box;width:100%;max-width:1200px;margin:auto;}
.ec-preview *{box-sizing:border-box}.ec-preview h2,.ec-preview h3,.ec-preview p{margin:0}.ec-preview h2{font:700 clamp(25px,3vw,36px)/1.16 Georgia,serif;max-width:660px;letter-spacing:-.025em}.ec-preview h3{font:700 27px/1.2 Georgia,serif;margin-bottom:8px}.ec-preview button,.ec-preview select{font:inherit;color:var(--ink);min-height:46px;border:1px solid #718c80;background:#fff;border-radius:7px;padding:8px 11px;max-width:100%}.ec-preview select{width:100%;font-size:16px}.ec-preview button{cursor:pointer}.ec-preview button:hover{background:#edf4ef}.ec-preview :is(button,select,a,summary):focus-visible{outline:3px solid #134c91;outline-offset:3px}.ec-preview a{color:#125f80;text-decoration-thickness:1.5px;text-underline-offset:3px}.ec-preview a:hover{text-decoration-thickness:3px}.ec-preview summary{cursor:pointer;min-height:46px;padding:9px 0;font-weight:700}.ec-header{display:flex;align-items:start;justify-content:space-between;gap:24px}.ec-eyebrow{font-size:11px;letter-spacing:.14em;font-weight:800;color:var(--muted);margin-bottom:10px!important}.ec-intro{max-width:690px;margin-top:12px!important;color:var(--muted)}.ec-year{flex:0 0 172px}.ec-year label{display:block;font-size:13px;font-weight:700;margin-bottom:6px}.ec-allocation{margin-top:22px!important;padding:10px 13px;border-radius:6px;background:#edf4ef;font-size:14px;font-weight:650}.ec-scores{display:grid;grid-template-columns:1fr 1fr 1fr;gap:14px;margin-top:22px}.ec-score{padding:14px 17px;border-top:4px solid #b9c7be;border-radius:4px 4px 0 0;background:#f4f6f3;display:grid;grid-template-columns:1fr auto;align-items:center;gap:0 10px}.ec-score>span{font-weight:700}.ec-score>strong{font-size:36px;line-height:1.2;grid-column:2;grid-row:1/3;font-variant-numeric:tabular-nums}.ec-score>small{font-size:12px;color:var(--muted)}.ec-score-a{border-color:var(--a)}.ec-score-b{border-color:var(--b)}.ec-score-a>strong{color:var(--a)}.ec-score-b>strong{color:var(--b)}.ec-bar{display:flex;height:15px;margin-top:15px;border-radius:4px;overflow:hidden;position:relative;background:#e5eae7}.ec-bar span{height:100%;transition:width .16s ease}.ec-segment-a{background:var(--a)}.ec-segment-b{background:var(--b)}.ec-segment-u{background:#dfe6e0}.ec-bar i{display:none}.ec-majority{font-size:14px;margin-top:10px!important;min-height:24px}.ec-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px;margin-top:25px;align-items:start}.ec-map-column{min-width:0}.ec-map-wrap{background:#f6f8f5;border-radius:12px;padding:8px 3px}.ec-geography{display:block;width:100%;height:auto;overflow:visible}.ec-geography [role=button]{cursor:pointer;outline:none}.ec-geography path{stroke:var(--ec-state-outline,#fff);stroke-width:1.2;stroke-linejoin:round;vector-effect:non-scaling-stroke}.ec-geography [aria-pressed=true] path{stroke:#172f28;stroke-width:2.5}.ec-geography [role=button]:hover path{stroke:#294d41;stroke-width:2.5}.ec-geography [role=button]:focus-visible path{stroke:#154d93;stroke-width:4;filter:drop-shadow(0 0 2px #fff)}.ec-geography text{font:700 17px system-ui,sans-serif;text-anchor:middle;pointer-events:none;fill:#193b30}.ec-geography .ec-choice-a text,.ec-geography .ec-choice-b text{fill:#fff}.ec-help{font-size:12px;color:var(--muted);margin-top:12px!important;line-height:1.5}.ec-small-states{display:grid;grid-template-columns:repeat(auto-fit,minmax(52px,1fr));gap:7px;margin-top:14px}.ec-small-states button{font-size:12px;padding:7px 4px;min-height:44px;font-weight:750}.ec-legend{display:flex;flex-wrap:wrap;gap:9px 19px;margin-top:17px;font-size:12px}.ec-legend>span{display:flex;align-items:center;gap:6px}.ec-key{width:14px;height:14px;display:inline-block;border:1px solid #61766a;border-radius:2px}.ec-key-a{background:#176558}.ec-key-b{background:#a44225}.ec-key-u{background:#e5eae7}.ec-key-mixed{background:repeating-linear-gradient(40deg,#eef0ed 0 4px,#6c7e79 4px 6px)}.ec-editor{background:#f5f8f3;border:1px solid #d3ddd4;border-radius:12px;padding:20px;min-width:0}.ec-select-label{display:block;font-size:12px;font-weight:750;margin-bottom:6px}.ec-editor-kicker{margin-top:25px!important}.ec-selected-summary{font-size:13px;font-weight:700;margin-bottom:13px!important}.ec-rule{font-size:13px;color:var(--muted);margin-bottom:18px!important}.ec-unit-label{display:block;font-size:12px;font-weight:700;margin:16px 0 6px}.ec-whole{margin-top:18px}.ec-whole p{font-size:12px;margin-bottom:7px}.ec-whole:has(button){display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.ec-whole p{grid-column:1/-1}.ec-whole button{font-size:11px;padding:7px 3px}.ec-reset{margin-top:24px;width:100%;font-size:12px!important;background:transparent!important}.ec-status{margin-top:24px!important;font-size:13px;min-height:21px}.ec-sources{margin-top:12px;border-top:1px solid var(--line);font-size:13px}.ec-sources p{margin:9px 0}.ec-sources ul{padding-left:20px}.ec-sources li{margin:10px 0;overflow-wrap:anywhere}.ec-preview [hidden]{display:none!important}
@media(max-width:950px){.ec-layout{grid-template-columns:minmax(0,1fr) 270px;gap:18px}.ec-editor{padding:16px}.ec-score{padding:11px}.ec-score>strong{font-size:30px}.ec-score>span{font-size:13px}}
@media(max-width:760px){.ec-header{display:block}.ec-year{margin-top:17px;max-width:240px}.ec-layout{grid-template-columns:minmax(0,1fr)}.ec-editor{max-width:none}.ec-scores{gap:7px}.ec-score{display:block;padding:10px 7px}.ec-score>span,.ec-score>small{display:block}.ec-score>strong{display:block;font-size:31px;margin:3px 0}.ec-preview h2{font-size:28px}.ec-status{margin-top:17px!important}.ec-whole button{font-size:13px}.ec-small-states{grid-template-columns:repeat(auto-fit,minmax(50px,1fr))}}
@media(max-width:480px){.ec-preview{padding:17px;border-radius:12px}.ec-preview h2{font-size:25px}.ec-scores{margin-top:16px}.ec-score>span{font-size:11px}.ec-score>small{font-size:10px}.ec-score>strong{font-size:29px}.ec-allocation{font-size:12px;padding:10px}.ec-geography text{display:none}.ec-help{font-size:12px}.ec-editor{padding:16px}.ec-majority{font-size:13px}.ec-layout{margin-top:18px}}
@media(prefers-reduced-motion:reduce){.ec-bar span{transition:none}}
.ec-geography .ec-choice-mixed text{paint-order:stroke;stroke:#fff;stroke-width:4px;stroke-linejoin:round}
@media(forced-colors:active){.ec-preview,.ec-editor,.ec-score{border:1px solid CanvasText}.ec-geography path{fill:Canvas!important;stroke:CanvasText}.ec-geography [aria-pressed=true] path,.ec-geography [role=button]:focus-visible path{stroke:Highlight;stroke-width:5}.ec-geography text{fill:CanvasText!important}.ec-key{forced-color-adjust:none}}
@media(forced-colors:active){.ec-geography .ec-choice-mixed text{stroke:Canvas}}

.ec-geography .ec-choice-unassigned,.ec-geography .ec-choice-mixed{--ec-state-outline:#667f73}
