.course-creation{width:100%;max-width:760px;min-width:0}.course-creation .section-head{align-items:start;gap:16px}.course-creation .section-head h2{margin-top:6px}.creation-steps{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:0;margin:20px 0 24px;border-bottom:1px solid var(--line);gap:8px}.creation-steps li{padding:10px 0 12px;font-size:12px;overflow-wrap:anywhere;border-bottom:3px solid transparent}.creation-steps li[aria-current]{border-color:var(--orange);font-weight:800}.creation-steps span{font-family:Mono,monospace;display:block;font-size:11px;margin-bottom:4px}.course-creation .field,.course-creation .form-grid>*{min-width:0}.course-creation input,.course-creation select,.course-creation textarea{max-width:100%}.creation-hint{font-size:13px;padding:12px 16px;background:var(--panel);border-left:2px solid var(--line);margin:16px 0;overflow-wrap:anywhere}.creation-hint p:last-child{margin-bottom:0}.creation-hint ul{padding-left:20px;margin-bottom:10px}.creation-hint li+li{margin-top:8px}.creation-check{display:flex;gap:12px;align-items:start;margin:16px 0;font-size:14px}.creation-check input{flex:0 0 20px;width:20px;height:20px;margin:1px 0 0;accent-color:var(--night)}.creation-check:has(input:disabled){color:var(--muted)}.creation-release{margin:20px 0;border:1px solid var(--line);padding:12px 16px}.creation-release legend{padding:0 8px;font-weight:700}.creation-summary{padding:20px 0;border-block:1px solid var(--line);margin-bottom:20px;overflow-wrap:anywhere}.creation-summary h3{font-size:23px;margin:12px 0}.creation-summary ul{padding-left:20px}.creation-description{white-space:pre-wrap}.creation-meetings{list-style:none;padding:0;margin:20px 0}.creation-meetings li{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px 20px;border-bottom:1px solid var(--line);padding:16px 0;overflow-wrap:anywhere}.creation-meetings small{grid-column:1/-1}.creation-meetings span{font-size:14px}.creation-conflicts{padding:16px;border-left:3px solid var(--orange);background:var(--panel);margin:16px 0}.creation-conflicts ul{padding-left:20px}.creation-error{overflow-wrap:anywhere}.creation-error:focus{outline:3px solid var(--night);outline-offset:3px}.course-creation .form-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}.course-creation .form-actions button,.course-creation .form-actions a{min-height:44px}.course-creation [hidden]{display:none!important}.course-creation [aria-busy=true]{cursor:progress}@media(max-width:600px){.course-creation .form-grid{grid-template-columns:1fr}.course-creation .form-actions>*{width:100%}.creation-meetings li{grid-template-columns:1fr}.creation-steps{gap:4px}.creation-steps li{font-size:11px}.creation-release{padding:8px 12px}.creation-summary h3{font-size:21px}}

.course-creation .creation-fields{min-width:0;border:0;padding:0;margin:0}
#editor .course-creation .section-head [data-close]{min-width:44px;min-height:44px}
/* Keep the current action in the dialog scrollport, including short screens. */
#editor:has(>.course-creation){scroll-padding-block:88px 156px;overscroll-behavior:contain}
#editor .course-creation .form-actions{position:sticky;bottom:0;z-index:3;background:var(--surface,var(--panel));padding:14px 0 8px;border-top:1px solid var(--line);box-shadow:0 -8px 0 var(--surface,var(--panel));isolation:isolate}
.course-creation .creation-fields :is(input,select,textarea){scroll-margin-block:88px 156px}
@media(max-width:600px){#editor .course-creation .form-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}#editor .course-creation .form-actions:has([data-creation-back]){grid-template-columns:repeat(2,minmax(0,1fr))}#editor .course-creation .form-actions>*{width:auto;min-width:0}#editor .course-creation .form-actions>.primary{grid-column:1/-1}}
