.correction-summary{display:flex;align-items:center;gap:24px;padding:20px 24px;margin:20px 0 12px;background:#f5f8ff;border:1px solid #e0e8f5;border-radius:10px}.correction-summary strong{font-size:28px;color:#1764ff}.correction-summary small{font-size:14px;font-weight:400;color:#63758e}.correction-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}.correction-tabs button{border:1px solid #dce5f4;border-radius:6px;padding:8px 14px;background:white;color:#65758d}.correction-tabs button.active{background:#eef4ff;border-color:#b2caff;color:#1764ff}.correction-tabs b{margin-left:8px;font-weight:500}.correction-item{border:1px solid #e0e8f5;border-radius:8px;margin-bottom:12px;padding:16px 20px}.correction-item strong{margin:0 12px;font-size:15px}.correction-kind{color:#b66c1c;background:#fff6e8;padding:4px 8px;border-radius:4px;font-size:12px}.correction-item p{margin:8px 0 10px}.correction-item summary{cursor:pointer;color:#647b9a;font-size:12px}.correction-item details[open] .tablewrap{margin-top:12px;max-height:300px;overflow:auto}.correction-mapping{margin:16px 0;color:#647b9a}.correction-empty{padding:32px;text-align:center;color:#718199}.correction-changed{background:#f1f8f2;border-left:2px solid #58a26a;padding:7px 9px}.correction-changed strong{display:block;font-weight:500;color:#288046}.correction-review th{white-space:nowrap}.correction-review td{min-width:100px;vertical-align:top}.correction-review .raw{display:block;font-size:12px;color:#8b98aa}.correction-review small{display:block;font-size:11px}.correction-row-fields{display:grid;grid-template-columns:1fr 1fr;gap:20px}.correction-row-fields label{display:flex;flex-direction:column;align-items:flex-start;gap:7px}.correction-steps{margin-bottom:24px}.correction-steps .step{flex:1}@media(max-width:900px){.correction-summary{flex-wrap:wrap;gap:12px}.correction-row-fields{grid-template-columns:1fr}.correction-steps{overflow:auto}.correction-steps .step{white-space:nowrap}}
.correction-compact-header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:8px 0 14px;border-bottom:1px solid #edf0f5}.correction-file,.correction-header-actions{display:flex;align-items:center;gap:14px;min-width:0;font-size:12px}.correction-file strong{font-size:15px;white-space:nowrap}.correction-file>span:first-of-type{color:#8491a5;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.correction-file>span:last-child{white-space:nowrap}.correction-header-actions{flex-shrink:0}.correction-pending{color:#a86a1a;white-space:nowrap}.correction-pending b{font-size:16px;font-weight:600}.correction-help{position:relative}.correction-help summary{cursor:pointer;color:#8d9bb0;list-style:none}.correction-help summary::-webkit-details-marker{display:none}.correction-help>div{position:absolute;right:0;top:24px;width:280px;z-index:100;background:white;border:1px solid #e0e8f5;box-shadow:0 8px 24px #25364f1c;border-radius:6px;padding:12px;color:#718199;line-height:1.7}.correction-compact-header+.correction-tabs{margin-top:14px}@media(max-width:1100px){.correction-compact-header{flex-wrap:wrap;gap:8px}.correction-header-actions{flex-wrap:wrap}.correction-file>span:first-of-type{max-width:190px}}
.correction-section{--issue-color:#8a79bc;margin-bottom:20px;border:1px solid #e0e8f5;border-radius:7px;overflow:hidden}.correction-section-teacher{--issue-color:#407bb5}.correction-section-class{--issue-color:#248b83}.correction-section-course{--issue-color:#8365b3}.correction-section-room{--issue-color:#b08032}.correction-section-hours{--issue-color:#bd6855}.correction-section-title{display:flex;align-items:center;gap:9px;padding:10px 15px;background:#f8faff;border-bottom:1px solid #e0e8f5}.correction-section-title strong{font-size:14px;color:var(--issue-color)}.correction-section-title>span:last-child{font-size:12px;color:#8a96a8;margin-left:5px}.correction-section-dot{width:8px;height:8px;border-radius:2px;background:var(--issue-color)}.correction-problem-table{width:100%;table-layout:fixed}.correction-problem-table th{font-weight:400;color:#8794a8;background:white;padding:8px 15px;font-size:12px}.correction-problem-table>thead>tr>th:first-child{width:80%}.correction-problem-table>thead>tr>th:last-child{width:20%}.correction-problem-table td{padding:11px 15px;vertical-align:top;border-bottom:1px solid #edf1f7}.correction-problem-table tr:last-child td{border-bottom:0}.correction-problem-table td>strong{font-size:13px;font-weight:500;overflow-wrap:anywhere}.correction-problem-table small{display:block;color:#8591a5;font-size:12px;margin-top:4px}.correction-problem-table summary{cursor:pointer;color:#6c84a4;font-size:12px}.correction-problem-table details[open]>.tablewrap{margin-top:10px;max-height:280px;overflow:auto}.correction-problem-table details table{min-width:470px}.correction-problem-table details td,.correction-problem-table details th{padding:7px 9px;font-size:12px}.correction-problem-table .link{font-size:13px}@media(max-width:900px){.correction-problem-table{min-width:650px}}

/* 分组标题、列标题与悬停行使用不同底色。 */
.correction-section-title{background:#eaf0f8;border-bottom-color:#cbd7e8}
.correction-problem-table>thead>tr>th{background:#f3f5f8;color:#526176;font-weight:600}
.correction-problem-table>tbody>tr:hover>td,.correction-problem-table>tbody>tr:focus-within>td{background:#fff4dc}
.correction-problem-table details table{background:white}
.correction-problem-table details thead th{background:#eef2f7;color:#526176}
.correction-problem-table details tbody tr:hover>td{background:#e8f4ff}
.correction-problem-table summary{color:#38618d}

.correction-problem-table summary strong{font-size:13px;font-weight:500;color:#253044}
.correction-detail-count{display:inline-block;margin-left:14px;font-size:12px;color:#61758e}
.correction-problem-table summary small{margin-left:14px}

/* 各类待修正项目使用统一的分组间距、分隔线和名称标签。 */
.correction-section .correction-problem-table>tbody>tr>td{border-bottom:2px solid #d9e5ed;padding-top:16px;padding-bottom:16px}
.correction-section .correction-problem-table>tbody>tr:nth-child(even)>td{background:var(--issue-row,#f7f8fc)}
.correction-section .correction-problem-table>tbody>tr:hover>td,.correction-section .correction-problem-table>tbody>tr:focus-within>td{background:#fff4dc}
.correction-section .correction-problem-table>tbody>tr>td>details>summary strong{display:inline-block;padding:3px 10px;border:1px solid var(--issue-border,#d7cdea);border-radius:4px;background:var(--issue-pale,#f1ecf8);color:var(--issue-ink,#655080);font-weight:600}
.correction-collapse-label{display:none}
.correction-problem-table details[open]>summary .correction-expand-label{display:none}
.correction-problem-table details[open]>summary .correction-collapse-label{display:inline}

.correction-source-table{width:max-content;min-width:100%;table-layout:auto}.correction-source-table th{white-space:pre-wrap;min-width:110px}.correction-source-table td{white-space:pre-wrap;overflow-wrap:anywhere;max-width:320px}

/* 明细表中的行独立分隔，避免外层最后一行样式清除内层边框。 */
.correction-problem-table .correction-source-table>tbody>tr:not(:last-child)>td{border-bottom:1px solid #cbd7e8}

.correction-section-class{--issue-row:#f4f9f8;--issue-border:#b9dcd5;--issue-pale:#e9f6f2;--issue-ink:#23695f}
.correction-section-course{--issue-row:#f8f6fc;--issue-border:#d9c9ed;--issue-pale:#f2ebfa;--issue-ink:#705095}
.correction-section-teacher{--issue-row:#f4f8fc;--issue-border:#bdd3e9;--issue-pale:#eaf2fb;--issue-ink:#32658f}
.correction-section-room{--issue-row:#fcf9f3;--issue-border:#e6d3ad;--issue-pale:#fbf2df;--issue-ink:#8b682b}
.correction-section-hours{--issue-row:#fcf6f4;--issue-border:#e9c8bf;--issue-pale:#fbeee8;--issue-ink:#a35341}

/* 行核对弹窗：只读授课信息与课时编辑分区。 */
.correction-row-panel{display:grid;gap:20px}
.correction-row-panel h3{margin:0 0 14px;font-size:14px;color:#35435d}
.correction-readonly{padding:18px 20px;background:#f6f8fb;border:1px solid #e4eaf2;border-radius:6px}
.correction-readonly dl{display:grid;grid-template-columns:1fr 1fr;gap:18px 30px;margin:0}
.correction-readonly-item dt{font-size:12px;color:#758195;margin-bottom:5px}
.correction-readonly-item dd{margin:0;color:#253044;overflow-wrap:anywhere}
.correction-readonly-item.wide{grid-column:1/-1}
.correction-hours-editor{display:grid;grid-template-columns:1fr auto;gap:10px 24px;align-items:center;padding:18px 20px;border:1px solid #cdddf8;border-radius:6px;background:#fff}
.correction-hours-editor h3{margin-bottom:6px}
.correction-hours-editor p{margin:0;font-size:12px;color:#758195}
.correction-hours-editor label{display:flex;align-items:center;gap:12px;font-size:13px;color:#35435d}
.correction-hours-editor input{width:100px}
.correction-hours-editor .correction-hours-hint{grid-column:1/-1}
.correction-row-issues{padding:12px 16px;background:#fff8eb;color:#99651c;border:1px solid #f0dfb9;border-radius:6px;font-size:12px}
.correction-row-issues ul{margin:6px 0 0;padding-left:18px}
@media(max-width:600px){.correction-readonly dl,.correction-hours-editor{grid-template-columns:1fr}.correction-hours-editor label{justify-content:space-between}}
