:root { --accent: #146c63; --accent-soft: #e3f3f1; }
@media (prefers-color-scheme: dark) { :root { --accent: #2bb5a6; --accent-ink: #062a26; --accent-soft: #12332f; --accent-link: #5fd3c6; } }
.calc-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.results { position: sticky; top: 84px; }
.bar { display: flex; height: 12px; border-radius: 999px; overflow: hidden; background: var(--surface-2); margin-top: 1.2rem; }
#bar-principal { background: var(--accent); }
#bar-interest { background: #d9822b; }
.bar-legend { display: flex; align-items: center; gap: .4rem; margin-top: .4rem; }
.sw { display: inline-block; width: 10px; height: 10px; border-radius: 3px; }
.sw-p { background: var(--accent); } .sw-i { background: #d9822b; margin-left: .6rem; }
.steps li { margin-bottom: .6rem; }
#term-table tr.current { background: var(--accent-soft); font-weight: 700; }
#out-warning { color: var(--warn); background: var(--warn-soft); padding: .6rem .8rem; border-radius: 8px; margin-top: 1rem; }
@media (max-width: 820px) { .calc-layout { grid-template-columns: 1fr; } .results { position: static; } }
