/* Leaflet adds these controls when the DEM overlay is opened on the dashboard. */
#hkaSpatialDashboard #hdsMapSlot .dem-export-map-legend,
#hkaSpatialDashboard #hdsMapSlot .nad-map-overlay-legend > span:has(> i.terrain) {
  display: none !important;
}

/* Earlier map legends use a separate swatch for the relief layer. */
#hkaSpatialDashboard .hka-layer-legend li:has(> .hka-legend-swatch[data-shape="shade"]),
#hkaSpatialDashboard .map-legend-card [data-legend-layer="hillshade" i],
#hkaSpatialDashboard .hds-map-legend [data-type="hillshade" i] {
  display: none !important;
}
