:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#172033;background:#eef4fb;font-size:14px;--admin-bg: #eef4fb;--admin-sider: #071a32;--admin-sider-soft: #0d2749;--admin-primary: #2475ff;--admin-border: #d9e4f2;--admin-muted: #66758b}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:var(--admin-bg);-webkit-font-smoothing:antialiased}html,body,#root{height:100%}.admin-shell{height:100vh;min-height:0;overflow:hidden;background:var(--admin-bg)}.admin-sider{height:100vh;overflow:hidden;border-right:1px solid #dfe7f2;background:#fffffff5!important}.app-sider-inner{position:relative;min-height:100vh;display:flex;flex-direction:column}.sider-brand{height:64px;display:flex;align-items:center;gap:10px;padding:0 18px;border-bottom:1px solid #dce5f0}.sider-brand .ant-typography{display:block;color:#0c2140;font-size:14px;line-height:1.35}.sider-brand .ant-typography-secondary{color:#718198;font-size:12px}.logo-avatar{background:var(--admin-primary);font-weight:800}.sider-brand .ant-avatar{width:34px;height:34px;line-height:34px;font-size:13px}.ant-layout-sider-collapsed .sider-brand{justify-content:center;padding:0}.ant-layout-sider-collapsed .sider-brand .ant-avatar{width:28px;height:28px;line-height:28px;font-size:11px}.ant-layout-sider-collapsed .sider-brand>div{display:none}.app-menu.ant-menu{flex:1;padding:10px 10px 16px;border-inline-end:0!important;background:transparent}.ant-layout-sider-collapsed .app-menu.ant-menu{padding:10px 4px 16px}.app-menu .ant-menu-item{height:40px;margin:3px 0;padding-inline:14px!important;border-radius:8px;color:#41506a;font-size:14px;font-weight:600}.ant-layout-sider-collapsed .app-menu .ant-menu-item{width:40px;margin-inline:auto}.app-menu .ant-menu-item .anticon{color:#52647d;font-size:16px}.app-menu .ant-menu-item-selected{color:#176bff!important;background:#edf5ff!important}.app-menu .ant-menu-item-selected .anticon{color:#176bff}.admin-main{min-width:0;height:100vh;min-height:0;overflow:hidden;background:var(--admin-bg)}.admin-header{height:64px;flex:0 0 64px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 24px;background:#fffffff0;border-bottom:1px solid var(--admin-border)}.admin-header-left{min-width:0;display:flex;align-items:center;gap:10px}.admin-header .ant-typography{color:#16243b;font-size:16px}.admin-icon-button{width:32px;height:32px;display:grid;place-items:center;flex:0 0 auto;border:1px solid #d8e2ef;border-radius:8px;color:#334155;background:#fff;cursor:pointer}.admin-icon-button:hover{background:#f1f6fd}.admin-account-trigger{height:38px;display:inline-flex;align-items:center;gap:9px;padding:0 10px 0 4px;border:1px solid #dce6f2;border-radius:8px;color:#20314d;background:#fff;cursor:pointer}.admin-account-name{max-width:120px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:650}.admin-auth{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 18% 16%,rgba(36,117,255,.12),transparent 30%),linear-gradient(140deg,#f7fbff,#edf5fb 56%,#f8fbff)}.admin-login-card{width:min(420px,100%);border:1px solid var(--admin-border);border-radius:8px;box-shadow:0 28px 90px #1c315224}.admin-login-card .ant-card-body{padding:32px}.admin-login-brand{display:flex;align-items:center;gap:14px;margin-bottom:26px}.admin-login-brand h3{margin:0;color:#11213b}.admin-login-logo{color:#fff;background:var(--admin-primary);font-weight:800}.admin-login-card .ant-btn-lg{height:46px;border-radius:6px;font-weight:750}.avatar-picker-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(64px,1fr));gap:10px}.avatar-picker-item{position:relative;height:72px;display:grid;place-items:center;border:1px solid #dbe5f2;border-radius:8px;background:#fff;cursor:pointer;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}.avatar-picker-item:hover{border-color:#9dc0ff;background:#f7fbff}.avatar-picker-item.selected{border-color:#2475ff;background:#eff6ff;box-shadow:inset 0 0 0 1px #2475ff}.avatar-picker-check{position:absolute;right:6px;bottom:6px;width:18px;height:18px;display:grid;place-items:center;border-radius:50%;color:#fff;background:#2475ff;font-size:10px}.admin-page{flex:1 1 auto;min-height:0;height:calc(100vh - 64px);padding:20px;overflow:auto}.admin-content{min-height:0;display:grid;gap:16px}.admin-alert{border-radius:8px}.admin-card{border:1px solid var(--admin-border);border-radius:8px;box-shadow:0 16px 34px #20355a12}.admin-card .ant-card-head{min-height:48px;border-bottom-color:#e7edf6;background:#fbfdff}.admin-card .ant-card-head-title{color:#14223a;font-size:15px;font-weight:750}.admin-card .ant-card-body{padding:18px}.admin-card .ant-form-item-label>label{color:#3d4b61;font-weight:650}.admin-card .ant-input,.admin-card .ant-input-affix-wrapper,.admin-card .ant-select-selector{border-color:#d9e4f2!important}.account-id-cell{display:inline-block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace}.form-actions{width:100%;justify-content:flex-end}.ant-table-wrapper .ant-table{color:#243047}.ant-table-wrapper .ant-table-thead>tr>th{color:#536176;background:#f7f9fc;border-bottom-color:#dde7f4;font-weight:750}.ant-table-wrapper .ant-table-tbody>tr:hover>td{background:#f4f8ff}.ant-btn-primary{box-shadow:0 8px 16px #2475ff2e}.relation-manager-card .ant-card-body{display:grid;gap:16px}.relation-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px}.relation-toolbar .ant-input-search{width:min(360px,100%)}.relation-summary{flex-wrap:wrap;justify-content:flex-end}.teacher-relation-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:14px}.teacher-relation-card{min-width:0;min-height:240px;display:flex;flex-direction:column;gap:12px;padding:14px;border:1px solid #dfe8f3;border-radius:8px;background:#fff}.teacher-relation-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.teacher-relation-head .ant-tag{flex:0 0 auto;margin-inline-end:0}.teacher-relation-name,.teacher-student-copy{min-width:0;display:grid;gap:3px}.teacher-relation-name .ant-typography,.teacher-student-copy .ant-typography{max-width:100%;margin:0}.teacher-student-add-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:10px;border:1px solid #edf2f8;border-radius:8px;background:#f8fbff}.teacher-student-add-row .ant-select{min-width:0}.teacher-student-list{flex:1 1 auto;min-height:86px;display:grid;align-content:start;gap:8px}.teacher-student-row{min-width:0;min-height:44px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px 10px;border:1px solid #edf2f8;border-radius:8px;background:#fbfdff}.teacher-student-list .ant-empty{margin:8px 0}.admin-mobile-drawer .ant-drawer-body{padding:0;overflow:hidden}.admin-mobile-drawer .app-sider-inner{height:auto;min-height:0}.admin-mobile-drawer .sider-brand{display:none}.admin-mobile-drawer .ant-drawer-header{min-height:48px;padding:0 14px}.admin-mobile-drawer .ant-drawer-title{font-size:14px;font-weight:700}.admin-mobile-drawer .ant-drawer-close{width:32px;height:32px;margin-inline-end:6px}.admin-mobile-drawer .app-menu.ant-menu{flex:0 0 auto;padding:8px}.admin-mobile-drawer .app-menu .ant-menu-item{margin:3px 0}@media(max-width:991px){.admin-header{height:56px;flex-basis:56px;padding:0 12px}.admin-header-left{flex:1 1 auto}.admin-header-left>.ant-typography{display:none}.admin-account-name{display:none}.admin-account-trigger{width:36px;height:36px;justify-content:center;gap:0;padding:0}.admin-account-trigger .ant-avatar{width:32px;height:32px}.admin-account-trigger .anticon-down{display:none}.admin-page{height:calc(100vh - 56px);padding:12px}.admin-login-card .ant-card-body{padding:24px}.relation-toolbar{align-items:stretch;flex-direction:column}.relation-toolbar .ant-input-search{width:100%}.relation-summary{justify-content:flex-start}}@media(max-width:560px){.admin-card .ant-card-body{padding:14px}.table-toolbar{width:100%}.table-toolbar .ant-input-search,.table-toolbar .ant-select{width:100%!important}.teacher-relation-grid{grid-template-columns:1fr}.teacher-relation-head,.teacher-student-row{align-items:stretch;grid-template-columns:1fr}.teacher-relation-head{display:grid}.teacher-student-add-row{grid-template-columns:1fr}}.paper-page-content{min-height:0;display:flex}.paper-list-view,.paper-editor-view{width:100%;min-height:0}.paper-list-card,.paper-editor-card{width:100%;min-width:0;min-height:0;border-radius:8px;border-color:#e1e9f3;box-shadow:none}.paper-list-card .ant-card-body,.paper-editor-card .ant-card-body{min-height:0;display:flex;flex-direction:column;padding:14px;background:#fff}.paper-list-head,.paper-editor-head,.module-editor-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.paper-list-heading{min-width:0;display:flex;align-items:baseline;gap:10px}.paper-list-heading .ant-typography-secondary{font-size:12px}.paper-list-actions{justify-content:flex-end}.paper-list-search{width:min(280px,100%)}.paper-library-layout{flex:1 1 auto;min-height:0;display:grid;grid-template-columns:188px minmax(0,1fr);gap:12px;overflow:hidden}.paper-category-sidebar,.paper-category-panel{min-width:0;min-height:0;border:1px solid #e1e9f3;border-radius:8px;overflow:hidden}.paper-category-sidebar{display:flex;flex-direction:column;background:#f8fbff}.paper-category-sidebar-title{flex:0 0 auto;padding:11px 12px;border-bottom:1px solid #e6eef8;color:#6a7890;font-size:12px;font-weight:700}.paper-category-nav-list{min-height:0;display:flex;flex-direction:column;gap:4px;overflow-y:auto;padding:8px}.paper-category-nav-item{width:100%;min-height:36px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:7px 8px;border:1px solid transparent;border-radius:7px;background:transparent;color:#334155;text-align:left;cursor:pointer}.paper-category-nav-item:hover{background:#eef6ff}.paper-category-nav-item.active{border-color:#cfe0ff;background:#eaf3ff;color:#176bff}.paper-category-nav-name{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:14px;font-weight:650}.paper-category-nav-count{min-width:24px;height:22px;display:inline-grid;place-items:center;padding:0 7px;border-radius:999px;background:#fff;color:#68788f;font-size:12px;font-weight:700}.paper-category-nav-item.active .paper-category-nav-count{background:#176bff;color:#fff}.paper-category-panel{display:flex;flex-direction:column;background:#fff}.paper-category-panel-head{flex:0 0 auto;min-height:52px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-bottom:1px solid #e8eef6;background:#fbfdff}.paper-category-panel-title{min-width:0;display:flex;align-items:baseline;gap:8px}.paper-category-panel-title .ant-typography{min-width:0}.paper-category-panel-title .ant-typography-secondary{flex:0 0 auto;font-size:12px}.paper-category-panel-actions{flex:0 0 auto;justify-content:flex-end}.paper-category-paper-list{flex:1 1 auto;padding:12px}.paper-card-tags{min-width:0;display:inline-flex;align-items:center;gap:6px}.paper-card-tags .ant-tag,.paper-category-tag{margin-inline-end:0}.paper-editor-category-tag{min-height:28px;display:inline-flex;align-items:center;margin:0}.paper-category-modal-content{width:100%}.paper-category-suggestions{display:flex;flex-direction:column;gap:8px}.paper-category-action-button{max-width:112px}.paper-category-empty{grid-column:1 / -1;padding:18px 0}.compact-addon{min-width:44px;display:inline-flex;align-items:center;justify-content:center;padding:0 10px;border:1px solid #d9d9d9;background:#f7f9fc;color:#536176;font-size:13px;line-height:30px;white-space:nowrap}.compact-addon-icon{min-width:32px;padding:0 8px}.module-duration-input{width:86px}.paper-list-item{min-width:0;min-height:218px;display:flex;flex-direction:column;gap:12px;padding:14px;border:1px solid #dfe8f3;border-radius:8px;background:#fff;color:inherit;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease,transform .16s ease}.paper-list-item.active{border-color:#b7d0ff;background:#f0f6ff}.paper-list-item:hover{border-color:#d5e4ff;background:#f7fbff;box-shadow:0 10px 26px #1f447814;transform:translateY(-1px)}.paper-list-item-main{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:12px;padding:0;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer}.paper-list-item-actions{flex:0 0 auto;width:100%;min-width:0;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;padding-top:12px;border-top:1px solid #edf2f8}.paper-list-item-actions .ant-checkbox-wrapper{flex:0 0 auto;color:#4d5d73;font-size:13px}.paper-card-action-buttons{min-width:0;display:flex;flex-wrap:wrap;flex:1 1 auto;align-items:center;justify-content:flex-end;gap:6px}.paper-card-action-buttons .ant-btn{flex:0 1 auto}.paper-list-item-title{width:100%;color:#172033;font-size:15px;line-height:1.35}.paper-card-topline{min-height:24px;display:flex;align-items:center;justify-content:space-between;gap:8px}.paper-card-topline .ant-typography-secondary{flex:0 0 auto;font-size:12px}.paper-card-stats{display:flex}.paper-card-stats>span{min-width:0;display:inline-flex;align-items:baseline;gap:6px;padding:10px 12px;border:1px solid #edf2f8;border-radius:8px;background:#f8fbff}.paper-card-stats strong{color:#176bff;font-size:22px;line-height:1}.paper-card-stats em{color:#6d7b90;font-size:12px;font-style:normal}.paper-card-modules{display:grid;grid-template-columns:1fr 1fr;gap:6px}.paper-module-chip{min-width:0;height:28px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 9px;border-radius:6px;background:#f1f6fd;color:#536176;font-size:12px}.paper-module-chip span{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.paper-module-chip strong{flex:0 0 auto;color:#172033}.paper-list-loading{flex:1 1 auto;display:grid;place-items:center}.paper-list{min-height:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px;align-content:start;overflow-y:auto;padding:2px 4px 6px 2px}.paper-list.paper-category-paper-list{overflow-y:auto}.paper-name-input{width:min(520px,100%);flex:1 1 auto}.paper-editor-head .ant-space{flex-wrap:wrap}.paper-editor-head{margin:-14px -14px 12px;padding:14px 14px 12px;background:#fff;border-bottom:1px solid #edf2f8}.paper-editor-loading{min-height:360px;display:grid;place-items:center}.paper-editor-card .ant-tabs{min-height:0}.paper-editor-card .ant-tabs-nav{margin-left:-14px;margin-right:-14px;padding:0 14px;margin-bottom:8px;background:#fff;box-shadow:0 1px #edf2f8}.paper-editor-card .ant-tabs-content-holder,.paper-editor-card .ant-tabs-content,.paper-editor-card .ant-tabs-tabpane{min-height:0}.module-editor{min-height:0;display:grid;gap:12px}.module-editor-head{align-items:center;margin:0 -14px;padding:10px 14px;border:1px solid #e5edf7;border-inline:0;border-radius:0;background:#fff;box-shadow:none}.module-editor-controls{min-width:0}.module-directions-editor{min-width:0;display:grid;grid-template-rows:auto minmax(0,auto);overflow:hidden;margin:0 -14px;border:1px solid #e5edf7;border-inline:0;border-radius:0;background:#fff;box-shadow:0 1px #edf2f8}.module-directions-editor .question-shared-toolbar{border-bottom:1px solid #e5edf7}.module-directions-editor .rich-editor{border:0;border-radius:0}.module-directions-editor .rich-editor-surface{max-height:132px;overflow:auto}.question-editor-list{min-height:0;padding-right:4px;display:grid;align-content:start;gap:12px}.question-editor-card{border-color:#dfe8f3;border-radius:8px;box-shadow:none;background:#fff}.question-editor-card .ant-card-head{min-height:42px;padding:0 14px;border-bottom-color:#e8eef7;background:#fff}.question-editor-card .ant-card-head-wrapper{gap:12px}.question-editor-card .ant-card-head-title{min-width:0}.question-editor-card .ant-card-extra{min-width:0;margin-inline-start:auto}.question-editor-card .ant-card-body{padding:0}.question-editor-card.collapsed .ant-card-body{display:none}.question-editor-toggle{display:inline-flex;align-items:center;gap:8px;border:0;padding:0;color:#1a2740;background:transparent;font:inherit;font-weight:800;cursor:pointer}.question-editor-toggle .anticon{color:#6f7d92;font-size:12px}.question-editor-toggle:hover,.question-editor-toggle:hover .anticon{color:#176bff}.question-editor-card-actions{min-width:0;display:inline-flex;align-items:center;justify-content:flex-end;gap:8px}.question-knowledge-summary,.question-score-summary{max-width:180px;margin-inline-end:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.question-score-summary{min-width:48px;text-align:center}.question-editor-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:0;border-top:1px solid #edf2f7}.question-shared-editor{display:grid;gap:0}.question-shared-toolbar{display:flex;align-items:center;justify-content:flex-start;gap:10px;padding:8px 12px;border:0;background:#f8fbff;box-shadow:none}.active-editor-pill{order:2;flex:0 0 auto;display:inline-flex;align-items:center;min-height:26px;padding:0 10px;border-radius:999px;color:#176bff;background:#edf5ff;font-size:12px;font-weight:800}.question-editor-main,.question-editor-side{min-width:0;display:grid;align-content:start;gap:10px;padding:12px}.question-editor-side{border-left:1px solid #edf2f7;background:#fbfdff}.editor-section{display:grid;gap:8px;padding:0;border:0;border-radius:0;background:transparent}.editor-section-primary{background:transparent}.editor-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.editor-section-head .ant-typography-secondary{font-size:12px}.editor-section-head.compact{min-height:28px}.question-answer-config,.question-knowledge-config,.question-score-config,.text-answer-config{display:grid;gap:8px}.question-meta-config{display:grid;grid-template-columns:minmax(0,1fr) 104px;gap:10px;align-items:start}.question-knowledge-config .ant-select,.question-score-config .ant-input-number{width:100%}.module-unassigned-filter{min-height:32px}.question-answer-config .ant-radio-group{display:flex;width:100%}.question-answer-config .ant-radio-button-wrapper{flex:1;text-align:center}.option-editor-list{display:grid;gap:8px}.option-editor-row{display:grid;grid-template-columns:48px minmax(0,1fr);gap:8px;align-items:stretch;padding:8px;border:1px solid #e5edf7;border-radius:8px;background:#fff}.option-label-badge{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:32px;height:32px;align-self:center;justify-self:center;display:grid;place-items:center;border:2px solid #cfd9e8;border-radius:999px;color:#536176;background:#f8fbff;cursor:pointer;font:inherit;font-weight:800;line-height:1;padding:0;transition:border-color .16s ease,background .16s ease,color .16s ease,box-shadow .16s ease}.option-label-badge:hover{border-color:#176bff;color:#176bff;background:#eff5ff}.option-label-badge:focus-visible{outline:none;box-shadow:0 0 0 3px #176bff29}.option-label-badge.active{color:#fff;border-color:#176bff;background:#176bff}.option-label-badge.active:hover{color:#fff;background:#0f5be6}.module-empty-state{padding:40px 0}.rich-editor{min-width:0;border:1px solid #dfe8f3;border-radius:6px;background:#fff;overflow:hidden;cursor:text}.rich-editor.active{border-color:#176bff;box-shadow:0 0 0 2px #176bff1a}.rich-editor-with-toolbar{min-width:0;border:1px solid #dfe8f3;border-radius:8px;background:#fff;overflow:hidden}.rich-editor-with-toolbar .rich-editor{border:0;border-radius:0}.rich-editor-toolbar{order:1;width:100%;flex:1 1 auto;align-items:center;gap:6px!important;padding:8px 10px;border-bottom:1px solid #e3ebf5;background:#f7fbff;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin}.rich-editor-toolbar.ant-space{justify-content:flex-start}.rich-editor-toolbar .ant-space-item{flex:0 0 auto}.rich-editor-toolbar .ant-btn,.rich-editor-toolbar .ant-input-number,.rich-editor-toolbar .ant-input-affix-wrapper,.rich-editor-toolbar .compact-addon{height:30px;border-radius:6px}.rich-editor-toolbar .ant-btn{min-width:30px;padding:0 9px;display:inline-flex;align-items:center;justify-content:center}.rich-editor-toolbar .ant-btn .anticon{font-size:14px}.rich-editor-toolbar .ant-btn span:not(.anticon){line-height:1}.rich-editor-toolbar .ant-btn.ant-btn-sm{line-height:1}.rich-editor-toolbar .ant-input-number{width:72px}.rich-editor-font-size-wheel{display:inline-flex}.rich-editor-font-size-input{width:62px}.rich-editor-font-size-input .ant-input-number-input{text-align:center}.rich-editor-latex-input{width:170px}.rich-editor-latex-search{flex:0 0 auto}.rich-editor-block-math-button{min-width:36px;font-weight:700;letter-spacing:0}.rich-editor-math-modal-help{color:var(--text-muted);font-size:13px}.rich-editor-surface{min-height:inherit;padding:12px;cursor:text}.rich-editor-surface .tiptap{min-height:inherit}.rich-editor-content,.rich-renderer-content{outline:none;font-size:14px;line-height:1.65}.rich-editor .ProseMirror{min-height:inherit;padding:0;outline:none}.rich-editor .ProseMirror:focus{outline:none}.rich-editor .ProseMirror p{margin:0 0 .85em}.rich-editor .ProseMirror p:last-child{margin-bottom:0}.rich-editor-content p:first-child,.rich-renderer-content p:first-child{margin-top:0}.rich-editor-content p:last-child,.rich-renderer-content p:last-child{margin-bottom:0}.rich-editor-content table,.rich-renderer-content table{width:100%;margin:10px 0;border-collapse:collapse}.rich-editor-content th,.rich-renderer-content th,.rich-editor-content td,.rich-renderer-content td{min-width:72px;padding:8px 10px;border:1px solid #cfd9e8;vertical-align:top}.rich-editor-content th,.rich-renderer-content th{background:#f1f6ff;font-weight:700}.rich-editor-content img,.rich-renderer-content img,.question-rich-image{max-width:100%;display:block;margin:10px 0;border-radius:6px}.rich-editor-content .tiptap-mathematics-render,.rich-renderer-content .tiptap-mathematics-render{display:inline-flex;align-items:center;margin:0 2px;vertical-align:-.12em;font-size:1em;line-height:1}.rich-renderer-content img,.rich-renderer-content .question-rich-image{height:auto}.rich-editor-content [data-resize-container]{max-width:100%;margin:10px 0}.rich-editor-content [data-resize-wrapper]{max-width:100%;line-height:0}.rich-editor-content [data-resize-wrapper]>img,.rich-editor-content [data-resize-wrapper]>.question-rich-image{max-width:100%;margin:0}.rich-editor-content [data-resize-container][data-resize-state=true] [data-resize-wrapper],.rich-editor-content [data-resize-container]:hover [data-resize-wrapper],.rich-editor-content [data-resize-container].ProseMirror-selectednode [data-resize-wrapper]{outline:2px solid rgba(23,107,255,.55);outline-offset:3px}.rich-editor-content [data-resize-handle]{width:12px;height:12px;border:2px solid #ffffff;border-radius:999px;background:#176bff;box-shadow:0 2px 8px #176bff52;opacity:0;transform:translate(50%,50%);z-index:2}.rich-editor-content [data-resize-container]:hover [data-resize-handle],.rich-editor-content [data-resize-container][data-resize-state=true] [data-resize-handle],.rich-editor-content [data-resize-container].ProseMirror-selectednode [data-resize-handle]{opacity:1}.rich-editor-content [data-resize-handle=top-left]{cursor:nwse-resize;transform:translate(-50%,-50%)}.rich-editor-content [data-resize-handle=top-right]{cursor:nesw-resize;transform:translate(50%,-50%)}.rich-editor-content [data-resize-handle=bottom-left]{cursor:nesw-resize;transform:translate(-50%,50%)}.rich-editor-content [data-resize-handle=bottom-right]{cursor:nwse-resize;transform:translate(50%,50%)}.rich-editor-content [data-resize-handle=right]{top:50%!important;cursor:ew-resize;transform:translate(50%,-50%)}.rich-editor-content [data-resize-handle=bottom]{left:50%!important;cursor:ns-resize;transform:translate(-50%,50%)}.rich-editor-content [data-resize-handle=left]{top:50%!important;cursor:ew-resize;transform:translate(-50%,-50%)}.rich-editor-content [data-resize-handle=top]{left:50%!important;cursor:ns-resize;transform:translate(-50%,-50%)}.rich-editor-content .katex-display,.rich-renderer-content .katex-display{overflow-x:auto;overflow-y:hidden}.rich-renderer-content{color:inherit;font:inherit}@media(max-width:991px){.question-editor-grid{grid-template-columns:minmax(0,1fr)}.paper-list-card,.paper-editor-card{min-height:auto}.paper-editor-head,.module-editor-head{align-items:stretch;flex-direction:column}.paper-editor-head,.paper-editor-card .ant-tabs-nav,.module-editor-head,.module-directions-editor{position:static}.paper-editor-head{gap:10px}.paper-list-head{align-items:stretch;flex-direction:column}.paper-library-layout{grid-template-columns:1fr;overflow:visible}.paper-category-sidebar{min-height:auto}.paper-category-sidebar-title{display:none}.paper-category-nav-list{flex-direction:row;overflow-x:auto;overflow-y:hidden;padding:8px}.paper-category-nav-item{width:auto;min-width:132px;flex:0 0 auto}.paper-category-panel{min-height:420px}.paper-category-panel-head{align-items:stretch;flex-direction:column}.paper-category-panel-actions,.paper-list-actions{justify-content:flex-start}.paper-editor-head .ant-space{width:100%}.question-shared-toolbar{align-items:flex-start;flex-direction:column}.question-shared-toolbar .active-editor-pill{order:2}.question-shared-toolbar .rich-editor-toolbar{order:1;width:100%}.question-editor-card .ant-card-head-wrapper{align-items:flex-start;flex-direction:column;padding:8px 0}.question-editor-card .ant-card-extra{width:100%;margin-inline-start:0}.question-editor-card-actions{width:100%;justify-content:flex-start;flex-wrap:wrap}.question-knowledge-summary{max-width:min(100%,260px)}.module-editor-head .ant-space,.paper-name-input{width:100%}}@media(max-width:575px){.paper-list-card .ant-card-body,.paper-editor-card .ant-card-body{padding:12px}.paper-list{grid-template-columns:1fr}.paper-category-nav-item{min-width:118px}.question-meta-config{grid-template-columns:1fr}.paper-category-panel-head,.paper-category-paper-list{padding:10px}.paper-category-panel-actions,.paper-category-panel-actions .ant-space-item,.paper-category-panel-actions button{width:100%}.paper-category-panel-actions{display:grid;grid-template-columns:1fr}.paper-card-topline{align-items:flex-start;flex-direction:column}.paper-list-item-actions{align-items:stretch;flex-direction:column;justify-content:flex-start}.paper-card-action-buttons{width:100%;display:grid;grid-template-columns:1fr 1fr;justify-content:stretch}.paper-card-action-buttons .paper-category-action-button{grid-column:1 / -1;max-width:none}.paper-card-action-buttons button{width:100%}.option-editor-row{grid-template-columns:44px minmax(0,1fr)}.rich-editor-latex-input{width:100%}.rich-editor-toolbar{padding:8px}.editor-section-head{align-items:flex-start;flex-direction:column}}
