html,body{background:#e9e5de;height:100%;margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;overflow:hidden}#stage{touch-action:none;cursor:grab;position:fixed;inset:0}#stage.dragging{cursor:grabbing}#stage canvas{width:100%;height:100%;position:absolute;inset:0}#text{pointer-events:none}#status{color:#f4efe6;pointer-events:none;background:#28241eb8;border-radius:6px;padding:4px 10px;font-size:12px;position:fixed;bottom:10px;left:12px}#controls{gap:8px;display:flex;position:fixed;bottom:10px;right:12px}#controls button{color:#f4efe6;font:inherit;cursor:pointer;background:#28241ed1;border:0;border-radius:6px;padding:6px 14px;font-size:13px}#settings-button{color:#f4efe6;font:inherit;cursor:pointer;background:#28241ed1;border:0;border-radius:6px;padding:5px 10px;font-size:13px;position:fixed;top:10px;right:12px}#settings-button:hover{background:#28241ef2}#library-button .icon,#settings-button .icon{margin-right:6px}#library-button[aria-expanded=true],#settings-button[aria-expanded=true]{background:#28241ef2;box-shadow:inset 0 0 0 1px #f4efe659}#settings[hidden]{display:none}#settings{color:#2a251f;z-index:2;background:#faf8f4f7;border-radius:10px;width:330px;max-width:calc(100vw - 24px);padding-bottom:12px;font-size:13px;position:fixed;top:52px;right:12px;box-shadow:0 6px 24px #281e0f2e}#settings header{justify-content:space-between;align-items:center;padding:10px 12px 6px 14px;display:flex}#settings h2{margin:0;font-size:15px}#settings-close{color:#6b6256;cursor:pointer;background:0 0;border:0;font-size:20px;line-height:1}#settings .setting{white-space:nowrap;justify-content:space-between;align-items:center;gap:12px;padding:6px 14px;display:flex}#paper .segno-select-button,#bar-numbers .segno-select-button,#public-instrument .segno-select-button{color:inherit;background:#fff;border:1px solid #28241e33;padding:4px 8px}#paper .segno-select-button:hover,#bar-numbers .segno-select-button:hover,#public-instrument .segno-select-button:hover{border-color:#28241e66}#controls button:hover{background:#28241ef2}#controls button[hidden],#review[hidden]{display:none}#listen.on{background:#b8452f}#listen.on:hover{background:#a33b27}#review{color:#2a251f;background:#faf8f4f7;border-radius:10px;flex-direction:column;width:300px;max-width:calc(100vw - 24px);font-size:13px;display:flex;position:fixed;top:52px;bottom:56px;right:12px;box-shadow:0 6px 24px #281e0f2e}#review header{justify-content:space-between;align-items:center;padding:10px 12px 0 14px;display:flex}#review h2{margin:0;font-size:15px}#review-close{color:#6b6256;cursor:pointer;background:0 0;border:0;font-size:20px;line-height:1}#review-summary{color:#5b5348;margin:6px 14px 8px}#review-places{flex:1;margin:0;padding:0 6px;list-style:none;overflow-y:auto}#review-places>li{cursor:pointer;border-radius:6px;padding:6px 8px}#review-places>li:hover,#review-places>li.focused{background:#e8a33d29}#review-places .bar{font-weight:600}#review-places ul{margin:2px 0 0;padding:0;list-style:none}#review-places .dot{vertical-align:1px;border-radius:50%;width:8px;height:8px;margin-right:6px;display:inline-block}#review footer{padding:8px 14px 12px}#review-clear{font:inherit;cursor:pointer;background:0 0;border:1px solid #28241e40;border-radius:6px;padding:5px 12px}#piece-bar{gap:8px;max-width:calc(100vw - 240px);display:flex;position:fixed;top:10px;left:12px}#piece-bar button{color:#f4efe6;font:inherit;cursor:pointer;text-overflow:ellipsis;background:#28241ed1;border:0;border-radius:6px;min-width:0;padding:5px 10px;font-size:13px}#piece-bar button:hover{background:#28241ef2}#part[hidden],#add-preview[hidden],#library[hidden],#library-error[hidden],#drop[hidden]{display:none}#library{color:#2a251f;z-index:2;background:#faf8f4f7;border-radius:10px;flex-direction:column;width:360px;max-width:calc(100vw - 24px);font-size:13px;display:flex;position:fixed;top:52px;bottom:56px;left:12px;box-shadow:0 6px 24px #281e0f2e}#library header{justify-content:space-between;align-items:center;padding:10px 12px 0 14px;display:flex}#library h2{margin:0;font-size:15px}#library-close{color:#6b6256;cursor:pointer;background:0 0;border:0;font-size:20px;line-height:1}#library .open-row{border-bottom:1px solid #28241e1a;padding:8px 14px 10px}#open-file{color:#f4efe6;font:inherit;cursor:pointer;background:#28241ed9;border:0;border-radius:6px;padding:6px 12px}#library .hint{color:#6b6256;margin:6px 0 0;font-size:12px}#pieces{flex:1;margin:0;padding:6px;list-style:none;overflow-y:auto}#pieces>li{cursor:pointer;border-radius:6px;align-items:flex-start;gap:6px;padding:7px 8px;display:flex}#pieces>li:hover{background:#28241e0f}#pieces>li.current{background:#e8a33d2e}#pieces .what{flex:1;min-width:0}#pieces .title{overflow-wrap:anywhere;font-weight:600}#pieces .detail{color:#6b6256;font-size:12px}#pieces .remove{visibility:hidden;color:#6b6256;cursor:pointer;background:0 0;border:0;font-size:16px;line-height:1}#pieces>li:hover .remove,#pieces .remove:focus-visible{visibility:visible}#library .library-tabs{border-bottom:1px solid #28241e1a;gap:4px;padding:8px 12px 0;display:flex}.library-tabs button{color:#6b6256;font:inherit;cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;padding:5px 10px 7px}.library-tabs button[aria-selected=true]{color:#2a251f;border-bottom-color:#c98a2e;font-weight:600}#mine-view,#public-view{flex-direction:column;flex:1;min-height:0;display:flex}#mine-view[hidden],#public-view[hidden],#public-results [hidden]{display:none}#public-view .search-row{gap:6px;padding:10px 14px 0;display:flex}#public-search{appearance:none;min-width:0;color:inherit;font:inherit;background:#fff;border:1px solid #28241e33;border-radius:6px;flex:1;padding:6px 8px}#public-instrument{max-width:40%}#public-instrument .segno-select-button{height:100%}#public-status{padding:0 14px 6px}#public-results{flex:1;margin:0;padding:0 6px 6px;list-style:none;overflow-y:auto}#public-results>li{border-top:1px solid #28241e14;padding:8px}#public-results .title{overflow-wrap:anywhere;font-weight:600}#public-results .detail,#public-results .credit{color:#6b6256;font-size:12px}#public-results .versions{margin:4px 0 0;padding:0;list-style:none}#public-results .versions>li{align-items:flex-start;gap:8px;padding:4px 0;display:flex}#public-results .versions .about{flex:1;min-width:0}#public-results .credit a{color:inherit}#public-results .actions{flex:none;gap:4px;display:flex}#public-results .open{color:inherit;font:inherit;cursor:pointer;background:0 0;border:1px solid #28241e59;border-radius:6px;flex:none;padding:4px 10px;font-size:12px}#public-results .open:hover{background:#28241e0f}#public-results .open:disabled{opacity:.5;cursor:default}#public-results .add{color:#f4efe6;font:inherit;cursor:pointer;background:#28241ed9;border:0;border-radius:6px;flex:none;padding:4px 10px;font-size:12px}#public-results .add:disabled{cursor:default;background:#28241e59}#library-error{color:#8a2f1e;background:#b8452f1f;border-radius:6px;margin:0 14px 12px;padding:8px 10px}#drop{color:#2a251f;pointer-events:none;z-index:3;background:#e9e5ded9;border:3px dashed #28241e80;border-radius:14px;justify-content:center;align-items:center;font-size:18px;display:flex;position:fixed;inset:8px}#original[hidden]{display:none}#original{color:#2a251f;background:#faf8f4fa;border-radius:10px;max-width:calc(100vw - 24px);max-height:calc(100vh - 120px);padding:10px 14px 14px;font-size:13px;position:fixed;bottom:52px;left:50%;overflow:auto;transform:translate(-50%);box-shadow:0 6px 24px #281e0f38}#original header{justify-content:space-between;align-items:center;gap:12px;display:flex}#original h2{margin:0;font-size:15px}#original header button{color:#6b6256;cursor:pointer;background:0 0;border:0;font-size:20px;line-height:1}#original p{color:#5b5348;max-width:560px;margin:6px 0 10px}#original canvas{border-radius:4px;display:block;box-shadow:0 0 0 1px #281e0f1f}#original canvas+canvas{margin-top:8px}segno-select{min-width:0;display:inline-flex}segno-select[hidden]{display:none}.segno-select-button{min-width:0;max-width:100%;font:inherit;text-align:left;cursor:pointer;border-radius:6px;align-items:center;gap:8px;display:inline-flex}.segno-select-button>span:first-child{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.segno-select-button .chevron{opacity:.7;border-bottom:1.5px solid;border-right:1.5px solid;flex:none;width:6px;height:6px;margin:-3px 1px 0 auto;transform:rotate(45deg)}.segno-select-button[aria-expanded=true] .chevron{margin-top:3px;transform:rotate(225deg)}.segno-select-button:focus-visible{outline-offset:1px;outline:2px solid #8a6d3b}#piece-bar .segno-select-button{color:#f4efe6;background:#28241ed1;border:0;padding:5px 10px;font-size:13px}#piece-bar .segno-select-button:hover,#piece-bar .segno-select-button[aria-expanded=true]{background:#28241ef2}.segno-select-list{overscroll-behavior:contain;color:#2a251f;-webkit-tap-highlight-color:transparent;background:#faf8f4fc;border:0;border-radius:8px;outline:none;max-width:calc(100vw - 16px);margin:0;padding:4px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:13px;list-style:none;position:fixed;inset:auto;overflow-y:auto;box-shadow:0 0 0 1px #28241e1f,0 8px 28px #281e0f38}.segno-select-list li{white-space:nowrap;cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:5px;padding:6px 12px 6px 26px;position:relative}.segno-select-list li.active{background:#28241e17}.segno-select-list li[aria-selected=true]:before{content:"";border-bottom:1.5px solid;border-right:1.5px solid;width:4px;height:8px;margin-top:-6px;position:absolute;top:50%;left:10px;transform:rotate(45deg)}@media (pointer:coarse){.segno-select-list li{padding-top:11px;padding-bottom:11px}}#public-search::-webkit-search-cancel-button{appearance:none}#public-search::-webkit-search-decoration{appearance:none}
