.gal-statistics-page {
    padding-bottom: 2rem;
}

.gal-statistics-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1rem;
    padding: 1.4rem;
    border-radius: 16px;
    background: linear-gradient(135deg, #eef6f2, #f2f5fa);
}

.gal-statistics-hero h2 {
    margin: .25rem 0;
}

.gal-statistics-hero p {
    margin: 0;
    color: #61707a;
}

.gal-eyebrow {
    color: #517061;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.gal-year-picker {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.gal-year-picker label {
    font-size: .8rem;
    font-weight: 700;
}

.gal-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .75rem;
    margin-bottom: 1rem;
}

.gal-kpis > div {
    padding: 1.1rem;
    border: 1px solid #e0e6e3;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(33, 53, 45, .05);
}

.gal-kpis span,
.gal-kpis strong {
    display: block;
}

.gal-kpis span {
    color: #687780;
    font-size: .8rem;
}

.gal-kpis strong {
    margin-top: .25rem;
    font-size: 1.35rem;
}

.gal-tab-intro,
.gal-quality-summary {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .75rem;
    padding: 1rem;
    border-radius: 10px;
    background: #f6f8f9;
}

.gal-quality-summary--ok {
    background: #edf7f0;
    color: #315c3d;
}

.gal-quality-summary--warning {
    background: #fff6e5;
    color: #765314;
}

@media (max-width: 850px) {
    .gal-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gal-statistics-hero {
        align-items: stretch;
        flex-direction: column;
    }

    .gal-year-picker {
        width: 100%;
    }
}

@media (max-width: 520px) {
    .gal-kpis {
        grid-template-columns: 1fr;
    }

    .gal-tab-intro,
    .gal-quality-summary {
        flex-direction: column;
    }
}
