/* VK ID r2: scoped button-state and journey UI overrides. */
.nav-links > .btn,
.nav-links > .nav-logout-form > .btn { min-height: 44px; line-height: 1.2; }
.nav-links > .btn.btn-primary,
.nav-links > .btn.btn-primary:visited { box-sizing: border-box; border: 1px solid transparent; background: #164b34; color: #fff; opacity: 1; transform: none; line-height: 1.2; transition: background 140ms ease, border-color 140ms ease, box-shadow 140ms ease, color 140ms ease; }
.nav-links > .btn.btn-primary:hover { background: #103c29; color: #fff; opacity: 1; transform: none; box-shadow: 0 16px 34px rgba(15, 42, 29, .28); }
.nav-links > .btn.btn-primary:active { background: #0d3323; color: #fff; opacity: 1; transform: none; box-shadow: 0 8px 18px rgba(15, 42, 29, .22); }
.nav-links > .btn.btn-primary:focus-visible { background: #164b34; color: #fff; outline: 3px solid #d3a95d; outline-offset: 3px; transform: none; }
body .auth-vkid-button,
body .auth-vkid-button:visited { box-sizing: border-box; width: 100%; min-height: 52px; padding: 13px 20px; border: 1px solid #0055c7; border-radius: 16px; background: #066bdc; color: #fff; opacity: 1; transform: none !important; box-shadow: 0 14px 30px rgba(0, 91, 214, .18); font-size: 15px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; transition: background 140ms ease, border-color 140ms ease, box-shadow 140ms ease, color 140ms ease; }
body .auth-vkid-button:hover { border-color: #004eae; background: #0059c7; color: #fff; opacity: 1; transform: none !important; box-shadow: 0 18px 36px rgba(0, 91, 214, .24); }
body .auth-vkid-button:active { border-color: #004394; background: #004fae; color: #fff; opacity: 1; transform: none !important; box-shadow: 0 9px 20px rgba(0, 91, 214, .2); }
body .auth-vkid-button:focus-visible { border-color: #004eae; background: #066bdc; color: #fff; outline: 3px solid #0f2a1d; outline-offset: 3px; transform: none !important; }
.auth-vkid-button.is-loading { pointer-events: none; opacity: .82; }
.vkid-result-shell { width: min(680px, 100%); margin: 20px auto 48px; }
.vkid-action-card { display: grid; gap: 18px; padding: clamp(24px, 5vw, 44px); }
.vkid-action-card h1 { margin: 0; font-size: clamp(32px, 5vw, 48px); line-height: 1.03; }
.vkid-action-card p { margin: 0; color: var(--ink-700); line-height: 1.7; }
.vkid-eyebrow { color: var(--green-700); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.vkid-action-list { display: grid; gap: 12px; margin-top: 4px; }
.vkid-safe-primary { min-height: 50px; background: #164b34 !important; color: #fff !important; transform: none !important; }
.vkid-safe-primary:hover { background: #103c29 !important; }
.vkid-text-link { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; color: var(--green-700); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.vkid-profile-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.vkid-profile-card h2 { margin: 4px 0 6px; }
.vkid-profile-card form { flex: 0 0 min(240px, 100%); }
.vkid-profile-button { white-space: normal; }
.vkid-status { min-height: 44px; padding: 11px 16px; display: inline-flex; align-items: center; border: 1px solid rgba(47, 115, 83, .24); border-radius: 999px; background: var(--green-100); color: var(--green-800); font-size: 13px; font-weight: 800; }
.vkid-metrika-marker { display: none !important; }
@media (max-width: 640px) {
  .nav-links > .btn.btn-primary,
  .nav-links > .btn.btn-primary:hover,
  .nav-links > .btn.btn-primary:active { transform: none; }
  .vkid-result-shell { margin-top: 0; }
  .vkid-action-card { padding: 22px 18px; }
  .vkid-profile-card { align-items: stretch; flex-direction: column; }
  .vkid-profile-card form { flex-basis: auto; width: 100%; }
  .auth-vkid-button { min-height: 50px; border-radius: 14px; }
}
