/* Shared four-block detail workspace for AP FRQ and Q18–Q21 teacher marking.
   It intentionally uses the compact AP working width, not the queue-page shell. */
.teacher-marking-detail{box-sizing:border-box;margin:0;max-width:none;min-width:0;padding:0;width:100%}
@media (max-width:600px){#teacher-evaluation-marking .teacher-marking-detail .q21-ocr-next-step .q21-ai-actions{justify-content:stretch}}
.teacher-marking-detail.q18-marking-desk,.teacher-marking-detail.q19-marking-desk,.teacher-marking-detail.q20-marking-desk{display:block}
/* The detail desks are deliberately wide, like the AP FRQ desk: teachers need
   both the answer paper and mark scheme visible on an iPad. */
body.teacher-mode #teacher-data-response-marking.t-view.teacher-marking-detail-view,body.teacher-mode #teacher-diagram-marking.t-view.teacher-marking-detail-view,body.teacher-mode #teacher-analysis-marking.t-view.teacher-marking-detail-view,body.teacher-mode #teacher-evaluation-marking.t-view.teacher-marking-detail-view{box-sizing:border-box;margin:0;max-width:none;padding:18px 12px 56px;width:100%}
body.teacher-mode #teacher-data-response-marking.t-view.teacher-marking-detail-view>.t-page,body.teacher-mode #teacher-diagram-marking.t-view.teacher-marking-detail-view>.t-page,body.teacher-mode #teacher-analysis-marking.t-view.teacher-marking-detail-view>.t-page,body.teacher-mode #teacher-evaluation-marking.t-view.teacher-marking-detail-view>.t-page{margin:0;max-width:none;width:100%}
.teacher-detail-head{align-items:flex-start;display:flex;gap:24px;justify-content:space-between;margin:0 0 12px;padding:0}
.teacher-detail-head .eyebrow{color:#5968d7;font-size:12px;font-weight:850;letter-spacing:.07em;margin:0 0 7px}
.teacher-detail-head h1{color:var(--ink,#17191f);font-family:inherit;font-size:30px;font-weight:850;letter-spacing:-.6px;line-height:1.2;margin:0}
.teacher-detail-head .teacher-detail-subtitle,.teacher-detail-head>div>span{color:#69768a;display:block;font-size:14px;line-height:1.55;margin:8px 0 0}
.teacher-detail-head .teacher-ghost{min-height:44px;white-space:nowrap}
.teacher-detail-submission{align-items:center;border-bottom:1px solid #e5e8ef;color:#6f7b8e;display:flex;flex-wrap:wrap;gap:7px 10px;margin:0 0 16px;padding:0 0 12px}
.teacher-detail-submission b{color:#5968d7;font-size:14px}
.teacher-detail-submission span:not(.teacher-detail-status):not(:last-child)::after{color:#c0c7d1;content:'·';margin-left:10px}
.teacher-detail-status{border-radius:999px;font-size:12px;font-weight:800;padding:4px 8px}
.teacher-detail-status.is-pending{background:#fff4e6;color:#a4681f}.teacher-detail-status.is-marked{background:#edf8f0;color:#287244}
.teacher-detail-block{background:#fff;border:1px solid #e0e5ef;border-radius:14px;box-sizing:border-box;min-width:0;padding:20px}
.teacher-detail-question{margin:0 0 20px}.teacher-detail-question .eyebrow,.teacher-detail-scheme .eyebrow,.teacher-detail-answer .eyebrow,.teacher-detail-feedback .eyebrow,.teacher-detail-history .eyebrow{color:#5968d7;font-size:11px;font-weight:850;letter-spacing:.07em;margin:0 0 7px}
.teacher-detail-question h2{font-size:18px;line-height:1.45;margin:0}.teacher-detail-question-copy{font-size:15px;line-height:1.6;margin-top:12px}.teacher-detail-question-copy p{margin:0 0 10px}
.teacher-detail-question details,.teacher-detail-plan{border-top:1px solid #e7ebf1;margin-top:14px;padding-top:12px}.teacher-detail-question summary,.teacher-detail-plan summary{color:#5060c7;cursor:pointer;font-size:13px;font-weight:800}.teacher-detail-question details>div,.teacher-detail-plan>div{line-height:1.6;margin-top:12px;overflow-wrap:anywhere}.teacher-detail-question-copy table,.teacher-detail-question details table{background:#fff;border:1px solid #dce2ec;border-collapse:separate;border-radius:9px;border-spacing:0;margin:12px 0 18px;max-width:100%;overflow:hidden;width:100%}.teacher-detail-question-copy th,.teacher-detail-question-copy td,.teacher-detail-question details th,.teacher-detail-question details td{border-bottom:1px solid #e5e9f0;border-right:1px solid #e5e9f0;font-size:13px;line-height:1.5;padding:9px 11px;text-align:left;vertical-align:top}.teacher-detail-question-copy th,.teacher-detail-question details th{background:#f1f4fa;color:#303b5a;font-weight:750}.teacher-detail-question-copy tr:last-child td,.teacher-detail-question details tr:last-child td{border-bottom:0}.teacher-detail-question-copy th:last-child,.teacher-detail-question-copy td:last-child,.teacher-detail-question details th:last-child,.teacher-detail-question details td:last-child{border-right:0}
.teacher-detail-papers{align-items:stretch;display:grid;gap:14px;grid-template-columns:minmax(0,1.16fr) minmax(0,.94fr);margin:0 0 20px}.teacher-detail-answer,.teacher-detail-scheme{min-width:0}
.teacher-detail-answer{padding:0}.teacher-detail-answer>.ap-frq-teacher-paper,.teacher-detail-answer>.q19-marking-answer,.teacher-detail-answer>.q20-marking-answer{border:0;border-radius:0;margin:0;padding:0}
.teacher-detail-answer .ap-frq-teacher-paper-head{align-items:flex-start;padding:16px 18px}.teacher-detail-answer .ap-frq-teacher-paper-head h2{font-size:18px;margin:0}.teacher-detail-answer .ap-frq-teacher-paper-head span{color:#748094;font-size:13px;line-height:1.5}.teacher-detail-answer .ap-frq-teacher-preview{height:auto;min-height:560px}.teacher-detail-answer .ap-frq-annotation-toolbar{padding-left:18px;padding-right:18px}.teacher-detail-answer .ap-frq-annotation-toolbar *{text-overflow:clip;white-space:normal}
.teacher-detail-plan{margin:0 18px 16px}.teacher-detail-scheme{display:flex;flex-direction:column;max-height:none;overflow:hidden}.teacher-detail-scheme>.unified-marking-scheme,.teacher-detail-scheme>.q19-marking-scheme,.teacher-detail-scheme>.q20-marking-scheme{display:flex;flex:1 1 auto;flex-direction:column;height:100%;min-height:0}.teacher-detail-scheme h2{font-size:18px;margin:0 0 12px}.teacher-detail-scheme .secure-marking-guide-panel{display:flex;flex:1 1 auto;flex-direction:column;min-height:0}.teacher-detail-scheme .secure-marking-guide-panel>summary{color:#5060c7;cursor:pointer;font-size:13px;font-weight:800}.teacher-detail-scheme .secure-marking-guide-panel>div{flex:1 1 auto;max-height:560px;overflow:auto;padding-right:8px}.teacher-detail-scheme .secure-marking-guide{line-height:1.6;overflow-wrap:anywhere}.teacher-detail-scheme .secure-marking-guide table{max-width:100%;table-layout:fixed;width:100%}
#teacher-data-response-marking .teacher-marking-detail .secure-marking-guide-panel,#teacher-diagram-marking .teacher-marking-detail .secure-marking-guide-panel,#teacher-analysis-marking .teacher-marking-detail .secure-marking-guide-panel,#teacher-evaluation-marking .teacher-marking-detail .secure-marking-guide-panel{display:flex;flex:1 1 auto;flex-direction:column;min-height:0;overflow:hidden}#teacher-data-response-marking .teacher-marking-detail .secure-marking-guide-panel>div,#teacher-diagram-marking .teacher-marking-detail .secure-marking-guide-panel>div,#teacher-analysis-marking .teacher-marking-detail .secure-marking-guide-panel>div,#teacher-evaluation-marking .teacher-marking-detail .secure-marking-guide-panel>div{flex:1 1 auto;max-height:560px;min-height:0;overflow:auto;padding-right:8px}
.teacher-detail-feedback{margin:0 0 20px}.teacher-detail-feedback form{display:grid;gap:16px}.teacher-detail-feedback .q19-score-panel,.teacher-detail-feedback .q20-score-panel,.teacher-detail-feedback .marking-score-panel{background:transparent;border:0;border-radius:0;margin:0;padding:0}.teacher-detail-feedback .marking-ao-grid,.teacher-detail-feedback .marking-score-grid,.teacher-detail-feedback .q18-ao-grid{display:grid;gap:10px;grid-template-columns:repeat(4,minmax(0,1fr))}.teacher-detail-feedback .marking-score-card{background:#fff;border:1px solid #dcdfe6;border-radius:10px;display:grid;gap:5px;min-width:0;padding:11px}.teacher-detail-feedback .marking-score-card.is-not-assessed{background:#f5f6f8;color:#89919e}.teacher-detail-feedback .marking-score-card input{box-sizing:border-box;max-width:76px;min-height:44px}.teacher-detail-feedback .marking-feedback-card{background:transparent;border:0;margin:0;padding:0}.teacher-detail-feedback textarea,.teacher-detail-feedback input{box-sizing:border-box;min-height:44px}.teacher-detail-feedback textarea{min-height:124px}.teacher-detail-feedback .marking-save-bar{align-items:center;border-top:1px solid #e7ebf1;display:flex;gap:12px;justify-content:space-between;margin-top:2px;padding-top:14px}.teacher-detail-feedback .marking-save-bar button{min-height:44px}.teacher-detail-feedback .teacher-feedback-pdf{border-top:1px solid #e7ebf1;margin-top:14px;padding-top:14px}
.teacher-detail-history h2{font-size:18px;margin:0 0 4px}.teacher-detail-history header>div>span,.teacher-detail-history>.ap-frq-teacher-history>span{color:#748094;display:block;font-size:13px}.teacher-detail-history button{align-items:center;background:#fff;border:1px solid #e0e4ee;border-radius:9px;color:#33405a;display:grid;gap:3px;grid-template-columns:1fr auto;margin-top:9px;padding:10px 11px;text-align:left;width:100%}.teacher-detail-history button small{color:#748094;grid-column:1}.teacher-detail-history button em{font-size:12px;font-style:normal;grid-column:2;grid-row:1 / 3}.teacher-detail-history button em.pending{color:#a4681f}.teacher-detail-history button em.marked{color:#287244}
.teacher-marking-detail .q21-marking-extract>div{max-height:360px;overflow:auto}.teacher-marking-detail .q21-ai-marking{margin:0 0 14px}.teacher-marking-detail .q21-inline-confirm{margin:0 0 14px}.teacher-marking-detail .ap-frq-teacher-scheme{background:transparent;border:0;border-radius:0;overflow:visible}.teacher-marking-detail .ap-frq-teacher-scheme-head{background:#fff;border-bottom:1px solid #e7ebf1;padding:0 0 12px}.teacher-marking-detail .ap-frq-teacher-scheme-head h2{font-size:18px}.teacher-marking-detail .ap-frq-teacher-scheme-points{padding:14px 0}.teacher-marking-detail .ap-frq-teacher-scheme-image{padding-left:0;padding-right:0}.teacher-marking-detail .ap-frq-teacher-scheme-image img{max-height:340px;object-fit:contain;width:auto}
.teacher-detail-question [data-marking-image-zoom]{cursor:zoom-in;max-height:340px;max-width:45%;object-fit:contain}.teacher-marking-image-modal{align-items:center;background:#10131acc;display:flex;inset:0;justify-content:center;padding:24px;position:fixed;z-index:1000}.teacher-marking-image-modal img{max-height:calc(100vh - 96px);max-width:calc(100vw - 96px);object-fit:contain}.teacher-marking-image-modal button{position:absolute;right:26px;top:22px}
/* Detail-page repair: these selectors deliberately outrank the retired per-question
   desk layouts.  The shared four-block shell must remain the layout owner. */
#teacher-data-response-marking .teacher-marking-detail.q18-marking-desk.q18-marking-workflow,#teacher-diagram-marking .teacher-marking-detail.q19-marking-desk.q19-marking-workflow{display:block;gap:0;grid-template:none;margin:0;max-width:none;width:100%}
#teacher-data-response-marking .teacher-marking-detail .teacher-detail-papers>.q18-marking-answer,#teacher-data-response-marking .teacher-marking-detail .teacher-detail-papers>.q18-marking-scheme,#teacher-diagram-marking .teacher-marking-detail .teacher-detail-papers>.q19-marking-answer,#teacher-diagram-marking .teacher-marking-detail .teacher-detail-papers>.q19-marking-scheme{grid-area:auto}
#teacher-data-response-marking .teacher-marking-detail .teacher-detail-papers>.q18-marking-answer,#teacher-diagram-marking .teacher-marking-detail .teacher-detail-papers>.q19-marking-answer{height:auto;max-height:none;min-height:560px;overflow:hidden;padding:0}
#teacher-data-response-marking .teacher-marking-detail .teacher-detail-papers>.q18-marking-scheme,#teacher-diagram-marking .teacher-marking-detail .teacher-detail-papers>.q19-marking-scheme{contain:none;height:auto;max-height:none;min-height:560px;overflow:hidden;padding:20px;position:static}
.teacher-detail-question-copy:has(figure)>:not(figure),.teacher-detail-question-copy:has(img)>:not(figure){grid-column:2}
.teacher-detail-feedback .marking-feedback-card,.teacher-detail-feedback .ap-frq-teacher-feedback-panel form>section{background:transparent;border:0;display:grid;gap:14px;margin:0;padding:0}
.teacher-detail-feedback .marking-field,.teacher-detail-feedback .ap-frq-teacher-feedback-panel label{color:#303640;display:grid;font-size:14px;font-weight:700;gap:7px;min-width:0}
.teacher-detail-feedback .marking-field textarea,.teacher-detail-feedback .marking-field input,.teacher-detail-feedback .ap-frq-teacher-feedback-panel input,.teacher-detail-feedback .ap-frq-teacher-feedback-panel textarea{background:#fff;border:1px solid #d7dce6;border-radius:9px;color:#20242c;font:inherit;min-width:0;padding:10px}
.teacher-detail-feedback .ap-frq-teacher-feedback-panel .ap-frq-total-score-control,.teacher-detail-feedback .q19-score-panel>label,.teacher-detail-feedback .q20-score-panel>label{align-items:center;display:flex;flex-wrap:wrap;gap:8px}.teacher-detail-feedback .ap-frq-score-row{align-items:center;display:flex;flex-wrap:wrap;gap:14px}.teacher-detail-feedback .ap-frq-score-row h2{font-size:22px;margin:0}.teacher-detail-feedback .ap-frq-teacher-feedback-panel .ap-frq-total-score-control{color:#252b36;font-size:16px;font-weight:800}.teacher-detail-feedback .ap-frq-teacher-feedback-panel .ap-frq-total-score-control input{font-size:22px;font-weight:800;max-width:88px;text-align:center;width:88px}.teacher-detail-feedback .ap-frq-teacher-feedback-panel .ap-frq-total-score-control b{font-size:18px;white-space:nowrap}.teacher-detail-feedback .ap-frq-teacher-feedback-panel .ap-frq-total-score-control span{color:#66748a;font-size:14px;font-weight:700;white-space:nowrap}.teacher-detail-feedback .q19-score-panel>label input,.teacher-detail-feedback .q20-score-panel>label input{max-width:104px;width:104px}
.teacher-detail-feedback .teacher-feedback-pdf,.teacher-detail-feedback .ap-frq-feedback-file{align-items:center;background:#f8f9fc;border:1px solid #dfe4ed;border-radius:10px;display:flex;gap:12px;justify-content:space-between;padding:12px}
.teacher-detail-feedback .teacher-feedback-pdf>div,.teacher-detail-feedback .ap-frq-feedback-file>div{display:grid;gap:3px;min-width:0}.teacher-detail-feedback .teacher-feedback-pdf span,.teacher-detail-feedback .ap-frq-feedback-file span,.teacher-detail-feedback .ap-frq-annotation-help{color:#748094;font-size:12px;line-height:1.5}.teacher-detail-feedback .ap-frq-annotation-help{margin:0}
/* Q21 OCR comparison: retain the real data hooks so its existing bidirectional
   scroll synchronisation continues to work, but give both papers an equal pane. */
#teacher-evaluation-marking .teacher-marking-detail .q21-ocr-comparison{align-items:stretch;display:grid;gap:14px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
#teacher-evaluation-marking .teacher-marking-detail .q21-ocr-source-column,#teacher-evaluation-marking .teacher-marking-detail .q21-ocr-document-column{background:#fff;border:1px solid #dfe5ee;border-radius:12px;display:flex;flex-direction:column;min-height:0;overflow:hidden}
#teacher-evaluation-marking .teacher-marking-detail .q21-ocr-compare-heading{align-items:flex-start;border-bottom:1px solid #e7ebf1;display:flex;flex-wrap:wrap;gap:7px 10px;justify-content:space-between;padding:12px 14px}
#teacher-evaluation-marking .teacher-marking-detail .q21-ocr-compare-heading>b{color:#303640;font-size:14px}.q21-ocr-compare-heading>span{color:#748094;font-size:12px;line-height:1.45}.q21-ocr-review-controls{align-items:center;display:flex;flex-wrap:wrap;gap:6px;margin-left:auto}.q21-ocr-sync-control{align-items:center;color:#4e5c70;display:inline-flex;font-size:12px;gap:5px;line-height:1.2;min-height:25px;white-space:nowrap}.q21-ocr-sync-control input{flex:0 0 auto;height:14px;margin:0;width:14px}
#teacher-evaluation-marking .teacher-marking-detail .q21-ocr-source-preview,#teacher-evaluation-marking .teacher-marking-detail .q21-ocr-document-viewport{box-sizing:border-box;height:clamp(520px,62vh,680px);min-height:0;overflow:auto;overscroll-behavior:contain;padding:14px}
#teacher-evaluation-marking .teacher-marking-detail .q21-ocr-source-preview{background:#f6f7f9}.q21-ocr-source-preview .q21-ocr-source-pages{display:grid;gap:14px}.q21-ocr-source-preview canvas,.q21-ocr-source-preview img{display:block;height:auto;margin:0 auto;max-width:100%;width:auto}.q21-ocr-document-viewport{background:#fff;line-height:1.7}.q21-ocr-document-viewport .q21-ocr-document-paper{margin:0 auto;max-width:100%}
#teacher-evaluation-marking .teacher-marking-detail .q21-ocr-next-step{align-items:center;border-top:1px solid #e7ebf1;display:grid;gap:10px 14px;grid-template-columns:minmax(0,1fr) auto;padding-top:14px}
#teacher-evaluation-marking .teacher-marking-detail .q21-ocr-next-heading{min-width:0}.q21-ocr-next-heading b{color:#303640;display:block;font-size:14px}.q21-ocr-next-heading span{color:#748094;display:block;font-size:12px;line-height:1.45;margin-top:3px}
#teacher-evaluation-marking .teacher-marking-detail .q21-ocr-next-step .q21-ai-actions{align-items:center;display:flex;gap:8px;justify-content:flex-end;margin:0}
#teacher-evaluation-marking .teacher-marking-detail .q21-ocr-next-step .q21-ai-actions>button{align-self:center;min-height:38px;white-space:nowrap}
#teacher-evaluation-marking .teacher-marking-detail .q21-ocr-repair-actions{align-items:center;border-top:1px dashed #dfe4ec;display:grid;gap:8px;grid-column:1 / -1;grid-template-columns:auto auto auto minmax(0,1fr);min-width:0;padding-top:10px}
#teacher-evaluation-marking .teacher-marking-detail .q21-ocr-repair-actions>span{color:#748094;font-size:12px;margin-right:2px}
#teacher-evaluation-marking .teacher-marking-detail .q21-ocr-repair-actions>.teacher-ghost{min-height:36px;white-space:nowrap}
#teacher-evaluation-marking .teacher-marking-detail .q21-ocr-repair-actions>[data-open-q21-external-ocr]{justify-self:start;width:auto}
#teacher-evaluation-marking .teacher-marking-detail .q21-ocr-repair-actions>.q21-external-ocr-import{grid-column:1 / -1;width:auto}
#teacher-evaluation-marking .teacher-marking-detail .q21-external-ocr-import{background:#f7f8fd;border:1px solid #dce2f1;border-radius:10px;box-sizing:border-box;display:grid;gap:10px;margin-top:2px;max-width:100%;min-width:0;padding:12px}
#teacher-evaluation-marking .teacher-marking-detail .q21-external-ocr-import>div:first-child{display:grid;gap:3px}.q21-external-ocr-import>div>span{color:#748094;font-size:12px;line-height:1.45}.q21-external-ocr-import label{color:#4b5669;display:grid;font-size:13px;font-weight:700;gap:6px}.q21-external-ocr-import textarea{box-sizing:border-box;min-height:118px;padding:9px;width:100%}
#teacher-evaluation-marking .teacher-marking-detail .q21-external-ocr-import>.q21-external-ocr-actions{align-items:center;display:flex;flex-wrap:wrap;gap:8px}
#teacher-evaluation-marking .teacher-marking-detail .q21-external-ocr-actions .teacher-ghost,#teacher-evaluation-marking .teacher-marking-detail .q21-external-ocr-actions .dark-admin-action{align-items:center;display:inline-flex;justify-content:center;min-height:36px;width:auto}
#teacher-evaluation-marking .teacher-marking-detail .q21-inline-confirm[data-q21-ocr-restart-confirm]{grid-column:1 / -1;margin:0}
@media (min-width:900px){#teacher-frq-marking.teacher-marking-detail-view.view,#teacher-data-response-marking.view,#teacher-diagram-marking.view,#teacher-analysis-marking.view,#teacher-evaluation-marking.view{padding:18px 12px 56px}.teacher-marking-detail .teacher-detail-papers{grid-template-columns:minmax(0,1.16fr) minmax(0,.94fr)}.teacher-detail-answer,.teacher-detail-scheme{min-height:560px}.teacher-detail-question-copy:has(figure),.teacher-detail-question-copy:has(img){display:block}.teacher-detail-question-copy figure{margin:0 0 16px;max-width:45%}.teacher-detail-question-copy img{display:block;margin:0 0 16px;max-height:340px;max-width:45%;width:auto}}
@media (max-width:899px){.teacher-detail-papers{grid-template-columns:1fr}.teacher-detail-answer .ap-frq-teacher-preview{min-height:480px}.teacher-detail-head{align-items:stretch;flex-direction:column}.teacher-detail-head .teacher-ghost{align-self:flex-start}.teacher-detail-feedback .marking-ao-grid,.teacher-detail-feedback .marking-score-grid,.teacher-detail-feedback .q18-ao-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#teacher-evaluation-marking .teacher-marking-detail .q21-ocr-comparison{grid-template-columns:1fr}#teacher-evaluation-marking .teacher-marking-detail .q21-ocr-source-preview,#teacher-evaluation-marking .teacher-marking-detail .q21-ocr-document-viewport{height:520px}.teacher-detail-feedback .teacher-feedback-pdf,.teacher-detail-feedback .ap-frq-feedback-file{align-items:stretch;flex-direction:column}}
@media (max-width:600px){#teacher-frq-marking.teacher-marking-detail-view.view,#teacher-data-response-marking.view,#teacher-diagram-marking.view,#teacher-analysis-marking.view,#teacher-evaluation-marking.view{padding:16px 12px 36px}.teacher-detail-block{padding:16px}.teacher-detail-answer .ap-frq-teacher-paper-head{align-items:stretch;flex-direction:column}.teacher-detail-answer .ap-frq-teacher-paper-head>div:last-child{display:flex;flex-wrap:wrap}.teacher-detail-answer .ap-frq-teacher-paper-head button{flex:1;min-width:0}.teacher-detail-feedback .marking-ao-grid,.teacher-detail-feedback .marking-score-grid,.teacher-detail-feedback .q18-ao-grid{grid-template-columns:1fr}.teacher-detail-feedback .marking-save-bar{align-items:stretch;flex-direction:column}.teacher-detail-feedback .marking-save-bar button{width:100%}.teacher-detail-submission{align-items:flex-start;flex-direction:column;gap:5px}.teacher-detail-submission span:not(.teacher-detail-status):not(:last-child)::after{display:none}.teacher-detail-question [data-marking-image-zoom],.teacher-detail-question-copy img{height:auto;max-width:100%}.teacher-detail-question-copy table,.teacher-detail-question details table{display:block;overflow-x:auto;table-layout:fixed}.teacher-detail-question-copy th,.teacher-detail-question-copy td,.teacher-detail-question details th,.teacher-detail-question details td{min-width:0;overflow-wrap:anywhere}#teacher-evaluation-marking .teacher-marking-detail .q21-ocr-compare-heading{align-items:flex-start;flex-direction:column}#teacher-evaluation-marking .teacher-marking-detail .q21-ocr-review-controls{margin-left:0;max-width:100%}#teacher-evaluation-marking .teacher-marking-detail .q21-ocr-next-step{align-items:stretch;grid-template-columns:1fr}#teacher-evaluation-marking .teacher-marking-detail .q21-ocr-next-step .q21-ai-actions{justify-content:stretch}#teacher-evaluation-marking .teacher-marking-detail .q21-ocr-next-step .q21-ai-actions button{width:100%}#teacher-evaluation-marking .teacher-marking-detail .q21-ocr-repair-actions{align-items:stretch;grid-template-columns:1fr}#teacher-evaluation-marking .teacher-marking-detail .q21-ocr-repair-actions>.teacher-ghost{width:100%}#teacher-evaluation-marking .teacher-marking-detail .q21-external-ocr-actions{align-items:stretch;flex-direction:column}#teacher-evaluation-marking .teacher-marking-detail .q21-external-ocr-actions .teacher-ghost,#teacher-evaluation-marking .teacher-marking-detail .q21-external-ocr-actions .dark-admin-action{width:100%}}
