.stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
            gap: 1rem;
            margin: 1.5rem 0;
        }.authority-note{text-align:left}
        .stat-card {
            background-color: #f8f9fa;
            border-radius: 8px;
            padding: 12px;
            border-left: 4px solid var(--primary-color);
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
        }
        .stat-label {
            font-size: 0.85rem;
            text-transform: uppercase;
            font-weight: 600;
            color: #6c757d;
        }
        .stat-value {
            font-size: 1.6rem;
            font-weight: 700;
            color: var(--primary-color);
            font-family: monospace;
        }
        .breakdown-table {
            max-height: 300px;
            overflow-y: auto;
            font-size: 0.85rem;
        }
        .breakdown-table table {
            margin-bottom: 0;
        }
        .canvas-container {
            background: #fefefe;
            border-radius: 12px;
            padding: 1rem;
            margin-top: 1.5rem;
            border: 1px solid #dee2e6;
        }
        .legend {
            display: flex;
            justify-content: center;
            gap: 2rem;
            margin-top: 0.5rem;
            font-size: 0.85rem;
        }
        .legend-color {
            width: 14px;
            height: 14px;
            border-radius: 2px;
            display: inline-block;
            margin-right: 5px;
        }
        textarea {
            font-family: 'Courier New', monospace;
        }
        .result-value-big {
            font-size: 1.3rem;
            font-weight: 700;
        }
        .trust-badge {
            background-color: #e9ecef;
            padding: 0.6rem 1rem;
            border-radius: 30px;
            display: inline-block;
            margin-right: 0.5rem;
            margin-bottom: 0.5rem;
            font-size: 0.8rem;
        }
        .user-rating {
            background-color: #fff8e7;
            border: 1px solid #ffda9e;
            padding: 0.75rem;
            border-radius: 12px;
        }
        .methodology-box {
            background: #f4f6f9;
            border-radius: 12px;
            padding: 1rem;
            margin: 1rem 0;
        }