/* Shared only by the Math hub and its subject pages. */
.math-page .m-math-four{grid-template-columns:repeat(2,minmax(0,1fr))}
.ml-hub-primary{padding-bottom:32px}.ml-hub-primary a,.ml-extra a{color:#086ec8;text-decoration:underline;text-underline-offset:4px}
.math-landing .m-hero-grid{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:56px}
.math-landing h1{font-size:clamp(34px,4vw,53px);line-height:1.17;max-width:720px}
.ml-start{background:#fff;border:1px solid #d7e6f2;border-radius:22px;padding:30px;box-shadow:0 12px 30px #09253c08}
.ml-start h2{font-size:25px;line-height:1.3;margin:0 0 16px}.ml-start p{font-size:15px;line-height:1.75}
.ml-start ul{padding:17px 0 0;margin:0;border-top:1px solid #e4ebf1;list-style:none;display:flex;flex-wrap:wrap;gap:9px}
.ml-start li{font-size:12px;padding:6px 11px;border-radius:20px;background:#edf6fd;color:#164e7a;font-weight:700}
.ml-jump{border-block:1px solid #dce5ec;background:#fff}.ml-jump .wrap{display:flex;flex-wrap:wrap;gap:8px 25px;padding-top:16px;padding-bottom:16px}
.ml-jump a{font-size:14px;color:#086ec8;font-weight:700;padding:5px 0;text-decoration:underline;text-underline-offset:4px}
.ml-table-wrap{overflow-x:auto;border:1px solid #d4e2ed;border-radius:15px;background:white}.ml-table{border-collapse:collapse;width:100%;font-size:15px;margin:0;min-width:540px}
.ml-table caption{text-align:left;background:#09253c;color:#fff;font-weight:700;padding:17px 22px}
.ml-table th,.ml-table td{text-align:left;padding:17px 22px;border-bottom:1px solid #e4ebf1;vertical-align:top}
.ml-table thead{background:#eaf3fa}.ml-table tbody th{white-space:nowrap;color:#164e7a}.ml-table tr:last-child td,.ml-table tr:last-child th{border-bottom:0}
.ml-example{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:40px;align-items:center;background:#fff;border:1px solid #dbe6ee;border-radius:20px;padding:36px}
.ml-example h3{font-size:27px;line-height:1.3}.ml-example .ml-question{color:#09253c;font-size:18px;line-height:1.7}
.ml-solution{border-block:1px solid #dce5ec;padding:15px 0;margin:22px 0}.ml-solution summary{cursor:pointer;color:#086ec8;font-weight:700;line-height:1.6}.ml-solution p{padding-top:18px;margin:0;line-height:1.8}
.ml-example .ml-tip{font-size:14px;margin:18px 0 0}.ml-visual{padding:25px 15px;background:#eef7ff;border-radius:16px;min-width:0;text-align:center}
.ml-square{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;width:168px;margin:0 auto 24px;aspect-ratio:1}
.ml-square span{border-radius:3px;background:#0a72c4}.ml-square .layer-1{background:#5ba5da}.ml-square .layer-2{background:#b7d6ed}.ml-square .layer-3{background:#e6bc68}
.ml-visual .ml-equation{font-size:19px;color:#09253c;margin:15px 0 0;font-weight:700;overflow-wrap:anywhere}
.ml-bars{font-size:14px;text-align:left}.ml-bars>div{display:flex;align-items:center;gap:10px;margin-bottom:18px}.ml-bars b{width:34px;flex-shrink:0}.ml-bars p{font-size:14px;text-align:center;margin:20px 0 0}
.ml-bar{display:flex;width:calc(100% - 44px);gap:3px}.ml-bar i{width:20%;height:34px;background:#0b74c9;border:1px solid #075998;border-radius:2px}.ml-bar-three i{background:#e6bc68;border-color:#a77e34}
.ml-percent{display:grid;grid-template-columns:repeat(5,1fr);gap:4px;margin:30px 0}.ml-percent span{background:#0876ca;height:70px;border-radius:4px}.ml-percent span:last-child{background:#e6bc68}
.ml-graph{width:100%;height:auto;max-width:320px;display:block;margin:auto}
.ml-faqs{max-width:900px}.ml-faqs details{border-bottom:1px solid #dce5ec;padding:21px 0}.ml-faqs summary{cursor:pointer;font-size:19px;font-weight:700;line-height:1.5}.ml-faqs p{margin:18px 0 0;line-height:1.85}
.math-enquiry{max-width:850px}.ml-form-fields{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:0 0 25px}.ml-form-fields label{font-weight:700;display:flex;flex-direction:column;gap:10px;font-size:15px}
.ml-form-fields select{width:100%;min-width:0;max-width:100%;border:1px solid #a8bfd2;border-radius:10px;padding:14px 12px;color:#09253c;background:#fff;min-height:54px}
.math-enquiry .m-micro{max-width:650px}.ml-enquiry-status{font-size:14px;min-height:1.6em;color:#164e7a}
.ml-related{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.ml-related a{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #dce5ec;border-radius:14px;padding:23px;color:#086ec8;font-weight:700}.ml-related a:hover{background:#edf6fd}
.ml-extra{display:flex;gap:18px;flex-wrap:wrap;padding-top:24px;font-size:14px}.ml-source{font-size:12px;padding-bottom:30px}.ml-source p{color:#61768a;max-width:940px}
.math-submenu a{font-size:12px!important}
@media(max-width:900px){.math-landing .m-hero-grid{gap:28px;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}.ml-start{padding:23px}.ml-example{gap:24px;padding:26px}.ml-related{grid-template-columns:1fr}}
@media(max-width:760px){.math-page .m-math-four,.math-landing .m-hero-grid,.ml-example,.ml-form-fields{grid-template-columns:1fr}.math-landing h1{font-size:36px}.ml-start h2{font-size:23px}.ml-jump .wrap{gap:6px 20px}.ml-jump a{font-size:13px}.ml-example{padding:23px}.ml-example h3{font-size:24px}.ml-visual{max-width:380px;width:100%;margin:auto}.ml-faqs summary{font-size:17px}.ml-table th,.ml-table td{padding:15px}.math-enquiry>.btn{width:100%;text-align:center}.ml-related a{padding:20px}.ml-hub-primary{padding-bottom:20px}}

/* IP topic examples: original diagrams and clear, expandable solutions. */
.ip-example-choices{display:flex;flex-wrap:wrap;gap:12px 24px;margin:0 0 28px}.ip-example-choices a{color:#086ec8;font-weight:700;text-decoration:underline;text-underline-offset:4px;font-size:14px}
.ip-topic-example{scroll-margin-top:115px;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);align-items:start}
.ip-topic-example+.ip-topic-example{margin-top:28px}.ip-topic-example h3{font-size:27px}.ip-topic-example .eyebrow{font-size:11px}
.ip-example-visual{margin:0;padding:20px 8px;background:#eef7ff;min-width:0}.ip-example-visual figcaption{font-size:13px;line-height:1.7;padding:0 15px 10px;color:#405b72}
.ip-example-graph{display:block;width:100%;height:auto;max-width:440px;margin:auto;overflow:visible}.ip-axis{fill:none;stroke:#91a7bc;stroke-width:1.5}.ip-curve{fill:none;stroke:#086ec8;stroke-width:3.5}.ip-symmetry{fill:none;stroke:#9c7b3d;stroke-width:1.6;stroke-dasharray:5 5}.ip-points{fill:#075b9e}.ip-graph-labels{fill:#173b57;font-size:17px;font-family:inherit}.ip-unit-circle{stroke:#086ec8;stroke-width:2.8;fill:none}.ip-rays{fill:none;stroke:#477da7;stroke-width:1.8}.ip-worked-steps{padding-left:23px;margin:17px 0 0;line-height:1.85;color:#526174}.ip-worked-steps li+li{margin-top:15px}.ip-worked-steps strong{color:#173b57}.ip-stage-subtitle{font-size:17px;line-height:1.5;margin:0 0 12px;color:#173b57}
@media(max-width:760px){.ip-topic-example{grid-template-columns:1fr}.ip-topic-example h3{font-size:24px}.ip-example-visual{width:100%;max-width:420px}.ip-example-choices{gap:12px;font-size:13px}.ip-worked-steps{padding-left:20px}}

/* Secondary 1–2 foundations and Secondary 3–4 SEC examples. */
.math-page .m-math-five{grid-template-columns:repeat(2,minmax(0,1fr))}.m-math-five>.m-card:last-child{grid-column:1/-1}
.sm-example{scroll-margin-top:115px;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);align-items:start}.sm-example+.sm-example{margin-top:28px}.sm-example .eyebrow{font-size:11px}.sm-example-jumps{display:flex;flex-wrap:wrap;gap:12px 25px;margin-bottom:28px}.sm-example-jumps a{font-size:14px;color:#086ec8;font-weight:700;text-decoration:underline;text-underline-offset:4px}
.sm-steps{padding-left:23px;line-height:1.85;color:#526174;margin-top:18px}.sm-steps li+li{margin-top:15px}.sm-visual{margin:0;padding:20px 8px;min-width:0}.sm-visual figcaption{font-size:13px;line-height:1.7;color:#405b72;padding:8px 15px}.sm-graph{display:block;width:100%;height:auto;max-width:440px;margin:auto}.sm-grid{stroke:#d9e6ef;stroke-width:1;fill:none}.sm-axis,.sm-wall{stroke:#8199ad;stroke-width:1.5;fill:none}.sm-line{stroke:#086ec8;stroke-width:3;fill:none}.sm-dot{fill:#086ec8}.sm-guide{stroke:#a08043;stroke-width:1.7;stroke-dasharray:5 4;fill:none}.sm-label{font-size:17px;fill:#173b57;font-family:inherit}.sm-triangle{fill:#cde4f44d;stroke:#086ec8;stroke-width:3;stroke-linejoin:round}.sm-angle,.sm-right{stroke:#a08043;stroke-width:1.8;fill:none}
.sm-tree{padding:14px 10px;font-size:14px;color:#173b57}.sm-tree-start{background:#09253c;color:#fff;border-radius:10px;padding:14px 10px;text-align:center;font-size:14px;font-weight:700}.sm-tree-columns{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding-top:22px}.sm-first{font-weight:700;padding:11px 6px;text-align:center;border-radius:8px;border:1px solid #bdcfde;background:white}.sm-red{border-top:4px solid #bc5b47}.sm-blue{border-top:4px solid #086ec8}.sm-children{border-left:2px solid #c4d5e2;margin:12px 0 0 8px;padding-left:9px}.sm-leaf{display:flex;flex-direction:column;gap:6px;padding:12px 7px;background:white;border-radius:8px;margin-top:10px;border:1px solid #dae4ec;font-size:14px}.sm-winning{border:2px solid #086ec8}.sm-tree .sm-tree-key{font-size:12px;text-align:center;margin:20px 0 0}
@media(max-width:760px){.math-page .m-math-five,.sm-example{grid-template-columns:1fr}.sm-example .ml-question{font-size:17px}.sm-visual{width:100%;max-width:420px}.sm-tree{padding:8px 0}.sm-tree-columns{gap:10px}.sm-leaf{font-size:13px}.sm-steps{padding-left:20px}}

/* Structured chapter maps, recap routines and supplied teaching-experience statements. */
.mc-experience{background:#eaf4fb;border-block:1px solid #d6e5f0;padding:28px 0}.mc-experience-inner{display:grid;grid-template-columns:minmax(240px,.8fr) minmax(0,1.5fr);gap:35px;align-items:center}.mc-experience .eyebrow{margin:0 0 8px}.mc-experience p:last-child{margin:0;line-height:1.8;font-size:15px}.mc-result-badges{display:flex;gap:15px;flex-wrap:wrap}.mc-result{background:#09253c;color:white;border-radius:15px;padding:19px 24px;display:flex;flex-direction:column;gap:6px}.mc-result strong{font:800 28px/1.2 Manrope,sans-serif;white-space:nowrap}.mc-result strong span{color:#e6bc68}.mc-result>span{font-size:13px;color:#d4e5f2}
.mc-chapter-group{border:1px solid #d4e1ec;border-radius:15px;background:white;margin-bottom:16px;overflow:hidden}.mc-chapter-group>summary{padding:21px 24px;font-weight:800;font-size:19px;line-height:1.5;cursor:pointer;color:#163c58}.mc-chapter-group>summary>span{display:block;font-size:12px;font-weight:500;color:#61768a;margin-top:5px}.mc-chapter-group[open]>summary{background:#edf5fb;border-bottom:1px solid #dce7ef}.mc-chapter-list{display:grid;grid-template-columns:1fr 1fr;gap:0;list-style:none;margin:0;padding:0}.mc-chapter-list li{padding:24px;border-bottom:1px solid #e3ebf2;min-width:0}.mc-chapter-list li:nth-child(odd){border-right:1px solid #e3ebf2}.mc-chapter-list h3{font-size:18px;line-height:1.4;margin:0 0 10px}.mc-chapter-list p{font-size:14px;line-height:1.8;margin:0 0 12px}.mc-chapter-list p.mc-recap{font-size:13px;background:#f3f7fa;border-radius:8px;padding:10px 12px;margin:0;color:#315670}.mc-recap strong{color:#163c58}.mc-hub-map{padding:22px 26px}.mc-hub-map ul{padding-left:20px;line-height:2;margin:0 0 18px}
.mc-review-rhythm{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;list-style:none;margin:0 0 27px;padding:0}.mc-review-rhythm li{border:1px solid #d8e5ef;border-radius:14px;padding:23px 20px;background:#fff}.mc-review-rhythm li>span{display:inline-flex;align-items:center;justify-content:center;width:35px;height:35px;border-radius:50%;background:#086ec8;color:white;font-size:12px;font-weight:800;margin-bottom:15px}.mc-review-rhythm h3{font-size:19px;line-height:1.4;margin:0 0 12px}.mc-review-rhythm p{font-size:14px;line-height:1.75;margin:0}.mc-methods{display:grid;grid-template-columns:1fr 1fr;gap:12px}.mc-methods details{border:1px solid #d6e3ed;border-radius:12px;background:#fff;padding:17px 20px}.mc-methods summary{cursor:pointer;font-size:16px;line-height:1.5;font-weight:700;color:#173b57}.mc-methods p{font-size:14px;line-height:1.8;margin:15px 0 0}
.mc-example-jumps{display:flex;gap:12px 24px;flex-wrap:wrap;margin-bottom:28px}.mc-example-jumps a{color:#086ec8;text-decoration:underline;text-underline-offset:4px;font-weight:700;font-size:14px}.mc-primary-example{scroll-margin-top:115px;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);align-items:start}.mc-primary-example+.mc-primary-example{margin-top:28px}.mc-primary-example .eyebrow{font-size:11px}.mc-primary-visual{margin:0;padding:20px 8px}.mc-primary-visual figcaption{font-size:13px;color:#405b72;padding:10px 15px;line-height:1.7}.mc-primary-graph{display:block;width:100%;height:auto;max-width:440px;margin:auto}.mc-diagram-label{font-family:inherit;font-size:17px;fill:#173b57}.mc-shape{fill:#badcf3;stroke:#086ec8;stroke-width:3}.mc-missing{fill:none;stroke:#b38d48;stroke-width:2;stroke-dasharray:6 5}.mc-water{fill:#b1d8f1;stroke:none}.mc-water-top{fill:#89c3e8;stroke:#5da5d3;stroke-width:1}.mc-tank{fill:none;stroke:#477da7;stroke-width:2;stroke-linejoin:round}.mc-height{fill:none;stroke:#a08043;stroke-width:1.5}.mc-solution-steps{padding-left:22px;margin-top:18px;color:#526174;line-height:1.85}.mc-solution-steps li+li{margin-top:15px}
.mc-percentage{padding:24px 14px}.mc-percent-groups{display:grid;grid-template-columns:6fr 4fr;gap:10px;font-size:14px;color:#173b57;font-weight:700;margin-bottom:15px}.mc-percent-units{display:grid;grid-template-columns:repeat(10,1fr);gap:3px;height:70px}.mc-percent-units i{background:#086ec8;border-radius:3px}.mc-percent-units .mc-boy{background:#e6bc68}.mc-percentage>p{font-size:14px;margin:18px 0;color:#315670;text-align:center}.mc-percent-connections{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}.mc-percent-connections span{background:#fff;border:1px solid #d2e1ec;border-radius:9px;padding:10px 13px;color:#173b57;font-size:16px;font-weight:700}
@media(max-width:900px){.mc-review-rhythm{grid-template-columns:1fr 1fr}.mc-experience-inner{grid-template-columns:1fr;gap:20px}}
@media(max-width:760px){.mc-chapter-list,.mc-methods,.mc-primary-example{grid-template-columns:1fr}.mc-chapter-list li:nth-child(odd){border-right:0}.mc-chapter-group>summary{font-size:17px;padding:19px 20px}.mc-chapter-list li{padding:20px}.mc-review-rhythm{gap:12px}.mc-review-rhythm li{padding:19px 15px}.mc-review-rhythm h3{font-size:17px}.mc-result strong{font-size:25px}.mc-primary-visual{width:100%;max-width:420px}.mc-primary-example .ml-question{font-size:17px}.mc-percentage{padding:18px 8px}.mc-percent-groups{font-size:12px}.mc-percent-units{height:58px}.mc-percent-connections span{font-size:14px}.mc-solution-steps{padding-left:20px}}
