.run-workspace { padding:28px; }
.run-workspace-heading { display:flex; align-items:center; justify-content:space-between; gap:20px; padding-bottom:24px; border-bottom:1px solid var(--line); }
.run-workspace-heading h2 { margin:12px 0 6px; font-size:23px; line-height:1.4; }
.run-workspace-heading p { color:var(--muted); font-size:13px; line-height:1.7; margin:0; }
.run-course-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr)); gap:18px; padding-top:24px; }
.run-course-card { display:flex; flex-direction:column; min-width:0; padding:22px; border:1px solid var(--line); border-radius:16px; background:var(--soft); }
.run-card-top { display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; margin-bottom:16px; }
.run-course-code { color:var(--muted); font-size:12px; overflow-wrap:anywhere; }
.run-course-card h2 { font-size:17px; line-height:1.5; margin:0; overflow-wrap:anywhere; }
.run-card-count { color:var(--muted); font-size:13px; line-height:1.6; margin:8px 0 20px; }
.run-card-progress { margin-top:auto; }
.run-card-progress>div { display:flex; justify-content:space-between; gap:12px; font-size:13px; margin-bottom:9px; color:var(--muted); }
.run-card-progress strong { color:var(--ui-paid); font-variant-numeric:tabular-nums; }
.run-card-progress progress { appearance:none; width:100%; height:8px; display:block; border:0; border-radius:9px; background:var(--page); overflow:hidden; }
.run-card-progress progress::-webkit-progress-bar { background:var(--page); }
.run-card-progress progress::-webkit-progress-value { background:linear-gradient(90deg,var(--accent),var(--ui-paid)); border-radius:9px; }
.run-card-progress progress::-moz-progress-bar { background:linear-gradient(90deg,var(--accent),var(--ui-paid)); border-radius:9px; }
.run-card-error { display:flex; align-items:flex-start; gap:8px; padding:12px; border-radius:9px; color:var(--warn); background:var(--warn-soft); font-size:13px; line-height:1.6; overflow-wrap:anywhere; }
.run-card-error .icon { flex:none; width:18px; height:18px; margin-top:2px; }
.run-card-note { font-size:12px; color:var(--muted); line-height:1.7; }
.run-card-actions { display:flex; justify-content:flex-end; margin-top:20px; }
.run-card-actions:empty { display:none; }
@media(max-width:600px) { .run-workspace { padding:18px; } .run-workspace-heading { align-items:flex-start; flex-direction:column; } .run-workspace-heading h2 { font-size:20px; } .run-course-card { padding:18px; } }
