:root{
  --ctc-navy:#090b09;--ctc-navy-2:#151915;--ctc-orange:#91eb5f;--ctc-bg:#f6f8fb;--ctc-text:#071b41;--ctc-muted:#6f7a90;--ctc-line:#dfe4ec;--ctc-card:#fff;--ctc-danger:#c93636;--ctc-shadow:0 10px 24px rgba(14,35,76,.07)
}
*{box-sizing:border-box}.ctc-app-body{margin:0;background:var(--ctc-bg);color:var(--ctc-text);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}.ctc-app-body a{text-decoration:none;color:inherit}.ctc-app-body button,.ctc-app-body input,.ctc-app-body textarea,.ctc-app-body select{font:inherit}.ctc-icon{display:inline-block;vertical-align:middle;flex:0 0 auto}.ctc-shell{min-height:100vh}.ctc-sidebar{position:fixed;z-index:40;left:0;top:0;bottom:0;width:244px;background:var(--ctc-navy);color:#e7edfa;display:flex;flex-direction:column;padding:16px 10px}.ctc-main{margin-left:244px;min-height:100vh}.ctc-brand{display:flex;gap:10px;align-items:center;padding:0 8px 18px}.ctc-brand-mark{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;color:#fff;font-weight:800;background:linear-gradient(145deg,#1a4b99,#91eb5f);box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)}.ctc-brand strong,.ctc-brand small{display:block}.ctc-brand strong{font-size:15px;color:#fff}.ctc-brand small{font-size:11px;color:#9fb1d5;margin-top:2px}.ctc-userbox{display:flex;gap:11px;align-items:center;padding:14px 12px;margin:0 0 10px;border-radius:18px;background:rgba(255,255,255,.07)}.ctc-userbox>div:last-child{min-width:0}.ctc-userbox strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#fff;font-size:14px;margin-bottom:5px}.ctc-avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#69404a;color:#ff8a46;flex:0 0 auto}.ctc-avatar.small{width:30px;height:30px;font-size:12px}.ctc-avatar.large{width:64px;height:64px;background:#f0f3f8;color:var(--ctc-text);font-size:17px}.ctc-level-pill{display:inline-flex;align-items:center;gap:7px;padding:4px 10px;border-radius:999px;border:1px solid rgba(139,155,185,.28);background:#f6f7fa;color:#4c5a73;font-size:12px;font-weight:500}.ctc-sidebar .ctc-level-pill{background:rgba(255,255,255,.05);color:#cdd7ea;border-color:rgba(255,255,255,.14)}.ctc-level-pill i{width:9px;height:9px;border-radius:50%;display:inline-block;border:1px solid rgba(0,0,0,.08)}.ctc-nav{display:flex;flex-direction:column;gap:3px}.ctc-nav a{display:flex;align-items:center;gap:12px;padding:11px 12px;border-radius:13px;color:#d5def0;font-size:14px;transition:.15s ease}.ctc-nav a:hover{background:rgba(255,255,255,.07)}.ctc-nav a.active{background:linear-gradient(90deg,rgba(255,105,0,.17),rgba(255,255,255,.10));color:#fff}.ctc-nav a.active .ctc-icon{color:var(--ctc-orange)}.ctc-nav-sep{height:1px;background:rgba(255,255,255,.12);margin:9px 0}.ctc-sidebar-bottom{margin-top:auto;border-top:1px solid rgba(255,255,255,.11);padding-top:10px}.ctc-sidebar-bottom a{display:flex;align-items:center;gap:12px;padding:11px;color:#d5def0}.ctc-topbar{height:60px;position:sticky;z-index:30;top:0;background:rgba(255,255,255,.93);backdrop-filter:blur(10px);border-bottom:1px solid #e4e8ef;display:flex;align-items:center;padding:0 clamp(18px,7vw,142px);gap:16px}.ctc-search-wrap{position:relative;display:flex;align-items:center;width:min(360px,42vw);height:40px;border:1px solid #d9dee7;background:#fff;border-radius:22px;padding:0 14px;gap:9px}.ctc-search-wrap input{border:0;outline:0;width:100%;background:transparent;color:var(--ctc-text)}.ctc-search-wrap input::placeholder{color:#8793a8}.ctc-search-results{display:none;position:absolute;top:46px;left:0;right:0;background:#fff;border:1px solid var(--ctc-line);border-radius:14px;box-shadow:var(--ctc-shadow);overflow:hidden}.ctc-search-results.show{display:block}.ctc-search-results a{display:block;padding:11px 13px;border-bottom:1px solid #eef1f5}.ctc-search-results a:last-child{border-bottom:0}.ctc-search-results strong,.ctc-search-results small{display:block}.ctc-search-results small{color:var(--ctc-muted);margin-top:2px}.ctc-top-actions{margin-left:auto;display:flex;align-items:center;gap:10px}.ctc-top-bell{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;border:1px solid var(--ctc-line);background:#fff}.ctc-mobile-menu{display:none;border:0;background:transparent;color:var(--ctc-text)}.ctc-admin-preview{padding:7px 20px;background:#edf1f5;color:#68758c;font-size:12px}.ctc-content{padding:24px clamp(20px,7vw,142px) 70px}.ctc-page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:20px}.ctc-page-head h1{font-size:30px;line-height:1.1;margin:0 0 7px;letter-spacing:-.02em}.ctc-page-head p{margin:0;color:var(--ctc-muted)}.ctc-student-greeting{align-items:center;margin-top:22px}.ctc-btn{border:0;border-radius:10px;padding:10px 15px;display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;font-weight:650;font-size:14px;transition:.15s ease}.ctc-btn:hover{transform:translateY(-1px)}.ctc-btn-primary{background:var(--ctc-navy);color:#fff}.ctc-btn-orange{background:var(--ctc-orange);color:#fff}.ctc-btn-light{background:#fff;color:var(--ctc-text);border:1px solid #dce2eb;box-shadow:0 2px 5px rgba(18,38,75,.05)}.ctc-btn-danger{background:#fff;color:var(--ctc-danger);border:1px solid #f0c4c4}.ctc-btn-outline-light{color:#fff;border:1px solid rgba(255,255,255,.35);background:rgba(255,255,255,.05)}.ctc-btn-full{width:100%;margin-top:13px}.ctc-btn-sm{padding:8px 12px;font-size:12px}.ctc-btn[disabled]{opacity:.45;cursor:not-allowed;transform:none}.ctc-card,.ctc-table-card,.ctc-structure-section,.ctc-module-card,.ctc-student-section,.ctc-account-header{background:var(--ctc-card);border:1px solid var(--ctc-line);border-radius:16px;box-shadow:var(--ctc-shadow)}.ctc-card{padding:22px}.ctc-card h2,.ctc-card h3{margin-top:0}.ctc-muted{color:var(--ctc-muted)}.ctc-toast{padding:11px 14px;background:#e8f7ee;border:1px solid #bee4c8;color:#276640;border-radius:12px;margin-bottom:18px}.ctc-toast.error{background:#fff0f0;border-color:#efc3c3;color:#a33}.ctc-stat-grid{display:grid;gap:16px;margin-bottom:24px}.ctc-stat-grid-4{grid-template-columns:repeat(4,1fr)}.ctc-stat-grid-3{grid-template-columns:repeat(3,1fr)}.ctc-stat{background:#fff;border:1px solid var(--ctc-line);border-radius:17px;padding:19px 20px;box-shadow:var(--ctc-shadow)}.ctc-stat span{display:block;color:var(--ctc-muted);font-size:13px;margin-bottom:8px}.ctc-stat strong{font-size:30px;letter-spacing:-.03em}.ctc-two-col{display:grid;grid-template-columns:1fr 1fr;gap:18px}.ctc-level-row{margin:17px 0}.ctc-level-row>div:first-child{display:flex;align-items:center;gap:8px;font-size:14px}.ctc-level-row i{width:10px;height:10px;border-radius:50%}.ctc-level-row span{margin-left:auto;color:var(--ctc-muted)}.ctc-progress{height:7px;border-radius:99px;background:#e8ecf2;overflow:hidden;margin-top:8px}.ctc-progress b{display:block;height:100%;background:var(--ctc-navy);border-radius:99px}.ctc-progress-light{background:rgba(255,255,255,.87)}.ctc-progress-light b{background:var(--ctc-orange)}.ctc-action-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid #eef1f5}.ctc-action-row:last-child{border-bottom:0}.ctc-action-row a{padding:7px 11px;border:1px solid #dce2eb;border-radius:9px;font-size:12px}.ctc-collapse-panel{display:none;margin-bottom:20px}.ctc-collapse-panel.open{display:block}.ctc-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.ctc-form-grid.compact{gap:12px}.ctc-form-grid label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600}.ctc-form-grid input,.ctc-form-grid textarea,.ctc-form-grid select{width:100%;border:1px solid #d8dee8;border-radius:10px;padding:11px 12px;background:#fff;color:var(--ctc-text);outline:none}.ctc-form-grid input:focus,.ctc-form-grid textarea:focus,.ctc-form-grid select:focus{border-color:#97a9ca;box-shadow:0 0 0 3px rgba(15,48,104,.06)}.ctc-form-grid small{font-weight:400;color:var(--ctc-muted)}.ctc-form-grid .span-2{grid-column:1/-1}.ctc-form-grid .ctc-check{flex-direction:row;align-items:center;align-self:end;min-height:42px}.ctc-form-grid .ctc-check input{width:auto}.ctc-form-actions{display:flex;align-items:center;gap:10px}.ctc-course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.ctc-course-card,.ctc-student-course-card{overflow:hidden;border-radius:16px;background:#fff;border:1px solid var(--ctc-line);box-shadow:var(--ctc-shadow)}.ctc-course-cover,.ctc-student-course-image{height:205px;background:#d8dde6 center/cover no-repeat;position:relative}.ctc-course-cover span{position:absolute;left:14px;bottom:14px;background:var(--ctc-navy);color:#fff;font-size:11px;padding:5px 9px;border-radius:999px}.ctc-course-card-body,.ctc-student-course-body{padding:17px}.ctc-course-card h3,.ctc-student-course-card h3{font-size:17px;margin:0 0 8px}.ctc-course-card p,.ctc-student-course-card p{margin:0 0 8px;color:var(--ctc-muted);line-height:1.45;font-size:13px}.ctc-course-card small,.ctc-student-course-card small{display:flex;align-items:center;gap:5px;color:var(--ctc-muted)}.ctc-back{display:inline-block;margin-bottom:15px;color:#52617a;font-size:13px}.ctc-status-badge{background:var(--ctc-navy);color:#fff;padding:5px 10px;border-radius:999px;font-size:12px}.ctc-tabs{display:inline-flex;border:1px solid var(--ctc-line);border-radius:12px;padding:4px;background:#fff;margin-bottom:20px}.ctc-tabs a{padding:8px 12px;border-radius:9px;font-size:13px}.ctc-tabs a.active{background:var(--ctc-navy);color:#fff}.ctc-danger-form{margin-top:20px;padding-top:17px;border-top:1px solid #eee}.ctc-structure{max-width:960px}.ctc-structure-section{margin-bottom:18px;overflow:hidden}.ctc-accordion-title,.ctc-module-head,.ctc-lesson-edit-head{display:flex;align-items:center;justify-content:space-between;gap:20px;cursor:pointer}.ctc-accordion-title{padding:20px}.ctc-accordion-title h2{margin:0;font-size:18px}.ctc-accordion-title small,.ctc-module-head small,.ctc-lesson-edit-head small{display:block;color:var(--ctc-muted);margin-top:3px}.ctc-accordion-content{display:none;padding:0 20px 20px}.ctc-accordion-content.open{display:block}.ctc-inline-delete{margin-top:5px}.ctc-link-danger{border:0;background:transparent;color:var(--ctc-danger);font-size:12px;cursor:pointer;padding:6px 0}.ctc-modules-wrap{margin-top:18px;padding-top:16px;border-top:1px solid #e8ecf2}.ctc-module-card{box-shadow:none;margin-bottom:12px}.ctc-module-head{padding:14px 16px}.ctc-module-body{display:none;padding:0 16px 16px}.ctc-module-body.open{display:block}.ctc-lessons-list{margin:14px 0}.ctc-lesson-edit{border:1px solid #e1e6ed;border-radius:12px;margin-bottom:8px;background:#fafbfd}.ctc-lesson-edit-head{padding:12px 14px}.ctc-lesson-edit-head>span{font-size:12px;color:#42526d}.ctc-lesson-edit-body{display:none;padding:0 14px 14px}.ctc-lesson-edit-body.open{display:block}.ctc-add-box{border:1px dashed #cdd5e1;border-radius:12px;padding:0;background:#fff}.ctc-add-box summary{cursor:pointer;padding:12px 14px;color:#314465;font-weight:650}.ctc-add-box>form{padding:0 14px 14px}.ctc-material-editor{padding:12px;border:1px solid #e4e8ee;border-radius:12px;background:#fafbfc}.ctc-material-row{display:grid;grid-template-columns:1fr 140px 1.6fr 36px;gap:7px;margin:9px 0}.ctc-material-row button{border:0;border-radius:9px;background:#fff;border:1px solid #dfe4ec;cursor:pointer}.ctc-table-card{overflow:auto}.ctc-table{width:100%;border-collapse:collapse;min-width:720px}.ctc-table th,.ctc-table td{padding:14px;border-bottom:1px solid #e7ebf1;text-align:left;font-size:13px;vertical-align:middle}.ctc-table th{font-size:11px;color:#657289;text-transform:uppercase;letter-spacing:.03em}.ctc-table td small{display:block;color:var(--ctc-muted);margin-top:3px}.ctc-access-row{display:grid;grid-template-columns:1.5fr 1fr;gap:14px;align-items:end;padding:12px;border:1px solid #e5e9ef;border-radius:12px}.ctc-empty{grid-column:1/-1;padding:40px;text-align:center;border:1px dashed #ccd5e2;border-radius:16px;color:var(--ctc-muted);background:#fff}.ctc-empty-big{min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}.ctc-empty-big strong{color:var(--ctc-text);font-size:16px}.ctc-empty-big span{max-width:420px}.ctc-home-banner{display:block;width:100%;height:310px;border-radius:22px;background:#243b63 center/cover no-repeat;box-shadow:var(--ctc-shadow)}.ctc-home-banner-default{display:flex;align-items:flex-end;padding:28px;background:linear-gradient(135deg,#0d285b,#1d477d 55%,#91eb5f)}.ctc-home-banner-default div{color:#fff}.ctc-home-banner-default span,.ctc-home-banner-default strong{display:block}.ctc-home-banner-default span{font-size:12px;letter-spacing:.15em}.ctc-home-banner-default strong{font-size:34px;margin-top:8px}.ctc-notice{display:flex;align-items:center;gap:13px;border:1px solid #ffc59f;background:#fff5ee;border-radius:17px;padding:15px 17px;margin-bottom:25px}.ctc-notice-icon{color:var(--ctc-orange);font-size:22px}.ctc-notice span:nth-child(2){display:flex;flex-direction:column}.ctc-notice small{color:var(--ctc-muted);margin-top:2px}.ctc-notice b{margin-left:auto;background:var(--ctc-navy);color:#fff;border-radius:10px;padding:9px 13px;font-size:12px}.ctc-continue-card{display:grid;grid-template-columns:1.25fr 1fr;gap:22px;background:var(--ctc-navy);border-radius:23px;padding:30px;color:#fff;margin:8px 0 28px;box-shadow:var(--ctc-shadow)}.ctc-continue-copy{align-self:center}.ctc-continue-copy>small{color:var(--ctc-orange);font-weight:800;letter-spacing:.06em}.ctc-continue-copy h2{font-size:31px;margin:8px 0}.ctc-continue-copy p{margin:0 0 16px;color:#cbd6ea}.ctc-continue-copy>span{display:block;font-size:12px;color:#d2dbee;margin:8px 0 18px}.ctc-continue-copy>div:last-child{display:flex;gap:10px}.ctc-continue-image{min-height:245px;border-radius:17px;background:#dce1e8 center/cover no-repeat}.ctc-section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:25px 0 14px}.ctc-section-head h2{margin:0 0 4px;font-size:19px}.ctc-section-head p{margin:0;color:var(--ctc-muted);font-size:13px}.ctc-section-head>a{font-size:13px}.ctc-student-grid .ctc-student-course-image{height:200px;filter:saturate(.92)}.ctc-offer-badge{position:absolute;left:14px;bottom:14px;background:var(--ctc-orange);color:#fff;padding:6px 10px;border-radius:999px;font-size:11px;font-weight:700}.ctc-student-course-card.locked .ctc-student-course-image:after{content:"";position:absolute;inset:0;background:rgba(9,31,70,.42)}.ctc-student-course-card.locked .ctc-offer-badge{z-index:2}.ctc-course-hero{min-height:280px;border-radius:22px;background:linear-gradient(135deg,#0a2355,#204d85) center/cover no-repeat;position:relative;overflow:hidden;padding:30px;color:#fff;display:flex;align-items:flex-end}.ctc-course-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(6,23,57,.92),rgba(6,23,57,.30))}.ctc-course-hero>div{position:relative;max-width:620px}.ctc-course-hero h1{font-size:35px;margin:6px 0 8px}.ctc-course-hero p{color:#e0e7f4}.ctc-course-tree{max-width:1000px;margin-top:20px}.ctc-student-section{padding:20px;margin-bottom:16px}.ctc-student-section.locked{opacity:.62;background:#f7f8fa}.ctc-student-section-head{display:flex;align-items:start;justify-content:space-between;gap:20px}.ctc-student-section-head h2{margin:9px 0 3px}.ctc-student-section-head p{margin:0;color:var(--ctc-muted)}.ctc-student-module{margin-top:18px;padding-top:14px;border-top:1px solid #ebeff4}.ctc-student-module h3{font-size:15px}.ctc-student-lessons{display:grid;gap:7px}.ctc-student-lesson{display:flex;align-items:center;gap:12px;border:1px solid #e1e6ed;border-radius:11px;padding:10px 12px;background:#fff}.ctc-student-lesson>span{width:28px;height:28px;border-radius:50%;background:#eef2f7;display:grid;place-items:center}.ctc-student-lesson strong,.ctc-student-lesson small{display:block}.ctc-student-lesson small{color:var(--ctc-muted);margin-top:2px}.ctc-student-lesson.done>span{background:#e5f5eb;color:#2f8850}.ctc-student-lesson.disabled{opacity:.55;cursor:not-allowed}.ctc-lesson-mode .ctc-main{margin-left:0}.ctc-lesson-mode .ctc-topbar{padding-left:max(20px,calc((100vw - 1080px)/2));padding-right:max(20px,calc((100vw - 1080px)/2))}.ctc-lesson-content{padding-left:max(20px,calc((100vw - 1080px)/2));padding-right:max(20px,calc((100vw - 1080px)/2));padding-top:14px}.ctc-lesson-wrap{max-width:940px;margin:0 auto}.ctc-player{width:100%;aspect-ratio:16/9;border-radius:17px;overflow:hidden;background:#111;box-shadow:var(--ctc-shadow)}.ctc-player iframe,.ctc-player #ctcVideoPlayer{width:100%;height:100%;border:0}.ctc-player-empty,.ctc-player-locked{min-height:430px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:#f0f2f6;color:#6d788d}.ctc-player-locked{border-radius:17px}.ctc-player-locked h2{margin:8px 0 0;color:var(--ctc-text)}.ctc-lesson-meta-row{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-top:17px}.ctc-lesson-meta-row small{color:var(--ctc-muted)}.ctc-lesson-meta-row h1{font-size:27px;margin:5px 0 0}.ctc-lesson-actions{display:flex;align-items:center;gap:8px}.ctc-heart{width:40px;height:40px;border-radius:11px;background:#fff;border:1px solid var(--ctc-line);color:var(--ctc-orange);display:grid;place-items:center;cursor:pointer}.ctc-lesson-description{color:#64718a;line-height:1.6;margin:14px 0}.ctc-lesson-nav{display:flex;gap:10px;margin:17px 0 28px}.ctc-assessment-box{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px;border-radius:15px;background:#eef5ff;border:1px solid #cdddf7;margin:0 0 24px}.ctc-assessment-box strong,.ctc-assessment-box span{display:block}.ctc-assessment-box span{font-size:12px;color:#5f6e86;margin-top:4px}.ctc-assessment-box>b{white-space:nowrap;color:#12376e}.ctc-materials-box{background:#fff8f3;border:1px solid #ffd0b2;border-radius:18px;padding:18px;margin-bottom:26px}.ctc-materials-box h2{font-size:18px;margin:0 0 14px}.ctc-materials-box a{display:flex;align-items:center;justify-content:space-between;border:1px solid #ffd8bf;background:#fff;border-radius:12px;padding:11px 13px;margin-top:8px;color:#23314a}.ctc-materials-box a .ctc-icon{color:var(--ctc-orange)}.ctc-note-box{background:#fff;border:1px solid var(--ctc-line);border-radius:16px;box-shadow:var(--ctc-shadow);margin-bottom:26px}.ctc-note-box>button{width:100%;display:flex;justify-content:space-between;border:0;background:transparent;padding:18px 20px;cursor:pointer}.ctc-note-area{display:none;padding:0 20px 18px}.ctc-note-area.open{display:block}.ctc-note-area textarea{width:100%;min-height:120px;border:1px solid var(--ctc-line);border-radius:12px;padding:12px}.ctc-note-area>div{display:flex;align-items:center;gap:12px;margin-top:9px}.ctc-note-area [data-note-status]{font-size:12px;color:#53805e}.ctc-comments h2{margin-bottom:4px}.ctc-comments>p{margin-top:0;color:var(--ctc-muted)}.ctc-comment-form{background:#fff;border:1px solid var(--ctc-line);border-radius:16px;padding:16px;display:flex;flex-direction:column;align-items:flex-end;box-shadow:var(--ctc-shadow)}.ctc-comment-form textarea{width:100%;min-height:90px;border:1px solid #dce2ea;border-radius:11px;padding:12px;margin-bottom:10px}.ctc-comment-list article{display:flex;gap:10px;padding:14px 0;border-bottom:1px solid #e8ecf1}.ctc-comment-list article strong,.ctc-comment-list article small{display:block}.ctc-comment-list article small{color:var(--ctc-muted);font-size:11px}.ctc-comment-list article p{margin:6px 0 0}.ctc-level-trail{margin-top:20px}.ctc-level-trail>div{display:flex;align-items:center;gap:12px;position:relative;padding:0 0 19px}.ctc-level-trail>div:before{content:"";position:absolute;left:6px;top:13px;bottom:0;width:1px;background:#dce2ea}.ctc-level-trail>div:last-child:before{display:none}.ctc-level-trail i{width:13px;height:13px;border-radius:50%;z-index:1}.ctc-level-trail span strong,.ctc-level-trail span small{display:block}.ctc-level-trail span small{color:var(--ctc-muted);font-size:11px;margin-top:2px}.ctc-level-trail b{margin-left:auto;background:#fff0e7;color:var(--ctc-orange);font-size:11px;padding:6px 9px;border-radius:999px}.ctc-level-trail .future{opacity:.48}.ctc-course-progress-row{display:grid;grid-template-columns:220px 1fr 50px;gap:15px;align-items:center;background:#fff;border:1px solid var(--ctc-line);border-radius:13px;padding:14px;margin-bottom:10px}.ctc-course-progress-row .ctc-progress{margin:0}.ctc-mobile-callout{display:flex;align-items:center;gap:14px;background:var(--ctc-navy);color:#fff;padding:20px;border-radius:17px;margin-bottom:22px}.ctc-mobile-callout>span{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:var(--ctc-orange)}.ctc-mobile-callout strong,.ctc-mobile-callout small{display:block}.ctc-mobile-callout small{color:#cbd6eb;margin-top:3px}.ctc-mobile-callout button{margin-left:auto}.ctc-steps{list-style:none;padding:0;margin:0}.ctc-steps li{display:flex;align-items:center;gap:12px;padding:9px 0}.ctc-steps b{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#f0f3f7}.ctc-notification-enabled{display:flex;align-items:center;gap:12px;border:1px solid #ffc6a2;background:#fff5ee;border-radius:16px;padding:15px;margin-bottom:20px}.ctc-notification-enabled>span{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#ffe2d0;color:var(--ctc-orange)}.ctc-notification-enabled strong,.ctc-notification-enabled small{display:block}.ctc-notification-enabled small{color:var(--ctc-muted);margin-top:2px}.ctc-account-header{display:flex;align-items:center;gap:16px;padding:20px;max-width:770px;margin:0 auto 22px}.ctc-account-header h2,.ctc-account-header p{margin:0}.ctc-account-header p{color:#4c5a73;margin-top:3px}.ctc-account-header small{display:block;color:var(--ctc-muted);margin-top:3px}.ctc-account-header>.ctc-level-pill{margin-left:auto}.ctc-account-header+.ctc-card{max-width:770px;margin:0 auto}
@media(max-width:1100px){.ctc-stat-grid-4{grid-template-columns:repeat(2,1fr)}.ctc-course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ctc-content,.ctc-topbar{padding-left:32px;padding-right:32px}}
@media(max-width:800px){.ctc-sidebar{transform:translateX(-100%);transition:.2s ease}.ctc-sidebar.open{transform:translateX(0)}.ctc-main{margin-left:0}.ctc-mobile-menu{display:block}.ctc-content,.ctc-topbar{padding-left:16px;padding-right:16px}.ctc-search-wrap{width:min(100%,320px)}.ctc-top-actions .ctc-btn-light{font-size:0;padding:9px}.ctc-top-actions .ctc-btn-light .ctc-icon{margin:0}.ctc-stat-grid-3,.ctc-stat-grid-4,.ctc-two-col{grid-template-columns:1fr 1fr}.ctc-continue-card{grid-template-columns:1fr}.ctc-continue-image{min-height:190px}.ctc-course-grid{grid-template-columns:1fr 1fr}.ctc-home-banner{height:235px}.ctc-form-grid{grid-template-columns:1fr}.ctc-form-grid .span-2{grid-column:auto}.ctc-material-row{grid-template-columns:1fr}.ctc-access-row{grid-template-columns:1fr}.ctc-lesson-meta-row{align-items:flex-start;flex-direction:column}.ctc-lesson-actions{width:100%;justify-content:flex-end}.ctc-player-empty,.ctc-player-locked{min-height:300px}.ctc-course-progress-row{grid-template-columns:1fr 60px}.ctc-course-progress-row>.ctc-progress{grid-row:2;grid-column:1/-1}.ctc-account-header{margin-left:0;margin-right:0}}
@media(max-width:560px){.ctc-topbar{height:56px}.ctc-search-wrap{height:38px;flex:1}.ctc-top-actions{gap:6px}.ctc-top-actions .ctc-btn-orange{font-size:11px;padding:8px 9px}.ctc-top-bell{display:none}.ctc-content{padding-top:18px}.ctc-page-head h1{font-size:25px}.ctc-stat-grid-3,.ctc-stat-grid-4,.ctc-two-col,.ctc-course-grid{grid-template-columns:1fr}.ctc-stat strong{font-size:25px}.ctc-home-banner{height:185px;border-radius:16px}.ctc-home-banner-default strong{font-size:25px}.ctc-notice{align-items:flex-start}.ctc-notice b{display:none}.ctc-continue-card{padding:20px}.ctc-continue-copy h2{font-size:25px}.ctc-continue-copy>div:last-child{flex-direction:column}.ctc-course-cover,.ctc-student-grid .ctc-student-course-image{height:180px}.ctc-course-hero{padding:20px;min-height:230px}.ctc-course-hero h1{font-size:27px}.ctc-lesson-actions{justify-content:stretch}.ctc-lesson-actions .ctc-btn{flex:1}.ctc-lesson-nav{flex-direction:column}.ctc-lesson-nav .ctc-btn{width:100%}.ctc-assessment-box{flex-direction:column;align-items:flex-start}.ctc-materials-box{padding:14px}.ctc-mobile-callout{align-items:flex-start;flex-wrap:wrap}.ctc-mobile-callout button{margin-left:56px}.ctc-account-header{align-items:flex-start;flex-wrap:wrap}.ctc-account-header>.ctc-level-pill{margin-left:80px}.ctc-table th,.ctc-table td{padding:11px}.ctc-course-progress-row{grid-template-columns:1fr 45px}.ctc-lesson-mode .ctc-topbar,.ctc-lesson-content{padding-left:12px;padding-right:12px}}

/* ===== CTC Plataforma 0.2 — responsive shell, login and production UI ===== */
.ctc-brand-mark.has-logo{background:transparent;box-shadow:none;border-radius:9px;overflow:hidden}.ctc-brand-mark.has-logo img{display:block;width:100%;height:100%;object-fit:contain}.ctc-brand-copy{min-width:0}.ctc-sidebar-collapse{position:absolute;right:-11px;top:72px;width:23px;height:23px;border:1px solid #dce2eb;border-radius:50%;background:#fff;color:#66758e;display:grid;place-items:center;box-shadow:0 2px 8px rgba(8,27,65,.14);cursor:pointer;z-index:3;font-size:17px;line-height:1}.ctc-desktop-menu{display:inline-grid;place-items:center;width:36px;height:36px;border:0;background:transparent;color:var(--ctc-text);cursor:pointer;border-radius:9px}.ctc-desktop-menu:hover{background:#f0f3f7}.ctc-sidebar-backdrop{display:none}
.ctc-shell.sidebar-collapsed .ctc-sidebar{width:76px;padding-left:10px;padding-right:10px}.ctc-shell.sidebar-collapsed .ctc-main{margin-left:76px}.ctc-shell.sidebar-collapsed .ctc-brand{justify-content:center;padding-left:0;padding-right:0}.ctc-shell.sidebar-collapsed .ctc-brand-copy,.ctc-shell.sidebar-collapsed .ctc-userbox>div:last-child,.ctc-shell.sidebar-collapsed .ctc-nav a>span,.ctc-shell.sidebar-collapsed .ctc-nav-count,.ctc-shell.sidebar-collapsed .ctc-sidebar-bottom a>span{display:none}.ctc-shell.sidebar-collapsed .ctc-userbox{justify-content:center;padding:10px 0}.ctc-shell.sidebar-collapsed .ctc-nav a,.ctc-shell.sidebar-collapsed .ctc-sidebar-bottom a{justify-content:center;padding-left:0;padding-right:0;gap:0}.ctc-shell.sidebar-collapsed .ctc-sidebar-collapse{transform:rotate(180deg)}
.ctc-top-bell{position:relative;color:var(--ctc-text)}.ctc-top-bell b{position:absolute;right:-4px;top:-5px;min-width:17px;height:17px;padding:0 4px;display:grid;place-items:center;border-radius:999px;background:var(--ctc-orange);color:#fff;font-size:10px;border:2px solid #fff}.ctc-nav-count{margin-left:auto;min-width:19px;height:19px;padding:0 5px;border-radius:999px;background:var(--ctc-orange);color:#fff;display:grid;place-items:center;font-size:10px}.ctc-search-empty{padding:12px;color:var(--ctc-muted);font-size:13px}
.ctc-media-field{display:flex;gap:8px;align-items:center}.ctc-media-field input{flex:1}.ctc-stack{display:grid;gap:12px}.ctc-mt{margin-top:16px}.ctc-mt-lg{margin-top:34px}.ctc-inline-form,.ctc-inline-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.ctc-inline-form input,.ctc-inline-form select{border:1px solid var(--ctc-line);border-radius:9px;padding:8px 10px}.ctc-link-danger{border:0;background:transparent;color:var(--ctc-danger);cursor:pointer;padding:8px 0}.ctc-code-copy{padding:12px 14px;background:#f2f5f9;border:1px solid var(--ctc-line);border-radius:11px;overflow:auto}.ctc-code-copy code{white-space:nowrap}.ctc-integration-callout{display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:#eef4ff;border:1px solid #cfdcf3;border-radius:14px;padding:14px 16px;margin-bottom:18px}.ctc-integration-callout code{background:#fff;border:1px solid #d7e0ef;padding:7px 9px;border-radius:8px;overflow-wrap:anywhere}.ctc-integration-callout span{color:var(--ctc-muted);font-size:12px}.ctc-banner-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.ctc-banner-thumb{height:155px;background:#eef1f5 center/cover no-repeat;border-radius:12px;margin-bottom:15px}.ctc-comment-admin.reply{margin-left:34px;border-left:3px solid #cdd7e8}.ctc-assessment-row,.ctc-certificate-row{display:flex;align-items:center;justify-content:space-between;gap:18px}.ctc-assessment-row small,.ctc-certificate-row small{display:block;color:var(--ctc-muted);margin-top:4px}.ctc-certificate-row>span{display:flex;gap:10px;align-items:center}.ctc-status-dot{padding:6px 10px;border-radius:999px;font-size:11px;font-weight:700;background:#eef1f5;color:#59677d}.ctc-status-dot.approved{background:#e7f6ec;color:#2e7648}.ctc-status-dot.rejected{background:#fff0f0;color:#a63b3b}.ctc-status-dot.pending{background:#fff5e9;color:#a35a11}
.ctc-material-row{display:grid;grid-template-columns:1.3fr .7fr 1.5fr 34px;gap:8px;align-items:center;margin-bottom:8px}.ctc-material-row input,.ctc-material-row select{width:100%;border:1px solid #d8dee8;border-radius:9px;padding:9px}.ctc-material-row button{width:34px;height:34px;border:0;border-radius:8px;background:#fff0f0;color:#b33;cursor:pointer}

/* Student home banners */
.ctc-banner-carousel{position:relative;width:100%;border-radius:22px;overflow:hidden;box-shadow:var(--ctc-shadow);background:#dfe4ec;aspect-ratio:4.15/1;margin-bottom:24px}.ctc-banner-track,.ctc-banner-slide,.ctc-banner-slide picture,.ctc-banner-slide img{width:100%;height:100%}.ctc-banner-slide{position:absolute;inset:0;display:block;opacity:0;pointer-events:none;transition:opacity .35s ease}.ctc-banner-slide.active{opacity:1;pointer-events:auto}.ctc-banner-slide img{display:block;object-fit:cover}.ctc-banner-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:36px;height:36px;border:0;border-radius:50%;background:rgba(10,34,84,.88);color:#fff;font-size:26px;display:grid;place-items:center;cursor:pointer}.ctc-banner-arrow.prev{left:12px}.ctc-banner-arrow.next{right:12px}.ctc-banner-dots{position:absolute;z-index:2;bottom:10px;left:50%;transform:translateX(-50%);display:flex;gap:6px}.ctc-banner-dots button{width:6px;height:6px;padding:0;border:0;border-radius:999px;background:rgba(255,255,255,.65);cursor:pointer;transition:.2s}.ctc-banner-dots button.active{width:23px;background:var(--ctc-orange)}

/* Course/student content */
.ctc-course-tree-student{max-width:1060px;margin-top:20px}.ctc-student-section-head h2{margin:0 0 4px}.ctc-section-lock{display:flex;align-items:center;gap:8px;margin-top:15px;padding:11px 13px;background:#f0f2f5;border-radius:10px;color:#64718a;font-size:13px}.ctc-student-module{border-top:1px solid #ebeff4;padding-top:2px;margin-top:14px}.ctc-student-module summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 4px;cursor:pointer}.ctc-student-module summary::-webkit-details-marker{display:none}.ctc-student-module summary strong,.ctc-student-module summary small{display:block}.ctc-student-module summary small{margin-top:3px;color:var(--ctc-muted);font-size:11px}.ctc-student-lesson-list{display:grid;gap:7px;padding:0 0 8px}.ctc-student-lesson-list>a,.ctc-locked-lesson{display:grid;grid-template-columns:32px 1fr 20px;gap:10px;align-items:center;border:1px solid #e2e7ee;border-radius:11px;background:#fff;padding:10px 12px}.ctc-student-lesson-list>a:hover{border-color:#bfcbe0;box-shadow:0 3px 10px rgba(10,35,82,.05)}.ctc-student-lesson-list>a>span:nth-child(2) strong,.ctc-student-lesson-list>a>span:nth-child(2) small,.ctc-locked-lesson>span:nth-child(2) strong,.ctc-locked-lesson>span:nth-child(2) small{display:block}.ctc-student-lesson-list small,.ctc-locked-lesson small{color:var(--ctc-muted);font-size:11px;margin-top:2px}.ctc-lesson-state{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#eef2f7}.ctc-student-lesson-list>a.completed .ctc-lesson-state{background:#e6f5eb;color:#2d7c4b}.ctc-locked-lesson{opacity:.6;background:#f5f6f8;grid-template-columns:32px 1fr}.ctc-course-hero>div>span{font-size:11px;color:#ff9a57;font-weight:800;letter-spacing:.1em}

/* Lesson page and course drawer */
.ctc-lesson-content{padding-top:18px}.ctc-lesson-layout{position:relative;max-width:1080px;margin:0 auto}.ctc-lesson-main{max-width:930px;margin:0 auto}.ctc-lesson-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.ctc-lesson-title-row .ctc-back{margin:0}.ctc-player{position:relative}.ctc-player>div#ctcVideoPlayer{position:absolute;inset:0}.ctc-player-locked>div{display:flex;flex-direction:column;align-items:center;text-align:center;padding:30px}.ctc-complete-btn.completed{background:#2c8750}.ctc-watch-requirement{margin:10px 0 0;padding:9px 12px;border-radius:9px;background:#fff7ef;border:1px solid #ffd6b9;color:#73533d;font-size:12px}.ctc-watch-requirement strong{color:var(--ctc-orange)}.ctc-lesson-nav{justify-content:space-between}.ctc-lesson-nav>span{display:flex}.ctc-assessment-box>div:first-child{display:flex;align-items:flex-start;gap:12px}.ctc-assessment-box h2{font-size:17px;margin:0 0 4px}.ctc-assessment-box p{margin:0;color:#5d6c84;line-height:1.45}.ctc-assessment-icon{width:42px;height:42px;border-radius:50%;display:grid!important;place-items:center;background:#fff;color:#173d78;flex:0 0 auto}.ctc-materials-box a>span{display:flex;align-items:center;gap:8px}.ctc-materials-box a>span small{color:var(--ctc-muted);font-size:10px;margin-left:4px}.ctc-note-box details summary{list-style:none;padding:18px 20px;font-size:17px;font-weight:700;display:flex;justify-content:space-between;cursor:pointer}.ctc-note-box details summary::-webkit-details-marker{display:none}.ctc-note-box details>div{padding:0 20px 18px}.ctc-note-box textarea,.ctc-comment-compose textarea{width:100%;border:1px solid #dbe1e9;border-radius:11px;padding:12px;resize:vertical;outline:none}.ctc-note-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px;margin-top:9px}.ctc-note-actions [data-note-status]{margin-right:auto;font-size:12px;color:#4e765c}.ctc-comments-box{margin-top:27px}.ctc-comments-box>h2{margin-bottom:4px}.ctc-comments-box>p{margin-top:0;color:var(--ctc-muted)}.ctc-comment-compose{background:#fff;border:1px solid var(--ctc-line);border-radius:16px;padding:16px;display:flex;flex-direction:column;align-items:flex-end;gap:10px;box-shadow:var(--ctc-shadow)}.ctc-comments-list{margin-top:14px}.ctc-comments-list article{display:flex;gap:10px;padding:13px 3px;border-bottom:1px solid #e8ecf1}.ctc-comments-list article.reply{margin-left:42px}.ctc-comments-list header{display:flex;gap:9px;align-items:baseline}.ctc-comments-list header small{color:var(--ctc-muted);font-size:10px}.ctc-comments-list p{margin:5px 0 0;color:#40506a}.ctc-course-drawer{position:fixed;right:0;top:0;bottom:0;width:min(390px,92vw);background:#fff;z-index:81;box-shadow:-16px 0 40px rgba(8,27,64,.14);transform:translateX(105%);transition:.25s ease;display:flex;flex-direction:column}.ctc-course-drawer.open{transform:translateX(0)}.ctc-course-drawer-head{display:flex;align-items:center;justify-content:space-between;padding:18px;border-bottom:1px solid var(--ctc-line)}.ctc-course-drawer-head small,.ctc-course-drawer-head strong{display:block}.ctc-course-drawer-head small{color:var(--ctc-orange);font-weight:800;font-size:10px;letter-spacing:.08em}.ctc-course-drawer-head button{border:0;background:#eef1f5;width:34px;height:34px;border-radius:50%;cursor:pointer}.ctc-course-drawer-body{overflow:auto;padding:15px}.ctc-course-drawer-body section{padding-bottom:15px;margin-bottom:12px;border-bottom:1px solid #edf0f4}.ctc-course-drawer-body h3{font-size:15px;margin:0 0 10px}.ctc-course-drawer-body h4{font-size:12px;color:#596983;margin:13px 0 6px}.ctc-course-drawer-body a,.ctc-drawer-locked{display:flex;align-items:center;gap:8px;padding:8px 9px;border-radius:8px;font-size:12px}.ctc-course-drawer-body a:hover,.ctc-course-drawer-body a.current{background:#eff3fa}.ctc-course-drawer-body a.current{color:#0e326b;font-weight:700}.ctc-course-drawer-body a.done>span{color:#2c8750}.ctc-drawer-locked{color:#8b95a6;background:#f6f7f9}.ctc-drawer-backdrop{display:none;position:fixed;inset:0;background:rgba(5,17,42,.38);z-index:80}.ctc-drawer-backdrop.open{display:block}.ctc-drawer-open{overflow:hidden}

/* Notifications and evolution */
.ctc-notification-enabled button{margin-left:auto}.ctc-notification-list{display:grid;gap:9px}.ctc-notification-item{display:grid;grid-template-columns:42px 1fr 8px;gap:12px;align-items:center;background:#fff;border:1px solid var(--ctc-line);border-radius:14px;padding:14px 16px;box-shadow:0 4px 14px rgba(10,35,82,.035)}.ctc-notification-item.unread{border-color:#ffd2b5;background:#fffaf6}.ctc-notification-icon{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#eef2f7;color:#4d5e79}.ctc-notification-item.unread .ctc-notification-icon{background:#ffe6d6;color:var(--ctc-orange)}.ctc-notification-item strong,.ctc-notification-item small{display:block}.ctc-notification-item p{margin:3px 0;color:#5e6e86}.ctc-notification-item small{color:#8a95a8;font-size:10px}.ctc-notification-item>i{width:7px;height:7px;border-radius:50%;background:var(--ctc-orange)}.ctc-trail-item{display:flex!important}.ctc-certificate-row:hover{border-color:#bccae0}

/* Login */
.ctc-login-body{background:#f7f8fb;overflow:hidden}.ctc-login-shell{min-height:100vh;display:grid;grid-template-columns:47.6% 52.4%}.ctc-login-panel{display:flex;align-items:center;justify-content:center;padding:46px 30px;background:#f8f9fb}.ctc-login-inner{width:min(385px,100%)}.ctc-login-brand{padding:0;margin-bottom:42px}.ctc-login-brand .ctc-brand-mark{width:42px;height:42px}.ctc-login-brand strong{font-size:16px;color:var(--ctc-text)}.ctc-login-brand small{font-size:12px;color:#6e7a90}.ctc-login-heading{margin-bottom:34px}.ctc-login-heading h1{font-size:25px;margin:0 0 8px;letter-spacing:-.025em}.ctc-login-heading p{margin:0;color:#708098;font-size:14px}.ctc-login-form{display:grid;gap:18px}.ctc-login-form label{font-size:14px;color:#0b1f44;display:grid;gap:7px}.ctc-login-form input[type=text],.ctc-login-form input[type=email],.ctc-login-form input[type=password]{width:100%;height:40px;border:1px solid #d8dde5;border-radius:10px;background:#fff;padding:0 12px;outline:none;box-shadow:0 2px 4px rgba(15,35,70,.06)}.ctc-login-form input:focus{border-color:#8fa4c8;box-shadow:0 0 0 3px rgba(18,52,107,.08)}.ctc-password-wrap{position:relative}.ctc-password-wrap input{padding-right:43px!important}.ctc-password-wrap button{position:absolute;right:7px;top:4px;width:33px;height:32px;border:0;background:transparent;color:#7e8999;cursor:pointer}.ctc-login-form .ctc-remember{display:flex;grid-auto-flow:column;grid-template-columns:auto 1fr;align-items:center;gap:8px;font-size:12px;color:#6d788d;margin-top:-5px}.ctc-login-submit{width:100%;height:38px;margin-top:-5px}.ctc-forgot-link{text-align:center;color:#64718a;font-size:13px}.ctc-login-alert{padding:10px 12px;border-radius:9px;background:#eaf6ef;color:#336848;font-size:12px;margin-bottom:18px}.ctc-login-alert.error{background:#fff0f0;color:#973737;border:1px solid #edc8c8}.ctc-login-visual{background:#dfe3e9 center/cover no-repeat;position:relative}.ctc-login-visual-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(10,29,63,.03),rgba(10,29,63,.06))}

/* Certificate */
.ctc-certificate-body{background:#edf1f6}.ctc-certificate-page{min-height:100vh;display:grid;place-items:center;padding:34px}.ctc-certificate-sheet{width:min(1050px,100%);min-height:690px;background:#fff;border:1px solid #d9e0ea;box-shadow:0 20px 60px rgba(8,27,64,.11);padding:55px 70px;position:relative;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center}.ctc-certificate-sheet:before,.ctc-certificate-sheet:after{content:"";position:absolute;inset:18px;border:1px solid #c8d3e4;pointer-events:none}.ctc-certificate-sheet:after{inset:25px;border-color:#f0c9ad}.ctc-certificate-brand{position:absolute;left:52px;top:48px;z-index:1;padding:0;text-align:left}.ctc-certificate-ribbon{color:var(--ctc-orange);margin-bottom:12px}.ctc-certificate-eyebrow{font-size:12px;letter-spacing:.17em;font-weight:800;color:#6d7890}.ctc-certificate-sheet h1{font-size:25px;font-weight:500;margin:10px 0}.ctc-certificate-sheet h2{font-size:42px;margin:5px 0 15px;color:var(--ctc-navy);letter-spacing:-.03em}.ctc-certificate-text{color:#66758d}.ctc-certificate-sheet h3{font-size:28px;margin:8px 0 20px}.ctc-certificate-date{color:#758198}.ctc-certificate-code{margin-top:25px;display:grid;gap:4px}.ctc-certificate-code span{font-size:10px;color:#8a94a5;text-transform:uppercase;letter-spacing:.1em}.ctc-certificate-code code{font-size:13px}.ctc-certificate-actions{margin-top:25px;z-index:2}.ctc-certificate-invalid{background:#fff;border-radius:18px;border:1px solid var(--ctc-line);padding:40px;text-align:center;max-width:520px}.ctc-certificate-invalid .ctc-brand{justify-content:center}.ctc-certificate-invalid>svg{color:var(--ctc-orange);margin-top:25px}

@media(max-width:900px){
  .ctc-sidebar{width:258px;transform:translateX(-104%);transition:.22s ease;box-shadow:12px 0 35px rgba(5,20,51,.18)}.ctc-sidebar.open{transform:translateX(0)}.ctc-sidebar-collapse{display:none}.ctc-main,.ctc-shell.sidebar-collapsed .ctc-main{margin-left:0}.ctc-shell.sidebar-collapsed .ctc-sidebar{width:258px}.ctc-shell.sidebar-collapsed .ctc-brand-copy,.ctc-shell.sidebar-collapsed .ctc-userbox>div:last-child,.ctc-shell.sidebar-collapsed .ctc-nav a>span,.ctc-shell.sidebar-collapsed .ctc-nav-count,.ctc-shell.sidebar-collapsed .ctc-sidebar-bottom a>span{display:block}.ctc-shell.sidebar-collapsed .ctc-userbox,.ctc-shell.sidebar-collapsed .ctc-nav a,.ctc-shell.sidebar-collapsed .ctc-sidebar-bottom a{justify-content:flex-start;padding-left:12px;padding-right:12px;gap:12px}.ctc-mobile-menu{display:inline-grid;place-items:center}.ctc-desktop-menu{display:none}.ctc-sidebar-backdrop{position:fixed;inset:0;background:rgba(5,17,42,.42);z-index:39}.ctc-sidebar.open+.ctc-sidebar-backdrop,.ctc-menu-open .ctc-sidebar-backdrop{display:block}.ctc-menu-open{overflow:hidden}.ctc-banner-admin-grid{grid-template-columns:1fr}.ctc-material-row{grid-template-columns:1fr}.ctc-material-row button{width:100%}.ctc-course-drawer{width:min(410px,94vw)}
}
@media(max-width:700px){
  .ctc-banner-carousel{aspect-ratio:2.05/1;border-radius:16px}.ctc-banner-arrow{width:31px;height:31px}.ctc-student-section{padding:15px}.ctc-student-section-head{flex-direction:column;gap:8px}.ctc-student-section-head .ctc-level-pill{align-self:flex-start}.ctc-lesson-title-row{align-items:flex-start;flex-direction:column}.ctc-lesson-meta-row .ctc-complete-btn{width:100%}.ctc-assessment-box{align-items:stretch}.ctc-assessment-box>.ctc-btn{width:100%}.ctc-notification-enabled{align-items:flex-start;flex-wrap:wrap}.ctc-notification-enabled button{margin-left:48px}.ctc-assessment-row,.ctc-certificate-row{align-items:flex-start;flex-direction:column}.ctc-login-body{overflow:auto}.ctc-login-shell{grid-template-columns:1fr;grid-template-rows:30vh auto;min-height:100vh}.ctc-login-visual{grid-row:1}.ctc-login-panel{grid-row:2;align-items:flex-start;padding:32px 22px 50px}.ctc-login-inner{width:min(430px,100%)}.ctc-login-brand{margin-bottom:27px}.ctc-login-heading{margin-bottom:25px}.ctc-certificate-page{padding:12px}.ctc-certificate-sheet{padding:95px 30px 45px;min-height:650px}.ctc-certificate-brand{left:38px;top:42px}.ctc-certificate-sheet h2{font-size:32px}.ctc-certificate-sheet h3{font-size:23px}
}
@media(max-width:480px){
  .ctc-topbar{gap:8px}.ctc-admin-mode-btn span{display:none}.ctc-admin-mode-btn{padding:8px}.ctc-content{padding-left:13px;padding-right:13px}.ctc-continue-image{display:none}.ctc-continue-card{grid-template-columns:1fr}.ctc-course-hero{border-radius:16px}.ctc-student-lesson-list>a{grid-template-columns:30px 1fr 15px}.ctc-notification-item{grid-template-columns:36px 1fr 7px;padding:12px}.ctc-notification-icon{width:34px;height:34px}.ctc-login-shell{grid-template-rows:25vh auto}.ctc-login-panel{padding-top:27px}.ctc-login-heading h1{font-size:24px}.ctc-certificate-sheet:before{inset:10px}.ctc-certificate-sheet:after{inset:16px}.ctc-certificate-brand{left:28px;top:32px}.ctc-certificate-actions .ctc-btn{width:100%}
}
@media print{.ctc-certificate-body{background:#fff}.ctc-certificate-page{padding:0}.ctc-certificate-sheet{width:100%;min-height:100vh;box-shadow:none;border:0}.ctc-certificate-actions{display:none}}
.ctc-audience-fields{display:flex;align-items:end}.ctc-audience-fields select{width:100%;border:1px solid #d8dee8;border-radius:10px;padding:11px 12px;background:#fff}.ctc-filter-bar{display:flex;gap:8px;margin-bottom:15px}.ctc-filter-bar input{width:min(360px,100%);border:1px solid #d8dee8;border-radius:10px;padding:10px 12px}.ctc-access-row{display:grid;grid-template-columns:1fr 220px;gap:12px;align-items:end;padding:12px;border:1px solid #e7ebf0;border-radius:11px}.ctc-assessment-admin-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.ctc-assessment-admin-head strong,.ctc-assessment-admin-head small{display:block}.ctc-assessment-admin-head small{color:var(--ctc-muted);margin-top:3px}.ctc-status-soft{padding:6px 10px;border-radius:999px;background:#fff4e7;color:#9c5918;font-size:11px;font-weight:700}.ctc-status-soft.approved{background:#e7f6ec;color:#2e7648}.ctc-status-soft.rejected{background:#fff0f0;color:#a63b3b}.ctc-notification-admin-item{padding:12px 0;border-bottom:1px solid #edf0f4}.ctc-notification-admin-item:last-child{border-bottom:0}.ctc-notification-admin-item p{margin:4px 0;color:#54627a}.ctc-notification-admin-item small{color:var(--ctc-muted)}
@media(max-width:700px){.ctc-filter-bar{flex-direction:column}.ctc-filter-bar input{width:100%}.ctc-access-row{grid-template-columns:1fr}.ctc-assessment-admin-head{flex-direction:column}.ctc-audience-fields{display:block}}


/* Admin course builder — v0.2.1 */
.ctc-structure{max-width:1100px}
.ctc-structure-section{overflow:hidden}
.ctc-accordion-title{list-style:none;padding:20px 24px;background:#fff}
.ctc-accordion-title::-webkit-details-marker,.ctc-module-head::-webkit-details-marker,.ctc-lesson-edit-head::-webkit-details-marker,.ctc-add-box>summary::-webkit-details-marker{display:none}
.ctc-edit-pill{font-size:12px;font-weight:650;color:#51617c;border:1px solid #e0e5ed;background:#f8fafc;border-radius:999px;padding:6px 10px;white-space:nowrap}
.ctc-structure-section>details[open]>.ctc-accordion-title{border-bottom:1px solid #edf0f4}
.ctc-accordion-body{padding:0 24px 24px;background:#fff}
.ctc-accordion-body>.ctc-form-grid{padding-top:20px}
.ctc-accordion-body>.ctc-inline-delete{margin:8px 0 2px}
.ctc-module-list{display:grid;gap:12px;margin:20px 0 12px}
.ctc-module-card{box-shadow:none;margin:0;overflow:hidden;border-radius:14px;background:#fbfcfe;border-color:#dfe5ee}
.ctc-module-head{list-style:none;padding:16px 18px;background:#fbfcfe}
.ctc-module-head:hover,.ctc-lesson-edit-head:hover{background:#f6f8fb}
.ctc-module-body{display:none;padding:0 18px 18px;background:#fff;border-top:1px solid #edf0f4}
.ctc-module-card>details[open]>.ctc-module-body{display:block}
.ctc-module-card>details[open]>.ctc-module-head{background:#f7f9fc}
.ctc-module-body>.ctc-form-grid{padding-top:18px}
.ctc-module-body>.ctc-inline-delete{margin:7px 0 4px}
.ctc-lessons-admin{display:grid;gap:9px;margin:16px 0 12px}
.ctc-lesson-edit{overflow:hidden;margin:0;background:#fbfcfe}
.ctc-lesson-edit-head{list-style:none;padding:13px 15px}
.ctc-lesson-edit-body{display:none;padding:0 15px 15px;background:#fff;border-top:1px solid #edf0f4}
.ctc-lesson-edit[open]>.ctc-lesson-edit-body{display:block}
.ctc-lesson-edit-body>.ctc-form-grid{padding-top:16px}
.ctc-add-box{margin-top:12px;overflow:hidden}
.ctc-add-box>summary{list-style:none;background:#fff}
.ctc-add-box[open]>summary{border-bottom:1px solid #edf0f4;background:#fafbfd}
.ctc-add-box>form{padding:16px 16px 18px}
.ctc-accordion-body>.ctc-add-box{margin-top:18px}
.ctc-form-grid.compact input,.ctc-form-grid.compact textarea,.ctc-form-grid.compact select{min-height:42px}
.ctc-form-grid.compact textarea{min-height:74px}

@media(max-width:700px){
  .ctc-accordion-title{padding:17px 15px;gap:10px}
  .ctc-accordion-title h2{font-size:17px}
  .ctc-accordion-body{padding:0 14px 16px}
  .ctc-accordion-body>.ctc-form-grid{padding-top:16px}
  .ctc-module-head{padding:14px}
  .ctc-module-body{padding:0 13px 14px}
  .ctc-module-body>.ctc-form-grid{padding-top:14px}
  .ctc-lesson-edit-body{padding:0 12px 13px}
  .ctc-form-grid.compact{grid-template-columns:1fr}
  .ctc-form-grid.compact .span-2{grid-column:1}
  .ctc-form-grid.compact .ctc-check{align-self:auto}
  .ctc-add-box>form{padding:14px}
}


/* v0.3.0 — embedded pages, moderation, identity and video protection */
.ctc-embedded-page{background:#fff;border:1px solid var(--ctc-line);border-radius:16px;box-shadow:var(--ctc-shadow);overflow:hidden;height:calc(100vh - 155px);min-height:540px}
.ctc-embedded-page iframe{display:block;width:100%;height:100%;border:0;background:#fff}
.ctc-embed-head{margin-bottom:14px}
.ctc-level-pill.compact{padding:2px 7px;font-size:10px;gap:5px}.ctc-level-pill.compact i{width:7px;height:7px}
.ctc-comments-list header{flex-wrap:wrap}.ctc-comments-list article>div:last-child{min-width:0;flex:1}
.ctc-comment-status{display:inline-flex;padding:5px 8px;border-radius:999px;font-size:10px;background:#e8f7ee;color:#2e7648;margin-right:8px}.ctc-comment-status.pending{background:#fff3e6;color:#9c5918}
.ctc-video-watermark{position:absolute;z-index:8;top:5%;left:5%;max-width:min(320px,58%);padding:7px 10px;border-radius:8px;background:rgba(5,17,42,.38);color:rgba(255,255,255,.72);font-size:10px;line-height:1.35;letter-spacing:.01em;pointer-events:none;user-select:none;opacity:0;transition:opacity .35s ease;text-shadow:0 1px 2px rgba(0,0,0,.5);backdrop-filter:blur(2px)}
.ctc-video-watermark.visible{opacity:1}.ctc-video-watermark strong,.ctc-video-watermark span{display:block}.ctc-video-watermark strong{font-size:11px;color:rgba(255,255,255,.8);margin-bottom:1px}
.ctc-player-fullscreen{position:absolute;z-index:10;right:10px;top:10px;width:34px;height:34px;border:1px solid rgba(255,255,255,.2);border-radius:8px;background:rgba(0,0,0,.55);color:#fff;display:grid;place-items:center;cursor:pointer;font-size:18px;line-height:1}
.ctc-player:fullscreen{width:100vw;height:100vh;aspect-ratio:auto;border-radius:0;background:#000}.ctc-player:fullscreen iframe,.ctc-player:fullscreen #ctcVideoPlayer{position:absolute;inset:0;width:100%;height:100%}
.ctc-player-pseudo-fullscreen{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;aspect-ratio:auto!important;border-radius:0!important;z-index:250!important;background:#000!important}.ctc-player-pseudo-fullscreen iframe,.ctc-player-pseudo-fullscreen #ctcVideoPlayer{position:absolute!important;inset:0!important;width:100%!important;height:100%!important}.ctc-player-fullscreen-open{overflow:hidden!important}
.ctc-login-back{display:block;margin-top:14px}
@media(max-width:700px){.ctc-embedded-page{height:calc(100dvh - 130px);min-height:450px;border-radius:12px}.ctc-embed-head>div p{display:none}.ctc-video-watermark{font-size:8px;padding:5px 7px;max-width:64%}.ctc-video-watermark strong{font-size:9px}.ctc-player-fullscreen{width:30px;height:30px;right:7px;top:7px}}

/* v0.3.0 — profile photo, renewal access and clearer enrollment controls */
.ctc-avatar{overflow:hidden;position:relative}.ctc-avatar.has-photo{background:#eef2f7;color:transparent}.ctc-avatar.has-photo img{width:100%;height:100%;object-fit:cover;display:block}.ctc-student-cell{display:flex;align-items:center;gap:10px}.ctc-student-cell>span:last-child{min-width:0}.ctc-student-cell strong,.ctc-student-cell small{display:block}.ctc-profile-photo-wrap{flex:0 0 auto}.ctc-profile-photo-button{position:relative;border:0;background:transparent;padding:0;cursor:pointer;border-radius:50%;display:block}.ctc-profile-photo-button .ctc-avatar{box-shadow:0 0 0 4px #fff,0 3px 13px rgba(11,34,84,.12)}.ctc-profile-photo-edit{position:absolute;right:-2px;bottom:1px;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--ctc-orange);color:#fff;border:3px solid #fff;font-size:12px;font-weight:800;box-shadow:0 3px 8px rgba(11,34,84,.18)}
.ctc-avatar-modal[hidden]{display:none!important}.ctc-avatar-modal{position:fixed;z-index:9999;inset:0;background:rgba(4,14,34,.72);display:grid;place-items:center;padding:20px;backdrop-filter:blur(3px)}.ctc-avatar-dialog{width:min(520px,100%);background:#fff;border-radius:20px;padding:22px;box-shadow:0 30px 90px rgba(0,0,0,.32)}.ctc-avatar-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:16px}.ctc-avatar-dialog-head h2{margin:0 0 4px}.ctc-avatar-dialog-head p{margin:0;color:var(--ctc-muted);font-size:13px;line-height:1.45}.ctc-avatar-dialog-head>button{width:34px;height:34px;border:0;border-radius:50%;background:#f1f3f7;cursor:pointer;font-size:22px;line-height:1}.ctc-avatar-crop-stage{width:min(340px,78vw);aspect-ratio:1;margin:0 auto;position:relative;overflow:hidden;background:#101827;touch-action:none;cursor:grab}.ctc-avatar-crop-stage.dragging{cursor:grabbing}.ctc-avatar-crop-stage img{position:absolute;max-width:none!important;user-select:none;pointer-events:none}.ctc-avatar-circle-guide{position:absolute;inset:0;border-radius:50%;box-shadow:0 0 0 999px rgba(0,0,0,.48);border:2px solid rgba(255,255,255,.92);pointer-events:none}.ctc-avatar-zoom{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:14px;margin:18px 0 6px;font-size:13px;font-weight:700}.ctc-avatar-zoom input{width:100%;accent-color:var(--ctc-orange)}.ctc-avatar-dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:18px}.ctc-avatar-status{display:block;color:var(--ctc-muted);margin-top:10px;min-height:16px}.ctc-modal-open{overflow:hidden}
.ctc-renewal-stack{display:grid;gap:10px;margin:0 0 22px}.ctc-renewal-alert{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:13px;padding:14px 16px;border-radius:15px;border:1px solid #ffd0b1;background:#fff7f0}.ctc-renewal-icon{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#ffe4d0;color:var(--ctc-orange)}.ctc-renewal-alert strong,.ctc-renewal-alert small{display:block}.ctc-renewal-alert small{color:#6c788c;margin-top:2px}.ctc-renewal-grid{display:grid;gap:10px}.ctc-renewal-course{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 17px;border:1px solid #ffd3b6;background:#fff8f3;border-radius:14px}.ctc-renewal-course strong,.ctc-renewal-course small{display:block}.ctc-renewal-course small{margin-top:3px;color:var(--ctc-muted)}
.ctc-access-row{grid-template-columns:minmax(220px,1fr) 180px minmax(220px,280px);align-items:center;padding:15px 16px}.ctc-access-course{display:flex;align-items:center;gap:9px;min-width:0}.ctc-access-course strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ctc-access-status{display:inline-flex;align-items:center;padding:5px 8px;border-radius:999px;font-size:10px;font-weight:750;white-space:nowrap}.ctc-access-status.active{background:#e6f6ec;color:#247344}.ctc-access-status.expired{background:#fff1e7;color:#a45116}.ctc-access-status.inactive{background:#eef1f5;color:#657187}.ctc-access-status.neutral{background:#f5f6f8;color:#8a94a5}.ctc-access-toggle{display:flex!important;flex-direction:row!important;align-items:center;gap:9px!important;cursor:pointer}.ctc-access-toggle input{position:absolute;opacity:0;pointer-events:none}.ctc-switch{width:39px;height:22px;border-radius:99px;background:#cdd4df;position:relative;transition:.18s}.ctc-switch:after{content:"";position:absolute;left:3px;top:3px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.2);transition:.18s}.ctc-access-toggle input:checked+.ctc-switch{background:var(--ctc-navy)}.ctc-access-toggle input:checked+.ctc-switch:after{transform:translateX(17px)}.ctc-access-toggle b{font-size:12px}
@media(max-width:900px){.ctc-access-row{grid-template-columns:1fr 150px}.ctc-access-row>label:last-child{grid-column:1/-1}.ctc-renewal-alert{grid-template-columns:auto 1fr}.ctc-renewal-alert .ctc-btn{grid-column:1/-1;width:100%}}
@media(max-width:600px){.ctc-access-row{grid-template-columns:1fr}.ctc-access-row>label:last-child{grid-column:auto}.ctc-access-course{align-items:flex-start;flex-direction:column}.ctc-renewal-alert{grid-template-columns:1fr}.ctc-renewal-icon{display:none}.ctc-renewal-course{align-items:stretch;flex-direction:column}.ctc-renewal-course .ctc-btn{width:100%}.ctc-account-header .ctc-profile-photo-wrap{margin-right:4px}.ctc-avatar-dialog{padding:16px}.ctc-avatar-dialog-actions .ctc-btn{flex:1}}


/* v0.3.3 — mobile admin navigation + real PWA install experience */
.ctc-install-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;max-width:980px}
.ctc-install-card{padding:0;overflow:hidden;display:grid;grid-template-rows:230px 1fr}
.ctc-install-illustration{display:grid;place-items:center;background:linear-gradient(145deg,#eef3fb,#f9fafc);border-bottom:1px solid var(--ctc-line);padding:18px}
.ctc-install-card.android .ctc-install-illustration{background:linear-gradient(145deg,#edf8f1,#f8fbf9)}
.ctc-install-card.ios .ctc-install-illustration{background:linear-gradient(145deg,#eef3fb,#fafbfe)}
.ctc-install-copy{padding:22px}.ctc-install-copy h2{margin:7px 0 9px;font-size:20px}.ctc-install-copy p{margin:0 0 15px;color:var(--ctc-muted);line-height:1.55}.ctc-install-os{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef2f7;color:#53627b;font-size:11px;font-weight:800;letter-spacing:.02em}
.ctc-pwa-install-slot[hidden]{display:none!important}.ctc-install-fallback{display:block;color:#778398;line-height:1.5;margin-top:12px}.ctc-install-fallback[hidden]{display:none!important}
.ctc-phone-demo{width:132px;height:196px;border:6px solid #15243f;border-radius:25px;background:#fff;box-shadow:0 18px 35px rgba(11,34,84,.18);position:relative;padding:10px 7px 8px}.ctc-phone-demo.ios{border-color:#20242c}.ctc-phone-speaker{display:block;width:43px;height:5px;border-radius:99px;background:#29364b;margin:0 auto 8px}.ctc-phone-screen{height:158px;border-radius:13px;background:linear-gradient(160deg,#f7f9fc,#edf2f8);position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:10px;overflow:hidden}.ctc-demo-app-icon{width:51px;height:51px;border-radius:13px;background:var(--ctc-navy);display:grid;place-items:center;overflow:hidden;color:#fff;margin-bottom:7px;box-shadow:0 5px 15px rgba(11,34,84,.18)}.ctc-demo-app-icon img{width:100%;height:100%;object-fit:cover;display:block}.ctc-phone-screen>strong{font-size:9px;max-width:95px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ctc-demo-browser-menu{position:absolute;right:8px;top:8px;width:17px;height:31px;border-radius:8px;background:#fff;box-shadow:0 4px 12px rgba(11,34,84,.13);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}.ctc-demo-browser-menu i{width:2px;height:2px;background:#2e3d57;border-radius:50%}
.ctc-ios-share{width:33px;height:33px;border:1px solid #d7deea;background:#fff;border-radius:9px;display:grid;place-items:center;color:#1777e8;font-size:20px;font-weight:700;margin-bottom:13px}.ctc-ios-sheet{width:104px;background:#fff;border-radius:10px;box-shadow:0 8px 22px rgba(11,34,84,.13);padding:8px;display:flex;align-items:center;justify-content:space-between;gap:5px}.ctc-ios-sheet b{font-size:7px;line-height:1.25}.ctc-ios-sheet span{font-size:14px;color:#1777e8}.ctc-install-copy .ctc-steps{margin-top:10px}.ctc-install-copy .ctc-steps li{align-items:flex-start;line-height:1.45}.ctc-install-copy .ctc-steps li>b{flex:0 0 24px}
@media(max-width:900px){
  .ctc-sidebar{overflow-y:auto!important;overflow-x:hidden!important;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;max-height:100dvh;min-height:0;padding-bottom:calc(18px + env(safe-area-inset-bottom))}
  .ctc-sidebar .ctc-nav{flex:0 0 auto}.ctc-sidebar-bottom{margin-top:12px;flex:0 0 auto}
}
@media(max-width:760px){.ctc-install-grid{grid-template-columns:1fr}.ctc-install-card{grid-template-columns:132px 1fr;grid-template-rows:auto;align-items:stretch}.ctc-install-illustration{border-bottom:0;border-right:1px solid var(--ctc-line);padding:16px}.ctc-phone-demo{transform:scale(.78);margin:-20px}.ctc-install-copy{padding:19px}}
@media(max-width:520px){.ctc-install-card{grid-template-columns:1fr;grid-template-rows:190px auto}.ctc-install-illustration{border-right:0;border-bottom:1px solid var(--ctc-line)}.ctc-phone-demo{transform:scale(.82);margin:-12px}.ctc-install-copy{padding:18px}.ctc-install-copy h2{font-size:19px}}

/* v0.3.4 — mobile install page redesign */
.ctc-mobile-page-intro{max-width:980px;padding:24px 26px}.ctc-mobile-intro-head{display:flex;align-items:center;gap:10px;font-size:25px;font-weight:800;margin-bottom:18px}.ctc-mobile-intro-head .ctc-icon{color:var(--ctc-navy)}.ctc-mobile-intro-steps{display:grid;gap:14px}.ctc-mobile-intro-step{display:grid;grid-template-columns:40px 1fr;gap:14px;align-items:start}.ctc-mobile-intro-step span,.ctc-step-list li>span{width:30px;height:30px;border-radius:999px;display:grid;place-items:center;background:#dff2ea;color:#1d9b67;font-weight:800;font-size:14px}.ctc-mobile-intro-step p,.ctc-step-list p{margin:0;line-height:1.7;color:#20304a}.ctc-mobile-guides{max-width:980px;display:grid;gap:18px;margin-top:18px}.ctc-mobile-guide{padding:0;overflow:hidden}.ctc-mobile-guide-head{padding:24px 24px 8px}.ctc-mobile-guide-head h2{margin:0;display:flex;align-items:center;gap:10px;font-size:30px;letter-spacing:-.02em}.ctc-mobile-guide-head .ctc-icon{color:#20304a}.ctc-mobile-guide-body{padding:0 24px 24px}.ctc-mobile-install-action{margin:8px 0 18px}.ctc-mobile-install-btn{background:#23b475;color:#fff;font-size:16px;padding:14px 18px;border-radius:10px;box-shadow:none}.ctc-mobile-install-btn:hover{background:#1ea468}.ctc-mobile-guide-note{margin:0 0 18px;color:#55657f;line-height:1.65}.ctc-step-list{list-style:none;padding:0;margin:0;display:grid;gap:12px}.ctc-step-list li{display:grid;grid-template-columns:30px 1fr;gap:14px;align-items:start}.ctc-step-list li small{color:#68758c}.ctc-mobile-help{display:block;margin-top:14px;color:#68758c;line-height:1.6}.ctc-guide-art{margin-top:18px;border:1px solid #dde4ec;border-radius:16px;background:#f7f8fb;padding:20px;display:grid;place-items:center;min-height:180px}.ctc-guide-browser{width:min(430px,100%);background:#fff;border:1px solid #dce2ea;border-radius:14px;box-shadow:0 8px 20px rgba(12,33,69,.06);overflow:hidden;position:relative}.ctc-guide-browser-bar{height:40px;border-bottom:1px solid #e7ebf0;display:flex;align-items:center;gap:10px;padding:0 12px;background:#fcfcfd}.ctc-guide-browser-bar i{width:14px;height:14px;border-radius:50%;border:2px solid #8c9ab1;display:inline-block}.ctc-guide-browser-bar span{flex:1;height:20px;border-radius:7px;background:#eef1f4;color:#728096;font-size:11px;display:flex;align-items:center;padding:0 10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ctc-guide-browser-bar b{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;border:2px solid #23b475;background:#eefaf4}.ctc-guide-browser-bar b em{display:block;width:3px;height:3px;border-radius:50%;background:#31405b;margin:1px 0}.ctc-guide-browser-content{padding:16px}.ctc-guide-browser-content u{display:block;height:8px;border-radius:999px;background:#ebedf1;margin-bottom:12px;text-decoration:none}.ctc-guide-browser-content u:nth-child(1){width:78%}.ctc-guide-browser-content u:nth-child(2){width:64%}.ctc-guide-browser-content u:nth-child(3){width:72%}.ctc-guide-browser-content div{height:72px;border-radius:10px;background:#f0f2f6}.ctc-guide-browser.ios .ctc-guide-browser-bar b{border-color:#cfd7e2;background:#fff}.ctc-guide-ios-share{position:absolute;left:50%;bottom:12px;transform:translateX(-50%);width:28px;height:28px;border-radius:8px;border:2px solid #23b475;color:#23b475;background:#fff;display:grid;place-items:center}.ctc-guide-art.ios{padding-bottom:42px}.ctc-guide-art.ios:after{content:"";position:absolute}.ctc-mobile-guide.is-android .ctc-guide-art{background:#f8fbf9}.ctc-mobile-guide.is-ios .ctc-guide-art{background:#f7f8fb}
@media(max-width:900px){.ctc-mobile-guide-head h2{font-size:26px}}
@media(max-width:640px){.ctc-mobile-page-intro{padding:20px}.ctc-mobile-intro-head{font-size:21px}.ctc-mobile-guide-head{padding:20px 20px 6px}.ctc-mobile-guide-head h2{font-size:24px}.ctc-mobile-guide-body{padding:0 20px 20px}.ctc-guide-art{padding:14px;min-height:160px}.ctc-guide-browser-content div{height:58px}}

/* v0.3.5 — desktop sidebar chevron alignment */
.ctc-sidebar-collapse{font-size:0;line-height:1;transform:none!important}
.ctc-sidebar-collapse .ctc-icon{display:block;transform:rotate(0deg);transition:transform .18s ease}
.ctc-shell.sidebar-collapsed .ctc-sidebar-collapse .ctc-icon{transform:rotate(180deg)}

/* v0.3.5 — PWA, banner and admin refinements */
.ctc-banner-welcome-slide{background:linear-gradient(118deg,#081d48 0%,#0d2b68 58%,#143b7c 100%);color:#fff;display:flex;align-items:center;padding:clamp(24px,4vw,58px);overflow:hidden}
.ctc-banner-welcome-slide:after{content:"";position:absolute;right:-8%;top:-55%;width:42%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,rgba(255,105,0,.34),rgba(255,105,0,0) 68%);pointer-events:none}
.ctc-banner-welcome-copy{position:relative;z-index:1;display:flex;flex-direction:column;align-items:flex-start;max-width:min(720px,72%);min-width:0}
.ctc-banner-welcome-copy>span{font-size:12px;letter-spacing:.16em;font-weight:800;color:#ff8a42;margin-bottom:8px}
.ctc-banner-welcome-copy>strong{font-size:clamp(27px,3vw,45px);line-height:1.04;letter-spacing:-.035em}
.ctc-banner-welcome-copy>p{margin:10px 0 0;color:#dce5f5;font-size:clamp(13px,1.15vw,17px);line-height:1.5;max-width:650px}
.ctc-banner-welcome-copy>.ctc-btn{margin-top:16px}
.ctc-welcome-banner-admin{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(0,1.6fr);gap:22px;align-items:start;margin-bottom:18px}
.ctc-welcome-banner-preview{aspect-ratio:4.15/1;min-height:180px;border-radius:14px;background:linear-gradient(118deg,#081d48,#12366f);color:#fff;display:flex;align-items:center;padding:28px;overflow:hidden}
.ctc-welcome-banner-preview>div{display:grid;gap:7px}.ctc-welcome-banner-preview span{font-size:10px;letter-spacing:.14em;color:#ff8a42;font-weight:800}.ctc-welcome-banner-preview strong{font-size:25px;line-height:1.05}.ctc-welcome-banner-preview p{margin:0;color:#d8e1f1;font-size:12px}
.ctc-banner-size-guide{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;padding:13px 15px;border:1px solid #dce4ee;background:#f7f9fc;border-radius:12px;margin:0 0 18px;color:#53627a;font-size:13px}.ctc-banner-size-guide strong{color:var(--ctc-text)}.ctc-banner-size-guide small{flex-basis:100%;color:#7a879a}

@media(max-width:900px){.ctc-welcome-banner-admin{grid-template-columns:1fr}.ctc-welcome-banner-preview{min-height:150px}}
@media(max-width:700px){.ctc-banner-welcome-copy{max-width:82%}.ctc-banner-welcome-copy>strong{font-size:28px}.ctc-welcome-banner-preview{aspect-ratio:2.05/1}.ctc-banner-size-guide{align-items:flex-start;flex-direction:column;gap:5px}}


@media(max-width:520px){.ctc-banner-welcome-copy{max-width:92%}.ctc-banner-welcome-copy>strong{font-size:24px}.ctc-banner-welcome-slide{padding:21px}}

/* v0.4.0 — student profile in admin */
.ctc-admin-student-profile{display:flex;align-items:center;gap:18px;background:#fff;border:1px solid var(--ctc-line);border-radius:18px;box-shadow:var(--ctc-shadow);padding:20px 22px;margin-bottom:20px}.ctc-admin-student-profile-copy{min-width:0;flex:1}.ctc-admin-student-profile-copy h1{margin:0 0 4px;font-size:27px;letter-spacing:-.02em}.ctc-admin-student-profile-copy p{margin:0;color:#4c5a73}.ctc-admin-student-profile-copy small{display:block;color:var(--ctc-muted);margin-top:4px}.ctc-admin-student-profile>.ctc-level-pill{margin-left:auto}
@media(max-width:640px){.ctc-admin-student-profile{align-items:flex-start;flex-wrap:wrap;padding:18px}.ctc-admin-student-profile>.ctc-level-pill{margin-left:0}.ctc-admin-student-profile-copy{min-width:calc(100% - 110px)}}

/* v0.4.1 — email model tabs */
.ctc-email-tabs{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 18px}.ctc-email-tab{display:flex;align-items:center;gap:10px;padding:11px 14px;border:1px solid #dbe2eb;border-radius:11px;background:#fff;color:var(--ctc-text);box-shadow:0 2px 7px rgba(14,35,72,.04);font-size:13px;font-weight:700;transition:.15s ease}.ctc-email-tab:hover{border-color:#afbdd2;transform:translateY(-1px)}.ctc-email-tab.active{background:var(--ctc-navy);border-color:var(--ctc-navy);color:#fff;box-shadow:0 5px 14px rgba(8,31,73,.16)}.ctc-email-tab small{font-size:10px;padding:4px 7px;border-radius:999px;font-weight:800}.ctc-email-tab small.enabled{background:#e7f6ed;color:#2d7b4a}.ctc-email-tab small.disabled{background:#f1f3f6;color:#7b879b}.ctc-email-tab.active small.enabled{background:rgba(255,255,255,.15);color:#dff5e7}.ctc-email-tab.active small.disabled{background:rgba(255,255,255,.12);color:#d7deea}.ctc-email-editor{max-width:980px}.ctc-email-editor-head{margin-bottom:16px}.ctc-email-editor-head h2{margin:0 0 5px}.ctc-email-editor-head p{margin:0;color:var(--ctc-muted);font-size:13px}@media(max-width:640px){.ctc-email-tabs{display:grid;grid-template-columns:1fr 1fr}.ctc-email-tab{justify-content:space-between;min-width:0}.ctc-email-tab span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}@media(max-width:420px){.ctc-email-tabs{grid-template-columns:1fr}}

/* v0.5.0 — visual e-mail editor */
.ctc-email-vars{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:12px 14px;background:#f7f9fc;border:1px solid #e0e6ef;border-radius:12px}.ctc-email-vars>strong{font-size:12px;color:#56657d;margin-right:3px}.ctc-email-var{border:1px solid #d6dee9;background:#fff;color:#34435d;border-radius:999px;padding:6px 9px;font-size:11px;cursor:pointer}.ctc-email-var:hover{border-color:#9eafc7;background:#fdfefe}.ctc-rich-editor{border:1px solid #d9e0ea;border-radius:13px;overflow:hidden;background:#fff}.ctc-rich-toolbar{display:flex;align-items:center;gap:5px;flex-wrap:wrap;padding:9px;background:#f4f6f9;border-bottom:1px solid #dfe5ed}.ctc-rich-toolbar button,.ctc-rich-toolbar select{height:32px;border:1px solid #d4dce7;border-radius:7px;background:#fff;color:#2d3b54;padding:0 9px;cursor:pointer}.ctc-rich-toolbar button{min-width:34px}.ctc-email-color{height:32px;display:flex!important;flex-direction:row!important;align-items:center!important;gap:6px!important;border:1px solid #d4dce7;border-radius:7px;padding:0 8px;background:#fff;font-size:11px!important;font-weight:600!important}.ctc-email-color input{width:25px!important;height:22px!important;padding:0!important;border:0!important;background:transparent!important}.ctc-rich-area{min-height:260px;padding:22px 24px;outline:0;line-height:1.65;color:#202d45}.ctc-rich-area:focus{box-shadow:inset 0 0 0 2px rgba(15,48,104,.07)}.ctc-email-preview-wrap{border:1px solid #dfe5ed;border-radius:13px;background:#f6f8fb;overflow:hidden}.ctc-email-preview-title{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;border-bottom:1px solid #e2e7ee}.ctc-email-preview-title small{color:#7b8798}.ctc-email-preview{margin:18px auto;padding:28px;background:#fff;border:1px solid #e1e6ed;border-radius:8px;width:min(680px,calc(100% - 28px));min-height:160px;line-height:1.65;box-shadow:0 5px 18px rgba(12,34,71,.04)}

/* v0.5.0 — delayed modules/lessons */
.ctc-student-module.locked>summary{background:#f8f9fb}.ctc-student-module.locked>summary small{color:#8a6570}.ctc-module-release-message{display:flex;gap:12px;align-items:flex-start;margin:10px 0 2px;padding:15px 16px;border:1px solid #e0e5ed;background:#f7f8fa;border-radius:12px;color:#55657c}.ctc-module-release-message svg{flex:0 0 auto;color:#8c97a9;margin-top:2px}.ctc-module-release-message strong{display:block;color:#2e3c54}.ctc-module-release-message p{margin:4px 0 0;line-height:1.55}.ctc-student-lesson-list>a.locked{background:#f8f9fb;color:#64738b}.ctc-student-lesson-list>a.locked .ctc-lesson-state{color:#8793a6}.ctc-release-countdown{display:inline-flex;margin-top:10px;border-radius:999px;padding:6px 10px;background:#e9edf3;color:#526079;font-size:12px;font-weight:700}.ctc-drawer-locked{line-height:1.45}

/* v0.5.0 — certificates admin */
.ctc-certificate-tabs{margin-bottom:22px}.ctc-certificate-builder{margin-bottom:22px;max-width:1100px}.ctc-certificate-builder-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px}.ctc-certificate-builder-head h2{margin:0 0 5px}.ctc-certificate-builder-head p{margin:0;color:var(--ctc-muted)}.ctc-cert-live-preview-wrap{margin-top:6px}.ctc-cert-live-preview{margin-top:10px;position:relative;width:min(900px,100%);aspect-ratio:1.414/1;background:#f0f2f6 center/100% 100% no-repeat;border:1px solid #d8dfe8;border-radius:10px;overflow:hidden;box-shadow:0 10px 30px rgba(10,30,68,.07)}.ctc-cert-live-preview>span{position:absolute;transform:translate(-50%,-50%);font-family:Georgia,"Times New Roman",serif;white-space:nowrap;text-align:center;max-width:90%}.ctc-cert-preview-sign{position:absolute;transform:translate(-50%,-50%);text-align:center}.ctc-cert-preview-sign img{display:block;max-width:100%;height:auto;margin:0 auto}.ctc-cert-preview-sign small{display:block;margin-top:3px;color:#303d53}.ctc-certificate-template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.ctc-certificate-template-card{display:flex;flex-direction:column;gap:13px}.ctc-cert-template-thumb{height:150px;border-radius:11px;background:#eef1f5 center/cover no-repeat;display:grid;place-items:center;color:#74839a;border:1px solid #e0e5ec}.ctc-certificate-template-card h3{margin:0 0 4px;font-size:17px}.ctc-certificate-template-card p{margin:0;color:#65738a;font-size:13px}.ctc-certificate-template-card small{display:block;margin-top:5px;color:#8a95a7}.ctc-certificate-template-card>.ctc-inline-actions,.ctc-certificate-template-card>.ctc-btn{margin-top:auto}.ctc-certificate-info-box{display:flex;gap:13px;align-items:flex-start;background:#eef5ff;border:1px solid #cddcf2;border-radius:14px;padding:16px 17px;margin-bottom:18px}.ctc-certificate-info-box>svg{color:#2f5f9e;flex:0 0 auto}.ctc-certificate-info-box strong{display:block}.ctc-certificate-info-box p{margin:4px 0 0;color:#586981;line-height:1.5}.ctc-cert-send-modal{position:fixed;z-index:200;inset:0;background:rgba(6,18,44,.58);display:grid;place-items:center;padding:20px}.ctc-cert-send-modal[hidden]{display:none!important}.ctc-cert-send-dialog{width:min(600px,100%);max-height:min(760px,90vh);display:flex;flex-direction:column;background:#fff;border-radius:18px;box-shadow:0 22px 80px rgba(0,0,0,.25);padding:20px}.ctc-cert-send-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.ctc-cert-send-head h2{margin:0 0 4px}.ctc-cert-send-head p{margin:0;color:var(--ctc-muted)}.ctc-cert-send-head button{border:0;background:transparent;font-size:27px;line-height:1;cursor:pointer}.ctc-cert-student-search{width:100%;border:1px solid #d7dee8;border-radius:10px;padding:11px 12px;margin:16px 0 10px}.ctc-cert-student-list{max-height:430px;overflow:auto;border:1px solid #e1e5ec;border-radius:12px}.ctc-cert-student-list label{display:grid;grid-template-columns:38px 1fr 20px;gap:10px;align-items:center;padding:11px 12px;border-bottom:1px solid #edf0f4;cursor:pointer}.ctc-cert-student-list label:last-child{border-bottom:0}.ctc-cert-student-list label:hover{background:#f7f9fc}.ctc-cert-student-list strong,.ctc-cert-student-list small{display:block}.ctc-cert-student-list small{color:#78859a;margin-top:2px}.ctc-cert-student-list input{justify-self:end}.ctc-cert-send-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:14px}.ctc-modal-open{overflow:hidden}

/* v0.5.0 — final certificate block in lesson */
.ctc-final-certificate-box{display:grid;grid-template-columns:48px 1fr auto;gap:14px;align-items:center;padding:18px 19px;border:1px solid #d7dfeb;background:#f8fafc;border-radius:16px;margin:0 0 25px}.ctc-final-certificate-icon{width:45px;height:45px;border-radius:50%;display:grid;place-items:center;background:#fff1e6;color:var(--ctc-orange)}.ctc-final-certificate-box h2{font-size:18px;margin:0 0 3px}.ctc-final-certificate-box p{margin:0;color:#637188;line-height:1.5}.ctc-final-certificate-box form{margin:0}

/* v0.5.0 — custom certificate viewer */
.ctc-custom-certificate-shell{width:min(1180px,100%)}.ctc-custom-certificate{position:relative;width:100%;aspect-ratio:1.414/1;background:#fff;box-shadow:0 20px 60px rgba(8,27,64,.13);overflow:hidden}.ctc-custom-certificate-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;display:block}.ctc-custom-certificate-name{position:absolute;transform:translate(-50%,-50%);font-family:Georgia,"Times New Roman",serif;white-space:nowrap;text-align:center;max-width:90%;line-height:1.05}.ctc-custom-certificate-sign{position:absolute;transform:translate(-50%,-50%);text-align:center}.ctc-custom-certificate-sign img{display:block;max-width:100%;height:auto;margin:0 auto}.ctc-custom-certificate-sign span{display:block;font-size:13px;color:#2c394e;margin-top:4px}.ctc-certificate-meta{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:14px;background:#fff;border:1px solid #dce2eb;border-radius:12px;padding:13px 15px}.ctc-certificate-meta strong,.ctc-certificate-meta span,.ctc-certificate-meta small{display:block}.ctc-certificate-meta span{color:#596980;margin-top:2px}.ctc-certificate-meta small{color:#8792a4;margin-top:4px}

@media(max-width:900px){.ctc-certificate-template-grid{grid-template-columns:1fr 1fr}.ctc-final-certificate-box{grid-template-columns:45px 1fr}.ctc-final-certificate-box>.ctc-btn,.ctc-final-certificate-box>form{grid-column:1/-1}.ctc-final-certificate-box>.ctc-btn,.ctc-final-certificate-box form .ctc-btn{width:100%}.ctc-cert-live-preview>span{font-size:clamp(16px,4.5vw,42px)!important}.ctc-custom-certificate-name{font-size:clamp(18px,5vw,42px)!important}}
@media(max-width:620px){.ctc-certificate-template-grid{grid-template-columns:1fr}.ctc-rich-toolbar{gap:4px}.ctc-rich-area{padding:17px;min-height:230px}.ctc-email-preview{padding:18px}.ctc-certificate-builder-head{flex-direction:column}.ctc-cert-live-preview{border-radius:7px}.ctc-cert-send-dialog{padding:16px}.ctc-certificate-meta{align-items:stretch;flex-direction:column}.ctc-certificate-meta .ctc-btn{width:100%}}
@media print{.ctc-custom-certificate-shell{width:100%;max-width:none}.ctc-custom-certificate{box-shadow:none;width:100vw;height:auto}.ctc-certificate-meta{display:none}}

.ctc-cert-art-note{display:block;margin-top:6px;color:#7b8799;font-size:12px;line-height:1.45}.ctc-certificate-builder .ctc-media-field{min-width:0}@media print{@page{size:A4 landscape;margin:0}.ctc-custom-certificate-bg{-webkit-print-color-adjust:exact;print-color-adjust:exact}}

/* v0.5.1 — e-mail editor, button contrast and assessment actions */
.ctc-app-body a.ctc-btn-primary,.ctc-app-body a.ctc-btn-primary:visited,.ctc-app-body button.ctc-btn-primary{color:#fff!important}
.ctc-app-body a.ctc-btn-orange,.ctc-app-body a.ctc-btn-orange:visited,.ctc-app-body button.ctc-btn-orange{color:#fff!important}
.ctc-email-variable-select{min-width:210px;max-width:285px;font-weight:650;background:#fff!important;border-color:#bdc9d9!important}
.ctc-rich-area a{color:#175fc0;text-decoration:underline;text-underline-offset:2px}
.ctc-rich-area a.ctc-email-smart-link{position:relative;display:inline-flex;align-items:center;gap:6px;border-radius:6px;background:#edf5ff;padding:1px 5px;text-decoration:none;color:#1557a6}
.ctc-rich-area a.ctc-email-smart-link:after{content:"variável";display:inline-flex;font-size:9px;line-height:1;padding:3px 5px;border-radius:999px;background:#d9eaff;color:#486b96;font-weight:800;text-transform:uppercase;letter-spacing:.03em}
.ctc-email-preview-subject{padding:13px 18px;border-bottom:1px solid #e2e7ee;background:#fff;color:#66758c;font-size:13px}.ctc-email-preview-subject strong{color:var(--ctc-text);font-size:14px}
.ctc-email-preview a{color:#175fc0;text-decoration:underline;font-weight:650}
.ctc-assessment-delete{margin-top:10px}.ctc-assessment-delete .ctc-btn{margin-left:0}
@media(max-width:640px){.ctc-email-variable-select{width:100%;max-width:none}.ctc-assessment-delete .ctc-btn{width:100%}}

/* v0.5.2 — notification delivery snapshots + per-user delete */
.ctc-notification-item{grid-template-columns:42px minmax(0,1fr) auto;cursor:pointer;transition:opacity .18s ease,transform .18s ease,border-color .15s ease,background .15s ease}
.ctc-notification-copy{min-width:0}.ctc-notification-actions{display:flex;align-items:center;gap:10px;align-self:start;padding-top:2px}.ctc-notification-unread-dot{width:7px;height:7px;border-radius:50%;background:var(--ctc-orange);display:block;flex:0 0 auto}.ctc-notification-delete{width:28px;height:28px;border:0;border-radius:8px;background:transparent;color:#8793a8;font-size:21px;line-height:1;display:grid;place-items:center;cursor:pointer;transition:.15s ease}.ctc-notification-delete:hover{background:#f3f5f8;color:#273750}.ctc-notification-delete:disabled{opacity:.4;cursor:wait}
@media(max-width:520px){.ctc-notification-item{grid-template-columns:34px minmax(0,1fr) auto;gap:10px}.ctc-notification-actions{gap:7px}.ctc-notification-delete{width:26px;height:26px}}

/* v0.5.3 — bulk student import */
.ctc-page-head-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.ctc-import-panel{margin-bottom:20px}.ctc-import-panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px}.ctc-import-panel-head h2{margin-bottom:6px}.ctc-import-panel-head p{margin:0;color:var(--ctc-muted);max-width:760px;line-height:1.55}.ctc-import-rules{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:14px 0}.ctc-import-rules strong{margin-right:4px}.ctc-import-rules span{background:#f1f4f8;border:1px solid #e0e5ec;border-radius:999px;padding:6px 9px;font-size:12px}.ctc-import-warning{padding:13px 14px;border:1px solid #f5d1a8;background:#fff8ef;border-radius:12px;color:#6d5538;line-height:1.5;margin:14px 0 18px}.ctc-import-upload-form{display:flex;align-items:flex-end;gap:14px}.ctc-import-upload-form label{display:flex;flex-direction:column;gap:7px;flex:1;font-size:13px;font-weight:650}.ctc-import-upload-form input[type=file]{border:1px solid #d8dee8;border-radius:10px;padding:10px;background:#fff}.ctc-import-upload-form small{font-weight:400;color:var(--ctc-muted)}.ctc-import-progress-card{margin-bottom:20px}.ctc-import-progress-copy h2{margin-bottom:6px}.ctc-import-progress-copy p{margin:0 0 16px;color:var(--ctc-muted)}.ctc-import-progress{height:10px;background:#edf1f6;border-radius:999px;overflow:hidden}.ctc-import-progress b{display:block;height:100%;background:var(--ctc-orange);border-radius:999px;transition:width .25s ease}.ctc-import-progress-meta{display:flex;justify-content:space-between;gap:12px;margin-top:8px;color:var(--ctc-muted);font-size:12px}.ctc-import-progress-card.has-error{border-color:#efc3c3}.ctc-import-progress-card.has-error .ctc-import-progress b{background:#c63e3e}.ctc-import-report{margin-bottom:20px}.ctc-import-report h2{margin-bottom:6px}.ctc-import-report p{margin:0;color:#4f5d73}.ctc-import-report details{margin-top:12px;border-top:1px solid #edf0f4;padding-top:12px}.ctc-import-report summary{cursor:pointer;font-weight:700}.ctc-import-report ul{margin:10px 0 0;padding-left:20px;color:#7a4b3f}.ctc-import-report li{margin:5px 0}
@media(max-width:760px){.ctc-page-head-actions{width:100%}.ctc-page-head-actions .ctc-btn{flex:1}.ctc-import-panel-head{flex-direction:column}.ctc-import-upload-form{flex-direction:column;align-items:stretch}.ctc-import-upload-form .ctc-btn{width:100%}}
.ctc-import-downloads{display:flex;flex-direction:column;align-items:flex-end;gap:7px;flex:0 0 auto}.ctc-import-csv-link{font-size:12px;color:#5d6b82;text-decoration:underline!important}.ctc-import-csv-link:hover{color:var(--ctc-navy)}
@media(max-width:760px){.ctc-import-downloads{align-items:stretch;width:100%}.ctc-import-csv-link{text-align:center}}

/* v0.5.4 — account readonly fields + multi-course new student */
.ctc-form-grid input:disabled,.ctc-form-grid textarea:disabled,.ctc-form-grid select:disabled{background:#eef1f5!important;color:#68758c!important;border-color:#d9dfe8!important;cursor:not-allowed;box-shadow:none!important}
.ctc-form-grid input:disabled::placeholder{color:#8e99ab}
.ctc-new-student-courses{margin-top:2px}.ctc-new-student-courses-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:10px}.ctc-new-student-courses-head h3{margin:0 0 4px}.ctc-new-student-courses-head p{margin:0;color:var(--ctc-muted);font-size:13px}.ctc-new-course-access-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,320px);gap:18px;align-items:center;padding:15px 16px;border:1px solid #e0e5ed;border-radius:13px;background:#fafbfc;margin-top:10px}.ctc-new-course-check{display:flex!important;flex-direction:row!important;align-items:center!important;gap:12px!important;cursor:pointer}.ctc-new-course-check input{width:18px!important;height:18px;flex:0 0 auto}.ctc-new-course-check span{display:block;min-width:0}.ctc-new-course-check strong,.ctc-new-course-check small{display:block}.ctc-new-course-check strong{font-size:14px;color:var(--ctc-text)}.ctc-new-course-check small{font-size:12px;color:var(--ctc-muted);margin-top:3px;font-weight:400}.ctc-new-course-date{margin:0!important}.ctc-new-course-date small{font-size:11px}.ctc-new-student-panel .ctc-empty{margin-top:10px}
@media(max-width:760px){.ctc-new-course-access-row{grid-template-columns:1fr;gap:12px}.ctc-new-course-date{padding-left:30px}}

/* v0.6.0 — Comunidade */
.ctc-community-back{display:flex;align-items:center;gap:10px;margin:0 4px 12px;padding:10px 12px;border:1px solid rgba(255,255,255,.16);border-radius:11px;color:#fff!important;background:rgba(255,255,255,.07);font-size:13px;font-weight:700}.ctc-community-back:hover{background:rgba(255,255,255,.12)}
.ctc-community-nav-label{display:block;padding:2px 12px 7px;color:#93a6cd;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.ctc-community-top-label{display:flex;align-items:center;gap:9px;color:var(--ctc-text);font-size:15px}.ctc-community-page{max-width:920px;margin:0 auto}.ctc-community-head{margin:4px 0 18px}.ctc-community-head small{font-size:11px;font-weight:800;letter-spacing:.08em;color:var(--ctc-orange)}.ctc-community-head h1{font-size:31px;margin:5px 0 6px;letter-spacing:-.025em}.ctc-community-head p{margin:0;color:var(--ctc-muted);line-height:1.55}.ctc-community-search{height:46px;border:1px solid var(--ctc-line);background:#fff;border-radius:13px;display:flex;align-items:center;gap:10px;padding:0 13px;margin-bottom:16px;box-shadow:0 2px 7px rgba(18,38,75,.03)}.ctc-community-search input{flex:1;border:0;outline:0;background:transparent;min-width:0;color:var(--ctc-text)}.ctc-community-search a{font-size:12px;color:#60708c;font-weight:700}.ctc-community-composer{padding:18px;margin-bottom:18px}.ctc-community-composer-top{display:flex;align-items:center;gap:10px;margin-bottom:13px}.ctc-community-composer-top strong{font-size:15px}.ctc-community-composer form>label{display:flex;align-items:center;gap:10px;font-size:12px;font-weight:700;margin-bottom:9px}.ctc-community-composer select{border:1px solid var(--ctc-line);border-radius:9px;padding:8px 10px;background:#fff;max-width:260px}.ctc-community-topic-chip{display:inline-flex;align-items:center;gap:6px;border-radius:999px;background:#eef2f8;color:#40506c;padding:6px 10px;font-size:11px;font-weight:700;margin-bottom:9px}.ctc-community-composer textarea{width:100%;border:1px solid #dde3ec;border-radius:12px;padding:13px;resize:vertical;outline:none;min-height:100px;color:var(--ctc-text);background:#fff}.ctc-community-composer textarea:focus{border-color:#9babc8;box-shadow:0 0 0 3px rgba(15,48,104,.05)}.ctc-community-composer-actions{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:10px}.ctc-community-composer-actions small{color:var(--ctc-muted)}.ctc-community-feed{display:grid;gap:15px}.ctc-community-post{padding:20px}.ctc-community-post>header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.ctc-community-author{display:flex;align-items:center;gap:11px;min-width:0}.ctc-community-author-line{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.ctc-community-author-line strong{font-size:14px}.ctc-community-author small{display:block;margin-top:3px;color:var(--ctc-muted);font-size:11px}.ctc-community-author small a{color:#425a84;font-weight:700}.ctc-community-post-delete{width:28px;height:28px;border:0;border-radius:50%;background:#f3f5f8;color:#7d899d;cursor:pointer;font-size:17px}.ctc-community-post-delete:hover{background:#ffecec;color:#a53131}.ctc-community-post-body{font-size:15px;line-height:1.7;color:#17243b;margin:17px 0 7px;overflow-wrap:anywhere}.ctc-community-post-body p{margin:0 0 10px}.ctc-community-comments{border-top:1px solid #edf0f4;margin-top:15px;padding-top:12px}.ctc-community-comments>summary{display:flex;align-items:center;gap:7px;cursor:pointer;color:#5f6d83;font-size:12px;font-weight:700;list-style:none}.ctc-community-comments>summary::-webkit-details-marker{display:none}.ctc-community-comments-body{padding-top:13px;display:grid;gap:11px}.ctc-community-comment{display:flex;align-items:flex-start;gap:9px}.ctc-community-comment>div{min-width:0;flex:1}.ctc-community-comment>div>div{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.ctc-community-comment strong{font-size:12px}.ctc-community-comment p{margin:4px 0 3px;font-size:13px;line-height:1.5;color:#34425a}.ctc-community-comment small{font-size:10px;color:#8a95a7}.ctc-level-mini{display:inline-flex;align-items:center;gap:4px;padding:2px 6px;border-radius:999px;background:#f3f5f8;color:#66748c;font-size:9px}.ctc-level-mini i{width:6px;height:6px;border-radius:50%}.ctc-community-comment-form{display:grid;grid-template-columns:32px 1fr auto;gap:8px;align-items:end;margin-top:3px;padding-top:11px;border-top:1px dashed #e5e9ef}.ctc-community-comment-form textarea{width:100%;min-height:42px;border:1px solid #dde3eb;border-radius:10px;padding:9px 10px;resize:vertical}.ctc-community-comment-form .ctc-btn{align-self:end}.ctc-community-mode .ctc-content{background:#f6f7f9;min-height:calc(100vh - 60px)}
.ctc-notification-achievement{border-color:#bfe7ce!important;background:#f0faf4!important}.ctc-notification-achievement .ctc-notification-icon{background:#d9f3e3!important;color:#27854f!important}.ctc-btn-success{background:#2d9a5b;color:#fff}.ctc-achievement-share-form{margin-top:10px}.ctc-achievement-share-form .ctc-btn[disabled]{background:#dfe8e2;color:#728077;opacity:1}
.ctc-section-color-control{border:1px solid #e2e7ee;border-radius:12px;padding:12px;background:#fafbfc}.ctc-section-color-head{display:flex;align-items:center;justify-content:space-between;gap:15px}.ctc-section-color-head input[type=color]{width:46px;height:34px;border:1px solid #dce2ea;border-radius:8px;background:#fff;padding:3px}.ctc-color-presets{display:flex;gap:7px;flex-wrap:wrap;margin-top:9px}.ctc-color-swatch{border:1px solid #dfe4eb;background:#fff;border-radius:9px;padding:5px 8px;display:inline-flex;align-items:center;gap:6px;cursor:pointer;color:#58677f;font-size:10px}.ctc-color-swatch i{width:17px;height:17px;border-radius:5px;background:var(--swatch);border:1px solid rgba(0,0,0,.07)}
.ctc-community-admin-create{max-width:900px}.ctc-community-topic-admin-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:16px}.ctc-community-topic-admin{padding:18px}.ctc-community-admin-search{max-width:850px;margin-bottom:16px}.ctc-community-admin-posts{display:grid;gap:12px;max-width:950px}.ctc-community-admin-post{padding:17px}.ctc-community-admin-post-head{display:flex;align-items:center;gap:10px}.ctc-community-admin-post-head>div{flex:1}.ctc-community-admin-post-head strong,.ctc-community-admin-post-head small{display:block}.ctc-community-admin-post-head small{color:var(--ctc-muted);font-size:11px;margin-top:2px}.ctc-community-admin-post-content{margin:12px 0;line-height:1.55;color:#28364e}.ctc-community-admin-post-content p{margin:0 0 8px}
@media(max-width:900px){.ctc-community-topic-admin-list{grid-template-columns:1fr}.ctc-community-page{max-width:none}.ctc-community-post{padding:17px}.ctc-community-comment-form{grid-template-columns:30px 1fr}.ctc-community-comment-form .ctc-btn{grid-column:2;justify-self:end}}
@media(max-width:560px){.ctc-community-head h1{font-size:26px}.ctc-community-composer-actions{align-items:flex-end}.ctc-community-composer-actions small{display:none}.ctc-community-search{height:auto;min-height:44px;padding:9px 11px}.ctc-community-search input{font-size:13px}.ctc-community-author-line .ctc-level-pill{font-size:9px;padding:3px 6px}.ctc-community-post-body{font-size:14px}.ctc-community-composer{padding:15px}.ctc-community-post{padding:15px}.ctc-section-color-head{align-items:flex-start;flex-direction:column}.ctc-color-swatch span{display:none}}

/* v0.6.1 — comunidade: feed limpo + composer em modal */
.ctc-community-page{max-width:760px;margin:0 auto}
.ctc-community-feed-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin:2px 0 14px}
.ctc-community-feed-head>div{min-width:0}.ctc-community-feed-head small{display:block;font-size:10px;letter-spacing:.08em;font-weight:800;color:#8a96a9;margin-bottom:3px}.ctc-community-feed-head h1{font-size:23px;line-height:1.2;margin:0;color:var(--ctc-text);letter-spacing:-.02em}.ctc-community-feed-head p{margin:5px 0 0;color:var(--ctc-muted);font-size:13px;line-height:1.45}
.ctc-community-create-trigger{border:1px solid #dce2ea;background:#fff;color:#26354f;border-radius:9px;height:38px;padding:0 13px;display:inline-flex;align-items:center;gap:7px;font-weight:700;font-size:12px;cursor:pointer;box-shadow:0 2px 5px rgba(18,38,75,.04);white-space:nowrap}.ctc-community-create-trigger:hover{border-color:#bcc8d9;background:#fafbfd}
.ctc-community-search{height:42px;border-radius:10px;margin-bottom:13px;box-shadow:none}.ctc-community-search input{font-size:13px}
.ctc-community-feed{gap:11px}.ctc-community-post{padding:17px 18px;border-radius:12px;box-shadow:none}.ctc-community-post-body{margin:14px 0 5px;line-height:1.62}.ctc-community-author small a{display:inline-flex;align-items:center;gap:4px}.ctc-community-comments{margin-top:12px;padding-top:10px}.ctc-community-comments>summary{justify-content:flex-start}.ctc-community-comments>summary b{margin-left:auto;color:#445574;font-size:11px;font-weight:750}
.ctc-community-rules-note{display:flex;align-items:center;gap:9px;padding:11px 13px;margin:0 0 12px;border:1px solid #dce5f2;background:#f7f9fc;border-radius:10px;color:#5d6b80;font-size:12px;line-height:1.45}
.ctc-community-rules-note .ctc-icon{color:#385982}
.ctc-community-compose-modal[hidden]{display:none!important}.ctc-community-compose-modal{position:fixed;inset:0;z-index:10010;display:grid;place-items:center;padding:20px}.ctc-community-compose-backdrop{position:absolute;inset:0;background:rgba(10,20,38,.42);backdrop-filter:blur(2px)}.ctc-community-compose-dialog{position:relative;z-index:1;width:min(620px,100%);max-height:min(760px,calc(100vh - 40px));overflow:auto;background:#fff;border:1px solid #e0e5ec;border-radius:14px;box-shadow:0 22px 60px rgba(12,28,55,.22)}.ctc-community-compose-dialog>header{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;padding:18px 20px;border-bottom:1px solid #edf0f4}.ctc-community-compose-dialog>header small{display:block;font-size:9px;letter-spacing:.09em;font-weight:800;color:#8a95a6;margin-bottom:3px}.ctc-community-compose-dialog>header h2{font-size:19px;margin:0}.ctc-community-compose-dialog>header button{border:0;background:#f1f3f6;color:#647188;width:30px;height:30px;border-radius:50%;font-size:20px;line-height:1;cursor:pointer}.ctc-community-compose-dialog>form{padding:18px 20px 20px}.ctc-community-compose-user{display:flex;align-items:center;gap:10px;margin-bottom:15px}.ctc-community-compose-user strong,.ctc-community-compose-user span{display:block}.ctc-community-compose-user strong{font-size:13px}.ctc-community-compose-user span{font-size:10px;color:var(--ctc-muted);margin-top:2px}.ctc-community-compose-dialog label{display:flex;flex-direction:column;gap:6px;font-size:11px;font-weight:750;color:#536178;margin-bottom:11px}.ctc-community-compose-dialog select{height:39px;border:1px solid #dce2ea;border-radius:9px;background:#fff;padding:0 10px;color:var(--ctc-text)}.ctc-community-compose-dialog textarea{width:100%;min-height:180px;border:1px solid #dce2ea;border-radius:10px;padding:13px;resize:vertical;outline:none;color:var(--ctc-text);line-height:1.55}.ctc-community-compose-dialog textarea:focus{border-color:#9aabc5;box-shadow:0 0 0 3px rgba(15,48,104,.05)}.ctc-community-compose-dialog footer{display:flex;justify-content:flex-end;gap:9px;margin-top:14px}.ctc-community-compose-open{overflow:hidden}
.ctc-community-topic-admin.is-system-topic{border-color:#cfdceb;background:#fbfcfe}.ctc-system-topic-badge{display:inline-flex;align-items:center;gap:6px;padding:5px 8px;margin-bottom:13px;border-radius:999px;background:#edf3fb;color:#3b5b85;font-size:10px;font-weight:800}.ctc-community-topic-admin.is-system-topic input[readonly]{background:#eef1f5;color:#66748a}
@media(max-width:700px){.ctc-community-page{max-width:none}.ctc-community-feed-head{align-items:center}.ctc-community-feed-head h1{font-size:21px}.ctc-community-feed-head p{display:none}.ctc-community-create-trigger span{display:none}.ctc-community-create-trigger{width:38px;padding:0;justify-content:center;border-radius:50%}.ctc-community-post{padding:15px}.ctc-community-compose-modal{padding:10px}.ctc-community-compose-dialog{width:100%;max-height:calc(100vh - 20px);border-radius:12px}.ctc-community-compose-dialog>header,.ctc-community-compose-dialog>form{padding-left:16px;padding-right:16px}.ctc-community-compose-dialog textarea{min-height:150px}}

/* v0.7.0 — Plantões, Materiais PDF, PWA desktop e seletor visual de ícones */
.ctc-icon-picker{display:flex;flex-wrap:wrap;gap:8px;margin-top:7px}.ctc-icon-choice{cursor:pointer}.ctc-icon-choice input{position:absolute;opacity:0;pointer-events:none}.ctc-icon-choice>span{width:42px;height:42px;border:1px solid #dce2ea;border-radius:10px;background:#fff;color:#5e6d84;display:grid;place-items:center;transition:.15s ease}.ctc-icon-choice:hover>span{border-color:#aebbd0;background:#f8fafc}.ctc-icon-choice input:checked+span{border-color:var(--ctc-navy);background:#eef3fb;color:var(--ctc-navy);box-shadow:0 0 0 2px rgba(11,34,84,.08)}.ctc-icon-choice b{font-size:20px;font-weight:500}.ctc-field-label{display:block;font-size:13px;font-weight:600;margin-bottom:4px}.ctc-community-topic-admin .ctc-icon-picker{max-width:280px}
.ctc-admin-office-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.ctc-admin-office-card{padding:0;overflow:hidden}.ctc-admin-office-cover{height:145px;background:#eef2f6 center/cover no-repeat;display:grid;place-items:center;color:#63728a}.ctc-admin-office-body{padding:16px}.ctc-admin-office-body h3{margin:8px 0 4px;font-size:16px}.ctc-admin-office-body>small{color:var(--ctc-muted)}.ctc-admin-office-body details>summary{list-style:none;display:inline-flex}.ctc-admin-office-body details>summary::-webkit-details-marker{display:none}
.ctc-material-course-filter{max-width:520px}.ctc-material-course-filter label{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:700}.ctc-material-course-filter select{flex:1;min-width:260px;border:1px solid #d8dee8;border-radius:10px;padding:10px 12px;background:#fff}.ctc-material-admin-create{align-items:start;margin-bottom:22px}.ctc-pdf-admin-tree{display:grid;gap:10px;max-width:980px}.ctc-pdf-admin-folder{margin-left:calc(var(--folder-depth) * 18px);border:1px solid #dde3eb;border-radius:13px;background:#fff;overflow:hidden}.ctc-pdf-admin-folder>details>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px;cursor:pointer;list-style:none;background:#f9fafc}.ctc-pdf-admin-folder>details>summary::-webkit-details-marker{display:none}.ctc-pdf-admin-folder>details>summary>span{display:flex;align-items:center;gap:9px;min-width:0}.ctc-pdf-admin-folder>details>summary small{color:var(--ctc-muted);font-size:10px}.ctc-pdf-admin-folder>details>summary>b{font-size:10px;color:#66748b}.ctc-pdf-admin-folder-body{padding:14px}.ctc-pdf-admin-file{border:1px solid #e4e8ee;border-radius:10px;margin:10px 0;background:#fafbfc}.ctc-pdf-admin-file>summary{display:flex;align-items:center;gap:9px;padding:10px 12px;cursor:pointer;list-style:none}.ctc-pdf-admin-file>summary::-webkit-details-marker{display:none}.ctc-pdf-admin-file>summary>span{flex:1}.ctc-pdf-admin-file strong,.ctc-pdf-admin-file small{display:block}.ctc-pdf-admin-file small{color:var(--ctc-muted);font-size:10px;margin-top:2px}.ctc-pdf-admin-file>summary>b{font-size:10px;color:#66748b}.ctc-pdf-admin-file form{padding:12px;border-top:1px solid #e7ebf0}
.ctc-office-hours-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.ctc-office-hour-card{background:#fff;border:1px solid var(--ctc-line);border-radius:16px;overflow:hidden;box-shadow:var(--ctc-shadow);transition:.15s ease}.ctc-office-hour-card:hover{transform:translateY(-2px);box-shadow:0 10px 26px rgba(16,38,75,.10)}.ctc-office-hour-cover{height:190px;background:linear-gradient(135deg,#dce4ef,#eef2f7) center/cover no-repeat;position:relative;display:grid;place-items:center;color:#fff}.ctc-office-hour-cover>span:not(.ctc-office-latest-badge){width:54px;height:54px;border-radius:50%;background:rgba(11,34,84,.82);display:grid;place-items:center}.ctc-office-hour-cover>b{position:absolute;left:12px;bottom:12px;display:inline-flex;align-items:center;gap:6px;background:rgba(11,34,84,.88);color:#fff;padding:6px 9px;border-radius:999px;font-size:10px}.ctc-office-hour-copy{padding:16px}.ctc-office-hour-copy small{color:var(--ctc-orange);font-weight:800;font-size:10px}.ctc-office-hour-copy h2{font-size:17px;margin:6px 0 7px}.ctc-office-hour-copy p{margin:0;color:var(--ctc-muted);font-size:12px;line-height:1.5}.ctc-office-hour-player-page{max-width:960px;margin:0 auto}.ctc-office-hour-meta{margin-top:18px}.ctc-office-hour-meta small{color:var(--ctc-muted)}.ctc-office-hour-meta h1{font-size:28px;margin:5px 0 10px}.ctc-office-hour-meta>div{color:#596880;line-height:1.65}
.ctc-material-library{display:grid;gap:18px;max-width:980px}.ctc-material-course{padding:0;overflow:hidden}.ctc-material-course-head{display:flex;align-items:center;gap:12px;padding:18px 20px;border-bottom:1px solid #e8ecf1;background:#fbfcfd}.ctc-material-course-head>span{width:38px;height:38px;border-radius:10px;background:#eef3fb;color:var(--ctc-navy);display:grid;place-items:center}.ctc-material-course-head h2{margin:0;font-size:18px}.ctc-material-course-head p{margin:3px 0 0;color:var(--ctc-muted);font-size:11px}.ctc-material-folder-tree{padding:12px 18px 18px}.ctc-material-folder{border-bottom:1px solid #edf0f4}.ctc-material-folder:last-child{border-bottom:0}.ctc-material-folder>summary{display:grid;grid-template-columns:30px 1fr auto;gap:9px;align-items:center;padding:12px 4px;cursor:pointer;list-style:none}.ctc-material-folder>summary::-webkit-details-marker{display:none}.ctc-material-folder>summary strong,.ctc-material-folder>summary small{display:block}.ctc-material-folder>summary small{color:var(--ctc-muted);font-size:10px;margin-top:2px}.ctc-material-folder>summary>b{transition:transform .15s ease;color:#8290a4}.ctc-material-folder[open]>summary>b{transform:rotate(90deg)}.ctc-material-folder-content{padding:0 0 8px 38px}.ctc-material-folder-content .ctc-material-folder{margin-left:8px}.ctc-material-file-row{display:grid;grid-template-columns:34px 1fr auto;gap:10px;align-items:center;padding:10px 11px;margin:6px 0;border:1px solid #e2e7ed;border-radius:10px;background:#fff}.ctc-material-file-row>span:first-child{width:34px;height:34px;border-radius:9px;background:#fff2ea;color:var(--ctc-orange);display:grid;place-items:center}.ctc-material-file-row strong,.ctc-material-file-row small{display:block}.ctc-material-file-row strong{font-size:13px}.ctc-material-file-row small{font-size:10px;color:var(--ctc-muted);margin-top:2px}.ctc-material-file-row>b{font-size:11px;color:#415675}.ctc-material-viewer-page{max-width:1100px;margin:0 auto}.ctc-material-viewer-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:16px}.ctc-material-viewer-head small{display:block;color:var(--ctc-orange);font-weight:700}.ctc-material-viewer-head h1{margin:4px 0 4px;font-size:27px}.ctc-material-viewer-head p{margin:0;color:var(--ctc-muted)}.ctc-material-viewer-actions{display:flex;gap:8px;flex-wrap:wrap}.ctc-pdf-viewer{height:min(78vh,920px);min-height:620px;border:1px solid #dce2ea;border-radius:15px;overflow:hidden;background:#eef1f5}.ctc-pdf-viewer iframe{width:100%;height:100%;border:0;background:#fff}
@media(max-width:980px){.ctc-admin-office-grid,.ctc-office-hours-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ctc-material-viewer-head{align-items:flex-start;flex-direction:column}.ctc-material-viewer-actions{width:100%}}
@media(max-width:700px){.ctc-admin-office-grid,.ctc-office-hours-grid{grid-template-columns:1fr}.ctc-material-admin-create{grid-template-columns:1fr}.ctc-pdf-admin-folder{margin-left:0}.ctc-material-folder-content{padding-left:20px}.ctc-material-file-row{grid-template-columns:34px 1fr}.ctc-material-file-row>b{grid-column:2}.ctc-pdf-viewer{min-height:520px;height:70vh}}
/* v0.7.4 — Android PWA rollback + mobile overflow guard */
@media(max-width:640px){
  .ctc-content{overflow-x:hidden;max-width:100vw}
  .ctc-page-head,.ctc-mobile-page-intro,.ctc-mobile-guides,.ctc-mobile-guide,.ctc-mobile-guide-body,.ctc-mobile-intro-steps,.ctc-mobile-intro-step,.ctc-step-list,.ctc-step-list li{min-width:0;max-width:100%;width:100%}
  .ctc-mobile-intro-step p,.ctc-step-list p,.ctc-mobile-guide-note,.ctc-mobile-help,.ctc-page-head p{min-width:0;overflow-wrap:anywhere;word-break:normal}
  .ctc-guide-art,.ctc-guide-browser{max-width:100%;min-width:0}
}

/* v0.7.5 — mobile PWA page: never overflow the viewport */
@media (max-width:760px){
  html,body.ctc-student-body{max-width:100%;overflow-x:hidden!important}
  .ctc-student-body .ctc-shell,.ctc-student-body .ctc-main,.ctc-student-body .ctc-content{min-width:0;max-width:100%;overflow-x:hidden}
  .ctc-mobile-page-intro,.ctc-mobile-guides,.ctc-mobile-guide,.ctc-mobile-guide-body,.ctc-mobile-intro-step,.ctc-step-list li{min-width:0!important;max-width:100%!important}
  .ctc-mobile-page-intro p,.ctc-mobile-guide p,.ctc-mobile-guide small,.ctc-step-list p,.ctc-mobile-help{overflow-wrap:anywhere;word-break:normal;min-width:0}
  .ctc-guide-art,.ctc-guide-browser{max-width:100%!important;min-width:0!important}
}


/* v0.7.6 — exact v0.3.4 mobile install presentation restored */
/* v0.3.4 — mobile install page redesign */
.ctc-mobile-page-intro{max-width:980px;padding:24px 26px}.ctc-mobile-intro-head{display:flex;align-items:center;gap:10px;font-size:25px;font-weight:800;margin-bottom:18px}.ctc-mobile-intro-head .ctc-icon{color:var(--ctc-navy)}.ctc-mobile-intro-steps{display:grid;gap:14px}.ctc-mobile-intro-step{display:grid;grid-template-columns:40px 1fr;gap:14px;align-items:start}.ctc-mobile-intro-step span,.ctc-step-list li>span{width:30px;height:30px;border-radius:999px;display:grid;place-items:center;background:#dff2ea;color:#1d9b67;font-weight:800;font-size:14px}.ctc-mobile-intro-step p,.ctc-step-list p{margin:0;line-height:1.7;color:#20304a}.ctc-mobile-guides{max-width:980px;display:grid;gap:18px;margin-top:18px}.ctc-mobile-guide{padding:0;overflow:hidden}.ctc-mobile-guide-head{padding:24px 24px 8px}.ctc-mobile-guide-head h2{margin:0;display:flex;align-items:center;gap:10px;font-size:30px;letter-spacing:-.02em}.ctc-mobile-guide-head .ctc-icon{color:#20304a}.ctc-mobile-guide-body{padding:0 24px 24px}.ctc-mobile-install-action{margin:8px 0 18px}.ctc-mobile-install-btn{background:#23b475;color:#fff;font-size:16px;padding:14px 18px;border-radius:10px;box-shadow:none}.ctc-mobile-install-btn:hover{background:#1ea468}.ctc-mobile-guide-note{margin:0 0 18px;color:#55657f;line-height:1.65}.ctc-step-list{list-style:none;padding:0;margin:0;display:grid;gap:12px}.ctc-step-list li{display:grid;grid-template-columns:30px 1fr;gap:14px;align-items:start}.ctc-step-list li small{color:#68758c}.ctc-mobile-help{display:block;margin-top:14px;color:#68758c;line-height:1.6}.ctc-guide-art{margin-top:18px;border:1px solid #dde4ec;border-radius:16px;background:#f7f8fb;padding:20px;display:grid;place-items:center;min-height:180px}.ctc-guide-browser{width:min(430px,100%);background:#fff;border:1px solid #dce2ea;border-radius:14px;box-shadow:0 8px 20px rgba(12,33,69,.06);overflow:hidden;position:relative}.ctc-guide-browser-bar{height:40px;border-bottom:1px solid #e7ebf0;display:flex;align-items:center;gap:10px;padding:0 12px;background:#fcfcfd}.ctc-guide-browser-bar i{width:14px;height:14px;border-radius:50%;border:2px solid #8c9ab1;display:inline-block}.ctc-guide-browser-bar span{flex:1;height:20px;border-radius:7px;background:#eef1f4;color:#728096;font-size:11px;display:flex;align-items:center;padding:0 10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ctc-guide-browser-bar b{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;border:2px solid #23b475;background:#eefaf4}.ctc-guide-browser-bar b em{display:block;width:3px;height:3px;border-radius:50%;background:#31405b;margin:1px 0}.ctc-guide-browser-content{padding:16px}.ctc-guide-browser-content u{display:block;height:8px;border-radius:999px;background:#ebedf1;margin-bottom:12px;text-decoration:none}.ctc-guide-browser-content u:nth-child(1){width:78%}.ctc-guide-browser-content u:nth-child(2){width:64%}.ctc-guide-browser-content u:nth-child(3){width:72%}.ctc-guide-browser-content div{height:72px;border-radius:10px;background:#f0f2f6}.ctc-guide-browser.ios .ctc-guide-browser-bar b{border-color:#cfd7e2;background:#fff}.ctc-guide-ios-share{position:absolute;left:50%;bottom:12px;transform:translateX(-50%);width:28px;height:28px;border-radius:8px;border:2px solid #23b475;color:#23b475;background:#fff;display:grid;place-items:center}.ctc-guide-art.ios{padding-bottom:42px}.ctc-guide-art.ios:after{content:"";position:absolute}.ctc-mobile-guide.is-android .ctc-guide-art{background:#f8fbf9}.ctc-mobile-guide.is-ios .ctc-guide-art{background:#f7f8fb}
@media(max-width:900px){.ctc-mobile-guide-head h2{font-size:26px}}
@media(max-width:640px){.ctc-mobile-page-intro{padding:20px}.ctc-mobile-intro-head{font-size:21px}.ctc-mobile-guide-head{padding:20px 20px 6px}.ctc-mobile-guide-head h2{font-size:24px}.ctc-mobile-guide-body{padding:0 20px 20px}.ctc-guide-art{padding:14px;min-height:160px}.ctc-guide-browser-content div{height:58px}}


@media(max-width:900px){
  html,body.ctc-app-body{max-width:100%;overflow-x:hidden!important}
  .ctc-main,.ctc-content,.ctc-page-head,.ctc-mobile-page-intro,.ctc-mobile-guides,.ctc-mobile-guide,.ctc-mobile-guide-body,.ctc-mobile-intro-step,.ctc-step-list,.ctc-step-list li,.ctc-step-list li p{min-width:0!important;max-width:100%!important}
  .ctc-mobile-intro-step p,.ctc-step-list li p,.ctc-mobile-guide-note,.ctc-mobile-help{overflow-wrap:anywhere;word-break:normal}
}

/* v0.8.0 — community moderation + sequential tests */
.ctc-community-comment-copy{min-width:0;flex:1}.ctc-community-comment-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.ctc-community-comment-delete{border:0;background:#f1f4f8;color:#7f8ba0;width:25px;height:25px;border-radius:50%;display:grid;place-items:center;cursor:pointer;font-size:18px;line-height:1}.ctc-community-comment-delete:hover{background:#ffeaea;color:#c53b3b}.ctc-community-admin-comments{margin-top:14px;border-top:1px solid #e8edf3;padding-top:11px}.ctc-community-admin-comments>summary{display:flex;align-items:center;gap:7px;cursor:pointer;font-size:13px;font-weight:700;color:#3e4c65}.ctc-community-admin-comments>summary span{margin-left:auto;color:#6d7b91;font-weight:500}.ctc-community-admin-comments>div{padding-top:10px}.ctc-community-admin-comment{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:10px;align-items:start;padding:12px 0;border-top:1px solid #eef1f5}.ctc-community-admin-comment:first-child{border-top:0}.ctc-community-admin-comment strong{font-size:13px}.ctc-community-admin-comment p{margin:5px 0 4px;line-height:1.5}.ctc-community-admin-comment small{color:var(--ctc-muted)}

.ctc-add-content-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.ctc-add-quiz-box>summary{color:#153e78}.ctc-quiz-edit{border-color:#d9e3f1}.ctc-quiz-admin-builder{margin-top:8px;border-top:1px solid #e7ebf0;padding-top:16px}.ctc-quiz-admin-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:12px}.ctc-quiz-admin-head h4{margin:0 0 3px}.ctc-quiz-admin-head p{margin:0;color:var(--ctc-muted);font-size:12px}.ctc-quiz-question-admin{border:1px solid #dce4ee;background:#f9fbfd;border-radius:14px;padding:16px;margin:12px 0;display:grid;gap:13px}.ctc-quiz-question-admin-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.ctc-quiz-options-admin{display:grid;grid-template-columns:1fr 1fr;gap:10px}.ctc-quiz-options-admin label{display:flex;flex-direction:column;gap:5px}.ctc-quiz-options-admin label:last-child{grid-column:1/-1}.ctc-quiz-options-admin span{font-size:12px;font-weight:700;color:#52617a}

.ctc-quiz-shell{border:1px solid #dfe6ef;border-radius:20px;background:#fff;box-shadow:var(--ctc-shadow);overflow:hidden;margin-bottom:18px}.ctc-quiz-empty{min-height:350px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#64718a;padding:35px}.ctc-quiz-empty h2{color:var(--ctc-text);margin:10px 0 4px}.ctc-quiz-intro{display:flex;gap:13px;align-items:flex-start;padding:19px 22px;background:#f2f7ff;border-bottom:1px solid #dae5f5}.ctc-quiz-intro>span{width:42px;height:42px;border-radius:50%;background:#fff;color:var(--ctc-navy);display:grid;place-items:center;flex:0 0 auto}.ctc-quiz-intro strong{font-size:15px}.ctc-quiz-intro p{margin:4px 0 0;color:#596981;line-height:1.55;font-size:13px}.ctc-quiz-runner{padding:25px}.ctc-quiz-progress-head{display:flex;align-items:center;gap:15px;margin-bottom:25px;color:#5c6a80;font-size:13px}.ctc-quiz-progress-head>span{white-space:nowrap}.ctc-quiz-progress{height:7px;background:#e9edf3;border-radius:99px;overflow:hidden;flex:1}.ctc-quiz-progress i{display:block;height:100%;background:var(--ctc-orange);border-radius:99px;transition:width .2s ease}.ctc-quiz-question-card>small{font-size:11px;letter-spacing:.08em;color:var(--ctc-orange);font-weight:800}.ctc-quiz-question-card h2{font-size:24px;line-height:1.35;margin:8px 0 20px}.ctc-quiz-question-image{display:block;max-width:min(100%,640px);max-height:390px;object-fit:contain;border-radius:14px;margin:0 auto 22px;background:#f4f6f9}.ctc-quiz-answers{display:grid;gap:10px}.ctc-quiz-answers label{display:flex;align-items:center;gap:12px;padding:13px 15px;border:1px solid #dfe5ed;border-radius:13px;cursor:pointer;background:#fff;transition:.15s ease}.ctc-quiz-answers label:hover{border-color:#9cb0ce;background:#f8faff}.ctc-quiz-answers label:has(input:checked){border-color:var(--ctc-navy);box-shadow:0 0 0 2px rgba(11,34,84,.07);background:#f6f8fc}.ctc-quiz-answers input{position:absolute;opacity:0;pointer-events:none}.ctc-quiz-letter{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#edf1f6;color:#40516d;font-weight:800;flex:0 0 auto}.ctc-quiz-answers label:has(input:checked) .ctc-quiz-letter{background:var(--ctc-navy);color:#fff}.ctc-quiz-runner-message{height:22px;color:#b54936;font-size:12px;font-weight:600;margin-top:10px}.ctc-quiz-nav{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #edf0f4;margin-top:12px;padding-top:17px}.ctc-quiz-nav span{flex:1}.ctc-quiz-completion-badge{display:inline-flex;align-items:center;gap:7px;padding:9px 12px;border-radius:10px;background:#eff3f8;color:#52617a;font-size:13px;font-weight:700}.ctc-quiz-completion-badge.done{background:#e8f6ed;color:#27714a}.ctc-quiz-result{padding:25px}.ctc-quiz-result-score{display:flex;align-items:center;gap:14px;padding:18px;border-radius:16px;background:#edf8f1}.ctc-quiz-result-score>span{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#2b8b57}.ctc-quiz-result-score small,.ctc-quiz-result-score strong,.ctc-quiz-result-score p{display:block;margin:0}.ctc-quiz-result-score small{font-size:10px;font-weight:800;letter-spacing:.08em;color:#5f7b6a}.ctc-quiz-result-score strong{font-size:24px;margin-top:3px}.ctc-quiz-result-score p{font-size:13px;color:#5e7366;margin-top:2px}.ctc-quiz-result-note{margin:17px 0;padding:15px 17px;border:1px solid #dfe6ef;border-radius:13px}.ctc-quiz-result-note strong,.ctc-quiz-result-note span{display:block}.ctc-quiz-result-note span{font-size:13px;color:var(--ctc-muted);margin-top:4px;line-height:1.5}.ctc-quiz-perfect{padding:18px;border-radius:13px;background:#fff7e9;color:#75511b;font-weight:700}.ctc-quiz-review h3{margin:22px 0 10px}.ctc-quiz-review article{display:grid;grid-template-columns:34px 1fr;gap:12px;border-top:1px solid #e8edf3;padding:16px 0}.ctc-quiz-review-number{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#f1f3f6;font-weight:800}.ctc-quiz-review h4{margin:3px 0 9px;font-size:15px}.ctc-quiz-review img{max-width:360px;max-height:220px;object-fit:contain;border-radius:10px;display:block;margin:8px 0}.ctc-quiz-review p{margin:6px 0;padding:9px 11px;border-radius:9px;font-size:13px}.ctc-quiz-review p.wrong{background:#fff0f0;color:#8b3d3d}.ctc-quiz-review p.right{background:#eaf7ef;color:#2c6c49}.ctc-quiz-result-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:18px}

@media(max-width:760px){.ctc-add-content-grid{grid-template-columns:1fr}.ctc-quiz-options-admin{grid-template-columns:1fr}.ctc-quiz-options-admin label:last-child{grid-column:auto}.ctc-community-admin-comment{grid-template-columns:32px minmax(0,1fr)}.ctc-community-admin-comment>form{grid-column:2}.ctc-quiz-runner,.ctc-quiz-result{padding:18px}.ctc-quiz-question-card h2{font-size:20px}.ctc-quiz-result-actions{flex-direction:column}.ctc-quiz-result-actions .ctc-btn{width:100%}.ctc-quiz-nav{flex-wrap:wrap}.ctc-quiz-nav span{display:none}.ctc-quiz-nav .ctc-btn{flex:1}.ctc-quiz-intro{padding:16px}.ctc-quiz-progress-head{align-items:flex-start;flex-direction:column;gap:8px}.ctc-quiz-progress{width:100%}}

/* v0.8.1 — quiz last-step CTA */
.ctc-quiz-nav [hidden]{display:none!important}

/* v0.8.2 — Plantões premium com acesso por curso */
.ctc-office-access-settings{margin-bottom:18px;border-color:#d9e2f0;background:linear-gradient(180deg,#fff 0%,#fbfcff 100%)}
.ctc-office-access-settings-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:16px;border-bottom:1px solid #e8edf4}.ctc-office-access-settings-head>div{display:flex;align-items:flex-start;gap:13px}.ctc-office-access-settings-head h2{margin:0 0 4px;font-size:19px}.ctc-office-access-settings-head p{margin:0;color:var(--ctc-muted);line-height:1.5}.ctc-office-premium-icon{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:#edf3ff;color:var(--ctc-navy);flex:0 0 auto}.ctc-office-access-save{align-self:end}.ctc-office-simple-form{border-color:#dbe3ee}.ctc-office-simple-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}.ctc-office-simple-head h2{margin:0 0 5px}.ctc-office-simple-head p{margin:0;color:var(--ctc-muted)}.ctc-office-simple-head>.ctc-icon{color:#9aa8bc}
.ctc-admin-office-cover{position:relative;background-size:cover;background-position:center}.ctc-admin-office-cover:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(5,21,52,.38));pointer-events:none}.ctc-office-youtube-badge{position:absolute;left:11px;bottom:10px;z-index:2;display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:999px;background:rgba(7,26,61,.88);color:#fff;font-size:10px;font-weight:700}
.ctc-office-premium-lock{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(250px,.65fr);gap:28px;align-items:center;margin:0 0 26px;padding:34px 36px;border-radius:24px;background:linear-gradient(135deg,#071d45 0%,#0d2e68 58%,#163d7c 100%);color:#fff;box-shadow:0 18px 46px rgba(10,34,81,.18)}.ctc-office-premium-lock.compact{grid-template-columns:1fr;max-width:900px;margin:14px auto 0}.ctc-office-premium-glow{position:absolute;width:330px;height:330px;border-radius:50%;right:-110px;top:-170px;background:radial-gradient(circle,rgba(255,122,29,.3),rgba(255,122,29,0) 67%);pointer-events:none}.ctc-office-premium-copy{position:relative;z-index:2;max-width:690px}.ctc-office-premium-eyebrow{display:inline-flex;align-items:center;gap:7px;font-size:11px;font-weight:800;letter-spacing:.09em;color:#ffb37b;margin-bottom:12px}.ctc-office-premium-copy h2{font-size:29px;line-height:1.12;margin:0 0 11px;letter-spacing:-.02em}.ctc-office-premium-copy p{margin:0;color:#dbe5f5;line-height:1.65;font-size:14px;max-width:650px}.ctc-office-premium-course{display:flex;align-items:center;gap:9px;margin-top:17px;color:#eef4ff;font-size:13px}.ctc-office-premium-course .ctc-icon{color:#ff9b54}.ctc-office-premium-cta{margin-top:20px;padding:12px 17px;box-shadow:0 8px 22px rgba(0,0,0,.15)}.ctc-office-premium-visual{position:relative;z-index:2;min-height:170px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.16);border-radius:20px;background:linear-gradient(145deg,rgba(255,255,255,.12),rgba(255,255,255,.04));backdrop-filter:blur(4px)}.ctc-office-premium-visual>div{display:grid;justify-items:center;text-align:center}.ctc-office-premium-visual .ctc-icon{color:#ff9b54;margin-bottom:10px}.ctc-office-premium-visual span{font-weight:800;font-size:16px}.ctc-office-premium-visual small{color:#bfcde3;margin-top:4px}
.ctc-office-hours-grid.is-locked .ctc-office-hour-card{cursor:default;transform:none}.ctc-office-hour-card.locked{position:relative}.ctc-office-hour-card.locked:hover{transform:none;box-shadow:var(--ctc-shadow)}.ctc-office-hour-card.locked .ctc-office-hour-cover{filter:saturate(.78)}.ctc-office-card-shade{position:absolute;inset:0;background:rgba(8,27,63,.28);z-index:1}.ctc-office-lock-badge{z-index:2!important;background:rgba(8,27,63,.9)!important}.ctc-office-hour-card.locked .ctc-office-hour-copy p{margin-top:6px}.ctc-office-hour-cover{background-size:cover;background-position:center}
@media(max-width:820px){.ctc-office-premium-lock{grid-template-columns:1fr;padding:27px}.ctc-office-premium-visual{display:none}.ctc-office-premium-copy h2{font-size:25px}.ctc-office-access-settings-head{flex-direction:column}.ctc-office-access-save{align-self:auto}}
@media(max-width:520px){.ctc-office-premium-lock{padding:23px 20px;border-radius:19px}.ctc-office-premium-copy h2{font-size:22px}.ctc-office-premium-cta{width:100%}.ctc-office-access-settings{padding:18px}.ctc-office-simple-form{padding:18px}}

/* v0.8.3 — ADM desktop sidebar: keep header/user/logout visible and scroll menu items */
@media (min-width:901px){
  .ctc-admin-body .ctc-sidebar{overflow:visible;min-height:0}
  .ctc-admin-body .ctc-sidebar .ctc-nav{
    flex:1 1 auto;
    min-height:0;
    overflow-y:auto;
    overflow-x:hidden;
    padding-right:4px;
    overscroll-behavior:contain;
    scrollbar-width:thin;
    scrollbar-color:rgba(255,255,255,.28) transparent;
  }
  .ctc-admin-body .ctc-sidebar .ctc-nav::-webkit-scrollbar{width:5px}
  .ctc-admin-body .ctc-sidebar .ctc-nav::-webkit-scrollbar-track{background:transparent}
  .ctc-admin-body .ctc-sidebar .ctc-nav::-webkit-scrollbar-thumb{background:rgba(255,255,255,.24);border-radius:99px}
  .ctc-admin-body .ctc-sidebar .ctc-nav::-webkit-scrollbar-thumb:hover{background:rgba(255,255,255,.38)}
  .ctc-admin-body .ctc-sidebar-bottom{flex:0 0 auto;margin-top:8px}
}

/* v0.8.4 — Plantões protegidos */
.ctc-office-youtube-player{position:relative}.ctc-office-player-note{margin:8px 2px 0;color:var(--ctc-muted);font-size:11px}.ctc-office-hour-player-page .ctc-player iframe,.ctc-office-hour-player-page .ctc-player #ctcOfficeHourPlayer{width:100%;height:100%;border:0}


/* v0.9.0 — importação de curso + destaque do plantão mais recente */
.ctc-course-import-box{margin-bottom:20px}.ctc-course-import-columns{margin-top:18px;padding:15px 16px;border:1px solid #e2e7ee;border-radius:14px;background:#f8fafc}.ctc-course-import-columns>strong{display:block;margin-bottom:10px}.ctc-course-import-columns>div{display:flex;flex-wrap:wrap;gap:7px}.ctc-course-import-columns span{display:inline-flex;padding:6px 9px;border-radius:999px;background:#fff;border:1px solid #dce3ec;font-size:12px;color:#44536b}.ctc-course-import-columns small{display:block;margin-top:10px;color:var(--ctc-muted);line-height:1.5}.ctc-course-import-box input[type=file]{width:100%;border:1px solid #d8dee8;border-radius:10px;padding:10px;background:#fff}
.ctc-office-latest-badge{position:absolute!important;z-index:4;left:12px!important;top:12px!important;bottom:auto!important;width:auto!important;height:auto!important;border-radius:999px!important;display:inline-flex!important;align-items:center!important;gap:6px!important;padding:7px 10px!important;background:linear-gradient(180deg,#fff4b5,#f7d75f)!important;border:1px solid rgba(143,108,0,.22)!important;box-shadow:0 5px 15px rgba(76,57,0,.18)!important;color:#6d5200!important;font-size:10px!important;font-weight:800!important;line-height:1!important;white-space:nowrap}.ctc-office-latest-badge .ctc-icon{width:13px;height:13px}
@media(max-width:640px){.ctc-course-import-columns>div{gap:6px}.ctc-course-import-columns span{font-size:11px}.ctc-office-latest-badge{left:10px!important;top:10px!important;padding:6px 8px!important;font-size:9px!important}}

/* v0.9.3 — sessões recolhidas com capa + navegação sequencial */
.ctc-student-section-panel{background:#fff;border:1px solid var(--ctc-line);border-radius:18px;box-shadow:var(--ctc-shadow);overflow:hidden;margin-bottom:18px}
.ctc-student-section-panel>summary{list-style:none;cursor:pointer;background:var(--section-bg,#fff);display:grid;grid-template-columns:minmax(0,1fr) 36px;gap:16px;align-items:center;padding:20px}
.ctc-student-section-panel>summary::-webkit-details-marker{display:none}
.ctc-student-section-panel>summary.has-cover{grid-template-columns:minmax(210px,260px) minmax(0,1fr) 36px;padding:14px}
.ctc-student-section-cover{display:block;width:100%;aspect-ratio:16/9;background:center/cover no-repeat;border-radius:13px;border:1px solid rgba(15,48,104,.08)}
.ctc-student-section-summary-copy{min-width:0;display:flex;flex-direction:column;gap:6px}
.ctc-student-section-title-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-width:0}
.ctc-student-section-title-row>strong{font-size:23px;line-height:1.15;color:var(--ctc-text)}
.ctc-student-section-summary-copy>small{color:var(--ctc-muted);font-size:13px;line-height:1.45}
.ctc-student-section-summary-copy>em{font-style:normal;color:#7c889b;font-size:12px;font-weight:650}
.ctc-student-section-chevron{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:rgba(15,48,104,.06);color:var(--ctc-navy);font-size:18px;transition:transform .18s ease}
.ctc-student-section-panel[open]>.ctc-student-section-summary .ctc-student-section-chevron{transform:rotate(180deg)}
.ctc-student-section-content{padding:6px 20px 20px;border-top:1px solid rgba(15,48,104,.07)}
.ctc-student-section-panel.locked>.ctc-student-section-summary{opacity:.78}
.ctc-student-module{margin-top:10px}
.ctc-student-module>summary>span{transition:transform .18s ease}
.ctc-student-module[open]>summary>span{transform:rotate(180deg)}
.ctc-student-lesson-list>a.locked{background:#f7f8fa;border-color:#e5e9ef;color:#68758c}
.ctc-student-lesson-list>a.locked .ctc-lesson-state{background:#eef1f5;color:#7b8799}
.ctc-student-lesson-list>a.locked>i{color:#9ba5b4}
.ctc-lesson-nav button[data-next-locked][disabled]{opacity:.55}
@media(max-width:720px){
  .ctc-student-section-panel>summary.has-cover{grid-template-columns:minmax(0,1fr) 34px;gap:12px;padding:12px}
  .ctc-student-section-panel>summary.has-cover .ctc-student-section-cover{grid-column:1/-1}
  .ctc-student-section-panel>summary.has-cover .ctc-student-section-summary-copy{grid-column:1}
  .ctc-student-section-panel>summary.has-cover .ctc-student-section-chevron{grid-column:2;grid-row:2}
  .ctc-student-section-title-row>strong{font-size:20px}
  .ctc-student-section-content{padding:4px 12px 14px}
}

/* v0.9.4 — course actions, tutorial and community video embeds */
.ctc-course-card-actions{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:9px;margin-top:13px}.ctc-course-card-actions .ctc-btn{min-width:0;text-align:center;white-space:nowrap}.ctc-watch-requirement.completed{display:none!important}
.ctc-platform-tutorial{margin:0 0 26px;padding:20px}.ctc-platform-tutorial-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:15px}.ctc-platform-tutorial-head small{display:block;font-size:10px;font-weight:800;letter-spacing:.08em;color:var(--ctc-orange);margin-bottom:4px}.ctc-platform-tutorial-head h2{margin:0;font-size:21px}.ctc-tutorial-dismiss{display:inline-flex;align-items:center;gap:7px;font-size:12px;color:#66748b;white-space:nowrap;cursor:pointer}.ctc-tutorial-dismiss input{width:16px;height:16px}.ctc-platform-tutorial-player,.ctc-tutorial-modal-player{position:relative;width:100%;aspect-ratio:16/9;background:#0a1020;border-radius:14px;overflow:hidden}.ctc-platform-tutorial-player iframe,.ctc-tutorial-modal-player iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.ctc-account-tutorial-card{max-width:770px;margin:18px auto 0;display:flex;align-items:center;justify-content:space-between;gap:18px}.ctc-account-tutorial-card strong,.ctc-account-tutorial-card small{display:block}.ctc-account-tutorial-card small{color:var(--ctc-muted);margin-top:4px}.ctc-tutorial-modal[hidden]{display:none!important}.ctc-tutorial-modal{position:fixed;inset:0;z-index:10020;display:grid;place-items:center;padding:20px}.ctc-tutorial-backdrop{position:absolute;inset:0;background:rgba(9,19,36,.55);backdrop-filter:blur(3px)}.ctc-tutorial-dialog{position:relative;z-index:1;width:min(880px,100%);background:#fff;border:1px solid #e0e5ed;border-radius:16px;box-shadow:0 24px 70px rgba(10,25,50,.28);overflow:hidden}.ctc-tutorial-dialog>header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:17px 20px;border-bottom:1px solid #edf0f4}.ctc-tutorial-dialog>header small{display:block;font-size:9px;letter-spacing:.09em;font-weight:800;color:#8a95a7;margin-bottom:3px}.ctc-tutorial-dialog>header h2{margin:0;font-size:20px}.ctc-tutorial-dialog>header button{border:0;background:#f1f3f6;color:#647188;width:31px;height:31px;border-radius:50%;font-size:21px;cursor:pointer}.ctc-tutorial-modal-player{border-radius:0}.ctc-tutorial-open{overflow:hidden}
.ctc-community-video{margin:14px 0 8px;border-radius:13px;overflow:hidden;background:#0b0d12;aspect-ratio:16/9}.ctc-community-video iframe{display:block;width:100%;height:100%;border:0}.ctc-community-youtube-preview[hidden]{display:none!important}.ctc-community-youtube-preview{margin:10px 0 0}.ctc-community-youtube-compose{display:flex;align-items:center;gap:11px;border:1px solid #dce3ec;background:#f7f9fb;border-radius:11px;padding:8px}.ctc-community-youtube-compose img{width:116px;aspect-ratio:16/9;object-fit:cover;border-radius:8px}.ctc-community-youtube-compose span{font-size:12px;color:#53617a;font-weight:650;line-height:1.4}
@media(max-width:620px){.ctc-course-card-actions{grid-template-columns:1fr}.ctc-platform-tutorial{padding:15px}.ctc-platform-tutorial-head{flex-direction:column;gap:10px}.ctc-platform-tutorial-head h2{font-size:19px}.ctc-account-tutorial-card{align-items:flex-start;flex-direction:column}.ctc-account-tutorial-card .ctc-btn{width:100%}.ctc-tutorial-modal{padding:10px}.ctc-tutorial-dialog{border-radius:12px}.ctc-community-youtube-compose img{width:92px}}

.ctc-course-card-actions .ctc-btn:only-child{grid-column:1/-1}

/* v0.9.5 — compact dashboard tutorial */
@media (min-width: 761px){
  .ctc-platform-tutorial{
    display:grid;
    grid-template-columns:minmax(220px,1fr) minmax(360px,540px);
    align-items:center;
    gap:26px;
    padding:22px 24px;
  }
  .ctc-platform-tutorial-head{
    min-width:0;
    margin:0;
    flex-direction:column;
    align-items:flex-start;
    justify-content:center;
    gap:16px;
  }
  .ctc-platform-tutorial-head h2{
    font-size:22px;
    line-height:1.25;
  }
  .ctc-platform-tutorial-player{
    width:100%;
    max-width:540px;
    justify-self:end;
    border-radius:13px;
  }
}
@media (max-width:760px){
  .ctc-platform-tutorial{
    display:block;
    width:100%;
    max-width:100%;
    padding:15px;
    overflow:hidden;
  }
  .ctc-platform-tutorial-head{
    margin-bottom:12px;
    gap:9px;
  }
  .ctc-platform-tutorial-head h2{
    font-size:18px;
    line-height:1.3;
  }
  .ctc-platform-tutorial-player{
    width:100%;
    max-width:100%;
    aspect-ratio:16/9;
    border-radius:11px;
  }
  .ctc-tutorial-dismiss{
    font-size:12px;
    white-space:normal;
  }
}

/* v0.9.6 — level progress is recognition, not content gating */
.ctc-student-neutral-badge{display:inline-flex;align-items:center;justify-content:center;min-height:25px;padding:4px 10px;border:1px solid #dce2ea;border-radius:999px;background:#f4f6f8;color:#667085;font-size:12px;font-weight:700;line-height:1}.ctc-student-neutral-badge.compact{min-height:20px;padding:3px 7px;font-size:10px}.ctc-sidebar .ctc-student-neutral-badge{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.14);color:#cdd7ea}
.ctc-level-progress-card{margin:0 0 20px;padding:20px 22px;border-color:#dfe5ed;background:linear-gradient(180deg,#fff,#fbfcfe)}.ctc-level-progress-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px}.ctc-level-progress-head small{display:block;color:#78869b;font-size:10px;font-weight:800;letter-spacing:.09em;margin-bottom:4px}.ctc-level-progress-head h2{margin:0;font-size:21px}.ctc-level-progress-head>strong{font-size:24px;color:var(--ctc-navy)}.ctc-level-progress-track{height:10px;border-radius:999px;background:#e8edf3;overflow:hidden;margin:14px 0 9px}.ctc-level-progress-track b{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,var(--ctc-navy),#315d99);transition:width .25s ease}.ctc-level-progress-meta{display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;color:#718096;font-size:12px}.ctc-level-progress-alert{display:flex;align-items:flex-start;gap:11px;margin-top:16px;padding:13px 15px;border:1px solid #f3d69a;border-radius:13px;background:#fffaf0;color:#5f4a20}.ctc-level-progress-alert>.ctc-icon{flex:0 0 auto;margin-top:1px;color:#b57a08}.ctc-level-progress-alert strong{display:block;color:#4c3a17}.ctc-level-progress-alert p{margin:4px 0 0;line-height:1.5}.ctc-level-progress-alert a{display:inline-block;margin-top:7px;color:#8b5b00;font-weight:750;font-size:12px}.ctc-level-progress-alert a:hover{text-decoration:underline}
@media(max-width:640px){.ctc-level-progress-card{padding:17px}.ctc-level-progress-head h2{font-size:19px}.ctc-level-progress-head>strong{font-size:21px}.ctc-level-progress-meta{display:block}.ctc-level-progress-meta span{display:block}.ctc-level-progress-meta span+span{margin-top:4px}.ctc-level-progress-alert{padding:12px}}

/* v0.9.7 — faster navigation + cleaner mobile dashboard */
.ctc-level-pill i{flex:0 0 9px!important;width:9px!important;height:9px!important;min-width:9px;min-height:9px;aspect-ratio:1/1;border-radius:50%}
.ctc-section-level-row{display:block;min-height:25px}.ctc-section-level-row .ctc-level-pill{width:max-content;max-width:100%}

.ctc-navigation-loader[hidden]{display:none!important}.ctc-navigation-loader{position:fixed;inset:0;z-index:12000;display:grid;place-items:center;padding:20px;background:rgba(246,248,251,.80);backdrop-filter:blur(4px);opacity:0;transition:opacity .16s ease}.ctc-navigation-loader.show{opacity:1}.ctc-navigation-loader-card{min-width:150px;display:flex;flex-direction:column;align-items:center;gap:7px;padding:19px 22px;border:1px solid #e1e6ee;border-radius:18px;background:rgba(255,255,255,.96);box-shadow:0 18px 55px rgba(9,29,65,.14);color:var(--ctc-text)}.ctc-navigation-loader-card img{width:54px;height:54px;border-radius:50%;object-fit:cover;animation:ctc-loader-pulse 1.05s ease-in-out infinite}.ctc-navigation-loader-card strong{font-size:14px}.ctc-navigation-loader-card span{font-size:11px;color:var(--ctc-muted)}.ctc-navigation-pending a{cursor:progress}@keyframes ctc-loader-pulse{0%,100%{transform:scale(.94);opacity:.82}50%{transform:scale(1.04);opacity:1}}
@media(prefers-reduced-motion:reduce){.ctc-navigation-loader-card img{animation:none}}

@media(max-width:800px){
  .ctc-mobile-menu{position:fixed!important;top:8px;left:max(10px,env(safe-area-inset-left));z-index:70!important;width:40px;height:40px;border:1px solid #dfe4ec!important;border-radius:11px;background:rgba(255,255,255,.96)!important;box-shadow:0 4px 14px rgba(9,29,65,.09);color:var(--ctc-navy);display:grid!important;place-items:center;padding:0!important}
  .ctc-menu-open .ctc-mobile-menu{display:none!important;opacity:0;pointer-events:none}
  .ctc-topbar{padding-left:62px!important;position:sticky!important;top:0!important;z-index:55!important}
  body.ctc-student-body:not(.ctc-course-context):not(.ctc-community-mode) .ctc-search-wrap{display:none!important}
  body.ctc-student-body:not(.ctc-course-context):not(.ctc-community-mode) .ctc-top-actions{margin-left:auto}
  .ctc-student-greeting{margin-top:10px;margin-bottom:14px;align-items:center}.ctc-student-greeting h1{font-size:25px;margin:0}.ctc-student-greeting .ctc-level-pill,.ctc-student-greeting .ctc-student-neutral-badge{flex:0 0 auto;white-space:nowrap}
  .ctc-continue-card{padding:15px 16px!important;border-radius:17px!important;margin:6px 0 20px!important;gap:0!important}.ctc-continue-image{display:none!important}.ctc-continue-copy>small{font-size:9px}.ctc-continue-copy h2{font-size:20px!important;margin:5px 0!important}.ctc-continue-copy p{font-size:12px;margin:0 0 9px}.ctc-continue-copy>span{font-size:11px;margin:7px 0 11px}.ctc-continue-copy>div:last-child{display:grid!important;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)!important;gap:8px!important}.ctc-continue-copy>div:last-child .ctc-btn{min-width:0;padding:9px 9px;font-size:12px;white-space:nowrap}
  .ctc-level-progress-card{overflow:hidden}.ctc-level-progress-head{align-items:center}.ctc-level-progress-head>div{min-width:0}.ctc-level-progress-head h2{white-space:normal}.ctc-level-progress-head>strong{flex:0 0 auto}
  .ctc-student-section-title-row{display:block}.ctc-student-section-title-row>strong{display:block}.ctc-section-level-row{margin-top:1px}
}
@media(max-width:390px){
  .ctc-continue-copy>div:last-child{grid-template-columns:1fr!important}.ctc-continue-copy>div:last-child .ctc-btn{width:100%}
  .ctc-student-greeting{gap:10px;flex-wrap:wrap}.ctc-student-greeting .ctc-level-pill,.ctc-student-greeting .ctc-student-neutral-badge{margin-left:0}
}


/* v0.9.8 — mobile sidebar must cover the fixed course header/search */
@media(max-width:800px){
  .ctc-sidebar{z-index:90!important}
  .ctc-sidebar-backdrop{z-index:89!important}
}

/* v0.9.9 — true viewport-floating mobile menu trigger */
@media(max-width:800px){
  .ctc-mobile-menu-floating{
    position:fixed!important;
    top:8px!important;
    left:max(10px,env(safe-area-inset-left))!important;
    z-index:70!important;
    transform:none!important;
    margin:0!important;
  }
  body.ctc-menu-open .ctc-mobile-menu-floating{display:none!important}
  .ctc-sidebar{z-index:100!important}
  .ctc-sidebar-backdrop{z-index:99!important}
}


/* v0.9.10 — no empty search strip outside course pages on mobile */
@media(max-width:800px){
  body.ctc-student-body:not(.ctc-course-context):not(.ctc-community-mode) .ctc-topbar{display:none!important}
}

/* Dashboard course carousel */
.ctc-home-courses-carousel{position:relative;min-width:0}
.ctc-home-course-viewport{overflow-x:auto;overflow-y:hidden;scroll-behavior:smooth;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;overscroll-behavior-x:contain;border-radius:18px}
.ctc-home-course-viewport::-webkit-scrollbar{display:none}
.ctc-home-course-track{display:flex;gap:18px;align-items:stretch;min-width:0}
.ctc-home-course-track>.ctc-student-course-card{flex:0 0 calc((100% - 36px)/3);min-width:0;scroll-snap-align:start;scroll-snap-stop:normal}
.ctc-home-carousel-arrow{position:absolute;z-index:6;top:50%;transform:translateY(-50%);width:42px;height:42px;border:1px solid #dce2eb;border-radius:50%;background:#fff;color:var(--ctc-navy);box-shadow:0 8px 22px rgba(11,34,84,.16);display:grid;place-items:center;cursor:pointer;transition:opacity .16s ease,transform .16s ease,box-shadow .16s ease}
.ctc-home-carousel-arrow:hover:not(:disabled){transform:translateY(-50%) scale(1.05);box-shadow:0 10px 25px rgba(11,34,84,.22)}
.ctc-home-carousel-arrow:disabled{opacity:.28;cursor:default;box-shadow:0 4px 12px rgba(11,34,84,.08)}
.ctc-home-carousel-arrow[hidden]{display:none!important}
.ctc-home-carousel-prev{left:-17px}
.ctc-home-carousel-next{right:-17px}
.ctc-home-course-viewport.is-dragging{cursor:grabbing;scroll-behavior:auto;scroll-snap-type:none;user-select:none}
@media (hover:hover) and (pointer:fine){.ctc-home-course-viewport{cursor:grab}}
@media(max-width:1100px){.ctc-home-course-track>.ctc-student-course-card{flex-basis:calc((100% - 18px)/2)}}
@media(max-width:620px){.ctc-home-course-track{gap:12px}.ctc-home-course-track>.ctc-student-course-card{flex-basis:100%}.ctc-home-carousel-arrow{width:38px;height:38px}.ctc-home-carousel-prev{left:7px}.ctc-home-carousel-next{right:7px}}


/* Admin course builder drag & drop + sections-only mode — v0.9.16 */
.ctc-summary-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto}
.ctc-drag-handle{width:32px;height:32px;border-radius:9px;border:1px solid #d9e0ea;background:#fff;color:#60708a;display:inline-grid;place-items:center;font-size:18px;line-height:1;letter-spacing:-3px;cursor:grab;user-select:none;touch-action:none;box-shadow:0 1px 2px rgba(15,35,70,.04)}
.ctc-drag-handle:hover{border-color:#aebbd0;background:#f5f8fc;color:#0d2e66}
.ctc-drag-handle:active{cursor:grabbing}
[data-ctc-sort-item].is-dragging{opacity:.38;outline:2px dashed #6f8dbd;outline-offset:2px}
.ctc-is-sorting [data-ctc-sort-container]{transition:background .12s ease}
.ctc-is-sorting [data-ctc-sort-container="lesson"],.ctc-is-sorting [data-ctc-sort-container="module"]{min-height:44px}
.ctc-reorder-status{position:sticky;top:72px;z-index:25;margin:0 0 12px;padding:9px 12px;border:1px solid #dbe3ee;border-radius:10px;background:#fff;color:#53627a;font-size:12px;font-weight:700;box-shadow:0 6px 18px rgba(20,40,80,.08)}
.ctc-reorder-status.saving{color:#76561f;background:#fffaf0;border-color:#ead9ad}.ctc-reorder-status.success{color:#286843;background:#edf9f1;border-color:#c9e7d3}.ctc-reorder-status.error{color:#9f3434;background:#fff3f3;border-color:#eccaca}
.ctc-promote-drop-zone{display:none;align-items:center;gap:12px;margin:12px 0 18px;padding:14px 16px;border:2px dashed #b7c5da;border-radius:14px;background:#f8fafc;color:#51617a}
.ctc-promote-drop-zone strong,.ctc-promote-drop-zone span{display:block}.ctc-promote-drop-zone span{font-size:12px;color:#7a879a;margin-top:2px}
.ctc-structure.is-dragging-module .ctc-promote-drop-zone{display:flex}
.ctc-promote-drop-zone.is-over{border-color:var(--ctc-orange);background:#fff5ec;color:#7e3f10;transform:scale(1.005)}
.ctc-flat-mode-note{display:flex;align-items:center;gap:12px;padding:14px 16px;margin-bottom:14px;border-radius:14px;border:1px solid #cfdbed;background:#f3f7fd;color:#183b70}
.ctc-flat-mode-note strong,.ctc-flat-mode-note span{display:block}.ctc-flat-mode-note span{font-size:12px;color:#60718b;margin-top:2px}
.ctc-structure-mode-check{align-items:flex-start!important;padding:12px 14px;border:1px solid #dbe3ed;border-radius:12px;background:#f8fafc}
.ctc-structure-mode-check>span{display:block}.ctc-structure-mode-check strong,.ctc-structure-mode-check small{display:block}.ctc-structure-mode-check small{margin-top:3px;line-height:1.4}
.ctc-sections-only .ctc-module-list{margin:8px 0 0}
.ctc-sections-only .ctc-module-card{border:0!important;background:transparent!important;box-shadow:none!important;overflow:visible}
.ctc-sections-only .ctc-module-head{display:none!important}
.ctc-sections-only .ctc-module-body{display:block!important;padding:0!important;background:transparent!important;border:0!important}
.ctc-sections-only .ctc-module-body>.ctc-form-grid,.ctc-sections-only .ctc-module-body>.ctc-inline-delete{display:none!important}
.ctc-sections-only .ctc-lessons-admin{margin-top:10px}
.ctc-sections-only .ctc-module-card .ctc-drag-handle{display:none}
.ctc-flat-section-lessons{padding-top:2px}
@media(max-width:700px){.ctc-edit-pill{display:none}.ctc-drag-handle{width:36px;height:36px}.ctc-promote-drop-zone{padding:12px}.ctc-reorder-status{top:84px}}

/* 0.9.19 - exclusao segura de aluno */
.ctc-student-danger-zone{border-color:#f1caca;background:#fffafa}.ctc-student-danger-zone h2{color:#9f2525;margin-top:0}.ctc-student-danger-zone>div{margin-bottom:14px}.ctc-student-danger-zone form{margin:0}

/* v0.9.22 — HeroSpark one product -> multiple courses */
.ctc-mapping-courses{padding:14px 16px;border:1px solid #dbe3ed;border-radius:14px;background:#f8fafc}.ctc-mapping-courses>strong,.ctc-mapping-courses>small{display:block}.ctc-mapping-courses>small{margin-top:3px;color:#718096}.ctc-mapping-course-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;margin-top:12px}.ctc-mapping-course{margin:0!important;padding:10px 12px;border:1px solid #e1e7ef;border-radius:10px;background:#fff}.ctc-mapping-course span{min-width:0}.ctc-table-sub{display:block;margin-top:4px;color:#728099;line-height:1.35;max-width:620px}.ctc-table-card td{vertical-align:top}@media(max-width:700px){.ctc-mapping-course-grid{grid-template-columns:1fr}}


/* v0.9.26 — moderação rica e curtidas na Comunidade */
.ctc-community-post-actions{display:flex;align-items:center;gap:7px;margin-left:auto}
.ctc-community-post-edit{height:29px;border:1px solid #dce2ea;border-radius:8px;background:#fff;color:#52627a;padding:0 9px;display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:750;cursor:pointer}
.ctc-community-post-edit:hover{background:#f5f8fc;border-color:#c4cfdd;color:#17315f}
.ctc-community-post-engagement{display:flex;align-items:center;margin-top:10px}
.ctc-community-like{display:flex;align-items:center;gap:8px;position:relative;min-height:28px}
.ctc-community-like-button{border:0;background:transparent;color:#6b788c;display:inline-flex;align-items:center;gap:5px;padding:5px 7px;border-radius:8px;font-size:11px;font-weight:750;cursor:pointer}
.ctc-community-like-button:hover{background:#f2f5f9;color:#17315f}.ctc-community-like-button:disabled{opacity:.55;cursor:wait}
.ctc-community-like.is-liked .ctc-community-like-button{color:#1d5fbf;background:#edf4ff}
.ctc-community-like-people{position:relative}.ctc-community-like-people[hidden]{display:none!important}
.ctc-community-like-people>summary{list-style:none;cursor:pointer;color:#78869a;font-size:11px;font-weight:650;padding:5px 2px}.ctc-community-like-people>summary::-webkit-details-marker{display:none}.ctc-community-like-people>summary:hover{color:#17315f;text-decoration:underline}
.ctc-community-like-popover{position:absolute;left:0;top:calc(100% + 6px);z-index:30;width:190px;max-height:190px;overflow:auto;background:#fff;border:1px solid #dfe5ed;border-radius:10px;box-shadow:0 12px 30px rgba(22,39,70,.16);padding:9px 11px;display:grid;gap:5px}
.ctc-community-like-popover span{font-size:11px;color:#34435a;line-height:1.3}.ctc-community-like-popover small{font-size:10px;color:#8591a3;border-top:1px solid #edf0f4;padding-top:6px;margin-top:2px}
.ctc-community-like.compact{gap:6px;min-height:22px}.ctc-community-like.compact .ctc-community-like-button{font-size:10px;padding:3px 5px}.ctc-community-like.compact .ctc-community-like-people>summary{font-size:10px;padding:3px 1px}.ctc-community-like.compact .ctc-community-like-popover{width:175px}
.ctc-community-comment-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:2px}.ctc-community-comment-meta>small{margin-right:2px}
.ctc-community-rich-toolbar{display:flex;align-items:center;gap:6px;border:1px solid #dce2ea;border-bottom:0;border-radius:10px 10px 0 0;background:#f8fafc;padding:7px 8px}
.ctc-community-rich-toolbar+.ctc-community-rich-editor{border-radius:0 0 10px 10px!important}
.ctc-community-rich-toolbar button{width:31px;height:29px;border:1px solid #d8dfe9;border-radius:7px;background:#fff;color:#34445c;display:grid;place-items:center;cursor:pointer;font-size:13px}
.ctc-community-rich-toolbar button:hover{border-color:#aebbd0;background:#f2f6fb;color:#17315f}
.ctc-community-rich-toolbar label{margin:0!important;display:flex!important;flex-direction:row!important;align-items:center!important;gap:6px!important;height:29px;padding:0 7px;border:1px solid #d8dfe9;border-radius:7px;background:#fff;font-size:10px!important;color:#536178!important}
.ctc-community-rich-toolbar input[type=color]{width:22px;height:20px;border:0;padding:0;background:transparent;cursor:pointer}
.ctc-community-edit-dialog>header p{margin:4px 0 0;color:#7b8798;font-size:11px}
@media(max-width:560px){.ctc-community-post-edit span{display:none}.ctc-community-post-edit{width:29px;padding:0;justify-content:center}.ctc-community-like-popover{left:auto;right:0}.ctc-community-comment-meta .ctc-community-like-popover{left:0;right:auto}}

/* v0.9.27 — editor visual do ADM e navegação PWA sem falso offline */
.ctc-community-rich-editor{min-height:150px;max-height:360px;overflow:auto;width:100%;border:1px solid #dce2ea;border-radius:10px;background:#fff;padding:12px 13px;color:#24344d;font-size:14px;line-height:1.55;outline:none;white-space:pre-wrap;word-break:break-word}
.ctc-community-edit-dialog .ctc-community-rich-editor{min-height:190px}
.ctc-community-rich-editor:focus{border-color:#8ca9d1;box-shadow:0 0 0 3px rgba(42,97,173,.08)}
.ctc-community-rich-editor:empty:before{content:attr(data-placeholder);color:#98a3b3;pointer-events:none}
.ctc-community-rich-editor strong,.ctc-community-rich-editor b{font-weight:800}.ctc-community-rich-editor em,.ctc-community-rich-editor i{font-style:italic}.ctc-community-rich-editor u{text-decoration:underline}

/* v0.9.28 — anotações e comentários nos plantões */
.ctc-office-hour-meta+.ctc-note-box{margin-top:22px}.ctc-note-actions [data-office-note-status]{margin-right:auto;font-size:12px;color:#4e765c}

/* CTC Plataforma 0.1.0 — identidade Como Treinar em Casa */
:root{
  --ctc-navy:#090b09;
  --ctc-navy-2:#151915;
  --ctc-orange:#91eb5f;
  --ctc-bg:#f5f7f2;
  --ctc-text:#111611;
  --ctc-muted:#697267;
  --ctc-line:#dfe5db;
  --ctc-card:#ffffff;
  --ctc-danger:#bd3333;
  --ctc-shadow:0 10px 28px rgba(15,25,13,.07)
}
.ctc-sidebar{background:#080a08;color:#e9efe6}
.ctc-brand-mark{width:39px;height:39px;border-radius:11px;background:transparent!important;box-shadow:none!important;overflow:hidden}
.ctc-brand-mark img{display:block;width:100%;height:100%;object-fit:contain}
.ctc-brand strong{color:#fff}.ctc-brand small{color:#aeb8aa}
.ctc-userbox{background:rgba(255,255,255,.065)}
.ctc-nav a{color:#d8e0d4}.ctc-nav a.active{background:linear-gradient(90deg,rgba(145,235,95,.19),rgba(255,255,255,.065));color:#fff}
.ctc-nav a.active .ctc-icon{color:#91eb5f}
.ctc-btn-primary{background:#0a0d0a;color:#fff}.ctc-btn-orange{background:#91eb5f;color:#0a1308}
.ctc-btn-orange:hover{background:#9cf36d}.ctc-btn-primary:hover{background:#171c17}
.ctc-progress{background:#e8ede5}.ctc-progress b{background:#161b16}.ctc-progress-light b{background:#91eb5f}
.ctc-form-grid input:focus,.ctc-form-grid textarea:focus,.ctc-form-grid select:focus{border-color:#8acb65;box-shadow:0 0 0 3px rgba(145,235,95,.16)}
.ctc-tabs a.active,.ctc-status-badge,.ctc-course-cover span{background:#0b0e0b}
.ctc-flat-mode-note{border-color:#d9ead0;background:#f2faed;color:#27421d}.ctc-flat-mode-note span{color:#657960}
.ctc-reorder-status.success{color:#286843;background:#effbec;border-color:#cce9c2}
.ctc-promote-drop-zone.is-over{border-color:#91eb5f;background:#f1ffe8;color:#23441a}
.ctc-community-like.is-liked .ctc-community-like-button{color:#387d20;background:#effbe9}
.ctc-community-rich-editor:focus{border-color:#8acb65;box-shadow:0 0 0 3px rgba(145,235,95,.14)}
.ctc-community-rich-toolbar button:hover{border-color:#9fc990;background:#f2faed;color:#23451b}
.ctc-notification-enabled{border-color:#d7e9cf;background:#f4fbed}
.ctc-office-premium-lock{background:linear-gradient(135deg,#0a0d0a,#182017)}

/* Meta semanal de treinos */
.ctc-weekly-goal-card{position:relative;overflow:hidden;margin-bottom:24px;border-color:#dce8d7;background:linear-gradient(135deg,#fff 0%,#f8fff3 100%)}
.ctc-weekly-goal-card:after{content:"";position:absolute;width:190px;height:190px;border-radius:50%;right:-85px;top:-105px;background:radial-gradient(circle,rgba(145,235,95,.28),rgba(145,235,95,0) 70%);pointer-events:none}
.ctc-weekly-goal-card.complete{border-color:#b9dfaa;background:linear-gradient(135deg,#fff 0%,#f0ffe7 100%)}
.ctc-weekly-goal-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}.ctc-weekly-goal-head small{display:block;color:#66805f;font-size:11px;font-weight:800;letter-spacing:.08em}.ctc-weekly-goal-head h2{margin:5px 0 0;font-size:23px}.ctc-weekly-goal-head>strong{font-size:24px;color:#477f30}
.ctc-weekly-dots{display:flex;gap:11px;margin:19px 0 14px}.ctc-weekly-dots span{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;border:1px solid #d5ded1;background:#fff;color:#7b8578;font-size:12px;font-weight:800}.ctc-weekly-dots span.done{border-color:#91eb5f;background:#91eb5f;color:#0b1508;box-shadow:0 5px 14px rgba(103,184,62,.18)}
.ctc-weekly-goal-track{height:8px;border-radius:999px;background:#e5ece1;overflow:hidden}.ctc-weekly-goal-track b{height:100%;display:block;border-radius:999px;background:linear-gradient(90deg,#78d845,#a8f778)}
.ctc-weekly-hint{margin:13px 0 0;color:#657061;font-size:13px}.ctc-weekly-success{display:flex;align-items:center;gap:11px;margin-top:15px;padding:11px 13px;border:1px solid #cbe8bf;border-radius:12px;background:#f1fce9;color:#28541d}.ctc-weekly-success strong,.ctc-weekly-success p{display:block;margin:0}.ctc-weekly-success p{font-size:12px;margin-top:2px;color:#56734f}
.ctc-weekly-success-banner{display:flex;align-items:center;gap:14px;background:linear-gradient(135deg,#efffe6,#fbfff8);border-color:#c4e8b7}.ctc-weekly-success-banner>svg{color:#5aaa32}.ctc-weekly-success-banner h2{margin:0 0 4px}.ctc-weekly-success-banner p{margin:0;color:#60725a}
.ctc-week-history{display:grid;gap:10px;margin-top:17px}.ctc-week-row{display:grid;grid-template-columns:minmax(135px,.65fr) minmax(180px,1.5fr) 72px;align-items:center;gap:14px;padding:12px 13px;border:1px solid #e2e8df;border-radius:12px;background:#fafbf9}.ctc-week-row>div:first-child strong,.ctc-week-row>div:first-child small{display:block}.ctc-week-row>div:first-child small{color:#7b8478;margin-top:2px}.ctc-week-row>span{text-align:right;font-weight:800;color:#626c5e}.ctc-week-row.complete{background:#f5fff0;border-color:#d4eacb}.ctc-week-row.complete>span{color:#4f8e31}.ctc-week-row-track{height:7px;border-radius:999px;background:#e7ece4;overflow:hidden}.ctc-week-row-track b{display:block;height:100%;border-radius:999px;background:#91eb5f}

/* Tipo de treino visível em cada aula */
.ctc-workout-badge{display:inline-flex!important;align-items:center!important;width:max-content;padding:3px 8px!important;margin:0 7px 0 0!important;border-radius:999px!important;border:1px solid #dce5d7!important;box-shadow:inset 3px 0 0 var(--workout-color,#91eb5f);background:#f8faf6!important;color:#354431!important;font-size:10px!important;font-style:normal!important;font-weight:800!important;line-height:1.25!important;vertical-align:middle}
.ctc-lesson-meta-row .ctc-workout-badge{font-size:11px!important;padding:4px 9px!important}

/* Login e capas com acento fit */
.ctc-login-panel{background:#fff}.ctc-login-heading small,.ctc-login-brand small{color:#667361}
.ctc-student-course-card,.ctc-course-card,.ctc-card,.ctc-table-card,.ctc-structure-section,.ctc-module-card,.ctc-student-section,.ctc-account-header{border-color:#dfe5db}

@media(max-width:620px){
  .ctc-weekly-goal-head h2{font-size:20px}.ctc-weekly-dots span{width:34px;height:34px}
  .ctc-week-row{grid-template-columns:1fr auto}.ctc-week-row-track{grid-column:1/-1;grid-row:2}.ctc-week-row>span{grid-column:2;grid-row:1}
}
