:root{--navy:#07387E;--blue:#204893;--yellow:#E9E809;--ink:#0B1A33;--muted:#4A5670;--line:#DCE1EC;--ground:#F5F7FB;--tint:#E8EEF9;--ondark:#D6E0F2;--footer:#0B1A33;--r:12px}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:var(--ink);background:#fff;line-height:1.5;-webkit-font-smoothing:antialiased}
h1,h2,h3{font-family:'Space Grotesk',Inter,sans-serif;line-height:1.1;margin:0}
a{color:var(--blue)}a:hover{color:var(--navy)}
img{max-width:100%}
.wrap{max-width:1240px;margin:0 auto;padding:0 32px}
@media (max-width:640px){.wrap{padding:0 18px}}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
:focus-visible{outline:3px solid var(--yellow);outline-offset:2px}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font:inherit;font-weight:600;font-size:15px;min-height:46px;padding:12px 22px;border-radius:var(--r);border:2px solid transparent;cursor:pointer;text-decoration:none;transition:transform .05s,filter .15s}
.btn:active{transform:translateY(1px)}
.btn:disabled{opacity:.6;cursor:not-allowed}
.btn-primary{background:var(--blue);color:#fff}.btn-primary:hover{filter:brightness(1.1);color:#fff}
.btn-accent{background:var(--yellow);color:var(--navy);font-weight:700}.btn-accent:hover{filter:brightness(.96);color:var(--navy)}
.btn-outline{background:#fff;color:var(--blue);border-color:var(--blue)}
.btn-ghost-dark{background:transparent;color:#fff;border-color:rgba(255,255,255,.45)}.btn-ghost-dark:hover{color:#fff;border-color:#fff}
.btn-sm{min-height:38px;padding:8px 14px;font-size:14px}
.btn-block{width:100%}

.site-head{background:var(--navy);color:#fff}
.nav{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;padding-top:16px;padding-bottom:16px}
.logo{display:flex;align-items:center;gap:10px;color:#fff;text-decoration:none;font-family:'Space Grotesk',sans-serif;font-weight:700;font-size:21px}
.logo:hover{color:#fff}
.mark{width:34px;height:34px;border-radius:8px;background:var(--yellow);color:var(--navy);display:flex;align-items:center;justify-content:center;font-size:16px}
.nav-links{display:flex;flex-wrap:wrap;gap:24px;font-size:15px}
.nav-links a{color:#fff;text-decoration:none}.nav-links a:hover,.nav-links a[aria-current=page]{color:var(--yellow)}
.nav-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.nav-actions .link{color:#fff;text-decoration:none;font-weight:600;padding:10px 12px}
@media (max-width:860px){.nav-links{order:3;width:100%;gap:18px}}

.hero{display:flex;flex-wrap:wrap;gap:56px;align-items:center;padding-top:64px;padding-bottom:96px}
.hero-copy{flex:1 1 520px;min-width:0}
.pill-badge{display:inline-block;background:rgba(233,232,9,.16);color:var(--yellow);font-weight:600;font-size:14px;padding:8px 14px;border-radius:999px;margin:0 0 20px}
.hero h1{font-size:clamp(38px,5.2vw,60px);letter-spacing:-.02em;margin-bottom:20px}
.hero p.lead{font-size:19px;color:var(--ondark);max-width:580px;margin:0 0 30px}
.cta-row{display:flex;flex-wrap:wrap;gap:14px}
.fine{font-size:14px;color:#B9C8E4;margin:22px 0 0}
.batch-card{flex:1 1 380px;min-width:0;background:#fff;color:var(--ink);border-radius:20px;padding:28px;box-shadow:0 24px 60px rgba(3,20,52,.35)}
.batch-card .row{display:flex;justify-content:space-between;gap:12px;padding:14px 16px;background:var(--ground);border-radius:12px;margin-bottom:10px}
.chip{display:inline-block;background:var(--yellow);color:var(--navy);font-size:13px;font-weight:700;padding:5px 10px;border-radius:8px}
.tag{display:inline-block;background:var(--tint);color:var(--navy);font-size:13px;font-weight:600;padding:5px 10px;border-radius:8px}

section.block{padding:96px 0}
.eyebrow{margin:0 0 10px;color:var(--blue);font-weight:700;font-size:14px;letter-spacing:.08em;text-transform:uppercase}
.block h2{font-size:clamp(30px,3.6vw,42px);color:var(--navy);margin-bottom:16px}
.sub{font-size:18px;color:var(--muted);max-width:680px;margin:0 0 44px}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:24px}
.card{border:1px solid var(--line);border-radius:16px;padding:28px;background:#fff}
.card h3{font-size:22px;margin:16px 0 10px}
.card p{margin:0;color:var(--muted)}
.card .meta{margin-top:12px;font-size:14px;color:var(--blue);font-weight:600}
.icon{width:48px;height:48px;border-radius:12px;background:var(--navy);display:flex;align-items:center;justify-content:center}
.ground{background:var(--ground)}
.steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:24px}
.steps li{background:#fff;border-radius:16px;padding:28px}
.steps li.dark{background:var(--navy);color:#fff}.steps li.dark p{color:var(--ondark)}
.num{display:inline-flex;width:44px;height:44px;border-radius:999px;background:var(--navy);color:var(--yellow);font-family:'Space Grotesk';font-weight:700;font-size:18px;align-items:center;justify-content:center}
.steps li.dark .num{background:var(--yellow);color:var(--navy)}
.steps h3{font-size:20px;margin:18px 0 8px;font-family:Inter}
.steps p{margin:0;color:var(--muted)}
.split{display:flex;flex-wrap:wrap;gap:56px;align-items:center}
.split>*{flex:1 1 440px;min-width:0}
.checks{list-style:none;padding:0;margin:0 0 30px;display:flex;flex-direction:column;gap:10px}
.checks li::before{content:"✓";color:var(--blue);font-weight:800;margin-right:10px}
.panel{background:var(--ground);border-radius:20px;padding:24px;display:flex;flex-direction:column;gap:14px}
.mini-job{background:#fff;border-radius:14px;padding:18px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;align-items:center}
.mini-job p{margin:0}.mini-job .t{font-weight:700}.mini-job .m{color:var(--muted);font-size:14px;margin-top:4px}
.dark-band{background:var(--navy);color:#fff}
.dark-band h2{color:#fff}.dark-band .eyebrow{color:var(--yellow)}
.plan{background:#fff;color:var(--ink);border-radius:18px;padding:32px;display:flex;flex-direction:column;gap:14px}
.plan .price{font-family:'Space Grotesk';font-size:34px;font-weight:700;color:var(--navy);margin:0}
.plan p{margin:0;color:var(--muted)}
.plan .btn{margin-top:auto}
.hire{background:var(--yellow);color:var(--navy);border-radius:24px;padding:56px;display:flex;flex-wrap:wrap;gap:28px;align-items:center;justify-content:space-between}
.hire h2{color:var(--navy);margin-bottom:10px}
@media (max-width:640px){.hire{padding:32px}}
.btn-navy{background:var(--navy);color:#fff}.btn-navy:hover{color:#fff;filter:brightness(1.15)}
footer.site-foot{background:var(--footer);color:#B9C8E4}
footer .wrap{display:flex;flex-wrap:wrap;gap:24px;justify-content:space-between;padding-top:44px;padding-bottom:44px;font-size:15px}
footer a{color:#B9C8E4}footer a:hover{color:#fff}
footer .brand{color:#fff;font-family:'Space Grotesk';font-weight:700;font-size:20px;margin:0 0 6px}

.form-page{background:var(--ground);min-height:70vh;padding:56px 0}
.form-card{max-width:520px;margin:0 auto;background:#fff;border-radius:20px;padding:36px;box-shadow:0 10px 30px rgba(7,56,126,.08)}
.form-card h1{font-size:30px;color:var(--navy);margin-bottom:8px}
.form-card .intro{color:var(--muted);margin:0 0 24px}
.field{display:flex;flex-direction:column;gap:6px;margin-bottom:16px}
.field label{font-weight:600;font-size:14px}
.field input,.field select,.field textarea{font:inherit;font-size:16px;padding:12px 14px;border:1px solid #B9C3D6;border-radius:10px;background:#fff;color:var(--ink);width:100%}
.field textarea{min-height:96px;resize:vertical}
.field .hint{font-size:13px;color:var(--muted)}
.two{display:grid;grid-template-columns:1fr 1fr;gap:14px}
@media (max-width:520px){.two{grid-template-columns:1fr}}
.notice{padding:14px 16px;border-radius:12px;font-size:15px;margin:0 0 16px}
.notice.ok{background:#E6F4EA;color:#14532D}
.notice.err{background:#FDECEC;color:#8A1C1C}
.notice.info{background:var(--tint);color:var(--navy)}
.switch{margin-top:18px;font-size:15px;color:var(--muted);text-align:center}

.app{background:var(--ground);min-height:80vh;padding:32px 0 64px}
.app h1{font-size:clamp(26px,3vw,34px);color:var(--navy)}
.app .lead-muted{color:var(--muted);margin:6px 0 0}
.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px;margin:28px 0}
.stat{background:#fff;border-radius:16px;padding:22px}
.stat .l{margin:0;color:var(--muted);font-size:14px}
.stat .v{margin:8px 0 4px;font-family:'Space Grotesk';font-size:32px;font-weight:700;color:var(--navy)}
.stat .n{margin:0;font-size:14px;color:var(--muted)}
.stat.dark{background:var(--navy);color:#fff}.stat.dark .l,.stat.dark .n{color:var(--ondark)}.stat.dark .v{color:var(--yellow);font-size:24px}
.cols{display:flex;flex-wrap:wrap;gap:24px;align-items:flex-start}
.cols>.main{flex:2 1 520px;min-width:0}
.cols>.side{flex:1 1 300px;min-width:0}
.box{background:#fff;border-radius:16px;padding:26px;margin-bottom:24px}
.box h2{font-family:Inter;font-size:20px;margin-bottom:14px}
.box-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.box-head h2{margin:0}
.lesson{display:flex;gap:14px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line)}
.lesson:last-child{border-bottom:0}
.lesson input{width:22px;height:22px;accent-color:var(--blue);flex:none}
.lesson .t{flex:1;min-width:0}
.lesson .t small{display:block;color:var(--muted)}
.progress{height:10px;background:var(--tint);border-radius:999px;overflow:hidden}
.progress>span{display:block;height:100%;background:var(--blue);border-radius:999px}
.track-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid var(--line);flex-wrap:wrap}
.track-row:last-child{border-bottom:0}
.tip{background:var(--yellow);color:var(--navy);border-radius:12px;padding:16px;font-size:14px}
.empty{color:var(--muted);padding:20px 0}

.feed-head{background:var(--navy);color:#fff;padding:32px 0 36px}
.feed-head h1{color:#fff;font-size:clamp(28px,3.4vw,40px)}
.feed-head p{color:var(--ondark);margin:8px 0 0}
.searchbar{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}
.searchbar input{flex:1 1 320px;min-width:0;font:inherit;font-size:16px;padding:14px 16px;border:0;border-radius:12px}
.filters{display:flex;flex-wrap:wrap;gap:10px;margin:24px 0}
.filter{font:inherit;font-size:15px;font-weight:600;padding:10px 18px;border-radius:999px;border:2px solid var(--line);background:#fff;color:var(--navy);cursor:pointer;min-height:44px}
.filter[aria-pressed=true]{background:var(--navy);border-color:var(--navy);color:#fff}
.job{background:#fff;border-radius:16px;padding:22px;display:flex;flex-wrap:wrap;gap:18px;align-items:flex-start;margin-bottom:14px}
.job .logo-sq{width:52px;height:52px;border-radius:12px;background:var(--tint);color:var(--navy);font-family:'Space Grotesk';font-weight:700;font-size:20px;display:flex;align-items:center;justify-content:center;flex:none}
.job .info{flex:1 1 300px;min-width:0}
.job h3{font-family:Inter;font-size:18px;margin:0 0 6px}
.job .m{color:var(--muted);font-size:15px;margin:0 0 10px}
.job .src{font-size:13px;color:var(--muted);margin:10px 0 0}
.job .acts{display:flex;flex-direction:column;gap:10px;min-width:190px}
@media (max-width:520px){.job .acts{min-width:0;width:100%}}

.quiz-head{background:var(--navy);color:#fff;padding:18px 0}
.quiz-head .top{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.quiz-head h1{color:#fff;font-size:24px}
.timer{background:var(--yellow);color:var(--navy);font-family:'Space Grotesk';font-weight:700;font-size:20px;padding:8px 16px;border-radius:10px}
.quiz-bar{height:8px;background:rgba(255,255,255,.18);border-radius:999px;margin-top:14px;overflow:hidden}
.quiz-bar>span{display:block;height:100%;background:var(--yellow)}
.scenario{background:var(--ground);border-radius:14px;padding:20px;margin:0 0 20px}
.opt{width:100%;font:inherit;text-align:left;display:flex;gap:16px;align-items:center;padding:16px 18px;border-radius:14px;border:2px solid var(--line);background:#fff;color:var(--ink);cursor:pointer;margin-bottom:12px;font-size:16px}
.opt .k{width:34px;height:34px;flex:none;border-radius:999px;background:var(--ground);color:var(--navy);font-weight:700;display:flex;align-items:center;justify-content:center}
.opt[aria-checked=true]{border-color:var(--blue);background:var(--tint);font-weight:600}
.opt[aria-checked=true] .k{background:var(--blue);color:#fff}
.qnav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.qnav button{font:inherit;font-weight:600;height:44px;border-radius:10px;border:1px solid var(--line);background:#fff;color:var(--muted);cursor:pointer}
.qnav button.ans{background:var(--blue);border-color:var(--blue);color:#fff}
.qnav button.cur{background:var(--yellow);border:2px solid var(--navy);color:var(--navy)}
.result{text-align:center;padding:40px 20px}
.result .score{font-family:'Space Grotesk';font-size:72px;font-weight:700;color:var(--navy);margin:10px 0}
.spinner{padding:40px 0;color:var(--muted);text-align:center}

.toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:50;box-shadow:0 10px 30px rgba(7,56,126,.2);max-width:90vw}
.dot-spin{display:inline-block;width:14px;height:14px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:spin .8s linear infinite;vertical-align:-2px}
@keyframes spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.dot-spin{animation:none}}
.code-input{font-size:26px!important;letter-spacing:8px;text-align:center;font-family:'Space Grotesk',monospace!important}
.steps-bar{display:flex;gap:6px;margin-bottom:14px}.steps-bar span{flex:1;height:6px;border-radius:99px;background:var(--line)}.steps-bar span.on{background:var(--blue)}
fieldset.field{border:0;padding:0;margin:0 0 18px}fieldset.field legend{font-weight:600;font-size:14px;margin-bottom:8px}
.choice-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}
.choice{display:flex;gap:10px;align-items:flex-start;border:2px solid var(--line);border-radius:12px;padding:12px 14px;cursor:pointer;background:#fff}
.choice:has(input:checked){border-color:var(--blue);background:var(--tint)}
.choice input{width:18px;height:18px;accent-color:var(--blue);margin-top:2px;flex:none}
.choice-card small{display:block;color:var(--muted);font-size:13px;margin-top:2px}
.track-pick{display:flex;flex-direction:column;gap:10px}
.summary{list-style:none;padding:0;margin:0;border:1px solid var(--line);border-radius:12px}
.summary li{display:flex;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid var(--line);flex-wrap:wrap}.summary li:last-child{border-bottom:0}.summary span{color:var(--muted)}
.wizard-nav{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}
.prose{max-width:760px}.prose h1{font-size:clamp(28px,3.4vw,40px);color:var(--navy);margin:0 0 10px}.prose h2{font-family:Inter;font-size:20px;margin:28px 0 10px;color:var(--navy)}.prose p,.prose li{line-height:1.7}
.faq details{background:#fff;border-radius:12px;padding:16px 20px;margin-bottom:10px}.faq summary{font-weight:600;cursor:pointer}.faq p{margin:10px 0 0;color:var(--muted)}
.tabs{display:flex;flex-wrap:wrap;gap:6px;margin:18px 0 22px;border-bottom:2px solid var(--line)}
.tabs a{padding:10px 14px;text-decoration:none;font-weight:600;color:var(--muted);border-bottom:3px solid transparent;margin-bottom:-2px}
.tabs a[aria-current=page]{color:var(--navy);border-bottom-color:var(--blue)}
.table-wrap{overflow-x:auto;background:#fff;border-radius:16px}
.table-wrap table{width:100%;border-collapse:collapse;font-size:14px;min-width:760px}
.table-wrap th{text-align:left;background:var(--tint);color:var(--navy);padding:12px 14px;font-size:13px;white-space:nowrap}
.table-wrap td{padding:12px 14px;border-top:1px solid var(--line);vertical-align:top}
.table-wrap select,.table-wrap input[type=date]{font:inherit;font-size:14px;padding:6px 8px;border:1px solid #B9C3D6;border-radius:8px;background:#fff}
.switch-label{display:flex;gap:6px;align-items:center;white-space:nowrap}.switch-label input{width:18px;height:18px;accent-color:var(--blue)}
.inline-form{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end}.inline-form .field{margin:0;flex:1 1 160px}
.next-lesson{display:flex;gap:18px;align-items:center;flex-wrap:wrap;background:var(--ground);border-radius:14px;padding:18px}
.next-lesson .thumb{width:96px;height:68px;border-radius:10px;background:var(--blue);color:var(--yellow);display:flex;align-items:center;justify-content:center;font-size:24px;flex:none}
.add-track{margin-top:12px}.add-track summary{cursor:pointer;font-weight:600;color:var(--blue);padding:8px 0}
.lesson label.t{cursor:pointer}
.lb-wrap{display:flex;flex-direction:column;gap:18px;margin-top:22px}
.lb{background:#fff;border-radius:16px;padding:22px 24px;line-height:1.65;font-size:16px}
.lb p{margin:0 0 12px}.lb p:last-child{margin-bottom:0}
.lb ul,.lb ol{margin:0 0 12px;padding-left:22px}
.lb-h{font-family:'Space Grotesk',sans-serif;font-size:21px;color:var(--navy);margin:0 0 10px}
.lb-eyebrow{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--blue);margin:0 0 6px}
.lb-muted{color:var(--muted);font-size:14px}
.lb-sub{font-weight:700;margin:14px 0 6px}
.lb-intro{background:var(--navy);color:#fff}.lb-intro .lb-h{color:var(--yellow)}
.lb-example{border-left:6px solid var(--blue)}
.lb-callout{border-left:6px solid var(--yellow);background:#FFFDE6}
.lb-callout.mistake{border-left-color:#C2410C;background:#FFF4ED}.lb-callout.mistake .lb-eyebrow{color:#9A3412}
.lb-callout.warn{border-left-color:#B45309;background:#FFFBEB}
.lb-ct{display:block;margin-bottom:6px}
.lb-practice{border:2px solid var(--blue)}
.lb-reflect{background:var(--tint)}
.lb-ticks{list-style:none;padding:0}
.lb-ticks li{position:relative;padding-left:28px;margin-bottom:8px}
.lb-ticks li::before{content:'✓';position:absolute;left:0;top:0;width:20px;height:20px;border-radius:6px;background:var(--yellow);color:var(--navy);font-weight:700;font-size:13px;display:flex;align-items:center;justify-content:center}
.lb-steps{list-style:none;padding:0;display:flex;flex-direction:column;gap:14px}
.lb-steps li{display:flex;gap:14px;align-items:flex-start}
.lb-n{flex:none;width:32px;height:32px;border-radius:999px;background:var(--navy);color:#fff;font-weight:700;display:flex;align-items:center;justify-content:center}
.lb-steps li>div>strong{display:block;margin-bottom:2px}
.lb-check-intro[hidden],.lb-qs[hidden]{display:none}
.lb-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px}
.lb-card{font:inherit;min-height:110px;border-radius:14px;border:2px solid var(--line);background:var(--tint);padding:14px;cursor:pointer;text-align:center;color:var(--ink)}
.lb-card .f{font-weight:700;font-size:17px;color:var(--navy)}.lb-card .b{display:none;font-size:15px}
.lb-card[aria-pressed=true]{background:#fff;border-color:var(--blue)}.lb-card[aria-pressed=true] .f{display:none}.lb-card[aria-pressed=true] .b{display:block}
.lb-check{border:2px dashed var(--blue)}
.lb-check-intro{display:flex;flex-wrap:wrap;gap:14px;align-items:center;justify-content:space-between}
.lb-q{border:0;padding:0;margin:0 0 20px}
.lb-q legend{font-weight:700;margin-bottom:10px;font-size:16px}
.lb-opt{display:block;width:100%;text-align:left;font:inherit;background:#fff;border:2px solid var(--line);border-radius:12px;padding:12px 14px;margin-bottom:8px;cursor:pointer;color:var(--ink);min-height:48px}
.lb-opt:hover{border-color:var(--blue)}
.lb-opt.right{border-color:#15803D;background:#F0FDF4}.lb-opt.wrong{border-color:#C2410C;background:#FFF7ED}
.lb-fb{font-size:15px}.lb-fb.ok{color:#14532D}.lb-fb.no{color:#7C2D12}
.lb-done{margin:24px 0 12px;display:flex;justify-content:center}
.lb-nav{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:12px}
.lesson-page .wrap{max-width:820px}
.lesson .t a{color:var(--navy)}
@media (max-width:600px){.lb{padding:18px}.lb-h{font-size:19px}}
.linkbtn{font:inherit;font-size:inherit;background:none;border:0;padding:0;color:var(--blue);text-decoration:underline;cursor:pointer}
.ml-app .wrap{max-width:1240px}
.ml-head{margin-bottom:20px}.ml-head h1{margin:4px 0 6px}
.ml-kicker{margin:0 0 6px;font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--blue)}
.ml-row{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:14px}
.ml-continue{display:flex;flex-wrap:wrap;gap:26px;align-items:center;background:#fff;border-radius:20px;padding:22px;margin-bottom:20px;box-shadow:0 8px 24px rgba(7,56,126,.06)}
.ml-continue.ml-done{background:var(--navy);color:#fff}.ml-continue.ml-done .ml-kicker{color:var(--yellow)}.ml-continue.ml-done h2{color:#fff}.ml-continue.ml-done .ml-next{color:var(--ondark)}
.ml-cont-art{flex:0 1 340px;min-width:240px;aspect-ratio:16/9;border-radius:14px;overflow:hidden;position:relative;display:block}
.ml-thumb{display:block;width:100%;height:100%}
.ml-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:58px;height:58px;border-radius:999px;background:var(--yellow);color:var(--navy);display:flex;align-items:center;justify-content:center;font-size:22px;box-shadow:0 8px 20px rgba(0,0,0,.2)}
.ml-cont-body{flex:1 1 340px;min-width:0}
.ml-cont-body h2{font-family:'Space Grotesk',sans-serif;font-size:26px;color:var(--navy);margin:0 0 8px}
.ml-next{margin:0 0 12px;color:var(--muted)}.ml-next strong{color:var(--ink)}
.ml-sub{margin:8px 0 0;font-size:14px;color:var(--muted)}
.ml-continue .progress{max-width:520px}
.ml-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:16px;margin-bottom:24px}
.ml-stat{background:#fff;border-radius:16px;padding:18px 20px}
.ml-stat .l{margin:0;color:var(--muted);font-size:14px}.ml-stat .v{margin:6px 0 2px;font-family:'Space Grotesk',sans-serif;font-size:28px;font-weight:700;color:var(--navy)}.ml-stat .v span{font-size:15px;color:var(--muted);font-weight:500}.ml-stat .n{margin:0;font-size:13px;color:var(--muted)}
.ml-goal{background:var(--navy);color:#fff;display:flex;gap:14px;align-items:center}.ml-goal .l{color:var(--ondark)}.ml-goal .v{color:var(--yellow)}.ml-goal .v span{color:var(--ondark)}.ml-goal a{color:#fff;font-size:14px}
.ml-ring{flex:none}
.ml-days{display:grid;grid-template-columns:repeat(14,1fr);gap:4px;margin-top:10px}
.ml-days span{aspect-ratio:1;border-radius:4px;background:var(--tint)}.ml-days span.on{background:var(--blue)}.ml-days span.today{outline:2px solid var(--yellow);outline-offset:1px}
.ml-sec{margin-bottom:26px}.ml-sec .box-head h2{font-size:20px}
.ml-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:18px}
.ml-card{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 6px 18px rgba(7,56,126,.06)}
.ml-card-art{display:block;aspect-ratio:320/170;position:relative}
.ml-badge{position:absolute;left:12px;bottom:10px;background:#fff;color:var(--navy);font-size:12px;font-weight:700;padding:4px 10px;border-radius:999px}
.ml-card-b{padding:16px;display:flex;flex-direction:column;gap:8px;flex:1}
.ml-card-b h3{margin:0;font-size:17px;font-family:Inter,sans-serif}.ml-card-b h3 a{color:var(--ink);text-decoration:none}.ml-card-b h3 a:hover{color:var(--blue);text-decoration:underline}
.ml-card-b .btn{margin-top:auto}
.ml-meta{margin:0;font-size:13px;color:var(--muted)}
.ml-sum{margin:0;font-size:14px;color:var(--muted);line-height:1.5}
.ml-status{margin:0;font-size:13px;font-weight:600;color:var(--blue)}.ml-status.done{color:#166534}
.ml-crumb{font-size:14px;margin:0 0 12px;color:var(--muted)}.ml-crumb a{font-weight:600}
.ml-hero{background:var(--navy);color:#fff;border-radius:22px;padding:30px;display:flex;flex-wrap:wrap;gap:28px;align-items:center;justify-content:space-between;margin-bottom:24px}
.ml-hero h1{color:#fff;margin:0 0 8px}.ml-hero .ml-kicker{color:var(--yellow)}.ml-hero-b{flex:1 1 420px;min-width:0}.ml-hero-b>p{color:var(--ondark);margin:0 0 12px;line-height:1.6;max-width:640px}
.ml-facts{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}.ml-facts li{background:rgba(255,255,255,.12);border-radius:999px;padding:6px 12px;font-size:13px}
.ml-next-l{margin:12px 0 0;color:var(--ondark);font-size:14px}.ml-next-l strong{color:#fff}
.ml-hero-ring{text-align:center;color:#fff}.ml-hero-ring p{margin:6px 0 0;color:var(--ondark);font-size:14px}
.ml-week{background:#fff;border-radius:14px;margin-bottom:10px;border:1px solid var(--line)}
.ml-week>summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 18px;cursor:pointer;min-height:56px}
.ml-week>summary::-webkit-details-marker{display:none}
.ml-wk-t strong{display:block;font-size:16px;color:var(--navy)}.ml-wk-t small{color:var(--muted);font-size:13px}
.ml-chev{font-size:20px;color:var(--blue);transition:transform .15s}.ml-week[open] .ml-chev{transform:rotate(180deg)}
.ml-goal-t{margin:0 18px 8px;font-size:14px;color:var(--muted)}
.ml-lessons{list-style:none;margin:0;padding:0 8px 10px}
.ml-lesson{display:flex;align-items:center;gap:12px;padding:12px 10px;border-radius:10px;text-decoration:none;color:var(--ink);min-height:56px}
.ml-lesson:hover{background:var(--tint)}
.ml-st{flex:none;width:26px;height:26px;border-radius:999px;border:2px solid var(--line);display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700;color:#fff}
.ml-lesson.done .ml-st,.pl-outline a.done .ml-st{background:#15803D;border-color:#15803D}
.ml-lesson.next .ml-st{border-color:var(--blue);color:var(--blue);font-size:10px}
.ml-ty{flex:none;width:32px;height:32px;border-radius:8px;background:var(--tint);color:var(--navy);display:flex;align-items:center;justify-content:center}
.ml-lt{flex:1;min-width:0}.ml-lt strong{display:block;font-weight:600;font-size:15px}.ml-lt small{color:var(--muted);font-size:13px}
.ml-pill{flex:none;background:var(--yellow);color:var(--navy);font-size:12px;font-weight:700;padding:4px 10px;border-radius:999px}
.ml-empty{padding:12px;color:var(--muted)}
.ml-how{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px;font-size:14px;color:var(--muted)}.ml-how strong{color:var(--ink)}
.pl-app .wrap{max-width:1280px;padding-bottom:90px}
.pl-top{display:flex;align-items:center;gap:14px;background:var(--navy);color:#fff;border-radius:16px;padding:12px 16px;margin-bottom:18px;flex-wrap:wrap}
.pl-back{width:44px;height:44px;border-radius:10px;display:flex;align-items:center;justify-content:center;color:#fff;text-decoration:none;font-size:30px;line-height:1;background:rgba(255,255,255,.1)}
.pl-back:hover{background:rgba(255,255,255,.2);color:#fff}
.pl-top-t{flex:1 1 200px;min-width:0}.pl-top-t p{margin:0;font-size:13px;color:var(--ondark)}.pl-top-t strong{font-size:16px}
.pl-top-p{flex:0 1 260px;min-width:160px}.pl-top-p .progress{background:rgba(255,255,255,.2)}.pl-top-p .progress>span{background:var(--yellow)}.pl-top-p small{color:var(--ondark);font-size:12px}
.pl-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:24px;align-items:start}
.pl-side{position:sticky;top:16px;max-height:calc(100vh - 32px);overflow:auto;background:#fff;border-radius:16px}
.pl-outline>summary{list-style:none;padding:14px 16px;font-weight:700;color:var(--navy);display:flex;justify-content:space-between;align-items:center;cursor:pointer;min-height:48px}
.pl-outline>summary::-webkit-details-marker{display:none}.pl-outline>summary small{color:var(--muted);font-weight:500}
.pl-wk{padding:0 8px 8px}.pl-wk-h{margin:6px 8px;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.pl-wk ol{list-style:none;margin:0;padding:0}
.pl-outline a{display:flex;gap:10px;align-items:center;padding:9px 8px;border-radius:10px;text-decoration:none;color:var(--ink);font-size:14px;min-height:44px}
.pl-outline a:hover{background:var(--tint)}.pl-outline a.cur{background:var(--tint);font-weight:700;color:var(--navy);box-shadow:inset 3px 0 0 var(--blue)}
.pl-outline a span:nth-child(2){flex:1;min-width:0}.pl-outline a small{color:var(--muted)}
.pl-outline .ml-st{width:22px;height:22px;font-size:11px}
.pl-main{min-width:0;max-width:820px}.pl-main h1{margin:4px 0 8px}
.pl-notes{background:#fff;border-radius:16px;padding:6px 18px;margin-top:18px}
.pl-notes>summary{cursor:pointer;font-weight:700;color:var(--navy);min-height:44px;display:flex;align-items:center;gap:8px}.pl-notes>summary small{color:var(--muted);font-weight:500}
.pl-notes textarea{width:100%;font:inherit;font-size:15px;border:1px solid var(--line);border-radius:10px;padding:10px;margin:4px 0 14px}
.pl-donemsg{margin:16px 0 0;color:#166534;font-weight:600}
.pl-complete{background:var(--navy);color:#fff;border-radius:18px;padding:24px;margin-top:20px}.pl-complete h2{color:#fff;font-family:'Space Grotesk',sans-serif;margin:0 0 8px}.pl-complete p{color:var(--ondark)}.pl-complete .ml-kicker{color:var(--yellow)}
.pl-bar{position:fixed;left:0;right:0;bottom:0;background:#fff;border-top:1px solid var(--line);z-index:30;box-shadow:0 -6px 20px rgba(7,56,126,.08)}
.pl-bar-in{max-width:1280px;margin:0 auto;padding:12px 20px;display:flex;justify-content:space-between;gap:12px}
.pl-bar .btn-accent,.pl-bar .btn-outline:last-child{min-width:220px}
@media (max-width:960px){.pl-layout{grid-template-columns:1fr}.pl-side{position:static;max-height:none}.pl-bar .btn-accent,.pl-bar .btn-outline:last-child{min-width:0;flex:1}.pl-hide-sm{display:none}}
@media (max-width:600px){.ml-cont-body h2{font-size:22px}.ml-hero{padding:22px}.ml-stat .v{font-size:24px}}
@media (max-width:600px){.ml-stats{grid-template-columns:1fr 1fr;gap:12px}.ml-stat{padding:14px}.ml-goal{grid-column:1/-1}}
