/* Scoped navigation styles: do not alter content, search or the category rail. */
.wpt-header.header{position:relative;z-index:50;display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:72px;height:auto;padding-block:12px;border-bottom:1px solid #dce3ed;background:#fff}
.wpt-header .brand{flex-shrink:0;text-decoration:none}
.wpt-header .wpt-navigation{display:flex;align-items:center;gap:6px;margin-left:auto;font-size:14px;font-weight:600}
.wpt-header [hidden]{display:none!important}
.wpt-header .wpt-nav-link{position:relative;display:flex;align-items:center;justify-content:flex-start;gap:8px;min-height:46px;padding:12px 16px;margin:0;border:0;border-radius:8px;color:#14243b;background:transparent;font:inherit;line-height:1.45;text-decoration:none;cursor:pointer;list-style:none;overflow-wrap:anywhere}
.wpt-header .wpt-nav-link:hover{color:#1757d8;background:#f1f5fc}
.wpt-header .wpt-nav-link.is-active{color:#1757d8}
.wpt-header .wpt-nav-link.is-active:after{content:"";position:absolute;bottom:5px;left:16px;right:16px;height:2px;border-radius:2px;background:#1757d8}
.wpt-header :is(a,button,summary):focus-visible{outline:3px solid #1757d8;outline-offset:3px}
.wpt-header .wpt-resources{position:relative;border:0;padding:0;margin:0}
.wpt-header summary::-webkit-details-marker{display:none}
.wpt-header summary::marker{content:""}
.wpt-header summary svg{flex:0 0 14px;transition:transform 160ms ease}
.wpt-header .wpt-resources[open]>summary svg{transform:rotate(180deg)}
.wpt-header .wpt-resource-links{position:absolute;right:0;top:calc(100% + 8px);width:252px;max-width:calc(100vw - 32px);padding:8px;border:1px solid #dce3ed;border-radius:12px;background:#fff;box-shadow:0 8px 24px #14243b12;animation:wpt-nav-reveal 140ms ease-out}
.wpt-header .wpt-resource-links .wpt-nav-link{min-height:48px;padding:12px;font-weight:500}
.wpt-header .wpt-resource-links .is-active{background:#edf3ff;font-weight:650}
.wpt-header .wpt-resource-links .is-active:after{top:14px;bottom:14px;left:3px;right:auto;width:2px;height:auto}
.wpt-header .wpt-menu-toggle{display:none;align-items:center;justify-content:center;flex:0 0 44px;width:44px;min-height:44px;padding:10px;border:1px solid #dce3ed;border-radius:9px;background:#fff;color:#14243b;cursor:pointer}
.wpt-header .wpt-close-icon{display:none}
.wpt-header .wpt-menu-toggle[aria-expanded="true"] .wpt-menu-icon{display:none}
.wpt-header .wpt-menu-toggle[aria-expanded="true"] .wpt-close-icon{display:block}
@keyframes wpt-nav-reveal{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:899px){
  .wpt-header.header{min-height:60px;padding-block:8px;gap:12px}
  .wpt-header .brand{font-size:21px;gap:6px}
  .wpt-header .brand svg{width:25px;height:25px}
  .wpt-header .wpt-menu-toggle{display:inline-flex}
  .wpt-header .wpt-navigation{position:absolute;left:0;right:0;top:calc(100% + 1px);display:flex;flex-direction:column;align-items:stretch;gap:0;margin:0;padding:8px;border:1px solid #dce3ed;border-radius:0 0 12px 12px;background:#fff;box-shadow:0 10px 24px #14243b12;font-size:15px;max-height:calc(100vh - 80px);max-height:calc(100dvh - 80px);overflow-y:auto;overscroll-behavior:contain;animation:wpt-nav-reveal 140ms ease-out}
  .wpt-header:not(.is-ready) .wpt-navigation{position:static;width:100%;max-height:none;box-shadow:none}
  .wpt-header:not(.is-ready){flex-wrap:wrap}
  .wpt-header .wpt-navigation>.wpt-nav-link{border-bottom:1px solid #edf0f5;border-radius:0}
  .wpt-header .wpt-nav-link{min-height:50px;padding:14px 12px}
  .wpt-header .wpt-nav-link.is-active{background:#edf3ff;border-radius:7px}
  .wpt-header .wpt-nav-link.is-active:after{left:2px;right:auto;top:16px;bottom:16px;width:2px;height:auto}
  .wpt-header summary{justify-content:space-between}
  .wpt-header .wpt-resource-links{position:static;width:auto;max-width:none;margin:0 4px 6px 12px;padding:2px 0 2px 8px;border:0;border-left:1px solid #dce3ed;border-radius:0;box-shadow:none;animation:none}
  .wpt-header .wpt-resource-links .wpt-nav-link{font-size:14px;min-height:48px}
}
@media(prefers-reduced-motion:reduce){.wpt-header .wpt-navigation,.wpt-header .wpt-resource-links{animation:none}.wpt-header summary svg{transition:none}}
@media print{.wpt-header.header{display:none!important}}
