*{margin:0;padding:0;box-sizing:border-box}body{font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;background:linear-gradient(135deg,#667eea,#764ba2);min-height:100vh;color:#333}.app,.app-layout{min-height:100vh;display:flex;flex-direction:column}.app-main{display:flex;flex:1 1;overflow:visible}.secondary-nav{width:240px;background:#f8fafc;border-right:1px solid #e2e8f0;overflow-y:auto;flex-shrink:0}.secondary-nav-header{padding:1.5rem 1rem;border-bottom:1px solid #e2e8f0}.secondary-nav-title{font-size:.75rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.05em;margin-bottom:.5rem}.secondary-nav-subtitle{font-size:1.25rem;font-weight:700;color:#1e293b}.secondary-nav-menu{padding:1rem 0}.secondary-nav-section{margin-bottom:1.5rem}.secondary-nav-section-title{padding:.5rem 1rem;font-size:.75rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.05em}.secondary-nav-item{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;margin:.25rem .5rem;color:#475569;text-decoration:none;border-radius:8px;font-size:.9375rem;font-weight:500;transition:all .2s;cursor:pointer}.secondary-nav-item:hover{background:#e2e8f0;color:#1e293b}.secondary-nav-item.active{background:var(--color-primary);color:white}.secondary-nav-item svg{width:20px;height:20px;flex-shrink:0}.secondary-nav-item-badge{margin-left:auto;background:#ef4444;color:white;font-size:.75rem;padding:.125rem .5rem;border-radius:10px;font-weight:600}.content-area{flex:1 1;overflow-y:auto;background:white}.app-header{background:rgba(255,255,255,.95);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);padding:1rem 2rem;box-shadow:0 2px 20px rgba(0,0,0,.1);position:-webkit-sticky;position:sticky;top:0;z-index:100}.header-content{max-width:1200px;margin:0 auto;justify-content:space-between}.header-content,.logo{display:flex;align-items:center}.logo{gap:.5rem;font-weight:700}.logo-icon{width:32px;height:32px;color:#667eea}.logo h1{color:#333;font-size:1.5rem}.api-status{padding:.5rem 1rem;background:rgba(102,126,234,.1);border-radius:20px;font-size:.9rem;font-weight:500}.main-content{flex:1 1;max-width:1200px;margin:0 auto;padding:2rem;width:100%}.loading{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:50vh;color:white;text-align:center}.loading-icon{width:48px;height:48px;margin-bottom:1rem;animation:spin 2s linear infinite}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.welcome-section{text-align:center;margin-bottom:3rem;color:white}.welcome-section h2{font-size:2.5rem;margin-bottom:1rem;text-shadow:0 2px 4px rgba(0,0,0,.3)}.welcome-section p{font-size:1.2rem;opacity:.9;margin-bottom:2rem}.error-message{background:rgba(255,107,107,.9);color:white;padding:1rem;border-radius:8px;margin:1rem auto;max-width:600px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:1rem}.retry-btn{background:white;color:#ff6b6b;border:none;padding:.5rem 1rem;border-radius:4px;cursor:pointer;font-weight:500}.retry-btn:hover{background:#f0f0f0}.summary-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));grid-gap:1rem;gap:1rem;margin-bottom:1.5rem}.summary-cards.compact{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:.5rem;margin-bottom:1rem}.summary-cards.compact .card{padding:.75rem;background:linear-gradient(135deg,#f8fafc,#f1f5f9);border:1px solid #e2e8f0}.summary-cards.compact .card-header{margin-bottom:.375rem}.summary-cards.compact .card-icon{width:16px;height:16px}.summary-cards.compact .card-header span{font-size:.7rem;line-height:1.2}.summary-cards.compact .card-value{font-size:1.25rem;line-height:1.3;margin-bottom:.25rem}.summary-cards.compact .card-sublabel{font-size:.65rem;line-height:1.3}.projections-section{margin-top:2rem;margin-bottom:1.5rem}.projections-section h3{font-size:1rem;font-weight:600;color:#374151;margin-bottom:.75rem;display:flex;align-items:center;gap:.5rem}.projections-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));grid-gap:.75rem;gap:.75rem}.projections-cards .card{padding:1rem;background:linear-gradient(135deg,#f0f9ff,#e0f2fe);border:1px solid #bae6fd;display:flex;flex-direction:column}.projections-cards .card-header{margin-bottom:.5rem;min-height:34px}.projections-cards .card.ss-opportunity-card .card-header{margin-bottom:.33rem}.projections-cards .card-icon{width:18px;height:18px;color:#0284c7}.projections-cards .card-header span{font-size:.75rem;color:#0369a1}.projections-cards .card-value{font-size:1.35rem;color:#0c4a6e;margin-top:.1rem}.projections-cards .card-sublabel{font-size:.7rem;color:#0369a1}.ss-opportunity-value{color:#10b981}.projections-cards .card.ss-opportunity-card .card-sublabel,.ss-card-links{display:flex;flex-direction:column;gap:.2rem}@media (max-width:768px){.projections-cards .card.ss-opportunity-card .card-sublabel,.projections-cards .ss-card-links{gap:.125rem!important}}.ss-card-link{background:none;border:none;padding:0;color:#3b82f6;font-size:.72rem;font-weight:500;text-align:left;cursor:pointer;line-height:1.1;margin:0}.ss-card-link:hover{text-decoration:underline}.projections-cards .card.action-card{background:linear-gradient(135deg,#fef3c7,#fde68a);border:1px solid #fbbf24;cursor:pointer}.projections-cards .card.action-card:hover{transform:translateY(-2px);box-shadow:0 6px 20px rgba(251,191,36,.3)}.projections-cards .card.action-card .card-icon{color:#d97706}.projections-cards .card.action-card .card-header span{color:#92400e}.projections-cards .card.action-card .card-value{font-size:1.1rem;color:#78350f}.projections-cards .card.action-card .card-sublabel{color:#92400e}@media (max-width:768px){.projections-section{padding:.75rem;margin:.75rem 0;position:relative}.projections-section h3{font-size:1.1rem;margin-bottom:.5rem}.projections-cards{display:flex;flex-direction:row;overflow-x:auto;overflow-y:hidden;gap:.75rem;padding-bottom:.5rem;-webkit-overflow-scrolling:touch;scroll-behavior:smooth;scrollbar-width:thin;scrollbar-color:rgba(59,130,246,.5) transparent;position:relative}.projections-cards::-webkit-scrollbar{height:6px}.projections-cards::-webkit-scrollbar-track{background:transparent}.projections-cards::-webkit-scrollbar-thumb{background:rgba(59,130,246,.5);border-radius:3px}.projections-cards .card{flex:0 0 75vw;min-width:240px;max-width:280px}.projections-cards .card:hover{transform:none}.projections-section:after{content:"";position:absolute;right:0;top:2.5rem;bottom:.5rem;width:25px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.95));pointer-events:none;z-index:1}}.projections-scroll-hint{display:none}@media (max-width:768px){.projections-scroll-hint{display:flex;align-items:center;justify-content:center;gap:.375rem;font-size:.7rem;color:#64748b;margin-top:.375rem;padding:.125rem 0}.projections-scroll-hint svg{width:.875rem;height:.875rem;animation:hint-bounce 1.5s ease-in-out infinite}.summary-cards{display:flex;flex-direction:row;overflow-x:auto;overflow-y:hidden;gap:1rem;margin-bottom:2rem;padding-bottom:.5rem;-webkit-overflow-scrolling:touch;scroll-behavior:smooth;scrollbar-width:thin;scrollbar-color:rgba(102,126,234,.5) transparent}}@media (max-width:768px){.summary-cards::-webkit-scrollbar{height:6px}.summary-cards::-webkit-scrollbar-track{background:transparent}.summary-cards::-webkit-scrollbar-thumb{background:rgba(102,126,234,.5);border-radius:3px}.summary-cards::-webkit-scrollbar-thumb:hover{background:rgba(102,126,234,.7)}.summary-cards .card{flex:0 0 75vw;min-width:240px;max-width:280px}.summary-cards .card:hover{transform:none}.summary-cards .card.clickable:hover{transform:none;animation:none}.summary-cards.compact{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:.5rem;gap:.5rem;overflow-x:visible;overflow-y:visible;padding-bottom:0}.summary-cards.compact .card{flex:none;min-width:0;max-width:none;width:100%}.cards-scroll-container{position:relative}.cards-scroll-container: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;z-index:1}}.cards-scroll-hint{display:none}@media (max-width:768px){.cards-scroll-hint{display:flex;align-items:center;justify-content:center;gap:.375rem;font-size:.7rem;color:#64748b;margin-top:.375rem;margin-bottom:.5rem;padding:.125rem 0}.cards-scroll-hint svg{width:.875rem;height:.875rem;animation:hint-bounce 1.5s ease-in-out infinite}.summary-cards.compact+.cards-scroll-hint{display:none}@keyframes hint-bounce{0%,to{transform:translateX(0)}50%{transform:translateX(4px)}}}.card{background:rgba(255,255,255,.95);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);padding:1.5rem;border-radius:12px;box-shadow:0 4px 20px rgba(0,0,0,.1);transition:transform .3s ease,box-shadow .3s ease;overflow:hidden;word-wrap:break-word}.card:hover{transform:translateY(-4px);box-shadow:0 8px 30px rgba(0,0,0,.15)}.card.clickable{cursor:pointer;transition:all .3s ease}.card.clickable:hover{transform:translateY(-6px);box-shadow:0 12px 40px rgba(59,130,246,.3);border:2px solid #3b82f6;animation:pulse-glow 2s ease-in-out infinite}@keyframes pulse-glow{0%,to{box-shadow:0 12px 40px rgba(59,130,246,.3)}50%{box-shadow:0 12px 50px rgba(59,130,246,.5)}}.card .allocation-display{display:flex;align-items:center;justify-content:center;gap:.25rem;flex-wrap:wrap}.card-header{display:flex;align-items:center;gap:.5rem;margin-bottom:1rem}.card-icon{width:24px;height:24px;color:#667eea}.card h3{color:#666;font-size:.9rem;font-weight:500;text-transform:uppercase;letter-spacing:.5px}.card-value{font-size:2rem;font-weight:700;color:#333}.card-sublabel{font-size:.8125rem;color:var(--color-text-secondary);margin-top:.25rem}.allocation-insight{word-wrap:break-word;overflow-wrap:break-word;max-width:100%}.charts-section{display:grid;grid-template-columns:1fr;grid-gap:2rem;gap:2rem;margin-bottom:3rem;overflow-x:visible;overflow-y:visible}.charts-section .chart-container{width:100%;max-width:100%}.chart-container{background:rgba(255,255,255,.95);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);padding:1.5rem;border-radius:12px;box-shadow:0 4px 20px rgba(0,0,0,.1);min-height:400px;width:100%}.chart-container .recharts-responsive-container{min-height:350px}.chart-container h3{margin-bottom:1rem;color:#333;font-size:1.2rem}.features-section{background:rgba(255,255,255,.95);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);padding:2rem;border-radius:12px;box-shadow:0 4px 20px rgba(0,0,0,.1);margin-bottom:3rem}.features-section h3{text-align:center;margin-bottom:2rem;color:#333;font-size:1.5rem}.features-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));grid-gap:1.5rem;gap:1.5rem}.feature-card{padding:1.5rem;background:rgba(102,126,234,.1);border-radius:8px;border-left:4px solid #667eea}.feature-card h4{margin-bottom:.5rem;color:#333}.feature-card p{color:#666;line-height:1.5}.api-section{background:rgba(255,255,255,.95);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);padding:2rem;border-radius:12px;box-shadow:0 4px 20px rgba(0,0,0,.1);margin-bottom:3rem}.api-section h3{margin-bottom:1rem;color:#333}.api-endpoints{display:flex;flex-direction:column;gap:.5rem;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:.9rem}.endpoint{padding:.5rem;background:rgba(0,0,0,.05);border-radius:4px}.app-footer{background:rgba(255,255,255,.95);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);padding:1rem;text-align:center;color:#666;font-size:.9rem}@media (max-width:768px){.main-content{padding:1rem}.welcome-section h2{font-size:2rem}.header-content{flex-direction:column;gap:1rem;text-align:center}}::-webkit-scrollbar{width:8px}::-webkit-scrollbar-track{background:rgba(0,0,0,.1)}::-webkit-scrollbar-thumb{background:rgba(102,126,234,.5);border-radius:4px}::-webkit-scrollbar-thumb:hover{background:rgba(102,126,234,.7)}.profile-selection{max-width:800px;margin:0 auto}.section-header{margin-bottom:1.5rem}.section-header h3{color:white;font-size:1.5rem;text-shadow:0 2px 4px rgba(0,0,0,.3);margin-bottom:.5rem}.create-profile-section{background:rgba(255,255,255,.95);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);padding:2rem;border-radius:12px;box-shadow:0 4px 20px rgba(0,0,0,.1);margin-bottom:2rem}.create-profile-form{display:flex;gap:1rem;align-items:center;flex-wrap:wrap}.profile-input{flex:1 1;min-width:300px;padding:.75rem 1rem;border:2px solid #e1e5e9;border-radius:8px;font-size:1rem;transition:border-color .3s ease,box-shadow .3s ease;background:white}.profile-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px rgba(102,126,234,.1)}.profile-input:disabled{background:#f5f5f5;cursor:not-allowed}.create-profile-btn{padding:.75rem 1.5rem;background:#667eea;color:white;border:none;border-radius:8px;font-size:1rem;font-weight:500;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;gap:.5rem;min-width:120px;justify-content:center}.create-profile-btn:hover:not(:disabled){background:#5a6fd8;transform:translateY(-2px);box-shadow:0 4px 15px rgba(102,126,234,.3)}.create-profile-btn:disabled{background:#ccc;cursor:not-allowed;transform:none;box-shadow:none}.btn-spinner{width:16px;height:16px;animation:spin 1s linear infinite}.existing-profiles-section{background:rgba(255,255,255,.95);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);padding:2rem;border-radius:12px;box-shadow:0 4px 20px rgba(0,0,0,.1)}.profiles-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));grid-gap:1.5rem;gap:1.5rem}.profile-card{background:white;border:2px solid #e1e5e9;border-radius:8px;padding:1.5rem;cursor:pointer;transition:all .3s ease;overflow:hidden}.profile-card:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(135deg,#667eea,#764ba2)}.profile-card:hover{border-color:#667eea;transform:translateY(-4px);box-shadow:0 8px 25px rgba(102,126,234,.15)}.profile-card-content h4{color:#333;font-size:1.2rem;margin-bottom:.5rem;font-weight:600}.profile-date{color:#666;font-size:.9rem;margin-bottom:.5rem}.profile-id{color:#999;font-size:.8rem;font-family:Monaco,Menlo,Ubuntu Mono,monospace;background:rgba(0,0,0,.05);padding:.25rem .5rem;border-radius:4px;display:inline-block}.dashboard-header{background:rgba(255,255,255,.95);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);padding:1rem 2rem;border-radius:12px;box-shadow:0 4px 20px rgba(0,0,0,.1);margin-bottom:2rem;position:relative;z-index:100}.profile-info{display:flex;align-items:center;gap:1rem}.back-btn{padding:.5rem 1rem;background:rgba(102,126,234,.1);border:1px solid #667eea;border-radius:6px;color:#667eea;cursor:pointer;transition:all .3s ease;font-size:.9rem}.back-btn:hover{background:#667eea;color:white}.profile-info h2{color:#333;margin:0}@media (max-width:768px){.create-profile-form{flex-direction:column;align-items:stretch}.profile-input{min-width:unset}.profiles-grid{grid-template-columns:1fr}.profile-info{flex-direction:column;align-items:flex-start;gap:.5rem}}.retirement-onboarding{max-width:1400px;margin:0 auto;background:rgba(255,255,255,.95);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:12px;box-shadow:0 4px 20px rgba(0,0,0,.1);overflow:visible;position:relative;min-height:100vh;display:flex;flex-direction:column}.onboarding-header{background:linear-gradient(135deg,#667eea,#764ba2);color:white;padding:2rem;text-align:center}.onboarding-header h2{margin-bottom:1rem;font-size:1.5rem}.progress-bar{width:100%;height:8px;background:rgba(255,255,255,.3);border-radius:4px;margin:1rem 0;overflow:hidden}.progress-fill{height:100%;background:white;transition:width .3s ease;border-radius:4px}.onboarding-step{padding:2rem}.onboarding-step h3{color:#333;font-size:1.3rem}.input-group{margin-bottom:1.5rem}.input-group label{display:block;color:#555;font-weight:500;margin-bottom:.5rem}.input-group input,.input-group select{width:100%;padding:.75rem;border:2px solid #e1e5e9;border-radius:8px;font-size:1rem;transition:border-color .3s ease;background:white}.input-group input:focus,.input-group select:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px rgba(102,126,234,.1)}.input-group small{display:block;color:#777;font-size:.85rem;margin-top:.25rem}.input-group.checkbox-group .checkbox-label{display:flex;align-items:center;gap:10px;cursor:pointer;margin-bottom:.5rem}.input-group.checkbox-group .checkbox-label input[type=checkbox]{width:auto;height:18px;cursor:pointer;margin:0}.input-group.checkbox-group .checkbox-label span{font-weight:500;color:#555}.radio-group{flex-direction:column;gap:1rem;margin-top:.5rem}.radio-group label{display:flex;align-items:center;gap:.75rem;padding:1rem 1.25rem;border:2px solid #e1e5e9;border-radius:8px;cursor:pointer;transition:all .3s ease;background:white}.radio-group label:hover{border-color:#667eea;background:rgba(102,126,234,.05)}.radio-group input[type=radio]:checked+label,.radio-group label:has(input[type=radio]:checked){border-color:#667eea;background:rgba(102,126,234,.1);color:#667eea;font-weight:500}.radio-group input[type=radio]{width:auto;margin:0}.onboarding-actions{display:flex;justify-content:space-between;align-items:center;padding:2rem;background:rgba(0,0,0,.02);border-top:1px solid #e1e5e9}.onboarding-actions>div{display:flex;gap:1rem}.btn-primary{padding:.75rem 2rem;background:#667eea;color:white;border:none;border-radius:8px;font-size:1rem;font-weight:500;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;gap:.5rem;min-width:140px;justify-content:center}.btn-primary:hover:not(:disabled){background:#5a6fd8;transform:translateY(-2px);box-shadow:0 4px 15px rgba(102,126,234,.3)}.btn-primary:disabled{background:#ccc;cursor:not-allowed;transform:none;box-shadow:none}.btn-secondary{background:rgba(102,126,234,.1);color:#667eea;border:1px solid #667eea;font-size:1rem}.btn-secondary:hover{background:#667eea;color:white}.btn-skip{padding:.75rem 1.5rem;background:transparent;color:#777;border:1px solid #ddd;border-radius:8px;font-size:1rem;cursor:pointer;transition:all .3s ease}.btn-skip:hover{background:#f5f5f5;color:#555}@media (max-width:768px){.retirement-onboarding{margin:0;max-width:unset;border-radius:0}.sticky-actions{padding:1rem}.onboarding-header,.onboarding-step{padding:1.5rem}.onboarding-actions{padding:1.5rem;flex-direction:column;gap:1rem}.btn-primary,.btn-secondary,.btn-skip,.onboarding-actions>div{justify-content:center;width:100%}.radio-group label{padding:.75rem}}.retirement-analysis{margin:3rem 0}.analysis-header{text-align:center;margin-bottom:2rem}.analysis-header h3{color:white;font-size:2rem;margin-bottom:.5rem;text-shadow:0 2px 4px rgba(0,0,0,.3)}.analysis-header p{color:rgba(255,255,255,.9);font-size:1.1rem}.metrics-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));grid-gap:1.5rem;gap:1.5rem;margin-bottom:3rem}@media (max-width:768px){.metrics-grid{display:flex;flex-direction:row;overflow-x:auto;overflow-y:hidden;gap:1rem;margin-bottom:2rem;padding-bottom:.5rem;-webkit-overflow-scrolling:touch;scroll-behavior:smooth;scrollbar-width:thin;scrollbar-color:rgba(59,130,246,.5) transparent}.metrics-grid::-webkit-scrollbar{height:6px}.metrics-grid::-webkit-scrollbar-track{background:transparent}.metrics-grid::-webkit-scrollbar-thumb{background:rgba(59,130,246,.5);border-radius:3px}.metrics-grid::-webkit-scrollbar-thumb:hover{background:rgba(59,130,246,.7)}.metrics-grid .metric-card,.metrics-grid .metric-header{flex:0 0 85vw;min-width:280px;max-width:320px}.metrics-grid .metric-card:hover{transform:none}}.metric-card{background:rgba(255,255,255,.95);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);padding:1.5rem;box-shadow:0 4px 20px rgba(0,0,0,.1);transition:transform .3s ease;flex-direction:column;min-height:200px;overflow:hidden}.metric-card:hover{transform:translateY(-4px)}.metric-header{text-align:center;min-height:2.5rem;display:flex;align-items:center;justify-content:center;margin-bottom:.75rem}.metric-header h4{color:#333;font-size:.875rem;margin:0;font-weight:600;line-height:1.3}.metric-value{font-size:clamp(1.5rem,5vw,2.25rem);color:#667eea;word-break:break-all;margin-bottom:.5rem}.metric-subtitle,.metric-value{text-align:center;flex:0 0 auto}.metric-subtitle{color:#666;font-size:.9rem;margin-bottom:.75rem}.metric-info{display:flex;align-items:center;justify-content:flex-start;gap:6px;padding-top:.5rem;border-top:1px solid rgba(0,0,0,.1);margin-top:auto}.info-icon{font-size:.875rem;cursor:help;opacity:.6;transition:opacity .2s;flex-shrink:0}.info-icon:hover{opacity:1}.info-text{color:#666;font-size:.8rem;line-height:1.3;word-wrap:break-word}.metric-detail{color:#999;font-size:.9rem}.scenarios-section{background:rgba(255,255,255,.95);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:12px;padding:2rem;margin-bottom:2rem;box-shadow:0 4px 20px rgba(0,0,0,.1)}.scenarios-section h4{color:#333;margin-bottom:1.5rem;font-size:1.3rem}.scenarios-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));grid-gap:1.5rem;gap:1.5rem}.scenario-card{background:white;border:2px solid #e1e5e9;border-radius:8px;padding:1.5rem;transition:all .3s ease}.scenario-card:hover{border-color:#667eea;box-shadow:0 4px 15px rgba(102,126,234,.1)}.scenario-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.scenario-header h5{color:#333;margin:0;font-size:1.1rem}.success-badge{color:white;padding:.25rem .75rem;border-radius:20px;font-size:.8rem;font-weight:500}.scenario-details{display:flex;flex-direction:column;gap:.75rem}.scenario-metric{display:flex;justify-content:space-between;align-items:center}.scenario-metric span{color:#666;font-size:.9rem}.scenario-metric strong{color:#333}.recommendations-section{background:rgba(255,255,255,.95);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:12px;padding:2rem;margin-bottom:2rem;box-shadow:0 4px 20px rgba(0,0,0,.1)}.recommendations-section h4{color:#333;margin-bottom:1.5rem;font-size:1.3rem}.recommendations-list{display:flex;flex-direction:column;gap:1rem}.recommendation-card{border-radius:8px;position:relative;border:1px solid #e1e5e9;border-left:4px solid transparent}.recommendation-card:hover{box-shadow:0 2px 10px rgba(0,0,0,.1)}.recommendation-header{align-items:center;margin-bottom:.5rem}.priority-indicator{width:8px;height:8px;border-radius:50%}.recommendation-header h5{color:#333;margin:0;flex:1 1}.priority-badge{padding:.25rem .5rem;border-radius:4px;font-size:.8rem;font-weight:500;text-transform:uppercase}.priority-high{background:rgba(244,67,54,.1);color:#f44336}.priority-medium{background:rgba(255,152,0,.1);color:#ff9800}.priority-low{background:rgba(76,175,80,.1);color:#4caf50}.recommendation-card p{color:#666;line-height:1.5;margin:0}.strategies-section{background:rgba(255,255,255,.95);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:12px;padding:2rem;box-shadow:0 4px 20px rgba(0,0,0,.1)}.strategies-section h4{color:#333;margin-bottom:1.5rem;font-size:1.3rem}.strategies-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));grid-gap:1.5rem;gap:1.5rem}.strategy-card{background:white;border:1px solid #e1e5e9;border-radius:8px;padding:1.5rem;transition:all .3s ease}.strategy-card:hover{border-color:#667eea;box-shadow:0 4px 15px rgba(102,126,234,.1)}.strategy-card h5{color:#333;margin-bottom:.5rem;font-size:1.1rem}.strategy-description{color:#666;font-size:.9rem;margin-bottom:1rem;line-height:1.5}.strategy-details{display:flex;flex-direction:column;gap:.5rem}.strategy-metric{display:flex;justify-content:space-between;align-items:center;padding:.5rem;background:rgba(102,126,234,.05);border-radius:4px}.strategy-metric span{color:#666;font-size:.9rem}.strategy-metric strong{color:#333}@media (max-width:768px){.scenarios-grid,.strategies-grid{grid-template-columns:1fr}.recommendation-header,.scenario-header{flex-direction:column;align-items:flex-start;gap:.5rem}.metric-value{font-size:2rem}}.property-cost-estimate{background:rgba(102,126,234,.05);border:1px solid rgba(102,126,234,.2);border-radius:8px;padding:1.5rem;margin-top:1rem}.property-cost-estimate h4{color:#667eea;margin-bottom:1rem;font-size:1.1rem}.cost-breakdown{display:flex;flex-direction:column;gap:.75rem;margin-bottom:1rem}.cost-item{display:flex;justify-content:space-between;align-items:center;padding:.5rem;background:white;border-radius:4px;border:1px solid rgba(102,126,234,.1)}.cost-item.total{border:2px solid #667eea;background:rgba(102,126,234,.1);font-weight:500}.cost-item span{color:#666}.cost-item strong{color:#333;font-weight:600}.review-section{display:flex;flex-direction:column;gap:2rem}.review-group{background:rgba(102,126,234,.05);border-radius:8px;padding:1.5rem;border:1px solid rgba(102,126,234,.2);box-shadow:0 2px 10px rgba(0,0,0,.1)}.review-group h4{color:#333;margin-bottom:1rem;font-size:1.2rem;padding-bottom:.5rem;border-bottom:1px solid rgba(102,126,234,.2);font-weight:600}.review-item{display:flex;justify-content:space-between;align-items:center;padding:.75rem 0;border-bottom:1px solid rgba(102,126,234,.1)}.review-item:last-child{border-bottom:none}.review-item span{color:#666;font-size:.95rem}.review-item strong{color:#333;font-weight:600}.asset-breakdown-card{background:linear-gradient(135deg,#667eea,#764ba2);color:white;border:none}.asset-breakdown-card .metric-value{color:white}.asset-breakdown-card .metric-subtitle{color:rgba(255,255,255,.9)}.asset-breakdown-card .metric-detail{color:rgba(255,255,255,.7)}.mortgage-info-section{background:rgba(255,152,0,.05);border:1px solid rgba(255,152,0,.2);border-radius:8px;padding:1.5rem;margin:1rem 0}.mortgage-info-section h4{color:#ff9800;margin-bottom:1rem;display:flex;align-items:center;gap:.5rem}.mortgage-status{display:inline-flex;align-items:center;gap:.5rem;padding:.25rem .75rem;border-radius:20px;font-size:.8rem;font-weight:500}.mortgage-status.paid-off{background:rgba(76,175,80,.1);color:#4caf50}.mortgage-status.active{background:rgba(255,152,0,.1);color:#ff9800}@media (max-width:768px){.property-cost-estimate{padding:1rem}.cost-breakdown{gap:.5rem}.cost-item{flex-direction:column;text-align:center;gap:.25rem}.review-section{gap:1.5rem}.review-group{padding:1rem}.review-item{flex-direction:column;align-items:flex-start;gap:.25rem;text-align:left}.review-item span,.review-item strong{color:#333!important}}.profile-card{position:relative;display:flex;flex-direction:column;justify-content:space-between}.profile-card-content{flex:1 1}.delete-profile-btn{position:absolute;top:.75rem;right:.75rem;background:rgba(244,67,54,.1);border:1px solid rgba(244,67,54,.2);border-radius:6px;padding:.5rem;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;justify-content:center}.delete-profile-btn:hover{background:rgba(244,67,54,.2);border-color:rgba(244,67,54,.4);transform:scale(1.1)}.delete-profile-btn:disabled{opacity:.6;cursor:not-allowed;transform:none}.delete-icon,.delete-spinner{width:16px;height:16px;color:#f44336}.delete-spinner{animation:spin 1s linear infinite}.modal-overlay{background:rgba(0,0,0,.6);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.modal{background:white;border-radius:12px;box-shadow:0 10px 40px rgba(0,0,0,.2);max-width:500px;width:90%;animation:scaleIn .2s ease}.modal-header{padding:1.5rem 2rem 0;border-bottom:1px solid #e1e5e9}.modal-header h3{margin:0 0 1rem;color:#333;font-size:1.3rem}.modal-body{padding:1.5rem 2rem}.modal-body p{margin:0 0 1rem;color:#666;line-height:1.5}.warning-text{color:#f44336!important;font-weight:500;background:rgba(244,67,54,.05);padding:.75rem;border-radius:6px;border-left:3px solid #f44336}.modal-actions{padding:0 2rem 2rem;display:flex;gap:1rem;justify-content:flex-end}.btn-danger{background:linear-gradient(135deg,#f44336,#d32f2f);color:white;border:none;padding:.75rem 1.5rem;border-radius:8px;font-weight:500;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;gap:.5rem}.btn-danger:hover{background:linear-gradient(135deg,#d32f2f,#b71c1c);transform:translateY(-1px);box-shadow:0 4px 12px rgba(244,67,54,.3)}.btn-danger:disabled{opacity:.6;cursor:not-allowed;transform:none}.btn-secondary{background:#f5f5f5;color:#666;border:1px solid #ddd;padding:.75rem 1.5rem;border-radius:8px;font-weight:500;cursor:pointer;transition:all .3s ease}.btn-secondary:hover{background:#e0e0e0;border-color:#ccc}.btn-secondary:disabled{opacity:.6;cursor:not-allowed}@keyframes scaleIn{0%{transform:scale(.9);opacity:0}to{transform:scale(1);opacity:1}}@media (max-width:768px){.modal{width:95%;margin:1rem}.modal-actions,.modal-body,.modal-header{padding-left:1.5rem;padding-right:1.5rem}.modal-actions{flex-direction:column-reverse}.modal-actions button{width:100%}.delete-profile-btn{top:.5rem;right:.5rem;padding:.4rem}.delete-icon,.delete-spinner{width:14px;height:14px}}.header-actions{display:flex;gap:1rem;align-items:center;margin-top:1rem}.tax-info-display{background:linear-gradient(135deg,#e3f2fd,#f3e5f5);border-radius:8px;padding:1rem;margin:1rem 0;border-left:4px solid #667eea}.tax-info-display p{margin:.5rem 0;color:#333}.tax-info-display strong{color:#667eea}.tax-info-display small{color:#666;font-style:italic}.retirement-suggestion{background:linear-gradient(135deg,#f0f9ff,#ecfdf5);border-radius:8px;padding:1rem;margin:1rem 0;border-left:4px solid #10b981}.retirement-suggestion p{margin:.5rem 0;color:#333}.retirement-suggestion strong{color:#10b981}.detailed-projection-view{padding:2rem;max-width:1400px;margin:0 auto;background:linear-gradient(135deg,#f5f7fa,#c3cfe2);min-height:100vh}.projection-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem;padding-bottom:1rem;border-bottom:2px solid #667eea}.projection-header h2{margin:0;color:#667eea;font-size:2rem}.projection-summary{background:white;padding:1.5rem;border-radius:12px;box-shadow:0 4px 6px rgba(0,0,0,.1);margin-bottom:2rem}.summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));grid-gap:1rem;gap:1rem;margin-bottom:2rem}.summary-item{display:flex;justify-content:space-between;align-items:center;padding:.75rem;background:#f8fafc;border-radius:8px;border-left:4px solid #667eea}.summary-label{font-weight:600;color:#374151}.summary-value{color:#667eea}.assets-breakdown{margin-top:2rem;padding-top:2rem;border-top:2px solid #e5e7eb}.assets-breakdown h4{color:#374151;margin-bottom:1rem;font-size:1.2rem}.assets-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));grid-gap:1rem;gap:1rem}.asset-item{display:flex;align-items:center;padding:1rem;background:linear-gradient(135deg,#f8fafc,#f1f5f9);border-radius:12px;border:1px solid #e2e8f0;transition:all .3s ease}.asset-item:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.1)}.asset-item.total{background:linear-gradient(135deg,#667eea,#764ba2);color:white;border:none}.asset-item.total .asset-label,.asset-item.total .asset-value{color:white}.roth-score-summary{margin-top:25px;padding:20px;border-radius:12px;color:white;transition:background .3s ease}.roth-score-summary.low-confidence,.roth-score-summary.not-recommended{background:linear-gradient(135deg,#ff6b6b,#ee5a6f)}.roth-score-summary.medium-confidence{background:linear-gradient(135deg,#ffd93d,#f9a825)}.roth-score-summary.high-confidence{background:linear-gradient(135deg,#4caf50,#66bb6a)}.roth-score-summary h4{margin:0 0 15px;font-size:1.1rem;font-weight:600}.score-display{gap:20px}.score-circle,.score-display{display:flex;align-items:center}.score-circle{flex-direction:column;justify-content:center;width:80px;height:80px;background:rgba(255,255,255,.2);border:3px solid rgba(255,255,255,.5);border-radius:50%;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.score-number{font-size:2rem;font-weight:700;line-height:1}.score-max{font-size:.8rem;opacity:.9}.score-details{display:flex;flex-direction:column;gap:8px}.confidence-level{font-size:1rem;font-weight:600;padding:5px 12px;background:rgba(255,255,255,.2);border-radius:20px;display:inline-block}.confidence-level.high{background:rgba(76,175,80,.3)}.confidence-level.medium{background:rgba(255,152,0,.3)}.confidence-level.low{background:rgba(244,67,54,.3)}.recommendation-status{font-size:.95rem;opacity:.95}.roth-score-compact{margin-top:15px;padding:12px 20px;border-radius:8px;color:white;transition:background .3s ease;box-shadow:0 2px 8px rgba(0,0,0,.1)}.roth-score-compact.low-confidence,.roth-score-compact.not-recommended{background:linear-gradient(135deg,#ff6b6b,#ee5a6f)}.roth-score-compact.medium-confidence{background:linear-gradient(135deg,#ffd93d,#f9a825)}.roth-score-compact.high-confidence{background:linear-gradient(135deg,#4caf50,#66bb6a)}.score-compact-display{display:flex;align-items:center;gap:15px;flex-wrap:wrap}.score-label{font-weight:600;font-size:.95rem}.score-badge{display:inline-flex;align-items:center;justify-content:center;background:rgba(255,255,255,.25);border:2px solid rgba(255,255,255,.4);border-radius:20px;padding:4px 12px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.score-value{font-size:1.1rem}.confidence-badge,.rec-badge{font-size:.85rem;padding:4px 10px;background:rgba(255,255,255,.2);border-radius:15px}.rec-badge{font-weight:600}.roth-strategy-sliders{margin-top:15px;padding:15px;background:rgba(255,255,255,.6);border-radius:8px;border:1px solid rgba(102,126,234,.2)}.roth-control-row{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:20px;gap:20px;margin-bottom:16px}.roth-input-group{display:flex;flex-direction:column;gap:6px}.roth-input-group label{font-size:.85rem;font-weight:600;color:#475569;display:block}.input-with-unit{position:relative;display:flex;align-items:center}.unit-prefix{position:absolute;left:12px;color:#64748b;font-weight:600;font-size:.95rem;pointer-events:none}.roth-number-input{width:100%;padding:10px 12px;font-size:1rem;border:2px solid #e2e8f0;border-radius:6px;background:white;transition:all .2s ease;font-weight:500;color:#1e293b}.input-with-unit .roth-number-input{padding-left:28px}.roth-number-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px rgba(102,126,234,.1)}.roth-number-input:hover{border-color:#cbd5e1}.input-hint{font-size:.75rem;color:#94a3b8;font-style:italic}.roth-summary{padding:12px 16px;background:linear-gradient(135deg,rgba(102,126,234,.1),rgba(118,75,162,.1));border-radius:6px;border-left:4px solid #667eea}.summary-text{font-size:.95rem;color:#475569;line-height:1.5}.summary-text strong{color:#1e293b;font-weight:700}.summary-detail{color:#64748b;font-size:.85rem}@media (max-width:768px){.roth-control-row{grid-template-columns:1fr;gap:16px}}.save-scenario-section{margin-top:20px;padding-top:20px;border-top:2px solid #e5e7eb;text-align:center}.save-scenario-btn{background:linear-gradient(135deg,#10b981,#059669);color:white;border:none;padding:12px 32px;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 12px rgba(16,185,129,.3);display:inline-flex;align-items:center;gap:8px}.save-scenario-btn:hover{background:linear-gradient(135deg,#059669,#047857);box-shadow:0 6px 16px rgba(16,185,129,.4);transform:translateY(-2px)}.save-scenario-btn:active{transform:translateY(0);box-shadow:0 2px 8px rgba(16,185,129,.3)}.save-hint{margin-top:8px;font-size:.85rem;color:#6b7280;font-style:italic}.asset-icon{font-size:2rem;margin-right:1rem;min-width:3rem;text-align:center}.asset-details{display:flex;flex-direction:column;flex:1 1}.asset-label{font-size:.9rem;color:#64748b;font-weight:500;margin-bottom:.25rem}.asset-value{font-size:1.1rem;font-weight:700;color:#1e293b}.required{color:#dc2626;font-weight:700;margin-left:2px}.input-group.error input,.input-group.error select{border-color:#dc2626;box-shadow:0 0 0 1px #dc2626}.validation-message{color:#dc2626;font-size:.875rem;margin-top:.25rem;display:block}.step-navigation button:disabled{opacity:.6;cursor:not-allowed;background-color:#9ca3af}.step-navigation button:disabled:hover{background-color:#9ca3af;transform:none}.roth-conversion{color:#7c3aed;font-weight:600;text-align:right}.balance-401k-traditional{color:#059669;font-weight:600;text-align:right}.balance-401k-roth{color:#7c3aed;font-weight:600;text-align:right}.cumulative-roth-growth{color:#059669;font-weight:600;text-align:right;background-color:rgba(5,150,105,.05)}.taxes-401k{color:#dc2626;background-color:rgba(220,38,38,.05)}.net-401k-cash,.taxes-401k{font-weight:600;text-align:right}.net-401k-cash{color:#059669;background-color:rgba(5,150,105,.05)}.dynamic-controls{background:linear-gradient(135deg,#667eea,#764ba2);padding:2rem;margin:2rem 0;border-radius:12px;box-shadow:0 8px 25px rgba(102,126,234,.15);color:white}.dynamic-controls *{color:white}.dynamic-controls h3{color:white!important;margin-bottom:1.5rem;text-align:center;font-size:1.5rem;font-weight:700}.controls-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));grid-gap:1.5rem;gap:1.5rem;margin-bottom:1rem}.control-group{background:rgba(255,255,255,.15);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:10px;padding:1.5rem;border:1px solid rgba(255,255,255,.2)}.control-group label{color:white;font-weight:600;font-size:1rem;margin-bottom:.75rem;display:block}.age-slider{width:100%;height:6px;background:rgba(255,255,255,.3);border-radius:3px;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;margin:.75rem 0;cursor:pointer;pointer-events:auto;position:relative;z-index:1}.age-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:20px;height:20px;background:#4CAF50;border-radius:50%;cursor:pointer;box-shadow:0 2px 6px rgba(0,0,0,.3);-webkit-transition:all .2s ease;transition:all .2s ease}.age-slider::-webkit-slider-thumb:hover{transform:scale(1.1);box-shadow:0 3px 8px rgba(0,0,0,.4)}.age-slider::-moz-range-thumb{width:20px;height:20px;background:#4CAF50;border-radius:50%;cursor:pointer;border:none;box-shadow:0 2px 6px rgba(0,0,0,.3)}.slider-range{color:rgba(255,255,255,.8);font-size:.85rem;text-align:center;margin-top:.25rem}.toggle-group{flex-direction:column;justify-content:center}.toggle-group,.toggle-switch{display:flex;align-items:center}.toggle-switch{position:relative;gap:.75rem}.toggle-switch input[type=checkbox]{display:none}.toggle-label{gap:.75rem;cursor:pointer;color:white;font-weight:600}.toggle-button,.toggle-label{display:flex;align-items:center}.toggle-button{position:relative;width:80px;height:32px;background:#e74c3c;border-radius:16px;transition:all .3s ease;justify-content:space-between;padding:0 8px;font-size:11px;font-weight:700;color:rgba(255,255,255,.5)}.toggle-button:before{content:"";position:absolute;top:3px;left:3px;width:26px;height:26px;background:white;border-radius:50%;transition:all .3s ease;box-shadow:0 2px 6px rgba(0,0,0,.3);z-index:2}.toggle-button:after{content:"NO";position:absolute;left:34px;color:white;font-weight:700;font-size:11px;z-index:1}.toggle-switch input:checked+.toggle-label .toggle-button{background:#4CAF50}.toggle-switch input:checked+.toggle-label .toggle-button:before{transform:translateX(48px)}.toggle-switch input:checked+.toggle-label .toggle-button:after{content:"YES";left:8px;right:auto}.refresh-indicator{text-align:center;color:white;font-weight:600;padding:.75rem;background:rgba(255,255,255,.1);border-radius:8px;animation:pulse 1.5s infinite}.projection-summary h3{color:#667eea;margin-top:0;margin-bottom:1rem}.projection-summary p{margin:.5rem 0;font-size:1.1rem}.projection-table-container{background:white;padding:1.5rem;border-radius:12px;box-shadow:0 4px 6px rgba(0,0,0,.1);margin-bottom:2rem}.table-navigation{display:flex;align-items:center;gap:1rem;position:relative}.table-wrapper{flex:1 1;overflow-x:auto;overflow-y:visible;border-radius:8px;border:1px solid #e2e8f0;max-height:70vh;position:relative;background:white}.scroll-arrow{background:#667eea;color:white;border:none;border-radius:50%;width:48px;height:48px;font-size:18px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .3s ease;box-shadow:0 2px 4px rgba(0,0,0,.1);z-index:5;flex-shrink:0}.scroll-arrow:hover{background:#5a67d8;transform:translateY(-2px);box-shadow:0 4px 8px rgba(0,0,0,.15)}.scroll-arrow:active{transform:translateY(0)}.table-wrapper::-webkit-scrollbar{height:8px}.table-wrapper::-webkit-scrollbar-track{background:#f1f5f9;border-radius:4px}.table-wrapper::-webkit-scrollbar-thumb{background:#cbd5e0;border-radius:4px}.table-wrapper::-webkit-scrollbar-thumb:hover{background:#a0aec0}.projection-table{width:100%;border-collapse:collapse;font-size:.9rem;table-layout:auto}.projection-table th{background:linear-gradient(135deg,#667eea,#764ba2);color:white;padding:12px 8px;text-align:left;font-weight:600;border-bottom:2px solid #5a67d8;position:-webkit-sticky;position:sticky;top:0;z-index:10;white-space:nowrap}.projection-table th:first-child,.projection-table th:nth-child(2),.projection-table th:nth-child(3){position:-webkit-sticky;position:sticky;z-index:20;background:linear-gradient(135deg,#5a67d8,#6b46c1);box-shadow:2px 0 4px rgba(0,0,0,.1)}.projection-table th:first-child{left:0;min-width:80px}.projection-table th:nth-child(2){left:80px;min-width:100px}.projection-table th:nth-child(3){left:180px;min-width:200px}.projection-table td{padding:10px 8px;border-bottom:1px solid #e2e8f0;border-right:1px solid #f1f5f9;text-align:right;white-space:nowrap}.projection-table td:last-child{border-right:none}.projection-table td:first-child,.projection-table td:nth-child(2),.projection-table td:nth-child(3){position:-webkit-sticky;position:sticky;background:white;z-index:5;box-shadow:2px 0 4px rgba(0,0,0,.05)}.projection-table td:first-child{left:0;font-weight:600;color:#374151;text-align:center;min-width:80px}.projection-table td:nth-child(2){left:80px;font-weight:600;color:#4f46e5;text-align:center;min-width:100px}.projection-table td:nth-child(3){left:180px;text-align:left;padding-left:12px;min-width:200px}.phase-working,.phase-working td:first-child,.phase-working td:nth-child(2),.phase-working td:nth-child(3){background:#ffffff}.phase-retired,.phase-retired td:first-child,.phase-retired td:nth-child(2),.phase-retired td:nth-child(3){background:#fef3c7}.projection-table tbody tr:hover{background-color:rgba(102,126,234,.05);transform:translateY(-1px);box-shadow:0 2px 4px rgba(0,0,0,.05);transition:all .2s ease}.projection-table tr:nth-child(2n){background-color:#f7fafc}.projection-table tr:hover{background-color:#e6fffa;transform:scale(1.01);transition:all .2s ease}.phase-working{background-color:#f0f9ff;border-left:4px solid #3b82f6}.phase-working:hover{background-color:#dbeafe}.phase-retired{background-color:#ecfdf5;border-left:4px solid #10b981}.phase-retired:hover{background-color:#d1fae5}.phase-indicator{text-align:center!important}.phase-badge{display:inline-block;padding:4px 8px;border-radius:12px;font-size:.8rem;font-weight:600;white-space:nowrap}.phase-badge.working,.phase-badge[class*=working-]{background:linear-gradient(135deg,#dbeafe,#bfdbfe);color:#1e40af;border:1px solid #3b82f6}.phase-badge.retired,.phase-badge[class*=retired-],.phase-badge[class*=retired-][class*="/-working-"]{background:linear-gradient(135deg,#d1fae5,#a7f3d0);color:#065f46;border:1px solid #10b981}.phase-badge[class*=working-][class*="/-retired-"]{background:linear-gradient(135deg,#dbeafe,#bfdbfe);color:#1e40af;border:1px solid #3b82f6}.gross-income{font-weight:600;color:#374151}.rental-income-positive{color:#16a34a;font-weight:600}.rental-income-negative{color:#dc2626;font-weight:600}.withdrawal-401k{font-weight:600}.withdrawal-401k.contribution{color:#16a34a}.withdrawal-401k.withdrawal{color:#dc2626}.federal-bracket{font-weight:700;color:#2563eb;background-color:rgba(37,99,235,.05);font-size:1.05em}.taxable-income{font-weight:600;color:#7c3aed;font-style:italic}.withdrawal-brokerage{color:#059669}.taxes{color:#dc2626;font-weight:600}.taxes-401k{color:#7c3aed;font-weight:500;font-style:italic;background:#f3e8ff}.down-payment{background:#fee2e2;color:#b91c1c;font-weight:600;border:2px solid #fca5a5!important}.mortgage-payment{background:#fef3c7;color:#92400e;font-weight:500}.taxes-other-income{color:#ea580c;font-weight:500;background:#ffedd5}.taxes-roth{color:#0891b2;font-weight:500;background:#cffafe}.tax-rate{font-weight:700;color:#dc2626}.net-income{color:#059669;font-weight:600}.expenses{color:#7c3aed}.expenses.housing{color:#ea580c;font-weight:500}.expenses.total{color:#7c3aed;font-weight:600;border-left:2px solid #e0e7ff}.surplus.positive{color:#059669;font-weight:600}.surplus.negative{color:#dc2626;font-weight:600}.balance-401k{color:#2563eb;font-weight:600}.balance-brokerage{color:#059669;font-weight:600}.dividends-earned{color:#dc7633}.cash-interest,.dividends-earned{font-weight:600;font-style:italic}.cash-interest{color:#16a085}.balance-cash{color:#7c3aed;font-weight:600}.social-security{color:#2563eb;font-weight:600;font-style:italic}.rmd-required{color:#dc2626;font-weight:600;text-align:center}.rmd-status.required{color:#dc2626}.rmd-status.rmd-exceeds-needs{color:#f59e0b;background:#fef3c7;padding:2px 6px;border-radius:4px;font-size:.85em}.rmd-warning{color:#f59e0b;font-size:1.1em}.rmd-not-required{color:#6b7280;font-style:italic;font-size:.85em}.roth-skipped{color:#f59e0b;background:#fef3c7;font-weight:600}.irmaa-warning,.roth-skipped{padding:4px 8px;border-radius:4px;font-size:.85em;display:inline-block;cursor:help}.irmaa-warning{color:#dc2626;background:#fee2e2;font-weight:700;border:1px solid #fca5a5}.irmaa-warning:hover{background:#fecaca;border-color:#f87171}.magi,.magi-two-years-prior{background:#f0f9ff;font-weight:600}.irmaa{background:#fef2f2}.radio-group{display:flex;gap:20px;margin:10px 0}.radio-option{display:flex;align-items:center;gap:8px;cursor:pointer;font-weight:400}.radio-option input[type=radio]{margin:0}.default-rates-display{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:1rem;margin:1rem 0}.default-rates-display h4{margin:0 0 .5rem;color:#4a5568;font-size:1rem}.rate-display{display:flex;flex-direction:column;gap:.5rem}.rate-display span{font-size:.9rem;color:#2d3748}.mortgage-celebration{margin-left:8px;font-size:1.1em;animation:celebrate 1s ease-in-out}@keyframes celebrate{0%{transform:scale(1)}50%{transform:scale(1.2)}to{transform:scale(1)}}.brokerage-sale-warning{font-size:1.1em;margin-left:4px;animation:pulse 2s infinite;cursor:help}@keyframes pulse{0%,to{opacity:1}50%{opacity:.6}}.total-assets{font-weight:700;color:#667eea;font-size:1.1em}.input-help{color:#666;font-size:.9rem;margin-top:.25rem;display:block;font-style:italic}.tax-insights{background:white;padding:1.5rem;border-radius:12px;box-shadow:0 4px 6px rgba(0,0,0,.1)}.tax-insights h3{color:#667eea;margin-top:0;margin-bottom:1.5rem}.insights-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));grid-gap:1.5rem;gap:1.5rem}.insight-card{background:linear-gradient(135deg,#e0e7ff,#c7d2fe);padding:1.5rem;border-radius:8px;border-left:4px solid #667eea}.insight-card h4{margin-top:0;margin-bottom:1rem;color:#4c1d95}.insight-card p{margin-bottom:0;color:#374151;line-height:1.6}@media (max-width:1200px){.projection-table{font-size:.8rem}.projection-table td,.projection-table th{padding:8px 6px}}@media (max-width:768px){.detailed-projection-view{padding:0!important;max-width:100%!important;width:100%!important;margin:0!important}.projection-header{flex-direction:column;gap:1rem;align-items:stretch;padding:1rem}.projection-header h2{font-size:1.5rem;text-align:center}.projection-table-container{overflow-x:scroll}.insights-grid{grid-template-columns:1fr}}.field-hint{font-size:.85rem;color:#666;margin-top:.25rem;display:block;font-style:italic}.medicare-part-a,.medicare-part-b,.pre-medicare-expenses,.total-medical-costs{background-color:#f0f9ff;text-align:right;font-weight:500}.medicare-part-a{color:#0369a1}.medicare-part-b{color:#0c4a6e}.pre-medicare-expenses{color:#7c3aed;background-color:#f3f4f6}.total-medical-costs{color:#dc2626;font-weight:600;background-color:#fef2f2}.checkbox-group .checkbox-item{display:flex;align-items:flex-start;margin-bottom:12px;padding:8px;background-color:#f8fafc;border-radius:6px}.checkbox-group .checkbox-item input[type=checkbox]{margin-right:10px;margin-top:2px}.checkbox-group .checkbox-item label{font-weight:500;color:#374151;margin-bottom:0}.checkbox-group .field-hint{margin-top:4px;margin-left:0}.info-box{background-color:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;padding:16px;margin-top:20px}.info-box h4{color:#1e40af;margin-bottom:12px;font-size:14px;font-weight:600}.info-box ul{list-style-type:disc;margin-left:20px;color:#374151}.info-box li{margin-bottom:6px;font-size:13px;line-height:1.4}.info-box strong{color:#1e40af;font-weight:600}.roth-analysis-container{max-width:1400px;margin:0 auto;padding:20px}.roth-summary-card{background:white;border-radius:12px;padding:30px;margin-bottom:30px;box-shadow:0 4px 20px rgba(0,0,0,.1)}.roth-recommendation{display:flex;align-items:center;gap:20px;margin-bottom:30px}.recommendation-text h2{color:#1e293b;margin-bottom:10px;font-size:28px}.confidence-badge{display:inline-block;padding:6px 16px;border-radius:20px;color:white;font-size:14px;font-weight:600}.roth-score-section{display:flex;align-items:center;gap:30px}.score-display{text-align:center}.score-value{font-size:48px;font-weight:700;line-height:1}.score-label{font-size:14px;color:#64748b;margin-top:5px}.score-range{font-size:12px;color:#94a3b8;margin-top:2px}.score-bar{flex:1 1;height:20px;background:#e2e8f0;border-radius:10px;overflow:hidden;position:relative}.score-fill{height:100%;transition:width .5s ease;border-radius:10px}.metrics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));grid-gap:20px;gap:20px;margin-bottom:30px}@media (max-width:768px){.metrics-grid{display:flex;flex-direction:row;overflow-x:auto;overflow-y:hidden;gap:1rem;padding-bottom:.5rem;-webkit-overflow-scrolling:touch;scroll-behavior:smooth}.metrics-grid>*{flex:0 0 85vw;min-width:280px;max-width:320px}}.metric-card{background:white;border-radius:12px;padding:20px;box-shadow:0 2px 10px rgba(0,0,0,.08);display:flex;gap:15px;align-items:flex-start}.metric-icon{font-size:32px;line-height:1}.metric-content{flex:1 1}.metric-label{font-size:13px;color:#64748b;text-transform:uppercase;letter-spacing:.5px;margin-bottom:8px}.metric-value{font-size:24px;font-weight:700;color:#1e293b;margin-bottom:4px}.metric-description{font-size:13px;color:#94a3b8}.analysis-section{background:white;border-radius:12px;padding:25px;margin-bottom:20px;box-shadow:0 2px 10px rgba(0,0,0,.08)}.analysis-section h3{margin-bottom:20px;color:#1e293b;font-size:20px}.analysis-list,.recommendation-list{display:flex;flex-direction:column;gap:12px}.analysis-item,.recommendation-item{display:flex;gap:12px;align-items:flex-start;padding:12px;border-radius:8px;background:#f8fafc;line-height:1.6}.rec-bullet{color:#667eea;font-weight:700;font-size:18px}.item-icon{flex-shrink:0;width:24px;height:24px;display:flex;align-items:center;justify-content:center;border-radius:50%;font-weight:700;font-size:14px}.benefit-item{border-left:3px solid #10b981}.benefit-item .item-icon{background:#d1fae5;color:#059669}.risk-item{border-left:3px solid #f59e0b}.risk-item .item-icon{background:#fed7aa;color:#d97706}.warning-item{border-left:3px solid #ef4444}.warning-item .item-icon{background:#fecaca;color:#dc2626}.analysis-disclaimer{background:#fef3c7;border:2px solid #fbbf24;border-radius:12px;padding:20px;margin-top:30px}.analysis-disclaimer p{color:#78350f;line-height:1.6;margin:0}.benefits-section{border-top:3px solid #10b981}.risks-section{border-top:3px solid #f59e0b}.warnings-section{border-top:3px solid #ef4444}.inline-roth-analysis{margin-top:25px}.quick-analysis-card{background:white;border-radius:10px;padding:20px;box-shadow:0 2px 12px rgba(0,0,0,.1);margin-top:15px;animation:fadeIn .3s ease}.comparison-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));grid-gap:20px;gap:20px;margin-bottom:30px}.comparison-stat-card{background:white;border-radius:12px;padding:20px;box-shadow:0 2px 10px rgba(0,0,0,.08);display:flex;gap:15px;align-items:flex-start}.stat-icon{font-size:36px;line-height:1}.stat-content{flex:1 1}.stat-label{font-size:12px;color:#64748b;text-transform:uppercase;letter-spacing:.5px;margin-bottom:8px}.stat-value{font-size:22px;font-weight:700;color:#1e293b;margin-bottom:4px}.stat-value.positive{color:#10b981}.stat-value.negative{color:#ef4444}.stat-description{font-size:13px;color:#94a3b8}.graph-section{background:white;border-radius:12px;padding:25px;margin-bottom:25px;box-shadow:0 2px 10px rgba(0,0,0,.08)}.graph-section h3{margin-bottom:20px;color:#1e293b;font-size:20px}.insight-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));grid-gap:20px;gap:20px}.financial-breakdown{display:flex;flex-direction:column;gap:25px}.breakdown-section{background:#f8fafc;border-radius:10px;padding:20px}.breakdown-section h4{margin:0 0 15px;color:#1e293b;font-size:18px}.breakdown-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));grid-gap:15px;gap:15px}.breakdown-item{display:flex;flex-direction:column;gap:5px}.breakdown-label{font-size:13px;color:#64748b;font-weight:500}.breakdown-value{font-size:18px;font-weight:700;color:#1e293b}.highlight-negative{color:#ef4444}.tradeoff-comparison{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));grid-gap:20px;gap:20px;margin-top:15px}.tradeoff-item{background:white;border-radius:10px;padding:20px;border:2px solid #e2e8f0}.tradeoff-item.cost{border-left:4px solid #ef4444}.tradeoff-item.benefit{border-left:4px solid #10b981}.tradeoff-summary{margin-top:25px;padding:20px;background:linear-gradient(135deg,#f8fafc,#e2e8f0);border-radius:10px;border:2px solid #cbd5e1}.summary-row{display:flex;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px solid #cbd5e1}.summary-row:last-child{border-bottom:none}.summary-row.total{font-weight:600;font-size:1.1em;padding-top:15px;margin-top:10px;border-top:2px solid #94a3b8}.summary-label{color:#475569;font-weight:500}.summary-value{font-weight:700;font-size:1.15em}.summary-value.positive{color:#10b981}.summary-value.negative{color:#ef4444}.summary-value.highlight{color:#3b82f6;font-size:1.25em}.growth-calculator-section{background:linear-gradient(135deg,#f0f9ff,#e0f2fe);border:2px solid #0ea5e9;border-radius:12px;padding:25px;margin-top:25px}.growth-calculator-section h4{color:#0369a1;margin-bottom:10px}.section-description{color:#64748b;font-size:.95em;margin-bottom:20px}.growth-slider-container{margin:20px 0}.slider-label{display:block;font-size:1.1em;color:#1e293b;margin-bottom:15px}.slider-label strong{color:#0369a1;font-size:1.2em}.growth-slider{width:100%;height:8px;border-radius:5px;background:linear-gradient(90deg,#10b981,#3b82f6);outline:none;-webkit-appearance:none}.growth-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:24px;height:24px;border-radius:50%;background:#0369a1;cursor:pointer;box-shadow:0 2px 6px rgba(0,0,0,.3);-webkit-transition:transform .2s;transition:transform .2s}.growth-slider::-webkit-slider-thumb:hover{transform:scale(1.2)}.growth-slider::-moz-range-thumb{width:24px;height:24px;border-radius:50%;background:#0369a1;cursor:pointer;box-shadow:0 2px 6px rgba(0,0,0,.3);border:none;-moz-transition:transform .2s;transition:transform .2s}.growth-slider::-moz-range-thumb:hover{transform:scale(1.2)}.slider-range-labels{display:flex;justify-content:space-between;margin-top:8px;font-size:.85em;color:#64748b}.growth-comparison-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));grid-gap:15px;gap:15px;margin:25px 0}.growth-card{background:white;border-radius:10px;padding:20px;text-align:center;box-shadow:0 2px 8px rgba(0,0,0,.1);transition:transform .2s}.growth-card:hover{transform:translateY(-5px);box-shadow:0 4px 12px rgba(0,0,0,.15)}.growth-card h5{margin:0 0 15px;font-size:1em;color:#475569}.growth-amount{font-size:1.8em;font-weight:700;color:#10b981;margin-bottom:10px}.growth-amount.negative{color:#ef4444}.growth-amount.highlight{color:#3b82f6}.growth-detail{font-size:.9em;color:#64748b}.growth-chart{margin-top:8px;padding:6px;background:white;border-radius:5px}.growth-chart h5{margin-bottom:3px;color:#1e293b;font-size:.85em}.line-chart-container{position:relative;width:100%;padding:2px}.line-chart-svg{width:100%;height:auto;display:block}.line-chart-svg polyline{transition:stroke-width .3s ease}.line-chart-svg circle{transition:r .2s ease;cursor:pointer}.line-chart-svg circle:hover{r:1.5}.chart-x-axis{display:flex;justify-content:space-between;margin-top:2px;padding:0 2px}.x-axis-label{font-size:.55em;color:#64748b;font-weight:500}.chart-legend{display:flex;justify-content:center;gap:12px;margin-top:4px}.legend-item{display:flex;align-items:center;gap:4px;font-size:.75em;color:#475569}.legend-color{width:30px;height:3px;border-radius:2px}.legend-color.roth-line{background:#10b981;height:4px}.legend-color.opp-line{background:#ef4444;height:3px}.tradeoff-header{display:flex;align-items:center;gap:10px;margin-bottom:15px}.tradeoff-icon{font-size:24px}.tradeoff-title{font-size:16px;font-weight:600;color:#1e293b}.tradeoff-amount{font-size:24px;font-weight:700;margin-bottom:10px}.tradeoff-amount.negative{color:#ef4444}.tradeoff-amount.positive{color:#10b981}.tradeoff-description{font-size:14px;color:#64748b;line-height:1.6;margin-bottom:12px}.tradeoff-calculation{font-size:13px;color:#475569;padding:10px;background:#f1f5f9;border-radius:6px}.verdict-section{background:linear-gradient(135deg,#f8fafc,#e0f2fe);border:2px solid #0ea5e9}.verdict-box{display:flex;gap:20px;align-items:flex-start}.verdict-box.recommended{background:#d1fae5;border:2px solid #10b981;border-radius:10px;padding:20px}.verdict-box.not-recommended{background:#fee2e2;border:2px solid #ef4444;border-radius:10px;padding:20px}.verdict-icon{font-size:48px;line-height:1}.verdict-content{flex:1 1}.verdict-content h5{margin:0 0 15px;color:#1e293b;font-size:20px}.verdict-reasoning{display:flex;flex-direction:column;gap:12px;margin-bottom:20px}.reasoning-point{font-size:14px;color:#475569;line-height:1.7;padding-left:15px;border-left:3px solid #cbd5e1}.verdict-bottom-line{background:white;padding:15px;border-radius:8px;font-size:14px;color:#1e293b;line-height:1.7;border-left:4px solid #0ea5e9}.strategy-recommendations{display:flex;flex-direction:column;gap:20px;margin-top:15px}.strategy-item{background:white;border-radius:10px;padding:20px;border-left:4px solid #667eea;box-shadow:0 2px 8px rgba(0,0,0,.05)}.strategy-header{display:flex;align-items:center;gap:12px;margin-bottom:12px}.strategy-icon{font-size:24px;line-height:1}.strategy-header strong{color:#1e293b;font-size:16px}.strategy-item p{color:#475569;line-height:1.7;margin:0 0 12px;font-size:14px}.strategy-example{background:#f8fafc;border-left:3px solid #a5b4fc;padding:12px 15px;border-radius:6px;font-size:13px;color:#334155;line-height:1.6;margin-top:10px}.strategy-example strong{color:#4f46e5;font-weight:600}.health-check-banner{padding:20px 25px;border-radius:12px;margin-bottom:25px;border:2px solid;animation:slideIn .4s ease}@keyframes slideIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.health-check-banner.health-check-critical{background:linear-gradient(135deg,#fee2e2,#fecaca);border-color:#dc2626}.health-check-banner.health-check-caution{background:linear-gradient(135deg,#fef3c7,#fde68a);border-color:#f59e0b}.health-check-banner.health-check-healthy{background:linear-gradient(135deg,#d1fae5,#a7f3d0);border-color:#10b981}.health-check-header{display:flex;align-items:flex-start;gap:15px}.health-check-icon{font-size:36px;line-height:1}.health-check-message h3{margin:0 0 10px;font-size:20px;font-weight:700;color:#1e293b}.health-check-summary{display:flex;gap:15px;flex-wrap:wrap;margin:0;font-size:14px}.health-stat{padding:6px 12px;border-radius:6px;font-weight:600;display:inline-block}.health-stat.critical{background:#dc2626;color:white}.health-stat.warning{background:#f59e0b;color:white}.health-stat.success{background:#10b981;color:white}.warnings-section{background:linear-gradient(135deg,#fef3c7,#fde68a);border-left:4px solid #f59e0b}.warnings-list{display:flex;flex-direction:column;gap:15px}.warning-card{background:white;border-radius:10px;padding:18px;border-left:4px solid;box-shadow:0 2px 8px rgba(0,0,0,.08);transition:all .2s ease}.warning-card:hover{box-shadow:0 4px 12px rgba(0,0,0,.12);transform:translateY(-2px)}.warning-card.warning-critical{border-left-color:#dc2626;background:linear-gradient(135deg,#ffffff,#fee2e2)}.warning-card.warning-warning{border-left-color:#f59e0b;background:linear-gradient(135deg,#ffffff,#fef3c7)}.warning-card.warning-caution{border-left-color:#3b82f6;background:linear-gradient(135deg,#ffffff,#dbeafe)}.warning-header{display:flex;align-items:center;gap:10px;margin-bottom:10px}.warning-icon{font-size:24px;line-height:1}.warning-header h4{margin:0;font-size:16px;font-weight:700;color:#1e293b}.warning-body{padding-left:34px}.warning-message{margin:0 0 10px;font-size:14px;color:#475569;line-height:1.6}.warning-impact{background:rgba(0,0,0,.03);padding:10px 12px;border-radius:6px;font-size:13px;color:#334155;margin:8px 0}.warning-impact strong{color:#dc2626}.warning-recommendation{background:#f0fdf4;padding:10px 12px;border-radius:6px;font-size:13px;color:#166534;border-left:3px solid #10b981;margin:8px 0}.warning-recommendation strong{color:#065f46}.green-lights-section{background:linear-gradient(135deg,#d1fae5,#a7f3d0);border-left:4px solid #10b981}.green-lights-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));grid-gap:15px;gap:15px}.green-light-card{background:white;border-radius:10px;padding:16px;display:flex;align-items:flex-start;gap:12px;box-shadow:0 2px 8px rgba(0,0,0,.06);border:2px solid #a7f3d0;transition:all .2s ease}.green-light-card:hover{box-shadow:0 4px 12px rgba(0,0,0,.1);transform:translateY(-2px);border-color:#10b981}.green-light-icon{font-size:24px;line-height:1;flex-shrink:0}.green-light-content h4{margin:0 0 6px;font-size:15px;font-weight:700;color:#065f46}.green-light-content p{margin:0;font-size:13px;color:#475569;line-height:1.5}.legacy-section{background:linear-gradient(135deg,#fef3c7,#fde68a);border-left:4px solid #f59e0b}.legacy-impact-container{display:flex;flex-direction:column;gap:25px}.legacy-intro{background:white;padding:20px;border-radius:10px;border-left:4px solid #f59e0b}.legacy-intro p{margin:0;color:#475569;font-size:15px;line-height:1.7}.legacy-comparison-grid{display:grid;grid-template-columns:1fr auto 1fr;grid-gap:20px;gap:20px;align-items:stretch}.legacy-card{background:white;border-radius:12px;padding:0;box-shadow:0 4px 12px rgba(0,0,0,.1);overflow:hidden;display:flex;flex-direction:column}.legacy-card.your-cost{border-top:4px solid #ef4444}.legacy-card.heir-benefit{border-top:4px solid #10b981}.legacy-card-header{padding:20px;display:flex;align-items:center;gap:12px;background:linear-gradient(135deg,#f8fafc,#e2e8f0);border-bottom:2px solid #e2e8f0}.legacy-icon{font-size:32px;line-height:1}.legacy-card-header h4{margin:0;color:#1e293b;font-size:18px;font-weight:700}.legacy-card-body{padding:25px;display:flex;flex-direction:column;gap:16px;flex:1 1}.legacy-stat{display:flex;justify-content:space-between;align-items:center;padding-bottom:12px;border-bottom:1px solid #e2e8f0}.legacy-stat:last-child{border-bottom:none}.legacy-stat.highlight{background:#f8fafc;padding:12px;border-radius:8px;border:2px solid #667eea;margin:8px 0}.legacy-label{font-size:14px;color:#64748b;font-weight:500}.legacy-value{font-size:18px;font-weight:700;color:#1e293b}.legacy-value.positive{color:#10b981}.legacy-value.negative{color:#ef4444}.legacy-arrow{font-size:36px;color:#f59e0b;font-weight:700;display:flex;align-items:center;justify-content:center}.legacy-summary{background:white;padding:30px;border-radius:12px;box-shadow:0 4px 16px rgba(0,0,0,.1)}.legacy-result{text-align:center}.legacy-result.positive{background:linear-gradient(135deg,#d1fae5,#a7f3d0);padding:25px;border-radius:12px;border:3px solid #10b981}.legacy-result.negative{background:linear-gradient(135deg,#fee2e2,#fecaca);padding:25px;border-radius:12px;border:3px solid #ef4444}.result-label{font-size:16px;color:#64748b;font-weight:600;text-transform:uppercase;letter-spacing:1px;margin-bottom:10px}.result-value{font-size:48px;font-weight:900;color:#10b981;margin-bottom:15px;line-height:1}.legacy-result.negative .result-value{color:#ef4444}.result-explanation{font-size:15px;color:#475569;line-height:1.8;max-width:800px;margin:0 auto}.result-explanation strong{color:#1e293b;font-weight:700}.legacy-note{background:linear-gradient(135deg,#dbeafe,#bfdbfe);padding:20px;border-radius:10px;border-left:4px solid #3b82f6;font-size:14px;color:#1e40af;line-height:1.7}.legacy-note strong{color:#1e3a8a;font-weight:700}.heir-calculator{background:white;padding:25px;border-radius:12px;box-shadow:0 4px 12px rgba(0,0,0,.1);border:2px solid #a78bfa;margin-bottom:25px}.heir-calculator h4{margin:0 0 20px;color:#1e293b;font-size:18px;font-weight:700}.calculator-controls{background:linear-gradient(135deg,#f8fafc,#e0e7ff);padding:20px;border-radius:10px;margin-bottom:20px}.heir-tax-slider-group{display:flex;flex-direction:column;gap:12px}.heir-tax-slider-group label{font-size:15px;font-weight:600;color:#475569}.slider-with-value{display:flex;align-items:center;gap:15px}.heir-rate-slider{flex:1 1;height:8px;border-radius:5px;background:linear-gradient(90deg,#10b981,#f59e0b,#ef4444);outline:none;-webkit-appearance:none;cursor:pointer}.heir-rate-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:24px;height:24px;border-radius:50%;background:white;border:3px solid #667eea;cursor:-webkit-grab;cursor:grab;box-shadow:0 2px 8px rgba(0,0,0,.2);-webkit-transition:transform .2s ease,box-shadow .2s ease;transition:transform .2s ease,box-shadow .2s ease}.heir-rate-slider::-webkit-slider-thumb:hover{transform:scale(1.15);box-shadow:0 4px 12px rgba(102,126,234,.4)}.heir-rate-slider::-webkit-slider-thumb:active{cursor:-webkit-grabbing;cursor:grabbing;transform:scale(1.05)}.heir-rate-slider::-moz-range-thumb{width:24px;height:24px;border-radius:50%;background:white;border:3px solid #667eea;cursor:grab;box-shadow:0 2px 8px rgba(0,0,0,.2);-moz-transition:transform .2s ease,box-shadow .2s ease;transition:transform .2s ease,box-shadow .2s ease}.heir-rate-slider::-moz-range-thumb:hover{transform:scale(1.15);box-shadow:0 4px 12px rgba(102,126,234,.4)}.heir-rate-slider::-moz-range-thumb:active{cursor:grabbing;transform:scale(1.05)}.slider-value-display{min-width:60px;padding:8px 16px;background:white;border-radius:8px;font-size:18px;font-weight:700;color:#667eea;text-align:center;box-shadow:0 2px 8px rgba(0,0,0,.1)}.tax-bracket-hints{display:flex;justify-content:space-between;gap:10px;margin-top:8px}.tax-bracket-hints span{font-size:12px;color:#94a3b8;padding:4px 8px;border-radius:4px;transition:all .2s ease}.tax-bracket-hints span.active{background:#667eea;color:white;font-weight:600}.calculator-result{display:grid;grid-template-columns:1fr 1fr;grid-gap:20px;gap:20px}.calculator-result .result-item{background:linear-gradient(135deg,#f8fafc,#e0e7ff);padding:20px;border-radius:10px;display:flex;flex-direction:column;gap:8px;border:2px solid #e2e8f0}.calculator-result .result-item.highlight{background:linear-gradient(135deg,#dbeafe,#bfdbfe);border:3px solid #3b82f6}.calculator-result .result-label{font-size:13px;color:#64748b;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.calculator-result .result-value{font-size:28px;font-weight:900;line-height:1}.calculator-result .result-value.positive{color:#10b981}.calculator-result .result-value.negative{color:#ef4444}@media (max-width:968px){.legacy-comparison-grid{grid-template-columns:1fr;gap:20px}.legacy-arrow{transform:rotate(90deg);font-size:28px;padding:10px 0}.calculator-result{grid-template-columns:1fr}}@media (max-width:640px){.result-value{font-size:36px}.legacy-card-header h4,.legacy-value{font-size:16px}.calculator-result .result-value{font-size:24px}.tax-bracket-hints{flex-wrap:wrap}}.score-breakdown-link{text-align:center;margin-top:10px;color:#667eea;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease}.score-breakdown-link:hover{color:#764ba2;text-decoration:underline}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.7);display:flex;justify-content:center;align-items:center;z-index:1000;animation:fadeIn .2s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.score-breakdown-modal{background:white;border-radius:12px;max-width:800px;max-height:90vh;overflow:hidden;display:flex;flex-direction:column;animation:slideUp .3s ease}@keyframes slideUp{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:2px solid #e5e7eb;background:linear-gradient(135deg,#667eea,#764ba2);color:white}.modal-header h2{margin:0;font-size:24px}.modal-close{background:none;border:none;font-size:28px;color:white;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:all .2s ease}.modal-close:hover{background:rgba(255,255,255,.2)}.modal-body{padding:24px;overflow-y:auto;flex:1 1}.modal-footer{padding:16px 24px;border-top:2px solid #e5e7eb;display:flex;justify-content:flex-end;gap:12px}.score-summary{display:flex;align-items:center;gap:30px;padding:24px;background:linear-gradient(135deg,#f3f4f6,#e5e7eb);border-radius:12px;margin-bottom:30px}.score-display-large{text-align:center}.score-value-large{font-size:64px;font-weight:800;line-height:1}.score-label-large{font-size:16px;color:#6b7280;margin-top:8px;font-weight:600}.score-interpretation{flex:1 1}.interpretation-good,.interpretation-moderate,.interpretation-poor{display:flex;align-items:center;gap:12px;padding:16px;border-radius:8px;font-size:16px;font-weight:600}.interpretation-good{background:#d1fae5;color:#065f46}.interpretation-moderate{background:#fef3c7;color:#92400e}.interpretation-poor{background:#fee2e2;color:#991b1b}.interpretation-emoji{font-size:24px}.factors-breakdown{margin-top:20px}.factors-breakdown h3{font-size:20px;margin-bottom:20px;color:#1f2937}.factor-item{background:#f9fafb;border-left:4px solid #667eea;padding:16px;margin-bottom:16px;border-radius:8px;transition:all .2s ease}.factor-item:hover{background:#f3f4f6;box-shadow:0 4px 12px rgba(0,0,0,.1)}.factor-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.factor-name{font-size:16px;font-weight:700;color:#1f2937}.factor-weight{font-size:13px;color:#6b7280;font-weight:600}.factor-details{display:flex;flex-direction:column;gap:8px}.factor-score{font-size:14px;color:#4b5563}.factor-score strong{font-size:18px;color:#667eea;font-weight:700}.factor-explanation{font-size:14px;line-height:1.6;color:#4b5563}.factor-explanation .good{color:#059669;font-weight:600}.factor-explanation .neutral{color:#d97706;font-weight:600}.factor-explanation .bad{color:#dc2626;font-weight:600}.breakdown-recommendations,.breakdown-warnings{margin-top:24px;padding:20px;border-radius:8px}.breakdown-recommendations{background:#dbeafe;border-left:4px solid #2563eb}.breakdown-warnings{background:#fef3c7;border-left:4px solid #f59e0b}.breakdown-recommendations h3,.breakdown-warnings h3{font-size:18px;margin-bottom:12px;color:#1f2937}.breakdown-recommendations ul,.breakdown-warnings ul{list-style:none;padding:0;margin:0}.breakdown-recommendations li,.breakdown-warnings li{padding:8px 0 8px 24px;position:relative;line-height:1.6}.breakdown-recommendations li:before{content:"✓";position:absolute;left:0;color:#2563eb;font-weight:700}.breakdown-warnings li:before{content:"⚠️";position:absolute;left:0}.recommendations-view{background:linear-gradient(135deg,#667eea,#764ba2);min-height:100vh;padding:2rem}.recommendations-container{max-width:1200px;margin:0 auto}.recommendation-category{margin-bottom:3rem}.recommendation-category h2{color:white;font-size:1.8rem;margin-bottom:1rem;display:flex;align-items:center;gap:.5rem}.recommendation-list{display:flex;flex-direction:column;gap:1rem}.recommendation-card{background:white;border-radius:12px;padding:1.5rem;box-shadow:0 4px 6px rgba(0,0,0,.1);transition:transform .2s,box-shadow .2s}.recommendation-card:hover{transform:translateY(-2px);box-shadow:0 8px 12px rgba(0,0,0,.15)}.recommendation-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1rem;gap:1rem}.recommendation-title{display:flex;align-items:center;gap:1rem;flex:1 1}.recommendation-title h3{margin:0;font-size:1.2rem;color:#1e293b}.priority-badge{display:inline-flex;align-items:center;gap:.25rem;font-size:.75rem;font-weight:700;color:white}.priority-badge,.timeline-badge{padding:.25rem .75rem;border-radius:20px;white-space:nowrap}.timeline-badge{background:#e0e7ff;color:#4f46e5;font-size:.85rem;font-weight:500}.recommendation-rationale{color:#64748b;line-height:1.6;margin:0}.category-tag{display:inline-block;background:#f1f5f9;color:#64748b;padding:.25rem .75rem;border-radius:12px;font-size:.85rem;margin-top:.75rem}.recommendations-view .empty-state{background:white;border-radius:12px;padding:3rem;text-align:center;max-width:600px;margin:2rem auto}.recommendations-view .empty-state h2{color:#10b981;font-size:2.5rem;margin-bottom:1rem}.recommendations-view .empty-state p{color:#64748b;font-size:1.1rem;line-height:1.6;margin:.5rem 0}.plan-completeness-section{background:white;border-radius:12px;padding:1.5rem;margin:1.5rem 0;box-shadow:0 4px 12px rgba(0,0,0,.15);overflow:visible;position:relative;z-index:100;border:2px solid #667eea}@keyframes slideDown{0%{opacity:0;max-height:0;transform:translateY(-10px)}to{opacity:1;max-height:2000px;transform:translateY(0)}}.completeness-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.completeness-header h3{margin:0;color:#333;font-size:1.25rem}.completeness-score{font-size:2rem;font-weight:700;color:#667eea}.completeness-bar{width:100%;height:12px;background:#e5e7eb;border-radius:6px;overflow:hidden;margin-bottom:1rem}.completeness-progress{height:100%;transition:width .5s ease,background-color .3s ease;border-radius:6px}.completeness-details{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));grid-gap:.75rem;gap:.75rem;margin-top:1rem}.completion-item{display:flex;flex-direction:column;gap:.5rem;padding:.75rem;border-radius:6px;background:#f9fafb;position:relative}.completion-item.completed{background:#ecfdf5}.completion-item.incomplete{background:#fef2f2}.completion-item>:first-child{display:flex;align-items:center;gap:.5rem;width:100%}.completion-icon{font-size:1.25rem;flex-shrink:0}.completion-text{font-size:.9rem;color:#374151;flex:1 1;display:flex;align-items:center;gap:.5rem}.warning-badge{display:inline-flex;align-items:center;flex-shrink:0}.complete-action-btn{margin-left:auto;padding:.375rem .75rem;background:#f3f4f6;border:1px solid #d1d5db;border-radius:4px;color:#374151;font-size:.875rem;cursor:pointer;transition:all .2s ease;white-space:nowrap;flex-shrink:0}.complete-action-btn:hover{background:#e5e7eb;border-color:#9ca3af}.completion-item .warning-message{margin-top:.25rem;margin-left:1.75rem;font-size:.75rem;color:#f59e0b;font-style:italic;line-height:1.4}@media (max-width:768px){.plan-completeness-section{padding:1rem;margin:1rem 0}.completeness-header h3{font-size:1rem}.completeness-score{font-size:1.5rem}.completeness-bar{height:8px;margin-bottom:.75rem}.completeness-details{grid-template-columns:1fr;gap:.5rem;margin-top:.75rem}.completion-item{padding:.5rem;gap:.375rem}.completion-icon{font-size:1rem}.completion-text{font-size:.75rem}.complete-action-btn{padding:.25rem .5rem;font-size:.75rem}.completion-item .warning-message{font-size:.688rem;margin-left:1.5rem}}.scenario-templates-section{background:transparent;border-radius:0;padding:0;margin:1.25rem 0;box-shadow:none;border:none;position:relative}.scenario-templates-section h3{margin:0 0 .5rem;color:#1f2937;font-size:.8rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#546070}.section-subtitle{color:#546070;margin:0 0 .75rem;font-size:.9rem}.scenario-templates-grid{display:flex;flex-direction:row;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;gap:1rem;position:relative;padding:.25rem 0 .5rem;-webkit-overflow-scrolling:touch;scroll-behavior:smooth;scrollbar-width:thin;scrollbar-color:rgba(102,126,234,.4) transparent}.scenario-templates-grid::-webkit-scrollbar{height:6px}.scenario-templates-grid::-webkit-scrollbar-track{background:transparent}.scenario-templates-grid::-webkit-scrollbar-thumb{background:rgba(102,126,234,.45);border-radius:3px}.scenario-templates-grid::-webkit-scrollbar-thumb:hover{background:rgba(102,126,234,.65)}.scenario-templates-grid .scenario-template-card{flex:0 0 auto;min-width:220px;max-width:260px}@media (max-width:768px){.scenario-templates-section{padding:0 .25rem}.scenario-templates-section h3{font-size:1.05rem;margin-bottom:.375rem;letter-spacing:.06em}.scenario-templates-section .section-subtitle{font-size:.85rem;margin-bottom:.75rem}.scenario-templates-grid .scenario-template-card{flex:0 0 75vw;min-width:240px;max-width:280px}.scenario-template-card:hover{transform:none}.scenario-templates-grid:after{content:"";position:absolute;right:0;top:0;bottom:0;width:28px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.92));pointer-events:none;z-index:1}}.scenario-scroll-hint{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.35rem;font-size:.75rem;color:#64748b;margin-top:.5rem;padding:.35rem 0 .2rem}.scenario-scroll-hint__cta{font-size:.875rem;font-weight:700;color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;padding:.45rem .9rem;cursor:pointer;transition:background .15s ease,border-color .15s ease}.scenario-scroll-hint__cta:hover{background:#dbeafe;border-color:#93c5fd}.scenario-scroll-hint__muted{font-size:.72rem;color:#94a3b8}.scenario-template-card{background:#fff;color:#374151;padding:1rem;border-radius:10px;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease;text-align:left;border:1px solid #e0dbd2;box-shadow:none}.scenario-template-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.08);border-color:rgba(0,201,167,.22)}.template-icon{font-size:1.5rem;margin-bottom:.5rem}.scenario-template-card h4{margin:0 0 .35rem;font-size:.83rem;font-weight:600;color:#0b1829}.scenario-template-impact{font-size:.83rem;font-family:JetBrains Mono,SF Mono,ui-monospace,monospace;color:#16a34a;font-weight:500;margin-bottom:.3rem}.scenario-template-impact--risk{color:#e8a020}.scenario-template-impact--na{color:#94a3b8;font-family:inherit;font-style:normal;font-weight:500}.scenario-template-card p{margin:0;font-size:.72rem;color:#546070;line-height:1.4}.scenario-template-card--upside{background:rgba(0,201,167,.07);border-color:rgba(0,201,167,.22)}.scenario-template-card--upside:hover{border-color:rgba(16,185,129,.5);box-shadow:0 4px 12px rgba(16,185,129,.18)}.scenario-template-card--risk{background:rgba(232,160,32,.08);border-color:rgba(232,160,32,.25)}.scenario-template-card--risk:hover{border-color:rgba(245,158,11,.55);box-shadow:0 4px 12px rgba(245,158,11,.2)}.scenario-template-card--tax{background:rgba(59,130,246,.08);border-color:rgba(59,130,246,.24)}.scenario-template-card--tax:hover{border-color:rgba(99,102,241,.55);box-shadow:0 4px 12px rgba(99,102,241,.18)}.scenario-template-card--balanced{background:#ffffff;border-color:#e0dbd2}.scenario-template-card.scenario-template-card--disabled{opacity:.52;cursor:not-allowed!important;filter:grayscale(.2)}.scenario-template-card.scenario-template-card--disabled:hover{transform:none!important;box-shadow:none!important}.scenario-template-card.scenario-template-card--risk.scenario-template-card--disabled:hover{border-color:rgba(232,160,32,.25)}.scenario-template-card.scenario-template-card--upside.scenario-template-card--disabled:hover{border-color:rgba(0,201,167,.22)}.scenario-template-card.scenario-template-card--balanced.scenario-template-card--disabled:hover{border-color:#e0dbd2}.coach-suggestions-section{background:white;border-radius:12px;padding:1.5rem;margin:1.5rem 0;box-shadow:0 2px 8px rgba(0,0,0,.1);max-width:100%;overflow:hidden}.coach-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.coach-header h3{margin:0;color:#333;font-size:1.25rem}.suggestions-count{background:#667eea;color:white;padding:.25rem .75rem;border-radius:20px;font-size:.85rem;font-weight:600}.suggestions-list{display:flex;flex-direction:column;gap:1rem;max-width:100%;overflow:hidden}.suggestion-card{display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto auto auto;grid-gap:.75rem 1rem;gap:.75rem 1rem;padding:1.25rem;border-radius:10px;border-left:4px solid;background:#f9fafb;transition:transform .2s ease,box-shadow .2s ease;max-width:100%;overflow:hidden;width:100%;align-items:start}.suggestion-card:hover{transform:translateX(4px);box-shadow:0 4px 12px rgba(0,0,0,.1)}.suggestion-card.priority-high{border-left-color:#ef4444;background:#fef2f2}.suggestion-card.priority-medium{border-left-color:#f59e0b;background:#fffbeb}.suggestion-card.priority-low{border-left-color:#10b981;background:#ecfdf5}.suggestion-icon{font-size:2rem;grid-row:1/-1;align-self:start}.suggestion-title-row{display:flex;align-items:flex-start;gap:.5rem;flex-wrap:nowrap;grid-column:2}.suggestion-card h4{color:#111827;font-size:1rem;font-weight:600;line-height:1.4;flex:1 1}.suggestion-card h4,.suggestion-card p{margin:0;word-wrap:break-word;overflow-wrap:break-word}.suggestion-card p{color:#4b5563;font-size:.9rem;line-height:1.5;grid-column:2}.suggestion-impact{display:flex;gap:.5rem;align-items:center;font-size:.85rem;grid-column:2}.impact-label{color:#6b7280;font-weight:500}.impact-value{color:#10b981;font-weight:600}.suggestion-action-btn{background:#667eea;color:white;border:none;padding:.5rem 1rem;border-radius:6px;font-size:.9rem;font-weight:600;cursor:pointer;transition:background .2s ease;white-space:nowrap;grid-column:3;grid-row:1;align-self:start}.suggestion-action-btn:hover{background:#5568d3}.suggestions-empty{text-align:center;padding:3rem 2rem;color:#6b7280}.empty-icon{font-size:4rem;margin-bottom:1rem}.suggestions-empty h4{margin:0 0 .5rem;color:#10b981;font-size:1.25rem}@media (max-width:640px){.coach-suggestions-section{padding:1rem}.coach-header{gap:.5rem}.coach-header,.suggestion-card{flex-direction:column;align-items:flex-start}.suggestion-card{gap:1rem}.suggestion-icon{font-size:2rem}.suggestion-card h4{font-size:1.1rem}.suggestion-action-btn{width:100%;padding:.75rem 1rem}}@media (min-width:641px) and (max-width:1024px){.suggestion-card{gap:.75rem}.suggestion-icon{font-size:1.75rem}.suggestion-action-btn{padding:.5rem .75rem;font-size:.85rem}}.suggestions-empty p{margin:0;color:#6b7280}.suggestions-loading{padding:2rem;text-align:center}.suggestion-reasoning{margin:.5rem 0;padding:.75rem;background:rgba(102,126,234,.1);border-radius:6px;font-size:.85rem;line-height:1.5}.suggestion-reasoning em{color:#4338ca;font-style:normal}.side-navigation{position:fixed;left:0;top:0;bottom:0;width:260px;background:white;border-right:1px solid #e5e7eb;display:flex;flex-direction:column;z-index:1000;overflow-y:auto}.nav-header{padding:1.5rem 1rem;border-bottom:1px solid #e5e7eb}.nav-logo{display:flex;align-items:center;gap:.75rem;margin-bottom:1.5rem}.nav-logo .logo-icon{font-size:1.75rem}.nav-logo .logo-text{font-size:1.25rem;font-weight:700;color:#667eea}.nav-profile{gap:.75rem}.nav-profile,.profile-avatar{display:flex;align-items:center}.profile-avatar{width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);color:white;justify-content:center;font-weight:700;font-size:1.1rem}.profile-details{flex:1 1}.profile-name{font-weight:600;color:#111827;font-size:.95rem;margin-bottom:.25rem}.profile-switch-btn{background:none;border:none;color:#667eea;font-size:.75rem;cursor:pointer;padding:0;text-decoration:underline}.profile-switch-btn:hover{color:#5568d3}.nav-menu{flex:1 1;padding:1rem 0;overflow-y:auto}.nav-section{margin-bottom:1.5rem}.nav-section-title{font-size:.75rem;font-weight:600;color:#9ca3af;text-transform:uppercase;letter-spacing:.05em;padding:.5rem 1rem;margin-bottom:.25rem}.nav-item{width:100%;display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;background:none;color:#6b7280;font-size:.95rem;cursor:pointer;transition:all .2s ease;text-align:left;border:none;border-left:3px solid transparent}.nav-item:hover{background:#f9fafb;color:#111827}.nav-item.active{background:#eef2ff;color:#667eea;border-left-color:#667eea;font-weight:600}.nav-item:disabled{opacity:.5;cursor:not-allowed}.nav-icon{font-size:1.25rem;flex-shrink:0}.nav-label{flex:1 1}.nav-footer{padding:1rem;border-top:1px solid #e5e7eb}.nav-logout-btn{width:100%;display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;color:#6b7280;font-size:.95rem;cursor:pointer;transition:all .2s ease}.nav-logout-btn:hover{background:#f3f4f6;color:#111827}.main-container{min-height:100vh;transition:margin-left .3s ease}.main-container.with-sidebar{margin-left:260px}@media (max-width:768px){.side-navigation{transform:translateX(-100%);transition:transform .3s ease}.side-navigation.open{transform:translateX(0)}.main-container.with-sidebar{margin-left:0}}.onboarding-content-wrapper{display:flex;gap:2rem;margin-top:1.5rem;flex:1 1;padding:2rem 2rem 8rem;overflow-y:auto}.step-navigation{width:280px;background:white;border-radius:12px;padding:1.5rem;box-shadow:0 2px 8px rgba(0,0,0,.1);height:-moz-fit-content;height:fit-content;position:-webkit-sticky;position:sticky;top:20px}.step-navigation h3{margin:0 0 1rem;color:#333;font-size:1.1rem}.step-nav-list{display:flex;flex-direction:column;gap:.5rem}.step-nav-item{display:flex;align-items:center;gap:.75rem;padding:.75rem;background:#f9fafb;border:2px solid transparent;border-radius:8px;cursor:pointer;transition:all .2s ease;text-align:left;width:100%}.step-nav-item:hover{background:#f3f4f6;transform:translateX(4px)}.step-nav-item.active{background:#eef2ff;border-color:#667eea}.step-nav-item.completed{background:#ecfdf5}.step-nav-icon{font-size:1.5rem;flex-shrink:0}.step-nav-content{display:flex;flex-direction:column;flex:1 1}.step-nav-number{font-size:.75rem;color:#6b7280;font-weight:500}.step-nav-title{font-size:.9rem;color:#111827;font-weight:600}.step-nav-indicator{font-size:1.25rem;color:#667eea;font-weight:700}.onboarding-main-content{flex:1 1;min-width:0}@media (max-width:1024px){.onboarding-content-wrapper{flex-direction:column}.step-navigation{width:100%;position:static}.step-nav-list{flex-direction:row;flex-wrap:wrap}.step-nav-item{flex-grow:1;flex-shrink:1;flex-basis:calc(50% - 0.25rem);min-width:200px}}.sticky-actions{position:fixed;bottom:0;left:0;right:0;background:white;padding:1.5rem 2rem;border-top:2px solid #e5e7eb;box-shadow:0 -4px 12px rgba(0,0,0,.1);z-index:1000;justify-content:space-between;max-width:1400px;margin:0 auto}.actions-left,.sticky-actions{display:flex;align-items:center;gap:1rem}.keyboard-hint{display:inline-block;background:rgba(255,255,255,.2);padding:.15rem .4rem;border-radius:4px;font-size:.7rem;font-weight:600;margin-left:.5rem;border:1px solid rgba(255,255,255,.3)}.btn-secondary .keyboard-hint{background:rgba(0,0,0,.05);border-color:rgba(0,0,0,.1);color:#6b7280}.onboarding-step{padding-bottom:1rem}.onboarding-step h3{margin-top:0;margin-bottom:1.5rem}.input-group{margin-bottom:1.25rem}.onboarding-main-content{padding-bottom:2rem}@media (max-width:768px){.sticky-actions{flex-direction:column;padding:1rem}.actions-left{width:100%;justify-content:space-between}.sticky-actions .btn-primary{width:100%}}.plan-insolvent,.plan-insolvent td{background-color:#fee2e2!important;color:#991b1b!important}.plan-insolvent td{font-weight:600}.plan-insolvent .phase-indicator{background-color:#fca5a5!important}.plan-insolvent .phase-badge{background-color:#ef4444!important;color:white!important}.profile-completeness-dropdown{background-color:#ffffff!important;isolation:isolate}.profile-completeness-dropdown:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background-color:#ffffff;border-radius:8px;z-index:-1}