* { box-sizing: border-box }
body { margin: 0; padding: clamp(16px, 5vw, 40px); background: var(--cn-bg); color: var(--cn-navy) }
.recovery-card { width: min(100%, 480px); margin: 0 auto }
.recovery-brand { display: inline-block }
.recovery-brand img { display: block; width: min(100%, 176px) }
.recovery-card h1 { margin: var(--cn-space-4) 0; font-size: 1.6rem }
.recovery-card p { line-height: 1.5; overflow-wrap: anywhere }
.recovery-card p[data-error] { color: var(--cn-danger) }
.recovery-card label, .recovery-card input, .recovery-card small { display: block }
.recovery-card label { margin-top: var(--cn-space-4); margin-bottom: var(--cn-space-2); font-weight: 600 }
.recovery-card input, .recovery-card .cn-button { width: 100% }
.recovery-card small { margin-top: var(--cn-space-2); color: var(--cn-muted) }
.recovery-card .cn-button[hidden] { display: none }
.recovery-card .cn-button { margin-top: var(--cn-space-4) }
.recovery-card a { color: var(--cn-blue) }
.recovery-card > a:last-child { display: inline-block; margin-top: var(--cn-space-5) }
.password-field { position: relative }
.password-field input { padding-inline-end: 50px }
.password-toggle {
  position: absolute;
  inset-inline-end: 2px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 44px;
  height: 100%;
  max-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
  -webkit-tap-highlight-color: transparent;
  color: var(--cn-navy);
  cursor: pointer;
}
.password-toggle:focus-visible { outline: 2px solid currentColor; outline-offset: -2px }
.password-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round }
.password-field input[type="password"] + button .eye-slash { display: none }
