: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}}:root{--primary-color: #2563eb;--secondary-color: #1e40af;--background-color: #f8fafc;--card-background: #ffffff;--text-color: #1e293b;--border-color: #e2e8f0;--success-color: #10b981}body{margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;background-color:var(--background-color);color:var(--text-color);-webkit-font-smoothing:antialiased}.app-container{width:95%;max-width:1800px;margin:0 auto;padding:2rem;min-height:100vh;display:flex;flex-direction:column}header{text-align:center;margin-bottom:3rem}header h1{font-size:2.5rem;color:var(--primary-color);margin-bottom:.5rem}header p{color:#64748b;font-size:1.1rem}.calculator-layout{display:grid;grid-template-columns:1fr 3fr;gap:3rem;width:100%;flex:1;align-items:start}@media(max-width:1024px){.calculator-layout{grid-template-columns:1fr}}.calculator-form{background:var(--card-background);padding:2rem;border-radius:1rem;box-shadow:0 4px 6px -1px #0000001a}.form-group{margin-bottom:1.5rem}.form-group label{display:block;margin-bottom:.5rem;font-weight:500;color:#475569}.form-group input,.form-group select{width:100%;padding:.75rem;border:1px solid var(--border-color);border-radius:.5rem;font-size:1rem;transition:border-color .2s;box-sizing:border-box}.form-group input:focus,.form-group select:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 3px #2563eb1a}.results-display{display:flex;flex-direction:column;gap:2rem}.summary-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}@media(max-width:640px){.summary-cards{grid-template-columns:1fr}}.card{background:var(--card-background);padding:1.5rem;border-radius:1rem;box-shadow:0 4px 6px -1px #0000001a;text-align:center}.card h3{margin:0 0 .5rem;font-size:.9rem;color:#64748b;text-transform:uppercase;letter-spacing:.05em}.card .amount{margin:0;font-size:1.5rem;font-weight:700;color:var(--text-color);word-break:break-word}.chart-container{background:var(--card-background);padding:1.5rem;border-radius:1rem;box-shadow:0 4px 6px -1px #0000001a;height:400px;position:relative}.table-toggle{text-align:center}.toggle-btn{background-color:var(--primary-color);color:#fff;border:none;padding:.75rem 1.5rem;border-radius:.5rem;font-size:1rem;cursor:pointer;transition:background-color .2s}.toggle-btn:hover{background-color:var(--secondary-color)}.table-container{background:var(--card-background);padding:1.5rem;border-radius:1rem;box-shadow:0 4px 6px -1px #0000001a;overflow-x:auto}table{width:100%;border-collapse:collapse;min-width:600px}th,td{padding:1rem;text-align:left;border-bottom:1px solid var(--border-color)}th{background-color:#f1f5f9;font-weight:600;color:#475569}tr:hover{background-color:#f8fafc}footer{text-align:center;margin-top:4rem;color:#94a3b8;font-size:.9rem}
