.auth-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 18px;
    background:
        linear-gradient(130deg, rgba(139, 124, 255, 0.12), transparent 35%),
        linear-gradient(310deg, rgba(39, 192, 132, 0.09), transparent 36%),
        var(--ws-bg);
}

.auth-shell {
    width: min(560px, 100%);
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: stretch;
}

.auth-shell.compact {
    grid-template-columns: minmax(320px, 430px);
    justify-content: center;
}

.install-shell {
    grid-template-columns: minmax(0, .75fr) minmax(360px, 500px);
}

.auth-brand,
.auth-card {
    border: 1px solid var(--ws-border);
    border-radius: var(--ws-radius);
    background: rgba(16, 16, 16, 0.88);
    box-shadow: 0 18px 70px rgba(0, 0, 0, 0.35);
}

.auth-brand {
    min-height: auto;
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.auth-brand-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.auth-brand-row .eyebrow {
    margin: 0;
}

.auth-brand h1 {
    margin: 0 0 10px;
    font-size: 34px;
    line-height: 1;
    font-weight: 700;
}

.auth-brand p:not(.eyebrow) {
    max-width: 480px;
    margin: 0;
    color: var(--ws-muted);
    line-height: 1.55;
    font-size: 13px;
}

.auth-card {
    padding: 24px;
    align-self: start;
}

.auth-card h2 {
    margin: 0 0 6px;
    font-size: 23px;
    font-weight: 700;
}

.auth-card > .muted {
    margin: 0 0 18px;
    font-size: 13px;
}

.auth-links {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    color: var(--ws-muted);
    font-weight: 600;
    font-size: 12px;
}

.auth-links a:hover {
    color: var(--ws-text);
}

.check-row {
    display: flex;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 10px;
}

.check-row input {
    width: 18px;
    min-height: 18px;
    accent-color: var(--ws-accent);
}

@media (max-width: 860px) {
    .auth-shell,
    .install-shell {
        grid-template-columns: 1fr;
    }

    .auth-brand {
        min-height: auto;
        padding: 24px;
    }

    .auth-brand h1 {
        font-size: 34px;
    }

}

@media (max-width: 520px) {
    .auth-page {
        padding: 10px;
    }

    .auth-card {
        padding: 18px;
    }

    .auth-brand {
        padding: 18px;
    }

    .auth-brand h1 {
        font-size: 29px;
    }
}
