/* ORTHO//QUBIT: the shared lab layout (../assets/theme.css) plus the circuit tape. */
.gates { display: flex; flex-wrap: wrap; gap: 5px; }
.gate {
  position: relative; border: 1px solid var(--line-hot); background: transparent; color: var(--dim); cursor: pointer;
  font-family: var(--font-data); font-size: 12px; padding: 4px 16px 4px 8px; line-height: 1.3;
}
.gate:first-child { padding-right: 8px; }
.gate.done { color: var(--ink); border-color: color-mix(in srgb, var(--cyan) 55%, transparent); }
.gate:hover { border-color: var(--cyan); }
.gate[aria-pressed="true"] { border-color: var(--amber); color: var(--amber); box-shadow: 0 0 10px color-mix(in srgb, var(--amber) 30%, transparent); }
.gate i { position: absolute; right: 4px; top: 2px; font-style: normal; font-size: 10px; font-weight: 600; }
.gate i.pos { color: var(--cyan); }
.gate i.neg { color: var(--magenta); }
#turnChips #addTurn { margin-left: auto; }
