/*──────────────────────────────────────────────────────────
  4.  Gráfico D3 (LinkedIn)
───────────────────────────────────────────────────────────*/
#net {
    width: 100vw;
    height: 80vh;
    border: 1px solid #ddd;
    background: #fafafa;
  }
  #net svg {
    width: 100%;
    height: 100%;
  }

  /* Sidebar detalle */
  #sidebar {
    position: absolute;
    top: 10vh; right: 1vw;
    width: 20vw; height: 80vh;
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
    overflow: auto;
    padding: 1rem;
    font-size: .9rem;
    z-index: 999;
  }
  #sidebar.hidden {
    display: none;
  }
