/* CCG unified frontend UI — single-color purple system */
.ccg-ui-shell,.ccg-ui-shell *{box-sizing:border-box}
.ccg-ui-shell{--ccg-p:#5b3cc4;--ccg-p-dark:#4f31b4;--ccg-soft:#f5f2fb;--ccg-border:#ddd6ef;--ccg-muted:#777287;--ccg-ink:#1d1a24;--ccg-white:#fff;width:100%;max-width:920px;margin:24px auto;padding:0;font-family:inherit;color:var(--ccg-ink)}
.ccg-ui-shell a{text-decoration:none}
.ccg-ui-hero{background:var(--ccg-p);color:#fff;border-radius:24px;padding:24px;display:grid;grid-template-columns:auto 1fr auto;gap:18px;align-items:center;min-height:184px}
.ccg-ui-hero-icon{width:74px;height:74px;border-radius:20px;background:#fff;color:var(--ccg-p);display:grid;place-items:center;flex:0 0 74px}
.ccg-ui-hero-icon svg{width:40px;height:40px}
.ccg-ui-eyebrow{font-size:14px;font-weight:800;line-height:1.35;margin-bottom:5px}
.ccg-ui-hero h2{margin:0 0 6px!important;color:#fff!important;font-size:34px!important;line-height:1.1!important;font-weight:800!important}
.ccg-ui-hero p{margin:0;color:#fff;font-size:15px;line-height:1.55}
.ccg-ui-balance{background:#fff;color:var(--ccg-ink);border-radius:17px;min-width:165px;padding:12px 17px;text-align:center}
.ccg-ui-balance span{display:block;color:var(--ccg-muted);font-size:12px;font-weight:700}
.ccg-ui-balance strong{display:block;color:var(--ccg-p);font-size:30px;line-height:1.1;margin-top:3px}
.ccg-ui-stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:14px}
.ccg-ui-stat{background:#fff;border:1px solid var(--ccg-border);border-radius:19px;padding:14px;min-height:112px;display:flex;gap:11px;align-items:center}
.ccg-ui-stat-icon,.ccg-ui-section-icon,.ccg-ui-activity-icon,.ccg-ui-check,.ccg-ui-tip-icon,.ccg-ui-action-icon{background:var(--ccg-p);color:#fff}
.ccg-ui-stat-icon{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;flex:0 0 46px}
.ccg-ui-stat-icon svg,.ccg-ui-section-icon svg,.ccg-ui-activity-icon svg,.ccg-ui-check svg,.ccg-ui-tip-icon svg,.ccg-ui-action-icon svg{width:25px;height:25px}
.ccg-ui-stat small,.ccg-ui-stat em{display:block;color:var(--ccg-muted);font-size:12px;font-style:normal;font-weight:700;line-height:1.3}
.ccg-ui-stat strong{display:block;color:var(--ccg-ink);font-size:25px;line-height:1.12;margin:3px 0}
.ccg-ui-section{margin-top:14px;background:#fff;border:1px solid var(--ccg-border);border-radius:22px;padding:18px}
.ccg-ui-section-head{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.ccg-ui-section-icon{width:48px;height:48px;border-radius:15px;display:grid;place-items:center;flex:0 0 48px}
.ccg-ui-section-head h3{margin:0!important;font-size:21px!important;line-height:1.2!important;color:var(--ccg-ink)!important}
.ccg-ui-section-head p{margin:3px 0 0;color:var(--ccg-muted);font-size:13px;line-height:1.4}
.ccg-ui-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:14px}
.ccg-ui-action{border:1px solid var(--ccg-border);border-radius:17px;background:#fff;padding:13px;display:flex;align-items:center;gap:10px;color:var(--ccg-p)!important;font-weight:800;min-height:68px}
.ccg-ui-action:hover{background:var(--ccg-soft)}
.ccg-ui-action-icon{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;flex:0 0 42px}
.ccg-ui-action-text{font-size:14px;line-height:1.25}.ccg-ui-action-text small{display:block;color:var(--ccg-muted);font-weight:600;margin-top:2px}
.ccg-ui-activity,.ccg-ui-completed{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;border:1px solid var(--ccg-border);border-radius:17px;padding:13px;margin-top:10px;background:#fff}
.ccg-ui-activity-icon{width:48px;height:48px;border-radius:14px;display:grid;place-items:center}
.ccg-ui-activity-main{min-width:0}.ccg-ui-activity-main strong,.ccg-ui-completed strong{display:block;font-size:16px;line-height:1.3}.ccg-ui-activity-main span,.ccg-ui-completed small{display:block;color:var(--ccg-muted);font-size:12px;margin-top:3px}
.ccg-ui-progress{height:8px;background:var(--ccg-soft);border-radius:99px;overflow:hidden;margin-top:9px}.ccg-ui-progress i{display:block;height:100%;background:var(--ccg-p);border-radius:99px}
.ccg-ui-primary{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 14px;background:var(--ccg-p);color:#fff!important;border-radius:12px;font-size:13px;font-weight:800;white-space:nowrap}.ccg-ui-primary:hover{background:var(--ccg-p-dark);color:#fff!important}
.ccg-ui-check{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;flex:0 0 46px}
.ccg-ui-empty{padding:20px;border:1px dashed var(--ccg-border);border-radius:16px;background:var(--ccg-soft);text-align:center}.ccg-ui-empty-icon{width:42px;height:42px;border-radius:13px;background:var(--ccg-p);color:#fff;display:grid;place-items:center;margin:0 auto 8px}.ccg-ui-empty strong,.ccg-ui-empty small{display:block}.ccg-ui-empty small{color:var(--ccg-muted);margin-top:4px}
.ccg-ui-tip{margin-top:14px;background:var(--ccg-soft);border:1px solid var(--ccg-border);border-radius:19px;padding:14px 16px;display:flex;gap:12px;align-items:flex-start}.ccg-ui-tip-icon{width:44px;height:44px;border-radius:13px;display:grid;place-items:center;flex:0 0 44px}.ccg-ui-tip strong{display:block;color:var(--ccg-p);font-size:15px}.ccg-ui-tip p{margin:3px 0 0;color:var(--ccg-muted);font-size:13px;line-height:1.55}
/* Quiz centre */
.ccg-quiz-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:14px}.ccg-quiz-metric{border:1px solid var(--ccg-border);border-radius:17px;padding:13px;background:#fff}.ccg-quiz-metric span{display:block;color:var(--ccg-muted);font-size:12px;font-weight:700}.ccg-quiz-metric strong{display:block;color:var(--ccg-p);font-size:24px;line-height:1.1;margin-top:3px}.ccg-quiz-metric small{display:block;color:var(--ccg-muted);font-size:11px;margin-top:3px}
.ccg-quiz-nav{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:14px 0}.ccg-quiz-nav a{border:1px solid var(--ccg-border);border-radius:14px;padding:11px;text-align:center;color:var(--ccg-p)!important;font-weight:800;background:#fff}.ccg-quiz-nav a:first-child{background:var(--ccg-p);color:#fff!important}
.ccg-quiz-directory{border:0!important;padding:0!important;background:transparent!important}.ccg-quiz-directory-head{display:flex;align-items:center;margin-bottom:12px}.ccg-list-heading{display:flex;gap:12px;align-items:center}.ccg-list-heading>span{width:48px;height:48px;border-radius:15px;background:var(--ccg-p);color:#fff;display:grid;place-items:center}.ccg-list-heading h2{margin:0!important;font-size:21px!important;line-height:1.2!important}.ccg-list-heading p{margin:3px 0 0;color:var(--ccg-muted);font-size:13px}
.ccg-quiz-list{display:grid;gap:11px}.ccg-quiz-list-item{display:grid;grid-template-columns:auto 1fr auto;gap:13px;align-items:center;border:1px solid var(--ccg-border);border-radius:19px;padding:13px;background:#fff}.ccg-quiz-list-icon{width:58px;height:58px;border-radius:16px;background:var(--ccg-p);color:#fff;display:grid;place-items:center;flex:0 0 58px}.ccg-quiz-list-icon svg{width:31px;height:31px}.ccg-quiz-list-main{min-width:0}.ccg-quiz-list-main h3{margin:0 0 7px!important;font-size:17px!important;line-height:1.25!important;color:var(--ccg-ink)!important}.ccg-quiz-meta{display:flex;flex-wrap:wrap;gap:6px}.ccg-quiz-meta span{display:inline-flex;align-items:center;padding:5px 8px;border-radius:9px;background:var(--ccg-soft);color:#6d6679;font-size:11px;font-weight:700}.ccg-quiz-play{display:inline-flex;align-items:center;justify-content:center;min-width:126px;min-height:42px;background:var(--ccg-p);color:#fff!important;border-radius:12px;padding:9px 13px;font-size:13px;font-weight:800;white-space:nowrap}.ccg-quiz-done{display:inline-flex;align-items:center;justify-content:center;min-width:126px;min-height:42px;border-radius:12px;background:var(--ccg-soft);color:var(--ccg-p);font-size:12px;font-weight:800}.ccg-home-section{scroll-margin-top:20px}.ccg-ui-panel{margin-top:14px;border:1px solid var(--ccg-border);border-radius:20px;padding:16px;background:#fff;overflow:hidden}
.ccg-ui-notice,.ccg-quiz-directory-notice{padding:16px;border:1px solid var(--ccg-border);border-radius:16px;background:#fff;color:var(--ccg-muted);text-align:center}
@media(max-width:760px){.ccg-ui-shell{margin:14px auto}.ccg-ui-hero{grid-template-columns:auto 1fr;align-items:start;padding:20px;border-radius:20px}.ccg-ui-hero-icon{width:62px;height:62px;border-radius:17px;flex-basis:62px}.ccg-ui-hero-icon svg{width:34px;height:34px}.ccg-ui-hero h2{font-size:28px!important}.ccg-ui-hero p{font-size:14px}.ccg-ui-balance{grid-column:1/-1;width:100%;display:flex;align-items:center;justify-content:space-between;text-align:left;min-width:0}.ccg-ui-stat-grid{grid-template-columns:repeat(2,1fr)}.ccg-ui-actions{grid-template-columns:1fr}.ccg-quiz-metrics{grid-template-columns:repeat(3,1fr)}.ccg-quiz-nav{grid-template-columns:1fr 1fr 1fr}.ccg-quiz-list-item{grid-template-columns:auto 1fr;align-items:start}.ccg-quiz-list-action{grid-column:1/-1}.ccg-quiz-play,.ccg-quiz-done{width:100%}.ccg-ui-activity{grid-template-columns:auto 1fr}.ccg-ui-activity .ccg-ui-primary{grid-column:1/-1;width:100%}}
@media(max-width:470px){.ccg-ui-shell{margin:10px auto}.ccg-ui-stat-grid{grid-template-columns:1fr 1fr;gap:9px}.ccg-ui-stat{min-height:98px;padding:11px}.ccg-ui-stat-icon{width:42px;height:42px;flex-basis:42px}.ccg-ui-stat strong{font-size:22px}.ccg-ui-section{padding:14px;border-radius:19px}.ccg-quiz-metrics{gap:7px}.ccg-quiz-metric{padding:10px}.ccg-quiz-metric strong{font-size:20px}.ccg-quiz-nav a{padding:10px 5px;font-size:12px}.ccg-quiz-list-item{padding:11px}.ccg-quiz-list-icon{width:52px;height:52px;flex-basis:52px}.ccg-ui-hero h2{font-size:25px!important}}

/* Dashboard + private profile */
.ccg-dashboard-hero{grid-template-columns:auto 1fr auto;align-items:center}
.ccg-dashboard-title h2{letter-spacing:.03em}
.ccg-profile-toggle{border:0;background:#fff;color:var(--ccg-p);border-radius:15px;padding:10px 12px;display:flex;align-items:center;gap:8px;font:inherit;cursor:pointer;min-height:48px}
.ccg-profile-toggle>span{width:34px;height:34px;border-radius:10px;background:var(--ccg-soft);display:grid;place-items:center}.ccg-profile-toggle svg{width:22px;height:22px}.ccg-profile-toggle b{font-size:13px}
.ccg-dashboard-profile-panel{margin-top:12px}.ccg-dashboard-profile-panel[hidden]{display:none!important}.ccg-dashboard-profile-panel.is-open{display:block!important;animation:ccgProfileIn .22s ease-out}@keyframes ccgProfileIn{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}
.ccg-profile{background:#fff;border:1px solid var(--ccg-border);border-radius:22px;padding:18px}.ccg-profile-head{display:flex;align-items:center;gap:14px;padding-bottom:15px;border-bottom:1px solid var(--ccg-border)}.ccg-profile-head h3{margin:0!important;font-size:21px!important}.ccg-profile-head p{margin:3px 0 0;color:var(--ccg-muted);font-size:12px}.ccg-profile-avatar-wrap{text-align:center;flex:0 0 74px}.ccg-profile-avatar{width:68px;height:68px;border-radius:18px;background:var(--ccg-p);color:#fff;display:grid;place-items:center;overflow:hidden;margin:auto}.ccg-profile-avatar svg{width:38px;height:38px}.ccg-profile-avatar img{width:100%;height:100%;object-fit:cover}.ccg-profile-photo-btn{display:inline-block;margin-top:6px;color:var(--ccg-p);font-size:11px;font-weight:800;cursor:pointer}.ccg-profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:15px}.ccg-profile-grid label{display:block;color:var(--ccg-ink);font-size:12px;font-weight:800}.ccg-profile-grid input{width:100%;margin-top:6px;border:1px solid var(--ccg-border);border-radius:11px;padding:10px 11px;background:#fff;color:var(--ccg-ink);font:inherit;box-sizing:border-box}.ccg-profile-grid input:focus{outline:2px solid var(--ccg-p);outline-offset:1px}.ccg-profile-grid input[readonly]{background:var(--ccg-soft);color:var(--ccg-muted)}.ccg-profile-grid small{display:block;margin-top:4px;color:var(--ccg-muted);font-weight:500;line-height:1.35}.ccg-optional{font-weight:600;color:var(--ccg-muted)}.ccg-profile-actions{display:flex;align-items:center;gap:10px;margin-top:15px}.ccg-profile-save{border:0;background:var(--ccg-p);color:#fff;border-radius:12px;padding:11px 18px;font-weight:800;cursor:pointer}.ccg-profile-save:disabled{opacity:.6;cursor:wait}.ccg-profile-message{font-size:12px;color:var(--ccg-muted);font-weight:700}
@media(max-width:760px){.ccg-dashboard-hero{grid-template-columns:auto 1fr}.ccg-profile-toggle{grid-column:2;justify-self:start}.ccg-ui-balance{grid-column:1/-1}.ccg-profile-grid{grid-template-columns:1fr}}
@media(max-width:470px){.ccg-profile{padding:14px}.ccg-profile-head{align-items:flex-start}.ccg-dashboard-hero{gap:12px}.ccg-profile-toggle{padding:8px 10px}.ccg-profile-toggle b{font-size:12px}}

/* v5.1.15 dashboard/profile visual system */
.ccg-dashboard{max-width:760px}
.ccg-dashboard-hero{grid-template-columns:94px 1fr;position:relative;overflow:visible;padding:28px 28px 24px;min-height:0;border-radius:28px;gap:18px;background:#5b3cc4}
.ccg-dashboard-hero:after{content:"";position:absolute;inset:auto -40px -80px auto;width:190px;height:190px;border-radius:50%;background:rgba(255,255,255,.08);pointer-events:none}
.ccg-dashboard-profile-avatar{position:relative;width:92px;height:92px;border-radius:25px;background:#fff;color:var(--ccg-p);display:grid;place-items:center;overflow:visible;box-shadow:0 8px 24px rgba(32,18,90,.15);z-index:1}
.ccg-dashboard-profile-avatar img{width:100%;height:100%;object-fit:cover;border-radius:25px}
.ccg-dashboard-profile-avatar>svg{width:48px;height:48px}
.ccg-dashboard-profile-avatar>span{position:absolute;right:-7px;bottom:-7px;width:32px;height:32px;border-radius:10px;background:var(--ccg-p);color:#fff;border:3px solid #fff;display:grid;place-items:center}
.ccg-dashboard-profile-avatar>span svg{width:16px;height:16px}
.ccg-dashboard-title{position:relative;z-index:1;min-width:0}
.ccg-dashboard-title h2{font-size:35px!important;letter-spacing:.02em!important;margin:0 0 4px!important}
.ccg-dashboard-username{display:block;color:rgba(255,255,255,.96);font-size:15px;line-height:1.35;margin-bottom:10px;word-break:break-word}
.ccg-profile-toggle{width:max-content;max-width:100%;border-radius:14px!important;box-shadow:none;padding:9px 12px!important;min-height:44px!important}
.ccg-profile-toggle i{font-style:normal;font-size:18px;margin-left:2px}
.ccg-dashboard-hero>.ccg-ui-balance{grid-column:1/-1;width:100%;display:flex;align-items:center;justify-content:space-between;text-align:left;padding:15px 20px;border-radius:18px;min-width:0;position:relative;z-index:1}
.ccg-dashboard-hero>.ccg-ui-balance span{font-size:14px}
.ccg-dashboard-hero>.ccg-ui-balance strong{font-size:37px;margin:0}
.ccg-ui-stat-grid{gap:14px;margin-top:16px}
.ccg-ui-stat{min-height:122px;border-radius:21px;padding:17px;box-shadow:0 2px 10px rgba(45,25,100,.03)}
.ccg-ui-stat-icon{width:52px;height:52px;flex-basis:52px;border-radius:15px}
.ccg-ui-stat-icon svg{width:29px;height:29px}
.ccg-ui-stat small{font-size:13px}
.ccg-ui-stat strong{font-size:27px}
.ccg-ui-stat em{font-size:13px}
.ccg-ui-actions{grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}
.ccg-ui-action{min-height:74px;border-radius:19px;padding:14px 16px}
.ccg-ui-action-icon{width:48px;height:48px;flex-basis:48px;border-radius:14px}
.ccg-ui-action-icon svg{width:28px;height:28px}
.ccg-ui-action-text{font-size:15px}
.ccg-ui-section{margin-top:16px;border-radius:23px;padding:19px;box-shadow:0 2px 12px rgba(45,25,100,.025)}
.ccg-ui-section-head{margin-bottom:15px}
.ccg-ui-section-icon{width:52px;height:52px;flex-basis:52px;border-radius:16px}
.ccg-ui-section-icon svg{width:28px;height:28px}
.ccg-ui-section-head h3{font-size:22px!important;color:var(--ccg-p)!important}
.ccg-ui-activity,.ccg-ui-completed{border-radius:18px;padding:14px;margin-top:11px}
.ccg-ui-activity-icon{width:50px;height:50px;border-radius:15px}
.ccg-ui-activity-icon svg{width:28px;height:28px}
.ccg-ui-primary{min-height:44px;border-radius:13px;padding:10px 16px}
.ccg-ui-completed{grid-template-columns:auto 1fr}
.ccg-ui-check{width:48px;height:48px;flex-basis:48px}

.ccg-profile{padding:20px;border-radius:24px;box-shadow:0 4px 18px rgba(45,25,100,.04)}
.ccg-profile-head{padding-bottom:18px;gap:16px}
.ccg-profile-avatar-wrap{flex-basis:88px}
.ccg-profile-avatar{width:82px;height:82px;border-radius:23px;position:relative}
.ccg-profile-avatar svg{width:44px;height:44px}
.ccg-profile-camera{position:absolute;right:-7px;bottom:-7px!important;width:30px;height:30px;border-radius:10px;background:var(--ccg-p);border:3px solid #fff;display:grid!important;place-items:center;color:#fff}
.ccg-profile-camera svg{width:14px;height:14px!important}
.ccg-profile-photo-btn{margin-top:9px;font-size:12px}
.ccg-profile-head-main h3{font-size:23px!important}
.ccg-profile-head-main p{font-size:14px;color:var(--ccg-p);font-weight:800}
.ccg-profile-head-main small{display:block;color:var(--ccg-muted);font-size:11px;line-height:1.4;margin-top:3px}
.ccg-profile-grid{gap:14px;margin-top:18px}
.ccg-profile-grid label>span{display:block;font-size:12px;font-weight:800}
.ccg-profile-grid input{border-radius:13px;padding:12px 13px;margin-top:6px}
.ccg-profile-private-note,.ccg-private-note{color:#6f6a7c!important}
.ccg-profile-security{margin-top:16px;padding:13px 14px;border:1px solid var(--ccg-border);background:var(--ccg-soft);border-radius:16px;display:flex;gap:11px;align-items:flex-start}
.ccg-profile-security>span{width:36px;height:36px;border-radius:11px;background:var(--ccg-p);color:#fff;display:grid;place-items:center;flex:0 0 36px}
.ccg-profile-security svg{width:20px;height:20px}
.ccg-profile-security strong{display:block;color:var(--ccg-p);font-size:13px}
.ccg-profile-security small{display:block;color:var(--ccg-muted);font-size:11px;line-height:1.45;margin-top:2px}
.ccg-profile-actions{margin-top:16px}
.ccg-profile-save{border-radius:13px;padding:12px 20px}

@media(max-width:700px){
 .ccg-dashboard{max-width:100%;margin-top:8px}
 .ccg-dashboard-hero{grid-template-columns:78px 1fr;padding:20px;border-radius:23px;gap:14px}
 .ccg-dashboard-profile-avatar{width:76px;height:76px;border-radius:20px}
 .ccg-dashboard-profile-avatar img{border-radius:20px}
 .ccg-dashboard-profile-avatar>svg{width:40px;height:40px}
 .ccg-dashboard-title h2{font-size:27px!important}
 .ccg-dashboard-username{font-size:13px;margin-bottom:8px}
 .ccg-dashboard-hero>.ccg-ui-balance{padding:13px 16px;border-radius:16px}
 .ccg-dashboard-hero>.ccg-ui-balance span{font-size:12px}
 .ccg-dashboard-hero>.ccg-ui-balance strong{font-size:31px}
 .ccg-ui-stat{min-height:108px;padding:13px;gap:9px}
 .ccg-ui-stat-icon{width:46px;height:46px;flex-basis:46px;border-radius:14px}
 .ccg-ui-stat-icon svg{width:26px;height:26px}
 .ccg-ui-stat strong{font-size:24px}
 .ccg-ui-actions{grid-template-columns:1fr 1fr}
}
@media(max-width:480px){
 .ccg-ui-shell{margin:8px auto}
 .ccg-dashboard-hero{padding:17px;border-radius:20px}
 .ccg-dashboard-profile-avatar{width:68px;height:68px;border-radius:18px}
 .ccg-dashboard-profile-avatar img{border-radius:18px}
 .ccg-dashboard-title h2{font-size:24px!important}
 .ccg-profile-toggle{padding:7px 9px!important;min-height:40px!important}
 .ccg-profile-toggle b{font-size:12px}
 .ccg-dashboard-hero>.ccg-ui-balance strong{font-size:29px}
 .ccg-ui-stat-grid{gap:9px}
 .ccg-ui-stat{min-height:104px;padding:11px;border-radius:18px}
 .ccg-ui-stat-icon{width:43px;height:43px;flex-basis:43px}
 .ccg-ui-stat strong{font-size:22px}
 .ccg-ui-actions{gap:9px}
 .ccg-ui-action{padding:11px;min-height:67px}
 .ccg-ui-action-icon{width:42px;height:42px;flex-basis:42px}
 .ccg-ui-action-text{font-size:13px}
 .ccg-ui-section{padding:14px;border-radius:19px}
 .ccg-profile{padding:15px;border-radius:20px}
 .ccg-profile-head{gap:12px}
 .ccg-profile-avatar-wrap{flex-basis:74px}
 .ccg-profile-avatar{width:70px;height:70px;border-radius:19px}
 .ccg-profile-head-main h3{font-size:20px!important}
 .ccg-profile-grid{grid-template-columns:1fr;gap:11px}
}



/* v5.1.21 — standalone profile modal: avoids native <details> scrolling/overflow bugs */
.ccg-profile-toggle{border:0!important;background:#fff!important;color:var(--ccg-p)!important;border-radius:14px!important;padding:9px 12px!important;display:inline-flex!important;align-items:center!important;gap:8px!important;width:max-content;max-width:100%;min-height:44px!important;box-shadow:none!important;font:inherit!important;cursor:pointer!important;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.ccg-profile-toggle>span{width:34px;height:34px;border-radius:10px;background:var(--ccg-soft);display:grid;place-items:center;flex:0 0 34px}.ccg-profile-toggle>span svg{width:22px;height:22px}.ccg-profile-toggle b{font-size:13px}.ccg-profile-toggle i{font-style:normal;font-size:18px;margin-left:2px}
.ccg-profile-toggle:focus-visible{outline:3px solid rgba(255,255,255,.95);outline-offset:3px}
.ccg-profile-modal[hidden]{display:none!important}
.ccg-profile-modal{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;padding:18px;isolation:isolate}
.ccg-profile-modal-backdrop{position:absolute;inset:0;background:rgba(25,18,45,.58);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
.ccg-profile-modal-dialog{position:relative;z-index:2;width:min(680px,100%);max-height:min(92vh,820px);overflow:auto;background:#fff;border-radius:26px;box-shadow:0 24px 80px rgba(25,18,45,.28);overscroll-behavior:contain;-webkit-overflow-scrolling:touch;animation:ccgProfileModalIn .18s ease-out}
.ccg-profile-modal-title{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
@keyframes ccgProfileModalIn{from{opacity:0;transform:translateY(12px) scale(.985)}to{opacity:1;transform:none}}
body.ccg-profile-modal-open{overflow:hidden!important}
.ccg-profile-modal .ccg-profile{border:0!important;border-radius:26px!important;box-shadow:none!important;padding:24px!important;margin:0!important;width:100%!important;background:#fff!important}
.ccg-profile-modal .ccg-profile-card-head{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:16px;padding-bottom:18px;border-bottom:1px solid var(--ccg-border)}
.ccg-profile-modal .ccg-profile-avatar-wrap{flex:0 0 auto;text-align:center}
.ccg-profile-modal .ccg-profile-avatar{position:relative;width:88px;height:88px;border:0;padding:0;border-radius:24px;background:var(--ccg-p);color:#fff;display:grid;place-items:center;overflow:visible;margin:0;cursor:pointer}
.ccg-profile-modal .ccg-profile-avatar svg{width:45px;height:45px}.ccg-profile-modal .ccg-profile-avatar img{width:100%;height:100%;object-fit:cover;border-radius:24px}
.ccg-profile-modal .ccg-profile-camera{position:absolute;right:-7px;bottom:-7px;width:31px;height:31px;border-radius:10px;background:var(--ccg-p);color:#fff;border:3px solid #fff;display:grid;place-items:center}.ccg-profile-modal .ccg-profile-camera svg{width:15px;height:15px}
.ccg-profile-modal .ccg-profile-photo-btn{display:inline-block;margin-top:9px;color:var(--ccg-p);font-size:12px;font-weight:800;cursor:pointer}
.ccg-profile-modal .ccg-profile-head-main{min-width:0}.ccg-profile-modal .ccg-profile-eyebrow{display:block;color:var(--ccg-muted);font-size:10px;font-weight:900;letter-spacing:.1em;margin-bottom:3px}.ccg-profile-modal .ccg-profile-head-main h3{margin:0!important;color:var(--ccg-ink)!important;font-size:26px!important;line-height:1.15!important}.ccg-profile-modal .ccg-profile-head-main p{margin:5px 0 0;color:var(--ccg-p);font-size:14px;font-weight:800;word-break:break-word}
.ccg-profile-close{width:40px;height:40px;border:1px solid var(--ccg-border);background:var(--ccg-soft);color:var(--ccg-ink);border-radius:12px;font-size:27px;line-height:1;cursor:pointer;display:grid;place-items:center}
.ccg-profile-modal .ccg-profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:20px}.ccg-profile-modal .ccg-profile-grid label{display:block;color:var(--ccg-ink);font-size:12px;font-weight:800}.ccg-profile-modal .ccg-profile-grid input{width:100%;box-sizing:border-box;margin-top:7px;border:1px solid var(--ccg-border);border-radius:13px;padding:12px 13px;background:#fff;color:var(--ccg-ink);font:inherit;min-height:46px}.ccg-profile-modal .ccg-profile-grid input:focus{outline:3px solid rgba(91,60,196,.15);border-color:var(--ccg-p)}.ccg-profile-modal .ccg-profile-grid input[readonly]{background:var(--ccg-soft);color:var(--ccg-muted)}.ccg-profile-modal .ccg-profile-grid small{display:block;margin-top:5px;color:var(--ccg-muted);font-size:10px;font-weight:600;line-height:1.4}.ccg-profile-modal .ccg-optional{font-weight:600;color:var(--ccg-muted)}
.ccg-profile-modal .ccg-profile-security{margin-top:18px;padding:14px;border:1px solid var(--ccg-border);background:var(--ccg-soft);border-radius:16px;display:flex;gap:11px;align-items:flex-start}.ccg-profile-modal .ccg-profile-security>span{width:38px;height:38px;border-radius:11px;background:var(--ccg-p);color:#fff;display:grid;place-items:center;flex:0 0 38px}.ccg-profile-modal .ccg-profile-security svg{width:20px;height:20px}.ccg-profile-modal .ccg-profile-security strong{display:block;color:var(--ccg-p);font-size:13px}.ccg-profile-modal .ccg-profile-security small{display:block;color:var(--ccg-muted);font-size:11px;line-height:1.45;margin-top:2px}
.ccg-profile-modal .ccg-profile-actions{display:flex;align-items:center;gap:10px;margin-top:18px}.ccg-profile-modal .ccg-profile-cancel{border:1px solid var(--ccg-border);background:#fff;color:var(--ccg-ink);border-radius:13px;padding:12px 18px;font-weight:800;cursor:pointer}.ccg-profile-modal .ccg-profile-save{border:0;background:var(--ccg-p);color:#fff;border-radius:13px;padding:12px 20px;font-weight:800;cursor:pointer}.ccg-profile-modal .ccg-profile-save:disabled{opacity:.6;cursor:wait}.ccg-profile-modal .ccg-profile-message{font-size:11px;color:var(--ccg-muted);font-weight:700}.ccg-profile-modal .ccg-profile-message.is-success{color:#287a45}.ccg-profile-modal .ccg-profile-message.is-error{color:#b42318}.ccg-profile-modal .ccg-profile-message.is-loading{color:var(--ccg-p)}
@media(max-width:700px){.ccg-profile-modal{padding:10px;align-items:flex-end}.ccg-profile-modal-dialog{max-height:94vh;border-radius:24px}.ccg-profile-modal .ccg-profile{padding:18px!important}.ccg-profile-modal .ccg-profile-card-head{grid-template-columns:auto 1fr auto;gap:12px}.ccg-profile-modal .ccg-profile-avatar{width:74px;height:74px;border-radius:20px}.ccg-profile-modal .ccg-profile-avatar img{border-radius:20px}.ccg-profile-modal .ccg-profile-grid{grid-template-columns:1fr;gap:12px}.ccg-profile-modal .ccg-profile-head-main h3{font-size:22px!important}.ccg-profile-modal .ccg-profile-actions{flex-wrap:wrap}.ccg-profile-modal .ccg-profile-message{width:100%}}
@media(max-width:480px){.ccg-profile-toggle{padding:7px 9px!important;min-height:40px!important}.ccg-profile-toggle b{font-size:12px}.ccg-profile-modal{padding:0}.ccg-profile-modal-dialog{width:100%;max-height:96vh;border-radius:22px 22px 0 0}.ccg-profile-modal .ccg-profile{padding:16px!important}.ccg-profile-modal .ccg-profile-card-head{grid-template-columns:auto 1fr auto}.ccg-profile-modal .ccg-profile-avatar{width:68px;height:68px}.ccg-profile-close{width:36px;height:36px;font-size:24px}.ccg-profile-modal .ccg-profile-save,.ccg-profile-modal .ccg-profile-cancel{padding:11px 15px}}

/* v5.1.23 profile hardening: modal is moved to body, so define its UI variables locally. */
.ccg-profile-modal{--ccg-p:#5b3cc4;--ccg-p-dark:#4f31b4;--ccg-soft:#f5f2fb;--ccg-border:#ddd6ef;--ccg-muted:#777287;--ccg-ink:#1d1a24;color:var(--ccg-ink);}
html.ccg-profile-modal-active,body.ccg-profile-modal-open{overflow:hidden!important;}
.ccg-profile-modal-dialog{touch-action:auto;}
/* v5.1.27 — CSS-first profile opening. The profile can open even if JS is delayed/blocked. */
.ccg-profile-toggle-input{position:absolute!important;opacity:0!important;width:1px!important;height:1px!important;margin:0!important;pointer-events:none!important}
.ccg-profile-toggle-input:focus-visible + .ccg-profile-toggle{outline:3px solid rgba(255,255,255,.95)!important;outline-offset:3px}
.ccg-profile-modal{visibility:hidden!important;opacity:0!important;pointer-events:none!important;transition:opacity .16s ease,visibility .16s ease!important}
.ccg-profile-toggle-input:checked ~ .ccg-profile-modal{visibility:visible!important;opacity:1!important;pointer-events:auto!important;z-index:999999!important}
.ccg-profile-modal-close-area{position:absolute;inset:0;display:block;cursor:pointer}
.ccg-profile-modal .ccg-profile-close,.ccg-profile-modal .ccg-profile-cancel{cursor:pointer}
.ccg-profile-modal[aria-hidden="false"]{visibility:visible}
@media(max-width:700px){.ccg-profile-modal-dialog{max-height:94vh}}

/* v5.1.28 — definitive CSS-first toggle fix: checked state must override hidden state with !important. */
.ccg-profile-toggle-input:checked ~ .ccg-profile-modal .ccg-profile-modal-dialog{opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:none!important;}
.ccg-profile-toggle-input:checked ~ .ccg-profile-modal .ccg-profile-modal-backdrop{opacity:1!important;visibility:visible!important;pointer-events:auto!important;}


/* v5.1.29 — definitive profile modal: anchor target + JS enhancement, no checkbox dependency */
.ccg-profile-toggle-input{display:none!important}
.ccg-profile-toggle{ text-decoration:none!important; }
.ccg-profile-modal{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important;}
.ccg-profile-modal:target{display:flex!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;}
.ccg-profile-modal.is-open{display:flex!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;}
.ccg-profile-modal-close-area{position:absolute;inset:0;display:block;cursor:pointer;text-decoration:none!important;}
.ccg-profile-modal-dialog{position:relative!important;}

/* v5.1.30 — Profile uses native <dialog> top-layer to eliminate hero/stacking/overflow bugs. */
.ccg-profile-dialog{width:min(680px,calc(100vw - 24px));max-width:680px;max-height:min(92vh,820px);margin:auto;padding:0;border:0;border-radius:26px;background:#fff;color:#1d1a24;box-shadow:0 24px 80px rgba(25,18,45,.32);overflow:hidden;box-sizing:border-box;z-index:2147483647}
.ccg-profile-dialog::backdrop{background:rgba(25,18,45,.62);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
.ccg-profile-dialog:not([open]){display:none}
.ccg-profile-dialog-head{display:none}
.ccg-profile-dialog-body{max-height:min(92vh,820px);overflow:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
.ccg-profile-dialog .ccg-profile{border:0!important;border-radius:0!important;box-shadow:none!important;margin:0!important;width:100%!important;box-sizing:border-box;background:#fff!important}
.ccg-profile-dialog .ccg-profile-close,.ccg-profile-dialog .ccg-profile-cancel{cursor:pointer}
html.ccg-profile-modal-active,body.ccg-profile-modal-open{overflow:hidden!important}
@media(max-width:700px){.ccg-profile-dialog{width:100%;max-width:none;max-height:96vh;border-radius:22px 22px 0 0}.ccg-profile-dialog-body{max-height:96vh}}

/* v5.1.32 — Profile Editing popup: isolated overlay + explicit stacking order. */
.ccg-profile-popup{position:fixed!important;inset:0!important;width:100%!important;height:100%!important;margin:0!important;padding:14px!important;border:0!important;z-index:2147483000!important;display:flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;font-family:inherit;visibility:hidden!important;opacity:0!important;pointer-events:none!important;isolation:isolate!important;}
.ccg-profile-popup.is-open{visibility:visible!important;opacity:1!important;pointer-events:auto!important;}
.ccg-profile-popup[hidden]{display:flex!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important;}
.ccg-profile-popup-backdrop{position:absolute!important;inset:0!important;z-index:0!important;background:rgba(20,15,35,.64)!important;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);cursor:pointer;}
.ccg-profile-popup-panel{position:relative!important;left:auto!important;top:auto!important;right:auto!important;bottom:auto!important;transform:none!important;z-index:2!important;display:flex!important;flex-direction:column!important;width:min(680px,100%)!important;max-width:680px!important;max-height:calc(100vh - 28px)!important;min-height:0!important;overflow:hidden!important;background:#fff!important;border-radius:26px!important;box-shadow:0 24px 80px rgba(25,18,45,.35)!important;color:#1d1a24!important;box-sizing:border-box!important;}
.ccg-profile-popup-titlebar{display:flex;flex:0 0 auto!important;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid #eeeaf5;background:#fff;position:relative;z-index:3!important;}
.ccg-profile-popup-titlebar strong{display:block;font-size:17px;color:#5b3cc4;line-height:1.2}.ccg-profile-popup-titlebar small{display:block;margin-top:3px;color:#777287;font-size:11px;font-weight:600;}
.ccg-profile-popup-x{width:38px!important;height:38px!important;flex:0 0 38px!important;border:1px solid #ddd6ef!important;background:#f5f2fb!important;color:#1d1a24!important;border-radius:12px!important;font-size:25px!important;line-height:1!important;display:grid!important;place-items:center!important;cursor:pointer!important;padding:0!important;}
.ccg-profile-popup .ccg-profile{display:block!important;flex:0 1 auto!important;min-height:0!important;margin:0!important;width:100%!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#fff!important;box-sizing:border-box!important;overflow:auto!important;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;}
html.ccg-profile-modal-active,body.ccg-profile-modal-open{overflow:hidden!important;}
@media(max-width:700px){.ccg-profile-popup{align-items:flex-end;padding:0!important}.ccg-profile-popup-panel{width:100%!important;max-width:none!important;max-height:94vh!important;border-radius:24px 24px 0 0!important}.ccg-profile-popup-titlebar{padding:14px 16px}.ccg-profile-popup .ccg-profile{padding:16px!important;}}


/* v5.1.33 — definitive Profile Editing popup layout.
 * The editor gets its own scroll body. This avoids the previous flex/overflow
 * collapse where only the popup title bar was visible on mobile.
 */
.ccg-profile-popup-panel{display:flex!important;flex-direction:column!important;min-height:0!important;}
.ccg-profile-popup-body{display:block!important;flex:1 1 auto!important;min-height:0!important;width:100%!important;overflow:auto!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior:contain!important;background:#fff!important;}
.ccg-profile-popup-body>.ccg-profile{display:block!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;box-sizing:border-box!important;padding:22px!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#fff!important;}
.ccg-profile-popup-error{padding:24px 20px;color:#b42318;font-weight:700;font-size:14px;line-height:1.5;background:#fff;}
.ccg-profile-popup-body .ccg-profile-card-head{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;align-items:center!important;gap:14px!important;padding-bottom:18px!important;border-bottom:1px solid #ddd6ef!important;}
.ccg-profile-popup-body .ccg-profile-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:15px!important;margin-top:20px!important;}
.ccg-profile-popup-body .ccg-profile-grid label{display:block!important;}
.ccg-profile-popup-body .ccg-profile-actions{display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important;}
@media(max-width:700px){
  .ccg-profile-popup{align-items:flex-end!important;padding:0!important;}
  .ccg-profile-popup-panel{width:100%!important;max-width:none!important;height:auto!important;max-height:94vh!important;border-radius:24px 24px 0 0!important;}
  .ccg-profile-popup-body{max-height:calc(94vh - 67px)!important;}
  .ccg-profile-popup-body>.ccg-profile{padding:18px!important;}
  .ccg-profile-popup-body .ccg-profile-grid{grid-template-columns:1fr!important;gap:12px!important;margin-top:16px!important;}
}
@media(max-width:420px){
  .ccg-profile-popup-titlebar{padding:13px 15px!important;}
  .ccg-profile-popup-titlebar strong{font-size:16px!important;}
  .ccg-profile-popup-body>.ccg-profile{padding:16px!important;}
  .ccg-profile-popup-body .ccg-profile-card-head{grid-template-columns:auto minmax(0,1fr) auto!important;gap:10px!important;}
  .ccg-profile-popup-body .ccg-profile-avatar{width:70px!important;height:70px!important;border-radius:19px!important;}
  .ccg-profile-popup-body .ccg-profile-head-main h3{font-size:21px!important;}
}


/* v5.1.34 — Dashboard-matched profile editor visual system */
.ccg-profile-popup{--ccg-p:#5b3cc4;--ccg-p-dark:#4f31b4;--ccg-soft:#f5f2fb;--ccg-border:#ddd6ef;--ccg-muted:#777287;--ccg-ink:#1d1a24;}
.ccg-profile-popup-titlebar{background:#5b3cc4!important;border:0!important;padding:16px 18px!important;color:#fff!important;}
.ccg-profile-popup-titlebar strong{color:#fff!important;font-size:18px!important;font-weight:900!important;}
.ccg-profile-popup-titlebar small{color:rgba(255,255,255,.82)!important;font-size:11px!important;}
.ccg-profile-popup-x{background:rgba(255,255,255,.14)!important;border:1px solid rgba(255,255,255,.3)!important;color:#fff!important;border-radius:12px!important;}
.ccg-profile-popup-body{background:#faf9fd!important;}
.ccg-profile-popup-body>.ccg-profile{padding:18px!important;background:#faf9fd!important;}
.ccg-profile-hero{display:grid;grid-template-columns:92px minmax(0,1fr);align-items:center;gap:18px;padding:22px;border-radius:25px;background:#5b3cc4;color:#fff;position:relative;overflow:hidden;box-sizing:border-box;}
.ccg-profile-hero:after{content:"";position:absolute;right:-55px;bottom:-90px;width:210px;height:210px;border-radius:50%;background:rgba(255,255,255,.08);pointer-events:none;}
.ccg-profile-avatar-wrap{position:relative;z-index:1;text-align:center;width:92px;}
.ccg-profile-avatar{position:relative!important;width:92px!important;height:92px!important;border:0!important;border-radius:25px!important;background:#fff!important;color:#5b3cc4!important;display:grid!important;place-items:center!important;overflow:visible!important;margin:0 auto!important;cursor:pointer!important;box-shadow:0 8px 24px rgba(32,18,90,.15)!important;padding:0!important;}
.ccg-profile-avatar svg{width:48px!important;height:48px!important;}
.ccg-profile-avatar img{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:25px!important;}
.ccg-profile-camera{position:absolute!important;right:-7px!important;bottom:-7px!important;width:32px!important;height:32px!important;border-radius:10px!important;background:#5b3cc4!important;color:#fff!important;border:3px solid #fff!important;display:grid!important;place-items:center!important;}
.ccg-profile-camera svg{width:16px!important;height:16px!important;}
.ccg-profile-photo-btn{display:inline-block!important;margin-top:9px!important;color:#fff!important;font-size:11px!important;font-weight:900!important;cursor:pointer!important;position:relative;z-index:2;}
.ccg-profile-head-main{position:relative;z-index:1;min-width:0;}
.ccg-profile-head-main .ccg-profile-eyebrow{display:block;color:rgba(255,255,255,.75)!important;font-size:10px!important;font-weight:900!important;letter-spacing:.11em!important;margin-bottom:4px!important;}
.ccg-profile-head-main h3{margin:0!important;color:#fff!important;font-size:30px!important;line-height:1.1!important;letter-spacing:.02em!important;}
.ccg-profile-head-main p{margin:6px 0 0!important;color:#fff!important;font-size:14px!important;font-weight:900!important;word-break:break-word;}
.ccg-profile-head-main small{display:flex!important;align-items:center;gap:5px;margin-top:7px!important;color:rgba(255,255,255,.78)!important;font-size:10px!important;line-height:1.35!important;}
.ccg-profile-head-main small svg{width:13px!important;height:13px!important;}
.ccg-profile-section-title{display:flex;align-items:center;gap:12px;margin:16px 2px 11px;padding:0 2px;}
.ccg-profile-section-title>span{width:44px;height:44px;flex:0 0 44px;border-radius:14px;background:#5b3cc4;color:#fff;display:grid;place-items:center;}
.ccg-profile-section-title>span svg{width:24px;height:24px;}
.ccg-profile-section-title strong{display:block;color:#1d1a24;font-size:18px;font-weight:900;line-height:1.2;}
.ccg-profile-section-title small{display:block;color:#777287;font-size:11px;margin-top:3px;line-height:1.35;}
.ccg-profile-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important;margin-top:0!important;}
.ccg-profile-field{display:flex!important;align-items:flex-start!important;gap:11px!important;padding:14px!important;border:1px solid #ddd6ef!important;border-radius:19px!important;background:#fff!important;box-sizing:border-box!important;min-width:0!important;box-shadow:0 2px 10px rgba(45,25,100,.025)!important;}
.ccg-profile-field-full{grid-column:1/-1!important;}
.ccg-profile-field-icon{width:44px!important;height:44px!important;flex:0 0 44px!important;border-radius:13px!important;background:#5b3cc4!important;color:#fff!important;display:grid!important;place-items:center!important;}
.ccg-profile-field-icon svg{width:23px!important;height:23px!important;}
.ccg-profile-field-content{display:block!important;min-width:0!important;flex:1 1 auto!important;}
.ccg-profile-field-content>b{display:block!important;color:#777287!important;font-size:11px!important;font-weight:900!important;margin:1px 0 5px!important;}
.ccg-profile-field-content input{width:100%!important;box-sizing:border-box!important;border:0!important;border-radius:10px!important;background:#f7f5fa!important;color:#1d1a24!important;font:inherit!important;font-size:14px!important;font-weight:800!important;min-height:40px!important;padding:9px 10px!important;margin:0!important;outline:none!important;}
.ccg-profile-field-content input:focus{outline:2px solid rgba(91,60,196,.2)!important;background:#fff!important;}
.ccg-profile-field-content input[readonly]{color:#777287!important;background:#f3f0f8!important;}
.ccg-profile-field-content small{display:block!important;margin-top:5px!important;color:#777287!important;font-size:9px!important;font-weight:600!important;line-height:1.35!important;}
.ccg-profile-field-content .ccg-private-note{color:#777287!important;}
.ccg-profile-security{margin-top:12px!important;padding:13px 14px!important;border:1px solid #ddd6ef!important;background:#f5f2fb!important;border-radius:17px!important;display:flex!important;gap:11px!important;align-items:flex-start!important;}
.ccg-profile-security>span{width:38px!important;height:38px!important;flex:0 0 38px!important;border-radius:11px!important;background:#5b3cc4!important;color:#fff!important;display:grid!important;place-items:center!important;}
.ccg-profile-security svg{width:20px!important;height:20px!important;}
.ccg-profile-security strong{display:block!important;color:#5b3cc4!important;font-size:12px!important;font-weight:900!important;}
.ccg-profile-security small{display:block!important;color:#777287!important;font-size:10px!important;line-height:1.45!important;margin-top:2px!important;}
.ccg-profile-actions{display:flex!important;align-items:center!important;gap:10px!important;margin-top:13px!important;padding-top:2px!important;}
.ccg-profile-cancel{border:1px solid #ddd6ef!important;background:#fff!important;color:#1d1a24!important;border-radius:13px!important;padding:11px 18px!important;font-weight:900!important;cursor:pointer!important;}
.ccg-profile-save{border:0!important;background:#5b3cc4!important;color:#fff!important;border-radius:13px!important;padding:11px 20px!important;font-weight:900!important;cursor:pointer!important;box-shadow:0 5px 14px rgba(91,60,196,.2)!important;}
.ccg-profile-save:disabled{opacity:.6!important;cursor:wait!important;}
.ccg-profile-message{font-size:10px!important;color:#777287!important;font-weight:800!important;}
@media(max-width:700px){
 .ccg-profile-popup-body>.ccg-profile{padding:14px!important;}
 .ccg-profile-hero{grid-template-columns:76px minmax(0,1fr);gap:13px;padding:17px;border-radius:21px;}
 .ccg-profile-avatar-wrap{width:76px;}
 .ccg-profile-avatar{width:76px!important;height:76px!important;border-radius:20px!important;}
 .ccg-profile-avatar img{border-radius:20px!important;}
 .ccg-profile-avatar svg{width:40px!important;height:40px!important;}
 .ccg-profile-head-main h3{font-size:25px!important;}
 .ccg-profile-grid{grid-template-columns:1fr!important;gap:10px!important;}
 .ccg-profile-field-full{grid-column:auto!important;}
}
@media(max-width:480px){
 .ccg-profile-popup-titlebar{padding:13px 14px!important;}
 .ccg-profile-popup-titlebar strong{font-size:16px!important;}
 .ccg-profile-popup-body>.ccg-profile{padding:12px!important;}
 .ccg-profile-hero{grid-template-columns:68px minmax(0,1fr);gap:11px;padding:15px;border-radius:20px;}
 .ccg-profile-avatar-wrap{width:68px;}
 .ccg-profile-avatar{width:68px!important;height:68px!important;border-radius:18px!important;}
 .ccg-profile-avatar img{border-radius:18px!important;}
 .ccg-profile-head-main h3{font-size:22px!important;}
 .ccg-profile-head-main p{font-size:12px!important;}
 .ccg-profile-section-title>span{width:40px;height:40px;flex-basis:40px;border-radius:12px;}
 .ccg-profile-field{padding:12px!important;border-radius:17px!important;}
 .ccg-profile-field-icon{width:40px!important;height:40px!important;flex-basis:40px!important;border-radius:12px!important;}
 .ccg-profile-field-icon svg{width:21px!important;height:21px!important;}
 .ccg-profile-actions{flex-wrap:wrap!important;}
 .ccg-profile-message{width:100%!important;}
}
