body.ui-teacher #sidebar .teacher-account-menu{padding:12px;width:max-content;min-width:0;max-height:calc(100dvh - 24px)}
.teacher-account-destinations{display:grid;gap:4px;white-space:nowrap}
body.ui-teacher .teacher-account-destination{display:flex;align-items:center;gap:12px;padding:12px;border-radius:9px;text-decoration:none;color:#625e75;font-size:14px;line-height:22px}
body.ui-teacher .teacher-account-destination:hover{background:#f3f0fb;color:#7561b9}
body.ui-teacher .teacher-account-destination svg{width:20px;height:20px;flex-shrink:0;color:#9790a9}
body.ui-teacher .teacher-account-logout{border-top:1px solid #eeebf4;margin-top:8px;padding-top:12px;min-height:48px;border-radius:0}
body.ui-teacher .teacher-account-logout::after{content:none}
body.ui-teacher #teacher-login{display:flex;align-items:center;justify-content:center;margin:7px 0 0;min-height:34px;border:0;border-radius:8px;color:#fff;background:#7561c6;font:inherit;font-size:13px;cursor:pointer;width:100%}
body.ui-teacher #teacher-login[hidden],body.ui-teacher #logout-link[hidden]{display:none!important}
body.ui-teacher.teacher-guest .topbar,body.ui-teacher.teacher-guest .panel-overlay,body.ui-teacher.teacher-guest #classroom-tools,body.ui-teacher.teacher-guest #demo-classroom-banner,body.ui-teacher.teacher-guest #canvas-back{display:none!important}
body.ui-teacher.teacher-guest .workspace-home{display:block!important;position:absolute;inset:0;overflow:auto;padding:44px;visibility:visible!important}
body.ui-teacher.teacher-guest .stage{min-height:0;height:100%;flex:1}
.teacher-guest-welcome{max-width:920px;margin:50px auto}
.teacher-guest-eyebrow{font-size:13px;color:#958ba7;letter-spacing:2px}
.teacher-guest-welcome h1{margin:14px 0 12px;color:#373147;font-size:32px;line-height:1.5;font-weight:600}
.teacher-guest-welcome>p{font-size:14px;color:#9b92a7;line-height:1.8}
.teacher-guest-destinations{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:32px}
.teacher-guest-card{display:flex;align-items:center;gap:18px;padding:28px;border:1px solid #e8e3ef;border-radius:16px;background:white;color:#675c7c;text-align:left;cursor:pointer;min-height:106px}
.teacher-guest-card svg{width:28px;height:28px;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;color:#9788c1}
.teacher-guest-card strong{font:inherit;font-size:17px;font-weight:500}
.teacher-guest-card:hover{border-color:#cfc2e9;background:#fcfaff}
.teacher-login-dialog{position:fixed;inset:0;margin:auto;padding:30px;border:1px solid #e6dfef;border-radius:18px;max-width:calc(100vw - 32px);width:380px;color:#45394f;background:white;box-shadow:0 20px 80px #25203635}
.teacher-login-dialog::backdrop{background:#28223370}
.teacher-login-symbol{display:grid;place-items:center;width:46px;height:46px;background:#f0eafa;color:#8f73bc;border-radius:12px;margin-bottom:18px}
.teacher-login-symbol svg{width:25px;height:25px}
.teacher-login-dialog h2{font-size:21px;margin:0 0 10px}
.teacher-login-dialog p{font-size:14px;color:#9b8da5;line-height:1.8;margin:0 0 26px}
.teacher-login-actions{display:flex;justify-content:flex-end;gap:10px}
.teacher-login-actions button,.teacher-login-actions a{padding:9px 16px;border:1px solid #e5dcec;border-radius:9px;background:#fff;color:#8b7798;font:inherit;font-size:14px;text-decoration:none;cursor:pointer}
.teacher-login-actions a{background:#8b6caa;color:white;border-color:#8b6caa}
.teacher-guest-auth-warning{color:#a58142;background:#fff7e7;padding:12px 16px;border-radius:10px;font-size:13px}
@media(max-width:700px){body.ui-teacher.teacher-guest .workspace-home{padding:24px 18px}.teacher-guest-welcome{margin:24px auto}.teacher-guest-welcome h1{font-size:24px}.teacher-guest-destinations{grid-template-columns:1fr;gap:12px;margin-top:24px}.teacher-guest-card{min-height:78px;padding:20px}.teacher-guest-card strong{font-size:15px}body.ui-teacher #sidebar .teacher-account-menu{max-width:calc(100vw - 88px)}body.ui-teacher #teacher-login{font-size:12px}}
/* Keep the guest state explicit even when the navigation collapses. */
body.ui-teacher.teacher-guest .teacher-nav-collapsed #sidebar .teacher-account-trigger{flex-direction:column;gap:3px}
body.ui-teacher.teacher-guest .teacher-nav-collapsed #sidebar .teacher-account-copy{display:block!important}
body.ui-teacher.teacher-guest .teacher-nav-collapsed #sidebar .teacher-account-copy strong{font-size:10px}
@media(max-width:768px){body.ui-teacher.teacher-guest #sidebar .teacher-account-trigger{flex-direction:column;gap:3px}body.ui-teacher.teacher-guest #sidebar .teacher-account-copy{display:block!important}body.ui-teacher.teacher-guest #sidebar .teacher-account-copy strong{font-size:10px}}
