#p-songid .song-id-action-title,.song-chords h2{font-family:var(--fn);font-size:1.25rem;color:var(--tx);margin:0 0 8px}
#p-songid .page-title__sub{font-family:var(--fb);font-size:1rem!important;line-height:1.5!important;white-space:normal;color:var(--td)}
#p-songid .song-id-action-copy,.song-chords p,.song-chords summary,.song-chords label{font-family:var(--fd);font-size:1rem;line-height:1.5;color:var(--td)}
.song-chords{--chord-surface:#211e1a;--chord-inset:#2c2823;--chord-copy:#d9d2c8;background:var(--chord-surface);border:1px solid var(--bd);padding:20px;overflow-wrap:anywhere}
#p-songid #songChords{background:var(--chord-surface)!important}
.song-chords p,.song-chords summary,.song-chords label{color:var(--chord-copy)}
#songChords input[type=file],#songChords button,#songChords details,#songChords .song-chords-timeline li{background:var(--chord-inset)}
#songChordsStart{background:var(--a5)!important}
.song-chords p{margin:8px 0 14px}.song-chords label{display:block;font-weight:600;margin:12px 0 6px}
.song-chords input[type=file]{display:block;max-width:100%;width:100%;box-sizing:border-box;font:inherit;color:var(--tx);padding:10px;border:1px solid var(--bd);border-radius:8px;background:var(--s2)}
.song-chords input::file-selector-button,.song-chords button{font-family:var(--fd);font-size:1rem;line-height:1.3;min-height:44px;padding:10px 14px;border:1px solid var(--bd);border-radius:8px;background:var(--s2);color:var(--tx);cursor:pointer;white-space:normal}
.song-chords input::file-selector-button{margin-right:12px}.song-chords button:disabled{opacity:.55;cursor:default}
.song-chords button:focus-visible,.song-chords input:focus-visible,.song-chords summary:focus-visible{outline:3px solid var(--a5);outline-offset:3px}
.song-chords-actions{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.song-chords-actions button:first-child{background:var(--a5);color:var(--bg);font-weight:700}
.song-chords audio{width:100%;max-width:540px;display:block}.song-chords details{padding:12px;border:1px solid var(--bd);border-radius:8px;background:var(--s2)}
.song-chords summary{cursor:pointer;font-weight:600}.song-chords .song-chords-consent{font-weight:500}
.song-chords-job{border-top:1px solid var(--bd);padding:16px 0}.song-chords-job h3{font-family:var(--fn);font-size:1.05rem;margin:0 0 8px;color:var(--tx)}
.song-chords-job button{margin:0 8px 8px 0}.song-chords-timeline{list-style:none;margin:12px 0 0;padding:0;max-height:420px;overflow:auto;border:1px solid var(--bd);border-radius:8px}
.song-chords-timeline li{display:grid;grid-template-columns:minmax(145px,1fr) minmax(80px,2fr);gap:12px;padding:12px 16px;border-bottom:1px solid var(--bd);background:var(--s2);color:var(--tx);font-size:1rem}
.song-chords-timeline li:last-child{border-bottom:0}.song-chords-timeline time{font-family:var(--fm);font-size:.9rem;font-variant-numeric:tabular-nums}.song-chords-timeline strong{font-family:var(--fd)}
#songChords .song-chords-timeline .song-chords-gap{background:repeating-linear-gradient(135deg,var(--chord-surface),var(--chord-surface) 8px,var(--chord-inset) 8px,var(--chord-inset) 16px);color:var(--chord-copy)}
body.light .song-chords{--chord-surface:#f4efe6;--chord-inset:#e7e0d5;--chord-copy:#423a30}
@media(max-width:480px){.song-chords{padding:14px}.song-chords-actions{display:grid;grid-template-columns:1fr}.song-chords-actions button{width:100%}.song-chords-timeline li{grid-template-columns:1fr;gap:3px;padding:10px 12px}.song-chords input::file-selector-button{display:block;margin:0 0 8px}}
