/* Class assessments: delivery authoring, evidence review and responsive exam records. */
.fig-modal-inner:has(.class-exam-submission-modal){width:min(1080px,calc(100vw - 40px));max-width:none}
.manual-exam-delivery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:0 0 14px;padding:0;border:0}.manual-exam-delivery legend{margin-bottom:7px;color:var(--text-muted);font-size:9px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.manual-exam-delivery button{display:grid;grid-template-columns:40px minmax(0,1fr);align-items:center;gap:10px;min-height:68px;padding:11px;border:1px solid var(--border);border-radius:7px;background:var(--surface-1);color:var(--text);text-align:left}.manual-exam-delivery button:hover{border-color:color-mix(in srgb,var(--accent) 55%,var(--border));background:var(--surface-2)}.manual-exam-delivery button.active{border-color:var(--accent);background:var(--accent-bg);box-shadow:0 0 0 1px color-mix(in srgb,var(--accent) 40%,transparent)}.manual-exam-delivery button>i{display:grid;place-items:center;width:40px;height:40px;border-radius:6px;background:var(--surface-2);color:var(--accent-text);font-size:21px}.manual-exam-delivery button.active>i{background:var(--accent);color:#fff}.manual-exam-delivery b,.manual-exam-delivery small{display:block}.manual-exam-delivery b{font-size:10.5px}.manual-exam-delivery small{margin-top:3px;color:var(--text-muted);font-size:8.5px;line-height:1.35}
.manual-exam-title{grid-column:1/-1}.manual-exam-range{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.manual-exam-mode-panel{padding:13px;border:1px solid var(--border);border-left:4px solid var(--accent);border-radius:7px;background:var(--surface-2)}.manual-exam-mode-panel[hidden],.manual-exam-quiz-behavior[hidden]{display:none!important}.manual-exam-mode-head{display:flex;align-items:center;gap:9px;margin-bottom:11px}.manual-exam-mode-head>i{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border-radius:6px;background:var(--accent-bg);color:var(--accent-text);font-size:19px}.manual-exam-mode-head b,.manual-exam-mode-head small{display:block}.manual-exam-mode-head b{font-size:11px}.manual-exam-mode-head small{margin-top:2px;color:var(--text-muted);font-size:8.5px}.manual-exam-panel-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.manual-exam-panel-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.manual-exam-inline-flags,.manual-exam-quiz-behavior{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:10px}.manual-exam-inline-flags>label,.manual-exam-quiz-behavior>label:not(.ed-field){display:flex;align-items:center;gap:7px;padding:8px 10px;border:1px solid var(--border);border-radius:6px;background:var(--surface-1);font-size:9.5px}.manual-exam-inline-flags input,.manual-exam-quiz-behavior input[type=checkbox]{width:17px;height:17px}.manual-exam-week-picker{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin:2px 0 11px}.manual-exam-week-picker label{position:relative;cursor:pointer}.manual-exam-week-picker input{position:absolute;opacity:0;pointer-events:none}.manual-exam-week-picker span{display:flex;min-height:46px;align-items:center;justify-content:center;flex-direction:column;padding:6px;border:1px solid var(--border);border-radius:6px;background:var(--surface-1);text-align:center}.manual-exam-week-picker b,.manual-exam-week-picker small{display:block}.manual-exam-week-picker b{font-size:10px}.manual-exam-week-picker small{margin-top:2px;color:var(--text-muted);font-size:7.5px}.manual-exam-week-picker input:checked+span{border-color:var(--accent);background:var(--accent-bg);color:var(--accent-text);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--accent) 28%,transparent)}.manual-exam-week-picker input:focus-visible+span{outline:2px solid var(--accent);outline-offset:2px}.manual-exam-quiz-settings{display:grid;grid-template-columns:150px minmax(210px,1fr) repeat(2,minmax(170px,.75fr));align-items:end;gap:9px}.manual-exam-bank-status{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:8px;min-height:58px;padding:8px 10px;border:1px solid var(--border);border-radius:6px;background:var(--surface-1)}.manual-exam-bank-status>i{display:grid;place-items:center;width:32px;height:32px;border-radius:6px;font-size:18px}.manual-exam-bank-status b,.manual-exam-bank-status small{display:block}.manual-exam-bank-status b{font-size:9.5px}.manual-exam-bank-status small{margin-top:2px;color:var(--text-muted);font-size:8px;line-height:1.35}.manual-exam-bank-status.ready{border-color:#A9D8BE}.manual-exam-bank-status.ready>i{background:#E5F4EC;color:#176B3A}.manual-exam-bank-status.short{border-color:#E4C486}.manual-exam-bank-status.short>i{background:#FFF0D4;color:#8A5700}.manual-exam-quiz-behavior{align-items:flex-end;padding:9px;border:1px solid var(--border);border-radius:6px;background:var(--surface-1)}.manual-exam-quiz-behavior .ed-field{min-width:210px;flex:1}.manual-exam-notes{margin-top:1px}.manual-exam-flags{display:flex;align-items:stretch;gap:9px;margin-top:13px}.manual-exam-flags>label{display:flex;align-items:flex-start;gap:8px;flex:1;padding:10px;border:1px solid var(--border);border-radius:7px;background:var(--surface-2)}.manual-exam-flags input{flex:0 0 auto;width:18px;height:18px}.manual-exam-flags b,.manual-exam-flags small{display:block}.manual-exam-flags b{font-size:10px}.manual-exam-flags small{margin-top:2px;color:var(--text-muted);font-size:8px;line-height:1.4}
.manual-exam-card.delivery-manual{border-left:4px solid #2369A8}.manual-exam-card.delivery-submission{border-left:4px solid #9B5A13}.manual-exam-card.delivery-quiz{border-left:4px solid #0B7A62}.manual-exam-roster-summary .needs-attention{background:#FFF0D4!important;color:#8A5700}.manual-exam-card-actions .danger{color:#B42318}
.assessment-announcement{margin:13px 0;padding:12px 13px;border:1px solid var(--accent-border);border-left:4px solid var(--accent);border-radius:8px;background:linear-gradient(105deg,var(--accent-bg),var(--surface-1))}.assessment-announcement>span{display:flex;align-items:center;gap:6px;margin-bottom:7px;color:var(--accent-text);font-size:9px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}.assessment-announcement .assessment-brief{margin:0}
.manual-score-evidence{display:grid;gap:5px;min-width:170px}.manual-score-evidence>span{display:flex;align-items:center;gap:5px;font-size:9px;font-weight:700}.manual-score-evidence>small{color:var(--text-muted);font-size:8px}.manual-score-evidence>p{max-width:270px;margin:0;color:var(--text-secondary);font-size:8.5px;line-height:1.4}.manual-score-files{display:flex;align-items:center;gap:4px;flex-wrap:wrap}.manual-score-files a{display:inline-flex;align-items:center;gap:4px;max-width:170px;padding:4px 6px;border:1px solid var(--border);border-radius:5px;background:var(--surface-1);color:var(--accent-text);font-size:8px;text-decoration:none}.manual-score-files a span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.manual-score-evidence.empty{color:var(--text-muted)}.manual-score-table.with-evidence{min-width:1240px}.manual-score-table.with-evidence th:nth-child(5){width:220px}.manual-score-table.with-evidence th:nth-child(6){width:105px}.manual-score-table.with-evidence th:nth-child(7){width:92px}.class-exam-current-files{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:10px 0;padding:10px;border:1px solid var(--border);border-radius:7px;background:var(--surface-2)}.class-exam-current-files>b,.class-exam-current-files>small{width:100%;font-size:9px}.class-exam-current-files>a{display:inline-flex;align-items:center;gap:5px;padding:5px 7px;border:1px solid var(--border);border-radius:5px;background:var(--surface-1);font-size:9px;text-decoration:none}

@media(max-width:1080px){.manual-exam-quiz-settings{grid-template-columns:repeat(2,minmax(0,1fr))}.manual-exam-week-picker{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){.manual-exam-delivery{grid-template-columns:minmax(0,1fr)}.manual-exam-form-grid,.manual-exam-panel-grid,.manual-exam-panel-grid.three,.manual-exam-quiz-settings{grid-template-columns:minmax(0,1fr)}.manual-exam-title{grid-column:auto}.manual-exam-week-picker{grid-template-columns:repeat(3,minmax(0,1fr))}.manual-exam-range{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.manual-exam-flags{flex-direction:column}.manual-exam-card-facts{grid-template-columns:minmax(0,1fr)}.manual-score-table.with-evidence{min-width:0}.manual-score-table td[data-label="Evidence"]{grid-column:1/-1}.manual-score-evidence>p{max-width:none}}
@media(max-width:760px){.manual-exam-form-v2 .ed-rich-youtube-group{display:grid;grid-template-columns:minmax(0,1fr) 62px 34px 34px;width:100%;max-width:100%}.manual-exam-form-v2 .ed-rich-youtube-group .ed-rich-youtube-input{width:100%;min-width:0}.manual-exam-form-v2 .ed-rich-youtube-group .ed-rich-youtube-size{width:62px;min-width:0}.manual-exam-form-v2 .ed-rich-image-group{display:grid;grid-template-columns:minmax(0,1fr) 62px 34px;width:100%;max-width:100%;gap:0}.manual-exam-form-v2 .ed-rich-image-group .ed-rich-image-input{width:100%;min-width:0}.manual-exam-form-v2 .ed-rich-image-group .ed-rich-image-size{width:62px;min-width:0}.manual-exam-form-v2 .modal-actions{margin:16px 0 0}}
@media(max-width:440px){.manual-exam-week-picker{grid-template-columns:repeat(2,minmax(0,1fr))}.manual-exam-range{grid-template-columns:1fr}.manual-exam-inline-flags,.manual-exam-quiz-behavior{align-items:stretch;flex-direction:column}.manual-exam-inline-flags>label,.manual-exam-quiz-behavior>label{width:100%}}

/* Objective-led assessment blueprints and question-level gradebooks. */
.objective-weight-editor,
.objective-selector{
  margin:12px 0;
  padding:13px;
  border:1px solid var(--border);
  border-left:4px solid var(--accent);
  border-radius:7px;
  background:var(--surface-2);
}
.objective-weight-head,
.objective-selector-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:10px;
}
.objective-weight-head p,
.objective-selector-head p{
  max-width:720px;
  margin:3px 0 0;
  color:var(--text-muted);
  font-size:8.5px;
  line-height:1.45;
}
.objective-weight-head>strong{
  display:inline-flex;
  min-width:76px;
  min-height:34px;
  align-items:center;
  justify-content:center;
  padding:6px 9px;
  border:1px solid #A9D8BE;
  border-radius:999px;
  background:#EAF7F0;
  color:#176B3A;
  font-size:10px;
  white-space:nowrap;
}
.objective-weight-head>strong.invalid{
  border-color:#E4C486;
  background:#FFF7E8;
  color:#8A5700;
}
.objective-weight-list{display:grid;gap:6px}
.objective-weight-row{
  display:grid;
  grid-template-columns:20px 54px minmax(0,1fr) 94px;
  align-items:center;
  gap:9px;
  min-height:58px;
  padding:8px 9px;
  border:1px solid var(--border);
  border-radius:6px;
  background:var(--surface-1);
  cursor:pointer;
}
.objective-weight-row:hover{border-color:color-mix(in srgb,var(--accent) 52%,var(--border))}
.objective-weight-row.selected{
  border-color:var(--accent-border);
  background:color-mix(in srgb,var(--accent-bg) 50%,var(--surface-1));
  box-shadow:inset 3px 0 0 var(--accent);
}
.objective-weight-row>input{
  width:17px;
  height:17px;
  margin:0;
  accent-color:var(--accent);
}
.objective-code{
  display:inline-flex;
  min-height:30px;
  align-items:center;
  justify-content:center;
  padding:5px 7px;
  border:1px solid var(--accent-border);
  border-radius:6px;
  background:var(--accent-bg);
  color:var(--accent-text);
  font-size:9px;
  font-weight:900;
  letter-spacing:.02em;
  text-align:center;
}
.objective-copy,
.objective-selector-grid label>span:last-child{min-width:0}
.objective-copy b,
.objective-copy small,
.objective-selector-grid b,
.objective-selector-grid small{display:block}
.objective-copy b,
.objective-selector-grid b{
  overflow:hidden;
  color:var(--text);
  font-size:9.5px;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.objective-copy small,
.objective-selector-grid small{
  display:-webkit-box;
  margin-top:2px;
  overflow:hidden;
  color:var(--text-muted);
  font-size:7.8px;
  line-height:1.35;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}
.objective-percent{
  display:grid;
  grid-template-columns:minmax(0,1fr) 16px;
  align-items:center;
  gap:4px;
}
.objective-percent input{
  width:100%;
  min-height:36px;
  padding:6px 7px;
  border:1px solid var(--border-strong);
  border-radius:6px;
  background:var(--surface-1);
  color:var(--text);
  font:800 10px var(--font);
  text-align:right;
}
.objective-percent input:disabled{background:var(--surface-3);color:var(--text-muted)}
.objective-percent i{color:var(--text-muted);font-size:9px;font-style:normal}
.objective-weight-hint{
  min-height:18px;
  margin:7px 2px 0;
  color:var(--text-muted);
  font-size:8.5px;
}
.objective-selector-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:7px;
}
.objective-selector-grid label{
  display:grid;
  grid-template-columns:20px 54px minmax(0,1fr);
  align-items:center;
  gap:8px;
  min-height:58px;
  padding:8px 9px;
  border:1px solid var(--border);
  border-radius:6px;
  background:var(--surface-1);
  cursor:pointer;
}
.objective-selector-grid label:hover{border-color:color-mix(in srgb,var(--accent) 52%,var(--border))}
.objective-selector-grid label.selected{
  border-color:var(--accent-border);
  background:color-mix(in srgb,var(--accent-bg) 50%,var(--surface-1));
  box-shadow:inset 3px 0 0 var(--accent);
}
.objective-selector-grid input{
  width:17px;
  height:17px;
  margin:0;
  accent-color:var(--accent);
}
.fig-modal-inner:has(.manual-exam-form-v2),
.fig-modal-inner:has(.manual-score-modal-v2){
  width:min(1540px,calc(100vw - 32px));
  max-width:none;
}
.manual-exam-blueprint{
  display:grid;
  gap:12px;
  padding:14px;
}
.manual-exam-blueprint-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.manual-exam-blueprint-head .manual-exam-mode-head{margin:0}
.manual-exam-blueprint-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:7px;
  flex-wrap:wrap;
}
.manual-exam-blueprint-actions>span{
  display:inline-flex;
  min-height:38px;
  align-items:center;
  gap:6px;
  padding:7px 10px;
  border:1px solid var(--border);
  border-radius:6px;
  background:var(--surface-1);
  color:var(--text-muted);
  font-size:9px;
  white-space:nowrap;
}
.manual-exam-blueprint-actions>span b,
.manual-exam-blueprint-actions>span strong{color:var(--text);font-size:11px}
.manual-exam-blueprint-actions>span i{
  width:4px;
  height:4px;
  border-radius:50%;
  background:currentColor;
}
.manual-exam-blueprint-actions>span.complete{border-color:#A9D8BE;background:#EAF7F0;color:#176B3A}
.manual-exam-blueprint-actions>span.incomplete{border-color:#E4C486;background:#FFF7E8;color:#8A5700}
.manual-exam-question-list{display:grid;gap:10px}
.manual-exam-question-card{
  display:grid;
  grid-template-columns:64px minmax(0,1fr) 40px;
  gap:10px 12px;
  align-items:start;
  padding:12px;
  border:1px solid var(--border);
  border-radius:7px;
  background:var(--surface-1);
}
.manual-exam-question-number{
  display:grid;
  min-height:64px;
  place-items:center;
  align-content:center;
  border-radius:6px;
  background:var(--accent-bg);
  color:var(--accent-text);
}
.manual-exam-question-number span{
  font-size:7.5px;
  font-weight:800;
  letter-spacing:.05em;
  text-transform:uppercase;
}
.manual-exam-question-number b{font-size:22px;line-height:1}
.manual-exam-question-fields{
  display:grid;
  grid-template-columns:minmax(220px,1fr) minmax(145px,.32fr) minmax(145px,.32fr);
  gap:9px;
}
.manual-exam-question-remove{align-self:center}
.manual-exam-question-card>.objective-weight-editor{grid-column:2/-1}
.manual-exam-sheet{
  display:grid;
  grid-template-columns:minmax(260px,1fr) minmax(260px,.9fr) auto 40px;
  gap:10px;
  align-items:center;
  padding:11px;
  border:1px dashed var(--border-strong);
  border-radius:7px;
  background:var(--surface-2);
}
.manual-exam-sheet>div:first-child>b,
.manual-exam-sheet>div:first-child>small{display:block}
.manual-exam-sheet>div:first-child>b{margin-top:2px;font-size:10.5px}
.manual-exam-sheet>div:first-child>small{margin-top:2px;color:var(--text-muted);font-size:8.5px}
.manual-exam-sheet-state{
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  align-items:center;
  gap:8px;
  min-height:46px;
  padding:7px 9px;
  border:1px solid var(--border);
  border-radius:6px;
  background:var(--surface-1);
}
.manual-exam-sheet-state>i{
  display:grid;
  place-items:center;
  width:32px;
  height:32px;
  border-radius:5px;
  background:#FCE9E6;
  color:#A33A2B;
  font-size:18px;
}
.manual-exam-sheet-state b,
.manual-exam-sheet-state small,
.manual-exam-sheet-state a{display:block;min-width:0}
.manual-exam-sheet-state b,
.manual-exam-sheet-state a{
  overflow:hidden;
  color:var(--text);
  font-size:9.5px;
  font-weight:750;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.manual-exam-sheet-state small{margin-top:2px;color:var(--text-muted);font-size:8px}
.manual-exam-sheet-picker{justify-content:center;white-space:nowrap}
.manual-exam-sheet-picker input{display:none}
.manual-score-toolbar-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  flex-wrap:wrap;
}
.manual-score-import-hint{
  display:flex;
  align-items:flex-start;
  gap:8px;
  margin:9px 0;
  padding:9px 11px;
  border-left:4px solid var(--accent);
  background:var(--accent-bg);
  color:var(--text-secondary);
  font-size:9px;
  line-height:1.45;
}
.manual-score-import-hint>i{margin-top:1px;color:var(--accent-text);font-size:17px}
.manual-score-table.with-question-plan{
  width:max-content;
  min-width:100%;
}
.manual-score-question-head{
  min-width:116px;
  max-width:150px;
}
.manual-score-question-head b,
.manual-score-question-head small,
.manual-score-question-head span{display:block}
.manual-score-question-head small{margin-top:2px;color:var(--text-muted);font-size:7.5px;text-transform:none}
.manual-score-question-head span{margin-top:3px;color:var(--accent-text);font-size:7.5px;text-transform:none}
.manual-score-question-cell{
  min-width:116px;
  white-space:nowrap;
}
.manual-score-question-cell input{
  display:inline-block;
  width:76px;
  min-width:0;
}
.manual-score-question-cell small{margin-left:4px;color:var(--text-muted);font-size:8px}
.manual-score-question-cell input.invalid{
  border-color:#C74336;
  box-shadow:0 0 0 2px color-mix(in srgb,#C74336 15%,transparent);
}
.manual-score-total-head,
.manual-score-total-cell{min-width:112px}
.manual-score-total-cell output{
  display:inline-flex;
  min-width:66px;
  min-height:36px;
  align-items:center;
  justify-content:center;
  padding:6px 8px;
  border:1px solid #A9D8BE;
  border-radius:6px;
  background:#EAF7F0;
  color:#176B3A;
  font-size:11px;
  font-weight:800;
}
.manual-score-total-cell output.incomplete{
  border-color:var(--border);
  background:var(--surface-2);
  color:var(--text-muted);
}

@media(max-width:1080px){
  .objective-selector-grid{grid-template-columns:1fr}
  .manual-exam-blueprint-head{align-items:stretch;flex-direction:column}
  .manual-exam-blueprint-actions{justify-content:flex-start}
  .manual-exam-question-fields{grid-template-columns:minmax(180px,1fr) 140px 140px}
  .manual-exam-sheet{grid-template-columns:minmax(240px,1fr) minmax(240px,1fr)}
  .manual-exam-sheet-picker{justify-self:start}
}
@media(max-width:760px){
  .objective-weight-head,.objective-selector-head{align-items:stretch;flex-direction:column}.objective-weight-head>strong{align-self:flex-start}
  .objective-weight-row{grid-template-columns:20px 48px minmax(0,1fr)}.objective-percent{grid-column:2/-1}
  .fig-modal-inner:has(.manual-exam-form-v2),
  .fig-modal-inner:has(.manual-score-modal-v2){width:calc(100vw - 16px)}
  .manual-exam-blueprint{padding:10px}
  .manual-exam-blueprint-actions{display:grid;grid-template-columns:1fr 1fr}
  .manual-exam-blueprint-actions>span{grid-column:1/-1;justify-content:center}
  .manual-exam-question-card{grid-template-columns:48px minmax(0,1fr) 40px}
  .manual-exam-question-number{min-height:48px}
  .manual-exam-question-fields{grid-template-columns:1fr}
  .manual-exam-question-card>.objective-weight-editor{grid-column:1/-1}
  .manual-exam-sheet{grid-template-columns:minmax(0,1fr) 40px}
  .manual-exam-sheet>div:first-child,
  .manual-exam-sheet-state{grid-column:1/-1}
  .manual-score-toolbar-actions{justify-content:flex-start}
  .manual-score-table.with-question-plan{display:block;width:100%;min-width:0}
  .manual-score-table.with-question-plan td.manual-score-question-cell{grid-column:auto}
  .manual-score-table.with-question-plan .manual-score-total-cell{grid-column:1/-1}
}
