body{margin:0}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}*{box-sizing:border-box;margin:0;padding:0}html{scroll-behavior:smooth}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#f8fafc;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;line-height:1.6}.App{display:flex;flex-direction:column;min-height:100vh}.App-header{background:linear-gradient(135deg,#667eea,#764ba2);box-shadow:0 2px 10px #0000001a;color:#fff;padding:1rem 0;text-align:center}.App-header h1{font-size:1.8rem;font-weight:600;margin-bottom:.25rem}.App-header p{font-size:1rem;opacity:.9}.App-main{flex:1 1;padding:1rem 0}.container{margin:0 auto;max-width:1200px;padding:0 1rem}.investment-form{background:#fff;border-radius:8px;box-shadow:0 4px 6px #0000000d;margin-bottom:1.5rem;padding:1.5rem}.investment-form h2{color:#1f2937;font-size:1.5rem;margin-bottom:1rem;text-align:center}.form-section{border-bottom:1px solid #e5e7eb;margin-bottom:1.5rem;padding-bottom:1rem}.form-section:last-of-type{border-bottom:none}.form-section h3{border-bottom:2px solid #e5e7eb;color:#374151;font-size:1.1rem;margin-bottom:.75rem;padding-bottom:.5rem}.form-row{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-bottom:.75rem}.form-row.two-col{grid-template-columns:1fr 1fr}.form-row.three-col{grid-template-columns:1fr 1fr 1fr}.form-row.four-col{grid-template-columns:1fr 1fr 1fr 1fr}.form-group{display:flex;flex-direction:column}.form-group label{color:#374151;font-size:.85rem;font-weight:500;line-height:1.3;margin-bottom:.5rem}.form-group input,.form-group select{border:1px solid #d1d5db;border-radius:6px;font-size:.9rem;padding:.6rem;transition:border-color .2s,box-shadow .2s}.form-group input:focus,.form-group select:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a;outline:none}.checkbox-group{align-items:center;flex-direction:row;gap:.5rem}.checkbox-group label{align-items:center;display:flex;gap:.5rem;margin-bottom:0}.checkbox-group input[type=checkbox]{margin:0;width:auto}.submit-btn{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:8px;color:#fff;cursor:pointer;display:block;font-size:1rem;font-weight:600;margin:1.5rem auto 0;min-width:200px;padding:.75rem 2rem;transition:transform .2s,box-shadow .2s}.submit-btn:hover{box-shadow:0 4px 12px #667eea66;transform:translateY(-2px)}.submit-btn:disabled{box-shadow:none;cursor:not-allowed;opacity:.6;transform:none}.error-message{background-color:#fef2f2;border:1px solid #fecaca;border-radius:8px;color:#dc2626;margin-bottom:2rem;padding:1rem}.error-message h3{font-size:1.1rem;margin-bottom:.5rem}.error-message small{color:#6b7280;display:block;margin-top:.5rem}.results-section{animation:fadeIn .5s ease-in-out;border-top:2px solid #e5e7eb;margin-top:2rem;padding-top:1.5rem}.results-header{background:linear-gradient(135deg,#f8fafc,#e2e8f0);border:1px solid #e5e7eb;border-radius:8px;margin-bottom:1.5rem;padding:1rem;text-align:center}.results-header h2{color:#1f2937;font-size:1.8rem;margin:0 0 .5rem}.results-header p{color:#6b7280;font-size:1rem;margin:0}@keyframes fadeIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.results-display{background:#fff;border-radius:8px;box-shadow:0 4px 6px #0000000d;margin-bottom:1.5rem;padding:1.5rem}.results-display h2{color:#1f2937;font-size:1.5rem;margin-bottom:1rem;text-align:center}.results-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}.result-card{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;padding:1rem}.result-card h3{border-bottom:2px solid #3b82f6;color:#1f2937;font-size:1.2rem;margin-bottom:1rem;padding-bottom:.5rem}.result-card h4{color:#374151;font-size:1rem;margin:1rem 0 .5rem}.corpus-comparison,.income-comparison,.lifetime-summary{display:flex;flex-direction:column;gap:.75rem}.breakdown-item,.corpus-item,.income-item,.summary-item{align-items:center;background:#fff;border-radius:6px;display:flex;justify-content:space-between;padding:.75rem}.corpus-item.nps,.income-item.nps{border-left:4px solid #3b82f6}.corpus-item.mf,.income-item.mf{border-left:4px solid #ef4444}.corpus-advantage,.income-total{border-radius:6px;font-weight:600;margin-top:.5rem;padding:1rem;text-align:center}.corpus-advantage{background:linear-gradient(135deg,#f3f4f6,#e5e7eb)}.mf-advantage{color:#dc2626}.nps-advantage{color:#059669}.income-total{background:linear-gradient(135deg,#d1fae5,#a7f3d0);color:#059669}.value{color:#1f2937;font-weight:600}.value.total{font-size:1.1rem}.label{color:#6b7280}.sub-label{color:#9ca3af;font-size:.875rem;margin-top:.25rem}.insights{display:flex;flex-direction:column;gap:.75rem}.insight-item{background:#fff;border-radius:6px;flex-direction:column;gap:.25rem;padding:.75rem}.metric{color:#1f2937;font-size:.9rem;font-weight:600}.description{color:#6b7280;font-size:.875rem;line-height:1.4}.direction{color:#3b82f6;font-size:.8rem;font-weight:500}.charts-container{background:#fff;border-radius:8px;box-shadow:0 4px 6px #0000000d;padding:1.5rem}.charts-container h2{color:#1f2937;font-size:1.5rem;margin-bottom:1rem;text-align:center}.chart-section{margin-bottom:2rem}.chart-section h3{color:#374151;font-size:1.3rem;margin-bottom:1rem;text-align:center}.chart-wrapper{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;padding:1rem}.analysis-insight-box{background:linear-gradient(135deg,#fef3c7,#fde68a);border:1px solid #f59e0b;border-radius:10px;box-shadow:0 2px 4px #f59e0b1a;margin:1rem 0;padding:1rem}.insight-header{align-items:center;color:#92400e;display:flex;font-size:1rem;gap:.5rem;margin-bottom:.75rem}.insight-icon{font-size:1.2rem}.insight-content{color:#78350f;font-size:.9rem;line-height:1.4}.insight-content p{margin:.5rem 0}.insight-content p:first-child{margin-top:0}.insight-content p:last-child{margin-bottom:0}.insight-content strong{color:#451a03}.chart-insights{border-top:1px solid #e5e7eb;margin-top:2rem;padding-top:2rem}.chart-insights h3{color:#1f2937;font-size:1.2rem;margin-bottom:1rem;text-align:center}.insights-grid{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}.insight{background:#f3f4f6;border-left:4px solid #3b82f6;border-radius:8px;padding:1.5rem}.insight h4{color:#1f2937;font-size:1rem;margin-bottom:.5rem}.insight p{color:#6b7280;font-size:.9rem;line-height:1.5}.App-footer{background-color:#374151;color:#d1d5db;margin-top:auto;padding:1rem;text-align:center}@media (max-width:768px){.container{padding:0 .5rem}.App-header h1{font-size:1.5rem}.App-header p{font-size:.9rem}.charts-container,.investment-form,.results-display{margin-bottom:1rem;padding:1rem}.form-row,.form-row.four-col,.form-row.three-col,.form-row.two-col,.results-grid{grid-template-columns:1fr}.results-grid{gap:1rem}.insights-grid{grid-template-columns:1fr}.corpus-item,.income-item,.summary-item{align-items:flex-start;flex-direction:column;gap:.25rem}.chart-section{margin-bottom:2rem}.chart-section h3{font-size:1.2rem;margin-bottom:.75rem;text-align:left}.chart-wrapper{margin:0 -.5rem;overflow-x:auto;padding:.5rem}.recharts-wrapper{min-width:320px!important}}@media (max-width:1024px) and (min-width:769px){.form-row.four-col,.form-row.three-col{grid-template-columns:1fr 1fr}}@media (min-width:1400px){.container{max-width:1400px}.form-row.three-col{grid-template-columns:1fr 1fr 1fr 1fr}}@media (max-width:480px){.App-header{padding:1rem 0}.App-header h1{font-size:1.5rem}.chart-wrapper{padding:.5rem}.chart-section h3{font-size:1.1rem}}.advanced-analysis-toggle{background:linear-gradient(135deg,#f8fafc,#e2e8f0);border:1px solid #e5e7eb;border-radius:8px;margin:1.5rem 0;padding:1rem;text-align:center}.toggle-btn{background:linear-gradient(135deg,#4f46e5,#7c3aed);border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:1.1rem;font-weight:600;margin-bottom:.5rem;padding:1rem 2rem;transition:transform .2s,box-shadow .2s}.toggle-btn:hover{box-shadow:0 4px 12px #4f46e566;transform:translateY(-2px)}.toggle-btn:disabled{box-shadow:none;cursor:not-allowed;opacity:.6;transform:none}.toggle-description{color:#6b7280;font-size:.9rem;margin:0}.advanced-analysis{background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 4px 6px #0000000d;margin:1.5rem 0;padding:1.5rem}.analysis-header{align-items:center;border-bottom:2px solid #e5e7eb;display:flex;justify-content:space-between;margin-bottom:1.5rem;padding-bottom:1rem}.analysis-header h2{color:#1f2937;font-size:1.8rem;margin:0}.collapse-btn{background:#f3f4f6;border:1px solid #d1d5db;border-radius:6px;color:#6b7280;cursor:pointer;font-size:.9rem;padding:.5rem 1rem}.collapse-btn:hover{background:#e5e7eb}.analysis-description{background:#f8fafc;border-left:4px solid #4f46e5;border-radius:8px;margin-bottom:2rem;padding:1rem}.analysis-description p{color:#4b5563;margin:.5rem 0}.loading-analysis{padding:2rem;text-align:center}.spinner{animation:spin 1s linear infinite;border:4px solid #f3f4f6;border-radius:50%;border-top-color:#4f46e5;height:40px;margin:0 auto 1rem;width:40px}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.error-analysis{background:#fef2f2;border:1px solid #fecaca;border-radius:8px;color:#dc2626;padding:1rem;text-align:center}.retry-btn{background:#dc2626;border:none;border-radius:6px;color:#fff;cursor:pointer;margin-top:.5rem;padding:.5rem 1rem}.summary-cards{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));margin-bottom:2rem}.summary-card{border:1px solid #e5e7eb;border-radius:10px;padding:1.5rem;text-align:center}.summary-card.success{background:linear-gradient(135deg,#d1fae5,#a7f3d0);border-color:#10b981}.summary-card.warning{background:linear-gradient(135deg,#fed7aa,#fdba74);border-color:#f59e0b}.summary-card h3{color:#1f2937;font-size:1.1rem;margin:0 0 .5rem}.stat-value{color:#1f2937;font-size:2rem;font-weight:700;margin:.5rem 0}.summary-card p{color:#6b7280;font-size:.9rem;margin:0}.scenario-analysis{margin:2rem 0}.scenario-analysis h3{color:#1f2937;margin-bottom:1rem}.scenarios-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}.scenario-card{border:1px solid #e5e7eb;border-radius:10px;padding:1.5rem}.scenario-card.pessimistic{background:linear-gradient(135deg,#fee2e2,#fecaca);border-color:#ef4444}.scenario-card.conservative{background:linear-gradient(135deg,#fef3c7,#fde68a);border-color:#f59e0b}.scenario-card.expected{background:linear-gradient(135deg,#dbeafe,#bfdbfe);border-color:#3b82f6}.scenario-card.optimistic{background:linear-gradient(135deg,#d1fae5,#a7f3d0);border-color:#10b981}.scenario-card h4{color:#1f2937;font-size:1rem;margin:0 0 1rem}.scenario-stats{display:flex;flex-direction:column;gap:.5rem}.scenario-stats .stat{align-items:center;display:flex;justify-content:space-between}.scenario-stats .label{color:#6b7280;font-size:.9rem}.scenario-stats .value{color:#1f2937;font-weight:600}.fan-chart-section{margin:2rem 0}.fan-chart-section h3{color:#1f2937;margin-bottom:1rem}.chart-legend{display:flex;flex-wrap:wrap;gap:1rem;justify-content:center;margin-top:1rem}.legend-item{align-items:center;color:#6b7280;display:flex;font-size:.8rem;gap:.5rem}.legend-color{border-radius:3px;height:16px;width:16px}.legend-color.optimistic{background:#10b981}.legend-color.expected{background:#3b82f6}.legend-color.conservative{background:#f59e0b}.legend-color.pessimistic{background:#ef4444}.insights-section{margin:2rem 0}.insights-section h3{color:#1f2937;margin-bottom:1rem}.insights-list{display:flex;flex-direction:column;gap:1rem}.insight-item{align-items:flex-start;background:#f9fafb;border-left:4px solid #3b82f6;border-radius:8px;display:flex;gap:1rem;padding:1rem}.insight-icon{flex-shrink:0;font-size:1.5rem}.insight-content h4{color:#1f2937;font-size:1rem;margin:0 0 .5rem}.insight-content p{color:#6b7280;font-size:.9rem;line-height:1.5;margin:0}@media (max-width:768px){.scenarios-grid,.summary-cards{grid-template-columns:1fr}.chart-legend{align-items:center;flex-direction:column}.analysis-header{flex-direction:column;gap:1rem}}
/*# sourceMappingURL=main.4f1f9e70.css.map*/