/* Hotfix (Wings demo server, SamurAI v2.2.3): the sidebar menu was cut off
   when the browser is zoomed in or the window is short, because
   .sidebar-nav had overflow:hidden. Let the menu scroll instead.
   Upstream file: src/layouts/AppShellLayout.tsx (+ its .sidebar-nav rule). */
.sidebar-nav {
  overflow-x: hidden;
  overflow-y: auto;
  min-height: 5.5rem;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--samurai-border) transparent;
}
.sidebar-nav > .sp-nav-item { flex-shrink: 0; }
.sidebar-nav::-webkit-scrollbar { width: 6px; }
.sidebar-nav::-webkit-scrollbar-track { background: transparent; }
.sidebar-nav::-webkit-scrollbar-thumb { background: var(--samurai-border); border-radius: 999px; }
/* At extreme zoom the footer alone can fill the rail: let the whole rail
   scroll then, so Support / Change password / Logout stay reachable. */
.sidebar { overflow-x: hidden; overflow-y: auto; }
