/* The home cards retain the existing course-card design. */
#student-module-grid{counter-reset:fq-course}
#student-module-grid:has(>.course-card:nth-child(4)){grid-template-columns:repeat(2,minmax(0,1fr))}
.course-card.mcm,.course-card.cc{--accent:var(--violet)}
.course-arrow{font-size:20px;line-height:1}
.performance-filters{display:flex;align-items:end;gap:14px;flex-wrap:wrap}
.performance-heading .performance-filters label{min-width:165px}
.performance-topic-tools{display:grid;grid-template-columns:minmax(0,2fr) minmax(190px,1fr);gap:16px;margin:18px 0}
.performance-topics{margin-top:34px}
.performance-table-scroll{max-width:100%;overflow:auto;background:var(--panel);border:1px solid var(--stroke);border-radius:18px;margin:18px 0}
.performance-topic-table{border-collapse:collapse;width:100%;font-size:13px;text-align:left}
.performance-topic-table caption{padding:17px 20px;color:var(--muted);font-size:12px;text-align:left}
.performance-topic-table th,.performance-topic-table td{padding:16px 12px;vertical-align:top;border-top:1px solid var(--stroke)}
.performance-topic-table thead th{font-size:10px;letter-spacing:.6px;color:var(--muted);font-weight:650;text-transform:uppercase}
.performance-topic-table tbody th{font-weight:500;min-width:230px;width:38%;padding-left:20px}
.performance-topic-table td{text-align:center;font-variant-numeric:tabular-nums}
.performance-topic-table td[data-label="Acertos"]{color:var(--teal)}
.performance-topic-table td.performance-error-number{color:var(--danger);font-weight:750}
.performance-topic-meta{display:block;font-size:11px;line-height:1.7;color:var(--muted);margin-top:5px}
.performance-question-details{font-size:11px;margin-top:10px}
.performance-question-details summary{color:var(--teal);cursor:pointer;font-weight:650}
.performance-question-list{display:grid;gap:10px;margin-top:12px}
.performance-question-item{padding:10px;border:1px solid var(--stroke);border-radius:10px;display:grid;gap:4px}
.performance-question-item button{text-align:left;white-space:normal;font-size:11px}
.performance-topic-table .is-unclassified th>strong{color:var(--muted)}
@media(max-width:900px){.performance-heading{flex-wrap:wrap}.performance-filters{width:100%}.performance-heading .performance-filters label{flex:1;min-width:145px}}
@media(max-width:700px){
 #student-module-grid:has(>.course-card:nth-child(4)){grid-template-columns:1fr}
 .performance-topic-tools{grid-template-columns:1fr}
 .performance-table-scroll{overflow:visible;border:0;background:transparent}
 .performance-topic-table,.performance-topic-table tbody{display:block;width:100%}
 .performance-topic-table caption{display:block;padding:0 0 14px}
 .performance-topic-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .performance-topic-table tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid var(--stroke);border-radius:16px;background:var(--panel);padding:16px;margin-bottom:14px;gap:12px}
 .performance-topic-table tbody th{grid-column:1/-1;display:block;min-width:0;width:100%;padding:0 0 13px;border-top:0;border-bottom:1px solid var(--stroke)}
 .performance-topic-table tbody td{display:block;text-align:left;border:0;padding:0;min-width:0;font-size:18px;font-weight:650}
 .performance-topic-table tbody td:before{content:attr(data-label);display:block;font-size:10px;font-weight:500;color:var(--muted);margin-bottom:3px}
 .performance-question-list{gap:8px}
}
