/* Non-modal note entry surface; the staff stays interactive. */
.compose-score .score-input-pad{position:fixed;z-index:75;box-sizing:border-box;width:min(540px,calc(100vw - 16px));max-height:calc(100dvh - 16px);overflow:auto;margin:0;padding:0;border:1px solid var(--line,#617367);border-radius:9px;background:var(--panel,#1c2821);color:var(--ink,#edf2e9);box-shadow:0 8px 28px #0003;font:14px/1.4 var(--body,Arial,sans-serif);overscroll-behavior:contain}
.compose-score .score-pad-header{display:flex!important;align-items:center;gap:4px;padding:5px 7px!important;margin:0!important;height:auto!important;border:0!important;background:color-mix(in srgb,var(--score-choice,#cde7ac) 8%,var(--panel,#1c2821));position:sticky;top:0;z-index:2}
.compose-score .score-pad-header .score-pad-grip{flex:1;min-width:0;text-align:left;cursor:move;touch-action:none;border:0!important;background:transparent!important;font-size:13px!important;padding:0 4px!important;white-space:nowrap}
.compose-score .score-pad-header :is(.score-pad-close,.score-pad-minimize){width:32px!important;min-width:32px;height:30px!important;min-height:30px!important;padding:0!important;font-size:20px!important;background:transparent!important;border-color:transparent!important}
.compose-score .score-pad-body{padding:8px 10px 7px;min-width:0}.score-pad-settings{display:flex;align-items:end;gap:10px;margin-bottom:7px}.compose-score .score-pad-settings>label{flex:1;min-width:0;font-size:11px!important;line-height:1.4}.compose-score .score-pad-settings select{display:block;width:100%!important;height:32px!important;min-height:32px!important;margin:2px 0 0!important;padding:0 7px!important;font-size:13px!important}
.compose-score .score-input-pad .score-inputs{display:block!important;border:0!important;background:none!important;margin:0!important;padding:0!important;min-width:0}.compose-score .score-input-pad .score-inputs>section{border:0!important;padding:0!important;margin:0!important}.compose-score .score-input-pad .score-inputs h3,.compose-score .score-input-pad [data-score-fretted]{display:none!important}
.compose-score .score-input-pad .score-inputs section>label{display:flex!important;align-items:center;gap:7px;font-size:12px!important;margin:0 0 5px!important}.compose-score .score-input-pad [data-score-octave]{width:72px!important;min-height:30px!important;height:30px!important;display:inline-block;margin:0!important;font-size:13px!important}
.compose-score .score-input-pad .score-keyboard{position:relative;display:flex!important;isolation:isolate;box-sizing:border-box;height:112px!important;margin:0!important;width:100%;border:0;gap:0!important;overflow:hidden;border-radius:4px;background:#191d1a}
.compose-score .score-input-pad .score-keyboard .score-key{box-sizing:border-box!important;flex:1 1 0!important;position:relative!important;left:auto!important;min-width:0!important;width:calc(100% / 7)!important;height:110px!important;min-height:110px!important;padding:0 0 7px!important;margin:0!important;border:1px solid #90968c!important;border-radius:0 0 3px 3px!important;display:flex;align-items:end;justify-content:center;background:#f2f0e8!important;color:#26312b!important;font:12px/1.2 var(--body,Arial)!important;z-index:1}
.compose-score .score-input-pad .score-keyboard .score-key.is-black{position:absolute!important;left:var(--pad-key-left,0)!important;top:0!important;width:8%!important;height:70px!important;min-height:70px!important;z-index:2;border-color:#080d0a!important;background:#18221c!important;color:#edf2e9!important;font-size:10px!important;padding-bottom:7px!important}
.compose-score .score-input-pad .score-keyboard .score-key[aria-pressed=true]{background:#c6e79c!important;color:#183220!important;border-color:#47643d!important}.compose-score .score-input-pad .score-keyboard .score-key.is-black[aria-pressed=true]{background:#47713a!important;color:#fff!important}
.compose-score .score-input-pad .score-keyboard .score-key:disabled{opacity:1!important;background:#c4c6bf!important;color:#6c746b!important;cursor:default}.compose-score .score-input-pad .score-keyboard .score-key.is-black:disabled{background:#475049!important;color:#9da69d!important}
.compose-score .score-pad-fret-navigation{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:4px}.compose-score .score-pad-fret-navigation strong{font:500 12px/1.4 var(--body,Arial)}.compose-score .score-pad-fret-navigation button{width:30px!important;height:28px!important;min-height:28px!important;padding:0!important}
.score-pad-frets{display:grid;grid-template-columns:49px 35px repeat(5,minmax(0,1fr));min-width:0;gap:0}.score-pad-fret-title{font-size:10px;line-height:18px;text-align:center;color:var(--muted,#b5c3b9)}.score-pad-string{display:flex;align-items:center;font:11px/1.2 var(--body,Arial);white-space:nowrap;padding-right:3px}
.compose-score .score-pad-frets :is(.score-pad-fret,.score-pad-open-string){position:relative!important;display:grid!important;place-items:center;box-sizing:border-box;min-height:29px!important;height:29px!important;width:100%!important;min-width:0!important;padding:0!important;margin:0!important;background:#3b352b!important;border:0!important;border-right:2px solid #a39c8b!important;border-radius:0!important;box-shadow:none!important;color:#dedccc!important;overflow:visible}
.compose-score .score-pad-frets .score-pad-fret::before{content:'';position:absolute;left:0;right:0;top:50%;height:var(--string-thickness,1px);background:#c8c0a7;pointer-events:none}.score-pad-note-dot{display:grid;place-items:center;position:relative;z-index:1;width:23px;height:23px;border-radius:50%;font:10px/1 var(--body,Arial);color:#e1decb;background:#3b352bcc}
.compose-score .score-pad-frets [aria-pressed=true] .score-pad-note-dot{background:#c9e89e;color:#213c21;font-weight:800}.compose-score .score-pad-frets .score-pad-open-string{background:transparent!important;border-right:4px solid #e4dfca!important;color:var(--ink)!important}.score-pad-open-string .score-pad-note-dot{background:transparent;color:var(--ink)}.score-pad-caption{display:block;margin-top:6px;font-size:11px;line-height:1.4;color:var(--muted,#b5c3b9)}
.compose-score .score-pad-trigger{min-width:36px!important;padding:0 7px!important;font-size:21px!important}.compose-score .score-pad-trigger[aria-expanded=true]{background:var(--score-choice)!important;color:var(--score-choice-ink)!important}
.compose-score.score-pad-visible .score-paper{padding-bottom:var(--score-pad-height,300px)!important;scroll-padding-bottom:var(--score-pad-height,300px)}.compose-score.compose-drawer-open>.score-input-pad{visibility:hidden}.compose-score .score-input-pad [hidden]{display:none!important}
.compose-score .score-input-pad :is(button,select):focus-visible{outline:2px solid var(--accent,#ff6849)!important;outline-offset:1px;z-index:3}
@media(max-width:600px){.compose-score .score-pad-body{padding:6px 8px}.compose-score .score-pad-settings{gap:6px}.compose-score .score-pad-header :is(.score-pad-close,.score-pad-minimize){width:36px!important;min-width:36px;height:34px!important;min-height:34px!important}.compose-score .score-pad-frets :is(.score-pad-fret,.score-pad-open-string){height:31px!important;min-height:31px!important}.score-pad-frets{grid-template-columns:44px 32px repeat(5,minmax(0,1fr))}.compose-score .score-pad-settings select{height:36px!important;min-height:36px!important}.compose-score .score-pad-trigger{min-width:40px!important}}

/* Keep these controls compact even under the general mobile tool rules. */
#score-editor.compose-score .score-input-pad .score-pad-header button{height:30px!important;min-height:30px!important}
#score-editor.compose-score .score-input-pad .score-pad-fret-navigation button{height:28px!important;min-height:28px!important}
#score-editor.compose-score .score-input-pad .score-pad-frets button{height:30px!important;min-height:30px!important}
#score-editor.compose-score .score-input-pad .score-pad-settings select{height:32px!important;min-height:32px!important}
#score-editor.compose-score .score-input-pad [data-score-octave]{height:30px!important;min-height:30px!important}
@media(max-width:600px){#score-editor.compose-score .score-input-pad .score-pad-frets button{height:34px!important;min-height:34px!important}#score-editor.compose-score .score-input-pad .score-pad-header button{height:34px!important;min-height:34px!important}#score-editor.compose-score .score-input-pad .score-pad-settings select{height:36px!important;min-height:36px!important}}

@media print{.score-input-pad,.score-pad-trigger{display:none!important}#score-editor.compose-score.score-pad-visible .score-paper{padding-bottom:0!important}}

/* Shared neck appearance: continuous wood, metal frets, inlays and selection dots. */
.score-pad-frets{position:relative;isolation:isolate}.score-pad-frets::before{content:'';position:absolute;left:84px;right:0;top:18px;bottom:0;background:linear-gradient(0deg,#3b2c21,#5a4330 45%,#463225);z-index:-1;border-radius:3px}.compose-score .score-pad-frets .score-pad-fret{background:transparent!important;border-right:2px solid #a69c89!important}.score-pad-inlays{position:absolute;left:84px;right:0;top:18px;bottom:0;pointer-events:none;z-index:-1}.score-pad-inlays i{position:absolute;width:7px;height:7px;border-radius:50%;background:#d8cbb2;transform:translate(-50%,-50%);opacity:.7}.compose-score .score-pad-fret .score-pad-note-dot{opacity:0;background:transparent}.compose-score .score-pad-fret:is(:hover,:focus-visible,[aria-pressed=true]) .score-pad-note-dot{opacity:1;background:#c9e89e;color:#213c21}.compose-score .score-pad-fret::before{background:linear-gradient(#f3ead5,#a68b5c)!important;box-shadow:0 1px 1px #0007}.compose-score .score-pad-open-string .score-pad-note-dot{font-size:10px}
/* Harmonica: one mouthpiece, blow above, draw below, a physical slider at the right. */
.score-harp-shell{min-width:0}.score-harp-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:3px 0 8px;font-size:11px;line-height:1.4;color:var(--ink,#e8eee2)}
.score-harp-model{font-weight:700}.score-harp-slide-state{font:11px/1.4 var(--body,Arial);opacity:.8;text-align:right}
.score-harp-frame{position:relative;background:#edf1e8;border-radius:8px;padding:6px 0;color:#15251e}.score-harp-frame.has-plunger{padding-right:36px}
.score-harp-scroll{overflow-x:auto;scrollbar-width:none;overscroll-behavior-x:contain;outline-offset:2px}.score-harp-scroll::-webkit-scrollbar{display:none}
.score-harp-diagram{box-sizing:border-box;min-width:calc(var(--harp-holes) * 32px);padding:5px 8px}
.score-harp-note-row,.score-harp-mouthpiece{display:grid;grid-template-columns:repeat(var(--harp-holes),minmax(0,1fr));align-items:center;gap:1px}
.score-harp-breath{font:600 11px/1.4 Arial,sans-serif;color:#596557;text-align:left;padding-left:3px}.score-harp-breath.is-draw{margin-top:2px}
.compose-score .score-harp-note{position:relative;box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:1px;width:100%;min-width:0!important;height:38px!important;min-height:38px!important;padding:3px 0!important;margin:0!important;font:600 12px/1 Arial,sans-serif!important;background:transparent!important;color:#1b2a20!important;border:0!important;border-radius:4px!important;box-shadow:none!important}
.compose-score .score-harp-note:hover,.compose-score .score-harp-note[aria-expanded=true]{background:#d7e8c1!important}
.compose-score .score-harp-note[aria-pressed=true]{background:#c5df9f!important;color:#102417!important}
.score-harp-octave{font:9px/1 Arial,sans-serif!important;align-self:flex-end;padding-bottom:7px;color:#667361}.score-harp-caret{position:absolute;bottom:1px;left:0;right:0;text-align:center;font:10px/1 Arial,sans-serif;opacity:.65}
.score-harp-mouthpiece{position:relative;height:38px;padding:4px 0;margin:7px 0;background:#a66d32;border-radius:3px}
.score-harp-mouthpiece::before,.score-harp-mouthpiece::after{content:'';position:absolute;left:1%;right:1%;height:7px;background:#c6cec4;pointer-events:none}
.score-harp-mouthpiece::before{top:-7px;clip-path:polygon(2% 0,98% 0,100% 100%,0 100%)}.score-harp-mouthpiece::after{bottom:-5px;height:5px;background:#aab6aa;clip-path:polygon(0 0,100% 0,98% 100%,2% 100%)}
.score-harp-hole-window{display:flex;align-items:center;justify-content:center;height:28px;margin:0 3px;background:#43291b;color:#f9e5bd;border:1px solid #c59a5c;border-radius:2px;font:600 12px/1 Arial,sans-serif}
.compose-score .score-harp-plunger{position:absolute;right:0;top:calc(50% - 24px);width:36px!important;min-width:36px!important;height:48px!important;min-height:48px!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
.score-harp-shaft{position:absolute;left:0;top:20px;width:23px;height:8px;background:#9aa69b;border-block:1px solid #667666;transition:width .14s}
.score-harp-cap{position:absolute;left:20px;top:11px;width:10px;height:26px;background:#354b3d;border:1px solid #172d21;border-radius:3px;transition:transform .14s}
.score-harp-plunger[aria-pressed=true] .score-harp-shaft{width:13px}.score-harp-plunger[aria-pressed=true] .score-harp-cap{transform:translateX(-10px);background:#8caf58}
.compose-score .score-harp-shell button:focus-visible{outline:2px solid #f77a4c;outline-offset:1px}
.score-harp-rail{display:flex;justify-content:flex-end;gap:5px;margin-top:5px}.compose-score .score-harp-rail button{width:30px!important;min-width:30px!important;height:25px!important;min-height:25px!important;padding:0!important;font-size:15px!important;margin:0!important}
.score-harp-choices{background:color-mix(in srgb,var(--panel,#1c2821) 88%,#dce9cb);border-radius:6px;margin-top:9px;padding:8px;min-width:0}.score-harp-choice-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px;font-size:12px}
.compose-score .score-harp-choice-close{background:transparent!important;border:0!important;width:26px!important;min-width:26px!important;height:26px!important;min-height:26px!important;padding:0!important;margin:0!important;font-size:20px!important;line-height:1!important}
.score-harp-option-list{display:flex;flex-wrap:wrap;gap:6px}.compose-score .score-harp-option{display:flex;flex:1 1 65px;flex-direction:column;gap:4px;align-items:center;justify-content:center;min-width:60px!important;min-height:49px!important;height:auto!important;padding:6px!important;margin:0!important;font:600 15px/1.2 Arial,sans-serif!important;background:#e6eddc!important;color:#17271d!important;border:0!important;border-radius:4px!important;box-shadow:none!important}
.compose-score .score-harp-option:hover{background:#cfe5af!important}.score-harp-option small{font:10px/1.2 Arial,sans-serif!important;font-weight:400!important}.score-harp-reference{display:block;margin-top:6px;font-size:10px;line-height:1.4;opacity:.75}
@media(prefers-reduced-motion:reduce){.score-harp-shaft,.score-harp-cap{transition:none}}

.score-harp-option small{font-size:11px!important;line-height:1.25!important}.score-harp-octave{position:absolute;right:2px;bottom:4px;padding-bottom:0;align-self:auto}.score-harp-tone{margin-bottom:7px}

.score-harp-breath{position:sticky;left:2px;width:max-content;background:#edf1e8;z-index:1}

.score-harp-key{display:flex;align-items:center;gap:6px;white-space:nowrap;font-size:12px}.score-harp-key select{width:auto;max-width:145px;min-height:30px;padding:3px 6px;font-size:12px}.score-harp-meta{flex-wrap:wrap}

/* Continuous keyboards and fretboards. Arrows, mouse drag, touch and keyboard. */
.score-pad-keyboard-scroll,.score-pad-neck-scroll{max-width:100%;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;overscroll-behavior-x:contain;touch-action:pan-x;position:relative}.score-pad-keyboard-scroll::-webkit-scrollbar,.score-pad-neck-scroll::-webkit-scrollbar{display:none}
#score-editor.compose-score .score-input-pad [data-score-octave]{display:none!important}#score-editor.compose-score .score-input-pad .score-keyboard{width:var(--pad-keyboard-width)!important;min-width:var(--pad-keyboard-width)!important;overflow:visible!important}
#score-editor.compose-score .score-input-pad .score-keyboard .score-key{flex:0 0 36px!important;width:36px!important;min-width:36px!important}#score-editor.compose-score .score-input-pad .score-keyboard .score-key.is-black{width:22px!important;min-width:22px!important;left:var(--pad-key-left)!important}
.compose-score .score-pad-scroll-rail{display:flex;justify-content:space-between;gap:8px;margin-top:6px}.compose-score .score-pad-scroll-rail button{width:32px!important;min-width:32px!important;height:28px!important;min-height:28px!important;padding:0!important;margin:0!important;box-shadow:none!important}
.compose-score .score-pad-neck-scroll .score-pad-frets{grid-template-columns:49px 35px repeat(var(--pad-frets),48px)!important}.compose-score .score-pad-neck-scroll .score-pad-string,.compose-score .score-pad-sticky-string{position:sticky;left:0;z-index:4;background:var(--panel,#1c2821)}
#score-editor.compose-score .score-pad-neck-scroll .score-pad-open-string,.compose-score .score-pad-sticky-open{position:sticky!important;left:49px!important;z-index:4;background:var(--panel,#1c2821)!important}
.score-pad-neck-scroll .score-pad-inlays,.score-pad-neck-scroll .score-pad-frets::before{left:84px!important}

#score-editor.compose-score .score-input-pad .score-pad-scroll-rail button{height:28px!important;min-height:28px!important;width:32px!important;min-width:32px!important}
