/* Match the existing workspace: 28/18/14 type, 42px controls, 12px panels. */
.exam-report-shell{width:min(1000px,calc(100% - 48px));margin:24px auto 48px}
#exam-reports{--er-text:var(--theme-text,var(--v2-text,#242a34));--er-muted:var(--theme-muted,var(--v2-muted,#66717f));--er-line:var(--theme-line,var(--v2-line,#e1e5eb));--er-surface:var(--theme-surface,#fff);--er-accent:var(--theme-accent,var(--v2-accent,#ad2434));color:var(--er-text);font-size:14px;line-height:1.6}
#exam-reports,#exam-reports *{box-sizing:border-box}
#exam-reports>h1{font-family:inherit;font-size:28px;font-weight:700;line-height:1.4;margin:12px 0 20px}
#exam-reports .panel{background:var(--er-surface);border:1px solid var(--er-line);border-radius:12px;padding:22px 24px;margin:0 0 16px;box-shadow:none}
#exam-reports h2{font-family:inherit;font-size:18px;font-weight:650;line-height:1.5;margin:0 0 12px}
#exam-reports h3{font-family:inherit;font-size:14px;font-weight:650;line-height:1.5;margin:16px 0 6px}
#exam-reports .muted,#exam-reports small{color:var(--er-muted)}
#exam-reports .exam-report-intro{padding-top:18px;padding-bottom:18px}
#exam-reports .exam-report-intro h2{margin-bottom:6px}
#exam-reports .exam-report-intro p{font-size:13px;color:var(--er-muted);line-height:1.7;margin:4px 0}
#exam-reports .exam-report-context{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;margin-bottom:4px}
#exam-reports .exam-report-context strong{font-size:16px;font-weight:650;overflow-wrap:anywhere}
#exam-reports .exam-report-context>span{flex:none;font-size:12px;color:var(--er-muted)}
#exam-reports .exam-report-deadline{font-size:12px;margin:0 0 18px;line-height:1.6}
#exam-reports .exam-report-form,#exam-reports [data-review]{display:grid;gap:16px}
#exam-reports .exam-report-form>*,#exam-reports [data-review]>*{min-width:0}
#exam-reports .exam-report-form .exam-report-context{margin-bottom:-12px}
#exam-reports .exam-report-form .exam-report-deadline{margin-bottom:0;margin-top:-10px}
#exam-reports label{display:flex;flex-direction:column;align-items:stretch;gap:6px;margin:0;min-width:0;font-size:13px;font-weight:600;line-height:20px}
#exam-reports .exam-report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 20px;align-items:start}
#exam-reports input,#exam-reports select,#exam-reports textarea{display:block;box-sizing:border-box;min-width:0;width:100%;max-width:100%;margin:0;border:1px solid #cfd6df;background:var(--er-surface);color:var(--er-text);border-radius:8px;padding:9px 12px;font:400 14px/22px -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;box-shadow:none}
#exam-reports input:not([type=checkbox]),#exam-reports select{height:42px;min-height:42px}
#exam-reports select{appearance:none;padding-right:40px;background-image:url("data:image/svg+xml,%3Csvg width='12' height='8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23667384' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center}
#exam-reports textarea{height:112px;min-height:112px;resize:vertical}
#exam-reports input::placeholder,#exam-reports textarea::placeholder{color:#8893a1;font-weight:400}
#exam-reports :is(input,select,textarea,button):focus-visible{outline:2px solid var(--er-accent);outline-offset:2px}
#exam-reports button{display:inline-flex;align-items:center;justify-content:center;flex:none;width:auto;min-height:38px;border:1px solid #d5dce5;border-radius:8px;padding:8px 14px;margin:0;background:var(--er-surface);color:var(--er-text);font-family:inherit;font-size:14px;font-weight:500;line-height:20px;cursor:pointer;white-space:nowrap}
#exam-reports button.primary{background:var(--er-accent);border-color:var(--er-accent);color:#fff}
#exam-reports button:disabled{opacity:.45;cursor:not-allowed}
#exam-reports .exam-report-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:14px;border-top:1px solid var(--er-line)}
#exam-reports .exam-report-confirm{display:flex;flex-direction:row;align-items:flex-start;gap:8px;color:var(--er-muted);font-size:12px;font-weight:400;line-height:20px}
#exam-reports .exam-report-confirm input{width:16px;height:16px;min-height:16px;flex:none;margin:2px 0 0;padding:0;accent-color:var(--er-accent)}
#exam-reports [role=alert]{color:#a52135;font-size:13px;margin:0;overflow-wrap:anywhere}
#exam-reports [role=alert]:empty{display:none}
#exam-reports .exam-report-head{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:12px}
#exam-reports .exam-report-head h2,#exam-reports .exam-report-head h3{margin:0}
#exam-reports .exam-report-head select{width:126px;flex:none;height:38px;min-height:38px}
#exam-reports .exam-report-item{border-top:1px solid var(--er-line);padding:12px 0}
#exam-reports .exam-report-item>summary{display:grid;grid-template-columns:minmax(0,1fr) auto 145px;align-items:center;gap:12px;cursor:pointer;font-size:13px;list-style:none}
#exam-reports .exam-report-item>summary b{font-weight:600;overflow-wrap:anywhere}
#exam-reports .exam-report-item>summary small{text-align:right;font-size:12px;white-space:nowrap}
#exam-reports .exam-report-detail{padding:12px 0 0;font-size:13px;line-height:1.7}
#exam-reports .exam-report-detail p{white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0}
#exam-reports [data-review]{margin-top:16px;padding-top:16px;border-top:1px solid var(--er-line)}
#exam-reports [data-review]>button{justify-self:start}
#exam-reports .exam-report-pagination{display:flex;gap:8px;align-items:center;justify-content:flex-end;flex-wrap:wrap;font-size:12px;color:var(--er-muted);margin-top:14px;padding-top:14px;border-top:1px solid var(--er-line)}
#exam-reports .exam-report-pagination>span{margin-right:4px}
#exam-reports .exam-report-pagination button{font-size:12px;min-height:34px;padding:6px 11px}
#exam-reports .exam-report-special{margin-top:16px;padding-top:16px;border-top:1px solid var(--er-line)}
#exam-reports .exam-report-special [data-score-treatment]{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 14px;align-items:end;margin-top:12px}
#exam-reports [data-score-treatment] button{height:42px}
#exam-reports [data-score-treatment] [role=alert]{grid-column:1/-1}
#exam-reports .exam-report-audit{margin-top:12px;background:var(--theme-subtle,#f6f8fa);border-radius:8px;padding:10px 12px}
#exam-reports .exam-report-audit>summary{font-size:13px;cursor:pointer}
#exam-reports [hidden]{display:none!important}
#exam-reports [data-subject-control]{display:block}
@media(max-width:640px){.exam-report-shell{width:calc(100% - 28px);margin:16px auto 32px}#exam-reports>h1{font-size:24px;margin:12px 0 16px}#exam-reports .panel{padding:16px}#exam-reports .exam-report-grid{grid-template-columns:1fr;gap:14px}#exam-reports .exam-report-form{gap:14px}#exam-reports .exam-report-context{align-items:flex-start}#exam-reports .exam-report-context strong{font-size:15px}#exam-reports .exam-report-actions{flex-wrap:wrap;gap:12px}#exam-reports .exam-report-actions>button{width:100%}#exam-reports .exam-report-item>summary{grid-template-columns:minmax(0,1fr) auto;gap:4px 12px}#exam-reports .exam-report-item>summary small{grid-column:1/-1;text-align:left}#exam-reports .exam-report-special [data-score-treatment]{grid-template-columns:1fr}#exam-reports [data-score-treatment] button{width:100%}#exam-reports .exam-report-pagination{justify-content:space-between}}
#exam-reports .exam-report-review-actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding-top:14px;border-top:1px solid var(--er-line)}
#exam-reports .has-review-action>summary{grid-template-columns:minmax(0,1fr) auto 145px auto;grid-template-areas:"title status time action"}#exam-reports .has-review-action>summary>b{grid-area:title}#exam-reports .has-review-action>summary>span{grid-area:status}#exam-reports .has-review-action>summary>small{grid-area:time}#exam-reports [data-inconclusive-open]{grid-area:action;font-size:12px;min-height:34px;padding:6px 11px;color:var(--er-accent);border-color:var(--er-line)}#exam-reports .exam-report-review-actions{justify-content:flex-end}@media(max-width:760px){#exam-reports .has-review-action>summary{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"title title" "status action" "time time"}#exam-reports .has-review-action>summary>small{text-align:left}}
