pub fn parent<'a>(root: &'a Node, id: &str) -> Option<&'a Node>
Resolve an ID’s parent using the full tree, including collapsed descendants.