/* Compact version of the Stage page's shared foundation and data flow. */
.solution-stage-art {
  container-type: inline-size;
  display: flex;
  align-items: center;
}
.stage-mini {
  width: 100%;
  color: var(--t2);
}
.stage-mini-performers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.stage-mini-performers > span {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 38px;
  margin: 0 3px;
  padding-bottom: 8px;
  font: 600 clamp(8px, 2.6cqw, 10px) / 1.3 var(--font-body);
  isolation: isolate;
}
.stage-mini-performers > span::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #fff;
  border: 1px solid #d8e5e9;
  border-top: 0;
  border-radius: 0 0 8px 8px;
  mask-image: linear-gradient(to bottom, transparent, #000 65%);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 65%);
}
.stage-mini-core {
  padding: 10px 12px;
  border: 1px solid #d8e5e9;
  border-top: 2px solid #38a4c7;
  border-radius: 9px;
  background: #fff;
}
.stage-mini-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  font: 600 clamp(8px, 2.6cqw, 10px) / 1.3 var(--font-body);
}
.stage-mini-heading small {
  color: #287a4d;
  font-size: 8px;
  font-weight: 500;
  white-space: nowrap;
}
.stage-mini-core > strong {
  display: block;
  font: 400 clamp(13px, 4.7cqw, 19px) / 1.3 var(--font-display);
  color: var(--tx);
  margin: 7px 0 9px;
}
.stage-mini-capabilities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding-top: 7px;
  border-top: 1px solid var(--bd);
  color: #269fc4;
  font-size: 9px;
  font-weight: 500;
}
.stage-mini-sources {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.stage-mini-sources > span {
  background: #fff;
  border: 1px solid #d8e5e9;
  border-top: 2px solid #38a4c7;
  border-radius: 7px;
  text-align: center;
  padding: 8px 3px;
  font-size: 9px;
  font-weight: 600;
}
.stage-mini-bridge {
  position: relative;
  height: 30px;
  --branch-left: 12.5%;
  --branch-right: 12.5%;
}
.stage-mini-bridge i,
.stage-mini-bridge em {
  position: absolute;
  width: 1px;
  height: 15px;
  background: repeating-linear-gradient(180deg, #38a4c7 0 3px, transparent 3px 6px);
}
.stage-mini-bridge i:nth-child(1) {
  left: 12.5%;
}
.stage-mini-bridge i:nth-child(2) {
  left: 37.5%;
}
.stage-mini-bridge i:nth-child(3) {
  left: 62.5%;
}
.stage-mini-bridge i:nth-child(4) {
  left: 87.5%;
}
.stage-mini-bridge em {
  top: 15px;
  left: 50%;
}
.stage-mini-bridge b {
  position: absolute;
  top: 14px;
  left: var(--branch-left);
  right: var(--branch-right);
  height: 1px;
  background: repeating-linear-gradient(90deg, #38a4c7 0 3px, transparent 3px 6px);
}
.stage-mini-dot {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #38a4c7;
  box-shadow: 0 0 7px #38a4c7;
  opacity: 0;
  animation: stageMiniUp 11s linear infinite;
}
.stage-mini-dot-1 {
  --destination: 12.5%;
  animation-delay: -8.25s;
}
.stage-mini-dot-2 {
  --destination: 37.5%;
  animation-delay: -5.5s;
}
.stage-mini-dot-3 {
  --destination: 62.5%;
  animation-delay: -2.75s;
}
.stage-mini-dot-4 {
  --destination: 87.5%;
}
@keyframes stageMiniUp {
  0%,
  100% {
    top: 27px;
    left: calc(50% - 2px);
    opacity: 0;
  }
  3% {
    top: 27px;
    left: calc(50% - 2px);
    opacity: 1;
  }
  32% {
    top: 12px;
    left: calc(50% - 2px);
    opacity: 1;
  }
  60% {
    top: 12px;
    left: calc(var(--destination) - 2px);
    opacity: 1;
  }
  88% {
    top: 0;
    left: calc(var(--destination) - 2px);
    opacity: 1;
  }
  95% {
    top: 0;
    left: calc(var(--destination) - 2px);
    opacity: 0;
  }
}
.stage-mini-bridge-down {
  --branch-left: 25%;
  --branch-right: 25%;
}
.stage-mini-bridge-down i {
  top: 15px;
}
.stage-mini-bridge-down i:nth-child(1) {
  left: 25%;
}
.stage-mini-bridge-down i:nth-child(2) {
  left: 75%;
}
.stage-mini-bridge-down em {
  top: 0;
}
.stage-mini-bridge-down .stage-mini-dot {
  animation-name: stageMiniIn;
}
.stage-mini-bridge-down .stage-mini-dot-1 {
  --destination: 25%;
}
.stage-mini-bridge-down .stage-mini-dot-2 {
  --destination: 75%;
}
@keyframes stageMiniIn {
  0%,
  100% {
    top: 27px;
    left: calc(var(--destination) - 2px);
    opacity: 0;
  }
  3% {
    top: 27px;
    left: calc(var(--destination) - 2px);
    opacity: 1;
  }
  32% {
    top: 12px;
    left: calc(var(--destination) - 2px);
    opacity: 1;
  }
  60% {
    top: 12px;
    left: calc(50% - 2px);
    opacity: 1;
  }
  88% {
    top: 0;
    left: calc(50% - 2px);
    opacity: 1;
  }
  95% {
    top: 0;
    left: calc(50% - 2px);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .stage-mini-dot {
    animation: none;
  }
}
