.mini-status.alert-active {
  background: #e5f7eb;
  color: #19723b;
}

.queue {
  grid-template-rows: auto auto auto minmax(0, 1fr) auto;
}

.conversation-pagination {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-top: 1px solid #dfe7ed;
  background: #fff;
}

.conversation-pagination span {
  color: #526579;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.conversation-pagination button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.automation-summary {
  margin: 0 14px 12px;
  padding: 10px 12px;
  border: 1px solid #d8e6f5;
  border-radius: 10px;
  background: #f4f8fd;
  color: #24496f;
  font-size: 12px;
  line-height: 1.45;
}

.automation-summary > strong,
.automation-summary > small {
  display: block;
}

.automation-summary > small {
  margin-top: 7px;
}

.line-summary-list {
  display: grid;
  gap: 4px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.line-summary-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding-top: 4px;
  border-top: 1px solid #d8e6f5;
}

.line-summary-list li span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.line-summary-list li span:last-child {
  color: #526579;
  font-variant-numeric: tabular-nums;
}

.mini-status.alert-state {
  background: #fff3d6;
  color: #76520a;
}

.mini-status.alert-state.alert-active {
  background: #e5f7eb;
  color: #19723b;
}

.alert-bulk-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid #d8e6f5;
  border-radius: 10px;
  background: #f7faff;
  font-size: 12px;
}

.alert-bulk-actions label {
  display: flex;
  gap: 7px;
  align-items: center;
  font-weight: 700;
}

.alert-bulk-actions input,
.conversation-selector {
  width: 17px;
  height: 17px;
  accent-color: #1769aa;
}

.alert-bulk-actions button {
  grid-column: 1 / -1;
  width: 100%;
}

.conversation-select-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: start;
}

.conversation-select-row.site-only {
  grid-template-columns: minmax(0, 1fr);
}

.conversation-selector {
  margin: 18px 0 0 8px;
}

.conversation-select-row .conversation-card {
  width: 100%;
}

.manual-alert-editor {
  display: grid;
  gap: 10px;
  margin: 18px 0;
  padding: 14px;
  border: 1px solid #bfd9f2;
  border-radius: 12px;
  background: #f4f9fe;
}

.manual-alert-editor[hidden] {
  display: none;
}

.manual-alert-editor h2,
.manual-alert-editor p {
  margin: 0;
}

.manual-alert-editor p,
.manual-alert-editor small {
  color: #526579;
  font-size: 12px;
  line-height: 1.45;
}

.manual-alert-editor label {
  display: grid;
  gap: 5px;
  color: #24496f;
  font-size: 12px;
  font-weight: 700;
}

.manual-alert-editor select {
  min-width: 0;
  width: 100%;
  padding: 9px 10px;
  border: 1px solid #b8c9dc;
  border-radius: 8px;
  background: #fff;
  color: #17324d;
}
