[hidden]{display:none!important}.brand-mark{display:grid;place-items:center;width:32px;height:32px;background:#2563eb;color:white;border-radius:8px;font-weight:700}.login-wrap{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(ellipse at top,#e8f0ff,transparent 60%)}.login-card{width:min(460px,100%);display:grid;gap:24px;padding:36px}.login-card h1{font-size:23px;margin:0}.login-card label,.form-stack label{display:grid;gap:8px}.login-card input{width:100%}#loginError{color:#b91c1c;font-size:13px}.notice{padding:16px 20px;border:1px solid #fde68a;background:#fffbeb;border-radius:10px;color:#92400e;margin-bottom:24px;font-size:13px}.notice.info{background:#eff6ff;border-color:#bfdbfe;color:#1e40af}.empty{padding:56px 24px;text-align:center;color:#6b7280}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:24px}.stat-grid .large-value{font-size:30px;margin:8px 0}.doc-text{white-space:pre-wrap;word-break:break-word;font:13px/1.9 ui-monospace,"Microsoft YaHei",monospace;max-height:560px;overflow:auto;background:#f8fafc;padding:20px;border:1px solid #e5e7eb;border-radius:8px}.hash{font:11px/1.5 monospace;overflow-wrap:anywhere;color:#6b7280}.version-date{word-break:break-word;text-align:left;font-size:12px}.version-button{margin-bottom:10px}.status.red{background:#fef2f2;color:#991b1b}.toolbar{display:flex;justify-content:space-between;gap:16px;margin-bottom:20px}.filters{display:flex;gap:18px;flex-wrap:wrap;margin-bottom:20px}.filters label{display:grid;gap:6px}dialog{width:min(1050px,94vw);max-height:88vh;border:1px solid #e5e7eb;border-radius:14px;padding:28px;box-shadow:0 20px 80px #0003}dialog::backdrop{background:#11182766}.dialog-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.dialog-head button{padding:4px 12px;font-size:22px}.form-stack{display:grid;gap:18px}.form-stack textarea{width:100%;min-height:120px}.form-stack input{width:100%}.row-title{font-weight:500}.cell-note{font-size:11px;color:#6b7280}.small-note{font-size:12px;color:#6b7280;margin:16px 0}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:13px}th{text-align:left;background:#f8fafc;color:#6b7280;font-size:12px;font-weight:500}th,td{padding:13px 16px;border-bottom:1px solid #f1f5f9}td{vertical-align:top}a{color:#2563eb}.detail-footer{display:flex;justify-content:space-between;gap:20px;margin-top:20px;align-items:center}.keyvalues div{display:grid;grid-template-columns:150px 1fr;gap:20px;padding:12px 0;border-bottom:1px solid #f1f5f9}.keyvalues dt{color:#6b7280}.keyvalues dd{margin:0;overflow-wrap:anywhere}#toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);padding:12px 20px;background:#111827;color:white;border-radius:10px;z-index:100}button:disabled{opacity:.5;cursor:not-allowed}.source-note{font-size:12px;color:#6b7280;margin-top:24px}.error{color:#b91c1c}details{margin:16px 0}summary{cursor:pointer}.score{font-variant-numeric:tabular-nums}.section-heading{margin-bottom:18px}.two-columns{display:grid;grid-template-columns:1fr 1fr;gap:24px}@media(max-width:900px){.layout{grid-template-columns:1fr}.sidebar{padding:18px;gap:16px;border-right:0;border-bottom:1px solid #e5e7eb}.sidebar-bottom{display:none}.directions{display:flex}.sidebar>div:nth-child(2):not(.project-switch){display:none}.workspace{padding:24px 16px}.topbar{padding:0 16px}.requirements-layout,.two-columns{grid-template-columns:1fr}.versions-list{max-height:210px;overflow:auto}.stat-grid{grid-template-columns:1fr}.pagehead{align-items:flex-start}.top-actions .avatar{display:none}h1{font-size:24px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}.card:hover,button:hover{transform:none}}
.document-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:20px}.document-heading h2{font-size:17px}.document-heading .small-note{margin:8px 0 0}.document-controls{display:flex;gap:8px;flex-shrink:0}.document-disclosure{border:1px solid #e5e7eb;border-radius:10px;margin:12px 0;overflow:hidden}.document-disclosure>summary{padding:16px;background:#f8fafc;list-style:none;display:flex;align-items:baseline;gap:12px;font-size:13px;font-weight:500}.document-disclosure>summary::-webkit-details-marker{display:none}.document-disclosure>summary::before{content:'▸';color:#6b7280}.document-disclosure[open]>summary::before{content:'▾'}.document-name{flex:1;overflow-wrap:anywhere}.disclosure-hint{font-size:12px;color:#2563eb;flex-shrink:0}.document-disclosure .when-open{display:none}.document-disclosure[open] .when-open{display:inline}.document-disclosure[open] .when-closed{display:none}.document-body{padding:0 18px 18px}.document-disclosure[open]>summary{border-bottom:1px solid #e5e7eb}.document-body .doc-text{margin-top:0}@media(max-width:1100px){.document-heading{flex-direction:column}.document-controls{flex-wrap:wrap}}
.document-download{justify-content:flex-end}.document-body>.doc-text{margin-top:18px}.comparison-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}.comparison-scope{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:18px;background:#f8fafc;border:1px solid #e5e7eb;border-radius:10px}.comparison-scope ul{padding-left:18px;font-size:12px;color:#6b7280;overflow-wrap:anywhere}.comparison-selectors label{flex:1;min-width:160px}.comparison-selectors select{width:100%}.comparison-report{border-top:1px solid #e5e7eb;margin-top:24px;padding-top:24px}.report-summary,.comparison-change p{white-space:pre-wrap;line-height:1.9;overflow-wrap:anywhere}.comparison-change{border-top:1px solid #f1f5f9;padding:20px 0}.comparison-change h3{margin-bottom:12px}.change-impact{margin-top:12px;color:#4b5563}.comparison-change summary{font-size:12px;color:#2563eb}.comparison-sources{font-size:12px;margin-top:16px}.comparison-sources blockquote{margin:8px 0 16px;padding:8px 14px;border-left:3px solid #bfdbfe;background:#f8fafc;white-space:pre-wrap}.comparison-sources p{color:#6b7280;margin-top:10px}@media(max-width:700px){.comparison-scope{grid-template-columns:1fr}}
.material-name{display:block;text-align:left;background:transparent;border:0;box-shadow:none;color:#2563eb;padding:0;overflow-wrap:anywhere;font-weight:500;max-width:100%}.material-name:hover{transform:none;box-shadow:none}.material-actions{display:flex;gap:16px;align-items:center}.material-search{display:flex;gap:8px}.material-pagination{display:flex;gap:20px;align-items:center;justify-content:flex-end;margin-top:24px;font-size:13px;color:#6b7280}.materials-table{table-layout:fixed}.materials-table th:first-child{width:58%}.materials-table th:nth-child(2){width:10%}.materials-table th:nth-child(3){width:12%}.materials-table th:last-child{width:20%}.seed-image{max-width:100%;max-height:65vh;object-fit:contain;display:block;margin:auto}.seed-preview{max-height:60vh}.version-file-list{display:grid;gap:8px}.form-stack .version-file{display:flex;align-items:flex-start;gap:12px;padding:12px;border:1px solid #e5e7eb;border-radius:8px}.form-stack .version-file input{width:auto;flex-shrink:0;margin-top:6px}.version-file span{overflow-wrap:anywhere}@media(max-width:700px){.material-search{width:100%}.material-search input{min-width:0;flex:1}#content .toolbar{flex-wrap:wrap}.materials-table{min-width:600px}.material-pagination{justify-content:center;gap:12px}}
.seed-library:hover{transform:none;box-shadow:var(--sm)}.seed-explorer{display:grid;grid-template-columns:190px minmax(0,1fr);border-top:1px solid #e5e7eb;margin-top:8px;min-height:440px}.seed-directory-pane{border-right:1px solid #e5e7eb;padding:24px 18px 0 0}.seed-directory-pane nav{display:grid;gap:5px}.seed-directory{width:100%;justify-content:flex-start;padding:10px;border:0;box-shadow:none;background:transparent;font-size:12px;text-align:left}.seed-directory:hover{transform:none;box-shadow:none;background:#f8fafc}.seed-directory.selected{background:#eff6ff;color:#1d4ed8}.seed-directory span{overflow-wrap:anywhere}.seed-directory svg,.seed-folder-card svg{width:20px;height:20px;flex-shrink:0;fill:#fff7db;stroke:#bd9224;stroke-width:1.5;stroke-linejoin:round}.seed-folder-content{padding:20px 0 0 24px;min-width:0}.seed-folder-content[aria-busy=true]{opacity:.6;pointer-events:none}.seed-breadcrumbs{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-bottom:24px;font-size:12px;color:#9ca3af}.seed-breadcrumbs button{padding:2px 3px;border:0;box-shadow:none;background:transparent;color:#6b7280;font-size:12px;overflow-wrap:anywhere;max-width:100%;text-align:left;display:block}.seed-breadcrumbs button:hover{transform:none;color:#2563eb}.seed-breadcrumbs [aria-current]{color:#111827;font-weight:600}.seed-folder-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:20px}.seed-folder-heading h2{overflow-wrap:anywhere}.seed-folder-heading .small-note{margin:6px 0 0}.seed-folder-heading>button{flex-shrink:0}.seed-folder-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:24px}.seed-folder-card{padding:18px;text-align:left;justify-content:flex-start;gap:14px;border:1px solid #e5e7eb;box-shadow:none;border-radius:10px;background:#fff}.seed-folder-card:hover{transform:none;background:#f8fafc;border-color:#bfdbfe;box-shadow:0 1px 4px #00000008}.seed-folder-card>svg{width:30px;height:30px}.seed-folder-card>span:not(.folder-arrow){min-width:0;flex:1}.seed-folder-card strong{display:block;font-size:13px;font-weight:500;overflow-wrap:anywhere}.seed-folder-card small{display:block;font-size:11px;font-weight:400;color:#9ca3af;margin-top:4px}.folder-arrow{font-size:22px;color:#9ca3af}.material-location{display:block;border:0;box-shadow:none;background:transparent;font-size:11px;color:#6b7280;text-align:left;padding:0;margin-top:6px;overflow-wrap:anywhere}.material-location:hover{transform:none;box-shadow:none;color:#2563eb}.seed-library .material-search input{min-width:250px}.seed-library .materials-table{min-width:560px}.seed-library .materials-table th:first-child{width:53%}.seed-library .materials-table th:last-child{width:25%}@media(max-width:1100px){.seed-explorer{grid-template-columns:150px minmax(0,1fr)}.seed-directory-pane{padding-right:12px}.seed-folder-content{padding-left:18px}.seed-folder-grid{grid-template-columns:1fr}}@media(max-width:700px){.seed-explorer{grid-template-columns:1fr}.seed-directory-pane{border-right:0;border-bottom:1px solid #e5e7eb;padding:16px 0}.seed-directory-pane nav{display:flex;overflow-x:auto;padding:2px 0 8px}.seed-directory{width:auto;flex-shrink:0}.seed-directory-pane .side-label{display:none}.seed-folder-content{padding:18px 0 0}.seed-library .material-search input{min-width:0}.seed-folder-card{padding:14px}}
.seed-directory-pane{min-width:0}.seed-directory-pane nav{max-width:100%}@media(max-width:700px){.seed-explorer{grid-template-columns:minmax(0,1fr)}}
/* Purpose-led seed collections, with original identifiers kept secondary. */
.seed-explorer{grid-template-columns:205px minmax(0,1fr)}
.seed-nav-group{margin-top:17px}.seed-nav-group>p{font-size:11px;color:#8994a5;margin:0 0 7px 10px;letter-spacing:.03em}.seed-nav-group .seed-directory{margin:2px 0;padding-left:12px;line-height:1.5}
.seed-purpose-group{margin:0 0 30px}.seed-group-heading{margin-bottom:12px}.seed-group-heading h3{font-size:14px;margin:0;color:#25354c}.seed-group-heading p{font-size:12px;color:#788395;margin:5px 0 0}
.seed-collection-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.seed-collection-card{border:1px solid #e2e8f0;border-radius:12px;padding:20px;display:flex;flex-direction:column;background:linear-gradient(135deg,#f8fbff,#fff 55%);min-width:0}.seed-collection-title{display:flex;gap:10px;align-items:center}.seed-collection-title h3{font-size:15px;font-weight:600;line-height:1.6;margin:0}.seed-collection-title svg{width:22px;height:22px;flex-shrink:0;fill:#e8efff;stroke:#5c7ebf;stroke-width:1.5;stroke-linejoin:round}.seed-collection-card>p{font-size:13px;line-height:1.85;color:#526079;margin:12px 0;flex:1}.seed-original{font-size:11px;color:#8b94a5;overflow-wrap:anywhere}.seed-collection-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-top:17px}.seed-collection-actions button{font-size:12px}.seed-original-link{border:0;box-shadow:none;background:transparent;color:#68788d;padding:6px 2px}.seed-purpose-group:first-of-type .seed-collection-grid:has(> :only-child){grid-template-columns:1fr}
.seed-current-path{font-size:11px;color:#8994a5;margin:8px 0 0;overflow-wrap:anywhere}.seed-folder-description{display:block;font-size:12px;font-weight:400;line-height:1.8;color:#637187;margin-top:6px}.seed-folder-card small{overflow-wrap:anywhere}.seed-task-title{display:block;font-size:12px;font-weight:400;color:#34445c;line-height:1.7;overflow-wrap:anywhere;margin-top:8px}.seed-entry-hint{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#eff6ff;border-radius:9px;padding:12px 16px;margin-bottom:20px;font-size:12px;color:#45638c}
.seed-filter-bar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:0 0 22px;font-size:12px}.seed-filter-bar label{color:#526079}.seed-filter-bar select{font-size:12px;padding:7px 28px 7px 10px;border:1px solid #dce3ed;border-radius:7px;background-color:white;max-width:100%}.seed-filter-bar>span{color:#8994a5;font-size:11px}
.material-title-line{display:flex;gap:10px;align-items:baseline;flex-wrap:wrap}.material-title-line .material-name{font-size:14px;color:#263f67;font-weight:600}.material-role{display:inline-block;border-radius:4px;background:#f0f4f8;color:#5d6f85;padding:2px 6px;font-size:10px;white-space:nowrap}.role-grading{background:#fff4e5;color:#976226}.role-questions{background:#eaf1ff;color:#3c62a0}.role-input{background:#eaf5f1;color:#467764}.material-purpose{font-size:12px;color:#627087;line-height:1.8;margin:7px 0}.material-original{font-size:11px;color:#8a94a3;line-height:1.6;overflow-wrap:anywhere}.material-location{line-height:1.6;margin-top:8px}.seed-library .materials-table th:first-child{width:66%}.seed-library .materials-table th:nth-child(2){width:12%}.seed-library .materials-table th:last-child{width:22%}.seed-library .materials-table td{padding-top:18px;padding-bottom:18px}.seed-library .materials-table .cell-note{margin-top:5px}
@media(max-width:1100px){.seed-explorer{grid-template-columns:180px minmax(0,1fr)}.seed-collection-grid{grid-template-columns:1fr}}
@media(max-width:700px){.seed-explorer{grid-template-columns:minmax(0,1fr)}.seed-nav-group{display:contents}.seed-nav-group>p{display:none}.seed-nav-group .seed-directory{margin:0;padding:8px 12px}.seed-collection-card{padding:17px}.seed-entry-hint{align-items:flex-start;flex-direction:column}.seed-library .materials-table{min-width:0}.seed-library .materials-table thead{display:none}.seed-library .materials-table tbody{display:block}.seed-library .materials-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;border-bottom:1px solid #e5e7eb;padding:18px 0;gap:10px}.seed-library .materials-table td{border:0;padding:0}.seed-library .materials-table td:first-child{grid-column:1/-1}.seed-library .materials-table td:nth-child(2){display:flex;align-items:center;gap:10px;font-size:11px;color:#8994a5}.seed-library .materials-table .cell-note{margin:0}.seed-library .material-actions{gap:18px}.seed-filter-bar>span{width:100%}.seed-collection-grid{grid-template-columns:minmax(0,1fr)}}
.material-location{max-width:100%;white-space:normal}
/* Benchmark navigation; one evaluation case, with all its files, per row. */
.benchmark-library>.toolbar{align-items:center}.benchmark-library>.toolbar .small-note{margin:0}.benchmark-library .seed-directory{font-size:13px;padding:12px;margin-bottom:5px}.benchmark-library .seed-explorer{grid-template-columns:180px minmax(0,1fr)}
.benchmark-summary{background:#f8faff;border:1px solid #e5ebf5;border-radius:10px;padding:22px;margin-bottom:26px}.benchmark-eyebrow{font-size:10px;letter-spacing:.1em;color:#7c8ba3}.benchmark-summary h2{font-size:21px;margin:5px 0 12px}.benchmark-summary>p{font-size:13px;line-height:1.9;color:#526079;margin:8px 0}.benchmark-summary>.benchmark-organization{font-size:12px;color:#7a879b}.benchmark-references{margin:14px 0 0;font-size:12px;color:#5b7091}.benchmark-references>div{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:12px}.benchmark-references a{margin-right:15px}
.benchmark-list-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin:0 0 16px}.benchmark-list-heading h3{margin:0;font-size:15px}.benchmark-list-heading p{font-size:12px;color:#7e899a;margin:4px 0 0}.benchmark-list-heading>span{font-size:12px;color:#7e899a;flex-shrink:0}.benchmark-filters{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:18px}.benchmark-filters>label{display:flex;align-items:center;gap:8px;font-size:12px;color:#64748b}.benchmark-filters select{max-width:200px;font-size:12px;padding:7px 10px;background:#fff}.benchmark-filters .material-search{flex:1}.benchmark-filters .material-search input{min-width:0;flex:1;width:100%}
.package-table{table-layout:fixed}.package-table th:nth-child(1){width:48%}.package-table th:nth-child(2){width:16%}.package-table th:nth-child(3){width:23%}.package-table th:nth-child(4){width:13%}.package-table td{padding:20px 14px;vertical-align:top;font-size:12px;line-height:1.7;overflow-wrap:anywhere}.package-table .material-name{font-size:13px;line-height:1.8;color:#254371;font-weight:600;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.package-row-number{font-size:10px;color:#9aa6b7;display:block;margin-bottom:5px;font-variant-numeric:tabular-nums}.package-category{display:inline-block;background:#f1f5fa;border-radius:4px;padding:3px 7px;color:#687a93;font-size:11px}.package-excerpt{margin:8px 0 0;color:#8290a3;font-size:11px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.package-formats{font-size:11px;color:#8592a5;margin-top:5px}.package-table td:last-child button{white-space:nowrap;padding:6px 10px}
.package-back{display:flex;gap:14px;align-items:center;margin-bottom:20px;font-size:12px;color:#8290a3}.package-detail-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:22px}.package-detail-heading h2{font-size:18px;line-height:1.8;overflow-wrap:anywhere}.package-detail-heading a{font-size:12px;white-space:nowrap;padding-top:5px}.package-question,.package-grading{border:1px solid #e2e8f0;border-radius:8px;overflow:hidden}.package-question>summary,.package-grading>summary{background:#f8fafc;padding:14px 18px;font-size:13px;font-weight:500}.package-field{padding:0 18px 8px}.package-field h4{font-size:12px;font-weight:500;color:#697b92;margin:15px 0 8px}.package-field .doc-text{font-family:inherit;font-size:13px;line-height:1.9;max-height:440px;margin:0}.package-grading>summary{color:#8a714c;background:#fffbf3}.package-attachments{border-top:1px solid #e5e7eb;margin-top:28px;padding-top:24px}.package-attachments>.material-search{margin:0 0 18px}.package-attachment-table{table-layout:fixed}.package-attachment-table th:first-child{width:62%}.package-attachment-table th:nth-child(2){width:16%}.package-attachment-table th:last-child{width:22%}.package-attachment-table td{overflow-wrap:anywhere}.package-attachment-table .material-original{font-size:10px}.package-attachment-table .material-actions{gap:12px}.package-attachment-table .material-name{line-height:1.8}
@media(max-width:1100px){.benchmark-library .seed-explorer{grid-template-columns:155px minmax(0,1fr)}.package-table th:nth-child(1){width:43%}.package-table th:nth-child(2){width:16%}.package-table th:nth-child(3){width:25%}.package-table th:nth-child(4){width:16%}.package-table td{padding:15px 10px}}
@media(max-width:700px){.benchmark-library .seed-explorer{grid-template-columns:minmax(0,1fr)}.benchmark-library .seed-directory{font-size:12px;margin:0;padding:8px 12px}.benchmark-summary{padding:16px}.benchmark-summary h2{font-size:20px}.benchmark-filters{align-items:stretch}.benchmark-filters .material-search{flex-basis:100%}.benchmark-filters select{min-width:0;max-width:230px}.benchmark-list-heading{flex-wrap:wrap}.package-table,.package-attachment-table{min-width:0}.package-table thead,.package-attachment-table thead{display:none}.package-table tbody,.package-attachment-table tbody{display:block}.package-table tr,.package-attachment-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;border-bottom:1px solid #e5e7eb;padding:18px 0}.package-table td,.package-attachment-table td{border:0;padding:0;min-width:0}.package-table td:first-child,.package-attachment-table td:first-child{grid-column:1/-1}.package-table td:nth-child(3){grid-column:1;grid-row:3}.package-table td:nth-child(4){grid-column:2;grid-row:2/4;align-self:center}.package-detail-heading{flex-direction:column;gap:8px}.package-detail-heading h2{font-size:16px}.package-field{padding:0 10px 8px}.package-field .doc-text{padding:12px}.package-attachments .material-search{flex-wrap:wrap}.package-attachments .material-search input{min-width:0;flex:1}.package-attachment-table td:nth-child(2){font-size:11px;color:#8994a5}.package-back{flex-wrap:wrap}}
.benchmark-summary{padding:15px 18px;margin-bottom:20px}.benchmark-summary h2{font-size:18px;margin:0 0 6px}.benchmark-eyebrow{float:right;padding-top:5px}.benchmark-summary>p{font-size:12px;line-height:1.8;margin:4px 0}.benchmark-references{margin-top:8px}.benchmark-references .benchmark-organization{font-size:12px;line-height:1.8;color:#7a879b;margin:10px 0}.benchmark-library>.toolbar{margin-bottom:12px}.benchmark-list-heading{margin-bottom:12px}
@media(max-width:700px){.benchmark-eyebrow{float:none;display:block;padding:0;margin-bottom:4px}.benchmark-summary{padding:14px}}
.version-timeline{display:grid;gap:16px}.score-version{border:1px solid #dfe5ed;border-radius:10px;overflow:hidden;margin:0}.score-version>summary{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:16px 18px;background:#f8fafc;font-size:12px;list-style:none}.score-version>summary:before{content:'▸';color:#7f8ca0}.score-version[open]>summary:before{content:'▾'}.score-version>summary strong{font-size:16px;color:#284d83}.score-version-body{padding:20px}.score-version-body h3{font-size:14px;margin:12px 0}.score-version-body h4{font-size:12px;margin:12px 0 6px}.iteration-explanation{border-top:1px solid #e5e7eb;margin-top:24px;padding-top:16px}.iteration-explanation ul{padding-left:22px;font-size:12px;line-height:1.9;color:#526078}.iteration-explanation li{margin-bottom:8px}.iteration-explanation summary,.score-evidence summary,.initial-scores summary{font-size:12px;color:#526b92}.iteration-section{margin-top:16px}.iteration-delta{font-size:12px;color:#2563eb}.evidence-source{font-size:11px;color:#7d8999;overflow-wrap:anywhere;line-height:1.8;margin-top:12px}.score-evidence:has(h3){background:#fafbfe;padding:18px;border:1px solid #e3e9f3;border-radius:8px;margin-top:20px}.score-evidence>p{font-size:12px}.rubric-deduction{padding:18px 0;border-top:1px solid #e5e7eb}.rubric-heading{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;font-size:12px;color:#996039}.rubric-deduction>p{font-size:13px;line-height:1.85;white-space:pre-wrap}.rubric-reason{padding:12px 14px;background:#fff6eb;border-radius:6px;margin-top:10px;font-size:12px;line-height:1.8}.rubric-reason p{margin:6px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.score-evidence .doc-text{font-family:inherit}.round-score-table{min-width:540px}.round-score-table td{font-size:12px}.initial-scores{border:1px solid #e5e7eb;padding:12px;border-radius:8px}.score-filters{margin-bottom:12px}.score-version-body .notice{margin-bottom:14px;font-size:12px}
@media(max-width:700px){.score-version-body{padding:12px}.score-evidence:has(h3){padding:12px}.score-version>summary{padding:14px 12px;gap:10px}.rubric-heading{flex-direction:column}}
.repair-workflow{display:flex;flex-wrap:wrap;gap:12px;padding:18px 0}.repair-workflow span{font-size:12px;padding:8px 12px;background:#f0f5fd;color:#45628c;border-radius:7px}.repair-prompt-excerpt{font-size:12px;max-width:360px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin:0 0 6px}.repair-download{display:block;margin-top:10px;font-size:12px}.quality-report-list{display:grid;gap:16px}.quality-report{border:1px solid #e5e7eb;border-radius:9px;padding:18px;min-width:0;margin:12px 0}.quality-report h3{font-size:14px;overflow-wrap:anywhere}.quality-summary{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.85;font-size:13px}.quality-attachments{display:flex;flex-wrap:wrap;gap:12px;margin:14px 0}.quality-attachments>span{display:flex;gap:10px;align-items:center;font-size:12px;max-width:100%}.quality-attachments button{overflow-wrap:anywhere;min-width:0;text-align:left}.form-stack .checkbox-line{display:flex;align-items:flex-start;gap:10px;font-size:12px;line-height:1.8}.form-stack .checkbox-line input{width:auto;flex-shrink:0;margin-top:5px}.repair-report-picker{border:1px solid #e5e7eb;border-radius:8px;padding:14px;font-size:12px}.repair-report-picker details{max-height:250px;overflow:auto}.repair-form-status{font-size:13px;color:#a04021}.repair-file-path{overflow-wrap:anywhere;font-size:12px}.repair-job-actions{display:flex;gap:18px;align-items:center;margin-top:20px}.repair-checks{font-size:12px}.repair-checks td{overflow-wrap:anywhere}.repair-workspace .toolbar{align-items:flex-start}.repair-workspace .subtabs{margin-bottom:10px}#repairJobBody h3{font-size:15px;margin-top:24px}#repairJobBody>details{margin:20px 0}#repairJobBody .table-wrap{max-height:450px;overflow:auto}.repair-workspace .table-wrap table{min-width:650px}@media(max-width:700px){.repair-workflow{gap:8px}.repair-workflow span{flex:1 0 42%;font-size:11px}.quality-report{padding:14px}.quality-attachments>span{flex-wrap:wrap}.repair-job-actions{flex-wrap:wrap}.repair-checks{min-width:530px}.form-stack select{max-width:100%;min-width:0}}

.monitor-counts{display:flex;flex-wrap:wrap;gap:12px 28px;margin:20px 0}.monitor-counts span{font-size:12px;color:#64748b}.monitor-counts strong{font-size:20px;color:#243d5e;margin-left:10px}.monitor-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.monitor-title{font-size:12px;max-width:240px;white-space:normal;line-height:1.7;margin-top:6px}.monitor-table{min-width:1050px}.monitor-table td{font-size:12px}.monitor-table .score{white-space:nowrap}.monitor-table td:first-child{min-width:150px}.monitor-table td:nth-child(2){min-width:135px}.production-monitor .toolbar{align-items:flex-start}.production-monitor .toolbar .small-note{margin-bottom:0}.monitor-history{margin-top:24px}#monitorEvidence h3{margin:24px 0 12px}#monitorDetail table{min-width:620px}@media(max-width:700px){.monitor-tools{width:100%}.monitor-counts{gap:12px 20px}.monitor-counts strong{font-size:18px}}

.production-monitor{padding:20px}.monitor-table{min-width:1250px;width:100%;font-variant-numeric:tabular-nums}.monitor-table th,.monitor-table td{padding:11px 9px;white-space:nowrap}.monitor-table td:first-child{min-width:160px;max-width:230px}.monitor-table td:nth-child(2){min-width:65px}.monitor-table .monitor-title{max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.monitor-task-name{border:0;padding:0;background:transparent;color:#245f9e;font-size:12px;font-weight:600}.monitor-frozen{background:#fafbfc}.monitor-low{font-weight:600;color:#304f79}.monitor-trend{margin:20px 0}.monitor-trend svg{width:100%;height:auto;min-width:450px}.monitor-trend{overflow:auto}.monitor-trend text{font:11px sans-serif;fill:#64748b}.history-deduction{display:block;margin-top:6px;font-size:11px}#monitorDetail .monitor-history{margin-top:20px}.production-monitor .monitor-counts{gap:12px 22px}.monitor-tools select{max-width:130px}
.monitor-history table{font-variant-numeric:tabular-nums}.monitor-history th,.monitor-history td{padding:12px 9px}.monitor-history th{white-space:nowrap}.monitor-direction{min-width:220px;max-width:300px}.monitor-direction p{margin:0;line-height:1.7;font-size:12px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.monitor-history td:last-child,.monitor-history th:last-child{position:sticky;right:0;background:#fff;box-shadow:-3px 0 5px #152b4710;white-space:nowrap}.monitor-history th:last-child{background:#f8fafc}.monitor-history .history-deduction{margin:0;white-space:nowrap}.monitor-improvement{padding:18px;background:#f3f7fc;border:1px solid #dce5f1;border-radius:8px;margin:18px 0}.monitor-improvement h4{margin:0 0 10px;font-size:14px}.monitor-improvement p{font-size:13px;line-height:1.9;overflow-wrap:anywhere}.monitor-improvement .small-note{font-size:12px;margin-bottom:0}.monitor-lane-evidence{border:1px solid #dce5f1;border-radius:8px;overflow:hidden}.monitor-lane-evidence>summary{display:flex;gap:18px;flex-wrap:wrap;padding:16px;background:#f8fafc;font-size:13px}.monitor-lane-evidence>summary:before{content:'▸'}.monitor-lane-evidence[open]>summary:before{content:'▾'}.monitor-lane-body{padding:0 18px 12px;overflow-wrap:anywhere}.monitor-current-action{display:flex;justify-content:flex-end;margin:12px 0}#monitorEvidence{scroll-margin-top:16px}@media(max-width:700px){.monitor-improvement,.monitor-lane-body{padding:12px}.monitor-lane-evidence>summary{gap:10px}}
.monitor-direction,.monitor-direction p{white-space:normal}#monitorEvidence .monitor-improvement p{max-width:none}

/* 题目审查：题面、Rubric、标准答案、逐轮 Skill 的人工核对台 */
.review-workspace{display:grid;grid-template-columns:250px minmax(0,1fr);border-top:1px solid #e5e7eb;margin-top:4px;min-height:640px}
.review-side{border-right:1px solid #e5e7eb;padding:18px 14px 18px 0;min-width:0}
.review-search{width:100%;padding:8px 10px;border:1px solid #dce3ed;border-radius:7px;font-size:12px;margin-bottom:8px}
.review-side .small-note{margin:0 0 10px;font-size:11px}
.review-task-list{display:grid;gap:2px;max-height:66vh;overflow:auto;padding-right:4px}
.review-task{display:grid;gap:3px;width:100%;text-align:left;padding:9px 10px;border:0;border-radius:7px;background:transparent;box-shadow:none;font-size:12px;color:#25354c}
.review-task:hover{background:#f5f8fd;transform:none;box-shadow:none}
.review-task.selected{background:#eef4ff;color:#1d4ed8}
.review-task strong{font-size:12px;font-weight:600;letter-spacing:.01em}
.review-task span{font-size:11px;color:#7d8999;line-height:1.5;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.review-task em{font-style:normal;font-size:10px;color:#9aa6b7}
.review-detail{padding:18px 0 24px 22px;min-width:0}
.review-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:14px}
.review-head h2{font-size:18px;line-height:1.6;margin:4px 0 6px;overflow-wrap:anywhere}
.review-head .small-note{margin:0;font-size:11px}
.review-mark-buttons{display:flex;gap:8px;flex-shrink:0;align-items:center;flex-wrap:wrap}
.review-mark-buttons button{font-size:11px}
.review-mark-state{font-size:11px;color:#6b7280}
.review-rounds{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:0 0 12px;font-size:11px;color:#7d8999}
.review-round{padding:5px 9px;border:1px solid #dce3ed;border-radius:6px;background:#fff;font-size:11px;color:#3f5878;box-shadow:none}
.review-round:hover{border-color:#9db8e0;transform:none;box-shadow:none}
.review-round.selected{background:#2563eb;border-color:#2563eb;color:#fff}
.review-change-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:11px 14px;border-radius:8px;background:#f8fafc;border:1px solid #e5e7eb;font-size:11px;color:#5b6b82;margin-bottom:14px}
.review-change-bar strong{color:#243d5e;font-size:11px}
.review-change-chip{padding:3px 8px;border-radius:20px;background:#fff;border:1px solid #dce3ed;font-size:11px;color:#46618a;cursor:pointer}
.review-change-chip:hover{border-color:#9db8e0;background:#f3f7fd}
.review-change-chip.empty{color:#98a2b3;border-style:dashed;cursor:default}
.review-tabs{display:flex;gap:4px;flex-wrap:wrap;border-bottom:1px solid #e5e7eb;margin-bottom:18px}
.review-tab{padding:9px 13px;border:0;border-bottom:2px solid transparent;background:transparent;box-shadow:none;font-size:12px;color:#6b7280;border-radius:0}
.review-tab:hover{color:#2563eb;transform:none;box-shadow:none}
.review-tab.selected{color:#1d4ed8;border-bottom-color:#2563eb;font-weight:600}
.review-doc-head{display:flex;justify-content:space-between;gap:14px;align-items:center;flex-wrap:wrap;margin-bottom:10px;font-size:11px;color:#7d8999}
.review-doc-head .review-doc-actions{display:flex;gap:14px;align-items:center}
.review-doc-head a{font-size:11px}
.review-body .doc-text{max-height:620px;font-family:inherit;font-size:13px;line-height:1.95}
.review-empty{padding:40px 20px;text-align:center;color:#8a94a3;font-size:12px;border:1px dashed #dfe5ed;border-radius:9px}
.review-files{display:grid;grid-template-columns:250px minmax(0,1fr);gap:16px;align-items:start}
.review-file-list{display:grid;gap:3px;max-height:620px;overflow:auto;padding-right:4px}
.review-file{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 8px;text-align:left;padding:9px 10px;border:1px solid transparent;border-radius:7px;background:transparent;box-shadow:none;font-size:12px;color:#33445c}
.review-file:hover{background:#f5f8fd;transform:none;box-shadow:none}
.review-file.selected{background:#eef4ff;border-color:#c7d9f5;color:#1d4ed8}
.review-file span{overflow-wrap:anywhere;line-height:1.6}
.review-file small{font-size:10px;color:#98a2b3}
.review-file em{grid-column:1/-1;font-style:normal;font-size:10px;color:#b45309}
.review-viewer{border:1px solid #e5e7eb;border-radius:9px;min-height:220px;background:#fff;overflow:hidden}
.review-viewer-head{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:10px 14px;border-bottom:1px solid #eef1f5;background:#fbfcfe;font-size:11px;color:#6b7280;flex-wrap:wrap}
.review-viewer-head .review-doc-actions{display:flex;gap:14px;align-items:center}
.review-viewer .doc-text{border:0;border-radius:0;max-height:580px;margin:0}
.review-viewer img{max-width:100%;max-height:60vh;display:block;margin:14px auto}
.review-rubric-summary{display:flex;gap:20px;flex-wrap:wrap;font-size:11px;color:#6b7280;margin-bottom:12px}
.review-rubric-summary strong{color:#243d5e}
.rubric-card{border:1px solid #e5e7eb;border-radius:9px;padding:14px 16px;margin-bottom:10px;background:#fff}
.rubric-card.changed{border-color:#f0cf9a;background:#fffdf7}
.rubric-card-head{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:8px}
.rubric-card-id{font:600 12px/1 ui-monospace,monospace;color:#245f9e}
.rubric-card-weight{margin-left:auto;font-size:11px;color:#7d5a22;background:#fff6e6;padding:3px 8px;border-radius:20px}
.rubric-card p{margin:0;font-size:12.5px;line-height:1.9;color:#33445c;white-space:pre-wrap;overflow-wrap:anywhere}
.rubric-tag{font-size:10px;padding:2px 7px;border-radius:4px;background:#f1f5fa;color:#5d7290}
.rubric-levels{margin-top:10px;font-size:11px}
.rubric-levels summary{font-size:11px;color:#526b92}
.rubric-levels table{margin-top:8px;font-size:11px}
.rubric-levels td{padding:6px 8px}
.skill-card{border:1px solid #e5e7eb;border-radius:10px;margin-bottom:14px;overflow:hidden;background:#fff}
.skill-card-head{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:12px 16px;background:#f8fafc;border-bottom:1px solid #eef1f5}
.skill-card-head h3{font-size:13px;margin:0;font-family:ui-monospace,monospace;color:#243d5e}
.skill-card-head .review-doc-actions{margin-left:auto;display:flex;gap:12px;align-items:center;font-size:11px}
.skill-text{white-space:pre-wrap;font:12px/1.9 ui-monospace,"Microsoft YaHei",monospace;padding:16px;max-height:420px;overflow:auto;margin:0;background:#fff}
.skill-file{border-top:1px solid #eef1f5}
.skill-file>summary{padding:10px 16px;font-size:11px;color:#526b92;cursor:pointer;background:#fcfdfe}
.skill-file pre{white-space:pre-wrap;font:11.5px/1.85 ui-monospace,monospace;padding:0 16px 14px;max-height:360px;overflow:auto;margin:0;color:#33445c}
.badge-change{display:inline-block;font-size:10px;padding:2px 6px;border-radius:4px;background:#fff1e0;color:#9a5b12}
.badge-new{background:#e7f5ec;color:#1f6b3d}
.badge-removed{background:#fdecec;color:#9b2c2c}
@media(max-width:1200px){.review-workspace{grid-template-columns:210px minmax(0,1fr)}.review-files{grid-template-columns:210px minmax(0,1fr)}}
@media(max-width:900px){.review-workspace{grid-template-columns:minmax(0,1fr)}.review-side{border-right:0;border-bottom:1px solid #e5e7eb;padding:14px 0}.review-task-list{max-height:220px}.review-detail{padding:16px 0 20px}.review-files{grid-template-columns:minmax(0,1fr)}.review-file-list{max-height:260px}.review-head{flex-direction:column}.review-doc-head{align-items:flex-start}}

/* 审查页优化：可折叠 Rubric、逐轮技能对照、类别筛选 */
.review-select{width:100%;padding:7px 9px;border:1px solid #dce3ed;border-radius:7px;font-size:11.5px;margin-bottom:8px;background:#fff;color:#33445c}
.review-rubric-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 12px;font-size:11px;color:#6b7280}
.review-rubric-tools button{font-size:11px;padding:5px 10px}
.review-check{display:flex;align-items:center;gap:6px;font-size:11px;color:#526079;cursor:pointer}
.review-check input{width:auto;margin:0}
details.rubric-card{padding:0;margin-bottom:8px;background:#fff}
details.rubric-card>summary{list-style:none;display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding:11px 14px;cursor:pointer}
details.rubric-card>summary::-webkit-details-marker{display:none}
details.rubric-card>summary::before{content:'▸';color:#8a97a8;font-size:11px}
details.rubric-card[open]>summary::before{content:'▾'}
details.rubric-card[open]>summary{border-bottom:1px solid #eef1f5;background:#fbfcfe}
.rubric-card-brief{flex:1;min-width:160px;font-size:11.5px;color:#7b8798;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rubric-card-body{padding:12px 16px 14px}
.rubric-card-body>p{margin:0;font-size:12.5px;line-height:1.95;color:#33445c;white-space:pre-wrap;overflow-wrap:anywhere}
.rubric-levels{margin-top:12px}
.rubric-levels h4{font-size:11px;color:#697b92;margin:0 0 6px;font-weight:500}
.rubric-levels table{font-size:11px;margin:0}
.rubric-levels td{padding:6px 9px;vertical-align:top;line-height:1.8}
.rubric-levels td:first-child{color:#8a5a12;white-space:nowrap}
.skill-timeline{border:1px solid #e5e7eb;border-radius:9px;margin-bottom:16px;background:#fbfcfe}
.skill-timeline>summary{padding:12px 16px;font-size:12px;color:#33445c;cursor:pointer;list-style:none}
.skill-timeline>summary::-webkit-details-marker{display:none}
.skill-timeline>summary::before{content:'▸';color:#8a97a8;margin-right:6px}
.skill-timeline[open]>summary::before{content:'▾'}
.skill-timeline>summary .small-note{margin-left:8px;font-size:10.5px}
.skill-timeline .table-wrap{border-top:1px solid #eef1f5;max-height:320px;overflow:auto}
.skill-timeline table{min-width:620px;font-size:11px}
.skill-timeline td{padding:9px 12px;vertical-align:top}
.skill-timeline tr.current{background:#eff6ff}
.skill-pill{display:inline-block;padding:2px 7px;border-radius:4px;background:#eef2f8;color:#4a5f7d;font-size:10.5px;margin:1px 3px 1px 0;font-family:ui-monospace,monospace}
.skill-pill.modified{background:#fff1df;color:#8a5a12}
.skill-pill.added{background:#e5f4eb;color:#1f6b3d}
.skill-timeline button{padding:4px 9px;font-size:10.5px;white-space:nowrap}
@media(max-width:900px){.review-rubric-tools{width:100%}.rubric-card-brief{display:none}}
details.rubric-card .rubric-card-head{margin-bottom:0}
.review-change-note{margin-left:auto;font-size:11px;color:#7d8999}
.skill-timeline .table-wrap{max-height:400px}
@media(max-width:700px){.review-change-note{margin-left:0;width:100%}}
.review-round.marked-ok{border-color:#a7d7b9;background:#effaf3;color:#1f6b3d}
.review-round.marked-issue{border-color:#f0c2c2;background:#fdf2f2;color:#9b2c2c}
.review-round.selected.marked-ok,.review-round.selected.marked-issue{background:#2563eb;border-color:#2563eb;color:#fff}

/* 侧栏项目切换：两个项目卡片，去掉多余的“当前项目”文字 */
.project-switch .directions{display:grid;gap:10px}
.directions .project-card{display:flex;align-items:center;gap:12px;width:100%;padding:14px;border:1px solid #e3e8f0;border-radius:12px;background:#fff;text-align:left;box-shadow:none;transition:border-color .15s,box-shadow .15s,background .15s}
.directions .project-card:hover{border-color:#bfdbfe;background:#f8fbff;transform:none;box-shadow:0 6px 18px #2563eb14}
.directions .project-card.selected{border-color:#2563eb;background:linear-gradient(135deg,#eff6ff,#fff);box-shadow:0 8px 22px #2563eb1f}
.project-mark{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#eef2f8;color:#5b7292;font-size:16px;flex-shrink:0}
.project-card.selected .project-mark{background:#2563eb;color:#fff}
.project-copy{display:grid;gap:3px;min-width:0}
.project-copy strong{font-size:13px;color:#1f2f45;font-weight:600}
.project-copy small{font-size:11px;color:#7b8798}
.project-state{display:none;margin-left:auto;font-size:10px;color:#1d4ed8;background:#e3edff;padding:3px 8px;border-radius:20px}
.project-card.selected .project-state{display:inline-block}
@media(max-width:700px){.directions{grid-template-columns:1fr 1fr}.directions .project-card{flex-direction:column;align-items:flex-start;gap:8px}.project-state{margin-left:0}}

/* 上传：更大的选择按钮与拖拽区，需求上传改为面板内展开 */
.upload-zone{padding:30px 22px;transition:border-color .15s,background .15s}
.upload-zone.dragging{border-color:#2563eb;background:#eff6ff}
.upload-picker{display:inline-flex;flex-direction:column;align-items:center;gap:12px;margin:20px 0 6px;cursor:pointer}
.upload-picker input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden;margin:0}
.upload-picker-button{display:inline-flex;align-items:center;justify-content:center;min-width:240px;padding:17px 32px;border-radius:11px;background:#2563eb;color:#fff;font-size:15px;font-weight:600;letter-spacing:.01em;box-shadow:0 8px 20px #2563eb33;transition:background .15s,transform .15s}
.upload-picker:hover .upload-picker-button{background:#1d4ed8;transform:translateY(-1px)}
.upload-picker-hint{font-size:12px;color:#6b7280}
.upload-picked{margin:8px 0 0;font-size:12px;color:#2563eb;min-height:18px}
.upload-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.upload-actions p{margin:0;font-size:12px;color:#b45309}
.upload-panel{margin-bottom:24px;border-color:#c7d9f5;box-shadow:0 8px 24px #2563eb12}
.upload-inline .upload-date{display:flex;align-items:flex-end;gap:20px;flex-wrap:wrap}
.upload-inline .upload-date label{max-width:240px}
.upload-inline .upload-date .small-note{margin:0 0 8px;max-width:520px}
@media(max-width:700px){.upload-picker-button{min-width:0;width:100%;padding:16px}.upload-picker{width:100%}}

/* 题目与评分：改进方向不再截断 */
.monitor-direction{min-width:260px;max-width:460px}
.monitor-direction p{display:block;-webkit-line-clamp:unset;overflow:visible;white-space:normal;line-height:1.75;max-height:none;color:#3d4f66}
dialog{width:min(1180px,94vw);max-height:90vh}
.seed-folder-content[aria-busy=true]::before{content:'正在读取…';display:block;position:sticky;top:0;z-index:2;font-size:11px;color:#2563eb;background:#fff;padding:2px 0 8px}
.form-stack .upload-picker{display:inline-flex;width:auto;justify-self:center;margin:18px auto 6px}
.form-stack .upload-picker-button{width:auto}
.directions .project-card{position:relative}
.project-copy strong{white-space:nowrap}
.project-state{position:absolute;top:9px;right:9px;margin:0;font-size:9px;padding:2px 6px}
.project-card{padding-right:52px}
@media(max-width:700px){.project-card{padding-right:14px}.project-state{position:static}}

@media(max-width:760px){
 .sidebar>.project-switch{display:block}
 .directions .project-card{padding:11px 10px;gap:9px}
 .project-mark{width:30px;height:30px;font-size:14px;border-radius:8px}
 .project-copy strong{font-size:12px}
 .project-copy small{display:none}
 .project-state{position:static;margin:0 0 0 auto;font-size:9px;padding:2px 6px}
}

/* 需求详情：精简头部 + AI 解析结果 */
.document-heading.compact{align-items:flex-start;margin-bottom:14px;gap:16px}
.document-heading.compact h2{font-size:18px;line-height:1.6;margin:0 0 4px}
.document-heading.compact .small-note{margin:0}
.document-heading.compact .document-controls{flex-wrap:wrap;gap:8px}
.document-list .document-disclosure>summary{padding:12px 14px;font-size:12.5px}
.document-list .document-disclosure{margin:8px 0}
.analysis-panel:empty{display:none}
.analysis-card{border:1px solid #dbe6f5;border-radius:12px;background:linear-gradient(135deg,#f7fbff,#fff 60%);padding:18px 20px;margin:0 0 18px}
.analysis-card.pending{display:flex;align-items:center;gap:10px;font-size:12px;color:#2563eb}
.analysis-card.failed{border-color:#f3c6c6;background:#fff8f8;font-size:12px;color:#9b2c2c}
.analysis-card.failed button{margin-top:10px}
.analysis-spinner{width:14px;height:14px;border:2px solid #bfd4f2;border-top-color:#2563eb;border-radius:50%;display:inline-block;animation:spin .8s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.analysis-head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:10px}
.analysis-head strong{font-size:13px}
.analysis-head .small-note{margin-left:10px;font-size:11px}
.analysis-summary{margin:0 0 14px;font-size:12.5px;line-height:1.9;color:#33445c}
.analysis-models{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:14px}
.analysis-models h4{font-size:11px;color:#64748b;margin:0 0 8px;font-weight:500}
.chip-row{display:flex;flex-wrap:wrap;gap:8px}
.model-chip{display:inline-flex;align-items:baseline;gap:7px;border:1px solid #cfe0f7;background:#fff;border-radius:8px;padding:7px 11px;font-size:12px;color:#1f3350;cursor:help}
.model-chip strong{font-weight:600}
.model-chip em{font-style:normal;font-size:10.5px;color:#5b7292;font-family:ui-monospace,monospace}
.model-chip i{font-style:normal;font-size:9.5px;color:#b45309;background:#fff4e5;padding:1px 5px;border-radius:4px}
.model-chip.unverified{border-style:dashed}
.analysis-facts{margin:0;display:grid;gap:8px}
.analysis-facts>div{display:grid;grid-template-columns:86px minmax(0,1fr);gap:10px;font-size:12px;line-height:1.85}
.analysis-facts dt{color:#7b8798}
.analysis-facts dd{margin:0;color:#33445c;overflow-wrap:anywhere}
.analysis-questions{margin-top:12px;font-size:12px}
.analysis-questions summary{color:#8a5a12;cursor:pointer}
.analysis-questions ul{margin:8px 0 0;padding-left:20px;line-height:1.9;color:#526078}
.analysis-card>.small-note{margin-top:12px;font-size:11px}
@media(max-width:760px){.analysis-models{grid-template-columns:1fr}.analysis-facts>div{grid-template-columns:1fr;gap:2px}}

/* 成本页：模型与 API */
.model-config,.model-roles{margin-bottom:20px}
.model-table td{font-size:12px;vertical-align:top}
.model-table td:first-child{min-width:190px}
.model-table .hash{font-size:11px;color:#5b6b82}
.key-state{display:inline-block;font-size:11px;padding:3px 8px;border-radius:20px}
.key-state.ok{background:#e9f7ef;color:#1f6b3d}
.key-state.bad{background:#fdecec;color:#9b2c2c}
.model-roles select{min-width:260px;max-width:100%;font-size:12px;padding:8px 10px}
@media(max-width:760px){.model-table{min-width:0}.model-table thead{display:none}.model-table tr{display:block;border-bottom:1px solid #eef1f5;padding:12px 0}.model-table td{display:block;border:0;padding:3px 0}.model-roles select{min-width:0;width:100%}}
.analysis-more{border-top:1px solid #e5eef9;margin-top:12px;padding-top:10px}
.analysis-more>summary{font-size:11.5px;color:#45638c;cursor:pointer;list-style:none}
.analysis-more>summary::-webkit-details-marker{display:none}
.analysis-more>summary::before{content:'▸';color:#8a97a8;margin-right:6px}
.analysis-more[open]>summary::before{content:'▾'}
.analysis-more .analysis-facts{margin-top:10px}

/* ===== 极简主题：参考截图的白底、细边、低对比、留白 ===== */
:root{--bg:#fff;--ink:#1b1d20;--body:#42474e;--muted:#8b9099;--line:#eceef0;--sm:none;--shadow:none;--md:0 18px 50px #0000001f}
body{background:#fff;font-size:13.5px;line-height:1.7;letter-spacing:.002em}
a{color:#3f5f8f;text-decoration:none}a:hover{text-decoration:underline}
.layout{grid-template-columns:232px minmax(0,1fr)}
.sidebar{background:#fbfbfa;border-right:1px solid #ececec;gap:26px;padding:22px 16px}
.sidebar-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.brand{font-size:15px;letter-spacing:-.2px}
.brand-mark{background:#1b1d20;border-radius:7px;width:28px;height:28px;font-size:13px}
.sidebar-toggle{width:26px;height:26px;padding:0;border:1px solid transparent;background:transparent;color:#a6abb3;font-size:13px;border-radius:6px;box-shadow:none;flex-shrink:0}
.sidebar-toggle:hover{background:#f0f1f2;color:#3f444b;transform:none;box-shadow:none;border-color:transparent}
.side-label{font-size:11px;color:#9aa0a8;letter-spacing:.04em;margin:0 0 10px}
.directions .project-card{border-color:transparent;background:transparent;border-radius:9px;padding:10px 10px}
.directions .project-card:hover{background:#f3f4f5;border-color:transparent;box-shadow:none;transform:none}
.directions .project-card.selected{background:#fff;border-color:#e6e7e9;box-shadow:0 1px 2px #00000008}
.project-mark{background:#f1f2f3;color:#6b7078;width:30px;height:30px;border-radius:8px;font-size:14px}
.project-card.selected .project-mark{background:#1b1d20;color:#fff}
.project-copy strong{font-size:12.5px;color:#1f2124;font-weight:600}
.project-copy small{font-size:10.5px;color:#9aa0a8}
.project-state{background:#f0f1f2;color:#6b7078;font-size:9px}
.topbar{height:60px;padding:0 36px;border-bottom:1px solid #f1f2f3;background:#fff}
.breadcrumbs{font-size:11.5px;color:#9aa0a8}
.breadcrumbs strong{color:#4b5057;font-weight:500}
.top-actions .status.blue{background:#f4f5f6;color:#7a8088}
.workspace{padding:34px 40px 60px;max-width:1240px}
.pagehead{margin-bottom:22px}
h1{font-size:26px;font-weight:600;letter-spacing:-.5px;margin-bottom:6px}
.subtitle{font-size:12.5px;color:#9aa0a8}
.card{padding:22px;border:1px solid #eceef0;border-radius:12px;box-shadow:none;background:#fff}
.card:hover{transform:none;box-shadow:none}
button{box-shadow:none;border-color:#e4e6e9;background:#fff;color:#3f444b;font-weight:500;border-radius:8px;transition:background-color .15s,border-color .15s,color .15s}
button:hover{transform:none;box-shadow:none;background:#f7f8f9;border-color:#d9dbdf}
button:active{transform:none}
button.primary{background:#1b1d20;border-color:#1b1d20;color:#fff}
button.primary:hover{background:#000;border-color:#000}
button.text-button{background:transparent;border-color:transparent;color:#3f5f8f}
input,select,textarea{background:#fff;border-color:#e4e6e9;border-radius:8px}
input:hover,select:hover,textarea:hover{border-color:#d9dbdf}
.tabs{gap:2px;border-bottom:1px solid #f0f1f2;padding:0;margin-bottom:26px;overflow-x:auto}
.tabs button{border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;padding:9px 12px;font-size:12.5px;color:#8b9099;box-shadow:none}
.tabs button:hover{background:transparent;border-color:transparent;border-bottom-color:#dfe1e4;color:#3f444b;transform:none;box-shadow:none}
.tabs button.selected{background:transparent;border-color:transparent;border-bottom-color:#1b1d20;color:#1b1d20;font-weight:600}
table{font-size:12.5px}
th{background:transparent;color:#9aa0a8;font-weight:500;border-bottom:1px solid #f0f1f2;padding:10px 12px}
td{border-bottom:1px solid #f5f6f6;padding:12px}
tbody tr:hover{background:#fafbfb}
.status{border-radius:6px;font-weight:500;background:#f4f5f6;color:#6b7078}
.status.blue{background:#f1f4f9;color:#4d6a94}
.status.green{background:#f0f6f1;color:#3f6b4b}
.status.amber{background:#fbf6ec;color:#8a6a2f}
.status.red{background:#fbf1f1;color:#8f4343}
dialog{border-radius:16px;border-color:#e8eaec;box-shadow:0 30px 80px #0000002b}
.dialog-head{border-bottom:1px solid #f2f3f4;padding:20px 24px;margin-bottom:18px}
.notice{border-radius:10px;font-size:12.5px}
.small-note{color:#9aa0a8}
.monitor-counts strong{color:#1b1d20}
.large-value{font-weight:600;letter-spacing:-.5px}
@media(max-width:1100px){.layout{grid-template-columns:204px minmax(0,1fr)}.workspace{padding:28px 28px 48px}.topbar{padding:0 26px}}
@media(max-width:760px){.layout{grid-template-columns:1fr}.workspace{padding:24px 18px 44px}.topbar{padding:14px 18px;height:auto}.sidebar{padding:16px 18px;gap:16px}}

/* 侧栏折叠 */
.layout.sidebar-collapsed{grid-template-columns:72px minmax(0,1fr)}
.layout.sidebar-collapsed .sidebar{padding:20px 10px;gap:20px;align-items:center}
.layout.sidebar-collapsed .sidebar-head{flex-direction:column;gap:12px}
.layout.sidebar-collapsed .brand-name,
.layout.sidebar-collapsed .side-label,
.layout.sidebar-collapsed .project-copy,
.layout.sidebar-collapsed .project-state,
.layout.sidebar-collapsed .sidebar-bottom{display:none}
.layout.sidebar-collapsed .project-switch{width:100%}
.layout.sidebar-collapsed .directions{display:grid;justify-items:center;gap:8px;grid-template-columns:1fr}
.layout.sidebar-collapsed .directions .project-card{width:46px;height:46px;padding:0;justify-content:center;border-radius:11px;border-color:transparent}
.layout.sidebar-collapsed .directions .project-card.selected{border-color:#e6e7e9}
.layout.sidebar-collapsed .project-mark{width:30px;height:30px}
@media(max-width:760px){
 .sidebar-toggle{display:none}
 .layout.sidebar-collapsed{grid-template-columns:1fr}
 .layout.sidebar-collapsed .sidebar{padding:20px 18px;align-items:stretch}
 .layout.sidebar-collapsed .brand-name{display:inline}
 .layout.sidebar-collapsed .project-copy{display:grid}
 .layout.sidebar-collapsed .project-state{display:none}
 .layout.sidebar-collapsed .directions{grid-template-columns:1fr 1fr;justify-items:stretch}
 .layout.sidebar-collapsed .directions .project-card{width:auto;height:auto;padding:11px 10px;justify-content:flex-start}
}
/* 选中态与浅色块统一为中性灰，避免大面积浅蓝 */
.version-button.selected{background:#f5f6f7;border-color:#d9dbdf;color:#1b1d20}
.version-button.selected .version-meta{color:#6b7078}
.subtabs .selected,.repair-workspace .subtabs .selected{background:#f5f6f7;border-color:#d9dbdf;color:#1b1d20}
.seed-directory.selected{background:#f3f4f5;color:#1b1d20}
.review-task.selected{background:#f3f4f5;color:#1b1d20}
.analysis-card{background:#fbfcfd;border-color:#e8ebef}
.analysis-head strong{color:#1b1d20}
.review-change-bar,.review-rubric-tools{background:#fbfbfc}

/* 人工修订工作区：文件树 / 编辑器 / 历史得分 */
.review-head-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.edit-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:16px;flex-wrap:wrap}
.edit-head h2{font-size:18px;line-height:1.6;margin:3px 0 5px}
.edit-head .small-note{margin:0;font-size:11px}
.edit-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.link-button{font-size:12px;padding:6px 12px;border:1px solid #e4e6e9;border-radius:8px;color:#3f444b;background:#fff;text-decoration:none}
.link-button:hover{background:#f7f8f9;text-decoration:none}
.edit-grid{display:grid;grid-template-columns:218px minmax(0,1fr) 296px;gap:14px;align-items:start}
.edit-files{border:1px solid #eceef0;border-radius:10px;padding:8px;max-height:72vh;overflow:auto;background:#fcfcfd}
.edit-group h4{font-size:10px;letter-spacing:.04em;color:#9aa0a8;margin:10px 6px 5px;font-weight:500}
.edit-file{display:flex;justify-content:space-between;gap:6px;width:100%;text-align:left;padding:6px 8px;border:0;border-radius:6px;background:transparent;box-shadow:none;font-size:11.5px;color:#42474e}
.edit-file:hover{background:#f1f2f3;transform:none;box-shadow:none;border-color:transparent}
.edit-file.selected{background:#eef1f5;color:#1b1d20;font-weight:600}
.edit-file.changed i{color:#b45309;font-style:normal;line-height:1}
.edit-file span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.edit-main{border:1px solid #eceef0;border-radius:10px;overflow:hidden;background:#fff;min-width:0}
.edit-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px 12px;border-bottom:1px solid #f2f3f4;font-size:11.5px;color:#6b7078;flex-wrap:wrap}
.edit-toolbar>span:first-child{font-family:ui-monospace,monospace;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:52%}
.edit-tools{display:flex;gap:8px;align-items:center}
.edit-tools .small-note{margin:0}
#editArea{display:block;width:100%;min-height:64vh;border:0;border-radius:0;padding:16px 18px;font:12px/1.85 ui-monospace,SFMono-Regular,Consolas,monospace;resize:vertical;background:#fff;color:#25282c}
#editArea:focus{outline:none;box-shadow:inset 0 0 0 2px #e6ebf2;border-color:transparent}
.edit-scores{border:1px solid #eceef0;border-radius:10px;padding:12px;background:#fcfcfd;max-height:72vh;overflow:auto}
.scores-head{display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:8px}
.scores-head h3{font-size:12.5px;margin:0}
.scores-head .small-note{margin:0;font-size:10px}
.scores-table{width:100%;font-size:10.5px;font-variant-numeric:tabular-nums}
.scores-table th,.scores-table td{padding:5px 5px;border-bottom:1px solid #f4f5f6}
.scores-table th{font-size:9.5px;color:#9aa0a8;font-weight:500}
.scores-table tr.current{background:#f4f6f9}
.scores-source{margin-top:14px;padding-top:12px;border-top:1px solid #eef0f2;font-size:10.5px;color:#6b7078;line-height:1.7}
.scores-source p{margin:6px 0 0}
.scores-source a{font-size:11px}
.badge-source{display:inline-block;font-size:9.5px;padding:2px 8px;border-radius:20px;font-weight:500}
.badge-source.program{background:#eef2f7;color:#4a5f7d}
.badge-source.human{background:#fbf1e2;color:#8a5a12}
@media(max-width:1280px){.edit-grid{grid-template-columns:200px minmax(0,1fr)}.edit-scores{grid-column:1/-1;max-height:none}}
@media(max-width:900px){.edit-grid{grid-template-columns:minmax(0,1fr)}.edit-files{max-height:240px}#editArea{min-height:46vh}}
.scores-table{table-layout:fixed;width:100%}
.scores-table th,.scores-table td{padding:4px 3px;font-size:9.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.scores-table th:first-child,.scores-table td:first-child{width:34px}
.scores-table th:last-child,.scores-table td:last-child{width:42px}
.scores-table td{color:#42474e}
.revision-history{margin-top:14px;padding-top:12px;border-top:1px solid #eef0f2}
.revision-history h4{font-size:10px;letter-spacing:.04em;color:#9aa0a8;margin:0 0 7px;font-weight:500}
.revision-item{display:block;width:100%;text-align:left;padding:6px 8px;margin-bottom:4px;border:1px solid transparent;border-radius:6px;background:transparent;box-shadow:none;font-size:10.5px;color:#5b6470}
.revision-item:hover{background:#f3f4f5;transform:none;box-shadow:none;border-color:transparent}
.revision-item.selected{background:#fff;border-color:#e3e5e8;color:#1b1d20;font-weight:600}

/* 模型健康度：成功率与延时、调用点 */
.health-line{display:flex;align-items:baseline;gap:6px}
.health-rate{font-size:12px;font-weight:600;font-variant-numeric:tabular-nums}
.health-rate.good{color:#2f7d4f}
.health-rate.warn{color:#a0691f}
.health-rate.bad{color:#b03a3a}
.call-dots{display:flex;gap:3px;margin-top:6px}
.call-dot{width:6px;height:6px;border-radius:50%;display:inline-block;background:#e2e5e9}
.call-dot.ok{background:#4a9d6a}
.call-dot.failed{background:#c25b5b}
.model-table td:nth-child(5){min-width:116px}
.model-table td:last-child{width:70px;text-align:right}

/* 分阶段用量与费用 */
.stage-chart{display:grid;gap:10px;margin:6px 0 18px}
.stage-bar-row{display:grid;grid-template-columns:84px minmax(0,1fr) 132px;gap:12px;align-items:center;font-size:11.5px}
.stage-name{color:#5b6470}
.stage-bar{height:9px;background:#f1f2f4;border-radius:20px;overflow:hidden}
.stage-bar i{display:block;height:100%;background:#2a2d31;border-radius:20px}
.stage-amount{text-align:right;color:#3f444b;font-variant-numeric:tabular-nums;white-space:nowrap}
.stage-table td{font-variant-numeric:tabular-nums}
.stage-table td:last-child{text-align:right}
@media(max-width:760px){.stage-bar-row{grid-template-columns:70px minmax(0,1fr)}.stage-amount{grid-column:1/-1;text-align:left;color:#8b9099}}

/* 甲方提交历史 */
.delivery-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px;flex-wrap:wrap}
.delivery-head h2{font-size:16px;margin:0 0 4px}
.delivery-head .small-note{margin:0}
.delivery-stats{display:flex;flex-wrap:wrap;gap:14px 34px;padding:14px 16px;border:1px solid #eef0f2;border-radius:10px;background:#fcfcfd;margin-bottom:20px;font-size:11.5px;color:#7b8798}
.delivery-stats strong{display:block;font-size:19px;color:#1b1d20;margin-top:4px;font-weight:600}
.delivery-group{margin-bottom:26px}
.delivery-group-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:8px}
.delivery-group-head h3{font-size:14px;margin:0}
.delivery-group-head .small-note{margin:0;font-size:11px}
.delivery-table{min-width:860px}
.delivery-table td{font-size:11.5px;vertical-align:top}
.delivery-table tr.current{background:#f7f9fb}
.delivery-table tr.current td:first-child strong{color:#1b1d20}
.delivery-table tr:not(.current) td{color:#6b7078}
.delivery-conclusion{max-width:300px;white-space:normal;line-height:1.7;color:#5b6470}
.delivery-conclusion-full{font-size:12.5px;line-height:1.9;white-space:pre-wrap}
.delivery-files{margin:8px 0 16px;padding-left:18px;font-size:12px;line-height:2}
.delivery-files a{overflow-wrap:anywhere}
@media(max-width:760px){.delivery-table{min-width:0}.delivery-stats{gap:12px 22px}.delivery-stats strong{font-size:16px}}

/* 编辑工作区：中间编辑 + DeepSeek 对话，右侧信息/预览 */
.edit-main{display:flex;flex-direction:column}
#editArea{min-height:44vh}
.edit-chat{border-top:1px solid #f0f1f2;background:#fbfcfd;padding:10px 12px 12px;display:grid;gap:8px}
.chat-log{max-height:190px;overflow:auto;display:grid;gap:9px}
.chat-empty{margin:0;font-size:11px;color:#9aa0a8;line-height:1.7}
.chat-msg{display:grid;gap:2px;font-size:11.5px}
.chat-msg span{color:#9aa0a8;font-size:10px}
.chat-msg p{margin:0;line-height:1.75;white-space:pre-wrap;color:#3f444b;overflow-wrap:anywhere}
.chat-msg.user p{color:#1b1d20;background:#fff;border:1px solid #eceef0;border-radius:8px;padding:7px 10px}
.chat-msg.ai p{background:#f4f7fb;border-radius:8px;padding:7px 10px}
.chat-form{display:grid;gap:6px}
.chat-form textarea{width:100%;min-height:46px;max-height:130px;resize:vertical;font-size:12px;padding:8px 10px;border-radius:8px;border-color:#e4e6e9}
.chat-actions{display:flex;justify-content:space-between;align-items:center;gap:10px}
.chat-actions .small-note{margin:0;font-size:10.5px}
.edit-side{border:1px solid #eceef0;border-radius:10px;background:#fcfcfd;max-height:78vh;overflow:auto}
.edit-side-tabs{display:flex;gap:4px;padding:8px;border-bottom:1px solid #f0f1f2;position:sticky;top:0;background:#fcfcfd;z-index:1}
.edit-side-tabs button{flex:1;font-size:11px;padding:6px 8px;border:1px solid transparent;background:transparent;color:#7b8798;border-radius:7px;box-shadow:none}
.edit-side-tabs button:hover{background:#f2f3f5;transform:none;box-shadow:none}
.edit-side-tabs button.selected{background:#fff;border-color:#e3e5e8;color:#1b1d20;font-weight:600}
#editSideBody{padding:12px}
.preview-head{display:flex;justify-content:space-between;gap:8px;font-size:10.5px;color:#7b8798;margin-bottom:8px;font-family:ui-monospace,monospace}
.edit-preview{white-space:pre-wrap;font:11.5px/1.8 ui-monospace,SFMono-Regular,monospace;margin:0;color:#333;max-height:58vh;overflow:auto}
@media(max-width:1280px){.edit-side{max-height:none}}

/* ===== 暖灰极简（参考截图）：米白底、棕灰文字、细边、轻圆角 ===== */
:root{
  --bg:#faf9f6; --ink:#1f1d1a; --body:#3e3a34; --muted:#8d877d; --line:#e9e6df;
  --blue:#4a5f7d; --blue-dark:#33465f; --blue-light:#f1f3f6;
}
body{background:#faf9f6;color:#1f1d1a;font-size:13px;line-height:1.72}
.main{background:#fdfcfa}
.layout{grid-template-columns:230px minmax(0,1fr)}
.sidebar{background:#f6f4ef;border-right:1px solid #ebe7e0;padding:20px 14px;gap:24px}
.brand{font-size:14.5px;letter-spacing:-.2px;color:#1f1d1a}
.brand-mark{background:#2b2823;border-radius:8px;width:28px;height:28px;font-size:13px}
.side-label{font-size:10px;letter-spacing:.12em;color:#a39c91;text-transform:uppercase;margin:0 0 8px}
.directions .project-card{border-radius:9px;padding:9px 10px}
.directions .project-card:hover{background:#eeebe5;border-color:transparent}
.directions .project-card.selected{background:#fff;border-color:#e7e3dc;box-shadow:0 1px 0 #00000005}
.project-mark{background:#eeebe5;color:#7a7368;width:28px;height:28px;border-radius:8px;font-size:13px}
.project-card.selected .project-mark{background:#2b2823;color:#fff}
.project-copy strong{font-size:12.5px;color:#26231f}
.project-copy small{font-size:10.5px;color:#a39c91}
.project-state{background:#eeebe5;color:#7a7368;font-size:9px;border-radius:20px}
.sidebar-toggle{color:#b3aca2}
.sidebar-toggle:hover{background:#eeebe5;color:#3e3a34}
.topbar{height:56px;padding:0 34px;background:#fdfcfa;border-bottom:1px solid #f0ede7}
.breadcrumbs{font-size:11px;color:#a39c91}
.breadcrumbs strong{color:#4a453d;font-weight:500}
.top-actions .status.blue{background:#f2efe9;color:#8d877d}
.workspace{padding:34px 40px 60px;max-width:1200px}
h1{font-size:25px;font-weight:600;letter-spacing:-.45px;color:#1f1d1a}
h2{font-size:16px;font-weight:600;color:#1f1d1a}
.subtitle{font-size:12.5px;color:#a39c91}
.tabs{gap:2px;border-bottom:1px solid #f0ede7;padding:0;margin-bottom:26px}
.tabs button{font-size:12.5px;color:#8d877d;padding:9px 12px;border-bottom:2px solid transparent;border-radius:0;background:transparent}
.tabs button:hover{background:transparent;border-color:transparent;border-bottom-color:#ded9d1;color:#3e3a34;transform:none;box-shadow:none}
.tabs button.selected{border-color:transparent;border-bottom-color:#2b2823;color:#1f1d1a;font-weight:600;background:transparent}
.card{padding:22px;background:#fff;border:1px solid #ece8e1;border-radius:11px;box-shadow:none}
.card:hover{transform:none;box-shadow:none}
button{border-color:#e7e3dc;background:#fff;color:#3e3a34;border-radius:8px;box-shadow:none}
button:hover{background:#f6f4ef;border-color:#dcd7cf;transform:none;box-shadow:none}
button.primary{background:#2b2823;border-color:#2b2823;color:#fff}
button.primary:hover{background:#1a1815;border-color:#1a1815}
button.small{font-size:11.5px;padding:6px 11px}
input,select,textarea{background:#fff;border-color:#e7e3dc;border-radius:8px;color:#1f1d1a}
input::placeholder,textarea::placeholder{color:#b3aca2}
input:hover,select:hover,textarea:hover{border-color:#dcd7cf}
:where(button,a,input,select,textarea,summary,[tabindex]):focus-visible{outline:2px solid #cfd8e3;outline-offset:2px}
a{color:#4a5f7d}
table{font-size:12px}
th{background:transparent;color:#a39c91;font-weight:500;border-bottom:1px solid #f0ede7;padding:9px 12px}
td{border-bottom:1px solid #f5f2ec;padding:11px 12px}
tbody tr:hover{background:#faf9f6}
.status{background:#f3f0ea;color:#7a7368;border-radius:6px}
.status.blue{background:#f1f3f6;color:#4a5f7d}
.status.green{background:#f0f4ef;color:#4a6a4f}
.status.amber{background:#f8f2e8;color:#8a6a35}
.status.red{background:#f8eeee;color:#8f4b45}
.notice{background:#faf7f0;border-color:#eee4d3;color:#8a6a35;border-radius:9px;font-size:12px}
.notice.info{background:#f2f4f7;border-color:#e2e7ee;color:#4a5f7d}
.small-note{font-size:11.5px;color:#a39c91}
.empty{color:#a39c91}
dialog{border-color:#e7e3dc;border-radius:14px;box-shadow:0 24px 70px #2b28231f;background:#fdfcfa}
.dialog-head{border-bottom:1px solid #f0ede7;padding:18px 22px;margin-bottom:16px}
.hash{color:#a39c91}
.large-value{color:#1f1d1a}
.stat-grid .card{padding:20px}
.monitor-counts strong{color:#1f1d1a}
.monitor-table td,.scores-table td{font-size:11.5px}
.monitor-table th{white-space:nowrap}
/* 右侧信息面板：贴近截图里的“上下文”卡片 */
.edit-side{background:#fff;border:1px solid #ece8e1;border-radius:11px;max-height:78vh}
.edit-side-tabs{background:#faf8f4;border-bottom:1px solid #f0ede7;padding:7px}
.edit-side-tabs button{font-size:10.5px;color:#a39c91;border-radius:6px}
.edit-side-tabs button.selected{background:#fff;border-color:#e7e3dc;color:#1f1d1a}
#editSideBody{padding:13px}
.scores-head h3{font-size:11.5px;font-weight:600;color:#26231f;letter-spacing:.01em}
.scores-head .small-note{font-size:10px;color:#a39c91}
.scores-table th{font-size:9.5px;letter-spacing:.05em;text-transform:uppercase;color:#b3aca2;padding:5px 4px}
.scores-table td{padding:5px 4px;font-size:10.5px;color:#4a453d}
.scores-table tr.current{background:#f7f5f0}
.scores-source{border-top:1px solid #f1eee8;margin-top:12px;padding-top:10px;font-size:10.5px;color:#8d877d}
.badge-source.program{background:#f1eee8;color:#7a7368}
.badge-source.human{background:#f8f0e2;color:#8a6335}
.revision-item{font-size:10.5px;color:#7a7368}
.revision-item.selected{background:#f7f5f0;border-color:#e7e3dc;color:#1f1d1a}
/* 编辑区与对话 */
.edit-main{border-color:#ece8e1;border-radius:11px}
.edit-toolbar{background:#faf8f4;border-bottom:1px solid #f0ede7;font-size:11px;color:#8d877d}
#editArea{font-size:12px;line-height:1.85;color:#2b2823;background:#fff}
.edit-chat{background:#faf8f4;border-top:1px solid #f0ede7}
.chat-form textarea{background:#fff;border-color:#e7e3dc;border-radius:10px}
.chat-msg.user p{background:#fff;border-color:#ece8e1}
.chat-msg.ai p{background:#f2f0ea}
.chat-empty{color:#a39c91}
.edit-files{background:#faf8f4;border-color:#ece8e1}
.edit-file{color:#4a453d;font-size:11.5px}
.edit-file:hover{background:#f1eee8}
.edit-file.selected{background:#fff;border:1px solid #e7e3dc;color:#1f1d1a}
.edit-preview{color:#2b2823}
@media(max-width:1100px){.layout{grid-template-columns:206px minmax(0,1fr)}.workspace{padding:28px 28px 48px}.topbar{padding:0 24px}}
@media(max-width:760px){.layout{grid-template-columns:1fr}.workspace{padding:22px 16px 44px}.topbar{padding:12px 16px;height:auto}.sidebar{padding:16px 14px;background:#f6f4ef}}

/* 编辑工具栏：路径可截断，按钮不换行 */
.edit-toolbar{gap:8px;flex-wrap:nowrap;align-items:center}
.edit-toolbar>span:first-child{flex:1 1 auto;min-width:0;max-width:none;overflow:hidden;text-overflow:ellipsis}
.edit-tools{flex:0 0 auto;flex-wrap:nowrap;white-space:nowrap}
.edit-tools button{white-space:nowrap;flex-shrink:0}
.edit-tools #editState{white-space:nowrap}
@media(max-width:900px){.edit-toolbar{flex-wrap:wrap}.edit-toolbar>span:first-child{max-width:100%}.edit-tools{flex-wrap:wrap}}

/* 编辑模式：让编辑器占满，左右只留窄栏 */
body.editing-review .pagehead,body.editing-review .tabs{display:none}
body.editing-review .workspace{max-width:1720px;padding:16px 26px 36px}
body.editing-review .review-workspace{grid-template-columns:minmax(0,1fr)}
body.editing-review .review-side{display:none}
body.editing-review .review-detail{padding:0}
.edit-grid{grid-template-columns:190px minmax(0,1fr) 252px;gap:14px;align-items:stretch}
.edit-files{background:#faf8f4;border-color:#ece8e1;padding:12px;max-height:none;overflow:visible}
.file-picker{display:grid;gap:6px}
.file-picker>span{font-size:10px;letter-spacing:.08em;color:#a39c91;text-transform:uppercase}
.file-picker select{width:100%;font-size:11.5px;padding:8px 9px;color:#2b2823;background:#fff}
.file-path{margin:10px 0 0;font-size:10.5px;color:#a39c91;line-height:1.7;overflow-wrap:anywhere}
#editArea{min-height:calc(100vh - 350px);font-size:12.5px}
.edit-chat{position:relative}
.edit-side{max-height:calc(100vh - 230px);position:sticky;top:12px}
.edit-head{margin-bottom:12px}
.edit-head h2{font-size:17px;margin:2px 0 0}
.edit-head .small-note{margin:0;font-size:10.5px}
@media(max-width:1200px){.edit-grid{grid-template-columns:180px minmax(0,1fr)}.edit-side{grid-column:1/-1;position:static;max-height:none}}
@media(max-width:900px){.edit-grid{grid-template-columns:minmax(0,1fr)}}
.edit-files,.edit-side{align-self:start}
.edit-files{position:sticky;top:12px}
#editArea{min-height:calc(100vh - 330px)}
@media(max-width:1200px){.edit-files{position:static}}
/* 编辑模式：整块占满视口高度，对话固定在底部 */
body.editing-review .edit-grid{height:calc(100vh - 196px);align-items:stretch}
body.editing-review .edit-main{display:flex;flex-direction:column;height:100%;min-height:0}
body.editing-review #editArea{flex:1 1 auto;min-height:240px;height:auto;resize:none}
body.editing-review .edit-chat{flex:0 0 auto}
body.editing-review .edit-files,body.editing-review .edit-side{max-height:100%;align-self:stretch}
body.editing-review .edit-side{position:static;overflow:auto}
@media(max-width:1200px){body.editing-review .edit-grid{height:auto}body.editing-review #editArea{height:52vh}}
body.editing-review .edit-files{align-self:start;max-height:none}

/* 编辑模式 v3：文件树 + 页面底部对话 + 分数标记 */
body.editing-review .edit-body{display:flex;flex-direction:column;gap:10px;height:calc(100vh - 150px);min-height:0}
body.editing-review .edit-grid{flex:1 1 auto;height:auto;min-height:0}
body.editing-review .edit-main{height:100%;min-height:0}
body.editing-review #editArea{flex:1 1 auto;height:auto;min-height:120px;resize:none}
body.editing-review .edit-files{height:100%;overflow:auto;align-self:stretch;max-height:none}
body.editing-review .edit-side{height:100%;max-height:none}
.file-group{margin:0 0 1px}
.file-group>summary{display:flex;align-items:center;gap:6px;padding:6px 7px;font-size:11px;color:#5c554c;cursor:pointer;border-radius:6px;list-style:none;user-select:none}
.file-group>summary:hover{background:#f1eee8}
.file-group>summary::-webkit-details-marker{display:none}
.file-group>summary::before{content:'▸';font-size:9px;color:#b3aca2;width:8px}
.file-group[open]>summary::before{content:'▾'}
.file-count{margin-left:auto;font-size:9.5px;color:#b3aca2;font-variant-numeric:tabular-nums}
.file-group-body{padding:1px 0 5px 8px}
.file-folder{margin:0}
.file-folder>summary{display:flex;align-items:center;gap:5px;padding:4px 6px;font-size:10.5px;color:#7a7368;cursor:pointer;border-radius:5px;list-style:none}
.file-folder>summary:hover{background:#f1eee8}
.file-folder>summary::-webkit-details-marker{display:none}
.file-folder>summary::before{content:'▸';font-size:8px;color:#b3aca2;width:7px}
.file-folder[open]>summary::before{content:'▾'}
.file-folder .file-item{margin-left:9px;width:calc(100% - 9px)}
.file-item{display:block;text-align:left;padding:4px 7px;border:1px solid transparent;border-radius:5px;background:transparent;box-shadow:none;font-size:11px;color:#4a453d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.6}
.file-item:hover{background:#f1eee8;transform:none;box-shadow:none;border-color:transparent}
.file-item.selected{background:#fff;border-color:#e7e3dc;color:#1f1d1a;font-weight:600}
.file-item i{color:#b06a2c;font-style:normal;margin-left:4px}
/* 页面底部对话 */
.edit-chat{border:1px solid #ece8e1;border-radius:11px;background:#faf8f4;padding:8px 10px;display:flex;flex-direction:column;gap:6px;flex:0 0 auto}
.edit-chat .chat-log{max-height:70px;overflow:auto;gap:5px}
.edit-chat .chat-form{display:flex;align-items:flex-end;gap:8px}
.edit-chat .chat-form textarea{flex:1 1 auto;min-height:38px;max-height:70px;resize:none;font-size:12px;padding:8px 10px;border-radius:9px;background:#fff}
.edit-chat .chat-form button{flex:0 0 auto;height:36px;padding:0 18px}
.chat-actions{display:none}
/* 右侧分数：最低加粗、第二低下划线 */
.score-lowest{font-weight:700;color:#1f1d1a}
.score-second{text-decoration:underline;text-underline-offset:2px}
.score-legend{margin:0 0 6px;font-size:9.5px;color:#a39c91}
@media(max-width:1200px){body.editing-review .edit-body{height:auto}body.editing-review .edit-files{height:auto;max-height:240px}}
.role-line{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:10px}
.role-label{font-size:12px;font-weight:600;color:#3e3a34;min-width:78px}
.role-line select{width:auto;min-width:300px;max-width:100%;font-size:12px;padding:7px 10px}
.model-table td:first-child{min-width:150px}
/* 编辑模式：去掉顶部面包屑栏，腾出高度 */
body.editing-review .topbar{display:none}
body.editing-review .workspace{padding-top:14px}
body.editing-review .main{height:100vh;overflow:hidden}
body.editing-review .edit-body{height:calc(100vh - 96px)}

/* 编辑区 v4：左文件 / 中对话 / 右迭代或文件 */
body.editing-review .edit-grid{grid-template-columns:212px minmax(0,1fr) 424px;gap:14px}
.edit-chat-col{display:flex;flex-direction:column;min-height:0;background:#fff;border:1px solid #ece8e1;border-radius:11px;overflow:hidden}
.chat-head{display:flex;align-items:baseline;gap:10px;padding:9px 14px;border-bottom:1px solid #f0ede7;background:#faf8f4;flex-wrap:wrap}
.chat-head strong{font-size:12px;color:#2b2823}
.chat-head .small-note{font-size:10.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
.edit-chat-col .chat-log{flex:1 1 auto;overflow:auto;padding:16px 16px 8px;display:flex;flex-direction:column;gap:14px;min-height:0}
.chat-msg{display:flex;flex-direction:column;gap:4px;max-width:92%}
.chat-msg.user{align-self:flex-end;align-items:flex-end}
.chat-role{font-size:9.5px;color:#a39c91;letter-spacing:.04em}
.chat-bubble{font-size:12.5px;line-height:1.85;padding:9px 12px;border-radius:10px;background:#f6f4ef;color:#2b2823;white-space:pre-wrap;overflow-wrap:anywhere}
.chat-msg.user .chat-bubble{background:#2b2823;color:#fff}
.chat-empty{margin:auto;text-align:center;color:#a39c91;font-size:12px}
.chat-empty p{margin:0 0 6px}
.edit-chat-col .chat-form{border-top:1px solid #f0ede7;padding:10px 12px;display:flex;gap:8px;align-items:flex-end;background:#faf8f4;flex:0 0 auto}
.edit-chat-col .chat-form textarea{flex:1 1 auto;min-height:44px;max-height:120px;resize:none;font-size:12px;padding:9px 11px;border-radius:9px;background:#fff}
.edit-chat-col .chat-form button{height:38px;padding:0 18px;flex:0 0 auto}
.file-panel{display:flex;flex-direction:column;height:100%;min-height:0}
.file-panel-head{display:flex;justify-content:space-between;gap:8px;padding:0 2px 6px;font-size:10.5px;color:#8d877d;font-family:ui-monospace,monospace}
.file-panel-path{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.file-panel-meta{flex:0 0 auto}
.file-panel-tools{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:0 0 8px;border-bottom:1px solid #f0ede7;margin-bottom:10px;flex-wrap:wrap}
.file-tools{display:flex;gap:5px;flex-wrap:wrap}
.file-tools button{font-size:10.5px;padding:5px 9px}
.file-render{flex:1;overflow:auto;font-size:12.5px;line-height:1.9;color:#2b2823;padding:0 2px 10px}
.file-render h3{font-size:16px;margin:2px 0 10px;color:#1f1d1a}
.file-render h4{font-size:13.5px;margin:18px 0 8px;color:#1f1d1a}
.file-render h5{font-size:12.5px;margin:14px 0 6px}
.file-render p{margin:0 0 9px}
.file-render ul,.file-render ol{margin:0 0 10px;padding-left:20px}
.file-render li{margin:2px 0}
.file-render pre{background:#f6f4ef;border-radius:8px;padding:10px;overflow:auto;font-size:11px;line-height:1.7;white-space:pre-wrap}
.file-render code{background:#f1eee8;border-radius:4px;padding:1px 4px;font-size:11px}
#editArea{flex:1 1 auto;width:100%;border:0;border-radius:0;padding:8px 2px;font:12px/1.85 ui-monospace,SFMono-Regular,monospace;resize:none;min-height:0;background:#fff;box-shadow:none}
.file-empty{padding:30px 10px;text-align:center;color:#a39c91;font-size:12px}
.edit-side{display:flex;flex-direction:column;min-height:0;max-height:none}
#editSideBody{flex:1 1 auto;overflow:auto;min-height:0}
@media(max-width:1500px){body.editing-review .edit-grid{grid-template-columns:200px minmax(0,1fr) 360px}}
@media(max-width:1200px){body.editing-review .edit-grid{grid-template-columns:minmax(0,1fr)}.edit-chat-col{min-height:420px}}
.edit-chat-col .chat-log{max-height:none;min-height:0}

/* 对话居中：没有文件预览时给对话更大空间 */
body.editing-review.edit-side-info .edit-grid{grid-template-columns:212px minmax(0,1fr) 300px}
body.editing-review.edit-side-file .edit-grid{grid-template-columns:212px minmax(0,1fr) 440px}
body.editing-review.edit-no-file .edit-grid{grid-template-columns:212px minmax(0,1fr)}
body.editing-review.edit-no-file .edit-side{display:none}
.edit-chat-col .chat-log,.edit-chat-col .chat-form{padding-left:max(16px,calc((100% - 780px)/2));padding-right:max(16px,calc((100% - 780px)/2))}
.edit-chat-col .chat-form{padding-top:10px;padding-bottom:10px}
@media(max-width:1500px){body.editing-review.edit-side-file .edit-grid{grid-template-columns:200px minmax(0,1fr) 380px}body.editing-review.edit-side-info .edit-grid{grid-template-columns:200px minmax(0,1fr) 280px}}
.file-row{display:flex;align-items:center;gap:2px}
.file-row .file-item{flex:1;min-width:0}
.file-dl{flex:0 0 auto;text-decoration:none;color:#b3aca2;font-size:11px;padding:2px 4px;border-radius:4px;opacity:0;transition:opacity .12s}
.file-row:hover .file-dl{opacity:1}
.file-dl:hover{background:#f1eee8;color:#4a5f7d}
.file-up{flex:0 0 auto;margin-left:auto;border:0;background:transparent;color:#b3aca2;font-size:12px;padding:0 4px;line-height:1;box-shadow:none}
.file-up:hover{color:#2b2823;background:#eae6df;transform:none;box-shadow:none}
.file-group>summary .file-up{margin-left:2px}
.check-list{list-style:none;margin:12px 0 0;padding:0;display:grid;gap:8px}
.check-item{display:flex;gap:10px;align-items:flex-start;border:1px solid #ece8e1;border-radius:8px;padding:9px 11px;background:#fff}
.check-item p{margin:2px 0 0;font-size:11.5px;color:#7a7368;line-height:1.6}
.check-icon{flex:0 0 auto;width:18px;height:18px;border-radius:50%;display:grid;place-items:center;font-size:10px;color:#fff;background:#a39c91;margin-top:1px}
.check-item.pass .check-icon{background:#4a6a4f}
.check-item.warn .check-icon{background:#b5893a}
.check-item.fail .check-icon{background:#8f4b45}

/* 回复输入：胶囊样式 + 内嵌发送箭头 */
.edit-chat-col .chat-form{display:flex;align-items:flex-end;gap:8px;border:1px solid #e4e0d8;border-radius:24px;padding:7px 8px 7px 18px;background:#fff;box-shadow:0 1px 2px #2b28230a}
.edit-chat-col .chat-form textarea{border:0;background:transparent;padding:6px 0;min-height:26px;max-height:120px;font-size:13px;line-height:1.6;resize:none;box-shadow:none;flex:1 1 auto}
.edit-chat-col .chat-form textarea:focus{outline:none;box-shadow:none}
.chat-send{flex:0 0 auto;width:32px;height:32px;border-radius:50%;border:0;background:#f1eee8;color:#7a7368;display:grid;place-items:center;box-shadow:none}
.chat-send:hover{background:#2b2823;color:#fff;transform:none;box-shadow:none}
.chat-send:disabled{opacity:.5}
.chat-bubble.typing{display:flex;align-items:center;gap:4px;color:#8d877d}
.chat-bubble.typing i{width:4px;height:4px;border-radius:50%;background:#c3bcb2;animation:typing 1s infinite ease-in-out}
.chat-bubble.typing i:nth-child(2){animation-delay:.15s}
.chat-bubble.typing i:nth-child(3){animation-delay:.3s}
@keyframes typing{0%,60%,100%{opacity:.25;transform:translateY(0)}30%{opacity:1;transform:translateY(-2px)}}
/* 静态检查气泡 */
.chat-check-body{background:#fff;border:1px solid #ece8e1;border-radius:10px;padding:10px 12px}
.check-summary{margin:0 0 2px;font-size:11px;color:#8d877d}
.check-note{margin:0 0 8px;font-size:12px;color:#3e3a34}
.chat-check .check-list{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.chat-check .check-item{border:1px solid #efece6;border-radius:8px;padding:8px 10px;background:#fdfcfa;transition:transform .14s ease,box-shadow .14s ease,border-color .14s ease}
.chat-check .check-item:hover,.chat-check .check-item:focus{transform:translateY(-1px);box-shadow:0 6px 18px #2b282314;border-color:#ded9d1;outline:none}
.chat-check .check-copy strong{font-size:11.5px;color:#2b2823}
.chat-check .check-copy p{margin:2px 0 0;font-size:11px;color:#8d877d;line-height:1.6}
.chat-check .check-icon{width:16px;height:16px;font-size:9px}

/* 右侧切换过渡 & 产线面板 */
#editSideBody{animation:sideFade .18s ease}
@keyframes sideFade{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
.prod-panel{display:flex;flex-direction:column;gap:10px}
.prod-summary{margin:0;font-size:12px;color:#3e3a34}
.prod-bar{height:5px;border-radius:3px;background:#f1eee8;overflow:hidden}
.prod-bar i{display:block;height:100%;background:#2b2823;border-radius:3px;transition:width .5s ease}
.prod-list{display:grid;gap:6px}
.prod-row{display:flex;align-items:center;gap:8px;padding:7px 9px;border:1px solid #efece6;border-radius:8px;background:#fdfcfa;font-size:11.5px;transition:border-color .2s,box-shadow .2s}
.prod-row.solving,.prod-row.judging{border-color:#dcd7cf;box-shadow:0 2px 10px #2b28230f}
.prod-row.done{border-color:#dfe7dc;background:#fbfdfa}
.prod-row.failed{border-color:#f0dcda;background:#fdf7f6}
.prod-dot{width:7px;height:7px;border-radius:2px;background:#c3bcb2}
.prod-row.solving .prod-dot{background:#4a5f7d;animation:pulse 1.1s infinite}
.prod-row.judging .prod-dot{background:#b5893a;animation:pulse 1.1s infinite}
.prod-row.done .prod-dot{background:#4a6a4f}
.prod-row.failed .prod-dot{background:#8f4b45}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.35}}
.prod-name{font-weight:600;color:#2b2823;min-width:44px}
.prod-state{color:#8d877d;display:flex;align-items:center;gap:3px}
.prod-state i{width:3px;height:3px;border-radius:50%;background:#8d877d;animation:typing 1s infinite}
.prod-state i:nth-child(2){animation-delay:.15s}.prod-state i:nth-child(3){animation-delay:.3s}
.prod-score{margin-left:auto;font-variant-numeric:tabular-nums;color:#2b2823}
.prod-start{width:100%;justify-content:center}
.check-item{cursor:pointer}
.prod-main{display:flex;flex-direction:column;line-height:1.25}
.prod-model{font-size:9.5px;color:#a39c91;font-family:ui-monospace,monospace}
.prod-cost{margin-left:6px;font-size:9.5px;color:#8d877d;font-variant-numeric:tabular-nums}
.edit-side-tabs button{transition:background .16s ease,color .16s ease,border-color .16s ease}
#editSideBody{will-change:opacity,transform}

/* ===== 排版：对齐 Claude 的字号与字体（2026-10-20） ===== */
:root{
  --sans:-apple-system,BlinkMacSystemFont,"SF Pro Text","Inter","Helvetica Neue","PingFang SC","Hiragino Sans GB","Noto Sans SC",sans-serif;
  --serif:"Iowan Old Style","Source Serif 4","Charter","Songti SC","Noto Serif SC",Georgia,serif;
  --mono:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,monospace;
}
body,button,input,select,textarea{font-family:var(--sans);font-size:15px;line-height:1.75}
body{font-size:15.5px}
.small-note{font-size:12.5px;line-height:1.65}
.subtitle{font-size:13.5px}
.brand{font-size:15.5px}
.project-copy strong{font-size:14px}
.project-copy small{font-size:12px}
.side-label{font-size:11px}
.breadcrumbs{font-size:12.5px}
.topbar{font-size:13px}
h1{font-size:28px;letter-spacing:-.5px}
h2{font-size:18px}
h3{font-size:15.5px}
.tabs button{font-size:14px;padding:10px 14px}
button{font-size:13.5px;padding:8px 14px}
button.small{font-size:12.5px;padding:7px 12px}
input,select,textarea{font-size:14px;padding:9px 12px}
table{font-size:13.5px}
th{font-size:12.5px}
td{font-size:13.5px;padding:12px}
.cell-note{font-size:12px}
.card{padding:24px}
.keyvalues dt{font-size:12.5px}
.keyvalues dd{font-size:14px}
/* 编辑工作区 */
.edit-head h2{font-size:19px}
.edit-head .small-note{font-size:12px}
.edit-files{font-size:13px}
.file-group>summary{font-size:13px;padding:7px 8px}
.file-folder>summary{font-size:12.5px}
.file-item{font-size:13px;padding:5px 8px}
.file-path{font-size:12px}
.file-panel-head{font-size:12px}
.file-panel-tools .small-note{font-size:12px}
.file-tools button{font-size:12px;padding:6px 10px}
.file-render{font-family:var(--serif);font-size:15.5px;line-height:1.95;color:#26231f}
.file-render h3{font-size:19px;margin:4px 0 12px}
.file-render h4{font-size:16px;margin:22px 0 10px}
.file-render h5{font-size:14.5px;margin:18px 0 8px}
.file-render p{margin:0 0 11px}
.file-render li{margin:4px 0}
.file-render pre,.file-render code{font-family:var(--mono);font-size:12.5px}
#editArea{font-family:var(--mono);font-size:13px;line-height:1.9}
.chat-head strong{font-size:13.5px}
.chat-head .small-note{font-size:12px}
.chat-role{font-size:11px;letter-spacing:.03em}
.chat-bubble{font-size:16px;line-height:1.85;padding:12px 15px;border-radius:12px}
.chat-empty p{font-size:15px}
.chat-empty .small-note{font-size:12.5px}
.edit-chat-col .chat-form textarea{font-size:15px;padding:8px 0}
.chat-check .check-summary{font-size:12.5px}
.chat-check .check-note{font-size:13.5px}
.chat-check .check-copy strong{font-size:13.5px}
.chat-check .check-copy p{font-size:12.5px;line-height:1.7}
.scores-head h3{font-size:13px}
.scores-table th{font-size:10.5px}
.scores-table td{font-size:12.5px;padding:6px 5px}
.scores-source{font-size:12px}
.revision-item{font-size:12px}
.role-label{font-size:13px}
.role-line select{font-size:13px}
/* 产线 */
.prod-summary{font-size:13.5px}
.prod-row{font-size:13px;padding:9px 11px}
.prod-name{font-size:13px}
.prod-model{font-size:11px}
.prod-state{font-size:12px}
.prod-cost{font-size:11px}
/* 弹窗与检查卡片 */
#dialogBody{font-size:14px}
.check-item strong{font-size:13.5px}
.check-item p{font-size:12.5px}
.check-list{gap:10px}
.markdown,.doc-text{font-size:14px}
@media(max-width:1280px){.edit-chat-col .chat-bubble{font-size:15px}}

/* 静态检查单行紧凑 */
.chat-check .check-list{gap:3px}
.chat-check .check-item{padding:6px 9px;align-items:center;gap:8px}
.chat-check .check-copy{display:flex;align-items:baseline;gap:8px;min-width:0;flex:1}
.chat-check .check-copy strong{white-space:nowrap;flex:0 0 auto;font-size:12.5px;color:#2b2823}
.chat-check .check-copy p{margin:0;font-size:12px;color:#8d877d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.chat-check .check-summary{font-size:12px;margin:0 0 4px}
.chat-check .check-note{margin:0 0 6px;font-size:12.5px;color:#5c554c}
/* 左栏 VSCode 风格 */
.edit-files{background:#fbfaf8;padding:8px}
.edit-files .file-group{margin:0}
.edit-files .file-group>summary,.edit-files .file-folder>summary{padding:3px 6px;border-radius:4px;font-size:12.5px}
.edit-files .file-folder>summary{font-size:12px;color:#6b635a}
.edit-files .file-group-body{padding-left:6px;margin-left:6px;border-left:1px solid #ece8e1}
.edit-files .file-folder .file-group-body,
.edit-files .file-folder .file-item{margin-left:8px}
.edit-files .file-folder .file-item{width:calc(100% - 8px)}
.edit-files .file-item{padding:3px 7px;border-radius:4px;font-size:12.5px;border:1px solid transparent}
.edit-files .file-item.selected{background:#eef2f7;border-color:#dbe4ee;color:#1f2a37;font-weight:500}
.edit-files .file-item:hover{background:#f1eee8}
.edit-files .file-dl{opacity:.35}
.edit-files .file-row:hover .file-dl{opacity:1}
.edit-files .file-group>summary::before,.edit-files .file-folder>summary::before{content:'❯';font-size:8px;transform:rotate(0);transition:transform .12s ease}
.edit-files .file-group[open]>summary::before,.edit-files .file-folder[open]>summary::before{content:'❯';transform:rotate(90deg)}
/* 得分表完整展示 */
body.editing-review.edit-side-info .edit-grid{grid-template-columns:212px minmax(0,1fr) 332px}
#editSideBody{padding:10px}
.scores-table{table-layout:fixed;width:100%}
.scores-table th,.scores-table td{font-size:11px;padding:4px 2px;white-space:nowrap;text-align:right}
.scores-table th:first-child,.scores-table td:first-child{width:30px;text-align:left}
.scores-head h3{font-size:12.5px}
.scores-head .small-note{font-size:9.5px}
.score-legend{font-size:9.5px}
.scores-source{font-size:10.5px}

/* 工作区：顶部收紧、对话清空、产线阶段与报告 */
body.editing-review .workspace{padding-top:6px}
body.editing-review .edit-head{align-items:center;margin-bottom:8px}
.edit-title{display:flex;align-items:baseline;gap:10px;min-width:0;flex:1 1 auto}
.edit-title h2{margin:0;font-size:16.5px;line-height:1.45;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.edit-meta{font-size:11px;color:#a39c91;white-space:nowrap;flex:0 0 auto}
body.editing-review .edit-body{height:calc(100vh - 62px)}
.chat-clear{margin-left:auto;border:1px solid #e7e3dc;background:#fff;color:#8d877d;font-size:11px;padding:2px 9px;border-radius:20px;cursor:pointer;line-height:1.7}
.chat-clear:hover{color:#2b2823;border-color:#d9d3ca;background:#fbfaf7}
.prod-steps{display:flex;align-items:center;margin:0 0 2px}
.prod-step{display:flex;align-items:center;gap:5px;font-size:11px;color:#a39c91;white-space:nowrap}
.prod-step:not(:last-child){flex:1 1 auto}
.prod-step:not(:last-child)::after{content:'';flex:1 1 auto;height:1px;background:#e7e3dc;margin:0 7px}
.prod-step i{width:16px;height:16px;border-radius:50%;display:grid;place-items:center;font-size:9px;font-style:normal;background:#f4f1ec;color:#a39c91;border:1px solid #e7e3dc}
.prod-step.done i{background:#4a6a4f;border-color:#4a6a4f;color:#fff}
.prod-step.active{color:#2b2823;font-weight:600}
.prod-step.active i{background:#2b2823;border-color:#2b2823;color:#fff}
.prod-step.failed i{background:#8f4b45;border-color:#8f4b45;color:#fff}
.prod-step.done{color:#4a6a4f}
.prod-verdict{margin-left:6px;font-size:11px;padding:1px 7px;border-radius:20px}
.prod-verdict.good{background:#eef4ec;color:#3d5c42}
.prod-verdict.bad{background:#f9edeb;color:#8f4b45}
.prod-golden{display:flex;align-items:baseline;gap:8px;padding:7px 9px;border:1px dashed #e7e3dc;border-radius:8px;font-size:10.5px;color:#8d877d}
.prod-golden.done{color:#5c554c;border-style:solid;background:#fbfaf7}
.prod-golden.failed{color:#8f4b45;border-color:#f0dcda;background:#fdf7f6}
.prod-golden b{font-weight:600;color:#2b2823;font-size:11.5px}
.prod-golden span{margin-left:auto;font-variant-numeric:tabular-nums}
.prod-row{display:block;padding:8px 9px}
.prod-line{display:flex;align-items:center;gap:7px}
.prod-line2{display:flex;align-items:center;gap:6px;margin-top:2px;padding-left:14px;font-size:10px;color:#a39c91;font-variant-numeric:tabular-nums;min-height:14px}
.prod-line2 .prod-state{font-size:10.5px;color:#8d877d}
.prod-row.ready .prod-dot{background:#b5893a}
.prod-score{margin-left:auto;font-size:13px;font-weight:600}
.prod-row.done .prod-score{color:#3d5c42}
.prod-report{margin-top:2px;border-top:1px solid #f0ede7;padding-top:8px;display:grid;gap:3px}
.prod-report-head{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#8d877d;margin:0}
.prod-report-head button{border:0;background:none;padding:0;color:#8a6a3a;font-size:11px;cursor:pointer}
.prod-report-line{margin:0;font-size:10.5px;color:#8d877d;font-variant-numeric:tabular-nums}
.prod-report-line b{color:#2b2823;font-weight:600}
.prod-good{color:#3d5c42}
.prod-bad{color:#8f4b45}
.prod-report-modal{display:grid;gap:16px}
.prod-report-tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.prod-report-tile{border:1px solid #efece6;border-radius:8px;padding:8px 10px;background:#fdfcfa}
.prod-report-tile span{display:block;font-size:10px;color:#a39c91}
.prod-report-tile b{font-size:17px;font-weight:600;color:#2b2823}
.prod-report-table{width:100%;border-collapse:collapse;font-size:12px}
.prod-report-table th{font-size:10.5px;padding:5px 6px;background:#faf8f4}
.prod-report-table td{padding:5px 6px;font-size:12px;font-variant-numeric:tabular-nums}
.chat-head .small-note{margin:0}
.chat-head{padding:8px 14px}

/* 侧栏项目切换：极简两行，去掉图标块与“当前”药丸 */
.project-switch .directions{display:grid;gap:2px}
.directions .project-card{position:relative;display:flex;align-items:center;gap:9px;padding:8px 10px;border:1px solid transparent;border-radius:8px;background:transparent;box-shadow:none;text-align:left;transition:background .15s,border-color .15s}
.directions .project-card:hover{background:#f3f0ea;border-color:transparent;box-shadow:none;transform:none}
.directions .project-card.selected{background:#fff;border-color:#e8e4dc;box-shadow:0 1px 2px #2b28230a}
.project-dot{width:6px;height:6px;border-radius:50%;background:#cfc9bf;flex:0 0 auto;transition:background .15s}
.project-card.selected .project-dot{background:#2b2823}
.project-copy{display:grid;gap:1px;min-width:0}
.project-copy strong{font-size:12.5px;font-weight:600;color:#5c564e;white-space:nowrap}
.project-card.selected .project-copy strong{color:#1f1d1a}
.project-copy small{font-size:10.5px;color:#a8a197;line-height:1.5}
.project-mark,.project-state{display:none!important}
.project-switch .side-label{margin:0 0 6px}

/* 甲方反馈列 */
.delivery-table .feedback-col{width:32%}
.delivery-feedback{max-width:420px}
.delivery-feedback .feedback-verdict{margin-bottom:4px}
.feedback-text{margin:0;font-size:11.5px;line-height:1.7;color:#4a453d;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.feedback-text.muted{color:#b3aca2}
.delivery-feedback-full{border:1px solid #efece6;background:#fdfcfa;border-radius:8px;padding:10px 12px;margin:10px 0 14px}
.delivery-feedback-full .feedback-text{display:block;font-size:13px;margin-top:6px}
/* 提交历史：紧凑行 + 反馈与徽标同行 */
.delivery-table td{padding:9px 12px;vertical-align:middle}
.delivery-table th{padding:8px 12px}
.delivery-table tr:hover td{background:#fbfaf7}
.delivery-feedback{display:flex;align-items:flex-start;gap:8px;max-width:none}
.delivery-feedback .feedback-verdict{margin:0;flex:0 0 auto}
.delivery-feedback .feedback-text{flex:1 1 auto;min-width:0;-webkit-line-clamp:2}
.delivery-table .feedback-col{width:auto}
.project-card{align-items:flex-start}
.project-dot{margin-top:7px}
.directions .project-card.selected{background:#f1ede6;border-color:transparent;box-shadow:none}
.directions .project-card.selected .project-copy strong{color:#1f1d1a}

/* 测试与判分：产线运行历史 */
.run-history{display:grid;gap:10px;margin-bottom:18px}
.run-history-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}
.run-history-head h3{font-size:14px;margin:0}
.run-card{border:1px solid #ece8e1;border-radius:10px;background:#fdfcfa;padding:10px 12px}
.run-card.current{border-color:#d8d1c6;background:#fff;box-shadow:0 2px 10px #2b28230a}
.run-card header{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin-bottom:8px}
.run-card header strong{font-size:13px}
.run-card header .small-note{margin:0;font-size:10.5px;color:#a39c91}
.run-current{font-size:9.5px;color:#3d5c42;background:#eef4ec;border-radius:20px;padding:1px 7px}
.run-mean{font-size:11px;color:#5c554c;font-variant-numeric:tabular-nums;margin-left:auto}
.run-lanes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.run-lane{border:1px solid #f0ede7;border-radius:8px;background:#fff;padding:7px 9px;min-width:0}
.run-lane-head{display:flex;align-items:baseline;justify-content:space-between;gap:6px}
.run-lane-head span{font-size:10px;color:#a39c91}
.run-lane-head b{font-size:14px;font-weight:600;color:#2b2823;font-variant-numeric:tabular-nums}
.run-lane small{display:block;margin-top:2px;font-size:9.5px;color:#8d877d;line-height:1.55;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.run-card footer{margin-top:7px;font-size:10px;color:#8d877d;border-top:1px dashed #f0ede7;padding-top:6px}
.run-test-files{margin-top:6px;border-top:1px solid #f0ede7;padding-top:10px}
.run-test-files>summary{cursor:pointer;font-size:12px;color:#5c554c;margin-bottom:8px}
@media(max-width:760px){.run-lanes{grid-template-columns:repeat(2,minmax(0,1fr))}}
.run-card.empty{padding:8px 12px;background:#fbfaf8}
.run-card.empty header{margin:0}
.run-round{display:grid;gap:8px}
.run-round-head{display:flex;align-items:baseline;gap:10px}
.run-round-head h4{font-size:13px;margin:0;font-variant-numeric:tabular-nums}
.run-round-head .small-note{margin:0;font-size:10.5px;color:#a39c91}
.run-cards{display:grid;gap:8px}
.run-lane.missing b{color:#b3aca2}
.run-error{display:block;margin-top:2px;font-size:9.5px;color:#a06a64;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.run-status{margin-left:auto;font-size:9.5px;color:#3d5c42;background:#eef4ec;border-radius:20px;padding:1px 7px}
.run-status.bad{color:#8f4b45;background:#f9edeb}

/* Skill 页：当前版本 + 与上一版对比摘要 */
.skill-summary{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:10px 12px;border:1px solid #ece8e1;border-radius:10px;background:#fdfcfa;margin-bottom:14px}
.skill-summary strong{font-size:13px;color:#2b2823}
.skill-summary .small-note{margin:0;font-size:11.5px;color:#8d877d}
.skill-chips{display:flex;gap:6px;flex-wrap:wrap}
.skill-chip{border:1px solid #e8e4dc;background:#fff;border-radius:20px;padding:2px 9px;font-size:11px;color:#5c554c;cursor:pointer;line-height:1.7}
.skill-chip:hover{background:#f6f3ee}
.skill-chip.added{color:#3d5c42;border-color:#d9e4d6}
.skill-chip.removed{color:#8f4b45;border-color:#f0dcda}
.skill-chip.modified{color:#8a6a3a;border-color:#eadfcb}
.skill-count{margin-left:auto;font-size:11px;color:#a39c91}
.diff-title{font-size:12.5px;margin:16px 0 6px;font-family:var(--mono);color:#5c554c}

/* 题目审查：状态筛选与标记 */
.review-filters{display:flex;gap:4px;flex-wrap:wrap;margin-bottom:10px}
.review-filter{display:flex;align-items:center;gap:5px;border:1px solid transparent;background:transparent;color:#8d877d;font-size:11.5px;padding:4px 8px;border-radius:7px;cursor:pointer}
.review-filter span{font-size:9.5px;color:#b3aca2}
.review-filter.selected{background:#fff;border-color:#e7e3dc;color:#2b2823;box-shadow:0 1px 2px #2b28230a}
.task-flag{display:inline-block;margin-right:5px;padding:0 5px;border-radius:4px;font-size:9px;font-style:normal;line-height:1.6}
.task-flag.archived{background:#f2efe9;color:#8d877d}
.run-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#22c55e;margin-right:6px;vertical-align:middle;box-shadow:0 0 0 3px rgba(34,197,94,.14);animation:run-pulse 1.8s ease-in-out infinite}
@keyframes run-pulse{0%,100%{opacity:1}50%{opacity:.45}}
.task-flag.submitted{background:#eef4ec;color:#3d5c42}
.review-status{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:6px 0 0}
.review-status .small-note{margin:0}
.review-filters{display:grid;grid-template-columns:1fr 1fr;gap:4px}
.review-filter{justify-content:space-between;width:100%}

/* 题目工作台 */
.wb-card{display:grid;gap:14px}
.wb-stats{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px}
.wb-stat{border:1px solid #efece6;border-radius:9px;padding:9px 12px;background:#fdfcfa}
.wb-stat span{display:block;font-size:10.5px;color:#a39c91}
.wb-stat strong{font-size:19px;color:#2b2823;font-weight:600}
.wb-filters{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}
.wb-filters .review-filter{padding:5px 9px}
.workbench-table{width:100%;min-width:880px}
.workbench-table td.wb-stage{white-space:normal;min-width:150px;line-height:1.6}
.workbench-table tr.running td{background:#f7fdf9}
.workbench-table td{font-size:12.5px;vertical-align:middle}
.workbench-table tr{cursor:pointer}
.workbench-table tr:hover td{background:#fbfaf7}
.workbench-table tr.running td{background:#fbfdfa}
.workbench-table th:nth-child(n+4),.workbench-table td:nth-child(n+4){text-align:right}
.wb-score{font-variant-numeric:tabular-nums}
.wb-flags{white-space:nowrap}
.task-flag.running{background:#eef4ec;color:#3d5c42}
.task-flag.error{background:#f9edeb;color:#8f4b45}
.wb-bar{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.wb-bar .small-note{margin:0}
.wb-detail-only{grid-template-columns:minmax(0,1fr)}
@media(max-width:1100px){.wb-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.wb-filters{grid-template-columns:repeat(3,minmax(0,1fr))}}
.workbench-table{table-layout:fixed;min-width:0}
.workbench-table th:first-child,.workbench-table td:first-child{width:34%}
.workbench-table th:nth-child(2),.workbench-table td:nth-child(2){width:72px}
.workbench-table th:nth-child(3),.workbench-table td:nth-child(3){width:88px}
.workbench-table th:nth-child(n+4):nth-child(-n+7),.workbench-table td:nth-child(n+4):nth-child(-n+7){width:62px}
.workbench-table th:nth-child(8),.workbench-table td:nth-child(8){width:150px}
.workbench-table td{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:10px 8px}
.workbench-table td:first-child .cell-note{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wb-tabs{margin-bottom:14px;display:flex;gap:2px}

/* 质检报告与共性问题 */
.qc-report-list{display:grid;gap:6px;margin-bottom:18px}
.qc-report{display:grid;gap:2px;text-align:left;border:1px solid #ece8e1;background:#fdfcfa;border-radius:9px;padding:10px 12px;cursor:pointer}
.qc-report:hover{background:#fff;border-color:#ded9d1}
.qc-report strong{font-size:13px}
.qc-report .small-note{margin:0;font-size:11px}
.qc-section-head{display:flex;align-items:center;justify-content:space-between;margin:18px 0 8px}
.qc-section-head h3{font-size:14px;margin:0}
.qc-rules{display:grid;gap:6px}
.qc-rule{display:flex;gap:12px;align-items:flex-start;justify-content:space-between;border:1px solid #efece6;border-radius:9px;padding:10px 12px;background:#fdfcfa}
.qc-rule.on{background:#fbfdfa;border-color:#dfe7dc}
.qc-rule strong{font-size:12.5px}
.qc-rule p{margin:2px 0;font-size:12px;color:#5c554c}
.qc-rule .small-note{font-size:10.5px}
.qc-issues{display:grid;gap:10px;max-height:60vh;overflow:auto}
.qc-issue{border:1px solid #efece6;border-radius:9px;padding:10px 12px;background:#fdfcfa}
.qc-issue-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.qc-origin{margin:6px 0;font-size:13px;line-height:1.75;color:#2b2823;white-space:pre-wrap}
.qc-issue-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}
.qc-legacy{margin-top:18px}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.qc-report{justify-items:start;width:100%;text-align:left}
.task-flag.accepted{background:#eaf1f7;color:#2f4d6b}
.task-flag.deliverable{background:#e7f6ec;color:#1b5e20;font-weight:600}
.source-chip{display:inline-block;margin-right:4px;padding:1px 7px;border:1px solid #e7e3dc;border-radius:20px;font-size:10px;color:#5c554c;background:#fdfcfa}

/* 人工修订：整页 flex 撑满视口，保证底部输入框始终可见 */
body.editing-review .main{height:100vh;overflow:hidden;display:flex;flex-direction:column}
body.editing-review .workspace{flex:1 1 auto;min-height:0;height:auto;display:flex;flex-direction:column;padding-bottom:10px}
body.editing-review .review-workspace{flex:1 1 auto;min-height:0}
body.editing-review .review-detail{min-height:0;height:100%;display:flex;flex-direction:column}
body.editing-review .edit-body{flex:1 1 auto;min-height:0;height:auto;display:flex;flex-direction:column}
body.editing-review .edit-grid{flex:1 1 auto;min-height:0;height:auto}
body.editing-review .edit-chat-col{min-height:0}
body.editing-review .edit-chat-col .chat-log{min-height:0}

/* 修复：回到固定高度，留出底部安全区，避免输入框被视口裁掉 */
body.editing-review .main{display:block;height:100vh;overflow:hidden}
body.editing-review .workspace{display:block;height:auto;flex:none;padding-bottom:10px}
body.editing-review .review-workspace{display:grid;flex:none;min-height:0}
body.editing-review .review-detail{display:block;height:auto;min-height:0}
body.editing-review .edit-body{display:block;flex:none;height:calc(100vh - 150px);min-height:0}
body.editing-review .edit-grid{display:grid;flex:none;height:100%;min-height:0}
body.editing-review .edit-chat-col{height:100%;max-height:100%;overflow:hidden}
body.editing-review .edit-chat-col .chat-log{flex:1 1 0;min-height:0;overflow:auto}
body.editing-review .edit-chat-col .chat-form{flex:0 0 auto}
.feedback-row{display:flex;align-items:center;gap:5px;flex-wrap:wrap;padding:6px 14px;border-bottom:1px solid #f0ede7;background:#fdfcfa}
.feedback-row .small-note{margin:0}
.feedback-row:empty{display:none}
.feedback-block{margin-top:14px;border-top:1px solid #ece8e1;padding-top:10px;display:grid;gap:6px}
.feedback-head{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;color:#8d877d}
.feedback-block #feedbackRow{display:grid;gap:4px}
.feedback-block .source-chip{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}

/* 迭代趋势 */
.trend-wrap{display:grid;gap:10px}
.trend-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.trend-head h3{margin:0;font-size:14px}
.trend-metrics{display:flex;gap:4px}
.trend-legend{display:flex;gap:14px;flex-wrap:wrap;font-size:11px;color:#5c554c}
.trend-legend-item{display:flex;align-items:center;gap:5px}
.trend-legend-item i{width:14px;height:2px;border-radius:1px;display:inline-block}
.trend-canvas{position:relative;border:1px solid #efece6;border-radius:10px;background:#fdfcfa;padding:6px}
.trend-svg{width:100%;height:auto;display:block;cursor:pointer}
.trend-tip{position:absolute;z-index:20;display:grid;gap:2px;min-width:200px;max-width:300px;background:#fff;border:1px solid #e7e3dc;border-radius:8px;box-shadow:0 8px 24px #2b28231a;padding:8px 10px;font-size:11px;color:#5c554c;pointer-events:none}
.trend-tip strong{color:#2b2823;font-size:12px}
.trend-tip span{white-space:nowrap}
.trend-multi{margin-top:6px}
.trend-multi-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:6px 0;border-bottom:1px solid #f4f1ec}
.trend-legend-item{cursor:pointer;transition:opacity .15s}
.trend-legend-item.dim{opacity:.35}
.trend-svg polyline{cursor:pointer}
.feedback-drop{margin-top:4px;border:1px dashed #ddd7cd;border-radius:7px;padding:10px 8px;text-align:center;font-size:10.5px;color:#a39c91;background:#fdfcfa}
.feedback-block.dragging .feedback-drop{border-color:#2b2823;color:#2b2823;background:#f6f3ee}
.criteria-block{margin-top:16px;border-top:1px solid #f0ede7;padding-top:12px}
.criteria-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:8px}
.criteria-head h4{margin:0;font-size:13px}
.criteria-table{min-width:680px}
.criteria-table td{font-size:11.5px;vertical-align:top}
.criteria-table .muted{color:#b3aca2}
.cmp{border:1px solid #efece6;border-radius:9px;padding:8px 10px;margin-top:8px;background:#fdfcfa;display:grid;gap:4px}
.cmp-head{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:11px;color:#8d877d}
.cmp-row{display:grid;grid-template-columns:48px 1fr 1fr 56px;gap:4px;font-size:11px;color:#2b2823;font-variant-numeric:tabular-nums}
.cmp-row span:nth-child(n+2){text-align:right}
.cmp-row span:last-child{color:#8a6a3a}
.wb-search{display:flex;align-items:center;gap:10px}
.wb-search input{flex:1 1 auto}
.wb-search .small-note{margin:0;white-space:nowrap}

/* 无 Skill → 门禁 → 带 Skill → 分差 */
.eval-table{border:1px solid #efece6;border-radius:9px;overflow:hidden;background:#fff}
.eval-head,.eval-row{display:grid;grid-template-columns:minmax(0,1fr) 58px 58px 52px;gap:6px;align-items:center;padding:7px 9px}
.eval-head{background:#faf8f4;font-size:10px;color:#8d877d}
.eval-head span:nth-child(n+2){text-align:right}
.eval-row+.eval-row{border-top:1px solid #f1eee8}
.eval-model{min-width:0;display:flex;flex-direction:column;gap:1px}
.eval-model b{font-size:11.5px;color:#2b2823}
.eval-model small{font-size:9.5px;color:#a39c91;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.eval-score{font-size:12px;text-align:right;font-variant-numeric:tabular-nums;color:#2b2823}
.eval-state{font-size:9.5px;color:#8d877d;font-weight:400}
.eval-state.bad{color:#8f4b45}
.eval-muted{font-size:10px;color:#b5aea3}
.eval-gain{font-size:11px;text-align:right;font-variant-numeric:tabular-nums;color:#8d877d}
.eval-gain.good{color:#3d5c42;font-weight:600}
.eval-gain.bad{color:#8f4b45}
.eval-note{margin:-4px 0 0;font-size:10.5px;color:#8d877d}
.prod-step.skipped{color:#b5aea3}
.prod-step.skipped i{opacity:.45}

/* Rubric 模块化编辑 */
.rubric-panel{padding-bottom:18px}
.rubric-editor{display:grid;gap:10px;margin-top:10px}
.rubric-editor-head{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:10.5px;color:#8d877d}
.rubric-editor-head b{color:#2b2823;font-size:12px}
.rubric-total-bad{color:#8f4b45!important}
.rubric-module{border:1px solid #e9e4dc;border-radius:10px;background:#fff;padding:9px;display:grid;gap:8px}
.rubric-module-head{display:flex;align-items:center;gap:5px}
.rubric-module-no{width:18px;font-size:9.5px;color:#a39c91;font-variant-numeric:tabular-nums;flex:none}
.rubric-id{width:48px!important;flex:none;font-family:ui-monospace,monospace;font-size:10.5px!important;padding:4px 5px!important}
.rubric-dimension{flex:1 1 auto;min-width:0;font-size:10.5px!important;padding:4px 5px!important}
.rubric-weight{display:flex;align-items:center;gap:3px;font-size:9.5px;color:#8d877d;white-space:nowrap;flex:none}
.rubric-weight input{width:42px!important;padding:4px 4px!important;font-size:10.5px!important}
.rubric-module-actions{display:flex;gap:2px;flex:none}
.rubric-module-actions .small{padding:2px 5px!important;font-size:10px!important;min-height:auto}
.rubric-meta-row{display:grid;grid-template-columns:1fr 1fr 1fr auto;gap:5px;align-items:end}
.rubric-meta-row>label{display:grid;gap:2px;font-size:9.5px;color:#8d877d;min-width:0}
.rubric-meta-row select{width:100%;font-size:10px;padding:4px 4px;min-height:26px}
.rubric-meta-row .review-check{display:flex;align-items:center;gap:4px;font-size:10px;padding-bottom:6px;white-space:nowrap}
.rubric-desc{display:grid;gap:3px;font-size:9.5px;color:#8d877d}
.rubric-desc textarea{min-height:76px;font-size:11px;line-height:1.55;resize:vertical}
.rubric-levels{display:grid;gap:5px;border-top:1px solid #f1eee8;padding-top:7px}
.rubric-levels-head{display:grid;grid-template-columns:36px 1fr;font-size:9.5px;color:#a39c91}
.rubric-level{display:grid;grid-template-columns:36px 1fr;gap:6px;align-items:start}
.rubric-level>span{font-size:10px;color:#8d877d;padding-top:6px;font-variant-numeric:tabular-nums}
.rubric-level textarea{min-height:32px;font-size:10.5px;line-height:1.5;resize:vertical}
.rubric-panel textarea{width:100%;box-sizing:border-box}
.rubric-hint{margin:-2px 0 0;color:#a39c91;font-size:10px}

/* Claude Code agent */
.chat-head .agent-badge{font-size:9px;letter-spacing:.06em;color:#6d665c;border:1px solid #ded8cf;border-radius:4px;padding:1px 5px;background:#fff}
.chat-head .agent-scope{font-size:9px;color:#3d5c42;border:1px solid #d8e2d5;border-radius:4px;padding:1px 5px;background:#f7faf5}
.agent-empty{max-width:440px;line-height:1.8}
.agent-empty-title{font-size:13px;color:#2b2823;margin:0 0 3px!important}
.agent-chips{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin-top:12px}
.agent-chip{font-size:10.5px;line-height:1.4;padding:5px 9px;border:1px solid #e4dfd7;border-radius:14px;background:#fff;color:#5f5a52;cursor:pointer;transition:border-color .15s,background .15s,color .15s}
.agent-chip:hover{border-color:#c9c2b7;background:#faf8f4;color:#2b2823}
.chat-bubble.rich{white-space:normal;line-height:1.75}
.chat-bubble.rich p{margin:0 0 7px}
.chat-bubble.rich p:last-child{margin-bottom:0}
.chat-bubble.rich ul,.chat-bubble.rich ol{margin:3px 0 8px;padding-left:19px}
.chat-bubble.rich li{margin:2px 0}
.chat-bubble.rich h3,.chat-bubble.rich h4,.chat-bubble.rich h5{margin:3px 0 6px;line-height:1.4;color:#2b2823}
.chat-bubble.rich h3{font-size:13px}.chat-bubble.rich h4{font-size:12.5px}.chat-bubble.rich h5{font-size:12px}
.chat-bubble.rich code{font-family:var(--mono);font-size:10.5px;background:#ebe7df;border-radius:3px;padding:1px 4px}
.chat-bubble.rich pre{margin:6px 0;background:#2b2823;color:#f6f4ef;border-radius:7px;padding:8px 10px;overflow:auto;font-size:10.5px;line-height:1.55}
.chat-bubble.rich pre code{background:none;color:inherit;padding:0}
.agent-meta{font-size:9.5px;color:#a39c91;padding-left:2px;font-variant-numeric:tabular-nums}
.chat-check.stale{opacity:.62}
.chat-check.stale .check-item{cursor:default}
.chat-check .check-stale{margin:4px 0 6px;padding:5px 8px;border-radius:6px;background:#fdf3e3;color:#9a5b12;font-size:10.5px;line-height:1.5}
.check-item.pass{cursor:pointer}

/* Seed library: inline selection, per-row trash and trash panel */
.seed-toolbar-tools{display:flex;align-items:center;gap:8px;flex-shrink:0}
.seed-batch-bar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:9px 14px;margin:0 0 14px;border:1px solid #bfdbfe;background:#eff6ff;border-radius:8px;font-size:12px;color:#1e40af}
.seed-batch-bar[hidden]{display:none!important}
.seed-batch-bar strong{font-variant-numeric:tabular-nums}
.seed-batch-bar .seed-danger{color:#b91c1c;border-color:#fecaca;background:#fff}
.seed-batch-bar .seed-danger:hover{background:#fef2f2;transform:none;box-shadow:none}
.seed-pick-col{width:40px;text-align:center;padding-left:10px!important;padding-right:6px!important}
.seed-pick{width:15px;height:15px;margin:0;accent-color:#2563eb;cursor:pointer;vertical-align:middle}
.seed-row-actions{display:flex;align-items:center;gap:8px}
.package-table td:last-child .seed-trash{display:inline-grid;place-items:center;width:30px;height:30px;padding:0;border:1px solid #e5e7eb;border-radius:6px;background:#fff;color:#94a3b8;box-shadow:none;flex-shrink:0;white-space:nowrap}
.package-table td:last-child .seed-trash:hover{color:#b91c1c;border-color:#fecaca;background:#fef2f2;transform:none;box-shadow:none}
.package-table td:last-child .seed-trash svg{width:15px;height:15px;pointer-events:none}
.seed-trash-panel{margin:0 0 16px;padding:14px 16px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc}
.seed-trash-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:10px}
.seed-trash-head strong{font-size:13px}
.seed-trash-head .small-note{margin:3px 0 0}
.seed-trash-panel table{background:#fff}
.seed-trash-panel th,.seed-trash-panel td{padding:9px 10px;font-size:12px}
.seed-trash-title{font-weight:500;overflow-wrap:anywhere}
.seed-trash-panel .cell-note{display:block;margin-top:2px}
.seed-trash-panel td:last-child{white-space:nowrap}
.seed-trash-panel .small-note{margin:8px 0 0}
.package-table th:nth-child(1){width:40px}
.package-table th:nth-child(2){width:44%}
.package-table th:nth-child(3){width:15%}
.package-table th:nth-child(4){width:25%}
.package-table th:nth-child(5){width:14%}
.package-table td:last-child{white-space:nowrap}
@media(max-width:1100px){
 .package-table th:nth-child(2){width:40%}
 .package-table th:nth-child(3){width:15%}
 .package-table th:nth-child(4){width:26%}
 .package-table th:nth-child(5){width:17%}
}
@media(max-width:700px){
 .package-table tr{grid-template-columns:minmax(0,1fr) auto}
 .package-table td.seed-pick-col{grid-column:1;grid-row:1;align-self:start;width:auto;text-align:left;padding:0!important}
 .package-table td:nth-child(2){grid-column:1/-1;grid-row:2}
 .package-table td:nth-child(3){grid-column:1;grid-row:3}
 .package-table td:nth-child(4){grid-column:1;grid-row:4}
 .package-table td:nth-child(5){grid-column:2;grid-row:3/5;align-self:center}
 .seed-row-actions{justify-content:flex-end}
}

.package-table .material-name{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}

/* Streaming assistant reply */
.chat-bubble.streaming{white-space:pre-wrap;overflow-wrap:anywhere}
.chat-bubble.streaming .stream-text{white-space:pre-wrap;overflow-wrap:anywhere}
.stream-caret{display:inline-block;width:7px;height:1.05em;margin-left:2px;background:currentColor;opacity:.35;vertical-align:-.12em;border-radius:1px;animation:stream-blink 1s steps(1,end) infinite}
@keyframes stream-blink{0%,45%{opacity:.35}46%,100%{opacity:0}}
@media(prefers-reduced-motion:reduce){.stream-caret{animation:none;opacity:.35}}
.stream-placeholder{color:#9aa6b7}

/* Requirement document management */
.version-entry{display:flex;align-items:stretch;gap:6px;margin-bottom:8px}
.version-entry .version-button{flex:1;min-width:0;margin-bottom:0}
.version-entry.unregistered .version-button{background:#fbfaf7}
.version-tools{display:flex;align-items:center;gap:4px;flex-shrink:0;flex-wrap:wrap;justify-content:flex-end}
.version-tool{padding:4px 8px;font-size:11px;line-height:1.5;white-space:nowrap}
.version-tool.danger{color:#b91c1c;border-color:#fecaca;background:#fff}
.version-tool.danger:hover{background:#fef2f2;transform:none;box-shadow:none}
.document-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
@media(max-width:700px){.version-entry{flex-wrap:wrap}.version-tools{width:100%;justify-content:flex-start}.version-entry .version-button{flex-basis:100%}}

/* Requirement cards: readable names + file type badges */
.versions-list{max-height:calc(100vh - 250px)}
.req-row{display:flex;align-items:flex-start;gap:10px;padding:11px 12px;margin-bottom:8px;border:1px solid #e5e7eb;border-radius:9px;background:#fbfaf7;transition:border-color .15s,background .15s}
.req-row.selected{border-color:#93b4e7;background:#f5f8ff}
.req-row.unregistered{background:#fffdf8}
.req-main{flex:1;min-width:0;display:grid;gap:6px;text-align:left;background:none;border:0;padding:0;box-shadow:none;border-radius:0}
.req-main:hover{transform:none;box-shadow:none}
.req-name{display:block;font-size:12.5px;line-height:1.55;font-weight:600;color:#254371;overflow-wrap:anywhere;word-break:break-word}
.req-meta{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:11px;color:#6b7078}
.req-date{color:#6b7078}
.req-actions{display:flex;align-items:center;gap:4px;flex-shrink:0;flex-wrap:wrap;justify-content:flex-end}
.file-type{display:inline-flex;align-items:center;justify-content:center;min-width:26px;padding:1px 5px;border:1px solid #e1e7ef;border-radius:4px;background:#f3f6fa;color:#5d6f85;font:10px/1.6 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.02em;vertical-align:1px}
.req-meta .badge,.req-meta .status{margin-left:0}
@media(max-width:700px){.req-row{flex-wrap:wrap}.req-main{flex-basis:100%}.req-actions{width:100%;justify-content:flex-start}}
/* Analysis text readability */
.analysis-summary{white-space:pre-wrap;overflow-wrap:anywhere}
.analysis-facts>div{align-items:start}
.analysis-facts dd{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9}
.analysis-value p{margin:0 0 7px}
.analysis-value p:last-child{margin-bottom:0}
.analysis-value code{padding:1px 4px;border-radius:3px;background:#eef4ff;color:#24518a;font:11px/1.7 ui-monospace,SFMono-Regular,Menlo,monospace;overflow-wrap:anywhere}
.analysis-empty{margin:0;color:#8b98aa}

/* Narrow left rail: stack actions under the document name */
.req-row{flex-direction:column;align-items:stretch}
.req-main{width:100%}
.req-actions{width:100%;justify-content:flex-start;margin-top:2px}
.req-meta .status{white-space:nowrap;flex-shrink:0}
.req-meta{gap:6px 8px}
.analysis-formula{margin:0 0 7px;padding:6px 9px;border-left:2px solid #c9d9ef;border-radius:0 5px 5px 0;background:#f5f8fd;color:#2f4058;font:12px/1.85 ui-monospace,SFMono-Regular,Menlo,monospace;overflow-wrap:anywhere}
.analysis-formula code{background:#e8f0fb}
@media(min-width:901px){.requirements-layout{grid-template-columns:280px minmax(0,1fr)}}
@media(min-width:901px) and (max-width:1100px){.requirements-layout{grid-template-columns:240px minmax(0,1fr)}}

/* Weakness 评测：只有 模型 / 得分 两列 */
.eval-table.ws2 .eval-head,.eval-table.ws2 .eval-row{grid-template-columns:minmax(0,1fr) 110px}

/* 需求文档渲染 */
.doc-render{max-height:640px;overflow:auto;padding:6px 4px 10px;font-size:13px;line-height:1.95;color:#1f2937}
.doc-render h1,.doc-render h2,.doc-render h3,.doc-render h4,.doc-render h5,.doc-render h6{margin:20px 0 10px;line-height:1.5}
.doc-render h1{font-size:20px}.doc-render h2{font-size:17px}.doc-render h3{font-size:15px}
.doc-render h4,.doc-render h5,.doc-render h6{font-size:14px;color:#334155}
.doc-render p{margin:8px 0}
.doc-render ul,.doc-render ol{margin:8px 0;padding-left:24px}
.doc-render li{margin:4px 0}
.doc-render code{background:#f1f5f9;padding:1px 5px;border-radius:4px;font-size:12px}
.doc-render pre.md-code,.doc-render pre{background:#f8fafc;border:1px solid #eef2f7;padding:12px 14px;border-radius:8px;overflow:auto;font-size:12px;line-height:1.7}
.doc-render blockquote{margin:10px 0;padding:8px 14px;border-left:3px solid #bfdbfe;background:#f8fafc;color:#475569}
.doc-render blockquote p{margin:4px 0}
.doc-render hr{border:0;border-top:1px solid #e5e7eb;margin:18px 0}
.md-table-wrap{overflow:auto;margin:12px 0}
.doc-render .md-table{width:auto;min-width:100%;border:1px solid #e5e7eb;font-size:12px}
.doc-render .md-table th{background:#f8fafc;white-space:nowrap}
.doc-render .md-table th,.doc-render .md-table td{border:1px solid #eef2f7;padding:8px 10px;vertical-align:top;line-height:1.7}
.zip-browser{margin-top:16px}
.zip-head{font-size:12px;color:#6b7280;margin-bottom:8px}
.zip-list{display:grid;border:1px solid #e5e7eb;border-radius:8px;overflow:auto;max-height:340px}
.zip-entry{display:flex;justify-content:space-between;gap:14px;padding:8px 12px;background:#fff;border:0;border-bottom:1px solid #f1f5f9;text-align:left;font-size:12px;cursor:pointer;color:#1f2937}
.zip-entry:last-child{border-bottom:0}
.zip-entry:hover{background:#f8fafc}
.zip-entry.active{background:#eff6ff;color:#1d4ed8}
.zip-path{overflow-wrap:anywhere}
.zip-size{color:#9ca3af;flex-shrink:0;font-variant-numeric:tabular-nums}
.zip-preview{margin-top:14px;border:1px solid #e5e7eb;border-radius:8px;padding:12px 14px;background:#fff}
.zip-preview-head{display:flex;justify-content:space-between;gap:12px;align-items:baseline;font-size:12px;margin-bottom:10px;padding-bottom:8px;border-bottom:1px solid #f1f5f9}
.zip-preview-head b{overflow-wrap:anywhere;font-weight:600}
.zip-empty{padding:24px;text-align:center;color:#6b7280;font-size:13px}

.chat-check .check-fingerprint{margin-left:10px;font-size:11px;color:#9ca3af;font-variant-numeric:tabular-nums}

/* 输入材料添加/删除 */
.file-row{display:flex;align-items:center;gap:2px}
.file-row .file-item{flex:1;min-width:0}
.file-del{flex:none;border:0;background:transparent;color:#9aa0a6;cursor:pointer;font-size:14px;line-height:1;padding:2px 6px;border-radius:4px;opacity:0}
.file-row:hover .file-del,.file-del:focus{opacity:1}
.file-del:hover{color:#d93025;background:rgba(217,48,37,.08)}
.file-add-bar{margin:0 0 6px}
.file-add-bar button{width:100%}

#toast .toast-undo{margin-left:12px;padding:2px 10px;border:1px solid #60a5fa;background:transparent;color:#93c5fd;border-radius:6px;cursor:pointer;font-size:12px}
#toast .toast-undo:hover{background:#1e3a8a;color:#fff}

/* 人工确认页紧凑布局 v3：文件区加宽、对话列收窄、头部单行 */
body.editing-review .workspace{padding-top:8px}
body.editing-review .edit-head{margin-bottom:6px;align-items:center;flex-wrap:nowrap}
body.editing-review .edit-title{display:flex;align-items:baseline;gap:10px;min-width:0}
body.editing-review .edit-title h2{font-size:15px;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.editing-review .edit-meta{white-space:nowrap;font-size:11px;color:#8d877d}
body.editing-review .edit-actions{flex-wrap:nowrap;gap:6px}
body.editing-review .edit-actions .warn{border-color:#e7b25a;color:#9a5b00;background:#fff8ec}
body.editing-review .edit-body{height:calc(100vh - 54px)}
body.editing-review .edit-grid{gap:10px}
body.editing-review.edit-side-file .edit-grid{grid-template-columns:196px minmax(340px,.85fr) minmax(460px,1.35fr)}
body.editing-review.edit-side-info .edit-grid,body.editing-review .edit-grid{grid-template-columns:196px minmax(0,1fr) 360px}
body.editing-review.edit-side-file .edit-grid{grid-template-columns:196px minmax(340px,.85fr) minmax(460px,1.35fr)}
body.editing-review.edit-no-file .edit-grid{grid-template-columns:196px minmax(0,1fr)}
@media(max-width:1400px){body.editing-review.edit-side-file .edit-grid{grid-template-columns:176px minmax(300px,.8fr) minmax(400px,1.2fr)}}
@media(max-width:1100px){body.editing-review .edit-grid,body.editing-review.edit-side-file .edit-grid{grid-template-columns:minmax(0,1fr)}}
body.editing-review .edit-files{padding:8px}
body.editing-review .edit-files .feedback-block{margin-top:8px;padding-top:6px;gap:4px}
body.editing-review .edit-files .feedback-drop{padding:6px;font-size:10.5px}
body.editing-review .edit-chat-col .chat-log{padding:10px 12px 6px;gap:10px}
body.editing-review .chat-msg{max-width:100%}
body.editing-review .chat-msg.user{max-width:88%}
body.editing-review .chat-head{padding:6px 12px}
body.editing-review .edit-side-tabs{padding:5px}
body.editing-review #editSideBody{padding:8px 10px}
body.editing-review .file-panel-tools{padding-bottom:6px;margin-bottom:6px;flex-wrap:nowrap}
body.editing-review #editSideBody .file-render{cursor:text}
.file-more{position:relative;display:inline-block}
.file-more>summary{list-style:none;cursor:pointer;font-size:13px;line-height:1;padding:5px 8px;border:1px solid #e7e3dc;border-radius:6px;background:#fff;color:#5c554c}
.file-more>summary::-webkit-details-marker{display:none}
.file-more-menu{position:absolute;right:0;top:calc(100% + 4px);z-index:5;background:#fff;border:1px solid #e7e3dc;border-radius:8px;padding:4px;box-shadow:0 6px 18px rgba(0,0,0,.08);white-space:nowrap}
.file-more-menu button{width:100%}

/* v4：高度由 JS 按实际顶部位置计算，输入框始终在视口内；左栏贴满到底 */
body.editing-review .main{overflow:hidden}
body.editing-review .edit-body{height:calc(100vh - 120px)}
body.editing-review .edit-grid{height:100%;min-height:0}
body.editing-review .edit-chat-col{display:flex;flex-direction:column;height:100%;min-height:0}
body.editing-review .edit-chat-col .chat-form{padding:8px 10px}
body.editing-review .edit-files{display:flex;flex-direction:column;height:100%;min-height:0;overflow:auto}
body.editing-review .edit-files .feedback-block{margin-top:auto}
body.editing-review.edit-side-file .edit-grid{grid-template-columns:172px minmax(320px,.8fr) minmax(480px,1.4fr)}
body.editing-review.edit-side-info .edit-grid{grid-template-columns:172px minmax(0,1fr) 360px}
body.editing-review.edit-no-file .edit-grid{grid-template-columns:172px minmax(0,1fr)}
@media(max-width:1400px){body.editing-review.edit-side-file .edit-grid{grid-template-columns:160px minmax(280px,.8fr) minmax(400px,1.2fr)}}
@media(max-width:1100px){body.editing-review .edit-grid,body.editing-review.edit-side-file .edit-grid{grid-template-columns:minmax(0,1fr);height:auto}body.editing-review .main{overflow:auto}}

/* v5：右栏三个页签共用同一宽度，切换不再改变布局；内容淡入 + 滑块指示 */
body.editing-review.edit-side-file .edit-grid,
body.editing-review.edit-side-info .edit-grid,
body.editing-review .edit-grid{grid-template-columns:172px minmax(320px,.8fr) minmax(480px,1.4fr)}
body.editing-review.edit-no-file.edit-side-file .edit-grid{grid-template-columns:172px minmax(0,1fr)}
@media(max-width:1400px){body.editing-review.edit-side-file .edit-grid,body.editing-review.edit-side-info .edit-grid,body.editing-review .edit-grid{grid-template-columns:160px minmax(280px,.8fr) minmax(400px,1.2fr)}}
@media(max-width:1100px){body.editing-review .edit-grid,body.editing-review.edit-side-file .edit-grid,body.editing-review.edit-side-info .edit-grid{grid-template-columns:minmax(0,1fr)}}
body.editing-review .edit-grid{transition:grid-template-columns .28s ease}
body.editing-review .edit-side-tabs button{transition:background .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease}
body.editing-review .edit-side-tabs button.selected{box-shadow:0 1px 3px rgba(0,0,0,.06)}
body.editing-review #editSideBody{animation:sideFade .22s ease both}
@keyframes sideFade{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){body.editing-review #editSideBody{animation:none}body.editing-review .edit-grid{transition:none}}

/* ---------- 账号：登录分栏 / 专家资料 / 角色化隐藏 ---------- */
.login-tabs{display:flex;gap:6px;margin:14px 0 6px}
.login-tabs button{flex:1;padding:6px 8px;border:1px solid var(--line,#d9dde3);background:transparent;border-radius:8px;cursor:pointer}
.login-tabs button.selected{background:var(--ink,#1f2937);color:#fff;border-color:transparent}
.login-pane{display:grid;gap:10px}
.code-row{display:flex;gap:8px}.code-row input{flex:1}
.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}
.form-grid h2,.form-grid .full,.form-grid .form-actions{grid-column:1/-1}
.form-grid label{display:grid;gap:4px}
.form-actions{display:flex;gap:10px;align-items:center}
.notice.danger{border-left:4px solid #d14343}
.review-ops{white-space:nowrap}
body.no-eval [data-action=startProduction],body.no-eval [data-action=rejudgeProduction],body.no-eval [data-action=generateRubric],
body.no-eval [data-action=finishRevision],body.no-eval [data-action=staticCheck],body.no-eval [data-action=scoringSync],
body.no-eval [data-action=applyScoringSync],body.no-eval [data-action=previewScoringSync],body.no-eval [data-action=migratePair],
body.no-eval [data-action=compareVersions],body.no-eval [data-action=uploadFeedback],body.no-eval [data-action=clearChat]{display:none!important}
body.role-expert [data-action=submitTask],body.role-expert [data-action=scoreArchive],body.role-expert [data-action=linkSource],
body.role-expert [data-action=importDeliveries],body.role-expert [data-action=preflight],body.role-expert #pageAction,
body.role-expert .wb-tabs [data-wb-tab=deliveries],body.role-expert .wb-tabs [data-wb-tab=reports],
body.role-expert .review-mark-buttons{display:none!important}

/* ---------- 项目管理 ---------- */
.projects-admin{display:grid;grid-template-columns:minmax(240px,320px) minmax(0,1fr);gap:16px;align-items:start}
.projects-list{display:grid;gap:10px}
.project-row{text-align:left;cursor:pointer;display:grid;gap:4px;padding:14px 16px;border:1px solid var(--line);background:var(--paper);border-radius:12px;box-shadow:none;font:inherit}
.project-row.selected{border-color:var(--accent,#2e5bff);box-shadow:0 0 0 3px rgba(46,91,255,.12)}
.project-row-head{display:flex;gap:8px;justify-content:space-between;align-items:baseline;font-size:14.5px}
.projects-detail{display:grid;gap:16px;min-width:0}
.project-detail-head{display:flex;gap:12px;justify-content:space-between;align-items:flex-start;flex-wrap:wrap}
.project-detail-head h2{font-size:17px;margin:0 0 6px}
.project-req{margin-top:12px;border-top:1px dashed var(--line);padding-top:12px}
.project-req summary{cursor:pointer;font-size:13.5px;font-weight:600;color:var(--accent,#2e5bff)}
.project-doc{margin-top:10px;max-height:320px;overflow:auto;font-size:14px;line-height:1.75}
@media (max-width:900px){.projects-admin{grid-template-columns:1fr}}
