.stat-card {
            background: #f8fafc;
            border-radius: 8px;
            padding: 1rem 1.25rem;
            border-left: 4px solid var(--primary-color);
            margin: 0.4rem 0;
            height: 100%;
        }
        .stat-label {
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: var(--text-muted);
        }
        .stat-number {
            font-size: 1.6rem;
            font-weight: 600;
            font-family: 'Cambria Math', 'Latin Modern Math', serif;
        }
        .data-table-wrap {
            max-height: 240px;
            overflow-y: auto;
            border: 1px solid var(--border-color);
            border-radius: 6px;
        }
        .data-table-wrap table {
            margin-bottom: 0;
        }
        .data-table-wrap th {
            position: sticky;
            top: 0;
            background: #f1f4f8;
            z-index: 2;
            border-bottom: 2px solid var(--border-color);
        }
        .data-point-input .example-badge {
            background: rgba(70, 130, 180, 0.08);
            border: 1px solid rgba(70, 130, 180, 0.2);
            border-radius: 20px;
            padding: 0.3rem 0.9rem;
            font-size: 0.8rem;
            color: var(--primary-color);
            cursor: pointer;
            transition: all 0.2s;
            margin: 0.2rem;
            display: inline-block;
        }
        .example-badge:hover {
            background: rgba(70, 130, 180, 0.2);
            transform: translateY(-2px);
        }
        .chart-container canvas {
            width: 100% !important;
            height: 100% !important;
        }
        .regression-equation {
            font-family: 'Cambria Math', 'Latin Modern Math', STIXGeneral, serif;
            font-size: 1.4rem;
            padding: 0.75rem 1.25rem;
            background: rgba(70, 130, 180, 0.06);
            border-radius: 6px;
            border-left: 4px solid #dc3545;
            text-align: center;
        }
        .math-box .math {
            font-family: 'Cambria Math', 'Latin Modern Math', STIXGeneral, serif;
            font-size: 1.1rem;
        }
        .property-table th,
        .property-table td {
            padding: 0.7rem 1rem;
            text-align: left;
            border: 1px solid var(--border-color);
        }
        .legend-dot {
            display: inline-block;
            width: 14px;
            height: 14px;
            border-radius: 50%;
            margin-right: 4px;
        }
        .legend-dot.blue {
            background: #0d6efd;
        }
        .legend-dot.red {
            background: #dc3545;
        }
        .legend-dot.gray {
            background: #6c757d;
        }
        .legend-line {
            display: inline-block;
            width: 24px;
            height: 3px;
            margin-right: 4px;
            border-radius: 2px;
        }
        .legend-line.red {
            background: #dc3545;
        }
        .btn-sm-icon {
            padding: 0.2rem 0.5rem;
            font-size: 0.8rem;
        }
        .point-count-badge {
            font-size: 0.85rem;
            color: var(--text-muted);
            margin-left: 0.5rem;
        }
        .import-area {
            background: #f8faff;
            border: 1px dashed #bac8d9;
            border-radius: 8px;
            padding: 1rem;
            margin-top: 0.75rem;
        }
        .invalid-feedback {
            display: none;
            font-size: 0.8rem;
        }
        .was-validated .invalid-feedback,
        .is-invalid~.invalid-feedback {
            display: block;
        }
        @media (max-width: 768px) {
            .stat-number {
                font-size: 1.2rem;
            }
            .data-point-input }