.header{background:#000;border-bottom:1px solid #1a1a1a;padding:24px 32px 20px}.header-content{max-width:1400px;margin:0 auto;display:flex;align-items:center;gap:16px}.header-logo{height:60px;width:auto;object-fit:contain}.header-text{flex:1}.header h1{font-size:1.75em;margin-bottom:4px;font-weight:500;letter-spacing:-.02em;color:#fff}.header p{font-size:.85em;color:#6e6e6e;font-weight:400}@media (max-width: 1024px) and (min-width: 769px){.header{padding:22px 24px 18px}.header-logo{height:56px}}@media (max-width: 768px){.header{padding:16px 16px 14px}.header-logo{height:44px}.header-content{gap:12px}.header h1{font-size:1.4em}.header p{font-size:.8em;display:none}}@media (max-width: 480px){.header{padding:14px 12px 12px}.header-logo{height:40px}.header h1{font-size:1.2em}}.tabs{background:#000;border-bottom:1px solid #1a1a1a;padding:0;position:sticky;top:0;z-index:100;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.tabs-container{max-width:1400px;margin:0 auto;display:flex;gap:32px;padding:0 32px}.tab{padding:14px 0;cursor:pointer;font-weight:500;transition:all .3s;border:none;background:none;font-size:.9em;color:#6e6e6e;border-bottom:2px solid transparent;letter-spacing:.02em}.tab:hover{color:#fff}.tab.active{color:#00c805;border-bottom:2px solid #00C805}@media (max-width: 768px){.tabs-container{padding:0 16px;gap:20px;overflow-x:auto}}.one-time-costs{background:#000;padding:12px;border-radius:8px;border:1px solid #1a1a1a}.costs-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.costs-header h3{color:#fff;font-size:.85em;font-weight:500;letter-spacing:-.01em;margin:0}.add-cost-btn{padding:4px 10px;background:#00c805;color:#000;border:none;border-radius:6px;font-size:.75em;font-weight:600;cursor:pointer;transition:all .2s}.add-cost-btn:hover{background:#00e006}.cost-form{background:#0a0a0a;padding:10px;border-radius:6px;margin-bottom:10px}.form-row{display:flex;gap:8px;margin-bottom:8px}.form-field{display:flex;flex-direction:column;gap:4px;flex:1}.form-field.flex-grow{flex:2}.form-field label{font-size:.7em;color:#6e6e6e;font-weight:400}.form-field input,.form-field select{width:100%;padding:6px 8px;border:1px solid #1a1a1a;border-radius:6px;font-size:.8em;transition:all .2s;background:#000;color:#fff}.form-field input:focus,.form-field select:focus{outline:none;border-color:#00c805}.checkbox-field{margin-bottom:8px}.checkbox-field label{display:flex;align-items:flex-start;gap:8px;cursor:pointer;font-size:.8em;color:#fff}.checkbox-field input[type=checkbox]{margin-top:2px;cursor:pointer;width:16px;height:16px;accent-color:#00C805}.checkbox-field span{flex:1;line-height:1.4}.help-text{margin:4px 0 0 24px;font-size:.7em;color:#6e6e6e;font-style:italic}.save-cost-btn{width:100%;padding:6px;background:#1a1a1a;color:#fff;border:1px solid #2a2a2a;border-radius:6px;font-size:.75em;font-weight:500;cursor:pointer;transition:all .2s}.save-cost-btn:hover{background:#2a2a2a;border-color:#00c805}.costs-list{display:flex;flex-direction:column;gap:6px}.cost-item{display:flex;justify-content:space-between;align-items:center;background:#0a0a0a;padding:8px 10px;border-radius:6px;border:1px solid #1a1a1a}.cost-info{display:flex;align-items:center;gap:8px;flex:1;font-size:.75em}.cost-year{color:#00c805;font-weight:600;min-width:50px}.cost-reason{color:#fff;flex:1}.cost-amount{color:#6e6e6e;font-weight:500;min-width:80px;text-align:right}.cost-applies{padding:2px 8px;border-radius:4px;font-size:.9em;font-weight:600;text-transform:uppercase;letter-spacing:.05em;min-width:50px;text-align:center}.cost-applies.buy{background:#00c80533;color:#00c805}.cost-applies.rent{background:#ff6b0033;color:#ff6b00}.cost-applies.both{background:#6e6e6e33;color:#6e6e6e}.remove-cost-btn{width:24px;height:24px;background:#1a1a1a;color:#ff6b00;border:none;border-radius:4px;font-size:1.2em;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center;padding:0;line-height:1}.remove-cost-btn:hover{background:#ff6b00;color:#000}.no-costs{color:#6e6e6e;font-size:.75em;text-align:center;padding:10px}.inputs-panel{background:#0a0a0a;border-right:1px solid #1a1a1a;height:calc(100vh - 140px);overflow-y:auto;position:sticky;top:96px}.inputs-panel-content{padding:16px}.panel-header{margin-bottom:12px}.panel-header h2{font-size:1.1em;font-weight:500;color:#fff;margin-bottom:2px;letter-spacing:-.01em}.panel-header p{color:#6e6e6e;font-size:.75em}.input-sections{display:flex;flex-direction:column;gap:12px}.input-section{background:#000;padding:12px;border-radius:8px;border:1px solid #1a1a1a}.input-section h3{color:#fff;margin-bottom:10px;font-size:.85em;font-weight:500;letter-spacing:-.01em}.input-fields{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.input-field{display:flex;flex-direction:column;gap:4px}.input-field label{font-weight:400;color:#6e6e6e;font-size:.72em}.input-field input{width:100%;padding:6px 8px;border:1px solid #1a1a1a;border-radius:6px;font-size:.85em;transition:all .2s;background:#0a0a0a;color:#fff}.input-field input:focus{outline:none;border-color:#00c805;background:#000}.input-field input:hover{border-color:#2a2a2a}.inputs-panel::-webkit-scrollbar{width:8px}.inputs-panel::-webkit-scrollbar-track{background:#0a0a0a}.inputs-panel::-webkit-scrollbar-thumb{background:#1a1a1a;border-radius:4px}.inputs-panel::-webkit-scrollbar-thumb:hover{background:#2a2a2a}@media (max-width: 1024px) and (min-width: 769px){.inputs-panel{height:auto;max-height:600px;position:relative;top:0;border-right:none;border-bottom:1px solid #1a1a1a}.input-field input{padding:8px 10px;font-size:.9em}}@media (max-width: 768px){.inputs-panel{height:auto;position:relative;top:0;border-right:none;border-bottom:1px solid #1a1a1a}.inputs-panel-content{padding:20px 16px}.input-field input{padding:10px 12px;font-size:1em}.input-field label{font-size:.8em}}@media (max-width: 480px){.inputs-panel-content{padding:16px 12px}.input-fields{grid-template-columns:1fr;gap:12px}}.results-panel{background:#000;height:calc(100vh - 140px);overflow-y:auto;position:relative}.results-content{padding:16px 20px}.loading-overlay{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;color:#6e6e6e}.spinner{border:2px solid #1a1a1a;border-top:2px solid #00C805;border-radius:50%;width:32px;height:32px;animation:spin 1s linear infinite;margin-bottom:12px}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.empty-state{display:flex;align-items:center;justify-content:center;height:100%;color:#6e6e6e;font-size:.95em}.top-section{display:flex;gap:10px;margin-bottom:16px;align-items:stretch}.winner-section{text-align:center;padding:16px 12px;background:linear-gradient(180deg,#0a0a0a,#000);border-radius:12px;border:1px solid #1a1a1a;flex-shrink:0;width:220px;display:flex;flex-direction:column;justify-content:center}.winner-badge{display:inline-block;padding:4px 14px;border-radius:16px;font-size:.75em;font-weight:600;margin-bottom:10px;text-transform:uppercase;letter-spacing:.05em}.winner-badge.buy{background:#00c805;color:#000}.winner-badge.rent{background:#ff6b00;color:#000}.advantage-amount{font-size:1.8em;font-weight:500;color:#fff;margin-bottom:4px;letter-spacing:-.02em}.advantage-label{color:#6e6e6e;font-size:.8em}.metrics-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;flex:1}.metric-card{background:#0a0a0a;padding:12px;border-radius:8px;border:1px solid #1a1a1a}.metric-card.buy{border-left:2px solid #00C805}.metric-card.rent{border-left:2px solid #FF6B00}.metric-label{font-size:.7em;color:#6e6e6e;margin-bottom:6px;text-transform:uppercase;letter-spacing:.05em}.metric-value{font-size:1.15em;font-weight:500;color:#fff;letter-spacing:-.01em}.chart-section{background:#0a0a0a;padding:14px;border-radius:10px;border:1px solid #1a1a1a;margin-bottom:12px}.chart-section h3{color:#fff;font-size:.85em;font-weight:500;margin-bottom:12px;letter-spacing:-.01em}.chart-container{height:200px;position:relative}.results-panel::-webkit-scrollbar{width:8px}.results-panel::-webkit-scrollbar-track{background:#000}.results-panel::-webkit-scrollbar-thumb{background:#1a1a1a;border-radius:4px}.results-panel::-webkit-scrollbar-thumb:hover{background:#2a2a2a}@media (max-width: 1024px) and (min-width: 769px){.results-panel{height:auto;min-height:600px}.results-content{padding:20px}.metrics-grid{grid-template-columns:repeat(2,1fr);gap:12px}.chart-container{height:220px}}@media (max-width: 768px){.results-panel{height:auto}.results-content{padding:20px 16px}.top-section{flex-direction:column;gap:16px}.winner-section{width:100%;padding:24px 20px}.advantage-amount{font-size:2em}.metrics-grid{grid-template-columns:repeat(2,1fr);gap:12px}.chart-section{padding:16px;margin-bottom:16px}.chart-section h3{font-size:.9em;margin-bottom:14px}.chart-container{height:240px}}@media (max-width: 480px){.results-content{padding:16px 12px}.winner-section{padding:20px 16px}.advantage-amount{font-size:1.8em}.metrics-grid{grid-template-columns:1fr;gap:10px}.metric-card,.chart-section{padding:14px}.chart-container{height:260px}}.details-tab{width:100%}.details-tab h2{margin-bottom:24px;color:#fff;font-weight:500;font-size:1.5em;letter-spacing:-.01em}.table-wrapper{overflow-x:auto;border-radius:16px;border:1px solid #1a1a1a}table{width:100%;border-collapse:collapse;background:#0a0a0a}table th{background:#000;color:#fff;padding:16px;text-align:left;font-weight:500;font-size:.85em;text-transform:uppercase;letter-spacing:.05em;position:sticky;top:0;z-index:10;border-bottom:1px solid #1a1a1a;white-space:nowrap}table th:first-child{position:sticky;left:0;z-index:20;background:#000}table th.sortable{cursor:pointer;-webkit-user-select:none;user-select:none;transition:all .2s}table th.sortable:hover{background:#1a1a1a;color:#00c805}table th .sort-arrow{color:#00c805;font-size:.7em;margin-left:4px}table td{padding:16px;border-bottom:1px solid #1a1a1a;color:#6e6e6e;white-space:nowrap}table td:first-child{position:sticky;left:0;z-index:5;background:#0a0a0a}table tr:hover td:first-child,table tr:hover{background:#000}table tr.year-4{background:#00c80526}table tr.year-4 td{color:#fff;font-weight:500}table tr.year-4 td:first-child{background:#00c80526}table tr.year-30{background:#ff6b0026}table tr.year-30 td{color:#fff;font-weight:500}table tr.year-30 td:first-child{background:#ff6b0026}table td.positive{color:#00c805;font-weight:600}table td.negative{color:#ff6b00;font-weight:600}table td.winner-buy{color:#00c805;font-weight:600;text-transform:uppercase;letter-spacing:.05em}table td.winner-rent{color:#ff6b00;font-weight:600;text-transform:uppercase;letter-spacing:.05em}@media (max-width: 768px){table th,table td{padding:12px;font-size:.9em}}.montecarlo-tab{width:100%}.montecarlo-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.montecarlo-header h2{color:#fff;font-weight:500;font-size:1.5em;letter-spacing:-.01em;margin-bottom:4px}.montecarlo-header p{color:#6e6e6e;font-size:.85em}.run-button{padding:10px 24px;background:#00c805;color:#000;border:none;border-radius:8px;font-weight:600;font-size:.9em;cursor:pointer;transition:all .2s}.run-button:hover:not(:disabled){background:#00e006;transform:translateY(-1px)}.run-button:disabled{opacity:.5;cursor:not-allowed}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:24px}.stat-card{background:#0a0a0a;padding:16px;border-radius:8px;border:1px solid #1a1a1a}.stat-card.buy{border-left:3px solid #00C805}.stat-card.rent{border-left:3px solid #FF6B00}.stat-card.neutral{border-left:3px solid #6e6e6e}.stat-label{font-size:.7em;color:#6e6e6e;margin-bottom:8px;text-transform:uppercase;letter-spacing:.05em}.stat-value{font-size:1.3em;font-weight:600;color:#fff;letter-spacing:-.01em}.chart-section{background:#0a0a0a;padding:20px;border-radius:10px;border:1px solid #1a1a1a;margin-bottom:24px}.chart-section h3{color:#fff;font-size:.95em;font-weight:500;margin-bottom:16px;letter-spacing:-.01em}.chart-container-large{height:400px;position:relative}.chart-explanation{color:#6e6e6e;font-size:.8em;line-height:1.5;margin-top:12px;padding-top:12px;border-top:1px solid #1a1a1a}.info-box{background:#0a0a0a;padding:20px;border-radius:10px;border:1px solid #1a1a1a}.info-box h4{color:#fff;font-size:.9em;font-weight:500;margin-bottom:12px}.info-box p{color:#6e6e6e;font-size:.85em;line-height:1.6;margin-bottom:12px}.info-box ul{color:#6e6e6e;font-size:.85em;line-height:1.6;margin-left:20px;margin-bottom:12px}.info-box li{margin-bottom:4px}.no-data{text-align:center;padding:80px 20px;color:#6e6e6e;font-size:1.1em}@media (max-width: 1200px){.stats-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width: 768px){.montecarlo-header{flex-direction:column;align-items:flex-start;gap:16px}.stats-grid{grid-template-columns:1fr}.chart-container-large{height:300px}}.footer{background:#000;border-top:1px solid #1a1a1a;padding:24px 32px;text-align:center}.footer p{color:#6e6e6e;font-size:.85em;margin:0}.footer a{color:#00c805;text-decoration:none;transition:color .2s}.footer a:hover{color:#0f0;text-decoration:underline}@media (max-width: 1024px) and (min-width: 769px){.footer{padding:20px 24px}}@media (max-width: 768px){.footer{padding:20px 16px}.footer p{font-size:.8em}}@media (max-width: 480px){.footer{padding:16px 12px}.footer p{font-size:.75em}}.app{width:100%;min-height:100vh;background:#000}.app-content{width:100%}.split-layout{display:grid;grid-template-columns:360px 1fr;min-height:calc(100vh - 140px)}.inputs-section,.results-section{width:100%}.full-layout{padding:24px;max-width:1400px;margin:0 auto}@media (min-width: 1441px){.split-layout{grid-template-columns:400px 1fr}.full-layout{padding:32px}}@media (max-width: 1200px){.split-layout{grid-template-columns:340px 1fr}}@media (max-width: 1024px) and (min-width: 769px){.split-layout{grid-template-columns:320px 1fr}}@media (max-width: 768px){.split-layout{grid-template-columns:1fr}.full-layout{padding:16px}.app-content{overflow-x:hidden}}*{margin:0;padding:0;box-sizing:border-box}html{font-size:16px;-webkit-tap-highlight-color:transparent}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica Neue,Arial,sans-serif;background:#000;color:#fff;min-height:100vh;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;overflow-x:hidden;touch-action:manipulation}#root{width:100%;min-height:100vh}@media (max-width: 768px){button,a,input,select{min-height:44px;min-width:44px}}@media (min-width: 1441px){html{font-size:18px}}@media (min-width: 768px) and (max-width: 1024px){html{font-size:15px}}
