/* Keep native scroll controls discoverable on all overflowing work panes. */
*{scrollbar-width:auto}
*::-webkit-scrollbar{width:12px;height:12px}
*::-webkit-scrollbar-thumb{background:#84958d;border:3px solid transparent;background-clip:padding-box;border-radius:6px}

/* Let navigation scroll independently in short desktop windows. */
.sidebar{height:100dvh}
.sidebar>:is(.brand,.workspace,.nav-caption,.sidebar-bottom){flex-shrink:0}
.sidebar nav{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;margin-bottom:12px;padding-bottom:2px}
.drawer-body{min-height:0;overscroll-behavior:contain}
.modal,.outreach-recipients{overscroll-behavior:contain}
:is(.nav-item,.outreach-recipients,.drawer-body):focus-visible{outline:2px solid #6fa58a;outline-offset:-2px}

@media(max-width:700px){
  .sidebar{height:auto}
  .sidebar nav{flex:none;overflow-x:auto;overflow-y:hidden;margin-bottom:0;padding-bottom:0}
}

/* Preserve system scroll controls for users of high contrast mode. */
@media(forced-colors:active){
  *{scrollbar-width:auto}
  *::-webkit-scrollbar{display:revert;width:revert;height:revert}
}
