 .stat-result {
            padding: 15px 20px;
            background-color: white;
            border-radius: 6px;
            border: 1px solid #e9ecef;
            margin: 8px 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
        }
        .stat-result .label {
            font-weight: 500;
            color: #495057;
            font-size: 0.95rem;
        }
        .stat-result .value {
            font-weight: 700;
            font-size: 1.3rem;
            color: var(--primary-color, #0d6efd);
            font-family: 'Cambria Math', 'Latin Modern Math', STIXGeneral, serif;
        }
        .stat-result .value.small {
            font-size: 1.1rem;
        }
        .stat-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
        }
        @media (max-width: 576px) {
            .stat-grid {
                grid-template-columns: 1fr;
            }
        }
        .data-input-area textarea {
            font-family: 'Courier New', monospace;
            font-size: 0.95rem;
            min-height: 100px;
        }
        .preset-badge {
            background-color: rgba(13, 110, 253, 0.08);
            border: 1px solid rgba(13, 110, 253, 0.15);
            border-radius: 20px;
            padding: 0.3rem 1rem;
            font-size: 0.8rem;
            cursor: pointer;
            transition: all 0.2s;
            color: var(--primary-color);
            display: inline-block;
            margin: 0.2rem 0.3rem;
        }
        .preset-badge:hover {
            background-color: var(--primary-color);
            color: white;
            transform: translateY(-1px);
        }
        .chart-container {
            background-color: #fafbfc;
            border-radius: 8px;
            border: 1px solid #e9ecef;
            padding: 1rem;
            margin-top: 1rem;
            position: relative;
        }
        .chart-container canvas {
            width: 100% !important;
            height: auto !important;
            max-height: 280px;
        }
        .interpretation-box {
            background-color: #f0f7fe;
            border-left: 4px solid var(--primary-color);
            padding: 1.2rem 1.5rem;
            border-radius: 0 6px 6px 0;
            margin: 1.5rem 0;
        }
        .interpretation-box .title {
            font-weight: 600;
            color: #1a3a5c;
            font-size: 1.05rem;
            margin-bottom: 0.4rem;
        }
        .step-box {
            background-color: #f8f9fa;
            border-radius: 6px;
            padding: 1rem 1.5rem;
            margin: 0.8rem 0;
            border: 1px solid #e9ecef;
        }
        .step-box .step-num {
            display: inline-block;
            background-color: var(--primary-color);
            color: white;
            font-weight: 700;
            width: 26px;
            height: 26px;
            text-align: center;
            line-height: 26px;
            border-radius: 50%;
            font-size: 0.85rem;
            margin-right: 10px;
        }
        .math-symbol {
            font-family: 'Cambria Math', 'Latin Modern Math', STIXGeneral, serif;
            font-size: 1.2rem;
        }
        .formula-block {
            background-color: #ffffff;
            border: 1px solid #dee2e6;
            border-radius: 6px;
            padding: 1.2rem 1.5rem;
            text-align: center;
            font-size: 1.3rem;
            font-family: 'Cambria Math', 'Latin Modern Math', STIXGeneral, serif;
            margin: 1rem 0;
        }
        .formula-block .sub {
            font-size: 0.9rem;
            vertical-align: sub;
        }
        .data-status {
            font-size: 0.9rem;
            color: #6c757d;
            margin-top: 0.3rem;
        }
        .data-status .count {
            font-weight: 600;
            color: #212529;
        }
        .action-bar {
            display: flex;
            flex-wrap: wrap;
            gap: 0.6rem;
            margin-top: 1rem;
        }
        .example-tag {
            background: #e9ecef;
            border-radius: 4px;
            padding: 0.1rem 0.6rem;
            font-size: 0.7rem;
            color: #495057;
            font-weight: 500;
            letter-spacing: 0.3px;
        }
        .authority-note {
            font-size: 0.85rem;
            color: #6c757d;
            border-top: 1px solid #dee2e6;
            padding-top: 1rem;
            margin-top: 1.5rem;
            text-align: right;
        }
        .privacy-note {
            font-size: 0.9rem;
            background-color: #e7f3ff;
            border: 1px solid #b8daff;
            color: #004085;
            padding: 0.5rem 1rem;
            border-radius: 4px;
            margin: 1rem 0;
        }
        .warning-note {
            background-color: #fff3cd;
            border: 1px solid #ffeeba;
            color: #856404;
            padding: 0.5rem 1rem;
            border-radius: 4px;
            margin: 0.8rem 0;
            display: none;
        }
        .legend-stats {
            display: flex;
            flex-wrap: wrap;
            gap: 1.2rem;
            justify-content: center;
            font-size: 0.85rem;
            margin-top: 0.5rem;
        }
        .legend-stats .item {
            display: flex;
            align-items: center;
            gap: 0.3rem;
        }
        .legend-stats .dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            display: inline-block;
        }
        .dot.mean {
            background-color: #dc3545;
        }
        .dot.median {
            background-color: #28a745;
        }
        .dot.data {
            background-color: #0d6efd;
        }
        .faq-accordion .accordion-button {
            font-weight: 500;
        }
        .faq-accordion .accordion-button:not(.collapsed) {
            background-color: rgba(13, 110, 253, 0.04);
            color: var(--primary-color);
        }
   
     
        .accordion-body a {
            color: var(--primary-color);
        }
        .case-study-box {
            background-color: #f5f7fa;
            border-radius: 8px;
            padding: 1.2rem 1.5rem;
            margin: 1.5rem 0;
            border-left: 5px solid #28a745;
        }
        .case-study-box .case-title {
            font-weight: 600;
            color: #1a3a5c;
            font-size: 1.05rem;
        }
        .section-subtitle {
            font-weight: 600;
            margin-top: 2rem;
            margin-bottom: 0.8rem;
            color: #2c3e50;
            font-size: 1.15rem;
            border-bottom: 2px solid #e9ecef;
            padding-bottom: 0.4rem;
        }
        .inline-code {
            background: #f1f3f5;
            padding: 0.1rem 0.4rem;
            border-radius: 3px;
            font-family: 'Courier New', monospace;
            font-size: 0.9rem;
        }
        .toast-container {
            position: fixed;
            bottom: 1rem;
            right: 1rem;
            z-index: 1050;
        }
        .author-bio {
            background-color: #f8f9fa;
            border-left: 4px solid var(--primary-color);
            padding: 1.2rem;
            margin: 2rem 0;
            border-radius: 0 8px 8px 0;
        }