/* Primary note view: one header, two publishing panels, two report summaries. */
.workspace{max-width:1180px;width:calc(100% - 64px);margin:0 auto;padding:34px 0 46px}.project-heading{margin-bottom:20px;align-items:flex-start;gap:24px}.project-title{border-color:transparent!important;background:transparent!important;padding:0!important;font-size:25px!important;font-weight:650;line-height:1.45;min-height:40px}.project-title:hover,.project-title:focus{border-color:#dcdfe6!important}.title-area{min-width:0}.project-heading-actions{gap:22px;padding-top:5px}.project-heading-actions>.button{min-height:38px;padding:8px 18px;font-size:13px}.publication-control{background:transparent;border:0;padding:7px 0;font-size:14px;color:#606266}.publication-control.is-published{background:transparent;color:#529b2e;border:0}.publication-field .caption{display:none!important}.publication-control input{width:18px;height:18px}.note-identity{margin:8px 0 10px;gap:10px}.note-identity>span{display:none}.note-identity code{background:transparent;border:0;color:#606266;padding:0;font-size:14px;letter-spacing:.04em}.note-identity .button{border:0;background:#f5f7fa;color:#606266;padding:4px 10px;font-weight:400;font-size:12px}.reference-shortcut{margin-left:10px;font-size:12px;color:#409eff}.reference-shortcut:hover{text-decoration:underline;color:#337ecc}.project-meta{font-size:11px;color:#909399!important;gap:6px}.save-state::before{display:none!important}
.reference-details{margin:0 0 22px;border-bottom:1px solid #f5f7fa;padding-bottom:16px;color:#909399}.reference-details>summary{cursor:pointer;font-size:12px;list-style:none;display:inline-flex;align-items:center;gap:8px}.reference-details>summary::after{content:'⌄';font-size:13px;color:#909399}.reference-details[open]>summary{margin-bottom:16px}.reference-details .project-find-fields{margin-bottom:0;gap:24px}.reference-details input{font-size:13px!important;padding:9px 12px}.reference-details label{font-size:12px}.reference-details #open-reference{font-size:12px}
.note-grid{gap:22px;align-items:stretch}.card{border-radius:11px;border-color:#ebeef5}.card-heading{padding:18px 21px!important;min-height:65px;gap:18px}.card-heading>div{gap:12px!important;min-width:0}.card-heading h2{font-size:15px!important;line-height:1.4;font-weight:600}.section-icon,.subtle-tag,.card-heading .number-tag,.card-heading .count{display:none!important}.card-heading .button{border:0;background:#ecf5ff;color:#337ecc;box-shadow:none;padding:7px 15px;min-height:34px;font-size:12px;font-weight:500}.card-heading .button:hover{background:#d9ecff}.final-card .card-heading>div{width:100%;justify-content:space-between}.final-card .card-heading h2{margin-right:auto}.card-heading>.text-button{font-size:12px;color:#909399}.final-card,.output-card{display:flex;flex-direction:column;min-height:500px}.text-preview-trigger{padding:23px 24px;flex:1;min-height:340px;max-height:540px}.text-preview-copy{font-size:14px;line-height:2.05}.editor-footer{border:0!important;min-height:42px;padding:8px 24px!important}.editor-footer .text-button{font-size:11px;color:#909399}.versions-details{border-top:1px solid #ebeef5;padding:13px 23px}.versions-details>summary{font-size:11px;color:#909399}.versions-inner .card-heading{padding-left:0!important;padding-right:0!important}
.output-card .asset-content{padding:20px 21px;flex:1}.gallery-heading,.gallery-filename{display:none!important}.gallery-row{display:block}.gallery-arrow{display:none!important}.asset-strip{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 16px!important;overflow:visible!important;margin:0!important;padding:0!important;scrollbar-width:none}.gallery-item{min-width:0!important;width:100%!important;max-width:none!important;padding:0}.gallery-image{width:100%;height:220px;max-height:220px;aspect-ratio:auto;padding:6px;border:1px solid #ecf5ff;background:#fafafa;border-radius:7px}.gallery-image img{width:100%;height:100%;object-fit:contain;border-radius:2px}.gallery-number{top:8px;left:8px;font-size:10px;padding:0 5px;background:#ffffffed;border:0;box-shadow:none}.gallery-actions{margin-top:9px;display:block;padding:0!important}.gallery-actions .image-copy{width:100%;min-height:31px;padding:5px 9px;font-size:11px;font-weight:400;border:0;background:#f5f7fa;color:#606266;border-radius:5px}.gallery-actions .image-copy:hover{background:#dcdfe6}.asset-empty{min-height:260px}.reference-card .asset-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.reference-card .gallery-image{height:190px}.reference-card .card-heading>.text-button{white-space:nowrap}
.check-card .check-body{padding:18px 22px 20px}.check-card .section-description{display:none}.check-card .report-area{padding:0;border:0;margin:0}.report-head{margin-bottom:18px;align-items:center}.report-badge{font-size:12px;padding:4px 9px;border-radius:5px}.report-time{font-size:11px;color:#909399!important}.risk-group{margin-top:14px}.risk-group-title{font-size:11px;color:#909399!important;margin-bottom:8px}.risk-count{font-size:10px}.risk-chip{font-size:12px;padding:3px 8px;border:0;border-radius:4px}.risk-chips{gap:7px}.no-risks{font-size:12px;color:#909399}.report-review-note{font-size:12px;line-height:1.8;margin:16px 0;padding:10px 12px;border:0;background:#f5f7fa;color:#606266}.risk-reasons{max-height:210px;padding-top:10px;margin-top:16px;border-top:1px solid #ebeef5}.risk-reason{font-size:11px;line-height:1.8;margin:0 0 13px;padding:0;border:0}.risk-reason strong{font-size:12px;font-weight:500;margin-bottom:3px}.history-details{margin-top:16px;padding-top:12px}.history-details>summary{font-size:11px}.check-disclaimer{font-size:10px!important;color:#909399!important}.legacy-reports{margin:16px 0 0}
.original-materials,.creation-tools{border:0;background:transparent;border-top:1px solid #e4e7ed;border-radius:0;margin:25px 0 0;padding:18px 0 0}.original-materials>summary,.creation-tools>summary{font-size:12px;font-weight:400;color:#909399}.advanced-checks{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:18px}.creation-tools .action-bar{margin:18px 0 0;display:flex;justify-content:flex-start}.creation-tools .keyboard-hint{display:none}.action-bar .button{font-size:11px}.creation-tools .note-extras{margin-top:12px}.creation-tools .card-heading{min-height:0}.original-materials .card,.creation-tools .card{background:#ffffff}.check-tools{margin:0}.creation-tools>.legacy-reports{background:transparent;border-color:#ebeef5}
.topbar .slash,.topbar #breadcrumb,.topbar .workspace-icon{display:none}.topbar{height:58px;border-color:#f5f7fa}.sidebar{border-color:#f5f7fa}.sidebar-brand div>span{display:none}.sidebar-brand{margin-bottom:28px}.sidebar-brand .brand-mark{width:29px;height:29px;border-radius:8px;font-size:15px}.sidebar-brand strong{font-size:14px;letter-spacing:0}.project-item{border-radius:7px;padding:13px 12px}.project-item-title{font-size:13px;line-height:1.6}.project-item-meta{font-size:10px}.project-item.selected{background:#ecf5ff;border-color:#b3d8ff}.project-item-note{display:none}.list-heading{font-size:11px}.sidebar .search-box input{font-size:12px}.sidebar>.button{font-size:12px;min-height:38px}.sidebar-bottom{font-size:10px}
@media(min-width:1600px){.workspace{padding-top:42px}.note-grid{gap:24px}.gallery-image{height:240px;max-height:240px}.text-preview-trigger{max-height:580px}}
@media(max-width:760px){.workspace{width:calc(100% - 32px);padding:23px 0 34px}.project-heading{display:block;margin-bottom:16px}.project-heading-actions{width:100%;justify-content:space-between;padding:0;margin-top:14px;gap:15px}.project-title{font-size:20px!important;min-height:34px}.note-identity{margin:9px 0}.project-meta{display:none}.note-grid{gap:17px}.final-card,.output-card{min-height:0}.card-heading{padding:15px 18px!important;min-height:59px}.text-preview-trigger{padding:19px 20px;min-height:220px;max-height:410px}.text-preview-copy{font-size:14px}.editor-footer{padding-left:20px!important}.output-card .asset-content{padding:17px}.asset-strip{gap:16px 12px!important}.gallery-image{height:200px;max-height:200px}.advanced-checks{grid-template-columns:1fr}.check-card .check-body{padding:16px 18px}.reference-details{margin-bottom:17px}.reference-details .project-find-fields{gap:13px}.reference-shortcut{margin-left:4px}.reference-card .asset-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.topbar{height:52px}.original-materials,.creation-tools{margin-top:20px;padding-top:15px}.risk-reasons{max-height:230px}}

.card{border-radius:6px}.gallery-image{border-radius:5px;background:#fafafa}
.card-heading .button,.note-identity .button,.gallery-actions .image-copy{background:#fff;border:1px solid #dcdfe6;color:#606266;border-radius:5px}
.card-heading .button:hover,.note-identity .button:hover,.gallery-actions .image-copy:hover{background:#ecf5ff;border-color:#b3d8ff;color:#337ecc}
.card-heading{background:#fafbfc}.reference-details>summary,.original-materials>summary,.creation-tools>summary{color:#606266}
.sidebar{background:#fff}.topbar{background:#fff}.project-item.selected{background:#ecf5ff;border-color:#b3d8ff}
.note-grid{grid-template-areas:"source reference" "rewritten output" "textcheck imagecheck"}
.note-grid>.source-card{grid-column:1;grid-row:1}.note-grid>.reference-card{grid-column:2;grid-row:1}
.note-grid>.final-card{grid-column:1;grid-row:2}.note-grid>.output-card{grid-column:2;grid-row:2}
.note-grid>.text-check-card{grid-column:1;grid-row:3}.note-grid>.image-check-card{grid-column:2;grid-row:3}
.source-card,.reference-card{display:flex;flex-direction:column;min-height:340px}
.source-card .card-heading>div{width:100%;justify-content:space-between}.source-card .card-heading h2{margin-right:auto}
.source-card .text-preview-trigger{min-height:220px;max-height:320px}.reference-card .asset-content{flex:1}
@media(max-width:760px){.source-card,.reference-card{min-height:0}.source-card .text-preview-trigger{min-height:160px;max-height:280px}}

/* Compact editing columns; finished-content reports begin alongside the final pair. */
.preview-load-status{min-height:260px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:32px 55px;text-align:center;color:#606266;font-size:14px}
.workspace{max-width:none;width:calc(100% - 40px);margin:0 20px;padding-top:26px}
.note-layout{display:grid;grid-template-columns:clamp(230px,18vw,300px) minmax(340px,.55fr) repeat(2,minmax(210px,.225fr));gap:18px;align-items:start}
.note-layout .note-grid{display:contents}
.note-layout .source-card{grid-column:1;grid-row:1;align-self:stretch}
.note-layout .reference-card{grid-column:2;grid-row:1;align-self:stretch}
.note-layout .final-card{grid-column:1;grid-row:3;min-height:0}
.note-layout .output-card{grid-column:2;grid-row:3;min-height:0}
.note-layout .text-check-card{grid-column:3;grid-row:3}
.note-layout .image-check-card{grid-column:4;grid-row:3}
.note-info{grid-column:1/-1;grid-row:2;display:flex;align-items:center;gap:24px;min-width:0;background:#fff;border:1px solid #e4e7ed;border-radius:6px;padding:12px 18px}
.note-info-label{font-size:12px;color:#909399;white-space:nowrap;flex-shrink:0}.note-created-field{display:flex;align-items:center;gap:12px;white-space:nowrap;font-size:13px}
.note-info .publication-field{display:block;flex-shrink:0}.note-info .publication-control{padding:0;font-size:13px;gap:8px}
.note-remark-field{display:flex;align-items:center;gap:12px;flex:1;min-width:0}
.note-remark-field textarea{width:100%;min-width:0;min-height:34px!important;height:34px;max-height:90px;border:1px solid #dcdfe6;border-radius:5px;padding:6px 10px;resize:vertical;font-size:13px;line-height:1.6}
.topic-folder{margin:0 0 10px}.topic-folder>summary{display:flex;align-items:center;gap:7px;list-style:none;cursor:pointer;padding:9px 7px;color:#606266;font-size:13px;font-weight:600}
.topic-folder>summary::-webkit-details-marker{display:none}.topic-folder>summary::before{content:'›';font-size:17px;line-height:1;transition:transform .15s}.topic-folder[open]>summary::before{transform:rotate(90deg)}
.topic-folder-title{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topic-folder-count{font-size:10px;font-weight:400;color:#909399}
.topic-note-list{margin:0 0 0 13px;padding:2px 0 2px 8px;border-left:1px solid #e4e7ed}.topic-note-list .project-item{padding:10px 9px;margin-bottom:5px}.topic-note-list .project-item-title{font-size:12px;font-weight:500}
.topic-note-list .project-item-meta{font-size:10px}.topic-note-remark{display:block;font-size:10px;color:#909399;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:4px}.add-topic-note{padding:6px 9px;color:#409eff;font-size:11px}
.note-layout .asset-strip{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 10px!important}
.note-layout .gallery-image{height:auto;max-height:none;aspect-ratio:3/4;padding:3px}
.note-layout .gallery-item{gap:4px}.note-layout .gallery-actions{margin-top:3px}
.note-layout .gallery-actions .image-copy{font-size:10px;padding:5px 3px}
.note-layout .text-preview-trigger{align-content:start}
.reports-sidebar{display:contents}
.reports-sidebar .check-card{width:100%;min-width:0;display:flex;flex-direction:column}
.note-layout .final-card,.note-layout .output-card,.reports-sidebar .check-card{height:480px;min-height:0}
.note-layout .card-heading{height:64px;min-height:64px;flex-shrink:0}
.note-layout .final-card .text-preview-trigger{min-height:0;max-height:none;flex:1;overflow:auto}
.note-layout .final-card .versions-details{max-height:150px;overflow:auto;flex-shrink:0}
.note-layout .output-card .asset-content,.reports-sidebar .check-body{min-height:0;flex:1;overflow:auto}
.reports-sidebar .card-heading{padding:16px 18px!important;min-height:60px}
.reports-sidebar .check-body{padding:17px 18px}
.reports-sidebar .risk-reasons{max-height:180px}
.reports-sidebar .report-head{gap:8px}.reports-sidebar .report-time{font-size:10px}
.reports-sidebar .check-disclaimer{line-height:1.8}
.source-card .text-preview-trigger{align-content:start}
@media(min-width:761px) and (max-width:1359px){
 .note-layout{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}
 .note-layout .text-check-card{grid-column:1;grid-row:4}.note-layout .image-check-card{grid-column:2;grid-row:4}
}
@media(max-width:760px){
 .workspace{width:calc(100% - 32px);margin:0 16px;padding-top:23px}
 .note-layout{display:flex;flex-direction:column;gap:20px}.note-layout .note-grid,.reports-sidebar{width:100%}
 .note-layout .note-grid>.card{width:100%}.note-layout .asset-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
 .note-layout .final-card,.note-layout .output-card,.reports-sidebar .check-card{height:auto;max-height:600px}
 .note-layout .final-card .text-preview-trigger{min-height:220px;max-height:410px}
 .note-info{width:100%;flex-wrap:wrap;gap:12px 20px;padding:12px 14px}.note-remark-field{flex-basis:100%}.note-created-field{font-size:12px}
 .reports-sidebar .risk-reasons{max-height:230px}
}
.note-info{flex-wrap:wrap}
.note-info .note-id-field{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin:0;font-size:12px;flex-shrink:0}
.note-info .note-id-field>span{display:inline;color:#909399;white-space:nowrap}
.note-info .note-id-field code{font-size:13px;font-weight:600;color:#606266}
.note-info .note-id-field .button{padding:4px 8px;font-size:11px}
.note-info .note-remark-field{min-width:240px}
.project-note-id{display:block;margin:3px 0;font:11px ui-monospace,SFMono-Regular,Consolas,monospace;color:#909399}
.project-item.selected .project-note-id{color:#409eff}
@media(max-width:760px){.note-info .note-id-field{font-size:11px}.note-info .note-remark-field{min-width:0;width:100%}}
