/* Keep the final reply and its actions fully visible even when a closed ticket
   has no reply editor. Both admin and client ticket dialogs render reply-item. */
.arco-modal .arco-card:has(.reply-item) {
  scroll-padding-bottom: 20px;
}

.arco-modal .arco-card:has(.reply-item) > .arco-card-body {
  display: flow-root;
  padding-bottom: 22px;
}

.arco-modal .arco-card:has(.reply-item) .reply-item:last-child {
  margin-bottom: 0;
  padding-bottom: 16px;
}

.arco-modal .reply-item:last-child .reply-moderation {
  padding-bottom: 2px;
}
