.compound-interest .ci-section{margin-top:24px;padding:28px}
.compound-interest .ci-help{font-size:.9rem;color:#475569;line-height:1.65;margin:16px 0}
.ci-comparison-inputs{border:1px solid #cbd5e1;border-radius:12px;padding:16px;margin:20px 0}
.ci-comparison-inputs legend{font-size:1rem;font-weight:700;padding:0 6px;float:none;width:auto}
.ci-actions{display:flex;gap:16px;align-items:center;flex-wrap:wrap}
.ci-error{color:#9f1239;background:#fff1f2;border:1px solid #fda4af;padding:12px;border-radius:8px}
.ci-totals{margin:24px 0}.ci-totals div{border-bottom:1px solid #dbe3ed;padding:14px 0}.ci-totals dt{color:#475569;font-weight:500}.ci-totals dd{font-size:1.4rem;font-weight:700;margin:6px 0 0;overflow-wrap:anywhere}
.ci-table-scroll{overflow-x:auto;max-width:100%}.ci-table-scroll table{border-collapse:collapse;width:100%;font-variant-numeric:tabular-nums;font-size:.92rem}.ci-table-scroll th,.ci-table-scroll td{padding:12px;text-align:right;border-bottom:1px solid #dbe3ed;white-space:nowrap}.ci-table-scroll th:first-child,.ci-table-scroll td:first-child{text-align:left}.ci-table-scroll thead{background:#eef4fa;color:#173456}.ci-table-scroll caption{text-align:left;caption-side:top;color:#475569;padding:8px 0 16px}
#compoundChart{display:block;width:100%;height:auto;min-height:180px}.ci-legend{display:flex;flex-wrap:wrap;gap:16px;margin:16px 0}.ci-legend span{display:flex;align-items:center;gap:8px}.ci-legend i{display:inline-block;width:24px;border-top:3px solid}.ci-section details{border-bottom:1px solid #dbe3ed;padding:14px 0}.ci-section summary{cursor:pointer;font-weight:700}.ci-section details p{margin-top:12px}.compound-interest [hidden]{display:none!important}.compound-interest .usc-results{min-width:0}.compound-interest .usc-main-result strong{overflow-wrap:anywhere}.compound-interest code{white-space:normal;color:#173456}
@media(max-width:600px){.compound-interest .ci-section{padding:18px}.ci-comparison-inputs{padding:12px}.ci-actions{align-items:stretch}.ci-actions button{width:100%}.ci-table-scroll th,.ci-table-scroll td{padding:10px}}
