
/* Final cascade for shared document refinements. */
html body .vario-item-duplicate-decision-modal .vario-document-confirmation-content,
html[data-vario-theme] body .vario-item-duplicate-decision-modal .vario-document-confirmation-content {
    overflow: hidden !important;
    border-radius: 10px !important;
    background: #134f8c !important;
}

html body .vario-item-duplicate-decision-modal .vario-document-confirmation-header,
html[data-vario-theme] body .vario-item-duplicate-decision-modal .vario-document-confirmation-header {
    border-radius: 9px 9px 0 0 !important;
    background: linear-gradient(180deg, #1760a7 0%, #134f8c 100%) !important;
}

html body .vario-item-duplicate-decision-modal .vario-document-confirmation-body,
html[data-vario-theme] body .vario-item-duplicate-decision-modal .vario-document-confirmation-body {
    background: #f6f9fd !important;
}

html body .vario-item-duplicate-decision-modal .vario-document-confirmation-footer,
html[data-vario-theme] body .vario-item-duplicate-decision-modal .vario-document-confirmation-footer {
    border-radius: 0 0 9px 9px !important;
    background: #eef3f9 !important;
}

html body .vario-erp-document-details-modal .vario-document-cash-movement-panel,
html[data-vario-theme] body .vario-erp-document-details-modal .vario-document-cash-movement-panel {
    display: grid !important;
    grid-template-rows: 32px minmax(0, 1fr) !important;
    min-height: 180px !important;
    max-height: min(360px, calc(100dvh - 360px)) !important;
    margin-top: 8px !important;
    overflow: hidden !important;
}

html body .vario-erp-document-details-modal .vario-document-cash-movement-panel tbody tr:not(.vario-grid-empty-message-row),
html[data-vario-theme] body .vario-erp-document-details-modal .vario-document-cash-movement-panel tbody tr:not(.vario-grid-empty-message-row) {
    cursor: pointer !important;
}

html body .vario-erp-document-details-modal .vario-document-email-delivery-table,
html[data-vario-theme] body .vario-erp-document-details-modal .vario-document-email-delivery-table {
    min-width: 1510px !important;
}

html body .vario-erp-document-details-modal .vario-document-email-delivery-table th:nth-child(1),
html[data-vario-theme] body .vario-erp-document-details-modal .vario-document-email-delivery-table th:nth-child(1) {
    width: 180px !important;
}

html body .vario-erp-document-details-modal .vario-document-email-delivery-table th:nth-child(2),
html[data-vario-theme] body .vario-erp-document-details-modal .vario-document-email-delivery-table th:nth-child(2) {
    width: 68px !important;
}

html body .vario-erp-document-details-modal .vario-document-email-delivery-table th:nth-child(3),
html[data-vario-theme] body .vario-erp-document-details-modal .vario-document-email-delivery-table th:nth-child(3) {
    width: 92px !important;
}

html body .vario-erp-document-details-modal .vario-document-email-delivery-table th:nth-child(4),
html[data-vario-theme] body .vario-erp-document-details-modal .vario-document-email-delivery-table th:nth-child(4) {
    width: 92px !important;
}

html body .vario-erp-document-details-modal .vario-document-email-delivery-table th:nth-child(5),
html[data-vario-theme] body .vario-erp-document-details-modal .vario-document-email-delivery-table th:nth-child(5) {
    width: 82px !important;
}

html body .vario-erp-document-details-modal .vario-document-email-delivery-table th:nth-child(6),
html[data-vario-theme] body .vario-erp-document-details-modal .vario-document-email-delivery-table th:nth-child(6) {
    width: 138px !important;
}

html body .vario-erp-document-details-modal .vario-document-email-delivery-table th:nth-child(7),
html[data-vario-theme] body .vario-erp-document-details-modal .vario-document-email-delivery-table th:nth-child(7) {
    width: 112px !important;
}

html body .vario-erp-document-details-modal .vario-document-email-delivery-table th:nth-child(8),
html[data-vario-theme] body .vario-erp-document-details-modal .vario-document-email-delivery-table th:nth-child(8) {
    width: 210px !important;
}

html body .vario-erp-document-details-modal .vario-document-email-delivery-table th:nth-child(9),
html[data-vario-theme] body .vario-erp-document-details-modal .vario-document-email-delivery-table th:nth-child(9) {
    width: 250px !important;
}

html body .vario-erp-document-details-modal .vario-document-email-delivery-table th:nth-child(10),
html[data-vario-theme] body .vario-erp-document-details-modal .vario-document-email-delivery-table th:nth-child(10) {
    width: 160px !important;
}

html body .vario-erp-document-details-modal .vario-document-email-delivery-table th:nth-child(11),
html[data-vario-theme] body .vario-erp-document-details-modal .vario-document-email-delivery-table th:nth-child(11) {
    width: 54px !important;
}

html body .vario-erp-document-details-modal .vario-document-email-delivery-table th:nth-child(12),
html[data-vario-theme] body .vario-erp-document-details-modal .vario-document-email-delivery-table th:nth-child(12) {
    width: 82px !important;
}

html body .vario-erp-document-details-modal .vario-document-email-delivery-table td,
html[data-vario-theme] body .vario-erp-document-details-modal .vario-document-email-delivery-table td {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

html body .vario-erp-document-details-modal .vario-document-email-delivery-table td .btn,
html[data-vario-theme] body .vario-erp-document-details-modal .vario-document-email-delivery-table td .btn {
    height: 20px !important;
    min-height: 20px !important;
    padding: 0 7px !important;
    border-radius: 5px !important;
    font: 800 10px/18px Inter, "Segoe UI", Arial, sans-serif !important;
}
