/* Michelangelus is installed locally: its download license excludes redistribution. */
@font-face {
    font-family: "Voces Michelangelus";
    src: local("Michelangelus"), local("Michelangelus Regular"), local("Michelangelus-Regular");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: "Voces Michelangelus";
    src: local("Michelangelus Bold"), local("Michelangelus-Bold");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}
@font-face {
    font-family: "Voces Michelangelus";
    src: local("Michelangelus Italic"), local("Michelangelus-Italic");
    font-style: italic;
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: "Voces Michelangelus";
    src: local("Michelangelus Bold Italic"), local("Michelangelus-BoldItalic");
    font-style: italic;
    font-weight: 700;
    font-display: swap;
}
:root { font-family: "Voces Michelangelus", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif; font-size: 112.5%; line-height: 1.6; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0 auto; max-width: 66rem; padding: 2rem clamp(1rem, 4vw, 3rem) 4rem; }
a { color: inherit; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: .12em; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.site-header { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 1rem 3rem; margin-bottom: clamp(2.5rem, 7vw, 5rem); }
.brand { font-size: 2rem; text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
nav a { display: inline-block; padding-block: .35rem; }
nav [aria-current="page"] { font-weight: bold; }
h1, h2, h3 { line-height: 1.2; overflow-wrap: anywhere; }
h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: normal; margin: 0 0 1.5rem; }
h2 { font-size: 1.5rem; margin: 2.5rem 0 1rem; }
h3 { font-size: 1.15rem; margin: 0 0 .75rem; }
p, ul, ol, dl { margin-block: 0 1.25rem; }
p, li, dd, td { overflow-wrap: anywhere; }
ul, ol { padding-left: 1.5rem; }
li + li { margin-top: .5rem; }
section { margin-block: 2.5rem; }
.event { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 2rem; margin-block: 3rem; }
.event time { display: block; font-variant-numeric: tabular-nums; }
.event h2 { margin-top: 0; }
.event-description, .event-note { white-space: pre-line; }
.event-content > :last-child { margin-bottom: 0; }
.event-date { margin: 0; }
.library-list { list-style: none; padding: 0; margin-top: 2rem; }
.library-list li { padding-block: .75rem; }
.library-list a { font-size: 1.2rem; }
dl { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: .75rem 2rem; }
dt { font-weight: bold; }
dd { margin: 0; white-space: pre-wrap; }
form { margin-block: 1.5rem; }
label { display: block; margin-block: .75rem; }
input, select, textarea, button { font: inherit; max-width: 100%; }
input:not([type="checkbox"]):not([type="hidden"]), select, textarea { display: block; width: 100%; padding: .4rem .5rem; margin-top: .35rem; min-height: 2.5rem; }
input[type="checkbox"] { margin-right: .5rem; }
input[type="file"] { padding-inline: 0; }
button { min-height: 2.5rem; padding: .35rem 1rem; cursor: pointer; }
textarea { min-height: 7rem; resize: vertical; }
form > p, form > label { max-width: 36rem; }
fieldset { min-width: 0; margin-block: 2rem; padding: 1rem; }
legend { padding-inline: .5rem; }
fieldset p:last-child { margin-bottom: 0; }
.search-form { display: flex; align-items: end; flex-wrap: wrap; gap: .75rem 1rem; max-width: 40rem; }
.search-form label { flex: 1 1 18rem; min-width: 0; margin: 0; }
#search-status { min-height: 1.6em; }
.single-score-actions > a { font-size: 1.25rem; }
.voice-group > h3 { font-size: 1.35rem; }
.practice-recording { margin-block: 1.25rem 2rem; }
.recording-line { display: flex; align-items: baseline; gap: .75rem; max-width: 32rem; font-size: 1rem; margin-bottom: .5rem; }
.recording-file-link { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.recording-file-info { display: flex; align-items: baseline; gap: .4rem; min-width: 0; }
.recording-size { flex-shrink: 0; white-space: nowrap; }
.recording-download { flex-shrink: 0; margin-inline-start: auto; text-align: right; white-space: nowrap; }
audio { display: block; width: 100%; max-width: 32rem; }
.table-scroll { max-width: 100%; overflow-x: auto; margin-block: 2rem; }
table { border-collapse: collapse; width: 100%; text-align: left; }
caption { text-align: left; font-size: 1.5rem; margin-bottom: 1rem; }
.admin-list-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1.5rem; }
.admin-list-heading a { font-size: 1rem; padding-block: .35rem; }
th, td { vertical-align: top; padding: .75rem 1rem .75rem 0; min-width: 8rem; }
th:last-child, td:last-child { padding-right: 0; }
table ul { margin: 0; }
.material-row { max-width: 40rem; margin-block: 1rem; }
.material-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
[data-repertoire-selected] { list-style: none; padding: 0; max-width: 40rem; }
[data-repertoire-selected] > li { margin-block: .75rem; }
.repertoire-entry-line { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: .5rem; }
.repertoire-controls { display: flex; gap: .15rem; }
.repertoire-entry-line button { min-height: 2rem; padding: .25rem .5rem; }
.repertoire-controls button, [data-remove-repertoire] { width: 2rem; padding-inline: 0; }
[data-row-title] { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
[data-toggle-note] { white-space: nowrap; font-size: .9rem; }
.repertoire-note { margin: .5rem 0 0; }
.repertoire-note > span { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.repertoire-note input { margin-top: 0; }
.repertoire-results { padding: 0; list-style: none; max-width: 40rem; }
.repertoire-results button { width: 100%; text-align: left; overflow-wrap: anywhere; }
.repertoire-results [aria-pressed="true"] { font-weight: bold; }
@media (max-width: 40rem) {
    body { padding-top: 1.25rem; }
    .site-header { flex-direction: column; gap: .5rem; }
    nav { gap: .25rem 1rem; }
    .event { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
    dl { grid-template-columns: minmax(0, 1fr); gap: .25rem; }
    dd { margin-bottom: 1rem; }
    fieldset { padding: .75rem; }
    .search-form button { width: 100%; }
}
