/* Account links stay in the header when the main navigation moves into the menu. */
.nav .nav-account {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}
.nav-account > a {
  display: inline-flex;
  min-height: 44px;
  min-width: 64px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid #bbcbe1;
  border-radius: 7px;
  background: #fff;
  color: #203c61;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
}
.nav-account > a:hover { background: #f1f5fb; border-color: #819abd; }
.nav-account > a[data-nav-account="register"] {
  background: #194eb5;
  border-color: #194eb5;
  color: #fff;
}
.nav-account > a[data-nav-account="register"]:hover { background: #123e94; border-color: #123e94; }
.nav-account > a:focus-visible { outline: 2px solid #164fb8; outline-offset: 2px; }
.nav.nav-condensed .nav-account { margin-left: auto; }
header.nav .nav-account + .site-language { margin-left: 0; }
@media (max-width: 1280px) {
  .nav .nav-account { margin-left: auto; }
}
@media (max-width: 600px) {
  header.nav .nav-inner { padding-inline: 12px; gap: 7px; }
  header.nav .logo { flex: 0 1 114px; min-width: 0; }
  header.nav .logo .brand-lockup { width: 114px; max-width: 100%; }
  .nav .nav-account { gap: 6px; }
  .nav-account > a { min-width: 44px; padding-inline: 9px; }
  .nav .site-language summary { width: 42px; min-height: 44px; padding-inline: 0; }
  .nav .site-language summary > span, .nav .site-language .language-chevron { display: none; }
  .nav .nav-toggle { width: 42px; }
}
@media (max-width: 380px) {
  header.nav .nav-inner { padding-inline: 10px; gap: 5px; }
  header.nav .logo { flex: 0 0 38px; min-height: 44px; background: url("favicon-website.svg") center / 32px no-repeat; }
  header.nav .logo .brand-lockup { opacity: 0; }
  .nav-account > a { font-size: 12px; padding-inline: 8px; }
}
@media (max-width: 340px) {
  header.nav .nav-inner { padding-inline: 8px; gap: 4px; }
  header.nav .logo { flex-basis: 34px; }
  .nav .site-language summary, .nav .nav-toggle { width: 40px; }
  .nav-account > a { padding-inline: 6px; }
}
