/* County intelligence workspace: the same evidence, with a clearer reading order. */
/* Overview stage keeps all three columns in the same reading window. */
#countyProfileContent .cp-summary-rail .cp-stats{grid-template-columns:repeat(2,minmax(0,1fr));margin:0}
#countyProfileContent .cp-summary-rail .cp-stats article{padding:10px 12px;min-width:0;border-right:0;border-bottom:1px solid var(--cp-line)}
#countyProfileContent .cp-summary-rail .cp-stats strong{font-size:22px!important;line-height:1.2;margin:5px 0;overflow-wrap:normal}
#countyProfileContent .cp-summary-rail .cp-stats span{font-size:11px!important}
#countyProfileContent .cp-summary-rail .cp-stats small{font-size:10px!important;line-height:1.4}
#countyProfileContent .cp-summary-rail .cp-stats article:nth-child(2) strong{font-size:17px!important;white-space:nowrap}
#countyProfileContent .cp-summary-rail .cp-county-status>span{color:#c4dce9!important}
#countyProfileContent .cp-overview-dashboard .electoral-explorer .cp-overview-grid{grid-template-columns:minmax(0,1fr) 340px;gap:16px;align-items:start}
#countyProfileContent .cp-overview-main .electoral-explorer .ee-map-stage{height:480px;min-height:0;flex:none}
#countyProfileContent .cp-overview-main .ee-map-card{padding:14px}
#countyProfileContent .cp-overview-main .ee-map-card .cp-section-head{min-height:0;margin-bottom:12px;padding:0;background:transparent}
#countyProfileContent .cp-overview-main .ee-map-card .cp-section-head h3{font-size:20px!important}
#countyProfileContent .cp-overview-main .ee-map-card .cp-section-head p{font-size:12px!important;line-height:1.4}
#countyProfileContent .cp-overview-main .ee-results{padding:14px}
#countyProfileContent .cp-overview-main .ee-results .ee-candidates>.candidate-portrait{width:34px;height:44px;flex-basis:34px}
#countyProfileContent .cp-overview-main .ee-results .ee-candidates article>.candidate-portrait{width:34px;height:44px;flex-basis:34px}
#countyProfileContent .cp-overview-main .ee-results .ee-candidate-line{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
#countyProfileContent .cp-overview-main .ee-results .ee-candidate-line strong{font-size:13px!important;line-height:1.4}
#countyProfileContent .cp-overview-main .ee-results .ee-candidate-line b{font-size:18px!important;line-height:1.4}
#countyProfileContent .cp-overview-main .ee-results .ee-candidates small{font-size:10px!important;line-height:1.4}
#countyProfileContent .cp-overview-main .ee-results .ee-results-note{font-size:11px!important;line-height:1.5;margin-top:10px}
#countyProfileContent .cp-overview-main .ee-results .ee-facts dt{font-size:10px!important;line-height:1.4}
#countyProfileContent .cp-overview-main .ee-results .ee-facts dd{font-size:19px!important;line-height:1.4;margin-top:5px}
#countyProfileContent .cp-overview-main .ee-results .cp-section-head{padding:0;background:transparent}
#countyProfileContent .cp-overview-main .ee-candidates article{min-height:0;padding:9px 0}
#countyProfileContent .cp-overview-main .ee-facts{margin:10px 0;padding:10px;gap:10px}
#countyProfileContent .cp-overview-main .ee-county-insight-disclosure{margin:10px 0;font-size:12px;border-top:1px solid var(--cp-line);padding-top:10px}
#countyProfileContent .ee-county-insight-disclosure>summary{cursor:pointer;color:var(--cp-ink);font-weight:650}
#countyProfileContent .ee-result-notes{margin-top:12px;padding-top:10px;border-top:1px solid var(--cp-line);font-size:12px}
#countyProfileContent .ee-result-notes>summary{cursor:pointer;font-size:12px!important;font-weight:650;line-height:1.5}
#countyProfileContent .cp-overview-main .ee-bubble-legend{padding:9px 10px;margin-top:10px;gap:10px}
#countyProfileContent .cp-overview-main .cp-map-caption{font-size:11px!important;line-height:1.45;margin-top:10px}
#countyProfileContent .cp-overview-main .ee-location-toolbar{min-height:0;padding:0;margin-bottom:8px;gap:12px}
#countyProfileContent .cp-overview-main .ee-location-toolbar .ee-breadcrumbs{padding:5px 8px;margin:0}
#countyProfileContent .cp-overview-main .ee-subcounty-filter{font-size:11px!important;gap:8px}
#countyProfileContent .cp-overview-main .ee-subcounty-filter select{height:34px;min-height:34px;margin:0;font-size:12px!important;padding:5px 8px}
#countyProfileContent .cp-profile>.cp-header{padding:12px 0;gap:18px}
#countyProfileContent .cp-profile>.cp-header h1{font-size:30px!important;display:flex;align-items:baseline;gap:9px;margin:0}
#countyProfileContent .cp-profile>.cp-header h1>span{display:inline;font-size:16px!important;margin:0}
#countyProfileContent .cp-profile>.cp-header .cp-identity>div>p:last-child{font-size:12px!important;margin-top:4px}
#countyProfileContent .cp-profile>.cp-tabs{margin:8px 0 12px}
@media(min-width:1500px){#countyProfileContent .cp-overview-main .electoral-explorer .ee-map-stage{height:clamp(380px,calc(100dvh - 664px),500px)}}
@media(max-width:1200px){#countyProfileContent .cp-overview-dashboard .electoral-explorer .cp-overview-grid{grid-template-columns:minmax(0,1fr) 270px}}
@media(max-width:1000px){#countyProfileContent .cp-summary-rail .cp-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:800px){#countyProfileContent .cp-overview-dashboard .electoral-explorer .cp-overview-grid{grid-template-columns:1fr}#countyProfileContent .cp-overview-main .electoral-explorer .ee-map-stage{height:420px}}
@media(max-width:700px){#countyProfileContent .cp-summary-rail .cp-stats{grid-template-columns:repeat(2,minmax(0,1fr))}#countyProfileContent .cp-profile>.cp-header{flex-direction:column;align-items:stretch}}
body[data-access=public][data-view=county] #main{max-width:none;width:100%;padding-left:28px;padding-right:28px}
#countyProfileContent .cp-profile{max-width:none;width:100%;margin:0 auto}
#countyProfileContent .cp-header{padding:28px 0 20px;gap:24px;align-items:center}
#countyProfileContent .cp-header h1{font-size:38px!important;line-height:1.2}
#countyProfileContent .cp-header h1>span{font-size:24px!important;font-weight:500;color:#647e8c}
#countyProfileContent .cp-header .cp-identity p{font-size:14px!important}
#countyProfileContent .cp-header .cp-kicker{font-size:12px!important;letter-spacing:.08em}
#countyProfileContent .cp-header-tools{align-items:end;gap:9px}
#countyProfileContent .cp-header-tools label{font-size:12px!important}
#countyProfileContent .cp-header-tools .cp-button{min-height:44px;font-size:14px!important}
#countyProfileContent .cp-source-status{padding:14px 0;gap:10px 18px;border-top:1px solid #d8e4e9}
#countyProfileContent .cp-source-status :is(span,p,small){font-size:13px!important;line-height:1.6}
.cp-county-status{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:18px 20px;margin:18px 0;background:#edf5f8;border:1px solid #ccdde6;border-left:4px solid #648da3;border-radius:5px;color:#315d72}
.cp-county-status>div{display:flex;align-items:center;gap:13px}.cp-status-dot{width:10px;height:10px;border-radius:50%;background:#789bab;flex:none}
.cp-county-status.is-reporting{background:#eff8f5;border-color:#c7dfd8;border-left-color:#10816f}.cp-county-status.is-reporting .cp-status-dot{background:#10816f}
#countyProfileContent .cp-county-status strong{font-size:16px!important;color:#234d61}
#countyProfileContent .cp-county-status p,#countyProfileContent .cp-county-status>span{font-size:13px!important;line-height:1.6;margin:3px 0 0;color:#5b7889}
#countyProfileContent .cp-stats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0;margin:20px 0 26px;border:1px solid #d0dfe7;border-radius:6px;overflow:hidden;background:#fff}
#countyProfileContent .cp-stats article{padding:19px 18px;border:0;border-right:1px solid #dbe6ec;border-radius:0;min-width:0}
#countyProfileContent .cp-stats article:last-child{border-right:0}
#countyProfileContent .cp-stats article>span{font-size:12px!important;letter-spacing:0;color:#607f8d}
#countyProfileContent .cp-stats strong{font-size:30px!important;line-height:1.25;margin:11px 0 6px;color:#193e50;overflow-wrap:anywhere}
#countyProfileContent .cp-stats small{font-size:12px!important;line-height:1.55}
.cp-micro-track{height:4px;border-radius:3px;overflow:hidden;background:#e3edef;margin-top:11px}.cp-micro-track i{display:block;height:100%;background:#159c86}
#countyProfileContent .cp-tabs{display:flex;align-items:flex-end;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;gap:6px;padding:0;margin-bottom:22px;border-bottom:0;background:linear-gradient(#cedfe7,#cedfe7) left bottom/100% 1px no-repeat}
#countyProfileContent .cp-tabs button{position:relative;flex:none;min-height:44px;margin-bottom:0;padding:10px 15px;border:1px solid #b3ccdc;background:#e8f3f7;border-radius:0!important;font-size:14px!important;color:#4b7084}
#countyProfileContent .cp-tabs button[aria-selected=true]{background:var(--desk-paper,#f3f6f8);color:#087c79;border-bottom:0;font-weight:750;box-shadow:inset 0 3px #148f84}
/* Keep historical comparisons readable without enlarging compact map hovers. */
#countyProfileContent .cp-history-heading p:not(.cp-kicker){font-size:14px!important;line-height:1.65}
#countyProfileContent .cp-history-tools{display:grid;grid-template-columns:minmax(220px,260px) auto;align-items:end;gap:12px;margin:0}
#countyProfileContent .cp-history-tools label{font-size:14px!important;margin:0;min-width:0}
#countyProfileContent .cp-history-tools :is(select,.cp-button){font-size:14px!important;min-height:44px;height:44px;margin:0;box-sizing:border-box}
#countyProfileContent .cp-history-tools select{width:100%;min-width:0}
#countyProfileContent .cp-history-tools .cp-button{align-self:end;white-space:nowrap;line-height:1.2}
#countyProfileContent .cp-history-elections h4{font-size:20px!important}
#countyProfileContent .cp-history-status{font-size:12px!important}
#countyProfileContent .cp-history-turnout-label{font-size:14px!important}
#countyProfileContent .cp-history-turnout{font-size:36px!important}
#countyProfileContent :is(.cp-history-turnout-change,.cp-history-turnout-change>span){font-size:14px!important}
#countyProfileContent .cp-history-elections dt{font-size:14px!important}
#countyProfileContent .cp-history-elections dd{font-size:15px!important}
#countyProfileContent .cp-history-table-heading h4{font-size:20px!important}
#countyProfileContent .cp-history-table-heading p{font-size:14px!important;line-height:1.6}
#countyProfileContent .cp-history-table{min-width:1000px}
#countyProfileContent .cp-history-table :is(th,td){padding:18px 16px;line-height:1.5}
#countyProfileContent .cp-history-table th{font-size:16px!important}
#countyProfileContent .cp-history-table thead small{font-size:13px!important}
#countyProfileContent .cp-history-candidate>span{font-size:16px!important;line-height:1.5}
#countyProfileContent .cp-history-table td>strong{font-size:20px!important}
#countyProfileContent :is(.cp-history-table caption,.cp-history-table td>small,.cp-history-candidate small,.cp-history-change,.cp-history-no-change,.cp-history-unavailable){font-size:14px!important;line-height:1.5}
#countyProfileContent :is(.cp-history-checks summary,.cp-history-checks strong,.cp-history-checks li){font-size:14px!important}
#countyProfileContent .cp-history-comparison>.cp-note{font-size:14px!important;line-height:1.7}
@media(max-width:800px){#countyProfileContent .cp-history-tools{width:100%;grid-template-columns:minmax(0,1fr) auto}}
@media(max-width:600px){#countyProfileContent .cp-history-elections{grid-template-columns:1fr}#countyProfileContent .cp-history-elections>article{padding:18px}#countyProfileContent .cp-history-elections>article>header{display:flex}#countyProfileContent .cp-history-tools{grid-template-columns:minmax(0,1fr)}#countyProfileContent .cp-history-tools select{width:100%;min-width:0}}
#countyProfileContent .cp-overview-grid{display:grid;grid-template-columns:minmax(0,2.35fr) minmax(310px,1fr);gap:20px;align-items:start}
#countyProfileContent .ee-map-stage{height:clamp(680px,80svh,1000px)}
#countyProfileContent .ee-map-card{padding:22px}
#countyProfileContent .ee-map-card .cp-section-head{display:flex;align-items:end;flex-wrap:wrap;gap:12px;min-height:0;margin-bottom:18px}
#countyProfileContent .ee-map-card .cp-section-head>div{flex:1;min-width:180px}
#countyProfileContent .ee-map-card h3{font-size:23px!important}
#countyProfileContent .ee-map-card .cp-section-head p:not(.cp-kicker){font-size:14px!important}
.ee-map-layer{display:grid;gap:6px;margin:0;color:#5a7888;font-size:12px!important;min-width:190px}
.ee-map-layer select{height:44px;margin:0;padding:8px 30px 8px 11px;border:1px solid #bfd4df;border-radius:4px;background:#fff;color:#254e63;font-size:14px!important}
#countyProfileContent .ee-map-stage .atlas-world-region:is(:hover,:focus-visible){stroke:#087f7b!important;stroke-width:3!important;fill-opacity:.95!important;outline:none}
#countyProfileContent .ee-results{padding:23px}
#countyProfileContent .ee-results .cp-section-head{margin-bottom:16px}
#countyProfileContent .ee-results .cp-section-head h3{font-size:23px!important}
.ee-results-empty{padding:22px 17px;background:#f1f7f9;border:1px solid #d5e5ec;border-radius:5px;margin:16px 0}
.ee-results-empty>svg{width:30px;height:30px;color:#7996a7;margin-bottom:12px}
#countyProfileContent .ee-results-empty h4{font-size:19px!important;line-height:1.4;margin:0 0 10px;color:#254c60}
#countyProfileContent .ee-results-empty p{font-size:14px!important;line-height:1.75;color:#627f8f}
#countyProfileContent .ee-candidates .ee-candidate-line strong{font-size:15px!important}
#countyProfileContent .ee-candidates .ee-candidate-line b{font-size:20px!important}
#countyProfileContent .ee-candidates .ee-candidate-line b>span{font-size:12px!important}
#countyProfileContent .ee-candidates small{font-size:12px!important;line-height:1.6}
#countyProfileContent .ee-results .atlas-party-identity{font-size:12px!important;margin-top:5px}
.ee-county-insights{margin:20px 0 0;padding:18px 0 0;border-top:1px solid #d3e2e9}
#countyProfileContent .ee-county-insights h4{font-size:18px!important;margin:6px 0 10px}
#countyProfileContent .ee-county-insights ul{padding-left:18px;margin:0 0 14px;color:#58798c}
#countyProfileContent .ee-county-insights li{font-size:14px!important;line-height:1.65;margin:8px 0}
.ee-layer-key{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:14px;color:#5b7a8d;font-size:12px!important}
.ee-layer-key i{display:inline-block;width:100px;height:9px;border-radius:4px;background:linear-gradient(90deg,#e0eff2,#207a82)}
.ee-layer-key.is-flags i{background:linear-gradient(90deg,#c3e2dc,#c97a3b)}
.ee-layer-key small{flex-basis:100%;font-size:12px!important}
.ee-roster-tools{display:flex;gap:12px;align-items:end;flex-wrap:wrap}
#countyProfileContent .ee-roster-tools label{min-width:150px;font-size:12px!important}
#countyProfileContent .ee-roster-tools :is(input,select){height:44px;min-width:160px;width:100%;margin:6px 0 0;padding:9px;border:1px solid #c7dce5;border-radius:4px;background:#fff;font-size:14px!important;color:#274d60}
.ee-table-scroll{overflow-x:auto;max-width:100%;border:1px solid #d8e5eb;border-radius:4px;scrollbar-width:thin}
.ee-table-scroll table{width:100%;border-collapse:collapse;min-width:740px}
#countyProfileContent .ee-table-scroll :is(th,td){padding:14px 16px;border-bottom:1px solid #e1e9ee;text-align:left;vertical-align:middle;font-size:14px!important;color:#315c72}
#countyProfileContent .ee-table-scroll thead th{background:#edf5f8;color:#557b90;font-size:12px!important;font-weight:650;white-space:nowrap}
#countyProfileContent .ee-table-scroll tbody th{min-width:180px}
.ee-table-scroll tbody tr:last-child :is(th,td){border-bottom:0}.ee-table-scroll tbody tr:hover{background:#f5fafb}
#countyProfileContent .ee-table-scroll th small{display:block;font-size:11px!important;font-weight:400;color:#7c95a3;margin-top:4px}
#countyProfileContent .ee-ward-table button{padding:0;border:0;background:transparent;color:#087c86;font-size:14px!important;text-align:left;min-height:32px}
#countyProfileContent .ee-roster,#countyProfileContent .ee-latest-stations{margin-top:22px;padding:23px}
.ee-stations-empty{padding:22px;background:#f3f8fa;border:1px dashed #c7dce5;border-radius:4px}
/* Hover summaries stay compact even when the result pane uses larger type. */
#countyProfileContent .ee-preview{width:310px;padding:11px 12px;font-size:12px!important;line-height:1.35}
#countyProfileContent .ee-preview .cp-kicker{font-size:9px!important;margin-bottom:5px;line-height:1.4;letter-spacing:.06em}
#countyProfileContent .ee-preview h4{font-size:14px!important;margin:4px 0;line-height:1.3}
#countyProfileContent .ee-preview>small{font-size:10px!important}
#countyProfileContent .ee-preview .ee-coverage{font-size:10px!important;padding:7px 8px;margin:7px 0}
#countyProfileContent .ee-preview .ee-candidates article{padding:6px 0;gap:7px;min-height:0}
#countyProfileContent .ee-preview .ee-candidate-line{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;align-items:start}
#countyProfileContent .ee-preview .ee-candidate-line strong{font-size:12px!important;line-height:1.35}
#countyProfileContent .ee-preview .ee-candidate-line b{font-size:13px!important;line-height:1.35}
#countyProfileContent .ee-preview .ee-candidate-line b span{font-size:9px!important;font-weight:400}
#countyProfileContent .ee-preview .candidate-portrait{width:22px!important;height:29px!important;flex-basis:22px!important;border-radius:2px}
#countyProfileContent .ee-preview .atlas-party-identity{font-size:10px!important;gap:4px;margin:2px 0;min-height:16px}
#countyProfileContent .ee-preview .atlas-party-name{font-size:10px!important;line-height:1.25}
#countyProfileContent .ee-preview :is(.atlas-party-symbol,.atlas-party-fallback){width:16px!important;height:16px!important;min-width:16px!important;font-size:8px!important}
#countyProfileContent .ee-preview .ee-candidates small{font-size:10px!important;line-height:1.3}
#countyProfileContent .ee-preview .ee-vote-track{height:3px;margin:3px 0}
#countyProfileContent .ee-preview .cp-note{font-size:10px!important;line-height:1.4;padding:6px 0 0;margin:5px 0 0;background:transparent}
#countyProfileContent .ee-stations-empty h4{font-size:18px!important;margin-bottom:8px}
#countyProfileContent .ee-stations-empty p{font-size:14px!important}
@media(max-width:1150px){#countyProfileContent .cp-stats{grid-template-columns:repeat(3,minmax(0,1fr))}#countyProfileContent .cp-stats article{border-bottom:1px solid #dce7ec}#countyProfileContent .cp-overview-grid{grid-template-columns:minmax(0,1.8fr) minmax(300px,1fr)}.cp-county-status{align-items:start;flex-direction:column;gap:8px}}
@media(max-width:850px){#countyProfileContent .cp-overview-grid{grid-template-columns:minmax(0,1fr)}#countyProfileContent .ee-map-stage{height:640px}#countyProfileContent .cp-header{align-items:start;flex-direction:column}#countyProfileContent .cp-header-tools{width:100%;justify-content:start}}
@media(max-width:600px){body[data-access=public][data-view=county] #main{padding-left:12px;padding-right:12px}#countyProfileContent .cp-header h1{font-size:30px!important}#countyProfileContent .cp-header h1>span{font-size:19px!important}#countyProfileContent .cp-header{padding:20px 0 14px}#countyProfileContent .cp-stats{grid-template-columns:repeat(2,minmax(0,1fr));margin:16px 0}#countyProfileContent .cp-stats article{padding:15px 12px}#countyProfileContent .cp-stats strong{font-size:25px!important}#countyProfileContent .cp-stats small{font-size:11px!important}#countyProfileContent .ee-map-card,#countyProfileContent .ee-results,#countyProfileContent .ee-roster,#countyProfileContent .ee-latest-stations{padding:16px}#countyProfileContent .ee-map-stage{height:570px}#countyProfileContent .ee-roster>header{flex-direction:column;align-items:stretch}.ee-roster-tools{display:grid;grid-template-columns:1fr 1fr;gap:10px}#countyProfileContent .ee-roster-tools label{min-width:0}#countyProfileContent .ee-roster-tools :is(input,select){min-width:0}.ee-map-layer{flex:1;min-width:165px}.cp-county-status{padding:15px;gap:8px}}

#countyProfileContent .ee-preview .ee-coverage{background:#21495d!important;color:#d4e7f1!important;border-color:#456b80}
#countyProfileContent .ee-preview .ee-candidates article:has([style*="__others__"]){color:#d4e7f1}
