/* Map-first layout, shared by every visual theme. */
html body #dashboard{padding:0;max-width:none}
html body #dashboard .explorer{position:relative;display:grid;grid-template-columns:380px minmax(0,1fr);gap:0;height:calc(100dvh - var(--chrome-height,170px));min-height:460px;border:0;border-radius:0;overflow:hidden}
#map-sidebar{min-width:0;overflow-y:auto;overscroll-behavior:contain;background:#fff;box-shadow:3px 0 14px #0002;z-index:2}
html body #dashboard .map-panel{min-width:0;height:100%;min-height:0}
html body #dashboard #map{height:100%;min-height:0}
html body #dashboard .page-heading{display:block;padding:22px 22px 12px;border:0}
html body #dashboard .page-heading h1{font-size:27px;margin:8px 0;letter-spacing:-.7px}
html body #dashboard .page-heading p{font-size:12px}
html body #dashboard .page-heading .badge{display:inline-block;margin-top:12px}
html body #dashboard .filters{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:12px 22px 18px;margin:0;border-bottom:1px solid #dce2e8}
html body #dashboard .filters label{min-width:0;width:auto;font-size:11px}
html body #dashboard .filters input,html body #dashboard .filters select{min-width:0;width:100%;padding:11px 9px;font-size:12px}
html body #dashboard .filters button{font-size:12px;padding:11px}
html body #dashboard .stats{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:0;margin:0 22px;padding:14px 0;border-bottom:1px solid #dce2e8}
html body #dashboard .stats article,html body #dashboard .stats article:first-child{padding:0 10px;background:transparent;border:0;box-shadow:none;border-radius:0}
html body #dashboard .stats article:first-child{padding-left:0}
html body #dashboard .stats article>span{font-size:9px;letter-spacing:0;text-transform:none}
html body #dashboard .stats strong{font-size:25px;margin:5px 0;letter-spacing:0}
html body #dashboard .stats small{display:none}
html body #dashboard .locations{max-height:none;border:0;overflow:visible}
html body #dashboard #results{max-height:none;overflow:visible}
html body #dashboard .section-title{padding:16px 22px;background:transparent}
html body #dashboard .section-title h2{font-size:17px}
html body #dashboard .location{padding:18px 22px}
html body #dashboard #data-error{margin:8px 22px}
html body #dashboard #community{margin:14px;padding:12px;box-shadow:none}
html body #dashboard .atm-form{grid-template-columns:1fr}
html body #dashboard .atm-form fieldset{min-width:0}
.directory-details{padding:12px 22px;border-top:1px solid #dce2e8}
html body #dashboard .breakdown{display:block;padding:0}
html body #dashboard .breakdown h2{font-size:18px}
html body #dashboard footer{margin:0 22px;display:block;font-size:12px}
html body #dashboard footer span{display:block;margin-top:8px}
.sidebar-toggle{position:absolute;left:380px;top:14px;z-index:800;width:28px;height:48px;border:0;border-radius:0 8px 8px 0;background:#fff;color:#24354d;box-shadow:3px 1px 6px #0002;font-size:26px}
html body #dashboard .explorer.sidebar-collapsed{grid-template-columns:minmax(0,1fr)}
.sidebar-collapsed .sidebar-toggle{left:0}
/* Keep zoom buttons away from the sidebar handle. */
#dashboard .leaflet-top.leaflet-left{left:32px}
[data-theme=paper] #map-sidebar{background:#fffefb}
[data-theme=night] #map-sidebar{background:#15171b}
[data-theme=night] .sidebar-toggle{background:#25282e;color:#eee}
@media(max-width:850px) and (min-width:621px){html body #dashboard .explorer{grid-template-columns:320px minmax(0,1fr)}.sidebar-toggle{left:320px}}
@media(max-width:620px){
 html body #dashboard .explorer{display:flex;flex-direction:column;height:auto;min-height:0;overflow:visible}
 html body #dashboard .map-panel{order:0;height:42dvh;min-height:280px}
 #map-sidebar{order:1;width:100%;max-height:none;overflow:visible;box-shadow:none}
 .sidebar-toggle{display:none}
 html body #dashboard .explorer.sidebar-collapsed #map-sidebar{display:block!important}
 #dashboard .leaflet-top.leaflet-left{left:0}
}

#studio-footer{display:block;padding:20px 5%;text-align:center;font-size:12px}
