.referral-block{display:flex;align-items:center;gap:16px 24px;padding:24px 0;margin-top:12px;border-top:1px solid #eef1f5;border-bottom:1px solid #eef1f5;color:#152238}
.referral-icon{display:grid;place-items:center;flex:none;width:44px;height:44px;border:1px solid #dce3ec;border-radius:50%;font-size:15px;font-weight:800;background:#fff}
.referral-block-copy{flex:1;min-width:0}.referral-block h2{font-size:16px;font-weight:800;line-height:1.5;margin:0 0 4px}.referral-block p{font-size:14px;line-height:1.6;color:#6b7b92;margin:0}
.referral-button{min-height:46px;border:1px solid #dce3ec;border-radius:12px;background:#fff;padding:10px 20px;font:inherit;font-size:14px;font-weight:750;color:#152238;cursor:pointer;flex:none}.referral-button:hover{border-color:#9cacc1;background:#fafbfc}.referral-button:focus-visible,.referral-dialog :focus-visible{outline:3px solid #8134af;outline-offset:3px}
.referral-dialog{width:min(600px,calc(100vw - 32px));max-height:calc(100dvh - 40px);margin:auto;overflow:auto;padding:28px;border:1px solid #dce3ec;border-radius:20px;background:#fff;color:#152238;font-family:Manrope,system-ui,sans-serif;box-shadow:0 24px 80px #15223826}.referral-dialog::backdrop{background:#15223866}.referral-dialog-head{display:flex;align-items:start;gap:16px;justify-content:space-between;margin-bottom:18px}.referral-dialog h2{font-size:23px;line-height:1.35;margin:0;font-weight:800}.referral-close{width:32px;height:32px;flex:none;border:0;border-radius:8px;background:#f3f5f8;font:inherit;font-size:24px;line-height:1;cursor:pointer}.referral-content{font-size:14px;line-height:1.65}.referral-content p{margin:0;color:#617087}.referral-link-label{display:block;margin:20px 0 8px;font-size:13px;font-weight:700}.referral-link-group{display:flex;gap:8px}.referral-link-group input{min-width:0;width:100%;border:1px solid #dce3ec;border-radius:10px;padding:10px 12px;background:#f8f9fc;font:inherit;font-size:13px;color:#152238}.referral-feedback{min-height:24px;font-size:12px;padding-top:4px}.referral-summary{display:flex;flex-direction:column;gap:4px;padding:16px 0;margin:8px 0 20px;border-top:1px solid #eef1f5;border-bottom:1px solid #eef1f5}.referral-summary strong{font-size:16px}.referral-summary span{color:#617087}.referral-content h3{margin:0 0 12px;font-size:16px;font-weight:800}.referral-empty{padding:4px 0 16px}.referral-history{list-style:none;padding:0;margin:0}.referral-history li{padding:12px 0;border-bottom:1px solid #eef1f5}.referral-history-top{display:flex;justify-content:space-between;gap:12px}.referral-history-top strong{color:#19965f}.referral-history-top span,.referral-history small{font-size:12px;color:#6b7b92}.referral-history p{font-size:13px;margin-top:4px}.referral-rules{border-top:1px solid #eef1f5;margin-top:20px;padding-top:16px;font-size:12px;color:#617087}.referral-rules summary{cursor:pointer;font-size:13px;font-weight:700;color:#526174}.referral-rules p{padding-top:10px}
@media(max-width:600px){.referral-block{flex-wrap:wrap;gap:12px;padding:20px 0}.referral-block-copy{flex-basis:calc(100% - 60px)}.referral-block>.referral-button{margin-left:56px;width:calc(100% - 56px)}.referral-dialog{padding:20px}.referral-dialog h2{font-size:20px}.referral-link-group{flex-wrap:wrap}.referral-link-group .referral-button{width:100%}.referral-history-top{flex-wrap:wrap;gap:2px 12px}}

.referral-cancelled .referral-history-top strong{color:#6b7b92}
.referral-content .referral-partner{margin:8px 0 20px;padding:14px 16px;border-radius:12px;background:#f7f8fb;font-size:14px;line-height:1.65;color:#526174}.referral-partner a{color:#152238;font-weight:700;text-decoration:underline;text-underline-offset:3px}
