.student-diagnostics [hidden] { display: none !important; }
.student-diagnostics .method-picker { max-height: none; }
.student-diagnostics #open-answer { width: 100%; padding: 16px; border: 1px solid var(--line); border-radius: 10px; font: inherit; resize: vertical; }
.student-diagnostics .profile-row small { display: block; color: var(--muted); font-size: 11px; }
.student-diagnostics .profile-row > span { overflow-wrap: anywhere; }
.student-diagnostics #resume-panel { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.student-diagnostics .sources-panel li { line-height: 1.6; }
.student-diagnostics .sources-panel a { overflow-wrap: anywhere; }
.student-diagnostics #storage-note { color: #8c542e; }
@media (max-width: 600px) {
 .student-diagnostics .profile-row { grid-template-columns: minmax(0,1fr) minmax(70px,1fr) 24px; gap: 10px; }
 .student-diagnostics .detail-card { min-width: 0; }
 .student-diagnostics .detail-card > div { min-width: 0; overflow-wrap: anywhere; }
}
@media print {
 .student-diagnostics #results.active { display: block !important; }
 .student-diagnostics .detail-card { break-inside: avoid; }
 .student-diagnostics .profile-line { print-color-adjust: exact; }
 .student-diagnostics #result-warning { display: block; }
}
.student-diagnostics .intro h1 { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.12; overflow-wrap: normal; word-break: normal; hyphens: manual; }
.student-diagnostics .sources-panel ul { columns: 1; }
@media print {
 .student-diagnostics #result-warning { display: block !important; }
 .student-diagnostics .result-section { break-inside: auto; }
}

