/* EDO Business R159 — remove the OUTER/whole-page scrollbar ONLY on
   the R158 new-document and edit-document route. Keep R158's inner form
   scroll (.new-doc-horizontal-body), its header and its footer unchanged.
   :has() follows the React route class automatically (no body-class leak). */

/* Do not lock scrolling elsewhere in EDO: document list/PDF/admin unchanged. */
html:has(body #root > .app-shell.edo-r46-creating) {
  height: 100% !important;
  overflow: hidden !important;
  overscroll-behavior: none;
}
html body:has(#root > .app-shell.edo-r46-creating) {
  box-sizing: border-box !important;
  height: 100dvh !important;
  min-height: 0 !important;
  max-height: 100dvh !important;
  overflow: hidden !important;
  overscroll-behavior: none;
}
html body:has(#root > .app-shell.edo-r46-creating) #root {
  box-sizing: border-box !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: 100% !important;
  overflow: hidden !important;
}
html body #root > .app-shell.edo-r46-creating {
  box-sizing: border-box !important;
  height: 100dvh !important;
  min-height: 0 !important;
  max-height: 100dvh !important;
  overflow: hidden !important;
}
html body #root > .app-shell.edo-r46-creating > .app-main {
  box-sizing: border-box !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: 100% !important;
  overflow: hidden !important;
}
/* The page and scrollable form body remain owned by R158's rules.
   Never set overflow:hidden on .new-doc-horizontal-body. */
