* {
  font-family: "Arial", sans-serif;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  overflow: hidden;
  margin: 0;
  background-color: #f9f9f9;
  color: #333;
  font-size: 16px;
  line-height: 1.6;
}

h3 {
  text-align: center;
  margin-bottom: 5px;
  font-size: 23px;
}

.link {
  stroke: #888;
  stroke-opacity: 0.75;
  stroke-width: 2px;
  transition: stroke 0.2s, stroke-opacity 0.2s;
}

.node {
  stroke: #555;
  stroke-width: 1.5px;
  cursor: pointer;
  fill: #0077cc;
  transition: transform 0.2s, stroke-width 0.2s, fill 0.2s;
}

.node:hover {
  transform: scale(1.15);
  stroke-width: 2.5px;
  fill: #ff6600;
}

.dimmed {
  opacity: 0.2;
  transition: opacity 0.2s ease-in-out;
}

.highlight {
  opacity: 1;
  stroke: black;
  stroke-width: 2px;
}

svg {
  display: block;
  width: 100%;
  height: 100%;
  background-color: #f0f0f0;
}

.scorecard {
  padding: 20px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  min-width: 400px;
  min-height: 600px;
  max-height: 90vh;
  overflow-y: scroll;
  position: absolute;
  z-index: 100;
}

#scorecard {
  top: 20px;
  left: 20px;
}

#scorecard-right {
  top: 20px;
  right: 20px;
  font-size: 12px;
  max-height: 90vh;
  overflow-y: scroll;
}

#scorecard-list,
#tooltip-scorecard-list {
  list-style: none;
  padding: 0;
}

#claude-analysis-section {
  display: none;
  margin-top: 15px;
}

#analyze-node-button {
  display: block;
  margin: 0px auto 25px;
  padding: 4px 6px;
}
