/* PEP-REF-KASBI-GLOBAL-NAV-01 / v1.0.0-rc.1
 * Scoped companion stylesheet: never copies or replaces Theme markup.
 */
body.kbm-theme-header-canonical .kbm-theme-header :is(a,button,input,select):focus-visible{outline:3px solid #e1a500;outline-offset:3px}
body.kbm-theme-header-canonical .kbm-theme-nav__toggle[aria-expanded="true"] .kbm-theme-nav__toggle-icon{transform:rotate(180deg)}
@media(max-width:1024px){
 body.kbm-theme-header-canonical.kbm-theme-compact-header-mode .kbm-theme-header__inner{width:calc(100% - 24px)!important;grid-template-columns:minmax(0,1fr) auto 40px 40px!important;grid-template-areas:"brand actions search toggle"!important;gap:6px!important;min-height:68px!important;padding-block:8px!important;align-items:center!important}
 body.kbm-theme-header-canonical.kbm-theme-compact-header-mode .kbm-theme-brand{min-width:0!important;overflow:hidden;gap:6px!important}
 body.kbm-theme-header-canonical.kbm-theme-compact-header-mode .kbm-theme-brand__logo{flex:0 0 34px;width:34px!important;height:34px!important}
 body.kbm-theme-header-canonical.kbm-theme-compact-header-mode .kbm-theme-brand__copy{min-width:0}
 body.kbm-theme-header-canonical.kbm-theme-compact-header-mode .kbm-theme-brand__wordmark{font-size:clamp(12px,3.8vw,16px)!important;line-height:1.5!important;white-space:nowrap}
 body.kbm-theme-header-canonical.kbm-theme-compact-header-mode .kbm-theme-brand__copy small{display:none!important}
 body.kbm-theme-header-canonical.kbm-theme-compact-header-mode .kbm-theme-actions{grid-area:actions!important;display:flex!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;justify-content:center;min-width:0}
 body.kbm-theme-header-canonical.kbm-theme-compact-header-mode .kbm-theme-actions .kbm-theme-btn:not(.kbm-theme-btn--smart-submit){display:none!important}
 body.kbm-theme-header-canonical.kbm-theme-compact-header-mode .kbm-theme-actions .kbm-theme-btn--smart-submit{display:inline-flex!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;min-width:72px!important;min-height:40px!important;padding:6px 9px!important;gap:4px!important;font-size:12px!important;line-height:1.35!important;background:#f5bd31!important;border-color:#e7ad1e!important;color:#182d49!important;border-radius:10px!important;white-space:nowrap!important}
 body.kbm-theme-header-canonical.kbm-theme-compact-header-mode .kbm-theme-search-inline{grid-area:search!important;min-width:40px;width:40px!important}
 body.kbm-theme-header-canonical.kbm-theme-compact-header-mode .kbm-theme-search-trigger{width:40px!important;min-width:40px!important;height:40px!important;min-height:40px!important;padding:7px!important;justify-content:center!important}
 body.kbm-theme-header-canonical.kbm-theme-compact-header-mode .kbm-theme-search-trigger>span{display:none!important}
 body.kbm-theme-header-canonical.kbm-theme-compact-header-mode .kbm-theme-menu-toggle{grid-area:toggle!important;display:flex!important;width:40px!important;min-width:40px!important;height:40px!important;min-height:40px!important;padding:7px!important}
 /* Maintain scroll lock even without KBMInteraction; no second click controller. */
 html.kbm-theme-menu-open,body.kbm-theme-menu-open{overflow:hidden!important;overscroll-behavior:none}
 body.kbm-theme-compact-header-mode .kbm-theme-nav__mobile-actions{padding-bottom:max(16px,env(safe-area-inset-bottom,0px))!important;z-index:1}
 body.kbm-theme-header-canonical.kbm-theme-compact-header-mode.kbm-theme-menu-open .kbm-theme-nav{animation:kbm-kasbi-nav-enter 210ms cubic-bezier(.2,.8,.2,1) both}
 body.kbm-theme-header-canonical.kbm-theme-compact-header-mode.kbm-theme-menu-open .kbm-theme-backdrop{animation:kbm-kasbi-backdrop-enter 190ms ease both}
}
@media(max-width:360px){
 body.kbm-theme-header-canonical.kbm-theme-compact-header-mode .kbm-theme-header__inner{grid-template-columns:minmax(0,1fr) 68px 38px 38px!important;gap:4px!important}
 body.kbm-theme-header-canonical.kbm-theme-compact-header-mode .kbm-theme-brand__logo{flex-basis:30px;width:30px!important;height:30px!important}
 body.kbm-theme-header-canonical.kbm-theme-compact-header-mode .kbm-theme-actions .kbm-theme-btn--smart-submit{min-width:68px!important;padding-inline:5px!important;font-size:11px!important}
}
@keyframes kbm-kasbi-nav-enter{from{opacity:.65;transform:translateX(-14px)}to{opacity:1;transform:translateX(0)}}
@keyframes kbm-kasbi-backdrop-enter{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){body.kbm-theme-header-canonical .kbm-theme-nav,body.kbm-theme-header-canonical .kbm-theme-backdrop,body.kbm-theme-header-canonical .kbm-theme-nav__toggle-icon{animation:none!important;transition:none!important}}
