:root {
    color-scheme: light;
    --background: #eef2f7;
    --surface: #ffffff;
    --text: #172033;
    --muted: #697386;
    --border: #d8deea;
    --accent: #2563eb;
    --success: #16a34a;
    --shadow: 0 18px 45px rgba(25, 35, 55, 0.12);
}

html[data-theme="dark"] {
    color-scheme: dark;
    --background: #0f1724;
    --surface: #182231;
    --text: #edf3fb;
    --muted: #9eabbc;
    --border: #2d3a4d;
    --accent: #6ea8fe;
    --success: #4ade80;
    --shadow: 0 18px 45px rgba(0, 0, 0, 0.32);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--background);
}

button {
    padding: 0.65rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: 0.65rem;
    color: var(--text);
    background: var(--surface);
    cursor: pointer;
}

.page-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 1.5rem;
}

.test-card {
    width: min(760px, 100%);
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: 1rem;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.top-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
}

.eyebrow {
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

h1 {
    margin: 0.25rem 0 0;
    font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.lead {
    margin: 1rem 0;
    color: var(--muted);
}

.status-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem;
    border: 1px solid var(--border);
    border-radius: 0.7rem;
}

.status-dot {
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;
    background: var(--success);
}

.details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    margin-top: 1rem;
}

.details div {
    padding: 0.85rem;
    border: 1px solid var(--border);
    border-radius: 0.7rem;
}

.details span,
.details strong {
    display: block;
}

.details span {
    margin-bottom: 0.25rem;
    color: var(--muted);
    font-size: 0.75rem;
}

@media (max-width: 600px) {
    .details {
        grid-template-columns: 1fr;
    }
}
