/* KBM Theme Core rc.68 — V9 Visual Experience Authority.
 * Shell-only polish; Core remains business/card/filter/data authority. */
:root{
  --kbm-vx9-drawer-w:420px;
  --kbm-vx9-header-elev:0 10px 28px rgba(7,29,45,.07);
  --kbm-vx9-drawer-elev:-22px 0 72px rgba(7,29,45,.26);
  --kbm-vx9-appbar-elev:0 -10px 34px rgba(7,29,45,.13);
}
body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-header{
  background:rgba(255,255,255,.94)!important;
  border-bottom-color:rgba(148,163,184,.20)!important;
  box-shadow:var(--kbm-vx9-header-elev)!important;
  backdrop-filter:blur(16px) saturate(135%)!important;
  -webkit-backdrop-filter:blur(16px) saturate(135%)!important;
  transition:min-height 180ms cubic-bezier(.2,.8,.2,1),box-shadow 180ms ease,background-color 180ms ease!important;
}
body.kbm-theme-core .kbm-theme-header.is-kbm-vx9-compact{box-shadow:0 8px 22px rgba(7,29,45,.10)!important;background:rgba(255,255,255,.975)!important}
body.kbm-theme-core .kbm-theme-header.is-kbm-vx9-compact .kbm-theme-header__inner{min-height:58px!important}
body.kbm-theme-core .kbm-theme-header.is-kbm-vx9-compact .kbm-theme-brand--canonical .kbm-theme-brand__logo{transform:scale(.91)!important}
body.kbm-theme-core .kbm-theme-header.is-kbm-vx9-compact .kbm-theme-brand__wordmark{transform:scale(.95);transform-origin:center right}

/* Smart submit: full label at the top, compact + after meaningful scroll. */
body.kbm-theme-core .kbm-theme-btn--smart-submit{position:relative;overflow:hidden;transition:width 180ms cubic-bezier(.2,.8,.2,1),min-width 180ms ease,padding 180ms ease,border-radius 180ms ease,transform 160ms ease,box-shadow 160ms ease!important}
body.kbm-theme-core .kbm-theme-btn--smart-submit .kbm-theme-btn__smart-icon{display:grid;place-items:center;width:0;opacity:0;font:900 25px/1 Estedad,Tahoma,sans-serif;transition:width 160ms ease,opacity 160ms ease}
body.kbm-theme-core .kbm-theme-btn--smart-submit .kbm-theme-btn__label{display:inline-block;max-width:180px;opacity:1;white-space:nowrap;overflow:hidden;transition:max-width 160ms ease,opacity 120ms ease}
@media(min-width:981px){
  body.kbm-theme-core.kbm-theme-vx9-smart-submit .kbm-theme-actions .kbm-theme-btn--smart-submit{width:44px!important;min-width:44px!important;max-width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;border-radius:15px!important;box-shadow:0 9px 18px rgba(255,204,0,.22)!important}
  body.kbm-theme-core.kbm-theme-vx9-smart-submit .kbm-theme-actions .kbm-theme-btn--smart-submit .kbm-theme-btn__label{max-width:0;opacity:0}
  body.kbm-theme-core.kbm-theme-vx9-smart-submit .kbm-theme-actions .kbm-theme-btn--smart-submit .kbm-theme-btn__smart-icon{width:22px;opacity:1}
}

/* Drawer: account-first IA inspired by high-trust marketplace apps. */
body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-nav__account-card{display:none}
@media(max-width:1320px){
  :root{--kbm-header-drawer:var(--kbm-vx9-drawer-w)}
  body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-nav{
    width:min(94vw,var(--kbm-vx9-drawer-w))!important;max-width:min(94vw,var(--kbm-vx9-drawer-w))!important;
    border-radius:0 0 0 28px!important;box-shadow:var(--kbm-vx9-drawer-elev)!important;
    background:
      linear-gradient(180deg,rgba(255,255,255,.985),rgba(248,250,252,.985)),
      var(--kbm-vx-light-mesh-image,none)!important;background-size:cover!important;background-position:center!important;
  }
  body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-nav__mobile-head{min-height:74px!important;padding:13px 15px!important;border-bottom:0!important;background:transparent!important}
  body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-nav__mobile-title strong{font-size:18px!important;letter-spacing:-.35px}
  body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-nav__mobile-title small{font-size:10.5px!important;color:#778498!important}
  body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-nav__close{width:44px!important;height:44px!important;border-radius:15px!important;background:#fff!important;box-shadow:0 6px 18px rgba(7,29,45,.06)!important}

  body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-nav__account-card{display:block!important;flex:0 0 auto;padding:0 12px 10px}
  body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-nav__account-link{display:grid;grid-template-columns:52px minmax(0,1fr) 32px;align-items:center;gap:11px;min-height:78px;padding:11px 13px;border:1px solid rgba(148,163,184,.20);border-radius:20px;background:linear-gradient(135deg,#f7f9fc,#eef2f7);color:#0f172a;text-decoration:none;box-shadow:inset 0 1px 0 rgba(255,255,255,.85),0 8px 22px rgba(7,29,45,.045)}
  body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-nav__account-avatar{display:grid;place-items:center;width:52px;height:52px;border-radius:18px;background:linear-gradient(145deg,#fff,#e7edf4);color:#0f2942;border:1px solid #dfe6ed}
  body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-nav__account-avatar svg{width:28px;height:28px;fill:currentColor}
  body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-nav__account-copy{display:grid;gap:3px;min-width:0;text-align:right}
  body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-nav__account-copy strong{font-size:14px;font-weight:950;color:#10233f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-nav__account-copy small{font-size:10.5px;line-height:1.65;color:#66758a;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-nav__account-arrow{display:grid;place-items:center;width:30px;height:30px;border-radius:11px;background:#fff;color:#10233f;font-size:18px;box-shadow:0 4px 10px rgba(7,29,45,.05)}

  body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-nav__drawer-search{padding:0 12px 8px!important;background:transparent!important}
  body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-smart-search--drawer{border:1px solid rgba(148,163,184,.20)!important;border-radius:17px!important;background:#fff!important;padding:4px!important;box-shadow:0 7px 18px rgba(7,29,45,.045)}
  body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-smart-search--drawer :where(input,select){border:0!important;background:#f7f9fb!important;border-radius:12px!important}
  body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-smart-search--drawer .kbm-theme-smart-search__submit{border-radius:12px!important;background:#0d3654!important;color:#fff!important}

  body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-nav__quick-wrap{padding:2px 12px 10px!important;background:transparent!important;border-bottom:0!important;gap:6px!important}
  body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-nav__section-label{font-size:10px!important;color:#7a8798!important;font-weight:850!important;padding-inline:2px!important}
  body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-nav__quick{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important}
  body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-nav__quick>a{min-height:64px!important;padding:7px 4px!important;border-radius:16px!important;border-color:#e3e9ef!important;background:rgba(255,255,255,.92)!important;box-shadow:0 6px 16px rgba(7,29,45,.035)!important;transition:transform 150ms ease,border-color 150ms ease,background-color 150ms ease!important}
  body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-nav__quick>a:active{transform:scale(.97)}
  body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-nav__quick svg{width:21px!important;height:21px!important}
  body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-nav__quick b{font-size:9.6px!important;line-height:1.42!important}

  body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-nav__scroll{gap:7px!important;padding:8px 12px 16px!important}
  body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-nav__group-title{margin:6px 3px 0!important;color:#8a97a7!important;font-size:9.5px!important;font-weight:900!important;letter-spacing:0!important}
  body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-nav__item{border-color:rgba(148,163,184,.18)!important;border-radius:17px!important;background:rgba(255,255,255,.96)!important;box-shadow:0 5px 14px rgba(7,29,45,.025)!important;transition:border-color 160ms ease,background-color 160ms ease,box-shadow 160ms ease!important}
  body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-nav__item.is-active{border-color:rgba(232,187,0,.42)!important;box-shadow:inset -3px 0 0 #ffcc00,0 7px 18px rgba(7,29,45,.035)!important}
  body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-nav__item.is-active>.kbm-theme-nav__link{background:linear-gradient(90deg,#fff,#fff8d5)!important;color:#0b2a43!important}
  body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-nav__link{min-height:54px!important;padding:10px 12px!important;font-size:13.5px!important}
  body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-nav__icon{width:20px!important;height:20px!important;flex-basis:20px!important;opacity:.9!important}
  body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-nav__icon svg{width:20px!important;height:20px!important}
  body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-nav__toggle{width:42px!important;height:42px!important;border-radius:13px!important;background:#f6f8fb!important}
  body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-submenu{background:#f6f8fb!important}
  body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-submenu__link{border-radius:13px!important;border-color:#e2e8f0!important;box-shadow:0 4px 12px rgba(7,29,45,.025)!important}
  body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-nav__mobile-actions{padding:10px 12px calc(10px + var(--kbm-header-safe))!important;background:rgba(255,255,255,.98)!important;backdrop-filter:blur(14px)!important}
  body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-nav__mobile-actions .kbm-theme-btn{border-radius:15px!important;min-height:48px!important}
}
@media(max-width:620px){
  body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-nav__quick{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-nav__quick>a{min-height:60px!important;padding-inline:2px!important}
  body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-nav__quick b{font-size:8.8px!important}
}
@media(max-width:374px){
  body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-nav__account-link{grid-template-columns:46px minmax(0,1fr) 28px;padding:9px 10px}
  body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-nav__account-avatar{width:46px;height:46px;border-radius:15px}
  body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-nav__quick{gap:5px!important}
  body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-nav__quick>a{min-height:57px!important;border-radius:14px!important}
}

/* Mobile appbar — app-like, one active destination, smart center action. */
@media(max-width:980px){
  body.kbm-theme-core .kbm-theme-mobile-appbar{right:8px!important;left:8px!important;bottom:8px!important;min-height:78px!important;padding:6px!important;gap:3px!important;border:1px solid rgba(148,163,184,.18)!important;border-radius:26px!important;background:rgba(255,255,255,.94)!important;box-shadow:var(--kbm-vx9-appbar-elev)!important;backdrop-filter:blur(18px) saturate(140%)!important;-webkit-backdrop-filter:blur(18px) saturate(140%)!important}
  body.kbm-theme-core .kbm-theme-mobile-appbar .kbm-quf-app-bar__item{min-height:64px!important;border:1px solid transparent!important;border-radius:18px!important;background:transparent!important;color:#536477!important;transition:transform 160ms ease,background-color 160ms ease,color 160ms ease,border-color 160ms ease!important}
  body.kbm-theme-core .kbm-theme-mobile-appbar .kbm-quf-app-bar__item--active{background:#fff7d1!important;color:#0d2e49!important;border-color:rgba(229,188,20,.46)!important;box-shadow:inset 0 0 0 1px rgba(255,204,0,.13)!important}
  body.kbm-theme-core .kbm-theme-mobile-appbar [data-key="submit"]{background:#fff!important;color:#273b50!important;border-color:#e2e8f0!important;box-shadow:0 8px 18px rgba(7,29,45,.08)!important}
  body.kbm-theme-core .kbm-theme-mobile-appbar [data-key="submit"] .kbm-quf-app-bar__icon{transition:transform 180ms cubic-bezier(.2,.8,.2,1)}
  body.kbm-theme-core.kbm-theme-vx9-smart-submit .kbm-theme-mobile-appbar [data-key="submit"]{align-self:center;justify-self:center;width:58px!important;min-width:58px!important;max-width:58px!important;height:58px!important;min-height:58px!important;border-radius:19px!important;background:linear-gradient(180deg,#ffda37,#ffc900)!important;color:#0b2238!important;border-color:#f0bf00!important;transform:translateY(-8px)!important;box-shadow:0 12px 24px rgba(255,204,0,.28)!important}
  body.kbm-theme-core.kbm-theme-vx9-smart-submit .kbm-theme-mobile-appbar [data-key="submit"] .kbm-quf-app-bar__label{max-height:0!important;opacity:0!important;margin:0!important;font-size:0!important;overflow:hidden!important}
  body.kbm-theme-core.kbm-theme-vx9-smart-submit .kbm-theme-mobile-appbar [data-key="submit"] .kbm-quf-app-bar__icon{width:28px!important;height:28px!important;transform:scale(1.08)}
  body.kbm-theme-core.kbm-theme-vx9-smart-submit .kbm-theme-mobile-appbar [data-key="submit"] .kbm-quf-app-bar__icon svg{width:28px!important;height:28px!important}
  body.kbm-theme-core .kbm-theme-mobile-appbar .kbm-quf-app-bar__label{transition:opacity 140ms ease,max-height 140ms ease!important}
}

/* More sheet parity with the drawer. */
@media(max-width:980px){
  .kbm-theme-mobile-more__sheet{border-radius:28px 28px 0 0!important;background:linear-gradient(180deg,#fff,#f8fafc)!important;box-shadow:0 -24px 72px rgba(7,29,45,.26)!important}
  .kbm-theme-mobile-more__grid>a{border-radius:18px!important;border-color:rgba(148,163,184,.22)!important;background:#fff!important;box-shadow:0 6px 16px rgba(7,29,45,.035)!important}
  .kbm-theme-mobile-more__grid>a.is-active{background:#fff8d7!important;border-color:#e6bd1c!important}
}

@media(prefers-reduced-motion:reduce){
  body.kbm-theme-core .kbm-theme-header,body.kbm-theme-core .kbm-theme-btn--smart-submit,body.kbm-theme-core .kbm-theme-btn--smart-submit *,body.kbm-theme-core .kbm-theme-mobile-appbar *,body.kbm-theme-core .kbm-theme-nav *{transition:none!important;animation:none!important}
}

/* rc.69 — Visual Icon Library 02 theme surface bridge */
body.kbm-theme-core .kbm-media8-img{display:block;object-fit:contain;object-position:center;max-width:100%;max-height:100%;filter:none!important}
body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-menu-toggle{display:grid;place-items:center}
body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-menu-toggle>span:not(.kbm-theme-menu-toggle__graphic){display:none!important}
body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-menu-toggle__graphic{display:grid;place-items:center;width:32px;height:32px}
body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-menu-toggle__graphic .kbm-media8-img{width:30px!important;height:30px!important}
body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-nav__close,
body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-search-inline__close{display:grid!important;place-items:center!important;font-size:0!important}
body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-nav__close .kbm-media8-img{width:30px!important;height:30px!important}
body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-search-inline__close .kbm-media8-img{width:26px!important;height:26px!important}
body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-nav__account-avatar .kbm-media8-img{width:42px!important;height:42px!important}
body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-nav__account-arrow .kbm-media8-img{width:22px!important;height:22px!important}
body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-nav__quick .kbm-media8-img{width:30px!important;height:30px!important}
body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-nav__icon{width:28px!important;height:28px!important}
body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-nav__icon .kbm-media8-img{width:28px!important;height:28px!important}
body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-nav__toggle{display:grid!important;place-items:center!important}
body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-nav__toggle::before,
body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-nav__toggle::after{display:none!important}
body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-nav__toggle-icon{display:grid;place-items:center;width:24px;height:24px;transition:transform .18s var(--kbm-motion-ease-standard,ease)}
body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-nav__toggle[aria-expanded="true"] .kbm-theme-nav__toggle-icon{transform:rotate(180deg)}
body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-search-trigger .kbm-media8-img,
body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-smart-search__submit .kbm-media8-img{width:24px!important;height:24px!important}
body.kbm-theme-core .kbm-theme-btn__smart-icon{display:grid!important;place-items:center!important}
body.kbm-theme-core .kbm-theme-btn__smart-icon .kbm-media8-img{width:28px!important;height:28px!important}
body.kbm-theme-core .kbm-quf-app-bar__icon .kbm-media8-img{width:30px!important;height:30px!important}
body.kbm-theme-core .kbm-theme-mobile-more__icon .kbm-media8-img{width:28px!important;height:28px!important}
body.kbm-theme-core .kbm-theme-footer__social .kbm-media8-img{width:24px!important;height:24px!important}
body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-menu-toggle>span.kbm-theme-menu-toggle__graphic{display:grid!important;width:32px!important;height:32px!important;min-height:32px!important;flex:0 0 32px!important;border:0!important;border-radius:0!important;background:transparent!important;opacity:1!important;visibility:visible!important;transform:none!important}

/* rc70 icon optical-size overrides */
@media(min-width:1321px){body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-nav__icon .kbm-media8-img{width:19px!important;height:19px!important}}
@media(max-width:1320px){body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-nav__icon .kbm-media8-img{width:24px!important;height:24px!important}}
body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-nav__toggle-icon .kbm-media8-img{width:16px!important;height:16px!important}
body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-menu-toggle__graphic .kbm-media8-img{width:26px!important;height:26px!important}
body.kbm-theme-core.kbm-theme-header-canonical .kbm-theme-nav__close .kbm-media8-img{width:24px!important;height:24px!important}
