/*
 * Plugin navigation policy:
 * Plugins must render module navigation in top-header dropdown/menu surfaces only.
 * Nested left rails or duplicate shell topbars inside plugin content are blocked.
 */

.shell-main [data-plugin-nav-rule="top-header-only"] [data-plugin-nav-surface="left"],
.shell-main [data-plugin-nav-rule="top-header-only"] [data-plugin-nav-surface="sidebar"]{
  display:none !important;
}

/* Guardrail for accidental nested shell layouts inside plugin pages. */
.shell-main .hnx-app > .hnx-rail,
.shell-main .hnx-app > .hnx-main > .hnx-topbar{
  display:none !important;
}

.shell-main .hnx-app > .hnx-main{
  margin-left:0 !important;
  width:100% !important;
}
