/* Chapter 5/6 source-integration additions only, existing styles untouched. */
.textbook-deep-expansion {font-family:Arial,sans-serif; font-size:1rem; line-height:1.68; color:#1c2e4a; margin:28px 0 42px; background:#fff; border:1px solid #d8e2ed; border-radius:12px; padding:clamp(18px,3vw,36px); overflow-wrap:anywhere}
.textbook-deep-expansion h1{color:#0b1b3b;font-size:clamp(1.65rem,3vw,2.1rem);line-height:1.25;border-bottom:3px solid #c49a51;padding-bottom:15px;margin-top:5px}
.textbook-deep-expansion h2{color:#0b1b3b;font-size:1.35rem;margin:36px 0 14px;padding-bottom:7px;border-bottom:1px solid #c49a51}
.textbook-deep-expansion h3{color:#8e642b;font-size:1.13rem;margin:20px 0 8px}
.textbook-deep-expansion p{margin:12px 0;max-width:80ch}
.textbook-deep-expansion p a{word-break:break-word}
.textbook-deep-expansion .path-graphic{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:15px 0 20px}
.textbook-deep-expansion .path-graphic span{background:#eff6ff;border:1px solid #b5cfea;border-radius:10px;padding:14px;text-align:center;font-weight:600;line-height:1.4}
.textbook-deep-expansion .path-graphic span:nth-child(2){background:#fff7e9;border-color:#edcb88}
.textbook-deep-expansion .path-graphic span:nth-child(3){background:#f1f8f2;border-color:#bedcc4}
.chapter-guide-new-source{background:#fff8e9;color:#1c2e4a;padding:16px 20px;border:1px solid #ead09a;border-radius:10px;margin:16px auto;max-width:70rem}
@media(max-width:600px){.textbook-deep-expansion{padding:16px 14px}.textbook-deep-expansion .path-graphic{grid-template-columns:1fr}}
@media print{.textbook-deep-expansion{border:none;padding:0}.textbook-deep-expansion h2,.textbook-deep-expansion h3{break-after:avoid}}
