.mc-chapter-select{display:block;width:100%;padding:14px;margin:12px 0 20px;font:inherit;border:1px solid #abc6c2;border-radius:8px;background:#fff;color:#173b40}
.mc-chapter-preview{border:1px solid #dce5e4;border-radius:12px;overflow:hidden;padding-bottom:24px;background:#fff}
.mc-chapter-preview img{display:block;width:100%;height:auto}.mc-chapter-preview h3,.mc-chapter-preview p{margin:20px 24px}
.mc-chapter-open{display:inline-block;margin:0 24px;background:#14535b;color:white;padding:12px 30px;border-radius:8px;text-decoration:none;font-weight:bold}
.mc-chapter{font:18px/1.65 Georgia,serif;color:#203b40;white-space:normal;overflow-wrap:anywhere}
.mc-chapter .banner{display:block;width:100%;height:auto}.mc-chapter .hero{padding:0;background:#fff;color:#203b40}.mc-chapter .hero-inner{padding:24px 0}.mc-chapter .eyebrow{font:700 12px Arial;letter-spacing:2px;color:#986b25}
.mc-chapter h1,.mc-chapter h2,.mc-chapter h3,.mc-chapter h4{font-family:Arial,sans-serif;color:#14535b;line-height:1.3}.mc-chapter h1{font-size:32px}.mc-chapter h2{margin-top:2.5em;border-top:1px solid #d6e4e2;padding-top:1em;scroll-margin-top:24px}
.mc-chapter nav{display:block;background:#edf5f3;padding:20px;border-radius:10px}.mc-chapter nav a{display:block;color:#14535b;padding:4px 0}
.mc-chapter aside{background:#eff6f4;border:1px solid #c7dcd7;border-radius:9px;padding:16px 22px;margin:24px 0}.mc-chapter aside h4{margin:0 0 12px}
.mc-chapter .equation{overflow-x:auto;padding:4px 0}.mc-chapter figure{margin:28px 0}.mc-chapter figure img{width:100%;height:auto}.mc-chapter figcaption{font:14px/1.5 Arial;color:#607579}
.mc-chapter footer{font:14px Arial;color:#607579;padding:24px 0}.mc-chapter mjx-container{display:inline-block;vertical-align:middle;max-width:100%;overflow-x:auto;overflow-y:hidden;padding:3px 0}
@media(max-width:480px){.mc-chapter{font-size:16px}.mc-chapter aside{padding:12px}}

body.mc-site .mc-chapter .mc-book-header{display:block;position:static;width:100%;min-width:0;padding:0;margin:0;background:transparent;color:inherit;border:0;box-shadow:none}
body.mc-site .mc-chapter .mc-book-header .banner{display:block;width:100%;max-width:100%;height:auto;position:static;object-fit:contain}
body.mc-site .mc-chapter .hero-inner{display:block;width:100%;min-width:0;padding:24px 0;background:transparent}
body.mc-site .mc-chapter .mc-book-main{display:block;width:100%;min-width:0;background:transparent}
body.mc-site .mc-chapter .mc-book-nav{display:block;position:static;background:#edf5f3;padding:20px;border-radius:10px;width:100%;max-height:none;overflow:visible}
body.mc-site .mc-chapter .mc-book-nav a{display:block;color:#14535b;padding:4px 0}
body.mc-site .mc-chapter .mc-book-footer{position:static;background:transparent;color:inherit;font:14px Arial;padding:24px 0}
body.mc-site .mc-chapter h1{font:700 clamp(26px,4vw,40px)/1.2 Arial;white-space:normal;word-break:normal}

/* Room for SVG glyph overhang without tiny inline scrollbars. */
.mc-chapter[data-mathcraft-chapter="9"] mjx-container{padding:3px .25em}

/* Chapter 10 numbering */
.mc-chapter[data-mathcraft-chapter="10"] .exercise-list{padding-left:2em}
.mc-chapter[data-mathcraft-chapter="10"] .exercise-list>li{padding-left:.3em;margin:12px 0}
.mc-chapter[data-mathcraft-chapter="10"] .exercise-list>li::marker{font-weight:bold}
.mc-chapter[data-mathcraft-chapter="10"] mjx-container{padding:3px .25em}

.mc-chapter[data-mathcraft-course="math-b"] .exercise-list{padding-left:2em}
.mc-chapter[data-mathcraft-course="math-b"] .exercise-list>li{padding-left:.3em;margin:12px 0}
.mc-chapter[data-mathcraft-course="math-b"] .exercise-list>li::marker{font-weight:bold}
.mc-chapter[data-mathcraft-course="math-b"] mjx-container{padding:3px .25em}

/* Math B solution presentation; other courses retain their layouts. */
.mc-chapter[data-mathcraft-course="math-b"] figure img{display:block;width:auto;max-width:100%;max-height:380px;object-fit:contain;margin:0 auto}
.mc-chapter[data-mathcraft-course="math-b"] details.solution{margin:12px 0}
.mc-chapter[data-mathcraft-course="math-b"] details.solution>summary{display:list-item;width:fit-content;max-width:100%;cursor:pointer;background:#14535b;color:#fff;border-radius:7px;padding:8px 16px;font:600 16px/1.5 Arial}
.mc-chapter[data-mathcraft-course="math-b"] details.solution>summary:focus-visible{outline:3px solid #ae6523;outline-offset:3px}
.mc-chapter[data-mathcraft-course="math-b"] .solution-body{padding:10px 0}
.mc-chapter[data-mathcraft-course="math-b"] .solution-body p{margin:8px 0}
.mc-chapter[data-mathcraft-course="math-b"] .solution-body .equation{margin:8px 0}

/* Unit 8 compact mathematical figures; preserve previous units. */
.mc-chapter[data-mathcraft-course="math-b"][data-mathcraft-chapter="8"] figure img{max-height:340px;max-width:min(100%,620px)}

/* Unit 9 compact mathematical figures; preserve previous units. */
.mc-chapter[data-mathcraft-course="math-b"][data-mathcraft-chapter="9"] figure img{max-height:340px;max-width:min(100%,620px)}

/* Unit 10 compact mathematical figures; preserve previous units. */
.mc-chapter[data-mathcraft-course="math-b"][data-mathcraft-chapter="10"] figure img{max-height:340px;max-width:min(100%,620px)}

/* EMath Chapter 11 */
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="11"] .exercise-list{padding-left:2em}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="11"] .exercise-list>li{padding-left:.3em;margin:12px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="11"] .exercise-list>li::marker{font-weight:bold}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="11"] mjx-container{padding:3px .25em}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="11"] details.solution{margin:12px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="11"] details.solution>summary{display:list-item;width:fit-content;max-width:100%;cursor:pointer;background:#14535b;color:#fff;border-radius:7px;padding:8px 16px;font:600 16px/1.5 Arial}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="11"] details.solution>summary:focus-visible{outline:3px solid #ae6523;outline-offset:3px}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="11"] .solution-body{padding:10px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="11"] .solution-body p{margin:8px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="11"] .solution-body .equation{margin:8px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="11"] figure img{display:block;width:auto;max-width:min(100%,620px);max-height:340px;object-fit:contain;margin:0 auto}

/* EMath Chapter 12 */
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="12"] .exercise-list{padding-left:2em}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="12"] .exercise-list>li{padding-left:.3em;margin:12px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="12"] .exercise-list>li::marker{font-weight:bold}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="12"] mjx-container{padding:3px .25em}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="12"] details.solution{margin:12px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="12"] details.solution>summary{display:list-item;width:fit-content;max-width:100%;cursor:pointer;background:#14535b;color:#fff;border-radius:7px;padding:8px 16px;font:600 16px/1.5 Arial}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="12"] details.solution>summary:focus-visible{outline:3px solid #ae6523;outline-offset:3px}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="12"] .solution-body{padding:10px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="12"] .solution-body p{margin:8px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="12"] .solution-body .equation{margin:8px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="12"] figure img{display:block;width:auto;max-width:min(100%,620px);max-height:340px;object-fit:contain;margin:0 auto}

/* EMath Chapter 13 */
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="13"] .exercise-list{padding-left:2em}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="13"] .exercise-list>li{padding-left:.3em;margin:12px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="13"] .exercise-list>li::marker{font-weight:bold}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="13"] mjx-container{padding:3px .25em}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="13"] details.solution{margin:12px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="13"] details.solution>summary{display:list-item;width:fit-content;max-width:100%;cursor:pointer;background:#14535b;color:#fff;border-radius:7px;padding:8px 16px;font:600 16px/1.5 Arial}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="13"] details.solution>summary:focus-visible{outline:3px solid #ae6523;outline-offset:3px}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="13"] .solution-body{padding:10px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="13"] .solution-body p{margin:8px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="13"] .solution-body .equation{margin:8px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="13"] figure img{display:block;width:auto;max-width:min(100%,620px);max-height:340px;object-fit:contain;margin:0 auto}

/* EMath Chapter 14 */
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="14"] .exercise-list{padding-left:2em}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="14"] .exercise-list>li{padding-left:.3em;margin:12px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="14"] .exercise-list>li::marker{font-weight:bold}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="14"] mjx-container{padding:3px .25em}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="14"] details.solution{margin:12px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="14"] details.solution>summary{display:list-item;width:fit-content;max-width:100%;cursor:pointer;background:#14535b;color:#fff;border-radius:7px;padding:8px 16px;font:600 16px/1.5 Arial}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="14"] details.solution>summary:focus-visible{outline:3px solid #ae6523;outline-offset:3px}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="14"] .solution-body{padding:10px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="14"] .solution-body p{margin:8px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="14"] .solution-body .equation{margin:8px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="14"] figure img{display:block;width:auto;max-width:min(100%,620px);max-height:340px;object-fit:contain;margin:0 auto}

/* EMath Chapter 15 */
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="15"] .exercise-list{padding-left:2em}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="15"] .exercise-list>li{padding-left:.3em;margin:12px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="15"] .exercise-list>li::marker{font-weight:bold}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="15"] mjx-container{padding:3px .25em}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="15"] details.solution{margin:12px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="15"] details.solution>summary{display:list-item;width:fit-content;max-width:100%;cursor:pointer;background:#14535b;color:#fff;border-radius:7px;padding:8px 16px;font:600 16px/1.5 Arial}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="15"] details.solution>summary:focus-visible{outline:3px solid #ae6523;outline-offset:3px}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="15"] .solution-body{padding:10px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="15"] .solution-body p{margin:8px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="15"] .solution-body .equation{margin:8px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="15"] figure img{display:block;width:auto;max-width:min(100%,620px);max-height:340px;object-fit:contain;margin:0 auto}

/* EMath Chapter 16 */
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="16"] .exercise-list{padding-left:2em}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="16"] .exercise-list>li{padding-left:.3em;margin:12px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="16"] .exercise-list>li::marker{font-weight:bold}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="16"] mjx-container{padding:3px .25em}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="16"] details.solution{margin:12px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="16"] details.solution>summary{display:list-item;width:fit-content;max-width:100%;cursor:pointer;background:#14535b;color:#fff;border-radius:7px;padding:8px 16px;font:600 16px/1.5 Arial}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="16"] details.solution>summary:focus-visible{outline:3px solid #ae6523;outline-offset:3px}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="16"] .solution-body{padding:10px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="16"] .solution-body p{margin:8px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="16"] .solution-body .equation{margin:8px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="16"] figure img{display:block;width:auto;max-width:min(100%,620px);max-height:340px;object-fit:contain;margin:0 auto}

/* EMath Chapter 17 */
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="17"] .exercise-list{padding-left:2em}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="17"] .exercise-list>li{padding-left:.3em;margin:12px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="17"] .exercise-list>li::marker{font-weight:bold}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="17"] mjx-container{padding:3px .25em}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="17"] details.solution{margin:12px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="17"] details.solution>summary{display:list-item;width:fit-content;max-width:100%;cursor:pointer;background:#14535b;color:#fff;border-radius:7px;padding:8px 16px;font:600 16px/1.5 Arial}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="17"] details.solution>summary:focus-visible{outline:3px solid #ae6523;outline-offset:3px}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="17"] .solution-body{padding:10px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="17"] .solution-body p{margin:8px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="17"] .solution-body .equation{margin:8px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="17"] figure img{display:block;width:auto;max-width:min(100%,620px);max-height:340px;object-fit:contain;margin:0 auto}

/* EMath Chapter 18 */
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="18"] .exercise-list{padding-left:2em}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="18"] .exercise-list>li{padding-left:.3em;margin:12px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="18"] .exercise-list>li::marker{font-weight:bold}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="18"] mjx-container{padding:3px .25em}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="18"] details.solution{margin:12px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="18"] details.solution>summary{display:list-item;width:fit-content;max-width:100%;cursor:pointer;background:#14535b;color:#fff;border-radius:7px;padding:8px 16px;font:600 16px/1.5 Arial}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="18"] details.solution>summary:focus-visible{outline:3px solid #ae6523;outline-offset:3px}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="18"] .solution-body{padding:10px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="18"] .solution-body p{margin:8px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="18"] .solution-body .equation{margin:8px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="18"] figure img{display:block;width:auto;max-width:min(100%,620px);max-height:340px;object-fit:contain;margin:0 auto}

/* EMath Chapter 19 */
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="19"] .exercise-list{padding-left:2em}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="19"] .exercise-list>li{padding-left:.3em;margin:12px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="19"] .exercise-list>li::marker{font-weight:bold}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="19"] mjx-container{padding:3px .25em}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="19"] details.solution{margin:12px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="19"] details.solution>summary{display:list-item;width:fit-content;max-width:100%;cursor:pointer;background:#14535b;color:#fff;border-radius:7px;padding:8px 16px;font:600 16px/1.5 Arial}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="19"] details.solution>summary:focus-visible{outline:3px solid #ae6523;outline-offset:3px}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="19"] .solution-body{padding:10px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="19"] .solution-body p{margin:8px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="19"] .solution-body .equation{margin:8px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="19"] figure img{display:block;width:auto;max-width:min(100%,620px);max-height:340px;object-fit:contain;margin:0 auto}

/* EMath Chapter 20 */
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="20"] .exercise-list{padding-left:2em}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="20"] .exercise-list>li{padding-left:.3em;margin:12px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="20"] .exercise-list>li::marker{font-weight:bold}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="20"] mjx-container{padding:3px .25em}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="20"] details.solution{margin:12px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="20"] details.solution>summary{display:list-item;width:fit-content;max-width:100%;cursor:pointer;background:#14535b;color:#fff;border-radius:7px;padding:8px 16px;font:600 16px/1.5 Arial}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="20"] details.solution>summary:focus-visible{outline:3px solid #ae6523;outline-offset:3px}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="20"] .solution-body{padding:10px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="20"] .solution-body p{margin:8px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="20"] .solution-body .equation{margin:8px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="20"] figure img{display:block;width:auto;max-width:min(100%,620px);max-height:340px;object-fit:contain;margin:0 auto}

/* EMath Chapter 21 */
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="21"] .exercise-list{padding-left:2em}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="21"] .exercise-list>li{padding-left:.3em;margin:12px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="21"] .exercise-list>li::marker{font-weight:bold}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="21"] mjx-container{padding:3px .25em}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="21"] details.solution{margin:12px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="21"] details.solution>summary{display:list-item;width:fit-content;max-width:100%;cursor:pointer;background:#14535b;color:#fff;border-radius:7px;padding:8px 16px;font:600 16px/1.5 Arial}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="21"] details.solution>summary:focus-visible{outline:3px solid #ae6523;outline-offset:3px}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="21"] .solution-body{padding:10px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="21"] .solution-body p{margin:8px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="21"] .solution-body .equation{margin:8px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="21"] figure img{display:block;width:auto;max-width:min(100%,620px);max-height:340px;object-fit:contain;margin:0 auto}

/* EMath Chapter 22 */
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="22"] .exercise-list{padding-left:2em}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="22"] .exercise-list>li{padding-left:.3em;margin:12px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="22"] .exercise-list>li::marker{font-weight:bold}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="22"] mjx-container{padding:3px .25em}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="22"] details.solution{margin:12px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="22"] details.solution>summary{display:list-item;width:fit-content;max-width:100%;cursor:pointer;background:#14535b;color:#fff;border-radius:7px;padding:8px 16px;font:600 16px/1.5 Arial}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="22"] details.solution>summary:focus-visible{outline:3px solid #ae6523;outline-offset:3px}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="22"] .solution-body{padding:10px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="22"] .solution-body p{margin:8px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="22"] .solution-body .equation{margin:8px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="22"] figure img{display:block;width:auto;max-width:min(100%,620px);max-height:340px;object-fit:contain;margin:0 auto}

/* EMath Chapter 23 */
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="23"] .exercise-list{padding-left:2em}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="23"] .exercise-list>li{padding-left:.3em;margin:12px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="23"] .exercise-list>li::marker{font-weight:bold}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="23"] mjx-container{padding:3px .25em}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="23"] details.solution{margin:12px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="23"] details.solution>summary{display:list-item;width:fit-content;max-width:100%;cursor:pointer;background:#14535b;color:#fff;border-radius:7px;padding:8px 16px;font:600 16px/1.5 Arial}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="23"] details.solution>summary:focus-visible{outline:3px solid #ae6523;outline-offset:3px}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="23"] .solution-body{padding:10px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="23"] .solution-body p{margin:8px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="23"] .solution-body .equation{margin:8px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="23"] figure img{display:block;width:auto;max-width:min(100%,620px);max-height:340px;object-fit:contain;margin:0 auto}

/* EMath Chapter 24 */
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="24"] .exercise-list{padding-left:2em}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="24"] .exercise-list>li{padding-left:.3em;margin:12px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="24"] .exercise-list>li::marker{font-weight:bold}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="24"] mjx-container{padding:3px .25em}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="24"] details.solution{margin:12px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="24"] details.solution>summary{display:list-item;width:fit-content;max-width:100%;cursor:pointer;background:#14535b;color:#fff;border-radius:7px;padding:8px 16px;font:600 16px/1.5 Arial}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="24"] details.solution>summary:focus-visible{outline:3px solid #ae6523;outline-offset:3px}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="24"] .solution-body{padding:10px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="24"] .solution-body p{margin:8px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="24"] .solution-body .equation{margin:8px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-chapter="24"] figure img{display:block;width:auto;max-width:min(100%,620px);max-height:340px;object-fit:contain;margin:0 auto}


/* EMath revised 1–10 */
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-revision="2"] .exercise-list{padding-left:2em}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-revision="2"] .exercise-list>li{padding-left:.3em;margin:12px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-revision="2"] .exercise-list>li::marker{font-weight:bold}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-revision="2"] mjx-container{padding:3px .25em}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-revision="2"] figure img{display:block;width:auto;max-width:100%;max-height:380px;object-fit:contain;margin:0 auto}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-revision="2"] details.solution{margin:12px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-revision="2"] details.solution>summary{display:list-item;width:fit-content;max-width:100%;cursor:pointer;background:#14535b;color:#fff;border-radius:7px;padding:8px 16px;font:600 16px/1.5 Arial}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-revision="2"] details.solution>summary:focus-visible{outline:3px solid #ae6523;outline-offset:3px}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-revision="2"] .solution-body{padding:10px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-revision="2"] .solution-body p{margin:8px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-revision="2"] .solution-body .equation{margin:8px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-revision="2"] figure img{display:block;width:auto;max-width:min(100%,620px);max-height:340px;object-fit:contain;margin:0 auto}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-revision="2"] .legacy-labels{list-style:none;padding-left:0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-revision="2"] .question-label{font-weight:bold}


/* Math B style numbering */
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-revision="2"] .legacy-labels{list-style:decimal outside;padding-left:2em}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-revision="2"] .legacy-labels>li{display:list-item;padding-left:.3em;margin:12px 0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-revision="2"] .legacy-labels>li::marker{font-weight:bold}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-revision="2"] .legacy-labels>li>.question-label{display:none}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-revision="2"] .legacy-labels>li>p:first-of-type{margin-top:0}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-revision="2"] .legacy-labels>li>details.solution{display:block;margin:0}

/* Chapter 3 requested figure sizes */
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-revision="2"][data-mathcraft-chapter="3"] figure img[src$="angle-types.svg"]{width:720px;max-width:100%;height:auto;max-height:none}
.mc-chapter[data-mathcraft-course="e-mathematics"][data-mathcraft-revision="2"][data-mathcraft-chapter="3"] figure img[src$="parallel-lines.svg"]{width:480px;max-width:100%;height:auto;max-height:280px}

.mc-new-chapter-banner{padding:clamp(24px,6vw,64px);border-radius:16px;background:linear-gradient(125deg,#071a3a,#16485a);color:#f5d77e;min-height:180px;display:flex;flex-direction:column;justify-content:center}.mc-new-chapter-banner p{letter-spacing:.12em;font-size:12px}.mc-new-chapter-banner h2{color:#fff;font:clamp(22px,4vw,38px)/1.3 Georgia,serif;margin:16px 0}
