/* Embedded tools retain their own controls, data and downloads, without a second site header. */
html[data-embedded] body{height:auto;min-height:0;overflow:hidden}
html[data-embedded] :is(.header,.navigation,.document-footer,.skip-link,.statistics-heading){display:none!important}
html[data-embedded] :is(.statistics-page,.workspace){width:100%;margin:0;padding:16px 0;height:auto;min-height:0;overflow:visible}
html[data-embedded] .page-currents .map-region{position:relative;top:auto;height:480px;min-height:0}
html[data-embedded] .page-currents .sidebar{height:auto;max-height:none;overflow:visible}
html[data-embedded] #statistics-map{height:320px}
html[data-embedded] #prediction-chart{height:340px}
@media(max-width:640px){html[data-embedded] .page-currents .map-region{height:340px}html[data-embedded] :is(.statistics-chart-panel,.statistics-controls,.statistics-table-panel,.statistics-provenance){padding:16px}}
/* Settings follow the expanded current map directly; a jump button is redundant. */
html[data-embedded] .page-currents .mobile-panel-toggle{display:none!important}
html[data-embedded] .page-currents .map-legend{bottom:16px}
html[data-embedded] .page-currents .leaflet-control-scale{margin-bottom:80px!important}
html[data-embedded] .page-map .map-region{position:relative;top:auto;height:540px;min-height:0}
html[data-embedded] .page-map .sidebar{height:auto;max-height:none;overflow:visible}
html[data-embedded] .page-map .mobile-panel-toggle{display:none!important}
html[data-embedded] .page-map .map-legend{bottom:16px}
html[data-embedded] .page-map .leaflet-control-scale{margin-bottom:80px!important}
html[data-embedded] #prediction-time{min-height:44px}
@media(max-width:640px){html[data-embedded] .page-map .map-region{height:380px}}
/* The recent list now has a permanent place under Upload on the homepage. */
html[data-embedded] .page-map #recent-section{display:none}
