/* Scene Builder (Mode E) — inherits canvas.css */
@import './canvas.css';

/* History strip above chat thread — shows committed commands */
.scene-history {
  max-height: 80px;
  overflow-y: auto;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  background: var(--bg-surface);
  flex-shrink: 0;
}

.scene-history-item {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  background: color-mix(in srgb, var(--green) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--green) 30%, transparent);
  color: var(--green);
  white-space: nowrap;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: default;
}

/* Toolbar beneath input row */
.scene-toolbar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-top: 1px solid var(--border);
  background: var(--bg-surface);
  flex-shrink: 0;
}

.scene-count {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--text-secondary);
}
