
/* Public navigation: authoritative shared component styles. */
html body .header.wrap{--nav-bg:#0c1015;--nav-text:#e9edf2;--nav-muted:#a3b2c2;--nav-line:#263746;--nav-accent:#61b5ef;position:fixed!important;inset:0 0 auto!important;transform:none!important;display:flex!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:flex-start!important;gap:12px!important;width:calc(100% - 64px)!important;max-width:1400px!important;height:96px!important;min-height:96px!important;margin:0 auto!important;padding:0!important;border:0!important;border-radius:0!important;background:var(--nav-bg)!important;box-shadow:none!important;z-index:1000!important;font-family:DDText,Arial,sans-serif!important}
html[data-theme=light] body .header.wrap{--nav-bg:#f4f7fb;--nav-text:#183247;--nav-muted:#42637c;--nav-line:#d4e0eb;--nav-accent:#176fae}
html body .header.wrap::before{content:''!important;position:absolute!important;inset:0 calc((100vw - 100%)/-2)!important;background:var(--nav-bg)!important;border:0!important;border-bottom:1px solid var(--nav-line)!important;box-shadow:none!important;z-index:-1!important}
html body .header.wrap::after{display:none!important}
html body .header.wrap *{box-sizing:border-box;font-family:DDText,Arial,sans-serif!important;letter-spacing:normal!important}
html body .header.wrap>.brand{display:flex!important;align-items:center!important;flex:0 0 68px!important;width:68px!important;height:68px!important;margin:0 auto 0 0!important;padding:0!important;transform:none!important}
html body .header.wrap .brand-logo{display:block!important;width:68px!important;height:68px!important;max-width:none!important;margin:0!important;padding:0!important;object-fit:contain!important}
html body .header.wrap>nav{display:flex!important;flex:0 0 auto!important;align-items:center!important;gap:4px!important;margin:0 18px 0 0!important;padding:0!important;position:static!important;border:0!important;background:none!important}
html body .header.wrap>nav a{display:block!important;margin:0!important;padding:11px 14px!important;font-size:14px!important;font-weight:400!important;line-height:22px!important;color:var(--nav-muted)!important;white-space:nowrap!important;border:0!important;border-radius:9px!important}
html body .header.wrap>nav a:hover{background:#73b9e512!important;color:var(--nav-accent)!important}
html body .header.wrap>.theme-switch{display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 44px!important;width:44px!important;height:44px!important;padding:0!important;margin:0!important;border:1px solid var(--nav-line)!important;border-radius:12px!important;background:transparent!important;color:var(--nav-text)!important}
html body .header.wrap>.language-menu{display:block!important;flex:0 0 88px!important;width:88px!important;margin:0!important;padding:0!important;border:0!important;position:relative!important}
html body .header.wrap .language-menu>summary{display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;width:88px!important;height:44px!important;padding:0 10px!important;margin:0!important;border:1px solid var(--nav-line)!important;border-radius:12px!important;background:transparent!important;color:var(--nav-text)!important;font-size:12px!important;line-height:20px!important;list-style:none!important;white-space:nowrap!important}
html body .header.wrap .language-menu>summary::-webkit-details-marker{display:none!important}
html body .header.wrap .language-icon{display:block!important;width:17px!important;height:17px!important;flex-shrink:0!important}
html body .header.wrap>.button.outline{display:inline-flex!important;flex:0 0 auto!important;align-items:center!important;justify-content:center!important;min-height:44px!important;height:44px!important;padding:0 20px!important;margin:0 0 0 8px!important;line-height:20px!important;font-size:13px!important;font-weight:600!important;white-space:nowrap!important;border:0!important;border-radius:12px!important;background:var(--nav-accent)!important;color:#0b2032!important;transform:none!important}
html[data-theme=light] body .header.wrap>.button.outline{color:#fff!important}
html body .header.wrap>.menu{display:none!important;margin:0!important;padding:0!important;flex:0 0 44px!important;width:44px!important;height:44px!important;background:transparent!important;color:var(--nav-text)!important;border:1px solid var(--nav-line)!important;border-radius:12px!important}
html body .header.wrap .language-menu>div{background:var(--nav-bg)!important;color:var(--nav-text)!important;border-color:var(--nav-line)!important}
@media(max-width:1100px){html body .header.wrap>nav{margin-right:4px!important}html body .header.wrap>nav a{padding-inline:8px!important;font-size:13px!important}}
@media(max-width:1000px){html body .header.wrap{width:calc(100% - 48px)!important}}
@media(max-width:900px){html body .header.wrap{height:82px!important;min-height:82px!important;gap:8px!important}html body .header.wrap>nav{display:none!important}html body .header.wrap>.button.outline{display:none!important}html body .header.wrap>.menu{display:block!important}html body .header.wrap>nav.open{display:flex!important;position:absolute!important;top:76px!important;left:0!important;right:0!important;flex-direction:column!important;align-items:stretch!important;padding:12px!important;margin:0!important;border:1px solid var(--nav-line)!important;border-radius:14px!important;background:var(--nav-bg)!important}html body .header.wrap>.brand{flex-basis:60px!important;width:60px!important;height:60px!important}html body .header.wrap .brand-logo{width:60px!important;height:60px!important}}
@media(max-width:740px){html body .header.wrap{width:calc(100% - 32px)!important}}
