/* Only the requested public county history view uses this desk. */
body[data-access=public][data-history-presentation=public] :is(.page-heading,.context-banner,.election-section-nav,.public-section-picker,#workspaceNav,#updatedLabel,.page-footer){display:none!important}
body[data-access=public][data-history-presentation=public] #main #countyView{position:fixed!important;inset:58px 0 0 var(--atlas-nav-width,210px)!important;padding:10px 12px!important;background:#001724!important;overflow:auto!important;z-index:1000}
#main #countyProfileContent.atlas-historical-workbench{height:100%;margin:0!important;padding:0!important;max-width:none!important;width:100%!important;font:12px/1.35 Arial,sans-serif!important;color:#e4f3fc!important}
#main #countyProfileContent.atlas-historical-workbench *{box-sizing:border-box}
#main #countyProfileContent.atlas-historical-workbench :is(h1,h2,h3,p,dl,dd,ul){margin:0}
#main #countyProfileContent.atlas-historical-workbench :is(span,small,b,strong,p,th,td,a,label,button,select,dt,dd){font-family:inherit!important;font-size:inherit!important;line-height:inherit!important}
#main #countyProfileContent.atlas-historical-workbench :is(button,select){background:#062e41!important;color:#e9f7ff!important;border:1px solid #27647c!important;min-height:28px!important;padding:4px 8px!important;margin:0!important;border-radius:3px!important;font-size:11px!important;cursor:pointer}
#main #countyProfileContent.atlas-historical-workbench a{color:#36dcdf!important;text-decoration:none}
#main #countyProfileContent.atlas-historical-workbench :is(button,a,select):focus-visible{outline:2px solid #12d9ce;outline-offset:2px}
#main #countyProfileContent.atlas-historical-workbench [hidden]{display:none!important}
#main #countyProfileContent.atlas-historical-workbench .hw-layout{display:grid;grid-template-rows:62px 94px minmax(225px,1.2fr) minmax(205px,1fr) minmax(215px,1fr) 24px;gap:8px;height:100%;min-height:960px}
#main #countyProfileContent.atlas-historical-workbench .hw-layout.has-compare{height:auto;grid-template-rows:62px 94px 245px 230px 245px auto 28px}
#main #countyProfileContent.atlas-historical-workbench .hw-hero{display:flex;align-items:center;justify-content:space-between;gap:15px}
#main #countyProfileContent.atlas-historical-workbench .hw-breadcrumb{color:#8dc8d9;font-size:10px!important;margin-bottom:5px}
#main #countyProfileContent.atlas-historical-workbench .hw-hero>div>div{display:flex;align-items:center;gap:12px}
#main #countyProfileContent.atlas-historical-workbench .hw-hero svg{width:34px;height:34px;color:#04d8e4;flex:none}
#main #countyProfileContent.atlas-historical-workbench .hw-hero h1{font-size:24px!important;line-height:1.1!important;color:#f1f8ff;letter-spacing:-.4px;margin-bottom:4px}
#main #countyProfileContent.atlas-historical-workbench .hw-hero p{font-size:11px!important}
#main #countyProfileContent.atlas-historical-workbench .hw-selectors{display:flex;gap:12px;flex:none}
#main #countyProfileContent.atlas-historical-workbench label{font-size:10px!important;color:#b8d8e8}
#main #countyProfileContent.atlas-historical-workbench .hw-selectors label{display:grid;gap:3px}
#main #countyProfileContent.atlas-historical-workbench .hw-selectors select{width:170px;min-height:32px!important}
#main #countyProfileContent.atlas-historical-workbench .hw-kpis{display:grid;grid-template-columns:1fr 1fr 1.16fr 1fr 1.12fr;background:linear-gradient(105deg,#022b3d,#002332);border:1px solid #21647d;border-radius:5px}
#main #countyProfileContent.atlas-historical-workbench .hw-kpis article{display:flex;gap:18px;align-items:center;min-width:0;padding:12px 18px;border-right:1px solid #216078}
#main #countyProfileContent.atlas-historical-workbench .hw-kpis article:last-child{border:0}
#main #countyProfileContent.atlas-historical-workbench .hw-kpis svg{width:37px;height:37px;flex:none;color:#01d6df}
#main #countyProfileContent.atlas-historical-workbench .hw-kpis span{font-size:12px!important;color:#b9d8e7;display:block}
#main #countyProfileContent.atlas-historical-workbench .hw-kpis strong{display:block;font-size:25px!important;line-height:1.15!important;margin:4px 0;color:#f1f8ff}
#main #countyProfileContent.atlas-historical-workbench .hw-kpis article:nth-child(3) strong{font-size:21px!important}
#main #countyProfileContent.atlas-historical-workbench .hw-kpis small{font-size:10px!important;color:#21e0bb}
#main #countyProfileContent.atlas-historical-workbench .hw-top{display:grid;grid-template-columns:minmax(0,3.1fr) minmax(240px,.86fr) minmax(250px,.92fr);gap:10px;min-height:0}
#main #countyProfileContent.atlas-historical-workbench .hw-card{min-width:0;min-height:0;padding:11px 12px;border:1px solid #24627b;border-radius:5px;background:#002333!important;overflow:auto}
#main #countyProfileContent.atlas-historical-workbench .hw-card h2{color:#f0f7ff;font-size:13px!important;line-height:1.2!important;font-weight:700;margin-bottom:4px}
#main #countyProfileContent.atlas-historical-workbench .hw-card h3{color:#eaf7ff;font-size:11px!important;font-weight:650;margin-bottom:5px}
#main #countyProfileContent.atlas-historical-workbench .hw-card p{font-size:10px!important;color:#afcedd;line-height:1.4!important}
#main #countyProfileContent.atlas-historical-workbench .hw-card small{font-size:9px!important;color:#91bfce;line-height:1.35!important}
#main #countyProfileContent.atlas-historical-workbench .hw-card>header{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-bottom:7px}
#main #countyProfileContent.atlas-historical-workbench .hw-timeline>header label{display:flex;align-items:center;gap:6px;white-space:nowrap}
#main #countyProfileContent.atlas-historical-workbench .hw-timeline{display:flex;flex-direction:column}
#main #countyProfileContent.atlas-historical-workbench .hw-timeline>header select{font-size:10px!important;min-height:25px!important}
#main #countyProfileContent.atlas-historical-workbench .hw-timeline-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;min-height:0;flex:1}
#main #countyProfileContent.atlas-historical-workbench .hw-timeline-grid>article{position:relative;border:1px solid #2181a0;border-radius:3px;min-width:0;background:#002333}
#main #countyProfileContent.atlas-historical-workbench .hw-timeline-grid>article+article:before{content:'→';position:absolute;right:calc(100% + 6px);top:43%;font-size:20px;color:#d7eaf5}
#main #countyProfileContent.atlas-historical-workbench .hw-timeline-grid article>header{display:flex;align-items:center;justify-content:space-between;gap:4px;padding:7px 9px;border-bottom:1px solid #21647d;background:#063044}
#main #countyProfileContent.atlas-historical-workbench .hw-timeline-grid article>header strong{font-size:17px!important;color:#f4f9ff}
#main #countyProfileContent.atlas-historical-workbench .hw-timeline-grid article>header span{font-size:9px!important;color:#a5cadc}
#main #countyProfileContent.atlas-historical-workbench .hw-timeline-grid dl{padding:5px 9px;display:grid;gap:6px}
#main #countyProfileContent.atlas-historical-workbench .hw-timeline-grid dl>div{display:flex;align-items:center;justify-content:space-between;gap:4px}
#main #countyProfileContent.atlas-historical-workbench .hw-timeline-grid dt{font-size:10px!important}
#main #countyProfileContent.atlas-historical-workbench .hw-timeline-grid dd{font-size:11px!important;font-weight:650;white-space:nowrap}
#main #countyProfileContent.atlas-historical-workbench .hw-timeline-candidates{padding:3px 9px;display:grid;gap:7px}
#main #countyProfileContent.atlas-historical-workbench .hw-timeline-candidates>div{display:flex;justify-content:space-between;gap:5px;font-size:10px!important}
#main #countyProfileContent.atlas-historical-workbench .hw-timeline-candidates span{display:flex;align-items:center;gap:5px;min-width:0}
#main #countyProfileContent.atlas-historical-workbench .hw-timeline-candidates i{width:7px;height:13px;flex:none}
#main #countyProfileContent.atlas-historical-workbench .hw-timeline-grid article.hw-future{border-color:#28bb9a}
#main #countyProfileContent.atlas-historical-workbench .hw-future>p{padding:10px}
#main #countyProfileContent.atlas-historical-workbench .hw-future>a,#main #countyProfileContent.atlas-historical-workbench .hw-future>small{display:block;font-size:9px!important;padding:4px 9px}
#main #countyProfileContent.atlas-historical-workbench .hw-dna-body{display:flex;align-items:center;gap:8px;margin:6px 0 9px}
#main #countyProfileContent.atlas-historical-workbench .hw-dna-body>svg{width:60px;height:66px;flex:none}
#main #countyProfileContent.atlas-historical-workbench .hw-dna-body path{fill:#07516a;stroke:#7fc7df;stroke-width:5}
#main #countyProfileContent.atlas-historical-workbench .hw-dna-body strong{display:block;text-transform:uppercase;font-size:16px!important;color:#f5da36;margin:4px 0}
#main #countyProfileContent.atlas-historical-workbench .hw-swing{border-top:1px solid #1b5368;padding-top:7px}
#main #countyProfileContent.atlas-historical-workbench .hw-swing h3{font-size:10px!important}
#main #countyProfileContent.atlas-historical-workbench .hw-swing h3 small{display:block;font-size:8px!important;font-weight:400;margin-top:2px}
#main #countyProfileContent.atlas-historical-workbench .hw-swing>div{display:grid;grid-template-columns:34px minmax(0,1fr) 51px;gap:6px;align-items:center;font-size:9px!important;margin:4px 0}
#main #countyProfileContent.atlas-historical-workbench .hw-swing i{position:relative;height:7px;background:#0b3c4f}
#main #countyProfileContent.atlas-historical-workbench .hw-swing i:after{content:'';position:absolute;left:50%;height:11px;top:-2px;border-left:1px solid #abc7d9}
#main #countyProfileContent.atlas-historical-workbench .hw-swing b{position:absolute;top:0;height:100%}
#main #countyProfileContent.atlas-historical-workbench .hw-swing strong{text-align:right;white-space:nowrap}
#main #countyProfileContent.atlas-historical-workbench .hw-insights ul{list-style:none;padding:4px 0 0;display:grid;gap:11px}
#main #countyProfileContent.atlas-historical-workbench .hw-insights li{position:relative;padding-left:17px;font-size:11px!important;line-height:1.4!important}
#main #countyProfileContent.atlas-historical-workbench .hw-insights li:before{content:'';position:absolute;left:0;top:4px;width:7px;height:7px;background:var(--hw-dot);border-radius:50%}
#main #countyProfileContent.atlas-historical-workbench .hw-charts{display:grid;grid-template-columns:1.28fr 1.15fr 1.15fr .95fr;gap:10px;min-height:0}
#main #countyProfileContent.atlas-historical-workbench .hw-charts>.hw-card{display:flex;flex-direction:column;gap:1px}
#main #countyProfileContent.atlas-historical-workbench .hw-chart{display:block;width:100%;flex:1;min-height:80px;max-height:170px;overflow:visible}
#main #countyProfileContent.atlas-historical-workbench .hw-chart text{font:10px Arial,sans-serif!important;fill:#d3e6f0}
#main #countyProfileContent.atlas-historical-workbench .hw-grid{stroke:#195064;stroke-width:.65;fill:none}
#main #countyProfileContent.atlas-historical-workbench .hw-legend{display:flex;flex-wrap:wrap;gap:4px 8px;font-size:8px!important;line-height:1.2!important}
#main #countyProfileContent.atlas-historical-workbench .hw-legend span{white-space:nowrap}
#main #countyProfileContent.atlas-historical-workbench .hw-legend i{display:inline-block;width:6px;height:6px;margin-right:3px;border-radius:50%}
#main #countyProfileContent.atlas-historical-workbench .hw-legend .hw-dashed{width:13px;border-top:1px dashed #bed3e1;height:1px;vertical-align:middle}
#main #countyProfileContent.atlas-historical-workbench .hw-bottom{display:grid;grid-template-columns:1.45fr 1.13fr .86fr 1.06fr;gap:10px;min-height:0}
#main #countyProfileContent.atlas-historical-workbench .hw-races>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:10px 0}
#main #countyProfileContent.atlas-historical-workbench .hw-races article{min-width:0;border-right:1px solid #18495e;padding-right:7px}
#main #countyProfileContent.atlas-historical-workbench .hw-races article:last-child{border:0;padding:0}
#main #countyProfileContent.atlas-historical-workbench .hw-races article>div{display:grid;grid-template-columns:minmax(0,1fr) 34px;gap:5px 3px;margin:10px 0;font-size:9px!important;align-items:center}
#main #countyProfileContent.atlas-historical-workbench .hw-races article>div>span{grid-column:1/-1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#main #countyProfileContent.atlas-historical-workbench .hw-races i{height:9px;display:block;background:#103f51}
#main #countyProfileContent.atlas-historical-workbench .hw-races i b{height:100%;display:block}
#main #countyProfileContent.atlas-historical-workbench table{border-collapse:collapse;width:100%;font-size:10px!important}
#main #countyProfileContent.atlas-historical-workbench :is(th,td){text-align:left;padding:6px 4px!important;border-bottom:1px solid #21576e;white-space:nowrap;font-size:10px!important}
#main #countyProfileContent.atlas-historical-workbench th{font-weight:400;color:#b8d9e7;background:#063044}
#main #countyProfileContent.atlas-historical-workbench .hw-table-scroll{max-height:calc(100% - 77px);overflow:auto;margin:8px 0}
#main #countyProfileContent.atlas-historical-workbench .hw-correlation{width:104px;height:104px;display:flex;flex-direction:column;align-items:center;justify-content:center;margin:8px auto;border:8px solid #19a9dc;border-right-color:#b4dbeb;border-radius:50%;background:#002333}
#main #countyProfileContent.atlas-historical-workbench .hw-correlation strong{font-size:23px!important}
#main #countyProfileContent.atlas-historical-workbench .hw-correlation span{font-size:8px!important}
#main #countyProfileContent.atlas-historical-workbench .hw-bellwether>b{display:block;text-align:center;color:#22d7d1;font-size:11px!important;margin-bottom:5px}
#main #countyProfileContent.atlas-historical-workbench .hw-narrative p{font-size:11px!important;line-height:1.45!important;margin-top:9px}
#main #countyProfileContent.atlas-historical-workbench .hw-foot{display:flex;align-items:center;gap:12px;font-size:9px!important;color:#8fb9cb;white-space:nowrap}
#main #countyProfileContent.atlas-historical-workbench .hw-foot>span{margin-right:auto}
#main #countyProfileContent.atlas-historical-workbench .hw-foot label{display:flex;align-items:center;gap:5px}
#main #countyProfileContent.atlas-historical-workbench .hw-foot select,#main #countyProfileContent.atlas-historical-workbench .hw-foot button{font-size:9px!important;min-height:23px!important;padding:2px 6px!important}
#main #countyProfileContent.atlas-historical-workbench .hw-comparison{padding:16px}
#main #countyProfileContent.atlas-historical-workbench .hw-comparison :is(td,th){font-size:12px!important;padding:8px!important;white-space:normal}
#main #countyProfileContent.atlas-historical-workbench .hw-comparison th{font-weight:650}
#main #countyProfileContent.atlas-historical-workbench .hw-method-dialog{width:min(940px,calc(100vw - 26px));max-height:90dvh;padding:20px;background:#052b3d;color:#ddf1fc;border:1px solid #5495aa;border-radius:5px;overflow:auto}
#main #countyProfileContent.atlas-historical-workbench .hw-method-dialog::backdrop{background:#001522dd}
#main #countyProfileContent.atlas-historical-workbench .hw-method-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:18px}
#main #countyProfileContent.atlas-historical-workbench .hw-method-dialog h2{font-size:23px!important}
#main #countyProfileContent.atlas-historical-workbench .hw-method-dialog h3{font-size:15px!important;margin:17px 0 7px}
#main #countyProfileContent.atlas-historical-workbench .hw-method-dialog p{font-size:13px!important;line-height:1.6!important;margin:10px 0}
#main #countyProfileContent.atlas-historical-workbench .hw-method-dialog section{border-top:1px solid #286078;padding-top:11px;margin-top:11px}
#main #countyProfileContent.atlas-historical-workbench .hw-error{padding:30px}
@media(max-height:950px) and (min-width:1101px){
 #main #countyProfileContent.atlas-historical-workbench .hw-layout{grid-template-rows:54px 82px minmax(210px,1.2fr) minmax(180px,1fr) minmax(180px,1fr) 24px;min-height:756px;gap:6px}
 #main #countyProfileContent.atlas-historical-workbench .hw-layout.has-compare{grid-template-rows:54px 82px 225px 200px 210px auto 24px}
 #main #countyProfileContent.atlas-historical-workbench .hw-card{padding:8px 10px}
 #main #countyProfileContent.atlas-historical-workbench .hw-kpis article{gap:12px;padding:8px 13px}
 #main #countyProfileContent.atlas-historical-workbench .hw-kpis strong{font-size:23px!important}
 #main #countyProfileContent.atlas-historical-workbench .hw-kpis article:nth-child(3) strong{font-size:19px!important}
 #main #countyProfileContent.atlas-historical-workbench .hw-races>div{margin:5px 0}
 #main #countyProfileContent.atlas-historical-workbench .hw-races article>div{margin:6px 0}
 #main #countyProfileContent.atlas-historical-workbench .hw-insights ul{gap:7px}
 #main #countyProfileContent.atlas-historical-workbench .hw-insights li{font-size:10px!important}
 #main #countyProfileContent.atlas-historical-workbench .hw-correlation{width:80px;height:80px;margin:6px auto;border-width:6px}
 #main #countyProfileContent.atlas-historical-workbench .hw-narrative p{font-size:10px!important;margin-top:5px}
}
@media(max-width:1500px) and (min-width:1101px){
 #main #countyProfileContent.atlas-historical-workbench .hw-kpis article{gap:9px;padding:10px}
 #main #countyProfileContent.atlas-historical-workbench .hw-kpis svg{width:30px;height:30px}
 #main #countyProfileContent.atlas-historical-workbench .hw-kpis strong{font-size:21px!important}
 #main #countyProfileContent.atlas-historical-workbench .hw-kpis span{font-size:10px!important}
 #main #countyProfileContent.atlas-historical-workbench .hw-kpis small{font-size:9px!important}
 #main #countyProfileContent.atlas-historical-workbench .hw-top{grid-template-columns:minmax(0,2.7fr) minmax(220px,.9fr) minmax(215px,.9fr);gap:7px}
 #main #countyProfileContent.atlas-historical-workbench .hw-timeline-grid{gap:15px}
 #main #countyProfileContent.atlas-historical-workbench .hw-timeline-grid>article+article:before{font-size:15px;right:calc(100% + 2px)}
 #main #countyProfileContent.atlas-historical-workbench .hw-timeline-grid article>header{padding:5px 6px}
 #main #countyProfileContent.atlas-historical-workbench .hw-timeline-grid dl,#main #countyProfileContent.atlas-historical-workbench .hw-timeline-candidates{padding:5px 6px}
 #main #countyProfileContent.atlas-historical-workbench .hw-timeline-candidates>div{font-size:9px!important}
 #main #countyProfileContent.atlas-historical-workbench .hw-charts,#main #countyProfileContent.atlas-historical-workbench .hw-bottom{gap:7px}
}
@media(max-width:1450px){body[data-access=public][data-history-presentation=public] #main #countyView{left:0!important}}
@media(max-width:1100px){
 body[data-access=public][data-history-presentation=public] #main #countyView{position:relative!important;inset:auto!important;padding:0!important;overflow:visible!important}
 #main #countyProfileContent.atlas-historical-workbench .hw-layout,#main #countyProfileContent.atlas-historical-workbench .hw-layout.has-compare{display:flex;flex-direction:column;height:auto;min-height:0;gap:10px}
 #main #countyProfileContent.atlas-historical-workbench .hw-hero{flex-wrap:wrap}
 #main #countyProfileContent.atlas-historical-workbench .hw-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}
 #main #countyProfileContent.atlas-historical-workbench .hw-kpis article{min-height:95px;padding:12px;gap:10px}
 #main #countyProfileContent.atlas-historical-workbench .hw-top{grid-template-columns:1fr 1fr}
 #main #countyProfileContent.atlas-historical-workbench .hw-timeline{grid-column:1/-1;min-height:220px}
 #main #countyProfileContent.atlas-historical-workbench .hw-timeline-grid{height:auto;min-height:160px}
 #main #countyProfileContent.atlas-historical-workbench .hw-dna,#main #countyProfileContent.atlas-historical-workbench .hw-insights{min-height:235px}
 #main #countyProfileContent.atlas-historical-workbench .hw-charts,#main #countyProfileContent.atlas-historical-workbench .hw-bottom{grid-template-columns:1fr 1fr}
 #main #countyProfileContent.atlas-historical-workbench .hw-charts>.hw-card{min-height:245px}
 #main #countyProfileContent.atlas-historical-workbench .hw-bottom>.hw-card{min-height:235px}
 #main #countyProfileContent.atlas-historical-workbench .hw-foot{flex-wrap:wrap;white-space:normal;gap:8px}
 #main #countyProfileContent.atlas-historical-workbench .hw-foot>span{flex-basis:100%}
}
@media(max-width:650px){
 #main #countyProfileContent.atlas-historical-workbench .hw-hero h1{font-size:23px!important}
 #main #countyProfileContent.atlas-historical-workbench .hw-selectors{width:100%;gap:8px}
 #main #countyProfileContent.atlas-historical-workbench .hw-selectors label{flex:1;min-width:0}
 #main #countyProfileContent.atlas-historical-workbench .hw-selectors select{width:100%;min-width:0}
 #main #countyProfileContent.atlas-historical-workbench .hw-kpis{grid-template-columns:1fr 1fr}
 #main #countyProfileContent.atlas-historical-workbench .hw-kpis svg{width:28px;height:28px}
 #main #countyProfileContent.atlas-historical-workbench .hw-kpis strong{font-size:21px!important}
 #main #countyProfileContent.atlas-historical-workbench .hw-kpis article:nth-child(3) strong{font-size:18px!important}
 #main #countyProfileContent.atlas-historical-workbench .hw-kpis span{font-size:10px!important}
 #main #countyProfileContent.atlas-historical-workbench .hw-top,#main #countyProfileContent.atlas-historical-workbench .hw-charts,#main #countyProfileContent.atlas-historical-workbench .hw-bottom{grid-template-columns:1fr}
 #main #countyProfileContent.atlas-historical-workbench .hw-timeline>header{align-items:flex-start;flex-direction:column}
 #main #countyProfileContent.atlas-historical-workbench .hw-timeline-grid{grid-template-columns:1fr 1fr;gap:10px}
 #main #countyProfileContent.atlas-historical-workbench .hw-timeline-grid>article{min-height:170px}
 #main #countyProfileContent.atlas-historical-workbench .hw-timeline-grid>article+article:before{display:none}
 #main #countyProfileContent.atlas-historical-workbench .hw-timeline-candidates>div{font-size:9px!important}
 #main #countyProfileContent.atlas-historical-workbench .hw-races article>div{font-size:8px!important}
 #main #countyProfileContent.atlas-historical-workbench .hw-comparison{overflow:auto}
}
