.referral-hero { padding-bottom: clamp(2rem, 5vw, 4rem); }
.referral-workspace {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 1.25rem;
  max-width: 74rem;
  margin: 0 auto;
  padding: 1.5rem clamp(1rem, 4vw, 3rem) 4rem;
}
.referral-panel {
  min-width: 0;
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid #c9ddeb;
  border-top: 3px solid var(--aqua);
  border-radius: 14px;
  background: white;
  color: var(--navy);
}
.referral-panel label { display: block; font-weight: 700; margin-bottom: .5rem; }
.referral-panel input, .referral-panel select, .referral-panel textarea {
  display: block;
  width: 100%;
  padding: .75rem;
  margin-bottom: 1rem;
  border: 1px solid #64748b;
  border-radius: 8px;
  background: white;
  color: var(--navy);
  font: inherit;
}
.referral-panel textarea { resize: vertical; min-height: 12rem; line-height: 1.55; }
.referral-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .85rem 1rem; }
.referral-actions [hidden] { display: none; }
.referral-actions button:disabled { opacity: .6; cursor: default; }
.referral-actions a:not(.button) { text-decoration: underline; }
.referral-actions .referral-call { background: var(--navy); color: white; }
.referral-panel [role="status"] { margin: .5rem 0 1rem; }
.referral-panel [role="status"]:empty { margin: 0; }
@media (max-width: 720px) {
  .referral-workspace { grid-template-columns: minmax(0, 1fr); }
}
