/* FW2-METRIC-008 — Run Theatre scrubber panel (additive). */
.run-theatre-panel {
  margin-top: 0.75rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 8px;
  background: rgba(8, 12, 22, 0.45);
}

.run-theatre-panel h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.run-theatre-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.5rem;
}

.run-theatre-controls input[type="text"] {
  min-width: 10rem;
  flex: 1 1 10rem;
}

#run-theatre-scrubber {
  width: 100%;
  margin: 0.35rem 0;
}

#run-theatre-event-list {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.3rem;
  max-height: 12rem;
  overflow: auto;
}

.run-theatre-event {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.15rem 0.65rem;
  padding: 0.35rem 0.45rem;
  border-left: 3px solid rgba(56, 189, 248, 0.55);
  background: rgba(15, 23, 42, 0.55);
}

.run-theatre-event:focus {
  outline: 2px solid rgba(56, 189, 248, 0.7);
  outline-offset: 1px;
}

.run-theatre-event[data-theatre-kind="route"] { border-left-color: #94a3b8; }
.run-theatre-event[data-theatre-kind="load"] { border-left-color: #38bdf8; }
.run-theatre-event[data-theatre-kind="generation"] { border-left-color: #22d3ee; }
.run-theatre-event[data-theatre-kind="validator"] { border-left-color: #a78bfa; }
.run-theatre-event[data-theatre-kind="repair"] { border-left-color: #fbbf24; }
.run-theatre-event[data-theatre-kind="tool"] { border-left-color: #f59e0b; }
.run-theatre-event[data-theatre-kind="artifact"] { border-left-color: #34d399; }

.run-theatre-kind {
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
}

.run-theatre-meta {
  grid-column: 1 / -1;
  font-size: 0.7rem;
}

#run-theatre-position,
#run-theatre-current,
#run-theatre-status {
  margin: 0.25rem 0 0;
  font-size: 0.75rem;
}
