/* client/pwmeter.css: the live password checklist, strength bar, and
   "Passwords match" line (L024; pwmeter.js). Loaded by the app and by the
   reset page, so the tokens fall back to the public pages' names. */
.pwm { margin: -2px 0 14px; }
.pwm-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.pwm-list li, .pwm-match { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-soft, var(--soft)); transition: color .2s; }
.pwm-ic {
  width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--text-faint, var(--faint)); color: transparent;
  transition: background .2s, border-color .2s, color .2s;
}
.pwm-ic svg { width: 10px; height: 10px; }
.pwm-list li.met, .pwm-match.met { color: var(--text); }
.pwm-list li.met .pwm-ic, .pwm-match.met .pwm-ic { background: var(--sage); border-color: var(--sage); color: #fff; }
.pwm-bar { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.pwm-track { flex: 1; height: 6px; border-radius: 999px; background: var(--bg-alt); overflow: hidden; }
.pwm-track span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--coral); transition: width .35s cubic-bezier(.2,.8,.2,1), background .35s; }
.pwm-bar[data-strength="weak"] .pwm-track span { width: 33%; background: var(--coral); }
.pwm-bar[data-strength="okay"] .pwm-track span { width: 66%; background: color-mix(in srgb, var(--coral) 45%, var(--sage)); }
.pwm-bar[data-strength="strong"] .pwm-track span { width: 100%; background: var(--sage); }
.pwm-word { min-width: 48px; text-align: right; font-size: 12.5px; font-weight: 600; color: var(--text-soft, var(--soft)); }
.pwm-bar[data-strength="strong"] .pwm-word { color: var(--sage); }
.pwm-bar[data-strength="weak"] .pwm-word { color: var(--coral-deep); }
.pwm-match { margin: -6px 0 14px; display: none; }
.pwm-match.show { display: flex; }
.pwm .sr, .pwm-match .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .pwm-track span, .pwm-ic { transition: none; } }
