/* Keep the approved dashboard as the only overview, including initial page load.
   Legacy nodes remain in the DOM because existing metric readers still use them. */
html[data-manager-single-dashboard] body #instances,
html[data-manager-single-dashboard] body #dashboardMetrics,
html[data-manager-single-dashboard] body #dashboardLanAccess,
html[data-manager-single-dashboard] body #dashboardConsole,
html[data-manager-single-dashboard] body #systemCharts {
  display: none !important;
}

html[data-manager-single-dashboard] body:has(#managerDashboard:not([hidden])) #dashboardActions {
  display: none !important;
}

/* The approved interface is loaded before legacy controllers run.
   Retain their data nodes, never paint their superseded overview. */
body:not(.manager-redesign) #dashboard:not([hidden]) { visibility: hidden !important; }
