/* Profilvalgets rolige oprettelsesramme. Resten af appen beholder sin typografi. */
.app-shell.profile-choice-page main {
  width: 100%;
  max-width: 460px;
  min-height: 0;
  padding: 18px 20px 12px;
}

.profile-choice-page .onboarding-steps {
  gap: 8px;
  margin-bottom: 20px;
  font-size: .6875rem;
}

.profile-choice-page .onboarding-steps .step-control { gap: 5px; }

.profile-choice-page .onboarding-heading h1 {
  margin: 0;
  padding-bottom: 19px;
  font-size: 2.05rem;
  font-weight: 850;
  line-height: 1.17;
  letter-spacing: -.04em;
}

.profile-choice-page .onboarding-heading h1::after { width: 74px; height: 4px; }

/* Kun baggrunden er let transparent; tekst og kontroller er fuldt dækkende. */
.onboarding-flow .onboarding-panel { background: rgb(255 255 255 / 90%); }
.profile-choice-page .onboarding-panel { margin-top: 20px; padding: 14px 12px; }

.onboarding-flow .onboarding-login {
  margin: 10px 0 0;
  padding: 0;
  color: var(--muted);
  text-align: center;
  font-size: .875rem;
  line-height: 1.5;
}

.onboarding-flow .onboarding-login a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--green);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.profile-choice-page .intent-options {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, max(7.5rem, calc((100% - 12px) / 2))), 1fr));
  gap: 12px;
}

.profile-choice-page .person-choice {
  min-width: 0;
  padding: 16px 12px 17px;
  border-radius: var(--sg-radius-card);
  gap: 7px;
}

.profile-choice-page .person-choice input {
  width: 21px;
  height: 21px;
  top: 12px;
  right: 12px;
}

.profile-choice-page .person-art,
.profile-choice-page .with-challenge .person-art {
  width: 112px;
  max-width: 100%;
  margin: 0;
}

.profile-choice-page .person-choice strong,
.profile-choice-page .with-challenge .challenge-choice strong { font-size: 1.35rem; }

.profile-choice-page .person-choice > span:last-child,
.profile-choice-page .with-challenge .challenge-choice > span:last-child {
  font-size: .875rem;
  line-height: 1.4;
  color: var(--muted);
}

.profile-choice-page .with-challenge .challenge-choice {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  padding: 14px 20px 16px;
  gap: 5px;
  text-align: center;
}

.profile-choice-page .with-challenge .challenge-choice .social-art {
  width: 120px;
  max-width: 100%;
  aspect-ratio: 1;
  margin: 0;
  border-radius: 50% 50% 22% 22%;
}

.profile-choice-page .challenge-choice .social-art img {
  width: 115%;
  left: -7.5%;
  top: -17%;
}

.profile-choice-page .intent-form > .button {
  min-height: 52px;
  margin-top: 16px;
  border-radius: var(--sg-radius-control);
  font-size: 1.05rem;
}

.app-shell.profile-choice-page .auth-switch {
  width: auto;
  margin: 4px 0 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  text-align: center;
  font-size: .8125rem;
  color: var(--muted);
}

.profile-choice-page .auth-switch > span {
  padding: 0;
}

.profile-choice-page .auth-switch a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 750;
}

@media (min-width: 768px) {
  .app-shell.profile-choice-page main { padding-top: 28px; }
}

@media (max-width: 360px) {
  .app-shell.profile-choice-page main { padding-left: 16px; padding-right: 16px; }
  .profile-choice-page .onboarding-heading h1 { font-size: 1.85rem; }
  .profile-choice-page .person-art,
  .profile-choice-page .with-challenge .person-art { width: 104px; }
  .profile-choice-page .person-choice { padding-left: 8px; padding-right: 8px; }
}
