.account-trigger {
  min-width: 92px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.72);
  color: #fff;
  background: rgba(255,255,255,.04);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}

.account-trigger:hover,
.account-trigger.is-logged-in {
  border-color: #13c6e4;
  color: #062844;
  background: #6ce0ef;
}

.account-dialog {
  width: min(92vw, 520px);
  max-height: min(88vh, 760px);
  padding: 0;
  overflow: auto;
  border: 1px solid #315d73;
  color: #0b2942;
  background: #f7fafb;
  box-shadow: 0 36px 110px rgba(0,20,36,.42);
}

.account-dialog::backdrop {
  background: rgba(1,18,31,.78);
  backdrop-filter: blur(5px);
}

.account-dialog__head {
  position: relative;
  padding: 30px 34px 25px;
  color: #fff;
  background: linear-gradient(135deg, #092844, #075b7d);
}

.account-dialog__head span {
  color: #6ce0ef;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
}

.account-dialog__head h2 {
  margin: 9px 0 0;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -.05em;
}

.account-dialog__head p {
  margin: 10px 42px 0 0;
  color: #b9d1df;
  font-size: 13px;
  line-height: 1.7;
}

.account-dialog__close {
  position: absolute;
  right: 17px;
  top: 16px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  background: transparent;
  cursor: pointer;
  font-size: 25px;
  line-height: 1;
}

.account-dialog__body { padding: 28px 34px 34px; }
.account-tabs { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #bfd1dc; }
.account-tabs button { padding: 13px 8px; border: 0; color: #587181; background: #eaf1f4; font: inherit; font-size: 13px; font-weight: 900; cursor: pointer; }
.account-tabs button.is-active { color: #fff; background: #0a5d7f; }
.account-panel { padding-top: 23px; }
.account-panel[hidden] { display: none !important; }
.account-form { display: grid; gap: 15px; }
.account-form label { display: grid; gap: 7px; color: #36566a; font-size: 12px; font-weight: 800; }
.account-form label[hidden] { display: none; }
.account-form label em { color: #ef4835; font-size: 10px; font-style: normal; }
.account-form input,
.account-form select { width: 100%; height: 46px; padding: 0 14px; border: 1px solid #bdccd5; border-radius: 0; outline: 0; color: #082a42; background: #fff; font: inherit; }
.account-form input:focus,
.account-form select:focus { border-color: #0aa7c7; box-shadow: 0 0 0 3px rgba(19,198,228,.13); }
.account-form small { color: #718795; font-size: 11px; font-weight: 500; line-height: 1.6; }
.account-method { margin: 0; padding: 0; border: 0; }
.account-method legend { margin-bottom: 8px; color: #36566a; font-size: 12px; font-weight: 800; }
.account-method > div { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #bdccd5; }
.account-method label { min-height: 45px; padding: 0 14px; display: flex; align-items: center; gap: 9px; color: #36566a; background: #fff; cursor: pointer; }
.account-method label + label { border-left: 1px solid #bdccd5; }
.account-method input { width: 17px; height: 17px; accent-color: #0a7898; }
.account-method small { display: block; margin-top: 7px; color: #718795; font-size: 11px; line-height: 1.6; }
.account-submit,
.account-logout { min-height: 47px; padding: 0 18px; border: 0; color: #fff; background: #f04432; font: inherit; font-size: 13px; font-weight: 900; cursor: pointer; }
.account-secondary { min-height: 44px; padding: 0 18px; border: 1px solid #b9ccd7; color: #31556a; background: #fff; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.account-submit:disabled,
.account-logout:disabled { opacity: .58; cursor: wait; }
.account-message { min-height: 22px; margin: 17px 0 0; padding: 10px 12px; color: #38586b; background: #e8f2f5; font-size: 12px; line-height: 1.6; }
.account-message.is-error { color: #9b2e23; background: #ffebe8; }
.account-message.is-success { color: #176141; background: #e3f7ed; }
.account-profile { display: grid; gap: 18px; text-align: left; }
.account-profile__identity { display: flex; align-items: center; gap: 15px; }
.account-profile__avatar { width: 64px; height: 64px; flex: 0 0 64px; display: grid; place-items: center; border-radius: 50%; color: #052c47; background: #6ce0ef; font-size: 25px; font-weight: 900; }
.account-profile h3 { margin: 0; font-size: 27px; }
.account-profile p { margin: 7px 0 0; color: #6d8290; font-size: 13px; }
.account-bindings { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #c9d6dd; background: #fff; }
.account-bindings > div { position: relative; min-width: 0; padding: 13px 14px; display: grid; gap: 5px; }
.account-bindings > div + div { border-left: 1px solid #c9d6dd; }
.account-bindings span { color: #768b98; font-size: 10px; font-weight: 800; }
.account-bindings b { overflow: hidden; color: #11384f; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.account-bindings i { justify-self: start; padding: 3px 7px; color: #7b5b21; background: #fff2cc; font-size: 9px; font-style: normal; font-weight: 900; }
.account-bindings i.is-bound { color: #176141; background: #dff5e9; }
.account-profile-form { padding: 16px; border: 1px solid #d5e0e6; background: #f1f6f8; }
.account-form__two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.account-profile-complete { margin: 0 !important; padding: 11px 12px; color: #176141 !important; background: #e3f7ed; font-size: 11px !important; line-height: 1.6; }
.account-profile-complete[hidden] { display: none; }
.account-verify > span { color: #0aa7c7; font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.account-verify h3 { margin: 8px 0 5px; font-size: 25px; }
.account-verify > p { margin: 0 0 18px; color: #6d8290; font-size: 12px; line-height: 1.7; }
.account-security-note { margin: 18px 0 0; color: #6c818d; font-size: 11px; line-height: 1.7; }

.career-cta__links { display: flex; flex-wrap: wrap; gap: 12px 28px; }

@media (max-width: 1120px) {
  .portal-v12 .account-trigger { min-width: 72px; padding-inline: 10px; font-size: 11px; }
}

@media (max-width: 850px) {
  .account-trigger { margin-left: auto; min-width: auto; padding: 9px 11px; }
  .site-header .menu-toggle { margin-left: 0; }
  .portal-v12 .header-action { display: none; }
}

@media (max-width: 520px) {
  .account-trigger { max-width: 96px; overflow: hidden; text-overflow: ellipsis; }
  .account-dialog__head { padding: 26px 22px 22px; }
  .account-dialog__head h2 { font-size: 29px; }
  .account-dialog__body { padding: 23px 22px 27px; }
  .account-bindings,
  .account-form__two { grid-template-columns: 1fr; }
  .account-bindings > div + div { border-top: 1px solid #c9d6dd; border-left: 0; }
}
