.deletion-inbox { max-width: 1080px; }
.deletion-inbox .resource-header { align-items: flex-start; gap: 16px; }
.deletion-count { display: inline-block; padding: 3px 10px; border-radius: 12px; background: #eaf0ff; color: #3150be; font-size: 16px; vertical-align: middle; }
.deletion-help { line-height: 1.6; margin: 10px 0; }
.deletion-inbox .muted { color: #67758f; font-size: 13px; line-height: 1.5; }
.deletion-toolbar { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin: 18px 0; }
.deletion-item { margin: 16px 0; padding: 22px; }
.deletion-item-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 18px; }
.deletion-item-header h2 { font-size: 19px; margin: 0 0 5px; overflow-wrap: anywhere; }
.deletion-item-header p { margin: 3px 0; }
.deletion-item-header .button_to { flex-shrink: 0; }
.deletion-item .danger-button { min-height: 44px; }
.deletion-item .message-block { max-width: 100%; align-items: stretch; }
.deletion-item .bubble { max-width: 100%; overflow-wrap: anywhere; }
.deletion-item .message-image { max-height: 320px; object-fit: contain; }
.deletion-item .message-audio, .deletion-item .message-video { width: 100%; max-width: 540px; }
.deletion-item .message-meta { justify-content: flex-start; }
.deletion-cleanup { margin-top: 18px; }
.deletion-empty { padding: 32px; margin-top: 20px; }
.message-delete.button-to-delete { padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
@media (max-width: 600px) {
  .deletion-item { padding: 16px; }
  .deletion-item-header { flex-direction: column; gap: 12px; }
  .deletion-item-header .button_to, .deletion-item-header .danger-button { width: 100%; }
  .deletion-inbox .resource-header h1 { font-size: 25px; }
}

/* Match the header controls while keeping deletion visually distinct. */
.mobile-workspace .chat-actions .chat-header-delete {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 9px 12px; border: 1px solid #efc9cf;
  border-radius: 9px; background: #fff3f4; color: #a33143;
  font: inherit; font-size: 12px; line-height: 1.3;
  text-decoration: none; opacity: 1; cursor: pointer;
}
.mobile-workspace .chat-actions .chat-header-delete:hover { background: #ffe6e9; }
.mobile-workspace .chat-actions .chat-header-delete:focus-visible {
  outline: 2px solid #a33143; outline-offset: 3px;
}
