/* Mantiene el detalle de aperturas y clics contenido dentro del modal. */
#sendsDialog {
  width: min(900px, calc(100% - 32px));
  overflow: hidden;
}

#sendsDialog .dialog-content {
  max-height: 90vh;
  min-width: 0;
  overflow-y: auto;
}

#sendsDialog .dialog-head {
  position: sticky;
  top: -25px;
  z-index: 2;
  margin: -25px -25px 0;
  padding: 25px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

#sendsDialog .table-wrap {
  min-width: 0;
  overflow-x: hidden;
}

#sendsDialog .sends-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

#sendsDialog .sends-summary .muted {
  margin-top: 0;
}

#sendsDialog .sends-summary button {
  flex: none;
}

#sendsDialog .sends-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

@media (max-width: 700px) {
  #sendsDialog .sends-summary,
  #sendsDialog .sends-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

#sendsDialog .batches table {
  min-width: 0;
  table-layout: fixed;
}

#sendsDialog th:nth-child(1) { width: 32%; }
#sendsDialog th:nth-child(2) { width: 12%; }
#sendsDialog th:nth-child(3) { width: 28%; }
#sendsDialog th:nth-child(4),
#sendsDialog th:nth-child(5) { width: 14%; }

#sendsDialog td {
  overflow-wrap: anywhere;
}

#sendsDialog .pill {
  white-space: normal;
}
