/* Shared report parameters and summary header for all report pages. */
.app-report-overview {
    margin: 14px 0 18px;
}

.app-report-parameters {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 13px;
    box-shadow: 0 2px 5px rgba(15, 23, 42, 0.12);
    margin-bottom: 14px;
    overflow: hidden;
}

.app-report-parameters__title {
    border-bottom: 1px solid #edf2f7;
    color: #172554;
    font-size: 16px;
    font-weight: 500;
    margin: 0;
    padding: 14px 20px;
}

.app-report-parameters__grid {
    display: grid;
    gap: 13px 24px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 13px 28px 16px;
}

.app-report-parameter {
    color: #111827;
    line-height: 1.45;
    min-width: 0;
    overflow-wrap: anywhere;
}

.app-report-parameter__label {
    font-weight: 700;
}

.app-report-parameter__value {
    font-weight: 400;
}

.app-report-summary {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.app-report-summary-card {
    align-items: stretch;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.14);
    display: flex;
    min-height: 82px;
    min-width: 0;
    overflow: hidden;
}

.app-report-summary-card__icon {
    align-items: center;
    color: #fff;
    display: flex;
    flex: 0 0 82px;
    font-size: 38px;
    justify-content: center;
}

.app-report-summary-card__body {
    align-self: center;
    min-width: 0;
    padding: 10px 15px;
}

.app-report-summary-card__label {
    color: #718096;
    display: block;
    font-size: 12px;
    line-height: 1.3;
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.app-report-summary-card__value {
    color: #111827;
    display: block;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.app-report-summary-card--aqua .app-report-summary-card__icon { background: #1cc6df; }
.app-report-summary-card--blue .app-report-summary-card__icon { background: #0781c7; }
.app-report-summary-card--green .app-report-summary-card__icon { background: #34cf96; }
.app-report-summary-card--red .app-report-summary-card__icon { background: #fa3763; }

@media (max-width: 1199px) {
    .app-report-parameters__grid,
    .app-report-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .app-report-parameters__grid,
    .app-report-summary {
        grid-template-columns: minmax(0, 1fr);
    }

    .app-report-parameters__grid {
        padding-left: 18px;
        padding-right: 18px;
    }

    .app-report-summary {
        gap: 12px;
    }
}

@media print {
    .app-report-overview.no-print {
        display: none !important;
    }
}
