/* Declarations reused from the supplied prototype. Selectors adapt its shared
   components to existing MVC bindings; source paths identify their origin. */
@font-face {
  font-family: 'WT Prototype Inter Tight';
  src: url('../fonts/prototype/InterTight-Light.ttf') format('truetype');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'WT Prototype Inter Tight';
  src: url('../fonts/prototype/InterTight-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'WT Prototype Inter Tight';
  src: url('../fonts/prototype/InterTight-Medium.ttf') format('truetype');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'WT Prototype Inter Tight';
  src: url('../fonts/prototype/InterTight-SemiBold.ttf') format('truetype');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'WT Prototype Inter Tight';
  src: url('../fonts/prototype/InterTight-Bold.ttf') format('truetype');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'WT Prototype Inter Tight';
  src: url('../fonts/prototype/InterTight-ExtraBold.ttf') format('truetype');
  font-weight: 800; font-style: normal; font-display: swap;
}
body:is(.wt-onboarding-page, .wt-signin-page, :has(.wt-account-page)) {

  /* ---- Brand Blues ---- */
  --wt-blue-700: #1F3FD1;
  --wt-blue-600: #1A4BEB;       /* used in production code as primary CTA color */
  --wt-blue-500: #2E5FFF;       /* primary brand blue */
  --wt-blue-300: #7290F1;
  --wt-blue-200: #A9B8FF;
  --wt-blue-100: #BAC9F9;       /* chart line — taxable */
  --wt-blue-25:  #F5F7FF;

  /* ---- Greens ---- */
  --wt-green-600: #076E33;      /* badge text on green-50 */
  --wt-green-500: #33B26A;
  --wt-green-400: #58DE92;      /* chart line — deferred */
  --wt-green-50:  #DAF5E6;

  /* ---- Yellows ---- */
  --wt-yellow-400: #D4AE46;
  --wt-yellow-300: #E6DD95;     /* chart line — total */
  --wt-yellow-200: #E9E5A1;
  --wt-yellow-50:  #F4EEDC;

  /* ---- Reds ---- */
  --wt-red-500: #FF4D5E;
  --wt-red-400: #FF7A85;
  --wt-red-50:  #FCE1E3;

  /* ---- Neutrals (warm) ---- */
  --wt-black:    #303030;       /* primary text — warm dark */
  --wt-white:    #FFFFFF;
  --wt-n-800:    #303030;
  --wt-n-700:    #4F4F4F;
  --wt-n-500:    #6B6B6B;
  --wt-n-400:    #888888;
  --wt-n-300:    #B0B0B0;
  --wt-n-200:    #DCDCDC;
  --wt-n-100:    #E7E7E7;
  --wt-n-75:     #ECEDF0;       /* gray badge bg */
  --wt-n-50:     #F6F6F6;       /* app shell */
  --wt-n-40:     #FAFAFA;       /* card top stop */

  /* ---- Extended categorical chart palette ----
     Sourced from the Cash Flows "Flow" (Sankey) and "Breakdown" views — the
     production surface with the widest set of simultaneous categories (income
     sources vs. spending/tax/savings uses). Full-strength bases for node bars;
     band fills use opacity, and sibling ramps stay dark→medium (not near-white).
     Warm uses are pulled apart: sand expenses, rose taxes, amber inflation. */
  --wt-chart-income:    #6E7FE0;  /* salary / guaranteed & earned income */
  --wt-chart-growth:    #3E9563;  /* investment growth */
  --wt-chart-onetime:   #C4A83A;  /* one-time cash inflows (sale, inheritance, part-time) */
  --wt-chart-contrib:   #8E96B8;  /* contributions routed in as savings */
  --wt-chart-drawdown:  #C47A28;  /* portfolio drawdown */
  --wt-chart-spending:  #8B7355;  /* living & goal expenses (sand) */
  --wt-chart-tax:       #D26378;  /* taxes & penalties (rose) */
  --wt-chart-inflation: #C9841C;  /* inflation adjustment (amber) */
  --wt-chart-reinvest:  #2A9D8F;  /* saved & reinvested into the portfolio */

  /* ---- Semantic surfaces ---- */
  --wt-bg-app:        var(--wt-n-40);
  --wt-bg-card-top:   #FAFAFA;
  --wt-bg-card-bot:   #FFFFFF;
  --wt-bg-overlay:    rgba(48,48,48,0.06);
  --wt-tooltip-bg:    #283548;

  /* ---- Borders / dividers ---- */
  --wt-border-card-top: #FFFFFF;
  --wt-border-card-bot: #E7E7E7;
  --wt-divider-1: rgba(48,48,48,0.10);   /* primary */
  --wt-divider-2: rgba(48,48,48,0.07);   /* row hairline */
  --wt-divider-3: #DCDCDC;               /* vertical separators in KPI bars */

  /* ---- Text ---- */
  --wt-fg-1: #303030;                    /* primary text */
  --wt-fg-2: rgba(48,48,48,0.7);         /* secondary / body */
  --wt-fg-3: rgba(48,48,48,0.55);        /* tertiary */
  --wt-fg-4: rgba(48,48,48,0.4);         /* metadata */
  --wt-fg-5: rgba(48,48,48,0.25);        /* disabled */
  --wt-fg-link: var(--wt-blue-600);

  /* ---- Signature gradients ---- */
  --wt-grad-card:        linear-gradient(180deg, #FAFAFA 0%, #FFFFFF 100%);
  --wt-grad-card-border: linear-gradient(180deg, #FFFFFF 0%, #E7E7E7 100%);
  --wt-grad-btn-blue:    linear-gradient(180deg, #4974FF 0%, #1F3FD1 100%);
  --wt-grad-btn-blue-border: linear-gradient(180deg, #7290F1 0%, #1F3FD1 100%);
  --wt-grad-deluxe:      linear-gradient(90.08deg, #58DE92 0%, #33B26A 99.55%);
  --wt-grad-text-blue:   linear-gradient(124.43deg, #2E5FFF 3.45%, #1C3999 94.55%);

  /* ---- Shadows ---- */
  --wt-shadow-card:    0 2px 8px -3px rgba(0,0,0,0.15);
  --wt-shadow-tooltip: 0 4px 14px rgba(16, 28, 44, 0.18);
  --wt-shadow-btn:     0 4px 12px -2px rgba(8,49,180,0.19);

  /* ---- Radii ---- */
  --wt-radius-xs: 6px;       /* badges */
  --wt-radius-sm: 8px;       /* small buttons */
  --wt-radius-md: 10px;      /* tooltips, sm cards */
  --wt-radius-lg: 12px;      /* icon containers */
  --wt-radius-xl: 22px;      /* primary card radius */
  --wt-radius-pill: 41px;

  /* ---- Spacing scale (4px grid) ---- */
  --wt-sp-1: 4px;
  --wt-sp-2: 8px;
  --wt-sp-3: 12px;
  --wt-sp-4: 16px;
  --wt-sp-5: 20px;
  --wt-sp-6: 24px;
  --wt-sp-7: 28px;
  --wt-sp-8: 32px;
  --wt-sp-9: 36px;
  --wt-sp-10: 40px;

  /* ---- Type scale ---- */
  --wt-font: 'WT Prototype Inter Tight', system-ui, -apple-system, Segoe UI, sans-serif;

  /* Display & headings */
  --wt-fs-display: 36px;
  --wt-fs-h1: 28px;
  --wt-fs-h2: 24px;
  --wt-fs-h3: 20px;
  --wt-fs-h4: 18px;

  /* Body & data */
  --wt-fs-body: 15px;
  --wt-fs-body-sm: 13px;
  --wt-fs-meta: 12px;
  --wt-fs-eyebrow: 13px;     /* uppercase section label */

  /* Letter-spacing */
  --wt-ls-tight: -0.56px;     /* large display */
  --wt-ls-snug: -0.4px;       /* numbers / values */
  --wt-ls-body: 0.3px;        /* default body */
  --wt-ls-meta: 0.36px;       /* small labels / badges */
  --wt-ls-eyebrow: 0.65px;    /* uppercase */

--wt-font-family: var(--wt-font);
}
body:is(.wt-onboarding-page, .wt-signin-page, :has(.wt-account-page)) {

  /* One interaction blue, the Dashboard's: #1A4BEB is what the shell uses for
     focus borders, links, active tabs and CTAs. #2E5FFF stays the brand/logo
     and chart blue only. The soft/ring tints are the shell's exact values
     (.btn-link:hover and .inp:focus). */
  --accent: var(--wt-blue-600);
  --accent-strong: var(--wt-blue-600);
  --accent-grad: var(--wt-grad-btn-blue);
  --accent-border-grad: var(--wt-grad-btn-blue-border);
  --accent-soft: rgba(30, 80, 255, .07);
  --accent-ring: rgba(30, 80, 255, .12);
  /* Danger TEXT is #C0392B across the shell (.field__err, .field__req, 121 uses).
     --wt-red-500 (#FF4D5E) stays a fill/stroke colour: it only reaches 3.1:1 on
     the card background, below the 4.5:1 floor for body copy. */
  --danger-text: #C0392B;
  --input-h: 38px;        /* .inp in the shell */
  --field-gap: 16px;

}

/* shared/wt-ob.css */
body.wt-onboarding-page :is(.field > .label, .form-label),
body.wt-signin-page form > label {
    font: 500 12px/1 var(--wt-font);
    letter-spacing: .3px;
    color: var(--wt-fg-2);
    display: flex;
    align-items: center;
    gap: 6px;
}
body.wt-onboarding-page .hint {
    font: 400 12px/1.45 var(--wt-font);
    letter-spacing: .2px;
    color: rgba(48, 48, 48, .5);
}
body.wt-onboarding-page .field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
body.wt-onboarding-page .field > .label {
    margin: 0;
}
body.wt-onboarding-page .field > .field-validation-valid {
    display: none;
}
body.wt-onboarding-page :is(.field, .form-group, .signup-card) input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=submit]),
body.wt-signin-page .wt-signin-card input:not([type=hidden]):not([type=checkbox]):not([type=submit]) {
    width: 100%;
    height: var(--input-h);
    border-radius: var(--wt-radius-md);
    background: #fff;
    border: 1px solid rgba(48, 48, 48, .18);
    font: 500 14px/1 var(--wt-font);
    letter-spacing: .3px;
    color: var(--wt-fg-1);
    padding: 0 12px;
    outline: none;
    transition: border-color .12s ease, box-shadow .12s ease;
}
body.wt-onboarding-page input::placeholder,
body.wt-signin-page input::placeholder {
    color: rgba(48, 48, 48, .35);
    font-weight: 400;
}
body.wt-onboarding-page :is(.field, .form-group, .signup-card) input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=submit]):focus,
body.wt-signin-page .wt-signin-card input:not([type=hidden]):not([type=checkbox]):not([type=submit]):focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-ring);
}
body.wt-onboarding-page :is(.field, .form-group) select {
    width: 100%;
    height: var(--input-h);
    border-radius: var(--wt-radius-md);
    background: #fff;
    border: 1px solid rgba(48, 48, 48, .18);
    font: 500 14px var(--wt-font);
    letter-spacing: .3px;
    color: var(--wt-fg-1);
    padding: 0 36px 0 12px;
    outline: none;
    appearance: none;
    cursor: pointer;
    transition: border-color .12s ease, box-shadow .12s ease;
}
body.wt-onboarding-page :is(.field, .form-group) select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-ring);
}
body.wt-onboarding-page :is(.wt-ob-toggle,.toggle-row,.mortgage-toggle-card) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
    border-radius: var(--wt-radius-lg);
    border: 1px solid var(--wt-n-100);
    background: #fff;
    transition: border-color .15s, background .15s;
}
body.wt-onboarding-page :is(.wt-ob-toggle strong,.toggle-row h6,.mortgage-toggle-text h6) {
    font: 600 13px/1.2 var(--wt-font);
    letter-spacing: .2px;
    color: var(--wt-fg-1);
    display: flex;
    align-items: center;
    gap: 6px;
}
body.wt-onboarding-page :is(.wt-ob-toggle small,.mortgage-toggle-text p) {
    font: 400 12px/1.4 var(--wt-font);
    letter-spacing: .2px;
    color: rgba(48, 48, 48, .58);
    margin-top: 3px;
    max-width: 52ch;
}
body.wt-onboarding-page :is(.btn-next,.wt-ob-previous,.wt-ob-skip,.wt-ob-link,.wt-ob-danger),
body.wt-signin-page .wt-entry-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: var(--wt-radius-md);
    font: 600 13px/1 var(--wt-font);
    letter-spacing: .3px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform .12s, box-shadow .12s, background .15s;
    white-space: nowrap;
}
body.wt-onboarding-page :is(.btn-next,.wt-ob-previous,.wt-ob-link,.wt-ob-danger) {
    height: 36px;
    padding: 0 16px;
}
body.wt-signin-page .wt-entry-primary,
body.wt-onboarding-page.wt-signup-page .wt-entry-primary {
    height: 44px;
    padding: 0 22px;
    font-size: 14px;
}
body.wt-onboarding-page .btn-next,
body.wt-signin-page .wt-entry-primary {
    background: var(--accent-grad) padding-box, var(--accent-border-grad) border-box;
    color: #fff;
    box-shadow: 0 4px 12px -2px rgba(8, 49, 180, .3);
}
body.wt-onboarding-page .btn-next:hover:not(:disabled),
body.wt-signin-page .wt-entry-primary:hover:not(:disabled) {
    background: linear-gradient(180deg, #3A66F2, #1A38B8) padding-box, var(--accent-border-grad) border-box;
}
body.wt-onboarding-page .wt-ob-previous {
    background: transparent;
    color: var(--wt-fg-2);
    font-weight: 500;
}
body.wt-onboarding-page :is(.btn-next, .wt-ob-previous, .wt-ob-link, .wt-ob-danger) .wt-ui-icon {
    width: 16px;
    height: 16px;
    stroke-width: 1.8;
}
body.wt-onboarding-page.wt-signup-page .wt-entry-primary .wt-ui-icon {
    width: 18px;
    height: 18px;
}
body.wt-onboarding-page .wt-ob-previous:hover {
    background: rgba(48, 48, 48, .05);
}
body.wt-onboarding-page :is(.wt-ob-link, .add-account-box) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    padding: 0 10px;
    gap: 6px;
    border: 1px solid transparent;
    border-radius: var(--wt-radius-md);
    background: transparent;
    color: var(--wt-fg-2);
    font: 500 13px/1 var(--wt-font);
    letter-spacing: .3px;
    cursor: pointer;
}
body.wt-onboarding-page .wt-ob-link {
    color: var(--accent-strong);
    font-weight: 600;
}
body.wt-onboarding-page .wt-ob-link:hover {
    background: var(--accent-soft);
}
body.wt-onboarding-page .add-account-box:hover {
    background: rgba(48, 48, 48, .05);
}
body.wt-onboarding-page .add-account-box .add-text {
    color: inherit;
    font: inherit;
}
body.wt-onboarding-page .add-account-box .wt-ui-icon {
    width: 16px;
    height: 16px;
    stroke-width: 1.8;
}
body.wt-onboarding-page .wt-ob-link .wt-ui-icon {
    width: 16px;
    height: 16px;
}
body.wt-onboarding-page .wt-ob-skip:hover {
    color: var(--accent-strong);
}
body.wt-onboarding-page :is(.btn-next, .wt-ob-previous, .wt-ob-skip, .wt-ob-link, .wt-ob-danger):disabled,
body.wt-signin-page .wt-entry-primary:disabled {
    opacity: .5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
body.wt-onboarding-page .wt-ob-skip {
    background: none;
    border: none;
    height: auto;
    padding: 6px 2px;
    color: var(--wt-fg-2);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 500;
}
body.wt-onboarding-page .wt-ob-danger {
    background: var(--wt-red-500);
    color: #fff;
    box-shadow: 0 4px 12px -2px rgba(255, 77, 94, .32);
}
body.wt-onboarding-page :is(.step2-card, .wt-ob-card, .wt-onboarding-aside),
body.wt-signin-page .wt-signin-card {
    background: var(--wt-grad-card) padding-box, var(--wt-grad-card-border) border-box;
    border: 1.5px solid transparent;
    border-radius: var(--wt-radius-xl);
    box-shadow: var(--wt-shadow-card);
    position: relative;
}
body.wt-onboarding-page .wt-ob-confirm[open] {
    width: 100%;
    max-width: 388px;
    background: linear-gradient(180deg, #F8F8F8, #fff);
    border: 1.5px solid #fff;
    border-radius: 20px;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .4);
    padding: 28px 26px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
body.wt-onboarding-page .wt-ob-confirm-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--wt-radius-lg);
    background: var(--wt-red-50);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
body.wt-onboarding-page .wt-ob-confirm h2 {
    font: 600 18px/1.25 var(--wt-font);
    letter-spacing: -.2px;
    color: var(--wt-fg-1);
}
body.wt-onboarding-page .wt-ob-confirm p {
    font: 400 14px/20px var(--wt-font);
    letter-spacing: .2px;
    color: var(--wt-fg-3);
    margin-top: 8px;
    max-width: 32ch;
    text-wrap: pretty;
}
body.wt-onboarding-page .wt-ob-confirm > div {
    display: flex;
    gap: 10px;
    margin-top: 24px;
    width: 100%;
}

/* ob-assets/ob.css */
body.wt-onboarding-page .wt-ob-heading h1 {
    font: 600 24px/30px var(--wt-font);
    letter-spacing: -.48px;
    color: var(--wt-fg-1);
}
body.wt-onboarding-page .wt-ob-heading p {
    font: 400 14px/20px var(--wt-font);
    letter-spacing: .2px;
    color: var(--wt-fg-3);
    margin-top: 3px;
}
body.wt-onboarding-page .wt-ob-goal {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-radius: var(--wt-radius-lg);
    border: 1.5px solid var(--wt-n-100);
    background: #fff;
    cursor: pointer;
    transition: border-color .15s, box-shadow .15s, background .15s;
    width: 100%;
    text-align: left;
}
body.wt-onboarding-page .wt-ob-goal:has(input:checked) {
    border-color: var(--accent);
    background: rgba(30, 80, 255, .05);
    box-shadow: 0 0 0 3px rgba(30, 80, 255, .08);
}
body.wt-onboarding-page .wt-ob-goal > span {
    font: 500 15px/20px var(--wt-font);
    color: var(--wt-fg-1);
    letter-spacing: .2px;
}
body.wt-onboarding-page .wt-ob-goal input:checked + span {
    font-weight: 600;
}
body.wt-onboarding-page .etrade-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: var(--wt-radius-lg);
    border: 1px solid var(--wt-n-100);
    background: #fff;
}
body.wt-onboarding-page .wt-ob-account-edit strong {
    font: 600 14px var(--wt-font);
    color: var(--wt-fg-1);
}
body.wt-onboarding-page .wt-ob-account-edit small {
    font: 400 13px var(--wt-font);
    color: var(--wt-fg-3);
    margin-top: 2px;
}
body.wt-onboarding-page .etrade-card > .balance-value {
    font: 700 16px var(--wt-font);
    letter-spacing: -.3px;
    color: var(--wt-fg-1);
    font-variant-numeric: tabular-nums;
}
body.wt-onboarding-page:is([data-onboarding-action="InvestmentAccount"], [data-onboarding-action="OtherAssets"]) .account-card {
    border: 1.5px solid var(--accent);
    border-radius: var(--wt-radius-lg);
    padding: 16px;
    background: linear-gradient(180deg, var(--accent-soft) 0%, rgba(255, 255, 255, .65) 78px);
    box-shadow: 0 0 0 3px var(--accent-ring);
}
body.wt-onboarding-page .wt-ob-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    padding: 24px 20px;
    border-radius: var(--wt-radius-lg);
    border: 1px dashed var(--wt-n-200);
    background: rgba(255, 255, 255, .5);
}
body.wt-onboarding-page .wt-ob-empty strong {
    font: 600 15px var(--wt-font);
    color: var(--wt-fg-1);
    margin-top: 8px;
}
body.wt-onboarding-page .wt-ob-empty p {
    font: 400 13px/19px var(--wt-font);
    color: var(--wt-fg-3);
    max-width: 42ch;
}
body.wt-onboarding-page .wt-ob-note {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    font: 400 13px/18px var(--wt-font);
    color: var(--accent-strong);
    background: var(--accent-soft);
    border-radius: var(--wt-radius-lg);
    padding: 10px 12px;
    margin-top: 2px;
}
body.wt-onboarding-page .wt-ob-note small {
    display: block;
    font: 500 11px/14px var(--wt-font);
    color: var(--accent-strong);
    opacity: .65;
    margin-top: 2px;
    letter-spacing: .3px;
}
body.wt-onboarding-page .wt-ob-review-grid a {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    gap: 0;
    border: 1px solid var(--wt-n-100);
    border-radius: var(--wt-radius-lg);
    background: rgba(48, 48, 48, .018);
    box-shadow: none;
    padding: 12px 14px;
    cursor: pointer;
    font-family: var(--wt-font);
    transition: border-color .14s, background .14s, transform .12s;
}
body.wt-onboarding-page .wt-ob-review-grid a > span {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 9px;
}
body.wt-onboarding-page .wt-ob-review-grid a b {
    display: flex;
    flex-shrink: 0;
    color: var(--wt-fg-4);
    transition: color .14s, transform .14s;
}
body.wt-onboarding-page .wt-ob-review-grid a strong {
    font: 600 16px/1.3 var(--wt-font);
    letter-spacing: -.2px;
    color: var(--wt-fg-1);
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
    text-wrap: pretty;
}
body.wt-onboarding-page .wt-ob-review-grid a small {
    font: 500 13px/17px var(--wt-font);
    letter-spacing: .2px;
    color: var(--wt-fg-3);
    margin-top: 4px;
    text-wrap: pretty;
}

/* si-assets/si.css */
body.wt-signin-page .wt-signin-card {
    width: 100%;
    max-width: 412px;
    padding: 28px;
    animation: loginFade .28s cubic-bezier(.2, .7, .2, 1);
}
body.wt-signin-page .wt-signin-card {
    animation: none;
}
body.wt-signin-page .wt-signin-card h1 {
    font: 700 28px/34px var(--wt-font);
    letter-spacing: -.56px;
    color: var(--wt-fg-1);
}
body.wt-signin-page .wt-signin-card > p {
    font: 400 14px/20px var(--wt-font);
    letter-spacing: .2px;
    color: var(--wt-fg-3);
    margin-top: 7px;
    text-wrap: pretty;
}
body.wt-signin-page .wt-entry-alt {
    font: 400 13px var(--wt-font);
    letter-spacing: .2px;
    color: var(--wt-fg-3);
    text-align: center;
    margin-top: 20px;
}
body.wt-signin-page .wt-auth-back {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    font: 500 13px var(--wt-font);
    letter-spacing: .2px;
    color: var(--wt-fg-3);
    padding: 2px 4px 2px 0;
    margin-bottom: 16px;
}
body.wt-signin-page .wt-auth-back .wt-ui-icon {
    width: 15px;
    height: 15px;
}
body.wt-signin-page .wt-auth-status-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--wt-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
body.wt-signin-page .wt-auth-success h1 {
    font: 700 24px/30px var(--wt-font);
    letter-spacing: -.48px;
    color: var(--wt-fg-1);
}
body.wt-signin-page .wt-auth-success > p {
    font: 400 14px/20px var(--wt-font);
    letter-spacing: .2px;
    color: var(--wt-fg-3);
    margin-top: 8px;
    max-width: 34ch;
    text-wrap: pretty;
}
body.wt-signin-page .wt-entry-secure {
    display: flex;
    align-items: center;
    gap: 7px;
    font: 400 12px var(--wt-font);
    letter-spacing: .3px;
    color: var(--wt-fg-4);
}
body:is(.wt-onboarding-page, .wt-signin-page, :has(.wt-account-page)) {

  
  --sp-radius-lg: 22px;     
  --sp-radius-panel: 16px;  
  --sp-radius-md: 10px;     
  --sp-radius-sm: 6px;      

  
  --sp-border: #DCDCDC;         
  --sp-border-subtle: #ECEDF0;  

  
  --sp-fg: #303030;         
  --sp-fg-muted: #717171;   
  --sp-fg-subtle: #B0B0B0;  

  
  --sp-brand: #2E5FFF;             
  --sp-surface-brand: #E0EFFF;     
  --sp-surface-neutral: #ECEDF0;   
  --sp-success: #008F35;
  --sp-success-bg: #D9F8DC;
  --sp-danger: #DC0055;
  --sp-danger-bg: #FFE2E6;
  
  --sp-warning: #8A6A17;
  --sp-warning-bg: #F4EEDC;

  
  --sp-page: 1262px;

  
  --sp-panel: #F6F6F6;
  --sp-card: linear-gradient(180deg, #FAFAFA 0%, #FFFFFF 100%);
  --sp-shadow-card: 0 2px 8px -3px rgba(0,0,0,.15);

}
body .wt-account-page .wt-account-card {
    background:var(--sp-card);
    border:1.5px solid #fff;
    border-radius:var(--sp-radius-lg);
    box-shadow:var(--sp-shadow-card);
}
body .wt-account-page .wt-account-card-heading {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    height:60px;
    padding:0 24px;
    border-bottom:1px solid var(--sp-border);
}
body .wt-account-page .wt-account-footer {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    padding:16px 24px;
    border-top:1px solid var(--sp-border);
    flex-wrap:wrap;
}
body .wt-account-page .wt-account-badge {
    display:inline-flex;
    align-items:center;
    gap:6px;
    height:20px;
    padding:0 6px;
    border-radius:var(--sp-radius-sm);
    font:400 11px/1.45 var(--wt-font);
    letter-spacing:.55px;
    white-space:nowrap;
    flex-shrink:0;
}
body .wt-account-page #accountPasswordTitle {
    font:600 18px/1.2 var(--wt-font);
    letter-spacing:-.36px;
    color:var(--sp-fg);
}
body .wt-account-page #accountPasswordDescription {
    font:400 13px/1.5 var(--wt-font);
    letter-spacing:.52px;
    color:var(--sp-fg-muted);
    margin-top:6px;
    max-width:62ch;
}
@media (max-width: 900px) {
    body .wt-account-page .wt-account-card-heading {
        height: auto;
        padding: 16px 18px;
    }
    body .wt-account-page .wt-account-footer {
        padding: 14px 18px;
    }
}
body .wt-account-page .wt-account-security-icon {
    width:36px;
    height:36px;
    border-radius:var(--sp-radius-md);
    flex-shrink:0;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(46,95,255,.07);
    color:var(--sp-brand);
}
body .wt-account-page .wt-account-security-copy > strong {
    display:flex;
    align-items:center;
    gap:7px;
    font:600 14px/1.3 var(--wt-font);
    letter-spacing:.28px;
    color:var(--sp-fg);
}
body .wt-account-page .wt-account-security-copy > small {
    font:400 13px/1.5 var(--wt-font);
    letter-spacing:.52px;
    color:var(--sp-fg-muted);
    margin-top:4px;
    max-width:64ch;
    text-wrap:pretty;
}
body .wt-account-page .wt-account-help {
    width:14px;
    height:14px;
    color:var(--sp-fg-subtle);
    cursor:help;
}
body .wt-account-page .wt-password-toggle {
    position:absolute;
    right:6px;
    top:50%;
    transform:translateY(-50%);
    width:28px;
    height:28px;
    border:0;
    border-radius:var(--sp-radius-md);
    background:transparent;
    color:var(--sp-fg-subtle);
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0;
    cursor:pointer;
}
body .wt-account-page .wt-password-toggle:hover {
    background: rgba(48, 48, 48, .05);
    color: #303030;
}
body .wt-account-page .wt-password-toggle .wt-ui-icon {
    width: 15px;
    height: 15px;
}
body .wt-account-page #message {
    display:flex;
    flex-wrap:wrap;
    gap:7px 18px;
    margin-top:18px;
}
body .wt-account-page #message p {
    display:flex;
    align-items:center;
    gap:8px;
    font:400 12px/1.3 var(--wt-font);
    letter-spacing:.48px;
    color:var(--sp-fg-muted);
}

/* Prototype side-panel components, with their original class names. */
body.wt-onboarding-page .lp-spot {
    padding: 24px;
    display: flex;
    flex-direction: column;
}
body.wt-onboarding-page .lp-spot-ico {
    width: 42px;
    height: 42px;
    border-radius: var(--wt-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    color: var(--accent-strong);
    margin-bottom: 16px;
}
body.wt-onboarding-page .lp-spot-why {
    font: 500 14px/21px var(--wt-font);
    color: var(--wt-fg-2);
    letter-spacing: .2px;
    margin-bottom: 14px;
    text-wrap: pretty;
}
body.wt-onboarding-page .lp-spot-stat {
    font: 400 16px/24px var(--wt-font);
    color: var(--wt-fg-1);
    letter-spacing: -.1px;
    text-wrap: pretty;
}
body.wt-onboarding-page .lp-spot-title {
    font: 600 18px/24px var(--wt-font);
    color: var(--wt-fg-1);
    letter-spacing: -.2px;
    margin-bottom: 8px;
    text-wrap: pretty;
}
body.wt-onboarding-page .lp-spot-stat b {
    font-weight: 600;
    color: var(--accent-strong);
}
body.wt-onboarding-page .lp-spot-src {
    font: 500 12px/16px var(--wt-font);
    color: var(--wt-fg-4);
    letter-spacing: .3px;
    margin-top: 13px;
}
body.wt-onboarding-page .lp-spot-divider {
    height: 1px;
    background: var(--wt-divider-2);
    margin: 20px 0 18px;
}
body.wt-onboarding-page .lp-est {
    padding: 24px;
    display: flex;
    flex-direction: column;
}
body.wt-onboarding-page .lp-est-hero {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
body.wt-onboarding-page .lp-est-hero-txt {
    padding-top: 1px;
}
body.wt-onboarding-page .lp-est-title {
    font: 600 18px/24px var(--wt-font);
    letter-spacing: -.2px;
    color: var(--wt-fg-1);
    margin: 0 0 6px;
    text-wrap: pretty;
}
body.wt-onboarding-page .lp-est-body {
    font: 400 14px/21px var(--wt-font);
    letter-spacing: .2px;
    color: var(--wt-fg-2);
    margin: 0;
    text-wrap: pretty;
}
body.wt-onboarding-page .lp-est-rule {
    height: 1px;
    background: var(--wt-divider-2);
    margin: 20px 0 18px;
}
body.wt-onboarding-page .lp-est-point {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
body.wt-onboarding-page .lp-est-point p {
    font: 400 14px/21px var(--wt-font);
    letter-spacing: .2px;
    color: var(--wt-fg-2);
    margin: 0;
    text-wrap: pretty;
}
body.wt-onboarding-page .lp-est-check {
    color: var(--wt-green-500);
    flex-shrink: 0;
    display: flex;
    padding-top: 2px;
}
body.wt-onboarding-page .lp-est-callout {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 20px;
    padding: 14px 16px;
    border-radius: var(--wt-radius-lg);
    background: var(--wt-green-50);
}
body.wt-onboarding-page .lp-est-callout-ico {
    color: var(--wt-green-600);
    flex-shrink: 0;
    display: flex;
    padding-top: 1px;
}
body.wt-onboarding-page .lp-est-callout-title {
    font: 600 13px/18px var(--wt-font);
    letter-spacing: .2px;
    color: var(--wt-green-600);
    margin-bottom: 2px;
}
body.wt-onboarding-page .lp-est-callout-body {
    font: 400 13px/19px var(--wt-font);
    letter-spacing: .2px;
    color: var(--wt-fg-2);
    margin: 0;
    text-wrap: pretty;
}

/* MVC-only binding adapters. Component geometry above remains source-owned. */
body.wt-onboarding-page, body.wt-signin-page {
    color: var(--wt-fg-1);
    font-family: var(--wt-font);
}
body.wt-onboarding-page {
    padding: 0 0 64px !important;
    background: var(--wt-n-50) !important;
}
body.wt-onboarding-page .wt-onboarding-aside {
    position: sticky;
    top: 18px;
}
body.wt-onboarding-page[data-onboarding-action="SocialSecurityAndPension"] .account-card {
    padding: 16px;
    border: 1px solid var(--wt-n-200);
    border-radius: var(--wt-radius-lg);
    background: rgba(255, 255, 255, .6);
    box-shadow: none;
}
body.wt-onboarding-page .wt-ob-empty .wt-ob-icon {
    width: 46px;
    height: 46px;
}
body.wt-onboarding-page .wt-ui-icon {
    flex-shrink: 0;
    display: block;
}
body.wt-onboarding-page .wt-ob-note > .wt-ui-icon {
    width: 14px;
    height: 14px;
    margin-top: 2px;
}
body.wt-onboarding-page .wt-ob-heading {
    gap: 15px;
}
body.wt-onboarding-page .wt-ob-heading h1 {
    margin: 0;
}
body.wt-onboarding-page .wt-ob-group-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    font: 600 14px/18px var(--wt-font);
    color: var(--wt-fg-1);
}
body.wt-onboarding-page .wt-ob-group-title svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
}
body.wt-onboarding-page .toggle-row .wt-ob-group-title {
    margin: 0;
}
body.wt-onboarding-page .wt-ob-heading p {
    margin-top: 3px;
}
body.wt-onboarding-page .wt-ob-icon {
    background: var(--accent-soft);
    color: var(--accent-strong);
}
body.wt-onboarding-page .wt-onboarding-aside h2 {
    margin: 0 0 10px;
    font: 600 13px/16px var(--wt-font);
    letter-spacing: .65px;
}
body.wt-onboarding-page .wt-onboarding-aside .lp-spot-stat {
    margin: 0;
}
body.wt-onboarding-page .wt-onboarding-aside .lp-spot-stat strong {
    color: var(--accent-strong);
    font-weight: 600;
}
body.wt-onboarding-page .wt-onboarding-aside[data-aside-step="3"] > h2 {
    font: 600 18px/24px var(--wt-font);
    letter-spacing: -.2px;
}
body.wt-onboarding-page .lp-est-point {
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid var(--wt-divider-2);
}
body.wt-onboarding-page .lp-est-callout strong {
    display: block;
    color: var(--wt-green-600);
}
body.wt-onboarding-page .wt-ob-switch:checked {
    background: var(--accent);
}
body.wt-onboarding-page .wt-ob-toggle:has(input:checked) {
    border-color: var(--accent);
    background: rgba(30, 80, 255, .05);
}
body.wt-onboarding-page .wt-ob-goal input {
    appearance: none;
    border: 2px solid var(--wt-n-200);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    margin: 0;
    padding: 0;
    min-width: 20px;
    flex: 0 0 20px;
    display: grid;
    place-content: center;
}
body.wt-onboarding-page .wt-ob-goal input:checked {
    border-color: var(--accent);
}
body.wt-onboarding-page .wt-ob-goal input:checked::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
}
body.wt-onboarding-page .wt-ob-review-grid a {
    text-decoration: none;
}
body.wt-onboarding-page .wt-ob-review-grid a b svg {
    width: 14px;
    height: 14px;
}
body.wt-onboarding-page .wt-ob-confirm > div > button {
    flex: 1;
    height: 36px;
}
body.wt-onboarding-page .wt-ob-confirm::backdrop {
    background: rgba(48, 48, 48, .42);
}
body.wt-onboarding-page .btn-next .wt-ui-icon,
body.wt-onboarding-page .wt-ob-previous .wt-ui-icon {
    width: 16px;
    height: 16px;
}
body.wt-onboarding-page .wt-onboarding-top {
    gap: 18px;
    padding: 22px 2px 26px;
}
body.wt-signup-page .wt-onboarding-top {
    padding: 26px 0;
}
body.wt-onboarding-page .wt-onboarding-workspace {
    margin-top: 0;
}
body.wt-onboarding-page .wt-onboarding-user {
    max-width: 207px;
    flex-shrink: 0;
}
body.wt-onboarding-page .wt-onboarding-user span:last-child {
    max-width: 170px;
}
body.wt-onboarding-page .wt-onboarding-compact-progress {
    display: none;
    width: calc(100% - 48px);
    max-width: 560px;
    margin: 0 auto 18px;
    font: 600 12px var(--wt-font);
    color: var(--wt-fg-2);
}
body.wt-onboarding-page .wt-onboarding-compact-progress > div {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}
body.wt-onboarding-page .wt-onboarding-compact-progress progress {
    display: block;
    appearance: none;
    border: 0;
    width: 100%;
    height: 6px;
    border-radius: 999px;
    overflow: hidden;
}
body.wt-onboarding-page .wt-onboarding-compact-progress progress::-webkit-progress-bar {
    background: var(--wt-n-100);
}
body.wt-onboarding-page .wt-onboarding-compact-progress progress::-webkit-progress-value {
    background: var(--accent-grad);
    border-radius: 999px;
}
@media (max-width: 1120px) {
    body.wt-onboarding-page .wt-onboarding-workspace {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        max-width: 660px;
    }
    body.wt-onboarding-page .wt-onboarding-aside {
        display: block;
        position: static;
        order: 2;
    }
}
@media (max-width: 1040px) {
    body.wt-onboarding-page .wt-onboarding-steps li {
        font-size: 11px;
    }
}
@media (max-width: 960px) {
    body.wt-onboarding-page .wt-onboarding-steps {
        display: none;
    }
    body.wt-onboarding-page .wt-onboarding-compact-progress {
        display: block;
    }
    body.wt-onboarding-page .wt-ob-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 640px) {
    body.wt-onboarding-page {
        padding-bottom: 104px !important;
    }
    body.wt-onboarding-page .wt-ob-support {
        position: fixed;
        left: 16px;
        right: 16px;
        bottom: 22px;
        width: auto;
        margin: 0;
        justify-content: space-between;
    }
}
body.wt-onboarding-page .wt-onboarding-steps {
    max-width: 820px;
    margin: 0;
}
body.wt-onboarding-page .wt-onboarding-steps li {
    gap: 9px;
    padding-top: 2px;
    font: 500 12px/15px var(--wt-font);
    letter-spacing: .2px;
}
body.wt-onboarding-page .wt-onboarding-steps li > a {
    gap: 9px;
}
body.wt-onboarding-page .wt-step-icon {
    z-index: 1;
}
body.wt-onboarding-page .wt-onboarding-steps li::before {
    height: 3px;
    top: 14px;
}
body.wt-onboarding-page .wt-onboarding-steps li.is-current::before {
    background: var(--wt-green-500);
}
body.wt-onboarding-page .wt-onboarding-steps .is-current .wt-step-icon {
    background: var(--accent-strong);
    border-color: var(--accent-strong);
    box-shadow: 0 0 0 4px var(--accent-soft);
}
body.wt-onboarding-page .wt-onboarding-steps .is-complete .wt-step-icon,
body.wt-onboarding-page .wt-onboarding-steps .is-complete::before {
    background: var(--wt-green-500);
    border-color: var(--wt-green-500);
}
body.wt-onboarding-page .wt-step-icon svg {
    width: 15px;
    height: 15px;
}
body .wt-account-page .wt-ui-icon {
    stroke-width: 2;
}
body:has(.wt-account-page),
body .fd-dashboard.wt-account-page {
    background: #F6F6F6;
}
body .wt-account-page .sp-text-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
body .wt-account-page .co-hint .wt-ui-icon {
    width: 14px;
    height: 14px;
}
body .wt-account-page .wt-account-footer {
    border-radius: 0;
}
body .wt-account-page .fd-header h1 {
    font: 700 30px/1.1 var(--wt-font);
    letter-spacing: -.6px;
}
body .wt-account-page .wt-account-field input {
    letter-spacing: .3px;
}
body #accountPasswordModal.wt-account-page .modal-dialog {
    margin: 48px auto 40px;
    min-height: 0;
    align-items: flex-start;
    max-width: 452px;
}

/* ci-assets/styles.css header controls; confined to the account shell. */
body .wt-account-page .wt-page-header {
    --wt-header-font: var(--wt-font);
}

body .wt-account-page .wt-page-header .wt-header-actions .wt-header-pill {
    color: rgba(48, 48, 48, .8);
    letter-spacing: normal;
}

body .wt-account-page .wt-page-header .wt-header-actions .wt-header-user {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 2;
}

body .wt-account-page .wt-page-header .wt-header-actions .wt-header-caret {
    stroke: currentColor;
    opacity: .5;
}

body .wt-account-page .wt-page-header .wt-header-actions .wt-header-notifications {
    width: 36px;
    color: rgba(48, 48, 48, .6);
}

body .wt-account-page .wt-page-header .wt-header-actions .wt-header-bell {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
}

body .wt-account-page .wt-page-header #wtHeaderHelp {
    display: none;
}

.wt-account-password .wt-account-modal-close {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #717171;
}

.wt-account-password .wt-account-modal-close:hover {
    background: #ecedf0;
    color: #303030;
}

.wt-account-password .wt-account-modal-close .wt-ui-icon {
    width: 17px;
    height: 17px;
}
body:has(#accountPasswordModal.show) .modal-backdrop {
    background: rgb(48, 48, 48);
    opacity: .42;
}
body.wt-signin-page .wt-signin-card input[type=password],
body.wt-signin-page .wt-signin-card .wt-entry-password input {
    padding-right: 44px;
}
body.wt-onboarding-page .wt-ob-currency {
    display: block;
    position: relative;
}
body.wt-onboarding-page .wt-ob-currency > span[aria-hidden="true"] {
    position: absolute;
    top: 20px;
    left: 12px;
    transform: translateY(-50%);
    color: var(--wt-fg-3);
    pointer-events: none;
}
body.wt-onboarding-page .wt-ob-currency input {
    padding-left: 25px !important;
}
body.wt-onboarding-page [data-age-for],
body.wt-onboarding-page [data-retirement-age-for] {
    color: var(--accent);
    font-weight: 600;
}
body.wt-onboarding-page .wt-ob-field-help {
    display: inline-flex;
    vertical-align: middle;
    color: var(--wt-fg-4);
}
body.wt-onboarding-page .wt-ob-field-help svg {
    width: 14px;
    height: 14px;
}
body.wt-onboarding-page input[type=date]::-webkit-calendar-picker-indicator {
    opacity: .4;
}
@media (max-width: 1040px) {
    body.wt-onboarding-page .wt-onboarding-steps li {
        font-size: 11px;
    }
}
body.wt-onboarding-page .wt-ob-partner-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0 16px;
    padding-top: 20px;
    border-top: 1px solid var(--wt-divider-1);
    font: 500 12px var(--wt-font);
    text-transform: uppercase;
    color: var(--wt-fg-3);
}
body.wt-onboarding-page .wt-ob-partner-heading .wt-ob-icon {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
}
body.wt-onboarding-page .wt-ob-partner-heading svg {
    width: 16px;
    height: 16px;
}
body.wt-onboarding-page .add-account-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
body.wt-onboarding-page .add-account-fields > .field {
    margin: 0 !important;
}
body.wt-onboarding-page .add-account-fields > .field:has(input[name$="AccountName"]),
body.wt-onboarding-page .add-account-fields > .field:has(select[name$="AccountOwner"]) {
    grid-column: 1 / -1;
}
body.wt-onboarding-page .add-account-fields .form-label.text-danger:empty {
    display: none;
}
body.wt-onboarding-page .add-account-fields .small-font {
    margin-top: 6px;
    font: 400 12px/18px var(--wt-font);
    color: var(--wt-fg-3);
}
body.wt-onboarding-page .add-account .popup-heading {
    gap: 7px;
}
body.wt-onboarding-page .add-account .popup-heading h2 {
    font: 600 14px var(--wt-font);
}
body.wt-onboarding-page .add-account .popup-heading svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
}
body.wt-onboarding-page .wt-ob-editor-close,
body.wt-onboarding-page #closeFormBtn {
    display: inline-flex;
    padding: 6px;
    margin: -6px -6px -6px 0;
    border: 0;
    border-radius: var(--wt-radius-sm);
    background: transparent;
    color: var(--wt-fg-3);
    cursor: pointer;
}
body.wt-onboarding-page .wt-ob-editor-close:hover,
body.wt-onboarding-page #closeFormBtn:hover {
    background: rgba(48, 48, 48, .06);
}
body.wt-onboarding-page .wt-ob-editor-close svg,
body.wt-onboarding-page #closeFormBtn svg {
    width: 17px;
    height: 17px;
}
@media (max-width: 960px) {
    body.wt-onboarding-page .add-account-fields {
        grid-template-columns: 1fr;
    }
}
body.wt-onboarding-page[data-onboarding-action="SocialSecurityAndPension"] .account-card > .toggle-row:has(.wt-ob-group-title) {
    padding: 0;
    border: 0;
    background: transparent;
    margin: 0 0 12px;
    min-height: 26px;
}
body.wt-onboarding-page[data-onboarding-action="SocialSecurityAndPension"] .toggle-row:has(.estimateForSocialSecurity) {
    gap: 7px;
}
body.wt-onboarding-page[data-onboarding-action="SocialSecurityAndPension"] .toggle-row:has(.estimateForSocialSecurity) > h6 {
    width: auto !important;
    flex: 0 1 auto;
}
body.wt-onboarding-page[data-onboarding-action="SocialSecurityAndPension"] .toggle-row:has(.estimateForSocialSecurity) > .switch {
    order: 3;
    margin-left: auto;
}
body.wt-onboarding-page[data-onboarding-action="SocialSecurityAndPension"] .form-field-tooltip svg {
    width: 14px;
    height: 14px;
    color: var(--wt-fg-4);
}
body.wt-onboarding-page[data-onboarding-action="SocialSecurityAndPension"] .blspaces > span {
    display: none;
}
body.wt-onboarding-page[data-onboarding-action="SocialSecurityAndPension"] .account-card .select-wrap {
    max-width: calc(50% - 8px);
}
@media (max-width: 960px) {
    body.wt-onboarding-page[data-onboarding-action="SocialSecurityAndPension"] .account-card .select-wrap {
        max-width: none;
    }
}
body.wt-onboarding-page .account-card-header .wt-ob-group-title,
body.wt-onboarding-page .account-card-header .wt-ob-group-title h4 {
    margin: 0;
    font: 600 14px var(--wt-font);
}
body.wt-onboarding-page .account-card-footer,
body.wt-onboarding-page .add-account-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
}
body.wt-onboarding-page .account-card-footer .btn-prev,
body.wt-onboarding-page .add-account-footer .cancel-button {
    height: 36px;
    border: 1px solid transparent;
    border-radius: var(--wt-radius-md);
    background: transparent;
    box-shadow: none;
    padding: 0 13px;
    color: var(--wt-fg-2);
    font: 500 13px/1 var(--wt-font);
    letter-spacing: .3px;
}
body.wt-onboarding-page .account-card-footer .btn-prev:hover,
body.wt-onboarding-page .add-account-footer .cancel-button:hover {
    background: rgba(48, 48, 48, .05);
}
body.wt-onboarding-page .account-card-footer .btn-next,
body.wt-onboarding-page .add-account-footer .btn-next {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 18px;
    background: linear-gradient(180deg, #4b70ff, #193bdd);
    border: 1px solid #4263ff;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 3px 8px rgba(30, 64, 220, .22);
}
body.wt-onboarding-page .account-card-footer .btn-next:hover:not(:disabled),
body.wt-onboarding-page .add-account-footer .btn-next:hover:not(:disabled) {
    background: linear-gradient(180deg, #3b60ef, #1430bd);
}
body.wt-onboarding-page .account-card-footer .btn-next svg {
    width: 16px;
    height: 16px;
}
body.wt-onboarding-page .mortgage-toggle-card:has(input:checked) {
    border-color: var(--accent);
    background: rgba(30, 80, 255, .05);
}
body.wt-onboarding-page .mortgage-form-card .mf-header h4 {
    font: 600 14px var(--wt-font);
    margin-bottom: 12px;
}
body.wt-onboarding-page .mortgage-form-card .wt-ob-grid > .field,
body.wt-onboarding-page .mortgage-form-card .wt-ob-grid .form-field-main {
    min-width: 0;
    margin-top: 0 !important;
}
body.wt-onboarding-page .mortgage-form-card .form-label {
    display: block;
    margin-bottom: 6px;
}
body.wt-onboarding-page .mortgage-form-card .wt-ob-grid {
    margin-bottom: 16px;
}
body.wt-onboarding-page .wt-onboarding-standalone {
    margin-top: 0;
    width: calc(100% - 48px);
}
body.wt-onboarding-page .wt-ob-icon.is-green {
    color: var(--wt-green-600);
    background: rgba(51, 178, 106, .1);
}
body.wt-onboarding-page .wt-ob-icon.is-neutral {
    color: var(--wt-fg-2);
    background: rgba(48, 48, 48, .05);
}
body.wt-onboarding-page:has(.wt-ob-done) {
    padding: 0 !important;
}
body.wt-onboarding-page .wt-ob-done-check svg {
    stroke-width: 2.4;
}
body.wt-onboarding-page .wt-ob-done-body {
    letter-spacing: .3px;
    text-wrap: pretty;
}
body.wt-onboarding-page .wt-ob-done-card strong {
    font: 600 14px/19px var(--wt-font);
    letter-spacing: .2px;
}
body.wt-onboarding-page .wt-ob-done-card .wt-ob-icon {
    width: 40px;
    height: 40px;
}
body.wt-onboarding-page .wt-ob-done-card .wt-ob-icon svg {
    width: 19px;
    height: 19px;
}
@media (max-width: 1120px) {
    body.wt-onboarding-page[data-onboarding-action="Completed"] .wt-onboarding-standalone {
        max-width: 660px;
    }
}
@media (max-width: 560px) {
    body.wt-onboarding-page .wt-ob-review-grid {
        grid-template-columns: 1fr;
    }
}

body.wt-onboarding-page :is(input, select, textarea).input-validation-error,
body.wt-onboarding-page :is(input, select, textarea)[aria-invalid="true"] {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, .12);
}
body.wt-onboarding-page .field-validation-error {
    display: block;
    color: #c52d39;
    font-size: 12px;
    margin-top: 5px;
}

body.wt-onboarding-page .lp-value { font: 700 28px/1.1 var(--wt-font); letter-spacing: -.56px; color: var(--wt-fg-1); margin-top: 10px; font-variant-numeric: tabular-nums; }
body.wt-onboarding-page .lp-value-sub { font: 500 13px/17px var(--wt-font); color: var(--wt-fg-3); letter-spacing: .2px; margin-top: 3px; }
body.wt-onboarding-page .lp-stats { display: flex; gap: 14px; margin-top: 12px; }
body.wt-onboarding-page .lp-stat { flex: 1; min-width: 0; }
body.wt-onboarding-page .lp-stat + .lp-stat { padding-left: 14px; border-left: 1px solid var(--wt-divider-3); }
body.wt-onboarding-page .lp-stat-val { font: 700 24px/1.1 var(--wt-font); letter-spacing: -.48px; color: var(--wt-fg-1); font-variant-numeric: tabular-nums; }
body.wt-onboarding-page .lp-stat-label { font: 500 12px/16px var(--wt-font); color: var(--wt-fg-3); letter-spacing: .2px; margin-top: 4px; text-wrap: pretty; }
body.wt-onboarding-page .lp-chart { margin: 16px 0 4px; }
body.wt-onboarding-page .lp-note { display: flex; gap: 8px; align-items: flex-start; font: 400 13px/18px var(--wt-font); color: var(--wt-fg-3); background: rgba(48, 48, 48, .04); border-radius: var(--wt-radius-lg); padding: 10px 12px; margin-top: 10px; }
body.wt-onboarding-page .lp-note svg { flex-shrink: 0; margin-top: 2px; }
body.wt-onboarding-page .lp-rows { display: flex; flex-direction: column; margin-top: 12px; }
body.wt-onboarding-page .lp-row { display: flex; align-items: center; gap: 9px; padding: 8px 0; border-bottom: 1px solid var(--wt-divider-2); }
body.wt-onboarding-page .lp-row:last-child { border-bottom: none; }
body.wt-onboarding-page .lp-row-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
body.wt-onboarding-page .lp-row-label { font: 500 13px var(--wt-font); color: var(--wt-fg-2); letter-spacing: .2px; flex: 1; }
body.wt-onboarding-page .lp-row-val { font: 600 13px var(--wt-font); color: var(--wt-fg-1); font-variant-numeric: tabular-nums; }
body.wt-onboarding-page .wt-onboarding-aside.has-projection > .lp-spot-ico,
body.wt-onboarding-page .wt-onboarding-aside.has-projection > .wt-eyebrow,
body.wt-onboarding-page .wt-onboarding-aside.has-projection > .lp-spot-stat,
body.wt-onboarding-page .wt-onboarding-aside.has-projection > .lp-spot-src { display: none; }
