/* Dirección visual compartida: superficies, navegación y centro electoral. */
:root { --command-cyan:#22c7ef; --command-navy:#07172c; --command-edge:#29435f; }
.sidebar { background:#08182d; }
.brand-mark { background:#20bee8; color:#07172c; }
.brand strong { letter-spacing:-1px; }
.side-link.active { background:#1fc6ee20; box-shadow:inset 3px 0 #22c7ef; }
.v3-side-stage.current span { background:#22c7ef; border-color:#22c7ef; color:#07172c; }
.command-home { max-width:1320px; margin:auto; padding:clamp(22px,4vw,55px); }
.command-home-main { min-height:340px; position:relative; display:grid; grid-template-columns:1.05fr 1fr; overflow:hidden; border-radius:22px; color:white; background:radial-gradient(ellipse at 75% 100%,#16476b 0%,transparent 48%),linear-gradient(125deg,#07172c,#102b4b 75%,#11243d); box-shadow:0 18px 45px #07172c20; }
.command-intro { position:relative; z-index:1; align-self:center; padding:clamp(28px,5vw,65px); }
.command-eyebrow { color:#51d8f4; font-size:10px; font-weight:800; letter-spacing:.17em; }
.command-eyebrow i { display:inline-block; width:7px; height:7px; margin-right:6px; background:#28cbee; border-radius:50%; box-shadow:0 0 12px #22c7ef; }
.command-intro h1 { margin:22px 0 18px; color:#fff; font-size:clamp(38px,4.7vw,66px); line-height:1.03; letter-spacing:-.05em; }
.command-intro h1 em { color:#bfefff; font-style:normal; }
.command-intro p { max-width:390px; color:#c3d4e5; font-size:15px; }
.command-art { position:relative; display:flex; align-items:center; justify-content:center; min-height:300px; color:#b9e6fa; overflow:hidden; }
.command-art:before,.command-art:after { content:''; position:absolute; width:330px; height:330px; border:1px solid #78c9ed25; border-radius:50%; }
.command-art:after { width:450px; height:450px; }
.command-art-glow { position:absolute; width:65%; aspect-ratio:1; border-radius:50%; background:#20c6ef22; filter:blur(45px); }
.command-art svg { width:min(90%,470px); position:relative; z-index:1; filter:drop-shadow(0 0 12px #39bbeb55); opacity:.82; }
.command-art>span { position:absolute; right:28px; bottom:24px; color:#9fc2dc; font-size:9px; letter-spacing:.14em; }
.command-resume { display:flex; align-items:center; gap:12px; width:min(100%,390px); margin-top:22px; padding:12px; border:1px solid #65cdeb70; border-radius:12px; background:#112f4f; color:white; text-align:left; }
.command-resume>span:nth-child(2) { flex:1; min-width:0; }.command-resume strong,.command-resume small { display:block; }.command-resume small { color:#b5d1e3; font-size:10px; }.command-resume strong { overflow-wrap:anywhere; }
.command-actions { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin-top:16px; }
.command-action { display:flex; align-items:center; gap:13px; min-width:0; min-height:97px; padding:18px; border:1px solid #cbd9e6; border-radius:14px; background:#fff; color:#152b44; text-align:left; transition:transform .15s,border-color .15s; }
.command-action:hover { border-color:#20bde3; transform:translateY(-2px); }.command-action>span:nth-child(2) { flex:1; min-width:0; }.command-action strong,.command-action small { display:block; }.command-action strong { font-size:16px; }.command-action small { color:#657a91; font-size:11px; margin-top:3px; }.command-action>svg { flex:none; }
.command-action-icon { display:grid; place-items:center; flex:none; width:44px; height:44px; border-radius:11px; background:#e6f6fb; color:#008caf; }
.command-action-primary { background:#1ac5ee; border-color:#1ac5ee; color:#071d31; }.command-action-primary small { color:#174d61; }.command-action-primary .command-action-icon { color:#07374b; background:#ffffff70; }
.command-scenarios { margin-top:36px; }.command-section-heading { display:flex; justify-content:space-between; align-items:end; gap:15px; margin-bottom:14px; }.command-section-heading h2 { margin:6px 0 0; font-size:24px; }.command-section-heading>span { color:#75889c; font-size:10px; font-weight:800; letter-spacing:.1em; }.command-scenarios .command-eyebrow { color:#1284a4; }
.command-scenarios .v3-scenario-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; border:0; }.command-scenarios .v3-scenario-row { padding:14px; border:1px solid #d7e2eb; border-radius:12px; background:white; }.command-scenarios .v3-scenario-row:hover { border-color:#29b8dd; }
.command-home-footer { display:flex; align-items:center; flex-wrap:wrap; gap:12px; margin-top:35px; color:#8090a0; font-size:9px; font-weight:800; letter-spacing:.13em; }.command-home-footer i { width:4px; height:4px; background:#20bfe7; border-radius:50%; }
.command-intro h1,.v3-election h1,.v3-ready .v3-page-heading h1 { font-family:Georgia,serif; font-weight:700; letter-spacing:-.035em; }
.v3-ready .v3-page-heading { padding:clamp(22px,3vw,38px); border-radius:18px; background:linear-gradient(110deg,#0c2037,#143b5c); color:#eaf8ff; }
.v3-ready .v3-page-heading h1 { color:#fff; }.v3-ready .v3-page-heading p { color:#c1d7e8; }.v3-ready .v3-page-heading .v3-eyebrow { color:#5bd9f2; }
.v3-ready-nav a { flex:1; min-width:150px; padding:15px; }
.v3-ready .v3-step { color:#087d9a; background:#d9f5fb; }
.v3-live-dashboard { box-shadow:0 16px 35px #0413221c; }
.scrutiny-track { height:10px; }
@media(min-width:1100px) {
 .v3-live { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr); gap:0 18px; align-items:start; }
 .v3-live>* { grid-column:1/-1; min-width:0; }
 .v3-live>.v3-results-panel { grid-column:1; grid-row:2; }
 .v3-live>.live-scrutiny-map { grid-column:2; grid-row:2; margin-top:18px; }
 .v3-live .live-map-layout { grid-template-columns:1fr; }
}
html[data-theme=dark] { --accent:#20c5ed; --paper:#071424; --ink:#edf5ff; --muted:#a9bed3; --line:#253c55; }
html[data-theme=dark] :is(body,.main-area) { background:#071424; }
html[data-theme=dark] .topbar { background:#091a2e; border-color:#233b54; }
html[data-theme=dark] .command-action { background:#10263e; border-color:#294863; color:#eef8ff; }
html[data-theme=dark] .command-action small { color:#a7bfd3; }
html[data-theme=dark] .command-action-icon { background:#183b57; color:#7edff5; }
html[data-theme=dark] .command-action-primary { background:#22c7ef; border-color:#22c7ef; color:#062030; }
html[data-theme=dark] .command-action-primary small { color:#145367; }
html[data-theme=dark] .command-action-primary .command-action-icon { background:#ffffff70; color:#07374b; }
html[data-theme=dark] .command-scenarios .v3-scenario-row { background:#10263e; border-color:#29435f; color:#e9f4ff; }
html[data-theme=dark] .command-scenarios .command-eyebrow { color:#59d5ef; }
html[data-theme=dark] :is(.v3-ready-section,.v3-ready-overview,.v3-summary-card,.v3-results-panel,.v3-territorial-results,.district-scrutiny,.v3-parliament,.political-card,.operation-card) { background:#10243a; border-color:#29425b; border-radius:15px; }
html[data-theme=dark] :is(.v3-ready-nav a,.secondary-button,.scrutiny-control,.election-vote-toggle) { border-radius:10px; }
html[data-theme=dark] :is(.campaign-primary,.v3-primary,.primary-button,.start-button) { background:#22c7ef; border-color:#22c7ef; color:#071d31; }
html[data-theme=dark] :is(.campaign-primary,.v3-primary,.primary-button,.start-button):hover { background:#71def5; border-color:#71def5; color:#071d31; }
html[data-theme=dark] .v3-live-dashboard { background:linear-gradient(120deg,#102943,#0a1b30); border:1px solid #29465f; }
html[data-theme=dark] .scrutiny-track i { background:#24d0f5; }
html[data-theme=dark] .v3-live-label i { background:#ff7772; box-shadow:0 0 0 4px #ff777226; }
html[data-theme=dark] .v3-election .v3-results-table { color:#e8f2ff; }
html[data-theme=dark] .v3-ready .v3-ready-nav a:hover { color:#67dcf5; }
@media(max-width:760px) {
 .command-home { padding:20px 16px 55px; }
 .command-home-main { grid-template-columns:1fr; min-height:0; }
 .command-intro { padding:32px 26px 8px; }
 .command-intro h1 { font-size:42px; margin:16px 0 12px; }
 .command-intro p { font-size:14px; margin-bottom:8px; }
 .command-art { min-height:180px; max-height:210px; }.command-art svg { width:min(82%,320px); }.command-art>span { bottom:14px; right:18px; font-size:8px; }
 .command-actions { grid-template-columns:1fr; gap:9px; }.command-action { min-height:76px; padding:13px 16px; }.command-action-icon { width:40px; height:40px; }
 .v3-ready-nav a { min-width:0; }
 .command-scenarios { margin-top:30px; }.command-scenarios .v3-scenario-list { grid-template-columns:1fr; }.command-section-heading h2 { font-size:21px; }
}
@media(max-width:360px) { .command-intro h1 { font-size:37px; }.command-section-heading>span { display:none; } }
