/* Course 3 — Module 1 combined: Start the Build + Follow the Foundation Exactly */
#course03Main .academy-guided-shell{grid-template-columns:minmax(340px,.82fr) minmax(520px,1.18fr);align-items:start}
#course03Main .academy-module-head{scroll-margin-top:80px}
#course03Main button,#course03Main a{font-family:inherit}
#course03Main button{-webkit-appearance:none;appearance:none}
#course03Main button:disabled{cursor:not-allowed;opacity:.48}

.c3-upcoming>span{display:grid;grid-template-columns:34px 1fr;gap:10px;align-items:center;padding:14px 16px;border-top:1px solid #e5ded4;color:#777}
.c3-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}
.c3-upcoming b{font-size:12px;line-height:1.25}.c3-upcoming small{grid-column:2;font-size:9px;letter-spacing:.07em;text-transform:uppercase;color:#999;margin-top:-6px}


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

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

.c3-source-card,.c3-request-card,.c3-build-card,.c3-review-card,.c3-final-card{border:1px solid #3f3f3f;background:#111;padding:16px;margin-top:14px}
.c3-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}
.c3-section-head>div>span{display:block;font-size:9px;font-weight:900;letter-spacing:.1em;text-transform:uppercase;color:#aaa}
.c3-section-head strong{display:block;margin-top:4px;font:650 20px/1.08 Georgia,serif;color:#fff}
.c3-carried{font-size:9px;font-weight:900;letter-spacing:.07em;text-transform:uppercase;color:#ffd64d;text-align:right}
.c3-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}
.c3-status.good{border-color:#345a46;color:#9ee2b8}
.c3-status.bad{border-color:#713f3a;color:#f0aaa2}
.c3-source-card details{border-top:1px solid #2f2f2f;border-bottom:1px solid #2f2f2f;padding:10px 0}
.c3-source-card summary{cursor:pointer;color:#f0f0f0;font-size:12px;font-weight:850;letter-spacing:.02em}
.c3-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}

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

.c3-ai-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}
.c3-ai-actions button,.c3-ai-actions a,.c3-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}
.c3-ai-actions button{background:#fff;color:#111}
.c3-ai-actions a{background:#ef3e2f;color:#fff}
.c3-ai-actions button:not(:disabled):hover,.c3-ai-actions button:not(:disabled):focus-visible,.c3-ai-actions a:hover,.c3-ai-actions a:focus-visible,.c3-workspace-actions button:hover,.c3-workspace-actions button:focus-visible{outline:3px solid #ffd64d;outline-offset:2px;transform:translateY(-1px)}
.c3-ai-actions button:disabled{background:#4a4a4a;color:#aaa;cursor:not-allowed;opacity:1}

.c3-confirm{display:flex;align-items:flex-start;gap:11px;margin:0 0 14px;padding:14px;border:1px solid #454545;background:#151515;color:#fff}
.c3-confirm input{margin-top:3px;accent-color:#ef3e2f}
.c3-confirm strong{display:block;font-size:13px;line-height:1.35}.c3-confirm small{display:block;margin-top:4px;color:#aaa;font-size:11px;line-height:1.45}
.c3-field{display:block;color:#fff}.c3-field>span{display:block;font-size:11px;font-weight:900;letter-spacing:.04em;text-transform:uppercase;margin-bottom:8px}
.c3-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}
.c3-field textarea:focus{outline:3px solid #ffd64d;outline-offset:2px;border-color:#ffd64d}
.c3-field small{display:block;color:#aaa;margin-top:7px;font-size:11px;line-height:1.45}

.c3-inspection-grid{display:grid;gap:8px;margin-bottom:14px}
.c3-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}
.c3-inspection-grid input{margin-top:3px;accent-color:#ef3e2f}

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

/* Explicit Course 3 control rendering: prevent raw browser buttons. */
#course03Main .academy-teacher-open,#course03Main .academy-hint-button,#course03Main .academy-teacher-code-jump,#course03Main .academy-teacher-actions button,#course03Main #module1TeacherClose,#course03Main #courseStartButton,#course03Main #railContinueButton,#course03Main #resetModule{appearance:none;-webkit-appearance:none;border-radius:0;font-family:inherit;cursor:pointer}
#course03Main .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 .c3-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){#course03Main .academy-guided-shell{grid-template-columns:minmax(320px,.9fr) minmax(460px,1.1fr)}}
@media(max-width:900px){#course03Main .academy-guided-shell{display:block}.c3-ai-actions{grid-template-columns:1fr}.c3-source-card pre{max-height:none}.c3-workspace{margin-top:18px}}
@media(max-width:760px){.c3-module-job{padding:20px;border-radius:18px}}
@media(max-width:520px){.c3-workspace{padding:14px}.c3-section-head{display:grid}.c3-carried{text-align:left}.c3-summary dl div{grid-template-columns:1fr;gap:4px}.c3-upcoming>span{padding:12px}}


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


/* Course 3 — Module 2: How to Build Your Audit & Fix Agents */
#module2{scroll-margin-top:76px}
#module2[hidden]{display:none!important}
#module2Nav.c3-locked a{pointer-events:none;color:#777;background:transparent}
#module2Nav.c3-locked small{color:#999}
#module2Nav:not(.c3-locked) a{cursor:pointer}
#module2Nav.is-complete small{color:#28704a}
.c3-agent-structure{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.c3-agent-structure article{border:1px solid #d8d0c5;background:#faf8f4;padding:15px;color:#111}
.c3-agent-structure article>span{display:inline-block;background:#111;color:#ffd64d;padding:5px 8px;font-size:9px;font-weight:950;letter-spacing:.1em}
.c3-agent-structure h4{margin:10px 0 9px;font:700 18px/1.1 Georgia,serif}.c3-agent-structure ol{margin:0;padding-left:20px;display:grid;gap:6px;font-size:12px;line-height:1.45}
.c3-agent-build-card .c3-agent-result{margin-top:16px}.c3-agent-build-card .c3-agent-result textarea{min-height:230px}
.c3-agent-build-card .c3-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 .c3-workspace{position:static;max-height:none;overflow:visible}
#module2Learning.is-teacher-focus .academy-teacher-head{position:static}
#course03Main #module2TeacherClose,#course03Main #module2TeacherOpen,#course03Main #module2Hint,#course03Main #module2TeacherWork,#course03Main [data-c3m2-teacher-mode]{appearance:none;-webkit-appearance:none;font-family:inherit;cursor:pointer}
@media(max-width:900px){.c3-agent-structure{grid-template-columns:1fr}}


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

.c3-next-course{display:inline-flex!important;align-items:center;justify-content:center;text-decoration:none;margin-top:8px;min-height:46px;padding:0 18px}

/* Course 3 — Module 1 guided Audit & Fix example — 2026-09-11 */
#course03Main #module1 .academy-module-number{color:#4a443e}
#course03Main #module1 .academy-module-number b{color:#171512}
#course03Main #module1 .academy-kicker span{color:#4a443e}
#course03Main #module1 .academy-module-title h2,#course03Main #module1 .academy-module-title h2 em{color:#171512}
#course03Main #module1 .academy-module-title>p{color:#3f3b36}
#course03Main #module1 .academy-step-count{color:#8f1f16;letter-spacing:.08em;line-height:1.35}
#course03Main #module1 .academy-guided-instructions{min-width:0}
#course03Main #module1 .c3m1-job>h3{color:#171512;line-height:1.18}
#course03Main #module1 .c3m1-job>p{color:#34302c}
.c3m1-role-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;margin-top:2px}
.c3m1-role-grid article{display:grid;grid-template-columns:38px minmax(0,1fr);gap:12px;align-items:start;border:1px solid #d8d0c5;background:#faf8f4;padding:16px;color:#171512;min-width:0;overflow:hidden}
.c3m1-role-grid article>div{min-width:0}
.c3m1-role-grid article>span,.c3m1-demo-steps article>span{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#171512;color:#ffd64d;font-size:12px;font-weight:950;line-height:1.25;letter-spacing:0}
.c3m1-role-grid h4{margin:0 0 8px;font:700 18px/1.2 Georgia,serif;color:#171512;max-width:100%;overflow-wrap:anywhere;word-break:normal}
.c3m1-role-grid p{margin:0;font-size:13px;line-height:1.62;color:#34302c;max-width:100%;overflow-wrap:anywhere;word-break:normal}
.c3m1-flow{display:flex;flex-wrap:wrap;align-items:center;gap:9px 11px;border:1px solid #2b2b2b;background:#171717;color:#fff;padding:14px 16px;line-height:1.4}
.c3m1-flow b{font-size:10px;letter-spacing:.06em;color:#fff;white-space:nowrap}
.c3m1-flow i{font-style:normal;color:#ffd64d;font-weight:950;line-height:1.35}
.c3m1-remember{border-left:4px solid #8f1f16;background:#f2eee8;color:#171512;padding:14px 16px}
.c3m1-remember strong{display:block;margin-bottom:8px;color:#171512}
.c3m1-remember ul{margin:0;padding-left:20px;display:grid;gap:7px;font-size:13px;line-height:1.52;color:#34302c}

#course03Main #module1TeacherPanel .academy-teacher-head span,#course03Main #module1TeacherPanel .academy-teacher-kicker{color:#8f1f16}
#course03Main #module1TeacherPanel .academy-teacher-head h3,#course03Main #module1TeacherPanel .academy-teacher-content h4{color:#171512}
#course03Main #module1TeacherPanel .academy-teacher-promise,#course03Main #module1TeacherPanel .academy-teacher-content p,#course03Main #module1TeacherPanel .academy-teacher-steps{color:#34302c}
#course03Main #module1TeacherPanel .academy-teacher-code-jump{background:#8f1f16;color:#fff;border-color:#8f1f16}
#course03Main #module1TeacherPanel .academy-teacher-actions button{color:#171512}
#course03Main #module1TeacherPanel .academy-teacher-actions button.active{background:#171512;color:#fff}

.c3m1-source-card{min-width:0}
.c3m1-readonly-field{display:grid;gap:8px;margin-top:14px;min-width:0}
.c3m1-readonly-field>span{font-size:10px;font-weight:900;letter-spacing:.07em;text-transform:uppercase;color:#f2f2f2;line-height:1.4}
.c3m1-readonly-field textarea{display:block;width:100%;resize:vertical;box-sizing:border-box;border:1px solid #666;background:#1b1b1b;color:#fff;padding:14px 15px;font:500 13px/1.62 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;overflow:auto;overflow-wrap:anywhere;white-space:pre-wrap}
#c3Foundation{min-height:560px}
#c3HardRules{min-height:420px}
#c3BuildHandoff{min-height:620px}

.c3m1-demo-card{border:1px solid #3f3f3f;background:#111;padding:16px;margin-top:14px;color:#fff}
.c3m1-demo-note{margin:0 0 14px;padding:12px 13px;border:1px solid #66551e;background:#17130a;color:#f2f2f2;font-size:12px;line-height:1.58}
.c3m1-demo-note strong{color:#ffd64d}
.c3m1-demo-steps{display:grid;gap:10px}
.c3m1-demo-steps article{display:grid;grid-template-columns:38px minmax(0,1fr);gap:12px;align-items:start;border:1px solid #414141;background:#181818;padding:14px;color:#fff;min-width:0}
.c3m1-demo-steps h4{margin:0 0 7px;font:700 18px/1.22 Georgia,serif;color:#fff}
.c3m1-demo-steps p{margin:0 0 9px;font-size:13px;line-height:1.58;color:#e7e7e7}
.c3m1-demo-steps b{display:block;font-size:10px;line-height:1.5;letter-spacing:.04em;color:#ffd64d;overflow-wrap:anywhere}
.c3m1-final-card{min-width:0}
.c3m1-summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.c3m1-summary-grid>div{display:grid;gap:6px;border:1px solid #414141;background:#181818;padding:13px;min-width:0}
.c3m1-summary-grid b{font-size:11px;line-height:1.35;color:#ffd64d;letter-spacing:.03em}
.c3m1-summary-grid span{font-size:12px;line-height:1.55;color:#f0f0f0}
#course03Main #c3m1UnderstandButton{display:inline-flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:52px;border:0;background:#ffd64d;color:#111;padding:12px 18px;font-size:11px;font-weight:950;line-height:1.35;letter-spacing:.04em;text-transform:uppercase;cursor:pointer}
#course03Main #c3m1UnderstandButton:hover,#course03Main #c3m1UnderstandButton:focus-visible{outline:3px solid #fff;outline-offset:2px;transform:translateY(-1px)}
#course03Main #module1Feedback{color:#e8e8e8;line-height:1.55}
#course03Main #module1Feedback.good{color:#9ee2b8}
#course03Main #module1Feedback.bad{color:#f0aaa2}
#course03Main #module1 .c3-status{color:#e4e4e4}
#course03Main #module1 .c3-status.good{color:#b6edc8}
#course03Main #module1 .c3-status.bad{color:#ffc0b9}
#course03Main #module1 .c3-section-head>div>span{color:#bdbdbd}
#course03Main #module1 .c3-section-head strong{color:#fff;line-height:1.2}
#course03Main #module1 .c3-carried{color:#ffd64d;line-height:1.4}
#course03Main #module1 .c3-save{color:#b6edc8!important;line-height:1.4!important}
#course03Main #module1 .c3-workspace-head span:first-child{color:#bdbdbd}
#course03Main #module1 .c3-workspace-head strong{color:#fff;line-height:1.2}

@media(max-width:900px){.c3m1-role-grid,.c3m1-summary-grid{grid-template-columns:1fr}#c3Foundation{min-height:500px}#c3HardRules{min-height:380px}#c3BuildHandoff{min-height:540px}}
@media(max-width:520px){.c3m1-role-grid article,.c3m1-demo-steps article{grid-template-columns:1fr}.c3m1-role-grid article>span,.c3m1-demo-steps article>span{width:32px;height:32px}.c3m1-flow{gap:8px}.c3m1-readonly-field textarea{font-size:12px;padding:12px}#c3Foundation{min-height:460px}#c3HardRules{min-height:350px}#c3BuildHandoff{min-height:500px}}

/* Agent 9 typography repair — keep Module 1 words and numbers comfortably separated */
#course03Main #module1 .academy-module-title h2,#course03Main #module1 .academy-module-title h2 em{letter-spacing:0;line-height:1.16}
#course03Main #module1 .academy-module-number b{line-height:1.2;letter-spacing:0}


/* Course 3 — Module 2 guided Audit & Fix Agent build — 2026-09-11 */
#course03Main #module2 .academy-module-number{color:#4a443e}
#course03Main #module2 .academy-module-number b{color:#171512;line-height:1.2;letter-spacing:0}
#course03Main #module2 .academy-kicker span{color:#4a443e}
#course03Main #module2 .academy-module-title h2,#course03Main #module2 .academy-module-title h2 em{color:#171512;letter-spacing:0;line-height:1.16}
#course03Main #module2 .academy-module-title>p{color:#3f3b36}
#course03Main #module2 .academy-step-count{color:#8f1f16;letter-spacing:.08em;line-height:1.35}
#course03Main #module2 .academy-guided-instructions{min-width:0}
#course03Main #module2 .c3m2-job>h3{color:#171512;line-height:1.18}
#course03Main #module2 .c3m2-job>p{color:#34302c}
.c3m2-build-flow{display:grid;gap:10px}
.c3m2-build-flow article{display:grid;grid-template-columns:38px minmax(0,1fr);gap:12px;align-items:start;border:1px solid #d8d0c5;background:#faf8f4;padding:14px;color:#171512;min-width:0;overflow:hidden}
.c3m2-build-flow article>span{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#171512;color:#ffd64d;font-size:12px;font-weight:950;line-height:1.25;letter-spacing:0}
.c3m2-build-flow article>div{min-width:0}.c3m2-build-flow h4{margin:0 0 7px;font:700 18px/1.22 Georgia,serif;color:#171512;overflow-wrap:anywhere}.c3m2-build-flow p{margin:0;font-size:13px;line-height:1.58;color:#34302c;overflow-wrap:anywhere}
#course03Main #module2 .c3-agent-structure{grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:12px}
#course03Main #module2 .c3-agent-structure article{min-width:0;overflow:hidden}
#course03Main #module2 .c3-agent-structure h4{line-height:1.2;color:#171512;overflow-wrap:anywhere}
#course03Main #module2 .c3-agent-structure ol{color:#34302c;line-height:1.55}
.c3m2-remember{border-left:4px solid #8f1f16;background:#f2eee8;color:#171512;padding:14px 16px}.c3m2-remember strong{display:block;margin-bottom:7px}.c3m2-remember p{margin:0;color:#34302c;line-height:1.55}
#course03Main #module2TeacherPanel .academy-teacher-head span,#course03Main #module2TeacherPanel .academy-teacher-kicker{color:#8f1f16}
#course03Main #module2TeacherPanel .academy-teacher-head h3,#course03Main #module2TeacherPanel .academy-teacher-content h4{color:#171512}
#course03Main #module2TeacherPanel .academy-teacher-promise,#course03Main #module2TeacherPanel .academy-teacher-content p,#course03Main #module2TeacherPanel .academy-teacher-steps{color:#34302c}
#course03Main #module2TeacherPanel .academy-teacher-code-jump{background:#8f1f16;color:#fff;border-color:#8f1f16}
#course03Main #module2TeacherPanel .academy-teacher-actions button{color:#171512}
#course03Main #module2TeacherPanel .academy-teacher-actions button.active{background:#171512;color:#fff}
.c3m2-workspace{min-width:0}.c3m2-source-card,.c3m2-agent-card,.c3m2-review-card,.c3m2-final-card{min-width:0}
.c3m2-agent-card{border:1px solid #3f3f3f;background:#111;padding:16px;margin-top:14px;color:#fff}
.c3m2-readonly-field{display:grid;gap:8px;margin-top:14px;min-width:0}
.c3m2-readonly-field>span{font-size:10px;font-weight:900;letter-spacing:.07em;text-transform:uppercase;color:#f2f2f2;line-height:1.4}
.c3m2-readonly-field textarea{display:block;width:100%;resize:vertical;box-sizing:border-box;border:1px solid #666;background:#1b1b1b;color:#fff;padding:14px 15px;font:500 13px/1.62 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;overflow:auto;overflow-wrap:anywhere;white-space:pre-wrap}
#c3m2Foundation{min-height:560px}#c3m2HardRules{min-height:420px}#c3m2BuildHandoff{min-height:620px}#c3m2Knowledge{min-height:430px}.c3m2-agent-field textarea{min-height:690px}
.c3m2-agent-why{border:1px solid #66551e;background:#17130a;padding:12px 13px;color:#f2f2f2}.c3m2-agent-why b{display:block;margin-bottom:6px;color:#ffd64d;font-size:11px;line-height:1.4}.c3m2-agent-why p{margin:0;color:#f2f2f2;font-size:12px;line-height:1.58}
.c3m2-rule-grid,.c3m2-summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.c3m2-rule-grid>div,.c3m2-summary-grid>div{display:grid;gap:6px;border:1px solid #414141;background:#181818;padding:13px;min-width:0}
.c3m2-rule-grid b,.c3m2-summary-grid b{font-size:11px;line-height:1.4;color:#ffd64d;letter-spacing:.02em}
.c3m2-rule-grid span,.c3m2-summary-grid span{font-size:12px;line-height:1.55;color:#f0f0f0;overflow-wrap:anywhere}
#course03Main #c3m2UnderstandButton{display:inline-flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:52px;border:0;background:#ffd64d;color:#111;padding:12px 18px;font-size:11px;font-weight:950;line-height:1.35;letter-spacing:.04em;text-transform:uppercase;cursor:pointer}
#course03Main #c3m2UnderstandButton:hover,#course03Main #c3m2UnderstandButton:focus-visible{outline:3px solid #fff;outline-offset:2px;transform:translateY(-1px)}
#course03Main #module2Feedback{color:#e8e8e8;line-height:1.55}#course03Main #module2Feedback.good{color:#9ee2b8}#course03Main #module2Feedback.bad{color:#f0aaa2}
#course03Main #module2 .c3-status{color:#e4e4e4}#course03Main #module2 .c3-status.good{color:#b6edc8}#course03Main #module2 .c3-status.bad{color:#ffc0b9}
#course03Main #module2 .c3-section-head>div>span{color:#bdbdbd}#course03Main #module2 .c3-section-head strong{color:#fff;line-height:1.2}#course03Main #module2 .c3-carried{color:#ffd64d;line-height:1.4}#course03Main #module2 .c3-save{color:#b6edc8!important;line-height:1.4!important}#course03Main #module2 .c3-workspace-head span:first-child{color:#bdbdbd}#course03Main #module2 .c3-workspace-head strong{color:#fff;line-height:1.2}
@media(max-width:900px){.c3m2-rule-grid,.c3m2-summary-grid{grid-template-columns:1fr}#c3m2Foundation{min-height:500px}#c3m2HardRules{min-height:380px}#c3m2BuildHandoff{min-height:540px}#c3m2Knowledge{min-height:390px}.c3m2-agent-field textarea{min-height:620px}}
@media(max-width:520px){.c3m2-build-flow article{grid-template-columns:1fr}.c3m2-build-flow article>span{width:32px;height:32px}.c3m2-readonly-field textarea{font-size:12px;padding:12px}#c3m2Foundation{min-height:460px}#c3m2HardRules{min-height:350px}#c3m2BuildHandoff{min-height:500px}#c3m2Knowledge{min-height:360px}.c3m2-agent-field textarea{min-height:560px}}


/* Course 3 Module 3 — guided automatic loop teaching */
#course03Main #module3 .academy-module-number{color:#4a443e}
#course03Main #module3 .academy-module-number b{color:#171512}
#course03Main #module3 .academy-kicker,#course03Main #module3 .academy-kicker span{color:#4a443e}
#course03Main #module3 .academy-module-title h2,#course03Main #module3 .academy-module-title h2 em{color:#171512}
#course03Main #module3 .academy-module-title p{color:#34302c}
#course03Main #module3 .academy-step-count{color:#8f1f16}
#course03Main #module3 .academy-module-job h3{color:#171512;line-height:1.18;overflow-wrap:anywhere}
#course03Main #module3 .academy-module-job>p{color:#34302c;line-height:1.62}
#course03Main #module3 .c3m3-loop-rule{border-left:4px solid #8f1f16;background:#faf8f4;color:#171512}
#course03Main #module3 .c3m3-loop-rule p{color:#34302c;line-height:1.62}
#course03Main #module3 .c3m3-loop-rule b,#course03Main #module3 .c3m3-loop-rule strong{color:#171512}
.c3m3-loop-steps{display:grid;gap:10px;margin-top:14px}
.c3m3-loop-steps article{display:grid;grid-template-columns:38px minmax(0,1fr);gap:12px;align-items:start;border:1px solid #d8d0c5;background:#faf8f4;padding:14px;color:#171512;min-width:0}
.c3m3-loop-steps article>span{display:flex;align-items:center;justify-content:center;width:34px;height:34px;background:#171512;color:#ffd64d;font-size:12px;font-weight:950;line-height:1.2}
.c3m3-loop-steps h4{margin:1px 0 6px;color:#171512;font:700 17px/1.24 Georgia,serif;overflow-wrap:anywhere}
.c3m3-loop-steps p{margin:0;color:#34302c;font-size:12px;line-height:1.58;overflow-wrap:anywhere}
.c3m3-remember{margin-top:14px;border:1px solid #d8d0c5;background:#fff7d9;padding:14px;color:#171512}
.c3m3-remember strong{display:block;margin-bottom:7px;color:#171512}.c3m3-remember ul{margin:0;padding-left:20px;display:grid;gap:6px}.c3m3-remember li{color:#34302c;line-height:1.5}
#course03Main #module3TeacherPanel .academy-teacher-head span,#course03Main #module3TeacherPanel .academy-teacher-kicker{color:#8f1f16}
#course03Main #module3TeacherPanel .academy-teacher-head h3,#course03Main #module3TeacherPanel .academy-teacher-content h4{color:#171512}
#course03Main #module3TeacherPanel .academy-teacher-promise,#course03Main #module3TeacherPanel .academy-teacher-content p,#course03Main #module3TeacherPanel .academy-teacher-steps{color:#34302c}
#course03Main #module3TeacherPanel .academy-teacher-code-jump{background:#8f1f16;color:#fff;border-color:#8f1f16}
#course03Main #module3TeacherPanel .academy-teacher-actions button{color:#171512}
#course03Main #module3TeacherPanel .academy-teacher-actions button.active{background:#171512;color:#fff}
.c3m3-workspace{min-width:0}.c3m3-source-card,.c3m3-demo-card,.c3m3-report-card,.c3m3-rules-card,.c3m3-summary-card,.c3m3-understand-card{min-width:0}
.c3m3-source-card details{margin-top:10px;border:1px solid #3f3f3f;background:#111;color:#fff}.c3m3-source-card summary{cursor:pointer;padding:11px 12px;color:#fff;font-size:11px;font-weight:900;line-height:1.4}.c3m3-source-card details[open] summary{border-bottom:1px solid #3f3f3f}
.c3m3-readonly-field{min-width:0}.c3m3-readonly-field textarea{display:block;width:100%;resize:vertical;box-sizing:border-box;border:0;background:#1b1b1b;color:#fff;padding:14px 15px;font:500 13px/1.62 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;overflow:auto;overflow-wrap:anywhere;white-space:pre-wrap}
#c3m3Foundation{min-height:560px}#c3m3HardRules{min-height:420px}#c3m3BuildState{min-height:620px}.c3m3-agent-field textarea{min-height:690px}.c3m3-loop-field textarea{min-height:620px}.c3m3-rules-field textarea{min-height:430px}
.c3m3-demo-card,.c3m3-report-card,.c3m3-rules-card,.c3m3-summary-card,.c3m3-understand-card{border:1px solid #3f3f3f;background:#111;padding:16px;margin-top:14px;color:#fff}
.c3m3-demo-note{border:1px solid #66551e;background:#17130a;padding:11px 12px;color:#f2f2f2;font-size:12px;line-height:1.58}.c3m3-demo-note strong{color:#ffd64d}
.c3m3-rounds{display:grid;gap:10px;margin-top:12px}.c3m3-rounds article{display:grid;grid-template-columns:78px minmax(0,1fr);gap:12px;border:1px solid #444;background:#1b1b1b;padding:13px;min-width:0}.c3m3-rounds article>span{align-self:start;background:#ffd64d;color:#111;padding:7px 8px;text-align:center;font-size:10px;font-weight:950;line-height:1.35;letter-spacing:.05em}.c3m3-rounds h4{margin:0 0 6px;color:#fff;font-size:14px;line-height:1.35;overflow-wrap:anywhere}.c3m3-rounds p{margin:0;color:#e8e8e8;font-size:12px;line-height:1.58;overflow-wrap:anywhere}
.c3m3-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.c3m3-summary-grid article{border:1px solid #444;background:#1b1b1b;padding:13px;min-width:0}.c3m3-summary-grid b{display:block;color:#ffd64d;font-size:11px;line-height:1.4;margin-bottom:6px}.c3m3-summary-grid p{margin:0;color:#e8e8e8;font-size:12px;line-height:1.58;overflow-wrap:anywhere}
.c3m3-understand-button{width:100%;min-height:48px}.c3m3-understand-card>p{margin:10px 0 0;color:#e8e8e8;font-size:12px;line-height:1.58}.c3m3-understand-card #module3Feedback{color:#e8e8e8}.c3m3-understand-card #module3Feedback.good{color:#9fffc5}.c3m3-understand-card #module3Feedback.bad{color:#ffb1a8}
#course03Main #module3 .c3-status.good{color:#9fffc5}#course03Main #module3 .c3-status.bad{color:#ffb1a8}
#course03Main #module3 .c3-section-head span{color:#d5d5d5}#course03Main #module3 .c3-section-head strong{color:#fff}#course03Main #module3 .c3-carried{color:#ffd64d}
#course03Main #module3Complete .c3-complete-artifact{display:grid;gap:4px}#course03Main #module3Complete .c3-complete-artifact p{overflow-wrap:anywhere}
@media(max-width:900px){.c3m3-summary-grid{grid-template-columns:1fr}#c3m3Foundation{min-height:500px}#c3m3HardRules{min-height:380px}#c3m3BuildState{min-height:540px}.c3m3-agent-field textarea{min-height:620px}.c3m3-loop-field textarea{min-height:560px}.c3m3-rules-field textarea{min-height:390px}}
@media(max-width:520px){.c3m3-loop-steps article,.c3m3-rounds article{grid-template-columns:1fr}.c3m3-loop-steps article>span{width:32px;height:32px}.c3m3-rounds article>span{justify-self:start}.c3m3-readonly-field textarea{font-size:12px;padding:12px}#c3m3Foundation{min-height:460px}#c3m3HardRules{min-height:350px}#c3m3BuildState{min-height:500px}.c3m3-agent-field textarea{min-height:560px}.c3m3-loop-field textarea{min-height:520px}.c3m3-rules-field textarea{min-height:360px}}

/* Agent 9 readability repair — Module 3 only */
#course03Main #module3 .academy-module-title h2,#course03Main #module3 .academy-module-title h2 em{line-height:1.12;letter-spacing:0}
#course03Main #module3 .academy-module-number b{line-height:1.15;letter-spacing:.02em}
#course03Main #module3 .c3m3-understand-button{background:#8f1f16;color:#fff}
#course03Main #module3 .c3m3-understand-button:hover,#course03Main #module3 .c3m3-understand-button:focus-visible{background:#731811;color:#fff}
