/* AItira fixed identity navigation — independent of auth, SEO and feature scripts. */
.site-header,.site-header .header-main,.site-header .core-nav.aitira-primary-nav{overflow:visible!important}
.site-header .top-utility>.site-shell{justify-content:flex-start!important}
.site-header .core-nav.aitira-primary-nav{display:flex;align-items:center;justify-content:center;gap:18px!important;min-width:0}
.site-header .aitira-nav-group{position:relative;display:flex;align-items:center;isolation:isolate;border:1px solid transparent;border-radius:12px;min-height:42px;transition:background-color .15s ease,border-color .15s ease}
.site-header .core-nav .aitira-nav-primary{display:inline-flex!important;align-items:center;justify-content:center;min-height:40px;height:40px;white-space:nowrap!important;border-radius:11px;padding:0 9px 0 15px!important;font-size:15px!important;font-weight:800;color:#233c58!important;text-decoration:none!important}
.site-header .aitira-nav-group:hover,.site-header .aitira-nav-group.is-active,.site-header .aitira-nav-group.is-open,.site-header .aitira-nav-group:focus-within{background:#eef5fc!important;border-color:#d5e6f5!important}
.site-header .aitira-nav-group.is-active>.aitira-nav-primary,.site-header .aitira-nav-group:hover>.aitira-nav-primary{color:#15477b!important;background:transparent!important}
.site-header .aitira-submenu-toggle{display:inline-flex;flex:none;width:30px;height:38px;align-items:center;justify-content:center;cursor:pointer;border:0;border-radius:10px;background:transparent!important;color:#4b6782!important;padding:0!important}
.site-header .aitira-submenu-toggle:hover{color:#143f6a!important}
.site-header .aitira-submenu-toggle:focus-visible,.site-header .aitira-nav-primary:focus-visible,.site-header .aitira-submenu a:focus-visible{outline:2px solid #2f77cc!important;outline-offset:2px}
.site-header .aitira-chevron{display:block;width:8px;height:8px;border-right:1.7px solid currentColor;border-bottom:1.7px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform .16s ease}
.site-header .aitira-submenu-toggle[aria-expanded="true"] .aitira-chevron{transform:translateY(2px) rotate(225deg)}
.site-header .aitira-submenu{position:absolute!important;top:calc(100% + 10px)!important;left:0!important;right:auto!important;transform:none!important;width:max-content!important;max-width:calc(100vw - 36px)!important;min-width:228px!important;display:flex!important;gap:12px!important;padding:14px!important;background:#fff!important;border:1px solid #dfe8f3!important;border-radius:16px!important;box-shadow:0 18px 48px rgba(22,49,86,.16)!important;overflow:visible!important;z-index:10000!important;box-sizing:border-box!important}
.site-header .aitira-submenu[hidden]{display:none!important}
.site-header .aitira-submenu-finder{min-width:390px!important}
.site-header .aitira-submenu-calendar{min-width:245px!important}
.site-header .aitira-submenu-board{left:auto!important;right:0!important;min-width:250px!important}
.site-header .aitira-submenu-col{min-width:145px;display:flex;flex-direction:column;gap:3px;flex:1 1 auto}
.site-header .aitira-submenu-col>b{color:#75869b;font-size:12px;font-weight:800;padding:4px 9px 8px;letter-spacing:.015em}
.site-header .core-nav .aitira-submenu a,.site-header .core-nav .aitira-submenu a:nth-child(n+6){display:flex!important;align-items:center!important;max-width:100%!important;min-height:39px;height:auto!important;padding:8px 10px!important;border-radius:9px!important;text-align:left!important;line-height:1.4!important;font-size:13px!important;font-weight:650!important;white-space:normal!important;color:#2a4766!important;text-decoration:none!important;background:transparent!important}
.site-header .core-nav .aitira-submenu a:hover,.site-header .core-nav .aitira-submenu a[aria-current="page"]{background:#eff6fd!important;color:#134c8a!important}
.site-header .aitira-profile-link{width:40px;height:40px;padding:8px!important;border:1px solid #dce7f2;border-radius:50%!important;display:inline-flex;align-items:center;justify-content:center}
.site-header .aitira-profile-link svg{width:22px;height:22px;display:block;flex:none}
.site-header .aitira-profile-link:hover,.site-header .aitira-profile-link[aria-current="page"]{background:#edf5ff;color:#0b376e}
.mobile-drawer{z-index:10000!important}
.mobile-drawer .aitira-mobile-section{border-bottom:1px solid #ebf0f5}
.mobile-drawer .aitira-mobile-section summary{cursor:pointer;list-style:none;font-size:16px;font-weight:800;color:#263d58;padding:15px 14px;border-radius:10px;position:relative;padding-right:40px}
.mobile-drawer .aitira-mobile-section summary::-webkit-details-marker{display:none}
.mobile-drawer .aitira-mobile-section summary::after{content:'';position:absolute;right:20px;top:19px;width:8px;height:8px;border-right:1.8px solid currentColor;border-bottom:1.8px solid currentColor;transform:rotate(45deg)}
.mobile-drawer .aitira-mobile-section[open] summary::after{top:23px;transform:rotate(225deg)}
.mobile-drawer .aitira-mobile-section summary:hover,.mobile-drawer .aitira-mobile-section summary:focus-visible{background:#edf5ff}
.mobile-drawer .aitira-mobile-section-links{display:grid;gap:2px;padding:0 6px 10px 13px}
.mobile-drawer .aitira-mobile-section-links a{font-size:14px;font-weight:650;padding:11px 13px;line-height:1.35}
.mobile-drawer .aitira-mobile-section.is-active>summary{color:#0b376e;background:#f1f7ff}
.mobile-toolbar-v572 a.is-active{color:#0b376e!important;background:#edf5ff!important;border-color:#d6e5f6!important}
.mobile-toolbar-v572 a b{font-size:11px!important;white-space:nowrap!important}
.site-footer .footer-main a{overflow-wrap:anywhere}
@media(max-width:1280px) and (min-width:981px){.site-header .core-nav.aitira-primary-nav{gap:7px!important}.site-header .core-nav .aitira-nav-primary{font-size:13px!important;padding-left:10px!important;padding-right:5px!important}.site-header .aitira-submenu-toggle{width:24px!important}}
@media(max-width:980px){.mobile-toolbar-v572{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important}.site-header .core-nav.aitira-primary-nav{display:none!important}.site-header .header-actions .aitira-profile-link{display:inline-flex!important;padding:8px!important;flex-shrink:0}.site-header .header-actions{gap:6px}.site-header .aitira-submenu{display:none!important}body{padding-bottom:80px!important}.mobile-toolbar-v572{z-index:2500!important}.mobile-drawer:not([hidden])~.mobile-toolbar-v572{visibility:hidden}}
@media(max-width:390px){.site-header .header-actions .aitira-profile-link{width:36px;height:36px;padding:7px!important}.mobile-toolbar-v572 a b{font-size:10px!important}}
@media(prefers-reduced-motion:reduce){.site-header .aitira-chevron{transition:none}}
.site-header .aitira-menu-hint{font-size:12px;line-height:1.65;color:#6b7f95;padding:4px 9px 2px;margin:0;max-width:210px;white-space:normal}
.mobile-drawer .aitira-mobile-menu-hint{display:block;font-size:12px;color:#708298;line-height:1.6;padding:4px 13px 9px}

/* Core 3 service identity continues consistently into the footer. */
@media(min-width:1081px){.site-footer .footer-main{grid-template-columns:minmax(200px,1.35fr) repeat(4,minmax(0,1fr))!important;column-gap:clamp(16px,2vw,28px)!important}}
@media(min-width:821px) and (max-width:1080px){.site-footer .footer-main{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px!important}.site-footer .footer-main>.footer-brand{grid-column:1/-1!important}}
.site-footer .footer-main>div:not(.footer-brand){min-width:0}

/* Small-screen header is fixed: keep the first content fully visible below it. */
@media(max-width:560px){body{padding-top:65px!important}}

/* UX3G Finder hierarchy: Toolbox is a parent, comparison / cost / matching are children. */
.site-header .aitira-submenu-finder .aitira-nav-toolbox-parent{margin-top:3px!important;font-size:13px!important;font-weight:850!important;color:#173e71!important}
.site-header .aitira-submenu-finder .aitira-nav-toolbox-child{position:relative;padding-left:26px!important;margin-left:10px!important;font-size:12px!important;font-weight:550!important;min-height:32px!important;border-left:2px solid #dae7f6;border-radius:0 8px 8px 0!important;color:#506987!important}
.site-header .aitira-submenu-finder .aitira-nav-toolbox-child::before{content:'↳';position:absolute;left:9px;top:50%;transform:translateY(-50%);font-size:12px;color:#7d95b0}
.mobile-drawer .aitira-mobile-section-links .aitira-nav-toolbox-parent{font-size:14px!important;font-weight:800!important;color:#1d487a!important}
.mobile-drawer .aitira-mobile-section-links .aitira-nav-toolbox-child{position:relative;margin-left:18px!important;padding:8px 10px 8px 27px!important;border-left:2px solid #d5e3f2;border-radius:0 9px 9px 0!important;font-size:12px!important;line-height:1.45!important;font-weight:550!important;color:#516b87!important}
.mobile-drawer .aitira-mobile-section-links .aitira-nav-toolbox-child::before{content:'↳';position:absolute;left:10px;top:50%;transform:translateY(-50%);color:#7391ad}

/* UX3J: calm, legible nested toolbox navigation. No overlapping prefix glyph or double blue underline. */
.site-header .aitira-submenu-finder .aitira-nav-toolbox-child::before,
.site-header .aitira-submenu-finder .aitira-nav-toolbox-child::after,
.mobile-drawer .aitira-mobile-section-links .aitira-nav-toolbox-child::before,
.mobile-drawer .aitira-mobile-section-links .aitira-nav-toolbox-child::after{content:none!important;display:none!important}
.site-header .core-nav .aitira-submenu-finder .aitira-nav-toolbox-child,
.site-header .core-nav .aitira-submenu-finder .aitira-nav-toolbox-child:nth-child(n+6){
 display:flex!important;align-items:center!important;position:relative!important;
 margin:2px 0 2px 14px!important;padding:9px 11px 9px 15px!important;
 min-height:35px!important;font-size:12px!important;font-weight:600!important;
 color:#526779!important;border:0!important;border-left:2px solid #d2dce6!important;
 border-radius:0 9px 9px 0!important;box-shadow:none!important;
 background:transparent!important;background-image:none!important;text-decoration:none!important;
 outline-offset:1px!important;transform:none!important;
}
.site-header .core-nav .aitira-submenu-finder .aitira-nav-toolbox-child:hover,
.site-header .core-nav .aitira-submenu-finder .aitira-nav-toolbox-child[aria-current="page"]{
 background:#f3f5f8!important;color:#27405a!important;border-left-color:#829aaf!important;
 box-shadow:none!important;border-bottom:0!important;background-image:none!important;
}
.mobile-drawer .aitira-mobile-section-links .aitira-nav-toolbox-child{
 position:relative!important;margin:3px 2px 3px 20px!important;
 padding:10px 13px!important;min-height:37px!important;font-size:12px!important;
 color:#526779!important;border:0!important;border-left:2px solid #d2dce6!important;
 background:transparent!important;box-shadow:none!important;border-radius:0 9px 9px 0!important;
}
.mobile-drawer .aitira-mobile-section-links .aitira-nav-toolbox-child:hover,
.mobile-drawer .aitira-mobile-section-links .aitira-nav-toolbox-child[aria-current="page"]{
 background:#f3f5f8!important;color:#27405a!important;border-left-color:#829aaf!important;
 box-shadow:none!important;border-bottom:0!important;
}
