:root {
    color-scheme: light;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f3f5f7;
    color: #17202a;
}

* { box-sizing: border-box; }
body { margin: 0; }

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

.status-card {
    width: min(100%, 42rem);
    padding: clamp(1.5rem, 5vw, 3rem);
    border: 1px solid #dce2e8;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 1rem 3rem rgb(20 32 45 / 8%);
}

.status-card--wide { width: min(100%, 64rem); }
.status-card h1 { margin: 1rem 0; font-size: clamp(1.75rem, 5vw, 2.75rem); line-height: 1.1; }
.status-card p { margin: .5rem 0; color: #52606d; }

.status-indicator {
    display: block;
    width: .75rem;
    height: .75rem;
    border-radius: 50%;
    background: #238636;
    box-shadow: 0 0 0 .35rem rgb(35 134 54 / 15%);
}

.status-indicator--warning { background: #b54708; box-shadow: 0 0 0 .35rem rgb(181 71 8 / 15%); }
.table-wrap { margin-top: 1.5rem; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: .75rem; border-bottom: 1px solid #e5e9ed; white-space: nowrap; }

.form-stack { display: grid; gap: 1rem; margin-top: 1.5rem; }
label { display: grid; gap: .4rem; font-weight: 600; }
input, select, button { width: 100%; padding: .75rem; border: 1px solid #b8c2cc; border-radius: .5rem; font: inherit; }
button { width: auto; border-color: #17202a; background: #17202a; color: #fff; cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .5; }
.message { padding: .75rem; border-radius: .5rem; background: #fff6d6; }
.message--error { background: #fde8e8; color: #8a1c1c; }
dt { margin-top: .75rem; font-weight: 700; }
dd { margin: .25rem 0 0; color: #52606d; }

@media (max-width: 40rem) {
    .foundation-shell { padding: 1rem; place-items: start stretch; }
    .status-card { margin-top: 1rem; padding: 1.25rem; }
}
