.ref-panel{--ref-bg:var(--surface,#fff);--ref-ink:var(--ink,#14231e);--ref-muted:var(--muted,#536151);--ref-line:var(--line,#d1dcd2);--ref-accent:var(--accent,#bdedb7);--ref-accent-ink:var(--accent-ink,#13281e);border:1px solid var(--ref-line);border-radius:22px;background:var(--ref-bg);color:var(--ref-ink);margin:20px 0;overflow:hidden;min-width:0}.ref-panel>summary.ref-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;list-style:none;padding:20px;min-height:68px;font-weight:750}.ref-summary::-webkit-details-marker{display:none}.ref-summary:after{content:'+';font-size:24px;font-weight:400}.ref-panel[open]>.ref-summary:after{content:'−'}.ref-badge{margin-left:auto;white-space:nowrap;border:1px solid var(--ref-line);padding:5px 9px;border-radius:999px;font-size:12px;font-weight:600}.ref-body{padding:4px 24px 24px}.ref-eyebrow{font-size:12px!important;letter-spacing:.05em;color:var(--ref-muted);margin:0 0 10px!important}.ref-panel h2.ref-title{font-size:clamp(25px,4vw,38px);line-height:1.15;letter-spacing:-1px;margin:0 0 14px;color:var(--ref-ink)}.ref-description{color:var(--ref-muted);font-size:14px;max-width:600px}.ref-steps{list-style:none;counter-reset:ref-step;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:0!important;margin:22px 0!important}.ref-steps li{counter-increment:ref-step;border-top:1px solid var(--ref-line);padding-top:12px;min-width:0}.ref-steps li:before{content:'0' counter(ref-step);display:block;font-size:12px;color:var(--ref-muted);margin-bottom:8px}.ref-steps strong,.ref-steps span{display:block}.ref-steps strong{font-size:14px;margin-bottom:6px}.ref-steps span{font-size:12px;color:var(--ref-muted)}.ref-panel .ref-button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;border:1px solid var(--ref-line);border-radius:12px;padding:11px 15px;background:transparent;color:var(--ref-ink);font:600 14px/1.4 system-ui,sans-serif;text-decoration:none;cursor:pointer;margin:0;max-width:100%;text-align:center}.ref-panel .ref-primary{background:var(--ref-accent);border-color:var(--ref-accent);color:var(--ref-accent-ink)}.ref-panel .ref-button:disabled{opacity:.6;cursor:wait}.ref-panel :is(button,a,summary,textarea):focus-visible{outline:3px solid var(--ref-accent);outline-offset:3px}.ref-panel [aria-pressed=true]{border-color:var(--ref-muted);text-decoration:underline;text-underline-offset:4px}.ref-hint{font-size:12px!important;color:var(--ref-muted);line-height:1.6;margin:12px 0!important}.ref-invitation{margin:18px 0}.ref-invitation label{display:block;font-size:13px;font-weight:650;margin-bottom:8px}.ref-invitation textarea{display:block;width:100%;max-width:100%;box-sizing:border-box;border:1px solid var(--ref-line);border-radius:12px;padding:14px;background:var(--ref-bg);color:var(--ref-ink);font:14px/1.65 system-ui,sans-serif;resize:vertical;min-height:156px;overflow-wrap:anywhere}.ref-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.ref-feedback{font-size:13px;line-height:1.6;overflow-wrap:anywhere}.ref-feedback:empty{display:none}.ref-balance{border-top:1px solid var(--ref-line);padding-top:22px;margin-top:24px}.ref-balance h3{font-size:18px;margin:0 0 14px}.ref-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0}.ref-stats>div{min-width:0;padding:14px;border:1px solid var(--ref-line);border-radius:14px}.ref-stats dt{font-size:12px;color:var(--ref-muted)}.ref-stats dd{font-size:26px;font-weight:650;line-height:1.3;margin:9px 0;overflow-wrap:anywhere}.ref-stats small{font-size:11px;line-height:1.5;color:var(--ref-muted)}.ref-rules{margin-top:20px;border-top:1px solid var(--ref-line);padding-top:12px}.ref-rules summary{padding:8px 0;min-height:44px;cursor:pointer;font-size:13px}.ref-rules p{font-size:13px;color:var(--ref-muted);line-height:1.75;white-space:pre-line}.mini-referral-entry{grid-column:1/-1}.mini-referral-entry[hidden],.ref-panel [hidden]{display:none!important}@media(max-width:540px){.ref-body{padding:0 16px 20px}.ref-panel>summary.ref-summary{padding:16px;gap:8px;font-size:14px}.ref-badge{font-size:11px;padding:4px 7px}.ref-steps{grid-template-columns:1fr}.ref-steps li{display:grid;grid-template-columns:24px 1fr;column-gap:12px}.ref-steps li:before{grid-row:1/3}.ref-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.ref-stats>div{padding:11px}.ref-stats dd{font-size:23px}.ref-actions .ref-button{flex:1 1 130px}.ref-actions .ref-primary{flex-basis:100%}}

/* Match the established readable typography without splitting words on narrow screens. */
body[data-connect-readable] #bonuses-panel{padding:0;border-radius:22px}
body[data-connect-readable] #bonuses-panel>summary{padding:18px;min-height:64px;line-height:1.4}
body[data-connect-readable] #bonuses-panel .ref-description{font-size:18px!important;line-height:1.5}
body[data-connect-readable] #bonuses-panel .ref-eyebrow,body[data-connect-readable] #bonuses-panel .ref-hint{font-size:14px!important;line-height:1.6}
body[data-connect-readable] #bonuses-panel .ref-feedback{font-size:16px!important;line-height:1.5}
body[data-connect-readable] #bonuses-panel .ref-invitation label,body[data-connect-readable] #bonuses-panel .ref-rules summary{font-size:16px!important}
body[data-connect-readable] #bonuses-panel .ref-invitation textarea{font-size:16px!important}
body[data-connect-readable] #bonuses-panel .ref-button{font-size:16px!important;word-break:normal;overflow-wrap:normal;hyphens:none;line-height:1.45}
body[data-connect-readable] #bonuses-panel .ref-stats small{font-size:14px;line-height:1.5;word-break:normal;overflow-wrap:normal}
body[data-connect-readable] #bonuses-panel .ref-rules p{font-size:16px!important;line-height:1.65}
@media(max-width:540px){
 body[data-connect-readable] #bonuses-panel .ref-stats{grid-template-columns:1fr;gap:0;border:1px solid var(--ref-line);border-radius:14px;overflow:hidden}
 body[data-connect-readable] #bonuses-panel .ref-stats>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 12px;padding:14px;border:0;border-bottom:1px solid var(--ref-line);border-radius:0}
 body[data-connect-readable] #bonuses-panel .ref-stats>div:last-child{border-bottom:0}
 body[data-connect-readable] #bonuses-panel .ref-stats dt{font-size:14px;align-self:center}
 body[data-connect-readable] #bonuses-panel .ref-stats dd{font-size:24px;line-height:1.3;margin:0;align-self:center;white-space:nowrap}
 body[data-connect-readable] #bonuses-panel .ref-stats small{grid-column:1/-1}
 body[data-connect-readable] #bonuses-panel .ref-actions:not([role=group])>.ref-button{flex:1 1 100%;font-size:18px!important}
 body[data-connect-readable] #bonuses-panel .ref-actions[role=group]>.ref-button{flex:1 1 40%;font-size:16px!important;padding:10px}
}
.ref-qr{padding:16px;border:1px solid var(--ref-line);border-radius:16px;margin-top:16px}.ref-qr canvas{display:block;background:#fff;width:min(100%,280px);height:auto;margin:0 auto 14px;image-rendering:pixelated}.ref-qr .ref-button{display:flex}.ref-status-help{border-top:1px solid var(--ref-line);padding-top:16px;margin-top:16px}.ref-status-help>strong{display:block;font-size:16px;margin-top:12px}.ref-entry,.ref-nudge{border:1px solid var(--line,#cbd3c3);border-radius:20px;background:var(--surface,#fffdf6);color:var(--ink,#183d35);padding:22px;margin:20px 0}.ref-entry h2{font-size:26px;line-height:1.2;margin:0 0 12px}.ref-entry p{font-size:18px;line-height:1.5}.ref-nudge h3{margin:0 0 10px;font-size:20px}.ref-nudge .ref-button{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line,#cbd3c3);border-radius:12px;min-height:48px;font:600 16px/1.5 system-ui;padding:10px 14px;background:var(--accent,#bdedb7);color:var(--accent-ink,#13281e);text-decoration:none}.ref-nudge .ref-hint{font-size:16px!important}.ref-nudge :is(a,button):focus-visible{outline:3px solid var(--accent,#91b757);outline-offset:4px}.ref-entry[hidden]{display:none!important}@media(max-width:540px){.ref-nudge .ref-actions>*{width:100%}.ref-entry,.ref-nudge{padding:18px}}
