.wt-onboarding-page { --ob-blue: #1a4beb; --ob-muted: #929292; color: #333; background: #f6f6f6; }
.wt-onboarding-page [hidden] { display: none !important; }
.wt-onboarding-top { width: min(1280px, calc(100% - 48px)); max-width: 1280px; margin: 0 auto; padding: 24px 0; gap: 40px; }
.wt-onboarding-steps { display: flex; flex: 1; justify-content: space-between; gap: 0; padding: 0; overflow: visible; }
.wt-onboarding-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 1; padding: 0; border: 0; background: transparent; font-size: 12px; color: #aaa; white-space: nowrap; }
.wt-onboarding-steps li::before { content: ''; position: absolute; top: 14px; left: -50%; width: 100%; height: 2px; background: #e4e4e4; }
.wt-onboarding-steps li:first-child::before { display: none; }
.wt-step-icon { position: relative; display: grid; place-items: center; width: 28px; height: 28px; border: 2px solid #ddd; border-radius: 50%; background: #fff; }
.wt-step-icon svg { width: 16px; height: 16px; }
.wt-onboarding-steps .is-current { color: #333; background: none; border: 0; }
.wt-onboarding-steps .is-current .wt-step-icon { color: white; background: var(--ob-blue); border-color: var(--ob-blue); box-shadow: 0 0 0 5px #e9ecfb; }
.wt-onboarding-steps .is-complete .wt-step-icon, .wt-onboarding-steps .is-complete::before { color: white; background: #2db46d; border-color: #2db46d; }
.wt-onboarding-user { display: flex; align-items: center; gap: 8px; max-width: 205px; color: #777; font-size: 13px; }
.wt-onboarding-user span:first-child { border-radius: 50%; background: #e9ecfb; padding: 6px 10px; color: var(--ob-blue); text-transform: uppercase; }
.wt-onboarding-user span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wt-onboarding-workspace { max-width: 1028px; grid-template-columns: 620px 384px; gap: 24px; align-items: start; }
.wt-onboarding-standalone { max-width: 620px; }
.wt-onboarding-page .step2-card, .wt-ob-card { padding: 28px; border: 1px solid #fff; border-radius: 24px; background: linear-gradient(#fafafa, #fff); box-shadow: 0 2px 4px #00000012; margin: 0; width: 100%; max-width: none; }
.wt-onboarding-page .step-label { display: none; }
.wt-ob-heading { display: flex; align-items: center; gap: 14px; border-bottom: 1px solid #e7e7e7; padding-bottom: 20px; margin-bottom: 20px; }
.wt-ob-heading h1 { font-size: 24px; line-height: 1.3; letter-spacing: -1px; margin: 0 0 4px; font-weight: 600; }
.wt-ob-heading p { font-size: 14px; line-height: 20px; color: var(--ob-muted); margin: 0; }
.wt-ob-icon { display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; border-radius: 12px; background: #eef0fc; color: #315dff; }
.wt-ob-icon svg { width: 22px; height: 22px; }
.wt-onboarding-aside { padding: 24px; border-radius: 24px; background: linear-gradient(#fafafa, #fff); border: 1px solid #fff; }
.wt-onboarding-aside h2 { margin: 16px 0 10px; font-size: 14px; font-weight: 500; }
.wt-onboarding-aside p { font-size: 16px; line-height: 24px; color: #333; margin: 0 0 14px; }
.wt-onboarding-aside small { font-size: 12px; color: #aaa; }
.wt-onboarding-aside strong { color: var(--ob-blue); font-weight: 500; }
.wt-onboarding-aside .wt-ob-aside-why { color: #777; font-size: 14px; line-height: 21px; }
.wt-ob-icon.is-green { color: #087e3c; background: #e7f4eb; }
.wt-ob-progress { margin-top: 20px; border-top: 1px solid #eee; padding-top: 18px; }
.wt-ob-progress > div { display: flex; justify-content: space-between; font-size: 12px; color: #777; }
.wt-ob-progress progress { display: block; appearance: none; width: 100%; height: 6px; margin: 6px 0; border: 0; border-radius: 10px; overflow: hidden; }
.wt-ob-progress progress::-webkit-progress-bar { background: #e6e6e6; }
.wt-ob-progress progress::-webkit-progress-value { background: linear-gradient(#526eff, #203de2); border-radius: 10px; }
.wt-ob-progress progress::-moz-progress-bar { background: #315dff; }
.wt-ob-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.wt-onboarding-page .field { display: block; margin-bottom: 16px; }
.wt-onboarding-page .field > .label { display: block; font-size: 12px; line-height: 18px; margin: 0 0 4px; color: #777; }
.wt-onboarding-page .field input:not([type=checkbox]), .wt-onboarding-page .field select { height: 38px; padding: 8px 12px; border: 1px solid #ddd; border-radius: 12px; font-size: 14px; background: #fff; color: #333; width: 100%; }
.wt-onboarding-page .hint { display: block; margin-top: 6px; font-size: 12px; line-height: 18px; color: #999; }
.wt-ob-toggle { display: flex; align-items: center; justify-content: space-between; gap: 24px; border: 1px solid #e5e5e5; border-radius: 12px; padding: 16px; margin-bottom: 16px; }
.wt-ob-toggle strong { font-size: 14px; font-weight: 500; }
.wt-ob-toggle small { display: block; color: #999; font-size: 12px; line-height: 16px; margin-top: 4px; }
.wt-ob-switch { appearance: none; flex: 0 0 44px; width: 44px; height: 26px; border: 0; border-radius: 20px; background: #ddd; position: relative; cursor: pointer; }
.wt-ob-switch::after { content: ''; position: absolute; width: 20px; height: 20px; border-radius: 50%; background: #fff; left: 3px; top: 3px; box-shadow: 0 1px 3px #0003; transition: transform .15s; }
.wt-ob-switch:checked { background: #345bff; }
.wt-ob-switch:checked::after { transform: translateX(18px); }
.wt-ob-note { padding: 12px 14px; border-radius: 12px; background: #f0f2ff; color: #315dff; font-size: 13px; line-height: 18px; margin: 16px 0; }
.wt-ob-note small { display: block; font-size: 11px; }
.wt-ob-note.is-green { background: #dcf5e7; color: #076e33; }
.wt-ob-actions { display: flex; align-items: center; gap: 20px; margin-top: 24px; }
.wt-ob-actions .wt-ob-previous { margin-right: auto; }
.wt-ob-actions button, .wt-ob-actions a { font-size: 14px; }
.wt-ob-previous, .wt-ob-skip { padding: 8px 0; color: #777; background: none; border: 0; text-decoration: none; }
.wt-ob-skip { text-decoration: underline; }
.wt-onboarding-page .btn-next { width: auto; min-height: 36px; padding: 8px 16px; font-size: 14px; border-radius: 10px; }
.wt-ob-goals { display: grid; gap: 16px; }
.wt-ob-goal { display: flex; align-items: center; gap: 14px; position: relative; min-height: 56px; padding: 16px; border: 1px solid #e4e4e4; border-radius: 12px; background: #fff; font-size: 16px; cursor: pointer; }
.wt-ob-goal:has(input:checked) { border-color: #315dff; background: #f1f3ff; box-shadow: 0 0 0 3px #eef0ff; }
.wt-ob-goal input { width: 20px; height: 20px; flex-shrink: 0; accent-color: #315dff; }
.wt-ob-goal input:checked + span { font-weight: 500; }
.wt-ob-goal button { padding: 0; border: 0; background: none; color: #aaa; margin-left: auto; }
.wt-ob-goal button svg { width: 14px; height: 14px; }
.wt-password-rules:not([hidden]) { display: grid !important; grid-template-columns: 1fr 1fr; gap: 4px 16px; margin: 12px 0 16px; padding: 0; }
.wt-password-rules p { display: flex; align-items: center; gap: 7px; padding: 0; margin: 0; font-size: 13px; line-height: 18px; color: #999; }
.wt-password-rules p::before { content: ''; width: 16px; height: 16px; border-radius: 50%; background: #e9eaec; flex-shrink: 0; }
.wt-password-rules p.valid { color: #076e33; }
.wt-password-rules p.valid::before { content: '✓'; text-align: center; background: #dcf5e7; }
.wt-signup-two-factor { margin: 16px 0; }
.wt-onboarding-page .validation-summary-valid { display: none; }
.wt-onboarding-page .validation-summary-errors { padding: 12px; background: #fff0f0; border-radius: 10px; margin-bottom: 16px; }
.wt-ob-support { position: fixed; bottom: 20px; right: 24px; display: flex; align-items: center; gap: 12px; padding: 8px 10px 8px 16px; border-radius: 30px; background: #fff; box-shadow: 0 3px 12px #0002; font-size: 14px; color: #777; z-index: 10; }
.wt-onboarding-page .floating-help { display: none; }
@media (max-width: 1150px) {
    .wt-onboarding-top { gap: 20px; }
    .wt-onboarding-user { max-width: 150px; }
    .wt-onboarding-workspace { grid-template-columns: minmax(0, 620px) minmax(260px, 384px); }
}
@media (max-width: 850px) {
    .wt-onboarding-top { flex-wrap: wrap; }
    .wt-onboarding-steps { order: 3; flex-basis: 100%; overflow-x: auto; padding: 5px 0; }
    .wt-onboarding-steps li { min-width: 70px; }
    .wt-onboarding-user { margin-left: auto; }
    .wt-onboarding-workspace { display: block; max-width: 620px; }
    .wt-onboarding-aside { display: none; }
}
@media (max-width: 480px) {
    .wt-ob-grid { grid-template-columns: 1fr; }
    .wt-onboarding-page .step2-card, .wt-ob-card { padding: 20px; }
    .wt-ob-heading h1 { font-size: 22px; }
    .wt-ob-support { position: static; width: max-content; margin: 24px auto 0; }
}
.wt-ob-section { border-top: 1px solid #e7e7e7; padding-top: 20px; margin-top: 20px; }
.wt-ob-section h2 { margin: 0 0 4px; font-size: 14px; font-weight: 500; color: #999; }
.wt-ob-section > p { color: #999; font-size: 14px; line-height: 20px; margin: 0 0 16px; }
.wt-ob-switch:focus-visible, .wt-ob-goal input:focus-visible { outline: 3px solid #b9c5ff; outline-offset: 3px; }
.wt-onboarding-page .mt-5 { margin-top: 16px !important; }
.wt-onboarding-page .account-card, .wt-onboarding-page .mortgage-form-card { padding: 16px; border: 1px solid #e4e4e4; border-radius: 12px; background: transparent; margin-bottom: 16px; }
.wt-onboarding-page .account-card .popup-header { padding: 0 0 16px; }
.wt-onboarding-page .popup-heading h2 { font-size: 16px; margin: 0; }
.wt-onboarding-page .form-label, .wt-onboarding-page label.field:not(:has(input)) { color: #777; font-size: 12px; margin-bottom: 4px; }
.wt-ob-empty { display: flex; flex-direction: column; align-items: center; text-align: center; border: 1px dashed #ddd; border-radius: 12px; padding: 24px; margin-bottom: 16px; }
.wt-ob-empty .wt-ob-icon { margin-bottom: 12px; }
.wt-ob-empty strong { font-size: 16px; font-weight: 500; }
.wt-ob-empty p { color: #999; font-size: 14px; line-height: 20px; max-width: 350px; margin: 4px 0 0; }
.wt-onboarding-page .add-account-box, .wt-ob-link { display: inline-flex; align-items: center; justify-content: flex-start; gap: 8px; width: auto; border: 0; background: transparent; padding: 8px 12px; margin: 0 0 16px !important; font-size: 14px; font-weight: 400; box-shadow: none; color: #777; }
.wt-onboarding-page .add-account-box .add-text { color: #777; font-weight: 400; }
.wt-ob-link { color: #1a4beb; }
.wt-onboarding-page .total-box, .wt-onboarding-page .total-summary { display: flex; justify-content: space-between; align-items: flex-start !important; background: none !important; border: 0 !important; border-top: 1px solid #e7e7e7 !important; padding: 20px 0 0 !important; margin-top: 20px !important; color: #999; font-size: 12px; }
.wt-onboarding-page .total-box { flex-direction: column; gap: 4px; }
.wt-onboarding-page .total-row { display: flex; flex-direction: column; gap: 4px; }
.wt-onboarding-page .total-box strong, .wt-onboarding-page .total-row strong { color: #1a4beb !important; font-size: 20px !important; font-weight: 500; }
.wt-onboarding-page .total-row:last-child { text-align: right; }
.wt-onboarding-page .btn-row { margin-top: 24px; gap: 20px; }
.wt-onboarding-page .btn-row .btn-text, .wt-onboarding-page .wt-ob-skip { margin-left: 0 !important; }
.wt-onboarding-page .btn-row .wt-ob-previous { margin-right: auto; }
.wt-onboarding-page .toggle-row, .wt-onboarding-page .mortgage-toggle-card { background: #fff; border: 1px solid #e5e5e5; border-radius: 12px; padding: 16px; margin: 16px 0; gap: 16px; }
.wt-onboarding-page .toggle-row h6, .wt-onboarding-page .mortgage-toggle-card h6 { font-size: 14px; margin: 0; font-weight: 500; }
.wt-onboarding-page .mortgage-toggle-text p { color: #999; font-size: 12px; line-height: 16px; margin: 4px 0 0; }
.wt-onboarding-page .back-common-spacing { padding: 0; }
.wt-onboarding-page .common-background-part { background: transparent; }
.wt-onboarding-page .switch input { display: block !important; position: absolute; opacity: 0; width: 100%; height: 100%; z-index: 1; cursor: pointer; }
.wt-onboarding-page .switch:has(input:focus-visible) { outline: 3px solid #b9c5ff; outline-offset: 3px; border-radius: 20px; }
.wt-onboarding-page .tabs-nav { gap: 6px; margin-bottom: 16px; }
.wt-onboarding-page .tabs-nav .tab-nav-link { border-radius: 10px !important; background: #f4f4f4; font-size: 14px; }
.wt-onboarding-page .modal-content { border: 1px solid #fff; border-radius: 24px; overflow: hidden; }
.wt-onboarding-page .modal-title { font-size: 20px; }
.wt-onboarding-page .modal-header, .wt-onboarding-page .modal-footer { padding: 20px 24px; }
.wt-onboarding-page .modal-body { padding: 24px; }
.wt-onboarding-page .etrade-card { flex-wrap: wrap; gap: 12px; }
.wt-onboarding-page .etrade-right { flex-wrap: wrap; gap: 12px; }
.wt-ob-review-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}
.wt-ob-review-grid a { display: flex; flex-direction: column; gap: 4px; padding: 14px; border: 1px solid #e4e4e4; border-radius: 12px; background: #f8f8f8; color: #333; text-decoration: none; min-width: 0; }
.wt-ob-review-grid a > span { font-size: 11px; color: #999; margin-bottom: 8px; }
.wt-ob-review-grid a b { float: right; font-size: 16px; font-weight: 400; }
.wt-ob-review-grid a strong { font-size: 16px; font-weight: 500; }
.wt-ob-review-grid a small { color: #999; font-size: 14px; overflow-wrap: anywhere; }
.wt-ob-review-grid a:hover { border-color: #aabaff; }
.wt-ob-building { text-align: center; max-width: 432px; margin: 15vh auto 0; }
.wt-ob-building h1 { font-size: 28px; letter-spacing: -1px; }
.wt-ob-building > p { color: #777; font-size: 16px; margin: 12px auto 24px; max-width: 330px; }
.wt-ob-building-icon { display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 20px; border-radius: 50%; background: linear-gradient(#4d6bff,#1b36cb); color: white; box-shadow: 0 6px 12px #2443c633; }
.wt-ob-building-icon svg { width: 32px; height: 32px; }
.wt-ob-building progress { width: 100%; height: 6px; margin: 0 0 24px; accent-color: #315dff; }
.wt-ob-building .wt-ob-card p { font-size: 14px; color: #999; margin: 12px 0 0; }
.wt-ob-building > small { display: block; margin-top: 24px; color: #aaa; font-size: 12px; }
@media (max-width: 480px) { .wt-ob-review-grid { grid-template-columns: 1fr; } }

.wt-onboarding-page .total-summary { border-radius: 0; margin-bottom: 0; }
.wt-onboarding-page .total-row { padding: 0; margin: 0; border: 0; background: none; }
.wt-onboarding-page .total-row strong { padding: 0; margin: 0; }
.wt-ob-providers { border: 1px solid #e4e4e4; border-radius: 12px; padding: 16px; margin-bottom: 16px; background: #fff; }
.wt-ob-providers header { display: flex; justify-content: space-between; align-items: center; }
.wt-ob-providers h2 { font-size: 16px; margin: 0; }
.wt-ob-providers header button { background: none; border: 0; color: #999; font-size: 22px; }
.wt-ob-providers p { color: #999; font-size: 13px; margin: 8px 0 16px; }
.wt-ob-providers .wt-ob-grid button { display: flex; flex-direction: column; gap: 4px; border: 1px solid #ddd; border-radius: 12px; background: #fff; text-align: left; padding: 16px; }
.wt-ob-providers small { color: #999; font-size: 12px; }
.wt-ob-review-return { display: block; text-align: right; margin-top: 16px; color: #315dff; font-size: 14px; }

body.wt-onboarding-page { padding: 0; }
.wt-onboarding-top { padding: 24px 0 4px; }
.wt-onboarding-workspace { margin-top: 20px; }
.wt-ob-review-grid a > span { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.wt-ob-review-grid .wt-ob-icon { width: 28px; height: 28px; flex-basis: 28px; border-radius: 9px; }
.wt-ob-review-grid .wt-ob-icon svg { width: 15px; height: 15px; }
.wt-ob-review-grid a b { margin-left: auto; }
.wt-onboarding-page .step2-card:has(#mortgage:checked) #mortgageFormContainer,
.wt-onboarding-page .step2-card:has(#paidoffearly:checked) #loanPayOffDate { display: block !important; }

.wt-ob-done { box-sizing: border-box; width: 100%; max-width: 520px; min-height: 100vh; margin: 0 auto; padding: 48px 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.wt-ob-done-check { width: 64px; height: 64px; margin-bottom: 20px; border-radius: 50%; background: #33b26a; color: white; display: grid; place-items: center; box-shadow: 0 12px 28px -8px #33b26a80; }
.wt-ob-done-check svg { width: 30px; height: 30px; }
.wt-ob-eyebrow { font-size: 14px; margin: 0 0 10px; }
.wt-ob-done h1 { font-size: 28px; line-height: 1.1; letter-spacing: -.56px; margin: 0; }
.wt-ob-done-body { font-size: 15px; line-height: 22px; color: #777; margin: 10px 0 0; max-width: 40ch; }
.wt-ob-done .wt-ob-done-card { width: 100%; box-sizing: border-box; padding: 6px; margin: 26px 0 28px; text-align: left; }
.wt-ob-done-card > div { display: flex; align-items: center; gap: 14px; padding: 16px; }
.wt-ob-done-card > div + div { border-top: 1px solid #eee; }
.wt-ob-done-card strong { font-size: 14px; }
.wt-ob-done-card p { font-size: 13px; line-height: 18px; color: #999; margin: 2px 0 0; }
.wt-ob-done .wt-entry-primary { display: flex; align-items: center; box-sizing: border-box; width: auto; min-height: 44px; height: 44px; gap: 14px; padding: 0 20px; color: #fff; text-decoration: none; }
.wt-onboarding-page [hidden] { display: none !important; }
.wt-onboarding-page .account-card-footer { display: flex; justify-content: flex-end; gap: 10px; }
.wt-onboarding-page .modal-content { border: 1px solid #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 24px 64px #0003; }
.wt-onboarding-page .modal-header, .wt-onboarding-page .modal-body, .wt-onboarding-page .modal-footer { padding: 20px 24px; }
.wt-onboarding-page .modal-title { font-size: 18px; font-weight: 600; }
.wt-onboarding-page .modal-footer .btn { border: 1px solid #ddd; border-radius: 10px; padding: 8px 16px; color: #555; background: #fff; }

.wt-ob-confirm { width: min(400px, calc(100vw - 40px)); box-sizing: border-box; padding: 28px; border: 1px solid #fff; border-radius: 20px; text-align: center; color: #333; background: #fff; box-shadow: 0 24px 64px #0003; }
.wt-ob-confirm::backdrop { background: #0005; }
.wt-ob-confirm-icon { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 16px; background: #fff0ef; border-radius: 14px; color: #d43933; }
.wt-ob-confirm-icon svg { width: 22px; height: 22px; }
.wt-ob-confirm h2 { font-size: 20px; margin: 0 0 10px; }
.wt-ob-confirm p { font-size: 14px; line-height: 21px; color: #888; }
.wt-ob-confirm > div { display: flex; justify-content: center; gap: 10px; margin-top: 24px; }
.wt-ob-danger { border: 0; border-radius: 10px; color: #fff; background: #d43933; padding: 9px 18px; }

.wt-ob-unsaved { width: min(400px, calc(100vw - 40px)); max-height: calc(100dvh - 32px); box-sizing: border-box; padding: 20px 20px 18px; border: 1px solid #fff; border-radius: 14px; text-align: left; overflow-y: auto; color: #303030; background: #fff; box-shadow: 0 24px 64px #0003; }
.wt-ob-unsaved::backdrop { background: #0005; }
.wt-ob-unsaved-heading { display: flex; align-items: center; gap: 12px; padding-right: 20px; margin-bottom: 12px; }
.wt-ob-unsaved-heading h2 { margin: 0; font-size: 18px; line-height: 1.25; font-weight: 600; letter-spacing: -.2px; }
.wt-ob-unsaved-icon { flex: 0 0 40px; height: 40px; display: grid; place-items: center; color: #e49721; background: #fff6e2; border-radius: 12px; }
.wt-ob-unsaved-icon svg { width: 20px; height: 20px; }
.wt-ob-unsaved p { margin: 0; color: #555; font-size: 14px; line-height: 20px; }
.wt-ob-unsaved .wt-ob-unsaved-close { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: #777; cursor: pointer; }
.wt-ob-unsaved > .wt-ob-unsaved-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.wt-onboarding-page .wt-ob-unsaved .wt-ob-unsaved-actions > button { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 36px; min-height: 36px; margin: 0; padding: 0 16px; border: 1px solid #dedede; border-radius: 10px; font: 600 13px/1 var(--wt-font, sans-serif); letter-spacing: .3px; cursor: pointer; }
.wt-onboarding-page .wt-ob-unsaved .wt-ob-unsaved-actions > .btn-next { color: #fff; border-color: #315dff; background: var(--accent-grad, linear-gradient(180deg, #4c70ff, #203cdf)); box-shadow: 0 3px 8px #2948dd24; }
.wt-onboarding-page .wt-ob-unsaved .wt-ob-unsaved-actions > .btn-prev { color: #444; background: #fff; }
.wt-onboarding-page .wt-ob-unsaved .wt-ob-unsaved-actions > .wt-ob-unsaved-discard { color: #555; background: #f8f8fa; border-color: transparent; }
.wt-ob-unsaved button:focus-visible { outline: 2px solid #315dff; outline-offset: 3px; }
@media (max-width: 480px) {
    .wt-ob-unsaved { padding: 18px 16px 16px; }
    .wt-ob-unsaved-heading { gap: 10px; padding-right: 16px; }
    .wt-ob-unsaved-heading h2 { font-size: 17px; }
    .wt-ob-unsaved-icon { flex-basis: 36px; height: 36px; border-radius: 10px; }
}

.wt-onboarding-page .etrade-card { display: flex; align-items: center; padding: 14px; border: 1px solid #e4e4e4; border-radius: 12px; margin-bottom: 12px; background: #fff; }
.wt-ob-account-edit { flex: 1; min-width: 0; text-align: left; background: none; border: 0; color: #333; padding: 0; }
.wt-ob-account-edit strong { display: block; font-size: 14px; font-weight: 600; }
.wt-ob-account-edit small { color: #999; font-size: 12px; }
.wt-onboarding-page .etrade-card > .balance-value { font-size: 15px; font-weight: 600; }
.wt-onboarding-page .etrade-delete { flex: 0 0 28px; width: 28px; height: 28px; border: 0; padding: 5px; color: #d43933; background: none; }
.wt-onboarding-page .etrade-delete svg { width: 18px; height: 18px; }
.wt-onboarding-steps li > a { display: flex; flex-direction: column; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.wt-onboarding-steps li > a:focus-visible { outline: 2px solid #315dff; outline-offset: 5px; border-radius: 8px; }

.calc { max-width: 480px; margin: 0 auto; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 48px 24px; }
.calc-orb { width: 64px; height: 64px; border-radius: 50%; background: var(--accent-grad); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px -2px rgba(8, 49, 180, .32); margin: 0 0 20px; animation: calc-orb-pulse 1.8s ease-in-out infinite; }
@keyframes calc-orb-pulse { 0%, 100% { transform: scale(1); box-shadow: 0 4px 12px -2px rgba(8, 49, 180, .32); } 50% { transform: scale(1.05); box-shadow: 0 8px 22px -4px rgba(8, 49, 180, .42); } }
.calc-h1 { font: 700 28px/1.1 var(--wt-font); letter-spacing: -.56px; color: var(--wt-fg-1); }
.calc-body { font: 400 15px/22px var(--wt-font); letter-spacing: .3px; color: var(--wt-fg-2); margin: 10px 0 0; max-width: 38ch; text-wrap: pretty; }
.calc-bar { width: 100%; height: 6px; border-radius: 999px; background: var(--wt-n-100); overflow: hidden; margin: 26px 0 4px; }
.calc-bar-fill { height: 100%; border-radius: 999px; background: var(--accent-grad); transition: width .55s cubic-bezier(.22, .61, .36, 1); }
.calc-card { width: 100%; padding: 8px; margin: 22px 0 0; text-align: left; }
.calc-row { display: flex; align-items: center; gap: 13px; padding: 12px 16px; }
.calc-row + .calc-row { border-top: 1px solid var(--wt-divider-2); }
.calc-row-ico { width: 18px; height: 18px; flex: none; display: flex; align-items: center; justify-content: center; }
.calc-row-label { font: 500 14px/19px var(--wt-font); letter-spacing: .2px; transition: color .3s ease; }
.calc-row.is-pending .calc-row-label { color: var(--wt-fg-4); }
.calc-row.is-active .calc-row-label { color: var(--wt-fg-1); font-weight: 600; }
.calc-row.is-done .calc-row-label { color: var(--wt-fg-2); }
.calc-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--wt-fg-4); opacity: .35; }
.calc-spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--accent-soft); border-top-color: var(--accent); animation: calc-spin .7s linear infinite; }
@keyframes calc-spin { to { transform: rotate(360deg); } }
.calc-check { width: 18px; height: 18px; border-radius: 50%; background: var(--wt-green-500); display: flex; align-items: center; justify-content: center; }
@media (prefers-reduced-motion: reduce) { .calc-orb { animation: none; } .calc-spin { animation-duration: 1.6s; } }


/* Prototype completion and provider components, scoped to onboarding. */
.wt-onboarding-page [hidden] { display: none !important; }
.wt-onboarding-page .calc { box-sizing: border-box; --accent-grad: var(--wt-grad-btn-blue); --accent: #1c45ff; --accent-soft: #edf0ff; }
.calc-orb > svg { width: 30px; height: 30px; color: white; }
.calc-check svg { width: 12px; height: 12px; color: white; }
.calc-row:not(.is-done) .calc-check, .calc-row:not(.is-active) .calc-spin, .calc-row:not(.is-pending) .calc-dot { display: none; }
.calc .wt-ob-eyebrow { margin-bottom: 10px; }
.calc .done-foot { color: #aaa; font-size: 12px; margin-top: 20px; }
.calc .calc-h1 { margin: 0; }
.wt-onboarding-page .wt-ob-provider-dialog { width: min(520px, calc(100vw - 32px)); max-width: none; border: 0; padding: 0; border-radius: 22px; color: #303030; background: linear-gradient(#fafafa, #fff); box-shadow: 0 40px 80px -28px #0007; }
.wt-ob-provider-dialog::backdrop { background: #0005; }
.wt-ob-provider-dialog > header { display: flex; gap: 14px; align-items: center; padding: 24px; border-bottom: 1px solid #e7e7e7; }
.wt-ob-provider-dialog h2 { margin: 0; font-size: 16px; font-weight: 600; }
.wt-ob-provider-dialog p { margin: 4px 0 0; font-size: 13px; line-height: 18px; color: #888; max-width: 310px; }
.wt-ob-provider-dialog #closeLinkProviders { align-self: flex-start; margin-left: auto; border: 0; padding: 3px; background: transparent; color: #999; }
.wt-ob-provider-dialog #closeLinkProviders svg { width: 18px; height: 18px; }
.wt-ob-provider-options { display: grid; gap: 12px; padding: 20px 24px; }
.wt-ob-provider-options > button { display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px; background: #fff; border: 1px solid #e3e3e3; border-radius: 13px; text-align: left; color: #303030; }
.wt-ob-provider-options > button:hover { border-color: #1c45ff; background: #f8f9ff; }
.wt-ob-provider-icon { width: 40px; height: 40px; display: grid; place-items: center; flex: none; border-radius: 12px; background: #f6f6f6; }
.wt-ob-provider-icon svg { width: 20px; height: 20px; }
.wt-ob-provider-options strong { display: block; font-size: 14px; font-weight: 600; }
.wt-ob-provider-options small { display: block; color: #888; font-size: 13px; margin-top: 4px; }
.wt-ob-provider-options > button > svg { width: 16px; height: 16px; flex: none; color: #aaa; margin-left: auto; }
.wt-ob-provider-badge { display: inline-block; margin-left: 5px; padding: 4px 7px; border-radius: 5px; background: #daf5e6; color: #076e33; font-size: 10px; line-height: 1; text-transform: uppercase; }
.wt-onboarding-page .total-summary { padding: 20px 0 0 !important; margin-top: 20px !important; border: 0 !important; border-top: 1px solid #e7e7e7 !important; border-radius: 0 !important; background: transparent !important; }
.wt-onboarding-page #totalContribution { color: #777 !important; font-size: 16px !important; }
.wt-onboarding-page .social-tabs-nav {
    flex-wrap: wrap;
    align-items: stretch;
    gap: 8px;
}

.wt-onboarding-page .social-tabs-nav li {
    display: flex;
    min-width: 0;
    max-width: 100%;
    margin: 0;
}

.wt-onboarding-page .social-tabs-nav li.active {
    margin-left: 0;
}

.wt-onboarding-page .social-tabs-nav li .tab-nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 36px;
    max-height: none;
    border: 0;
    border-radius: 10px !important;
    background: #f3f4f7 !important;
    color: #777 !important;
    padding: 9px 14px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 18px;
    white-space: normal;
    overflow-wrap: anywhere;
}

.wt-onboarding-page .social-tabs-nav .active .tab-nav-link {
    color: #1c45ff !important;
    background: #eef1ff !important;
    box-shadow: inset 0 0 0 1px #1c45ff !important;
}
.wt-onboarding-page .wt-ob-existing-sale:not(:has(input:checked)), .wt-onboarding-page #formOtherAssets:not(:has(#paidoffearly:checked)) #loanPayOffDate { display: none !important; }
.wt-onboarding-page #mortgageFormContainer:not(:has(#paidoffearly:checked)) [data-early-payoff-detail] { display: none !important; }
.wt-onboarding-page [data-mortgage-summary] { display: none !important; }
.wt-onboarding-page #mortgageFormContainer .mt-5 { margin-top: 0 !important; }
.wt-onboarding-page #mortgageFormContainer .form-field-main { margin-bottom: 0 !important; }
.wt-onboarding-page #mortgageFormContainer .wt-ob-grid { margin-bottom: 16px; }
.wt-onboarding-page #mortgageFormContainer input[type=date] { width: 100% !important; max-width: none; }
.wt-ob-suffix { position: relative; }
.wt-ob-suffix input { width: 100% !important; padding-right: 52px !important; }
.wt-ob-suffix > span { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: #888; font-size: 13px; pointer-events: none; }

.wt-onboarding-aside.has-mortgage-impact > :is(.lp-spot-ico, .wt-eyebrow, .lp-spot-stat, .lp-spot-src) { display: none; }
.wt-onboarding-page .wt-ob-mortgage-impact > strong { color: #303030 !important; display: block; font-size: 28px; line-height: 1.2; margin-top: 12px; }
.wt-ob-mortgage-impact > p { color: #888; font-size: 13px; margin: 2px 0 0; }
.wt-ob-mortgage-impact dl { margin: 18px 0; }
.wt-ob-mortgage-impact dl > div { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #eee; font-size: 14px; }
.wt-ob-mortgage-impact dt { display: flex; gap: 9px; align-items: center; font-weight: 400; color: #777; }
.wt-ob-mortgage-impact dd { margin: 0; }
.wt-ob-mortgage-impact dt i { width: 8px; height: 8px; border-radius: 50%; background: #58de92; }
.wt-ob-mortgage-impact dl > div:last-child dt i { background: #e6dd95; }
.wt-ob-mortgage-impact dl > div:last-child dd { color: #d92d20; }
.wt-ob-mortgage-impact .wt-ob-mortgage-note { display: flex; gap: 8px; padding: 10px 12px; border-radius: 12px; background: #f6f6f6; font-size: 12px; }
.wt-ob-mortgage-note svg { flex: none; width: 14px; height: 14px; }
.wt-onboarding-page .wt-ob-pension-help { font-size: 13px; color: #888; margin: 10px 0 0; }
.wt-onboarding-page .account-card:has(.have-pensions-checked-four:checked) .wt-ob-pension-help { display: none; }

.wt-onboarding-page .total-summary .total-row { padding: 0 !important; }
