/* Spark student dashboard: exam results and improvement history */
.exam-progress-panel{margin:22px 0 26px;padding:24px}
.exam-progress-panel .panel-heading{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:16px}
.exam-progress-intro{margin:8px 0 0;color:#a8bfd1;line-height:1.55;max-width:720px}
.exam-progress-filters{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0 15px}
.exam-progress-filters label{display:grid;gap:6px;color:#b5c9dc;font-size:.85rem;font-weight:650}
.exam-progress-filters select{min-width:150px;max-width:280px;padding:10px 12px;border:1px solid #536a7b;border-radius:9px;color:#13273a;background:#f4f8fb;font:inherit}
.exam-progress-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:14px 0}
.exam-progress-metrics article{min-width:0;background:#eff5f9;color:#152e42;border-radius:12px;padding:15px;border:1px solid #c3d5e1}
.exam-progress-metrics span{display:block;font-weight:650;font-size:.83rem;line-height:1.5;color:#3d5a72}
.exam-progress-metrics strong{display:block;font-size:1.55rem;letter-spacing:-.03em;margin:4px 0;color:#163e5e;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.exam-progress-chart{background:#fff;color:#182c40;border:1px solid #becfdb;border-radius:12px;padding:12px;margin:13px 0 18px;min-height:170px}
.exam-progress-chart h3,.exam-progress-history h3{font-size:1rem;margin:0 0 10px;font-weight:750}
#student-exam-chart svg{width:100%;height:auto;display:block;max-height:340px}
.exam-progress-history h3{color:#dce9f5;margin:20px 0 10px}
.exam-progress-scroll{max-width:100%;overflow-x:auto;border-radius:11px;border:1px solid #526d84}
.exam-progress-scroll table{border-collapse:collapse;width:100%;min-width:710px;background:#f7fafc;color:#20394e;text-align:left;font-size:.85rem}
.exam-progress-scroll th{background:#e6eef5;color:#203950;white-space:nowrap;font-weight:750}
.exam-progress-scroll th,.exam-progress-scroll td{padding:10px 11px;border-bottom:1px solid #d1dde6;vertical-align:middle}
.exam-progress-scroll tbody tr:last-child td{border-bottom:none}
.exam-progress-scroll tbody tr:nth-child(even){background:#edf4f9}
.exam-progress-scroll td:nth-child(4),.exam-progress-scroll td:nth-child(5),.exam-progress-scroll td:nth-child(6){font-weight:750;white-space:nowrap;font-variant-numeric:tabular-nums}
.exam-progress-disclaimer{font-size:.82rem;line-height:1.65;color:#b5cbdb;margin:16px 0 0}
.exam-progress-disclaimer a{color:#93d7fa;text-decoration:underline;text-underline-offset:2px}
.exam-progress-panel .teacher-empty{margin:16px 0}
@media(max-width:780px){.exam-progress-panel{padding:15px}.exam-progress-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.exam-progress-filters label{flex:1}.exam-progress-filters select{max-width:100%;width:100%}}
@media(max-width:420px){.exam-progress-metrics{gap:7px}.exam-progress-metrics article{padding:10px}.exam-progress-metrics strong{font-size:1.3rem}}
