/* Common course operations: primary actions visible; optional configuration folded. */
.cc-create-card summary, .workflow-advanced summary { cursor:pointer; color:#174f86; font-weight:800; padding:8px 0; }
.cc-create-card summary small, .workflow-advanced summary small { font-weight:400; color:#697b92; margin-left:12px; }
.cc-create-card details[open] summary { margin-bottom:16px; }
.cc-list-filters { grid-template-columns:minmax(220px,2fr) repeat(2,minmax(135px,1fr)) auto; align-items:end; width:100%; min-width:0; }
.cc-list-heading { flex-wrap:wrap; }
.cc-list-filters > button { min-height:38px; margin:0; }
.cg-row-main > .cg-field:first-child { min-width:0; }
.cg-row-main [data-cg-search], .cg-row-main [data-cg-direction], .cg-row-main [data-cg-category] { width:100%; min-height:40px; box-sizing:border-box; margin-bottom:6px; border:1px solid #dbe5f2; border-radius:10px; padding:8px 10px; background:#fff; color:#20344f; }
.cg-row-main [data-cg-match] { display:block; color:#6b7f98; font-size:12px; margin-top:6px; }
.cg-sticky-actions { position:sticky; bottom:12px; z-index:5; padding:14px; border:1px solid #dae4f1; border-radius:14px; background:#fff; box-shadow:0 6px 24px #16395614; display:flex; gap:10px; flex-wrap:wrap; }
.workflow-advanced { border:1px solid #e1e8f1; border-radius:12px; padding:8px 14px; margin:10px 0 16px; }
.workflow-advanced[open] summary { margin-bottom:12px; }
.workflow-upload-summary { background:#eff6ff; border:1px solid #dbe9fa; border-radius:12px; padding:14px 16px; color:#174f86; overflow-wrap:anywhere; line-height:1.7; }
.cg-recovery-actions { position:relative; margin-left:auto; align-self:center; }
.cg-recovery-actions summary { cursor:pointer; padding:10px; color:#65768d; font-size:13px; }
.cg-recovery-actions > div { position:absolute; bottom:100%; right:0; width:min(340px,75vw); display:grid; gap:10px; background:white; border:1px solid #dbe5f2; padding:14px; border-radius:12px; box-shadow:0 8px 28px #16395622; }
.material-review-tools { display:flex; flex-wrap:wrap; gap:12px; align-items:center; margin:12px 0; font-size:13px; color:#5c708d; }
.material-review-tools label { display:flex; align-items:center; gap:8px; }
.material-review-tools input[type=checkbox] { appearance:auto; width:18px; height:18px; min-height:18px; padding:0; margin:0; }
.material-selection-chips { display:flex; gap:8px; flex-wrap:wrap; max-height:140px; overflow:auto; margin:8px 0 18px; }
.material-selection-chip { background:#eef5ff; color:#175083; border:1px solid #d6e5f8; border-radius:10px; padding:7px 10px; font-size:12px; max-width:100%; white-space:normal; overflow-wrap:anywhere; text-align:left; }
.material-selection-chip span { margin-left:8px; font-size:16px; }
@media(max-width:900px) { .cc-list-filters { grid-template-columns:1fr 1fr; } .cc-list-filters label:first-child { grid-column:1/-1; } }
@media(max-width:560px) { .cc-list-filters { grid-template-columns:1fr; } .cc-create-card summary small, .workflow-advanced summary small { display:block; margin:6px 0; } .cg-sticky-actions { bottom:0; padding:10px; } .cg-sticky-actions button { flex:1 1 45%; white-space:normal; } }
