.song-library { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(0, 2fr); gap: 16px; align-items: start; }
.song-browser { padding: 16px; min-width: 0; }
.song-browser label, .song-set-picker label { display: block; margin-bottom: 8px; }
.song-browser input { width: 100%; }
#song-results { margin-top: 12px; max-height: 62vh; overflow-y: auto; }
.song-entry { display: grid; width: 100%; min-width: 0; gap: 4px; padding: 12px; margin-bottom: 4px; text-align: left; border: 1px solid transparent; border-radius: 8px; background: transparent; color: inherit; overflow-wrap: anywhere; }
.song-entry[aria-current="true"], .song-entry:hover { border-color: #df2437; background: #25191c; }
.song-entry span, .song-entry small { color: #b8b2b4; }
.song-actions { margin-block: 14px; }
.song-sections { display: grid; gap: 16px; margin-top: 20px; }
.song-sections h3 { margin: 0 0 6px; }
.song-detail, .song-detail h2 { min-width: 0; overflow-wrap: anywhere; }
.song-detail .song-sheet { white-space: pre; overflow: auto; max-width: 100%; }
.song-set-picker select { max-width: 100%; margin: 0 8px 8px 0; }
#f-lyrics, #f-chords, #f-notation { font-family: ui-monospace, Consolas, monospace; }
@media (max-width: 720px) {
  .song-library { grid-template-columns: minmax(0, 1fr); }
  #song-results { max-height: 240px; }
}

