/* Editor chrome only. Physical paper, equations and export geometry are untouched. */
body.editor-page{--ui-size:13px;--ui-small:12px;--ui-line:#e4e7ea;--ui-muted:#66717b;--ui-tint:#f3f5f6;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-size:var(--ui-size);color:#27313a}
body.editor-page .texpage-topbar{height:56px!important;min-height:56px!important;padding:0 16px!important;gap:12px!important;background:#fff!important;border-bottom:1px solid var(--ui-line)!important;box-shadow:none!important}
body.editor-page .texpage-topbar .brand{font-size:15px!important;gap:9px!important}
body.editor-page .texpage-topbar .brand small,body.editor-page .local-pill{display:none!important}
body.editor-page .texpage-topbar .brand-mark{width:30px!important;height:30px!important;border-radius:7px!important;font-size:19px!important;background:#33464a!important}
body.editor-page .editor-top-actions{gap:8px!important;min-width:0;overflow:visible!important}
body.editor-page .texpage-topbar button{height:32px!important;min-height:32px!important;font-size:12px!important;border-radius:6px!important;box-shadow:none!important}
body.editor-page .texpage-topbar #templateButton{max-width:190px!important;background:#f4f6f7!important;padding:0 10px!important}
body.editor-page #templateButtonLabel{font-size:12px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.editor-page .save-state{font-size:12px!important;color:var(--ui-muted)!important}
body.editor-page .texpage-workbench{height:calc(100dvh - 56px)!important;background:#fff!important}
body.editor-page .pane-resizer{background:#f0f2f3!important}
body.editor-page .pane-resizer::before{background:#bdc5ca!important;height:32px!important;width:2px!important}
body.editor-page .pane-resizer:hover{background:#dfe9e9!important}
body.editor-page .navigator-head{height:56px!important;min-height:56px!important;padding:8px 14px!important}
body.editor-page .navigator-title span{font-size:11px!important;letter-spacing:0!important;color:var(--ui-muted)!important}
body.editor-page .navigator-title strong{font-size:13px!important;margin-top:3px!important;font-weight:600!important}
body.editor-page .workspace-projects{background:#fff!important;padding:12px!important;border-color:var(--ui-line)!important}
body.editor-page .workspace-heading b,body.editor-page .order-toolbar strong{font-size:13px!important;font-weight:600!important}
body.editor-page .workspace-subtitle,body.editor-page .workspace-help{display:none!important}
body.editor-page .workspace-project-toolbar{grid-template-columns:1fr 1fr 1fr!important;gap:5px!important;margin:10px 0!important}
body.editor-page .workspace-project-toolbar button{min-height:32px!important;font-size:12px!important;padding:5px!important;border-radius:6px!important;background:#fff!important;border-color:var(--ui-line)!important;white-space:nowrap}
body.editor-page .workspace-paper-name{font-size:12px!important;font-weight:500!important}
body.editor-page .workspace-paper-row,body.editor-page .workspace-folder-row{min-height:34px!important;border-radius:6px!important}
body.editor-page .workspace-mini-actions button{font-size:12px!important;min-height:30px!important;border-radius:6px!important}
body.editor-page .navigator-tabs{padding:5px 10px!important;gap:6px!important;min-height:40px!important}
body.editor-page .navigator-tabs button{height:30px!important;min-height:30px!important;border-radius:6px!important;font-size:13px!important}
body.editor-page .navigator-tabs button[aria-selected="true"]{background:#edf2f3!important}
body.editor-page .order-toolbar{min-height:42px!important;padding:7px 12px!important}
body.editor-page .order-toolbar-actions .text-btn,body.editor-page .outline-selectbar button{font-size:12px!important;min-height:28px!important;font-weight:500!important;border-radius:5px!important}
body.editor-page .outline-selectbar{padding:5px 10px!important;background:#fff!important;border-color:var(--ui-line)!important}
body.editor-page #outlineSelectionSummary{display:none!important}
body.editor-page .outline-nav{padding:5px 10px!important}
body.editor-page .outline-nav button{font-size:12px!important;border-radius:5px!important;background:#f5f7f8!important}
body.editor-page .texpage-navigator .order-item{border-radius:6px!important;margin-bottom:3px!important;box-shadow:none!important;min-height:58px!important}
body.editor-page .texpage-navigator .order-item.is-selected{background:#edf3f4!important;border-color:#bbced1!important;box-shadow:none!important}
body.editor-page .texpage-navigator .order-copy b{font-size:12px!important;font-weight:500!important;line-height:1.55!important}
body.editor-page .texpage-navigator .order-copy small{font-size:11px!important;line-height:1.4!important;color:var(--ui-muted)!important}
body.editor-page .texpage-navigator .order-num{font-size:12px!important;font-weight:500!important}
body.editor-page .editor-tabbar{height:42px!important;flex-basis:42px!important;padding:0 12px!important;background:#fff!important}
body.editor-page .editor-tab strong{font-size:13px!important;font-weight:600!important}
body.editor-page .editor-tab .tab-dot,body.editor-page .local-state{display:none!important}
body.editor-page .question-nav-picker{font-size:12px!important;background:#fff!important;border-radius:6px!important}
body.editor-page .question-nav-arrow{border-radius:6px!important;background:#fff!important}
body.editor-page .editor-commandbar{min-height:36px!important;padding:4px 12px!important;background:#fafbfc!important}
body.editor-page .editor-commandbar>div:first-child{display:none!important}
body.editor-page .editor-command-actions{margin-left:auto!important}
body.editor-page .editor-command-actions .text-btn{font-size:12px!important;min-height:28px!important;padding:0 8px!important;border:0!important;background:transparent!important}
body.editor-page .texpage-question-editor{padding:16px 18px 45px!important}
body.editor-page .texpage-question-editor .question-editor-head{position:static!important;margin:0 0 16px!important;padding:0!important;border:0!important;min-height:30px!important;gap:8px}
body.editor-page .question-editor-head h3{display:none!important}
body.editor-page .question-editor-head>div{display:flex;gap:4px;margin-left:auto}
body.editor-page .question-editor .text-btn{font-size:12px!important;min-height:28px!important;padding:3px 7px!important;line-height:1.5!important;font-weight:500!important}
body.editor-page .texpage-question-editor label{font-size:13px!important;font-weight:500!important;line-height:1.65!important;margin-bottom:16px!important;color:#45515b!important}
body.editor-page .texpage-question-editor input:not([type="checkbox"]),body.editor-page .texpage-question-editor select{font-family:inherit!important;font-size:13px!important;min-height:36px!important;border-radius:6px!important;border-color:var(--ui-line)!important;padding:7px 10px!important}
body.editor-page .texpage-question-editor textarea{font-family:ui-monospace,"Cascadia Code",Consolas,"Microsoft YaHei",monospace!important;font-size:13px!important;line-height:1.8!important;min-height:150px!important;border-radius:6px!important;border-color:var(--ui-line)!important;padding:11px 12px!important}
body.editor-page .texpage-question-editor label:has(textarea){display:block!important}
body.editor-page .texpage-question-editor .option-editor{gap:8px!important;min-height:36px!important;margin-bottom:8px!important}
body.editor-page .texpage-question-editor .option-editor b{font-size:13px!important;font-weight:500!important;width:22px!important}
body.editor-page .texpage-question-editor .add-option{margin:0 0 20px!important}
body.editor-page .check-row{display:flex!important;align-items:center!important;gap:6px!important}
body.editor-page .check-row input{width:15px!important;height:15px!important;min-height:0!important;margin:0!important}
body.editor-page .preview-toolbar{height:auto!important;min-height:74px!important;flex:0 0 auto!important;padding:8px 12px!important;gap:7px!important;background:#fff!important;border-color:var(--ui-line)!important}
body.editor-page .preview-toolbar-left strong{font-size:12px!important;font-weight:600!important}
body.editor-page .preview-chip,body.editor-page .preview-status-dot{display:none!important}
body.editor-page .preview-toolbar button,body.editor-page .preview-toolbar label,body.editor-page .page-indicator{font-size:12px!important;min-height:30px!important;border-radius:6px!important;font-weight:500!important}
body.editor-page .preview-toolbar button{height:30px!important}
body.editor-page .pdf-status{font-size:11px!important;padding:6px 12px!important;line-height:1.6!important;background:#fafbfc!important}
body.editor-page .texpage-preview-pane,body.editor-page .texpage-preview-pane .typst-preview{background:#eef0f2!important}
body.editor-page .editor-more-menu{position:relative;flex:0 0 auto}
body.editor-page .editor-more-menu>summary{display:flex;align-items:center;justify-content:center;list-style:none;cursor:pointer;width:34px;height:32px;font-size:20px;font-weight:700;line-height:1;border:1px solid var(--ui-line);border-radius:6px;color:#45515b;background:#fff}
.editor-more-menu>summary::-webkit-details-marker{display:none}
body.editor-page .editor-more-popover{position:absolute;right:0;top:40px;width:200px;z-index:200;background:#fff;border:1px solid var(--ui-line);box-shadow:0 8px 24px #18283222;border-radius:9px;padding:8px;display:grid;gap:4px}
body.editor-page .editor-more-popover>span{font-size:11px;color:var(--ui-muted);padding:5px 8px}
body.editor-page .editor-more-popover button{display:flex!important;width:100%!important;justify-content:flex-start!important;position:static!important;min-width:0!important;padding:7px 9px!important;background:#fff!important;border:0!important;font-size:12px!important}
body.editor-page .editor-more-popover button:hover{background:#f0f4f5!important}
body.editor-page .editor-more-popover #editorGuideButton span{display:inline!important}
@media(min-width:1180px){body.editor-page .texpage-navigator{top:0!important}}
@media(min-width:768px) and (max-width:1179px){body.editor-page .texpage-navigator{top:56px!important}body.editor-page .workbench-backdrop{inset:56px 0 0!important}}
@media(max-width:1000px){body.editor-page .save-state{display:none!important}}
@media(max-width:767px){
 body.editor-page .texpage-topbar{height:88px!important;min-height:88px!important;grid-template-rows:30px 36px!important;padding:6px 10px!important}
 body.editor-page .editor-top-actions{display:flex!important;justify-content:space-between!important;gap:5px!important;overflow:visible!important}
 body.editor-page .texpage-topbar #templateButton{max-width:135px!important;padding:0 7px!important}
 body.editor-page .texpage-topbar #templateButtonLabel{font-size:11px!important}
 body.editor-page .texpage-topbar .mobile-mode-switch button{font-size:12px!important;min-width:40px!important}
 body.editor-page .texpage-topbar #mobileDownloadButton{padding:0 8px!important}
 body.editor-page .texpage-workbench{height:calc(100dvh - 88px)!important}
 body.editor-page .texpage-navigator{top:88px!important}
 body.editor-page .workbench-backdrop{inset:88px 0 0!important}
 body.editor-page .template-popover{top:88px!important}
 body.editor-page .editor-more-popover{right:0!important}
 body.editor-page .texpage-question-editor input:not([type="checkbox"]),body.editor-page .texpage-question-editor select,body.editor-page .texpage-question-editor textarea{font-size:16px!important}
 body.editor-page .texpage-question-editor{padding:14px!important}
}
/* Balanced working space: one task per navigator tab, compact question form. */
body.editor-page #navigatorPanel .navigator-tabs{flex:0 0 42px!important;margin:0!important;display:flex!important}
body.editor-page #navigatorPanel .navigator-tabs button{flex:1!important;min-width:0!important}
body.editor-page[data-navigator-tab] #workspaceProjects,
body.editor-page[data-navigator-tab] #workspaceHeightResizer{display:none!important}
body.editor-page[data-navigator-tab="projects"] #workspaceProjects{display:flex!important;flex:1 1 auto!important;height:auto!important;max-height:none!important;min-height:0!important}
body.editor-page.project-outline-split:not([data-navigator-tab="settings"]) #workspaceProjects{display:flex!important;flex:0 0 var(--workspace-h)!important;height:var(--workspace-h)!important;max-height:calc(100% - 245px)!important}
body.editor-page.project-outline-split:not([data-navigator-tab="settings"]) #workspaceHeightResizer{display:flex!important}
body.editor-page #navigatorPanel #settingsPanel#settingsPanel{padding-top:4px!important}
body.editor-page #settingsPanel#settingsPanel .paper-settings{padding:12px!important}
body.editor-page #settingsPanel#settingsPanel .paper-settings label{font-size:12px!important;line-height:1.6!important}
body.editor-page #settingsPanel#settingsPanel input:not([type="checkbox"]){height:34px!important;min-height:34px!important;font-size:13px!important;padding:6px 8px!important;border-radius:6px!important}
body.editor-page #settingsPanel#settingsPanel input[type="checkbox"],body.editor-page .split-project-toggle input[type="checkbox"]{display:inline-block!important;width:15px!important;height:15px!important;min-height:15px!important;max-width:15px!important;flex:0 0 15px!important;margin:0 7px 0 0!important;padding:0!important;border-radius:3px!important;vertical-align:middle!important}
body.editor-page #settingsPanel#settingsPanel .toc-switch,body.editor-page #settingsPanel#settingsPanel .template-override-check{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:4px!important;font-weight:500!important}
body.editor-page #settingsPanel#settingsPanel .toc-switch small{flex:0 0 100%;margin-left:22px!important}
body.editor-page .split-project-toggle{display:flex;align-items:center;font-size:12px;padding:8px;color:#45515b;cursor:pointer}
body.editor-page #questionEditor .question-metadata{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:12px!important}
body.editor-page #questionEditor label{margin-bottom:12px!important}
body.editor-page #questionEditor textarea{min-height:88px!important;max-height:240px!important;height:auto;line-height:1.65!important;resize:vertical!important}
body.editor-page #questionEditor textarea[data-field="answer"],body.editor-page #questionEditor textarea[data-field="explanation"]{min-height:64px!important}
body.editor-page #questionEditor .question-editor-head{margin-bottom:8px!important;min-height:28px!important}
body.editor-page #questionEditor .option-editor{margin-bottom:6px!important;padding:0!important;min-height:34px!important}
body.editor-page #questionEditor .option-editor input{margin:0!important;min-height:34px!important;height:34px!important}
body.editor-page #questionEditor .add-option{margin-bottom:14px!important}
body.editor-page #previewPane#previewPane .preview-toolbar{display:flex!important;flex-wrap:nowrap!important;height:46px!important;min-height:46px!important;flex-basis:46px!important;padding:7px 10px!important;gap:8px!important;align-items:center!important}
body.editor-page #previewPane#previewPane .preview-toolbar-left{display:none!important}
body.editor-page #previewPane#previewPane .preview-toolbar-center{display:flex!important;flex:1 1 auto!important;min-width:0!important;max-width:none!important;gap:3px!important;overflow:visible!important;justify-content:flex-start!important}
body.editor-page #previewPane#previewPane .preview-toolbar-extra{display:flex!important;flex:0 0 auto!important;gap:8px!important;margin:0!important;white-space:nowrap!important}
body.editor-page #previewPane#previewPane .preview-toolbar-right{display:flex!important;flex:0 0 auto!important;gap:5px!important;margin:0!important}
body.editor-page #previewPane#previewPane #previewZoomLabel{display:none!important}
body.editor-page #previewPane#previewPane .page-indicator{min-width:42px!important;width:auto!important;padding:0 3px!important}
body.editor-page #previewPane#previewPane .viewer-btn{min-width:26px!important;padding:0 5px!important}
body.editor-page #previewPane#previewPane #printButton,body.editor-page #previewPane#previewPane #browserPrintButton{padding:0 8px!important;font-size:12px!important}
body.editor-page #previewPane#previewPane{container-type:inline-size;container-name:preview-controls}
@container preview-controls (max-width:520px){
 body.editor-page #previewPane#previewPane .preview-toolbar{height:auto!important;min-height:46px!important;flex-basis:auto!important;flex-wrap:wrap!important;gap:6px!important}
 body.editor-page #previewPane#previewPane .preview-toolbar-center{flex:1 1 210px!important}
 body.editor-page #previewPane#previewPane .preview-toolbar-extra{flex:0 0 auto!important}
 body.editor-page #previewPane#previewPane .preview-toolbar-right{margin-left:auto!important}
}
@media(max-width:767px){body.editor-page #questionEditor .question-metadata{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px!important}}
/* Compact file tree, inspired by conventional TeX editors. */
body.editor-page #navigatorPanel#navigatorPanel .workspace-heading{display:none!important}
body.editor-page #navigatorPanel#navigatorPanel .workspace-projects{padding:8px 6px!important}
body.editor-page #navigatorPanel#navigatorPanel .workspace-project-toolbar{display:flex!important;flex:0 0 auto!important;align-items:center!important;gap:3px!important;padding:0 5px 7px!important;margin:0 0 4px!important;border-bottom:1px solid var(--ui-line)!important}
body.editor-page #navigatorPanel#navigatorPanel .workspace-project-toolbar button{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:30px!important;min-width:30px!important;height:30px!important;min-height:30px!important;border:0!important;border-radius:5px!important;background:transparent!important;padding:6px!important;color:#52616a!important}
body.editor-page #navigatorPanel#navigatorPanel .workspace-project-toolbar button:hover{background:#eaf0f2!important}
body.editor-page #navigatorPanel#navigatorPanel #workspaceSearchButton{margin-left:auto!important}
body.editor-page #navigatorPanel#navigatorPanel .workspace-project-toolbar svg{width:17px!important;height:17px!important;flex:none!important}
body.editor-page #navigatorPanel#navigatorPanel #workspaceSearchInput{width:calc(100% - 10px)!important;margin:0 5px 6px!important;min-height:32px!important;padding:6px 9px!important;font-size:12px!important;border:1px solid var(--ui-line)!important;border-radius:5px!important}
body.editor-page #navigatorPanel#navigatorPanel .workspace-file-row{display:grid!important;grid-template-columns:minmax(0,1fr) 24px!important;min-height:32px!important;height:32px!important;padding:0 3px!important;margin:0!important;border:0!important;border-radius:4px!important;gap:0!important;background:transparent!important}
body.editor-page #navigatorPanel#navigatorPanel .workspace-file-row.is-active{background:#eaf1f3!important}
body.editor-page #navigatorPanel#navigatorPanel .workspace-file-row:hover{background:#f2f5f6!important}
body.editor-page #navigatorPanel#navigatorPanel .workspace-file-row .workspace-paper{display:flex!important;align-items:center!important;gap:7px!important;height:32px!important;min-height:32px!important;border:0!important;box-shadow:none!important;border-radius:0!important;background:transparent!important;padding:0 5px!important;font-size:13px!important;font-weight:400!important}
body.editor-page #navigatorPanel#navigatorPanel .workspace-paper-name{flex:1!important;min-width:0!important;font-size:13px!important;font-weight:400!important;white-space:nowrap!important;text-overflow:ellipsis!important;overflow:hidden!important;line-height:1.4!important}
body.editor-page #navigatorPanel#navigatorPanel .workspace-paper-icon{width:17px!important;display:flex!important;flex:0 0 17px!important;align-items:center!important;color:#75838b!important}
body.editor-page #navigatorPanel#navigatorPanel .workspace-paper-count{display:none!important}
body.editor-page #navigatorPanel#navigatorPanel .workspace-file-menu{height:25px!important;width:24px!important;min-width:24px!important;background:transparent!important;border:0!important;border-radius:4px!important;font-size:18px!important;color:#71818b!important;cursor:pointer;opacity:0}
body.editor-page #navigatorPanel#navigatorPanel .workspace-file-row:hover .workspace-file-menu,
body.editor-page #navigatorPanel#navigatorPanel .workspace-file-row:focus-within .workspace-file-menu,
body.editor-page #navigatorPanel#navigatorPanel .workspace-file-row.is-active .workspace-file-menu{opacity:1}
body.editor-page #navigatorPanel#navigatorPanel .workspace-folder-root{display:flex!important;align-items:center!important;gap:7px!important;background:transparent!important;border:0!important;border-radius:0!important;min-height:30px!important;padding:5px 7px!important;color:#44525c!important;font-size:12px!important;font-weight:600!important}
body.editor-page #navigatorPanel#navigatorPanel .workspace-folder-root .workspace-folder-count{font-size:11px!important;font-weight:400!important;color:#7f8b94!important}
body.editor-page #navigatorPanel#navigatorPanel .workspace-root-chevron{width:14px!important;flex:0 0 14px!important}
body.editor-page #navigatorPanel#navigatorPanel .workspace-folder-head{min-height:32px!important;gap:0!important;margin:0!important;border-radius:4px!important}
body.editor-page #navigatorPanel#navigatorPanel .workspace-folder-name{padding:4px 3px!important;min-height:32px!important;font-size:13px!important;font-weight:400!important;background:transparent!important;border:0!important;border-radius:4px!important;gap:7px!important}
body.editor-page #navigatorPanel#navigatorPanel .workspace-folder-head:has(.is-selected){background:#edf2f4!important}
body.editor-page #navigatorPanel#navigatorPanel .workspace-folder-icon{display:flex!important;align-items:center!important;width:17px!important;flex:0 0 17px!important;color:#74818b!important}
body.editor-page #navigatorPanel#navigatorPanel .workspace-tree-icon{width:16px!important;height:16px!important}
body.editor-page #navigatorPanel#navigatorPanel .workspace-folder-exp{border:0!important;background:transparent!important;min-width:20px!important;width:20px!important;height:26px!important;padding:0!important;color:#75828b!important;font-size:13px!important;cursor:pointer}
body.editor-page #navigatorPanel#navigatorPanel .workspace-folder-children{padding-left:13px!important;margin-left:9px!important;border:0!important}
body.editor-page #navigatorPanel#navigatorPanel .workspace-folder-menu{width:24px!important;height:25px!important;font-size:18px!important;border:0!important}
body.editor-page #navigatorPanel#navigatorPanel .workspace-mini-actions{display:flex!important;padding:8px 3px 0!important;border-top:1px solid var(--ui-line)!important;margin-top:8px!important}
body.editor-page #navigatorPanel#navigatorPanel .workspace-mini-actions button{background:transparent!important;border:0!important;flex:1!important;min-height:30px!important;font-size:12px!important;padding:3px!important}
@media(hover:none){body.editor-page #navigatorPanel#navigatorPanel .workspace-file-menu{opacity:1!important}}
/* Outline chapters and questions share the same compact tree language. */
body.editor-page #outlinePanel #outlineNav{display:none!important}
body.editor-page #outlinePanel .order-toolbar{min-height:35px!important;padding:4px 10px!important}
body.editor-page #outlinePanel .order-toolbar>strong{display:none!important}
body.editor-page #outlinePanel .order-toolbar-actions{display:flex!important;justify-content:space-between!important;align-items:center!important;width:100%!important;gap:6px!important}
body.editor-page #outlinePanel .outline-selectbar{min-height:30px!important;padding:3px 8px!important;border:0!important;background:#fafbfc!important}
body.editor-page #outlinePanel .outline-selectbar button{min-height:24px!important;padding:2px 7px!important;border:0!important;background:transparent!important;font-size:11px!important}
body.editor-page #outlinePanel #orderList{padding:7px 6px 16px!important}
body.editor-page #outlinePanel .outline-tree-section{display:flex!important;align-items:center!important;gap:6px!important;min-height:32px!important;width:100%!important;background:transparent!important;border:0!important;border-radius:4px!important;padding:5px 6px!important;cursor:pointer;text-align:left;color:#43515b;font:500 13px/1.5 inherit}
body.editor-page #outlinePanel .outline-tree-section:hover{background:#f0f4f5!important}
body.editor-page #outlinePanel .outline-tree-chevron{width:15px!important;flex:0 0 15px!important;text-align:center!important;font-size:16px!important;color:#77838c!important}
body.editor-page #outlinePanel .outline-tree-title{flex:1!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:13px!important;font-weight:500!important}
body.editor-page #outlinePanel .outline-tree-section small{font-size:11px!important;color:#87929a!important;font-weight:400!important}
body.editor-page #outlinePanel .outline-tree-children{margin-left:13px!important;padding-left:3px!important;border-left:1px solid #dfe5e9!important}
body.editor-page #outlinePanel .outline-tree-children[hidden]{display:none!important}
body.editor-page #outlinePanel .order-item{display:grid!important;grid-template-columns:14px 9px 20px minmax(0,1fr) auto!important;gap:3px!important;min-height:32px!important;height:32px!important;max-height:32px!important;padding:3px 4px!important;margin:0!important;border:0!important;border-radius:4px!important;background:transparent!important;box-shadow:none!important}
body.editor-page #outlinePanel .order-item:hover{background:#f2f5f6!important}
body.editor-page #outlinePanel .order-item.is-selected{background:#e7eff3!important;box-shadow:none!important}
body.editor-page #outlinePanel .order-item.is-multi-selected{background:#edf3f8!important}
body.editor-page #outlinePanel .order-copy{display:block!important;overflow:hidden!important;padding:0!important;min-width:0!important;max-width:100%!important;line-height:24px!important}
body.editor-page #outlinePanel .order-copy b{display:block!important;-webkit-line-clamp:unset!important;font-size:12px!important;line-height:24px!important;font-weight:400!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;color:#44525c!important;max-height:24px!important}
body.editor-page #outlinePanel .order-copy small{display:none!important}
body.editor-page #outlinePanel .order-copy math{font-size:1em!important;vertical-align:middle!important}
body.editor-page #outlinePanel .order-num{font-size:11px!important;font-weight:400!important;color:#74818b!important}
body.editor-page #outlinePanel .order-check{width:13px!important;height:13px!important;margin:0!important;min-height:0!important;opacity:0!important}
body.editor-page #outlinePanel .drag-handle{font-size:11px!important;width:9px!important;min-width:9px!important;padding:0!important;opacity:0!important}
body.editor-page #outlinePanel .order-item:hover .order-check,
body.editor-page #outlinePanel .order-item:focus-within .order-check,
body.editor-page #outlinePanel .order-item.is-multi-selected .order-check,
body.editor-page #outlinePanel .order-item:hover .drag-handle,
body.editor-page #outlinePanel .order-item:focus-within .drag-handle{opacity:1!important}
body.editor-page #outlinePanel .order-controls{display:none!important}
body.editor-page #outlinePanel .order-item:hover .order-controls,
body.editor-page #outlinePanel .order-item:focus-within .order-controls{display:flex!important;gap:1px!important;opacity:1!important}
body.editor-page #outlinePanel .order-controls button{width:20px!important;min-width:20px!important;height:23px!important;min-height:23px!important;background:transparent!important;border:0!important;padding:0!important;font-size:12px!important}
@media(hover:none){body.editor-page #outlinePanel .order-check,body.editor-page #outlinePanel .drag-handle{opacity:1!important}}
/* Optical alignment: icon boxes and numerals use a common center, not text baselines. */
body.editor-page .ef-icon{display:block!important;width:16px!important;height:16px!important;flex:0 0 16px!important;margin:0!important;vertical-align:middle!important}
body.editor-page .ef-icon-button,body.editor-page .question-nav-arrow,body.editor-page .question-nav-picker,body.editor-page .viewer-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;line-height:1!important;gap:5px!important}
body.editor-page #questionNavCounter,body.editor-page #previewPageIndicator,body.editor-page #questionCount{display:inline-flex!important;align-items:center!important;justify-content:center!important;line-height:1!important;font-variant-numeric:tabular-nums!important}
body.editor-page #questionCount{height:27px!important;min-width:27px!important;padding:0 6px!important}
body.editor-page #outlinePanel .outline-tree-chevron,body.editor-page #outlinePanel .order-num{display:grid!important;place-items:center!important;height:24px!important;line-height:1!important;font-variant-numeric:tabular-nums!important}
body.editor-page #outlinePanel .outline-tree-section small{display:inline-flex!important;align-items:center!important;justify-content:center!important;height:24px!important;min-width:22px!important;line-height:1!important;font-variant-numeric:tabular-nums!important}
body.editor-page .workspace-folder-count{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:24px!important;line-height:1!important;font-variant-numeric:tabular-nums!important}
body.editor-page .workspace-dialog.is-graph-dialog{width:min(1260px,96vw)!important}
body.editor-page .workspace-graph-view-switch{display:inline-flex;gap:3px;background:#f0f3f5;padding:3px;border-radius:7px;margin:0 0 10px}
body.editor-page .workspace-graph-view-switch button{min-height:30px;padding:5px 12px;border:0;border-radius:5px;background:transparent;font-size:12px;color:#52616b;cursor:pointer}
body.editor-page .workspace-graph-view-switch button[aria-pressed="true"]{background:#fff;color:#283b48;box-shadow:0 1px 4px #25374616}
body.editor-page .workspace-matrix[hidden],body.editor-page .workspace-graph-list[hidden],body.editor-page .workspace-matrix-legend[hidden],body.editor-page .workspace-matrix-detail[hidden]{display:none!important}
body.editor-page .workspace-matrix{overflow:auto;max-height:42vh;padding:0 0 5px;background:#fafbfc;border:1px solid #e0e6eb;border-radius:9px;overscroll-behavior:contain}
body.editor-page .workspace-matrix-sheet{width:max-content;min-width:100%;padding:7px}
body.editor-page .workspace-matrix-header,body.editor-page .workspace-matrix-row{display:grid;grid-template-columns:156px repeat(var(--matrix-columns),28px);gap:3px;align-items:center;min-height:29px}
body.editor-page .workspace-matrix-header{position:sticky;top:0;z-index:3;background:#fafbfc}
body.editor-page .workspace-matrix-label{position:sticky;left:0;z-index:2;background:#fafbfc;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px;color:#53626c;padding:5px 8px;height:29px;box-sizing:border-box}
body.editor-page .workspace-matrix-number{display:grid;place-items:center;height:27px;font:500 11px/1 system-ui;font-variant-numeric:tabular-nums;color:#74818b}
body.editor-page .workspace-matrix-cell{display:grid;place-items:center;padding:0!important;width:28px;min-width:28px;height:27px;border:1px solid #c0d2df;border-radius:5px;background:#ecf3f8;color:#456c85;font:500 10px/1 system-ui;cursor:pointer}
body.editor-page .workspace-matrix-cell[data-kind="填"]{border-color:#cec7df;background:#f1eef7;color:#75628c}
body.editor-page .workspace-matrix-cell[data-kind="解"]{border-color:#dfd0b8;background:#f7f2e9;color:#8b754d}
body.editor-page .workspace-matrix-cell[aria-checked="true"]{background:#365b78;color:#fff;border-color:#365b78;font-size:15px;font-weight:700}
body.editor-page .workspace-matrix-cell:focus-visible{outline:2px solid #386784;outline-offset:2px;z-index:4}
body.editor-page .workspace-matrix-cell:hover{box-shadow:inset 0 0 0 1px currentColor}
body.editor-page .workspace-matrix-empty{width:28px;height:27px;background:#f1f3f5;border:1px dashed #e5e9ec;border-radius:5px;box-sizing:border-box}
body.editor-page .workspace-matrix-legend{margin:9px 0;font-size:11px;color:#687985;line-height:1.8}
body.editor-page .workspace-matrix-detail{border:1px solid #dfe6eb;background:#fafcfd;border-radius:8px;padding:12px;margin-top:10px;max-height:160px;overflow:auto}
body.editor-page .workspace-matrix-detail strong{display:block;font-size:12px;margin-bottom:7px;color:#435766}
body.editor-page .workspace-matrix-detail .workspace-graph-math{font-size:13px;line-height:1.8;white-space:pre-wrap}
body.editor-page .workspace-graph-actions{gap:8px!important;align-items:center!important}
body.editor-page .workspace-counter{font-variant-numeric:tabular-nums;white-space:nowrap;display:flex;align-items:center;justify-content:center}
@media(max-width:767px){body.editor-page .workspace-matrix-header,body.editor-page .workspace-matrix-row{grid-template-columns:110px repeat(var(--matrix-columns),28px)}body.editor-page .workspace-dialog.is-graph-dialog{width:100%!important}}

/* Font-independent, optically centered navigation chevrons. */
body.editor-page .ef-chevron{display:block!important;width:16px!important;height:16px!important;flex:0 0 16px!important;margin:0!important}
body.editor-page .question-nav-picker{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;line-height:1!important}
body.editor-page .outline-tree-chevron,body.editor-page .workspace-root-chevron,body.editor-page .workspace-folder-exp{display:inline-flex!important;align-items:center!important;justify-content:center!important;align-self:center!important;line-height:1!important;padding:0!important}
body.editor-page .outline-tree-section[aria-expanded="true"] .ef-chevron{transform:rotate(90deg)}
body.editor-page .workspace-root-chevron .workspace-tree-icon,body.editor-page .workspace-folder-exp .workspace-tree-icon{width:16px!important;height:16px!important;display:block!important;flex:0 0 16px!important;margin:0!important}

body.editor-page .preview-toolbar-right .exact-pdf-btn{font-size:11px!important;white-space:nowrap!important;padding:0 8px!important}
body.editor-page #mobileTextDownloadButton{display:none!important}
@media(max-width:767px){body.editor-page #mobileTextDownloadButton{display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:0 6px!important;font-size:11px!important}body.editor-page #mobileDownloadButton{font-size:11px!important;padding:0 6px!important}}
