.my-course-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:24px;margin:24px 0}
.my-course-card,.teacher-box,.lesson-card {background:#fff;border:1px solid #dce4f3;border-radius:16px;padding:24px;box-shadow:0 6px 20px #12338a08}
.my-course-card h2 {margin:16px 0 8px;font-size:1.5rem;color:var(--navy,#12338a)}
.course-badge {display:inline-block;padding:5px 12px;border-radius:30px;background:#fff1ed;color:#a52c20;font-weight:700;font-size:.85rem}
.course-badge.unlocked {background:#eaf0ff;color:#1d4fc4}
.course-actions {display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}
.course-actions button {font:inherit;border:0;cursor:pointer}
.course-actions button:disabled {opacity:.6;cursor:default}
.teacher-contact {border-top:1px solid #e1e7f1;margin-top:20px;padding-top:16px;font-size:.95rem}
.teacher-contact a {color:#1d4fc4;font-weight:600}
.teacher-box {border-left:5px solid #c8281e;margin:28px 0}
.lesson-card {margin:16px 0}
.lesson-body {white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8}
#learning-message {overflow-wrap:anywhere}
#lesson-panel {scroll-margin-top:110px;padding:24px 0}
@media(max-width:600px){.my-course-card,.teacher-box,.lesson-card{padding:20px}.course-actions .btn{flex:1;text-align:center}.teacher-box h2{font-size:1.4rem}}
