/* Workspace geometry: one toolbar, aligned map panes, and a contained chart. */
#map-view .map-tools{left:15px;right:15px;top:15px;display:flex;align-items:center;gap:10px;z-index:7;min-width:0;height:44px;padding:0;pointer-events:none}
#map-view .map-tools>*{pointer-events:auto}
#map-view .search-wrap{flex:0 1 278px;width:278px;min-width:205px;height:44px}
#map-view .search-wrap input{font-size:12px;height:42px}
#map-view .map-button{transform:none;margin:0;height:44px;padding:0 13px;font-size:12px;flex-shrink:0}
#map-view .window-actions{margin-left:auto;width:auto;display:flex;align-items:center;gap:10px;flex-shrink:0}
#map-view .window-actions button{font-size:12px;min-height:38px;white-space:nowrap;padding:7px 11px}
#map-view .map-theme-control{display:flex;align-items:center;padding:2px;background:#20272c;border:1px solid #424d53;border-radius:4px}
#map-view .map-theme-control button{font-size:11px;padding:5px 9px;min-height:34px}
#map-view .map-tools .layer-selector.layer-launcher{position:static;inset:auto;width:166px;flex:0 0 166px;background:none;border:0;padding:0;overflow:visible;box-shadow:none}
#map-view .layer-launcher #layers-toggle{height:44px;padding:6px 11px;gap:8px;border-radius:4px;box-shadow:none}
#map-view .layer-launcher #layers-toggle>span{font-size:12px;line-height:1.3;min-width:0}
#map-view .layer-launcher small{font-size:10px;max-width:112px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
#map-view .layer-launcher #layers-toggle>svg{width:19px;height:19px}
#map-view .layer-launcher b{font-size:15px}
#map-view .monitor-window{min-width:0;min-height:0;border:1px solid #465158;border-top:2px solid #86534d;border-radius:4px;overflow:hidden;display:flex;flex-direction:column}
#map-view .monitor-window header{min-height:42px;padding:7px 11px;gap:8px;flex-shrink:0;border-bottom:1px solid #3b464c}
#map-view .monitor-window select{font:13px Inter,'Avenir Next',system-ui,sans-serif;min-width:0;flex:1;width:100%;height:26px;background:#1c2126;color:#f0f2ed;border:0;outline:0;text-overflow:ellipsis}
#map-view .monitor-window select:focus-visible{outline:2px solid #ee8c7d;outline-offset:2px}
#map-view .monitor-remove{width:26px;height:26px;padding:0;font-size:21px;flex-shrink:0;color:#b8c6cb}
#map-view .monitor-map{flex:1;min-height:110px}
#map-view .monitor-legend{padding:7px 10px 6px;flex-shrink:0}
#map-view .mini-legend-title{font-size:11px;line-height:1.4}
#map-view .mini-legend-ramp{height:5px;margin:5px 0}
#map-view .mini-legend-ticks{font-size:10px;line-height:1.4}
#map-view .monitor-window footer{min-height:28px;display:flex;align-items:center;justify-content:space-between;gap:9px;font-size:10px;line-height:1.5;padding:5px 10px;white-space:normal;overflow:visible}
#map-view .monitor-area{min-width:0;overflow-wrap:anywhere}
#map-view .monitor-window footer time{white-space:nowrap;flex-shrink:0}
#map-view .comparison-dock{display:flex;flex-direction:column;min-width:0;min-height:0;padding:13px 16px 10px;overflow:hidden;background:#1c2328;border:1px solid #465158;border-radius:4px}
#map-view .comparison-dock header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 20px;flex-shrink:0;margin:0;min-width:0}
#map-view .comparison-dock h2{font-size:12px;line-height:1.5;font-weight:600;margin:0}
#map-view .comparison-dock header>div{display:flex;align-items:center;flex-wrap:wrap;gap:10px 18px;font-size:11px;line-height:1.5;min-width:0}
#map-view .comparison-dock svg{width:100%;height:auto;min-height:80px;flex:1;display:block;overflow:hidden;margin:8px 0 0}
#map-view .comparison-dock p{font-size:10px;line-height:1.4;margin:3px 0 0;flex-shrink:0}
#map-view .map-credits{font-size:7px;line-height:1.4;max-width:100%;margin:0;padding:0 2px;opacity:.8}
#map-view .drawer-settings{padding:16px;background:#252d32;border:1px solid #465158;border-radius:5px;margin-top:20px}
#map-view .drawer-settings>h3{margin:0 0 14px;font-size:13px;color:#e9efeb}
#map-view .drawer-settings .map-bottom-controls{position:static;inset:auto;transform:none;width:100%;min-height:0;display:flex;flex-direction:column;align-items:stretch;gap:18px;padding:0;background:none;border:0}
#map-view .drawer-settings .weather-legend{position:static;inset:auto;order:0;width:100%;max-width:none;padding:0;background:none;border:0}
#map-view .drawer-settings .weather-legend strong{font-size:12px}
#map-view .drawer-settings .legend-ticks{font-size:11px}
#map-view .drawer-settings .visibility-controls{position:static;inset:auto;order:1;width:100%;max-width:none;display:grid;grid-template-columns:1fr 1fr;gap:12px 18px;padding:0;background:none;border:0;font-size:12px}
#map-view .drawer-settings .visibility-controls label:not([hidden]){display:flex;align-items:center;justify-content:flex-start;gap:9px;white-space:normal;font-size:12px;line-height:1.5}
#map-view .drawer-settings .visibility-controls input[type=checkbox]{width:16px;height:16px;flex-shrink:0}
#map-view .drawer-settings .opacity-control{grid-column:1/-1}
#map-view .drawer-settings .visibility-controls input[type=range]{flex:1;width:100%;max-width:230px;height:22px}
#map-view.focus-map #map{top:75px;bottom:103px}
#map-view.focus-map .weather-panel{top:91px;max-height:calc(100% - 212px)}
#map-view.focus-map .comparison-dock{display:none}
#map-view.focus-map .map-credits{bottom:105px;right:18px;left:auto;background:#18252cbf;padding:2px 4px}
#map-view.focus-map .maplibregl-ctrl-top-right{top:16px!important;right:16px!important}
@media(min-width:1001px){
 #map-view.map-layout:not(.focus-map){display:grid;grid-template-columns:clamp(250px,22vw,310px) minmax(240px,1fr) minmax(360px,43%);grid-template-rows:44px minmax(300px,1fr) 180px 76px 12px;gap:12px;padding:15px;height:calc(100svh - 70px);min-height:800px;overflow:visible}
 #map-view:not(.focus-map) .map-tools{position:relative;inset:auto;grid-column:1/-1;grid-row:1;width:100%;height:44px}
 #map-view:not(.focus-map) #map{position:relative;inset:auto;grid-column:2;grid-row:2;min-width:0;min-height:0;width:100%;height:100%}
 #map-view:not(.focus-map) .weather-panel{position:relative;inset:auto;grid-column:1;grid-row:2/4;width:100%;height:100%;max-height:none;min-height:0;padding:20px 18px 0;overflow:auto}
 #map-view:not(.focus-map) .monitor-stack{position:relative;inset:auto;grid-column:3;grid-row:2;display:grid;width:100%;height:100%;min-width:0;min-height:0;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(var(--panel-rows,2),minmax(0,1fr));gap:12px}
 #map-view:not(.focus-map) .comparison-dock{position:relative;inset:auto;grid-column:2/4;grid-row:3;height:100%;width:100%}
 #map-view:not(.focus-map) .time-dock{position:relative;inset:auto;grid-column:1/-1;grid-row:4;min-height:0;height:100%;width:100%;padding:12px 15px}
 #map-view:not(.focus-map) .map-credits{position:static;inset:auto;grid-column:1/-1;grid-row:5;align-self:center;text-align:right}
 #map-view:not(.focus-map) .maplibregl-ctrl-top-right{top:12px!important;right:12px!important}
 #map-view .monitor-stack:has(.monitor-window:nth-child(5)){overflow-y:auto;grid-auto-rows:minmax(230px,1fr);grid-template-rows:repeat(var(--panel-rows,3),minmax(230px,1fr))}
}
@media(min-width:801px) and (max-width:1100px){
 #map-view .map-tools{flex-wrap:wrap;height:auto}
 #map-view .search-wrap{flex-basis:270px}
 #map-view .map-tools #zone-button{display:none}
 #map-view .window-actions button{font-size:11px;padding:6px 8px}
}
@media(min-width:801px) and (max-width:1000px){
 #map-view.map-layout:not(.focus-map){display:grid;grid-template-columns:240px minmax(0,1fr);grid-template-rows:44px 440px 180px auto 76px auto;gap:12px;padding:15px;height:auto;min-height:calc(100svh - 70px);overflow:visible}
 #map-view:not(.focus-map) .map-tools{position:relative;inset:auto;grid-column:1/-1;grid-row:1}
 #map-view:not(.focus-map) #map{position:relative;inset:auto;grid-column:2;grid-row:2;width:100%;height:100%}
 #map-view:not(.focus-map) .weather-panel{position:relative;inset:auto;grid-column:1;grid-row:2/4;width:100%;height:100%;overflow:auto}
 #map-view:not(.focus-map) .comparison-dock{position:relative;inset:auto;grid-column:2;grid-row:3;width:100%;height:100%}
 #map-view:not(.focus-map) .monitor-stack{position:relative;inset:auto;grid-column:1/-1;grid-row:4;width:100%;display:grid;grid-template-columns:1fr 1fr;gap:12px}
 #map-view:not(.focus-map) .monitor-window{height:290px}
 #map-view:not(.focus-map) .time-dock{position:relative;inset:auto;grid-column:1/-1;grid-row:5;height:76px}
 #map-view:not(.focus-map) .map-credits{position:static;grid-column:1/-1;grid-row:6}
}
@media(max-width:800px){
 #map-view .map-tools{top:12px;left:12px;right:12px;display:grid;grid-template-columns:minmax(0,1fr) 86px;gap:9px;height:auto}
 #map-view .search-wrap{width:100%;min-width:0;height:44px;grid-column:1;grid-row:1}
 #map-view .search-wrap input{font-size:12px;padding-right:4px}
 #map-view .search-wrap kbd{display:none}
 #map-view .search-label{padding-left:10px}
 #map-view .map-tools #romania{grid-column:2;grid-row:1;width:86px;height:44px;font-size:11px;padding:0 6px}
 #map-view .map-tools #zone-button{display:none}
 #map-view .map-tools .layer-selector.layer-launcher{grid-column:1;grid-row:2;width:145px;min-width:0}
 #map-view .layer-launcher #layers-toggle{height:42px;padding:5px 8px}
 #map-view .layer-launcher #layers-toggle>span{font-size:11px}
 #map-view .layer-launcher small{max-width:100px;font-size:9px}
 #map-view .layer-launcher b{display:none}
 #map-view .window-actions{grid-column:1/-1;grid-row:3;margin:0;width:100%;justify-content:space-between;gap:8px}
 #map-view .window-actions button{min-height:35px;font-size:11px;padding:5px 8px}
 #map-view .map-theme-control button{font-size:10px;min-height:29px;padding:4px 7px}
 #map-view .window-actions .map-theme-control{margin:0}
 #map-view.focus-map #map{top:161px;bottom:98px}
 #map-view.focus-map .weather-panel{top:174px;left:23px;width:200px;max-height:300px;padding:14px 12px 0}
 #map-view.focus-map .place-heading h1{font-size:23px}
 #map-view.focus-map .weather-summary{font-size:12px;line-height:1.7}
 #map-view.focus-map .map-credits{left:18px;right:18px;bottom:100px;font-size:6px}
 #map-view.focus-map .time-dock{left:12px;right:12px;bottom:12px;height:76px;min-height:76px;padding:10px}
 #map-view.focus-map .maplibregl-ctrl-top-right{top:12px!important;right:10px!important}
 #map-view .drawer-settings{padding:13px}
 #map-view .drawer-settings .visibility-controls{grid-template-columns:1fr}
 #map-view.map-layout:not(.focus-map){display:flex;flex-direction:column;height:auto;min-height:calc(100svh - 58px);padding:161px 12px 16px;gap:12px;overflow:visible}
 #map-view:not(.focus-map) #map{position:relative;inset:auto;order:0;width:100%;height:430px;min-height:430px}
 #map-view:not(.focus-map) .weather-panel{position:relative;inset:auto;order:3;width:100%;padding:20px 16px 0;max-height:none;overflow:visible}
 #map-view:not(.focus-map) .comparison-dock{position:relative;inset:auto;order:2;width:100%;height:210px;min-height:210px;padding:12px}
 #map-view:not(.focus-map) .time-dock{position:relative;inset:auto;order:1;width:100%;height:80px;min-height:80px}
 #map-view:not(.focus-map) .monitor-stack{position:relative;inset:auto;order:4;display:grid;grid-template-columns:1fr;width:100%;gap:12px}
 #map-view:not(.focus-map) .monitor-window{height:340px}
 #map-view:not(.focus-map) .map-credits{position:static;order:5;font-size:7px;text-align:left}
 #map-view .comparison-dock header>div{font-size:10px;gap:6px 12px}
}
#map-view .monitor-window select{padding:0 4px;line-height:26px}
#map-view .monitor-map{min-height:60px}
#map-view .comparison-dock h2{font-size:13px}
#map-view:not(.focus-map) .weather-stats div>span{font-size:11px}
#map-view:not(.focus-map) .condition strong{font-size:13px}
#map-view:not(.focus-map) .condition>span{font-size:11px}
#map-view:not(.focus-map) .observed-station p{font-size:12px}
#map-view:not(.focus-map) .observed-station p>span{font-size:11px}
#map-view:not(.focus-map) .weather-summary{font-size:13px;line-height:1.8}
.mobile-nav{display:none}.install-prompt{position:fixed;right:22px;bottom:22px;z-index:30;display:flex;align-items:center;gap:14px;padding:14px 16px;border:1px solid #78514c;border-radius:8px;background:#242b30;box-shadow:0 8px 30px #0006;font-size:13px}.install-prompt #install-app{padding:9px 12px;background:#b94f49;border-radius:4px}.install-prompt #dismiss-install{font-size:22px}
@media(max-width:800px){
 body{background:#171c20}
 .topbar{height:54px;padding:0 16px;gap:12px;padding-top:env(safe-area-inset-top)}
 .topbar .brand{font-size:24px;letter-spacing:.5px}.topbar .topnav{display:none}.topbar .brand-caption{display:none}
 .topbar .system-time{font-size:11px;gap:7px}.topbar .system-time:before{content:'ROMÂNIA';font:9px system-ui,sans-serif;letter-spacing:1.2px;color:#b4c0c6;margin-right:7px}
 #map-view.map-layout.focus-map{height:calc(100svh - 54px);min-height:0;overflow:hidden}
 #map-view .map-tools{grid-template-rows:44px 42px;gap:9px;top:10px}
 #map-view .map-tools .layer-selector.layer-launcher{grid-row:2;grid-column:1;width:145px}
 #map-view .window-actions{display:contents}
 #map-view .window-actions .map-theme-control{grid-column:1/-1;grid-row:2;justify-self:end;align-self:center;width:auto;min-width:0}
 #map-view .map-theme-control button{font-size:10px;padding:6px 8px;min-height:30px}
 #map-view .window-actions #layout-toggle{display:none}
 #map-view.focus-map #map{top:115px;bottom:calc(67px + env(safe-area-inset-bottom));left:0;right:0;border-left:0;border-right:0}
 #map-view.focus-map .weather-panel{top:auto;left:12px;right:12px;bottom:calc(159px + env(safe-area-inset-bottom));width:auto;max-height:130px;padding:12px 14px 0;background:#1b2328fa;border-color:#596269;border-top:2px solid #db6f62;border-radius:10px;box-shadow:0 4px 24px #0005;overflow:hidden}
 #map-view.focus-map .panel-top{display:none}
 #map-view.focus-map .place-heading{margin:0;gap:10px;align-items:center}
 #map-view.focus-map .place-heading h1{font-size:21px;line-height:1.3;overflow-wrap:anywhere}
 #map-view.focus-map .place-heading p{font-size:10px;margin-top:3px}
 #map-view.focus-map #close-panel{height:34px;width:34px;font-size:24px;border:1px solid #53616a;border-radius:7px}
 #map-view.focus-map .weather-overview{margin:10px 0 12px;gap:12px;align-items:center}
 #map-view.focus-map .big-temperature{font-size:38px}.focus-map .big-temperature span{font-size:23px}
 #map-view.focus-map .condition{margin-left:auto;text-align:right}
 #map-view.focus-map .condition strong{font-size:13px;max-width:170px;line-height:1.4}
 #map-view.focus-map .condition>span{font-size:11px;margin-top:4px}
 #map-view.focus-map:not(.mobile-forecast-open) .weather-content>*,#map-view.focus-map:not(.mobile-forecast-open) #weather-content>*{display:none}
 #map-view.focus-map:not(.mobile-forecast-open) #weather-content>.weather-overview{display:flex}
 #map-view.focus-map.mobile-forecast-open .weather-panel{max-height:calc(100% - 287px - env(safe-area-inset-bottom));overflow-y:auto}
 #map-view.focus-map.mobile-forecast-open .weather-stats{display:grid;padding:14px 0}
 #map-view.focus-map.mobile-forecast-open .weather-stats div>span{font-size:11px;line-height:1.5}
 #map-view.focus-map.mobile-forecast-open .weather-stats strong{font-size:15px}
 #map-view.focus-map.mobile-forecast-open .next-heading{font-size:14px;margin-top:17px}
 #map-view.focus-map.mobile-forecast-open .weather-summary{font-size:13px;line-height:1.8;margin:12px 0 17px}
 #map-view.focus-map.mobile-forecast-open .extra-weather{font-size:13px}
 #map-view.focus-map.mobile-forecast-open .hourly-strip{display:grid;margin-top:12px}
 #map-view.focus-map .time-dock{bottom:calc(76px + env(safe-area-inset-bottom));left:12px;right:12px;min-height:72px;height:72px;z-index:4;border-radius:8px;padding:9px 10px}
 #map-view.focus-map .time-heading strong{font-size:11px;line-height:1.6}
 #map-view.focus-map .time-ticks{font-size:10px}
 #map-view.focus-map .play-button{height:36px;width:36px;min-width:36px}
 #map-view.focus-map .now-button{font-size:11px;padding:9px 7px}
 #map-view.focus-map .map-credits{bottom:calc(67px + env(safe-area-inset-bottom));left:4px;right:4px;max-width:none;z-index:3;font-size:5px;pointer-events:auto}
 .mobile-nav{position:fixed;left:0;right:0;bottom:0;z-index:14;display:grid;grid-template-columns:repeat(4,1fr);height:calc(66px + env(safe-area-inset-bottom));padding:5px 8px calc(5px + env(safe-area-inset-bottom));background:#1a2126;border-top:1px solid #455158;box-shadow:0 -5px 20px #0002}
 .mobile-nav button{min-width:0;min-height:52px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:11px;color:#afbec6;border-radius:8px;padding:5px}
 .mobile-nav svg{width:22px;height:22px;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;fill:none}
 .mobile-nav button.active{color:#ffb1a2;background:#c65e501d}
 #map-view.map-layout:not(.focus-map){padding-top:115px;padding-bottom:90px;min-height:calc(100svh - 54px)}
 #map-view:not(.focus-map) .monitor-stack{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;order:1;padding:0 0 10px}
 #map-view:not(.focus-map) .monitor-window{height:390px;flex:0 0 calc(100% - 10px);scroll-snap-align:start}
 #map-view:not(.focus-map) #map{height:240px;min-height:240px}
 #map-view:not(.focus-map) .time-dock{order:2}
 #map-view:not(.focus-map) .comparison-dock{order:3}
 #map-view:not(.focus-map) .weather-panel{order:4}
 #map-view .layer-drawer{z-index:25}
 #map-view .drawer-backdrop{z-index:24}
 .document-view{padding:25px 18px 90px}
 .document-heading h1{font-size:26px;line-height:1.3}
 .briefing-controls{align-items:stretch;gap:12px;flex-wrap:wrap}
 .briefing-controls select{min-height:44px;font-size:14px}
 .briefing-controls button,.voice-actions button{min-height:44px;font-size:13px}
 .voice-actions{gap:12px;flex-wrap:wrap}
 .briefing-result{font-size:15px;line-height:1.8}
 .install-prompt{left:12px;right:12px;bottom:calc(76px + env(safe-area-inset-bottom));font-size:12px;padding:12px;gap:10px}
}
@media(max-width:800px){
 #map-view:not(.focus-map) .monitor-stack{flex-direction:row;align-items:stretch;height:400px;min-height:400px;max-width:100%}
 #map-view:not(.focus-map) .monitor-window{min-width:0;flex:0 0 calc(100% - 10px)}
}
@media(max-width:800px){
 #map-view:not(.focus-map) #map{height:180px;min-height:180px}
 #map-view:not(.focus-map) .monitor-stack{height:350px;min-height:350px}
 #map-view:not(.focus-map) .monitor-window{height:340px}
}
@media(max-width:800px){
 .topbar{height:calc(54px + env(safe-area-inset-top));padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}
 #map-view.map-layout.focus-map{height:calc(100svh - 54px - env(safe-area-inset-top))}
 #map-view .map-tools{left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right))}
 #map-view .layer-drawer>header{padding-top:max(22px,calc(env(safe-area-inset-top) + 12px))}
}
/* The map already labels the locality; keep its selected marker as a dot. */
#map-view .mini-place-marker b{display:none}
