/* V24 referrals: cohesive with existing application theme */
.vh-referral-section{padding-top:clamp(24px,4vw,54px)}
.vh-referral-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}
.vh-referral-stats .card{display:flex;flex-direction:column;gap:9px;padding:20px}
.vh-referral-stats .card span{color:var(--muted,#9caabd);font-size:.86rem}
.vh-referral-stats .card strong{font-size:clamp(1.5rem,3vw,2.2rem)}
.vh-referral-panel{margin-bottom:20px}
.vh-referral-create{display:flex;align-items:end;gap:12px;flex-wrap:wrap}
.vh-referral-create label{flex:1;min-width:200px}
.vh-referral-create input{width:100%;display:block;margin-top:5px}
.vh-referral-link{padding:20px 0;border-top:1px solid rgba(148,163,184,.18);display:grid;gap:12px}
.vh-referral-link-header{display:flex;justify-content:space-between;gap:16px;align-items:center;flex-wrap:wrap}
.vh-referral-link-header small{display:block;margin-top:5px;color:#9caabd}
.vh-referral-copy{display:flex;gap:10px}.vh-referral-copy input{flex:1;min-width:0;font-size:.88rem}
.vh-referral-sharing{display:flex;gap:10px;flex-wrap:wrap}
.vh-referral-sharing a{display:inline-flex;padding:9px 14px;border:1px solid rgba(148,163,184,.3);border-radius:10px;text-decoration:none;color:inherit}
.vh-referral-sharing a:hover{background:rgba(148,163,184,.13);border-color:rgba(148,163,184,.55)}
.vh-referral-active{color:#49d7aa;font-weight:700}.vh-referral-note,.vh-referral-saving{color:#49d7aa}
.vh-referral-section table{width:100%}.vh-referral-section table td{vertical-align:top;word-break:break-word}
.vh-referral-section small{display:block;color:#9caabd}
@media(max-width:800px){.vh-referral-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.vh-referral-stats{grid-template-columns:1fr 1fr}.vh-referral-copy{flex-wrap:wrap}.vh-referral-copy button{width:100%}}
