:root { color-scheme: dark; --bg: #0b0c0e; --panel: #131519; --line: #262a31; --muted: #9399a5; --text: #f5f7fb; --green: #68e58b; --red: #ff6572; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; }
.shell { width: min(980px, calc(100% - 40px)); margin: 0 auto; padding: 48px 0 70px; }
.topbar { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.eyebrow { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
h1 { margin: 7px 0 8px; font-size: clamp(34px, 6vw, 56px); line-height: 1; letter-spacing: -.055em; }
.intro { max-width: 660px; margin: 0; color: var(--muted); line-height: 1.55; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 32px 0 18px; }
.card, .stats, .login-card { border: 1px solid var(--line); background: var(--panel); }
.card { padding: 20px; }
.brand { font-size: 19px; font-weight: 900; }
.handle { min-height: 20px; margin: 5px 0 20px; color: var(--muted); font-size: 13px; }
.status { min-height: 18px; margin-bottom: 13px; color: var(--muted); font-size: 11px; font-weight: 900; letter-spacing: .08em; }
.status.ok { color: var(--green); }
.status.warn { color: #ffc66d; }
.button { width: 100%; display: inline-flex; align-items: center; justify-content: center; min-height: 42px; border: 1px solid #f6f7f9; border-radius: 2px; background: #f6f7f9; color: #0b0c0e; font: 800 12px inherit; letter-spacing: .04em; text-decoration: none; cursor: pointer; }
.button.secondary { border-color: var(--line); background: transparent; color: var(--text); }
.stats { padding: 6px 22px; }
.stat { display: grid; grid-template-columns: 1fr auto auto; gap: 24px; align-items: center; min-height: 58px; border-bottom: 1px solid var(--line); }
.stat:last-child { border-bottom: 0; }
.stat-value { font-size: 22px; font-weight: 900; font-variant-numeric: tabular-nums; }
.health { width: 250px; text-align: right; color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.health.ok { color: var(--green); }
.combined .stat-value { font-size: 34px; }
.combined strong { letter-spacing: -.02em; }
.footer { display: flex; justify-content: space-between; gap: 16px; margin-top: 18px; color: var(--muted); font-size: 12px; }
.footer a, .link-button { color: var(--text); background: none; border: 0; padding: 0; font: 700 12px inherit; text-decoration: none; cursor: pointer; }
.notice { display: none; margin: 20px 0 0; padding: 12px 14px; border-left: 3px solid var(--red); background: #261318; color: #ffb9bf; font-size: 13px; }
.notice.show { display: block; }
.login { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login-card { width: min(430px, 100%); padding: 30px; }
.login-card h1 { font-size: 40px; }
label { display: block; margin: 28px 0 8px; color: var(--muted); font-size: 12px; font-weight: 800; }
input { width: 100%; height: 46px; margin-bottom: 12px; border: 1px solid var(--line); border-radius: 2px; background: #090a0c; color: var(--text); padding: 0 13px; font: 600 16px inherit; }
.error { min-height: 22px; color: #ff8791; font-size: 13px; }
@media (max-width: 720px) { .cards { grid-template-columns: 1fr; } .topbar { display: block; } .stat { grid-template-columns: 1fr auto; } .health { grid-column: 1 / -1; width: auto; padding-bottom: 10px; text-align: left; } .footer { flex-direction: column; } }
