/* Super CTV: complementos de progressao, comentarios e gestao. */
.ctv04-admin{max-width:1540px;margin:0 auto;padding:12px 6px 55px;color:#34425c}
.ctv04-admin-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin:0 0 17px}
.ctv04-admin-head h1{font-size:25px;font-weight:400;margin:0}
.ctv04-mutedlink,.ctv04-admin a{color:#a62cbc}
.ctv04-nav{display:flex;flex-wrap:wrap;gap:9px;margin:18px 0 25px}
.ctv04-nav a{background:#fff;padding:12px 18px;border:1px solid #e2e3e7;border-radius:6px;text-decoration:none;font-weight:500;box-shadow:0 1px 2px #0001}
.ctv04-nav a:hover{background:#faf2fc}
.ctv04-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:18px 0 30px}
.ctv04-stat{display:grid;grid-template-columns:55px 1fr;grid-template-rows:auto auto;align-items:center;min-height:120px;padding:20px 24px;background:#fff;border:1px solid #e6e6e9;border-radius:7px;box-shadow:0 3px 9px #0001;text-decoration:none!important}
.ctv04-stat span{grid-row:1/3;display:grid;place-items:center;width:49px;height:49px;background:#ff9200;color:#fff;font-size:25px;border-radius:4px}
.ctv04-stat:nth-child(2) span{background:#4caf50}.ctv04-stat:nth-child(3) span{background:#e72475}
.ctv04-stat small{color:#9296a1}.ctv04-stat strong{font-size:28px;color:#4e607c;font-weight:400}
.ctv04-panel{background:#fff;padding:22px 25px;border:1px solid #e5e5ea;box-shadow:0 2px 8px #0001;border-radius:6px;margin:20px 0}
.ctv04-panel h2{font-size:21px;font-weight:400;margin:0 0 20px;color:#4a5870}
.ctv04-table{width:100%;border-collapse:collapse;min-width:600px;font-size:14px;text-align:left}
.ctv04-panel{overflow-x:auto}.ctv04-table th{font-size:14px;font-weight:500;color:#505e76}
.ctv04-table td,.ctv04-table th{padding:13px 9px;border-bottom:1px solid #e3e4e9}
.ctv04-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:12px 0 22px}
.ctv04-inline{display:inline-flex;margin:0 3px;vertical-align:middle}
.ctv04-inline button{border:0;border-radius:3px;background:#a529b6;color:#fff;padding:7px 10px;cursor:pointer}
.ctv04-btn{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:10px 18px;background:#a22db6!important;color:#fff!important;border:0;border-radius:3px;cursor:pointer;text-decoration:none!important;font-weight:600;font-size:13px}
.ctv04-btn:hover{filter:brightness(.94)}.ctv04-btn.danger{background:#ee5252!important}
.ctv04-coursegrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.ctv04-coursecard{background:#fff;border:1px solid #e5e5e5;border-radius:6px;padding:16px;text-align:center}
.ctv04-coursecard img,.ctv04-cover-empty{display:block;width:100%;aspect-ratio:16/9;object-fit:contain;background:#f5f5f5;border-radius:4px}
.ctv04-cover-empty{display:grid;place-items:center;font-weight:600}.ctv04-coursecard h2{font-size:18px;font-weight:400;color:#536178}
.ctv04-cardactions{display:flex;justify-content:center;gap:15px;flex-wrap:wrap;font-size:13px}
.ctv04-form{max-width:900px;background:#fff;border:1px solid #e5e5e8;border-radius:6px;box-shadow:0 2px 8px #0001;padding:24px}
.ctv04-field{display:block;margin:0 0 19px;color:#44516b}
.ctv04-field span{display:block;font-weight:500;margin-bottom:7px}
.ctv04-field input:not([type="checkbox"]),.ctv04-field textarea{display:block;box-sizing:border-box;width:100%;max-width:100%;padding:10px 12px;border:1px solid #cccdd3;border-radius:3px;background:#fff;color:#1e293b;font:inherit}
.ctv04-field input[type="file"]{font-size:14px}
.ctv04-check{display:block;margin:15px 0;color:#46536c}.ctv04-check input{vertical-align:middle;margin-right:7px}
.ctv04-notice{padding:12px 14px;background:#e7f6e7;color:#255a26;border-left:4px solid #53a55b;margin:10px 0}.ctv04-notice.error{background:#ffeded;border-color:#d32f2f}
.ctv04-comment{border-top:1px solid #e4e5e7;padding:21px 0}.ctv04-comment strong{color:#4a5468}.ctv04-comment small{display:block;color:#9295a1;font-size:12px;margin-top:4px}.ctv04-comment p{white-space:pre-wrap}
.ctv04-comment-reply{display:flex;align-items:stretch;gap:9px;margin-top:15px;max-width:660px}
.ctv04-comment-reply textarea{flex:1;min-width:200px;border:1px solid #d7dae0;border-radius:3px;padding:9px;font:inherit}
.ctv04-comments{margin:27px 0;background:#fff;padding:23px 18px;border:1px solid #e0e0e0;border-radius:4px}
.ctv04-comments h2{display:inline-block;background:#161216;color:#fff;padding:12px 19px;border-radius:25px;font-size:13px;margin:2px 0 20px}
.ctv04-comments h3{font-size:16px;font-weight:500}.ctv04-student-comment-form{display:flex;flex-direction:column;align-items:end;gap:10px;margin-bottom:18px}
.ctv04-student-comment-form textarea{padding:10px 12px;width:100%;min-height:80px;max-width:100%;border:1px solid #d9d9db;border-radius:3px;font:inherit;resize:vertical}
.ctv04-student-comment-form .ctv04-btn{background:#4caf50!important}
.ctv04-comment-card{display:flex;gap:13px;margin:14px 0;border:1px solid #e4e4e8;padding:15px;border-radius:3px}
.ctv04-comment-card.reply{margin-left:45px;background:#fafafa}.ctv04-avatar{width:39px;height:39px;object-fit:cover;border-radius:50%}
.ctv04-comment-text{flex:1;min-width:0}.ctv04-comment-text strong{color:#435573}.ctv04-comment-text small{color:#888;margin-left:7px}.ctv04-comment-text p{white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0 11px}
.ctv04-pending{display:inline-block;background:#fff5ce;color:#765b08;padding:3px 6px;font-style:normal;font-size:11px}
.ctv04-reply-open{background:none;border:0;color:#af39b9;cursor:pointer;padding:0}.ctv04-reply-form{margin:8px 0 8px 60px}.ctv04-reply-form[hidden]{display:none}
.ctv04-locked-chip{display:block;font-size:12px;font-weight:600;color:#a05c00;margin-top:7px}
.ctv04-is-locked{opacity:.75;cursor:not-allowed}.ctv04-sidebar-locked{display:block;font-size:12px;color:#aaa;padding:10px 10px}.ctv04-next-blocked{color:#a26309;font-weight:500}
.ctv04-locked{max-width:660px;margin:40px auto;padding:35px;background:#fff;border-radius:8px;text-align:center;box-shadow:0 3px 15px #0001}.ctv04-lock-symbol{font-size:44px}.ctv04-locked h1{font-size:25px}.ctv04-locked p{line-height:1.65}
@media(max-width:950px){.ctv04-stats,.ctv04-coursegrid{grid-template-columns:1fr 1fr}.ctv04-table{min-width:600px}}
@media(max-width:600px){.ctv04-stats,.ctv04-coursegrid{grid-template-columns:1fr}.ctv04-comment-reply{flex-direction:column}.ctv04-panel,.ctv04-form{padding:14px}.ctv04-comment-card.reply{margin-left:17px}}

.ctv-readonly,.ctv-input[readonly]{background:#f1f2f4!important;color:#59606b!important;cursor:not-allowed;border-color:#e1e3e6!important}
.ctv-identity-help{margin:-5px 0 18px;color:#828a95;font-size:13px}
.ctv-reset-card{max-width:440px}.ctv-reset-subtitle{margin:18px 0 16px;line-height:1.55;color:#667085;text-align:center}
.ctv-reset-card .ctv-button{margin-top:14px}.ctv-reset-card .ctv-login-band{margin-bottom:8px}

.ctv04-user-search{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin-bottom:17px}
.ctv04-user-search input{flex:1;min-width:220px;padding:10px;border:1px solid #dadde2;border-radius:4px;font:inherit}
.ctv04-pages{display:flex;gap:25px;padding:17px 0}.ctv04-pages a{color:#a22db6}

/* Compatibilidade visual: botoes de acao, materiais e aulas somente com texto. */
.ctv042-action-row{display:flex;justify-content:center;align-items:center;gap:12px;margin:14px auto 20px;max-width:100%;padding:0 12px}
.ctv042-action-button{display:inline-flex;align-items:center;justify-content:center;max-width:100%;min-width:185px;min-height:48px;background:#4caf50;color:#fff!important;font-size:12px;font-weight:600;text-align:center;border-radius:3px;padding:12px 24px;line-height:1.4;box-shadow:0 2px 5px #00000018;text-decoration:none}
.ctv042-action-button:hover{filter:brightness(.95);opacity:1}
.ctv042-action-button[hidden],.ctv-completion[hidden]{display:none!important}
.ctv042-info-heading{display:flex;gap:9px;align-items:center;font-size:20px;font-weight:600;margin:0 0 17px;color:#111}
.ctv042-lesson-copy{line-height:1.65;overflow-wrap:anywhere;color:#4a4a4a}
.ctv042-lesson-copy p{margin:0 0 13px}.ctv042-lesson-copy a{color:#a92cba;font-weight:600;text-decoration:none}
.ctv042-lesson-copy a:hover{text-decoration:underline}
.ctv042-lesson-copy img{max-width:100%;height:auto}.ctv042-lesson-copy iframe{max-width:100%}
.ctv042-no-video{min-height:530px;padding:30px 20px 45px!important}
.ctv042-no-video .ctv-lesson-title{margin-top:28px}.ctv042-no-video .ctv-lesson-actions{margin-top:20px}
.ctv042-files{margin:17px 0}.ctv042-files h3{font-size:17px;font-weight:500}
.ctv042-video-label{font-size:17px;font-weight:500;margin:18px 0 9px}
.ctv042-admin-action{margin-top:20px;padding:18px 20px}.ctv042-admin-action h2{margin-top:0}
@media(max-width:760px){.ctv042-no-video{min-height:300px;padding:22px 10px!important}.ctv042-action-button{width:auto;max-width:100%}}

/* Definicao de nova senha - acesso somente administrativo */
.ctv044-password-panel{margin-top:23px}
.ctv044-password-panel h2{margin:0 0 10px;color:#34425c;font-size:21px;font-weight:500}
.ctv044-password-panel>p{margin:0 0 17px;line-height:1.55;color:#5d6674}

/* v0.4.6: tela cheia sempre acessivel, inclusive quando Vimeo esconde seus controles. */
.ctv-original-video{position:relative;isolation:isolate;overflow:hidden}
.ctv-original-video>.ctv-video-fullscreen{
 position:absolute;top:10px;right:10px;z-index:4;display:flex;align-items:center;justify-content:center;gap:7px;
 background:rgba(11,15,23,.90);color:#fff;border:1px solid rgba(255,255,255,.38);border-radius:6px;
 padding:10px 12px;font:600 12px/1.2 Arial,sans-serif;letter-spacing:.015em;cursor:pointer;
 box-shadow:0 2px 8px rgba(0,0,0,.35);-webkit-tap-highlight-color:transparent;touch-action:manipulation;
}
.ctv-original-video>.ctv-video-fullscreen span{font-size:22px;line-height:.75}
.ctv-original-video>.ctv-video-fullscreen:focus-visible{outline:3px solid #fff;outline-offset:2px}
.ctv-original-video:fullscreen,.ctv-original-video:-webkit-full-screen,
.ctv-original-video.ctv-video-cinema{
 position:fixed!important;inset:0!important;width:100vw!important;height:100vh!important;height:100dvh!important;
 max-width:none!important;max-height:none!important;aspect-ratio:auto!important;margin:0!important;
 padding:0!important;background:#000!important;z-index:2147483000!important;
}
.ctv-original-video:fullscreen iframe,.ctv-original-video:-webkit-full-screen iframe,
.ctv-original-video.ctv-video-cinema iframe{width:100%!important;height:100%!important;display:block!important}
.ctv-original-video:fullscreen>.ctv-video-fullscreen,.ctv-original-video:-webkit-full-screen>.ctv-video-fullscreen,
.ctv-original-video.ctv-video-cinema>.ctv-video-fullscreen{top:max(12px,env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right))}
body.ctv-video-cinema-active{overflow:hidden!important}
@media (max-width:760px){
 .ctv-original-video>.ctv-video-fullscreen{top:7px;right:7px;padding:9px 11px;font-size:11px;min-height:40px}
}

/* v0.4.10: indicadores privados na edicao administrativa do aluno. */
.ctv0410-metrics{max-width:900px;box-sizing:border-box}
.ctv0410-metric-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.ctv0410-metric{background:#f8f9fb;border:1px solid #e7e9ee;border-radius:6px;padding:18px 20px;min-width:0}
.ctv0410-metric span{display:block;font-size:13px;color:#667085;margin-bottom:9px}
.ctv0410-metric strong{display:block;font-size:21px;font-weight:600;color:#34425c;overflow-wrap:anywhere}
.ctv0410-help{color:#788292;font-size:12px;line-height:1.5;margin:15px 0 0}
@media(max-width:600px){.ctv0410-metric-grid{grid-template-columns:1fr}}

.ctv0410-source{display:block;color:#667085;margin-top:6px;font-size:11px;font-weight:400;line-height:1.4}

/* 0.4.11 - exclusão segura de alunos, apenas no painel administrativo. */
.ctv0411-delete-link{display:inline-block;margin-left:12px;color:#c82036!important;font-weight:700!important;text-decoration:none!important;padding:5px 8px;border:1px solid #f0bdc6;border-radius:5px;background:#fff8f9;font-size:14px;white-space:nowrap}
.ctv0411-delete-link:hover,.ctv0411-delete-link:focus{background:#fde9ed!important;color:#a3122b!important}
.ctv0411-edit-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.ctv0411-delete-form{max-width:550px}.ctv0411-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.ctv0411-actions .ctv0411-cancel{background:#6c757d!important}
