/* DLS Math Flow - Stitch Science+Math bridge. Keeps existing math data hooks while matching the Stitch enterprise shell. */
.dls-math-flow{--math-ink:#07142f;--math-teal:var(--dls-primary,#003a40);--math-blue:#2588f3;--math-aqua:#83c5be;--math-gold:#ffb703;--math-line:rgba(0,83,91,.09);color:var(--math-ink)}
.math-pattern,.dls-math-flow .math-pattern{background-image:linear-gradient(rgba(255,255,255,.22) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.22) 1px,transparent 1px);background-size:34px 34px}
.dls-math-card,.dls-math-panel,.dls-math-video-card,.dls-math-stage,.dls-math-stat-card,.dls-math-info-card{border:1px solid rgba(191,200,202,.58);border-radius:2rem;background:rgba(255,255,255,.86);box-shadow:0 18px 60px rgba(0,58,64,.07)}
.dls-math-card{overflow:hidden;text-decoration:none;color:inherit;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}.dls-math-card:hover{transform:translateY(-6px);box-shadow:0 28px 70px rgba(0,58,64,.12);border-color:rgba(0,83,91,.25)}
.dls-math-card img,.dls-math-visual img{width:100%;height:210px;object-fit:cover}.dls-math-card-body{padding:1.45rem}.dls-math-card h2,.dls-math-panel h2,.dls-math-stage h2{font-family:Manrope,Inter,system-ui,sans-serif;color:var(--math-teal);font-size:clamp(1.35rem,2vw,2rem);line-height:1.12;margin:1rem 0 .5rem;font-weight:900;letter-spacing:-.035em}.dls-math-card p,.dls-math-panel p,.dls-math-section-head p{color:#52627c;line-height:1.6}
.dls-math-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1.25rem}.dls-math-stats{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}.dls-math-stat-card,.dls-math-info-card{padding:1.35rem}.dls-math-stat-card span{display:block;color:#52627c;font-weight:900}.dls-math-stat-card strong{display:block;margin-top:.45rem;color:var(--math-teal);font-family:Manrope,Inter,system-ui,sans-serif;font-size:clamp(2rem,4vw,3.4rem);line-height:1;letter-spacing:-.045em}
.dls-math-chip-row,.dls-math-actions,.dls-math-topic-tabs{display:flex;flex-wrap:wrap;gap:.75rem}.dls-math-topic-tab{display:inline-flex;align-items:center;gap:.45rem;border-radius:999px;border:1px solid rgba(191,200,202,.7);background:rgba(255,255,255,.75);padding:.5rem .85rem;font-weight:900;color:var(--math-teal);cursor:pointer}.dls-math-topic-tab.active{color:white;background:linear-gradient(135deg,var(--math-teal),var(--math-blue));border-color:transparent}
.dls-math-chapter-list{display:grid;gap:1rem}.dls-math-chapter-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:1rem;border-radius:1.7rem;padding:1rem;color:inherit;text-decoration:none;background:rgba(255,255,255,.92);border:1px solid rgba(191,200,202,.58);transition:.2s ease}.dls-math-chapter-row:hover{border-color:rgba(0,83,91,.28);box-shadow:0 18px 42px rgba(0,58,64,.08);transform:translateY(-2px)}.dls-math-chapter-row p{margin:.25rem 0 .8rem;color:#52627c}.dls-math-number{width:3.1rem;height:3.1rem;border-radius:1rem;display:grid;place-items:center;color:white;font-weight:900;background:linear-gradient(135deg,var(--math-teal),var(--math-blue))}
.dls-math-progress{height:.8rem;border-radius:999px;overflow:hidden;background:#e6eff1}.dls-math-progress span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#00bfa6,#1f8fff,#ffb703)}
.dls-math-carousel{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:1rem;align-items:center}.dls-math-arrow{width:3.5rem;height:3.5rem;border-radius:999px;border:1px solid rgba(0,83,91,.15);background:white;color:var(--math-teal);font-weight:900;cursor:pointer;display:grid;place-items:center}.dls-math-video-card{overflow:hidden}.dls-math-video-frame{min-height:330px;display:grid;place-items:center;color:white;background:linear-gradient(135deg,rgba(0,58,64,.9),rgba(31,143,255,.72)),url('https://images.unsplash.com/photo-1635070041078-e363dbe005cb?auto=format&fit=crop&w=1400&q=82');background-size:cover;background-position:center}.dls-math-play{width:6rem;height:6rem;display:grid;place-items:center;border-radius:999px;background:rgba(255,255,255,.92);color:var(--math-teal);box-shadow:0 20px 60px rgba(0,58,64,.28)}
.dls-math-lesson-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.85rem}.dls-math-lesson-pill{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.75rem;border-radius:1.35rem;padding:.9rem;color:inherit;text-decoration:none;background:rgba(255,255,255,.9);border:1px solid rgba(191,200,202,.58)}.dls-math-lesson-pill:hover,.dls-math-lesson-pill.active{border-color:rgba(0,83,91,.26);background:#e9fbfc}.dls-math-lesson-pill span{width:2.4rem;height:2.4rem;border-radius:.85rem;display:grid;place-items:center;color:white;font-weight:900;background:linear-gradient(135deg,var(--math-teal),var(--math-blue))}.dls-math-lesson-pill strong{min-width:0;color:var(--math-teal)}
.dls-math-workspace{display:grid;grid-template-columns:240px minmax(0,1fr)280px;gap:1.25rem;align-items:start}.dls-math-mini-nav,.dls-math-progress-panel{position:sticky;top:96px}.dls-math-mini-nav a{display:block;border-radius:1rem;padding:.8rem .9rem;color:#52627c;text-decoration:none;font-weight:800}.dls-math-mini-nav a.active,.dls-math-mini-nav a:hover{color:var(--math-teal);background:#e9fbfc}.dls-math-stage{padding:clamp(1.5rem,4vw,3rem)}.dls-math-equation{border-radius:2rem;padding:2rem;color:var(--math-ink);background:linear-gradient(rgba(255,255,255,.86),rgba(255,255,255,.86)),linear-gradient(var(--math-line) 1px,transparent 1px),linear-gradient(90deg,var(--math-line) 1px,transparent 1px);background-size:auto,28px 28px,28px 28px;border:1px solid rgba(191,200,202,.58)}.dls-math-equation h3{font-family:Manrope,Inter,system-ui,sans-serif;font-size:clamp(1.5rem,3vw,2.25rem);margin:0 0 .8rem;color:var(--math-teal);font-weight:900}.dls-math-step{border-left:5px solid var(--math-aqua);padding:1rem 1rem 1rem 1.2rem;border-radius:0 1.25rem 1.25rem 0;background:#f5fbfb;margin-top:1rem}
@media(max-width:1100px){.dls-math-workspace{grid-template-columns:1fr}.dls-math-mini-nav,.dls-math-progress-panel{position:relative;top:auto}}@media(max-width:900px){.dls-main-with-sidebar{margin-left:0!important}.dls-sidebar{position:relative!important;width:auto!important;min-height:auto!important;height:auto!important}.dls-math-carousel{grid-template-columns:1fr}.dls-math-arrow{display:none}}@media(max-width:720px){.dls-math-card-grid{grid-template-columns:1fr}.dls-math-chapter-row{grid-template-columns:1fr}.dls-math-video-frame{min-height:240px}}


/* Math usability refinement: clearer course maps, less scrolling, stronger controls. */
.dls-math-flow .dls-page{max-width:1440px;}
.dls-math-flow .dls-math-hero{box-shadow:0 32px 90px rgba(0,58,64,.16);}
.dls-math-command-strip{display:grid;grid-template-columns:1.25fr repeat(3,minmax(0,.75fr));gap:1rem;align-items:stretch;margin-top:-1rem;}
.dls-math-command-card{border:1px solid rgba(191,200,202,.62);border-radius:1.7rem;background:rgba(255,255,255,.9);box-shadow:0 16px 48px rgba(0,58,64,.075);padding:1.1rem 1.2rem;display:flex;gap:.9rem;align-items:flex-start;min-height:112px;}
.dls-math-command-card strong{display:block;color:var(--math-teal);font-family:Manrope,Inter,system-ui,sans-serif;font-size:1.05rem;font-weight:900;line-height:1.18;}
.dls-math-command-card p{margin:.25rem 0 0;color:#52627c;font-weight:700;line-height:1.45;font-size:.93rem;}
.dls-math-command-icon{width:2.75rem;height:2.75rem;border-radius:1rem;display:grid;place-items:center;flex:0 0 auto;color:#fff;background:linear-gradient(135deg,var(--math-teal),var(--math-blue));box-shadow:0 14px 34px rgba(0,83,91,.16);}
.dls-math-focus-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:1.25rem;align-items:start;}
.dls-math-module-toolbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-bottom:1.25rem;}
.dls-math-module-search{position:relative;min-width:min(100%,340px);}
.dls-math-module-search .material-symbols-outlined{position:absolute;left:1rem;top:50%;transform:translateY(-50%);color:#52627c;}
.dls-math-module-search input{padding-left:3rem;}
.dls-math-chapter-list{grid-template-columns:repeat(auto-fit,minmax(330px,1fr));gap:1.1rem;}
.dls-math-chapter-row{grid-template-columns:auto minmax(0,1fr);padding:1.15rem;position:relative;overflow:hidden;}
.dls-math-chapter-row::after{content:"";position:absolute;right:-3rem;top:-3rem;width:8rem;height:8rem;border-radius:999px;background:linear-gradient(135deg,rgba(131,197,190,.2),rgba(37,136,243,.14));pointer-events:none;}
.dls-math-chapter-row > .material-symbols-outlined{display:none;}
.dls-math-module-actions{display:flex;flex-wrap:wrap;gap:.55rem;margin-top:.9rem;position:relative;z-index:1;}
.dls-math-mini-button{display:inline-flex;align-items:center;justify-content:center;gap:.35rem;border-radius:999px;border:1px solid rgba(0,83,91,.18);background:#fff;color:var(--math-teal);font-weight:900;font-size:.84rem;padding:.55rem .75rem;text-decoration:none;}
.dls-math-mini-button.primary{background:linear-gradient(135deg,var(--math-teal),var(--math-blue));color:#fff;border-color:transparent;}
.dls-math-chapter-row strong{font-family:Manrope,Inter,system-ui,sans-serif;font-size:1.18rem;line-height:1.15;color:var(--math-teal);font-weight:900;}
.dls-math-chip{display:inline-flex;align-items:center;border-radius:999px;background:#edf7f8;color:var(--math-teal);font-weight:900;font-size:.78rem;padding:.4rem .65rem;}
.dls-math-current-card{position:sticky;top:104px;border-radius:2rem;border:1px solid rgba(0,83,91,.14);background:linear-gradient(180deg,#ffffff,#f1fbfc);box-shadow:0 18px 60px rgba(0,58,64,.08);padding:1.35rem;}
.dls-math-current-card h3{font-family:Manrope,Inter,system-ui,sans-serif;color:var(--math-teal);font-size:1.45rem;line-height:1.1;font-weight:900;margin:.7rem 0 .5rem;}
.dls-math-current-card p{color:#52627c;font-weight:700;line-height:1.55;}
.dls-math-current-card .dls-math-button,.dls-math-current-card .dls-math-ghost{width:100%;margin-top:.7rem;}

/* Mastery pathway: a sequential course route inspired by modern unit-based
   learning flows, with DLS-owned content and progress states. */
.dls-math-learning-path{position:relative;display:grid!important;grid-template-columns:1fr!important;gap:1.15rem!important;padding:1.2rem 0 1.2rem 4.75rem!important;}
.dls-math-learning-path:before{content:"";position:absolute;left:2.05rem;top:7.2rem;bottom:2.5rem;width:4px;border-radius:999px;background:linear-gradient(180deg,#00bfa6,#2588f3 72%,#bfc8ca);}
.dls-math-path-intro{position:relative;margin-left:-4.75rem;padding:1.25rem 1.4rem;border:1px solid rgba(0,83,91,.14);border-radius:1.5rem;background:linear-gradient(135deg,#e7faf6,#f2f8ff);box-shadow:0 14px 32px rgba(0,58,64,.06);}
.dls-math-path-intro strong{display:block;margin-top:.65rem;color:var(--math-teal);font:900 clamp(1.25rem,2vw,1.65rem)/1.15 Manrope,Inter,sans-serif;}.dls-math-path-intro p{margin:.4rem 0 0;color:#52627c;font-weight:700;}
.dls-math-mini-trail{position:relative;z-index:1;display:flex;align-items:center;gap:1rem;margin-left:-4.75rem;padding:.85rem 1rem;border:1px solid rgba(0,83,91,.12);border-radius:1.15rem;background:#fff;box-shadow:0 8px 24px rgba(0,58,64,.045)}.dls-math-mini-trail-label{display:inline-flex;align-items:center;gap:.4rem;flex:0 0 auto;color:#31514d;font-size:.72rem;font-weight:950;letter-spacing:.05em;text-transform:uppercase}.dls-math-mini-trail-label .material-symbols-outlined{color:#007f76;font-size:1.1rem}.dls-math-mini-trail-stops{display:flex;align-items:center;min-width:0;flex:1}.dls-math-mini-trail-stops>a{position:relative;display:flex;align-items:center;gap:.42rem;min-width:0;flex:1;color:#536a72;font-size:.72rem;font-weight:850;text-decoration:none}.dls-math-mini-trail-stops>a:not(:last-of-type):after{content:"";position:absolute;left:1.7rem;right:.12rem;top:50%;height:2px;background:#d8e7e4;z-index:-1}.dls-math-mini-trail-stops b{display:grid;place-items:center;flex:0 0 auto;width:1.65rem;height:1.65rem;border:2px solid #c9dfda;border-radius:50%;background:#fff;color:#31514d;font-size:.66rem}.dls-math-mini-trail-stops>a.is-next b{border-color:#007f76;background:#007f76;color:#fff;box-shadow:0 0 0 4px rgba(0,127,118,.12)}.dls-math-mini-trail-stops span:not(.dls-math-mini-trail-more){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dls-math-mini-trail-more{display:grid;place-items:center;flex:0 0 auto;width:1.65rem;height:1.65rem;border-radius:50%;background:#edf5f3;color:#52627c;font-size:.67rem;font-weight:950}.dls-math-mini-trail-stops>a:hover b,.dls-math-mini-trail-stops>a:focus-visible b{border-color:#1764ce;transform:scale(1.08)}
.dls-math-trail{position:relative;display:grid;grid-template-columns:minmax(190px,.7fr) 92px minmax(0,1.75fr);align-items:center;gap:1.1rem;margin-left:-4.75rem;padding:1.1rem 1.3rem;border:1px solid rgba(0,83,91,.14);border-radius:1.5rem;background:linear-gradient(120deg,#f9fffd,#e7f6f2 57%,#edf5ff);box-shadow:0 14px 32px rgba(0,58,64,.06);overflow:hidden;}
.dls-math-trail:before{content:"";position:absolute;inset:auto -5rem -6rem auto;width:15rem;height:15rem;border-radius:50%;border:2rem solid rgba(37,136,243,.09);pointer-events:none}.dls-math-trail-copy{position:relative;z-index:1}.dls-math-trail-kicker{display:block;color:#007f76;font-size:.67rem;font-weight:950;letter-spacing:.13em}.dls-math-trail-copy strong{display:block;margin-top:.4rem;color:#123630;font:900 1.15rem/1.12 Manrope,Inter,sans-serif}.dls-math-trail-copy p{margin:.4rem 0 0;color:#52627c;font-size:.82rem;font-weight:750;line-height:1.35}
/* Numo is a DLS-original, CSS-built math companion: an asymmetric compass body,
   orbit antenna, and a small star that signals the next discovery. */
.dls-numo{position:relative;z-index:1;width:72px;height:72px;border-radius:44% 56% 48% 52%/54% 42% 58% 46%;background:linear-gradient(145deg,#00a79d,#1764ce);box-shadow:inset -8px -8px 0 rgba(0,46,90,.13),0 14px 22px rgba(0,83,91,.18);transform:rotate(-8deg)}.dls-numo:before{content:"";position:absolute;inset:9px;border:2px solid rgba(255,255,255,.24);border-radius:inherit}.dls-numo-antenna{position:absolute;width:20px;height:20px;left:26px;top:-12px;border:4px solid #123630;border-bottom:0;border-radius:20px 20px 0 0;transform:rotate(8deg)}.dls-numo-antenna:after{content:"";position:absolute;width:8px;height:8px;right:-7px;top:-5px;border-radius:50%;background:#ffd166;border:2px solid #123630}.dls-numo-eye{position:absolute;z-index:2;top:25px;width:17px;height:21px;border-radius:50%;background:#fff;box-shadow:0 2px 0 rgba(10,43,61,.15)}.dls-numo-eye:after{content:"";position:absolute;width:8px;height:8px;left:5px;top:7px;border-radius:50%;background:#10243c}.dls-numo-eye-left{left:18px;transform:rotate(-8deg)}.dls-numo-eye-right{left:38px;top:22px;transform:rotate(7deg)}.dls-numo-smile{position:absolute;z-index:2;left:28px;top:47px;width:20px;height:10px;border:3px solid #fff;border-top:0;border-left-color:transparent;border-radius:0 0 18px 18px;transform:rotate(4deg)}.dls-numo-spark{position:absolute;z-index:3;right:-12px;top:-9px;color:#ffd166;font-size:1.4rem;text-shadow:0 2px 0 #123630;transform:rotate(14deg)}
.dls-math-trail-track{position:absolute;z-index:0;right:1.4rem;left:42%;top:50%;height:42px;transform:translateY(-50%);background:linear-gradient(90deg,transparent 0 3%,rgba(18,54,48,.16) 3% 97%,transparent 97%);clip-path:polygon(0 46%,10% 46%,14% 12%,29% 12%,34% 76%,49% 76%,55% 25%,70% 25%,75% 58%,100% 58%,100% 68%,70% 68%,65% 35%,61% 86%,43% 86%,38% 22%,23% 22%,19% 56%,0 56%)}.dls-math-trail-track i{position:absolute;width:9px;height:9px;border-radius:50%;background:#fff;border:3px solid #007f76;box-shadow:0 3px 0 rgba(18,54,48,.2)}.dls-math-trail-track i:nth-child(1){left:10%;top:10%}.dls-math-trail-track i:nth-child(2){left:31%;bottom:0}.dls-math-trail-track i:nth-child(3){left:57%;top:7%}.dls-math-trail-track i:nth-child(4){right:11%;bottom:18%}
.dls-math-trail-stops{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:.55rem;padding-top:1.2rem}.dls-math-trail-stop{display:grid;justify-items:center;gap:.35rem;max-width:86px;color:#31514d;font-size:.67rem;font-weight:900;line-height:1.1;text-align:center;text-decoration:none}.dls-math-trail-stop:nth-child(even){transform:translateY(17px)}.dls-math-trail-stop span{display:grid;place-items:center;width:31px;height:31px;border:3px solid #fff;border-radius:50%;background:#d7e7e5;color:#31514d;box-shadow:0 3px 0 rgba(18,54,48,.22),0 0 0 2px rgba(0,83,91,.12)}.dls-math-trail-stop.is-next span{background:linear-gradient(145deg,#007f76,#1764ce);color:#fff;box-shadow:0 4px 0 #0d544e,0 0 0 4px rgba(0,191,166,.18)}.dls-math-trail-stop:hover span,.dls-math-trail-stop:focus-visible span{transform:scale(1.12);outline:0}.dls-math-trail-stop b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.dls-math-learning-path .dls-module-explorer-card{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:1.1rem;min-height:126px;padding:1.1rem 1.2rem!important;border:1px solid rgba(0,83,91,.14)!important;border-radius:1.5rem!important;background:#fff!important;box-shadow:0 12px 30px rgba(0,58,64,.07)!important;overflow:visible!important;}
.dls-math-learning-path .dls-module-explorer-card:before{content:"";position:absolute;left:-3.58rem;top:50%;width:2.25rem;height:2.25rem;transform:translateY(-50%);border:7px solid #e7faf6;border-radius:999px;background:linear-gradient(135deg,#003a40,#2588f3);box-shadow:0 0 0 3px rgba(0,83,91,.18);}.dls-math-learning-path .dls-module-explorer-card.is-mastered:before{content:"✓";display:grid;place-items:center;color:#fff;background:#16a34a;}
.dls-math-learning-path .dls-module-card-top{display:contents;}.dls-math-learning-path .dls-math-number{grid-row:1/3;width:3.4rem;height:3.4rem;border-radius:1.1rem;}.dls-math-learning-path .dls-module-live-status{justify-self:end;}.dls-math-learning-path .dls-module-explorer-card h3{margin:0;color:var(--math-teal);font:900 1.2rem/1.15 Manrope,Inter,sans-serif;}.dls-math-learning-path .dls-module-explorer-card p{grid-column:2/3;margin:.2rem 0;color:#52627c;}.dls-math-learning-path .dls-module-meta,.dls-math-learning-path .dls-module-skills{grid-column:2/3;}.dls-math-learning-path .dls-module-progress{grid-column:2/3;}.dls-math-learning-path .dls-module-action{grid-column:3;grid-row:2/5;align-self:center;}
@media(max-width:720px){.dls-math-learning-path{padding-left:3.5rem!important}.dls-math-learning-path:before{left:1.4rem}.dls-math-path-intro,.dls-math-trail,.dls-math-mini-trail{margin-left:-3.5rem}.dls-math-mini-trail{align-items:flex-start;flex-direction:column;gap:.55rem;padding:.75rem .8rem}.dls-math-mini-trail-stops>a{flex:0 0 auto}.dls-math-mini-trail-stops>a span{display:none}.dls-math-mini-trail-stops>a:not(:last-of-type):after{left:1.65rem;width:1.3rem;right:auto}.dls-math-learning-path .dls-module-explorer-card{grid-template-columns:auto minmax(0,1fr);}.dls-math-learning-path .dls-module-explorer-card:before{left:-2.72rem;width:1.7rem;height:1.7rem;border-width:5px}.dls-math-learning-path .dls-module-explorer-card p,.dls-math-learning-path .dls-module-meta,.dls-math-learning-path .dls-module-skills,.dls-math-learning-path .dls-module-progress{grid-column:1/-1}.dls-math-learning-path .dls-module-action{grid-column:2;grid-row:1;}}
.dls-math-button,.dls-math-ghost{display:inline-flex;align-items:center;justify-content:center;gap:.45rem;border-radius:999px;font-weight:900;text-decoration:none;padding:.85rem 1.05rem;}
.dls-math-button{background:linear-gradient(135deg,var(--math-teal),var(--math-blue));color:#fff;box-shadow:0 14px 34px rgba(0,83,91,.16);}
.dls-math-ghost{background:#fff;border:1px solid rgba(0,83,91,.18);color:var(--math-teal);}
.dls-math-carousel{grid-template-columns:4rem minmax(0,1fr) 4rem;}
.dls-math-video-card{border-radius:2.25rem;}
.dls-math-video-frame{min-height:300px;}
.dls-math-lesson-strip{display:flex;overflow-x:auto;gap:.85rem;padding:.25rem .1rem .7rem;scroll-snap-type:x proximity;}
.dls-math-lesson-pill{min-width:250px;scroll-snap-align:start;}
.dls-math-workspace{grid-template-columns:230px minmax(0,1fr) 280px;}
.dls-math-stage{min-height:640px;position:relative;overflow:hidden;}
.dls-math-stage-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-bottom:1.25rem;padding-bottom:1rem;border-bottom:1px solid rgba(191,200,202,.55);}
.dls-math-stage-header h2{font-family:Manrope,Inter,system-ui,sans-serif;color:var(--math-teal);font-size:clamp(1.7rem,3vw,2.6rem);font-weight:900;letter-spacing:-.04em;margin:.35rem 0 0;}
.dls-math-stage-header p{color:#52627c;font-weight:700;line-height:1.55;margin:.35rem 0 0;max-width:720px;}
.dls-math-section{display:none;animation:dlsMathFade .22s ease both;}
.dls-math-section.is-active{display:block;}
.dls-math-section > h2:first-child{font-family:Manrope,Inter,system-ui,sans-serif;color:var(--math-teal);font-size:clamp(1.65rem,3vw,2.35rem);line-height:1.08;font-weight:900;letter-spacing:-.035em;margin-bottom:1rem;}
.dls-math-section-controls{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-top:1.5rem;padding-top:1rem;border-top:1px solid rgba(191,200,202,.55);}
.dls-math-section-count{font-weight:900;color:#52627c;}
.dls-math-section-buttons{display:flex;gap:.75rem;flex-wrap:wrap;}
.dls-math-section-buttons button{border:0;cursor:pointer;}
.dls-math-section-buttons button:disabled{opacity:.45;cursor:not-allowed;box-shadow:none;}
.dls-math-progress-panel h2{font-family:Manrope,Inter,system-ui,sans-serif;font-size:3rem;line-height:1;color:var(--math-teal);font-weight:900;}
.dls-math-progress-panel p{color:#52627c;line-height:1.45;margin-top:.8rem;}
.dls-math-mini-nav{max-height:calc(100vh - 130px);overflow:auto;}
.dls-math-mini-nav a{display:flex;align-items:center;justify-content:space-between;gap:.75rem;}
.dls-math-mini-nav a::after{content:"";width:.45rem;height:.45rem;border-radius:999px;background:transparent;}
.dls-math-mini-nav a.active::after{background:var(--math-blue);}
@keyframes dlsMathFade{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1180px){.dls-math-focus-layout{grid-template-columns:1fr}.dls-math-current-card{position:relative;top:auto}.dls-math-command-strip{grid-template-columns:repeat(2,minmax(0,1fr));}.dls-math-workspace{grid-template-columns:1fr}.dls-math-mini-nav{position:relative;top:auto;display:flex;overflow-x:auto;max-height:none;gap:.5rem;padding:.85rem!important}.dls-math-mini-nav a{white-space:nowrap;flex:0 0 auto}.dls-math-progress-panel{position:relative;top:auto}}
@media(max-width:900px){.dls-math-command-strip{grid-template-columns:1fr}.dls-math-carousel{grid-template-columns:1fr}.dls-math-arrow{display:none}.dls-math-stage{min-height:auto}.dls-math-chapter-list{grid-template-columns:1fr}.dls-math-current-card{display:none}.dls-math-video-frame{min-height:220px}}
@media(max-width:640px){.dls-math-stage{padding:1.25rem}.dls-math-equation{padding:1.2rem}.dls-math-card img,.dls-math-visual img{height:170px}.dls-math-section-controls{align-items:stretch}.dls-math-section-buttons,.dls-math-section-buttons a,.dls-math-section-buttons button{width:100%}}


/* Role-aware Math course controls. */
.dls-math-role-panel{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1.25rem;align-items:center;border:1px solid rgba(0,83,91,.13);border-radius:2rem;background:linear-gradient(135deg,rgba(255,255,255,.92),rgba(233,251,252,.88));box-shadow:0 22px 70px rgba(0,58,64,.09);padding:1.35rem 1.5rem;margin-top:1.25rem;}
.dls-math-role-panel h2{font-family:Manrope,Inter,system-ui,sans-serif;color:var(--math-teal);font-size:clamp(1.45rem,2.5vw,2.15rem);font-weight:900;letter-spacing:-.035em;margin:.7rem 0 .35rem;line-height:1.08;}
.dls-math-role-panel p{color:#52627c;font-weight:750;line-height:1.55;margin:0;max-width:760px;}
.dls-math-role-actions{display:flex;align-items:center;justify-content:flex-end;gap:.75rem;flex-wrap:wrap;}
.dls-math-role-actions .dls-math-button,.dls-math-role-actions .dls-math-ghost{white-space:nowrap;}
.dls-math-role-note{display:inline-flex;align-items:center;gap:.45rem;border-radius:999px;border:1px solid rgba(0,83,91,.14);background:#fff;color:#52627c;font-weight:900;padding:.78rem 1rem;}
@media(max-width:900px){.dls-math-role-panel{grid-template-columns:1fr}.dls-math-role-actions{justify-content:flex-start}.dls-math-role-actions .dls-math-button,.dls-math-role-actions .dls-math-ghost,.dls-math-role-note{width:100%;justify-content:center}}


/* Video then quiz topic flow. */
.dls-math-topic-video{border-radius:2rem;margin-top:1.25rem;min-height:360px;}
.dls-math-quiz{display:grid;gap:1rem;margin-top:1.25rem;}
.dls-math-quiz-card{border:1px solid rgba(191,200,202,.62);border-radius:1.45rem;background:#fff;padding:1.1rem 1.2rem;display:grid;gap:.75rem;}
.dls-math-quiz-card legend{color:var(--math-teal);font-family:Manrope,Inter,system-ui,sans-serif;font-size:1.05rem;line-height:1.25;margin-bottom:.35rem;}
.dls-math-question-context{margin:.15rem 0 .35rem;color:#52627c;font-weight:760;line-height:1.5;}
.dls-math-quiz-card label{display:flex;align-items:center;gap:.7rem;border-radius:1rem;background:#f5fbfb;border:1px solid rgba(0,83,91,.08);padding:.75rem .85rem;color:#26393d;font-weight:800;cursor:pointer;}
.dls-math-quiz-card input{accent-color:var(--math-teal);width:1.1rem;height:1.1rem;flex:0 0 auto;}
.dls-math-quiz-card.is-correct{border-color:rgba(22,163,74,.45);box-shadow:0 12px 32px rgba(22,163,74,.08);}
.dls-math-quiz-card.is-missing{border-color:rgba(245,158,11,.45);}
@media(max-width:640px){.dls-math-topic-video{min-height:240px}}


/* AI Whiteboard question flow for math lessons. */
.dls-math-whiteboard-intro{display:flex;gap:1rem;align-items:flex-start;border:1px solid rgba(0,83,91,.12);border-radius:1.45rem;background:linear-gradient(135deg,#f2fbfc,#fff);padding:1rem 1.15rem;margin:1.15rem 0;box-shadow:0 12px 34px rgba(0,58,64,.055);}
.dls-math-whiteboard-intro>.material-symbols-outlined{width:3rem;height:3rem;border-radius:1rem;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,var(--math-teal),var(--math-blue));box-shadow:0 14px 34px rgba(0,83,91,.14);flex:0 0 auto;}
.dls-math-whiteboard-intro strong{display:block;color:var(--math-teal);font-family:Manrope,Inter,system-ui,sans-serif;font-weight:950;font-size:1.05rem;}
.dls-math-whiteboard-intro p{margin:.25rem 0 0;color:#52627c;font-weight:750;line-height:1.5;}
.dls-math-whiteboard-list{gap:1.15rem;}
.dls-math-whiteboard-card{padding:1.25rem!important;}
.dls-ai-whiteboard{display:grid;gap:.85rem;margin-top:.7rem;}
.dls-ai-whiteboard-toolbar{display:flex;align-items:center;justify-content:space-between;gap:.85rem;flex-wrap:wrap;border-radius:1.15rem;background:#f5fbfb;border:1px solid rgba(0,83,91,.08);padding:.7rem .8rem;}
.dls-ai-whiteboard-toolbar>span{display:inline-flex;align-items:center;gap:.45rem;color:var(--math-teal);font-weight:950;}
.dls-ai-whiteboard-toolbar>div{display:flex;gap:.5rem;flex-wrap:wrap;}
.dls-ai-whiteboard-toolbar button{border:1px solid rgba(0,83,91,.16);border-radius:999px;background:#fff;color:var(--math-teal);font-weight:900;padding:.46rem .72rem;cursor:pointer;}
.dls-ai-whiteboard canvas{width:100%;height:260px;border-radius:1.35rem;border:2px solid rgba(0,83,91,.13);background:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.5),0 18px 48px rgba(0,58,64,.06);touch-action:none;cursor:crosshair;}
.dls-ai-whiteboard-accessibility{display:grid;gap:.35rem;color:#52627c;font-weight:850;}
.dls-ai-whiteboard-accessibility span{font-size:.82rem;text-transform:uppercase;letter-spacing:.06em;color:#6b778c;}
.dls-ai-whiteboard-accessibility input{border:1px solid rgba(191,200,202,.7);border-radius:1rem;background:#fff;color:var(--math-ink);font-weight:800;padding:.78rem .9rem;outline:none;}
.dls-ai-whiteboard-accessibility input:focus{border-color:rgba(0,83,91,.35);box-shadow:0 0 0 4px rgba(0,191,166,.12);}
.dls-ai-whiteboard-actions{display:flex;align-items:center;justify-content:space-between;gap:.85rem;flex-wrap:wrap;}
.dls-ai-whiteboard-actions>span{color:#52627c;font-weight:900;}
.dls-ai-whiteboard-feedback{border-left:5px solid var(--math-aqua);border-radius:0 1rem 1rem 0;background:linear-gradient(90deg,rgba(131,197,190,.16),rgba(255,255,255,.86));color:#17343b;font-weight:850;line-height:1.6;padding:.85rem 1rem;margin:0;min-height:3rem;}
.dls-math-whiteboard-card.is-correct .dls-ai-whiteboard-feedback{border-left-color:#16a34a;background:linear-gradient(90deg,rgba(22,163,74,.12),rgba(255,255,255,.9));}
.dls-math-whiteboard-card.is-missing .dls-ai-whiteboard-feedback{border-left-color:#f59e0b;background:linear-gradient(90deg,rgba(245,158,11,.13),rgba(255,255,255,.9));}
@media(max-width:640px){.dls-math-whiteboard-intro{flex-direction:column}.dls-ai-whiteboard canvas{height:220px}.dls-ai-whiteboard-actions,.dls-ai-whiteboard-actions .dls-math-mini-button{width:100%;justify-content:center}}

/* Whole Numbers uses a focused one-question sequence instead of a scrolling worksheet. */
.dls-whole-numbers-sequence{display:grid;gap:1.1rem;margin-top:1.25rem;}
.dls-whole-numbers-progress{display:grid;grid-template-columns:auto minmax(120px,1fr);align-items:center;gap:1rem;color:var(--math-teal);font-weight:950;}
.dls-whole-numbers-progress-track{height:.72rem;border-radius:999px;overflow:hidden;background:#e6eff1;}
.dls-whole-numbers-progress-track>span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#00bfa6,#1f8fff,#8151dd);transition:width .28s ease;}
.dls-whole-numbers-card{min-height:300px;align-content:start;padding:clamp(1.25rem,3vw,2rem)!important;}
.dls-whole-numbers-card legend{font-size:clamp(1.15rem,2vw,1.45rem)!important;line-height:1.4;}
.dls-question-source{margin:0;border-radius:1rem;overflow:hidden;background:#101010;border:1px solid rgba(0,83,91,.14);max-height:205px;}
.dls-question-source img{display:block;width:100%;height:100%;max-height:205px;object-fit:contain;object-position:center;background:#101010;}
.dls-whole-numbers-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem;margin-top:.6rem;}
.dls-whole-numbers-options label{min-height:74px;justify-content:center;background:linear-gradient(180deg,#fff,#f4fbfb)!important;transition:border-color .2s ease,transform .2s ease,background .2s ease;}
.dls-whole-numbers-options label:hover{border-color:rgba(0,83,91,.38);transform:translateY(-2px);background:#e9fbfc!important;}
.dls-whole-numbers-text-label{display:grid!important;gap:.55rem;background:transparent!important;border:0!important;padding:0!important;cursor:default!important;}
.dls-whole-numbers-text-label>span{color:var(--math-teal);font-weight:900;}
.dls-whole-numbers-text-label textarea{width:100%;resize:vertical;min-height:145px;border:1px solid rgba(191,200,202,.72);border-radius:1.2rem;background:#fff;color:var(--math-ink);font:inherit;font-weight:750;line-height:1.55;padding:1rem;outline:none;}
.dls-whole-numbers-text-label textarea:focus{border-color:rgba(0,83,91,.4);box-shadow:0 0 0 4px rgba(0,191,166,.12);}
.dls-whole-numbers-actions{display:flex;justify-content:space-between;gap:.8rem;flex-wrap:wrap;}
.dls-whole-numbers-actions button{border:0;cursor:pointer;}
.dls-whole-numbers-actions button:disabled{opacity:.45;cursor:not-allowed;box-shadow:none;}
.dls-whole-numbers-feedback{min-height:3.4rem;border-left:5px solid var(--math-aqua);border-radius:0 1rem 1rem 0;background:linear-gradient(90deg,rgba(131,197,190,.16),rgba(255,255,255,.86));color:#17343b;font-weight:850;line-height:1.6;padding:.9rem 1rem;margin:0;}
.dls-whole-numbers-card.is-correct+.dls-whole-numbers-actions+.dls-whole-numbers-feedback{border-left-color:#16a34a;}
.dls-whole-numbers-complete{display:flex;align-items:flex-start;gap:1rem;border:1px solid rgba(22,163,74,.25);border-radius:1.35rem;background:linear-gradient(135deg,rgba(22,163,74,.11),#fff);padding:1.35rem;color:#17343b;}
.dls-whole-numbers-complete>.material-symbols-outlined{display:grid;place-items:center;width:2.8rem;height:2.8rem;flex:0 0 auto;border-radius:999px;background:#16a34a;color:#fff;}
.dls-whole-numbers-complete strong{display:block;color:var(--math-teal);font-size:1.12rem;}
.dls-whole-numbers-complete p{margin:.35rem 0 0;color:#52627c;line-height:1.5;}
@media(max-width:640px){.dls-whole-numbers-progress{grid-template-columns:1fr}.dls-whole-numbers-options{grid-template-columns:1fr}.dls-whole-numbers-actions>*{width:100%;justify-content:center;}.dls-whole-numbers-card{min-height:0;}}


/* Stitch alignment pass for Math pages. Keeps the existing flow but restores dashboard spacing and card language. */
.dls-math-flow{background:radial-gradient(circle at 18% 8%,rgba(131,197,190,.16),transparent 32rem),radial-gradient(circle at 88% 14%,rgba(37,136,243,.12),transparent 28rem),#f8fafa;}
.dls-math-flow .dls-main-with-sidebar{background:transparent;}
.dls-math-flow .dls-page{padding:2rem clamp(1.5rem,3vw,2.5rem) 3rem;max-width:1360px;margin:0 auto;}
.dls-math-flow .dls-sidebar{box-shadow:18px 0 55px rgba(0,58,64,.045);}
.dls-math-flow .dls-sidebar .rounded-3xl{background:linear-gradient(145deg,#003a40,#006c75)!important;box-shadow:0 18px 42px rgba(0,58,64,.16);}
.dls-math-flow main>.sticky{background:rgba(248,250,250,.82)!important;backdrop-filter:blur(18px);}
.dls-math-flow main>.sticky .h-20{max-width:1360px;margin:0 auto;}
.dls-math-hero{border:1px solid rgba(255,255,255,.34);border-radius:2.15rem!important;box-shadow:0 28px 80px rgba(0,58,64,.14)!important;isolation:isolate;}
.dls-math-hero::before{content:"";position:absolute;inset:auto -8rem -7rem auto;width:24rem;height:24rem;border-radius:999px;background:rgba(255,255,255,.14);z-index:0;}
.dls-math-hero::after{content:"";position:absolute;right:3rem;top:3rem;width:8rem;height:8rem;border-radius:2.25rem;background:rgba(255,255,255,.08);transform:rotate(12deg);z-index:0;}
.dls-math-hero>div{position:relative;z-index:1;}
.dls-math-hero h1{font-size:clamp(2.7rem,5vw,5.25rem)!important;letter-spacing:-.055em;max-width:920px;}
.dls-math-hero p{font-weight:750;line-height:1.55;}
.dls-math-flow .dls-section,.dls-math-card,.dls-math-panel,.dls-math-video-card,.dls-math-stage,.dls-math-stat-card,.dls-math-info-card{background:rgba(255,255,255,.9);border-color:rgba(191,200,202,.48);box-shadow:0 18px 58px rgba(0,58,64,.065);}
.dls-math-command-strip{margin-top:0;gap:1.15rem;}
.dls-math-command-card{border-radius:1.55rem;background:linear-gradient(180deg,rgba(255,255,255,.94),rgba(246,253,253,.92));min-height:118px;}
.dls-math-command-icon{border-radius:1rem;background:linear-gradient(145deg,#003a40,#00a79d);}
.dls-math-card{border-radius:1.8rem;}
.dls-math-card img,.dls-math-visual img{height:185px;}
.dls-math-card h2{font-size:1.55rem;}
.dls-math-stat-card{border-radius:1.65rem;}
.dls-math-stat-card strong{font-size:clamp(2rem,3.2vw,2.85rem);}
.dls-math-focus-layout{gap:1.4rem;}
.dls-math-current-card{border-radius:1.8rem;background:linear-gradient(180deg,#fff,#f5fcfc);}
.dls-math-chapter-list{gap:1.2rem;}
.dls-math-chapter-row{border-radius:1.55rem;background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(249,253,253,.94));}
.dls-math-chapter-row strong{font-size:1.12rem;}
.dls-math-video-card{border-radius:1.9rem;}
.dls-math-video-frame{border-radius:0;min-height:280px;}
.dls-math-carousel{gap:1.25rem;}
.dls-math-arrow{box-shadow:0 12px 32px rgba(0,58,64,.09);}
.dls-math-workspace{grid-template-columns:210px minmax(0,1fr) 260px;gap:1.4rem;}
.dls-math-mini-nav,.dls-math-progress-panel{border-radius:1.65rem;background:rgba(255,255,255,.92);}
.dls-math-stage{border-radius:1.9rem;min-height:560px;}
.dls-math-stage-header{align-items:center;}
.dls-math-section-controls{margin-top:2rem;}
.dls-math-topic-video{min-height:300px;border:1px solid rgba(255,255,255,.4);box-shadow:inset 0 0 0 1px rgba(255,255,255,.15);}
.dls-math-quiz-card{border-radius:1.25rem;background:linear-gradient(180deg,#fff,#f8fcfc);}
.dls-math-role-panel{margin-top:1.5rem;border-radius:1.8rem;background:linear-gradient(135deg,#fff,#eefafa);}
@media(max-width:900px){.dls-math-flow .dls-page{padding:1rem}.dls-math-hero h1{font-size:clamp(2.25rem,11vw,3.4rem)!important}.dls-math-flow main>.sticky .h-20{height:auto;min-height:5rem;flex-wrap:wrap;padding-block:.85rem}.dls-math-workspace{grid-template-columns:1fr}}


/* Compact course map pass: reduces scrolling on the Pre-Algebra module overview while keeping Stitch card styling. */
[data-dls-math-course-map]{display:grid;gap:1.15rem;}
[data-dls-math-course-map] .dls-math-hero{padding:2rem clamp(1.6rem,3.3vw,3rem)!important;border-radius:1.9rem!important;}
[data-dls-math-course-map] .dls-math-hero h1{font-size:clamp(2.45rem,4vw,4.5rem)!important;max-width:760px;}
[data-dls-math-course-map] .dls-math-hero p{font-size:1.02rem!important;max-width:760px;margin-top:1rem!important;}
[data-dls-math-course-map] .dls-math-topic-tabs{margin-top:1rem!important;}
[data-dls-math-course-map] .dls-math-topic-tab{padding:.44rem .72rem;font-size:.84rem;}
[data-dls-math-course-map] + .dls-math-role-panel,
.dls-math-flow .dls-page > .dls-math-role-panel{padding:1rem 1.15rem;margin-top:0;border-radius:1.45rem;}
.dls-math-flow .dls-page > .dls-math-role-panel h2{font-size:1.45rem;margin:.45rem 0 .2rem;}
.dls-math-flow .dls-page > .dls-math-role-panel p{font-size:.95rem;}
.dls-math-flow .dls-page > .dls-math-role-panel .dls-math-button,
.dls-math-flow .dls-page > .dls-math-role-panel .dls-math-ghost{padding:.68rem .9rem;}
[data-dls-math-command-strip].dls-math-command-strip{grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem;margin-top:0;}
[data-dls-math-command-strip] .dls-math-command-card{min-height:auto;padding:.85rem .9rem;border-radius:1.25rem;align-items:center;}
[data-dls-math-command-strip] .dls-math-command-icon{width:2.25rem;height:2.25rem;border-radius:.8rem;}
[data-dls-math-command-strip] .dls-math-command-card strong{font-size:.92rem;}
[data-dls-math-command-strip] .dls-math-command-card p{font-size:.8rem;line-height:1.32;}
[data-dls-math-course-stats]{gap:.85rem!important;}
[data-dls-math-course-stats] .dls-math-stat-card{padding:1rem 1.1rem;border-radius:1.25rem;}
[data-dls-math-course-stats] .dls-math-stat-card strong{font-size:2rem;}
[data-dls-math-course-stats] .dls-math-stat-card p{font-size:.82rem;margin-top:.35rem;}
[data-dls-math-course-map] .dls-section{padding:1.25rem!important;border-radius:1.65rem;}
[data-dls-math-course-map] .dls-math-module-toolbar{margin-bottom:1rem;align-items:center;}
[data-dls-math-course-map] .dls-math-module-toolbar h2{font-size:clamp(2rem,3vw,3rem)!important;margin-top:.7rem!important;}
[data-dls-math-course-map] .dls-math-module-toolbar .dls-math-chip-row{gap:.45rem;}
[data-dls-math-course-map] .dls-math-module-search{min-width:min(100%,280px);}
[data-dls-math-course-map] .dls-math-focus-layout{grid-template-columns:minmax(0,1fr) 260px;gap:1rem;}
[data-dls-math-course-map] .dls-math-current-card{top:96px;padding:1rem;border-radius:1.35rem;}
[data-dls-math-course-map] .dls-math-current-card h3{font-size:1.2rem;}
[data-dls-math-course-map] .dls-math-current-card p{font-size:.88rem;line-height:1.42;}
[data-dls-math-course-map] .dls-math-current-card .dls-math-button,
[data-dls-math-course-map] .dls-math-current-card .dls-math-ghost{padding:.66rem .8rem;font-size:.86rem;}
[data-dls-math-course-map] .dls-math-chapter-list{grid-template-columns:repeat(auto-fit,minmax(285px,1fr));gap:.82rem!important;}
[data-dls-math-course-map] .dls-math-chapter-row{padding:.9rem;border-radius:1.25rem;gap:.75rem;align-items:start;}
[data-dls-math-course-map] .dls-math-number{width:2.55rem;height:2.55rem;border-radius:.82rem;font-size:.88rem;}
[data-dls-math-course-map] .dls-math-chapter-row strong{font-size:1rem;line-height:1.2;}
[data-dls-math-course-map] .dls-math-chapter-row p{font-size:.84rem;line-height:1.38;margin:.25rem 0 .55rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
[data-dls-math-course-map] .dls-math-chip-row{gap:.38rem;}
[data-dls-math-course-map] .dls-math-chip{font-size:.7rem;padding:.32rem .5rem;}
.dls-math-lesson-preview{display:flex;flex-wrap:wrap;gap:.32rem;margin-top:.58rem;}
.dls-math-lesson-preview span{max-width:100%;border-radius:.7rem;background:#f5fbfb;border:1px solid rgba(0,83,91,.08);color:#52627c;font-weight:800;font-size:.72rem;line-height:1.15;padding:.32rem .48rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
[data-dls-math-course-map] .dls-math-module-actions{margin-top:.65rem;gap:.42rem;}
[data-dls-math-course-map] .dls-math-mini-button{padding:.46rem .62rem;font-size:.75rem;}
[data-dls-math-course-map] .dls-math-mini-button .material-symbols-outlined{font-size:1rem;}
[data-dls-math-course-included].dls-math-card-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.85rem;}
[data-dls-math-course-included] .dls-math-info-card{padding:1rem 1.1rem;border-radius:1.25rem;}
[data-dls-math-course-included] .dls-math-info-card h2{font-size:1.15rem;margin:.2rem 0 .35rem;}
[data-dls-math-course-included] .dls-math-info-card p{font-size:.86rem;line-height:1.42;}
@media(max-width:1180px){[data-dls-math-command-strip].dls-math-command-strip{grid-template-columns:repeat(2,minmax(0,1fr));}[data-dls-math-course-map] .dls-math-focus-layout{grid-template-columns:1fr;}[data-dls-math-course-map] .dls-math-current-card{display:none;}[data-dls-math-course-included].dls-math-card-grid{grid-template-columns:1fr;}}
@media(max-width:720px){[data-dls-math-command-strip].dls-math-command-strip{grid-template-columns:1fr;}[data-dls-math-course-map] .dls-math-hero{padding:1.35rem!important;}[data-dls-math-course-map] .dls-math-chapter-list{grid-template-columns:1fr;}}


/* Final course-map density override: full-width module grid, no side rail, less vertical travel. */
[data-dls-math-course-map] > .dls-math-role-panel{padding:1rem 1.15rem;margin-top:0;border-radius:1.45rem;}
[data-dls-math-course-map] > .dls-math-role-panel h2{font-size:1.45rem;margin:.45rem 0 .2rem;}
[data-dls-math-course-map] > .dls-math-role-panel p{font-size:.95rem;}
[data-dls-math-course-map] .dls-math-focus-layout{grid-template-columns:1fr!important;}
[data-dls-math-course-map] .dls-math-current-card{display:none!important;}
[data-dls-math-course-map] .dls-math-chapter-list{grid-template-columns:repeat(auto-fit,minmax(250px,1fr))!important;gap:.72rem!important;}
[data-dls-math-course-map] .dls-math-chapter-row{min-height:0;padding:.78rem!important;}
[data-dls-math-course-map] .dls-math-chapter-row p{-webkit-line-clamp:1;margin:.18rem 0 .45rem;}
[data-dls-math-course-map] .dls-math-lesson-preview{max-height:3.35rem;overflow:hidden;}
[data-dls-math-course-map] .dls-math-module-actions{margin-top:.5rem;}
[data-dls-math-course-map] .dls-section{padding:1rem!important;}
[data-dls-math-course-included].dls-math-card-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
@media(max-width:1180px){[data-dls-math-course-included].dls-math-card-grid{grid-template-columns:1fr;}}


/* Ultra-compact module overview: puts modules first and minimizes vertical scrolling. */
body:has([data-dls-math-course-map]) .dls-page{padding-top:1rem;padding-bottom:1.5rem;}
body:has([data-dls-math-course-map]) [data-dls-math-course-map]{gap:.72rem;}
body:has([data-dls-math-course-map]) [data-dls-math-course-map] .dls-math-hero{padding:1.25rem 1.5rem!important;border-radius:1.45rem!important;}
body:has([data-dls-math-course-map]) [data-dls-math-course-map] .dls-math-hero h1{font-size:clamp(2rem,3vw,3.15rem)!important;line-height:1!important;}
body:has([data-dls-math-course-map]) [data-dls-math-course-map] .dls-math-hero p{font-size:.92rem!important;line-height:1.35!important;margin-top:.65rem!important;max-width:840px;}
body:has([data-dls-math-course-map]) [data-dls-math-course-map] .dls-math-hero .dls-pill{margin-bottom:.65rem!important;}
body:has([data-dls-math-course-map]) [data-dls-math-course-map] .dls-math-topic-tabs{margin-top:.75rem!important;gap:.38rem;}
body:has([data-dls-math-course-map]) [data-dls-math-course-map] .dls-math-topic-tab{font-size:.72rem;padding:.34rem .54rem;}
body:has([data-dls-math-course-map]) [data-dls-math-course-map] > .dls-math-role-panel{grid-template-columns:minmax(0,1fr) auto;padding:.75rem .9rem;gap:.8rem;border-radius:1.18rem;}
body:has([data-dls-math-course-map]) [data-dls-math-course-map] > .dls-math-role-panel h2{font-size:1.08rem;margin:.25rem 0 0;}
body:has([data-dls-math-course-map]) [data-dls-math-course-map] > .dls-math-role-panel p{display:none;}
body:has([data-dls-math-course-map]) [data-dls-math-course-map] > .dls-math-role-panel .dls-pill{padding:.36rem .58rem;font-size:.74rem;}
body:has([data-dls-math-course-map]) [data-dls-math-course-map] > .dls-math-role-panel .dls-math-button,
body:has([data-dls-math-course-map]) [data-dls-math-course-map] > .dls-math-role-panel .dls-math-ghost{padding:.52rem .72rem;font-size:.78rem;}
body:has([data-dls-math-course-map]) [data-dls-math-command-strip].dls-math-command-strip{grid-template-columns:repeat(4,minmax(0,1fr));gap:.5rem;}
body:has([data-dls-math-course-map]) [data-dls-math-command-strip] .dls-math-command-card{padding:.58rem .68rem;border-radius:1rem;gap:.55rem;}
body:has([data-dls-math-course-map]) [data-dls-math-command-strip] .dls-math-command-icon{width:1.9rem;height:1.9rem;font-size:1.1rem;}
body:has([data-dls-math-course-map]) [data-dls-math-command-strip] .dls-math-command-card strong{font-size:.8rem;}
body:has([data-dls-math-course-map]) [data-dls-math-command-strip] .dls-math-command-card p{display:none;}
body:has([data-dls-math-course-map]) [data-dls-math-course-stats]{grid-template-columns:repeat(4,minmax(0,1fr));gap:.5rem!important;}
body:has([data-dls-math-course-map]) [data-dls-math-course-stats] .dls-math-stat-card{padding:.7rem .8rem;border-radius:1rem;display:grid;grid-template-columns:1fr auto;align-items:center;gap:.4rem;}
body:has([data-dls-math-course-map]) [data-dls-math-course-stats] .dls-math-stat-card span{font-size:.78rem;}
body:has([data-dls-math-course-map]) [data-dls-math-course-stats] .dls-math-stat-card strong{font-size:1.55rem;margin-top:0;}
body:has([data-dls-math-course-map]) [data-dls-math-course-stats] .dls-math-stat-card p{display:none;}
body:has([data-dls-math-course-map]) [data-dls-math-course-map] .dls-section{padding:.82rem!important;border-radius:1.25rem;}
body:has([data-dls-math-course-map]) [data-dls-math-course-map] .dls-math-module-toolbar{margin-bottom:.7rem;}
body:has([data-dls-math-course-map]) [data-dls-math-course-map] .dls-math-module-toolbar h2{font-size:clamp(1.55rem,2.3vw,2.2rem)!important;margin-top:.35rem!important;}
body:has([data-dls-math-course-map]) [data-dls-math-course-map] .dls-math-module-toolbar .dls-pill{padding:.35rem .6rem;font-size:.75rem;}
body:has([data-dls-math-course-map]) [data-dls-math-course-map] .dls-math-module-search{min-width:min(100%,240px);}
body:has([data-dls-math-course-map]) [data-dls-math-course-map] .dls-math-module-search input{height:2.65rem;font-size:.86rem;}
body:has([data-dls-math-course-map]) [data-dls-math-course-map] .dls-math-chapter-list{grid-template-columns:repeat(auto-fit,minmax(230px,1fr))!important;gap:.56rem!important;}
body:has([data-dls-math-course-map]) [data-dls-math-course-map] .dls-math-chapter-row{padding:.62rem!important;border-radius:1rem;gap:.58rem;}
body:has([data-dls-math-course-map]) [data-dls-math-course-map] .dls-math-number{width:2.18rem;height:2.18rem;border-radius:.7rem;font-size:.78rem;}
body:has([data-dls-math-course-map]) [data-dls-math-course-map] .dls-math-chapter-row strong{font-size:.9rem;line-height:1.12;}
body:has([data-dls-math-course-map]) [data-dls-math-course-map] .dls-math-chapter-row p{font-size:.75rem;line-height:1.25;margin:.18rem 0 .35rem;}
body:has([data-dls-math-course-map]) [data-dls-math-course-map] .dls-math-chip{font-size:.64rem;padding:.24rem .38rem;}
body:has([data-dls-math-course-map]) [data-dls-math-course-map] .dls-math-lesson-preview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.25rem;margin-top:.42rem;max-height:none;}
body:has([data-dls-math-course-map]) [data-dls-math-course-map] .dls-math-lesson-preview span{font-size:.64rem;padding:.24rem .36rem;border-radius:.55rem;}
body:has([data-dls-math-course-map]) [data-dls-math-course-map] .dls-math-module-actions{margin-top:.45rem;gap:.35rem;}
body:has([data-dls-math-course-map]) [data-dls-math-course-map] .dls-math-mini-button{padding:.36rem .5rem;font-size:.68rem;}
body:has([data-dls-math-course-map]) [data-dls-math-course-included].dls-math-card-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem;}
body:has([data-dls-math-course-map]) [data-dls-math-course-included] .dls-math-info-card{padding:.75rem .85rem;border-radius:1rem;}
body:has([data-dls-math-course-map]) [data-dls-math-course-included] .dls-math-info-card h2{font-size:.95rem;margin:0 0 .2rem;}
body:has([data-dls-math-course-map]) [data-dls-math-course-included] .dls-math-info-card p{font-size:.74rem;line-height:1.28;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
@media(max-width:1180px){body:has([data-dls-math-course-map]) [data-dls-math-course-stats],body:has([data-dls-math-course-map]) [data-dls-math-command-strip].dls-math-command-strip{grid-template-columns:repeat(2,minmax(0,1fr));}body:has([data-dls-math-course-map]) [data-dls-math-course-included].dls-math-card-grid{grid-template-columns:1fr;}}
@media(max-width:760px){body:has([data-dls-math-course-map]) [data-dls-math-course-stats],body:has([data-dls-math-course-map]) [data-dls-math-command-strip].dls-math-command-strip{grid-template-columns:1fr;}body:has([data-dls-math-course-map]) [data-dls-math-course-map] > .dls-math-role-panel{grid-template-columns:1fr;}body:has([data-dls-math-course-map]) [data-dls-math-course-map] .dls-math-chapter-list{grid-template-columns:1fr!important;}}


/* Embedded trusted video lessons. */
.dls-math-video-frame.has-embed{display:block;background:#001f23;padding:0;overflow:hidden;aspect-ratio:16/9;min-height:0!important;}
.dls-math-video-frame.has-embed iframe{width:100%;height:100%;border:0;display:block;}

/* DLS Guided Math — Stitch-led mastery system.  The page structures stay
   intentionally different (discovery, map, viewer, workspace), while these
   shared tokens create one calm, practice-first learning language. */
.dls-math-flow{--math-evergreen:#003a40;--math-teal:#007f76;--math-sky:#2588f3;--math-gold:#f5a623;--math-paper:#f9f9f7;--math-line:#dfe8e5;background:var(--math-paper)!important;color:#17343b;font-family:"Work Sans",Inter,sans-serif;}
.dls-math-flow .dls-page{max-width:1320px;}
.dls-math-flow h1,.dls-math-flow h2,.dls-math-flow h3{font-family:"Plus Jakarta Sans",Manrope,sans-serif;}
.dls-math-flow .dls-sidebar{background:#fff!important;border-color:var(--math-line)!important;}
.dls-math-flow .dls-sidebar-link.active{background:#e8f5f1!important;color:var(--math-evergreen)!important;box-shadow:inset 4px 0 0 var(--math-teal);}
.dls-math-flow .dls-math-hero{background:linear-gradient(132deg,#003a40 0%,#006a63 55%,#197fc4 100%)!important;box-shadow:0 18px 55px rgba(0,58,64,.16)!important;}
.dls-math-flow .dls-math-hero::after{background:rgba(245,166,35,.16)!important;}
.dls-math-flow .dls-button-primary,.dls-math-flow .dls-math-button{background:var(--math-evergreen)!important;border-color:var(--math-evergreen)!important;border-radius:14px!important;box-shadow:none!important;}
.dls-math-flow .dls-button-primary:hover,.dls-math-flow .dls-math-button:hover{background:var(--math-teal)!important;transform:translateY(-1px);}
.dls-math-flow .dls-button-secondary,.dls-math-flow .dls-math-ghost{border-color:var(--math-teal)!important;color:var(--math-evergreen)!important;border-radius:14px!important;}
.dls-math-flow .dls-section,.dls-math-flow .dls-math-panel,.dls-math-flow .dls-math-card,.dls-math-flow .dls-math-stage,.dls-math-flow .dls-math-video-card,.dls-math-flow .dls-math-mini-nav,.dls-math-flow .dls-math-progress-panel{border:1px solid var(--math-line)!important;box-shadow:0 4px 20px rgba(0,58,64,.05)!important;}
.dls-math-flow .dls-math-card:hover,.dls-math-flow .dls-math-chapter-row:hover{transform:translateY(-2px);box-shadow:0 8px 30px rgba(0,58,64,.12)!important;}
.dls-math-flow .dls-math-chapter-row{border:1px solid var(--math-line);box-shadow:none!important;}
.dls-math-flow .dls-math-number{background:var(--math-evergreen)!important;}
.dls-math-flow .dls-math-progress span,.dls-math-flow [data-dls-math-module-progress]{background:var(--math-gold)!important;}
.dls-math-flow .dls-math-topic-tab.active{background:var(--math-gold)!important;color:#493000!important;border-color:var(--math-gold)!important;}
.dls-math-live-pulse{display:flex;align-items:center;gap:.55rem;margin-left:auto;padding:.45rem .7rem;border:1px solid var(--math-line);border-radius:999px;background:#fff;line-height:1.05;white-space:nowrap;}
.dls-math-live-pulse strong{display:block;color:var(--math-evergreen);font-size:.72rem;font-weight:900;}
.dls-math-live-pulse small{display:block;margin-top:.17rem;color:#64748b;font-size:.66rem;font-weight:700;}
.dls-math-live-dot{width:.55rem;height:.55rem;border-radius:50%;background:#94a3b8;flex:0 0 auto;}.dls-math-live-dot.is-live{background:#16a34a;box-shadow:0 0 0 4px rgba(22,163,74,.13);}
@media(max-width:900px){.dls-math-live-pulse{display:none;}.dls-math-flow .dls-math-hero{border-radius:1.4rem!important;}}

/* Math uses the homepage visual system: the same soft grid, premium surfaces,
   typography, and teal-to-blue-to-purple accents as the rest of DLS. These
   rules only tune math-specific layout; they do not replace its existing flow. */
.dls-math-flow{
  --math-teal:#007f76;
  --math-aqua:#00bfa6;
  --math-blue:#1f8fff;
  --math-ink:#07142f;
  background:radial-gradient(circle at 9% 12%,rgba(0,191,166,.13),transparent 23rem),radial-gradient(circle at 90% 7%,rgba(124,58,237,.11),transparent 26rem),linear-gradient(180deg,#f5ffff 0,#fbfcff 38rem,#fff 100%);
}
.dls-math-flow .dls-page{max-width:1440px;padding:clamp(1.5rem,3vw,3rem) clamp(1.25rem,3vw,2.75rem) 4rem;}
.dls-math-hero{
  background:radial-gradient(circle at 84% 12%,rgba(255,255,255,.18),transparent 15rem),linear-gradient(128deg,#004d52 0%,#008f88 43%,#1f8fff 76%,#7c3aed 128%)!important;
  border-radius:28px!important;
  box-shadow:0 20px 52px rgba(0,75,82,.16)!important;
}
.dls-math-hero h1{font-family:Manrope,Inter,system-ui,sans-serif!important;letter-spacing:-.045em!important;}
.dls-math-flow .dls-section,
.dls-math-flow .dls-math-panel,
.dls-math-flow .dls-math-card,
.dls-math-flow .dls-math-stage,
.dls-math-flow .dls-math-progress-panel,
.dls-math-flow .dls-math-mini-nav{
  border:1px solid #dbe9e9;
  box-shadow:0 12px 34px rgba(0,58,64,.07);
}
.dls-math-flow .dls-math-command-card,
.dls-math-flow .dls-math-chapter-row{
  background:#fff;
  border-color:#dbe9e9;
  box-shadow:0 8px 24px rgba(0,58,64,.05);
}
.dls-math-flow .dls-math-chapter-list{gap:1rem!important;}
.dls-math-flow .dls-math-chapter-row{padding:1rem!important;}
.dls-math-flow .dls-math-chapter-row p{display:block!important;-webkit-line-clamp:unset!important;min-height:0!important;}
.dls-math-flow .dls-math-lesson-preview{max-height:none!important;}
.dls-math-module-progress{height:7px;margin-top:.8rem;background:#e4f0f0;border-radius:999px;overflow:hidden;}
.dls-math-module-progress span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#00a99d,#2588f3);transition:width .25s ease;}
.dls-math-flow .dls-math-workspace{grid-template-columns:230px minmax(0,1fr) 278px;gap:1.5rem;}
.dls-math-flow .dls-math-stage{min-height:0;padding:clamp(1.25rem,2.5vw,2rem);}
.dls-math-flow .dls-math-progress-panel{padding:1.35rem;}
.dls-math-flow .dls-math-progress-panel .dls-math-actions{display:grid;gap:.65rem;}
.dls-math-flow .dls-math-progress-panel .dls-math-actions>*{justify-content:center;width:100%;}
.dls-math-flow .dls-math-quiz-card{padding:1.25rem;border-color:#dbe9e9;}
.dls-math-flow .dls-math-quiz-card label{background:#f7fbfb;border-color:#e0eeee;}
.dls-math-flow .dls-math-topic-video{border-radius:20px;overflow:hidden;}
@media(max-width:1180px){
  .dls-math-flow .dls-math-workspace{grid-template-columns:1fr;}
  .dls-math-flow .dls-math-mini-nav{position:relative;top:auto;display:flex;overflow:auto;gap:.5rem;}
  .dls-math-flow .dls-math-mini-nav a{flex:0 0 auto;white-space:nowrap;}
  .dls-math-flow .dls-math-progress-panel{position:relative;top:auto;}
}
@media(max-width:760px){
  .dls-math-flow .dls-page{padding:1rem 1rem 2.5rem;}
  .dls-math-hero{border-radius:22px!important;}
  .dls-math-flow .dls-math-command-strip{grid-template-columns:1fr!important;}
  .dls-math-flow .dls-math-chapter-list{grid-template-columns:1fr!important;}
}

/* Final rendered-page layer. This intentionally comes last: earlier legacy
   tune-ups in this bundle were overriding the Stitch mastery treatment. */
body.dls-guided-mastery .dls-math-flow{background:#f7faf8!important;}
body.dls-guided-mastery .dls-math-flow .dls-page{max-width:1280px;padding:2.5rem clamp(1.25rem,4vw,4rem) 5rem;}
body.dls-guided-mastery .dls-math-hero{background:linear-gradient(122deg,#002f35 0%,#006b61 58%,#1674b7 100%)!important;border-radius:20px!important;border:1px solid rgba(255,255,255,.24)!important;box-shadow:0 20px 50px rgba(0,58,64,.14)!important;}
body.dls-guided-mastery .dls-math-hero h1{font-family:"Plus Jakarta Sans",Manrope,sans-serif!important;letter-spacing:-.055em!important;}
body.dls-guided-mastery .dls-math-flow .dls-section,body.dls-guided-mastery .dls-math-flow .dls-math-panel,body.dls-guided-mastery .dls-math-flow .dls-math-card,body.dls-guided-mastery .dls-math-flow .dls-math-stage,body.dls-guided-mastery .dls-math-flow .dls-math-progress-panel,body.dls-guided-mastery .dls-math-flow .dls-math-mini-nav{border:1px solid #dce7e3!important;border-radius:18px!important;box-shadow:0 5px 20px rgba(0,58,64,.055)!important;background:#fff!important;}
body.dls-guided-mastery .dls-math-flow .dls-math-command-card,body.dls-guided-mastery .dls-math-flow .dls-math-chapter-row{border:1px solid #dce7e3!important;border-radius:16px!important;box-shadow:none!important;background:#fff!important;}
body.dls-guided-mastery .dls-math-flow .dls-math-chapter-row:hover,body.dls-guided-mastery .dls-math-flow .dls-math-card:hover{border-color:#8acabd!important;box-shadow:0 12px 30px rgba(0,58,64,.11)!important;transform:translateY(-2px);}
body.dls-guided-mastery .dls-math-flow .dls-math-number{background:#003a40!important;color:#fff!important;}
body.dls-guided-mastery .dls-math-flow .dls-math-module-progress span,body.dls-guided-mastery .dls-math-flow .dls-math-progress span{background:#f5a623!important;}
body.dls-guided-mastery[data-dls-math-page="library"] .dls-math-card-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem;}
body.dls-guided-mastery[data-dls-math-page="library"] .dls-math-card:nth-child(1){border-top:6px solid #007f76!important;}body.dls-guided-mastery[data-dls-math-page="library"] .dls-math-card:nth-child(2){border-top:6px solid #2588f3!important;}body.dls-guided-mastery[data-dls-math-page="library"] .dls-math-card:nth-child(3){border-top:6px solid #f5a623!important;}
body.dls-guided-mastery[data-dls-math-page="course"] [data-dls-math-course-map]>.dls-math-hero{background:linear-gradient(122deg,#002f35,#007f76)!important;}
body.dls-guided-mastery[data-dls-math-page="course"] .dls-math-chapter-list{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))!important;gap:1rem!important;}
body.dls-guided-mastery[data-dls-math-page="module"] .dls-math-video-card{border-radius:20px!important;overflow:hidden;box-shadow:0 16px 38px rgba(0,58,64,.12)!important;}
body.dls-guided-mastery[data-dls-math-page="lesson"] .dls-math-stage{border-top:6px solid #2588f3!important;}body.dls-guided-mastery[data-dls-math-page="lesson"] .dls-math-progress-panel{border-top:6px solid #f5a623!important;}
@media(max-width:900px){body.dls-guided-mastery .dls-math-flow .dls-page{padding:1rem 1rem 3rem;}body.dls-guided-mastery[data-dls-math-page="library"] .dls-math-card-grid{grid-template-columns:1fr;}}

/* New compositions: these replace the old visual starting point instead of
   merely recoloring it. */
.dls-guided-layout{margin:0 auto 2rem;max-width:1120px;font-family:"Plus Jakarta Sans",Manrope,sans-serif}.dls-guided-kicker,.dls-guided-crumb{margin:0 0 .75rem;color:#007f76;font-size:.72rem;font-weight:900;letter-spacing:.13em}.dls-guided-crumb{color:#70817d}.dls-guided-crumb span{padding:0 .5rem;color:#007f76}.dls-guided-course-head{display:grid;grid-template-columns:1.55fr .75fr;gap:2rem;padding:3rem 3.25rem;border-radius:24px;background:#e5f4ee;overflow:hidden;position:relative}.dls-guided-course-head:after{content:"";position:absolute;width:20rem;height:20rem;border:3rem solid rgba(0,127,118,.12);border-radius:50%;right:-8rem;top:-11rem}.dls-guided-course-head>div{position:relative;z-index:1}.dls-guided-course-head h1,.dls-guided-library-intro h1,.dls-guided-module-intro h1,.dls-guided-lesson-intro h1{margin:0;color:#123630;font-size:clamp(2.4rem,5vw,4.35rem);letter-spacing:-.07em;line-height:.98}.dls-guided-course-head h1 em,.dls-guided-library-intro h1 em,.dls-guided-module-intro h1 em{color:#007f76;font-style:normal}.dls-guided-course-head>div>p:not(.dls-guided-kicker),.dls-guided-library-intro>p:not(.dls-guided-kicker),.dls-guided-module-intro>p:not(.dls-guided-kicker){max-width:35rem;color:#46665f;font-family:"Work Sans",Inter,sans-serif;font-size:1.05rem;line-height:1.55}.dls-guided-start{display:inline-flex;align-items:center;gap:2rem;margin-top:1rem;padding:1rem 1.25rem;border-radius:12px;background:#003a40;color:#fff!important;font-weight:850;text-decoration:none}.dls-guided-start span{font-size:1.4rem}.dls-guided-mastered{align-self:center;padding:1.5rem;border-radius:18px;background:#fff;text-align:center;box-shadow:0 10px 30px rgba(0,58,64,.08)}.dls-guided-mastered>span{font-size:.68rem;letter-spacing:.12em;font-weight:900;color:#71817e}.dls-guided-mastered strong{display:block;margin:.25rem 0 0;color:#003a40;font-size:4rem;line-height:1}.dls-guided-mastered strong small{font-size:1.35rem}.dls-guided-mastered p{margin:.5rem 0 1rem;color:#64748b;font-family:"Work Sans",Inter,sans-serif;font-size:.8rem}.dls-guided-segments{display:grid;grid-template-columns:repeat(10,1fr);gap:3px}.dls-guided-segments i{height:6px;border-radius:4px;background:#d9e6e2}.dls-guided-how{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;margin-top:1rem;border:1px solid #dce7e3;border-radius:16px;background:#dce7e3;overflow:hidden}.dls-guided-how article{display:flex;align-items:center;gap:.85rem;padding:1rem 1.25rem;background:#fff}.dls-guided-how b{display:grid;place-items:center;width:2rem;height:2rem;border-radius:50%;background:#e5f4ee;color:#007f76}.dls-guided-how strong,.dls-guided-how span{display:block}.dls-guided-how strong{color:#1c3f39;font-size:.88rem}.dls-guided-how span{margin-top:.18rem;color:#71817e;font-family:"Work Sans",Inter,sans-serif;font-size:.76rem}.dls-guided-library-intro,.dls-guided-module-intro{padding:2rem 0 1rem;border-bottom:1px solid #dce7e3}.dls-guided-lesson-intro{max-width:820px;margin:auto;padding:1rem 0 1.5rem}.dls-guided-lesson-intro>a{display:inline-block;margin-bottom:1.5rem;color:#007f76;font-family:"Work Sans",Inter,sans-serif;font-weight:800;text-decoration:none}.dls-guided-lesson-intro h1{font-size:3rem}.dls-guided-lesson-progress{height:8px;margin-top:1.25rem;border-radius:99px;background:#dce7e3;overflow:hidden}.dls-guided-lesson-progress span{display:block;height:100%;border-radius:inherit;background:#f5a623}
body.dls-guided-mastery[data-dls-math-page="course"] [data-dls-math-course-map]>.dls-math-hero,body.dls-guided-mastery[data-dls-math-page="course"] [data-dls-math-course-map]>.dls-math-command-strip,body.dls-guided-mastery[data-dls-math-page="course"] .dls-math-role-panel{display:none!important}body.dls-guided-mastery[data-dls-math-page="course"] [data-dls-math-course-map]{gap:1.5rem!important}body.dls-guided-mastery[data-dls-math-page="course"] [data-dls-math-course-map] .dls-section{box-shadow:none!important;background:transparent!important;border:0!important;padding:0!important}body.dls-guided-mastery[data-dls-math-page="course"] [data-dls-math-course-map] .dls-math-module-toolbar h2:before{content:"Explore the course";display:block;margin-bottom:.4rem;color:#007f76;font-size:.72rem;letter-spacing:.12em;text-transform:uppercase}body.dls-guided-mastery[data-dls-math-page="library"] .dls-math-hero{display:none!important}body.dls-guided-mastery[data-dls-math-page="module"] [data-dls-math-chapter-viewer]>.dls-math-hero,body.dls-guided-mastery[data-dls-math-page="lesson"] [data-dls-math-lesson-workspace]>.dls-math-hero{display:none!important}
@media(max-width:850px){.dls-guided-course-head{grid-template-columns:1fr;padding:2rem}.dls-guided-how{grid-template-columns:1fr}.dls-guided-mastered{max-width:20rem}.dls-guided-layout{margin-bottom:1.25rem}}

/* Stitch module explorer implementation. */
.dls-module-live-summary{margin:.7rem 0 0;color:#61756f;font:700 .78rem "Work Sans",Inter,sans-serif}.dls-math-chapter-list:has(.dls-module-explorer-card){grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:1.1rem!important}.dls-module-explorer-card{display:flex;min-width:0;min-height:286px;flex-direction:column;padding:1.2rem;border:1px solid #dce7e3;border-radius:18px;background:#fff;box-shadow:0 4px 18px rgba(0,58,64,.045);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.dls-module-explorer-card:hover{border-color:#80c7b9;box-shadow:0 11px 28px rgba(0,58,64,.1);transform:translateY(-2px)}.dls-module-card-top{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.dls-module-explorer-card .dls-math-number{display:grid;place-items:center;width:2.55rem;height:2.55rem;border-radius:11px;background:#003a40!important;color:#fff;font-size:.82rem;letter-spacing:.04em}.dls-module-live-status{max-width:65%;overflow:hidden;color:#007f76;font:800 .72rem "Work Sans",Inter,sans-serif;text-align:right;text-overflow:ellipsis;white-space:nowrap}.dls-module-explorer-card h3{margin:1rem 0 .35rem;color:#183b35;font-size:1.02rem;line-height:1.25}.dls-module-explorer-card>p{display:-webkit-box;min-height:3.75rem;margin:0;color:#64748b;font:500 .83rem/1.42 "Work Sans",Inter,sans-serif;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}.dls-module-meta{display:flex;gap:.45rem;margin:.7rem 0}.dls-module-meta span{padding:.28rem .48rem;border-radius:999px;background:#ecfaf6;color:#087b70;font:800 .68rem "Work Sans",Inter,sans-serif}.dls-module-progress{height:6px;overflow:hidden;border-radius:999px;background:#e4eeeb}.dls-module-progress span{display:block;height:100%;border-radius:inherit;background:#10a897;transition:width .25s ease}.dls-module-skills{display:flex;gap:.35rem;min-width:0;margin:.75rem 0;overflow:hidden}.dls-module-skills span{min-width:0;overflow:hidden;padding:.35rem .48rem;border:1px solid #e2ebe8;border-radius:7px;color:#5e7180;font:700 .68rem "Work Sans",Inter,sans-serif;text-overflow:ellipsis;white-space:nowrap}.dls-module-action{display:flex;align-items:center;justify-content:center;gap:.35rem;margin-top:auto;padding:.68rem .85rem;border-radius:10px;background:#003a40;color:#fff!important;font:850 .8rem "Work Sans",Inter,sans-serif;text-decoration:none}.dls-module-action:hover{background:#007f76}.dls-module-action .material-symbols-outlined{font-size:1.05rem}.dls-module-explorer-card.has-progress .dls-module-action{background:#007f76}.dls-module-explorer-card.is-mastered{border-color:#e4c16e}.dls-module-explorer-card.is-mastered .dls-module-live-status{color:#a16600}.dls-module-explorer-card.is-mastered .dls-module-progress span{background:#f5a623}.dls-module-explorer-card.is-mastered .dls-module-action{background:#805a10}@media(max-width:1050px){.dls-math-chapter-list:has(.dls-module-explorer-card){grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media(max-width:650px){.dls-math-chapter-list:has(.dls-module-explorer-card){grid-template-columns:1fr!important}.dls-module-explorer-card{min-height:0}}.dls-math-video-fallback{margin:1rem 0 0;padding:.8rem 1rem;border-left:3px solid #007f76;border-radius:0 10px 10px 0;background:#eef8f5;color:#46665f;font:700 .84rem/1.45 "Work Sans",Inter,sans-serif}.dls-math-video-fallback a{color:#006b61;font-weight:900;text-decoration:underline;text-underline-offset:2px}.dls-stitch-lesson-flow{max-width:900px;margin:0 auto}.dls-stitch-lesson-header{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;padding:0 0 1.4rem;border-bottom:1px solid #dce7e3}.dls-stitch-lesson-header p{margin:0 0 .45rem;color:#007f76;font:900 .72rem "Work Sans",Inter,sans-serif;letter-spacing:.11em}.dls-stitch-lesson-header h2{margin:0;color:#173b35;font-size:clamp(1.65rem,3vw,2.45rem);letter-spacing:-.045em}.dls-stitch-lesson-header>span{padding:.5rem .7rem;border-radius:999px;background:#eaf8f4;color:#007f76;font:800 .72rem "Work Sans",Inter,sans-serif;text-align:center}.dls-stitch-lesson-flow .dls-math-section{margin-top:1.35rem;padding:clamp(1.25rem,3vw,2.25rem);border:1px solid #dce7e3;border-radius:18px;background:#fff;box-shadow:0 5px 20px rgba(0,58,64,.05)}.dls-stitch-video-section{border-top:5px solid #007f76!important}.dls-stitch-quiz-section{border-top:5px solid #2588f3!important;background:#fbfefd!important}.dls-stitch-video-section h2,.dls-stitch-quiz-section h2{color:#173b35!important;font-family:"Plus Jakarta Sans",Manrope,sans-serif}.dls-stitch-video-section .dls-math-topic-video{margin-top:1.4rem;border-radius:14px!important;box-shadow:0 10px 25px rgba(0,58,64,.11)}.dls-stitch-video-section .dls-math-card-grid{grid-template-columns:1fr 1fr;gap:.8rem}.dls-stitch-video-section .dls-math-panel{border:0!important;box-shadow:none!important;background:#f2faf7!important}.dls-stitch-practice-button{display:flex;align-items:center;justify-content:center;gap:.5rem;width:100%;margin-top:1.25rem;padding:.9rem 1rem;border:0;border-radius:11px;background:#003a40;color:#fff;font:850 .88rem "Work Sans",Inter,sans-serif;cursor:pointer}.dls-stitch-practice-button:hover{background:#007f76}.dls-stitch-quiz-section .dls-whole-numbers-sequence,.dls-stitch-quiz-section .dls-math-quiz{margin-top:1.25rem;padding:1.15rem;border:1px solid #dce7e3;border-radius:13px;background:#fff}.dls-stitch-quiz-section .dls-math-quiz-card{box-shadow:none!important;border-color:#dce7e3!important}.dls-stitch-quiz-section .dls-math-button{border-radius:10px!important;background:#003a40!important}.dls-stitch-quiz-section .dls-math-ghost{border-color:#007f76!important;border-radius:10px!important}@media(max-width:700px){.dls-stitch-lesson-header{align-items:flex-start;flex-direction:column}.dls-stitch-video-section .dls-math-card-grid{grid-template-columns:1fr}.dls-stitch-lesson-flow .dls-math-section{padding:1.1rem}}
.dls-guided-mastered strong b{font:inherit}.dls-guided-segments i.is-complete{background:#f5a623}.dls-guided-mastered em{display:block;margin-top:.7rem;color:#71817e;font:700 .65rem "Work Sans",Inter,sans-serif;font-style:normal}
.dls-math-simple-course-map{display:grid;gap:1.25rem;max-width:1080px;margin:0 auto}.dls-math-next-lesson{display:flex;align-items:center;justify-content:space-between;gap:1.25rem;padding:1.25rem 1.5rem;border-radius:18px;background:#003a40;color:#fff}.dls-math-next-lesson>div>span,.dls-math-simple-heading>span{display:block;color:#f5a623;font:900 .68rem/1 Inter,sans-serif;letter-spacing:.13em}.dls-math-next-lesson h3,.dls-math-simple-heading h3{margin:.35rem 0;color:inherit;font:900 clamp(1.25rem,2.5vw,1.8rem)/1.1 "Plus Jakarta Sans",Manrope,sans-serif}.dls-math-next-lesson p,.dls-math-simple-heading p{margin:.35rem 0 0;font:650 .9rem/1.5 Inter,sans-serif}.dls-math-next-lesson .dls-math-button{flex:none;background:#f5a623;color:#173b35}.dls-math-simple-heading{padding:1rem 0 .25rem}.dls-math-simple-heading h3{color:#173b35}.dls-math-simple-heading p{color:#5e7180}.dls-math-simple-units{display:grid;gap:.75rem}.dls-math-simple-unit{border:1px solid #d7e7e3;border-radius:16px;background:#fff;overflow:hidden}.dls-math-simple-unit summary{display:grid;grid-template-columns:42px minmax(0,1fr) auto 24px;align-items:center;gap:.8rem;padding:1rem;cursor:pointer;list-style:none}.dls-math-simple-unit summary::-webkit-details-marker{display:none}.dls-math-simple-unit[open] summary{border-bottom:1px solid #e1ece9;background:#f4fbf9}.dls-math-simple-unit-number{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#e5f4ee;color:#007f76;font:900 .75rem/1 Inter,sans-serif}.dls-math-simple-unit-copy{display:grid;gap:.2rem;min-width:0}.dls-math-simple-unit-copy b{color:#173b35;font:850 1rem/1.25 Inter,sans-serif}.dls-math-simple-unit-copy small{overflow:hidden;color:#60757a;font:650 .75rem/1.3 Inter,sans-serif;text-overflow:ellipsis;white-space:nowrap}.dls-math-simple-unit-progress{color:#007f76;font:850 .75rem/1 Inter,sans-serif}.dls-math-simple-lessons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem;padding:1rem}.dls-math-simple-lessons a{display:grid;grid-template-columns:26px minmax(0,1fr) auto 18px;align-items:center;gap:.55rem;padding:.75rem;border:1px solid #e1ece9;border-radius:10px;color:#264e4b;text-decoration:none}.dls-math-simple-lessons a:hover{border-color:#73bcaf;background:#f2fbf8}.dls-math-simple-lessons a>span:first-child{display:grid;place-items:center;width:22px;height:22px;border:2px solid #9ab3ae;border-radius:50%;color:#56716b;font:800 .65rem/1 Inter,sans-serif}.dls-math-simple-lessons a>span.is-complete{border-color:#00877d;background:#00877d;color:#fff}.dls-math-simple-lessons b{overflow:hidden;color:#193e39;font:800 .78rem/1.25 Inter,sans-serif;text-overflow:ellipsis;white-space:nowrap}.dls-math-simple-lessons small{color:#007f76;font:750 .65rem/1 Inter,sans-serif}.dls-math-simple-lessons .material-symbols-outlined{font-size:1rem;color:#007f76}@media(max-width:720px){.dls-math-next-lesson{align-items:flex-start;flex-direction:column}.dls-math-simple-lessons{grid-template-columns:1fr}.dls-math-simple-unit summary{grid-template-columns:38px minmax(0,1fr) 18px}.dls-math-simple-unit-progress{display:none}.dls-math-simple-lessons small{display:none}}

/* Minimal module path: compact icon stops replace the former module cards. */
.dls-math-learning-path{padding:0!important;gap:0!important;background:transparent!important}.dls-math-learning-path:before{display:none!important}.dls-simple-pathway-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:0 0 1.25rem;padding:0 .25rem}.dls-simple-pathway-heading p{margin:0;color:#66758d;font-size:.88rem;font-weight:750}.dls-simple-pathway{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.45rem 5.5rem;max-width:920px;margin:0 auto;padding:1rem 1.4rem 1.7rem}.dls-simple-pathway:before{content:"";position:absolute;left:50%;top:2rem;bottom:2rem;width:3px;border-radius:99px;background:linear-gradient(#beded9,#c9dce9)}.dls-simple-path-node{position:relative;z-index:1;display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:.75rem;min-height:54px;color:#183d42;text-decoration:none}.dls-simple-path-node:nth-child(odd){grid-column:1;grid-template-columns:minmax(0,1fr) 44px;text-align:right}.dls-simple-path-node:nth-child(odd) .dls-simple-path-icon{grid-column:2}.dls-simple-path-node:nth-child(odd) .dls-simple-path-label{grid-column:1;grid-row:1}.dls-simple-path-node:nth-child(even){grid-column:2}.dls-simple-path-icon{display:grid;place-items:center;width:44px;height:44px;border:4px solid #fff;border-radius:50%;background:#dceceb;color:#60757a;box-shadow:0 0 0 2px #bfd7d3,0 4px 0 rgba(18,54,48,.16);transition:transform .18s ease,background .18s ease}.dls-simple-path-icon .material-symbols-outlined{font-size:1.2rem}.dls-simple-path-node.is-next .dls-simple-path-icon{background:#007f76;color:#fff;box-shadow:0 0 0 5px rgba(0,127,118,.12),0 4px 0 #075a54}.dls-simple-path-label{display:grid;gap:.08rem;min-width:0}.dls-simple-path-label b{color:#71838a;font-size:.67rem;font-weight:950;letter-spacing:.08em;text-transform:uppercase}.dls-simple-path-label em{overflow:hidden;color:#173e3c;font-size:.94rem;font-style:normal;font-weight:900;line-height:1.15;text-overflow:ellipsis;white-space:nowrap}.dls-simple-path-label small{color:#00877d;font-size:.7rem;font-weight:850}.dls-simple-path-node:hover .dls-simple-path-icon,.dls-simple-path-node:focus-visible .dls-simple-path-icon{transform:scale(1.1);background:#1764ce;color:#fff;outline:0}.dls-simple-path-node .dls-module-progress{display:none!important}@media(max-width:720px){.dls-simple-pathway-heading{align-items:flex-start;flex-direction:column;gap:.35rem}.dls-simple-pathway{grid-template-columns:1fr;gap:1.1rem;padding:.7rem 0 .7rem 2.25rem}.dls-simple-pathway:before{left:1.25rem;top:1.4rem;bottom:1.4rem}.dls-simple-path-node,.dls-simple-path-node:nth-child(odd),.dls-simple-path-node:nth-child(even){grid-column:1;grid-template-columns:44px minmax(0,1fr);text-align:left}.dls-simple-path-node:nth-child(odd) .dls-simple-path-icon{grid-column:1}.dls-simple-path-node:nth-child(odd) .dls-simple-path-label{grid-column:2;grid-row:1}}

/* One continuous, rounded route runs behind the circular stops. */
.dls-simple-pathway{display:block!important;max-width:980px;min-height:var(--path-height);height:var(--path-height);padding:0!important}.dls-simple-pathway:before{display:none!important}.dls-simple-path-route{position:absolute;inset:0;width:100%;height:100%;overflow:visible}.dls-simple-path-route path{fill:none;stroke:#bddbd6;stroke-width:1.25;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 3px 0 rgba(18,54,48,.08))}.dls-simple-path-node,.dls-simple-path-node:nth-child(odd),.dls-simple-path-node:nth-child(even){position:absolute;left:var(--path-x);top:var(--path-y);display:block;min-height:0;color:#183d42;text-align:left;transform:translate(-50%,-50%)}.dls-simple-path-icon{position:relative;z-index:2;width:54px;height:54px;border:5px solid #fff;background:#e3f0ee;box-shadow:0 0 0 3px #bed8d4,0 5px 0 rgba(18,54,48,.15)}.dls-simple-path-node.is-next .dls-simple-path-icon{box-shadow:0 0 0 6px rgba(0,127,118,.12),0 5px 0 #075a54}.dls-simple-path-label{position:absolute;top:50%;width:205px;transform:translateY(-50%)}.dls-simple-path-node.is-left .dls-simple-path-label{right:calc(100% + 1rem);text-align:right}.dls-simple-path-node.is-right .dls-simple-path-label{left:calc(100% + 1rem);text-align:left}.dls-simple-path-label b{font-size:.7rem}.dls-simple-path-label em{font-size:1rem}.dls-simple-path-label small{margin-top:.18rem}.dls-simple-path-node .dls-module-progress{display:none!important}@media(max-width:720px){.dls-simple-path-label{width:130px}.dls-simple-path-label em{font-size:.84rem}.dls-simple-path-label b{font-size:.61rem}.dls-simple-path-label small{font-size:.64rem}.dls-simple-path-icon{width:46px;height:46px;border-width:4px}.dls-simple-path-route path{stroke-width:1.5}}
.dls-simple-path-scroll{max-width:100%;overflow-x:auto;overflow-y:hidden;padding:.35rem .25rem 1rem;scrollbar-color:#9bcfc7 transparent;scrollbar-width:thin}.dls-simple-pathway{width:var(--path-width)!important;min-width:var(--path-width)!important;max-width:none!important;height:23rem!important;min-height:23rem!important;margin:0 auto}.dls-simple-path-route path{stroke-width:1.05;stroke:#badbd5}.dls-simple-path-node,.dls-simple-path-node:nth-child(odd),.dls-simple-path-node:nth-child(even){text-align:center}.dls-simple-path-icon{width:50px;height:50px}.dls-simple-path-label{top:calc(100% + .6rem);right:auto!important;left:50%!important;width:132px;transform:translateX(-50%);text-align:center!important}.dls-simple-path-node:nth-child(2n) .dls-simple-path-label,.dls-simple-path-node:nth-child(6n) .dls-simple-path-label{top:auto;bottom:calc(100% + .6rem)}.dls-simple-path-label em{font-size:.82rem;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.dls-simple-path-label b{font-size:.62rem}.dls-simple-path-label small{font-size:.65rem}.dls-simple-path-node.is-next .dls-simple-path-icon{box-shadow:0 0 0 6px rgba(0,127,118,.13),0 5px 0 #075a54}@media(max-width:720px){.dls-simple-pathway{height:20rem!important;min-height:20rem!important}.dls-simple-path-label{width:106px}.dls-simple-path-icon{width:44px;height:44px}.dls-simple-path-label em{font-size:.74rem}.dls-simple-path-label small{font-size:.6rem}}
.dls-math-learning-path{min-width:0!important;max-width:100%!important;overflow:hidden}.dls-simple-path-scroll{width:100%;max-width:100%;box-sizing:border-box;overscroll-behavior-inline:contain}.dls-simple-pathway{height:25rem!important;min-height:25rem!important}.dls-simple-path-route path{stroke-width:1.85;stroke:#9fcfc7}.dls-simple-path-icon{width:72px;height:72px;border-width:6px;box-shadow:0 0 0 4px #b8d8d2,0 6px 0 rgba(18,54,48,.17)}.dls-simple-path-icon .material-symbols-outlined{font-size:1.75rem}.dls-simple-path-node.is-next .dls-simple-path-icon{box-shadow:0 0 0 7px rgba(0,127,118,.14),0 6px 0 #075a54}.dls-simple-path-label{display:none!important}.dls-simple-path-tooltip{position:absolute;z-index:8;left:50%;top:calc(100% + 1rem);display:grid;gap:.22rem;width:176px;padding:.7rem .8rem;border:1px solid #cfe3df;border-radius:.85rem;background:#fff;color:#46665f;box-shadow:0 12px 28px rgba(0,58,64,.14);font-size:.72rem;line-height:1.3;opacity:0;pointer-events:none;text-align:left;transform:translate(-50%,-4px);transition:opacity .16s ease,transform .16s ease}.dls-simple-path-node:nth-child(2n) .dls-simple-path-tooltip,.dls-simple-path-node:nth-child(6n) .dls-simple-path-tooltip{top:auto;bottom:calc(100% + 1rem)}.dls-simple-path-tooltip b{color:#173e3c;font-size:.78rem;line-height:1.2}.dls-simple-path-tooltip small{color:#007f76;font-size:.69rem;font-weight:900}.dls-simple-path-node:hover .dls-simple-path-tooltip,.dls-simple-path-node:focus-visible .dls-simple-path-tooltip{opacity:1;transform:translate(-50%,0)}.dls-simple-path-node:focus-visible{outline:0}@media(max-width:720px){.dls-simple-pathway{height:22rem!important;min-height:22rem!important}.dls-simple-path-icon{width:61px;height:61px}.dls-simple-path-tooltip{width:156px}.dls-simple-path-route path{stroke-width:2.15}}
.dls-math-learning-path{overflow:visible!important}.dls-simple-path-scroll{overflow-x:auto!important;overflow-y:hidden!important;padding-inline:2.75rem!important;scroll-padding-inline:2.75rem;box-sizing:border-box}.dls-simple-pathway{margin-inline:auto!important}.dls-simple-path-node:first-of-type .dls-simple-path-tooltip{left:0;transform:translate(0,-4px)}.dls-simple-path-node:first-of-type:hover .dls-simple-path-tooltip,.dls-simple-path-node:first-of-type:focus-visible .dls-simple-path-tooltip{transform:translate(0,0)}.dls-simple-path-node:last-of-type .dls-simple-path-tooltip{left:auto;right:0;transform:translate(0,-4px)}.dls-simple-path-node:last-of-type:hover .dls-simple-path-tooltip,.dls-simple-path-node:last-of-type:focus-visible .dls-simple-path-tooltip{transform:translate(0,0)}
.dls-simple-path-scroll{overflow:visible!important;padding-inline:0!important}.dls-simple-pathway{width:100%!important;min-width:0!important;max-width:100%!important}.dls-simple-path-icon{width:clamp(42px,4.2vw,72px);height:clamp(42px,4.2vw,72px)}.dls-simple-path-icon .material-symbols-outlined{font-size:clamp(1.15rem,1.7vw,1.75rem)}.dls-simple-path-tooltip{width:min(176px,20vw)}@media(max-width:720px){.dls-simple-pathway{height:18rem!important;min-height:18rem!important}.dls-simple-path-route path{stroke-width:2.35}.dls-simple-path-tooltip{width:132px}.dls-simple-path-node:nth-child(2n) .dls-simple-path-tooltip{bottom:calc(100% + .7rem)}}
.dls-simple-pathway-heading{position:relative!important;display:flex!important;align-items:flex-start!important;margin-top:0!important;margin-bottom:1.35rem!important;padding-top:0!important}.dls-simple-path-scroll{width:calc(100vw - 360px)!important;max-width:calc(100vw - 360px)!important;margin-left:calc((100% - (100vw - 360px)) / 2)!important}.dls-simple-pathway{width:100%!important;max-width:100%!important}.dls-simple-pathway-heading{width:calc(100vw - 360px)!important;max-width:calc(100vw - 360px)!important;margin-left:calc((100% - (100vw - 360px)) / 2)!important}@media(max-width:900px){.dls-simple-path-scroll,.dls-simple-pathway-heading{width:100%!important;max-width:100%!important;margin-left:0!important}}
.dls-simple-pathway-heading,.dls-simple-path-scroll{width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important;box-sizing:border-box}.dls-simple-pathway-heading{padding-inline:clamp(.5rem,2vw,1.5rem)!important}.dls-simple-path-scroll{padding-inline:clamp(2.75rem,5vw,5rem)!important}.dls-simple-pathway{width:100%!important;max-width:100%!important;margin:0 auto!important}.dls-math-learning-path{overflow:hidden!important}
.dls-math-chapter-list.dls-math-learning-path{display:block!important;grid-template-columns:none!important;width:100%!important;max-width:100%!important}.dls-math-chapter-list.dls-math-learning-path>.dls-simple-pathway-heading,.dls-math-chapter-list.dls-math-learning-path>.dls-simple-path-scroll{grid-column:auto!important}
.dls-math-standards-control{display:flex;align-items:center;gap:.45rem;min-width:min(100%,310px);border:1px solid #bfd8d3;border-radius:999px;background:#fff;color:#007f76;padding:.15rem .7rem}.dls-math-standards-control .material-symbols-outlined{font-size:1.15rem}.dls-math-standards-control select{min-width:0;flex:1;border:0;background:transparent;color:#17433f;font:800 .78rem/1.2 Inter,sans-serif;padding:.55rem .1rem;outline:0}.dls-math-standards-control select:focus{outline:2px solid rgba(0,127,118,.25);outline-offset:2px;border-radius:.5rem}

/* Standards-first DLS Math architecture: one skill graph, multiple alignment lenses. */
.dls-standards-control-copy{display:grid;gap:.05rem;min-width:0}.dls-standards-control-copy b{font:850 .62rem/1 Inter,sans-serif;letter-spacing:.08em;text-transform:uppercase}.dls-math-standards-control .dls-standards-control-copy select{padding:.1rem 0;font-size:.82rem}
.dls-standards-pathway{width:100%;max-width:1080px;margin:0 auto;padding:clamp(1.15rem,2.8vw,2.35rem);border:1px solid #cfe2de;border-radius:1.5rem;background:linear-gradient(145deg,#fff 0%,#f0fbf8 100%);box-shadow:0 12px 35px rgba(0,58,64,.06);box-sizing:border-box}.dls-standards-pathway-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1.25rem;padding-bottom:1.25rem;border-bottom:1px solid #dcebe7}.dls-path-eyebrow{display:block;margin-bottom:.35rem;color:#007f76;font:900 .68rem/1 Inter,sans-serif;letter-spacing:.13em;text-transform:uppercase}.dls-standards-pathway h3{margin:0;color:#10213f;font-size:clamp(1.55rem,2.7vw,2.45rem);letter-spacing:-.045em}.dls-standards-pathway-head p{margin:.45rem 0 0;color:#5e7180;font:600 .92rem/1.45 Inter,sans-serif}.dls-framework-status{display:grid;gap:.2rem;flex:0 0 auto;padding:.7rem .85rem;border:1px solid #b8dcd5;border-radius:.8rem;background:#fff;color:#006f66}.dls-framework-status b{font:850 .8rem/1.2 Inter,sans-serif}.dls-framework-status span{font:750 .65rem/1 Inter,sans-serif;letter-spacing:.06em}.dls-pathway-mode{display:flex;gap:.4rem;margin:1.1rem 0}.dls-pathway-mode button{border:1px solid #c6ddd8;border-radius:999px;background:#fff;color:#46665f;padding:.52rem .78rem;font:800 .75rem/1 Inter,sans-serif;cursor:pointer}.dls-pathway-mode button.is-active{border-color:#007f76;background:#007f76;color:#fff}.dls-pathway-note{display:flex;align-items:center;gap:.5rem;margin:0 0 1.25rem;padding:.75rem .85rem;border-radius:.85rem;background:#e8f6f2;color:#315e59;font:700 .84rem/1.35 Inter,sans-serif}.dls-pathway-note .material-symbols-outlined{color:#007f76}.dls-standards-unit-list{display:grid;gap:0;margin:0;padding:0;list-style:none}.dls-standards-unit{position:relative;display:grid;grid-template-columns:52px minmax(0,1fr);gap:.8rem;padding-bottom:1.15rem}.dls-standards-unit:last-child{padding-bottom:0}.dls-unit-rail{position:relative;display:flex;justify-content:center}.dls-unit-rail:after{content:"";position:absolute;top:42px;bottom:-1.15rem;width:4px;border-radius:4px;background:#b9ddd6}.dls-standards-unit:last-child .dls-unit-rail:after{display:none}.dls-unit-rail span{z-index:1;display:grid;place-items:center;width:36px;height:36px;border:4px solid #fff;border-radius:50%;background:#007f76;color:#fff;box-shadow:0 0 0 2px #a7d4cb;font:850 .7rem/1 Inter,sans-serif}.dls-standards-unit article{min-width:0;padding:1rem 1.05rem;border:1px solid #d7e7e3;border-radius:1rem;background:#fff}.dls-unit-title{display:flex;justify-content:space-between;gap:1rem}.dls-unit-title>div:first-child>span{color:#007f76;font:900 .64rem/1 Inter,sans-serif;letter-spacing:.1em;text-transform:uppercase}.dls-unit-title h4{margin:.32rem 0 .25rem;color:#173b35;font-size:1.14rem;letter-spacing:-.02em}.dls-unit-title p{margin:0;color:#71817e;font:650 .78rem/1.35 Inter,sans-serif}.dls-unit-mastery{display:grid;align-content:start;justify-items:end;flex:0 0 auto;color:#007f76}.dls-unit-mastery b{font:900 1.1rem/1 Inter,sans-serif}.dls-unit-mastery span{margin-top:.18rem;font:750 .64rem/1 Inter,sans-serif;text-transform:uppercase}.dls-skill-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.45rem;margin-top:.9rem}.dls-skill-row{display:grid;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:.4rem;min-width:0;padding:.52rem .6rem;border:1px solid #e1ece9;border-radius:.65rem;background:#fcfefd;color:#264e4b;font:750 .76rem/1.25 Inter,sans-serif;text-decoration:none}.dls-skill-row:hover{border-color:#73bcaf;background:#f2fbf8}.dls-skill-state{display:grid;place-items:center;width:16px;height:16px;border:2px solid #8ba4a1;border-radius:50%;color:#fff;font-size:.63rem}.dls-skill-state.is-complete{border-color:#00877d;background:#00877d}.dls-skill-row>span:nth-child(2){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dls-skill-row small{color:#00877d;font:800 .64rem/1 Inter,sans-serif}.dls-unit-footer{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-top:.85rem;color:#60757a;font:750 .72rem/1.25 Inter,sans-serif}.dls-unit-footer a{display:inline-flex;align-items:center;gap:.25rem;color:#006f66;font:850 .75rem/1 Inter,sans-serif;text-decoration:none}.dls-unit-footer .material-symbols-outlined{font-size:1rem}.dls-standards-unit .dls-module-progress{display:block!important;height:5px;margin-top:.55rem}.dls-pathway-teacher{padding:1rem;border:1px solid #beded7;border-radius:1rem;background:#fff}.dls-pathway-teacher>p{margin:0 0 .8rem;color:#5e7180;font:650 .84rem/1.4 Inter,sans-serif}.dls-teacher-standard-code{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.7rem .8rem;border-radius:.7rem;background:#e9f6f2;color:#075a54}.dls-teacher-standard-code b{font:850 .8rem/1.2 Inter,sans-serif}.dls-teacher-standard-code span{font:750 .67rem/1 Inter,sans-serif}.dls-teacher-standard-list{display:grid;gap:.55rem;margin-top:.75rem}.dls-teacher-standard-list article{display:grid;grid-template-columns:minmax(150px,.7fr) 2fr;gap:.8rem;padding:.75rem;border:1px solid #e0ece9;border-radius:.7rem}.dls-teacher-standard-list b{color:#193e39;font:850 .8rem/1.3 Inter,sans-serif}.dls-teacher-standard-list span{color:#60757a;font:650 .76rem/1.4 Inter,sans-serif}@media(max-width:720px){.dls-standards-pathway{padding:1rem}.dls-standards-pathway-head{align-items:flex-start;flex-direction:column}.dls-framework-status{width:100%;box-sizing:border-box}.dls-skill-list{grid-template-columns:1fr}.dls-standards-unit{grid-template-columns:42px minmax(0,1fr);gap:.45rem}.dls-unit-title{align-items:flex-start;flex-direction:column}.dls-unit-mastery{justify-items:start}.dls-unit-footer{align-items:flex-start;flex-direction:column;gap:.5rem}.dls-teacher-standard-list article{grid-template-columns:1fr}.dls-teacher-standard-code{align-items:flex-start;flex-direction:column;gap:.35rem}}

.dls-framework-unit-lens{margin:.8rem 0 0;padding:.6rem .7rem;border-left:3px solid #007f76;border-radius:0 .55rem .55rem 0;background:#eff9f6;color:#46665f;font:650 .76rem/1.42 Inter,sans-serif}.dls-framework-unit-lens b{color:#007f76}.dls-math-alignment-card{display:flex;align-items:flex-start;gap:.7rem;margin:1rem 0;padding:.75rem .85rem;border:1px solid #bfe1da;border-radius:.8rem;background:#eaf8f4;color:#174d48}.dls-math-alignment-card>.material-symbols-outlined{color:#007f76}.dls-math-alignment-card b,.dls-math-alignment-card span{display:block}.dls-math-alignment-card b{font:850 .8rem/1.3 Inter,sans-serif}.dls-math-alignment-card div>span{margin-top:.18rem;color:#5c7772;font:700 .69rem/1.3 Inter,sans-serif}

.dls-teacher-unlock{margin-left:auto;border:1px solid #6faea4;border-radius:999px;background:#fff;color:#00766d;padding:.5rem .72rem;font:850 .7rem/1 Inter,sans-serif;cursor:pointer}.dls-teacher-unlock:hover{background:#e8f6f2}.dls-standards-unit article.is-locked{background:#f6f8f8;opacity:.78}.dls-standards-unit article.is-locked .dls-framework-unit-lens{background:#eef2f1}.dls-unit-locked-label{color:#6f7d7b;font:800 .71rem/1 Inter,sans-serif}.dls-skill-row.is-locked{cursor:not-allowed;background:#f2f5f4;color:#71817e}.dls-skill-row.is-locked small{color:#71817e}.dls-teacher-standard-search{display:flex;align-items:center;gap:.45rem;margin:.8rem 0;border:1px solid #bdd8d2;border-radius:.7rem;background:#fff;padding:.55rem .7rem;color:#007f76}.dls-teacher-standard-search input{min-width:0;width:100%;border:0;background:transparent;color:#17433f;font:700 .8rem/1.2 Inter,sans-serif;outline:0}.dls-teacher-standard-search:focus-within{outline:2px solid rgba(0,127,118,.2)}.dls-guided-prompt{display:grid;gap:.22rem;margin-top:.75rem;padding:.75rem;border-radius:.7rem;background:#edf8f5;color:#365c58}.dls-guided-prompt b{color:#007f76;font:900 .68rem/1 Inter,sans-serif;letter-spacing:.08em;text-transform:uppercase}.dls-guided-prompt span{font:650 .8rem/1.4 Inter,sans-serif}@media(max-width:720px){.dls-teacher-unlock{margin-left:0}}

/* Six-stage Math skill flow: explicit visual model, coaching, practice, and challenge. */
.dls-equation-balance{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:.7rem;align-items:center;max-width:560px;margin:1.25rem auto;padding:1rem;border-radius:1rem;background:#eaf8f4;color:#173b35;text-align:center}.dls-equation-balance>div{display:grid;gap:.25rem;padding:.8rem;border:1px solid #bcded7;border-radius:.7rem;background:#fff}.dls-equation-balance b{font:900 1.25rem/1.1 "Plus Jakarta Sans",Inter,sans-serif}.dls-equation-balance span{color:#007f76;font:800 .7rem/1.2 Inter,sans-serif}.dls-equation-balance strong{color:#007f76;font-size:1.5rem}.dls-equation-balance i{grid-column:1/-1;height:3px;border-radius:999px;background:#9fcfc7}.dls-equation-balance p{grid-column:1/-1;margin:0;color:#174c91;font:900 1.05rem/1.25 "Plus Jakarta Sans",Inter,sans-serif}.dls-worked-explanation{max-width:600px;margin:.2rem auto 1rem;color:#526264;font:650 .9rem/1.55 Inter,sans-serif;text-align:center}.dls-worked-model{display:grid;gap:.35rem;max-width:620px;margin:1rem 0;padding:1rem;border-left:4px solid #007f76;border-radius:.75rem;background:#eef8f5}.dls-worked-model b{color:#007f76;font:900 .75rem/1 Inter,sans-serif;letter-spacing:.08em;text-transform:uppercase}.dls-worked-model span{color:#365c58;font:650 .9rem/1.45 Inter,sans-serif}.dls-guided-step,.dls-adaptive-practice{display:grid;gap:.65rem;margin-top:1rem;padding:1rem;border:1px solid #d8e8e4;border-radius:.85rem;background:#f8fcfb}.dls-guided-step>b{color:#007f76;font:900 .72rem/1 Inter,sans-serif;letter-spacing:.1em;text-transform:uppercase}.dls-guided-step>span{color:#526264;font:650 .86rem/1.4 Inter,sans-serif}.dls-guided-step p,.dls-adaptive-practice p{min-height:1.2rem;margin:0;color:#075a54;font:750 .82rem/1.4 Inter,sans-serif}.dls-adaptive-practice{grid-template-columns:minmax(0,1fr) auto}.dls-adaptive-practice input{min-width:0;border:1px solid #bed8d3;border-radius:.65rem;background:#fff;padding:.7rem .8rem;color:#173b35;font:700 .9rem/1.2 Inter,sans-serif}.dls-adaptive-practice p{grid-column:1/-1}@media(max-width:600px){.dls-equation-balance{grid-template-columns:1fr}.dls-equation-balance strong{display:none}.dls-adaptive-practice{grid-template-columns:1fr}}
.dls-equation-balance-animated>div:first-child{animation:dls-balance-left 6s ease-in-out infinite}.dls-equation-balance-animated>div:last-of-type{animation:dls-balance-right 6s ease-in-out infinite}.dls-equation-balance-animated i{transform-origin:center;animation:dls-balance-beam 6s ease-in-out infinite}.dls-equation-balance-animated p span{display:inline-block}.dls-equation-balance-animated p span:first-child{animation:dls-model-step-one 6s ease-in-out infinite}.dls-equation-balance-animated p span:last-child{animation:dls-model-step-two 6s ease-in-out infinite}.dls-worked-model-animated i{display:block;width:0;height:3px;border-radius:99px;background:#007f76;animation:dls-model-line 4s ease-in-out infinite}@keyframes dls-balance-left{0%,25%,100%{transform:translateY(0)}40%,62%{transform:translateY(-7px)}}@keyframes dls-balance-right{0%,25%,100%{transform:translateY(0)}40%,62%{transform:translateY(7px)}}@keyframes dls-balance-beam{0%,25%,100%{transform:rotate(0)}40%,62%{transform:rotate(1.1deg)}}@keyframes dls-model-step-one{0%,24%{opacity:.35;transform:translateY(4px)}32%,100%{opacity:1;transform:translateY(0)}}@keyframes dls-model-step-two{0%,60%{opacity:.25;transform:translateY(4px)}70%,100%{opacity:1;transform:translateY(0)}}@keyframes dls-model-line{0%,100%{width:8%}50%{width:100%}}@media(prefers-reduced-motion:reduce){.dls-equation-balance-animated>div,.dls-equation-balance-animated i,.dls-equation-balance-animated p span,.dls-worked-model-animated i{animation:none!important}}
.dls-manim-model{margin:1.15rem 0;border:1px solid #c9e1dc;border-radius:1rem;background:#f4fbf9;overflow:hidden}.dls-manim-model figcaption{display:flex;align-items:center;gap:.65rem;padding:.75rem 1rem;color:#365c58;font:650 .8rem/1.35 Inter,sans-serif}.dls-manim-model figcaption .material-symbols-outlined{color:#007f76}.dls-manim-model figcaption b{display:block;color:#007f76;font:900 .7rem/1.2 Inter,sans-serif;letter-spacing:.08em;text-transform:uppercase}.dls-manim-model video{display:block;width:100%;max-height:430px;background:#f7fbfa;object-fit:contain}

/* Standards-first entry and the full six-step math skill experience. */
.dls-math-standards-entry{padding:clamp(1.2rem,3vw,2.5rem);border:1px solid #cfe2de;border-radius:1.5rem;background:linear-gradient(145deg,#fff,#edf9f6);box-shadow:0 12px 35px rgba(0,58,64,.06)}.dls-standards-entry-head h2{margin:.3rem 0;color:#10213f;font-size:clamp(1.8rem,3.8vw,3.4rem);letter-spacing:-.055em}.dls-standards-entry-head p{max-width:720px;margin:.55rem 0 1.5rem;color:#526264;line-height:1.5}.dls-standards-entry-grid{display:grid;grid-template-columns:1fr 1.15fr;gap:1.25rem}.dls-standards-entry-grid>div{padding:1rem;border:1px solid #d8e8e4;border-radius:1rem;background:#fff}.dls-standards-entry-grid h3{margin:0 0 .8rem;color:#17433f;font-size:1rem}.dls-entry-standard-options{display:grid;gap:.45rem}.dls-entry-standard-options button{display:grid;gap:.12rem;width:100%;border:1px solid #d6e5e1;border-radius:.7rem;background:#fbfefd;padding:.7rem;text-align:left;cursor:pointer}.dls-entry-standard-options button:hover,.dls-entry-standard-options button.is-active{border-color:#007f76;background:#eaf8f4}.dls-entry-standard-options b{color:#17433f;font:850 .82rem/1.25 Inter,sans-serif}.dls-entry-standard-options span{color:#60757a;font:650 .69rem/1.3 Inter,sans-serif}.dls-entry-grade-note{margin:0 0 .75rem;color:#60757a;font:650 .74rem/1.4 Inter,sans-serif}.dls-entry-course-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.45rem}.dls-entry-course-options a{display:grid;gap:.12rem;padding:.7rem;border:1px solid #d6e5e1;border-radius:.7rem;color:#17433f;text-decoration:none}.dls-entry-course-options a:hover{border-color:#007f76;background:#eaf8f4}.dls-entry-course-options b{font:850 .8rem/1.2 Inter,sans-serif}.dls-entry-course-options span{color:#60757a;font:650 .68rem/1.2 Inter,sans-serif}.dls-entry-footer{display:flex;align-items:center;gap:.45rem;margin:1.1rem 0 0;color:#38635e;font:700 .78rem/1.45 Inter,sans-serif}.dls-entry-footer .material-symbols-outlined{color:#007f76}.dls-skill-experience{margin:1rem 0;padding:1rem;border:1px solid #d8e8e4;border-radius:1rem;background:#fbfefd}.dls-skill-experience header h2{margin:.5rem 0;color:#173b35;font-size:1.45rem}.dls-skill-experience header p{margin:0;color:#586e7a;font-size:.86rem;line-height:1.45}.dls-skill-meta{display:grid;grid-template-columns:1fr 1fr;gap:.65rem;margin-top:.85rem}.dls-skill-meta>div{padding:.65rem;border-radius:.7rem;background:#edf8f5}.dls-skill-meta b,.dls-skill-meta span{display:block}.dls-skill-meta b{color:#007f76;font:900 .63rem/1 Inter,sans-serif;letter-spacing:.08em;text-transform:uppercase}.dls-skill-meta span{margin-top:.25rem;color:#365c58;font:700 .76rem/1.35 Inter,sans-serif}.dls-math-level-selector{display:flex;gap:.4rem;margin-top:.9rem}.dls-math-level-selector button{border:1px solid #c7ddd8;border-radius:999px;background:#fff;padding:.5rem .7rem;color:#476660;font:800 .72rem/1 Inter,sans-serif;cursor:pointer}.dls-math-level-selector button.is-active{border-color:#007f76;background:#007f76;color:#fff}.dls-math-level-panel{margin-top:.65rem;padding:.75rem;border-left:3px solid #2588f3;border-radius:0 .65rem .65rem 0;background:#eef5fd}.dls-math-level-panel b{color:#174c91;font-size:.82rem}.dls-math-level-panel p{margin:.2rem 0 0;color:#46627f;font-size:.8rem;line-height:1.4}.dls-skill-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.45rem;margin:.9rem 0;padding:0;list-style:none}.dls-skill-steps li{display:grid;gap:.18rem;padding:.65rem;border:1px solid #dce9e6;border-radius:.65rem;background:#fff}.dls-skill-steps b{color:#007f76;font:900 .7rem/1 Inter,sans-serif}.dls-skill-steps span{color:#566d74;font:650 .72rem/1.35 Inter,sans-serif}.dls-nova-hint-ladder{margin-top:.8rem;border:1px solid #dcd4f6;border-radius:.75rem;background:#faf8ff}.dls-nova-hint-ladder summary{display:flex;align-items:center;gap:.55rem;padding:.75rem;cursor:pointer;color:#4c3c98}.dls-nova-hint-ladder summary span:nth-child(2){display:grid;gap:.12rem;flex:1}.dls-nova-hint-ladder summary b{font:850 .8rem/1.2 Inter,sans-serif}.dls-nova-hint-ladder summary small{font:650 .7rem/1.2 Inter,sans-serif}.dls-nova-hint-ladder ol{display:grid;gap:.35rem;margin:0;padding:0 1rem 1rem 2rem;color:#5b5980;font:650 .76rem/1.4 Inter,sans-serif}.dls-nova-hint-ladder li b{color:#5c4cc7}@media(max-width:760px){.dls-standards-entry-grid,.dls-skill-meta{grid-template-columns:1fr}.dls-entry-course-options,.dls-skill-steps{grid-template-columns:1fr}.dls-entry-footer{align-items:flex-start}}

/* Math topic pages now use the same full-width topic workspace language as Science. */
.dls-math-topic-parity{display:grid;gap:0!important;max-width:1120px;margin:0 auto}.dls-math-topic-parity>.dls-math-hero{min-height:0!important;padding:1.35rem 1.5rem!important;border:0!important;border-radius:1.35rem 1.35rem 0 0!important;background:#fff!important;color:#003434!important;box-shadow:0 1px 0 #dbe5e6}.dls-math-topic-parity>.dls-math-hero .absolute{display:none}.dls-math-topic-parity>.dls-math-hero .dls-pill{margin-bottom:.55rem!important;border-color:#b9dcdc!important;background:#eaf7f5!important;color:#00777a!important}.dls-math-topic-parity>.dls-math-hero h1{color:#003434!important;font-size:clamp(2rem,4vw,3.1rem)!important;line-height:1.05!important}.dls-math-topic-parity>.dls-math-hero p{max-width:800px!important;margin-top:.45rem!important;color:#526264!important;font-size:1rem!important;line-height:1.48!important}.dls-math-topic-parity>.dls-math-workspace{display:block!important;min-height:0!important}.dls-math-topic-parity .dls-math-mini-nav{display:flex!important;position:sticky;top:5rem;z-index:18;align-items:center;justify-content:center;gap:.2rem;width:max-content;max-width:calc(100% - 2rem);margin:1rem auto .8rem!important;padding:.34rem!important;overflow:auto;border:1px solid #dbe5e6!important;border-radius:999px!important;background:#fff!important;box-shadow:0 8px 20px rgba(0,52,52,.07)}.dls-math-topic-parity .dls-math-mini-nav a{display:inline-flex;align-items:center;justify-content:center;min-height:2.4rem;padding:.5rem .85rem;border-radius:999px!important;color:#fff!important;background:#00777a!important;font:800 .76rem/1 Inter,sans-serif;text-decoration:none;white-space:nowrap}.dls-math-topic-parity .dls-math-mini-nav a[href="#quiz"]{background:#bf3e61!important}.dls-math-topic-parity .dls-math-mini-nav a.active{outline:3px solid #fff;outline-offset:-5px;box-shadow:0 0 0 2px currentColor,0 7px 15px rgba(0,52,52,.18)}.dls-math-topic-content{width:100%;padding:0 1.5rem 1.5rem;border-radius:0 0 1.35rem 1.35rem!important;background:#f7f9fb!important;box-sizing:border-box}.dls-math-topic-content .dls-stitch-lesson-flow{max-width:none!important;margin:0!important}.dls-math-topic-content .dls-stitch-lesson-header{padding:1rem 0!important;border:0!important}.dls-math-topic-content .dls-stitch-lesson-header h2{font-size:clamp(1.6rem,2.6vw,2.25rem)!important}.dls-math-topic-content .dls-math-section{margin-top:1rem!important;padding:clamp(1.1rem,2.5vw,1.75rem)!important;border:1px solid #e1e7e7!important;border-top:0!important;border-radius:1rem!important;background:#fff!important;box-shadow:none!important}.dls-math-topic-content .dls-stitch-video-section{border-left:4px solid #00777a!important}.dls-math-topic-content .dls-stitch-quiz-section{border-left:4px solid #bf3e61!important}.dls-math-topic-content .dls-math-section h2{color:#003434!important}.dls-math-topic-content .dls-math-topic-video{border-radius:1rem!important;box-shadow:none!important}.dls-math-topic-progress{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;align-items:start;margin:0!important;padding:1rem 1.5rem 1.5rem!important;border:0!important;border-top:1px solid #dbe5e6!important;border-radius:0 0 1.35rem 1.35rem!important;background:#fff!important;box-shadow:none!important}.dls-math-topic-progress .dls-math-chip{grid-column:1/-1;width:max-content}.dls-math-topic-progress h2{margin:0!important;color:#003434!important;font-size:2rem}.dls-math-topic-progress .dls-math-progress{grid-column:1/-1;margin:0!important}.dls-math-topic-progress p{margin:0!important;padding:.6rem .7rem;border-radius:.7rem;background:#f4f8f8;color:#526264;font-size:.82rem}.dls-math-topic-progress .dls-math-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:.55rem;margin-top:.2rem!important}.dls-math-topic-progress .dls-math-button,.dls-math-topic-progress .dls-math-ghost{padding:.7rem .85rem!important;border-radius:.65rem!important}@media(max-width:720px){.dls-math-topic-parity>.dls-math-hero{padding:1.1rem!important}.dls-math-topic-content{padding:0 1rem 1rem}.dls-math-topic-parity .dls-math-mini-nav{justify-content:flex-start}.dls-math-topic-progress{grid-template-columns:1fr;padding:1rem!important}.dls-math-topic-progress .dls-math-chip,.dls-math-topic-progress .dls-math-progress,.dls-math-topic-progress .dls-math-actions{grid-column:1}}
