.diagram-figure.chip-view { box-sizing:border-box; width:100%; max-width:642px; margin-inline:auto; }
.chip-view .diagram-heading { gap:3px; padding:8px 14px; }
.chip-view .diagram-title { font-size:20px; }
.chip-view .diagram-controls { padding:8px 12px; }
.chip-view .diagram-breakpoints { margin-top:6px; }
.chip-view .diagram-text { padding:5px 14px; }
.chip-canvas { max-height:432px; overflow-y:auto; background:var(--paper-2); }
.chip-compact :is(.chip-detail,.chip-pad-label,.chip-stamp) { font-size:13px; }
.chip-view .lane-card[data-selected] { outline:2px solid var(--block-color); outline-offset:-2px; }
.chip-view :focus-visible { outline:3px solid var(--focus); outline-offset:-3px; }
.chip-die { display:block; max-width:100%; height:auto; margin:auto; fill:var(--ink); font:14px var(--sans); }
.chip-package { fill:var(--paper-2); stroke:var(--rule-strong); stroke-width:2; }
.chip-silicon { fill:var(--paper); stroke:var(--rule); }
.chip-sites { fill:var(--rule); stroke:var(--rule-strong); stroke-width:.6; }
.chip-card { fill:var(--block-tint); stroke:var(--block-color); stroke-width:1.4; }
.chip-die [data-kind="bus"] .chip-card { fill:var(--block-color); }
.chip-die [data-kind="bus"] :is(text,.role-icon) { fill:var(--on-accent); }
.chip-die [data-kind="bus"] .role-icon { fill:none; stroke:var(--on-accent); }
.chip-band-name { font-weight:700; }
.chip-detail,.chip-pad-label,.chip-stamp { font-family:var(--mono); }
.chip-detail,.chip-pad-label { font-size:12px; }
.chip-stamp { font-size:12px; fill:var(--muted); }
.chip-wires path { fill:none; stroke:var(--block-color,var(--muted)); stroke-width:1.7; stroke-dasharray:var(--signal-dash,none); }
.chip-wires [data-signal-kind="clock"] { stroke-width:1.2; stroke-dasharray:4 3; }
.chip-view[data-focused] [data-chip-node]:not([data-selected]) { opacity:.45; }
.chip-view[data-focused] [data-chip-edge]:not([data-selected]) { opacity:.32; }
.chip-view [data-selected] .chip-card { stroke-width:3; filter:drop-shadow(0 0 3px var(--block-color)); }
.chip-view [data-chip-edge][data-selected] { stroke:var(--accent); stroke-width:2.6; }
.chip-view [data-chip-dot] { fill:var(--accent); stroke:var(--paper); stroke-width:2; }
.chip-view [data-chip-status] { margin:0; padding:8px 14px; color:var(--ink); font:400 14px/1.4 var(--sans); }
.chip-view [data-chip-controls][hidden] { display:none; }
@media (prefers-reduced-motion: reduce) { .chip-view [data-chip-dot] { display:none; } }
