/* Scoped referral portal presentation. Never styles inside the external form. */
.referral-portal { --rp-ink:#243348; --rp-rose:#963755; --rp-soft:#fbf3f5; color:var(--rp-ink); }
.referral-portal a { color:var(--rp-rose); text-underline-offset:.2em; }
.referral-portal :focus-visible { outline:3px solid #265e8d; outline-offset:4px; }
.referral-hero { background:linear-gradient(120deg,#fbf3f5,#f5f7fa); padding:1.5rem 0 3.5rem; border-bottom:1px solid #eadfe3; }
.referral-breadcrumb { display:flex; flex-wrap:wrap; gap:.65rem; font-size:.85rem; margin-bottom:2.8rem; color:#5a6675; }
.referral-eyebrow,.referral-small-label { font-size:.73rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; margin-bottom:.75rem; color:var(--rp-rose); }
.referral-hero h1 { font-size:clamp(2rem,4.1vw,3.5rem); line-height:1.15; letter-spacing:-.035em; color:var(--rp-ink); margin-bottom:1.15rem; }
.referral-hero h1 span { color:var(--rp-rose); }
.referral-intro { font-weight:700; font-size:1.2rem; margin-bottom:.6rem; }
.referral-description { max-width:620px; color:#4f5d6c; line-height:1.75; margin-bottom:1.5rem; }
.referral-portal .referral-button { display:inline-flex; justify-content:center; align-items:center; gap:.8rem; background:var(--rp-rose); border:1px solid var(--rp-rose); color:#fff; padding:.85rem 1.25rem; border-radius:.5rem; text-decoration:none; font-weight:600; min-height:48px; line-height:1.5; }
.referral-portal .referral-button:hover { background:#752940; border-color:#752940; }
.referral-portal [hidden] { display:none !important; }
.referral-audience { background:#fff; border:1px solid #e5dce0; border-radius:.85rem; padding:1.8rem; box-shadow:0 12px 30px #26334808; }
.referral-audience h2 { color:var(--rp-ink); font-size:1.35rem; line-height:1.5; margin:.8rem 0; }
.referral-audience p { color:#536170; line-height:1.7; font-size:.95rem; }
.referral-audience a { font-weight:600; font-size:.9rem; }
.referral-content { padding-top:2.25rem; padding-bottom:3rem; }
.referral-steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); list-style:none; padding:0 0 2.25rem; margin:0 0 2.5rem; border-bottom:1px solid #e3e7eb; gap:2rem; }
.referral-steps li { display:flex; gap:1rem; }
.referral-step-number { display:flex; flex-shrink:0; align-items:center; justify-content:center; width:42px; height:42px; border-radius:50%; background:var(--rp-soft); color:var(--rp-rose); font-size:.85rem; font-weight:700; }
.referral-steps h2 { font-size:1rem; line-height:1.5; margin:0 0 .35rem; color:var(--rp-ink); }
.referral-steps p { font-size:.9rem; line-height:1.6; color:#596675; margin:0; }
.referral-guide { padding:.5rem 1.2rem .5rem 0; }
.referral-guide h2 { font-size:1.55rem; color:var(--rp-ink); }
.referral-checklist { list-style:none; padding:0; margin:1.4rem 0; }
.referral-checklist li { position:relative; padding:0 0 1.25rem 1.65rem; }
.referral-checklist li::before { content:'\2713'; position:absolute; left:0; top:0; color:var(--rp-rose); font-weight:700; }
.referral-checklist strong,.referral-checklist span { display:block; font-size:.91rem; }
.referral-checklist span { color:#586675; line-height:1.65; margin-top:.3rem; }
.referral-privacy-note { border-left:3px solid var(--rp-rose); background:#f8f9fb; padding:1rem; }
.referral-privacy-note h3 { font-size:.9rem; color:var(--rp-ink); }
.referral-privacy-note p { margin:0; font-size:.85rem; line-height:1.7; overflow-wrap:anywhere; }
.referral-guidance { font-size:.85rem; line-height:1.7; color:#596675; margin-top:1.25rem; }
.referral-form-card { border:1px solid #dce2e8; border-radius:.85rem; background:#fff; box-shadow:0 14px 36px #26334808; overflow:hidden; scroll-margin-top:130px; }
.referral-form-heading { display:flex; justify-content:space-between; gap:1rem; padding:1.4rem 1.5rem; align-items:center; border-bottom:1px solid #e3e7eb; }
.referral-form-heading h2 { font-size:1.5rem; margin:0; color:var(--rp-ink); }
.referral-form-heading .referral-eyebrow { margin-bottom:.4rem; font-size:.68rem; }
.referral-live-label { white-space:nowrap; color:#35624c; background:#edf6ef; padding:.35rem .6rem; font-size:.72rem; font-weight:700; border-radius:4px; }
.referral-live-notice { background:#fff7e8; border-bottom:1px solid #efdfbf; padding:1rem 1.5rem; color:#604813; font-size:.85rem; line-height:1.6; }
.referral-live-notice strong { display:block; }
.referral-launch { padding:2.5rem 2rem; text-align:center; }
.referral-launch-icon { display:flex; align-items:center; justify-content:center; margin:0 auto 1rem; width:48px; height:48px; background:var(--rp-soft); color:var(--rp-rose); border-radius:50%; font-size:1.5rem; }
.referral-launch h3 { font-size:1.2rem; color:var(--rp-ink); }
.referral-launch p { max-width:450px; margin:.9rem auto 1.5rem; color:#596675; line-height:1.7; font-size:.95rem; }
.referral-policies { max-height:360px; overflow-y:auto; text-align:left; border:1px solid #dce2e8; border-radius:.5rem; padding:1.25rem; margin:1.25rem 0; background:#fafbfc; }
.referral-policies ul { margin:0; padding-left:1.25rem; }
.referral-policies li { margin-bottom:.85rem; font-size:.92rem; line-height:1.65; }
.referral-agreement { display:flex; gap:.75rem; text-align:left; align-items:flex-start; padding:.75rem 0; font-weight:600; font-size:.95rem; line-height:1.6; }
.referral-agreement input { flex-shrink:0; width:20px; height:20px; margin-top:.2rem; accent-color:var(--rp-rose); }
.referral-portal .referral-button:disabled { opacity:.55; cursor:not-allowed; }
.referral-launch .referral-policy-status { color:#963755; font-size:.85rem; }
.referral-policy-status:empty { display:none; }
.referral-frame-status:not(:empty) { padding:.85rem 1.5rem; margin:0; font-size:.85rem; background:#f7f9fb; color:#465366; }
.referral-frame-status:empty { display:none; }
.referral-frame { display:block; width:100%; border:0; height:1100px; background:#fff; }
.referral-form-footer { padding:1.25rem 1.5rem; background:#fafbfc; border-top:1px solid #e3e7eb; }
.referral-form-footer strong { display:block; font-size:.85rem; margin-bottom:.4rem; }
.referral-form-footer a { font-size:.9rem; font-weight:600; }
.referral-form-footer p { font-size:.8rem; color:#596675; line-height:1.6; margin:.7rem 0 0; }
.referral-help { display:grid; grid-template-columns:1fr 2fr; gap:2.5rem; padding-top:3rem; margin-top:2.5rem; border-top:1px solid #e3e7eb; }
.referral-help h2 { font-size:1.6rem; color:var(--rp-ink); }
.referral-faqs details { border-bottom:1px solid #e3e7eb; padding:0 0 1rem; margin-bottom:1rem; }
.referral-faqs summary { cursor:pointer; font-weight:600; font-size:.95rem; padding:.2rem 0; }
.referral-faqs p { color:#596675; font-size:.9rem; line-height:1.7; margin:1rem 0 0; }
@media(max-width:991.98px) {
  .referral-hero { padding-bottom:2rem; }
  .referral-breadcrumb { margin-bottom:2rem; }
  .referral-audience { padding:1.4rem; }
  .referral-guide { padding:0; }
  .referral-checklist { display:grid; grid-template-columns:1fr 1fr; gap:0 1rem; }
  .referral-help { grid-template-columns:1fr; gap:1rem; }
}
@media(max-width:575.98px) {
  .referral-steps { grid-template-columns:1fr; gap:1.4rem; margin-bottom:1.8rem; padding-bottom:1.8rem; }
  .referral-checklist { grid-template-columns:1fr; }
  .referral-form-heading,.referral-live-notice,.referral-form-footer { padding:1rem; }
  .referral-form-heading { align-items:flex-start; }
  .referral-form-heading h2 { font-size:1.25rem; }
  .referral-launch { padding:1.8rem 1rem; }
  .referral-portal .referral-button { width:100%; padding:.8rem; }
  .referral-frame { height:1000px; }
}
