/* The prototype's onboarding card and domain form, including its 680px content
   width, 32px card padding, type and controls. Login/recovery reuse this surface. */
.onboarding-page { max-width: 808px; }
.onboarding-card {
  max-width: 680px; padding: 32px; background: var(--surface);
  border: 1px solid var(--border-soft); border-radius: 8px;
}
/* Not in the design: standalone account pages are centered below the header;
   the in-app website form keeps the prototype's original page placement. */
.auth-page {
  /* Header 53 px and the 40 px legal footer (not in the design). */
  max-width: none; min-height: calc(100dvh - 53px - 40px);
  display: flex; align-items: center; justify-content: center;
}
.auth-page .onboarding-card { width: 100%; }
.auth-page .onboarding-links { justify-content: center; }
/* Not in the design: staff use their separate, Google-protected dashboard. */
.staff-sign-in { margin-right: 24px; color: var(--text-3); font-size: 15px; }
.onboarding-card h1 { margin: 0 0 8px; font-size: 24px; font-weight: 500; }
.onboarding-intro { margin: 0 0 28px; color: var(--text-3); font-size: 15px; line-height: 1.6; }
.onboarding-form { margin-top: 28px; }
.onboarding-field { margin-bottom: 24px; }
.onboarding-field label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 500; }
.onboarding-field input {
  display: block; width: 100%; border: 1px solid var(--border-input); border-radius: 4px;
  padding: 12px 14px; color: var(--text); background: var(--surface); font: inherit; font-size: 15px;
}
.onboarding-submit {
  background: var(--accent); color: #fff; border: 0; border-radius: 4px;
  padding: 12px 22px; font: inherit; font-size: 15px; font-weight: 500; cursor: pointer;
}
.onboarding-submit:hover { background: var(--accent-hover); }
/* Not in the design: accessible lifecycle feedback and recovery navigation. */
.onboarding-hint { margin: 8px 0 0; font-size: 13px; line-height: 1.6; color: var(--text-4); }
.onboarding-links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 20px; font-size: 14px; }
.onboarding-feedback { margin: 20px 0; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.onboarding-feedback.is-error { color: #b42318; }
.onboarding-field input[readonly] { background: var(--canvas); }
/* Not in the design: the short privacy notice under the submit button. */
.onboarding-notice { margin-top: 14px; }
/* Not in the design: the scan's price and the spending limit (billing), in the
   Usage tab's secondary text style. */
.onboarding-price { margin: -8px 0 24px; font-size: 13px; line-height: 1.6; color: #5c5f66; }
.onboarding-price p { margin: 0 0 4px; }
.onboarding-link-button { display: inline-block; text-decoration: none; }
.onboarding-link-button:hover { color: #fff; }
/* Not in the design: Add memory with a card beside the form (the manager's
   "For agencies" card; for staff, the chosen workspace's embed code). The form
   keeps the prototype's 680 px; desktop only (step 1). */
.onboarding-page.has-aside { max-width: none; }
.onboarding-columns {
  display: grid; grid-template-columns: minmax(0, 680px) minmax(280px, 380px);
  gap: 24px; align-items: start;
}
.onboarding-columns .embed-card { min-height: 0; }
.onboarding-aside { min-width: 0; }
.onboarding-aside .cfg-kicker { margin-bottom: 10px; overflow-wrap: anywhere; }
.onboarding-aside .cfg-snippet { font-size: 11.5px; padding: 12px; }
.onboarding-field select {
  display: block; width: 100%; border: 1px solid var(--border-input); border-radius: 4px;
  padding: 12px 14px; color: var(--text); background: var(--surface); font: inherit; font-size: 15px;
}
