/* Interface themes never filter, recolor, or modify artwork, canvases or exports. */
.studio-theme-toggle{min-height:44px;padding:8px 12px;border:1px solid #71638f;border-radius:10px;background:#1c2030;color:#f5f2ff;font:600 12px/1.3 system-ui;cursor:pointer;white-space:nowrap;flex-shrink:0}
body>.studio-theme-toggle{position:fixed;top:12px;right:12px;z-index:100}
.studio-theme-toggle:focus-visible{outline:3px solid #8b60ff;outline-offset:3px}
html[data-studio-theme=light] body.ss-body{--cream:#f2f4fa;--panel:#fff;--ink:#20283b;--muted:#526079;--line:#cdd4e2;--forest:#6440cb;--forest-d:#5131ad;--welcome-text:#20283b;--welcome-muted:#526079;background:#f2f4fa!important;color:#20283b}
html[data-studio-theme=light] body.workspace-open{--cream:#f2f4fa;--ink:#20283b;--muted:#526079;--line:#cdd4e2}
html[data-studio-theme=light] :is(.ws-shell,.ws-canvas){background:#e8edf6!important;color:#20283b}
html[data-studio-theme=light] :is(.ws-top,.ws-rail,.ws-inspector,.account-bar,.generation-mode,.ws-canvas .ss-toolbar,.ws-canvas .ss-empty,.ws-canvas .ss-pane figcaption,.ws-create-dock,.kid-tools,.kid-guide,.ds-stage,.welcome-card,.welcome-dialog,.class-login,.collaboration-bar){background:#fff!important;color:#20283b!important;border-color:#c8d1e2!important;box-shadow:0 2px 12px #2433510c}
html[data-studio-theme=light] :is(.ws-inspector,.ws-create-dock,.welcome-card,.account-bar,.ds-stage,.kid-guide,.welcome-dialog) :is(h1,h2,h3,h4,label,p,small,summary,legend,strong,.ss-help,.ss-muted,.ds-caption){color:#34425c}
html[data-studio-theme=light] :is(.ws-inspector,.ws-create-dock,.welcome-card,dialog,.ws-project) :is(input:not([type=color]):not([type=range]):not([type=checkbox]),select,textarea){background:#fff!important;color:#20283b!important;border-color:#98a6bf!important}
html[data-studio-theme=light] :is(input,textarea)::placeholder{color:#65748c!important;opacity:1}
html[data-studio-theme=light] :is(.ws-brand,.ws-inspector-title,.ws-project .ss-project,.ws-brand small,.ws-project #saved,.ws-canvas .ss-empty span,.ds-caption){color:#526079!important}
html[data-studio-theme=light] :is(.ws-rail button,.ws-header-actions button,.ws-canvas .ss-toolbar button,.ws-inspector button,.account-bar button,.ws-notes-toggle,.kid-tools button,.kid-mode-toggle,.studio-theme-toggle){background:#edf0f9!important;color:#34425c!important;border-color:#aebbd0!important}
html[data-studio-theme=light] :is(button[aria-pressed=true],.ws-rail button[aria-pressed=true],.ss-chip[aria-pressed=true]){background:#e4d9ff!important;color:#4a258e!important;border-color:#8055d8!important}
html[data-studio-theme=light] :is(.ss-style,.ss-toggle,.ss-use,.ss-chip,.welcome-features article){background:#f2f4fa!important;color:#34425c!important;border-color:#c8d1e2!important}
html[data-studio-theme=light] .ss-style :is(strong,small){color:#34425c!important}
html[data-studio-theme=light] :is(dialog,.collaboration-dialog){background:#fff;color:#20283b;border-color:#aebbd0}
html[data-studio-theme=light] .welcome-screen{background:radial-gradient(ellipse at 12% 65%,#e6dcff,transparent 45%),radial-gradient(ellipse at 90% 42%,#dceaff,transparent 45%)}
html[data-studio-theme=light] :is(.welcome-brand>p,.welcome-intro,.welcome-description,.welcome-footer,.welcome-code-help,.welcome-help button,.teacher-signin-link){color:#4b5b79!important}
html[data-studio-theme=light] .welcome-lab{color:#5938ae;background:#eee8ff}
html[data-studio-theme=light] :is(.kid-guide button,#generate,#unlock-studio,.preflight-open){color:#fff!important;background:linear-gradient(110deg,#7042da,#2566dc)!important}
html[data-studio-theme=light] button:disabled{opacity:.5}
@media(max-width:600px){.studio-theme-toggle{padding:7px 9px;font-size:11px}body.studio-locked>.studio-theme-toggle{top:7px;right:7px}.studio-locked .welcome-brand{margin-top:34px}}

.ws-top>.studio-theme-toggle{order:99;margin-left:auto;display:inline-flex!important;align-items:center;justify-content:center}
html[data-studio-theme=light] :is(.ss-drop,.ss-file,.ss-drop-icon,.generation-mode-bar,.student-feedback,.student-feedback summary,.ss-pane,.ss-empty,.ws-challenge){background:#f3f5fb!important;color:#34425c!important;border-color:#aebbd0!important}
html[data-studio-theme=light] .ss-drop :is(strong,span,small){color:#34425c!important}
html[data-studio-theme=light] .ss-drop .ss-btn{background:#e1d7fa!important;color:#422777!important}
