.viz-stack {
  width: min(100%, 800px);
}

.viz-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.8rem;
}

.state-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  color: var(--brand-deep);
  background: var(--brand-soft);
  border: 1px solid #c7d3ed;
  border-radius: 999px;
  font-family: var(--mono);
  font-weight: 760;
  white-space: nowrap;
}

.annotation-pill {
  padding: 7px 10px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 720;
}

.annotation-pill strong {
  color: var(--ink);
}

.empty-state {
  display: grid;
  place-items: center;
  min-height: 150px;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 680px) {
  .viz-caption {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (min-width: 761px) and (max-height: 820px) {
  .viz-caption {
    margin-bottom: 6px;
  }
}
