/* Registration: separate the agreement, account fields and optional choices. */
#dialog:has(.auth-signup-form) #dialog-content > h2 + p {
  max-width: 43ch;
  margin-bottom: 18px;
  line-height: 1.6;
}
#dialog:has(.auth-signup-form) .auth-consent-text {
  margin: 0 0 10px;
  padding: 16px 18px;
  border: 1px solid #ded7e1;
  border-radius: 12px;
  background: #f0ebf1;
  color: #49354f;
  font-size: 13px;
  line-height: 1.65;
}
#dialog:has(.auth-signup-form) .auth-privacy-details {
  margin: 0 0 22px;
}
#dialog:has(.auth-signup-form) .auth-privacy-details > summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #49354f;
  cursor: pointer;
  list-style: none;
}
#dialog:has(.auth-signup-form) .auth-privacy-details > summary::-webkit-details-marker { display: none; }
#dialog:has(.auth-signup-form) .auth-privacy-details > summary::after { content: '+'; font-size: 20px; font-weight: 400; }
#dialog:has(.auth-signup-form) .auth-privacy-details[open] > summary::after { content: '−'; }
#dialog:has(.auth-signup-form) .auth-privacy-details > summary:focus-visible {
  outline: 2px solid #49354f;
  outline-offset: 3px;
}
#dialog .auth-signup-form > label:first-child { margin-top: 0; }
#dialog .auth-signup-form .stats-consent {
  margin: 14px 0;
  padding: 14px 16px;
  border: 1px solid #ded7e1;
  border-radius: 12px;
}
#dialog .auth-signup-form .stats-consent legend { color: #49354f; }
#dialog .auth-signup-form > .primary { width: 100%; min-height: 48px; }
@media (max-width: 700px) {
  #dialog:has(.auth-signup-form) .auth-consent-text { padding: 14px; }
  #dialog .auth-signup-form .stats-consent { padding: 12px 14px; }
}
