/* Chord Lab Band menu and moved Edit progression button (lab-band.mjs).
   Phones change bands from the Band sheet and don't show Edit progression. */
.lab-band-choice{display:flex;align-items:center;gap:10px;margin-left:auto;align-self:center;color:var(--muted);font-size:.75rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.lab-band-choice select{min-height:44px;padding:10px 12px;font-size:.9rem;width:190px;letter-spacing:0;text-transform:none;font-weight:400}
.lab-transport .lab-play-actions{align-self:center}
.lab-band-choice+.lab-play-actions{margin-left:0}
.learn-heading .learn-edit-progression{min-height:38px;padding:8px 14px;font-size:.8rem;white-space:nowrap;flex:none}
@media(max-width:1000px){.lab-band-choice select{width:160px}}
@media(max-width:700px){.lab-band-choice{display:none}}
/* Progression editor: the bar a palette tap changes, the Add bar tile and the palette prompt. */
#builder .chord-card.edit-target{outline:2px solid var(--accent);outline-offset:2px;box-shadow:0 0 0 6px color-mix(in srgb,var(--accent) 18%,transparent)}
#builder .chord-card.add-bar{border-style:dashed;color:var(--accent);background:transparent;display:grid;place-content:center;text-align:center}
#builder .chord-card.add-bar strong{font-size:1.4rem;line-height:1}
#labPalette.is-editing #paletteTitle{color:var(--accent)}
#labPalette.is-editing .chord-palette{outline:2px dashed var(--accent);outline-offset:6px;border-radius:12px}
.edit-chords{display:flex;flex-wrap:wrap;gap:8px}
.edit-chords .palette-chord[aria-pressed="true"]{outline:2px solid var(--accent);outline-offset:1px}
/* Chord Lab Key box matches the Mode menu beside it (same height and top). */
@media(min-width:701px){#labKeyHost .key-picker{margin-top:7.5px}#labKeyHost .key-picker-trigger{min-height:38px;height:38px;padding:0 10px;line-height:1.2;box-sizing:border-box}}
/* Compact editor: chords in one row, then Remove/Reset and the common loops on one line. */
#editorControls.lab-editor{display:grid;grid-template-columns:auto auto minmax(0,1fr);align-items:center;column-gap:14px;row-gap:10px;padding:14px 16px;margin:12px 0}
#editorControls>#builderHelp,#editorControls>.edit-chords-label,#editorControls>.edit-chords{grid-column:1/-1;margin:0}
#editorControls>#builderHelp{font-size:.88rem}
.edit-chords-label{font-weight:700;font-size:.9rem}
.edit-chords .palette-chord{min-width:64px;padding:8px 12px}
.edit-chords .palette-chord strong{font-size:1.05rem}
.edit-chords .palette-chord span{margin-top:2px;font-size:.72rem}
#editorControls .editor-actions{margin:4px 0 0}
#editorControls .preset-label{margin:4px 0 0;white-space:nowrap}
#editorControls .preset-row{margin:4px 0 0}
#editorControls .preset-row button{padding:6px 12px;font-size:.8rem}
@media(max-width:1000px){#editorControls.lab-editor{grid-template-columns:1fr}#editorControls .preset-label,#editorControls .preset-row,#editorControls .editor-actions{grid-column:1/-1}}
