.flow-symbols,
.flow-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.flow-icon {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.flow-github-link .flow-icon {
  width: 16px;
  height: 16px;
}
.flow-button--small .flow-icon {
  width: 15px;
  height: 15px;
}
.flow-demo {
  position: relative;
  isolation: isolate;
  min-width: 0;
  padding: 17px 18px 0;
  border: 1px solid #dbe3f1;
  border-radius: 13px;
  background: white;
  box-shadow:
    0 26px 65px -26px #304d8430,
    0 4px 12px #3d5a8405;
}
.flow-demo::before {
  content: "";
  position: absolute;
  inset: -14px 19px 20px -14px;
  z-index: -1;
  border: 1px solid #e5eaf5;
  border-radius: 16px;
  transform: rotate(-2deg);
  pointer-events: none;
}
.flow-demo-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
}
.flow-demo-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 650;
}
.flow-demo-sample {
  color: #7b879a;
  font-size: 10px;
  letter-spacing: 0.5px;
}
.flow-demo-tabs {
  display: flex;
  gap: 24px;
  margin-top: 16px;
  border-bottom: 1px solid #e7ebf3;
}
.flow-demo-tabs button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 0 11px;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #7b8598;
  font-size: 11px;
  line-height: 1.6;
  transition:
    color 140ms,
    border-color 140ms;
}
.flow-demo-tabs .flow-icon,
.flow-product-tabs .flow-icon {
  width: 15px;
  height: 15px;
}
.flow-demo-tabs button.is-active {
  border-bottom-color: var(--flow-blue);
  color: var(--flow-blue);
  font-weight: 650;
}
.flow-demo-tabs button:hover {
  color: var(--flow-blue);
}
.flow-mode-description {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 6px 0;
  color: #7d8799;
  font-size: 11px;
  line-height: 1.5;
}
.flow-demo-goal {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 11px;
  border: 1px solid #e6ebf5;
  border-radius: 6px 6px 0 0;
  background: #f8faff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}
.flow-goal-index {
  color: var(--flow-blue);
  font-family: ui-monospace, Consolas, monospace;
  font-size: 9px;
}
.flow-goal-tag {
  flex-shrink: 0;
  margin-left: auto;
  color: #8994a8;
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.8px;
}
.flow-graph {
  position: relative;
  height: 330px;
  border-inline: 1px solid #e6ebf5;
  background-color: #fbfcff;
  background-image: radial-gradient(#d4dcec 0.7px, transparent 0.7px);
  background-size: 15px 15px;
}
.flow-edges {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  stroke: #bdcbee;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}
.flow-edges path {
  vector-effect: non-scaling-stroke;
  transition: stroke 260ms;
}
.flow-edges .is-complete {
  stroke: #6c9b87;
}
.flow-edges .is-current {
  stroke: var(--flow-blue);
  stroke-width: 2;
}
.flow-demo[data-state="running"] .flow-edges .is-current {
  stroke-dasharray: 5 6;
  animation: flow-handoff 800ms linear infinite;
}
@keyframes flow-handoff {
  to {
    stroke-dashoffset: -22;
  }
}
.flow-edges--mobile,
.flow-group-links,
.flow-group-hub,
.flow-group-orbit {
  display: none;
}
.flow-demo[data-mode="groups"] .flow-canvas-links {
  display: none;
}
.flow-demo[data-mode="groups"] .flow-group-links,
.flow-demo[data-mode="groups"] .flow-group-hub,
.flow-demo[data-mode="groups"] .flow-group-orbit {
  display: block;
}
.flow-group-links {
  stroke-dasharray: 4 5;
}
.flow-group-orbit {
  position: absolute;
  left: 24%;
  top: 3%;
  width: 71%;
  height: 89%;
  border: 1px dashed #d2dced;
  border-radius: 50%;
  background: #edf2ff38;
}
.flow-group-hub {
  position: absolute;
  left: 50%;
  top: 43%;
  width: 14%;
  padding: 7px 2px;
  border: 1px solid #e0e7fa;
  border-radius: 11px;
  background: #f0f4ff;
  text-align: center;
  line-height: 1.4;
}
.flow-group-hub .flow-icon {
  width: 16px;
  height: 16px;
  margin-inline: auto;
  color: var(--flow-blue);
}
.flow-group-hub strong {
  display: block;
  margin-top: 3px;
  font-size: 9px;
  font-weight: 600;
}
.flow-group-hub small {
  font-size: 7px;
  color: #7d8ba4;
}
.flow-node {
  position: absolute;
  left: var(--node-x);
  top: var(--node-y);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 20.5%;
  height: 82px;
  padding: 9px 10px 8px;
  border: 1px solid #d9e1f0;
  border-radius: 8px;
  background: #fff;
  color: var(--flow-ink);
  text-align: left;
  line-height: 1.4;
  box-shadow: 0 4px 9px #284a7e06;
  transition:
    left 480ms cubic-bezier(0.22, 1, 0.36, 1),
    top 480ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 180ms,
    border-color 180ms,
    background 180ms;
}
.flow-node[data-node="brief"] {
  --node-x: 3%;
  --node-y: 41%;
}
.flow-node[data-node="plan"] {
  --node-x: 29%;
  --node-y: 8%;
}
.flow-node[data-node="build"] {
  --node-x: 55%;
  --node-y: 8%;
}
.flow-node[data-node="review"] {
  --node-x: 42%;
  --node-y: 66%;
}
.flow-node[data-node="human"] {
  --node-x: 77%;
  --node-y: 50%;
}
.flow-demo[data-mode="groups"] .flow-node[data-node="brief"] {
  --node-x: 3%;
  --node-y: 37%;
}
.flow-demo[data-mode="groups"] .flow-node[data-node="plan"] {
  --node-x: 30%;
  --node-y: 9%;
}
.flow-demo[data-mode="groups"] .flow-node[data-node="build"] {
  --node-x: 74%;
  --node-y: 30%;
}
.flow-demo[data-mode="groups"] .flow-node[data-node="review"] {
  --node-x: 31%;
  --node-y: 68%;
}
.flow-demo[data-mode="groups"] .flow-node[data-node="human"] {
  --node-x: 74%;
  --node-y: 68%;
}
.flow-node:hover {
  border-color: #8ba2ed;
  box-shadow: 0 5px 16px #385fa01a;
}
.flow-node.is-selected {
  border-color: var(--flow-blue);
  box-shadow:
    0 0 0 3px #2e55e70c,
    0 5px 14px #385fa012;
}
.flow-node-icon {
  color: var(--flow-blue);
}
.flow-node-icon .flow-icon {
  width: 15px;
  height: 15px;
}
.flow-node strong {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.1px;
}
.flow-node-sub {
  margin-top: 3px;
  color: #8490a4;
  font-size: 9px;
  white-space: normal;
}
.flow-node-status {
  position: absolute;
  top: 10px;
  right: 7px;
  max-width: calc(100% - 31px);
  color: #8590a3;
  font-size: 8px;
  line-height: 1.4;
}
.flow-node[data-status="running"] {
  border-color: var(--flow-blue);
  background: #f2f5ff;
}
.flow-node[data-status="running"] .flow-node-status {
  color: var(--flow-blue);
}
.flow-node[data-status="done"] .flow-node-status {
  color: var(--flow-green);
}
.flow-node[data-status="done"] .flow-node-status::before {
  content: "✓ ";
}
.flow-node--human .flow-node-icon,
.flow-node--human .flow-node-status {
  color: var(--flow-coral);
}
.flow-node--human {
  border-color: #edcdbf;
  background: #fffaf7;
}
.flow-node[data-status="waiting"] {
  border-color: #cd7a5d;
  background: #fff4ec;
  box-shadow: 0 0 0 4px #df87600e;
}
.flow-node--human[data-status="done"] {
  border-color: #8ebba5;
  background: #f2f8f4;
}
.flow-port {
  position: absolute;
  top: 50%;
  width: 5px;
  height: 5px;
  border: 1px solid #acbce5;
  border-radius: 50%;
  background: white;
}
.flow-port--in {
  left: -3px;
}
.flow-port--out {
  right: -3px;
}
.flow-demo[data-mode="groups"] .flow-port {
  display: none;
}
.flow-graph-caption {
  position: absolute;
  left: 13px;
  bottom: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #97a2b4;
  font-size: 9px;
  line-height: 1.4;
}
.flow-caption-line {
  width: 11px;
  height: 1px;
  background: #a6b8e6;
}
.flow-inspector {
  min-height: 125px;
  padding: 13px 14px 12px;
  border: 1px solid #e4eaf4;
  border-top-color: #dde5f1;
  border-radius: 0 0 6px 6px;
  background: #fff;
}
.flow-inspector-heading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 8px;
  row-gap: 3px;
  line-height: 1.5;
}
.flow-inspector-kicker {
  flex-basis: 100%;
  color: var(--flow-blue);
  font-family: ui-monospace, "Microsoft YaHei", monospace;
  font-size: 8px;
  letter-spacing: 0.6px;
}
.flow-inspector-heading strong {
  font-size: 13px;
  font-weight: 650;
}
.flow-inspector-type {
  margin-left: auto;
  color: #8a95a7;
  font-size: 8px;
}
.flow-inspector > p {
  margin-top: 5px;
  color: #6f7c92;
  font-size: 11px;
  line-height: 1.6;
}
.flow-inspector-handoff {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-top: 6px;
  color: #54719b;
  font-size: 10px;
  line-height: 1.6;
}
.flow-inspector[data-inspector="human"] .flow-inspector-kicker {
  color: var(--flow-coral);
}
.flow-acceptance {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px solid #ece5dd;
}
.flow-acceptance fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  border: 0;
}
.flow-acceptance label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 26px;
  color: #6d635b;
  font-size: 9px;
  cursor: pointer;
}
.flow-acceptance input {
  width: 13px;
  height: 13px;
  margin: 0;
  accent-color: var(--flow-blue);
}
.flow-approve {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 29px;
  padding: 5px 9px;
  border-radius: 4px;
  background: var(--flow-blue);
  color: white;
  font-size: 9px;
  font-weight: 600;
  line-height: 1.4;
}
.flow-approve:disabled {
  background: #e7ebf3;
  color: #9098a7;
  cursor: not-allowed;
}
.flow-approve .flow-icon {
  width: 12px;
  height: 12px;
}
.flow-demo-bottom {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 53px;
}
.flow-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 32px;
  padding: 7px 10px;
  border: 1px solid #d9e2fb;
  border-radius: 5px;
  background: #edf2ff;
  color: var(--flow-blue);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
}
.flow-play:hover {
  background: #e4ebff;
}
.flow-play .flow-icon {
  width: 13px;
  height: 13px;
  stroke-width: 2;
}
.flow-run-label {
  flex: 1;
  color: #8a95a8;
  font-size: 10px;
  line-height: 1.5;
}
.flow-demo[data-state="waiting"] .flow-run-label {
  color: var(--flow-coral);
}
.flow-demo[data-state="complete"] .flow-run-label {
  color: var(--flow-green);
}
.flow-reset {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 30px;
  height: 32px;
  border-radius: 5px;
  background: transparent;
  color: #8b97ad;
}
.flow-reset:hover {
  background: #f0f3fa;
  color: var(--flow-blue);
}
.flow-reset .flow-icon {
  width: 14px;
  height: 14px;
}
.flow-context-strip .flow-icon {
  width: 16px;
  height: 16px;
  color: #8594ad;
}
.flow-step-art .flow-icon {
  width: 15px;
  height: 15px;
}
.flow-workspace-details dt .flow-icon {
  width: 16px;
  height: 16px;
  color: #6d82b0;
}
.flow-product-tabs .flow-icon {
  width: 13px;
  height: 13px;
}
.flow-screenshot-expand .flow-icon {
  width: 14px;
  height: 14px;
}
.flow-command-heading .flow-icon {
  width: 13px;
  height: 13px;
}
.flow-command-line .flow-icon {
  width: 15px;
  height: 15px;
}
.flow-install-links .flow-icon {
  width: 14px;
  height: 14px;
}
html[lang="en"] .flow-node-sub {
  font-size: 7px;
}
html[lang="en"] .flow-node-status {
  font-size: 6px;
}
@media (max-width: 1200px) {
  .flow-demo {
    padding-inline: 13px;
  }
  .flow-graph {
    height: 280px;
  }
  .flow-node {
    padding-inline: 7px;
  }
  .flow-node strong {
    font-size: 9px;
  }
  .flow-node-sub {
    font-size: 7px;
  }
}
@media (max-width: 1000px) {
  .flow-demo {
    width: 100%;
    max-width: 730px;
    justify-self: center;
    padding-inline: 18px;
  }
  .flow-graph {
    height: 316px;
  }
  .flow-node {
    height: 82px;
    padding: 10px 12px;
  }
  .flow-node strong {
    font-size: 11px;
  }
  .flow-node-sub {
    font-size: 8px;
  }
  .flow-node-status {
    font-size: 8px;
  }
  html[lang="en"] .flow-node-status {
    font-size: 7px;
  }
}
@media (max-width: 640px) {
  .flow-header-actions .flow-button .flow-icon {
    width: 12px;
    height: 12px;
  }
  .flow-demo {
    padding: 14px 10px 0;
    border-radius: 10px;
  }
  .flow-demo::before {
    inset: -8px 12px 20px -7px;
    border-radius: 12px;
    transform: rotate(-1.4deg);
  }
  .flow-demo-label {
    font-size: 10px;
  }
  .flow-demo-sample {
    font-size: 8px;
  }
  .flow-demo-tabs {
    margin-top: 14px;
    gap: 24px;
  }
  .flow-demo-tabs button {
    min-height: 35px;
    padding-bottom: 8px;
    font-size: 11px;
  }
  .flow-mode-description {
    min-height: 35px;
    font-size: 8px;
  }
  .flow-demo-goal {
    padding: 9px 8px;
    gap: 7px;
    font-size: 10px;
  }
  .flow-goal-index {
    font-size: 8px;
  }
  .flow-goal-tag {
    display: none;
  }
  .flow-graph {
    height: 340px;
    background-size: 13px 13px;
  }
  .flow-edges--desktop {
    display: none;
  }
  .flow-edges--mobile {
    display: block;
  }
  .flow-node {
    width: 29%;
    height: 81px;
    padding: 9px 8px;
    border-radius: 7px;
  }
  .flow-node strong {
    margin-top: 6px;
    font-size: 10px;
  }
  .flow-node-sub {
    font-size: 7px;
    margin-top: 4px;
  }
  .flow-node-status {
    top: 10px;
    right: 5px;
    font-size: 6px;
  }
  .flow-node-icon .flow-icon {
    width: 14px;
    height: 14px;
  }
  .flow-node[data-node="brief"],
  .flow-demo[data-mode="groups"] .flow-node[data-node="brief"] {
    --node-x: 3%;
    --node-y: 5%;
  }
  .flow-node[data-node="plan"],
  .flow-demo[data-mode="groups"] .flow-node[data-node="plan"] {
    --node-x: 67%;
    --node-y: 5%;
  }
  .flow-node[data-node="build"],
  .flow-demo[data-mode="groups"] .flow-node[data-node="build"] {
    --node-x: 67%;
    --node-y: 45%;
  }
  .flow-node[data-node="review"],
  .flow-demo[data-mode="groups"] .flow-node[data-node="review"] {
    --node-x: 3%;
    --node-y: 45%;
  }
  .flow-node[data-node="human"],
  .flow-demo[data-mode="groups"] .flow-node[data-node="human"] {
    --node-x: 34%;
    --node-y: 76.5%;
  }
  .flow-demo[data-mode="groups"] .flow-node {
    border-radius: 13px;
  }
  .flow-demo[data-mode="groups"] .flow-node[data-node="plan"] {
    --node-y: 2%;
  }
  .flow-demo[data-mode="groups"] .flow-node[data-node="brief"] {
    --node-y: 2%;
  }
  .flow-demo[data-mode="groups"] .flow-node[data-node="build"] {
    --node-y: 48%;
  }
  .flow-demo[data-mode="groups"] .flow-node[data-node="review"] {
    --node-y: 48%;
  }
  .flow-group-orbit {
    left: 6%;
    top: 7%;
    width: 89%;
    height: 81%;
  }
  .flow-group-hub {
    left: 40%;
    top: 30%;
    width: 20%;
    padding: 7px 2px;
  }
  .flow-group-hub strong {
    font-size: 8px;
  }
  .flow-group-hub small {
    font-size: 6px;
  }
  .flow-group-hub .flow-icon {
    width: 14px;
    height: 14px;
  }
  .flow-graph-caption {
    left: 8px;
    bottom: 8px;
    max-width: 30%;
    align-items: flex-start;
    font-size: 6px;
  }
  .flow-caption-line {
    flex-shrink: 0;
    margin-top: 4px;
    width: 7px;
  }
  .flow-inspector {
    min-height: 130px;
    padding: 12px 10px;
  }
  .flow-inspector-kicker {
    font-size: 8px;
  }
  .flow-inspector-heading strong {
    font-size: 11px;
  }
  .flow-inspector-type {
    font-size: 7px;
  }
  .flow-inspector > p {
    font-size: 9px;
    margin-top: 7px;
  }
  .flow-inspector-handoff {
    font-size: 8px;
    margin-top: 8px;
  }
  .flow-acceptance {
    align-items: flex-start;
    gap: 10px;
  }
  .flow-acceptance fieldset {
    gap: 11px;
  }
  .flow-acceptance label {
    font-size: 9px;
    min-height: 30px;
  }
  .flow-acceptance input {
    width: 14px;
    height: 14px;
  }
  .flow-approve {
    min-height: 34px;
    font-size: 10px;
    width: 100%;
  }
  .flow-demo-bottom {
    gap: 8px;
    min-height: 57px;
  }
  .flow-play {
    min-height: 34px;
    font-size: 9px;
    padding-inline: 8px;
    flex-shrink: 0;
  }
  .flow-run-label {
    font-size: 7px;
  }
  .flow-reset {
    width: 27px;
  }
  .flow-context-strip .flow-icon {
    width: 13px;
    height: 13px;
  }
  html[lang="en"] .flow-node-sub {
    font-size: 6px;
  }
  html[lang="en"] .flow-node-status {
    font-size: 5.5px;
  }
  html[lang="en"] .flow-node strong {
    font-size: 9px;
  }
  html[lang="en"] .flow-inspector-type {
    margin-left: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .flow-node,
  .flow-edges path {
    transition: none;
  }
  .flow-demo[data-state="running"] .flow-edges .is-current {
    animation: none;
    stroke-dasharray: none;
  }
}
