/* Account — profile & password */

.page-content--account {
  padding: 0 !important;
  overflow-y: auto;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(75, 142, 255, 0.08), transparent),
    var(--ds-bg);
}

.ac-profile__hero {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--ds-border-subtle);
}

.ac-profile__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--ds-radius-lg);
  font-size: var(--ds-text-md);
  font-weight: 700;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  border: 1px solid var(--ds-border-subtle);
}

.ac-profile__avatar--primary {
  background: rgba(173, 198, 255, 0.12);
  color: var(--ds-primary);
  border-color: rgba(173, 198, 255, 0.25);
}

.ac-profile__avatar--secondary {
  background: rgba(20, 209, 255, 0.1);
  color: #4cd6ff;
  border-color: rgba(20, 209, 255, 0.25);
}

.ac-profile__avatar--muted {
  background: var(--ds-surface-high);
  color: var(--ds-text-secondary);
}

.ac-profile__meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.ac-profile__meta strong {
  font-size: var(--ds-text-md);
  font-weight: 600;
  color: var(--ds-text);
}

.ac-profile__meta > span:not(.nx-role-badge) {
  font-size: var(--ds-text-sm);
  color: var(--ds-text-muted);
}

.ac-profile__meta .nx-role-badge {
  margin-top: 0.35rem;
  align-self: flex-start;
}

.ac-modules-section {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--ds-border-subtle);
}

.ac-modules-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.ac-modules-section__head strong {
  font-size: var(--ds-text-sm);
  font-weight: 600;
  color: var(--ds-text);
}

.ac-modules-section__head span {
  font-size: var(--ds-text-xs);
  color: var(--ds-text-muted);
}

.ac-modules {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ac-module-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: var(--ds-text-xs);
  font-weight: 600;
  color: var(--ds-text-secondary);
  background: rgba(28, 32, 40, 0.6);
  border: 1px solid var(--ds-border-subtle);
}

.ac-module-chip .material-symbols-outlined {
  font-size: 14px;
  color: var(--ds-primary);
}

.ac-modules__empty {
  margin: 0;
  font-size: var(--ds-text-sm);
  color: var(--ds-text-muted);
}

.ac-security-card {
  margin-top: 0;
}

.st-hint a {
  color: var(--ds-primary);
  text-decoration: none;
}

.st-hint a:hover {
  text-decoration: underline;
}
