.auth-body.auth-v3 {
    --auth-canvas: #eef2f6;
    --auth-surface: #ffffff;
    --auth-surface-quiet: #f3f6f8;
    --auth-surface-hover: #eaf0f4;
    --auth-ink: #172332;
    --auth-text: #46566a;
    --auth-muted: #697789;
    --auth-line: #d8e0e8;
    --auth-line-strong: #bdc9d5;
    --auth-accent: #225da8;
    --auth-accent-hover: #184b89;
    --auth-accent-pressed: #123d72;
    --auth-accent-quiet: #e7f0fa;
    --auth-attribution: #596872;
    --auth-attribution-line: rgba(89, 104, 114, 0.52);
    --auth-placeholder: #697789;
    --auth-line-hover: #8b9aa8;
    --auth-field-border: var(--auth-line-strong);
    --auth-field-border-hover: var(--auth-line-hover);
    --auth-field-border-focus: var(--auth-accent);
    --auth-field-border-invalid: var(--auth-danger-ink);
    --auth-focus-ring: var(--auth-accent);
    --auth-message-gap: 6px;
    --auth-loader-track: rgba(255, 255, 255, 0.42);
    --auth-danger-bg: #fff1f1;
    --auth-danger-line: #efbcbc;
    --auth-danger-ink: #922b2b;
    --auth-success-bg: #eaf5ee;
    --auth-success-line: #b8dcc5;
    --auth-success-ink: #21613a;
    --auth-disabled: #d8e1e8;
    --auth-disabled-ink: #46566a;
    --auth-radius-control: 7px;
    --auth-radius-group: 8px;
    --auth-motion-fast: 110ms;
    --auth-motion-state: 150ms;
    --auth-ease-productive: cubic-bezier(0.2, 0, 0.38, 0.9);
    --auth-task-axis: 224px;
    min-height: 100vh;
    margin: 0;
    color: var(--auth-ink);
    background: var(--auth-surface);
    color-scheme: light;
    font-family: var(--font-family);
    letter-spacing: 0;
}

.auth-v3,
.auth-v3 * {
    letter-spacing: 0;
}

.auth-v3 .auth-page *,
.auth-v3 .auth-page *::before,
.auth-v3 .auth-page *::after {
    box-shadow: none;
    animation: none;
    transition: none;
}

.auth-v3 [hidden] {
    display: none !important;
}

.auth-v3 .auth-page {
    min-height: 100vh;
    padding: 0;
    align-items: stretch;
    isolation: isolate;
    overflow: visible;
    background: var(--auth-surface);
}

.auth-v3 .auth-page::before,
.auth-v3 .auth-page::after,
.auth-v3 .auth-card::before {
    display: none;
}

.auth-v3 .auth-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 560px;
    width: 100%;
    min-height: 100vh;
    margin: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: var(--auth-surface);
}

.auth-v3 .auth-brand-panel {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 100vh;
    padding: 52px 64px 36px;
    flex-direction: column;
    overflow: hidden;
    border: 0;
    background-color: var(--auth-canvas);
    color: var(--auth-ink);
}

.auth-v3 .auth-brand-lockup {
    position: relative;
    z-index: 3;
    color: var(--auth-ink);
}

.auth-v3 .auth-brand-lockup .brand-lockup {
    font-size: 22px;
}

.auth-v3 .auth-brand-content {
    position: absolute;
    top: var(--auth-task-axis);
    right: 64px;
    left: 64px;
    z-index: 3;
}

.auth-v3 .auth-brand-title {
    max-width: 420px;
    margin: 0;
    color: var(--auth-ink);
    font-size: 48px;
    font-weight: 700;
    line-height: 1.0834;
}

.auth-v3 .auth-brand-structure {
    position: absolute;
    top: min(356px, calc(100vh - 284px));
    right: 64px;
    bottom: 58px;
    left: 64px;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.auth-v3 .auth-moscow-map {
    display: block;
    width: 100%;
    height: 100%;
    margin-left: 0;
    object-fit: contain;
    object-position: center;
}

.auth-v3 .auth-moscow-map-picture {
    display: block;
    width: 100%;
    height: 100%;
}

@media (min-width: 901px) and (max-width: 1023px) {
    .auth-v3 .auth-shell {
        grid-template-columns: minmax(401px, 1fr) 500px;
    }

    .auth-v3 .auth-brand-panel {
        padding: 32px;
    }

    .auth-v3 .auth-brand-name {
        font-size: 20px;
        line-height: 1.3;
    }

    .auth-v3 .auth-brand-content {
        right: 32px;
        left: 32px;
    }

    .auth-v3 .auth-brand-title {
        font-size: 36px;
        line-height: 1.1112;
    }

    .auth-v3 .auth-brand-structure {
        top: min(356px, calc(100vh - 284px));
        right: 32px;
        bottom: 58px;
        left: 32px;
        min-height: 200px;
    }

}

@media (min-width: 901px) and (max-width: 1279.98px) {
    .auth-v3 .auth-moscow-map {
        max-width: 420px;
        margin-inline: auto;
        object-position: center top;
    }
}

@media (min-width: 1024px) and (max-width: 1366px) {
    .auth-v3 .auth-shell {
        grid-template-columns: minmax(0, 1fr) 512px;
    }

    .auth-v3 .auth-brand-panel {
        padding: 48px;
    }

    .auth-v3 .auth-brand-name {
        font-size: 20px;
        line-height: 1.3;
    }

    .auth-v3 .auth-brand-content {
        right: 48px;
        left: 48px;
    }

    .auth-v3 .auth-brand-title {
        font-size: 40px;
        line-height: 1.1;
    }

    .auth-v3 .auth-brand-structure {
        right: 48px;
        left: 48px;
    }

}

.auth-v3 .auth-map-attribution {
    position: absolute;
    right: 64px;
    bottom: 32px;
    z-index: 3;
    color: var(--auth-attribution);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: underline;
    text-decoration-color: var(--auth-attribution-line);
    text-underline-offset: 2px;
    white-space: nowrap;
}

.auth-v3 .auth-map-attribution:hover,
.auth-v3 .auth-map-attribution:focus-visible {
    color: var(--auth-ink);
    text-decoration-color: currentColor;
}

.auth-v3 .auth-container {
    width: 100%;
    max-width: none;
    margin: 0;
    opacity: 1;
    transform: none;
}

.auth-v3 .auth-shell > .auth-container {
    view-transition-name: auth-task;
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 100vh;
    padding: 48px clamp(44px, 4vw, 68px) 32px;
    flex-direction: column;
    border-left: 1px solid var(--auth-line);
    background: var(--auth-surface);
}

::view-transition-old(auth-task),
::view-transition-new(auth-task) {
    animation-duration: var(--auth-motion-state);
    animation-timing-function: var(--auth-ease-productive);
    animation-fill-mode: both;
}

::view-transition-old(auth-task) {
    animation-name: auth-task-fade-out;
}

::view-transition-new(auth-task) {
    animation-name: auth-task-fade-in;
}

@keyframes auth-task-fade-out {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes auth-task-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.auth-v3.auth-mode-loading .auth-existing-account {
    pointer-events: none;
}

.auth-v3 .auth-shell > .auth-container > .auth-logo {
    position: absolute;
    top: calc(var(--auth-task-axis) - 50px);
    left: 50%;
    display: block;
    width: 100%;
    max-width: 424px;
    color: var(--auth-ink);
    transform: translateX(-50%);
}

.auth-v3 .auth-shell > .auth-container > .auth-logo .brand-lockup {
    font-size: 18px;
}

.auth-v3 .auth-shell .auth-card,
.auth-v3 .auth-shell .auth-existing-account,
.auth-v3 .auth-shell .auth-returning-entry,
.auth-v3 .auth-shell .auth-footer,
.auth-v3 .auth-shell .auth-legal {
    width: 100%;
    max-width: 424px;
    margin-right: auto;
    margin-left: auto;
}

.auth-v3 .auth-existing-account {
    display: flex;
    min-height: 46px;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--auth-text);
    font-size: 14px;
    line-height: 1.4;
    text-decoration: none;
}

.auth-v3 .auth-existing-account strong {
    display: inline-flex;
    min-width: 88px;
    min-height: 46px;
    padding: 10px 16px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--auth-line-strong);
    border-radius: var(--auth-radius-control);
    background: var(--auth-surface);
    color: var(--auth-ink);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    transition: border-color var(--auth-motion-fast) var(--auth-ease-productive),
        background-color var(--auth-motion-fast) var(--auth-ease-productive),
        color var(--auth-motion-fast) var(--auth-ease-productive);
}

.auth-v3 .auth-existing-account:hover strong {
    border-color: var(--auth-accent);
    background: var(--auth-accent-quiet);
    color: var(--auth-accent-hover);
}

.auth-v3 .auth-existing-account:focus-visible {
    outline: 0;
}

.auth-v3 .auth-existing-account:focus-visible strong {
    outline: 2px solid var(--auth-accent);
    outline-offset: 2px;
}

.auth-v3 .auth-returning-entry {
    display: grid;
    margin-top: calc(var(--auth-task-axis) - 46px);
    margin-bottom: 32px;
    padding: 24px 0 0;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 0 16px;
    border-top: 2px solid var(--auth-accent);
}

.auth-v3 .auth-returning-entry__signal {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--auth-line);
    border-radius: var(--auth-radius-control);
    background: var(--auth-accent-quiet);
    color: var(--auth-accent);
}

.auth-v3 .auth-returning-entry__signal svg {
    width: 20px;
    height: 20px;
}

.auth-v3 .auth-returning-entry__content {
    min-width: 0;
}

.auth-v3 .auth-returning-entry__eyebrow {
    margin: 0 0 6px;
    color: var(--auth-accent);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
}

.auth-v3 .auth-returning-entry__content h1 {
    margin: 0 0 10px;
    color: var(--auth-ink);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.18;
}

.auth-v3 .auth-returning-entry__content > p:not(.auth-returning-entry__eyebrow) {
    margin: 0;
    color: var(--auth-text);
    font-size: 14px;
    line-height: 1.5;
}

.auth-v3 .auth-returning-entry__channel {
    margin-top: 4px !important;
    color: var(--auth-muted) !important;
    font-size: 13px !important;
}

.auth-v3 .auth-returning-entry__actions {
    display: grid;
    margin-top: 24px;
    grid-column: 1 / -1;
    gap: 10px;
}

.auth-v3 .auth-returning-entry__actions .btn-primary {
    display: inline-flex;
    width: 100%;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--auth-accent);
    border-radius: var(--auth-radius-control);
    background: var(--auth-accent);
    color: var(--auth-surface);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: border-color var(--auth-motion-fast) var(--auth-ease-productive),
        background-color var(--auth-motion-fast) var(--auth-ease-productive),
        color var(--auth-motion-fast) var(--auth-ease-productive);
}

.auth-v3 .auth-returning-entry__actions .btn-primary:hover {
    border-color: var(--auth-accent-hover);
    background: var(--auth-accent-hover);
}

.auth-v3 .auth-returning-entry__actions .btn-primary:focus-visible,
.auth-v3 .auth-returning-entry__continue:focus-visible {
    outline: 2px solid var(--auth-accent);
    outline-offset: 2px;
}

.auth-v3 .auth-returning-entry__continue {
    min-height: 44px;
    padding: 8px 12px;
    border: 0;
    border-radius: var(--auth-radius-control);
    background: transparent;
    color: var(--auth-text);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color var(--auth-motion-fast) var(--auth-ease-productive),
        color var(--auth-motion-fast) var(--auth-ease-productive);
}

.auth-v3 .auth-returning-entry__continue:hover {
    background: var(--auth-surface-hover);
    color: var(--auth-ink);
}

.auth-v3 .auth-shell .auth-card {
    margin-top: calc(var(--auth-task-axis) - 94px);
    margin-bottom: 32px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.auth-v3 .auth-logo,
.auth-v3 .auth-title,
.auth-v3 .auth-subtitle,
.auth-v3 .auth-tab-switcher,
.auth-v3 .auth-steps,
.auth-v3 .auth-options,
.auth-v3 .auth-footer,
.auth-v3 .auth-legal,
.auth-v3 .auth-form,
.auth-v3 .auth-form .form-group,
.auth-v3 .auth-form .btn {
    opacity: 1;
    transform: none;
}

.auth-v3 .auth-card {
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.auth-v3 .auth-title {
    margin: 0 0 24px;
    color: var(--auth-ink);
    font-size: 34px;
    font-weight: 700;
    line-height: 1.15;
    text-align: left;
}

.auth-v3 .auth-value {
    margin: 0 0 12px;
    color: var(--auth-text);
    font-size: 15px;
    line-height: 1.55;
    text-align: left;
}

.auth-v3 .auth-subtitle {
    margin: -10px 0 22px;
    color: var(--auth-muted);
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
}

.auth-v3 .auth-progress {
    margin: 0 0 10px;
    color: var(--auth-accent);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    text-align: left;
}

.auth-v3 .auth-step-heading .auth-title {
    margin-bottom: 10px;
}

.auth-v3 .auth-step-heading .auth-subtitle {
    margin: 0;
}

.auth-v3 .code-step,
.auth-v3 .password-step:not(.hidden) {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.auth-v3 .code-step > .auth-title,
.auth-v3 .code-step > .auth-subtitle {
    margin: 0;
}

.auth-v3 .auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.auth-v3 .auth-form .form-group {
    margin: 0;
}

.auth-v3 .auth-field {
    min-width: 0;
}

.auth-v3 .auth-form .form-label {
    display: block;
    margin: 0 0 8px;
    color: var(--auth-ink);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.auth-v3 .auth-form .form-input,
.auth-v3 .phone-input-wrapper,
.auth-v3 .phone-country-other .phone-country-code {
    min-height: 52px;
    border: 1px solid var(--auth-field-border);
    border-radius: var(--auth-radius-control);
    background: var(--auth-surface);
    color: var(--auth-ink);
    font-size: 15px;
    line-height: 1.4;
    transition: border-color var(--auth-motion-fast) var(--auth-ease-productive),
        background-color var(--auth-motion-fast) var(--auth-ease-productive),
        color var(--auth-motion-fast) var(--auth-ease-productive);
}

.auth-v3 .auth-form .form-input {
    width: 100%;
    padding: 0 14px;
}

.auth-v3 .auth-form .form-input::placeholder,
.auth-v3 .phone-country-wrapper .phone-country-input::placeholder {
    color: var(--auth-placeholder);
    opacity: 1;
}

.auth-v3 .auth-form .form-input:hover:not(:focus):not(:disabled),
.auth-v3 .phone-input-wrapper:hover:not(:focus-within) {
    border-color: var(--auth-field-border-hover);
}

.auth-v3 .auth-form .form-input:focus,
.auth-v3 .phone-input-wrapper:focus-within,
.auth-v3 .phone-country-other .phone-country-code:focus {
    border-color: var(--auth-field-border-focus);
    outline: 2px solid var(--auth-focus-ring);
    outline-offset: 2px;
}

.auth-v3 .auth-form .form-input:disabled,
.auth-v3 .phone-country-select:disabled,
.auth-v3 .phone-country-input:disabled {
    border-color: var(--auth-line);
    background: var(--auth-surface-quiet);
    color: var(--auth-muted);
    cursor: not-allowed;
}

.auth-v3 .auth-form .form-input:-webkit-autofill,
.auth-v3 .auth-form .form-input:-webkit-autofill:hover,
.auth-v3 .auth-form .form-input:-webkit-autofill:focus {
    border-color: var(--auth-line-strong);
    -webkit-text-fill-color: var(--auth-ink);
    caret-color: var(--auth-ink);
}

.auth-v3 .form-hint {
    display: block;
    margin-top: 6px;
    color: var(--auth-muted);
    font-size: 12px;
    line-height: 1.45;
}

.auth-v3 .auth-field-error {
    display: block;
    margin-top: var(--auth-message-gap);
    color: var(--auth-danger-ink);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.45;
}

.auth-v3 .auth-field[data-state="invalid"] > .form-input,
.auth-v3 .auth-field[data-state="invalid"] > .password-wrapper .form-input {
    border-color: var(--auth-field-border-invalid);
}

.auth-v3 .auth-field-error:not([hidden]) + .form-hint {
    display: none;
}

.auth-v3 .phone-input-wrapper.is-invalid {
    border-color: var(--auth-field-border-invalid);
    outline: 2px solid var(--auth-danger-line);
    outline-offset: 2px;
}

.auth-v3 .phone-country-wrapper {
    display: grid;
    grid-template-columns: minmax(150px, 43%) minmax(0, 1fr);
    padding: 0;
    overflow: hidden;
}

.auth-v3 .phone-country-select {
    width: 100%;
    min-width: 0;
    max-width: none;
    min-height: 50px;
    padding: 0 34px 0 13px;
    border: 0;
    border-right: 1px solid var(--auth-line);
    border-radius: 0;
    background-color: var(--auth-surface-quiet);
    color: var(--auth-ink);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
}

.auth-v3 .auth-phone-country-trigger {
    display: inline-flex;
    width: 100%;
    min-width: 0;
    min-height: 50px;
    padding: 0 12px;
    align-items: center;
    gap: 7px;
    border: 0;
    border-right: 1px solid var(--auth-line);
    border-radius: 0;
    background: var(--auth-surface-quiet);
    color: var(--auth-ink);
    font: inherit;
    cursor: pointer;
    transition: border-color var(--auth-motion-fast) var(--auth-ease-productive),
        background-color var(--auth-motion-fast) var(--auth-ease-productive),
        color var(--auth-motion-fast) var(--auth-ease-productive);
}

.auth-v3 .auth-phone-country-trigger__code {
    min-width: 24px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

.auth-v3 .auth-phone-country-trigger__dial {
    overflow: hidden;
    color: var(--auth-text);
    font-size: 13px;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.auth-v3 .auth-phone-country-trigger__icon {
    width: 16px;
    height: 16px;
    margin-left: auto;
    flex: 0 0 16px;
    color: var(--auth-muted);
}

.auth-v3 .auth-phone-country-trigger:hover {
    background: var(--auth-surface-hover);
}

.auth-v3 .auth-phone-country-trigger:focus-visible,
.auth-v3 .auth-phone-country-trigger[aria-invalid="true"] {
    position: relative;
    z-index: 1;
    outline: 2px solid var(--auth-focus-ring);
    outline-offset: -2px;
}

.auth-v3 .auth-phone-country-trigger[aria-invalid="true"] {
    outline-color: var(--auth-field-border-invalid);
}

.auth-v3 .phone-country-select:focus,
.auth-v3 .auth-phone-country-trigger:focus,
.auth-v3 .phone-country-wrapper .phone-country-input:focus {
    outline: 0;
}

.auth-v3 .phone-country-select:focus-visible,
.auth-v3 .auth-phone-country-trigger:focus-visible,
.auth-v3 .phone-country-wrapper .phone-country-input:focus-visible {
    background-color: var(--auth-accent-quiet);
}

.auth-v3 .auth-country-dialog {
    width: min(430px, calc(100vw - 32px));
    max-width: 430px;
    max-height: min(720px, calc(100dvh - 48px));
    margin: auto;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--auth-line-strong);
    border-radius: var(--auth-radius-group);
    background: var(--auth-surface);
    color: var(--auth-ink);
}

.auth-v3 .auth-country-dialog::backdrop {
    background: rgba(23, 35, 50, 0.42);
}

.auth-v3 .auth-country-dialog__surface {
    display: flex;
    max-height: inherit;
    padding: 22px;
    flex-direction: column;
}

.auth-v3 .auth-country-dialog__header {
    display: flex;
    margin-bottom: 14px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.auth-v3 .auth-country-dialog__header h2 {
    margin: 0;
    color: var(--auth-ink);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
}

.auth-v3 .auth-country-dialog__close {
    display: inline-flex;
    width: 44px;
    height: 44px;
    margin: -8px -8px 0 0;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: var(--auth-radius-control);
    background: transparent;
    color: var(--auth-muted);
    cursor: pointer;
    transition: background-color var(--auth-motion-fast) var(--auth-ease-productive),
        color var(--auth-motion-fast) var(--auth-ease-productive);
}

.auth-v3 .auth-country-dialog__close:hover {
    background: var(--auth-surface-hover);
    color: var(--auth-ink);
}

.auth-v3 .auth-country-dialog__close:focus-visible,
.auth-v3 .auth-country-option:focus-visible {
    outline: 2px solid var(--auth-accent);
    outline-offset: 2px;
}

.auth-v3 .auth-country-dialog__close svg {
    width: 20px;
    height: 20px;
}

.auth-v3 .auth-country-list {
    max-height: min(360px, 44dvh);
    overflow-y: auto;
    border: 1px solid var(--auth-line);
    border-radius: var(--auth-radius-control);
    scrollbar-gutter: stable;
}

.auth-v3 .auth-country-option {
    display: grid;
    width: 100%;
    min-height: 48px;
    padding: 8px 8px;
    grid-template-columns: 34px minmax(0, 1fr) auto 18px;
    align-items: center;
    gap: 10px;
    border: 0;
    border-bottom: 1px solid var(--auth-line);
    background: var(--auth-surface);
    color: var(--auth-ink);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background-color var(--auth-motion-fast) var(--auth-ease-productive),
        color var(--auth-motion-fast) var(--auth-ease-productive);
}

.auth-v3 .auth-country-option:hover {
    background: var(--auth-surface-quiet);
}

.auth-v3 .auth-country-option[aria-selected="true"] {
    background: var(--auth-accent-quiet);
    color: var(--auth-accent-pressed);
}

.auth-v3 .auth-country-option__code {
    color: var(--auth-text);
    font-size: 12px;
    font-weight: 700;
}

.auth-v3 .auth-country-option__name {
    overflow: hidden;
    font-size: 14px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.auth-v3 .auth-country-option__dial {
    color: var(--auth-muted);
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}

.auth-v3 .auth-country-option__check {
    width: 17px;
    height: 17px;
    color: var(--auth-accent);
    opacity: 0;
    transition: opacity var(--auth-motion-fast) var(--auth-ease-productive);
}

.auth-v3 .auth-country-option[aria-selected="true"] .auth-country-option__check {
    opacity: 1;
}

.auth-v3.auth-country-dialog-open {
    overflow: hidden;
}

@media (min-width: 901px) {
    .auth-v3 .phone-country-wrapper.is-country-open {
        overflow: visible;
    }

    .auth-v3 .auth-country-dialog[data-display="popover"] {
        position: fixed;
        top: var(--auth-country-top);
        left: var(--auth-country-left);
        z-index: 20;
        width: var(--auth-country-width);
        max-width: none;
        max-height: var(--auth-country-max-height);
        margin: 0;
        border-color: var(--auth-line-strong);
    }

    .auth-v3 .auth-country-dialog[data-display="popover"] .auth-country-dialog__surface {
        max-height: var(--auth-country-max-height);
        padding: 0;
    }

    .auth-v3 .auth-country-dialog[data-display="popover"] .auth-country-dialog__header {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        padding: 0;
        overflow: hidden;
        clip: rect(0 0 0 0);
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .auth-v3 .auth-country-dialog[data-display="popover"] .auth-country-list {
        min-height: 0;
        max-height: none;
        flex: 1;
        border: 0;
        border-radius: 0;
    }
}

.auth-v3 .phone-country-wrapper .phone-country-input,
.auth-v3 .auth-form .phone-input-wrapper .form-input {
    width: 100%;
    min-width: 0;
    min-height: 50px;
    padding: 0 13px;
    border: 0;
    border-radius: 0;
    background: var(--auth-surface);
    color: var(--auth-ink);
    font-size: 15px;
}

.auth-v3 .phone-country-other {
    display: grid;
    margin-top: 12px;
    gap: 8px;
}

.auth-v3 .phone-country-other label {
    color: var(--auth-ink);
    font-size: 13px;
    font-weight: 600;
}

.auth-v3 .phone-country-other .phone-country-code {
    width: 100%;
    padding: 0 14px;
    text-transform: uppercase;
}

.auth-v3 .password-wrapper {
    position: relative;
}

.auth-v3 .password-wrapper .form-input {
    padding-right: 58px;
}

.auth-v3 .password-toggle {
    position: absolute;
    top: 50%;
    right: 4px;
    display: inline-flex;
    width: 44px;
    height: 44px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: var(--auth-radius-control);
    background: transparent;
    color: var(--auth-muted);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color var(--auth-motion-fast) var(--auth-ease-productive),
        color var(--auth-motion-fast) var(--auth-ease-productive);
}

.auth-v3 .password-toggle:hover {
    background: var(--auth-surface-hover);
    color: var(--auth-accent);
}

.auth-v3 .password-toggle:focus-visible {
    outline: 2px solid var(--auth-accent);
    outline-offset: 2px;
}

.auth-v3 .password-toggle svg {
    width: 20px;
    height: 20px;
}

.auth-v3 .auth-tab-switcher {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    margin: 0 0 28px;
    padding: 3px;
    border: 1px solid var(--auth-line);
    border-radius: var(--auth-radius-group);
    background: var(--auth-surface-quiet);
}

.auth-v3 .auth-tab {
    position: relative;
    width: 100%;
    min-height: 46px;
    padding: 9px 12px;
    border: 1px solid transparent;
    border-radius: var(--auth-radius-control);
    background: transparent;
    color: var(--auth-text);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: border-color var(--auth-motion-fast) var(--auth-ease-productive),
        background-color var(--auth-motion-fast) var(--auth-ease-productive),
        color var(--auth-motion-fast) var(--auth-ease-productive);
}

.auth-v3 .auth-tab[aria-selected="true"] {
    display: block;
    border-color: var(--auth-accent);
    background: var(--auth-accent-quiet);
    color: var(--auth-accent-pressed);
}

.auth-v3 .auth-tab:hover:not([aria-selected="true"]) {
    background: var(--auth-surface);
    color: var(--auth-ink);
}

.auth-v3 .auth-tab:focus-visible {
    outline: 2px solid var(--auth-accent);
    outline-offset: 2px;
}

.auth-v3 .auth-form .btn-primary,
.auth-v3 .auth-form .btn.btn-primary {
    display: inline-flex;
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 0 18px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--auth-accent);
    border-radius: var(--auth-radius-control);
    background: var(--auth-accent);
    color: var(--auth-surface);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    cursor: pointer;
    box-shadow: none !important;
    transform: none;
    transition: border-color var(--auth-motion-fast) var(--auth-ease-productive),
        background-color var(--auth-motion-fast) var(--auth-ease-productive),
        color var(--auth-motion-fast) var(--auth-ease-productive);
}

.auth-v3 .auth-form .btn-primary:hover:not(:disabled) {
    border-color: var(--auth-accent-hover);
    background: var(--auth-accent-hover);
    box-shadow: none !important;
}

.auth-v3 .auth-form .btn-primary:active:not(:disabled) {
    border-color: var(--auth-accent-pressed);
    background: var(--auth-accent-pressed);
    box-shadow: none !important;
}

.auth-v3 .auth-form .btn-primary:focus-visible {
    outline: 2px solid var(--auth-accent);
    outline-offset: 3px;
}

.auth-v3 .auth-form .btn-primary:disabled {
    border-color: var(--auth-disabled);
    background: var(--auth-disabled);
    color: var(--auth-disabled-ink);
    box-shadow: none !important;
    cursor: not-allowed;
}

.auth-v3 .auth-form .btn-primary::after,
.auth-v3 .auth-form .btn-primary .ripple,
.auth-v3 .auth-card .ripple {
    display: none !important;
}

.auth-v3 .auth-form .btn-primary .loader,
.auth-v3 .auth-card .loader {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    border: 2px solid var(--auth-loader-track);
    border-top-color: var(--auth-surface);
    border-radius: 50%;
    animation: auth-v11-spin 0.7s linear infinite;
}

@keyframes auth-v11-spin {
    to { transform: rotate(360deg); }
}

.auth-v3 .auth-options {
    display: flex;
    min-height: 44px;
    margin: -2px 0 0;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.auth-v3 .auth-remember,
.auth-v3 .auth-consent {
    position: relative;
    display: flex;
    margin: 0;
    padding: 0;
    align-items: flex-start;
    gap: 10px;
    border: 0;
    border-radius: 0;
    background: transparent !important;
    cursor: pointer;
}

.auth-v3 .auth-card .auth-remember,
.auth-v3 .auth-card .auth-consent {
    border: 0;
    background: transparent;
}

.auth-v3 .auth-remember {
    min-height: 44px;
    align-items: center;
}

.auth-v3 .auth-consent {
    min-height: 44px;
}

.auth-v3 .auth-consent-field[data-state="invalid"] .auth-consent-box {
    border-color: var(--auth-field-border-invalid);
    outline: 2px solid var(--auth-danger-line);
    outline-offset: 2px;
}

.auth-v3 .auth-consent-field .auth-field__message {
    margin-left: 32px;
}

.auth-v3 .auth-remember input,
.auth-v3 .auth-consent input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.auth-v3 .auth-remember-box,
.auth-v3 .auth-consent-box {
    display: inline-flex;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--auth-line-strong);
    border-radius: 5px;
    background: var(--auth-surface);
    color: var(--auth-surface);
    transition: border-color var(--auth-motion-fast) var(--auth-ease-productive),
        background-color var(--auth-motion-fast) var(--auth-ease-productive);
}

.auth-v3 .auth-remember-box svg,
.auth-v3 .auth-consent-box svg {
    width: 14px;
    height: 14px;
    opacity: 0;
    transform: none;
    transition: opacity var(--auth-motion-fast) var(--auth-ease-productive);
}

.auth-v3 .auth-remember:hover .auth-remember-box,
.auth-v3 .auth-consent:hover .auth-consent-box {
    border-color: var(--auth-accent);
}

.auth-v3 .auth-consent input:checked + .auth-consent-box,
.auth-v3 .auth-remember input:checked + .auth-remember-box {
    border-color: var(--auth-accent);
    background: var(--auth-accent);
}

.auth-v3 .auth-consent input:checked + .auth-consent-box svg,
.auth-v3 .auth-remember input:checked + .auth-remember-box svg {
    opacity: 1;
}

.auth-v3 .auth-consent input:focus-visible + .auth-consent-box,
.auth-v3 .auth-remember input:focus-visible + .auth-remember-box {
    outline: 2px solid var(--auth-accent);
    outline-offset: 2px;
}

.auth-v3 .auth-remember-text,
.auth-v3 .auth-consent-text {
    color: var(--auth-text);
    font-size: 13px;
    line-height: 1.5;
}

.auth-v3 .auth-consent-text a,
.auth-v3 .auth-forgot,
.auth-v3 .auth-link,
.auth-v3 .auth-footer a,
.auth-v3 .auth-legal a,
.auth-v3 .auth-resend-btn {
    color: var(--auth-accent);
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    transition: color var(--auth-motion-fast) var(--auth-ease-productive),
        text-decoration-color var(--auth-motion-fast) var(--auth-ease-productive);
}

.auth-v3 .auth-consent-text a:hover,
.auth-v3 .auth-forgot:hover,
.auth-v3 .auth-link:hover:not(:disabled),
.auth-v3 .auth-footer a:hover,
.auth-v3 .auth-legal a:hover,
.auth-v3 .auth-resend-btn:hover:not(:disabled) {
    color: var(--auth-accent-hover);
    text-decoration: underline;
}

.auth-v3 .auth-forgot:focus-visible,
.auth-v3 .auth-link:focus-visible,
.auth-v3 .auth-footer a:focus-visible,
.auth-v3 .auth-legal a:focus-visible,
.auth-v3 .auth-resend-btn:focus-visible,
.auth-v3 .auth-consent-text a:focus-visible {
    border-radius: 2px;
    outline: 2px solid var(--auth-accent);
    outline-offset: 2px;
}

.auth-v3 .auth-forgot {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.auth-v3 .auth-error,
.auth-v3 .auth-success,
.auth-v3 .auth-registration-complete {
    display: flex;
    width: 100%;
    margin: 0 0 20px;
    padding: 12px 14px;
    align-items: center;
    gap: 10px;
    border: 1px solid;
    border-radius: var(--auth-radius-group);
    font-size: 13px;
    line-height: 1.45;
}

.auth-v3 .auth-error {
    border-color: var(--auth-danger-line);
    background: var(--auth-danger-bg);
    color: var(--auth-danger-ink);
}

.auth-v3 .auth-success,
.auth-v3 .auth-registration-complete {
    border-color: var(--auth-success-line);
    background: var(--auth-success-bg);
    color: var(--auth-success-ink);
}

.auth-v3 .auth-error:focus {
    outline: 2px solid var(--auth-danger-ink);
    outline-offset: 2px;
}

.auth-v3 .auth-error-reload,
.auth-v3 .auth-error-action {
    margin-left: auto;
    padding: 7px 10px;
    border: 0;
    border-radius: 5px;
    background: var(--auth-danger-ink);
    color: var(--auth-surface);
    font: inherit;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.auth-v3 .code-inputs,
.auth-v3 .code-inputs-wrapper {
    display: block;
    width: 100%;
}

.auth-v3 .auth-otp-input,
.auth-v3 .code-inputs-wrapper .auth-otp-input {
    width: 100%;
    min-width: 0;
    height: 56px;
    padding: 0 16px;
    border: 1px solid var(--auth-line-strong);
    border-radius: var(--auth-radius-control);
    background: var(--auth-surface);
    color: var(--auth-ink);
    font-size: 24px;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    text-align: center;
    transition: border-color var(--auth-motion-fast) var(--auth-ease-productive),
        background-color var(--auth-motion-fast) var(--auth-ease-productive);
}

.auth-v3 .auth-otp-input:focus,
.auth-v3 .code-inputs-wrapper .auth-otp-input:focus {
    border-color: var(--auth-accent);
    outline: 2px solid var(--auth-accent);
    outline-offset: 2px;
}

.auth-v3 .auth-otp-input.error,
.auth-v3 .code-input.error {
    border-color: var(--auth-danger-ink);
    outline: 2px solid var(--auth-danger-line);
    outline-offset: 2px;
}

.auth-v3 .resend-timer,
.auth-v3 .auth-resend {
    margin: 0;
    color: var(--auth-muted);
    font-size: 13px;
    line-height: 1.45;
    text-align: center;
}

.auth-v3 .auth-resend {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}

.auth-v3 .resend-timer .timer,
.auth-v3 .auth-resend-timer {
    color: var(--auth-text);
    font-variant-numeric: tabular-nums;
}

.auth-v3 .auth-resend-btn,
.auth-v3 .auth-link {
    min-height: 44px;
    padding: 8px 4px;
    border: 0;
    background: transparent;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.auth-v3 .auth-resend-btn:disabled,
.auth-v3 .auth-link:disabled,
.auth-v3 .bot-fallback .auth-link[disabled] {
    color: var(--auth-muted);
    cursor: not-allowed;
    text-decoration: none;
}

.auth-v3 .bot-fallback {
    display: grid;
    margin: 0;
    padding: 16px 0 0;
    gap: 6px;
    border: 0;
    border-top: 1px solid var(--auth-line);
    border-radius: 0;
    background: transparent;
}

.auth-v3 .bot-fallback-text {
    color: var(--auth-text);
    font-size: 13px;
    line-height: 1.45;
}

.auth-v3 .required-phone-status {
    display: inline-flex;
    width: auto;
    min-height: 28px;
    margin: 0 0 16px;
    padding: 4px 10px 4px 6px;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    border: 1px solid var(--auth-success-line);
    border-radius: 999px;
    background: var(--auth-success-bg);
    color: var(--auth-success-ink);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
}

.auth-v3 .required-phone-status-icon {
    display: inline-flex;
    width: 18px;
    height: 18px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--auth-success-ink);
    color: var(--auth-surface);
    font-size: 11px;
}

.auth-v3 .required-phone-card .auth-subtitle {
    margin-top: -10px;
}

.auth-v3 .auth-footer,
.auth-v3 .auth-legal {
    margin-top: auto;
    color: var(--auth-muted);
    line-height: 1.5;
}

.auth-v3 .auth-footer {
    font-size: 13px;
}

.auth-v3 .auth-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 14px;
    font-size: 12px;
}

.auth-v3 .auth-footer a,
.auth-v3 .auth-legal a {
    color: var(--auth-text);
}

.auth-v3 .auth-legal-sep {
    color: var(--auth-line-strong);
}

.auth-v3 .auth-cookie-banner {
    position: fixed;
    right: auto;
    bottom: max(24px, env(safe-area-inset-bottom, 0px));
    left: 64px;
    z-index: 9999;
    display: grid;
    width: 424px;
    max-width: 424px;
    margin: 0;
    padding: 14px;
    gap: 10px;
    border: 1px solid var(--auth-line-strong);
    border-radius: var(--auth-radius-group);
    background: var(--auth-surface);
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.auth-v3 .auth-cookie-banner.visible {
    opacity: 1;
    transform: none;
}

.auth-v3 .auth-cookie-banner .cookie-banner-title {
    color: var(--auth-ink);
    font-size: 14px;
    line-height: 1.35;
}

.auth-v3 .auth-cookie-banner .cookie-banner-text {
    color: var(--auth-text);
    font-size: 12px;
    line-height: 1.45;
}

.auth-v3 .auth-cookie-banner .cookie-banner-actions .btn {
    min-height: 44px;
    height: auto;
    padding: 8px 10px;
    border: 1px solid var(--auth-line-strong);
    border-radius: 6px;
    background: var(--auth-surface);
    color: var(--auth-ink);
    box-shadow: none;
    font-size: 12px;
    line-height: 1.2;
}

.auth-v3 .auth-cookie-banner .cookie-banner-actions .btn:hover,
.auth-v3 .auth-cookie-banner .cookie-banner-actions .btn:focus-visible {
    border-color: var(--auth-accent);
    background: var(--auth-accent-quiet);
    color: var(--auth-accent-pressed);
    box-shadow: none;
}

@media (min-width: 901px) and (max-width: 1023px) {
    .auth-v3 .auth-shell > .auth-container {
        padding-right: 38px;
        padding-left: 38px;
    }

    .auth-v3 .auth-map-attribution {
        right: 32px;
    }

    .auth-v3 .auth-cookie-banner {
        left: 32px;
        width: calc(100vw - 564px);
    }

}

@media (min-width: 1024px) and (max-width: 1366px) {
    .auth-v3 .auth-shell > .auth-container {
        padding-right: 44px;
        padding-left: 44px;
    }

    .auth-v3 .auth-map-attribution {
        right: 48px;
    }

    .auth-v3 .auth-cookie-banner {
        left: 48px;
    }

}

@media (min-width: 901px) and (max-height: 780px) {
    .auth-body.auth-v3 {
        --auth-task-axis: clamp(214px, 30vh, 236px);
    }

    .auth-v3 .auth-brand-panel {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .auth-v3 .auth-shell > .auth-container {
        padding-top: 40px;
        padding-bottom: 28px;
    }

    .auth-v3 .auth-shell .auth-card {
        margin-top: calc(var(--auth-task-axis) - 86px);
    }
}

@media (min-width: 901px) {
    html {
        scrollbar-gutter: stable;
    }

    .auth-v3 .auth-brand-panel {
        position: sticky;
        top: 0;
        height: 100vh;
        height: 100dvh;
        min-height: 0;
        align-self: start;
    }

    .auth-v3 .auth-brand-lockup {
        display: none;
    }
}

@media (max-width: 900px) {
    .auth-body.auth-v3 {
        --auth-task-axis: auto;
    }

    .auth-v3 .auth-page {
        padding: 0;
        align-items: flex-start;
    }

    .auth-v3 .auth-shell {
        display: block;
        width: 100%;
        min-height: 100vh;
        background: var(--auth-surface);
    }

    .auth-v3 .auth-brand-panel {
        display: flex;
        min-height: 64px;
        padding: 10px 20px;
        align-items: center;
        flex-direction: row;
        border-bottom: 1px solid var(--auth-line);
        background-size: 20px 20px;
    }

    .auth-v3 .auth-brand-lockup .brand-lockup {
        font-size: 20px;
    }

    .auth-v3 .auth-brand-content,
    .auth-v3 .auth-map-attribution,
    .auth-v3 .auth-brand-structure {
        display: none;
    }

    .auth-v3 .auth-shell > .auth-container > .auth-logo {
        display: none;
    }

    .auth-v3 .auth-shell > .auth-container {
        display: flex;
        min-height: calc(100vh - 64px);
        max-width: none;
        padding: 22px clamp(20px, 7vw, 56px) 20px;
        border-left: 0;
    }

    .auth-v3 .auth-shell .auth-existing-account {
        margin: 0;
        justify-content: space-between;
    }

    .auth-v3 .auth-shell .auth-card {
        margin-top: 28px;
        margin-bottom: 32px;
    }

    .auth-v3 .auth-returning-entry {
        margin-top: 28px;
    }

    .auth-v3 .auth-shell .auth-footer,
    .auth-v3 .auth-shell .auth-legal {
        margin-top: auto;
    }

    .auth-v3 .auth-cookie-banner {
        right: 20px;
        bottom: max(20px, env(safe-area-inset-bottom, 0px));
        left: 20px;
        width: auto;
        max-width: 480px;
        margin-inline: auto;
    }
}

@media (max-width: 520px) {
    .auth-v3 .auth-brand-panel {
        padding-right: 20px;
        padding-left: 20px;
    }

    .auth-v3 .auth-shell > .auth-container {
        padding: 22px 20px 20px;
    }

    .auth-v3 .auth-title {
        font-size: 30px;
    }

    .auth-v3 .auth-existing-account {
        gap: 10px;
    }

    .auth-v3 .auth-existing-account strong {
        min-width: 84px;
        padding-inline: 12px;
        white-space: nowrap;
    }

    .auth-v3 .auth-options {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .auth-v3 .auth-forgot {
        text-align: right;
    }

    .auth-v3 .phone-country-wrapper {
        grid-template-columns: minmax(132px, 42%) minmax(0, 1fr);
    }

    .auth-v3 .auth-country-dialog {
        width: 100%;
        max-width: none;
        max-height: min(82dvh, 680px);
        margin: auto 0 0;
        border-right: 0;
        border-bottom: 0;
        border-left: 0;
        border-radius: var(--auth-radius-group) var(--auth-radius-group) 0 0;
    }

    .auth-v3 .auth-country-dialog__surface {
        padding: 20px;
    }

    .auth-v3 .auth-country-list {
        max-height: 38dvh;
    }

    .auth-v3 .auth-cookie-banner .cookie-banner-actions {
        flex-direction: column;
    }

    .auth-v3 .auth-cookie-banner {
        right: 0;
        bottom: 0;
        left: 0;
        max-width: none;
        padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
        border-right: 0;
        border-bottom: 0;
        border-left: 0;
        border-radius: var(--auth-radius-group) var(--auth-radius-group) 0 0;
    }
}

@media (max-width: 360px) {
    .auth-v3 .auth-brand-panel {
        padding-right: 16px;
        padding-left: 16px;
    }

    .auth-v3 .auth-shell > .auth-container {
        padding-right: 16px;
        padding-left: 16px;
    }

    .auth-v3 .phone-country-wrapper {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: 44px 50px;
    }

    .auth-v3 .phone-country-select,
    .auth-v3 .auth-phone-country-trigger {
        min-height: 44px;
        border-right: 0;
        border-bottom: 1px solid var(--auth-line);
    }

    .auth-v3 .auth-existing-account span {
        max-width: 150px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .auth-v3 *,
    .auth-v3 *::before,
    .auth-v3 *::after {
        scroll-behavior: auto !important;
        animation: none !important;
        transition: none !important;
    }

    ::view-transition-old(auth-task),
    ::view-transition-new(auth-task) {
        animation: none !important;
    }
}
