:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#233833;background:#f6f8f6;font-synthesis:none;font-size:14px;--green:#146e55;--line:#e1e7e2;--muted:#7e8a83}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.45;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #8ac4ae;outline-offset:3px}svg{width:20px;height:20px;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round}button{border:0}button svg{flex-shrink:0}input,select{min-width:0}button,a{transition:background .18s,color .18s}button:hover{filter:brightness(.96)}[hidden]{display:none!important}.rail{position:fixed;width:76px;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--line);display:flex;align-items:center;flex-direction:column;z-index:5}.brand{font-size:43px;line-height:1;text-decoration:none;font-weight:800;letter-spacing:-5px;color:#183e32;margin-top:24px}.brand span{color:#7bac65;font-size:27px}.rail-center{display:flex;flex-direction:column;gap:15px;margin-top:64px}.rail-button{background:none;color:#82918a;width:43px;height:44px;display:grid;place-items:center;border-radius:12px}.rail-button.selected{color:var(--green);background:#e9f2ec}.avatar{display:grid;place-items:center;border-radius:50%;width:35px;height:35px;background:#e8ece1;color:#50664a;font-size:11px;font-weight:700}.rail>.avatar{margin-top:auto;margin-bottom:25px}.small{width:30px;height:30px;font-size:9px;background:#eff0e8}.shell{margin-left:76px}header{height:79px;border-bottom:1px solid var(--line);padding:0 38px;display:flex;align-items:center;justify-content:space-between;background:#fff}.wordmark{letter-spacing:2px;font-size:15px;font-weight:750}.wordmark>span{margin:0 18px;color:#c4cdc5;font-weight:400}.wordmark small{font-weight:450;letter-spacing:0;color:#6c7d73;font-size:13px}.top-right{display:flex;gap:22px;align-items:center}.local-label{font-size:11px;color:#7c8b80}.local-label i,.tiny-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#77a589;margin-right:7px}main{max-width:1560px;margin:auto;padding:37px 38px 18px}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:31px;gap:20px}.eyebrow{font-size:9px;font-weight:750;letter-spacing:2px;color:#7f8f83;margin-bottom:11px}h1{font-size:clamp(23px,2.15vw,34px);font-weight:600;letter-spacing:-1.15px;margin:0}h1 span{color:#5c9a78}p{line-height:1.6}.page-heading p{font-size:13px;color:#87938a;margin:10px 0 0}.button{border-radius:8px;display:inline-flex;justify-content:center;align-items:center;gap:10px;padding:12px 17px;font-size:12px;font-weight:600;white-space:nowrap}.button.primary{background:var(--green);color:white}.button.secondary{border:1px solid #dce4dd;background:#fff;color:#3a5346}.button.soft{background:#30423b;color:#cdded4;border:1px solid #40534a}.button svg{width:17px;height:17px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:23px;align-items:stretch}.studio{min-width:0}.studio-heading{display:flex;align-items:center;justify-content:space-between;height:28px;margin-bottom:17px}.studio-heading>div{display:flex;align-items:center;gap:14px}.badge{display:inline-flex;align-items:center;gap:6px;font-size:9px;font-weight:700;letter-spacing:1px;background:#edf0e9;padding:7px 9px;border-radius:5px;color:#647362}.badge i{width:5px;height:5px;border-radius:50%;background:#9aa58c}.badge.live{color:#146b4c;background:#e2efe5}.badge.live i{background:#1f9b64}.elapsed{font-size:11px;font-variant-numeric:tabular-nums;color:#8e998f}.private-label{color:#869389;font-size:11px}.title-row{display:flex;gap:10px;align-items:center;margin-bottom:17px}.title-row input{color:#334a3b;border:0;background:transparent;font-size:16px;font-weight:600;padding:4px 0;flex:1;width:100%;outline-offset:4px}.tag{font-size:9px;color:#8b927f;border:1px solid #dde3d6;border-radius:4px;padding:4px 7px;white-space:nowrap}.camera-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.camera{position:relative;background:#1c2824;border:1px solid #2d3c33;border-radius:10px;overflow:hidden;aspect-ratio:1.85;color:#c5d2c8}.camera-main{grid-column:1/-1;aspect-ratio:2.4;background:radial-gradient(ellipse at 50% 60%,#293b32 0,#19251f 80%)}.camera:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(0deg,#0004,transparent 27%,transparent 80%,#0002)}.camera video{height:100%;width:100%;object-fit:contain;position:absolute}.camera-top,.camera-bottom{position:absolute;left:15px;right:15px;display:flex;justify-content:space-between;align-items:center;z-index:1}.camera-top{top:14px;font-size:9px}.camera-top>span:first-child{display:flex;align-items:center;gap:9px;background:#ffffff08;padding:5px 7px;border-radius:4px;color:#90a193}.camera-top b{font-weight:500;color:#c1cdc4;border-left:1px solid #61716566;padding-left:8px}.camera-dot{width:5px;height:5px;background:#6e7e70;border-radius:50%}.camera.connected .camera-dot{background:#70ce9b}.camera-bottom{bottom:13px;font-size:8px;color:#708274}.camera-caption{letter-spacing:1px}.resolution{font-size:9px}.camera-empty{height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;position:relative;z-index:2}.camera-icon{height:38px;width:38px;background:#ffffff06;border:1px solid #ffffff08;border-radius:12px;display:grid;place-items:center;color:#8b9e90}.camera-main .camera-icon{height:49px;width:49px;border-radius:15px;margin-bottom:4px}.camera-empty h3{font-size:12px;font-weight:500;margin:11px 0 4px;color:#aebfb2}.camera-main h3{font-size:16px}.camera-empty p{font-size:11px;color:#7d9183;margin:3px 0 17px}.camera-main .button{font-size:10px;padding:10px 15px;gap:27px}.text-button{background:none;color:#90b79e;font-size:10px;margin-top:5px;padding:8px}.connected .camera-empty{display:none}.stage-footer{display:flex;align-items:center;justify-content:space-between;padding:13px 0;color:#859187;font-size:10px}.tiny-dot{background:#9caf9b;width:5px;height:5px}.view-switch{display:flex;background:#e9eee8;border-radius:5px;padding:3px;gap:3px}.view-switch button{border-radius:3px;background:transparent;color:#8a988d;display:grid;place-items:center;padding:3px 8px}.view-switch button.active{color:#536955;background:white;box-shadow:0 1px 4px #0001}.view-switch svg{width:14px;height:14px}.control-bar{display:flex;align-items:center;justify-content:space-between;padding:13px 17px;background:#fff;border:1px solid var(--line);border-radius:10px;gap:10px}.control-group{display:flex;gap:22px}.control{display:flex;align-items:center;flex-direction:column;gap:7px;background:none;min-width:45px;color:#647366;padding:3px}.control small{font-size:9px}.control svg{width:18px;height:18px}.control[aria-pressed=true]{color:var(--green)}.record-dot{width:14px;height:14px;border:1px solid #a17872;border-radius:50%;position:relative;margin:2px}.record-dot:after{content:"";position:absolute;inset:3px;border-radius:50%;background:#b67972}.recording .record-dot:after{background:#ee5144;animation:pulse 1s infinite}.recording small{color:#c34a40}.studio-note{display:flex;justify-content:center;align-items:center;gap:7px;color:#9ba397;font-size:9px;margin-top:14px;line-height:1.5}.studio-note svg{width:12px;height:12px;flex-shrink:0}.side-panel{display:flex;flex-direction:column;background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden}.panel-tabs{height:58px;display:flex;border-bottom:1px solid var(--line);padding:0 17px;gap:20px}.panel-tabs button{font-size:11px;color:#91a093;background:none;padding:0 1px;white-space:nowrap}.panel-tabs button.active{color:#375c43;border-bottom:2px solid #497d57;font-weight:600}.panel-tabs span{background:#edf1e9;border-radius:4px;padding:2px 5px;font-size:9px;margin-left:3px}.chat-pane{display:flex;flex-direction:column;flex:1;min-height:420px}.class-note{display:flex;gap:10px;margin:18px 16px;background:#f4f7f0;border:1px solid #eaf0e4;border-radius:7px;padding:13px 11px}.note-icon{color:#8aa47b;margin-top:2px}.note-icon svg{width:16px;height:16px}.class-note strong{font-size:10px;font-weight:600;color:#6a8060}.class-note p{font-size:10px;color:#96a38c;margin:5px 0 0;line-height:1.65}.messages{flex:1;overflow:auto;max-height:390px;padding:0 17px;min-height:180px}.empty-chat{display:flex;align-items:center;flex-direction:column;text-align:center;margin-top:65px}.empty-chat svg{width:26px;height:26px;color:#b8c5b6}.empty-chat h3{font-size:11px;color:#95a08f;font-weight:500;margin:16px 0 3px}.empty-chat p{font-size:10px;max-width:180px;color:#b1b9ad}.chat-pane form{padding:18px 16px}.chat-input{display:flex;background:#f8faf6;border:1px solid #e4e9e0;padding:5px 6px 5px 10px;border-radius:7px}.chat-input input{border:0;background:none;outline:none;flex:1;font-size:11px;width:100%;color:#425344}.chat-input input::placeholder{color:#adb7a5}.chat-input button{background:#e9efe3;color:#83a071;border-radius:5px;display:grid;place-items:center;padding:5px}.chat-input svg{width:15px;height:15px}.chat-pane form>small{display:block;font-size:8px;color:#a8b0a1;text-align:center;margin-top:10px}.recording-card{border-top:1px solid var(--line);background:#fcfdf9;padding:21px 16px;display:flex;gap:12px;align-items:center}.recording-symbol{padding:9px;color:#9bac80;background:#f0f3e7;border-radius:9px}.recording-symbol svg{width:18px;height:18px}.recording-card h3{font-size:10px;margin:0;font-weight:600;color:#73805e}.recording-card p{font-size:9px;margin:5px 0 0;color:#a0aa92}.recording-card>span{color:#a4b193}.bottom-info{display:flex;justify-content:space-between;color:#a3ad9e;margin:26px 0 0;font-size:8px;letter-spacing:1px}.bottom-info span:last-child{letter-spacing:0}.people-pane{padding:20px;flex:1;color:#84927e;font-size:12px}.people-pane ul{padding:0;list-style:none}.people-pane li{padding:12px 0;border-bottom:1px solid var(--line)}.people-pane small{font-size:10px}.message{padding:11px 0;border-bottom:1px solid #f1f3ed}.message strong{font-size:11px;color:#5a7951}.message time{font-size:9px;color:#a3ad99;margin-left:7px}.message p{font-size:12px;color:#64715d;white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0}.viewer-stage{border-radius:10px;background:#17281f;overflow:hidden;position:relative;aspect-ratio:16/9}.viewer-stage>video{width:100%;height:100%}.viewer-stage>p{position:absolute;top:40%;left:10%;width:80%;text-align:center;color:#b8c5b4}.participant-media{display:flex;gap:8px;overflow:auto;margin-top:12px}.participant-tile{position:relative;flex:0 0 155px;height:110px;border-radius:8px;background:#22382b;overflow:hidden}.participant-tile video{width:100%;height:100%;object-fit:cover}.participant-tile span{position:absolute;bottom:6px;left:7px;color:#fff;background:#0008;font-size:10px;padding:3px 5px;border-radius:3px}.camera-grid.equal{grid-template-columns:1fr 1fr 1fr}.camera-grid.equal .camera{grid-column:auto;aspect-ratio:.8}.camera-grid.equal .camera-empty h3{font-size:11px;text-align:center}.camera-grid.equal .camera-empty p{display:none}.recordings-section{padding:24px;border:1px solid var(--line);background:white;margin-top:24px;border-radius:10px}.recordings-section h2{font-size:18px}.recordings-section p{color:#839179;font-size:12px}.recording-download{display:flex;justify-content:space-between;align-items:center;padding:14px 0;gap:16px}.recording-download a{color:var(--green)}dialog{border:1px solid var(--line);border-radius:16px;padding:30px;width:min(530px,90vw);color:#294633;box-shadow:0 25px 100px #12261933}dialog::backdrop{background:#10201888;backdrop-filter:blur(4px)}dialog h2{font-size:23px;font-weight:600;letter-spacing:-.5px;margin:0 0 10px}dialog p,dialog li{font-size:12px;color:#809078;line-height:1.8}dialog li{margin-bottom:12px}.dialog-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.icon-button{font-size:24px;color:#8ca180;background:none;line-height:1;padding:0 5px}.device-row{padding:12px 0;border-top:1px solid var(--line)}.device-row label,dialog label{display:block;font-size:12px;margin-bottom:9px;font-weight:600}.device-row>div,.copy-row{display:flex;gap:8px}dialog select,dialog input{padding:11px;border:1px solid #d9e3d4;border-radius:7px;flex:1;width:100%;background:#fbfcf9;color:#5a7050;font-size:12px}.device-row .button{padding:10px;font-size:11px}.notice{background:#f3f5eb;padding:13px;border-radius:6px}.muted{font-size:11px!important}#joinForm .button{margin-top:20px;width:100%}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);max-width:min(600px,90vw);background:#203e2b;color:#f7fcf2;box-shadow:0 5px 25px #0002;padding:14px 22px;border-radius:10px;font-size:12px;line-height:1.6;z-index:100}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@keyframes pulse{50%{opacity:.3}}@media(min-width:1500px){.camera-main{aspect-ratio:2.65}.camera:not(.camera-main){aspect-ratio:2.1}}@media(max-width:1100px){main{padding:28px 22px}.workspace{grid-template-columns:minmax(0,1fr) 265px;gap:17px}.camera-main{aspect-ratio:1.9}.camera:not(.camera-main){aspect-ratio:1.4}.tag{display:none}.control-group{gap:8px}.control-bar{padding:12px}.camera-empty h3{font-size:11px}.page-heading .button{padding:10px}.page-heading h1{font-size:25px}}@media(max-width:850px){.rail{width:58px}.shell{margin-left:58px}header{padding:0 23px;height:66px}.workspace{grid-template-columns:1fr}.camera-main{aspect-ratio:2}.camera:not(.camera-main){aspect-ratio:1.9}.side-panel{min-height:380px}.chat-pane{min-height:300px}.messages{max-height:280px}.empty-chat{margin-top:25px}.page-heading{align-items:flex-start}.page-heading .button{font-size:10px}.bottom-info{gap:20px;line-height:1.8}.recording-card{padding:14px}.local-label{display:none}}@media(max-width:540px){.rail{display:none}.shell{margin-left:0}header{padding:0 18px;height:60px}.wordmark{font-size:13px}.wordmark>span{margin:0 9px}.wordmark small{font-size:11px}main{padding:25px 14px}.page-heading{display:block;margin-bottom:22px}.page-heading h1{font-size:25px;line-height:1.2;max-width:320px}.page-heading .button{margin-top:18px}.page-heading p{font-size:12px}.camera-main{aspect-ratio:1.55}.camera:not(.camera-main){aspect-ratio:1.1}.camera-top{left:8px;right:8px;font-size:8px}.camera-top>span:first-child{gap:5px;padding:4px}.camera-top b{padding-left:5px}.camera-bottom{left:10px;right:10px}.camera-caption{font-size:7px}.camera-empty h3{font-size:10px}.camera-main h3{font-size:15px}.camera-empty .camera-icon{width:29px;height:29px}.camera-main .camera-icon{width:43px;height:43px}.text-button{font-size:9px}.control-group{gap:5px}.control-bar .primary{font-size:11px;padding:12px}.studio-note{font-size:8px}.camera-grid.equal{grid-template-columns:1fr}.camera-grid.equal .camera{aspect-ratio:1.8}.device-row>div{flex-wrap:wrap}.device-row select{flex-basis:100%}dialog{padding:22px}.title-row input{font-size:15px}.participant-tile{flex-basis:130px;height:90px}#studentControls{flex-wrap:wrap}#studentControls .button{font-size:10px;padding:10px}}

.recording-download{flex-wrap:wrap}.recording-download video{width:100%;max-height:420px;background:#17281f;border-radius:8px}
/* Main teaching area: slide and instructor swap within one frame. */
.main-stage{grid-column:1/-1;position:relative;aspect-ratio:16/9;min-width:0;background:#1c2824;border:1px solid #2d3c33;border-radius:10px;overflow:hidden}
.presentation-panel{position:absolute;inset:0;background:#1c2824;overflow:hidden;border-radius:8px}
.presentation-panel>video{width:100%;height:100%;object-fit:contain;position:absolute;inset:0}
.presentation-empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#aebfb2;text-align:center;padding:18px}
.presentation-empty>span{color:#91b49b}.presentation-empty>span svg{width:35px;height:35px}.presentation-empty h3{font-size:19px;font-weight:500;margin:16px 0 5px}.presentation-empty p{font-size:12px;color:#93a398;margin:3px 0 17px}
.presentation-label{position:absolute;top:12px;left:14px;background:#10251be6;color:#d6e6d9;border-radius:4px;padding:5px 8px;font-size:9px;letter-spacing:1px;z-index:2}
.main-stage>.camera-main{position:absolute;inset:auto 1.25% 2.22% auto;width:27%;height:27%;aspect-ratio:auto;z-index:3;border:2px solid #a6c9b1;border-radius:8px;box-shadow:0 4px 20px #0004}
.main-stage>.camera-main .camera-icon,.main-stage>.camera-main .camera-empty h3,.main-stage>.camera-main .camera-empty p,.main-stage>.camera-main .camera-bottom,.main-stage>.camera-main .camera-top{display:none}
.main-stage>.camera-main .camera-empty .button{font-size:10px;padding:8px;gap:4px;white-space:normal}
.swap-surface{position:absolute;inset:0;background:none;z-index:4;padding:0;color:#fff;display:block;cursor:pointer}
.swap-surface>span{position:absolute;bottom:5px;left:5px;right:5px;padding:5px 3px;background:#10251bda;border-radius:4px;font-size:9px;opacity:0;transition:opacity .15s}
.swap-surface:hover>span,.swap-surface:focus-visible>span{opacity:1}
.presentation-panel>.swap-surface{display:none}
.presentation-empty .button,.main-stage .activate{position:relative;z-index:5}
.main-stage.teacher-main>.camera-main{inset:0;width:100%;height:100%;z-index:0;border:0;border-radius:0;box-shadow:none}
.main-stage.teacher-main>.camera-main .camera-top,.main-stage.teacher-main>.camera-main .camera-bottom{display:flex}
.main-stage.teacher-main>.camera-main .camera-icon{display:grid}.main-stage.teacher-main>.camera-main .camera-empty h3,.main-stage.teacher-main>.camera-main .camera-empty p{display:block}
.main-stage.teacher-main>.camera-main>.swap-surface>span{inset:auto 15px 15px auto;width:auto;padding:8px}
.main-stage.teacher-main>.presentation-panel{inset:auto 1.25% 2.22% auto;width:27%;height:27%;z-index:3;border:2px solid #a6c9b1;box-shadow:0 4px 20px #0004}
.main-stage.teacher-main>.presentation-panel>.swap-surface{display:block}
.main-stage.teacher-main .presentation-label{font-size:7px;top:4px;left:4px;padding:3px}
.main-stage.teacher-main .presentation-empty>span,.main-stage.teacher-main .presentation-empty h3,.main-stage.teacher-main .presentation-empty p{display:none}
.main-stage.teacher-main .presentation-empty .button{padding:7px;font-size:9px;white-space:normal}
.swap-button{font-size:10px;color:#56745e;background:#e9efe6;border-radius:6px;padding:7px 9px}
.camera-grid>.camera:not(.camera-main){aspect-ratio:16/9}
.viewer-stage{aspect-ratio:1280/1088}
#helpDialog>.button{margin:5px 3px 10px 0}
.control[aria-pressed=true] small{color:#17664d}
@media(max-width:540px){.main-stage{aspect-ratio:16/9}.presentation-empty{padding:15px 15px 25px}.presentation-empty h3{font-size:15px;margin:10px 0 3px}.presentation-empty p{font-size:10px;margin:2px 0 10px;max-width:220px}.presentation-empty>span svg{width:24px;height:24px}.presentation-empty .button{font-size:10px;padding:8px}.presentation-label{font-size:7px;padding:3px;top:6px;left:7px}.main-stage>.camera-main .camera-empty .button{font-size:8px;padding:4px}.swap-button{font-size:9px;max-width:160px;white-space:normal}.control-group{gap:3px}.control{min-width:39px}.control small{font-size:8px}.control-bar{padding:10px 8px;gap:4px}.control-bar>.primary{font-size:10px;padding:11px 8px}.main-stage.teacher-main .presentation-empty{padding:3px}.main-stage.teacher-main .presentation-empty .button{font-size:8px;padding:3px}.main-stage.teacher-main .presentation-label{display:none}.swap-surface>span{font-size:7px;left:2px;right:2px;bottom:2px}.camera-grid>.camera:not(.camera-main){aspect-ratio:1.3}}
