

.profile-group {
  display: grid;
  gap: 16px;
}

.profile-group[hidden] {
  display: none;
}

.profile-group__title {
  margin: 8px 0 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pp-color-text-secondary);
}

.profile-status {
  margin: 0;
  font-size: 14px;
  color: var(--pp-color-text-secondary);
}

.profile-identity {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--pp-color-border-default);
}

.profile-identity > .profile-status {
  flex: 1 1 200px;
  color: inherit;
}

.profile-logout {
  display: flex;
  flex-direction: column;
  gap: var(--space-3, 12px);
}

.profile-logout .cta-button {
  width: 100%;
}


.profile-danger {
  display: flex;
  flex-direction: column;
  gap: var(--space-3, 12px);
  border: 1px solid var(--pp-color-semantic-danger);
}

.profile-danger h2 {
  color: var(--pp-color-semantic-danger-text);
}

.profile-danger .cta-button {
  width: 100%;
  max-width: 40rem;
}

@media (min-width: 40rem) {
  .profile-logout {
    align-items: flex-start;
  }

  .profile-logout .cta-button {
    width: auto;
  }
}


.profile-fold {
  display: grid;
  gap: 16px;
}

.profile-fold[hidden] {
  display: none;
}

.profile-fold__summary {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  min-height: 44px;
  padding: 10px 0;
  cursor: pointer;
}

.profile-fold__title {
  font-weight: 600;
}

.profile-fold__status {
  font-size: 14px;
  color: var(--pp-color-text-secondary);
}
