

body.theme-auditor {
  --au-slate: #64748b;
  --au-slate-deep: #475569;
  --au-slate-soft: #e2e8f0;
  --au-slate-pale: #f8fafc;
  --au-ink: #1e293b;
}

body.theme-auditor {
  background: var(--color-bg, #f1f5f9);
}

body.theme-auditor .main {
  padding: var(--space-4, 16px) var(--space-4, 16px);
}

body.theme-auditor .sidebar {
  width: 220px;
  margin: 0;
  padding: var(--space-4, 16px) var(--space-3, 12px);
  background: var(--color-surface, #ffffff);
  border-top: none;
  border-right: 1px solid var(--au-slate-soft);
  border-radius: 0;
  box-shadow: none;
}

body.theme-auditor .sidebar h2 {
  color: var(--au-ink);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin-bottom: var(--space-4, 16px);
}

body.theme-auditor .sidebar h2::before {
  content: "M";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: var(--radius-sm, 8px);
  background: var(--au-slate);
  color: #ffffff;
  font-weight: 800;
  font-size: 13px;
}

body.theme-auditor #currentAdminRoleLabel {
  background: var(--au-slate-soft);
  color: var(--au-slate-deep);
  padding: 2px 9px;
  border-radius: var(--radius-sm, 8px);
  font-weight: 700;
  font-size: 10.5px;
}

body.theme-auditor #currentAdminEmailLabel {
  color: var(--color-text-secondary, #64748b);
  font-size: 11px;
}

body.theme-auditor .sidebar-nav {
  gap: 2px;
}

body.theme-auditor .sidebar button {
  padding: 9px 12px;
  border-radius: var(--radius-sm, 8px);
  font-weight: 600;
  font-size: 13px;
  color: var(--au-slate-deep);
}

body.theme-auditor .sidebar button:hover {
  background: var(--au-slate-pale);
}


body.theme-auditor .sidebar button.active {
  background: var(--au-slate-pale);
  color: var(--au-ink);
  border-left: 3px solid var(--au-slate);
  font-weight: 700;
}

body.theme-auditor .sidebar-divider {
  background: var(--au-slate-soft);
  margin: var(--space-2, 8px) 4px;
}

body.theme-auditor .sidebar button.logout-btn {
  background: var(--color-danger-bg, #fee2e2);
  color: var(--color-danger, #dc2626);
}

body.theme-auditor .topbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: var(--space-2, 8px);
  background: var(--color-surface, #ffffff);
  padding: 8px var(--space-3, 12px);
  border-radius: var(--radius-sm, 8px);
  border-bottom: none;
  box-shadow: none;
  border: 1px solid var(--au-slate-soft);
  margin-bottom: var(--space-3, 12px);
}

body.theme-auditor .bell-wrap {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm, 8px);
  background: var(--au-slate-pale);
  color: var(--au-slate-deep);
  cursor: pointer;
}

body.theme-auditor .bell-wrap:hover {
  background: var(--au-slate-soft);
}

body.theme-auditor .bell-badge {
  background: var(--au-slate);
}

body.theme-auditor .card {
  padding: var(--space-4, 16px);
  border-radius: var(--radius-sm, 8px);
  box-shadow: none;
  border: 1px solid var(--au-slate-soft);
}

body.theme-auditor .title {
  font-size: var(--font-size-md, 15px);
  font-weight: var(--font-weight-bold, 700);
  color: var(--au-ink);
}

body.theme-auditor .stats {
  gap: var(--space-2, 8px);
}

body.theme-auditor .stat {
  color: var(--au-ink);
  background: var(--color-surface, #ffffff);
  border: 1px solid var(--au-slate-soft);
  border-left: 3px solid var(--au-slate);
  border-radius: var(--radius-sm, 8px);
  box-shadow: none;
}

body.theme-auditor .stat b {
  color: var(--au-slate-deep);
}

body.theme-auditor .stat.blue,
body.theme-auditor .stat.green,
body.theme-auditor .stat.orange {
  border-left: 3px solid var(--au-slate);
}

[data-theme="dark"] body.theme-auditor {
  --au-slate-soft: #334155;
  --au-slate-pale: #1e293b;
  --au-ink: #e2e8f0;
}

[data-theme="dark"] body.theme-auditor .sidebar {
  background: var(--color-surface);
  border-right-color: var(--au-slate-soft);
}

[data-theme="dark"] body.theme-auditor .sidebar button:hover {
  background: rgba(100, 116, 139, 0.18);
}