.account-page h1 {
  font-size: clamp(38px, 5vw, 56px);
  margin-bottom: 24px;
}

.account-area {
  padding: clamp(16px, 4vw, 28px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.account-session {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 20px;
  padding-bottom: 18px;
}

.account-identity {
  min-width: 0;
  overflow-wrap: anywhere;
}

.account-identity p {
  margin: 0;
  color: var(--muted);
}

.account-page .account-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 24px;
  padding: 20px 0;
}

.account-page .account-section:last-of-type {
  padding-bottom: 0;
}

.account-page .account-section h2 {
  font-size: 19px;
  letter-spacing: -0.3px;
  margin: 0 0 4px;
}

.account-page .account-section p {
  margin: 0;
  line-height: 1.5;
}

.account-area .button {
  gap: 8px;
}

.account-area .button:hover:not(:disabled) {
  background: var(--pale);
  filter: none;
}

.account-area .button:disabled {
  opacity: 0.65;
  cursor: default;
}

.account-text-action {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  font-size: 14px;
  font-weight: 550;
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--ink);
  border: 0;
  background: transparent;
}

.account-delete-link {
  color: #a42525;
}

.account-export-results {
  grid-column: 1 / -1;
}

.account-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.account-downloads:not(:empty) {
  margin-top: 10px;
}

.account-area > .account-status {
  margin: 0;
}

.account-area > .account-status:not(:empty) {
  margin-top: 14px;
}

@media (max-width: 600px) {
  .account-page .account-section {
    grid-template-columns: minmax(0, 1fr);
  }

  .account-section > .button,
  .account-section > .account-text-action {
    justify-self: start;
  }
}
