/* Goal choice. Scoped to this screen; the established visual tokens remain in use. */
.helpmeal-app main:has(.onboarding-start, .stepper) > .hero { display: none; }
main:has(.onboarding-start) .app-card { overflow: visible; border: 0; background: transparent; box-shadow: none; }
main:has(.onboarding-start) .app-head { display: flex; align-items: center; padding: 0 0 22px; border: 0; }
main:has(.onboarding-start) .app-head > div { min-width: 0; }
main:has(.onboarding-start) .app-head h2 { margin: 0; color: var(--ink-soft); font-size: 1rem; font-weight: 500; line-height: 1.5; letter-spacing: 0; }
main:has(.onboarding-start) .app-head p, main:has(.onboarding-start) .step-count { display: none; }
main:has(.onboarding-start) .app-head-side { margin: 0; }
main:has(.onboarding-start) .account-menu { min-width: 0; max-width: 100%; }
main:has(.onboarding-start) .account-trigger { width: 100%; }
.onboarding-start { padding: 0; }
.ob-layout { display: grid; grid-template-columns: minmax(0,.78fr) minmax(0,1.22fr); gap: 28px; align-items: stretch; }
.ob-layout * { min-width: 0; }
.ob-intro { display: flex; flex-direction: column; gap: 48px; justify-content: space-between; padding: 36px; border-radius: 24px; color: var(--paper); background: var(--ink); }
.ob-eyebrow { margin: 0 0 24px; color: var(--mint); font-size: .875rem; font-weight: 500; line-height: 1.5; }
.ob-opening h3 { max-width: 12ch; margin: 0 0 26px; color: var(--paper); font-size: clamp(2rem,3.7vw,3.25rem); font-weight: 600; line-height: 1.1; letter-spacing: -.045em; }
.ob-opening h3 span { color: var(--mint-strong); }
.ob-opening h3:focus-visible { outline-color: var(--mint); }
.ob-lead { max-width: 34ch; margin: 0; color: #c9ded3; font-size: 1rem; line-height: 1.7; }
.ob-promise { display: flex; align-items: flex-start; gap: 12px; padding-top: 24px; border-top: 1px solid #58766a; }
.ob-promise-mark { flex: 0 0 32px; width: 32px; height: 32px; color: var(--mint-strong); }
.ob-promise-mark svg { display: block; width: 100%; height: 100%; }
.ob-promise p { margin: 0; color: #c9ded3; font-size: .875rem; line-height: 1.65; }
.ob-promise strong { color: var(--paper); font-weight: 600; }
.ob-options { display: grid; gap: 12px; }
.ob-choice { display: grid; grid-template-columns: 48px minmax(0,1fr) 24px; align-items: start; gap: 18px; width: 100%; padding: 22px; border: 1px solid var(--control-border); border-radius: 18px; background: var(--paper); color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease; }
.ob-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--mint); color: var(--green); }
.ob-icon svg { width: 32px; height: 32px; }
.ob-choice-content { display: flex; flex-direction: column; gap: 8px; }
.ob-choice-title { display: block; color: var(--ink); font-size: 1.25rem; font-weight: 650; line-height: 1.3; letter-spacing: -.025em; }
.ob-choice-description { display: block; max-width: 60ch; color: var(--ink-soft); font-size: .875rem; line-height: 1.55; }
.ob-choice-footer { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; margin-top: 6px; font-size: .875rem; line-height: 1.5; }
.ob-technical { color: var(--ink-soft); }
.ob-next { color: var(--green-dark); font-weight: 500; }
.ob-arrow { display: grid; place-items: center; align-self: center; width: 24px; height: 24px; color: var(--green); }
.ob-arrow svg { display: block; width: 24px; height: 24px; }
.ob-choice:hover { border-color: var(--green); background: #edf5ef; box-shadow: inset 0 0 0 1px var(--green); }
.ob-choice:active { border-color: var(--green-dark); background: var(--mint); box-shadow: inset 0 0 0 1px var(--green-dark); }
.ob-choice:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
.ob-back { margin-top: 20px; padding: 0; border: 0; }
@media (max-width: 1050px) {
  .ob-layout { grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 20px; }
  .ob-intro { padding: 28px; }
  .ob-choice { gap: 14px; padding: 20px; }
  .ob-choice-footer { display: block; }
  .ob-choice-footer > span { display: block; }
  .ob-next { margin-top: 5px; }
}
@media (max-width: 820px) {
  .ob-layout { display: flex; flex-direction: column; gap: 24px; }
  .ob-intro { display: contents; }
  .ob-opening { order: 0; }
  .ob-options { order: 1; }
  .ob-promise { order: 2; padding-top: 20px; border-color: var(--line); }
  .ob-eyebrow { margin-bottom: 12px; color: var(--green); }
  .ob-opening h3 { max-width: none; margin-bottom: 14px; color: var(--ink); font-size: clamp(2rem,4.5vw,2.75rem); }
  .ob-opening h3 span { color: var(--green); }
  .ob-opening h3:focus-visible { outline-color: var(--green); }
  .ob-lead { max-width: 64ch; color: var(--ink-soft); line-height: 1.6; }
  .ob-promise p { color: var(--ink-soft); }
  .ob-promise strong { color: var(--ink); }
  .ob-promise-mark { color: var(--green); }
  .ob-choice-footer { display: flex; }
  .ob-next { margin-top: 0; }
}
@media (max-width: 520px) {
  main:has(.onboarding-start) .app-head { flex-direction: row; flex-wrap: nowrap; gap: 12px; padding-bottom: 24px; }
  main:has(.onboarding-start) .app-head h2 { max-width: 12ch; font-size: .875rem; }
  main:has(.onboarding-start) .account-trigger { max-width: 190px; }
  main:has(.onboarding-start) .auth-user-email { max-width: 145px; }
  .ob-layout { gap: 22px; }
  .ob-opening h3 { max-width: 17ch; font-size: clamp(1.75rem,8.2vw,2rem); }
  .ob-eyebrow { margin-bottom: 10px; }
  .ob-lead { font-size: 1rem; line-height: 1.55; }
  .ob-options { gap: 10px; }
  .ob-choice { position: relative; grid-template-columns: minmax(0,1fr) 18px; gap: 12px; padding: 18px 14px; border-radius: 16px; }
  .ob-icon { position: absolute; top: 18px; left: 14px; width: 36px; height: 36px; border-radius: 11px; }
  .ob-icon svg { width: 26px; height: 26px; }
  .ob-choice-title { display: block; min-height: 36px; padding-left: 48px; overflow-wrap: anywhere; font-size: 1.125rem; line-height: 1.3; }
  .ob-choice-description { line-height: 1.55; }
  .ob-choice-footer { display: flex; margin-top: 4px; gap: 4px 12px; }
  .ob-next { margin-top: 0; }
  .ob-arrow, .ob-arrow svg { width: 18px; height: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .ob-choice { transition: none; }
}
