.ram-root{--ram-cell: #fbf7ee;--ram-line: #d9cfbb;--ram-off: #94a3b8;--ram-hot: #f59e0b}[data-theme=dark] .ram-root{--ram-cell: #262b3b;--ram-line: #3a4157;--ram-off: #64748b;--ram-hot: #fbbf24}.ram-lbl{fill:var(--ink);font-size:14px;font-weight:750;text-anchor:middle}.ram-small{fill:var(--ink-soft);font-size:12.5px;font-weight:600;text-anchor:middle}.ram-click{cursor:pointer}.ram-bit{fill:var(--ram-cell);stroke:var(--ram-line);stroke-width:1.3}.ram-bit.is-on{fill:color-mix(in srgb,var(--ui-accent) 28%,var(--ram-cell));stroke:var(--ui-accent)}.ram-bit.is-active{stroke-width:2.4}.ram-bittxt{fill:var(--ink);font-size:15px;font-weight:750;text-anchor:middle;dominant-baseline:central;pointer-events:none}.ram-wire{stroke:var(--ram-off);stroke-width:1.6}.ram-wire.is-hot,.ram-bl.is-hot{stroke:var(--ram-hot);stroke-width:3}.ram-bl{stroke:var(--ram-line);stroke-width:1.4}.ram-dec{fill:color-mix(in srgb,var(--ui-accent) 8%,var(--bg-card));stroke:var(--ui-accent);stroke-width:1.6;transition:fill .2s}.ram-dec.is-active{fill:color-mix(in srgb,var(--ram-hot) 22%,var(--bg-card))}.ram-declbl{fill:var(--ui-accent);font-size:15px;font-weight:750;text-anchor:middle;dominant-baseline:central;letter-spacing:.04em}.ram-cell{fill:var(--ram-cell);stroke:var(--ram-line);stroke-width:1}.ram-cell.is-on{fill:color-mix(in srgb,var(--ui-accent) 30%,var(--ram-cell));stroke:color-mix(in srgb,var(--ui-accent) 60%,var(--ram-line))}.ram-celltxt{fill:var(--ink);font-size:12.5px;font-weight:700;text-anchor:middle;dominant-baseline:central;pointer-events:none}.ram-rowhl{fill:none;stroke:var(--ram-hot);stroke-width:2.5}.ram-wl{fill:var(--ram-hot);font-size:9.5px;font-weight:750;text-anchor:start}.ram-addr{fill:var(--ink-soft);font-size:13px;font-weight:650;text-anchor:middle;dominant-baseline:central}.ram-addr.is-sel{fill:var(--ui-accent);font-weight:800}.ram-val{fill:var(--ink);font-size:13px;font-weight:650;text-anchor:middle;dominant-baseline:central}.ram-chr{fill:var(--ui-accent);font-size:15px;font-weight:800;text-anchor:middle;dominant-baseline:central}.ram-hit{fill:transparent;cursor:pointer}.ram-pulse{fill:var(--ram-hot);stroke:#fff;stroke-width:1.5}.ram-amp{fill:color-mix(in srgb,var(--ui-accent) 20%,var(--bg-card));stroke:var(--ui-accent);stroke-width:1.3}.ram-line{stroke:var(--ram-off);stroke-width:3;stroke-linecap:round;transition:stroke .15s}.ram-line.is-hot,.ram-sym.is-hot{stroke:var(--ram-hot)}.ram-sym{stroke:var(--ink);stroke-width:3.5;stroke-linecap:round}.ram-plate{stroke-width:5}.ram-dash{stroke:var(--ink-soft);stroke-width:1.3;stroke-dasharray:5 5}.ram-tank{fill:var(--bg);stroke:var(--ink);stroke-width:2.5}.ram-fill{fill:var(--ui-accent);opacity:.85}.ram-thr{stroke:var(--cs-red);stroke-width:1.6;stroke-dasharray:7 5}.ram-big{fill:var(--ink);font-size:26px;font-weight:800;text-anchor:middle}.ram-plot{fill:var(--bg);stroke:var(--line);stroke-width:1.2}.ram-curve{fill:none;stroke:var(--ui-accent);stroke-width:3;stroke-linejoin:round}.ram-ev{stroke-width:1.5;opacity:.7}.ram-ev.is-w{stroke:var(--cs-blue)}.ram-ev.is-r{stroke:var(--cs-green)}.ram-ev.is-f{stroke:var(--ink-soft);stroke-dasharray:3 4}.ram-canvas.is-lost .ram-tank{stroke:var(--cs-red)}.ram-readout,.cp-viewer--full .ram-readout{grid-template-columns:repeat(2,minmax(0,1fr))}.ram-readout--3,.cp-viewer--full .ram-readout--3{grid-template-columns:repeat(3,minmax(0,1fr))}.ram-textrow{display:flex;gap:.5rem}.ram-textrow .cs-input{flex:1 1 auto;min-width:0}.ram-textrow .ui-btn{flex:0 0 auto}.ram-char{max-width:5rem;text-align:center}.ram-bad{color:var(--cs-red);font-size:.78rem;font-weight:600}.ram-note{margin:0;color:var(--ink-soft);font-size:.8rem;line-height:1.45}@media(max-width:600px){.ram-lbl{font-size:18px}.ram-small,.ram-wl{font-size:16px}.ram-celltxt,.ram-addr,.ram-val{font-size:15px}}
