:root {
  --bg: #0a0e15;
  --bg-1: #0f1520;
  --bg-2: #141c2a;
  --bg-3: #1a2333;
  --line: #1f2a3b;
  --line-2: #2a3648;
  --text: #e6ebf2;
  --text-2: #9aa7ba;
  --text-3: #66738a;
  --accent: #38bdf8;
  --accent-2: #0ea5e9;
  --teal: #2dd4bf;
  --ok: #22c55e;
  --warn: #f5a524;
  --bad: #f43f5e;
  --purple: #a78bfa;
  --pink: #f472b6;
  --orange: #fb923c;
  --radius: 10px;
  --radius-sm: 6px;
  --font: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --sidebar: 236px;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: var(--bg); color: var(--text); font-family: var(--font); font-size: 13.5px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }
.mono { font-family: var(--mono); font-size: 12.5px; }
.muted { color: var(--text-2); }
.dim { color: var(--text-3); }
.right { text-align: right; }
.nowrap { white-space: nowrap; }
.hint { color: var(--text-3); font-size: 12px; }
kbd { font-family: var(--mono); font-size: 11px; border: 1px solid var(--line-2); border-radius: 4px; padding: 0 5px; color: var(--text-3); }

/* ---------------------------------------------------------------- shell */
.shell { display: grid; grid-template-columns: var(--sidebar) 1fr; min-height: 100vh; }
.sidebar { background: var(--bg-1); border-right: 1px solid var(--line); display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.brand { display: flex; align-items: center; gap: 10px; padding: 18px 18px 14px; border-bottom: 1px solid var(--line); }
.brand-mark { width: 30px; height: 30px; border-radius: 8px; background: linear-gradient(135deg, var(--accent), var(--teal)); display: grid; place-items: center; color: #06202b; font-size: 18px; }
.brand-text { font-size: 17px; font-weight: 500; letter-spacing: -0.02em; }
.brand-text strong { font-weight: 700; }
.brand-env { margin-left: auto; font-size: 10px; color: var(--text-3); border: 1px solid var(--line-2); border-radius: 999px; padding: 1px 7px; }
.nav { padding: 10px 10px; display: flex; flex-direction: column; gap: 2px; flex: 1; overflow: auto; }
.nav-group { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.09em; color: var(--text-3); padding: 14px 10px 6px; }
.nav-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: var(--text-2); font-weight: 500; }
.nav-item i { font-size: 18px; width: 20px; text-align: center; }
.nav-item:hover { background: var(--bg-2); color: var(--text); }
.nav-item.active { background: rgba(56, 189, 248, 0.10); color: var(--accent); }
.nav-live, .nav-badge { margin-left: auto; font-size: 10.5px; font-weight: 600; border-radius: 999px; padding: 1px 7px; }
.nav-live:not(:empty) { background: rgba(244, 63, 94, 0.18); color: var(--bad); }
.nav-badge:not(:empty) { background: rgba(245, 165, 36, 0.18); color: var(--warn); }
.nav-badge.crit:not(:empty) { background: rgba(244, 63, 94, 0.18); color: var(--bad); }
.sidebar-foot { padding: 14px 18px 16px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--text-3); }
.conn { display: flex; align-items: center; gap: 8px; color: var(--text-2); margin-bottom: 6px; }
.conn .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-3); }
.conn.live .dot { background: var(--ok); box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18); animation: pulse 1.8s infinite; }
.conn.reconnecting .dot { background: var(--warn); }
.conn.off .dot { background: var(--bad); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.35);} 70% { box-shadow: 0 0 0 6px rgba(34,197,94,0);} 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0);} }

.main { min-width: 0; display: flex; flex-direction: column; }
.topbar { display: flex; align-items: center; gap: 18px; padding: 14px 26px; border-bottom: 1px solid var(--line); background: rgba(10, 14, 21, 0.85); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 20; }
.topbar h1 { font-size: 18px; }
.subtitle { color: var(--text-2); font-size: 12.5px; margin-top: 2px; }
.search { margin-left: auto; display: flex; align-items: center; gap: 8px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; width: 320px; color: var(--text-3); }
.search input { background: transparent; border: 0; outline: 0; color: var(--text); flex: 1; font: inherit; }
.search:focus-within { border-color: var(--accent-2); }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--bg-3); border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 11px; font-weight: 600; color: var(--text-2); }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--bg-2); }
.seg a, .seg button { padding: 6px 11px; font-size: 12px; color: var(--text-2); border: 0; background: transparent; cursor: pointer; font: inherit; }
.seg a.on, .seg button.on { background: var(--bg-3); color: var(--text); font-weight: 600; }
.content { padding: 22px 26px 40px; display: flex; flex-direction: column; gap: 18px; }

/* ---------------------------------------------------------------- buttons, inputs */
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text); font: inherit; font-size: 12.5px; font-weight: 500; cursor: pointer; }
.btn:hover { border-color: var(--accent-2); color: var(--text); }
.btn-danger { background: rgba(244, 63, 94, 0.14); border-color: rgba(244, 63, 94, 0.35); color: #fb7185; }
.btn-danger:hover { background: rgba(244, 63, 94, 0.22); border-color: var(--bad); }
.btn-sm { padding: 4px 8px; font-size: 12px; }
.icon-btn { background: transparent; border: 0; color: var(--text-2); cursor: pointer; font-size: 18px; }
.input { width: 100%; background: var(--bg); border: 1px solid var(--line-2); border-radius: 8px; padding: 8px 10px; color: var(--text); font: inherit; outline: 0; }
.input:focus { border-color: var(--accent-2); }
select.input { appearance: auto; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--text-2); font-weight: 500; }

/* ---------------------------------------------------------------- cards + grids */
.grid { display: grid; gap: 16px; }
.g-kpi { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.g-2 { grid-template-columns: 1fr 1fr; }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-main { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.g-main-r { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.card { background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; min-width: 0; }
.card-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.card-head h3 { font-size: 13px; font-weight: 600; color: var(--text); }
.card-head .sub { color: var(--text-3); font-size: 12px; }
.card-head .spacer { flex: 1; }
.card-body { padding: 14px 16px; }
.card-body.tight { padding: 0; overflow-x: auto; }
.table td.chips { white-space: nowrap; }
.table td.chips .tag { margin-right: 4px; }
.table td a > b { white-space: nowrap; }
.card-foot { padding: 10px 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--text-3); display: flex; gap: 10px; align-items: center; }

.kpi { background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; position: relative; overflow: hidden; }
.kpi::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--kpi-color, var(--accent)); }
.kpi .label { color: var(--text-2); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.kpi .label i { font-size: 14px; color: var(--kpi-color, var(--accent)); }
.kpi .value { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.kpi .value small { font-size: 13px; font-weight: 500; color: var(--text-2); margin-left: 4px; }
.kpi .foot { color: var(--text-3); font-size: 11.5px; display: flex; gap: 6px; align-items: center; }
.kpi .delta { font-weight: 600; }
.kpi .delta.up { color: var(--bad); }
.kpi .delta.down { color: var(--ok); }
.kpi.c-danger { --kpi-color: var(--bad); }
.kpi.c-warn { --kpi-color: var(--warn); }
.kpi.c-ok { --kpi-color: var(--ok); }
.kpi.c-purple { --kpi-color: var(--purple); }
.kpi.c-teal { --kpi-color: var(--teal); }

/* ---------------------------------------------------------------- tables */
.table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.table th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-3); font-weight: 600; padding: 9px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 8px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: rgba(255, 255, 255, 0.02); }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.table a.ip { font-family: var(--mono); font-size: 12.5px; color: var(--text); }
.table a.ip:hover { color: var(--accent); }
.table.dense td { padding: 6px 12px; }
.row-link { cursor: pointer; }

/* ---------------------------------------------------------------- badges */
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; white-space: nowrap; letter-spacing: 0.01em; }
.b-ssh { background: rgba(167, 139, 250, 0.16); color: #c4b5fd; }
.b-probing { background: rgba(56, 189, 248, 0.16); color: #7dd3fc; }
.b-bot { background: rgba(45, 212, 191, 0.16); color: #5eead4; }
.b-attack { background: rgba(244, 63, 94, 0.18); color: #fda4af; }
.b-bf { background: rgba(251, 146, 60, 0.18); color: #fdba74; }
.b-cve { background: rgba(244, 114, 182, 0.18); color: #f9a8d4; }
.b-dos { background: rgba(245, 165, 36, 0.18); color: #fcd34d; }
.b-default { background: var(--bg-3); color: var(--text-2); }
.o-local { background: rgba(56, 189, 248, 0.16); color: #7dd3fc; }
.o-capi { background: rgba(167, 139, 250, 0.16); color: #c4b5fd; }
.o-manual { background: rgba(245, 165, 36, 0.18); color: #fcd34d; }
.o-list { background: rgba(45, 212, 191, 0.16); color: #5eead4; }
.tag { display: inline-block; font-size: 11px; padding: 1px 7px; border-radius: 5px; background: var(--bg-3); color: var(--text-2); border: 1px solid var(--line-2); }
.flag { font-size: 14px; line-height: 1; }
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--text-3); margin-right: 6px; vertical-align: middle; }
.status-dot.ok { background: var(--ok); box-shadow: 0 0 0 3px rgba(34,197,94,.15); }
.status-dot.warn { background: var(--warn); box-shadow: 0 0 0 3px rgba(245,165,36,.15); }
.status-dot.bad { background: var(--bad); box-shadow: 0 0 0 3px rgba(244,63,94,.15); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 12px; color: var(--text-2); background: var(--bg-2); }
.pill.ok { color: #86efac; border-color: rgba(34,197,94,.35); }
.pill.warn { color: #fcd34d; border-color: rgba(245,165,36,.35); }
.pill.bad { color: #fda4af; border-color: rgba(244,63,94,.35); }

/* ---------------------------------------------------------------- bars, meters */
.bar { height: 6px; background: var(--bg-3); border-radius: 999px; overflow: hidden; min-width: 60px; }
.bar > i { display: block; height: 100%; background: var(--accent); border-radius: 999px; transition: width .6s ease; }
.bar.warn > i { background: var(--warn); }
.bar.bad > i { background: var(--bad); }
.hbar-list { display: flex; flex-direction: column; gap: 9px; }
.hbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; align-items: center; font-size: 12.5px; }
.hbar .hbar-label { display: flex; align-items: center; gap: 8px; min-width: 0; }
.hbar .hbar-label span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hbar .hbar-count { font-variant-numeric: tabular-nums; color: var(--text-2); font-size: 12px; }
.hbar .hbar-track { grid-column: 1 / -1; height: 5px; background: var(--bg-3); border-radius: 999px; overflow: hidden; }
.hbar .hbar-track > i { display: block; height: 100%; background: var(--hbar-color, var(--accent)); }
.meter { display: flex; align-items: center; gap: 8px; }
.meter .bar { flex: 1; }
.meter span { font-variant-numeric: tabular-nums; width: 36px; text-align: right; font-size: 12px; color: var(--text-2); }

/* ---------------------------------------------------------------- live feed */
.feed { display: flex; flex-direction: column; }
.feed-row { display: grid; grid-template-columns: 64px 92px minmax(0, 1fr) 96px 80px 48px; gap: 10px; align-items: center; padding: 7px 14px; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--text); }
.feed-row:hover { background: rgba(255,255,255,.02); color: var(--text); }
.feed-row .feed-time { color: var(--text-3); }
.feed-row .feed-main { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed-row .feed-node { color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed-row .feed-geo { display: flex; gap: 6px; align-items: center; }
.feed-row .feed-events { text-align: right; }
.feed-row.flash { animation: flash 1.6s ease-out; }
@keyframes flash { from { background: rgba(56, 189, 248, 0.16); } to { background: transparent; } }

/* ---------------------------------------------------------------- charts */
.chart { position: relative; width: 100%; min-width: 0; }
.chart.h-220 { height: 220px; }
.chart.h-260 { height: 260px; }
.chart.h-160 { height: 160px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 11.5px; color: var(--text-2); }
.legend i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; }
.donut-wrap { display: grid; grid-template-columns: 140px 1fr; gap: 14px; align-items: center; }
.donut-wrap .chart { height: 140px; }
.map { position: relative; height: 300px; }
.map svg { width: 100%; height: 100%; }
.map .land { fill: #172033; stroke: #223049; stroke-width: 0.5; }
.map .bubble { fill: rgba(244, 63, 94, 0.35); stroke: #fb7185; stroke-width: 0.8; }
.map .bubble:hover { fill: rgba(244, 63, 94, 0.6); }
.map .node { fill: #38bdf8; stroke: #0a0e15; stroke-width: 1; }
.map-legend { position: absolute; left: 12px; bottom: 10px; font-size: 11px; color: var(--text-3); display: flex; gap: 12px; }
.map-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 5px; vertical-align: -1px; }

/* ---------------------------------------------------------------- filters, chips, pagination */
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filters .input { width: auto; min-width: 160px; padding: 6px 10px; font-size: 12.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; padding: 3px 9px; border-radius: 999px; background: rgba(56, 189, 248, 0.12); color: #7dd3fc; border: 1px solid rgba(56, 189, 248, 0.25); }
.chip a { color: inherit; opacity: .7; }
.chip a:hover { opacity: 1; }
.pager { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-2); }
.pager a { padding: 4px 8px; border: 1px solid var(--line-2); border-radius: 6px; }
.pager a.disabled { opacity: .35; pointer-events: none; }

/* ---------------------------------------------------------------- misc blocks */
.issues { display: flex; flex-direction: column; }
.issue { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--line); align-items: start; }
.issue:last-child { border-bottom: 0; }
.issue .sev { width: 8px; height: 8px; border-radius: 50%; margin-top: 6px; }
.issue .title { font-weight: 600; }
.issue .desc { color: var(--text-2); font-size: 12.5px; margin-top: 2px; }
.issue .hint { margin-top: 6px; }
.sev-critical .sev, .sev-critical.tag { background: var(--bad); }
.sev-important .sev { background: var(--warn); }
.sev-recommended .sev { background: var(--accent); }
.sev-info .sev { background: var(--text-3); }
.sevtag { font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; padding: 2px 7px; border-radius: 5px; }
.sevtag.sev-critical { background: rgba(244,63,94,.18); color: #fda4af; }
.sevtag.sev-important { background: rgba(245,165,36,.18); color: #fcd34d; }
.sevtag.sev-recommended { background: rgba(56,189,248,.16); color: #7dd3fc; }
.sevtag.sev-info { background: var(--bg-3); color: var(--text-2); }

.node-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.node-card { background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.node-card:hover { border-color: var(--line-2); color: var(--text); }
.node-card .nc-head { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.node-card .nc-meta { color: var(--text-3); font-size: 11.5px; display: flex; gap: 8px; }
.node-card .nc-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; font-size: 11.5px; color: var(--text-2); }
.node-card .nc-stats b { display: block; color: var(--text); font-size: 14px; font-variant-numeric: tabular-nums; }

.kv { display: grid; grid-template-columns: 140px 1fr; gap: 8px 14px; font-size: 12.5px; }
.kv dt { color: var(--text-3); }
.kv dd { margin: 0; }
.log { font-family: var(--mono); font-size: 12px; line-height: 1.55; }
.log-line { display: grid; grid-template-columns: 78px 96px 72px minmax(0, 1fr); gap: 12px; padding: 3px 14px; border-bottom: 1px solid rgba(31,42,59,.6); white-space: pre-wrap; word-break: break-all; }
.log-line .t { color: var(--text-3); }
.log-line .n { color: var(--accent); }
.log-line .s { color: var(--text-2); }
.log-line.warn .l { color: #fcd34d; }
.log-line.flash { animation: flash 1.2s ease-out; }
.log-view { max-height: 70vh; overflow: auto; }
.timeline { display: flex; flex-direction: column; gap: 0; position: relative; padding-left: 18px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 2px; background: var(--line-2); }
.tl-item { position: relative; padding: 4px 0 12px; }
.tl-item::before { content: ""; position: absolute; left: -17px; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); border: 2px solid var(--bg-1); }
.tl-item .tl-time { color: var(--text-3); font-size: 11.5px; }
.rep { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font-weight: 700; font-size: 14px; border: 3px solid var(--rep-color, var(--warn)); color: var(--rep-color, var(--warn)); }
.big-ip { font-family: var(--mono); font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.stat-row { display: flex; gap: 26px; flex-wrap: wrap; }
.stat-row .stat b { display: block; font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
.stat-row .stat span { color: var(--text-3); font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; }
.empty { padding: 28px; text-align: center; color: var(--text-3); }
.flash-msg { padding: 10px 14px; border-radius: 8px; font-size: 12.5px; border: 1px solid; }
.flash-msg.ok { background: rgba(34,197,94,.1); border-color: rgba(34,197,94,.3); color: #86efac; }
.flash-msg.error { background: rgba(244,63,94,.1); border-color: rgba(244,63,94,.3); color: #fda4af; }
code { font-family: var(--mono); font-size: 12px; background: var(--bg-3); padding: 1px 5px; border-radius: 4px; }
pre { font-family: var(--mono); font-size: 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; overflow: auto; margin: 0; }

/* ---------------------------------------------------------------- modal, toasts */
.modal { position: fixed; inset: 0; background: rgba(4, 7, 12, 0.7); display: grid; place-items: center; z-index: 50; }
.modal[hidden] { display: none; }
.modal-card { width: 420px; background: var(--bg-1); border: 1px solid var(--line-2); border-radius: 12px; padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; }
.modal-card form { display: flex; flex-direction: column; gap: 12px; }
.modal-head { display: flex; align-items: center; justify-content: space-between; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; }
.toasts { position: fixed; right: 20px; bottom: 20px; display: flex; flex-direction: column; gap: 8px; z-index: 60; }
.toast { background: var(--bg-2); border: 1px solid var(--line-2); border-left: 3px solid var(--accent); border-radius: 8px; padding: 10px 14px; font-size: 12.5px; opacity: 0; transform: translateY(8px); transition: all .25s ease; min-width: 300px; }
.toast.danger { border-left-color: var(--bad); }
.toast.show { opacity: 1; transform: none; }

@media (max-width: 1400px) { .g-kpi { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1100px) { .g-main, .g-main-r, .g-2, .g-3, .g-4 { grid-template-columns: 1fr; } .search { width: 220px; } }

/* ---- login and accounts ---- */
.btn-primary { background: rgba(56, 189, 248, 0.14); border-color: rgba(56, 189, 248, 0.4); color: var(--accent); }
.btn-primary:hover { background: rgba(56, 189, 248, 0.24); border-color: var(--accent); }
.login-shell { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at 30% 20%, rgba(56, 189, 248, 0.08), transparent 45%), var(--bg); }
.login-card { width: min(380px, 100%); background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.login-card .brand { display: flex; align-items: center; gap: 10px; }
.login-card .btn { justify-content: center; padding: 9px 12px; }
.form-stack { display: flex; flex-direction: column; gap: 12px; max-width: 440px; }
.inline-form { display: inline-flex; align-items: center; gap: 6px; }
.inline-form.row { flex-wrap: nowrap; }
.input-sm { width: auto; padding: 4px 8px; font-size: 12px; }
.user-menu { display: flex; align-items: center; gap: 10px; }
.user-menu .who { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.25; font-size: 12px; }
.user-menu .who b { color: var(--text); font-weight: 600; }
.user-menu .who span { color: var(--text-3); font-size: 11px; }
.user-menu .avatar { text-decoration: none; text-transform: uppercase; }
.user-menu .avatar:hover { border-color: var(--accent-2); color: var(--text); }
