.oauth-choice{margin-top:24px;padding-top:8px;border-top:1px solid var(--nav-line,#30455e)}
.auth-divider{text-align:center;color:#b8c7da;font-size:14px;margin:14px 0 20px}
.yandex-button{display:flex;align-items:center;justify-content:center;min-height:48px;padding:12px 16px;border:1px solid #fff;border-radius:12px;background:#fff;color:#141414;font-size:16px;font-weight:650;cursor:pointer}
.yandex-button:hover{background:#edf2f8}.yandex-button:focus-visible{outline:2px solid #9fc7ff;outline-offset:4px}
.yandex-button:disabled{background:#243347;color:#b8c7da;border-color:#475c76;cursor:not-allowed}
.password-match{min-height:1.5em;font-size:14px;line-height:1.5;color:#b8c7da;margin:8px 0 16px}.password-mismatch{color:#ffb8b8}
.oauth-url{overflow-wrap:anywhere;font-family:monospace}.oauth-settings{margin-top:24px}
.auth input[aria-invalid=true]{border-color:#ffb8b8}.auth .check{align-items:flex-start}

/* Keep brand contrast across global button states. */
.auth .yandex-button,.oauth-choice .yandex-button{background:#ffcc00;color:#191919;border-color:#ffcc00}
.auth .yandex-button:hover,.oauth-choice .yandex-button:hover{background:#f0bd00;color:#191919;border-color:#f0bd00}
.auth .yandex-button:active,.oauth-choice .yandex-button:active{background:#e3b300;color:#191919}
.auth .yandex-button:disabled,.oauth-choice .yandex-button:disabled{background:#243347;color:#b8c7da;border-color:#475c76}
