.account-access-head {
  position: relative;
  min-height: 74px;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  gap: 10px;
  padding: 8px 18px;
  background: #ffffff;
  border-bottom: 1px solid #e2e9ef;
  box-shadow: 0 6px 18px rgba(18, 59, 112, .07);
}

.account-access-head::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 54px;
  height: 2px;
  border-radius: 999px;
  background: var(--brand);
  transform: translateX(-50%);
}

.account-access-brand {
  gap: 0;
}

.account-access-brand img {
  width: 112px;
}

.account-access-head h2 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.account-access-close {
  width: 38px;
  height: 38px;
  min-height: 38px;
  border: 1px solid #dce6ed;
  background: #f7fafc;
  color: #123b70;
}

.account-access-close .account-ui-icon {
  width: 19px;
  height: 19px;
}

.account-access-close:hover {
  background: #eaf7fb;
  color: #123b70;
  transform: none;
}

.account-access-body {
  padding-top: 18px;
}

.account-access-tabs {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  justify-self: center;
}

.account-access-tab {
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid #d5e0e8;
  border-radius: 12px 12px 5px 5px;
  background: #ffffff;
  color: #34475a;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  transition: border-color .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.account-access-tab:hover {
  border-color: rgba(0, 165, 202, .5);
  color: #123b70;
}

.account-access-tab.is-active {
  border-color: var(--brand);
  background: var(--brand);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(0, 165, 202, .18);
}

.account-access-tab:focus-visible {
  outline: 2px solid rgba(0, 165, 202, .42);
  outline-offset: 2px;
}

.account-access-tab-panel {
  min-width: 0;
  display: grid;
}

.account-access-tab-panel[hidden] {
  display: none;
}

.account-access-new {
  display: grid;
  gap: 24px;
  padding: 30px 28px 28px;
  border-color: #cfe0e9;
  border-radius: 20px;
  background: #f7fbfd;
  box-shadow: 0 14px 34px rgba(36, 91, 125, .08);
}

.account-access-new-kicker {
  padding: 8px 13px;
}

.account-access-new-head {
  display: block;
}

.account-access-new-head > span {
  display: none;
}

.account-access-new h4 {
  margin-bottom: 12px;
  font-size: 23px;
  line-height: 1.22;
}

.account-access-new p {
  font-size: 15px;
  line-height: 1.62;
}

.account-access-benefits {
  grid-template-columns: 1fr;
  gap: 9px;
}

.account-access-benefits li {
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(207, 224, 233, .8);
  border-radius: 10px;
  background: rgba(255, 255, 255, .78);
  font-size: 14px;
  line-height: 1.38;
}

.account-access-new-note {
  justify-content: flex-start;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(0, 165, 202, .07);
  font-size: 13px !important;
  line-height: 1.45 !important;
  text-align: left;
}

.account-access-quick-signup {
  width: min(100%, 360px);
  min-height: 40px;
  justify-self: start;
  padding: 8px 12px;
  font-size: 12px;
}

.account-access-form > button,
.account-access-new button {
  width: min(100%, 320px);
  min-height: 46px;
  justify-self: center;
  margin-top: 0;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(30, 83, 119, .16);
  font-size: 15px;
  gap: 12px;
}

.account-access-new button {
  max-width: 280px;
}

.account-access-form > button:hover,
.account-access-new button:hover {
  box-shadow: 0 10px 22px rgba(30, 83, 119, .2);
}

@media (max-width: 680px) {
  .account-access-head {
    min-height: 70px;
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    gap: 8px;
    padding: 7px 12px;
  }

  .account-access-brand img {
    width: 106px;
  }

  .account-access-close {
    width: 36px;
    height: 36px;
    min-height: 36px;
  }

  .account-access-body {
    padding-top: 16px;
  }

  .account-access-tabs {
    width: 100%;
    gap: 6px;
  }

  .account-access-tab {
    min-height: 40px;
    padding-inline: 10px;
    font-size: 13px;
  }

  .account-access-new {
    gap: 22px;
    padding: 26px 20px 24px;
  }

  .account-access-new h4 {
    font-size: 21px;
  }
}

@media (max-width: 380px) {
  .account-access-brand img {
    width: 98px;
  }

  .account-access-new {
    padding-inline: 17px;
  }
}
