/* Reference County Profile composition. Analysis remains in its existing workspace. */
body[data-access=public][data-view=county]:has(.atlas-county-broadcast){height:100dvh;overflow:hidden}
body[data-access=public][data-view=county]:has(.atlas-county-broadcast) :is(#readerStickyHeader,#atlasRehearsalBanner,.reader-tally-wrap,.page-heading,.page-footer){display:none!important}
body[data-access=public] #countyView:has(.atlas-county-broadcast){position:fixed!important;inset:0;z-index:2000;display:block!important;padding:8px!important;box-sizing:border-box;overflow:hidden;min-width:0;min-height:0;background:radial-gradient(ellipse at 40% 20%,#09394c,#001a2a 80%)}
body[data-access=public] #countyView:has(.atlas-county-broadcast)>:is(.atlas-broadcast-bar,.atlas-broadcast-location){display:none!important}
body[data-access=public] #main #countyView>#countyProfileContent.atlas-county-broadcast{display:block!important;width:100%!important;max-width:none!important;height:100%!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important;color:#edf8ff;font-size:12px!important;line-height:1.25}
#main #countyProfileContent.atlas-county-broadcast .cbx-layout{display:grid!important;grid-template-rows:58px 94px minmax(0,1fr)32px;height:100%;gap:8px;margin:0!important;min-height:0;font-family:Arial,Helvetica,sans-serif;font-variant-numeric:tabular-nums}
#main #countyProfileContent.atlas-county-broadcast .cbx-layout *{box-sizing:border-box}
#main #countyProfileContent.atlas-county-broadcast .cbx-layout :is(span,small,b,strong,em,th,td,p,li,dt,dd,button,label,a,input,select){font-family:Arial,Helvetica,sans-serif;font-size:inherit!important;line-height:inherit;color:inherit}
#main #countyProfileContent.atlas-county-broadcast .cbx-layout :is(p,h1,h2,h3,h4,dl,dd,nav){margin:0}
#main #countyProfileContent.atlas-county-broadcast .cbx-layout :is(button,select,input){border:1px solid #2d6179;background:#092e43;color:#edf7ff;border-radius:3px;padding:5px 8px!important;min-height:28px!important;font-size:11px!important;max-width:100%;cursor:pointer}
#main #countyProfileContent.atlas-county-broadcast .cbx-layout :is(button,select,input,a):focus-visible{outline:2px solid #4df6db;outline-offset:2px}
.cbx-layout button:disabled{opacity:.4;cursor:default}
.cbx-header{display:flex;align-items:center;gap:12px;min-width:0;border-bottom:1px solid #1e566f;padding-bottom:5px}
.cbx-header>img{width:230px;height:52px;object-fit:contain;flex:none}
.cbx-breadcrumb{display:flex;align-items:center;gap:12px;flex:1;min-width:120px;border-left:1px solid #27536a;padding-left:18px;font-size:12px}
.cbx-breadcrumb a{color:#b5dbea!important;text-decoration:none}
.cbx-primary-nav{display:flex;gap:8px;align-items:center;flex:none}
#main #countyProfileContent.atlas-county-broadcast .cbx-primary-nav button{border:0!important;background:transparent!important;font-size:12px!important;min-height:34px!important;padding:7px 11px!important}
#main #countyProfileContent.atlas-county-broadcast .cbx-primary-nav button[aria-current]{border:1px solid #236680!important;background:#073249!important}
.cbx-search{display:flex;align-items:center;gap:5px;max-width:270px;flex:1;min-width:150px;border:1px solid #315f75;padding:3px 5px;color:#90b8ce;background:#082a3d}
#main #countyProfileContent.atlas-county-broadcast .cbx-search input{border:0!important;background:transparent!important;width:100%;min-width:0;font-size:11px!important;padding:4px!important;cursor:text}
#main #countyProfileContent.atlas-county-broadcast .cbx-header>[data-cbx-fullscreen]{width:33px;height:33px;font-size:22px!important;line-height:1;padding:4px!important;color:#81f4e3;flex:none}
.cbx-clock{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:2px 10px;flex:none;border-left:1px solid #285267;padding-left:12px}
.cbx-clock>span{grid-row:1/3;color:#ffc571!important;padding-right:6px;font-size:12px!important;white-space:nowrap}
#main #countyProfileContent.atlas-county-broadcast .cbx-clock>small{font-size:10px!important;color:#b9d4e6}
#main #countyProfileContent.atlas-county-broadcast .cbx-clock>b{font-size:18px!important;white-space:nowrap;color:#f5faff}
.cbx-summary{display:flex;align-items:center;gap:12px;min-width:0;background:linear-gradient(110deg,#082b40aa,#032536);border:1px solid #175875;border-radius:3px;overflow:hidden}
.cbx-county-mark{display:grid;place-content:center;text-align:center;gap:3px;width:92px;height:84px;flex:none;color:#f4ce79;border:1px solid #b39b5766;border-radius:45%;margin-left:8px;background:radial-gradient(#196376,#072437 75%);box-shadow:inset 0 0 12px #e0c17a33}
#main #countyProfileContent.atlas-county-broadcast .cbx-county-mark small{font-size:9px!important;letter-spacing:1px}
#main #countyProfileContent.atlas-county-broadcast .cbx-county-mark strong{font-size:32px!important}
.cbx-summary-name{flex:1;min-width:260px}
#main #countyProfileContent.atlas-county-broadcast .cbx-summary-name h1{font-size:32px!important;line-height:1.15;color:#f2f8ff;font-weight:750;letter-spacing:-.4px}
#main #countyProfileContent.atlas-county-broadcast .cbx-summary-name p{font-size:12px!important;margin-top:7px;color:#d2e7f4}
.cbx-summary dl{display:grid;grid-template-columns:1.05fr .85fr .85fr .65fr .9fr 1.45fr;flex:1.65;align-self:stretch;min-width:0;border:1px solid #155b77;border-radius:3px}
.cbx-summary dl>div{padding:12px 12px;border-left:1px solid #1a4a61;display:flex;flex-direction:column;justify-content:center;min-width:0}
#main #countyProfileContent.atlas-county-broadcast .cbx-summary dd{font-size:20px!important;font-weight:700;line-height:1.2;color:#edf6ff;overflow-wrap:anywhere}
#main #countyProfileContent.atlas-county-broadcast .cbx-summary dl>div:last-child dd{font-size:14px!important}
#main #countyProfileContent.atlas-county-broadcast .cbx-summary dt{font-size:10px!important;line-height:1.3;margin-top:4px;color:#bdd9e8}
#main #countyProfileContent.atlas-county-broadcast .cbx-summary dt small{display:block;font-size:9px!important;color:#89b3c8}
.cbx-postcard{width:210px;height:100%;background-size:cover;background-position:center;position:relative;flex:none}
.cbx-postcard small{position:absolute;right:5px;bottom:4px;padding:3px;background:#042638b5;font-size:9px!important;color:#d9f2ff}
.cbx-main{display:grid;grid-template-columns:minmax(0,.94fr) minmax(0,1.92fr) minmax(0,1.25fr);gap:8px;min-height:0;min-width:0}
.cbx-left{display:grid;grid-template-rows:minmax(0,1.3fr) minmax(0,.65fr) minmax(0,1.3fr) minmax(0,1fr);gap:8px;min-height:0;min-width:0}
.cbx-centre{display:grid;grid-template-rows:minmax(0,1fr)150px;gap:8px;min-height:0;min-width:0}
.cbx-right{display:grid;grid-template-rows:minmax(0,1.22fr) minmax(0,.78fr)150px;gap:8px;min-height:0;min-width:0}
#main #countyProfileContent.atlas-county-broadcast .cbx-panel{position:relative;min-height:0;min-width:0;overflow:hidden;padding:8px 10px!important;border:1px solid #1b627d;background:radial-gradient(ellipse at 90% 10%,#073346,#002334 80%)!important;border-radius:3px;font-size:11px!important}
#main #countyProfileContent.atlas-county-broadcast .cbx-panel>h3{font-size:13px!important;line-height:1.25;color:#eef8ff;margin:0 0 8px;padding-bottom:6px;border-bottom:1px solid #17475f;font-weight:700;white-space:nowrap}
#main #countyProfileContent.atlas-county-broadcast .cbx-panel>h3 span{font-weight:400;font-size:11px!important;color:#add0e4}
#main #countyProfileContent.atlas-county-broadcast .cbx-panel small{font-size:9px!important;line-height:1.35;color:#9fc4d7}
#main #countyProfileContent.atlas-county-broadcast .cbx-panel p{font-size:12px!important;line-height:1.45;color:#c7e2f1;margin:7px 0}
.cbx-progress-donut{display:flex;align-items:center;gap:12px;margin:6px 0 14px}
.cbx-donut{width:70px;height:70px;flex:none;border-radius:50%;background:conic-gradient(#20e0bc var(--coverage),#174b61 0);display:grid;place-items:center;border:1px solid #4bafae}
.cbx-donut>span{width:50px;height:50px;border-radius:50%;background:#00283b}
#main #countyProfileContent.atlas-county-broadcast .cbx-progress-donut>b{font-size:28px!important;color:#00ebc9}
.cbx-progress-donut>div:last-child{display:grid;gap:5px;min-width:0}
#main #countyProfileContent.atlas-county-broadcast .cbx-progress-donut strong{font-size:14px!important;white-space:nowrap}
.cbx-progress-values{display:grid;grid-template-columns:1.15fr 1fr .8fr;gap:9px;border-top:1px solid #19536c;padding-top:12px}
.cbx-progress-values>div{display:grid;gap:5px;border-right:1px solid #133e53;padding-right:7px}
#main #countyProfileContent.atlas-county-broadcast .cbx-progress-values b{font-size:19px!important;line-height:1.2;white-space:nowrap}
.cbx-turnout-value{display:flex;align-items:center;gap:18px;margin:4px 0 8px}
#main #countyProfileContent.atlas-county-broadcast .cbx-turnout-value>b{font-size:34px!important;line-height:1;color:#00e4c5}
.cbx-turnout-value>div{display:grid;gap:4px;color:#42ddc4;font-size:10px}
.cbx-track{height:9px;min-width:0;background:#1b435b;border:1px solid #315d71;border-radius:3px;overflow:hidden}
.cbx-track>i{display:block;height:100%;border-radius:2px}
#main #countyProfileContent.atlas-county-broadcast .cbx-panel table{width:100%;min-width:0;border-collapse:collapse;table-layout:auto;background:transparent!important;color:#d9edf9;font-size:11px!important}
#main #countyProfileContent.atlas-county-broadcast .cbx-panel :is(table,thead,tbody,tr,th,td){background:transparent!important}
#main #countyProfileContent.atlas-county-broadcast .cbx-panel :is(th,td){font-size:11px!important;padding:4px 3px!important;line-height:1.25!important;text-align:left;border-bottom:1px solid #17455b;white-space:nowrap}
#main #countyProfileContent.atlas-county-broadcast .cbx-panel thead th{font-weight:400;color:#a6cce0}
#main #countyProfileContent.atlas-county-broadcast .cbx-panel th{font-weight:400}
#main #countyProfileContent.atlas-county-broadcast .cbx-panel th button{background:transparent!important;border:0!important;min-height:16px!important;padding:0!important;font-size:11px!important;text-align:left;white-space:nowrap}
.cbx-panel th>i,.cbx-candidate-bottom>span>i{display:inline-block;width:8px;height:10px;border-radius:2px;margin-right:5px}
.cbx-history>small{display:block;margin-top:8px}
.cbx-outlook-badge{display:inline-block;padding:8px 12px;border-radius:3px;color:#fff!important;margin-bottom:4px;font-size:13px!important}
.cbx-map-card{display:flex;flex-direction:column;min-height:0;min-width:0;border:1px solid #1d637d;border-radius:3px;overflow:hidden;background:#032839}
.cbx-map-tabs{display:grid;grid-template-columns:.8fr .8fr 1.15fr .8fr 1fr 1fr;gap:5px;padding:6px;background:#103347;flex:none}
#main #countyProfileContent.atlas-county-broadcast .cbx-map-tabs button{background:#12394b;border:1px solid #3d6378;border-radius:3px;font-size:10px!important;min-height:30px!important;padding:5px 4px!important;white-space:nowrap}
#main #countyProfileContent.atlas-county-broadcast .cbx-map-tabs button[aria-pressed=true],#main #countyProfileContent.atlas-county-broadcast .cbx-result-toggle button[aria-pressed=true]{background:#008bff!important;color:#fff!important;border-color:#20b8e8}
.cbx-map-a11y{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}
.cbx-map-stage{position:relative;flex:1;min-height:0;min-width:0;background:#183c40}
#cbxCountyMap{height:100%;width:100%;min-height:0}
#cbxCountyMap .atlas-world-border-key{display:none!important}
.cbx-map-legends{position:absolute;right:8px;top:10px;z-index:4;width:145px;display:grid;gap:10px;pointer-events:none}
.cbx-map-legends>section{background:#002839e8;border:1px solid #236b85;border-radius:3px;padding:10px;display:grid;gap:7px;color:#e8f7ff;font-size:10px}
.cbx-map-legends strong{font-size:11px!important;line-height:1.3}
.cbx-map-legends span{display:flex;align-items:center;gap:5px;white-space:nowrap}
.cbx-map-legends i{width:13px;height:13px;border-radius:50%;flex:none;border:1px solid #8ebbc866}
.cbx-map-legends [data-cbx-bands] i{border-radius:2px}
.cbx-map-scope{position:absolute;left:8px;bottom:17px;z-index:4;display:grid;gap:5px;padding:7px;background:#002a3ce8;border:1px solid #2b617b;border-radius:3px;color:#d7eaf5;font-size:10px}
#main #countyProfileContent.atlas-county-broadcast .cbx-map-scope select{font-size:11px!important;width:155px;min-height:30px!important}
.cbx-scale{position:absolute;right:15px;bottom:27px;z-index:3;color:#e9f5ff;pointer-events:none;display:grid;justify-items:end}
.cbx-scale>b{font-size:28px!important;text-shadow:0 1px 3px #00121d}
.cbx-scale>span{font-size:10px!important;margin-right:6px}
.cbx-scale>div{height:9px;border:1px solid #e3eff6;border-top:0;min-width:50px;margin-top:8px;position:relative}
.cbx-scale small{position:absolute;bottom:-14px;right:0;font-size:9px!important;white-space:nowrap;text-shadow:0 1px 3px #00121d}
#main #countyProfileContent.atlas-county-broadcast .cbx-map-note{flex:none;font-size:9px!important;line-height:1.3;padding:4px 7px;margin:0;color:#a6cddd;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cbx-hover{position:absolute;left:8px;top:8px;z-index:8;width:255px;max-width:calc(100% - 16px);padding:12px;background:#214d64;color:#f6fbff;border:1px solid #9cdce9;box-shadow:0 8px 24px #0009;border-radius:3px}
.cbx-hover[hidden]{display:none}
.cbx-hover>button{float:right}
#main #countyProfileContent.atlas-county-broadcast .cbx-hover>small{font-size:9px!important;color:#b3dae8}
#main #countyProfileContent.atlas-county-broadcast .cbx-hover h4{font-size:19px!important;margin:7px 0}
#main #countyProfileContent.atlas-county-broadcast .cbx-hover>p{font-size:10px!important;line-height:1.4;margin-bottom:10px;color:#c8e6f2}
.cbx-hover>div{display:grid;grid-template-columns:7px 1fr auto;gap:4px 6px;padding:7px 0;border-top:1px solid #477287;font-size:12px}
.cbx-hover>div>i{width:7px;height:7px;border-radius:50%;align-self:center}
.cbx-hover>div>small{grid-column:2/-1;font-size:10px!important;color:#b0d3e2;text-align:right}
.cbx-candidate-trend{grid-column:2/-1;display:flex;align-items:center;gap:7px;min-width:0}
.cbx-candidate-trend svg{width:130px;height:25px;flex:1;min-width:0;max-width:150px}
#main #countyProfileContent.atlas-county-broadcast .cbx-candidate-trend span{font-size:10px!important;line-height:1.2!important;white-space:nowrap;color:#dcf3ff}
#main #countyProfileContent.atlas-county-broadcast .cbx-hover>.cbx-trend-source{font-size:9px!important;margin:5px 0 0;color:#c8e8f5}
.cbx-map-rankings{display:grid;grid-template-columns:1fr 1fr 1.1fr;gap:8px;min-height:0;min-width:0}
.cbx-map-rankings .cbx-panel{padding:7px!important}
#main #countyProfileContent.atlas-county-broadcast .cbx-map-rankings .cbx-panel>h3{font-size:11px!important;line-height:1.2;padding-bottom:5px;margin-bottom:4px}
.cbx-map-rankings .cbx-panel:first-child>h3{color:#18c9f7!important}.cbx-map-rankings .cbx-panel:nth-child(2)>h3{color:#ffd34b!important}.cbx-map-rankings .cbx-panel:last-child>h3{color:#c484ff!important}
#main #countyProfileContent.atlas-county-broadcast .cbx-map-rankings :is(th,td){font-size:10px!important;padding:3px 2px!important}
#main #countyProfileContent.atlas-county-broadcast .cbx-map-rankings th button{font-size:10px!important}
.cbx-rank-value{display:flex;align-items:center;justify-content:flex-end;gap:7px;white-space:nowrap}
.cbx-rank-value .cbx-track{width:64px;height:9px;flex:1}
.cbx-candidates{display:flex;flex-direction:column}
.cbx-candidates>h3{padding-right:88px}
.cbx-result-toggle{position:absolute;right:7px;top:5px;display:flex;gap:3px}
#main #countyProfileContent.atlas-county-broadcast .cbx-result-toggle button{font-size:10px!important;min-height:24px!important;padding:3px 5px!important}
.cbx-candidate-list{display:grid;grid-template-rows:repeat(4,minmax(0,1fr));min-height:0;flex:1}
.cbx-candidate-list>article{display:grid;grid-template-columns:42px minmax(0,1fr);gap:9px;align-items:center;padding:5px 0;border-bottom:1px solid #164258;min-height:0;min-width:0}
#main #countyProfileContent.atlas-county-broadcast .cbx-candidate-list .candidate-portrait{width:42px!important;height:49px!important;min-width:42px!important;flex-basis:42px!important;border:1px solid #9ab8c9;border-radius:3px}
.cbx-candidate-name{display:grid;grid-template-columns:minmax(0,1fr) 65px 48px;gap:7px;align-items:baseline;margin-bottom:8px;min-width:0}
#main #countyProfileContent.atlas-county-broadcast .cbx-candidate-name strong{font-size:14px!important;color:#f1f8ff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#main #countyProfileContent.atlas-county-broadcast .cbx-candidate-name b{font-size:13px!important;text-align:right;white-space:nowrap}
#main #countyProfileContent.atlas-county-broadcast .cbx-candidate-name em{font-size:18px!important;line-height:1;font-style:normal;font-weight:700;color:var(--candidate);text-align:right;white-space:nowrap}
.cbx-candidate-bottom{display:grid;grid-template-columns:minmax(0,1fr)minmax(0,1.55fr);gap:10px;align-items:center;font-size:10px}
.cbx-candidate-bottom>span{white-space:nowrap}
.cbx-candidate-bottom .cbx-track{height:11px}
.cbx-candidates>footer{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;flex:none;border-top:1px solid #2c647d;padding-top:6px;margin-top:4px}
.cbx-share-mode .cbx-candidate-name{grid-template-columns:minmax(0,1fr)48px 65px}
.cbx-share-mode .cbx-candidate-name em{grid-column:2;grid-row:1}.cbx-share-mode .cbx-candidate-name b{grid-column:3;grid-row:1}
.cbx-turnout-ranks{display:grid;grid-template-columns:1fr 1fr;gap:8px;min-height:0;min-width:0}
#main #countyProfileContent.atlas-county-broadcast .cbx-turnout-ranks .cbx-panel>h3{font-size:11px!important}
.cbx-turnout-ranks .cbx-panel:first-child>h3{color:#21e6eb!important}.cbx-turnout-ranks .cbx-panel:last-child>h3{color:#ff548b!important}
#main #countyProfileContent.atlas-county-broadcast .cbx-empty{font-size:11px!important;line-height:1.5;color:#a8ccdf;margin:12px 0}
.cbx-pages{display:flex;justify-content:flex-end;gap:5px;align-items:center;margin-top:5px;font-size:9px}
#main #countyProfileContent.atlas-county-broadcast .cbx-pages button{font-size:9px!important;min-height:20px!important;padding:2px 5px!important}
.cbx-ticker{display:flex;align-items:center;gap:12px;overflow:visible;background:linear-gradient(90deg,#370116,#031c2d 80%);border-top:1px solid #286680;font-size:11px}
.cbx-page-menu{position:relative;flex:none;z-index:50}
#main #countyProfileContent.atlas-county-broadcast .cbx-page-menu>summary{cursor:pointer;list-style:none;border:1px solid #42778a;border-radius:3px;background:#123b50;padding:5px 9px;font-size:11px!important;white-space:nowrap}
.cbx-page-menu>nav{position:absolute;bottom:calc(100% + 8px);right:0;width:410px;max-width:calc(100vw - 24px);padding:10px;display:grid;grid-template-columns:1fr 1fr;gap:5px;background:#123b50;border:1px solid #6cabbc;border-radius:4px;box-shadow:0 8px 30px #00121dbb}
.cbx-page-menu:not([open])>nav{display:none}
#main #countyProfileContent.atlas-county-broadcast .cbx-page-menu a{padding:8px;color:#effaff!important;font-size:12px!important;line-height:1.3;text-decoration:none;border:1px solid #356277;border-radius:2px}
.cbx-page-menu a:is(:hover,:focus-visible){background:#1a5c70}
.cbx-ticker>strong{padding:8px 12px;background:#fa1c42;color:white;white-space:nowrap}
.cbx-ticker>span{flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
#main #countyProfileContent.atlas-county-broadcast .cbx-ticker button{min-height:26px!important;font-size:10px!important;white-space:nowrap;flex:none}
.cbx-dialog{width:min(880px,calc(100vw - 20px));max-height:calc(100dvh - 20px);border:1px solid #8dc9d8;border-radius:4px;background:#143d53;color:#e9f7ff;padding:16px;overflow:hidden}
.cbx-dialog::backdrop{background:#00121ddb;backdrop-filter:blur(3px)}
.cbx-dialog>header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-bottom:10px;border-bottom:1px solid #3b6a80;margin-bottom:12px}
#main #countyProfileContent.atlas-county-broadcast .cbx-dialog h2{font-size:20px!important;color:#f1f9ff}
#main #countyProfileContent.atlas-county-broadcast .cbx-dialog p{font-size:13px!important;line-height:1.5;margin:10px 0;color:#c3e1f0}
.cbx-dialog a{color:#85eee1!important;text-decoration:none}
.cbx-dialog label{display:grid;gap:7px;max-width:350px;margin:12px 0}
.cbx-dialog table{width:100%;border-collapse:collapse}
#main #countyProfileContent.atlas-county-broadcast .cbx-dialog :is(th,td){font-size:12px!important;line-height:1.3;padding:8px 5px!important;text-align:left;border-bottom:1px solid #38657a;color:#eaf7ff;background:transparent!important}
.cbx-dialog .cbx-candidate-list{height:280px}
.cbx-dialog .cbx-candidate-name{grid-template-columns:minmax(0,1fr)80px 70px}
#main #countyProfileContent.atlas-county-broadcast .cbx-progress-donut>b{color:#00ebc9!important}
.cbx-turnout-value{margin-bottom:6px}
#main #countyProfileContent.atlas-county-broadcast .cbx-map-rankings :is(th,td){padding:2px!important;line-height:1.15!important}
#main #countyProfileContent.atlas-county-broadcast .cbx-map-rankings th button{min-height:12px!important;line-height:1.15!important}
#main #countyProfileContent.atlas-county-broadcast .cbx-constituencies :is(th,td){padding:3px!important;line-height:1.2!important}
#main #countyProfileContent.atlas-county-broadcast .cbx-constituencies th button{min-height:14px!important;line-height:1.2!important}
#cbxCountyMap .atlas-world-zoom{left:8px;right:auto;bottom:110px}
.cbx-scale{bottom:40px}
.cbx-map-scope{bottom:22px}
#main #countyProfileContent.atlas-county-broadcast .cbx-blue{color:#29b4ff!important}
#main #countyProfileContent.atlas-county-broadcast .cbx-gold{color:#ffcb13!important}
#main #countyProfileContent.atlas-county-broadcast .cbx-up{color:#19e6c5!important}
#main #countyProfileContent.atlas-county-broadcast .cbx-down{color:#ff5278!important}
@media(min-width:1101px) and (max-width:1599px){
 .cbx-header{gap:7px}.cbx-header>img{width:180px}.cbx-breadcrumb{padding-left:12px;min-width:100px;gap:7px;font-size:11px}.cbx-primary-nav{gap:2px}.cbx-search{max-width:215px;min-width:130px}.cbx-clock{gap:2px 7px;padding-left:8px}.cbx-clock>span{font-size:10px!important}.cbx-summary-name{min-width:225px}.cbx-summary dl>div{padding:9px 8px}.cbx-postcard{width:150px}.cbx-county-mark{width:70px;height:72px}.cbx-candidate-name{grid-template-columns:minmax(0,1fr)60px 45px;gap:5px}
 #main #countyProfileContent.atlas-county-broadcast .cbx-summary-name h1{font-size:27px!important}#main #countyProfileContent.atlas-county-broadcast .cbx-summary-name p{font-size:10px!important}#main #countyProfileContent.atlas-county-broadcast .cbx-summary dd{font-size:18px!important}#main #countyProfileContent.atlas-county-broadcast .cbx-primary-nav button{padding:5px 7px!important;font-size:11px!important}#main #countyProfileContent.atlas-county-broadcast .cbx-clock>b{font-size:16px!important}#main #countyProfileContent.atlas-county-broadcast .cbx-candidate-name strong{font-size:12px!important}#main #countyProfileContent.atlas-county-broadcast .cbx-candidate-name em{font-size:16px!important}#main #countyProfileContent.atlas-county-broadcast .cbx-progress-donut>b{font-size:24px!important}.cbx-progress-donut{gap:8px}.cbx-donut{width:56px;height:56px}.cbx-donut>span{width:40px;height:40px}#main #countyProfileContent.atlas-county-broadcast .cbx-progress-values b{font-size:17px!important}#main #countyProfileContent.atlas-county-broadcast .cbx-panel>h3{font-size:12px!important}.cbx-map-legends{width:130px}
}
@media(min-width:1101px) and (max-height:850px){
 #main #countyProfileContent.atlas-county-broadcast .cbx-layout{grid-template-rows:52px 80px minmax(0,1fr)28px;gap:6px}.cbx-header>img{height:44px}.cbx-county-mark{height:68px}.cbx-centre{grid-template-rows:minmax(0,1fr)128px;gap:6px}.cbx-right{grid-template-rows:minmax(0,1.25fr)minmax(0,.75fr)128px;gap:6px}.cbx-left{gap:6px}.cbx-progress-donut{margin:3px 0 8px;gap:8px}.cbx-progress-values{padding-top:8px;gap:5px}.cbx-progress-values>div{padding-right:4px}.cbx-candidate-list>article{padding:3px 0;gap:7px;grid-template-columns:35px minmax(0,1fr)}#main #countyProfileContent.atlas-county-broadcast .cbx-candidate-list .candidate-portrait{width:35px!important;height:42px!important;min-width:35px!important;flex-basis:35px!important}.cbx-candidate-name{margin-bottom:5px}.cbx-map-tabs{gap:3px;padding:4px}#main #countyProfileContent.atlas-county-broadcast .cbx-map-tabs button{min-height:26px!important;font-size:9px!important}.cbx-map-legends{top:7px;right:7px;gap:7px;width:130px}.cbx-map-legends>section{gap:5px;padding:7px;font-size:9px}.cbx-map-legends i{width:10px;height:10px}#main #countyProfileContent.atlas-county-broadcast .cbx-panel{padding:6px 8px!important}#main #countyProfileContent.atlas-county-broadcast .cbx-panel>h3{font-size:11px!important;margin-bottom:5px;padding-bottom:4px}#main #countyProfileContent.atlas-county-broadcast .cbx-panel :is(th,td){font-size:10px!important;padding:3px!important}#main #countyProfileContent.atlas-county-broadcast .cbx-panel th button{font-size:10px!important}#main #countyProfileContent.atlas-county-broadcast .cbx-map-rankings :is(th,td){font-size:9px!important;padding:2px!important}#main #countyProfileContent.atlas-county-broadcast .cbx-map-rankings th button{font-size:9px!important;min-height:14px!important}.cbx-outlook-badge{padding:6px 8px}#main #countyProfileContent.atlas-county-broadcast .cbx-outlook p{font-size:11px!important;line-height:1.3}.cbx-history>small{margin-top:4px}#main #countyProfileContent.atlas-county-broadcast .cbx-progress-donut strong{font-size:12px!important}#main #countyProfileContent.atlas-county-broadcast .cbx-progress-values b{font-size:16px!important}#main #countyProfileContent.atlas-county-broadcast .cbx-turnout-value>b{font-size:29px!important}.cbx-turnout-value{margin:3px 0 5px}
}
@media(max-width:1100px){
 body[data-access=public] #countyView:has(.atlas-county-broadcast) .atlas-mobile-page-nav{margin:0!important}
 body[data-access=public] #main #countyView>#countyProfileContent.atlas-county-broadcast{height:var(--atlas-page-height)!important}
 #main #countyProfileContent.atlas-county-broadcast .cbx-layout{display:block!important;height:auto!important}
 .cbx-header{flex-wrap:wrap;height:auto;padding:8px}.cbx-header>img{width:135px;height:38px}.cbx-breadcrumb{flex:1;font-size:11px;min-width:100px}.cbx-primary-nav{order:3;flex:1 1 100%;justify-content:space-between}.cbx-search{order:4;flex:1 1 100%;max-width:none}.cbx-clock{margin-left:auto}.cbx-clock>span{font-size:10px!important}.cbx-summary{display:block;margin:10px 0;padding:10px;break-inside:auto}.cbx-county-mark,.cbx-postcard{display:none}.cbx-summary-name{min-width:0;margin-bottom:12px}#main #countyProfileContent.atlas-county-broadcast .cbx-summary-name h1{font-size:24px!important}.cbx-summary dl{grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.cbx-summary dl>div{break-inside:avoid}.cbx-main,.cbx-left,.cbx-centre,.cbx-right,.cbx-map-rankings,.cbx-turnout-ranks{display:block}.cbx-panel,.cbx-map-card{margin:0 0 10px;break-inside:avoid}.cbx-map-card{height:min(470px,calc(var(--atlas-page-height) - 15px));min-height:220px;display:flex}.cbx-map-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.cbx-map-legends{width:118px;font-size:9px}.cbx-map-legends section{padding:6px;gap:5px}.cbx-map-legends strong{font-size:10px!important}.cbx-map-legends i{width:9px;height:9px}.cbx-map-legends [data-cbx-bands]{display:none}.cbx-map-scope{left:5px;bottom:15px;padding:5px}#main #countyProfileContent.atlas-county-broadcast .cbx-map-scope select{width:125px;font-size:10px!important}.cbx-map-scope{font-size:9px}.cbx-scale{right:7px}.cbx-candidates{height:330px}.cbx-candidate-list{min-height:220px}.cbx-candidate-name{grid-template-columns:minmax(0,1fr)60px 47px;gap:5px}#main #countyProfileContent.atlas-county-broadcast .cbx-candidate-name strong{font-size:12px!important}#main #countyProfileContent.atlas-county-broadcast .cbx-candidate-name em{font-size:16px!important}.cbx-ticker{display:none}.cbx-history,.cbx-constituencies{break-inside:auto}.cbx-dialog{width:calc(100vw - 16px);padding:12px;max-height:calc(100dvh - 16px)}#main #countyProfileContent.atlas-county-broadcast .cbx-dialog h2{font-size:18px!important}.cbx-dialog .cbx-candidate-list{min-height:220px}.cbx-hover{width:240px;font-size:11px}.cbx-hover>div{padding:5px 0}.cbx-hover>p{margin-bottom:5px!important}
}
@media(max-width:1100px) and (max-height:500px){
 .cbx-map-card{min-height:140px}
 .cbx-hover{padding:7px;width:240px}
 #main #countyProfileContent.atlas-county-broadcast .cbx-hover h4{font-size:15px!important;margin:3px 0}
 #main #countyProfileContent.atlas-county-broadcast .cbx-hover>p{font-size:9px!important;line-height:1.2;margin-bottom:4px!important}
 .cbx-hover>div{padding:3px 0;font-size:11px}
 .cbx-hover>div>small{display:none}
}
@media(max-width:1100px){
 #main #countyProfileContent.atlas-county-broadcast .cbx-dialog table{display:table!important;table-layout:fixed!important;width:100%!important;min-width:0!important}
 #main #countyProfileContent.atlas-county-broadcast .cbx-dialog thead{display:table-header-group!important;position:static!important;clip-path:none!important;width:auto!important;height:auto!important;overflow:visible!important}
 #main #countyProfileContent.atlas-county-broadcast .cbx-dialog tbody{display:table-row-group!important}
 #main #countyProfileContent.atlas-county-broadcast .cbx-dialog tr{display:table-row!important;padding:0!important;border:0!important}
 #main #countyProfileContent.atlas-county-broadcast .cbx-dialog :is(th,td){display:table-cell!important;padding:6px 3px!important;font-size:10px!important;white-space:normal!important}
 #main #countyProfileContent.atlas-county-broadcast .cbx-dialog td[data-mobile-label]::before{content:none!important}
}
@media(min-width:1101px) and (max-height:850px){
 #main #countyProfileContent.atlas-county-broadcast .cbx-layout{grid-template-rows:52px 94px minmax(0,1fr)28px}
 .cbx-centre{grid-template-rows:minmax(0,1fr)150px}
 .cbx-right{grid-template-rows:minmax(0,1.25fr)minmax(0,.75fr)150px}
}
#main #countyProfileContent.atlas-county-broadcast .cbx-battles table{table-layout:fixed}
#main #countyProfileContent.atlas-county-broadcast .cbx-battles th:first-child{width:40%}
#main #countyProfileContent.atlas-county-broadcast .cbx-battles th button{display:block;width:100%;overflow:hidden;text-overflow:ellipsis}
@media(max-width:1100px) and (max-height:650px){
 .cbx-hover{padding:9px}
 .cbx-hover>div{padding:3px 0;gap:1px 6px}
 #main #countyProfileContent.atlas-county-broadcast .cbx-hover>div>small{font-size:10px!important;line-height:1.2}
 #main #countyProfileContent.atlas-county-broadcast .cbx-hover h4{margin:4px 0}
}
@media(max-width:1100px){
 #main #countyProfileContent.atlas-county-broadcast .cbx-header{display:grid!important;grid-template-columns:minmax(0,1fr)32px 32px;grid-template-areas:'logo settings full' 'crumb crumb crumb' 'clock clock clock' 'nav nav nav' 'search search search';gap:8px;break-inside:avoid;width:100%;padding:8px}
 .cbx-header>img{grid-area:logo}
 .cbx-header>[data-cbx-open=settings]{grid-area:settings}
 .cbx-header>[data-cbx-fullscreen]{grid-area:full}
 .cbx-header>.cbx-breadcrumb{grid-area:crumb;width:100%;padding-left:8px;min-width:0;gap:8px}
 .cbx-header>.cbx-breadcrumb strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .cbx-header>.cbx-clock{grid-area:clock;margin:0;width:100%;padding-left:8px;grid-template-columns:auto 1fr}
 .cbx-header>.cbx-primary-nav{grid-area:nav;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;width:100%;min-width:0}
 #main #countyProfileContent.atlas-county-broadcast .cbx-primary-nav button{font-size:10px!important;padding:5px 2px!important}
 .cbx-header>.cbx-search{grid-area:search;width:100%;max-width:none;min-width:0}
}
@media(min-width:600px) and (max-width:1100px) and (max-height:500px){
 body[data-access=public] #countyView:has(.atlas-county-broadcast) .atlas-mobile-page-nav{grid-template-columns:minmax(0,1fr) 64px 60px 64px;gap:6px}
 body[data-access=public] #countyView:has(.atlas-county-broadcast) .atlas-mobile-page-nav>label{grid-column:auto!important;min-height:0;margin:0;padding:0}
 body[data-access=public] #countyView:has(.atlas-county-broadcast) .atlas-mobile-page-nav select{height:34px!important;min-height:34px!important;margin:0!important}
 .cbx-map-tabs{grid-template-columns:repeat(6,minmax(0,1fr))}
}


/* Fit four real candidate trends within a laptop map preview. */
#main #countyProfileContent.atlas-county-broadcast .cbx-hover{padding:9px 10px}
#main #countyProfileContent.atlas-county-broadcast .cbx-hover h4{font-size:17px!important;margin:4px 0}
#main #countyProfileContent.atlas-county-broadcast .cbx-hover>p{margin:4px 0 6px;font-size:9px!important}
.cbx-hover>div{padding:5px 0;gap:2px 5px;line-height:1.25}
.cbx-hover-movement{grid-column:2/-1;display:flex;align-items:center;gap:6px;min-width:0}
#main #countyProfileContent.atlas-county-broadcast .cbx-hover-movement>small{font-size:9px!important;line-height:1.2!important;color:#d0e6ef;white-space:nowrap;flex:none}
.cbx-hover-movement .cbx-candidate-trend{flex:1;min-width:0;gap:4px;justify-content:flex-end}
.cbx-hover-movement .cbx-candidate-trend svg{width:70px;max-width:90px;height:22px;min-width:35px}
#main #countyProfileContent.atlas-county-broadcast .cbx-hover-movement .cbx-candidate-trend span{font-size:9px!important;white-space:nowrap;line-height:1.2!important}

/* The same page menu stays reachable above every phone reading page. */
.atlas-mobile-page-nav>.cbx-page-menu{grid-column:1/-1;text-align:left;justify-self:stretch;margin:0;z-index:80}
.atlas-mobile-page-nav>.cbx-page-menu>summary{display:block;list-style:none;padding:8px 10px;border:1px solid #6c9eb2;background:#123b50;color:#f0faff;font-size:13px;cursor:pointer}
.atlas-mobile-page-nav>.cbx-page-menu>nav{top:calc(100% + 5px);bottom:auto;right:0;width:100%;max-width:none;box-sizing:border-box}
.atlas-mobile-page-nav>.cbx-page-menu a{display:block;color:#effaff;font-size:12px!important;padding:9px 7px;text-decoration:none;border:1px solid #46768a;line-height:1.25}

/* The public profile shares the reference composition with reader-sized text. */
@media(min-width:1101px) and (min-height:851px){
 #main #countyProfileContent.cbx-public .cbx-panel>h3{font-size:14px!important}
 #main #countyProfileContent.cbx-public .cbx-panel p{font-size:13px!important}
 #main #countyProfileContent.cbx-public .cbx-panel small{font-size:10px!important}
 #main #countyProfileContent.cbx-public .cbx-panel :is(th,td){font-size:12px!important;padding:5px 4px!important}
 #main #countyProfileContent.cbx-public .cbx-panel th button{font-size:12px!important}
 #main #countyProfileContent.cbx-public .cbx-centre{grid-template-rows:minmax(0,1fr)160px}
 #main #countyProfileContent.cbx-public .cbx-right{grid-template-rows:minmax(0,1.22fr)minmax(0,.78fr)160px}
 #main #countyProfileContent.cbx-public .cbx-candidate-name{grid-template-columns:minmax(0,1fr)85px 72px}
 #main #countyProfileContent.cbx-public .cbx-candidate-name strong{font-size:16px!important}
 #main #countyProfileContent.cbx-public .cbx-candidate-name b{font-size:15px!important}
 #main #countyProfileContent.cbx-public .cbx-candidate-name em{font-size:22px!important}
 #main #countyProfileContent.cbx-public .cbx-map-rankings .cbx-panel>h3{font-size:12px!important}
 #main #countyProfileContent.cbx-public .cbx-map-rankings :is(th,td){font-size:11px!important;padding:2px!important}
 #main #countyProfileContent.cbx-public .cbx-map-rankings th button{font-size:11px!important;min-height:14px!important}
}

@media(min-width:1101px){
 #main #countyProfileContent.cbx-public :is(.cbx-top-odinga,.cbx-top-ruto) table{table-layout:fixed}
 #main #countyProfileContent.cbx-public :is(.cbx-top-odinga,.cbx-top-ruto) :is(th,td):first-child{width:8%}
 #main #countyProfileContent.cbx-public :is(.cbx-top-odinga,.cbx-top-ruto) :is(th,td):nth-child(2){width:45%}
 #main #countyProfileContent.cbx-public :is(.cbx-top-odinga,.cbx-top-ruto) th button{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis}
 #main #countyProfileContent.cbx-public .cbx-rank-value{display:table-cell;text-align:right}
 #main #countyProfileContent.cbx-public .cbx-rank-value .cbx-track{display:inline-block;vertical-align:middle;width:42%;margin-right:4px}
}
@media(min-width:1101px) and (max-height:850px){
 #main #countyProfileContent.cbx-public :is(.cbx-progress,.cbx-turnout,.cbx-outlook)>h3{padding-bottom:2px;margin-bottom:3px}
 #main #countyProfileContent.cbx-public .cbx-progress-values{padding-top:5px}
 #main #countyProfileContent.cbx-public .cbx-progress-values small{font-size:8px!important;line-height:1.2!important}
 #main #countyProfileContent.cbx-public .cbx-progress-donut{margin-bottom:5px}
 #main #countyProfileContent.cbx-public .cbx-turnout>.cbx-track{height:6px}
 #main #countyProfileContent.cbx-public .cbx-turnout-value{margin-bottom:3px}
 #main #countyProfileContent.cbx-public .cbx-outlook-badge{padding:4px 6px}
 #main #countyProfileContent.cbx-public .cbx-outlook p{margin:4px 0}
 #main #countyProfileContent.cbx-public .cbx-outlook small{font-size:8px!important;line-height:1.2!important}
}
