.cost-breakdown {
            background: #f8f9fa;
            border-radius: 8px;
            padding: 1.2rem 1.5rem;
            margin: 1rem 0;
        }
        .cost-breakdown .bar {
            height: 22px;
            border-radius: 4px;
            margin: 4px 0;
            background: var(--primary-color);
            transition: width 0.4s ease;
        }
        .cost-breakdown .bar-label {
            display: flex;
            justify-content: space-between;
            font-size: 0.95rem;
        }
        .cost-breakdown .bar-wrapper {
            background: #e9ecef;
            border-radius: 4px;
            overflow: hidden;
        }
        .material-compare {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
            margin: 1rem 0;
        }
        .material-badge {
            background: rgba(70, 130, 180, 0.08);
            border: 1px solid rgba(70, 130, 180, 0.2);
            border-radius: 20px;
            padding: 0.4rem 1rem;
            font-size: 0.85rem;
            cursor: pointer;
            transition: all 0.2s;
            color: var(--primary-color);
        }
        .material-badge:hover,
        .material-badge.active {
            background: var(--primary-color);
            color: #fff;
            border-color: var(--primary-color);
            transform: translateY(-2px);
        }
        .property-table th,
        .property-table td {
            padding: 0.75rem;
            border: 1px solid var(--border-color);
            text-align: left;
        }
        .canvas-container {
            text-align: center;
            margin-top: 1.2rem;
        }
        .geometry-canvas {
            width: 100%;
            height: auto;
            background: #fafafa;
            border: 1px solid #ddd;
            border-radius: 8px;
            max-width: 600px;
            margin: 0 auto;
        }
        .legend {
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            flex-wrap: wrap;
            margin: 0.5rem 0;
            font-size: 0.85rem;
        }
        .legend-item {
            display: flex;
            align-items: center;
            gap: 0.3rem;
        }
        .legend-color {
            width: 14px;
            height: 14px;
            border-radius: 4px;
            display: inline-block;
        }
        .legend-color.blue {
            background: #0d6efd;
        }
        .legend-color.green {
            background: #198754;
        }
        .legend-color.orange {
            background: #fd7e14;
        }
        .legend-color.purple {
            background: #6f42c1;
        }
        .legend-color.red {
            background: #dc3545;
        }
        .input-group-custom {
            margin-bottom: 0.8rem;
        }
        .unit-note {
            font-size: 0.85rem;
            color: #6c757d;
        }
        .deep-dive p {
            text-align: justify;
        }
        .result-highlight {
            background: #e8f4fd;
            border-radius: 8px;
            padding: 1rem 1.5rem;
            margin: 0.8rem 0;
            border: 1px solid #cce5ff;
        }
        .cost-total {
            font-size: 2.2rem;
            font-weight: 700;
            color: #0d6efd;
        }
        .cost-per-sqft {
            font-size: 1.1rem;
            color: #495057;
        }
        .estimate-time {
            font-size: 0.95rem;
            color: #6c757d;
        }
        .form-control-sm-custom {
            padding: 0.375rem 0.75rem;
            font-size: 0.95rem;
        }
        .preset-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin: 0.75rem 0;
        }
        .preset-btn {
            background: rgba(70, 130, 180, 0.06);
            border: 1px solid rgba(70, 130, 180, 0.15);
            border-radius: 4px;
            padding: 0.3rem 0.7rem;
            font-size: 0.8rem;
            color: var(--primary-color);
            cursor: pointer;
            transition: all 0.15s;
        }
        .preset-btn:hover {
            background: rgba(70, 130, 180, 0.15);
        }
        .unit-toggle-group {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 1rem;
            padding: 0.5rem 1rem;
            background: #f8f9fa;
            border-radius: 8px;
            border: 1px solid #e9ecef;
        }
        .unit-toggle-group .btn-group .btn {
            font-size: 0.85rem;
            padding: 0.25rem 1rem;
        }
        .unit-toggle-group .btn-group .btn.active {
            background-color: var(--primary-color);
            color: #fff;
            border-color: var(--primary-color);
        }