.document-pdf-dialog.e-dialog {
    width: 100vw;
    height: 100dvh;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: white;
    overflow: hidden;
}

.document-pdf-dialog > .e-dlg-content {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 0;
    overflow: hidden;
}

.document-pdf-dialog .page-editor-header {
    flex: 0 0 auto;
    width: 100%;
    max-width: none;
    margin: 0;
    border-radius: 0;
}

.document-pdf-status {
    flex: 0 0 auto;
    margin: 8px 12px;
}

.document-pdf-viewer {
    flex: 1 1 0;
    min-height: 0;
    min-width: 0;
}

#documentPdfFilters { flex: 0 0 auto; }
.accounting-pdf-filters { flex-wrap: wrap; padding: 8px 12px; }
.accounting-pdf-filters[hidden], #documentPdfFilters[hidden] { display: none !important; }
