/* One vector trunk per level: no border-dependent joints at browser zoom. */
.sidebar { --tree-guide: #465a53; }
.sidebar :is(.nav-group-content, .nav-subgroup-content) { position: relative; background-image: none; }
.sidebar .nav-tree-guides {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.sidebar .nav-tree-guides path { fill: none; stroke: var(--tree-guide); stroke-width: 1; stroke-linecap: butt; stroke-linejoin: round; }
.sidebar .nav-current > summary { color: #ffe4a5; background-color: rgba(183,138,52,.13); border-left-color: var(--gold,#b38b39); }
.sidebar details > summary:focus-visible,
.sidebar .nav-summary-link:focus-visible { outline: 2px solid var(--gold-pale,#e0cf9b); outline-offset: 2px; }
.earthdawn-ed1-preview .sidebar { --tree-guide: #53534f; }
.earthdawn-ed1-preview .sidebar .nav-current > summary { color: #fffef5; background-color: rgba(230,230,220,.10); border-left-color: #bcbcb2; }
