.report-template,
.report-template * {
    font-family: "Arial Narrow", Arial, sans-serif !important;
    font-size: 0.75rem;
}

.report-template .report-header {
    font-size: 1rem;
}

/* .report-page {
    width: 210mm;
    min-height: 297mm;

    padding: 15mm;

    margin: 0 auto 20px auto;

    background: white;

    box-sizing: border-box;
} */

.report-page:not(:last-child) {
    break-after: page;
    page-break-after: always;
}

.report-section {
    break-inside: avoid;
    page-break-inside: avoid;
}

@page {
    size: A4;
    margin: 0;
}

@media print {
    body * {
        visibility: hidden;
    }

    .report-print-area,
    .report-print-area * {
        visibility: visible;
    }

    .report-print-area {
        position: absolute;
        left: 0;
        top: 0;
        width: 210mm;
    }

    .report-page {
        width: auto;
        min-height: auto;
        margin: 0;
    }

    .report-image {
        max-height: 200px;
    }
}

.report-table {
    width: 100%;
    table-layout: fixed;
}

.report-template .report-table th,
.report-template .report-table td {
    padding: 0.25rem 0.4rem;
    line-height: 1.2;
}

.report-table-special,
.report-table-special * {
    font-size: 0.65rem !important;
}

.report-image {
    display: block;
    max-width: 100%;
    max-height: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
}
