.desktop [data-stage] .fitted-stage-badge{width:max-content!important;display:flex;align-items:center;padding:0 calc(13 * var(--u))!important;min-width:0!important}
.desktop .fitted-stage-badge .fitted-stage-number{position:static!important;inset:auto!important;width:auto!important;margin:0!important;white-space:nowrap!important}
/* Both marked gaps are independent of line count: 12px above body, 28.8px below it (Figma: 711 - (603 + 3 * 26.4)). */
.desktop-sed-copy{top:calc(682.2 * var(--u))!important;transform:translateY(-100%);gap:calc(12 * var(--u))!important}
.sed-card .sed-copy{top:auto!important;bottom:calc(20 * var(--u))}.sed-copy h3{margin-bottom:calc(12 * var(--u))}
/* Fade the actual cutout and its old overlay together before their hard edge. */
.desktop [data-node-id="1:504"]{mask-image:linear-gradient(to bottom,#000 0%,#000 50%,transparent 63%);-webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 50%,transparent 63%)}
.desktop [data-node-id="1:502"],.desktop [data-node-id="1:503"]{mask-image:linear-gradient(to bottom,#000 0%,#000 65%,transparent 88%);-webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 65%,transparent 88%)}
.desktop [data-node-id="1:505"]{display:none!important}
/* Preserve each source photo's ratio. The third before-image contains a collage. */
.desktop [data-node-id="88:69"],.desktop [data-node-id="88:70"],.mobile [data-name^="История пациента"] [data-name^="Медиа"]:nth-last-child(-n+2){overflow:hidden}
.desktop [data-node-id="88:69"] img,.desktop [data-node-id="88:70"] img,.mobile [data-name^="История пациента"] [data-name^="Медиа"]:nth-last-child(-n+2) img,.mobile [data-node-id="84:59"] img,.mobile [data-node-id="84:60"] img{object-fit:cover!important;object-position:50% 60%!important}
.desktop [data-node-id="88:69"] img[src$="52149e7aa9ad815d.webp"],.mobile [data-name^="История пациента"] img[src$="52149e7aa9ad815d.webp"]{width:100%!important;height:auto!important;min-height:0!important;inset:auto 0 0!important;object-fit:initial!important}
@media(min-width:640px) and (max-width:1199px){
/* Inner Figma content is 288/320 of the artboard; align that inner edge at 40px. */
.mobile{width:calc(min(100cqw - 80px,720px) / .9);max-width:none;--u:calc(min(100cqw - 80px,720px) / 288)}
.source-header-inner{width:calc(100% - 80px);max-width:720px;gap:0 24px}.source-header .source-logo{max-width:175px}.source-header .source-button{justify-self:end;width:190px}
.source-footer-inner{width:calc(100% - 80px);max-width:720px}
.contacts-artboard{width:calc(min(100cqw - 80px,720px) * 320 / 280);max-width:none;--c:calc(min(100cqw - 80px,720px) / 280)}
#m-0 [data-node-id="10:2"],#m-0 [data-node-id="10:3"]{display:none!important}#m-0>div{padding-top:120px!important}
}

@media(min-width:640px) and (max-width:1199px){.contacts-live{overflow:hidden}.contacts-artboard{margin-inline:0;left:50%;transform:translateX(-50%)}}
@media(prefers-reduced-motion:no-preference){.mobile-stage-track{transition-duration:.85s}}

/* These two square exports are stretched source rasters; reproduce their Figma 357:154 display geometry. */
 .desktop [data-node-id="88:69"] img[src$="74370a0b017dec5c.webp"],.desktop [data-node-id="88:70"] img[src$="cddcdc4818b83121.webp"]{object-fit:fill!important;object-position:bottom!important}

.mobile [data-name^="История пациента"] img[src$="74370a0b017dec5c.webp"],.mobile [data-name^="История пациента"] img[src$="cddcdc4818b83121.webp"]{object-fit:fill!important}
