/* Mahler-specific additions retain Interlude's shared layout and paper. */
.mahler-score-profile .score-tools{gap:9px;align-items:center;flex-wrap:wrap}
.mahler-score-profile .score-tools [hidden]{display:none!important}
.mahler-score-nav{display:flex;gap:6px;align-items:center;min-width:0}
.mahler-movement-select{min-width:0;max-width:160px;background:transparent;border:1px solid var(--line);border-radius:3px;color:var(--ink);font-size:11px;padding:5px 6px}
.mahler-movement-select option{background:var(--panel);color:var(--ink)}
.mahler-score-page-button{width:24px;height:28px;border:1px solid var(--line);border-radius:3px;color:var(--gold2);font-size:20px;line-height:1}
.mahler-score-page-input{width:46px!important;padding:4px!important}
.mahler-pdf-download{text-decoration:none;white-space:nowrap;color:var(--gold);line-height:1.6}
.mahler-score-profile .score-box .score-inner,.mahler-score-profile .score-box.score-fullscreen-active .score-inner{width:100%;min-width:0;max-width:none;margin:0;zoom:1}
.mahler-score-profile .score-scroll{height:450px;overflow:auto;background:#f5f1e9;touch-action:pan-x pan-y}
.mahler-score-profile .score-box.score-fullscreen-active .score-scroll{height:auto;flex:1}
.mahler-score-status{position:absolute;left:12px;right:12px;top:12px;z-index:3;display:flex;align-items:center;justify-content:center;gap:12px;border:1px solid #d6c8ac;border-radius:4px;background:rgba(244,239,227,.96);padding:10px 14px;color:#786c57;font-size:11px;pointer-events:none}
.mahler-score-status[hidden]{display:none}
.mahler-score-status button{pointer-events:auto;color:#8d692c;border:1px solid #bdab85;border-radius:3px;padding:3px 8px}
.mahler-score-status.is-error{color:#8f493a}
.mahler-score-profile .score-caption{font-size:10px;line-height:1.6}
.mahler-score-profile .score-fullscreen-active .mahler-score-status{top:45px}
.mahler-score-profile .score-sync-tool[hidden]{display:none!important}
@media(max-width:900px){.mahler-score-profile .score-scroll{height:420px}}
@media(max-width:600px){.mahler-score-profile .score-tools{gap:8px;width:100%;min-width:0}.mahler-score-profile .score-section .section-heading{flex-direction:column;align-items:stretch;gap:14px}.mahler-score-nav{order:0;flex-basis:100%}.mahler-movement-select{max-width:180px;flex:1}.mahler-score-profile .score-scroll{height:370px}.mahler-score-profile .score-caption{font-size:9px;flex-wrap:wrap}.mahler-score-profile .score-tools .zoom{margin-left:auto}.mahler-score-status{font-size:10px;left:7px;right:7px}.mahler-score-profile .score-box{padding:7px 4px 8px}}
