.header-account {
  position: relative;
  flex-shrink: 0;
}
.account-loading {
  width: 130px;
  min-height: 42px;
}
.account-loading:before {
  content: "";
  display: block;
  width: 130px;
  height: 35px;
  background: #f1f4f7;
  border-radius: 24px;
}
.guest-account {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  font-weight: 600;
}
.guest-account .button {
  font-size: 12px;
  padding: 10px 15px;
}
.account-control {
  position: relative;
}
.account-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 10px;
  padding: 6px 9px;
  cursor: pointer;
  color: #18344f;
  max-width: 260px;
  text-align: left;
}
.account-trigger:hover,
.account-trigger[aria-expanded="true"] {
  background: #f3f6f9;
  border-color: #e0e6ed;
}
.account-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: #fff0e0;
  color: #8e4305;
  font-size: 12px;
  font-weight: 750;
}
.account-trigger-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.account-trigger strong {
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.account-role {
  font-size: 10px;
  font-weight: 650;
  color: #b14f0a;
}
.account-chevron {
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-left: 7px;
  margin-top: -3px;
}
.account-trigger[aria-expanded="true"] .account-chevron {
  transform: rotate(225deg);
  margin-top: 4px;
}
.account-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 9px);
  width: 260px;
  padding: 8px;
  background: #fff;
  border: 1px solid #e0e6ed;
  box-shadow: 0 16px 48px #122c4324;
  border-radius: 12px;
  z-index: 70;
  display: block;
}
.account-menu-heading {
  padding: 10px 12px 14px;
  margin-bottom: 5px;
  border-bottom: 1px solid #edf0f4;
  overflow-wrap: anywhere;
}
.account-menu-heading strong,
.account-menu-heading small {
  display: block;
}
.account-menu-heading strong {
  font-size: 13px;
  font-weight: 650;
}
.account-menu-heading small {
  font-size: 11px;
  font-weight: 400;
  color: #788694;
  margin-top: 3px;
}
.account-dropdown > a {
  display: block !important;
  padding: 10px 12px !important;
  font-size: 12px !important;
  border-radius: 6px !important;
  font-weight: 500 !important;
  margin: 0 !important;
  background: none !important;
  color: #203b53 !important;
}
.account-dropdown > a:hover,
.account-dropdown > a:focus-visible {
  background: #f3f6f9 !important;
}
.settings-signout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.settings-signout h2 {
  margin: 0;
  font-size: 18px;
}
.account-box {
  gap: 15px;
}
.header .nav {
  gap: 24px;
}
.header .navlinks {
  gap: 24px;
}
@media (max-width: 760px) {
  .header .nav {
    gap: 12px;
  }
  .header .brand {
    width: 140px;
  }
  .header .menu-toggle {
    order: 2;
    margin-left: 0;
  }
  .header .header-account {
    order: 1;
    margin-left: auto;
  }
  .account-trigger-copy {
    display: none;
  }
  .account-trigger {
    padding: 4px;
    gap: 6px;
  }
  .account-dropdown {
    width: 250px;
    max-width: calc(100vw - 32px);
  }
  .guest-account {
    gap: 9px;
    font-size: 11px;
  }
  .guest-account .button {
    font-size: 10px;
    padding: 8px 10px;
  }
  .account-box {
    gap: 8px;
  }
  .settings-signout {
    align-items: flex-start;
    flex-direction: column;
  }
}
