/* D23HM1 — /eltern/demo/kinder + /eltern/kinder (HP1 family profiles). */
body {
  overflow: auto;
  height: auto;
  min-height: 100vh;
}

.eltern-kinder {
  max-width: 520px;
  margin: 10px auto 24px;
  padding: calc(var(--safe-top) + 28px) 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.eltern-kinder h1 {
  font-size: clamp(28px, 7vw, 40px);
  font-weight: 800;
  line-height: 1.05;
}

.eltern-kinder .lede {
  color: var(--text-dim);
  max-width: 42ch;
}

.kind-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.kind-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.kind-row.is-selected {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.kind-row__name {
  font-size: 1.15rem;
  margin: 0 0 4px;
}

.kind-row__meta {
  margin: 0;
  color: var(--text-dim);
}

.kind-form {
  width: 100%;
  max-width: 420px;
}

.kind-form h2 {
  font-size: 1.1rem;
  margin: 0 0 8px;
}

.kind-privacy {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin: 0;
}

.kind-active {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(160deg, #1a2240 0%, #12172c 100%);
}

.kind-active__label {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.kind-active__name {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 800;
}

.kind-empty {
  width: 100%;
  max-width: 42ch;
}

/* parent-profiles.css sets .profile-form { display: grid } — keep [hidden] effective. */
.eltern-kinder [hidden] {
  display: none !important;
}
