.debt-table-wrap { overflow-x: auto; margin: 1rem 0; }
        .debt-table-wrap table { width: 100%; border-collapse: collapse; min-width: 500px; }
        .debt-table-wrap th, .debt-table-wrap td { padding: 0.6rem 0.4rem; border: 1px solid #dee2e6; vertical-align: middle; text-align: left; }
        .debt-table-wrap th { background-color: #f1f3f5; font-weight: 600; font-size: 0.9rem; }
        .debt-table-wrap td input { width: 100%; min-width: 60px; padding: 0.3rem 0.4rem; border: 1px solid #ced4da; border-radius: 4px; font-size: 0.9rem; }
        .debt-table-wrap td input:focus { border-color: #0d6efd; outline: none; box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.2); }
        .debt-table-wrap .btn-remove { color: #dc3545; background: none; border: none; font-size: 1.2rem; cursor: pointer; padding: 0 0.3rem; }
        .debt-table-wrap .btn-remove:hover { color: #a71d2a; }
        .debt-summary-stats { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1rem 0; }
        .stat-card { flex: 1 1 160px; background: #f8f9fa; border-radius: 8px; padding: 1rem; text-align: center; border: 1px solid #e9ecef; }
        .stat-card .stat-value { font-size: 1.8rem; font-weight: 700; color: #0d6efd; }
        .stat-card .stat-label { font-size: 0.85rem; color: #6c757d; }
        .stat-card.success .stat-value { color: #198754; }
        .stat-card.warning .stat-value { color: #ffc107; }
        .stat-card.danger .stat-value { color: #dc3545; }
        .plan-table-wrap { max-height: 400px; overflow-y: auto; margin: 1rem 0; }
        .plan-table-wrap table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
        .plan-table-wrap th, .plan-table-wrap td { padding: 0.4rem 0.5rem; border: 1px solid #dee2e6; text-align: right; }
        .plan-table-wrap th { background-color: #f1f3f5; font-weight: 600; position: sticky; top: 0; z-index: 2; text-align: right; }
        .plan-table-wrap th:first-child, .plan-table-wrap td:first-child { text-align: center; }
        .plan-table-wrap .debt-name-col { text-align: left; }
        .plan-table-wrap .highlight-row { background-color: rgba(13, 110, 253, 0.05); }
        .strategy-selector { display: flex; gap: 1.5rem; flex-wrap: wrap; align-items: center; margin: 0.5rem 0 1rem 0; padding: 0.75rem 1rem; background: #f8f9fa; border-radius: 8px; border: 1px solid #e9ecef; }
        .strategy-selector .form-check { margin: 0; }
        .strategy-selector .form-check-input:checked { background-color: #0d6efd; border-color: #0d6efd; }
        .chart-wrapper { position: relative; height: 300px; margin: 1.5rem 0; }
        .chart-wrapper canvas { width: 100% !important; height: 100% !important; }
        .badge-strategy { font-size: 0.8rem; padding: 0.4rem 0.8rem; border-radius: 20px; }
        .badge-strategy.snowball { background: #0d6efd; color: #fff; }
        .badge-strategy.avalanche { background: #198754; color: #fff; }
        .comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 1.5rem 0; }
        @media (max-width: 768px) { .comparison-grid { grid-template-columns: 1fr; } }
        .comparison-card { padding: 1.2rem; border-radius: 8px; border: 1px solid #dee2e6; background: #fff; }
        .comparison-card h5 { margin-bottom: 0.75rem; }
        .comparison-card.snowball { border-left: 4px solid #0d6efd; }
        .comparison-card.avalanche { border-left: 4px solid #198754; }
        .tip-list { list-style: none; padding-left: 0; }
        .tip-list li { padding: 0.4rem 0; border-bottom: 1px solid #f1f3f5; }
        .tip-list li:last-child { border-bottom: none; }
        .tip-list li::before { content: "✓ "; color: #198754; font-weight: 700; }
        .result-container .debt-free-badge { display: inline-block; background: #198754; color: #fff; padding: 0.4rem 1.2rem; border-radius: 30px; font-weight: 600; font-size: 1.1rem; }
        .no-debts-msg { text-align: center; padding: 2rem; color: #6c757d; }
        .no-debts-msg i { font-size: 3rem; margin-bottom: 1rem; color: #dee2e6; }
        .extra-payment-input { max-width: 200px; }
        .mobile-stack { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
        @media (max-width: 576px) { .mobile-stack { flex-direction: column; align-items: stretch; } .extra-payment-input { max-width: 100%; } }
        .faq-accordion .accordion-button:not(.collapsed) { background-color: rgba(13, 110, 253, 0.05); color: #0d6efd; }
        .faq-accordion .accordion-button:focus { box-shadow: none; }
        .detail-row { background-color: #f8f9fa; }
        .detail-row td { padding: 0.3rem 0.5rem 0.3rem 2rem; font-size: 0.85rem; color: #6c757d; }
        .clickable-row { cursor: pointer; }
        .clickable-row:hover { background-color: rgba(13, 110, 253, 0.05); }
        .toggle-icon { font-size: 0.8rem; margin-left: 0.3rem; }