/* ============================================================
   NETWORK APP — Blueprint node map. Architecture visualiser.
   Character: Technical, systematic, indigo blueprint aesthetic.
   ============================================================ */

.window.app-network .window-body {
  overflow: auto;
  height: 100%;
  background:
    linear-gradient(90deg, rgba(80,100,255,0.07) 1px, transparent 1px),
    linear-gradient(0deg, rgba(80,100,255,0.07) 1px, transparent 1px),
    linear-gradient(180deg, #0e1632, #090f24);
  background-size: 36px 36px, 36px 36px, auto;
}

.window.app-network .content-pane {
  padding: 20px 22px;
  color: #90a8f0;
  min-height: 100%;
}

.window.app-network .doc h2 {
  font-family: var(--mono);
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  color: #7898f0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 6px;
}

.window.app-network .doc p {
  color: #5878b0;
  font-size: 0.82rem;
  margin: 0 0 18px;
}

/* Network map canvas */
.network-map {
  min-height: 340px;
  position: relative;
  border: 1px solid rgba(80,100,255,0.24);
  border-radius: 10px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(80,100,255,0.10) 1px, transparent 1px),
    linear-gradient(0deg, rgba(80,100,255,0.10) 1px, transparent 1px),
    rgba(8,12,30,0.96);
  background-size: 32px 32px, 32px 32px, auto;
}

/* Corner marks — blueprint feel */
.network-map::before, .network-map::after {
  content: "";
  position: absolute;
  width: 12px; height: 12px;
  border: 1px solid rgba(80,100,255,0.40);
}
.network-map::before { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
.network-map::after  { bottom: 8px; right: 8px; border-left: 0; border-top: 0; }

/* SVG connection lines — full-size overlay */
.network-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
}

/* Nodes */
.network-node {
  position: absolute;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(100,130,255,0.38);
  border-radius: 6px;
  background: rgba(10,16,48,0.97);
  padding: 6px 11px;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: #8098e8;
  letter-spacing: 0.06em;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0,0,20,0.50), 0 0 0 1px rgba(100,130,255,0.12);
  transition: border-color 150ms ease, color 150ms ease;
}

.network-node.core {
  color: #f0da70;
  border-color: rgba(240,210,60,0.60);
  background: rgba(24,18,4,0.97);
  font-weight: 700;
  font-size: 0.74rem;
  box-shadow: 0 0 20px rgba(240,200,60,0.22), 0 4px 16px rgba(0,0,0,0.50);
}

.network-line {
  position: absolute;
  height: 1px;
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(80,100,255,0.50), rgba(80,100,255,0.15));
}
