/* Portal-wide chrome only: keep native overflow, wheel, touch and keyboard scrolling.
   This also covers nested/dynamically inserted dialogs, editors and previews. */
html:has(body:is(.workspace,.catalog-app)),
body:is(.workspace,.catalog-app),
body:is(.workspace,.catalog-app) * {
  scrollbar-width:none!important;
  scrollbar-gutter:auto!important;
}
html:has(body:is(.workspace,.catalog-app))::-webkit-scrollbar,
body:is(.workspace,.catalog-app)::-webkit-scrollbar,
body:is(.workspace,.catalog-app) *::-webkit-scrollbar {
  display:none!important;
  width:0!important;
  height:0!important;
}
/* Respect OS high-contrast navigation affordances. */
@media (forced-colors:active) {
  html:has(body:is(.workspace,.catalog-app)),
  body:is(.workspace,.catalog-app),
  body:is(.workspace,.catalog-app) * {
    scrollbar-width:auto!important;
    scrollbar-color:auto!important;
  }
  html:has(body:is(.workspace,.catalog-app))::-webkit-scrollbar,
  body:is(.workspace,.catalog-app)::-webkit-scrollbar,
  body:is(.workspace,.catalog-app) *::-webkit-scrollbar {
    display:revert!important;
    width:auto!important;
    height:auto!important;
  }
}
