/* Course 4 — Testing and More Testing */
#course04Main .academy-guided-shell{grid-template-columns:minmax(340px,.82fr) minmax(520px,1.18fr);align-items:start}
#course04Main .academy-module-head{scroll-margin-top:80px}
#course04Main button,#course04Main a{font-family:inherit}
#course04Main button{-webkit-appearance:none;appearance:none}
#course04Main button:disabled{cursor:not-allowed;opacity:.48}

.c4-upcoming>span{display:grid;grid-template-columns:34px 1fr;gap:10px;align-items:center;padding:14px 16px;border-top:1px solid #e5ded4;color:#777}
.c4-upcoming i{display:grid;place-items:center;width:27px;height:27px;border:1px solid #cfc6bb;border-radius:50%;font-style:normal;font-size:10px;font-weight:900}
.c4-upcoming b{font-size:12px;line-height:1.25}.c4-upcoming small{grid-column:2;font-size:9px;letter-spacing:.07em;text-transform:uppercase;color:#999;margin-top:-6px}


.c4-module-job{display:grid;gap:16px;padding:26px;border:1px solid rgba(18,18,18,.12);border-radius:22px;background:#fff;color:#111}
.c4-module-job>h3{margin:0;font-size:clamp(1.45rem,2vw,2rem);line-height:1.1}.c4-module-job>p{margin:0;max-width:72ch;line-height:1.65}.c4-module-job .academy-module-job-list{margin:0;padding-left:1.3rem;display:grid;gap:10px;line-height:1.55}
.c4-module-job .academy-module-job-list{margin-bottom:18px}
.c4-one-lesson{border-left:4px solid #ef3e2f;background:#fff7ed;color:#111;padding:14px 16px;margin:16px 0}
.c4-one-lesson p{margin:0 0 8px;line-height:1.55}.c4-one-lesson p:last-child{margin-bottom:0}

.c4-workspace{padding:18px;background:#121212;color:#fff;min-width:0}
.c4-workspace-head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:12px;padding-bottom:14px;border-bottom:1px solid #323232}
.c4-workspace-head span:first-child{display:block;font-size:9px;font-weight:950;letter-spacing:.1em;text-transform:uppercase;color:#aaa}
.c4-workspace-head strong{display:block;margin-top:4px;font:650 21px/1.1 Georgia,serif;color:#fff}
.c4-save{font-size:10px!important;color:#9ee2b8!important;letter-spacing:.05em!important;text-transform:uppercase}

.c4-source-card,.c4-request-card,.c4-build-card,.c4-review-card,.c4-final-card{border:1px solid #3f3f3f;background:#111;padding:16px;margin-top:14px}
.c4-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding-bottom:12px;border-bottom:1px solid #303030;margin-bottom:12px}
.c4-section-head>div>span{display:block;font-size:9px;font-weight:900;letter-spacing:.1em;text-transform:uppercase;color:#aaa}
.c4-section-head strong{display:block;margin-top:4px;font:650 20px/1.08 Georgia,serif;color:#fff}
.c4-carried{font-size:9px;font-weight:900;letter-spacing:.07em;text-transform:uppercase;color:#ffd64d;text-align:right}
.c4-status{margin:0 0 12px;padding:10px 12px;border:1px solid #454545;background:#181818;color:#d7d7d7;font-size:12px;font-weight:750;line-height:1.45}
.c4-status.good{border-color:#345a46;color:#9ee2b8}
.c4-status.bad{border-color:#713f3a;color:#f0aaa2}
.c4-source-card details{border-top:1px solid #2f2f2f;border-bottom:1px solid #2f2f2f;padding:10px 0}
.c4-source-card summary{cursor:pointer;color:#f0f0f0;font-size:12px;font-weight:850;letter-spacing:.02em}
.c4-source-card pre{max-height:390px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0 0;padding:12px;background:#0b0b0b;color:#ddd;font:500 12px/1.55 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}

.c4-request-lesson{border:1px solid #4a4a4a;background:#171717;padding:14px;color:#eee}
.c4-request-lesson p{margin:0 0 10px}.c4-request-lesson ol{margin:0;padding-left:22px}.c4-request-lesson li{padding:5px 0;line-height:1.5;font-size:13px}
.c4-ready-request{margin-top:12px;border:1px solid #66551e;background:#17130a;padding:14px}
.c4-ready-request>span{display:block;font-size:9px;font-weight:950;letter-spacing:.1em;text-transform:uppercase;color:#ffd64d;margin-bottom:8px}
.c4-ready-request p{margin:0;color:#f2f2f2;font-size:13px;line-height:1.6}
.c4-request-help{margin:11px 0 0;color:#bbb;font-size:12px;line-height:1.5}

.c4-ai-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}
.c4-ai-actions button,.c4-ai-actions a,.c4-workspace-actions button{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:46px;border:0;border-radius:0;text-decoration:none;font-size:10px;font-weight:950;letter-spacing:.08em;text-transform:uppercase;cursor:pointer;transition:transform .12s ease,box-shadow .12s ease,outline-color .12s ease}
.c4-ai-actions button{background:#fff;color:#111}
.c4-ai-actions a{background:#ef3e2f;color:#fff}
.c4-ai-actions button:not(:disabled):hover,.c4-ai-actions button:not(:disabled):focus-visible,.c4-ai-actions a:hover,.c4-ai-actions a:focus-visible,.c4-workspace-actions button:hover,.c4-workspace-actions button:focus-visible{outline:3px solid #ffd64d;outline-offset:2px;transform:translateY(-1px)}
.c4-ai-actions button:disabled{background:#4a4a4a;color:#aaa;cursor:not-allowed;opacity:1}

.c4-confirm{display:flex;align-items:flex-start;gap:11px;margin:0 0 14px;padding:14px;border:1px solid #454545;background:#151515;color:#fff}
.c4-confirm input{margin-top:3px;accent-color:#ef3e2f}
.c4-confirm strong{display:block;font-size:13px;line-height:1.35}.c4-confirm small{display:block;margin-top:4px;color:#aaa;font-size:11px;line-height:1.45}
.c4-field{display:block;color:#fff}.c4-field>span{display:block;font-size:11px;font-weight:900;letter-spacing:.04em;text-transform:uppercase;margin-bottom:8px}
.c4-field textarea{width:100%;box-sizing:border-box;border:1px solid #4b4b4b;background:#080808;color:#f1f1f1;padding:13px;font:500 13px/1.55 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;resize:vertical;min-height:120px}
.c4-field textarea:focus{outline:3px solid #ffd64d;outline-offset:2px;border-color:#ffd64d}
.c4-field small{display:block;color:#aaa;margin-top:7px;font-size:11px;line-height:1.45}

.c4-inspection-grid{display:grid;gap:8px;margin-bottom:14px}
.c4-inspection-grid label{display:flex;align-items:flex-start;gap:10px;border:1px solid #4a4a4a;background:#171717;padding:12px;color:#eee;font-size:13px;line-height:1.45}
.c4-inspection-grid input{margin-top:3px;accent-color:#ef3e2f}

.c4-summary{border:1px solid #4a4a4a;background:#090909;padding:14px}
.c4-summary>span{display:block;font-size:9px;font-weight:950;letter-spacing:.1em;text-transform:uppercase;color:#ffd64d}
.c4-summary h4{font:650 20px/1.1 Georgia,serif;margin:5px 0 12px;color:#fff}
.c4-summary dl{margin:0}.c4-summary dl div{display:grid;grid-template-columns:112px 1fr;gap:12px;padding:9px 0;border-top:1px solid #292929}
.c4-summary dt{font-size:9px;font-weight:950;letter-spacing:.07em;text-transform:uppercase;color:#999}.c4-summary dd{margin:0;color:#eee;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.c4-summary dd.empty{color:#777;font-style:italic}
.c4-workspace-actions{display:grid;grid-template-columns:1fr;margin-top:12px}
.c4-workspace-actions button{background:#ef3e2f;color:#fff;width:100%}
.c4-feedback{margin:12px 0 0;padding:11px 12px;border:1px solid #454545;background:#181818;color:#ddd;font-size:12px;font-weight:750;line-height:1.45}
.c4-feedback.good{border-color:#345a46;color:#9ee2b8}.c4-feedback.bad{border-color:#713f3a;color:#f0aaa2}
.c4-complete-artifact{margin-top:12px;padding:12px;border:1px solid #d9d2c8;background:#fff;color:#111}.c4-complete-artifact h4{margin:0 0 8px}.c4-complete-artifact p{margin:6px 0;line-height:1.5}

/* Explicit Course 4 control rendering: prevent raw browser buttons. */
#course04Main .academy-teacher-open,#course04Main .academy-hint-button,#course04Main .academy-teacher-code-jump,#course04Main .academy-teacher-actions button,#course04Main #module1TeacherClose,#course04Main #courseStartButton,#course04Main #railContinueButton,#course04Main #resetModule{appearance:none;-webkit-appearance:none;border-radius:0;font-family:inherit;cursor:pointer}
#course04Main .academy-hint-button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 14px}

#module1Learning.is-teacher-focus{overflow:auto}
#module1Learning.is-teacher-focus .academy-guided-shell{align-items:start}
#module1Learning.is-teacher-focus .academy-guided-instructions,#module1Learning.is-teacher-focus .academy-live-lab,#module1Learning.is-teacher-focus .c4-workspace{position:static;max-height:none;overflow:visible}
#module1Learning.is-teacher-focus .academy-teacher-head{position:static}
body.academy-teacher-mode{overflow:hidden}

@media(max-width:1100px){#course04Main .academy-guided-shell{grid-template-columns:minmax(320px,.9fr) minmax(460px,1.1fr)}}
@media(max-width:900px){#course04Main .academy-guided-shell{display:block}.c4-ai-actions{grid-template-columns:1fr}.c4-source-card pre{max-height:none}.c4-workspace{margin-top:18px}}
@media(max-width:760px){.c4-module-job{padding:20px;border-radius:18px}}
@media(max-width:520px){.c4-workspace{padding:14px}.c4-section-head{display:grid}.c4-carried{text-align:left}.c4-summary dl div{grid-template-columns:1fr;gap:4px}.c4-upcoming>span{padding:12px}}


/* Course 4 — Module 1: Audit & Fix Agents Open Book Test */
#course04Main .academy-guided-shell{grid-template-columns:minmax(380px,.92fr) minmax(500px,1.08fr);align-items:start}
.c4-open-book-note{display:flex;align-items:center;gap:12px;border:1px solid #111;background:#111;color:#fff;padding:12px 14px;margin:4px 0 2px}.c4-open-book-note strong{font-size:10px;letter-spacing:.11em;color:#ffd64d}.c4-open-book-note span{font-size:12px;line-height:1.45}
.c4-study-guide{display:grid;gap:12px;margin-top:2px}.c4-study-card{display:grid;grid-template-columns:34px 1fr;gap:12px;border:1px solid #ddd5ca;background:#faf8f4;padding:16px;color:#111}.c4-study-card>span{display:grid;place-items:center;width:30px;height:30px;background:#ef3e2f;color:#fff;font-size:11px;font-weight:950}.c4-study-card h4{margin:0 0 8px;font:700 18px/1.1 Georgia,serif}.c4-study-card p{margin:0 0 9px;line-height:1.56;font-size:13px}.c4-study-card p:last-child{margin-bottom:0}.c4-study-card .c4-plain{border-left:3px solid #ffd64d;padding-left:10px;color:#3d3d3d}.c4-duty-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.c4-duty-grid>div{border:1px solid #d8d0c5;background:#fff;padding:12px}.c4-duty-grid b{display:block;font-size:10px;letter-spacing:.08em;margin-bottom:7px}.c4-duty-grid ul{margin:0;padding-left:18px;display:grid;gap:4px;font-size:12px;line-height:1.4}
.c4-mistakes{border-left:4px solid #111;background:#f2eee8;padding:14px 16px;color:#111}.c4-mistakes strong{display:block;margin-bottom:8px}.c4-mistakes ul{margin:0;padding-left:20px;display:grid;gap:5px;font-size:12px;line-height:1.45}
.c4-test-card{border:1px solid #3f3f3f;background:#111;padding:16px;margin-top:14px}.c4-test-intro{margin:0 0 14px;color:#ddd;font-size:12px;line-height:1.55}.c4-test-card .c4-field{margin-top:16px}.c4-test-card .c4-field:first-of-type{margin-top:0}.c4-test-card textarea{min-height:118px}.c4-test-card textarea.is-good{border-color:#4f8b68}.c4-test-card textarea.is-needs-work{border-color:#8f5148}
.c4-complete-artifact{margin-top:12px;padding:12px;border:1px solid #d9d2c8;background:#fff;color:#111}.c4-complete-artifact h4{margin:0 0 8px}.c4-complete-artifact p{margin:6px 0;line-height:1.5}
#course04Main #module1TeacherClose,#course04Main #module1TeacherOpen,#course04Main #module1Hint,#course04Main #module1TeacherWork,#course04Main [data-c3m1-teacher-mode],#course04Main #c3CheckButton{appearance:none;-webkit-appearance:none;font-family:inherit;cursor:pointer}
#course04Main #c3CheckButton{display:inline-flex;align-items:center;justify-content:center;min-height:46px;border:0;border-radius:0;background:#ef3e2f;color:#fff;font-size:10px;font-weight:950;letter-spacing:.08em;text-transform:uppercase;width:100%}
#course04Main #c3CheckButton:hover,#course04Main #c3CheckButton:focus-visible{outline:3px solid #ffd64d;outline-offset:2px;transform:translateY(-1px)}
#module1Learning.is-teacher-focus{overflow:auto}#module1Learning.is-teacher-focus .academy-guided-shell{align-items:start}#module1Learning.is-teacher-focus .academy-guided-instructions,#module1Learning.is-teacher-focus .academy-live-lab,#module1Learning.is-teacher-focus .c4-workspace{position:static;max-height:none;overflow:visible}#module1Learning.is-teacher-focus .academy-teacher-head{position:static}
@media(max-width:900px){#course04Main .academy-guided-shell{display:block}.c4-workspace{margin-top:18px}.c4-duty-grid{grid-template-columns:1fr}}
@media(max-width:520px){.c4-study-card{grid-template-columns:1fr}.c4-study-card>span{width:28px;height:28px}.c4-open-book-note{align-items:flex-start}.c4-workspace{padding:14px}}


/* Course 4 — Module 2: How to Build Your Audit & Fix Agents */
#module2{scroll-margin-top:76px}
#module2[hidden]{display:none!important}
#module2Nav.c4-locked a{pointer-events:none;color:#777;background:transparent}
#module2Nav.c4-locked small{color:#999}
#module2Nav:not(.c4-locked) a{cursor:pointer}
#module2Nav.is-complete small{color:#28704a}
.c4-agent-structure{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.c4-agent-structure article{border:1px solid #d8d0c5;background:#faf8f4;padding:15px;color:#111}
.c4-agent-structure article>span{display:inline-block;background:#111;color:#ffd64d;padding:5px 8px;font-size:9px;font-weight:950;letter-spacing:.1em}
.c4-agent-structure h4{margin:10px 0 9px;font:700 18px/1.1 Georgia,serif}.c4-agent-structure ol{margin:0;padding-left:20px;display:grid;gap:6px;font-size:12px;line-height:1.45}
.c4-agent-build-card .c4-agent-result{margin-top:16px}.c4-agent-build-card .c4-agent-result textarea{min-height:230px}
.c4-agent-build-card .c4-ready-request p{white-space:pre-wrap}
#module2Learning.is-teacher-focus{overflow:auto}
#module2Learning.is-teacher-focus .academy-guided-shell{align-items:start}
#module2Learning.is-teacher-focus .academy-guided-instructions,#module2Learning.is-teacher-focus .academy-live-lab,#module2Learning.is-teacher-focus .c4-workspace{position:static;max-height:none;overflow:visible}
#module2Learning.is-teacher-focus .academy-teacher-head{position:static}
#course04Main #module2TeacherClose,#course04Main #module2TeacherOpen,#course04Main #module2Hint,#course04Main #module2TeacherWork,#course04Main [data-c3m2-teacher-mode],#course04Main #c3m2CopyAuditPrompt,#course04Main #c3m2CopyFixPrompt,#course04Main #c3m2CheckButton{appearance:none;-webkit-appearance:none;font-family:inherit;cursor:pointer}
#course04Main #c3m2CheckButton{display:inline-flex;align-items:center;justify-content:center;min-height:46px;border:0;border-radius:0;background:#ef3e2f;color:#fff;font-size:10px;font-weight:950;letter-spacing:.08em;text-transform:uppercase;width:100%}
#course04Main #c3m2CheckButton:hover,#course04Main #c3m2CheckButton:focus-visible{outline:3px solid #ffd64d;outline-offset:2px;transform:translateY(-1px)}
@media(max-width:900px){.c4-agent-structure{grid-template-columns:1fr}}


/* Course 4 — Module 3: How to Loop Your Audit & Fix Agents */
#module3{scroll-margin-top:76px}
#module3[hidden]{display:none!important}
#module3Nav.c4-locked a{pointer-events:none;color:#777;background:transparent}
#module3Nav.c4-locked small{color:#999}
#module3Nav:not(.c4-locked) a{cursor:pointer}
#module3Nav.is-complete small{color:#28704a}
.c4-loop-steps{display:grid;gap:10px;margin-top:4px}
.c4-loop-steps article{display:grid;grid-template-columns:34px 1fr;gap:12px;border:1px solid #d8d0c5;background:#faf8f4;padding:15px;color:#111}
.c4-loop-steps article>span{display:grid;place-items:center;width:30px;height:30px;background:#111;color:#ffd64d;font-size:11px;font-weight:950}
.c4-loop-steps h4{margin:0 0 7px;font:700 18px/1.1 Georgia,serif}.c4-loop-steps p{margin:0;font-size:12px;line-height:1.52}
.c4-loop-rule{border-left:4px solid #ef3e2f}.c4-loop-guardrails{margin-top:2px}
.c4-loop-lab-card .c4-ready-request p{white-space:pre-wrap}.c4-loop-result-card textarea{min-height:300px}
#module3Learning.is-teacher-focus{overflow:auto}
#module3Learning.is-teacher-focus .academy-guided-shell{align-items:start}
#module3Learning.is-teacher-focus .academy-guided-instructions,#module3Learning.is-teacher-focus .academy-live-lab,#module3Learning.is-teacher-focus .c4-workspace{position:static;max-height:none;overflow:visible}
#module3Learning.is-teacher-focus .academy-teacher-head{position:static}
#course04Main #module3TeacherClose,#course04Main #module3TeacherOpen,#course04Main #module3Hint,#course04Main #module3TeacherWork,#course04Main [data-c3m3-teacher-mode],#course04Main #c3m3CopyLoopPrompt,#course04Main #c3m3CheckButton{appearance:none;-webkit-appearance:none;font-family:inherit;cursor:pointer}
#course04Main #c3m3CheckButton{display:inline-flex;align-items:center;justify-content:center;min-height:46px;border:0;border-radius:0;background:#ef3e2f;color:#fff;font-size:10px;font-weight:950;letter-spacing:.08em;text-transform:uppercase;width:100%}
#course04Main #c3m3CheckButton:hover,#course04Main #c3m3CheckButton:focus-visible{outline:3px solid #ffd64d;outline-offset:2px;transform:translateY(-1px)}
@media(max-width:520px){.c4-loop-steps article{grid-template-columns:1fr}.c4-loop-steps article>span{width:28px;height:28px}}


/* Course 4 — Module 1 testing-preparation open book */
#course04Main #module1{scroll-margin-top:76px}
.c4-study-card .c4-why{margin-top:10px;padding-top:10px;border-top:1px solid #ded8cf}
.c4-study-card .c4-why b{font-size:10px;letter-spacing:.08em;text-transform:uppercase}
.c4-prep-chain{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:8px;margin:14px 0 0}
.c4-prep-chain div{min-height:84px;border:1px solid #d8d0c5;background:#fff;padding:11px;display:flex;flex-direction:column;justify-content:space-between}
.c4-prep-chain span{font-size:9px;font-weight:950;letter-spacing:.1em;color:#ef3e2f}.c4-prep-chain b{font-size:10px;line-height:1.25}
.c4-testing-note{margin-top:14px;border-left:4px solid #ef3e2f;background:#fff8e8;padding:13px 14px;font-size:12px;line-height:1.5}
.c4-testing-note strong{display:block;font-size:10px;letter-spacing:.08em;text-transform:uppercase;margin-bottom:4px}
.c4-answer-guide{margin:0 0 16px;padding:12px 14px;background:#f3efe8;border:1px solid #d8d0c5;color:#1a1a1a;font-size:12px;line-height:1.5}
.c4-answer-guide strong{display:block;color:#111;font-size:10px;text-transform:uppercase;letter-spacing:.08em;margin-bottom:4px}
.c4-answer-guide span{color:#333}
.c4-source-card details{margin-top:8px}
@media(max-width:900px){.c4-prep-chain{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.c4-prep-chain{grid-template-columns:1fr}}


/* Course 4 — Module 2 testing discipline open book */
#module2{scroll-margin-top:76px}
#module2[hidden]{display:none!important}
#module2Nav.c4-locked a{pointer-events:none;color:#777;background:transparent}
#module2Nav.c4-locked small{color:#999}
#module2Nav:not(.c4-locked) a{cursor:pointer}
#module2Nav.is-complete small{color:#28704a}
.c4-test-flow{display:grid;grid-template-columns:repeat(auto-fit,minmax(80px,1fr));gap:7px;margin:14px 0 0}
.c4-test-flow div{min-height:82px;border:1px solid #d8d0c5;background:#fff;padding:10px;display:flex;flex-direction:column;justify-content:space-between}
.c4-test-flow span{font-size:9px;font-weight:950;letter-spacing:.1em;color:#ef3e2f}.c4-test-flow b{font-size:10px;line-height:1.2}
.c4-next-module{margin-top:14px}
#module2Learning.is-teacher-focus{overflow:auto}
#module2Learning.is-teacher-focus .academy-guided-shell{align-items:start}
#module2Learning.is-teacher-focus .academy-guided-instructions,#module2Learning.is-teacher-focus .academy-live-lab,#module2Learning.is-teacher-focus .c4-workspace{position:static;max-height:none;overflow:visible}
#module2Learning.is-teacher-focus .academy-teacher-head{position:static}
#course04Main #module2TeacherClose,#course04Main #module2TeacherOpen,#course04Main #module2Hint,#course04Main #module2TeacherWork,#course04Main [data-c4m2-teacher-mode],#course04Main #c4m2CheckButton{appearance:none;-webkit-appearance:none;font-family:inherit;cursor:pointer}
#course04Main #c4m2CheckButton{display:inline-flex;align-items:center;justify-content:center;min-height:46px;border:0;border-radius:0;background:#ef3e2f;color:#fff;font-size:10px;font-weight:950;letter-spacing:.08em;text-transform:uppercase;width:100%}
#course04Main #c4m2CheckButton:hover,#course04Main #c4m2CheckButton:focus-visible{outline:3px solid #ffd64d;outline-offset:2px;transform:translateY(-1px)}
@media(max-width:1050px){.c4-test-flow{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:700px){.c4-test-flow{grid-template-columns:1fr 1fr}}
@media(max-width:420px){.c4-test-flow{grid-template-columns:1fr}}


/* Course 4 Module 1 — explicit open-book copy answers */
#course04Main .c4-copy-answer{margin:12px 0 0;padding:12px 13px;border:1px solid #9b7b00;background:#fff4bd;color:#111;line-height:1.55;overflow-wrap:anywhere;word-break:normal}
#course04Main .c4-copy-answer b{display:block;margin:0 0 5px;color:#111;font-size:10px;line-height:1.35;letter-spacing:.07em;text-transform:uppercase}
#course04Main .c4-copy-answer span{display:block;color:#111;font-size:12px;line-height:1.55;letter-spacing:normal}
#course04Main #module1 .c4-test-card textarea{min-height:150px;color:#f7f7f7;background:#171717;border-color:#5f5f5f;line-height:1.55;overflow-wrap:anywhere}
#course04Main #module1 .c4-field>span,#course04Main #module1 .c4-field small{overflow-wrap:anywhere;word-break:normal}

/* Course 4 readability ownership — high contrast across navigation, headers, tests */
#course04Main .academy-primary-cta,
#course04Main .academy-rail-continue,
#course04Main .c4-workspace-actions button,
#course04Main #c4m2CheckButton{background:#a61f17;border-color:#a61f17;color:#fff}
#course04Main .academy-primary-cta:hover,#course04Main .academy-primary-cta:focus-visible,
#course04Main .academy-rail-continue:hover,#course04Main .academy-rail-continue:focus-visible,
#course04Main .c4-workspace-actions button:hover,#course04Main .c4-workspace-actions button:focus-visible,
#course04Main #c4m2CheckButton:hover,#course04Main #c4m2CheckButton:focus-visible{background:#86180f;border-color:#86180f;color:#fff}
#course04Main .academy-course-actions>span{color:#d0cbc2}
#course04Main .academy-course-meta b{color:#bbb5ac}
#course04Main .academy-module-list li>a>span,
#course04Main .academy-module-list li>span>i{color:#bcb6ad}
#course04Main .academy-module-list small{color:#aaa49b}
#course04Main .academy-module-list li.active>a>span{color:#ff6a5d}
#course04Main .academy-module-list li.active small{color:#c8c2b9}
#course04Main .academy-reset{color:#bdb7ae}
#course04Main .academy-module-number{color:#4a443e}
#course04Main .academy-module-number b{color:#171512}
#course04Main .academy-module-head .academy-kicker{color:#4a443e}
#course04Main .academy-step-count{color:#8f1f16}
#course04Main .c4-prep-chain span,#course04Main .c4-test-flow span{color:#8f1f16}
#course04Main .c4-study-card>span{background:#8f1f16;color:#fff}
#course04Main .c4-summary dd.empty{color:#aaa}
#course04Main .academy-course-banner h1 em{color:#f1eee6;-webkit-text-stroke:0}
#course04Main .academy-course-banner-mark span:nth-child(3){color:#c9c3ba;-webkit-text-stroke:0}

/* Course 4 Module 2 simple open-book copy/paste hardening — 2026-09-11 */
#course04Main #module2 .c4-study-card,#course04Main #module2 .c4-study-card *{min-width:0;box-sizing:border-box}
#course04Main #module2 .c4-study-card h4,#course04Main #module2 .c4-study-card p,#course04Main #module2 .c4-study-card span,#course04Main #module2 .c4-field>span,#course04Main #module2 .c4-field small{overflow-wrap:anywhere;word-break:normal}
#course04Main #module2 .c4-field>span{line-height:1.45;margin-bottom:9px}
#course04Main #module2 .c4-field textarea{line-height:1.6;min-height:124px}
#course04Main #module2 .c4-summary dt,#course04Main #module2 .c4-summary dd{line-height:1.45}

/* Course 4 Module 2 — keep the large display title readable without compressed lines. */
#course04Main #module2 .academy-module-title h2,
#course04Main #module2 .academy-module-title h2 em{line-height:1.12}
