/* Launch Intelligence — Launch Coordination Intelligence (scoped #page-ai-insights) */

#page-ai-insights .li-coordination-mount {
  margin: 0 0 14px;
  min-height: 0;
}

#page-ai-insights .li-coordination {
  position: relative;
  padding: 14px 14px 12px;
  border-radius: 10px;
  border: 1px solid rgba(15, 168, 157, 0.14);
  background: linear-gradient(
    165deg,
    rgba(7, 17, 20, 0.72) 0%,
    rgba(11, 23, 26, 0.58) 48%,
    rgba(7, 17, 20, 0.68) 100%
  );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  overflow: hidden;
  isolation: isolate;
}

#page-ai-insights .li-coordination::before,
#page-ai-insights .li-coordination::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  pointer-events: none;
  z-index: 2;
  opacity: 0.5;
}

#page-ai-insights .li-coordination::before {
  top: 5px;
  left: 5px;
  border-top: 1px solid rgba(15, 168, 157, 0.42);
  border-left: 1px solid rgba(15, 168, 157, 0.42);
}

#page-ai-insights .li-coordination::after {
  bottom: 5px;
  right: 5px;
  border-bottom: 1px solid rgba(15, 168, 157, 0.32);
  border-right: 1px solid rgba(15, 168, 157, 0.32);
}

#page-ai-insights .li-coord-frame {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

#page-ai-insights .li-coord-frame::before,
#page-ai-insights .li-coord-frame::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  opacity: 0.5;
}

#page-ai-insights .li-coord-frame::before {
  top: 5px;
  right: 5px;
  border-top: 1px solid rgba(15, 168, 157, 0.32);
  border-right: 1px solid rgba(15, 168, 157, 0.32);
}

#page-ai-insights .li-coord-frame::after {
  bottom: 5px;
  left: 5px;
  border-bottom: 1px solid rgba(15, 168, 157, 0.42);
  border-left: 1px solid rgba(15, 168, 157, 0.42);
}

#page-ai-insights .li-coord-scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 168, 157, 0.03) 0%,
    transparent 28%,
    transparent 72%,
    rgba(15, 168, 157, 0.02) 100%
  );
}

#page-ai-insights .li-coord-scan::after {
  content: "";
  position: absolute;
  left: -20%;
  top: 0;
  width: 38%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(15, 168, 157, 0.06) 42%,
    rgba(47, 159, 154, 0.04) 58%,
    transparent
  );
  animation: li-coord-scan-sweep 11s linear infinite;
}

@keyframes li-coord-scan-sweep {
  0% {
    transform: translateX(0);
    opacity: 0;
  }
  6% {
    opacity: 0.9;
  }
  94% {
    opacity: 0.9;
  }
  100% {
    transform: translateX(320%);
    opacity: 0;
  }
}

#page-ai-insights .li-coord-header,
#page-ai-insights .li-coord-eco,
#page-ai-insights .li-coord-rows,
#page-ai-insights .li-coord-partners-wrap,
#page-ai-insights .li-coord-footnote {
  position: relative;
  z-index: 1;
}

#page-ai-insights .li-coord-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px 14px;
  margin-bottom: 12px;
}

#page-ai-insights .li-coord-kicker {
  margin: 0 0 4px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.68);
}

#page-ai-insights .li-coord-title {
  margin: 0;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: rgba(230, 241, 255, 0.96);
}

#page-ai-insights .li-coord-sub {
  margin: 6px 0 0;
  max-width: 52ch;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(156, 172, 192, 0.78);
}

#page-ai-insights .li-coord-orchestration-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(148, 163, 184, 0.22);
  color: rgba(148, 163, 184, 0.88);
  background: rgba(7, 17, 20, 0.55);
}

#page-ai-insights .li-coord-orchestration-badge.is-queued {
  border-color: rgba(148, 163, 184, 0.28);
  color: rgba(148, 163, 184, 0.9);
}

#page-ai-insights .li-coord-orchestration-badge.is-staged {
  border-color: rgba(245, 158, 11, 0.35);
  color: rgba(251, 191, 36, 0.92);
  background: rgba(245, 158, 11, 0.08);
}

#page-ai-insights .li-coord-orchestration-badge.is-synchronized {
  border-color: rgba(15, 168, 157, 0.38);
  color: rgba(25, 191, 178, 0.95);
  background: rgba(15, 168, 157, 0.1);
}

#page-ai-insights .li-coord-orchestration-badge.is-verification-pending {
  border-color: rgba(47, 159, 154, 0.32);
  color: rgba(156, 172, 192, 0.92);
  background: rgba(47, 159, 154, 0.08);
}

#page-ai-insights .li-coord-eco {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-bottom: 12px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(15, 168, 157, 0.1);
  background: rgba(4, 8, 9, 0.35);
}

#page-ai-insights .li-coord-eco-svg {
  flex: 1 1 140px;
  min-width: 120px;
  max-width: 220px;
  height: 24px;
  display: block;
}

#page-ai-insights .li-coord-eco-line {
  stroke: rgba(15, 168, 157, 0.22);
  stroke-width: 1;
  stroke-dasharray: 3 4;
}

#page-ai-insights .li-coord-eco-node {
  fill: rgba(15, 168, 157, 0.35);
}

#page-ai-insights .li-coord-eco-node--a {
  animation: li-coord-node-pulse 10s ease-in-out infinite;
}

#page-ai-insights .li-coord-eco-node--b {
  animation: li-coord-node-pulse 10s ease-in-out infinite 2.2s;
}

#page-ai-insights .li-coord-eco-node--c {
  animation: li-coord-node-pulse 10s ease-in-out infinite 4.4s;
}

@keyframes li-coord-node-pulse {
  0%,
  72%,
  100% {
    fill: rgba(15, 168, 157, 0.28);
  }
  78%,
  88% {
    fill: rgba(25, 191, 178, 0.72);
  }
}

#page-ai-insights .li-coord-eco-pulse {
  fill: url(#li-coord-pulse-grad);
  opacity: 0.65;
  animation: li-coord-pulse-travel 12s linear infinite;
}

@keyframes li-coord-pulse-travel {
  0% {
    transform: translateX(8px);
    opacity: 0;
  }
  8% {
    opacity: 0.75;
  }
  92% {
    opacity: 0.75;
  }
  100% {
    transform: translateX(96px);
    opacity: 0;
  }
}

#page-ai-insights .li-coord-eco-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.65);
}

#page-ai-insights .li-coord-eco-legend li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

#page-ai-insights .li-coord-eco-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

#page-ai-insights .li-coord-eco-dot--sync {
  background: rgba(15, 168, 157, 0.5);
  animation: li-coord-eco-blink 3.8s ease-in-out infinite;
}

#page-ai-insights .li-coord-eco-dot--ready {
  background: rgba(47, 159, 154, 0.45);
  animation: li-coord-eco-blink 3.8s ease-in-out infinite 1.1s;
}

#page-ai-insights .li-coord-eco-dot--stage {
  background: rgba(245, 158, 11, 0.45);
  animation: li-coord-eco-blink 3.8s ease-in-out infinite 2.2s;
}

@keyframes li-coord-eco-blink {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 1;
  }
}

#page-ai-insights .li-coord-rows {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

@media (min-width: 640px) {
  #page-ai-insights .li-coord-rows {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  #page-ai-insights .li-coord-rows {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

#page-ai-insights .li-coord-row {
  padding: 10px 10px 9px;
  border-radius: 8px;
  border: 1px solid rgba(15, 168, 157, 0.08);
  background: rgba(7, 17, 20, 0.42);
  min-width: 0;
}

#page-ai-insights .li-coord-row.is-ready {
  border-color: rgba(15, 168, 157, 0.22);
}

#page-ai-insights .li-coord-row.is-active {
  border-color: rgba(245, 158, 11, 0.2);
}

#page-ai-insights .li-coord-row-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  min-width: 0;
}

#page-ai-insights .li-coord-row-signal {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.4);
}

#page-ai-insights .li-coord-row.is-ready .li-coord-row-signal {
  background: rgba(15, 168, 157, 0.65);
  box-shadow: 0 0 8px rgba(15, 168, 157, 0.25);
}

#page-ai-insights .li-coord-row.is-active .li-coord-row-signal {
  background: rgba(245, 158, 11, 0.6);
}

#page-ai-insights .li-coord-row-title {
  flex: 1 1 auto;
  margin: 0;
  min-width: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(230, 241, 255, 0.9);
  line-height: 1.25;
}

#page-ai-insights .li-coord-row-status {
  flex-shrink: 0;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.75);
}

#page-ai-insights .li-coord-row.is-ready .li-coord-row-status {
  color: rgba(25, 191, 178, 0.9);
}

#page-ai-insights .li-coord-row.is-active .li-coord-row-status {
  color: rgba(251, 191, 36, 0.88);
}

#page-ai-insights .li-coord-row-micro {
  margin: 0;
  font-size: 11px;
  line-height: 1.4;
  color: rgba(156, 172, 192, 0.76);
}

#page-ai-insights .li-coord-partners-k {
  margin: 0 0 8px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.68);
}

#page-ai-insights .li-coord-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
}

#page-ai-insights .li-coord-partner {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 6px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(7, 17, 20, 0.5);
  min-width: 0;
}

#page-ai-insights .li-coord-partner.is-queued {
  border-color: rgba(245, 158, 11, 0.22);
}

#page-ai-insights .li-coord-partner.is-staged {
  border-color: rgba(15, 168, 157, 0.28);
}

#page-ai-insights .li-coord-partner-name {
  font-size: 11px;
  font-weight: 600;
  color: rgba(230, 241, 255, 0.88);
}

#page-ai-insights .li-coord-partner-tier {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.72);
  font-family: "JetBrains Mono", monospace;
}

#page-ai-insights .li-coord-partner.is-queued .li-coord-partner-tier {
  color: rgba(251, 191, 36, 0.88);
}

#page-ai-insights .li-coord-partner.is-staged .li-coord-partner-tier {
  color: rgba(25, 191, 178, 0.9);
}

#page-ai-insights .li-coord-partners-note {
  margin: 0 0 8px;
  font-size: 11px;
  color: rgba(156, 172, 192, 0.72);
  font-family: "JetBrains Mono", monospace;
}

#page-ai-insights .li-coord-footnote {
  margin: 0;
  font-size: 10px;
  color: rgba(148, 163, 184, 0.52);
  line-height: 1.35;
}

@media (prefers-reduced-motion: reduce) {
  #page-ai-insights .li-coord-scan::after,
  #page-ai-insights .li-coord-eco-pulse,
  #page-ai-insights .li-coord-eco-node,
  #page-ai-insights .li-coord-eco-dot {
    animation: none !important;
  }

  #page-ai-insights .li-coord-scan::after {
    left: 32%;
    opacity: 0.35;
    transform: none;
  }

  #page-ai-insights .li-coord-eco-pulse {
    transform: translateX(48px);
    opacity: 0.4;
  }
}

@media (max-width: 480px) {
  #page-ai-insights .li-coordination {
    padding: 12px 10px 10px;
  }

  #page-ai-insights .li-coord-rows {
    grid-template-columns: 1fr;
  }

  #page-ai-insights .li-coord-partners {
    flex-direction: column;
    align-items: stretch;
  }

  #page-ai-insights .li-coord-partner {
    justify-content: space-between;
  }
}
