/* Settings controls share menu space; labels never move on hover. */
html body#nw-web .nw-settings{display:flex!important;align-items:center;gap:4px;flex:none;margin:0 0 0 10px;padding:0}
html body#nw-web .nw-setting-button{display:inline-flex!important;align-items:center;justify-content:center;gap:4px;width:42px;height:42px;padding:7px!important;margin:0!important;border:0!important;border-radius:12px;background:transparent!important;color:var(--nw-theme-ink,#fff)!important;-webkit-text-fill-color:currentColor!important;box-shadow:none!important;cursor:pointer;position:relative;transform:none!important;line-height:1;transition:background-color .2s ease!important}
html body#nw-web .nw-setting-button:after{display:none!important}html body#nw-web .nw-setting-button svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none;transition:color .2s ease,filter .2s ease}
html body#nw-web .nw-setting-button:hover{background:rgba(150,140,220,.15)!important}html body#nw-web .nw-setting-button:focus-visible{outline:2px solid currentColor!important;outline-offset:2px}
.nw-setting-button .nw-theme-sun{display:none}html[data-theme=light] .nw-setting-button .nw-theme-sun{display:block}html[data-theme=light] .nw-setting-button .nw-theme-moon{display:none}
html[data-theme=light] .nw-setting-button:hover .nw-theme-sun{color:#cc8500;filter:drop-shadow(0 0 5px #ffd24d)}html[data-theme=dark] .nw-setting-button:hover .nw-theme-moon{color:#d7e9ff;filter:drop-shadow(0 0 5px #b7d7ff)}
html body#nw-web [data-desktop-header]{column-gap:14px!important}html body#nw-web [data-desktop-header] .nw-settings{margin-left:0}html body#nw-web [data-desktop-dock] .nw-settings{flex-direction:column;margin:10px 0 0;justify-content:center}
html body#nw-web .nw-nav-header .nw-settings{margin-left:auto;margin-right:4px}html body#nw-web .nw-nav-heading .nw-settings{margin-left:auto;margin-right:4px}
html body#nw-web #nw-theme-panel,html body#nw-web #nw-language-panel{position:fixed!important;right:auto!important;bottom:auto!important;max-width:calc(100vw - 24px)!important;max-height:calc(100dvh - 24px);overflow-y:auto;z-index:10020!important;margin:0!important;transform-origin:top right}
#nw-language-panel{width:170px;padding:12px;border-radius:18px;border:0;color:var(--nw-theme-ink,#fff);background:rgba(6,17,39,.85);backdrop-filter:blur(12px);box-shadow:0 12px 30px #0003;animation:nw-lang-in .18s ease both}html[data-theme=light] #nw-language-panel{background:rgba(240,246,255,.88)}
html body#nw-web #nw-language-panel a{display:flex!important;gap:10px;padding:12px!important;border:0!important;border-radius:10px;text-decoration:none!important;font:500 15px/1.4 Manrope,Arial,sans-serif!important;color:inherit!important;transform:none!important}#nw-language-panel a[aria-current]:not([aria-current="false"]),#nw-language-panel a:hover{background:#9c8bef26}#nw-language-panel a:after{display:none!important}
#nw-language-panel.nw-closing{animation:nw-lang-out .18s ease both;pointer-events:none}@keyframes nw-lang-in{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:none}}@keyframes nw-lang-out{to{opacity:0;transform:translateY(-5px)}}
@media(min-width:901px) and (max-width:1250px){html body#nw-web [data-desktop-header] nav{gap:10px!important}html body#nw-web [data-desktop-header] nav a,html body#nw-web [data-desktop-header] :is(.cabinet,.cabinet-link){font-size:15px!important}html body#nw-web [data-desktop-header] a>.nw-header-icon{width:16px!important;margin-right:4px!important}html body#nw-web [data-desktop-header] .brand{font-size:16px!important;gap:6px!important}}
@media(max-width:480px){html body#nw-web .nw-nav-brand{font-size:13px!important;gap:5px!important}html body#nw-web .nw-setting-button{width:34px;height:38px;padding:6px!important}html body#nw-web .nw-settings{gap:0}html body#nw-web .nw-nav-heading h2{font-size:14px!important}}
@media(prefers-reduced-motion:reduce){#nw-language-panel,#nw-language-panel.nw-closing{animation:none!important}}
.nw-price-note{font-size:13px!important;line-height:1.6!important;opacity:.85}.nw-fx-note{font-size:13px!important;line-height:1.6!important;margin:14px 0 24px!important}

/* Language picker matches the theme picker. */
html body#nw-web#nw-web [data-language-trigger]:is(:hover,:focus-visible,[aria-expanded="true"]) svg{color:#c39aff;filter:drop-shadow(0 0 5px #b079ffb3)}
html[data-theme="light"] body#nw-web#nw-web [data-language-trigger]:is(:hover,:focus-visible,[aria-expanded="true"]) svg{color:#8051ba;filter:drop-shadow(0 0 5px #b983ffb3)}
html body#nw-web#nw-web #nw-language-panel{width:252px;padding:20px;border:0!important;border-radius:16px;box-shadow:none!important;isolation:isolate;background:rgba(6,17,39,.24)!important;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
html body#nw-web#nw-web #nw-language-panel:before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;pointer-events:none;background:url("asset-80a736c7761cf67f4988.webp") center/cover;opacity:.064}
html[data-theme="light"] body#nw-web#nw-web #nw-language-panel{background:rgba(237,242,250,.24)!important}
html[data-theme="light"] body#nw-web#nw-web #nw-language-panel:before{background-image:url("clouds-light-e649aa1ea841.webp");opacity:.064}
html body#nw-web#nw-web #nw-language-panel[hidden]{display:none!important}
html body#nw-web#nw-web #nw-language-panel p{margin:0 0 12px;font:600 14px/1.5 Manrope,Arial,sans-serif}
html body#nw-web#nw-web #nw-language-panel a{position:relative;display:flex!important;align-items:center;justify-content:space-between;width:100%;min-height:44px;margin:0;padding:9px 0!important;border:0!important;border-radius:0;background:none!important;font:500 14px/1.5 Manrope,Arial,sans-serif!important;box-sizing:border-box}
html body#nw-web#nw-web #nw-language-panel a[aria-current]:not([aria-current="false"]):after{content:"✓";display:block!important;position:static!important;font-size:18px;background:none!important;transform:none!important;opacity:1!important;width:auto!important;height:auto!important}
html body#nw-web#nw-web #nw-language-panel a:before{content:"";position:absolute;left:0;right:0;bottom:2px;height:1px;background:var(--line,linear-gradient(90deg,transparent,#a8bade66,transparent));pointer-events:none;opacity:0;transition:opacity .24s ease}
html body#nw-web#nw-web #nw-language-panel a:is(:hover,:focus-visible):before{opacity:1}
html body#nw-web#nw-web #nw-language-panel:not([hidden]){animation:nwThemePanelIn .18s ease both!important}
html body#nw-web#nw-web #nw-language-panel.nw-closing{animation:nwThemePanelOut .18s ease both!important}
html body#nw-web#nw-web #nw-language-panel a:focus-visible{outline:2px solid #ab8ccd;outline-offset:4px}
@media(prefers-reduced-motion:reduce){html body#nw-web#nw-web #nw-language-panel:not([hidden]),html body#nw-web#nw-web #nw-language-panel.nw-closing{animation:none!important}html body#nw-web#nw-web [data-language-trigger] svg{transition:none!important}}

html body#nw-web#nw-web [data-desktop-dock] .nw-setting-tooltip{position:absolute;right:calc(100% + 10px);top:50%;transform:translateY(-50%);padding:8px 12px;border-radius:10px;background:rgba(6,17,39,.88);color:#fff!important;-webkit-text-fill-color:currentColor!important;white-space:nowrap;font:500 13px/1.4 Manrope,Arial,sans-serif;pointer-events:none;opacity:0;visibility:hidden;transition:opacity .18s ease,visibility .18s ease;box-shadow:0 4px 16px #0002}
html[data-theme=light] body#nw-web#nw-web [data-desktop-dock] .nw-setting-tooltip{background:rgba(240,246,255,.94);color:#192c4b!important}
html body#nw-web#nw-web [data-desktop-dock] .nw-setting-button:is(:hover,:focus-visible) .nw-setting-tooltip{opacity:1;visibility:visible}
@media(prefers-reduced-motion:reduce){html body#nw-web#nw-web .nw-setting-tooltip{transition:none!important}}

/* Match the existing dock labels instead of separate tooltip bubbles. */
html body#nw-web#nw-web [data-desktop-dock] .nw-setting-button{width:48px;height:48px;min-height:48px;padding:0!important;border-radius:0;background:none!important}
html body#nw-web#nw-web [data-desktop-dock] .nw-setting-button>svg{width:28px;height:28px;flex:0 0 28px;position:relative;top:0;transition:top .24s ease,color .22s ease,filter .22s ease}
html body#nw-web#nw-web [data-desktop-dock] .nw-setting-button:is(:hover,:focus-visible)>svg{top:-2px}
html body#nw-web#nw-web [data-desktop-dock] .nw-setting-tooltip{right:calc(100% - 6px)!important;left:auto!important;top:auto!important;transform:none!important;width:auto!important;padding:0 14px 0 0!important;margin:0!important;border:0!important;border-radius:0;background:none!important;box-shadow:none!important;font:500 14px/1.4 Manrope,Arial,sans-serif!important;color:var(--nw-theme-ink,#fff)!important;transition:right .24s ease,opacity .24s ease,visibility .24s ease!important}
html body#nw-web#nw-web [data-desktop-dock] .nw-setting-button:is(:hover,:focus-visible) .nw-setting-tooltip{right:100%!important}
html body#nw-web#nw-web :is(#nw-theme-panel,#nw-language-panel){background:rgba(6,17,39,.204)!important}
html[data-theme=light] body#nw-web#nw-web :is(#nw-theme-panel,#nw-language-panel){background:rgba(237,242,250,.204)!important}
html body#nw-web#nw-web :is(#nw-theme-panel,#nw-language-panel):before{opacity:.0544!important}
html body#nw-web#nw-web .nw-mobile-settings{margin:16px 0 0;padding:12px 0 0;border-top:1px solid #a8bade33}
html body#nw-web#nw-web .nw-mobile-settings>.nw-settings{margin:0!important;justify-content:flex-start;gap:14px}
html body#nw-web#nw-web .nw-mobile-settings .nw-setting-button{width:44px;height:44px}
html body#nw-web#nw-web .nw-mobile-settings-content{width:100%;min-width:0}
@media(max-width:900px){html body#nw-web#nw-web :is(#nw-theme-panel,#nw-language-panel).nw-inline-panel{position:relative!important;top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;width:100%!important;max-width:100%!important;max-height:none!important;box-sizing:border-box;margin:8px 0 0!important;overflow:hidden;animation:none!important;transform:none!important}html body#nw-web#nw-web .nw-inline-panel.nw-closing,html body#nw-web#nw-web .nw-inline-panel.nw-theme-closing{animation:none!important}}

/* Match navigation label underlines and keep settings a separate compact group. */
html body#nw-web#nw-web [data-desktop-dock]>.nw-settings{margin-top:24px!important;gap:8px!important}
html body#nw-web#nw-web [data-desktop-dock] .nw-setting-tooltip:after{content:"";display:block;position:absolute;left:0;right:14px;bottom:-5px;height:1px;background:var(--line,linear-gradient(90deg,transparent,#b8c5e88c 18%,#b8c5e88c 82%,transparent));opacity:0;transition:opacity .24s ease;pointer-events:none}
html body#nw-web#nw-web [data-desktop-dock] .nw-setting-button:is(:hover,:focus-visible) .nw-setting-tooltip:after{opacity:1}
html body#nw-web#nw-web #nw-language-panel{box-sizing:border-box;padding:20px 20px 12px!important}
html body#nw-web#nw-web #nw-language-panel>p{margin:0 0 8px!important;line-height:21px!important}
html body#nw-web#nw-web #nw-language-panel>a{min-height:44px!important;line-height:21px!important;margin:0!important}
html body#nw-web#nw-web [data-language-trigger]>svg{stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;shape-rendering:geometricPrecision}
@media(prefers-reduced-motion:reduce){html body#nw-web#nw-web [data-desktop-dock] .nw-setting-tooltip:after{transition:none}}

/* Settings are navigation, not separate cards. Keep only the icon glow. */
html body#nw-web#nw-web .nw-setting-button:is(:hover,:focus,:focus-visible,:active,[aria-expanded="true"]){background:transparent!important;box-shadow:none!important}
@media(max-width:900px){
 html body#nw-web#nw-web #nw-nav-dialog .nw-mobile-settings{margin:0 12px!important;padding:0!important;border:0!important;background:none!important}
 html body#nw-web#nw-web #nw-nav-dialog .nw-mobile-settings>.nw-nav-subtitle{margin:20px 0 8px!important;padding-top:20px!important}
 html body#nw-web#nw-web #nw-nav-dialog .nw-mobile-settings>.nw-settings{gap:14px;margin:0!important}
 html body#nw-web#nw-web #nw-nav-dialog .nw-nav-account:after{display:none!important}
 html body#nw-web#nw-web #nw-nav-dialog :is(#nw-theme-panel,#nw-language-panel).nw-inline-panel{background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:none!important;border:0!important;border-radius:0!important;padding:12px 0 0!important;margin:0!important;isolation:auto!important}
 html body#nw-web#nw-web #nw-nav-dialog :is(#nw-theme-panel,#nw-language-panel).nw-inline-panel:before{display:none!important;content:none!important}
 html body#nw-web#nw-web #nw-nav-dialog .nw-inline-panel p{margin:0 0 8px!important}
 html body#nw-web#nw-web #nw-nav-dialog .nw-inline-panel small{margin-bottom:8px}
}

/* One fine underline, sized to the label rather than the icon hit area. */
html body#nw-web#nw-web :is([data-desktop-header],.nw-side-menu,footer,.nw-nav-dialog) a.nw-lined-link:after,html body#nw-web#nw-web a.nw-lined-link>.nw-control-line{display:none!important}
html body#nw-web#nw-web [data-desktop-header] a:not(.brand)>.nw-label-line,html body#nw-web#nw-web footer a>.nw-label-line,html body#nw-web#nw-web .nw-nav-dialog a>.nw-label-line{position:relative!important}
html body#nw-web#nw-web .nw-label-line:after{content:"";position:absolute;left:0;right:0;bottom:-5px;height:1px;background:var(--line,linear-gradient(90deg,transparent,#b8c5e88c 18%,#b8c5e88c 82%,transparent));pointer-events:none;opacity:0;transition:opacity .24s ease!important;transform:none!important}
html body#nw-web#nw-web :is(a,button):is(:hover,:focus-visible,[aria-current="page"]) .nw-label-line:after{opacity:1}
html body#nw-web#nw-web [data-desktop-dock] a>.nw-label-line:after{right:14px}
html body#nw-web#nw-web :is(#nw-theme-panel button,#nw-language-panel a):before{display:none!important}
html body#nw-web#nw-web #nw-language-panel .nw-label-line,html body#nw-web#nw-web #nw-theme-panel .nw-label-line{position:relative;display:inline-block}
@media(max-width:900px){
 html body#nw-web#nw-web #nw-nav-dialog{overflow-x:hidden!important;overflow-y:auto!important;scroll-padding-bottom:calc(40px + env(safe-area-inset-bottom));padding-bottom:calc(40px + env(safe-area-inset-bottom))!important;-webkit-overflow-scrolling:touch}
 html body#nw-web#nw-web #nw-nav-dialog :is(#nw-theme-panel,#nw-language-panel).nw-inline-panel{overflow:visible!important;max-height:none!important;flex-shrink:0;contain:none;clip-path:none}
 html body#nw-web#nw-web #nw-nav-dialog .nw-mobile-settings-content{overflow:visible!important}
 /* Blur belongs to one viewport surface, not to scrolling rows. */
 html body#nw-web#nw-web #nw-nav-dialog{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
 html body#nw-web#nw-web #nw-nav-dialog::backdrop{backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);background:#020b2026}
}
@media(prefers-reduced-motion:reduce){html body#nw-web#nw-web .nw-label-line:after{transition:none!important}}

/* Labels use their actual line box, not the 48px dock hit target. */
html body#nw-web#nw-web [data-desktop-dock] a>.nw-label-line{height:auto!important;min-height:0!important;top:auto!important;bottom:auto!important;display:block!important;line-height:1.4!important}
html body#nw-web#nw-web .nw-label-line:after,html body#nw-web#nw-web .nw-setting-tooltip:after{bottom:-5px!important;top:auto!important}
/* A fixed surface and an independent scroller prevent clipped clouds on iOS. */
@media(max-width:900px){
 html body#nw-web#nw-web #nw-nav-dialog{padding:0!important;overflow:hidden!important;height:100dvh!important;max-height:100dvh!important}
 html body#nw-web#nw-web #nw-nav-dialog:before{position:absolute!important;inset:0!important}
 html body#nw-web#nw-web .nw-nav-scroll{box-sizing:border-box;height:100%;width:100%;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;overflow-anchor:none;-webkit-overflow-scrolling:touch;padding:14px max(16px,env(safe-area-inset-right)) calc(40px + env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));scroll-padding-bottom:40px}
 html body#nw-web#nw-web .nw-nav-scroll>nav{margin-inline:12px}
 html body#nw-web#nw-web #nw-nav-dialog .nw-mobile-settings-content{overflow:hidden!important;position:relative;overflow-anchor:none}
 html body#nw-web#nw-web #nw-nav-dialog :is(#nw-theme-panel,#nw-language-panel).nw-inline-panel{animation:none!important;transition:none!important;transform:none!important;margin:0!important;padding:12px 0 8px!important;box-sizing:border-box!important}
}

/* Action lines belong to the text line box, independently of icons/hit areas. */
html body#nw-web#nw-web .nw-action-label{position:relative!important;display:inline-block!important;flex:0 1 auto;line-height:inherit!important}
html body#nw-web#nw-web .nw-action-label:after{content:"";display:block!important;position:absolute!important;top:auto!important;left:0!important;right:0!important;bottom:-5px!important;height:1px!important;width:auto!important;background:var(--line,linear-gradient(90deg,transparent,#b8c5e88c 18%,#b8c5e88c 82%,transparent));opacity:0;pointer-events:none;transform:none!important;transition:opacity .24s ease!important}
html body#nw-web#nw-web :is(a,button):is(:hover,:focus-visible):not(:disabled) .nw-action-label:after{opacity:1}
html body#nw-web#nw-web .nw-unified-action>.nw-action-line,html body#nw-web#nw-web .document-title>.nw-action-line{display:none!important}
html body#nw-web#nw-web #plans .nw-plan-action:after,html body#nw-web#nw-web .nw-scroll-top:after{display:none!important}
html body#nw-web#nw-web #plans .nw-plan-action>.nw-action-label{position:relative!important}
html body#nw-web#nw-web .nw-scroll-top-label.nw-action-label{position:absolute!important;right:100%!important;display:block!important}
html body#nw-web#nw-web .nw-scroll-top-label.nw-action-label:after{right:14px!important}
/* Dock settings: compositor movement for the icon, a stable label line box. */
html body#nw-web#nw-web [data-desktop-dock] .nw-setting-button>svg{top:0!important;transform:translate3d(0,0,0)!important;will-change:transform;backface-visibility:hidden;transition:transform .24s cubic-bezier(.22,.61,.36,1),color .22s ease!important}
html body#nw-web#nw-web [data-desktop-dock] .nw-setting-button:is(:hover,:focus-visible)>svg{top:0!important;transform:translate3d(0,-2px,0)!important}
html body#nw-web#nw-web [data-desktop-dock] .nw-setting-tooltip{right:100%!important;transition:opacity .24s ease,visibility .24s ease!important}
/* Panel fades are owned by settings-panels.js, not a second CSS animation. */
html body#nw-web#nw-web :is(#nw-language-panel,#nw-theme-panel):not([hidden]){animation:none!important}
@media(hover:none){html body#nw-web#nw-web .nw-scroll-top-label.nw-action-label{display:none!important}}
@media(prefers-reduced-motion:reduce){html body#nw-web#nw-web .nw-action-label:after,html body#nw-web#nw-web [data-desktop-dock] .nw-setting-button>svg{transition:none!important}html body#nw-web#nw-web [data-desktop-dock] .nw-setting-button:is(:hover,:focus-visible)>svg{transform:none!important}}

/* Internal navigation uses the same icon-to-label rhythm as the homepage.
   The old rules combined flex gap with an extra icon margin, pushing every
   label to the right and making the compact header look uneven. */
@media(min-width:901px){
 html body#nw-web#nw-web [data-desktop-header] nav a:not(.brand){gap:8px!important}
 html body#nw-web#nw-web [data-desktop-header] nav a:not(.brand)>.nw-header-icon{margin-right:0!important}
}
@media(min-width:901px) and (max-width:1250px){
 html body#nw-web#nw-web [data-desktop-header] nav a:not(.brand){gap:6px!important}
 html body#nw-web#nw-web [data-desktop-header] nav a:not(.brand)>.nw-header-icon{width:16px!important;height:16px!important;flex-basis:16px!important;margin-right:0!important}
}

/* Keep the full Russian navigation inside the compact desktop header. */
@media(min-width:901px) and (max-width:1080px){
html body#nw-web#nw-web [data-desktop-header] :is(.brand,a:not(.brand)){font-size:14px!important}
html body#nw-web#nw-web [data-desktop-header],html body#nw-web#nw-web [data-desktop-header] nav{gap:4px!important}
 html body#nw-web#nw-web [data-desktop-header] a:not(.brand)>.nw-header-icon{margin-right:0!important}
}

@media(min-width:901px) and (max-width:960px){
html body#nw-web#nw-web [data-desktop-header] :is(.brand,a:not(.brand)){font-size:13px!important}
html body#nw-web#nw-web [data-desktop-header] .nw-setting-button{width:38px!important;min-width:38px!important;flex:0 0 38px!important}
}

/* Document title line boxes match action labels. */
html body#nw-web#nw-web .document-title h3.nw-action-label{line-height:1.4!important}

/* Independent section marker and hover label share the same horizontal baseline. */
@media(min-width:901px){
 html body#nw-web#nw-web :is([data-desktop-dock],.nw-scroll-top){right:clamp(12px,1.3vw,24px)!important;--nw-navigation-line:linear-gradient(90deg,transparent,#b8c5e88c 18%,#b8c5e88c 82%,transparent)}
 html[data-theme="light"] body#nw-web#nw-web :is([data-desktop-dock],.nw-scroll-top){--nw-navigation-line:linear-gradient(90deg,transparent,#526e9b8c 18%,#526e9b8c 82%,transparent)}
 html body#nw-web#nw-web [data-desktop-dock] nav>a.nw-lined-link>.nw-label-line:after,html body#nw-web#nw-web [data-desktop-dock] .nw-setting-tooltip:after,html body#nw-web#nw-web .nw-scroll-top-label.nw-action-label:after{top:auto!important;bottom:-5px!important;background:var(--nw-navigation-line)!important}
 html body#nw-web#nw-web [data-desktop-dock] nav>a.nw-lined-link>.nw-control-line,html body#nw-web#nw-web .page-dock nav>a.nw-lined-link:after{content:"";display:block!important;position:absolute!important;left:auto!important;right:10px!important;width:28px!important;height:1px!important;top:calc(50% + 20px)!important;bottom:auto!important;opacity:0!important;transform:none!important;background:var(--nw-navigation-line)!important;pointer-events:none!important;transition:opacity .24s ease!important}
 html body#nw-web#nw-web [data-desktop-dock] nav>a.nw-lined-link:is([aria-current="location"],[aria-current="page"])>.nw-control-line,html body#nw-web#nw-web .page-dock nav>a.nw-lined-link:is([aria-current="location"],[aria-current="page"]):after{opacity:1!important}
}
@media(prefers-reduced-motion:reduce){html body#nw-web#nw-web [data-desktop-dock] nav>a.nw-lined-link>.nw-control-line{transition:none!important}}

/* Current-section marker sits 6px below the icon; hover exposes only the label line. */
@media(min-width:901px) and (hover:hover) and (pointer:fine){html body#nw-web#nw-web [data-desktop-dock] nav>a.nw-lined-link:is([aria-current="location"],[aria-current="page"]):hover>.nw-control-line{opacity:0!important}}
@media(min-width:901px){html body#nw-web#nw-web [data-desktop-dock] nav>a.nw-lined-link:is([aria-current="location"],[aria-current="page"]):focus-visible>.nw-control-line{opacity:0!important}}
@media(min-width:901px){
 html body#nw-web#nw-web .page-dock nav>a.dock-link:is(:hover,:focus-visible):after{opacity:0!important}
 html body#nw-web#nw-web [data-desktop-dock] nav>a[aria-current]:not(:hover):not(:focus-visible)>.nw-label-line:after{opacity:0!important}
}


html body#nw-web#nw-web #nw-theme-feedback{position:fixed;z-index:2147483646;bottom:24px;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100vw - 32px);padding:12px 18px;border-radius:8px;background:#142641;color:#fff;font:500 14px/1.5 Manrope,Arial,sans-serif;text-align:center;box-shadow:0 4px 20px #0003}
html[data-theme="light"] body#nw-web#nw-web #nw-theme-feedback{background:#dde4ee;color:#192c4b}

/* The homepage is the navigation reference.  Give both headers the same
   icon box, label gap and inter-link rhythm; page names may differ in width. */
@media(min-width:901px){
 html body#nw-web#nw-web [data-desktop-header] nav>a{display:inline-flex!important;align-items:center!important;gap:8px!important}
 html body#nw-web#nw-web [data-desktop-header] nav>a>.nw-header-icon{align-self:center!important;margin:0!important}
 html body#nw-web#nw-web [data-desktop-header] :is(.cabinet,.cabinet-link){gap:8px!important}
 html body#nw-web#nw-web [data-desktop-header] :is(.cabinet,.cabinet-link)>.nw-header-icon{margin:0!important}
}
@media(min-width:1251px){
 html body#nw-web#nw-web [data-desktop-header] nav{gap:22px!important}
 html body#nw-web#nw-web[data-desktop-kind="pages"] [data-desktop-header] nav{gap:22px!important}
}
@media(min-width:1101px) and (max-width:1250px){
 html body#nw-web#nw-web [data-desktop-header] nav{gap:10px!important}
}
@media(min-width:901px) and (max-width:1250px){
 html body#nw-web#nw-web [data-desktop-header] nav>a{gap:6px!important}
}

/* Above 1920px the homepage content rail grows from 85rem.  Let the shared
   header and all of its controls grow on that same rail, with one centred nav
   axis for home and inner pages. */
@media(min-width:1921px){
 html body#nw-web#nw-web{--nw-menu-scale:var(--nw-wide-scale,1)}
 html body#nw-web#nw-web :is([data-desktop-dock],.nw-scroll-top){zoom:var(--nw-dock-scale,1)!important}
 html body#nw-web#nw-web[data-desktop-kind="pages"]{
  padding-top:calc(88px * var(--nw-menu-scale))!important;
 }
 html body#nw-web#nw-web [data-desktop-header]{
  position:fixed!important;
  top:0!important;
  left:50%!important;
  transform:translateX(-50%)!important;
  width:min(92vw,calc(1360px * var(--nw-menu-scale)))!important;
  height:calc(88px * var(--nw-menu-scale))!important;
  min-height:0!important;
  gap:calc(14px * var(--nw-menu-scale))!important;
 }
 html body#nw-web#nw-web [data-desktop-header] .brand{
  font-size:calc(18px * var(--nw-menu-scale))!important;
  gap:calc(10px * var(--nw-menu-scale))!important;
 }
 html body#nw-web#nw-web [data-desktop-header] .brand img{
  width:calc(44px * var(--nw-menu-scale))!important;
  height:calc(44px * var(--nw-menu-scale))!important;
  object-fit:contain!important;
 }
 html body#nw-web#nw-web [data-desktop-header] .brand .logo{
  width:calc(58px * var(--nw-menu-scale))!important;
  height:calc(44px * var(--nw-menu-scale))!important;
 }
 html body#nw-web#nw-web [data-desktop-header] nav{
  position:absolute!important;
  left:calc(50% - 34px * var(--nw-menu-scale))!important;
  margin:0!important;
  gap:calc(22px * var(--nw-menu-scale))!important;
  transform:translateX(-50%)!important;
 }
 html body#nw-web#nw-web[data-desktop-kind="pages"] [data-desktop-header] nav{
  left:calc(50% - 34px * var(--nw-menu-scale))!important;
  gap:calc(22px * var(--nw-menu-scale))!important;
 }
 html[lang="en"] body#nw-web#nw-web [data-desktop-header] nav{
  left:calc(50% - 12px * var(--nw-menu-scale))!important;
 }
 html[lang="en"] body#nw-web#nw-web[data-desktop-kind="pages"] [data-desktop-header] nav{
  left:calc(50% - 12px * var(--nw-menu-scale))!important;
 }
 html body#nw-web#nw-web [data-desktop-header] :is(nav a,.cabinet,.cabinet-link){
  font-size:calc(18px * var(--nw-menu-scale))!important;
  line-height:calc(26px * var(--nw-menu-scale))!important;
  min-height:calc(44px * var(--nw-menu-scale))!important;
 }
 html body#nw-web#nw-web [data-desktop-header] a:not(.brand)>.nw-nav-text{
  line-height:calc(26px * var(--nw-menu-scale))!important;
 }
 html body#nw-web#nw-web [data-desktop-header] a:not(.brand)>.nw-header-icon{
  width:calc(19px * var(--nw-menu-scale))!important;
  height:calc(19px * var(--nw-menu-scale))!important;
  flex-basis:calc(19px * var(--nw-menu-scale))!important;
 }
 html body#nw-web#nw-web [data-desktop-header] nav>a,
 html body#nw-web#nw-web [data-desktop-header] :is(.cabinet,.cabinet-link){gap:calc(8px * var(--nw-menu-scale))!important}
 html body#nw-web#nw-web [data-desktop-header] :is(.cabinet-zone,.cabinet-link){margin-left:auto!important}
 html body#nw-web#nw-web [data-desktop-header] .nw-settings{margin-left:calc(24px * var(--nw-menu-scale))!important}
 html body#nw-web#nw-web [data-desktop-header] .nw-setting-button{
  width:calc(44px * var(--nw-menu-scale))!important;
  min-width:calc(44px * var(--nw-menu-scale))!important;
  height:calc(44px * var(--nw-menu-scale))!important;
 }
 html body#nw-web#nw-web [data-desktop-header] .nw-setting-button svg{
  width:calc(22px * var(--nw-menu-scale))!important;
  height:calc(22px * var(--nw-menu-scale))!important;
 }
}

/* A menu label receives its line only for its own active or hovered state.
   This also wins over older section-link underline rules in other sheets. */
html body#nw-web#nw-web [data-desktop-header] nav>a>.nw-label-line:after{content:none!important;display:none!important;opacity:0!important}
html body#nw-web#nw-web [data-desktop-header] nav>a:is(:hover,:focus-visible,[aria-current="page"],[aria-current="location"])>.nw-label-line:after{content:""!important;display:block!important;opacity:1!important}

/* Settings panels live outside the scaled main content. Their dimensions
   follow the dock, including its height limit on short wide screens. */
@media(min-width:1921px){
 html body#nw-web#nw-web :is(#nw-language-panel,#nw-theme-panel){
  width:min(calc(252px * var(--nw-dock-scale,1)),calc(100vw - 24px))!important;
  padding:calc(20px * var(--nw-dock-scale,1))!important;
  border-radius:calc(16px * var(--nw-dock-scale,1))!important;
 }
 html body#nw-web#nw-web #nw-language-panel{padding-bottom:calc(12px * var(--nw-dock-scale,1))!important}
 html body#nw-web#nw-web :is(#nw-language-panel,#nw-theme-panel)>p{
  font-size:calc(14px * var(--nw-dock-scale,1))!important;
  line-height:1.5!important;
  margin-bottom:calc(8px * var(--nw-dock-scale,1))!important;
 }
 html body#nw-web#nw-web :is(#nw-language-panel>a,#nw-theme-panel>button){
  min-height:calc(44px * var(--nw-dock-scale,1))!important;
  padding:calc(9px * var(--nw-dock-scale,1)) 0!important;
  font-size:calc(14px * var(--nw-dock-scale,1))!important;
  line-height:1.5!important;
 }
 html body#nw-web#nw-web :is(#nw-language-panel>a[aria-current]:not([aria-current="false"]),#nw-theme-panel>button[aria-pressed="true"]):after{
  font-size:calc(18px * var(--nw-dock-scale,1))!important;
 }
 html body#nw-web#nw-web #nw-theme-panel small{
  font-size:calc(11px * var(--nw-dock-scale,1))!important;
  margin-top:calc(12px * var(--nw-dock-scale,1))!important;
 }
 html body#nw-web#nw-web #nw-theme-panel .nw-theme-choice-icon{
  width:calc(20px * var(--nw-dock-scale,1))!important;
  height:calc(20px * var(--nw-dock-scale,1))!important;
  flex-basis:calc(20px * var(--nw-dock-scale,1))!important;
 }
}
