/* RegTech Nexus AI Student Subject Course — additive learning layer */
:root{--navy:#10203b;--blue:#2f80ed;--mint:#10a37f;--pink:#d9468f;--amber:#e58a18;--violet:#7c5ce6;--cyan:#159bb8;--border:#dce6ee;--soft:#f5f9fc}
*{box-sizing:border-box}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:#20324b;background:linear-gradient(180deg,#f7fbff,#fff)}a{color:#0956a8}
.course-header{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.97);border-bottom:1px solid var(--border);box-shadow:0 4px 18px rgba(16,32,59,.08)}
.course-head{max-width:1120px;margin:auto;padding:14px 18px;display:flex;align-items:center;justify-content:space-between;gap:14px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--navy);font-weight:900}.brand img{width:58px;height:58px;object-fit:contain}.back{padding:10px 14px;border-radius:12px;border:1px solid #d7e2ed;background:#f5f9ff;text-decoration:none;font-weight:800;white-space:nowrap}
.course-hero{background:linear-gradient(135deg,#edf6ff,#f7efff,#edfbf7);padding:42px 18px;border-bottom:1px solid var(--border)}.course-hero-inner{max-width:1120px;margin:auto}.eyebrow{display:inline-block;padding:6px 10px;border-radius:999px;background:#fff;border:1px solid #dbe7f2;color:#0956a8;font-size:.72rem;font-weight:900;letter-spacing:.08em}.course-hero h1{font-size:clamp(2rem,5vw,3.4rem);margin:12px 0 8px;color:var(--navy)}.course-hero p{max-width:820px;font-size:1.05rem;line-height:1.7;color:#526171}
.course-wrap{max-width:1120px;margin:28px auto;padding:0 18px;display:grid;grid-template-columns:300px 1fr;gap:22px}.panel{background:#fff;border:1px solid var(--border);border-radius:18px;box-shadow:0 10px 28px rgba(16,32,59,.07)}.syllabus{padding:16px;position:sticky;top:92px;height:max-content}.syllabus h2{font-size:1.05rem;margin:2px 0 12px}.topic-link{display:block;width:100%;border:0;border-left:5px solid #d9e4ef;background:#f8fbfd;color:#243b55;text-align:left;padding:12px 13px;margin:7px 0;border-radius:10px;font:inherit;font-weight:800;cursor:pointer}.topic-link:hover,.topic-link.active{background:#eef6ff;border-left-color:var(--blue)}
.lesson-panel{padding:24px}.lesson-panel h2{color:var(--navy);margin-top:0}.lesson-meta{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 18px}.pill{padding:6px 9px;border-radius:999px;background:#eef6ff;border:1px solid #d8e8f8;font-size:.74rem;font-weight:800}.lesson-copy{font-size:1rem;line-height:1.75}.lesson-box{padding:17px;border-radius:14px;background:#f7fbff;border-left:5px solid var(--blue);margin:14px 0}.lesson-box h3{margin:0 0 7px}.actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.btn{border:0;border-radius:11px;padding:11px 15px;font:inherit;font-weight:900;cursor:pointer}.primary{background:var(--navy);color:#fff}.secondary{background:#eef7f4;color:#086e5a;border:1px solid #cfe9e1}
.course-grid{max-width:1120px;margin:0 auto 34px;padding:0 18px}.course-grid h2{color:var(--navy)}.course-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.course-card{padding:18px;background:#fff;border:1px solid var(--border);border-top:5px solid var(--blue);border-radius:15px;box-shadow:0 7px 18px rgba(16,32,59,.06)}.course-card:nth-child(3n+2){border-top-color:var(--pink)}.course-card:nth-child(3n){border-top-color:var(--mint)}.course-card h3{margin:0 0 8px}.course-card p{color:#607080;line-height:1.55}.course-card button{margin-top:8px}
.quiz{margin-top:22px;padding:18px;background:#fff8e9;border:1px solid #f0dfbd;border-radius:15px}.quiz h3{margin-top:0}.quiz label{display:block;margin:8px 0;padding:9px;border-radius:9px;background:#fff;border:1px solid #eadfcb;cursor:pointer}.result{margin-top:13px;padding:12px;background:#fff;border-radius:10px;font-weight:800}.progress{height:9px;background:#e8eef4;border-radius:99px;overflow:hidden}.progress>span{display:block;height:100%;background:linear-gradient(90deg,var(--blue),var(--mint));width:0}
footer{margin-top:45px;padding:28px 18px;background:var(--navy);color:#dce7f1;text-align:center;font-size:.86rem}footer a{color:#fff}
@media(max-width:850px){.course-wrap{grid-template-columns:1fr}.syllabus{position:static}.course-cards{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.course-head{padding:10px 12px}.brand img{width:50px;height:50px}.brand span{font-size:.9rem}.back{font-size:.78rem;padding:8px 10px}.course-hero{padding:30px 14px}.course-wrap,.course-grid{padding:0 12px}.lesson-panel{padding:18px}.course-cards{grid-template-columns:1fr}.topic-link{padding:11px}}

:root{--arch-p:#123c69;--arch-pd:#082746;--arch-a:#148a9c;--arch-green:#14966f;--arch-gold:#d99b21;--arch-violet:#7a56c7;--arch-rose:#c93c83}
html{scroll-behavior:smooth}
.course-header{background:var(--arch-p);border-bottom:1px solid rgba(255,255,255,.22);box-shadow:0 4px 18px rgba(8,39,70,.22)}
.course-head{max-width:1180px;min-height:74px;padding:10px 18px}
.brand{color:#fff}.brand img{width:54px;height:54px;background:#fff;border-radius:12px;border:1px solid rgba(255,255,255,.55);padding:2px}.brand span{font-weight:950}
.back{background:#fff;color:var(--arch-p);border-color:rgba(255,255,255,.6);min-height:44px;display:inline-flex;align-items:center}
.course-nav{display:flex;gap:7px;overflow-x:auto;white-space:nowrap;scrollbar-width:none;flex:1;touch-action:pan-x;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;padding:4px 2px;scroll-snap-type:x proximity}.course-nav::-webkit-scrollbar{display:none}.course-nav a{flex:0 0 auto;scroll-snap-align:start;padding:9px 12px;border-radius:11px;border:1px solid rgba(255,255,255,.55);background:#fff;color:var(--arch-p);font-weight:900;text-decoration:none;min-height:44px;display:inline-flex;align-items:center}.course-nav a:nth-child(1){border-bottom:4px solid var(--arch-a);background:#effaf6}.course-nav a:nth-child(2){border-bottom:4px solid #1677d2;background:#eef5ff}.course-nav a:nth-child(3){border-bottom:4px solid var(--arch-violet);background:#f5f0ff}.course-nav a:nth-child(4){border-bottom:4px solid var(--arch-gold);background:#fff8e8}.course-nav a:nth-child(5){border-bottom:4px solid var(--arch-green);background:#edf9f4}.course-nav a:nth-child(6){border-bottom:4px solid var(--arch-rose);background:#fff0f7}
.course-nav a:focus-visible,.back:focus-visible,.btn:focus-visible,.topic-link:focus-visible{outline:3px solid #fff;outline-offset:2px}
.course-hero{background:linear-gradient(135deg,#eaf5fb,#fff 55%,#f3effc);padding:54px 18px 42px}.course-hero-inner{max-width:1180px}.course-hero h1{color:var(--arch-pd)}.eyebrow{background:#fff;border-color:#cbdde8;color:var(--arch-p);font-weight:950}
.learning-path{max-width:1180px;margin:0 auto;padding:22px 18px 8px}.learning-path-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.learning-step{background:#fff;border:1px solid var(--border);border-radius:14px;padding:14px;box-shadow:0 7px 18px rgba(16,39,64,.06)}.learning-step b{display:block;font-size:.7rem;letter-spacing:.08em;color:var(--arch-a);margin-bottom:4px}.learning-step strong{display:block;color:var(--arch-p);margin-bottom:4px}.learning-step span{display:block;color:#687581;font-size:.78rem;line-height:1.45}
.course-wrap{max-width:1180px}.panel{box-shadow:0 10px 30px rgba(16,39,64,.09)}.syllabus h2,.lesson-panel h2,.course-grid h2{color:var(--arch-pd)}.topic-link{min-height:44px}.topic-link:hover,.topic-link.active{background:#eef7fb;border-left-color:var(--arch-a)}.lesson-box{border-left-color:var(--arch-a);background:#f7fbfd}.btn{min-height:44px}.primary{background:var(--arch-p);border:1px solid var(--arch-p)}.secondary{background:#edf9f4;color:#087553;border:1px solid #c5e5d8}.course-card{box-shadow:0 8px 22px rgba(16,39,64,.07)}
.student-privacy{max-width:1180px;margin:0 auto 30px;padding:0 18px}.student-privacy-card{background:#fff;border:1px solid var(--border);border-left:5px solid var(--arch-violet);border-radius:14px;padding:16px 18px;box-shadow:0 7px 18px rgba(16,39,64,.06)}.student-privacy-card strong{color:var(--arch-p)}.student-privacy-card p{margin:6px 0;color:#607080;font-size:.84rem}.course-verification{max-width:1180px;margin:0 auto;padding:0 18px 20px;color:#687581;font-size:.72rem}.course-verification strong{color:var(--arch-p)}.course-print-sheet{display:none}.course-print-sheet .print-head{border-bottom:2px solid var(--arch-p);padding-bottom:10px;margin-bottom:14px}.course-print-sheet h1{margin:0;color:var(--arch-p);font-size:1.8rem}.course-print-sheet .print-meta{color:#687581;font-size:.8rem}
@media print{body>*:not(.course-print-sheet){display:none!important}.course-print-sheet{display:block!important;max-width:900px;margin:0 auto;padding:18px;background:#fff;color:#17212b}.course-print-sheet .print-box{border:1px solid #d5dde3;border-radius:10px;padding:12px;margin:10px 0;break-inside:avoid}.course-print-sheet .print-label{font-size:.68rem;font-weight:950;letter-spacing:.08em;color:#8b6a2c}.course-print-sheet .print-text{margin-top:5px;white-space:pre-wrap;line-height:1.55}}
@media(max-width:850px){.learning-path-grid{grid-template-columns:1fr 1fr}}@media(max-width:560px){.course-head{flex-wrap:wrap}.course-nav{order:3;flex-basis:100%}.course-hero{padding:34px 14px}.learning-path{padding:18px 12px 4px}.learning-path-grid{grid-template-columns:1fr}.course-wrap,.course-grid,.student-privacy,.course-verification{padding-left:12px;padding-right:12px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}.course-nav{scroll-behavior:auto!important}.btn:hover,.course-nav a:hover{transform:none!important}}

.course-nav{flex-wrap:nowrap!important;overflow-x:auto!important;white-space:nowrap!important;scroll-snap-type:none!important;scroll-behavior:auto!important}
.case-study-section{max-width:1180px;margin:0 auto;padding:30px 18px 8px;scroll-margin-top:90px}.case-study-head{margin-bottom:16px}.case-study-kicker{display:inline-block;padding:5px 9px;border-radius:999px;background:#fff8e8;border:1px solid #ead9a7;color:#8a6414;font-size:.72rem;font-weight:950;letter-spacing:.06em}.case-study-head h2{color:var(--arch-pd);margin:8px 0 6px}.case-study-head p{color:#687581;max-width:900px}.case-study-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.case-study-card{background:#fff;border:1px solid var(--border);border-top:4px solid var(--arch-gold);border-radius:15px;padding:18px;box-shadow:0 9px 24px rgba(16,39,64,.07)}.case-study-card:nth-child(2n){border-top-color:var(--arch-violet)}.case-study-card:nth-child(3n){border-top-color:var(--arch-a)}.case-study-card h3{color:var(--arch-p);margin:7px 0}.case-study-card p,.case-study-card li{color:#596877;font-size:.92rem;line-height:1.55}.case-study-card ul{padding-left:20px}.case-study-level{display:inline-block;padding:4px 8px;border-radius:999px;background:#edf6fb;border:1px solid #d7e6ef;color:#29587b;font-size:.68rem;font-weight:900}.case-study-lesson{margin-top:12px;padding:11px 12px;background:#f7fbfd;border-left:4px solid var(--arch-a);border-radius:9px;color:#526473;font-size:.84rem}.formula-nav{border-bottom-color:var(--arch-rose)!important;background:#fff0f7!important}.formula-library-cta{display:inline-flex;align-items:center;min-height:36px;padding:7px 11px;border-radius:999px;background:#fff0f7;border:1px solid #ecc8dc;color:#8b2f61;text-decoration:none;font-weight:900;font-size:.78rem}.formula-library-cta:hover{transform:translateY(-1px)}
@media(max-width:700px){.case-study-grid{grid-template-columns:1fr}.case-study-section{padding-left:12px;padding-right:12px}}@media(prefers-reduced-motion:reduce){.formula-library-cta:hover{transform:none}}

.language-switcher{display:flex;gap:12px;flex:0 0 auto;align-items:center;margin-left:auto}.lang-btn{min-height:44px;padding:9px 14px;border-radius:12px;border:1px solid #c8d8e6;background:#fff;color:var(--arch-p);font-weight:950;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 4px 0 rgba(8,39,70,.16),0 7px 16px rgba(8,39,70,.14);transition:transform .18s ease,box-shadow .18s ease,background .18s ease}.lang-btn.active{border-color:#b8d2df;border-bottom:4px solid var(--arch-a);background:#fff;box-shadow:0 4px 0 rgba(8,39,70,.18),0 8px 18px rgba(8,39,70,.16)}.lang-btn:hover{transform:translateY(-2px);box-shadow:0 6px 0 rgba(8,39,70,.16),0 11px 20px rgba(8,39,70,.16);text-decoration:none}.lang-btn:active{transform:translateY(1px);box-shadow:0 2px 0 rgba(8,39,70,.16),0 4px 10px rgba(8,39,70,.12)}
@media(max-width:560px){.course-head{flex-wrap:wrap}.brand{order:1}.language-switcher{order:2;flex-basis:auto;margin-left:auto;gap:10px;justify-content:flex-end;padding:0}.back{order:3}.course-nav{order:4;flex-basis:100%}.lang-btn{min-height:42px;padding:8px 12px;font-size:.82rem}}@media(prefers-reduced-motion:reduce){.lang-btn{transition:none}.lang-btn:hover{transform:none}}

.math-platform{max-width:1180px;margin:0 auto;padding:8px 18px 30px}.math-section{scroll-margin-top:100px;margin:26px 0}.math-section-head{margin-bottom:15px}.math-kicker{display:inline-block;padding:5px 9px;border-radius:999px;background:#edf6fb;border:1px solid #d5e6ef;color:#245b7e;font-size:.7rem;font-weight:950;letter-spacing:.06em}.math-section h2{margin:8px 0 6px;color:var(--arch-pd)}.math-section-head p{max-width:900px;color:#687581;line-height:1.65}.math-level-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.math-level-card,.math-domain-card,.math-tool-card,.math-roadmap,.math-practice-card{background:#fff;border:1px solid var(--border);border-radius:16px;padding:18px;box-shadow:0 8px 22px rgba(16,39,64,.07);min-width:0;overflow:hidden}.math-level-card{border-top:4px solid var(--arch-a)}.math-level-card:nth-child(2){border-top-color:#1677d2}.math-level-card:nth-child(3){border-top-color:var(--arch-violet)}.math-level-card:nth-child(4){border-top-color:var(--arch-gold)}.math-level-card:nth-child(5){border-top-color:var(--arch-rose)}.math-level-card:nth-child(6){border-top-color:var(--arch-green)}.math-level-card h3,.math-domain-card h3,.math-tool-card h3{margin:5px 0 7px;color:var(--arch-p);overflow-wrap:anywhere}.math-level-card p,.math-domain-card p,.math-tool-card p,.math-roadmap p,.math-practice-card p{color:#5f6e7c;line-height:1.55;margin:6px 0;overflow-wrap:anywhere}.math-level-card ul{margin:9px 0 0;padding-left:19px;color:#5f6e7c;line-height:1.55;font-size:.9rem}.math-level-badge{font-size:.7rem;font-weight:950;letter-spacing:.05em;color:#687581;display:block;line-height:1.35;overflow-wrap:anywhere}.math-grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.math-domain-card{min-height:150px}.math-tool-card{min-height:150px;border-left:4px solid var(--arch-a)}.math-tool-card:nth-child(2){border-left-color:var(--arch-violet)}.math-tool-card:nth-child(3){border-left-color:var(--arch-gold)}.math-tool-card:nth-child(4){border-left-color:var(--arch-green)}.math-roadmap{overflow-x:auto;overflow-y:hidden}.math-roadmap-flow{display:flex;align-items:center;gap:8px;min-width:820px;padding:8px 0}.math-roadmap-node{padding:12px 14px;border:1px solid #d5e3ec;border-radius:12px;background:#f7fbfd;color:var(--arch-p);font-weight:900;white-space:nowrap}.math-arrow{color:var(--arch-a);font-weight:950}.math-standard{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.math-standard div{padding:13px;border-radius:12px;background:#f7fbfd;border:1px solid #dce8ef;min-width:0}.math-standard b{display:block;color:var(--arch-p);font-size:.8rem;margin-bottom:4px}.math-standard span{font-size:.8rem;color:#657381;line-height:1.45;overflow-wrap:anywhere}.math-note{padding:14px 16px;border-left:4px solid var(--arch-gold);background:#fffaf0;border-radius:11px;color:#5e6872;line-height:1.55;overflow-wrap:anywhere}.math-links{display:flex;flex-wrap:wrap;gap:9px;margin-top:12px}.math-links a{display:inline-flex;align-items:center;min-height:42px;padding:8px 12px;border-radius:11px;border:1px solid #d8e6ee;background:#fff;text-decoration:none;font-weight:900;color:var(--arch-p);max-width:100%;overflow-wrap:anywhere}.math-links a:hover{background:#eef7fb}
body[data-subject="Mathematics"] .course-head{max-width:1240px;gap:10px}body[data-subject="Mathematics"] .course-nav{order:2;min-width:0}body[data-subject="Mathematics"] .language-switcher{order:3}body[data-subject="Mathematics"] .course-head>.back{order:4}body[data-subject="Mathematics"] .course-hero{padding:58px 18px 46px}body[data-subject="Mathematics"] .course-hero-inner{max-width:1240px}body[data-subject="Mathematics"] .course-hero h1{letter-spacing:-.025em}body[data-subject="Mathematics"] .course-hero p{font-size:1.08rem;max-width:860px}body[data-subject="Mathematics"] .learning-path{max-width:1240px;padding-top:20px}body[data-subject="Mathematics"] .learning-path-grid{gap:12px}body[data-subject="Mathematics"] .math-platform{max-width:1240px;padding-top:14px}body[data-subject="Mathematics"] .math-section{margin:38px 0}body[data-subject="Mathematics"] .math-section-head{max-width:920px}body[data-subject="Mathematics"] .math-section h2{font-size:clamp(1.45rem,2.5vw,2rem)}body[data-subject="Mathematics"] .math-level-card,body[data-subject="Mathematics"] .math-domain-card,body[data-subject="Mathematics"] .math-tool-card,body[data-subject="Mathematics"] .math-practice-card{transition:transform .16s ease,box-shadow .16s ease}body[data-subject="Mathematics"] .math-level-card:hover,body[data-subject="Mathematics"] .math-domain-card:hover,body[data-subject="Mathematics"] .math-tool-card:hover,body[data-subject="Mathematics"] .math-practice-card:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(16,39,64,.11)}body[data-subject="Mathematics"] .math-tool-card .math-links+ p{margin-top:13px}body[data-subject="Mathematics"] .math-practice-card{min-height:165px}body[data-subject="Mathematics"] .course-wrap{max-width:1240px;margin-top:18px}body[data-subject="Mathematics"] .course-grid{max-width:1240px}body[data-subject="Mathematics"] .student-privacy,body[data-subject="Mathematics"] .course-verification{max-width:1240px}
@media(max-width:1100px){body[data-subject="Mathematics"] .course-head{flex-wrap:wrap}body[data-subject="Mathematics"] .course-nav{order:5;flex-basis:100%}body[data-subject="Mathematics"] .language-switcher{margin-left:auto}}
@media(max-width:900px){.math-level-grid,.math-grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}.math-standard{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){body[data-subject="Mathematics"] .course-hero{padding:38px 14px 32px}body[data-subject="Mathematics"] .course-hero h1{font-size:2.25rem}body[data-subject="Mathematics"] .math-section{margin:30px 0}.math-level-grid,.math-grid-3{grid-template-columns:1fr}.math-standard{grid-template-columns:1fr}body[data-subject="Mathematics"] .math-tool-card,body[data-subject="Mathematics"] .math-level-card{min-height:0}}
@media(max-width:560px){.math-platform{padding-left:12px;padding-right:12px}.course-head{flex-wrap:wrap}.course-nav{order:4;flex-basis:100%}.math-roadmap-flow{min-width:700px}body[data-subject="Mathematics"] .course-hero{padding:34px 14px 30px}}
@media(prefers-reduced-motion:reduce){body[data-subject="Mathematics"] .math-level-card:hover,body[data-subject="Mathematics"] .math-domain-card:hover,body[data-subject="Mathematics"] .math-tool-card:hover,body[data-subject="Mathematics"] .math-practice-card:hover{transform:none}}


/* Mathematics platform — final structural layout guard */
body[data-subject="Mathematics"] .math-platform{display:block;width:100%;max-width:1240px;margin:0 auto;padding:10px 18px 36px;clear:both;overflow:visible;isolation:isolate}
body[data-subject="Mathematics"] .math-platform .math-section{display:block;width:100%;margin:34px 0;clear:both}
body[data-subject="Mathematics"] .math-platform .math-section-head{display:block;width:100%;margin:0 0 18px}
body[data-subject="Mathematics"] .math-platform .math-section-head h2{margin:8px 0 8px;line-height:1.25;overflow-wrap:anywhere}
body[data-subject="Mathematics"] .math-platform .math-section-head p{margin:0;max-width:900px;line-height:1.7;overflow-wrap:anywhere}
body[data-subject="Mathematics"] .math-platform .math-level-grid,body[data-subject="Mathematics"] .math-platform .math-grid-3{display:grid;width:100%;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:stretch}
body[data-subject="Mathematics"] .math-platform .math-level-card,body[data-subject="Mathematics"] .math-platform .math-domain-card,body[data-subject="Mathematics"] .math-platform .math-tool-card,body[data-subject="Mathematics"] .math-platform .math-practice-card{display:flex;flex-direction:column;min-width:0;width:100%;height:100%;overflow:hidden;overflow-wrap:anywhere}
body[data-subject="Mathematics"] .math-platform .math-level-card ul{margin:12px 0 0;padding-left:20px}
body[data-subject="Mathematics"] .math-platform .math-level-card li{margin:7px 0;line-height:1.5;overflow-wrap:anywhere}
body[data-subject="Mathematics"] .math-platform .math-domain-card,body[data-subject="Mathematics"] .math-platform .math-tool-card,body[data-subject="Mathematics"] .math-platform .math-practice-card{overflow-wrap:anywhere}
body[data-subject="Mathematics"] .math-platform .math-roadmap{display:block;width:100%;max-width:100%;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}
body[data-subject="Mathematics"] .math-platform .math-roadmap-flow{display:flex;width:max-content;min-width:100%;align-items:center;gap:10px;white-space:nowrap}
body[data-subject="Mathematics"] .math-platform .math-standard{display:grid;width:100%;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:stretch}
body[data-subject="Mathematics"] .math-platform .math-standard>div{min-width:0;height:100%;overflow-wrap:anywhere}
body[data-subject="Mathematics"] .math-platform .math-links{margin-top:auto;padding-top:12px}
body[data-subject="Mathematics"] .math-platform .math-links a{max-width:100%;overflow-wrap:anywhere}
@media(max-width:900px){body[data-subject="Mathematics"] .math-platform .math-level-grid,body[data-subject="Mathematics"] .math-platform .math-grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-subject="Mathematics"] .math-platform .math-standard{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){body[data-subject="Mathematics"] .math-platform{padding:6px 14px 28px}body[data-subject="Mathematics"] .math-platform .math-level-grid,body[data-subject="Mathematics"] .math-platform .math-grid-3,body[data-subject="Mathematics"] .math-platform .math-standard{grid-template-columns:1fr}body[data-subject="Mathematics"] .math-platform .math-section{margin:28px 0}body[data-subject="Mathematics"] .math-platform .math-level-card,body[data-subject="Mathematics"] .math-platform .math-domain-card,body[data-subject="Mathematics"] .math-platform .math-tool-card,body[data-subject="Mathematics"] .math-platform .math-practice-card{height:auto}}
@media(max-width:480px){body[data-subject="Mathematics"] .math-platform{padding-left:10px;padding-right:10px}body[data-subject="Mathematics"] .math-platform .math-section-head h2{font-size:1.45rem}body[data-subject="Mathematics"] .math-platform .math-kicker{font-size:.64rem}}


/* =========================================================
   2026-10-04 STUDENT COURSE VISUAL CONSISTENCY — DESIGN ONLY
   Mathematics receives no generic overrides; its existing design
   remains the reference implementation.
========================================================= */

body[data-subject]:not([data-subject="Mathematics"]) .course-hero{padding-top:36px;padding-bottom:34px}
body[data-subject]:not([data-subject="Mathematics"]) .course-wrap{margin-top:22px;gap:18px}
body[data-subject]:not([data-subject="Mathematics"]) .course-grid{margin-bottom:28px}
body[data-subject]:not([data-subject="Mathematics"]) .course-card{box-shadow:0 6px 16px rgba(16,32,59,.055)}
body[data-subject]:not([data-subject="Mathematics"]) .lesson-panel{padding:22px}
body[data-subject]:not([data-subject="Mathematics"]) .course-hero h1{letter-spacing:-.025em}
@media(max-width:820px){
  body[data-subject]:not([data-subject="Mathematics"]) .course-wrap{grid-template-columns:1fr;margin-top:16px}
  body[data-subject]:not([data-subject="Mathematics"]) .syllabus{position:static}
  body[data-subject]:not([data-subject="Mathematics"]) .course-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:560px){
  body[data-subject]:not([data-subject="Mathematics"]) .course-hero{padding:30px 14px 26px}
  body[data-subject]:not([data-subject="Mathematics"]) .course-hero h1{font-size:2rem}
  body[data-subject]:not([data-subject="Mathematics"]) .course-wrap{padding:0 14px}
  body[data-subject]:not([data-subject="Mathematics"]) .course-grid{padding:0 14px}
  body[data-subject]:not([data-subject="Mathematics"]) .course-cards{grid-template-columns:1fr}
  body[data-subject]:not([data-subject="Mathematics"]) .lesson-panel{padding:18px}
}
