/* The client portal's sign-in pages (sign in, forgot password, reset, invite), 2026-10-16: a centred card on Flow's
   warm paper with reqflow.css's fields, buttons and messages; no sidebar. */
.rs-page { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px 16px 24px; box-sizing: border-box; }
.rs-brand, .rs-card { width: 100%; max-width: 430px; box-sizing: border-box; }
.rs-brand { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; padding: 0 4px; }
.rs-brand > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.rs-brand b { font-family: var(--smui-font-head); font-size: 21px; font-weight: 600; line-height: 1.2; overflow-wrap: anywhere; }
.rs-brand small { color: var(--smui-muted); font-size: 13px; }
.rs-logo { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 6px; display: block; }
.rs-card { background: #fff; border: 1px solid var(--req-line); border-radius: 14px; box-shadow: var(--smui-card-shadow); padding: 26px 26px 22px; }
.rs-card h1 { font-family: var(--smui-font-head); font-size: 25px; font-weight: 600; margin: 0 0 6px; }
.rs-lead { color: var(--smui-muted); margin: 0 0 18px; font-size: 15px; line-height: 1.45; }
.rs-card .req-msg { margin: 0 0 16px; font-size: 14.5px; line-height: 1.4; }
/* 16px text: anything smaller makes iPhones zoom the page when a field is tapped */
.rs-card .req-field input { font-size: 16px; padding: 11px 12px; width: 100%; box-sizing: border-box; }
.rs-card .req-field input[readonly] { background: #faf8f4; color: var(--smui-muted); }
.rs-card .req-field .req-hint { line-height: 1.4; }
.rs-pwrow { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: -6px 0 16px; font-size: 14px; }
.rs-show { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--smui-muted); cursor: pointer; }
.rs-show input { width: 16px; height: 16px; margin: 0; accent-color: var(--smui-btn); }
.rs-card form > .rs-show { margin: -6px 0 16px; }
.rs-card .req-btn.rs-go { width: 100%; box-sizing: border-box; justify-content: center; padding: 12px 16px; font-size: 16px; margin-top: 4px; }
.rs-agency { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--req-ok); margin-top: 2px; }
.rs-agency[hidden] { display: none; }
.rs-links { margin: 16px 0 0; font-size: 14px; text-align: center; }
.rs-help { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--req-line); font-size: 14px; color: var(--smui-muted); line-height: 1.45; }
.rs-contact { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 6px 0 0; font-size: 14px; }
.rs-contact a { color: var(--smui-link); text-decoration: none; overflow-wrap: anywhere; }
.rs-contact a:hover { text-decoration: underline; }
.rs-foot { margin: 18px 0 0; color: var(--smui-muted); font-size: 12.5px; display: flex; align-items: center; gap: 5px; }
.rs-foot:empty { display: none; }
@media (max-width: 480px) {
  .rs-page { justify-content: flex-start; padding-top: 22px; }
  .rs-card { padding: 22px 18px 18px; }
  .rs-card h1 { font-size: 22px; }
}
