:root{color-scheme:light;--page:#f5f7fa;--card:#ffffff;--ink:#303133;--muted:#909399;--line:#e4e7ed;--coral:#409eff;--coral-hover:#ffffff;--coral-light:#f5f7fa;--green:#67c23a;font-family:"Segoe UI","Microsoft YaHei",system-ui,sans-serif}
body{background:var(--page);color:var(--ink);font-size:14px}
input,textarea,select{color:var(--ink)!important;background:#ffffff!important;border-color:#dcdfe6!important;caret-color:#ffffff}
input::placeholder,textarea::placeholder{color:#909399!important}input:focus,textarea:focus,select:focus{border-color:#409eff!important;box-shadow:0 0 0 3px #409eff18!important}
.sidebar,.topbar,.card,.modal,.login-card{background:var(--card);border-color:var(--line);color:var(--ink);box-shadow:none}
.topbar{background:#ffffff}.sidebar{background:#ffffff;border-right-color:#e4e7ed}.sidebar-brand strong{color:#303133}.sidebar-brand div>span,.topbar-label,.breadcrumb{color:#606266}
.main{background:var(--page)}.login-screen{background:#f5f7fa}.login-description,.privacy-note,.caption,.section-description,.inline-note,.asset-footnote,.project-meta,.count,.keyboard-hint,.list-heading,.project-item-note,.project-item-meta,.check-disclaimer,.report-time,.risk-group-title,.history-empty,.asset-empty,.workspace-footer,.preview-pagination,.text-editor-meta,.version-intro{color:#606266!important}
.project-title{color:#303133!important;background:transparent!important;font-size:25px!important}.project-heading{align-items:flex-start}.project-heading-actions{align-items:center;flex-wrap:wrap}
.primary,.brand-mark{background:#409eff;color:#ffffff;box-shadow:none}.primary:hover:not(:disabled){background:#ffffff;color:#ffffff}.subtle,.outline,.dark{background:#f5f7fa;color:#303133;border-color:#dcdfe6;box-shadow:none}.subtle:hover:not(:disabled),.outline:hover:not(:disabled),.dark:hover:not(:disabled){background:#ecf5ff;border-color:#a0cfff}.text-button{color:#606266}.text-button:hover,.coral:hover{color:#ffffff}.coral{color:#409eff}.button{font-size:13px}.icon-button{color:#606266}.icon-button:hover{background:#ebeef5}
.search-box{background:#f5f7fa;border-color:#dcdfe6}.project-item{color:#606266;background:transparent}.project-item:hover{background:#f5f7fa}.project-item.selected{background:#ecf5ff;border-color:#b3d8ff}.project-item.selected .project-item-title{color:#337ecc}.project-item-note{font-size:12px}.sidebar-bottom{border-color:#ebeef5;color:#909399}
.card-heading,.editor-footer,.material-id-line,.modal-heading,.versions-details,.gallery-heading,.history-details,.combination-item,.workspace-footer,.sidebar-bottom{border-color:#ebeef5}.card-heading h2{font-size:16px;color:#303133}.section-icon,.neutral,.coral-bg,.subtle-tag,.number-tag{background:#e4e7ed!important;color:#606266!important}.text-preview-trigger{color:#303133;background:transparent}.text-preview-trigger:hover{background:#f5f7fa}.text-preview-copy{color:#303133;line-height:2.05;font-size:15px}.text-preview-copy.empty{color:#909399}.source-editor,.main-editor{background:transparent!important}.editor-footer>span{color:#909399}
.note-identity{display:flex;align-items:center;gap:12px;margin:10px 0 7px;color:#909399;font-size:13px}.note-identity code{font:700 17px ui-monospace,Consolas,monospace;color:#337ecc;letter-spacing:.06em;background:#ecf5ff;border:1px solid #b3d8ff;border-radius:6px;padding:4px 10px}.note-identity .button{padding:6px 12px}.project-meta{font-size:12px}
.publication-field{display:grid;gap:5px;justify-items:end}.publication-control{display:flex;align-items:center;gap:10px;border:1px solid #dcdfe6;border-radius:8px;padding:9px 17px;font-weight:700;font-size:15px;color:#606266;background:#ffffff;cursor:pointer}.publication-control.is-published{color:#529b2e;border-color:#b3e19d;background:#f0f9eb}.publication-control input{width:19px;height:19px;accent-color:#67c23a}.publication-field .caption{font-size:11px}
.reference-link{float:right;color:#409eff!important;font-size:13px;text-decoration:underline;text-underline-offset:3px;cursor:pointer}.project-find-fields label{color:#606266}.project-find-fields input{font-size:13px}.reference-link[hidden]{display:none}
.gallery-item{min-width:158px}.gallery-image,.preview-stage{background:#f5f7fa;border-color:#e4e7ed}.gallery-filename{color:#606266}.gallery-actions{justify-content:flex-start;flex-wrap:wrap;gap:10px}.gallery-actions .image-copy{flex-basis:100%;padding:7px 12px}.gallery-number{color:#303133;background:#f5f7fa;border-color:#dcdfe6}.gallery-arrow,.carousel-arrow{color:#303133;background:#f5f7fa;border-color:#dcdfe6}.gallery-arrow:hover{background:#ecf5ff}.gallery-controls .bundle-note{color:#606266;font-size:12px}.gallery-item img{filter:none}.output-card .asset-footnote{color:#909399}.card .asset-content{min-height:0}
.report-area{border-color:#dcdfe6;padding-top:15px}.report-head{gap:15px}.report-badge{font-size:14px;font-weight:700;padding:6px 11px}.report-badge.risk,.risk-chip.low{background:#fdf6ec;color:#9b6413}.report-badge.pass{background:#f0f9eb;color:#529b2e}.report-badge.error,.risk-chip.high{background:#fef0f0;color:#c23a3a}.report-badge.stale{background:#f4f4f5;color:#606266}.risk-chip{font-size:14px;padding:5px 10px;border:1px solid #ebeef5}.risk-group-title{font-size:13px}.risk-reason{color:#606266;border-color:#ebeef5;line-height:1.9;font-size:13px}.risk-reason strong{color:#303133;font-size:14px}.report-review-note{background:#ecf5ff;color:#606266;border-left:3px solid #409eff;padding:12px;margin:14px 0;border-radius:4px;white-space:pre-wrap;line-height:1.9}.report-error,.report-stale-note,.field-error{background:#fef0f0;color:#c23a3a}.report-success{color:#529b2e}.check-tools{margin:0 0 16px;border:1px solid #dcdfe6;border-radius:8px;padding:10px 13px;color:#606266}.check-tools summary{cursor:pointer;font-size:13px}.check-tools[open] summary{margin-bottom:13px}.history-details summary,.versions-details summary,.legacy-reports summary{color:#606266}.report-empty{padding:24px;color:#909399}.no-risks{color:#b5b5b5}.check-disclaimer{font-size:12px}
.original-materials,.creation-tools{margin-top:22px;border:1px solid var(--line);border-radius:12px;background:#ffffff;padding:15px 18px}.original-materials>summary,.creation-tools>summary{cursor:pointer;font-size:14px;font-weight:600;color:#606266}.original-materials[open]>summary,.creation-tools[open]>summary{margin-bottom:18px}.original-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.note-grid{align-items:start}.note-grid>.final-card{grid-column:1;grid-row:1}.note-grid>.output-card{grid-column:2;grid-row:1}.note-grid>.text-check-card{grid-column:1;grid-row:2}.note-grid>.image-check-card{grid-column:2;grid-row:2}.note-grid>.check-card{min-height:0}
.material-id-line,.combination-card,#note-code,#source-code,#current-text-code,#version-copy-code,.job-select-label,.job-select,#project-status,.material-code{display:none!important}.material-lookup{display:none!important}.toast{background:#303133;color:#ffffff;border:1px solid #606266}.modal::backdrop{background:#0006;backdrop-filter:blur(3px)}.modal label,.modal-description,.preview-meta{color:#606266}.modal-actions{border-color:#e4e7ed}.version-item,.job-item,.task-spec,.task-options,.version-meta,.history-report{background:transparent;border-color:#dcdfe6;color:#606266}.version-item:hover{background:#f5f7fa}.version-state,.job-state{background:#ebeef5;color:#606266}.global-error{background:#fef0f0;color:#c23a3a;border-color:#fbc4c4}kbd{background:#e4e7ed;color:#606266;border-color:#dcdfe6}
.risk-reasons{max-height:360px;overflow:auto;padding-right:8px}.workspace-footer,.editor-footer>span,.asset-footnote,.topbar-note{display:none}.check-disclaimer{margin-top:12px}
*{scrollbar-color:#c0c4cc #f5f7fa}::selection{background:#409eff;color:#ffffff}
@media(max-width:760px){.note-grid,.original-grid{display:flex;flex-direction:column}.note-grid>.card,.original-grid>.card{width:100%}.project-heading{display:block}.title-area{width:100%;min-width:0}.project-heading-actions{width:100%;display:flex;flex-direction:row;align-items:center;justify-content:space-between;margin-top:16px}.publication-field{justify-items:start}.project-title{font-size:21px!important;width:100%}.project-meta{display:flex;flex-wrap:wrap;gap:5px}.note-identity{flex-wrap:wrap}.gallery-item{min-width:170px}.text-preview-copy{font-size:14px}.reference-link{float:none;margin-left:12px}.original-materials,.creation-tools{padding:13px}.topbar-label{min-width:0}}

/* Restrained administrative palette: blue actions, green state, amber review. */
.primary{background:#409eff;color:#fff;border-color:#409eff}.primary:hover:not(:disabled){background:#337ecc;color:#fff;border-color:#337ecc}
.brand-mark{background:#409eff;color:#fff}.button{border-radius:5px;box-shadow:none}
.subtle,.outline{background:#fff;color:#606266;border-color:#dcdfe6}.subtle:hover:not(:disabled),.outline:hover:not(:disabled){color:#409eff;background:#ecf5ff;border-color:#b3d8ff}
.dark{background:#409eff;color:#fff;border-color:#409eff}.dark:hover:not(:disabled){background:#337ecc;color:#fff}
button:focus-visible,a:focus-visible,summary:focus-visible{outline-color:#79bbff}
input,textarea,select{caret-color:#303133}.text-preview-trigger:hover{background:#fafcff}
.report-badge.risk,.risk-chip.low{background:#fdf6ec;color:#9b6413}.report-badge.error,.risk-chip.high{background:#fef0f0;color:#c23a3a}
.report-badge.pass{background:#f0f9eb;color:#529b2e}.project-item.selected .project-item-meta{color:#606266}
.publication-control input{accent-color:#67c23a}.toast{background:#303133;color:#fff;border-color:#303133}
.login-screen{background:#f5f7fa}.main-editor:focus,.small-editor:focus{box-shadow:inset 0 0 0 2px #b3d8ff}
