.cr-panel{box-sizing:border-box;margin:0 0 24px;padding:20px 24px;border:1px solid #d9e4e0;border-radius:16px;background:#f6faf8;color:#203a32}.cr-panel h2{font-size:20px;margin:0 0 12px}.cr-panel p{line-height:1.5}.cr-balance{font-size:28px;font-weight:700;margin:8px 0 12px}.cr-note{font-size:14px;color:#435950;margin:0}.cr-ui{display:contents}.cr-button,.cr-secondary{font:inherit;cursor:pointer;padding:12px 16px;border-radius:10px;min-height:44px}.cr-button{background:#24513d;color:#fff;border:1px solid #24513d}.cr-secondary{background:#fff;color:#24513d;border:1px solid #80ad95}.cr-button:disabled,.cr-trigger:disabled{opacity:.6;cursor:wait}.cr-trigger{min-height:44px;cursor:pointer}.cr-dialog{width:min(460px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:auto;box-sizing:border-box;border:1px solid #80ad95;border-radius:16px;padding:24px;color:#203a32}.cr-dialog::backdrop{background:#102d3980}.cr-dialog h2{margin-top:0}.cr-dialog p{line-height:1.5}.cr-dialog label{display:block;margin-bottom:6px;font-size:14px}.cr-dialog textarea{resize:none;overflow-wrap:anywhere;word-break:break-all;box-sizing:border-box;width:100%;min-width:0;padding:12px;font:inherit;border:1px solid #80ad95;border-radius:8px}.cr-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.cr-toast,.cr-feedback{position:fixed;z-index:90;right:24px;bottom:24px;box-sizing:border-box;width:min(420px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:auto;border:1px solid #80ad95;background:#f2faf5;color:#203a32;padding:20px;border-radius:16px;box-shadow:0 8px 32px #102d3926}.cr-toast strong{display:block;padding-right:36px;font-size:18px;line-height:1.4}.cr-toast p{font-size:15px;line-height:1.5;margin:10px 0 16px}.cr-toast-close{position:absolute;right:6px;top:6px;width:44px;height:44px;background:transparent;border:0;color:#24513d;font-size:26px;cursor:pointer}.cr-ui [hidden]{display:none!important}.cr-ui :focus-visible,.cr-trigger:focus-visible{outline:3px solid #24513d;outline-offset:4px}@media(max-width:640px){.cr-panel{padding:16px}.cr-actions>*{width:100%}.cr-toast,.cr-feedback{right:16px;bottom:max(16px,env(safe-area-inset-bottom));padding:16px}.cr-dialog{padding:20px}.cr-toast .cr-button{width:100%}}

/* Compact share presentation; no changes to toast visibility or acknowledgement. */
.cr-dialog{padding:20px;width:min(420px,calc(100% - 24px))}
.cr-dialog h2{font-size:21px;line-height:1.25;margin:0 0 12px}
.cr-dialog p{font-size:14px;line-height:1.5;margin:10px 0;white-space:pre-line}
.cr-dialog textarea{font-size:12px;line-height:1.4;padding:8px;max-height:64px}
.cr-dialog label{font-size:12px;margin-top:12px}
.cr-dialog .cr-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:12px;gap:8px}
.cr-dialog .cr-actions>*{width:100%;min-width:0;padding:9px 10px;font-size:14px;text-align:center;text-decoration:none;box-sizing:border-box}
.cr-dialog [data-close-share]{grid-column:1/-1}
.cr-dialog .cr-guidance{display:flex;justify-content:center;align-items:center;text-align:center;text-decoration:none;margin:12px 0;font-size:14px}
.cr-dialog [role=status]:empty{display:none}
@media(max-width:359px){.cr-dialog{padding:16px}.cr-dialog h2{font-size:20px}}


@media(max-width:767px){.bb51-has-nav .cr-toast,.bb51-has-nav .cr-feedback{bottom:calc(var(--bb51-nav-height,5.5rem) + env(safe-area-inset-bottom,0px) + 12px);max-height:calc(100dvh - 8rem - env(safe-area-inset-bottom,0px))}}

/* Visible close control, including guest guidance. */
.cr-dialog-close{position:absolute;right:8px;top:8px;width:44px;height:44px;border:0;border-radius:8px;background:transparent;color:#24513d;font-size:28px;line-height:1;cursor:pointer}
.cr-dialog:has(.cr-dialog-close) h2{padding-right:40px}

/* Pontos Barbada: presentation only, shared by existing referral surfaces. */
.cr-dialog{width:min(440px,calc(100% - 28px));border:0;border-radius:24px;padding:28px;background:#fff;color:#073e31;box-shadow:0 24px 80px #18372733}
.cr-dialog::backdrop{background:#23372f55;backdrop-filter:blur(6px)}
.cr-dialog h2{font-size:26px;line-height:1.15;letter-spacing:-.6px;margin:16px 0 10px;font-weight:800;color:#073e31}
.cr-dialog p{font-size:14px;line-height:1.5;white-space:normal}
.cr-coin{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;flex:none;border-radius:16px;background:#e4fbb9;color:#005338}
.cr-coin .bb51-icon{width:29px;height:29px}
.cr-dialog .cr-reward-highlight{display:flex;flex-direction:column;gap:3px;margin:18px 0 12px;padding:16px;border-radius:16px;background:#eff8e3}
.cr-reward-highlight strong{font-size:24px;line-height:1.25;letter-spacing:-.5px;font-weight:800;color:#005338}
.cr-reward-highlight span{font-size:13px;color:#314653}
.cr-dialog .cr-condition{font-size:12px;color:#52615b;line-height:1.5}
.cr-current-balance{font-size:14px!important;font-weight:700;color:#005338}
.cr-dialog label{margin-top:16px;color:#52615b}
.cr-dialog textarea{background:#f7faf8;border-color:#d3e2da;border-radius:10px}
.cr-dialog .cr-actions{display:flex;flex-direction:column;gap:9px;margin-top:16px}
.cr-dialog .cr-actions>*{min-height:44px;font-size:14px;border-radius:12px}
.cr-dialog .cr-button,.cr-dialog .cr-guidance{display:flex;align-items:center;justify-content:center;gap:8px;background:#cff86c;color:#003f2f;border:1px solid transparent;font-weight:750;min-height:48px;text-decoration:none}
.cr-dialog .cr-secondary{border-color:#95b8a8;color:#005338;background:#fff;font-weight:650}
.cr-dialog .cr-tertiary{border:0;background:transparent;color:#436455;font:inherit;font-size:12px;text-decoration:underline;cursor:pointer}
.cr-dialog [data-campaign-share-continue]{width:100%;min-height:44px}
.cr-dialog-close{right:14px;top:14px}
.cr-dialog :focus-visible,.cr-trigger:focus-visible{outline:3px solid #005338;outline-offset:3px}
.cr-toast{background:#fff;border-color:#c7e1d4;border-radius:20px;padding:20px;box-shadow:0 12px 40px #18372724}
.cr-toast .cr-coin{width:38px;height:38px;border-radius:12px;margin-bottom:10px}
.cr-toast .cr-coin .bb51-icon{width:25px;height:25px}
.cr-toast strong{font-size:21px;color:#005338;font-weight:800;letter-spacing:-.35px}
.cr-toast p{margin:8px 0;font-size:14px}
.cr-toast a{display:inline-flex;align-items:center;min-height:44px;color:#005338;font-weight:650}
.cr-toast:not([hidden]){animation:cr-appear .2s ease-out both}
.bb51:has(dialog[open]) .cr-toast,.bb51:has(dialog[open]) .cr-feedback,
.bb51:has(.join-modal:not([hidden])) .cr-toast{visibility:hidden;pointer-events:none}
@keyframes cr-appear{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.cr-toast:not([hidden]){animation:none}}
@media(max-width:480px){.cr-dialog{padding:22px;border-radius:22px}.cr-dialog h2{font-size:25px}.cr-reward-highlight strong{font-size:23px}.cr-toast{padding:16px}.cr-toast strong{font-size:20px}}

/* Fase 56.2: the referral URL stays internal, including legacy clipboard fallback. */
.cr-dialog .cr-copy-buffer{position:fixed;left:0;top:0;width:1px;height:1px;min-height:0;padding:0;border:0;opacity:0;pointer-events:none}
.cr-dialog .cr-button svg{width:20px;height:20px;flex:none}
.cr-dialog [data-copied]{background:#eff8e3;border-color:#95b8a8}
.cr-dialog .cr-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}

/* Confirmed credit and educational discovery share the existing modal identity. */
.cr-toast{width:min(400px,calc(100% - 32px));padding:22px;border:1px solid #dce9df;border-radius:24px;background:#fff;color:#073e31;box-shadow:0 16px 48px #18372726}
.cr-toast-heading{display:flex;align-items:center;gap:12px;min-height:44px;padding-right:30px;margin-bottom:16px}
.cr-toast .cr-toast-heading .cr-coin{width:44px;height:44px;border-radius:14px;margin:0;background:#e4fbb9}
.cr-toast .cr-toast-heading .bb51-icon{width:27px;height:27px}
.cr-toast-label{font-size:13px;font-weight:700;line-height:1.4;color:#436455}
.cr-toast-highlight{padding:15px 16px;border-radius:16px;background:#eff8e3}
.cr-toast .cr-toast-highlight strong{padding:0;font-size:23px;font-weight:800;line-height:1.25;letter-spacing:-.5px;color:#005338;overflow-wrap:anywhere}
.cr-toast p{margin:12px 0 0;font-size:14px;line-height:1.5;color:#436455}
.cr-toast .cr-current-balance{color:#005338;font-weight:700}
.cr-toast .cr-toast-close{top:10px;right:10px;border-radius:12px;color:#005338;line-height:1}
.cr-toast .cr-toast-close:hover{background:#eff8e3}
.cr-toast a{margin-top:8px;text-underline-offset:3px}
.cr-toast .cr-button{display:flex;justify-content:center;align-items:center;width:100%;margin-top:16px;min-height:44px;border:1px solid transparent;border-radius:12px;background:#cff86c;color:#003f2f;font-weight:750}
@media(max-width:480px){.cr-toast{padding:18px;border-radius:22px}.cr-toast-heading{gap:10px;margin-bottom:14px}.cr-toast .cr-toast-highlight strong{font-size:22px}}


/* Community share education: shown only after the existing service supplies a referral. */
.cr-dialog .cr-share-education{display:flex;align-items:flex-start;gap:12px;margin:18px 0;padding:14px;border-radius:14px;background:#f1f7ec}
.cr-share-education .cr-coin{width:32px;height:32px;border-radius:10px}
.cr-share-education .cr-coin .bb51-icon{width:22px;height:22px}
.cr-dialog .cr-share-education p{margin:0;font-size:13px;line-height:1.5;color:#436455}
