/* Exam-page presentation only. Does not style MCQs, flashcards or the Lab IDE. */
.testmaker-page .q-card .panel-body{padding:clamp(22px,4vw,48px)}
.testmaker-page .tm-paragraph,.testmaker-page .tm-instruction,.testmaker-page .stem{font-size:18px;line-height:1.6;font-style:normal;font-weight:400;color:#080d0e}
.testmaker-page .tm-instruction{font-weight:400}
.testmaker-page .part{padding-top:24px;margin-top:24px;border-top:0}
.testmaker-page .part-label{font-family:inherit!important;font-size:18px;color:#080d0e!important}
.testmaker-page .tm-context,.testmaker-page .tm-context.local{margin:20px 0;padding:0;border:0;border-radius:0;background:transparent}
.tm-exam-marks{text-align:right;margin:14px 0 0;color:#080d0e;font-size:18px;line-height:1.4}
.testmaker-page .tm-answer-area{margin:20px 0 26px}
.testmaker-page .tm-answer-textarea:not(.tm-code-block),textarea.paper2-answer{display:block;box-sizing:border-box;width:100%;min-height:34px;margin:8px 0 22px;padding:0 5px;border:0;border-radius:0;resize:vertical;font:18px/34px 'DM Sans',Arial,sans-serif;background:repeating-linear-gradient(to bottom,transparent 0,transparent 32px,#b3bac4 33px,transparent 34px);color:#080d0e}
.testmaker-page .tm-answer-input:not(.tm-bit-cell):not(.tm-table-answer){border:0;border-bottom:1px dotted #7f8992;border-radius:0;background:#fff;padding:4px 5px;font-size:18px;min-height:34px}
.testmaker-page .tm-answer-input.mini{width:18ch;max-width:100%;margin-inline:.4em;vertical-align:baseline}
.testmaker-page .tm-answer-textarea:focus,.testmaker-page .tm-answer-input:focus,textarea.paper2-answer:focus{outline:2px solid #81ae58;outline-offset:2px;box-shadow:none;background-color:#f8fff0}
.testmaker-page .tm-repeat-grid{grid-template-columns:1fr;gap:22px}
.testmaker-page .tm-repeat-field{display:grid;grid-template-columns:minmax(90px,max-content) minmax(0,1fr);gap:14px;align-items:baseline}
.testmaker-page .tm-repeat-field>span{font-size:16px;font-weight:400;color:#080d0e}
.testmaker-page .tm-question-table{font-size:18px;line-height:1.45;background:#fff}
.testmaker-page .tm-question-table th,.testmaker-page .tm-question-table td{border:1px solid #34383b;padding:14px 13px;vertical-align:middle;background:#fff;color:#080d0e}
.testmaker-page .tm-question-table th{text-align:center;font-weight:700}
.testmaker-page .tm-question-table td:has(.tm-table-answer){padding:5px}
.testmaker-page .tm-question-table .tm-table-answer{box-sizing:border-box;width:100%;min-width:80px;border:0;border-radius:0;background:transparent;font:18px/1.5 'DM Sans',Arial,sans-serif;padding:4px;resize:vertical}
.testmaker-page .tm-question-table .tm-table-answer:focus{background:#f8fff0}
.testmaker-page .tm-choice-list{grid-template-columns:1fr;gap:10px;margin:22px 0}
.testmaker-page .tm-choice-list label{border:0;border-radius:0;background:#fff;padding:8px 0;font-size:18px}
.testmaker-page .tm-choice-list input{width:20px;height:20px;flex-shrink:0}
.testmaker-page .tm-word-bank{justify-content:space-evenly;gap:16px 30px;border:1px solid #34383b;border-radius:0;background:#fff;padding:20px}
.testmaker-page .tm-word-bank span{border:0;border-radius:0;background:transparent;color:#080d0e;font:18px 'DM Sans',Arial,sans-serif;padding:0}
.testmaker-page .tm-code-block{background:#fff;color:#080d0e;border:0;border-radius:0;font:16px/1.8 'SFMono-Regular',Consolas,monospace}
.testmaker-page .tm-binary-grid-list{margin:24px 0}
.testmaker-page .tm-bit-cells{display:flex;flex-wrap:nowrap}
.testmaker-page .tm-bit-cell{box-sizing:border-box;width:42px;flex:0 0 42px;height:44px;min-height:44px;font:20px/1.3 'SFMono-Regular',Consolas,monospace;color:#080d0e;background:#fff;border:1px solid #34383b}
.testmaker-page .tm-binary-addition{table-layout:fixed;width:max-content;min-width:420px;max-width:none;margin:24px auto;border-collapse:collapse;background:#fff}
.testmaker-page .tm-binary-addition th,.testmaker-page .tm-binary-addition td{border:0;background:#fff;color:#080d0e;text-align:center;padding:3px 6px}
.testmaker-page .tm-binary-addition th{width:36px;font:22px monospace}
.testmaker-page .tm-binary-addition .tm-bit-cell{border:0;background:transparent}
.testmaker-page .tm-binary-addition .answer td{border-top:1.5px solid #111}
.testmaker-page .tm-binary-addition .carry .tm-bit-cell{font-size:14px;height:30px;min-height:30px}
.testmaker-page .tm-binary-addition input.tm-bit-cell:focus{outline-offset:-2px;background:#f8fff0}
.testmaker-page .tm-paper2-source p{font-size:18px;line-height:1.6;margin:0 0 20px;max-width:none}
.testmaker-page .tm-paper2-source .review-code,.testmaker-page .tm-paper2-source pre{background:#fff;border:0;border-radius:0;font:16px/1.8 'SFMono-Regular',Consolas,monospace}
.testmaker-page .tm-paper2-source .review-code-number{color:#5d6367;text-align:left}
.testmaker-page .tm-paper2-source .code-template{background:#fff;font:16px/2.2 'SFMono-Regular',Consolas,monospace;padding:12px 0}
.testmaker-page .tm-paper2-source .code-template input{font:inherit;background:transparent;border:0;border-bottom:1px dotted #7f8992;border-radius:0}
.testmaker-page .tm-paper2-source .native-answer{border:0;border-bottom:1px dotted #7f8992;border-radius:0;background:transparent;color:#111}
.paper2-source-table{table-layout:fixed;border-collapse:collapse;width:100%;color:#080d0e;background:white}
.testmaker-page .tm-paper2-source .paper2-source-table th,.testmaker-page .tm-paper2-source .paper2-source-table td,.paper2-source-table th,.paper2-source-table td{border:1px solid #34383b;padding:12px;vertical-align:middle;background:#fff;color:#080d0e;font-size:18px;line-height:1.4;overflow-wrap:break-word}
.testmaker-page .tm-paper2-source .paper2-source-table th,.paper2-source-table th{font-weight:700;text-align:center}
.testmaker-page .tm-paper2-source .paper2-source-table .paper2-answer,.paper2-source-table .paper2-answer{background:transparent;margin:0;padding:4px;min-height:40px;line-height:1.5;border:0;resize:vertical;text-align:left}
.tm-exam-notepad{margin:24px 0;border:1px solid #c8d1dc;border-radius:7px;background:#fff;overflow:hidden}
.tm-exam-notepad .drawing-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:7px;padding:10px;background:#f4f7f1;border-bottom:1px solid #d7dfd0;font-size:14px}
.tm-exam-notepad .drawing-label{margin-right:auto;font-size:14px}
.tm-exam-notepad button{min-height:36px;padding:6px 10px;border:1px solid #96a38b;border-radius:5px;background:#fff;color:#080d0e;font:inherit;cursor:pointer}
.tm-exam-notepad button[aria-pressed=true]{background:var(--lime,#c9f6a0);border-color:#7fab55}
.tm-exam-notepad button:disabled{opacity:.5;cursor:default}
.tm-exam-notepad .drawing-stage{position:relative;min-height:calc(var(--answer-rows,6)*34px);isolation:isolate}
.testmaker-page .tm-exam-notepad .working-answer{position:relative;margin:0;resize:none;min-height:inherit;width:100%;padding:0 10px;z-index:1;background-color:transparent;font-family:'SFMono-Regular',Consolas,monospace;font-size:16px}
.tm-exam-notepad .drawing-ink{position:absolute;inset:0;width:100%;height:100%;z-index:2;touch-action:none;cursor:crosshair}
.tm-exam-notepad[data-active-tool=type] .drawing-ink{pointer-events:none}
.tm-exam-notepad:not([data-active-tool=type]) .working-answer{pointer-events:none}
.tm-exam-notepad .drawing-text-input{display:flex;gap:8px;align-items:center;padding:10px;font-size:14px}
.tm-exam-notepad .drawing-text-input[hidden]{display:none}
.tm-exam-notepad .drawing-text-input input{flex:1;min-width:0;padding:6px;border:1px solid #96a38b}
.tm-working-result{overflow:auto;border:1px solid #c8d1dc;background:#fff;margin:16px 0}
.tm-working-result svg{display:block;width:100%;min-width:500px}
.testmaker-page .ms-box .tm-question-table th,.testmaker-page .ms-box .tm-question-table td{color:#080d0e;background:#fff}
@media(max-width:620px){.testmaker-page .tm-paragraph,.testmaker-page .tm-instruction,.testmaker-page .stem,.testmaker-page .tm-paper2-source p{font-size:16px}.testmaker-page .tm-repeat-field{grid-template-columns:1fr;gap:4px}.testmaker-page .tm-question-table{font-size:16px}.testmaker-page .tm-question-table th,.testmaker-page .tm-question-table td{padding:8px}.tm-exam-notepad .drawing-label{flex-basis:100%}}
@media print{.testmaker-page .topbar,.testmaker-page .submitbar,.tm-exam-notepad .drawing-toolbar,.tm-exam-notepad .drawing-text-input{display:none!important}.testmaker-page .q-card{border:0!important;box-shadow:none!important;break-inside:auto}.testmaker-page .tm-responsive-table,.testmaker-page .tm-binary-addition-wrap{overflow:visible}.tm-exam-marks{break-before:avoid}.testmaker-page .tm-question-table{break-inside:avoid}}
.testmaker-page .tm-submitted-part [aria-label].tm-submitted-answer {
  background: #f1f2f3;
  border: 1px solid #cbd0d5;
  color: #222;
}
