* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f6f8;
    color: #17202a;
}

.topbar {
    min-height: 76px;
    padding: 16px 32px;
    background: #111827;
    color: white;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    font-size: 21px;
    font-weight: 800;
    letter-spacing: 1px;
}

.subtitle {
    margin-top: 4px;
    color: #aeb8c7;
    font-size: 13px;
}

.system-status {
    padding: 8px 13px;
    border-radius: 20px;
    background: #173c2c;
    color: #8ff0b8;
    font-size: 13px;
}

.container {
    max-width: 1280px;
    margin: auto;
    padding: 36px 28px;
}

.hero {
    margin-bottom: 28px;
}

.eyebrow {
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

h1 {
    margin: 7px 0 8px;
    font-size: 34px;
}

h2 {
    margin: 6px 0 0;
}

.hero p {
    margin: 0;
    color: #64748b;
}

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

.card,
.panel {
    background: white;
    border: 1px solid #e4e9ef;
    border-radius: 12px;
}

.card {
    padding: 22px;
}

.card-label {
    color: #64748b;
    font-size: 13px;
}

.card-value {
    margin-top: 10px;
    font-size: 20px;
    font-weight: 700;
}

.card-note {
    margin-top: 8px;
    color: #94a3b8;
    font-size: 12px;
}

.panel {
    margin-top: 22px;
    padding: 24px;
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

button {
    border: 0;
    border-radius: 8px;
    padding: 11px 18px;
    background: #dbe2ea;
    color: #7b8794;
    font-weight: 700;
}

.flow {
    margin-top: 28px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.flow-node {
    flex: 1;
    padding: 20px;
    text-align: center;
    border-radius: 9px;
    background: #f7f9fb;
    border: 1px solid #e5e9ef;
}

.flow-node strong,
.flow-node span {
    display: block;
}

.flow-node span {
    margin-top: 6px;
    color: #7b8794;
    font-size: 12px;
}

.arrow {
    color: #94a3b8;
    font-size: 23px;
}

footer {
    padding: 24px;
    text-align: center;
    color: #94a3b8;
    font-size: 12px;
}

@media (max-width: 900px) {
    .status-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .flow {
        flex-direction: column;
    }

    .flow-node {
        width: 100%;
    }

    .arrow {
        transform: rotate(90deg);
    }
}

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

    .topbar {
        padding: 15px 18px;
    }

    .container {
        padding: 24px 16px;
    }
}
