:root {
    color-scheme: dark;
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    color: #f7f9fc;
    background:
        radial-gradient(circle at top left, #182b4a, transparent 38%),
        linear-gradient(145deg, #07101d 0%, #0c1727 55%, #09111e 100%);
}

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

.panel {
    width: min(760px, 100%);
    padding: 54px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 22px;
    background: rgba(10, 21, 37, 0.86);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(18px);
}

.brand-mark {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    font-size: 28px;
    font-weight: 750;
    background: #3478f6;
    box-shadow: 0 14px 34px rgba(52, 120, 246, 0.28);
}

.eyebrow {
    margin: 34px 0 10px;
    color: #7ea8ec;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

h1 {
    margin: 0;
    font-size: clamp(44px, 7vw, 72px);
    line-height: 1;
    letter-spacing: -0.05em;
}

.subtitle {
    margin: 18px 0 38px;
    color: #9ba9bc;
    font-size: 18px;
}

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

.status-card {
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.035);
}

.status-card span,
.status-card strong {
    display: block;
}

.status-card span {
    margin-bottom: 8px;
    color: #8d9cb0;
    font-size: 13px;
}

.status-card strong {
    font-size: 15px;
}

.online {
    color: #56d394;
}

.pending {
    color: #f0b95f;
}

footer {
    margin-top: 34px;
    color: #66758a;
    font-size: 13px;
}

@media (max-width: 650px) {
    .panel {
        padding: 34px 24px;
    }

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

.content-section {
    margin-top: 36px;
}

.content-section h2 {
    margin: 0 0 16px;
    font-size: 20px;
}

.device-list,
.audit-list {
    display: grid;
    gap: 10px;
}

.device-row,
.audit-row {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
}

.device-row > div,
.audit-row > div {
    display: grid;
    gap: 5px;
}

.device-row > div:last-child {
    text-align: right;
}

.device-row span,
.audit-row span,
.audit-row time {
    color: #8d9cb0;
    font-size: 13px;
}

.offline {
    color: #f17878;
}

.empty-state {
    padding: 18px;
    border: 1px dashed rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: #8d9cb0;
}

@media (max-width: 650px) {
    .device-row,
    .audit-row {
        flex-direction: column;
    }

    .device-row > div:last-child {
        text-align: left;
    }
}
