/* GaliVue V5.1.85 — surgical Dashboard/public-header isolation guard.
   The public homepage header intentionally sits above the hero, but it must never
   sit above the authenticated Dashboard opened from the homepage shell.
   Scope: public homepage chrome only while #dashboardDialog is visibly open. */
body:has(#dashboardDialog:not(.hidden)) .marketing-header,
body:has(#dashboardDialog:not(.hidden)) .mobile-menu,
body:has(#dashboardDialog:not(.hidden)) .gv-skip-link{
  display:none!important;
}

/* V5.1.71+ added a fixed homepage top mask at a very high stacking level.
   Remove only that decorative mask while the Dashboard is open. */
body.gvf-homepage-v5170:has(#dashboardDialog:not(.hidden))::before,
body.gvf-homepage-v5171:has(#dashboardDialog:not(.hidden))::before{
  content:none!important;
  display:none!important;
}
