.nstep-machine{margin:28px 0;min-width:0}
.nstep-machine .trace-header p{max-width:73ch}
.nstep-machine .ns-controls{margin:18px 0}
.nstep-machine .ns-actions,.nstep-machine .ns-code-tabs{display:flex;gap:7px;flex-wrap:wrap;margin:16px 0}
.nstep-machine button{border:1px solid var(--border);border-radius:7px;padding:8px 11px;background:var(--surface);color:var(--text);font:inherit;font-size:13px;cursor:pointer}
.nstep-machine button[aria-pressed="true"]{background:var(--text);border-color:var(--text);color:var(--surface)}
.nstep-machine button:focus-visible{outline:2px solid var(--text);outline-offset:2px}
.nstep-machine .ns-content{min-width:0}
.nstep-machine .ns-content>p{font-size:14px;line-height:1.8}
.nstep-machine .ns-figure{margin:16px 0;padding:14px;border:1px solid var(--border);border-radius:8px;background:#fff;color:#1d1f22}
.nstep-machine .ns-figure svg{display:block;width:100%;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;font-size:12px;fill:currentColor}
.nstep-machine .ns-figure figcaption{margin-top:8px;font-size:12px;line-height:1.65;color:#4b5057}
.nstep-machine .ns-conveyor,.nstep-machine .ns-machine,.nstep-machine .ns-gear{fill:none;stroke:currentColor;stroke-width:2}
.nstep-machine .ns-part{stroke:currentColor;stroke-width:1.5}
.nstep-machine .ns-gain{fill:white}
.nstep-machine .ns-loss{fill:#d9dce0}
.nstep-machine .ns-axis,.nstep-machine .ns-exact,.nstep-machine .ns-tick{fill:none;stroke:#9299a1;stroke-width:1}
.nstep-machine .ns-one{fill:none;stroke:#888f96;stroke-width:1.4}
.nstep-machine .ns-many{fill:none;stroke:#17191b;stroke-width:2.4}
.nstep-machine .ns-shade{fill:#d9dce0;stroke:none}
.nstep-machine .ns-truth{fill:none;stroke:#626870;stroke-width:1.2;stroke-dasharray:5 4}
.nstep-machine .ns-sample{fill:none;stroke:#17191b;stroke-width:2.2}
.nstep-machine .ns-dot{fill:#aab0b6;stroke:none}
.nstep-machine .ns-selected{fill:#17191b}
.nstep-machine .ns-running{fill:none;stroke:#17191b;stroke-width:2}
.nstep-machine .ns-table-wrap{overflow-x:auto;border:1px solid var(--border);border-radius:7px}
.nstep-machine .ns-table-wrap table{width:100%;border-collapse:collapse;font-size:12px}
.nstep-machine .ns-table-wrap th,.nstep-machine .ns-table-wrap td{padding:7px 9px;text-align:right;border-bottom:1px solid var(--border);white-space:nowrap}
.nstep-machine .ns-table-wrap th:first-child{text-align:left}
.nstep-machine .ns-table-wrap tbody tr:last-child th,.nstep-machine .ns-table-wrap tbody tr:last-child td{border-bottom:0;font-weight:600}
.nstep-machine .ns-equation code{display:inline-block;max-width:100%;overflow-x:auto;padding:7px 10px;border:1px solid var(--border);border-radius:6px;background:var(--surface);font-size:13px}
.nstep-machine .ns-code-tabs{margin-top:22px}
.nstep-machine details{font-size:13px}
.nstep-machine details pre{max-width:100%;overflow:auto}
@media(max-width:600px){.nstep-machine .ns-figure{padding:7px}.nstep-machine .ns-actions button{font-size:12px;padding:7px 9px}.nstep-machine .ns-table-wrap th,.nstep-machine .ns-table-wrap td{padding:6px 5px;font-size:11px}}
