:root{font-family:Hiragino Maru Gothic ProN,Yu Gothic,system-ui,-apple-system,sans-serif;font-weight:600;color:#51443c;background:#fbf3e6;color-scheme:light;font-synthesis:none;--ink: #51443c;--muted: #817164;--line: #e3d3bf;--coral: #f2b3a0;--mint: #e5eee2}*{box-sizing:border-box}body{margin:0}header{padding:20px max(20px,env(safe-area-inset-right)) 20px max(20px,env(safe-area-inset-left));background:#fffaf1;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px}h1{display:flex;align-items:center;gap:12px;font-size:22px;font-weight:800;letter-spacing:-.6px;margin:0;color:#725449}h1:before{content:"♪";display:grid;place-items:center;width:36px;height:38px;background:#f4c4b3;color:#7e5145;border:1px solid #e4ac96;border-radius:45% 45% 48% 15%;font:25px Georgia,serif;transform:rotate(-9deg)}header small{font-size:12px;letter-spacing:.3px}small,.muted{color:var(--muted)}main{max-width:960px;margin:auto;padding:14px max(12px,env(safe-area-inset-right)) calc(40px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}.panel{background:#fffdf8;border:1px solid var(--line);border-radius:20px;padding:18px;margin:16px 0;min-width:0;box-shadow:0 4px #e8d9c640}.panel strong{color:#70594c;font-size:15px;font-weight:800}label{display:block;font-size:13px;color:#79675b;margin:5px 0}label>input:not([type=checkbox]),label>select{display:block;margin-top:6px}input,select,button{font:inherit}button,summary{font-weight:700}input,select{font-size:16px;background:#fffdf9;color:var(--ink);border:1px solid #d8c6b3;border-radius:11px;padding:10px;min-height:44px;min-width:0;max-width:100%}input::placeholder{color:#978578}input[type=number]{width:100px}input[type=text]{width:100%}input[type=file]{width:100%;font-size:14px}input[type=file]::file-selector-button{font:inherit;border:1px solid #cfbda8;border-radius:7px;padding:6px 10px;margin-right:10px;color:#705a4b;background:#f4e8d5;cursor:pointer}button{border:1px solid #d8c6b3;border-radius:12px;background:#f7ecdc;color:#635043;padding:10px 12px;min-height:44px;cursor:pointer;touch-action:manipulation}button.primary{background:var(--coral);border-color:#d8947e;color:#573a31;font-weight:700}button:disabled{opacity:.45;cursor:default}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #b36b51;outline-offset:3px}.row{display:flex;gap:9px;align-items:end;flex-wrap:wrap}.spread{justify-content:space-between;align-items:center}.field{flex:1;min-width:105px}.field select{width:100%}.toolbar{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.toolbar button{font-size:14px}.toolbar button,.transport button,.chord-editor button{box-shadow:0 2px #dac7ae55}.toolbar button:not(:disabled):active,.transport button:not(:disabled):active,.chord-editor button:not(:disabled):active{transform:translateY(1px);box-shadow:none}button.danger{background:#f9e3df;color:#94584d;border-color:#dfb5aa}.status{font-size:13px;color:#4e7659;min-height:20px;overflow-wrap:anywhere}.transport,.tab-playback{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.transport button:not(.primary){background:var(--mint);border-color:#bccdb4;color:#46634a}.checkbox{display:flex;align-items:center;gap:6px;min-height:44px}.checkbox input{width:20px;height:20px;min-height:0;accent-color:#9d6956}audio{width:100%;margin:10px 0}.help{font-size:13px;color:#827164;line-height:1.7;overflow-wrap:anywhere}[role=alert]{color:#a04c37;font-size:14px}.install-panel summary{cursor:pointer;padding:14px 0 6px;min-height:44px;font-size:13px;color:#79675b}.install-panel ol{padding-left:24px}.install-panel li{margin:8px 0}.install-badge{font-size:11px;color:#526c48;background:#edf3e5;border:1px solid #d1dfc5;border-radius:20px;padding:6px 10px}.pwa-update{border:1px solid #dfb59e;background:#fff1df;border-radius:12px;padding:12px;margin:12px 0;font-size:13px}.check-update{font-size:12px;margin-top:8px}.audio-alignment{margin-top:14px}.metronome-volume{width:100%}.metronome-volume output{float:right;font-variant-numeric:tabular-nums}.metronome-volume input[type=range]{width:100%;min-height:44px;padding:0;accent-color:#b77965;cursor:pointer}.audio-alignment .metronome-preview{width:100%;min-height:54px;font-size:16px;font-weight:800;border:2px solid #b77965;box-shadow:0 3px #bf8e7650}.waveform-editor{margin-bottom:12px;min-width:0}.waveform-editor canvas{display:block;width:100%;border:1px solid #dfc9aa;border-radius:10px;background:#fffaf2;touch-action:pan-y;cursor:grab}.waveform-editor canvas:active{cursor:grabbing}.waveform-detail{height:164px;margin:8px 0}.waveform-overview{height:48px}.waveform-editor .help{margin:6px 0}.alignment-precise{margin:8px 0;font-size:13px}.alignment-precise summary{cursor:pointer;min-height:32px;padding:6px 0}.audio-estimate{background:#f9efdf;border:1px solid #dfc9aa;border-radius:14px;padding:12px;margin-top:12px}.audio-estimate strong{display:block;margin-bottom:8px}.alignment-candidates{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}.alignment-candidates button{font-size:12px;padding:7px 10px}.alignment-candidates button[aria-pressed=true]{background:#f2b3a0;border-color:#c4826e}.audio-filename{font-size:12px;color:#817164;overflow-wrap:anywhere;min-width:0}@media(display-mode:standalone){header{padding-top:max(20px,env(safe-area-inset-top))}}@media(max-width:380px){header{padding:16px 12px}header small{font-size:10px}h1{gap:8px;font-size:20px}.panel{padding:11px}}.range-controls{grid-column:1 / -1;display:flex;align-items:center;flex-wrap:wrap;gap:8px}.range-controls span{font-size:12px}.staff-slot.range-selected{background:#f6cdb8}.score-editor{min-width:0;margin:16px 0}.score-jump-controls{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:10px 0}.score-jump-controls form{display:flex;gap:8px;align-items:center}.score-jump-controls label{display:flex;align-items:center;gap:6px;margin:0}.score-jump-controls label>input{margin:0;width:84px}.score-jump-controls button{font-size:13px}.score-seek{display:block;margin:12px 0;font-size:12px}.score-seek output{float:right;font-variant-numeric:tabular-nums}.score-seek input[type=range]{display:block;width:100%;min-height:44px;margin:0;padding:0;accent-color:#b77965}.score-options{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:12px}.view-switch{display:flex;gap:2px;padding:3px;background:#f4eadb;border:1px solid #dfcdb6;border-radius:10px}.view-switch button{border:0;background:transparent;font-size:13px;padding:8px 12px;min-height:38px}.view-switch button[aria-pressed=true]{background:#d7a592;color:#fff;box-shadow:0 1px 4px #0003}.score-options label{display:flex;align-items:center;gap:10px;margin:0;font-size:12px}.score-options label>select{margin:0;font-size:13px;min-height:40px;padding:6px 10px}.score-viewport{--tick-width:18px;--string-height:36px;background:#f0e0ca;border:1px solid #ddc9ac;border-radius:14px;padding:20px;overflow:auto;max-width:100%;color-scheme:light}.score-viewport.compact{--tick-width:16px;--string-height:30px}.score-sheet{color:#51483e;background:#fffefb;padding:32px 28px 20px;box-shadow:0 2px 10px #8f68451a;min-width:0}.score-heading{text-align:center;margin-bottom:28px}.score-heading h2{font-size:24px;font-weight:650;letter-spacing:-.5px;margin:0 0 8px;overflow-wrap:anywhere;color:#655144}.score-heading p{margin:0;color:#8b7b6a;font-size:12px}.score-tempo{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;text-align:left;margin-top:30px;font-size:13px;color:#776758}.score-tempo>span:first-child{font:600 17px Georgia,serif}.score-measures{display:flex;flex-direction:column;gap:28px}.score-system-scroll{overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#cbb595 transparent;padding-bottom:8px}.score-system{display:flex;gap:0;width:max-content;min-width:100%;overflow:clip}.score-measure{--bar-gutter-start:14px;--bar-gutter-end:10px;min-width:0;flex:none;width:var(--measure-width);overflow:hidden}.score-measure.final-measure{--bar-gutter-end:14px}.score-measure.system-first{width:calc(var(--measure-width) + 40px)}.score-placeholder{flex:none;width:var(--measure-width);color:#938572;border-left:1px dashed #dfd2bd;position:relative;background:#faf5e9}.score-placeholder .measure-caption{font-size:10px;padding:0 5px}.add-measure-placeholder{position:absolute;inset:42px 5px auto;width:calc(100% - 10px);font-size:11px;color:#7c6954;border:1px dashed #d4bea2;background:#f8efdf;padding:5px;overflow-wrap:anywhere}.measure-window{align-self:center;padding:0 8px;font:12px system-ui;color:#725d4c;white-space:nowrap}.score-scroll-hint{font-size:12px;color:#827164;line-height:1.6}.column-adjust{margin:8px 0;font-size:12px;color:#827164}.column-adjust summary{cursor:pointer;min-height:32px;padding:6px 0}.score-measure:not(.system-first) .staff-labels,.score-measure:not(.system-first) .chord-track-label,.score-measure:not(.system-first) .chord-degree-label,.score-measure:not(.system-first) .rhythm-label,.score-measure:not(.system-first) .ruler-label{display:none}.score-measure:not(.system-first) .start-barline{display:none}.system-first .measure-caption{padding-left:40px}.measure-caption{display:flex;justify-content:space-between;align-items:center;gap:10px;height:30px;font-size:11px}.measure-number{font-weight:700;color:#b57255;font-size:13px}.partial-measure{color:#8a6742}.measure-scroll{padding:12px 0 8px}.measure-content{position:relative}.measure-barline{position:absolute;z-index:4;top:calc(50px + var(--string-height) / 2);bottom:24px;width:2px;background:#5b5146;pointer-events:none}.start-barline{left:40px}.end-barline{right:0}.final-measure .end-barline{width:6px;background:linear-gradient(to right,#5b5146 0 1px,transparent 1px 3px,#5b5146 3px 6px)}.chord-track{display:flex;height:44px;margin-bottom:6px}.chord-degree-track{display:flex;min-height:18px;color:#7b7761;font-size:12px;line-height:18px}.chord-degree-label{flex:0 0 40px;text-align:center;font-size:9px}.chord-degree-slots{display:grid;grid-template-columns:var(--slot-columns);flex:1;min-width:0;padding-inline:var(--bar-gutter-start) var(--bar-gutter-end)}.chord-degree-slot{position:relative;min-width:0}.chord-degree-value{position:absolute;left:var(--note-anchor);transform:translate(-50%);white-space:nowrap;font-weight:700}.chord-track-label{position:sticky;left:0;z-index:5;flex:0 0 40px;background:#fffefb;color:#948674;font:10px/44px system-ui;text-align:center}.chord-slots{display:grid;grid-template-columns:repeat(var(--tick-count),minmax(0,1fr));flex:1;min-width:0;padding-inline:var(--bar-gutter-start) var(--bar-gutter-end);border-bottom:1px solid #eee5d7}.chord-slot{position:relative;min-width:0;height:44px;padding:0;border:0;border-radius:0;background:transparent;color:#527569;font-size:13px;text-align:left;overflow:visible}.chord-slot:hover,.chord-slot.current{background:#b96a530b}.chord-slot.playing{background:#52785a14}.chord-slot.has-chord>span{position:absolute;left:calc(var(--note-anchor) - 8px);top:12px;width:calc(var(--chord-span) * 100% - var(--note-anchor) + 8px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:700;pointer-events:none;z-index:2;line-height:20px}.empty-chord{display:block;text-align:center;opacity:0;color:#a48d77;font-size:16px}.chord-slot:hover .empty-chord,.chord-slot.current .empty-chord,.chord-slot:focus-visible .empty-chord{opacity:1}.chord-edit-panel>label{margin:8px 0 12px}.chord-edit-actions{display:flex;gap:8px}.chord-edit-actions>button{flex:1;min-height:44px}.chord-edit-panel>p{font-size:12px;color:#a04c37}.staff-body{display:flex;position:relative}.staff-labels{position:sticky;left:0;z-index:3;flex:0 0 40px;background:#fffefb;display:flex;flex-direction:column;color:#847563;font:12px ui-monospace,monospace}.staff-labels>span{height:var(--string-height);display:flex;align-items:center;justify-content:center}.staff-notes{flex:1;min-width:0;position:relative}.staff-notes:before,.staff-notes:after{content:"";position:absolute;top:calc(var(--string-height) / 2);bottom:calc(var(--string-height) / 2);width:1px;background:#776758;pointer-events:none;z-index:2}.staff-notes:before{left:0}.staff-notes:after{right:0}.staff-notes:before,.staff-notes:after{display:none}.final-measure .staff-notes:after{width:4px;border-left:1px solid #776758;border-right:2px solid #776758;background:transparent}.staff-string{display:grid;grid-template-columns:repeat(var(--tick-count),minmax(0,1fr));height:var(--string-height);position:relative;padding-inline:var(--bar-gutter-start) var(--bar-gutter-end)}.staff-string:before{content:"";position:absolute;left:0;right:0;top:50%;height:1px;background:#a29584;pointer-events:none}.staff-cell{position:relative;display:flex;align-items:center;justify-content:center;height:var(--string-height);min-height:0;min-width:0;padding:0;border:0;border-radius:0;background:transparent;color:#493f36;font:600 16px ui-monospace,SFMono-Regular,Consolas,monospace;isolation:isolate}.staff-cell:hover{background:#d69b7620}.staff-cell.note-length{background:#b96a5312}.rhythm-notation{display:flex;margin-top:8px;min-width:0}.rhythm-label{position:sticky;left:0;z-index:3;flex:0 0 40px;padding-top:38px;text-align:center;font:10px system-ui;color:#948674;background:#fffefb}.rhythm-lanes{flex:1;min-width:0;padding-inline:var(--bar-gutter-start) var(--bar-gutter-end)}.rhythm-lane{display:block;overflow:visible}.rhythm-note{color:#51483e;cursor:pointer;outline:none}.rhythm-note.selected{color:#a85442}.rhythm-note.playing{color:#52785a}.rhythm-hit{fill:transparent;stroke:none}.rhythm-note:hover .rhythm-hit{fill:#b96a530b}.rhythm-note:focus-visible .rhythm-hit{stroke:#b96a53;stroke-width:1.5;fill:#b96a530b}.rhythm-note.selected .rhythm-hit{fill:#b96a530a}.rhythm-head,.rhythm-stem,.rhythm-flag,.rhythm-tie{pointer-events:none}.rhythm-beams{pointer-events:none;stroke:#51483e;stroke-width:4;stroke-linecap:butt}.rhythm-empty{height:40px;padding-top:18px;text-align:center;color:#a5957f;font-size:10px}.staff-cell.selected{box-shadow:inset 0 0 0 1.5px #b96a53;background:#b96a5315;border-radius:2px;z-index:1}.staff-cell.playing{background:#a9c29645;border-left:2px solid #668b6a}.staff-cell.selected.playing{box-shadow:inset 0 0 0 1.5px #b96a53}.fret-number{position:relative;z-index:1;background:#fffefb;min-width:15px;padding:0 2px;line-height:19px;text-align:center}.staff-cell.selected .fret-number{color:#a85442}.technique-mark{position:absolute;z-index:2;top:0;right:0;background:#fffefb;font:italic 11px Georgia,serif;color:#93421f;line-height:12px;padding:0 1px}.measure-ruler{display:flex;margin-top:8px;align-items:center;color:#a79a87;font:11px/16px ui-monospace,monospace;height:16px}.ruler-label{flex:0 0 40px;text-align:center;color:#948674;font:10px system-ui}.measure-ruler>div{display:grid;grid-template-columns:repeat(var(--tick-count),minmax(0,1fr));flex:1;padding-inline:var(--bar-gutter-start) var(--bar-gutter-end)}.measure-ruler>div>span{position:relative}.measure-ruler>div>span>span{position:absolute;left:var(--note-anchor);transform:translate(-50%)}.measure-ruler .quarter-beat{font-weight:700;color:#7d6e5c}.score-footer{text-align:center;font-size:10px;color:#9c8b78;border-top:1px solid #eee5d7;margin:28px 0 0;padding-top:12px}.score-append{display:flex;justify-content:center;margin:18px 0 0}.append-measure-button{width:100%;max-width:320px;min-height:44px;border:1px dashed #c7ae8f;border-radius:12px;background:#faf2e5;color:#795e47;font-size:13px}.append-measure-button:not(:disabled):hover{background:#f5e7d1}.score-selection{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px;color:#745e50;padding-top:14px;font-variant-numeric:tabular-nums}.selection-dot{width:7px;height:7px;border-radius:50%;background:#c4826e}.score-navigation-hint{color:#8d7968;margin-left:auto;font-size:11px}.note-edit-panel{position:fixed;left:50%;transform:translate(-50%);bottom:max(calc(var(--keyboard-inset,0px) + 8px),env(safe-area-inset-bottom,0px));z-index:30;width:min(640px,calc(100% - 16px));padding:8px 10px;background:#fff9ef;border:1px solid #d9bda5;border-radius:18px;box-shadow:0 5px 28px #70533c30}.note-edit-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:12px;color:#70594c;min-height:36px}.note-edit-heading small{font-size:10px}.note-kind-switch{display:flex;gap:4px;padding:3px;background:#f1e8dc;border-radius:10px;margin:4px 0 6px}.note-kind-switch button{display:flex;align-items:center;justify-content:center;gap:4px;flex:1;min-height:40px;border:0;background:transparent;font-size:13px;padding:4px}.note-kind-switch button svg{width:18px;height:25px}.note-kind-switch button[aria-pressed=true]{background:#fffaf1;color:#80513e;box-shadow:0 1px 4px #70533c1a}.staff-slot>.staff-rest{position:absolute;z-index:2;left:var(--note-anchor);top:50%;transform:translate(-50%,-50%);pointer-events:none;background:#fffefb;color:#51483e;width:20px;height:28px}.staff-slot.is-selected>.staff-rest{color:#a85442;background:#fff4e7}.staff-fret-input[readonly]:focus{caret-color:transparent;color:transparent}.note-edit-heading>button{min-height:44px;padding:5px 12px;font-size:12px;background:#e5eee2;border-color:#bccdb4;color:#46634a}.duration-buttons{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin:6px 0}.duration-buttons button{display:flex;align-items:center;justify-content:center;gap:4px;min-height:48px;padding:4px;font-size:12px;background:#fffdf8;border-color:#dfcdb6}.duration-buttons button[aria-pressed=true]{background:#f4c4b3;border-color:#c4826e;color:#6d4335;box-shadow:inset 0 0 0 1px #c4826e}.dotted-toggle{min-height:44px;padding:6px 16px;margin:0 0 6px;background:#fffdf8;border-color:#dfcdb6}.dotted-toggle[aria-pressed=true]{background:#f4c4b3;border-color:#c4826e;color:#6d4335;box-shadow:inset 0 0 0 1px #c4826e}.note-quick-actions{display:flex;align-items:center;gap:8px;margin-bottom:6px}.note-quick-actions .dotted-toggle{margin:0}.ghost-toggle{min-width:44px;min-height:44px;background:#fffdf8;border-color:#dfcdb6;font-size:25px;line-height:1}.ghost-toggle[aria-pressed=true]{background:#f4c4b3;border-color:#c4826e;color:#6d4335;box-shadow:inset 0 0 0 1px #c4826e}.note-cursor-buttons{display:flex;gap:6px;margin-left:auto}.note-cursor-buttons button{min-width:44px;min-height:44px;padding:6px}.staff-string,.chord-slots,.measure-ruler>div{grid-template-columns:var(--slot-columns)}.staff-slot:before{content:"";position:absolute;left:0;top:0;bottom:0;border-left:1px dashed #e7ddcf;pointer-events:none;z-index:1}.staff-slot.beat-start:before{border-left:1px solid #cdb69d}.staff-slot:last-child:after{content:"";position:absolute;right:0;top:0;bottom:0;border-right:1px solid #cdb69d;pointer-events:none;z-index:1}.staff-slot.is-selected{background:#f4c4b32b}.note-edit-secondary{display:flex;align-items:center;gap:8px;justify-content:space-between}.note-edit-secondary label{display:flex;align-items:center;gap:8px;flex:1;margin:0;font-size:11px;min-width:0}.note-edit-secondary label>select{margin:0;min-height:44px;padding:6px;font-size:13px;flex:1;width:100%;min-width:0}.note-edit-secondary>button{font-size:12px;min-height:44px;padding:6px 10px;flex:none}.score-viewport:focus-visible,.score-system-scroll:focus-visible{outline:2px solid #b96a53;outline-offset:2px}.staff-cell{font-size:clamp(3px,calc(var(--measure-width) / 24),14px)}.fret-number{min-width:0;padding:0;line-height:1.3;box-shadow:0 0 0 1px #fffefb}.chord-slot{font-size:clamp(5px,calc(var(--measure-width) / 24),13px)}.technique-mark{font-size:clamp(3px,calc(var(--measure-width) / 32),11px)}.measure-ruler>div{min-width:0}.measure-ruler>div>span{font-size:clamp(3px,calc(var(--measure-width) / 24),11px)}.score-heading h2{font-weight:800}.measure-window,.chord-track-label,.staff-labels,.rhythm-label,.ruler-label,.measure-ruler{font-weight:600}.staff-cell{font-weight:700}.staff-slot{position:relative;display:block;min-width:0;height:var(--string-height)}.staff-slot>.fret-number{position:absolute;z-index:2;left:var(--note-anchor);top:50%;transform:translate(-50%,-50%);font:700 14px/1.3 ui-monospace,SFMono-Regular,Consolas,monospace;pointer-events:none}.staff-slot.is-selected>.fret-number{color:#a85442}.staff-slot>.technique-mark{pointer-events:none;left:calc(var(--note-anchor) + 7px);right:auto}.staff-slot>.technique-mark.before-note{left:auto;right:calc(100% - var(--note-anchor) + 9px);font-size:9px;padding:0}.staff-fret-input{width:100%;max-width:none;appearance:none;-webkit-appearance:none;text-align:left;padding-left:max(0px,calc(var(--note-anchor) - var(--fret-half-width)));cursor:text;color:transparent;caret-color:transparent;font-size:16px;font-weight:700;outline:none;scroll-margin-block:70px}.staff-fret-input:focus{color:#573a31;caret-color:#a85442;background:#fff4e7;outline:1.5px solid #b96a53;outline-offset:-1.5px;box-shadow:none}.staff-slot:focus-within>.fret-number{visibility:hidden}.fret-input-error{color:#a04c37;font-size:12px}@media(min-width:1200px){main{max-width:1440px}}@media(max-width:600px){.score-viewport{padding:8px;--tick-width:36px;--string-height:36px}.score-viewport.compact{--tick-width:28px;--string-height:30px}.score-sheet{padding:22px 12px 14px}.score-heading h2{font-size:21px}.score-tempo{margin-top:22px;font-size:11px}.score-heading{margin-bottom:14px}.score-options{gap:8px}.view-switch button{padding:8px 10px}.score-navigation-hint{width:100%;margin-left:15px}.score-measures{row-gap:18px}}[hidden]{display:none!important}:root{background:#faf6ef;--line:#e9dfd1;--coral:#efb6a4;--mint:#e8f0e4}.app-header{position:sticky;top:0;z-index:15;display:block;padding:calc(10px + env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) 9px max(16px,env(safe-area-inset-left));background:#faf6eff2;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-bottom:1px solid #e5dbcd}.app-brand{display:flex;align-items:center;justify-content:space-between;max-width:1060px;margin:auto}.app-brand h1{font-size:20px;letter-spacing:-.6px}.app-brand h1:before{width:30px;height:32px;font-size:22px;box-shadow:none}.app-brand .header-save{font-size:13px;min-height:40px;padding:7px 15px;background:#fffaf3;border-color:#e5d7c8}.header-actions{display:flex;gap:6px;align-items:center}.playback-options>summary{cursor:pointer;font-size:12px;color:#8c7663;min-height:24px}.playback-options[open]>summary{margin-bottom:10px}.score-transportbar{position:sticky;top:calc(var(--app-header-height,116px) + 6px);z-index:12;display:block;background:#fbf6eef5;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);padding:8px;border:1px solid #e2d3c0;border-radius:13px;box-shadow:0 3px 10px #765a4612;margin-bottom:10px}.transport-buttons{display:flex;gap:6px}.transport-buttons>button{flex:1;min-width:0;padding:8px 4px;font-size:13px;white-space:nowrap}.score-transportbar output{display:block;text-align:center;font-size:10px;color:#9a8472;margin-top:5px;font-variant-numeric:tabular-nums}@media(max-width:380px){.transport-buttons>button{font-size:12px}}.app-navigation{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;max-width:1060px;margin:10px auto 0;background:#eee7dc;border-radius:13px;padding:4px}.app-navigation button{background:transparent;border:0;border-radius:10px;min-height:40px;padding:6px;font-size:13px;color:#8b7b6d}.app-navigation button[aria-current=page]{background:#fffdf9;color:#694b3c;box-shadow:0 1px 4px #75584116}.app-navigation.with-library{grid-template-columns:repeat(5,minmax(0,1fr))}.song-library-dialog{width:min(480px,calc(100vw - 32px));max-height:80dvh;padding:20px;border:1px solid #e5d7c8;border-radius:20px;background:#faf6ef;color:#694b3c;box-sizing:border-box}.song-library-dialog::backdrop{background:#47372970}.song-library-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.song-library-heading h2{margin:0;font-size:20px}.song-library-new{width:100%;margin-bottom:12px;background:#f4e4da}.song-library-list{display:grid;gap:8px}.song-library-list>button{display:flex;flex-direction:column;align-items:flex-start;gap:5px;text-align:left;padding:14px;background:#fffcf7;border-color:#e5d7c8;min-width:0}.song-library-list>button[aria-current=true]{background:#e8f0e4;border-color:#aab8a0}.song-library-list strong{overflow-wrap:anywhere;max-width:100%}.song-library-list span{font-size:12px;color:#8b7b6d}.score-lyrics{position:relative;display:flex;align-items:center;gap:8px;border-top:1px solid #e9dfd1;margin-top:6px;padding:6px 2px 0;text-align:left}.score-lyrics>.lyrics-toggle{position:relative;flex:1;min-width:0;background:transparent;border:0;border-radius:6px;box-shadow:none;text-align:left;padding:0 18px 0 2px;min-height:40px}.lyrics-toggle:after{content:"⌄";position:absolute;right:3px;top:9px;color:#9a8472}.lyrics-toggle[aria-expanded=true]:after{content:"⌃"}.score-lyrics .lyrics-toggle>span{display:block;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.5}.score-lyrics-list{position:absolute;top:100%;left:0;right:0;z-index:35;max-height:min(40vh,320px);overflow:auto;overscroll-behavior:contain;background:#fffaf3;border:1px solid #dfcdb6;border-radius:12px;padding:5px;box-shadow:0 5px 20px #70533c24}.score-lyrics-list>button{display:flex;width:100%;align-items:baseline;gap:10px;padding:10px 8px;background:transparent;box-shadow:none;border:0;text-align:left;min-height:44px}.score-lyrics-list>button[aria-current=true]{background:#e8f0e4}.score-lyrics-list span{font-size:11px;flex:none;color:#8b7b6d}.score-lyrics-list strong{font-size:13px;overflow-wrap:anywhere;min-width:0}.lyric-current{font-size:14px;color:#694b3c;font-weight:800}.lyric-next{font-size:11px;color:#9a8472}.score-lyrics>button{font-size:11px;min-height:32px;padding:4px 8px;background:#f0e9dd;border-color:#e5d7c8}.lyrics-panel summary{cursor:pointer;min-height:40px;padding:8px 0;font-weight:800}.lyrics-panel form{display:grid;gap:8px;margin:8px 0}.lyrics-panel form label{margin:0}.lyrics-panel form input{width:100%;min-width:0}.lyrics-provider{font-size:11px;color:#8b7b6d;overflow-wrap:anywhere}.lyrics-results{display:grid;gap:6px;max-height:260px;overflow:auto;margin:12px 0}.lyrics-results>button{display:flex;flex-direction:column;gap:4px;text-align:left;background:#fffcf7;padding:10px;min-width:0;overflow-wrap:anywhere}.lyrics-results>button[aria-pressed=true]{background:#e8f0e4;border-color:#aab8a0}.lyrics-results span{font-size:11px;color:#8b7b6d}.lyrics-preview{padding:12px;background:#f4ecde;border-radius:12px;margin-bottom:12px}.lyrics-preview pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:13px}.lyrics-offset{margin:16px 0;padding-top:12px;border-top:1px solid #e9dfd1}.lyrics-offset>div{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.lyrics-offset button{font-size:12px;padding:8px}.lyrics-lines{margin:12px 0}.lyrics-lines[open]{max-height:320px;overflow:auto}.lyrics-lines>div{display:flex;align-items:center;gap:8px;border-bottom:1px solid #e9dfd1;padding:8px 0;font-size:12px}.lyrics-lines>div>span{flex:1;min-width:0;overflow-wrap:anywhere}.lyrics-lines button{font-size:11px;padding:6px;flex-shrink:0}main{display:flex;flex-direction:column;gap:16px;max-width:1100px;padding-top:20px}main>.panel{margin:0;border-radius:18px;box-shadow:0 2px 12px #80644706;border-color:#e9dfd1}.workspace-title{order:-2;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:0 5px}.workspace-title>div{min-width:0}.workspace-title h2{font-size:23px;line-height:1.3;margin:5px 0 0;font-weight:800;overflow-wrap:anywhere;letter-spacing:-.5px}.eyebrow{font-size:10px;letter-spacing:1.8px;color:#b08d76;font-weight:800}.tempo-chip{flex:none;background:#f0e9dd;border:0;border-radius:30px;padding:8px 14px;font-size:14px;min-height:40px;color:#80614e}.playback-panel{background:#f5efe4;padding:12px;margin:12px 0;border:1px solid #e9dfd1;border-radius:12px}.playback-panel .transport{gap:8px}.playback-panel .transport output{font-size:11px;margin-left:auto;color:#8c7c6b;font-variant-numeric:tabular-nums}.playback-panel .checkbox{font-size:12px;min-height:28px;margin:0}.playback-panel .tab-playback{gap:8px}.playback-range{display:flex;align-items:end;gap:8px;margin-top:8px;border-top:1px solid #e9dfd1;padding-top:8px}.playback-range label{flex:1;min-width:0;margin:0;font-size:11px}.playback-range input[type=number]{width:100%;font-size:14px;padding:8px;min-height:40px}.playback-range>span{padding-bottom:10px;color:#9d8975}.editor-panel>.toolbar{margin:10px 0}.editor-panel>.toolbar button{background:#fbf6ed;border-color:#e7dbca;box-shadow:none;font-size:12px;flex:1;padding:8px 6px;white-space:nowrap}.editor-panel .column-adjust,.score-details{border-top:1px solid #eee6da;margin:10px 0 0;padding:0}.column-adjust summary,.score-details summary{font-size:12px;color:#957f6b;min-height:44px;padding:13px 0;cursor:pointer}.score-details>.score-options{margin-top:4px}.score-details[open]{padding-bottom:8px}.score-navigation-line{display:flex;align-items:center;justify-content:space-between;gap:6px;flex-wrap:wrap;margin-top:8px}.score-navigation-line>.score-options{margin:0}.score-details-toggle{font-size:12px;padding:8px;background:transparent;border-color:#e9dfd1}.editor-panel .score-scroll-hint{display:none}.editor-panel .score-seek{margin:6px 0}.editor-panel .score-editor{margin:0}.editor-panel .score-heading h2,.editor-panel .score-heading p{display:none}.editor-panel .score-tempo{margin-top:0}.editor-panel .score-heading{margin-bottom:18px}.editor-panel .score-viewport{border-color:#eadfce;background:#f4ecde;padding:12px;border-radius:13px}.editor-panel .score-sheet{padding:18px 12px 14px;box-shadow:none}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;gap:8px}.section-badge{font-size:9px;letter-spacing:1.5px;color:#ad8a73;background:#f3ebdd;padding:6px 9px;border-radius:20px}.audio-panel>.row:first-of-type{padding:12px;background:#fbf6ee;border:1px dashed #d9c6b1;border-radius:13px}.audio-panel .audio-filename{flex:1}.audio-panel .audio-alignment{border-top:1px solid #e9dfd1;padding-top:14px}.export-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px}.export-actions button{min-height:60px;font-size:13px}.export-actions button:first-child{grid-column:1/-1}.app-status{margin:0 5px;font-size:12px}.app-status:empty{display:none}@media(min-width:900px){.app-navigation{max-width:520px;margin:0}.app-header{display:flex;align-items:center;gap:40px;justify-content:space-between}.app-brand{margin:0;gap:40px}.app-navigation{flex:1}.workspace-title h2{font-size:27px}.playback-panel .transport{justify-content:flex-start}.export-actions{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:380px){.app-header{padding-left:12px;padding-right:12px}.app-brand h1{font-size:18px}.app-navigation button{font-size:12px}.workspace-title h2{font-size:21px}.editor-panel>.toolbar{gap:4px}.editor-panel>.toolbar button{font-size:11px}.playback-panel .transport>button{font-size:12px;padding:8px}.playback-panel .transport output{display:none}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}.source-choice{display:flex;gap:6px;background:#eee5d9;border-radius:12px;padding:4px;margin-bottom:14px}.source-choice button{flex:1;border:0;background:transparent;min-height:44px}.source-choice button[aria-pressed=true]{background:#fffaf3;color:#80513e;box-shadow:0 1px 4px #70533c1a}.youtube-settings form{display:flex;gap:8px;align-items:end;flex-wrap:wrap}.youtube-settings form label{flex:1;min-width:180px;margin:0}.youtube-settings form input{margin-bottom:0}.youtube-import-settings details{margin:12px 0;padding-top:8px;border-top:1px solid #e9dfd1}.youtube-import-settings summary{cursor:pointer;font-size:12px;padding:8px 0}.youtube-import-settings label{display:block;margin:8px 0;font-size:12px}.youtube-import-settings input{width:100%;min-width:0}.youtube-import-progress{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:10px 0;font-size:12px}.youtube-settings .help{font-size:11px;line-height:1.6}.youtube-align{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:12px 0;font-size:12px}.youtube-align button{min-height:44px;font-size:12px}.youtube-dock{position:sticky;top:calc(var(--app-header-height,116px) + 6px);z-index:13;width:min(100%,480px);min-width:200px;margin:0 auto 16px;padding:8px;background:#fffaf3;border:1px solid #dfcdb6;border-radius:14px;box-shadow:0 3px 12px #70533c18}.youtube-frame{width:100%;height:200px;min-width:200px;background:#1f1f1f}.youtube-frame iframe{display:block;width:100%;height:200px;min-width:200px;border:0}.youtube-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding-top:6px}.youtube-actions button{min-height:36px;font-size:11px;padding:4px 8px}.youtube-actions a{font-size:11px;margin-left:auto}.youtube-dock>p{font-size:12px;margin:8px 0 0;line-height:1.5}.score-transportbar{top:calc(var(--app-header-height,116px) + var(--youtube-dock-height,0px) + 6px)}.privacy-link{font-size:10px;margin:10px 5px}.youtube-actions a,.youtube-settings a,.privacy-link a{color:#80513e;text-underline-offset:3px}.staff-fret-input{scroll-margin-block-start:calc(var(--app-header-height,116px) + var(--youtube-dock-height,0px) + 90px)}body.editing-score{height:var(--app-viewport-height,100svh);overflow:hidden}main.score-workspace{height:calc(var(--app-viewport-height,100dvh) - var(--app-header-height,116px));min-height:0;padding:6px 12px max(6px,env(safe-area-inset-bottom));gap:6px}.score-workspace>.workspace-title,.score-workspace>.app-status:empty,.score-workspace>.privacy-link{display:none}.app-error{position:fixed;top:calc(var(--app-header-height,116px) + 8px);left:50%;transform:translate(-50%);z-index:45;width:min(1060px,calc(100% - 32px));margin:0;padding:10px 12px;background:#fff3eb;border:1px solid #cf9c85;border-radius:12px;font-size:12px;display:flex;align-items:center;gap:10px}.app-error>span{flex:1;min-width:0}.app-error>button{min-height:32px;font-size:11px;padding:4px 8px}.score-workspace>.editor-panel{flex:1;min-height:0;display:flex;flex-direction:column;padding:6px;position:relative;overflow:hidden}.score-actions{flex:none;position:relative;font-size:12px}.score-actions>summary{min-height:26px;padding:3px 6px;cursor:pointer;color:#80614e}.score-actions-content{position:absolute;left:0;right:0;top:28px;z-index:22;background:#fff9ef;border:1px solid #dfcdb6;border-radius:12px;padding:10px;max-height:min(65dvh,420px);overflow:auto;box-shadow:0 5px 20px #70533c24}.score-actions-content>.toolbar{display:flex;gap:6px;flex-wrap:wrap}.score-actions-content>.toolbar button{flex:1;font-size:12px;min-height:44px}.score-actions-content .section-heading{margin-bottom:4px}.score-actions-row{position:relative;display:flex;align-items:center;gap:4px;flex:none;min-height:32px}.score-actions-row>.score-actions{position:static;min-width:0}.score-actions-row .score-actions-content{top:100%}.score-actions-row summary{font-size:11px;padding-inline:4px;white-space:nowrap}.backing-quick{margin-left:auto;flex:none}.backing-quick .checkbox{display:flex;align-items:center;gap:4px;margin:0;font-size:11px;min-height:32px;white-space:nowrap}.score-workspace .score-navigation-line>.score-options{gap:6px;flex-wrap:nowrap;min-width:0}.score-options .audio-only-toggle{gap:3px;font-size:11px;white-space:nowrap;min-height:36px}.audio-only-toggle input{width:16px;height:16px;min-height:0;margin:0;flex:none}.score-details-icon{display:none}@media(max-width:600px){.score-details-caption{display:none}.score-details-icon{display:inline}.score-workspace .score-details-toggle{min-width:32px;padding:4px}.score-workspace .view-switch button{padding-inline:5px;font-size:12px}.score-workspace .measure-window{padding-inline:4px}}.score-workspace .score-editor{flex:1;min-height:0;display:flex;flex-direction:column;gap:4px;padding-bottom:calc(var(--note-editor-height,0px) + 4px)}.score-workspace .score-transportbar{position:static;flex:none;margin:0;padding:3px;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}.score-workspace .score-transportbar output{display:none}.score-workspace .score-navigation-line{flex:none;margin:0;min-height:36px;flex-wrap:nowrap}.score-workspace .view-switch button,.score-workspace .score-details-toggle{min-height:36px;padding:4px 8px}.score-workspace .score-seek{display:none}.score-workspace .score-details[open]~.score-seek{display:block;flex:none;margin:0}.score-workspace .score-details[open]{flex:none;max-height:32%;overflow:auto}.score-workspace .score-viewport{flex:1;min-height:0;overflow:auto;padding:4px;overscroll-behavior:contain}.score-workspace .score-sheet{padding:5px 4px;box-shadow:none;min-height:100%}.score-workspace .score-heading{display:none}.score-workspace .measure-caption{height:20px}.score-workspace .measure-scroll{padding:2px 0}.score-workspace .score-viewport{--string-height:var(--score-string-height,28px)}.score-workspace .chord-track,.score-workspace .chord-slot{height:28px;min-height:0;margin-bottom:0}.score-workspace .chord-track-label{line-height:28px}.score-workspace .chord-slot.has-chord>span{top:4px}.score-workspace .measure-barline{top:calc(28px + var(--string-height) / 2);bottom:20px}.score-workspace .rhythm-lanes{min-height:0!important}.score-workspace .rhythm-lane{height:var(--score-rhythm-height,58px)}.score-workspace .rhythm-label{padding-top:var(--score-rhythm-padding,24px)}.score-workspace .rhythm-empty{height:var(--score-rhythm-height,58px);padding-top:20px}.score-workspace .rhythm-notation{margin-top:3px}.score-workspace .measure-ruler{margin-top:2px;height:14px}.score-workspace .score-append{margin:8px 0 0}.score-workspace .append-measure-button{min-height:32px;font-size:12px}.score-workspace .score-selection{display:none}.persistent-note-editor{position:fixed;transform:translate(-50%);flex:none;left:50%;top:calc(var(--app-viewport-height,100dvh) - var(--note-editor-height,220px) - max(8px,env(safe-area-inset-bottom)));bottom:auto;width:min(1060px,calc(100% - 36px));border-radius:12px;padding:5px 7px;box-shadow:none;display:grid;grid-template-columns:minmax(0,1fr) 120px;gap:3px 6px;max-height:calc(var(--app-viewport-height,100dvh) * .5);overflow:auto}.persistent-note-editor .note-edit-heading{grid-column:1;grid-row:1;min-width:0;min-height:40px;font-size:11px;gap:3px}.persistent-note-editor .note-edit-heading>span{min-width:0;max-height:32px;overflow:hidden;line-height:16px}.persistent-note-editor .note-edit-heading small{display:none}.persistent-note-editor .note-edit-heading>button{padding:4px 6px;min-height:36px;flex:none;font-size:11px}.persistent-note-editor .note-kind-switch{grid-column:2;grid-row:1;margin:0;padding:2px;gap:1px}.persistent-note-editor .note-kind-switch button{min-height:36px;font-size:11px;padding:2px}.persistent-note-editor .duration-buttons{grid-column:1/-1;margin:0;gap:4px}.persistent-note-editor .duration-buttons button{min-height:44px}.persistent-note-editor .note-quick-actions{grid-column:1/-1;margin:0}.persistent-note-editor .note-more{grid-column:1/-1;min-width:0;font-size:11px}.persistent-note-editor .note-more>summary{min-height:26px;padding:4px 0;cursor:pointer}.persistent-note-editor .note-more[open] .note-edit-secondary{padding:4px 0}.score-workspace .youtube-dock{position:static;flex:none;margin:0 auto;max-width:480px;padding:4px}.score-workspace .youtube-actions{padding-top:3px;gap:4px}.score-workspace .staff-fret-input{scroll-margin-block:8px}.playback-mode{display:flex;flex:none;gap:4px;width:100%;min-width:0}.playback-mode button{flex:1;min-width:0;min-height:32px;padding:3px 2px;font-size:clamp(10px,2.9vw,12px);white-space:nowrap;background:#fbf6ee;border-color:#e6ddcf;color:#827567;box-shadow:none}.playback-mode button[aria-pressed=true]{background:#eee7dc;border-color:#a99b87;color:#51483d;box-shadow:inset 0 0 0 1px #a99b87}.playback-mode button:hover:not(:disabled){background:#f2ece2;border-color:#b6a995}.header-history,.history-buttons{display:flex;align-items:center;gap:3px}.header-history button{min-width:32px;min-height:40px;padding:4px;font-size:21px}.header-history .history-toggle{min-width:24px;font-size:12px}@media(max-width:380px){.header-actions{gap:3px}.app-brand .header-save{padding-inline:6px;font-size:12px}.header-history,.history-buttons{gap:2px}}.stem-mixer{margin:18px 0;padding:14px 12px;background:#f8f2e9;border:1px solid #e2d7c8;border-radius:16px}.stem-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}.stem-heading button{font-size:12px;min-height:36px}.stem-mixer p{font-size:12px;line-height:1.7}.stem-track{display:grid;grid-template-columns:76px minmax(40px,1fr) 34px 32px 32px;align-items:center;gap:5px;min-height:64px;border-bottom:1px solid #e7ded0}.stem-track:last-child{border-bottom:0}.stem-track label{display:flex;align-items:center;gap:5px;font-size:11px;min-width:0}.stem-icon{font-weight:800;font-size:14px;min-width:20px;color:#8a7966}.stem-track input{width:100%;min-width:0;margin:0;accent-color:#9a8971}.stem-track output{font-size:10px;text-align:right;font-variant-numeric:tabular-nums}.stem-track button{min-height:40px;min-width:0;padding:3px;font-size:12px;background:#faf6ef;border-color:#e1d6c5}.stem-track button[aria-pressed=true]{background:#e5d9c8;border-color:#a18c70;color:#493f33}.stem-progress{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:12px}.stem-progress progress{flex:1;min-width:80px;accent-color:#9a8971}@media(max-width:380px){.stem-mixer{padding:12px 8px}.stem-track{grid-template-columns:64px minmax(28px,1fr) 28px 28px 28px;gap:3px}.stem-track label{font-size:10px;gap:3px}.stem-icon{min-width:16px;font-size:12px}}.audio-cache-status{font-size:12px;margin:8px 0;color:#806b54}.audio-library{margin:8px 0 14px;font-size:12px}.audio-library>summary{min-height:40px;padding-block:10px;cursor:pointer}.audio-library-entry{display:flex;align-items:center;gap:6px;padding:5px 0;border-bottom:1px solid #e8ddcc}.audio-library-entry>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.audio-library-entry button{font-size:11px;min-height:40px;padding:4px 8px}.phrase-tools{margin:8px 0;border-top:1px solid #e6dccd;padding-top:4px;font-size:12px}.phrase-tools>summary{padding:10px 0;min-height:40px;cursor:pointer}.phrase-range{display:flex;align-items:end;flex-wrap:wrap;gap:6px;margin-bottom:8px}.phrase-range label{flex:1;min-width:72px;font-size:11px}.phrase-range input{width:100%;min-height:40px;padding:6px}.phrase-tools button{font-size:11px;min-height:40px;padding:6px 8px}.phrase-results{margin-top:10px}.phrase-result-heading,.phrase-match-row{display:flex;align-items:center;justify-content:space-between;gap:6px}.phrase-result-heading>span{min-width:0}.phrase-match-list{max-height:160px;overflow:auto;margin:6px 0;border-block:1px solid #e7ddce}.phrase-match-row .checkbox{font-size:11px;min-height:40px}.phrase-results>.checkbox{font-size:11px;min-height:40px}.phrase-status{font-size:12px;line-height:1.6;margin:8px 0}.staff-slot.phrase-match:not(.range-selected){background:#efeee0}.phrase-apply{margin-right:6px;margin-bottom:6px}.phrase-assistant{position:relative;display:flex;align-items:center;justify-content:flex-end;flex:none;gap:4px;min-width:0;font-size:11px}.phrase-assistant button{min-height:32px;padding:4px 8px;font-size:11px;background:#f6f1e9;border-color:#ded7ca;box-shadow:none;color:#756f65}.phrase-assistant .phrase-dismiss{min-width:32px;padding:4px}.phrase-suggestion-popover{position:absolute;right:0;top:calc(100% + 4px);z-index:20;max-width:calc(100vw - 48px);width:300px;max-height:50vh;overflow:auto;padding:7px;background:#fffcf6;border:1px solid #d9cfbf;border-radius:12px;box-shadow:0 5px 18px #59452c20}.phrase-suggestion-popover button{display:flex;justify-content:space-between;align-items:center;gap:8px;width:100%;min-height:44px;margin:2px 0}.phrase-suggestion-popover small{font-size:10px}.phrase-search-range{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:end;gap:5px;margin-bottom:6px}.phrase-search-range label{display:grid;gap:3px;min-width:0;font-size:10px}.phrase-search-range input,.phrase-search-range select{width:100%;min-width:0;min-height:36px;padding:3px 5px;font-size:13px}.phrase-search-range button{width:auto;min-height:36px;margin:0}.phrase-search-status{margin:8px 2px;font-size:11px;line-height:1.6}.phrase-draft-controls>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.phrase-draft-controls .phrase-accept{background:#e8e9dc;border-color:#a6ac91;color:#4b5541}.phrase-draft-measure .fret-number,.phrase-draft-measure .technique-mark,.phrase-draft-measure .staff-rest,.phrase-draft-measure .rhythm-notation{opacity:.48}.phrase-draft-measure .measure-number:after{content:" · 仮";color:#8a8c82;font-size:10px}.separation-status{display:flex;gap:5px;align-items:center;margin-top:4px;font-size:11px}.separation-status button{min-height:28px;padding:3px 8px;font-size:11px;background:#f5f0e7;color:#80735f;border-color:#e1d7c6;box-shadow:none}.separation-status button:first-child{flex:1;min-width:0;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.video-export{margin-top:18px;border-top:1px solid #e5dbcb;padding-top:8px}.video-export>summary{min-height:44px;padding:12px 0;cursor:pointer;font-weight:700}.video-export>label{display:flex;align-items:center;gap:12px;font-size:13px}.video-export>label select{flex:1;min-height:44px;max-width:300px}.video-export>.muted{font-size:12px;line-height:1.7}.video-export canvas,.video-result video{display:block;width:100%;height:auto;aspect-ratio:16/9;background:#fffefb;border:1px solid #e5dbcb;border-radius:10px}.video-export-preview{margin:12px 0}.video-recording-overlay{position:fixed;inset:0;z-index:100;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:max(16px,env(safe-area-inset-top)) 16px max(16px,env(safe-area-inset-bottom));background:#fbf3e6;overflow:auto}.video-recording-overlay canvas{width:min(100%,960px);max-height:65svh;object-fit:contain;flex:none}.video-recording-overlay progress{width:min(100%,600px);accent-color:#b9856d}.video-recording-overlay p{margin:0}.video-result{margin-top:16px}.video-result .row{margin-top:10px}.video-download{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 14px;background:#f4eadb;border:1px solid #d9c5ac;border-radius:12px;color:#51443c;text-decoration:none;font-size:13px;font-weight:700}
