/* Shared header controls — homepage is the visual source of truth. */
.header-actions{display:flex;align-items:center;gap:17px;min-width:0}

/* Keep the final RevMend header visible while users work through long dashboards/forms. */
.site-header{position:sticky!important;top:0!important;z-index:1000!important;isolation:isolate;box-shadow:0 1px 0 rgba(11,18,32,.03)}
html{scroll-padding-top:84px}

.brand-copy small{display:none!important}

.site-header .language-picker{display:inline-flex;align-items:center;position:relative;flex:0 0 auto}
.site-header .language-picker .sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
.site-header .language-picker select{
  appearance:none!important;
  -webkit-appearance:none!important;
  width:48px!important;
  min-width:48px!important;
  height:32px!important;
  padding:0 18px 0 8px!important;
  border:1px solid transparent!important;
  border-radius:999px!important;
  background-color:transparent!important;
  color:#666!important;
  font:650 11px/1 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif!important;
  cursor:pointer!important;
  box-shadow:none!important;
  outline:none!important;
  background-image:linear-gradient(45deg,transparent 50%,#8b8b86 50%),linear-gradient(135deg,#8b8b86 50%,transparent 50%)!important;
  background-position:calc(100% - 10px) 48%,calc(100% - 7px) 48%!important;
  background-size:3px 3px,3px 3px!important;
  background-repeat:no-repeat!important;
  transition:background-color .15s ease,border-color .15s ease,color .15s ease!important;
}
.site-header .language-picker select:hover{background-color:#f6f5f1!important;border-color:#ebe9e3!important;color:#222!important}
.site-header .language-picker select:focus{background-color:#fff!important;border-color:#d7d4cd!important;color:#222!important;box-shadow:0 0 0 3px rgba(11,18,32,.035)!important;outline:none!important}

@media(max-width:760px){
  html{scroll-padding-top:68px}
  .site-header{height:60px!important;padding-left:8px!important;padding-right:8px!important;gap:5px!important}
  .site-header .brand{min-width:0!important;flex:0 1 auto}
  .site-header .brand-copy{min-width:0}
  .site-header .brand-copy b{font-size:15px!important;white-space:nowrap}
  .site-header .language-picker select{width:38px!important;min-width:38px!important;height:30px!important;font-size:10px!important}
  .header-actions{gap:4px;margin-left:auto;max-width:none;overflow:visible}
  .site-header .header-action,.site-header .account-logout,.site-header .rm-account-back,.site-header .rm-signin-link{padding:8px 6px!important;font-size:10.5px!important;white-space:nowrap!important;max-width:none!important;min-width:max-content!important;width:auto!important;overflow:visible!important;text-overflow:clip!important;flex:0 0 auto!important}
}
@media(max-width:410px){
  .site-header .brand-symbol{width:25px;height:25px}
}
@media(max-width:360px){
  .site-header .brand-copy{display:none!important}
}

@media (max-width:780px){.site-header .rm-signin-link,.site-header .rm-account-back{display:inline-flex!important}}

/* Mobile navigation disclosure for the public header */
.rm-nav-toggle{display:none;border:1px solid #e2e7ef;background:#fff;color:#2a3446;border-radius:9px;min-width:40px;min-height:38px;font-size:16px;cursor:pointer;align-items:center;justify-content:center;flex:0 0 auto}
@media (max-width:1000px){
  .rm-nav-toggle{display:inline-flex;order:-1}
  .site-header.rm-nav-open nav{display:flex!important;flex-direction:column;align-items:stretch;position:absolute;top:100%;left:0;right:0;background:#fff;border-bottom:1px solid #e2e7ef;box-shadow:0 14px 30px rgba(11,18,32,.08);padding:10px 18px 14px;gap:2px;z-index:60}
  .site-header.rm-nav-open nav a{padding:11px 6px;border-radius:8px;font-size:14px}
}
