/* Keep native scrolling without a painted track or reserved scrollbar space. */
@media screen {
  html:has(body.studio-refined),body.studio-refined,body.studio-refined * {
    scrollbar-width:none!important;
    scrollbar-gutter:auto!important;
  }
  html:has(body.studio-refined)::-webkit-scrollbar,
  body.studio-refined::-webkit-scrollbar,
  body.studio-refined *::-webkit-scrollbar {display:none!important;width:0!important;height:0!important;}

  body.studio-refined #sidebar * {overscroll-behavior:auto!important;}
  body.studio-refined #sidebar :is(#sideScroll,#writerDrawer>.workspaceDrawerScroll,#productionDrawer>.workspaceDrawerScroll) {overscroll-behavior:contain!important;}
  body.studio-refined #sidebar #sideScroll {margin-right:0;padding-inline:16px;}
  body.studio-refined #sidebar #productionDrawer>.workspaceDrawerScroll {margin-right:0;padding-right:16px;}
}
