:root{font:16px/1.6 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#293d50;background:#fcfcfa;--ml-accent:#17667d;--ml-dark:#10485c;--ml-soft:#edf6f8;--ml-line:#dbe5e8;--ml-ink:#25394c;--ml-muted:#63717e}*{box-sizing:border-box}body{margin:0}body[data-profile=david]{--ml-accent:#c52f39;--ml-dark:#96202d;--ml-soft:#fff0ee;--ml-line:#eedbd8;--ml-ink:#412d32;--ml-muted:#79676c;color:var(--ml-ink);background:#fffcfa}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation;-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default}a{color:var(--ml-accent)}button:focus-visible,a:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #a26910;outline-offset:4px}[tabindex="-1"]:focus{outline:none}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.25;letter-spacing:-.035em}small[lang]{display:block;font-size:12px;font-weight:450;letter-spacing:0;line-height:1.5;margin-top:5px}h1 small[lang]{font-size:17px}button{border:0}.ml-top{max-width:1180px;margin:auto;padding:24px 28px;display:flex;justify-content:space-between;align-items:center;gap:20px}.ml-brand{display:flex;align-items:center;gap:12px;font-size:17px;font-weight:750;text-decoration:none;color:var(--ml-ink)}.ml-brand small{display:block;font-size:9px;letter-spacing:.13em;color:var(--ml-muted);font-weight:650;margin-top:3px}.ml-logo{display:grid;place-items:center;width:46px;height:46px;border-radius:15px;background:var(--ml-accent);color:#fff;font-size:35px;font-weight:800;line-height:1;box-shadow:0 4px 0 var(--ml-dark)}.ml-top-actions{display:flex;gap:12px;align-items:center}.ml-text{font-size:13px;font-weight:650;color:var(--ml-muted);background:none;text-decoration:none;padding:10px;min-height:44px}.ml-nav{max-width:1124px;margin:auto;display:flex;gap:30px;border-bottom:1px solid var(--ml-line)}.ml-nav a{padding:12px 1px 17px;color:var(--ml-muted);font-size:13px;font-weight:650;text-decoration:none;white-space:nowrap}.ml-nav [aria-current]{color:var(--ml-accent);border-bottom:3px solid var(--ml-accent)}.ml-main{max-width:1124px;margin:auto;padding:24px 0 60px}.ml-stats{display:grid;grid-template-columns:repeat(4,1fr);margin:0 0 28px;padding:16px 0;border-bottom:1px solid var(--ml-line)}.ml-stats>div{display:flex;align-items:center;gap:9px;padding:0 23px;border-right:1px solid var(--ml-line)}.ml-stats>div:first-child{padding-left:0}.ml-stats>div:last-child{border:0;padding-right:0;flex-wrap:wrap;column-gap:7px}.ml-stats strong{font-size:23px;line-height:1.3;font-variant-numeric:tabular-nums}.ml-stats span{font-size:12px;color:var(--ml-muted)}.ml-stats span[aria-hidden]{font-size:25px;color:var(--ml-accent)}.ml-stats .ml-star{color:#bd840c}.ml-stats progress{width:100%;height:7px;accent-color:var(--ml-accent)}.ml-hero{display:grid;grid-template-columns:1.5fr 1fr;gap:20px;align-items:center;background:var(--ml-soft);border:1px solid var(--ml-line);border-radius:26px;padding:36px 42px;margin-bottom:40px;overflow:hidden}.ml-eyebrow{color:var(--ml-accent);font-size:10px;letter-spacing:.15em;font-weight:800;margin-bottom:13px}.ml-hero h1{font-size:clamp(35px,4vw,50px);margin-bottom:17px}.ml-hero h1>span{display:block;color:var(--ml-accent);margin-top:8px}.ml-hero h1 small{font-size:15px;color:var(--ml-muted);margin-top:3px}.ml-hero>div>p:not(.ml-eyebrow){color:var(--ml-muted);font-size:15px;max-width:440px;margin-bottom:23px}.ml-button{display:inline-flex;align-items:center;justify-content:center;gap:18px;background:var(--ml-accent);color:white;border:1px solid var(--ml-accent);border-bottom:4px solid var(--ml-dark);padding:13px 23px;border-radius:13px;font-size:14px;font-weight:750;min-height:52px;text-decoration:none;transition:transform .15s,filter .15s}.ml-button:hover{filter:brightness(1.05)}.ml-button:active{transform:translateY(2px)}.ml-button:disabled{opacity:.5;transform:none}.ml-button.secondary{background:white;border-color:var(--ml-line);border-bottom-color:#b5c3c7;color:var(--ml-accent)}.ml-hero-note{display:block;margin-top:13px;font-size:11px;color:var(--ml-muted)}.ml-hero-art{height:270px;position:relative;max-width:330px;width:100%;justify-self:center;transform:rotate(-7deg)}.ml-step{position:absolute;display:grid;place-items:center;width:100px;height:80px;border:3px solid white;border-radius:27px;font-weight:850;font-size:35px;box-shadow:0 9px 0 #dcc9c4;color:var(--ml-accent);background:white}.step-one{bottom:20px;left:8px}.step-two{bottom:100px;left:102px;background:#fbdcbd;box-shadow:0 9px 0 #e5b797;color:#975028}.step-three{bottom:180px;left:195px;background:var(--ml-accent);color:#fff;box-shadow:0 9px 0 var(--ml-dark);font-size:42px}.ml-spark{position:absolute;color:#d19b30;font-size:32px}.s1{top:40px;left:35px}.s2{bottom:15px;right:18px;font-size:42px}.ml-art-label{position:absolute;bottom:-15px;left:80px;font-size:8px;letter-spacing:.2em;color:var(--ml-muted);transform:rotate(7deg)}.ml-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:48px;align-items:start}.ml-section-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:24px}.ml-section-title h2{font-size:25px;margin:0}.ml-section-title h2 small{color:var(--ml-muted)}.ml-section-title>span{font-size:11px;color:var(--ml-muted);white-space:nowrap}.ml-settings{display:flex;gap:16px;border:1px solid var(--ml-line);padding:15px;border-radius:14px;background:white}.ml-settings label{font-size:11px;color:var(--ml-muted);display:grid;gap:5px;flex:1}select{min-height:44px;border:1px solid var(--ml-line);border-radius:8px;background:white;color:var(--ml-ink);padding:8px 10px;font-size:15px;width:100%}.ml-fine{color:var(--ml-muted);font-size:11px;line-height:1.7;margin:12px 0 0}.ml-path{padding:12px 0 0;list-style:none;margin:10px 0}.ml-path li{position:relative;display:flex;align-items:center;gap:24px;padding:21px 12px;min-height:125px}.ml-path li:before{content:'';position:absolute;top:0;bottom:0;left:48px;border-left:3px dashed var(--ml-line);z-index:-1}.ml-path li:first-child:before{top:50%}.ml-path li:last-child:before{bottom:50%}.ml-node{width:76px;height:70px;flex-shrink:0;border-radius:24px;border:4px solid white;background:#e8e9e8;color:#8e9290;box-shadow:0 5px 0 #cdcfce;font-size:29px}.is-current .ml-node{background:var(--ml-accent);color:#fff;box-shadow:0 6px 0 var(--ml-dark),0 0 0 7px var(--ml-soft)}.is-complete .ml-node{background:#e7f2e5;color:#427344;box-shadow:0 5px 0 #b9d6b5}.ml-path h3{font-size:18px;margin:5px 0 7px}.ml-path h3 small{font-size:11px;color:var(--ml-muted);margin-top:4px}.ml-path p{font-size:11px;color:var(--ml-muted);margin:0}.ml-path-label{font-size:8px;letter-spacing:.1em;font-weight:750;color:var(--ml-muted)}.is-current .ml-path-label{color:var(--ml-accent)}.ml-path-star{color:#bb8110;margin-left:auto;font-size:23px}.is-locked{opacity:.65}.ml-card{background:white;border:1px solid var(--ml-line);border-bottom-width:3px;border-radius:18px;padding:23px;margin-bottom:20px}.ml-card h2{font-size:21px;margin:13px 0}.ml-card>p{font-size:13px;color:var(--ml-muted)}.ml-card-icon{display:grid;place-items:center;width:43px;height:43px;border-radius:13px;background:#fff3d9;color:#a26e11;font-size:26px}.ml-review{background:var(--ml-soft)}.ml-review .ml-card-icon{background:white;color:var(--ml-accent)}.ml-goal-label{font-size:11px;color:var(--ml-muted);display:grid;gap:7px}.ml-week{display:flex;justify-content:space-between;margin:20px 0}.ml-week>div{display:grid;gap:7px;justify-items:center;font-size:9px;color:var(--ml-muted)}.ml-week b{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:#f1f1ed;font-size:14px}.ml-week .done b{background:var(--ml-accent);color:white}.ml-card .ml-fine{font-size:10px;margin-bottom:0}.ml-badges{display:grid;gap:20px;margin-top:23px}.ml-badge{display:flex;gap:13px;align-items:center;opacity:.5}.ml-badge.earned{opacity:1}.ml-badge>span{display:grid;place-items:center;width:38px;height:40px;background:#e9ecee;color:#5d6d7b;border-radius:12px;font-size:22px;flex-shrink:0}.ml-badge.earned>span{background:#fff0bf;color:#a87700}.ml-badge strong{font-size:12px;display:block}.ml-badge small{font-size:10px;color:var(--ml-muted);display:block;margin-top:4px}.ml-how{font-size:11px;color:var(--ml-muted);padding:5px 12px}.ml-how summary{cursor:pointer;min-height:40px}.ml-footer{text-align:center;color:var(--ml-muted);font-size:10px;padding:25px 20px;border-top:1px solid var(--ml-line)}.ml-footer p{margin:6px}.ml-lesson-top{max-width:900px;margin:20px auto 0;padding:20px;display:flex;align-items:center;gap:25px}.ml-lesson-top progress{flex:1;min-width:50px;height:14px;accent-color:var(--ml-accent)}.ml-lesson-top strong{font-size:14px;color:#a56c0e;white-space:nowrap}.ml-exercise{max-width:720px;min-height:65vh;margin:auto;padding:28px 24px 55px}.ml-exercise h1{font-size:28px;line-height:1.45;margin:22px 0 27px}.ml-choices{display:grid;gap:12px}.ml-choice{background:white;border:2px solid var(--ml-line);border-bottom-width:4px;border-radius:13px;padding:16px 18px;font-size:16px;color:var(--ml-ink);text-align:left;display:flex;gap:16px;align-items:center;line-height:1.5;min-height:60px}.ml-choice>span{width:27px;height:27px;display:grid;place-items:center;border:1px solid var(--ml-line);border-radius:7px;color:var(--ml-muted);font-size:12px;flex-shrink:0}.ml-choice b{margin-left:auto}.ml-choice.selected{background:var(--ml-soft);border-color:var(--ml-accent);color:var(--ml-accent)}.ml-choice.correct{background:#eff7ec;border-color:#81ad75;color:#35602c}.ml-choice.incorrect{background:#fff6e7;border-color:#d5b57a;color:#7d5b24}.ml-choice:disabled{opacity:1}.ml-check{margin-top:26px;display:flex;align-items:center;justify-content:space-between;gap:15px}.ml-check>p{font-size:13px;color:#966524;margin:0}.ml-feedback{margin-top:25px;background:#eef7e9;border:1px solid #c7deb9;border-radius:15px;padding:21px;color:#3d6231}.ml-feedback.retry{background:#fff6e7;border-color:#ead3a9;color:#78571e}.ml-feedback strong{display:block;font-size:17px}.ml-feedback strong>span{font-size:13px;white-space:nowrap}.ml-feedback p{font-size:14px;margin:12px 0 0;line-height:1.7}.ml-feedback details{font-size:13px;margin-top:15px}.ml-feedback summary{cursor:pointer;min-height:40px}.ml-passage{margin:0 0 20px;background:#f0f2f3;border:1px solid #e2e6e9;border-radius:14px;padding:22px;font-size:15px;line-height:1.85;color:#4c5b66}.ml-audio{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:20px;background:var(--ml-soft);border-radius:15px}.ml-audio label{display:flex;align-items:center;gap:8px;font-size:12px}.ml-audio select{width:auto}.ml-audio p{flex-basis:100%;font-size:12px;color:var(--ml-muted);margin:0}.ml-built{border:2px dashed var(--ml-line);background:white;padding:22px;min-height:110px;border-radius:14px;font-size:18px;line-height:1.6}.ml-pieces{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.ml-pieces .ml-choice{font-size:14px;min-height:46px;padding:10px 13px}.ml-pieces .ml-choice:disabled{opacity:.35}.ml-input-label{font-size:13px;display:block;margin:20px 0 8px}textarea{width:100%;font-size:17px;line-height:1.7;padding:16px;border:2px solid var(--ml-line);border-radius:13px;color:var(--ml-ink);resize:vertical}.ml-complete{max-width:760px;margin:45px auto 70px;text-align:center;padding:20px}.ml-trophy{display:grid;place-items:center;width:105px;height:105px;border-radius:30px;background:#fff0c4;color:#b78313;font-size:60px;margin:0 auto 27px;box-shadow:0 8px 0 #e8ce91;transform:rotate(-5deg);animation:pop .4s ease-out}.ml-complete h1{font-size:36px}.ml-complete>p:not(.ml-eyebrow){color:var(--ml-muted)}.ml-result-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:30px 0}.ml-result-stats>div{background:var(--ml-soft);border:1px solid var(--ml-line);border-radius:15px;padding:20px 10px}.ml-result-stats strong{display:block;color:var(--ml-accent);font-size:32px}.ml-result-stats span{font-size:12px;color:var(--ml-muted)}.ml-complete-actions{display:flex;gap:14px;justify-content:center;margin:30px 0}.ml-skip{position:absolute;left:-10000px}.ml-skip:focus{left:10px;top:10px;background:white;padding:14px;z-index:10}@keyframes pop{from{transform:scale(.8) rotate(-10deg)}to{transform:scale(1) rotate(-5deg)}}
@media(max-width:1100px){.ml-main{padding:20px 24px 50px}.ml-nav{margin:0 28px}.ml-layout{gap:26px;grid-template-columns:minmax(0,1fr) 280px}.ml-hero{padding:30px}.ml-hero-art{transform:scale(.8) rotate(-7deg)}.ml-stats>div{padding:0 13px}.ml-section-title{align-items:start}.ml-section-title>span{margin-top:22px}.ml-settings{gap:8px}.ml-settings label{min-width:0}.ml-settings select{font-size:14px;max-width:100%}}
@media(max-width:760px){.ml-top{padding:20px;gap:10px}.ml-top-actions{gap:0}.ml-top-actions>a{display:none}.ml-brand{font-size:15px}.ml-brand small{font-size:8px}.ml-nav{margin:0 20px;gap:22px;overflow:auto}.ml-nav a{font-size:12px}.ml-main{padding:14px 18px 40px}.ml-stats{gap:10px;margin-bottom:20px;padding:14px 0}.ml-stats>div{padding:0 8px;flex-wrap:wrap;gap:3px 6px}.ml-stats strong{font-size:20px}.ml-stats span{font-size:10px}.ml-stats span:not([aria-hidden]){flex-basis:100%}.ml-stats span[aria-hidden]{font-size:20px}.ml-stats progress{height:6px}.ml-layout{grid-template-columns:1fr}.ml-hero{grid-template-columns:1fr;padding:28px;position:relative;margin-bottom:29px}.ml-hero h1{font-size:38px}.ml-hero-art{position:absolute;top:25px;right:-100px;transform:scale(.5) rotate(-7deg);transform-origin:top center;opacity:.25;pointer-events:none}.ml-hero>div:first-child{position:relative;z-index:1}.ml-hero>div>p:not(.ml-eyebrow){font-size:14px}.ml-hero .ml-button{width:100%}.ml-hero-note{text-align:center}.ml-sidebar{display:grid;grid-template-columns:1fr 1fr;gap:16px}.ml-card{padding:20px;margin:0}.ml-sidebar>.ml-card:first-child{grid-column:1/-1}.ml-card h2{font-size:20px}.ml-goal-label{max-width:350px}.ml-week{justify-content:start;gap:20px}.ml-how{grid-column:1/-1}.ml-path{margin-bottom:10px}.ml-section-title h2{font-size:24px}.ml-path li{gap:22px;padding:20px 8px}.ml-path li:before{left:44px}.ml-path h3{font-size:18px}.ml-lesson-top{gap:12px;margin-top:5px;padding:15px 12px}.ml-lesson-top .ml-text{font-size:11px;padding:8px}.ml-lesson-top strong{font-size:12px}.ml-exercise{padding:22px 18px 35px}.ml-exercise h1{font-size:24px}.ml-choice{font-size:15px;padding:14px;gap:12px}.ml-check{flex-direction:column;align-items:stretch}.ml-check .ml-button{width:100%}.ml-check>p:empty{display:none}.ml-passage{padding:18px;font-size:14px}.ml-feedback{padding:18px}.ml-feedback strong{font-size:16px}.ml-complete{margin-top:25px}.ml-complete h1{font-size:30px}.ml-complete-actions{flex-direction:column}.ml-result-stats{gap:9px}.ml-result-stats strong{font-size:27px}.ml-result-stats span{font-size:10px}}
@media(max-width:400px){.ml-stats>div{padding:0 5px}.ml-stats{gap:5px}.ml-stats strong{font-size:18px}.ml-hero{padding:24px}.ml-hero h1{font-size:34px}.ml-settings{flex-wrap:wrap}.ml-sidebar{grid-template-columns:1fr}.ml-sidebar>.ml-card:first-child{grid-column:auto}.ml-nav{gap:16px}.ml-nav a{font-size:11px}.ml-section-title{flex-direction:column;gap:8px}.ml-section-title>span{margin:0}.ml-week{gap:16px}.ml-path p{font-size:10px}.ml-audio{padding:15px;gap:8px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
