/* /charts/music-symbols (layouts/_partials/charts/pages/music-symbols.html, static/js/music-symbols.js).
   Three white "paper" sheets of symbol tables, black ink. The symbols are text in the Bravura music font (SIL OFL 1.1);
   the family is named MtpBravura so it cannot clash with the VexFlow font loading on other pages. Printed text is never smaller than 7.5pt. */
@font-face { font-family: 'MtpBravura'; src: url('/vendor/vexflow/fonts/bravura.woff2') format('woff2'); font-style: normal; font-weight: 400; font-display: block; }

.mtp-sym-search { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 14px; }
.mtp-sym-search[hidden] { display: none; }
.mtp-sym-search label { font-weight: 600; }
.mtp-sym-search input { flex: 1 1 260px; min-width: 0; max-width: 420px; padding: 9px 12px; font: inherit; font-size: 16px; color: var(--mtp-paper, #eee); background: var(--mtp-raised, #222); border: 1px solid var(--mtp-line, #555); border-radius: 2px; }
.mtp-sym-count { color: var(--mtp-muted, #aaa); font-size: 14px; }
.mtp-sym-empty { margin: 0 0 14px; color: var(--mtp-muted, #aaa); }

.mtp-sym .mtp-sym-group { break-inside: avoid; }
.mtp-sym h3 { margin: 12px 0 3px; font-size: 20px; }
.mtp-sym-intro { margin: 0 0 4px; font-size: 12.5px; color: #333; }
.mtp-chart-page table.mtp-sym-table { display: table; }
.mtp-sym-table { width: 100%; table-layout: fixed; border-collapse: collapse; margin: 2px 0 4px; font-size: 13px; line-height: 1.3; }
.mtp-sym-table th, .mtp-sym-table td { padding: 3px 8px; border-bottom: 1px solid #bbb; text-align: left; vertical-align: middle; }
.mtp-sym-table thead th { border-bottom: 2px solid #111; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: #333; }
.mtp-sym-table .c-sym { width: 17%; } .mtp-sym-table .c-name { width: 27%; font-weight: 700; } .mtp-sym-table .c-mean { width: 38%; } .mtp-sym-table .c-see { width: 18%; font-size: 12px; }
.mtp-sym-uk { display: block; font-weight: 400; font-size: 11.5px; color: #333; }
.mtp-sym-table tr[hidden] { display: none; }

/* The glyph cell has a fixed height so that tall clefs and flat noteheads line up; SMuFL puts the baseline on the staff's bottom line. */
.mtp-sym-glyphs { display: flex; align-items: center; gap: 10px; min-height: 40px; }
.smufl { font-family: 'MtpBravura', serif; font-size: 34px; line-height: 1; font-style: normal; font-weight: 400; color: #111; display: inline-block; height: 34px; width: auto; min-width: 8px; white-space: nowrap; font-feature-settings: normal; }
.mtp-sym tr.tall .mtp-sym-glyphs { min-height: 62px; }
.mtp-sym-text { font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-weight: 700; font-size: 19px; line-height: 1.1; color: #111; white-space: nowrap; }
.mtp-sym-svg svg { display: block; fill: #111; stroke: #111; }
.mtp-sym-svg svg text { fill: #111; font-family: "Source Sans 3", sans-serif; font-weight: 700; }
.mtp-sym-stack { display: inline-flex; flex-direction: column; align-items: center; }
.mtp-sym-stack .smufl { height: 26px; }
.mtp-sym-art { position: relative; display: inline-block; width: 22px; height: 34px; }
.mtp-sym-art .smufl { position: absolute; left: 0; top: 0; }
.mtp-sym-art .smufl.a { top: -.3em; left: 9px; }
.mtp-sym-art { margin-top: 10px; }

@media (max-width: 640px) {
  .mtp-ws.mtp-sym { padding: 16px 12px; }
  .mtp-sym-table { font-size: 12.5px; }
  .mtp-sym-table .c-see { display: none; }
  .mtp-sym-table .c-sym { width: 24%; } .mtp-sym-table .c-name { width: 32%; } .mtp-sym-table .c-mean { width: 44%; }
  .mtp-sym-table th, .mtp-sym-table td { padding: 4px 5px; }
  .mtp-sym-glyphs { gap: 6px; }
}
@media print {
  .mtp-sym-cols { column-count: 2; column-gap: 9mm; }
  .mtp-sym h3 { margin: 5pt 0 2pt; font-size: 12.5pt; break-after: avoid; }
  .mtp-sym-intro { font-size: 8pt; margin: 0 0 2pt; break-after: avoid; }
  .mtp-sym-uk { display: inline; font-size: 8pt; margin-left: 4pt; }
  .mtp-sym-group { break-inside: auto; }
  .mtp-chart-page table.mtp-sym-table, .mtp-sym-table tbody { display: block; width: 100%; }
  .mtp-sym-table thead { display: none; }
  .mtp-sym-table tr { display: grid; grid-template-columns: 17mm 1fr; grid-template-rows: auto auto; column-gap: 2mm; align-items: center; padding: 1pt 0 !important; border: 0 !important; border-bottom: 0.5pt solid #999 !important; break-inside: avoid; }
  .mtp-chart-page .mtp-sym-table th, .mtp-chart-page .mtp-sym-table td { padding: 0 !important; border: 0 !important; height: auto !important; font-size: 8.4pt; line-height: 1.15; }
  .mtp-sym-table .c-sym { grid-column: 1; grid-row: 1 / span 2; width: auto; }
  .mtp-sym-table .c-name { grid-column: 2; grid-row: 1; width: auto; font-size: 8.8pt; }
  .mtp-sym-table .c-mean { grid-column: 2; grid-row: 2; width: auto; color: #222; }
  .mtp-sym-glyphs { min-height: 20pt; gap: 5pt; }
  .smufl { font-size: 18pt; height: 18pt; }
  .mtp-sym-stack .smufl { height: 16pt; }
  .mtp-sym-art { width: 14pt; height: 20pt; margin-top: 7pt; }
  .mtp-sym tr.tall .mtp-sym-glyphs { min-height: 30pt; }
  .mtp-sym-text { font-size: 12.5pt; }
  .mtp-sym-svg svg { width: 42px; height: 18px; }
  .mtp-sym .mtp-ws-credit { margin-top: 6pt; font-size: 7.5pt; }
}
@media screen { .mtp-ws.mtp-sym.mtp-sym-nohits { display: none; } }
