/* Password field with a generated password (reset page and user form). Plain CSS, so the Tailwind build is not needed. */
.pw-wrap { position: relative; margin-top: .375rem; }
.pw-wrap input {
  width: 100%; min-height: 44px; padding: 0 7.5rem 0 .75rem;
  background: #f6f3ea; border: 1px solid #e4dfd2; border-radius: .75rem; color: #1c1917;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .95rem; letter-spacing: .02em;
}
.pw-wrap input:focus { outline: none; border-color: #636c4d; box-shadow: 0 0 0 1px #636c4d; }
.pw-tools { position: absolute; top: 0; right: .25rem; height: 44px; display: flex; align-items: center; gap: .125rem; }
.pw-tools button {
  width: 36px; height: 36px; border: 0; background: transparent; border-radius: .5rem;
  color: #78716c; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.pw-tools button:hover, .pw-tools button:focus-visible { background: #eef0e6; color: #4f5a37; outline: none; }
.pw-rules { list-style: none; margin: .75rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .375rem 1rem; font-size: .8125rem; color: #57534e; }
.pw-rules li { display: flex; align-items: center; gap: .5rem; }
.pw-rules .pw-mark {
  flex: none; width: 18px; height: 18px; border-radius: 9999px; display: flex; align-items: center; justify-content: center;
  font-size: 10px; background: #f5f5f4; color: #a8a29e; border: 1px solid #e7e5e4;
}
.pw-rules li.ok .pw-mark { background: #eef0e6; color: #4f5a37; border-color: #d6dbc6; }
.pw-hint { margin: .5rem 0 0; font-size: .75rem; color: #78716c; }
@media (max-width: 380px) { .pw-rules { grid-template-columns: 1fr; } }
.link-btn { background: none; border: 0; padding: 0; color: #4f5a37; font-size: .875rem; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.link-btn:hover { color: #636c4d; }
.pm-check { display: flex; align-items: flex-start; gap: .5rem; font-size: .875rem; color: #44403c; }
.pm-check input { margin-top: .2rem; width: 16px; height: 16px; accent-color: #636c4d; }
.pm-check.hidden { display: none; }
