body {
    margin: 0;
    min-height: 50vh;
    font-family: "Ubuntu", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

a {
    color: inherit;
    text-decoration: none;
}

.hidden {
    display: none !important;
}

.login-screen {
    background: #35414d;
    color: #cad1d8;
}

.login-layout {
    width: min(100%, 460px);
    margin: 0 auto;
    padding: 22vh 20px 40px;
}

.login-layout__title {
    margin: 0 0 16px;
    text-align: center;
    font-size: 1.85rem;
    font-weight: 700;
    color: #f0ebe6;
}

.login-card {
    background: #f7f7f7;
    border-radius: 6px;
    padding: 26px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.15);
    color: #54606c;
}

.login-form {
    display: grid;
    gap: 14px;
}

.login-form label {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #6a7886;
}

.login-form input {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #c5ced8;
    border-radius: 4px;
    background: #fff;
    color: #374553;
    font: inherit;
    outline: none;
}

.login-form input:focus {
    border-color: #4d88e8;
    box-shadow: 0 0 0 2px rgba(77, 136, 232, 0.14);
}

.login-submit {
    margin-top: 4px;
    border: 0;
    border-radius: 4px;
    padding: 13px 16px;
    background: #4a80e2;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.login-submit:hover {
    background: #3e72d0;
}

.alert {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 4px;
    line-height: 1.5;
}

.alert--danger {
    color: #fff;
    background: #d64242;
    border: 1px solid #8b2626;
}

.ptero-shell {
    background: #36424f;
    color: #cad1d8;
}

.topbar {
    background: #1d2630;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, .12), 0 2px 4px 0 rgba(0, 0, 0, .08);
}

.topbar__inner {
    display: flex;
    align-items: center;
    gap: 18px;
    max-width: 1160px;
    min-height: 54px;
    margin: 0 auto;
    padding: 0 18px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand__mark {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: #4e5b6b;
    color: #eef3f8;
    font-size: 0.88rem;
    font-weight: 700;
}

.brand__title {
    color: #f0ebe6;
    font-size: 1.25rem;
    font-weight: 700;

}

.topbar__spacer {
    flex: 1;
}

.topbar__actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(9, 154, 165, 0.18);
    color: #cad1d8;
    font-size: 0.8rem;
    font-weight: 700;
}

.live-badge::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: currentColor;
}

.live-badge.online {
    color: #21c7b7;
}

.live-badge.offline {
    color: #f0b050;
}

.link-button {
    border: 0;
    background: transparent;
    color: #cfd7df;
    font: inherit;
    cursor: pointer;
}

.content-wrap {
    max-width: 1160px;
    margin: 0 auto;
    padding: 24px 18px 40px;
}

.page-head {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 20px;
    margin-bottom: 22px;
}

.page-head__eyebrow {
    color: #a5b1bd;
    font-size: 0.76rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.page-head h1 {
    margin: 8px 0 8px;
    color: #ecf0f4;
    font-size: clamp(2.35rem, 4vw, 3rem);
    font-weight: 700;
}

.page-head__meta {
    margin: 0;
    color: #dde3ea;
    font-size: 0.95rem;
}

.rows {
    display: grid;
    gap: 10px;
}

.row {
    display: grid;
    grid-template-columns: 80px minmax(210px, 1.45fr) minmax(140px, 0.9fr) minmax(140px, 0.9fr) minmax(220px, 1fr) 8px;
    align-items: center;
    gap: 16px;
    min-height: 84px;
    padding: 12px 14px;
    background: #556273;
    border-radius: 4px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, .12), 0 2px 4px 0 rgba(0, 0, 0, .08);
}

.row--summary {
    background: #596777;
}

.row__icon {
    display: inline-grid;
    place-items: center;
    width: 62px;
    height: 39px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.09);
    color: #eef3f8;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.row__name,
.row__stat {
    align-self: center;
}

.row__name strong {
    display: block;
    margin-bottom: 5px;
    color: #fff;
    font-size: 0.96rem;
    font-weight: 700;
}

.row__name span {
    color: #e1e7ee;
    line-height: 1.35;
    font-size: 0.92rem;
}

.row__stat span,
.row__stat small {
    display: block;
    color: #b7c0ca;
}

.row__stat span {
    font-size: 0.8rem;
}

.row__stat strong {
    display: block;
    margin-top: 3px;
    color: #fff;
    font-size: 0.94rem;
    font-weight: 700;
    line-height: 1.3;
}

.row__stat small {
    margin-top: 4px;
    font-size: 0.77rem;
}

.row__stat--bar {
    min-width: 180px;
}

.progress {
    width: 100%;
    height: 9px;
    margin-top: 8px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.16);
}

.progress span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #16accf, #45b5ef);
}

.row__accent {
    width: 8px;
    height: 100%;
    min-height: 56px;
    border-radius: 999px;
    background: #1fbf74;
}

.row__accent--info {
    background: #18b7c7;
}

.row__accent--warn {
    background: #e5a24a;
}

.row__accent--danger {
    background: #d75c67;
}

@media (max-width: 1120px) {
    .login-layout {
        padding-top: 10vh;
    }

    .row {
        grid-template-columns: 80px minmax(220px, 1fr) minmax(150px, 1fr) minmax(150px, 1fr);
    }

    .row__stat--bar,
    .row__accent {
        grid-column: 2 / -1;
    }

    .row__accent {
        width: 100%;
        height: 6px;
        min-height: 6px;
    }
}

@media (max-width: 820px) {
    .page-head {
        flex-direction: column;
    }
}

@media (max-width: 680px) {
    .login-layout {
        padding: 12vh 14px 24px;
    }

    .topbar__inner {
        padding: 0 14px;
    }

    .content-wrap {
        padding: 18px 14px 28px;
    }

    .row {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .row__icon {
        width: 58px;
        height: 36px;
    }

    .row__accent {
        width: 100%;
        height: 6px;
        min-height: 6px;
    }
}
