/* strum-chord-lane.css — per-bar chord chips for the strumming editor.
 * Structure/behaviour lives in assets/js/suite/strum-chord-lane.js; all
 * appearance is here using design tokens, dark-first + theme-safe.
 * Prefix: .strum-cl-  (see CLAUDE.md). */

.strum-cl {
  font-family: var(--font-ui, system-ui, sans-serif);
  color: var(--text-1, #ece6df);
}

.strum-cl-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

/* ── Chip — one bar's chord ─────────────────────────────────────────────── */
.strum-cl-chip {
  min-width: 46px;
  padding: 4px 10px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-1, #ece6df);
  background: var(--surface, #1c1a18);
  border: 1px solid var(--border, #3a3531);
  border-radius: 7px;
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}
.strum-cl-chip:hover,
.strum-cl-chip:focus-visible {
  border-color: var(--accent, #e8874a);
  outline: none;
}

/* Unset bar: dashed '+' invite. */
.strum-cl-chip--empty {
  color: var(--text-2, #a89f95);
  font-weight: 400;
  border-style: dashed;
}

/* Currently-playing bar (transport highlight via .setActiveBar). */
.strum-cl-chip.is-now {
  border-color: var(--accent, #e8874a);
  color: var(--accent, #e8874a);
  box-shadow: 0 0 0 1px var(--accent, #e8874a) inset;
}

/* ── Inline editor ──────────────────────────────────────────────────────── */
.strum-cl-cell--editing {
  display: inline-flex;
}

.strum-cl-input {
  width: 64px;
  padding: 4px 8px;
  font: inherit;
  font-size: 13px;
  color: var(--text-1, #ece6df);
  background: var(--surface-2, #26221f);
  border: 1px solid var(--accent, #e8874a);
  border-radius: 7px;
}
.strum-cl-input:focus {
  outline: none;
  box-shadow: 0 0 0 1px var(--accent, #e8874a) inset;
}
.strum-cl-input::placeholder {
  color: var(--text-2, #a89f95);
  opacity: .7;
}
