/* Header-only styling keeps the existing header height and all body layout intact */
.onup-header .nav{gap:24px}
.onup-header .brand{gap:10px;flex-shrink:0;font-size:24px;letter-spacing:-.8px}
.onup-header .brand img{width:38px;height:38px;object-fit:contain;background:transparent}
.onup-header .onup-brand-copy{display:flex;flex-direction:column;gap:3px}
.onup-header .onup-wordmark{display:inline-flex;align-items:baseline;gap:5px;line-height:1.05}
.onup-header .onup-wordmark strong{color:#101d35;font-weight:800}
.onup-header .onup-wordmark>span{color:#202b3d;font-size:23px;font-weight:350;letter-spacing:-.65px}
.onup-header .onup-brand-tagline{display:block;color:#8490a1;font-size:7.5px;font-weight:650;line-height:1.2;letter-spacing:2.1px;white-space:nowrap}
.onup-header .desktop-nav{gap:30px;margin-left:auto;margin-right:4px;font-size:14px;font-weight:600}
.onup-header .desktop-nav button{border:0;background:none;padding:0;font:inherit;cursor:pointer}
.onup-header .desktop-nav a,.onup-header .desktop-nav button{white-space:nowrap;min-height:44px;display:inline-flex;align-items:center}
.onup-header .desktop-nav a:hover,.onup-header .desktop-nav button:hover{color:#2463eb}
.onup-header-tools{display:flex;align-items:center;gap:6px;flex-shrink:0}
.onup-header .onup-icon-button{width:44px;height:44px;padding:9px;display:grid;place-items:center;flex-shrink:0;background:transparent;border:0;border-radius:12px;cursor:pointer;color:#202b3d}
.onup-header .onup-icon-button:hover{background:#f2f5fa}
.onup-icon-button svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round}
.onup-header :is(a,button,input):focus-visible{outline:3px solid #8aaef5;outline-offset:3px}
.onup-header-dialog{position:fixed;inset:0;margin:auto;width:min(520px,calc(100% - 32px));max-width:520px;max-height:calc(100dvh - 32px);height:auto;padding:28px;border:1px solid #e5eaf2;border-radius:24px;background:#fff;color:#232d3c;box-shadow:0 24px 80px #12284b26;overflow-y:auto;overscroll-behavior:contain}
.onup-header-dialog::backdrop{background:#17243855;backdrop-filter:blur(4px)}
.onup-header-dialog .onup-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}
.onup-header-dialog h2{font-size:22px;line-height:1.4;margin:0;letter-spacing:-.6px}
.onup-panel-heading button{width:44px;height:44px;flex-shrink:0;border:0;background:#f4f6fa;border-radius:50%;font-size:26px;cursor:pointer;line-height:1}
.onup-menu-links,.onup-search-results{display:grid;gap:4px}
.onup-menu-links a,.onup-menu-links button,.onup-search-results a{display:flex;align-items:center;justify-content:space-between;min-height:48px;padding:12px;border:0;border-radius:12px;background:transparent;color:#263244;text-align:left;font:inherit;cursor:pointer}
.onup-menu-links :is(a,button):hover,.onup-search-results a:hover{background:#f1f5fd;color:#2463eb}
.onup-search-label{display:block;font-size:13px;color:#687487;margin-bottom:8px}
.onup-header-dialog input{display:block;width:100%;min-width:0;height:50px;border:1px solid #d7e0ee;border-radius:12px;padding:12px 14px;font-size:16px;margin-bottom:12px;background:#f9fbfe}
.onup-search-results a[hidden]{display:none}
.onup-search-status{font-size:13px;color:#687487;margin:14px 0 0}
.onup-header-dialog .onup-about-brand{font-size:27px;font-weight:800;color:#2463eb;margin:0 0 14px}
.onup-about-brand span{font-size:22px;font-weight:550;color:#394453}
.onup-header-dialog p{line-height:1.8;word-break:keep-all}
.onup-panel-link{display:inline-flex;gap:20px;align-items:center;min-height:44px;color:#2463eb;font-weight:650}
.ou-float-actions .ou-float-consult{background:#fff;color:#2458a5;border:1px solid #c9d8ed}
.ou-float-consult svg{flex-shrink:0}
@media(max-width:900px){.onup-header .desktop-nav{gap:18px;font-size:13px}.onup-header .nav{gap:16px}}
@media(max-width:720px){
 .onup-header .desktop-nav{display:none}
 .onup-header .nav{gap:8px}
 .onup-header .brand{gap:8px;font-size:22px}
 .onup-header .brand img{width:34px;height:34px}
 .onup-header .onup-wordmark>span{font-size:21px}
 .onup-header .onup-brand-tagline{font-size:7px;letter-spacing:1.8px}
 .onup-header-tools{gap:2px;margin-left:auto}
 .onup-header-dialog{padding:20px;border-radius:20px}
 body:has(.pf-showcase:not([hidden])) .ou-float-actions .ou-float-consult{grid-column:1/-1}
}
