/* Put the road thermometer and the interactive map ahead of supporting detail.
   Flex ordering preserves the live map DOM node, handlers, and camera state. */
body[data-map-mode="road"] #mapView{display:flex;flex-direction:column;min-width:0}
body[data-map-mode="road"] #mapView>*{order:7;min-width:0}
body[data-map-mode="road"] #mapView>.section-header{order:0}
body[data-map-mode="road"] #mapView>.traffic-thermometer{order:1}
body[data-map-mode="road"] #mapView>.map-layer-toolbar{order:2;margin-top:18px}
body[data-map-mode="road"] #mapView>.map-layout{order:3;margin-top:12px}
body[data-map-mode="road"] #mapView>.map-layer-note{order:4;margin:12px 2px 22px}
body[data-map-mode="road"] #mapView>.pulse-brief{order:5;margin-top:14px}
body[data-map-mode="road"] #mapView>.hotspot-overview{order:6}
body[data-map-mode="road"] #mapView>.map-summary{order:7}
body[data-map-mode="road"] #mapView>.gps-evidence-panel{order:10;margin:32px 0 0}
/* The road evidence panel below includes the public historical count, so the
   older one-line history badge is redundant and would clutter the top. */
#mapView>#gpsHistoryNote{display:none!important}
@media(max-width:650px){
  body[data-map-mode="road"] #mapView>.map-layer-toolbar{margin-top:12px}
  body[data-map-mode="road"] #mapView>.map-layout{margin-top:8px}
  body[data-map-mode="road"] #mapView>.gps-evidence-panel{margin-top:25px}
}
