@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');
*{box-sizing:border-box}body{margin:0;background:#f5f6fa;color:#242839;font:14px 'DM Sans',Arial,sans-serif}button,select{font:inherit;cursor:pointer;border:1px solid #e3e5ee;border-radius:8px;background:white;color:#42475b;padding:9px 12px}button:hover{background:#f0edff;border-color:#b9aaf0}button:disabled{opacity:.5;cursor:default}header{height:82px;background:white;border-bottom:1px solid #e6e8ef;display:flex;align-items:center;gap:60px;padding:0 36px}.brand{display:flex;align-items:center;gap:12px;font-size:25px;font-weight:700;color:#7659d8}.brand>span{font-size:19px;color:#252839}.brand small{display:block;font-size:9px;letter-spacing:2px;color:#9195a8;margin-top:4px}nav{color:#777d90}nav span{margin:0 14px;color:#bbb}.header-right{margin-left:auto;display:flex;gap:18px;align-items:center}.demo{font-size:10px;letter-spacing:1px;color:#927421;background:#fff7dd;padding:7px;border-radius:5px}.avatar,.teacher-avatar{display:grid;place-items:center;border-radius:50%;background:#e5ddfd;color:#6a50b5;width:35px;height:35px;font-weight:700}main{max-width:1650px;margin:auto;padding:30px 36px}.heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}.eyebrow{font-size:10px;letter-spacing:1.6px;font-weight:700;color:#8a76bd}h1{font-size:29px;letter-spacing:-.8px;margin:9px 0}p{color:#85899a;line-height:1.6;margin:7px 0}.heading p span{margin:0 12px}.textbtn{border:0;color:#8060d5;background:transparent;padding:3px 10px}.session{display:flex;align-items:center;gap:10px;color:#71768a}.session strong{margin:0 16px;color:#30364b}.session button{color:#cd5862;border-color:#f2dadd;background:#fff5f5}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#4db79a;margin-right:5px}.layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px}.workspace{min-width:0}.board-header{display:flex;justify-content:space-between;align-items:center;background:white;padding:14px 20px;border:1px solid #e5e7ee;border-radius:12px 12px 0 0;font-weight:600}.purple{color:#7e60da;margin-right:8px}.pill{font-size:10px;font-weight:400;background:#f3f3f8;padding:5px 9px;color:#9296a8;margin-left:13px}.board-header button{border:0;font-size:12px}.board{position:relative;height:405px;overflow:hidden;background-color:#fff;background-image:radial-gradient(#e7e8ef .8px,transparent .8px);background-size:20px 20px;border:1px solid #e5e7ee;border-top:0}.lesson{padding:40px 55px}.lesson h2{font-size:30px;margin:12px 0}.lesson p{color:#8a8fa0}.equation{display:flex;align-items:center;gap:28px;font-size:31px;margin:25px 0 20px 60px;color:#687086}.equation span{display:flex;flex-direction:column;text-align:center;font-size:37px;line-height:1.2}.equation em{font-style:normal;border-top:2px solid;margin-top:4px}.equation .answer{color:#7955df}.bars{display:flex;gap:5px;margin-left:45px}.bars i{display:block;width:68px;height:35px;background:#b7a2ef;border-radius:4px;border:1px solid #a58be5}.bars .empty{background:#f5f0ff;border:1px dashed #bca8e7}.caption{margin-left:75px!important;font-size:11px}.board-note{position:absolute;right:25px;bottom:25px;background:#fff6d9;padding:12px 18px;transform:rotate(-2deg);color:#9c7c3b;border-radius:4px;font-size:13px;pointer-events:none}#canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none}.toolbar{display:flex;justify-content:space-between;align-items:center;padding:10px 18px;background:white;border:1px solid #e5e7ee;border-top:0;border-radius:0 0 12px 12px}.tools{display:flex;gap:6px;align-items:center}.tools button{border:0}.tools .selected{background:#eee8ff;color:#7455d2}.divider{height:25px;border-left:1px solid #ddd;margin:0 6px}input[type=color]{width:28px;height:28px;border:0;background:none;padding:1px}.toolbar>span{font-size:11px;color:#9396a6}.students-head{display:flex;justify-content:space-between;align-items:center;margin-top:19px}.students-head h3{font-size:16px}.students-head h3 span{font-size:11px;color:#9295a5;font-weight:400;margin-left:10px}.students-head>div{font-size:11px;color:#9295a5}.students-head button{margin-left:8px;font-size:11px;padding:5px 8px}.tiles{display:grid;grid-template-columns:repeat(5,1fr);gap:9px}.tile{height:90px;background:#eaedf4;border-radius:8px;position:relative;display:flex;align-items:center;justify-content:center;border:2px solid transparent}.tile .initial{font-size:18px;font-weight:600;border-radius:50%;width:39px;height:39px;display:grid;place-items:center;background:rgba(255,255,255,.6)}.tile .name{position:absolute;bottom:6px;left:8px;font-size:10px}.tile .mute{position:absolute;bottom:6px;right:8px;font-size:11px;color:#747b8e}.tile.active{border-color:#7f62d7;background:#e9e0ff}.tile.raised:after{content:'✋';position:absolute;top:5px;right:6px}.bottom{display:flex;justify-content:space-between;align-items:center;color:#9296a5;font-size:11px;padding:15px 0}.teacher-card,.panel{border:1px solid #e6e8ef;border-radius:12px;background:white;overflow:hidden;margin-bottom:17px}.camera{height:160px;position:relative;background:#333847;display:grid;place-items:center;color:white}.teacher-avatar{width:62px;height:62px;margin:auto;background:#696079;color:#e7e0ff;font-size:23px}.camera p{color:white;text-align:center;font-size:12px;margin:9px 0 0}.camera small{display:block;text-align:center;font-size:10px;color:#a7a9b9}.camera-tag{position:absolute;top:12px;left:12px;font-size:9px;background:#ffffff20;padding:4px 7px;border-radius:4px}video{position:absolute;width:100%;height:100%;object-fit:cover;display:none}.teacher-info{display:flex;justify-content:space-between;padding:15px 14px;font-size:12px}.teacher-info span{font-size:10px;color:#9a9eab}.media{display:flex;gap:7px;padding:0 13px}.media button{flex:1;font-size:11px}.hint{font-size:9px;text-align:center;padding:2px 8px 8px}.panel{padding:17px}.panel-title{display:flex;justify-content:space-between;align-items:center}.panel h3{margin:0;font-size:14px}.number{background:#f0eaff;color:#8261d5;padding:3px 7px;font-size:10px;border-radius:5px}.sub{font-size:10px;margin-bottom:15px}.wide{width:100%;font-size:11px;margin-top:12px}.hand-row{display:flex;align-items:center;justify-content:space-between;padding:10px 0;border-bottom:1px solid #eee;font-size:11px}.hand-row small{display:block;color:#9c9fae;margin-top:3px}.hand-row button{font-size:10px;color:#7554ce;padding:6px}.empty-hands{text-align:center;padding:16px 0;color:#a0a3b0;font-size:11px}.announcement #announcement{background:#f7f5fd;border-radius:8px;padding:14px;margin-top:15px}.announcement p{font-size:12px;color:#737286}.announcement .eyebrow{font-size:8px}.server-note{padding:4px 10px;color:#80769b;font-size:11px}.server-note p{font-size:10px;color:#a09aad}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#2c2940;color:white;padding:12px 20px;border-radius:9px;display:none;z-index:10}dialog{border:0;border-radius:14px;width:420px;padding:25px;box-shadow:0 20px 80px #0003}dialog::backdrop{background:#20203070}textarea{width:100%;height:120px;padding:12px;border:1px solid #ddd;border-radius:8px;font:inherit;margin:12px 0}dialog form>div{text-align:right}.primary{background:#795bd2;color:white}[hidden]{display:none!important}@media(min-width:1450px){.board{height:440px}.tile{height:105px}}@media(max-width:1050px){header{gap:20px;padding:0 20px}nav{display:none}main{padding:22px}.layout{grid-template-columns:minmax(0,1fr) 265px}.tiles{grid-template-columns:repeat(4,1fr)}.heading{align-items:flex-start}.session{font-size:10px;flex-wrap:wrap;justify-content:flex-end;max-width:220px}.lesson{padding:35px}.board-note{font-size:10px}}@media(max-width:760px){header{height:70px}.demo{display:none}.brand>span{font-size:15px}.header-right{gap:8px}.header-right button{font-size:11px}.heading{display:block}h1{font-size:25px}.session{max-width:none;justify-content:flex-start;margin-top:15px}.layout{grid-template-columns:1fr}.tiles{grid-template-columns:repeat(4,1fr)}.lesson{padding:30px 22px}.lesson h2{font-size:25px}.equation{margin-left:35px}.toolbar>span{display:none}.board-note{right:12px;bottom:18px}.students-head>div{font-size:0}.students-head button{font-size:10px}.bottom{gap:10px}aside{display:grid;grid-template-columns:1fr}.board-header{padding:12px}.pill{display:none}}
.question-panel{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 25px;background:#f4f0ff;border:1px solid #e5def6;border-top:0}.question-panel h2{font-size:23px;line-height:1.35;margin:9px 0 5px;overflow-wrap:anywhere}.question-panel p{font-size:12px;margin:0}.question-panel button{flex-shrink:0;font-size:11px;color:#7756c9}.writing-label{display:flex;justify-content:space-between;gap:10px;background:white;border:1px solid #e5e7ee;border-top:0;padding:12px 20px;font-size:12px}.writing-label span{color:#9195a5;font-size:10px}.board{height:350px}.pad-hint{position:absolute;top:35px;left:35px;font-size:21px;color:#bdc0cc;pointer-events:none}.answer-panel{background:white;border:1px solid #e5e7ee;border-radius:12px;padding:20px;margin-top:18px}.answer-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.answer-heading h3{margin:6px 0 15px;font-size:18px}.answer-panel label{font-size:12px;color:#72788b}.answer-panel textarea{height:100px;background:#fbfbfe;resize:vertical;margin:8px 0}.answer-actions{display:flex;align-items:center;justify-content:space-between;gap:15px}.answer-actions span{font-size:11px;color:#9296a7}.answer-actions button{flex-shrink:0}.answer-panel textarea:disabled{background:#f5f6fa}.answer-panel small{font-size:10px;color:#9397a6}#answerReview{margin-top:16px;padding:15px;background:#f4f0ff;border-radius:8px;font-size:12px}#submittedAnswer{white-space:pre-wrap;overflow-wrap:anywhere;color:#504766}#questionInput{resize:vertical}@media(min-width:1450px){.board{height:400px}}@media(max-width:760px){.question-panel{padding:18px;align-items:flex-start}.question-panel h2{font-size:19px}.writing-label{padding:12px}.writing-label span{max-width:130px}.answer-heading{align-items:flex-start}.answer-heading .pill{display:block;font-size:8px;margin:0}.answer-actions{align-items:flex-start}.board{height:330px}}
/* Compact lesson heading and teacher session controls. */
.heading{margin-bottom:16px;display:block}.heading .eyebrow{font-size:9px;letter-spacing:1.2px}.heading h1{font-size:21px;line-height:1.25;margin:5px 0;letter-spacing:-.4px}.heading p{font-size:11px;margin:3px 0}.heading .textbtn{font-size:10px;padding:2px 7px}.teacher-card .session{display:flex;flex-wrap:wrap;justify-content:flex-start;align-items:center;max-width:none;margin:0 13px 14px;padding:10px 0;border-top:1px solid #eeeef4;gap:6px;font-size:10px}.teacher-card .session strong{margin:0 0 0 auto;font-size:12px}.teacher-card .session button{width:100%;margin-top:3px;padding:7px 10px;font-size:11px}.writing-label{border-top:0;padding:9px 18px}.board{border-top:0}.question-panel{padding-top:17px;padding-bottom:17px}@media(max-width:760px){.heading h1{font-size:20px}.heading{margin-bottom:14px}.writing-label{padding:9px 12px}}
.student-self{display:none}.student-view .student-self{display:block}.student-view .teacher-hands,.student-view .teacher-card .media,.student-view .teacher-card .hint,.student-view .teacher-card #end,.student-view #simulate,.student-view #announce,.student-view .toolbar,.student-view #padHint,.student-view .board-header #download{display:none}.student-view .writing-label{border-radius:0 0 12px 12px}.student-view .teacher-card .session{margin-bottom:8px}.student-view .teacher-card .camera{height:145px}.student-view .teacher-card .camera small{font-size:0}.student-view .teacher-card .camera small:after{content:'Teacher video · local demo';font-size:10px}.student-view .board canvas{cursor:default}.self-preview{position:relative;height:115px;background:#f0edf8;border-radius:8px;margin-top:14px;display:grid;place-items:center;overflow:hidden}.self-preview .avatar{width:52px;height:52px;font-size:19px}.self-name{display:flex;justify-content:space-between;align-items:center;margin:12px 0;font-size:12px}.self-name span{color:#9490a3;font-size:10px}.speaking-status{padding:14px 12px;background:#f7f5fc;border-radius:8px;margin-top:16px;font-size:11px}.speaking-status p{font-size:10px;color:#8b859c;margin:7px 0 0}.student-local-note{font-size:9px;text-align:center;padding-top:7px}.student-view .answer-panel{border-color:#cec0ed}.student-view .answer-heading h3{color:#6749b4}.student-view .bottom #raise{display:none!important}
.brand-wrap{display:flex;align-items:center;gap:12px}.brand-wrap button{font-size:10px;padding:5px 8px;color:#8060c7}#brandLogo{max-width:125px;height:42px;object-fit:contain}.question-buttons{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.question-panel>div:first-child{min-width:0}#questionText{white-space:pre-wrap;font-size:20px}.question-buttons{flex-shrink:0;max-width:110px}#pdfControls{padding:12px 18px;background:#faf8ff;border:1px solid #e6dff3;border-top:0}#pdfStatus{display:block;font-size:10px;color:#8b81a0;overflow-wrap:anywhere}.pdf-navigation{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:9px}.pdf-navigation button{font-size:11px;padding:6px 9px}.pdf-navigation strong{font-size:11px;color:#7653c0}#pdfReview{width:640px;max-width:95vw}#questionBlocks{height:300px;resize:vertical}.student-view #pdfStatus{display:none}@media(max-width:1050px){header{gap:12px}.brand-wrap{gap:6px}#brandLogo{max-width:90px}}@media(max-width:760px){.brand-wrap{flex-direction:column;align-items:flex-start;gap:2px}.brand-wrap button{font-size:8px;padding:1px 4px}#brandLogo{height:30px;max-width:65px}.brand{gap:5px}#questionText{font-size:18px}.question-buttons{max-width:80px}}
#brandLogo{max-width:none;width:220px;height:62px;object-fit:contain}@media(max-width:1050px){#brandLogo{width:185px;height:56px}}@media(max-width:760px){#brandLogo{width:145px;height:43px}.brand-wrap{gap:0}}
#uploadLogo{display:none!important}main{max-width:1900px;padding:18px 22px}.layout{grid-template-columns:minmax(0,1fr) 240px;gap:16px}.classroom-top{display:flex;align-items:center;gap:18px;padding:10px 14px;background:white;border:1px solid #e5e7ee;border-radius:10px}.classroom-top .session{display:flex;align-items:center;gap:8px;max-width:none;margin:0;font-size:12px;flex-wrap:nowrap}.classroom-top .session strong{margin:0 6px}.classroom-top .session button{font-size:11px;padding:7px 9px}.classroom-top .media{display:flex;padding:0;gap:7px}.classroom-top .media button{white-space:nowrap;min-width:95px;font-size:11px}.classroom-top .teacher-info{display:flex;flex-direction:column;gap:4px;padding:0;margin-left:auto;white-space:nowrap;font-size:12px}.classroom-top .camera{width:98px;height:62px;flex-shrink:0;border-radius:7px;overflow:hidden}.classroom-top .teacher-avatar{width:30px;height:30px;font-size:12px}.classroom-top .camera p,.classroom-top .camera-tag{display:none}.classroom-top .camera small{font-size:7px;margin-top:3px}.board,.student-view .board{height:480px}.classroom-chat{padding:14px}.classroom-chat #chatMessages{height:190px;overflow-y:auto;background:#faf9fd;padding:10px;border-radius:7px}.chat-empty{font-size:11px;text-align:center;padding:30px 0}.classroom-chat label{display:block;font-size:10px;color:#898297;margin-top:12px}.classroom-chat textarea{height:75px;font-size:12px;resize:vertical;margin:6px 0 0}.chat-note{font-size:9px;text-align:center;margin-top:10px}.chat-message{margin-bottom:12px;border-bottom:1px solid #eee8f6;padding-bottom:9px}.chat-message strong{font-size:10px;color:#7454ba}.chat-message p{font-size:12px;margin:4px 0;white-space:pre-wrap;overflow-wrap:anywhere;color:#5f6073}.student-view .classroom-top .media,.student-view .classroom-top #end{display:none}.student-view .classroom-top .camera small{font-size:7px}.student-view .classroom-top .session{max-width:none}@media(min-width:1450px){.board,.student-view .board{height:550px}}@media(max-width:1050px){.layout{grid-template-columns:minmax(0,1fr) 215px}.classroom-top{gap:10px}.classroom-top .session{font-size:10px;gap:5px}.classroom-top .media button{min-width:80px;padding:8px}.classroom-top .camera{width:83px;height:58px}}@media(max-width:760px){main{padding:15px 12px}.layout{grid-template-columns:1fr}.classroom-top{flex-wrap:wrap;gap:12px}.classroom-top .teacher-info{margin-left:0}.classroom-top .session{flex-wrap:wrap}.classroom-top .camera{margin-left:auto}.classroom-top .media{order:0}.board,.student-view .board{height:410px}.classroom-chat #chatMessages{height:160px}}
.classroom-top{display:grid;grid-template-columns:minmax(0,1fr) 270px;align-items:start;gap:18px;padding:12px 15px}.session-controls{display:flex;flex-direction:column;gap:10px}.classroom-top .session{justify-content:flex-start}.classroom-top .session strong{margin-left:12px;font-size:15px}.classroom-top .media{display:flex;justify-content:flex-start;flex-wrap:wrap}.classroom-top .media #end{color:#ca5660;background:#fff5f5;border-color:#f0d7db;min-width:auto;width:auto;margin:0;font-size:11px;padding:8px 10px}.classroom-top .teacher-hands{margin:0;padding:8px 10px;border-radius:7px;background:#faf8ff;max-height:110px;overflow:auto}.classroom-top .teacher-hands h3{font-size:11px}.classroom-top .teacher-hands .sub{display:none}.classroom-top .teacher-hands .empty-hands{padding:5px;font-size:10px}.classroom-top .teacher-hands .empty-hands br{display:none}.classroom-top .hand-row{padding:5px 0;font-size:10px}.classroom-top .hand-row small{display:none}.classroom-top .hand-row button{font-size:9px;padding:4px 6px}.classroom-top #muteAll{font-size:9px;padding:4px 6px;margin-top:5px}.chat-teacher{display:flex;align-items:center;gap:10px;padding-bottom:12px;margin-bottom:12px;border-bottom:1px solid #e9e5f1}.chat-teacher .camera{width:86px;height:65px;flex-shrink:0;border-radius:7px;overflow:hidden}.chat-teacher .teacher-avatar{width:30px;height:30px;font-size:12px}.chat-teacher .camera p,.chat-teacher .camera-tag{display:none}.chat-teacher .camera small{font-size:7px;margin-top:3px}.chat-teacher .teacher-info{display:flex;flex-direction:column;gap:5px;padding:0;font-size:11px}.chat-teacher .teacher-info span{font-size:9px}.student-view .classroom-top{grid-template-columns:1fr}.student-view .classroom-top .media{display:none}@media(max-width:760px){.classroom-top{display:grid;grid-template-columns:1fr;gap:10px}.classroom-top .teacher-hands{max-height:95px}.chat-teacher .camera{width:100px;height:70px}}
.layout>aside{min-width:0}.chat-teacher{display:block;padding-bottom:13px}.chat-teacher .camera{width:100%;height:125px;margin:0;border-radius:8px}.chat-teacher .teacher-avatar{width:42px;height:42px;font-size:16px}.chat-teacher .camera small{font-size:9px;margin-top:5px}.teacher-screen-name{position:absolute;left:9px;bottom:8px;z-index:2;max-width:calc(100% - 18px);font-size:10px;font-weight:500;color:white;background:#181b2caa;border-radius:4px;padding:4px 7px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-teacher #cameraPlaceholder{padding-bottom:20px}@media(max-width:760px){.chat-teacher .camera{width:100%;height:150px}}
/* Right sidebar begins directly below the header. */
@media(min-width:761px){main{display:grid;grid-template-columns:minmax(0,1fr) 240px;column-gap:16px;align-items:start}.heading{grid-column:1;grid-row:1}.layout{display:contents}.workspace{grid-column:1;grid-row:2}.layout>aside{grid-column:2;grid-row:1 / span 2;margin-top:-18px}.classroom-chat{border-top:0;border-top-left-radius:0;border-top-right-radius:0}.classroom-top{grid-template-columns:minmax(0,1fr) 220px;gap:12px}}
@media(min-width:761px) and (max-width:1050px){main{grid-template-columns:minmax(0,1fr) 215px}.classroom-top{grid-template-columns:minmax(0,1fr) 190px}.classroom-top .media button{min-width:auto}}
.classroom-top{grid-template-columns:125px minmax(0,1fr);align-items:start}.classroom-top .session{width:auto;gap:0}.classroom-top .session strong{margin:0;font-size:19px;font-variant-numeric:tabular-nums}.classroom-top .media{display:flex;flex-direction:column;gap:5px;align-items:flex-start}.classroom-top .media button,.classroom-top .media #end{flex:none;width:108px;min-width:0;padding:5px 8px;font-size:10px}.session-controls{gap:8px}.classroom-top .teacher-hands{max-height:none;padding:8px;overflow:visible}.classroom-top .teacher-hands .panel-title{margin-bottom:6px}.classroom-top #hands{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.hand-slot{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:0;border:1px solid #e6e0f0;background:white;border-radius:6px;padding:6px 3px}.hand-name{font-size:9px;line-height:1.3;text-align:center;overflow-wrap:anywhere;min-height:24px}.hand-icon{font-size:12px}.hand-slot button{font-size:9px;padding:4px;border-radius:5px;white-space:nowrap}.hand-slot.speaking{border-color:#8f70d5;background:#f0eaff}.classroom-top #muteAll{width:auto;font-size:9px;margin-top:6px}.student-view .classroom-top{grid-template-columns:1fr}@media(min-width:761px) and (max-width:1050px){.classroom-top{grid-template-columns:110px minmax(0,1fr);gap:8px;padding:10px}.classroom-top .media button,.classroom-top .media #end{width:96px}.hand-name{font-size:8px}.hand-slot button{font-size:8px;padding:3px}}@media(max-width:760px){.classroom-top{grid-template-columns:100px minmax(0,1fr);gap:7px;padding:10px}.classroom-top .media button,.classroom-top .media #end{width:92px}.classroom-top .teacher-hands{max-height:none}.classroom-top #hands{grid-template-columns:repeat(3,minmax(0,1fr))}.student-view .classroom-top{grid-template-columns:1fr}}
.classroom-top{grid-template-columns:215px minmax(0,1fr)}.classroom-top .session-controls{gap:6px}.classroom-top .session{display:grid;grid-template-columns:98px 105px;gap:6px;align-items:center}.classroom-top .session #mic{width:105px;padding:5px 8px;font-size:10px;white-space:nowrap}.classroom-top .media{display:grid;grid-template-columns:98px 105px;gap:6px}.classroom-top .media #end{width:98px}.classroom-top .media #cam{width:105px}.media-on{background:#e7f6ef!important;color:#21845a!important;border-color:#8fcdb2!important}.student-view .classroom-top .session #mic{display:none}@media(min-width:761px) and (max-width:1050px){.classroom-top{grid-template-columns:205px minmax(0,1fr)}}@media(max-width:760px){.classroom-top{grid-template-columns:1fr}.classroom-top #hands{grid-template-columns:repeat(5,minmax(0,1fr))}.student-view .classroom-top{grid-template-columns:1fr}}
#mic,#cam{color:#586276;background:#fff;border-color:#e3e5ee}#mic.media-on,#cam.media-on{background:#e7f6ef;color:#21845a;border-color:#8fcdb2}
.question-panel{background:#fff;border-color:#e5e7ee}.question-panel h2{margin:0}.board-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:flex-end}.board-actions .question-buttons{max-width:none;flex-wrap:wrap}.board-actions button{font-size:11px;padding:7px 9px}.student-view .board-actions{display:none}@media(max-width:760px){.board-header{gap:8px;align-items:flex-start}.board-actions{gap:3px}.board-actions button{padding:5px 6px;font-size:10px}}
body{background:#0b1f3a}main{background:#0b1f3a}.students-head h3,.bottom{color:#eef3fb}.students-head h3 span,.students-head>div{color:#bfcee3}.server-note{color:#edf3fc}.server-note p{color:#b8c9df}
.classroom-top .media #muteAll{grid-column:2;width:105px;margin:0;padding:5px 6px;font-size:9px;white-space:nowrap}.question-panel>div:first-child{width:100%}.question-panel #questionText{line-height:1.5;min-height:3em}.question-panel{align-items:flex-start}
.student-sidebar{min-width:0}.student-sidebar .students-head{display:block;margin:0 0 10px}.student-sidebar .students-head h3{margin:0 0 7px;font-size:14px;color:#eef3fb}.student-sidebar .students-head h3 span{display:block;margin:4px 0 0;font-size:11px;color:#bfcee3}.student-sidebar .students-head>div{font-size:10px}.student-sidebar .students-head button{display:block;margin:7px 0 0}.student-sidebar .tiles{grid-template-columns:1fr;gap:7px}.student-sidebar .tile{height:76px}.student-sidebar .tile .initial{width:32px;height:32px;font-size:14px}.student-sidebar .tile .name{font-size:10px}@media(min-width:761px){main{grid-template-columns:140px minmax(0,1fr) 240px;column-gap:14px}.student-sidebar{grid-column:1;grid-row:1 / span 2}.heading{grid-column:2}.workspace{grid-column:2}.layout>aside{grid-column:3}.classroom-top{grid-template-columns:1fr;gap:9px}.classroom-top .teacher-hands{width:100%}}@media(min-width:761px) and (max-width:1050px){main{grid-template-columns:120px minmax(0,1fr) 195px;column-gap:12px;padding-left:12px;padding-right:12px}.classroom-top{grid-template-columns:1fr}.question-panel{padding:14px}.board-header{flex-wrap:wrap;gap:6px}.board-actions{justify-content:flex-start}.toolbar{flex-wrap:wrap;gap:5px}.tools{flex-wrap:wrap}}@media(max-width:760px){main{display:block}.student-sidebar{margin-bottom:15px}.student-sidebar .tiles{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.student-sidebar .tile{height:72px}.student-sidebar .tile .name{font-size:8px;left:4px;right:12px}.student-sidebar .students-head{display:flex;justify-content:space-between;align-items:center}.student-sidebar .students-head>div{font-size:0}.student-sidebar .students-head button{font-size:10px;margin:0}.classroom-top{grid-template-columns:1fr}}
@media(min-width:761px){.classroom-top{grid-template-columns:205px minmax(0,1fr);gap:10px;align-items:start;padding:10px}.classroom-top .teacher-hands{width:100%;padding:5px 6px}.classroom-top .teacher-hands .panel-title{margin-bottom:4px}.classroom-top #hands{gap:4px}.hand-slot{padding:4px 2px;gap:2px}.hand-icon{font-size:10px}.hand-name{font-size:8px;min-height:20px}.hand-slot button{padding:3px;font-size:8px}.student-sidebar .tile{height:60px}.student-sidebar .tile .initial{width:27px;height:27px;font-size:12px}}
@media(max-width:760px){.student-sidebar .tiles{grid-template-columns:repeat(5,minmax(0,1fr))}.student-sidebar .tile{height:65px}.classroom-top .teacher-hands{padding:6px}.hand-slot{padding:4px 2px;gap:2px}}
/* Student board starts at the top of the classroom workspace. */
.student-view .heading{display:none}@media(min-width:761px){.student-view .workspace{grid-row:1 / span 2;align-self:start}}
#boardTimer{display:none;font-size:14px;font-variant-numeric:tabular-nums;color:#33445f;margin-left:auto}.student-view #boardTimer{display:block}
.student-sidebar .tile{height:82px;padding-bottom:20px}.student-sidebar .tile .name{bottom:27px;right:6px}.student-sidebar .tile .mute{bottom:auto;top:5px;right:5px}.tile-hand{position:absolute;bottom:4px;left:5px;right:5px;padding:3px 4px;font-size:9px;line-height:1.3;background:#ffffffb8;border:1px solid #ffffff90;border-radius:5px;color:#505b72}.tile-hand[aria-pressed=true]{background:#fff0bf;border-color:#e7bf54;color:#80651b}.tile.raised:after{display:none}@media(max-width:760px){.student-sidebar .tile{height:86px}.student-sidebar .tile .name{bottom:28px;right:4px}.tile-hand{font-size:8px;left:3px;right:3px}}
@media(min-width:761px){main{grid-template-rows:min-content 1fr;align-content:start}.heading{align-self:start;margin-bottom:8px}.workspace{align-self:start}.classroom-top{padding:7px 10px}.classroom-top .teacher-hands{align-self:start}.student-view main{grid-template-rows:1fr}}
.student-view .student-sidebar{display:none}@media(min-width:761px){.student-view main{grid-template-columns:minmax(0,1fr) 240px}.student-view .workspace{grid-column:1}.student-view .layout>aside{grid-column:2}}@media(min-width:761px) and (max-width:1050px){.student-view main{grid-template-columns:minmax(0,1fr) 195px}}
.question-announcement{padding-bottom:12px;margin-bottom:12px;border-bottom:1px solid #eceef3}.announcement-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:7px}.announcement-heading strong{font-size:14px}.announcement-heading #announce{font-size:10px;padding:5px 8px}.question-announcement #announcement .eyebrow{font-size:10px}.question-announcement #announcement p{font-size:13px;color:#6d7485;margin:4px 0 0}.student-view .question-announcement #announce{display:none}

.tile-hand{display:none}.student-sidebar .tile{height:60px;padding-bottom:0}.student-sidebar .tile .name{bottom:6px}.student-sidebar .tile .mute{top:auto;bottom:6px}@media(max-width:760px){.student-sidebar .tile{height:65px}.student-sidebar .tile .name{bottom:6px}}
.colour-picker{position:relative}#colourToggle{display:flex;gap:6px;align-items:center;font-size:11px}#currentColour{width:17px;height:17px;background:#7356df;border-radius:50%}#colourPopup{position:absolute;bottom:calc(100% + 10px);left:0;z-index:5;display:flex;gap:8px;padding:12px;background:#fff;border:1px solid #dce1eb;border-radius:10px;box-shadow:0 6px 24px #15274333}#colourPopup button{width:29px;height:29px;border:3px solid #fff;border-radius:50%;background:var(--swatch);padding:0;box-shadow:0 0 0 1px #dce1eb}#colourPopup button[aria-pressed=true]{box-shadow:0 0 0 2px #7356df}#colourPopup button:focus-visible{outline:2px solid #243d68;outline-offset:3px}
.answer-panel{display:none}
#sliceDialog{width:850px;max-width:95vw;max-height:92vh;overflow:auto}#sliceDialog h2{margin-top:0}#sliceDialog>p{font-size:13px}.slice-nav,.slice-footer{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:12px 0}.slice-nav button,.slice-footer button{font-size:12px}.slice-footer{justify-content:flex-end}#sliceSurface{position:relative;width:100%;line-height:0;border:1px solid #dfe4ed}#sliceCanvas{display:block;width:100%;height:auto;touch-action:none;cursor:crosshair}#sliceSelection{position:absolute;pointer-events:none;border:2px solid #7356df;background:#7356df22}#questionSlice{display:block;max-width:100%;height:auto;margin-top:8px;background:white}

#sliceDialog{padding-bottom:0}#sliceSurface{max-height:55vh;overflow:auto}#sliceCanvas{width:100%}.slice-nav{position:sticky;top:0;z-index:2;background:white;padding:8px 0}.slice-footer{position:sticky;bottom:0;z-index:2;background:white;padding:12px 0;border-top:1px solid #dfe4ed}#questionSlice[hidden],#sliceSelection[hidden]{display:none!important}

#questionSlice{position:static;inset:auto;display:block;width:100%;max-width:100%;height:auto;margin:8px 0 0;touch-action:auto}#sliceCanvas{position:static;inset:auto;height:auto}#sliceSurface{isolation:isolate}

.student-view .answer-panel{display:block}.student-view #answerReview{display:none!important}.student-sidebar .tile.has-answer{height:88px}.tile-answer{position:absolute;bottom:5px;left:5px;right:5px;max-width:calc(100% - 10px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:5px 4px;font-size:11px;text-align:left;background:#fff;border:1px solid #7356df;color:#47308e}.tile.has-answer .name{bottom:35px}#cardAnswerDialog{width:520px;max-width:90vw}#cardAnswerText{white-space:pre-wrap;overflow-wrap:anywhere;background:#f5f2fd;padding:16px;line-height:1.6}#cardAnswerQuestion{font-size:14px;color:#677085}

.student-sidebar .tile .initial{position:absolute;top:5px;left:5px;width:22px;height:22px;font-size:10px}.student-sidebar .tile .name,.student-sidebar .tile.has-answer .name{top:6px;bottom:auto;left:31px;right:5px;text-align:center;line-height:1.25;font-size:10px;overflow-wrap:anywhere}.student-sidebar .tile .mute{bottom:5px;right:5px}.student-sidebar .tile.has-answer .mute{bottom:34px}@media(max-width:760px){.student-sidebar .tile .initial{width:18px;height:18px;font-size:9px;left:3px;top:4px}.student-sidebar .tile .name{left:24px;right:3px;top:4px;font-size:9px}}

.session-controls,.session-controls button,.session-controls strong{font-weight:700}
