.property-table th,
        .property-table td {
            padding: 0.75rem;
            text-align: left;
            border: 1px solid var(--border-color);
        }
        .input-group-custom {
            margin-bottom: 1rem;
        }
        .deep-dive {
            margin: 1.8rem 0;
        }
        .deep-dive p {
            text-align: justify;
        }
        .unit-note {
            font-size: 0.9rem;
            color: #6c757d;
        }
        .coord-input {
            margin-bottom: 0.5rem;
        }
        .canvas-container {
            text-align: center;
            margin-top: 1.5rem;
        }
        .loan-chart {
            width: 100%;
            height: auto;
            background-color: #f9f9f9;
            border: 1px solid #ddd;
            border-radius: 8px;
            display: block;
            max-width: 100%;
        }
        .legend {
            display: flex;
            justify-content: center;
            gap: 2rem;
            margin: 0.5rem 0;
            font-size: 0.9rem;
            flex-wrap: wrap;
        }
        .legend-item {
            display: flex;
            align-items: center;
            gap: 0.3rem;
        }
        .legend-color {
            width: 16px;
            height: 16px;
            border-radius: 4px;
        }
        .legend-color.principal {
            background-color: #0d6efd;
        }
        .legend-color.interest {
            background-color: #dc3545;
        }
        .legend-color.balance {
            background-color: #28a745;
        }
        .summary-card .label {
            font-size: 0.5rem;
            color: #6c757d;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        .summary-card .value {
            font-size: 1.8rem;
            font-weight: 700;
            color: #212529;
        }
        .summary-card .value.positive {
            color: #28a745;
        }
        .summary-card .value.negative {
            color: #dc3545;
        }
        .amortization-scroll {
            max-height: 320px;
            overflow-y: auto;
            font-size: 0.9rem;
        }
        .amortization-scroll table {
            width: 100%;
            border-collapse: collapse;
        }
        .amortization-scroll th {
            position: sticky;
            top: 0;
            background: #f1f3f5;
            z-index: 2;
        }
        .amortization-scroll td,
        .amortization-scroll th {
            padding: 0.4rem 0.5rem;
            border-bottom: 1px solid #e9ecef;
            text-align: right;
        }
        .amortization-scroll td:first-child,
        .amortization-scroll th:first-child {
            text-align: center;
        }
        .amortization-scroll tr:nth-child(even) {
            background-color: #f8f9fa;
        }
        .amortization-scroll .total-row {
            font-weight: 700;
            background-color: #e9ecef !important;
        }
        .range-slider {
            width: 100%;
            margin-top: 0.2rem;
        }
        .slider-value {
            font-weight: 600;
            min-width: 60px;
            display: inline-block;
        }
        .input-group-text-custom {
            background: #f8f9fa;
            border: 1px solid #ced4da;
            padding: 0.375rem 0.75rem;
            border-radius: 0.25rem 0 0 0.25rem;
            font-size: 0.9rem;
        }
        .tool-header .badge {
            font-size: 0.8rem;
            vertical-align: middle;
        }
        .example-btn i {
            margin-right: 0.3rem;
        }
        .summary-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 0.8rem;
            margin-bottom: 1.5rem;
        }
        @media (max-width: 576px) {
            .summary-grid {
                grid-template-columns: 1fr 1fr;
            }
            .summary-card .value {
                font-size: 1.3rem;
            }
        }
        .chart-wrapper {
            position: relative;
            width: 100%;
            background: #fafbfc;
            border-radius: 8px;
            padding: 0.5rem;
        }
        .rate-comparison {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            justify-content: space-around;
            margin: 1.5rem 0;
        }
        .rate-box {
            background: white;
            border: 1px solid #dee2e6;
            border-radius: 8px;
            padding: 1rem 1.5rem;
            text-align: center;
            flex: 1;
            min-width: 120px;
        }
        .rate-box .rate {
            font-size: 1.6rem;
            font-weight: 700;
            color: var(--primary-color);
        }
        .rate-box .term {
            font-size: 0.85rem;
            color: #6c757d;
        }