/* Local preview: original score, hit areas and highlights share one transform. */
.score-viewer-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:10px 12px;border-bottom:1px solid var(--reader-line,#ddd4c3);font-size:12px;background:var(--reader-sheet,#fffefa);color:var(--reader-ink,#3f3932)}
.score-viewer-tools button{min-height:44px;min-width:44px;padding:8px 14px;border:1px solid var(--reader-line,#ddd4c3);border-radius:8px;background:var(--reader-sheet,#fffefa)}
.score-viewer-tools output{min-width:48px;text-align:center;font-variant-numeric:tabular-nums}
.score-viewer-tools span{color:var(--reader-soft,#776e60);margin-left:auto}
.score-scroll{height:68vh;height:68dvh;min-height:280px;max-height:860px;overflow:hidden;position:relative;overscroll-behavior:contain;background:#fffefa}
.score-scroll .a4-sheet{min-width:0;width:100%;padding:20px 16px;transform-origin:50% 50%;user-select:none}
.score-scroll .protected-hit{cursor:pointer}
.score-scroll.is-dragging,.score-scroll.is-dragging *{cursor:grabbing!important}
@media(max-width:1200px){.workspace{grid-template-columns:minmax(0,1fr)}.notebook{position:static;margin-top:20px}.score-scroll .a4-sheet{min-width:0}}
@media(max-width:760px){.score-viewer-tools span{width:100%;margin:0}.score-scroll .a4-sheet{padding:16px 10px}}
