.score-theme{--score-generation-dialog-width:32rem;--bg:#111216;--panel:#1c1e23;--panel-raised:#27292f;--text:#f3f3f3;--text-secondary:#dedee1;--text-muted:#9b9da3;--paper-light:#fdfcf9;--ink-light:#19191b;--ink-secondary-light:#69727e;--paper-dark:#24272d;--accent:#85baff;--accent-on-paper:#205faf;--play:#fff;--error:#ed7f87;--error-on-paper:#bd2441;--input:var(--bg);--editor-chrome:color-mix(in srgb,var(--bg),var(--panel) 36%);--panel-hover:color-mix(in srgb,var(--panel-raised),var(--text) 5%);--border:color-mix(in srgb,var(--text) 9%,transparent);--control-border:color-mix(in srgb,var(--text) 14%,transparent);--accent-hover:color-mix(in srgb,var(--accent),var(--paper-light) 20%);--play-hover:var(--text-secondary);--accent-border:color-mix(in srgb,var(--accent) 42%,transparent);--accent-soft:color-mix(in srgb,var(--accent) 14%,transparent);--accent-soft-hover:color-mix(in srgb,var(--accent) 20%,transparent);--code-selection:color-mix(in srgb,var(--accent) 26%,transparent);--error-soft:color-mix(in srgb,var(--error) 14%,transparent);--scrim:rgba(0,0,0,.72);--popup-shadow:0 16px 48px rgba(0,0,0,.55);--color-surface:var(--input);--color-panel-solid:var(--panel-raised);--focus-8:var(--accent);--focus-a2:var(--accent-soft);--focus-a5:var(--code-selection);--gray-1:var(--bg);--gray-2:var(--panel);--gray-5:var(--panel-hover);--gray-6:var(--control-border);--gray-8:var(--accent-border);--gray-12:var(--text);--gray-a2:var(--border);--gray-a3:var(--control-border);--gray-a4:var(--control-border);--gray-a5:var(--control-border);--gray-a6:var(--control-border);--gray-a7:var(--control-border);--gray-a8:var(--accent-border);--gray-a9:var(--accent-border);--gray-a10:var(--text-muted);--gray-a11:var(--text-muted);--gray-a12:var(--text)}.score-select-menu[data-accent-color],.score-theme{--accent-3:var(--text);--accent-6:var(--accent-border);--accent-8:var(--accent);--accent-9:var(--accent);--accent-10:var(--accent-hover);--accent-11:var(--accent);--accent-12:var(--text);--accent-a2:var(--accent-soft);--accent-a3:var(--accent-soft);--accent-a4:var(--accent-soft-hover);--accent-a5:var(--code-selection);--accent-a7:var(--accent-border);--accent-a8:var(--accent);--accent-a11:var(--accent);--accent-a12:var(--text);--accent-contrast:var(--ink-light);--accent-surface:var(--accent-soft);--accent-indicator:var(--accent);--accent-track:var(--accent)}.score-theme [data-accent-color=gray]{--accent-a3:var(--border);--accent-a4:var(--control-border);--accent-a5:var(--control-border);--accent-a11:var(--text-secondary);--accent-a12:var(--text)}.score-editor-workspace{background:var(--bg);color:var(--text)}.score-editor-landing{color:var(--text)}.score-landing-subtitle{color:var(--text-muted)}.score-history-dialog .score-transcription-submit{min-height:48px}.score-landing-tool{display:grid;align-items:center;grid-template-columns:9rem minmax(0,1fr);height:100%;padding:5px;background:color-mix(in srgb,var(--panel) 58%,transparent);border-color:var(--control-border);transition:border-color .15s,background-color .15s}.score-landing-tool:hover:enabled{background:var(--panel);border-color:var(--accent-border)}.score-landing-tool:disabled{opacity:.55}.score-file-tile:focus-visible,.score-landing-tool:focus-visible,.score-record-link:focus-visible,.score-record-play:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.score-landing-arrow{color:var(--text-muted)}.score-landing-tool:hover:enabled .score-landing-arrow{color:var(--accent)}.score-landing-illustration{display:grid;height:3rem;place-items:center;border-radius:8px;color:#f3f3f3;background:#202022}.score-landing-illustration svg{display:block;width:8.5rem;height:auto;max-width:100%;direction:ltr}.score-landing-history,.score-record-card{border-color:var(--control-border)}.score-record-card{background:var(--panel)}.score-record-card:hover{border-color:var(--accent-border)}.score-record-preview{display:grid;place-items:center;height:7rem;overflow:hidden;border-radius:7px;background:#151517;color:var(--text-muted)}.score-record-preview[data-available=true]{color:var(--text-secondary)}.score-record-failed{color:var(--error);background:#321f24;font-size:.6875rem;font-weight:600}.score-record-play{border:1px solid var(--control-border);background:var(--panel-raised);color:var(--text);transition:background-color .14s,color .14s}.score-record-play:hover,.score-record-play[data-playing=true]{background:var(--text);color:var(--ink-light)}.score-record-play:not([data-playing=true]) svg{margin-inline-start:2px}.score-record-preview svg{direction:ltr}@media (min-width:480px){.score-landing-tool{grid-template-columns:minmax(0,1fr);align-content:space-between}.score-landing-illustration{height:clamp(4.5rem,9vw,5.5rem)}.score-landing-illustration svg{width:14rem}}@media (min-width:768px){.score-landing-tool{padding:6px}}.score-notation-option{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;justify-content:center;gap:.5rem;min-height:2.75rem;padding:.5rem .65rem;border:1px solid var(--control-border);border-radius:.65rem;background:var(--input);color:var(--text-muted);cursor:pointer}.score-notation-option span{overflow-wrap:anywhere}.score-notation-option:hover:not(:has(:is(:disabled,:checked))){color:var(--text);background:var(--panel-hover)}.score-notation-option:has(:checked){color:var(--accent);border-color:var(--accent-border);background:var(--accent-soft)}.score-notation-option:has(:focus-visible){outline:2px solid var(--accent);outline-offset:2px}.score-notation-option:has(:disabled){cursor:default;opacity:.55}@media (max-width:479px){.score-notation-option{grid-template-columns:minmax(0,1fr);justify-items:center;text-align:center}}.score-meter-option{display:flex;padding-inline:.375rem}.score-blank-key.rt-SelectTrigger{width:100%;min-height:2.75rem}.score-audio-preview{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:.625rem;padding:.5rem .625rem;border:1px solid var(--control-border);border-radius:.75rem;background:var(--input)}.score-audio-action{display:grid;width:2rem;height:2rem;place-items:center;border-radius:.5rem;color:var(--text)}.score-audio-action:first-of-type{background:var(--accent-soft);color:var(--accent)}.score-audio-action:enabled:hover{background:var(--panel-hover)}.score-audio-action:disabled{opacity:.55}.score-audio-action:focus-visible,.score-audio-track:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:2px}.score-audio-track{position:relative;min-width:0;height:2rem;border-radius:.25rem}.score-audio-track svg{display:block;width:100%;height:100%;pointer-events:none}.score-audio-track path{stroke:color-mix(in srgb,var(--text-muted) 60%,var(--input))}.score-audio-track path[data-played=true]{stroke:var(--accent)}.score-audio-track input{position:absolute;inset:0;width:100%;margin:0;opacity:0;cursor:ew-resize}.score-audio-time{color:var(--text-muted);font-size:.75rem;font-variant-numeric:tabular-nums;white-space:nowrap}.score-theme .score-generate-submit.rt-Button{display:flex;justify-content:space-between;gap:.75rem;min-height:3.25rem;padding:.625rem .875rem;border-radius:.875rem;background:linear-gradient(115deg,#b7d9ff,#83b8ff);box-shadow:inset 0 1px 0 hsla(0,0%,100%,.45);color:#13233a;font-weight:650;text-align:start}.score-theme .score-generate-submit.rt-Button:enabled:hover{background:linear-gradient(115deg,#c6e2ff,#97c3ff)}.score-theme .score-generate-submit.rt-Button:disabled{background:var(--accent-soft);box-shadow:inset 0 0 0 1px var(--accent-border);color:var(--text-muted)}.score-generate-submit-label{display:inline-flex;align-items:center;gap:.625rem;min-width:0}.score-generate-submit-price{flex-shrink:0;padding:.3rem .625rem;border-radius:.5rem;background:rgba(20,44,78,.12);font-size:.75rem;white-space:nowrap;font-variant-numeric:tabular-nums}.score-generate-submit:disabled .score-generate-submit-price{background:var(--border)}@media (max-width:479px){.score-audio-preview{gap:.375rem;padding-inline:.375rem}}.score-file-tile{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.75rem;width:100%;min-height:4.5rem;padding:.75rem;border:1px dashed var(--control-border);border-radius:.75rem;background:var(--input);color:var(--text);text-align:start;flex-shrink:0;transition:border-color .14s,background-color .14s}.score-file-tile[data-selected=true]{border-style:solid}.score-file-tile:enabled:hover{background:var(--panel-hover);border-color:var(--text-muted)}.score-file-tile[data-dragging=true]{background:var(--accent-soft);border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent-border)}.score-file-tile:disabled{opacity:.55}.score-file-tile-icon{display:grid;place-items:center;width:2.5rem;height:2.5rem;border-radius:.5rem;background:var(--panel-raised);color:var(--text-secondary)}.score-file-tile-trailing{color:var(--text-muted)}.score-landing-history-row:hover{background:var(--panel-hover)}.score-task-status{position:absolute;inset-block-start:52px;inset-inline-start:50%;transform:translateX(-50%);z-index:3;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;max-width:calc(100% - 16px);width:-moz-max-content;width:max-content;padding:8px 12px;background:var(--panel-raised);color:var(--text);border:1px solid var(--control-border);border-radius:8px;font-size:13px}[dir=rtl] .score-task-status{transform:translateX(50%)}.score-history-overlay{background:var(--scrim)}.score-theme.score-history-dialog{width:min(calc(100% - 2rem),var(--score-operation-dialog-width,29rem));border-color:var(--control-border);background:var(--panel-raised);color:var(--text)}.score-history-dialog[data-operation=blank]{--score-operation-dialog-width:26rem}.score-history-dialog[data-operation=score]{--score-operation-dialog-width:25rem}.score-history-dialog:is([data-operation=image],[data-operation=pdf]){--score-operation-dialog-width:27rem}.score-history-dialog[data-operation=transcribe]{--score-operation-dialog-width:33rem}.score-history-dialog[data-operation=generate]{--score-operation-dialog-width:var(--score-generation-dialog-width)}.score-history-heading{border-color:var(--border)}:is(.score-history-heading,.score-create-history) button:focus-visible{outline-color:var(--accent)}.score-history-close{color:var(--text-muted)}.score-history-close:hover{background:var(--panel-hover);color:var(--text)}.score-history-icon{color:var(--accent)}.score-create-history{color:var(--text)}.score-create-history-list>:not([hidden])~:not([hidden]){border-color:var(--border)}.score-history-meta{color:var(--text-muted)}.score-history-meta[role=alert],.score-theme .score-transcription-error{color:var(--error)}.score-generation-issues{background:color-mix(in srgb,var(--error) 9%,var(--panel));color:var(--text)}.score-generation-issues li::marker,.score-generation-issues>p{color:var(--error)}.score-generation-issues[data-warning=true]{background:var(--accent-soft)}.score-generation-issues[data-warning=true] li::marker,.score-generation-issues[data-warning=true]>p{color:var(--accent)}.score-theme .score-transcription-progress{color:var(--text-secondary)}.score-theme .score-transcription-progress[role=alert]{color:var(--error)}.score-landing-lyrics{background:var(--panel);border-color:var(--border)}.score-landing-lyrics [role=status]{color:var(--text-secondary)}:is(.score-picker-overlay,.score-lyrics-overlay).score-theme{background:var(--scrim)}.score-lyrics-dialog.score-lyrics-content,.score-song-picker.score-picker-dialog{background:var(--panel-raised);border-color:var(--control-border);color:var(--text)}.score-song-picker.score-picker-dialog{max-width:min(calc(100vw - 2rem),35rem);max-height:85dvh}.score-lyrics-dialog.score-lyrics-content{max-width:32rem}.score-song-picker .score-picker-card{background:var(--panel);border-color:var(--control-border)}.score-song-picker .score-picker-source{background:transparent;border-color:var(--control-border)}.score-song-picker .score-picker-source:hover,.score-song-picker .score-picker-source[data-dragging=true]{background:var(--accent-soft);border-color:var(--accent)}.score-song-picker .score-picker-row{background:var(--panel)}.score-lyrics-dialog [role=radiogroup],.score-song-picker .score-picker-thumbnail{background:var(--input)}.score-song-picker .score-picker-tag{background:var(--panel-raised);color:var(--text-secondary)}.score-lyrics-dialog .score-lyrics-footer,.score-song-picker .score-picker-divider{border-color:var(--border)}.score-lyrics-dialog .score-lyrics-title,.score-song-picker .score-picker-title{color:var(--text)}.score-lyrics-dialog :is(.score-lyrics-meta,.score-lyrics-control,[role=radio]),.score-song-picker :is(.score-picker-meta,.score-picker-control){color:var(--text-muted)}.score-song-picker .score-picker-play{color:var(--play)}.score-song-picker .score-picker-accent{color:var(--accent)}.score-song-picker .score-picker-spinner{border-bottom-color:var(--accent)}.score-lyrics-dialog :is(.score-lyrics-control,[role=radio]):hover,.score-song-picker .score-picker-control:hover,.score-song-picker .score-picker-row:hover{background:var(--panel-hover);color:var(--text)}.score-song-picker .score-picker-error{border-color:var(--error);background:var(--error-soft)}.score-lyrics-dialog [role=alert],.score-song-picker .score-picker-error-text{color:var(--error)}.score-lyrics-dialog .score-lyrics-input,.score-lyrics-dialog .score-lyrics-line:focus,.score-song-picker .score-picker-search [data-slot=input-wrapper]{background:var(--input);border-color:var(--control-border);color:var(--text)}.score-lyrics-dialog .score-lyrics-line,.score-song-picker .score-picker-search input{color:var(--text)}.score-lyrics-dialog .score-lyrics-input::-moz-placeholder,.score-song-picker .score-picker-search input::-moz-placeholder{color:var(--text-muted)}.score-lyrics-dialog .score-lyrics-input::placeholder,.score-song-picker .score-picker-search input::placeholder{color:var(--text-muted)}.score-lyrics-dialog :is(.score-lyrics-input,.score-lyrics-line):is(:hover,:focus){border-color:var(--accent-border)}.score-lyrics-dialog .score-lyrics-spinner{border-color:var(--control-border);border-top-color:var(--accent)}.score-song-picker .score-picker-favorite{border-color:var(--control-border);color:var(--text-muted)}.score-lyrics-dialog [role=radio][aria-checked=true],.score-song-picker .score-picker-favorite[aria-pressed=true]{background:var(--accent-soft);color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent-border)}.score-lyrics-dialog .score-lyrics-confirm,.score-song-picker .score-picker-pagination [data-slot=cursor]{background:var(--accent);color:var(--ink-light)}.score-lyrics-dialog .score-lyrics-confirm:hover:not(:disabled){background:var(--accent-hover)}.score-lyrics-dialog .score-lyrics-confirm:disabled{background:var(--panel);color:var(--text-muted)}.score-song-picker .score-picker-search [data-slot=input-wrapper]:has(input:focus-visible),.score-theme :is(button,input,textarea):focus-visible{outline:2px solid var(--accent);outline-offset:2px}.score-editor-surface{--control-radius:9px;--gutter:10px;--page-max:940px;--staff-page-max:860px;position:relative;height:100%;overflow:hidden;background:var(--bg);color:var(--text);color-scheme:dark;font-size:13px;line-height:1.45}.score-editor-surface *{box-sizing:border-box}.score-editor-surface :is([hidden],[data-score-widget-source]){display:none!important}.score-editor-surface [data-score-widget]{display:inline-flex;min-width:0;align-items:center}.score-editor-surface .score-button-content,.score-editor-surface [data-score-widget=button]{display:contents}.score-editor-surface .score-button-content *{pointer-events:none}.score-editor-surface [data-score-widget]>:is(.rt-TextFieldRoot,.rt-SelectTrigger,.rt-TextAreaRoot,.rt-SliderRoot){width:100%;min-width:0}.score-editor-surface [data-score-widget] .rt-SelectTrigger>:first-child{overflow:hidden;text-overflow:ellipsis}.score-theme.score-select-menu{z-index:1010;max-width:calc(100vw - 24px);background:var(--panel-raised);box-shadow:0 0 0 1px var(--control-border),var(--shadow-5);color:var(--text)}.score-select-menu .rt-SelectItem[data-highlighted]:not([data-disabled]){background-color:var(--accent-soft);color:var(--accent)}.score-select-menu .rt-SelectItem[data-state=checked]:not([data-disabled]) .rt-SelectItemIndicator{color:var(--accent)}.score-editor-surface :is(button,input,select,textarea):not(.rt-reset,.rt-TextFieldInput){font:inherit;letter-spacing:0}.score-editor-surface button{cursor:pointer}.score-editor-surface button:disabled{cursor:default;opacity:.42}.score-editor-surface :is(button,select,input,summary):not(.rt-reset,.rt-TextFieldInput):focus-visible{outline:2px solid var(--accent);outline-offset:2px}.score-editor-surface input:is([type=checkbox],[type=radio],[type=range]){accent-color:var(--accent)}.score-editor-surface .editor-icon{flex:none;display:block}.score-editor-surface #dolce-app{display:flex;flex-direction:column;height:100%;min-height:0}.score-editor-surface :is(#app-header,.statusbar,.editor-sidebar){background:var(--editor-chrome)}.score-editor-surface #app-header{--header-control-size:34px;display:flex;align-items:center;gap:12px;min-height:56px;flex:0 0 auto;padding:6px 12px;overflow-x:auto;overflow-y:hidden;scroll-padding-inline:12px;scrollbar-width:thin;border-bottom:1px solid var(--border)}.score-editor-surface :is(.header-identity,.header-history,.header-actions,.brand,.transport-bar){display:flex;align-items:center;flex:none;gap:3px}.score-editor-surface :is(.header-identity,.brand){gap:8px}.score-editor-surface .brand-mark{display:block;width:26px;height:26px;flex:none;-o-object-fit:contain;object-fit:contain}.score-editor-surface .brand-name{max-width:180px;overflow:hidden;margin:0;font-size:15px;font-weight:650;letter-spacing:-.02em;white-space:nowrap;text-overflow:ellipsis}.score-editor-surface .header-history{padding-inline-start:6px;border-inline-start:1px solid var(--border)}.score-editor-surface .header-actions{gap:4px}.score-editor-surface #app-header :is(.header-icon,.header-action,.play-time){height:var(--header-control-size);flex:none;gap:6px;margin:0;padding-inline:9px;font-size:12px;white-space:nowrap}.score-editor-surface #app-header .header-icon{width:var(--header-control-size);padding-inline:0}.score-editor-surface .transport-bar{min-width:-moz-min-content;min-width:min-content;max-width:470px;flex:1 1 300px;margin-inline:auto}.score-editor-surface :is(.score-transport-controls,.score-source-controls,.score-source-switch){display:flex;align-items:center;gap:3px}.score-editor-surface .score-transport-controls{flex:1;min-width:-moz-min-content;min-width:min-content}.score-editor-surface #score-source-playback:empty{display:none}.score-editor-surface .score-source-switch{padding:2px;border:1px solid var(--border);border-radius:7px}.score-editor-surface .score-source-switch button{display:inline-flex;align-items:center;gap:4px;min-height:27px;padding:1px 6px;border:0;border-radius:5px;background:transparent;color:var(--text-secondary);font-size:12px;white-space:nowrap}.score-editor-surface .score-source-switch button:hover:not(:disabled){background:var(--panel-hover)}.score-editor-surface .score-source-switch button[aria-pressed=true]{color:var(--accent);background:var(--accent-soft)}.score-editor-surface .score-source-switch button:disabled{opacity:.5;cursor:default}.score-editor-surface .playback-button{border:1px solid var(--control-border);border-radius:50%;background:var(--play);color:var(--ink-light)}.score-editor-surface .playback-button:hover:not(:disabled){background:var(--play-hover)}.score-editor-surface .playback-button:focus-visible{outline-color:var(--accent)}.score-editor-surface #app-header .play-time{padding-inline:4px;font-variant-numeric:tabular-nums}.score-editor-surface .transport-bar [data-score-widget=select]{flex:0 0 64px}.score-editor-surface .transport-bar #sel-speed{margin:0}.score-editor-surface .score-transport-extra{display:contents}.score-editor-surface .score-phone-only{display:none}.score-editor-surface .tool-label{margin-inline:2px 5px;color:var(--text-muted);font-size:12px;white-space:nowrap}.score-editor-surface .preview-mode-switch{grid-area:modes}.score-editor-surface :is(.preview-mode-switch,.view-tools){display:inline-flex;align-items:center;flex:none;min-width:0;gap:2px;padding:2px;border:1px solid var(--border);border-radius:var(--control-radius);background:var(--panel)}.score-editor-surface :is(.preview-mode-switch,.view-tools) button{height:30px;flex:0 0 auto;margin:0;padding:0 9px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--text-secondary);font-size:12px;white-space:nowrap}.score-editor-surface :is(.preview-mode-switch,.view-tools) button:hover:not(.active,:disabled){background:var(--panel-hover);color:var(--text)}.score-editor-surface .preview-mode-switch button.active{border-color:var(--accent-border);background:var(--accent-soft);color:var(--accent)}.score-editor-surface #dolce-workspace{--sidebar-rail-width:38px;position:relative;display:flex;flex:1 1 auto;min-height:0}.score-editor-surface #score-editor-panes{position:relative;display:flex;flex:1 1 0;min-width:0;min-height:0}.score-editor-surface :is(.workspace-pane,.editor-sidebar,.sidebar-content){display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden}.score-editor-surface .workspace-pane{background:var(--panel)}.score-editor-surface .editor-sidebar{flex:0 0 var(--sidebar-expanded-width)}.score-editor-surface #palette-sidebar{--sidebar-expanded-width:clamp(200px,17vw,224px);border-inline-end:1px solid var(--border)}.score-editor-surface #inspector-sidebar{--sidebar-expanded-width:clamp(248px,20vw,288px);border-inline-start:1px solid var(--border)}.score-editor-surface .editor-sidebar:has(>.sidebar-content[hidden]){flex-basis:var(--sidebar-rail-width)}.score-editor-surface .sidebar-content{flex:1 1 auto}.score-editor-surface .sidebar-heading{display:flex;align-items:center;gap:4px;min-height:44px;padding:5px 6px;flex:none;border-bottom:1px solid var(--border)}.score-editor-surface .sidebar-toggle{min-width:30px;min-height:32px;margin:0;padding:0;gap:8px;border-radius:6px;background:transparent;color:var(--text-secondary);font-size:12px}.score-editor-surface .sidebar-toggle:hover:not(:disabled){background:var(--panel-hover);color:var(--text)}.score-editor-surface .sidebar-toggle:focus-visible{outline-offset:-2px}.score-editor-surface #palette-sidebar .sidebar-toggle[aria-expanded=true]{width:100%;justify-content:space-between;padding-inline:6px}.score-editor-surface #palette-sidebar .sidebar-toggle[aria-expanded=true] .editor-icon{order:1;transform:rotate(180deg)}.score-editor-surface #inspector-sidebar .sidebar-toggle[aria-expanded=true] .sidebar-label{display:none}.score-editor-surface #inspector-sidebar .sidebar-toggle[aria-expanded=false] .editor-icon{transform:rotate(180deg)}.score-editor-surface .editor-sidebar:has(>.sidebar-content[hidden]) .sidebar-heading{padding:4px 2px;border-bottom:0}.score-editor-surface .editor-sidebar:has(>.sidebar-content[hidden]) .inspector-tabs{display:none}.score-editor-surface .sidebar-toggle[aria-expanded=false]{width:100%;min-width:0;height:auto;flex-direction:column;padding-block:8px}.score-editor-surface .sidebar-toggle[aria-expanded=false] .sidebar-label{writing-mode:vertical-rl}.score-editor-surface #code-pane-shell{flex:0 0 var(--code-w,31%)}.score-editor-surface #score-pane-shell{position:relative;display:flex;flex:1 1 0;flex-direction:column;min-width:0;min-height:0;overflow:hidden}.score-editor-surface #dolce-workspace.no-code :is(#code-pane-shell,#split-code){display:none}.score-editor-surface .pane-splitter{position:relative;flex:0 0 var(--gutter);cursor:col-resize;touch-action:none}.score-editor-surface .pane-splitter:after{position:absolute;inset:18px calc(50% - 1px);border-radius:2px;background:var(--accent);opacity:0;content:""}.score-editor-surface .pane-splitter:is(:hover,.active):after{opacity:1}.score-editor-surface #dolce-workspace.resizing{cursor:col-resize;-webkit-user-select:none;-moz-user-select:none;user-select:none}.score-editor-surface #dolce-workspace.resizing :is(#code-pane,#score-pane){pointer-events:none}.score-editor-surface .pane-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:46px;flex:none;padding:5px 11px;border-bottom:1px solid var(--border)}.score-editor-surface .pane-title{display:flex;align-items:center;gap:7px;color:var(--text-secondary);font-weight:600;white-space:nowrap}.score-editor-surface .pane-title .editor-icon{color:var(--text-muted)}.score-editor-surface .pane-meta{color:var(--text-muted);font:11px/1.3 ui-monospace,Menlo,monospace}.score-editor-surface .inspector-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));flex:1 1 0;min-width:0;gap:4px}.score-editor-surface .inspector-tabs button{min-height:32px;margin:0;border:1px solid transparent;border-radius:7px;color:var(--text-secondary);font-size:12px;font-weight:600}.score-editor-surface .inspector-tabs button[aria-selected=true]{border-color:var(--accent-border);background:var(--accent-soft);color:var(--accent)}.score-editor-surface .inspector-tabs button:hover[aria-selected=false]{background:var(--panel-raised)}.score-editor-surface .inspector-content{overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}.score-editor-surface .inspector-content:focus-visible{outline:1px solid var(--accent);outline-offset:-2px}.score-editor-surface #inspector-song{flex:1 1 0;min-height:0}.score-editor-surface #score-generation-history:not(:empty){flex:1 1 45%;min-height:110px;max-height:50%;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;border-top:1px solid var(--border)}.score-editor-surface .score-generation-history-heading{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:46px;padding:8px 12px;border-bottom:1px solid var(--border);background:var(--panel)}.score-editor-surface .score-generation-history-heading h2{display:flex;align-items:center;gap:7px;margin:0;color:var(--text);font-size:13px;line-height:20px;font-weight:600}.score-editor-surface .score-generation-history-count{display:grid;min-width:19px;height:19px;place-items:center;padding-inline:5px;border-radius:5px;background:var(--border);color:var(--text-muted);font-size:10px;font-weight:500;font-variant-numeric:tabular-nums}.score-editor-surface .score-generation-history-all{display:inline-flex;flex-shrink:0;align-items:center;gap:2px;min-height:28px;color:var(--text-secondary);font-size:11px;text-decoration:none}.score-editor-surface .score-generation-history ul{display:grid;gap:3px;margin:0;padding:6px;list-style:none}.score-editor-surface .score-generation-record{padding:11px 9px 9px;border-inline-start:2px solid transparent;border-radius:9px}.score-editor-surface .score-generation-record:is([data-phase=generating],[data-phase=preparingAudio]){border-inline-start-color:var(--accent-border);background:color-mix(in srgb,var(--accent) 5%,transparent)}.score-editor-surface .score-generation-record[data-playing=true]{border-inline-start-color:var(--accent);background:var(--accent-soft)}.score-editor-surface .score-generation-record-song{display:flex;gap:10px;align-items:flex-start}.score-editor-surface .score-generation-cover{position:relative;display:grid;width:60px;height:60px;flex-shrink:0;place-items:center;overflow:hidden;padding:0;border:1px solid var(--control-border);border-radius:8px;background:var(--panel-raised);color:var(--text-muted)}.score-editor-surface .score-generation-cover:disabled{opacity:1}.score-editor-surface .score-generation-cover[data-empty=true]{background:linear-gradient(145deg,var(--panel-raised),var(--bg))}.score-editor-surface .score-generation-cover[data-empty=true]:before{content:"";position:absolute;inset:15px 9px;background:repeating-linear-gradient(transparent 0 5px,var(--border) 5px 6px)}.score-editor-surface .score-generation-cover>svg{position:relative}.score-editor-surface .score-generation-cover img{position:absolute;inset:0;width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.score-editor-surface .score-generation-cover-action{position:absolute;inset:0;display:grid;place-items:center;background:rgba(0,0,0,.4);color:#fff;opacity:0;transition:opacity .15s ease}.score-editor-surface .score-generation-cover-action[data-visible=true],.score-editor-surface .score-generation-cover:focus-visible .score-generation-cover-action{opacity:1}.score-editor-surface .score-generation-cover-pending{position:absolute;inset:0;display:grid;place-items:center;overflow:hidden;background:rgba(0,0,0,.18);color:#fff}.score-editor-surface .score-generation-shimmer{position:absolute;inset-block:0;inset-inline-start:0;width:50%;background:linear-gradient(90deg,transparent,hsla(0,0%,100%,.25),transparent);animation-timing-function:linear}.score-editor-surface .score-generation-record-info{flex:1;min-width:0}.score-editor-surface .score-generation-record-heading{display:flex;align-items:flex-start;gap:4px}.score-editor-surface .score-generation-record-title{display:-webkit-box;flex:1;min-width:0;max-width:100%;padding:1px 0;border:0;background:transparent;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow-wrap:anywhere;text-align:start;color:var(--text);font-size:13px;line-height:19px;font-weight:600}.score-editor-surface :is(.score-generation-record-title,.score-generation-cover,.score-generation-open-work,.score-generation-status-retry,.score-generation-history-all):focus-visible{outline:2px solid var(--accent);outline-offset:3px}.score-editor-surface .score-generation-open-work{display:grid;width:28px;height:28px;margin-block-start:-3px;flex-shrink:0;place-items:center;border-radius:6px;color:var(--text-secondary);text-decoration:none}.score-editor-surface .score-generation-record[data-playing=true] .score-generation-record-title{color:var(--accent)}.score-editor-surface .score-generation-record-metadata{display:flex;align-items:center;gap:8px;min-height:15px;margin-top:3px;color:var(--text-secondary);font-size:11px;line-height:15px}.score-editor-surface .score-generation-record-metadata span{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.score-editor-surface .score-generation-record-metadata .score-generation-duration{flex-shrink:0;font-variant-numeric:tabular-nums}.score-editor-surface .score-generation-record-state{display:flex;align-items:center;gap:5px;min-height:21px;margin-top:5px}.score-editor-surface .score-generation-status{display:inline-flex;align-items:center;gap:4px;max-width:100%;padding:2px 5px;border-radius:4px;background:var(--border);color:var(--text-secondary);font-size:10px;line-height:15px}.score-editor-surface .score-generation-status-dot{width:4px;height:4px;flex-shrink:0;border-radius:50%;background:currentColor}.score-editor-surface .score-generation-record:is([data-phase=generating],[data-phase=preparingAudio],[data-playing=true]) .score-generation-status{background:var(--accent-soft);color:var(--accent)}.score-editor-surface .score-generation-record[data-phase=generationFailed] .score-generation-status{background:var(--error-soft);color:var(--error)}.score-editor-surface .score-generation-status-retry{display:grid;width:25px;height:25px;padding:0;border:0;border-radius:5px;place-items:center;background:transparent;color:var(--text-secondary)}.score-editor-surface .score-generation-record-style{overflow:hidden;margin:0;text-overflow:ellipsis;white-space:nowrap;color:var(--text-muted);font-size:11px;line-height:17px}.score-editor-surface .score-generation-record-time{display:block;margin-block-start:4px;color:var(--text-muted);font-size:10px;line-height:15px}.score-editor-surface .score-generation-history-all:dir(rtl) svg{transform:rotate(180deg)}.score-editor-surface .score-generation-history-message{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0;padding:12px;color:var(--text-secondary);font-size:12px}@media (hover:hover) and (pointer:fine){.score-editor-surface .score-generation-record:hover{background:var(--panel-hover)}.score-editor-surface .score-generation-record-title:hover{text-decoration:underline;text-underline-offset:3px}.score-editor-surface .score-generation-cover:hover:not(:disabled) .score-generation-cover-action{opacity:1}.score-editor-surface :is(.score-generation-open-work,.score-generation-status-retry):hover{background:var(--control-border);color:var(--text)}.score-editor-surface .score-generation-history-all:hover{color:var(--text)}}@media (hover:none){.score-editor-surface .score-generation-cover-action{opacity:1}.score-editor-surface .score-generation-open-work{width:36px;height:36px;margin-block-start:-5px}}@media (prefers-reduced-motion:reduce){.score-editor-surface .score-generation-shimmer{animation:none;opacity:0}.score-editor-surface .score-generation-cover-action{transition:none}}.score-editor-surface .modal-box.score-generation-song-dialog{--producer-text:var(--text);--producer-text-muted:var(--text-secondary);--producer-surface:var(--bg);--producer-surface-raised:var(--panel);--producer-border:var(--border);--producer-border-strong:var(--control-border);--producer-brand:var(--accent);position:relative;width:min(100%,420px);height:min(84dvh,640px);padding:0;overflow:hidden}.score-editor-surface .score-generation-song-header{position:relative;display:flex;align-items:center;flex-shrink:0;gap:14px;min-height:112px;padding:20px;padding-inline-end:48px;border-bottom:1px solid var(--border);background:var(--panel)}.score-editor-surface .score-generation-song-cover{display:grid;width:72px;height:72px;flex-shrink:0;place-items:center;overflow:hidden;border:1px solid var(--border);border-radius:10px;background:var(--panel-raised);color:var(--text-muted)}.score-editor-surface .score-generation-song-cover img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.score-editor-surface .score-generation-song-heading{flex:1;min-width:0}.score-editor-surface .score-generation-song-title{display:-webkit-box;margin:0;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow-wrap:anywhere;font-size:17px;font-weight:600;line-height:24px}.score-editor-surface .score-generation-song-meta{display:flex;align-items:center;gap:10px;margin-top:6px;color:var(--text-secondary);font-size:12px;line-height:17px}.score-editor-surface .score-generation-song-meta span{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.score-editor-surface .score-generation-song-heading time{display:block;margin-top:3px;color:var(--text-muted);font-size:10px;line-height:16px}.score-editor-surface .score-generation-song-header .score-generation-song-close{position:absolute;top:12px;inset-inline-end:12px}.score-editor-surface .score-generation-song-body{display:flex;flex:1;min-height:0;overflow:hidden;background:var(--panel)}.score-editor-surface .score-generation-song-player{flex-shrink:0;padding:12px 20px;border-top:1px solid var(--border);background:var(--panel)}.score-editor-surface .score-generation-song-body>[data-appearance=canvas]{flex:1;min-height:0;padding:20px}.score-editor-surface .score-generation-song-body [data-song-detail=info]:empty,.score-editor-surface .score-generation-song-body [data-song-detail=toolbar]{display:none}.score-editor-surface .score-generation-song-body [data-song-detail=info]:empty+div{margin-top:0}.score-editor-surface .score-generation-song-preview{flex:1;min-height:0;padding:20px;overflow:auto;scrollbar-width:thin}.score-editor-surface .score-generation-song-preview section+section{margin-top:24px}.score-editor-surface .score-generation-song-preview h3{margin:0 0 12px;color:var(--text-secondary);font-size:12px;font-weight:500;line-height:18px}.score-editor-surface .score-generation-song-preview p{margin:0;font-size:13px;line-height:1.75;overflow-wrap:anywhere}.score-editor-surface .score-generation-song-skeleton{display:grid;gap:12px;padding-block:3px}.score-editor-surface .score-generation-song-skeleton span{display:block;height:10px;border-radius:4px;background:var(--control-border)}.score-editor-surface .score-generation-song-skeleton span:nth-child(2n){width:72%}.score-editor-surface .score-generation-song-skeleton span:last-child{width:54%}.score-editor-surface .score-generation-song-preview section:last-child :is(.score-generation-song-skeleton,.score-generation-song-preview-lyrics){min-height:192px;padding:16px;border:1px solid var(--border);border-radius:12px;background:var(--bg)}.score-editor-surface .score-generation-song-preview-lyrics{white-space:pre-wrap}.score-editor-surface .score-generation-song-error{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:24px;color:var(--text-secondary);font-size:13px}.score-editor-surface .score-generation-song-error p{margin:0}.score-editor-surface :is(#inspector-layout,#inspector-settings){display:flex;flex:1 1 0;flex-direction:column;min-width:0;min-height:0;overflow:hidden}.score-editor-surface .inspector-settings-section{flex:1 1 0;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}.score-editor-surface .inspector-settings-fields{padding:12px 10px}.score-editor-surface .inspector-settings-tools+.inspector-settings-fields{border-top:1px solid var(--border)}.score-editor-surface .inspector-settings-fields .settings-form .modal-row{grid-template-columns:minmax(0,1fr);gap:5px;font-size:12px}.score-editor-surface .inspector-settings-fields .modal-row:has(input[type=checkbox]){grid-template-columns:minmax(0,1fr) auto}.score-editor-surface .inspector-settings-actions{padding:0 10px 12px}.score-editor-surface :is(.inspector-fields,.inspector-group){padding:10px}.score-editor-surface .inspector-fields+.inspector-group,.score-editor-surface .inspector-group+.inspector-group{border-top:1px solid var(--border)}.score-editor-surface .inspector-fields{display:grid;gap:10px}.score-editor-surface .inspector-field{min-width:0}.score-editor-surface .inspector-fields label{display:grid;gap:4px;color:var(--text-secondary);font-size:12px}.score-editor-surface .inspector-fields .rt-TextFieldRoot{height:32px;font-size:13px}.score-editor-surface .inspector-fields .rt-TextFieldRoot:has([aria-invalid=true]){box-shadow:inset 0 0 0 1px var(--error)}.score-editor-surface .inspector-error{display:block;margin-top:4px;color:var(--error);font-size:11px}.score-editor-surface .inspector-group h2{margin:0 0 8px;color:var(--text-secondary);font-size:12px;font-weight:600}.score-editor-surface .layout-mode-switch{display:grid}.score-editor-surface .layout-mode-switch :is(select,[data-score-widget],.rt-SelectTrigger){width:100%;min-width:0}.score-editor-surface .inspector-toggle-group{display:grid;gap:4px}.score-editor-surface .inspector-row{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:34px;padding:5px 8px;border-radius:7px;background:var(--panel-raised);color:var(--text-secondary);font-size:12px;font-weight:400;text-align:start;cursor:pointer}.score-editor-surface .inspector-row:hover{background:var(--panel-hover)}.score-editor-surface .inspector-row:has(.rt-CheckboxRoot[aria-checked=true]){background:var(--accent-soft)}.score-editor-surface .inspector-row:has(.rt-CheckboxRoot[aria-checked=true]):hover{background:var(--accent-soft-hover)}.score-editor-surface .visual-palette{display:block;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:12px 10px 20px}.score-editor-surface #palette-sidebar .sidebar-toggle{border-radius:0}.score-editor-surface .visual-palette-modes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px;padding:3px;margin:0 2px 14px;background:var(--panel-raised);border-radius:8px}.score-editor-surface .visual-palette-section{border-top:1px solid var(--border)}.score-editor-surface .visual-palette-section summary{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:40px;padding:8px 4px;color:var(--text-secondary);font-size:12px;font-weight:600;list-style:none;cursor:pointer}.score-editor-surface .visual-palette-section summary::-webkit-details-marker{display:none}.score-editor-surface .visual-palette-section summary:after{content:"";flex:0 0 6px;height:6px;margin-inline:3px;border:solid;border-width:0 1px 1px 0;transform:rotate(45deg) translateY(-2px)}.score-editor-surface .visual-palette-section[open] summary{color:var(--text)}.score-editor-surface .visual-palette-section[open] summary:after{transform:rotate(225deg) translateY(-2px)}.score-editor-surface .visual-palette-section summary:hover{color:var(--text)}.score-editor-surface .visual-palette-section summary:focus-visible{border-radius:5px;outline-offset:-2px}.score-editor-surface .visual-palette-body{display:grid;gap:12px;padding:2px 2px 14px}.score-editor-surface .visual-palette-caption{margin:0 2px 5px;color:var(--text-muted);font-size:11px}.score-editor-surface .visual-palette-grid .visual-palette-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.score-editor-surface .visual-palette-list .visual-palette-choices{display:grid;gap:2px}.score-editor-surface .visual-palette button{min-width:0;height:auto;margin:0;padding:3px 2px;line-height:1.25}.score-editor-surface .visual-palette .rt-Button:not([aria-pressed=true]){background:transparent}.score-editor-surface .visual-palette .rt-Button:not(:disabled):not([aria-pressed=true]):hover{background:var(--panel-hover)}.score-editor-surface .visual-palette-modes button{min-height:29px;font-size:12px;white-space:normal}.score-editor-surface .visual-palette-modes button[aria-pressed=true]:disabled{opacity:1;background:var(--accent-soft);color:var(--accent)}.score-editor-surface .visual-palette-grid button{min-height:32px;font-size:13px;font-weight:600;font-variant-numeric:tabular-nums;border:1px solid var(--border)}.score-editor-surface .visual-palette-grid button[aria-pressed=true]{border-color:var(--accent-border)}.score-editor-surface :is(.visual-palette-grid button.visual-palette-glyph,.visual-menu-choice[data-music-glyph]){font-family:Bravura;font-size:19px;font-weight:400;overflow:hidden}.score-editor-surface .visual-palette-list button{justify-content:flex-start;min-height:28px;padding-inline:7px;font-size:12px;text-align:start;white-space:normal;overflow-wrap:anywhere}.score-editor-surface .score-workbench-search{width:100%;min-width:0;min-height:35px;padding:7px 10px;border:1px solid var(--control-border);border-radius:7px;background:var(--input);color:var(--text)}.score-editor-surface .score-workbench-search::-moz-placeholder{color:var(--text-muted)}.score-editor-surface .score-workbench-search::placeholder{color:var(--text-muted)}.score-editor-surface .score-workbench-search:focus{outline-offset:-1px}.score-editor-surface .score-tool-category{margin-top:18px}.score-editor-surface :is(.score-tool-category,.score-recent-tools) h2{margin:0 0 5px;padding:0 4px;color:var(--text-muted);font-size:11px;font-weight:650}.score-editor-surface .score-recent-tools{margin-top:14px}.score-editor-surface .score-command-results{margin-top:7px}.score-editor-surface :is(.score-command-results,.score-recent-tools) button{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:34px;padding:6px 8px;text-align:start;color:var(--text-secondary);background:transparent;border:1px solid transparent;border-radius:5px}.score-editor-surface :is(.score-command-results,.score-recent-tools) kbd{flex:none;color:var(--text-muted);font:inherit;font-size:10px}.score-editor-surface .score-command-results p{color:var(--text-muted);margin:12px 2px}.score-editor-surface .visual-palette button:not(.rt-Button){border-radius:6px;color:var(--text-secondary)}.score-editor-surface .visual-palette button:not(:disabled):hover{background:var(--panel-hover);color:var(--text)}.score-editor-surface .visual-palette button[aria-pressed=true]{background:var(--accent-soft);color:var(--accent)}.score-editor-surface .visual-palette-grid button{background:var(--panel-raised)}.score-editor-surface .visual-palette-list button{background:transparent}.score-editor-surface .score-beat-review{height:auto;max-height:min(32dvh,235px);min-height:105px}.score-editor-surface .score-beat-toggle{display:inline-flex;align-items:center;gap:6px;color:var(--text-secondary)}.score-editor-surface .score-beat-list{min-height:0;overflow:auto;list-style:none;padding:4px 10px 8px;margin:0}.score-editor-surface .score-beat-list button{width:100%;min-height:32px;text-align:start;padding:5px 8px}.score-editor-surface #dolce-app{position:relative}.score-editor-surface .score-quick-edit{display:flex;flex-direction:column;min-height:0;width:108px;padding:5px;border:1px solid var(--control-border);border-radius:12px;background:var(--editor-chrome);box-shadow:0 8px 24px rgba(0,0,0,.28);overflow:hidden}.score-editor-surface .score-quick-heading{display:flex;margin-bottom:2px}.score-editor-surface .score-quick-actions{min-height:0;overflow:auto;scrollbar-width:thin}.score-editor-surface .score-quick-group{padding:5px 1px;border-top:1px solid var(--border)}.score-editor-surface .score-quick-group .visual-palette-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px}.score-editor-surface .score-quick-group .visual-palette-caption{margin:0 2px 4px}.score-editor-surface .score-quick-edit button{display:inline-flex;align-items:center;justify-content:center;min-width:30px;min-height:33px;padding:3px 6px;border:1px solid transparent;border-radius:5px;color:var(--text-secondary);background:var(--panel-raised);white-space:nowrap}.score-editor-surface .score-quick-edit button.visual-palette-glyph{font-family:Bravura;font-size:20px;overflow:hidden}.score-editor-surface .score-quick-edit button:hover:not(:disabled){background:var(--panel-hover);color:var(--text)}.score-editor-surface .score-quick-actions button[aria-pressed=true]{border-color:var(--accent-border);color:var(--accent);background:var(--accent-soft);opacity:1}.score-editor-surface .score-quick-edit .score-quick-handle{min-width:0;min-height:26px;padding:2px;background:transparent;color:var(--text-muted);flex:1;justify-content:space-between;cursor:grab;touch-action:none;overflow:hidden}.score-editor-surface .score-quick-edit .score-quick-handle:active{cursor:grabbing}.score-editor-surface .score-quick-handle span{overflow:hidden;text-overflow:ellipsis;color:var(--text);font-size:11px;font-weight:650}.score-editor-surface .score-quick-heading .editor-icon{width:12px;height:12px}.score-editor-surface .score-quick-edit.is-floating{position:absolute;z-index:8;margin:0;max-height:calc(100% - 16px);box-shadow:0 12px 36px rgba(0,0,0,.48)}.score-editor-surface :is(.score-tool-mark,.score-tool-back,.score-tool-close){display:none}@media (max-width:680px){.score-editor-surface :is(.score-quick-edit,.score-desktop-control){display:none}.score-editor-surface .visual-palette-modes{margin-top:10px}}.score-editor-surface .visual-menu-choice{min-width:0;min-height:30px;padding:3px;border:1px solid var(--border);border-radius:7px;background:var(--panel-raised);color:var(--text);line-height:1.25}.score-editor-surface .visual-menu-choice[data-highlighted]{border-color:var(--accent-border);background:var(--accent-soft);color:var(--accent)}.score-editor-surface :is(#code-pane,#score-pane){flex:1 1 auto;min-height:0;overflow:auto}.score-editor-surface #code-pane,.score-editor-surface #code-pane .cm-editor{background:var(--input);color:var(--text-secondary)}.score-editor-surface #code-pane .cm-editor{height:100%}.score-editor-surface #code-pane .cm-scroller{overflow:auto;line-height:1.65}.score-editor-surface #code-pane .cm-gutters{background:var(--input);color:var(--text-muted);border-right:1px solid var(--border)}.score-editor-surface #code-pane .cm-content{padding-block:8px;caret-color:var(--accent)}.score-editor-surface #code-pane .cm-line{padding-inline:9px}.score-editor-surface #code-pane .cm-activeLine,.score-editor-surface #code-pane .cm-activeLineGutter{background:var(--accent-soft)}.score-editor-surface #code-pane .cm-content ::-moz-selection{background:var(--code-selection)!important}.score-editor-surface #code-pane .cm-content ::selection,.score-editor-surface #code-pane .cm-selectionBackground{background:var(--code-selection)!important}.score-editor-surface #code-pane .cm-cursor{border-left-color:var(--accent)}.score-editor-surface #code-pane .note{color:#b9adff}.score-editor-surface #code-pane :is(.barline,.lrcspec){color:#d6a1ea}.score-editor-surface #code-pane .break{color:#f2ae89}.score-editor-surface #code-pane :is(.comment,.slash){color:var(--text-muted)}.score-editor-surface #code-pane .text{color:#9cd6b0}.score-editor-surface #code-pane .lrc{color:var(--text)}.score-editor-surface #code-pane .metakey{color:#f3c579;font-weight:650}.score-editor-surface #code-pane .metaval{color:#a3d7ce}.score-editor-surface #code-pane .section{font-weight:650;color:var(--text)}.score-editor-surface #code-pane .unknown{color:var(--error)}.score-editor-surface #score-pane[data-score-theme=dark]{--score-paper:var(--paper-dark);--score-ink:var(--text);--score-secondary:var(--text-muted);--score-selection:var(--accent);--score-warning:var(--error);--playhead-stroke:var(--accent)}.score-editor-surface #score-pane{--score-paper:var(--paper-light);--score-ink:var(--ink-light);--score-secondary:var(--ink-secondary-light);--score-selection:var(--accent-on-paper);--score-selection-fill:color-mix(in srgb,var(--score-selection) 16%,transparent);--score-warning:var(--error-on-paper);--playhead-stroke:var(--accent-on-paper);display:flex;flex-direction:column;align-items:safe center;gap:22px;padding:clamp(10px,1.6vw,24px);background:var(--editor-chrome);-webkit-user-select:none;-moz-user-select:none;user-select:none}@media (min-width:681px){.score-editor-surface #score-pane{padding-block:clamp(18px,3vw,34px)}}.score-editor-surface .score-page-wrap{width:calc(min(var(--page-max), 100%) * var(--score-zoom, 1));aspect-ratio:960/540;flex:0 0 auto;position:relative;background:var(--score-paper);content-visibility:auto}.score-editor-surface .mixed .score-page-wrap{--page-max:var(--staff-page-max)}.score-editor-surface #score-pane .score-page-wrap:has(>:is(.jianpu-page,.mixed-page)){border-radius:2px}@media (min-width:681px){.score-editor-surface #score-pane .score-page-wrap:has(>:is(.jianpu-page,.mixed-page)){width:calc(var(--score-paper-width) * var(--score-zoom, 1))}}.score-editor-surface :where(#score-pane) .score-page>:where(g:not(.vis-overlay)) :where([fill=black],[fill="rgb(0,0,0)"],[fill="#000000"]){fill:var(--score-ink)}.score-editor-surface :where(#score-pane) .score-page>:where(g:not(.vis-overlay)) :where([stroke=black],[stroke="rgb(0,0,0)"],[stroke="#000000"]){stroke:var(--score-ink)}.score-editor-surface :where(#score-pane) .mixed-page :where(.staff-measure-number){fill:var(--score-secondary)}.score-editor-surface :where(#score-pane) .score-page :where(g.chord text){fill:var(--score-ink)}.score-editor-surface :where(#score-pane) .mixed-page :where(.staff-rehearsal text){fill:var(--score-ink)}.score-editor-surface :where(#score-pane) .mixed-page :where(.staff-rehearsal line){stroke:var(--score-secondary)}.score-editor-surface :where(#score-pane) .score-page :where(.staff-lyric,.score-lyric text,.score-lyric path[fill]:not([fill=none])){fill:var(--score-ink)}.score-editor-surface :where(#score-pane) .jianpu-page :where(.jp-rest text,.jp-measure-number text){fill:var(--score-secondary)}.score-editor-surface :where(#score-pane) .jianpu-page :where(.jp-barline line){stroke:var(--score-secondary)}.score-editor-surface :where(#score-pane) .mixed-page :where(.staff-lines line){stroke:var(--score-secondary);stroke-opacity:.88}.score-editor-surface .score-page{position:absolute;inset:0;width:100%;height:100%}.score-editor-surface #measure-svg{position:absolute;left:-9999px;top:-9999px;overflow:hidden}.score-editor-surface .score-page :is(g.selected,g.cursor-at) [fill]:not([fill=none]):not(g.vis-chord:not(.cursor-at) *){fill:var(--score-selection)}.score-editor-surface .score-page :is(g.selected,g.cursor-at) [stroke]:not(g.vis-chord:not(.cursor-at) *){stroke:var(--score-selection)}.score-editor-surface .score-page :is(text,path,line){cursor:default}.score-editor-surface .score-page .staff-editable-span{cursor:pointer}.score-editor-surface .score-page .staff-editable-span.cursor-at [stroke]{stroke:var(--score-selection)}.score-editor-surface .score-page g.staff-chord,.score-editor-surface .score-page g.staff-chord text{cursor:pointer}.score-editor-surface .staff-ledger-line{pointer-events:none}.score-editor-surface #score-pane:focus{outline:none}.score-editor-surface #score-pane:focus-visible{box-shadow:inset 0 0 0 2px var(--accent-border)}.score-editor-surface .vis-overlay{pointer-events:none}.score-editor-surface .vis-overlay .vis-caret{stroke:var(--score-selection);animation:score-editor-caret 1.06s steps(1) infinite}.score-editor-surface .vis-overlay .vis-block{fill:var(--score-selection-fill);stroke:var(--score-selection)}.score-editor-surface .vis-overlay .vis-break{pointer-events:all;cursor:pointer}.score-editor-surface .vis-overlay .vis-break text{fill:var(--score-secondary);font-family:ui-sans-serif,system-ui,sans-serif}.score-editor-surface .vis-overlay .vis-break .vis-break-hit{fill:transparent}.score-editor-surface .vis-overlay .vis-break:is(:hover,.vis-break-selected) .vis-break-hit{fill:var(--score-selection-fill)}.score-editor-surface .vis-overlay .vis-break-selected text{fill:var(--score-selection)}.score-editor-surface #score-pane:not(:focus) .vis-overlay .vis-caret{animation:none;opacity:.55}.score-editor-surface .cm-vis-block{outline:1px solid var(--accent);background:var(--accent-soft);border-radius:2px}.score-editor-surface .cm-vis-caret{display:inline-block;width:0;height:1.2em;margin-right:-2px;border-left:2px solid var(--accent);vertical-align:text-bottom;animation:score-editor-caret 1.06s steps(1) infinite}.score-editor-surface .cm-vis-break{color:var(--text-muted);background:var(--panel-hover);border-radius:2px}.score-editor-surface .vis-marquee{position:fixed;z-index:30;pointer-events:none;border:1px dashed var(--accent);background:var(--accent-soft)}.score-editor-surface .vis-overlay .vis-beat{fill:color-mix(in srgb,var(--score-warning) 12%,transparent);stroke:color-mix(in srgb,var(--score-warning) 70%,transparent);stroke-dasharray:3 2;pointer-events:all}.score-editor-surface .vis-overlay .vis-beat-tag{fill:var(--score-warning);font-weight:600;pointer-events:none}.score-editor-surface .vis-overlay .vis-drag-target{fill:var(--score-selection-fill);stroke:var(--score-selection);stroke-width:1.5;pointer-events:none}.score-editor-surface .vis-overlay .vis-drag-link{stroke:var(--score-selection);stroke-dasharray:4 3;pointer-events:none}.score-editor-surface .cm-vis-beat{-webkit-text-decoration:underline wavy var(--error);text-decoration:underline wavy var(--error);text-underline-offset:3px}.score-editor-surface .score-page rect.playhead{fill:color-mix(in srgb,var(--playhead-stroke) 8%,transparent);stroke:color-mix(in srgb,var(--playhead-stroke) 40%,transparent);stroke-width:1;vector-effect:non-scaling-stroke;pointer-events:none}@keyframes score-editor-caret{50%{opacity:0}}.score-editor-surface .statusbar{display:grid;grid-template-columns:minmax(0,1fr) auto auto;grid-template-areas:"status modes tools";align-items:center;gap:8px;flex:none;min-height:44px;padding:4px var(--gutter) calc(4px + env(safe-area-inset-bottom, 0px));border-top:1px solid var(--border);color:var(--text-secondary)}.score-editor-surface .status-items .icon-button{min-width:30px;padding:0;font-size:18px}.score-editor-surface .playback-icon{display:grid;place-items:center;width:16px;height:16px;flex:none}.score-editor-surface .playback-icon.is-loading{border:2px solid var(--control-border);border-top:2px solid;border-radius:50%;animation:score-editor-spin .75s linear infinite}@keyframes score-editor-spin{to{transform:rotate(1turn)}}.score-editor-surface .playback-icon svg{display:block;width:15px;height:15px}.score-editor-surface .playback-stop-icon{display:block;width:11px;height:11px}.score-editor-surface .play-progress{min-width:54px;flex:1 1 110px;padding-inline:3px}.score-editor-surface .play-progress .rt-SliderRoot{--accent-track:var(--play);min-height:26px;cursor:pointer}.score-editor-surface .status-items{grid-area:tools;display:flex;align-items:center;gap:6px}.score-editor-surface #score-performance-transport{display:none}.score-editor-surface .status-items>#score-performance-buttons{display:flex}.score-editor-surface .status-items .score-performance-tabs button{display:inline-flex;align-items:center;gap:5px;padding-inline:7px}.score-editor-surface .status-items .score-performance-tabs button.active{border-color:var(--accent-border);background:var(--accent-soft);color:var(--accent)}.score-editor-surface #btn-zoom-reset{min-width:49px;padding-inline:3px;font-variant-numeric:tabular-nums}.score-editor-surface .score-editor-status{grid-area:status;display:flex;align-items:center;gap:10px;min-width:0;min-height:26px;padding-inline:4px;color:var(--text-muted);font-size:12px}.score-editor-surface .visual-mode{min-width:0;overflow:hidden;text-overflow:ellipsis;padding:2px 7px;border-radius:5px;border:1px solid var(--accent-border);background:var(--accent-soft);color:var(--accent);white-space:nowrap}.score-editor-surface .visual-mode[data-mode=insert]{border-style:dashed}.score-editor-surface :is(.status-text,.sel-info){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.score-editor-surface .status-text{flex:1 1 0;min-width:0}.score-editor-surface .sel-info{max-width:40ch}.score-editor-surface .beat-count{flex:none;padding:2px 7px;border:1px solid color-mix(in srgb,var(--error) 35%,transparent);border-radius:5px;color:var(--error);cursor:pointer}.score-editor-surface :is(.visual-menu,.modal-box){border:1px solid var(--control-border);background:var(--panel-raised);color:var(--text);box-shadow:var(--popup-shadow)}.score-editor-surface .visual-menu-anchor{position:fixed;width:0;height:0;padding:0;border:0;pointer-events:none}.score-editor-surface .visual-menu{z-index:1000;display:flex;flex-direction:column;gap:2px;width:-moz-max-content;width:max-content;min-width:min(236px,calc(100vw - 16px));max-width:min(320px,calc(100vw - 16px));max-height:min(520px,var(--radix-dropdown-menu-content-available-height));padding:5px;overflow:auto;overscroll-behavior:contain;border-radius:12px;outline:none}.score-editor-surface .visual-menu-item{display:flex;justify-content:space-between;align-items:center;gap:14px;min-height:30px;padding:4px 8px;border:0;border-radius:7px;background:transparent;cursor:default;outline:none;text-align:start}.score-editor-surface .visual-menu-item:is([data-highlighted],[data-state=open]){background:var(--accent-soft);color:var(--accent)}.score-editor-surface .visual-menu-item[data-danger]{color:var(--error)}.score-editor-surface .visual-menu-item[data-danger][data-highlighted]{background:color-mix(in srgb,var(--error) 14%,transparent)}.score-editor-surface .visual-menu-back{justify-content:flex-start;gap:6px}.score-editor-surface .visual-menu-group-name{margin-inline-start:auto;color:var(--text-muted)}.score-editor-surface .visual-menu-separator{flex:none;height:1px;margin:3px 4px;background:var(--border)}.score-editor-surface .visual-menu-arrow{flex:none;color:var(--text-muted)}.score-editor-surface .visual-menu-item kbd{color:var(--text-muted);font:11px/1.4 ui-monospace,Menlo,monospace;flex:none;white-space:nowrap}.score-editor-surface .visual-menu-digits{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:3px}.score-editor-surface .visual-menu-choice{display:grid;place-items:center;cursor:default;outline:none}.score-editor-surface .modal-overlay{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:12px;background:var(--scrim);backdrop-filter:blur(6px)}.score-editor-surface .modal-box{display:flex;flex-direction:column;width:min(100%,480px);max-height:min(90dvh,780px);overflow:auto;padding:22px;border-radius:16px;border-color:var(--control-border);background:var(--panel-raised);color:var(--text)}.score-editor-surface .modal-box:focus{outline:none}.score-editor-surface .modal-box.score-generate-music{width:min(100%,var(--score-generation-dialog-width))}.score-generate-music>header{margin-block-end:16px}.score-editor-surface .modal-box.score-export{width:min(100%,1080px);height:min(92dvh,860px);max-height:92dvh;padding:0;overflow:hidden}.score-export:dir(rtl){--score-export-direction:-1}.score-export-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 22px;border-bottom:1px solid var(--border)}.score-export-subtitle{margin:3px 0 0;overflow:hidden;color:var(--text-secondary);text-overflow:ellipsis;white-space:nowrap}.score-export-body{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,31%)}.score-export-preview{min-height:0;display:flex;flex-direction:column;background:var(--bg)}.score-export-pagination{justify-content:space-between;flex-wrap:wrap;padding:10px;border-bottom:1px solid var(--border)}.score-export-navigation,.score-export-pagination{display:flex;align-items:center;gap:8px}.score-export-pagination select{min-width:110px;height:30px;padding-inline:8px;border:1px solid var(--control-border);border-radius:6px;background:var(--panel)}.score-export-stage{flex:1;min-height:0;overflow:auto;container-type:size;padding:20px clamp(12px,4vw,44px);text-align:center;color:var(--text-secondary)}.score-export-paper{position:relative;width:100%;margin-inline:auto;direction:ltr;background:#fff;box-shadow:0 8px 32px rgba(0,0,0,.35)}.score-export-paper[data-transparent=true]{background:repeating-conic-gradient(#fff 0 25%,var(--text-secondary) 0 50%) 0 /16px 16px}.score-export-sidebar{min-height:0;display:flex;flex-direction:column;border-inline-start:1px solid var(--border)}.score-export-options{flex:1;min-height:0;overflow:auto;display:flex;flex-direction:column;gap:18px;padding:20px}.score-export-options fieldset{min-width:0;padding:0}.score-export-options legend{margin-bottom:8px;color:var(--text-secondary);font-weight:600}.score-export-filename{display:grid;gap:8px;color:var(--text-secondary);font-weight:600}.score-export-filename input{min-width:0;padding:7px 10px;border:1px solid var(--control-border);border-radius:7px;background:var(--input);color:var(--text)}.score-export-toggles{display:flex;flex-wrap:wrap;gap:8px 14px}.score-export-toggles label{display:inline-flex;align-items:center;gap:6px;min-height:26px;cursor:pointer}.score-export-formats,.score-export-pages{display:flex;flex-wrap:wrap;gap:6px}.score-export-page-actions{display:flex;gap:14px;padding:0 5px 10px}.score-export-formats button,.score-export-pages label{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;padding:4px 10px;border:1px solid var(--control-border);border-radius:7px;background:var(--panel-raised);color:var(--text-secondary)}.score-export-pages label{cursor:pointer}.score-export-formats button[aria-pressed=true],.score-export-pages label[data-previewing=true]{border-color:var(--accent-border);background:var(--accent-soft);color:var(--accent)}.score-export-formats button:hover:not(:disabled),.score-export-pages label:hover{border-color:var(--accent)}.score-export-hint{margin:8px 0 0;color:var(--text-muted);font-size:12px}.score-export-footer{padding:12px 20px;border-top:1px solid var(--border)}.score-export-footer p{margin:0 0 8px;color:var(--error)}.score-export-submit{width:100%}@media (max-width:680px){.score-editor-surface .modal-box.score-export{height:94dvh;max-height:94dvh}.score-export-heading{padding:10px 16px}.score-export-body{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) minmax(0,1.2fr)}.score-export-sidebar{border-inline-start:0;border-top:1px solid var(--border)}.score-export-footer,.score-export-options,.score-export-stage{padding:12px 16px}.score-export-options{gap:12px}}.score-editor-surface .modal-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}.score-editor-surface .modal-title{margin:0;font-size:18px;font-weight:650}.score-editor-surface .modal-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-block:8px}.score-editor-surface .modal-hint,.score-editor-surface .modal-row>span:first-child{color:var(--text-muted)}.score-editor-surface .modal-hint{margin:6px 0 0;font-size:12px}.score-editor-surface .modal-footer{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:18px;padding-top:14px;border-top:1px solid var(--border)}.score-editor-surface .modal-box.score-entry-popover{position:absolute;z-index:9;visibility:hidden;width:340px;max-height:45dvh;padding:12px 14px;border-radius:12px;box-shadow:0 6px 24px rgba(0,0,0,.28)}.score-editor-surface .score-entry-popover:has(textarea){width:480px}.score-editor-surface #score-pane-shell:has(>.score-entry-popover)>#score-pane{padding-block-end:calc(var(--score-entry-height, 0px) + 16px)}.score-editor-surface .score-entry-popover .modal-heading{margin-bottom:8px;padding-inline-end:4px}.score-editor-surface .score-entry-popover .modal-title{font-size:14px}.score-editor-surface .score-entry-field{display:grid;gap:6px}.score-editor-surface .score-entry-field [role=alert]{margin:0;color:var(--error)}.score-editor-surface .score-entry-popover .modal-footer{align-items:center;margin-top:8px;padding-top:0;border:0}.score-editor-surface .score-entry-popover .modal-footer .modal-hint{flex:1 0 min(230px,100%);margin:0}.score-editor-surface .score-entry-actions{display:flex;flex:none;gap:8px}.score-editor-surface .settings-box{width:min(100%,600px)}.score-editor-surface .settings-form{display:flex;flex-direction:column;gap:12px}.score-editor-surface .settings-form .modal-row{display:grid;grid-template-columns:minmax(80px,30%) minmax(0,1fr);gap:12px;margin:0}.score-editor-surface .settings-margins{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.score-editor-surface .settings-margins label{display:grid;gap:4px;color:var(--text-muted);font-size:12px}.score-editor-surface .score-color-swatch{position:relative}.score-editor-surface .score-color-swatch button>span{width:17px;height:17px;border:1px solid var(--control-border);border-radius:4px}.score-editor-surface .score-color-swatch>input{position:absolute;inset:0;width:100%;height:100%;opacity:0;pointer-events:none}.score-editor-surface .parts-section summary{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:30px;padding:4px 6px;border-radius:6px;color:var(--text-secondary);font-size:12px;font-weight:600;list-style:none;cursor:pointer}.score-editor-surface .parts-section summary::-webkit-details-marker{display:none}.score-editor-surface .parts-section summary:hover{background:var(--panel-raised)}.score-editor-surface .parts-section summary .editor-icon{color:var(--text-muted)}.score-editor-surface .parts-section[open] summary .editor-icon{transform:rotate(90deg)}.score-editor-surface .parts-list{display:grid;gap:4px;margin:5px 0 0;padding:0;list-style:none}.score-editor-surface .part-item{min-width:0;border:1px solid var(--border);border-radius:8px;background:var(--border)}.score-editor-surface .part-item:has([aria-expanded=true]){border-color:var(--accent-border)}.score-editor-surface .part-line{display:grid;grid-template-columns:minmax(0,1fr) repeat(4,26px);align-items:center;gap:3px;padding:4px}.score-editor-surface .part-line .rt-TextFieldRoot{height:28px;font-size:12px}.score-editor-surface .part-line .rt-TextFieldInput{text-overflow:ellipsis}.score-editor-surface .part-line .part-icon-button{min-width:0;width:26px;height:26px;padding:0;font-weight:650}.score-editor-surface .part-icon-button[aria-pressed=true] .part-eye-slash{display:none}.score-editor-surface .part-icon-button[aria-pressed=true]:has(.part-eye-slash){background:var(--panel-raised);color:var(--text-secondary)}.score-editor-surface .part-icon-button[aria-pressed=true]:has(.part-eye-slash):hover{background:var(--panel-hover)}.score-editor-surface .part-advanced{display:grid;gap:8px;padding:8px;border-top:1px solid var(--border)}.score-editor-surface .part-field{display:grid;grid-template-columns:5.5em minmax(0,1fr);align-items:center;gap:8px;color:var(--text-secondary);font-size:12px}.score-editor-surface .part-field .rt-TextFieldRoot{height:28px}.score-editor-surface .part-operations{display:flex;flex-wrap:wrap;gap:4px}.score-editor-surface .parts-btn{margin:0;font-size:12px}.score-editor-surface .part-delete:not(:disabled){color:var(--error)}.score-editor-surface .parts-tools{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:6px;margin-top:8px}.score-editor-surface .parts-tools .rt-SelectTrigger{height:28px;font-size:12px}.score-editor-surface .part-add-icon{font-size:15px;line-height:1}.score-editor-surface .parts-note{margin:6px 0;color:var(--text-muted);font-size:12px}.score-editor-surface .modal-box.score-editor-help{width:min(100%,1160px);padding:0;overscroll-behavior:contain}.score-editor-help .modal-heading{position:sticky;inset-block-start:0;z-index:1;flex:none;margin:0;padding:14px 20px;border-bottom:1px solid var(--border);background:inherit}.score-editor-shortcuts{-moz-columns:15rem 4;columns:15rem 4;-moz-column-gap:24px;column-gap:24px;padding:16px 20px 0}.score-editor-shortcuts>section{-moz-column-break-inside:avoid;break-inside:avoid;margin-block-end:18px}.score-editor-shortcuts h3{margin:0 0 8px;padding-block-end:6px;border-bottom:1px solid var(--border);color:var(--accent);font-size:13px;font-weight:650}.score-editor-shortcuts dl{display:grid;grid-template-columns:minmax(0,1fr) fit-content(48%);align-items:start;gap:6px 8px;margin:0}.score-editor-shortcuts dd{margin:0;text-align:end}.score-editor-shortcuts kbd{display:inline-block;padding:2px 5px;border:1px solid var(--control-border);border-radius:5px;background:var(--panel-raised);color:var(--text-secondary);font:11px/1.25 ui-monospace,Menlo,monospace;overflow-wrap:anywhere}@media (width > 680px){.score-editor-surface .part-item,.score-editor-surface .workspace-pane .pane-heading{background:var(--panel-raised)}}@media (max-width:1100px){.score-editor-surface #app-header{gap:8px}.score-editor-surface #app-header .header-actions .header-action{width:var(--header-control-size);padding-inline:0}.score-editor-surface .header-actions .header-action .score-button-content>span{display:none}}@media (max-width:800px){.score-editor-surface #app-header{--header-control-size:32px;gap:6px;padding-inline:8px}.score-editor-surface .brand-mark{display:none}.score-editor-surface .brand-name{font-size:13px}.score-editor-surface .transport-bar{flex-basis:330px}}@media (max-width:680px){.score-editor-surface{--gutter:8px;--phone-top:var(--safe-area-top,env(safe-area-inset-top,0px));--phone-bottom:var(--safe-area-bottom,env(safe-area-inset-bottom,0px))}.score-editor-surface #dolce-app{max-height:var(--score-keyboard-height,100%)}.score-editor-surface .score-phone-only{display:block}.score-editor-surface #app-header{--header-control-size:44px;position:relative;z-index:12;gap:3px;padding:calc(4px + var(--phone-top)) max(8px,env(safe-area-inset-right)) 4px max(8px,env(safe-area-inset-left));overflow:visible}.score-editor-surface #app-header :is(#btn-source,#btn-help,#btn-generate-music,#btn-save){display:none}.score-editor-surface #app-header .header-identity{flex:1 1 auto;min-width:0;gap:4px}.score-editor-surface #app-header .brand{flex:1 1 auto;min-width:0}.score-editor-surface #app-header .brand-name{max-width:100%;font-size:15px}.score-editor-surface #score-phone-more{flex:none}.score-editor-surface :is(#score-phone-more,#score-phone-edit-actions) summary{display:flex;align-items:center;justify-content:center;min-height:44px;min-width:44px;list-style:none;cursor:pointer}.score-editor-surface :is(#score-phone-more,#score-phone-edit-actions) summary::-webkit-details-marker{display:none}.score-editor-surface #score-phone-more>summary .editor-icon{width:20px;height:20px}.score-editor-surface #score-phone-options{position:absolute;inset-block-start:calc(100% + 4px);inset-inline-end:max(8px,env(safe-area-inset-left),env(safe-area-inset-right));width:min(238px,calc(100% - 16px));max-height:calc(var(--score-keyboard-height, 100dvh) - var(--phone-top) - 112px);overflow-y:auto;overscroll-behavior:contain;list-style:none;margin:0;padding:4px;background:var(--panel);border:1px solid var(--control-border);border-radius:10px;box-shadow:var(--popup-shadow)}.score-editor-surface #score-phone-options li:has(>button[hidden]){display:none}.score-editor-surface #score-phone-options button{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;padding:5px 10px;border:0;border-radius:6px;background:transparent;color:var(--text);text-align:start}.score-editor-surface #score-phone-options button:focus-visible{outline-offset:-2px}.score-editor-surface #score-phone-options button:not(:disabled):hover{background:var(--panel-hover)}.score-editor-surface #score-phone-options button[aria-expanded=true]{color:var(--accent)}.score-editor-surface #score-phone-options .editor-icon{width:17px;height:17px;color:var(--text-secondary)}.score-editor-surface #score-phone-options button[data-score-action=btn-generate-music]{background:var(--accent-soft);color:var(--accent);font-weight:600}.score-editor-surface #score-phone-options button[data-score-action=btn-generate-music]:not(:disabled):hover{background:var(--accent-soft-hover)}.score-editor-surface #score-phone-options button[data-score-action=btn-generate-music] .editor-icon{color:inherit}.score-editor-surface #score-phone-navigation{position:relative;z-index:12;display:flex;align-items:center;justify-content:space-between;gap:2px;flex:none;padding-inline:8px;background:var(--panel);border-bottom:1px solid var(--border)}.score-editor-surface #score-phone-nav-tools{margin-inline-start:auto}.score-editor-surface #score-phone-nav-actions{display:flex;flex:none;align-items:center}.score-editor-surface #score-phone-history .header-history{gap:0;padding:0;border:0}.score-editor-surface #score-phone-history .header-icon{width:44px;height:44px;margin:0}.score-editor-surface #score-phone-measure{display:flex;align-items:center;gap:5px;min-width:44px;min-height:44px;padding:0 5px;border:0;border-radius:6px;background:transparent;color:var(--text-secondary)}.score-editor-surface #score-phone-measure span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.score-editor-surface #score-phone-navigation .status-items{flex:none;gap:0}.score-editor-surface #score-phone-navigation .view-tools{background:transparent;border:0;padding:0;gap:0}.score-editor-surface #score-phone-navigation .score-page-tools{display:none}.score-editor-surface #score-phone-navigation :is(#btn-zoom-out,#btn-zoom-in){min-width:clamp(32px,10vw,44px);min-height:44px}.score-editor-surface #score-phone-edit button:not(.rt-Button),.score-editor-surface #score-phone-edit-actions summary{min-height:44px;margin:0;padding:4px 7px;color:var(--text);background:var(--panel-raised);border:1px solid var(--control-border);border-radius:7px;overflow-wrap:anywhere}.score-editor-surface .tool-label{display:none}.score-editor-surface :is(#palette-sidebar,#inspector-sidebar){position:absolute;z-index:10;inset:auto 0 0;max-height:min(100%,440px);border:1px solid var(--control-border);border-radius:12px 12px 0 0;box-shadow:var(--popup-shadow)}.score-editor-surface :is(#palette-sidebar,#inspector-sidebar):has(>.sidebar-content[hidden]){display:none}.score-editor-surface #inspector-sidebar .sidebar-toggle[aria-expanded=true] .editor-icon{transform:rotate(90deg)}.score-editor-surface :is(.sidebar-toggle,.inspector-tabs button,.visual-palette button){min-height:44px}.score-editor-surface .inspector-fields{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.score-editor-surface .inspector-field{grid-column:span 2}.score-editor-surface .inspector-field:nth-child(-n+2){grid-column:span 3}.score-editor-surface .visual-palette{padding-inline:6px}.score-editor-surface :is(#code-pane-shell,#score-pane-shell){position:absolute;inset:0}.score-editor-surface :is(#code-pane-shell,#split-code){display:none}.score-editor-surface #dolce-workspace:not(.no-code) #code-pane-shell{display:flex}.score-editor-surface #dolce-workspace:not(.no-code) #score-pane-shell{display:none}.score-editor-surface #score-pane{padding:8px;gap:8px;touch-action:pan-x pan-y;overscroll-behavior:contain}.score-editor-surface :is(.score-entry-popover,.editor-sidebar,#code-pane) :is(input:not([type=range]),textarea,.cm-content){font-size:16px}.score-editor-surface .score-entry-popover .modal-footer{display:grid;justify-items:end}.score-editor-surface .score-entry-popover .modal-hint:not([role=alert]){justify-self:stretch}.score-editor-surface .statusbar{grid-template:"status" auto/minmax(0,1fr);gap:0;min-height:0;padding:0 10px;border:0}.score-editor-surface .statusbar :is(.sel-info,.visual-mode,.preview-mode-switch){display:none}.score-editor-surface .statusbar:not(:has(#status:not(:empty),#beat-count:not([hidden]))){display:none}.score-editor-surface .statusbar .status-text{white-space:normal}.score-editor-surface .statusbar #beat-count{min-height:44px}.score-editor-surface #score-phone-dock{position:relative;flex:none;padding:0 10px var(--phone-bottom);border-top:1px solid var(--border);background:var(--panel)}.score-editor-surface #dolce-app:has(#dolce-workspace:not(.no-code)) #score-phone-edit{display:none}.score-editor-surface #dolce-app:has(.score-entry-popover) :is(#score-phone-navigation,#score-phone-dock){display:none}.score-editor-surface #score-phone-control-buttons{--phone-tool-width:clamp(29px,9.5vw,44px);display:flex;align-items:center;gap:3px;padding-block:4px;border-bottom:1px solid var(--border)}.score-editor-surface #score-phone-control-buttons #score-performance-buttons{display:block;flex:none;margin-inline-start:auto}.score-editor-surface #score-phone-control-buttons .score-performance-tabs{display:flex;gap:0;padding:0;border:0;border-radius:0;background:transparent}.score-editor-surface #score-phone-control-buttons .score-performance-tabs button,.score-editor-surface #score-phone-dock #score-transport-toggles button{display:flex;align-items:center;justify-content:center;flex:none;width:var(--phone-tool-width);height:44px;padding:0}.score-editor-surface #score-phone-control-buttons .score-performance-tabs button>span{display:none}.score-editor-surface #score-phone-control-buttons :is(.score-performance-tabs,#score-transport-toggles) svg{flex:none;width:17px;height:17px}.score-editor-surface #score-phone-control-buttons .score-performance-tabs button.active{border-color:var(--accent-border);background:var(--accent-soft);color:var(--accent)}.score-editor-surface #score-phone-edit{padding-block:0 8px;border-bottom:1px solid var(--border)}.score-editor-surface .score-phone-selection{display:flex;align-items:center;justify-content:space-between;gap:6px;color:var(--accent)}.score-editor-surface #score-phone-dock #score-phone-clear{border:0;background:transparent;color:var(--text-secondary)}.score-editor-surface #score-phone-edit-actions{display:grid;grid-template-columns:44px repeat(4,minmax(0,1fr)) 44px;gap:4px}.score-editor-surface #score-phone-edit-actions>details{min-width:0}.score-editor-surface #score-phone-edit-actions>button:not(.score-phone-step){padding-inline:3px;font-size:12px}.score-editor-surface #score-phone-edit-actions summary{min-width:0}.score-editor-surface #score-phone-edit-actions>.score-phone-step{font-size:23px}.score-editor-surface .score-phone-durations{position:absolute;z-index:2;inset:auto 10px calc(100% + 3px);display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;padding:6px;border:1px solid var(--control-border);border-radius:9px;background:var(--panel);box-shadow:var(--popup-shadow)}.score-editor-surface #score-phone-edit-actions button[aria-pressed=true]{color:var(--accent);border-color:var(--accent-border);background:var(--accent-soft)}.score-editor-surface #score-phone-dock .transport-bar{flex-direction:column;align-items:stretch;min-width:0;max-width:none;margin:0;gap:0}.score-editor-surface #score-phone-transport-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));flex:1 1 0;min-width:0;max-width:260px;gap:4px}.score-editor-surface #score-phone-transport-options #score-source-playback{grid-column:2}.score-editor-surface #score-phone-transport-options :is([data-score-widget=select],.score-source-dropdown,.rt-SelectTrigger){width:100%}.score-editor-surface #score-phone-dock :is(#score-phone-transport-options,#score-transport-speed) .rt-SelectTrigger{position:relative;isolation:isolate;justify-content:center;gap:3px;min-width:0;min-height:44px;padding-inline:4px;border-radius:999px;background:transparent;box-shadow:none;color:var(--text-secondary);font-size:clamp(11px,3vw,13px)}.score-editor-surface #score-phone-dock .rt-SelectTrigger:before{content:"";position:absolute;z-index:-1;inset:8px 0;border-radius:inherit;background:var(--panel-raised);pointer-events:none}.score-editor-surface #score-phone-dock .rt-SelectTrigger:not(:disabled):is(:hover,[data-state=open]):before{background:var(--panel-hover)}.score-editor-surface #score-phone-dock .rt-SelectTrigger:focus-visible{outline-offset:-5px}.score-editor-surface #score-phone-dock .rt-SelectTrigger .rt-SelectIcon{width:9px;flex:none}.score-editor-surface #score-phone-transport-options .rt-SelectTrigger>:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.score-editor-surface #score-phone-transport-options .score-source-switch{display:none}.score-editor-surface #score-phone-control-buttons #score-transport-toggles{display:flex;align-items:center;border-inline-start:1px solid var(--border)}.score-editor-surface #score-phone-dock .header-icon{width:44px;height:44px;margin:0}.score-editor-surface #score-phone-dock #btn-stop{display:none}.score-editor-surface #score-phone-dock .score-transport-controls{min-width:0;min-height:54px;gap:5px}.score-editor-surface #score-phone-dock #score-transport-speed [data-score-widget=select]{flex:0 0 clamp(52px,15vw,64px)}.score-editor-surface #score-phone-dock .play-progress{min-width:38px}.score-editor-surface #score-phone-dock .playback-button{flex:none;width:44px;height:44px}.score-editor-surface #score-phone-dock .play-time{flex:none;min-height:44px;margin:0;padding-inline:1px;font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap}.score-editor-surface #score-phone-dock .play-progress .rt-SliderRoot{min-height:44px}}@media (max-width:680px) and (max-height:650px){.score-editor-surface #dolce-app:has(#score-performance-panel) #score-phone-edit{display:none}.score-editor-surface .score-performance-body:not([data-view=tracks]){max-height:min(25dvh,165px)}}@media (max-width:460px){.score-editor-surface .modal-box{padding:16px}.score-editor-surface .settings-form .modal-row{grid-template-columns:minmax(0,1fr);gap:5px}}@media (prefers-reduced-motion:reduce){.score-editor-surface :is(.vis-caret,.cm-vis-caret,.playback-icon.is-loading){animation:none}}.score-performance{border-top:1px solid var(--border);background:var(--panel)}.score-keyboard-tools,.score-performance-heading,.score-roll-tools{display:flex;align-items:center;gap:8px;padding:4px 10px}.score-performance :is(button,select){min-height:27px;border:1px solid var(--control-border);border-radius:6px;background:var(--input);color:var(--text-secondary);padding-inline:7px}.score-performance button:hover:not(:disabled){background:var(--panel-hover);color:var(--text)}.score-performance button[aria-pressed=true]{border-color:var(--accent-border);background:var(--accent-soft);color:var(--accent)}.score-key-octave button,.score-performance-close{display:inline-flex;align-items:center;gap:5px}.score-performance-body{display:flex;flex-direction:column;height:min(34dvh,288px);min-height:124px;border-bottom:1px solid var(--border)}.score-performance-body[data-view=tracks]{height:auto;min-height:0}.score-performance-heading{flex-wrap:wrap;min-height:38px;border-bottom:1px solid var(--border)}.score-performance-identity,.score-performance-identity strong{display:flex;align-items:center;gap:7px;min-width:0}.score-performance-identity strong{font-size:13px;white-space:nowrap}.score-performance-identity strong svg{color:var(--track-color,var(--accent));flex:none}.score-performance-identity select,.score-performance-track-name{max-width:min(34vw,220px)}.score-performance-track-name{padding-inline-start:8px;border-inline-start:1px solid var(--control-border);color:var(--text-secondary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.score-performance [data-tone="0"]{--track-color:var(--accent)}.score-performance [data-tone="1"]{--track-color:#77c9b6}.score-performance [data-tone="2"]{--track-color:#e8ae77}.score-performance [data-tone="3"]{--track-color:#c9c4f7}.score-performance-close{margin-inline-start:auto}.score-performance-error{color:var(--error)}.score-performance-empty{padding-inline:10px;color:var(--text-secondary)}.score-performance-heading :is(.score-roll-tools,.score-keyboard-tools){flex-wrap:wrap;padding:0;font-size:12px}.score-key-octave,.score-roll-tools label{display:flex;align-items:center;gap:6px}.score-keyboard-tools label{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.score-keyboard-tools :is(button,select){min-height:24px}.score-keyboard-tools select{max-width:min(30vw,180px)}.score-key-octave button{padding-inline:4px}.score-key-octave span{min-width:52px;text-align:center;font-variant-numeric:tabular-nums}.score-roll-tools input[type=range]{width:clamp(46px,9vw,110px)}.score-piano-scroll,.score-roll-scroll,.score-track-scroll{flex:1 1 0;min-height:0;overflow:auto}.score-roll-scroll{overscroll-behavior:contain;overflow-anchor:none;background:var(--input)}.score-roll-viewport{position:sticky;top:0;left:0;width:0;height:0}.score-roll-canvas{position:absolute;display:block;-webkit-user-select:none;-moz-user-select:none;user-select:none}.score-roll-canvas:focus-visible{outline:1px solid var(--accent);outline-offset:-1px}.score-roll-playhead{stroke:var(--play);stroke-width:1;pointer-events:none}.roll-light-row{fill:var(--panel)}.roll-dark-row{fill:var(--input)}.roll-beat-line,.roll-grid-line{stroke:var(--border)}.roll-bar-line{stroke:var(--text-muted);stroke-opacity:.66}.roll-ruler{fill:var(--panel-raised)}.roll-measure-number{fill:var(--text-secondary);font-size:11px}.roll-white-key{fill:var(--paper-light)}.roll-black-key{fill:var(--panel-raised)}.roll-key rect{stroke:var(--border);stroke-width:1}.roll-key{cursor:pointer}.roll-key:hover rect{fill:var(--accent)}.roll-key text{fill:var(--ink-secondary-light);font-size:10px;font-variant-numeric:tabular-nums}.roll-key text[data-octave=true]{font-weight:650}.roll-key:hover text{fill:var(--ink-light)}.roll-note{fill:var(--accent);cursor:ns-resize;touch-action:none}.roll-note:focus-visible,[data-selected=true]>.roll-note{stroke:var(--text);stroke-width:1.5px}.roll-note-label{fill:var(--ink-light);font-size:10px;font-weight:650}.roll-resize{fill:var(--accent);fill-opacity:.65;cursor:ew-resize;touch-action:none}.roll-note-ghost{fill:var(--accent-soft);stroke:var(--accent);stroke-width:1.5px}.score-track-scroll{--score-track-ruler-height:30px;--score-track-row-height:45px;flex:0 1 auto;max-height:calc(var(--score-track-ruler-height) + 2 * var(--score-track-row-height) + var(--score-track-scrollbar-height, 0px));overscroll-behavior:contain;scroll-padding-top:var(--score-track-ruler-height)}.score-track-grid{--score-track-width:258px;position:relative;display:grid;grid-template-rows:var(--score-track-ruler-height);grid-auto-rows:var(--score-track-row-height);min-width:-moz-max-content;min-width:max-content;align-content:start}.score-track-row{display:contents}.score-track-control{display:flex;align-items:center;position:sticky;left:0;z-index:2;min-width:0;gap:5px;padding:5px 8px;background:var(--panel);border-bottom:1px solid var(--border);border-right:1px solid var(--control-border)}.score-track-header{font-weight:650;top:0;z-index:4}.score-track-row[data-current=true] .score-track-control{background:var(--panel-raised)}.score-track-name{flex:1 1 auto;min-width:0;overflow:hidden;text-align:start;text-overflow:ellipsis;white-space:nowrap}.score-track-row .score-track-name{border-inline-start:3px solid var(--track-color)}.score-track-row[data-muted=true] .score-track-notes{opacity:.35}.score-track-control input[type=range]{flex:0 0 54px;width:54px}.score-track-timeline{position:relative;min-width:0}.score-track-ruler{position:sticky;top:0;z-index:3;background:var(--panel-raised);overflow:hidden}.score-track-ruler span{position:absolute;inset-block:0;border-left:1px solid var(--control-border);padding:5px 4px;color:var(--text-secondary);font-size:10px}.score-performance .score-track-lane{display:block;height:100%;padding:4px 0;border:0;border-bottom:1px solid var(--border);border-radius:0}.score-track-row[data-current=true] .score-track-lane{background:color-mix(in srgb,var(--track-color) 10%,var(--input))}.score-track-lane svg{display:block;width:100%;height:36px}.score-track-lane path{fill:none;vector-effect:non-scaling-stroke}.score-track-bars{stroke:var(--control-border)}.score-track-notes{stroke:var(--track-color);stroke-width:3px;stroke-linecap:round}.score-track-position{position:absolute;pointer-events:none;z-index:1;top:0;bottom:0;left:var(--score-track-width);width:1px;background:var(--play)}.score-performance .score-performance-keyboard{height:auto;min-height:0;border-bottom:0;container-type:inline-size}.score-piano-scroll{flex:none;overflow-x:auto;overflow-y:hidden}.score-piano-keys{position:relative;display:flex;width:100%;min-width:1040px;height:110px;padding-block-end:2px}.score-performance .score-piano-keys button{display:flex;align-items:end;justify-content:center;touch-action:manipulation;border-radius:0 0 3px 3px;padding:0 0 3px;font-size:10px;line-height:1;font-variant-numeric:tabular-nums}.score-performance .score-piano-white{flex:1;min-width:0;background:var(--paper-light);border-color:var(--ink-secondary-light);color:var(--ink-secondary-light)}.score-performance .score-piano-black{position:absolute;z-index:1;width:1.2%;height:59%;transform:translateX(-50%);background:var(--panel-raised);border-color:var(--bg);color:var(--text)}.score-performance .score-piano-white:hover{background:var(--accent-hover);color:var(--ink-light)}.score-performance .score-piano-black:hover{background:var(--panel-hover)}.score-performance .score-piano-keys button:is(:active,[data-sounding=true]){background:var(--accent);color:var(--ink-light)}@container (min-width: 1040px){.score-keyboard-tools .score-key-octave{display:none}}@media (max-width:680px){.score-performance-body{height:min(38dvh,235px)}.score-track-grid{--score-track-width:206px}.score-track-control input[type=range]{flex-basis:44px;width:44px}.score-roll-tools{gap:5px 8px}.score-piano-keys{height:88px}}@media (min-width:681px){.score-editor-surface{--app-header-height:55px;--staff-page-max:1180px;--page-max:1180px}.score-editor-surface #dolce-app{display:grid;grid-template:"header header" auto "score inspector" minmax(0,1fr) "performance inspector" auto "status inspector" auto /minmax(0,1fr) auto}.score-editor-surface #app-header{grid-area:header}.score-editor-surface #score-editor-panes{grid-area:score}.score-editor-surface #inspector-sidebar{grid-area:inspector;width:clamp(248px,22vw,336px)}.score-editor-surface #inspector-sidebar:has(>.sidebar-content[hidden]){width:38px}.score-editor-surface #score-performance-tools{grid-area:performance;min-width:0}.score-editor-surface #statusbar{grid-area:status}.score-editor-surface :is(#dolce-workspace,#palette-sidebar){display:contents}.score-editor-surface #palette-sidebar>.sidebar-heading{display:none}.score-editor-surface #app-header{min-height:var(--app-header-height);gap:10px;padding:6px 14px 8px}.score-editor-surface #app-header .header-identity{flex:1 1 0;min-width:-moz-min-content;min-width:min-content;gap:6px}.score-editor-surface #app-header .brand{flex:0 1 auto;min-width:0}.score-editor-surface #app-header .brand-mark{display:none}.score-editor-surface #app-header .brand-name{max-width:clamp(90px,11vw,180px);font-weight:700}.score-editor-surface #app-header .transport-bar{flex:0 0 auto;max-width:none;padding:2px 5px;border:1px solid var(--border);border-radius:999px;background:var(--panel);gap:5px}.score-editor-surface #app-header .playback-button{width:34px;height:34px;border-color:transparent}.score-editor-surface #app-header :is(.play-time,#btn-loop,#btn-metronome,#btn-stop){border-radius:999px}.score-editor-surface .score-source-switch,.score-editor-surface .score-source-switch button,.score-editor-surface .transport-bar .rt-SelectTrigger{border-radius:999px}.score-editor-surface .score-playback-meta{display:flex;align-items:center;gap:3px;min-width:0}.score-editor-surface #app-header .score-playback-meta button{width:auto;max-width:90px;padding-inline:7px;border-radius:999px;border:1px solid var(--border);overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums}.score-editor-surface #app-header .header-actions{justify-content:flex-end;flex:1 1 0;min-width:-moz-max-content;min-width:max-content}.score-editor-surface #app-header .header-history{border:0;padding:0}.score-editor-surface #app-header .score-panel-trigger{background:var(--panel-raised);padding-inline:10px}.score-editor-surface #app-header .score-panel-trigger[aria-expanded=true]{color:var(--accent);background:var(--accent-soft)}.score-editor-surface .score-mode-switch{display:flex;gap:2px;flex:none;padding:3px;border:1px solid var(--border);border-radius:999px;background:var(--panel)}.score-editor-surface .score-mode-switch button{min-height:28px;padding:2px 10px;color:var(--text-secondary);border:0;border-radius:999px;background:transparent;font-size:12px;white-space:nowrap}.score-editor-surface .score-mode-switch button:hover:not(:disabled){background:var(--panel-hover);color:var(--text)}.score-editor-surface .score-mode-switch button[aria-pressed=true]{background:var(--accent);color:var(--ink-light);opacity:1;font-weight:650}.score-editor-surface #score-pane-shell{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:minmax(0,1fr);background:var(--bg)}.score-editor-surface #quick-edit:not(.is-floating){grid-column:1;grid-row:1;align-self:start;margin-block-start:clamp(22px,5.7dvh,58px);margin-inline-start:clamp(10px,2vw,30px);max-height:calc(100% - clamp(30px, 7dvh, 68px))}.score-editor-surface #score-pane{grid-column:2;grid-row:1;min-width:0;background:transparent;padding:clamp(24px,5.7dvh,58px) clamp(14px,3vw,46px) 30px}.score-editor-surface .score-page-wrap{border-radius:9px;box-shadow:0 12px 38px rgba(0,0,0,.36),0 0 0 1px var(--border)}.score-editor-surface #inspector-sidebar{background:var(--panel)}.score-editor-surface #inspector-sidebar .sidebar-heading{min-height:47px;background:var(--editor-chrome)}.score-editor-surface .inspector-tabs button[aria-selected=true]{background:var(--panel-raised);border-color:transparent;color:var(--text)}.score-editor-surface #statusbar .preview-mode-switch,.score-editor-surface #statusbar .view-tools{border-radius:7px}.score-editor-surface #statusbar{gap:5px;min-height:40px;padding-inline:8px}.score-editor-surface #dolce-app:has(#score-inspector:not([hidden]) #inspector-song:not([hidden])) #statusbar .sel-info:not([data-range=true]){display:none}.score-editor-surface :is(.score-palette-mobile,.visual-palette-modes){display:none}.score-editor-surface #visual-palette{position:absolute;z-index:30;inset-block-start:calc(var(--app-header-height) + 8px);inset-inline-end:14px;width:min(500px,calc(100% - 28px));max-height:calc(100% - var(--app-header-height) - 28px);padding:10px;border:1px solid var(--control-border);border-radius:13px;background:var(--panel);box-shadow:var(--popup-shadow)}.score-editor-surface #visual-palette .score-tool-searchbar{position:sticky;top:0;z-index:1;display:flex;gap:6px;align-items:center;padding-block-end:4px;background:var(--panel)}.score-editor-surface #visual-palette .score-workbench-search{flex:1;height:41px;background:var(--panel-raised)}.score-editor-surface #visual-palette .score-tool-close{display:grid;place-items:center;width:36px;height:36px;padding:0;border:1px solid var(--border);background:var(--panel-raised);font-size:20px}.score-editor-surface #visual-palette .score-tool-category{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:15px 0 2px}.score-editor-surface #visual-palette .score-tool-category:first-child{grid-template-columns:repeat(5,minmax(0,1fr))}.score-editor-surface #visual-palette .score-tool-category h2{grid-column:1/-1;margin:0;font-size:13px;color:var(--text)}.score-editor-surface #visual-palette .visual-palette-section{min-width:0;border:0}.score-editor-surface #visual-palette .visual-palette-section summary{flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:67px;padding:5px 4px;border:1px solid var(--border);border-radius:8px;background:var(--panel-raised);text-align:center;overflow-wrap:anywhere}.score-editor-surface #visual-palette .score-tool-category:first-child summary{min-height:56px;background:transparent}.score-editor-surface #visual-palette .visual-palette-section summary:hover{background:var(--panel-hover)}.score-editor-surface #visual-palette .visual-palette-section summary:after{display:none}.score-editor-surface #visual-palette .score-tool-mark{display:block;color:var(--accent);font-size:21px;line-height:1}.score-editor-surface #visual-palette .score-tool-mark.music-glyph{font-family:Bravura}.score-editor-surface #visual-palette .score-tool-back{display:inline-flex;margin-top:6px;padding-inline:8px;background:var(--panel-raised);border:0}.score-editor-surface #visual-palette.has-category .score-tool-category:not(:has(details[open])),.score-editor-surface #visual-palette.has-category details:not([open]){display:none}.score-editor-surface #visual-palette.has-category details[open]{grid-column:1/-1}.score-editor-surface #visual-palette.has-category details[open] summary{flex-direction:row;min-height:38px;justify-content:start;padding-inline:8px}.score-editor-surface #visual-palette.has-category .visual-palette-body{padding-top:8px}}@media (min-width:900px){.score-editor-surface #score-performance-transport{display:block}.score-editor-surface .score-transport-tools{display:flex;align-items:center;gap:2px}.score-editor-surface #app-header .score-transport-tools button{display:grid;place-items:center;border-radius:999px;background:transparent;color:var(--text-secondary)}.score-editor-surface #app-header .score-transport-tools button:is(:hover,[aria-pressed=true]){color:var(--accent);background:var(--accent-soft)}.score-editor-surface #statusbar button[data-performance-tab]:not([data-performance-tab=review]){display:none}}@media (min-width:1100px){.score-editor-surface #app-header{position:relative;display:grid;grid-template-columns:minmax(min-content,1fr) auto minmax(max-content,1fr);overflow:visible}.score-editor-surface #app-header .transport-bar{justify-self:center}.score-editor-surface #app-header .header-actions{justify-self:end}.score-editor-surface #app-header .play-progress{position:absolute;inset-inline:0;bottom:-4px;z-index:4;padding:0}.score-editor-surface #app-header .play-progress .rt-SliderRoot{min-height:12px}.score-editor-surface #app-header .play-progress .rt-SliderTrack{height:3px}.score-editor-surface #app-header .play-progress .rt-SliderThumb{width:9px;height:9px;opacity:0}.score-editor-surface #app-header .play-progress:is(:hover,:focus-within) .rt-SliderThumb{opacity:1}}@media (min-width:681px) and (max-width:1100px){.score-editor-surface #app-header .play-progress{max-width:90px}.score-editor-surface #statusbar .score-performance-tabs button span,.score-editor-surface .score-playback-meta{display:none}}@media (max-width:680px){.score-editor-surface :is(#inspector-layout,#inspector-settings,.inspector-settings-section){flex-basis:auto}}.score-editor-surface .score-source-controls[data-follow=ready] .score-source-switch button[aria-pressed=true]:after{content:"";width:5px;height:5px;border-radius:50%;background:var(--play)}@media (max-width:680px){.score-editor-surface #inspector-sidebar:has(>#score-inspector:not([hidden])){height:min(34dvh,280px);max-height:34dvh}}