/* topic-map.css — Phase 12 */

.topic-map-view {
  padding: 24px;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.topic-map-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.topic-map-title {
  font-size: var(--fs-2xl);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.topic-map-meta {
  color: var(--text-3);
  font-size: var(--fs-sm);
  margin-left: auto;
}

.topic-map-svg {
  width: 100%;
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}

.tm-node:hover circle:first-child {
  fill: var(--bg-3);
}

.topic-map-detail {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 16px 20px;
  margin-top: 12px;
  min-height: 100px;
}

.topic-map-detail h3 {
  font-size: var(--fs-lg);
  margin-bottom: 6px;
}

.tm-meta {
  color: var(--text-3);
  font-size: var(--fs-sm);
  margin-bottom: 10px;
}

.tm-concepts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.tm-chip {
  padding: 3px 10px;
  background: var(--bg-3);
  border-radius: 12px;
  font-size: 11px;
  color: var(--text-2);
}

.tm-deps {
  color: var(--text-3);
  font-size: var(--fs-sm);
  margin-bottom: 12px;
}

.tm-deps a {
  color: var(--text-2);
  text-decoration: underline;
}

.tm-detail-empty {
  color: var(--text-3);
  font-size: var(--fs-sm);
}
