[data-viz-type="d_latch_edge_model"] .lv{--memory-flop:#38bdf8;--memory-latch:#fbbf24;--memory-surface:var(--reading-surface,#01040e)}
[data-viz-type="d_latch_edge_model"] .lv-stage{background:var(--memory-surface);padding:.5rem}
[data-viz-type="d_latch_edge_model"] .lv svg{display:block;width:100%;height:auto;max-width:42rem;margin:auto}
[data-viz-type="d_latch_edge_model"] .memory-key{color:var(--lv-ink);line-height:1.5;text-align:center;margin:.5rem 0}
html[data-theme="light"] [data-viz-type="d_latch_edge_model"] .lv{--lv-ink:#0f172a;--lv-steel:#64748b;--memory-flop:#0369a1;--memory-latch:#92400e;--memory-surface:#fcfcfd}
@media(max-width:540px){[data-viz-type="d_latch_edge_model"] .lv svg text{font-size:20px}[data-viz-type="d_latch_edge_model"] .lv .lv-readout{grid-template-columns:1fr}}
