/* EDITABLE: your own colour tweaks. Example: change the search highlight colour. */
mark{background:#ffe600;color:#1a1a1a}

/* Collapsible in-page sections */
.node-wrap{margin:6px 0}
.node-toggle{width:100%;text-align:left}
.node-slot{margin:4px 0 10px 14px;padding-left:10px;border-left:2px dotted var(--line)}
.node-slot[hidden]{display:none}
.chapter-actions{display:flex;justify-content:flex-end;margin:8px 0}
/* Small per-branch toggle */
.mini-toggle{min-width:34px;min-height:34px;margin-left:6px;border:1px solid var(--line);background:var(--card);color:var(--accent);border-radius:8px;cursor:pointer;flex-shrink:0}

/* Keep figure/table references in reading order and on one line. */
a.xref,.ref-label{display:inline-block;white-space:nowrap;direction:ltr;unicode-bidi:isolate;text-indent:0}
.row .t{min-width:0}
