/* Observed-density legend. The ramp matches atlas-heat; it has no forecast meaning. */
#atlas-map { background:#fff; }
#atlas-map .leaflet-tile-pane { filter:grayscale(1); opacity:.65; }
#atlas-mount .atlas-map-legend{background:rgba(255,255,255,.96);color:#234354;border:1px solid #c8d9e1;border-radius:6px;box-shadow:0 2px 8px rgba(27,57,73,.08);gap:8px 14px;backdrop-filter:blur(7px);padding:9px 11px}
#atlas-mount .atlas-map-legend .atlas-density-legend{display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-width:205px}
#atlas-mount .atlas-map-legend .atlas-density-title{font-size:11px;font-weight:500;line-height:1.3;color:#234354}
#atlas-mount .atlas-map-legend .atlas-density-ramp{display:block;width:100%;min-width:205px;height:7px;border-radius:999px;background:linear-gradient(90deg,#1c50b5 0%,#127bd0 20%,#06c2db 35%,#3bca81 50%,#e2df43 65%,#f7a13b 80%,#e9502e 93%,#bd2031 100%)}
#atlas-mount .atlas-map-legend [data-point-legend]>i{background:#145591;box-shadow:0 0 0 1px rgba(255,255,255,.9)}
#atlas-mount .atlas-map-legend .atlas-density-fallback{font-size:11px;max-width:300px;white-space:normal;line-height:1.4}
#atlas-mount .atlas-map-legend [hidden]{display:none!important}
#atlas-mount.atlas-industrial-mode .atlas-map-legend [data-fire-legend]{display:none}
@media(max-width:760px){#atlas-mount .atlas-map-legend{max-width:calc(100% - 28px);gap:7px 10px;padding:8px 10px}#atlas-mount .atlas-map-legend .atlas-density-legend{flex-basis:100%;min-width:0}#atlas-mount .atlas-map-legend .atlas-density-ramp{width:210px;max-width:100%;min-width:0}#atlas-mount .atlas-map-legend [data-point-legend],#atlas-mount .atlas-map-legend [data-point-legend]+span{font-size:10px}}

/* Compact reading of the same observed chronology; no forecast geometry. */
#atlas-mount .atlas-context-heading{padding:15px 20px 0;display:flex;gap:8px 18px;align-items:baseline;flex-wrap:wrap}
#atlas-mount .atlas-context-heading h3{margin:0;font-size:17px;letter-spacing:-.02em;font-weight:550}
#atlas-mount .atlas-context-heading p{margin:0;font-size:12px;color:var(--at-muted);max-width:70ch}
#atlas-mount .atlas-toolbar{padding-top:13px;padding-bottom:14px;gap:12px}
#atlas-mount .atlas-field{font-size:11px}
#atlas-mount .atlas-location-sub{font-size:11px;margin-bottom:12px}
#atlas-mount .atlas-metrics{gap:13px 9px;margin-bottom:12px}
#atlas-mount .atlas-direction-summary{font-size:12px;line-height:1.5;color:var(--at-muted);padding:10px 0;border-top:1px solid var(--at-line)}
#atlas-mount .atlas-direction-summary strong{color:var(--at-ink);font-weight:550}
#atlas-mount .atlas-view-options,#atlas-mount .atlas-method-detail{font-size:12px;color:var(--at-muted);border-top:1px solid var(--at-line);padding-top:10px;margin-top:12px}
#atlas-mount .atlas-view-options summary,#atlas-mount .atlas-method-detail summary,#atlas-mount .atlas-wind summary{cursor:pointer;width:fit-content;color:var(--at-ink);font-size:11px}
#atlas-mount .atlas-view-options .atlas-layer-options{margin-top:10px;padding-top:0;border:0}
#atlas-mount.atlas-industrial-mode .atlas-view-options{display:none}
#atlas-mount .atlas-insight-title,#atlas-mount .atlas-regional-direction h4{margin:0 0 9px;font-size:14px;font-weight:550;color:var(--at-ink)}
#atlas-mount .atlas-regional-direction{margin-top:16px;padding-top:13px;border-top:1px solid var(--at-line)}
#atlas-mount .atlas-rose-layout{display:grid;grid-template-columns:125px minmax(0,1fr);gap:10px;align-items:center}
#atlas-mount .atlas-direction-rose{display:block;width:125px;height:125px}
#atlas-mount .atlas-rose-layout strong{display:block;color:var(--at-ink);font-size:25px;line-height:1.1;font-weight:550;font-variant-numeric:tabular-nums}
#atlas-mount .atlas-rose-layout span{display:block;font-size:11px;color:var(--at-muted);line-height:1.4;margin-top:6px}
#atlas-mount .atlas-rose-layout small{display:block;font-size:10px;color:var(--at-muted);line-height:1.5;margin-top:8px}
#atlas-mount .atlas-wind{padding:12px 0;border-top:1px solid var(--at-line);border-bottom:1px solid var(--at-line);margin:0 0 12px}
#atlas-mount .atlas-wind-title{font-size:11px;line-height:1.4;font-weight:550;color:var(--at-ink)}
#atlas-mount .atlas-wind-title a{color:inherit;text-decoration:none}
#atlas-mount .atlas-wind-title a:hover{text-decoration:underline}
#atlas-mount .atlas-wind-main{display:grid;grid-template-columns:78px minmax(0,1fr);gap:12px;align-items:center;margin-top:8px}
#atlas-mount .atlas-wind-compass{width:78px;height:78px;display:block}
#atlas-mount .atlas-wind-main strong{font-size:23px;font-weight:550;line-height:1.1;color:var(--at-ink);font-variant-numeric:tabular-nums}
#atlas-mount .atlas-wind-main strong small{font-size:12px;font-weight:400}
#atlas-mount .atlas-wind-main span{display:block;font-size:11px;line-height:1.45;color:var(--at-muted);margin-top:4px}
#atlas-mount .atlas-wind-main time{display:block;font-size:10px;color:var(--at-muted);margin-top:4px}
#atlas-mount .atlas-wind-key{display:flex;gap:8px 12px;flex-wrap:wrap;margin:6px 0 8px}
#atlas-mount .atlas-wind-key span{font-size:10px;display:inline-flex;align-items:center;gap:5px;color:var(--at-muted)}
#atlas-mount .atlas-wind-key i{height:2px;width:12px;background:#087eb8}
#atlas-mount .atlas-wind-key i.atlas-wind-fire{background:#c36d20}
#atlas-mount .atlas-wind .atlas-note{font-size:11px;margin:8px 0 0}
@media(max-width:760px){#atlas-mount .atlas-context-heading{padding:14px 16px 0}#atlas-mount .atlas-context-heading p{font-size:11px}#atlas-mount .atlas-wind-main{grid-template-columns:78px minmax(0,1fr)}#atlas-mount .atlas-wind{margin-top:3px}#atlas-mount .atlas-rose-layout{grid-template-columns:135px minmax(0,1fr)}#atlas-mount .atlas-direction-rose{width:135px;height:135px}}

/* Playback is a map HUD. The complete inspector is below the full-width map. */
#atlas-mount .atlas-layout{display:block}
#atlas-mount #atlas-map{height:550px}
#atlas-mount .atlas-mapwrap{width:100%;min-width:0}
#atlas-mount .atlas-map-status{top:auto;bottom:104px;left:12px;max-width:calc(100% - 80px);font-size:10px;padding:5px 8px}
#atlas-mount .atlas-mapwrap>.atlas-timeline{position:absolute;z-index:430;top:12px;left:12px;right:60px;padding:10px 12px;background:rgba(255,255,255,.95);border:1px solid #c6d8e1;border-radius:7px;color:#203e50;box-shadow:0 2px 9px rgba(24,54,73,.09);backdrop-filter:blur(7px)}
#atlas-mount .atlas-mapwrap .atlas-timeline-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;margin-bottom:5px}
#atlas-mount .atlas-mapwrap .atlas-date{font-size:13px;color:#203e50;font-weight:550;line-height:1.3}
#atlas-mount .atlas-mapwrap .atlas-day-label{font-size:11px;color:#526d7d;margin-left:8px}
#atlas-mount .atlas-mapwrap .atlas-transport{gap:5px;flex-wrap:nowrap}
#atlas-mount .atlas-mapwrap .atlas-transport .atlas-button{min-width:36px;min-height:36px;padding:5px 10px;background:#fff;color:#27485b;border-color:#c7d8e2;font-size:12px}
#atlas-mount .atlas-mapwrap .atlas-transport #atlas-play{display:inline-flex;gap:7px;align-items:center;justify-content:center;background:#edf5f9}
#atlas-mount .atlas-mapwrap .atlas-range{display:block;width:100%;height:17px;min-height:0;margin:0;accent-color:#1782bd}
#atlas-mount .atlas-mapwrap .atlas-ticks{font-size:10px;color:#526d7d;margin-top:2px}
#atlas-mount .atlas-map-legend{bottom:27px;left:12px;padding:7px 10px;gap:5px 12px}
#atlas-mount .atlas-map-legend .atlas-density-legend{min-width:205px}
#atlas-mount .atlas-map-legend .atlas-density-ramp{height:6px}
#atlas-mount .atlas-sidebar{border-left:0;border-top:1px solid var(--at-line);max-height:none;overflow:visible;padding:18px 20px}
#atlas-mount .atlas-location{font-size:21px;margin-bottom:5px}
#atlas-mount .atlas-location-sub{margin-bottom:10px}
#atlas-mount .atlas-tabs{margin-bottom:14px;gap:22px}
#atlas-mount #atlas-data:not([hidden]){display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:0 24px;align-items:start}
#atlas-mount #atlas-data>.atlas-metrics{grid-column:1;grid-row:1;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px 10px;margin:0 0 14px}
#atlas-mount .atlas-metrics dd{font-size:25px}
#atlas-mount #atlas-direction-summary{grid-column:1;grid-row:2;margin-bottom:10px}
#atlas-mount #atlas-point{grid-column:1;grid-row:3}
#atlas-mount #atlas-event-note{grid-column:1;grid-row:4;margin:0 0 10px;max-width:80ch;font-size:11px}
#atlas-mount .atlas-view-options{grid-column:1;grid-row:5;margin-top:0}
#atlas-mount .atlas-info-actions{grid-column:1;grid-row:6;padding-top:12px}
#atlas-mount #atlas-wind{grid-column:2;grid-row:1 / span 6;border-top:0;border-bottom:0;border-left:1px solid var(--at-line);padding:0 0 0 20px;margin:0}
#atlas-mount #atlas-industrial{grid-column:1 / -1;margin-top:14px}
#atlas-mount #atlas-insight:not([hidden]){max-width:900px;columns:2;column-gap:30px}
#atlas-mount #atlas-insight>*{break-inside:avoid}
#atlas-mount .atlas-regional-direction{margin-top:0}
#atlas-mount.atlas-industrial-mode #atlas-data:not([hidden]){grid-template-columns:minmax(0,1fr)}
#atlas-mount.atlas-industrial-mode .atlas-mapwrap>.atlas-timeline{padding:10px 12px}
@media(max-width:900px){#atlas-mount #atlas-data:not([hidden]){grid-template-columns:minmax(0,1fr) 250px;gap:0 18px}#atlas-mount #atlas-data>.atlas-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}#atlas-mount .atlas-metrics dd{font-size:24px}}
@media(max-width:700px){#atlas-mount #atlas-map{height:480px}#atlas-mount .atlas-mapwrap>.atlas-timeline{left:10px;right:51px;top:10px;padding:8px 9px}#atlas-mount .atlas-mapwrap .atlas-date{font-size:11px}#atlas-mount .atlas-mapwrap .atlas-day-label{display:block;font-size:10px;margin:2px 0 0}#atlas-mount .atlas-mapwrap .atlas-transport .atlas-button{min-width:35px;min-height:40px;padding:5px 7px}#atlas-mount .atlas-mapwrap .atlas-control-word{display:none}#atlas-mount .atlas-mapwrap .atlas-timeline-head{gap:6px;margin-bottom:4px}#atlas-mount .atlas-mapwrap .atlas-ticks{font-size:9px}#atlas-mount .atlas-mapwrap .atlas-range{height:22px}#atlas-mount .atlas-sidebar{padding:15px 16px}#atlas-mount #atlas-data:not([hidden]){display:block}#atlas-mount #atlas-data>.atlas-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 8px;margin-bottom:14px}#atlas-mount .atlas-metrics dd{font-size:21px}#atlas-mount .atlas-metrics dt{font-size:10px}#atlas-mount #atlas-wind{padding:12px 0;margin:0 0 12px;border-left:0;border-top:1px solid var(--at-line);border-bottom:1px solid var(--at-line)}#atlas-mount .atlas-wind-main{grid-template-columns:78px minmax(0,1fr)}#atlas-mount #atlas-insight:not([hidden]){columns:1}#atlas-mount .atlas-map-status{bottom:130px;font-size:10px}#atlas-mount .atlas-map-legend{gap:5px 10px;max-width:calc(100% - 24px)}#atlas-mount .atlas-map-legend .atlas-density-ramp{width:200px}#atlas-mount .atlas-context-heading{display:none}}
@media(max-width:400px){#atlas-mount #atlas-data>.atlas-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}#atlas-mount .atlas-mapwrap .atlas-transport .atlas-button{min-width:32px;padding:5px 6px}}
@media(pointer:coarse){#atlas-mount .atlas-mapwrap .atlas-transport .atlas-button{min-height:44px}#atlas-mount .atlas-mapwrap .atlas-range{height:25px}}

/* Persistent sources use the same continuous density language as fire replay. */
#atlas-mount .atlas-map-legend [data-industry-legend] small{font-size:10px;line-height:1.3;color:#526d7d}
#atlas-mount.atlas-industrial-mode .atlas-mapwrap>.atlas-timeline{display:none}
#atlas-mount.atlas-industrial-mode .atlas-map-legend{max-width:calc(100% - 24px)}
#atlas-mount.atlas-industrial-mode .atlas-map-status{bottom:112px}
#atlas-mount .atlas-leaflet-source-density{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:350}
#atlas-mount .atlas-leaflet-source-density[hidden]{display:none}
