/* Cartographic home: persistent controls, open center, flowing editorial rail. */
.cockpit-home{--glass:rgba(17,35,37,.94);background:#14282b;color:#f3f3e6}
.cockpit-home .ticker{display:none}
.cockpit-home #situation-map{position:fixed;inset:0;width:100%;height:100dvh;z-index:0;background:#203b3c}
.cockpit-home>header{position:relative;z-index:1002;background:#f7efd9;padding:8px 24px;height:76px;max-width:none}
.cockpit-home header .brand img{height:60px;width:auto}
.cockpit-home>main{position:relative;z-index:1;display:grid;grid-template-columns:280px minmax(300px,1fr) 300px;gap:24px;padding:20px;max-width:none;background:none;pointer-events:none;overflow:visible;align-items:start}
.cockpit-home .tactical-filter{grid-column:1;position:sticky;top:16px;max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain;padding:18px;border:1px solid #758b85;border-radius:8px;background:var(--glass);pointer-events:auto}
.cockpit-home .home-right{grid-column:3;min-width:0;display:flex;flex-direction:column;gap:20px;pointer-events:none}
.home-right>*{pointer-events:auto}
.cockpit-home .atlas-intro,.cockpit-home .tactical-inspector,.cockpit-home .camera-section,.cockpit-home .operations-section,.cockpit-community{display:block;padding:20px;margin:0;background:var(--glass);border:1px solid #758b85;border-radius:8px;backdrop-filter:blur(8px)}
.cockpit-home .atlas-intro h1{font-size:32px;line-height:1.1;margin:10px 0}
.cockpit-home .atlas-intro p,.cockpit-home .tactical-inspector p,.cockpit-home small,.cockpit-home .panel-index,.cockpit-home .filter-note,.cockpit-home .map-caveat,.cockpit-home .atlas-downloads,.cockpit-home #map-data-state{font-size:14px;line-height:1.5;color:#e1e9df}
.cockpit-home p{text-align:left}
.cockpit-home h2{font-size:26px;line-height:1.2}
.cockpit-home .atlas-modes{display:flex;gap:5px;flex-wrap:wrap;min-width:0;margin:0 0 16px}
.cockpit-home .atlas-modes button{font-size:14px;padding:8px;min-height:44px}
.cockpit-controls>summary{font-size:17px;color:#f5d49b;font-weight:700;cursor:pointer;margin-bottom:16px}
.cockpit-home #layer-list{max-height:none;overflow:visible}
.cockpit-home #layer-list details{margin:12px 0}
.cockpit-home #layer-list label{font-size:14px;line-height:1.45;padding:6px 0}
.cockpit-home input,.cockpit-home select,.cockpit-home button{font-size:15px;min-height:44px}
.cockpit-home input[type=checkbox],.cockpit-home input[type=radio]{min-height:20px;width:20px;height:20px;flex-shrink:0;accent-color:#efc781}
.cockpit-home #layer-count{font-size:14px;margin:8px 0}
.cockpit-home .map-topline{display:block;padding:12px 0;background:none;border:0}
.cockpit-home .map-actions{display:block;padding:8px 0;background:none}
.cockpit-home .map-legend-wrap{padding:12px 0;background:none}
.cockpit-home .map-caveat{padding:0;background:none}
.cockpit-home .tactical-below{display:flex;flex-direction:column;padding:0;margin:0;gap:20px;background:none}
.destination-cards{position:static;display:grid;grid-template-columns:1fr;gap:12px;width:auto;padding:0;background:none}
.destination-card{position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:end;min-height:150px;gap:7px;padding:20px;border:1px solid #87988d;border-radius:8px;overflow:hidden;color:#fff;text-decoration:none;background:#203c3d}
.destination-card:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(transparent,#071b1cf5)}
.destination-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.destination-card strong{font-size:22px;color:#fff5dc}.destination-card span{font-size:15px;color:#f2f5ed}
.cockpit-community .social-grid,.cockpit-home .camera-list{display:grid;grid-template-columns:1fr;gap:12px}
.cockpit-community .social-grid img{width:100%;height:auto;max-height:280px;object-fit:cover}
.cockpit-home a{color:#f4d097}.cockpit-home header a{color:#332516}
.cockpit-home>footer{position:relative;z-index:1003;background:#12272a;color:#f0f2df;margin:30px 0 0;padding:32px;display:flex;flex-wrap:wrap;gap:16px;align-items:center}
.cockpit-home footer p{font-size:15px;flex-basis:100%;margin:0}
.cockpit-home #map-focus{position:fixed;bottom:48px;left:calc(50% - 70px);z-index:1001;background:#163235;color:#fff0ce;border:1px solid #eed19b;border-radius:6px;padding:10px 16px;cursor:pointer}
.cockpit-home .cockpit-map-controls{position:fixed;inset:0;z-index:1000;pointer-events:none}
.cockpit-home .cockpit-map-controls .leaflet-control{pointer-events:auto}
.cockpit-home .leaflet-bottom.leaflet-left{left:325px;bottom:42px}
.cockpit-home .leaflet-bottom.leaflet-right{right:340px;bottom:0;max-width:calc(100% - 660px)}
.cockpit-home .leaflet-control-attribution{font-size:12px;color:#142c2e;background:#fffffff2}
.cockpit-home .leaflet-control-attribution a{color:#244c5b}
.cockpit-home.map-focus>header,.cockpit-home.map-focus>main,.cockpit-home.map-focus>footer{visibility:hidden}
.cockpit-home.map-focus{overflow:hidden}
.cockpit-home.map-focus .leaflet-bottom.leaflet-left{left:10px}
.cockpit-home.map-focus .leaflet-bottom.leaflet-right{right:0;max-width:85%}
#open-layers,#close-layers{display:none}
.cockpit-home.footer-visible #map-focus,.cockpit-home.footer-visible .cockpit-map-controls{visibility:hidden}
@media(max-width:1000px){
.cockpit-home>main{display:block;padding:16px;min-height:70svh}
.cockpit-home .home-right{margin-top:65svh;margin-left:auto;width:min(100%,380px)}
.cockpit-home .tactical-filter{display:none;position:fixed;inset:90px 16px 110px;width:min(380px,calc(100% - 32px));max-height:none;z-index:1010}
.cockpit-home.layers-open .tactical-filter{display:block}
.cockpit-home #open-layers{display:block;position:fixed;bottom:48px;left:16px;z-index:1001;background:#f4d298;color:#172d2d;padding:10px 15px;border-radius:6px}
.cockpit-home #close-layers{display:block;margin-bottom:16px}
.cockpit-home .leaflet-bottom.leaflet-left{left:auto;right:12px;bottom:42px}
.cockpit-home .leaflet-bottom.leaflet-right{right:0;max-width:100%}
.cockpit-home #map-focus{left:130px}
.cockpit-home.map-focus #open-layers,.cockpit-home.footer-visible #open-layers{visibility:hidden}
.cockpit-home header{padding:8px 16px}
}

.cockpit-home [hidden]{display:none!important}
.cockpit-home .tactical-filter{max-height:calc(100dvh - 116px)}
.cockpit-home .atlas-modes{flex-wrap:nowrap}
.cockpit-home .atlas-modes button{flex:1;min-width:0;padding:6px;font-size:13px}
.cockpit-home .place-controls{margin:12px 0 20px}
.cockpit-home .place-controls summary{font-size:15px;cursor:pointer;color:#f4d298}
.cockpit-home #layer-search{background:#fff6df;color:#193134}
.cockpit-home #layer-search::placeholder{color:#57605c}
@media(max-width:1000px){.cockpit-home .tactical-filter{max-height:none}.cockpit-home .home-right>.atlas-intro{position:absolute;top:16px;left:16px;right:16px;padding:16px}.cockpit-home .atlas-intro h1{font-size:26px}.cockpit-home .atlas-intro p{margin:8px 0}.cockpit-home .home-right{padding-top:100px}}

.cockpit-home .atlas-modes button[data-mode=historico]{flex:1.5}
@media(max-width:1000px){
.cockpit-home:after{content:'';position:fixed;bottom:0;left:0;right:0;height:110px;background:#142d30;z-index:999;pointer-events:none}
.cockpit-home.footer-visible:after{display:none}
.cockpit-home .home-right{padding-bottom:110px}
}
