relay-flow {
  display: block;
  min-width: 0;
  color: #506b80;
}
.flow-caption {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin: 0 0 0.55rem;
  color: var(--muted);
  font-size: 0.86rem;
}
.flow-arrow-key {
  font-weight: 750;
  color: #42647c;
  line-height: 1;
}
.flow-scroll-hint {
  margin-left: auto;
}
[data-flow-viewport] {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  background: #f8fafb;
}
[data-flow-viewport]:focus-visible {
  outline-offset: 2px;
}
[data-flow-canvas] {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 38px;
  padding: 16px var(--flow-side, 12px);
  align-items: stretch;
}
.flow-rank {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  width: var(--flow-track-width, 100%);
  align-self: center;
}
.flow-item {
  grid-area: 1 / 1;
  width: var(--flow-card, 210px);
  min-width: 0;
  flex: none;
  position: relative;
  z-index: 1;
}
[data-flow-lines] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  color: #54758c;
  overflow: visible;
}
[data-flow-lines] g path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linejoin: round;
}
[data-flow-lines] g path.related {
  stroke: #225b85;
  stroke-width: 2.5;
}
.flow-item .node {
  background: var(--paper);
  color: var(--ink);
  border-color: #b6c4ce;
  box-shadow: 0 2px 4px #213d5010;
}
.flow-item .node.owned {
  border-inline-start-color: #8b6aa7;
}
.flow-item .node[open] {
  box-shadow: 0 2px 8px #213d501a;
  border-block-start-color: #658296;
}
.flow-item .node summary {
  padding: 0.65rem 0.75rem;
  list-style: none;
  position: relative;
}
.flow-item .node summary::-webkit-details-marker {
  display: none;
}
.flow-item .node summary::after {
  content: '';
  position: absolute;
  top: 0.8rem;
  right: 0.75rem;
  width: 0.45rem;
  height: 0.45rem;
  border: solid #5e7382;
  border-width: 0 1.6px 1.6px 0;
  transform: rotate(45deg);
}
.flow-item .node[open] summary::after {
  transform: rotate(225deg);
  top: 1rem;
}
.flow-context {
  display: block;
  margin: 0 1.1rem 0.3rem 0;
  color: #4b6578;
  font-size: 0.79rem;
  font-weight: 600;
}
.flow-item .node .small {
  line-height: 1.45;
}
.flow-role {
  color: #334d62;
  font-weight: 650;
}
.flow-item .node .content {
  border-top: 1px solid var(--line);
  padding-top: 0.7rem;
}
.flow-item .tags {
  gap: 0.3rem;
}
.flow-item .node summary strong {
  display: block;
  padding-right: 0.45rem;
}
.flow-item .node button {
  max-width: 100%;
  white-space: normal;
}
.featured-flow {
  margin: 0 0 1.4rem;
}
.featured-flow > summary {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  cursor: pointer;
  padding: 1rem 1.1rem;
  font-weight: 700;
}
.featured-flow > summary::before {
  content: '▸';
  font-weight: 500;
  color: #536c7f;
}
.featured-flow[open] > summary::before {
  content: '▾';
}
.featured-flow > .featured-body {
  padding: 0 1rem 1rem;
}
@media (max-width: 550px) {
  .flow-item .node summary {
    padding: 0.48rem 0.58rem;
  }
  .flow-item .node summary::after {
    right: 0.53rem;
    top: 0.62rem;
  }
  .flow-context {
    font-size: 0.78rem;
  }
  .flow-caption {
    font-size: 0.82rem;
  }
  .flow-item .tag {
    font-size: 0.77rem;
    padding: 0.1rem 0.35rem;
  }
  .featured-flow > .featured-body {
    padding: 0 0.55rem 0.6rem;
  }
}
@media (forced-colors: active) {
  [data-flow-lines] {
    color: CanvasText;
  }
  [data-flow-lines] g path.related {
    stroke: Highlight;
  }
}
