.scheduled-heading-copy {
  min-width: 0;
}

.publication-tabs {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 12px;
}

.publication-tabs > button {
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid #cfd4da;
  border-radius: 8px;
  background: #f7f8f9;
  color: #17191c;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 6px rgb(15 23 42 / .06);
}

.publication-tabs > button:hover {
  border-color: #9da5ae;
  background: #eef0f2;
  color: #080808;
}

.publication-tabs > button.active {
  border-color: #171717;
  background: #171717;
  color: #fff;
  box-shadow: 0 3px 8px rgb(15 23 42 / .16);
}

.publication-tabs .archive-date-filter {
  max-width: 190px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-color: #93c5fd;
  background: linear-gradient(135deg, #eff6ff, #faf5ff);
  color: #174b91;
  box-shadow: 0 3px 9px rgb(59 130 246 / .12);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.publication-tabs .archive-date-filter:hover {
  border-color: #60a5fa;
  background: linear-gradient(135deg, #dbeafe, #f3e8ff);
  color: #123d79;
}

.archive-date-filter > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.archive-date-filter > b {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #174b91;
  font-size: 12px;
  line-height: 1;
  box-shadow: 0 1px 4px rgb(59 130 246 / .18);
}

.scheduled-card .scheduled-status {
  border-color: #93c5fd;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  color: #174b91;
  box-shadow: 0 3px 10px rgb(59 130 246 / .18);
}

.scheduled-card.status-queued .scheduled-status {
  border-color: #d8b4fe;
  background: linear-gradient(135deg, #faf5ff, #f3e8ff);
  color: #6b21a8;
}

.scheduled-card.status-processing .scheduled-status,
.scheduled-card.status-partially_published .scheduled-status {
  border-color: #fdba74;
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  color: #9a3412;
  box-shadow: 0 3px 10px rgb(249 115 22 / .17);
}

.scheduled-card.status-published .scheduled-status {
  border-color: #86efac;
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  color: #166534;
  box-shadow: 0 3px 10px rgb(34 197 94 / .17);
}

.scheduled-card.status-failed .scheduled-status {
  border-color: #fca5a5;
  background: linear-gradient(135deg, #fff1f2, #fee2e2);
  color: #991b1b;
  box-shadow: 0 3px 10px rgb(239 68 68 / .17);
}

.scheduled-card.status-cancelled .scheduled-status {
  border-color: #c4b5fd;
  background: linear-gradient(135deg, #f5f3ff, #ede9fe);
  color: #5b21b6;
  box-shadow: 0 3px 10px rgb(139 92 246 / .17);
}

.heatmap i.has-publications {
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.heatmap i.has-publications:hover,
.heatmap i.has-publications:focus-visible {
  position: relative;
  z-index: 2;
  outline: none;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgb(59 130 246 / .55);
  transform: scale(1.18);
}

@media (max-width: 560px) {
  .publication-tabs {
    flex-wrap: wrap;
  }
}
