body {
  background-color: antiquewhite;
}

#view-tabs {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #ccc;
  border-radius: 999px;
  z-index: 70;
}

.view-tab {
  border: none;
  background: transparent;
  padding: 6px 16px;
  border-radius: 999px;
  font-family: Arial, sans-serif;
  font-size: 14px;
  cursor: pointer;
  color: #0b2a66;
}

.view-tab:hover,
.view-tab:focus {
  background: rgba(37, 99, 235, 0.12);
  outline: none;
}

.view-tab.active {
  background: #2563eb;
  color: #ffffff;
}

.node circle {
  stroke: black;
  stroke-width: 2px;
}

.node.selected circle {
  stroke: orange;
  stroke-width: 3px;
  fill: orange;
}

.collapse-indicator {
  font-size: 64px;
  /* ~4x larger */
  font-weight: 900;
  /* extra bold */
  fill: #ffff00;
}

.link {
  fill: none;
  stroke: black;
  stroke-width: 2px;
}

.arrow {
  fill: black;
}

text {
  font-family: Arial, sans-serif;
  font-size: 14px;
  text-anchor: middle;
  fill: #ffff00;
  font-weight: 500;
  paint-order: stroke;
  stroke: #000000;
  stroke-width: 3px;
  dominant-baseline: middle;
}

#diagram-wrapper {
  position: absolute;
  top: 84px;
  left: 16px;
  right: 16px;
  bottom: 16px;
  overflow: auto;
  z-index: 1;
  background: transparent;
}

#canvas {
  width: 100%;
  height: 100%;
}
