
html body #sidebar {
  background: var(--card-bg) !important;
  border-right-color: var(--border) !important;
}
html body #sidebar .sidebar-header { border-bottom-color: var(--border-light) !important; }
html body #sidebar .sidebar-admin-section { border-top-color: var(--border-light) !important; }
html body #sidebar .sidebar-admin-section { padding-bottom: 8px !important; border-bottom: 1px solid var(--border-light) !important; }

html body #sidebar .sidebar-header img { filter: none !important; }
html body #sidebar .sidebar-brand-link {
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
  color: var(--text-primary) !important;
}
html body #sidebar .sidebar-brand-link .sc-wordmark { --wm-b: var(--text-primary); }
html body #sidebar .sidebar-brand-sub { color: var(--text-muted) !important; text-transform: none !important; }

html body #sidebar .nav-group-title,
html body #sidebar .nav-group-title:hover {
  color: var(--text-muted) !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

html body #sidebar .nav-item {
  color: var(--text-secondary) !important;
  border-radius: 6px !important;
  box-shadow: none !important;
}
html body #sidebar .nav-item:hover {
  background: var(--card-hover) !important;
  color: var(--text-primary) !important;
}
html body #sidebar .nav-item.active,
html body #sidebar .nav-item.active:hover {
  background: var(--card-hover) !important;
  color: var(--text-primary) !important;
  font-weight: 600 !important;
}
html[data-theme="dark"] body #sidebar .nav-item.active,
html[data-theme="dark"] body #sidebar .nav-item.active:hover { background: var(--border) !important; }
html body #sidebar .nav-item .nav-icon,
html body #sidebar .nav-item .nav-icon .material-symbols-outlined { color: inherit !important; }

html body #sidebar .nav-item .admin-badge {
  color: var(--text-secondary) !important;
  background: var(--sunken) !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  border-radius: 4px !important;
}
