/* Phase 5 only. No existing page layout rules are changed. */
.onboarding-page { background: #f2f9fd; }
.onboarding-page .site-header, .onboarding-page footer { background: white; }
.onboarding-page #navigation [aria-current="page"] { color: var(--green); border-bottom: 2px solid var(--green); }
.onboarding-main { padding-block: 28px 40px; }
.onboarding-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.onboarding-heading .eyebrow { margin-bottom: 8px; }
.onboarding-heading h1 { font-size: 30px; letter-spacing: -.8px; }
.onboarding-heading p:last-child { color: #5c7a8e; font-size: 12px; margin-top: 8px; }
.reset-onboarding { padding: 9px 14px; background: white; border: 1px solid #c6dce9; border-radius: 6px; color: #316787; font-size: 11px; flex-shrink: 0; }
.onboarding-notice { background: #e8f3fb; color: #4d7087; border: 1px solid #d6e9f5; border-radius: 7px; font-size: 10px; line-height: 1.7; padding: 11px 15px; margin-bottom: 24px; }
.onboarding-layout { display: grid; grid-template-columns: 255px minmax(0, 1fr); align-items: start; gap: 32px; max-width: 1050px; margin-inline: auto; }
.journey-sidebar { padding-top: 25px; }
.journey-sidebar details { border: 0; padding: 0; }
.journey-sidebar summary { display: none; }
.journey-sidebar ol { padding: 0; margin: 0; list-style: none; }
.journey-sidebar li { margin-bottom: 3px; }
.journey-sidebar button { display: flex; align-items: center; gap: 10px; text-align: left; width: 100%; padding: 8px 10px; border-radius: 7px; background: transparent; color: #3e6680; font-size: 11px; line-height: 1.5; }
.journey-sidebar button > span { display: grid; place-items: center; flex: 0 0 25px; height: 25px; background: #e0edf5; color: #4f768e; border-radius: 50%; font-size: 10px; font-weight: 700; }
.journey-sidebar button[aria-current="step"] { background: #e2f3ec; color: #086c50; font-weight: 700; }
.journey-sidebar button[aria-current="step"] > span { background: var(--green); color: white; }
.journey-sidebar button:disabled { opacity: .65; cursor: not-allowed; }
.journey-sidebar > p { font-size: 10px; line-height: 1.7; color: #627f92; padding: 15px 10px; }
.journey-sidebar > .onboarding-local-tools { margin-top: 8px; }
.journey-sidebar > .onboarding-local-tools > summary { display: block; padding: 7px 10px; border: 1px solid #d6e8f4; border-radius: 6px; background: #f7fbfe; color: #55778c; font-size: 10px; line-height: 1.5; cursor: pointer; }
.journey-sidebar > .onboarding-local-tools[open] { margin-bottom: 10px; }
.journey-sidebar > .onboarding-local-tools .demo-applications-panel { padding: 12px 10px; margin: 8px 0; border-radius: 7px; }
.journey-sidebar > .onboarding-local-tools .demo-applications-panel h2 { font-size: 13px; }
.journey-sidebar > .onboarding-local-tools .demo-applications-panel p { font-size: 10px; }
.onboarding-workspace { min-width: 0; }
.step-progress { display: flex; justify-content: space-between; gap: 15px; font-size: 10px; color: #597c91; margin-bottom: 9px; }
.step-progress span:first-child { color: var(--green); font-weight: 700; }
.onboarding-page progress { display: block; appearance: none; width: 100%; height: 5px; border: 0; background: #deebf4; border-radius: 6px; overflow: hidden; }
.onboarding-page progress::-webkit-progress-bar { background: #deebf4; border-radius: 6px; }
.onboarding-page progress::-webkit-progress-value { background: var(--green); border-radius: 6px; }
.onboarding-page progress::-moz-progress-bar { background: var(--green); }
.onboarding-card { margin-top: 15px; padding: 30px 34px; border: 1px solid #e0edf5; border-radius: 14px; background: white; box-shadow: 0 7px 28px #123f5c08; }
.card-brand { display: flex; align-items: center; gap: 5px; margin-bottom: 24px; color: var(--navy); }
.card-brand svg { width: 36px; height: 34px; }
.card-brand > span { font-size: 21px; font-weight: 800; letter-spacing: -.8px; }
.card-brand > span > span { color: var(--teal); }
.card-brand small { margin-left: auto; color: #6a8798; font-size: 8px; letter-spacing: 1px; }
#step-title { font-size: 26px; color: #153e5a; letter-spacing: -.6px; }
#step-description { color: #5a788d; font-size: 12px; line-height: 1.8; margin: 9px 0 24px; }
.step-actions { display: flex; justify-content: space-between; gap: 15px; padding-top: 23px; border-top: 1px solid #e7eff5; margin-top: 25px; }
.step-actions .button { font-size: 12px; min-height: 43px; padding: 12px 17px; }
.onboarding-page button:disabled { cursor: not-allowed; }
.step-actions button:disabled { opacity: .45; transform: none; }
.onboarding-page [hidden] { display: none !important; }
.draft-note { text-align: center; font-size: 9px; color: #6a8393; margin-top: 15px; }
.welcome-panel { display: grid; grid-template-columns: 1fr 145px; gap: 20px; align-items: center; }
.welcome-panel h3 { font-size: 23px; line-height: 1.4; color: #164e69; }
.welcome-panel p { color: #57798c; font-size: 12px; line-height: 1.8; margin-top: 12px; }
.onboarding-avatar { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; width: 145px; min-height: 200px; border-radius: 60px 60px 10px 10px; background: linear-gradient(135deg, #e8f3ed, #c5e0d5); color: #36715e; font-size: 40px; font-weight: 700; }
.onboarding-avatar small { font-size: 7px; letter-spacing: .5px; font-weight: 400; }
.welcome-benefits { list-style: none; padding: 0; margin: 18px 0; }
.welcome-benefits li { font-size: 11px; color: #426e7b; line-height: 1.8; margin: 8px 0; }
.welcome-benefits li::before { content: '✓'; color: var(--green); margin-right: 8px; }
.demo-callout { font-size: 11px; line-height: 1.8; padding: 13px; background: #edf8f2; border: 1px solid #d9eee2; border-radius: 7px; color: #33705a; margin-top: 20px; }
.onboarding-field { margin-bottom: 20px; min-width: 0; }
.onboarding-field label { display: block; font-size: 12px; font-weight: 700; color: #355d77; margin-bottom: 8px; }
.onboarding-page select, .onboarding-page input[type="text"], .onboarding-page input[type="number"] { display: block; width: 100%; min-width: 0; min-height: 42px; padding: 10px 12px; border: 1px solid #ccdfec; border-radius: 6px; background: #fcfeff; color: var(--ink); font: inherit; font-size: 13px; }
.onboarding-page input:focus-visible, .onboarding-page select:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.onboarding-field > small { display: block; color: #627f91; font-size: 10px; line-height: 1.7; margin-top: 7px; }
.onboarding-page input[type="checkbox"] { width: 16px; height: 16px; flex: 0 0 16px; accent-color: var(--green); margin: 2px 0 0; }
.acknowledgement { display: flex; gap: 10px; align-items: flex-start; font-size: 11px; line-height: 1.8; color: #496f85; margin: 20px 0 0; }
.demo-tabs { display: flex; flex-wrap: wrap; gap: 18px; font-size: 10px; color: #6b8798; padding-bottom: 12px; border-bottom: 1px solid #e2edf5; margin-bottom: 22px; }
.demo-tabs .active { color: var(--green); font-weight: 700; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.persona-strip { display: flex; align-items: center; gap: 17px; margin-bottom: 23px; }
.persona-strip .onboarding-avatar { min-height: 85px; width: 85px; flex: 0 0 85px; border-radius: 50%; font-size: 25px; gap: 0; }
.persona-strip .onboarding-avatar small { display: none; }
.persona-strip p { font-size: 12px; color: #456c83; }
.persona-strip p small { display: block; font-size: 10px; line-height: 1.8; margin-top: 6px; }
.onboarding-page fieldset { border: 0; padding: 0; margin: 15px 0; min-width: 0; }
.onboarding-page legend { font-size: 12px; font-weight: 700; color: #3a657d; margin-bottom: 12px; }
.onboarding-page legend small { font-size: 10px; font-weight: 400; margin-left: 8px; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check-grid label { display: flex; gap: 9px; align-items: center; color: #476b83; font-size: 12px; }
.field-note { color: #5b7c90; font-size: 11px; line-height: 1.8; margin: 12px 0; }
.skill-choices > div { display: flex; align-items: center; gap: 15px; border-bottom: 1px solid #e8f0f5; padding: 12px 0; }
.skill-choices label { display: flex; align-items: center; gap: 10px; font-size: 12px; color: #365e78; flex: 1; }
.skill-choices label span { color: var(--blue); font-size: 23px; width: 24px; text-align: center; }
.skill-choices select { max-width: 155px; font-size: 12px; min-height: 37px; padding: 7px; }
.sample-document { padding: 22px; text-align: center; border: 1px dashed #aacfe5; border-radius: 9px; background: #f3faff; }
.sample-document > span { font-size: 35px; color: #177bb2; }
.sample-document h3 { font-size: 16px; color: #285d7c; margin-top: 6px; }
.sample-document p { color: #466b82; font-size: 12px; margin: 8px 0; }
.sample-document small { font-size: 10px; color: #698395; }
.employment-choices label { display: flex; gap: 11px; align-items: flex-start; padding: 14px; background: #f2f8fd; border: 1px solid #deebf5; border-radius: 7px; margin: 10px 0; }
.employment-choices strong { display: block; font-size: 11px; color: #2c5e7c; }
.employment-choices small { display: block; font-size: 10px; color: #658093; margin-top: 6px; line-height: 1.7; }
.summary-person { display: flex; align-items: center; gap: 15px; border-bottom: 1px solid #e5eef5; padding-bottom: 20px; }
.summary-person .onboarding-avatar { width: 66px; flex: 0 0 66px; min-height: 74px; border-radius: 9px; font-size: 25px; }
.summary-person .onboarding-avatar small { display: none; }
.summary-person h3 { font-size: 19px; color: #174765; }
.summary-person p { font-size: 11px; color: #5c7d92; margin-block: 6px; }
.sample-level, .simulation-pill { display: inline-block; padding: 5px 8px; background: #e4f6ee; color: #127950; border-radius: 5px; font-size: 10px; font-weight: 600; }
.sample-summary dl { margin: 20px 0; }
.sample-summary dl > div { display: grid; grid-template-columns: 140px 1fr; gap: 15px; font-size: 11px; line-height: 1.8; padding-block: 9px; border-bottom: 1px solid #edf3f7; }
.sample-summary dt { font-weight: 700; color: #3c667f; }
.sample-summary dd { margin: 0; color: #58768a; overflow-wrap: anywhere; }
.text-action { display: inline-block; padding: 7px 0; background: transparent; color: #246e96; text-decoration: underline; font-size: 11px; }
.step-error { font-size: 12px; color: #ae3c4e; line-height: 1.7; margin-top: 15px; }
.outcome-panel { text-align: center; padding-block: 5px 10px; }
.outcome-icon { display: grid; place-items: center; width: 80px; height: 80px; background: #e3f7ed; color: #009b71; border-radius: 50%; margin: 5px auto 22px; font-size: 37px; }
.outcome-icon.amber { background: #fff6de; color: #b78618; }
.outcome-panel h3 { font-size: 23px; color: #1c5872; }
.outcome-panel p { color: #5c7b8e; font-size: 12px; line-height: 1.8; margin-block: 17px; }
.review-checklist { list-style: none; padding: 0; margin: 23px auto; text-align: left; max-width: 350px; }
.review-checklist li { padding: 9px 0; font-size: 12px; color: #487186; }
.review-checklist li::before { content: '✓'; color: var(--green); margin-right: 10px; }
.verification-list > div { display: flex; align-items: flex-start; gap: 13px; padding: 18px 0; border-bottom: 1px solid #e4eff5; }
.verification-list > div > span { display: grid; place-items: center; flex: 0 0 33px; height: 33px; border-radius: 50%; background: #e8f0f6; color: #638092; font-size: 14px; }
.verification-list .done > span { background: #def5ea; color: #008d63; }
.verification-list h3 { font-size: 13px; color: #376781; }
.verification-list p { font-size: 10px; color: #628396; line-height: 1.8; margin-top: 7px; }
.review-progress { margin-top: 22px; }
.simulate-review { font-size: 12px; width: 100%; margin-top: 10px; }
.simulate-review:disabled { opacity: .6; }
.preview-banner { background: #edf6ff; color: #3b718f; font-size: 9px; padding: 10px 12px; border-radius: 5px; margin-bottom: 18px; }
.preview-section { margin-block: 22px; }
.preview-section h3 { font-size: 15px; color: #376782; }
.preview-section article { padding: 12px; background: #f2f9fd; border-radius: 6px; margin-top: 10px; font-size: 11px; color: #3c6b85; }
.preview-section p { font-size: 10px; color: #638196; margin-top: 6px; }
.notification-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 11px; color: #598095; }
.notification-tabs { display: flex; gap: 20px; border-bottom: 1px solid #deebf5; margin-top: 13px; }
.notification-tabs button { padding: 8px 0; background: transparent; font-size: 11px; color: #607e92; border-bottom: 2px solid transparent; }
.notification-tabs [aria-pressed="true"] { color: var(--blue); border-color: var(--blue); font-weight: 700; }
.notification-list article { display: flex; gap: 12px; padding: 17px 12px; border-bottom: 1px solid #e6eff6; }
.notification-list .unread { background: #f1f8fd; }
.notification-list article > span { display: grid; place-items: center; flex: 0 0 31px; height: 31px; border-radius: 50%; background: #dff5ed; color: #009b75; font-size: 20px; }
.notification-list button { background: transparent; color: #315d7e; font-size: 12px; font-weight: 600; padding: 0; text-align: left; }
.notification-list p { font-size: 11px; color: #5f7e91; line-height: 1.7; margin-top: 7px; }
.notification-list small { display: block; font-size: 9px; color: #6b8797; margin-top: 8px; }
.notification-detail { padding: 9px; background: #e8f3fa; border-radius: 5px; }
.finish-panel { padding-top: 24px; }
.finish-panel h3 { font-size: 18px; color: #1b5d73; }
.finish-panel p { font-size: 11px; color: #5d7b8f; margin: 10px 0 16px; }
.finish-panel .button { font-size: 12px; }
.finish-panel .text-action { display: block; margin-top: 10px; }
.reset-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 23px; }
@media (max-width: 1000px) {
  .onboarding-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 20px; }
  .onboarding-card { padding: 25px; }
  .welcome-panel { grid-template-columns: 1fr; }
  .welcome-panel > .onboarding-avatar { display: none; }
  .field-grid { gap: 12px; }
  .sample-summary dl > div { grid-template-columns: 110px 1fr; gap: 12px; }
}
@media (max-width: 600px) {
  .onboarding-main { padding-block: 22px 30px; }
  .onboarding-heading { align-items: flex-start; gap: 10px; }
  .onboarding-heading h1 { font-size: 25px; }
  .onboarding-heading .eyebrow { font-size: 8px; }
  .onboarding-heading p:last-child { font-size: 11px; }
  .reset-onboarding { font-size: 10px; padding: 8px; }
  .onboarding-layout { grid-template-columns: 1fr; gap: 15px; }
  .journey-sidebar { padding: 0; }
  .journey-sidebar summary { display: block; padding: 11px 25px 11px 12px; background: #e9f3fa; border: 1px solid #d6e8f4; border-radius: 6px; font-size: 12px; }
  .journey-sidebar > .onboarding-local-tools > summary { display: block; padding: 7px 10px; font-size: 10px; }
  .journey-sidebar summary::after { right: 12px; top: 7px; }
  .journey-sidebar ol { padding-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
  .journey-sidebar button { padding: 7px 5px; font-size: 9px; gap: 7px; }
  .journey-sidebar > p { display: none; }
  .onboarding-card { padding: 23px 18px; }
  .card-brand { flex-wrap: wrap; gap: 4px; margin-bottom: 22px; }
  .card-brand small { font-size: 7px; }
  #step-title { font-size: 24px; }
  #step-description { font-size: 12px; margin-bottom: 21px; }
  .onboarding-page select, .onboarding-page input[type="text"], .onboarding-page input[type="number"] { font-size: 16px; }
  .field-grid { grid-template-columns: 1fr; gap: 0; }
  .onboarding-field label { font-size: 13px; }
  .welcome-panel h3 { font-size: 24px; }
  .welcome-panel > .onboarding-avatar { display: flex; width: 100%; min-height: 155px; border-radius: 12px; }
  .check-grid { gap: 16px 10px; }
  .check-grid label { font-size: 12px; }
  .persona-strip p { font-size: 11px; }
  .persona-strip .onboarding-avatar { min-height: 68px; flex-basis: 68px; width: 68px; }
  .skill-choices label { font-size: 11px; gap: 5px; }
  .skill-choices select { max-width: 135px; font-size: 14px; }
  .summary-person { gap: 11px; }
  .summary-person h3 { font-size: 18px; }
  .sample-summary dl > div { grid-template-columns: 1fr; gap: 5px; font-size: 12px; }
  .step-actions { gap: 10px; }
  .step-actions .button { font-size: 11px; padding: 12px; }
  #step-next { max-width: 75%; }
  .outcome-panel h3 { font-size: 22px; }
  .notification-tabs { gap: 17px; }
  .notification-list article { padding-inline: 7px; gap: 9px; }
  .notification-toolbar { font-size: 10px; }
  .draft-note { font-size: 9px; line-height: 1.7; }
}
