/* iCifra 0.8.39 — compact player typography.
   One shared small-label style, taken from the existing "4 acordes" label of the chord panel (10px / 14px, regular,
   muted). Section labels, chord names on diagram cards and the player's supporting labels all use it, and the space
   around them is reduced so the layout itself gets shorter. Lyric size (--sheet-size) and touch targets are untouched. */
:root{
 --label-sm-size:10px;          /* reference: "4 acordes" (#trayPageStatus) */
 --label-sm-line:14px;
 --label-sm-weight:400;
 --label-sm-strong:600;         /* emphasis without heavy bold */
 --label-sm-tracking:.04em;     /* only for uppercase labels */
 --label-sm-color:var(--muted);
}
/* the reference itself reads the token, so it stays the single source */
#chordTray .tray-pager,#chordTray #trayPageStatus{font-size:var(--label-sm-size);line-height:var(--label-sm-line);font-weight:var(--label-sm-weight);color:var(--label-sm-color)}

/* Section labels (PART 1, REFRÃO…): small, close to their lyrics */
#chordSheet .section-label{font-size:var(--label-sm-size);line-height:var(--label-sm-line);font-weight:var(--label-sm-strong);letter-spacing:var(--label-sm-tracking);margin:0 0 1px;padding:0 0 1px;min-height:0}
#chordSheet .section-label+.song-line{padding-top:0}
#chordSheet .song-section{margin-bottom:.6em}
#chordSheet .song-section:last-child{margin-bottom:0}
/* a chord-only row needs no more than its own content */
#chordSheet .song-line.chord-only:not(.blank){min-height:0}

/* Chord names on the diagram cards: same size, chord colour, moderate weight; tighter card padding */
#chordTray .chord-chip>strong{font-size:var(--label-sm-size);line-height:var(--label-sm-line);font-weight:var(--label-sm-strong);letter-spacing:0}
#chordTray .chord-chip{padding:2px;gap:0}

/* Supporting labels in the player */
#playerToolbar .tool-label,#playerToolbar .tool-toggle small,#playerToolbar #smartSimplifyBtn small,#playerToolbar .panel-position-control>span,#playerToolbar #keyTargets{font-size:var(--label-sm-size);line-height:1;font-weight:var(--label-sm-weight);letter-spacing:0;color:var(--label-sm-color)}
#chordTray .tray-scope button,#chordTray #diagramZoomValue,#chordTray #diagramFit,#chordTray #mirrorBtn,#chordTray .dock-section{font-size:var(--label-sm-size);line-height:var(--label-sm-line)}
#chordTray #mirrorBtn,#chordTray #diagramZoomValue{color:var(--label-sm-color)}
.song-heading #songMeta{font-size:var(--label-sm-size);line-height:var(--label-sm-line);font-weight:var(--label-sm-strong);letter-spacing:var(--label-sm-tracking)}
.song-notes small{font-size:var(--label-sm-size);line-height:var(--label-sm-line);letter-spacing:var(--label-sm-tracking)}

/* Less padding above the first section */
.song-stage>.sheet-viewport{padding-top:10px}
@media print{#chordSheet .section-label{font-size:10pt}}
