/* Environmental Annual Planner overlay fix — refactor branch only.
   The planner is rendered inside a stacking context, so the persistent workspace rail can still paint above it.
   While this specific planner overlay is open, hide the workspace navigation rail completely so the form has an unobstructed viewport.
   No planner/save/navigation business logic is changed. */
.fixed.inset-0.z-\[240\] {
  z-index: 30000 !important;
}

body:has(.fixed.inset-0.z-\[240\]) nav[aria-label="Workspace sections"] {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: -1 !important;
}

/* In layouts where the rail is wrapped by an aside, hide that shell too so no white strip remains over the form. */
body:has(.fixed.inset-0.z-\[240\]) aside:has(nav[aria-label="Workspace sections"]) {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: -1 !important;
}
