/*
 * dyad-pathways — indented mechanism tree (chapter 4). Recreated from the
 * live figure (svelte-9zg14h). Newborn outcomes and multipliers in
 * var(--cat-4), the newborn ink the live figure uses.
 */
.dp-hint { margin: 0 0 4px; font-family: var(--font-mono); font-size: 11px; line-height: 1.5; letter-spacing: .02em; color: var(--muted); }
.dp-canvas { fill: transparent; }
.dp-link { fill: none; stroke: rgba(var(--ink-rgb), .18); stroke-width: 1.1px; transition: opacity .16s; }
.dp-link.dim { opacity: .16; }
.dp-node { transition: opacity .16s; }
.dp-node.dim { opacity: .22; }
.dp-hit { fill: transparent; }
.dp-node[role="button"] { cursor: pointer; outline: none; }
.dp-node[role="button"]:focus-visible .dp-label { outline: 2px solid var(--accent2); outline-offset: 3px; }

.dp-dot { fill: var(--ink); stroke: var(--bg); stroke-width: 1px; }
.dp-node.reason .dp-dot { fill: rgba(var(--ink-rgb), .5); }
.dp-node.baby .dp-dot { fill: var(--cat-4); }
.dp-label { font-family: var(--font-mono); font-size: 11px; fill: rgba(var(--ink-rgb), .84); }
.dp-node.root .dp-label { font-size: 12px; font-weight: 600; fill: var(--ink); }
.dp-node.group .dp-label { font-size: 11.5px; font-weight: 600; fill: var(--ink); }
.dp-node.reason .dp-label { fill: rgba(var(--ink-rgb), .6); }
.dp-node.baby .dp-label { fill: var(--cat-4); }
.dp-node.on .dp-label { text-decoration: underline; text-underline-offset: 3px; }
.dp-mult { font-family: var(--font-mono); font-size: 11px; font-weight: 500; fill: var(--cat-4); }

.dp.compact .dp-label { font-size: 11px; }
.dp.compact .dp-node.root .dp-label { font-size: 12px; }
.dp.compact .dp-node.group .dp-label { font-size: 11.5px; }

@media (prefers-reduced-motion: reduce) {
  .dp-link, .dp-node { transition: none; }
}

/* evidence from the mother → baby scan (dyad_scan.csv) */
.dp-ev { font-family: var(--font-mono); font-size: 10.5px; fill: var(--muted); }
.dp-node.holds .dp-ev { fill: var(--ink); font-weight: 500; }
.dp-node:is(.directional, .unresolved, .unlinked) .dp-mult { fill-opacity: .6; }
.dp-node:is(.unresolved, .unlinked) .dp-label { fill-opacity: .6; }
.dp-node:is(.unresolved, .unlinked) .dp-dot { fill-opacity: .45; }
.dp-key { margin: 6px 0 0; font-family: var(--font-mono); font-size: 11px; line-height: 1.5; color: var(--muted); }

/* the narrow tree's key to its evidence marks */
.dp-marks { margin: 10px 0 0; font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
