.atm-page {
  --atm-accent: #69408f;
  --atm-accent-soft: rgba(105, 64, 143, 0.1);
  --atm-focus: var(--brand-primary-700);
  --atm-error-soft: rgba(239, 68, 68, 0.06);
}

.atm-card {
  position: relative;
  overflow: visible;
}

.atm-card--floating {
  z-index: 20;
}

.atm-page:has(.atm-popover) #atm-list {
  padding-bottom: 14rem;
}

.atm-card--removing {
  opacity: 0;
  transition: opacity 150ms ease;
}

.atm-rule-tile {
  display: inline-flex;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background: var(--brand-primary);
  color: var(--brand-on-primary);
  font-size: 0.875rem;
}

.atm-name {
  display: inline-flex;
  min-width: 0;
  max-width: 100%;
  align-items: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 0.375rem;
  background: transparent;
  padding: 0.25rem 0.25rem;
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: text;
}

.atm-name__text {
  display: -webkit-box;
  min-width: 0;
  overflow: hidden;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 1.3;
}

.atm-name__icon {
  flex: 0 0 auto;
  color: var(--color-text-muted);
  font-size: 0.75rem;
  opacity: 0;
}

.atm-name:hover .atm-name__icon,
.atm-name:focus-visible .atm-name__icon {
  opacity: 1;
}

.atm-name__input {
  min-width: 0;
  width: 100%;
  max-width: 24rem;
  border: 0;
  border-bottom: 2px solid var(--brand-primary);
  background: transparent;
  padding: 0.25rem 0.25rem;
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 600;
}

.atm-name__input:focus {
  outline: none;
}

.atm-card__name-error {
  flex-basis: 100%;
  margin-top: -0.25rem;
}

.atm-switch {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  border: 0;
  border-radius: 9999px;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.atm-switch__track {
  position: relative;
  display: block;
  width: 44px;
  height: 24px;
  border-radius: 9999px;
  background: var(--color-border-strong);
}

.atm-switch__thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 9999px;
  background: var(--color-surface);
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.25);
}

.atm-switch[aria-checked="true"] .atm-switch__track {
  background: var(--brand-primary);
}

.atm-switch[aria-checked="true"] .atm-switch__thumb {
  transform: translateX(20px);
}

.atm-switch--sm {
  min-width: 36px;
  min-height: 36px;
}

.atm-switch--sm .atm-switch__track {
  width: 36px;
  height: 20px;
}

.atm-switch--sm .atm-switch__thumb {
  width: 16px;
  height: 16px;
}

.atm-switch--sm[aria-checked="true"] .atm-switch__thumb {
  transform: translateX(16px);
}

.atm-switch[aria-busy="true"] {
  cursor: progress;
}

.atm-menu-wrap {
  position: relative;
  flex: 0 0 auto;
}

.atm-menu.btn-icon {
  background: transparent;
  color: var(--color-text-muted);
}

.atm-menu.btn-icon:hover,
.atm-menu.btn-icon[aria-expanded="true"] {
  background: var(--color-surface-hover);
  color: var(--color-text);
}

.atm-menu__list {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  z-index: 30;
  min-width: 10rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  padding: 0.25rem;
  box-shadow: 0 10px 15px -3px rgba(17, 24, 39, 0.1), 0 4px 6px -4px rgba(17, 24, 39, 0.1);
}

.atm-menu__item {
  display: block;
  width: 100%;
  min-height: 40px;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  padding: 0.5rem 0.75rem;
  color: var(--color-text);
  font-size: 0.875rem;
  text-align: left;
}

.atm-menu__item:hover,
.atm-menu__item:focus-visible {
  background: var(--color-surface-hover);
}

.atm-menu__divider {
  height: 1px;
  margin: 0.25rem 0;
  background: var(--color-border);
}

.atm-card__note {
  margin-bottom: 1rem;
}

.atm-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: start;
}

.atm-flow--busy {
  opacity: 0.6;
  pointer-events: none;
}

.atm-card--off .atm-block__icon,
.atm-card--off .atm-rule-tile {
  opacity: 0.55;
}

.atm-block {
  position: relative;
  min-width: 0;
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--brand-primary);
  border-radius: var(--radius-lg);
  background: var(--color-surface-2);
  padding: 1rem;
}

.atm-block--condition {
  border-left-color: var(--atm-accent);
}

.atm-block--error {
  border-color: var(--color-error);
  border-left-color: var(--color-error);
  background: var(--color-surface-3);
}

.atm-block__head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.atm-block__icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  font-size: 0.8125rem;
}

.atm-block__icon--trigger,
.atm-block__icon--action {
  background: var(--brand-primary);
  color: var(--brand-on-primary);
}

.atm-block__icon--condition {
  background: var(--atm-accent-soft);
  color: var(--atm-accent);
}

.atm-block__title {
  margin-top: 0.5rem;
}

.atm-block__controls {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.atm-block__error {
  display: flex;
  align-items: flex-start;
  gap: 0.375rem;
  margin-top: 0.75rem;
  color: var(--color-error-strong);
  font-weight: 600;
}

.atm-block__error i {
  margin-top: 0.125rem;
}

.atm-connector {
  position: relative;
  align-self: start;
  width: 40px;
  margin-top: 2.25rem;
  height: 0;
  border-top: 2px dashed var(--color-border-strong);
}

.atm-connector::after {
  content: "";
  position: absolute;
  top: -6px;
  right: -1px;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--color-border-strong);
  border-right: 2px solid var(--color-border-strong);
  transform: rotate(45deg);
}

.atm-card--off .atm-connector,
.atm-card--off .atm-connector::after {
  border-color: var(--color-border);
}

.atm-scope {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.atm-segmented {
  display: flex;
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 9999px;
  background: var(--color-surface);
  padding: 3px;
}

.atm-segment {
  position: relative;
  display: flex;
  flex: 1 1 0;
  min-width: 0;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  padding: 0.25rem 0.625rem;
  color: var(--color-text-strong);
  font-size: 0.8125rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  margin: 0;
}

.atm-segment__input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.atm-segment__label {
  white-space: nowrap;
}

.atm-segment--active {
  background: var(--brand-primary);
  color: var(--brand-on-primary);
}

.atm-segment--disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.atm-segment:has(.atm-segment__input:focus-visible) {
  outline: 2px solid var(--atm-focus);
  outline-offset: 2px;
}

.atm-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.atm-chip {
  display: inline-flex;
  max-width: 100%;
  min-height: 32px;
  align-items: center;
  gap: 0.25rem;
  border: 1px solid var(--color-border);
  border-radius: 9999px;
  background: var(--color-surface);
  padding: 0.125rem 0.25rem 0.125rem 0.75rem;
  color: var(--color-text);
  font-size: 0.8125rem;
  font-weight: 500;
}

.atm-chip__label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.atm-chip__remove {
  display: inline-flex;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 9999px;
  background: transparent;
  color: var(--color-text-muted);
  font-size: 0.75rem;
}

.atm-chip__remove:hover {
  background: var(--color-surface-hover);
  color: var(--color-text);
}

.atm-chip--add {
  gap: 0.375rem;
  border-style: dashed;
  border-color: var(--color-border-strong);
  background: transparent;
  padding: 0.125rem 0.75rem;
  color: var(--color-text-strong);
  font-weight: 600;
  cursor: pointer;
}

.atm-chip--add:hover {
  border-color: var(--brand-primary);
}

.atm-popover {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  max-width: 100%;
}

.atm-popover__search.form-control {
  padding: 0.375rem 0.625rem;
  border-width: 1px;
  font-size: 0.875rem;
}

.atm-popover__list {
  max-height: 12rem;
  overflow-y: auto;
}

.atm-popover__option {
  display: flex;
  min-height: 36px;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.375rem;
  padding: 0.25rem 0.5rem;
  color: var(--color-text);
  font-size: 0.875rem;
  cursor: pointer;
  margin: 0;
}

.atm-popover__option:hover {
  background: var(--color-surface-hover);
}

.atm-popover__check {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  accent-color: var(--brand-primary);
}

.atm-guidance {
  color: var(--color-warning-strong);
  font-size: 0.75rem;
  line-height: 1.4;
}

.atm-guidance__link {
  color: var(--color-text);
  font-weight: 600;
  text-decoration: underline;
  white-space: nowrap;
}

.atm-stepper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
}

.atm-stepper__btn {
  display: inline-flex;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 0.75rem;
}

.atm-stepper__btn:hover:not(:disabled):not([aria-disabled="true"]) {
  border-color: var(--color-border-strong);
  background: var(--color-surface-hover);
}

.atm-stepper__input {
  width: 3rem;
  height: 44px;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  background: transparent;
  color: var(--color-text);
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
}

.atm-stepper__input:focus {
  border-color: var(--color-border-strong);
  background: var(--color-surface);
  outline: none;
}

.atm-stepper__input::-webkit-outer-spin-button,
.atm-stepper__input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.atm-stepper__unit {
  color: var(--color-text-muted);
  font-size: 0.75rem;
}

.atm-scale {
  display: flex;
  gap: 4px;
}

.atm-scale__dot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: var(--color-border-strong);
}

.atm-scale__dot--on {
  background: var(--atm-accent);
}

.atm-hint {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
  color: var(--color-text-strong);
}

.atm-notice {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--color-text-strong);
}

.atm-hint__badge {
  padding: 0.0625rem 0.5rem;
  font-size: 0.6875rem;
  color: var(--atm-accent);
  border-color: var(--atm-accent);
}

.atm-field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.atm-field__label {
  margin: 0;
  letter-spacing: 0.04em;
}

.atm-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.atm-steps {
  display: none;
}

.atm-steps__item {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 44px;
  align-items: center;
  gap: 0.375rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  padding: 0.375rem 0.5rem;
  color: var(--color-text-muted);
  text-align: left;
  cursor: pointer;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.atm-steps__item--current {
  border-color: var(--brand-primary);
  background: var(--color-surface-2);
  color: var(--color-text);
  box-shadow: inset 0 -2px 0 var(--brand-primary);
}

.atm-steps__item--condition.atm-steps__item--current {
  border-color: var(--atm-accent);
  box-shadow: inset 0 -2px 0 var(--atm-accent);
}

.atm-steps__item--error {
  border-color: var(--color-error);
}

.atm-steps__item:focus-visible {
  outline: 2px solid var(--atm-focus);
  outline-offset: 2px;
}

.atm-steps__icon {
  display: inline-flex;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  background: var(--color-surface-hover);
  font-size: 0.6875rem;
}

.atm-steps__item--current .atm-steps__icon {
  background: var(--brand-primary);
  color: var(--brand-on-primary);
}

.atm-steps__item--condition.atm-steps__item--current .atm-steps__icon {
  background: var(--atm-accent-soft);
  color: var(--atm-accent);
}

.atm-steps__text {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.2;
}

.atm-steps__eyebrow {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.atm-steps__summary {
  overflow: hidden;
  font-size: 0.6875rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.atm-steps__error {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--color-surface);
  border-radius: 9999px;
  background: var(--color-error);
}

.atm-toggle-row__end {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.5rem;
}

.atm-cv-picker {
  max-height: 16rem;
  overflow-y: auto;
  padding: 2px;
}

.atm-cv-picker .cv-picker-card:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.atm-cv-picker .cv-picker-card:focus-visible {
  outline: 2px solid var(--atm-focus);
  outline-offset: 2px;
}

.atm-credit-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
  border-radius: 9999px;
  background: var(--color-surface-hover);
  padding: 0.125rem 0.5rem;
  color: var(--color-text);
  font-size: 0.6875rem;
  font-weight: 700;
}

.atm-credit-pill .fa-coins,
.atm-credits__left .fa-coins {
  color: var(--color-warning);
}

.atm-credits {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  padding: 0.375rem 0.75rem;
}

.atm-credits--short {
  border-color: var(--color-error);
  background: var(--atm-error-soft);
}

.atm-credits__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0;
  padding: 0.25rem 0;
  color: var(--color-text);
  font-size: 0.75rem;
  font-weight: 600;
}

.atm-credits__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-top: 1px solid var(--color-border);
  padding: 0.375rem 0;
  font-size: 0.75rem;
}

.atm-credits__name {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text);
}

.atm-credits__name > .fas {
  color: var(--color-text-muted);
}

.atm-credits__per {
  display: block;
  color: var(--color-text-muted);
  font-size: 0.6875rem;
}

.atm-credits__left {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.25rem;
  color: var(--color-text);
  font-weight: 600;
}

.atm-credits__left--short {
  color: var(--color-error-strong);
}

.atm-credits__short {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  border-top: 1px solid var(--color-error);
  padding: 0.5rem 0 0.25rem;
  color: var(--color-error-strong);
  font-size: 0.75rem;
  font-weight: 500;
}

.atm-credits__short .fas {
  margin-right: 0.25rem;
}

.atm-credits__buy {
  color: var(--color-text);
  font-weight: 600;
  text-decoration: underline;
  white-space: nowrap;
}

.atm-dirty {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--color-warning-strong);
}

.atm-dirty__dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: var(--color-warning);
}

.atm-footer-error {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--color-error-strong);
}

.atm-runs {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.atm-flow--preview .atm-connector {
  align-self: center;
  margin-top: 0;
}

.atm-flow--preview {
  pointer-events: none;
  justify-content: center;
  grid-template-columns: minmax(0, 13rem) auto minmax(0, 13rem) auto minmax(0, 13rem);
  text-align: left;
}

.atm-block--preview {
  display: flex;
  min-width: 11rem;
  min-height: 88px;
  align-items: center;
  gap: 0.75rem;
  border-style: dashed;
  border-color: var(--color-border-strong);
  border-left: 3px solid var(--color-border-strong);
  background: var(--color-surface-hover);
  box-shadow: none;
  padding: 0.875rem;
}

.atm-block--preview .atm-block__icon--preview {
  background: var(--color-border);
  color: var(--color-text-muted);
}

.atm-block--preview .atm-block__title--preview {
  color: var(--color-text-muted);
}

.atm-block__icon--preview {
  width: 36px;
  height: 36px;
  font-size: 0.9375rem;
}

.atm-block__preview-text {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.atm-block__title--preview {
  margin-top: 0;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

.atm-block__sub {
  margin-top: 0.125rem;
  color: var(--color-text-muted);
  font-size: 12px;
}

.atm-empty {
  background: var(--color-surface-2);
}

.atm-create {
  min-height: 48px;
}

.atm-confirm {
  position: fixed;
  inset: 0;
  z-index: 1060;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(17, 24, 39, 0.45);
  padding: 1rem;
}

.atm-confirm.hidden {
  display: none;
}

.atm-confirm__panel {
  width: 100%;
  max-width: 28rem;
}

.atm-confirm__danger.btn-primary-solid,
.atm-confirm__danger.btn-primary-solid:hover,
.atm-confirm__danger.btn-primary-solid:focus {
  background-color: var(--color-error-strong) !important;
  border-color: var(--color-error-strong) !important;
}

.atm-name:focus-visible,
.atm-switch:focus-visible,
.atm-stepper__btn:focus-visible,
.atm-chip__remove:focus-visible,
.atm-chip--add:focus-visible,
.atm-menu__item:focus-visible,
.atm-menu:focus-visible,
.atm-popover__check:focus-visible,
.atm-stepper__input:focus-visible {
  outline: 2px solid var(--atm-focus);
  outline-offset: 2px;
}

.atm-switch:disabled,
.atm-switch[aria-disabled="true"],
.atm-stepper__btn:disabled,
.atm-stepper__btn[aria-disabled="true"],
.atm-chip__remove:disabled,
.atm-chip--add:disabled,
.atm-stepper__input:disabled,
.atm-menu:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.atm-card--unavailable .atm-segment {
  cursor: not-allowed;
}

@media (max-width: 767px) {
  .atm-flow--preview {
    grid-template-columns: minmax(0, 1fr);
  }

  .atm-flow--preview .atm-connector {
    justify-self: center;
    width: 0;
    height: 28px;
    border-top: 0;
    border-left: 2px dashed var(--color-border-strong);
  }

  .atm-flow--preview .atm-connector::after {
    top: auto;
    right: auto;
    bottom: 0;
    left: -6px;
    transform: rotate(135deg);
  }

  .atm-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.375rem;
    margin-bottom: 0.75rem;
  }

  .atm-flow:not(.atm-flow--preview) {
    display: flex;
    align-items: flex-start;
    overflow-y: hidden;
    margin-inline: -1.25rem;
    padding: 0.25rem calc(50% + 1.25rem - 40vw) 0.75rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .atm-flow:not(.atm-flow--preview)::-webkit-scrollbar {
    display: none;
  }

  .atm-flow:not(.atm-flow--preview) > .atm-block {
    flex: 0 0 80vw;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  .atm-flow:not(.atm-flow--preview) > .atm-connector {
    flex: 0 0 12px;
    align-self: flex-start;
    width: 12px;
    margin-top: 2.25rem;
  }

  .atm-flow:not(.atm-flow--preview) .atm-popover {
    position: static;
    margin-top: 4px;
  }

  .atm-card--off .atm-flow--preview .atm-connector {
    border-left-color: var(--color-border);
  }
}

@media (max-width: 767px) and (prefers-reduced-motion: no-preference) {
  .atm-flow:not(.atm-flow--preview) {
    scroll-behavior: smooth;
    transition: height 200ms ease;
  }
}

@media (max-width: 639px) {
  .atm-flow--preview {
    grid-template-columns: minmax(0, 18rem);
  }
}

@media (min-width: 640px) and (max-width: 767px) {
  .atm-flow--preview {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  }

  .atm-flow--preview .atm-connector {
    justify-self: auto;
    width: 40px;
    height: 0;
    border-left: 0;
    border-top: 2px dashed var(--color-border-strong);
  }

  .atm-flow--preview .atm-connector::after {
    top: -6px;
    right: -1px;
    bottom: auto;
    left: auto;
    transform: rotate(45deg);
  }

  .atm-block--preview {
    min-width: 0;
  }
}

@media (min-width: 768px) {
  .atm-stepper__btn {
    width: 32px;
    height: 32px;
  }

  .atm-stepper__input {
    height: 36px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .atm-switch__thumb {
    transition: transform 150ms ease;
  }

  .atm-flow--preview .atm-connector {
    border-top-style: solid;
    border-top-color: transparent;
    background-image: linear-gradient(90deg, var(--color-border-strong) 50%, transparent 50%);
    background-size: 8px 2px;
    background-repeat: repeat-x;
    background-position: 0 0;
    height: 2px;
    border-top: 0;
    animation: atm-flow-dash 1.2s linear infinite;
  }

  .atm-flow--preview .atm-block__icon--preview {
    animation: atm-icon-pulse 2.4s ease-in-out infinite;
  }

  .atm-flow--preview .atm-block--condition .atm-block__icon--preview {
    animation-delay: 0.4s;
  }

  .atm-flow--preview .atm-block--action .atm-block__icon--preview {
    animation-delay: 0.8s;
  }
}

@media (prefers-reduced-motion: no-preference) and (max-width: 639px) {
  .atm-flow--preview .atm-connector {
    width: 2px;
    height: 28px;
    border-left: 0;
    background-image: linear-gradient(180deg, var(--color-border-strong) 50%, transparent 50%);
    background-size: 2px 8px;
    background-repeat: repeat-y;
    animation-name: atm-flow-dash-down;
  }
}

@keyframes atm-flow-dash {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 16px 0;
  }
}

@keyframes atm-flow-dash-down {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 0 16px;
  }
}

@keyframes atm-icon-pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.75;
  }
}
