.auth-forgot-link { justify-self: end; font-size: 14px; line-height: 1.6; color: #4b6c99; text-decoration: none; }
.auth-forgot-link:hover { color: #225bc5; text-decoration: underline; }
.auth-forgot-link:focus-visible { outline: 2px solid #3773cf; outline-offset: 4px; border-radius: 3px; }
.auth-forgot-link[hidden] { display: none; }
.reset-page { margin: 0; min-height: 100vh; box-sizing: border-box; display: grid; place-items: center;
  padding: 32px 16px; color: #283e59; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  background: radial-gradient(ellipse at 20% 10%, #e3edff, transparent 60%), #f0f5fb; }
.reset-page *, .reset-page *::before, .reset-page *::after { box-sizing: border-box; }
.reset-page [hidden] { display: none !important; }
.reset-card { width: min(430px, 100%); padding: 28px; border: 1px solid #e0e8f3; border-radius: 24px;
  background: #fbfdff; box-shadow: 0 20px 70px #243d6314; }
.reset-back { display: inline-block; margin-bottom: 22px; color: #557398; font-size: 14px; text-decoration: none; }
.reset-back:hover { text-decoration: underline; }
.reset-brand { display: flex; align-items: center; gap: 10px; font-size: 15px; margin-bottom: 22px; }
.reset-brand span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px;
  background: #e6efff; color: #3667ad; font-weight: 800; }
.reset-eyebrow { color: #4b73ad; font-size: 14px; margin: 0 0 8px; letter-spacing: .12em; }
.reset-card h1 { margin: 0 0 12px; font-size: 24px; line-height: 1.3; }
.reset-description { margin: 0; color: #62768f; font-size: 15px; line-height: 1.7; }
.reset-steps { display: flex; gap: 24px; list-style: none; padding: 0; margin: 22px 0; font-size: 14px; color: #7b8ba2; }
.reset-steps li { display: flex; align-items: center; gap: 8px; }
.reset-steps span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #edf1f8; }
.reset-steps [aria-current] { color: #245bb6; font-weight: 600; }
.reset-steps [aria-current] span { background: #e0ebff; }
.reset-card label { display: block; font-size: 14px; font-weight: 600; margin: 18px 0 8px; }
.reset-card input { width: 100%; min-width: 0; min-height: 46px; padding: 11px 12px; border: 1px solid #d8e2f0;
  border-radius: 10px; background: white; color: #233e61; font: inherit; font-size: 16px; }
.reset-card input::placeholder { color: #8c9bb0; font-size: 14px; }
.reset-card input:focus { border-color: #6798e8; outline: 3px solid #6897e321; }
.reset-email-row { display: flex; gap: 8px; }
.reset-card button { cursor: pointer; font: inherit; border: 0; border-radius: 10px; font-size: 14px; }
#reset-send { flex-shrink: 0; min-width: 102px; padding: 10px; background: #e5eeff; color: #295ca8; }
.reset-card button:disabled { cursor: default; opacity: .62; }
.reset-card button:focus-visible, .reset-card a:focus-visible { outline: 3px solid #6798e8; outline-offset: 3px; }
.reset-hint, .reset-status, .reset-error { font-size: 14px; line-height: 1.7; margin: 9px 0; overflow-wrap: anywhere; }
.reset-hint { color: #657890; }
.reset-status { color: #386bb0; }
.reset-error, .reset-status.error { color: #b13349; }
.reset-card fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.reset-primary { display: block; width: 100%; padding: 14px; margin-top: 18px; text-align: center;
  border-radius: 10px; background: #346dd0; color: white; text-decoration: none; font-size: 15px; font-weight: 600; }
.reset-footer { text-align: center; margin: 26px 0 0; font-size: 13px; color: #75869a; }
#reset-success { text-align: center; }
#reset-success h2 { font-size: 22px; }
#reset-success p { font-size: 15px; line-height: 1.7; }
.reset-success-mark { margin: 28px auto 18px; width: 52px; height: 52px; border-radius: 50%; background: #e4f4eb;
  color: #328254; display: grid; place-items: center; font-size: 24px; }
.reset-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 380px) {
  .reset-page { padding: 16px 10px; }
  .reset-card { padding: 24px 18px; border-radius: 18px; }
  .reset-steps { gap: 16px; }
  #reset-send { min-width: 90px; padding: 8px; font-size: 14px; }
}

/* 独立重置页与门户手机字号一致，输入框维持 16px 以避免聚焦放大。 */
@media (max-width: 600px) {
  .reset-card { padding: 22px 18px; }
  .reset-card h1 { font-size: 22px; }
  .reset-description, .reset-card label, .reset-back, #reset-success p { font-size: 13px; }
  .reset-steps, .reset-eyebrow, .reset-hint, .reset-status, .reset-error { font-size: 13px; }
  .reset-card input { font-size: 16px; }
  .reset-card input::placeholder, .reset-card button, .reset-primary { font-size: 14px; }
  .reset-footer { font-size: 12px; }
}
