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

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

#page-ai-insights .li-cross-chain {
  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-cross-chain::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 48% 52% at 8% 0%, rgba(15, 168, 157, 0.09), transparent 58%),
    radial-gradient(ellipse 42% 46% at 94% 100%, rgba(15, 168, 157, 0.05), transparent 52%);
}

#page-ai-insights .li-cross-chain > * {
  position: relative;
  z-index: 1;
}

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

#page-ai-insights .li-xchain-header-copy {
  flex: 1 1 240px;
  min-width: 0;
}

#page-ai-insights .li-xchain-kicker {
  margin: 0 0 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(15, 168, 157, 0.78);
  line-height: 1.2;
}

#page-ai-insights .li-xchain-title {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-main);
  line-height: 1.25;
}

#page-ai-insights .li-xchain-sub {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.45;
  max-width: 68ch;
}

#page-ai-insights .li-xchain-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
}

#page-ai-insights .li-xchain-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
}

#page-ai-insights .li-xchain-badge--inactive {
  color: rgba(148, 163, 184, 0.88);
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

#page-ai-insights .li-xchain-badge--prepared {
  color: rgba(148, 210, 205, 0.88);
  background: rgba(15, 168, 157, 0.08);
  border: 1px solid rgba(15, 168, 157, 0.2);
  opacity: 0.72;
}

#page-ai-insights .li-xchain-badge--prepared.is-emphasized {
  opacity: 1;
  color: rgba(148, 210, 205, 0.95);
  background: rgba(15, 168, 157, 0.12);
  border-color: rgba(15, 168, 157, 0.28);
}

#page-ai-insights .li-xchain-badge--future {
  color: rgba(186, 198, 210, 0.82);
  background: rgba(7, 17, 20, 0.55);
  border: 1px dashed rgba(15, 168, 157, 0.22);
}

#page-ai-insights .li-xchain-badge--preview {
  color: rgba(148, 210, 205, 0.92);
  background: rgba(15, 168, 157, 0.1);
  border: 1px solid rgba(15, 168, 157, 0.24);
}

#page-ai-insights .li-xchain-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 12px 14px;
  align-items: start;
  min-width: 0;
}

@media (max-width: 720px) {
  #page-ai-insights .li-xchain-body {
    grid-template-columns: minmax(0, 1fr);
  }
}

#page-ai-insights .li-xchain-route-wrap {
  min-width: 0;
}

#page-ai-insights .li-xchain-route {
  margin: 0;
  padding: 10px 10px 8px;
  border-radius: 9px;
  border: 1px solid rgba(15, 168, 157, 0.12);
  background: rgba(7, 17, 20, 0.45);
}

#page-ai-insights .li-xchain-route-svg {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
  margin: 0 auto;
}

#page-ai-insights .li-xchain-route-line {
  stroke: rgba(15, 168, 157, 0.28);
  stroke-width: 1.25;
  stroke-dasharray: 5 4;
  fill: none;
}

#page-ai-insights .li-xchain-route-dot {
  fill: rgba(7, 17, 20, 0.92);
  stroke: rgba(15, 168, 157, 0.42);
  stroke-width: 1.5;
}

#page-ai-insights .li-xchain-route-label {
  font-size: 9px;
  font-weight: 600;
  fill: rgba(148, 163, 184, 0.86);
  letter-spacing: 0.02em;
}

#page-ai-insights .li-xchain-route-node.is-selected .li-xchain-route-dot {
  fill: rgba(15, 168, 157, 0.22);
  stroke: rgba(15, 168, 157, 0.72);
  stroke-width: 2;
}

#page-ai-insights .li-xchain-route-node.is-selected .li-xchain-route-label {
  fill: rgba(148, 210, 205, 0.95);
  font-weight: 700;
}

#page-ai-insights .li-xchain-route-caption {
  margin: 8px 0 0;
  font-size: 10px;
  font-weight: 500;
  color: var(--text-faint);
  line-height: 1.4;
  text-align: center;
}

#page-ai-insights .li-xchain-rows {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  min-width: 0;
}

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

#page-ai-insights .li-xchain-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 10px 11px 9px;
  border-radius: 8px;
  border: 1px solid rgba(15, 168, 157, 0.1);
  background: rgba(7, 17, 20, 0.42);
  transition: border-color 0.2s ease;
}

#page-ai-insights .li-xchain-row-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

#page-ai-insights .li-xchain-row-title {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-main);
  line-height: 1.3;
}

#page-ai-insights .li-xchain-row-status {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
  max-width: 52%;
  text-align: right;
}

#page-ai-insights .li-xchain-row.is-not-active .li-xchain-row-status {
  color: rgba(148, 163, 184, 0.86);
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

#page-ai-insights .li-xchain-row.is-prepared-locally .li-xchain-row-status {
  color: rgba(148, 210, 205, 0.92);
  background: rgba(15, 168, 157, 0.12);
  border: 1px solid rgba(15, 168, 157, 0.26);
}

#page-ai-insights .li-xchain-row.is-requires-launch-data .li-xchain-row-status {
  color: rgba(186, 198, 210, 0.88);
  background: rgba(7, 17, 20, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.22);
}

#page-ai-insights .li-xchain-row.is-review-recommended .li-xchain-row-status {
  color: rgba(214, 196, 140, 0.92);
  background: rgba(214, 196, 140, 0.08);
  border: 1px solid rgba(214, 196, 140, 0.22);
}

#page-ai-insights .li-xchain-row.is-future-network .li-xchain-row-status {
  color: rgba(186, 198, 210, 0.82);
  background: rgba(7, 17, 20, 0.55);
  border: 1px dashed rgba(15, 168, 157, 0.24);
}

#page-ai-insights .li-xchain-row-micro {
  margin: 0;
  font-size: 10px;
  font-weight: 500;
  color: var(--text-faint);
  line-height: 1.45;
}

#page-ai-insights .li-xchain-footnote {
  margin: 12px 0 0;
  font-size: 10px;
  font-weight: 500;
  color: var(--text-faint);
  line-height: 1.4;
  letter-spacing: 0.02em;
}

@media (prefers-reduced-motion: reduce) {
  #page-ai-insights .li-xchain-row {
    transition: none;
  }
}
