.detailed-projection-view,.historical-market-replay-view,.monte-carlo-view,.onboarding-view,.profile-selection-view,.roth-analyzer-view,.stress-test-view{padding:2.5rem;max-width:1600px;margin:0 auto;background:#ffffff;min-height:100vh}.stress-test-tabs{display:flex;gap:4px;margin-bottom:1rem;background:#f4f4f2;padding:3px;border-radius:14px;border:1px solid #e6e2da;overflow-x:auto;-webkit-overflow-scrolling:touch}.stress-test-tab{padding:.56rem .95rem;background:transparent;color:#6b7280;border:1px solid transparent;border-radius:10px;cursor:pointer;font-size:.9rem;font-weight:600;transition:all .2s;white-space:nowrap;flex-shrink:0}.stress-test-tab:focus-visible{outline:none;border-color:#7dd3c7;box-shadow:0 0 0 3px rgba(0,168,138,.18)}.stress-test-tab:hover{color:#1f2937;background:rgba(255,255,255,.6);border-color:#e4e7eb}.stress-test-tab--active{background:#ffffff;color:#0f172a;border-color:#e2e8f0;font-weight:700;box-shadow:0 1px 2px rgba(15,23,42,.08),0 4px 12px rgba(15,23,42,.08);transform:translateY(-1px)}.stress-test-controls{display:flex;justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:1rem;flex-wrap:wrap}.stress-test-back-btn{padding:.5rem .875rem;font-size:.8125rem}.stress-test-toggle{display:flex;align-items:center;gap:.5rem;padding:.5rem .75rem;background:#f3f4f6;border-radius:8px;border:1px solid #e5e7eb;flex-wrap:wrap}.stress-test-toggle__label{font-size:.8125rem;font-weight:500;color:#374151}.stress-test-toggle__btn{padding:.375rem .625rem;background:white;color:#374151;border:1px solid #d1d5db;border-radius:6px;cursor:pointer;font-size:.75rem;font-weight:500;transition:all .2s}.stress-test-toggle__btn--active{background:#3b82f6;color:white;border-color:#3b82f6}.stress-test-toggle__info{width:18px;height:18px;background:#dbeafe;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.625rem;color:#3b82f6;cursor:help}.stress-test-selector{margin-bottom:1rem}.stress-test-selector__btn{width:100%;text-align:left}.stress-test-selector__panel{margin-top:.75rem;padding:1rem;background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px}.stress-test-selector__title{margin:0 0 .75rem;font-size:.9375rem;color:#374151}.stress-test-selector__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));grid-gap:.625rem;gap:.625rem;margin-bottom:1rem}.stress-test-selector__actions{display:flex;gap:.5rem;flex-wrap:wrap}.stress-test-selector__actions button{flex:1 1;min-width:100px;font-size:.8125rem;padding:.5rem .75rem}.stress-test-scenario-item{display:flex;align-items:flex-start;gap:.5rem;padding:.75rem;background:white;border:1px solid #d1d5db;border-radius:6px;cursor:pointer;transition:all .2s}.stress-test-scenario-item--selected{border:2px solid #3b82f6;background:#f0f9ff}.stress-test-scenario-item input[type=checkbox]{margin-top:.125rem;cursor:pointer;flex-shrink:0}.stress-test-scenario-item__content{flex:1 1;min-width:0}.stress-test-scenario-item__header{display:flex;align-items:center;gap:.375rem;margin-bottom:.25rem}.stress-test-scenario-item__icon{font-size:1rem}.stress-test-scenario-item__header strong{font-size:.8125rem;color:#111827}.stress-test-scenario-item__desc{margin:0;font-size:.6875rem;color:#6b7280;line-height:1.35}.stress-test-scenario-item__severity{display:inline-block;margin-top:.375rem;padding:.125rem .375rem;border-radius:4px;font-size:.625rem;font-weight:600;color:white}.stress-test-chart-container{height:500px;position:relative;margin-top:2rem}.stress-test-chart-container--sm{height:300px;margin-top:2rem}.stress-test-chart-wrapper{margin-top:2rem}.stress-test-chart-area{height:400px;position:relative}.stress-test-chart-area--sm{height:250px}.stress-test-chart-title{margin-bottom:.5rem;color:#374151;font-size:1rem}.stress-test-chart-desc{color:#6b7280;font-size:.875rem;margin-bottom:.75rem}.stress-test-section{margin-bottom:2rem}.stress-test-section__header{margin-bottom:1rem}.stress-test-section__title{margin-bottom:.5rem;font-size:1.25rem;color:#111827}.stress-test-section__desc{color:#6b7280;margin-bottom:.5rem;font-size:.9rem}.stress-test-info-banner{margin-top:.75rem;padding:.75rem 1rem;background:#eff6ff;border-left:4px solid #3b82f6;border-radius:6px;font-size:.875rem;color:#1e40af}.scenario-results-grid{display:grid;grid-gap:1.5rem;gap:1.5rem;margin-top:1rem}.scenario-card{border:1px solid #e5e7eb;border-radius:8px;padding:1.5rem}.scenario-card--passed{background:#f0fdf4}.scenario-card--failed{background:#fef2f2}.scenario-card__header{display:flex;align-items:center;justify-content:space-between;margin-bottom:.75rem;gap:.75rem}.scenario-card__title-row{display:flex;align-items:center;gap:.5rem;flex:1 1;min-width:0}.scenario-card__icon{font-size:1.5rem;flex-shrink:0}.scenario-card__name{margin:0;font-size:1rem;font-weight:600;flex:1 1;min-width:0}.scenario-card__status{font-size:.875rem;font-weight:500;white-space:nowrap;flex-shrink:0}.scenario-card__status--passed{color:#10b981}.scenario-card__status--failed{color:#ef4444}.scenario-card__severity{padding:.375rem .75rem;border-radius:6px;color:white;font-weight:600;font-size:.75rem;white-space:nowrap;flex-shrink:0}.scenario-card__desc{margin:0 0 .75rem;color:#6b7280;font-size:.875rem}.scenario-card__metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));grid-gap:1rem;gap:1rem;margin-top:.75rem}.scenario-card__metric-label{font-size:.75rem;color:#6b7280;margin-bottom:.125rem}.scenario-card__metric-value{font-size:1.25rem;font-weight:600;color:#111827}.scenario-card__metric-value--success{color:#10b981}.scenario-card__metric-value--danger{color:#ef4444}.scenario-card__metric-sub{font-size:.6875rem;color:#9ca3af;margin-top:.125rem}.scenario-card__note{margin-top:1rem;padding:.75rem;background:#fef3c7;border-radius:6px;font-size:.875rem}.scenario-card__periods{margin-top:1rem;padding:1rem;background:#fef9c3;border-radius:6px;border:1px solid #fef08a}.scenario-card__periods-title{font-weight:600;margin-bottom:.5rem;font-size:.875rem;color:#854d0e}.scenario-card__period{display:flex;align-items:flex-start;gap:.5rem;margin-top:.5rem;font-size:.8125rem}.scenario-card__period:first-of-type{margin-top:0}.scenario-card__period-tag{padding:.125rem .5rem;border-radius:4px;font-weight:600;font-size:.75rem;white-space:nowrap}.scenario-card__period-tag--boom{background:#dcfce7;color:#166534}.scenario-card__period-tag--crash{background:#fee2e2;color:#991b1b}.scenario-card__period-tag--mixed,.scenario-card__period-tag--recovery{background:#e0e7ff;color:#3730a3}.scenario-card__period-desc{color:#78350f}.scenario-card__planning-note{margin-top:.75rem;padding:.5rem;background:#fef3c7;border-radius:4px;font-size:.75rem;color:#92400e}.scenario-card__expand-section{margin-top:1rem;border-top:1px solid #e5e7eb;padding-top:1rem}.scenario-card__expand-btn{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background:#fee2e2;border:1px solid #fecaca;border-radius:6px;color:#991b1b;font-weight:600;cursor:pointer;font-size:.875rem;transition:all .2s}.scenario-card__expand-btn:hover{background:#fecaca}.stress-test-metrics{display:grid;grid-template-columns:repeat(4,1fr);grid-gap:1rem;gap:1rem;margin-top:1.5rem;margin-bottom:1.5rem}.stress-test-metrics .metric-card{min-height:auto}.metric-header-subtext{font-size:.75rem;color:#9ca3af;font-weight:400;display:block;margin-top:.125rem}.metric-value--lg{font-size:2.5rem;font-weight:700;line-height:1.1}.metric-value--success{color:#10b981}.metric-value--warning{color:#f97316}.metric-value--danger{color:#ef4444}@media (max-width:768px){.stress-test-view{padding:.75rem .5rem!important;max-width:100%!important;overflow-x:hidden!important}.stress-test-chart-container{height:320px!important;margin-top:1rem!important;overflow:visible!important}.stress-test-chart-container--sm{height:280px!important;margin-top:1rem!important;overflow:visible!important}.stress-test-chart-wrapper{margin-top:1rem!important}.stress-test-chart-area{height:260px!important}.stress-test-chart-area--sm{height:200px!important}.stress-test-chart-title{font-size:.875rem!important;margin-bottom:.25rem!important}.stress-test-chart-desc{font-size:.75rem!important;margin-bottom:.5rem!important}.stress-test-section{margin-bottom:1rem!important;overflow:visible!important}.stress-test-section__header{margin-bottom:.5rem!important}.stress-test-section__title{font-size:.9375rem!important}.stress-test-section__desc,.stress-test-section__title{margin-bottom:.25rem!important;line-height:1.3!important}.stress-test-info-banner,.stress-test-section__desc{font-size:.75rem!important}.stress-test-info-banner{padding:.5rem .75rem!important;margin-top:.5rem!important}.analysis-section{overflow:visible!important}.scenario-results-grid{gap:.75rem!important;margin-top:.5rem!important}.scenario-card{padding:.75rem!important;border-radius:6px!important}.scenario-card__header{flex-direction:row!important;flex-wrap:wrap!important;align-items:center!important;margin-bottom:.5rem!important;gap:.375rem!important}.scenario-card__title-row{gap:.375rem!important;flex:1 1 auto!important;min-width:0!important}.scenario-card__icon{font-size:1rem!important;flex-shrink:0!important}.scenario-card__name{font-size:.8125rem!important;line-height:1.2!important}.scenario-card__status{font-size:.6875rem!important}.scenario-card__severity{padding:.1875rem .375rem!important;font-size:.5625rem!important}.scenario-card__desc{display:none!important}.scenario-card__metrics{display:grid!important;grid-template-columns:repeat(2,1fr)!important;grid-gap:.5rem!important;gap:.5rem!important;margin-top:.5rem!important}.scenario-card__metrics .scenario-card__metric:nth-child(n+3){display:none!important}.scenario-card__metric-label{font-size:.625rem!important}.scenario-card__metric-value{font-size:1rem!important}.scenario-card__metric-sub{font-size:.5625rem!important}.scenario-card__expand-section,.scenario-card__note,.scenario-card__periods{display:none!important}.stress-test-view .dashboard-header,.stress-test-view .stress-test-header{margin-bottom:.625rem!important;padding:0!important}.stress-test-view .dashboard-header h1,.stress-test-view .stress-test-header h1{font-size:1.125rem!important;margin-bottom:.125rem!important;line-height:1.2!important}.stress-test-view .dashboard-header p,.stress-test-view .stress-test-header p{font-size:.75rem!important;line-height:1.3!important;margin-bottom:0!important}.stress-test-tabs{padding:3px;margin-bottom:.625rem;gap:4px;border-radius:10px;position:-webkit-sticky;position:sticky;top:70px;z-index:40;transition:box-shadow .2s ease,border-color .2s ease}.stress-test-tabs--mobile-scrolled{border-color:#ddd7cd #ddd7cd #d6d3cb;box-shadow:0 2px 10px rgba(15,23,42,.08)}.stress-test-tab{padding:.5rem .75rem;font-size:.75rem}.stress-test-controls{flex-direction:column;align-items:stretch;gap:.5rem;margin-bottom:.75rem}.stress-test-back-btn{width:auto;align-self:flex-start;padding:.375rem .75rem;font-size:.75rem}.stress-test-toggle{padding:.5rem;gap:.375rem;justify-content:center}.stress-test-toggle__label{font-size:.75rem}.stress-test-toggle__btn{padding:.3rem .5rem;font-size:.6875rem}.stress-test-selector__panel{padding:.75rem}.stress-test-selector__title{font-size:.875rem;margin-bottom:.625rem}.stress-test-selector__grid{grid-template-columns:1fr;gap:.5rem}.stress-test-selector__actions{flex-direction:column}.stress-test-selector__actions button{width:100%}.stress-test-scenario-item{padding:.625rem;gap:.375rem}.stress-test-scenario-item__header strong{font-size:.75rem}.stress-test-scenario-item__desc{font-size:.625rem}.stress-test-scenario-item__severity{font-size:.5625rem;padding:.125rem .25rem}.stress-test-metrics,.stress-test-view .metrics-grid,.stress-test-view .stress-test-metrics{display:grid!important;grid-template-columns:repeat(2,1fr)!important;grid-gap:.5rem!important;gap:.5rem!important;margin-top:.75rem!important;margin-bottom:.75rem!important}.stress-test-metrics .metric-card,.stress-test-view .metric-card,.stress-test-view .metrics-grid .metric-card,.stress-test-view .stress-test-metrics .metric-card,div.metric-card,div.stress-test-metrics div.metric-card{padding:.625rem!important;min-height:0!important;height:auto!important;max-height:none!important;display:block!important;box-sizing:border-box!important;overflow:visible!important}.metric-card .metric-header,.stress-test-metrics .metric-card .metric-header,.stress-test-view .metric-card .metric-header{margin-bottom:.25rem!important;width:100%!important;display:block!important}.metric-card .metric-header h4,.stress-test-metrics .metric-card .metric-header h4,.stress-test-view .metric-card .metric-header h4{font-size:.625rem!important;margin:0!important;line-height:1.2!important;letter-spacing:.03em!important;text-transform:uppercase!important}.metric-card .metric-header-subtext,.stress-test-view .metric-card .metric-header span,.stress-test-view .metric-card .metric-header-subtext{display:none!important}.metric-card .metric-value,.metric-card .metric-value--lg,.stress-test-metrics .metric-card .metric-value,.stress-test-view .metric-card .metric-value,.stress-test-view .metric-card .metric-value--lg{font-size:1.5rem!important;margin:.25rem 0!important;line-height:1.1!important}.metric-card .metric-subtitle,.stress-test-metrics .metric-card .metric-subtitle,.stress-test-view .metric-card .metric-subtitle{font-size:.625rem!important;line-height:1.3!important;margin:0!important;color:#6b7280!important}.stress-test-view .analysis-section{padding:.75rem!important;margin-bottom:.75rem!important}.stress-test-view .analysis-section h3{font-size:.875rem!important;margin-bottom:.25rem!important;line-height:1.25!important}.stress-test-view .analysis-section p{font-size:.6875rem!important;line-height:1.35!important;margin-bottom:.25rem!important}.stress-test-view .analysis-section>div[style*=height]{height:220px!important;min-height:180px!important}.stress-test-view [style*="display: grid"]{grid-template-columns:1fr!important}.stress-test-view [style*="padding: '0.75rem 1rem'"],.stress-test-view [style*="padding: '1rem'"]{padding:.5rem!important}.stress-test-view .btn-primary,.stress-test-view .btn-secondary{padding:.5rem .75rem!important;font-size:.75rem!important}.stress-test-view [style*="padding: '1.5rem'"]{padding:.75rem!important}.stress-test-view [style*="padding: '2rem'"]{padding:1rem!important}.stress-test-view [style*="marginBottom: '2rem'"]{margin-bottom:1rem!important}.stress-test-view [style*="marginBottom: '1.5rem'"]{margin-bottom:.75rem!important}.stress-test-view [style*="marginTop: '2rem'"]{margin-top:1rem!important}.stress-test-view [style*="gap: '1.5rem'"]{gap:.75rem!important}.stress-test-view [style*="gap: '2rem'"]{gap:1rem!important}}.dashboard-view{--dash-space-1:8px;--dash-space-2:12px;--dash-space-3:16px;--dash-space-4:24px;--dash-inner-max:1240px;padding:var(--dash-space-4) 0 3rem;max-width:none;width:100%;margin:0;background:#ffffff;min-height:100vh;box-sizing:border-box}.dashboard-view__inner{width:100%;max-width:var(--dash-inner-max);margin-left:auto;margin-right:auto;padding-left:var(--dash-space-3);padding-right:var(--dash-space-3);box-sizing:border-box}@media (max-width:640px){.dashboard-view{padding:var(--dash-space-3) 0 2.75rem}.dashboard-view__inner{padding-left:var(--dash-space-2);padding-right:var(--dash-space-2)}}@media (max-width:768px){.detailed-projection-view{padding:0!important;max-width:100%!important;width:100%!important;margin:0!important}}.card.clickable{transition:all .2s ease}.card.clickable:hover{border-color:#3b82f6;box-shadow:0 4px 12px rgba(59,130,246,.15);transform:translateY(-2px)}.card.clickable:active{transform:translateY(0)}.feature-card{display:flex;flex-direction:column;padding:1.5rem;background:rgba(102,126,234,.08);border:1px solid rgba(102,126,234,.15);border-radius:12px;transition:all .2s ease}.feature-card:hover{border-color:rgba(102,126,234,.4);background:rgba(102,126,234,.12);box-shadow:0 8px 20px rgba(102,126,234,.15);transform:translateY(-4px)}.feature-card:active{transform:translateY(-2px)}.feature-icon{width:3rem;height:3rem;margin-bottom:1rem;color:#667eea}.feature-card h4{margin:0 0 .5rem;font-size:1.125rem;font-weight:600;color:#111827}.feature-card p{margin:0;font-size:.875rem;color:#6b7280;line-height:1.5;flex-grow:1}.features-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));grid-gap:1.5rem;gap:1.5rem;margin-top:1.5rem}@media (max-width:768px){.features-grid{display:flex;flex-direction:row;overflow-x:auto;overflow-y:hidden;gap:1rem;margin-top:1rem;padding-bottom:.5rem;-webkit-overflow-scrolling:touch;scroll-behavior:smooth;scrollbar-width:thin;scrollbar-color:rgba(59,130,246,.5) transparent;position:relative}.features-grid::-webkit-scrollbar{height:6px}.features-grid::-webkit-scrollbar-track{background:transparent}.features-grid::-webkit-scrollbar-thumb{background:rgba(59,130,246,.5);border-radius:3px}.features-grid::-webkit-scrollbar-thumb:hover{background:rgba(59,130,246,.7)}.features-grid .feature-card{flex:0 0 85vw;min-width:280px;max-width:320px}.features-grid .feature-card:hover{transform:none}}.horizontal-scroll-container{position:relative}.horizontal-scroll-container:after{content:"";position:absolute;right:0;top:0;bottom:0;width:40px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.9));pointer-events:none;opacity:1;transition:opacity .3s ease}.horizontal-scroll-container.scrolled-end:after{opacity:0}.scroll-hint{display:none}@media (max-width:768px){.scroll-hint{display:flex;align-items:center;justify-content:center;gap:.375rem;font-size:.75rem;color:#64748b;margin-top:.5rem;animation:pulse-hint 2s ease-in-out infinite}.scroll-hint svg{width:1rem;height:1rem;animation:bounce-x 1.5s ease-in-out infinite}@keyframes pulse-hint{0%,to{opacity:.7}50%{opacity:1}}@keyframes bounce-x{0%,to{transform:translateX(0)}50%{transform:translateX(4px)}}}.features-section{margin-top:2rem;padding-top:2rem;border-top:2px solid #f3f4f6}.features-section h3{font-size:1.5rem;font-weight:700;color:#111827;margin:0 0 1.5rem;text-align:center}.more-tools-section{margin-top:2rem;padding-top:2rem;border-top:1px solid #e5e7eb}.more-tools-title{font-size:1.25rem;font-weight:600;color:#111827;margin:0 0 1.5rem;text-align:center}.more-tools-category{margin-bottom:1.25rem}.more-tools-category:last-child{margin-bottom:0}.more-tools-category-label{display:block;font-size:.875rem;font-weight:600;color:#6b7280;margin-bottom:.75rem;padding-left:.25rem}.more-tools-grid{display:grid;grid-template-columns:repeat(4,1fr);grid-gap:.75rem;gap:.75rem;margin-top:.5rem}.more-tools-category:last-child .more-tools-grid{grid-template-columns:repeat(3,1fr);max-width:75%}.more-tool-item{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1rem;background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;transition:all .2s ease;gap:.5rem;min-height:90px}.more-tool-item:hover{background:#f3f4f6;border-color:#3b82f6;transform:translateY(-2px);box-shadow:0 4px 12px rgba(59,130,246,.1)}.more-tool-item:active{transform:translateY(0)}.more-tool-icon{width:1.75rem;height:1.75rem;color:#3b82f6;flex-shrink:0}.more-tool-item span{font-size:.875rem;font-weight:500;color:#374151;text-align:center;line-height:1.3}.more-tool-item.locked{opacity:.6;background:#f9fafb;border-color:#d1d5db}.more-tool-item.locked:hover{border-color:#ef4444;box-shadow:0 4px 12px rgba(239,68,68,.15)}@media (max-width:1024px) and (min-width:769px){.more-tools-grid{grid-template-columns:repeat(4,1fr);gap:.6rem}.more-tools-category:last-child .more-tools-grid{grid-template-columns:repeat(3,1fr);max-width:80%}.more-tool-item{padding:.875rem .5rem;min-height:80px}.more-tool-item span{font-size:.8rem}}@media (max-width:768px){.more-tools-category{margin-bottom:1rem}.more-tools-category-label{font-size:.8rem;margin-bottom:.5rem}.more-tools-grid{display:flex;flex-direction:row;overflow-x:auto;overflow-y:hidden;gap:.75rem;margin-top:.5rem;padding-bottom:.5rem;-webkit-overflow-scrolling:touch;scroll-behavior:smooth;scrollbar-width:thin;scrollbar-color:rgba(59,130,246,.5) transparent}.more-tools-grid::-webkit-scrollbar{height:6px}.more-tools-grid::-webkit-scrollbar-track{background:transparent}.more-tools-grid::-webkit-scrollbar-thumb{background:rgba(59,130,246,.5);border-radius:3px}.more-tools-grid::-webkit-scrollbar-thumb:hover{background:rgba(59,130,246,.7)}.more-tools-grid .more-tool-item{flex:0 0 110px;min-width:110px;padding:.75rem .5rem;min-height:75px}.more-tool-item:hover{transform:none}.more-tool-icon{width:1.5rem;height:1.5rem}.more-tool-item span{font-size:.7rem}.more-tools-title{font-size:1.125rem}}.contact-view{padding:2rem;max-width:800px;margin:0 auto}.contact-container{position:relative}.back-button{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background:white;border:1px solid #e5e7eb;border-radius:8px;color:#6b7280;font-size:.875rem;cursor:pointer;transition:all .2s ease;margin-bottom:2rem}.back-button:hover{background:#f9fafb;border-color:#3b82f6;color:#3b82f6}.contact-header{text-align:center;margin-bottom:3rem}.contact-header h1{font-size:2.5rem;font-weight:700;color:#111827;margin:0 0 1rem}.contact-header p{font-size:1.125rem;color:#6b7280;margin:0}.contact-form-wrapper{background:white;border-radius:12px;box-shadow:0 1px 3px rgba(0,0,0,.1);padding:2rem}.contact-form{margin-bottom:2rem}.form-group{margin-bottom:1.5rem}.form-group label{display:block;font-size:.875rem;font-weight:600;color:#374151;margin-bottom:.5rem}.required{color:#ef4444}.form-group input[type=email],.form-group input[type=text],.form-group textarea{width:100%;padding:.75rem;border:1px solid #d1d5db;border-radius:8px;font-size:1rem;color:#111827;transition:all .2s ease;font-family:inherit}.form-group input[type=email]:focus,.form-group input[type=text]:focus,.form-group textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,.1)}.form-group input.error,.form-group textarea.error{border-color:#ef4444}.form-group input:disabled,.form-group textarea:disabled{background:#f9fafb;cursor:not-allowed;opacity:.6}.form-group textarea{resize:vertical;min-height:120px}.field-info{display:flex;justify-content:flex-end;margin-top:.25rem}.char-count{font-size:.75rem;color:#9ca3af}.error-message{display:block;font-size:.75rem;color:#ef4444;margin-top:.25rem}.submit-status{padding:1rem;border-radius:8px;margin-bottom:1rem;font-size:.875rem;font-weight:500}.submit-status.success{background:#d1fae5;color:#065f46;border:1px solid #10b981}.submit-status.error{background:#fee2e2;color:#991b1b;border:1px solid #ef4444}.submit-button{width:100%;padding:.875rem 1.5rem;background:#3b82f6;color:white;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s ease}.submit-button:hover:not(:disabled){background:#2563eb;transform:translateY(-1px);box-shadow:0 4px 12px rgba(59,130,246,.3)}.submit-button:active:not(:disabled){transform:translateY(0)}.submit-button:disabled{background:#9ca3af;cursor:not-allowed;transform:none}.contact-info{padding:1.5rem;background:#f9fafb;border-radius:8px;border-left:4px solid #3b82f6}.contact-info h3{margin:0 0 1rem;font-size:1rem;font-weight:600;color:#111827}.contact-info ul{margin:0;padding-left:1.5rem;list-style-type:disc}.contact-info li{margin-bottom:.5rem;font-size:.875rem;color:#6b7280;line-height:1.5}.contact-info a{color:#3b82f6;text-decoration:none;font-weight:500}.contact-info a:hover{text-decoration:underline}.contact-success-screen{background:white;border-radius:12px;box-shadow:0 1px 3px rgba(0,0,0,.1);padding:3rem 2rem;text-align:center;animation:slideUp .4s ease-out}.success-icon{font-size:4rem;margin-bottom:1.5rem;animation:bounce .6s ease-out}.contact-success-screen h2{font-size:1.875rem;font-weight:700;color:#111827;margin:0 0 1rem}.success-description{font-size:1.125rem;color:#6b7280;line-height:1.6;max-width:500px;margin:0 auto 2rem}.success-details{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;padding:1.5rem;margin-bottom:2.5rem;max-width:500px;margin-left:auto;margin-right:auto}.detail-row{display:flex;justify-content:space-between;align-items:center;padding:.5rem 0}.detail-row:first-child{padding-top:0}.detail-row:last-child{padding-bottom:0}.detail-row+.detail-row{border-top:1px solid #e5e7eb}.detail-label{font-size:.875rem;font-weight:600;color:#6b7280}.detail-value{font-size:.875rem;color:#111827;font-weight:500}.helpful-links{margin-bottom:2rem}.helpful-links h3{font-size:1.25rem;font-weight:600;color:#111827;margin:0 0 1.5rem}.links-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));grid-gap:1rem;gap:1rem;margin-bottom:2rem}.link-card{display:flex;flex-direction:column;align-items:center;padding:1.5rem 1rem;background:white;border:2px solid #e5e7eb;border-radius:10px;text-decoration:none;transition:all .2s ease;cursor:pointer}.link-card:hover{border-color:#3b82f6;box-shadow:0 4px 12px rgba(59,130,246,.15);transform:translateY(-2px)}.link-icon{font-size:2rem;margin-bottom:.75rem}.link-title{font-size:1rem;font-weight:600;color:#111827;margin-bottom:.25rem;text-align:center}.link-description{font-size:.813rem;color:#6b7280;text-align:center}.back-to-home-button{padding:.875rem 2rem;background:#3b82f6;color:white;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s ease}.back-to-home-button:hover{background:#2563eb;transform:translateY(-1px);box-shadow:0 4px 12px rgba(59,130,246,.3)}.back-to-home-button:active{transform:translateY(0)}.profile-selection-container{max-width:1100px;margin:0 auto}.profile-selection-header{text-align:center;margin-bottom:3rem}.profile-selection-header h1{font-size:2.5rem;margin-bottom:.5rem;color:var(--text-primary);font-weight:600}.profile-selection-header p{color:var(--text-secondary);font-size:1.125rem}.create-profile-section,.existing-profiles-section{margin-bottom:3rem}.create-profile-section h2,.existing-profiles-section h2{font-size:1.5rem;font-weight:600;margin-bottom:1.5rem;color:var(--text-primary)}.create-profile-form{display:flex;gap:1rem}.create-profile-form input{flex:1 1;padding:.875rem 1rem;border:1px solid var(--border-color);border-radius:var(--radius-md);font-size:1rem}.profiles-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));grid-gap:1.5rem;gap:1.5rem}@media (max-width:768px){.profiles-grid{display:flex;flex-direction:row;overflow-x:auto;overflow-y:hidden;gap:1rem;padding-bottom:.5rem;-webkit-overflow-scrolling:touch;scroll-behavior:smooth;scrollbar-width:thin;scrollbar-color:rgba(59,130,246,.5) transparent}.profiles-grid::-webkit-scrollbar{height:6px}.profiles-grid::-webkit-scrollbar-track{background:transparent}.profiles-grid::-webkit-scrollbar-thumb{background:rgba(59,130,246,.5);border-radius:3px}.profiles-grid::-webkit-scrollbar-thumb:hover{background:rgba(59,130,246,.7)}.profiles-grid>*{flex:0 0 85vw;min-width:280px;max-width:320px}}.existing-profiles-section .profiles-list,.profile-selection-view .profiles-list{display:flex!important;flex-direction:column!important;gap:1.25rem!important}@media (max-width:768px){.profile-list-item{flex-direction:column;align-items:flex-start;padding:1.5rem;gap:1rem;overflow:hidden}.profile-list-item .profile-info{width:100%;margin-bottom:1rem;max-width:100%;min-width:0;overflow:hidden}.profile-list-item .profile-actions{width:100%;flex-direction:column;align-items:flex-start;min-width:0;max-width:120px;box-sizing:border-box;overflow:visible;gap:.5rem}.profile-list-item .profile-actions .btn,.profile-list-item .profile-actions .btn-primary,.profile-list-item .profile-actions .btn-secondary{width:100%;padding:.375rem .875rem;font-size:.8125rem;min-height:32px;height:32px;box-sizing:border-box;display:flex;align-items:center;justify-content:center}.profile-list-item .profile-actions .profile-delete-btn{width:100%;min-height:32px;padding:.375rem .625rem;font-size:.875rem}.profile-list-item .profile-metadata{gap:1rem}}.profile-list-item{display:flex!important;flex-direction:row!important;justify-content:space-between;align-items:flex-start;padding:1.75rem 2rem;border:1px solid var(--border-color);border-radius:var(--radius-lg);background:white;transition:all .2s;min-height:100px;gap:2rem;position:relative;width:100%;box-sizing:border-box;overflow:visible}.profile-list-item:hover{border-color:var(--primary);box-shadow:0 2px 8px rgba(0,0,0,.08)}.profile-list-item .profile-info{align-items:flex-start!important;gap:1.5rem!important;flex:1 1!important;min-width:0!important;overflow:visible!important;width:auto!important;height:auto!important;min-height:40px!important;max-width:none!important}.profile-list-item .profile-avatar,.profile-list-item .profile-info{display:flex!important;visibility:visible!important;opacity:1!important}.profile-list-item .profile-avatar{flex-shrink:0;width:40px;height:40px;min-width:40px;max-width:40px;min-height:40px;max-height:40px;aspect-ratio:1/1;border-radius:50%;background:linear-gradient(135deg,var(--primary) 0,#5a67d8 100%);align-items:center;justify-content:center;color:white;font-size:1rem;font-weight:600}.profile-list-item .profile-details{flex:1 1!important;min-width:0!important;display:flex!important;flex-direction:column!important;width:auto!important;overflow:visible!important;visibility:visible!important;opacity:1!important;max-width:none!important}.profile-list-item .profile-details h3{margin:0 0 .5rem;font-size:1.375rem;font-weight:600;color:var(--text-primary);line-height:1.2;word-wrap:break-word;display:block!important;visibility:visible!important;opacity:1!important}.profile-list-item .profile-metadata{display:flex!important;flex-wrap:wrap;gap:1.75rem;font-size:.9375rem;color:var(--text-secondary);align-items:center;margin-top:.5rem;width:auto;box-sizing:border-box;visibility:visible!important;opacity:1!important}.meta-item{display:inline-flex;align-items:center;gap:.375rem;white-space:nowrap}.meta-item.incomplete{color:var(--warning);font-weight:500}.profile-list-item .profile-actions{display:flex;flex-direction:column;gap:.5rem;align-items:flex-end;flex-shrink:0;flex-grow:0;margin-top:0;min-width:-moz-fit-content;min-width:fit-content;max-width:-moz-fit-content;max-width:fit-content;box-sizing:border-box;overflow:visible}.profile-list-item .profile-actions .btn,.profile-list-item .profile-actions .btn-primary,.profile-list-item .profile-actions .btn-secondary{padding:.375rem .5rem;font-size:.8125rem;min-height:28px;line-height:1.2;font-weight:500;height:28px;width:auto;min-width:-moz-fit-content;min-width:fit-content;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;box-sizing:border-box}.profile-list-item .profile-actions .profile-delete-btn{padding:.375rem .5rem;background:transparent;border:1px solid var(--border-color);border-radius:var(--radius-md);cursor:pointer;transition:all .2s;font-size:.875rem;display:inline-flex;align-items:center;justify-content:center;color:var(--text-secondary);min-height:28px;height:28px;width:auto;min-width:-moz-fit-content;min-width:fit-content;box-sizing:border-box;align-self:flex-end}.profile-delete-btn:hover{background:#fee;border-color:#fcc;color:var(--danger)}.modal-content.delete-warning{max-width:500px}.modal-icon.warning{font-size:3rem;text-align:center;margin-bottom:1rem}.warning-text{font-size:1.125rem;text-align:center;margin-bottom:1.5rem;color:var(--text-primary)}.warning-details{background:#fff3cd;border:1px solid #ffc107;border-radius:var(--radius-md);padding:1.5rem;margin-bottom:1.5rem}.warning-details p{margin:0 0 .75rem;color:#856404}.warning-details ul{margin:.75rem 0;padding-left:1.5rem;color:#856404}.warning-details li{margin:.5rem 0}.warning-note{margin-top:1rem!important;padding-top:1rem;border-top:1px solid #ffc107;font-weight:600!important;color:#721c24!important}.profile-card{padding:1.5rem;border:1px solid var(--border-color);border-radius:var(--radius-lg);cursor:pointer;transition:all .2s;background:white}.profile-card:hover{border-color:var(--primary);box-shadow:0 4px 12px rgba(0,0,0,.1);transform:translateY(-2px)}.profile-card-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1rem}.profile-delete-btn{background:none;border:none;font-size:1.25rem;cursor:pointer;opacity:.6;transition:opacity .2s;padding:.25rem}.profile-delete-btn:hover{opacity:1}.profile-card h3{margin:0 0 .5rem;color:var(--text-primary);font-size:1.25rem}.contact-view{padding:1rem;max-width:100%;box-sizing:border-box}.profile-meta{color:var(--text-secondary);font-size:.875rem;margin:0}.dashboard-header{margin-bottom:1rem;position:relative;z-index:100}.dashboard-header h1{font-size:2rem;margin-bottom:.35rem;color:var(--text-primary)}.dashboard-header p{color:var(--text-secondary);font-size:1.125rem}.retirement-badge{display:inline-flex;align-items:center;padding:.375rem .75rem;background:linear-gradient(135deg,#dbeafe,#bfdbfe);color:#1e40af;border-radius:6px;font-size:.8125rem;font-weight:600;margin-left:.5rem;line-height:1.2}.metric-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));grid-gap:1.5rem;gap:1.5rem;margin-bottom:2rem}.metric-card{padding:1.5rem;background:white;border:1px solid var(--border-color);border-radius:var(--radius-lg);transition:all .2s ease}.metric-card.clickable-card{cursor:pointer}.metric-card.clickable-card:hover{border-color:#3b82f6;box-shadow:0 4px 12px rgba(59,130,246,.15);transform:translateY(-2px)}.metric-card.clickable-card:active{transform:translateY(0)}.metric-card h3{font-size:.875rem;font-weight:600;color:var(--text-secondary);margin:0 0 .5rem;text-transform:uppercase;letter-spacing:.05em}.metric-value{font-size:3rem;font-weight:700;color:var(--text-primary);margin:.5rem 0;line-height:1.1}.metric-subtitle{font-size:.875rem;color:var(--text-secondary);margin:0}.info-banner{padding:2rem;background:#f0f9ff;border:1px solid #bfdbfe;border-radius:var(--radius-lg);margin-bottom:2rem}.info-banner h2{color:#1e40af;margin-top:0}.info-banner p{color:#1e3a8a;line-height:1.6}.info-banner ul{color:#1e3a8a;line-height:1.8}.empty-state{padding:4rem 2rem}.empty-state h2{color:var(--text-primary);margin-bottom:1rem}.empty-state p{color:var(--text-secondary);font-size:1.125rem}.modal-overlay{background:rgba(0,0,0,.5)}.modal-content{background:white;padding:2rem;border-radius:var(--radius-lg);max-width:500px;width:90%;box-shadow:0 20px 25px -5px rgba(0,0,0,.1)}.modal-content h3{margin-top:0;color:var(--text-primary)}.modal-content p{color:var(--text-secondary);line-height:1.6}.modal-actions{display:flex;gap:1rem;margin-top:1.5rem;justify-content:flex-end}.analysis-section{background:white;padding:2rem;border-radius:var(--radius-lg);border:1px solid var(--border-color);margin-bottom:2rem}.analysis-section h3{margin-top:0;color:var(--text-primary)}.metrics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));grid-gap:1.5rem;gap:1.5rem}@media (max-width:768px){.dashboard-view{padding:.75rem .5rem!important}.dashboard-content{padding:0}.analysis-section{padding:1rem .75rem;margin-bottom:1rem}.analysis-section h3{font-size:1.125rem;margin-bottom:.75rem}.dashboard-header{margin-bottom:1rem;padding:0 .25rem}.dashboard-header h1{font-size:1.5rem;margin-bottom:.25rem}.dashboard-header p{font-size:.9375rem}.card.action-card,.summary-cards.compact .card{padding:.875rem .75rem;min-height:auto}.projections-section,.strategy-insights-section{margin-top:1.5rem;padding:0 .5rem}.dashboard-section{margin-bottom:1.25rem}.dashboard-section-header{margin-bottom:.75rem}.dashboard-section-header h2,.dashboard-section-header h3{font-size:1.1rem;margin-bottom:.25rem}.dashboard-cards-grid{gap:.75rem}.scenarios-carousel,.what-if-scenarios{position:relative}.scenarios-carousel:after,.what-if-scenarios:after{content:"";position:absolute;right:0;top:0;bottom:0;width:30px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.95));pointer-events:none}.funding-strategy-section{padding:1rem;margin-bottom:1rem}.funding-strategy-section h2{font-size:1.1rem}.metric-value{font-size:2rem}.recommendations-summary-box{padding:1rem}.recommendations-summary-box h3{font-size:1.1rem}.view-action-plan-btn{padding:.75rem 1rem;font-size:.9rem}}.mobile-quick-actions{display:none}@media (max-width:768px){.mobile-quick-actions{display:block;margin:1rem 0 1.5rem;background:white;border-radius:10px;border:1px solid #e2e8f0;box-shadow:0 1px 4px rgba(0,0,0,.05);overflow:hidden}.quick-actions-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;padding:.75rem 1rem;background:none;border:none;cursor:pointer;gap:.5rem}.mobile-quick-actions--open .quick-actions-toggle{border-bottom:1px solid #e2e8f0}.quick-actions-toggle-label{display:flex;align-items:center;gap:.4rem;font-size:.9375rem;font-weight:700;color:#1e293b}.quick-actions-toggle-chevron{display:flex;align-items:center;color:#64748b;transition:transform .2s ease}.quick-actions-toggle-chevron svg{width:1rem;height:1rem}.quick-actions-toggle-chevron--up{transform:rotate(180deg)}.quick-actions-body{padding:.75rem .75rem .5rem;animation:slideDown .2s ease-out}.quick-actions-grid{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:.5rem;gap:.5rem;margin-bottom:.5rem}.quick-action-card{display:flex;flex-direction:column;align-items:center;padding:.75rem .5rem;background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0;cursor:pointer;transition:all .2s ease;text-align:center;min-height:80px;justify-content:center}.quick-action-card:active{transform:scale(.98);background:#f1f5f9}.quick-action-icon{width:2rem;height:2rem;border-radius:8px;display:flex;align-items:center;justify-content:center;margin-bottom:.5rem;flex-shrink:0}.quick-action-icon svg{width:1.125rem;height:1.125rem}.quick-action-title{font-size:.8125rem;font-weight:600;margin-bottom:.125rem;line-height:1.2}.quick-action-description{font-size:.6875rem;color:#64748b;line-height:1.3}.more-actions-link{display:flex;align-items:center;justify-content:center;gap:.375rem;padding:.5rem;color:#3b82f6;font-size:.8125rem;font-weight:500;cursor:pointer;transition:color .2s ease;margin-top:.25rem}.more-actions-link svg{width:.875rem;height:.875rem}.more-actions-link:active{color:#2563eb}.more-actions-expanded{margin-top:.75rem;padding-top:.75rem;border-top:1px solid #e2e8f0;animation:slideDown .2s ease-out}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}}.metric-header h4{font-size:.875rem;font-weight:600;color:var(--text-secondary);margin:0;text-transform:uppercase;letter-spacing:.05em}.btn-danger,.btn-primary,.btn-secondary{padding:.75rem 1.5rem;border:none;border-radius:var(--radius-md);font-size:1rem;font-weight:500;cursor:pointer;transition:all .2s}.btn-primary{background:var(--primary);color:white}.btn-primary:hover:not(:disabled){background:var(--primary-dark)}.btn-secondary{background:var(--gray-100);color:var(--text-primary)}.btn-secondary:hover:not(:disabled){background:var(--gray-200)}.btn-danger{background:var(--danger);color:white}.btn-danger:hover:not(:disabled){background:var(--danger-dark)}.btn-danger:disabled,.btn-primary:disabled,.btn-secondary:disabled{opacity:.5;cursor:not-allowed}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{transform:translateY(30px);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes bounce{0%,to{transform:scale(1)}50%{transform:scale(1.1)}}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.scenario-studio-tabs{display:flex;gap:4px;margin-bottom:1.5rem;overflow-x:auto;background:#f4f4f2!important;padding:3px!important;border-radius:14px;box-shadow:0 2px 8px rgba(0,0,0,.08)!important;border:1px solid #e6e2da}.scenario-studio-tab-button{padding:.62rem 1.2rem!important;border:1px solid transparent!important;background:transparent!important;color:#6b7280!important;font-size:.95rem;font-weight:600;cursor:pointer;border-bottom:0!important;border-radius:10px!important;transition:all .2s;white-space:nowrap;box-shadow:none!important}.scenario-studio-tab-button:hover{color:#1f2937!important;background:rgba(255,255,255,.6)!important;border-color:#e4e7eb!important}.scenario-studio-tab-button.active{color:#0f172a!important;background:#ffffff!important;border-color:#e2e8f0!important;border-radius:10px!important;box-shadow:0 1px 2px rgba(15,23,42,.08),0 4px 12px rgba(15,23,42,.08)!important;font-weight:700!important;transform:translateY(-1px)}.scenario-studio-tab-button:focus-visible{outline:none;border-color:#7dd3c7!important;box-shadow:0 0 0 3px rgba(0,168,138,.18)!important}.scenario-studio-modes{margin-bottom:.75rem}.scenario-studio-modes .scenario-studio-tab-button{font-size:1rem!important;padding:.7rem 1.5rem!important}.scenario-studio-subtabs{display:flex;gap:.375rem;flex-wrap:wrap;margin-bottom:1.5rem;padding-left:.25rem}.scenario-studio-subtab-button{padding:.4rem .9rem;border:1px solid #e2e8f0;background:#ffffff;color:#64748b;font-size:.875rem;font-weight:600;cursor:pointer;border-radius:999px;transition:all .15s;white-space:nowrap}.scenario-studio-subtab-button:hover{color:#0f172a;border-color:#cbd5e1}.scenario-studio-subtab-button.active{color:#0f766e;background:#f0fdfa;border-color:#5eead4}.scenario-studio-subtab-button:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(0,168,138,.18)}.scenario-studio-content{display:grid;grid-template-columns:1fr 2fr;grid-gap:2rem;gap:2rem}.scenario-studio-range-inputs{display:flex;flex-direction:column;gap:1rem}@media (max-width:768px){.view-container{padding:.5rem!important;max-width:100vw;overflow-x:clip;box-sizing:border-box}.view-header{padding:.75rem;margin-bottom:.75rem!important;max-width:100%;box-sizing:border-box}.view-header h1{font-size:1.25rem!important;line-height:1.3;margin-bottom:.5rem!important}.view-header p{font-size:.875rem!important;line-height:1.4}.view-header>div[style*=marginTop]{margin-top:.5rem!important;padding:.75rem!important;font-size:.8125rem!important}.card,.scenario-studio-content .card,.scenario-studio-input-panel .card,.scenario-studio-results-panel .card{max-width:100%!important;box-sizing:border-box!important}.card *{box-sizing:border-box}.card *,.card button,.card input,.card select{max-width:100%}.scenario-studio-tabs{display:flex;flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:thin;gap:4px;padding:3px!important;margin-bottom:.75rem!important;border-radius:10px;position:-webkit-sticky;position:sticky;top:70px;z-index:40;transition:box-shadow .2s ease,border-color .2s ease}.scenario-studio-tabs--mobile-scrolled{border-color:#ddd7cd #ddd7cd #d6d3cb;box-shadow:0 2px 10px rgba(15,23,42,.08)}.scenario-studio-tab-button{padding:.5rem 1rem!important;font-size:.8125rem!important;white-space:nowrap;flex-shrink:0;min-width:-moz-fit-content;min-width:fit-content}.scenario-studio-content{display:grid!important;grid-template-columns:1fr!important;grid-gap:.75rem!important;gap:.75rem!important;max-width:100%;overflow-x:hidden;box-sizing:border-box}.scenario-studio-input-panel{width:100%!important}.scenario-studio-input-panel,.scenario-studio-input-panel .card{max-width:100%!important;overflow-x:hidden!important;box-sizing:border-box!important}.scenario-studio-input-panel .card{padding:1rem!important;margin-bottom:.75rem!important}.scenario-studio-input-panel .card h3{font-size:1rem!important;margin-bottom:.75rem!important}.scenario-studio-input-panel select,.scenario-studio-metric-select{max-width:100%}.scenario-studio-input-panel .card select,.scenario-studio-input-panel select,.scenario-studio-metric-select{font-size:.8125rem!important;padding:.5rem!important;box-sizing:border-box}.scenario-studio-input-panel label{font-size:.8125rem;margin-bottom:.25rem}.scenario-studio-input-panel .form-group{margin-bottom:.75rem!important}.scenario-studio-range-inputs{display:grid;grid-template-columns:1fr 1fr 1fr;grid-gap:.5rem;gap:.5rem}.scenario-studio-range-inputs .form-group{margin-bottom:0!important;min-width:0}.scenario-studio-range-inputs .form-group label{font-size:.75rem;margin-bottom:.25rem}.scenario-studio-range-inputs .form-group input{font-size:.875rem;padding:.375rem!important}.scenario-studio-range-inputs .form-group p{font-size:.6875rem;margin-top:.25rem}.scenario-studio-input-panel .btn,.scenario-studio-input-panel .btn-primary,.scenario-studio-input-panel button{font-size:.8125rem!important;padding:.5rem 1rem!important}.scenario-studio-results-panel,.scenario-studio-results-panel .card{width:100%!important;max-width:100%!important;overflow-x:hidden!important;box-sizing:border-box!important}.scenario-studio-results-panel .card{padding:.75rem!important;margin-bottom:.75rem!important;overflow-y:visible;-webkit-overflow-scrolling:touch}.scenario-studio-results-panel .card h3,.scenario-studio-results-panel .card h4{font-size:1rem!important;margin-bottom:.5rem!important}.scenario-studio-results-panel .card label{font-size:.8125rem!important;margin-bottom:.25rem!important}.scenario-studio-content .card .scenario-studio-chart-container{max-width:100%!important;width:100%!important;box-sizing:border-box!important;overflow-x:hidden!important}.chart-title{font-size:.9375rem!important;line-height:1.3;word-wrap:break-word}.chart-header p{font-size:.8125rem!important;line-height:1.4;word-wrap:break-word}.scenario-studio-results-panel .card[style*=blue]{padding:.75rem!important}.scenario-studio-metric-card{padding:1rem!important;margin-bottom:.75rem!important}.metric-selector-header{flex-direction:column!important;align-items:flex-start!important;gap:.5rem;margin-bottom:.5rem!important}.metric-selector-header label{font-size:.875rem!important;width:100%}.metric-selector-header button{width:100%;font-size:.8125rem!important;padding:.5rem .875rem!important}.scenario-studio-chart-card{padding:.75rem!important;margin-bottom:.75rem!important}.scenario-studio-results-panel .card>div>div{font-size:.8125rem!important}.scenario-studio-results-panel .card p{font-size:.875rem!important}.scenario-studio-results-panel .btn,.scenario-studio-results-panel button{font-size:.8125rem!important;padding:.5rem .875rem!important}}.optimization-tab,.two-variable-analysis-tab{padding:0}.optimization-tab>div,.two-variable-analysis-tab>div{display:grid;grid-template-columns:1fr 2fr;grid-gap:1.5rem;gap:1.5rem}.optimization-tab .card{overflow:visible!important}.optimization-tab .card .btn,.optimization-tab .card .btn-full-width{overflow:visible!important;text-overflow:clip!important}@media (max-width:768px){.optimization-tab-content,.optimization-tab>div,.two-variable-analysis-tab>div{grid-template-columns:1fr!important;gap:1rem!important}.optimization-tab .card{width:100%;max-width:100%;box-sizing:border-box;padding:1rem}.optimization-tab .form-group{width:100%;margin-bottom:1rem}.optimization-tab .form-group label{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;word-break:break-word}.optimization-tab .btn-full-width{width:100%;min-width:auto}.optimization-tab input[type=number],.optimization-tab input[type=text],.optimization-tab select{width:100%;box-sizing:border-box}}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem;overflow-y:auto}.cash-flow-solutions-modal{background:white;border-radius:12px;max-width:900px;width:100%;max-height:90vh;display:flex;flex-direction:column;box-shadow:0 20px 60px rgba(0,0,0,.3)}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;border-bottom:2px solid #e5e7eb}.modal-header h2{margin:0;font-size:1.5rem;color:#1f2937}.modal-close{background:none;border:none;font-size:2rem;color:#6b7280;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all .2s}.modal-close:hover{background:#f3f4f6;color:#1f2937}.modal-body{padding:1.5rem;overflow-y:auto;flex:1 1}.loading-container{display:flex;justify-content:center;align-items:center;min-height:200px}.empty-state{text-align:center;padding:3rem;color:#6b7280}.solutions-list{display:flex;flex-direction:column;gap:1.5rem}.solution-card{border:2px solid #e5e7eb;border-radius:8px;padding:1.5rem;background:#f9fafb}.solution-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.solution-category{font-size:.875rem;font-weight:600;color:#3b82f6;text-transform:uppercase;letter-spacing:.5px}.solution-priority{font-size:.875rem;color:#6b7280;background:#e5e7eb;padding:.25rem .75rem;border-radius:4px}.solution-title{font-size:1.25rem;font-weight:600;color:#1f2937;margin:0 0 1rem}.solution-impact{margin-bottom:1rem;padding:.75rem;background:white;border-radius:6px;border-left:4px solid #3b82f6}.solution-impact strong{color:#1f2937}.savings-amount{color:#10b981;font-weight:600}.solution-recommendation{margin-bottom:1rem;padding:.75rem;background:white;border-radius:6px}.solution-recommendation strong{color:#1f2937}.solution-reasoning{margin-bottom:1rem;padding:.75rem;background:#fef3c7;border-radius:6px;border-left:4px solid #f59e0b}.solution-reasoning strong{color:#92400e}.solution-steps{margin-bottom:1rem;padding:.75rem;background:white;border-radius:6px}.solution-steps strong{color:#1f2937;display:block;margin-bottom:.5rem}.solution-steps ol{margin:0;padding-left:1.5rem}.solution-steps li{margin-bottom:.5rem;color:#4b5563}.solution-current-state{padding:.75rem;background:#f3f4f6;border-radius:6px;border-left:4px solid #6b7280}.solution-current-state strong{color:#1f2937;display:block;margin-bottom:.5rem}.solution-current-state ul{margin:0;padding-left:1.5rem;list-style:none}.solution-current-state li{margin-bottom:.5rem;color:#4b5563}.state-key{font-weight:600;color:#6b7280}.state-value{color:#1f2937;font-weight:500}.modal-footer{padding:1.5rem;border-top:2px solid #e5e7eb;display:flex;justify-content:flex-end}.btn-secondary{padding:.75rem 1.5rem;background:#6b7280;color:white;border:none;border-radius:6px;font-weight:600;cursor:pointer;transition:all .2s}.btn-secondary:hover{background:#4b5563}@media (max-width:768px){.cash-flow-solutions-modal{max-width:100%;max-height:100vh;border-radius:0}.modal-body,.modal-footer,.modal-header,.solution-card{padding:1rem}}.scenario-studio-save-modal{padding:2rem;min-width:400px;background:white;max-width:90vw;box-sizing:border-box}.scenario-studio-save-modal .modal-title{margin-top:0;margin-bottom:1.5rem;font-size:1.25rem;font-weight:600;color:#1f2937}.scenario-studio-save-modal .modal-form-group{margin-bottom:1.5rem}.scenario-studio-save-modal .modal-form-group label{display:block;margin-bottom:.5rem;font-weight:500;color:#374151;font-size:.9375rem}.scenario-studio-save-modal .modal-input{width:100%;padding:.5rem;font-size:.9375rem;border:1px solid #d1d5db;border-radius:6px;box-sizing:border-box}.scenario-studio-save-modal .modal-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,.1)}.scenario-studio-save-modal .form-hint{display:block;margin-top:.375rem;color:#6b7280;font-size:.75rem}.scenario-studio-save-modal .modal-actions{display:flex;gap:.75rem;justify-content:flex-end}@media (max-width:768px){.scenario-studio-save-modal{padding:1.25rem;min-width:unset;width:calc(100vw - 2rem);max-width:calc(100vw - 2rem);margin:0 1rem}.scenario-studio-save-modal .modal-title{font-size:1.125rem;margin-bottom:1rem}.scenario-studio-save-modal .modal-form-group{margin-bottom:1.25rem}.scenario-studio-save-modal .modal-form-group label{font-size:.875rem}.scenario-studio-save-modal .modal-input{font-size:.875rem;padding:.625rem}.scenario-studio-save-modal .modal-actions{flex-direction:column;gap:.5rem}.scenario-studio-save-modal .modal-actions .btn{width:100%!important;min-width:unset!important}}.scenario-studio-error-message{max-width:100%;box-sizing:border-box;word-wrap:break-word;overflow-wrap:break-word;white-space:normal}@media (max-width:768px){.scenario-studio-error-message{padding:1rem!important;font-size:.875rem!important;margin-bottom:1rem!important;margin-left:0!important;margin-right:0!important}.scenario-studio-error-message>div{gap:.5rem!important}.scenario-studio-error-message span{font-size:1.125rem!important}}.scenario-studio-run-analysis-btn-xyz123,button.scenario-studio-run-analysis-btn-xyz123{all:unset;display:block!important;box-sizing:border-box!important;width:100%!important;background-color:rgb(30,75,143)!important;background-image:none!important;color:rgb(255,255,255)!important;border:none!important;padding:.75rem 1.5rem!important;border-radius:6px!important;font-size:.9375rem!important;font-weight:500!important;cursor:pointer!important;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif!important;opacity:1!important;box-shadow:none!important;text-align:center!important;text-decoration:none!important;line-height:normal!important;-webkit-appearance:none!important;-moz-appearance:none!important;appearance:none!important;transition:none!important;transform:none!important;filter:none!important;margin-bottom:1rem!important}.scenario-studio-run-analysis-btn-xyz123:hover:not(:disabled),button.scenario-studio-run-analysis-btn-xyz123:hover:not(:disabled){background-color:rgb(24,60,115)!important}.scenario-studio-run-analysis-btn-xyz123:disabled,button.scenario-studio-run-analysis-btn-xyz123:disabled{background-color:rgb(203,213,225)!important;color:rgb(148,163,184)!important;cursor:not-allowed!important;opacity:1!important}@media (prefers-color-scheme:light){.scenario-studio-run-analysis-btn-xyz123,button.scenario-studio-run-analysis-btn-xyz123{background-color:rgb(30,75,143)!important;color:rgb(255,255,255)!important}.scenario-studio-run-analysis-btn-xyz123:disabled,button.scenario-studio-run-analysis-btn-xyz123:disabled{background-color:rgb(203,213,225)!important;color:rgb(148,163,184)!important}}.scenario-studio-save-results-btn-xyz123,button.scenario-studio-save-results-btn-xyz123{all:unset;display:block!important;box-sizing:border-box!important;width:100%!important;background-color:rgb(255,255,255)!important;background-image:none!important;color:rgb(30,75,143)!important;border:2px solid rgb(30,75,143)!important;padding:.75rem 1.5rem!important;border-radius:6px!important;font-size:.9375rem!important;font-weight:500!important;cursor:pointer!important;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif!important;opacity:1!important;box-shadow:none!important;text-align:center!important;text-decoration:none!important;line-height:normal!important;-webkit-appearance:none!important;-moz-appearance:none!important;appearance:none!important;transition:none!important;transform:none!important;filter:none!important;margin-bottom:1rem!important}.scenario-studio-save-results-btn-xyz123:hover,button.scenario-studio-save-results-btn-xyz123:hover{background-color:rgb(245,247,250)!important}@media (prefers-color-scheme:light){.scenario-studio-save-results-btn-xyz123,button.scenario-studio-save-results-btn-xyz123{background-color:rgb(255,255,255)!important;color:rgb(30,75,143)!important}}.modal-actions .scenario-studio-modal-btn-cancel-xyz123,.scenario-studio-modal-btn-cancel-xyz123,button.scenario-studio-modal-btn-cancel-xyz123{all:unset;display:inline-block!important;box-sizing:border-box!important;background-color:rgb(255,255,255)!important;background-image:none!important;color:rgb(30,75,143)!important;border:2px solid rgb(30,75,143)!important;padding:.75rem 1.5rem!important;border-radius:6px!important;font-size:.9375rem!important;font-weight:500!important;cursor:pointer!important;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif!important;opacity:1!important;box-shadow:none!important;text-align:center!important;text-decoration:none!important;line-height:normal!important;-webkit-appearance:none!important;-moz-appearance:none!important;appearance:none!important;transition:none!important;transform:none!important;filter:none!important}.modal-actions .scenario-studio-modal-btn-save-xyz123,.scenario-studio-modal-btn-save-xyz123,button.scenario-studio-modal-btn-save-xyz123{all:unset;display:inline-block!important;box-sizing:border-box!important;background-color:rgb(30,75,143)!important;background-image:none!important;color:rgb(255,255,255)!important;border:none!important;padding:.75rem 1.5rem!important;border-radius:6px!important;font-size:.9375rem!important;font-weight:500!important;cursor:pointer!important;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif!important;opacity:1!important;box-shadow:none!important;text-align:center!important;text-decoration:none!important;line-height:normal!important;-webkit-appearance:none!important;-moz-appearance:none!important;appearance:none!important;transition:none!important;transform:none!important;filter:none!important}.modal-actions .scenario-studio-modal-btn-save-xyz123:disabled,.scenario-studio-modal-btn-save-xyz123:disabled,button.scenario-studio-modal-btn-save-xyz123:disabled{background-color:rgb(203,213,225)!important;background-image:none!important;color:rgb(148,163,184)!important;cursor:not-allowed!important;opacity:1!important}@media (prefers-color-scheme:light){.scenario-studio-modal-btn-cancel-xyz123,button.scenario-studio-modal-btn-cancel-xyz123{background-color:rgb(255,255,255)!important;color:rgb(30,75,143)!important}.scenario-studio-modal-btn-save-xyz123,button.scenario-studio-modal-btn-save-xyz123{background-color:rgb(30,75,143)!important;color:rgb(255,255,255)!important}.scenario-studio-modal-btn-save-xyz123:disabled,button.scenario-studio-modal-btn-save-xyz123:disabled{background-color:rgb(203,213,225)!important;color:rgb(148,163,184)!important}.dashboard-view{background:linear-gradient(135deg,#e8f0ff,#f0f4ff 50%,#fff)}.dashboard-view--guided .dashboard-content{gap:var(--dash-space-2,.65rem)}.dashboard-view--guided .dashboard-header{padding:0;margin-bottom:var(--dash-space-1,8px)}.dashboard-view--guided .dashboard-header__title-row{margin-bottom:var(--dash-space-1,8px)}.dashboard-view--guided .dashboard-header h1,.dashboard-view--guided .dashboard-header__title-row>h1.dashboard-header__title{margin-bottom:0}.dashboard-view--guided .guided-welcome{padding:1rem 1.25rem;margin-bottom:.75rem}.dashboard-content{display:flex;flex-direction:column;gap:var(--dash-space-3,16px);align-items:stretch}.dashboard-tabs-row{display:flex;width:100%;justify-content:flex-start;align-items:flex-start;flex-shrink:0}.dashboard-header{background:transparent;box-shadow:none;border-radius:0;padding:0;margin-bottom:var(--dash-space-2,12px)}.dashboard-header__title-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem 1rem;margin-bottom:var(--dash-space-2,12px)}.dashboard-header__meta-row{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;margin:0 0 var(--dash-space-2,12px) 0}.dashboard-header__title-row>h1.dashboard-header__title{margin:0;color:#0b1829;font-size:2rem;letter-spacing:-.02em;flex:1 1;min-width:min(100%,200px)}.dashboard-header h1{color:#0b1829;font-size:2rem;margin-bottom:.5rem;letter-spacing:-.02em}.dashboard-header p,.dashboard-header span{color:#546070}.strategy-analysis-grid,.strategy-plan-analysis-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:.75rem;gap:.75rem}.strategy-analysis-card{background:#ffffff;border:1px solid #e0dbd2;border-radius:16px;padding:1.25rem 1.35rem}.strategy-analysis-card__row{display:flex;gap:.9rem;justify-content:space-between;align-items:flex-start}.strategy-analysis-card__content{flex:1 1;min-width:0}.strategy-analysis-card__label{font-size:.62rem;text-transform:uppercase;letter-spacing:.1em;color:#8899aa;font-weight:700;margin-bottom:.35rem}.strategy-analysis-card__title{font-size:.95rem;line-height:1.3;font-weight:700;color:#0b1829;margin-bottom:.45rem}.strategy-analysis-card__desc{font-size:.78rem;line-height:1.55;color:#546070;margin-bottom:.5rem}.strategy-analysis-card__link{border:none;background:transparent;padding:0;color:#00a88a;font-weight:500;font-size:.8rem;cursor:pointer}.strategy-analysis-card__link:hover{text-decoration:underline}.strategy-analysis-card__action{flex-shrink:0}.strategy-analysis-card__outline-btn{background:#ffffff;border:1px solid #d4cec3;color:#546070;border-radius:12px;padding:.52rem 1.2rem;font-size:.74rem;font-weight:500;cursor:pointer}.strategy-analysis-card__outline-btn:hover{border-color:#bfb7aa;color:#0b1829}@media (max-width:640px){.strategy-analysis-card__row{flex-direction:column}.strategy-analysis-card__action{align-self:stretch}.strategy-analysis-card__outline-btn{width:100%}}@media (max-width:980px){.strategy-analysis-grid,.strategy-plan-analysis-grid{grid-template-columns:1fr}}}.existing-profiles-section .add-profile-btn,.existing-profiles-section .add-profile-btn.btn-medium,.existing-profiles-section .add-profile-btn.btn-primary,.existing-profiles-section .add-profile-btn.btn-sm,.existing-profiles-section button.add-profile-btn{background:var(--color-primary)!important;background-image:none!important;border:none!important;color:white!important;padding:.375rem .625rem!important;font-size:.8125rem!important;font-weight:500!important;min-width:0!important;max-width:none!important;width:-moz-fit-content!important;width:fit-content!important;height:auto!important;line-height:1.2!important;flex:0 0 auto!important;flex-shrink:0!important;flex-grow:0!important;flex-basis:auto!important;box-sizing:border-box!important}.existing-profiles-section .add-profile-btn.btn-primary:hover,.existing-profiles-section .add-profile-btn:hover{background:var(--color-primary-hover)!important;background-image:none!important;color:white!important}@keyframes rotatePulse{0%,to{transform:rotate(0deg) scale(1)}25%{transform:rotate(-5deg) scale(1.1)}50%{transform:rotate(0deg) scale(1.15)}75%{transform:rotate(5deg) scale(1.1)}}@keyframes shimmer{0%,to{text-shadow:0 0 10px rgba(16,185,129,.3)}50%{text-shadow:0 0 20px rgba(16,185,129,.6),0 0 30px rgba(16,185,129,.4)}}.savings-icon-animated{animation:rotatePulse 3s ease-in-out infinite;transform-origin:center;filter:drop-shadow(0 0 8px rgba(16,185,129,.4))}.savings-value-animated{animation:shimmer 2s ease-in-out infinite;font-weight:600!important;font-size:1.5rem!important}@media (max-width:768px){.chart-teaser-section{padding:1rem!important;border-radius:8px!important;margin-bottom:1rem!important}.chart-teaser-section h2{font-size:1.1rem!important;margin-bottom:.25rem!important}.chart-teaser-section p{font-size:.8rem!important}.chart-teaser-section>div>div:first-child{gap:.75rem!important}.chart-teaser-section>div>div:nth-child(2){grid-template-columns:1fr!important;gap:.625rem!important}.chart-teaser-section>div>div:nth-child(2)>div{padding:.875rem!important}.chart-teaser-section>div>div:nth-child(2)>div>div:first-child{font-size:1.25rem!important;margin-bottom:.25rem!important}.chart-teaser-section>div>div:nth-child(2)>div>div:nth-child(2){font-size:.85rem!important}.chart-teaser-section>div>div:nth-child(2)>div>div:nth-child(3){font-size:.75rem!important}.chart-preview-container{padding:.5rem .5rem .75rem!important}.chart-teaser-section button{padding:.5rem 1.25rem!important;font-size:.8rem!important}}@media (max-width:640px){.scenario-studio-tabs,.stress-test-tabs{top:60px}}#optimization-bar{margin-top:var(--dash-space-3,16px)}#strategies-optimization-bar{scroll-margin-top:5.5rem}@media (max-width:768px){#strategies-optimization-bar{scroll-margin-top:5rem}}#improve-your-plan.plan-completeness-checklist-anchor,#plan-completeness-checklist.plan-completeness-checklist-anchor{scroll-margin-top:5.5rem}#confirm-the-details.plan-completeness-checklist-anchor{scroll-margin-top:7rem}@media (max-width:640px){#improve-your-plan.plan-completeness-checklist-anchor,#plan-completeness-checklist.plan-completeness-checklist-anchor{scroll-margin-top:5rem}#confirm-the-details.plan-completeness-checklist-anchor{scroll-margin-top:6.5rem}}.guardrail-updating-overlay{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.5);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);animation:guardrail-overlay-fadein .18s ease-out}.guardrail-updating-overlay__card{display:flex;align-items:center;gap:1rem;padding:1.25rem 1.75rem;background:#fff;border-radius:16px;box-shadow:0 8px 32px rgba(0,0,0,.12),0 2px 8px rgba(0,0,0,.06);border:1px solid #e2e8f0;min-width:280px}.guardrail-updating-overlay__spinner{width:28px;height:28px;border:3px solid #e2e8f0;border-top-color:#2563eb;border-radius:50%;animation:guardrail-spin .7s linear infinite;flex-shrink:0}.guardrail-updating-overlay__content{display:flex;flex-direction:column;gap:.2rem}.guardrail-updating-overlay__title{font-size:.95rem;font-weight:700;color:#0f172a}.guardrail-updating-overlay__phase{font-size:.8rem;font-weight:500;color:#64748b;transition:opacity .2s ease}@keyframes guardrail-spin{to{transform:rotate(1turn)}}@keyframes guardrail-overlay-fadein{0%{opacity:0}to{opacity:1}}