/* The static read graph: dependency → reader, each card a binding with its
   kept and current values. Shared by the experiment page and the lessons. */
.read-scroll { max-width:100%; overflow:auto; overflow-anchor:none; max-height:75vh; border:1px solid var(--rule); }
.read-canvas { --read-column:240px; display:grid; width:max-content; position:relative; gap:32px 72px; padding:24px 40px; align-items:start; justify-items:start; }
.read-edges { position:absolute; left:0; top:0; overflow:visible; pointer-events:none; }
.read-edge { fill:none; stroke:var(--focus); stroke-width:1.5; }
.read-edge[data-cycle="true"] { stroke-dasharray:5 3; }
.read-edges marker path { fill:var(--focus); }
/* Unchanged bindings recede: smaller and quieter, so the changed path reads first. */
.read-node { position:relative; z-index:1; width:100%; box-sizing:border-box; padding:8px 10px; border:1px solid var(--rule); background:var(--cream); color:var(--ink-muted); }
.read-node[data-change="changed"] { border:2px solid var(--focus); background:var(--cream-raised); padding:11px 12px; color:var(--ink); }
.read-node[data-change="unknown"] { border-style:dashed; }
.read-kind, .read-scope, .read-status { font-size:11px; margin:0 0 4px; }
.read-title { font-size:14px; line-height:1.4; margin:0 0 4px; }
.read-node[data-change="changed"] .read-title { font-size:16px; }
.read-title button { all:unset; cursor:pointer; text-decoration:underline; text-decoration-color:var(--rule); text-underline-offset:3px; }
.read-title button:focus-visible { outline:2px solid var(--focus); outline-offset:2px; }
/* all:unset drops the shared 44px tap target; a phone gets it back. */
@media (max-width:600px) { .read-title button { min-height:44px; display:inline-flex; align-items:center; } }
.read-values { font-size:13px; font-variant-numeric:tabular-nums; margin:4px 0 0; }
.read-node[data-change="changed"] .read-values { font-size:16px; font-weight:600; }
@media (max-width:600px) { .read-canvas { --read-column:180px; gap:28px 44px; padding:16px; } }
