.shared-classroom{min-height:100vh;}.shared-classroom .meeting-main,.shared-classroom .meeting-side{min-width:0;}.shared-classroom>.form-error{margin:12px 24px;}.shared-classroom .meeting-layout{align-items:start;}.shared-stage{min-height:480px;}.shared-slide{min-height:390px;}.shared-slide-body{white-space:pre-wrap;line-height:1.7;font-size:18px;max-width:760px;overflow-wrap:anywhere;}.shared-stage .stage-header span{min-width:0;overflow-wrap:anywhere;}.shared-stage .stage-tabs button:disabled{opacity:.8;cursor:default;}.shared-sidebar{min-height:360px;height:calc(100dvh - 164px);display:flex;flex-direction:column;}.shared-sidebar .side-panel-content{flex:1;min-height:80px;overflow:auto;}.shared-sidebar .meeting-side-tabs button{padding:16px 10px;}.shared-sidebar .chat-entry-meta{display:flex;flex-direction:column;align-items:start;gap:5px;}.shared-sidebar time{font-size:11px;color:#91a3a8;}.shared-sidebar .chat-entry p,.room-agenda{white-space:pre-wrap;overflow-wrap:anywhere;}.shared-sidebar .chat-entry>div:last-child{min-width:0;}.room-avatar{width:34px;height:34px;flex-shrink:0;border-radius:10px;background:#24383c;display:grid;place-items:center;color:#cde8df;overflow:hidden;font-size:15px;}.room-avatar img{width:100%;height:100%;object-fit:cover;}.room-member{display:flex;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid #26363b;}.room-event span,.room-event small{display:block;color:#91a3a8;font-size:11px;line-height:1.7;overflow-wrap:anywhere;}.hand-announcement{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;margin:0}.hand-queue{flex-shrink:0;padding:12px 14px;border-bottom:1px solid var(--line);background:var(--surface);font-size:12px}.hand-queue-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:7px}.hand-queue-heading h3{display:flex;align-items:center;gap:7px;margin:0;font-size:12px;font-weight:650;color:#d7bc77}.hand-queue-heading .icon{width:16px;height:16px}.hand-queue-heading h3>span{border-radius:20px;padding:2px 6px;background:#d7bc771a;font-size:11px}.hand-queue-heading>small{color:var(--muted);font-size:11px}.hand-queue ol{list-style:none;margin:0;padding:0;max-height:132px;overflow:auto;overscroll-behavior:contain}.hand-queue li{display:flex;align-items:center;gap:9px;min-height:34px;padding:2px 0}.hand-position{display:grid;place-items:center;flex-shrink:0;min-width:23px;height:23px;padding:0 4px;border:1px solid var(--line);border-radius:7px;font-size:11px;color:var(--paper);font-variant-numeric:tabular-nums}.hand-person{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--paper)}.hand-person small{color:var(--muted);font-size:11px}.hand-queue .hand-action{gap:4px;padding:0 9px}.hand-queue .room-avatar{width:24px;height:24px;border-radius:7px;font-size:11px}.hand-queue .hand-person{flex:1}.hand-confirmation{margin:7px 0 0;color:#d7bc77;font-size:11px}.hand-toggle{position:relative}.hand-button-position{position:absolute;top:-4px;right:-4px;display:grid;place-items:center;min-width:19px;height:19px;padding:0 4px;border-radius:12px;background:#d7bc77;color:#171c1b;font:600 11px/1 var(--body,sans-serif);border:2px solid var(--surface)}.room-controls{display:flex;flex-direction:column;gap:15px;}.room-controls h3{margin:10px 0 0;}.room-checkbox{display:flex;gap:10px;align-items:center;font-size:13px;}.room-checkbox input{accent-color:#51c6ae;}.room-event{border-bottom:1px solid #26363b;padding-bottom:12px;font-size:12px;}.room-lesson-editor{display:flex;flex-direction:column;gap:16px;}.room-lesson-editor label,.shared-code label{display:block;color:#b5c7c7;font-size:12px;}.room-lesson-editor input,.room-lesson-editor textarea,.shared-code textarea{display:block;width:100%;max-width:100%;padding:10px;margin-top:6px;background:#0d181d;border:1px solid #354749;border-radius:7px;color:#e2efeb;font:inherit;box-sizing:border-box;}.room-lesson-editor textarea{min-height:100px;resize:vertical;}.room-lesson-editor fieldset{min-width:0;border:1px solid #354749;border-radius:8px;padding:12px;display:flex;flex-direction:column;gap:12px;}.room-lesson-editor legend{color:#9abbb4;font-size:12px;padding:0 6px;}.shared-code pre{overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;min-height:250px;}.shared-code textarea{font-family:ui-monospace,monospace;min-height:290px;resize:vertical;tab-size:4;}.shared-code .learning-note,.room-media-note{font-size:12px;line-height:1.6;}
@media(max-width:900px){.shared-classroom .meeting-layout{grid-template-columns:1fr;}.shared-sidebar{height:540px;min-height:480px;}.shared-sidebar .side-panel-content{max-height:550px;}.shared-stage{min-height:350px;}.shared-slide{min-height:280px;}.shared-classroom .meeting-header{flex-wrap:wrap;height:auto;gap:12px;padding:16px;}.shared-classroom .stage-header{flex-wrap:wrap;gap:12px;}.shared-classroom .meeting-status{font-size:11px;}.shared-classroom .stage-footer{gap:10px;flex-wrap:wrap;}.shared-classroom .lesson-slide h2{font-size:30px;}.shared-slide-body{font-size:15px;}}.shared-sidebar .chat-entry-meta strong{overflow-wrap:anywhere;max-width:100%;}
.live-code-heading{display:flex;align-items:center;gap:8px;margin-bottom:16px}.live-code-heading h3{margin:0;font-size:15px;font-weight:600;color:var(--paper)}.live-code-heading .code-sync-status{margin-left:auto}.live-chip{padding:1px 8px;border:1px solid color-mix(in srgb,var(--teal) 40%,transparent);border-radius:999px;font-size:12px;font-weight:600;color:var(--teal)}.code-sync-status{font-size:11px;color:var(--muted)}.live-code-viewport{position:relative;overflow:hidden;border:1px solid var(--field-border,#354749);border-radius:7px;margin-top:6px}.shared-code .live-code-viewport textarea,.code-measure,.code-colours{font:13px/22px ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:normal;tab-size:4;white-space:pre;padding:26px 14px 14px;box-sizing:border-box;text-align:left;}.shared-code .live-code-viewport textarea{margin:0;border:0;border-radius:0;height:360px;min-height:240px;resize:vertical;overflow:auto;}.shared-code .live-code-viewport textarea:read-only{cursor:text}.code-measure{position:absolute;top:0;left:0;width:max-content;min-width:100%;visibility:hidden;pointer-events:none;}.code-cursors{position:absolute;inset:0;overflow:hidden;pointer-events:none}.remote-cursor{position:absolute;border-left:2px solid hsl(var(--peer-hue) 75% 67%);z-index:2;pointer-events:none}.cursor-name{position:absolute;left:2px;bottom:100%;font:11px/1.3 var(--body,sans-serif);white-space:nowrap;max-width:125px;overflow:hidden;text-overflow:ellipsis;padding:2px 5px;border-radius:3px 3px 3px 0;background:hsl(var(--peer-hue) 55% 25% / .78);color:#fff;opacity:.78;}.remote-selection{position:absolute;background:hsl(var(--peer-hue) 75% 67% / .18);pointer-events:none;z-index:1}.code-presence{display:flex;gap:8px;flex-wrap:wrap;margin:9px 0;font-size:11px}.code-presence span{color:hsl(var(--peer-hue) 75% 67%)}.code-presence span:before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:currentColor;margin-right:5px;}html[data-theme="light"] .remote-cursor{border-color:hsl(var(--peer-hue) 65% 35%)}html[data-theme="light"] .code-presence span{color:hsl(var(--peer-hue) 65% 35%)}.screen-share{border-bottom:1px solid var(--line);padding:14px 24px}
.media-device-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:12px}.media-device-controls .btn{padding:7px 12px;min-height:36px;font-size:.8rem}.class-recording{padding:18px 0;border-bottom:1px solid var(--line)}.class-recording:last-child{border-bottom:0;padding-bottom:0}.recording-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.recording-title{min-width:0}.recording-title h3{font-size:15px;font-weight:600;color:var(--paper);overflow-wrap:anywhere}.recording-title p{margin-top:4px;color:var(--muted);font-size:13px}.recording-head .chip{flex-shrink:0}.recording-detail{margin-top:8px;color:var(--muted);font-size:13px;line-height:1.55}.class-recording video{display:block;width:100%;max-height:70vh;margin-top:12px;background:#101718;border-radius:4px}.recording-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin-top:12px}.recording-actions[hidden]{display:none}.recording-actions>.text-link{display:inline-flex;align-items:center;gap:6px;font-size:13px}.recording-actions .icon{width:15px;height:15px}.recording-controls{display:flex;flex-wrap:wrap;gap:8px;margin-left:auto}
.shared-classroom .meeting-layout{padding-bottom:104px}.classroom-dock{position:fixed;bottom:18px;left:0;right:0;margin:auto;width:fit-content;max-width:calc(100% - 24px);display:flex;align-items:center;gap:7px;padding:9px 12px;border:1px solid var(--line);border-radius:18px;background:var(--surface,#182024);box-shadow:0 12px 42px #0005;z-index:60}.meeting-icon{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:42px;height:42px;padding:0;border:1px solid transparent;border-radius:12px;background:transparent;color:var(--paper);cursor:pointer;text-decoration:none;transition:background .15s,color .15s}.meeting-icon .icon{width:21px;height:21px}.meeting-icon:hover:not(:disabled){background:var(--line,#30403f)}.meeting-icon:focus-visible,.emoji-options button:focus-visible{outline:2px solid var(--teal);outline-offset:3px}.meeting-icon.selected{background:#274637;color:#9cebc5}.meeting-icon:disabled{opacity:.38;cursor:not-allowed}.meeting-icon.leave{background:#693932;color:#ffd2cb}.meeting-icon.leave:hover{background:#904b41}.meeting-icon.recording-control.selected{background:#512f2c;color:#ffb5a8}.emoji-control,.live-reactions{position:relative;flex-shrink:0}.emoji-picker{position:absolute;right:0;bottom:calc(100% + 12px);width:240px;padding:12px;background:var(--surface,#182024);border:1px solid var(--line);border-radius:14px;box-shadow:0 8px 32px #0005;z-index:65}.emoji-picker>span{display:block;padding:0 4px 9px;font-size:12px;color:var(--muted)}.emoji-options{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}.emoji-options button{width:100%;height:43px;border:0;border-radius:9px;background:transparent;font-size:25px;cursor:pointer}.emoji-options button:hover{background:var(--line)}:is(.shared-sidebar,.cohort-chat) .chat-input-form{display:flex;align-items:center;gap:4px;position:relative}:is(.shared-sidebar,.cohort-chat) .chat-input-form input{min-width:0;flex:1;width:0}:is(.shared-sidebar,.cohort-chat) .chat-input-form .meeting-icon{width:32px;height:34px;background:transparent;color:var(--muted);border:0}:is(.shared-sidebar,.cohort-chat) .chat-input-form .emoji-options button{width:100%;height:43px;background:transparent;font-size:25px}:is(.shared-sidebar,.cohort-chat) .chat-input-form .emoji-options button:hover{background:var(--line)}.reaction-overlay{position:fixed;inset:90px 14px 90px;pointer-events:none;overflow:hidden;z-index:59}.floating-reaction{position:absolute;bottom:0;left:var(--lane);display:flex;align-items:center;flex-direction:column;gap:4px;animation:reaction-rise 3.6s ease-out forwards;will-change:transform,opacity}.floating-reaction>span{font-size:38px;filter:drop-shadow(0 3px 6px #0004)}.floating-reaction>small{font-size:11px;padding:3px 7px;border-radius:6px;background:#17231fd9;color:#e5f4eb;max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.floating-reaction.sideways{bottom:var(--height);left:0;animation-name:reaction-across}.reaction-error{position:absolute;bottom:64px;right:-100px;width:260px;font-size:12px;padding:10px;background:var(--surface);border:1px solid var(--line);border-radius:8px;color:var(--muted)}
@keyframes reaction-rise{0%{opacity:0;transform:translateY(0) scale(.75)}12%{opacity:1}65%{opacity:1}100%{opacity:0;transform:translate(25px,-52vh) scale(1.08)}}
@keyframes reaction-across{0%{opacity:0;transform:translateX(0) rotate(-8deg)}12%{opacity:1}65%{opacity:1}100%{opacity:0;transform:translateX(72vw) rotate(8deg)}}
@keyframes reaction-fade{0%,100%{opacity:0}15%,80%{opacity:1}}
@media(prefers-reduced-motion:reduce){.floating-reaction,.floating-reaction.sideways{animation:reaction-fade 3.6s linear forwards;bottom:15%;left:var(--lane);will-change:opacity}}
@media(max-width:600px){.classroom-dock{bottom:10px;padding:7px;max-width:calc(100% - 12px)}.classroom-dock .emoji-picker{right:-55px}}

.shared-stage{min-height:0}
.stage.shared-stage{border:0;border-radius:0;background:transparent}
.stage-title{min-width:0;overflow-wrap:anywhere;font-weight:600}
.stage-media-root{display:flex;flex-direction:column;gap:10px;padding:12px 14px 14px}
.stage-room{position:relative;display:flex;align-items:center;justify-content:center;min-width:0}
.stage-main{--divider:0px;--window-width:min(100cqw,calc(var(--room-height,100cqh) * var(--span,1.7778) + var(--divider)));position:relative;flex:none;container-type:size;width:var(--window-width);height:calc((var(--window-width) - var(--divider)) / var(--span,1.7778))}
.stage-media{position:absolute;inset:0}
.stage-main:not([data-main="surface"]) .stage-media{display:flex;align-items:center;justify-content:center}
.stage-main:not([data-main="surface"],[data-main="split"]) .stage-overlay{inset:auto;left:50%;top:50%;transform:translate(-50%,-50%)}
.stage-main:not([data-main="surface"],[data-main="split"]) :is(.stage-media .stage-tile,.stage-overlay){flex:none;width:min(100cqw,calc(100cqh * var(--span,1.7778)));height:auto;aspect-ratio:var(--span,1.7778)}
.stage-main[data-main="surface"] .stage-media,.stage-main:not([data-main="surface"]) .stage-surface{display:none}
.stage-main[data-main="surface"] .stage-surface{position:absolute;inset:0;overflow:auto}
.stage-main[data-main="surface"] :is(.stage-label,.stage-recording,.stage-overlay-actions){display:none}
.stage-media .stage-tile{width:100%;height:100%;border-radius:10px;cursor:zoom-in}
.stage-media .stage-tile canvas,.stage-media .stage-tile video,.stage-media .stage-tile.is-screen canvas{object-fit:contain;background:transparent}
.stage-tile[data-key="me"]>:is(video,canvas){transform:scaleX(-1)}
.stage-media .stage-tile.has-video{background:transparent}
.stage-media .stage-name{display:none}
.stage-part{display:none}
.stage-main[data-part="screen"] .stage-part{display:flex;align-items:center;justify-content:center}
.stage-main[data-main="screen"] .stage-part{position:absolute;inset:0}
.stage-part .stage-tile{flex:none;border-radius:10px;cursor:zoom-in;background:transparent}
.stage-main[data-main="screen"] .stage-part .stage-tile{width:min(100cqw,calc(100cqh * var(--span,1.7778)));height:auto;aspect-ratio:var(--span,1.7778)}
.stage-part .stage-tile canvas{object-fit:contain;background:transparent}
.stage-part .stage-name{display:none}
.stage-main[data-main="split"]{--divider:12px;display:flex;gap:var(--divider)}
.stage-main[data-main="split"] .stage-media{position:relative;inset:auto;display:block;flex:none;width:calc((100% - var(--divider)) * var(--share,.3));height:100%}
.stage-main[data-main="split"] .stage-media .stage-tile{position:absolute;background:#141b1d}
.stage-main[data-main="split"] :is(.stage-part,.stage-surface){flex:1;min-width:0;min-height:0;position:relative}
.stage-main[data-main="split"] .stage-part .stage-tile{width:100%;height:100%}
.stage-main[data-main="split"][data-part="surface"] .stage-surface{display:block;overflow:auto}
.stage-divider{position:absolute;top:0;bottom:0;left:calc((100% - var(--divider)) * var(--share,.3));z-index:2;display:grid;place-items:center;width:var(--divider);pointer-events:auto;cursor:col-resize;touch-action:none;outline:none}
.stage-divider::after{content:'';width:4px;height:44px;border-radius:3px;background:var(--line);transition:background .15s}
.stage-divider:is(:hover,:focus-visible,.is-active)::after{background:var(--teal)}
.stage-strip{display:flex;gap:8px;overflow:hidden}
.stage-strip:empty{display:none}
.stage-strip .stage-tile{flex:0 0 auto;width:124px;aspect-ratio:16/9}
.stage-tile{position:relative;overflow:hidden;border-radius:8px;background:#141b1d;cursor:pointer;outline:none;container-type:size}
.stage-tile canvas,.stage-tile video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.stage-tile.is-screen canvas{object-fit:contain;background:#000}
.stage-face{position:absolute;top:46%;left:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:clamp(22px,50cqmin,200px);aspect-ratio:1;overflow:hidden;border-radius:50%;background:#24383c;color:#cde8df;font-size:clamp(11px,18cqmin,72px);font-weight:600;letter-spacing:.02em}
.stage-face img{width:100%;height:100%;object-fit:cover;display:block}
.stage-tile.has-video .stage-face{display:none}
.stage-more{display:grid;place-content:center;justify-items:center;gap:4px}
.stage-more-faces{display:flex}
.stage-more-faces .stage-face{position:static;transform:none;width:26px;font-size:11px;margin-left:-8px;box-shadow:0 0 0 2px #141b1d}
.stage-more-faces .stage-face:first-child{margin-left:0}
.stage-more-count{color:#cde8df;font-size:12px;font-weight:600}
.stage-tile.is-face{cursor:default}
.stage-media-root.has-gallery>.stage-room{display:none}
.class-gallery{flex:1 1 0;min-height:320px;display:flex;flex-direction:column;gap:10px}
.gallery-head{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.gallery-head h3{margin:0 auto 0 4px;font-size:15px;font-weight:600;color:var(--paper)}
.gallery-count{margin-left:6px;color:var(--muted);font-size:12px;font-weight:500}
.gallery-head>.pill-button:first-child svg,.gallery-prev svg{transform:rotate(180deg)}
.gallery-search{display:flex;align-items:center;gap:6px;height:44px;padding:0 12px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--muted)}
.gallery-search input{width:180px;height:100%;border:0;background:transparent;color:var(--paper);font-size:14px;outline:none}
.gallery-search:focus-within{border-color:var(--teal)}
.gallery-filters{display:flex;flex-wrap:wrap;gap:6px;width:100%}
.gallery-filters small{margin-left:6px;color:var(--muted);font-size:12px}
.gallery-filters [aria-pressed="true"]{border-color:var(--teal);color:var(--paper)}
.gallery-page{flex:1;min-height:0;display:grid;grid-template-columns:repeat(var(--cols,4),minmax(0,1fr));grid-auto-rows:var(--tile-height,120px);gap:8px;align-content:start;touch-action:pan-y}
.gallery-page .stage-tile{width:100%;height:100%}
.gallery-empty{margin:0;color:var(--muted);font-size:14px}
.gallery-pager{display:flex;align-items:center;justify-content:center;gap:10px;color:var(--muted);font-size:12px}
@media(max-width:900px){.class-gallery{position:fixed;inset:0;z-index:60;padding:12px;background:var(--deep);overflow:auto}}
.stage-unsent{position:absolute;top:6px;left:6px;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#0a0e0fcc;color:#fff;cursor:help}
.stage-unsent .icon{width:14px;height:14px}
.stage-unsent-note{position:fixed;z-index:70;max-width:260px;padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:var(--surface,#182024);color:var(--paper);font-size:12px;line-height:1.4;box-shadow:0 8px 24px #0005;pointer-events:none}
.stage-unsent-note[hidden]{display:none}
.stage-hand{position:absolute;right:6px;top:6px;z-index:3;display:inline-flex;gap:3px;align-items:center;padding:1px 6px 1px 4px;border-radius:6px;background:#e8bd78;color:#111517;font-size:11.5px;font-weight:700;line-height:1.5}
.stage-hand .icon{width:13px;height:13px}
.stage-tile:not(.has-video)>canvas{display:none}
.stage-name{position:absolute;left:7px;bottom:7px;max-width:calc(100% - 14px);padding:3px 8px;border-radius:5px;background:#0a0e0fcc;color:#fff;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.stage-tile::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;transition:box-shadow .15s}
.stage-tile.speaking::after{box-shadow:inset 0 0 0 3px #34d7a1}
.stage-tile:hover::after{box-shadow:inset 0 0 0 2px #9be8cb80}
.stage-tile.speaking:hover::after{box-shadow:inset 0 0 0 3px #34d7a1}
.stage-tile:focus-visible::after{box-shadow:inset 0 0 0 3px #9be8cb}
.stage-strip .stage-tile.is-stage::after{box-shadow:inset 0 0 0 2px var(--teal)}
.stage-strip .stage-tile.is-stage.speaking::after{box-shadow:inset 0 0 0 3px #34d7a1}
.stage-overlay{position:absolute;inset:0;display:flex;align-items:flex-start;gap:8px;padding:10px;pointer-events:none}
.stage-label,.stage-recording,.stage-button{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:4px 10px;border-radius:6px;background:#0a0e0fcc;color:#fff;font-size:13px}
.stage-label{font-weight:600;max-width:60%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.stage-recording{background:#9f2b20e6;font-size:12px;font-weight:600}
.stage-recording i{width:8px;height:8px;border-radius:50%;background:#fff;animation:stage-blink 1.4s ease-in-out infinite}
@keyframes stage-blink{50%{opacity:.25}}
.stage-overlay-actions{display:flex;gap:6px;margin-left:auto}
.stage-button{pointer-events:auto;border:0;font:inherit;font-size:12px;cursor:pointer}
.stage-button:hover{background:#000000e6}
.stage-button .icon{width:16px;height:16px}
.stage-label[hidden],.stage-recording[hidden],.stage-button[hidden],.stage-notice[hidden]{display:none}
.stage-empty{display:grid;justify-items:center;align-content:center;gap:8px;min-height:300px;padding:30px 16px;text-align:center;color:var(--muted,#a9b6bc);border:1px dashed var(--line,#354047);border-radius:10px}
.stage-empty .icon{width:30px;height:30px;color:#9be8cb}
.stage-empty strong{color:var(--paper,#edf3f3);font-size:15px}
.stage-empty p{max-width:420px;font-size:13px;line-height:1.6}
.stage-notice{font-size:12px;color:#e8bd78}
.stage-media-root .classroom-dock{position:static;margin:2px auto 0;max-width:100%;flex-wrap:wrap;justify-content:center}
.classroom-dock{align-items:flex-start;gap:14px}
.dock-group{display:flex;align-items:flex-start;gap:4px}
.classroom-dock .meeting-icon{flex-direction:column;gap:3px;width:auto;min-width:62px;height:auto;min-height:54px;padding:6px 6px 5px}
.classroom-dock .meeting-icon .icon{width:20px;height:20px}
.control-word{font-size:12px;font-weight:600;line-height:1.2;white-space:nowrap}
@media(max-width:900px){.stage-media-root .classroom-dock{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;width:100%;padding:8px}.classroom-dock .dock-group{display:contents}.classroom-dock :is(.meeting-icon,.layout-control,.live-reactions,.emoji-control){width:100%;min-width:0}.classroom-dock .control-word{max-width:100%;overflow:hidden;text-overflow:ellipsis}}
.shared-classroom .meeting-layout{padding-bottom:24px}
.stage-media-root:fullscreen,.stage-media-root.is-expanded{background:#05080a;padding:14px;justify-content:center}
.stage-media-root.is-expanded{position:fixed;inset:0;z-index:95;overflow:auto}
.stage-media-root:is(:fullscreen,.is-expanded) .stage-room{flex:1;min-height:0;container-type:size}
@media(prefers-reduced-motion:reduce){.stage-recording i{animation:none}}
@media(max-width:900px){.stage-media-root:not(:fullscreen,.is-expanded) .stage-main{width:100%;height:auto;aspect-ratio:var(--span,1.7778);max-height:75dvh}.stage-media-root:not(:fullscreen,.is-expanded) .stage-main[data-main="surface"]{aspect-ratio:auto;max-height:none;container-type:inline-size}.stage-media-root:not(:fullscreen,.is-expanded) .stage-main[data-main="surface"] .stage-surface{position:static;overflow:visible}.stage-divider{display:none}.stage-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.stage-strip .stage-tile{width:auto}.stage-media-root{padding:10px}}
.capture-source{position:fixed;left:0;bottom:0;width:2px;height:2px;opacity:.01;pointer-events:none;z-index:-1}
.cohort-chat{display:flex;flex-direction:column;padding-bottom:0}
.cohort-chat>.form-error,.cohort-chat>.btn{margin-bottom:12px}
.cohort-chat>.btn{align-self:flex-start}
.cohort-chat-log{height:clamp(320px,calc(100dvh - 500px),720px);overflow-y:auto;overscroll-behavior:contain;margin:0 -22px;padding:18px 22px 4px;border-top:1px solid var(--line)}
.cohort-chat .chat-older{display:flex;margin:0 auto 18px}
.cohort-chat .learning-note{border-top:0;margin-top:0;padding-top:0;font-size:13px}
.cohort-chat .chat-entry{grid-template-columns:34px minmax(0,1fr);gap:12px;margin-bottom:18px}
.cohort-chat .chat-entry-body{min-width:0}
.cohort-chat .chat-entry-meta{gap:8px;font-size:13px;margin-bottom:3px}
.cohort-chat .chat-entry-meta strong{overflow-wrap:anywhere}
.cohort-chat .chat-entry-meta time{font-size:12px;color:#91a3a8;white-space:nowrap}
.cohort-chat .chat-entry p{font-size:14px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}
.cohort-chat .chat-input-wrap{margin:0 -22px;padding:14px 22px 16px;border-radius:0 0 var(--radius,6px) var(--radius,6px)}
.cohort-chat .chat-input-form{border:0;background:transparent;padding:0;gap:8px}
.portal .cohort-chat .chat-input-form input{margin:0;font-size:14px}
.cohort-chat .chat-input-form .meeting-icon{width:44px;height:44px;border-radius:7px}
.cohort-chat .chat-input-form>button{min-width:44px;height:44px;flex-shrink:0;display:grid;place-items:center;padding:0 18px;border:0;border-radius:999px;font:inherit;font-size:14px;font-weight:600;background:linear-gradient(135deg,var(--accent),var(--accent-soft));color:#0c1411;box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 8px 22px -12px rgba(var(--accent-rgb),.9);cursor:pointer;transition:transform .15s ease,box-shadow .2s ease}
.cohort-chat .chat-input-form>button .icon{width:17px;height:17px}
.cohort-chat .chat-input-form>button:hover:not(:disabled){transform:translateY(-1px);box-shadow:inset 0 1px 0 rgba(255,255,255,.24),0 12px 28px -12px rgba(var(--accent-rgb),1)}
.cohort-chat .chat-input-form>button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.cohort-chat .chat-input-form>button:disabled{background:#21292d;color:#91a3a8;box-shadow:none;transform:none;cursor:not-allowed}
.cohort-chat .chat-input-wrap>p{text-align:left;font-size:12px}
.chat-entry{position:relative}
.chat-entry:has(.chat-moderation) .chat-entry-meta{padding-right:34px}
.chat-moderation{position:absolute;top:-4px;right:0}
.chat-day{display:flex;align-items:center;gap:10px;margin:14px 0 10px;color:var(--muted);font-size:12px;font-weight:600;white-space:nowrap}
.chat-day::before,.chat-day::after{content:'';flex:1;border-top:1px solid var(--line)}
.shared-sidebar .chat-input-form .chat-send{flex-shrink:0;height:36px;padding:0 14px;border:0;border-radius:999px;font:inherit;font-size:14px;font-weight:600;cursor:pointer}
.chat-send:disabled{opacity:.5;cursor:not-allowed}
.shared-sidebar .chat-entry-meta{flex-direction:row;flex-wrap:wrap;align-items:center;gap:4px 8px}
.chat-role{padding:1px 7px;border:1px solid var(--line);border-radius:999px;font-size:11px;font-weight:600;color:var(--muted);white-space:nowrap}
.chat-more{display:grid;place-items:center;width:28px;height:28px;padding:0;border:0;border-radius:6px;background:transparent;color:#91a3a8;cursor:pointer}
.chat-more:hover,.chat-more[aria-expanded="true"]{background:#21292d;color:#d7dde0}
.chat-more .icon{width:18px;height:18px;stroke-width:3;stroke-linecap:round}
.chat-menu{position:fixed;z-index:61;display:grid;align-content:start;gap:2px;width:min(260px,calc(100vw - 16px));padding:6px;overflow-y:auto;overscroll-behavior:contain;background:#191e21;border:1px solid #354047;border-radius:10px;box-shadow:0 18px 40px #00000059}
.chat-menu-heading{display:grid;gap:2px;padding:6px 10px 8px;margin-bottom:4px;border-bottom:1px solid #354047}
.chat-menu-heading strong{font-size:13px;color:#d7dde0}
.chat-menu-heading small{margin:0;font-size:12px;color:#91a3a8}
.chat-menu-section{margin:6px 0 0;padding:6px 10px 2px;font-size:12px;font-weight:600;color:#91a3a8}
.member-media{position:relative;display:inline-flex}
.chat-menu .menu-item{color:#d7dde0}
.chat-menu .menu-item:hover:not(:disabled){background:#21292d}
.chat-menu .menu-item:disabled{opacity:.5;cursor:default}
@media(min-width:901px){.shared-classroom{height:100dvh;min-height:0;padding-bottom:0;display:flex;flex-direction:column;overflow:hidden}.shared-classroom .meeting-layout{flex:1;min-height:0;width:100%;max-width:none;align-items:stretch;padding:12px 16px 16px;grid-template-columns:minmax(0,1fr) var(--side-width,360px)}.shared-classroom .meeting-main{display:flex;flex-direction:column;min-height:0}.shared-stage{flex:1;min-height:0;display:flex;flex-direction:column}.shared-stage .stage-media-root{flex:1;min-height:0}.shared-stage .stage-room{flex:1;min-height:0;container-type:size}.shared-stage .shared-slide{min-height:0}.shared-classroom .shared-sidebar{height:auto;min-height:0}}
.meeting-lesson{min-width:0;color:#91a3a8;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.surface-switch{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.surface-switch button{display:flex;align-items:center;justify-content:center;gap:6px;height:44px;padding:0 6px;border:1px solid #30403f;border-radius:9px;background:transparent;color:#dee1e2;font:inherit;font-size:12px;white-space:nowrap;cursor:pointer}
.surface-switch button .icon{width:16px;height:16px;flex-shrink:0}
.surface-switch button:hover:not(:disabled){background:#30403f}
.surface-switch button.active{border-color:#34d7a1;background:#274637;color:#9cebc5}
.surface-switch button:disabled{opacity:.6;cursor:default}
.view-matrix{grid-template-columns:repeat(4,minmax(0,1fr))}
.view-matrix button{flex-wrap:wrap;align-content:center;height:auto;min-height:44px;padding:6px;white-space:normal;text-align:center;line-height:1.3}
.view-matrix button small{flex-basis:100%;font-size:11px;color:var(--muted)}
.view-matrix [data-view="camera_slides"]{grid-column:2}
.view-matrix [data-view="camera_code"]{grid-column:3}
.view-matrix [data-view="camera_screen"]{grid-column:4}
.view-line{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-height:44px;font-size:13px;color:var(--muted)}
.view-line-words{display:flex;align-items:center;flex-wrap:wrap;gap:8px;flex:1 1 220px;min-width:0}.view-line-words>span{flex:1 1 220px;min-width:0}
.view-notice{display:flex;align-items:center;flex-wrap:wrap;gap:8px;width:100%;padding:6px 6px 6px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface,#182024);color:var(--paper)}
.view-notice>span{flex:1 1 240px;min-width:0}
.layout-control{position:relative;flex-shrink:0}
.layout-menu{position:absolute;left:50%;bottom:calc(100% + 12px);transform:translateX(-50%);display:grid;gap:10px;width:min(460px,calc(100vw - 24px));padding:12px;background:var(--surface,#182024);border:1px solid var(--line);border-radius:14px;box-shadow:0 8px 32px #0005;z-index:65}
.layout-only{display:flex;flex-wrap:wrap;gap:6px}
.layout-only .pill-button.active{border-color:var(--accent,#34d7a1)}
.split-close{position:absolute;z-index:2;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:0;border-radius:9px;background:#0a0e0fcc;color:#edf3f3;cursor:pointer}
.split-close .icon{width:16px;height:16px}
.split-close:focus-visible{outline:2px solid var(--teal);outline-offset:2px}
.split-close.is-cameras{left:8px;bottom:8px}
.split-close.is-part{right:8px;top:8px}
.stage-main[data-main="split"] .stage-overlay-actions{margin-right:40px}
.room-live{display:flex;gap:6px;margin-left:auto;color:#34d7a1}
.room-live .icon{width:16px;height:16px}

.chat-overlay{position:absolute;right:10px;bottom:10px;z-index:3;display:none;flex-direction:column;justify-content:flex-end;align-items:flex-end;width:min(340px,46%);max-height:calc(100% - 56px);overflow:hidden;pointer-events:none;filter:drop-shadow(0 2px 6px #00000059)}
@media(min-width:901px){.meeting-layout.is-panel-closed .chat-overlay{display:flex}}
.stage-media-root:is(:fullscreen,.is-expanded) .chat-overlay{display:flex}
.chat-overlay-line{display:grid;grid-template-rows:1fr;max-width:100%;transition:opacity 2s linear;animation:chat-overlay-in .3s ease-out}
.chat-overlay-line>div{min-height:0;overflow:hidden}
.chat-overlay-line.is-fading{opacity:0}
.chat-overlay-line.is-pushed-out{opacity:0;transition-duration:.3s}
@keyframes chat-overlay-in{from{grid-template-rows:0fr;opacity:0}}
.chat-overlay-message{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden;margin:5px 0 0;padding:6px 10px;border:1px solid #ffffff1a;border-radius:8px;background:#0a0e0fd9;color:#f1f5f4;font-size:13px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}
.chat-overlay-message strong{color:hsl(var(--speaker-hue,160) 75% 72%);font-weight:650}
@media(max-width:600px){.chat-overlay{width:min(300px,72%);right:8px;bottom:8px;max-height:calc(100% - 48px)}.chat-overlay-message{-webkit-line-clamp:3}}
.meeting-side-tabs{position:relative}
.shared-sidebar .meeting-side-tabs{padding-right:52px}
.shared-sidebar .meeting-side-tabs .meeting-side-close{position:absolute;top:50%;right:6px;display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:10px;background:transparent;color:var(--muted,#91a3a8);cursor:pointer;transform:translateY(-50%)}
.shared-sidebar .meeting-side-tabs .meeting-side-close:hover{background:var(--field);color:var(--paper)}
.meeting-side-close .icon{width:18px;height:18px}
.meeting-panel-controls{display:contents}
.meeting-panel-controls .meeting-icon{position:relative}
.meeting-icon-dot{position:absolute;top:6px;right:6px;width:10px;height:10px;border:2px solid var(--surface,#182024);border-radius:50%;background:var(--accent,#34d7a1)}
.meeting-icon-count{position:absolute;top:-4px;right:-4px;display:grid;place-items:center;min-width:19px;height:19px;padding:0 4px;border:2px solid var(--surface);border-radius:12px;background:#d7bc77;color:#171c1b;font:600 11px/1 var(--body,sans-serif)}
:is(.meeting-icon-dot,.meeting-icon-count)[hidden]{display:none}
@media(min-width:901px){.shared-classroom .meeting-layout.is-panel-closed{grid-template-columns:minmax(0,1fr)}.shared-classroom .meeting-layout.is-panel-closed .meeting-side{display:none}}
@media(max-width:900px){.shared-sidebar .meeting-side-tabs .meeting-side-close,.meeting-panel-controls{display:none}.shared-sidebar .meeting-side-tabs{padding-right:12px}}
.stage-media-root:is(:fullscreen,.is-expanded) .meeting-panel-controls{display:none}
.room-state{display:inline-flex;align-items:center;gap:10px;font-size:12px;color:#91a3a8}
.room-state .room-status{padding:0;background:none;border:0;font-size:12px;color:inherit}
.room-state .room-status:not(.is-open){color:#f3a9a3}
.room-state .room-status>span{width:8px;height:8px;box-shadow:none}
.room-state .room-status.is-open>span{background:#34d7a1}
.room-state .room-status:not(.is-open)>span{background:#d17568}
@media(max-width:700px){.room-state .room-sync{display:none}}
.shared-code .live-code-viewport{background:#0d181d}
.shared-code .live-code-viewport textarea{position:relative;background:transparent;color:transparent;caret-color:#e2efeb}
.shared-code .live-code-viewport textarea::selection{color:transparent;background:#34d7a14d}
.code-colours{position:absolute;top:0;left:0;width:max-content;min-width:100%;margin:0;color:#e2efeb;pointer-events:none}
.live-code-viewport.is-composing textarea{color:#e2efeb}
.live-code-viewport.is-composing .code-colours{visibility:hidden}
.tok-keyword{color:#bb9af7}.tok-type{color:#2ac3de}.tok-function{color:#7aa2f7}.tok-macro,.tok-attribute{color:#e0af68}.tok-string{color:#9ece6a}.tok-number,.tok-constant{color:#ff9e64}.tok-comment{color:#7f939c}.tok-lifetime{color:#f7768e}.tok-key{color:#73daca}.tok-punctuation{color:#a4b6bd}
@media(min-width:901px){
.shared-stage .stage-media-root:not(:fullscreen,.is-expanded):has(>.stage-room[data-sized]){overflow:hidden auto;scrollbar-width:none}
.shared-stage .stage-media-root:not(:fullscreen,.is-expanded):has(>.stage-room[data-sized])::-webkit-scrollbar{display:none}
.shared-stage .stage-media-root:not(:fullscreen,.is-expanded):has(>.stage-room[data-sized])>.stage-strip{flex-shrink:0}
.shared-stage .stage-media-root:not(:fullscreen,.is-expanded)>.stage-room[data-sized]{flex:1 0 auto;height:var(--window-height)}
.shared-stage .stage-media-root:not(:fullscreen,.is-expanded)>.stage-room[data-sized]>.stage-main{--room-height:var(--window-height)}
}
.stage-frame{--frame-line:#34d7a1cc;display:none}
html[data-theme="light"] .stage-frame{--frame-line:#196647cc}
@media(min-width:901px) and (hover:hover) and (pointer:fine){
.stage-main .stage-frame:not([hidden]){display:block}
.stage-frame{position:absolute;inset:0;border-radius:10px;outline:2px solid transparent;outline-offset:3px;pointer-events:none;transition:outline-color .15s}
.stage-frame:is(:hover,:focus-within,.is-resizing){outline-color:var(--frame-line)}
.stage-handle{position:absolute;pointer-events:auto;touch-action:none}
.stage-handle:is([data-handle="top"],[data-handle="bottom"]){left:8px;right:8px;height:16px;cursor:ns-resize}
.stage-handle[data-handle="top"]{top:-12px}
.stage-handle[data-handle="bottom"]{bottom:-12px}
.stage-handle:is([data-handle="left"],[data-handle="right"]){top:8px;bottom:8px;width:16px;cursor:ew-resize}
.stage-handle[data-handle="left"]{left:-12px}
.stage-handle[data-handle="right"]{right:-12px}
.stage-handle[data-handle*="-"]{width:24px;height:24px}
.stage-handle[data-handle^="top-"]{top:-16px}
.stage-handle[data-handle^="bottom-"]{bottom:-16px}
.stage-handle[data-handle$="-left"]{left:-16px}
.stage-handle[data-handle$="-right"]{right:-16px}
.stage-handle:is([data-handle="top-left"],[data-handle="bottom-right"]){cursor:nwse-resize}
.stage-handle:is([data-handle="top-right"],[data-handle="bottom-left"]){cursor:nesw-resize}
.stage-handle[data-handle*="-"]::after{content:'';position:absolute;width:18px;height:18px;border:0 solid var(--frame-line);opacity:0;transition:opacity .15s}
.stage-frame:is(:hover,:focus-within,.is-resizing) .stage-handle::after{opacity:1}
.stage-handle[data-handle^="top-"]::after{top:10px;border-top-width:3px}
.stage-handle[data-handle^="bottom-"]::after{bottom:10px;border-bottom-width:3px}
.stage-handle[data-handle$="-left"]::after{left:10px;border-left-width:3px}
.stage-handle[data-handle$="-right"]::after{right:10px;border-right-width:3px}
.stage-handle[data-handle="top-left"]::after{border-top-left-radius:12px}
.stage-handle[data-handle="top-right"]::after{border-top-right-radius:12px}
.stage-handle[data-handle="bottom-left"]::after{border-bottom-left-radius:12px}
.stage-handle[data-handle="bottom-right"]::after{border-bottom-right-radius:12px}
.stage-media-root:is(:fullscreen,.is-expanded) .stage-frame{display:none}
@media(prefers-reduced-motion:reduce){.stage-frame,.stage-handle::after{transition:none}}
}
@media(min-width:901px){
.shared-classroom .meeting-header{height:36px;padding:0 16px;gap:16px}
.shared-classroom .meeting-context{gap:14px}
.shared-classroom .meeting-context>span{font-size:13px;padding-left:14px}
.shared-classroom .meeting-header .brand{font-size:15px;gap:8px}
.shared-classroom .meeting-header .brand-mark{width:22px;height:22px;min-height:0}
.shared-classroom .meeting-status{gap:14px}
.shared-classroom .meeting-header .theme-switch{width:52px;min-width:52px;height:24px;padding:0 5px}
.shared-classroom .meeting-header .theme-switch>.icon{width:13px;height:13px}
.shared-classroom .meeting-header .theme-switch-thumb{left:2px;top:2px;width:18px;height:18px;transform:translateX(28px)}
html[data-theme="light"] .shared-classroom .meeting-header .theme-switch-thumb{transform:translateX(0)}
}
.recording-transcript{margin-top:12px;border:1px solid var(--line);border-radius:4px}
.recording-transcript>summary{display:flex;align-items:center;min-height:44px;padding:0 12px;cursor:pointer;font-size:13px;color:var(--paper)}
.recording-transcript[open]>summary{border-bottom:1px solid var(--line)}
.recording-transcript>p{margin:10px 12px;font-size:13px}
.transcript-lines{display:grid;grid-template-columns:auto auto 1fr;gap:10px 12px;align-items:baseline;list-style:none;margin:0;padding:12px;max-height:420px;overflow:auto;overscroll-behavior:contain;font-size:13px;line-height:1.55}
.transcript-lines li{display:contents}
.transcript-time{padding:0;border:0;background:none;color:var(--muted);font:inherit;font-size:12px;font-variant-numeric:tabular-nums;cursor:pointer}
.transcript-time:hover,.transcript-time:focus-visible{color:var(--paper);text-decoration:underline}
.transcript-speaker{font-weight:600;color:var(--paper)}
.transcript-text{color:var(--paper);overflow-wrap:anywhere}
@media (max-width:600px){.transcript-lines{grid-template-columns:auto 1fr;row-gap:4px}.transcript-text{grid-column:1/-1;margin-bottom:6px}}
.cohort-chat-top{display:flex;align-items:center;justify-content:space-between;gap:8px 16px;flex-wrap:wrap;padding-bottom:14px}
.cohort-chat-top .feed-hint{margin:0}
.chat-sync{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.chat-sync .icon{width:13px;height:13px;color:var(--accent-soft)}
.chat-sync.is-waiting .icon{color:var(--muted)}
.chat-sync.is-failed,.chat-sync.is-failed .icon{color:#f0a8a8}
@media(prefers-reduced-motion:reduce){.cohort-chat .chat-input-form>button{transition:none}}
.room-roster{display:flex;flex-direction:column}
.room-member .room-avatar{width:28px;height:28px;border-radius:8px;font-size:13px}
.room-member-name{flex:1;min-width:0}
.room-member-name strong{display:block;font-size:13px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.room-member-name small{display:block;color:#91a3a8;font-size:11px;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.room-member-name .member-state{color:#f0c46b;white-space:normal}
.member-tools{display:flex;align-items:center;gap:5px;flex-shrink:0}
.member-tools:empty{display:none}
.member-tool{display:inline-flex;align-items:center;justify-content:center;gap:2px;height:28px;min-width:28px;padding:0 6px;border:1px solid var(--border);border-radius:999px;background:transparent;color:var(--muted);font-size:11px;font-weight:600;cursor:pointer;transition:border-color .15s ease,background .15s ease,color .15s ease}
.member-tool .icon{width:14px;height:14px;transition:transform .15s ease}
.member-tool:hover:not(:disabled){border-color:var(--accent);background:rgba(var(--accent-rgb),.08);color:var(--paper)}
.member-tool:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.member-tool:disabled{opacity:.5;cursor:default}
.member-tool.is-flagged{border-color:rgba(240,180,80,.6);color:#f0c46b}
.member-tool.is-danger:hover:not(:disabled){border-color:#e5484d;background:rgba(229,72,77,.08);color:#ff9a9a}
.member-tool[aria-expanded="true"]{border-color:var(--accent);background:rgba(var(--accent-rgb),.1)}

.stage-surface:has(>.slide-frame){height:100%}
.slide-frame{--slide-width:min(100cqw,calc((100cqh - 34px) * 16 / 9));height:100%;container-type:size;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;overflow:auto}
.slide-frame .shared-slide{container-type:inline-size;box-sizing:border-box;flex:none;width:var(--slide-width);aspect-ratio:16/9;min-height:auto;padding:calc(var(--slide-width) * .055) calc(var(--slide-width) * .065);border:1px solid var(--line);border-radius:var(--radius-md,14px);overflow-wrap:anywhere}
.slide-frame .shared-slide h2{font-size:clamp(20px,5.2cqi,80px);line-height:1.12;margin:0 0 .5em}
.slide-frame .shared-slide-body{max-width:none;white-space:normal;font-size:clamp(13px,2.5cqi,38px);line-height:1.5}
.shared-slide-body>:first-child{margin-top:0}
.shared-slide-body>:last-child{margin-bottom:0}
.shared-slide-body :is(p,ul,ol,pre,blockquote){margin:.55em 0}
.shared-slide-body :is(ul,ol){padding-left:1.3em}
.shared-slide-body li{margin:.22em 0}
.shared-slide-body li::marker{color:var(--accent)}
.shared-slide-body strong{font-weight:600;color:var(--paper)}
.shared-slide-body :is(h5,h6){font-family:var(--heading);font-size:1.15em;font-weight:600;line-height:1.3;margin:.8em 0 .3em}
.shared-slide-body h6{color:var(--muted)}
.shared-slide-body a{color:var(--accent-soft);text-decoration:underline;text-underline-offset:.15em}
.shared-slide-body code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.86em;padding:.06em .32em;border-radius:6px;background:var(--card)}
.shared-slide-body pre{padding:.7em .9em;border:1px solid var(--line);border-radius:10px;background:var(--deep);overflow:auto;font-size:.78em;line-height:1.45}
.shared-slide-body pre code{padding:0;background:none;font-size:inherit}
.shared-slide-body blockquote{padding-left:.8em;border-left:3px solid var(--accent);color:var(--muted)}
.shared-slide-body hr{border:0;border-top:1px solid var(--line)}
.slide-frame>.stage-footer{box-sizing:border-box;flex:none;width:var(--slide-width);background:transparent;border-top:0;padding:2px 4px 0}
@media(max-width:900px){.stage-surface:has(>.slide-frame){height:auto}.slide-frame{--slide-width:100cqw;height:auto;container-type:inline-size;overflow:visible}}
.lesson-slides-pick{display:grid;gap:8px}
.lesson-slides-pick select{width:100%;min-width:0;height:44px;min-height:44px;font-size:12px;text-overflow:ellipsis}
.lesson-slides-pick .btn{justify-self:end;height:44px;white-space:nowrap}
:is(.shared-sidebar,.cohort-chat) .chat-input-form .emoji-control:has(.emoji-picker.is-wide){position:static}
.emoji-picker.is-wide{width:min(340px,100%);max-height:min(360px,60vh);overflow-y:auto;overscroll-behavior:contain;padding:8px 10px 10px}
.emoji-picker.is-wide .emoji-group{display:block;padding:8px 4px 4px;font-size:11px;color:var(--muted)}
.emoji-picker.is-wide .emoji-options{grid-template-columns:repeat(8,minmax(0,1fr));gap:2px}
:is(.shared-sidebar,.cohort-chat) .chat-input-form .emoji-picker.is-wide .emoji-options button,.emoji-picker.is-wide .emoji-options button{height:36px;padding:0;font-size:21px;border-radius:8px}
.stage-main[data-main="group"] .stage-media{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:center;gap:6px;width:min(100cqw,calc(100cqh * 16 / 9));margin:auto}
.stage-main[data-main="group"] .stage-media .stage-tile{width:100%;height:auto;aspect-ratio:16/9;background:#141b1d}
.stage-main[data-main="group"] .stage-media[data-count="3"] .stage-tile:last-child{grid-column:1 / -1;justify-self:center;width:calc(50% - 3px)}
.stage-main[data-main="group"] .stage-media .stage-name{display:block}
.stage-pick{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:18px;height:28px;cursor:pointer}
.stage-pick input{width:16px;height:16px;margin:0;accent-color:var(--accent);cursor:pointer}
.stage-pick input:disabled{opacity:.45;cursor:default}
.stage-picks{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 6px}
.stage-picks .feed-hint{margin:0}
.stage-picks .member-tool[hidden]{display:none}
.stage-refused{margin:0 0 8px;font-size:12px}
.shared-sidebar .side-panel-content,.room-roster,.people-section{background:inherit}
.people-search{position:sticky;top:0;z-index:2;display:flex;align-items:center;gap:8px;height:44px;box-sizing:border-box;padding:0 12px;margin:0 0 4px;border:1px solid var(--line);border-radius:12px;background:inherit;color:var(--muted);cursor:text}
.people-search:focus-within{border-color:var(--teal)}
.people-search .icon{width:16px;height:16px;flex-shrink:0}
.people-search input{flex:1;min-width:0;height:100%;padding:0;border:0;background:transparent;color:var(--paper);font:inherit;font-size:14px;outline:none}
.people-heading{position:sticky;top:48px;z-index:1;display:flex;align-items:center;gap:6px;margin:0;padding:12px 0 6px;background:inherit;font-size:12px;font-weight:600;color:var(--muted)}
.people-heading span{font-weight:400;font-variant-numeric:tabular-nums}
.member-tag{flex-shrink:0;padding:2px 8px;border:1px solid var(--line);border-radius:999px;font-size:11px;font-weight:600;color:var(--muted);white-space:nowrap}
.member-tag.is-hand{border-color:#d7bc7766;color:#d7bc77}
.member-tag.is-presenting{border-color:color-mix(in srgb,var(--teal) 40%,transparent);color:var(--teal)}
.room-member .stage-pick{width:auto;gap:5px;font-size:11px;color:var(--muted);white-space:nowrap}
.chat-menu .menu-item.is-danger{color:#ff9a9a}
.hand-more{margin:6px 0 0;padding:0;border:0;background:none;color:var(--accent-soft,#9be8cb);font:inherit;font-size:12px;cursor:pointer}
.hand-more:hover{text-decoration:underline}
.material-part{display:grid;gap:8px;margin-bottom:18px}
.material-part h3{margin:0;font-size:15px;font-weight:600;color:var(--paper)}
.material-lesson{display:grid;gap:2px;margin:0;font-size:14px}
.material-lesson small{font-size:12px;color:var(--muted)}
.material-slides{display:grid;gap:4px;margin:0;padding:0;list-style:none}
.material-slides button{display:flex;align-items:center;gap:8px;width:100%;min-height:36px;padding:4px 10px;border:1px solid transparent;border-radius:10px;background:transparent;color:var(--paper);font:inherit;font-size:13px;text-align:left;cursor:pointer}
.material-slides button:hover{background:var(--line)}
.material-slides button.is-stage{border-color:color-mix(in srgb,var(--teal) 50%,transparent)}
.material-slides button.is-own{background:color-mix(in srgb,var(--teal) 12%,transparent)}
.material-slide-number{flex-shrink:0;min-width:18px;font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
.material-slide-title{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.material-slides small{flex-shrink:0;font-size:11px;font-weight:600;color:var(--teal)}
.material-part .side-file{padding:10px 0}
.side-file-text{flex:1;min-width:0}
.side-file-text small{margin-top:2px}
.teach-live{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px}
.teach-live .room-switch-state{font-size:14px;letter-spacing:0;text-transform:none}
.teach-pager{display:flex;align-items:center;gap:6px}
.teach-pager>span{display:grid;flex:1;min-width:0}
.teach-pager strong{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.teach-pager small{font-size:12px;color:var(--muted)}
.teach-log{border:1px solid var(--line);border-radius:14px;padding:0 12px}
.teach-log>summary{display:flex;align-items:center;min-height:44px;font-size:13px;font-weight:650;color:var(--paper);cursor:pointer}
.teach-log .room-event-log{max-height:200px;overflow:auto;padding-bottom:10px}
.pill-button.teach-end{align-self:flex-start;border-color:#e5484d;background:transparent;color:#ff9a9a}
.pill-button.teach-end:hover:not(:disabled){background:rgba(229,72,77,.1)}

.class-timer,.timer-group{
  --t-bg:#111517;--t-text:#a9b6bc;--t-border:#354047;--t-dial:#a9b6bc;
  --t-hover:rgba(255,255,255,.07);--t-focus:#34d7a1;--t-alert:#e8bd78;
  --g-text:#edf3f3;--g-bar:#34d7a1;--g-track:#354047;
}
:is(.class-timer,.timer-group)[data-phase="running"]{--t-bg:#152825;--t-text:#edf3f3;--t-border:#206651;--t-dial:#34d7a1;--g-bar:#34d7a1}
:is(.class-timer,.timer-group)[data-phase="ready"]{--g-bar:#50626c}
:is(.class-timer,.timer-group)[data-phase="stopped"]{--t-bg:#111517;--t-text:#c3ced2;--t-border:#50626c;--t-dial:#a9b6bc;--g-bar:#a9b6bc}
:is(.class-timer,.timer-group)[data-phase="warning"]{--t-bg:#2f2d25;--t-text:#f1cd8f;--t-border:#87714c;--t-dial:#e8bd78;--g-text:#f1cd8f;--g-bar:#e8bd78}
:is(.class-timer,.timer-group)[data-phase="urgent"]{--t-bg:#372b2b;--t-text:#f8b4a8;--t-border:#9c665e;--t-dial:#f2988a;--g-text:#f8b4a8;--g-bar:#f2988a}
:is(.class-timer,.timer-group)[data-phase="finished"]{--t-bg:#f2988a;--t-text:#2b0f0b;--t-border:#f2988a;--t-dial:#2b0f0b;--t-hover:rgba(0,0,0,.08);--t-focus:#f8b4a8;--g-text:#f8b4a8;--g-bar:#f2988a}
html[data-theme="light"] :is(.class-timer,.timer-group){
  --t-bg:#f3f2eb;--t-text:#53685d;--t-border:#c3cdbf;--t-dial:#53685d;
  --t-hover:rgba(36,60,50,.07);--t-focus:#196647;--t-alert:#a8711b;
  --g-text:#243c32;--g-bar:#187b56;--g-track:#c3cdbf;
}
html[data-theme="light"] :is(.class-timer,.timer-group)[data-phase="running"]{--t-bg:#d6ede0;--t-text:#183f2f;--t-border:#86c3a5;--t-dial:#187b56;--g-bar:#187b56}
html[data-theme="light"] :is(.class-timer,.timer-group)[data-phase="ready"]{--g-bar:#879e8d}
html[data-theme="light"] :is(.class-timer,.timer-group)[data-phase="stopped"]{--t-bg:#f3f2eb;--t-text:#3e5247;--t-border:#879e8d;--t-dial:#53685d;--g-bar:#879e8d}
html[data-theme="light"] :is(.class-timer,.timer-group)[data-phase="warning"]{--t-bg:#f6dfb0;--t-text:#6b470d;--t-border:#c9974a;--t-dial:#a8711b;--g-text:#6b470d;--g-bar:#a8711b}
html[data-theme="light"] :is(.class-timer,.timer-group)[data-phase="urgent"]{--t-bg:#f8d2c7;--t-text:#7e1d0f;--t-border:#d4806e;--t-dial:#b23a25;--g-text:#7e1d0f;--g-bar:#b23a25}
html[data-theme="light"] :is(.class-timer,.timer-group)[data-phase="finished"]{--t-bg:#a8321f;--t-text:#fff;--t-border:#a8321f;--t-dial:#fff;--t-hover:rgba(255,255,255,.12);--t-focus:#a8321f;--g-text:#7e1d0f;--g-bar:#b23a25}

.class-timer{position:relative;display:inline-flex;align-items:center;flex:none;height:26px;border:1px solid var(--t-border);border-radius:999px;background:var(--t-bg);color:var(--t-text);font:600 14px/1 var(--sans,Inter,system-ui,sans-serif);font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1;white-space:nowrap;transition:background-color .3s ease-out,border-color .3s ease-out,color .3s ease-out}
.class-timer[hidden]{display:none}
.timer-read{display:inline-flex;align-items:center;gap:6px;height:24px;margin:0;padding:0 8px 0 6px;border:0;border-radius:999px 0 0 999px;background:transparent;color:inherit;font:inherit;letter-spacing:-.005em}
button.timer-read{cursor:pointer}
button.timer-read:hover{background:var(--t-hover)}
.timer-icon{width:16px;height:16px;flex:none;overflow:visible}
.timer-icon .t-face,.timer-icon .t-crown,.timer-icon .t-hand{fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.timer-icon .t-pie{fill:none;stroke:var(--t-dial);stroke-width:6.4}
.timer-icon .t-paused{fill:currentColor;stroke:none}
.timer-icon .t-hand,.timer-icon .t-pie,.timer-icon .t-paused{display:none}
:is(.class-timer,.timer-group)[data-phase="ready"] .timer-icon .t-hand,
:is(.class-timer,.timer-group)[data-phase="finished"] .timer-icon .t-hand{display:inline}
:is(.class-timer,.timer-group):is([data-phase="running"],[data-phase="warning"],[data-phase="urgent"]) .timer-icon .t-pie{display:inline}
:is(.class-timer,.timer-group)[data-phase="stopped"] .timer-icon :is(.t-face,.t-crown){display:none}
:is(.class-timer,.timer-group)[data-phase="stopped"] .timer-icon .t-paused{display:inline}
.timer-digits{display:inline-block;text-align:right}
.class-timer[data-format="m:ss"] .timer-digits{min-width:3.5ch}
.class-timer[data-format="mm:ss"] .timer-digits{min-width:4.5ch}
.class-timer[data-format="h:mm:ss"] .timer-digits{min-width:5.9ch}
:is(.class-timer,.timer-group)[data-phase="finished"] .timer-digits{min-width:0;letter-spacing:0}
.timer-sep{width:1px;height:14px;background:currentColor;opacity:.3;flex:none}
.timer-bell{position:relative;display:grid;place-items:center;width:27px;height:24px;margin:0;padding:0 2px 0 0;border:0;border-radius:0 999px 999px 0;background:transparent;color:inherit;cursor:pointer}
.timer-bell:hover{background:var(--t-hover)}
.timer-bell .icon{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.timer-bell[data-sound="off"] .icon{opacity:.8}
.timer-bell[data-sound="blocked"]::after{content:"";position:absolute;top:3px;right:6px;width:7px;height:7px;border-radius:50%;background:var(--t-alert);box-shadow:0 0 0 2px var(--t-bg)}
:is(.class-timer,.timer-group)[data-phase="warning"] .timer-bell[data-sound="blocked"]::after{background:currentColor}
.timer-read:focus-visible,.timer-bell:focus-visible{outline:2px solid var(--t-focus);outline-offset:2px;position:relative;z-index:1}
.meeting-status>.class-timer{margin-right:2px}
.timer-slot{display:inline-flex;align-items:center}
.view-line>.timer-slot{margin-left:auto}
@media(max-width:900px){
  .meeting-status>.class-timer{display:none}
  .timer-slot{flex:none;min-height:36px}
  .class-timer{height:36px;font-size:16px}
  .timer-read{height:34px;gap:7px;padding:0 10px 0 9px}
  .timer-icon{width:18px;height:18px}
  .timer-sep{height:18px}
  .timer-bell{width:40px;height:34px}
  .timer-bell .icon{width:17px;height:17px}
  .timer-bell[data-sound="blocked"]::after{top:6px;right:10px}
  .timer-bell::before,button.timer-read::before{content:"";position:absolute;inset:-5px 0}
  .timer-slot.is-pinned .class-timer{position:fixed;top:var(--pin-top,10px);right:12px;z-index:60;box-shadow:0 6px 20px rgba(0,0,0,.45)}
  html[data-theme="light"] .timer-slot.is-pinned .class-timer{box-shadow:0 6px 20px rgba(0,0,0,.18)}
}
@media(min-width:901px){.timer-slot{display:none}}
.stage-media-root:is(:fullscreen,.is-expanded) .timer-slot{display:inline-flex}
.view-line>.timer-slot[hidden]{display:none}
.timer-group-head h3{scroll-margin-top:16px}
@media(max-width:900px){.timer-group-head h3{scroll-margin-top:72px}}
.timer-status .icon{fill:currentColor;stroke:none}
.timer-sounds>summary>.icon{transform:rotate(90deg)}
.timer-sounds[open]>summary>.icon{transform:rotate(270deg)}
.timer-group{gap:12px}
.timer-group-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
.timer-group-head h3:focus{outline:none}
.timer-group-head h3:focus-visible{outline:2px solid var(--t-focus);outline-offset:3px;border-radius:4px}
.timer-status{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;color:var(--muted);white-space:nowrap}
.timer-status .icon{width:12px;height:12px;fill:currentColor;stroke:none}
.timer-status i{width:7px;height:7px;border-radius:50%;background:currentColor}
.timer-status[data-status="running"]{color:#9be8cb}
.timer-status[data-status="finished"]{color:#f8b4a8}
html[data-theme="light"] .timer-status[data-status="running"]{color:#196647}
html[data-theme="light"] .timer-status[data-status="finished"]{color:#7e1d0f}
.timer-now{display:grid;gap:9px}
.timer-now-row{display:flex;align-items:baseline;gap:9px;min-width:0}
.timer-now-digits{font-size:30px;font-weight:650;line-height:1;letter-spacing:-.015em;color:var(--g-text);font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1;transition:color .3s ease-out}
.timer-now-of{min-width:0;font-size:12.5px;color:var(--muted)}
.timer-bar{height:4px;border-radius:2px;background:var(--g-track);overflow:hidden}
.timer-bar>span{display:block;height:100%;width:var(--left,100%);border-radius:2px;background:var(--g-bar);transition:width .3s linear,background-color .3s ease-out}
.timer-run{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.timer-run .pill-button{min-height:44px;padding:0 10px;gap:7px;font-size:13.5px}
.timer-run .pill-button .icon{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}
.timer-run .pill-button:disabled{opacity:.42;cursor:not-allowed}
html[data-theme="light"] :is(.timer-run,.timer-custom) .pill-button:focus-visible{outline-color:#196647}
.timer-part{display:grid;gap:8px;padding-top:12px;border-top:1px solid var(--line);min-width:0}
.timer-label{margin:0;font-size:12px;font-weight:650;color:var(--paper)}
.timer-presets{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
.timer-preset{min-height:32px;padding:0 4px;border:1px solid #30403f;border-radius:999px;background:transparent;color:#dee1e2;font-size:12.5px;font-weight:600;font-variant-numeric:tabular-nums;cursor:pointer}
.timer-preset:hover:not(:disabled){background:#30403f}
.timer-preset[aria-pressed="true"]{border-color:#34d7a1;background:#274637;color:#9cebc5}
html[data-theme="light"] .timer-preset{border-color:#b9c6ba;color:#243c32}
html[data-theme="light"] .timer-preset:hover:not(:disabled){background:#e7ebe2}
html[data-theme="light"] .timer-preset[aria-pressed="true"]{border-color:#2c8a63;background:#dcefe4;color:#197b4c}
.timer-custom{display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.timer-custom>.timer-other{margin-right:2px;font-size:12.5px;color:var(--muted)}
.timer-num{width:50px;height:44px;padding:0 8px;border:1px solid var(--field-border);border-radius:8px;background:var(--field);color:var(--paper);font-size:14px;font-weight:600;text-align:right;font-variant-numeric:tabular-nums;-moz-appearance:textfield}
.timer-num::-webkit-inner-spin-button,.timer-num::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.timer-num[aria-invalid="true"]{border-color:#f2988a}
html[data-theme="light"] .timer-num[aria-invalid="true"]{border-color:#b23a25}
.timer-unit{font-size:12.5px;color:var(--muted);margin-right:4px}
.timer-custom .pill-button{margin-left:auto;min-height:44px;padding:0 16px;font-size:13px}
:is(.timer-num,.timer-select,.timer-preset,.timer-play,.timer-sounds>summary):focus-visible{outline:2px solid var(--t-focus);outline-offset:2px}
:is(.timer-num,.timer-select,.timer-preset,.timer-play):disabled{opacity:.45;cursor:not-allowed}
.timer-note{margin:0;font-size:12px;line-height:1.45;color:var(--muted)}
.timer-note[hidden],.timer-error[hidden]{display:none}
.timer-error{margin:0;font-size:12px;line-height:1.45;font-weight:550;color:#f8b4a8}
html[data-theme="light"] .timer-error{color:#7e1d0f}
.timer-sounds{border-top:1px solid var(--line);min-width:0}
.timer-sounds>summary{display:flex;align-items:center;gap:8px;min-height:44px;margin-bottom:-4px;list-style:none;cursor:pointer;font-size:12px;font-weight:650;border-radius:6px}
.timer-sounds>summary::-webkit-details-marker{display:none}
.timer-sounds-sum{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:right;font-weight:500;color:var(--muted)}
.timer-sounds-sum.is-invalid{color:#f8b4a8;font-weight:600}
html[data-theme="light"] .timer-sounds-sum.is-invalid{color:#7e1d0f}
.timer-sounds>summary>.icon{width:14px;height:14px;flex:none;fill:none;stroke:var(--muted);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .15s ease-out}
.timer-sounds-body{display:grid;gap:14px;padding:8px 0 2px}
.timer-sounds fieldset{display:grid;gap:8px;min-width:0;margin:0;padding:0;border:0}
.timer-sounds legend{margin:0 0 8px;padding:0;font-size:12px;font-weight:650;color:var(--paper)}
.timer-field{display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0}
.timer-field>label{font-size:12.5px;color:var(--muted)}
.timer-field.no-play{grid-template-columns:46px minmax(0,1fr)}
.timer-select-wrap{position:relative;min-width:0}
.timer-select{width:100%;height:44px;padding:0 30px 0 10px;border:1px solid var(--field-border);border-radius:8px;background:var(--field);color:var(--paper);font-size:13px;font-weight:500;appearance:none;-webkit-appearance:none;cursor:pointer;text-overflow:ellipsis}
.timer-select[aria-invalid="true"]{border-color:#f2988a}
html[data-theme="light"] .timer-select[aria-invalid="true"]{border-color:#b23a25}
.timer-select-wrap>.icon{position:absolute;right:9px;top:50%;width:14px;height:14px;margin-top:-7px;pointer-events:none;fill:none;stroke:var(--muted);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transform:rotate(90deg)}
.timer-play{display:inline-flex;align-items:center;gap:6px;height:44px;padding:0 12px 0 10px;border:1px solid var(--border);border-radius:999px;background:transparent;color:var(--paper);font-size:12.5px;font-weight:600;white-space:nowrap;cursor:pointer}
.timer-play .icon{width:11px;height:11px;fill:currentColor;stroke:none}
.timer-play:hover:not(:disabled){border-color:var(--accent);background:rgba(var(--accent-rgb),.08)}
.timer-play[data-playing="true"]{border-color:var(--accent);color:#9cebc5}
html[data-theme="light"] .timer-play[data-playing="true"]{color:#197b4c;border-color:#2c8a63}
@media(max-width:900px){
  .timer-run .pill-button{font-size:14px}
  .timer-preset{min-height:44px;padding:0 4px;font-size:13.5px}
  .timer-num{width:58px;font-size:16px}
  .timer-select{font-size:15px}
  .timer-sounds>summary{min-height:48px;font-size:13px}
  .timer-field{grid-template-columns:50px minmax(0,1fr) auto}
}
@media(prefers-reduced-motion:reduce){.class-timer,.timer-now-digits,.timer-bar>span,.timer-sounds>summary>.icon{transition:none}}
