/* Robot viewer (where the actuator lives) */
.robot { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px 10px; margin: 1.4rem 0; }
.robot .rb-toolbar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 6px; }
.robot .rb-speed { display: flex; align-items: center; gap: 10px; font-size: .85rem; color: var(--ink-2); }
.robot .rb-speed input { width: 180px; accent-color: var(--accent); }
.robot .rb-hover { margin-left: auto; font-size: .82rem; color: var(--muted); }
.robot .rb-canvas { position: relative; background: radial-gradient(ellipse at 50% 40%, var(--surface-2), var(--surface)); border-radius: 8px; overflow: hidden; }
.robot .rb-canvas canvas { display: block; cursor: grab; }
.robot .rb-canvas canvas:active { cursor: grabbing; }
.robot .rb-canvas svg.rb-leaders { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; background: none; border: 0; margin: 0; border-radius: 0; }
.robot .rb-labels { position: absolute; inset: 0; pointer-events: none; }
.robot .rb-label { position: absolute; transform: translateY(-50%); background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 2px 7px; font-size: .74rem; line-height: 1.25; color: var(--ink); white-space: nowrap; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.robot .rb-label b { font-weight: 650; }
