

:is(.auth-body, .login-page),
:is(.auth-body, .login-page) * {
    box-sizing: border-box;
}

:is(.auth-body, .login-page) {
    display: grid;
    place-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 28px;
    font-family: "Segoe UI Variable", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0;
    font-optical-sizing: auto;
    font-synthesis: none;
    text-rendering: auto;
}

:is(.auth-shell, .login-shell) {
    display: grid;
    width: min(1040px, calc(100vw - 56px));
    max-width: 1040px;
    min-height: 610px;
    grid-template-columns: 52.5% 47.5%;
    align-items: stretch;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line, rgba(148, 163, 184, .25));
    border-radius: 22px;
    background: var(--surface, var(--panel, #fff));
    box-shadow: 0 35px 90px var(--sidebar-shadow, rgba(0, 0, 0, .35));
}

:is(.auth-brand, .login-brand) {
    display: flex;
    min-width: 0;
    min-height: 610px;
    flex-direction: column;
    justify-content: center;
    padding: 58px;
    color: #fff;
}

:is(.auth-brand, .login-brand) :is(.auth-suite-logo, .login-suite-logo) {
    display: block;
    width: min(360px, 100%);
    height: 126px;
    max-width: none;
    max-height: none;
    margin: 0 0 28px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    object-fit: contain;
    object-position: left center;
    filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .24));
    transform: none;
}

:is(.auth-brand, .login-brand) .eyebrow {
    display: block;
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-shadow: none;
}

:is(.auth-brand, .login-brand) h1 {
    margin: 5px 0 12px;
    font-size: 43px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -.02em;
    text-shadow: none;
}

:is(.auth-brand, .login-brand) p {
    max-width: 440px;
    margin: 0;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.55;
    letter-spacing: 0;
    text-shadow: none;
}

:is(.archive-badge, .production-domain-badge, .auth-domain-badge) {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    min-height: 34px;
    margin-top: 28px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .04em;
    white-space: nowrap;
}

:is(.auth-card, .login-card) {
    display: flex;
    min-width: 0;
    min-height: 610px;
    align-self: stretch;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    padding: 54px;
    color: var(--ink-900, var(--text, #111827));
    background: var(--surface, var(--panel, #fff));
    text-shadow: none;
}

:is(.auth-mobile-logo, .login-mobile-logo) {
    display: none;
    width: 100%;
    height: 112px;
    margin: 0 auto 20px;
    object-fit: contain;
}

:is(.auth-theme-row, .login-theme-row) {
    display: flex;
    min-height: 39px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 0 0 22px;
    padding: 0 0 16px;
    border-bottom: 1px solid var(--line, rgba(148, 163, 184, .28));
}

:is(.auth-theme-row, .login-theme-row) > span {
    color: var(--ink-500, var(--muted, #64748b));
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .1em;
    text-transform: uppercase;
}

:is(.auth-card, .login-card) .theme-dots {
    display: flex;
    align-items: center;
    gap: 10px;
}

:is(.auth-card, .login-card) .theme-dot {
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    margin: 0;
    padding: 0;
}

:is(.auth-card, .login-card) .auth-heading .eyebrow {
    display: block;
    margin: 0;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .12em;
    text-transform: uppercase;
}

:is(.auth-card, .login-card) .auth-heading h2 {
    margin: 4px 0 6px;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.018em;
}

:is(.auth-card, .login-card) .auth-heading p {
    margin: 0 0 24px;
    color: var(--ink-500, var(--muted, #64748b));
    font-size: 13px;
    font-weight: 400;
    line-height: 1.55;
    letter-spacing: 0;
}

:is(.auth-card, .login-card) :is(.stack-form, .form-stack) {
    display: grid;
    gap: 15px;
    margin: 0;
}

:is(.auth-card, .login-card) :is(.stack-form, .form-stack) > label:not(.check-row):not(.checkbox-row) {
    display: grid;
    gap: 6px;
    margin: 0;
    color: var(--ink-700, var(--text, #334155));
    font-size: 11px;
    font-weight: 600;
    line-height: 1.25;
}

:is(.auth-card, .login-card) :is(.stack-form, .form-stack) > label:not(.check-row):not(.checkbox-row) > span {
    font: inherit;
    color: inherit;
}

:is(.auth-card, .login-card) :is(input[type="text"], input[type="email"], input[type="password"]) {
    display: block;
    width: 100%;
    min-width: 0;
    height: 40px;
    min-height: 40px;
    margin: 0;
    padding: 8px 10px;
    border-width: 1px;
    border-style: solid;
    border-radius: 8px;
    font: inherit;
    font-size: 13px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0;
    box-shadow: none;
    transform: none;
}

:is(.auth-card, .login-card) :is(input[type="text"], input[type="email"], input[type="password"]):focus {
    outline: 2px solid color-mix(in srgb, var(--accent, var(--blue-600, #2563eb)) 24%, transparent);
    outline-offset: 1px;
    box-shadow: none;
}

:is(.auth-card, .login-card) .auth-login-options {
    display: flex;
    min-height: 24px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 0;
}

:is(.auth-card, .login-card) .auth-login-options > :is(.check-row, .checkbox-row) {
    display: flex !important;
    min-width: 0;
    align-items: center;
    grid-template-columns: none !important;
    gap: 8px !important;
    margin: 0;
    color: var(--ink-700, var(--text, #334155));
    font-size: 12px;
    font-weight: 600;
    line-height: 1.25;
    white-space: nowrap;
}

:is(.auth-card, .login-card) .auth-login-options input[type="checkbox"] {
    flex: 0 0 16px;
    width: 16px !important;
    height: 16px !important;
    min-height: 16px;
    margin: 0;
    padding: 0;
}

:is(.auth-card, .login-card) .auth-link {
    color: var(--accent-2, var(--blue-600, #2563eb));
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
    white-space: nowrap;
}

:is(.auth-card, .login-card) .auth-link:hover {
    text-decoration: underline;
}

:is(.auth-card, .login-card) .btn {
    display: inline-flex;
    width: auto;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 9px 14px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    text-align: center;
    text-shadow: none;
    transform: none;
}

:is(.auth-card, .login-card) :is(.btn-block, .auth-submit) {
    width: 100%;
}

:is(.auth-card, .login-card) .auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    color: var(--ink-500, var(--muted, #64748b));
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .1em;
    text-transform: uppercase;
}

:is(.auth-card, .login-card) .auth-divider::before,
:is(.auth-card, .login-card) .auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line, rgba(148, 163, 184, .28));
}

:is(.auth-card, .login-card) .google-auth-form {
    margin: 0;
}

:is(.auth-card, .login-card) .google-auth-button {
    min-height: 42px;
}

:is(.auth-card, .login-card) .google-mark {
    display: grid;
    width: 20px;
    height: 20px;
    place-items: center;
    flex: 0 0 20px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

:is(.auth-card, .login-card) .auth-note {
    margin: 18px 0 0;
    color: var(--ink-500, var(--muted, #64748b));
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0;
    text-align: center;
}

:is(.auth-card, .login-card) .alert {
    font-family: inherit;
    font-size: 12px;
    line-height: 1.4;
}

@media (max-width: 900px) {
    :is(.auth-body, .login-page) {
        padding: 22px;
    }

    :is(.auth-shell, .login-shell) {
        width: min(560px, calc(100vw - 44px));
        max-width: 560px;
        min-height: 0;
        grid-template-columns: 1fr;
    }

    :is(.auth-brand, .login-brand) {
        display: none;
    }

    :is(.auth-card, .login-card) {
        min-height: 0;
    }

    :is(.auth-mobile-logo, .login-mobile-logo) {
        display: block;
    }
}

@media (max-width: 620px) {
    :is(.auth-body, .login-page) {
        padding: 12px;
    }

    :is(.auth-shell, .login-shell) {
        width: calc(100vw - 24px);
        border-radius: 16px;
    }

    :is(.auth-card, .login-card) {
        padding: 28px 22px;
    }

    :is(.auth-mobile-logo, .login-mobile-logo) {
        height: 112px;
    }

    :is(.auth-card, .login-card) .auth-login-options {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 380px) {
    :is(.auth-card, .login-card) {
        padding: 24px 18px;
    }

    :is(.auth-card, .login-card) .auth-heading h2 {
        font-size: 27px;
    }
}
