.boot-screen {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  color: #605C72;
}
.account-shell {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(380px, 0.92fr) minmax(550px, 1.08fr);
  background: #F9F9FC;
}
.account-story {
  background: #6A3DF5;
  color: #F0EEF6;
  padding: 48px 12%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.account-story .brand {
  color: inherit;
  text-decoration: none;
  font-size: 31px;
  gap: 10px;
  align-self: flex-start;
}
.account-story .brand svg {
  width: 32px;
  height: 32px;
}
.story-copy {
  margin: auto 0;
  padding: 64px 0 40px;
}
.eyebrow {
  display: block;
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 650;
  color: #6C6781;
}
.story-copy .eyebrow {
  color: #ADA8C2;
}
.story-copy h1 {
  font-size: clamp(56px, 5.5vw, 84px);
  font-weight: 450;
  line-height: 1.06;
  letter-spacing: -4px;
  margin: 25px 0 26px;
}
.story-copy h1 em {
  font-style: normal;
  color: #F1ECFF;
}
.story-copy p {
  color: #BBB7CA;
  font-size: 16px;
  line-height: 1.8;
}
.story-currencies {
  display: flex;
  gap: 30px;
  border-top: 1px solid #6A3DF5;
  padding-top: 28px;
}
.story-currencies > span {
  font-size: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #F1ECFF;
}
.story-currencies small {
  font-size: 12px;
  color: #BBB7CA;
}
.story-footer {
  font-size: 11px;
  color: #9C97B1;
  margin: 38px 0 0;
}
.account-main {
  display: flex;
  flex-direction: column;
  padding: 40px 8%;
  min-width: 0;
}
.account-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.account-top-note {
  font-size: 11px;
  color: #817E8D;
}
.account-mobile-brand {
  display: none;
}
.account-content {
  width: 100%;
  max-width: 400px;
  margin: auto;
  padding: 48px 0;
}
.account-content h2 {
  font-size: 38px;
  line-height: 1.16;
  letter-spacing: -1.4px;
  font-weight: 500;
  margin: 18px 0;
}
.account-intro {
  font-size: 14px;
  color: #767283;
  line-height: 1.7;
  margin-bottom: 29px;
}
.account-content form {
  margin: 0;
}
.account-content input,
.account-content select {
  background: #fff;
}
.account-content label {
  font-size: 12px;
}
.account-content .primary {
  background: #6A3DF5;
  border: 1px solid #6A3DF5;
  min-height: 51px;
  border-radius: 12px;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
@media (hover: hover) {
  .account-content .primary:hover {
    background: #4B22C9;
  }
}
.account-content .primary svg {
  width: 16px;
  height: 16px;
}
.account-content .error {
  font-size: 12px;
}
.password-field {
  position: relative;
}
.password-field input {
  padding-right: 50px;
}
.password-toggle {
  position: absolute;
  right: 6px;
  top: 5px;
  width: 40px;
  height: 40px;
  color: #7C788C;
  background: transparent;
  border: 0;
  display: grid;
  place-items: center;
}
.password-toggle svg {
  width: 19px;
  height: 19px;
}
.auth-switch {
  text-align: center;
  font-size: 12px;
  color: #777484;
  margin-top: 26px;
}
.auth-switch a {
  color: #292536;
  font-weight: 650;
  text-decoration: none;
  margin-left: 4px;
}
@media (hover: hover) {
  .auth-switch a:hover {
    text-decoration: underline;
  }
}
.auth-footnote {
  font-size: 11px;
  line-height: 1.7;
  text-align: center;
  color: #888593;
  margin-top: 28px;
}
.account-bottom {
  font-size: 10px;
  color: #888593;
  text-align: center;
  margin: 0;
}
.recovery-note {
  font-size: 11px;
  line-height: 1.7;
  color: #777484;
  text-align: center;
  margin-top: 25px;
}
.recovery-note summary {
  cursor: pointer;
}
.recovery-note p {
  padding: 12px;
  border-radius: 10px;
  background: #EAE8F1;
  text-align: left;
}
.setup-progress {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 38px;
}
.setup-progress > span {
  width: 34px;
  height: 3px;
  border-radius: 4px;
  background: #DBD8E7;
}
.setup-progress > span.current {
  background: #6A3DF5;
}
.setup-progress > small {
  font-size: 10px;
  color: #817D92;
  margin-left: 10px;
  letter-spacing: 1px;
}
.currency-choices {
  display: grid;
  gap: 12px;
  margin: 25px 0 30px;
}
.currency-choice {
  display: flex !important;
  align-items: center;
  gap: 14px;
  padding: 19px;
  border: 1px solid #DBD8E7;
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
}
.currency-choice:has(input:checked) {
  border-color: #5F5588;
  background: #ECEAF4;
  box-shadow: 0 0 0 1px #5F5588;
}
.currency-choice > span:not(.coin) {
  flex: 1;
}
.currency-choice strong,
.currency-choice small {
  display: block;
}
.currency-choice strong {
  font-size: 14px;
  font-weight: 550;
}
.currency-choice small {
  color: #827E92;
  font-size: 11px;
  margin-top: 5px;
}
.currency-choice input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: #6A3DF5;
}
.setup-back {
  display: block;
  margin: 18px auto 0;
}
.setup-summary {
  margin: 26px 0;
  display: grid;
  gap: 25px;
}
.setup-summary > div {
  display: flex;
  gap: 15px;
  align-items: center;
}
.setup-summary svg {
  width: 23px;
  height: 23px;
  color: #4B22C9;
}
.setup-summary strong,
.setup-summary small {
  display: block;
}
.setup-summary strong {
  font-size: 13px;
  font-weight: 550;
}
.setup-summary small {
  font-size: 11px;
  margin-top: 6px;
  color: #827E92;
}
.account-settings {
  margin-bottom: 32px;
}
.account-settings .section-head {
  margin-bottom: 0;
}
.account-settings .setting p {
  overflow-wrap: anywhere;
}
.backend-link {
  display: block;
  text-align: center;
  margin: 22px;
  font-size: 13px;
  color: #4B22C9;
}
button:disabled {
  opacity: 0.58;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #7E72AC;
  outline-offset: 3px;
}
@media (min-width: 1500px) {
  .account-story {
    padding-left: max(12%, calc((100vw - 1240px) / 2));
    padding-right: 10%;
  }
  .account-main {
    padding-right: max(8%, calc((100vw - 1240px) / 2));
  }
}
@media (max-width: 980px) {
  .account-shell {
    grid-template-columns: 38% 62%;
  }
  .account-story {
    padding: 38px 28px;
  }
  .story-copy h1 {
    font-size: 54px;
    letter-spacing: -2.8px;
  }
  .story-copy p {
    font-size: 13px;
  }
  .story-currencies {
    gap: 16px;
  }
  .story-currencies > span {
    font-size: 22px;
    gap: 5px;
  }
  .story-currencies small {
    font-size: 9px;
  }
  .account-main {
    padding: 34px 9%;
  }
  .account-top-note {
    display: none;
  }
  .account-content h2 {
    font-size: 33px;
  }
}
@media (max-width: 650px) {
  .account-shell {
    display: block;
  }
  .account-story {
    display: none;
  }
  .account-main {
    min-height: 100dvh;
    padding: 27px 26px 25px;
  }
  .account-mobile-brand {
    display: block;
    font-size: 28px;
    font-weight: 650;
    letter-spacing: -1.5px;
    color: #292536;
  }
  .account-top {
    gap: 12px;
  }
  .account-top .status-tag {
    font-size: 9px;
    margin-left: auto;
  }
  .account-content {
    padding: 55px 0 45px;
    max-width: 400px;
  }
  .account-content h2 {
    font-size: 36px;
  }
  .account-intro {
    font-size: 13px;
  }
  .account-bottom {
    font-size: 9px;
  }
  .account-settings .setting {
    gap: 20px;
  }
  .account-settings .setting button {
    max-width: 120px;
  }
  .account-settings .setting p {
    font-size: 11px;
  }
  .setup-progress {
    margin-bottom: 30px;
  }
}
.account-content form > label {
  display: block;
  margin: 20px 0 8px;
  color: #423E52;
  font-weight: 550;
}
.account-content input:not([type="radio"]),
.account-content select {
  display: block;
  width: 100%;
  height: 50px;
  padding: 12px 14px;
  border: 1px solid #DAD7E5;
  border-radius: 11px;
  color: #292536;
  font: inherit;
  font-size: 14px;
  box-sizing: border-box;
}
.account-content input::placeholder {
  color: #9A96A8;
}
.account-content input:focus,
.account-content select:focus {
  border-color: #716898;
}
.account-content .password-field input {
  padding-right: 50px;
}
.account-content .form-note {
  font-size: 11px;
  line-height: 1.65;
  color: #827E92;
  margin: 9px 0 0;
}
.account-content .error {
  min-height: 18px;
  margin: 16px 0 10px;
}
.account-story .brand svg {
  color: #F1ECFF;
}

.account-intro,
.account-content .form-note,
.auth-footnote,
.account-bottom,
.account-top-note,
.auth-switch,
.recovery-note,
.currency-choice small,
.setup-summary small,
.setup-progress > small {
  color: #625E72;
}
.account-content input::placeholder {
  color: #696578;
}
.account-content h2,
.account-settings strong {
  overflow-wrap: anywhere;
}
.topbar .account {
  min-width: 0;
  max-width: 50%;
}
.topbar .account > span:nth-child(2) {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-content select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2368715f' stroke-width='1.5'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
  background-size: 18px;
  background-repeat: no-repeat;
  background-position: right 13px center;
}

.sidebar .brand {
  font-size: 22px;
  gap: 9px;
  letter-spacing: -0.8px;
}
.account-mobile-brand {
  font-size: 23px;
  letter-spacing: -1px;
}
.history-more {
  padding: 22px 0;
}
.history-more .form-note {
  margin-bottom: 14px;
}

@media (max-width: 560px) {
  .topbar .account {
    max-width: 100%;
  }
  .topbar .account > span:nth-child(2) {
    max-width: 200px;
  }
}
