/* Paired patient actions stay outside the collapsible navigation. */
html:root[lang] .site-head .site-head__in{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px;padding:12px 24px;height:auto;max-width:1400px}
html:root[lang] .site-head .brand.nymd-brand{order:0;margin:0 auto 0 0;flex:0 0 auto}
html:root[lang] .site-head .header-actions{order:1;display:flex;align-items:center;gap:10px;flex:0 0 auto;margin:0}
html:root[lang] header .header-actions .btn{display:inline-flex!important;align-items:center;justify-content:center;min-height:46px;padding:11px 20px;font:600 17px/1.35 var(--body,Arial,sans-serif);white-space:nowrap;text-decoration:none;border:1px solid #124798;border-radius:5px;margin:0;background:#124798;color:#fff}
html:root[lang] header .header-actions .header-call{background:transparent;color:#124798}
html:root[lang] header .header-actions .btn::after{content:none!important}
html:root[lang] header .header-actions .btn:hover,html:root[lang] header .header-actions .btn:focus-visible{background:#0a326d;color:white;outline-offset:3px}
html:root[lang] .site-head .nav,html:root[lang] .site-head .nav.is-open{display:flex!important;order:3;flex:1 1 100%;position:static;inset:auto;flex-direction:row;flex-wrap:wrap;gap:8px 20px;justify-content:space-between;margin:0;padding:0;background:transparent;visibility:visible;pointer-events:auto;transform:none;width:100%;box-shadow:none}
html:root[lang] .site-head .nav>a:not(.btn),html:root[lang] .site-head .nav:not(.is-open)>a:not(.btn){display:inline-flex!important;align-items:center;min-height:44px;padding:4px 0;flex:0 0 auto;border:0;font-size:17px;line-height:1.4}
html:root[lang] .site-head .nav-toggle{display:none!important}
html:root[lang] .hero a.btn{background:transparent;color:#fff;border:1px solid #fff;box-shadow:none}
html:root[lang] .hero a.btn:hover,html:root[lang] .hero a.btn:focus-visible{background:#fff;color:#124798;border-color:#fff;outline-offset:4px;text-shadow:none}
header.bar .bar-inner{display:flex;align-items:center;flex-wrap:wrap;gap:16px}header.bar .header-actions{margin-inline-start:auto}header:not([class])>.header-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;padding:12px}
@media(min-width:1500px){html:root[lang] .site-head .site-head__in{flex-wrap:nowrap}html:root[lang] .site-head .nav{order:1;flex:1 1 auto;gap:14px}html:root[lang] .site-head .header-actions{order:2}}
@media(max-width:1023px){html:root[lang] .site-head .site-head__in{padding:10px 16px;gap:8px 12px}html:root[lang] .site-head .brand.nymd-brand{flex:1 1 auto;min-width:0}html:root[lang] .site-head .brand.nymd-brand img{width:48px;height:44px}html:root[lang] .site-head .brand.nymd-brand::after{width:150px;height:28px}html:root[lang] .site-head .nav-toggle{display:block!important;order:1;flex:0 0 44px;margin:0;min-width:44px;min-height:44px}html:root[lang] .site-head .header-actions{order:2;flex:1 1 100%;display:grid;grid-template-columns:1fr 1fr;gap:10px}html:root[lang] .site-head .nav,html:root[lang] .site-head .nav.is-open{order:3;flex-direction:column;align-items:stretch;gap:0}html:root[lang] .site-head .nav:not(.is-open)>a:not(.btn){display:none!important}html:root[lang] .site-head .nav.is-open>a:not(.btn){display:flex!important;font-size:18px;min-height:44px;padding:8px 0;flex:1 1 auto}html:root[lang] header .header-actions .btn{font-size:17px;padding:10px 12px}}

/* Owner correction: compact actions share the logo/menu row. */
html:root[lang] header .header-actions .btn{font-size:15px;min-height:42px;padding:8px 14px}
@media(max-width:1023px){
 html:root[lang] .site-head .site-head__in{flex-wrap:wrap;gap:8px;padding:8px 16px;min-height:64px}
 html:root[lang] .site-head .brand.nymd-brand{order:0;flex:1 1 auto;width:auto;min-width:0;margin:0 auto 0 0;gap:6px}
 html:root[lang] .site-head .brand.nymd-brand img{width:36px;height:36px;flex:0 0 36px}
 html:root[lang] .site-head .brand.nymd-brand::after{width:136px;height:26px}
 html:root[lang] .site-head .header-actions{order:1;display:flex;flex:0 0 auto;width:auto;gap:6px;margin:0}
 html:root[lang] header .header-actions .btn{width:auto;min-height:40px;padding:8px 10px;font-size:15px;line-height:1.3}
 html:root[lang] .site-head .nav-toggle{order:2;flex:0 0 32px;min-width:32px;min-height:40px;padding:0;margin:0}
 html:root[lang] .site-head .nav,html:root[lang] .site-head .nav.is-open{order:3;flex:1 1 100%}
}
@media(max-width:540px){
 html:root[lang] .site-head .site-head__in{gap:6px;padding-inline:12px}
 html:root[lang] .site-head .brand.nymd-brand img{width:30px;height:32px;flex-basis:30px}
 html:root[lang] .site-head .brand.nymd-brand::after{width:94px;height:24px}
 html:root[lang] header .header-actions .btn{font-size:14px;padding:8px;min-height:40px}
 html:root[lang] .site-head .nav-toggle{flex-basis:28px;min-width:28px}
}
@media(max-width:360px){
 html:root[lang] .site-head .site-head__in{gap:5px;padding-inline:8px}
 html:root[lang] .site-head .brand.nymd-brand img{display:none}
 html:root[lang] .site-head .brand.nymd-brand::after{width:88px;height:24px}
 html:root[lang] .site-head .header-actions{gap:5px}
}

/* Owner correction: a larger, legible identity with compact actions. */
html:root[lang] .site-head .site-head__in{min-height:100px;padding-block:14px}
html:root[lang] .site-head .brand.nymd-brand img{display:block;width:72px;height:64px;flex:0 0 72px}
html:root[lang] .site-head .brand.nymd-brand::after{width:230px;height:44px}
@media(max-width:1023px){html:root[lang] .site-head .site-head__in{min-height:94px;padding-block:12px}html:root[lang] .site-head .brand.nymd-brand img{width:64px;height:60px;flex-basis:64px}html:root[lang] .site-head .brand.nymd-brand::after{width:208px;height:40px}}
@media(max-width:540px){html:root[lang] .site-head .site-head__in{min-height:84px;padding-block:12px}html:root[lang] .site-head .brand.nymd-brand img{width:40px;height:44px;flex-basis:40px}html:root[lang] .site-head .brand.nymd-brand::after{width:122px;height:32px}}
@media(max-width:400px){html:root[lang] .site-head .brand.nymd-brand{gap:5px}html:root[lang] .site-head .brand.nymd-brand img{width:36px;height:44px;flex-basis:36px}html:root[lang] .site-head .brand.nymd-brand::after{width:110px;height:32px}}
@media(max-width:360px){html:root[lang] .site-head .brand.nymd-brand img{display:none}html:root[lang] .site-head .brand.nymd-brand::after{width:118px;height:34px}html:root[lang='ru'] .site-head .brand.nymd-brand{flex:1 1 calc(100% - 40px)}html:root[lang='ru'] .site-head .nav-toggle{order:1}html:root[lang='ru'] .site-head .header-actions{order:2;margin-inline-start:auto}}

@media(min-width:361px) and (max-width:540px){html:root[lang='ru'] .site-head .brand.nymd-brand::after{width:104px}html:root[lang='ru'] header .header-actions .btn{font-size:13px;padding-inline:6px}}

/* Keep the narrow-screen logo link named for assistive technology. */
@media(max-width:360px){html:root[lang] .site-head .brand.nymd-brand img{display:block;position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;flex:0 0 1px}}
