.input-group-custom {
            margin-bottom: 1rem;
        }
        .result-value.negative {
            color: #dc3545;
        }
        .result-value.positive {
            color: #28a745;
        }
        .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: 1rem;
            position: relative;
        }
        .finance-canvas {
            width: 100%;
            height: auto;
            background-color: #fafafa;
            border: 1px solid #ddd;
            border-radius: 8px;
            margin-top: 1.5rem;
            display: block;
        }
        .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.green { background-color: #28a745; }
        .legend-color.red { background-color: #dc3545; }
        .legend-color.blue { background-color: #0d6efd; }
        .legend-color.orange { background-color: #fd7e14; }
        .savings-badge {
            font-size: 1.1rem;
            padding: 0.5rem 1.2rem;
            border-radius: 30px;
            background-color: #d4edda;
            color: #155724;
            display: inline-block;
            font-weight: 600;
        }
        .savings-badge.loss {
            background-color: #f8d7da;
            color: #721c24;
        }
        .comparison-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.5rem;
            margin: 1.5rem 0;
        }
        .comparison-card {
            background: white;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            padding: 1.2rem;
            box-shadow: 0 2px 6px rgba(0,0,0,0.04);
        }
        .comparison-card.current { border-top: 4px solid #dc3545; }
        .comparison-card.new { border-top: 4px solid #28a745; }
        .comparison-card h5 { font-weight: 600; margin-bottom: 0.75rem; }
        .comparison-card .amount { font-size: 1.8rem; font-weight: 700; }
        .comparison-card .label { font-size: 0.85rem; color: #6c757d; }
        @media (max-width: 576px) {
            .comparison-grid { grid-template-columns: 1fr; }
        }
        .slider-container {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }
        .slider-container input[type="range"] {
            flex: 1;
        }
        .slider-value {
            min-width: 60px;
            font-weight: 600;
            color: var(--primary-color, #28a745);
        }
        .tooltip-icon {
            cursor: help;
            color: #6c757d;
            margin-left: 4px;
        }
        .break-even-tag {
            background: #e9ecef;
            border-radius: 20px;
            padding: 0.2rem 1rem;
            font-size: 0.85rem;
            display: inline-block;
        }
        .long-warning {
            background-color: #fff3cd;
            border: 1px solid #ffeeba;
            color: #856404;
            padding: 0.5rem 1rem;
            border-radius: 4px;
            margin: 0.5rem 0;
        }
        .chart-aria-description {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0,0,0,0);
            border: 0;
        }