/* Keep navigation scrollable while the brand and account controls stay visible. */
.sidebar .brand, .sidebar-user { flex-shrink: 0; }
.sidebar > .nav { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; padding: 0 4px 14px 0; scrollbar-width: thin; scrollbar-color: #405474 transparent; gap: 8px; }
.sidebar-user { margin-top: 8px; }
.nav-group { margin: 0; min-width: 0; flex-shrink: 0; border-top: 1px solid rgba(255,255,255,.09); padding-top: 6px; }
.nav-group:first-child { border-top: 0; padding-top: 0; }
.nav-group > summary { display: flex; align-items: center; justify-content: space-between; min-height: 40px; padding: 0 12px; color: #a9bddd; cursor: pointer; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; list-style: none; border-radius: 7px; }
.nav-group > summary::-webkit-details-marker { display: none; }
.nav-group > summary:hover { color: #fff; background: rgba(255,255,255,.05); }
.nav-chevron { font-size: 20px; line-height: 1; transform: rotate(0deg); }
.nav-group[open] > summary .nav-chevron { transform: rotate(90deg); }
.nav-group-items { display: flex; flex-direction: column; gap: 3px; }
.nav-group-items button { width: 100%; line-height: 1.35; padding-top: 9px; padding-bottom: 9px; font-size: 12px; }
.nav-group-items button svg { flex-shrink: 0; }
.nav-group summary:focus-visible, .nav-group button:focus-visible { outline: 2px solid #93c5fd; outline-offset: -2px; }
