/* Course commerce and teaching surfaces extend the shared Phase 1 tokens. */
.course-workspace{max-width:1280px;margin:auto;padding:28px 24px 72px;color:var(--text-primary,#10223c)}
.course-workspace h1{font-size:clamp(1.8rem,3.2vw,2.8rem);line-height:1.2;margin:12px 0}
.course-workspace h2{font-size:1.35rem;margin:0 0 16px}.course-workspace p{line-height:1.7}
.course-workspace [hidden]{display:none!important}
.course-catalog-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:16px}.course-catalog-filters label{display:grid;gap:8px;min-width:0}.course-catalog-filters select{width:100%;min-width:0;max-width:100%}
.course-catalog-search input{width:100%;min-width:0;max-width:100%}.course-filter-more{margin:16px 0}.course-filter-more summary{cursor:pointer;min-height:44px;padding:10px 0;font-weight:600}.course-check{display:flex!important;align-items:center;gap:10px;min-height:44px}
.course-workspace input,.course-workspace select,.course-workspace textarea{max-width:100%;min-width:0;min-height:44px;border:1px solid #cbdced;border-radius:10px;padding:10px;background:#fff;font:inherit}
.course-workspace input[type=checkbox]{min-height:20px;min-width:20px;accent-color:#0878f9}
.course-workspace label{display:grid;gap:6px;font-size:.9rem}.course-workspace fieldset{min-width:0;border:1px solid #dbe7f2;border-radius:14px;padding:18px}
.course-workspace legend{font-weight:700;padding:0 8px}.course-columns{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:28px;align-items:start}
.course-panel{padding:24px;border:1px solid #dbe7f2;border-radius:18px;background:#fff;margin-bottom:22px;min-width:0}
.course-panel--tinted{background:#f2f8ff}.course-plan{position:sticky;top:24px}.course-facts{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}
.course-facts span{background:#f0f6fc;border-radius:8px;padding:7px 10px;font-size:.85rem}.course-image{border-radius:18px;overflow:hidden;aspect-ratio:16/9;margin-bottom:20px}.course-image img{width:100%;height:100%;object-fit:cover}
.course-action{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:46px;padding:11px 18px;background:var(--brand-blue-dark,#075ecf);color:white!important;border:0;border-radius:10px;text-decoration:none;cursor:pointer;font:inherit;font-weight:600}
.course-action:hover{background:#004eb8}.course-action:focus-visible,.course-workspace a:focus-visible{outline:3px solid #ffa900;outline-offset:3px}.course-action--quiet{background:#e9f2ff;color:#075bbd!important}.course-action[disabled]{background:#d9e3ed;color:#53637a!important;cursor:not-allowed}
.course-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:15px 0;border-bottom:1px solid #e5edf5}.course-row>*{min-width:0;overflow-wrap:anywhere}.course-stack{display:grid;gap:16px}.course-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.course-fields .wide{grid-column:1/-1}
.course-choice{display:flex!important;align-items:flex-start;gap:12px!important;padding:16px;border:1px solid #dbe7f2;border-radius:12px;background:white}.course-choice span{flex:1}.course-choice small{display:block;color:#536781;margin-top:5px}
.course-total{font-size:1.7rem;font-weight:700;color:#111}.course-caption{font-size:.85rem;color:#536781}.course-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0 24px}.course-tabs a{padding:10px 14px;background:#f0f6fc;border-radius:8px;text-decoration:none}.course-tabs a[aria-current=page]{background:var(--brand-blue-dark,#075ecf);color:white}.course-workspace details>summary{cursor:pointer;font-weight:700;min-height:44px;display:flex;align-items:center}.course-workspace details[open]>summary{margin-bottom:18px}
.course-mobile-action{display:none}.course-person{display:flex;gap:12px;align-items:center}.course-person img{width:52px;height:52px;border-radius:50%;object-fit:cover}.course-notice{padding:16px;background:#fff7df;border:1px solid #f1d899;border-radius:10px;margin:16px 0}.course-overflow{overflow-x:auto}.course-workspace table{width:100%;border-collapse:collapse}.course-workspace th,.course-workspace td{text-align:left;padding:12px;border-bottom:1px solid #e5edf5}
.course-setup-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;list-style-position:inside;padding:0;margin:24px 0}.course-setup-steps li{padding:12px;border:1px solid var(--border,#dbe7f2);border-radius:10px;font-size:.85rem}.course-setup-steps li[aria-current]{background:#e9f2ff;color:var(--brand-blue-dark,#075ecf);font-weight:600}
@media(max-width:600px){.course-setup-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1023px){.course-columns{grid-template-columns:minmax(0,1fr) 300px}.course-workspace{padding-bottom:150px}.course-mobile-action{position:fixed;display:flex;bottom:72px;left:0;right:0;padding:10px 16px;background:white;border-top:1px solid #dbe7f2;box-shadow:0 -6px 20px #10223c0a;gap:16px;justify-content:space-between;align-items:center;z-index:35}.course-mobile-action span{font-size:.85rem;max-width:40%}.course-plan{position:static}}
@media(max-width:767px){.course-workspace{padding:18px 16px 160px}.course-columns,.course-fields{grid-template-columns:minmax(0,1fr)}.course-panel{padding:18px}.course-fields .wide{grid-column:auto}.course-row{align-items:flex-start;flex-wrap:wrap}.course-workspace .course-image{margin-inline:-1px}.course-tabs{flex-wrap:nowrap;overflow-x:auto}.course-tabs a{white-space:nowrap}.course-mobile-action .course-action{flex:1}.course-workspace h1{font-size:1.85rem}}
@media(max-width:767px){.course-admin-list table,.course-admin-list tbody,.course-admin-list tr,.course-admin-list td{display:block;width:100%;min-width:0}.course-admin-list thead{display:none}.course-admin-list tr{border:1px solid #dbe7f2;border-radius:12px;margin-bottom:16px;padding:10px}.course-admin-list td{border:0;padding:8px;white-space:normal!important;overflow-wrap:anywhere}.course-admin-list td[data-label]::before{content:attr(data-label);display:block;font-size:.75rem;color:#536781;margin-bottom:3px}.course-admin-list table{min-width:0!important}}
