.auth-shell {
    background: var(--color-surface);
    color: var(--color-heading);
    display: flex;
    flex-wrap: wrap-reverse;
    min-height: 100vh;
    min-height: 100dvh;
}

.auth-shell .btn {
    border-radius: 10px;
    font-size: 15px;
    height: 48px;
    padding: 0 22px;
}

.auth-shell .field {
    margin-bottom: 0;
}

.auth-shell .field span {
    font-size: 13px;
}

.auth-shell .field--reserved {
    margin-bottom: 0;
}

.auth-shell .field--reserved .field__box {
    background: var(--color-surface);
    border: 1px solid var(--color-field-line);
    border-radius: 10px;
    box-shadow: none;
    height: 46px;
    margin-bottom: 0;
}

.auth-shell .field--reserved .field__box--invalid {
    border-color: #d9534a;
}

.auth-shell .field--reserved .field__box:focus-within {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px var(--color-accent-soft);
}

.auth-shell .field--reserved .field__input,
.auth-shell .field--reserved .field__input:focus {
    font-size: 15px;
    height: 100%;
    padding: 0 12px;
}

.auth-shell .field__action {
    color: var(--color-accent);
    font-weight: 500;
    text-decoration: none;
}

.auth-shell .field__error {
    position: static;
}

.auth-shell .field__icon {
    color: var(--color-faint);
    height: 18px;
    margin: 0 0 0 14px;
    order: -1;
    width: 18px;
}

.auth-shell .field__toggle {
    border-radius: 8px;
    height: 44px;
    margin: 0;
    width: 44px;
}

.auth-shell__art {
    align-items: center;
    display: flex;
    flex: 1;
    min-height: 240px;
}

.auth-shell__art svg {
    display: block;
    max-height: 360px;
}

.auth-shell__body {
    align-items: center;
    display: flex;
    flex: 1;
    justify-content: center;
}

.auth-shell__brand {
    align-items: center;
    color: #ffffff;
    display: flex;
    gap: 12px;
    text-decoration: none;
}

.auth-shell__copy {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 480px;
}

.auth-shell__error {
    align-items: flex-start;
    background: var(--tone-danger-wash);
    border: 1px solid #f3c9c3;
    border-radius: 10px;
    color: var(--tone-danger-text);
    display: flex;
    font-size: 13px;
    gap: 10px;
    line-height: 1.5;
    padding: 12px 14px;
}

.auth-shell__error .icon {
    color: var(--tone-danger-ink);
    height: 18px;
    margin-top: 1px;
    width: 18px;
}

.auth-shell__error[hidden] {
    display: none;
}

.auth-shell__footer {
    color: var(--color-sidebar-muted);
    display: flex;
    font-size: 13px;
    justify-content: center;
    padding-top: 24px;
}

.auth-shell__form {
    display: flex;
    flex-direction: column;
    gap: 22px;
    max-width: 400px;
    width: 100%;
}

.auth-shell__headline {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0;
}

.auth-shell__main {
    box-sizing: border-box;
    display: flex;
    flex: 999 1 420px;
    flex-direction: column;
    min-width: 0;
    padding: 40px 32px;
}

.auth-shell__main:focus {
    outline: none;
}

.auth-shell__mark {
    flex: none;
}

.auth-shell__mobile-brand {
    align-items: center;
    color: var(--color-brand-solid);
    display: none;
    gap: 10px;
    text-decoration: none;
}

.auth-shell__mobile-name {
    color: var(--color-heading);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.auth-shell__name {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.auth-shell__panel {
    background: var(--color-brand-solid);
    box-sizing: border-box;
    color: #ffffff;
    display: flex;
    flex: 1 1 480px;
    flex-direction: column;
    gap: 32px;
    max-width: 640px;
    overflow: hidden;
    padding: 40px 48px;
    position: relative;
}

.auth-shell__pulse {
    animation: auth-shell-pulse 2.4s ease-in-out infinite;
}

.auth-shell__text {
    color: rgba(255, 255, 255, 0.88);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

@keyframes auth-shell-pulse {
    0% {
        opacity: 0;
        transform: translateX(0);
    }

    15%,
    85% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateX(92px);
    }
}

@media (max-width: 900px) {
    .auth-shell__main {
        flex: 1 1 auto;
        padding: 32px 24px;
    }

    .auth-shell__mobile-brand {
        display: flex;
    }

    .auth-shell__panel {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .auth-shell__pulse {
        animation: none;
    }
}
