/* Overrides are opt-in and scoped to one saved lesson screen. */
.mc-course [data-scc-background],.mc-course[data-scc-background]{background-color:var(--scc-background)!important;background-image:none!important}
.mc-course [data-scc-background]>.sct-body{--sct-paper:var(--scc-background);background:var(--scc-background)!important}
.mc-course[data-scc-surface] .mi-content>[data-sce-block],.mc-course [data-scc-surface] :is(.sct-item,.mc-message,.sm-profile-model,.sce-semantic li){background:var(--scc-surface)!important;background-image:none!important}
.mc-course[data-scc-surface] .sct-body{--sct-paper:var(--scc-surface)}
.mc-course[data-scc-text],.mc-course [data-scc-text],.mc-course [data-scc-text] :is(p,li,blockquote,figcaption,[data-sce-text]),.mc-course[data-scc-text] :is(p,li,blockquote,figcaption,[data-sce-text]){color:var(--scc-text)!important}
.mc-course[data-scc-heading] :is(h1,h2,h3,h4),.mc-course [data-scc-heading] :is(h1,h2,h3,h4),.mc-course :is(h1,h2,h3,h4)[data-scc-heading]{color:var(--scc-heading)!important}
.mc-course[data-scc-border] :is(.mi-paper,.sct-item,.mc-message,hr,header,.sct-items,.mi-row),.mc-course [data-scc-border],.mc-course [data-scc-border] *{border-color:var(--scc-border)!important}
.mc-course[data-scc-accent] :is(.mi-icon,[data-sce-icon],.sct-eyebrow,.sct-number,.sct-check,.sce-connector),.mc-course [data-scc-accent] :is(.mi-icon,[data-sce-icon],.sct-eyebrow,.sct-number,.sct-check,.sce-connector){color:var(--scc-accent)!important}
.mc-course[data-scc-accent] .sct-body,.mc-course [data-scc-accent] .sct-body{--sct-accent:var(--scc-accent)}
.mc-course[data-scc-button] button,.mc-course [data-scc-button] button{background:var(--scc-button)!important;border-color:var(--scc-button)!important}
.mc-course[data-scc-buttonText] button,.mc-course [data-scc-buttonText] button{color:var(--scc-buttonText)!important}
.mc-course [data-scc-element][data-scc-text],.mc-course [data-scc-element][data-scc-text] *{color:var(--scc-text)!important}
.mc-course [data-scc-element][data-scc-background]{background:var(--scc-background)!important}
.scc-disclosure{margin-top:12px;border-top:1px solid var(--sce-border,#c7adb7);padding-top:14px}.scc-disclosure>summary{cursor:pointer;font-weight:600;padding:10px 0}.scc-panel{padding-top:12px}.scc-color-row{display:flex;gap:8px;align-items:center}.scc-color-row input[type=color]{flex:none!important;width:48px!important;height:42px!important;padding:3px!important}.scc-color-row input[data-scc-hex]{min-width:0;font:13px monospace!important}.scc-presets,.scc-shades{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;margin:12px 0}.scc-shades{grid-template-columns:repeat(9,minmax(0,1fr));gap:3px}
#sce-builder .scc-panel button[data-scc-swatch]{background:var(--swatch)!important;border:1px solid var(--sce-border)!important;min-width:0;height:26px;padding:0!important;border-radius:6px}#sce-builder .scc-panel input[type=range]{padding:0;accent-color:#782c47;height:24px;cursor:pointer}.scc-panel p{font-size:11px;overflow-wrap:anywhere}.scc-panel input[aria-invalid=true]{outline:2px solid #b34848}

.mc-course [data-scc-element][data-scc-accent],.mc-course [data-scc-element][data-scc-accent] svg{color:var(--scc-accent)!important}
