/* TT24_D7C_PHYSICAL_LEFT_CLOSE_BUTTON_CORRECTION_V1_BEGIN
   Desktop-only correction: documents, finance and case-details close buttons
   use the physical LEFT corner in RTL. Existing handlers and modal stack remain unchanged.
*/
@media (min-width: 881px) {
  html[dir="rtl"] body .modal.tt24-d7-docs-modal > .modal-h,
  html[dir="rtl"] body .modal.s39b-finance-modal > .modal-h,
  html[dir="rtl"] body .modal.file-modal.tt24-d4-file-modal .modal-h.tt24-d4-file-head {
    position: relative !important;
  }

  html[dir="rtl"] body .modal.tt24-d7-docs-modal > .modal-h > .close-x,
  html[dir="rtl"] body .modal.s39b-finance-modal > .modal-h > .close-x,
  html[dir="rtl"] body .modal.file-modal.tt24-d4-file-modal .modal-h.tt24-d4-file-head > .tt24-d6-file-close-x {
    position: absolute !important;
    top: 24px !important;
    bottom: auto !important;

    /* Physical placement and matching RTL logical placement are intentionally consistent. */
    left: 28px !important;
    right: auto !important;
    inset-inline-start: auto !important;
    inset-inline-end: 28px !important;

    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    translate: none !important;
    float: none !important;
    z-index: 60 !important;
  }
}
/* TT24_D7C_PHYSICAL_LEFT_CLOSE_BUTTON_CORRECTION_V1_END */
