@charset "UTF-8";
:root{--ink:#19372f;--muted:#708078;--green:#0c8c72;--green-dark:#06745e;--line:#dce7e0;--bg:#f6f8f3;--paper:#fff;--soft:#eef6ee;--red:#b64745;--shadow:0 8px 32px #183c2610;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;line-height:1.55;font-size:15px}a{color:var(--green);text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible,canvas:focus-visible{outline:3px solid #66b6ff;outline-offset:3px}h1,h2,h3,p{margin:0}h1{font-size:clamp(30px,3.4vw,46px);line-height:1.12;letter-spacing:-1.3px;font-weight:750}h2{font-size:21px;line-height:1.3;letter-spacing:-.4px;margin-bottom:16px}h3{font-size:17px;margin-bottom:8px}p+p{margin-top:12px}small{font-size:12px}.small{font-size:13px}.muted{color:var(--muted)}.danger{color:var(--red)!important}.multiline{white-space:pre-wrap;overflow-wrap:anywhere}.spaced{margin-top:28px}.stack{display:flex;flex-direction:column;gap:16px}.inline{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.align-start{align-self:flex-start}.full{width:100%}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}
.school-header{height:80px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 34px;gap:24px}.brand{display:flex;align-items:center;gap:12px;flex-shrink:0;color:var(--ink)}.brand:hover{text-decoration:none}.brand b{display:block;font-size:19px;letter-spacing:-.4px}.brand small{display:block;font-size:11px;color:var(--muted)}.brand-mark{display:grid;place-items:center;width:43px;height:43px;background:var(--green);color:white;font:bold italic 30px Georgia,serif;border-radius:13px;transform:rotate(-5deg)}.school-header nav{display:flex;gap:28px;align-items:center;flex:1;justify-content:center}.school-header nav a{color:#66766e;font-size:14px;font-weight:600;padding:27px 0 25px;white-space:nowrap;border-bottom:3px solid transparent}.school-header nav a[aria-current]{color:var(--green);border-color:var(--green)}.header-user{display:flex;align-items:center;gap:15px;font-size:13px}.header-user>span{max-width:160px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.header-user form{margin:0}.school-shell{max-width:1320px;margin:0 auto;padding:42px 32px 70px;min-height:calc(100dvh - 164px)}.school-footer{max-width:1320px;margin:auto;padding:22px 32px;border-top:1px solid var(--line);display:flex;gap:22px;flex-wrap:wrap;color:var(--muted);font-size:12px}.school-footer span{margin-right:auto}.page-title{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:30px}.page-title h1{margin:8px 0 12px}.eyebrow{font-size:11px;letter-spacing:1.4px;text-transform:uppercase;font-weight:750;color:var(--green)}.back{display:inline-block;font-size:13px;margin-bottom:24px}.card{background:var(--paper);border:1px solid var(--line);border-radius:19px;padding:28px;min-width:0}.card>p{margin-bottom:16px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.section-heading h2{margin:0}.notice{padding:17px 20px;border:1px solid #c6e6d6;border-radius:12px;background:#eaf6ee;margin-bottom:24px;color:#30624c;font-size:14px;line-height:1.6}.notice.compact{font-size:13px}.notice.error{border-color:#f0cbc7;background:#fff3f1;color:#a13b37}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--green);color:white;border:1px solid transparent;border-radius:11px;padding:12px 18px;font-size:14px;font-weight:650;line-height:1.4;text-align:center;text-decoration:none}.button:hover{background:var(--green-dark);text-decoration:none}.button.secondary{background:#fff;border-color:var(--line);color:var(--ink)}.button.secondary:hover{background:var(--soft);border-color:#a9d3be}.button.small{padding:8px 12px;font-size:12px}.quiet{padding:8px 10px;border:0;border-radius:8px;color:var(--green);background:transparent;font-size:13px;font-weight:600;text-align:center;white-space:nowrap}.quiet:hover{background:#eaf3ed;text-decoration:none}.icon-button{display:inline-grid;place-items:center;min-width:34px;height:34px;border:1px solid var(--line);border-radius:9px;background:white;font-size:19px;color:var(--ink);padding:2px 8px;text-decoration:none}.icon-button:hover{background:#e9f3ec;text-decoration:none}.pill{font-size:11px;font-weight:650;color:var(--green);background:#edf6f0;border-radius:6px;display:inline-block;padding:5px 9px;white-space:nowrap}.pill.neutral{color:#778279;background:#f1f3ee}.pill.green{color:#177151;background:#e6f5e8}.empty{padding:25px 0;text-align:center;color:var(--muted);font-size:14px}.two-columns{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.8fr);gap:24px;align-items:start}.two-columns>aside{min-width:0}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.stat{display:flex;flex-direction:column;gap:6px}.stat b{font-size:34px;line-height:1.2;letter-spacing:-1px}.stat span{font-size:13px;color:var(--muted)}
label{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:600;color:#3c594d}input:not([type=checkbox]):not([type=color]):not([type=file]),select,textarea{width:100%;min-height:44px;padding:11px 13px;border:1px solid #d2dfd7;border-radius:9px;background:#fcfdfb;color:var(--ink);font-size:15px;font-weight:400}textarea{resize:vertical;line-height:1.6}input::placeholder,textarea::placeholder{color:#95a398}input[type=checkbox]{width:18px;height:18px;accent-color:var(--green);flex-shrink:0;margin:2px 0}input[type=file]{font-size:12px;width:100%;font-weight:400;padding:10px 0}.check{flex-direction:row;align-items:flex-start;gap:10px;font-weight:400}.check span{font-size:13px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}details{margin-top:20px}summary{color:var(--green);cursor:pointer;font-size:13px;font-weight:650;margin-bottom:16px}.auth{max-width:470px;margin:40px auto}.auth h1{font-size:34px;margin:12px 0 18px}.auth .stack{margin:25px 0}.auth>p{margin-top:16px}.narrow{max-width:720px;margin:auto}.narrow h1{margin:12px 0 20px}.narrow>p{margin:20px 0}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);max-width:min(620px,90vw);background:#193b30;color:white;box-shadow:0 10px 50px #10281f38;border-radius:12px;padding:14px 22px;z-index:200;font-size:14px}
.calendar{padding:22px 24px}.week-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-top:1px solid var(--line);margin:0 -24px -22px}.day-column{padding:15px 10px 24px;border-right:1px solid #edf0e9;min-height:200px}.day-column:last-child{border-right:0}.day-column.today{background:#f4f9f0}.day-label{text-align:center;margin-bottom:20px;display:flex;flex-direction:column;align-items:center;gap:7px}.day-label span{font-size:11px;color:var(--muted)}.day-label b{font-size:20px;border-radius:50%;width:35px;height:35px;display:grid;place-items:center}.today .day-label b{background:var(--green);color:white}.calendar-event{display:flex;flex-direction:column;gap:4px;background:#e6f0e4;color:var(--ink);border-left:3px solid #5e9c70;border-radius:7px;padding:9px 8px;margin-bottom:9px;overflow-wrap:anywhere;font-size:12px}.calendar-event b{font-size:12px;color:#507a58}.calendar-event span{font-weight:650}.calendar-event small{font-size:11px;line-height:1.3;opacity:.8}.calendar-event.cancelled{opacity:.5;background:#f1f0ef;border-color:#aaa;text-decoration:line-through}.free-slot{display:block;text-align:center;color:#b2bdb4;font-size:11px;padding-top:14px}.lesson-list{display:grid;gap:12px}.lesson-card{display:flex;align-items:center;gap:24px;background:white;border:1px solid var(--line);border-radius:15px;padding:20px 24px}.lesson-time{min-width:82px;display:flex;flex-direction:column;gap:6px}.lesson-time b{font-size:23px;letter-spacing:-.5px}.lesson-time small{color:var(--muted);font-size:11px}.lesson-info{flex:1;min-width:0}.lesson-info h3{margin:8px 0 3px}.lesson-info h3 a{color:var(--ink)}.lesson-info p{font-size:13px;color:var(--muted)}.student-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.student-tile{transition:transform .15s,color .15s;color:var(--ink)}.student-tile:hover{transform:translateY(-2px);box-shadow:var(--shadow);text-decoration:none}.student-tile h2{margin:17px 0 7px}.avatar{display:grid;place-items:center;width:50px;height:50px;border-radius:16px;background:#e4eee0;color:#46774f;font-size:24px;font-weight:650}.homework-row{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:17px 0;border-bottom:1px solid var(--line);color:var(--ink)}.homework-row:last-child{border:0}.homework-row small{display:block;color:var(--muted);margin-top:4px}.homework-row b{font-size:14px}.progress-row{display:grid;grid-template-columns:1fr 110px 45px;align-items:center;gap:12px;font-size:12px;margin:18px 0}.progress-track{height:7px;background:#e9f0ea;border-radius:8px;overflow:hidden}.progress-track i{display:block;height:100%;background:#7ca571;border-radius:8px}.progress-row b{text-align:right}.access-row+.access-row{border-top:1px solid var(--line);padding-top:20px;margin-top:20px}.access-row form{margin-top:12px}.access-row .button{width:100%}.attachment{padding:12px 14px;border-radius:9px;background:#f3f7f1;color:var(--ink);display:block;overflow-wrap:anywhere;font-size:13px;margin:7px 0}.attachment small{margin-left:6px;color:var(--muted)}.upload-form{border:1px dashed #c0d4c6;border-radius:12px;padding:15px;margin:12px 0}.upload-form .button{font-size:12px;padding:8px 12px}.feedback{display:flex;align-items:center;gap:24px;padding:20px 0 25px}.score{font-size:34px;color:var(--green);font-weight:750;min-width:85px}.health-table{width:100%;border-collapse:collapse;margin:20px 0}.health-table td,.health-table th{text-align:left;padding:13px;border-bottom:1px solid var(--line);font-size:14px}.health-table th{color:var(--muted);font-size:12px}
.room-body{height:100dvh;overflow:hidden;background:#f0f3ed}.room-body .school-header{height:66px;padding:0 23px}.room-body .school-header nav a{padding:19px 0 17px}.room-body .brand-mark{height:35px;width:35px;font-size:25px}.room-body .brand b{font-size:17px}.room-body .brand small{font-size:10px}#room{height:calc(100dvh - 66px);display:flex;flex-direction:column}.room-topbar{min-height:65px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 22px;background:#f7f9f4;border-bottom:1px solid var(--line)}.room-topbar b{font-size:15px;display:block;max-width:440px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.room-topbar small{display:block;color:var(--muted);font-size:11px}.save-state{font-size:11px;color:#5a7d65;max-width:260px}.save-state:before{content:'●';color:#80a86e;margin-right:6px;font-size:9px}.save-state.unsaved{color:#a07126}.save-state.unsaved:before{color:#d99a38}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 310px;flex:1;min-height:0;position:relative}.board-area{display:flex;flex-direction:column;position:relative;min-width:0;min-height:0}.board-actions{height:52px;padding:8px 15px 8px 75px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:6px;overflow-x:auto;flex-shrink:0}.board-actions .quiet{font-size:12px}.board-actions .icon-button{border:0;background:#f3f6f0;font-size:22px;width:34px}.divider{height:22px;width:1px;background:var(--line);margin:0 4px}.toolbox{position:absolute;z-index:10;top:66px;left:13px;display:flex;align-items:center;flex-direction:column;gap:4px;padding:7px 5px;background:#fff;border:1px solid var(--line);border-radius:13px;box-shadow:0 6px 24px #31503212;max-height:calc(100% - 123px);overflow-y:auto;width:46px}.tool{height:34px;width:34px;display:grid;place-items:center;border:0;border-radius:8px;background:transparent;color:#486153;padding:0;flex-shrink:0}.tool svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.tool:hover{background:#f1f5ee}.tool.active{background:#dceede;color:#087459}.tool-separator{width:25px;height:1px;background:var(--line);margin:5px 0;flex-shrink:0}.color-picker{width:30px;height:30px;display:block}.color-picker input{border:0;padding:0;background:none;width:30px;height:30px;cursor:pointer}.toolbox #stroke-size{font-size:11px;padding:3px;border:0;min-height:28px;background:#f3f6ee}.canvas-wrap{position:relative;flex:1;min-height:150px;overflow:hidden;background:#fffefa}#board-canvas{display:block;touch-action:none;cursor:crosshair;outline-offset:-3px}.board-hint{pointer-events:none;position:absolute;bottom:16px;left:80px;color:#8d9a8e;font-size:10px;user-select:none}.zoom-controls{position:absolute;bottom:12px;right:18px;display:flex;align-items:center;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:#fff;box-shadow:0 3px 10px #17412608}.zoom-controls button{background:#fff;border:0;height:31px;color:#556c5b;min-width:30px;font-size:14px}.zoom-controls button:nth-child(2){font-size:11px;min-width:52px}.zoom-controls button:hover{background:var(--soft)}.notebook{height:52px;display:flex;align-items:center;gap:8px;padding:8px 15px;background:#f7f9f4;border-top:1px solid var(--line);flex-shrink:0;min-width:0}.notebook-label{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:#7e8f80;font-weight:700;margin-right:6px}.page-tabs{display:flex;gap:5px;overflow-x:auto;flex:1;min-width:0}.page-tabs button{border:1px solid #e0e7da;background:#fff;border-radius:7px;padding:7px 11px;font-size:11px;white-space:nowrap;color:#718170;max-width:200px;overflow:hidden;text-overflow:ellipsis}.page-tabs button.active{background:#e5eedc;border-color:#b9cca5;color:#3e673b}.notebook .quiet{font-size:10px;padding:6px}.notebook .icon-button{font-size:18px;height:30px;width:30px}.lesson-panel{background:#fff;border-left:1px solid var(--line);padding:18px 16px;display:flex;flex-direction:column;gap:20px;min-height:0;overflow:hidden}.lesson-panel h2{font-size:13px;letter-spacing:0;margin:0}.lesson-panel .section-heading{margin-bottom:13px}.lesson-panel .pill{font-size:9px;padding:4px 6px}.call-pane{display:flex;flex-direction:column;gap:10px}.call-pane .section-heading{margin:0}.video-stage{height:158px;border-radius:12px;background:#e6ecdf;position:relative;overflow:hidden}.video-stage #remote-video{width:100%;height:100%;object-fit:contain;background:#1c3326}.video-stage #local-video{position:absolute;right:8px;bottom:8px;width:78px;height:58px;border:2px solid white;border-radius:7px;object-fit:cover;background:#597756;transform:scaleX(-1)}#video-placeholder{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;background:linear-gradient(130deg,#e5eddf,#d8e4cb);color:#6c845c;font-size:11px}#video-placeholder .video-monogram{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;background:#c8dab8;color:#46693b;font-size:24px;font-weight:650}#call-status{font-size:11px;line-height:1.4;min-height:30px}.call-pane .button{font-size:12px;padding:9px}.call-controls{display:grid;grid-template-columns:1fr 1fr;gap:5px}.call-controls button{font-size:11px;border:1px solid var(--line);border-radius:6px;background:#f8faf5;padding:6px;color:var(--ink)}.chat-pane{display:flex;flex-direction:column;flex:1;min-height:140px;border-top:1px solid var(--line);padding-top:18px}.chat-pane .section-heading{margin:0 0 8px}.chat-pane #chat-state{font-size:9px;color:#93a18e}.messages{flex:1;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:8px 3px 16px;scrollbar-width:thin}.message{background:#f0f4ec;border-radius:11px 11px 11px 2px;padding:9px 11px;max-width:92%;min-width:80px}.message.mine{background:#e5efda;border-radius:11px 11px 2px 11px;align-self:flex-end}.message p{font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.55}.message small{color:#8b9b82;font-size:9px;margin-top:5px;display:block}#chat-form{display:flex;align-items:flex-end;gap:7px;border-top:1px solid var(--line);padding-top:10px}#chat-form textarea{font-size:12px;line-height:1.4;resize:none;background:#f8faf5;min-height:42px;max-height:120px;padding:10px;border-radius:8px}#chat-form button{padding:10px 13px;border-radius:8px;font-size:15px;height:42px}.standalone-chat{max-width:850px;margin:auto;height:min(730px,calc(100dvh - 240px));min-height:440px;display:flex;flex-direction:column}.standalone-chat h1{font-size:27px;line-height:1.2;margin-top:8px}.standalone-chat .message p{font-size:14px}.standalone-chat .message small{font-size:11px}.standalone-chat #chat-form button{font-size:13px}.standalone-chat #chat-form textarea{font-size:14px}.panel-hidden .workspace{grid-template-columns:minmax(0,1fr)}.panel-hidden .lesson-panel{display:none}dialog{border:1px solid var(--line);border-radius:18px;padding:28px;max-width:calc(100vw - 30px);width:460px;color:var(--ink);box-shadow:0 30px 100px #14362344}dialog::backdrop{background:#173a2a50;backdrop-filter:blur(3px)}dialog h2{margin:0}dialog .inline{justify-content:flex-end}.symbol-row{display:flex;gap:6px;flex-wrap:wrap}.symbol-row button{border:1px solid var(--line);border-radius:6px;background:#f2f7ee;padding:5px 10px;color:var(--ink);font-size:17px}.legal-copy{max-width:820px;margin:auto;line-height:1.75}.legal-copy h1{margin:12px 0 28px}.legal-copy h2{margin-top:28px}.legal-copy p{margin:12px 0}.legal-copy ul{padding-left:22px}
@media(min-width:1500px){.workspace{grid-template-columns:minmax(0,1fr) 335px}.lesson-panel{padding:22px}.video-stage{height:180px}}
@media(max-width:1100px){.school-header{padding:0 20px;gap:18px}.school-header nav{gap:16px}.school-header nav a{font-size:12px}.header-user>span{display:none}.room-body .school-header nav{display:none}.two-columns{grid-template-columns:1.2fr .9fr}.notebook-label{display:none}.notebook .quiet{max-width:105px;white-space:normal;line-height:1.2}.board-hint{display:none}.board-actions{padding-left:12px}.progress-row{grid-template-columns:1fr 70px 40px}}
@media(max-width:850px){.school-shell{padding:28px 20px 50px}.school-header{height:70px;flex-wrap:wrap}.school-header nav{justify-content:flex-end;gap:13px}.school-header nav a{padding:21px 0 19px}.brand small{display:none}.header-user{display:none}.two-columns{grid-template-columns:1fr}.stat-grid{gap:10px}.stat{padding:20px}.stat b{font-size:27px}.student-grid{grid-template-columns:1fr 1fr}.workspace{grid-template-columns:minmax(0,1fr)}.lesson-panel{position:absolute;right:0;top:0;bottom:0;width:min(330px,calc(100vw - 55px));z-index:20;box-shadow:-15px 0 50px #14362222}.room-topbar{padding:9px 12px;min-height:60px}.room-topbar b{max-width:270px;font-size:13px}.save-state{max-width:180px;line-height:1.3}.room-body .school-header{height:57px;padding:0 15px}.room-body #room{height:calc(100dvh - 57px)}.room-body .header-user{display:flex}.room-body .header-user>span{display:none}.card{padding:23px}.calendar{overflow-x:auto;padding:22px}.week-grid{min-width:640px;margin-left:-22px;margin-right:-22px}.lesson-panel .video-stage{height:145px}.lesson-panel{gap:14px}.school-header nav a[href*="settings"],.school-header nav a[href*="diagnostics"]{display:none}}
@media(max-width:540px){body{font-size:14px}.school-shell{padding:25px 14px 40px}.school-header{padding:0 14px;gap:10px;height:64px}.brand{gap:9px}.brand-mark{width:32px;height:32px;font-size:24px;border-radius:9px}.brand b{font-size:17px}.school-header nav{gap:10px}.school-header nav a{font-size:11px}.page-title{align-items:flex-start;flex-direction:column;gap:12px;margin-bottom:22px}.page-title h1{font-size:32px}.page-title>.button{padding:10px 13px;font-size:12px}.card{padding:20px;border-radius:14px}.stat{padding:15px 12px}.stat b{font-size:24px}.stat span{font-size:10px}.student-grid{gap:12px}.student-tile h2{font-size:17px}.lesson-card{gap:12px;padding:15px;flex-wrap:wrap}.lesson-time{min-width:64px}.lesson-time b{font-size:21px}.lesson-info h3{font-size:15px}.lesson-card>.button{margin-left:76px;font-size:12px;padding:8px 12px}.calendar .section-heading{align-items:flex-start;flex-direction:column;gap:10px}.calendar h2{font-size:18px}.calendar .inline{gap:8px}.form-grid{grid-template-columns:1fr}.school-footer{padding:20px 16px;gap:12px}.school-footer span{width:100%}.room-topbar{flex-wrap:wrap;gap:6px;min-height:80px;padding:8px 10px}.room-topbar>.inline:last-child{margin-left:0;justify-content:space-between;width:100%}.room-topbar b{max-width:280px}.room-topbar small{font-size:10px}.room-topbar .button.small{padding:5px 9px;font-size:11px}.save-state{font-size:10px;max-width:220px}.board-actions{height:45px;gap:4px;padding:6px 9px}.board-actions .quiet{font-size:10px;padding:7px}.board-actions .icon-button{width:29px;min-width:29px;height:29px;font-size:20px}.toolbox{top:54px;left:8px;width:41px;padding:5px 3px;max-height:calc(100% - 112px)}.tool{width:31px;height:31px}.tool svg{width:20px;height:20px}.notebook{gap:6px;padding:7px 8px}.notebook .quiet{font-size:9px;max-width:68px}.notebook .icon-button{min-width:24px;width:24px}.page-tabs button{font-size:10px;padding:7px 9px;max-width:125px}.zoom-controls{right:10px;bottom:10px}.auth{margin:10px auto}.auth h1{font-size:31px}.health-table td{font-size:12px;padding:10px}.standalone-chat{padding:17px;min-height:430px;height:calc(100dvh - 230px)}.standalone-chat h1{font-size:22px}.standalone-chat .section-heading{align-items:flex-start;flex-direction:column}.progress-row{grid-template-columns:1fr 70px 38px;font-size:11px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Spacious lesson room: the notebook uses the full viewport. */
.room-body .school-header,.room-body .nsmath-site-header{display:none}
.room-body #room{height:100vh;height:100dvh}
.room-body .room-topbar{min-height:48px;padding:6px 14px;flex-shrink:0}
.room-body .room-topbar b{max-width:min(440px,36vw)}
.room-body .room-topbar>.inline:last-child{gap:8px}
.room-body .board-actions{height:42px;padding-block:4px}
.room-body .notebook{height:42px;padding-block:4px}
.room-body .toolbox{top:54px;max-height:calc(100% - 108px)}
.room-body .canvas-wrap{min-height:0}
@media(max-width:700px){
 .room-body .room-topbar{flex-wrap:wrap;gap:4px;padding:6px 10px}
 .room-body .room-topbar>.inline:last-child{width:100%;margin:0;justify-content:flex-end}
 .room-body .room-topbar b{max-width:calc(100vw - 82px)}
 .room-body .room-topbar .save-state{margin-right:auto;max-width:180px}
 .room-body #fullscreen-board,.room-body #toggle-panel{font-size:10px;padding:5px 7px}
}

/* Learning rewards */
.game-hero{background:linear-gradient(125deg,#e5f8f2,#edf1ff);border-color:#c8dfdd}.game-hero h2{font-size:clamp(2rem,5vw,3.8rem);margin:.4em 0}.game-hero progress{width:100%;height:18px;accent-color:#0b8c78}.game-badges{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px}.game-badge{background:#f6f8f8}.game-badge>span{font-size:32px;color:#718582}.game-badge.earned{background:#fff9e8;border-color:#e5c873}.game-badge.earned>span{color:#947019}.game-badge p{font-size:14px}.game-question{padding:16px 0;border-bottom:1px solid #dce8e4;line-height:1.6}.game-question input{max-width:300px}details>summary{cursor:pointer;padding:12px 0;font-weight:700}.game-badge.earned{animation:game-reveal .35s ease-out}@keyframes game-reveal{from{transform:translateY(6px);opacity:.5}to{transform:translateY(0);opacity:1}}@media(prefers-reduced-motion:reduce){.game-badge.earned{animation:none}}

.journey-banner{background:linear-gradient(115deg,#e6f5ee,#eef0ff)}.journey-banner progress{width:100%;height:16px;accent-color:#0b8c78}.journey-emblem{display:inline-flex;position:relative;border:4px solid #6ccfb0;border-radius:24px;padding:3px;vertical-align:middle;flex-shrink:0}.journey-emblem img{border-radius:17px;display:block}.frame-blue{border-color:#719be8}.frame-gold{border-color:#d6ab46;box-shadow:0 0 0 3px #fff0c8}.journey-pin{position:absolute;right:-9px;bottom:-6px;background:#fff5d1;color:#71520f;border:2px solid #d7b354;border-radius:50%;width:28px;height:28px;text-align:center;line-height:24px}.avatar-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:14px}.avatar-option{padding:12px;border:1px solid #d6e5df;border-radius:16px;display:flex;align-items:center;text-align:center;flex-direction:column;gap:8px}.avatar-option:has(input:checked){background:#e5f7f0;border-color:#09866f}.avatar-option:has(input:disabled){opacity:.55}.avatar-option small{font-weight:400}.journey-map{list-style:none;margin:24px 0;padding:0}.journey-stop{position:relative;display:grid;grid-template-columns:48px minmax(0,1fr);gap:18px;padding-bottom:20px}.journey-stop:not(:last-child):before{content:"";position:absolute;left:23px;top:42px;bottom:-4px;width:3px;background:#cddfd9}.journey-node{margin-top:16px;z-index:1;width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:#e6ece9;color:#405e55;font-weight:800;border:3px solid #fff}.state-learning .journey-node{background:#dbe8fd;color:#265baa}.state-practice .journey-node{background:#ffedbf;color:#765b1c}.state-mastered .journey-node{background:#0d8b73;color:white}.state-mastered article{border-color:#82cbb9}.journey-stop h3{margin-top:12px}.journey-stop details{margin-top:12px}fieldset{min-width:0;border:1px solid #d6e5df;border-radius:16px;padding:16px}table .journey-emblem img{width:32px;height:32px}table .journey-emblem{border-width:2px;border-radius:14px}table .journey-pin{font-size:12px;width:20px;height:20px;line-height:16px}@media(max-width:520px){.journey-stop{grid-template-columns:34px minmax(0,1fr);gap:10px}.journey-node{width:34px;height:34px}.journey-stop:not(:last-child):before{left:16px}.journey-stop .card{padding:16px}}

/* Approved 20-avatar collection, rendered from the original contact sheet. */
.avatar-art{display:inline-block;width:64px;height:64px;flex-shrink:0;border-radius:17px;background-image:url('/school/avatars/collection-20.png');background-repeat:no-repeat;background-size:555.909091% 584.545455%;vertical-align:middle}
.avatar-option .avatar-art{width:96px;height:96px;border-radius:22px}
table .journey-emblem .avatar-art{width:32px;height:32px;border-radius:10px}
 .avatar-art-fox{background-position:1.99401795% 7.50469043%}
 .avatar-art-robot{background-position:26.02193420% 7.50469043%}
 .avatar-art-astronaut{background-position:50.04985045% 7.50469043%}
 .avatar-art-owl{background-position:74.07776670% 7.50469043%}
 .avatar-art-cat{background-position:98.00598205% 7.50469043%}
 .avatar-art-dragon{background-position:1.99401795% 33.39587242%}
 .avatar-art-panda{background-position:26.02193420% 33.39587242%}
 .avatar-art-wolf{background-position:50.04985045% 33.39587242%}
 .avatar-art-penguin{background-position:74.07776670% 33.39587242%}
 .avatar-art-raccoon{background-position:98.00598205% 33.39587242%}
 .avatar-art-capybara{background-position:1.99401795% 59.66228893%}
 .avatar-art-rocket{background-position:26.02193420% 59.66228893%}
 .avatar-art-orbit{background-position:50.04985045% 59.66228893%}
 .avatar-art-ghost{background-position:74.07776670% 59.66228893%}
 .avatar-art-lion{background-position:98.00598205% 59.66228893%}
 .avatar-art-phoenix{background-position:1.99401795% 86.02251407%}
 .avatar-art-jellyfish{background-position:26.02193420% 86.02251407%}
 .avatar-art-mushroom{background-position:50.04985045% 86.02251407%}
 .avatar-art-golem{background-position:74.07776670% 86.02251407%}
 .avatar-art-comet{background-position:98.00598205% 86.02251407%}

.teacher-profile-card{background:linear-gradient(120deg,#eff7f4,#f7f1dc)}.teacher-profile-card h2{margin:8px 0}.teacher-header-avatar .avatar-art{width:32px;height:32px;border-radius:10px}.teacher-header-avatar .journey-emblem{border-width:2px;border-radius:14px}.teacher-header-avatar .journey-pin{width:18px;height:18px;font-size:11px;line-height:14px;right:-6px;bottom:-5px}.teacher-header-avatar{display:inline-flex;padding:4px}
