/* SolidWorks weldment viewer: BoM rows linked to parts, clickable weld sequence. Layout comes from scene-panels.css. */
.weld-bom td:nth-child(2) strong { display: block; color: var(--text); font-family: var(--font); font-size: .8rem; font-weight: 650; }
.weld-bom td:nth-child(2) span { color: var(--muted); font-size: .66rem; }
.weld-bom td:first-child { width: 30px; color: var(--accent); font-weight: 700; vertical-align: top; }
.weld-bom tr { cursor: default; transition: background .15s; }
.weld-bom tr.is-lit td { background: #ff6a1a1f; }

.weld-list { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.weld-list button { display: grid; grid-template-columns: 30px 1fr auto; gap: 8px; align-items: center; width: 100%; padding: 5px 6px; border: 0; border-radius: 6px; background: transparent; color: var(--text-2); font-family: var(--font-mono); font-size: .7rem; text-align: left; cursor: pointer; }
.weld-list button:hover { background: #ffffff0d; color: var(--text); }
.weld-list b { color: var(--muted); }
.weld-list span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.weld-list i { position: relative; font-style: normal; color: transparent; }
.weld-list .is-current i::before { position: absolute; inset: 0; }
.weld-list .is-done b, .weld-list .is-done i { color: var(--green); }
.weld-list .is-current button { background: #ff6a1a26; color: var(--text); }
.weld-list .is-current b { color: var(--accent); }
.weld-list .is-current i { color: transparent; }
.weld-list .is-current i::before { content: "●"; color: var(--accent); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.weld-stats dd { max-width: 34ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
