/*!
 * VORTEX / DOMINIZ — PWA Root Scroll Contract v1.0.0
 * Geometry-neutral overscroll containment.
 */

html[data-vortex-pwa-root-scroll="locked"],
html[data-vortex-pwa-root-scroll="locked"] body {
  overscroll-behavior-y: none;
}

/* Existing document shells keep their own geometry and scrolling model.
   This only blocks scroll chaining/rubber-band handoff where supported. */
html[data-vortex-pwa-root-scroll="locked"] :is(
  .app,
  .shell,
  .wrap,
  .access-shell,
  #atlasStudioRoot,
  .studioRoot
) {
  overscroll-behavior-y: contain;
}

/* Explicitly do not impose overflow/height rules on VORTEX Streaming
   or the fullscreen Viewer. Their own runtimes remain authoritative. */
