/* ARK_LAYOUT_ROOT_V5
   Native Chat/Image/Code scroll takes place inside their panels.
   The document/root MUST NOT scroll while the normal app shell is active.
   Connections is exempt; it scrolls the root normally. */
html.ark-layout-root-v5 {
  height: 100% !important;
  min-height: 0 !important;
  overflow-x: hidden !important;
  overflow-y: hidden !important;
  overscroll-behavior-y: none;
  scroll-behavior: auto !important;
}
html.ark-layout-root-v5 > body {
  height: 100dvh !important;
  min-height: 0 !important;
  max-height: 100dvh !important;
  overflow-x: hidden !important;
  overflow-y: hidden !important;
  overscroll-behavior-y: none;
}
/* Hide the obsolete overlay if an old cached script still creates it. */
html.ark-layout-root-v5 #arkRootScrollTrackV3 { display: none !important; }
