@page {
    size: Letter portrait;
    margin: 0.45in;
}

@media print {
    html,
    body {
        width: 8.5in;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #fff !important;
        color: #000 !important;
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }

    .app-sidebar,
    .app-topbar,
    .diot-toolbar,
    .diot-filters,
    .diot-message,
    #blazor-error-ui {
        display: none !important;
    }

    .app-shell,
    .app-main,
    .app-content,
    .diot-page {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        background: #fff !important;
    }

    .diot-report {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    .diot-report-head h2 {
        margin-bottom: 5pt !important;
        color: #000 !important;
        font-size: 18pt !important;
    }

    .diot-report-head p {
        margin: 2pt 0 !important;
        color: #000 !important;
        font-size: 9pt !important;
    }

    .diot-rule {
        height: 1.5pt !important;
        margin: 8pt 0 10pt !important;
        background: #000 !important;
    }

    .diot-table-wrap {
        overflow: visible !important;
    }

    .diot-table-wrap table {
        width: 100% !important;
        min-width: 0 !important;
        table-layout: fixed;
        color: #000 !important;
        font-size: 7.5pt !important;
    }

    .diot-table-wrap th,
    .diot-table-wrap td {
        padding: 5pt 4pt !important;
        border-color: #c7c7c7 !important;
        overflow-wrap: anywhere;
    }

    .diot-table-wrap th:nth-child(1) { width: 15%; }
    .diot-table-wrap th:nth-child(2) { width: 35%; }
    .diot-table-wrap th:nth-child(3) { width: 14%; }
    .diot-table-wrap th:nth-child(4) { width: 12%; }
    .diot-table-wrap th:nth-child(5) { width: 14%; }
    .diot-table-wrap th:nth-child(6) { width: 10%; }

    .diot-table-wrap thead {
        display: table-header-group;
    }

    .diot-table-wrap tfoot {
        display: table-row-group;
    }

    .diot-table-wrap tr {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .diot-table-wrap tfoot th {
        background: #eee !important;
        color: #000 !important;
    }

    .diot-summary {
        margin: 12pt 0 0 !important;
        break-inside: avoid;
        page-break-inside: avoid;
        border: 1px solid #bbb !important;
        background: #f3f3f3 !important;
    }

    .diot-summary h3 {
        padding: 7pt 8pt 4pt !important;
        color: #000 !important;
        font-size: 8pt !important;
    }

    .diot-summary > div {
        grid-template-columns: repeat(4, 1fr) !important;
    }

    .diot-summary span {
        padding: 6pt 8pt 8pt !important;
        border-right: 1px solid #ccc !important;
        border-bottom: 0 !important;
    }

    .diot-summary small,
    .diot-summary strong {
        color: #000 !important;
    }

    .diot-empty.report-empty {
        border: 1px solid #aaa !important;
        color: #000 !important;
    }
}
