:root {
    --bg: #101820;
    --panel: #ffffff;
    --text: #1f2933;
    --muted: #697586;
    --accent: #176b87;
    --ok: #198754;
    --warn: #d97706;
    --error: #c2410c;
    --line: #d9e2ec;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--bg);
}

.terminal-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px;
}

.terminal-panel {
    width: min(980px, 100%);
    background: var(--panel);
    border-top: 12px solid var(--accent);
    border-radius: 8px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
    padding: clamp(24px, 4vw, 48px);
}

.terminal-heading {
    text-align: center;
}

.eyebrow,
.label {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1 {
    margin: 8px 0 6px;
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.05;
}

.subtitle {
    margin: 0;
    color: var(--muted);
    font-size: 18px;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 36px;
}

.status-box,
.activity {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
}

.status-box {
    padding: 18px;
}

.status-box strong,
.activity strong {
    display: block;
    margin-top: 8px;
    font-size: 22px;
}

.status-box small,
.activity small {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    overflow-wrap: anywhere;
}

.status-box.ok strong {
    color: var(--ok);
}

.status-box.warn strong {
    color: var(--warn);
}

.status-box.error strong {
    color: var(--error);
}

.activity {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin-top: 18px;
    overflow: hidden;
}

.activity > div {
    padding: 18px;
}

.activity > div + div {
    border-left: 1px solid var(--line);
}

.setup-note {
    margin-top: 32px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
    padding: 18px;
}

.setup-note strong {
    display: block;
    font-size: 20px;
}

.setup-note p {
    margin: 8px 0 0;
    color: var(--muted);
}

@media (max-width: 760px) {
    .terminal-shell {
        padding: 16px;
    }

    .status-grid,
    .activity {
        grid-template-columns: 1fr;
    }

    .activity > div + div {
        border-left: 0;
        border-top: 1px solid var(--line);
    }
}
