.cn-modebar{display:flex;align-items:center;justify-content:space-between;gap:25px;margin:5px 0 25px}.cn-modebar p{margin:7px 0 0;color:#7b6788;font-size:15px}.cn-kicker{font-size:11px!important;letter-spacing:.11em;font-weight:750;color:#85649b!important;margin:0 0 9px!important}.cn-segments{display:flex;border:1px solid #dcd1e4;background:#fff;border-radius:6px;padding:4px;flex-shrink:0}.cn-segments button{border:0;background:transparent;padding:10px 14px;font:inherit;font-size:13px;color:#80678f;border-radius:4px;cursor:pointer}.cn-segments button.active{background:#80589e;color:#fff}.cn-sourcebar{background:#fff;border:1px solid #e4dbea;border-radius:7px;display:grid;grid-template-columns:1fr 260px auto;gap:25px;align-items:center;padding:22px 25px;margin-bottom:22px}.cn-sourcebar p{font-size:13px;color:#806b8c;line-height:1.7;margin:10px 0 0}.cn-sourcebar small{display:block;font-size:11px;overflow-wrap:anywhere}.cn-tag{font-size:11px;font-weight:750;letter-spacing:.04em;display:inline-block;border-radius:4px;background:#f1eaf7;color:#78548e;padding:7px 10px}.cn-field{font-size:13px;font-weight:650;color:#705780;display:grid;gap:8px;margin:17px 0;min-width:0}.cn-field input:not([type=range]),.cn-field select,.cn-table input,.cn-table select{width:100%;min-width:0;min-height:41px;background:#fff;border:1px solid #dfd3e7;border-radius:4px;padding:9px 10px;font:inherit;font-size:13px;font-weight:400;color:#6d557b}.cn-field small{font-size:12px;font-weight:400;line-height:1.65;color:#8d7999}.cn-field input[type=range]{width:100%;accent-color:#865ca2}.cn-field output{font-weight:700;color:#79528f}.cn-controls{display:grid;grid-template-columns:1fr 1fr;gap:18px}.cn-four{grid-template-columns:repeat(4,1fr)}.cn-replay-controls{grid-template-columns:1fr 1fr auto;align-items:center}.cn-replay-controls .cn-primary{margin-top:22px}.cn-stats{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid #e5dbea;border-radius:7px;background:#fff;margin:22px 0}.cn-stats article{padding:22px 24px;border-right:1px solid #e9e1ef;min-width:0}.cn-stats article:last-child{border-right:0}.cn-stats span{font-size:10px;text-transform:uppercase;letter-spacing:.06em;font-weight:750;color:#8e789d}.cn-stats strong{display:block;font-size:31px;line-height:1.3;letter-spacing:-.025em;margin:11px 0 8px;color:#705080}.cn-stats small{display:block;font-size:12px;line-height:1.7;color:#887393}.cn-counted-stats strong{font-size:29px}.cn-banner{padding:18px 22px;border-radius:5px;background:#f6f1fa;border:1px solid #e3d7ec;color:#7a608a;font-size:13px;line-height:1.7;margin:20px 0}.cn-banner p{margin:5px 0 0}.cn-illustration{border-left:4px solid #ba8a4a;background:#fffbf3;border-color:#e8dac2;color:#8b704c}.cn-illustration strong{font-size:12px;letter-spacing:.05em}.cn-warning{background:#fffbf3;border-color:#e9d8b7;color:#967644}.cn-error{background:#fff5f8;border-color:#e9c9d8;color:#ae4569}.cn-error-text{color:#b74c6b!important}.cn-empty{padding:43px 35px;text-align:center;background:#fff;border:1px solid #dfd4e8;border-radius:7px;margin:25px 0}.cn-empty-mark{font-size:38px;line-height:1;color:#9875ad}.cn-empty h2{font-size:26px;color:#654776;margin:16px 0 12px}.cn-empty p{max-width:650px;margin:0 auto 22px;color:#856e94;font-size:15px;line-height:1.85}.cn-empty small{display:block;color:#9881a5;font-size:12px;margin:17px 0 0}.cn-primary,.cn-secondary{font:inherit;font-size:13px;border-radius:5px;cursor:pointer;padding:11px 15px;line-height:1.45}.cn-primary{background:#815a9d;color:#fff;border:1px solid #815a9d;font-weight:650}.cn-secondary{background:#fff;color:#7e5d92;border:1px solid #ded0e8}.cn-primary:disabled,.cn-secondary:disabled,.cn-segments button:disabled{opacity:.5;cursor:default}.cn-card{background:#fff;border:1px solid #e2d8ea;border-radius:7px;padding:25px;min-width:0}.cn-card h2{font-size:23px;color:#654a75;margin:0 0 15px}.cn-card h3{font-size:16px;color:#765589;margin:23px 0 10px}.cn-card p{font-size:13px;line-height:1.8;color:#887294}.cn-assumptions{margin:25px 0}.cn-assumptions>summary{font-size:17px;color:#77528f;font-weight:650;cursor:pointer;padding:18px 0}.cn-assumptions>summary span{font-size:12px;font-weight:400;color:#9a83a9;margin-left:15px}.cn-builder{display:grid;grid-template-columns:1fr 1fr;gap:22px}.cn-check{display:flex;align-items:flex-start;gap:9px;font-size:13px;color:#7a608c;line-height:1.7;margin:17px 0}.cn-check input{accent-color:#80569d;margin-top:5px;flex-shrink:0}.cn-check small{display:block;font-size:12px;color:#927ca0;margin-top:5px}.cn-note{border:1px solid #e8def0;background:#faf7fc;border-radius:5px;padding:13px 15px;font-size:12px!important;line-height:1.8}.cn-note p{margin:5px 0 0}.cn-actions{display:flex;flex-wrap:wrap;gap:10px;margin:15px 0}.cn-foot{font-size:12px!important;color:#8e789c;line-height:1.8;margin:13px 0}.cn-subdetails{margin-top:20px}.cn-subdetails summary,.cn-advanced summary,.cn-method summary,.cn-source-disclosure summary{font-size:14px;font-weight:650;color:#7c5893;cursor:pointer}.cn-subdetails p{font-size:12px}.cn-subdetails li,.cn-source-disclosure li{font-size:12px;line-height:1.85;color:#8b7399;margin:5px 0}.cn-advanced{margin-top:22px}.cn-runbar{display:flex;align-items:center;gap:18px;margin:22px 0}.cn-runbar span{font-size:13px;color:#8a6d9e;line-height:1.7}.cn-result{margin:30px 0}.cn-result-head{display:flex;justify-content:space-between;align-items:flex-start;gap:25px;margin:25px 0}.cn-result-head h2{font-size:27px;color:#644275;margin:0 0 12px}.cn-result-head p:not(.cn-kicker){font-size:14px;line-height:1.8;color:#8b739a;max-width:780px}.cn-result-head p strong{color:#795489}.cn-result-head>.cn-tag{white-space:nowrap}.cn-candidate-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(255px,1fr));gap:18px;margin-top:22px}.cn-candidate{background:#fff;border:1px solid #e4d9ec;border-top:4px solid var(--cn-candidate);border-radius:6px;padding:20px;min-width:0}.cn-candidate-top{display:flex;align-items:center;gap:9px}.cn-dot{width:9px;height:9px;display:inline-block;background:var(--cn-candidate,#8a6a9f);border-radius:50%;flex-shrink:0;margin-right:5px}.cn-candidate h3{font-size:17px;font-weight:650;color:#6b4c7c;margin:0}.cn-ticket{font-size:11px;color:#947da3;line-height:1.7;margin:9px 0 18px}.cn-candidate-share{display:flex;gap:15px;align-items:center;margin-bottom:17px}.cn-candidate-share strong{font-size:38px;font-weight:650;letter-spacing:-.04em;line-height:1;color:var(--cn-candidate)}.cn-candidate-share span{font-size:10px;line-height:1.8;color:#9a82aa}.cn-share-track{height:8px;border-radius:3px;background:#f0eaf5;overflow:hidden;margin-bottom:18px}.cn-share-track i{display:block;height:100%;background:var(--cn-candidate);border-radius:3px}.cn-candidate dl{margin:0}.cn-candidate dl>div{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:12px 0}.cn-candidate dt{font-size:11px;color:#947b9f;line-height:1.7}.cn-candidate dd{font-size:13px;font-weight:650;color:#775589;margin:0;white-space:nowrap}.cn-exportbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:23px 0}.cn-table-wrap{border:1px solid #e5dbea;border-radius:5px;overflow:auto;max-height:640px;margin-top:15px}.cn-table{border-collapse:collapse;width:100%;white-space:nowrap;font-size:12px}.cn-table th{font-size:10px;text-transform:uppercase;font-weight:750;letter-spacing:.04em;background:#faf7fc;color:#927a9f;text-align:right;border-bottom:1px solid #e5d8ed;padding:13px 14px;position:sticky;top:0;z-index:1}.cn-table td{padding:14px;color:#876c97;border-bottom:1px solid #eee6f3;text-align:right}.cn-table th:first-child,.cn-table td:first-child{text-align:left}.cn-table td strong{font-weight:650;color:#725180}.cn-table small{display:block;font-size:10px;color:#a28bae;margin-top:5px}.cn-table tr:last-child td{border-bottom:0}.cn-register-table{max-height:340px}.cn-register-table input{width:155px}.cn-county-card{margin-top:25px}.cn-county-tools{display:flex;justify-content:space-between;align-items:center;gap:18px}.cn-county-tools>div{margin-right:auto}.cn-county-tools .cn-field{min-width:155px;margin:0}.cn-county-tools h2{font-size:22px;margin-bottom:0}.cn-source{font-size:12px!important;line-height:1.8;overflow-wrap:anywhere}.cn-source a,.cn-method a,.cn-source-disclosure a{color:#79539b;text-decoration:underline}.cn-method{margin-top:25px}.cn-method-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px 30px}.cn-method-grid h3{margin:22px 0 8px}.cn-method-grid p{font-size:12px}.cn-source-disclosure{margin-top:22px}.cn-sensitivity{margin:25px 0}.cn-sensitivity-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:20px}.cn-sensitivity-grid article{border:1px solid #e6dceb;background:#faf8fc;padding:19px;border-radius:5px}.cn-sensitivity-grid h3{margin:0 0 18px}.cn-sensitivity-grid strong{font-size:27px;color:#78548e;display:block}.cn-sensitivity-grid>article>small{display:block;font-size:11px;color:#9b84a8;margin-top:4px}.cn-sensitivity-grid p{display:grid;grid-template-columns:1fr auto;margin:18px 0 0;gap:4px;font-size:12px}.cn-sensitivity-grid p small{grid-column:1/-1;font-size:10px;color:#a28aaa}.cn-sensitivity-grid b{color:#78528b}body[data-view=counting] .context-banner,body[data-view=counting] .heading-actions{display:none}
@media(max-width:1100px){.cn-builder{grid-template-columns:1fr}.cn-stats strong{font-size:26px}.cn-four{grid-template-columns:1fr 1fr}.cn-sourcebar{grid-template-columns:1fr 230px}.cn-sourcebar>.cn-secondary{grid-column:1/-1;justify-self:start}.cn-county-tools{flex-wrap:wrap}.cn-modebar{align-items:flex-start}.cn-modebar p{max-width:400px}}
@media(max-width:700px){.cn-modebar{display:block}.cn-segments{display:inline-flex;margin-top:18px}.cn-sourcebar{display:block;padding:19px}.cn-stats{grid-template-columns:1fr 1fr}.cn-stats article{padding:18px 15px;border-bottom:1px solid #e9e1ef}.cn-stats article:nth-child(2){border-right:0}.cn-stats article:nth-child(3),.cn-stats article:nth-child(4){border-bottom:0}.cn-controls,.cn-replay-controls,.cn-four{grid-template-columns:1fr;gap:0}.cn-replay-controls .cn-primary{margin:5px 0 0}.cn-card{padding:20px}.cn-empty{padding:32px 20px}.cn-empty h2{font-size:23px}.cn-runbar{display:block}.cn-runbar span{display:block;margin-top:12px}.cn-runbar .cn-primary{width:100%}.cn-result-head{display:block}.cn-result-head h2{font-size:24px}.cn-result-head>.cn-tag{margin-top:5px}.cn-method-grid,.cn-sensitivity-grid{grid-template-columns:1fr}.cn-county-tools>div{width:100%}.cn-county-tools .cn-field{flex:1;min-width:125px}.cn-assumptions>summary span{display:block;margin:9px 0 0}.cn-banner{padding:16px 18px}.cn-candidate-share strong{font-size:36px}.cn-exportbar .cn-secondary{width:100%}.cn-candidate-grid{grid-template-columns:1fr}.cn-stats strong{font-size:25px}}

/* Readable desk typography; candidate vote colors remain tied to their tickets. */
.cn-modebar p,.cn-empty p,.cn-card p,.cn-result-head p:not(.cn-kicker),.cn-runbar span,.cn-check{font-size:15px;color:#776181;line-height:1.75}
.cn-field{font-size:14.5px;color:#533e63}.cn-field input:not([type=range]),.cn-field select,.cn-table input,.cn-table select{font-size:15px;color:#533e63}
.cn-primary{font-size:15px}.cn-secondary,.cn-segments button{font-size:14.5px}.cn-secondary{color:#674675}.cn-kicker{font-size:12px!important;color:#776181!important}
.cn-empty h2,.cn-card h2,.cn-card h3,.cn-result-head h2,.cn-stats strong,.cn-candidate h3,.cn-candidate dd,.cn-table td strong,.cn-sensitivity-grid h3,.cn-sensitivity-grid strong{color:#533e63}
.cn-tag{font-size:12px;color:#674675}.cn-stats span{font-size:12px;color:#776181;letter-spacing:.025em}
.cn-stats small,.cn-field small,.cn-check small,.cn-sourcebar small,.cn-empty small,.cn-assumptions>summary span,.cn-table small,.cn-ticket,.cn-candidate-share span,.cn-sensitivity-grid>article>small,.cn-sensitivity-grid p small{font-size:12px;color:#776181}
.cn-sourcebar p{font-size:14px;color:#776181}.cn-foot{font-size:12px!important;color:#776181}.cn-source,.cn-note{font-size:14px!important;color:#776181}
.cn-candidate h3{font-size:19px}.cn-candidate dt{font-size:12.5px;color:#776181}.cn-candidate dd{font-size:15px}.cn-candidate-share span{line-height:1.75}
.cn-table,.cn-table td{font-size:14px;color:#776181}.cn-table th{font-size:12px;color:#776181}.cn-subdetails p,.cn-method-grid p{font-size:14px}
.cn-subdetails summary,.cn-advanced summary,.cn-method summary,.cn-source-disclosure summary{font-size:15px;color:#533e63}.cn-subdetails li,.cn-source-disclosure li{font-size:13.5px;color:#776181}
.cn-banner{font-size:14px}.cn-illustration strong{font-size:12px}.cn-warning{color:#855f2d}.cn-error{color:#a2395b}.cn-sensitivity-grid p{font-size:14px}
.cn-run-inputs{display:flex;gap:20px;align-items:center;flex-wrap:wrap;padding:17px 20px;border:1px solid #e2d7ea;border-radius:6px;background:#faf7fc;margin:20px 0}
.cn-run-inputs>div{display:grid;gap:6px;padding-right:20px;border-right:1px solid #e5dbea;max-width:370px}.cn-run-inputs span{font-size:12px;color:#776181}.cn-run-inputs strong{font-size:15px;color:#533e63;font-weight:650;line-height:1.5}.cn-run-inputs button{margin-left:auto}
@media(max-width:700px){.cn-run-inputs{gap:16px;padding:17px}.cn-run-inputs>div{border-right:0;padding-right:0;min-width:140px}.cn-run-inputs button{margin-left:0}.cn-candidate h3{font-size:19px}.cn-empty p{font-size:15px}}

/* Both sources share the counted-results, assumptions and projection layout. */
.cn-data-source{padding:16px 20px;align-items:center;min-height:90px}.cn-data-source.cn-illustration{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}.cn-data-source.cn-illustration>p{margin:0;font-size:12px}.cn-data-source .cn-replay-controls{margin:0}.cn-data-source .cn-replay-residual{font-size:10px!important;margin:0!important}.cn-candidate-top>.candidate-portrait{width:36px!important;height:45px!important;flex:0 0 36px}.cn-candidate-top{min-height:45px;gap:10px}.cn-candidate-top h3{line-height:1.4}.cn-candidate .cn-ticket{font-size:11px}.cn-assumptions{scroll-margin-top:calc(var(--reader-sticky-height,0px) + 12px)}.cn-result-head .cn-tag{flex:none}
.cn-advanced .cn-controls{align-items:start;column-gap:18px;row-gap:14px}
.cn-advanced .cn-controls>.cn-field{margin:0;align-content:start}
.cn-advanced .cn-controls>.cn-field input:not([type=range]),.cn-advanced .cn-controls>.cn-field select{height:44px;min-height:44px;box-sizing:border-box;align-self:start}
@supports(grid-template-rows:subgrid){
 .cn-advanced .cn-controls{row-gap:8px}
 .cn-advanced .cn-controls>.cn-field{grid-template-rows:subgrid;grid-row:span 3}
 .cn-advanced .cn-controls>.cn-field>:is(input,select){grid-row:2}
 .cn-advanced .cn-controls>.cn-field>small{grid-row:3;margin:0}
}
