.studio #flow-graph .flow-node {
  padding: 3px 4px;
  font-size: 12px;
  line-height: 1.15;
}

.studio #flow-detail .studio-primary { margin-bottom: 10px; }
#flow-detail { max-height: 220px; overflow-y: auto; }
#flow-detail > strong { display: block; }

#flow-detail ul {
  display: grid;
  gap: 5px;
  margin: 5px 0 0;
  padding: 0;
  list-style: none;
}

#flow-detail li { display: grid; gap: 2px; }

#flow-detail button.flow-next-step {
  justify-self: start;
  min-height: 28px;
  padding: 3px 7px;
  border-color: #e4dff6;
  background: #f0edfb;
  color: var(--studio-accent);
  text-align: start;
}

#flow-detail button.flow-next-step:hover { background: #e6e0fa; }
#flow-detail li small { padding-inline: 2px; color: var(--studio-muted); }

@media (min-width: 761px) {
  #flow-detail { flex-basis: clamp(130px, 42%, 220px); }
}
