.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;
        }
        .cashflow-row {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 8px;
            background: #f8f9fa;
            padding: 8px 12px;
            border-radius: 6px;
        }
        .cashflow-year {
            font-weight: 600;
            min-width: 60px;
        }
        .cashflow-input {
            flex: 1;
        }
        .remove-row-btn {
            color: #dc3545;
            cursor: pointer;
            border: none;
            background: none;
            font-size: 1.2rem;
        }
        .add-row-btn {
            margin-top: 10px;
        }
        .finance-canvas {
            width: 100%;
            height: 300px;
            background-color: #f9f9f9;
            border: 1px solid #ddd;
            border-radius: 8px;
            margin-top: 1.5rem;
            display: block;
        }
        .canvas-container {
            text-align: center;
            margin-top: 1rem;
            position: relative;
        }
        .legend {
            display: flex;
            justify-content: center;
            gap: 2rem;
            margin: 0.5rem 0;
            font-size: 0.9rem;
        }
        .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: #007bff; }
        .npv-positive { color: #28a745; font-weight: 600; }
        .npv-negative { color: #dc3545; font-weight: 600; }
        .table-sm-finance td, .table-sm-finance th { padding: 0.4rem; font-size: 0.9rem; } .finance-canvas {
            width: 100%;
            height: 300px;          /* fixed height for chart.js canvas */
            background-color: #f9f9f9;
            border: 1px solid #ddd;
            border-radius: 8px;
            margin-top: 1.5rem;
            display: block;
        }