.creation-types { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:20px 0; }
.creation-types button { text-align:left;background:white;color:#19365a;border:1px solid #dce7f5;border-radius:16px;padding:22px; }
.creation-types button small { display:block;margin-top:10px;color:#6a7f99;line-height:1.6; }
.creation-types button.selected { border-color:#315fe8;background:#edf3ff; }
/* Override the global !important gradient only within this workspace. */
#teacherConsole .creation-types { gap:16px; align-items:stretch; }
#teacherConsole .creation-types button {
  background:#fff!important; color:#19365a!important; border:1px solid #cedbec;
  border-top:4px solid #4164e8; box-shadow:0 4px 16px #2447790b;
  padding:22px 20px; min-height:130px; line-height:1.5; transition:background .15s,border-color .15s;
}
#teacherConsole .creation-types button b { display:block; color:inherit; font-size:18px; font-weight:750; }
#teacherConsole .creation-types button small { font-size:14px; color:#53677f!important; line-height:1.65; margin-top:10px; }
#teacherConsole .creation-types button:hover { background:#f0f5ff!important; border-color:#6989ed; }
#teacherConsole .creation-types button.selected { background:#284fc5!important; color:#fff!important; border-color:#284fc5; }
#teacherConsole .creation-types button.selected small { color:#fff!important; }
#teacherConsole .calendar-nav { gap:10px; align-items:center; }
#teacherConsole .calendar-nav button {
  width:44px; height:44px; padding:0; display:grid; place-items:center;
  font:700 30px/1 system-ui,sans-serif; border:1px solid #bfd0ed; border-radius:11px;
  background:#edf3ff!important; color:#183f86!important; box-shadow:none;
}
#teacherConsole .calendar-nav button:hover { background:#284fc5!important; color:#fff!important; border-color:#284fc5; }
#teacherConsole .calendar-nav button:focus-visible,
#teacherConsole .creation-types button:focus-visible { outline:3px solid #183f86;outline-offset:4px; }
#teacherConsole .calendar-heading { gap:16px; flex-wrap:wrap; }
#teacherCourses { display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:20px; }
#teacherCourses .generated-course-cover { height:170px!important;min-height:0!important;aspect-ratio:auto!important;padding:22px!important; }
#teacherCourses .generated-course-cover strong { font-size:26px!important; }
#teacherCourses .teacher-course-card { min-width:0; }
#teacherCourses .course-card-actions > div { display:flex;gap:8px;flex-wrap:wrap; }
#teacherCourses .delete-draft { color:#b13b41;background:#fff1f2;border:1px solid #f0c8ca; }
[data-view-panel="create"] .course-creator { width:100%;max-width:none; }
[data-view-panel="schedule"] .teacher-calendar-panel { margin:0 0 24px; }
.private-workflow-note { background:#fff7e8;border:1px solid #f1d6a0;padding:16px;border-radius:12px;color:#765417; }
.private-course-total { grid-column:1/-1;padding:16px;background:#edf5ff;border-radius:12px;font-weight:700;color:#20477d; }
[data-view-panel="create"] .manual-slot-card { margin-top:20px; }
@media(max-width:900px){.creation-types{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:500px){.creation-types,#teacherCourses{grid-template-columns:minmax(0,1fr);}}
