/* OSC's election-night presentation: the same live map, in a dedicated newsroom shell. */
.candidate-share,.candidate-meter{display:none}
.command-launch{display:inline-flex;align-items:center;gap:9px;font-weight:700}
.command-launch>span{font-size:20px;line-height:1}
.command-center-open{overflow:hidden}
.workspace.is-command-center{position:fixed;inset:0;z-index:50;display:flex;flex-direction:column;gap:10px;width:100%;height:100dvh;max-width:none;margin:0;padding:16px;overflow:auto;overscroll-behavior:contain;background:radial-gradient(ellipse at 75% 0,#1c344b 0,transparent 55%),#0c1724;color:#f8f5ed;border:0;border-radius:0;box-shadow:none;color-scheme:dark}
.workspace::backdrop{background:#0c1724}
.is-command-center>*{flex-shrink:0}
.command-header{border-bottom:1px solid #ffffff24;padding-bottom:14px}
.command-masthead{display:flex;gap:25px;align-items:center;justify-content:space-between}
.command-brand{display:flex;gap:15px;align-items:center;min-width:0;margin-right:auto}
.command-seal{display:grid;place-items:center;width:57px;height:57px;flex-shrink:0;border:1px solid #cdb27d;border-radius:50%;font:bold 19px Georgia,serif;letter-spacing:-1px;color:#e5cf9e;box-shadow:inset 0 0 0 4px #0e1d2e,inset 0 0 0 5px #bca57455}
.command-brand p{font-size:10px;font-weight:750;letter-spacing:1.8px;text-transform:uppercase;color:#e4cfa5;margin:0 0 4px}
.command-brand p span{color:#a8b8c6;letter-spacing:1px}
.command-brand h2{font:normal clamp(22px,2vw,34px)/1.05 Georgia,serif;letter-spacing:-.6px;margin:0;color:#fffaf0}
.command-brand h2 em{font-style:normal;color:#e4cfa5}
.command-status{display:flex;gap:10px;align-items:center;max-width:290px;font-size:12px}
.command-status strong,.command-status small{display:block}
.command-status strong{font-size:12px;color:#f5eee1}
.command-status small{font-size:10px;line-height:1.45;color:#a8b8c6;margin-top:4px}
.command-signal{width:8px;height:8px;flex-shrink:0;border-radius:50%;background:#bdc9d4;box-shadow:0 0 0 4px #ffffff0b}
.command-header[data-health=current] .command-signal{background:#70c5b0;box-shadow:0 0 0 4px #70c5b015}
.command-header[data-health=delayed] .command-signal,.command-header[data-health=rehearsal] .command-signal{background:#e7be73}
.command-time{border-left:1px solid #ffffff26;padding-left:20px;font-variant-numeric:tabular-nums;white-space:nowrap}
.command-time span{display:block;font-size:9px;letter-spacing:1.3px;text-transform:uppercase;color:#a8b8c6}
.command-time time{font-size:18px;font-weight:650;color:#e4cfa5}
.command-exit{padding:10px 13px;border:1px solid #cdb27d77;border-radius:5px;background:#e4cfa512;color:#f5e5c6;font-size:11px;font-weight:700;white-space:nowrap}
.command-exit span{margin-left:12px}.command-exit:hover{background:#e4cfa528}
.command-simulation{padding:5px 12px;margin-bottom:12px;background:#e9bc67;color:#2b2418;text-align:center;font-size:11px;font-weight:800;letter-spacing:1.5px;border-radius:3px}
.is-command-center .toolbar{display:none!important}
.is-command-center .filters{gap:10px 16px;padding:0 0 4px;border:0;background:none;color:#a8b8c6;flex-shrink:0}
.is-command-center .filters label{font-size:9px;letter-spacing:1.2px;gap:4px}
.is-command-center .filters .race-filter{flex:1 1 220px;max-width:360px}
.is-command-center .filters #legislative-label{flex:1 1 210px;max-width:360px}
.is-command-center .filters select{padding:8px 30px 8px 11px;min-width:170px;font-size:12px;border-color:#ffffff2b;background:#142438;color:#f3f0e8;border-radius:4px}
.workspace.is-command-center #results{padding:0;border:0;background:none}
.is-command-center .results-heading{gap:15px;margin:0 0 9px;align-items:center}
.is-command-center .results-heading h2{margin:0;font:normal 19px/1.2 Georgia,serif;color:#fffaf0}
.is-command-center .results-heading #reporting{font-size:10px;color:#a8b8c6;margin:3px 0 0}
.is-command-center .results-heading .edition,.is-command-center #method-breakdown,.is-command-center #method-note{display:none!important}
.is-command-center .candidate-grid{display:grid;grid-template-columns:repeat(var(--candidate-count),minmax(0,1fr));gap:10px;margin:0}
.is-command-center .candidate{position:relative;overflow:hidden;padding:12px 16px 13px;border:1px solid #ffffff23;border-top:3px solid var(--candidate-color);border-radius:5px;background:linear-gradient(125deg,#ffffff07,transparent),#111f30;min-width:0;box-shadow:0 4px 16px #0002}
.is-command-center .candidate>span{display:block;color:#a8b8c6;font-size:9px;letter-spacing:1.3px;font-weight:700}
.is-command-center .candidate h3{font-size:15px;line-height:1.2;font-weight:650;color:#fffaf0;margin:4px 0 7px;overflow-wrap:anywhere}
.is-command-center .candidate-share{display:block;font-size:clamp(29px,3vw,46px);line-height:1.05;letter-spacing:-1px;font-variant-numeric:tabular-nums;color:#fffaf0}
.is-command-center .candidate>strong{display:block;margin-top:5px;font-size:14px;color:#c6d2dc;font-weight:500;font-variant-numeric:tabular-nums}
.is-command-center .candidate>strong:after{content:' votes';font-size:10px;color:#9cabb9}
.is-command-center .candidate>small{display:none}
.is-command-center .candidate-meter{display:block;height:3px;background:#ffffff12;position:absolute;bottom:0;left:0;right:0}
.is-command-center .candidate-meter i{display:block;height:100%;background:var(--candidate-color)}
.is-command-center .comparison-strip{border:1px solid #ffffff26;background:#15283b;color:#d8e4ed;border-radius:5px;padding:10px 16px;gap:20px}
.is-command-center .comparison-strip .eyebrow{font-size:9px;letter-spacing:1.2px;margin-bottom:4px;color:#a8b8c6}
.is-command-center .comparison-numbers{gap:25px}
.is-command-center .comparison-numbers strong{font-size:23px;color:#f6e4bf}
.is-command-center .comparison-numbers small,.is-command-center #coverage{font-size:10px;color:#b5c5d2}
.is-command-center #coverage{max-width:500px}
.is-command-center .map-layout{flex:1 0 300px;min-height:300px;--precinct-panel-height:100%;grid-template-columns:minmax(0,1fr) 310px;gap:10px;align-items:stretch;scroll-margin-top:0}
.is-command-center .map-shell{height:100%;min-height:300px;overflow:hidden;border-radius:6px;border:1px solid #ffffff26;background:#e8eeeb}
.workspace.is-command-center #map{height:100%;min-height:300px}
.is-command-center .detail{height:100%;max-height:100%;min-height:0;overflow:auto;position:relative;background:#fffdf7;color:#172c3b;border:0;border-top:3px solid #cdb27d;border-radius:6px;padding:19px 17px;color-scheme:light;contain:size}
.is-command-center .detail h2{font-size:22px;line-height:1.2;color:#172c3b}
.is-command-center .detail .eyebrow{font-size:9px;letter-spacing:1.5px;color:#7a6440;margin-bottom:9px}
.is-command-center .detail p{color:#566674}
.is-command-center .legend{font-size:10px;max-width:calc(100% - 25px);left:12px;bottom:27px;border-radius:4px;color:#172c3b}
.is-command-center .legend span{margin-right:9px}
.is-command-center .central-buckets{color:#172c3b}
.command-footer{display:flex;gap:18px;align-items:center;justify-content:space-between;color:#9fb1c0;font-size:10px;letter-spacing:.3px;padding:3px 2px 0}
.command-footer b{color:#e4cfa5;letter-spacing:1.5px;font-size:11px;margin-right:5px}
.command-footer>span:nth-child(2){text-align:center;color:#d8e3eb}.command-footer>span:last-child{text-align:right}
.is-command-center #pre-results-note{padding:8px 12px;margin:0 0 9px;background:#e7c48516;border-color:#cdb27d;color:#e4cfa5;font-size:11px}
.is-command-center #source-warning,.is-command-center #new-results{padding:9px 12px;font-size:11px;margin-bottom:10px;color:#172c3b}
@media(max-width:1500px){.command-masthead{gap:17px}.command-brand h2{font-size:25px}.command-time{padding-left:15px}.command-status{max-width:230px}.is-command-center .filters{gap:8px 12px}.is-command-center .candidate{padding:10px 12px 12px}.is-command-center .candidate h3{font-size:14px}.is-command-center .map-layout{grid-template-columns:minmax(0,1fr) 285px}}
@media(max-width:1100px){.command-time{display:none}.command-brand p span{display:none}.command-brand h2{font-size:24px}.command-status{max-width:200px}.is-command-center .map-layout{grid-template-columns:minmax(0,1fr) 260px}}
@media(max-width:800px){.workspace.is-command-center{gap:12px;padding:12px;display:block;overflow:auto}.command-masthead{flex-wrap:wrap;gap:12px}.command-brand{flex-basis:calc(100% - 170px)}.command-brand h2{font-size:22px}.command-brand p{font-size:8px;letter-spacing:1px}.command-seal{width:40px;height:40px;font-size:15px}.command-brand{gap:10px}.command-status{max-width:none;order:3;flex-basis:100%}.command-exit{font-size:10px;padding:9px}.command-exit span{margin-left:3px}.command-header{margin-bottom:12px}.is-command-center .filters{padding-bottom:8px}.is-command-center .filters .race-filter,.is-command-center .filters #legislative-label{max-width:none;flex-basis:100%}.is-command-center .filters label{flex:1;min-width:130px}.is-command-center .filters select{width:100%;min-width:0}.is-command-center .candidate-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.is-command-center .candidate h3{font-size:12px}.is-command-center .candidate-share{font-size:29px}.is-command-center .candidate>strong{font-size:12px}.is-command-center #results{margin-bottom:12px}.is-command-center .map-layout{display:block;min-height:0}.is-command-center .map-shell{height:55vh;min-height:350px}.workspace.is-command-center #map{height:100%;min-height:0}.is-command-center .detail{height:auto;max-height:none;contain:none;margin-top:10px}.is-command-center .comparison-strip{margin-bottom:12px}.command-footer{flex-wrap:wrap;gap:7px;margin-top:14px}.command-footer>span{flex-basis:100%;text-align:left!important}}
@media(max-width:480px){.command-brand{flex-basis:100%}.command-brand h2{font-size:23px}.command-exit{order:2;margin-left:auto}.command-status{flex:1;order:1;font-size:10px}.command-status strong{font-size:10px}.command-status small{font-size:9px}.is-command-center .candidate-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.is-command-center .candidate:last-child{grid-column:auto}.command-simulation{font-size:9px;letter-spacing:.5px}.is-command-center .results-heading h2{font-size:17px}}
@media(prefers-reduced-motion:reduce){.is-command-center *{scroll-behavior:auto!important}}
/* Give the map a separate legend rail so keys never cover precincts or countywide controls. */
.is-command-center .map-shell{display:flex;flex-direction:column}
.workspace.is-command-center #map{flex:1;min-height:0;height:auto}
.is-command-center .legend{position:static;flex-shrink:0;max-width:none;padding:8px 12px;margin:0;border:0;border-top:1px solid #d5dcd9;border-radius:0;box-shadow:none;background:#fffdf7}
.is-command-center .legend strong{margin-bottom:3px}
@media(min-width:801px) and (max-height:850px){
 .workspace.is-command-center{padding:12px;gap:8px}
 .command-header{padding-bottom:9px}.command-seal{width:42px;height:42px;font-size:16px}.command-brand h2{font-size:23px}.command-brand p{font-size:9px}.command-simulation{padding:3px 10px;margin-bottom:8px;font-size:9px}
 .is-command-center .filters select{padding-top:6px;padding-bottom:6px}.is-command-center .filters{padding-bottom:0}
 .is-command-center .results-heading{margin-bottom:7px}.is-command-center .results-heading h2{font-size:18px}
 .is-command-center .candidate{padding:8px 11px 10px}.is-command-center .candidate h3{font-size:13px;margin:3px 0 5px}.is-command-center .candidate-share{font-size:32px}.is-command-center .candidate>strong{font-size:12px;margin-top:4px}
 .is-command-center .map-layout{min-height:270px;flex-basis:270px}.is-command-center .map-shell{min-height:270px}
 .is-command-center .central-buckets{top:24%;left:3%;width:124px}.is-command-center .central-bucket-buttons{grid-template-columns:repeat(2,58px);gap:8px}.is-command-center .central-bucket{width:58px;height:58px;padding:3px 1px}.is-command-center .central-bucket[aria-pressed=true]{padding:2px 0}.is-command-center .central-bucket .central-county{font-size:8px}.is-command-center .central-bucket strong{font-size:11px;margin:1px 0}.is-command-center .central-bucket small{font-size:8px}.is-command-center .central-buckets h2{font-size:8px;margin-bottom:6px}
 .command-footer{font-size:9px;gap:10px;padding-top:0}
}
@media(max-width:800px){.is-command-center .candidate:nth-child(5):last-child{grid-column:auto}}

/* An inviting gold launcher, with a quiet radar sweep and occasional light pass. */
.toolbar>.command-launch{position:relative;isolation:isolate;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:8px 14px;border:1px solid #f4da9f;background:linear-gradient(120deg,#efd397,#f9e7bc 52%,#d6b374);color:#172c3b;box-shadow:0 3px 12px #0003,inset 0 1px #fff8;font-weight:800;flex-shrink:0}
.toolbar>.command-launch:hover{background:linear-gradient(120deg,#f8dda4,#fff0cc 52%,#e6c68b);box-shadow:0 4px 18px #e4cfa540,inset 0 1px #fffa}
.command-launch>.command-launch-copy{font-size:12px;line-height:1.25;position:relative;z-index:1}
.command-launch>.command-radar{position:relative;display:block;width:25px;height:25px;flex:0 0 25px;border:1px solid #294d61;border-radius:50%;background:repeating-radial-gradient(circle,transparent 0 4px,#294d614d 4px 5px,transparent 5px 8px);overflow:hidden}
.command-radar:before{content:'';position:absolute;inset:1px;border-radius:50%;background:conic-gradient(transparent 0 250deg,#24556a14 280deg,#24556ab3 360deg);animation:command-radar-sweep 4s linear infinite}
.command-radar:after{content:'';position:absolute;width:4px;height:4px;left:50%;top:50%;margin:-2px;background:#173f55;border-radius:50%;box-shadow:0 0 0 2px #efd397}
.command-launch:after{content:'';pointer-events:none;position:absolute;inset:-30% auto -30% 0;width:30%;background:linear-gradient(90deg,transparent,#fff7,transparent);transform:translateX(-450%) skewX(-18deg);animation:command-launch-shimmer 7s ease-in-out infinite}
@keyframes command-radar-sweep{to{transform:rotate(360deg)}}
@keyframes command-launch-shimmer{0%,65%{transform:translateX(-450%) skewX(-18deg)}92%,100%{transform:translateX(650%) skewX(-18deg)}}
@media(max-width:700px){.toolbar>.command-launch{width:100%;padding:9px 12px}.active-view-marker{font-size:7px}}
@media(prefers-reduced-motion:reduce){.command-radar:before,.command-launch:after{animation:none}.command-launch:after{display:none}}

.is-command-center .command-vote-notice{display:block;position:sticky;top:0;z-index:6}
.is-command-center .vote-method-notice{justify-content:space-between;border:1px solid #ba790c;border-left:4px solid #e5b653;border-radius:5px;padding:8px 13px;background:#fff0c9;color:#473008;color-scheme:light}
.is-command-center .vote-method-title{font-size:15px}.is-command-center .vote-method-notice .all-votes-link{padding:8px 12px}
.is-command-center .command-vote-notice:has(.vote-method-notice[hidden]){display:none}

.is-command-center .opening-votes-note{padding:7px 12px;margin:0 0 9px;font-size:11px;color-scheme:light}.is-command-center .opening-votes-note strong{font-size:12px}.is-command-center .opening-votes-note small{font-size:10px}.is-command-center .opening-votes-note button{font-size:11px;padding:7px 10px}
