/* v946 - Global mobile header lock
   Enforces the final approved mobile header across admin, investor, fundraiser,
   authenticated role pages and public pages.
   Row 1: email left, social icons right.
   Row 2: logo + available action icons + account/menu on one line. */

@media (max-width: 760px){
  html body .topbar{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    height:34px!important;
    min-height:34px!important;
    max-height:34px!important;
    padding:0!important;
    margin:0!important;
    overflow:hidden!important;
    background:#061a5b!important;
    color:#fff!important;
  }
  html body .topbar > .wide.topbar-inner,
  html body .topbar .wide.topbar-inner,
  html body .topbar-inner{
    width:calc(100% - 16px)!important;
    max-width:none!important;
    height:34px!important;
    min-height:34px!important;
    padding:0!important;
    margin:0 auto!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
    justify-content:normal!important;
    gap:6px!important;
    line-height:1!important;
  }
  html body .topbar .top-center,
  html body .topbar a[href^="tel:"]{display:none!important;}
  html body .topbar .top-left{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    align-items:center!important;
    justify-content:flex-start!important;
    flex-wrap:nowrap!important;
    min-width:0!important;
    width:auto!important;
    height:34px!important;
    overflow:hidden!important;
    white-space:nowrap!important;
    gap:0!important;
  }
  html body .topbar .top-left a[href^="mailto:"]{
    display:inline-flex!important;
    visibility:visible!important;
    opacity:1!important;
    align-items:center!important;
    max-width:100%!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    color:#fff!important;
    font-size:10px!important;
    font-weight:900!important;
    text-decoration:none!important;
    letter-spacing:-.03em!important;
  }
  html body .topbar .top-socials,
  html body .topbar .top-right{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    align-items:center!important;
    justify-content:flex-end!important;
    flex-wrap:nowrap!important;
    min-width:max-content!important;
    height:34px!important;
    overflow:visible!important;
    gap:0!important;
    white-space:nowrap!important;
  }
  html body .topbar .top-socials a,
  html body .topbar .top-right a{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:20px!important;
    min-width:20px!important;
    height:20px!important;
    margin:0 0 0 3px!important;
    padding:0!important;
    color:#fff!important;
    background:transparent!important;
    border:0!important;
    border-radius:0!important;
    font-size:10px!important;
    font-weight:900!important;
    line-height:1!important;
    text-decoration:none!important;
  }

  html body header.navbar.pp-fixed-admin-header,
  html body .navbar.pp-fixed-admin-header{
    display:block!important;
    height:58px!important;
    min-height:58px!important;
    max-height:58px!important;
    padding:0!important;
    margin:0!important;
    overflow:visible!important;
    background:#fff!important;
    border-bottom:1px solid #edf1f6!important;
  }
  html body header.navbar.pp-fixed-admin-header > .wide.nav-inner,
  html body header.navbar.pp-fixed-admin-header .wide.nav-inner,
  html body header.navbar.pp-fixed-admin-header .nav-inner,
  html body .navbar.pp-fixed-admin-header .nav-inner{
    width:calc(100% - 16px)!important;
    max-width:none!important;
    height:58px!important;
    min-height:58px!important;
    max-height:58px!important;
    padding:0!important;
    margin:0 auto!important;
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:4px!important;
    overflow:visible!important;
  }
  html body header.navbar.pp-fixed-admin-header .brand{
    order:1!important;
    flex:0 0 auto!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    height:58px!important;
    margin:0 auto 0 0!important;
    padding:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    overflow:visible!important;
  }
  html body header.navbar.pp-fixed-admin-header .brand img{
    display:block!important;
    width:120px!important;
    max-width:120px!important;
    height:auto!important;
    max-height:34px!important;
    object-fit:contain!important;
  }
  html body header.navbar.pp-fixed-admin-header .nav-actions,
  html body header.navbar.pp-fixed-admin-header .nav-actions.pp-clickable-header-actions{
    order:2!important;
    flex:0 1 auto!important;
    min-width:0!important;
    height:58px!important;
    margin:0!important;
    padding:0!important;
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:4px!important;
    overflow:visible!important;
    white-space:nowrap!important;
  }
  html body header.navbar.pp-fixed-admin-header .pp-header-action-wrap{
    display:inline-flex!important;
    visibility:visible!important;
    opacity:1!important;
    align-items:center!important;
    justify-content:center!important;
    flex:0 0 34px!important;
    width:34px!important;
    height:34px!important;
    min-width:34px!important;
    margin:0!important;
    padding:0!important;
    overflow:visible!important;
  }
  html body header.navbar.pp-fixed-admin-header .nav-icon.pp-header-action,
  html body header.navbar.pp-fixed-admin-header .nav-icon.pp-search-toggle,
  html body header.navbar.pp-fixed-admin-header .nav-icon.search-toggle{
    display:inline-flex!important;
    visibility:visible!important;
    opacity:1!important;
    align-items:center!important;
    justify-content:center!important;
    flex:0 0 34px!important;
    width:34px!important;
    height:34px!important;
    min-width:34px!important;
    min-height:34px!important;
    padding:0!important;
    margin:0!important;
    border:1px solid #dbe7f5!important;
    border-radius:12px!important;
    background:#fff!important;
    color:#0b5cff!important;
    box-shadow:none!important;
    font-size:14px!important;
    line-height:1!important;
  }
  html body header.navbar.pp-fixed-admin-header .nav-icon.pp-header-action svg,
  html body header.navbar.pp-fixed-admin-header .pp-action-icon-svg{
    width:17px!important;
    height:17px!important;
    display:block!important;
  }
  html body header.navbar.pp-fixed-admin-header .pp-action-count,
  html body header.navbar.pp-fixed-admin-header .nav-icon.pp-header-action em{
    position:absolute!important;
    top:-5px!important;
    right:-5px!important;
    min-width:16px!important;
    width:auto!important;
    height:16px!important;
    padding:0 3px!important;
    border:2px solid #fff!important;
    border-radius:999px!important;
    background:#ffb000!important;
    color:#fff!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    font-size:9px!important;
    font-weight:900!important;
    line-height:1!important;
    z-index:3!important;
  }
  html body header.navbar.pp-fixed-admin-header .nav-account{
    display:inline-flex!important;
    visibility:visible!important;
    opacity:1!important;
    align-items:center!important;
    flex:0 0 auto!important;
    height:34px!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    overflow:visible!important;
  }
  html body header.navbar.pp-fixed-admin-header .nav-account .account-chip{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex-wrap:nowrap!important;
    height:34px!important;
    min-height:34px!important;
    max-width:112px!important;
    min-width:34px!important;
    padding:0 7px!important;
    gap:5px!important;
    overflow:hidden!important;
    border:1px solid #dbe7f5!important;
    border-radius:999px!important;
    background:#fff!important;
    box-shadow:none!important;
    white-space:nowrap!important;
  }
  html body header.navbar.pp-fixed-admin-header .nav-account .avatar-dot{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex:0 0 24px!important;
    width:24px!important;
    height:24px!important;
    min-width:24px!important;
    border-radius:999px!important;
    background:#071a55!important;
    color:#fff!important;
    font-size:11px!important;
    font-weight:900!important;
  }
  html body header.navbar.pp-fixed-admin-header .nav-account .account-chip span:not(.avatar-dot){
    display:inline-block!important;
    max-width:54px!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    font-size:10.5px!important;
    font-weight:900!important;
    line-height:1!important;
  }
  html body header.navbar.pp-fixed-admin-header .nav-account .account-chip small{display:none!important;}
  html body header.navbar.pp-fixed-admin-header .nav-account .account-chip b{
    display:inline-block!important;
    flex:0 0 auto!important;
    font-size:10px!important;
    line-height:1!important;
    margin:0!important;
  }
  html body header.navbar.pp-fixed-admin-header .mobile-menu{
    order:3!important;
    display:inline-flex!important;
    visibility:visible!important;
    opacity:1!important;
    align-items:center!important;
    justify-content:center!important;
    flex:0 0 34px!important;
    width:34px!important;
    height:34px!important;
    min-width:34px!important;
    min-height:34px!important;
    margin:0!important;
    padding:0!important;
    border:1px solid #dbe7f5!important;
    border-radius:12px!important;
    background:#fff!important;
    color:#061a55!important;
    box-shadow:none!important;
    font-size:18px!important;
    font-weight:900!important;
    line-height:1!important;
  }
  html body header.navbar.pp-fixed-admin-header .nav-links{
    order:4!important;
    display:none!important;
    position:absolute!important;
    left:8px!important;
    right:8px!important;
    top:58px!important;
    height:auto!important;
    max-height:calc(100vh - 96px)!important;
    overflow:auto!important;
    background:#fff!important;
    border:1px solid #dbe7f5!important;
    border-radius:0 0 18px 18px!important;
    box-shadow:0 24px 60px rgba(6,26,91,.18)!important;
    padding:10px!important;
    z-index:100000!important;
  }
  html body header.navbar.pp-fixed-admin-header .nav-links.open,
  html body header.navbar.pp-fixed-admin-header .nav-links.is-open{display:block!important;}
}

@media (max-width: 430px){
  html body header.navbar.pp-fixed-admin-header .brand img{width:116px!important;max-width:116px!important;}
  html body header.navbar.pp-fixed-admin-header .nav-actions,
  html body header.navbar.pp-fixed-admin-header .nav-actions.pp-clickable-header-actions{gap:3px!important;}
  html body header.navbar.pp-fixed-admin-header .nav-account .account-chip{
    width:34px!important;
    max-width:34px!important;
    padding:0!important;
  }
  html body header.navbar.pp-fixed-admin-header .nav-account .account-chip span:not(.avatar-dot),
  html body header.navbar.pp-fixed-admin-header .nav-account .account-chip b{display:none!important;}
}

@media (max-width: 380px){
  html body header.navbar.pp-fixed-admin-header > .wide.nav-inner,
  html body header.navbar.pp-fixed-admin-header .wide.nav-inner,
  html body header.navbar.pp-fixed-admin-header .nav-inner{width:calc(100% - 12px)!important;gap:3px!important;}
  html body header.navbar.pp-fixed-admin-header .brand img{width:104px!important;max-width:104px!important;}
  html body header.navbar.pp-fixed-admin-header .pp-header-action-wrap,
  html body header.navbar.pp-fixed-admin-header .nav-icon.pp-header-action,
  html body header.navbar.pp-fixed-admin-header .nav-icon.pp-search-toggle,
  html body header.navbar.pp-fixed-admin-header .nav-icon.search-toggle,
  html body header.navbar.pp-fixed-admin-header .nav-account,
  html body header.navbar.pp-fixed-admin-header .nav-account .account-chip,
  html body header.navbar.pp-fixed-admin-header .mobile-menu{
    width:32px!important;
    min-width:32px!important;
    height:32px!important;
    min-height:32px!important;
    flex-basis:32px!important;
  }
  html body header.navbar.pp-fixed-admin-header .nav-account .avatar-dot{width:23px!important;height:23px!important;min-width:23px!important;}
  html body .topbar .top-left a[href^="mailto:"]{font-size:9.5px!important;}
  html body .topbar .top-socials a{width:18px!important;min-width:18px!important;margin-left:2px!important;font-size:9.5px!important;}
}
