/* Shared site shell, scoped to avoid changing page forms and legacy content. */
body.ds-v25 .ds-shared-header {height:98px;min-height:0;display:block;padding:0}
body.ds-v25 .ds-shared-header>.rs-wrap {display:grid;grid-template-columns:158px minmax(0,1fr) auto;gap:36px;align-items:center;height:100%;width:min(1280px,calc(100% - 96px));margin:auto}
body.ds-v25 .ds-shared-header .rs-logo img {width:158px;height:auto;max-height:56px}
body.ds-v25 .ds-shared-header nav {display:flex;position:static;margin:0;padding:0;gap:32px;justify-content:center;align-items:center;flex-wrap:nowrap;font-size:18px;line-height:1.3;width:auto;background:none}
body.ds-v25 .ds-shared-header nav a {white-space:nowrap;padding:10px 0}
body.ds-v25 .ds-shared-header .rs-contact {font-size:16px;padding:15px 23px;gap:20px}
body.ds-v25 .ds-shared-header .rs-menu {display:none}
body.ds-v25 .ds-shared-footer {padding:48px 0 24px;background:#f6f8f7;border-top:1px solid #dce5e0;clear:both}
body.ds-v25 .ds-shared-footer .container {width:min(1280px,calc(100% - 96px));margin:auto;padding:0}
body.ds-v25 .ds-shared-footer .footer__inner {display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:48px;align-items:start}
body.ds-v25 .ds-shared-footer .footer__brand img {display:block;width:158px;height:auto;max-height:56px}
body.ds-v25 .ds-shared-footer .footer__tagline {max-width:260px;margin:18px 0 0;font-size:15px;line-height:1.5;color:#43554b}
body.ds-v25 .ds-shared-footer h4 {margin:0 0 20px;font-size:16px;font-weight:650;letter-spacing:0;line-height:1.4;text-transform:none;color:#0c1b15}
body.ds-v25 .ds-shared-footer ul {display:block;margin:0;padding:0;list-style:none}
body.ds-v25 .ds-shared-footer li {display:block;margin:0 0 12px;padding:0;border:0;background:none;font-size:15px;line-height:1.5}
body.ds-v25 .ds-shared-footer li::before {content:none}
body.ds-v25 .ds-shared-footer a {color:#0c1b15;font-size:15px;text-decoration:none}
body.ds-v25 .ds-shared-footer a:hover {color:var(--page-accent-text,#126b4d)}
body.ds-v25 .ds-shared-footer .footer__bottom {display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-top:32px;padding-top:24px;border-top:1px solid #dce5e0;font-size:13px;line-height:1.5}
body.ds-v25 .ds-shared-footer .footer__bottom a {font-size:13px}
body.ds-v25.ds-checkout .page {min-height:calc(100svh - 98px)}
body.ds-v25.ds-onosamo .ds-course-subheader {position:sticky;top:98px;z-index:40;background:#fff;border-bottom:1px solid #dce5e0}
body.ds-v25.ds-onosamo .ds-course-subheader>.rs-wrap {display:flex;align-items:center;gap:24px;min-height:68px;padding-block:10px}
body.ds-v25.ds-onosamo .ds-course-subheader .site-nav {display:flex;position:static;flex:1;flex-wrap:nowrap;overflow-x:auto;gap:24px;justify-content:flex-start;margin:0;padding:0;background:none;width:auto;min-width:0}
body.ds-v25.ds-onosamo .ds-course-subheader .nav-link {flex:0 0 auto;white-space:nowrap;font-size:14px;line-height:1.4;padding:8px 0}
body.ds-v25.ds-onosamo .ds-course-subheader .btn {flex:0 0 auto;padding:11px 20px;min-height:42px;font-size:14px}
body.ds-v25.ds-onosamo main [id] {scroll-margin-top:180px}
body.ds-v25.ds-onosamo .ds-product-hero .ds-window-screen img {transform:scale(1.4)}
body.ds-v25.ds-onosamo .course-author__photo {position:relative;align-self:center;width:100%;max-width:420px;margin:0 auto;aspect-ratio:1;height:auto}
body.ds-v25.ds-onosamo .course-author__photo img {position:absolute;inset:0;display:block;width:100%;height:100%;max-height:none;object-fit:contain;object-position:center}
/* Reviews: two cards per page, explicit controls and numbered pagination. */
body.ds-v25.ds-onosamo .review-grid.ds-review-carousel {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:stretch}
body.ds-v25.ds-onosamo .ds-review-carousel .review-card {display:flex;flex-direction:column;min-width:0;margin:0;padding:28px}
body.ds-v25.ds-onosamo .ds-review-carousel .review-card blockquote {margin:0 0 24px;font-size:19px;line-height:1.55;color:#0c1b15}
body.ds-v25.ds-onosamo .ds-review-carousel .review-card>div {margin-top:auto}
body.ds-v25.ds-onosamo .ds-review-carousel .review-card cite {font-size:17px;font-style:normal;font-weight:700;color:#0c1b15}
body.ds-v25.ds-onosamo .ds-review-carousel .review-card span {display:block;color:#43554b;font-size:14px}
body.ds-v25.ds-onosamo .ds-review-carousel .review-button {align-self:flex-start;margin-top:18px;color:#126b4d;font-size:14px}
.ds-review-controls {display:flex;align-items:center;justify-content:center;gap:24px;margin-top:28px}
.ds-review-controls button {display:grid;place-items:center;flex:0 0 auto;min-width:42px;height:42px;padding:0;border:1px solid #b7c5bd;border-radius:50%;background:#fff;color:#126b4d;font-size:17px;line-height:1;cursor:pointer}
.ds-review-controls button:hover {background:#effaf4}
.ds-review-controls button:disabled {opacity:.35;cursor:default}
.ds-review-pages {display:flex;gap:8px;flex-wrap:wrap;justify-content:center}
.ds-review-pages button {min-width:32px;height:32px;font-size:13px;border-color:transparent;background:transparent}
.ds-review-pages button[aria-current="page"] {background:#126b4d;color:#fff}
.ds-review-status {text-align:center;margin:12px 0 0;color:#43554b;font-size:13px}
@media(max-width:1100px){
 body.ds-v25 .ds-shared-header>.rs-wrap {width:calc(100% - 56px);grid-template-columns:158px 1fr auto;gap:20px}
 body.ds-v25 .ds-shared-header .rs-contact {justify-self:end}
 body.ds-v25 .ds-shared-header .rs-menu {display:block}
 body.ds-v25 .ds-shared-header nav {display:none;position:absolute;top:100%;left:0;right:0;width:100%;background:#fff;padding:20px 28px;border-bottom:1px solid #dce5e0}
 body.ds-v25 .ds-shared-header nav.is-open {display:flex;flex-direction:column;align-items:flex-start;gap:12px}
 body.ds-v25 .ds-shared-footer .footer__inner {gap:28px;grid-template-columns:repeat(2,minmax(0,1fr))}
 body.ds-v25.ds-onosamo .ds-course-subheader>.rs-wrap {gap:16px}
}
@media(max-width:760px){
 body.ds-v25 .ds-shared-header {height:76px}
 body.ds-v25 .ds-shared-header>.rs-wrap {width:calc(100% - 40px);grid-template-columns:118px 1fr 42px;gap:12px}
 body.ds-v25 .ds-shared-header .rs-logo img {width:118px}
 body.ds-v25 .ds-shared-header .rs-contact {padding:12px 16px;font-size:13px;gap:8px}
 body.ds-v25 .ds-shared-header .rs-contact span {display:none}
 body.ds-v25 .ds-shared-footer .container {width:calc(100% - 40px)}
 body.ds-v25 .ds-shared-footer .footer__inner {grid-template-columns:1fr 1fr;gap:32px 20px}
 body.ds-v25 .ds-shared-footer .footer__inner>div:first-child {grid-column:1/-1}
 body.ds-v25 .ds-shared-footer .footer__bottom {display:block}
 body.ds-v25 .ds-shared-footer .footer__bottom a {display:block;margin-top:12px}
 body.ds-v25.ds-checkout .page {min-height:calc(100svh - 76px)}
 body.ds-v25.ds-onosamo .ds-course-subheader {top:76px}
 body.ds-v25.ds-onosamo .ds-course-subheader>.rs-wrap {display:block;padding-block:8px;min-height:0}
 body.ds-v25.ds-onosamo .ds-course-subheader .site-nav {gap:20px}
 body.ds-v25.ds-onosamo .ds-course-subheader .btn {display:none}
 body.ds-v25.ds-onosamo main [id] {scroll-margin-top:135px}
 body.ds-v25.ds-onosamo .review-grid.ds-review-carousel {grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 body.ds-v25.ds-onosamo .ds-review-carousel .review-card {padding:16px}
 body.ds-v25.ds-onosamo .ds-review-carousel .review-card blockquote {font-size:15px;line-height:1.5}
 body.ds-v25.ds-onosamo .ds-review-carousel .review-card cite {font-size:15px}
 body.ds-v25.ds-onosamo .ds-review-carousel .review-card span {font-size:12px}
 .ds-review-controls {gap:8px}
 .ds-review-pages {gap:2px}
}
/* The shell also stands on its own on slide viewers and payment pages. */
body.ds-v25 .ds-shared-header {position:sticky;top:0;z-index:50;width:100%;background:#fff;border-bottom:1px solid #dce5e0;color:#0c1b15;font-family:Onest,Arial,sans-serif;box-sizing:border-box}
body.ds-v25 .ds-shared-header .rs-logo {display:block;line-height:1}
body.ds-v25 .ds-shared-header nav a {font-size:inherit;line-height:inherit;font-weight:500;color:#0c1b15;text-decoration:none;border-bottom:2px solid transparent}
body.ds-v25 .ds-shared-header nav a[aria-current="page"] {border-color:var(--page-accent,#2ecc82)}
body.ds-v25 .ds-shared-header nav a:hover {color:var(--page-accent-text,#126b4d)}
body.ds-v25 .ds-shared-header .rs-contact {display:inline-flex;align-items:center;justify-content:center;border-radius:100px;background:var(--page-accent,#2ecc82);color:#0c1b15;font-weight:700;text-decoration:none;white-space:nowrap}
body.ds-v25.page-lab .ds-shared-header .rs-contact {color:#fff}
body.ds-v25 .ds-shared-header .rs-menu {width:42px;height:42px;padding:0;border:1px solid #dce5e0;border-radius:50%;background:#fff;color:#0c1b15;font-size:22px;line-height:1;cursor:pointer}
body.ds-v25 .ds-shared-footer {font-family:Onest,Arial,sans-serif;color:#0c1b15;box-sizing:border-box}
body.ds-v25 .ds-shared-footer .footer__bottom span {font-size:13px;color:#61716a}
body.ds-v25.page-deck {height:auto;min-height:100%;overflow-x:hidden;overflow-y:auto}
body.ds-v25.page-deck .deck {height:calc(100svh - 98px);min-height:520px}
@media(max-width:760px){body.ds-v25.page-deck .deck {height:calc(100svh - 76px);min-height:520px}body.ds-v25.ds-onosamo .ds-review-carousel .review-card blockquote {display:-webkit-box;-webkit-line-clamp:8;-webkit-box-orient:vertical;overflow:hidden}}
body.ds-v25.ds-onosamo .ds-course-subheader .site-nav {flex-direction:row;height:auto;max-height:none;grid-area:auto}
body.ds-v25.ds-onosamo .ds-course-subheader .nav-link {width:auto;min-height:0;margin:0;border:0;border-bottom:2px solid transparent}
body.ds-v25.ds-onosamo .ds-course-subheader .nav-link.is-active {color:#126b4d;border-bottom-color:#126b4d}
@media(max-width:1100px){body.ds-v25 .ds-shared-header.is-open nav {display:flex;flex-direction:column;align-items:flex-start;gap:12px}}
/* Details from the follow-up visual review. */
body.ds-v25.page-index .route__mascot {width:340px;max-width:340px;max-height:240px;height:auto;right:18px;bottom:18px}
body.ds-v25.page-index .route--self .route__desc {max-width:min(30ch,calc(100% - 320px))}
body.ds-v25.ds-onosamo .task-card summary::after {content:none;display:none}
body.ds-v25.ds-onosamo .ds-review-status {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
body.ds-v25.ds-onosamo .final-buy {align-items:center}
body.ds-v25.ds-onosamo .final-buy__controls {display:flex;flex-direction:column;justify-content:center}
body.ds-v25.ds-onosamo .promo-message:empty {display:none}
body.ds-v25.ds-onosamo .promo-message.is-ok {color:#087342;font-weight:700}
body.ds-v25.ds-onosamo .promo-message.is-error {color:#a6422a}
body.ds-v25.ds-onosamo .ds-course-subnav {display:flex;position:static;flex-direction:row;justify-content:flex-start;flex-wrap:nowrap;gap:24px;align-items:center;width:min(1280px,calc(100% - 96px));height:auto;max-height:none;min-width:0;margin:0 auto;padding:16px 0;overflow-x:auto;white-space:nowrap;font-size:13px;color:#43554b;border-bottom:1px solid #dce5e0;background:none}
body.ds-v25.ds-onosamo .ds-course-subnav .nav-link {display:block;flex:0 0 auto;width:auto;margin:0;padding:4px 0;min-height:0;border:0;background:none;color:inherit;font-size:13px;line-height:1.55;font-weight:500;white-space:nowrap}
body.ds-v25.ds-onosamo main [id] {scroll-margin-top:110px}
body.ds-v25.page-lab .portrait-wrap {height:auto;aspect-ratio:1;border-radius:20px;overflow:hidden}
body.ds-v25.page-lab .portrait-wrap img {object-fit:cover;object-position:center;transform:none}
body.ds-v25.page-lab .portrait-konstantin img {object-position:center 18%}
@media(max-width:1100px){body.ds-v25.ds-onosamo .ds-course-subnav {width:calc(100% - 56px)}}
@media(max-width:760px){body.ds-v25.page-index .route__mascot {width:220px;max-width:220px;max-height:180px}body.ds-v25.page-index .route--self {padding-bottom:190px}body.ds-v25.page-index .route--self .route__desc {max-width:100%}body.ds-v25.ds-onosamo .ds-course-subnav {width:calc(100% - 40px)}body.ds-v25.ds-onosamo main [id] {scroll-margin-top:90px}}
body.ds-v25.page-lab .portrait-konstantin img {object-position:center 14%}
body.ds-v25.ds-onosamo .invoice-note a {color:#087342;text-decoration:underline}
@media(min-width:761px) and (max-width:1100px){body.ds-v25.page-index .route--self {padding-bottom:250px}body.ds-v25.page-index .route--self .route__desc {max-width:100%}}
@media(max-width:760px){body.ds-v25.page-index .route__mascot {width:min(340px,calc(100% - 36px));max-width:340px;max-height:240px}body.ds-v25.page-index .route--self {padding-bottom:250px}}

body.ds-v25.ds-onosamo .task-card[open] summary::after {content:none;display:none}
body.ds-v25.ds-onosamo .promo-message.is-ok {font-size:15px;line-height:1.4}
body.ds-v25.page-index .route__mascot {display:block}
@media(max-width:760px){body.ds-v25.ds-onosamo .final-buy__price,body.ds-v25.ds-onosamo .final-buy__controls {flex:none;width:100%}}

/* Product labels follow the approved two-line menu, equally spaced. */
body.ds-v25 .ds-shared-header nav {gap:clamp(20px,2.2vw,32px)}
body.ds-v25 .ds-shared-header nav a {text-align:left}
body.ds-v25 .ds-shared-header nav a br {display:block}
