/* One's own password, in the ERP's look (the password pages redrawn, 16 Nov 2026): Forgot your password?, its sent page,
   Change your password and A new password. The title and its line, then one card: a box a row, its label above it and
   the rule or the refusal beneath, a batch each, and the act at the card's foot. The house's list classes (house.css,
   hl-) and its fields wear them; this sheet places them. */

.pwd { --pwd-card: 30rem; box-sizing: border-box; max-width: 1240px; margin: 0 auto; padding: var(--above-the-title) var(--between-sections) 72px; color: var(--ink); font-size: 1rem; }   /* 72 at the foot: the H's corner */
.pwd .hl-beneath, .pwd .hl-name { text-wrap: pretty; }   /* never a last word alone */
.pwd p { margin-block: 0; }   /* a paragraph's own margins never, in a batch */

/* One card, as wide as a box for an email or a password wants, never a stretch of paper across a PC. */
.pwd-card { box-sizing: border-box; width: var(--pwd-card); max-width: 100%; margin-top: var(--between-sections); }
.pwd-field input { width: 100%; min-height: 48px; }   /* as tall as the act beneath */
.pwd-field label { display: block; }
.pwd-acts { display: flex; flex-wrap: wrap; gap: 8px; }

/* Nobody signed in, the page has no rail to stand beside and no Back to line up with: its title and its card stand
   centred, a column as wide as the card, as the Door's box stands in its half (the bar keeps the wordmark at the screen,
   the house's way for a centred page). */
body:not(.has-office-shell) .pwd { max-width: calc(var(--pwd-card) + 2 * var(--between-sections)); }

/* Signed out the bar is the plain one, whose narrow rule sets the wordmark in small capitals (topbar.css). These are the
   Office's pages, so the Office's lockup on a phone too, in capitals (shell.css; Vikrant, 6 Oct 2026: the same proportion
   on every screen); the first blind reader saw two wordmarks, signed in and out (16 Nov 2026). */
@media (max-width: 900px) {
  body:has(.pwd) .wordmark-main { letter-spacing: .06em; text-transform: uppercase; font-variant-caps: normal; }
}
.pwd .pwd-ask { max-width: var(--pwd-card); margin-top: var(--between-batches); }   /* .pwd, to outrank the paragraph rule above */

@media (max-width: 760px) {
  .pwd { padding-inline: var(--between-batches); }
  .pwd-card { width: auto; }
  .pwd-acts .hl-act { flex: 1 1 0; justify-content: center; }   /* the act as wide as the box above it */
}
