/* Trust and readability adjustments requested in the studio review. */
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-wall-title>span{font-size:13px;line-height:1.25;letter-spacing:.8px;color:#d5ebf3}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-wall-title>strong{font-size:24px}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-stat-control{display:inline-flex;align-self:flex-start;min-height:0!important;height:auto!important;padding:0!important;margin:0!important;border:0!important;background:none!important;color:#d2e8f0!important;font-size:11px!important;line-height:1.3!important;cursor:pointer}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-wall-race>header h2{font-size:17px!important}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall [data-ref-area-label]{font-size:14px!important;max-width:48%;width:145px}
#mapView.atlas-reference-wall .ref-wall-race[data-tally-scope^="county"]>header{border-bottom:2px solid #72dcd0}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-wall-analysis{display:grid!important;grid-template-rows:minmax(0,2fr) minmax(174px,1fr)!important;gap:10px;min-height:0}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-wall-analysis>.ref-box{height:auto!important;min-height:0!important;overflow:hidden}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-wall-analysis>[data-ref-outcomes]{display:none!important}
#mapView.atlas-reference-wall.ref-national-lower .ref-wall-bottom{grid-template-columns:1fr 1fr 2fr!important}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-forecast-status{font-size:10px!important;line-height:1.2!important;margin:3px 0 6px!important;color:#84e3d5!important}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-forecast-status.ref-stale{color:#ffd36a!important;font-weight:700}
#mapView.atlas-reference-wall .ref-forecast-table{width:100%;table-layout:fixed;border-collapse:collapse}
#mapView.atlas-reference-wall .ref-forecast-table th:first-child{width:41%}
#mapView.atlas-reference-wall .ref-forecast-table th:nth-child(2){width:29%}
#mapView.atlas-reference-wall .ref-forecast-table th:nth-child(3){width:30%}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-forecast-table th{font-size:11px!important;line-height:1.15!important;padding:3px 2px!important}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-forecast-table td{font-size:13px!important;line-height:1.25!important;padding:6px 2px!important;white-space:nowrap;letter-spacing:-.1px}
#mapView.atlas-reference-wall .ref-forecast-table td>i{width:7px;height:7px;margin-right:3px}
#mapView.atlas-reference-wall .ref-forecast-prob{display:grid;grid-template-columns:minmax(16px,1fr) 39px;align-items:center;gap:4px}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-forecast-prob>b{font-size:13px!important;text-align:right}
#mapView.atlas-reference-wall .ref-forecast-runoff{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:5px 0;border-bottom:1px solid #245368}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-forecast-runoff :is(span,b){font-size:13px!important;line-height:1.25!important}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-forecast-why{font-size:12px!important;line-height:1.3!important;margin:6px 0!important;color:#e4f0f6!important}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-forecast-source{font-size:10px!important;line-height:1.3!important;margin:5px 0!important}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall [data-ref-projection]>[data-ref-projection-popup]{font-size:12px!important;min-height:18px!important;padding:0!important;margin:4px 0 0 auto!important}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-arithmetic-note{font-size:12px!important;line-height:1.3!important;margin:7px 0!important}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-lead-values{margin:8px 0!important}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-lead-values strong{font-size:28px!important}
#mapView.atlas-reference-wall .ref-intelligence-control{position:relative;flex:none;z-index:32}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-intelligence-control>summary{cursor:pointer;list-style:none;font-size:12px!important;color:#a2ece2;padding:3px 7px;border:1px solid #3c7c87;border-radius:3px;white-space:nowrap}
#mapView.atlas-reference-wall .ref-intelligence-control.ref-intel-active>summary{background:#0d5a64;color:white}
#mapView.atlas-reference-wall .ref-intelligence-control>div{position:absolute;top:calc(100% + 5px);left:0;width:255px;padding:12px;background:#082e42;border:1px solid #548a9e;box-shadow:0 8px 25px #00101ccc;display:grid;gap:10px}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-intelligence-control label{display:grid;gap:5px;font-size:13px!important;color:#e5f2fa}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-intelligence-control select{width:100%;min-height:34px!important;font-size:14px!important;color:#eff8ff;background:#17445b;border:1px solid #48798e;padding:5px!important}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-intelligence-control button{white-space:normal!important;text-align:left;font-size:12px!important}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall [data-ref-snapshot]{min-width:0;font-size:11px!important;line-height:1.2!important;color:#c5e5ec;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-wall-bottom [data-ref-outcomes]>p{font-size:14px!important;line-height:1.3!important;margin:5px 0!important}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-wall-bottom [data-ref-outcomes]>.ref-spotlight-kind{font-size:11px!important;color:#83e6d6!important;margin:3px 0!important}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-wall-bottom [data-ref-outcomes]>strong{font-size:16px!important;line-height:1.2!important}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall [data-ref-watch] th{font-size:12px!important;padding:5px 3px!important}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall [data-ref-watch] td{font-size:12px!important;padding:6px 3px!important}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall [data-ref-watch] td>button{font-size:13px!important;line-height:1.2!important}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-county-records-header>h3{font-size:12px!important}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall [data-ref-movers] :is(th,td){font-size:12px!important}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall [data-ref-movers] td button{font-size:13px!important}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall [data-ref-movers] td small{font-size:10px!important}
#mapView.atlas-reference-wall .ref-forecast-more{display:none}
@media(min-width:801px) and (max-width:1499px), (min-width:801px) and (max-height:849px){
 body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-forecast-table tbody tr:nth-child(n+3),body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall [data-ref-projection]>.ref-forecast-why{display:none}
 body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall [data-ref-projection]>.ref-forecast-more{display:block;min-height:18px!important;font-size:11px!important;padding:0!important;margin:3px 0 0!important;background:none!important;border:0!important;color:#7be8eb!important}
 body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-forecast-table td{font-size:11px!important;padding:3px 1px!important}
 body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-forecast-source{font-size:9px!important}
}
@media(max-width:800px){#mapView.atlas-reference-wall .ref-intelligence-control>div{left:auto;right:0}#mapView.atlas-reference-wall [data-ref-snapshot]{display:none}}

#mapView.atlas-reference-wall.ref-national-scene .map-wall-periods{display:none}
#mapView.atlas-reference-wall .ref-development-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;min-width:0}
#mapView.atlas-reference-wall .ref-development-grid>section{min-width:0}
#mapView.atlas-reference-wall .ref-county-path{border-left:1px solid #245368;padding-left:8px}
#mapView.atlas-reference-wall .ref-county-path>header{display:flex;align-items:center;justify-content:space-between;gap:3px;min-height:18px}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-development-grid h4{font-size:12px!important;line-height:1.2!important;color:#e8f6fc;margin:0 0 3px!important}
#mapView.atlas-reference-wall .ref-county-path h4>i{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:4px}
#mapView.atlas-reference-wall .ref-county-path nav{display:flex;align-items:center;gap:2px;flex:none}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-county-path nav :is(button,span){font-size:10px!important;line-height:1!important}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-county-path nav button{min-height:16px!important;height:16px!important;width:16px!important;padding:0!important;border:1px solid #39788f!important;background:#153f53!important;color:#e0f5ff!important}
#mapView.atlas-reference-wall .ref-county-path nav button:disabled{opacity:.3}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-county-path .ref-path-state{font-size:10px!important;line-height:1.2!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:2px 0!important}
#mapView.atlas-reference-wall .ref-county-path table{width:100%;table-layout:fixed}
#mapView.atlas-reference-wall .ref-county-path th:first-child{width:42%}
#mapView.atlas-reference-wall .ref-county-path th:nth-child(2){width:28%}
#mapView.atlas-reference-wall .ref-county-path th:nth-child(3){width:30%}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-wall-bottom .ref-county-path :is(th,td){white-space:nowrap;padding:1px 2px!important}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-wall-bottom .ref-county-path th{font-size:10px!important;line-height:1.2!important}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-county-path td>button{display:block;max-width:100%;min-height:0!important;height:auto!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px!important;line-height:1.2!important;padding:0!important;border:0!important;background:none!important;color:#e1f3fb!important;text-align:left}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-county-path>small{display:block;font-size:9px!important;line-height:1.1!important;margin:3px 0 0!important}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall [data-ref-path-method]{min-height:16px!important;height:16px!important;padding:0!important;margin-left:auto;border:0!important;background:none!important;color:#8ee8e4!important;font-size:14px!important}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-update-list .ref-panel-link{margin-top:5px!important}
@media(max-width:1499px),(max-height:849px){#mapView.atlas-reference-wall:not(.ref-national-lower) .ref-development-grid{display:block}#mapView.atlas-reference-wall:not(.ref-national-lower) .ref-county-path{display:none}}

body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-strategy-edit{min-height:18px!important;height:18px!important;width:20px!important;padding:0!important;background:none!important;border:0!important;color:#a8e9e5!important;font-size:15px!important;line-height:1!important}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-path-solved td{font-weight:700;color:#8eeddd!important}
#mapView.atlas-reference-wall .ref-strategy-dialog form{display:grid;gap:12px}
#mapView.atlas-reference-wall .ref-strategy-dialog label{display:grid;gap:5px;font-size:14px}
#mapView.atlas-reference-wall .ref-strategy-dialog :is(select,input){font-size:15px;padding:8px;color:#edf7ff;background:#153f53;border:1px solid #548a9e}
#mapView.atlas-reference-wall .ref-strategy-dialog input:disabled{opacity:.55}
#mapView.atlas-reference-wall .ref-strategy-dialog button[type=submit]{background:#06caae;color:#042332;border:0;padding:10px;font-weight:700}

body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-wall-analysis>.ref-box>h3{padding:6px 10px!important;line-height:1.2!important}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-wall-analysis>.ref-box>h3>i{font-size:15px!important;line-height:1!important}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall [data-ref-lead] .ref-lead-values strong{margin:3px 0!important;line-height:1.15!important}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-county-path .ref-path-state{line-height:1.1!important}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-wall-bottom .ref-county-path td{line-height:1.15!important;padding:0 2px!important}
#mapView.atlas-reference-wall .ref-strategy-edit:disabled{opacity:.35}

#mapView.atlas-reference-wall .ref-paths-overview-control{display:none}
#mapView.atlas-reference-wall .ref-strategy-overview{display:grid;grid-template-columns:1fr 1fr;gap:18px}
#mapView.atlas-reference-wall .ref-evidence-dialog .ref-county-path{display:block!important}
@media(max-width:1499px),(max-height:849px){#mapView.atlas-reference-wall .ref-paths-overview-control{display:block}}
@media(max-width:800px){#mapView.atlas-reference-wall .ref-strategy-overview{grid-template-columns:1fr}}

#mapView.atlas-reference-wall #mapFrame{position:relative}
#mapView.atlas-reference-wall .ref-map-preview{position:absolute;z-index:450;top:80px;left:calc(100% + 10px);width:clamp(210px,20vw,270px);padding:10px;background:#244f6b;border:1px solid #84c9df;border-radius:3px;color:#fff;box-shadow:0 4px 18px #00152199}
#mapView.atlas-reference-wall .ref-map-preview[hidden]{display:none!important}
#mapView.atlas-reference-wall .ref-map-preview header{display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid #396175;padding-bottom:6px}
#mapView.atlas-reference-wall .ref-map-preview header strong{display:block;font-size:18px;line-height:1.2}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-map-preview header small{font-size:11px!important;text-transform:capitalize}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-map-preview header button{min-height:24px!important;height:24px!important;width:24px;padding:0!important;font-size:16px!important}
#mapView.atlas-reference-wall .ref-map-preview-metrics{display:flex;justify-content:space-between;gap:12px;padding:6px 0;border-bottom:1px solid #396175;font-size:11px}
#mapView.atlas-reference-wall .ref-map-preview-metrics b{display:block;font-size:15px}
#mapView.atlas-reference-wall .ref-map-preview ul{list-style:none;margin:0;padding:0}
#mapView.atlas-reference-wall .ref-map-preview li{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:6px;font-size:13px;line-height:1.15}
#mapView.atlas-reference-wall .ref-map-preview li i{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:4px}
#mapView.atlas-reference-wall .ref-map-preview li>b{text-align:right;font-size:15px}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-map-preview li small{display:block;font-size:10px!important;font-weight:400;margin-top:1px}

@media(max-width:800px){#mapView.atlas-reference-wall .ref-map-preview{left:auto;right:10px;width:min(270px,calc(100% - 20px))}}
#mapView.atlas-reference-wall .ref-map-swing{border-top:1px solid #84a8be;margin-top:8px;padding-top:5px}
#mapView.atlas-reference-wall .ref-map-swing p{display:flex;justify-content:space-between;margin:4px 0 0;font-size:13px}
#mapView.atlas-reference-wall .ref-map-preview li>div{min-width:0;flex:1}
#mapView.atlas-reference-wall .ref-hover-trend{width:125px;max-width:100%;height:31px;display:flex;align-items:center;gap:5px}
#mapView.atlas-reference-wall .ref-hover-trend svg{width:80px;height:26px;flex:none}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-hover-trend :is(b,small){font-size:9px!important;line-height:1.15!important}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-hover-pending{font-size:11px!important;line-height:1.2!important;margin:7px 0 0;color:#e4f4fc}
#mapView.atlas-reference-wall .ref-map-preview-compact{left:auto;right:10px;width:220px}
#mapView.atlas-reference-wall .ref-hover-trend[hidden]{display:none!important}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-hover-pin{font-size:11px!important;min-height:22px!important;padding:3px 5px!important;margin-top:7px}
#mapView.atlas-reference-wall [data-ref-unpin-spotlight]{margin-left:auto;padding:0 4px;background:none;border:0;color:#9be9e4}
.dd-dialog{width:min(1100px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 24px);padding:16px;background:#082e42;color:#e9f5fb;box-sizing:border-box}
.dd-dialog>nav{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0}
body[data-atlas-theme=broadcast] #mapView .dd-dialog>nav button{font-size:13px!important;line-height:1.2!important;min-height:32px!important;padding:6px 10px!important;border:1px solid #458398;background:#173e53;color:#dbf1fa}
#mapView .dd-dialog>nav button[aria-pressed=true]{background:#087f8a;color:#fff}
#mapView .dd-dialog>.dd-content{max-height:calc(100dvh - 190px);overflow:auto;min-height:180px;min-width:0;padding-right:5px}
body[data-atlas-theme=broadcast] #mapView .dd-dialog .dd-content :is(p,li,td,th,label){font-size:14px!important;line-height:1.5!important}
body[data-atlas-theme=broadcast] #mapView .dd-dialog .dd-assessment{font-size:21px!important;line-height:1.6!important;color:#f2ffff}
#mapView .dd-dialog .dd-source{font-size:11px!important;overflow-wrap:anywhere;color:#a5cedc;border-top:1px solid #386174;padding-top:10px}
#mapView .dd-dialog :is(select,button){background:#204a60;color:#e7f9ff;border:1px solid #6694a6;padding:7px;font-size:14px}
#mapView .dd-dialog table{width:100%;border-collapse:collapse}
#mapView .dd-dialog :is(td,th){padding:8px;text-align:left;border-bottom:1px solid #356174}
#mapView .dd-dialog .dd-confidence{padding:14px;background:#3c432d;border:1px solid #a4a56c;margin-bottom:12px}
#mapView .dd-dialog .dd-confidence>strong{font-size:21px;color:#f9e7a2}
#mapView .dd-rankings article{display:grid;grid-template-columns:160px minmax(40px,1fr) 80px;gap:10px;align-items:center;padding:12px 0;border-bottom:1px solid #356174}
#mapView .dd-rankings small{grid-column:1/-1;font-size:12px}
#mapView .dd-rankings meter{width:100%;height:20px}
#mapView .dd-threshold-summary{display:flex;flex-wrap:wrap;gap:16px;margin:16px 0;color:#8be2d8}
#mapView .dd-county-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(115px,1fr));gap:6px}
#mapView .dd-tile{display:grid;gap:5px;padding:9px;border:1px solid #4c7485;border-radius:3px;background:#264451;font-size:12px}
#mapView .dd-tile b{font-size:17px}
#mapView .dd-above{background:#155d5c;border-color:#7bcdc4}
#mapView .dd-below{background:#5c4147;border-color:#af8b92}
#mapView .dd-unknown{background:#354751;color:#afc1cb}
#mapView .dd-strategic-map{position:relative;width:100%;height:min(50dvh,440px);min-height:240px;border:1px solid #458398;margin-top:10px}
#mapView .dd-map-key{padding:6px 0;font-size:12px;color:#b9d5df}
[data-broadcast-decision-desk]{border-top:1px solid #3b6376;padding-top:8px;margin-top:8px}
[data-broadcast-decision-desk][hidden]{display:none}
[data-broadcast-decision-desk] button{width:100%;text-align:left;margin-top:4px}
@media(max-width:600px){#mapView .dd-rankings article{grid-template-columns:100px minmax(40px,1fr) 60px}.dd-dialog{padding:10px}#mapView .dd-dialog>.dd-content{max-height:calc(100dvh - 240px)}}

/* County previews must remain readable against the solid popup background. */
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-map-preview :is(p,small,span,b,strong){color:#f0f8ff!important}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-map-preview header small{font-size:11px!important;color:#cfe8f5!important;line-height:1.3!important}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-map-preview header strong{font-size:20px!important}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-map-preview li>div>span{font-size:14px!important;font-weight:650;line-height:1.3!important}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-map-preview li>b{font-size:18px!important}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-map-preview li>b>small{font-size:12px!important;font-weight:600;color:#deeffa!important;line-height:1.3!important}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-map-preview .ref-hover-trend b{font-size:11px!important;font-weight:700;white-space:nowrap;line-height:1.2!important}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-map-preview .ref-hover-trend .ref-up{color:#72ffe2!important}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-map-preview .ref-hover-trend .ref-down{color:#ffc1c8!important}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-map-preview .ref-hover-trend small{font-size:11px!important;color:#dceff8!important}
#mapView.atlas-reference-wall .ref-hover-trend{width:155px}
#mapView.atlas-reference-wall .ref-hover-trend svg{width:85px;filter:brightness(1.18)}
#mapView.atlas-reference-wall .ref-map-preview li{padding-top:8px}

body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-evidence-dialog{box-sizing:border-box;width:min(960px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 24px);background:#10384b;color:#edf7ff;padding:16px}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-evidence-dialog :is(table,thead,tbody,tr,th,td){background:transparent!important;color:#e7f3fc!important}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-evidence-dialog table{width:100%!important;min-width:0!important;max-width:100%!important;table-layout:fixed!important;border-collapse:collapse!important}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-evidence-dialog :is(th,td){font-size:14px!important;line-height:1.3!important;padding:7px 8px!important;white-space:normal!important;overflow-wrap:anywhere;border-bottom:1px solid #508095!important}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-evidence-dialog thead th{background:#235168!important;color:#fff!important;font-weight:700}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-path-evidence :is(p,small){color:#e0eff8!important;line-height:1.35!important;font-size:13px!important}
#mapView.atlas-reference-wall .ref-path-evidence table th:first-child{width:23%}
#mapView.atlas-reference-wall .ref-path-evidence table th:nth-child(2){width:25%}
#mapView.atlas-reference-wall .ref-path-evidence table th:nth-child(n+3){width:17.33%}
#mapView.atlas-reference-wall .ref-path-evidence-source{margin:5px 0 10px!important}
#mapView.atlas-reference-wall .ref-evidence-pages{display:flex;justify-content:flex-end;gap:12px;align-items:center;margin:10px 0}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-evidence-pages button{min-height:28px!important;padding:4px 10px!important;font-size:13px!important;background:#25576d!important;color:#eaf8ff!important;border:1px solid #8ab3c5!important}
#mapView.atlas-reference-wall .ref-evidence-pages button:disabled{opacity:.35}
@media(max-width:600px){body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-path-evidence :is(th,td){font-size:11px!important;padding:5px 3px!important}}
#mapView.atlas-reference-wall .dd-dialog>.dd-content{max-height:calc(100dvh - 190px)!important}
#mapView.atlas-reference-wall .dd-strategic-map{height:clamp(180px,calc(100dvh - 600px),360px);min-height:180px}
#mapView.atlas-reference-wall .ref-evidence-dialog>div:has(>.ref-path-evidence){overflow:visible;max-height:none}
@media(min-width:801px) and (max-width:1499px),(min-width:801px) and (max-height:849px){
 body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-wall-stats article{padding:6px 10px!important;gap:2px!important}
 body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-wall-stats article>span{font-size:10px!important;line-height:1.15!important}
 body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-wall-stats article>strong{font-size:30px!important;line-height:1!important;margin:1px 0!important}
 body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-wall-stats article>small{font-size:9px!important;line-height:1.1!important;margin:0!important}
 body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-wall-stats blockquote{font-size:17px!important;line-height:1.1!important;padding:5px 10px!important}
 body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-wall-stats blockquote b{font-size:12px!important;line-height:1.1!important;margin-top:3px!important}
 body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-wall-race>header h2{font-size:13px!important;line-height:1.2!important}
 body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-person h3{margin:0!important;line-height:15px!important}
 body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-person{display:flex;flex-direction:column;align-items:flex-start;gap:0;line-height:1!important}
 body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-person .atlas-party-identity{height:14px!important;min-height:0!important;line-height:14px!important;margin:0!important;gap:3px!important;vertical-align:top}
 body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-person .atlas-party-identity :is(img,svg,.atlas-party-mark){height:13px!important;max-height:13px!important;width:13px!important;min-width:13px!important}
 body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-person>strong{font-size:26px!important;line-height:26px!important}
 body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-major .ref-person>strong{font-size:31px!important;line-height:31px!important}
 body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-votes{display:grid;gap:2px;align-content:center}
 body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-votes>b{font-size:13px!important;line-height:15px!important;margin:0!important}
 body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-votes>small{font-size:9px!important;line-height:11px!important;margin:0!important}
 body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-spark{display:flex;flex-direction:column;align-items:flex-end;gap:0;line-height:1!important;margin:0!important;padding:0!important;min-height:0!important;height:26px!important}
 body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-spark svg{height:16px!important}
 body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-spark>b{font-size:9px!important;line-height:10px!important;margin:0!important}
 #mapView.atlas-reference-wall .ref-vote-trend .ref-combined-trends{height:36px!important;margin:3px 0!important}
 body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-vote-trend [data-ref-trend]>small{font-size:8px!important;line-height:1.1!important;margin:1px 0!important}
 #mapView.atlas-reference-wall .ref-wall-intel [data-ref-movers]>small{display:none}
}
#mapView.atlas-reference-wall .ref-watch-header{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-bottom:3px;min-width:0}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-watch-header h3{font-size:12px!important;line-height:1.2!important;padding:0!important;margin:0!important}
#mapView.atlas-reference-wall .ref-watch-header nav{display:flex;align-items:center;gap:3px;flex:none}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-watch-header nav :is(button,span){font-size:10px!important;line-height:1!important;white-space:nowrap}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-watch-header nav button{min-height:18px!important;height:18px!important;width:18px;padding:0!important;background:#174359!important;color:#e8f8ff!important;border:1px solid #4a8298!important}
#mapView.atlas-reference-wall .ref-watch-header nav button:disabled{opacity:.35}

/* A narrow public card pages its contents instead of squeezing three columns. */
body[data-access=public][data-view=map] #main{padding:0!important}
body[data-access=public][data-view=map] #main #mapView.atlas-reference-wall :is(.election-map-section,.map-explorer-workspace,.ref-wall-stats){width:100%!important;min-width:0!important;max-width:100%!important}
#mapView.atlas-reference-wall .ref-development-pages[hidden]{display:none!important}
#mapView.atlas-reference-wall .ref-development-pages{display:flex;align-items:center;justify-content:space-between;gap:4px;margin:0 0 5px;min-width:0}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-development-pages :is(button,span){font-size:11px!important;line-height:1.2!important;white-space:nowrap;color:#e7f6fc!important}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-development-pages button{min-height:22px!important;height:22px!important;padding:2px 5px!important;background:#174359!important;border:1px solid #4a8298!important;flex:none}
#mapView.atlas-reference-wall .ref-development-pages button:disabled{opacity:.35}
#mapView.atlas-reference-wall .ref-development-pages span{min-width:0;overflow:hidden;text-overflow:ellipsis}
#mapView.atlas-reference-wall .ref-development-paged .ref-development-grid{display:block!important}
#mapView.atlas-reference-wall .ref-development-paged .ref-development-grid>section[hidden]{display:none!important}
#mapView.atlas-reference-wall .ref-development-paged .ref-development-grid>section:not([hidden]){display:block!important;width:100%;border-left:0;padding-left:0}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-development-paged>h3{font-size:12px!important;line-height:1.2!important;padding:6px 8px!important;margin-bottom:5px!important}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-development-paged .ref-county-path :is(th,td){font-size:12px!important;line-height:1.2!important;padding:1px 2px!important;white-space:nowrap}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-development-paged .ref-county-path td>button{font-size:12px!important;line-height:1.2!important}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-development-paged .ref-update-list li{font-size:12px!important;line-height:1.25!important;padding:1px 0!important;gap:5px}
body[data-atlas-theme=broadcast] #mapView.atlas-reference-wall .ref-development-paged .ref-update-list li>span{font-size:12px!important;line-height:1.25!important}
#mapView.atlas-reference-wall .ref-update-list li{display:flex;align-items:flex-start;gap:5px}
#mapView.atlas-reference-wall .ref-update-list li[hidden]{display:none!important}
#mapView.atlas-reference-wall .ref-update-list li>span{min-width:0;flex:1}
body[data-atlas-theme=broadcast] #main #mapView.atlas-reference-wall .ref-update-list .ref-update-origin{display:block;font-size:11px!important;line-height:1.25!important;color:#a4e9e6!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500;margin:0!important;padding:0!important}
#mapView.atlas-reference-wall .ref-update-evidence table{width:100%;table-layout:fixed}
#mapView.atlas-reference-wall .ref-update-evidence :is(th,td){color:#edf7fc!important;background:#0b3549!important;padding:9px 8px!important;font-size:14px!important;line-height:1.3!important;border-bottom:1px solid #386579;overflow-wrap:anywhere}
#mapView.atlas-reference-wall .ref-update-evidence th{background:#205269!important;text-align:left}
#mapView.atlas-reference-wall .ref-update-evidence :is(th,td):first-child{width:19%}
#mapView.atlas-reference-wall .ref-update-evidence :is(th,td):nth-child(2){width:49%}
#mapView.atlas-reference-wall .ref-update-evidence :is(th,td):nth-child(n+3){text-align:right;width:16%}
#mapView.atlas-reference-wall .ref-update-evidence td small{display:block;color:#b4d2de;font-size:11px;margin-top:3px}
#mapView.atlas-reference-wall .ref-update-evidence>p{font-size:13px;line-height:1.4;color:#cbe2ec}
@media(max-width:600px){#mapView.atlas-reference-wall .ref-update-evidence :is(th,td){font-size:12px!important;padding:7px 4px!important}}
@media(min-width:1101px) and (max-height:850px){
 body[data-atlas-theme=broadcast] #main #mapView.atlas-reference-wall .ref-wall-intel:has(>.ref-development-paged){grid-template-rows:minmax(0,1fr) minmax(0,1fr) 205px!important}
 body[data-atlas-theme=broadcast] #main #mapView.atlas-reference-wall .ref-wall-analysis{grid-template-rows:minmax(0,1fr) 220px!important}
}
@media(max-width:1100px){
 body[data-access=public] #main #mapView.atlas-reference-wall .ref-map-location{flex-wrap:wrap;align-items:center;gap:5px}
 body[data-access=public] #main #mapView.atlas-reference-wall .ref-map-location :is(#mapBreadcrumbs,.ref-intelligence-control,.ref-mobile-details){flex:0 0 auto}
 body[data-access=public] #main #mapView.atlas-reference-wall .ref-mobile-details{margin-left:0;white-space:nowrap}
}
