:root{font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-size:16px;font-weight:400;line-height:1.6}:root.light{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--color-bg:#fff;--color-bg-secondary:#f5f5f5;--color-text:#1a1a1a;--color-text-secondary:#666;--color-border:#e0e0e0;--color-primary:#06c;--color-primary-hover:#0052a3;--color-success:#2e7d32;--color-warning:#f57c00;--color-error:#d32f2f;--color-info:#0288d1;--shadow-sm:0 1px 3px #0000001a;--shadow-md:0 4px 6px #0000001a;--shadow-lg:0 10px 20px #00000026}:root.dark{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--color-bg:#1a1a1a;--color-bg-secondary:#2a2a2a;--color-text:#e0e0e0;--color-text-secondary:#a0a0a0;--color-border:#3a3a3a;--color-primary:#4d9fff;--color-primary-hover:#3d8fe6;--color-success:#4caf50;--color-warning:#ffa726;--color-error:#ef5350;--color-info:#29b6f6;--shadow-sm:0 1px 3px #0000004d;--shadow-md:0 4px 6px #0000004d;--shadow-lg:0 10px 20px #0006}*{box-sizing:border-box;margin:0;padding:0}body{background-color:var(--color-bg);min-width:320px;min-height:100vh;color:var(--color-text);margin:0;transition:background-color .2s,color .2s}#root{width:100%;min-height:100vh}h1,h2,h3,h4,h5,h6{color:var(--color-text);margin-top:0;line-height:1.2}h1{font-size:2.5rem;font-weight:700}h2{font-size:2rem;font-weight:600}h3{font-size:1.75rem;font-weight:600}h4{font-size:1.5rem;font-weight:500}h5{font-size:1.25rem;font-weight:500}h6{font-size:1rem;font-weight:500}p{margin-top:0;margin-bottom:1rem}a{color:var(--color-primary);text-decoration:none}a:hover{color:var(--color-primary-hover);text-decoration:underline}button{cursor:pointer;border:none;border-radius:4px;padding:.5rem 1rem;font-family:inherit;font-size:1rem;transition:all .2s}button:focus-visible{outline:2px solid var(--color-primary);outline-offset:2px}button.primary{background-color:var(--color-primary);color:#fff}button.primary:hover{background-color:var(--color-primary-hover)}button.secondary{background-color:var(--color-bg-secondary);color:var(--color-text);border:1px solid var(--color-border)}button.secondary:hover{background-color:var(--color-border)}button:disabled{opacity:.5;cursor:not-allowed}input,select,textarea{border:1px solid var(--color-border);background-color:var(--color-bg);color:var(--color-text);border-radius:4px;padding:.5rem;font-family:inherit;font-size:1rem;transition:border-color .2s}input:focus,select:focus,textarea:focus{border-color:var(--color-primary);outline:none}label{color:var(--color-text);margin-bottom:.25rem;font-weight:500;display:block}.field-help{color:var(--color-text-secondary);margin-top:.25rem;font-size:.875rem}.field-error{color:var(--color-error);margin-top:.25rem;font-size:.875rem}.card{background-color:var(--color-bg);border:1px solid var(--color-border);box-shadow:var(--shadow-sm);border-radius:8px;padding:1.5rem}.skip-link{z-index:1000;background:var(--color-primary);color:#fff;border-radius:0 0 4px;width:1px;height:1px;padding:.75rem 1.5rem;font-weight:700;text-decoration:none;position:absolute;top:auto;left:-9999px;overflow:hidden}.skip-link:focus{width:auto;height:auto;position:fixed;top:0;left:0;overflow:visible}.app-header-inner{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;max-width:1200px;margin:0 auto;display:flex}.app-nav-inner{gap:.5rem;max-width:1200px;margin:0 auto;padding:0 1rem;display:flex}.app-main{flex:1;width:100%;max-width:1200px;margin:2rem auto;padding:0 1rem}.editor-layout,.about-layout{align-items:flex-start;gap:1.5rem;display:flex}.editor-sidebar,.about-sidebar{flex-shrink:0;width:200px;position:sticky;top:1rem}.table-scroll-wrapper{-webkit-overflow-scrolling:touch;overflow-x:auto}.guardrails-grid{grid-template-columns:1fr 1fr;gap:1rem;display:grid}.milestone-legend{flex-wrap:wrap;justify-content:center;gap:.75rem 1.5rem;margin-top:.75rem;font-size:.8rem;display:flex}@media (width<=768px){:root{font-size:14px}h1{font-size:2rem}h2{font-size:1.75rem}h3{font-size:1.5rem}.app-nav-inner{-webkit-overflow-scrolling:touch;overflow-x:auto}.editor-layout,.about-layout{flex-direction:column}.editor-sidebar,.about-sidebar{z-index:10;background-color:var(--color-bg);border-bottom:1px solid var(--color-border);-webkit-overflow-scrolling:touch;flex-direction:row;justify-content:center;gap:.25rem;width:100%;padding:.5rem 0;display:flex;position:sticky;top:0;overflow-x:auto}.editor-sidebar button,.about-sidebar button{white-space:nowrap;border-left:none;border-radius:4px;width:auto;padding:.5rem .75rem;font-size:.8rem}.scenarios-header{flex-direction:column;align-items:stretch;gap:.75rem}.scenarios-actions{justify-content:center}.guardrails-grid{grid-template-columns:1fr}.year-detail-col,.year-detail-rmd,.year-detail-taxes{display:none}.year-detail-table-wrap table{font-size:.72rem}.year-detail-table-wrap thead th,.year-detail-table-wrap tbody>tr>td{white-space:nowrap;padding:.35rem .25rem!important}.year-detail-table-wrap tbody>tr>td[colspan]{white-space:normal;padding:.75rem!important}}@media (width<=480px){.app-main{margin:1rem auto;padding:0 .5rem}.app-nav-inner{gap:0}.app-nav-inner button{padding:.5rem .6rem;font-size:.8rem}}@keyframes spin{to{transform:rotate(360deg)}}.spinner{border:3px solid var(--color-border);border-top-color:var(--color-primary);border-radius:50%;width:40px;height:40px;animation:1s linear infinite spin}
