/* V7 navigation repair: liquid glass popovers with explicit contrast and visible focus.
   Overrides visual regressions caused by V4 dark-nav styles on original light menus.
   Does not replace the signed-off navigation/search JavaScript. */
body > header{overflow:visible!important;isolation:isolate;}
body > header .brand-row{position:relative;z-index:3;}
body > header .desktop-nav{overflow:visible!important;}
body > header .cskt-v15-resource-control{position:relative;display:flex;align-items:center;gap:4px;}
body > header .cskt-v15-disclosure{
 display:grid;place-items:center;flex:0 0 29px;width:29px;height:36px;
 background:rgba(245,252,255,.12)!important;
 border:1px solid rgba(240,253,255,.24)!important;border-radius:11px;
 color:#f7fcff!important;cursor:pointer;
}
body > header .cskt-v15-disclosure span{
 display:block;width:8px;height:8px;border:solid #effaff;border-width:0 1.8px 1.8px 0;
 transform:translateY(-2px) rotate(45deg);transition:transform .18s ease;
}
body > header .cskt-v15-disclosure[aria-expanded="true"] span{transform:translateY(2px) rotate(225deg);}
body > header .cskt-v15-dropdown{
 position:absolute!important;z-index:310!important;
 min-width:300px;max-width:min(380px,calc(100vw - 36px));
 top:calc(100% + 15px)!important;
 padding:12px!important;
 display:grid!important;gap:3px!important;
 border:1px solid rgba(239,252,255,.35)!important;border-radius:20px!important;
 background:linear-gradient(143deg,rgba(19,65,96,.94),rgba(7,41,67,.96))!important;
 -webkit-backdrop-filter:blur(25px) saturate(122%)!important;
 backdrop-filter:blur(25px) saturate(122%)!important;
 box-shadow:0 23px 50px rgba(0,15,35,.32),inset 0 1px rgba(255,255,255,.26)!important;
 color:#f8fdff!important;overflow:visible!important;
}
body > header .cskt-v15-dropdown[hidden]{display:none!important;}
body > header .cskt-v15-dropdown a{
 display:block;color:#f5fbff!important;background:transparent!important;
 font-size:13px!important;font-weight:620!important;line-height:1.3;
 border-radius:11px!important;padding:12px 14px!important;
 text-decoration:none!important;white-space:normal;
}
body > header .cskt-v15-dropdown a:hover,
body > header .cskt-v15-dropdown a:focus-visible{
 background:rgba(224,245,255,.17)!important;color:#fff!important;
}
body > header .cskt-v15-dropdown a[aria-current="page"]{
 background:rgba(210,238,251,.20)!important;
 border-left:2px solid #b5e5ff;
}
body > header .cskt-nav-rail{overflow:hidden!important;}
body > header .cskt-search-capsule{z-index:160!important;}
body > header .cskt-search-capsule.is-open{z-index:380!important;}
body > header .cskt-search-capsule.is-open.cskt-search-capsule--desktop{
 width:clamp(295px,29vw,445px)!important;
 max-width:calc(100vw - 35px)!important;
 background:linear-gradient(140deg,rgba(247,253,255,.95),rgba(224,243,252,.92))!important;
 box-shadow:0 17px 43px rgba(0,13,34,.23),inset 0 1px rgba(255,255,255,.95)!important;
 border:1px solid rgba(255,255,255,.83)!important;
 border-radius:22px!important;
}
body > header .cskt-search-capsule.is-open .cskt-search-capsule__form{
 width:100%!important;max-width:100%!important;
 overflow:visible!important;background:transparent!important;
 display:flex!important;align-items:center!important;
}
body > header .cskt-search-capsule.is-open .cskt-search-capsule__field{
 width:auto!important;min-width:0!important;flex:1 1 auto!important;
 overflow:visible!important;display:block!important;opacity:1!important;
}
body > header .cskt-search-capsule.is-open input,
body > header .cskt-search-capsule.is-open .cskt-search-capsule__field input{
 display:block!important;width:100%!important;
 min-width:0!important;max-width:100%!important;
 background:rgba(249,254,255,.89)!important;
 color:#163e56!important;caret-color:#115a7e!important;
 font-size:13px!important;border:0!important;outline-offset:2px;
 opacity:1!important;
}
body > header .cskt-search-capsule.is-open input::placeholder{color:#526d7f!important;opacity:1!important;}
body > header .cskt-search-capsule.is-open .cskt-search-capsule__icon{
 flex-shrink:0;color:#174f71!important;
 background:rgba(202,229,244,.7)!important;border-radius:15px!important;
}
body > header .cskt-search-capsule__suggestions{
 z-index:410!important;min-width:285px!important;
 border:1px solid rgba(227,246,255,.88)!important;
 border-radius:18px!important;
 color:#183d57!important;
 background:linear-gradient(145deg,rgba(250,254,255,.98),rgba(227,244,253,.98))!important;
 box-shadow:0 16px 38px rgba(2,29,56,.26),inset 0 1px #fff!important;
 -webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);
 overflow:auto;max-height:min(430px,65vh);
}
body > header .cskt-search-capsule__suggestions[hidden]{display:none!important;}
body > header .cskt-search-capsule__state{
 color:#37586d!important;
 background:rgba(233,247,253,.93)!important;
 font-size:13px!important;border-radius:13px!important;
}
body > header .cskt-search-capsule__suggestions a,
body > header .cskt-search-capsule__suggestions button,
body > header .cskt-search-capsule__suggestions li,
body > header .cskt-search-capsule__suggestions strong,
body > header .cskt-search-capsule__suggestions span{
 color:#173e56!important;
}
body > header .cskt-search-capsule__suggestions a:hover,
body > header .cskt-search-capsule__suggestions button:hover,
body > header .cskt-search-capsule__suggestions [aria-selected="true"]{
 background:rgba(194,227,244,.69)!important;
}
body > header .cskt-search-capsule__suggestions a:focus-visible,
body > header .cskt-v15-disclosure:focus-visible,
body > header .cskt-search-capsule__icon:focus-visible{
 outline:3px solid #a2dfff!important;outline-offset:2px;
}
/* Existing mobile menu remains native interaction; its nested Resources list gets glass. */
body > header .mobile-menu.open{
 position:relative;z-index:150!important;max-height:72vh;overflow-y:auto!important;
 background:linear-gradient(145deg,rgba(14,55,86,.97),rgba(6,36,62,.97))!important;
 border:1px solid rgba(234,251,255,.31)!important;
 -webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);
 border-radius:19px!important;
}
body > header .mobile-menu.open a{color:#f1faff!important;}
body > header .cskt-v15-mobile-resource-row{min-width:0!important;width:100%!important;}
body > header .cskt-v15-mobile-toggle{
 background:rgba(240,251,255,.12)!important;
 color:#f6fbff!important;border:1px solid rgba(255,255,255,.36)!important;
 border-radius:100px!important;font-weight:630!important;
}
body > header .cskt-v15-mobile-subnav{
 background:rgba(3,30,52,.35)!important;
 border:1px solid rgba(236,249,255,.25)!important;
 border-radius:14px!important;
 padding:8px!important;min-width:0!important;
}
body > header .cskt-v15-mobile-subnav[hidden]{display:none!important;}
body > header .cskt-v15-mobile-subnav a{
 color:#edf9ff!important;background:transparent!important;
 border-radius:10px!important;padding:10px 13px!important;
}
body > header .cskt-v15-mobile-subnav a:hover{background:rgba(234,250,255,.15)!important;}
@media(max-width:760px){
 body > header .cskt-search-capsule.is-open.cskt-search-capsule--mobile{
  position:absolute!important;
  top:calc(100% + 8px)!important;
  left:13px!important;right:13px!important;
  width:calc(100% - 26px)!important;max-width:none!important;
  z-index:400!important;
  background:linear-gradient(140deg,rgba(249,254,255,.97),rgba(229,245,253,.97))!important;
  border:1px solid rgba(255,255,255,.89)!important;
  border-radius:19px!important;box-shadow:0 18px 38px rgba(0,19,39,.37)!important;
 }
 body > header .cskt-search-capsule.is-open.cskt-search-capsule--mobile .cskt-search-capsule__form{
  width:100%!important;
 }
 body > header .cskt-search-capsule.is-open.cskt-search-capsule--mobile .cskt-search-capsule__suggestions{
  left:0!important;right:0!important;width:100%!important;
  max-width:100%!important;min-width:0!important;top:calc(100% + 6px)!important;
 }
 body > header .mobile-menu.open{margin-top:8px!important;}
}
