/* ============================================================
   RELATIONSHIP-GRAPH.CSS
   Toolbar, filter panel, and full-screen mode for the Relationship
   Graph explorer. Canvas, search, legend, and side-panel styling
   are intentionally reused from family-tree-graph.css (.ft-*) and
   vc-ecosystem-graph.css (.graph-*) rather than duplicated here.
   ============================================================ */

.rg-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.rg-btn {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 5px;
  padding: 8px 14px;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.rg-btn:hover:not(:disabled) {
  border-color: var(--gold);
  color: var(--gold-bright);
}
.rg-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.rg-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 6px;
  margin-bottom: 16px;
}
.rg-filter-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 160px;
}
.rg-filter-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2px;
}
.rg-filter-check {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--ink-dim);
}
.rg-select {
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--ink);
  background: var(--surface-raised);
  border: 1px solid var(--hairline);
  border-radius: 4px;
  padding: 6px 8px;
}
.rg-filter-note {
  font-size: 11.5px;
  color: var(--ink-dim);
  font-style: italic;
  max-width: 320px;
}

.rg-detail-toggle {
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--gold);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
}
.rg-detail-toggle:hover {
  color: var(--gold-bright);
}
.rg-detail-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 6px;
  padding-left: 2px;
}
.rg-detail-link {
  font-size: 12px;
  color: var(--ink);
  text-decoration: none;
}
.rg-detail-link:hover {
  color: var(--gold-bright);
}

.rg-fullscreen {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 500;
  border-radius: 0;
}
