.reason-field { display:grid; gap:6px; min-width:0; font-size:13px; color:var(--muted); }
.reason-field .field { width:100%; min-width:0; color:var(--ink); padding:8px 10px; }
.correct-workspace {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(225px, 1fr);
  align-items: start;
  gap: 18px;
}
.correct-editor, .correct-history { padding: 20px; min-width: 0; }
.correct-head { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.correct-head a { font-size: 12px; white-space: nowrap; }
.correct-head h2, .correct-history h2 { margin: 0; font-size: 18px; }
.correct-head p, .history-intro { font-size: 13px; color: var(--muted); line-height: 1.55; margin: 8px 0 14px; }
.correction-row {
  display: grid;
  grid-template-columns: minmax(62px, .75fr) minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: start;
  gap: 8px;
  padding: 9px 6px;
  border-bottom: 1px solid #e7eee8;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.correction-row .field { min-width: 0; width: 100%; padding: 6px 8px; color: var(--ink); }
.correction-row textarea.field { resize: vertical; }
.correction-row small { display: block; color: var(--muted); font-size: 11px; margin-top: 4px; }
.correction-labels { background: #f4f7f2; color: var(--muted); }
.reason-field { margin-top: 18px; }
.reason-field textarea { resize: vertical; }
.correct-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 14px; }
.correct-preview { margin-top: 18px; padding: 15px; border: 1px solid #b9d1bd; border-radius: 9px; background: #f7fbf6; }
.correct-preview h3 { margin: 0 0 10px; font-size: 16px; }
.correct-preview h4 { margin: 15px 0 5px; font-size: 13px; }
.correct-preview p { font-size: 13px; color: var(--muted); }
.correct-editor .notice { font-size: 13px; border: 1px solid #eadcc2; background: #fff8ed; border-radius: 7px; padding: 9px 10px; }
.correction-event { padding: 13px 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.correction-event h3 { margin: 0 0 5px; font-size: 13px; }
.correction-event p, .correction-event ul { font-size: 12px; margin: 5px 0; line-height: 1.6; }
.correction-event ul { padding-left: 18px; }
.correction-event .button { min-height: 36px; margin-top: 6px; padding: 4px 9px; }
@media (max-width: 1090px) { .correct-workspace { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 700px) {
  .correct-editor, .correct-history { padding: 14px; }
  .correct-head { flex-wrap: wrap; }
  .correction-row { gap: 5px; padding-inline: 2px; }
  .reason-field .field, .correction-row .field { font-size: 16px; }
}

.correction-group { margin:16px 0 5px; padding:5px 6px; color:var(--green); font-size:14px; }
.structured-field { display:grid; gap:7px; min-width:0; }
.structured-field label { font-size:11px; color:var(--muted); }
.structured-field fieldset { display:grid; gap:6px; border:1px solid var(--line); border-radius:6px; padding:8px; margin:0; min-width:0; }
.structured-field .button { padding:4px 8px; min-height:34px; justify-self:start; }
.correction-row:has(.structured-field) { grid-template-columns:minmax(0,1fr) minmax(0,2fr); }
.correction-row:has(.structured-field) .structured-field { grid-column:1/-1; }
@media(max-width:700px) {
  .review-tabs { gap:10px; }
  .review-tabs button { font-size:13px; }
  .record-pages button { min-height:36px; }
}


.record-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(125px,1fr));
  gap: 10px;
  padding: 16px 16px 8px;
}
.record-filters label { display:grid; gap:5px; min-width:0; font-size:12px; color:var(--muted); }
.record-filters select { width:100%; min-width:0; padding:6px 10px; color:var(--ink); font-size:14px; }
.record-list-tools, .record-pages { display:flex; align-items:center; gap:8px; font-size:12px; }
.record-list-tools { justify-content:space-between; padding:2px 16px 8px; }
.record-list-tools .button, .record-pages .button { min-height:36px; padding:5px 10px; }
.record-pages { justify-content:flex-end; padding:12px 16px; }
.record-table-wrap { width:100%; overflow-x:auto; }
.record-table { width:100%; min-width:0; border-collapse:collapse; table-layout:fixed; font-size:13px; }
.record-table th, .record-table td {
  padding:10px 9px; text-align:left; vertical-align:middle; border-bottom:1px solid #e7eee8; overflow-wrap:anywhere;
}
.record-table th { color:var(--muted); background:#f4f7f2; font-size:12px; }
.record-table tbody tr:hover { background:#f7faf5; }
.record-table [aria-current="true"] { background:#eaf3e8; }
.record-table .col-title { width:auto; }
.record-table .col-date { width:107px; font-variant-numeric:tabular-nums; }
.record-table .col-action { width:90px; text-align:right; }
.record-table .col-action .button { min-height:36px; padding:5px 9px; white-space:nowrap; }
.record-table .col-status { width:100px; }
.record-table .col-stats { width:126px; }
.record-table strong { display:block; }
.record-table small { display:block; margin-top:3px; color:var(--muted); font-size:11px; }
.record-table .status-mark {
  display:inline-block; padding:2px 7px; border-radius:4px; background:#eef4ea; color:#365640; font-size:11px;
}
.record-table .compact-detail, .record-table .compact-date, .record-table .compact-status { display:none; }
.record-empty { text-align:center; font-size:13px; padding:14px; }
.correct-head-actions { display:grid; justify-items:end; gap:5px; flex:none; }
.correct-head-actions .button { min-height:36px; padding:5px 9px; font-size:12px; }
#record { scroll-margin-top:16px; }
@media (max-width:920px) {
  .record-table .wide { display:none; }
  .record-table .compact-detail { display:block; }
  .record-table .col-status { width:88px; }
}
@media (max-width:560px) {
  .record-filters { grid-template-columns:repeat(2,minmax(0,1fr)); padding:11px 11px 5px; }
  .record-filters select { font-size:16px; }
  .record-list-tools { padding:1px 11px 5px; }
  .record-table .col-status { display:none; }
  .record-table .full-date { display:none; }
  .record-table .compact-date, .record-table .compact-status { display:block; }
  .record-table .col-date { width:60px; }
  .record-table .col-action { width:64px; }
  .record-table th, .record-table td { padding:9px 6px; }
  .record-table .col-action .button { font-size:12px; padding:5px 7px; }
  .record-table .col-title { word-break:break-word; }
  .record-pages { justify-content:center; padding:9px 10px; }
}
