/* Treinamento — a aula (vídeo, link, PDF, texto, quiz) e as capas. Usado pelo painel, pelo celular (/m) e pela página do
   convidado. Variáveis da marca SEMPRE com reserva (a iT2Us não carrega os tokens da iT2Us). Tons de apoio feitos com
   transparência sobre currentColor: funcionam no tema claro e no escuro. O degradê do U só como fio fino. Nada de roxo. */
.trn-ic { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; vertical-align: -2px; margin-right: 4px; }
.tr-desenho, .tr-foto { display: block; width: 100%; height: 100%; object-fit: cover; }
.tr-midia { position: relative; border-radius: 12px; overflow: hidden; background: #0B0F0D; }
.tr-video { display: block; width: 100%; max-height: 70vh; aspect-ratio: 16 / 9; background: #0B0F0D; }
.tr-quadro { position: relative; width: 100%; aspect-ratio: 16 / 9; }
.tr-iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tr-sem { padding: 34px 18px; text-align: center; border: 1px dashed color-mix(in srgb, currentColor 25%, transparent); border-radius: 12px; opacity: .8; }
.tr-midia .tr-sem { color: #E8ECEA; border-color: #3A4440; }
.tr-retoma { margin: 10px 0 0; font-size: 14px; opacity: .8; }
.tr-assistido { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; margin: 14px 0 4px; font-size: 13.5px; }
.tr-assistido .bar, .trn-prog .bar { height: 6px; border-radius: 3px; overflow: hidden; background: color-mix(in srgb, currentColor 12%, transparent); }
.tr-assistido .bar i { display: block; height: 100%; background: var(--it2us-texto, #141A18); transition: width .4s ease; }
body.tema-escuro .tr-assistido .bar i { background: #E8ECEA; }
.tr-assistido span { opacity: .8; white-space: nowrap; }
.tr-relogio-aviso { font-size: 13px; opacity: .75; margin: 4px 0 0; }
.trn-previa { margin-bottom: 12px; }
.trn-resumo { margin: 16px 0 0; padding: 12px 14px; border-radius: 10px; background: color-mix(in srgb, currentColor 5%, transparent); }
.trn-resumo summary { cursor: pointer; font-weight: 600; }
.trn-resumo ul { margin: 8px 0 0 18px; padding: 0; }
.tr-fim { margin-top: 16px; }
.tr-fim > .btn { min-height: 44px; }
.tr-concluida { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; padding: 12px 14px; border-radius: 10px; background: var(--it2us-ok-bg, #E7F6EE); color: var(--it2us-ok, #0F6B3E); font-weight: 600; }
.tr-concluida svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.tr-concluida .btn { margin-left: auto; }
body.tema-escuro .tr-concluida { background: rgba(69, 214, 154, .14); color: #8EE6BE; }
.tr-texto { font-size: 16.5px; line-height: 1.65; max-width: 70ch; overflow-wrap: anywhere; }
.tr-texto h3 { font-size: 18px; margin: 22px 0 6px; }
.tr-texto ul { padding-left: 22px; }
.tr-pdf { display: block; width: 100%; height: 70vh; min-height: 420px; border: 1px solid color-mix(in srgb, currentColor 14%, transparent); border-radius: 10px; background: #fff; }
.tr-pdf-abrir { margin: 10px 0 0; }
/* quiz */
.tr-quiz-regra { font-size: 14px; opacity: .85; margin: 0 0 14px; }
.tr-quiz { display: grid; gap: 14px; }
.tr-pergunta { border: 1px solid color-mix(in srgb, currentColor 14%, transparent); border-radius: 12px; padding: 14px 16px 12px; margin: 0; min-width: 0; }
.tr-pergunta legend { font-weight: 600; font-size: 16px; padding: 0 4px; }
.tr-pergunta legend span { opacity: .6; }
.tr-opcao { display: flex; gap: 10px; align-items: flex-start; padding: 10px 10px; margin: 4px 0; border-radius: 8px; cursor: pointer; min-height: 44px; box-sizing: border-box; }
.tr-opcao:hover { background: color-mix(in srgb, currentColor 5%, transparent); }
.tr-opcao input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--it2us-texto, #141A18); }
.tr-opcao span { overflow-wrap: anywhere; }
.tr-pergunta.certa { border-color: var(--it2us-ok, #0F6B3E); }
.tr-pergunta.errada { border-color: var(--it2us-erro, #B3261E); }
.tr-opcao.a-certa { background: var(--it2us-ok-bg, #E7F6EE); color: var(--it2us-ok, #0F6B3E); }
body.tema-escuro .tr-opcao.a-certa { background: rgba(69, 214, 154, .14); color: #8EE6BE; }
.tr-explica { margin: 6px 0 0; font-size: 14px; }
.tr-pergunta.certa .tr-explica { color: var(--it2us-ok, #0F6B3E); } .tr-pergunta.errada .tr-explica { color: var(--it2us-erro, #B3261E); }
body.tema-escuro .tr-pergunta.certa .tr-explica { color: #8EE6BE; } body.tema-escuro .tr-pergunta.errada .tr-explica { color: #FF9A8F; }
.tr-quiz-erro { color: var(--it2us-erro, #B3261E); margin: 0; font-size: 14.5px; }
.tr-quiz-acoes .btn { min-height: 44px; }
.tr-resultado { padding: 12px 14px; border-radius: 10px; font-size: 15px; }
.tr-resultado.ok { background: var(--it2us-ok-bg, #E7F6EE); color: var(--it2us-ok, #0F6B3E); }
.tr-resultado.erro { background: var(--it2us-erro-bg, #FDECEA); color: var(--it2us-erro, #B3261E); }
body.tema-escuro .tr-resultado.ok { background: rgba(69, 214, 154, .14); color: #8EE6BE; } body.tema-escuro .tr-resultado.erro { background: rgba(255, 90, 80, .14); color: #FF9A8F; }
.tr-resultado + .btn { margin-top: 10px; }
@media (prefers-reduced-motion: reduce) { .tr-assistido .bar i { transition: none; } }
