.password-input { display: inline-flex; position: relative; width: 100%; max-width: 100%; align-items: center; }
.password-input input { width: 100%; box-sizing: border-box; padding-right: 52px; }
.password-input .password-toggle { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 40px; height: 40px; min-height: 40px; padding: 0; margin: 0; background: transparent; border: 0; border-radius: 6px; box-shadow: none; cursor: pointer; color: #a8b7ad; }
.password-input .password-toggle:hover { background: #20342a; color: #75e6a7; }
.password-input .password-toggle:focus-visible { outline: 2px solid #75e6a7; outline-offset: 1px; }
.password-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.password-eye-slash { display: none; }
.password-toggle[aria-pressed="true"] .password-eye-slash { display: block; }
.password-checklist { display: block; margin-top: 13px; padding: 16px; border: 1px solid #2c3b32; border-radius: 10px; background: linear-gradient(135deg, #15221b, #101712); color: #a8b7ad; font-size: 12px; line-height: 1.55; text-align: left; transition: border-color .25s; }
.password-checklist-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 11px; }
.password-checklist-heading strong { color: #e3eee7; font-weight: 600; font-size: 12px; }
.password-count { font-size: 11px; font-variant-numeric: tabular-nums; color: #b5c6bc; }
.password-progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; height: 5px; margin-bottom: 12px; }
.password-progress > span { background: #304137; border-radius: 20px; transition: background .2s, box-shadow .2s; }
.password-progress > .filled { background: #76bf91; }
.length-ready { border-color: #365c44; }
.length-ready .password-progress > .filled { background: #75e6a7; box-shadow: 0 0 10px #75e6a723; }
.password-checks { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 11px; }
.password-checks > span::before { content: '○'; margin-right: 5px; }
.password-checks > .met { color: #75e6a7; }
.password-checks > .met::before { content: '✓'; }
.password-state { display: block; color: #d5e5db; margin-top: 10px; font-size: 11px; }
.password-advice { display: block; margin-top: 8px; color: #9db2a5; font-size: 11px; }
.password-rules, .password-rules > span { display: block; margin-top: 6px; }
.password-checklist [hidden] { display: none !important; }
#content .password-input { max-width: 400px; }
#content .password-checklist { max-width: 368px; }
@media (prefers-reduced-motion: reduce) {
  .password-checklist, .password-progress > span { transition: none; }
}
