body.customer-page { background: #f7f8fa; }
.customer-page .customer-header { max-width: 960px; min-height: 76px; border-bottom: 1px solid #e1e5eb; gap: .75rem 1.5rem; }
.customer-navigation, .customer-destinations, .customer-language-switch { display: flex; align-items: center; gap: .25rem; }
.customer-navigation { flex-wrap: wrap; justify-content: flex-end; gap: .5rem 1rem; }
.customer-navigation [hidden] { display: none !important; }
.customer-destinations { flex-wrap: wrap; }
.customer-navigation a { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; min-height: 44px; padding: .55rem .85rem; border-radius: .7rem; color: #525b69; text-decoration: none; font-size: .9375rem; font-weight: 550; line-height: 1.4; }
.customer-destinations a:hover { background: #e9edf2; color: #252a35; }
.customer-destinations a[aria-current="page"] { color: #42367b; background: #ebe8f5; }
.customer-language-switch { padding: 3px; border-radius: .8rem; background: #e9edf2; }
.customer-language-switch a { min-width: 44px; padding-inline: .6rem; font-size: .875rem; }
.customer-language-switch a[aria-current="true"] { background: #fff; color: #252a35; box-shadow: 0 1px 3px #24334b12; }
.customer-navigation a:focus-visible, #customerRoot .customer-account-link:focus-visible { outline: 3px solid #6052a9; outline-offset: 3px; }
#customerRoot { max-width: 960px; padding-block: 1rem 4rem; }
#customerRoot h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
#customerRoot h2 { font-size: 1.35rem; margin-block: .5rem 1rem; }
#customerRoot .customer-panel { background: #fff; border: 1px solid #dfe3eb; border-radius: 18px; padding: 1.5rem; margin-block: 1rem; }
#customerRoot .customer-draft-note { padding: 1rem; border: 1px solid #d9d1ec; border-radius: 12px; background: #f6f3fc; margin-block: 1rem; }
#customerRoot .customer-email-status { display: inline-block; font-weight: 700; color: #514284; padding: .35rem .65rem; background: #f3f0fa; border-radius: 8px; }
#customerRoot .customer-email-preferences details { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid #dfe3eb; }
#customerRoot .customer-email-preferences summary { cursor: pointer; min-height: 44px; }
#customerRoot form { display: grid; gap: 1rem; }
#customerRoot label { display: grid; gap: .4rem; font-size: 1rem; }
#customerRoot input:not([type=checkbox]), #customerRoot select, #customerRoot textarea { width: 100%; max-width: 100%; box-sizing: border-box; padding: .75rem; border: 1px solid #aeb8c8; border-radius: 8px; font: inherit; }
#customerRoot .customer-check { display: flex; align-items: flex-start; gap: .75rem; }
#customerRoot .customer-check input { margin-top: .35rem; }
#customerRoot button { min-height: 44px; font-size: 1rem; margin: .25rem; }
#customerRoot .customer-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
#customerRoot .customer-actions > button { background: transparent; box-shadow: none; color: #505766; border: 1px solid #c5cbd5; font-weight: 500; }
#customerRoot .customer-space-label { flex: 1; margin: .5rem 0; color: #505766; }
#customerRoot .customer-toolbar { gap: .5rem .75rem; padding-block: .2rem .6rem; }
#customerRoot .customer-toolbar > label { flex: 1 1 15rem; }
#customerRoot .customer-toolbar > button { order: 2; margin: 0; border-color: transparent; padding: .65rem .8rem; border-radius: .7rem; font-size: .875rem; }
#customerRoot .customer-toolbar > button:hover { background: #e9edf2; color: #252a35; }
#customerRoot .customer-account-link { order: 1; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .55rem 1rem; box-sizing: border-box; border: 1px solid #dce1e9; border-radius: .7rem; background: #fff; color: #30394b; text-decoration: none; font-size: .9375rem; font-weight: 600; }
#customerRoot .customer-account-link:hover { background: #eff1f7; border-color: #b6bdcc; }
#customerRoot .customer-message { color: #733d19; padding: .5rem 0; overflow-wrap: anywhere; }
#customerRoot .customer-message:empty { display: none; }
#customerRoot[data-view="reminder"] > h1 { margin-block: .5rem .75rem; }
#customerRoot[data-view="reminder"] .customer-toolbar { margin-block: 0 .5rem; }
#customerRoot[data-view="reminder"] .customer-toolbar > .customer-space-label { flex: 1 1 auto; margin: 0; font-size: .875rem; }
#customerRoot .customer-forecast-reminder > p { margin-block: .65rem; }
#customerRoot .customer-forecast-reminder h2 { margin-top: 0; }
#customerRoot .customer-forecast-reminder form { margin-top: 1rem; gap: .8rem; }
#customerRoot .customer-forecast-reminder form p { margin-block: .25rem; }
#customerRoot .customer-reminder-summary, #customerRoot .customer-reminder-privacy { color: #505766; font-size: .875rem; line-height: 1.55; }
#customerRoot .customer-invitations { display: grid; gap: .75rem; margin-block: 1rem; }
#customerRoot .customer-invitation { border: 1px solid #dfe3eb; border-radius: 12px; padding: 1rem; min-width: 0; }
#customerRoot .customer-invitation h4 { margin: 0; font-size: 1rem; }
#customerRoot .customer-invitation p { margin-block: .5rem; color: #505766; }
#customerRoot .customer-section-intro { max-width: 65ch; color: #505766; }
#customerRoot .customer-wishlist-invitation { background: #f5f1fc; border: 1px solid #d8cbed; border-radius: 1rem; margin-top: 1.5rem; padding: 1.2rem; }
#customerRoot .customer-wishlist-invitation h3 { margin-top: 0; }
#customerRoot .customer-primary-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; box-sizing: border-box; padding: .7rem 1.2rem; border-radius: .7rem; background: #584581; color: #fff; font-weight: 650; text-decoration: none; }
#customerRoot .customer-primary-link:hover { background: #433365; }
#customerRoot .customer-primary-link:focus-visible { outline: 3px solid #6052a9; outline-offset: 3px; }
#customerRoot .customer-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
#customerRoot .customer-metrics strong { display: block; font-size: 1.8rem; color: #235784; }
#customerRoot details { margin-block: 1rem; }
#customerRoot summary { cursor: pointer; padding-block: .5rem; }
#customerRoot a, #customerRoot p { overflow-wrap: anywhere; }
#customerRoot fieldset { border: 1px solid #dfe3eb; border-radius: 12px; padding: 1rem; display: grid; gap: 1rem; min-width: 0; }
#customerRoot legend, #customerRoot > details > summary { font-weight: 650; font-size: 1.1rem; }
#customerRoot .customer-boundary, #customerRoot .customer-date { color: #505766; font-size: .9375rem; }
#customerRoot .customer-forecast > .pro-personal-metric-card { background: #f6f9fc; }
#customerRoot .customer-secondary-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
#customerRoot .pro-personal-metric-value { color: var(--metric-accent, #235784); font-size: clamp(2rem, 6vw, 3rem); }
#customerRoot .pro-personal-chart { max-width: 100%; margin-inline: 0; }
#customerRoot .pro-personal-chart svg { display: block; width: 100%; height: auto; }
#customerRoot .pro-personal-chart-scale { color: #505766; }
#customerRoot .pro-personal-metric-label, #customerRoot .pro-personal-metric-range { color: #505766; }
#customerRoot .customer-chart-details { border-top: 1px solid #dfe3eb; padding-top: .5rem; }
#customerRoot .customer-profile-progress { padding: 1rem; border: 1px solid #d9deea; border-radius: 12px; background: #f6f8fc; }
#customerRoot .customer-profile-progress > p { margin-top: 0; font-weight: 600; }
#customerRoot .customer-profile-gaps { padding-left: 1.25rem; margin-bottom: 0; }
#customerRoot .customer-profile-gaps li { margin-block: .35rem; }
#customerRoot .customer-profile-gaps button { border: 0; padding: .35rem 0; background: transparent; color: #45356a; text-align: left; text-decoration: underline; text-underline-offset: .2em; min-height: 44px; }
#customerRoot .customer-profile-gaps button:hover { color: #261540; }
#customerRoot .customer-profile-gaps button:focus-visible { outline: 3px solid #6052a9; outline-offset: 3px; }
#customerRoot .customer-field-requirement { color: #505766; font-size: .8125rem; font-weight: 500; }
#customerRoot [data-answer-state="missing"] { border-color: #8b6036; }
#customerRoot .customer-profile-optional { border: 1px solid #dfe3eb; border-radius: 12px; padding: 1rem; }
#customerRoot .customer-profile-optional summary { font-weight: 650; }
#customerRoot .customer-profile-optional label, #customerRoot .customer-profile-advanced label { margin-block: 1rem; }
#customerRoot [id^="customer-profile-"] { scroll-margin-block: 2rem; }
#customerRoot [id^="customer-profile-"]:focus { outline: 3px solid #6052a9; outline-offset: 3px; }
#customerRoot .pro-personal-metric-label { font-size: .875rem; text-transform: none; font-weight: 400; }
#customerRoot .customer-purchase-check label { display: flex; align-items: flex-start; gap: .75rem; margin-block: .75rem; }
#customerRoot .customer-purchase-check fieldset label { display: grid; }
#customerRoot [hidden] { display: none !important; }
@media (min-width: 720px) {
  #customerRoot .customer-forecast > .pro-personal-metric-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); column-gap: 1.5rem; }
  #customerRoot .customer-forecast > .pro-personal-metric-card > * { grid-column: 1; min-height: 0; }
  #customerRoot .customer-forecast > .pro-personal-metric-card > .pro-personal-chart { grid-column: 2; grid-row: 1 / span 5; align-self: center; }
}
@media (max-width: 650px) { #customerRoot .customer-secondary-metrics { grid-template-columns: 1fr; } }
@media (max-width: 650px) { #customerRoot .customer-metrics { grid-template-columns: 1fr; } #customerRoot .customer-panel { padding: 1rem; } }
@media (max-width: 520px) {
  .customer-page .customer-header { align-items: center; padding-block: .8rem; }
  .customer-navigation { flex: 1 1 100%; justify-content: space-between; }
  .customer-navigation a { padding-inline: .65rem; }
  #customerRoot .customer-toolbar > .customer-space-label { flex-basis: 100%; }
}
@media (forced-colors: active) {
  .customer-navigation a[aria-current] { outline: 2px solid CanvasText; outline-offset: -3px; }
}

/* Saved-account Babyforecast Pro uses its native scenario throughout. */
#customerRoot .customer-pro-result { --metric-accent: #584581; }
#customerRoot .customer-pro-result .customer-pro-limit { padding: .8rem 1rem; border-left: 3px solid #8c7ba9; background: #f4f1f8; border-radius: 0 .6rem .6rem 0; }
#customerRoot .customer-pro-primary { padding: 1.2rem; margin-block: 1.25rem .75rem; border: 1px solid #d9d0e9; border-radius: 1rem; background: #f7f4fb; }
#customerRoot .customer-pro-primary > p { max-width: 68ch; margin-block: .55rem; }
#customerRoot .customer-pro-kicker { color: #554365; font-size: .9375rem; }
#customerRoot .customer-pro-value { display: block; color: #493469; font-size: clamp(2.8rem, 10vw, 4.2rem); letter-spacing: -.035em; line-height: 1.2; font-variant-numeric: tabular-nums; }
#customerRoot .customer-pro-comparison { margin-block: .75rem 1.5rem; color: #555361; font-size: .875rem; }
#customerRoot .customer-pro-note { color: #555361; font-size: .875rem; line-height: 1.5; }
#customerRoot .customer-pro-curve, #customerRoot .customer-pro-factors { margin-block: 1.75rem; padding-top: .25rem; }
#customerRoot .customer-pro-curve h3, #customerRoot .customer-pro-factors h3 { font-size: 1.125rem; }
#customerRoot .customer-pro-curve .pro-personal-chart { max-width: 44rem; }
#customerRoot .customer-pro-total { padding: .75rem 1rem; border-radius: .6rem; background: #f4f1f8; color: #493469; font-weight: 650; }
#customerRoot .customer-pro-impact-axis, #customerRoot .customer-pro-impact-scale { display: flex; justify-content: space-between; gap: 1rem; color: #555361; font-size: .8125rem; }
#customerRoot .customer-pro-impact-axis > :last-child { text-align: right; }
#customerRoot .customer-pro-impact-scale { margin: .4rem 5% 0; font-variant-numeric: tabular-nums; }
#customerRoot .customer-pro-impact-list { list-style: none; padding: 0; margin-block: .5rem 1rem; }
#customerRoot .customer-pro-impact-list li { padding: 1rem 0 .75rem; border-bottom: 1px solid #e5e1eb; }
#customerRoot .customer-pro-impact-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: .5rem 1rem; }
#customerRoot .customer-pro-impact-heading h4 { margin: 0; font-size: 1rem; }
#customerRoot .customer-pro-impact-heading small { display: block; margin-top: .25rem; color: #555361; font-size: .8125rem; font-weight: 400; }
#customerRoot .customer-pro-impact-heading strong { padding-top: .1rem; font-size: .875rem; font-variant-numeric: tabular-nums; }
#customerRoot .customer-pro-impact-bar { display: block; width: 100%; height: 28px; margin-block: .5rem; }
#customerRoot .customer-pro-impact-bar .track { stroke: #e4dfed; stroke-width: 2; }
#customerRoot .customer-pro-impact-bar .zero { stroke: #91889e; stroke-width: 1; }
#customerRoot .customer-pro-impact-bar .lower { fill: #416780; }
#customerRoot .customer-pro-impact-bar .higher { fill: #584581; }
#customerRoot .customer-pro-impact-bar .neutral { fill: #7b7486; }
#customerRoot .customer-pro-impact-list .customer-pro-note { margin-bottom: 0; }
#customerRoot .customer-pro-result .customer-profile-gaps li > p { font-size: .9375rem; margin-top: 0; }
#customerRoot .customer-pro-result code { overflow-wrap: anywhere; font-size: .8125rem; }
#customerRoot .customer-pro-table-scroll { overflow-x: auto; border: 1px solid #dfe3eb; border-radius: .6rem; }
#customerRoot .customer-pro-table-scroll:focus-visible { outline: 3px solid #6052a9; outline-offset: 3px; }
#customerRoot .customer-pro-table-scroll table { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: .875rem; font-variant-numeric: tabular-nums; }
#customerRoot .customer-pro-table-scroll caption { padding: .75rem; color: #555361; text-align: left; }
#customerRoot .customer-pro-table-scroll th, #customerRoot .customer-pro-table-scroll td { padding: .65rem .75rem; text-align: right; border-bottom: 1px solid #e7e4ec; }
#customerRoot .customer-pro-table-scroll th:first-child { text-align: left; }
#customerRoot .customer-pro-table-scroll thead { background: #f4f1f8; }
#customerRoot .customer-pro-table-scroll [aria-current="date"] { background: #ece6f5; font-weight: 650; }
@media (max-width: 520px) {
  #customerRoot .customer-pro-impact-heading { flex-direction: column; gap: .35rem; }
  #customerRoot .customer-pro-primary { padding: 1rem; }
}
@media (forced-colors: active) {
  #customerRoot .customer-pro-impact-bar .track, #customerRoot .customer-pro-impact-bar .zero { stroke: CanvasText; }
  #customerRoot .customer-pro-impact-bar .higher, #customerRoot .customer-pro-impact-bar .lower, #customerRoot .customer-pro-impact-bar .neutral { fill: CanvasText; }
}
