/* FIX256: the verified executive shell owns its viewport while mounted.
 * Legacy REV669 sidebar uses z-index 2147483000 !important; FIX248 root used
 * 2147482995. Inert prevents input, not painting, so the old sidebar covered GM.
 * Scope to the actual executive root, not HRGA's shared FIX248 follow-up panel.
 * No persistent hidden flags or observers: closing/removing the root restores
 * the native portal immediately, including after late mount / session switch.
 */
#th248-root.f254-exec {
  z-index: 2147483100 !important;
}
html.th248-executive body.th248-open:has(> #th248-root.f254-exec) :is(#th-app-sidebar,#thum-employee-sheet,#thum-employee-dock,#root .portal-shell:not(.manager-shell) nav.bottom-nav) {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
/* Preserve the real executive menu's reachability in narrow desktop and short
 * landscape viewports. These overrides apply only inside the executive shell. */
#th248-root.f254-exec .th248-side { min-height: 0; min-width: 0; }
@media (min-width: 741px) {
  #th248-root.f254-exec .th248-side { overflow-y: auto; overflow-x: hidden; }
  #th248-root.f254-exec .th248-side > * { flex-shrink: 0; }
}
