/* =========================
   NETWORK MAP (CLEAN)
   ========================= */

.network-map-canvas {
  position: relative;
  max-width: 600px;
  margin: 1.5rem auto;
  padding: 1rem 0;
  min-height: 280px;
  background: radial-gradient(circle at top, #0f172a, #020617);
  border-radius: 14px;
}

.network-node {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.6);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  text-align: center;
  color: #e5e7eb;
  font-size: 0.75rem;
  min-width: 160px;
}

.network-node-label {
  font-weight: 500;
}

.network-node-sub {
  font-size: 0.7rem;
  opacity: 0.8;
}

.network-connector {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 26px;
  background: repeating-linear-gradient(
    to bottom,
    rgba(148,163,184,0.8),
    rgba(148,163,184,0.8) 4px,
    transparent 4px,
    transparent 8px
  );
}

/* risk rings */

.network-node .risk-ring {
  position: absolute;
  inset: -4px;
  border-radius: 999px;
  border: 2px solid transparent;
  pointer-events: none;
}

.network-node.state-ok .risk-ring {
  border-color: #22c55e;
}

.network-node.state-warn .risk-ring {
  border-color: #eab308;
}

.network-node.state-issue .risk-ring {
  border-color: #ef4444;
}


/* ===== What This Means for You – Visual Grouping ===== */

.guidance-block {
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 16px;
  border: 1px solid transparent;
}

.guidance-block h4 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Individual items */
.guidance-item {
  padding: 10px 0;
  border-top: 1px dashed #e5e7eb;
}

.guidance-item:first-of-type {
  border-top: none;
}

.guidance-item strong {
  display: block;
  font-size: 14px;
  color: #0f172a;
  margin-bottom: 4px;
}

.guidance-item p {
  margin: 0;
  font-size: 14px;
  color: #334155;
  line-height: 1.5;
}

/* Tip styling */
.guidance-tip {
  margin-top: 6px;
  font-size: 13px;
  color: #475569;
  background: rgba(0,0,0,0.03);
  padding: 6px 10px;
  border-radius: 8px;
}

/* Colour themes */
.guidance-block.good {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.guidance-block.review {
  background: #fffbeb;
  border-color: #fde68a;
}

.guidance-block.action {
  background: #fef2f2;
  border-color: #fecaca;
}

/* Icons */
.guidance-block.good h4::before {
  content: "✅";
}

.guidance-block.review h4::before {
  content: "🟡";
}

.guidance-block.action h4::before {
  content: "⚠️";
}
