/* A shared alignment grid; each site retains its own identity and image composition. */
html[data-site]{--layout-max:1320px;--layout-gutter:56px;--layout-edge:max(var(--layout-gutter),calc((100vw - var(--layout-max))/2));--max:var(--layout-max);--gutter:var(--layout-gutter)}
@media(max-width:1199px){html[data-site]{--layout-gutter:32px}}
@media(max-width:767px){html[data-site]{--layout-gutter:20px}}
html[data-site=ba] .wrap,
html[data-site=bkl] .wrap,
html[data-site=baxs] body:not(.in-demo) :is(.wrap,.v3-container,.v4-container){width:min(var(--layout-max),calc(100% - 2 * var(--layout-gutter)))!important;max-width:var(--layout-max)!important;margin-inline:auto!important;padding-inline:0!important;box-sizing:border-box}
/* Menus already sit inside the grid and must not receive a second page gutter. */
html[data-site=ba] .mega>.wrap,
html[data-site=baxs] .bx-navigation-panel :is(.wrap,.v4-container){width:100%!important;max-width:none!important;margin-inline:0!important;padding-inline:0!important}
html[data-site=ba]:not(.navigation-compact) .mega:not([hidden]),
html[data-site=baxs]:not(.baxs-navigation-compact) .bx-navigation-panel{left:var(--layout-edge)!important;right:var(--layout-edge)!important;width:auto!important}
html[data-site=ba].navigation-compact .polished-nav{left:var(--layout-edge)!important;right:var(--layout-edge)!important;width:auto!important}
html[data-site=ba].navigation-compact .mega>.wrap{width:min(var(--layout-max),calc(100% - 2 * var(--layout-gutter)))!important;margin-inline:auto!important}
html[data-site=bkl].navigation-compact .polished-nav{padding-inline:var(--layout-edge)!important}
/* Keep the brand at the left and the complete navigation group at the right. */
html[data-site=ba] .header-inner>.logo{margin-right:0}
html[data-site=ba]:not(.navigation-compact) .main-nav{margin-left:auto;flex:none}
html[data-site=ba].navigation-compact .header-actions{margin-left:auto}
html[data-site=bkl] .site-header .brand{order:1;flex:none}
html[data-site=bkl] .site-header .navlinks{order:2;margin-left:auto}
html[data-site=bkl] .site-header .site-language{order:3;margin-inline:0}
html[data-site=bkl] .site-header .menu-toggle{order:4;margin-left:0;flex:none}
html[data-site=bkl].navigation-compact .site-header .site-language{margin-left:auto}
html[data-site=baxs]:not(.baxs-navigation-compact) .bx-header .bx-navigation{flex:0 1 auto!important;margin-left:auto!important;justify-content:flex-end;gap:6px!important;overflow:visible!important}
html[data-site=baxs]:not(.baxs-navigation-compact) .bx-nav-actions{margin-left:0!important;padding-left:18px}
html[data-site=baxs] .bx-header .brand{margin-right:0!important;flex:none}
html[data-site=baxs] .bx-header .site-language{margin-inline:0!important}
/* The existing navigation controller uses the toggle's display to choose its mode. */
@media(max-width:1250px){html[data-site=baxs] .bx-header .mobile-toggle{display:flex!important;align-items:center;justify-content:center;width:44px;height:44px;padding:10px;border:1px solid #705787;border-radius:6px}}
@media(max-width:1250px){html[data-site=baxs][lang=en] .bx-header .mobile-toggle{display:flex!important;align-items:center;justify-content:center;width:44px;height:44px;padding:10px;border:1px solid #705787;border-radius:6px}html[data-site=bkl][lang=en] .site-header .menu-toggle{display:block}}
html[data-site=baxs].baxs-navigation-compact .bx-header>.nav{justify-content:flex-start}
html[data-site=baxs].baxs-navigation-compact .bx-header .brand{margin-right:auto!important}
html[data-site=baxs].baxs-navigation-compact .bx-header .bx-navigation{position:fixed!important;inset:calc(var(--navigation-header,76px) + 12px) var(--layout-edge) auto!important;width:auto!important;display:none!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;height:auto;max-height:calc(100dvh - var(--navigation-header,76px) - 32px);overflow-y:auto!important;overscroll-behavior:contain;margin:0!important;padding:18px 26px!important;background:#281e3b!important;color:#f2ebfb;border:1px solid #776089;border-radius:12px;box-shadow:0 24px 60px #110b2270;transform:none;z-index:115}
html[data-site=baxs].baxs-navigation-compact .bx-header .bx-navigation.open{display:flex!important;animation:baxs-nav-in .2s ease-out}
html[data-site=baxs].baxs-navigation-compact .bx-nav-group{border-bottom:1px solid #725b875c;width:100%}
html[data-site=baxs].baxs-navigation-compact .bx-header .bx-nav-trigger{width:100%;padding:15px 12px!important;min-height:56px;font-size:17px;border-radius:6px}
html[data-site=baxs].baxs-navigation-compact .bx-header .bx-nav-trigger.is-current:after{left:12px;right:auto;width:28px;bottom:7px}
html[data-site=baxs].baxs-navigation-compact .bx-navigation-panel{position:static!important;inset:auto!important;width:auto!important;max-height:none;padding:12px 12px 21px;margin:0;background:#281e3b!important;border:0;border-radius:0;box-shadow:none;overflow:visible;animation:none}
html[data-site=baxs].baxs-navigation-compact .bx-nav-product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:0 20px}
html[data-site=baxs].baxs-navigation-compact .bx-nav-product-family+.bx-nav-product-family{padding-left:20px}
html[data-site=baxs].baxs-navigation-compact .bx-nav-directory{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 22px}
html[data-site=baxs].baxs-navigation-compact .bx-navigation-panel a{font-size:15px;min-height:46px;padding-block:11px}
html[data-site=baxs].baxs-navigation-compact .bx-navigation-panel a svg{opacity:.7;transform:none}
html[data-site=baxs].baxs-navigation-compact .bx-nav-actions{margin:0;padding:24px 0 8px;justify-content:space-between;gap:22px}
html[data-site=baxs].baxs-navigation-compact .bx-nav-demo{padding-left:12px;font-size:14px}
html[data-site=baxs].baxs-navigation-compact .bx-nav-contact.btn{padding:12px 20px;min-height:46px;font-size:14px}
html[data-site=baxs].baxs-navigation-open{overflow:hidden}
@media(max-width:600px){
 html[data-site=baxs].baxs-navigation-compact .bx-header .bx-navigation{top:calc(var(--navigation-header,72px) + 9px)!important;padding:13px 18px!important;max-height:calc(100dvh - var(--navigation-header,72px) - 22px)}
 html[data-site=baxs].baxs-navigation-compact .bx-nav-product-grid,html[data-site=baxs].baxs-navigation-compact .bx-nav-directory{grid-template-columns:1fr;gap:0}
 html[data-site=baxs].baxs-navigation-compact .bx-nav-product-family+.bx-nav-product-family{border-left:0;border-top:1px solid #725b8755;margin-top:17px;padding:20px 0 0}
 html[data-site=baxs].baxs-navigation-compact .bx-nav-actions{padding-top:20px;gap:12px}
}
@media(prefers-reduced-motion:reduce){html[data-site=baxs].baxs-navigation-compact .bx-header .bx-navigation.open{animation:none}}

/* Disclosures follow their subject as readable footnotes, without a separate card. */
html[data-site] body main .site-disclaimer-note{display:block;grid-column:1/-1;min-width:0;max-width:100%;margin:18px 0 0;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;font-size:13px;font-weight:400;line-height:1.8;color:var(--disclaimer-color,#766f85);text-align:start;overflow-wrap:anywhere}
html[data-site] body main .site-disclaimer-note::before,html[data-site] body main .site-disclaimer-note::after{content:none!important}
html[data-site] body main .site-disclaimer-note>p{margin:0;font:inherit;color:inherit}
html[data-site] body main .site-disclaimer-note>p+p{margin-top:6px}
html[data-site] body main .site-disclaimer-note a{color:inherit;text-decoration:underline;text-underline-offset:3px}
html[data-site] body main .site-disclaimer-note+.actions{margin-top:24px}

/* Keep public prose readable at narrow widths without leaving a stray last character. */
html[data-site] body:not(.in-demo) main p:not(:where(.bxm-system *,.bxp-work-area *)){text-wrap:pretty;line-break:strict}
html[data-site] body:not(.in-demo) main :is(.section-head,.section-heading,.topic-header,.page-intro,.bx-secondary-hero-copy) p,
html[data-site] body:not(.in-demo) main .ba-profile-lede{text-wrap:balance}
