﻿/* CPS_SUPERADMIN_SIDEBAR_SCROLL_FIX_V1
   Scoped only to the CPS Super Admin dashboard sidebar.
   Desktop only: preserves the existing responsive/mobile navigation layout. */
@media (min-width: 761px) {
  #dashboardScreen > .sidebar,
  #dashboardScreen .sidebar.cps-v9-sidebar {
    height: 100% !important;
    min-height: 0 !important;
    max-height: 100dvh !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior-y: contain !important;
    scrollbar-width: thin;
    scrollbar-gutter: stable;
    align-self: stretch;
  }

  #dashboardScreen > .sidebar .side-brand,
  #dashboardScreen .sidebar.cps-v9-sidebar .side-brand {
    flex: 0 0 auto !important;
  }
}
