refactor: css and current node selection