/* Q21 polish only: keep the established marking desk layout intact. */
#teacher-evaluation-marking .q21-marking-extract>div{padding:16px;overflow:auto;}
#teacher-evaluation-marking .q21-marking-extract table{width:100%;margin:12px 0 18px;border-collapse:separate;border-spacing:0;border:1px solid #dce2ec;border-radius:8px;background:#fff;overflow:hidden;}
#teacher-evaluation-marking .q21-marking-extract th,#teacher-evaluation-marking .q21-marking-extract td{padding:9px 11px;border-right:1px solid #e5e9f0;border-bottom:1px solid #e5e9f0;font-size:13px;line-height:20px;text-align:left;vertical-align:top;}
#teacher-evaluation-marking .q21-marking-extract th{background:#f1f4fa;color:#303b5a;font-weight:750;}
#teacher-evaluation-marking .q21-marking-extract tr:last-child td{border-bottom:0;}
#teacher-evaluation-marking .q21-marking-extract th:last-child,#teacher-evaluation-marking .q21-marking-extract td:last-child{border-right:0;}
#teacher-evaluation-marking .q21-marking-paper .ap-frq-teacher-paper-head>div:first-child{display:grid;justify-items:start;text-align:left;}
#teacher-evaluation-marking .q21-marking-paper .ap-frq-teacher-paper-head>div:first-child .eyebrow,#teacher-evaluation-marking .q21-marking-paper .ap-frq-teacher-paper-head>div:first-child b,#teacher-evaluation-marking .q21-marking-paper .ap-frq-teacher-paper-head>div:first-child span{text-align:left;}
#teacher-evaluation-marking .q21-marking-paper .ap-frq-teacher-paper-head>div:last-child{display:flex;flex-wrap:nowrap;gap:8px;align-items:center;}
#teacher-evaluation-marking .q21-marking-paper .ap-frq-teacher-paper-head>div:last-child .teacher-ghost,#teacher-evaluation-marking .q21-marking-paper .ap-frq-teacher-paper-head>div:last-child .dark-admin-action{min-width:max-content;white-space:nowrap;}
.q21-ocr-source-preview,.q21-ocr-document-viewport{position:relative;}
@media(max-width:650px){#teacher-evaluation-marking .q21-marking-paper .ap-frq-teacher-paper-head>div:last-child{align-self:stretch;justify-content:space-between;}#teacher-evaluation-marking .q21-marking-paper .ap-frq-teacher-paper-head>div:last-child .teacher-ghost,#teacher-evaluation-marking .q21-marking-paper .ap-frq-teacher-paper-head>div:last-child .dark-admin-action{flex:1;min-width:0;}}
