.raga-editor-switch{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.chords-view-active #sequenceTabs,.chords-view-active #sequenceText,.chords-view-active .trajectory-toolbar{display:none!important}
.chords-view-active .composition-toolbox{display:none!important}
#ragaChordsView[hidden]{display:none!important}
#ragaChordsView{background:white;color:#19183f;min-width:0}
.chords-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px;background:#f8f8fc;flex-wrap:wrap}
.chords-controls label{display:grid;gap:4px;min-width:160px;font-size:14px}.chords-controls select{min-height:44px;max-width:100%;font-size:16px}
.chord-guitar-status button{min-height:44px;padding:8px 12px;border:1px solid #ceced9;border-radius:10px;background:white;color:#24234f}

.chord-guitar-status,.chords-empty{padding:14px;font-size:14px}.chord-guitar-status button{display:block;margin-top:8px}.harmony-candidate.is-view-selected{outline:2px solid #d59030;outline-offset:-2px}
.chord-arrangement-controls{display:inline-flex;align-items:stretch;max-width:100%;gap:4px;border:1px solid #ceced9;border-radius:10px;background:#fff}
.chord-arrangement-controls button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;min-width:44px;margin:0;border:0;font-size:24px;background:transparent}
.chord-arrangement-controls button:disabled{opacity:.4}
.chord-arrangement-caption{display:grid;align-content:center;gap:3px;min-width:0;padding:6px 4px;text-align:center}
.chord-arrangement-caption output{font-size:12px;color:#66667a;font-variant-numeric:tabular-nums}

.guitar-note-marker.guitar-chord-note{background:#b65c08;color:#fff;border:2px solid #743703;z-index:8;font-weight:700}.piano-key.piano-chord-note{background:var(--chord-piano-fill,#b65c08)!important;color:var(--chord-piano-ink,#fff);box-shadow:inset 0 0 0 2px var(--chord-piano-border,#743703)}.piano-key.piano-chord-note .piano-key-label{color:var(--chord-piano-ink,#fff)}.piano-chord-shared .piano-key-label{text-shadow:0 1px 1px #172030,-1px 0 1px #172030,1px 0 1px #172030}.composition-chord-title{font-size:14px;font-weight:700;fill:currentColor}
.guitar-note-marker.guitar-chord-inversion{background:var(--chord-inversion-fill);color:var(--chord-inversion-ink);border-color:var(--chord-inversion-border);box-shadow:none}
.guitar-chord-picker{display:grid;flex:1 1 100%;width:100%;min-width:0;gap:6px;margin-top:6px}
.guitar-chord-picker[hidden]{display:none}
.guitar-chord-picker>strong{font-size:16px;color:#19183f}
.guitar-chord-degree-choices{display:grid;gap:3px;min-width:0}
.guitar-fretboard-options label.guitar-chord-degree-choice{display:flex;align-items:center;gap:7px;min-height:32px;min-width:0;font-size:14px;line-height:1.35;font-weight:650;cursor:pointer}
.guitar-chord-degree-choice input{flex:0 0 auto}
.guitar-chord-degree-choice i{flex:0 0 12px;width:12px;height:12px;border:2px solid;border-radius:50%;box-sizing:border-box}
.guitar-chord-degree-choice span{min-width:0;overflow-wrap:anywhere}
.guitar-chord-inversion-controls{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;margin-top:5px;min-width:0}
.guitar-chord-inversion-arrows{display:flex;align-items:center;gap:4px;flex:0 0 auto}
.guitar-chord-inversion-arrows button{width:44px;min-width:44px;height:44px;padding:0;font-size:20px;line-height:1}
.guitar-chord-inversion-arrows output{min-width:70px;max-width:90px;text-align:center;font-size:14px;font-weight:650;color:#19183f}
.guitar-fretboard-options label.guitar-chord-inversions-toggle{min-height:44px;margin:0;font-size:14px;white-space:nowrap}
.guitar-note-marker.guitar-chord-shared{border:0;background:var(--chord-shared-fill);color:#fff;box-shadow:none}
.guitar-chord-shared .guitar-chord-note-label{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;border-radius:50%;background:transparent;color:#fff;font:inherit;line-height:1;text-shadow:0 1px 1px #172030,-1px 0 1px #172030,1px 0 1px #172030,0 -1px 1px #172030}
.guitar-chord-inversion-legend{display:flex;flex-wrap:wrap;gap:8px 16px;padding:8px clamp(8px,2vw,24px);font-size:14px;font-weight:700;color:#24234f;background:#fff}
.guitar-chord-inversion-legend[hidden]{display:none}
.guitar-chord-inversion-legend span{display:inline-flex;align-items:center;gap:6px}
.guitar-chord-inversion-legend i{display:inline-block;flex:0 0 auto;width:12px;height:12px;border:2px solid;border-radius:50%;box-sizing:border-box}
#guitarChordControlsMount{min-width:0;width:100%}
#guitarChordControlsMount .chords-controls{padding:8px 0;background:transparent}
#guitarChordControlsMount .chords-controls label{color:#19183f;font-weight:650}
#guitarChordControlsMount .chord-guitar-status{padding:6px 0}
.composition-staff .event[data-chord-color] .head{stroke:var(--chord-display-color);stroke-width:2}
.composition-staff .event[data-chord-color] .head:not(.open){fill:var(--chord-display-color)}
.composition-staff .event[data-chord-color] .head.open{fill:#fff;stroke:var(--chord-display-color);stroke-width:3}
.composition-staff .event[data-chord-color] .lane-value,.composition-staff .event[data-chord-color] .acc,.composition-staff .score-layer-event[data-chord-color] .score-tab-digit{fill:var(--chord-display-color);color:var(--chord-display-color)}
.composition-staff .event[data-chord-color] .stem,.composition-staff .event[data-chord-color] .ledger,.composition-staff .event[data-chord-color] .note-flag{stroke:var(--chord-display-color)}
.guitar-note-marker.guitar-chord-note.is-chord-root{box-shadow:0 0 0 1.25px #fff,0 0 0 2.5px #111}
.piano-key.piano-chord-note.is-chord-root{box-shadow:inset 0 0 0 1.25px #111,inset 0 0 0 2.5px #fff,inset 0 0 0 3.75px #111}
.composition-staff .chord-root-halo ellipse{fill:none;stroke-width:1.25;pointer-events:none}
.composition-staff .chord-root-halo-outer{stroke:#111}
.composition-staff .chord-root-halo-inner{stroke:#fff;stroke-width:1.25}
.composition-staff .event.is-chord-root .lane-value{font-weight:900;text-decoration:underline;text-underline-offset:3px}
