/* MozScore professional presentation. Musical rendering stays with the existing engine. */
body.partitions-page.mozscore-pro:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) {background:#eef2f6!important;color:#1e293b;--gold:#2865b5;--gold-light:#427ed0;--gold-deep:#174b90;--gold-glow:rgba(40,101,181,.15);--gold-tint:rgba(40,101,181,.08)}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) {--text-primary:#1e293b;--text-secondary:#52637a;--text-muted:#68788c;padding:0 20px 32px!important}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .container {width:100%!important;max-width:1440px!important;margin:0 auto!important;padding:0!important}
body.partitions-page.mozscore-pro:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .pro-navigation {display:none}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .pro-navigation {display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:72px;padding:12px 0;border-bottom:1px solid #d7e0eb;margin-bottom:26px}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .pro-navigation-brand {font:700 19px/1.2 system-ui,sans-serif;letter-spacing:-.5px;color:#20364d;text-decoration:none}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .pro-navigation-brand span {color:#22798a}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .pro-navigation-actions {display:flex;align-items:center;gap:12px;flex-wrap:wrap}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) #home-btn,body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) #lang-toggle,body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) #btn-share-harmonica {position:static!important;inset:auto!important;transform:none!important;margin:0!important;box-shadow:none!important}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) #home-btn,body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) #btn-share-harmonica {display:inline-flex!important;align-items:center;justify-content:center;width:44px!important;height:44px!important;border:1px solid #d7e0eb!important;border-radius:10px!important;background:#fff!important;color:#40556e!important}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) #lang-toggle {display:flex!important;padding:3px!important;border:1px solid #d7e0eb!important;background:#fff!important;border-radius:10px!important}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) #lang-toggle .lang-btn {min-width:34px!important;min-height:36px!important;color:#52637a!important;border-radius:7px!important;background:transparent!important}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) #lang-toggle .lang-btn.active {color:#1c559f!important;background:#eaf2fc!important}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .mozharmoscore-heading-row {display:flex!important;align-items:center!important;justify-content:space-between!important;position:relative!important;gap:24px!important;padding:0!important;margin:0 0 26px!important;min-height:0!important}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .mozharmoscore-corner-logo,body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .mozharmoscore-qr {display:none!important}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .mozharmoscore-title-line {display:flex!important;align-items:center!important;gap:16px!important;justify-content:flex-start!important;width:auto!important;margin:0!important}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .mozharmoscore-mark {width:56px!important;height:64px!important;object-fit:contain!important;margin:0!important;filter:none!important}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .mozharmoscore-title-copy {text-align:left!important}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) h1 {font:750 clamp(32px,4vw,44px)/1.12 system-ui,sans-serif!important;letter-spacing:-1.5px!important;margin:0 0 8px!important;color:#20364d!important;text-shadow:none!important}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) h1 strong {color:#2865b5!important}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .subtitle {font:500 15px/1.5 system-ui,sans-serif!important;color:#52637a!important;margin:0!important}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .mozscore-import-promise {display:none!important}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .appstore-badge-row {position:static!important;transform:none!important;margin:0!important;flex-shrink:0}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .appstore-badge {background:#20364d!important;border-color:#20364d!important;border-radius:10px!important;box-shadow:none!important}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .score-library-view {display:flex!important;flex-direction:column!important;gap:18px!important;max-width:none!important;padding:24px!important;border:1px solid #d7e0eb!important;border-radius:18px!important;background:#fff!important;box-shadow:0 6px 28px rgba(30,50,80,.04)!important}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .score-library-view > * {order:0!important;margin-top:0!important;margin-bottom:0!important}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .library-topbar {display:flex!important;justify-content:space-between!important;align-items:center!important;gap:18px!important;flex-wrap:wrap!important}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .library-kicker {font:600 11px/1.4 system-ui,sans-serif!important;text-transform:uppercase;letter-spacing:1.4px;color:#68788c!important;margin-bottom:5px}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .library-title {font:700 clamp(23px,3vw,30px)/1.2 system-ui,sans-serif!important;letter-spacing:-.8px!important;color:#20364d!important}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .library-total-count {color:#2865b5!important;background:#eaf2fc!important;border:0!important}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .library-actions {gap:8px!important;flex-wrap:wrap!important}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .library-action-btn {min-height:42px!important;padding:9px 13px!important;font:600 13px/1.2 system-ui,sans-serif!important;border:1px solid #d7e0eb!important;border-radius:9px!important;background:#f8fafc!important;color:#40556e!important;box-shadow:none!important}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .library-action-btn.primary {background:#2865b5!important;color:#fff!important;border-color:#2865b5!important}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .pro-disclosure {border:1px solid #d7e0eb;border-radius:12px;background:#f8fafc;padding:0;min-width:0}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .pro-disclosure > summary {display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;min-height:48px;padding:12px 16px;list-style:none;font:600 14px/1.4 system-ui,sans-serif;color:#40556e}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .pro-disclosure > summary::-webkit-details-marker {display:none}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .pro-disclosure > summary::after {content:'＋';font-size:20px;font-weight:400;color:#2865b5}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .pro-disclosure[open] > summary::after {content:'−'}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .pro-disclosure > summary .pro-preferences-value {margin-left:auto;color:#68788c;font-size:12px;font-weight:400}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .pro-disclosure-content {padding:0 16px 16px}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .library-notation-choice,body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .library-harmonica-choice {background:#fff!important;border:1px solid #e0e7ef!important;border-radius:10px!important;margin:0 0 12px!important;padding:16px!important;min-height:0!important}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .library-notation-choice-copy span,body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .library-harmonica-choice-copy span {font-size:13px!important;line-height:1.5!important;color:#52637a!important;opacity:1!important;max-width:650px}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .notation-mode-opt,body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .library-harmonica-opt {min-height:44px!important;border-radius:8px!important;font-size:13px!important;box-shadow:none!important}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .notation-mode-opt.active,body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .library-harmonica-opt.active {color:#fff!important;background:#2865b5!important}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .library-collections,body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .library-category-tabs {display:flex!important;flex-wrap:wrap!important;gap:6px!important;background:none!important;border:0!important;padding:0!important}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .library-collection-btn,body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .library-category-tab {min-height:38px!important;padding:8px 12px!important;color:#52637a!important;background:#f8fafc!important;border:1px solid #e0e7ef!important;border-radius:8px!important;font:500 12px/1.2 system-ui,sans-serif!important;box-shadow:none!important}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .library-collection-btn.is-active,body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .library-category-tab.is-active {color:#1c559f!important;background:#eaf2fc!important;border-color:#a7c6eb!important}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .library-filters {display:flex!important;gap:10px!important;flex-wrap:wrap!important;padding:14px!important;border-radius:12px!important;background:#f3f6fa!important;border:0!important}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .library-filters input,body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .library-filters select {height:44px!important;min-height:44px!important;background:#fff!important;color:#20364d!important;border:1px solid #ccd8e6!important;border-radius:8px!important;font:500 14px/1.2 system-ui,sans-serif!important}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) #library-search {flex:1 1 320px!important;min-width:0!important}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .library-view-btn {width:44px!important;height:44px!important;color:#52637a!important;background:#fff!important;border-radius:8px!important;border:1px solid #ccd8e6!important}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .library-view-btn.is-active {background:#eaf2fc!important;color:#1c559f!important;border-color:#a7c6eb!important}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .score-library-grid {display:grid!important;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr))!important;gap:16px!important}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .score-library-card,body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .score-library-card.has-score-page {border:1px solid #d7e0eb!important;border-radius:12px!important;background:#fff!important;box-shadow:0 3px 12px rgba(30,50,80,.04)!important;backdrop-filter:none!important;padding:18px!important;color:#20364d!important;gap:12px!important}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .score-library-card:hover {border-color:#90b2db!important;box-shadow:0 7px 20px rgba(30,50,80,.09)!important}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .score-library-card.is-selected {border-color:#2865b5!important;outline:2px solid #d7e7fa!important;background:#f8fbff!important}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .score-card-title {font:700 18px/1.3 system-ui,sans-serif!important;color:#20364d!important}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .score-card-composer {font:400 14px/1.4 system-ui,sans-serif!important;color:#68788c!important}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .score-card-meta {font-size:12px!important;color:#52637a!important}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .score-card-player-band {margin-top:auto!important;background:#f3f6fa!important;border:0!important;border-radius:9px!important;padding:10px!important}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .score-card-player-actions button {min-height:44px!important;border-radius:8px!important;font-size:13px!important;background:#fff!important;color:#40556e!important;border-color:#d7e0eb!important;box-shadow:none!important}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .score-card-player-actions button[data-action="reader"] {background:#2865b5!important;color:#fff!important;border-color:#2865b5!important}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .score-card-secondary-actions button {min-height:40px!important;min-width:40px!important;font-size:12px!important}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .score-library-grid.is-list-view {display:flex!important;flex-direction:column!important}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .score-library-grid.is-list-view .score-library-card {display:grid!important;grid-template-columns:minmax(160px,1fr) minmax(150px,.8fr) minmax(220px,.9fr)!important;grid-template-areas:'head meta player' 'badges secondary player'!important;gap:10px 20px!important}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .score-library-grid.is-list-view .score-card-preview {display:none!important}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .score-library-grid.is-list-view .score-card-title {font-size:17px!important}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .library-empty {color:#52637a!important;padding:48px 20px!important;text-align:center!important;background:#f8fafc!important;border:1px dashed #ccd8e6!important;border-radius:12px!important}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .library-seo-intro,body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .library-guide-panel {background:#fff!important;border:1px solid #d7e0eb!important;border-radius:10px!important;color:#40556e!important;box-shadow:none!important}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .library-guide-panel p,body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .library-seo-intro p {color:#52637a!important;font-size:14px!important;line-height:1.6!important}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .pro-help {margin-top:10px!important}
body.partitions-page.mozscore-pro:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) button:focus-visible,body.partitions-page.mozscore-pro:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) a:focus-visible,body.partitions-page.mozscore-pro:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) summary:focus-visible,body.partitions-page.mozscore-pro:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) input:focus-visible,body.partitions-page.mozscore-pro:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) select:focus-visible {outline:3px solid #6ba3e8!important;outline-offset:3px!important}
body.partitions-page.mozscore-pro:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode):not(.partitions-library-mode) .score-card {border-color:#d7e0eb!important;background:#fff!important;box-shadow:0 4px 18px rgba(30,50,80,.06)!important}
body.partitions-page.mozscore-pro:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode):not(.partitions-library-mode) .mobile-reader-appbar {background:#20364d!important;color:#fff!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
body.partitions-page.mozscore-pro:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode):not(.partitions-library-mode) .mobile-reader-appbar button {background:#314a64!important;color:#fff!important;border-color:#52637a!important}
body.partitions-page.mozscore-pro:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode):not(.partitions-library-mode) .mobile-reader-brand {color:#fff!important}
body.partitions-page.mozscore-pro:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) #harmo-passage {border:1px solid #ccd8e6!important;background:#f3f6fa!important;border-radius:12px!important;color:#20364d!important;box-shadow:none!important}
body.partitions-page.mozscore-pro:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) #harmo-passage summary {color:#20364d!important;font:600 14px/1.4 system-ui,sans-serif!important}
body.partitions-page.mozscore-pro:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) #harmo-passage button:not(#harmo-play) {border-color:#ccd8e6!important;color:#40556e!important;border-radius:8px!important}
body.partitions-page.mozscore-pro:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) #harmo-play {background:#2865b5!important;color:#fff!important;border-color:#2865b5!important}
body.partitions-page.mozscore-pro:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .ctrl-btn.play {background:#2865b5!important;color:#fff!important;border-color:#2865b5!important;box-shadow:0 3px 10px rgba(40,101,181,.18)!important}
@media(max-width:900px){
 body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .score-library-grid.is-list-view .score-library-card {grid-template-columns:minmax(0,1fr) minmax(220px,1fr)!important;grid-template-areas:'head player' 'badges player' 'meta secondary'!important}
 body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .library-secondary-actions {flex-wrap:wrap!important}
}
@media(max-width:600px){
 body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) {padding:0 12px 24px!important}
 body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .pro-navigation {min-height:62px;gap:8px;margin-bottom:18px;padding-top:calc(10px + env(safe-area-inset-top,0px))}
 body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .pro-navigation-brand {font-size:16px}
 body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .pro-navigation-actions {gap:6px}
 body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) #home-btn,body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) #btn-share-harmonica {width:38px!important;height:38px!important}
 body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) #lang-toggle {gap:0!important}
 body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) #lang-toggle .lang-btn {min-width:24px!important;min-height:32px!important;padding:4px!important;font-size:10px!important}
 body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .mozharmoscore-heading-row {gap:10px!important;margin-bottom:20px!important}
 body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .mozharmoscore-mark {width:38px!important;height:46px!important}
 body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .mozharmoscore-title-line {gap:10px!important}
 body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .subtitle {font-size:12px!important}
 body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .appstore-badge-row {display:none!important}
 body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .pro-appstore {display:flex;justify-content:center;margin:18px 0}
 body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .pro-appstore .appstore-badge {display:inline-flex!important}
 body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .score-library-view {padding:14px!important;gap:14px!important;border-radius:14px!important}
 body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .library-topbar {gap:12px!important}
 body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .library-actions {width:100%!important;justify-content:flex-start!important}
 body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .library-action-btn {font-size:12px!important;padding:9px 10px!important}
 body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .pro-preferences-value {max-width:130px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
 body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .library-filters {gap:8px!important;padding:10px!important}
 body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) #library-search {flex-basis:100%!important;width:100%!important}
 body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .library-filters select {flex:1 1 100px!important;min-width:0!important;width:auto!important;font-size:12px!important}
 body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .library-view-toggle {width:auto!important;flex:none!important}
 body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .library-view-btn {width:36px!important}
 body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .library-category-tabs {gap:5px!important}
 body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .library-category-tab {padding:7px 9px!important;font-size:11px!important}
 body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .score-library-grid.is-list-view .score-library-card {display:flex!important;gap:10px!important}
 body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .library-notation-choice-copy,body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .library-harmonica-choice-copy {min-width:0!important}
 body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .library-guide {grid-template-columns:1fr!important}
}
@media(min-width:601px){body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .pro-appstore {display:none}}
@media(prefers-reduced-motion:reduce){body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .score-library-card {transition:none!important;transform:none!important}}
@media print {body.partitions-page.mozscore-pro:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .pro-navigation,body.partitions-page.mozscore-pro:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .pro-disclosure,body.partitions-page.mozscore-pro:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .pro-appstore {display:none!important}}

body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .mozharmoscore-heading-row {background:transparent!important;box-shadow:none!important;border:0!important}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) h1 span,body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) h1 strong {background:none!important;-webkit-text-fill-color:currentColor!important}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .subtitle {display:block!important}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .pro-help .mozscore-import-promise {display:block!important;color:#52637a!important;margin-top:16px}

body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .mozharmoscore-title-copy h1 {text-align:left!important;width:auto!important;justify-content:flex-start!important}
body.partitions-page.mozscore-pro.partitions-library-mode:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .subtitle {text-transform:none!important;letter-spacing:0!important;text-align:left!important}

/* Smartphone: a quiet reading surface, secondary controls in a modal sheet. */
.pro-phone-settings:not([open]) {display:none!important}
@media (max-width:1180px), (max-height:500px) and (pointer:coarse) {
 body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) #mobile-reader-back {grid-column:1!important}
 body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .mobile-reader-brand {grid-column:2!important}
 body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .mobile-reader-appbar-actions {grid-column:3!important}
 body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) {padding:0 0 calc(110px + env(safe-area-inset-bottom,0px))!important;background:#eef2f6!important}
 body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .container {padding:calc(56px + env(safe-area-inset-top,0px)) 8px calc(110px + env(safe-area-inset-bottom,0px))!important;min-height:100dvh!important;width:100%!important;max-width:100%!important;overflow-x:clip!important}
 body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .mobile-reader-appbar {margin:0!important;width:100%!important;box-sizing:border-box!important;display:grid!important;position:fixed!important;top:0!important;left:0!important;right:0!important;align-items:center!important;min-height:calc(48px + env(safe-area-inset-top,0px))!important;padding:env(safe-area-inset-top,0px) 10px 0!important;grid-template-columns:40px minmax(0,1fr) 88px!important;box-shadow:none!important}
 body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .mobile-reader-appbar button {width:40px!important;height:40px!important;min-height:40px!important}
 body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .mobile-reader-brand {font-size:17px!important}
 body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .mobile-reader-summary {display:block!important;margin:0!important;padding:6px 4px 10px!important;background:transparent!important;border:0!important}
 body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) #mobile-reader-title {font:700 19px/1.25 system-ui,sans-serif!important;letter-spacing:-.4px!important;margin:0!important;color:#20364d!important}
 body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) #mobile-reader-composer,body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .mobile-reader-summary-badges {display:none!important}
 body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .score-card {padding:0!important;margin:0!important;border:0!important;border-radius:10px!important;box-shadow:none!important;overflow:visible!important}
 body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) #harmo-passage {margin:0 0 8px!important;padding:4px 10px!important;border-radius:9px!important}
 body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) #harmo-passage summary {min-height:38px!important;font-size:12px!important;gap:8px!important;justify-content:space-between!important}
 body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) #harmo-passage-status {font-size:11px!important;color:#52637a!important}
 body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .harmo-passage-actions {gap:8px!important;padding:6px 0!important;font-size:13px!important}
 body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .harmo-passage-actions button {font-size:12px!important;padding:8px!important}
 body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .harmo-passage-actions label {flex:1 1 130px!important;justify-content:space-between!important}
 body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) #score {padding:8px 0!important;margin:0!important;background:#fff!important;scroll-margin-top:calc(62px + env(safe-area-inset-top,0px))!important}
 body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .partition-sticky-controls {position:fixed!important;bottom:calc(8px + env(safe-area-inset-bottom,0px))!important;left:50%!important;transform:translateX(-50%)!important;width:calc(100% - 16px)!important;max-width:480px!important;display:flex!important;flex-direction:column!important;gap:4px!important;padding:6px 10px!important;min-height:0!important;border:1px solid #d7e0eb!important;border-radius:14px!important;background:rgba(255,255,255,.98)!important;box-shadow:0 3px 18px rgba(30,50,80,.12)!important}
 body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .partition-sticky-controls > .transpose-bar {display:none!important}
 body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .partition-sticky-controls > .controls {width:100%!important;gap:3px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
 body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .partition-sticky-controls .control-row.nav-row {display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-height:48px!important}
 body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .partition-sticky-controls .mobile-reader-speed {width:64px!important;height:44px!important;font-size:10px!important;flex:0 0 64px!important}
 body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .mobile-reader-speed strong {font-size:12px!important}
 body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .partition-sticky-controls .ctrl-btn.nav,body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .partition-sticky-controls .ctrl-btn.stop {width:44px!important;min-width:44px!important;max-width:44px!important;height:44px!important;min-height:44px!important;border-radius:10px!important;font-size:18px!important}
 body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .partition-sticky-controls .ctrl-btn.play {width:50px!important;min-width:50px!important;max-width:50px!important;height:50px!important;min-height:50px!important;border-radius:50%!important}
 body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .partition-sticky-controls .ctrl-btn.play span:first-child {font-size:20px!important}
 body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .partition-sticky-controls .progress-row {display:flex!important;height:16px!important;min-height:16px!important;padding:0!important}
 body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .partition-sticky-controls .progress-label {display:none!important}
 body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) #mozscore-admin-badge {display:none!important}
 body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .pro-phone-settings[open] {display:block!important;position:fixed!important;inset:calc(12px + env(safe-area-inset-top,0px)) 0 auto!important;margin:0 auto!important;width:calc(100% - 20px)!important;max-width:520px!important;max-height:calc(100dvh - 24px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))!important;padding:0!important;overflow:auto!important;border:1px solid #ccd8e6!important;border-radius:16px!important;background:#fff!important;color:#20364d!important;box-shadow:0 12px 50px rgba(15,30,50,.25)!important}
 body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .pro-phone-settings::backdrop {background:rgba(15,30,50,.5)}
 body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .pro-phone-settings-header {position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;background:#fff;border-bottom:1px solid #d7e0eb}
 body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .pro-phone-settings-header h2 {font:700 17px/1.3 system-ui,sans-serif!important;margin:0!important;color:#20364d!important}
 body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .pro-phone-settings-header button {width:44px;min-height:44px;border:0;border-radius:10px;color:#40556e;background:#eef2f6;font-size:26px}
 body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .pro-phone-settings-content {display:flex;flex-direction:column;gap:12px;padding:14px}
 body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .pro-phone-registers {display:flex;gap:6px}
 body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .pro-phone-registers button {flex:1;min-height:44px;padding:8px;border:1px solid #ccd8e6;border-radius:8px;background:#f8fafc;color:#40556e;font:600 13px system-ui,sans-serif}
 body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .pro-phone-registers button.active {background:#eaf2fc;color:#1c559f;border-color:#a7c6eb}
 body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .pro-phone-settings .score-topbar {display:flex!important;flex-wrap:wrap!important;gap:8px!important;padding:0!important;margin:0!important;background:none!important;border:0!important}
 body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .pro-phone-settings .score-topbar-hint {display:none!important}
 body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .pro-phone-settings .reader-harmonica-choice {min-height:44px!important;padding:4px!important;border-radius:9px!important;flex:1 1 100%!important;justify-content:space-around!important;background:#f3f6fa!important;border-color:#ccd8e6!important}
 body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .pro-phone-settings .reader-harmonica-opt {min-height:40px!important;padding:8px 18px!important;font-size:13px!important}
 body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .pro-phone-settings .harmonica-range-warning {margin:0!important;padding:10px!important;font-size:12px!important;line-height:1.5!important}
 body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .pro-phone-settings .notation-mode-row {display:flex!important;flex-direction:column!important;gap:8px!important;margin:0!important;padding:12px!important;background:#f8fafc!important;border:1px solid #d7e0eb!important;border-radius:10px!important}
 body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .pro-phone-settings .notation-mode-switch {display:flex!important;width:100%!important;background:#eef2f6!important;border-radius:8px!important}
 body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .pro-phone-settings .notation-mode-opt {flex:1!important;min-width:0!important;min-height:44px!important;padding:8px!important;font-size:12px!important;border-radius:7px!important;box-shadow:none!important}
 body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .pro-phone-settings .notation-mode-opt.active {background:#2865b5!important;color:#fff!important}
 body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .pro-phone-settings .notation-mode-caption {font-size:12px!important;line-height:1.5!important;color:#52637a!important}
 body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .pro-phone-settings .mobile-reader-bottom-controls {display:flex!important;position:static!important;inset:auto!important;transform:none!important;width:100%!important;max-height:none!important;gap:10px!important;padding:0!important;margin:0!important;border:0!important;box-shadow:none!important;background:transparent!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important}
 body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .pro-phone-settings .pdf-static-row {display:block!important;margin:0!important;padding:0!important;border:0!important}
 body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .pro-phone-settings .action-stack {display:flex!important;flex-wrap:wrap!important;gap:8px!important;position:static!important}
 body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .pro-phone-settings .transpose-btn {min-height:44px!important;font-size:12px!important}
 body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .pro-phone-settings .tempo-row,body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .pro-phone-settings .sound-row {display:flex!important;flex-wrap:wrap!important;gap:8px!important}
}
@media (max-height:500px) and (pointer:coarse) {body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .mobile-reader-summary {padding:0 4px 4px!important} body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) #mobile-reader-title {font-size:15px!important} body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .container {padding-top:calc(50px + env(safe-area-inset-top,0px))!important}}

/* Reader palette shared with Piano Score; score glyphs and tablature colors are preserved. */
body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .mobile-reader-brand strong {color:#55bfbd!important}
body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .mobile-reader-summary {background:#eef2f6!important}
body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .mobile-reader-summary-badges .badge {box-shadow:none!important}
body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .notation-mode-row {border:1px solid #d7e0eb!important;background:#f8fafc!important;box-shadow:none!important}
body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .notation-mode-row .notation-mode-switch {background:#eef2f6!important}
body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .notation-mode-row .notation-mode-switch .notation-mode-opt {color:#40556e!important;background:transparent!important;box-shadow:none!important}
body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .notation-mode-row .notation-mode-switch .notation-mode-opt.active {background:#2865b5!important;color:#fff!important;box-shadow:none!important}
body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .notation-mode-row .notation-mode-caption {color:#52637a!important;opacity:1!important}
body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .reader-harmonica-choice {border-color:#c3dadd!important;background:#eff8f8!important;box-shadow:none!important}
body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .reader-harmonica-choice .reader-harmonica-opt.active {color:#fff!important;background:#22798a!important;border-color:#22798a!important;box-shadow:none!important}
body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .harmonica-compat-badge.compat-both {background:#e8f6ef!important;border-color:#b3d9c8!important;color:#24634c!important}
body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .harmonica-compat-badge.compat-16 {background:#eff8f8!important;border-color:#b3d6dc!important;color:#226777!important}
body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .harmonica-range-warning {background:#eff8f8!important;border-color:#b3d6dc!important;color:#226777!important;box-shadow:none!important}
body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .harmonica-range-warning.out-of-range {background:#fff0ef!important;border-color:#e4b9b6!important;color:#9c3a38!important}
body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .transpose-bar {box-shadow:none!important}
body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .transpose-btn {background:#fff!important;border-color:#ccd8e6!important;color:#40556e!important;box-shadow:none!important}
body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .transpose-bar .transpose-btn.active {background:#eaf2fc!important;border-color:#a7c6eb!important;color:#1c559f!important;box-shadow:none!important}
body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .pro-phone-settings .transpose-btn.active {background:#eaf2fc!important;border-color:#a7c6eb!important;color:#1c559f!important;box-shadow:none!important}
body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .pdf-download-btn {background:#eaf2fc!important;color:#1c559f!important;border-color:#a7c6eb!important;box-shadow:none!important}
body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .partition-sticky-controls {background:rgba(255,255,255,.98)!important;border-color:#d7e0eb!important;box-shadow:0 3px 18px #1e325014!important}
body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .partition-sticky-controls .transpose-bar {background:transparent!important}
body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .partition-sticky-controls .mobile-reader-speed {background:#f3f6fa!important;color:#52637a!important}
body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .partition-sticky-controls .mobile-reader-speed strong {color:#20364d!important}
body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .partition-sticky-controls #progress-slider {--range-color:#2865b5!important}
body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .partition-sticky-controls #progress-slider::-webkit-slider-thumb {background:#2865b5!important;border-color:#fff!important;box-shadow:0 1px 5px #1e325033!important}
body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .partition-sticky-controls #progress-slider::-moz-range-thumb {background:#2865b5!important;border-color:#fff!important;box-shadow:0 1px 5px #1e325033!important}
body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .sound-btn.active {background:#eaf2fc!important;border-color:#a7c6eb!important;color:#1c559f!important;box-shadow:none!important}
body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .reader-view-tools {background:#f8fafc!important;border-color:#ccd8e6!important}
body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .score-zoom-value {background:#fff!important;border-color:#ccd8e6!important;color:#40556e!important;box-shadow:none!important}
body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) #score .vf-line.is-current-staff {filter:none!important}
body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) #btn-octave-low.active {background:#eaf2fc!important;border-color:#a7c6eb!important;color:#1c559f!important;box-shadow:none!important}
body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) #btn-octave-mid.active {background:#eaf2fc!important;border-color:#a7c6eb!important;color:#1c559f!important;box-shadow:none!important}
body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) #btn-octave-high.active {background:#eaf2fc!important;border-color:#a7c6eb!important;color:#1c559f!important;box-shadow:none!important}
body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) #harmo-passage #harmo-play {color:#fff!important;background:#2865b5!important;border-color:#2865b5!important}

/* Compact desktop options leave room for the score. */
@media (min-width:1181px) {
 body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .notation-mode-row {padding:8px 12px!important;margin:8px 0!important;gap:12px!important;border-radius:10px!important}
 body.partitions-page.mozscore-pro .notation-mode-opt {min-height:38px!important;padding:7px 12px!important;font-size:13px!important}
 body.partitions-page.mozscore-pro .notation-mode-caption {font-size:12px!important;line-height:1.4!important}
 body.partitions-page.mozscore-pro #harmo-passage {margin:6px 0;padding:4px 12px}
 body.partitions-page.mozscore-pro #harmo-passage summary {min-height:36px;font-size:13px}
 body.partitions-page.mozscore-pro .harmo-passage-quick {margin:6px 0;gap:8px}
 body.partitions-page.mozscore-pro .harmo-passage-quick:has(+ #harmo-passage[open]) {display:none}
 body.partitions-page.mozscore-pro .harmo-passage-quick button {min-height:38px;padding:6px 12px;font-size:13px}
 body.partitions-page.mozscore-pro:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .phone-audio-settings {display:flex!important;align-items:center;gap:8px 20px!important;margin:8px 0!important;padding:6px 12px!important}
 body.partitions-page.mozscore-pro:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .phone-audio-settings label {min-height:34px;font-size:13px}
 body.partitions-page.mozscore-pro:not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .phone-audio-settings p {flex-basis:auto;flex:1;min-width:220px;margin:0;font-size:11px}
}

.pro-desktop-settings {display:block;margin:8px 0 8px auto;padding:8px 16px;min-height:40px;border:1px solid #b5c9df;border-radius:10px;background:#f5f8fc;color:#245793;font:600 14px system-ui;cursor:pointer}
.pro-desktop-settings[hidden] {display:none!important}
@media (min-width:1181px) {
 body.partitions-page.mozscore-pro .pro-phone-settings:not([open]) {display:none!important}
 body.partitions-page.mozscore-pro .pro-phone-settings[open] {display:block!important;position:fixed!important;inset:40px 0 auto!important;margin:0 auto!important;width:min(760px,calc(100% - 40px))!important;max-height:calc(100dvh - 80px)!important;overflow:auto!important;padding:0!important;border:1px solid #ccd8e6!important;border-radius:16px!important;background:white!important;color:#20364d!important;box-shadow:0 12px 50px #0f1e3240!important}
 .pro-phone-settings::backdrop {background:#0f1e3280}
 .pro-phone-settings-header {display:flex;align-items:center;justify-content:space-between;padding:12px 18px;border-bottom:1px solid #d7e0eb}
 .pro-phone-settings-header h2 {margin:0;font:700 18px system-ui}
 .pro-phone-settings-header button {min-width:44px;min-height:44px;border:1px solid #ccd8e6;border-radius:8px;background:white;color:#20364d;font-size:24px}
 .pro-phone-settings-content {display:flex;flex-direction:column;gap:10px;padding:16px}
 .pro-phone-registers {display:none}
 .pro-phone-settings .score-topbar {display:flex!important;flex-wrap:wrap;gap:10px}
 .pro-phone-settings .mobile-reader-bottom-controls {position:static!important;display:flex!important;transform:none!important;width:100%!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important}
}

/* Settings own their layout; inherited dock/sheet visibility must not hide tools. */
body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .pro-phone-settings[open] .mobile-reader-bottom-controls {
 display:flex!important;flex-direction:column!important;position:static!important;inset:auto!important;transform:none!important;width:100%!important;max-width:none!important;max-height:none!important;overflow:visible!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;
}
body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .pro-phone-settings[open] .action-stack,
body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .pro-phone-settings[open] .reader-view-tools,
body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .pro-phone-settings[open] .tempo-row,
body.partitions-page.mozscore-pro:not(.partitions-library-mode):not(.mozhooks-reader-mode):not(.mozhooks-editor-mode) .pro-phone-settings[open] .sound-row {
 display:flex!important;position:static!important;transform:none!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;flex-wrap:wrap!important;align-items:center!important;gap:10px!important;width:100%!important;margin:0!important;padding:10px!important;box-sizing:border-box!important;
}
body.partitions-page.mozscore-pro .pro-phone-settings #tempo-slider {flex:1;min-width:140px}
body.partitions-page.mozscore-pro .pro-phone-settings .sound-options {display:flex!important;flex-wrap:wrap;gap:8px}
body.partitions-page.mozscore-pro .pro-phone-settings .sound-btn {min-height:40px;padding:8px 12px}
