.referral-steps { list-style: none; }
.referral-step-num { position: absolute; right: 28px; top: 28px; color: var(--sky); font: 800 18px/1 var(--display); }
.referral-note { margin-top: 32px; }
.referral-middle { padding-top: 0; }
.referral-panels { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.referral-card { min-width: 0; padding: clamp(24px, 3vw, 40px); }
.referral-card .h2 { font-size: clamp(30px, 3vw, 40px); }
.referral-card .body { margin-top: 24px; }
.referral-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 32px; }
.referral-actions .btn { margin-top: 0; }
.referral-status { min-height: 24px; margin-top: 16px; color: var(--navy); font-weight: 600; overflow-wrap: anywhere; }
.referral-card .referral-customer { margin-top: 24px; }
.referral-customer .todo { margin-top: 12px; }
.referral-small-print { margin-top: 24px; }
.tst__referral { margin-top: 28px; color: var(--navy); font-size: 16px; }
.tst__referral a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--sky); }
.referral-actions :focus-visible { outline: 3px solid var(--sky); outline-offset: 4px; }
@media (min-width: 900px) {
  .referral-panels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .referral-actions { flex-direction: column; }
  .referral-actions .btn { width: 100%; justify-content: center; }
}
