/* Student-only classroom layout; all theme backgrounds remain available. */
.entry-art.entry-illustration{width:310px;height:190px;margin-top:30px;color:var(--ui-primary)}
.entry-illustration>svg{display:block;width:100%;height:100%;overflow:visible;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.entry-illustration .entry-art-ground{fill:var(--ui-primary);opacity:.05;stroke:none}
.entry-illustration .entry-art-paper{fill:var(--ui-surface)}
.entry-illustration .entry-art-page-lines{opacity:.3;stroke-width:1.3}
.entry-illustration .entry-art-trail{opacity:.35;stroke-dasharray:3 7;stroke-width:1.4}
.entry-illustration .entry-art-plane{fill:var(--ui-soft)}
.entry-illustration .entry-art-spark{opacity:.4;stroke-width:1.3}
.entry-illustration .entry-art-dot{fill:currentColor;opacity:.25;stroke:none}
.entry-header-actions{display:flex;align-items:center;gap:10px;flex:none;white-space:nowrap}
.entry-teacher-link{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:7px 11px;border:1px solid var(--ui-line);border-radius:9px;color:var(--ui-muted);font-size:11px;line-height:1.5;transition:background .15s,border-color .15s,color .15s}
.entry-teacher-link>svg{width:16px;height:16px;flex:none}
.entry-teacher-link:hover,.entry-teacher-link:focus-visible,.entry-teacher-link.active{background:var(--ui-soft);border-color:var(--ui-primary);color:var(--ui-primary)}
.entry-header{position:relative;z-index:40;overflow:visible}
.entry-header-actions{overflow:visible}
.entry-teacher-menu{position:relative;flex:none;min-width:0;overflow:visible}
.entry-teacher-menu .entry-teacher-link{min-height:44px;background:transparent;font:inherit;font-size:11px;line-height:1.5;cursor:pointer}
.entry-teacher-menu .entry-teacher-link:hover,.entry-teacher-menu .entry-teacher-link[aria-expanded=true]{background:var(--ui-soft);border-color:var(--ui-primary);color:var(--ui-primary)}
.entry-teacher-menu .entry-teacher-link:focus-visible{outline:2px solid var(--ui-primary);outline-offset:3px}
.entry-teacher-panel{position:absolute;right:0;top:calc(100% + 12px);z-index:60;box-sizing:border-box;width:330px;max-width:calc(100vw - 40px);max-height:calc(100vh - 130px);max-height:calc(100dvh - 130px);overflow:auto;padding:24px;border:1px solid var(--ui-line);border-radius:14px;background:var(--ui-surface);color:var(--ui-text);box-shadow:0 16px 44px #172b4d14,var(--ui-shadow);white-space:normal;text-align:left}
.entry-teacher-panel[hidden]{display:none!important}
.entry-teacher-panel h2{font:inherit;font-size:20px;font-weight:650;line-height:1.45;letter-spacing:-.3px;color:var(--ui-text);margin:0}
.entry-teacher-panel>p{font-size:12px;line-height:1.8;color:var(--ui-muted);margin:6px 0 21px}
.entry-teacher-panel form{margin:0;min-width:0}
.entry-teacher-panel .field{display:grid;gap:7px;min-width:0;margin:0 0 17px;color:var(--ui-text);font-size:12px;line-height:1.6}
.entry-teacher-panel .field>span{font-size:12px;font-weight:600;color:var(--ui-text)}
.entry-teacher-panel .field input{display:block;box-sizing:border-box;width:100%;min-width:0;min-height:44px;padding:11px 12px;border:1px solid var(--ui-line);border-radius:9px;background:var(--ui-bg);color:var(--ui-text);font:inherit;font-size:14px;line-height:1.5;transition:border-color .15s,box-shadow .15s}
.entry-teacher-panel .field input::placeholder{color:var(--ui-muted);opacity:.85}
.entry-teacher-panel .field input:focus{border-color:var(--ui-primary);box-shadow:0 0 0 3px var(--ui-soft)}
.entry-teacher-panel .form-error{font-size:12px;line-height:1.7;color:var(--ui-danger,#b74343);margin:0 0 15px;overflow-wrap:anywhere}
.entry-teacher-panel .form-error:empty{display:none}
.entry-teacher-panel .button.primary.wide{display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;padding:11px 14px;background:var(--ui-primary);border-color:var(--ui-primary);color:var(--ui-on-primary);font-size:13px;line-height:1.5}
.entry-teacher-panel .button.primary.wide:hover{background:var(--ui-primary-dark);border-color:var(--ui-primary-dark);color:var(--ui-on-primary)}
.entry-role>button{display:flex;align-items:center;justify-content:center;gap:7px}
.entry-role>button>svg{width:15px;height:15px;flex:none}
.entry-parent-preview{display:grid;gap:13px;margin:0 0 27px}
.entry-parent-preview>div{display:flex;align-items:center;gap:13px;padding:17px 15px;border:1px solid var(--ui-line);border-radius:10px;background:var(--ui-bg)}
.entry-parent-preview>div>svg{width:21px;height:21px;flex:none;color:var(--ui-primary)}
.entry-parent-preview strong,.entry-parent-preview small{display:block}
.entry-parent-preview strong{font-size:12px;font-weight:600;color:var(--ui-text)}
.entry-parent-preview small{font-size:10px;line-height:1.7;color:var(--ui-muted);margin-top:4px}
.entry-parent-enter{justify-content:center}
.entry-parent-enter>svg{width:16px;height:16px}
.entry-footer{display:flex;align-items:center;justify-content:center;gap:19px;flex-wrap:wrap}
.entry-footer>a{display:inline-flex;align-items:center;gap:5px;color:var(--ui-muted)}
.entry-footer>a:hover,.entry-footer>a:focus-visible{color:var(--ui-primary)}
.entry-footer>a>svg{width:12px;height:12px}
@media(max-width:500px){.entry-header{padding-left:20px;padding-right:20px;gap:12px}.entry-header-actions{gap:8px}.entry-teacher-link{padding:7px 9px;font-size:10px}.entry-teacher-link>svg{width:14px;height:14px}.entry-header .platform-brand{gap:8px}.entry-header .platform-brand-icon{width:34px;height:34px;border-radius:10px}.entry-header .platform-brand-text strong{font-size:21px}.entry-header .platform-brand-text small{font-size:8px;letter-spacing:2px}.entry-parent-preview>div{padding:15px 12px}}
@media(max-width:500px){.entry-teacher-panel{width:320px;padding:21px 20px;border-radius:12px}.entry-teacher-panel .field input{font-size:16px}}
@media(prefers-reduced-motion:reduce){.entry-teacher-menu .entry-teacher-link,.entry-teacher-panel .field input{transition:none}}
.student-enrollment-class{margin-bottom:20px}
.student-enrollment-note{margin:-7px 0 19px;color:var(--ui-muted);font-size:12px;line-height:1.8}
.student-number-field{min-width:0}
.student-number-field>.field{margin-bottom:0}
.student-number-status{display:block;margin:7px 0 0;font-size:11px;color:var(--ui-muted);line-height:1.7}
form[data-number-state=error] .student-number-status{color:var(--ui-danger,#b74343)}
.student-number-field input[readonly]{background:var(--ui-soft);color:var(--ui-text);font-variant-numeric:tabular-nums}
html[data-audience=student] .student-footer{justify-content:center;text-align:center;gap:0;padding:18px 0;margin-top:26px}
html[data-audience=student] .student-footer a{color:var(--ui-muted);font-size:11px}
.student-home-page{max-width:1160px;margin:0 auto;min-width:0}
.student-home-welcome{margin:4px 0 24px}
.student-home-welcome p{font-size:13px;color:var(--ui-muted);margin-bottom:7px}
.student-home-welcome h1{font:inherit;font-size:29px;line-height:1.35;font-weight:700;color:var(--ui-text);letter-spacing:-.5px}
.student-course-card{border:1px solid var(--ui-line);background:var(--ui-surface);color:var(--ui-text);border-radius:20px;padding:27px 32px 32px;box-shadow:var(--ui-shadow)}
.student-class-identity{display:inline-flex;align-items:center;gap:9px;flex-wrap:wrap;color:var(--ui-muted);font-size:12px;line-height:1.6}
.student-class-identity>svg{width:16px;height:16px;color:var(--ui-primary)}
.student-class-identity>strong{color:var(--ui-text);font-weight:600}
.student-class-identity>span{padding-left:10px;border-left:1px solid var(--ui-line);font-variant-numeric:tabular-nums}
.student-course-body{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(275px,1fr);align-items:center;gap:42px;padding-top:34px;min-height:320px}
.student-course-copy{min-width:0}
.student-course-eyebrow{font-size:11px;letter-spacing:.04em;color:var(--ui-primary);margin:0 0 13px}
.student-course-copy h2{font:inherit;font-size:clamp(26px,2.7vw,39px);line-height:1.45;letter-spacing:-.7px;font-weight:700;color:var(--ui-text);max-width:560px;overflow-wrap:anywhere;margin:0 0 14px}
.student-course-copy>[data-student-lesson-note]{font-size:13px;line-height:1.8;color:var(--ui-muted);max-width:470px}
.student-enter-room{margin-top:29px;padding:14px 24px!important;min-height:49px;border-radius:10px!important;font-size:15px!important;font-weight:650!important;gap:25px!important;min-width:170px}
.student-enter-room>svg{width:19px;height:19px}
.student-lesson-clock{display:flex;flex-direction:column;align-items:flex-start;gap:15px;padding:29px 27px;border-radius:16px;background:var(--ui-soft);border:1px solid var(--ui-line);color:var(--ui-primary);min-width:0;overflow-wrap:anywhere}
.student-lesson-clock>[data-student-clock-label]{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;letter-spacing:.05em;color:var(--ui-text)}
.student-lesson-clock>[data-student-clock-label]::before{content:'';width:7px;height:7px;border-radius:50%;background:var(--ui-primary);flex:none}
.student-lesson-clock>[data-student-clock-value]{font-size:clamp(32px,3.4vw,53px);font-family:ui-monospace,"Cascadia Mono",Consolas,monospace;font-weight:650;letter-spacing:-1.5px;line-height:1.25;color:var(--ui-primary);font-variant-numeric:tabular-nums}
.student-lesson-clock[data-phase=practice]>[data-student-clock-value]{font-family:inherit;font-size:30px;letter-spacing:0}
.student-lesson-clock>small{font-size:11px;color:var(--ui-muted);line-height:1.8}
.student-context-note{margin-top:16px;font-size:12px;color:var(--ui-muted)}
.student-room{min-width:0;max-width:1400px;margin:0 auto;color:var(--ui-text)}
.student-room-header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 0 19px;padding:18px 21px;background:var(--ui-surface);border:1px solid var(--ui-line);border-radius:13px}
.student-room-header>div:first-child{min-width:0}
.student-room-back{display:inline-flex;align-items:center;gap:3px;font-size:11px;color:var(--ui-muted);margin:0 0 6px}
.student-room-back>svg{width:13px;height:13px;transform:rotate(180deg)}
.student-room-header h1{font:inherit;font-size:21px;font-weight:650;line-height:1.6;letter-spacing:-.4px;overflow-wrap:anywhere;color:var(--ui-text);margin:0 0 4px}
.student-room-header .student-class-identity{font-size:10px;gap:7px}
.student-room-header .student-class-identity>svg{width:13px;height:13px}
.student-room-header-tools{display:flex;align-items:center;gap:18px;flex-shrink:0}
.student-lesson-clock.is-compact{background:none;border:0;padding:0;gap:5px}
.student-lesson-clock.is-compact>[data-student-clock-label]{font-size:10px;letter-spacing:0}
.student-lesson-clock.is-compact>[data-student-clock-label]::before{width:5px;height:5px}
.student-lesson-clock.is-compact>[data-student-clock-value]{font-size:24px;letter-spacing:-.6px}
.student-lesson-clock.is-compact[data-phase=practice]>[data-student-clock-value]{font:inherit;font-size:16px;font-weight:600;color:var(--ui-muted)}
.student-room-navigation{display:flex;align-items:center;gap:7px;padding-bottom:14px;border-bottom:1px solid var(--ui-line);margin-bottom:22px}
.student-room-navigation>a{display:flex;align-items:center;gap:8px;padding:9px 17px;border-radius:8px;color:var(--ui-muted);font-size:13px;border:1px solid transparent;white-space:nowrap}
.student-room-navigation>a>svg{width:16px;height:16px}
.student-room-navigation>a:hover{color:var(--ui-primary);background:var(--ui-surface)}
.student-room-navigation>a.active{background:var(--ui-surface);color:var(--ui-primary);border-color:var(--ui-line);font-weight:650}
.student-room-navigation>a.student-room-create{margin-left:auto;order:3;background:var(--ui-primary);color:var(--ui-on-primary);border-color:var(--ui-primary)}
.student-room-navigation>a.student-room-create.active{box-shadow:0 0 0 3px var(--ui-soft)}
.student-room-allowance{position:relative;color:var(--ui-text)}
.student-room-allowance>summary{display:flex;align-items:center;gap:5px;font-size:11px;cursor:pointer;list-style:none;padding:8px;border-radius:7px;background:var(--ui-soft);color:var(--ui-primary)}
.student-room-allowance>summary>svg{width:14px;height:14px}
.student-room-allowance>div{position:absolute;right:0;top:calc(100% + 9px);z-index:20;width:210px;padding:15px;background:var(--ui-surface);border:1px solid var(--ui-line);border-radius:10px;box-shadow:var(--ui-shadow)}
.student-room-allowance>div>span{display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:12px;line-height:2.1;color:var(--ui-muted)}
.student-room-allowance>div strong{color:var(--ui-text);font-weight:600}
.student-room-content{min-width:0}
.student-room-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:17px}
.student-room-section-heading>h2{font-size:18px;color:var(--ui-text);font-weight:650}
.student-room-content>.page-heading h2{font-size:21px;color:var(--ui-text)}
.student-room .platform-task{background:var(--ui-surface);border-color:var(--ui-line)}
.student-room .platform-task h3,.student-room .task-goal h2,.student-room .lesson-step h3{color:var(--ui-text)}
.student-room .platform-task-description,.student-room .lesson-step>p{color:var(--ui-muted)}
.student-class-change{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 18px;padding:11px 14px;background:var(--ui-soft);border:1px solid var(--ui-line);border-radius:9px;font-size:11px;color:var(--ui-text)}
.student-class-change[hidden]{display:none}
.student-class-change>a{display:flex;align-items:center;gap:6px;white-space:nowrap;color:var(--ui-primary)}
.student-class-change>a>svg{width:13px;height:13px}
.student-room-live{border-radius:12px;overflow:hidden;min-width:0}

html[data-audience=student] #main.chat-content .student-room-content>.chat-app{flex:1;min-height:0}
@media(max-width:800px){.student-course-card{padding:21px}.student-course-body{grid-template-columns:1fr;gap:27px;padding-top:26px;min-height:0}.student-course-copy h2{font-size:29px}.student-lesson-clock{padding:21px;gap:10px}.student-lesson-clock>[data-student-clock-value]{font-size:43px}.student-home-welcome h1{font-size:25px}.student-room-header{padding:15px;align-items:flex-start}.student-room-header h1{font-size:19px}.student-room-header-tools{gap:10px;flex-wrap:wrap;justify-content:flex-end;max-width:47%}.student-lesson-clock.is-compact>[data-student-clock-value]{font-size:21px}.student-room-navigation>a{padding:9px 12px;font-size:12px}.student-class-change{align-items:flex-start;flex-direction:column;gap:7px}}
@media(max-width:500px){.student-room-header{gap:10px}.student-class-identity{font-size:11px;gap:7px}.student-course-copy h2{font-size:26px}.student-enter-room{width:100%;justify-content:space-between!important}.student-home-welcome{margin-bottom:18px}.student-room-header-tools{gap:9px}.student-room-header .student-class-identity>span{padding-left:0;border:0}.student-room-allowance>summary{font-size:10px;padding:6px}.student-room-navigation{gap:4px}.student-room-navigation>a{padding:8px 9px;font-size:11px;gap:5px}.student-room-navigation>a>svg{width:14px;height:14px}.student-lesson-clock.is-compact>[data-student-clock-value]{font-size:18px}}
/* The fullscreen root stays mounted while the room switches its own panes. */
.student-room-pane[hidden],.student-task-notice[hidden],[data-student-clock-remaining][hidden],[data-student-clock-review][hidden]{display:none!important}
.student-room-pane{min-width:0;min-height:0}
.student-room-pane[data-student-room-pane=create]{display:flex;flex:1;flex-direction:column}
.student-room-pane[data-student-room-pane=create]>.chat-app{flex:1;min-height:0}
.student-fullscreen{min-height:44px;white-space:nowrap}.student-fullscreen>svg{width:15px;height:15px}
.student-fullscreen-status{margin:0 0 12px;color:var(--ui-muted);font-size:12px;line-height:1.7}
.student-lesson-clock{display:flex;align-items:flex-start;gap:25px;flex-wrap:wrap}
.student-lesson-clock>div{display:flex;flex-direction:column;gap:9px;min-width:0}
.student-lesson-clock>div>span{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;letter-spacing:.05em;color:var(--ui-text)}
.student-lesson-clock>div>strong{font-family:var(--font-mono,monospace);font-size:35px;line-height:1.2;font-weight:500;letter-spacing:-1px;font-variant-numeric:tabular-nums;color:var(--ui-text)}
.student-lesson-clock[data-phase=practice]>div>strong,.student-lesson-clock[data-phase=ended]>div>strong{font:inherit;font-size:22px;font-weight:600;letter-spacing:0}
.student-lesson-clock.is-compact{gap:20px}.student-lesson-clock.is-compact>div{gap:5px}.student-lesson-clock.is-compact>div>span{font-size:10px;letter-spacing:0}.student-lesson-clock.is-compact>div>strong{font-size:21px;letter-spacing:-.5px}.student-lesson-clock.is-compact[data-phase=practice]>div>strong,.student-lesson-clock.is-compact[data-phase=ended]>div>strong{font:inherit;font-size:13px;color:var(--ui-muted)}
.student-lesson-clock>[data-student-clock-review]{display:inline-flex;align-items:center;gap:5px;color:var(--ui-primary);font-size:12px;line-height:1.8}.student-lesson-clock>[data-student-clock-review]>svg{width:13px;height:13px}
.student-task-notice{margin:0 0 14px;padding:0 16px;border:1px solid var(--ui-line);border-radius:10px;background:var(--ui-soft);max-height:190px;overflow:auto}
.student-task-notice-item{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:13px 0}.student-task-notice-item+.student-task-notice-item{border-top:1px solid var(--ui-line)}.student-task-notice-item>div{min-width:0}.student-task-notice-item strong,.student-task-notice-item span{display:block;overflow-wrap:anywhere}.student-task-notice-item strong{font-size:13px;font-weight:600;line-height:1.6}.student-task-notice-item span{font-size:11px;line-height:1.7;color:var(--ui-muted);margin-top:3px}.student-task-notice-item>.button{flex:none;min-height:44px}.student-task-notice>p{font-size:12px;color:var(--ui-muted);line-height:1.7;margin:12px 0}
.student-challenge-dialog{box-sizing:border-box;width:min(520px,calc(100vw - 36px));max-height:calc(100dvh - 48px);padding:30px;border:1px solid var(--ui-line);border-radius:18px;background:var(--ui-surface);color:var(--ui-text);box-shadow:0 24px 80px #0d24452a;overflow:auto}
.student-challenge-dialog::backdrop{background:#18243766;backdrop-filter:blur(3px)}.student-challenge-dialog:not([open]){display:none}.student-challenge-dialog>header>span{font-size:11px;letter-spacing:.09em;color:var(--ui-primary)}.student-challenge-dialog h2{font:inherit;font-size:26px;font-weight:650;line-height:1.45;margin:12px 0 0;overflow-wrap:anywhere}.student-challenge-description{font-size:14px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;margin:16px 0 20px}.student-challenge-dialog ol{padding:0;list-style-position:inside;margin:0;border-top:1px solid var(--ui-line)}.student-challenge-dialog li{padding:13px 0;border-bottom:1px solid var(--ui-line);font-size:13px;line-height:1.7}.student-challenge-dialog li>strong{font-weight:500;margin-left:6px}.student-challenge-dialog li>span{float:right;color:var(--ui-muted);font-size:11px}.student-challenge-help{font-size:12px;line-height:1.8;color:var(--ui-muted);margin:19px 0 24px}.student-challenge-actions{display:flex;justify-content:flex-end;gap:10px}.student-challenge-actions>.button{min-height:44px}
html[data-student-classroom-focus=true]{overflow:hidden}
html[data-student-classroom-focus=true] .student-room{position:fixed;inset:0;z-index:100;width:100%;height:100dvh;max-width:none;margin:0;box-sizing:border-box;padding:14px 22px;background:var(--ui-bg);display:flex;flex-direction:column;overflow:hidden}
html[data-student-classroom-focus=true] .student-room-header{flex:none;padding:10px 15px;margin-bottom:10px;gap:16px}
html[data-student-classroom-focus=true] .student-room-header h1{font-size:17px;line-height:1.4;margin-bottom:2px}
html[data-student-classroom-focus=true] .student-room-back{font-size:10px}
html[data-student-classroom-focus=true] .student-room-navigation{flex:none;margin-bottom:12px;padding-bottom:10px}
html[data-student-classroom-focus=true] .student-room-navigation>a{min-height:44px;padding:8px 15px}
html[data-student-classroom-focus=true] .student-room-content{display:flex;flex:1;min-height:0;flex-direction:column;overflow:auto}
html[data-student-classroom-focus=true] .student-room-pane[data-student-room-pane=lesson]{display:flex;flex:1;min-height:0}
html[data-student-classroom-focus=true] .student-room-live{display:flex;flex:1;min-height:0;flex-direction:column}

html[data-student-classroom-focus=true] .student-room-live>.card{flex:1;display:grid;place-content:center}
html[data-student-classroom-focus=true] .student-room-pane[data-student-room-pane=create]{overflow:hidden}
html[data-student-classroom-focus=true] .student-room-content .chat-app{height:100%;min-height:0}
html[data-student-classroom-focus=true] .student-task-notice{flex:none;max-height:115px}
html[data-student-classroom-focus=true] .student-class-change{flex:none}
@media(max-width:800px){.student-lesson-clock>div>strong{font-size:29px}.student-lesson-clock.is-compact{gap:12px}.student-lesson-clock.is-compact>div>strong{font-size:17px}.student-room-header-tools{max-width:60%;gap:10px}.student-fullscreen{padding:8px 10px;font-size:11px}html[data-student-classroom-focus=true] .student-room{padding:10px 12px}html[data-student-classroom-focus=true] .student-room-header{padding:9px 12px}.student-challenge-dialog{padding:24px}.student-challenge-dialog h2{font-size:23px}}
@media(max-width:500px){.student-room-header{flex-wrap:wrap}.student-room-header-tools{max-width:none;width:100%;justify-content:space-between;gap:8px}.student-lesson-clock.is-compact{gap:18px}.student-lesson-clock.is-compact>div>strong{font-size:17px}.student-room-header .student-class-identity{display:none}html[data-student-classroom-focus=true] .student-room{padding:7px 8px}html[data-student-classroom-focus=true] .student-room-header{padding:8px 10px;gap:7px}html[data-student-classroom-focus=true] .student-room-back{margin:0}html[data-student-classroom-focus=true] .student-room-header h1{font-size:14px;margin:0}html[data-student-classroom-focus=true] .student-room-navigation{gap:4px;margin-bottom:8px;padding-bottom:7px}html[data-student-classroom-focus=true] .student-room-navigation>a{padding:7px 8px;gap:4px;font-size:11px}.student-task-notice{padding:0 11px}.student-task-notice-item{gap:10px}.student-task-notice-item strong{font-size:12px}.student-task-notice-item span{font-size:10px}.student-challenge-dialog{padding:23px 20px}.student-challenge-actions>.button{flex:1}.student-challenge-dialog li>span{float:none;margin-left:9px}}
.student-lesson-summary{max-width:1400px;margin:0 auto}.student-summary-note{color:var(--ui-muted);font-size:13px;line-height:1.8;margin:0 0 22px}.student-summary-work{min-width:0}.student-summary-work>.work-card{height:calc(100% - 51px)}.student-summary-actions{display:flex;gap:8px;justify-content:flex-end;padding:10px 0}.student-summary-actions>.button{min-height:36px}
.student-summary-tasks{margin:0 0 28px}.student-summary-tasks>h2{font-size:18px;font-weight:650;margin:0 0 15px}.student-summary-tasks>div{display:grid;gap:12px}.student-summary-tasks article{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:20px 22px}.student-summary-tasks article>div{min-width:0}.student-summary-tasks h3{font-size:15px;line-height:1.6;margin:0 0 5px}.student-summary-tasks p{font-size:12px;color:var(--ui-muted);line-height:1.8;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.student-summary-tasks .button{flex:none;min-height:44px}.student-summary-task>.page-heading+.page-heading{margin-top:20px}.student-summary-task>.page-heading+.page-heading h2{font-size:21px}
@media(max-width:600px){.student-summary-tasks article{align-items:flex-start;flex-direction:column;gap:15px;padding:18px}.student-summary-tasks .button{align-self:flex-end}}

/* Classroom chrome stays in one independent left rail; shared content owns the right pane. */
.student-room.student-room-sidebar{--student-room-rail-width:clamp(124px,22vw,220px);display:grid;grid-template-columns:var(--student-room-rail-width) minmax(0,1fr);grid-template-rows:minmax(0,1fr);gap:0;min-width:0;min-height:0;overflow:hidden}
html[data-student-classroom-focus=true] .student-room.student-room-sidebar{display:grid;padding:0}
.student-room-sidebar>.student-room-rail{grid-column:1;grid-row:1;display:flex;flex-direction:column;width:100%;height:100%;min-width:0;min-height:0;box-sizing:border-box;padding:22px 16px 14px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;background:var(--ui-surface);border-right:1px solid var(--ui-line)}
.student-room-sidebar>.student-room-rail>*{flex:none;min-width:0}
.student-room-sidebar .student-room-rail .student-room-header{display:flex;flex-direction:column;align-items:stretch;gap:20px;padding:0!important;margin:0 0 18px;border:0;border-radius:0;background:transparent}
.student-room-sidebar .student-room-header>div:first-child{display:block;min-width:0}
.student-room-sidebar .student-room-rail .student-room-header h1{font-size:18px;font-weight:650;line-height:1.5;margin:0 0 12px;letter-spacing:0;overflow-wrap:anywhere}
.student-room-sidebar .student-room-header .student-class-identity{display:grid;grid-template-columns:15px minmax(0,1fr);align-items:start;gap:3px 7px;width:100%;font-size:11px;line-height:1.6;white-space:normal;overflow-wrap:anywhere}
.student-room-sidebar .student-class-identity>svg{grid-column:1;grid-row:1/3;width:14px;height:14px;margin-top:2px;color:var(--ui-muted)}
.student-room-sidebar .student-class-identity>strong{grid-column:2;min-width:0;font-weight:550;overflow-wrap:anywhere}
.student-room-sidebar .student-class-identity>span{grid-column:2;display:block;width:100%;padding:0;border:0;color:var(--ui-muted);font-size:10px;font-variant-numeric:tabular-nums}
.student-room-sidebar .student-room-header-tools{display:flex;flex-direction:column;align-items:stretch;gap:0;max-width:none;width:100%}
.student-room-sidebar .student-room-rail .student-lesson-clock.is-compact{display:flex;flex-direction:column;align-items:stretch;gap:13px;padding:13px 12px;border:1px solid var(--ui-line);border-radius:9px;width:100%;margin:0;background:var(--ui-bg)}
.student-room-sidebar .student-room-rail .student-lesson-clock.is-compact>div{gap:5px}
.student-room-sidebar .student-room-rail .student-lesson-clock.is-compact>div>span{font-size:10px;font-weight:500;letter-spacing:0;color:var(--ui-muted)}
.student-room-sidebar .student-room-rail .student-lesson-clock.is-compact>div:first-child>span::before{content:'';width:5px;height:5px;border-radius:50%;background:var(--ui-muted);flex:none}
.student-room-sidebar .student-room-rail .student-lesson-clock.is-compact[data-phase=live]>div:first-child>span::before{background:var(--ui-primary)}
.student-room-sidebar .student-room-rail .student-lesson-clock.is-compact>div>strong{font-size:23px;font-weight:550;line-height:1.3;max-width:100%;letter-spacing:-.6px;overflow-wrap:anywhere}
.student-room-sidebar .student-room-rail .student-lesson-clock.is-compact:is([data-phase=practice],[data-phase=ended])>div>strong{font-size:13px;line-height:1.6}
.student-room-sidebar .student-room-commands,.student-room-sidebar .student-room-utilities{display:flex;flex-direction:column;gap:6px}
.student-room-sidebar [data-student-hand-control]:empty{display:none}
.student-room-sidebar .student-room-rail .student-room-navigation{display:flex;flex-direction:column;align-items:stretch;gap:6px;padding:0;margin:0;border:0}
.student-room-sidebar .student-room-rail :is(.student-room-navigation>a,.student-fullscreen,[data-student-hand-control]>.button,.student-room-allowance>summary){display:flex;align-items:center;justify-content:flex-start;gap:9px;min-height:44px;width:100%;margin:0;padding:10px 11px;box-sizing:border-box;border:1px solid var(--ui-line);border-radius:8px;background:var(--ui-surface);color:var(--ui-text);font:inherit;font-size:12px;font-weight:500;line-height:1.5;text-align:left;white-space:normal;overflow-wrap:anywhere;box-shadow:none;transition:background .15s,border-color .15s,color .15s}
.student-room-sidebar .student-room-rail :is(.student-room-navigation>a,.student-fullscreen,[data-student-hand-control]>.button,.student-room-allowance>summary)>svg{width:16px;height:16px;flex:none;color:var(--ui-muted)}
.student-room-sidebar .student-room-rail :is(.student-room-navigation>a,.student-fullscreen,[data-student-hand-control]>.button,.student-room-allowance>summary):hover{background:var(--ui-bg);border-color:var(--ui-primary);transform:none}
.student-room-sidebar .student-room-rail :is(.student-room-navigation>a.active,[data-student-hand-control]>.button[aria-pressed=true]){background:var(--ui-soft);border-color:var(--ui-soft);color:var(--ui-primary);font-weight:600;box-shadow:inset 3px 0 0 var(--ui-primary)}
.student-room-sidebar .student-room-rail .student-room-navigation>a.active>svg{color:var(--ui-primary)}
.student-room-sidebar .student-room-rail [data-student-hand-control]>.button::before{content:'';width:16px;height:16px;flex:none;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 11V6a1.5 1.5 0 0 1 3 0v5-7a1.5 1.5 0 0 1 3 0v7-6a1.5 1.5 0 0 1 3 0v6-4a1.5 1.5 0 0 1 3 0v8c0 4-2 7-6 7h-1c-2 0-3-1-4-3l-4-6a1.5 1.5 0 0 1 2.5-1.5L7 13'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 11V6a1.5 1.5 0 0 1 3 0v5-7a1.5 1.5 0 0 1 3 0v7-6a1.5 1.5 0 0 1 3 0v6-4a1.5 1.5 0 0 1 3 0v8c0 4-2 7-6 7h-1c-2 0-3-1-4-3l-4-6a1.5 1.5 0 0 1 2.5-1.5L7 13'/%3E%3C/svg%3E") center/contain no-repeat}
.student-room-sidebar .student-room-rail .student-room-allowance>summary::after{content:'';flex:none;width:6px;height:6px;margin-left:auto;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:rotate(45deg);transition:transform .15s}
.student-room-sidebar .student-room-rail .student-room-allowance[open]>summary::after{transform:rotate(225deg)}
.student-room-sidebar .student-room-allowance>div{position:static;width:100%;margin-top:6px;padding:10px 12px;border-radius:8px;box-shadow:none;background:var(--ui-bg)}
.student-room-sidebar .student-fullscreen-status{font-size:11px;line-height:1.7;margin:12px 0 0;overflow-wrap:anywhere}
.student-room-sidebar .student-class-change{padding:10px 0;margin:12px 0;flex-direction:column;align-items:flex-start;font-size:11px}
.student-room-sidebar .student-room-rail .student-task-notice{padding:0 10px;margin:12px 0;max-height:none;overflow:visible}
.student-room-sidebar .student-task-notice-item{align-items:stretch;flex-direction:column;gap:8px;padding:11px 0}
.student-room-sidebar .student-task-notice-item>.button{width:100%;min-height:36px;justify-content:center}
.student-room-sidebar .student-room-rail-footer{margin-top:auto;padding-top:22px}
.student-room-sidebar .student-room-rail .student-room-back{display:flex;align-items:center;justify-content:flex-start;gap:9px;width:100%;min-height:44px;padding:10px 11px;margin:0;border:1px solid transparent;border-radius:8px;color:var(--ui-muted);font-size:12px;line-height:1.5}
.student-room-sidebar .student-room-back>svg{width:16px;height:16px;flex:none}
.student-room-sidebar .student-room-back:hover{color:var(--ui-text);background:var(--ui-bg)}
.student-room-sidebar .student-room-rail :is(a,button,summary):focus-visible{outline:2px solid var(--ui-primary);outline-offset:2px}
.student-room-sidebar>.student-room-content{grid-column:2;grid-row:1;display:flex;flex-direction:column;width:100%;height:100%;min-width:0;min-height:0;overflow:hidden;padding:0;margin:0}
.student-room-sidebar .student-room-pane{flex:1;min-width:0;min-height:0;height:100%;overflow:auto;overscroll-behavior:contain}
.student-room-sidebar .student-room-pane[hidden]{display:none!important}
.student-room-sidebar .student-room-pane[data-student-room-pane=lesson]{display:flex;overflow:hidden}
.student-room-sidebar .student-room-live{display:flex;flex-direction:column;flex:1;min-width:0;min-height:0;width:100%;height:100%}
.student-room-sidebar .student-room-live>.card{margin:18px;min-width:0;max-width:100%;box-sizing:border-box}
.student-room-live{position:relative}
.student-permission-indicators{display:flex;align-items:center;gap:2px;flex:none}.student-permission-indicators>span{display:grid;place-items:center;width:26px;height:26px;border-radius:5px;color:var(--ui-muted);opacity:.45}.student-permission-indicators>span[data-permission-enabled=true]{opacity:1;color:var(--ui-primary)}.student-permission-indicators svg{width:15px;height:15px}.student-permission-indicators>span:focus-visible{outline:2px solid var(--ui-primary);outline-offset:1px}
.student-permission-menu{position:relative}.student-permission-menu>summary{display:grid;place-items:center;list-style:none;width:28px;height:28px;border-radius:5px;cursor:pointer;color:var(--ui-muted)}.student-permission-menu>summary:hover{background:var(--ui-soft);color:var(--ui-primary)}.student-permission-menu>summary:focus-visible{outline:2px solid var(--ui-primary)}.student-permission-menu>div{position:absolute;right:0;top:32px;display:flex;gap:10px;padding:14px;border:1px solid var(--ui-line);border-radius:8px;background:var(--ui-surface);box-shadow:var(--ui-shadow);z-index:20}.student-permission-menu>div>span{display:flex;align-items:center;flex-direction:column;gap:7px;min-width:35px;color:var(--ui-muted);opacity:.45}.student-permission-menu>div>span[data-permission-enabled=true]{opacity:1;color:var(--ui-primary)}.student-permission-menu small{font-size:10px;white-space:nowrap}
.student-room-interaction-bar .student-room-allowance{flex:none}.student-room-interaction-bar .student-room-allowance>summary{width:28px;height:28px;min-height:28px;box-sizing:border-box;justify-content:center;gap:0;padding:5px;background:transparent}.student-room-interaction-bar .student-room-allowance>div{position:absolute;right:0;top:32px;width:245px;padding:14px;background:var(--ui-surface);box-shadow:var(--ui-shadow);z-index:20}.student-room-interaction-bar .student-room-allowance small{display:block;font-size:10px;line-height:1.7;color:var(--ui-muted)}
.student-room-interaction-bar .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media(max-width:600px){.student-permission-indicators{gap:0}.student-permission-indicators>span{width:22px}}
.student-room-live>.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.student-room-sidebar .student-room-pane:is([data-student-room-pane=tasks],[data-student-room-pane=task]){padding:18px;box-sizing:border-box}
.student-room-sidebar .student-room-pane[data-student-room-pane=create]{display:flex;flex-direction:column;overflow:hidden;padding:8px 12px 0;box-sizing:border-box}
@media(max-width:600px){.student-room-sidebar>.student-room-rail{padding:15px 9px 10px}.student-room-sidebar .student-room-rail .student-room-header{gap:15px;margin-bottom:14px}.student-room-sidebar .student-room-rail .student-room-header h1{font-size:15px;margin:0 0 10px}.student-room-sidebar .student-room-header .student-class-identity{font-size:10px;gap:3px 5px;grid-template-columns:13px minmax(0,1fr)}.student-room-sidebar .student-class-identity>svg{width:12px;height:12px}.student-room-sidebar .student-class-identity>span{font-size:9px}.student-room-sidebar .student-room-rail .student-lesson-clock.is-compact{padding:11px 8px;gap:11px}.student-room-sidebar .student-room-rail .student-lesson-clock.is-compact>div>strong{font-size:17px}.student-room-sidebar .student-room-rail :is(.student-room-navigation>a,.student-fullscreen,[data-student-hand-control]>.button,.student-room-allowance>summary,.student-room-back){padding:10px 8px;font-size:11px;gap:7px}.student-room-sidebar .student-room-rail :is(.student-room-navigation>a,.student-fullscreen,[data-student-hand-control]>.button,.student-room-allowance>summary)>svg{width:14px;height:14px}.student-room-sidebar .student-room-rail [data-student-hand-control]>.button::before{width:14px;height:14px}.student-room-sidebar .student-room-allowance>div{padding:9px}.student-room-sidebar .student-room-rail-footer{padding-top:18px}.student-room-sidebar .student-room-pane:is([data-student-room-pane=tasks],[data-student-room-pane=task]){padding:10px}.student-room-sidebar .student-room-pane[data-student-room-pane=create]{padding:6px 7px 0}.student-room-sidebar .student-task-notice{padding:0 7px}.student-room-sidebar .student-task-notice-item strong{font-size:11px}.student-room-sidebar .student-task-notice-item span{font-size:10px}}

/* The student front door puts the next action ahead of decorative content. */
.student-home-dashboard{display:grid;gap:18px;max-width:1120px}
.student-dashboard-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.student-dashboard-heading h1{margin:0;font-size:26px;line-height:1.4;font-weight:650}
.student-home-dashboard .student-current-class{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,.55fr);align-items:center;gap:24px;padding:24px;border-radius:14px;min-width:0}
.student-current-class-copy{min-width:0}
.student-current-class-copy h2{font-size:22px;font-weight:650;line-height:1.5;margin:0 0 8px;overflow-wrap:anywhere}
.student-current-class-copy p{font-size:13px;line-height:1.7;color:var(--ui-muted);margin:0}
html[data-audience=student] .student-home-dashboard .student-enter-room{min-width:150px;width:auto;min-height:44px;margin-top:18px;padding:10px 16px!important;font-size:14px!important;gap:22px!important}
.student-home-dashboard .student-lesson-clock{flex-direction:row;flex-wrap:wrap;align-items:center;gap:20px;padding:17px 20px;border-radius:10px;box-shadow:none;background:var(--ui-bg)}
.student-home-dashboard .student-lesson-clock>div{display:grid;gap:5px;min-width:0}
.student-home-dashboard .student-lesson-clock>div>span{font-size:11px;color:var(--ui-muted)}
.student-home-dashboard .student-lesson-clock>div>strong{font-size:24px;line-height:1.3;font-weight:550;font-variant-numeric:tabular-nums;letter-spacing:-.5px;overflow-wrap:anywhere}
.student-home-dashboard .student-lesson-clock:is([data-phase=practice],[data-phase=ended])>div>strong{font-size:16px;letter-spacing:0}
.student-home-dashboard .student-lesson-clock>a{font-size:12px;display:inline-flex;align-items:center;gap:5px}
.student-home-dashboard .student-lesson-clock>a>svg{width:14px;height:14px}
.student-home-dashboard .student-home-todos{padding:0;border-radius:14px;overflow:hidden}
.student-home-todos>header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:17px 22px;border-bottom:1px solid var(--ui-line)}
.student-home-todos h2{display:flex;align-items:center;gap:8px;font-size:17px;line-height:1.5;font-weight:650;margin:0}
.student-home-todos h2>span{display:grid;place-items:center;min-width:22px;height:22px;box-sizing:border-box;padding:0 5px;border-radius:6px;background:var(--ui-soft);color:var(--ui-primary);font-size:12px}
.student-home-todos>header>a{display:flex;align-items:center;gap:5px;font-size:12px;min-height:36px;color:var(--ui-primary);flex:none}
.student-home-todos>header>a>svg,.student-home-todo svg{width:15px;height:15px;flex:none}
.student-home-todo{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 22px;min-height:70px;box-sizing:border-box;color:var(--ui-text);border-bottom:1px solid var(--ui-line)}
.student-home-todo:last-child{border-bottom:0}
.student-home-todo:hover{background:var(--ui-soft)}
.student-home-todo>span:first-child{display:grid;gap:5px;min-width:0}
.student-home-todo strong{font-size:14px;font-weight:550;line-height:1.5;overflow-wrap:anywhere}
.student-home-todo small{font-size:11px;color:var(--ui-muted);line-height:1.6}
.student-todo-action{display:flex;align-items:center;gap:7px;flex:none;font-size:12px;color:var(--ui-primary)}
.student-home-empty{padding:20px 22px;margin:0;color:var(--ui-muted);font-size:13px;line-height:1.7}
.student-home-destinations{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;min-width:0}
.student-home-destinations>a{display:flex;align-items:center;gap:10px;padding:14px 16px;min-height:52px;box-sizing:border-box;border:1px solid var(--ui-line);border-radius:10px;background:var(--ui-surface);color:var(--ui-text);font-size:13px;line-height:1.5;min-width:0}
.student-home-destinations>a>span{overflow-wrap:anywhere}
.student-home-destinations>a:hover{border-color:var(--ui-primary);color:var(--ui-primary)}
.student-home-destinations>a>svg{width:17px;height:17px;flex:none;color:var(--ui-primary)}
.student-home-destinations>a>svg:last-child{width:13px;height:13px;margin-left:auto;color:var(--ui-muted)}
.student-home-dashboard [data-quota-ui-mount] .quota-entry{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:0;padding:0;font-size:11px;color:var(--ui-muted)}
@media(max-width:700px){.student-home-dashboard{gap:14px}.student-dashboard-heading{gap:8px}.student-dashboard-heading h1{font-size:23px}.student-dashboard-heading>.student-class-identity{font-size:11px}.student-home-dashboard .student-current-class{grid-template-columns:1fr;gap:18px;padding:19px}.student-current-class-copy h2{font-size:20px}.student-home-dashboard .student-lesson-clock{gap:24px;padding:13px 16px}.student-home-dashboard .student-lesson-clock>div>strong{font-size:22px}.student-home-destinations{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.student-home-destinations>a{padding:12px;font-size:12px;gap:8px}.student-home-todos>header{padding:13px 16px}.student-home-todo{padding:14px 16px;gap:12px}.student-home-empty{padding:17px 16px}}
