/* Testing shares the light CaptainPosition exercise form. */
.mcq{--mcq-ink:#173d55;background:transparent;color:var(--mcq-ink);padding:0;min-width:0;overflow-wrap:anywhere}
.mcq *,.mcq *::before,.mcq *::after{box-sizing:border-box}.mcq [hidden]{display:none!important}
body .mcq h2,body .mcq h3,body .mcq p,body .mcq label,body .mcq legend{color:#173d55;background:transparent}
body .mcq small,body .mcq .mcq-muted{color:#59778e}.mcq .mcq-question{background:transparent;border:0;border-radius:0;padding:0;margin:22px 0 30px}
body .mcq input:not([type=checkbox]):not([type=radio]),body .mcq textarea,body .mcq select{background:#fff;color:#173d55;border:1px solid #9dbcd0;min-width:0;width:100%;padding:10px;border-radius:8px;font:inherit}
.mcq textarea{min-height:44px;resize:vertical}.mcq .mcq-row{display:grid;grid-template-columns:26px minmax(0,1fr) 30px;align-items:center;gap:10px;margin:10px 0}.mcq .mcq-row input[type=checkbox],.mcq .mcq-answer input{appearance:auto;width:22px;height:22px;min-width:22px;accent-color:#187ca7;border-radius:0;margin:0;cursor:pointer}
body .mcq button{background:#fff;color:#175773;border:1px solid #9dbcd0;border-radius:8px;min-height:42px;padding:8px 12px;font:inherit;cursor:pointer}.mcq button:disabled{opacity:.5;cursor:default}body .mcq .mcq-primary{background:#187ca7;color:#fff}.mcq .mcq-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0;align-items:center}.mcq .mcq-head{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between}.mcq .mcq-head h3{margin:0}.mcq .mcq-option-actions{position:relative}.mcq .mcq-option-actions button{padding:5px 9px}.mcq .mcq-answer{display:flex;align-items:flex-start;gap:12px;padding:12px;border:1px solid #9dbcd0;border-radius:8px;margin:10px 0}.mcq .mcq-answer span{white-space:pre-wrap}.mcq .mcq-result{white-space:pre-wrap;min-height:1.6em}.mcq .mcq-warning{color:#a53131!important}.mcq .mcq-warning:empty{display:none}.mcq .mcq-bulk-preview{white-space:pre-wrap;max-height:300px;overflow:auto;background:#f4faff;padding:12px;border-radius:8px}.mcq .mcq-label{display:block;margin-top:12px}.mcq .mcq-player{border:1px solid #9dbcd0;padding:16px;border-radius:12px;margin-top:16px}.mcq :focus-visible{outline:3px solid #248ac1;outline-offset:3px}.mcq h3{white-space:pre-wrap}
body .mcq .mcq-mode{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:12px 0;color:#59778e}body .mcq .mcq-mode select{width:auto;max-width:100%;min-height:40px;padding:6px 10px}
.mcq .mcq-option-field{display:flex;align-items:center;min-width:0;border:1px solid #9dbcd0;background:#fff;border-radius:8px;padding-left:10px;gap:7px}.mcq .mcq-option-field input{border:0!important;min-width:0}.mcq .mcq-prompt-row{display:flex;gap:9px;align-items:flex-start;background:#fff;border:1px solid #9dbcd0;border-radius:8px;padding-left:10px;margin-top:7px}.mcq .mcq-prompt-row>span{padding-top:10px}.mcq .mcq-prompt-row textarea{border:0!important;min-height:44px}.mcq .mcq-advanced{margin:12px 0;color:#59778e;font-size:14px}.mcq .mcq-advanced summary{cursor:pointer;min-height:32px}.mcq .mcq-option-actions summary{cursor:pointer;min-width:30px;text-align:center}.mcq .mcq-option-actions[open]{display:flex;flex-wrap:wrap;gap:3px}
@media(max-width:650px){.mcq .mcq-row{grid-template-columns:24px minmax(0,1fr) 28px}.mcq .mcq-option-actions[open]{grid-column:2/-1}.mcq .mcq-actions button{flex:1 1 auto}}

/* Answer feedback for the published/demo quiz player. */
body .mcq fieldset>label.mcq-answer{position:relative;display:grid;grid-template-columns:24px minmax(0,1fr) 28px;align-items:center;gap:12px;width:100%;text-align:left;background:#fff;border:1px solid #9dbcd0;border-radius:10px;cursor:pointer;transition:background-color .15s,border-color .15s,box-shadow .15s}
body .mcq fieldset>label.mcq-answer>input{grid-column:1;grid-row:1;justify-self:start;align-self:center}
body .mcq fieldset>label.mcq-answer>span:first-of-type{grid-column:2;grid-row:1;min-width:0;text-align:left;overflow-wrap:anywhere}
body .mcq fieldset>label.mcq-answer.is-selected{background:#eaf5ff;border:2px solid #2786c1;box-shadow:0 0 0 1px #2786c1}
body .mcq fieldset>label.mcq-answer.is-selected>input{accent-color:#187ca7}
body .mcq fieldset>label.mcq-answer.is-correct{background:#e4f7e8;border:2px solid #269447;box-shadow:0 0 0 1px #269447}
body .mcq fieldset>label.mcq-answer.is-correct>input{accent-color:#17843a}
body .mcq fieldset>label.mcq-answer.is-wrong{background:#ffebeb;border:2px solid #d23535;box-shadow:0 0 0 1px #d23535}
body .mcq fieldset>label.mcq-answer.is-wrong>input{accent-color:#c72c2c}
body .mcq fieldset>label.mcq-answer>.mcq-answer-mark{grid-column:3;grid-row:1;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;font-weight:800;font-size:20px}
body .mcq fieldset>label.mcq-answer>.mcq-answer-mark[hidden]{display:none}
body .mcq fieldset>label.mcq-answer.is-correct>.mcq-answer-mark{background:#178f3b;color:#fff}
body .mcq fieldset>label.mcq-answer.is-wrong>.mcq-answer-mark{background:#c52222;color:#fff}
body .mcq .mcq-result.is-correct,body .mcq .mcq-result.is-wrong{padding:12px 16px;border-radius:10px;font-weight:700}
body .mcq .mcq-result.is-correct{color:#126d2d;background:#e4f7e8;border:1px solid #269447}
body .mcq .mcq-result.is-wrong{color:#a51f1f;background:#ffebeb;border:1px solid #d23535}

/* Test constructor follows the owner's supplied reference. Player styling is unchanged. */
body [data-mcq-editor].test-reference{background:#fcfcfc;border:1px solid #dedede;border-radius:20px;padding:16px;color:#111;font-family:Arial,system-ui,sans-serif}
body .test-reference .test-reference-title{padding-bottom:26px;border-bottom:1px solid #ececec}.test-reference .test-reference-title label{display:block;margin:0;color:#606060;font-size:18px;font-weight:600}.test-reference .test-reference-title input{display:block;margin-top:18px}
body .test-reference input[type=text],body .test-reference textarea{background:#fcfcfc;border:1px solid #d4d4d4;border-radius:11px;color:#111;font:20px/1.4 Arial,system-ui,sans-serif;padding:12px 16px;width:100%;min-width:0;box-shadow:none}
body .test-reference input[type=text]{height:50px}body .test-reference input::placeholder,body .test-reference textarea::placeholder{color:#929292;opacity:1}
body .test-reference .test-reference-question{padding:0;margin:30px 0 26px;background:none;border:0}body .test-reference .test-reference-question h3{font-size:20px;line-height:1.4;color:#111;margin:0 0 18px;font-weight:600}
.test-reference-prompt{display:grid;grid-template-columns:16px minmax(0,1fr);align-items:center;gap:7px;margin-bottom:15px}.test-reference-number{font-size:20px;color:#111;font-weight:600}body .test-reference textarea{height:75px;min-height:75px;resize:vertical}.test-reference-options{display:flex;flex-direction:column;gap:15px}
.test-reference-option{display:grid;grid-template-columns:27px 27px minmax(0,1fr);align-items:center;gap:10px}body .test-reference .test-reference-option label{margin:0;padding:0;font-size:20px;font-weight:600;color:#606060}body .test-reference .test-reference-option input[type=radio]{appearance:auto;accent-color:#333;width:25px;height:25px;min-width:25px;padding:0;margin:0;cursor:pointer}
.test-reference-add{border-top:1px solid #ececec;padding-top:25px}body .test-reference .test-reference-add button{display:flex;align-items:center;justify-content:center;width:100%;min-height:46px;border:1px solid #d4d4d4;border-radius:30px;background:#fcfcfc;color:#111;font-size:18px;font-weight:600;padding:10px 16px}.test-reference .mcq-warning:empty{display:none}body .test-reference .mcq-warning{font-size:14px;margin:12px 0;color:#a53131}
@media(max-width:600px){body [data-mcq-editor].test-reference{padding:14px;border-radius:17px}.test-reference-option{grid-template-columns:24px 24px minmax(0,1fr);gap:7px}body .test-reference input[type=text],body .test-reference textarea{font-size:17px;padding:11px 12px}.test-reference .test-reference-title label{font-size:16px}}
