/* Local weather and official warnings lead; existing community tools remain in More. */
[data-country-hidden] { display:none!important; }
.shell-on .hero-en-panel { display:none; }
#drawerHead { flex-wrap:wrap; }
#drawerHead #primaryNav { flex-basis:100%;order:99; }
#primaryNav { display:flex;gap:6px;width:100%; }
#primaryNav .btn { min-width:0;min-height:48px;flex:1;padding:8px 6px;font-size:.8rem;flex-direction:column;gap:2px; }
#shellActions { bottom:max(12px,env(safe-area-inset-bottom));width:min(520px,calc(100% - 20px)); }
#shellCornerL,#shellCornerR { bottom:max(82px,calc(env(safe-area-inset-bottom) + 76px)); }
#moreLayers { background:rgba(255,255,255,.94);color:var(--navy);border-radius:12px;padding:8px;max-width:min(330px,80vw); }
#moreLayers summary,#moreFeatures>summary { cursor:pointer;min-height:36px;font-weight:700; }
#moreLayers .layer-chips { flex-wrap:wrap;max-height:220px;overflow:auto; }
#moreFeatures { margin-top:20px;border-top:1px solid #657d9b;padding-top:16px; }
#moreBody #drawerNav { position:static;display:flex;flex-wrap:wrap; }
#nationwidePanel,#preventionPanel { overflow-wrap:anywhere; }
.nationwide-alert { margin:12px 0;padding:14px;border:1px solid #657d9b;border-left:4px solid var(--orange);border-radius:10px; }
.nationwide-alert[data-lifecycle="cancelled"],.nationwide-alert[data-lifecycle="expired"] { border-left-color:#8da2b8; }
.nationwide-alert dl { margin:8px 0; }
.nationwide-alert dt { font-weight:700; }
.nationwide-alert dd { margin:0 0 8px; }
.original-instructions { white-space:pre-wrap; }
.local-weather-card { border:1px solid #657d9b;border-radius:12px;padding:12px;margin:12px 0; }
.weather-values { display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px; }
.weather-values strong { font-size:1.6rem; }
#weatherUnits { min-height:44px;max-width:100%; }
#cityForecast::before { content:'°C · km/h · mm — metric / métrico';display:block;font-size:.75rem; }
#forecastCharts::before { content:'°C · km/h · mm — metric / métrico';display:block;font-size:.75rem; }
@media(max-width:879px) {
 #shellActions { bottom:max(10px,env(safe-area-inset-bottom)); }
 #shellCornerL,#shellCornerR { bottom:max(76px,calc(env(safe-area-inset-bottom) + 70px)); }
 #shellCornerR #btnLocate { flex:none;max-width:190px; }
 #shellCornerR #btnGuias { display:none; }
 #shellCornerL { z-index:56;max-width:90px; }
 #shellCornerR { left:110px;max-width:calc(100% - 120px); }
 #primaryNav .btn { font-size:.75rem; }
}
