/* Keep the two scientific clocks readable without changing the approved map. */
.status#run{font-variant-numeric:tabular-nums}
@media(min-width:900px) and (min-height:601px){.status#run{grid-column:2/4;grid-row:3;margin:0}.meta{grid-row:4}.status#status{grid-column:1;grid-row:2/4}}
@media(orientation:landscape) and (max-height:600px){.status#run{grid-column:2;grid-row:3;margin:0;height:auto;font-size:10px}.meta{grid-row:4}.status#status{grid-column:1;grid-row:3}}

/* Keep the chart clear and make a newer forecast accessible in Full map. */
.forecast-refresh{position:absolute;left:max(8px,env(safe-area-inset-left));bottom:max(10px,env(safe-area-inset-bottom));z-index:2;background:#102c41f2}
.forecast-refresh[hidden]{display:none}

body.pressure-start .map-tools{display:none}
.pressure-shade{display:flex;align-items:center;gap:5px;min-height:32px;padding:4px 8px;background:#102c41e8;border:1px solid #476079;border-radius:8px;font-size:11px;white-space:nowrap}
.pressure-shade[hidden]{display:none}
.pressure-shade input{width:16px;height:16px;margin:0}
body.pressure-start .coverage{top:46px}
.loading.loading-pressure{inset:auto auto max(10px,env(safe-area-inset-bottom)) 50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 20px);padding:8px 12px;border-radius:7px;pointer-events:none}

#betaReport{margin-top:16px}
#betaReport summary{cursor:pointer}
.beta-actions{display:flex;flex-wrap:wrap;gap:8px}
.beta-actions button{min-height:44px}
.beta-actions button[hidden]{display:none}

#advancedMapButton{margin-inline-start:auto;min-height:44px}
body.immersive #advancedMapButton{display:none}
#advancedMap{width:min(27rem,calc(100vw - 16px));max-height:min(54dvh,36rem);margin:auto 8px max(8px,env(safe-area-inset-bottom)) auto;padding:0;overflow:auto;overscroll-behavior:contain}
#advancedMap::backdrop{background:transparent}
#advancedMap header{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 14px;background:#102a3e;border-bottom:1px solid #476079}
#advancedMap h2{margin:0;font-size:16px}
#advancedMap header button{float:none;min-height:44px}
.map-settings-content{padding:8px 14px 12px}
.map-settings-content h3{margin:6px 0;font-size:14px}
.map-settings-content section{border-top:1px solid #476079;margin-top:8px;padding-top:8px}
.map-settings-content p{margin:6px 0}
.map-settings-content a{display:inline-flex;align-items:center;min-height:44px;color:#a6ecf0}
.map-opacity-row{display:grid;grid-template-columns:1fr auto;align-items:center;min-height:44px;line-height:1.2}
.map-opacity-row span:last-of-type{font-variant-numeric:tabular-nums}
.map-opacity-row input{grid-column:1/-1;width:100%;height:28px;margin:0;accent-color:#6bd5da}
@media(max-width:480px){.top{gap:6px}.top #advancedMapButton{max-width:9rem;white-space:normal;line-height:1.15}.top div{min-width:0}}
@media(orientation:landscape) and (max-height:600px){#advancedMap{max-height:calc(100dvh - 12px);width:min(23rem,55vw)}}

@media (max-width:600px), (orientation:landscape) and (max-height:600px) {
 .top #expand,.search-row input,.search-row button,.map-tools button,.choices select,
 .controls .meta button,.controls .day-row select,.controls .transport button,
 .controls .pressure-shade,.controls #windUnit {min-height:44px}
 .controls {overflow:auto;overscroll-behavior:contain}
 .search-row {flex-wrap:wrap}
 .search-row input {flex:1;width:0;font-size:16px}
 .search-results {position:static;flex-basis:100%;max-height:18dvh}
 .search-results button {white-space:normal;overflow-wrap:anywhere}
 .choices {grid-template-columns:repeat(2,minmax(0,1fr))}
 .choices label {min-width:0}
 body.immersive .map-tools {top:56px}
}
