.p-rests{--rsPaper:#f5eedf;--rsInk:#26212e;--rsRest:#a99f92;--rsHi:#f3d35b}
.p-rests .rs-note{max-width:680px}
.p-rests .rs-note p{font-family:var(--serif);font-size:1.08rem;line-height:1.7;margin:0 0 1.05em}
.p-rests .rs-score{margin:1.8rem 0 .8rem;background:var(--rsPaper);color:var(--rsInk);border-radius:6px;padding:16px 12px 14px;box-shadow:0 1px 0 rgba(0,0,0,.08),0 10px 28px rgba(0,0,0,.18);max-width:100%}
.p-rests canvas{display:block;width:100%;height:auto;touch-action:manipulation;cursor:crosshair}
.p-rests figcaption{font-size:.9rem;line-height:1.5;color:#5d5566;margin-top:10px}
.p-rests .rs-controls{display:flex;flex-wrap:wrap;gap:12px 20px;align-items:center;margin:0 0 1.8rem}
.p-rests .rs-scrub{display:flex;flex-direction:column;gap:4px;font-size:.9rem;flex:1 1 220px;min-width:0}
.p-rests .rs-scrub input{width:100%;accent-color:var(--accent)}
.p-rests .rs-read{flex:1 1 100%;margin:0;font-size:.88rem;line-height:1.5;min-height:3em;overflow-wrap:anywhere}
.p-rests .rs-sign{font-style:italic;text-align:right;max-width:680px}
