.goals-page{--paper:var(--v2-surface);--graphite:var(--v2-text);--harbour:var(--v2-heading);--line:var(--v2-border);--cloud:var(--v2-surface-soft);--mist:var(--v2-surface-soft);--muted:var(--v2-muted);--teal:var(--v2-teal);--teal-light:var(--v2-teal-soft);--coral-light:var(--v2-coral-soft);color:var(--graphite);padding:2rem 0 5rem}.goals-hero{margin-bottom:1.5rem}.goals-handoff{border-color:var(--teal);margin-bottom:1.25rem}.goals-handoff h2{color:var(--harbour);margin:0 0 .5rem}.goals-handoff h2:focus{outline:none}.goals-handoff p{max-width:68ch;margin:0;line-height:1.55}.goals-handoff-actions{flex-wrap:wrap;gap:.65rem;margin-top:1rem;display:flex}.goals-handoff-actions button{border:1px solid var(--teal);background:var(--teal-light);max-width:100%;min-height:44px;color:var(--harbour);cursor:pointer;white-space:normal;text-align:center;border-radius:8px;padding:.55rem .9rem;font-weight:800}.goals-handoff-actions .button--primary{color:#fff;background:#007f79}html[data-theme=dark] .goals-handoff-actions .button--primary{color:#071722;background:#5bc7c1}.goals-handoff-actions button:hover{text-underline-offset:3px;text-decoration:underline}.goals-snapshot-review{margin:1rem auto}.goals-snapshot-review dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;display:grid}.goals-snapshot-review dl>div{border:1px solid var(--line);overflow-wrap:anywhere;border-radius:8px;min-width:0;padding:.55rem}.goals-snapshot-review dd{margin:.2rem 0 0;font-weight:750}.goals-snapshot-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;display:grid}.goals-snapshot-fields label{gap:.4rem;font-weight:750;display:grid}.goals-snapshot-fields input{border:1px solid var(--line);background:var(--paper);min-width:0;min-height:44px;color:var(--graphite);border-radius:8px;padding:.55rem}.goals-snapshot-actions{flex-wrap:wrap;gap:.65rem;margin-top:1rem;display:flex}.goals-snapshot-actions button{border-radius:8px;min-height:44px;padding:.55rem .9rem}@media (max-width:600px){.goals-snapshot-review dl,.goals-snapshot-fields{grid-template-columns:minmax(0,1fr)}}.goals-hero h1{max-width:850px;color:var(--harbour);margin:.45rem 0;font-size:clamp(2rem,3.5vw,3rem);line-height:1.14}.goals-hero>p{max-width:760px;margin:.5rem 0 1rem;line-height:1.6}.goals-related a{color:var(--teal);text-underline-offset:3px;font-weight:800;text-decoration:underline}.goals-navigation{grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem;margin:1.1rem 0;display:grid}.goals-navigation a{border:1px solid var(--line);background:var(--paper);min-width:0;min-height:88px;color:var(--harbour);box-shadow:var(--shadow-sm);overflow-wrap:anywhere;border-radius:12px;flex-direction:column;justify-content:center;gap:.4rem;padding:.8rem .95rem;text-decoration:none;display:flex}.goals-navigation a:first-child{border-color:var(--teal);background:var(--teal-light)}.goals-navigation a:hover{border-color:var(--teal);text-underline-offset:3px;text-decoration:underline}.goals-navigation strong{justify-content:space-between;align-items:baseline;gap:.3rem;font-size:.94rem;line-height:1.35;display:flex}.goals-navigation small{color:var(--muted);font-size:.76rem;line-height:1.4}html[data-theme=dark] .goals-navigation a:first-child{color:#f2faf9;background:#174842}html[data-theme=dark] .goals-navigation a:first-child small{color:#d7eeee}.goals-guest{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--teal-light);flex-wrap:wrap;align-items:center;gap:.5rem 1rem;padding:.8rem 1rem;font-size:.85rem;line-height:1.5;display:flex}.goals-guest b{color:var(--harbour);white-space:nowrap}.goals-guest span{flex:360px}.goals-guest button,.goals-actions a{color:var(--teal);text-underline-offset:3px;background:0 0;border:0;font-weight:800;text-decoration:underline}.goals-layout{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);align-items:start;gap:1.25rem;display:grid}.goals-card{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--paper);min-width:0;box-shadow:var(--shadow-sm);padding:clamp(1.1rem,2.2vw,2rem)}.goals-card h2{color:var(--harbour);margin:0 0 .85rem;font-size:1.2rem}.goals-form h2:not(:first-child){margin-top:1.5rem}.goals-types{grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem;display:grid}.goals-types button,.goals-quick button,.goals-derived button{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--cloud);min-height:44px;font-weight:750}.goals-types button[aria-pressed=true],.goals-quick button[aria-pressed=true],.goals-derived button[aria-pressed=true]{border-color:var(--teal);background:var(--teal-light);color:var(--harbour)}.goals-field{flex-direction:column;gap:.35rem;min-width:0;margin:.8rem 0;display:flex}.goals-field label{font-size:.89rem;font-weight:750;line-height:1.4}.goals-field input{background:var(--paper);width:100%;min-width:0;min-height:44px;color:var(--graphite);border:1px solid #8ca1a8;border-radius:10px;padding:.6rem .75rem}.goals-field input[aria-invalid=true],.goals-derived button[aria-invalid=true]{border:2px solid #a93829}.goals-field small,.goals-derived p,.goals-help{color:var(--muted);line-height:1.5}.goals-field .goals-error,.goals-derived .goals-error,.goals-error-summary{color:#9c3226;font-weight:750}.goals-error-summary{margin:.8rem 0}.goals-help{margin:.8rem 0;font-size:.88rem}.goals-help a{color:var(--teal);text-decoration:underline}.goals-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 .8rem;display:grid}.goals-quick{gap:.5rem;display:flex}.goals-quick button{min-width:45px}.goals-quick input{max-width:110px}.goals-derived{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--cloud);color:var(--graphite);gap:.35rem;margin:.9rem 0;padding:1rem;display:grid}.goals-derived>span{color:var(--graphite);font-weight:700}.goals-derived strong{color:var(--harbour);font-size:1.45rem}.goals-derived p{margin:0 0 .3rem;font-size:.82rem}.goals-derived button{background:var(--teal-light);color:var(--harbour);border-color:var(--teal);justify-self:start;padding:.6rem 1rem}.goals-derived button:hover:not(:disabled),.goals-derived button:focus-visible:not(:disabled){color:#073d3a;background:#c4e9e6}.goals-derived button:disabled{opacity:1;color:#40565e;cursor:not-allowed;background:#e2eceb;border-color:#8aa4a7}.goals-actions{flex-wrap:wrap;align-items:center;gap:1rem;margin-top:1.2rem;display:flex}.goals-actions .button{border:0}.goals-result{gap:1rem;display:grid}.goals-status{background:var(--teal-light);color:var(--harbour);border-radius:99px;justify-self:start;padding:.4rem .7rem;font-weight:800}.goals-status[data-status=review]{background:var(--coral-light)}.goals-zero{border:1px solid var(--line);border-radius:10px;margin:0;padding:.7rem .85rem;font-size:.84rem;line-height:1.5}.goals-primary{border-radius:var(--radius-sm);color:#fff;background:#102a43;padding:1rem}.goals-primary small{margin-bottom:.3rem;font-weight:700;display:block}.goals-primary strong{overflow-wrap:anywhere;font-size:clamp(1.6rem,3vw,2.4rem);line-height:1.2;display:block}.goals-primary p{margin:.5rem 0 0;font-size:.88rem}.goals-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;margin:0;display:grid}.goals-facts div{border:1px solid var(--line);border-radius:10px;min-width:0;padding:.6rem}.goals-facts dt{color:var(--muted);font-size:.77rem;line-height:1.4}.goals-facts dd{color:var(--harbour);overflow-wrap:anywhere;margin:.25rem 0 0;font-size:.93rem;font-weight:800;line-height:1.45}.goals-meter{background:var(--mist);border-radius:99px;height:10px;overflow:hidden}.goals-meter span{border-radius:inherit;background:var(--teal);height:100%;display:block}.goals-workings{border:1px solid var(--line);border-radius:10px;padding:.8rem;font-size:.86rem;line-height:1.55}.goals-workings summary{cursor:pointer;color:var(--harbour);font-weight:800}.goals-workings p:last-child{margin-bottom:0}.goals-stale{border-left:4px solid var(--coral);background:var(--coral-light);padding:.8rem;line-height:1.5}.goals-stale p{margin:.2rem 0 0;font-size:.84rem}.goals-placeholder{color:var(--muted);line-height:1.6}.goals-placeholder p:last-child{margin-bottom:0}.goals-page :is(button,a,input,select,textarea,summary):focus-visible{outline:3px solid var(--coral);outline-offset:3px}html[data-theme=dark] .goals-page{color:var(--graphite)}html[data-theme=dark] .goals-guest,html[data-theme=dark] .goals-types button[aria-pressed=true],html[data-theme=dark] .goals-quick button[aria-pressed=true],html[data-theme=dark] .goals-derived button[aria-pressed=true]{color:#eaf8f5;background:#174842}html[data-theme=dark] .goals-page .button--primary:not(:disabled){color:#fff;background:#007f79}html[data-theme=dark] .goals-page .button--primary:not(:disabled):is(:hover,:focus-visible){color:#fff;background:#006f6a}html[data-theme=dark] .goals-derived button{color:#f2faf9;background:#174842;border-color:#64c9c3}html[data-theme=dark] .goals-derived button:hover:not(:disabled),html[data-theme=dark] .goals-derived button:focus-visible:not(:disabled){color:#fff;background:#21675e}html[data-theme=dark] .goals-derived button:disabled{color:#c9dadd;background:#17333e;border-color:#66828d}html[data-theme=dark] .goals-stale,html[data-theme=dark] .goals-status[data-status=review]{color:#fff;background:#4b302e}@media (max-width:800px){.goals-layout{grid-template-columns:minmax(0,1fr)}}@media (max-width:700px){.goals-navigation{grid-template-columns:minmax(0,1fr)}.goals-navigation a{min-height:64px}}@media (max-width:480px){.goals-page{padding-top:1.2rem}.goals-types,.goals-grid,.goals-facts{grid-template-columns:1fr}.goals-hero,.goals-layout{width:min(var(--max), calc(100% - 28px))}}@media (prefers-reduced-motion:reduce){.goals-page *,.goals-page :before,.goals-page :after{scroll-behavior:auto!important;transition-duration:0s!important;animation-duration:0s!important}}.goals-saved{margin-top:1.25rem}.goals-saved>.goals-card{padding:clamp(1.1rem,2vw,1.7rem)}.goals-saved-head,.goals-saved-actions,.goals-export,.goals-save-guest>div{flex-wrap:wrap;align-items:center;gap:.7rem 1rem;display:flex}.goals-saved-head{justify-content:space-between}.goals-saved-head h2,.goals-saved-item h3{color:var(--harbour);margin:0}.goals-saved button,.goals-saved a{min-height:44px}.goals-saved button{color:var(--teal);font-weight:750}.goals-saved-actions .goal-checkin-trigger{color:#fff;white-space:normal;background:#064f4c;border:1px solid #064f4c;border-radius:8px;min-width:6rem;padding:.55rem .8rem;font-weight:800;line-height:1.3}.goals-saved-actions .goal-checkin-trigger:hover{color:#fff;background:#033d3a;border-color:#033d3a}.goals-saved-actions .goal-checkin-trigger:focus-visible{outline-offset:3px;outline:3px solid #e9a23b}.goals-saved-actions .goal-checkin-trigger:disabled{color:#fff;cursor:not-allowed;background:#53666b;border-color:#53666b}html[data-theme=dark] .goals-saved-actions .goal-checkin-trigger{color:#08232a;background:#76d4ce;border-color:#76d4ce}html[data-theme=dark] .goals-saved-actions .goal-checkin-trigger:hover{color:#08232a;background:#a0e7e1;border-color:#a0e7e1}html[data-theme=dark] .goals-saved-actions .goal-checkin-trigger:disabled{color:#fff;background:#435d63;border-color:#435d63}.goals-saved a{color:var(--teal);font-weight:750}.goals-saved .button--primary{color:#fff;background:#007f79}.goals-saved .button--primary:hover,.goals-saved .button--primary:focus-visible{color:#fff;background:#006f6a}.goals-saved .button--primary:disabled{color:#40565e;box-shadow:none;cursor:not-allowed;background:#dce8e7}html[data-theme=dark] .goals-saved .button--primary{color:#071722;background:#5bc7c1}html[data-theme=dark] .goals-saved .button--primary:hover,html[data-theme=dark] .goals-saved .button--primary:focus-visible{color:#071722;background:#88e3dc}html[data-theme=dark] .goals-saved .button--primary:disabled{color:#d1e1e5;box-shadow:none;background:#294753}.goals-saved-list{grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:.9rem;margin:1rem 0;display:grid}.goals-saved-item{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--cloud);min-width:0;padding:1rem}.goals-saved-item dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;margin:.8rem 0;display:grid}.goals-saved-item dt{color:var(--muted);font-size:.78rem}.goals-saved-item dd{color:var(--harbour);overflow-wrap:anywhere;margin:.1rem 0 0;font-weight:800}.goals-saved-item p,.goals-saved p{line-height:1.5}.goals-edit-balance-help{border-left:3px solid var(--teal);background:var(--teal-light);padding:.7rem .85rem;line-height:1.5}.goals-edit-balance-help a{font-weight:800;text-decoration:underline}.goals-form input[readonly]{background:var(--cloud);border-color:var(--line);cursor:default}.goals-overlap{border-left:3px solid var(--teal);background:var(--teal-light);padding:.7rem}.goals-save-review,.goals-export,.goals-withdraw{border-top:1px solid var(--line);margin-top:1rem;padding-top:1rem}.goals-save-review label,.goals-withdraw label{align-items:flex-start;gap:.6rem;margin:.6rem 0;line-height:1.5;display:flex}.goals-save-review input[type=checkbox]{flex:none;width:20px;height:20px;margin-top:.15rem}.goals-save-review .button{margin-top:.5rem}.goals-delete-confirm{border:1px solid var(--line);border-radius:var(--radius-sm);margin-top:.7rem;padding:.8rem}.goals-withdraw>button{text-align:left}.goals-withdraw input{width:100%;max-width:20rem;min-height:44px;padding:.5rem}.goals-success{color:var(--teal);font-weight:800}@media (max-width:480px){.goals-saved{width:min(var(--max), calc(100% - 28px))}.goals-saved-item dl{grid-template-columns:1fr}}.goals-consent-renew,.goals-money,.goal-journey{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--paper);min-width:0;margin-top:1rem;padding:1rem}.goals-consent-renew label,.goal-checkin-confirm{align-items:flex-start;gap:.6rem;margin:.7rem 0;line-height:1.45;display:flex}.goals-consent-renew input[type=checkbox],.goal-checkin-confirm input{flex:none;width:20px;height:20px;margin-top:.1rem}.goals-consent-renew h3,.goals-money h3,.goal-journey h4{color:var(--harbour);margin:.2rem 0 .7rem}.goals-money-summary{background:var(--teal-light);border-radius:var(--radius-sm);flex-wrap:wrap;gap:.3rem 1.3rem;padding:.7rem;display:flex}.goals-money-form,.goal-checkin-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem .9rem;margin:.9rem 0 1.3rem;display:grid}.goals-money-form label,.goal-checkin-form label{flex-direction:column;gap:.35rem;min-width:0;font-weight:650;display:flex}.goals-money-form input,.goals-money-form select,.goal-checkin-form input,.goal-checkin-form select,.goal-checkin-form textarea{border:1px solid var(--line);background:var(--paper);width:100%;min-width:0;min-height:44px;color:var(--graphite);border-radius:8px;padding:.55rem .7rem}.goals-money-form .goal-checkin-confirm,.goal-checkin-form .goal-checkin-confirm{flex-direction:row;grid-column:1/-1;align-items:flex-start}.goals-money-form .goal-checkin-confirm input,.goal-checkin-form .goal-checkin-confirm input{width:20px;min-height:20px}.goals-money-form button,.goal-checkin-form button,.goal-journey-actions button,.goal-confirm-state button{border:1px solid var(--line);background:var(--teal-light);min-height:44px;color:var(--harbour);border-radius:8px;padding:.45rem .8rem;font-weight:750}.goals-money-form button{justify-self:start}.goal-checkin-form textarea{resize:vertical;min-height:88px}.goal-checkin-form label:has(textarea){grid-column:1/-1}.goal-journey-actions,.goal-confirm-state{flex-wrap:wrap;align-items:center;gap:.6rem;display:flex}.goal-journey-actions{grid-column:1/-1}.goal-history{margin:.5rem 0 1.3rem;padding-left:1.4rem}.goal-history li{border-left:3px solid var(--teal);background:var(--cloud);overflow-wrap:anywhere;margin:.55rem 0;padding:.65rem}.goal-history li span{margin-top:.25rem;display:block}.goal-journey-projection{flex-wrap:wrap;gap:.5rem 1.5rem;display:flex}.goal-journey-projection dd{margin:.2rem 0;font-weight:750}.goal-projected{border-bottom:2px dashed var(--teal);padding-bottom:.4rem}.goal-stale{background:var(--coral-light);border-left:3px solid var(--coral);padding:.65rem}.goal-milestone{background:var(--teal-light);border-radius:var(--radius-sm);padding:.65rem}html[data-theme=dark] .goals-money-summary,html[data-theme=dark] .goal-milestone{color:#eaf8f5;background:#174842}html[data-theme=dark] .goal-stale{color:#fff;background:#4b302e}@media (max-width:650px){.goals-money-form,.goal-checkin-form,.goals-saved-list{grid-template-columns:minmax(0,1fr)}}.goals-guest button{cursor:pointer;min-height:44px;padding:.55rem .4rem}html:not([data-theme=dark]) .goals-guest button{color:#006f6a}.goals-save-guest .goals-continue{border:1px solid var(--teal);text-underline-offset:3px;border-radius:8px;align-items:center;min-height:44px;padding:.45rem .7rem;text-decoration:underline;display:inline-flex}.first-million-portfolio-link a{min-height:44px;color:var(--teal);text-underline-offset:3px;align-items:center;font-weight:800;text-decoration:underline;display:inline-flex}@media (max-width:720px){body:has(.goals-page) .site-header--v86 .v85-header__actions :is(.language-link,.theme-toggle,.mobile-menu-button){flex:0 0 44px;width:44px;min-width:44px;height:44px}}@media (max-width:430px){body:has(.goals-page) .site-header--v86 .v85-header__actions .login-link{max-width:46px}}
