/* All selectors belong to the reward feature. Existing Elementor and Tutor styles stay intact. */
.ccr-goal,.ccr-recent,.ccr-popover,.ccr-badge,.ccr-staff-note{box-sizing:border-box;font-family:var(--e-global-typography-hpcbody-font-family,"Outfit"),sans-serif;color:var(--e-global-color-5c2c3f2,#192033);font-size:16px;line-height:1.6}
.ccr-goal *,.ccr-popover *,.ccr-recent *{box-sizing:border-box}
.ccr-goal{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(235px,1fr);gap:32px;padding:32px;margin:0 0 32px;background:var(--e-global-color-635357c,#FAF8F5);border:1px solid var(--e-global-color-2eba97d,#E6E1F3);border-radius:16px;align-items:start;text-align:left}
.ccr-goal h2,.ccr-goal h3,.ccr-recent h3{font-family:var(--e-global-typography-hpcdisplay-font-family,"Playfair Display"),serif;font-weight:700;color:var(--e-global-color-5c2c3f2,#192033);letter-spacing:-.02em}
.ccr-goal h2{font-size:clamp(25px,2.5vw,34px);line-height:1.15;margin:12px 0 16px;max-width:23ch}
.ccr-goal-main>p{margin:0 0 20px;max-width:65ch}
.ccr-kicker{display:flex;align-items:center;gap:9px;font-size:14px;font-weight:600;color:var(--e-global-color-5c2c3f2,#192033)}
.ccr-kicker svg{width:24px;height:24px;flex:none;color:var(--e-global-color-16ed4ce,#7566AC)}
.ccr-goal-earned .ccr-kicker svg{background:var(--e-global-color-facd1ac,#F2AF31);color:var(--e-global-color-5c2c3f2,#192033);border-radius:999px;width:36px;height:36px;padding:6px}
.ccr-progress{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:24px 0}
.ccr-progress>div>span{display:flex;justify-content:space-between;gap:12px;font-size:13px;line-height:1.4;margin-bottom:8px}
.ccr-progress strong{font-weight:500}
.ccr-progress progress{display:block;width:100%;height:8px;overflow:hidden;border:0;border-radius:999px;appearance:none;-webkit-appearance:none;background:var(--e-global-color-2eba97d,#E6E1F3);accent-color:var(--e-global-color-16ed4ce,#7566AC)}
.ccr-progress progress::-webkit-progress-bar{background:var(--e-global-color-2eba97d,#E6E1F3);border-radius:999px}
.ccr-progress progress::-webkit-progress-value{background:var(--e-global-color-16ed4ce,#7566AC);border-radius:999px}
.ccr-progress progress::-moz-progress-bar{background:var(--e-global-color-16ed4ce,#7566AC);border-radius:999px}
.ccr-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:22px 0 14px}
.ccr-actions form{margin:0}
.ccr-goal .ccr-button,.ccr-popover .ccr-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:46px;padding:12px 22px;border:1px solid var(--e-global-color-16ed4ce,#7566AC);border-radius:999px;background:var(--e-global-color-16ed4ce,#7566AC);color:var(--e-global-color-hpcwhite,#FFFFFF);font-family:var(--e-global-typography-hpcbody-font-family,"Outfit"),sans-serif;font-size:14px;font-weight:600;line-height:1.4;text-decoration:none;cursor:pointer;box-shadow:none;white-space:normal;text-align:center;transition:transform .15s ease}
.ccr-goal .ccr-button:hover,.ccr-popover .ccr-button:hover{color:var(--e-global-color-hpcwhite,#FFFFFF);text-decoration:underline;background:var(--e-global-color-16ed4ce,#7566AC)}
.ccr-button:active{transform:translateY(1px)}
.ccr-button[disabled]{opacity:.7;cursor:wait}
.ccr-goal .ccr-button:focus-visible,.ccr-popover .ccr-button:focus-visible,.ccr-badge:focus-visible,.ccr-close:focus-visible,.ccr-coupon summary:focus-visible,.ccr-alert a:focus-visible{outline:3px solid var(--e-global-color-ad7f653,#082979);outline-offset:4px}
.ccr-kept-points{font-size:13px;color:var(--e-global-color-hpcmuted,#5B616F)}
.ccr-goal-main .ccr-terms{font-size:12px;line-height:1.65;margin:16px 0 0;color:var(--e-global-color-hpcmuted,#5B616F)}
.ccr-reward-preview{background:var(--e-global-color-ff4bc86,#FFFEFE);border:1px solid var(--e-global-color-2eba97d,#E6E1F3);border-radius:16px;overflow:hidden;min-width:0}
.ccr-reward-preview .ccr-course-image{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;margin:0;border-radius:0}
.ccr-reward-details{padding:20px}
.ccr-reward-details>span:first-child{font-size:12px;color:var(--e-global-color-hpcmuted,#5B616F)}
.ccr-reward-details h3{font-size:21px;line-height:1.25;margin:5px 0 14px}
.ccr-reward-details .ccr-price{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;font-size:13px;margin:0 0 10px}
.ccr-price strong{font-size:22px;font-weight:600;line-height:1.2}
.ccr-free{display:inline-block;padding:3px 9px;background:var(--e-global-color-2eba97d,#E6E1F3);color:var(--e-global-color-5c2c3f2,#192033);border-radius:999px;font-size:11px;font-weight:500}
.ccr-coupon{margin-top:20px;border-top:1px solid var(--e-global-color-2eba97d,#E6E1F3);padding-top:13px;font-size:13px}
.ccr-coupon summary{cursor:pointer;display:list-item;font-weight:600;width:fit-content}
.ccr-coupon code{display:block;overflow-wrap:anywhere;padding:12px;margin-top:10px;border:1px dashed var(--e-global-color-16ed4ce,#7566AC);border-radius:10px;background:var(--e-global-color-ff4bc86,#FFFEFE);font-family:inherit;letter-spacing:.03em;user-select:all;color:var(--e-global-color-5c2c3f2,#192033)}
.ccr-coupon p{margin:9px 0 0;font-size:12px;line-height:1.6;color:var(--e-global-color-hpcmuted,#5B616F)}
.ccr-alert{padding:14px 16px;border:1px solid #A32135;border-radius:10px;color:#A32135;background:var(--e-global-color-ff4bc86,#FFFEFE);font-size:14px;margin:16px 0}
.ccr-alert a{color:inherit;font-weight:600;text-decoration:underline}
.ccr-goal-main .ccr-review-note{padding:14px 16px;background:var(--e-global-color-ff4bc86,#FFFEFE);border-left:3px solid var(--e-global-color-16ed4ce,#7566AC);border-radius:0 10px 10px 0;font-size:13px;color:var(--e-global-color-hpcmuted,#5B616F);line-height:1.65}
.ccr-staff-note{padding:16px 20px;background:var(--e-global-color-635357c,#FAF8F5);border:1px solid var(--e-global-color-2eba97d,#E6E1F3);border-radius:10px;margin:0 0 24px;color:var(--e-global-color-hpcmuted,#5B616F);font-size:14px}
.ccr-recent{margin:0 0 32px;padding:0 0 28px;border-bottom:1px solid var(--e-global-color-2eba97d,#E6E1F3)}
.ccr-recent h3{font-size:26px;line-height:1.2;margin:0 0 10px}
.ccr-recent>p{font-size:14px;color:var(--e-global-color-hpcmuted,#5B616F);max-width:70ch;margin:0 0 18px}
.ccr-recent ul{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:1fr 1fr;column-gap:28px}
.ccr-recent li{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid var(--e-global-color-2eba97d,#E6E1F3);min-width:0}
.ccr-recent li>img,.ccr-person>.avatar{width:44px;height:44px;border-radius:999px;object-fit:cover;flex:none;margin:0}
.ccr-recent-name{flex:1;min-width:0;overflow-wrap:anywhere;font-size:14px;font-weight:500}
.ccr-achievement{display:inline-block;vertical-align:middle;margin-left:8px;line-height:1.4;text-align:left}
.ccr-recent .ccr-achievement{margin-left:auto;flex:none}
.ccr-badge{display:inline-flex;align-items:center;justify-content:center;gap:5px;border:1px solid var(--e-global-color-facd1ac,#F2AF31);border-radius:999px;padding:5px 9px;min-height:32px;background:var(--e-global-color-facd1ac,#F2AF31);color:var(--e-global-color-5c2c3f2,#192033);font-size:11px;font-weight:600;line-height:1.3;white-space:nowrap;cursor:pointer;box-shadow:none}
.ccr-badge svg{width:15px;height:15px;flex:none}
.ccr-badge:hover,.ccr-badge:active{background:var(--e-global-color-facd1ac,#F2AF31);color:var(--e-global-color-5c2c3f2,#192033);border-color:var(--e-global-color-5c2c3f2,#192033);box-shadow:none}
.ccr-popover{display:none;position:fixed;inset:auto;z-index:2147483000;margin:0;width:min(390px,calc(100vw - 28px));max-height:calc(100dvh - 28px);overflow:auto;padding:24px;border:1px solid var(--e-global-color-2eba97d,#E6E1F3);border-radius:16px;background:var(--e-global-color-ff4bc86,#FFFEFE);box-shadow:0 12px 36px rgba(25,32,51,.14);white-space:normal;text-align:left;font-size:14px}
.ccr-popover[data-open="true"]{display:block}
@supports selector(:popover-open){.ccr-popover:popover-open{display:block}}
.ccr-popover::backdrop{background:transparent}
.ccr-popover .ccr-close{position:absolute;top:7px;right:7px;display:flex;align-items:center;justify-content:center;width:36px;height:36px;min-height:36px;padding:0;border:0;border-radius:999px;background:transparent;color:var(--e-global-color-hpcmuted,#5B616F);font-size:25px;font-family:inherit;line-height:1;cursor:pointer;box-shadow:none}
.ccr-popover .ccr-close:hover{background:var(--e-global-color-2eba97d,#E6E1F3);color:var(--e-global-color-5c2c3f2,#192033)}
.ccr-person{display:flex;align-items:center;gap:12px;padding-right:18px;margin:8px 0 18px}
.ccr-person>.avatar{width:52px;height:52px;float:none}
.ccr-person>span{display:block;min-width:0}
.ccr-person strong{display:block;font-size:16px;font-weight:600;line-height:1.35;overflow-wrap:anywhere}
.ccr-date{display:block;font-size:11px;color:var(--e-global-color-hpcmuted,#5B616F);margin-top:5px}
.ccr-popover-copy{display:block;line-height:1.65;margin-bottom:18px}
.ccr-value{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;margin:0 0 18px;border-radius:10px;background:var(--e-global-color-635357c,#FAF8F5);font-size:13px}
.ccr-value strong{font-size:26px;font-weight:600;line-height:1.1}
.ccr-encourage,.ccr-encourage>span,.ccr-encourage>strong{display:block}
.ccr-encourage>strong{font-size:18px;line-height:1.35;margin-bottom:7px}
.ccr-encourage>span{color:var(--e-global-color-hpcmuted,#5B616F);font-size:13px;line-height:1.6}
.ccr-popover .ccr-button{margin-top:19px;width:100%;font-size:13px;min-height:44px}
.ccr-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.ccr-confetti{position:fixed;inset:0;pointer-events:none;z-index:2147483001;overflow:hidden;contain:strict}
.ccr-confetti-piece{position:absolute;width:7px;height:11px;top:0;left:0;background:var(--e-global-color-facd1ac,#F2AF31);opacity:0;border-radius:1px;will-change:transform,opacity}
.ccr-confetti-piece:nth-child(3n){background:var(--e-global-color-16ed4ce,#7566AC)}
.ccr-confetti-piece:nth-child(3n + 1){background:var(--e-global-color-2eba97d,#E6E1F3)}
@media(max-width:900px){.ccr-goal{grid-template-columns:minmax(0,1.4fr) minmax(210px,1fr);gap:24px;padding:24px}.ccr-progress{grid-template-columns:1fr;gap:14px}.ccr-reward-details{padding:16px}.ccr-reward-details h3{font-size:19px}.ccr-recent ul{grid-template-columns:1fr}}
@media(max-width:600px){.ccr-goal{grid-template-columns:1fr;gap:24px;padding:22px 18px;margin-bottom:26px}.ccr-goal h2{font-size:28px;max-width:22ch}.ccr-goal-main>p{font-size:14px}.ccr-progress{grid-template-columns:1fr 1fr;gap:14px}.ccr-progress>div>span{font-size:11px;gap:6px;flex-wrap:wrap}.ccr-reward-preview{display:grid;grid-template-columns:110px minmax(0,1fr)}.ccr-reward-preview .ccr-course-image{height:100%;aspect-ratio:auto;object-fit:cover}.ccr-reward-details{padding:15px}.ccr-reward-details h3{font-size:17px;margin:4px 0 12px}.ccr-reward-details .ccr-price{font-size:11px;margin-bottom:8px}.ccr-price strong{font-size:20px}.ccr-free{font-size:10px}.ccr-actions,.ccr-actions form,.ccr-goal .ccr-button{width:100%}.ccr-actions{gap:10px}.ccr-kept-points{font-size:12px}.ccr-recent h3{font-size:24px}.ccr-recent li{gap:9px}.ccr-recent-name{font-size:13px}.ccr-achievement{margin-left:0;margin-top:5px}.ccr-recent .ccr-achievement{margin-top:0}.ccr-popover{padding:22px;max-height:calc(100dvh - 24px)}.ccr-popover .ccr-button{min-height:46px}}
@media(prefers-reduced-motion:reduce){.ccr-button{transition:none!important;transform:none!important}.ccr-confetti{display:none!important}}

/* Leaderboard champion: the existing Tutor dashboard reward card is unchanged. */
body.page-id-7513 .ccr-goal{align-items:center}
.ccr-goal-main .ccr-eligibility{font-size:13px;line-height:1.65;color:var(--e-global-color-hpcmuted,#5B616F);margin-top:-6px}
.ccr-champion{min-width:0;align-self:stretch;display:flex;flex-direction:column;justify-content:center;border-radius:16px;padding:22px 24px 24px;background:var(--e-global-color-5c2c3f2,#192033);color:var(--e-global-color-ff4bc86,#FFFEFE);overflow:hidden;text-align:center}
.ccr-champion-top{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;line-height:1.4}
.ccr-champion-top span:first-child{color:var(--e-global-color-facd1ac,#F2AF31);font-weight:600;font-size:14px}
.ccr-champion-top span:last-child{color:var(--e-global-color-2eba97d,#E6E1F3)}
.ccr-throne{position:relative;width:min(100%,280px);aspect-ratio:280/240;margin:18px auto 0;flex:none}
.ccr-throne-art{display:block;width:100%;height:100%}
.ccr-throne-frame{fill:var(--e-global-color-facd1ac,#F2AF31)}
.ccr-throne-seat{fill:var(--e-global-color-16ed4ce,#7566AC)}
.ccr-throne-gold-line{stroke:var(--e-global-color-facd1ac,#F2AF31);stroke-width:2;opacity:.35}
.ccr-champion-avatar{position:absolute;top:28%;left:30%;width:40%;aspect-ratio:1;display:grid;place-items:center;border:4px solid var(--e-global-color-facd1ac,#F2AF31);border-radius:50%;background:var(--e-global-color-2eba97d,#E6E1F3);overflow:hidden}
.ccr-champion-avatar img,.ccr-champion-avatar .cr-initials{display:block;width:100%;height:100%;object-fit:cover;border:0;border-radius:50%;margin:0}
.ccr-champion-avatar .cr-initials{display:grid;place-items:center;color:var(--e-global-color-5c2c3f2,#192033);font-size:28px;font-weight:600}
.ccr-champion-crown{position:absolute;top:8%;left:38.5%;width:23%;height:auto;color:var(--e-global-color-facd1ac,#F2AF31)}
.ccr-goal .ccr-champion h3{color:var(--e-global-color-ff4bc86,#FFFEFE);font-size:26px;line-height:1.2;margin:6px 0 10px;overflow-wrap:anywhere}
.ccr-champion-details>p{margin:0;color:var(--e-global-color-2eba97d,#E6E1F3);font-size:13px;line-height:1.6}
.ccr-champion-details .ccr-champion-score{color:var(--e-global-color-ff4bc86,#FFFEFE);font-size:14px;margin:0 0 5px}
.ccr-champion-score strong{font-size:30px;line-height:1.2;font-weight:600;margin-right:5px;color:var(--e-global-color-facd1ac,#F2AF31)}
@media(max-width:900px){.ccr-champion{padding:20px 16px}.ccr-goal .ccr-champion h3{font-size:22px}}
@media(max-width:600px){.ccr-champion{padding:22px}.ccr-throne{width:min(100%,250px);margin-top:12px}.ccr-goal-main .ccr-eligibility{font-size:12px}}

/* Compact dashboard reminder stays in normal document flow on every screen. */
body.page-id-11 .ccr-dashboard-note{display:block;position:static;width:100%;max-width:100%;box-sizing:border-box;margin:0 0 16px;padding:0;font-family:inherit;font-size:14px;font-weight:400;line-height:1.6;color:var(--e-global-color-hpcmuted,#5B616F);white-space:normal;overflow-wrap:break-word;background:none;border:0;box-shadow:none}
