/* V20: a centred catalogue and navigation shared by every student page. */
.ecosystem-shell{display:block;min-height:100dvh;background:#110e10;--header-height:106px}
.ecosystem-header{position:sticky;top:0;z-index:40;background:rgba(17,14,16,.96);backdrop-filter:blur(18px);border-bottom:1px solid #d1b18b21}
.ecosystem-header-inner{width:min(1540px,100%);min-height:106px;margin:auto;padding:20px 50px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:30px}
.ecosystem-brand{display:flex;flex-direction:column;align-items:center;gap:7px;justify-self:start;border:0;padding:0;background:none;cursor:pointer;color:#d1b18b}
.ecosystem-brand img{width:146px;height:auto;display:block}
.ecosystem-brand>span{font:italic 13px/1.2 var(--display)}
.ecosystem-nav{display:flex;align-items:center;justify-content:center;gap:5px;padding:5px;border:1px solid #d1b18b23;border-radius:30px;background:#1b151a}
.ecosystem-nav>button{display:flex;align-items:center;justify-content:center;gap:9px;min-height:42px;padding:10px 20px;border:0;border-radius:24px;background:none;color:#ab9aa4;font:400 12px/1.5 var(--sans);white-space:nowrap;cursor:pointer;transition:background .2s,color .2s}
.ecosystem-nav>button>svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.ecosystem-nav>button.active{background:#412734;color:#f0d8bd}
.ecosystem-nav>button:hover{color:#f4ece1;background:#32202a}
.ecosystem-account{justify-self:end;display:flex;align-items:center;gap:13px;padding:4px 0;border:0;background:none;color:#ddccd4;cursor:pointer}
.ecosystem-account>span:first-child{font-size:11px;text-align:right;line-height:1.5}
.ecosystem-account small{display:block;color:#99838f;font-size:9px;margin-top:2px}
.ecosystem-account .avatar{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;font-size:13px}
.ecosystem-shell>.main{width:min(1540px,100%);margin:auto;padding:0 50px 0;min-width:0}
.ecosystem-shell .page{width:100%;max-width:none;margin:auto;padding-top:10px}
.ecosystem-shell .skip-link{left:20px;z-index:60}
.ecosystem-shell .academy-footer{max-width:none;margin-top:65px;padding:28px 0 30px;align-items:center;font-size:10px}
.ecosystem-shell .academy-footer>div{display:flex;align-items:center;gap:24px}
.ecosystem-shell .academy-footer button{font:400 10px/1.6 var(--sans);background:none;border:0;padding:3px 0;color:#9d8894;cursor:pointer}
.ecosystem-shell .academy-footer button:hover{color:#dfc2a5}
.ecosystem-shell .academy-journey,.ecosystem-shell .lesson-page,.ecosystem-shell .academy-materials{max-width:1320px;margin-inline:auto}
.ecosystem-shell .lesson-page{padding-top:17px}
.ecosystem-shell .lesson-layout>.lesson-outline{top:128px;max-height:calc(100dvh - 154px)}
.ecosystem-shell #lesson-media-slot,.ecosystem-shell #lesson-activity,.ecosystem-shell #lesson-thermometer{scroll-margin-top:132px}
.ecosystem-shell .movement-course{max-width:1100px;margin-inline:auto}
.ecosystem-shell .movement-course .academy-page-heading>p{max-width:720px}
.ecosystem-shell .movement-course .academy-page-heading>.text-link{margin:2px 0 22px;display:flex;width:max-content}
.ecosystem-shell .movement-course .free-lessons-grid{max-width:none}
.ecosystem-shell .movement-course .free-lesson{max-width:100%;margin-bottom:12px}
.ecosystem-shell .movement-course .free-lesson>h2{font-size:23px;font-weight:400}
.ecosystem-shell .movement-course .free-lesson>p{font-size:12px;color:var(--muted)}
.ecosystem-shell .evolution-saved{max-width:1320px;margin:36px auto 0}
.evolution-saved .business-details{margin:0}
.evolution-community{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:26px 0 0;margin-top:28px;border-top:1px solid var(--line)}
.evolution-community h2{font:400 22px/1.4 var(--sans);letter-spacing:-.04em;margin:0 0 9px}
.evolution-community p{font-size:12px;line-height:1.9;color:var(--muted);margin:0;max-width:650px}
.evolution-community>.btn{flex-shrink:0}
@media(min-width:1600px){.ecosystem-shell>.main,.ecosystem-header-inner{padding-left:50px;padding-right:50px}}
@media(max-width:1100px){.ecosystem-header-inner{padding:20px 30px;gap:20px}.ecosystem-shell>.main{padding-inline:30px}.ecosystem-nav>button{padding-inline:15px}.ecosystem-account>span:first-child{display:none}.ecosystem-shell .lesson-layout{grid-template-columns:minmax(0,1fr) 260px}}
@media(max-width:1000px){.ecosystem-shell .lesson-layout{grid-template-columns:minmax(0,1fr)}.ecosystem-shell .lesson-layout>.lesson-outline{position:static;max-height:none}}
@media(max-width:760px){.ecosystem-shell{--header-height:136px}.ecosystem-header-inner{min-height:0;grid-template-columns:1fr auto;padding:15px 20px 12px;gap:15px}.ecosystem-brand{align-items:flex-start;gap:4px}.ecosystem-brand img{width:115px}.ecosystem-brand>span{font-size:11px;align-self:center}.ecosystem-account{grid-column:2;grid-row:1}.ecosystem-account .avatar{width:32px;height:32px;font-size:11px}.ecosystem-nav{grid-row:2;grid-column:1/-1;justify-self:center;width:min(460px,100%);padding:4px;gap:2px}.ecosystem-nav>button{flex:1;min-height:39px;padding:8px 10px;gap:6px;font-size:10px}.ecosystem-nav>button>svg{width:15px;height:15px}.ecosystem-shell>.main{padding:0 20px}.ecosystem-shell .page{padding-top:6px}.ecosystem-shell .academy-footer{margin-top:42px;padding:24px 0;align-items:start;gap:20px;font-size:8px}.ecosystem-shell .academy-footer>span{font-size:10px;line-height:1.7}.ecosystem-shell .academy-footer i{display:block;margin:4px 0 0;font-size:12px}.ecosystem-shell .academy-footer>div{flex-direction:column;align-items:flex-end;gap:8px}.ecosystem-shell .academy-footer button{font-size:9px}.ecosystem-shell #lesson-media-slot,.ecosystem-shell #lesson-activity,.ecosystem-shell #lesson-thermometer{scroll-margin-top:150px}.ecosystem-shell .lesson-page{padding-top:10px}.ecosystem-shell .movement-course .academy-page-heading{margin-top:20px}.ecosystem-shell .movement-course .academy-page-heading>.text-link{margin-bottom:22px}.ecosystem-shell .movement-course .academy-page-heading>p{font-size:13px;line-height:1.9}.evolution-community{flex-direction:column;align-items:start;gap:20px}.evolution-community h2{font-size:21px}}
@media(max-width:380px){.ecosystem-header-inner{padding-inline:14px}.ecosystem-shell>.main{padding-inline:14px}.ecosystem-nav>button{font-size:9px;padding-inline:8px;gap:5px}.ecosystem-nav>button>svg{width:14px;height:14px}}
@media(prefers-reduced-motion:reduce){.ecosystem-nav>button{transition:none}}

.movement-progress{display:block;margin-top:22px;color:#d1b18b;font-size:11px;line-height:1.8}.movement-completion{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-top:22px;padding-top:20px;border-top:1px solid var(--line)}.movement-completion>span{font-size:12px;color:var(--muted);line-height:1.8}.movement-completion>.btn{flex-shrink:0;font-size:11px}.movement-completion>.btn[aria-pressed="true"]{color:#b9c8ac;border-color:#b9c8ac50}@media(max-width:760px){.movement-completion{align-items:start;flex-direction:column;gap:15px}.movement-completion>.btn{width:100%}.movement-progress{font-size:11px}}

/* V21 compact catalogue frame. */
.ecosystem-shell{--header-height:88px}.ecosystem-header-inner{min-height:88px;padding-top:15px;padding-bottom:15px}.ecosystem-brand img{width:132px}.ecosystem-brand>span{font-size:12px}.ecosystem-nav{padding:4px}.ecosystem-nav>button{min-height:38px;font-size:11px;padding:8px 18px}.ecosystem-shell .page{padding-top:6px}.ecosystem-shell .lesson-layout>.lesson-outline{top:110px;max-height:calc(100dvh - 136px)}.ecosystem-shell #lesson-media-slot,.ecosystem-shell #lesson-activity,.ecosystem-shell #lesson-thermometer{scroll-margin-top:114px}@media(max-width:760px){.ecosystem-shell{--header-height:126px}.ecosystem-header-inner{min-height:0;padding-top:12px;padding-bottom:10px;gap:12px}.ecosystem-brand img{width:105px}.ecosystem-brand>span{font-size:10px}.ecosystem-nav>button{min-height:35px;font-size:10px;padding:8px 10px}.ecosystem-shell #lesson-media-slot,.ecosystem-shell #lesson-activity,.ecosystem-shell #lesson-thermometer{scroll-margin-top:140px}}@media(max-width:380px){.ecosystem-nav>button{font-size:9px;padding-inline:8px}}
