/* v939 - Canonical public/authenticated header alignment
   Scope: shared public header only. Does not touch page body/frontend sections or dashboards. */
body .topbar{height:34px!important;min-height:34px!important;background:#061a5b!important;color:#fff!important;overflow:hidden!important;}
body .topbar .topbar-inner{height:34px!important;min-height:34px!important;display:grid!important;grid-template-columns:minmax(250px,1fr) auto minmax(250px,1fr)!important;align-items:center!important;gap:16px!important;line-height:1!important;}
body .topbar .top-left,body .topbar .top-center,body .topbar .top-socials{display:flex!important;align-items:center!important;min-width:0!important;}
body .topbar .top-left{justify-content:flex-start!important;gap:24px!important;white-space:nowrap!important;}
body .topbar .top-center{justify-content:center!important;text-align:center!important;white-space:nowrap!important;font-weight:900!important;}
body .topbar .top-socials{justify-content:flex-end!important;gap:24px!important;white-space:nowrap!important;}
body .topbar a,body .topbar strong{font-size:13px!important;line-height:1!important;color:#fff!important;opacity:1!important;display:inline-flex!important;align-items:center!important;}
body .topbar .top-socials a{width:auto!important;min-width:12px!important;text-align:center!important;justify-content:center!important;font-weight:800!important;}

/* Main header: one exact vertical rhythm for admin, investor, fundraiser and partner logged-in states */
body .navbar.pp-fixed-admin-header{height:86px!important;min-height:86px!important;background:#fff!important;border-bottom:1px solid #edf1f6!important;}
body .navbar.pp-fixed-admin-header .nav-inner{height:86px!important;min-height:86px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:22px!important;overflow:visible!important;}
body .navbar.pp-fixed-admin-header .brand{display:flex!important;align-items:center!important;flex:0 0 auto!important;}
body .navbar.pp-fixed-admin-header .brand img{width:210px!important;max-width:210px!important;height:auto!important;display:block!important;}
body .navbar.pp-fixed-admin-header .nav-links{height:86px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:26px!important;flex:1 1 auto!important;min-width:0!important;margin:0!important;padding:0!important;white-space:nowrap!important;}
body .navbar.pp-fixed-admin-header .nav-links>a,body .navbar.pp-fixed-admin-header .nav-item>a{height:86px!important;padding:0!important;display:inline-flex!important;align-items:center!important;gap:6px!important;font-size:14px!important;line-height:1!important;font-weight:900!important;color:#061a55!important;}
body .navbar.pp-fixed-admin-header .nav-item{height:86px!important;display:flex!important;align-items:center!important;}
body .navbar.pp-fixed-admin-header .dropdown-menu{top:calc(100% + 0px)!important;}
body .navbar.pp-fixed-admin-header .nav-actions{height:86px!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;flex:0 0 auto!important;margin:0!important;padding:0!important;white-space:nowrap!important;}
body .navbar.pp-fixed-admin-header .pp-header-action-wrap{height:40px!important;display:inline-flex!important;align-items:center!important;position:relative!important;}
body .navbar.pp-fixed-admin-header .nav-icon.pp-header-action,body .navbar.pp-fixed-admin-header .nav-icon.pp-search-toggle,body .navbar.pp-fixed-admin-header .nav-icon.search-toggle{width:40px!important;height:40px!important;min-width:40px!important;border-radius:14px!important;border:1px solid #e3ecfb!important;background:#fff!important;color:#0b5cff!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:0!important;margin:0!important;line-height:1!important;font-size:17px!important;box-shadow:0 8px 20px rgba(6,26,64,.05)!important;vertical-align:middle!important;}
body .navbar.pp-fixed-admin-header .nav-icon.pp-header-action em{position:absolute!important;right:-5px!important;top:-6px!important;min-width:18px!important;height:18px!important;padding:0 4px!important;border-radius:999px!important;background:#ff2d20!important;color:#fff!important;border:2px solid #fff!important;font-size:10px!important;font-style:normal!important;font-weight:900!important;display:flex!important;align-items:center!important;justify-content:center!important;line-height:1!important;z-index:3!important;}
body .navbar.pp-fixed-admin-header .nav-account{height:40px!important;display:inline-flex!important;align-items:center!important;position:relative!important;margin-left:4px!important;}
body .navbar.pp-fixed-admin-header .nav-account .account-chip{height:40px!important;min-height:40px!important;display:inline-flex!important;align-items:center!important;gap:8px!important;padding:0 12px!important;border-radius:999px!important;border:1px solid #dbe7f5!important;background:#fff!important;box-shadow:0 8px 22px rgba(6,26,64,.06)!important;line-height:1!important;margin:0!important;}
body .navbar.pp-fixed-admin-header .nav-account .avatar-dot{width:28px!important;height:28px!important;min-width:28px!important;border-radius:50%!important;background:#071a55!important;color:#fff!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;font-size:13px!important;font-weight:900!important;line-height:1!important;}
body .navbar.pp-fixed-admin-header .nav-account .account-chip span:not(.avatar-dot){font-size:14px!important;font-weight:900!important;color:#071a55!important;line-height:1!important;max-width:130px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;}
body .navbar.pp-fixed-admin-header .nav-account .account-chip small{font-size:11px!important;font-weight:800!important;color:#64748b!important;line-height:1!important;margin:0!important;white-space:nowrap!important;}
body .navbar.pp-fixed-admin-header .nav-account .account-chip b{font-size:12px!important;line-height:1!important;color:#071a55!important;margin-left:0!important;}

/* Prevent old role header CSS from changing only investor/fundraiser/partner versions */
body .navbar.pp-role-auth-header .nav-inner,
body .navbar.pp-role-auth-header .nav-links,
body .navbar.pp-role-auth-header .nav-actions,
body .navbar.pp-admin-auth-header .nav-inner,
body .navbar.pp-admin-auth-header .nav-links,
body .navbar.pp-admin-auth-header .nav-actions{align-items:center!important;}
body .navbar.pp-role-auth-header .nav-icon,
body .navbar.pp-role-auth-header .account-chip,
body .navbar.pp-role-auth-header .avatar-dot{transform:none!important;}

@media(max-width:1180px){
  body .topbar .topbar-inner{grid-template-columns:1fr auto!important;gap:10px!important;}
  body .topbar .top-center{display:none!important;}
  body .navbar.pp-fixed-admin-header .brand img{width:185px!important;max-width:185px!important;}
  body .navbar.pp-fixed-admin-header .nav-links{gap:15px!important;}
  body .navbar.pp-fixed-admin-header .nav-links>a,body .navbar.pp-fixed-admin-header .nav-item>a{font-size:13px!important;}
  body .navbar.pp-fixed-admin-header .nav-account .account-chip small{display:none!important;}
}
@media(max-width:900px){
  body .topbar{height:auto!important;min-height:34px!important;overflow:visible!important;}
  body .topbar .topbar-inner{height:auto!important;min-height:34px!important;grid-template-columns:1fr!important;gap:6px!important;padding:8px 0!important;}
  body .topbar .top-left,body .topbar .top-socials{justify-content:center!important;gap:14px!important;flex-wrap:wrap!important;}
  body .navbar.pp-fixed-admin-header{height:auto!important;min-height:76px!important;}
  body .navbar.pp-fixed-admin-header .nav-inner{height:auto!important;min-height:76px!important;flex-wrap:wrap!important;gap:10px!important;padding:10px 0!important;}
  body .navbar.pp-fixed-admin-header .nav-links{height:auto!important;display:none!important;order:5!important;flex-basis:100%!important;align-items:stretch!important;gap:0!important;padding:10px!important;border:1px solid #e3ecfb!important;border-radius:16px!important;background:#fff!important;}
  body .navbar.pp-fixed-admin-header .nav-links.open{display:block!important;}
  body .navbar.pp-fixed-admin-header .nav-links>a,body .navbar.pp-fixed-admin-header .nav-item,body .navbar.pp-fixed-admin-header .nav-item>a{height:auto!important;display:block!important;padding:12px!important;}
  body .navbar.pp-fixed-admin-header .nav-actions{height:40px!important;margin-left:auto!important;}
}
@media(max-width:560px){
  body .topbar .top-left{display:none!important;}
  body .topbar .top-socials{display:none!important;}
  body .navbar.pp-fixed-admin-header .brand img{width:158px!important;max-width:158px!important;}
  body .navbar.pp-fixed-admin-header .nav-account .account-chip span:not(.avatar-dot){display:none!important;}
  body .navbar.pp-fixed-admin-header .nav-icon.pp-header-action,body .navbar.pp-fixed-admin-header .nav-icon.pp-search-toggle{width:36px!important;height:36px!important;min-width:36px!important;}
  body .navbar.pp-fixed-admin-header .nav-account .account-chip{height:36px!important;min-height:36px!important;padding:0 8px!important;}
}
