/* webhooks */
#webhooks-body > .tabs {
  margin-top: 4px;
}
/* Setup asks first where Stark posts. */
.wh-route {
  margin: 14px 0 4px;
}
.wh-route h3 {
  display: inline-block;
  margin: 0 12px 0 0;
  font-size: 14px;
}
.wh-route .help {
  margin: 8px 0 0;
}
.tabs-aside {
  margin-left: auto;
  align-self: center;
}
.tabs-aside .wh-status {
  margin: 0;
}
.wh-status {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 4px 0 8px;
  font-size: 12.5px;
  color: var(--ink-3);
}
.wh-status b {
  color: var(--ink);
  font-weight: 600;
}
.wh-status .dot {
  width: 9px;
  height: 9px;
}
.wh-status.st-live .dot {
  background: var(--pix);
  box-shadow: 0 0 0 3px var(--pix-tint);
}
.wh-status.st-connecting .dot,
.wh-status.st-retrying .dot,
.wh-status.st-waiting .dot {
  background: var(--idle);
  animation: pulse 1.2s ease-in-out infinite;
}
@keyframes pulse {
  50% {
    opacity: 0.35;
  }
}
.wh-steps {
  list-style: none;
  counter-reset: whs;
  margin: 6px 0 0;
  padding: 0;
}
.wh-steps > li {
  counter-increment: whs;
  position: relative;
  padding: 14px 0 16px 40px;
  border-bottom: 1px solid var(--rule);
}
.wh-steps > li:last-child {
  border-bottom: 0;
}
.wh-steps > li::before {
  content: counter(whs);
  position: absolute;
  left: 0;
  top: 14px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--rule-strong);
  display: grid;
  place-items: center;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-2);
}
.wh-steps h3 {
  margin: 2px 0 4px;
  font-size: 14px;
}
.wh-steps .help {
  margin: 0 0 6px;
}
.wh-steps .row {
  margin-top: 8px;
}
.wh-steps .notice {
  margin-top: 10px;
}
.inbox-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 14px 0 10px;
}
.inbox-tools select,
.inbox-tools input[type='search'] {
  padding: 5px 9px;
  border: 1px solid var(--rule);
  border-radius: 7px;
  background: var(--surface);
  font-size: 12.5px;
}
.inbox-tools input[type='search'] {
  flex: 1;
  min-width: 160px;
}
.inbox-grid {
  display: grid;
  grid-template-columns: minmax(260px, 2fr) minmax(0, 3fr);
  gap: 14px;
  align-items: start;
}
.inbox {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--rule);
  border-radius: 9px;
  overflow: auto;
  max-height: 62vh;
}
.inbox li + li {
  border-top: 1px solid var(--rule);
}
.dl {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 2px 10px;
  width: 100%;
  text-align: left;
  border: 0;
  background: var(--surface);
  padding: 9px 12px;
  cursor: pointer;
  color: var(--ink);
  align-items: baseline;
}
.dl:hover {
  background: var(--surface-2);
}
.dl.on {
  background: var(--pix-tint);
}
.dl-time {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-3);
}
.dl-title {
  font-weight: 600;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dl-sub {
  grid-column: 2 / -1;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sig {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  border-radius: 999px;
  padding: 0 7px;
  line-height: 17px;
  white-space: nowrap;
}
.sig-ok {
  background: var(--ok-tint);
  color: var(--ok);
}
.sig-bad {
  background: var(--err-tint);
  color: var(--err);
}
.sig-warn {
  background: var(--warn-tint);
  color: var(--warn);
}
.sig-meta {
  background: var(--surface-2);
  color: var(--ink-3);
  border: 1px solid var(--rule);
}
.dl-detail {
  min-width: 0;
}
.dl-detail h3 {
  margin: 0 0 2px;
  font-size: 15px;
}
.dl-detail .meta {
  margin: 0 0 6px;
}
.dl-detail .wirebox {
  margin-top: 8px;
}
.dl-detail .payload {
  max-height: 46vh;
}
.dl-hint {
  margin: 30px 0 0;
  text-align: center;
}
