/* Shared teacher controls; no effect on the student UI. */
.teacher-ui .teacher-native-select{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:0!important;opacity:0!important;clip-path:inset(50%);pointer-events:none}
.teacher-ui .teacher-select{display:inline-flex;align-items:center;justify-content:space-between;gap:16px;max-width:100%;min-height:38px;padding:9px 13px;border:1px solid #dce5f1;border-radius:9px;background:#fff;color:#314765;font:inherit;font-size:13px;text-align:left;cursor:pointer;white-space:nowrap;box-shadow:0 1px 2px #23446605}
.teacher-ui label>.teacher-select{width:100%;margin-top:7px}.teacher-ui .teacher-select:after{content:'';width:6px;height:6px;border-right:1.5px solid #8798ae;border-bottom:1.5px solid #8798ae;transform:rotate(45deg);flex:none;margin-left:auto;margin-top:-4px}.teacher-ui .teacher-select:hover,.teacher-ui .teacher-select[aria-expanded=true]{border-color:#789bc9;background:#f7faff}.teacher-ui .teacher-select:focus-visible{outline:3px solid #527cb52b;border-color:#527cb5}.teacher-ui .teacher-select:disabled{opacity:.5;cursor:default}.teacher-ui .teacher-select-compact{min-height:32px;padding:6px 10px;font-size:12px}
.teacher-menu{position:fixed;z-index:30000;display:flex;flex-direction:column;overflow:hidden;background:#fff;border:1px solid #dde5ef;border-radius:12px;box-shadow:0 12px 40px #223e5b26;padding:6px;color:#263c59;font:13px/1.5 Inter,"PingFang SC",sans-serif}.teacher-menu-list{overflow:auto;min-height:0}.teacher-menu-option{position:relative;display:block;width:100%;border:0;border-radius:7px;background:transparent;text-align:left;white-space:normal;padding:10px 30px 10px 12px;color:#40556e;cursor:pointer;font:inherit}.teacher-menu-option:hover,.teacher-menu-option:focus-visible{background:#f0f5fb;outline:0}.teacher-menu-option[aria-selected=true]{background:#eaf1fb;color:#315f9d;font-weight:600}.teacher-menu-option[aria-selected=true]:after{content:'✓';position:absolute;right:11px}.teacher-menu-option:disabled{opacity:.4;cursor:default}.teacher-menu-search{border:1px solid #e0e7f0;border-radius:8px;padding:9px 10px;width:100%;margin-bottom:5px;font:inherit;box-sizing:border-box}.teacher-menu-group{padding:10px 12px 5px;font-size:11px;color:#8996a8}
.teacher-dialog-mask{position:fixed;inset:0;z-index:31000;display:grid;place-items:center;padding:24px;background:#172d4b55;backdrop-filter:blur(5px)}.teacher-dialog{box-sizing:border-box;width:min(460px,100%);padding:28px;border:1px solid #e1e8f2;border-radius:18px;background:#fff;box-shadow:0 20px 80px #152f4e2a;color:#263c59;font:14px/1.7 Inter,"PingFang SC",sans-serif}.teacher-dialog h2{font-size:20px;margin:0 0 12px}.teacher-dialog p{white-space:pre-line;color:#6d7e93}.teacher-dialog input{box-sizing:border-box;width:100%;border:1px solid #dce5f0;border-radius:8px;padding:10px;font:inherit}.teacher-dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.teacher-dialog-actions button{border:1px solid #dce5f0;border-radius:8px;background:white;color:#4a5d76;padding:9px 20px;cursor:pointer;font:inherit}.teacher-dialog-actions .primary{background:#365f98;color:white;border-color:#365f98}
.teacher-ui #modal,.teacher-ui .authoring-host .modal{border:1px solid #e1e8f2;border-radius:18px;box-shadow:0 24px 80px #15325330;padding:30px;max-height:calc(100dvh - 48px);overflow:auto}.teacher-ui #mask,.teacher-ui .authoring-host .modal-scrim{backdrop-filter:blur(5px);background:#172d4b55}.teacher-ui #modal h2,.teacher-ui .authoring-host .modal h2{font-size:23px;letter-spacing:0;color:#243b59}.teacher-ui #modal label{font-size:13px;color:#64768e}.teacher-ui #modal input:not([type=checkbox]):not([type=radio]),.teacher-ui #modal textarea{border:1px solid #dce5ef;border-radius:8px;padding:11px 12px;box-shadow:none}.teacher-ui #modal .modal-close,.teacher-ui .authoring-host .modal .close{width:32px;height:32px;border-radius:50%;background:#f3f6fa;color:#7e90a7;display:grid;place-items:center;padding:0}.teacher-ui #modal button{border-radius:8px}
