/* Shared by the workspace, editor iframe, previews and public pages. CSS only. */
:root{--calldesk-scrollbar-thumb:hsl(258 35.6% 88.4%)}
*{scrollbar-width:thin!important;scrollbar-color:var(--calldesk-scrollbar-thumb) transparent!important}
/* Chromium/WebKit must use pseudo elements to suppress native arrow buttons. */
@supports selector(::-webkit-scrollbar){
  *{scrollbar-width:auto!important;scrollbar-color:auto!important}
  *::-webkit-scrollbar{width:5px!important;height:5px!important;background:transparent!important}
  *::-webkit-scrollbar-thumb{background:var(--calldesk-scrollbar-thumb)!important;border:0!important;border-radius:6px!important;box-shadow:none!important}
  *::-webkit-scrollbar-track,*::-webkit-scrollbar-corner{background:transparent!important;border:0!important;box-shadow:none!important}
  *::-webkit-scrollbar-button{display:none!important;width:0!important;height:0!important}
}
/* Preserve areas explicitly designed to scroll without a visible bar. */
:is(#crm-module,#account-modal,#modal.ai-history-modal,#modal.ai-history-modal .modal-body){scrollbar-width:none!important}
:is(#crm-module,#account-modal,#modal.ai-history-modal,#modal.ai-history-modal .modal-body)::-webkit-scrollbar{display:none!important}
