.profile-view {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background: var(--app-color-bg);
  overflow-y: auto;
}

.profile-view--create {
  align-items: center;
  justify-content: center;
  padding: var(--app-spacing-xl);
  gap: var(--app-spacing-xl);
}

.profile-view--create .profile-view__intro {
  text-align: center;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: var(--app-spacing-sm);
}

.profile-view--create .profile-view__intro h1 {
  font-size: var(--app-font-size-2xl);
  margin: 0;
}

.profile-view--create .profile-view__intro p {
  color: var(--app-color-text-muted);
  margin: 0;
}

.profile-view__form {
  display: flex;
  flex-direction: column;
  gap: var(--app-spacing-lg);
  width: 100%;
  max-width: 360px;
}

.profile-view__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: var(--app-spacing-md);
  padding: var(--app-spacing-md);
}

.profile-view__card {
  background: var(--app-color-surface);
  border: 1px solid var(--app-color-border);
  border-radius: var(--app-radius-md);
  padding: var(--app-spacing-md);
  display: flex;
  flex-direction: column;
  gap: var(--app-spacing-sm);
  box-shadow: var(--app-shadow-sm);
}

.profile-view__section-title {
  font-size: var(--app-font-size-lg);
  font-weight: 700;
  margin: 0;
  color: var(--app-color-text);
}

.profile-view__hint {
  font-size: var(--app-font-size-sm);
  color: var(--app-color-text-muted);
  margin: 0;
}

.profile-view__placeholder {
  font-size: var(--app-font-size-sm);
  color: var(--app-color-text-muted);
  font-style: italic;
  margin: 0;
}

.profile-view__dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: var(--app-spacing-xs) var(--app-spacing-md);
  margin: 0;
  font-size: var(--app-font-size-sm);
}

.profile-view__dl dt {
  color: var(--app-color-text-muted);
  font-weight: 500;
}

.profile-view__dl dd {
  margin: 0;
  color: var(--app-color-text);
  font-weight: 600;
}

.profile-view__danger {
  border-color: rgba(214, 40, 40, 0.4);
}

.profile-view__danger .profile-view__section-title {
  color: var(--app-color-error);
}

.profile-view__advanced .profile-view__dl dd code {
  font-family: var(--app-font-family-mono, monospace);
  font-size: var(--app-font-size-xs);
  word-break: break-all;
  background: var(--app-color-bg);
  padding: 2px 6px;
  border-radius: var(--app-radius-sm);
  border: 1px solid var(--app-color-border);
}
