:root {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #e5e7eb;
    background: #0b1020;
}

* { box-sizing: border-box; }
body { margin: 0; background: #0b1020; color: #e5e7eb; }
a { color: inherit; }

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    border-bottom: 1px solid #26304a;
    background: #11182a;
}
.topbar strong { margin-right: .75rem; letter-spacing: .08em; }
.topbar span { color: #94a3b8; font-size: .9rem; }
.container { width: min(1180px, calc(100% - 2rem)); margin: 2rem auto; }
.hero { display: flex; justify-content: space-between; gap: 2rem; align-items: end; margin-bottom: 1.5rem; }
.hero h1 { margin: .15rem 0; font-size: clamp(2rem, 6vw, 4rem); }
.hero p { color: #aeb9cd; max-width: 700px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; color: #60a5fa !important; font-weight: 700; }
.card, .status-card, .login-card {
    background: #11182a;
    border: 1px solid #26304a;
    border-radius: 16px;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 18px 50px rgba(0,0,0,.18);
}
.status-card { min-width: 180px; margin: 0; }
.status-label { display: block; color: #94a3b8; font-size: .78rem; margin-bottom: .35rem; }
.safe { color: #4ade80; }
.danger, .warning { color: #fca5a5; }
.card-heading { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.card h2 { margin-top: 0; }
code { color: #bfdbfe; overflow-wrap: anywhere; }
button { font: inherit; }
.primary, .link-button {
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    padding: .75rem 1rem;
}
.primary { background: #2563eb; color: white; font-weight: 700; }
.primary:hover { background: #1d4ed8; }
.link-button { background: transparent; color: #cbd5e1; }
.full { width: 100%; margin-top: 1rem; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: .8rem .7rem; border-bottom: 1px solid #26304a; text-align: left; white-space: nowrap; }
th { color: #94a3b8; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.error-row td { color: #fecaca; background: rgba(127,29,29,.18); white-space: normal; }
.message { padding: .9rem 1rem; margin-bottom: 1rem; border-radius: 10px; background: #1e293b; }
.message.success { border-left: 4px solid #22c55e; }
.message.error { border-left: 4px solid #ef4444; }
.login-card { max-width: 420px; margin: 8vh auto; }
.login-card label { display: block; margin: 1rem 0 .35rem; color: #cbd5e1; }
.login-card input { width: 100%; border: 1px solid #334155; border-radius: 10px; padding: .75rem; background: #0f172a; color: white; }

@media (max-width: 720px) {
    .topbar span { display: none; }
    .hero, .card-heading { align-items: stretch; flex-direction: column; }
    .status-card { min-width: 0; }
}
