/* WeType 1.5.26.70 — course-only integrated sticky header.
   No change to global header, lesson workspace, authorisation or personal data. */
body.wt67-course-page{
 --wt70-shell-width:1280px;
 background:radial-gradient(ellipse 95% 390px at 50% -65px,rgba(64,142,242,.16),transparent 89%),linear-gradient(180deg,#eaf3fc 0,#f4f8fd 670px,#f8fbff 1200px)!important;
}
body.wt67-course-page .wt-shell-header-holder{
 width:min(var(--wt70-shell-width),calc(100% - 32px));
 margin-inline:auto;position:sticky!important;top:0;
 z-index:1050;border:1px solid rgba(113,164,215,.30);border-top:0;
 border-bottom-color:transparent;border-radius:0 0 15px 15px;
 background:linear-gradient(120deg,rgba(242,249,255,.97),rgba(224,240,254,.93))!important;
 box-shadow:none!important;
 transition:border-radius .23s ease,border-color .23s ease,box-shadow .23s ease,background .23s ease;
}
body.wt67-course-page .wt-shell-header{
 background:transparent!important;color:var(--wt-ink);
}
body.wt67-course-page .wt-shell-header::before{display:none!important}
body.wt67-course-page .wt-shell-header__inner{max-width:var(--wt70-shell-width);min-height:72px;padding-inline:clamp(13px,2.3vw,32px)}
body.wt67-course-page .wt-shell-primary__list>li>a{border-radius:11px}
body.wt67-course-page .wt-shell-primary__list>li.current-menu-item>a,
body.wt67-course-page .wt-shell-primary__list>li.current-menu-ancestor>a{background:rgba(39,112,205,.10);color:#12519d!important}
body.wt67-course-page .wt-shell-signin{box-shadow:0 4px 15px rgba(37,106,188,.07)}
body.wt67-course-page .wt67-course{margin-top:1px!important;}
/* A readable floating navigation emerges on scroll, retaining the original sticky semantics. */
body.wt67-course-page.wt70-scrolled .wt-shell-header-holder{
 border-color:rgba(94,151,219,.52);border-radius:0 0 20px 20px;
 background:rgba(248,252,255,.94)!important;
 box-shadow:0 18px 40px rgba(15,58,116,.17)!important;
 -webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);
}
body.wt67-course-page.wt70-scrolled .wt-shell-header__inner{min-height:64px}
body.wt67-course-page .wt-shell-popover__panel{background:var(--wt-surface);border:1px solid var(--wt-border)}
body.wt67-course-page.admin-bar .wt-shell-header-holder{top:32px}
html[data-wt-public-theme="dark"] body.wt67-course-page{
 background:radial-gradient(ellipse 100% 400px at 50% -100px,rgba(23,108,182,.20),transparent 88%),linear-gradient(180deg,#071b2c,#081b2e 720px,#071627 1350px)!important;
}
html[data-wt-public-theme="dark"] body.wt67-course-page .wt-shell-header-holder{
 background:linear-gradient(110deg,rgba(10,33,54,.96),rgba(9,39,66,.94))!important;
 border-color:rgba(78,146,205,.28);border-bottom-color:transparent;
}
html[data-wt-public-theme="dark"] body.wt67-course-page.wt70-scrolled .wt-shell-header-holder{
 background:rgba(9,29,49,.95)!important;border-color:rgba(88,166,232,.38);
 box-shadow:0 18px 40px rgba(0,0,0,.32)!important;
}
html[data-wt-public-theme="dark"] body.wt67-course-page .wt-shell-primary__list>li.current-menu-item>a,
html[data-wt-public-theme="dark"] body.wt67-course-page .wt-shell-primary__list>li.current-menu-ancestor>a{background:rgba(73,160,239,.15);color:#8fd8ff!important}
@media(max-width:782px){body.wt67-course-page.admin-bar .wt-shell-header-holder{top:46px}}
@media(max-width:620px){
 body.wt67-course-page .wt-shell-header-holder{width:calc(100% - 16px);border-radius:0 0 14px 14px}
 body.wt67-course-page .wt-shell-header__inner{min-height:62px;padding-inline:11px}
 body.wt67-course-page .wt67-course{margin-top:0!important}
 body.wt67-course-page.wt70-scrolled .wt-shell-header-holder{border-radius:0 0 16px 16px}
}
@media(prefers-reduced-transparency:reduce){body.wt67-course-page.wt70-scrolled .wt-shell-header-holder{backdrop-filter:none;-webkit-backdrop-filter:none}}
@media(prefers-reduced-motion:reduce){body.wt67-course-page .wt-shell-header-holder,body.wt67-course-page .wt-shell-header__inner{transition:none!important}}
