:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}.flex{display:flex}.container{max-width:1200px;margin:0 auto;padding:2rem;font-family:system-ui,-apple-system,sans-serif}.container>*{margin-bottom:2rem;padding:1.5rem;background-color:#f8f9fa;border-radius:8px;box-shadow:0 2px 4px #0000001a}.totals-div{background-color:#fff;border:2px solid #007bff;padding:2rem;margin-top:2rem}.totals-div p{font-size:1.1rem;margin-bottom:.75rem;padding:.5rem 0;border-bottom:1px solid #e9ecef}.totals-div p:last-child{border-bottom:none;font-weight:700;font-size:1.2rem;margin-top:1rem;padding-top:1rem;border-top:2px solid #007bff}.totals-div p:last-child{color:#28a745}.totals-div p:last-child:has(negative-value){color:#dc3545}@media (max-width: 768px){.container{padding:1rem}.container>*{padding:1rem}}.container>*:hover{transform:translateY(-2px);box-shadow:0 4px 8px #00000026;transition:all .3s ease}h1{text-align:center;color:#333;margin-bottom:2rem}.estimate-tax-container{max-width:400px;margin:0 auto;padding:20px;font-family:Arial,sans-serif;background-color:#f5f5f5;border-radius:8px;box-shadow:0 2px 4px #0000001a}.estimate-tax-title{text-align:center;margin-bottom:20px;color:#333}.estimate-tax-input-group{margin-bottom:15px}.estimate-tax-label{display:block;margin-bottom:5px;font-weight:700;color:#555}.estimate-tax-input,.estimate-tax-select{width:100%;padding:8px;border-radius:4px;border:1px solid #ccc;font-size:16px}.tax-container{padding-left:125px}.estimate-tax-button{width:100%;padding:10px;background-color:#007bff;color:#fff;border:none;border-radius:4px;font-size:16px;cursor:pointer}.estimate-tax-button:disabled{background-color:#ccc;cursor:not-allowed}.estimate-tax-result{margin-top:20px;padding:15px;background-color:#fff;border-radius:4px;text-align:center}.estimate-tax-result-title{margin-bottom:10px;color:#333}.estimate-tax-result-amount{font-size:24px;font-weight:700;color:#007bff;margin-bottom:10px}.estimate-tax-result-details{color:#666;font-size:14px;margin-bottom:10px}.estimate-tax-disclaimer{font-size:12px;color:#999;margin-top:15px}.mortgage-calculator{max-width:400px;margin:0 auto;padding:20px;font-family:Arial,sans-serif}.input-group{margin-bottom:15px}.input-group label{display:block;margin-bottom:5px;font-weight:700}.input-group input{width:100%;padding:8px;border:1px solid #ccc;border-radius:4px;box-sizing:border-box}.result{margin-top:20px;padding:15px;background-color:#f5f5f5;border-radius:4px}.result h3{margin:0;color:#333}.rate-fetch{margin-bottom:20px}.fetch-rates-btn{padding:10px 20px;background-color:#007bff;color:#fff;border:none;border-radius:4px;cursor:pointer;margin-bottom:10px}.fetch-rates-btn:disabled{background-color:#ccc;cursor:not-allowed}.current-rate{padding:10px;background-color:#e8f5e9;border-left:4px solid #4caf50;margin-bottom:10px}.error-message{padding:10px;background-color:#ffebee;border-left:4px solid #f44336;color:#c62828;margin-bottom:10px}.loan-container{padding:1rem;font-family:Arial,sans-serif;min-width:fit-content}.loan-title{font-size:1.5rem;font-weight:700;margin-bottom:1rem}.chart-container{display:flex;flex-wrap:wrap;margin-bottom:1.5rem;justify-content:center;width:800px}.chart-wrapper{width:100%;padding:1rem;background-color:#f9f9f9;border-radius:.25rem;box-shadow:0 1px 3px #0000001a}@media (min-width: 992px){.chart-wrapper{width:50%}}.chart-title{font-size:1.25rem;font-weight:600;margin-bottom:1rem}.table-container{overflow-x:auto}.loan-table{width:100%;border-collapse:collapse;background-color:#fff;border:1px solid #e2e8f0}.loan-table th,.loan-table td{border:1px solid #e2e8f0;padding:.5rem;text-align:left}.loan-table th{background-color:#f7fafc}.loan-table tr{border:1px solid #e2e8f0;cursor:pointer}.loan-table tr:hover{background-color:#f7fafc}.selected-row{background-color:#ebf8ff}.debt-header{display:flex;flex-direction:column;width:100%}.toggle-amortization-btn{background-color:#2196f3;color:#fff;padding:8px 15px}.toggle-amortization-btn:hover{background-color:#0b7dda}.amortization-container{margin-top:15px;border-top:1px solid #eee;padding-top:15px;width:100%;overflow-x:auto}.debtList .card{min-width:300px;transition:all .3s ease}.debtList .card .amortization-container{max-height:400px;overflow-y:auto}.show-amortization-btn{background-color:#2196f3;color:#fff;padding:8px 15px}.show-amortization-btn:hover{background-color:#0b7dda}.amortization-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);display:flex;justify-content:center;align-items:center;z-index:1000;animation:fadeIn .3s ease}.amortization-modal-content{background-color:#fff;border-radius:8px;width:90%;max-width:1000px;max-height:90vh;overflow-y:auto;box-shadow:0 5px 20px #0003;animation:slideIn .3s ease}.amortization-modal-header{display:flex;justify-content:space-between;align-items:center;padding:15px 20px;border-bottom:1px solid #eee;position:sticky;top:0;background-color:#fff;z-index:10}.amortization-modal-header h3{margin:0;font-size:18px;color:#333}.close-modal-btn{background-color:#2196f3;color:#fff;padding:8px 15px}.close-modal-btn:hover{background-color:#0b7dda}.amortization-modal-body{padding:20px}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideIn{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.insurance-container{background-color:#f8f9fa;border-radius:8px;padding:24px;margin:20px 0;box-shadow:0 2px 4px #0000001a;display:flex;justify-content:space-around;min-width:100%}.insurance-container h3{color:#333;font-size:1.5rem;margin-bottom:24px;border-bottom:2px solid #dee2e6;padding-bottom:12px}.insurance-section{background-color:#fff;border:1px solid #dee2e6;border-radius:6px;padding:16px;margin-bottom:16px}.insurance-section h4{color:#495057;font-size:1.25rem;margin-bottom:12px}.insurance-section p{margin:8px 0;color:#6c757d;font-size:.95rem}.insurance-section p.note{font-size:.875rem;color:#868e96;font-style:italic;margin-top:12px;padding-top:8px;border-top:1px dashed #dee2e6}.insurance-total{background-color:#e8f4fd;border:2px solid #0d6efd;border-radius:6px;padding:20px;margin-top:24px;text-align:center}.insurance-total h4{color:#0d6efd;font-size:1.25rem;margin-bottom:12px}.insurance-total p{color:#333;font-size:1.5rem;font-weight:700}@media (max-width: 768px){.insurance-container{padding:16px}.insurance-container h3{font-size:1.25rem}.insurance-section h4{font-size:1.125rem}.insurance-total{padding:16px}.insurance-total p{font-size:1.25rem}}.capital-expense{padding:1rem;border:1px solid #ccc;border-radius:8px;margin-bottom:1rem}.percent-input-group{margin-bottom:1rem}.percent-input-group label{display:block;margin-bottom:.5rem;font-weight:700}.input-wrapper{display:flex;align-items:center;gap:1rem}#cap-ex-slider{flex:1;max-width:300px}#cap-ex-input{width:60px;padding:.25rem;text-align:right}.calculation-display{margin-top:1rem;padding-top:1rem;border-top:1px solid #eee}.calculation-display p{margin:.5rem 0}.rental-container{width:100%;padding:8px;border-radius:4px;border:1px solid #ccc}.input-group{margin-bottom:1rem}.input-group label{display:block;margin-bottom:.5rem}.input-group input{width:100%;padding:.5rem;border:1px solid #ccc;border-radius:4px}.checkbox-group{margin-bottom:1rem}.checkbox-group label{display:flex;align-items:center;gap:.5rem}.manager-options{margin-top:1rem;padding:1rem;border:1px solid #ccc;border-radius:4px}.radio-group{margin-bottom:1rem}.radio-group label{display:inline-block;margin-right:1rem}button{background-color:#007bff;color:#fff;border:none;padding:.5rem 1rem;border-radius:4px;cursor:pointer;margin-top:1rem}button:hover{background-color:#0056b3}.results{margin-top:2rem;padding:1rem;background-color:#f8f9fa;border-radius:4px}.results p{margin-bottom:.5rem}
