/* Lyric sheets on paper (ui/lyric-sheet.js), linked with media="print": while a sheet is ready (body.printing-sheet)
   the window is hidden and only #print-sheet prints (without the class, ⌘P prints the app as it is), a US Letter page per .sheet-page with no browser margins (the kit's layout keeps its own 54 pt margin).
   Colours, fonts and sizes are the Mac's LyricSheetRenderer: paper #FFFDF8, ink #1B241B, black titles and section
   names, muted #6B7A69, Anton for titles and sections, Courier Prime 11 pt for the body. --sheet-accent is the
   song's accent (its art's colour on paper, else the theme green), set on each page. */
@page { size: letter; margin: 0; }
html:has(> body.printing-sheet), body.printing-sheet { height: auto; margin: 0; padding: 0; overflow: visible; background: #FFFDF8; }
body.printing-sheet > :not(#print-sheet) { display: none !important; }
body.printing-sheet > #print-sheet { display: block; }
body:not(.printing-sheet) > #print-sheet { display: none; }

.sheet-page {
  position: relative; width: 8.5in; height: 11in; overflow: hidden; background: #FFFDF8; color: #1B241B;
  print-color-adjust: exact; -webkit-print-color-adjust: exact; break-after: page;
}
.sheet-page:last-child { break-after: auto; }
.sheet-page > * { position: absolute; margin: 0; }

.sheet-text { white-space: pre; line-height: normal; font: 400 11pt "Courier Prime", monospace; color: #1B241B; }
.sheet-fit { overflow: hidden; text-overflow: ellipsis; }
.sheet-byline { font-weight: 700; font-size: 9pt; letter-spacing: 1.6pt; color: #6B7A69; }
.sheet-title { font-family: "Anton", sans-serif; color: #000000; }
.sheet-details { font-size: 10pt; color: #6B7A69; }
.sheet-section { font-family: "Anton", sans-serif; font-size: 12pt; letter-spacing: 1.2pt; color: #000000; }
.sheet-chords { font-weight: 700; color: var(--sheet-accent); }
.sheet-words { color: #1B241B; }
.sheet-continued { font-size: 9pt; color: #6B7A69; }
.sheet-footer { font-size: 7.5pt; color: #6B7A69; }
.sheet-art { display: block; width: 84pt; height: 84pt; }
.sheet-rule { background: var(--sheet-accent); }

/* Chord boxes in ink, dots in the accent (chord-diagram.js gives them their fill). */
.sheet-diagram .chord-diagram { display: block; }
.sheet-diagram .chord-diagram text { font-family: "Courier Prime", monospace; }
.sheet-diagram .chord-diagram .chord-name { font-size: 10px; font-weight: 700; fill: #1B241B; }
.sheet-diagram .chord-diagram .chord-mute { font-size: 8px; fill: #6B7A69; }
.sheet-diagram .chord-diagram .chord-open { font-size: 8px; fill: #1B241B; }
.sheet-diagram .chord-diagram .chord-first-fret { font-size: 8px; font-weight: 400; fill: #6B7A69; }
.sheet-diagram .chord-diagram line { stroke: #1B241B; stroke-opacity: 0.7; stroke-width: 0.6; }
.sheet-diagram .chord-diagram .chord-nut { stroke: #1B241B; stroke-opacity: 1; stroke-width: 2; }

/* A set list on paper (ui/setlist-page.js printList): big type for the stage floor. */
.setlist-sheet { padding: 0.6in; color: #000; background: #fff; font-family: -apple-system, "Helvetica Neue", Arial, sans-serif; }
.setlist-sheet h1 { font: 400 30pt Anton, sans-serif; margin: 0; }
.setlist-sheet-when { font-size: 14pt; margin: 4pt 0 14pt; }
.setlist-sheet-song { display: flex; align-items: baseline; gap: 12pt; font-size: var(--size); margin: calc(var(--size) * 0.3) 0; }
.setlist-sheet-song .n { width: 1.4em; text-align: right; font-weight: 700; font-size: 0.7em; }
.setlist-sheet-song .t { font-weight: 700; }
.setlist-sheet-song .k { font-size: 0.6em; }
.setlist-sheet-break { display: flex; align-items: center; gap: 10pt; font-weight: 600; font-size: calc(var(--size) * 0.6); }
.setlist-sheet-break hr { flex: 1; border: 0; border-top: 1.5pt solid #000; }

/* The Score's Print… (ui/daw/score-view.js): white paper, black notation, small serif page heads like the Mac's PDF. */
.sheet-page.score-sheet { background: #FFFFFF; }
.score-sheet-head { font: 9pt serif; color: #000000; }
