/* ═══════════════════════════════════════════════════════════════════════════
 * signitur — RESET PASSWORD (reset-password.html). Oct 10 2026.
 * Loads LAST, after auth-lab.css: the page IS the sign-in shell (dark panel +
 * the owner's form column), so this file only adds what sign-in never needed —
 * the view switch, an intro line, the password-rule hint, the result notice,
 * and an error box (pages.css carries .auth-err, but the auth pages don't load
 * pages.css, so it is styled here for this page only). Orange only; no green.
 * ═══════════════════════════════════════════════════════════════════════ */

/* one view at a time, chosen by js/reset-password.js on <html data-rp> before
   first paint. Not [hidden]: auth-lab.css forces [hidden] with !important. */
.rp-view { display: none; }
html[data-rp="ask"] .rp-view[data-view="ask"],
html[data-rp="sent"] .rp-view[data-view="sent"],
html[data-rp="new"] .rp-view[data-view="new"],
html[data-rp="done"] .rp-view[data-view="done"],
html[data-rp="expired"] .rp-view[data-view="expired"] { display: block; }

/* headings take focus on a view change (screen readers announce the new step);
   a ring around a heading reads as a bug to everyone else */
.rp-page .bhead:focus { outline: none; }

.rp-page .rp-lead {
  margin: -6px auto 20px; max-width: 340px; text-align: center;
  font-size: 13.5px; line-height: 1.55; color: #6B615A;
}
.rp-page .rp-hint { margin: -2px 2px 14px; font-size: 12px; line-height: 1.45; color: #6B615A; }

.rp-page .auth-err {
  margin: 0 0 12px; padding: 10px 12px; border-radius: var(--r-field, 12px);
  background: #FEF2F2; border: 1px solid #FECACA; color: #B91C1C;
  font-size: 12.5px; font-weight: 600; line-height: 1.45;
}

/* the result notice: a white card on the workspace ground, an orange glyph */
.rp-page .rp-note {
  display: flex; align-items: flex-start; gap: 12px;
  margin: 0 0 16px; padding: 16px 16px 16px 14px;
  background: #fff; border: 1px solid rgba(30, 18, 9, .12); border-radius: var(--r-card, 16px);
  box-shadow: var(--lift-1);
}
.rp-page .rp-note p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink, #0A0A0A); }
.rp-page .rp-note-icon {
  flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: #FFF3E7; color: var(--orange-ink, #F4761B);
}
.rp-page .rp-note-icon i { display: block; }
/* SS_UI_ICON writes an inline display:inline-block + baseline nudge; a block svg centres cleanly in the grid */
.rp-page .rp-note-icon svg { display: block !important; }

/* buttons: a link styled as the primary button keeps its white label, and a
   pending button reads as pending (the label also changes to "Sending…") */
.rp-page a.bbtn-primary { color: var(--on-brand, #FFFFFF); }
.rp-page .bbtn:disabled { cursor: progress; filter: saturate(.85); opacity: .8; }

@media (max-width: 860px) {
  .rp-page .rp-lead { font-size: 13px; margin-bottom: 18px; }
  .rp-page .rp-note { padding: 14px 14px 14px 12px; }
  .rp-page .rp-note p { font-size: 13.5px; }
}
