/* Branch accents never replace selection, focus, source icons or the tree structure. */
.node[data-branch]::after {content:'';position:absolute;inset:10px auto 10px 0;width:4px;background:var(--branch-color);border-radius:4px;pointer-events:none}
#edges path[data-branch] {stroke:var(--branch-color)}
#edges path[data-branch].selected-subtree-edge {stroke-width:3.5;stroke-dasharray:none}
#outline button[data-branch] {border-inline-start:4px solid var(--branch-color)}
#outline button.in-selected-subtree {box-shadow:inset 0 0 0 1px var(--md-sys-color-primary)}
.inline-format-tools {display:flex;gap:8px;flex-wrap:wrap;margin:0}
.inline-format-tools button {min-width:44px;min-height:44px;padding:8px 12px;font-size:13px}
.inline-format-tools [data-format=bold] {font-weight:700}
.inline-format-tools [data-format=italic] {font-style:italic}
.inline-format-hint {margin:0!important}
.inline-format-preview {white-space:pre-wrap;overflow-wrap:anywhere;min-width:0;border-inline-start:3px solid var(--md-sys-color-outline-variant);padding:8px 12px;background:var(--md-sys-color-surface-container-low);line-height:1.6}
.inline-format-preview strong,.inline-formatted strong {font-weight:750}
.inline-format-preview em,.inline-formatted em {font-style:italic}
@media(forced-colors:active){.node[data-branch]::after{background:CanvasText}#edges path[data-branch]{stroke:CanvasText}#outline button[data-branch]{border-inline-start-color:CanvasText}}
