:root{font-family:Arial,Helvetica,sans-serif;color:#242b35;background:#f7f6f2;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0}.app{min-height:100vh;display:flex}.sidebar{width:270px;flex-shrink:0;background:#fff;border-right:1px solid #e9e7e0;padding:25px 17px;display:flex;flex-direction:column;min-height:100vh}.brand{display:flex;gap:11px;align-items:center;padding:0 8px 35px}.brandicon{height:40px;width:40px;border-radius:13px;background:#283c35;color:#fff;display:grid;place-items:center;font:800 23px Arial,Helvetica,sans-serif}.brand b{display:block;font:800 18px Arial,Helvetica,sans-serif;letter-spacing:-.5px}.brand small{font-size:9px;letter-spacing:1.3px;color:#91968f}.sidehead{font-size:10px;letter-spacing:1.4px;font-weight:700;color:#8b908a;padding:0 9px 13px;display:flex;justify-content:space-between}.sidehead span{background:#f0f0e9;padding:2px 7px;border-radius:9px}.subjectlist{display:grid;gap:5px}.subject{border:0;background:transparent;display:flex;align-items:center;gap:10px;padding:12px 10px;border-radius:9px;text-align:left;color:#535b55;cursor:pointer;font:500 13px Arial,Helvetica,sans-serif}.subject.selected{background:#edf2ed;color:#203d30;font-weight:700}.dot{width:7px;height:7px;border-radius:50%;background:#b5c3b6}.selected .dot{background:#527b5e}.subjectname{flex:1}.subject small{color:#929890}.addsubject{margin-top:18px;display:grid;gap:7px}.addsubject input{width:100%;border:1px solid #e6e6df;border-radius:8px;padding:10px;font:13px Arial,Helvetica,sans-serif;outline-color:#72917a}.addsubject button,.sidebarfoot button{border:1px solid #e3e5df;background:#fff;border-radius:8px;padding:10px;cursor:pointer;font:600 12px Arial,Helvetica,sans-serif;color:#34493a}.sidebarfoot{margin-top:auto;display:grid;gap:10px;padding:20px 5px 0}.sidebarfoot small{font-size:11px;color:#969b94;text-align:center}.main{min-width:0;flex:1;display:flex;flex-direction:column;padding:30px clamp(18px,4vw,55px) 18px}.topbar{display:flex;justify-content:space-between;gap:20px;align-items:center}.eyebrow{font-size:10px;color:#999c94;letter-spacing:1.4px;font-weight:700}h1{font:800 clamp(24px,3vw,34px) Arial,Helvetica,sans-serif;letter-spacing:-1.3px;margin:8px 0 0}.topactions{display:flex;gap:8px}.topactions button,.pagination button{border:1px solid #e0e1da;border-radius:9px;padding:10px 13px;background:#fff;font:600 12px Arial,Helvetica,sans-serif;cursor:pointer;color:#48534b}.button:disabled,button:disabled{opacity:.4;cursor:not-allowed}.primary{background:#2e493b!important;color:#fff!important;border:1px solid #2e493b!important}.toolbar{margin-top:25px;border:1px solid #e9e8e0;border-radius:12px;background:#fff;padding:10px 12px;display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap}.toolgroup{display:flex;align-items:center;gap:5px}.tool{border:1px solid transparent;border-radius:8px;padding:9px 11px;background:transparent;color:#5c645d;font:600 12px Arial,Helvetica,sans-serif;cursor:pointer}.tool.active{background:#edf2ed;color:#264c35;border-color:#dce7dc}.colorlabel,.widthlabel{display:flex;align-items:center;gap:7px;font-size:11px;color:#6e756e;padding:0 5px}.colorlabel input{width:25px;height:25px;border:0;background:none;padding:0;cursor:pointer}.widthlabel input{width:75px}.paperwrap{flex:1;min-height:300px;display:flex;justify-content:center;align-items:flex-start;padding:22px 0 12px;overflow:auto}.paper{width:min(100%,680px);background:#fffefb;border:1px solid #e7e5dd;box-shadow:0 6px 22px #3e453b0b;line-height:0}.paper canvas{display:block;width:100%;height:auto;touch-action:none;cursor:crosshair}.pagefooter{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:13px 0 0;color:#969990;font-size:11px}.pagination{display:flex;align-items:center;gap:10px;color:#6e756e}.pagination button{padding:8px 10px}.pagination label{display:flex;align-items:center;gap:6px}.pagination select{border:1px solid #e4e5dd;background:#fff;padding:6px;border-radius:6px}.empty{margin:auto;color:#7e857c}.modalback{position:fixed;top:0;right:0;bottom:0;left:0;z-index:5000;background:#18231c88;display:grid;place-items:center;padding:20px;overflow-y:auto;isolation:isolate}.modal{position:relative;z-index:5001;background:#fff;border-radius:16px;padding:30px;max-width:420px;width:min(100%,420px);max-height:calc(100dvh - 40px);overflow-y:auto;box-shadow:0 20px 60px #0004}.modal h2{font:800 24px Arial,Helvetica,sans-serif;margin-top:0}.modal p{line-height:1.6;color:#697168;font-size:14px}.modal .primary{border-radius:8px;padding:11px 15px;cursor:pointer}.close{position:absolute;right:12px;top:8px;border:0;background:none;font-size:25px;cursor:pointer;color:#7d837c}@media(max-width:760px){.app{display:block}.sidebar{width:100%;min-height:unset;padding:15px}.brand{padding-bottom:18px}.subjectlist{display:flex;overflow:auto}.subject{flex-shrink:0}.addsubject{grid-template-columns:1fr auto;margin-top:10px}.sidebarfoot{display:none}.main{padding:20px 13px}.topbar{align-items:flex-start}.topactions{flex-direction:column}.topactions button{padding:8px}.toolbar{margin-top:18px}.paperwrap{padding-top:14px}.pagefooter{align-items:flex-start;flex-direction:column}.pagination{width:100%;justify-content:space-between}}.classsection{display:grid;gap:8px;margin-bottom:22px}.classpicker{width:100%;padding:11px 10px;border:1px solid #e4e6de;border-radius:9px;background:#fbfcf9;color:#304438;font:600 13px Arial,Helvetica,sans-serif;outline-color:#72917a}.renameclass{justify-self:stretch;width:100%;display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid #d9e2d8;background:#f1f5f0;color:#2e493b;padding:9px 10px;border-radius:8px;font:700 12px Arial,Helvetica,sans-serif;cursor:pointer;transition:background .15s,border-color .15s}.renameclass:hover:not(:disabled){background:#e6eee5;border-color:#b8cbb9}.renameclass:focus-visible{outline:2px solid #72917a;outline-offset:2px}.renameclass:disabled{opacity:.4;cursor:not-allowed}.addclass{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px}.addclass input{min-width:0;width:100%;border:1px solid #e6e6df;border-radius:8px;padding:9px 8px;font:12px Arial,Helvetica,sans-serif;outline-color:#72917a}.addclass button{border:1px solid #e3e5df;background:#fff;border-radius:8px;padding:8px 9px;cursor:pointer;font:600 11px Arial,Helvetica,sans-serif;color:#34493a}.subjectheading{line-height:1.5;margin-top:0}.classsubtitle{margin-top:7px;font-size:12px;color:#858c82}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.empty{align-self:center;text-align:center;max-width:360px;padding:30px}.emptyicon{margin:0 auto 14px;width:48px;height:48px;display:grid;place-items:center;border-radius:15px;background:#eaf0e9;color:#2e493b;font-size:24px}.empty h2{font:800 22px Arial,Helvetica,sans-serif;color:#34483a;margin:0 0 8px}.empty p{font-size:13px;line-height:1.6;color:#83897f}.addsubject button:disabled{opacity:.4;cursor:not-allowed}@media(max-width:760px){.classsection{margin-bottom:14px}.addclass{grid-template-columns:minmax(0,1fr) auto}.subjectheading{margin-top:8px}.classsubtitle{font-size:11px}.empty{padding:24px 10px}}.shortcut-hint{margin-top:5px;font-size:10px;color:#a0a49b;line-height:1.5}.tool:disabled{opacity:.35;cursor:not-allowed}.authmodal{width:min(100%,460px);max-height:90vh;overflow:auto}.authmodal .authbrand{display:flex;align-items:center;gap:10px;margin-bottom:22px}.authmodal .authbrand .brandicon{flex:none}.authmodal h2{margin:0 0 7px}.authmodal .authintro{margin:0 0 20px}.authform{display:grid;gap:13px}.authform label{display:grid;gap:6px;font-size:12px;font-weight:700;color:#4e5a50}.authform input{width:100%;padding:12px 13px;border:1px solid #dfe4dc;border-radius:9px;font:14px Arial,Helvetica,sans-serif;outline-color:#72917a}.authform .primary{border-radius:9px;padding:12px 14px;cursor:pointer;font-weight:700}.authlinks{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:15px}.authlinks button{border:0;background:transparent;color:#315a40;text-decoration:underline;cursor:pointer;font:600 12px Arial,Helvetica,sans-serif;padding:5px 0}.authmessage{padding:10px 12px;background:#f0f5ef;border:1px solid #dce9d9;border-radius:8px;color:#35533a;font-size:12px;line-height:1.5}.authmessage.error{background:#fff2ef;border-color:#f0d5cf;color:#8a3325}.accountbar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px;border:1px solid #e5e9e1;border-radius:9px;font-size:11px;color:#5e685f}.accountbar button{border:0;background:transparent;color:#8b4237;cursor:pointer;font-weight:700}.save-indicator.error{color:#9b3c2c}.workspace-nav{display:grid;gap:5px;margin:-14px 0 24px;padding:0 2px}.workspace-nav button{display:flex;align-items:center;gap:10px;width:100%;border:1px solid transparent;border-radius:9px;padding:11px 12px;background:transparent;text-align:left;color:#5a625b;font:600 12px Arial,Helvetica,sans-serif;cursor:pointer}.workspace-nav button.selected{background:#edf2ed;border-color:#dce7dc;color:#264c35}.lesson-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,.75fr);gap:14px;margin-top:20px;padding:14px;background:#fff;border:1px solid #e9e8e0;border-radius:12px}.lesson-fields{display:grid;grid-template-columns:minmax(90px,.45fr) minmax(0,1fr);gap:10px}.lesson-fields label,.lesson-search label{display:grid;gap:6px;color:#6e756e;font-size:11px;font-weight:700}.lesson-fields input,.lesson-search input{width:100%;min-width:0;border:1px solid #e1e5dd;border-radius:8px;padding:10px 11px;font:12px Arial,Helvetica,sans-serif;outline-color:#72917a}.lesson-results{position:relative;z-index:3;display:grid;gap:3px;max-height:210px;overflow:auto;margin-top:6px;padding:5px;background:#fff;border:1px solid #e4e7df;border-radius:9px;box-shadow:0 8px 24px #1f2c2014}.lesson-results button{display:grid;gap:4px;border:0;border-radius:6px;background:#fff;text-align:left;padding:8px;color:#36463a;font-size:12px;cursor:pointer}.lesson-results button:hover{background:#f1f5f0}.lesson-results small{font-size:10px;color:#899087}.lesson-results p{padding:8px;margin:0;color:#899087;font-size:12px}.widthlabel{flex-wrap:wrap}.widthlabel input[type=range]{width:105px;accent-color:#355c43;cursor:pointer;touch-action:pan-y}.sizevalue{min-width:42px;color:#2e493b;font-size:11px;font-weight:700}.feature-workspace{width:100%;max-width:1400px;margin:0 auto}.feature-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.feature-header h1{margin-bottom:8px}.feature-header p{margin:0;color:#828980;font-size:13px;line-height:1.6}.feature-header>button{white-space:nowrap;border-radius:9px;padding:12px 15px;cursor:pointer;font-weight:700}.presentation-layout,.notes-layout,.mindmap-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:18px;min-height:520px}.feature-list{background:#fff;border:1px solid #e8e8e0;border-radius:12px;padding:14px;display:flex;flex-direction:column;gap:7px;align-self:start}.feature-list h3{margin:0 0 8px;font-size:12px;color:#7d857b;text-transform:uppercase;letter-spacing:.8px}.feature-list>button{display:grid;gap:5px;border:1px solid transparent;background:#fff;border-radius:8px;padding:11px;text-align:left;color:#35473a;cursor:pointer}.feature-list>button.active{background:#edf2ed;border-color:#d9e5d9}.feature-list>button strong{font-size:12px;overflow-wrap:anywhere}.feature-list>button small,.muted{font-size:10px;color:#92988f}.slide-editor,.quicknote-editor,.mindmap-editor{min-width:0;background:#fff;border:1px solid #e8e8e0;border-radius:12px;padding:16px}.slide-editorbar{display:flex;justify-content:space-between;gap:12px;margin-bottom:15px}.slide-editorbar>input,.quicknote-editor>input,.mindmap-title{flex:1;min-width:0;border:1px solid #e0e5dd;border-radius:8px;padding:11px;font:700 14px Arial,Helvetica,sans-serif;outline-color:#72917a}.slide-editorbar>div{display:flex;gap:7px}.slide-editorbar button,.slide-controls button,.present-controls button{border:1px solid #e0e4dc;border-radius:8px;background:#fff;padding:9px 11px;color:#445248;font:600 11px Arial,Helvetica,sans-serif;cursor:pointer}.slide-workarea{display:grid;grid-template-columns:140px minmax(0,1fr);gap:15px}.slide-thumbnails{display:grid;align-content:start;gap:8px}.slide-thumbnails button{display:grid;gap:7px;min-height:76px;padding:9px;border:1px solid #e0e4dc;border-radius:8px;background:#fbfcf9;text-align:left;cursor:pointer}.slide-thumbnails button.active{border-color:#527b5e;background:#eff5ee}.slide-thumbnails span{font-size:10px;color:#8c9388}.slide-thumbnails strong{font-size:11px;overflow-wrap:anywhere}.slide-canvas{display:flex;flex-direction:column;gap:13px;min-height:400px;padding:clamp(15px,3vw,35px);border:1px solid #e4e4dc;border-radius:8px;background:linear-gradient(#fff,#fffefb);box-shadow:0 4px 16px #30382f0b}.slide-canvas>input{border:0;border-bottom:1px solid #ecece5;padding:8px 0 15px;outline:none;font:800 clamp(22px,3vw,34px) Arial,Helvetica,sans-serif;color:#2e493b}.slide-canvas>textarea{flex:1;min-height:210px;resize:vertical;border:0;outline:none;padding:10px 0;font:16px/1.8 Arial,Helvetica,sans-serif;color:#4b554b}.slide-controls{display:flex;align-items:center;justify-content:space-between;gap:7px;flex-wrap:wrap;border-top:1px solid #ecece5;padding-top:12px}.slide-controls span{font-size:11px;color:#899087}.quicknote-editor{display:flex;flex-direction:column;gap:14px;min-height:450px}.quicknote-editor>textarea{flex:1;min-height:320px;resize:vertical;border:1px solid #e0e5dd;border-radius:9px;padding:15px;font:14px/1.8 Arial,Helvetica,sans-serif;outline-color:#72917a}.delete-note{align-self:flex-end;border:0;background:transparent;color:#985447;font-size:12px;cursor:pointer;padding:8px}.mindmap-editor{display:flex;flex-direction:column;gap:14px}.mindmap-title{max-width:500px}.mindmap-canvas{position:relative;display:flex;flex-direction:column;align-items:center;gap:25px;min-height:450px;padding:40px 20px;background:radial-gradient(#e5e9df 1px,transparent 1px);background-size:18px 18px;border:1px solid #e8e8e0;border-radius:10px;overflow:auto}.mindmap-center{position:relative;z-index:1;padding:13px;background:#2e493b;border-radius:18px;box-shadow:0 5px 16px #263e3024}.mindmap-center input{width:min(270px,65vw);border:0;outline:none;background:transparent;color:#fff;text-align:center;font:700 16px Arial,Helvetica,sans-serif}.mindmap-branches{display:flex;justify-content:center;align-items:flex-start;gap:12px;flex-wrap:wrap;width:100%}.mindmap-branch{display:flex;align-items:center;gap:4px;padding:9px;border:1px solid #dce5d9;border-radius:10px;background:#f2f6f0;box-shadow:0 3px 9px #263e300b}.mindmap-branch input{width:150px;max-width:32vw;border:0;outline:none;background:transparent;color:#35473a;font:600 12px Arial,Helvetica,sans-serif}.mindmap-branch button{border:0;background:transparent;color:#9a655a;cursor:pointer}.branch-1{background:#f4f1e9;border-color:#e9e0cb}.branch-2{background:#edf2f7;border-color:#d9e3ed}.branch-3{background:#f6eeee;border-color:#edd}.add-branch{border:1px dashed #cdd8cc;background:#fff;border-radius:8px;padding:10px 13px;color:#355c43;font-weight:700;font-size:12px;cursor:pointer}.present-overlay{position:fixed;z-index:1000;top:0;right:0;bottom:0;left:0;background:#17231b;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:6vw;color:#fff}.present-close{position:absolute;right:25px;top:20px;border:1px solid #ffffff55;border-radius:8px;padding:10px 13px;background:transparent;color:#fff;cursor:pointer}.present-slide{width:min(100%,1100px);aspect-ratio:16/9;background:#fffefb;color:#293b30;border-radius:10px;padding:clamp(24px,6vw,80px);display:flex;flex-direction:column;justify-content:center;box-shadow:0 25px 80px #0005;overflow:auto}.present-slide h2{font-size:clamp(30px,5vw,60px);margin:0 0 30px}.present-slide p{font-size:clamp(18px,2.4vw,30px);line-height:1.7;white-space:pre-wrap}.present-controls{display:flex;align-items:center;gap:18px;margin-top:22px}.present-controls span{color:#d6ded5;font-size:12px}@media(max-width:900px){.sidebar{width:230px}.presentation-layout,.notes-layout,.mindmap-layout{grid-template-columns:170px minmax(0,1fr)}.lesson-panel{grid-template-columns:1fr}.slide-workarea{grid-template-columns:100px minmax(0,1fr)}}@media(max-width:760px){.workspace-nav{grid-template-columns:repeat(2,minmax(0,1fr));margin:0 0 15px}.workspace-nav button{font-size:11px;padding:10px}.feature-header{align-items:flex-start;flex-direction:column}.presentation-layout,.notes-layout,.mindmap-layout{grid-template-columns:1fr;min-height:0}.feature-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.feature-list h3{grid-column:1/-1}.slide-editorbar{flex-direction:column}.slide-workarea{grid-template-columns:1fr}.slide-thumbnails{display:flex;overflow:auto}.slide-thumbnails button{min-width:115px}.slide-canvas{min-height:350px}.lesson-fields{grid-template-columns:minmax(80px,.45fr) minmax(0,1fr)}.lesson-panel{padding:10px}.widthlabel input[type=range]{width:85px}.mindmap-canvas{padding:25px 10px}.mindmap-branch input{width:120px}.present-slide{aspect-ratio:auto;min-height:55vh}}.global-accountbar{display:flex;justify-content:flex-end;align-items:center;gap:10px;min-height:46px;margin:-12px 0 22px;padding:0 0 12px;border-bottom:1px solid #e8e9e2}.gradient-button{border:1px solid #a9c6ad!important;border-radius:11px!important;padding:11px 16px!important;background:linear-gradient(135deg,#355f49,#527f69 52%,#739d82)!important;color:#fff!important;font-weight:750!important;box-shadow:0 4px 12px #2e69441f,inset 0 1px #ffffff45;transition:transform .16s,box-shadow .16s;cursor:pointer}.gradient-button:hover{transform:translateY(-1px);box-shadow:0 7px 17px #2e694433,inset 0 1px #fff5}.gradient-button.compact{padding:9px 14px!important;font-size:12px}.secondary-gradient{background:linear-gradient(135deg,#6752a5,#8b71c7 55%,#b19add)!important;border-color:#c4b4e6!important}.text-action{border:0;background:transparent;color:#536e5a;text-decoration:underline;font-size:12px;font-weight:700;cursor:pointer;padding:8px}.user-avatar{width:37px;height:37px;display:grid;place-items:center;border-radius:13px;background:linear-gradient(135deg,#e5f4e7,#a8d4b2);border:1px solid #9cc7a5;color:#28533a;font-weight:800;box-shadow:0 3px 10px #244b2c18}.user-identity{display:grid;gap:3px;margin-right:4px}.user-identity strong{font-size:12px;color:#2d4936;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-identity small{font-size:10px;color:#89938a}.workspace-nav button{border:1px solid #e3e9e1;background:linear-gradient(135deg,#fff,#f8fbf7);box-shadow:0 2px 6px #233e2c08;transition:all .18s}.workspace-nav button:hover{border-color:#b8d1bd;transform:translate(2px);box-shadow:0 5px 13px #244a3010}.workspace-nav button.selected{background:linear-gradient(120deg,#e5f3e7,#d8e8f2);border-color:#a9cdb0;color:#254f35;box-shadow:inset 3px 0 #4d9362,0 4px 12px #244a3010;font-weight:800}.feature-header>button,.feature-workspace button.primary,.slide-editorbar button,.slide-controls button,.present-controls button,.add-branch,.delete-note,.danger-button{border-radius:10px;border:1px solid #a7c5ad;background:linear-gradient(135deg,#f9fffa,#e5f3e8);color:#315a3c;box-shadow:0 3px 10px #294d3210,inset 0 1px #fff;transition:all .16s}.feature-header>button:hover,.feature-workspace button.primary:hover,.slide-editorbar button:hover,.slide-controls button:hover,.present-controls button:hover,.add-branch:hover,.danger-button:hover{transform:translateY(-1px);border-color:#77a985;box-shadow:0 6px 14px #294d321a}.feature-workspace button.primary{background:linear-gradient(135deg,#2f6042,#548b65)!important;border-color:#8eb99a!important;color:#fff!important}.feature-list>button{border:1px solid #e5ebe3;background:linear-gradient(135deg,#fff,#f8fbf7);box-shadow:0 2px 7px #244a3008}.feature-list>button:hover{border-color:#b7d2bc;box-shadow:0 4px 12px #244a3014}.feature-list>button.active{background:linear-gradient(120deg,#e6f4e8,#e4eef8);border-color:#a9cdb0;box-shadow:inset 3px 0 #4d9362}.lesson-search select{width:100%;min-width:0;border:1px solid #cbdccb;border-radius:10px;padding:11px 35px 11px 12px;background:linear-gradient(135deg,#fff,#f2f8f2);color:#344b38;font:600 12px Arial,Helvetica,sans-serif;outline-color:#72917a;box-shadow:inset 0 1px #fff}.mindmap-titlebar{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.mindmap-titlebar .mindmap-title{flex:1}.danger-button{padding:10px 13px!important;background:linear-gradient(135deg,#fff7f5,#f9e4e1)!important;border-color:#e7bcb6!important;color:#963f36!important;font-size:12px;font-weight:750;cursor:pointer}.toolbar button.tool{border-radius:9px;border:1px solid #e1e8df;background:linear-gradient(135deg,#fff,#f6faf5);box-shadow:0 2px 6px #243d2b08}.toolbar button.tool.active{border-color:#9cc7a5;background:linear-gradient(135deg,#e4f4e6,#d9e9f7);color:#254f35;box-shadow:inset 0 0 0 1px #b8d9be}.classpicker,.subject.selected,.subject.selected .subjectname{font-weight:800}.classpicker:focus,.lesson-search select:focus{border-color:#6da47a;box-shadow:0 0 0 3px #70a67b20;outline:none}@media(max-width:600px){.global-accountbar{gap:6px;flex-wrap:wrap}.user-identity strong{max-width:120px}.text-action{font-size:11px;padding:6px}}.lesson-current{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:10px 12px;border:1px solid #e2e9df;border-radius:11px;background:linear-gradient(120deg,#fff,#f1f8f1);font-size:12px;color:#536455}.lesson-current strong{color:#2d5538}.lesson-current span{flex:1}.lesson-current button{padding:9px 12px!important;font-size:12px}.paper{position:relative}.paper canvas{position:relative;z-index:0}.page-inserted-element{position:absolute;z-index:2;max-width:45%;min-width:100px;line-height:1.4;background:#fffef0;border:1px solid #d9d1a4;border-radius:7px;padding:22px 10px 10px;box-shadow:0 5px 15px #27372820;cursor:text}.page-inserted-element.text>div{min-width:100px;min-height:30px;outline:none;white-space:pre-wrap;overflow-wrap:anywhere}.page-inserted-element.image{background:#fff;padding:22px 6px 6px;max-width:48%}.page-inserted-element img{display:block;max-width:100%;max-height:260px;object-fit:contain}.element-drag{position:absolute;left:0;top:0;border:0;background:linear-gradient(120deg,#e4f4e6,#dceafa);color:#345940;border-radius:5px;padding:3px 6px;font-size:9px;font-weight:700;cursor:grab;touch-action:none}.element-delete{position:absolute;right:0;top:0;border:0;background:#f7e4e1;color:#9a463d;border-radius:0 5px 0 6px;padding:2px 7px;cursor:pointer}.upload-image{display:inline-flex;align-items:center;border:1px solid #e1e8df;border-radius:9px;padding:9px 11px;background:linear-gradient(135deg,#fff,#f6faf5);box-shadow:0 2px 6px #243d2b08;font:600 12px Arial,Helvetica,sans-serif;color:#5c645d;cursor:pointer}.main-header-row{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:48px;margin:0 0 14px;flex-wrap:wrap}.main-header-row .global-accountbar{margin:0;padding:0;border:0;min-height:40px;flex-shrink:0}.header-workspace-nav{display:flex!important;grid-template-columns:none!important;gap:7px;margin:0!important;flex:1;min-width:340px}.header-workspace-nav button{padding:9px 13px!important;white-space:nowrap;font-size:12px}.app{height:100vh;min-height:0;overflow:hidden}.sidebar{height:100vh;overflow-y:auto;overscroll-behavior:contain}.main{height:100vh;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-top:18px;padding-bottom:20px}.lesson-panel{grid-template-columns:minmax(300px,auto) minmax(280px,1fr)!important;align-items:center;gap:16px;padding:16px!important;min-height:92px!important;box-sizing:border-box}.lesson-fields{display:block!important;min-width:0}.lesson-current{flex-wrap:nowrap!important;white-space:nowrap;min-width:0;padding:8px 10px!important;gap:10px}.lesson-current>span{flex:1;overflow:hidden;text-overflow:ellipsis}.lesson-current button{flex-shrink:0;white-space:nowrap}.lesson-search{min-width:0}.lesson-search label{display:flex;align-items:center;gap:12px;white-space:nowrap}.lesson-search select{min-width:0;flex:1}.toolbar{position:sticky;top:0;z-index:10;background:#f8f8f4ef;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);padding:8px 0;margin:8px 0}.paperwrap{max-height:calc(100vh - 270px);min-height:300px;overflow:auto;overscroll-behavior:contain;border-radius:8px}.paper{width:min(100%,900px);margin:0 auto}.paper canvas{display:block;width:100%;height:auto;touch-action:none}.paper canvas.insertion-mode{cursor:crosshair}.paper:has(.insert-hint){cursor:crosshair}.insert-hint{position:sticky;top:8px;z-index:15;width:max-content;max-width:calc(100% - 20px);margin:8px auto -42px;padding:8px 12px;border:1px solid #8fb99b;border-radius:9px;background:linear-gradient(120deg,#f4fff5,#e2f0ff);color:#2e5739;box-shadow:0 4px 14px #243d2b20;font-size:12px;font-weight:700;pointer-events:none}.paper canvas{background-image:repeating-linear-gradient(to bottom,transparent 0,transparent 31px,#d4deeb 31px,#d4deeb 32px)}@media(max-width:900px){.lesson-panel{grid-template-columns:1fr!important}.lesson-current,.lesson-search label{white-space:normal}.main-header-row{align-items:stretch}.header-workspace-nav{min-width:0;flex-wrap:wrap}}@media(max-width:600px){.app{height:auto;min-height:100vh;overflow:visible}.sidebar{height:auto;max-height:35vh}.main{height:auto;min-height:65vh;overflow:visible;padding:12px}.header-workspace-nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}.main-header-row{gap:8px}.main-header-row .global-accountbar{width:100%;justify-content:flex-end}.paperwrap{max-height:65vh}.lesson-current{flex-wrap:wrap!important}}.modalback{z-index:10000!important}.modal{z-index:10001!important}.mindmap-branch{cursor:grab;touch-action:pan-y;-webkit-user-select:none;user-select:none}.mindmap-branch:active{cursor:grabbing}.mindmap-drag-handle{display:inline-flex;align-items:center;color:#748474;font-size:15px;cursor:grab;padding:0 3px}.danger-button{border:1px solid #e6c9c5!important;background:linear-gradient(135deg,#fff8f7,#f8e6e3)!important;color:#9b443b!important;border-radius:8px;padding:9px 11px;font:700 11px Arial,Helvetica,sans-serif;cursor:pointer}@media(max-width:760px){.modalback{padding:12px}.modal{max-height:calc(100dvh - 24px);padding:24px}}.modalback{pointer-events:auto!important;z-index:2147483000!important;isolation:isolate!important}.modal,.modal *{pointer-events:auto}.authform{position:relative;z-index:2}.authform button[type=submit]{position:relative;z-index:3;min-height:48px;cursor:pointer;pointer-events:auto!important}.theme-picker{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:0 0 16px;padding:12px;border:1px solid #e7e9e1;border-radius:12px;background:#fbfcf9}.theme-picker>strong{font-size:11px;color:#667166;margin-right:4px}.theme-swatch{min-width:94px;min-height:46px;border:2px solid transparent;border-radius:9px;padding:5px 10px;cursor:pointer;box-shadow:0 2px 7px #17231b12;transition:transform .15s,border-color .15s}.theme-swatch span{font-size:11px;font-weight:700}.theme-swatch:hover{transform:translateY(-2px)}.theme-swatch.selected{border-color:#263d30;box-shadow:0 0 0 2px #d6e3d5}.theme-aurora{background:linear-gradient(135deg,#e9f6ee,#f7f1ff 52%,#e8f3fb)!important;color:#213d30!important}.theme-midnight{background:linear-gradient(135deg,#17233e,#34336b 55%,#5c3d70)!important;color:#fff!important}.theme-sunset{background:linear-gradient(135deg,#fff0d7,#ffd5c8 52%,#f1b8c8)!important;color:#6a3441!important}.theme-paper{background:linear-gradient(135deg,#fffef7,#f4eedf)!important;color:#3f4038!important}.theme-ocean{background:linear-gradient(135deg,#dff8fa,#c9e4f7 52%,#d9e3ff)!important;color:#17475b!important}.slide-canvas.theme-midnight>input,.slide-canvas.theme-midnight>textarea{background:transparent;color:#fff}.slide-canvas.theme-midnight>input{border-bottom-color:#fff3}.slide-canvas.theme-sunset>input,.slide-canvas.theme-ocean>input{color:inherit;background:transparent}.present-slide.theme-midnight{background:linear-gradient(135deg,#17233e,#34336b 55%,#5c3d70)!important;color:#fff!important}.present-slide.theme-sunset{background:linear-gradient(135deg,#fff0d7,#ffd5c8 52%,#f1b8c8)!important;color:#6a3441!important}.present-slide.theme-ocean{background:linear-gradient(135deg,#dff8fa,#c9e4f7 52%,#d9e3ff)!important;color:#17475b!important}.present-slide.theme-aurora{background:linear-gradient(135deg,#e9f6ee,#f7f1ff 52%,#e8f3fb)!important}.mindmap-drag-handle{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:element}@media(max-width:760px){.theme-picker{align-items:stretch}.theme-swatch{flex:1 1 28%;min-width:0}}.slide-format-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:8px 10px;margin-bottom:10px;border:1px solid #dfe6dc;border-radius:10px;background:#ffffffd9;color:#34483a}.slide-format-toolbar button{min-width:34px;height:32px;border:1px solid #d7dfd5;border-radius:7px;background:#fff;color:#314737;cursor:pointer}.slide-format-toolbar button.active{background:#2e493b;color:#fff;border-color:#2e493b}.slide-format-toolbar label{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:600}.slide-format-toolbar input[type=range]{width:95px;accent-color:#2e493b}.slide-format-toolbar select{border:1px solid #d7dfd5;border-radius:7px;padding:6px;background:#fff;color:#25372c}.mindmap-drag-handle{display:inline-grid;place-items:center;min-width:28px;min-height:32px;border:1px solid #cfd9cf;border-radius:7px;background:#f2f6f1;color:#294a37;cursor:grab;-webkit-user-select:none;user-select:none;-webkit-user-drag:element;touch-action:none}.mindmap-drag-handle:active{cursor:grabbing}.mindmap-branch{transition:transform .12s,box-shadow .12s}.mindmap-branch.dragging{opacity:.55;box-shadow:0 0 0 2px #6b9477}.context-sidebar{display:grid;gap:5px;align-content:start;margin-top:12px}.context-sidebar .sidehead{margin-top:8px}.context-create{border:1px dashed #b9cabb;background:#f6faf5;color:#2d4d39;border-radius:9px;padding:10px;text-align:left;font-weight:700;cursor:pointer;margin-top:8px}.context-create:hover{background:#eaf3e9}.mindmap-canvas.free-position-canvas{display:block;position:relative;min-height:650px;height:min(72vh,850px);overflow:auto;touch-action:pan-y;background:radial-gradient(#d7dfd2 1.2px,transparent 1.2px);background-size:20px 20px}.free-position-canvas .mindmap-center{position:absolute;left:50%;top:45%;transform:translate(-50%,-50%);z-index:2}.mindmap-branch.free-position-branch{position:absolute;z-index:3;max-width:240px;touch-action:none;box-shadow:0 5px 15px #263e3018}.mindmap-drag-handle{display:inline-flex;align-items:center;justify-content:center;width:24px;height:28px;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;font-size:18px;color:#526d58;border-radius:5px;background:#e2ebe0}.mindmap-drag-handle:active{cursor:grabbing;background:#c9dbc8}.slide-content-editable{flex:1;min-height:210px;resize:vertical;overflow:auto;border:0;outline:none;padding:10px 0;font:16px/1.8 Arial,Helvetica,sans-serif;color:#4b554b;white-space:pre-wrap;overflow-wrap:anywhere}.slide-content-editable:focus{box-shadow:inset 0 -2px #dbe6d8}.present-slide-content{font-size:clamp(18px,2.4vw,30px);line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.present-slide-content p{margin:.4em 0}.app.signed-out .sidebar>:not(.brand){display:none!important}.app.signed-out .main>:not(.main-header-row):not(.signin-gate):not(.modalback){display:none!important}.signin-gate{margin:10vh auto 0;max-width:650px;padding:42px;text-align:center;background:linear-gradient(135deg,#fff,#edf5ee);border:1px solid #d4e4d6;border-radius:22px;box-shadow:0 18px 50px #25452b12}.signin-gate h1{font-size:clamp(28px,4vw,42px);color:#203c2c;margin:0 0 12px}.signin-gate p{color:#68756a;line-height:1.8;margin:0 auto 24px;max-width:520px}.mindmap-canvas.free-position-canvas{overflow:hidden;touch-action:none}.mindmap-center-draggable{position:absolute!important;transform:translate(-50%,-50%);z-index:5;cursor:grab;touch-action:none}.central-drag-handle{display:inline-block;margin-right:7px;color:#d8eadc;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}.mindmap-center-draggable input{width:200px;max-width:45vw}.readonly-banner{padding:11px 15px;margin:0 0 14px;border:1px solid #e8d7a6;background:#fff8e4;color:#785b16;border-radius:10px;font-size:12px;font-weight:700}.global-accountbar .gradient-button:disabled{opacity:.6;cursor:wait}.app.view-only .main .topbar button,.app.view-only .main .lesson-panel button,.app.view-only .main .toolbar button,.app.view-only .main .toolbar input,.app.view-only .main .paper canvas,.app.view-only .main .page-inserted-element,.app.view-only .main .feature-workspace input,.app.view-only .main .feature-workspace textarea,.app.view-only .main .feature-workspace button.primary,.app.view-only .main .feature-workspace .add-branch,.app.view-only .main .feature-workspace .danger-button,.app.view-only .main .feature-workspace .delete-note{pointer-events:none;opacity:.72}.app.view-only .main .topbar .topactions,.app.view-only .main .toolbar,.app.view-only .main .paperwrap,.app.view-only .main .feature-workspace .slide-editorbar,.app.view-only .main .feature-workspace .slide-canvas,.app.view-only .main .feature-workspace .slide-controls,.app.view-only .main .feature-workspace .quicknote-editor,.app.view-only .main .feature-workspace .mindmap-titlebar,.app.view-only .main .feature-workspace .mindmap-canvas{position:relative}.app.view-only .main .topbar .topactions:after,.app.view-only .main .toolbar:after,.app.view-only .main .paperwrap:after,.app.view-only .main .feature-workspace .slide-editorbar:after,.app.view-only .main .feature-workspace .slide-canvas:after,.app.view-only .main .feature-workspace .slide-controls:after,.app.view-only .main .feature-workspace .quicknote-editor:after,.app.view-only .main .feature-workspace .mindmap-titlebar:after,.app.view-only .main .feature-workspace .mindmap-canvas:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:20;background:transparent;cursor:not-allowed}.mindmap-center-draggable{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;z-index:8!important}.mindmap-center-draggable:active{cursor:grabbing}.mindmap-center-draggable .central-drag-handle{cursor:grab;display:inline-block;padding:0 3px;-webkit-user-select:none;user-select:none}.mindmap-center-draggable input{cursor:text;-webkit-user-select:text;user-select:text;touch-action:auto}.signin-gate button.primary{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:13px 28px;border:1px solid rgba(255,255,255,.42)!important;border-radius:12px;background:linear-gradient(135deg,#3d7955,#214b34)!important;color:#fff!important;font:700 15px/1.2 Arial,Helvetica,sans-serif;letter-spacing:.1px;text-decoration:none;cursor:pointer;box-shadow:0 6px 16px #214c3533,inset 0 1px #ffffff2e;transition:background .18s ease,box-shadow .18s ease,transform .18s ease}.signin-gate button.primary:hover{background:linear-gradient(135deg,#4a8a62,#2a5d40)!important;box-shadow:0 9px 21px #214c3545,inset 0 1px #fff3;transform:translateY(-2px)}.signin-gate button.primary:active{transform:translateY(0);box-shadow:0 3px 8px #214c352e}.signin-gate button.primary:focus-visible{outline:3px solid #91c9a4;outline-offset:3px}@media(prefers-reduced-motion:reduce){.signin-gate button.primary{transition:none}}.quicknote-paper{position:relative;min-height:420px;height:min(62vh,680px);overflow:hidden;border:1px solid #d7dfd7;border-radius:14px;background-color:#fffefa;background-image:repeating-linear-gradient(to bottom,transparent 0,transparent 35px,rgba(91,145,196,.34) 36px,transparent 37px);box-shadow:0 8px 24px #1f392b0f}.quicknote-ink{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;touch-action:none;cursor:crosshair}.quicknote-hint{position:absolute;right:12px;bottom:10px;padding:5px 9px;border-radius:8px;color:#758278;background:#ffffffd6;font-size:12px;pointer-events:none}.billing-modal-backdrop{z-index:5000}.billing-card,.confirm-card{position:relative;width:min(92vw,470px);padding:32px;border:1px solid #dbe7dc;border-radius:24px;background:linear-gradient(145deg,#fff,#f3f8f3);box-shadow:0 24px 80px #10271947;color:#203b2c}.billing-card h2,.confirm-card h2{margin:8px 0 10px;font-size:27px}.billing-card p,.confirm-card p{color:#5e6e63;line-height:1.55}.billing-mark{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;color:#fff;font-size:25px;font-weight:800;background:linear-gradient(135deg,#478862,#214a34);box-shadow:0 7px 16px #214c3538;margin-bottom:18px}.billing-price{display:flex;align-items:baseline;gap:8px;margin:20px 0;padding:16px;border-radius:14px;background:#e9f3eb}.billing-price strong{font-size:34px}.billing-price span{color:#607467}.billing-form{display:grid;gap:14px}.billing-form label{display:grid;gap:7px;font-weight:650}.billing-form input{width:100%;box-sizing:border-box;border:1px solid #cbd9ce;border-radius:11px;padding:13px 14px;font:inherit;background:#fff;color:#203b2c}.billing-pay-button{width:100%;min-height:48px;font-size:15px}.billing-secure{margin-top:18px;font-size:12px;line-height:1.5;color:#68796d}.confirm-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.modal-close{position:absolute;top:13px;right:15px;border:0;background:transparent;font-size:28px;color:#65766a;cursor:pointer}.lesson-panel{min-height:92px!important;padding:16px!important;box-sizing:border-box!important;overflow:visible}.lesson-current{min-height:58px;box-sizing:border-box}.app.view-only .main .lesson-panel{position:relative;z-index:2}.app.view-only .main .lesson-panel select{pointer-events:auto!important;opacity:1!important;cursor:pointer!important;position:relative;z-index:21}.app.view-only .main .lesson-panel button{pointer-events:none!important;opacity:.55!important}@media(max-width:900px){.lesson-panel{min-height:0!important;padding:14px!important}}@media(max-width:1100px){.app{display:flex!important;flex-direction:column!important;width:100%;height:auto!important;min-height:100dvh!important;overflow:visible!important}.main{order:0;width:100%;max-width:100%;height:auto!important;min-height:0!important;overflow:visible!important;padding:14px clamp(12px,3vw,24px) 24px!important}.sidebar{order:1;width:100%!important;min-width:0;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;border-right:0;border-top:1px solid #e9e7e0;padding:14px clamp(12px,3vw,24px) 18px!important}.brand{padding:0 4px 12px!important}.sidebarfoot{margin-top:12px;padding-top:8px}.main-header-row{width:100%;min-width:0;align-items:stretch;flex-direction:column;gap:10px;margin-bottom:14px}.header-workspace-nav{width:100%;min-width:0!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px}.header-workspace-nav button{justify-content:center;min-width:0;white-space:normal!important;overflow-wrap:anywhere;text-align:center;padding:10px 7px!important;line-height:1.25}.global-accountbar{width:100%;min-width:0;margin:0!important;padding:0 0 10px!important;flex-wrap:wrap;justify-content:flex-start!important;border-bottom:1px solid #e8e9e2}.user-identity{min-width:0;flex:1 1 130px}.user-identity strong{max-width:100%;overflow-wrap:anywhere}.subjectlist{display:flex!important;flex-wrap:nowrap;overflow-x:auto;gap:6px;padding-bottom:5px;-webkit-overflow-scrolling:touch}.subject{flex:0 0 auto;max-width:85vw}.workspace-nav:not(.header-workspace-nav){grid-template-columns:repeat(2,minmax(0,1fr))}.lesson-panel{grid-template-columns:minmax(0,1fr)!important;width:100%;min-width:0}.lesson-current{width:100%;min-width:0;white-space:normal!important;flex-wrap:wrap!important}.lesson-search,.lesson-search label,.lesson-search select{width:100%;min-width:0}.toolbar{position:relative;top:auto;width:100%;flex-direction:column;align-items:stretch;overflow:visible}.toolgroup{flex-wrap:wrap;min-width:0}.paperwrap{width:100%;max-height:none!important;min-height:0;overflow:visible;padding:12px 0}.paper{width:100%;max-width:900px}.pagefooter,.pagination{flex-wrap:wrap}.feature-workspace,.feature-header,.presentation-layout,.notes-layout,.mindmap-layout{width:100%;min-width:0}.presentation-layout,.notes-layout,.mindmap-layout{grid-template-columns:minmax(0,1fr);min-height:0}.feature-list{min-width:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.feature-list h3{grid-column:1 / -1}.slide-editor,.quicknote-editor,.mindmap-editor{min-width:0;padding:12px}}@media(max-width:640px){.main{padding:10px 10px 18px!important}.sidebar{padding:12px 10px 16px!important}.brand{gap:9px;padding-bottom:10px!important}.brandicon{width:36px;height:36px;flex:0 0 36px}.brand b{font-size:17px}.brand small{font-size:8px;letter-spacing:1px}.header-workspace-nav{grid-template-columns:repeat(2,minmax(0,1fr))!important}.header-workspace-nav button{min-height:42px;font-size:11px!important}.global-accountbar{gap:7px;align-items:center}.global-accountbar .user-avatar{width:32px;height:32px;flex:0 0 32px}.user-identity{flex:1 1 calc(100% - 48px)}.global-accountbar .gradient-button{flex:1 1 auto;min-height:38px;padding:8px 10px!important;font-size:11px!important}.global-accountbar .text-action{flex:1 1 100%;text-align:left}.topbar,.feature-header{flex-direction:column;align-items:stretch;gap:12px}.topactions{width:100%;flex-direction:row;flex-wrap:wrap}.topactions button{flex:1 1 auto}.toolbar{padding:8px;gap:8px}.toolgroup{gap:4px}.tool{padding:8px 9px;font-size:11px}.colorlabel,.widthlabel{padding:4px 2px}.widthlabel input[type=range]{width:90px}.lesson-fields{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px}.lesson-search label{display:grid;gap:7px}.feature-list{grid-template-columns:minmax(0,1fr)}.slide-editorbar,.slide-editorbar>div,.mindmap-titlebar,.confirm-actions{flex-wrap:wrap}.slide-editorbar>input,.quicknote-editor>input,.mindmap-title{width:100%;min-width:0}.slide-canvas{min-height:300px;padding:16px}.quicknote-paper{min-height:320px;height:55vh}.mindmap-canvas{min-height:460px;overflow:auto}.mindmap-branch input{max-width:42vw;width:120px}.modalback{padding:10px!important}.modal,.billing-card,.confirm-card{width:100%;max-width:100%;padding:20px;border-radius:14px}}.sidebar-toggle{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:38px;padding:8px 11px;border:1px solid #dce5db;border-radius:9px;background:#fff;color:#2e493b;font:700 12px Arial,Helvetica,sans-serif;white-space:nowrap;cursor:pointer;box-shadow:0 2px 6px #243d2b08}.sidebar-toggle:hover{background:#edf4ed;border-color:#b9cfba}.main-header-row{flex-wrap:nowrap;min-width:0}.header-workspace-nav{min-width:0!important}.app{display:flex!important;flex-direction:row!important;height:100dvh!important;min-height:0!important;overflow:hidden!important}.app>.sidebar{display:flex!important;flex:0 0 270px;width:270px;min-width:0;height:100dvh!important;max-height:none!important;min-height:0!important;overflow-x:hidden;overflow-y:auto;padding:25px 17px!important;transition:flex-basis .2s ease,width .2s ease,padding .2s ease,border-color .2s ease}.app>.main{flex:1 1 0;min-width:0;width:0;height:100dvh!important;min-height:0!important;overflow-x:hidden;overflow-y:auto;padding:18px clamp(10px,2.5vw,32px) 20px!important}.app.sidebar-collapsed>.sidebar{flex-basis:0;width:0;padding-left:0!important;padding-right:0!important;border-right:0;overflow:hidden}.app.sidebar-collapsed>.sidebar>*{visibility:hidden}.app.sidebar-collapsed>.main{width:100%}.main-header-row .sidebar-toggle{align-self:center}@media(max-width:900px){.app>.sidebar{flex-basis:235px;width:235px;padding:18px 12px!important}.app.sidebar-collapsed>.sidebar{flex-basis:0;width:0;padding-left:0!important;padding-right:0!important}.app>.main{padding:12px 12px 18px!important}.main-header-row{gap:8px;align-items:center}.header-workspace-nav{gap:4px}.header-workspace-nav button{padding:9px 8px!important;white-space:normal;font-size:11px}.main-header-row .global-accountbar{gap:6px}}@media(max-width:600px){.app>.sidebar{flex-basis:205px;width:205px;padding:12px 9px!important}.app.sidebar-collapsed>.sidebar{flex-basis:0;width:0;padding-left:0!important;padding-right:0!important}.app>.main{padding:10px 9px 16px!important}.main-header-row{flex-wrap:wrap;gap:7px;margin-bottom:10px}.main-header-row .sidebar-toggle{font-size:11px;min-height:36px;padding:7px 8px}.header-workspace-nav{flex:1 1 100%;order:2;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}.main-header-row .global-accountbar{order:3;width:100%;flex-wrap:wrap;justify-content:flex-start}.app>.sidebar .brand{padding:0 2px 18px!important;gap:8px}.app>.sidebar .brandicon{width:34px;height:34px;flex-basis:34px;font-size:19px}.app>.sidebar .brand b{font-size:15px}.app>.sidebar .brand small{font-size:7px;letter-spacing:.6px}.app>.sidebar .sidehead{font-size:9px;letter-spacing:.7px;padding-left:3px;padding-right:3px}.app>.sidebar .subject{padding:10px 6px;gap:6px;font-size:12px}.app>.sidebar .addclass{grid-template-columns:minmax(0,1fr)}.app>.sidebar .addclass button{width:100%}.app>.sidebar .subjectlist{display:grid;overflow:visible}.app>.sidebar .sidebarfoot{display:none}.topbar{flex-direction:column;align-items:stretch;gap:10px}.topactions{flex-direction:row;flex-wrap:wrap}.topactions button{flex:1 1 auto}.lesson-panel{grid-template-columns:minmax(0,1fr)!important}.lesson-current{white-space:normal!important;flex-wrap:wrap!important}.lesson-search label{display:grid;grid-template-columns:1fr;white-space:normal;gap:7px}.paperwrap{max-height:calc(100dvh - 280px);min-height:220px}}@media(prefers-reduced-motion:reduce){.app>.sidebar{transition:none}}html,body,#root{min-height:100%;width:100%}body{overflow-x:hidden}.app{display:flex!important;flex-direction:row!important;align-items:stretch;width:100%;min-height:100dvh!important;height:auto!important;overflow:visible!important}.app>.sidebar{order:0!important;flex:0 0 270px!important;width:270px!important;min-width:0!important;height:100dvh!important;max-height:100dvh!important;min-height:0!important;position:sticky;top:0;align-self:flex-start;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain;border-top:0!important;border-right:1px solid #e9e7e0!important;padding:22px 15px!important;transition:flex-basis .18s ease,width .18s ease,padding .18s ease}.app>.main{order:1!important;flex:1 1 0!important;width:auto!important;min-width:0!important;min-height:100dvh!important;height:auto!important;overflow:visible!important;padding:18px clamp(12px,2.4vw,30px) 24px!important}.app.sidebar-collapsed>.sidebar{flex-basis:0!important;width:0!important;padding-left:0!important;padding-right:0!important;border:0!important;overflow:hidden!important}.app.sidebar-collapsed>.sidebar>*{visibility:hidden!important}.sidebar-toggle{position:relative;z-index:1002}.sidebar-backdrop{display:none}.main-header-row{align-items:center;min-width:0;flex-wrap:wrap!important;gap:10px!important}.header-workspace-nav{flex:1 1 300px!important;min-width:0!important;flex-wrap:wrap}.main-header-row .global-accountbar{flex-wrap:wrap;max-width:100%}@media(min-width:761px)and (max-width:1100px){.app>.sidebar{flex-basis:230px!important;width:230px!important;padding:18px 11px!important}.app>.main{padding:14px 14px 22px!important}.main-header-row{align-items:flex-start}.header-workspace-nav{flex:1 1 100%!important;order:2}.main-header-row .sidebar-toggle{order:0}.main-header-row .global-accountbar{order:1;flex:1 1 auto;justify-content:flex-end}.header-workspace-nav button{white-space:normal!important;min-width:0}}@media(max-width:760px){.app{display:block!important;width:100%;min-height:100dvh!important}.app>.sidebar{position:fixed!important;z-index:1001!important;left:0;top:0;bottom:0;width:min(86vw,310px)!important;max-width:310px;height:100dvh!important;max-height:100dvh!important;min-height:0!important;flex:none!important;padding:16px 13px!important;border-right:1px solid #dfe5dc!important;border-top:0!important;box-shadow:10px 0 35px #1e30251a;transform:translate(0);transition:transform .2s ease}.app.sidebar-collapsed>.sidebar{flex:none!important;width:min(86vw,310px)!important;padding:16px 13px!important;border-right:1px solid #dfe5dc!important;transform:translate(-105%);visibility:visible!important}.app.sidebar-collapsed>.sidebar>*{visibility:visible!important}.app>.main{width:100%!important;min-height:100dvh!important;padding:10px 11px 24px!important}.app:not(.sidebar-collapsed) .sidebar-backdrop{display:block;position:fixed;z-index:1000;top:0;right:0;bottom:0;left:0;width:100%;height:100%;padding:0;margin:0;border:0;border-radius:0;background:#17231b70;cursor:pointer}.main-header-row{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:8px!important;margin-bottom:12px!important}.main-header-row .sidebar-toggle{order:0;flex:0 0 auto;min-height:40px;padding:8px 10px}.header-workspace-nav{order:1;flex:1 1 100%!important;width:100%;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px}.header-workspace-nav button{min-width:0;white-space:normal!important;overflow-wrap:anywhere;text-align:center;line-height:1.25;padding:10px 7px!important}.main-header-row .global-accountbar{order:2;width:100%;flex:1 1 100%;justify-content:flex-start;gap:6px;margin:0!important;padding:8px 0 12px!important;border-bottom:1px solid #e8e9e2}.user-identity{min-width:0;flex:1 1 110px}.user-identity strong{max-width:100%}.global-accountbar .gradient-button{padding:9px 10px!important}.app>.sidebar .brand{padding:0 2px 18px!important}.app>.sidebar .subjectlist{display:grid!important;overflow:visible!important}.app>.sidebar .sidebarfoot{display:grid}.main .toolbar{max-width:100%}.toolgroup{flex-wrap:wrap}.paperwrap{width:100%;max-width:100%;min-height:220px;max-height:none!important;overflow:auto}.pagefooter,.pagination{flex-wrap:wrap}}@media(prefers-reduced-motion:reduce){.app>.sidebar{transition:none!important}}*,*:before,*:after{box-sizing:border-box}html,body,#root{max-width:100%}body{overflow-x:clip}.app{min-width:0!important}.app>.main{min-width:0!important}.app>.sidebar{z-index:1001}.main-header-row{min-width:0}.sidebar-toggle{flex:0 0 auto}.header-workspace-nav button,.global-accountbar{min-width:0}.readonly-banner{overflow-wrap:anywhere}@media(min-width:761px){.app>.sidebar{flex-shrink:0!important}.app.sidebar-collapsed>.sidebar{flex-basis:0!important;width:0!important}.sidebar-backdrop{display:none!important}}@media(min-width:601px)and (max-width:1024px){.app>.sidebar{flex-basis:220px!important;width:220px!important;padding:16px 11px!important}.app>.main{padding:14px 16px 24px!important}.main-header-row{display:flex;align-items:center;flex-wrap:wrap!important;gap:9px!important}.header-workspace-nav{flex:1 1 100%!important;order:3;display:flex;gap:7px}.header-workspace-nav button{flex:1 1 0;padding:10px 8px!important;font-size:13px}.main-header-row .sidebar-toggle{order:0}.main-header-row .global-accountbar{order:2;flex:1 1 auto;width:auto}.global-accountbar .user-identity{max-width:160px}.topbar{gap:12px;align-items:flex-start}.topactions{flex-wrap:wrap}.lesson-panel{grid-template-columns:minmax(0,1fr)!important}}@media(max-width:600px){html,body,#root{width:100%;min-width:0;overflow-x:clip}body{margin:0}.app{display:block!important;width:100%!important;min-width:0!important;overflow:clip}.app>.sidebar{position:fixed!important;inset:0 auto 0 0!important;width:min(86vw,310px)!important;max-width:310px!important;height:100dvh!important;max-height:100dvh!important;padding:16px 13px max(16px,env(safe-area-inset-bottom))!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;transform:translate(0);visibility:visible!important;box-shadow:12px 0 34px #14231a33}.app.sidebar-collapsed>.sidebar{transform:translate(-105%)!important;width:min(86vw,310px)!important;flex:none!important;padding:16px 13px max(16px,env(safe-area-inset-bottom))!important;border-right:1px solid #dfe5dc!important}.app>.main{display:block!important;width:100%!important;min-width:0!important;min-height:100dvh!important;padding:10px 12px max(22px,env(safe-area-inset-bottom))!important;overflow:visible!important}.main-header-row{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:8px!important;margin:0 0 12px!important;padding:0!important}.main-header-row .sidebar-toggle{order:0!important;min-height:38px!important;padding:8px 11px!important;border-radius:12px!important;font-size:12px!important;margin:0 auto 0 0!important}.header-workspace-nav{order:1!important;flex:1 1 100%!important;width:100%!important;display:flex!important;flex-wrap:nowrap!important;gap:7px!important;overflow-x:auto!important;overflow-y:hidden!important;padding:1px 1px 5px!important;scrollbar-width:none;-webkit-overflow-scrolling:touch}.header-workspace-nav::-webkit-scrollbar{display:none}.header-workspace-nav button{flex:0 0 auto!important;width:auto!important;min-width:max-content!important;white-space:nowrap!important;overflow-wrap:normal!important;padding:10px 13px!important;font-size:12px!important;line-height:1.2!important;border-radius:12px!important}.main-header-row .global-accountbar{order:2!important;flex:1 1 100%!important;width:100%!important;display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:7px!important;margin:0!important;padding:6px 0 10px!important;overflow-x:auto!important;overflow-y:hidden!important;border-bottom:1px solid #e8e9e2;scrollbar-width:none}.main-header-row .global-accountbar::-webkit-scrollbar{display:none}.global-accountbar .user-avatar{flex:0 0 34px;width:34px;height:34px}.global-accountbar .user-identity{flex:1 1 100px;min-width:0;max-width:145px}.global-accountbar .user-identity strong{display:block;max-width:100%;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.global-accountbar .user-identity small{display:block;max-width:100%;font-size:10px;line-height:1.25}.global-accountbar button{flex:0 0 auto;white-space:nowrap;font-size:11px!important;padding:9px 11px!important}.readonly-banner{margin:8px 0 14px!important;padding:11px 13px!important;font-size:12px!important;line-height:1.4!important;border-radius:12px!important}.topbar{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:12px!important;margin:12px 0 14px!important}.topbar .eyebrow{font-size:10px!important;letter-spacing:1.2px!important;line-height:1.4}.topbar h1{font-size:clamp(25px,7vw,34px)!important;line-height:1.1!important;margin:6px 0!important}.topbar .classsubtitle{font-size:13px!important}.topactions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;width:100%}.topactions button{min-width:0!important;width:100%;padding:11px 8px!important;font-size:12px!important}.lesson-panel{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;padding:12px!important;margin-bottom:12px!important}.lesson-current{width:100%;min-width:0;gap:8px!important;padding:10px!important}.lesson-current button{flex:0 0 auto;padding:10px!important;font-size:12px!important}.lesson-search{min-width:0!important;width:100%}.lesson-search label{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:6px!important;white-space:normal!important}.lesson-search select{width:100%!important;min-width:0!important}.toolbar{display:flex!important;flex-wrap:wrap!important;gap:7px!important;padding:8px!important;margin:10px 0!important}.toolgroup{display:flex!important;flex-wrap:wrap!important;gap:6px!important;min-width:0}.toolbar button{min-height:40px!important;padding:9px 10px!important;font-size:12px!important}.paperwrap{width:100%!important;max-width:100%!important;min-width:0!important;min-height:240px!important;max-height:none!important;overflow:auto!important}.paper,.paper-page,.canvas-wrap{max-width:100%!important}.pagefooter,.pagination{display:flex!important;flex-wrap:wrap!important;gap:7px!important}.auth-card,.billing-card,.modal-card{width:min(100%,440px)!important;max-width:calc(100vw - 24px)!important}.billing-form input{width:100%!important;min-width:0!important;font-size:16px!important}.billing-form label{min-width:0!important}.billing-price{flex-wrap:wrap}}@media(hover:none)and (pointer:coarse){.sidebar-toggle,.header-workspace-nav button,.topactions button,.toolbar button{touch-action:manipulation}}@media(min-width:1101px){.main-header-row{display:grid!important;grid-template-columns:auto minmax(320px,1fr) auto!important;align-items:center!important;gap:14px!important;width:100%;margin:0 0 14px!important}.main-header-row .sidebar-toggle{grid-column:1;order:0}.main-header-row .header-workspace-nav{grid-column:2;order:1;display:flex!important;flex-flow:row nowrap!important;align-items:stretch;gap:7px!important;min-width:0!important;width:100%!important;margin:0!important;padding:0!important}.main-header-row .header-workspace-nav button{display:flex!important;flex:1 1 0!important;width:auto!important;min-width:0!important;justify-content:flex-start;white-space:nowrap!important;overflow-wrap:normal!important;padding:12px 14px!important}.main-header-row .global-accountbar{grid-column:3;order:2;display:flex!important;flex-flow:row nowrap!important;align-items:center!important;justify-content:flex-end!important;width:auto!important;max-width:100%;min-width:0;margin:0!important;padding:0!important;overflow:visible!important;border:0!important}}@media(min-width:601px)and (max-width:1100px){.main-header-row{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;align-items:center!important;gap:10px!important;margin-bottom:12px!important}.main-header-row .sidebar-toggle{grid-column:1;grid-row:1}.main-header-row .global-accountbar{grid-column:2;grid-row:1;display:flex!important;flex-flow:row nowrap!important;justify-content:flex-end!important;min-width:0!important;width:100%!important;overflow-x:auto!important;margin:0!important}.main-header-row .header-workspace-nav{grid-column:1 / -1;grid-row:2;display:flex!important;flex-flow:row nowrap!important;width:100%!important;gap:7px!important;margin:0!important;padding:0!important;overflow-x:auto!important}.main-header-row .header-workspace-nav button{flex:1 1 0!important;width:auto!important;min-width:max-content!important;white-space:nowrap!important;justify-content:center}}.sidebar-toggle{width:40px!important;min-width:40px!important;height:40px;min-height:40px!important;padding:0!important;gap:0!important;font-size:22px!important;line-height:1;flex:0 0 40px!important;text-align:center}@media(max-width:760px){.app .sidebar-toggle{position:fixed!important;top:164px;left:8px;z-index:1200!important;display:inline-flex;align-items:center;justify-content:center;width:44px!important;min-width:44px!important;height:44px;min-height:44px!important;padding:0!important;border:1px solid #c8d9cb!important;border-radius:14px!important;background:#eef6ef!important;color:#244d37!important;box-shadow:0 3px 10px #1a36272e!important;font-size:26px!important;font-weight:900!important;line-height:1;flex:0 0 44px!important;transition:left .18s ease,box-shadow .18s ease}.app:not(.sidebar-collapsed) .sidebar-toggle{left:calc(81vw - 22px)}}
