/* Compact admin navigation; the existing drawer and footer remain intact. */
#shell .sidebar.grouped-sidebar {
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #52647c transparent;
}
#shell .grouped-sidebar > * { flex-shrink: 0; }
#shell .grouped-sidebar .brand { padding: 0 8px 20px; }
#shell .grouped-navigation { gap: 5px; }
#shell .sidebar-group { background: #0b284c; border-radius: 5px; }
#shell .sidebar-group-toggle {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 8px;
  min-height: 36px;
  padding: 9px 10px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #cbd5e1;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 9px;
  font-weight: 700;
}
#shell .sidebar-group-toggle:hover { background: #173759; color: white; }
#shell .sidebar-group-toggle .icon { width: 14px; height: 14px; }
#shell .sidebar-group-toggle .section-chevron { margin-left: auto; width: 12px; transition: transform .15s; }
#shell .sidebar-group-toggle[aria-expanded="false"] .section-chevron { transform: rotate(-90deg); }
#shell .current-section > .sidebar-group-toggle { color: #fcd873; }
#shell .sidebar-submenu { padding: 0 4px 6px 15px; }
#shell .sidebar-submenu[hidden] { display: none; }
#shell .grouped-sidebar .nav-button {
  padding: 8px 9px !important;
  min-height: 32px;
  gap: 8px;
  font-size: 11px !important;
  border-radius: 4px !important;
}
#shell .grouped-sidebar .nav-button .icon { width: 14px; height: 14px; }
#shell .grouped-sidebar .nav-button.active {
  background: #203f65 !important;
  color: #fcd873 !important;
  box-shadow: inset 3px 0 #fcd873;
}
#shell .grouped-sidebar .nav-button.active .icon { color: #fcd873 !important; stroke: #fcd873 !important; }
#shell .grouped-sidebar .side-bottom { padding-top: 15px; }
@media (max-width: 950px) {
  #shell .grouped-sidebar .sidebar-group-toggle,
  #shell .grouped-sidebar .nav-button { min-height: 44px; }
}