:root{color-scheme:light;--ink:#192f30;--deep:#102f32;--green:#196355;--muted:#536866;--gold:#bd924e;--paper:#f8f6ef;--line:#d9dfd5;--card:#fffefa;font:16px/1.6 Tahoma,Arial,sans-serif;color:var(--ink);background:var(--paper)}*{box-sizing:border-box}body{margin:0}button,select,input,textarea{font:inherit}a,button{touch-action:manipulation}button,.btn{border:1px solid #becdc4;border-radius:9px;background:var(--card);color:var(--ink);min-height:42px;padding:.45rem .85rem;cursor:pointer;font-weight:650;display:inline-flex;align-items:center;justify-content:center;text-decoration:none}button:hover,.btn:hover{border-color:var(--green);background:#eaf1e9}button:disabled{opacity:.39;cursor:default}a{color:var(--green)}:focus-visible{outline:3px solid #cb8d31;outline-offset:3px}button.primary,.btn.primary{color:#fff;background:var(--green);border-color:var(--green)}button.primary:hover,.btn.primary:hover{background:#104f43}.light{background:#f4f6ef}.wrap{width:min(1160px,94%);margin-inline:auto}[hidden]{display:none!important}.top{background:var(--deep);color:white;border-bottom:3px solid var(--gold)}.topin{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:.75rem}.wordmark{display:flex;gap:.8rem;align-items:center;text-decoration:none;color:#fff7e5;font-size:1.08rem;font-weight:600}.wordmark b{font-weight:750}.homeLink{color:#f5f6e9;background:transparent;border-color:#739490;min-height:36px;font-size:.87rem}.homeLink:hover{color:var(--deep)}.shelfTitle,.pieceHead{display:flex;align-items:center;justify-content:space-between;gap:1rem}.shelfTitle{padding:clamp(1.6rem,5vw,4.1rem) 0 clamp(1.1rem,2.5vw,2rem)}.shelfTitle h1,.pieceHead h1{margin:0;font-weight:730;line-height:1.26;letter-spacing:-.045em}.shelfTitle h1{font-size:clamp(2.2rem,5vw,4.05rem)}.shelfTitle p{color:var(--muted);margin:.5rem 0 0}.eyebrow,.shelfTitle .eyebrow{color:#856536;font-size:.88rem;font-weight:700;letter-spacing:.01em;margin:0 0 .38rem}.catalog{display:grid;grid-template-columns:1fr 1fr;gap:1.35rem;margin-bottom:2.6rem}.pieceCard{overflow:hidden;background:var(--card);border:1px solid var(--line);border-radius:18px;box-shadow:0 4px 14px #1b373210;display:flex;flex-direction:column;color:var(--ink);text-decoration:none;transition:transform .18s ease,box-shadow .18s ease}.pieceCard:hover{transform:translateY(-3px);box-shadow:0 8px 19px #17322e1a}.cover{height:clamp(185px,21.8vw,266px);position:relative;background:var(--cover,#234b4d);overflow:hidden;isolation:isolate;direction:ltr;text-align:left;display:flex;flex-direction:column;justify-content:center;padding:0 5.3%;color:#fff9e6}.cover::before{content:"";height:80%;width:80%;background:radial-gradient(ellipse at top left,#dad59a20,transparent 64%);position:absolute;z-index:-1;inset:0}.cover::after{content:"";position:absolute;inset:12px;border:1px solid #fff1d639;pointer-events:none;z-index:2}.cover .author{letter-spacing:.14em;text-transform:uppercase;color:#e5d3a6;font-size:.73rem}.cover .coverName{font:500 clamp(2rem,4.8vw,3.8rem)/.98 Georgia,'Times New Roman',serif;position:relative;z-index:2;padding:.38rem 0}.cover .coverSubtitle{font:italic clamp(.9rem,1.8vw,1.24rem) Georgia,serif;color:#f3e9d3;z-index:2}.coverMusic{position:absolute;width:48%;height:90%;right:-13%;top:19%;transform:rotate(-13deg);background-color:#efead4;background-image:var(--sheet);background-size:cover;background-position:45% 35%;border:6px solid #e8e1cd;outline:1px solid #f7f3e9;box-shadow:-5px 7px 0 #ddd5bb,-9px 10px 0 #b3af94,-15px 12px 25px #05100a55;opacity:.97;z-index:0}.pieceCard.love .cover{--cover:#633e47}.pieceCard.love .coverMusic{transform:rotate(11deg);top:13%;right:-14%}.cardbody{padding:1rem 1.15rem;display:flex;align-items:center;justify-content:space-between;gap:.6rem}.cardbody h2{font-size:clamp(1.02rem,2vw,1.35rem);margin:0;line-height:1.4}.cardbody p{font-size:.88rem;color:var(--muted);margin:.2rem 0 0}.openPiece{font-size:.83rem;border:1px solid #d0d9cd;border-radius:20px;white-space:nowrap;padding:.34rem .72rem}.siteFoot .wrap{display:flex;justify-content:space-between;color:var(--muted);font-size:.83rem;border-top:1px solid var(--line);padding:1rem 0 1.5rem}.siteFoot span[lang]{font-family:Georgia,serif;direction:ltr}.pieceHead{padding:1.2rem 0 1rem}.pieceHead h1{font-size:clamp(1.65rem,3vw,2.5rem)}.instrumentation{font-size:.9rem;color:var(--muted);margin-top:.25rem}.tabs{display:flex;gap:.35rem;border-bottom:1px solid #c8d1c6;padding:0 0 .65rem;margin:0 0 1rem;flex-wrap:wrap}.tabs button{background:transparent;border:1px solid transparent;font-size:.98rem;color:var(--muted)}.tabs button[aria-current=page],button[aria-pressed=true]{color:#104e43;background:#e3eee6;border-color:#91b5a7}.readerLayout{display:grid;grid-template-columns:235px minmax(0,1fr);gap:1rem;align-items:start;margin-bottom:1rem}.surface{border:1px solid var(--line);border-radius:14px;background:var(--card);box-shadow:0 3px 15px #1b372b08}.readerMenu{padding:1rem;position:sticky;top:.6rem}.readerMenu h2,.paperToolbar h2,.gameTitle h2{font-size:1.13rem;margin:0 0 .65rem}.partMenu{display:grid;gap:.38rem}.partMenu button{justify-content:start}.pdfActions{display:grid;gap:.38rem;margin-top:.9rem}.originalMore{font-size:.88rem;color:var(--muted);margin-top:.7rem}.originalMore summary{cursor:pointer;font-weight:bold}.originalMore a{display:block;margin-top:.45rem}.originalMore p{font-size:.78rem;line-height:1.5}.paperSection{overflow:hidden}.paperToolbar,.playhead,.pageInfo,.paperFoot{display:flex;gap:.6rem;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:.55rem .9rem}.paperToolbar{padding:.7rem .9rem}.paperToolbar .eyebrow{margin:0;font-size:.78rem}.paperToolbar h2{margin:0}.paperTools button,.pager button,.paperFoot button{min-height:36px;font-size:.84rem}.playhead{justify-content:start;background:#edf2e9;border-block:1px solid var(--line)}.playhead label{font-size:.87rem;display:inline-flex;align-items:center;gap:.3rem}.playhead select,.playhead input{background:white;min-height:39px;border:1px solid #bfcdc2;border-radius:6px;color:var(--ink);font-size:.88rem;padding:.2rem .38rem}.playhead input{width:65px;text-align:center}.playhead small{font-size:.72rem;color:var(--muted)}.playhead button{min-height:38px}.playhead #pagePlay{min-width:90px}.pageInfo,.paperFoot{color:var(--muted);font-size:.84rem}.pager{display:flex;align-items:center;gap:.6rem}.readStatus{color:var(--green);font-weight:650}.paperScroll{background:#e6e8e1;max-height:73svh;overflow:auto;padding:.65rem;overscroll-behavior:contain;scrollbar-gutter:stable;direction:ltr}.pageCanvas{position:relative;max-width:1000px;margin:0 auto;box-shadow:0 3px 15px #1c31231c;background:#fff;line-height:0}.pageCanvas img{width:100%;height:auto;display:block}.mapLayer,.musicInk{position:absolute;inset:0;pointer-events:none}.mapLayer button{position:absolute;pointer-events:auto;border-radius:2px;min-height:0;padding:0;border:0;background:transparent;outline-offset:-2px}.mapLayer button:hover{background:#2858560c}.mapLayer button.currentBar{background:#43917815;box-shadow:inset 0 0 0 1.4px #49957590}.musicInk svg{width:100%;height:100%;overflow:visible}.paperFoot{border-top:1px solid var(--line)}.linklike{border:0;background:none;padding:.15rem .3rem;color:var(--green)}#playerBox{min-height:150px;margin-bottom:1rem}#player{border:0;width:100%;height:850px;display:block;background:var(--paper)}.gamePicker{display:flex;align-items:center;justify-content:space-between;gap:.55rem;padding:.7rem 1rem;margin-bottom:.65rem}.gameTitle h2{margin:0}.gameTitle p{margin:0;font-size:.85rem;color:var(--muted)}.gameTypes{display:flex;flex-wrap:wrap;gap:.35rem}.activeRead{overflow:hidden}.activeRead .paperSection{position:fixed;z-index:20;inset:0;border:0;border-radius:0;display:flex;flex-direction:column;background:var(--paper)}.activeRead .paperScroll{flex:1;max-height:none;min-height:0}.activeRead .paperScroll .pageCanvas{max-width:1120px}.activeRead .paperToolbar,.activeRead .pageInfo,.activeRead .playhead,.activeRead .paperFoot{flex-shrink:0}.activeRead .readerMenu{position:static}.activeRead .paperCanvas{min-height:0}.activeRead .siteFoot{display:none}#notesPane{margin:0 auto 1.2rem}.mainbar{display:flex;justify-content:space-between}.only-mobile{display:none}
@media(max-width:760px){.topin{min-height:60px}.wordmark{font-size:.96rem;gap:.55rem}.shelfTitle{padding:1.5rem 0 1rem}.catalog{gap:.7rem}.cover{height:165px}.cardbody{padding:.65rem}.openPiece{display:none}.readerLayout{grid-template-columns:1fr;gap:.6rem}.readerMenu{position:static;padding:.65rem .75rem}.readerMenu h2{font-size:1rem;margin-bottom:.3rem}.partMenu{display:flex;flex-wrap:wrap;gap:.3rem}.partMenu button{font-size:.83rem;min-height:35px;padding:.28rem .65rem}.pdfActions{display:flex;flex-wrap:wrap;gap:.38rem;margin-top:.5rem}.pdfActions a{font-size:.82rem;min-height:34px;padding:.2rem .6rem}.originalMore{font-size:.81rem;margin-top:.4rem}.pieceHead{padding:.8rem 0 .5rem}.pieceHead .eyebrow{margin:0}.instrumentation{font-size:.82rem}.pieceHead #switchPiece{display:none}.tabs{gap:.2rem;flex-wrap:nowrap;overflow:auto;margin-bottom:.6rem;padding-bottom:.4rem}.tabs button{padding:.3rem .55rem;font-size:.85rem;min-height:38px;white-space:nowrap}.paperToolbar,.playhead,.paperFoot,.pageInfo{padding:.45rem .55rem;gap:.35rem}.readerMenu .originalMore a{display:inline-block;margin-inline-end:.7rem}.paperScroll{max-height:72svh;padding:.25rem;scrollbar-gutter:auto}.playhead #pagePlay{min-width:70px}.playhead select,.playhead input{min-height:35px}.playhead #pageMetro{font-size:.84rem;padding:.25rem .53rem}.paperTools button{min-height:34px}.gamePicker{flex-wrap:wrap}.gameTypes button{min-height:37px;font-size:.86rem}.shelfTitle p{font-size:.9rem}.openPiece{display:none}}
@media(max-width:550px){.catalog{grid-template-columns:1fr}.cover{height:149px}.cover .coverName{font-size:2.45rem}.coverMusic{width:43%;right:-9%;top:14%;height:110%}.cardbody{padding:.72rem .82rem}.openPiece{display:inline-block;font-size:.75rem}.siteFoot span{font-size:.75rem}.topin{gap:.3rem}.homeLink{padding:.2rem .55rem}.tabs button{flex:1;padding-inline:.32rem}.paperFoot{font-size:.79rem}.playhead{column-gap:.45rem}.playhead label{font-size:.79rem}.sourceMix select{max-width:113px}.tempoLabel small{display:none}.playhead input{width:52px}.playhead #pagePlay{font-size:.88rem;min-width:64px}.readStatus{font-size:.75rem}.pager button{font-size:.78rem;min-height:32px}.pieceHead h1{font-size:1.45rem}}
@media(prefers-reduced-motion:reduce){*,*::after{scroll-behavior:auto!important;transition:none!important}}
.inkLegend{display:flex;gap:.3rem .85rem;flex-wrap:wrap;padding:.1rem .9rem .38rem;color:var(--muted);font-size:.76rem}.inkLegend span:before{content:"";display:inline-block;background:var(--color);width:.55rem;height:.55rem;border-radius:50%;margin-left:.28rem}.headTint,.headRing{position:absolute;display:block;pointer-events:none;border-radius:55%;}.headTint{mix-blend-mode:screen}.headRing{border:1.3px solid currentColor;transform:scale(1.65);opacity:.74}.paperTools{display:flex;gap:.35rem}.musicInk{mix-blend-mode:normal}.pageCanvas{isolation:isolate}.readStatus{font-variant-numeric:tabular-nums}

.notePinLayer{position:absolute;inset:0;z-index:2;pointer-events:none;direction:ltr}
.notePinLayer>button{position:absolute;pointer-events:auto}
.siteFoot .wrap{align-items:center;flex-wrap:wrap;gap:.25rem .9rem}
.siteFoot a{color:var(--green);font-weight:600;text-underline-offset:.18em}

.wordmark{gap:.85rem;line-height:1.1}
.quartetLogo{display:block;width:134px;height:64px;object-fit:contain}
.brandName{display:grid;gap:.3rem;border-inline-start:1px solid #c4ad783e;padding-inline-start:.85rem}
.brandName>span{color:#e2d2a8;font-size:.78rem;font-weight:500}
.brandName b{font-size:1.3rem;color:#fffaf0}
.siteFoot .wrap{justify-content:center}
.libraryCredits{text-align:center;line-height:1.55}
.libraryCredits summary{display:inline-flex;align-items:center;gap:.45rem;min-height:38px;color:#466159;cursor:pointer;font-size:.81rem;border-radius:5px;padding:.2rem .5rem;list-style:none}
.libraryCredits summary::-webkit-details-marker{display:none}
.libraryCredits summary::after{content:"";width:6px;height:6px;border-inline-end:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(-45deg);margin-top:-3px}
.libraryCredits[open] summary::after{transform:rotate(135deg);margin-top:3px}
.libraryCredits summary:hover{color:var(--green);background:#eff1e8}
.creditsBody{margin:.3rem 0 .15rem;padding:.8rem 1rem;background:var(--card);border:1px solid var(--line);border-radius:10px}
.creditsBody p{margin:.2rem 0}.creditsBody strong{color:var(--ink)}
@media(max-width:760px){.quartetLogo{width:102px;height:51px}.wordmark{gap:.45rem}.brandName{padding-inline-start:.6rem;gap:.18rem}.brandName>span{font-size:.7rem}.brandName b{font-size:1.08rem}}

.libraryEnsemble{display:block;width:clamp(220px,27vw,365px);height:auto;align-self:center}
@media(min-width:761px){body:has(#shelf:not([hidden])) .quartetLogo{display:none}body:has(#shelf:not([hidden])) .brandName{border:0;padding:0}.shelfTitle{padding:clamp(1.4rem,3.8vw,3rem) 0 clamp(1.15rem,2.6vw,2rem)}}
@media(max-width:760px){.libraryEnsemble{display:none}}

.originalMixer{margin:.55rem 0;padding:.35rem .7rem;border:1px solid #c9d9d4;border-radius:.65rem;background:#f4f8f6;color:#193f3e}
.originalMixer summary{cursor:pointer;line-height:1.55;padding:.25rem 0;font-weight:650}
#originalMixSummary{display:inline-block;color:#54716e;font-size:.82em;font-weight:400;margin-inline-start:.45rem}
.originalChannels{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,235px),1fr));gap:.5rem;padding:.4rem 0}
.originalChannel{min-width:0;border:1px solid #ccdbd6;border-inline-start:3px solid var(--part-color);border-radius:.5rem;background:#fff;padding:.45rem .55rem;display:grid;gap:.35rem}
.originalChannel .channelName,.originalChannel .channelVoice,.originalChannel .channelVolume{display:flex;align-items:center;justify-content:space-between;gap:.4rem;font-size:.86rem}
.originalChannel .channelName strong{color:#163933}
.originalChannel .channelName button{min-height:2rem;padding:.15rem .65rem;border-radius:.4rem;background:#f3f7f5;border:1px solid #bbcfc6;line-height:1.5;color:#244f40;font-size:inherit}
.originalChannel .channelName button[aria-pressed=true]{background:#f7ebe8;border-color:#d5aaa0;color:#863e30}
.originalChannel .channelVoice select{max-width:70%;padding:.15rem .35rem;min-height:2rem;font:inherit;border:1px solid #b3c6bd;border-radius:.35rem;color:#23483f;background:white}
.originalChannel .channelVolume{justify-content:start}.originalChannel .channelVolume input{accent-color:#27614f;margin:0;flex:1;min-width:0;width:70px}
.originalChannel .channelVolume output{font-variant-numeric:tabular-nums;min-width:3em;text-align:end}
#inkLegend .silentPart{opacity:.55;text-decoration:line-through}

.shelfTitle h1{font-size:clamp(1.95rem,3.6vw,3.4rem);text-wrap:balance}
.keepBrand{white-space:nowrap}

.catalog{margin-bottom:1rem}
.comingPiece{display:flex;justify-content:space-between;align-items:center;gap:1.5rem;margin:0 0 2.35rem;padding:1rem 1.4rem;border:1px solid #d8d4bf;border-inline-start:4px solid #b69755;border-radius:12px;background:linear-gradient(100deg,#faf9f3,#f4f2e7)}
.comingPiece h2{font:500 clamp(1.4rem,3vw,1.9rem)/1.18 Georgia,serif;color:#374939;margin:0}
.comingPiece p{margin:.15rem 0 0;color:#5b695a;font-size:.85rem}
.soonLabel{font-size:.83rem;color:#6e552a;border:1px solid #d4c39d;border-radius:1rem;padding:.08rem .8rem}
.scoreActions{display:flex;align-items:center;flex-wrap:wrap;gap:.24rem .5rem}
.scoreActions .reviewToggle{font-size:.83rem;color:#685224;background:#fff9e7;border-color:#d5caa6}
.scoreActions .reviewToggle::before{content:"☆";font-size:1.15em;margin-inline-end:.3em}
.scoreActions .reviewToggle[aria-pressed=true]{background:#f7e3a2;border-color:#bc9333}
.scoreActions .reviewToggle[aria-pressed=true]::before{content:"★"}
.mapLayer .barNeedsReview::after{content:"";position:absolute;pointer-events:none;top:0;left:9%;right:9%;height:3px;border-radius:3px;background:#bf8b21;box-shadow:0 0 0 1px #fff9}
.scoreRights{font-size:.85em;color:var(--muted)}
@media(max-width:760px){.comingPiece{margin-bottom:1.5rem;padding:.7rem .9rem}.scoreActions{gap:.2rem}.scoreActions button{font-size:.77rem}}

.tempoControl{display:inline-flex;align-items:center;gap:.35rem;max-width:100%}
.playhead #pageBpmSlider{width:clamp(7rem,13vw,10rem);height:32px;min-height:32px;accent-color:var(--green);background:transparent;border:0;padding:0;margin:0 .25rem;cursor:pointer;touch-action:pan-y}
.readerFollow{display:inline-flex;align-items:center;gap:.36rem;min-height:36px;color:var(--ink);font-size:.86rem;cursor:pointer}
.readerFollow input{width:17px;height:17px;margin:0;accent-color:var(--green)}
@media(max-width:550px){.playhead .tempoControl{order:2;flex-basis:100%}.playhead #pageBpmSlider{flex:1;width:auto}.readerFollow{font-size:.79rem}}

/* The desk keeps the current piece and its practice tools together. */
#shelf .shelfTitle {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(12rem,.61fr);
  align-items:center;
  gap:clamp(1rem,4vw,4rem);
  margin:clamp(.85rem,2.2vw,1.8rem) 0 1.25rem;
  padding:clamp(1.1rem,3vw,2.7rem);
  border:1px solid #d9d6c6;
  border-radius:1.15rem;
  background:linear-gradient(115deg,#e5e9db 0%,#f4f1e6 39%,#fffcf3 90%);
}
#shelf .shelfTitle h1 { margin:0; color:#173f38; line-height:1.35; letter-spacing:0; }
#shelf .shelfTitle p { max-width:39ch; color:#475c53; }
#shelf .libraryEnsemble { display:block; width:100%; max-width:24rem; justify-self:center; }
.resumePassage { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin:0 0 1rem; padding:.85rem 1.15rem; background:#e8f2ea; border:1px solid #b5cfc0; border-inline-start:4px solid #28745f; border-radius:.85rem; }
.resumePassage[hidden] { display:none; }
.resumePassage h2 { margin:0; font-size:1rem; color:#194d3f; }
.resumePassage p { margin:.1rem 0 0; color:#42594e; font-size:.9rem; }
.resumePassage a { white-space:nowrap; background:#225d4d; border-color:#225d4d; color:#fff; text-decoration:none; }
.pieceCard:focus-visible, .resumePassage a:focus-visible, .tabs button:focus-visible { outline:3px solid #996822; outline-offset:3px; }
#desk .tabs { margin-top:.85rem; }
#desk .tabs button[aria-current=page] { background:#1a554a; border-color:#1a554a; color:white; }
@media(max-width:680px) {
  #shelf .shelfTitle { grid-template-columns:minmax(0,1fr); gap:.65rem; padding:1.15rem; margin-bottom:.85rem; }
  #shelf .shelfTitle h1 { font-size:clamp(1.55rem,6.5vw,2.2rem); }
  #shelf .libraryEnsemble { max-width:15rem; }
  .resumePassage { gap:.4rem; padding:.65rem .7rem; }
  .resumePassage a { padding:.35rem .5rem; }
}
.catalogTile {
 position:relative; min-width:0; background:var(--card); border:1px solid var(--line);
 border-radius:18px; box-shadow:0 4px 14px #1b373210; display:flex; flex-direction:column;
}
.catalogTile .pieceCard { flex:1; border:0; box-shadow:none; border-radius:17px 17px 0 0; }
.catalogTile .pieceCard:hover { transform:none; box-shadow:none; }
.catalogTile .openPiece { display:inline-block; color:#285a4d; }
.catalogPractice {
 display:flex; align-items:center; justify-content:center; min-height:44px; margin:0 1rem .8rem;
 border:1px solid #b9ccbf; border-radius:.5rem; background:#eef4ed; color:#194d41;
 font-weight:700; font-size:.9rem; text-decoration:none;
}
.catalogPractice:hover { background:#deede0; border-color:#689582; }
.catalogPractice:focus-visible { outline:3px solid #996822; outline-offset:2px; }
@media(max-width:680px){
 .catalogPractice { margin:0 .7rem .6rem; }
 #desk[data-active-tab=test] .pieceHead { padding:.55rem 0 .4rem; }
 #desk[data-active-tab=test] .pieceHead h1 { font-size:1.3rem; line-height:1.45; }
 #desk[data-active-tab=test] .pieceHead :is(.instrumentation,.eyebrow) { display:none; }
 #desk[data-active-tab=test] .tabs { margin:.35rem 0; padding-bottom:.25rem; }
}

/* Keep all five destinations in reach on the stand, including a portrait phone. */
.skipDesk {position:fixed;inset-block-start:.45rem;inset-inline-start:.6rem;z-index:40;transform:translateY(-180%);padding:.5rem 1rem;border-radius:.5rem;background:white;color:#153e35;}
.skipDesk:focus {transform:none;}
#mainContent:focus,#pieceName:focus {outline:none;}
#desk .pieceHead {display:flex;align-items:center;justify-content:space-between;gap:.65rem 1.2rem;flex-wrap:wrap;padding:1rem 0 .55rem;}
.pieceIdentity {min-width:0;flex:1 1 18rem;}
#desk .pieceHead h1 {line-height:1.36;letter-spacing:normal;text-wrap:balance;}
.sessionTools {margin-inline-start:auto;min-width:0;max-width:100%;color:#254940;}
.sessionTools summary {display:inline-flex;align-items:center;gap:.48rem;min-height:44px;padding:.24rem .7rem;border:1px solid #bdcdbf;border-radius:.65rem;cursor:pointer;background:#fffcf6;font-weight:650;font-size:.91rem;list-style:none;}
.sessionTools summary::-webkit-details-marker {display:none;}
.sessionTools svg,#desk .tabs svg {display:block;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
.sessionTools svg {width:1.18rem;height:1.18rem;}
.sessionTools summary::after {content:'';width:.38rem;height:.38rem;border-inline-end:1.6px solid;border-bottom:1.6px solid;transform:rotate(45deg);margin-inline:.18rem .1rem;}
.sessionTools[open] summary::after {transform:rotate(225deg);}
.sessionTools summary b {font:700 .92rem/1.25 ui-monospace,monospace;}
.sessionTools summary[data-timer-state=running] {border-color:#5b8a72;background:#eaf4e9;}
.sessionTools[open] {flex-basis:100%;}
.sessionTools[open] [data-practice-timer] {margin-top:.4rem;}
.sessionTools[open] .mhpt-title {display:none;}
#desk .tabs {position:sticky;top:0;z-index:8;isolation:isolate;display:flex;align-items:stretch;flex-wrap:nowrap;gap:.22rem;margin:.3rem 0 .8rem;padding:.26rem;border:1px solid #cbd5ca;border-radius:.83rem;background:#f7f7f0;box-shadow:0 2px 6px #23382c0a;overflow:visible;}
/* Keep parent navigation clear of the embedded score and its transport controls. */
#desk[data-active-tab=test] .tabs {position:static;}
#desk .tabs button {flex:1;display:inline-flex;align-items:center;justify-content:center;gap:.45rem;min-width:0;min-height:46px;margin:0;padding:.35rem .55rem;border:1px solid transparent;border-radius:.56rem;background:transparent;color:#455950;line-height:1.35;font-size:.92rem;white-space:normal;text-align:center;}
#desk .tabs svg {width:1.14rem;height:1.14rem;}
#desk .tabs button:hover {background:#e8eee4;color:#153f35;}
#desk .tabs button[aria-current=page] {background:#195447;color:white;border-color:#195447;}
.tabs .shortTab {display:none;}
#desk :is(.tabs button,.sessionTools summary):focus-visible {outline:3px solid #a66f21;outline-offset:1px;}
@media(max-width:700px){
 #desk .pieceHead,#desk[data-active-tab=test] .pieceHead {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.35rem .5rem;padding:.65rem 0 .35rem;}
 #desk .pieceHead:has(.sessionTools[open]) {grid-template-columns:1fr;}
 #desk .pieceHead h1,#desk[data-active-tab=test] .pieceHead h1 {font-size:clamp(1.1rem,4.4vw,1.55rem);line-height:1.45;text-wrap:initial;}
 #desk .pieceHead :is(.eyebrow,.instrumentation) {display:none;}
 .sessionTools[open] {width:100%;}
 .sessionTools summary {font-size:.82rem;padding-inline:.5rem;gap:.3rem;}
 #desk .tabs,#desk[data-active-tab=test] .tabs {margin:.25rem 0 .55rem;padding:.14rem;gap:.05rem;border-radius:.66rem;}
 #desk .tabs button {flex:1 1 0;flex-direction:column;gap:.13rem;min-height:48px;padding:.18rem .04rem;font-size:clamp(.74rem,2.95vw,.87rem);line-height:1.3;border-radius:.48rem;}
 .tabs .shortTab {display:inline;}.tabs .wideTab {display:none;}
 #desk .tabs svg {width:1.07rem;height:1.07rem;}
}
@media(max-height:480px){#desk .tabs{position:static;}}
@media(prefers-reduced-motion:no-preference){#desk .tabs button {transition:background-color .13s,color .13s;}}

/* Keep the score close to the controls on handheld music stands. */
.pieceLibraryLink {display:none;}
@media (pointer:coarse) {
 body {--safe-side:max(env(safe-area-inset-left,0px),env(safe-area-inset-right,0px));}
 main.wrap,.top .wrap,.siteFoot .wrap {max-width:calc(100% - var(--safe-side) - var(--safe-side));}
 body > .siteFoot {padding-bottom:env(safe-area-inset-bottom,0px);}
}
@media (max-width:700px), (max-width:900px) and (pointer:coarse), (max-width:1050px) and (max-height:520px) {
 body:has(#desk:not([hidden])) .top {display:none;}
 #desk .pieceHead,#desk[data-active-tab=test] .pieceHead {
  display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;
  gap:.18rem .52rem;padding:.3rem 0 .12rem;
 }
 #desk .pieceHead h1,#desk[data-active-tab=test] .pieceHead h1 {
  margin:0;font-size:clamp(1.02rem,3.9vw,1.22rem);line-height:1.4;text-wrap:balance;
 }
 #desk .pieceHead :is(.eyebrow,.instrumentation) {display:none;}
 .pieceLibraryLink {
  display:inline-flex;align-items:center;justify-content:center;gap:.25rem;min-height:44px;
  padding:.22rem .35rem;color:#195648;text-decoration:none;font-size:.86rem;font-weight:700;
  border-inline-end:1px solid #cfdbcf;padding-inline-end:.58rem;
 }
 .pieceLibraryLink svg {width:1.05rem;height:1.05rem;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round;}
 .pieceLibraryLink:hover {color:#0c4033;background:#e9f0e7;}
 .pieceLibraryLink:focus-visible {outline:3px solid #a66f21;outline-offset:1px;border-radius:.3rem;}
 #desk .pieceHead:has(.sessionTools[open]) {grid-template-columns:auto minmax(0,1fr) auto;}
 #desk .pieceHead:has(.sessionTools[open]) .pieceIdentity {grid-column:span 2;}
 .sessionTools[open] {grid-column:1/-1;width:100%;}
 .sessionTools summary {min-width:44px;min-height:44px;gap:.25rem;padding-inline:.42rem;font-size:.82rem;}
 .sessionTools summary::after {display:none;}
 .sessionTools[open] summary::after {display:block;}
 .sessionTools .timerWord,.sessionTools summary:has([data-timer-summary]:not([hidden])) > span {
  position:absolute;inline-size:1px;block-size:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;
 }
 #desk .tabs,#desk[data-active-tab=test] .tabs {margin:.12rem 0 .34rem;}
}
@media (max-width:1050px) and (min-width:600px) and (max-height:520px) {
 #desk .pieceHead,#desk[data-active-tab=test] .pieceHead {padding:.14rem 0 0;}
 #desk .tabs button {flex-direction:row;min-height:44px;gap:.35rem;padding:.15rem .24rem;}
 #desk .tabs,#desk[data-active-tab=test] .tabs {position:static;padding:.12rem;gap:.1rem;}
}

/* Repertoire shelf */
#shelf {container:repertoire / inline-size}
body:has(#shelf:not([hidden])) .top {border-bottom:2px solid #b69a65}
body:has(#shelf:not([hidden])) .topin {min-height:54px}
body:has(#shelf:not([hidden])) .quartetLogo {display:none}
body:has(#shelf:not([hidden])) .brandName {display:flex;flex-wrap:wrap;align-items:baseline;gap:.36rem;padding:0;border:0}
body:has(#shelf:not([hidden])) .brandName>span {font-size:.90rem;color:#f0e4cb}
body:has(#shelf:not([hidden])) .brandName b {font-size:1.08rem;color:#fffcf3}

#shelf .shelfTitle {
  grid-template-columns:minmax(0,1fr) minmax(13rem,.62fr);
  position:relative;isolation:isolate;gap:clamp(1rem,5vw,4.5rem);overflow:hidden;
  margin:clamp(.85rem,2vw,1.45rem) 0 1rem;padding:0 clamp(1.15rem,3.1vw,2.5rem);
  border:1px solid #264a43;border-radius:16px;
  background:linear-gradient(110deg,#315850 0%,#214b43 48%,#153b35 100%);
}
#shelf .shelfTitle::before {
  content:"";position:absolute;z-index:-1;pointer-events:none;
  width:42%;height:154%;bottom:-40%;left:-1%;
  border-radius:50% 50% 0 0;border:1px solid #dfc58c;
  background:linear-gradient(125deg,#e1ceb0,#fbf0d5 62%,#e7d6b1);
  box-shadow:0 0 0 5px #31544c,0 0 0 6px #d3b57585;
}
#shelf .shelfIntro {padding:1.45rem 0}
#shelf .shelfIntro::before {content:"";display:block;width:2.4rem;height:2px;margin:0 0 .6rem;background:#dfb96f}
#shelf .shelfTitle h1 {font-size:clamp(2.1rem,4.2vw,3.5rem);line-height:1.24;font-weight:750;letter-spacing:0;color:#fff7df}
#shelf .shelfTitle p {margin:.32rem 0 0;font-size:clamp(.95rem,1.6vw,1.05rem);color:#dfebdf}
#shelf .libraryEnsemble {align-self:end;justify-self:center;display:block;width:100%;height:auto;max-width:23rem;position:relative}
#shelf .resumePassage {margin-bottom:.85rem;padding:.7rem 1rem;border-radius:11px}
#shelf .resumePassage {flex-wrap:wrap}
#shelf .resumePassage > div {min-width:0;flex:1 1 min(12rem,53%)}
#shelf #resumeSummary {display:flex;flex-wrap:wrap;align-items:baseline;gap:.08rem .45rem;line-height:1.55}
#shelf #resumeSummary bdi {unicode-bidi:isolate}
#shelf #resumeSummary bdi+bdi {border-inline-start:1px solid #acc5b5;padding-inline-start:.45rem}
#shelf .resumePassage .btn {min-height:44px}

#shelf .catalog {gap:clamp(.75rem,1.9vw,1.3rem);margin:0 0 .85rem}
#shelf .catalogTile {
  display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto 1fr auto;
  grid-template-areas:"cover" "info" "actions";row-gap:0;position:relative;isolation:isolate;overflow:visible;
  min-width:0;border:1px solid #cdd5c9;border-radius:13px;background:#fffdf7;
  box-shadow:0 2px 4px #253d2909,0 6px 15px #253d2910;
  --binding:#284b48;--binding-light:#365c54;--folio:#e8d6a9;
}
#shelf .catalogTile.love {--binding:#60414a;--binding-light:#74505b;--folio:#f1d5b8}
#shelf .cover {
  grid-area:cover;position:relative;display:flex;align-items:flex-start;justify-content:center;
  height:clamp(9.4rem,16vw,12.5rem);margin:-1px -1px 0;padding:0 7%;
  border-radius:13px 13px 0 0;isolation:isolate;overflow:hidden;
  background:linear-gradient(98deg,#0d211c60 0%,transparent 11%),linear-gradient(104deg,var(--binding) 4%,var(--binding-light) 84%);
}
#shelf .cover::before {display:block;inset:0 auto 0 3.1%;height:auto;width:2px;z-index:0;background:#0004;box-shadow:1px 0 0 #f9ebc530}
#shelf .cover::after {inset:10px;border:1px solid #fff0cd4a}
#shelf .cover .author {z-index:1;font:600 clamp(.66rem,.96vw,.78rem)/1.5 Arial,sans-serif;letter-spacing:.15em;color:var(--folio)}
#shelf .cover .coverName {font:500 clamp(2.15rem,4.6vw,3.7rem)/1.02 Georgia,'Times New Roman',serif;padding:.12rem 0 .25rem;letter-spacing:-.035em}
#shelf .cover .coverSubtitle {font:italic clamp(.84rem,1.35vw,1.12rem)/1.25 Georgia,serif;color:#f4ecda}
#shelf .coverMusic {
  width:43%;height:140%;right:-4%;top:17%;border:5px solid #e8e0c9;outline:1px solid #fbf7e8;
  background-position:48% 9%;background-size:cover;transform:rotate(-9deg);opacity:1;
  box-shadow:-4px 3px 0 #d6cdb5,-7px 5px 0 #b7af97,-9px 8px 13px #0a18144d;
}
#shelf .love .coverMusic {right:-5%;top:19%;transform:rotate(9deg)}
#shelf .cardbody {grid-area:info;display:block;min-width:0;padding:.86rem 1.12rem .62rem;text-align:right}
#shelf .catalogComposer {margin:0 0 .18rem;color:#69573d;font-size:.85rem;font-weight:650}
#shelf .cardbody h2 {font-size:clamp(1.1rem,2vw,1.45rem);line-height:1.38;letter-spacing:0;color:#1c4036}
#shelf .cardbody h2[lang=en] {font:600 clamp(1.38rem,2.4vw,1.72rem)/1.2 Georgia,serif;text-align:right}
#shelf .catalogParts {margin:.22rem 0 0;font-size:.93rem;line-height:1.45;color:#52665b}
#shelf .catalogActions {grid-area:actions;display:grid;grid-template-columns:1.15fr 1fr;gap:.55rem;padding:.72rem 0 .88rem;margin:0 1.12rem;border-top:1px solid #e0e4d9}
#shelf .catalogTile .pieceCard,#shelf .catalogPractice {
  display:flex;align-items:center;justify-content:center;min-width:0;min-height:44px;margin:0;
  padding:.44rem .5rem;border-radius:8px;text-align:center;text-decoration:none;white-space:normal;
  font:700 .94rem/1.35 Tahoma,Arial,sans-serif;box-shadow:none;transform:none;
}
#shelf .catalogTile .pieceCard {overflow:visible;background:#1b584b;color:#fffdf5;border:1px solid #1b584b}
#shelf .catalogTile .pieceCard::after {content:"";position:absolute;inset:0;border-radius:13px}
#shelf .catalogPractice {position:relative;z-index:1;border:1px solid #a8bbae;background:#f9faf5;color:#254f41}
#shelf .catalogTile .pieceCard:hover {background:#124637}
#shelf .catalogPractice:hover {border-color:#729480;background:#e7f0e4}
#shelf .catalogTile:focus-within {border-color:#729480}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
  #shelf .catalogTile {transition:box-shadow .16s ease,border-color .16s ease}
  #shelf .catalogTile:hover {border-color:#92ad9d;box-shadow:0 4px 14px #213f2a1c}
}
#shelf .catalogActions a:focus-visible {outline:3px solid #996822;outline-offset:2px}
#shelf .comingPiece {margin:0 0 1.2rem;padding:.6rem 1rem;border:1px solid #dcd6c5;border-inline-start:3px solid #b39355;border-radius:9px;background:#f4f1e7}
#shelf .comingPiece h2 {font-size:1.28rem}
#shelf .comingPiece p {margin:.06rem 0 0}
#shelf .soonLabel {font-size:.79rem}

@media(max-width:680px) {
  body:has(#shelf:not([hidden])) .topin {min-height:47px}
  #shelf .shelfTitle {grid-template-columns:minmax(0,1fr) minmax(6.7rem,.8fr);gap:.5rem;margin:.65rem 0 .7rem;padding:0 .85rem;border-radius:12px}
  #shelf .shelfIntro {padding:1rem 0}
  #shelf .shelfIntro::before {width:1.6rem;margin-bottom:.38rem}
  #shelf .shelfTitle::before {width:46%;height:123%;bottom:-29%;left:-2%}
  #shelf .shelfTitle h1 {font-size:clamp(1.5rem,6.7vw,2.5rem)}
  #shelf .shelfTitle p {font-size:.875rem;line-height:1.55;margin:.25rem 0 0}
  #shelf .libraryEnsemble {max-width:13rem}
  #shelf .catalog {grid-template-columns:minmax(0,1fr);gap:.65rem}
  #shelf .resumePassage {padding:.45rem .65rem}
}

@media (max-width:680px), (orientation:landscape) and (max-height:520px) and (max-width:1024px) {
  #shelf .catalogTile {grid-template-columns:minmax(0,1fr) minmax(5.4rem,26%);grid-template-rows:1fr auto;grid-template-areas:"info cover" "actions actions"}
  #shelf .cardbody {padding:.65rem .82rem .52rem}
  #shelf .catalogComposer {font-size:.8125rem}
  #shelf .cardbody h2 {font-size:clamp(1rem,4.3vw,1.32rem)}
  #shelf .cardbody h2[lang=en] {font-size:1.37rem}
  #shelf .catalogParts {margin-top:.2rem;font-size:.875rem}
  #shelf .cover {align-self:stretch;justify-content:flex-start;margin:.56rem 0 .48rem .7rem;height:auto;min-height:5.3rem;padding:.6rem .42rem .25rem;border-radius:3px 5px 5px 3px}
  #shelf .cover::before {left:4%;width:1px}
  #shelf .cover .coverName {font:500 clamp(.82rem,3.4vw,1.18rem)/1.1 Georgia,serif;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis;letter-spacing:-.045em;padding:0;color:#fff4df}
  #shelf .cover::after {inset:4px;border-color:#fff0cd57}
  #shelf .cover :is(.author,.coverSubtitle) {display:none}
  #shelf .coverMusic,#shelf .love .coverMusic {width:68%;height:106%;right:2%;top:39%;border-width:2px;transform:rotate(-7deg);background-position:50% 7%}
  #shelf .love .coverMusic {transform:rotate(7deg)}
  #shelf .catalogActions {margin:0 .72rem;padding:.48rem 0 .66rem;gap:.42rem}
  #shelf .catalogTile .pieceCard,#shelf .catalogPractice {font-size:.875rem}
}

@media (orientation:landscape) and (max-height:520px) and (max-width:1024px) {
  body:has(#shelf:not([hidden])) .topin {min-height:44px}
  #shelf .shelfTitle {grid-template-columns:minmax(0,1fr) minmax(8rem,25%);gap:.8rem;margin:.45rem 0 .6rem;padding:0 1rem}
  #shelf .shelfIntro {padding:.38rem 0}
  #shelf .shelfIntro::before {display:none}
  #shelf .shelfTitle h1 {font-size:1.55rem}
  #shelf .shelfTitle p {margin:.08rem 0 0;font-size:.875rem}
  #shelf .libraryEnsemble {max-width:8.75rem}
  #shelf .resumePassage {margin-bottom:.55rem;padding:.35rem .65rem}
  #shelf .cover {min-height:4.5rem}
}

/* A narrow shelf with enlarged text needs the same room as a small screen. */
@container repertoire (max-width:18em) {
  #shelf .shelfTitle {grid-template-columns:minmax(0,1fr) 32%;gap:5px;padding:0 10px}
  #shelf .shelfTitle::before {width:40%}
  #shelf .resumePassage > div {flex-basis:100%}
  #shelf .resumePassage .btn {width:100%;white-space:normal}
  #shelf .catalogTile {grid-template-columns:minmax(0,1fr) 27%}
  #shelf .cover {min-height:60px;margin-inline-start:0;margin-left:6px}
  #shelf .catalogActions {grid-template-columns:minmax(0,1fr)}
}

.shelfLog,.pieceLog {display:inline-flex;align-items:center;justify-content:center;gap:.38rem;min-height:44px;white-space:nowrap;font-size:.9rem}
.shelfLog {border-color:#547370;background:#183e40;color:#fcf8ec}
.shelfLog:hover {background:#24514d;color:#fff}
.shelfLog small {font-size:.83rem;color:#e7d6b5}
.shelfLog small:empty {display:none}
body:has(#desk:not([hidden])) .shelfLog,.pieceLog .logShortName {display:none}
.pieceLog {color:#215348}
.shelfLog svg,.pieceLog svg {width:1.17rem;height:1.17rem;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round}
#desk .pieceLog+.sessionTools {margin-inline-start:0}
@media (max-width:700px), (max-width:900px) and (pointer:coarse), (max-width:1050px) and (max-height:520px) {
 #desk .pieceHead,#desk[data-active-tab=test] .pieceHead {grid-template-columns:auto minmax(0,1fr) auto auto}
 #desk .pieceHead:has(.sessionTools[open]) {grid-template-columns:auto minmax(0,1fr) auto}
 #desk .pieceHead:has(.sessionTools[open]) .pieceIdentity {grid-column:auto}
 .pieceLog .logShortName {display:inline}
 .pieceLog .logLongName {display:none}
 .pieceLog {font-size:.8rem;gap:.18rem;padding-inline:.38rem}
 .shelfLog {font-size:.81rem;gap:.25rem;min-height:40px;padding-inline:.45rem}
}
@media(max-width:460px){.shelfLog [data-log-minutes]{display:none}}
