/* Lê+ V19.19.26 — ajustes aditivos da tela do professor/tablet */

/* 1 — seletores de aluno alinhados */
.test-new-student-grid-v19190,
.test3-grid-v191916{align-items:stretch!important;grid-auto-rows:1fr!important}
.test-new-student-grid-v19190>button,
.test3-student-v191916{display:grid!important;grid-template-columns:52px minmax(0,1fr) auto!important;align-items:center!important;gap:12px!important;min-height:76px!important;text-align:left!important}
.test-new-student-grid-v19190>button>span,
.test3-student-v191916>span{min-width:0!important;display:flex!important;flex-direction:column!important;justify-content:center!important;gap:4px!important}
.test-new-student-grid-v19190 b,
.test3-student-v191916 b{line-height:1.15!important;white-space:normal!important}
.test-new-student-grid-v19190 small,
.test3-student-v191916 small{line-height:1.2!important}

/* 2 — após análise, libera a tela para o resultado */
.test-new-stage-layout-v19190:has(.test-new-stage-result-v19190 > * ) .test-new-material-v19190{display:none!important}
.test-new-stage-layout-v19190:has(.test-new-stage-result-v19190 > * ){grid-template-columns:1fr!important}
.test-new-stage-layout-v19190:has(.test-new-stage-result-v19190 > * ) .test-new-capture-v19190,
.test-new-stage-layout-v19190:has(.test-new-stage-result-v19190 > * ) .test-new-stage-result-v19190{grid-column:1!important;width:100%!important}
.test3-stage-layout-v191919:has(.test3-score-v191916) .test3-reading-card-v191919{display:none!important}
.test3-stage-layout-v191919:has(.test3-score-v191916){grid-template-columns:1fr!important}
.test3-stage-layout-v191919:has(.test3-score-v191916) .test3-capture-v191919{grid-column:1!important;width:100%!important}

/* 3 — texto de leitura maior, justificado e em CAIXA ALTA */
.test-new-text-v19190 p,
.test3-text-v191916{font-size:clamp(19px,2.15vw,30px)!important;line-height:1.55!important;text-align:justify!important;text-justify:inter-word!important;text-transform:uppercase!important;letter-spacing:.015em!important;font-weight:650!important}
.test-new-text-v19190 h3{text-transform:uppercase!important;font-size:clamp(20px,2.2vw,30px)!important}

/* 6 — Meus alunos: sem estouro lateral, nome em caixa alta e conteúdo abaixo */
@media (max-width:1366px){
  #students .card{overflow:hidden!important}
  #studentsTable{width:100%!important;max-width:100%!important;overflow:visible!important}
  #studentsTable table,#studentsTable thead,#studentsTable tbody,#studentsTable tr,#studentsTable td{display:block!important;width:100%!important;box-sizing:border-box!important}
  #studentsTable thead{display:none!important}
  #studentsTable tbody{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
  #studentsTable tr{position:relative!important;display:grid!important;grid-template-columns:58px minmax(0,1fr)!important;gap:4px 12px!important;padding:14px!important;border:1px solid #dfe7f1!important;border-radius:14px!important;background:#fff!important;overflow:hidden!important}
  #studentsTable td{border:0!important;padding:2px 0!important;min-width:0!important;white-space:normal!important;overflow-wrap:anywhere!important}
  #studentsTable td:nth-child(1){grid-row:1/4;grid-column:1;display:flex!important;align-items:flex-start!important;justify-content:center!important}
  #studentsTable td:nth-child(2){grid-column:2;font-size:16px!important;text-transform:uppercase!important}
  #studentsTable td:nth-child(n+3):nth-child(-n+8){grid-column:2;color:#5d6b7b!important;font-size:12px!important}
  #studentsTable td:nth-child(9){grid-column:1/3;display:flex!important;gap:8px!important;flex-wrap:wrap!important;margin-top:8px!important}
  #studentsTable .avatar,#studentsTable .avatar-fallback{width:50px!important;height:50px!important;min-width:50px!important}
}
@media (max-width:760px){#studentsTable tbody{grid-template-columns:1fr!important}}

/* 4 — seletor visual de testes */
.test-choice-overlay-v191926{position:fixed;inset:0;background:rgba(10,25,45,.48);z-index:99990;display:flex;align-items:center;justify-content:center;padding:20px}
.test-choice-modal-v191926{width:min(760px,96vw);background:#fff;border-radius:20px;padding:22px;box-shadow:0 24px 70px rgba(0,0,0,.28)}
.test-choice-head-v191926{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:18px}.test-choice-head-v191926 h2{margin:0}.test-choice-head-v191926 button{border:0;background:#eef3f8;border-radius:10px;width:42px;height:42px;font-size:20px}
.test-choice-grid-v191926{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.test-choice-card-v191926{border:1px solid #dbe5ef;border-radius:16px;background:#fff;padding:18px;text-align:left;cursor:pointer;min-height:145px;display:flex;flex-direction:column;gap:8px}.test-choice-card-v191926:hover{border-color:#216bd8;box-shadow:0 8px 22px rgba(35,92,150,.13)}.test-choice-card-v191926 b{font-size:18px}.test-choice-card-v191926 small{line-height:1.4;color:#667789}
@media(max-width:700px){.test-choice-grid-v191926{grid-template-columns:1fr}}

/* 5 — logo no rodapé do menu aberto */
.app-sidebar{display:flex!important;flex-direction:column!important}
.app-sidebar .sidebar-nav{flex:1 1 auto!important;overflow-y:auto!important}
.app-sidebar .sidebar-illustration{display:flex!important;flex:0 0 auto!important;margin-top:auto!important;padding:12px 10px!important;align-items:center!important;justify-content:center!important}
.app-sidebar .sidebar-illustration .boy-reading{display:none!important}
.app-sidebar .sidebar-brand-signature{display:flex!important;align-items:center!important;justify-content:center!important;flex-direction:column!important;gap:3px!important}
.app-sidebar .sidebar-signature-logo{display:block!important;width:92px!important;height:auto!important;max-height:none!important;object-fit:contain!important}

/* 7 — controles de relatório */
.report-tools-v191926{margin-bottom:14px;padding:14px!important}.report-tools-grid-v191926{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:10px;align-items:end}.report-tools-grid-v191926 label{display:grid;gap:5px;font-size:12px;color:#607083}.report-tools-grid-v191926 select{width:100%;min-width:0}.report-print-v191926{min-height:42px}
@media(max-width:900px){.report-tools-grid-v191926{grid-template-columns:1fr 1fr}.report-print-v191926{grid-column:1/3}}

/* 8 — aviso de vínculo */
.link-alert-v191926{border:2px solid #f1b830!important;background:#fff8df!important;padding:15px 17px!important;margin-bottom:14px!important;display:flex!important;justify-content:space-between!important;align-items:center!important;gap:14px!important}.link-alert-v191926 b{display:block;font-size:16px}.link-alert-v191926 small{display:block;margin-top:3px;color:#745c19}

/* 9/10 — plano e consumo */
.plan-countdown-v191926{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:12px}.plan-days-v191926{font-size:28px;font-weight:850;color:#153f73}.plan-expiry-v191926{font-size:11px;color:#6c7b8b}.plan-renew-actions-v191926{display:flex;gap:8px;flex-wrap:wrap;margin-left:auto}
.usage-item .usage-remaining-v191926{display:block;font-size:11px;color:#657586;margin-top:3px}

@media print{
 body *{visibility:hidden!important}
 #results,#results *{visibility:visible!important}
 #results{position:absolute!important;left:0!important;top:0!important;width:100%!important;padding:0!important}
 #results .top button,.report-tools-v191926 button,.app-sidebar,.topbar{display:none!important}
 #resultsTable{overflow:visible!important}
}
