#ai_header { background-color: #fff !important; border-bottom: 1px solid #f3f4f6 !important; transition: all 200ms ease; }
  .main-nav .active { color: var(--brand-primary) !important; font-weight: 600; position: relative; }
  .header-nav .main-nav .active::after { content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 24px; height: 2px; background-color: var(--brand-primary); border-radius: 1px; }
  .nav-link:hover { color: var(--brand-dark) !important; }
  .guides-mega { width: 600px; max-width: calc(100vw - 32px); border:1px solid #eef0f3; background:#fff; border-radius:18px; box-shadow:0 24px 60px -12px rgba(20,32,58,.28); overflow:hidden; padding:0; }
  .guides-menu .guides-mega { opacity: 0; visibility: hidden; pointer-events: none; transform: translate(-50%, 8px); transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease; }
  .guides-menu:hover .guides-mega, .guides-menu:focus-within .guides-mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
  .guides-mega-head { padding:20px 22px 14px; border-bottom:1px solid #f4f5f7; }
  .guides-mega-eyebrow { display:block; font-size:11px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; color:var(--brand-primary); margin-bottom:6px; }
  .guides-mega-title { display:block; font-size:16px; font-weight:800; color:var(--brand-dark); line-height:1.2; }
  .guides-mega-sub { display:block; font-size:12.5px; line-height:1.5; color:#6b7280; margin-top:5px; max-width:46ch; }
  .guides-mega-grid { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:2px; padding:8px 10px; }
  .guides-mega-link { display:flex; align-items:center; gap:12px; padding:10px 12px; border-radius:12px; text-decoration:none !important; transition:background 140ms ease; }
  .guides-mega-link:hover { background:#f7f8fa; }
  .guides-mega-ic { flex:0 0 auto; width:38px; height:38px; border-radius:11px; display:grid; place-items:center; background:var(--brand-light); color:var(--brand-primary); transition:background 140ms ease, color 140ms ease; }
  .guides-mega-link:hover .guides-mega-ic { background:var(--brand-primary); color:#fff; }
  .guides-mega-ic svg { width:18px; height:18px; }
  .guides-mega-tx { display:flex; flex-direction:column; min-width:0; }
  .guides-mega-tx .gm-t { font-size:13.5px; font-weight:700; color:var(--brand-dark); line-height:1.25; }
  .guides-mega-tx .gm-d { font-size:11.5px; color:#9aa1ad; margin-top:2px; line-height:1.3; }
  .guides-mega-foot { display:block; padding:13px 22px; border-top:1px solid #f4f5f7; background:#fafbfc; font-size:13px; font-weight:700; color:var(--brand-primary); text-decoration:none !important; transition:background 140ms ease; }
  .guides-mega-foot:hover { background:#f1f2f4; }
  body { padding-top: 64px; }

/* lo-nounderline */
  #ai_header .site-logo, #ai_header .site-logo *, #ai_header .site-logo:hover, #ai_header .site-logo:hover *{ text-decoration:none !important; }

/* lo-autohide */ #ai_header.header-hidden{ transform:translateY(-100%) !important; } #ai_header{ will-change:transform; }

/* lo-drawer */
  #mobile-menu{ top:0 !important; bottom:0 !important; height:100vh !important; height:100dvh !important; max-width:340px; }
  #mobile-menu > div{ height:100% !important; display:flex; flex-direction:column; }
  #mobile-menu .flex-1{ flex:1 1 auto; overflow-y:auto; }

/* lo-lang */
  .lo-lang{ position:relative; }
  .lo-lang-btn{ display:inline-flex; align-items:center; gap:6px; font-size:13px; font-weight:600; color:#374151; padding:8px 10px; border-radius:9px; transition:background .15s ease; }
  .lo-lang-btn:hover{ background:#f3f4f6; }
  .lo-lang-btn svg{ width:18px; height:18px; flex:none; } .lo-lang-chev{ width:14px !important; height:14px !important; opacity:.6; }
  .lo-lang-code{ text-transform:uppercase; letter-spacing:.02em; }
  .lo-lang-menu{ position:absolute; right:0; top:calc(100% + 8px); background:#fff; border:1px solid #eef0f3; border-radius:12px; box-shadow:0 16px 38px rgba(20,32,58,.16); padding:6px; min-width:168px; z-index:60; }
  .lo-lang-menu[hidden]{ display:none; }
  .lo-lang-opt{ display:flex; align-items:center; justify-content:space-between; width:100%; text-align:left; padding:9px 12px; border-radius:8px; font-size:13.5px; font-weight:600; color:#374151; transition:background .12s ease; }
  .lo-lang-opt:hover{ background:#f7f8fa; }
  .lo-lang-opt[aria-current="true"]{ color:var(--brand-primary); }
  .lo-lang-opt[aria-current="true"]::after{ content:"✓"; font-weight:800; }
  .lo-lang-mobile{ display:flex; align-items:center; justify-content:space-between; padding:4px 0 2px; }
  .lo-lang-mobile-label{ font-size:13px; font-weight:700; color:#6b7280; }
  .lo-lang-mobile-opts{ display:flex; gap:6px; }
  .lo-lang-mopt{ padding:7px 13px; border:1px solid #e5e7eb; border-radius:8px; font-size:12px; font-weight:700; color:#374151; background:#fff; }
  .lo-lang-mopt[aria-current="true"]{ background:var(--brand-primary); color:#fff; border-color:var(--brand-primary); }
