/* Local technical chapter study; never loaded by the original homepage. */
.technical.technical-refined {
  padding-block: 128px 100px;
  background: #0c1017;
}
.technical-refined .tech-intro {
  max-width: 800px;
  margin-bottom: 92px;
}
.technical-refined .tech-intro .eyebrow {
  color: #b2bbca;
  font-size: 11px;
  letter-spacing: 0.1em;
  margin-bottom: 28px;
}
.story-body .technical-refined .tech-intro h2 {
  font-size: clamp(46px, 5.5vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.055em;
}
.story-body .technical-refined .tech-intro h2 > span {
  color: #9aa7bc;
}
.technical-refined .tech-intro > p {
  max-width: 650px;
  color: #aab3c1;
  font-size: 18px;
  line-height: 1.65;
  margin-top: 30px;
}
.ft-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 52px;
  margin: 0 6px 32px;
}
.ft-kicker {
  display: block;
  color: #a7b4c7;
  font-size: 12px;
  margin-bottom: 17px;
}
.ft-heading h3,
.ft-support h3 {
  font-size: clamp(29px, 2.7vw, 38px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.045em;
  margin: 0;
}
.ft-heading > p {
  max-width: 405px;
  color: #aab3c1;
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}
.ft-definition-stage {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 24px;
  padding: 44px;
  border: 1px solid #ffffff16;
  border-radius: 24px;
  background:
    radial-gradient(ellipse at 18% 100%, #47627b36, transparent 65%),
    radial-gradient(ellipse at 95% 5%, #776a8e22, transparent 60%), #121822;
}
.ft-definition-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#b6c8e32b 0.65px, transparent 0.65px);
  background-size: 20px 20px;
  mask-image: linear-gradient(transparent, #0008);
  border-radius: inherit;
  pointer-events: none;
}
.ft-window {
  position: relative;
  min-width: 0;
  border: 1px solid #ffffff20;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 42px #0003;
}
.ft-window-bar {
  height: 54px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-inline: 22px;
  border-bottom: 1px solid #e7e8ea;
  font-size: 13px;
}
.ft-window-bar .icon {
  width: 16px;
  height: 16px;
}
.ft-window-bar > small {
  margin-left: auto;
  font-size: 11px;
  color: #747b87;
}
.ft-builder {
  color: #232628;
  background: #fff;
}
.ft-builder-body {
  padding: 28px 26px 0;
}
.ft-builder h4 {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.045em;
  margin: 0 0 7px;
}
.ft-source {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: #737b87;
}
.ft-source > span {
  color: #353c45;
}
.ft-filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 24px 0 20px;
  padding: 15px;
  border: 1px solid #b6c8df;
  border-radius: 8px;
  background: #f5f8fc;
}
.ft-filter > div {
  font-size: 13px;
}
.ft-filter > div > small {
  display: block;
  font-size: 10px;
  color: #68768b;
  margin-bottom: 5px;
}
.ft-filter > div > b {
  font-weight: 500;
}
.ft-filter > div > span {
  margin-inline: 8px;
  color: #7a8494;
}
.ft-filter .switch-label {
  position: relative;
  padding: 8px 0 8px 8px;
}
.ft-filter .switch-track {
  width: 30px;
  height: 18px;
}
.ft-filter .switch-track::before {
  width: 14px;
  height: 14px;
}
.ft-filter input:checked + .switch-track {
  background: #607d9b;
}
.ft-filter input:checked + .switch-track::before {
  transform: translateX(12px);
}
.ft-table-wrap {
  min-height: 191px;
}
.ft-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  text-align: left;
}
.ft-table th {
  font-size: 11px;
  font-weight: 400;
  color: #737b87;
  background: #fafafa;
}
.ft-table th,
.ft-table td {
  padding: 13px 10px;
  border-bottom: 1px solid #eceef0;
}
.ft-table th:last-child,
.ft-table td:last-child {
  text-align: right;
}
.ft-item-state {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  color: #47705b;
  font-size: 11px;
}
.ft-item-state::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #6b987c;
}
.ft-item-state.is-draft {
  color: #7c818b;
}
.ft-item-state.is-draft::before {
  background: #a4a9b2;
}
.ft-builder-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 26px;
  font-size: 11px;
  color: #747b87;
}
.ft-code {
  display: flex;
  flex-direction: column;
  background: #111722;
  color: #ced7e4;
}
.ft-code .ft-window-bar {
  border-color: #ffffff10;
  color: #ccd5e3;
}
.ft-code .ft-window-bar > small {
  color: #9da9bd;
}
.ft-code-comment {
  font:
    11px/1.5 ui-monospace,
    monospace;
  color: #8392a9;
  margin: 26px 24px 16px;
}
.ft-code pre {
  margin: 0;
  padding: 0 24px;
  font:
    12px/1.85 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  overflow-x: auto;
  min-height: 310px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  tab-size: 2;
}
.ft-code code {
  font: inherit;
}
.ft-code .code-key {
  color: #b0c7e6;
}
.ft-code .code-string {
  color: #dbbecf;
}
.ft-code-filter {
  display: block;
  margin: 3px -12px;
  padding: 5px 12px;
  border-left: 2px solid #6e94c3;
  background: #7aa4d512;
  color: #c1d4e8;
}
.ft-code-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding: 16px 22px;
  border-top: 1px solid #ffffff10;
}
.ft-code-bottom > span {
  font-size: 11px;
  color: #8f9eb4;
}
.ft-code-bottom > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 36px;
  padding: 8px 13px;
  border: 1px solid #ffffff2b;
  border-radius: 7px;
  font: inherit;
  font-size: 11px;
  background: #ffffff09;
  color: #e1e8f3;
  cursor: pointer;
}
.ft-code-bottom > button:hover {
  background: #ffffff12;
}
.ft-code-bottom .icon {
  width: 14px;
  height: 14px;
}
.ft-shared {
  position: relative;
  grid-column: 1/-1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding-top: 8px;
  color: #becbdc;
  font-size: 13px;
}
.ft-shared::before,
.ft-shared::after {
  content: "";
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #b7cbe94d);
}
.ft-shared::after {
  transform: rotate(180deg);
}
.ft-feedback {
  color: #aab5c5;
  font-size: 12px;
  text-align: center;
  margin: 22px 0 76px;
  min-height: 1.6em;
}
.ft-support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
.ft-support {
  min-width: 0;
  padding: 38px;
  border: 1px solid #ffffff14;
  border-radius: 20px;
  background: linear-gradient(155deg, #ffffff04, transparent);
}
.ft-support > p {
  color: #aab3c1;
  font-size: 15px;
  line-height: 1.65;
  margin: 23px 0 36px;
  max-width: 430px;
  min-height: 74px;
}
.ft-api-inputs {
  display: flex;
  justify-content: center;
  gap: 14px;
}
.ft-api-inputs > span {
  border: 1px solid #ffffff16;
  border-radius: 7px;
  background: #151d29;
  text-align: center;
  padding: 12px 10px;
  font-size: 12px;
  min-width: 80px;
}
.ft-api-connections {
  display: flex;
  justify-content: center;
  gap: 93px;
  height: 32px;
}
.ft-api-connections > i {
  height: 100%;
  width: 1px;
  background: linear-gradient(#56667c, #56667c44);
}
.ft-api-core {
  border: 1px solid #6d88aa4d;
  border-radius: 12px;
  background: #131c28;
  overflow: hidden;
}
.ft-api-title {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 21px 22px 18px;
  font-size: 15px;
}
.ft-api-title .icon {
  color: #9eb6d1;
}
.ft-api-tabs {
  display: flex;
  padding: 0 16px;
  border-bottom: 1px solid #ffffff10;
}
.ft-api-tabs button {
  flex: 1;
  padding: 11px 10px;
  background: none;
  color: #a8b5c7;
  border: 0;
  border-bottom: 2px solid transparent;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.ft-api-tabs button[aria-selected="true"] {
  border-bottom-color: #9bb5d4;
  color: #f4f7fb;
}
.ft-api-output {
  min-height: 148px;
  padding: 24px 22px;
}
.ft-scope {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 22px 20px;
  padding-top: 18px;
  border-top: 1px solid #ffffff12;
}
.ft-scope b {
  display: block;
  font-size: 13px;
  font-weight: 500;
}
.ft-scope small {
  color: #a8b5c7;
  font-size: 11px;
  line-height: 1.6;
}
.ft-scope b small { margin-left: 5px; }
.ft-api-tabs button:focus-visible {
  outline: 2px solid #aec7e7;
  outline-offset: -3px;
  border-radius: 5px;
}
.ft-api-output[data-result="allowed"] > b { color: #b9d8c5; }
.ft-api-output[data-result="denied"] > b { color: #e2c4a2; }
.ft-api-output > b {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 9px;
}
.ft-api-output > span {
  display: block;
  color: #a4b2c7;
  font-size: 12px;
  line-height: 1.5;
}
.ft-access {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #aab6c7;
  font-size: 11px;
  margin-top: 20px;
}
.ft-access .icon {
  width: 14px;
  height: 14px;
}
.ft-history {
  border: 1px solid #ffffff14;
  border-radius: 12px;
  background: #131a23;
}
.ft-history-title {
  padding: 20px 22px;
  border-bottom: 1px solid #ffffff10;
  display: flex;
  align-items: center;
  gap: 11px;
}
.ft-history-title .icon {
  color: #9eb6d1;
}
.ft-history-title > span {
  font-size: 15px;
}
.ft-history-title small {
  display: block;
  font-size: 10px;
  color: #9ba7b8;
  margin-bottom: 5px;
}
.ft-history-row {
  display: grid;
  grid-template-columns: 29px 1fr auto;
  gap: 13px;
  align-items: start;
  padding: 23px 22px;
}
.ft-history-row + .ft-history-row {
  border-top: 1px solid #ffffff0b;
}
.ft-avatar {
  display: grid;
  place-items: center;
  border-radius: 50%;
  width: 29px;
  height: 29px;
  color: #d5c7b3;
  background: #62584455;
  font-size: 11px;
}
.ft-avatar.is-agent {
  background: #536a8955;
  color: #c7d7eb;
}
.ft-avatar .icon {
  width: 14px;
  height: 14px;
}
.ft-history-row b {
  display: block;
  font-weight: 500;
  font-size: 13px;
  margin: 1px 0 7px;
}
.ft-history-row b small {
  font-size: 10px;
  color: #9cacc2;
  font-weight: 400;
  margin-left: 7px;
}
.ft-history-row p {
  margin: 0;
  color: #aebacb;
  font-size: 12px;
  line-height: 1.6;
}
.ft-history-row time {
  display: block;
  font-size: 10px;
  color: #9ba8bb;
  margin-top: 9px;
}
.ft-version {
  color: #98a5ba;
  font:
    11px/1.8 ui-monospace,
    monospace;
}
.ft-history-note {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 14px 22px;
  border-top: 1px solid #ffffff10;
  font-size: 11px;
  color: #aab6c7;
}
.ft-history-note .icon {
  width: 14px;
  height: 14px;
}
.technical-refined :is(button, input):focus-visible {
  outline: 2px solid #bfd5f2;
  outline-offset: 4px;
}
.technical-refined .ft-filter input:focus-visible + .switch-track {
  outline: 2px solid #5476a1;
  outline-offset: 4px;
}
@media (max-width: 1050px) {
  .ft-definition-stage {
    padding: 28px;
    gap: 18px;
  }
  .ft-builder-body {
    padding: 23px 18px 0;
  }
  .ft-window-bar {
    padding-inline: 18px;
  }
  .ft-code pre {
    font-size: 10.5px;
    padding-inline: 18px;
  }
  .ft-code-comment {
    margin-inline: 18px;
    font-size: 10px;
  }
  .ft-code-bottom {
    flex-wrap: wrap;
    padding-inline: 18px;
  }
  .ft-support {
    padding: 28px;
  }
}
@media (max-width: 760px) {
  .technical.technical-refined {
    padding-block: 84px 64px;
  }
  .technical-refined .tech-intro {
    margin-bottom: 62px;
  }
  .technical-refined .tech-intro > p {
    font-size: 16px;
    line-height: 1.7;
  }
  .ft-heading {
    display: block;
    margin-inline: 0;
  }
  .ft-heading > p {
    margin-top: 22px;
    max-width: 100%;
  }
  .ft-definition-stage {
    grid-template-columns: 1fr;
    padding: 22px;
    gap: 18px;
  }
  .ft-builder-body {
    padding-inline: 24px;
  }
  .ft-code pre {
    font-size: 12px;
    min-height: 310px;
    padding-inline: 24px;
  }
  .ft-code-comment {
    margin-inline: 24px;
  }
  .ft-code-bottom {
    padding: 16px 24px;
  }
  .ft-shared {
    font-size: 12px;
    gap: 9px;
  }
  .ft-shared::before,
  .ft-shared::after {
    width: 30px;
  }
  .ft-feedback {
    line-height: 1.65;
    margin: 20px 10px 48px;
  }
  .ft-support-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .ft-support {
    padding: 30px;
  }
  .ft-support > p {
    min-height: 0;
  }
}
@media (max-width: 430px) {
  .story-body .technical-refined .tech-intro h2 {
    font-size: 43px;
  }
  .ft-definition-stage {
    padding: 14px;
    border-radius: 16px;
  }
  .ft-window-bar {
    padding-inline: 16px;
  }
  .ft-builder-body {
    padding: 23px 16px 0;
  }
  .ft-builder h4 {
    font-size: 25px;
  }
  .ft-filter {
    padding: 12px;
  }
  .ft-table {
    font-size: 11px;
  }
  .ft-table td,
  .ft-table th {
    padding-inline: 4px;
  }
  .ft-builder-bottom {
    padding-inline: 16px;
    font-size: 10px;
  }
  .ft-code pre {
    padding-inline: 16px;
    font-size: 10px;
    min-height: 257px;
  }
  .ft-code-comment {
    margin-inline: 16px;
    font-size: 9px;
  }
  .ft-code-bottom {
    padding-inline: 16px;
  }
  .ft-code-bottom > span {
    font-size: 10px;
  }
  .ft-code-bottom > button {
    font-size: 10px;
  }
  .ft-shared {
    font-size: 11px;
  }
  .ft-shared::before,
  .ft-shared::after {
    width: 10px;
  }
  .ft-support {
    padding: 25px 20px;
    border-radius: 16px;
  }
  .ft-api-inputs {
    gap: 8px;
  }
  .ft-api-inputs > span {
    min-width: 64px;
    padding-inline: 8px;
    font-size: 11px;
  }
  .ft-api-connections {
    gap: 71px;
  }
  .ft-history-row {
    gap: 9px;
    padding-inline: 16px;
  }
  .ft-history-row b small {
    display: block;
    margin: 5px 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .technical-refined .switch-track,
  .technical-refined .switch-track::before {
    transition: none;
  }
}

/* Flow-builder crop: node anatomy, ports and dark tokens follow current Floreyn. */
.ft-flow-stage {
  --flow-background: oklch(0.145 0 0);
  --flow-foreground: oklch(0.985 0 0);
  --flow-muted: oklch(0.708 0 0);
  --flow-border: oklch(1 0 0 / 10%);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid #ffffff23;
  border-radius: 20px;
  background: var(--flow-background);
  color: var(--flow-foreground);
  box-shadow: 0 30px 90px #0003;
}
/* Equal entry points, connected to one shared foundation. No step sequence. */
.ft-shared-foundation {
  grid-column: 1 / -1;
  padding: 22px 18px 23px;
  border-top: 1px solid var(--flow-border);
  background: #10141c;
  text-align: center;
}
.ft-shared-inputs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(330px, 100%);
  margin-inline: auto;
  padding-bottom: 18px;
  color: #c2cddd;
  font-size: 12px;
  line-height: 1.4;
}
.ft-shared-inputs::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 16.6667%;
  right: 16.6667%;
  height: 1px;
  background: #465367;
}
.ft-shared-inputs > span::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 1px;
  height: 12px;
  background: #465367;
}
.ft-shared-inputs > span:nth-child(1)::after {
  left: 16.6667%;
}
.ft-shared-inputs > span:nth-child(2)::after {
  left: 50%;
}
.ft-shared-inputs > span:nth-child(3)::after {
  left: 83.3333%;
}
.ft-shared-foundation > p {
  position: relative;
  margin: 0;
  padding-top: 17px;
  color: #a5b2c6;
  font-size: 12px;
  line-height: 1.5;
}
.ft-shared-foundation > p::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  height: 10px;
  width: 1px;
  background: #465367;
}
.ft-flow-editor,
.ft-flow-definition {
  min-width: 0;
}
.ft-flow-header {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 65px;
  padding: 0 28px;
  border-bottom: 1px solid var(--flow-border);
  font-size: 14px;
}
.ft-flow-header > .icon {
  width: 16px;
  height: 16px;
  color: var(--flow-muted);
}
.ft-flow-header > b {
  font-weight: 600;
}
.ft-flow-inactive {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  color: var(--flow-muted);
  font-size: 11px;
}
.ft-flow-inactive i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #737373;
}
.ft-flow-canvas {
  position: relative;
  padding: 10px 20px 30px;
  background-image: radial-gradient(#444 0.65px, transparent 0.65px);
  background-position: 10px 10px;
  background-size: 20px 20px;
}
.ft-flow-graph {
  position: relative;
  width: 320px;
  max-width: 100%;
  height: 540px;
  margin-inline: auto;
}
.ft-flow-wires {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.ft-flow-wires path {
  stroke: var(--flow-muted);
  stroke-width: 1.25;
  opacity: 0.55;
  fill: none;
}
.ft-flow-wires path.is-active {
  stroke: #0ea5e9;
  stroke-width: 2;
  opacity: 1;
}
.ft-flow-wires text {
  fill: var(--flow-muted);
  stroke: var(--flow-background);
  stroke-width: 5;
  paint-order: stroke;
  font-size: 10px;
  font-family: inherit;
}
.ft-flow-node {
  position: absolute;
  left: 9.375%;
  width: 81.25%;
  height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
  padding: 20px 16px;
  border: 1px solid var(--flow-border);
  border-radius: 12px;
  background: var(--flow-background);
  box-shadow: 0 2px 8px #0002;
  color: var(--flow-foreground);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}
.ft-flow-node:hover {
  border-color: #737373;
}
.ft-flow-node[aria-pressed="true"] {
  border-color: #0ea5e9;
  box-shadow: 0 0 0 2px #0ea5e933;
}
.ft-flow-node-name {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  line-height: 1.45;
}
.ft-flow-node-name b {
  font-weight: 500;
}
.ft-flow-node-name .icon {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--flow-muted);
}
.ft-flow-node-description {
  font-size: 12px;
  line-height: 1.5;
  color: var(--flow-muted);
}
.ft-flow-trigger {
  top: 30px;
}
.ft-flow-condition {
  top: 210px;
}
.ft-flow-action {
  top: 390px;
}
.ft-flow-port {
  position: absolute;
  width: 10px;
  height: 10px;
  border: 1px solid #8b8b8b;
  border-radius: 50%;
  background: #343434;
  transform: translate(-50%, 50%);
}
.port-in {
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
}
.port-out {
  bottom: 0;
  left: 50%;
}
.port-yes {
  bottom: 0;
  left: 30%;
}
.port-no {
  bottom: 0;
  left: 70%;
}
.ft-flow-canvas-caption {
  position: absolute;
  bottom: 17px;
  left: 28px;
  color: #8a8a8a;
  font-size: 11px;
}
.ft-flow-definition {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--flow-border);
  background: linear-gradient(140deg, #151922, #11141c);
}
.ft-flow-definition-header {
  display: flex;
  gap: 14px;
  align-items: center;
  height: 65px;
  padding-inline: 30px;
  color: #cbd3e0;
  font-size: 13px;
  border-bottom: 1px solid #ffffff0d;
}
.ft-flow-definition-header > b {
  font-weight: 500;
}
.ft-flow-definition-header > span {
  color: #8795ad;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.ft-flow-code-note {
  color: #8d99ae;
  font:
    11px/1.6 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  margin: 25px 30px 16px;
}
.ft-flow-definition pre {
  margin: 0;
  padding: 0 30px 24px;
  font:
    12px/1.6 ui-monospace,
    SFMono-Regular,
    Menlo,
    Consolas,
    monospace;
  color: #8997ae;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.ft-flow-definition code {
  font: inherit;
}
.flow-code-key {
  color: #b4bdcf;
}
.flow-code-value {
  color: #abcaeb;
}
.ft-flow-code-node {
  display: block;
  margin-inline: -14px;
  padding-inline: 13px;
  border-left: 1px solid transparent;
}
.ft-flow-code-node.is-selected {
  border-left-color: #60b5e1;
  background: #4794ce13;
}
.ft-flow-selection {
  margin-top: auto;
  min-height: 65px;
  display: flex;
  align-items: center;
  padding: 15px 30px;
  border-top: 1px solid #ffffff0d;
  color: #b5c4d9;
  font-size: 12px;
  line-height: 1.6;
}
@media (max-width: 900px) {
  .ft-flow-header {
    padding-inline: 20px;
  }
  .ft-flow-definition-header {
    padding-inline: 22px;
  }
  .ft-flow-code-note {
    margin-inline: 22px;
    font-size: 10px;
  }
  .ft-flow-definition pre {
    padding-inline: 22px;
    font-size: 10px;
  }
  .ft-flow-selection {
    padding-inline: 22px;
  }
}
@media (max-width: 680px) {
  .ft-flow-stage {
    grid-template-columns: 1fr;
    border-radius: 16px;
  }
  .ft-flow-header {
    padding-inline: 20px;
    font-size: 13px;
  }
  .ft-flow-canvas {
    padding-inline: 10px;
  }
  .ft-flow-definition {
    border-left: 0;
    border-top: 1px solid var(--flow-border);
  }
  .ft-flow-definition-header {
    height: 58px;
    padding-inline: 24px;
  }
  .ft-flow-code-note {
    margin-inline: 24px;
    font-size: 10px;
  }
  .ft-flow-definition pre {
    padding-inline: 24px;
    font-size: 11px;
  }
  .ft-flow-selection {
    padding-inline: 24px;
    font-size: 11px;
  }
  .ft-flow-node-name {
    font-size: 13px;
  }
  .ft-flow-node-description {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ft-flow-node {
    transition: none;
  }
}
