/* Classfern Music – Chord Player: first screen (the player's styles load with the player: chords-app.css) */
.ch-start{display:grid;gap:12px}
.ch-modes{border:1px solid var(--line);border-radius:12px;padding:8px 12px;margin:0;display:flex;flex-wrap:wrap;gap:8px 18px}
.ch-modes legend{font-weight:700;padding:0 4px}
.ch-mode{display:flex;gap:8px;align-items:flex-start;min-height:44px;cursor:pointer;flex:1 1 240px}
.ch-mode input{width:20px;height:20px;margin-top:3px;accent-color:var(--brand);flex:none}
.ch-mode span{display:flex;flex-direction:column}.ch-mode small{color:var(--muted);font-size:.85rem}
.ch-sources{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
.ch-src{display:flex;flex-direction:column;gap:6px;background:var(--surface-2);border-radius:12px;padding:12px}
.ch-src .btn{width:100%;flex:none}
.ch-more{display:flex;flex-wrap:wrap;gap:8px}.ch-more .btn{flex:0 1 auto}
.ch-msg{color:var(--ink);background:var(--warn-bg);border:1px solid var(--warn-line);border-radius:10px;padding:8px 12px;margin:4px 0}
.ch-msg:empty{display:none}
.ch-list{list-style:none;padding:0;margin:4px 0;display:grid;gap:4px}
.ch-link{font:inherit;font-weight:650;background:none;border:0;padding:8px 0;min-height:44px;color:var(--brand-2);text-decoration:underline;cursor:pointer;text-align:left}
.ch-loading{opacity:.6;cursor:progress}
.sr-file:focus-visible+label{outline:3px solid var(--brand);outline-offset:2px}
