.referral-program-card{overflow:hidden}.referral-hero{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:22px;border-radius:18px;background:linear-gradient(130deg,color-mix(in srgb,var(--business-accent,var(--forest)) 92%,#101a36),color-mix(in srgb,var(--business-accent,var(--forest)) 68%,#182959));color:#fff}.referral-hero small,.referral-hero strong{display:block}.referral-hero small{font-size:9px;font-weight:950;letter-spacing:.14em;opacity:.75}.referral-hero strong{margin:5px 0 8px;font-size:28px;letter-spacing:.05em}.referral-hero p{max-width:620px;margin:0;color:#ffffffc9;font-size:11px;line-height:1.55}.referral-hero p b{color:#fff}.referral-hero .btn{flex:0 0 auto;background:#fff!important;color:#142143!important}.referral-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:14px 0}.referral-metrics article{padding:15px;border:1px solid var(--line);border-radius:14px;background:var(--white)}.referral-metrics small,.referral-metrics strong,.referral-metrics span{display:block}.referral-metrics small{color:var(--muted);font-size:9px;font-weight:850}.referral-metrics strong{margin:5px 0 2px;color:var(--business-accent,var(--forest));font-size:24px}.referral-metrics span{color:var(--muted);font-size:9px}.referral-stack{padding:16px;border:1px solid var(--line);border-radius:15px}.referral-stack header{display:flex;justify-content:space-between;gap:12px;margin-bottom:11px;font-size:11px}.referral-stack header span{color:var(--business-accent,var(--forest));font-weight:900}.referral-stack>div{display:grid;grid-template-columns:repeat(5,1fr);gap:7px}.referral-stack i{display:grid;place-items:center;height:34px;border:1px dashed var(--line);border-radius:10px;color:var(--muted);font-size:9px;font-style:normal;font-weight:900}.referral-stack i.filled{border-style:solid;border-color:color-mix(in srgb,var(--business-accent,var(--forest)) 35%,transparent);background:color-mix(in srgb,var(--business-accent,var(--forest)) 12%,var(--white));color:var(--business-accent,var(--forest))}.referral-stack>small{display:block;margin-top:10px;color:var(--muted);font-size:9px}.referral-history{margin-top:16px}.referral-history-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px}.referral-history-head b,.referral-history-head small{display:block}.referral-history-head small{margin-top:3px;color:var(--muted);font-size:9px}.referral-history-head button{border:0;background:transparent;color:var(--business-accent,var(--forest));font-size:10px;font-weight:900}.referral-history>article{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid var(--line)}.referral-avatar{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:color-mix(in srgb,var(--business-accent,var(--forest)) 12%,var(--white));color:var(--business-accent,var(--forest));font-weight:950}.referral-history article b,.referral-history article small{display:block}.referral-history article small{margin-top:3px;color:var(--muted);font-size:9px}.referral-history article em{padding:6px 8px;border-radius:999px;background:var(--soft);color:var(--muted);font-size:9px;font-style:normal;font-weight:900}.referral-history article em.paid{background:#e6f7ef;color:#08734b}.referral-history article em.pending{background:#fff4d8;color:#8b6100}.referral-empty{padding:22px;border:1px dashed var(--line);border-radius:14px;text-align:center}.referral-empty b,.referral-empty span{display:block}.referral-empty span{margin-top:5px;color:var(--muted);font-size:10px}.referral-homolog-note{display:flex;gap:8px;margin:16px -20px -20px;padding:10px 20px;background:#fff4d8;color:#795500;font-size:9px}.referral-homolog-note b{white-space:nowrap}.referral-coupon-field span{display:block;margin-top:7px;padding:9px;border-radius:9px;background:#e9f5ff;color:#215a8e;font-size:10px}@media(max-width:700px){.referral-hero{align-items:stretch;flex-direction:column}.referral-hero .btn{width:100%}.referral-metrics{grid-template-columns:1fr}.referral-homolog-note{align-items:flex-start;flex-direction:column}.referral-history article small{line-height:1.4}}
body[data-theme="dark"] .referral-metrics article,body[data-theme="dark"] .referral-stack{background:#151c28}body[data-theme="dark"] .referral-history article em.paid{background:#123f32;color:#78e5b6}body[data-theme="dark"] .referral-history article em.pending{background:#493a16;color:#ffd873}
