.customer-hub .hub-referrals{min-width:0}
.customer-hub .hub-referral-entry{display:flex;align-items:center;justify-content:space-between;gap:24px}
.customer-hub .hub-referral-entry h2{margin:0 0 8px}
.customer-hub .hub-referral-entry p{margin:0}
.customer-hub .hub-referral-entry>.hub-button{flex-shrink:0}
.customer-hub .hub-referrals .referral-row{width:100%;text-align:start;font:inherit;color:var(--hub-text);background:var(--hub-surface);cursor:pointer}
.customer-hub .hub-referrals .referral-row>div{min-width:0}
.customer-hub .hub-referrals .referral-row strong{font-size:15px;overflow-wrap:anywhere}
.customer-hub .hub-referrals .referral-row p{font-size:12px;margin:5px 0;color:var(--hub-muted)}
.customer-hub .hub-referrals .referral-reference{display:block;overflow-wrap:anywhere;font:11px/1.8 Arial,sans-serif;color:var(--hub-muted);margin-block:8px}
.customer-hub .hub-referrals .referral-note{white-space:pre-wrap;overflow-wrap:anywhere}
.customer-hub .hub-referrals .referral-contact-choice{border:1px solid var(--hub-border);border-radius:10px;padding:18px;margin:5px 0}
.customer-hub .hub-referrals .referral-contact-choice legend{font-size:12px;padding-inline:7px}
.customer-hub .hub-referrals .referral-contact-choice .hub-check{margin-block:8px}
.customer-hub .hub-referrals .referral-contact-fields{display:grid;gap:17px;padding:18px;border:1px solid var(--hub-border);border-radius:10px;background:var(--hub-surface-soft)}
.customer-hub .hub-referrals [hidden]{display:none!important}
.customer-hub .hub-referrals .hub-form{max-width:760px}
.customer-hub .hub-referrals .hub-detail-grid dd{overflow-wrap:anywhere;white-space:pre-wrap}
.customer-hub .hub-referrals .hub-empty button{margin-top:15px}
.customer-hub .hub-referrals .referral-row:focus-visible{outline:2px solid var(--hub-accent);outline-offset:3px}
@media(max-width:600px){.customer-hub .hub-referrals .hub-record-row{align-items:start;gap:15px}.customer-hub .hub-referrals .referral-contact-choice,.customer-hub .hub-referrals .referral-contact-fields{padding:14px}.customer-hub .hub-referrals .hub-panel{padding:20px}}
@media(max-width:700px){.customer-hub .hub-referral-entry{flex-direction:column;align-items:start}}
