/* /profiles is a long document page, not the AAC board shell.
   index.css locks html/body to overflow:hidden + height:100%, which makes
   wheel/trackpad/keyboard scroll the document while the real content sits in
   a nested .PublicProfiles scroller — the page looks stuck or scrolls into
   empty space. Unlock document scroll only while this page is mounted. */
html:has(.PublicProfiles),
html:has(.PublicProfiles) body {
  height: auto !important;
  overflow: auto !important;
  overscroll-behavior: auto;
  touch-action: auto;
  user-select: auto;
}

html:has(.PublicProfiles) #root,
html:has(.PublicProfiles) .App {
  height: auto;
  min-height: 100%;
  overflow: visible;
}

html:has(.PublicProfiles) .PublicProfiles {
  height: auto !important;
  min-height: 100vh;
  overflow: visible !important;
}
