.combination-workspace{display:grid;gap:18px;margin:16px 0;min-width:0}
.combination-workspace h3{font-size:15px;margin:0;color:var(--ink)}
.combination-selected{border:1px solid #b9d9cf;background:#f2faf7;border-radius:12px;padding:16px}
.combination-placeholder{font-size:13px;color:var(--muted);line-height:1.8;padding:14px 0 3px}
.combination-selected ol{padding-left:22px;margin:12px 0 0}
.combination-selected li{padding:10px 0;border-top:1px solid #dcebe5;font-size:13px;line-height:1.7}
.combination-selected li>span{overflow-wrap:anywhere}
.combination-selected li .text-btn{display:block;margin-left:auto;padding:2px 6px;font-size:12px}
.combination-catalog{border:1px solid var(--line);border-radius:12px;padding:16px;min-width:0}
.combination-catalog>.row{align-items:flex-start;flex-wrap:wrap;gap:6px}
.combination-catalog label.field{margin:12px 0}
.combination-options{max-height:360px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:0 3px 0 0}
.combination-add{display:flex;align-items:center;gap:5px;width:100%;text-align:left;padding:12px;margin:0;border:0;border-bottom:1px solid var(--line);border-radius:0;line-height:1.7;font-size:13px}
.combination-add span{overflow-wrap:anywhere;min-width:0}
.combination-add>span{flex:1;margin-right:10px}
.combination-add strong{flex-shrink:0;display:inline;color:var(--green);font-size:17px;font-weight:400;line-height:1}
.combination-add em{font-size:12px;font-style:normal;color:var(--green);white-space:nowrap}
.combination-add:hover{border-color:var(--green);background:#f6fbf9}
.combination-options .empty{font-size:13px;padding:25px 10px}
.combination-preview-note{margin-bottom:18px;padding:12px 15px;background:#fff6e6;border-radius:8px;font-size:13px;line-height:1.8;color:#806029}
.exam-brand-logo{display:block;width:36px;height:36px;object-fit:contain;flex-shrink:0}
.exam-subquestion{padding:20px 0;border-top:1px solid var(--line);margin-top:18px}
.exam-subquestion h3{font-size:15px;margin:0}
.subquestion-prompt{white-space:pre-line;margin:15px 0;font-size:15px;line-height:1.8}
.answer-grid .partial{background:#fff5df;color:#956317;border-color:#e8c78f}
.exam-shell input:disabled{background:#f1f3f2;color:#8e9b95;cursor:not-allowed}
.exam-shell button:disabled{cursor:not-allowed}
.next-ready{font-weight:700;box-shadow:0 4px 12px #087f7026}
.next-ready-note{margin:12px 0 0;color:var(--green);font-size:13px;text-align:right}
.exam-project-sidebar[hidden]{display:none}
@media(min-width:900px){
 .exam-shell.exam-desktop-answer{max-width:820px}
 .exam-shell.exam-desktop-answer.has-project-pool{max-width:1180px}
 .has-project-pool .exam-answer-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:0 24px;align-items:start}
 .has-project-pool .exam-question-panel{grid-column:1;grid-row:1;min-width:0}
 .has-project-pool .exam-project-sidebar{grid-column:2;grid-row:1;position:sticky;top:85px;margin-top:20px;min-width:0;display:grid;gap:16px}
 .has-project-pool .exam-project-sidebar .combination-catalog{background:white;padding:24px;border-radius:12px}
 .has-project-pool .combination-options{max-height:min(620px,calc(100vh - 270px))}
 .has-project-pool .exam-answer-card{grid-column:1 / -1;grid-row:2;margin-top:0}
 .exam-desktop-answer .answer-grid{grid-template-columns:repeat(10,minmax(0,1fr))}
 .has-project-pool .combination-selected{background:#f5faf7}
}
@media(max-width:400px){.combination-catalog,.combination-selected{padding:12px}.combination-add{padding:10px;font-size:12px}.combination-options{max-height:300px}}

/* Visible early-submit action beside the exam timer. */
.exam-top-actions{display:flex;align-items:center;gap:14px;flex-shrink:0}.exam-top .exam-candidate-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;margin-right:12px}.exam-top-actions .terminate-exam-button{padding:7px 12px;min-height:34px;border:1px solid #f1a5ad;border-radius:8px;background:#fee2e2;color:#b42332;font-size:13px;font-weight:600;line-height:1.3;white-space:nowrap}.exam-top-actions .terminate-exam-button:hover{background:#fecdd3;border-color:#e77683}.exam-top-actions .terminate-exam-button:focus-visible{outline:2px solid #b42332;outline-offset:3px}@media(max-width:400px){.exam-top-actions{gap:10px}.exam-top-actions .terminate-exam-button{padding:7px 10px}}
