/* Accepted Flow direction, 2026-11-14. Keep every control, preset, and the native drag well.
   Typography and control geometry only. No source data or audio behaviour changes. */
.instrument.product31 { color:#252624;column-gap:26px }
.product31 .top { align-items:center;padding-bottom:20px!important }
.product31 .wordmark { font-size:32px;font-weight:500;letter-spacing:-1.8px }
html[lang=en] .product31 :is(#preset-open,#project-open,#tools-open,#sound-open,#rec-open,#save-desktop,#daw-info),
html[lang=en] #pitch-panel .library-tabs button,
html[lang=en] dialog[id] :is(header>button[data-close],.dialog-actions>button,.progression-actions>button,#analysis-close) {
 font-family:Geist,Arial,sans-serif;font-size:12px;font-weight:400;letter-spacing:0;text-transform:none;
}
.product31 :is(button,select) { line-height:1.25 }
.product31 #preset-open { border:0;border-bottom:1px solid #d5d8cf;background:#fff;padding:7px 0;min-height:34px }
.product31 #preset-open .preset-action { font-weight:500 }
.product31 #sound-pick { background:#f4f5f1;border:0;border-bottom:1px solid #c8cbc3;padding:7px 11px;min-height:34px }
.product31 #sound-pick .sound-v { font-weight:500;line-height:20px }
.product31 #project-open { border:0;border-bottom:1px dashed #989d90;min-height:34px;background:#fff }
.product31 :is(#undo,#redo) { border:0;padding-block:7px;background:#fff;min-height:34px }
.product31 .header-actions label { align-items:center;line-height:1;gap:5px }
.product31 .header-actions #tempo { line-height:28px;font-size:19px;font-weight:400;letter-spacing:-.5px;padding:0;text-align:right }
.product31 .header-actions #animate {
 display:grid;grid-template-columns:12px auto 12px;column-gap:7px;align-items:center;justify-content:center;
 padding:8px 10px!important;border:0;min-height:36px;
 background:#252624;color:#fff;font:500 12px/20px Geist,Arial,sans-serif;
}
.product31 .header-actions #animate:hover:not(:disabled) { background:#44483e;color:#fff }
.product31 #animate .transport-label { grid-column:2;text-align:center;white-space:nowrap }
.product31 #animate .transport-glyph { grid-column:1;width:12px;height:12px;display:flex;align-items:center;justify-content:center }
.product31 #animate::after { content:'';grid-column:3;width:12px;height:12px }
.product31 #animate[data-transport=play] .transport-glyph::before { content:'';width:0;height:0;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:7px solid currentColor;margin-left:2px }
.product31 #animate[data-transport=stop] .transport-glyph::before { content:'';width:8px;height:8px;background:currentColor }
.product31 #animate[data-transport=host] .transport-glyph::before { content:'';width:9px;height:9px;border:1px solid currentColor }
.product31 #animate[data-transport=preparing] .transport-glyph::before { content:'';width:9px;height:1px;background:currentColor }
.product31 #sync { min-height:34px;display:inline-flex;align-items:center;justify-content:center;line-height:20px }
.product31 .language-switch { align-items:center }
.product31 .language-switch button { min-height:30px }
.product31 #help-toggle { min-height:30px;border-bottom-color:#c8cbc2 }
.product31 #chords { padding-top:18px;padding-bottom:13px }
.product31 #chords .chord { border-left:1px solid #eceee7;padding-top:6px;padding-bottom:13px }
.product31 #chords .chord:first-child { border-left:0 }
.product31 #chords .chord strong { font-weight:500;font-size:22px;line-height:1.18;letter-spacing:-.65px }
.product31 #chords .chord small,.product31 #chords .chord em { color:#81867a;font-size:10px;line-height:1.4 }
.product31 #chords .chord[data-current=true] { background:#f6f4ee;box-shadow:inset 0 -2px var(--accent) }
.product31 .edit-heading strong { font-size:16px;font-weight:500;letter-spacing:-.3px }
.product31 #stage { background:#f7f8f4;border-radius:0;border-top:1px solid #d7dbcf;border-bottom:1px solid #d7dbcf }
.product31 .workspace-tools .tools { border-top:0;gap:7px;align-items:center;min-height:46px }
.product31 .view-options { border-left:0;padding-left:0;gap:8px }
.product31 .view-options button { padding:6px 7px;min-height:30px;line-height:18px }
.product31 .view-options button[aria-pressed=true] { font-weight:500 }
.product31 :is(#tools-open,#sound-open) { background:#f0f2eb;border:0;border-bottom:1px solid #c6cbbc;min-height:32px;padding:6px 10px }
.product31 #rec-open { border:0;border-left:3px solid #383d32;min-height:32px;padding:6px 10px;background:#fff;align-items:center }
.product31 #rec-open .rec-dot { width:5px;height:5px;flex-shrink:0 }
#pitch-panel { border-left:1px solid #dcded6;padding-left:20px }
#pitch-panel .library-tabs { gap:5px;border-bottom:1px solid #dcded6;padding-bottom:12px }
#pitch-panel .library-tabs button { display:flex;align-items:center;justify-content:center;min-height:32px;padding:6px 5px;border:0;line-height:20px;color:#696e61 }
#pitch-panel .library-tabs [aria-pressed=true] { background:#252624;color:#fff }
#pitch-panel .pitch-scroll { padding-top:2px }
#pitch-panel #preset-grid { gap:5px 4px }
#pitch-panel #preset-grid .recipe { border-top:0!important;padding:8px 2px 7px;min-height:77px;gap:5px }
#pitch-panel #preset-grid .recipe svg { height:35px }
html[lang=en] #pitch-panel #preset-grid .recipe strong { font:400 11px/16px Geist,Arial,sans-serif;letter-spacing:0 }
#pitch-panel #preset-grid .recipe[aria-pressed=true] { background:#f1f2ed;box-shadow:inset 0 -1px var(--accent) }
#pitch-panel .stack-row button { min-height:27px;line-height:17px;padding:4px 8px }
#pitch-panel .scope-chips button { min-height:26px;line-height:16px;padding:4px 7px }
.product31 .delivery { border-top:1px solid #252624;padding-top:14px;align-items:center }
.product31 .delivery :is(button,select) { min-height:32px;line-height:18px }
.product31 .delivery #midi-drag { padding:6px 12px;border-color:#969c8d }
.product31 .delivery #save-desktop { padding:6px 10px;border-color:#969c8d }
.product31 .delivery #daw-info { border:0;border-bottom:1px dashed #969c8d;padding:6px 8px }
dialog[id] { color:#252624;border-color:#909689;box-shadow:0 10px 36px #0002 }
dialog[id] header { align-items:center;padding-bottom:15px;gap:20px }
html[lang=en] dialog[id] header h2 { font-weight:400;font-size:24px;letter-spacing:-.6px;line-height:1.25 }
dialog[id] header>button[data-close] { border:0;border-bottom:1px solid #c6cbbc;min-height:32px;padding:6px 10px;line-height:20px }
#sound-dialog { padding:25px 28px }
#sound-dialog .sound-controls { gap:0;margin:24px 0 28px }
#sound-dialog .sound-control { padding:0 20px;border-left:1px solid #dcded6;gap:10px }
#sound-dialog .sound-control:first-child { padding-left:0;border-left:0 }
#sound-dialog .sound-control:last-child { padding-right:0 }
html[lang=en] #sound-dialog .sound-control label { font:500 13px/18px Geist,Arial,sans-serif;text-transform:none;letter-spacing:0;color:#252624;min-height:18px }
#sound-dialog .sound-control output { font:300 36px/1.2 Geist,Arial,sans-serif;letter-spacing:-1px;padding:8px 0 6px;font-variant-numeric:tabular-nums }
#sound-dialog input[type=range] { height:27px;background:repeating-linear-gradient(90deg,#b3b9a9 0 1px,transparent 1px 5%) left bottom/100% 5px no-repeat;padding-bottom:8px }
#sound-dialog input[type=range]::-webkit-slider-runnable-track { height:2px;border:0;background:#cfd5c4 }
#sound-dialog input[type=range]::-webkit-slider-thumb { appearance:none;width:6px;height:17px;margin-top:-7px;border:0;clip-path:none;background:#252624;box-shadow:0 0 0 3px #fff }
#sound-dialog .scale-ends { font:11px/16px Geist,Arial,sans-serif;color:#777e6c }
#sound-dialog #midi-analysis-actions { padding-top:20px;margin-top:20px;gap:9px }
#sound-dialog #midi-analysis-actions button { padding:7px 12px;min-height:34px;line-height:18px;border-color:#bdc4b2 }
#sound-dialog .play-mode { margin-top:18px;gap:12px 20px }
#sound-dialog .play-mode label { line-height:20px }
#sound-dialog .play-mode output { font:13px/20px Mono,monospace }
#sound-dialog .play-mode small { margin-top:5px;font-size:12px;line-height:1.65 }
#progression-grid .progression-choice { padding:16px 10px;gap:6px 15px;min-height:108px }
#progression-grid .progression-name strong { font:500 15px/1.3 Geist,Arial,sans-serif;letter-spacing:-.2px }
#progression-grid .progression-chords span { font:11px/1.5 Geist,Arial,sans-serif;color:#777e6c }
@media(max-width:1100px) {
 .instrument.product31 { column-gap:20px }
 .product31 #chords .chord strong { font-size:19px }
 #pitch-panel { padding-left:14px }
 .product31 .header-actions #animate { column-gap:5px;padding-inline:7px!important;font-size:11px }
 .product31 :is(#tools-open,#sound-open,#rec-open) { padding-inline:7px;font-size:11px }
}
@media(max-width:790px) {
 #sound-dialog .sound-controls { gap:24px 0 }
 #sound-dialog .sound-control { padding:0 16px }
 #sound-dialog .sound-control:nth-child(odd) { border-left:0;padding-left:0 }
 #sound-dialog .sound-control:nth-child(even) { padding-right:0 }
}
@media(max-width:1040px) {
 .instrument.product31 .top { flex-wrap:wrap;row-gap:10px!important }
 .instrument.product31 .top-right { margin-left:auto;max-width:100%;flex-wrap:wrap;justify-content:flex-end;row-gap:6px!important }
}
