:root {
  --af-yellow: #f4c430;
  --af-yellow-bright: #ffd84d;
  --af-ink: #17191d;
  --af-grid: rgba(244, 196, 48, 0.08);
}

[data-md-color-scheme="default"] {
  --md-primary-fg-color: #17191d;
  --md-primary-fg-color--light: #282c32;
  --md-primary-fg-color--dark: #0f1013;
  --md-accent-fg-color: #9c7100;
  --md-typeset-a-color: #8a6500;
  --md-default-bg-color: #fbfaf7;
  --md-code-bg-color: #f1efe8;
}

[data-md-color-scheme="slate"] {
  color-scheme: dark;
  --md-primary-fg-color: #111317;
  --md-primary-fg-color--light: #20242b;
  --md-primary-fg-color--dark: #090a0c;
  --md-accent-fg-color: var(--af-yellow-bright);
  --md-typeset-a-color: var(--af-yellow-bright);
  --md-default-fg-color: rgba(255, 255, 255, 0.9);
  --md-default-fg-color--light: rgba(255, 255, 255, 0.68);
  --md-default-fg-color--lighter: rgba(255, 255, 255, 0.4);
  --md-default-fg-color--lightest: rgba(255, 255, 255, 0.12);
  --md-default-bg-color: #17191d;
  --md-typeset-color: rgba(255, 255, 255, 0.9);
  --md-code-bg-color: #101216;
  --md-code-fg-color: #ece9df;
}

.md-header,
.md-tabs {
  background: var(--af-ink);
}

.md-header__button.md-logo img {
  width: 2.15rem;
  height: 2.15rem;
}

@media screen and (min-width: 76.25em) {
  [dir="ltr"] .md-header__title {
    margin-left: 0.25rem;
  }

  [dir="rtl"] .md-header__title {
    margin-right: 0.25rem;
  }
}

.md-typeset h1,
.md-typeset h2,
.md-typeset h3 {
  letter-spacing: -0.025em;
}

.af-hero {
  position: relative;
  overflow: hidden;
  margin: -0.6rem -0.8rem 2.2rem;
  padding: clamp(1.35rem, 3.6vw, 3.25rem) clamp(1.2rem, 5vw, 4.5rem)
    clamp(2rem, 6vw, 5.5rem);
  border: 1px solid rgba(244, 196, 48, 0.28);
  border-radius: 1.2rem;
  background:
    linear-gradient(var(--af-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--af-grid) 1px, transparent 1px),
    radial-gradient(circle at 85% 15%, rgba(244, 196, 48, 0.2), transparent 28rem),
    #15171b;
  background-size: 28px 28px, 28px 28px, auto, auto;
  color: #fff;
}

.af-hero > * {
  position: relative;
  z-index: 1;
}

.af-hero::after {
  content: "";
  position: absolute;
  right: 7%;
  bottom: -4.5rem;
  width: 14rem;
  height: 14rem;
  border: 2px solid rgba(244, 196, 48, 0.35);
  border-radius: 50%;
  box-shadow:
    -8rem -4rem 0 -6.5rem rgba(244, 196, 48, 0.5),
    -13rem 1rem 0 -6.5rem rgba(244, 196, 48, 0.35);
}

.af-product-brand {
  max-width: 25rem;
  margin: 0 0 clamp(1.15rem, 2.6vw, 1.9rem);
}

.af-product-brand img {
  display: block;
  width: clamp(15.5rem, 33vw, 25rem);
  height: auto;
  transform: translateX(-5.95%);
}

.af-eyebrow {
  margin: 0 0 0.8rem;
  color: var(--af-yellow-bright);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.af-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.15rem, 6vw, 4.4rem);
  line-height: 0.98;
}

.af-hero__lead {
  max-width: 860px;
  margin: 1.4rem 0 1rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.af-hero__lead span {
  display: block;
}

.af-hero__lead span + span {
  margin-top: 0.16rem;
}

.af-module-proof {
  display: flex;
  width: 100%;
  max-width: 1200px;
  align-items: center;
  gap: 0.7rem;
  box-sizing: border-box;
  margin: 0 0 1.55rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(244, 196, 48, 0.35);
  border-radius: 0.65rem;
  background: rgba(244, 196, 48, 0.07);
  color: rgba(255, 255, 255, 0.68) !important;
  font-size: 0.73rem;
  line-height: 1.45;
  text-decoration: none;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.af-module-proof:hover {
  border-color: rgba(244, 196, 48, 0.65);
  background: rgba(244, 196, 48, 0.11);
}

.af-module-proof:focus-visible {
  outline: 2px solid var(--af-yellow-bright);
  outline-offset: 3px;
}

.af-module-proof strong {
  display: block;
  color: #fff;
  font-size: 0.8rem;
}

.af-module-proof__mark {
  display: grid;
  width: 1.65rem;
  height: 1.65rem;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--af-yellow);
  color: #17191d;
  font-size: 0.9rem;
  font-weight: 850;
}

.af-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.md-typeset .af-hero-graph {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 1200px;
  margin: clamp(3.5rem, 6vw, 5rem) 0 1rem;
  border: 1px solid rgba(190, 241, 128, 0.2);
  border-radius: 0.9rem;
  background: #171d24;
  box-shadow:
    0 1.25rem 2.6rem rgba(0, 0, 0, 0.34),
    0 0 2.2rem rgba(244, 196, 48, 0.08);
}

.af-hero-graph img {
  display: block;
  width: 100%;
  height: auto;
  filter: saturate(1.06) contrast(1.02);
}

.af-hero-graph::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(21, 23, 27, 0.44), transparent 12%, transparent 91%, rgba(21, 23, 27, 0.28));
  pointer-events: none;
}

.af-button {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 0.55rem;
  color: #fff !important;
  font-weight: 700;
}

.af-button--primary {
  border-color: var(--af-yellow);
  background: var(--af-yellow);
  color: #1a1b1e !important;
}

.af-graph-benefit {
  margin: 0 0 2.4rem;
  padding: clamp(1.25rem, 3vw, 2.2rem);
  border: 1px solid color-mix(in srgb, var(--af-yellow) 38%, var(--md-default-fg-color--lightest));
  border-radius: 1rem;
  background:
    radial-gradient(circle at 100% 0, color-mix(in srgb, var(--af-yellow) 13%, transparent), transparent 22rem),
    color-mix(in srgb, var(--md-default-bg-color) 95%, var(--af-yellow) 5%);
}

.af-graph-benefit__copy .af-eyebrow {
  margin-bottom: 0.5rem;
  color: var(--md-typeset-a-color);
}

.af-graph-benefit__copy h2 {
  margin: 0;
  font-size: clamp(1.45rem, 3.5vw, 2.25rem);
  line-height: 1.08;
}

.af-graph-benefit__copy > p:last-child {
  margin: 0.65rem 0 0;
  color: var(--md-default-fg-color--light);
}

.af-graph-benefit__copy > p:not(.af-eyebrow) {
  max-width: 900px;
}

.af-graph-benefit__visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.18fr);
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.af-graph-benefit__panel {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--md-default-fg-color--lightest);
  border-radius: 0.8rem;
  background: #171a20;
  box-shadow: 0 0.7rem 1.8rem rgba(0, 0, 0, 0.12);
}

.af-graph-benefit__panel figcaption {
  box-sizing: border-box;
  min-height: 4.1rem;
  padding: 0.75rem 0.85rem;
  background: var(--md-default-bg-color);
  color: var(--md-default-fg-color--light);
  font-size: 0.7rem;
  font-style: normal;
  line-height: 1.4;
}

.af-graph-benefit__panel figcaption strong,
.af-graph-benefit__panel figcaption span {
  display: block;
}

.af-graph-benefit__panel figcaption strong {
  margin-bottom: 0.15rem;
  color: var(--md-default-fg-color);
  font-size: 0.82rem;
}

.af-graph-benefit__arrow {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--af-yellow) 55%, transparent);
  border-radius: 50%;
  background: color-mix(in srgb, var(--md-default-bg-color) 82%, var(--af-yellow) 18%);
  color: var(--md-typeset-a-color);
  font-size: 1.2rem;
  font-weight: 850;
}

.af-inspector-demo__window,
.af-clean-graph__canvas {
  box-sizing: border-box;
  height: clamp(17rem, 31vw, 22rem);
}

.af-inspector-demo__window {
  overflow: hidden;
  background: #383838;
}

.af-inspector-demo__window img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: top center;
}

.af-clean-graph__canvas {
  position: relative;
  overflow: hidden;
  background: #171d24;
}

.af-clean-graph__canvas img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.af-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 2.4rem;
}

.af-card {
  padding: 1.1rem;
  border: 1px solid var(--md-default-fg-color--lightest);
  border-radius: 0.75rem;
  background: color-mix(in srgb, var(--md-default-bg-color) 93%, var(--af-yellow) 7%);
}

.af-card strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--md-default-fg-color);
  font-size: 1.02rem;
}

.af-card p {
  margin: 0;
  color: var(--md-default-fg-color--light);
}

.af-screenshot {
  overflow: hidden;
  margin: 1.5rem 0 2rem;
  border: 1px solid rgba(244, 196, 48, 0.3);
  border-radius: 0.9rem;
  background: #161a20;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.18);
}

.af-screenshot img {
  display: block;
  width: 100%;
}

.af-screenshot figcaption,
.af-visual figcaption,
.af-visual-card figcaption,
.af-visual-card__caption,
.af-node-card figcaption {
  margin: 0;
  color: var(--md-default-fg-color--light);
  font-size: 0.76rem;
  font-style: normal;
  line-height: 1.45;
}

.af-screenshot figcaption,
.af-visual figcaption {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  padding: 0.7rem 0.9rem;
  background: var(--md-default-bg-color);
}

.af-visual {
  overflow: hidden;
  margin: 1.35rem 0 2rem;
  border: 1px solid var(--md-default-fg-color--lightest);
  border-radius: 0.85rem;
  background: #161a20;
  box-shadow: 0 0.8rem 2.2rem rgba(0, 0, 0, 0.14);
}

.af-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.af-visual--compact {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.af-visual--picker {
  max-width: 430px;
}

.af-visual.af-visual--minimap-detail {
  width: 248px;
  max-width: 100%;
  border-radius: 0;
}

.af-visual.af-visual--asset-inspector,
.af-visual-card.af-condition-asset-capture,
.af-node-card.af-condition-asset-capture {
  width: 347px;
  max-width: 100%;
  justify-self: center;
  margin-right: auto;
  margin-left: auto;
}

.af-visual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.35rem 0 2rem;
}

.af-visual-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.af-visual-card {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--md-default-fg-color--lightest);
  border-radius: 0.75rem;
  background: color-mix(in srgb, var(--md-default-bg-color) 96%, var(--af-yellow) 4%);
}

.af-surface-preview img {
  aspect-ratio: 3 / 2;
  object-fit: contain;
  object-position: center top;
}

.af-surface-preview figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.af-surface-preview figcaption span:first-child {
  flex: 1 1 auto;
}

.af-surface-preview figcaption a {
  flex: 0 0 auto;
  font-weight: 700;
  white-space: nowrap;
}

.af-surface-tab {
  width: 100%;
  padding: 0;
  appearance: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease,
    box-shadow 160ms ease;
}

.af-surface-tab:hover {
  transform: translateY(-2px);
  border-color: rgba(244, 196, 48, 0.55);
  box-shadow: 0 0.7rem 1.3rem rgba(0, 0, 0, 0.16);
}

.af-surface-tab[aria-selected="true"] {
  border-color: var(--af-yellow);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--af-yellow) 58%, transparent),
    0 0.7rem 1.5rem rgba(0, 0, 0, 0.16);
}

.af-surface-tab:focus-visible {
  outline: 2px solid var(--md-accent-fg-color);
  outline-offset: 3px;
}

.af-visual-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: left top;
  background: #161a20;
}

.af-visual-card__media,
.af-visual-card__caption {
  display: block;
}

.af-visual-card__caption {
  padding: 0.7rem 0.8rem 0.8rem;
}

.af-visual-card--portrait img {
  object-fit: contain;
  object-position: center top;
}

.af-visual-card figcaption {
  padding: 0.7rem 0.8rem 0.8rem;
}

.af-visual-card figcaption strong,
.af-visual-card__caption strong,
.af-node-card figcaption strong {
  display: block;
  margin-bottom: 0.18rem;
  color: var(--md-default-fg-color);
  font-size: 0.82rem;
}

.af-node-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 1.35rem 0 2rem;
}

.af-node-gallery--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.af-node-card {
  display: grid;
  grid-template-rows: minmax(190px, 1fr) auto;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--md-default-fg-color--lightest);
  border-radius: 0.75rem;
  background: var(--md-default-bg-color);
}

.af-node-card-link {
  display: block;
  min-width: 0;
  border-radius: 0.75rem;
  color: inherit;
  text-decoration: none;
}

.af-node-card-link .af-node-card {
  height: 100%;
  transition: transform 160ms ease, border-color 160ms ease,
    box-shadow 160ms ease;
}

.af-node-card-link:hover .af-node-card,
.af-node-card-link:focus-visible .af-node-card {
  transform: translateY(-2px);
  border-color: rgba(244, 196, 48, 0.55);
  box-shadow: 0 0.7rem 1.3rem rgba(0, 0, 0, 0.18);
}

.af-node-card-link:focus-visible {
  outline: 2px solid var(--md-accent-fg-color);
  outline-offset: 3px;
}

.af-node-card-link--native-capture {
  display: flex;
  justify-content: center;
}

.af-node-card--native-capture {
  width: 100%;
  max-width: 394px;
  min-width: 0;
  grid-template-rows: auto auto;
  justify-self: center;
}

.af-node-card__stage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
  padding: 1rem;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 50% 20%, rgba(244, 196, 48, 0.07), transparent 65%),
    #1c222a;
  background-size: 32px 32px, 32px 32px, auto, auto;
}

.af-node-card__stage img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: none;
  object-fit: contain;
}

.af-node-card__stage--native-capture {
  padding: 0;
  background: #202832;
}

.af-node-card__stage--native-capture img {
  width: 100%;
  max-width: none;
}

.af-runtime-flow {
  display: grid;
  grid-template-columns: minmax(9.5rem, 0.75fr) auto minmax(14rem, 1.35fr);
  align-items: center;
  gap: 0.8rem;
  margin: 1.2rem 0 1.6rem;
  padding: 1rem;
  border: 1px solid var(--md-default-fg-color--lightest);
  border-radius: 0.85rem;
  background: color-mix(in srgb, var(--md-default-bg-color) 96%, var(--af-yellow) 4%);
}

.af-runtime-flow__source,
.af-runtime-flow__lane > div {
  padding: 0.85rem 1rem;
  border: 1px solid color-mix(in srgb, var(--af-yellow) 46%, var(--md-default-fg-color--lightest));
  border-radius: 0.65rem;
  background: var(--md-default-bg-color);
}

.af-runtime-flow__source {
  color: var(--md-default-fg-color);
  font-weight: 750;
  line-height: 1.3;
  text-align: center;
}

.af-runtime-flow__arrow {
  color: var(--md-accent-fg-color);
  font-size: 1.5rem;
}

.af-runtime-flow__lane {
  display: grid;
  gap: 0.65rem;
}

.af-runtime-flow__lane strong,
.af-runtime-flow__lane span {
  display: block;
}

.af-runtime-flow__lane strong {
  color: var(--md-default-fg-color);
}

.af-runtime-flow__lane span {
  margin-top: 0.15rem;
  color: var(--md-default-fg-color--light);
  font-size: 0.78rem;
}

.af-node-card figcaption {
  padding: 0.72rem 0.8rem 0.8rem;
}

.af-ui-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(14rem, 1.2fr);
  align-items: center;
  gap: 1.2rem;
  margin: 1.25rem 0 2rem;
  padding: 1rem;
  border: 1px solid var(--md-default-fg-color--lightest);
  border-radius: 0.8rem;
  background: color-mix(in srgb, var(--md-default-bg-color) 96%, var(--af-yellow) 4%);
}

.af-ui-detail img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: contain;
}

.af-ui-detail > div > :first-child {
  margin-top: 0;
}

.af-ui-detail > div > :last-child {
  margin-bottom: 0;
}

.af-toolbar-preview {
  overflow: hidden;
  margin: 1.35rem 0 2rem;
  border: 1px solid rgba(244, 196, 48, 0.3);
  border-radius: 0.85rem;
  background: #171a20;
  box-shadow: 0 0.8rem 2.2rem rgba(0, 0, 0, 0.14);
}

.af-toolbar-preview__stage {
  overflow-x: auto;
  padding: clamp(1rem, 4vw, 2rem);
  background:
    linear-gradient(rgba(244, 196, 48, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 196, 48, 0.06) 1px, transparent 1px),
    #20252c;
  background-size: 24px 24px;
}

.af-toolbar-preview figcaption {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 0.7rem 0.9rem;
  background: var(--md-default-bg-color);
  color: var(--md-default-fg-color--light);
  font-size: 0.76rem;
  font-style: normal;
  line-height: 1.45;
}

.af-toolbar-demo {
  display: flex;
  width: max-content;
  gap: 0.28rem;
  padding: 0.35rem;
  border: 1px solid #737981;
  border-radius: 0.48rem;
  background: #2b2f35;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 0.55rem 1.2rem rgba(0, 0, 0, 0.28);
}

.af-toolbar-icon {
  box-sizing: border-box;
  display: inline-grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid #555b63;
  border-radius: 0.32rem;
  background: linear-gradient(#484d54, #34383e);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13);
  vertical-align: middle;
}

.af-toolbar-icon img {
  display: block;
  width: 24px !important;
  min-width: 24px;
  height: 24px !important;
  margin: 0 !important;
  object-fit: contain;
}

.af-toolbar-table table {
  width: 100%;
}

.af-toolbar-table th:first-child,
.af-toolbar-table td:first-child {
  width: 4.2rem;
  text-align: center;
}

.af-toolbar-table td:nth-child(2) {
  width: 31%;
}

.af-toolbar-table td {
  vertical-align: middle;
}

.af-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 1rem 0 2rem;
}

.af-related-link {
  display: flex;
  min-height: 7.2rem;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--md-default-fg-color--lightest);
  border-radius: 0.72rem;
  background: color-mix(in srgb, var(--md-default-bg-color) 96%, var(--af-yellow) 4%);
  color: var(--md-default-fg-color) !important;
  text-decoration: none;
  transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.af-related-link:hover,
.af-related-link:focus-visible {
  border-color: color-mix(in srgb, var(--af-yellow) 68%, transparent);
  box-shadow: 0 0.65rem 1.5rem rgba(0, 0, 0, 0.11);
  transform: translateY(-2px);
}

.af-related-link strong {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  color: var(--md-typeset-a-color);
  font-size: 0.88rem;
}

.af-related-link strong::after {
  content: "\2192";
  margin-left: auto;
}

.af-related-link span {
  color: var(--md-default-fg-color--light);
  font-size: 0.74rem;
  line-height: 1.45;
}

.af-guide-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 1.4rem 0 2rem;
}

.af-guide-actions > .md-button {
  box-sizing: border-box;
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 0;
  text-align: center;
}

.md-typeset kbd {
  border-radius: 0.28rem;
}

@media screen and (max-width: 760px) {
  .af-feature-grid {
    grid-template-columns: 1fr;
  }

  .af-hero::after {
    opacity: 0.45;
  }

  .af-product-brand img {
    width: min(65vw, 16.5rem);
  }

  .md-typeset .af-hero-graph {
    margin-top: 3rem;
  }

  .af-module-proof {
    align-items: flex-start;
  }

  .af-hero__lead span {
    display: inline;
  }

  .af-hero__lead span + span::before {
    content: " ";
  }

  .af-graph-benefit__visual {
    grid-template-columns: 1fr;
  }

  .af-graph-benefit__arrow {
    transform: rotate(90deg);
    justify-self: center;
  }

  .af-inspector-demo__window,
  .af-clean-graph__canvas {
    height: 16rem;
  }

  .af-clean-graph__canvas img {
    object-position: 47% center;
  }

  .af-visual-grid,
  .af-visual-grid--three,
  .af-node-gallery,
  .af-ui-detail,
  .af-related-grid {
    grid-template-columns: 1fr;
  }

  .af-related-link {
    min-height: auto;
  }

  .af-node-card {
    grid-template-rows: minmax(165px, 1fr) auto;
  }

  .af-runtime-flow {
    grid-template-columns: 1fr;
  }

  .af-runtime-flow__arrow {
    transform: rotate(90deg);
    justify-self: center;
  }

  .af-guide-actions {
    grid-template-columns: 1fr;
  }

  .af-surface-preview figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }

  .af-surface-preview figcaption a {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .af-surface-tab {
    transition: none;
  }
}
