/* Only the signed-out presentation changes; editor styles stay isolated. */
#studio-landing[hidden],#studio-entry-back[hidden]{display:none!important}
body.studio-locked.studio-landing-ready{background:#f7f5ef!important;overflow:auto!important;height:auto!important;min-height:100svh}
body.studio-locked.studio-landing-ready:not(.studio-entry-open) .welcome-screen{display:none!important}
body.studio-locked.studio-landing-ready:not(.studio-entry-open)>.ss-skip{display:none!important}
#studio-entry-back{position:absolute;top:20px;left:24px;z-index:100;min-height:44px;padding:10px 14px;border:1px solid #c5cec0;border-radius:8px;background:#fffdf7;color:#334832;font:600 13px/1.4 system-ui;cursor:pointer}
#studio-entry-back:focus-visible{outline:3px solid #a55139;outline-offset:3px}
body.studio-locked.studio-entry-open .welcome-screen{padding-top:85px;background:#f7f5ef;color:#26352e;min-height:100svh}
body.studio-entry-open .welcome-screen:before{display:none}
body.studio-locked.studio-entry-open .welcome-brand>div{color:#26352e;letter-spacing:-1.5px}
body.studio-entry-open .welcome-brand>div>span:first-child{color:#a35b43}
body.studio-entry-open .welcome-brand>p{color:#74816e}
body.studio-entry-open .welcome-gradient{background:none;-webkit-text-fill-color:#26352e;color:#26352e}
body.studio-entry-open .welcome-lab{color:#53684c;background:#e7ecde;border-color:#cbd4bf;box-shadow:none}
body.studio-locked.studio-entry-open #studio-access.welcome-card{background:#fffdf8!important;border:1px solid #d6ddcc!important;box-shadow:0 12px 40px #35462d0c!important;border-radius:18px}
body.studio-entry-open .welcome-card h1{color:#26352e}
body.studio-locked.studio-entry-open #studio-access p{color:#65725d}
body.studio-entry-open .welcome-features article{background:#eef0e6;border-color:#e0e5d5}
body.studio-entry-open .welcome-features strong{color:#34482e}
body.studio-entry-open .welcome-features small{color:#75826c}
body.studio-entry-open .welcome-features article>span{background:#dde5cf!important;color:#526b41!important}
body.studio-locked.studio-entry-open #studio-access label{color:#34482e}
body.studio-locked.studio-entry-open #studio-access input{background:#fff!important;color:#253b2b!important;-webkit-text-fill-color:#253b2b!important;caret-color:#253b2b!important;border:1px solid #abbba0!important;border-radius:9px}
body.studio-locked.studio-entry-open #studio-access input::placeholder{color:#7e8979!important;-webkit-text-fill-color:#7e8979!important}
body.studio-locked.studio-entry-open #studio-access button{background:#2d4333!important;color:#fff!important;border-color:#2d4333;box-shadow:none}
body.studio-locked.studio-entry-open #studio-access #show-access-code{background:transparent!important;color:#526d44!important}
body.studio-locked.studio-entry-open #studio-access .welcome-help button,body.studio-locked.studio-entry-open #back-class-code{background:transparent!important;color:#536d44!important}
body.studio-entry-open .teacher-signin-link{color:#536d44!important}
body.studio-entry-open .welcome-footer{color:#7d8975}
body.studio-locked.studio-entry-open #access-status:not(:empty),body.studio-locked.studio-entry-open #student-login-status:not(:empty){color:#963d31!important;background:#fff0e7!important}
body.studio-entry-open .class-login h2{color:#263b2b}
@media(max-width:600px){#studio-entry-back{top:14px;left:16px;font-size:12px}body.studio-locked.studio-entry-open .welcome-screen{padding-top:80px}}
body.studio-locked.studio-landing-ready .studio-theme-toggle{display:none!important}
body.studio-locked.studio-entry-open #studio-access label{color:#34482e!important}
body.studio-locked.studio-entry-open #studio-access .class-login h2{color:#263b2b!important}
body.studio-locked.studio-entry-open:has(.class-login:not([hidden])) .welcome-brand,body.studio-locked.studio-entry-open:has(.class-login:not([hidden])) #studio-access>.welcome-features,body.studio-locked.studio-entry-open:has(.class-login:not([hidden])) #studio-access>.welcome-intro,body.studio-locked.studio-entry-open:has(.class-login:not([hidden])) #studio-access>.welcome-description{display:none!important}
body.studio-locked.studio-entry-open:has(.class-login:not([hidden])) #studio-access>h1{font-size:22px;margin-bottom:8px;letter-spacing:-.6px}
body.studio-locked.studio-entry-open:has(.class-login:not([hidden])) #studio-access .class-login{margin-top:10px;padding-top:10px}
body.studio-locked.studio-entry-open #studio-access #back-class-code{color:#476239!important;background:transparent!important;text-decoration:underline;text-underline-offset:3px}
body.studio-locked.studio-entry-open #studio-access input:-webkit-autofill{-webkit-text-fill-color:#253b2b!important;-webkit-box-shadow:0 0 0 1000px #fffdf8 inset!important}

/* While the welcome for signed-out visitors is still loading, hide the classic page so it does not flash first. studio-landing.js adds .studio-landing-settled when the welcome is ready, fails, or after 4 s. */
body.studio-locked:not(.studio-landing-settled):not(.studio-entry-open)>:not(#studio-landing){visibility:hidden}
html:has(body.studio-locked:not(.studio-landing-settled):not(.studio-entry-open)),body.studio-locked:not(.studio-landing-settled):not(.studio-entry-open){background:#f7f5ef!important}
