.account-document {
  margin: 0;
  min-height: 100vh;
  color: #101c30;
  background: #f3f7f9;
  font: 16px/1.55 Inter, "Segoe UI", sans-serif;
  color-scheme: light;
}

.account-document *, .account-strip * { box-sizing: border-box; }
.account-document a, .account-strip a {
  color: #00685f;
  font-weight: 650;
  text-decoration-color: #92c8bf;
  text-underline-offset: .2em;
}
.account-document :focus-visible, .account-strip :focus-visible {
  outline: 3px solid #267bd0;
  outline-offset: 3px;
}
.account-wrap { width: min(calc(100% - 48px), 1060px); margin-inline: auto; }
.account-header { background: #fff; border-bottom: 1px solid #dee9eb; }
.account-nav { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 16px; }
.account-brand { display: grid; place-content: center; width: 170px; height: 50px; overflow: hidden; }
.account-brand img { display: block; width: 181px; height: auto; }
.account-preview-badge {
  color: #245b58;
  background: #e6f4f1;
  border: 1px solid #d2e9e4;
  border-radius: 999px;
  padding: 5px 11px;
  font-size: .8125rem;
  font-weight: 650;
}

.account-entry {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1fr);
  align-items: stretch;
  padding-block: clamp(32px, 8vh, 90px);
}
.account-aside {
  position: relative;
  display: flex;
  min-height: 485px;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  overflow: hidden;
  padding: clamp(30px, 5vw, 56px);
  border-radius: 20px 0 0 20px;
  color: #fff;
  background: radial-gradient(ellipse at 110% 110%, #00786d 0%, #114659 40%, #101c30 85%);
}
.account-aside::before,
.account-aside::after {
  position: absolute;
  width: 275px;
  height: 275px;
  border: 1px solid #8fe9d633;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.account-aside::before { bottom: -128px; right: -124px; }
.account-aside::after { bottom: -105px; right: -100px; }
.account-aside-copy { position: relative; z-index: 1; margin-block: auto; }
.account-aside-copy p { margin: 18px 0 0; color: #d5ebe9; }
.account-aside-copy .account-promise {
  margin: 0;
  max-width: 10ch;
  color: #fff;
  font-size: clamp(2.4rem, 4.3vw, 3.5rem);
  font-weight: 750;
  letter-spacing: -.045em;
  line-height: 1.02;
  text-wrap: balance;
}
.account-workflow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: .8125rem;
  font-weight: 650;
}
.account-workflow span:not([aria-hidden]) {
  padding: 5px 10px;
  border: 1px solid #a3ded557;
  border-radius: 6px;
  background: #bdf6e415;
}
.account-workflow span[aria-hidden] { color: #ffd595; }
.account-card {
  padding: clamp(26px, 5vw, 54px);
  border: 1px solid #dbe7e9;
  border-left: 0;
  border-radius: 0 20px 20px 0;
  background: #fff;
  box-shadow: 0 15px 36px #152a3e0b;
}
.account-card h1 {
  margin: 0;
  font-size: clamp(1.9rem, 3.5vw, 2.5rem);
  letter-spacing: -.036em;
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.account-intro { margin: 9px 0 0; color: #4c6375; overflow-wrap: anywhere; }
.account-hint { margin: 14px 0 0; color: #455f69; font-size: .875rem; }
.account-notice {
  margin: 16px 0 0;
  padding: 11px 13px;
  border: 1px solid #cce5df;
  border-radius: 8px;
  color: #124d46;
  background: #eef8f5;
  font-size: .875rem;
  overflow-wrap: anywhere;
}
.account-form { display: grid; gap: 15px; margin-top: 24px; }
.account-form label { display: grid; gap: 6px; color: #233e4b; font-size: .875rem; font-weight: 650; }
.account-form input {
  width: 100%;
  min-height: 45px;
  padding: 9px 11px;
  border: 1px solid #afc5cc;
  border-radius: 8px;
  color: #101c30;
  background: #fff;
  font: inherit;
  font-size: 1rem;
}
.account-field-hint { color: #4c6375; font-size: .8125rem; font-weight: 400; }
.account-button, .account-document a.account-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 9px 15px;
  border: 1px solid #006a60;
  border-radius: 8px;
  color: #fff;
  background: #006a60;
  font: inherit;
  font-size: .9375rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.account-button:hover, .account-document a.account-button:hover { background: #00574f; }
.account-button.account-button-secondary { border-color: #adc8c6; color: #204c4a; background: #fff; }
.account-button.account-button-secondary:hover { background: #edf6f4; }
.account-form button { width: 100%; margin-top: 4px; }
.account-switch { margin: 22px 0 0; color: #4c6375; font-size: .875rem; }

.account-access-layout { max-width: 580px; padding-block: clamp(32px, 8vh, 90px); }
.account-card.account-access { border: 1px solid #dbe7e9; border-radius: 20px; }
.account-state {
  display: inline-block;
  margin-bottom: 16px;
  padding: 4px 10px;
  border-radius: 6px;
  color: #155746;
  background: #e3f5ed;
  font-size: .8125rem;
  font-weight: 700;
}
.account-state-inactive { color: #73480c; background: #f9ecd1; }
.account-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 15px; }
.account-actions form { margin: 0; }
.account-access .account-actions { margin-top: 24px; }

.account-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
  padding: 12px 17px;
  border: 1px solid #cfe6e1;
  border-radius: 9px;
  background: #edf8f5;
  overflow-wrap: anywhere;
}
.account-strip strong { display: block; color: #173343; }
.account-strip-state { display: block; color: #325f5b; font-size: .8125rem; }
.account-strip .account-actions { font-size: .875rem; }
.account-strip button { min-height: 40px; font-size: .875rem; }

@media (max-width: 720px) {
  .account-wrap { width: min(calc(100% - 30px), 490px); }
  .account-entry { grid-template-columns: minmax(0, 1fr); padding-block: 25px 40px; }
  .account-aside { min-height: auto; gap: 18px; padding: 24px; border-radius: 16px 16px 0 0; }
  .account-aside-copy .account-promise { max-width: 16ch; font-size: 2.15rem; }
  .account-aside-copy p { margin-top: 11px; font-size: .9375rem; }
  .account-workflow { display: none; }
  .account-card { border-radius: 0 0 16px 16px; border: 1px solid #dbe7e9; border-top: 0; }
}

@media (max-width: 390px) {
  .account-wrap { width: calc(100% - 24px); }
  .account-brand { width: 145px; }
  .account-brand img { width: 156px; }
  .account-card, .account-aside { padding: 20px; }
  .account-strip { padding: 12px; }
}
