@font-face{font-family:Inter;src:url('/assets/inter.woff2') format('woff2');font-weight:100 900;font-display:swap}
:root{color-scheme:dark;--bg:#111214;--rail:#141517;--panel:#1a1c1e;--panel-hover:#202324;--line:#292c2e;--ink:#f3f4f2;--muted:#a2a7a4;--dim:#777d79;--lime:#b2fe2f;--tint:#293718;--bar:68px;--rail-width:258px;--radius:16px;font-family:Inter,Arial,sans-serif;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-size:14px;line-height:1.5}button,input,textarea{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{color:inherit;cursor:pointer}button:disabled{cursor:wait;opacity:.65}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--lime);outline-offset:3px}img{display:block;max-width:100%}h1,h2,h3,p{margin:0}svg{flex:none}.ico{width:20px;height:20px;vertical-align:middle}.sr-only,.skip:not(:focus){position:absolute;clip:rect(0,0,0,0);clip-path:inset(50%);width:1px;height:1px;overflow:hidden}.skip{position:fixed;z-index:10;top:10px;left:10px;padding:8px;background:var(--lime);color:#10140a}
.topbar{height:var(--bar);position:sticky;top:0;z-index:5;border-bottom:1px solid var(--line);background:#141517}.top-inner{height:100%;display:flex;align-items:center;gap:16px;padding:0 28px;max-width:1800px;margin:auto}.brand{display:inline-flex;align-items:center;gap:14px;flex:none}.brand span{color:#dce1d9;font-weight:600;font-size:17px;letter-spacing:-.03em;border-left:1px solid #3a3d39;padding-left:14px}.top-spacer{flex:1}.header-search{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:10px;background:#1d1f20;padding:8px 10px 8px 12px;color:var(--muted);width:min(270px,28vw);text-align:left}.header-search:hover,.icon-button:hover{background:var(--panel-hover);color:var(--ink)}.header-search .ico{width:17px;height:17px}.header-search kbd{margin-left:auto;flex:none;font-family:inherit;font-size:11px;color:#b2b6b4;border:1px solid #35383a;border-radius:5px;padding:1px 5px}.icon-button{width:36px;height:36px;display:inline-grid;place-items:center;border:1px solid var(--line);background:transparent;border-radius:9px;color:var(--muted);flex:none}.team-label{color:#b9c1b6;font-size:12px;white-space:nowrap;display:inline-flex;align-items:center;gap:7px;margin-left:3px}.team-label span{height:6px;width:6px;border-radius:50%;background:var(--lime)}.mobile-menu,.nav-shade{display:none}
.layout{max-width:1800px;margin:auto;display:grid;grid-template-columns:var(--rail-width) minmax(0,1fr);min-height:calc(100svh - var(--bar))}.sidebar{background:var(--rail);border-right:1px solid var(--line);height:calc(100dvh - var(--bar));position:sticky;top:var(--bar);overflow:auto;scrollbar-width:thin;scrollbar-color:#353932 transparent;padding:24px 15px 26px}.nav-section{display:grid;gap:2px}.nav-caption{font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--dim);font-weight:700;padding:0 11px;margin:23px 0 10px}.nav-item{width:100%;display:grid;grid-template-columns:20px minmax(0,1fr) auto;gap:10px;align-items:center;text-align:left;min-height:39px;padding:7px 10px;color:#b6bbb7;border-radius:8px}.nav-item .ico{width:17px;height:17px;color:#858f84}.nav-item .nav-num{font-size:11px;color:#8c938d;min-width:14px;text-align:right;font-variant-numeric:tabular-nums}.nav-item:hover{background:#222524;color:var(--ink)}.nav-item[aria-current]{background:#27331c;color:#ddffaf;font-weight:650}.nav-item[aria-current] .ico,.nav-item[aria-current] .nav-num{color:var(--lime)}.nav-item span:nth-child(2){line-height:1.26}.nav-fine{color:var(--dim);padding:18px 11px 0;font-size:11px}
#main{min-width:0;padding:34px clamp(24px,4vw,58px) 52px;outline:none}.main-wrap{max-width:1240px;margin:auto}.loading,.empty{padding:44px 15px;text-align:center;color:var(--muted)}.empty{border:1px dashed var(--line);border-radius:var(--radius)}.empty h2{color:var(--ink);margin-bottom:7px}.empty p{max-width:420px;margin:auto}.empty .button{margin-top:15px}.crumb{display:flex;align-items:center;gap:7px;flex-wrap:wrap;color:#afb6af;margin:0 0 19px;font-size:13px}.crumb a:hover{color:var(--lime)}.crumb .ico{width:13px;height:13px;color:#717971}
.hero{min-height:330px;position:relative;isolation:isolate;overflow:hidden;border:1px solid #353b2e;background:radial-gradient(ellipse at 73% 74%,#253317,#171b16 53%,#171918 76%);border-radius:22px;display:flex;align-items:center}.hero-image{position:absolute;right:0;top:0;bottom:0;width:60%;z-index:-1;background:linear-gradient(120deg,#181e18,#101610) center right/cover no-repeat;mask-image:linear-gradient(90deg,transparent,#000 33%,#000)}.hero::before{content:"";position:absolute;z-index:-1;inset:0;background:repeating-linear-gradient(0deg,transparent,transparent 31px,#c6e9a309 32px),repeating-linear-gradient(90deg,transparent,transparent 31px,#c6e9a309 32px);mask-image:linear-gradient(90deg,#0009,transparent 55%,#0007)}.hero-body{padding:37px clamp(26px,5vw,57px);width:100%}.hero-kicker{color:#c6e7a7;font-weight:650;display:flex;align-items:center;gap:9px;margin-bottom:13px}.hero-kicker .ico{height:17px;width:17px}.hero h1{font-size:clamp(38px,5.2vw,74px);font-weight:730;line-height:1;letter-spacing:-.064em}.hero p{color:#c7cdc4;font-size:16px;max-width:365px;margin:17px 0 25px}.hero-actions{display:flex;gap:10px;flex-wrap:wrap}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:10px 15px;border:1px solid #363b35;border-radius:9px;background:#1d211e;color:var(--ink);font-weight:650;white-space:nowrap;min-height:42px}.button:hover{background:#2a3028;border-color:#535b50}.button .ico{height:17px;width:17px}.button.primary{color:#17200d;background:var(--lime);border-color:var(--lime)}.button.primary:hover{background:#c6ff66}.button.quiet{background:transparent}.button.small{min-height:34px;padding:5px 10px;font-size:12px}
.section{margin-top:36px}.section-top,.page-title,.toolbar{display:flex;justify-content:space-between;align-items:end;gap:14px;margin-bottom:16px}.section-top h2,.section h2{font-size:25px;font-weight:690;letter-spacing:-.035em}.section-top p,.page-title p{color:var(--muted);margin-top:4px}.page-title h1,.lesson-title{font-size:clamp(28px,4vw,46px);font-weight:730;letter-spacing:-.045em;line-height:1.14}.page-title{padding-bottom:8px}.page-title p{max-width:680px}.section-link{display:inline-flex;align-items:center;gap:6px;color:#c6e2ad;white-space:nowrap;font-weight:600;font-size:13px;background:none;border:0;padding:5px 0}.section-link:hover{color:var(--lime)}.section-link .ico{width:16px;height:16px}.category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.category-card{display:flex;align-items:flex-start;gap:12px;position:relative;padding:17px 17px 15px;background:var(--panel);border:1px solid var(--line);border-radius:14px;min-height:94px;min-width:0;transition:background .15s,border .15s,transform .15s}.category-card:hover{background:#20251e;border-color:#4b6342;transform:translateY(-2px)}.category-card .category-icon{height:38px;width:38px;border-radius:10px;background:#2a3720;border:1px solid #35472a;color:#c1fb84;display:grid;place-items:center;flex:none}.category-card .category-icon .ico{width:19px;height:19px}.category-card strong{display:block;font-size:14px;font-weight:680;line-height:1.26;padding-top:1px}.category-card small{display:block;margin-top:6px;color:var(--muted);font-size:12px}.category-card>.ico{width:15px;height:15px;color:#76846f;margin-left:auto;padding-top:1px}
.toolbar{align-items:center;border-bottom:1px solid var(--line);padding-bottom:11px}.toolbar small,.list-count{color:var(--muted)}.search-field{display:flex;align-items:center;gap:10px;border:1px solid #353a36;background:#1a1d1c;color:var(--muted);border-radius:10px;padding:0 12px;min-width:min(100%,285px)}.search-field input{color:var(--ink);width:100%;background:none;border:0;min-height:39px;outline:none}.search-field:focus-within{outline:2px solid var(--lime);outline-offset:2px}.search-field .ico{width:17px;height:17px}
.lesson-list{display:grid;gap:7px}.lesson-row{display:flex;align-items:stretch;gap:3px;background:var(--panel);border:1px solid var(--line);border-radius:12px;min-width:0}.lesson-row:hover{background:#222623;border-color:#39443a}.lesson-row-main{min-width:0;flex:1;padding:11px 12px;display:grid;grid-template-columns:41px minmax(0,1fr) auto;gap:12px;align-items:center}.row-icon{width:40px;height:37px;background:#242b21;border-radius:8px;display:grid;place-items:center;color:#c7f791}.row-icon .ico{width:17px;height:17px}.row-text{min-width:0}.row-text strong{display:block;line-height:1.35;font-size:14px;font-weight:640;overflow-wrap:anywhere}.row-text small{color:var(--muted);display:block;margin-top:2px;font-size:12px}.time{color:var(--muted);white-space:nowrap;font-variant-numeric:tabular-nums;font-size:12px}.row-bookmark{align-self:center;margin-right:9px;border:none;min-width:34px;width:34px;height:34px}.is-saved{color:var(--lime)!important}.is-saved .bookmark-mark{fill:#b2fe2f45}.lesson-row.is-current{border-color:#526d39;background:#1c2717}.local-progress{color:#c2efa0}.more-line{margin-top:13px}
.lesson-title{margin-bottom:19px}.lesson-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,290px);gap:20px;align-items:start}.lesson-column{min-width:0}.video-frame{background:#090a0a;border:1px solid #2b312a;border-radius:16px;overflow:hidden}.video-frame video{width:100%;aspect-ratio:16/9;display:block;background:#080909}.video-problem{padding:12px;color:#f1cf9a}.lesson-tools{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:13px}.lesson-tools .button{min-height:37px}.lesson-tools .duration{margin-left:auto}.sequence,.feedback{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:15px;min-width:0}.sequence h2,.feedback h2{font-size:17px;letter-spacing:-.02em;line-height:1.3}.sequence p,.feedback p{color:var(--muted);margin:5px 0 12px;font-size:13px}.sequence .lesson-list{max-height:500px;overflow:auto;scrollbar-width:thin}.sequence .lesson-row{background:transparent}.sequence .lesson-row.is-current{background:#26331d}.sequence .lesson-row-main{padding:9px 8px;grid-template-columns:24px minmax(0,1fr);gap:8px}.sequence .row-icon{width:24px;height:26px}.sequence .row-text strong{font-size:12px}.sequence .time{display:none}.feedback{margin-top:17px;padding:18px}.feedback form{display:grid;gap:10px}.feedback label{color:#dce1da;font-size:13px;font-weight:600;display:grid;gap:5px}.feedback input,.feedback textarea{border:1px solid #3b4438;border-radius:8px;background:#141715;color:var(--ink);padding:9px 11px;width:100%;outline-offset:2px}.feedback textarea{resize:vertical;min-height:83px}.feed-bottom,.feed-top{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.feed-top>label{flex:1;min-width:90px}.feed-top>.button{align-self:end}.feed-status{min-height:1em;color:#c9efaa;font-size:13px;max-width:100%;overflow-wrap:anywhere}.feed-status.error{color:#f0aa99}.lesson-nav{margin-top:16px;display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap}
dialog{width:min(610px,calc(100% - 24px));max-height:min(650px,85dvh);margin: min(14vh,120px) auto 0;background:#191c1a;color:var(--ink);border:1px solid #41483e;border-radius:15px;padding:0;box-shadow:0 20px 80px #000a}dialog::backdrop{background:#020302bb}.search-dialog-head{position:sticky;top:0;background:#1a1d1a;display:flex;gap:11px;align-items:center;padding:13px;border-bottom:1px solid #343c31}.search-dialog-head span{color:#cce2be}.search-dialog-head input{flex:1;min-width:0;color:var(--ink);background:none;border:none;padding:4px;font-size:16px}.quick-results{padding:9px}.quick-results>p{padding:11px 9px;color:var(--muted)}.quick-link{display:flex;gap:11px;align-items:center;padding:10px;border-radius:8px}.quick-link:hover{background:#283225}.quick-link>span:first-child{color:var(--lime);font-variant-numeric:tabular-nums;font-size:12px;min-width:30px}.quick-link strong,.quick-link small{display:block}.quick-link small{color:var(--muted);font-size:12px}.quick-link:last-child{border-top:1px solid var(--line)}#toast{position:fixed;bottom:20px;right:20px;z-index:8;max-width:calc(100vw - 40px);padding:11px 15px;border-radius:10px;background:#283623;border:1px solid #496144;color:#e4f4dd;box-shadow:0 7px 30px #0008}
@media(max-width:1200px){:root{--rail-width:226px}.category-card{padding:14px;gap:9px}.category-card .category-icon{height:34px;width:34px}}
@media(max-width:1040px){.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lesson-grid{grid-template-columns:1fr}.sequence .lesson-list{max-height:350px}.hero-image{width:67%}}
@media(max-width:760px){:root{--bar:59px}.layout{grid-template-columns:minmax(0,1fr)}.top-inner{padding:0 13px;gap:10px}.mobile-menu{display:inline-grid}.team-label{display:none}.header-search{width:auto;padding:8px;min-height:36px}.header-search-label,.header-search kbd{display:none}.header-saved{display:none}.brand{gap:9px}.brand span{padding-left:9px}.sidebar{z-index:7;display:none;position:fixed;inset:var(--bar) auto 0 0;width:min(300px,85vw);height:auto}.sidebar.is-open{display:block}.nav-shade:not([hidden]){display:block;position:fixed;inset:var(--bar) 0 0;z-index:6;background:#0009;border:0}.hero{min-height:270px}.hero-body{padding:24px}.hero p{font-size:14px}.hero-image{opacity:.55;width:83%;mask-image:linear-gradient(90deg,transparent,#000 50%)}#main{padding:21px 15px 38px}.section{margin-top:26px}.section-top h2,.section h2{font-size:22px}.category-card{min-height:84px;padding:12px 10px;gap:8px}.category-card .category-icon{height:28px;width:28px}.category-card .category-icon .ico{height:15px;width:15px}.category-card>.ico{display:none}.category-card strong{font-size:13px}.category-card small{font-size:11px}}
@media(max-width:390px){.hero h1{font-size:36px}.hero-body{padding:19px}.lesson-row-main{grid-template-columns:31px minmax(0,1fr) auto;gap:8px;padding:9px}.row-icon{width:31px;height:31px}.toolbar{align-items:start;flex-direction:column}.search-field{width:100%}.category-card{padding:10px 7px;gap:6px}}
.sidebar{overflow:hidden}.sidebar nav{display:flex;flex-direction:column;height:100%}.sidebar nav>.nav-section:first-child,.sidebar .nav-caption{flex:none}.category-navigation{position:relative;display:flex;flex-direction:column;overflow:auto;min-height:0;scrollbar-width:thin;scrollbar-color:#353932 transparent;padding-bottom:4px}.category-navigation>.nav-item{flex:none}
.admin-box{max-width:820px}.admin-box select{padding:9px 11px;border-radius:8px;border:1px solid #3b4438;background:#141715;color:var(--ink);width:100%;min-height:40px}.admin-box .feed-top>label{min-width:180px}.admin-list{display:grid;gap:10px;max-width:820px}.admin-list article{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:16px}.admin-list h2{font-size:16px}.admin-list h2 a:hover{color:var(--lime)}.admin-meta{color:var(--muted);margin:4px 0 8px;font-size:12px}.admin-message{white-space:pre-wrap;overflow-wrap:anywhere}#next-feedback{margin-top:12px}[hidden]{display:none!important}
.path-card{min-width:0;display:flex;flex-direction:column;gap:8px;background:linear-gradient(140deg,#222a1e,#191d19 77%);border:1px solid #34402e;padding:18px;border-radius:14px}.path-card:hover{background:#283023;border-color:#557446}.path-card strong{font-weight:690;font-size:16px;line-height:1.25}.path-card>span:nth-of-type(2),.path-card small,.path-count{color:#b5bdb2}.path-card small{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-top:auto;padding-top:6px}.path-card small .ico{color:var(--lime);width:16px;height:16px}.path-icon{color:var(--lime);margin-bottom:4px}.path-count{margin:0 0 10px;font-size:13px}.catalog-tools{gap:8px;flex-wrap:wrap;justify-content:flex-start}.catalog-tools .search-field{flex:1;min-width:min(100%,216px)}.catalog-tools select{min-height:41px;max-width:min(230px,100%);border-radius:9px;border:1px solid #353a36;background:#1a1d1c;padding:6px 9px;color:var(--ink);font:inherit}.catalog-tools .list-count{margin-left:auto;padding:0 4px}.catalog-tools #reset-filters{padding-inline:5px}
@media(max-width:760px){.hero-image{opacity:.33;right:-12%;width:81%;background-size:auto 95%;mask-image:linear-gradient(90deg,transparent,#000 44%)}}
@media(max-width:560px){.path-grid{grid-template-columns:minmax(0,1fr)}.path-card{padding:14px}.catalog-tools .search-field{flex-basis:100%;min-width:0}.catalog-tools select{max-width:calc(50% - 4px);flex:1;min-width:0}.catalog-tools{flex-direction:row;align-items:center}.catalog-tools .list-count{margin-left:auto}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
.lesson-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.lesson-nav:empty{display:none}.lesson-step{border:1px solid var(--line);background:var(--panel);border-radius:12px;padding:11px 14px;min-width:0;display:flex;flex-direction:column;gap:4px}.lesson-step:hover{background:var(--panel-hover);border-color:#4b5e41}.lesson-step span{font-size:12px;font-weight:650;color:#c7eea7}.lesson-step strong{font-size:14px;line-height:1.35;overflow-wrap:anywhere}.next-step{grid-column:2}.next-step:only-child{grid-column:1/-1}.feedback summary{cursor:pointer;font-size:16px;font-weight:680;letter-spacing:-.02em}.feedback summary::marker{color:var(--lime)}.sequence .row-text strong{font-size:14px}
@media(max-width:760px){.mobile-menu,.header-search{width:44px;height:44px;min-height:44px}.header-search{justify-content:center}.mobile-menu{border-color:transparent}.nav-item{min-height:44px}.lesson-tools .button,.feedback summary,.feedback .feed-top>.button{min-height:44px}.feedback summary{align-content:center}.feedback:not([open]){padding-block:8px}.lesson-nav{grid-template-columns:1fr}.next-step{grid-column:1;grid-row:1}.previous-step{grid-row:2}.lesson-step{min-height:54px}}
.video-frame{position:relative}.video-cover{position:absolute;inset:0;width:100%;display:flex;align-items:center;border:0;text-align:left;padding:0 clamp(22px,6%,56px);background:radial-gradient(ellipse at 30% 70%,#233019,#141a14 61%,#0b0e0a);color:var(--ink)}.video-cover::before{position:absolute;inset:0;content:"";background:linear-gradient(120deg,#181e18,#101610) right center/auto 128% no-repeat;mask-image:linear-gradient(90deg,transparent 29%,#000 65%);opacity:.87}.video-cover:hover .video-cover-play,.video-cover:focus-visible .video-cover-play{background:#c2ff60;box-shadow:0 0 36px #b2fe2f4d}.video-cover:focus-visible{outline-offset:-4px}.video-cover-inner{position:relative;display:flex;align-items:center;gap:13px}.video-cover-play{display:grid;place-items:center;width:49px;height:49px;border-radius:50%;background:var(--lime);color:#151e0b;transition:background .15s,box-shadow .15s}.video-cover-play .ico{fill:currentColor;width:21px;height:21px}.video-cover-inner strong{font-size:clamp(14px,2.5vw,22px);font-weight:690}
@media(max-width:430px){.video-cover::before{opacity:.66;mask-image:linear-gradient(90deg,transparent 36%,#000 80%)}.video-cover-inner{gap:9px}}
@media(max-width:480px){
  .hero{display:block;min-height:0;border-radius:19px;background:radial-gradient(ellipse at 100% 4%,#27351c,#171a17 65%)}
  .hero-image{top:0;bottom:auto;right:0;width:min(100%,270px);height:143px;opacity:.97;background-size:cover;background-position:center 43%;mask-image:linear-gradient(90deg,transparent,#000 37%),linear-gradient(180deg,#000 72%,transparent);mask-composite:intersect}
  .hero-body{padding:124px 18px 20px}
  .hero-kicker{position:absolute;top:20px;left:18px;max-width:46%;color:#d0e8bb;font-size:12px}
  .hero h1{font-size:clamp(31px,9.2vw,44px);letter-spacing:-.058em}
  .hero p{margin:11px 0 17px;line-height:1.45}
  .hero-actions .button{min-height:45px;white-space:normal}
  .category-grid{grid-template-columns:minmax(0,1fr)}
  .category-card{align-items:center;min-height:58px;padding:10px 12px;gap:10px}
  .category-card .category-icon{height:32px;width:32px}
  .category-card strong{font-size:14px;padding:0}
  .category-card small{margin-top:3px;font-size:12px}
  .category-card>.ico{display:block}
  .home-categories .category-card:nth-child(n+7){display:none}
  .path-card strong{font-size:16px}
  .section-link{min-height:44px}
  .feedback:not([open]){min-height:56px}
}
@media(max-width:350px){.hero-actions{display:grid;grid-template-columns:1fr}.hero p{font-size:13px}.hero-body{padding-inline:15px}}

:root{--bg:#0a0c0b;--rail:#121513;--panel:#141714;--panel-hover:#191d18;--line:#2a302a;--ink:#f1f4ef;--muted:#aab1a7;--dim:#8f978d;--bar:72px;--radius:18px}
body{background:var(--bg)}
.topbar{background:#0b0e0c;border-color:#242923}
.top-inner{max-width:1510px;padding-inline:clamp(20px,4vw,58px);gap:13px}
.brand{gap:11px;min-height:44px}.brand span{padding-left:11px;color:#cdd7cb;font-weight:620}
.top-nav{display:flex;align-items:center;gap:26px;margin-left:34px;height:100%;white-space:nowrap}
.top-nav a{height:100%;display:flex;align-items:center;position:relative;color:#a7afa6;font-weight:570}
.top-nav a:hover,.top-nav a[aria-current]{color:#f1f5ef}
.top-nav a[aria-current]::after{position:absolute;content:"";height:2px;background:var(--lime);inset:auto 0 -1px;border-radius:99px;box-shadow:0 -3px 14px #b2fe2f38}
.header-search{background:#151915;min-height:42px;width:clamp(148px,19vw,248px);border-radius:12px}
.header-saved,.mobile-menu{width:42px;height:42px}.mobile-menu{display:inline-grid}
.layout{display:block;min-height:calc(100dvh - var(--bar));max-width:1510px}
#main{padding:30px clamp(22px,4vw,58px) 72px}
.main-wrap{max-width:1370px}
.sidebar{display:none;position:fixed;z-index:8;inset:var(--bar) 0 0 auto;width:min(365px,93vw);height:auto;padding:15px 16px 24px;background:#101410;border:0;border-left:1px solid var(--line);box-shadow:-24px 0 90px #0006}
.sidebar.is-open{display:block}
.sidebar .nav-item{min-height:44px;border-radius:10px}
.nav-shade:not([hidden]){display:block;position:fixed;z-index:7;inset:var(--bar) 0 0;border:0;background:#030503ad}
.dock,.discovery-search{display:none}
.button{border-radius:10px;text-align:center;white-space:normal}.button.primary{box-shadow:0 1px 0 #e1ff9144 inset}
.section-top{align-items:end;gap:13px;margin-bottom:17px}
.section-top h2,.section h2{font-size:clamp(24px,3.1vw,41px);letter-spacing:-.046em;line-height:1.06;font-weight:720}
.section-top p{font-size:14px;line-height:1.4;margin-top:8px;color:#aab1a7}
.section-link{color:#cddbbd;padding:6px 0}.section-link .ico{color:var(--lime)}
.opening{position:relative;isolation:isolate;min-height:clamp(415px,38vw,550px);overflow:hidden;border:1px solid #2d3829;border-radius:25px;display:flex;align-items:center;background:radial-gradient(ellipse at 65% 78%,#1f2a19 0%,#131713 49%,#0f1310 74%)}
.opening-art{position:absolute;inset:0 0 0 auto;width:76%;z-index:-1;background:linear-gradient(120deg,#181e18,#101610) center right/cover no-repeat;mask-image:linear-gradient(90deg,transparent 1%,#000 44%);opacity:.96}
.opening::before{position:absolute;inset:0;content:"";z-index:-1;background:linear-gradient(90deg,#101510 1%,#111611c4 36%,transparent 61%),linear-gradient(0deg,#101410b5,transparent 33%);pointer-events:none}
.opening-copy{padding:clamp(26px,5.2vw,80px);width:min(64%,755px)}
.opening-label{letter-spacing:.115em;text-transform:uppercase;color:#c5d6bf;font-size:12px;font-weight:690}
.opening h1{font-size:clamp(69px,8vw,125px);font-weight:760;letter-spacing:-.068em;line-height:.9;margin:20px 0 24px;text-wrap:balance}
.opening h1 span{display:block;color:var(--lime);letter-spacing:-.064em}
.opening-lead{max-width:375px;font-size:clamp(14px,1.3vw,17px);line-height:1.48;color:#c8d1c4}
.opening-actions{margin-top:26px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.opening-actions .button{min-height:48px;padding-inline:16px}
.opening-actions .button.quiet{background:#111810aa;color:#dbe7d7;border-color:#424d3d}
.opening-actions .button.quiet:hover{background:#253321}
.opening-meta,.opening-resume{margin-top:26px;color:#a9b5a5;font-size:13px}
.opening-meta{display:flex;align-items:center;gap:16px}.opening-meta span+span{border-left:1px solid #465043;padding-left:16px}
.opening-meta strong{color:#f2f5ef;font-weight:690}
.opening-resume{max-width:420px;color:#d8e9cf;text-wrap:pretty}
.anthology{margin-top:clamp(24px,4vw,56px)}
.path-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.story-tile,.path-hall{--story-image:linear-gradient(120deg,#181e18,#101610);position:relative;isolation:isolate;overflow:hidden}
.story-trading{--story-image:linear-gradient(120deg,#181e18,#101610)}.story-support{--story-image:linear-gradient(120deg,#181e18,#101610)}
.story-tile{display:flex;flex-direction:column;gap:0;min-height:300px;padding:0;border:1px solid #30382d;border-radius:18px;background:#141915;transition:background .17s,border-color .17s,transform .17s}
.story-tile:hover{background:#1b231a;border-color:#78986a;transform:translateY(-3px)}
.story-art{position:absolute;inset:0 0 auto;height:184px;background:#0e120f var(--story-image) center 47%/cover no-repeat;z-index:-1;mask-image:linear-gradient(180deg,#000 54%,transparent)}
.story-copy{margin-top:136px;padding:12px 55px 22px 20px;min-width:0}
.story-copy small{display:block;padding:0;margin:0 0 7px;color:#c6dbb4;font-size:12px}
.story-copy strong{display:block;font-size:clamp(17px,1.78vw,26px);letter-spacing:-.044em;line-height:1.1;overflow-wrap:anywhere}
.story-copy p{margin-top:8px;line-height:1.42;color:#abb7a7;font-size:13px}
.story-open{position:absolute;right:16px;bottom:18px;width:32px;height:32px;display:grid;place-items:center;border-radius:50%;border:1px solid #414d3d;color:#d0eebb}
.story-open .ico{width:17px}
.story-tile:hover .story-open{background:var(--lime);color:#17240f;border-color:var(--lime)}
.home-categories{margin-top:clamp(31px,4vw,61px)}
.home-categories .category-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.category-card{background:#111511;border-color:#293129;min-height:84px}
.category-card strong{font-size:15px;line-height:1.24}
.category-card .category-icon{background:#202a1d;border-color:#324430}
.category-card:hover{background:#1a2418;border-color:#526b47}
.route-page,.learning-page{max-width:1030px}
.path-hall{border:1px solid #34432f;border-radius:21px;background:radial-gradient(ellipse at 80% 30%,#27381e,#101610 70%);padding:clamp(22px,5vw,60px)}
.path-hall .story-art{inset:0 0 0 auto;width:55%;height:auto;mask-image:linear-gradient(90deg,transparent,#000 55%);background-size:cover}
.path-hall-copy{position:relative;max-width:540px}
.path-hall h1{font-size:clamp(29px,5.7vw,68px);line-height:1;letter-spacing:-.065em;text-wrap:balance}
.path-hall p{margin:13px 0 21px;color:#c0cdbd}
.route-index{margin-top:28px}.route-index span{color:var(--muted)}
.learning-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.learning-stats a{position:relative;min-height:114px;display:grid;align-content:center;gap:3px;border:1px solid #344330;background:#141d13;border-radius:15px;padding:17px;color:#bfccb8}
.learning-stats a:hover{background:#222d1c;border-color:#6c845e}.learning-stats strong{font-size:32px;color:var(--lime);line-height:1}
.learning-stats .ico{position:absolute;right:14px;bottom:16px;width:16px;color:var(--lime)}
.learning-empty{margin-top:24px}
#main .lesson-upcoming{border-style:dashed;background:#121610;cursor:default}
#main .lesson-upcoming .row-icon{color:#a2b69a;background:#222c20}#main .lesson-upcoming .row-text strong{color:#c5cec2}
#main .lesson-upcoming .upcoming-tag{color:#c4d5ae;border:1px solid #3c4835;background:#202a19;border-radius:6px;padding:4px 6px;font-size:11px}
#search-dialog{background:#141914;border-color:#3d4d37;border-radius:16px}
.search-dialog-head{padding:15px;background:#171e17}
.search-suggestions{display:flex;gap:8px;flex-wrap:wrap;padding:8px}
.search-suggestions p{width:100%;color:var(--muted);margin-bottom:2px;font-size:13px}
.search-suggestions button{padding:8px 10px;background:#20291e;color:#e1ebdd;border:1px solid #34452e;border-radius:8px;min-height:42px}
.search-suggestions button:hover{background:#2b3926}.search-suggestions .ico{width:15px;height:15px;margin-right:7px;color:#b2d9a2}
@media(max-width:1100px){.top-nav{gap:17px;margin-left:17px}.opening-copy{width:67%}.story-copy{padding-right:45px}.story-open{right:11px}}
@media(max-width:810px){.top-nav{display:none}.opening h1{font-size:clamp(56px,10vw,78px)}.opening-copy{width:72%}.path-grid{gap:10px}.story-tile{min-height:270px}.story-art{height:154px}.story-copy{margin-top:116px;padding-left:14px}.story-open{width:28px;height:28px;bottom:12px}}
@media(max-width:640px){
  :root{--bar:62px}
  .top-inner{padding-inline:15px;gap:8px}.brand{gap:9px}.brand span{padding-left:9px;font-size:16px}.header-saved{display:none}
  .top-inner .mobile-menu{display:inline-grid;place-items:center;min-width:44px;width:44px;min-height:44px;height:44px;padding:0;border-color:#283129}
  .top-inner .header-search{display:none}
  #main{padding:13px 15px calc(80px + env(safe-area-inset-bottom,0px))}
  .dock{position:fixed;z-index:6;inset:auto 0 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:4px 6px calc(4px + env(safe-area-inset-bottom,0px));background:#111611f5;border-top:1px solid #354032;backdrop-filter:blur(16px)}
  .dock a,.dock button{color:#afbbae;min-height:49px;display:grid;gap:1px;place-items:center;align-content:center;min-width:0;border:0;background:transparent;font-size:10px;font-weight:640;white-space:nowrap;padding:3px}
  .dock [aria-current]{color:var(--lime)}.dock .ico{width:20px;height:20px}
  .discovery-search{display:flex;width:100%;gap:9px;align-items:center;text-align:left;min-height:47px;border:1px solid #364330;border-radius:11px;margin:0 0 11px;padding:8px 12px;background:#151d14;color:#c7d3c3;font-size:13px}
  .discovery-search .ico{color:#c3eaae;width:17px;height:17px}.discovery-search .ico:last-child{margin-left:auto}
  .opening{min-height:0;display:block;border-radius:19px;background:radial-gradient(ellipse at 85% 8%,#23341c,#101610 73%)}
  .opening::before{display:none}
  .opening-art{inset:0 0 auto auto;width:100%;height:162px;background-position:right 51%;mask-image:linear-gradient(90deg,transparent,#000 44%),linear-gradient(180deg,#000 71%,transparent);mask-composite:intersect}
  .opening-copy{width:100%;padding:125px 17px 18px}
  .opening-label{position:absolute;top:18px;left:17px;max-width:43%;font-size:10px;line-height:1.45;letter-spacing:.085em}
  .opening h1{font-size:clamp(38px,11vw,61px);letter-spacing:-.074em;margin:0 0 11px;line-height:.95}
  .opening h1 span{display:inline}
  .opening-lead{font-size:14px;max-width:330px;line-height:1.42}
  .opening-actions{margin-top:17px;gap:6px}.opening-actions .button{min-height:44px;padding-inline:10px;font-size:12px}
  .opening-meta,.opening-resume{margin-top:16px;font-size:12px}.opening-meta span+span{padding-left:12px}.opening-meta{gap:12px}
  .section-top p{margin-top:6px;font-size:13px}
  .section-link{min-height:44px}
  .path-grid{grid-template-columns:minmax(0,1fr);gap:9px}
  .story-tile{min-height:140px;display:flex;justify-content:center;background:#151c15}
  .story-art{inset:0 0 0 auto;width:58%;height:auto;mask-image:linear-gradient(90deg,transparent,#000 67%);background-position:57% center}
  .story-copy{margin:0;padding:15px 11px 15px 15px;width:75%;position:relative}
  .story-copy small{font-size:11px}.story-copy strong{font-size:19px}.story-copy p{color:#bdc8b8;font-size:12px;max-width:32ch}
  .story-open{right:11px;bottom:11px;background:#152015b2}
  .home-categories .category-grid,.category-grid:not(.path-grid){grid-template-columns:minmax(0,1fr)}
  .category-card{min-height:67px;padding:10px;align-items:center}.category-card strong{font-size:14px}
  .category-card .category-icon{height:36px;width:36px}.category-card>.ico{display:block}
  .path-hall{padding:21px 15px}.path-hall .story-art{opacity:.55;width:65%}
  .nav-shade:not([hidden]){bottom:0}
  #search-dialog{margin:8px auto 0;max-height:90dvh}
  #main .lesson-upcoming .upcoming-tag{font-size:10px;padding:3px 4px}
}
@media(max-width:355px){.opening h1{font-size:36px}.opening-art{height:150px}.opening-copy{padding:114px 13px 15px}.opening-label{left:13px}.story-copy strong{font-size:17px}.story-copy p{font-size:11px}.opening-actions .button{gap:5px}}
@media(prefers-reduced-motion:reduce){.story-tile,.story-open{transition:none!important}}

/* Catalog and search results share the curriculum's graphite and lime palette. */
.catalog-story {
  --story-bg: #0a0c0b;
  --story-panel: #131614;
  --story-edge: #292e28;
  --story-muted: #9ba297;
  --story-lime: #b2fe2f;
  width: 100%;
  min-width: 0;
}

.catalog-crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--story-muted);
  font-size: 12px;
  line-height: 1.5;
  margin-block: 0 17px;
}
.catalog-crumb a:hover { color: #f3f5f0; }
.catalog-crumb .ico { width: 13px; height: 13px; }
.catalog-crumb [aria-current] { color: #d9e0d4; }

.catalog-intro {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(165px, .8fr);
  align-items: center;
  min-height: 222px;
  overflow: hidden;
  border: 1px solid #30392c;
  border-radius: 22px;
  background:
    radial-gradient(ellipse 60% 125% at 96% 16%, #273520 0%, transparent 95%),
    linear-gradient(122deg, #151a15, var(--story-panel) 52%);
}
.catalog-intro-copy { padding: clamp(24px, 4vw, 52px); }
.catalog-intro h1 {
  margin: 0;
  max-width: 830px;
  font-size: clamp(32px, 4.2vw, 64px);
  line-height: 1.01;
  letter-spacing: -.058em;
  font-weight: 800;
  text-wrap: balance;
  overflow-wrap: anywhere;
  color: #f2f5f0;
}
.catalog-intro p {
  max-width: 56ch;
  margin: 14px 0 0;
  color: #bac6b6;
  line-height: 1.55;
  font-size: clamp(14px, 1.5vw, 16px);
}
.catalog-scope {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  width: fit-content;
  margin-top: 20px;
  font-size: 12px;
  color: #b4bdb0;
}
.catalog-scope strong { font-weight: 700; color: #d4efb5; }
.catalog-scope span { display: inline-flex; align-items: center; gap: 5px; }
.catalog-scope .ico { width: 15px; height: 15px; }
.catalog-scope-progress {
  margin-top: 10px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 9px;
  color: #a8b3a4;
  font-size: 12px;
}
.catalog-scope-progress progress {
  width: 64px;
  height: 4px;
  accent-color: var(--story-lime);
  border: 0;
  border-radius: 100px;
  background: #313b31;
}
.catalog-scope-progress progress::-webkit-progress-bar { background: #313b31; border-radius: 100px; }
.catalog-scope-progress progress::-webkit-progress-value { background: var(--story-lime); border-radius: 100px; }
.catalog-scope-progress progress::-moz-progress-bar { background: var(--story-lime); border-radius: 100px; }
.catalog-intro-art {
  position: relative;
  display: grid;
  align-self: stretch;
  place-items: center;
  min-height: 152px;
  overflow: hidden;
}
.catalog-intro-art::before {
  content: "";
  position: absolute;
  inset: -44% -42% -56% -22%;
  opacity: .8;
  background:
    radial-gradient(ellipse at center, #9eff3514 0%, transparent 59%),
    repeating-radial-gradient(ellipse at center, transparent 0 21px, #b2fe2f15 22px 23px, transparent 24px 44px);
  transform: rotate(-18deg);
  mask-image: radial-gradient(ellipse at center, #000 38%, transparent 70%);
}
.catalog-intro-symbol {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(98px, 12vw, 150px);
  aspect-ratio: 1;
  border: 1px solid #5d774b;
  border-radius: 23%;
  transform: translate(6%, -2%) rotate(-12deg);
  background: linear-gradient(140deg, #344330 0%, #20291f 46%, #171e17 100%);
  color: var(--story-lime);
  box-shadow: 0 0 38px #8bff2222, inset 0 0 24px #b2fe2f0e, 13px 17px 0 -6px #161d15;
}
.catalog-intro-symbol::before, .catalog-intro-symbol::after {
  content: "";
  position: absolute;
  inset: 7px;
  pointer-events: none;
  border: 1px solid #a2e86c2a;
  border-radius: 21%;
}
.catalog-intro-symbol::after { inset: 15px; border-color: #a2e86c12; }
.catalog-intro-symbol .ico {
  width: 41%;
  height: 41%;
  transform: rotate(12deg);
  filter: drop-shadow(0 0 12px #9dff2a63);
}

.catalog-story .catalog-tools {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 10px;
  margin: clamp(16px, 2vw, 25px) 0 0;
  padding: 0;
  border: 0;
}
.catalog-facets { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 8px; }
.catalog-search, .catalog-select {
  position: relative;
  min-width: 0;
  color: #aab5a7;
  border: 1px solid var(--story-edge);
  border-radius: 12px;
  background: #141715;
}
.catalog-search {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-inline: 16px;
}
.catalog-search .ico { flex: 0 0 auto; width: 19px; height: 19px; color: var(--story-lime); }
.catalog-search input {
  width: 100%;
  min-width: 0;
  min-height: 55px;
  padding: 0;
  outline: none;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #f2f5f0;
  font: inherit;
  font-size: 15px;
}
.catalog-search input::placeholder { color: #9ba597; }
.catalog-search:focus-within, .catalog-select:focus-within {
  border-color: #83ab61;
  outline: 1px solid var(--story-lime);
  outline-offset: 2px;
}
.catalog-select {
  display: grid;
  grid-template-rows: auto auto;
  align-content: center;
  padding: 7px 11px;
}
.catalog-select > span {
  padding-inline: 0;
  margin-bottom: 1px;
  color: #aeb9aa;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.3;
}
.catalog-story .catalog-select select {
  width: 100%;
  min-width: 0;
  min-height: 24px;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  outline: none;
  border-radius: 0;
  background: transparent;
  color: #e6ebe3;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.catalog-select option { color: #e6ebe3; background: var(--story-panel); }
.catalog-shelf { margin-top: clamp(26px, 3vw, 48px); }
.catalog-shelf-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  min-height: 43px;
  margin-bottom: 9px;
}
.catalog-shelf-head > div { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 13px; }
.catalog-shelf-head h2 {
  margin: 0;
  color: #eff3ee;
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 760;
  letter-spacing: -.045em;
  line-height: 1.15;
}
.catalog-shelf-head .list-count { font-size: 12px; color: var(--story-muted); }
.catalog-story #reset-filters {
  flex: 0 0 auto;
  min-height: 37px;
  margin: 0;
  padding: 0;
  font-size: 13px;
  color: #c0e7a9;
}
.catalog-story #reset-filters:hover { color: var(--story-lime); }
.catalog-story #reset-filters[hidden] { display: none; }
.catalog-shelf .lesson-list {
  display: grid;
  gap: 0;
  min-width: 0;
  border-top: 1px solid var(--story-edge);
}
.catalog-shelf .lesson-row {
  min-width: 0;
  min-height: 74px;
  gap: 1px;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--story-edge);
  background: transparent;
  transition: background .18s ease;
}
.catalog-shelf .lesson-row:hover, .catalog-shelf .lesson-row:focus-within { background: #171e16; }
.catalog-shelf .lesson-row-main {
  padding: 13px 10px 13px 8px;
  grid-template-columns: 43px minmax(0, 1fr) auto;
  gap: 14px;
}
.catalog-shelf .row-icon {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border: 1px solid #42573c;
  border-radius: 11px;
  background: linear-gradient(140deg, #263a22, #19251a 70%);
  color: #cbf9a8;
}
.catalog-shelf .lesson-row-main:hover .row-icon { color: var(--story-lime); border-color: #688e54; }
.catalog-shelf .row-text strong { color: #e9eee6; font-size: 15px; font-weight: 670; line-height: 1.35; }
.catalog-shelf .row-text small { color: #a6aea3; font-size: 12px; line-height: 1.4; }
.catalog-shelf .time { color: #afb8ab; font-size: 12px; }
.catalog-shelf .lesson-upcoming:hover { background: transparent; }
.catalog-shelf .lesson-upcoming .row-icon { color: #a2aba0; border-color: #3b4339; background: #1d231d; }
.catalog-shelf .lesson-upcoming .row-text strong { color: #c7d0c2; }
.catalog-shelf .lesson-upcoming .upcoming-tag { color: #a6aea3; justify-self: start; }
.catalog-shelf .row-bookmark { flex: 0 0 44px; width: 44px; min-width: 44px; height: 44px; margin-right: 2px; }
.catalog-more { display: grid; justify-items: center; gap: 9px; padding-top: 21px; }
.catalog-more small { color: #a6aea3; }
.catalog-more .button { min-height: 44px; }
.catalog-empty {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 12px;
  min-width: 0;
  padding: clamp(22px, 5vw, 66px) 16px;
  border: 1px solid var(--story-edge);
  border-radius: 16px;
  background: #111511;
}
.catalog-empty-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid #3f5536;
  border-radius: 13px;
  background: #263321;
  color: #b6e291;
}
.catalog-empty h3 { margin: 1px 0 0; color: #f0f4ed; font-size: clamp(20px, 3vw, 26px); }
.catalog-empty p { margin: 0; color: #b1bcad; }

@media (max-width: 800px) {
  .catalog-story .catalog-tools { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .catalog-crumb { margin-bottom: 12px; }
  .catalog-intro { grid-template-columns: minmax(0, 1fr); min-height: 0; border-radius: 16px; }
  .catalog-intro-copy { padding: 22px 16px 20px; }
  .catalog-intro h1 { font-size: clamp(32px, 8vw, 44px); }
  .catalog-intro p { margin-top: 10px; }
  .catalog-scope { margin-top: 15px; }
  .catalog-intro-art {
    position: absolute;
    z-index: -1;
    inset: -39px -64px auto auto;
    width: 230px;
    min-height: 165px;
    opacity: .29;
  }
  .catalog-intro-symbol { width: 108px; }
  .catalog-search { padding-inline: 13px; }
  .catalog-search input { min-height: 52px; font-size: 16px; }
  .catalog-select { min-height: 52px; }
  .catalog-story .catalog-select select { font-size: 16px; }
  .catalog-facets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-shelf .lesson-row { min-height: 76px; }
  .catalog-shelf .lesson-row-main {
    grid-template-columns: 36px minmax(0, 1fr) auto;
    gap: 9px;
    padding: 12px 3px 12px 0;
  }
  .catalog-shelf .row-icon { width: 36px; height: 39px; }
  .catalog-shelf .row-text strong { font-size: 14px; }
  .catalog-story #reset-filters { min-height: 44px; }
}
@media (max-width: 390px) {
  .catalog-shelf .lesson-row-main {
    grid-template-columns: 34px minmax(0, 1fr);
    row-gap: 3px;
    align-content: center;
  }
  .catalog-shelf .row-icon { grid-row: 1 / 3; width: 34px; height: 37px; }
  .catalog-shelf .time { grid-column: 2; font-size: 11px; }
  .catalog-shelf .row-bookmark { margin-right: 0; }
  .catalog-shelf-head > div { display: grid; }
}
@media (prefers-reduced-motion: reduce) {
  .catalog-shelf .lesson-row { transition: none; }
}

.studio {
  --studio-surface: #131514;
  --studio-border: #292e28;
  --studio-dim: #a2a99c;
  --studio-accent: #b2fe2f;
  max-width: 1240px;
}

.studio .studio-breadcrumb {
  color: var(--studio-dim);
  margin: 0 0 22px;
  gap: 10px;
  font-size: 12px;
}

.studio-breadcrumb .ico { width: 13px; height: 13px; color: #778272; }
.studio-breadcrumb a:hover { color: var(--studio-accent); }
.studio-intro { margin-bottom: clamp(20px, 3.3vw, 29px); }

.studio-meta,
.studio-duration {
  display: flex;
  align-items: center;
  gap: 8px;
}

.studio-meta { gap: 13px; margin-bottom: 12px; }
.studio-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--studio-accent);
  font-size: 11px;
  font-weight: 740;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.studio-kicker::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 11px #b2fe2f55;
}

.studio-duration { font: 12px/1.15 Inter, system-ui, sans-serif; color: var(--studio-dim); }
.studio-duration .ico { width: 15px; height: 15px; }
.studio .studio-title {
  max-width: 20ch;
  margin: 0;
  font-size: clamp(36px, 5.35vw, 60px);
  font-weight: 760;
  line-height: 1;
  letter-spacing: -.064em;
  text-wrap: balance;
}
.studio-intro > p { max-width: 740px; color: var(--studio-dim); margin: 12px 0 0; font-size: 15px; }
.studio .studio-contents-link { display: none; }

.studio .studio-grid {
  grid-template-columns: minmax(0, 1fr) minmax(255px, 305px);
  align-items: start;
  gap: clamp(16px, 2.5vw, 30px);
}

.studio .studio-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid #313b2c;
  border-radius: 20px 20px 0 0;
  background: #080a08;
}
.studio-frame video { object-fit: contain; }
.studio .studio-cover {
  align-items: end;
  isolation: isolate;
  padding: clamp(14px, 3.8vw, 38px);
  background: radial-gradient(ellipse at 66% 63%, #232f20 0%, #111811 52%, #0c110d 90%);
}
.studio .studio-cover::before {
  z-index: -1;
  inset: 0 0 0 30%;
  background-position: right 48%;
  background-size: cover;
  opacity: .59;
  mask-image: linear-gradient(90deg, transparent 2%, #000 48%);
}
.studio .studio-cover::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(0deg, #0c120ef2 0%, #0c120e00 44%),
    repeating-linear-gradient(90deg, #b7f17c12 0px, #b7f17c12 1px, transparent 1px, transparent 33px);
  pointer-events: none;
}
.studio-cover-index {
  position: absolute;
  z-index: -1;
  top: 11%;
  left: 6%;
  color: transparent;
  -webkit-text-stroke: 1px #b2fe2f42;
  font-size: clamp(84px, 11.2vw, 170px);
  line-height: 1;
  font-weight: 730;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.07em;
  pointer-events: none;
}
.studio .video-cover-inner { gap: 12px; }
.studio .video-cover-inner strong { font-size: clamp(15px, 2vw, 19px); }
.studio .video-cover-play { width: 45px; height: 45px; }

.studio-toolbar {
  border: 1px solid var(--studio-border);
  border-top: 0;
  background: var(--studio-surface);
  border-radius: 0 0 20px 20px;
}

.studio :is(.studio-watch-progress, #studio-sequence-progress) {
  display: block;
  appearance: none;
  width: 100%;
  height: 3px;
  border: 0;
  background: #252e22;
  color: var(--studio-accent);
}
.studio :is(.studio-watch-progress, #studio-sequence-progress)::-webkit-progress-bar { background: #252e22; }
.studio :is(.studio-watch-progress, #studio-sequence-progress)::-webkit-progress-value { background: var(--studio-accent); }
.studio :is(.studio-watch-progress, #studio-sequence-progress)::-moz-progress-bar { background: var(--studio-accent); }
.studio .studio-actions { margin: 0; padding: 10px 13px; justify-content: space-between; gap: 6px; }
.studio-share-tools { display: flex; align-items: center; gap: 5px; }
.studio .studio-icon-action { width: 44px; height: 44px; border: 0; border-radius: 9px; color: #c6d0c3; }
.studio .studio-icon-action:hover { background: #252d22; }
.studio .studio-watched { min-height: 44px; border-color: transparent; padding: 7px 9px; font-size: 13px; }
.studio-watched-short { display: none; }
.studio .studio-watched .ico { width: 18px; height: 18px; color: var(--studio-accent); }
.studio .studio-watched:hover { background: #252d22; }

.studio .studio-navigation { margin-top: 19px; gap: 9px; }
.studio .studio-step {
  min-height: 75px;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  border-radius: 13px;
  padding: 10px 12px;
  gap: 8px;
  background: var(--studio-surface);
  border-color: var(--studio-border);
}
.studio .studio-step:hover { border-color: #557342; background: #1c291a; }
.studio .studio-step-copy { display: grid; gap: 3px; min-width: 0; }
.studio .studio-step-copy > span { font-size: 10px; letter-spacing: .11em; text-transform: uppercase; color: var(--studio-dim); }
.studio .studio-step-copy strong { font-size: 13px; font-weight: 670; color: #eceee9; }
.studio .studio-step-icon { display: grid; place-items: center; flex: 0 0 31px; height: 31px; border-radius: 50%; color: var(--studio-accent); background: #273523; }
.studio .studio-step-icon .ico { width: 16px; height: 16px; }
.studio .studio-step.previous-step .studio-step-icon { transform: rotate(180deg); }
.studio .studio-step.next-step { background: linear-gradient(100deg, #182318, #131b13); }
.studio .studio-step.next-step .studio-step-copy > span { color: #d3faaf; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .studio .video-cover-play { transition: background .18s ease, box-shadow .18s ease, scale .18s ease; }
  .studio .studio-cover:hover .video-cover-play { scale: 1.075; }
  .studio .studio-step-icon { transition: translate .18s ease; }
  .studio .studio-step.next-step:hover .studio-step-icon { translate: 2px 0; }
  .studio .studio-step.previous-step:hover .studio-step-icon { translate: -2px 0; }
}

.studio .studio-sequence {
  position: sticky;
  top: calc(var(--bar, 65px) + 16px);
  align-self: start;
  padding: 0;
  overflow: hidden;
  border-radius: 19px;
  background: var(--studio-surface);
  border-color: var(--studio-border);
  scroll-margin-top: 82px;
}
.studio-sequence-head { padding: 19px 17px 15px; }
.studio .studio-sequence h2 { font-size: 18px; font-weight: 740; }
.studio .studio-sequence p { margin: 4px 0 11px; color: var(--studio-dim); font-size: 13px; }
.studio-sequence-meter { display: flex; align-items: center; gap: 9px; color: #bbcab7; }
.studio-sequence-meter span { white-space: nowrap; font-size: 11px; font-variant-numeric: tabular-nums; }
.studio .studio-sequence-meter progress { height: 4px; border-radius: 4px; overflow: hidden; }
.studio .studio-chapters {
  position: relative;
  display: block;
  margin: 0;
  padding: 0 8px 8px;
  max-height: clamp(280px, 55vh, 490px);
  list-style: none;
  scrollbar-width: thin;
  scrollbar-color: #4b5845 transparent;
}
.studio .studio-chapter {
  display: block;
  border: 1px solid transparent;
  border-top-color: #252a25;
  border-radius: 0;
  background: transparent;
}
.studio .studio-chapter:hover { background: #1e281d; border-color: #354531; border-radius: 9px; }
.studio .studio-chapter.is-current { background: #243421; border-color: #3b5540; border-radius: 10px; }
.studio .studio-chapter.is-current + .studio-chapter { border-top-color: transparent; }
.studio .studio-chapter .lesson-row-main {
  grid-template-columns: 32px minmax(0, 1fr) auto;
  min-height: 48px;
  gap: 8px;
  padding: 8px 6px;
}
.studio .studio-chapter .lesson-row-main:focus-visible { outline-offset: -3px; border-radius: inherit; }
.studio-chapter-index {
  display: grid;
  align-items: center;
  justify-content: center;
  height: 30px;
  border-radius: 8px;
  color: #c0cabd;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
}
.studio .studio-chapter-index .ico { width: 16px; height: 16px; color: #cbfaa9; }
.studio .is-current .studio-chapter-index { background: #b2fe2f; }
.studio .is-current .studio-chapter-index .ico { color: #1d2d14; fill: #1d2d14; }
.studio .studio-chapter .row-text strong { font-size: 12px; line-height: 1.32; }
.studio .studio-chapter .row-text small { color: #b9c7b5; margin-top: 3px; font-size: 10px; }
.studio .studio-chapter .time { display: inline; font-size: 10px; }

.studio .studio-feedback {
  margin-top: 11px;
  padding: 0;
  border-radius: 13px;
  background: var(--studio-surface);
  border-color: var(--studio-border);
}
.studio .studio-feedback summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 54px;
  padding: 11px 14px;
  border-radius: 12px;
  list-style: none;
  font-size: 14px;
  letter-spacing: -.01em;
}
.studio .studio-feedback summary::-webkit-details-marker { display: none; }
.studio .studio-feedback summary:focus-visible { outline-offset: -3px; }
.studio .studio-feedback summary:hover { background: #1e271d; }
.studio .studio-feedback summary > .ico { width: 15px; height: 15px; color: #aec3a6; transform: rotate(90deg); }
.studio .studio-feedback[open] summary > .ico { transform: rotate(-90deg); }
.studio-feedback-lead { display: flex; align-items: center; gap: 9px; }
.studio-feedback-lead .ico { width: 17px; height: 17px; color: var(--studio-accent); }
.studio .studio-feedback > p { margin: 0 14px 11px; }
.studio .studio-feedback form { padding: 0 14px 15px; }

@media (max-width: 1080px) {
  .studio .studio-grid { grid-template-columns: minmax(0, 1fr) minmax(220px, 270px); gap: 14px; }
}

@media (max-width: 860px) {
  .studio .studio-grid { grid-template-columns: minmax(0, 1fr); }
  .studio .studio-sequence { position: static; }
  .studio .studio-chapters { max-height: 330px; }
  .studio .studio-contents-link { display: inline-flex; margin-left: auto; min-height: 44px; padding: 6px 9px; font-size: 12px; gap: 5px; }
}

@media (max-width: 520px) {
  .studio .studio-breadcrumb { margin-bottom: 15px; gap: 7px; }
  .studio .studio-breadcrumb a:last-child { max-width: calc(100% - 72px); }
  .studio-intro { margin-bottom: 17px; }
  .studio .studio-title { font-size: clamp(27px, 8.25vw, 42px); letter-spacing: -.055em; line-height: 1.06; }
  .studio-meta { margin-bottom: 9px; }
  .studio-intro > p { margin-top: 8px; font-size: 13px; line-height: 1.45; }
  .studio .studio-frame { border-radius: 16px 16px 0 0; }
  .studio-toolbar { border-radius: 0 0 16px 16px; }
  .studio .studio-actions { padding: 4px 5px; }
  .studio .studio-cover-index { top: 8%; font-size: 25vw; }
  .studio .studio-cover::before { left: 21%; opacity: .52; }
  .studio .studio-watched { white-space: normal; text-align: left; line-height: 1.2; gap: 5px; }
  .studio-watched-long { display: none; }
  .studio-watched-short { display: inline; }
  .studio .studio-navigation { margin-top: 10px; grid-template-columns: 1fr; }
  .studio .studio-step.next-step { grid-column: 1; grid-row: 1; }
  .studio .studio-step.previous-step:not(:only-child) { grid-row: 2; }
  .studio .studio-step.previous-step:only-child { grid-row: 1; }
  .studio .studio-step { min-height: 64px; }
  .studio .studio-chapters { max-height: 365px; }
}

.library-volumes,
.category-grid.library-volumes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(14px, 1.65vw, 24px);
}

.home-categories .category-grid.library-volumes {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.library-volumes > .volume-card {
  position: relative;
  display: grid;
  grid-template: auto auto 1fr / minmax(0, 1fr) auto;
  gap: 0;
  align-items: start;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  color: #f4f5f0;
  background: #191c1a;
  border: 1px solid #323832;
  border-radius: 16px;
  text-decoration: none;
}

.library-volumes .volume-art {
  display: block;
  grid-column: 1 / -1;
  width: 100%;
  height: auto;
  aspect-ratio: 1.08;
  object-fit: cover;
  object-position: center;
  background: #232923;
}

.library-volumes .volume-meta {
  grid-column: 1 / -1;
  margin: 15px 16px 5px;
  font-size: 12px;
  font-weight: 550;
  line-height: 1.35;
  color: #b4bcb5;
  font-variant-numeric: tabular-nums;
}

.library-volumes .volume-name {
  grid-column: 1;
  margin: 0;
  padding: 0 0 18px 16px;
  color: #f4f5ef;
  font-size: clamp(17px, 1.72vw, 24px);
  line-height: 1.14;
  font-weight: 650;
  letter-spacing: -.036em;
  overflow-wrap: break-word;
}

.library-volumes .volume-enter {
  display: grid;
  grid-column: 2;
  place-items: center;
  width: 22px;
  height: 22px;
  margin: 0 13px 15px 6px;
  color: #c7d8bb;
}

.library-volumes .volume-enter .ico {
  width: 17px;
  height: 17px;
}

.library-volumes .volume-card:focus-visible {
  outline: 3px solid #b2fe2f;
  outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .library-volumes .volume-card:hover {
    background: #222720;
    border-color: #788b65;
  }
  .library-volumes .volume-card:hover .volume-enter { color: #b2fe2f; }
}

@media (max-width: 1100px) {
  .library-volumes,
  .category-grid.library-volumes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 730px) {
  .library-volumes,
  .category-grid.library-volumes,
  .home-categories .category-grid.library-volumes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .library-volumes > .volume-card { border-radius: 12px; }
  .library-volumes .volume-meta { margin: 10px 11px 5px; font-size: 11px; }
  .library-volumes .volume-name { grid-column: 1 / -1; padding: 0 11px 14px; font-size: 17px; }
  .library-volumes .volume-enter { display: none; }
}

@media (max-width: 349px) {
  .library-volumes,
  .category-grid.library-volumes,
  .home-categories .category-grid.library-volumes { grid-template-columns: minmax(0, 1fr); }
  .library-volumes .volume-name { font-size: 19px; }
}

.home-films { margin-block-start: clamp(26px, 4vw, 54px); }
.film-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px clamp(12px, 1.6vw, 24px);
  min-width: 0;
}
.film-grid .film-card, #main .film-grid .film-planned {
  display: block;
  position: relative;
  min-width: 0;
  border: 0;
  border-radius: 15px;
  background: transparent;
}
.film-grid .film-link {
  display: block;
  color: var(--ink);
  padding: 0;
  border-radius: inherit;
}
.film-preview {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 16/9;
  background: #191f19;
  box-shadow: 0 0 0 1px #ffffff14 inset;
}
.film-preview > img, .studio-poster-art {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (hover:hover) {
  .film-link:hover .film-preview { outline: 1px solid #a9d084; }
  .film-link:hover .film-name { color: #cdff94; }
}
.film-preview progress {
  display: block;
  position: absolute;
  inset: auto 0 0;
  width: 100%;
  height: 4px;
  appearance: none;
  border: 0;
  background: #394432;
  accent-color: var(--lime);
}
.film-preview progress::-webkit-progress-bar { background: #394432; }
.film-preview progress::-webkit-progress-value { background: var(--lime); }
.film-preview progress::-moz-progress-bar { background: var(--lime); }
.film-soon {
  position: absolute;
  bottom: 9px;
  right: 9px;
  padding: 2px 7px;
  color: #fff;
  font-size: 11px;
  line-height: 1.6;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  background: #080c0ae8;
  border-radius: 5px;
}
.film-soon { display: inline-flex; align-items: center; gap: 5px; }
.film-soon .ico { width: 13px; height: 13px; }
.film-planned .film-preview img { opacity: .56; filter: saturate(.45); }
.film-info { padding: 12px 42px 4px 1px; }
.film-meta { display: block; color: #b1b9ad; font-size: 12px; margin-bottom: 5px; }
.film-name { display: block; font-size: clamp(16px, 1.38vw, 21px); line-height: 1.27; font-weight: 650; letter-spacing: -.026em; }
.film-grid .film-save {
  position: absolute;
  top: auto;
  right: 0;
  bottom: auto;
  margin: 0;
  width: 44px;
  height: 44px;
  margin-top: -1px;
  color: #aab6a6;
  background: transparent;
  border-color: transparent;
  inset-block-start: auto;
  transform: translateY(-100%);
}
.film-save.is-saved, .film-save:hover { color: var(--lime); }
.subject-navigation {
  display: flex;
  gap: 12px;
  align-items: center;
  position: relative;
  z-index: 2;
  border-block: 1px solid #30382f;
  padding-block: 7px;
  margin-bottom: 18px;
}
@media (min-height: 640px) {
  .subject-navigation { position: sticky; top: var(--bar); background: var(--bg); z-index: 3; }
  .studio #studio-contents { scroll-margin-top: calc(var(--bar) + 70px); }
}
.all-subjects { flex: none; }
.all-subjects summary {
  display: flex;
  cursor: pointer;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  background: #20291d;
  border-radius: 8px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 620;
}
.all-subjects summary::-webkit-details-marker { display: none; }
.all-subjects summary:focus-visible { outline: 2px solid var(--lime); }
.all-subjects summary .ico { width: 15px; color: var(--lime); }
.all-subjects summary b { font-size: 11px; font-weight: 530; color: #bdd6ab; }
.subject-strip {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  min-width: 0;
  scrollbar-width: thin;
  scrollbar-color: #3c4839 transparent;
}
.subject-strip a { display: flex; align-items: center; flex: none; min-height: 42px; padding: 0 10px; font-size: 13px; color: #d6ddd3; }
.subject-strip a:hover, .subject-menu a:hover { color: var(--lime); }
.subject-strip a img { width: 23px; height: 23px; object-fit: cover; margin-right: 6px; border-radius: 5px; }
.nav-subject-art { width: 24px; height: 24px; max-width: none; object-fit: cover; border-radius: 5px; }
.category-navigation .nav-item { grid-template-columns: 25px minmax(0,1fr) auto; }
.resume-stamp { display: block; margin-top: 6px; font-size: 12px; color: #bde699; }
.topic-directory .page-title { margin-bottom: 16px; }
.topic-jumps { display: flex; gap: 8px; flex-wrap: wrap; }
.topic-jumps a { display: inline-flex; align-items: center; padding: 8px 13px; border: 1px solid #394138; border-radius: 30px; min-height: 44px; background: #141914; font-size: 13px; }
.topic-jumps a:hover { color: var(--lime); border-color: #667d52; }
.topic-family { scroll-margin-top: calc(var(--bar) + 20px); margin: clamp(26px,4.5vw,62px) 0; }
.topic-family h2 { margin-bottom: 14px; line-height: 1.15; letter-spacing: -.043em; font-size: clamp(24px,3vw,39px); }
@media (min-width: 1200px) {
  .topic-family .library-volumes:has(> .volume-card:nth-child(5):last-child) { grid-template-columns: repeat(5,minmax(0,1fr)); }
  .topic-family .library-volumes:has(> .volume-card:nth-child(3):last-child) { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 640px) { .topic-jumps { overflow: auto; flex-wrap: nowrap; scrollbar-width: thin; } .topic-jumps a { flex: none; } }
.studio .studio-chapter .lesson-row-main { grid-template-columns: 52px minmax(0,1fr) auto; }
.studio .chapter-thumb { position: relative; width: 52px; height: 32px; border-radius: 5px; overflow: hidden; }
.chapter-thumb img { width: 100%; height: 100%; object-fit: cover; }
.chapter-thumb i { position: absolute; inset: 0; display: grid; place-items: center; background: #1117; color: var(--lime); }
.subject-menu {
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  width: min(100%, 860px);
  box-shadow: 0 18px 45px #0009;
  background: #171c18;
  border: 1px solid #3a4438;
  border-radius: 12px;
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  padding: 10px;
  max-height: min(63dvh, 480px);
  overflow: auto;
}
.subject-menu a {
  display: flex; min-height: 46px; align-items: center; gap: 10px; padding: 5px 7px;
  color: #e5eadf; line-height: 1.3; border-radius: 7px;
}
.subject-menu a[aria-current] { background: #253222; color: var(--lime); }
.subject-menu img { width: 32px; height: 32px; flex: none; border-radius: 6px; object-fit: cover; }
.studio .studio-cover { padding: 0; align-items: center; justify-content: center; }
.studio .studio-cover::before, .studio .studio-cover::after { display: none; }
.studio-poster-art { z-index: -1; }
.studio .studio-cover .video-cover-inner {
  position: absolute; right: 3%; bottom: 5%; padding: 5px 13px 5px 5px;
  background: #101610eb; border: 1px solid #73836b; border-radius: 30px; gap: 8px;
}
.studio .studio-cover .video-cover-play { width: 37px; height: 37px; }
.studio .studio-cover .video-cover-inner strong { font-size: 14px; }
.home-page .opening { min-height: clamp(330px, 26vw, 420px); }
.home-page .opening-copy { padding: clamp(27px,3.6vw,54px); }
.home-page .opening h1 { font-size: clamp(60px, 6.4vw, 94px); margin: 10px 0 15px; }
.home-page .opening-actions, .home-page .opening-meta { margin-top: 18px; }
@media (max-width: 900px) {
  .film-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .film-grid { grid-template-columns: minmax(0,1fr); gap: 22px; }
  .film-info { padding-block-start: 8px; }
  .film-meta { font-size: 12px; }
  .film-name { font-size: 17px; }
  .home-films .film-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding: 2px 2px 8px; scrollbar-width: thin; scrollbar-color: #3b4837 transparent; }
  .home-films .film-card { flex: 0 0 84%; scroll-snap-align: start; }
  .subject-navigation { gap: 5px; margin-bottom: 12px; padding-block: 3px; }
  .all-subjects summary { padding: 0 8px; font-size: 12px; }
  .subject-strip { gap: 0; scrollbar-width: none; }
  .subject-strip a { padding: 0 8px; font-size: 12px; }
  .subject-menu { grid-template-columns: repeat(2,minmax(0,1fr)); padding: 4px; }
  .subject-menu a { font-size: 12px; gap: 5px; min-height: 45px; }
  .subject-menu img { width: 24px; height: 24px; }
  .studio .studio-cover .video-cover-inner { padding: 0; border: none; background: transparent; }
  .studio .studio-cover .video-cover-inner strong { display: none; }
  .home-page .opening { min-height: 0; }
  .home-page .opening-copy { padding: 65px 16px 17px; }
  .home-page .opening-art { height: 128px; width: 69%; opacity: .78; }
  .home-page .opening h1 { font-size: clamp(34px, 9.4vw, 56px); margin: 8px 0 11px; }
  .home-page .opening-actions, .home-page .opening-meta { margin-top: 13px; }
}

.library-catalog {
  --shelf-gap: clamp(32px, 4.5vw, 70px);
}

.library-catalog [hidden] { display: none !important; }
.library-catalog .catalog-crumb { margin-bottom: 15px; }
.library-title {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
}
.library-title h1 {
  margin: 0;
  font-size: clamp(38px, 5.5vw, 80px);
  line-height: .98;
  letter-spacing: -.062em;
  color: #f4f6f1;
  text-wrap: balance;
}
.library-title .catalog-scope { margin-top: 15px; }
.library-title .catalog-scope > span + span { border-left: 1px solid #3a4039; padding-left: 13px; }
.library-title.is-collection {
  isolation: isolate;
  overflow: hidden;
  border-radius: clamp(16px, 2vw, 26px);
  background: #151b17;
  border: 1px solid #454e413f;
  min-height: clamp(210px, 20vw, 295px);
  padding: clamp(21px, 3.6vw, 52px);
}
.is-collection .library-title-copy { position: relative; width: 69%; }
.is-collection h1 { font-size: clamp(34px, 4.4vw, 68px); }
.library-title-copy > p {
  max-width: 52ch;
  margin: 12px 0 0;
  font-size: clamp(14px, 1.2vw, 17px);
  color: #c3ccc0;
  line-height: 1.45;
  text-wrap: pretty;
}
.library-title-art {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 auto;
  width: min(42%, clamp(260px, 26vw, 400px));
  height: 100%;
  object-fit: cover;
  object-position: 52% 50%;
  mask-image: linear-gradient(90deg, transparent, #000 52%);
}
.library-catalog .catalog-tools { max-width: 100%; margin-top: 21px; }
.library-filter-toggle { display: none; }
.catalog-directory,
.catalog-body { margin-top: clamp(23px, 3.2vw, 48px); }
.catalog-directory[hidden] + .catalog-body { margin-top: 24px; }
.directory-heading, .directory-nav, .topic-shelf-heading {
  display: flex;
  align-items: center;
}
.directory-heading, .topic-shelf-heading {
  justify-content: space-between;
  gap: 12px 20px;
  margin-bottom: 14px;
}
.directory-heading h2, .topic-shelf-heading h2 {
  max-width: 42ch;
  margin: 0;
  color: #f0f3ed;
  font-weight: 690;
  font-size: clamp(24px, 2.55vw, 38px);
  line-height: 1.1;
  letter-spacing: -.045em;
  text-wrap: pretty;
}
.directory-nav { gap: 6px; }
.topic-shelf-link {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 44px;
  gap: 8px;
  color: #d6dfcd;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.topic-shelf-link:hover, .topic-shelf-link:focus-visible { color: var(--lime); }
.topic-shelf-link .ico { width: 16px; height: 16px; color: var(--lime); }
.directory-nav .topic-shelf-link { margin-right: 13px; }
.directory-arrow {
  display: grid;
  width: 44px;
  height: 44px;
  place-content: center;
  border: 1px solid #384039;
  background: #171c18;
  border-radius: 50%;
  color: #e5eae1;
  cursor: pointer;
}
.directory-arrow:disabled { color: #747d74; background: transparent; cursor: default; }
.directory-arrow:not(:disabled):hover { border-color: #76836b; color: var(--lime); }
.directory-arrow .ico { width: 17px; height: 17px; }
#directory-prev .ico { transform: rotate(180deg); }
.directory-rail {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: #47513f transparent;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 2px;
  padding: 3px 2px 10px;
  margin: -3px -2px -10px;
}
.directory-rail > :first-child {
  display: grid;
  grid-auto-flow: column;
  grid-template-columns: none;
  grid-auto-columns: clamp(200px, 18vw, 268px);
  gap: clamp(10px, 1.15vw, 18px);
  align-items: stretch;
}
.directory-rail .category-card { scroll-snap-align: start; }
.topic-shelf + .topic-shelf { margin-top: var(--shelf-gap); }
.library-catalog .topic-shelf > .lesson-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 640px) {
  .library-catalog { --shelf-gap: 32px; }
  .library-catalog .catalog-crumb { margin-bottom: 11px; }
  .library-title h1 { font-size: clamp(34px, 9vw, 48px); }
  .library-title.is-collection { min-height: 185px; padding: 20px 15px; }
  .is-collection .library-title-copy { width: 83%; }
  .is-collection h1 { font-size: clamp(28px, 7vw, 40px); }
  .library-title-art { width: 47%; opacity: .8; mask-image: linear-gradient(90deg, transparent 5%, #0009 70%, #000); }
  .library-title .catalog-scope { margin-top: 12px; gap: 7px 10px; }
  .library-title-copy > p { font-size: 13px; }
  .library-catalog .catalog-tools { grid-template-columns: minmax(0, 1fr) auto; margin-top: 15px; }
  .library-catalog .catalog-facets { grid-column: 1 / -1; }
  .library-filter-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 47px;
    padding: 0 10px;
    color: #d3dccd;
    background: #151a16;
    border: 1px solid #394136;
    border-radius: 12px;
    font: inherit;
    font-size: 12px;
    cursor: pointer;
  }
  .library-filter-toggle .ico { width: 16px; height: 16px; color: var(--lime); }
  .library-filter-toggle[aria-expanded=true] { background: #263023; border-color: #627455; }
  .library-filter-toggle[aria-expanded=false] + .catalog-facets { display: none; }
  .directory-arrow { display: none; }
  .directory-nav .topic-shelf-link { margin: 0; }
  .directory-heading, .topic-shelf-heading { gap: 4px 10px; margin-bottom: 8px; }
  .directory-heading h2, .topic-shelf-heading h2 { font-size: clamp(20px, 5vw, 27px); }
  .topic-shelf-link { gap: 3px; font-size: 12px; }
  .directory-rail > :first-child { grid-auto-columns: clamp(150px, 43vw, 220px); }
  .library-catalog .topic-shelf > .lesson-list {
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: min(78%, 302px);
    gap: 12px;
    padding: 3px 2px 10px;
    margin: -3px -2px -10px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: #3c443c transparent;
  }
  .topic-shelf article { scroll-snap-align: start; }
}

/* The subject index is a reading surface. Product captures accompany the names. */
.guide-directory { max-width: 1240px; margin-inline: auto; }
.guide-mast { display: grid; grid-template-columns: minmax(0,1fr) minmax(235px,.47fr); gap: clamp(20px,6vw,82px); align-items: center; padding: 12px 0 30px; border-bottom: 1px solid #354035; }
.guide-mast h1 { margin: 0; font-size: clamp(40px,4.8vw,72px); line-height: 1.04; letter-spacing: -.055em; }
.guide-mast-copy > p { margin: 9px 0 19px; color: #abb5aa; font-size: 14px; }
.guide-search { display: flex; align-items: center; padding: 5px 6px 5px 16px; gap: 8px; max-width: 640px; color: #dce4db; background: #1c221e; border: 1px solid #505c50; border-radius: 12px; }
.guide-search:focus-within { border-color: var(--lime); }
.guide-search label { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1; }
.guide-search input { flex: 1; min-width: 0; width: 100%; padding: 7px 0; color: #fff; background: transparent; outline: 0; border: 0; font-size: 16px; }
.guide-search input::placeholder { color: #bec7ba; }
.guide-search button { display: grid; place-items: center; min-width: 44px; min-height: 44px; border: 0; background: var(--lime); color: #11170c; border-radius: 8px; }
.guide-queries { display: flex; flex-wrap: wrap; gap: 2px 17px; }
.guide-queries a { display: inline-flex; align-items: center; min-height: 42px; font-size: 13px; color: #c4cbc2; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #56604f; }
.guide-queries a:hover { color: var(--lime); }
.guide-feature { display: grid; grid-template-columns: minmax(0,1fr) auto; position: relative; align-self: center; align-items: center; gap: 10px; max-width: 320px; justify-self: end; }
.guide-feature img { grid-column: 1/-1; width: 100%; height: auto; border-radius: 9px; border: 1px solid #343d32; }
.guide-feature small,.guide-feature strong { display: block; }
.guide-feature small { color: #a7bea0; font-size: 12px; }
.guide-feature strong { margin-top: 2px; font-size: 15px; font-weight: 600; line-height: 1.35; }
.guide-feature > .ico { color: var(--lime); }
.guide-layout { display: grid; grid-template-columns: minmax(175px,.83fr) minmax(0,3fr); align-items: start; column-gap: clamp(25px,5.2vw,76px); margin-top: 28px; }
.guide-index { position: sticky; top: calc(var(--bar) + 16px); }
.guide-index h2 { margin: 0 0 8px 12px; color: #aeb7ad; font-size: 13px; font-weight: 550; }
.guide-index nav { display: grid; gap: 2px; }
.guide-index a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 11px 12px; min-height: 44px; border-radius: 7px; color: #c6cfc5; font-size: 14px; }
.guide-index small { color: #9aa595; font-variant-numeric: tabular-nums; }
.guide-index a[aria-current],.guide-index a:hover { color: #f6f9f1; background: #20281f; }
.guide-index a[aria-current] small { color: var(--lime); }
.guide-mobile-nav { display: none; }
.guide-group { margin: 0 0 40px; }
.guide-group h2 { font-size: clamp(23px,2.5vw,34px); line-height: 1.18; letter-spacing: -.043em; margin-bottom: 12px; }
.guide-group ul { list-style: none; padding: 0; margin: 0; border-top: 1px solid #394039; }
.guide-row { display: grid; grid-template-columns: clamp(70px,7.7vw,108px) minmax(0,1fr) auto 16px; align-items: center; gap: clamp(12px,1.5vw,22px); padding: 12px 5px; min-height: 80px; border-bottom: 1px solid #2b322c; }
.guide-row:hover,.guide-row:focus-visible { background: #151a16; }
.guide-row img { display: block; width: 100%; aspect-ratio: 16/9; height: auto; border-radius: 6px; object-fit: cover; border: 1px solid #323a32; }
.guide-info { display: grid; gap: 3px; }
.guide-info strong { color: #f1f4f0; font-weight: 620; font-size: clamp(16px,1.65vw,22px); line-height: 1.23; letter-spacing: -.023em; }
.guide-info > span,.guide-meta { color: #b3beb2; font-size: 13px; line-height: 1.42; }
.guide-meta { text-align: end; font-variant-numeric: tabular-nums; }
.guide-row > .ico { width: 15px; height: 15px; color: #94a28d; }
.library-volumes .volume-art { aspect-ratio: 16/9; }
@media(max-width: 720px) {
  .guide-mast { display: block; padding: 6px 0 9px; }
  .guide-mast-copy > p { margin: 6px 0 13px; }
  .guide-feature { display: none; }
  .guide-layout { display: block; margin-top: 14px; }
  .guide-index { display: none; }
  .guide-mobile-nav { display: flex; gap: 10px; align-items: center; margin-bottom: 16px; font-size: 13px; color: #b6c0b3; }
  .guide-mobile-nav select { color: #edf2e8; border: 1px solid #414b40; background: #1a201b; border-radius: 8px; padding: 8px; min-height: 44px; min-width: 0; flex: 1; }
  .guide-row { grid-template-columns: 68px minmax(0,1fr) 14px; grid-template-rows: auto auto; gap: 2px 10px; padding: 11px 1px; min-height: 72px; }
  .guide-row img,.guide-row > .ico { grid-row: 1/3; }
  .guide-row img { grid-column: 1; }
  .guide-info { grid-column: 2; align-self: end; }
  .guide-info > span { display: none; }
  .guide-meta { grid-column: 2; text-align: start; align-self: start; font-size: 12px; }
  .guide-row > .ico { grid-column: 3; }
  .guide-group { margin-bottom: 29px; }
  .guide-group h2 { margin-bottom: 9px; }
  .guide-queries { gap: 0 12px; }
  .guide-queries a { min-height: 44px; font-size: 12px; }
}

.atlas-art {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  isolation: isolate;
  line-height: 0;
  pointer-events: none;
}

.atlas-art > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* TRAIEX Lessons. The video slates keep their own composition and colours. */
:root {
  --bg:#0d100f; --ink:#f3f4ed; --line:#343933; --muted:#b0b8ad; --lime:#bcfa43;
  --sheet:#171b18; --soft:#a7b0a5; --bar:68px;
}
body {background:var(--bg); color:var(--ink)}
button, input, select, textarea {font:inherit}
:focus-visible {outline:2px solid var(--lime); outline-offset:3px}
.topbar {background:#0d100ff7; border-color:#2a2e29}
.top-inner,.layout {max-width:1440px}
.top-inner {padding-inline:clamp(24px,4.1vw,60px)}
.brand img {width:100px;height:auto}
.brand span {color:var(--ink);letter-spacing:-.035em;font-size:17px}
.top-nav a {font-size:14px}
.top-nav a[aria-current]::after {height:2px;box-shadow:none}
.top-inner .header-search {width:190px;border:1px solid var(--line);border-radius:8px;background:#161a17}
.header-saved,.header-search,.mobile-menu {min-height:44px}
#main {padding:24px clamp(24px,4.1vw,60px) 84px}
.main-wrap,.studio,.atlas-directory {max-width:1280px;margin-inline:auto}
.atlas-hero {isolation:isolate;position:relative;display:grid;align-items:center;overflow:hidden;min-height:clamp(342px,30vw,435px);border:1px solid #3c4539;border-radius:16px;background:#111712}
.hero-print {position:absolute;z-index:-1;inset:0 0 0 40%}
.hero-print::after {content:"";position:absolute;inset:0;background:linear-gradient(90deg,#111712,transparent 21%)}
.hero-text {width:58%;padding:clamp(28px,3.5vw,55px)}
.hero-scope {display:flex;align-items:center;gap:10px;margin:0;color:#c2cbbb;font-size:14px;font-weight:550;letter-spacing:.012em}
.hero-scope>span {width:23px;height:2px;background:var(--lime)}
.hero-scope i {width:3px;height:3px;border-radius:50%;background:#8d9b84}
.hero-text h1 {color:var(--ink);margin:14px 0 15px;font-size:clamp(54px,5.65vw,84px);font-weight:670;line-height:.99;letter-spacing:-.07em}
.hero-text h1 em {color:var(--lime);font-style:normal}
.hero-deck {max-width:36ch;margin:0;color:#c3cbbf;font-size:clamp(16px,1.4vw,20px);line-height:1.44;letter-spacing:-.015em}
.hero-play {display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:47px;padding:11px 20px;background:var(--lime);color:#141c0c;border:0;border-radius:7px;font-weight:680;font-size:15px;text-decoration:none;line-height:1.3}
.hero-play:hover {background:#d5ff79;color:#12160c}
.hero-play .ico {width:17px;fill:currentColor;stroke-width:1}
.hero-text .hero-play {margin-top:24px}
.hero-resume {margin:10px 0 0;color:#b3bcac;line-height:1.45;font-size:13px}
.atlas-section {margin-block:clamp(32px,4.4vw,66px) 0}
.atlas-heading {display:flex;gap:12px;align-items:baseline;justify-content:space-between;margin-bottom:18px}
.atlas-heading h2,.subject-section h2,.catalog-chapter>h2,.direction-index h2 {margin:0;font-weight:640;letter-spacing:-.045em;line-height:1.12}
.atlas-heading h2,.subject-section h2,.catalog-chapter>h2 {font-size:clamp(26px,2.8vw,41px)}
.atlas-heading>a,.return-link,.path-back {display:inline-flex;align-items:center;gap:7px;min-height:44px;color:#d5ddce;font-size:14px}
.atlas-heading>a .ico,.return-link .ico {width:15px;color:var(--lime)}
.atlas-heading>a:hover,.return-link:hover,.path-back:hover,.lesson-location a:hover {color:var(--lime)}
.direction-plates {display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.direction-plate {position:relative;isolation:isolate;display:flex;align-items:flex-end;min-height:178px;overflow:hidden;border-radius:11px;border:1px solid #3c443a;background:#151b16;grid-column:span 2}
.direction-plate:nth-child(n+4) {grid-column:span 3;min-height:136px}
.direction-art {position:absolute;z-index:-1;inset:0 0 0 19%}
.direction-art::after {content:'';position:absolute;inset:0;background:linear-gradient(0deg,#121812f5,transparent 82%),linear-gradient(90deg,#151b16,transparent 50%)}
.direction-caption {display:flex;flex-direction:column;gap:5px;padding:20px 35px 18px 20px}
.direction-caption strong {font-weight:650;letter-spacing:-.035em;font-size:clamp(20px,1.65vw,25px);line-height:1.12;color:var(--ink)}
.direction-caption small {font-size:14px;line-height:1.38;color:#c1cbbd}
.direction-plate>.ico {position:absolute;bottom:22px;right:16px;color:#d5e3cb;width:16px}
.route-cards {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.route-card {display:flex;gap:13px;align-items:center;min-height:88px;padding:16px;border:1px solid var(--line);border-radius:9px;background:var(--sheet)}
.route-symbol {display:grid;place-items:center;flex:none;width:40px;height:40px;background:#26301e;color:var(--lime);border-radius:9px}
.route-card>span:nth-child(2){display:grid;gap:5px}
.route-card strong {font-size:16px;line-height:1.3}
.route-card small {font-size:13px;color:var(--soft)}
.route-card>.ico {width:15px;margin-left:auto}
.direction-plate:hover,.subject-card:hover,.route-card:hover {border-color:#879b71}
.directory-intro {display:flex;align-items:center;justify-content:space-between;gap:32px;padding:18px 0 30px;border-bottom:1px solid var(--line)}
.directory-intro h1,.library-title h1,.learning-page .page-title h1,.collection-cover h1 {font-size:clamp(43px,4.5vw,68px);font-weight:650;letter-spacing:-.061em;line-height:1.02;margin:0;color:var(--ink)}
.directory-intro p,.collection-cover p {margin:10px 0 0;color:var(--soft);font-size:16px;line-height:1.5}
.directory-intro .guide-search {width:min(38%,420px);border-radius:8px;background:#171d18;border-color:#444d41}
.atlas-directory-layout {display:grid;grid-template-columns:clamp(165px,19%,240px) minmax(0,1fr);gap:clamp(24px,3vw,44px);margin-top:28px}
.direction-index {align-self:start;position:sticky;top:calc(var(--bar) + 20px)}
.direction-index h2 {color:#c4ccc0;font-size:16px;margin:0 0 12px;letter-spacing:-.015em}
.direction-index nav {display:grid;gap:3px}
.direction-index a {display:flex;min-height:45px;align-items:center;justify-content:space-between;gap:8px;padding:9px 12px;border:1px solid transparent;border-radius:6px;font-size:14px;line-height:1.35;color:#c0c8bc}
.direction-index a small {font-size:12px;font-variant-numeric:tabular-nums;color:#acb5a8}
.direction-index a:hover,.catalog-directions a:hover {background:#20271f}
.direction-index a[aria-current],.catalog-directions a[aria-current] {border-color:#444e3f;color:#edf2e7;background:#1e241e;box-shadow:inset 0 -2px 0 var(--lime)}
.direction-index .group-short,.catalog-directions .group-short {display:none}
.subject-section+ .subject-section {margin-top:44px;padding-top:26px;border-top:1px solid var(--line)}
.subject-section header {margin-bottom:17px}
.subject-section header>span {display:block;margin-top:6px;font-size:15px;color:var(--soft)}
.subject-cards {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.subject-card {display:flex;flex-direction:column;overflow:hidden;min-width:0;border:1px solid var(--line);border-radius:10px;background:#161b17}
.subject-art {display:block;position:relative;overflow:hidden;aspect-ratio:2/1;background:#111711;border-bottom:1px solid #30372e}
.subject-art .atlas-art {background:#101310}
.subject-art .atlas-art img {object-fit:contain;object-position:center;mix-blend-mode:lighten}
.subject-copy {display:flex;flex-direction:column;gap:6px;padding:16px 16px 19px}
.subject-copy small {color:#b8c4b1;font-size:12px;font-variant-numeric:tabular-nums}
.subject-copy strong {font-size:clamp(17px,1.38vw,21px);font-weight:650;letter-spacing:-.025em;line-height:1.2}
.subject-copy>span {color:#b7c0b2;font-size:14px;line-height:1.43}
.subject-card:hover strong {color:#d9ffa3}
.catalog-crumb {color:var(--soft)}
.library-catalog .catalog-tools {margin-top:20px}
.catalog-directions {display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:18px}
.catalog-directions a {display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:7px;color:#c6cdc1;font-size:14px}
.catalog-chapter {margin-bottom:50px}
.catalog-chapter>h2 {margin-bottom:24px;padding-bottom:14px;border-bottom:1px solid #46503e;color:#d4efb6}
.topic-shelf-heading h3 {font-size:clamp(20px,2vw,28px);font-weight:630;letter-spacing:-.036em;line-height:1.13;margin:0}
.topic-shelf+.topic-shelf {margin-top:30px}
.collection-cover,.library-title.is-collection {display:grid;grid-template-columns:58% minmax(0,1fr);align-items:center;min-height:210px;padding:32px;position:relative;isolation:isolate;overflow:hidden;border:1px solid var(--line);border-radius:12px;background:#171d17}
.collection-cover>div:first-child,.library-title.is-collection .library-title-copy {position:relative;z-index:1;width:100%;min-width:0}
.collection-cover h1,.is-collection h1 {font-size:clamp(37px,4.2vw,60px)}
.collection-print {display:block;position:absolute;z-index:-1;inset:0 0 0 60%;mix-blend-mode:lighten}
.collection-print::after {content:'';inset:0;position:absolute;background:linear-gradient(90deg,#171d17 0%,transparent 38%)}
.collection-cover .section-kicker {font-size:13px;margin:0 0 9px;color:var(--lime)}
.collection-cover .hero-play {margin-top:16px}
.collection-print .atlas-art img {object-fit:contain;mix-blend-mode:lighten}
.route-index {margin-top:28px}
.route-index>span {font-size:14px;color:var(--soft)}
.film-preview {border:1px solid #353e31;border-radius:9px}
.film-preview img,.studio .studio-cover img {object-fit:contain}
.film-grid .film-save {min-width:44px;min-height:44px}
.film-done {display:inline-flex;vertical-align:middle;margin-left:5px;color:var(--lime)}
.film-done .ico {width:16px;height:16px}
.theatre-toggle {display:none}
@media(min-width:861px) {
  .studio .theatre-toggle {display:inline-flex;align-items:center;gap:7px;margin-left:auto;padding:7px 11px;min-height:44px;font-size:13px}
  .studio .theatre-toggle[aria-pressed=true] {border-color:#71865b;color:#d3f2ad}
  .studio.wide-player .studio-grid {grid-template-columns:minmax(0,1fr)}
  .studio.wide-player .studio-sequence {display:none}
}
.studio .subject-navigation {position:relative;top:auto;justify-content:space-between;background:transparent;border:0;gap:12px;padding:0;margin:0 0 12px}
.lesson-location {display:flex;align-items:center;gap:8px;font-size:14px;color:#bdc6b7;min-width:0}
.lesson-location .ico {width:12px;flex:none}
.lesson-location a:last-child {color:#e0e5db}
.all-subjects summary {border:1px solid var(--line);min-height:44px;border-radius:7px;background:#1b211c}
.subject-menu {left:auto;right:0;width:min(100%,865px);grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:18px}
.subject-menu-group p {color:#c4dca7;margin:3px 8px 6px;font-size:14px;font-weight:650}
.subject-menu a {min-height:44px;font-size:14px}
.studio .studio-meta {margin-bottom:8px}
.studio .studio-title {max-width:34ch;font-size:clamp(32px,3.15vw,48px);line-height:1.04;letter-spacing:-.044em;font-weight:650}
.studio .studio-intro {margin:19px 0 15px}
.studio .studio-kicker::before {display:none}
.studio .studio-intro p {font-size:15px;max-width:60ch}
.studio .studio-frame {border:1px solid #41483d;border-radius:11px}
.studio .studio-cover {background:#101510}
.studio .studio-cover .video-cover-play {min-width:44px;min-height:44px}
@media(orientation:landscape) and (max-height:500px) and (max-width:900px) {
  .studio .studio-frame {width:min(100%,calc((100svh - 140px)*16/9));margin-inline:auto}
}
@media(orientation:landscape) and (max-height:500px) and (max-width:640px) {
  body:has(.studio-frame) .topbar {display:none}
  body:has(.studio-frame) #main {padding-top:5px}
  .studio .studio-frame {width:min(100%,calc((100svh - 135px)*16/9))}
}
.studio .studio-contents-link {min-height:44px}
.studio .studio-toolbar {padding-inline:0}
.studio .moment-note {min-height:44px;gap:6px;font-size:14px}
.studio .moment-note time {color:#c5dab5;font-size:12px;font-variant-numeric:tabular-nums}
.studio .studio-feedback:not([open]) {display:none}
.studio .studio-watched {background:#191f19;border:1px solid #424b40;border-radius:7px}
.studio .studio-watched[aria-pressed=true] {background:#26331e;border-color:#61794f}
.studio .studio-chapter .lesson-row-main {grid-template-columns:36px minmax(0,1fr) auto;gap:9px;min-height:53px}
.studio .studio-chapter .chapter-number {width:33px;height:31px;display:grid;place-items:center;border:1px solid #3d453b;border-radius:6px;background:#1a1e1a;color:#c5cdbf;font-size:13px;font-weight:650;font-variant-numeric:tabular-nums}
.studio .is-current .chapter-number {background:#c0f15a;color:#142008;border-color:#c0f15a}
.studio .studio-chapter .row-text strong {font-size:13px;line-height:1.34}
.studio .studio-chapter .chapter-state {font-size:11px;color:#c3d2b4}
.studio .is-current .chapter-state {color:#c9f39a}
.studio .studio-icon-action {min-width:44px;min-height:44px}
.dock [aria-current] {color:var(--lime)}
.quick-link,.search-suggestions button {min-height:44px}
.learning-page .learning-stats {grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.learning-page .learning-stats a {background:var(--sheet);border-color:var(--line);border-radius:10px}
.learning-page .learning-empty .hero-play {margin-top:15px}
.missing-lesson {margin-top:clamp(40px,9vw,100px);max-width:640px}
.missing-lesson h1 {font-size:clamp(30px,3.4vw,48px);letter-spacing:-.04em;margin:0 0 10px}
.missing-lesson .hero-play {margin-top:20px}
@media(max-width:1000px) {
  .subject-cards {grid-template-columns:repeat(2,minmax(0,1fr))}
  .direction-caption {padding:15px 27px 15px 14px}
  .direction-caption small {font-size:13px}
  .top-inner .top-nav {gap:18px;margin-left:14px}
  .top-inner .header-search {width:auto}
}
@media(max-width:760px) {
  :root {--bar:57px}
  .top-inner {padding-inline:16px}
  .top-inner .top-nav {display:none}
  .top-inner .header-search {display:none}
  .brand img {width:94px}
  .brand span {font-size:15px}
  #main {padding:14px 16px calc(86px + env(safe-area-inset-bottom))}
  .dock {grid-template-columns:repeat(5,minmax(0,1fr))}
  .dock a,.dock button {min-height:49px}
  .hero-text {width:66%;padding:24px}
  .hero-text h1 {font-size:clamp(46px,7.5vw,60px)}
  .direction-plates {grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .direction-plate,.direction-plate:nth-child(n+4) {grid-column:span 1;min-height:147px}
  .direction-plate:last-child {grid-column:1/-1;min-height:99px}
  .route-cards {grid-template-columns:1fr}
  .directory-intro {display:block;padding:10px 0 19px}
  .directory-intro h1,.library-title h1 {font-size:41px}
  .directory-intro .guide-search {width:100%;margin-top:13px;max-width:none}
  .atlas-directory-layout {display:block;margin-top:0}
  .direction-index {position:static;padding:14px 0 20px}
  .direction-index h2 {display:none}
  .direction-index nav {display:flex;flex-wrap:wrap;gap:5px}
  .direction-index a {min-height:44px;padding:7px 10px;background:#181e18;border-color:#373f34}
  .direction-index a small {display:none}
  .direction-index .group-long,.catalog-directions .group-long {display:none}
  .direction-index .group-short,.catalog-directions .group-short {display:inline}
  .subject-section+ .subject-section {margin-top:25px;padding-top:20px}
  .subject-section header>span {font-size:14px}
  .collection-cover,.library-title.is-collection {padding:20px;min-height:172px}
  .collection-cover,.library-title.is-collection {grid-template-columns:63% minmax(0,1fr)}
  .collection-print {left:62%}
  .catalog-directions {gap:5px}
  .catalog-directions a {font-size:13px;padding:7px 10px}
  .studio .studio-title {max-width:36ch;font-size:clamp(26px,5.5vw,35px);line-height:1.09}
  .studio .studio-intro {margin-bottom:13px}
  .subject-menu {width:100%;max-height:64dvh;grid-template-columns:repeat(2,minmax(0,1fr));padding:10px;gap:8px}
}
@media(max-width:520px) {
  .atlas-hero {min-height:0;align-items:start;border-radius:11px;background:#101410}
  .hero-text {width:100%;padding:18px 16px}
  .hero-text h1 {position:relative;width:max-content;max-width:100%;font-size:clamp(43px,10.8vw,55px);line-height:.96;margin:17px 0 20px}
  .hero-text h1 em {display:block}
  .hero-scope {font-size:12px;gap:7px}
  .hero-print {inset:0 -5% auto 35%;height:clamp(146px,43vw,174px)}
  .hero-print::after {background:linear-gradient(90deg,#101410 0%,#10141059 16%,transparent 37%),linear-gradient(0deg,#101410 0%,transparent 28%)}
  .hero-deck {max-width:34ch;font-size:15px;line-height:1.43}
  .hero-text .hero-play {margin-top:15px;min-height:44px;font-size:14px;padding:10px 14px}
  .hero-resume {font-size:12px;margin:6px 0 0}
  .atlas-heading {gap:10px;align-items:center;margin-bottom:11px}
  .atlas-heading h2,.subject-section h2,.catalog-chapter>h2 {font-size:26px;line-height:1.08}
  .atlas-heading>a {font-size:13px;gap:3px;flex:none}
  .atlas-heading>a .ico {width:13px}
  .atlas-section {margin-top:27px}
  .direction-section .atlas-heading h2 {max-width:11ch}
  .direction-plate,.direction-plate:nth-child(n+4),.direction-plate:last-child {grid-column:1/-1;min-height:80px;align-items:center}
  .direction-plate .direction-art {inset:4px 6px 4px auto;width:32%;mix-blend-mode:lighten}
  .direction-plate .atlas-art img {object-fit:contain}
  .direction-art::after {background:linear-gradient(90deg,#151b16,transparent 32%)}
  .direction-caption {width:76%;padding:13px 7px 13px 14px}
  .direction-caption strong {font-size:18px}
  .direction-caption small {font-size:13px;line-height:1.3}
  .direction-plate>.ico {display:none}
  .subject-cards {grid-template-columns:1fr;gap:8px}
  .subject-card {flex-direction:row;align-items:stretch;min-height:100px}
  .subject-art {flex:0 0 32%;min-height:96px;aspect-ratio:auto;border-bottom:0;border-right:1px solid var(--line)}
  .subject-copy {padding:12px;gap:4px;justify-content:center}
  .subject-copy strong {font-size:17px}
  .subject-copy>span {font-size:13px;line-height:1.35}
  .directory-intro p {font-size:14px}
  .studio .subject-navigation {margin-bottom:8px}
  .lesson-location {font-size:13px;gap:4px}
  .studio .all-subjects summary {font-size:13px;padding:0 8px}
  .studio .studio-meta {margin-bottom:6px}
  .studio .studio-intro p {margin-block:6px 0;font-size:14px}
  .studio .studio-chapters {max-height:none}
  .studio .studio-share-tools {gap:3px}
  .studio .moment-note {padding:7px;min-width:44px}
  .studio .studio-actions {flex-wrap:wrap}
  .learning-page .learning-stats {gap:6px}
  .learning-page .learning-stats a {padding:11px;min-height:90px}
  .learning-page .learning-stats span {font-size:12px}
  .learning-page .learning-stats .ico {display:none}
  .library-catalog .topic-shelf>.film-grid,.latest-section .film-grid,.library-catalog #list-results>.film-grid,.route-page .film-grid {
    grid-template-columns:1fr;grid-auto-flow:row;grid-auto-columns:auto;overflow:visible;margin:0;padding:0;gap:7px}
  .library-catalog .film-grid .film-link,.latest-section .film-link,.route-page .film-link {
    display:grid;grid-template-columns:clamp(110px,41vw,168px) minmax(0,1fr);gap:10px;align-items:center;min-height:89px}
  .library-catalog .film-grid .film-info,.latest-section .film-info,.route-page .film-info {padding:5px 30px 5px 0}
  .library-catalog .film-name,.latest-section .film-name,.route-page .film-name {font-size:15px;line-height:1.26}
  .library-catalog .film-grid .film-save,.latest-section .film-save,.route-page .film-save {inset:50% -5px auto auto;transform:translateY(-50%);min-width:44px;width:44px}
  .topic-shelf-heading h3 {font-size:20px}
  .catalog-chapter>h2 {margin-bottom:14px}
  .catalog-chapter {margin-bottom:27px}
  .collection-cover .hero-play {font-size:14px}
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {scroll-behavior:auto!important}
}
@media(max-width:335px) {
  .hero-print {left:41%}
}
@media(min-width:521px) and (max-width:1150px) {
  .atlas-hero {grid-template-columns:48% 52%;min-height:clamp(280px,36vw,368px)}
  .hero-text {grid-column:1;width:100%;padding:clamp(20px,3.4vw,40px);padding-right:6px}
  .hero-text h1 {font-size:clamp(48px,5.9vw,68px)}
  .hero-text h1 em {display:inline-block}
  .hero-print {left:49%}
  .hero-print::after {background:linear-gradient(90deg,#111712,transparent 16%)}
}
@media(min-width:641px) and (max-width:810px) {
  .top-inner .top-nav {display:flex;gap:12px;margin-left:8px}
  .top-inner .top-nav a {font-size:13px}
  .top-inner .header-search {display:inline-flex;justify-content:center;width:44px}
  .top-inner .header-search kbd,.top-inner .header-search-label,.top-inner .header-saved {display:none}
}

/* The library pairs an editorial opening with compact navigation for returning learners. */
:root {--page-black:#0c0e0d;--r2-ink:#f6f6f1;--r2-muted:#b1b8af;--r2-line:#323731;--r2-lime:#bafd3c}
body {background:var(--page-black)}
.topbar {background:rgba(12,14,13,.97);border-color:#262b26}
.top-nav a[aria-current] {color:#f6f8f1}
.directory-intro {padding-block:18px 24px}
.directory-intro .guide-search,.catalog-tools .catalog-search {border-radius:12px}
.atlas-directory-layout {grid-template-columns:minmax(172px,205px) minmax(0,1fr)}
.direction-index nav {border-left:1px solid #30362e;padding-left:9px}
.direction-index a[aria-current] {border-color:transparent;background:#191e19;box-shadow:inset 2px 0 0 var(--r2-lime)}
.subject-cards {grid-template-columns:repeat(2,minmax(0,1fr));gap:0 22px}
.subject-card {position:relative;display:grid;grid-template-columns:minmax(88px,30%) minmax(0,1fr);align-items:center;gap:15px;border:0;border-top:1px solid var(--r2-line);border-radius:0;background:transparent;padding:16px 1px;min-height:126px}
.subject-card:hover {background:#131713}
.subject-art {width:100%;height:auto;min-height:0;aspect-ratio:1.34;border:0;border-radius:9px;background:#191d19}
.subject-art .atlas-art {background:#171b17}
.subject-copy {padding:0;align-self:center;gap:6px}
.subject-copy strong {font-size:clamp(17px,1.36vw,21px);line-height:1.18;letter-spacing:-.031em}
.subject-copy>span {font-size:14px;line-height:1.38;color:#bdc4b9}
.subject-copy small {display:block;font-size:12px;color:#b4bdae;font-variant-numeric:tabular-nums}
.subject-copy i {font-style:normal;margin-inline:3px}
.subject-section+ .subject-section {border-top:0;margin-top:34px;padding-top:0}
.catalog-chapter>h2 {color:var(--r2-ink);border-color:#30362e}
.library-catalog .film-card .film-preview {border-radius:10px}
.catalog-directions a {border-radius:24px}
.catalog-directions a[aria-current] {background:#c1f66a;border-color:#c1f66a;color:#11160e;box-shadow:none}
.catalog-tools .library-filter-toggle {border-radius:10px}
.search-recovery {padding:12px 4px}
.search-recovery p {margin:0 0 10px}
.search-recovery a {display:inline-flex;align-items:center;min-height:44px;text-decoration:underline;text-underline-offset:4px;color:#d8eeac}
.library-entry.atlas-hero {display:grid;grid-template-columns:minmax(0,1.52fr) minmax(0,1fr);align-items:stretch;gap:clamp(28px,4vw,68px);min-height:0;border:0;border-radius:0;overflow:visible;background:transparent}
.entry-desk {display:grid;gap:12px;min-width:0}
.entry-mast {isolation:isolate;position:relative;overflow:hidden;border:1px solid #343933;border-radius:16px;background:#080908;padding:clamp(22px,2.3vw,34px);display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;min-height:clamp(208px,17vw,258px)}
.entry-atlas {position:absolute;z-index:-2;inset:0;width:100%;height:100%;object-fit:contain;object-position:right center}
.entry-mast::after {content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,#0c0e0d 3%,#0c0e0df5 28%,#0c0e0d6e 62%,transparent 82%)}
.entry-size,.entry-film-info small,.entry-index-links small {font-variant-numeric:tabular-nums}
.entry-size {font-size:13px;line-height:1.4;color:#d2d8cb}
.entry-size b,.entry-film-info b {font-weight:400;margin:0 4px}
.entry-mast h1 {margin:8px 0 23px;font-size:clamp(44px,4.6vw,70px);line-height:.96;font-weight:665;letter-spacing:-.069em;color:var(--r2-ink)}
.entry-mast h1 em {font-style:normal;color:var(--r2-lime)}
.entry-search {display:flex;align-items:center;gap:9px;width:min(79%,545px);min-height:52px;padding:4px 5px 4px 14px;border:1px solid #676d61;border-radius:10px;background:#1a1d19;color:#d3dcce}
.entry-search:focus-within {border-color:var(--r2-lime);outline:1px solid var(--r2-lime)}
.entry-search-label {display:grid;place-items:center;align-self:stretch;cursor:text}
.entry-search-label .ico {width:20px;height:20px}
.entry-search input[type=search] {flex:1;align-self:stretch;min-width:0;min-height:44px;width:100%;color:var(--r2-ink);font-size:16px;background:transparent;border:0;outline:none;line-height:1.3}
.entry-search input::placeholder {color:#b9c1b3}
.entry-search button {display:grid;place-items:center;flex:none;min-width:44px;height:44px;border:0;border-radius:7px;background:var(--r2-lime);color:#102004}
.entry-film {display:grid;grid-template-columns:minmax(0,34%) minmax(0,1fr);gap:clamp(13px,1.7vw,25px);align-items:center;overflow:hidden;border:1px solid #d8dace;border-radius:13px;background:#eceee4;color:#20261d;padding:15px}
.entry-film:hover {background:#f7f8ef;border-color:#fff}
.entry-poster {display:block;position:relative;aspect-ratio:16/9;overflow:hidden;border-radius:7px;background:#121710}
.entry-poster img {width:100%;height:100%;object-fit:contain}
.entry-poster progress {position:absolute;inset:auto 0 0;width:100%;height:4px;border:none;accent-color:#8cb32a}
.entry-film-info {display:grid;gap:7px;justify-items:start;min-width:0}
.entry-film-info small {color:#52594c;font-size:12px;line-height:1.35}
.entry-film-info strong {font-size:clamp(18px,1.55vw,25px);letter-spacing:-.035em;line-height:1.13;font-weight:660;overflow-wrap:anywhere}
.entry-action {display:inline-flex;align-items:center;gap:5px;min-height:29px;padding:3px 10px 3px 7px;border-radius:6px;background:#252b20;color:#f8faf3;font-size:13px;font-weight:640;line-height:1.4}
.entry-action .ico {width:15px;height:15px;color:var(--r2-lime);fill:currentColor;stroke-width:1}
.entry-index {min-width:0;align-self:center}
.entry-index-heading {display:flex;gap:14px;align-items:center;justify-content:space-between;padding:0 0 13px}
.entry-index-heading h2,.course-links h2 {font-size:clamp(24px,2.5vw,38px);letter-spacing:-.052em;font-weight:640;line-height:1.06}
.entry-index-heading>a {display:inline-flex;align-items:center;gap:4px;color:#c1ccb8;font-size:13px;min-height:44px;white-space:nowrap}
.entry-index-heading>a .ico {width:14px}
.entry-index-links {border-bottom:1px solid var(--r2-line)}
.entry-index-links .direction-plate,.entry-index-links .direction-plate:nth-child(n) {display:grid;grid-template-columns:54px minmax(0,1fr) auto 13px;align-items:center;gap:11px;min-height:61px;border:0;border-top:1px solid var(--r2-line);border-radius:0;background:transparent;overflow:visible}
.entry-index-links .direction-plate:hover {background:#171c16}
.entry-index-art {display:block;width:54px;height:44px;mix-blend-mode:lighten}
.entry-index-art img {object-fit:contain}
.entry-index-links strong {font-size:clamp(16px,1.3vw,20px);line-height:1.2;font-weight:585;letter-spacing:-.022em}
.entry-index-links small {color:#b0baaa;font-size:12px;white-space:nowrap}
.entry-index-links .direction-plate>.ico {display:block;position:static;width:13px;height:13px;color:#b8c6ae}
.home-page .latest-section,.home-page .course-collection {max-width:1280px;margin-inline:auto}
.home-page .library-entry {max-width:1280px;margin-inline:auto}
.home-page .atlas-heading {margin-bottom:15px}
.course-collection {display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(22px,4vw,62px);align-items:stretch;padding-block:28px;border-top:1px solid var(--r2-line);scroll-margin-top:88px}
.course-plate {position:relative;min-height:220px;border-radius:11px;overflow:hidden;background:#101210}
.course-plate img {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 55%}
.course-links h2 {margin:0 0 14px}
.course-links .route-cards {display:block}
.course-links .route-card {background:transparent;min-height:58px;border:0;border-top:1px solid var(--r2-line);border-radius:0;padding:10px 4px}
.course-links .route-symbol {width:32px;height:32px;border-radius:50%;background:#20271e}
.course-links .route-card:hover strong {color:var(--r2-lime)}
@media(min-width:761px) {
  .subject-cards .subject-card:first-child:nth-last-child(odd) {grid-column:1/-1;grid-template-columns:minmax(105px,16%) minmax(0,1fr);border-top-color:#56614f}
  .subject-cards .subject-card:first-child:nth-last-child(odd) .subject-copy {max-width:62ch}
}
@media(max-width:1000px) and (min-width:761px) {
  .library-entry.atlas-hero {grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:22px}
  .entry-index-links .direction-plate:nth-child(n) {grid-template-columns:43px minmax(0,1fr) auto 11px;gap:7px;min-height:60px}
  .entry-index-art {width:43px}
  .entry-mast h1 {font-size:43px}
  .entry-film {padding:11px;gap:10px}
}
@media(max-width:760px) {
  .library-entry.atlas-hero {display:block}
  .entry-desk {gap:9px}
  .entry-index {margin-top:23px}
  .entry-mast {min-height:173px}
  .entry-mast h1 {font-size:45px;margin:8px 0 17px}
  .entry-search {width:min(85%,470px)}
  .entry-index-heading {padding-bottom:4px}
  .entry-index-links .direction-plate:nth-child(n) {min-height:48px;grid-template-columns:44px minmax(0,1fr) auto 13px;gap:9px}
  .entry-index-art {width:44px;height:37px}
  .course-collection {grid-template-columns:1fr;position:relative;padding-block:22px;gap:0}
  .course-plate {position:absolute;right:0;top:13px;width:105px;height:54px;min-height:0;border-radius:6px}
  .course-links h2 {min-height:42px;padding-right:115px;margin-bottom:13px;align-content:center}
}
@media(max-width:520px) {
  .entry-mast {padding:16px;min-height:178px}
  .entry-mast h1 {font-size:clamp(33px,8.75vw,45px);margin:8px 0 20px}
  .entry-atlas {height:91%;object-position:130% top}
  .entry-mast::after {background:linear-gradient(90deg,#0c0e0d 0%,#0c0e0df7 34%,#0c0e0d94 62%,transparent 89%)}
  .entry-search {width:100%;min-height:46px;padding:2px 3px 2px 11px;gap:6px}
  .entry-search button {height:44px}
  .entry-film {padding:10px;gap:11px;grid-template-columns:minmax(0,34%) minmax(0,1fr);border-radius:10px;min-height:114px}
  .entry-film-info {gap:5px}
  .entry-film-info strong {font-size:16px;line-height:1.2}
  .entry-film-info small,.entry-action {font-size:12px}
  .entry-index {margin-top:16px}
  .entry-index-heading h2 {font-size:26px}
  .entry-index-links .direction-plate:nth-child(n) {min-height:45px}
  .course-links h2 {font-size:24px}
}
@media(max-width:1080px) and (min-width:761px) {
  .subject-card {grid-template-columns:74px minmax(0,1fr);gap:10px}
  .subject-cards {column-gap:15px}
}
@media(max-width:760px) {
  .directory-intro {padding:6px 0 16px}
  .direction-index nav {padding:0;border:0}
  .direction-index a {border-radius:22px}
  .direction-index a[aria-current] {background:#c1f66a;color:#11160e;box-shadow:none}
  .subject-copy>span {font-size:13px}
}
@media(max-width:580px) {
  .subject-cards {grid-template-columns:1fr}
  .subject-card {grid-template-columns:clamp(84px,26vw,113px) minmax(0,1fr);min-height:98px;padding:10px 0;gap:14px}
  .subject-section header {margin-bottom:12px}
  .subject-copy {gap:4px}
  .subject-copy small {font-size:12px}
  .subject-section+ .subject-section {margin-top:30px}
}

.watch-page {
  --watch-edge: #353b34;
  --watch-muted: #b4bcb0;
  --watch-paper: #f2f4ec;
}
.watch-page .subject-navigation {margin-bottom:12px}
.watch-page .lesson-location a {display:inline-flex;align-items:center;min-height:44px}
.watch-page .all-subjects summary {background:transparent;border-color:transparent;color:#d6dccf}
.watch-page .subject-menu {z-index:8}
.watch-page .watch-deck {
  overflow:hidden;
  border:1px solid var(--watch-edge);
  border-radius:15px;
  background:#171b17;
}
.watch-page .studio-frame {border:0;border-radius:0}
.watch-page .studio-watch-progress {height:2px}
.watch-transport,.watch-steps,.watch-page .studio-contents-link,.watch-page .watch-transport .studio-step {
  display:flex;align-items:center
}
.watch-transport {min-height:57px;gap:12px;justify-content:space-between;padding:4px 13px}
.watch-steps {gap:6px;min-width:0;margin-left:auto}
.watch-page .watch-transport .studio-contents-link,.watch-page .watch-transport .studio-step,.watch-page .watch-return {
  background:transparent;color:var(--watch-paper);border:0;border-radius:6px;min-height:44px;min-width:44px;
  font-family:inherit;font-size:14px;font-weight:600;line-height:1.22;text-decoration:none;
}
.watch-page .studio-contents-link {gap:8px;margin:0;padding:6px 8px}
.watch-page .studio-contents-link .ico,.watch-page .watch-transport .ico {width:18px;height:18px;flex:none}
.watch-page .studio-contents-link small {font-size:12px;color:var(--watch-muted);font-weight:500;font-variant-numeric:tabular-nums}
.watch-page .watch-transport .previous-step {justify-content:center;padding:0;color:#c8d0c3}
.watch-page .watch-transport .previous-step .ico {transform:rotate(180deg)}
.watch-page .watch-transport .next-step {min-width:0;gap:13px;justify-content:flex-end;padding:3px 6px 3px 13px}
.watch-page .watch-transport .previous-step+.next-step {border-left:1px solid var(--watch-edge);border-radius:0 6px 6px 0}
.watch-step-copy {display:grid;gap:2px;min-width:0;text-align:right}
.watch-page .watch-step-copy small {color:var(--watch-muted);font-size:11px;font-weight:500}
.watch-page .watch-step-copy strong {display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:34ch;color:var(--watch-paper);font-size:13px}
.watch-page .watch-transport .next-step>.ico {color:var(--studio-accent)}
.watch-next-mobile,.watch-return {display:none}
.watch-page .studio-intro {margin:22px 0 16px}
.watch-page .studio-intro .studio-meta {gap:12px;min-height:32px;margin:0 0 7px}
.watch-page .studio-kicker {font-size:12px;font-weight:650;letter-spacing:.06em}
.watch-page .studio-duration,.watch-status {color:var(--watch-muted);font-size:12px;font-weight:500}
.watch-status {display:inline-flex;align-items:center;gap:6px}
.watch-status::before {content:"";width:5px;height:5px;border-radius:50%;background:#879183}
.watch-status[data-state=watching]::before,.watch-status[data-state=done]::before {background:var(--studio-accent)}
.watch-page .studio-title {color:var(--watch-paper);font-size:clamp(30px,3vw,46px);font-weight:650;line-height:1.09;letter-spacing:-.048em;text-wrap:balance}
.watch-page .studio-intro>p {line-height:1.55;max-width:68ch;margin-top:10px}
.watch-page .theatre-toggle {font-weight:550;border-color:transparent;background:transparent;border-radius:5px;color:var(--watch-muted)}
.watch-page .studio-toolbar {border:solid var(--watch-edge);border-width:1px 0;border-radius:0;background:transparent}
.watch-page .studio-actions {padding:4px 0;justify-content:flex-start;gap:6px;flex-wrap:nowrap}
.watch-page .studio-share-tools {gap:3px;min-width:0}
.watch-page .studio-watched,.watch-page .moment-note,.watch-page .studio-icon-action {
  background:transparent;color:#d7ddcf;border-color:transparent;border-radius:5px;min-height:44px
}
.watch-page .studio-watched {gap:7px;padding:5px 8px 5px 4px;line-height:1.2}
.watch-page .studio-watched .ico {color:#bdc8b8}
.watch-page .studio-watched[aria-pressed=true] {background:transparent;color:#cdf389;border-color:transparent}
.watch-page .studio-watched[aria-pressed=true] .ico {color:var(--studio-accent)}
.watch-page .moment-note {padding:5px 8px;gap:5px;font-size:13px}
.watch-page .moment-note time {font-size:12px;color:#bbc7b5}
.watch-page .studio-icon-action {color:#b8c2b4}
.watch-page .studio-icon-action.is-saved {color:var(--studio-accent)}
.watch-page .studio-feedback[open] {margin-top:12px;background:#171b17;border:1px solid var(--watch-edge);border-radius:9px}
.watch-page .studio-feedback input,.watch-page .studio-feedback textarea,.watch-page .studio-feedback button {min-height:44px}
.watch-page .studio-sequence {border:0;border-radius:0;background:transparent;overflow:visible}
.watch-page .studio-sequence-head {position:relative;padding:9px 0 16px;border-bottom:1px solid var(--watch-edge)}
.watch-page .studio-sequence .watch-rail-label {margin:0 0 6px;color:var(--watch-muted);font-size:12px;font-weight:550}
.watch-page .studio-sequence h2 {max-width:27ch;font-size:clamp(19px,1.7vw,25px);line-height:1.2;letter-spacing:-.035em}
.watch-page .studio-sequence-meter {margin-top:14px}
.watch-page .studio-sequence-meter progress {max-width:100px;height:3px}
.watch-page .studio-sequence-meter span {color:var(--watch-muted);font-size:12px}
.watch-page .studio-chapters {padding:5px 0;margin:0}
.watch-page .studio-chapter,.watch-page .studio-chapter:hover {border:0;border-radius:0}
.watch-page .studio-chapter .lesson-row-main {padding:9px 4px 9px 7px;border-left:2px solid transparent;grid-template-columns:30px minmax(0,1fr) auto;gap:9px}
.watch-page .studio-chapter.is-current {background:#1b2519;border-radius:0}
.watch-page .studio-chapter.is-current .lesson-row-main {border-left-color:var(--studio-accent)}
.watch-page .studio-chapter .chapter-number,.watch-page .is-current .chapter-number {
  height:auto;width:auto;padding:0;border:0;border-radius:0;background:transparent;font-size:12px;color:#a6b0a1
}
.watch-page .is-current .chapter-number {color:var(--studio-accent)}
.watch-page .studio-chapter .time {color:var(--watch-muted);font:500 11px/1.4 ui-monospace,monospace}
.watch-page .studio-chapter .row-text strong {font-size:14px;line-height:1.35;font-weight:560}
.watch-page .studio-chapter .chapter-state {font-size:11px}
.watch-page :is(.watch-transport button,.watch-transport a,.studio-actions button,.watch-return):focus-visible {outline:2px solid var(--studio-accent);outline-offset:-3px}
@media(hover:hover) {
  .watch-page .watch-transport :is(button,a):hover,.watch-page .studio-actions button:hover,.watch-page .theatre-toggle:hover,.watch-page .watch-return:hover {background:#242c22;color:#e1f4c9}
}
@media(max-width:860px) {
  .watch-page .studio-sequence {margin-top:14px}
  .watch-page .studio-sequence h2 {max-width:calc(100% - 86px)}
  .watch-page .watch-return {position:absolute;display:inline-flex;align-items:center;gap:6px;right:0;top:4px;padding:5px 7px;color:#d4e5c4}
  .watch-page .watch-return .ico {width:15px;height:15px}
  .watch-page .studio-grid {gap:13px}
  .watch-page .studio-chapters {max-height:none}
}
@media(max-width:640px) {
  .watch-page .subject-navigation {gap:6px;margin-bottom:7px}
  .watch-page .lesson-location,.watch-page .all-subjects summary {font-size:12px}
  .watch-page .watch-deck {border-radius:10px}
  .watch-transport {min-height:50px;gap:2px;padding:2px 5px}
  .watch-page .studio-contents-link {gap:6px;font-size:13px}
  .watch-page .watch-transport .next-step {min-width:54px;gap:6px;padding:4px 6px 4px 9px}
  .watch-page .watch-next-mobile {display:block;font-size:13px;font-weight:620;color:var(--watch-paper)}
  .watch-page .watch-step-copy {display:none}
  .watch-steps {gap:1px}
  .watch-page .studio-intro {margin:13px 0 13px}
  .watch-page .studio-intro .studio-meta {min-height:24px;margin-bottom:6px;gap:10px}
  .watch-page .studio-title {font-size:clamp(26px,7.2vw,39px);line-height:1.1}
  .watch-page .studio-intro>p {font-size:14px;line-height:1.47;margin-top:8px}
  .watch-page .studio-actions {justify-content:space-between;padding:3px 0;gap:0}
  .watch-page .studio-watched {font-size:13px;gap:5px;min-width:44px}
  .watch-page .studio-watched-long {display:none}
  .watch-page .studio-watched-short {display:inline;white-space:normal}
  .watch-page .studio-share-tools {gap:0;flex:none}
  .watch-page .moment-note {padding:5px 3px;gap:3px}
  .watch-page .studio-sequence-head {padding-top:5px}
}
@media(max-width:374px) {
  .watch-page .studio-actions {display:grid;grid-template-columns:minmax(92px,1fr) minmax(96px,1fr) 44px 44px;column-gap:0}
  .watch-page .studio-share-tools {display:contents}
  .watch-page .studio-watched {justify-content:flex-start;padding:3px 1px;gap:4px;font-size:12px}
  .watch-page .moment-note {display:grid;grid-template-columns:16px auto;grid-template-rows:auto auto;justify-content:center;align-content:center;gap:1px 4px;padding:3px 0;line-height:1.1}
  .watch-page .moment-note .ico {grid-row:1 / 3;align-self:center;width:16px}
  .watch-page .moment-note span,.watch-page .moment-note time {grid-column:2;text-align:left;font-size:12px}
}
@media(max-width:309px) {
  .watch-page .studio-actions {grid-template-columns:repeat(2,minmax(0,1fr));gap:2px}
  .watch-page .studio-actions>button,.watch-page .studio-share-tools>button {justify-self:stretch;width:100%;justify-content:flex-start;padding-inline:4px}
  .watch-page .studio-share-tools>.studio-icon-action {display:flex;align-items:center;gap:6px}
  .watch-page [data-save]::after {content:"Сохранить";font-size:12px}
  .watch-page [data-save][aria-pressed=true]::after {content:"В избранном"}
  .watch-page [data-action=copy]::after {content:"Ссылка";font-size:12px}
  .watch-page .watch-transport .studio-contents-link small {display:none}
}
