:root { --sidebar-w: 248px; --ink: #1c2230; --muted: #667085; --line: #e6e8ec; --bg: #f6f7f9; --brand: #2a78d6; --side: #141a26; }
body { font-family: Inter, system-ui, sans-serif; background: var(--bg); color: var(--ink); font-size: 14px; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: var(--sidebar-w); background: var(--side); color: #cdd3de; overflow-y: auto; z-index: 1040; transition: transform .2s; }
.sidebar .brand { font-weight: 700; color: #fff; padding: 18px 20px; font-size: 16px; }
.sidebar .side-label { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: #8791a3; padding: 14px 20px 6px; }
.side-nav { list-style: none; margin: 0; padding: 0 10px 16px; }
.side-nav a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; color: #cdd3de; border-radius: 6px; text-decoration: none; }
.side-nav a:hover { background: #1f2738; color: #fff; }
.side-nav a.active { background: var(--brand); color: #fff; }
.site-switch { padding: 0 16px 8px; }
.main { margin-left: var(--sidebar-w); min-height: 100vh; }
.topbar { display: flex; align-items: center; gap: 12px; background: #fff; border-bottom: 1px solid var(--line); padding: 10px 24px; }
.content { padding: 24px; max-width: 1400px; }
.page-title { font-size: 20px; font-weight: 700; margin: 0; }
.page-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.card { border: 1px solid var(--line); border-radius: 10px; box-shadow: none; }
.card-header { background: #fff; font-weight: 600; border-bottom: 1px solid var(--line); }
.stat .label { color: var(--muted); font-size: 12px; }
.stat .value { font-size: 26px; font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; }
.stat .value.unavailable, .unavailable { color: var(--muted); font-size: 12px; font-weight: 400; }
.table { font-size: 13px; margin-bottom: 0; }
.table th { color: var(--muted); font-weight: 600; white-space: nowrap; }
.table td.num, .table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.url-cell { max-width: 340px; word-break: break-all; }
.sev { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.sev-critical { background: #fde8e8; color: #9b1c1c; }
.sev-high { background: #feecdc; color: #8a3a0b; }
.sev-medium { background: #fdf6b2; color: #723b13; }
.sev-low { background: #e1effe; color: #1e429f; }
.sev-informational { background: #f0f1f3; color: #4b5563; }
.chart-box { position: relative; height: 240px; }
.note { color: var(--muted); font-size: 12px; }
pre.code { background: #f0f1f3; padding: 8px 10px; border-radius: 6px; margin: 6px 0; white-space: pre-wrap; word-break: break-all; font-size: 12px; }
.auth-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 16px; }
.auth-card { width: 100%; max-width: 400px; }
@media (max-width: 991.98px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.show { transform: none; }
  .main { margin-left: 0; }
  .content { padding: 16px; }
}
@media print { .sidebar, .topbar, .no-print { display: none !important; } .main { margin: 0; } }
