.material-editor-modal{width:min(1480px,98vw);max-width:none;height:96dvh;max-height:96dvh;padding:0;border:1px solid #ddd9ed;border-radius:20px;color:#090629;background:#fff;overflow:hidden;box-shadow:0 24px 100px #09062955}
.material-editor-modal::backdrop{background:#09062999;backdrop-filter:blur(4px)}
.material-editor{height:100%;display:flex;flex-direction:column;min-height:0;text-align:left}
.material-editor-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px 12px;border-bottom:1px solid #eae7f2;background:#fff;flex-shrink:0}
.material-editor-header .eyebrow{color:#5a4cb8;font-size:10px;letter-spacing:.13em}
.material-editor-header h2{margin:4px 0;font-size:21px;line-height:1.25;overflow-wrap:anywhere}
.material-editor-header [data-save-status]{margin:4px 0 0;font-size:12px;color:#16805d;max-width:750px}
.material-editor-header [data-save-status].has-error{color:#b42345}
.material-editor-header-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}
.material-icon-button{border:1px solid #e6e2f1;border-radius:10px;background:#fff;color:#443993;font-size:23px;line-height:1;width:36px;height:36px;display:inline-flex;justify-content:center;align-items:center;cursor:pointer;flex-shrink:0}
.material-icon-button:hover{background:#f0edf9}.material-icon-button:disabled{opacity:.35;cursor:default}
.material-editor button:focus-visible,.material-editor input:focus-visible,.material-editor select:focus-visible{outline:3px solid #e4267980;outline-offset:2px}
.material-editor-context{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;padding:9px 22px;background:#faf9fd;border-bottom:1px solid #eae7f2;flex-shrink:0}
.material-editor-context label{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:600;color:#777089}
.material-editor select{background:#fff;border:1px solid #e2deee;border-radius:8px;padding:7px 24px 7px 9px;color:#090629;font:inherit;font-size:12px;max-width:270px}
.material-editor-context>.textbtn{margin-left:auto;font-size:12px}
.material-editor-toolbar{display:flex;align-items:center;gap:12px;padding:8px 18px;background:#fff;border-bottom:1px solid #e5e1ed;flex-wrap:wrap;flex-shrink:0}
.material-tool-group{display:flex;gap:3px}
.material-tool{width:53px;min-height:51px;border:1px solid transparent;background:transparent;border-radius:10px;color:#6c657c;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;padding:3px}
.material-tool>span{font-size:23px;line-height:1.1}.material-tool small{font-size:9px;white-space:nowrap}
.material-tool:hover{background:#f5f3fb}.material-tool.active{background:#ece9fb;color:#5a4cb8;border-color:#c5bcef}
.material-tool:disabled{opacity:.35;cursor:default}
.material-tool-settings{display:flex;align-items:center;gap:12px;padding-left:12px;border-left:1px solid #eae7f2;flex-wrap:wrap}
.material-palette{display:flex;gap:6px;align-items:center}
.material-palette button{width:19px;height:19px;min-width:19px;border:2px solid #fff;box-shadow:0 0 0 1px #d9d3e7;border-radius:50%;background:var(--swatch);cursor:pointer}
.material-palette button:hover{transform:scale(1.2)}
.material-palette input[type=color]{width:24px;height:25px;padding:0;border:0;background:none;cursor:pointer}
.material-size,.material-font{display:flex;gap:5px;align-items:center;font-size:10px;color:#6c657c}
.material-size input{width:75px;accent-color:#5a4cb8}.material-font select{padding:5px;font-size:11px}
.material-tool-actions{display:flex;align-items:center;gap:5px;margin-left:auto}.material-tool-actions>.textbtn{font-size:10px;max-width:100px;line-height:1.25}
.material-editor-viewport{overflow:auto;overscroll-behavior:contain;flex:1;min-height:80px;background:#efedf5;scrollbar-gutter:stable;touch-action:pan-x pan-y pinch-zoom}
.material-editor-viewport>[data-editor-empty]{text-align:center;padding:50px 20px;color:#766e87}
.material-editor-pages{display:flex;flex-direction:column;align-items:center;min-width:100%;width:max-content;padding:18px 20px 35px;box-sizing:border-box;gap:24px}
.material-sheet-wrap{width:max-content;max-width:none}.material-sheet-label{font-size:10px;color:#7b738e;padding:0 0 6px 3px;letter-spacing:.03em}
.material-sheet{position:relative;width:800px;background:#fff;box-shadow:0 3px 18px #24134215;scroll-margin-top:24px;isolation:isolate}
.material-sheet-base{position:absolute;inset:0;overflow:hidden}.material-sheet-base>canvas,.material-sheet-base>svg,.material-sheet-base>img{width:100%;height:100%;display:block;object-fit:contain}
.material-sheet-ink{position:absolute;inset:0;width:100%;height:100%;touch-action:none;cursor:crosshair}
.material-editor-modal[data-tool=hand] .material-sheet-ink,.material-editor-modal:not([data-tool]) .material-sheet-ink{touch-action:pan-x pan-y pinch-zoom;cursor:grab}
.material-editor-modal[data-tool=select] .material-sheet-ink{cursor:move}.material-editor-modal[data-tool=text] .material-sheet-ink{cursor:text}
.material-editor-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;border-top:1px solid #e5e1ed;background:#fff;padding:8px 20px;flex-shrink:0}
.material-editor-footer>div{display:flex;align-items:center;gap:6px}.material-editor-footer label{font-size:11px;color:#766e87;display:flex;align-items:center;gap:5px}
.material-editor-footer input{width:45px;padding:5px;border:1px solid #e2deee;border-radius:7px;text-align:center;font:inherit;color:#090629}
.material-editor-hint{font-size:10px;color:#82798f;text-align:center}.material-editor-footer [data-zoom]{font-size:12px;min-width:45px}
.material-text-editor{position:absolute;z-index:4;background:#fff;padding:10px;border:2px solid #5a4cb8;border-radius:10px;box-shadow:0 5px 30px #09062930;width:290px;max-width:80%;display:flex;flex-wrap:wrap;gap:8px}
.material-text-editor textarea{width:100%;min-height:100px;resize:vertical;padding:8px;border:1px solid #e2deee;color:#090629;font:16px Arial,sans-serif;border-radius:5px;background:#fff}
.student-material-open{display:inline-block;font-size:11px;color:#5a4cb8;margin-top:6px}
.online-quick-colors{display:inline-flex;gap:5px}.online-quick-colors button{height:20px;width:20px;border:2px solid #fff;border-radius:50%;background:var(--swatch);box-shadow:0 0 0 1px #ddd;cursor:pointer}
@media(min-width:1100px){.material-editor-toolbar{gap:9px}.material-tool-settings{flex:1}.material-palette{margin-right:6px}}
@media(max-width:850px){.material-editor-header{padding:12px 14px;align-items:flex-start}.material-editor-header h2{font-size:17px}.material-editor-header-actions{gap:5px}.material-editor-header-actions .btn{font-size:11px;padding:8px}.material-editor-context{gap:8px;padding:8px 12px}.material-editor-context label{flex:1;min-width:120px;flex-direction:column;align-items:flex-start;gap:3px}.material-editor-context select{width:100%;max-width:100%}.material-editor-toolbar{padding:5px 10px;gap:7px}.material-tool-group{width:100%;overflow-x:auto}.material-tool{flex:1;min-width:43px;min-height:45px}.material-tool small{font-size:8px}.material-tool-settings{border:0;padding-left:0;gap:8px}.material-tool-actions{margin-left:auto}.material-editor-hint{display:none}.material-editor-footer{padding:7px 12px}}
@media(max-width:500px){.material-editor-modal{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0}.material-editor-header{gap:6px}.material-editor-header .eyebrow{font-size:8px}.material-editor-header h2{font-size:15px;max-width:200px}.material-editor-header [data-save-status]{font-size:10px}.material-editor-header-actions{flex-wrap:wrap;justify-content:flex-end;max-width:180px}.material-editor-header-actions [data-save-button]{display:none}.material-editor-header-actions .btn{font-size:10px}.material-editor-context label{min-width:95px}.material-editor-context>.textbtn{font-size:10px;margin-left:0}.material-tool{min-width:42px}.material-tool-settings{gap:5px}.material-palette{gap:4px}.material-palette button{width:16px;height:16px;min-width:16px}.material-size input{width:46px}.material-font{display:none}.material-tool-actions>.textbtn{max-width:68px;font-size:9px}.material-editor-pages{padding-left:14px;padding-right:14px}}

.annotation-homework-choice{display:flex!important;align-items:flex-start;gap:8px}.annotation-homework-choice input[type=checkbox]{width:auto;flex:0 0 auto;margin-top:3px;accent-color:#5a4cb8}
