#course05Main .academy-course-banner h1{max-width:980px}
#course05Main .academy-course-banner-copy>p{max-width:890px}
.c5-module-job{padding-bottom:18px}.c5-open-book-note{display:flex;gap:12px;align-items:center;border:1px solid #d8d0c5;background:#fff8e8;padding:12px 14px;margin:14px 0}.c5-open-book-note strong{background:#111;color:#ffd64d;padding:6px 8px;font-size:9px;letter-spacing:.12em}.c5-open-book-note span{font-size:12px;line-height:1.5}
.c5-api-flow{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:8px;margin:14px 0}.c5-api-flow div{min-height:92px;border:1px solid #d8d0c5;background:#fff;padding:11px;display:flex;flex-direction:column;justify-content:space-between}.c5-api-flow span{font-size:9px;font-weight:950;letter-spacing:.1em;color:#ef3e2f}.c5-api-flow b{font-size:11px;line-height:1.25}.c5-api-flow small{font-size:10px;color:#666;line-height:1.3}
.c5-study-guide{display:grid;gap:12px}.c5-study-card{display:grid;grid-template-columns:40px 1fr;gap:13px;border:1px solid #d8d0c5;background:#faf8f4;padding:16px;color:#111}.c5-study-card>span{display:grid;place-items:center;width:34px;height:34px;background:#111;color:#ffd64d;font-size:12px;font-weight:950}.c5-study-card h4{margin:0 0 9px;font:700 20px/1.12 Georgia,serif}.c5-study-card p{margin:7px 0;font-size:12px;line-height:1.58}.c5-study-card .c5-example{margin-top:10px;padding:10px 12px;background:#fff;border-left:3px solid #ffd64d}.c5-study-card .c5-why{margin-top:10px;padding-top:10px;border-top:1px solid #ded8cf}.c5-study-card .c5-why b{font-size:10px;letter-spacing:.08em;text-transform:uppercase}.c5-remember{margin-top:14px;border-left:4px solid #ef3e2f;background:#fff8e8;padding:13px 14px;font-size:12px;line-height:1.55}.c5-remember strong{display:block;font-size:10px;letter-spacing:.08em;text-transform:uppercase;margin-bottom:4px}
.c5-workspace{position:sticky;top:76px;align-self:start;background:#0f0f0f;color:#fff;border:1px solid #303030;padding:18px;max-height:calc(100vh - 96px);overflow:auto}.c5-workspace-head,.c5-section-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.c5-workspace-head{padding-bottom:13px;border-bottom:1px solid #343434}.c5-workspace-head span,.c5-section-head span{font-size:9px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}.c5-workspace-head strong,.c5-section-head strong{display:block;margin-top:4px;font-size:14px}.c5-save,.c5-carried{color:#ffd64d}.c5-source-card,.c5-test-card,.c5-final-card{border:1px solid #3f3f3f;background:#111;padding:16px;margin-top:14px}.c5-source-card p{font-size:11px;line-height:1.5;color:#ddd}.c5-source-card details{margin-top:8px}.c5-source-card summary{cursor:pointer;font-size:10px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}.c5-source-card pre{white-space:pre-wrap;word-break:break-word;max-height:230px;overflow:auto;background:#090909;border:1px solid #333;padding:12px;font:10px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;color:#e9e9e9}.c5-status{margin:10px 0 0}.c5-answer-guide{margin:0 0 16px;padding:12px 14px;background:#f3efe8;border:1px solid #d8d0c5;color:#1a1a1a;font-size:12px;line-height:1.5}.c5-answer-guide strong{display:block;color:#111;font-size:10px;text-transform:uppercase;letter-spacing:.08em;margin-bottom:4px}.c5-answer-guide span{color:#333}.c5-field{display:block;margin-top:16px}.c5-field>span{display:block;color:#fff;font-size:12px;font-weight:800;line-height:1.45;margin-bottom:7px}.c5-field textarea{width:100%;min-height:120px;resize:vertical;background:#fff;color:#111;border:2px solid #555;padding:11px;font:12px/1.5 inherit;box-sizing:border-box}.c5-field textarea:focus{outline:3px solid #ffd64d;outline-offset:2px}.c5-field textarea.is-good{border-color:#4f8b68}.c5-field textarea.is-needs-work{border-color:#8f5148}.c5-field small{display:block;color:#bbb;font-size:10px;line-height:1.4;margin-top:5px}.c5-summary{margin-top:14px}.c5-summary>span{font-size:9px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#ffd64d}.c5-summary h4{margin:7px 0 10px;font-size:13px}.c5-summary dl{display:grid;gap:7px;margin:0}.c5-summary dl div{display:grid;grid-template-columns:74px 1fr;gap:10px;padding:8px 0;border-top:1px solid #2f2f2f}.c5-summary dt{font-size:10px;font-weight:900;text-transform:uppercase;color:#bbb}.c5-summary dd{margin:0;font-size:11px}.c5-summary dd.empty{color:#888}.c5-workspace-actions{margin-top:14px}.c5-workspace-actions button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;border:0;background:#ef3e2f;color:#fff;font-size:10px;font-weight:950;letter-spacing:.08em;text-transform:uppercase;width:100%;cursor:pointer}.c5-workspace-actions button:hover,.c5-workspace-actions button:focus-visible{outline:3px solid #ffd64d;outline-offset:2px;transform:translateY(-1px)}.c5-feedback{margin:12px 0 0;font-size:11px;line-height:1.5;color:#ddd}.c5-feedback.good{color:#b9efca}.c5-feedback.bad{color:#ffb7ae}.c5-complete-artifact{margin-top:12px;padding:12px;border:1px solid #d9d2c8;background:#fff;color:#111}.c5-complete-artifact h4{margin:0 0 8px}.c5-complete-artifact p{margin:6px 0;line-height:1.5}
#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 .c5-workspace{position:static;max-height:none;overflow:visible}#module1Learning.is-teacher-focus .academy-teacher-head{position:static}
#course05Main #module1TeacherClose,#course05Main #module1TeacherOpen,#course05Main #module1Hint,#course05Main #module1TeacherWork,#course05Main [data-c5m1-teacher-mode],#course05Main #c5CheckButton{appearance:none;-webkit-appearance:none;font-family:inherit;cursor:pointer}
@media(max-width:1050px){.c5-api-flow{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:900px){#course05Main .academy-guided-shell{display:block}.c5-workspace{position:static;max-height:none;margin-top:18px}.c5-api-flow{grid-template-columns:1fr 1fr}}@media(max-width:520px){.c5-study-card{grid-template-columns:1fr}.c5-study-card>span{width:28px;height:28px}.c5-api-flow{grid-template-columns:1fr}.c5-open-book-note{align-items:flex-start}.c5-workspace{padding:14px}.c5-summary dl div{grid-template-columns:1fr}}


/* Course 5 Module 2 — ChatGPT API connection lab */
.c5-locked{opacity:.56}.c5-locked a{pointer-events:none}.c5-next-module{margin-top:14px}
.c5-connect-guide{gap:10px}.c5-api-lab{top:76px}.c5-request-card{border:1px solid #3f3f3f;background:#111;padding:16px;margin-top:14px}.c5-input-field{display:block;margin-top:15px}.c5-input-field>span{display:block;color:#fff;font-size:12px;font-weight:800;line-height:1.45;margin-bottom:7px}.c5-input-field>span em{font-weight:500;color:#bbb}.c5-input-field input,.c5-input-field select{width:100%;min-height:46px;background:#fff;color:#111;border:2px solid #555;padding:10px 11px;font:12px/1.4 inherit;box-sizing:border-box}.c5-input-field input:focus,.c5-input-field select:focus{outline:3px solid #ffd64d;outline-offset:2px}.c5-input-field small{display:block;color:#bbb;font-size:10px;line-height:1.45;margin-top:5px}.c5-ready-request{margin-top:14px;background:#f3efe8;border:1px solid #d8d0c5;color:#111;padding:13px 14px}.c5-ready-request>span{display:block;color:#111;font-size:9px;font-weight:950;letter-spacing:.1em}.c5-ready-request p{margin:6px 0 0;color:#333;font-size:11px;line-height:1.55;white-space:pre-wrap}.c5-request-help{font-size:11px;line-height:1.5;color:#ddd;margin:11px 0}.c5-ai-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:12px}.c5-ai-actions button,.c5-ai-actions a{display:flex;align-items:center;justify-content:center;min-height:46px;border:0;text-decoration:none;font-size:10px;font-weight:950;letter-spacing:.07em;text-transform:uppercase;cursor:pointer;box-sizing:border-box}.c5-ai-actions button{background:#ef3e2f;color:#fff}.c5-ai-actions a{background:#ffd64d;color:#111}.c5-ai-actions button:hover,.c5-ai-actions button:focus-visible,.c5-ai-actions a:hover,.c5-ai-actions a:focus-visible{outline:3px solid #fff;outline-offset:2px}.c5-inspection-grid{display:grid;gap:8px;margin-top:14px}.c5-inspection-grid label{display:grid;grid-template-columns:20px 1fr;gap:9px;align-items:start;padding:10px;background:#191919;border:1px solid #3a3a3a;color:#eee;font-size:11px;line-height:1.45}.c5-inspection-grid input{margin-top:2px}.c5-api-lab .c5-field textarea{min-height:240px}.c5-api-lab .c5-summary dl div{grid-template-columns:88px 1fr}
#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 .c5-workspace{position:static;max-height:none;overflow:visible}#module2Learning.is-teacher-focus .academy-teacher-head{position:static}
#course05Main #module2TeacherClose,#course05Main #module2TeacherOpen,#course05Main #module2Hint,#course05Main #module2TeacherWork,#course05Main [data-c5m2-teacher-mode],#course05Main #c5m2CopyPrompt,#course05Main #c5m2CheckButton,#course05Main #continueModule2{appearance:none;-webkit-appearance:none;font-family:inherit;cursor:pointer}
@media(max-width:900px){.c5-api-lab{position:static;max-height:none}.c5-ai-actions{grid-template-columns:1fr}}
@media(max-width:520px){.c5-api-lab .c5-summary dl div{grid-template-columns:1fr}.c5-input-field input,.c5-input-field select{font-size:16px}}

/* Course 5 Module 1 simple open-book exact-answer treatment — 2026-09-11 */
#course05Main .c5-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}
#course05Main .c5-copy-answer b{display:block;margin:0 0 5px;color:#111;font-size:10px;line-height:1.35;letter-spacing:.07em;text-transform:uppercase}
#course05Main .c5-copy-answer span{display:block;color:#111;font-size:12px;line-height:1.55;letter-spacing:normal}
#course05Main #module1 .c5-field textarea{overflow-wrap:anywhere;word-break:normal}
#course05Main #module1 .c5-study-card h4,#course05Main #module1 .c5-study-card p,#course05Main #module1 .c5-answer-guide{overflow-wrap:anywhere;word-break:normal}
/* Agent 8/9 contrast + mobile rendering repair — Course 5 Module 1 */
#course05Main #module1 .academy-kicker span{color:#5a554d}
#course05Main #module1 .academy-step-count,#course05Main #module1 .c5-api-flow span{color:#9d241d}
#course05Main #c5CheckButton,#course05Main #module1Complete .c5-next-module{background:#a72820;color:#fff}
#course05Main #module1Complete>div>p{color:#d0d0d0}
#course05Main #module1Complete .c5-complete-artifact p{color:#333}
#course05Main #module1Complete .c5-complete-artifact strong,#course05Main #module1Complete .c5-complete-artifact h4{color:#111}
@media(max-width:520px){#course05Main #module1 .academy-module-title h2{font-size:43px;line-height:1.08;letter-spacing:0;overflow-wrap:anywhere;word-break:normal}}
/* Agent 9 final navigation/readability repair — Course 5 Module 1 */
#course05Main #courseStartButton,#course05Main #railContinueButton{background:#a72820;color:#fff}
#course05Main .academy-course-meta b{color:#a9a39a}
#course05Main .academy-module-list li:not(.active)>a>span,#course05Main .academy-module-list li:not(.active)>a>small{color:#b8b3aa}
#course05Main #resetModule{color:#b8b3aa}
#course05Main #module1 .academy-module-number{color:#5a554d}
#course05Main #module1 .academy-module-number b{color:#5a554d}
#course05Main #module1 .academy-module-title h2{line-height:1;letter-spacing:0}


/* Course 5 Module 2 — guided API connection teaching style — 2026-09-11 */
#course05Main #module2 .academy-module-number,#course05Main #module2 .academy-module-number b{color:#5a554d}
#course05Main #module2 .academy-kicker span{color:#5a554d}
#course05Main #module2 .academy-step-count{color:#9d241d}
#course05Main #module2 .academy-module-title h2{line-height:1;letter-spacing:0;overflow-wrap:anywhere;word-break:normal}
#course05Main #module2 .c5m2-guided-shell{grid-template-columns:minmax(0,1fr) minmax(390px,.92fr)}
#course05Main #module2 .c5m2-practice-note{border-color:#9b7b00;background:#fff4bd;color:#111}
#course05Main #module2 .c5m2-practice-note strong,#course05Main #module2 .c5m2-practice-note span{color:#111}
#course05Main #module2 .c5m2-process{display:grid;gap:10px;margin-top:18px}
#course05Main #module2 .c5m2-process article{display:grid;grid-template-columns:44px minmax(0,1fr);gap:13px;align-items:start;border:1px solid #d8d0c5;background:#faf8f4;padding:14px;min-width:0}
#course05Main #module2 .c5m2-process article>span{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;background:#111;color:#ffd64d;font-size:12px;font-weight:950;line-height:1.25}
#course05Main #module2 .c5m2-process h4{margin:0 0 5px;color:#111;font-size:16px;line-height:1.25;overflow-wrap:anywhere}
#course05Main #module2 .c5m2-process p{margin:0;color:#333;font-size:12px;line-height:1.6;overflow-wrap:anywhere;word-break:normal}
#course05Main #module2 .c5m2-rule-strip{margin-top:16px;border-left:3px solid #a72820;background:#f3efe8;padding:13px 14px;color:#111}
#course05Main #module2 .c5m2-rule-strip strong{display:block;margin:0 0 5px;color:#111;font-size:10px;line-height:1.35;letter-spacing:.08em;text-transform:uppercase}
#course05Main #module2 .c5m2-rule-strip span{display:block;color:#333;font-size:12px;line-height:1.55;overflow-wrap:anywhere}
#course05Main #module2 .c5m2-guided-workspace{position:sticky;top:76px;align-self:start;max-height:calc(100vh - 96px);overflow:auto}
#course05Main #module2 .c5m2-source-card p{color:#ddd}
#course05Main #module2 .c5m2-readonly-card .c5-request-help{color:#ddd;line-height:1.6}
#course05Main #module2 .c5m2-readonly-field{display:block;margin-top:14px}
#course05Main #module2 .c5m2-readonly-field>span{display:block;margin-bottom:7px;color:#fff;font-size:12px;font-weight:850;line-height:1.45}
#course05Main #module2 .c5m2-readonly-field textarea{display:block;width:100%;box-sizing:border-box;resize:vertical;background:#080808;color:#f4f4f4;-webkit-text-fill-color:#f4f4f4;border:1px solid #575757;padding:14px;font:11px/1.68 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:normal;overflow-wrap:anywhere;word-break:normal;white-space:pre-wrap}
#course05Main #module2 #c5m2GuidedRequest{min-height:620px}
#course05Main #module2 #c5m2GuidedResult{min-height:520px}
#course05Main #module2 .c5m2-readonly-field small{display:block;margin-top:6px;color:#c8c8c8;font-size:10px;line-height:1.5}
#course05Main #module2 .c5m2-proof-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:14px}
#course05Main #module2 .c5m2-proof-grid>div{display:grid;grid-template-columns:34px minmax(0,1fr);column-gap:9px;row-gap:3px;border:1px solid #414141;background:#171717;padding:11px;min-width:0}
#course05Main #module2 .c5m2-proof-grid b{grid-row:1/3;display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background:#ffd64d;color:#111;font-size:10px;line-height:1.25}
#course05Main #module2 .c5m2-proof-grid strong{color:#fff;font-size:11px;line-height:1.4;overflow-wrap:anywhere}
#course05Main #module2 .c5m2-proof-grid span{color:#cfcfcf;font-size:10px;line-height:1.45;overflow-wrap:anywhere}
#course05Main #module2 .c5m2-understand-copy{margin:13px 0;color:#ddd;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
#course05Main #module2 #c5m2UnderstandButton{background:#a72820;color:#fff}
#course05Main #module2 #c5m2UnderstandButton:disabled{opacity:.72;cursor:default}
#course05Main #module2Complete>div>p{color:#d0d0d0}
#course05Main #module2Complete .c5-complete-artifact p{color:#333}
#course05Main #module2Complete .c5-complete-artifact strong,#course05Main #module2Complete .c5-complete-artifact h4{color:#111}
#course05Main #module2TeacherPanel .academy-teacher-head span,#course05Main #module2TeacherPanel .academy-teacher-kicker{color:#ac2a22}
#course05Main #module2TeacherPanel .academy-teacher-promise{color:#333}
#course05Main #module2TeacherPanel .academy-teacher-content p,#course05Main #module2TeacherPanel .academy-teacher-steps{color:#222}
@media(max-width:1050px){#course05Main #module2 .c5m2-guided-shell{grid-template-columns:1fr}}
@media(max-width:900px){#course05Main #module2 .c5m2-guided-workspace{position:static;max-height:none;margin-top:18px}}
@media(max-width:620px){#course05Main #module2 .c5m2-proof-grid{grid-template-columns:1fr}#course05Main #module2 #c5m2GuidedRequest{min-height:560px}#course05Main #module2 #c5m2GuidedResult{min-height:480px}}
@media(max-width:520px){#course05Main #module2 .academy-module-title h2{font-size:43px;line-height:1.08;letter-spacing:0}#course05Main #module2 .c5m2-process article{grid-template-columns:36px minmax(0,1fr);padding:12px}#course05Main #module2 .c5m2-process article>span{width:32px;height:32px}#course05Main #module2 .c5m2-readonly-field textarea{font-size:11px}}

/* Agent 8/9 visual root fixes — Course 5 Module 2 */
#course05Main #module2 .c5m2-practice-note strong{background:#111;color:#ffd64d}
#course05Main #module2 .c5m2-practice-note span{color:#111}
#course05Main #module2 .academy-module-title h2,#course05Main #module2 .academy-module-title h2 em{line-height:1.08}
#course05Main #module2Complete h3{line-height:1.2}
#course05Main #module2Complete .c5-next-module{background:#a72820;color:#fff}
@media(max-width:520px){#course05Main #module2 .academy-module-title h2,#course05Main #module2 .academy-module-title h2 em{line-height:1.12}}
#course05Main #module2 .academy-kicker{color:#5a554d}
#course05Main #module2 .academy-module-title h2,#course05Main #module2 .academy-module-title h2 em{line-height:1.14}
@media(max-width:520px){#course05Main #module2 .academy-module-title h2,#course05Main #module2 .academy-module-title h2 em{line-height:1.16}}
#course05Main #module2 .academy-module-title h2,#course05Main #module2 .academy-module-title h2 em{line-height:1.16}


/* Course 5 Module 2 — receipt scanning API improvement — 2026-09-11 */
#course05Main #module2 .c5m2-before-after{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0 4px}
#course05Main #module2 .c5m2-before-after>div{border:1px solid #d8d0c5;background:#fff;padding:14px;min-width:0}
#course05Main #module2 .c5m2-before-after>div>span{display:block;margin-bottom:6px;color:#8f1f16;font-size:10px;font-weight:950;line-height:1.35;letter-spacing:.08em}
#course05Main #module2 .c5m2-before-after strong{display:block;color:#111;font-size:14px;line-height:1.35;overflow-wrap:anywhere}
#course05Main #module2 .c5m2-before-after p{margin:6px 0 0;color:#333;font-size:12px;line-height:1.6;overflow-wrap:anywhere;word-break:normal}
#course05Main #module2 #c5m2GuidedRequest{min-height:780px}
#course05Main #module2 #c5m2GuidedResult{min-height:680px}
#course05Main #module2 .c5m2-practice-note strong{background:#111;color:#ffd64d;padding:3px 6px;line-height:1.4;display:inline-block}
#course05Main #module2 .c5m2-practice-note span{color:#111;line-height:1.6}
#course05Main #module2 .c5m2-process strong{color:#111}
#course05Main #module2 .c5m2-readonly-card strong{overflow-wrap:anywhere;word-break:normal}
@media(max-width:760px){#course05Main #module2 .c5m2-before-after{grid-template-columns:1fr}}
@media(max-width:620px){#course05Main #module2 #c5m2GuidedRequest{min-height:700px}#course05Main #module2 #c5m2GuidedResult{min-height:620px}}
/* Agent 9 root fix — Course 5 Module 2 teacher readability */
#course05Main #module2TeacherTitle{letter-spacing:0;line-height:1.22;overflow-wrap:anywhere;word-break:normal}
#course05Main #module2TeacherPanel h4{letter-spacing:0;line-height:1.3;overflow-wrap:anywhere;word-break:normal}
