/* v0.6.48 — compact student overview; mobile only. */
@media (max-width:850px){
 body .at-shell .at-content:has(.ala-page-student_dashboard .ala-student-welcome){padding:7px!important}
 body .ala.ala-page-student_dashboard .ala-student-portal-art{margin:0 0 6px;border-radius:10px}
 body .ala.ala-page-student_dashboard .ala-student-portal-art img{width:100%;height:auto;max-height:125px;object-fit:contain}
 body .ala.ala-page-student_dashboard .ala-student-welcome{padding:7px 9px!important;margin:0 0 6px!important;gap:6px;border-radius:10px}
 body .ala.ala-page-student_dashboard .ala-welcome-person{gap:7px}
 body .ala.ala-page-student_dashboard .ala-welcome-person img.avatar{width:34px;height:34px;flex:0 0 34px;border-width:2px}
 body .ala.ala-page-student_dashboard .ala-welcome-copy .ala-student-heading{font-size:10px;line-height:1.2;letter-spacing:.035em}
 body .ala.ala-page-student_dashboard .ala-welcome-copy h2{font-size:16px;line-height:1.2;margin:1px 0!important}
 body .ala.ala-page-student_dashboard .ala-welcome-copy p{font-size:11px;line-height:1.3;margin:1px 0 0}
 body .ala.ala-page-student_dashboard .ala-student-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin:0 0 5px!important}
 body .ala.ala-page-student_dashboard .ala-student-stats>div{padding:5px 6px!important;gap:3px;border-radius:9px;min-height:0;border-bottom-width:3px}
 body .ala.ala-page-student_dashboard .ala-student-stats>div>small{font-size:10px;line-height:1.2}
 body .ala.ala-page-student_dashboard .ala-student-stats>div>strong{font-size:17px;line-height:1.1}
 body .ala.ala-page-student_dashboard .ala-student-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:5px;margin:5px 0 7px!important;width:100%}
 body .ala.ala-page-student_dashboard .ala-student-actions>a.ala-btn{display:flex!important;align-items:center;justify-content:center;box-sizing:border-box;width:100%!important;min-width:0!important;max-width:100%;min-height:40px;height:auto;margin:0!important;padding:6px 2px!important;font-size:clamp(10px,2.8vw,13px)!important;font-weight:700;line-height:1.15;text-align:center;white-space:normal;overflow-wrap:normal;border-radius:8px}
 body .ala.ala-page-student_dashboard .ala-student-actions>a.ala-btn:focus-visible{outline:2px solid #5037c6;outline-offset:2px}
 body .ala.ala-page-student_dashboard .ala-student-actions + .ala-empty{margin:5px 0 7px!important;padding:8px 10px!important;font-size:12px;line-height:1.35;border-radius:9px}
 body .ala.ala-page-student_dashboard:has(.ala-student-welcome) main>h3{font-size:17px;line-height:1.25;margin:6px 0!important}
}
@media(max-width:340px){
 body .ala.ala-page-student_dashboard .ala-student-actions{gap:3px}
 body .ala.ala-page-student_dashboard .ala-student-actions>a.ala-btn{font-size:10px!important;padding-inline:2px!important}
 body .ala.ala-page-student_dashboard .ala-student-stats>div{padding:4px!important}
 body .ala.ala-page-student_dashboard .ala-student-stats>div>small{font-size:9px}
}

/* v0.6.55 — explicit enrolled-course grid, independent of old horizontal carousel rules. */
body .ala.ala-page-student_dashboard main > .ala-catalog.ala-enrolled-grid {
 display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
 grid-auto-flow:row!important;grid-auto-columns:auto!important;grid-auto-rows:auto!important;
 height:auto!important;max-height:none!important;min-height:0!important;overflow:visible!important;
 visibility:visible!important;opacity:1!important;gap:10px!important;padding:0!important;
 scroll-snap-type:none!important;align-items:stretch!important;
}
body .ala.ala-page-student_dashboard .ala-enrolled-grid > .ala-enrolled-card {
 display:flex!important;flex-direction:column;min-width:0;width:100%;height:auto!important;
 visibility:visible!important;opacity:1!important;box-sizing:border-box;overflow:hidden;
 border:1px solid #e0e2ef;border-radius:14px;background:linear-gradient(180deg,#fff,#fafaff);
 box-shadow:0 3px 10px #21235b12; padding:0!important;
}
body .ala.ala-page-student_dashboard .ala-enrolled-card .ala-cardbody{display:flex;flex-direction:column;flex:1;min-width:0}
body .ala.ala-page-student_dashboard .ala-enrolled-card .ala-cardfoot{margin-top:auto}
@media(max-width:1100px){body .ala.ala-page-student_dashboard main > .ala-catalog.ala-enrolled-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:850px){body .ala.ala-page-student_dashboard main > .ala-catalog.ala-enrolled-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}body .ala.ala-page-student_dashboard .ala-enrolled-grid > .ala-enrolled-card{border-radius:11px}}
