:root{--ctn-blue:#2457d6;--ctn-cyan:#18bfe8;--ctn-purple:#743eea;--ctn-ink:#14213d;--ctn-muted:#667085;--ctn-bg:#f7f9fc;--ctn-border:#e6eaf1;--ctn-white:#fff;--ctn-grad:linear-gradient(135deg,var(--ctn-blue),var(--ctn-purple));--ctn-shadow:0 16px 45px rgba(30,55,110,.10)}
.ctn-directory,.ctn-dashboard,.ctn-public-profile,.ctn-login-required,.ctn-auth-shell{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ctn-ink)}
.ctn-kicker{font-size:11px;letter-spacing:.16em;font-weight:800;color:var(--ctn-blue);text-transform:uppercase}
.ctn-gradient-btn{border:0!important;display:inline-flex;align-items:center;justify-content:center;gap:10px;background:var(--ctn-grad)!important;color:#fff!important;padding:13px 22px;border-radius:12px;text-decoration:none;font-weight:750;cursor:pointer;box-shadow:0 10px 25px rgba(36,87,214,.20);transition:transform .2s ease,box-shadow .2s ease,opacity .2s ease}
.ctn-gradient-btn:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(36,87,214,.26)}
.ctn-gradient-btn:disabled{opacity:.7;cursor:wait;transform:none}
.ctn-outline-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 16px;border:1px solid #cfd6e3;border-radius:10px;background:#fff;color:var(--ctn-ink);font-weight:700;text-decoration:none;transition:.2s ease}
.ctn-outline-btn:hover{border-color:var(--ctn-blue);color:var(--ctn-blue);transform:translateY(-1px)}
.ctn-spinner{display:none;width:15px;height:15px;border:2px solid rgba(255,255,255,.45);border-top-color:#fff;border-radius:50%;animation:ctnspin .7s linear infinite}.is-loading .ctn-spinner{display:inline-block}@keyframes ctnspin{to{transform:rotate(360deg)}}

/* Directory */
.ctn-directory{display:grid;grid-template-columns:275px 1fr;gap:32px;background:var(--ctn-bg);padding:28px;border-radius:22px}
.ctn-filters{background:#fff;border:1px solid var(--ctn-border);border-radius:18px;padding:22px;height:max-content;position:sticky;top:25px;box-shadow:0 10px 30px rgba(20,33,61,.05)}
.ctn-filter-title{display:flex;justify-content:space-between;align-items:center;padding-bottom:18px;border-bottom:1px solid var(--ctn-border);font-size:18px}.ctn-filter-title a{font-size:12px;color:var(--ctn-blue);text-decoration:none}.ctn-filter-group{padding:17px 0;border-bottom:1px solid var(--ctn-border)}.ctn-filter-group label{display:block;font-weight:700;font-size:13px;margin-bottom:8px}.ctn-filter-group select,.ctn-form input,.ctn-form select,.ctn-form textarea,.ctn-form-section input,.ctn-form-section select,.ctn-form-section textarea{width:100%;box-sizing:border-box;border:1px solid #dce2ec;background:#fff;color:var(--ctn-ink);border-radius:10px;padding:12px 13px;outline:none;transition:border-color .2s,box-shadow .2s}.ctn-filter-group select:focus,.ctn-form input:focus,.ctn-form select:focus,.ctn-form textarea:focus,.ctn-form-section input:focus,.ctn-form-section select:focus,.ctn-form-section textarea:focus{border-color:var(--ctn-blue);box-shadow:0 0 0 3px rgba(36,87,214,.10)}.ctn-filters .ctn-gradient-btn{width:100%;margin-top:18px}.ctn-results-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:24px}.ctn-results-head h1{font-size:34px;line-height:1.1;margin:5px 0 8px}.ctn-results-head p{margin:0;color:var(--ctn-muted)}.ctn-count{font-weight:750;color:var(--ctn-blue);background:#eef3ff;padding:9px 13px;border-radius:999px;font-size:13px}.ctn-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.ctn-card{background:#fff;border:1px solid var(--ctn-border);border-radius:17px;overflow:hidden;position:relative;box-shadow:0 10px 25px rgba(20,33,61,.06);transition:transform .22s ease,box-shadow .22s ease}.ctn-card:hover{transform:translateY(-5px);box-shadow:var(--ctn-shadow)}.ctn-card-top{height:78px;background:var(--ctn-grad);padding:12px}.ctn-course-pill{font-size:10px;color:#fff;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.3);border-radius:999px;padding:5px 8px;display:inline-block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ctn-card-avatar{margin:-38px auto 0;width:86px;height:86px;position:relative;border-radius:50%;background:#fff;padding:4px;box-shadow:0 7px 18px rgba(20,33,61,.15)}.ctn-avatar{width:100%;height:100%;object-fit:cover;border-radius:50%}.ctn-avatar-placeholder{display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#eaf0ff,#f3eaff);color:var(--ctn-blue);font-size:27px;font-weight:800}.ctn-card-body{text-align:center;padding:15px 16px 20px}.ctn-card-body h3{font-size:16px;margin:0 0 5px}.ctn-course{font-size:12px;color:var(--ctn-muted);min-height:18px;margin-bottom:15px}.ctn-card .ctn-outline-btn{font-size:12px;padding:8px 13px;border-radius:999px}.ctn-empty{background:#fff;border:1px dashed #ccd5e4;padding:45px;border-radius:15px;color:var(--ctn-muted);text-align:center}

/* Auth */
.ctn-auth-shell{min-height:640px;display:flex;align-items:center;justify-content:center;padding:45px 18px;background:radial-gradient(circle at 15% 15%,rgba(24,191,232,.10),transparent 30%),radial-gradient(circle at 85% 85%,rgba(116,62,234,.10),transparent 30%),#f8faff}.ctn-auth-card{width:min(900px,100%);min-height:500px;background:#fff;border:1px solid var(--ctn-border);border-radius:22px;overflow:hidden;display:grid;grid-template-columns:42% 58%;box-shadow:0 28px 80px rgba(20,33,61,.12);animation:ctnup .5s ease both}@keyframes ctnup{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}.ctn-auth-brand{background:var(--ctn-grad);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:40px;position:relative;overflow:hidden}.ctn-auth-brand:before,.ctn-auth-brand:after{content:"";position:absolute;border:1px solid rgba(255,255,255,.16);border-radius:50%;width:300px;height:300px}.ctn-auth-brand:before{transform:translate(-35%,35%)}.ctn-auth-brand:after{transform:translate(35%,-35%)}.ctn-auth-orb{width:170px;height:170px;border-radius:50%;background:#fff;display:grid;place-items:center;box-shadow:0 18px 50px rgba(13,35,100,.22);position:relative;z-index:1}.ctn-auth-orb span{font-size:72px;font-weight:900;background:var(--ctn-grad);-webkit-background-clip:text;background-clip:text;color:transparent}.ctn-auth-brand b{display:block;font-size:27px;letter-spacing:.08em;margin-top:22px}.ctn-auth-brand small{display:block;margin-top:5px;opacity:.85}.ctn-auth-form{padding:62px 64px;display:flex;flex-direction:column;justify-content:center}.ctn-auth-form h1{font-size:32px;margin:7px 0}.ctn-auth-form>p{color:var(--ctn-muted);margin:0 0 26px;line-height:1.6}.ctn-form{display:grid;gap:16px}.ctn-form label,.ctn-form-section label{font-size:13px;font-weight:700}.ctn-form label>input,.ctn-form label>select,.ctn-form label>textarea{display:block;margin-top:7px}.ctn-password{position:relative}.ctn-password input{padding-right:45px!important}.ctn-password button{position:absolute;right:8px;top:50%;transform:translateY(-50%);border:0;background:none;color:#78849b;cursor:pointer}.ctn-password button.is-visible{color:var(--ctn-blue)}.ctn-forgot{margin:18px auto 0;color:var(--ctn-blue);text-decoration:none;font-size:13px;font-weight:650}.ctn-auth-note{margin-top:25px;color:#98a2b3;font-size:11px;text-align:center}.ctn-alert{padding:12px 14px;border-radius:10px;font-size:13px;margin:0 0 17px}.ctn-alert-error{background:#fff1f2;color:#b42318;border:1px solid #ffd4d8}.ctn-alert-success{background:#ecfdf3;color:#067647;border:1px solid #abefc6}.ctn-auth-small{display:block;min-height:auto;width:min(520px,100%);padding:55px;text-align:center}.ctn-success-icon{width:56px;height:56px;margin:0 auto 18px;border-radius:50%;background:#eafaf2;color:#07864b;display:grid;place-items:center;font-size:25px;font-weight:900}.ctn-text-link{display:block;margin-top:16px;color:var(--ctn-muted);text-decoration:none;font-size:13px}

/* Dashboard */
.ctn-dashboard{background:var(--ctn-bg);padding:28px;border-radius:22px}.ctn-dashboard-top{display:flex;justify-content:space-between;gap:30px;align-items:center;margin-bottom:25px}.ctn-dashboard-top h1{font-size:32px;margin:5px 0}.ctn-dashboard-top p{margin:0;color:var(--ctn-muted)}.ctn-profile-status{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--ctn-border);padding:12px 15px;border-radius:999px;font-size:12px;font-weight:700}.ctn-profile-status i{width:35px;height:19px;background:#d0d5dd;border-radius:20px;position:relative}.ctn-profile-status i:after{content:"";position:absolute;width:15px;height:15px;top:2px;left:2px;border-radius:50%;background:#fff;transition:.2s}.ctn-profile-status i.on{background:linear-gradient(90deg,var(--ctn-cyan),var(--ctn-blue))}.ctn-profile-status i.on:after{left:18px}.ctn-tabs{display:grid;grid-template-columns:repeat(3,1fr);background:#fff;border:1px solid var(--ctn-border);border-radius:14px;overflow:hidden;margin-bottom:20px;box-shadow:0 8px 22px rgba(20,33,61,.04)}.ctn-tabs a{text-align:center;text-decoration:none;color:var(--ctn-muted);padding:17px;font-weight:750;position:relative}.ctn-tabs a:after{content:"";position:absolute;left:20%;right:20%;bottom:0;height:3px;border-radius:3px;background:transparent}.ctn-tabs a.active{color:var(--ctn-blue)}.ctn-tabs a.active:after{background:var(--ctn-blue)}.ctn-form-section{background:#fff;border:1px solid var(--ctn-border);border-radius:17px;padding:26px;margin-bottom:18px;scroll-margin-top:20px}.ctn-form-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.ctn-form-head h2{margin:3px 0;font-size:22px}.ctn-form-head>span{color:var(--ctn-muted);font-size:12px}.ctn-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.ctn-form-grid label,.ctn-form-section>label{display:block}.ctn-form-section fieldset{border:0;padding:0;margin:0}.ctn-form-section legend{font-size:13px;font-weight:700;margin-bottom:9px}.ctn-radio{display:inline-flex!important;align-items:center;gap:5px;margin-right:15px!important;font-weight:500!important}.ctn-radio input{width:auto!important}.ctn-full{display:block;margin-top:18px}.ctn-form-section small{display:block;color:#98a2b3;margin-top:7px;font-size:11px}.ctn-photo-editor{display:flex;align-items:center;gap:17px}.ctn-photo-editor>div{width:90px;height:90px;border-radius:50%;overflow:hidden;flex:none}.ctn-photo-editor .ctn-profile-photo{width:100%;height:100%;object-fit:cover}.ctn-upload{font-size:13px!important;color:var(--ctn-blue);cursor:pointer}.ctn-upload input{margin-top:8px!important;padding:8px!important;font-weight:400}.ctn-check{display:flex!important;align-items:center;gap:10px;padding:13px;border:1px solid var(--ctn-border);border-radius:10px}.ctn-check input,.ctn-profile-control input{width:auto!important}.ctn-help{margin-top:5px}.ctn-profile-control{background:#eef5ff;border:1px solid #d9e6ff;border-radius:13px;padding:14px 17px;margin-bottom:18px}.ctn-profile-control label{display:flex;gap:10px;align-items:center;font-size:13px;font-weight:700}.ctn-save-row{display:flex;justify-content:flex-end;gap:12px}.ctn-login-required{padding:60px 20px;text-align:center;background:#f7f9fc;border-radius:18px}.ctn-login-required h2{margin:8px 0 22px}

/* Public profile */
.ctn-public-profile{max-width:1100px;margin:0 auto;padding:30px 10px}.ctn-public-hero{display:flex;align-items:center;gap:25px;padding:30px 5px 34px;position:relative}.ctn-back{width:40px;height:40px;display:grid;place-items:center;border:1px solid var(--ctn-border);border-radius:10px;text-decoration:none;color:var(--ctn-ink);position:absolute;left:0;top:0}.ctn-profile-photo-wrap{width:125px;height:125px;border-radius:50%;padding:5px;background:linear-gradient(135deg,var(--ctn-cyan),var(--ctn-purple));box-shadow:0 15px 35px rgba(36,87,214,.18);margin-left:55px}.ctn-profile-photo{width:100%;height:100%;object-fit:cover;border-radius:50%;background:#fff}.ctn-public-title h1{font-size:34px;margin:5px 0}.ctn-profile-course{font-weight:700;color:var(--ctn-blue);margin-bottom:12px}.ctn-public-links{display:flex;gap:9px;flex-wrap:wrap}.ctn-public-links a{font-size:12px;color:var(--ctn-blue);background:#eef4ff;border-radius:999px;padding:6px 10px;text-decoration:none}.ctn-profile-section{background:#fff;border:1px solid var(--ctn-border);border-radius:15px;overflow:hidden;margin:0 0 17px;box-shadow:0 10px 30px rgba(20,33,61,.05)}.ctn-section-bar{background:var(--ctn-grad);color:#fff;padding:12px 17px;font-size:17px;font-weight:800}.ctn-section-body{padding:21px}.ctn-section-body p{margin:0;color:#4f5d75;line-height:1.75}.ctn-tags{display:flex;gap:9px;flex-wrap:wrap}.ctn-tags span{border:1px solid #cfd7e6;padding:8px 12px;border-radius:999px;font-size:12px;background:#fff}.ctn-info-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px 45px}.ctn-info-grid div{display:grid;gap:4px}.ctn-info-grid b{font-size:13px}.ctn-info-grid span{font-size:12px;color:var(--ctn-muted)}
@media(max-width:1100px){.ctn-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ctn-directory{grid-template-columns:235px 1fr}}
@media(max-width:800px){.ctn-directory{grid-template-columns:1fr;padding:15px}.ctn-filters{position:static}.ctn-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ctn-auth-card{grid-template-columns:1fr}.ctn-auth-brand{min-height:230px;padding:28px}.ctn-auth-orb{width:110px;height:110px}.ctn-auth-orb span{font-size:48px}.ctn-auth-brand b{font-size:20px;margin-top:13px}.ctn-auth-form{padding:35px 25px}.ctn-form-grid{grid-template-columns:1fr}.ctn-dashboard{padding:15px}.ctn-dashboard-top{align-items:flex-start;flex-direction:column}.ctn-save-row{justify-content:stretch;flex-direction:column}.ctn-public-hero{padding-top:55px;align-items:flex-start}.ctn-info-grid{grid-template-columns:1fr}}
@media(max-width:520px){.ctn-grid{grid-template-columns:1fr}.ctn-results-head{align-items:flex-start;flex-direction:column;gap:12px}.ctn-results-head h1{font-size:27px}.ctn-profile-photo-wrap{width:100px;height:100px;margin-left:0}.ctn-public-hero{flex-direction:column}.ctn-back{left:auto;right:0}.ctn-public-title h1{font-size:27px}.ctn-tabs a{padding:14px 7px;font-size:12px}}
.ctn-reset-email{background:#f3f6fa;border:1px solid var(--ctn-border);border-radius:9px;padding:10px 12px;color:var(--ctn-muted);font-size:12px;margin:0 0 18px}.ctn-reset-email strong{color:var(--ctn-ink)}
/* v5.1 refinements */
.ctn-directory a,.ctn-dashboard a,.ctn-public-profile a,.ctn-auth-shell a{ text-decoration:none !important; }
.ctn-tabs a:after{display:none !important;}
.ctn-tabs a.active{background:linear-gradient(180deg,#f4f7ff,#eef3ff);color:var(--ctn-blue);}
.ctn-auth-brand{gap:12px;}
.ctn-auth-logo-icon{width:145px;height:145px;object-fit:contain;display:block;position:relative;z-index:1;filter:drop-shadow(0 14px 24px rgba(12,35,110,.18));}
.ctn-auth-brand b{position:relative;z-index:1;}
.ctn-auth-brand small{position:relative;z-index:1;}
.ctn-inline-skills{display:flex;gap:7px;flex-wrap:wrap;margin:3px 0 12px;}
.ctn-inline-skills span{font-size:11px;font-weight:700;color:#2447d8;background:#eef4ff;border:1px solid #d8e4ff;border-radius:999px;padding:5px 9px;}

.ctn-admin-password{display:block;position:relative;}
.ctn-admin-password input{padding-right:44px !important;box-sizing:border-box;}
.ctn-admin-password button{position:absolute;right:9px;top:50%;transform:translateY(-50%);border:0;background:transparent;cursor:pointer;color:#667085;font-size:17px;line-height:1;padding:4px;}
.ctn-admin-password button:hover{color:#2457d6;}
@media(max-width:800px){.ctn-auth-logo-icon{width:105px;height:105px;}.ctn-auth-brand{min-height:250px;}}
.ctn-autosave-status{margin-right:auto;align-self:center;font-size:12px;color:#667085;font-weight:650;}
.ctn-autosave-status.is-saving{color:#2457d6}.ctn-autosave-status.is-saved{color:#087443}.ctn-autosave-status.is-error{color:#b42318}
.ctn-auth-logo-icon{object-fit:contain;}
.ctn-auth-brand:has(.ctn-auth-logo-icon){justify-content:center;}
.ctn-auth-brand .ctn-auth-logo-icon + div{text-align:center;}
.ctn-outline-btn,.ctn-gradient-btn{ text-decoration:none !important; }
@media(max-width:800px){.ctn-autosave-status{margin-right:0;text-align:center;}}


/* v5.2 layout fixes */
.ctn-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
.ctn-card-top{height:64px;}
.ctn-course-pill{display:none!important;}
.ctn-tab-panel.is-hidden{display:none!important;}
.ctn-tab-panel.is-active{display:block;}
.ctn-tabs a,.ctn-outline-btn,.ctn-gradient-btn,.ctn-public-links a,.ctn-back,.ctn-directory a,.ctn-dashboard a,.ctn-public-profile a{text-decoration:none!important;}
.ctn-card .ctn-outline-btn:before,.ctn-card .ctn-outline-btn:after{display:none!important;}
.ctn-outline-btn{text-decoration:none!important;}
.ctn-inline-skills{margin:7px 0 10px;}
.ctn-inline-skills span{display:inline-block;}
.ctn-availability-pill{font-size:11px;color:#fff!important;background:var(--ctn-grad);border-radius:999px;padding:5px 9px;text-decoration:none!important;}
.ctn-public-links span{display:inline-flex;align-items:center;}
@media(max-width:1100px){.ctn-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:800px){.ctn-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:520px){.ctn-grid{grid-template-columns:1fr;}}


/* v5.3 public profile reference layout */
.ctn-reference-profile{max-width:1180px!important;margin:0 auto!important;padding:26px 14px 45px!important;background:#fff!important;}
.ctn-reference-profile .ctn-public-hero{min-height:170px;padding:48px 2px 24px!important;align-items:center!important;gap:24px!important;}
.ctn-reference-profile .ctn-back{width:38px;height:38px;left:0;top:0;border-radius:4px;background:#fff;color:var(--ctn-ink);font-size:26px;line-height:1;border:1px solid #aeb6c4;box-shadow:none;}
.ctn-reference-profile .ctn-profile-photo-wrap{width:112px;height:112px;margin-left:8px;padding:4px;background:var(--ctn-grad);box-shadow:none;flex:none;}
.ctn-reference-profile .ctn-public-title{min-width:0;}
.ctn-reference-profile .ctn-public-title h1{font-size:24px;line-height:1.2;margin:0 0 3px;font-weight:800;}
.ctn-reference-profile .ctn-profile-course{font-size:14px;color:var(--ctn-ink);font-weight:500;margin:0 0 5px;}
.ctn-reference-profile .ctn-public-line{font-size:12px;line-height:1.75;color:var(--ctn-ink);overflow-wrap:anywhere;}
.ctn-reference-profile .ctn-public-line strong{font-weight:700;}
.ctn-reference-profile .ctn-public-line a{color:var(--ctn-blue)!important;text-decoration:none!important;border-bottom:0!important;}
.ctn-reference-profile .ctn-availability-list{display:inline-flex;gap:5px;flex-wrap:wrap;vertical-align:middle;margin-left:3px;}
.ctn-reference-profile .ctn-availability-list span{display:inline-flex;padding:3px 8px;border-radius:4px;background:var(--ctn-grad);color:#fff;font-size:10px;font-weight:750;line-height:1.3;}
.ctn-reference-profile .ctn-profile-section{border-radius:0!important;margin:0 0 17px!important;border:0!important;box-shadow:0 5px 18px rgba(20,33,61,.11)!important;overflow:hidden!important;}
.ctn-reference-profile .ctn-section-bar{background:var(--ctn-grad)!important;padding:8px 10px!important;font-size:17px!important;line-height:1.35!important;border-radius:0!important;}
.ctn-reference-profile .ctn-section-body{padding:15px 10px!important;min-height:58px;}
.ctn-reference-profile .ctn-section-body p{font-size:13px;line-height:1.55;color:#4f5d75;margin:0;}
.ctn-reference-profile .ctn-tags{gap:9px;}
.ctn-reference-profile .ctn-tags span{border:1px solid #202020;background:#fff;border-radius:18px;padding:6px 13px;font-size:12px;color:var(--ctn-ink);}
.ctn-reference-profile .ctn-info-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 55px;}
.ctn-reference-profile .ctn-info-grid div{gap:3px;}
.ctn-reference-profile .ctn-info-grid b{font-size:14px;color:var(--ctn-ink);font-weight:700;}
.ctn-reference-profile .ctn-info-grid span{font-size:11px;color:#475467;line-height:1.45;}
.ctn-reference-profile .ctn-profile-photo{background:#fff;}
@media(max-width:700px){
 .ctn-reference-profile{padding:18px 10px 30px!important;}
 .ctn-reference-profile .ctn-public-hero{padding-top:54px!important;align-items:flex-start!important;}
 .ctn-reference-profile .ctn-profile-photo-wrap{width:92px;height:92px;margin-left:0;}
 .ctn-reference-profile .ctn-public-title h1{font-size:21px;}
 .ctn-reference-profile .ctn-info-grid{grid-template-columns:1fr;gap:14px;}
}


/* v5.4 — public View Profile is a dedicated read-only route */
.ctn-reference-profile{box-sizing:border-box;width:100%;max-width:1180px!important;margin:0 auto!important;padding:24px 14px 44px!important;background:#fff!important;color:var(--ctn-ink)!important;}
.ctn-reference-profile *{box-sizing:border-box;}
.ctn-reference-profile a{text-decoration:none!important;border:0!important;box-shadow:none!important;}
.ctn-reference-profile .ctn-public-hero{display:grid!important;grid-template-columns:40px 112px minmax(0,1fr)!important;align-items:center!important;gap:18px!important;min-height:165px!important;padding:52px 2px 26px!important;}
.ctn-reference-profile .ctn-back{position:static!important;width:40px!important;height:40px!important;font-size:25px!important;border:1px solid #9da7b5!important;border-radius:4px!important;background:#fff!important;color:var(--ctn-ink)!important;}
.ctn-reference-profile .ctn-profile-photo-wrap{width:112px!important;height:112px!important;margin:0!important;padding:4px!important;border-radius:50%!important;background:var(--ctn-grad)!important;box-shadow:none!important;}
.ctn-reference-profile .ctn-public-title h1{font-size:24px!important;line-height:1.2!important;margin:0 0 2px!important;color:var(--ctn-ink)!important;}
.ctn-reference-profile .ctn-profile-course{font-size:13px!important;line-height:1.35!important;margin:0 0 4px!important;color:var(--ctn-ink)!important;font-weight:500!important;}
.ctn-reference-profile .ctn-public-line{font-size:12px!important;line-height:1.65!important;color:var(--ctn-ink)!important;}
.ctn-reference-profile .ctn-public-line a{color:var(--ctn-blue)!important;}
.ctn-reference-profile .ctn-availability-list{display:inline-flex!important;gap:5px!important;vertical-align:middle!important;margin-left:3px!important;}
.ctn-reference-profile .ctn-availability-list span{background:var(--ctn-grad)!important;color:#fff!important;border-radius:4px!important;padding:3px 8px!important;font-size:10px!important;}
.ctn-reference-profile .ctn-profile-section{width:100%!important;margin:0 0 17px!important;border:0!important;border-radius:0!important;overflow:hidden!important;background:#fff!important;box-shadow:0 5px 18px rgba(20,33,61,.11)!important;}
.ctn-reference-profile .ctn-section-bar{background:var(--ctn-grad)!important;color:#fff!important;padding:8px 10px!important;font-size:17px!important;font-weight:800!important;line-height:1.35!important;}
.ctn-reference-profile .ctn-section-body{padding:15px 10px!important;min-height:58px!important;background:#fff!important;}
.ctn-reference-profile .ctn-section-body p{font-size:13px!important;line-height:1.55!important;color:#4f5d75!important;margin:0!important;}
.ctn-reference-profile .ctn-tags{display:flex!important;gap:9px!important;flex-wrap:wrap!important;}
.ctn-reference-profile .ctn-tags span{display:inline-flex!important;border:1px solid #202020!important;background:#fff!important;border-radius:18px!important;padding:6px 13px!important;font-size:12px!important;color:var(--ctn-ink)!important;}
.ctn-reference-profile .ctn-info-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px 55px!important;}
.ctn-reference-profile .ctn-info-grid div{display:grid!important;gap:3px!important;}
.ctn-reference-profile .ctn-info-grid b{font-size:14px!important;color:var(--ctn-ink)!important;font-weight:700!important;}
.ctn-reference-profile .ctn-info-grid span{font-size:11px!important;color:#475467!important;line-height:1.45!important;}
@media(max-width:700px){
 .ctn-reference-profile{padding:18px 10px 30px!important;}
 .ctn-reference-profile .ctn-public-hero{grid-template-columns:1fr!important;align-items:flex-start!important;padding-top:54px!important;gap:12px!important;}
 .ctn-reference-profile .ctn-back{position:absolute!important;right:10px!important;top:18px!important;}
 .ctn-reference-profile .ctn-profile-photo-wrap{width:92px!important;height:92px!important;}
 .ctn-reference-profile .ctn-info-grid{grid-template-columns:1fr!important;gap:14px!important;}
}

/* v5.5 dashboard workflow */
.ctn-dashboard-top{align-items:center!important;margin-bottom:18px!important;}
.ctn-dashboard-top h1{margin:0!important;font-size:30px!important;font-weight:800!important;color:var(--ctn-ink)!important;}
.ctn-profile-status{appearance:none;border:1px solid var(--ctn-border);font:inherit;cursor:pointer;min-width:150px;justify-content:space-between;transition:.2s ease;}
.ctn-profile-status b{font-size:10px;letter-spacing:.08em;color:var(--ctn-muted);min-width:22px;text-align:left;}
.ctn-profile-status.is-on b{color:var(--ctn-blue);}
.ctn-profile-status.is-saving{opacity:.65;cursor:wait;}
.ctn-profile-status:hover{border-color:var(--ctn-blue);box-shadow:0 5px 16px rgba(36,87,214,.10);}
.ctn-profile-control{display:none!important;}
.ctn-save-row{align-items:center!important;}
.ctn-continue-btn{margin-left:auto!important;min-width:120px;}
.ctn-continue-btn span{font-size:16px;line-height:1;}
.ctn-dashboard .ctn-autosave-status{margin-right:0!important;}
.ctn-dashboard .ctn-tabs{margin-bottom:20px;}
@media(max-width:800px){.ctn-dashboard-top{flex-direction:row!important;align-items:center!important;}.ctn-dashboard-top h1{font-size:25px!important;}.ctn-profile-status{min-width:145px;}.ctn-save-row{flex-direction:row!important;}.ctn-continue-btn{width:auto!important;margin-left:auto!important;}}
@media(max-width:520px){.ctn-dashboard-top{flex-direction:column!important;align-items:stretch!important;gap:14px;}.ctn-profile-status{align-self:flex-end;}.ctn-save-row{flex-direction:column!important;align-items:stretch!important;}.ctn-continue-btn{margin-left:0!important;width:100%!important;}}

/* v5.6 — Courseonic Information is admin-controlled; improve dashboard field spacing */
.ctn-form-section label:not(.ctn-radio):not(.ctn-check),
.ctn-form-section fieldset{line-height:1.35!important;}
.ctn-form-section label:not(.ctn-radio):not(.ctn-check)>input,
.ctn-form-section label:not(.ctn-radio):not(.ctn-check)>select,
.ctn-form-section label:not(.ctn-radio):not(.ctn-check)>textarea{display:block!important;margin-top:9px!important;}
.ctn-form-section .ctn-upload input{margin-top:9px!important;}
.ctn-profile-status{min-width:0!important;padding:10px 13px!important;gap:11px!important;}
.ctn-profile-status i{width:38px!important;height:21px!important;flex:0 0 38px!important;background:#cbd5e1!important;}
.ctn-profile-status i:after{width:17px!important;height:17px!important;top:2px!important;left:2px!important;}
.ctn-profile-status i.on{background:var(--ctn-grad)!important;}
.ctn-profile-status i.on:after{left:19px!important;}
.ctn-profile-status span{font-size:12px!important;font-weight:750!important;color:var(--ctn-ink)!important;white-space:nowrap!important;}
.ctn-profile-status b{display:none!important;}

/* v5.8 — student-only front-end account menu; WordPress admin bar remains for administrators */
.ctn-account-menu{position:fixed;left:22px;top:82px;z-index:99999;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;}
.ctn-account-toggle{width:42px;height:42px;border:1px solid #d9e2f0;border-radius:50%;background:#fff;box-shadow:0 8px 22px rgba(20,33,61,.10);display:grid;place-items:center;cursor:pointer;padding:0;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;}
.ctn-account-toggle svg{width:20px;height:20px;fill:#173b83;display:block;}
.ctn-account-menu:hover .ctn-account-toggle,.ctn-account-toggle:focus{transform:translateY(-1px);border-color:#7a3ff0;box-shadow:0 10px 26px rgba(36,87,214,.18);outline:none;}
.ctn-account-dropdown{position:absolute;left:0;top:calc(100% + 8px);min-width:108px;background:#fff;border:1px solid #dfe6f2;border-radius:10px;padding:6px;box-shadow:0 14px 30px rgba(20,33,61,.14);opacity:0;visibility:hidden;transform:translateY(-5px);transition:opacity .16s ease,transform .16s ease,visibility .16s ease;}
.ctn-account-menu:hover .ctn-account-dropdown,.ctn-account-menu:focus-within .ctn-account-dropdown{opacity:1;visibility:visible;transform:translateY(0);}
.ctn-account-dropdown a{display:block;padding:9px 11px;border-radius:7px;color:#173b83!important;text-decoration:none!important;font-size:12px;font-weight:700;white-space:nowrap;}
.ctn-account-dropdown a:hover{background:#eef4ff;color:#2447d8!important;}
@media(max-width:700px){.ctn-account-menu{left:12px;top:70px}.ctn-account-toggle{width:38px;height:38px}.ctn-account-toggle svg{width:18px;height:18px;}}

/* v5.9 — final student portal polish */
body.ctn-student-portal #wpadminbar{display:none!important;}
body.ctn-student-portal.admin-bar{padding-top:0!important;}
.ctn-student-portal .ctn-directory a,
.ctn-student-portal .ctn-dashboard a,
.ctn-student-portal .ctn-public-profile a,
.ctn-student-portal .ctn-auth-shell a,
.ctn-student-portal button,
.ctn-student-portal .ctn-outline-btn,
.ctn-student-portal .ctn-gradient-btn{ text-decoration:none!important; }

/* Account icon: simple, Courseonic blue, fixed to the right. */
.ctn-account-menu{left:auto!important;right:22px!important;top:22px!important;}
.ctn-account-toggle{border-color:#d9e2f0!important;background:#fff!important;color:#173b83!important;}
.ctn-account-menu:hover .ctn-account-toggle,
.ctn-account-toggle:hover,
.ctn-account-toggle:focus{border-color:#2457d6!important;background:#fff!important;color:#173b83!important;box-shadow:0 10px 26px rgba(36,87,214,.16)!important;}
.ctn-account-dropdown a:hover{background:#eef4ff!important;color:#2457d6!important;}

/* Profile Status: only the switch is clickable; no pink theme styles can leak into it. */
.ctn-profile-status{display:flex!important;align-items:center!important;gap:10px!important;background:#fff!important;border:0!important;padding:0!important;box-shadow:none!important;min-width:0!important;}
.ctn-profile-status>span{font-size:12px!important;font-weight:750!important;color:var(--ctn-ink)!important;white-space:nowrap!important;}
.ctn-status-switch{appearance:none!important;-webkit-appearance:none!important;position:relative!important;width:48px!important;height:26px!important;min-width:48px!important;padding:0!important;margin:0!important;border:1px solid #cbd5e1!important;border-radius:999px!important;background:#cbd5e1!important;color:transparent!important;box-shadow:none!important;cursor:pointer!important;display:block!important;transition:background .2s ease,border-color .2s ease,box-shadow .2s ease!important;}
.ctn-status-switch:before{content:""!important;display:block!important;position:absolute!important;left:3px!important;top:3px!important;width:18px!important;height:18px!important;border-radius:50%!important;background:#fff!important;box-shadow:0 1px 3px rgba(20,33,61,.18)!important;transition:left .2s ease!important;}
.ctn-status-switch.is-on{background:linear-gradient(90deg,var(--ctn-cyan),var(--ctn-blue))!important;border-color:var(--ctn-blue)!important;}
.ctn-status-switch.is-on:before{left:25px!important;}
.ctn-status-switch i{display:none!important;}
.ctn-status-switch:hover{background:#b9c5d6!important;border-color:#aebbd0!important;box-shadow:0 0 0 3px rgba(36,87,214,.08)!important;}
.ctn-status-switch.is-on:hover{background:linear-gradient(90deg,var(--ctn-cyan),var(--ctn-blue))!important;border-color:var(--ctn-blue)!important;}
.ctn-status-switch:focus-visible{outline:2px solid var(--ctn-blue)!important;outline-offset:3px!important;}
.ctn-status-switch.is-saving{opacity:.65!important;cursor:wait!important;}

/* Exactly 3 talent cards per row on desktop. */
.ctn-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
@media(max-width:980px){.ctn-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}}
@media(max-width:620px){.ctn-grid{grid-template-columns:1fr!important;}}

/* Skills belong directly under the talent name on the public profile. */
.ctn-reference-profile .ctn-public-skills{display:flex!important;flex-wrap:wrap!important;gap:6px!important;margin:4px 0 7px!important;}
.ctn-reference-profile .ctn-public-skills span{display:inline-flex!important;align-items:center!important;padding:4px 9px!important;border-radius:5px!important;background:var(--ctn-grad)!important;color:#fff!important;font-size:10px!important;line-height:1.2!important;font-weight:700!important;}

/* Keep the reference-style public profile clean and read-only. */
.ctn-reference-profile .ctn-back,
.ctn-reference-profile .ctn-profile-section a,
.ctn-reference-profile .ctn-public-title a{ text-decoration:none!important;border-bottom:0!important; }
.ctn-profile-unavailable{margin:40px auto!important;max-width:720px!important;}

@media(max-width:700px){
  .ctn-account-menu{right:12px!important;left:auto!important;top:12px!important;}
  .ctn-profile-status{align-self:flex-end!important;}
}

/* v6.0 — account dropdown, selectable skills and final save action */
.ctn-account-menu{right:20px!important;top:18px!important;position:fixed!important;z-index:2147483000!important;overflow:visible!important;}
.ctn-account-dropdown{right:0!important;left:auto!important;top:calc(100% + 10px)!important;min-width:142px!important;padding:7px!important;z-index:2147483001!important;overflow:visible!important;}
.ctn-account-dropdown a{display:block!important;padding:10px 12px!important;margin:1px 0!important;border-radius:8px!important;}
.ctn-account-dropdown a:hover{background:#eef4ff!important;color:#2447d8!important;}
.ctn-account-menu:hover .ctn-account-dropdown,.ctn-account-menu:focus-within .ctn-account-dropdown{display:block!important;}
.ctn-skill-picker{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px 14px!important;margin-top:12px!important;}
.ctn-skill-option{display:flex!important;align-items:center!important;gap:10px!important;min-height:46px!important;padding:10px 13px!important;border:1px solid var(--ctn-border)!important;border-radius:10px!important;background:#fff!important;cursor:pointer!important;font-size:13px!important;font-weight:650!important;color:var(--ctn-ink)!important;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease!important;}
.ctn-skill-option input{width:17px!important;height:17px!important;flex:0 0 17px!important;margin:0!important;accent-color:var(--ctn-blue)!important;}
.ctn-skill-option:has(input:checked){border-color:#8fb0ff!important;background:#f3f7ff!important;box-shadow:0 4px 12px rgba(36,87,214,.07)!important;}
.ctn-skill-option span{line-height:1.25!important;}
.ctn-save-profile-btn{border:0!important;cursor:pointer!important;}
.ctn-view-profile-btn{min-width:130px!important;text-align:center!important;}
@media(max-width:620px){.ctn-skill-picker{grid-template-columns:1fr!important;}.ctn-account-menu{right:12px!important;top:12px!important;}}

/* v7.1 — final interaction fixes */
.ctn-card .ctn-outline-btn span.ctn-view-arrow,
.ctn-card .ctn-outline-btn span{display:none!important;}
.ctn-card .ctn-outline-btn{text-decoration:none!important;}

/* Keep password eye controls neutral even when the active WordPress theme has pink button styles. */
.ctn-password-toggle,
.ctn-password button.ctn-password-toggle,
.ctn-form .ctn-password-toggle{
  appearance:none!important;-webkit-appearance:none!important;
  background:transparent!important;background-image:none!important;
  border:0!important;outline:0!important;box-shadow:none!important;
  color:#64748b!important;width:34px!important;height:34px!important;
  padding:0!important;margin:0!important;border-radius:7px!important;
  display:grid!important;place-items:center!important;cursor:pointer!important;
}
.ctn-password-toggle:hover,.ctn-password-toggle:focus,.ctn-password-toggle:focus-visible,.ctn-password-toggle:active,.ctn-password-toggle.is-visible{
  background:transparent!important;background-color:transparent!important;background-image:none!important;
  color:#64748b!important;border:0!important;outline:0!important;box-shadow:none!important;
}
.ctn-password-toggle::before,.ctn-password-toggle::after{display:none!important;content:none!important;}
.ctn-eye-icon{width:18px!important;height:18px!important;display:block!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important;}
.ctn-eye-icon circle{fill:none!important;}

/* Skills: clean checkbox + label alignment, two choices per row on desktop. */
.ctn-skill-picker{grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:stretch!important;}
.ctn-skill-option{display:grid!important;grid-template-columns:16px minmax(0,1fr)!important;align-items:center!important;gap:12px!important;text-align:left!important;padding:11px 14px!important;}
.ctn-skill-option input{appearance:none!important;-webkit-appearance:none!important;width:16px!important;height:16px!important;min-width:16px!important;min-height:16px!important;margin:0!important;border:1.5px solid #b8c5d8!important;border-radius:4px!important;background:#fff!important;position:relative!important;cursor:pointer!important;box-sizing:border-box!important;}
.ctn-skill-option input:checked{background:#2457d6!important;border-color:#2457d6!important;}
.ctn-skill-option input:checked:after{content:"✓"!important;position:absolute!important;left:50%!important;top:50%!important;transform:translate(-50%,-54%)!important;color:#fff!important;font-size:10px!important;font-weight:800!important;line-height:1!important;}
.ctn-skill-option span{display:block!important;line-height:1.35!important;margin:0!important;padding:0!important;}

@media(max-width:620px){.ctn-skill-picker{grid-template-columns:1fr!important;}}

/* v7.2 — immediate profile photo preview/upload and neutral common eye icon */
.ctn-photo-editor > div{width:90px!important;height:90px!important;border-radius:50%!important;overflow:hidden!important;flex:none!important;background:#eef3ff!important;}
.ctn-photo-editor > div > img.ctn-profile-photo{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;border-radius:50%!important;}
button.ctn-password-toggle,button.ctn-password-toggle:hover,button.ctn-password-toggle:focus,button.ctn-password-toggle:focus-visible,button.ctn-password-toggle:active{
  background:transparent!important;background-color:transparent!important;background-image:none!important;
  border:none!important;border-color:transparent!important;box-shadow:none!important;outline:none!important;color:#64748b!important;
}
button.ctn-password-toggle .ctn-eye-icon{color:inherit!important;stroke:currentColor!important;}


/* v7.3 — clean auth field spacing */
.ctn-auth-form .ctn-form > label{display:block!important;line-height:1.35!important;margin:0!important;}
.ctn-auth-form .ctn-form > label>input{margin-top:8px!important;}
.ctn-auth-form .ctn-form > label>.ctn-password{margin-top:8px!important;}
.ctn-auth-form .ctn-password input{width:100%!important;box-sizing:border-box!important;}

/* v7.4 — medium skill checkboxes with comfortable label spacing */
.ctn-skill-picker .ctn-skill-option{grid-template-columns:16px minmax(0,1fr)!important;column-gap:12px!important;}
.ctn-skill-picker .ctn-skill-option input{width:16px!important;height:16px!important;min-width:16px!important;min-height:16px!important;}
.ctn-skill-picker .ctn-skill-option span{padding-left:0!important;line-height:1.4!important;}


/* v7.7 — public skills moved below About Me; transparent button-style tags, no hover */
.ctn-reference-profile .ctn-public-skills-section{background:transparent!important;box-shadow:none!important;border:0!important;overflow:visible!important;}
.ctn-reference-profile .ctn-public-skills-section .ctn-section-bar{background:transparent!important;color:var(--ctn-ink)!important;border:0!important;padding:0 0 10px!important;font-size:17px!important;font-weight:800!important;}
.ctn-reference-profile .ctn-public-skills-section .ctn-section-body{background:transparent!important;padding:0!important;min-height:0!important;}
.ctn-public-skills-buttons{display:flex!important;flex-wrap:wrap!important;gap:10px!important;align-items:center!important;}
.ctn-public-skills-buttons span{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:34px!important;padding:7px 14px!important;border:1px solid #1f2937!important;border-radius:8px!important;background:transparent!important;color:#111827!important;font-size:12px!important;font-weight:650!important;line-height:1.2!important;box-shadow:none!important;text-decoration:none!important;transition:none!important;}
.ctn-public-skills-buttons span:hover,.ctn-public-skills-buttons span:focus,.ctn-public-skills-buttons span:active{background:transparent!important;color:#111827!important;border-color:#1f2937!important;box-shadow:none!important;transform:none!important;}
.ctn-public-skills-buttons .ctn-no-skills{border-color:#cbd5e1!important;color:#667085!important;font-weight:500!important;}
.ctn-reference-profile .ctn-inline-skills{display:none!important;}


/* v7.8 — public profile section consistency
   Skills now use the same Courseonic section treatment as About Me and
   Courseonic Information. Skill items remain simple, transparent buttons. */
.ctn-reference-profile .ctn-public-skills-section{
  width:100%!important;
  margin:0 0 17px!important;
  border:0!important;
  border-radius:0!important;
  overflow:hidden!important;
  background:#fff!important;
  box-shadow:0 5px 18px rgba(20,33,61,.11)!important;
}
.ctn-reference-profile .ctn-public-skills-section .ctn-section-bar{
  background:var(--ctn-grad)!important;
  color:#fff!important;
  border:0!important;
  padding:8px 10px!important;
  font-size:17px!important;
  font-weight:800!important;
  line-height:1.35!important;
}
.ctn-reference-profile .ctn-public-skills-section .ctn-section-body{
  background:#fff!important;
  padding:15px 10px!important;
  min-height:58px!important;
}
/* Keep the skill labels as clean non-clickable button-style tags. */
.ctn-reference-profile .ctn-public-skills-buttons{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:10px!important;
  align-items:center!important;
}
.ctn-reference-profile .ctn-public-skills-buttons span{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:34px!important;
  padding:7px 14px!important;
  border:1px solid #1f2937!important;
  border-radius:8px!important;
  background:transparent!important;
  color:#111827!important;
  font-size:12px!important;
  font-weight:650!important;
  line-height:1.2!important;
  box-shadow:none!important;
  text-decoration:none!important;
  transition:none!important;
}
.ctn-reference-profile .ctn-public-skills-buttons span:hover,
.ctn-reference-profile .ctn-public-skills-buttons span:focus,
.ctn-reference-profile .ctn-public-skills-buttons span:active{
  background:transparent!important;
  color:#111827!important;
  border-color:#1f2937!important;
  box-shadow:none!important;
  transform:none!important;
}
/* Courseonic Information stays intentionally simple and matches the other sections. */
.ctn-reference-profile .ctn-profile-section:not(.ctn-public-skills-section) .ctn-section-bar{
  background:var(--ctn-grad)!important;
  color:#fff!important;
}

/* v7.9 — public profile visual refinement */
.ctn-reference-profile .ctn-public-hero{
  min-height:128px!important;
  padding:16px 2px 20px!important;
  align-items:center!important;
  gap:18px!important;
}
.ctn-reference-profile .ctn-back{
  position:static!important;
  align-self:center!important;
  width:44px!important;
  height:44px!important;
  display:grid!important;
  place-items:center!important;
  border:1px solid #cbd5e1!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#12244b!important;
  font-size:24px!important;
  line-height:1!important;
  box-shadow:0 5px 16px rgba(20,33,61,.06)!important;
  transition:all .18s ease!important;
}
.ctn-reference-profile .ctn-back:hover{
  border-color:var(--ctn-blue)!important;
  background:#f5f8ff!important;
  color:var(--ctn-blue)!important;
}
/* Skills uses the same full card treatment as About Me and Courseonic Information. */
.ctn-reference-profile .ctn-public-skills-section{
  width:100%!important;
  margin:0 0 17px!important;
  border:0!important;
  border-radius:0!important;
  overflow:hidden!important;
  background:#fff!important;
  box-shadow:0 5px 18px rgba(20,33,61,.11)!important;
}
.ctn-reference-profile .ctn-public-skills-section .ctn-section-bar{
  display:block!important;
  background:var(--ctn-grad)!important;
  color:#fff!important;
  padding:8px 10px!important;
  font-size:17px!important;
  font-weight:800!important;
  line-height:1.35!important;
  border:0!important;
}
.ctn-reference-profile .ctn-public-skills-section .ctn-section-body{
  display:block!important;
  background:#fff!important;
  padding:15px 10px!important;
  min-height:58px!important;
}
.ctn-reference-profile .ctn-public-skills-buttons{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:9px!important;
  align-items:center!important;
}
.ctn-reference-profile .ctn-public-skills-buttons span{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:34px!important;
  padding:6px 13px!important;
  border:1px solid #202020!important;
  border-radius:18px!important;
  background:#fff!important;
  color:#111827!important;
  font-size:12px!important;
  font-weight:650!important;
  line-height:1.2!important;
  box-shadow:none!important;
  text-decoration:none!important;
  transition:none!important;
}
.ctn-reference-profile .ctn-public-skills-buttons span:hover,
.ctn-reference-profile .ctn-public-skills-buttons span:focus,
.ctn-reference-profile .ctn-public-skills-buttons span:active{
  background:#fff!important;
  color:#111827!important;
  border-color:#202020!important;
  box-shadow:none!important;
  transform:none!important;
}
@media(max-width:700px){
  .ctn-reference-profile .ctn-public-hero{
    grid-template-columns:44px 92px minmax(0,1fr)!important;
    min-height:120px!important;
    padding:12px 0 18px!important;
    gap:12px!important;
  }
  .ctn-reference-profile .ctn-back{
    position:static!important;
    right:auto!important;
    top:auto!important;
  }
}

/* v7.9.1 — cache-busted public profile refinement */
.ctn-reference-profile{padding-top:8px!important;}
.ctn-reference-profile .ctn-public-hero{
  min-height:108px!important;
  padding:6px 2px 14px!important;
  gap:16px!important;
}
.ctn-reference-profile .ctn-back{
  width:44px!important;
  height:44px!important;
  margin-top:0!important;
}
.ctn-reference-profile .ctn-profile-photo-wrap{
  margin-left:55px!important;
}
.ctn-reference-profile .ctn-public-skills-section{
  margin-top:0!important;
  border:1px solid var(--ctn-border)!important;
  border-radius:15px!important;
  box-shadow:0 10px 30px rgba(20,33,61,.05)!important;
}
.ctn-reference-profile .ctn-public-skills-section .ctn-section-bar{
  padding:12px 17px!important;
  font-size:17px!important;
}
.ctn-reference-profile .ctn-public-skills-section .ctn-section-body{
  padding:15px 17px!important;
}
@media(max-width:700px){
  .ctn-reference-profile{padding-top:4px!important;}
  .ctn-reference-profile .ctn-public-hero{padding:4px 0 14px!important;}
}


/* v7.9.2 — consistent bordered cards across the entire public profile */
.ctn-reference-profile .ctn-profile-section{
  border:1px solid #e3e8f0!important;
  border-radius:15px!important;
  overflow:hidden!important;
  background:#fff!important;
  box-shadow:0 10px 30px rgba(20,33,61,.05)!important;
}
.ctn-reference-profile .ctn-profile-section .ctn-section-bar{
  border:0!important;
  border-radius:0!important;
}
.ctn-reference-profile .ctn-profile-section .ctn-section-body{
  background:#fff!important;
}

/* v7.9.3 — make every public profile information section use the exact same visible card treatment as Skills */
.ctn-reference-profile .ctn-profile-section,
.ctn-reference-profile .ctn-profile-section.ctn-public-skills-section{
  display:block!important;
  width:100%!important;
  box-sizing:border-box!important;
  border:1px solid #d9e2ef!important;
  border-radius:15px!important;
  overflow:hidden!important;
  background:#fff!important;
  box-shadow:0 8px 24px rgba(20,33,61,.06)!important;
  margin:0 0 16px!important;
}
.ctn-reference-profile .ctn-profile-section:last-child{
  margin-bottom:0!important;
}
.ctn-reference-profile .ctn-profile-section .ctn-section-bar,
.ctn-reference-profile .ctn-profile-section.ctn-public-skills-section .ctn-section-bar{
  display:flex!important;
  width:100%!important;
  box-sizing:border-box!important;
  border:0!important;
  border-radius:0!important;
  margin:0!important;
}
.ctn-reference-profile .ctn-profile-section .ctn-section-body,
.ctn-reference-profile .ctn-profile-section.ctn-public-skills-section .ctn-section-body{
  width:100%!important;
  box-sizing:border-box!important;
  border:0!important;
  background:#fff!important;
}

/* v7.9.4 — force the same bordered card treatment on EVERY public profile section. */
.ctn-reference-profile > .ctn-profile-section,
.ctn-reference-profile .ctn-profile-section.ctn-public-skills-section,
.ctn-reference-profile section.ctn-profile-section {
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  box-sizing:border-box !important;
  margin:0 0 16px !important;
  padding:0 !important;
  border:1px solid #d9e2ef !important;
  border-radius:15px !important;
  background:#fff !important;
  overflow:hidden !important;
  box-shadow:0 8px 24px rgba(20,33,61,.06) !important;
}
.ctn-reference-profile > .ctn-profile-section:last-child,
.ctn-reference-profile section.ctn-profile-section:last-child {
  margin-bottom:0 !important;
}
.ctn-reference-profile > .ctn-profile-section > .ctn-section-bar,
.ctn-reference-profile section.ctn-profile-section > .ctn-section-bar {
  width:100% !important;
  min-height:42px !important;
  box-sizing:border-box !important;
  margin:0 !important;
  border:0 !important;
  border-radius:0 !important;
}
.ctn-reference-profile > .ctn-profile-section > .ctn-section-body,
.ctn-reference-profile section.ctn-profile-section > .ctn-section-body {
  width:100% !important;
  box-sizing:border-box !important;
  margin:0 !important;
  border:0 !important;
  background:#fff !important;
}

/* v7.9.5 — Public profile section title alignment
   Keep every section title/body on the exact same left edge. */
.ctn-reference-profile .ctn-profile-section,
.ctn-reference-profile .ctn-profile-section.ctn-public-skills-section,
.ctn-reference-profile section.ctn-profile-section{
  box-sizing:border-box !important;
  width:100% !important;
}
.ctn-reference-profile .ctn-profile-section .ctn-section-bar,
.ctn-reference-profile .ctn-profile-section.ctn-public-skills-section .ctn-section-bar,
.ctn-reference-profile section.ctn-profile-section > .ctn-section-bar{
  box-sizing:border-box !important;
  padding:11px 18px !important;
  margin:0 !important;
  text-align:left !important;
  display:flex !important;
  align-items:center !important;
  min-height:45px !important;
}
.ctn-reference-profile .ctn-profile-section .ctn-section-bar span,
.ctn-reference-profile section.ctn-profile-section > .ctn-section-bar span{
  margin:0 !important;
  padding:0 !important;
  display:block !important;
  text-align:left !important;
}
.ctn-reference-profile .ctn-profile-section .ctn-section-body,
.ctn-reference-profile .ctn-profile-section.ctn-public-skills-section .ctn-section-body,
.ctn-reference-profile section.ctn-profile-section > .ctn-section-body{
  box-sizing:border-box !important;
  padding:18px !important;
  margin:0 !important;
}
.ctn-reference-profile .ctn-profile-section .ctn-section-body > p{
  margin:0 !important;
}
.ctn-reference-profile .ctn-public-skills-buttons{
  margin:0 !important;
  padding:0 !important;
}


/* v7.9.6 — final public profile section rhythm.
   Every information section uses the exact same card, header, and body spacing
   as the Skills section so the profile reads as one consistent design system. */
.ctn-reference-profile .ctn-profile-section,
.ctn-reference-profile .ctn-profile-section.ctn-public-skills-section,
.ctn-reference-profile section.ctn-profile-section {
  margin: 0 0 18px !important;
  padding: 0 !important;
  border: 1px solid #d9e2ef !important;
  border-radius: 16px !important;
  background: #fff !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  box-shadow: 0 8px 24px rgba(20,33,61,.06) !important;
}
.ctn-reference-profile .ctn-profile-section:last-child,
.ctn-reference-profile section.ctn-profile-section:last-child {
  margin-bottom: 0 !important;
}
.ctn-reference-profile .ctn-profile-section > .ctn-section-bar,
.ctn-reference-profile .ctn-profile-section.ctn-public-skills-section > .ctn-section-bar,
.ctn-reference-profile section.ctn-profile-section > .ctn-section-bar {
  width: 100% !important;
  min-height: 52px !important;
  height: 52px !important;
  margin: 0 !important;
  padding: 14px 18px !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  background: var(--ctn-grad) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 0 !important;
  text-align: left !important;
  line-height: 1.2 !important;
  font-size: 17px !important;
  font-weight: 800 !important;
}
.ctn-reference-profile .ctn-profile-section > .ctn-section-bar span,
.ctn-reference-profile .ctn-profile-section.ctn-public-skills-section > .ctn-section-bar span,
.ctn-reference-profile section.ctn-profile-section > .ctn-section-bar span {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.2 !important;
  text-align: left !important;
}
.ctn-reference-profile .ctn-profile-section > .ctn-section-body,
.ctn-reference-profile .ctn-profile-section.ctn-public-skills-section > .ctn-section-body,
.ctn-reference-profile section.ctn-profile-section > .ctn-section-body {
  width: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 20px 18px 22px !important;
  box-sizing: border-box !important;
  background: #fff !important;
  border: 0 !important;
}
.ctn-reference-profile .ctn-public-skills-buttons {
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  align-items: center !important;
}


/* v7.9.7 — hierarchical Skills filter: six training areas with expandable tools */
.ctn-skill-filter-panel{border:1px solid var(--ctn-border);border-radius:10px;background:#fff;overflow:hidden;box-shadow:0 4px 14px rgba(20,33,61,.04)}
.ctn-skill-all,.ctn-skill-category-name,.ctn-skill-arrow,.ctn-skill-tool{font:inherit}
.ctn-skill-all{display:block;width:100%;padding:11px 13px;text-align:left;border:0;border-bottom:1px solid #e5eaf2;background:#fff;color:var(--ctn-ink);font-weight:700;cursor:pointer}
.ctn-skill-all.is-active{background:#f3f7ff;color:var(--ctn-blue)}
.ctn-skill-category{border-bottom:1px solid #e5eaf2}
.ctn-skill-category:last-child{border-bottom:0}
.ctn-skill-category-row{display:grid;grid-template-columns:minmax(0,1fr) 40px;align-items:center;min-height:44px}
.ctn-skill-category-name{width:100%;height:100%;padding:10px 13px;text-align:left;border:0;background:#fff;color:var(--ctn-ink);font-weight:700;cursor:pointer}
.ctn-skill-category-name:hover,.ctn-skill-arrow:hover{background:#f5f8ff;color:var(--ctn-blue)}
.ctn-skill-arrow{width:40px;height:40px;margin:2px 0;border:0;border-left:1px solid #edf0f5;background:#fff;color:#5b6b84;cursor:pointer;display:flex;align-items:center;justify-content:center}
.ctn-skill-arrow span{display:block;font-size:24px;line-height:1;transform:rotate(0deg);transition:transform .16s ease}
.ctn-skill-category.is-open .ctn-skill-arrow span{transform:rotate(90deg)}
.ctn-skill-category.is-selected>.ctn-skill-category-row .ctn-skill-category-name{color:var(--ctn-blue);background:#f3f7ff}
.ctn-skill-tools{display:grid;grid-template-columns:1fr;padding:5px 8px 9px;background:#fbfcff;border-top:1px solid #edf1f6}
.ctn-skill-tool{display:block;width:100%;padding:8px 10px;text-align:left;border:0;border-radius:6px;background:transparent;color:#42516a;cursor:pointer;font-size:12px}
.ctn-skill-tool:hover{background:#eef4ff;color:var(--ctn-blue)}
.ctn-skill-tool.is-active{background:#e8f0ff;color:var(--ctn-blue);font-weight:700}
@media(min-width:801px){.ctn-skill-tools{grid-template-columns:1fr 1fr;column-gap:6px}}

/* v7.9.9 — refined Skills filter: All Skills as bold text; polished Courseonic controls */
.ctn-skill-filter-panel{
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  overflow:visible!important;
  box-shadow:none!important;
}
.ctn-skill-all{
  display:block!important;
  width:auto!important;
  margin:0 0 8px!important;
  padding:2px 0!important;
  text-align:left!important;
  border:0!important;
  background:transparent!important;
  color:var(--ctn-ink)!important;
  font-weight:800!important;
  font-size:13px!important;
  cursor:pointer!important;
  border-radius:0!important;
}
.ctn-skill-all:hover,.ctn-skill-all:focus,.ctn-skill-all.is-active{
  background:transparent!important;
  color:var(--ctn-blue)!important;
  box-shadow:none!important;
  outline:none!important;
}
.ctn-skill-category{
  border:1px solid var(--ctn-border)!important;
  border-radius:9px!important;
  margin-bottom:7px!important;
  background:#fff!important;
  overflow:hidden!important;
}
.ctn-skill-category:last-child{margin-bottom:0!important}
.ctn-skill-category-row{
  grid-template-columns:minmax(0,1fr) 38px!important;
  min-height:42px!important;
}
.ctn-skill-category-name{
  padding:9px 13px!important;
  background:#fff!important;
  color:var(--ctn-ink)!important;
  font-weight:700!important;
  font-size:13px!important;
}
.ctn-skill-category-name:hover,.ctn-skill-arrow:hover{
  background:#f3f7ff!important;
  color:var(--ctn-blue)!important;
}
.ctn-skill-arrow{
  width:38px!important;
  height:38px!important;
  margin:2px 0!important;
  border-left:1px solid var(--ctn-border)!important;
  background:#fff!important;
  color:var(--ctn-blue)!important;
}
.ctn-skill-arrow span{font-size:20px!important}
.ctn-skill-category.is-selected>.ctn-skill-category-row .ctn-skill-category-name{
  color:var(--ctn-blue)!important;
  background:#f3f7ff!important;
}
.ctn-skill-tools{
  padding:6px 8px 9px!important;
  background:#f8faff!important;
  border-top:1px solid var(--ctn-border)!important;
}
.ctn-skill-tool{
  padding:8px 10px!important;
  border:0!important;
  border-radius:6px!important;
  background:transparent!important;
  color:#42516a!important;
  font-size:12px!important;
}
.ctn-skill-tool:hover,.ctn-skill-tool.is-active{
  background:#eaf1ff!important;
  color:var(--ctn-blue)!important;
}

/* v7.10.0 — Courseonic filter colors + multi-select controls */
.ctn-skill-category-name{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  width:100%!important;
  box-sizing:border-box!important;
  text-decoration:none!important;
  outline:none!important;
}
.ctn-skill-category-name input,
.ctn-skill-tool input{
  width:17px!important;
  height:17px!important;
  min-width:17px!important;
  min-height:17px!important;
  margin:0!important;
  accent-color:var(--ctn-blue)!important;
  cursor:pointer!important;
}
.ctn-skill-category-name input:focus,
.ctn-skill-tool input:focus{
  outline:2px solid rgba(36,87,214,.22)!important;
  outline-offset:1px!important;
  box-shadow:none!important;
}
.ctn-skill-category-name:hover,
.ctn-skill-category-name:focus-within{
  background:#f3f7ff!important;
  color:var(--ctn-blue)!important;
}
.ctn-skill-category.is-selected>.ctn-skill-category-row .ctn-skill-category-name{
  color:var(--ctn-blue)!important;
  background:#f3f7ff!important;
}
.ctn-skill-tool{
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  box-sizing:border-box!important;
  text-decoration:none!important;
  outline:none!important;
  color:#42516a!important;
  background:transparent!important;
  cursor:pointer!important;
}
.ctn-skill-tool span{line-height:1.3!important}
.ctn-skill-tool:hover,
.ctn-skill-tool:focus-within,
.ctn-skill-tool.is-active{
  background:#eaf1ff!important;
  color:var(--ctn-blue)!important;
}
.ctn-skill-arrow:hover,
.ctn-skill-arrow:focus{
  background:#f3f7ff!important;
  color:var(--ctn-blue)!important;
  outline:none!important;
  box-shadow:none!important;
}
.ctn-skill-filter button:focus,
.ctn-skill-filter a:focus{
  outline:2px solid rgba(36,87,214,.22)!important;
  outline-offset:1px!important;
}


/* v7.11.0 — final Skills filter: one main category, multiple tools, vertical tools, no pink */
.ctn-skill-filter .ctn-skill-filter-panel{
  width:100%!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
}
.ctn-skill-filter .ctn-skill-all{
  margin:0 0 8px!important;
  padding:0!important;
  color:var(--ctn-ink)!important;
  background:transparent!important;
  font-weight:800!important;
  border:0!important;
  text-align:left!important;
}
.ctn-skill-filter .ctn-skill-category{
  width:100%!important;
  margin:0 0 6px!important;
  border:1px solid var(--ctn-border)!important;
  border-radius:8px!important;
  background:#fff!important;
  overflow:hidden!important;
}
.ctn-skill-filter .ctn-skill-category-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 34px!important;
  min-height:40px!important;
  align-items:stretch!important;
}
.ctn-skill-filter .ctn-skill-category-name{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  margin:0!important;
  padding:8px 10px!important;
  background:#fff!important;
  color:#10234b!important;
  font-size:12px!important;
  font-weight:700!important;
  line-height:1.2!important;
  cursor:pointer!important;
  border:0!important;
}
.ctn-skill-filter .ctn-skill-category-name input[type="radio"]{
  position:absolute!important;
  opacity:0!important;
  width:1px!important;
  height:1px!important;
  pointer-events:none!important;
}
.ctn-skill-filter .ctn-skill-category-name:hover,
.ctn-skill-filter .ctn-skill-category-name:focus-within{
  background:#f3f7ff!important;
  color:var(--ctn-blue)!important;
}
.ctn-skill-filter .ctn-skill-category.is-selected>.ctn-skill-category-row .ctn-skill-category-name{
  background:#eef4ff!important;
  color:var(--ctn-blue)!important;
}
.ctn-skill-filter .ctn-skill-arrow{
  width:34px!important;
  height:100%!important;
  min-height:40px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-left:1px solid var(--ctn-border)!important;
  border-radius:0!important;
  background:#fff!important;
  color:var(--ctn-blue)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-shadow:none!important;
  cursor:pointer!important;
}
.ctn-skill-filter .ctn-skill-arrow:hover,
.ctn-skill-filter .ctn-skill-arrow:focus,
.ctn-skill-filter .ctn-skill-arrow:active{
  background:#eef4ff!important;
  color:var(--ctn-blue)!important;
  border-left-color:var(--ctn-border)!important;
  outline:none!important;
  box-shadow:none!important;
}
.ctn-skill-filter .ctn-skill-arrow span{
  font-size:15px!important;
  line-height:1!important;
}
.ctn-skill-filter .ctn-skill-tools{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:0!important;
  width:100%!important;
  padding:3px 7px 7px!important;
  background:#f7faff!important;
  border-top:1px solid #e7edf7!important;
  box-sizing:border-box!important;
}
.ctn-skill-filter .ctn-skill-tool{
  display:flex!important;
  align-items:center!important;
  width:100%!important;
  min-height:31px!important;
  margin:0!important;
  padding:5px 7px!important;
  gap:8px!important;
  border:0!important;
  border-radius:5px!important;
  background:transparent!important;
  color:#42516a!important;
  font-size:11px!important;
  font-weight:600!important;
  line-height:1.2!important;
  cursor:pointer!important;
  box-sizing:border-box!important;
}
.ctn-skill-filter .ctn-skill-tool input[type="checkbox"]{
  width:15px!important;
  height:15px!important;
  min-width:15px!important;
  min-height:15px!important;
  margin:0!important;
  accent-color:var(--ctn-blue)!important;
}
.ctn-skill-filter .ctn-skill-tool:hover,
.ctn-skill-filter .ctn-skill-tool:focus-within,
.ctn-skill-filter .ctn-skill-tool.is-active{
  background:#eaf1ff!important;
  color:var(--ctn-blue)!important;
}
.ctn-skill-filter .ctn-skill-category:not(.is-selected) .ctn-skill-tools{
  /* tools may still be opened for inspection, but selection promotes the category */
}
.ctn-skill-filter button,
.ctn-skill-filter input,
.ctn-skill-filter label{
  accent-color:var(--ctn-blue);
}

/* v7.12.0 — Skills filter: checkbox-driven dropdown, all tools checked on category select. */
.ctn-skill-filter .ctn-skill-all{display:none!important;}
.ctn-skill-filter .ctn-skill-filter-panel{width:100%!important;border:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important;}
.ctn-skill-filter .ctn-skill-category{margin:0 0 7px!important;border:0!important;border-radius:0!important;background:transparent!important;overflow:visible!important;}
.ctn-skill-filter .ctn-skill-category-row{display:block!important;min-height:0!important;}
.ctn-skill-filter .ctn-skill-category-name{display:flex!important;align-items:center!important;gap:10px!important;width:100%!important;min-height:34px!important;padding:4px 0!important;background:transparent!important;color:#3f526d!important;font-size:13px!important;font-weight:500!important;cursor:pointer!important;}
.ctn-skill-filter .ctn-skill-category-name:hover,.ctn-skill-filter .ctn-skill-category-name:focus-within{background:transparent!important;color:var(--ctn-blue)!important;}
.ctn-skill-filter .ctn-skill-category-name input{width:17px!important;height:17px!important;min-width:17px!important;min-height:17px!important;margin:0!important;accent-color:var(--ctn-blue)!important;}
.ctn-skill-filter .ctn-skill-category.is-selected>.ctn-skill-category-row .ctn-skill-category-name{background:transparent!important;color:#3f526d!important;}
.ctn-skill-filter .ctn-skill-arrow{display:none!important;}
.ctn-skill-filter .ctn-skill-tools{display:grid!important;grid-template-columns:1fr!important;gap:0!important;margin:1px 0 5px 27px!important;padding:3px 0 3px 10px!important;border:0!important;border-left:1px solid #dfe6f0!important;border-radius:0!important;background:transparent!important;}
.ctn-skill-filter .ctn-skill-tools[hidden]{display:none!important;}
.ctn-skill-filter .ctn-skill-tool{display:flex!important;align-items:center!important;gap:9px!important;width:100%!important;min-height:29px!important;padding:3px 0!important;border:0!important;border-radius:0!important;background:transparent!important;color:#5b6b82!important;font-size:12px!important;font-weight:400!important;cursor:pointer!important;}
.ctn-skill-filter .ctn-skill-tool:hover,.ctn-skill-filter .ctn-skill-tool:focus-within,.ctn-skill-filter .ctn-skill-tool.is-active{background:transparent!important;color:#42516a!important;}
.ctn-skill-filter .ctn-skill-tool input{width:16px!important;height:16px!important;min-width:16px!important;min-height:16px!important;margin:0!important;accent-color:var(--ctn-blue)!important;}


/* v7.12.1 — public profile detail values: readable normal size and black */
.ctn-reference-profile .ctn-info-grid span,
.ctn-public-profile .ctn-info-grid span {
  font-size: 15px !important;
  line-height: 1.55 !important;
  color: #272B41 !important;
  font-weight: 500 !important;
}


/* v7.12.4 — Skills tab follows the reference Add/remove interaction. Training Area is admin-controlled. */
.ctn-skill-editor{margin-top:6px;}
.ctn-skill-editor>label,
.ctn-skill-editor .ctn-training-area-field>label,
.ctn-skill-editor .ctn-selected-skills-wrap>label,
.ctn-skill-editor .ctn-available-skills-wrap>label{display:block;font-size:13px;font-weight:700;color:var(--ctn-ink);margin:0 0 8px;}
.ctn-training-area-field{margin-bottom:18px;}
.ctn-training-area-display{width:100%;box-sizing:border-box;min-height:40px;display:flex;align-items:center;padding:10px 13px;border:1px solid #d8dde5;border-radius:5px;background:#eef0f2;color:#536174;font-size:12px;font-weight:500;}
.ctn-training-area-field small{display:block;color:#98a2b3;font-size:11px;margin-top:6px;}
.ctn-selected-skills-wrap{margin-bottom:20px;}
.ctn-selected-skills{min-height:48px;display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:8px 9px;border:1px solid #dfe4eb;border-radius:5px;background:#fff;box-sizing:border-box;}
.ctn-selected-skills:empty:before{content:'No skills selected yet';color:#98a2b3;font-size:12px;}
.ctn-selected-skill{display:inline-flex;align-items:center;gap:5px;min-height:28px;padding:5px 8px 5px 10px;border:1px solid #cbd3dd;border-radius:4px;background:#fff;color:#39485e;font-size:11px;line-height:1.2;box-sizing:border-box;}
.ctn-remove-skill{width:16px;height:16px;padding:0;border:0;border-radius:50%;background:#64748b;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:12px;line-height:1;cursor:pointer;}
.ctn-remove-skill:hover{background:#272b41;}
.ctn-available-skills-wrap{margin-top:2px;}
.ctn-available-skills-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 14px;}
.ctn-available-skill-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-height:38px;}
.ctn-available-skill-name{display:flex;align-items:center;min-width:0;height:38px;box-sizing:border-box;padding:8px 10px;border:1px solid #dfe3e8;border-radius:2px;background:#eef0f2;color:#536174;font-size:11px;line-height:1.25;}
.ctn-add-skill{height:38px;padding:0 9px;border:1px solid var(--ctn-blue);border-radius:2px;background:#fff;color:var(--ctn-blue);font-size:11px;font-weight:600;cursor:pointer;min-width:44px;}
.ctn-add-skill:hover:not(:disabled){background:#f3f7ff;}
.ctn-add-skill:disabled{cursor:default;border-color:#cfd6e0;color:#8c98aa;background:#fff;}
@media(max-width:760px){.ctn-available-skills-list{grid-template-columns:1fr;}}


/* v7.12.5 — clean Skills UI: remove helper copy/status and refine skill remove control */
.ctn-skill-editor + .ctn-help,
.ctn-skill-editor .ctn-help,
.ctn-skill-editor .ctn-skill-helper,
.ctn-skill-editor .ctn-skill-instruction{display:none!important;}
.ctn-skill-editor .ctn-form-head > span{display:none!important;}
.ctn-save-row .ctn-autosave-status{display:none!important;}

.ctn-skill-editor .ctn-selected-skill{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:7px!important;
  min-height:30px!important;
  padding:4px 7px 4px 10px!important;
  border:1px solid #cbd6e8!important;
  border-radius:4px!important;
  background:#fff!important;
  color:#272b41!important;
  font-size:12px!important;
  line-height:1.2!important;
}
.ctn-skill-editor .ctn-remove-skill{
  width:24px!important;
  min-width:24px!important;
  max-width:24px!important;
  height:21px!important;
  min-height:21px!important;
  padding:0!important;
  margin:0!important;
  border:1px solid var(--ctn-blue)!important;
  border-radius:3px!important;
  background:#fff!important;
  color:var(--ctn-blue)!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  align-self:center!important;
  font-size:13px!important;
  font-weight:700!important;
  line-height:1!important;
  vertical-align:middle!important;
  cursor:pointer!important;
  box-sizing:border-box!important;
}
.ctn-skill-editor .ctn-remove-skill:hover,
.ctn-skill-editor .ctn-remove-skill:focus{
  background:var(--ctn-grad)!important;
  border-color:transparent!important;
  color:#fff!important;
  outline:none!important;
  box-shadow:none!important;
}
.ctn-skill-editor .ctn-remove-skill:focus-visible{
  box-shadow:0 0 0 2px rgba(36,87,214,.15)!important;
}

/* v7.12.6 — Match Skills Add buttons to Courseonic logo colors; remove any theme red overrides. */
.ctn-skill-editor .ctn-add-skill,
.ctn-skill-editor button.ctn-add-skill,
.ctn-skill-editor .ctn-available-skill-row .ctn-add-skill{
  background:var(--ctn-grad)!important;
  background-image:var(--ctn-grad)!important;
  border:1px solid transparent!important;
  border-color:transparent!important;
  color:#fff!important;
  box-shadow:0 5px 14px rgba(36,87,214,.14)!important;
}
.ctn-skill-editor .ctn-add-skill:hover:not(:disabled),
.ctn-skill-editor .ctn-add-skill:focus:not(:disabled),
.ctn-skill-editor .ctn-add-skill:active:not(:disabled){
  background:var(--ctn-grad)!important;
  background-image:var(--ctn-grad)!important;
  border-color:transparent!important;
  color:#fff!important;
  box-shadow:0 7px 16px rgba(36,87,214,.20)!important;
  outline:none!important;
}
.ctn-skill-editor .ctn-add-skill:disabled{
  background:#eef3ff!important;
  background-image:none!important;
  border:1px solid #cbd6e8!important;
  color:#7b879c!important;
  box-shadow:none!important;
}

/* v7.12.7 — secure reset flow + consistent password-eye controls */
.ctn-auth-form .ctn-reset-lead{margin:0 0 22px!important;color:var(--ctn-ink)!important;font-size:15px!important;font-weight:700!important;line-height:1.45!important;}
.ctn-auth-form .ctn-password{position:relative!important;width:100%!important;}
.ctn-auth-form .ctn-password > input{width:100%!important;padding-right:52px!important;box-sizing:border-box!important;}
.ctn-auth-form .ctn-password > .ctn-password-toggle{position:absolute!important;right:10px!important;top:50%!important;transform:translateY(-50%)!important;width:34px!important;height:34px!important;min-width:34px!important;max-width:34px!important;padding:0!important;margin:0!important;display:grid!important;place-items:center!important;z-index:3!important;}
.ctn-auth-form .ctn-password > .ctn-password-toggle .ctn-eye-icon{width:18px!important;height:18px!important;display:block!important;visibility:visible!important;opacity:1!important;}

/* v7.13.7 — force-visible compact Instagram-style verified skill badge */
.ctn-reference-profile .ctn-public-skill-tag{
  position:relative!important;
  overflow:visible!important;
}
.ctn-reference-profile .ctn-public-skill-tag > .ctn-verified-wrap{
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  vertical-align:middle!important;
  flex:0 0 14px!important;
  width:14px!important;
  height:14px!important;
  min-width:14px!important;
  max-width:14px!important;
  min-height:14px!important;
  max-height:14px!important;
  padding:0!important;
  margin:0 0 0 6px!important;
  border:0!important;
  border-radius:50%!important;
  background:transparent!important;
  color:#fff!important;
  line-height:1!important;
  font-size:0!important;
  font-weight:400!important;
  box-shadow:none!important;
  cursor:help!important;
  text-decoration:none!important;
}
.ctn-reference-profile .ctn-public-skill-tag > .ctn-verified-wrap > .ctn-verified-badge{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 14px!important;
  width:14px!important;
  height:14px!important;
  min-width:14px!important;
  max-width:14px!important;
  min-height:14px!important;
  max-height:14px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:50%!important;
  background:#0095F6!important;
  color:#fff!important;
  font-family:Arial,Helvetica,sans-serif!important;
  font-size:9px!important;
  font-weight:800!important;
  line-height:14px!important;
  text-align:center!important;
  box-shadow:none!important;
}
.ctn-reference-profile .ctn-public-skill-tag > .ctn-verified-wrap > .ctn-verified-tooltip{
  position:absolute!important;
  left:50%!important;
  bottom:calc(100% + 9px)!important;
  transform:translateX(-50%) translateY(4px)!important;
  width:max-content!important;
  min-width:118px!important;
  max-width:190px!important;
  box-sizing:border-box!important;
  padding:8px 10px!important;
  margin:0!important;
  border:1px solid #dbe3f0!important;
  border-radius:7px!important;
  background:#fff!important;
  color:#272B41!important;
  font-size:11px!important;
  font-weight:500!important;
  line-height:1.3!important;
  text-align:center!important;
  white-space:normal!important;
  box-shadow:0 6px 18px rgba(20,33,61,.14)!important;
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
  z-index:999!important;
  transition:opacity .14s ease,transform .14s ease,visibility .14s ease!important;
}
.ctn-reference-profile .ctn-public-skill-tag > .ctn-verified-wrap > .ctn-verified-tooltip > span{
  display:block!important;
  margin:0 0 2px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:#272B41!important;
  font-size:11px!important;
  font-weight:600!important;
  line-height:1.3!important;
}
.ctn-reference-profile .ctn-public-skill-tag > .ctn-verified-wrap > .ctn-verified-tooltip > strong{
  display:block!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:#272B41!important;
  font-size:11px!important;
  font-weight:700!important;
  line-height:1.3!important;
}
.ctn-reference-profile .ctn-public-skill-tag > .ctn-verified-wrap > .ctn-verified-tooltip:after{
  content:""!important;
  position:absolute!important;
  left:50%!important;
  top:100%!important;
  transform:translateX(-50%)!important;
  border:5px solid transparent!important;
  border-top-color:#fff!important;
  filter:drop-shadow(0 1px 0 #dbe3f0)!important;
}
.ctn-reference-profile .ctn-public-skill-tag > .ctn-verified-wrap:hover > .ctn-verified-tooltip,
.ctn-reference-profile .ctn-public-skill-tag > .ctn-verified-wrap:focus > .ctn-verified-tooltip,
.ctn-reference-profile .ctn-public-skill-tag > .ctn-verified-wrap:focus-within > .ctn-verified-tooltip{
  opacity:1!important;
  visibility:visible!important;
  transform:translateX(-50%) translateY(0)!important;
}

/* Directory pagination */
.ctn-pagination{margin-top:30px;display:flex;justify-content:center;width:100%;}
.ctn-pagination ul{list-style:none!important;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:7px;margin:0!important;padding:0!important;}
.ctn-pagination li{margin:0!important;padding:0!important;list-style:none!important;}
.ctn-pagination a,.ctn-pagination span{min-width:38px;height:38px;box-sizing:border-box;padding:0 12px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--ctn-border);border-radius:9px;background:#fff;color:var(--ctn-ink);font-size:13px;font-weight:750;text-decoration:none!important;line-height:1;transition:.2s ease;}
.ctn-pagination a:hover{border-color:var(--ctn-blue);color:var(--ctn-blue);transform:translateY(-1px);}
.ctn-pagination .current{border-color:transparent;background:var(--ctn-grad);color:#fff;box-shadow:0 7px 18px rgba(36,87,214,.18);}
.ctn-pagination .dots{border-color:transparent;background:transparent;color:var(--ctn-muted);min-width:28px;padding:0;}
@media(max-width:520px){.ctn-pagination a,.ctn-pagination span{min-width:34px;height:34px;padding:0 9px;font-size:12px;}.ctn-pagination ul{gap:5px;}}


/* v7.14.2 — mobile filters, responsive cards, and white plugin surfaces */
.ctn-directory,
.ctn-dashboard,
.ctn-public-profile,
.ctn-login-required,
.ctn-auth-shell{
  background:#fff !important;
}
.ctn-directory{
  border-radius:0 !important;
  box-shadow:none !important;
}
.ctn-results{
  background:#fff !important;
}
.ctn-mobile-filter-toggle{
  display:none;
}
@media (min-width:1200px){
  .ctn-grid{grid-template-columns:repeat(4,minmax(0,1fr)) !important;}
}
@media (min-width:801px) and (max-width:1199px){
  .ctn-grid{grid-template-columns:repeat(3,minmax(0,1fr)) !important;}
}
@media (max-width:800px){
  .ctn-directory{
    display:block !important;
    padding:12px !important;
  }
  .ctn-mobile-filter-toggle{
    display:flex !important;
    width:100% !important;
    min-height:46px !important;
    align-items:center !important;
    justify-content:space-between !important;
    padding:0 15px !important;
    margin:0 0 14px !important;
    border:1px solid #dce3ee !important;
    border-radius:10px !important;
    background:#fff !important;
    color:var(--ctn-ink) !important;
    font-size:14px !important;
    font-weight:800 !important;
    cursor:pointer !important;
    box-shadow:0 5px 16px rgba(20,33,61,.05) !important;
    text-align:left !important;
  }
  .ctn-mobile-filter-toggle:after{
    content:'⌄';
    font-size:18px;
    color:var(--ctn-blue);
    line-height:1;
    transition:transform .18s ease;
  }
  .ctn-directory.ctn-mobile-filters-open .ctn-mobile-filter-toggle:after{
    transform:rotate(180deg);
  }
  .ctn-filters{
    display:none !important;
    position:static !important;
    width:100% !important;
    margin:0 0 18px !important;
    padding:16px !important;
    box-sizing:border-box !important;
  }
  .ctn-directory.ctn-mobile-filters-open .ctn-filters{
    display:block !important;
  }
  .ctn-grid{
    grid-template-columns:1fr !important;
    gap:16px !important;
  }
  .ctn-card{
    width:100% !important;
    min-width:0 !important;
  }
  .ctn-results-head{
    margin-bottom:16px !important;
  }
}
@media (max-width:520px){
  .ctn-directory{padding:10px !important;}
  .ctn-mobile-filter-toggle{margin-bottom:12px !important;}
}


/* v7.14.3 — restore desktop directory layout; keep the mobile-only filter control mobile-only.
   The v7.14.2 responsive rules remain limited to <=800px so desktop keeps the earlier
   two-column filter + multi-card layout. */
@media (min-width:801px){
  .ctn-directory{
    display:grid !important;
    grid-template-columns:275px minmax(0,1fr) !important;
    gap:32px !important;
    padding:28px !important;
    background:#fff !important;
    border-radius:0 !important;
    box-shadow:none !important;
    align-items:start !important;
  }
  .ctn-mobile-filter-toggle{display:none !important;}
  .ctn-filters{display:block !important; width:auto !important; min-width:0 !important;}
  .ctn-results{min-width:0 !important; width:100% !important;}
  .ctn-grid{grid-template-columns:repeat(4,minmax(0,1fr)) !important; gap:20px !important;}
  .ctn-card{min-width:0 !important; width:100% !important;}
}
@media (min-width:801px) and (max-width:1099px){
  .ctn-grid{grid-template-columns:repeat(3,minmax(0,1fr)) !important;}
}
@media (max-width:800px){
  .ctn-directory{background:#fff !important;}
  .ctn-results{width:100% !important; min-width:0 !important;}
  .ctn-grid{grid-template-columns:1fr !important;}
}

/* v7.14.3 — student edit page should occupy the content area cleanly. */
.ctn-dashboard{width:100% !important; box-sizing:border-box !important; background:#fff !important;}
.ctn-profile-form{width:100% !important; box-sizing:border-box !important;}

/* v7.14.8 — Courseonic Elementor header account control. */
.ctn-header-account{
  position:relative!important;
  flex:0 0 auto!important;
  margin-left:auto!important;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important;
  z-index:100000!important;
  display:block!important;
}
.ctn-header-account-toggle{
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  min-height:42px!important;
  padding:0!important;
  margin:0!important;
  border:2px solid transparent!important;
  border-radius:50%!important;
  background:linear-gradient(#fff,#fff) padding-box,linear-gradient(135deg,#0751f9 0%,#0195fd 45%,#5704f6 100%) border-box!important;
  color:#2457d6!important;
  -webkit-appearance:none!important;
  appearance:none!important;
  display:grid!important;
  place-items:center!important;
  cursor:pointer!important;
  box-shadow:0 7px 20px rgba(53,21,220,.16)!important;
  transition:transform .2s ease,box-shadow .2s ease!important;
}
.ctn-header-account-toggle:hover,
.ctn-header-account-toggle:focus-visible{
  transform:translateY(-1px)!important;
  border:2px solid transparent!important;
  background:linear-gradient(#fff,#fff) padding-box,linear-gradient(135deg,#0751f9 0%,#0195fd 45%,#5704f6 100%) border-box!important;
  color:#0751f9!important;
  box-shadow:0 10px 26px rgba(53,21,220,.24)!important;
  outline:none!important;
}
.ctn-header-account-toggle svg{width:20px!important;height:20px!important;display:block!important;fill:#0751f9!important;pointer-events:none!important;}
.ctn-header-account-dropdown{
  position:absolute!important;
  top:calc(100% + 9px)!important;
  right:0!important;
  left:auto!important;
  min-width:155px!important;
  padding:6px!important;
  margin:0!important;
  background:#fff!important;
  border:1px solid #e0e7f2!important;
  border-radius:10px!important;
  box-shadow:0 15px 35px rgba(20,33,61,.15)!important;
  opacity:0!important;
  visibility:hidden!important;
  transform:translateY(-5px)!important;
  pointer-events:none!important;
  transition:opacity .16s ease,transform .16s ease,visibility .16s ease!important;
}
.ctn-header-account:hover .ctn-header-account-dropdown,
.ctn-header-account:focus-within .ctn-header-account-dropdown,
.ctn-header-account.is-open .ctn-header-account-dropdown{
  opacity:1!important;
  visibility:visible!important;
  transform:translateY(0)!important;
  pointer-events:auto!important;
}
.ctn-header-account-dropdown a{
  display:block!important;
  padding:9px 11px!important;
  margin:1px 0!important;
  border:0!important;
  border-radius:7px!important;
  background:transparent!important;
  color:#272B41!important;
  text-decoration:none!important;
  font-size:13px!important;
  font-weight:600!important;
  line-height:1.35!important;
  white-space:nowrap!important;
  box-shadow:none!important;
}
.ctn-header-account-dropdown a:hover,
.ctn-header-account-dropdown a:focus-visible{
  background:#eef4ff!important;
  color:#2457d6!important;
  text-decoration:none!important;
  outline:none!important;
}
@media(max-width:768px){
  .ctn-header-account-toggle{width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;}
  .ctn-header-account-toggle svg{width:19px!important;height:19px!important;}
}
@media(max-width:480px){
  .ctn-header-account-toggle{width:37px!important;height:37px!important;min-width:37px!important;min-height:37px!important;}
  .ctn-header-account-toggle svg{width:18px!important;height:18px!important;}
}


/* v7.14.8 — hard-stop theme button colors from leaking onto the account control. */
.courseonic-header .ctn-header-account-toggle, .courseonic-header .ctn-header-account-toggle:hover, .courseonic-header .ctn-header-account-toggle:focus, .courseonic-header .ctn-header-account-toggle:active { border-color: transparent!important; background: linear-gradient(#fff,#fff) padding-box,linear-gradient(135deg,#0751f9 0%,#0195fd 45%,#5704f6 100%) border-box!important; color:#0751f9!important; box-shadow:0 7px 20px rgba(53,21,220,.16)!important; }


/* v7.14.9 — public profile back control + account dropdown hover bridge. */
.ctn-reference-profile .ctn-public-hero{
  position:relative!important;
}
.ctn-reference-profile .ctn-back{
  left:0!important;
  right:auto!important;
  top:0!important;
  z-index:3!important;
}
@media(max-width:520px){
  .ctn-reference-profile .ctn-public-hero{
    flex-direction:column!important;
    align-items:flex-start!important;
    padding:52px 0 24px!important;
  }
  .ctn-reference-profile .ctn-back{
    left:0!important;
    right:auto!important;
    top:0!important;
    width:38px!important;
    height:38px!important;
  }
  .ctn-reference-profile .ctn-profile-photo-wrap{
    margin-left:0!important;
  }
}

/* Keep the account menu open while the pointer travels from the icon to the dropdown. */
.ctn-header-account-dropdown{top:calc(100% + 4px)!important;}
.ctn-header-account-dropdown:before{
  content:""!important;
  position:absolute!important;
  top:-7px!important;
  right:0!important;
  width:100%!important;
  height:8px!important;
  background:transparent!important;
}
.courseonic-header,.courseonic-header-inner{overflow:visible!important;}

/* v7.14.10 — public profile back button sits above the profile photo, matching the
 * reference profile layout on desktop and mobile. */
.ctn-reference-profile .ctn-public-hero{
  position:relative!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:flex-start!important;
  gap:22px!important;
  min-height:205px!important;
  padding:68px 2px 24px!important;
}
.ctn-reference-profile .ctn-back{
  position:absolute!important;
  top:0!important;
  left:0!important;
  right:auto!important;
  width:40px!important;
  height:40px!important;
  display:grid!important;
  place-items:center!important;
  padding:0!important;
  border:1px solid #9da7b5!important;
  border-radius:4px!important;
  background:#fff!important;
  color:#272B41!important;
  box-shadow:none!important;
  z-index:5!important;
}
.ctn-reference-profile .ctn-back svg{
  width:21px!important;
  height:21px!important;
  display:block!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:2.2!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.ctn-reference-profile .ctn-profile-photo-wrap{
  flex:0 0 112px!important;
  width:112px!important;
  height:112px!important;
  margin:0!important;
}
.ctn-reference-profile .ctn-public-title{
  flex:1 1 auto!important;
  min-width:0!important;
}
@media(max-width:700px){
  .ctn-reference-profile .ctn-public-hero{
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    gap:12px!important;
    min-height:0!important;
    padding:56px 0 24px!important;
  }
  .ctn-reference-profile .ctn-back{
    top:0!important;
    left:0!important;
    right:auto!important;
    width:40px!important;
    height:40px!important;
  }
  .ctn-reference-profile .ctn-profile-photo-wrap{
    width:92px!important;
    height:92px!important;
    flex-basis:92px!important;
    margin:0!important;
  }
  .ctn-reference-profile .ctn-public-title{
    width:100%!important;
  }
}

/* v7.14.13 — mobile-only public profile alignment. Desktop styles remain unchanged. */
@media (max-width:700px){
  .ctn-reference-profile .ctn-public-hero{
    position:relative!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    text-align:center!important;
    min-height:auto!important;
    padding:56px 0 20px!important;
    gap:12px!important;
  }
  .ctn-reference-profile .ctn-back{
    position:absolute!important;
    left:0!important;
    right:auto!important;
    top:0!important;
    width:40px!important;
    height:40px!important;
    margin:0!important;
    z-index:5!important;
  }
  .ctn-reference-profile .ctn-profile-photo-wrap{
    width:92px!important;
    height:92px!important;
    margin:0 auto!important;
    flex:none!important;
  }
  .ctn-reference-profile .ctn-public-title{
    width:100%!important;
    text-align:center!important;
  }
  .ctn-reference-profile .ctn-public-title h1,
  .ctn-reference-profile .ctn-profile-course,
  .ctn-reference-profile .ctn-public-line{
    text-align:center!important;
  }
  .ctn-reference-profile .ctn-public-line a{
    display:inline-block!important;
  }
  .ctn-reference-profile .ctn-availability-list{
    justify-content:center!important;
  }
  .ctn-reference-profile .ctn-public-skills-buttons{
    justify-content:center!important;
  }
}


/* v7.14.21 — profile photo positioning fix only. Keep the existing data, layout, and account records untouched. */
/* Talent Network cards: keep photos below the gradient banner instead of overlapping it. */
.ctn-directory .ctn-card-avatar.ctn-has-photo{
  margin:14px auto 0!important;
  position:relative!important;
  top:auto!important;
  bottom:auto!important;
}
.ctn-directory .ctn-card-avatar.ctn-has-photo .ctn-avatar{
  display:block!important;
}

/* Public View Profile: keep the photo in the normal hero flow on desktop and mobile. */
.ctn-reference-profile .ctn-public-hero .ctn-profile-photo-wrap{
  position:relative!important;
  top:auto!important;
  bottom:auto!important;
  left:auto!important;
  right:auto!important;
  transform:none!important;
  margin:0!important;
  flex:0 0 112px!important;
  width:112px!important;
  height:112px!important;
}
.ctn-reference-profile .ctn-public-hero .ctn-profile-photo{
  display:block!important;
  position:relative!important;
  top:auto!important;
  left:auto!important;
  transform:none!important;
}
@media(max-width:700px){
  .ctn-directory .ctn-card-avatar.ctn-has-photo{margin:14px auto 0!important;}
  .ctn-reference-profile .ctn-public-hero .ctn-profile-photo-wrap{
    flex:0 0 92px!important;
    width:92px!important;
    height:92px!important;
    margin:0 auto!important;
  }
}


/* v7.14.23 — keep real uploaded profile photos fully inside their avatar frame.
   Placeholder/initial avatars are intentionally untouched. */
.ctn-directory .ctn-card-avatar.ctn-has-photo{
  width:86px!important;
  height:86px!important;
  padding:4px!important;
  margin:14px auto 0!important;
  border-radius:50%!important;
  overflow:hidden!important;
  background:var(--ctn-grad)!important;
  box-sizing:border-box!important;
}
.ctn-directory .ctn-card-avatar.ctn-has-photo > img.ctn-avatar{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  object-fit:cover!important;
  border-radius:50%!important;
  box-sizing:border-box!important;
}
.ctn-reference-profile .ctn-public-hero .ctn-profile-photo-wrap{
  overflow:hidden!important;
  border-radius:50%!important;
  padding:4px!important;
  box-sizing:border-box!important;
  background:var(--ctn-grad)!important;
}
.ctn-reference-profile .ctn-public-hero .ctn-profile-photo-wrap > img.ctn-profile-photo{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  object-fit:cover!important;
  border-radius:50%!important;
  box-sizing:border-box!important;
}
@media(max-width:700px){
  .ctn-directory .ctn-card-avatar.ctn-has-photo{
    width:86px!important;
    height:86px!important;
    margin:14px auto 0!important;
  }
  .ctn-reference-profile .ctn-public-hero .ctn-profile-photo-wrap{
    width:92px!important;
    height:92px!important;
    padding:4px!important;
  }
}


/* v7.14.24 — gender-specific fallback photos for students without an uploaded profile photo.
   These rules apply only to the real fallback images; letter placeholders remain unchanged. */
.ctn-directory .ctn-card-avatar.ctn-has-photo .ctn-avatar-default-gender{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  object-fit:cover!important;
  border-radius:50%!important;
  box-sizing:border-box!important;
}
.ctn-reference-profile .ctn-public-hero .ctn-profile-photo-default-gender{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  object-fit:cover!important;
  border-radius:50%!important;
  box-sizing:border-box!important;
}


/* v7.14.29 — clean profile picture controls.
   Keep the photo and its actions in a simple, isolated layout so theme/Elementor
   button and label styles cannot make the controls overlap or inherit odd borders. */
.ctn-photo-actions{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  gap:9px!important;
  position:static!important;
  width:auto!important;
  min-width:175px!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
}
.ctn-photo-actions .ctn-upload{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:175px!important;
  min-height:40px!important;
  box-sizing:border-box!important;
  padding:0 15px!important;
  margin:0!important;
  border:0!important;
  border-radius:10px!important;
  background:linear-gradient(135deg,#0751f9 0%,#0195fd 55%,#2563eb 100%)!important;
  color:#fff!important;
  font-size:12px!important;
  font-weight:700!important;
  line-height:1!important;
  white-space:nowrap!important;
  cursor:pointer!important;
  box-shadow:0 6px 16px rgba(37,99,235,.16)!important;
  transition:transform .2s ease,box-shadow .2s ease!important;
}
.ctn-photo-actions .ctn-upload:hover,
.ctn-photo-actions .ctn-upload:focus{
  color:#fff!important;
  border:0!important;
  transform:translateY(-1px)!important;
  box-shadow:0 9px 20px rgba(37,99,235,.22)!important;
  outline:none!important;
}
.ctn-photo-actions .ctn-upload input[type=file]{
  display:none!important;
}
.ctn-photo-actions .ctn-remove-photo{
  appearance:none!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:175px!important;
  min-height:34px!important;
  box-sizing:border-box!important;
  padding:0 12px!important;
  margin:0!important;
  border:0!important;
  background:transparent!important;
  color:#667085!important;
  border-radius:8px!important;
  font:600 12px/1 "Inter",sans-serif!important;
  cursor:pointer!important;
  box-shadow:none!important;
  transition:color .2s ease,background .2s ease!important;
}
.ctn-photo-actions .ctn-remove-photo:hover,
.ctn-photo-actions .ctn-remove-photo:focus{
  color:#2457d6!important;
  background:#f4f7ff!important;
  border:0!important;
  box-shadow:none!important;
  outline:none!important;
  transform:none!important;
}
.ctn-photo-actions .ctn-remove-photo:disabled{
  opacity:.6!important;
  cursor:wait!important;
}

/* v7.14.27 — profile photo fallback/upload hardening.  Existing card geometry remains unchanged. */
.ctn-card-avatar.ctn-has-photo,
.ctn-card-avatar:has(.ctn-avatar-default-gender){
  overflow:hidden!important;
}
.ctn-card-avatar .ctn-avatar-default-gender,
.ctn-card-avatar .ctn-avatar{
  display:block!important;
}
.ctn-photo-preview img.ctn-profile-photo,
.ctn-photo-preview .ctn-profile-photo-default-gender{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  border-radius:50%!important;
}

/* v7.14.29 — final profile-photo layout isolation. */
.ctn-photo-editor,
.ctn-photo-editor *{
  box-sizing:border-box!important;
}
.ctn-photo-editor{
  display:flex!important;
  align-items:center!important;
  gap:18px!important;
  flex-wrap:nowrap!important;
  position:static!important;
  transform:none!important;
  overflow:visible!important;
  min-width:0!important;
}
.ctn-photo-preview{
  width:96px!important;
  height:96px!important;
  min-width:96px!important;
  min-height:96px!important;
  flex:0 0 96px!important;
  position:relative!important;
  inset:auto!important;
  margin:0!important;
  padding:4px!important;
  border-radius:50%!important;
  overflow:hidden!important;
  background:var(--ctn-grad)!important;
  box-shadow:0 8px 20px rgba(20,33,61,.12)!important;
}
.ctn-photo-preview > img.ctn-profile-photo,
.ctn-photo-preview > img.ctn-profile-photo-default-gender,
.ctn-photo-preview > .ctn-profile-photo.ctn-avatar-placeholder{
  display:block!important;
  position:static!important;
  inset:auto!important;
  transform:none!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:50%!important;
  object-fit:cover!important;
}
.ctn-photo-preview > .ctn-avatar-placeholder{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
.ctn-photo-actions .ctn-upload,
.ctn-photo-actions .ctn-remove-photo{
  position:static!important;
  inset:auto!important;
  transform:none!important;
}
.ctn-photo-actions .ctn-upload:hover,
.ctn-photo-actions .ctn-upload:focus,
.ctn-photo-actions .ctn-remove-photo:hover,
.ctn-photo-actions .ctn-remove-photo:focus{
  transform:translateY(-1px)!important;
}
.ctn-photo-actions .ctn-remove-photo:hover,
.ctn-photo-actions .ctn-remove-photo:focus{
  transform:none!important;
}

@media(max-width:520px){
  .ctn-photo-editor{justify-content:center!important;}
  .ctn-photo-actions{width:100%!important;justify-content:center!important;}
}

/* v7.14.30 — isolate the profile upload control from generic form/theme styles. */
.ctn-form-section .ctn-photo-actions{
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  overflow:visible!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  gap:7px!important;
}
.ctn-form-section .ctn-photo-actions .ctn-upload{
  all:unset!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:190px!important;
  height:42px!important;
  min-width:190px!important;
  max-width:190px!important;
  box-sizing:border-box!important;
  margin:0!important;
  padding:0 14px!important;
  border:0!important;
  border-radius:9px!important;
  background:#1769ff!important;
  color:#fff!important;
  font-family:inherit!important;
  font-size:12px!important;
  font-weight:700!important;
  line-height:1!important;
  text-align:center!important;
  white-space:nowrap!important;
  cursor:pointer!important;
  position:relative!important;
  overflow:hidden!important;
  box-shadow:none!important;
}
.ctn-form-section .ctn-photo-actions .ctn-upload:hover,
.ctn-form-section .ctn-photo-actions .ctn-upload:focus{
  background:#125de0!important;
  color:#fff!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  transform:none!important;
}
.ctn-form-section .ctn-photo-actions .ctn-upload > input[type="file"]{
  display:block!important;
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  min-width:1px!important;
  max-width:1px!important;
  min-height:1px!important;
  max-height:1px!important;
  padding:0!important;
  margin:-1px!important;
  border:0!important;
  opacity:0!important;
  overflow:hidden!important;
  clip:rect(0 0 0 0)!important;
  clip-path:inset(50%)!important;
  white-space:nowrap!important;
}
.ctn-form-section .ctn-photo-actions .ctn-remove-photo{
  all:unset!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:190px!important;
  min-width:190px!important;
  max-width:190px!important;
  height:30px!important;
  box-sizing:border-box!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:6px!important;
  background:transparent!important;
  color:#667085!important;
  font-family:inherit!important;
  font-size:12px!important;
  font-weight:600!important;
  line-height:1!important;
  text-align:center!important;
  cursor:pointer!important;
  box-shadow:none!important;
}
.ctn-form-section .ctn-photo-actions .ctn-remove-photo:hover,
.ctn-form-section .ctn-photo-actions .ctn-remove-photo:focus{
  background:#f5f7fb!important;
  color:#2457d6!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  transform:none!important;
}

/* v7.14.31 — keep upload and remove controls fully separate from the photo preview.
   The old generic .ctn-photo-editor > div rule was also styling .ctn-photo-actions
   as a 90px circular block. Override only that accidental inheritance. */
.ctn-form-section .ctn-photo-editor > .ctn-photo-actions{
  width:auto!important;
  height:auto!important;
  min-width:0!important;
  min-height:0!important;
  max-width:none!important;
  max-height:none!important;
  flex:0 0 auto!important;
  border-radius:0!important;
  overflow:visible!important;
  background:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  border:0!important;
  padding:0!important;
  margin:0!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  gap:7px!important;
}

.ctn-form-section .ctn-photo-editor > .ctn-photo-actions > .ctn-upload,
.ctn-form-section .ctn-photo-editor > .ctn-photo-actions > .ctn-remove-photo{
  flex:0 0 auto!important;
}

.ctn-form-section .ctn-photo-editor > .ctn-photo-actions > .ctn-remove-photo{
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  padding:0 4px!important;
  background:transparent!important;
}

@media(max-width:620px){
  .ctn-form-section .ctn-photo-editor > .ctn-photo-actions{
    width:auto!important;
    align-items:flex-start!important;
    justify-content:center!important;
  }
}

/* v7.14.36 — root-cause fix for the profile-picture fallback rendering bug.
   Earlier patches (v7.14.27 / v7.14.29) added a higher-specificity rule —
   ".ctn-photo-preview > .ctn-profile-photo.ctn-avatar-placeholder{display:block!important}" —
   that unintentionally matches the letter-initial fallback div (it shares the
   .ctn-profile-photo class with the real uploaded/default image so the same
   selector catches both). That rule wins its specificity fight against the
   later ".ctn-photo-preview > .ctn-avatar-placeholder{display:flex!important}"
   rule, which was meant to center the letter. With display:block instead of
   flex, the single initial character lays out in the top-left corner of the
   square box, which the circular (border-radius:50%) mask then clips away —
   so the Basic Info photo box and the public View Profile photo appear
   completely blank instead of showing a letter or, once gender is known, the
   correct default image. It never affected the Talent Network cards because
   the card markup uses the .ctn-avatar class instead of .ctn-profile-photo.
   This block matches the same (or higher) selector specificity and is placed
   last in the file, so per the CSS cascade it reliably wins over every
   earlier rule without needing to touch/remove any of them. No other
   plugin behaviour, markup, or data is changed. */
.ctn-card-avatar > .ctn-avatar.ctn-avatar-placeholder,
.ctn-photo-preview > .ctn-profile-photo.ctn-avatar-placeholder,
.ctn-profile-photo-wrap > .ctn-profile-photo.ctn-avatar-placeholder{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  overflow:visible!important;
  width:100%!important;
  height:100%!important;
  margin:0!important;
  padding:0!important;
  border-radius:50%!important;
  background:linear-gradient(135deg,#eaf0ff,#f3eaff)!important;
  color:var(--ctn-blue)!important;
  font-size:27px!important;
  font-weight:800!important;
  line-height:1!important;
}
