/* Iteration 6: BotOps Manager featured-project visual. */
.botops-visual {
  min-height: 430px;
  padding: 30px;
  color: #fff;
  background:
    radial-gradient(circle at 85% 14%, rgba(97, 215, 255, 0.16), transparent 28%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    #081315;
  background-size: auto, 34px 34px, 34px 34px, auto;
}

.botops-topline {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding-right: 62px;
  color: rgba(255, 255, 255, 0.5);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.botops-topline strong {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--lime);
  font-size: inherit;
  text-transform: uppercase;
}

.botops-topline i {
  width: 7px;
  height: 7px;
  background: currentColor;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(200, 255, 77, 0.1);
}

.botops-stage {
  display: grid;
  grid-template-columns: 64px 1fr;
  width: min(920px, calc(100% - 70px));
  min-height: 270px;
  margin: 48px auto 30px;
  overflow: hidden;
  background: rgba(7, 17, 20, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
}

.botops-rail {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  padding: 18px 10px;
  background: rgba(255, 255, 255, 0.035);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.botops-rail b,
.botops-rail span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.61rem;
}

.botops-rail b {
  margin-bottom: 20px;
  color: #071114;
  background: var(--lime);
}

.botops-rail span {
  color: rgba(255, 255, 255, 0.34);
  border: 1px solid transparent;
}

.botops-rail .is-active {
  color: var(--cyan);
  background: rgba(97, 215, 255, 0.08);
  border-color: rgba(97, 215, 255, 0.24);
}

.botops-console {
  min-width: 0;
  padding: 26px;
}

.botops-console-head p {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  margin: 0;
}

.botops-console-head span {
  font-family: var(--display);
  font-size: clamp(1.15rem, 2.6vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.botops-console-head strong {
  color: var(--lime);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.63rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.botops-console-head small {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
}

.botops-status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 32px;
}

.botops-status-grid p {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.botops-status-grid span,
.botops-status-grid strong {
  position: relative;
  z-index: 1;
  display: block;
}

.botops-status-grid span {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.botops-status-grid strong {
  margin-top: 18px;
  color: #fff;
  font-family: var(--display);
  font-size: 1.12rem;
}

.botops-status-grid i {
  position: absolute;
  right: -22px;
  bottom: -28px;
  width: 76px;
  height: 76px;
  background: radial-gradient(circle, rgba(200, 255, 77, 0.18), transparent 68%);
  border-radius: 50%;
}

.botops-flow {
  display: flex;
  gap: 11px;
  align-items: center;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.56);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.botops-flow i {
  flex: 1;
  min-width: 12px;
  height: 1px;
  background: linear-gradient(90deg, rgba(97, 215, 255, 0.22), var(--cyan));
}

.botops-runtime {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

.botops-runtime span {
  margin-inline: 8px;
  color: var(--cyan);
}

@media (max-width: 700px) {
  .botops-visual {
    min-height: 390px;
    padding: 24px 18px;
  }

  .botops-topline {
    padding-right: 52px;
  }

  .botops-topline strong {
    display: none;
  }

  .botops-stage {
    grid-template-columns: 46px 1fr;
    width: 100%;
    margin-block: 40px 26px;
  }

  .botops-rail {
    padding-inline: 6px;
  }

  .botops-rail b,
  .botops-rail span {
    width: 30px;
    height: 30px;
  }

  .botops-console {
    padding: 20px 16px;
  }

  .botops-console-head strong {
    display: none;
  }

  .botops-status-grid {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

  .botops-status-grid p {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
  }

  .botops-status-grid strong {
    margin-top: 0;
    font-size: 0.92rem;
  }

  .botops-flow {
    display: none;
  }

  .botops-runtime {
    font-size: 0.64rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .botops-visual .project-open {
    transition: none;
  }
}
