/* Phase 9AE: compact public header actions and reliable search visibility */
:root{--pp-navy:#061a5b;--pp-blue:#0b5cff;--pp-gold:#d99a00;}
body .navbar .nav-inner{
  gap:28px!important;
}
body .navbar .brand{
  flex:0 0 auto!important;
  margin-right:18px!important;
}
body .navbar .brand img{
  max-width:222px!important;
}
body .navbar .nav-links{
  flex:1 1 auto!important;
  min-width:0!important;
  gap:clamp(18px,1.8vw,28px)!important;
  white-space:nowrap!important;
}
body .navbar .nav-links>a,
body .navbar .nav-item>a{
  font-size:14px!important;
  white-space:nowrap!important;
}
body .navbar .nav-actions,
body .navbar .nav-actions.pp-clickable-header-actions{
  flex:0 0 auto!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  white-space:nowrap!important;
  min-width:max-content!important;
}
body .navbar .nav-actions .search-toggle,
body .navbar .nav-icon.search-toggle{
  width:42px!important;
  min-width:42px!important;
  height:42px!important;
  border-radius:14px!important;
  border:1px solid #dbe7f5!important;
  background:#fff!important;
  color:#0b5cff!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-shadow:0 8px 20px rgba(6,26,64,.05)!important;
  font-size:20px!important;
  line-height:1!important;
  padding:0!important;
  flex-shrink:0!important;
  position:relative!important;
  z-index:2!important;
}
body .navbar .nav-actions .search-toggle:hover,
body .navbar .nav-icon.search-toggle:hover{
  color:#fff!important;
  background:linear-gradient(135deg,#061a5b,#0b5cff)!important;
  border-color:#0b5cff!important;
  transform:translateY(-2px)!important;
}
body .navbar .nav-actions .btn,
body .navbar .nav-actions .btn-outline,
body .navbar .nav-actions .btn-gold{
  min-width:auto!important;
  height:48px!important;
  padding:0 24px!important;
  border-radius:13px!important;
  font-size:15px!important;
  line-height:1!important;
  flex-shrink:0!important;
}
body .navbar .nav-actions .btn-outline{border-width:1.4px!important;}
body .site-search{
  display:none;
  position:absolute!important;
  left:0!important;
  right:0!important;
  top:86px!important;
  z-index:10050!important;
  background:#fff!important;
  border-top:1px solid #edf1f6!important;
  border-bottom:1px solid #edf1f6!important;
  box-shadow:0 18px 40px rgba(6,26,91,.12)!important;
}
body .site-search.open{display:block!important;}
body .site-search form{display:flex!important;gap:12px!important;align-items:stretch!important;}
body .site-search input[type="search"]{min-height:52px!important;}
body .site-search button{min-height:52px!important;}
@media(max-width:1240px){
  body .navbar .nav-inner{gap:18px!important;}
  body .navbar .brand{margin-right:10px!important;}
  body .navbar .brand img{max-width:196px!important;}
  body .navbar .nav-links{gap:16px!important;}
  body .navbar .nav-links>a,body .navbar .nav-item>a{font-size:13px!important;}
  body .navbar .nav-actions .btn,body .navbar .nav-actions .btn-outline,body .navbar .nav-actions .btn-gold{padding:0 18px!important;height:46px!important;font-size:14px!important;}
  body .navbar .nav-actions .search-toggle{width:40px!important;min-width:40px!important;height:40px!important;}
}
@media(max-width:1080px){
  body .navbar .nav-links{gap:12px!important;}
  body .navbar .brand img{max-width:178px!important;}
  body .navbar .nav-actions .btn,body .navbar .nav-actions .btn-outline,body .navbar .nav-actions .btn-gold{padding:0 14px!important;}
}
@media(max-width:980px){
  body .navbar .nav-links{display:none!important;}
  body .navbar .mobile-menu{display:inline-flex!important;}
  body .navbar .nav-actions .btn{display:none!important;}
  body .navbar .nav-actions .search-toggle{display:inline-flex!important;}
  body .site-search{top:72px!important;}
}
