.onboarding-requirement {
  max-width: var(--consent-copy-width);
  margin-top: 26px;
  color: #0f0f0f;
  font-family: 'IBM Plex Sans', -apple-system, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.62;
}

.onboarding-requirement > p {
  margin: 0;
}

.onboarding-policy-note {
  margin-top: 16px;
  padding: 4px 0 4px 18px;
  border-left: 4px solid #2d4a2b;
}

.onboarding-policy-note p {
  margin: 0;
}

.onboarding-policy-note p + p {
  margin-top: 14px;
}

.onboarding-irb {
  display: inline-flex;
  align-items: baseline;
  gap: 0.32em;
  margin-top: 18px !important;
  padding: 7px 11px;
  border: 1px solid #b9c7bd;
  border-radius: 4px;
  background: #f4f8f5;
  color: #294232;
  font-size: 0.89rem;
  line-height: 1.35;
}

.onboarding-link-warning,
.onboarding-test-notice {
  margin-top: 18px !important;
  padding: 13px 15px;
  border-left: 4px solid #a12622;
  border-radius: 3px;
  background: #fff0f0;
  color: #7a2727;
  font-weight: 650;
}

.onboarding-test-notice {
  border-left-color: #2d4a2b;
  background: #edf6ec;
  color: #203d20;
}

.intro-active .onboarding-login,
.intro-active .onboarding-login:hover {
  color: #f6f6f1;
  text-decoration: none;
}

/* The creator-study page used a two-column text/video layout. This viewer
   entry intentionally keeps the same card and typography while dropping the
   video column so the consent and login controls fit comfortably on phones. */
.consent__layout--single {
  display: block;
  max-width: var(--consent-copy-width);
}

.consent__layout--single .consent__copy {
  display: block;
}

@media (max-width: 780px) {
  .survey-logo-header {
    padding-right: 18px;
    padding-left: 18px;
  }

  .stage-body {
    padding: 34px 18px 52px;
  }

  .consent {
    max-width: 100%;
  }

  .onboarding-requirement {
    max-width: 100%;
  }
}
