/* Interactive graph — sidebar + modal, Kautilya palette */

/* Sidebar graph container (desktop only) */
#interactive-graph-sidebar {
  width: 100%;
  height: 240px;
  margin-top: 1rem;
  border: 1px solid var(--md-default-fg-color--lightest, #E2E0DA);
  border-radius: 10px;
  background: var(--md-default-bg-color);
}

@media screen and (max-width: 76.1875em) {
  /* Hide sidebar graph on mobile/tablet (matches Obsidian-plugin behaviour) */
  #interactive-graph-sidebar,
  .interactive-graph-sidebar-wrap {
    display: none;
  }
}

/* Header button */
#interactive-graph-btn {
  cursor: pointer;
}

/* Modal overlay */
#interactive-graph-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 11, 0.72);
  backdrop-filter: blur(2px);
}
#interactive-graph-modal.open {
  display: flex;
}
#interactive-graph-modal-canvas {
  width: 88vw;
  height: 82vh;
  background: var(--md-default-bg-color);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(10, 22, 40, 0.4);
}
.interactive-graph-modal-hint {
  position: absolute;
  bottom: 6vh;
  color: #BCB5A7;
  font-family: Inter, system-ui, sans-serif;
  font-size: 12px;
  letter-spacing: 0.04em;
}
