/* Perfis, painel do estudante e editor de questões. Sem animações. */
textarea{font:inherit}
textarea:focus-visible{outline:4px solid #de8b39;outline-offset:3px}
.teacher-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 24px}
.teacher-tabs [aria-current="page"]{background:#173f45;border-color:#173f45}
.create-profile{display:grid;grid-template-columns:minmax(220px,.7fr) minmax(0,1.3fr);gap:22px;margin:0 0 26px}
.create-profile h2{margin-bottom:9px}
.profile-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;align-items:end}
.profile-fields .field:first-child{grid-column:1/-1}
.profile-fields .btn{align-self:end}
.profile-fields input,.profile-fields select{width:100%;max-width:none}
.sidebar button strong,.sidebar button small{display:block}
.sidebar button small{font-size:13px;margin-top:3px;opacity:.85}
.grade-reference{display:grid;grid-template-columns:1fr 1fr;gap:22px;background:#edf5ef;border:1px solid #c9ddce;border-radius:16px;padding:20px;margin:16px 0 21px}
.grade-reference strong{display:block;font-size:23px;line-height:1.25}
.grade-reference p{font-size:15px;margin:8px 0 0}
.grade-reference-bars{display:grid;gap:10px}
.grade-reference-bars>div{display:grid;grid-template-columns:65px 1fr 35px;align-items:center;gap:8px;font-size:14px}
.grade-bar,.level-track{background:#d2e2d8;border-radius:99px;overflow:hidden}
.grade-bar{height:12px}
.grade-bar i{display:block;height:100%;background:#176b63}
.student-dashboard{max-width:1040px;margin:0 auto}
.dashboard-hero{display:grid;grid-template-columns:1fr auto;gap:25px;align-items:center;padding:26px;background:#e9f3eb;border:2px solid #c9ddce;border-radius:23px;margin:24px 0}
.dashboard-kicker{display:block;color:#245e52;font-size:14px;font-weight:800;text-transform:uppercase;letter-spacing:.09em;margin-bottom:8px}
.dashboard-hero strong{display:block;font-size:clamp(24px,3vw,34px);line-height:1.2;color:#173f45}
.dashboard-hero p{margin:12px 0 0}
.dashboard-number{background:#fff;border-radius:17px;padding:16px 24px;text-align:center;min-width:165px}
.dashboard-number strong{font-size:39px}
.dashboard-number strong small{font-size:20px}
.dashboard-number span{display:block;font-size:14px;color:#4d6260}
.dashboard-actions{margin:0 0 31px}
.student-progress-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0 0 26px}
.student-progress-card{background:#fff;border:2px solid #d9e5de;border-radius:17px;padding:19px}
.student-progress-card h3{font-size:21px;margin:0}
.student-progress-card p{font-size:16px;margin:8px 0 0}
.student-progress-card .form-note{font-size:14px}
.level-track{display:flex;gap:5px;background:transparent;margin:16px 0}
.level-track span{height:13px;flex:1;background:#d2e2d8;border-radius:99px}
.level-track span.filled{background:#176b63}
.dashboard-history{margin:26px 0}
.dashboard-history ul{list-style:none;margin:0;padding:0}
.dashboard-history li{padding:12px 0;border-top:1px solid #dce6e2}
.dashboard-history small{display:block;color:#51636a}
.admin-shell .lead{max-width:880px}
.admin-toolbar{display:flex;justify-content:space-between;gap:15px;align-items:center;flex-wrap:wrap;margin:22px 0}
.admin-import{position:relative;overflow:hidden;cursor:pointer}
.admin-import input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}
.admin-layout{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:18px;align-items:start}
.admin-layout>.panel{min-width:0}
.admin-question-list{max-height:620px;overflow:auto}
.admin-question-list td:first-child{min-width:200px}
.admin-question-list td:last-child{min-width:170px}
.admin-question-list small{display:block;color:#53696a;margin-top:5px;font-size:12px}
.admin-editor input,.admin-editor select,.admin-editor textarea{width:100%;border:2px solid #8ea5a2;border-radius:10px;padding:10px 12px;background:#fff;color:#173238}
.admin-editor input,.admin-editor select{min-height:46px}
.admin-editor textarea{resize:vertical}
.prerequisite-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.prerequisite-grid label{display:flex;align-items:center;gap:9px;font-size:15px}
.admin-editor input[type=checkbox]{width:20px;height:20px;min-height:0;flex:none;accent-color:#176b63}
.editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.editor-figure{border:2px solid #d6e5db;border-radius:15px;padding:18px;min-width:0}
.editor-figure legend{font-weight:800;padding:0 6px}
.editor-figure .editor-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:16px}
.editor-preview{margin-top:16px}
.editor-preview .figure{margin:9px 0}
/* O relatório separa dados observados de sugestões pedagógicas. */
.teacher-detail-report{min-width:0;border-color:#b7c8ee}
.teacher-layout>.stack,.teacher-layout>.stack>.panel{min-width:0}
.report-header{display:flex;justify-content:space-between;align-items:start;gap:18px;flex-wrap:wrap}
.report-header h2{margin-bottom:9px}
.report-header h2 small{font-size:16px;color:#52627c;font-weight:600}
.report-header p{max-width:740px}
.report-actions{display:flex;gap:9px;flex-wrap:wrap}
.report-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:22px 0}
.report-metric{background:#eef3ff;border:1px solid #c5d3f3;border-radius:13px;padding:14px;min-height:88px}
.report-metric strong{display:block;font-size:24px;line-height:1.15;color:#1645a4}
.report-metric span{display:block;margin-top:7px;font-size:13px;line-height:1.3;color:#23334e}
.report-section{border-top:1px solid #d8e0f1;padding-top:22px;margin-top:24px}
.report-section h3{margin-bottom:7px}
.report-section .form-note{margin-bottom:14px}
.report-trend{display:grid;gap:10px;max-width:750px}
.report-trend-row{display:grid;grid-template-columns:85px minmax(0,1fr) 55px;align-items:center;gap:10px;font-size:14px}
.report-trend-row strong{text-align:right}
.report-track{height:18px;border-radius:99px;background:#e3eafd;overflow:hidden}
.report-track i{display:block;height:100%;background:#2862dd;border-radius:99px}
.report-empty{padding:14px 18px;border-radius:10px;background:#f1f5ff;color:#35435d}
.report-skill-table{min-width:850px}
.report-skill-table th:last-child,.report-skill-table td:last-child{min-width:230px}
.report-skill-table td{line-height:1.4}
.report-attempt-table{min-width:930px}
.report-attempt-table td:nth-child(3){min-width:220px}
.report-attempt-table small{display:block;margin-top:4px;color:#52627c;line-height:1.35}
.report-status{display:inline-block;border-radius:99px;padding:4px 9px;font-size:13px;font-weight:800;white-space:nowrap}
.report-status.ok{background:#d6f5e8;color:#075c42}
.report-status.review{background:#ffead3;color:#884103}
.report-status.neutral{background:#e7eaf2;color:#35435d}
.report-alert{border:2px solid #e6a43e;background:#fff4de;border-radius:13px;padding:14px 18px}
.report-alert strong{color:#723d05}
.report-alert ul{margin:8px 0 0;padding-left:22px}
.report-events{border-top:1px solid #d8e0f1;padding-top:19px;margin-top:24px}
.report-events summary{cursor:pointer;font-weight:800;color:#1645a4}
.report-events .table-wrap{margin-top:14px}
.report-limits{margin:22px 0 0}
body.high-contrast .report-metric,body.high-contrast .report-empty,body.high-contrast .report-track{border:1px solid #283044;background:#fff}
body.high-contrast .report-track i{background:#00399b}
@media(max-width:950px){.admin-layout{grid-template-columns:1fr}.create-profile{grid-template-columns:1fr}}
@media(max-width:760px){.student-progress-grid,.grade-reference,.dashboard-hero{grid-template-columns:1fr}.dashboard-number{width:max-content}.profile-fields,.editor-grid,.editor-figure .editor-grid,.prerequisite-grid{grid-template-columns:1fr}.teacher-tabs .btn{flex:1}}
@media(max-width:760px){.report-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.report-actions{width:100%}.report-actions .btn{flex:1}.report-header h2 small{display:block;margin-top:4px}}
@media print{
  body{background:#fff;color:#000}
  .topbar,footer,.teacher-tabs,.create-profile,.teacher-layout>.sidebar,.teacher-layout>.stack>.panel:not(.teacher-detail-report),.report-actions{display:none!important}
  main{width:100%;max-width:none;padding:0}
  .teacher-layout{display:block}
  .teacher-detail-report{border:0;box-shadow:none;padding:0}
  .report-events{display:none}
  .report-metric,.report-section,.report-alert{break-inside:avoid}
  .report-track i{-webkit-print-color-adjust:exact;print-color-adjust:exact}
  tr{break-inside:avoid}
}
