/* Restore the existing U.S. board's white map / navy photo-panel hierarchy.
   Scoped to the current workspace; no shared site theme or data changes. */
.election-command-view [hidden]{display:none!important}
.election-command-view{padding:24px 0 36px;color:#0b253c;background:#eef2f4}
.election-command-view .command-heading{align-items:center;gap:24px;margin-bottom:14px;padding-bottom:16px;border-bottom:1px solid #c8d5dc}
.election-command-view .command-heading h1{font-size:clamp(2rem,3.8vw,3.45rem);line-height:1.03;letter-spacing:-.05em;margin:7px 0 9px}
.election-command-view .command-heading p{font-size:.84rem;line-height:1.45;margin:0;color:#5b7180}
.election-command-view .command-country{width:220px;flex-shrink:0;font-size:.68rem;font-weight:750;text-transform:uppercase;letter-spacing:.07em}
.election-command-view .command-country select{margin-top:5px;font-size:.88rem;height:44px;min-height:44px}
.election-command-view .command-office-tabs{display:flex;gap:1px;padding:1px;background:#c5d3da;margin-bottom:14px;flex-wrap:wrap}
.election-command-view .command-office-tabs:empty{display:none}
.election-command-view .command-office-tabs button{flex:1 1 125px;min-height:49px;padding:11px 15px;border:0;border-radius:0;background:#fff;color:#17354e;text-align:left;font:600 .93rem/1.3 Georgia,serif}
.election-command-view .command-office-tabs button.active{background:#0b1d2d;color:#fff;box-shadow:inset 0 -3px #c99f47}
.election-command-view .command-office-tabs button:hover:not(.active){background:#edf5f8}
.election-command-view .command-map-and-panel{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(360px,.78fr);gap:16px;align-items:start;border:0;background:transparent}
.election-command-view .current-map-panel{border:1px solid #c6d4dc;padding:0;position:relative;background:#fff;min-width:0;box-shadow:0 8px 24px rgba(20,48,68,.05)}
.election-command-view .current-map-heading{padding:16px 18px 12px;border-bottom:1px solid #d5e0e6;align-items:center}
.election-command-view .current-map-heading h2{font:600 1.35rem/1.2 Georgia,serif;margin:5px 0 0}
.election-command-view .command-map-kicker{color:#87631a;font-size:.65rem;font-weight:750;text-transform:uppercase;letter-spacing:.065em}
.election-command-view .current-map-heading>button{border:0;background:transparent;color:#136687;min-height:44px;padding:8px;font-size:.75rem;white-space:nowrap}
.election-command-view .current-map-heading>button:disabled{color:#6d8291;opacity:.65}
.election-command-view .current-map-stage{margin:0;padding:17px;background:#f7fafb;min-height:260px}
.election-command-view .current-map-stage svg{width:100%;height:auto;min-height:240px;max-height:490px}
.election-command-view .current-map-stage path.selected{fill:#287e61;stroke:#0b253c}
.election-command-view .current-map-stage path:hover,.election-command-view .current-map-stage path:focus-visible{fill:#00a2cc}
.election-command-view .map-key.selected:before{background:#287e61}
.election-command-view .command-map-bottom{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:10px 18px;border-top:1px solid #d7e1e6;font-size:.76rem;color:#506c7e}
.election-command-view .command-map-bottom>span{padding-top:9px}
.election-command-view .command-place-browser{max-width:100%;flex:0 1 auto}
.election-command-view .command-place-browser summary{min-height:44px;padding:9px 0;cursor:pointer;font-weight:650;color:#155d86;white-space:nowrap}
.election-command-view .command-place-browser[open]{flex:1 1 280px}
.election-command-view .command-place-browser label{font-size:.7rem;display:block;margin:5px 0 10px}
.election-command-view .command-place-browser input{display:block;width:100%;min-width:0;height:44px;border:1px solid #a9bfca;border-radius:3px;padding:9px;background:#fff;color:#183348;font:400 .82rem system-ui;margin-top:5px}
.election-command-view .command-place-list{display:grid;gap:5px;max-height:240px;overflow:auto;margin-bottom:10px;padding:3px}
.election-command-view .command-place-list button{min-height:44px;text-align:left;font-size:.78rem;background:#f5f8fa}
.election-command-view .command-place-list button.active{background:#dbeaf1;color:#133e55}
.election-command-view .current-map-legend{padding:2px 18px 12px;font-size:.66rem}
.election-command-view .command-map-details{padding:0 18px 12px;border-top:1px solid #e0e7eb;color:#586f7d;font-size:.72rem}
.election-command-view .command-map-details>summary{cursor:pointer;min-height:44px;padding-top:12px}
.election-command-view .command-map-tools{display:flex;gap:8px;margin:12px 0}
.election-command-view .command-event-list{list-style:none;margin:14px 0 0;padding:0}
.election-command-view .command-event-list li{padding:10px 0;border-top:1px solid #e1e9ee}
.election-command-view .command-event-list :is(strong,span){display:block;margin-bottom:4px}
.election-command-view .current-race-panel{padding:22px;border:1px solid #173247;background:#0a1b2b;color:#eef5f8;min-height:280px;min-width:0;align-self:start;box-shadow:0 8px 24px rgba(6,24,38,.12)}
.election-command-view .command-race-kicker{font-size:.65rem;letter-spacing:.09em;text-transform:uppercase;font-weight:750;color:#d6b25d}
.election-command-view .current-race-panel h2{color:#f1f6f9;font:600 1.65rem/1.12 Georgia,serif;margin:8px 0 10px;overflow-wrap:anywhere}
.election-command-view .command-race-head{border-bottom:1px solid #2b4052;padding-bottom:12px;margin-bottom:14px}
.election-command-view .command-race-head p{font-size:.75rem;line-height:1.55;color:#b1c4d1;margin:0}
.election-command-view .command-race-choices{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:13px}
.election-command-view .command-race-choices button{background:#102b40;color:#d3e4ef;border:1px solid #385469;padding:8px 10px;min-height:44px;font-size:.73rem;text-align:left;overflow-wrap:anywhere;max-width:100%}
.election-command-view .command-race-choices button.active{background:#204a63;border-color:#80bed8;color:#fff}
.election-command-view .current-summary{font-size:.73rem;line-height:1.5;color:#b2c6d4;margin:0 0 12px}
.election-command-view .current-candidates{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;max-height:355px;scrollbar-color:#4f6c7e #102536;scrollbar-gutter:stable}
.election-command-view .current-person{padding:11px;grid-template-columns:62px minmax(0,1fr);gap:9px;background:#10283b;border-color:#344f63;align-items:start}
.election-command-view .current-person img{width:62px;height:82px;object-fit:cover;object-position:center 25%}
.election-command-view .current-person strong{font-size:.79rem;line-height:1.3;color:#fff}
.election-command-view .current-person small{color:#c0d0db;font-size:.64rem;line-height:1.4}
.election-command-view .current-person a{font-size:.59rem;color:#9bd8ef;line-height:1.45}
.election-command-view .current-person-value{border-color:#3b5265;color:#fff;font-size:1.35rem;padding-top:9px}
.election-command-view .current-avatar-fallback{width:62px;min-height:82px;background:#253d50;color:#cfdee7;font-size:1rem}
.election-command-view .current-model-status{margin-top:12px;padding:9px 11px;background:#102435;border-left:2px solid #c99f47;color:#bacbd7;font-size:.72rem;line-height:1.5}
.election-command-view .current-time-controls{padding:13px 0 5px;margin-top:14px;border-top:1px solid #32495d;border-bottom:0}
.election-command-view .current-time-controls>div:first-child{gap:8px;align-items:center}
.election-command-view .current-time-controls strong{font-size:.71rem;color:#dce9f1;font-weight:650;line-height:1.5}
.election-command-view .command-time-actions{display:flex;gap:6px;flex-shrink:0}
.election-command-view .current-time-controls button{min-height:44px;background:#173449;color:#d6e7f1;border:1px solid #3c586c;padding:7px 9px;font-size:.7rem;white-space:nowrap}
.election-command-view .current-time-controls button:hover{background:#20445c}
.election-command-view .current-slider-label{margin-top:5px}
.election-command-view .current-slider-label input{height:32px;accent-color:#d6b25d}
.election-command-view [data-current-projection]:disabled{display:none}
.election-command-view .current-chart-shell{margin-top:5px}
.election-command-view .current-chart-shell h3{color:#f0f6fa;font-size:1.03rem;margin:8px 0 2px}
.election-command-view .current-chart-shell svg{min-height:165px}
.election-command-view .current-chart-label{fill:#c0d2df;font-size:13px}
.election-command-view .current-gridline{stroke:#31495d}
.election-command-view .current-chart-empty{fill:#c0d2df;font-size:14px}
.election-command-view .current-date-cursor{stroke:#c8dae6}
.election-command-view .current-future-zone{fill:#243747}
.election-command-view .current-chart-legend{color:#d5e3ed;font-size:.67rem;gap:6px 12px}
.election-command-view .current-inspection{background:#142e43;color:#cee1ed;font-size:.68rem;line-height:1.5;margin-top:10px}
.election-command-view .command-chart-guide{margin-top:7px;color:#bcd1de;font-size:.69rem}
.election-command-view .command-chart-guide summary{cursor:pointer;min-height:44px;padding-top:12px}
.election-command-view .command-chart-guide p{margin:0 0 8px;line-height:1.55}
.election-command-view.is-empty .command-timeline{display:none}
.election-command-view .command-sources{padding:0;margin-top:15px}
.election-command-view .command-sources>summary{display:flex;justify-content:space-between;gap:15px;align-items:center;min-height:56px;padding:13px 18px;cursor:pointer;color:#17354e;font-size:.85rem}
.election-command-view .command-sources>summary span{font-size:.74rem;color:#5f7787}
.election-command-view .command-source-body{padding:2px 18px 18px}
.election-command-view .current-footer{font-size:.73rem;gap:9px 20px;margin-top:15px}
.election-command-view .current-footer p{font-size:.7rem}
.command-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media(max-width:1120px){.election-command-view .command-map-and-panel{grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr)}.election-command-view .current-race-panel{padding:16px}.election-command-view .current-person{grid-template-columns:46px minmax(0,1fr);padding:9px;gap:8px}.election-command-view .current-person img,.election-command-view .current-avatar-fallback{width:46px;height:66px;min-height:66px}}
@media(max-width:900px){.election-command-view .command-map-and-panel{grid-template-columns:1fr}.election-command-view .current-map-panel{position:static}.election-command-view .current-map-stage svg{max-height:365px;min-height:220px}.election-command-view .current-race-panel{min-height:0;padding:20px}.election-command-view.is-empty .current-race-panel{min-height:150px}.election-command-view .current-person{grid-template-columns:62px minmax(0,1fr)}.election-command-view .current-person img,.election-command-view .current-avatar-fallback{width:62px;height:82px;min-height:82px}.election-command-view .current-chart-shell svg{max-height:295px}}
@media(max-width:600px){.election-command-view{padding-top:16px}.election-command-view .command-heading{display:flex;flex-wrap:wrap;gap:12px;padding-bottom:12px}.election-command-view .command-heading>div{flex:1 1 100%}.election-command-view .command-heading h1{font-size:2rem}.election-command-view .command-heading p{font-size:.79rem}.election-command-view .command-country{display:flex;align-items:center;gap:12px;width:100%}.election-command-view .command-country select{margin:0;flex:1}.election-command-view .command-office-tabs button{flex:1 1 90px;min-height:46px;padding:9px 11px;font-size:.84rem}.election-command-view .current-map-heading{padding:12px 14px 9px}.election-command-view .current-map-heading h2{font-size:1.2rem}.election-command-view .current-map-stage{padding:10px;min-height:190px}.election-command-view .current-map-stage svg{max-height:265px;min-height:190px}.election-command-view .command-map-bottom{padding:8px 14px;font-size:.71rem}.election-command-view .current-map-legend{padding:0 14px 10px;font-size:.62rem;gap:7px 10px}.election-command-view .command-map-details{padding:0 14px 7px;font-size:.68rem}.election-command-view .current-race-panel{padding:15px}.election-command-view .current-race-panel h2{font-size:1.45rem}.election-command-view .current-candidates{gap:8px}.election-command-view .current-person{grid-template-columns:42px minmax(0,1fr);gap:7px;padding:9px}.election-command-view .current-person img,.election-command-view .current-avatar-fallback{width:42px;height:60px;min-height:60px}.election-command-view .current-person strong{font-size:.74rem}.election-command-view .current-time-controls>div:first-child{flex-wrap:wrap}.election-command-view .current-time-controls strong{flex:1 1 165px}.election-command-view .command-sources>summary{font-size:.8rem;padding:12px 14px}.election-command-view .command-sources>summary span{font-size:.68rem}.election-command-view .command-source-body{padding:0 14px 14px}}

/* Compact selected-race presentation: race summary first, deep timeline on demand. */
.election-command-view .command-timeline-shell{margin-top:14px;border-top:1px solid #32495d}
.election-command-view .command-timeline-shell>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:12px 0;cursor:pointer;list-style:none;color:#edf5f9}
.election-command-view .command-timeline-shell>summary::-webkit-details-marker{display:none}
.election-command-view .command-timeline-shell>summary span{font:700 .78rem/1.2 Georgia,serif}
.election-command-view .command-timeline-shell>summary small{color:#7f98a8;font-size:.6rem}
.election-command-view .command-timeline-shell[open]>summary{border-bottom:1px solid #32495d}
.election-command-view .command-timeline-shell[open]>summary small{color:#d6b25d}
.election-command-view .command-race-choices button{max-width:none}
.election-command-view .current-candidates{gap:10px;max-height:none}
.election-command-view .current-person{grid-template-columns:78px minmax(0,1fr);min-height:116px;padding:10px}
.election-command-view .current-person img{width:78px;height:98px}
.election-command-view .current-avatar-fallback{width:78px;min-height:98px}
.election-command-view .current-person-value{font-size:1.55rem}
.election-command-view .current-model-status{margin-top:10px;padding:8px 10px;font-size:.67rem}
.election-command-view .command-evidence-tabs{margin:10px 0}
@media(max-width:560px){
  .election-command-view .current-candidates{grid-template-columns:1fr}
  .election-command-view .current-person{grid-template-columns:84px minmax(0,1fr)}
  .election-command-view .current-person img,.election-command-view .current-avatar-fallback{width:84px}
}

/* October audit: candidate names and evidence get their own readable space. */
.election-workspace-tabs{display:flex;gap:20px;border-bottom:1px solid #bdccd5;margin:0 0 16px}
.election-workspace-tabs a{padding:10px 0;color:#164e68;font-size:16px}
.election-workspace-tabs [aria-current=page]{border-bottom:3px solid #157b9a;font-weight:700}
.election-command-view .audit-election-controls{display:grid;grid-template-columns:1fr 1fr 1fr;gap:16px;margin:0 0 18px}
.election-command-view .audit-election-controls label{display:grid;gap:6px;color:#4d6473;font-size:14px}
.election-command-view .audit-election-controls select{width:100%;min-width:0;min-height:44px;padding:8px;border:1px solid #b9c8d2;background:#fff;color:#102a3a;font-size:16px}
.election-command-view .command-map-and-panel{grid-template-columns:minmax(0,3fr) minmax(340px,2fr)}
.election-command-view .current-candidates{display:grid;grid-template-columns:1fr;overflow:visible;max-height:none;gap:10px}
.election-command-view .current-person{grid-template-columns:56px minmax(0,1fr) 72px;gap:10px;min-height:90px;align-items:start;padding:10px}
.election-command-view .current-person img,.election-command-view .current-avatar-fallback{width:56px;height:70px;min-height:70px;object-fit:cover;object-position:center 25%}
.election-command-view .current-person>div{min-width:0}
.election-command-view .current-person strong{font:600 16px/1.35 system-ui;word-break:normal;overflow-wrap:normal}
.election-command-view .current-person small{font-size:13px;line-height:1.4;word-break:normal}
.election-command-view .current-person-value{grid-column:auto;border:0;padding:0;text-align:right;font-size:20px}
.election-command-view .current-person-value small{font-size:12px;line-height:1.45}
.election-command-view .current-photo-credit{margin-top:6px;font-size:12px;line-height:1.45;color:#b9c8d2;overflow-wrap:anywhere}
.election-command-view .current-photo-credit summary{cursor:pointer;color:#9bd8ef;min-height:24px;font-size:12px}
.election-command-view .current-photo-credit a,.election-command-view .current-photo-credit span{display:block;font-size:12px;line-height:1.45}
.election-command-view .current-photo-disclaimer{grid-column:1/-1;font-size:12px;line-height:1.45;color:#d2dfe7;margin:4px 0 0}
.election-command-view .command-timeline-shell{background:#0a1b2b;color:#f7fafc;margin:20px 0 0;padding:16px 22px;border:1px solid #294558}
.election-command-view .command-timeline-shell>summary span{font:600 22px/1.3 Georgia,serif}
.election-command-view .command-timeline-shell>summary small{font-size:12px;color:#b9c8d2}
.election-command-view .current-chart-shell svg{display:block;width:100%;min-width:0;height:360px;min-height:360px;max-height:none}
.election-command-view .current-chart-label{font-size:14px;fill:#b9c8d2}
.election-command-view .current-chart-legend{font-size:14px;line-height:1.4;margin:12px 0;gap:10px 20px}
.election-command-view .earlier-matchups{display:flex;align-items:center;gap:8px;font-size:14px;color:#b9c8d2;margin:10px 0}
.election-command-view .current-time-controls strong,.election-command-view .current-inspection,.election-command-view .current-summary,.election-command-view .current-map-legend{font-size:14px;line-height:1.45}
.election-command-view .current-model-status,.election-command-view .command-chart-guide{font-size:12px;line-height:1.45}
.election-command-view.is-empty .command-timeline-shell{display:none}
@media(max-width:1023px){.election-command-view .command-map-and-panel{grid-template-columns:1fr}.election-command-view .current-race-panel{min-height:0}.election-command-view .current-map-stage svg{max-height:430px}.election-command-view .audit-election-controls{grid-template-columns:1fr 1fr}.election-command-view .audit-election-controls label:last-child{grid-column:1/-1}}
@media(max-width:599px){.election-command-view .audit-election-controls{grid-template-columns:1fr;gap:10px}.election-command-view .command-timeline-shell{padding:12px}.election-command-view .command-timeline-shell>summary{display:block}.election-command-view .command-timeline-shell>summary small{display:block;margin-top:4px}.election-command-view .current-person{grid-template-columns:56px minmax(0,1fr) 72px}}
.election-command-view .current-selection-breadcrumb{font-size:14px!important;color:#4d6473;margin:0 0 12px;line-height:1.45}
.election-command-view .current-state-abbreviation{fill:#102a3a;font-weight:700;pointer-events:none;paint-order:stroke;stroke:#fff;stroke-width:1.5px}
.election-command-view.is-loading .current-candidates:empty{min-height:180px;background:repeating-linear-gradient(#153449 0 58px,transparent 58px 68px);border-radius:4px;opacity:.7}
.election-command-view.is-loading .current-chart-shell{min-height:360px}
.election-command-view .current-person.current-party-result{grid-template-columns:minmax(0,1fr) 72px!important;min-height:70px}
.election-command-view .current-generic-note{grid-column:1/-1;color:#b9c8d2;font-size:14px!important;line-height:1.45}

/* Preserve the reviewed release's visible adjacent credit/caption contract. */
.election-command-view .current-photo-credit{grid-column:1/-1;min-width:0;margin-top:0}
.election-command-view .current-photo-caption{grid-column:1/-1;font-size:12px;line-height:1.45;margin:4px 0;color:#c0d0db;overflow-wrap:anywhere}
/* Reviewed party marks retain their complete artwork in the existing compact slot. */
.election-command-view .current-party-artwork{grid-template-columns:56px minmax(0,1fr) 72px}
.election-command-view .current-person.current-party-artwork>img{object-fit:contain;object-position:center;background:#fff;border-radius:0;clip-path:none;mask:none}
@media(max-width:380px){.election-command-view .current-person{grid-template-columns:56px minmax(0,1fr)}.election-command-view .current-person>img,.election-command-view .current-person>.current-avatar-fallback{grid-row:1/3}.election-command-view .current-person-value{grid-column:2;text-align:left}.election-command-view .current-party-result .current-person-value{grid-column:auto;text-align:right}}

/* Only explicitly selected full-frame photos use a wider first row. */
.election-command-view .current-person.current-wide-portrait{grid-template-columns:minmax(0,1fr) 72px}
.election-command-view .current-person.current-wide-portrait>img{grid-column:1/-1;grid-row:auto;width:min(100%,220px);height:auto;min-height:0;justify-self:start}
.election-command-view .current-person.current-wide-portrait>.current-person-value{grid-column:auto;text-align:right}
