/* Live coverage: a compact territorial rail and one primary result surface. */
.live-workspace{max-width:1320px;margin:auto;color:var(--text)}
.live-actions,.live-scope,.live-progress-heading,.live-runoffs-heading,.live-chart-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
.live-return{min-height:44px;margin-bottom:12px}
.live-layout{display:grid;grid-template-columns:248px minmax(0,1fr);gap:24px;align-items:start}
.live-main{min-width:0}.live-scope{margin-bottom:16px;align-items:flex-start}.live-scope h2{font-size:26px;font-weight:750;line-height:1.25;margin:0}.live-scope .badge{flex-shrink:0;margin-top:5px}
.live-status{font-size:13px;color:var(--muted);margin:0 0 14px}.live-status:empty{display:none}
.live-duel{padding:22px;border:1px solid var(--line);border-radius:20px;background:var(--surface);box-shadow:none}
.live-progress-heading{font-size:11px;color:var(--muted);gap:8px}.live-progress-heading strong{font-weight:550}.live-progress-heading span{text-align:right}
#liveProgress{display:block;width:100%;height:4px;margin:8px 0 26px;accent-color:var(--brand-primary)}
.live-candidates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;position:relative;margin:0 0 28px}
.live-candidates:has(.live-person:nth-child(2))::after{content:'×';position:absolute;left:50%;top:45%;transform:translate(-50%,-50%);font-size:18px;color:var(--muted)}
.live-person{display:flex;gap:14px;align-items:center;min-width:0}
.live-person:nth-child(even){flex-direction:row-reverse;text-align:right}
.live-person .candidate-portrait-large{width:80px;height:108px;min-width:80px;border:1px solid var(--line);border-bottom:3px solid var(--candidate-color);box-shadow:none;border-radius:12px}
.live-person-copy{min-width:0}.live-person h3{font-size:15px;font-weight:750;line-height:1.3;margin:0 0 6px;overflow-wrap:anywhere}
.live-person-party{margin:0 0 6px;font-size:11px;color:var(--muted);display:flex;align-items:center;gap:5px}
.live-person:nth-child(even) .live-person-party{justify-content:flex-end}.live-person-party i{width:8px;height:8px;border-radius:50%;background:var(--candidate-color);display:inline-block}
.live-person-percent{display:block;font-size:38px;letter-spacing:-1.5px;line-height:1.1;font-variant-numeric:tabular-nums;font-weight:800}
.live-person-votes{display:block;font-size:12px;margin-top:4px;color:var(--muted);font-variant-numeric:tabular-nums}.live-person .badge{margin-top:6px;white-space:normal}
.live-balance{height:12px;border-radius:8px;background:var(--bs-secondary-bg);display:flex;position:relative;overflow:hidden}.live-balance::after{content:'';position:absolute;left:50%;height:100%;width:2px;background:var(--surface);box-shadow:0 0 0 1px var(--line)}
.live-midpoint{font-size:10px;color:var(--muted);text-align:center;margin:4px 0 0}.live-percent-caption{font-size:11px;color:var(--muted);text-align:center;margin:8px 0 14px}
.live-gap{font-size:13px;line-height:1.5;padding:10px 12px;background:var(--bs-primary-bg-subtle);color:var(--bs-primary-text-emphasis);border-radius:9px;margin:0 0 20px}
.live-evolution{border-top:1px solid var(--line);padding-top:18px;margin-bottom:20px}.live-chart-heading{gap:12px;flex-wrap:wrap}.live-chart-heading h3{font-size:14px;font-weight:700;margin:0}.live-chart-heading .btn{font-size:11px;min-height:44px;padding:7px 10px}
.live-chart{min-height:230px;margin-top:12px}.live-chart svg{display:block;width:100%;height:auto;overflow:visible}.live-chart-label{font-size:11px;fill:var(--muted);font-family:inherit}
.live-chart-empty{min-height:230px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;font-size:13px;color:var(--muted);padding:28px 12px;background:repeating-linear-gradient(to right,transparent 0,transparent calc(12.5% - 1px),var(--line) calc(12.5% - 1px),var(--line) 12.5%)}
.live-chart-empty small{font-size:11px;background:var(--surface);padding:3px 6px}.live-chart-legend{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;font-size:10px}.live-chart-legend span{display:flex;align-items:center;gap:5px}.live-chart-legend i{width:16px;height:3px;display:inline-block}
.live-chart-caption{font-size:10px;line-height:1.5;color:var(--muted);margin:10px 0 0}.live-evolution details{font-size:12px;margin-top:8px}.live-evolution summary{min-height:44px;padding:12px 0}.live-evolution table{font-size:12px}
.live-state-panel{position:static;inset:auto;flex-shrink:0;padding:18px 14px;border-radius:18px;border:1px solid var(--line);box-shadow:none;background:var(--surface)}
.live-state-panel h2{font-size:17px;font-weight:750;margin:0 0 4px}.live-state-panel>p{font-size:11px;color:var(--muted);margin:0 0 16px}
.live-region{margin-top:12px}.live-region h3{font-size:10px;letter-spacing:.06em;text-transform:uppercase;font-weight:700;color:var(--muted);margin:0 0 6px}.live-state-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
.live-state-panel .live-state-button{min-width:0;min-height:48px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:8px 2px 4px;border:1px solid var(--line);border-radius:9px;color:var(--text);background:var(--surface);position:relative;gap:3px}
.live-state-button strong{font-size:12px;line-height:1.1}.live-state-button small{font-size:9px;line-height:1.2;color:var(--muted)}.live-state-button:hover{background:var(--bs-primary-bg-subtle);border-color:var(--brand-primary)}.live-state-button[aria-pressed=true]{background:var(--bs-primary-bg-subtle);border:2px solid var(--brand-primary);color:var(--brand-primary)}
.live-state-button:has(.live-gov-tag:not([hidden])){padding-top:14px}.live-gov-tag{font-size:7px;line-height:1;position:absolute;top:3px;color:var(--brand-primary);font-weight:750}
.live-state-panel .live-state-national{width:100%;flex-direction:row;justify-content:space-between;padding:12px;min-height:44px}.live-state-national strong{font-size:13px}.live-state-national small{font-size:12px}
.live-state-panel .live-state-note{font-size:10px;line-height:1.5;margin:16px 0 10px}.live-state-panel .live-state-key{font-size:10px;margin:0;line-height:1.5}.live-state-key span{color:var(--brand-primary);font-weight:750;margin-right:3px}
.live-runoffs{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}.live-runoffs-heading{margin-bottom:14px;flex-wrap:wrap}.live-runoffs-heading h2{font-size:22px;font-weight:750;margin:0}.live-runoffs-list{display:grid;align-items:start;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.live-race{overflow:hidden;box-shadow:none;border-color:var(--line);border-radius:12px}.live-race-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;background:var(--surface);border-bottom:1px solid var(--line)}.live-race-heading h3{font-size:17px;font-weight:700;margin:0;line-height:1.35}.live-race-heading h3 small{display:inline-block;font-size:11px;font-weight:500;color:var(--muted);margin-left:6px}.live-race-heading .btn{flex-shrink:0;min-height:44px;font-size:12px}
.live-race-candidate{display:grid!important;grid-template-columns:44px minmax(0,1fr) auto;gap:10px;align-items:center;padding:16px!important;background:transparent}.live-race-candidate .candidate-portrait{width:44px;height:54px;min-width:44px;border-radius:8px}.live-race-name strong{display:block;font-size:13px;line-height:1.4;overflow-wrap:anywhere}.live-race-name small{display:block;font-size:11px;color:var(--muted);margin-top:3px}.live-race-score{text-align:right;font-variant-numeric:tabular-nums}.live-race-score strong{display:block;font-size:18px;line-height:1.3}.live-race-score small{display:block;font-size:11px;color:var(--muted)}.live-race-footer{padding:10px 14px;border-top:1px solid var(--line);font-size:11px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 10px;color:var(--muted);background:var(--bs-tertiary-bg)}.live-race-footer small{font-size:10px}
.live-filters{display:grid;grid-template-columns:1fr 1fr 1.5fr;gap:16px;padding:20px;background:var(--bs-tertiary-bg);border:1px solid var(--line);border-radius:12px;margin-top:28px}.live-filters h3{grid-column:1/-1;font-size:16px;font-weight:650;margin:0 0 2px}.live-filters label{display:grid;gap:6px;font-size:13px;font-weight:650}.live-filters select{min-height:46px}
.live-details{margin-top:18px;font-size:13px;color:var(--muted)}.live-details summary{padding:12px 0;min-height:44px;cursor:pointer}.live-times{display:flex;gap:24px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:16px;margin:18px 0}.live-times dt{font-size:11px;color:var(--muted);font-weight:500}.live-times dd{font-size:13px;margin:5px 0}
.live-entry{display:flex;align-items:center;gap:16px;padding:18px 20px;border-radius:12px;background:var(--brand-primary);color:var(--bs-light);text-decoration:none;margin-bottom:20px}.live-entry:hover{color:var(--bs-light);background:var(--bs-primary-text-emphasis)}.live-entry>i{font-size:27px;color:var(--brand-yellow)}.live-entry strong,.live-entry small{display:block}.live-entry small{font-size:12px;margin-top:4px}.live-entry>span:last-child{margin-left:auto}.workspace-nav a.nav-link.live-nav svg{color:inherit}
body[data-workspace=ao-vivo] :is(#syncPanel,.page-intro,#autoSyncBanner,#crumbs,.brand-status,.brand-place,#miniBar,#locationFields){display:none!important}
@media(max-width:1100px){.live-person{flex-direction:column;align-items:flex-start;gap:10px}.live-person:nth-child(even){flex-direction:column;align-items:flex-end}.live-person-percent{font-size:34px}.live-person .candidate-portrait-large{width:68px;min-width:68px;height:86px}}
@media(max-width:900px){.live-layout{display:flex;flex-direction:column;gap:24px}.live-main{order:0;width:100%}.live-state-panel{order:1;width:100%}#liveStateButtons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.live-state-panel .live-state-national{grid-column:1/-1}.live-region{margin:0}.live-state-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.live-person,.live-person:nth-child(even){flex-direction:row;align-items:center}.live-person:nth-child(even){flex-direction:row-reverse}.live-chart{min-height:220px}}
@media(max-width:600px){body .workspace-nav>div.nav{grid-template-columns:repeat(5,minmax(0,1fr))}.workspace-nav a.nav-link{font-size:10px!important}.live-scope{flex-wrap:wrap;gap:8px}.live-scope h2{font-size:22px}.live-scope .badge{font-size:10px;white-space:normal;line-height:1.3;margin-top:0}.live-duel{padding:16px 12px;border-radius:16px}.live-progress-heading{flex-wrap:wrap;align-items:center;gap:4px 8px}.live-progress-heading span{font-size:10px}#liveProgress{margin:8px 0 18px}.live-candidates{gap:20px;margin-bottom:18px}.live-person,.live-person:nth-child(even){flex-direction:column;align-items:center;text-align:center}.live-person:nth-child(even) .live-person-party,.live-person-party{justify-content:center}.live-person h3{font-size:13px;min-height:34px;margin:0 0 4px}.live-person-percent{font-size:30px;letter-spacing:-1px}.live-person .candidate-portrait-large{width:60px;height:76px;min-width:60px}.live-person-votes{font-size:11px}.live-person-party{font-size:10px}.live-candidates::after{top:27%!important}.live-chart-heading{align-items:flex-start;gap:10px}.live-chart-heading .btn-group{width:100%}.live-chart-heading .btn{font-size:11px;flex:1;padding:7px 6px}.live-chart-empty{min-height:185px;font-size:12px}.live-chart{min-height:185px}.live-percent-caption{font-size:10px;margin:6px 0 10px}.live-gap{font-size:12px;margin-bottom:16px;padding:9px 10px}.live-state-panel{padding:14px}.live-state-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}#liveStateButtons{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}.live-state-panel .live-state-button{min-height:48px}.live-state-button strong{font-size:11px}.live-state-button small{font-size:8px}.live-runoffs-list{grid-template-columns:minmax(0,1fr)}.live-runoffs-heading h2{font-size:20px}.live-race-candidate{gap:10px;padding:12px!important}.live-race-heading{padding:12px}.live-filters{grid-template-columns:minmax(0,1fr);padding:16px;gap:12px}.live-filters select{width:100%;font-size:16px}.live-times{gap:12px}.live-entry{padding:16px;gap:12px}.live-entry strong{font-size:14px}}

@media(max-width:600px){.live-state-grid{grid-template-columns:repeat(auto-fill,minmax(44px,1fr))}}
@media(max-width:359px){#liveStateButtons{grid-template-columns:minmax(0,1fr)}}

body[data-workspace=ao-vivo] #headerCity{display:none}
body[data-workspace=ao-vivo] .brand-controls{display:flex!important}
.round-context{margin:0 0 1rem;padding:.65rem 1rem;border-left:3px solid var(--bs-primary);background:var(--bs-primary-bg-subtle);font-size:.875rem;border-radius:.5rem}
html[data-turno="1"] .round-context{display:none}
body[data-workspace=ao-vivo] .round-context{display:none}

/* The live indicator belongs to the round selector, without a second heading row. */
.header-live-badge{display:none;white-space:nowrap;font-size:12px;padding:7px 9px;line-height:1.2}
body[data-workspace=ao-vivo] .header-live-badge{display:inline-flex;align-items:center}
body[data-workspace=ao-vivo] .brand-tools{margin-left:auto}
@media(max-width:600px){
 body[data-workspace=ao-vivo] header.brand-header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 12px;padding-block:12px}
 body[data-workspace=ao-vivo] .brand-lockup{min-width:0;gap:8px}
 body[data-workspace=ao-vivo] header.brand-header h1{font-size:18px;flex-wrap:wrap;gap:3px 4px;line-height:1.15}
 body[data-workspace=ao-vivo] header.brand-header .brand-symbol{width:32px;height:32px;flex-shrink:0}
 body[data-workspace=ao-vivo] .brand-edition{margin-left:0;font-size:9px}
 body[data-workspace=ao-vivo] .brand-tools{margin:0;gap:6px;grid-column:2;grid-row:1}
 body[data-workspace=ao-vivo] .brand-tools :is(.header-icon,.header-support){min-width:44px;width:44px;height:44px;min-height:44px;padding:0}
 body[data-workspace=ao-vivo] .brand-controls{grid-column:1/-1;grid-row:2;gap:10px;margin:0;flex-wrap:nowrap}
 body[data-workspace=ao-vivo] .header-turno{flex-shrink:0}
 body[data-workspace=ao-vivo] .header-turno button{min-height:44px;padding-inline:10px;font-size:12px}
 body[data-workspace=ao-vivo] .header-live-badge{font-size:11px;padding:6px 8px}
 .live-scope{align-items:center;margin-bottom:12px}
 .live-runoffs{margin-top:24px;padding-top:20px}
 .live-runoffs-heading{gap:8px}
 .live-race-heading h3{font-size:16px}
 .live-race-score{max-width:100px}
 .live-race-score strong{font-size:18px;overflow-wrap:anywhere}
}
@media(max-width:359px){
 body[data-workspace=ao-vivo] header.brand-header h1{font-size:16px}
 body[data-workspace=ao-vivo] .brand-controls{gap:6px}
}

/* Overseas results: stable candidate columns, received-urn coverage and progressive details. */
.live-exterior{margin:24px 0;border:1px solid var(--line);border-radius:16px;background:var(--surface);scroll-margin-top:16px}
.live-exterior>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px;font-weight:750;font-size:18px;cursor:pointer;min-height:60px}
.live-exterior>summary small{display:block;font-size:12px;font-weight:400;color:var(--muted);margin-top:4px}
.live-exterior>summary::after{content:'+';font-size:24px;color:var(--brand-primary)}
.live-exterior[open]>summary::after{content:'−'}
.exterior-body{padding:0 20px 20px}.exterior-disclaimer{font-size:13px;line-height:1.5}
.exterior-summary{scroll-margin-top:80px}.exterior-summary h3{font-size:22px;font-weight:750;margin:22px 0 12px}
.exterior-coverage-line{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:var(--muted);margin-bottom:8px}.exterior-coverage-line strong{color:var(--brand-primary);font-variant-numeric:tabular-nums}
.exterior-summary progress,.exterior-country-row progress{display:block;width:100%;height:5px;accent-color:var(--brand-primary);border:0;border-radius:8px;overflow:hidden;background:var(--bs-secondary-bg)}
.exterior-summary progress::-webkit-progress-bar,.exterior-country-row progress::-webkit-progress-bar{background:var(--bs-secondary-bg);border-radius:8px}
.exterior-summary progress::-webkit-progress-value,.exterior-country-row progress::-webkit-progress-value{background:var(--brand-primary);border-radius:8px}
.exterior-candidates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;padding:24px 0}
.exterior-candidate{display:flex;gap:16px;align-items:center;min-width:0}.exterior-candidate-copy{min-width:0}
.exterior-candidate .candidate-portrait{width:64px;min-width:64px;height:80px;border-radius:10px;border:1px solid var(--line);box-shadow:none}
.exterior-candidate h4{font-size:14px;font-weight:750;line-height:1.4;margin:0 0 4px;overflow-wrap:anywhere}
.exterior-candidate small{display:block;color:var(--muted);font-size:12px}.exterior-candidate strong{font-size:32px;display:block;font-variant-numeric:tabular-nums;color:var(--text);line-height:1.2;letter-spacing:-.8px;margin:8px 0 4px}
.exterior-candidate-copy>span{display:block;font-size:15px;color:var(--text);font-variant-numeric:tabular-nums;font-weight:600}
.exterior-extra{border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:12px;color:var(--muted)}.exterior-extra summary{min-height:44px;padding:12px 0;cursor:pointer}.exterior-extra p{line-height:1.6;margin:0 0 10px}
.exterior-list-header,.exterior-country-row{display:grid;grid-template-columns:minmax(0,1.25fr) repeat(2,minmax(0,1fr));gap:12px;align-items:center}
.exterior-list-header{position:sticky;top:64px;z-index:3;padding:12px 8px;background:var(--bs-tertiary-bg);border-radius:10px 10px 0 0;border-bottom:1px solid var(--line);margin-top:12px}
.exterior-list-label{font-size:12px;font-weight:600;color:var(--muted)}.exterior-list-identity{display:flex;align-items:center;justify-content:flex-end;gap:8px;text-align:right;font-size:11px;line-height:1.4;font-weight:700}
.exterior-list-identity .candidate-portrait{width:30px;min-width:30px;height:38px;border:1px solid var(--line);border-radius:6px;box-shadow:none}
.exterior-country-row{text-align:left;width:100%;border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--text);padding:16px 8px;min-height:80px}
.exterior-country-row:hover,.exterior-country-row[aria-pressed=true]{background:var(--bs-primary-bg-subtle)}.exterior-country-row:focus-visible{outline:2px solid var(--brand-primary);outline-offset:-2px;border-radius:6px}
.exterior-country-row strong,.exterior-country-row small{display:block}.exterior-country-row>span:first-child>strong{font-size:14px;line-height:1.4}.exterior-country-row small{font-size:11px;color:var(--muted);margin-top:4px;line-height:1.4}
.exterior-country-row progress{height:3px;max-width:100px;margin-top:8px}.exterior-row-arrow{color:var(--brand-primary);margin-left:3px}.exterior-country-row .exterior-pending{font-size:10px;color:var(--bs-warning-text-emphasis)}
.exterior-country-score{text-align:right;font-variant-numeric:tabular-nums}.exterior-country-score strong{font-size:19px;font-weight:750;line-height:1.25}.exterior-country-score small{font-size:12px}
.exterior-city{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.exterior-city small{display:block;color:var(--muted);font-size:12px;margin-top:4px}.exterior-city .btn{min-height:44px;flex-shrink:0}#exteriorCities h4{font-size:16px;margin:20px 0 4px}
#liveExteriorOpen{width:100%;min-height:48px;margin-top:16px;display:flex;align-items:center;justify-content:center;gap:8px;background:var(--bs-primary-bg-subtle);font-weight:650;font-size:13px}#liveExteriorOpen:hover{background:var(--brand-primary)}#liveExteriorOpen svg{width:20px;height:20px;flex-shrink:0}
#exteriorMore,#exteriorReset{min-height:44px}#exteriorCountry,#exteriorSearch{min-height:46px;font-size:16px}
@media(max-width:600px){
 .exterior-list-header{top:0}.exterior-body{padding:0 14px 16px}.live-exterior>summary{padding:16px 14px}.exterior-summary{scroll-margin-top:12px}.exterior-summary h3{font-size:20px}
 .exterior-candidate{flex-direction:column;align-items:center;text-align:center;gap:10px}.exterior-candidate h4{min-height:36px;font-size:12px;margin-bottom:0}.exterior-candidates{gap:16px;padding:22px 0}.exterior-candidate strong{font-size:30px;margin-top:6px}.exterior-candidate-copy>span{font-size:14px}
 .exterior-list-header,.exterior-country-row{gap:8px;grid-template-columns:minmax(0,1.2fr) repeat(2,minmax(0,1fr));padding-inline:4px}.exterior-list-identity{flex-direction:column;text-align:center;justify-content:center;gap:6px;font-size:10px;min-height:72px}.exterior-list-identity>span:last-child{min-height:28px;display:flex;align-items:center;justify-content:center}
 .exterior-country-score{text-align:center}.exterior-country-score strong{font-size:17px}.exterior-country-row>span:first-child>strong{font-size:13px}.exterior-city{flex-wrap:wrap}#exteriorListCount{font-size:11px}
 #liveStateButtons{grid-template-columns:minmax(0,1fr);gap:14px}.live-region h3{font-size:11px;letter-spacing:.04em;margin-bottom:8px}.live-state-grid{grid-template-columns:repeat(auto-fill,minmax(44px,1fr));gap:6px}.live-state-panel .live-state-button{min-height:54px}.live-state-button strong{font-size:13px}.live-state-button small{font-size:10px}.live-gov-tag{font-size:8px}.live-state-panel .live-state-key,.live-state-panel .live-state-note{font-size:11px}.live-state-panel .live-state-national{min-height:48px;justify-content:space-between}.live-state-national strong{font-size:14px}.live-state-national small{font-size:12px}
}
@media(max-width:359px){.live-state-grid{gap:5px}.exterior-country-score strong{font-size:15px}.exterior-candidate-copy>span{font-size:12px}}
