:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--canvas:#f3f0e8;--surface:#fcfaf3;--raised:#fffdf8;--ink:#242831;--ink-soft:#3a3e46;--muted:#62656b;--accent:#e4bb42;--accent-hover:#d7ad31;--on-accent:#24220f;--accent-ink:#8d6d10;--accent-text:#6a5207;--accent-soft:#f7f1d9;--accent-soft-border:#e0d7b6;--sec:#6978ef;--sec-strong:#4a5ae8;--sec-soft:#6978ef21;--border:#dfdcd1;--border-strong:#bab7ad;--hover:#f0ede4;--grid:#faf8f1;--grid-line:#e4e0d7;--grid-black:#f1eee5;--beat-line:#d6d2c7;--bar-line:#aaa598;--playhead:#b24732;--note-right:#e0b334;--note-right-border:#7a5b00;--note-left:#7c8af2;--note-left-border:#3644b5;--note-hatch:#1b246938;--note-playing:#242831;--piano-white:#fff;--piano-black:#171717;--key-line:#b8b8b8;--key-separator:#e3e3e3;--danger:#8b302b;--danger-soft:#fbefed;--danger-border:#d9aaa5;--success:#315e40;--success-soft:#e3efe4;--success-dot:#3e8a5b;--block-bg:#242831;--block-text:#f3f1ea;--block-muted:#cfd2d8;--korbo-ink:#0a0a0a;--glass:#fffdf89e;--glass-strong:#fffdf8d1;--glass-border:#ffffffb3;--glow-gold:#e4bb424d;--glow-blue:#6978ef33;--scrim:#24283161;--scrim-solid:#24283185;--veil:#f3f0e88c;--header-bg:#fcfaf3eb;--shadow-sm:0 1px 3px #2428311a;--shadow-md:0 10px 30px #24283114;--shadow-lg:0 30px 60px -28px #24283152;--radius-sm:6px;--radius:10px;--radius-lg:14px;--font-interface:var(--font-space-grotesk,"Space Grotesk"), "Aptos", "Segoe UI", sans-serif;--font-music:var(--font-dm-mono,"DM Mono"), "Cascadia Mono", Consolas, monospace;--fs-meta:11px;--fs-small:12px;--fs-body:13px;--fs-base:14px;--header-height:60px;--keys-width:56px}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--canvas:#22252b;--surface:#2d3139;--raised:#343943;--ink:#f3f1ea;--ink-soft:#dedcd4;--muted:#afb3bb;--accent-ink:#e4bb42;--accent-text:#e4bb42;--accent-soft:#3b3627;--accent-soft-border:#5a4f2c;--sec:#9ba6ff;--sec-strong:#9ba6ff;--sec-soft:#9ba6ff29;--border:#474c55;--border-strong:#5c626c;--hover:#393e48;--grid:#272a31;--grid-line:#343841;--grid-black:#23262c;--beat-line:#3a3f48;--bar-line:#5c626c;--playhead:#ef7a62;--note-playing:#f3f1ea;--key-line:#6b6f78;--danger:#f2a9a2;--danger-soft:#45302e;--danger-border:#7a4a45;--success:#9fd3ae;--success-soft:#2c3d33;--block-bg:#1a1c21;--korbo-ink:#f4ede4;--glass:#2d31399e;--glass-strong:#2d3139d9;--glass-border:#ffffff17;--glow-gold:#e4bb422e;--glow-blue:#9ba6ff24;--scrim:#0a0b0e8c;--scrim-solid:#0a0b0eb3;--veil:#22252b99;--header-bg:#2d3139eb;--shadow-sm:0 1px 3px #0000004d;--shadow-md:0 10px 30px #00000040;--shadow-lg:0 30px 60px -28px #0000008c}}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--korbo-ink:#f4ede4;--canvas:#22252b;--surface:#2d3139;--raised:#343943;--ink:#f3f1ea;--ink-soft:#dedcd4;--muted:#afb3bb;--accent-ink:#e4bb42;--accent-text:#e4bb42;--accent-soft:#3b3627;--accent-soft-border:#5a4f2c;--sec:#9ba6ff;--sec-strong:#9ba6ff;--sec-soft:#9ba6ff29;--border:#474c55;--border-strong:#5c626c;--hover:#393e48;--grid:#272a31;--grid-line:#343841;--grid-black:#23262c;--beat-line:#3a3f48;--bar-line:#5c626c;--playhead:#ef7a62;--note-playing:#f3f1ea;--key-line:#6b6f78;--danger:#f2a9a2;--danger-soft:#45302e;--danger-border:#7a4a45;--success:#9fd3ae;--success-soft:#2c3d33;--block-bg:#1a1c21;--glass:#2d31399e;--glass-strong:#2d3139d9;--glass-border:#ffffff17;--glow-gold:#e4bb422e;--glow-blue:#9ba6ff24;--scrim:#0a0b0e8c;--scrim-solid:#0a0b0eb3;--veil:#22252b99;--header-bg:#2d3139eb;--shadow-sm:0 1px 3px #0000004d;--shadow-md:0 10px 30px #00000040;--shadow-lg:0 30px 60px -28px #0000008c}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:calc(var(--header-height) + 12px)}body{background:var(--canvas);min-width:320px;color:var(--ink);font-family:var(--font-interface);font-size:var(--fs-base);-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%;margin:0;line-height:1.5}button,input,select{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}:focus-visible{outline:3px solid var(--sec);outline-offset:2px}a{color:inherit}h1,h2,h3,p{overflow-wrap:break-word;margin:0}h1,h2,h3{letter-spacing:-.04em;text-wrap:balance;line-height:1.12}.sr-only,.visually-hidden{clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;position:absolute!important;overflow:hidden!important}.skip-link{z-index:40;border-radius:var(--radius-sm);background:var(--surface);color:var(--ink);box-shadow:var(--shadow-md);padding:10px 13px;position:fixed;top:9px;left:10px;transform:translateY(-160%)}.skip-link:focus{transform:translateY(0)}.icon{flex:none}.eyebrow{color:var(--accent-text);font:var(--fs-meta)/1.4 var(--font-music);letter-spacing:.12em;text-transform:uppercase;margin:0 0 6px}.muted{color:var(--muted)}.small{font-size:var(--fs-small)}.form-error{color:var(--danger);font-size:var(--fs-small);margin:0;line-height:1.5}.form-error:empty{display:none}.form-message{color:var(--success);font-size:var(--fs-small);margin:0;line-height:1.5}kbd{border:1px solid var(--border-strong);background:var(--raised);color:var(--ink);font:10.5px var(--font-music);border-bottom-width:2px;border-radius:4px;padding:1px 6px}.button{min-height:40px;font-size:var(--fs-body);text-align:center;white-space:nowrap;background:0 0;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:0 16px;font-weight:600;line-height:1.2;text-decoration:none;transition:background-color .14s,border-color .14s,color .14s;display:inline-flex}.button-sm{min-height:32px;font-size:var(--fs-small);gap:6px;padding:0 11px}.button-lg{min-height:48px;padding:0 22px;font-size:15px}.button-block{width:100%}.button-primary{background:var(--accent);color:var(--on-accent)}.button-primary:hover:not(:disabled){background:var(--accent-hover)}.button-secondary{border-color:var(--border-strong);background:var(--surface);color:var(--ink)}.button-secondary:hover:not(:disabled){background:var(--hover)}.button-text{color:var(--ink-soft)}.button-text:hover:not(:disabled){background:var(--hover);color:var(--ink)}.button-danger{border-color:var(--danger-border);background:var(--surface);color:var(--danger)}.button-danger:hover:not(:disabled){background:var(--danger-soft)}.link-button{color:var(--muted);font-size:var(--fs-body);text-underline-offset:3px;background:0 0;border:0;justify-self:center;padding:6px 8px;text-decoration:underline}.link-button:hover{color:var(--ink)}.icon-button{border:1px solid var(--border-strong);background:var(--surface);width:36px;height:36px;color:var(--ink);border-radius:8px;flex:none;place-items:center;padding:0;list-style:none;transition:background-color .14s;display:inline-grid}.icon-button::-webkit-details-marker{display:none}.icon-button:hover:not(:disabled){background:var(--hover)}.icon-button.flat{background:0 0;border-color:#0000}.icon-button.flat:hover:not(:disabled){background:var(--hover)}.segmented{border:1px solid var(--border);background:var(--hover);border-radius:9px;gap:2px;padding:3px;display:inline-flex}.segmented button{min-height:28px;color:var(--muted);font-size:var(--fs-small);white-space:nowrap;background:0 0;border:0;border-radius:6px;padding:0 10px}.segmented button:hover:not(:disabled){color:var(--ink)}.segmented button.is-on{background:var(--surface);color:var(--ink);box-shadow:var(--shadow-sm);font-weight:600}.segmented.mono button{font-family:var(--font-music)}.segmented-full{display:flex}.segmented-full button{flex:1;min-height:34px}.chip{border:1px solid var(--border);background:var(--raised);color:var(--muted);font:var(--fs-meta) var(--font-music);white-space:nowrap;border-radius:999px;align-items:center;gap:7px;padding:4px 10px;display:inline-flex}.chip-dot{background:var(--success-dot);border-radius:50%;width:7px;height:7px}.card{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);padding:22px}.notice{border:1px solid var(--border);border-radius:var(--radius);background:var(--raised);font-size:var(--fs-body);gap:4px;padding:12px 14px;display:grid}.notice.is-error{border-color:var(--danger-border);background:var(--danger-soft);color:var(--danger)}.notice p{margin:0}.progress{background:var(--hover);border-radius:99px;height:6px;display:block;overflow:hidden}.progress i{border-radius:inherit;background:var(--accent);height:100%;transition:width .3s;display:block}.spinner{border:2px solid var(--accent-soft-border);border-top-color:var(--accent-ink);border-radius:50%;flex:none;width:16px;height:16px;animation:.9s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.field{gap:6px;display:grid}.field label{color:var(--ink-soft);font-size:var(--fs-small);font-weight:600}.field input{border:1px solid var(--border-strong);background:var(--raised);border-radius:10px;width:100%;min-height:46px;padding:9px 12px;font-size:16px;transition:border-color .14s,box-shadow .14s}.field input::placeholder{color:var(--muted);opacity:.7}.field input:focus{border-color:var(--sec);box-shadow:0 0 0 4px var(--sec-soft);outline:none}.field-help{color:var(--muted);font-size:var(--fs-small)}.password-field{position:relative}.password-field input{padding-right:48px}.password-toggle{width:36px;height:36px;color:var(--muted);background:0 0;border:0;border-radius:8px;place-items:center;display:grid;position:absolute;top:50%;right:6px;transform:translateY(-50%)}.password-toggle:hover{background:var(--hover);color:var(--ink)}.source-mode{border:0;min-width:0;margin:0;padding:0}.source-mode legend{font-size:var(--fs-body);margin-bottom:8px;padding:0;font-weight:700}.source-mode-options{gap:8px;display:grid}.source-mode-option{position:relative}.source-mode-input{opacity:0;width:1px;height:1px;position:absolute}.source-mode-label{border:1px solid var(--border-strong);border-radius:var(--radius);background:var(--raised);cursor:pointer;flex-direction:column;gap:2px;height:100%;padding:11px 12px;display:flex}.source-mode-label:hover{background:var(--hover)}.source-mode-input:checked+.source-mode-label{border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}.source-mode-input:focus-visible+.source-mode-label{outline:3px solid var(--sec);outline-offset:2px}.source-mode:disabled .source-mode-label{cursor:not-allowed;opacity:.55}.source-mode-title{font-size:var(--fs-body);align-items:center;gap:9px;font-weight:700;display:inline-flex}.source-mode-radio{border:1.5px solid var(--border-strong);background:var(--surface);border-radius:50%;flex:0 0 18px;width:18px;height:18px;transition:border-width .12s,border-color .12s}.source-mode-input:checked+.source-mode-label .source-mode-radio{border:5px solid var(--ink)}.source-mode-help{color:var(--muted);font-size:var(--fs-small);padding-left:27px;line-height:1.45}.source-mode.is-compact .source-mode-options{flex-wrap:wrap;gap:6px;display:flex}.source-mode.is-compact .source-mode-label{border-radius:999px;padding:6px 10px}.source-mode.is-compact .source-mode-title{font-size:var(--fs-small);gap:7px;font-weight:600}.source-mode.is-compact .source-mode-radio{flex-basis:14px;width:14px;height:14px}.source-mode.is-compact .source-mode-input:checked+.source-mode-label .source-mode-radio{border-width:4px}.app-shell{flex-direction:column;min-height:100vh;display:flex}.app-header{z-index:20;min-height:var(--header-height);border-bottom:1px solid var(--border);background:var(--header-bg);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);align-items:center;gap:22px;padding:0 max(24px,50vw - 660px);display:flex;position:sticky;top:0}.brand{color:var(--ink);letter-spacing:-.085em;font-size:26px;font-weight:700;text-decoration:none}.brand span,.brand-small span{color:var(--accent-ink)}.main-nav{gap:4px;display:flex}.nav-item{min-height:36px;color:var(--muted);font-size:var(--fs-body);background:0 0;border:0;border-radius:999px;padding:0 14px;font-weight:500}.nav-item:hover{background:var(--hover);color:var(--ink)}.nav-item.is-current{background:var(--accent-soft);color:var(--ink);font-weight:600}.main-content{flex:1;width:min(1320px,100%);margin:0 auto;padding:28px 24px 48px}.view-editor .main-content{width:min(1440px,100%);padding-top:0}.view-editor .app-header{gap:16px}.app-footer{border-top:1px solid var(--border);color:var(--muted);font-size:var(--fs-small);gap:14px;padding:18px max(24px,50vw - 660px) 16px;display:grid}.footer-main{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 15px;display:flex}.footer-link{color:var(--muted);text-underline-offset:3px;text-decoration:underline}.footer-link:hover{color:var(--ink)}.footer-links{flex-wrap:wrap;gap:6px 14px;display:flex}.legal-updated{color:var(--muted)!important;font:var(--fs-meta)/1.5 var(--font-music)!important}.legal-body{color:var(--ink-soft);line-height:1.6}.legal-body>p,.legal-body>ul{margin:0 0 12px}.legal-body ul{padding-left:18px}.legal-body li+li{margin-top:6px}.legal-body a{color:var(--ink);text-underline-offset:3px}.legal-sections .credit-role{font-weight:400}.legal-foot{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;display:flex}.legal-foot nav{flex-wrap:wrap;gap:6px 14px;display:flex}.legal-foot nav a{color:var(--muted);font-size:var(--fs-small);text-underline-offset:3px}.credits-page{width:min(880px,100%);margin:0 auto;padding:28px 24px 72px}.credits-brand{color:var(--ink);letter-spacing:-.085em;font-size:26px;font-weight:700;text-decoration:none}.credits-brand span{color:var(--accent-ink)}.credits-head{margin:56px 0 0}.credits-head h1{letter-spacing:-.07em;margin:0;font-size:clamp(64px,12vw,128px);font-weight:700;line-height:.9}.credits-head h1:after{content:"";background:linear-gradient(90deg, var(--accent) 0 calc(100% - 14px), transparent calc(100% - 14px) calc(100% - 9px), var(--accent) calc(100% - 9px));border-radius:2px;height:3px;margin:22px 0 0;display:block}.credits-head p{max-width:54ch;color:var(--ink-soft);margin:22px 0 0;font-size:18px;line-height:1.55}.credit-list{margin:40px 0 0;padding:0;list-style:none}.credit{grid-template-columns:210px 1fr;gap:24px;padding:22px 0;display:grid}.credit+.credit{border-top:1px solid var(--border)}.credit-role{color:var(--muted);font:var(--fs-meta)/1.5 var(--font-music);margin:0;padding-top:8px}.credit-name{letter-spacing:-.04em;margin:0;font-size:26px;font-weight:700;line-height:1.15}.credit.is-lead .credit-name{font-size:clamp(30px,4.4vw,42px)}.credit-author{color:var(--ink-soft);margin:4px 0 12px}.credit-licence{color:var(--muted);font-size:var(--fs-small);flex-wrap:wrap;align-items:center;gap:6px 12px;margin:0;display:flex}.credit-licence a{border:1px solid var(--border-strong);color:var(--ink);font:500 12px/1.4 var(--font-music);border-radius:999px;padding:3px 10px;text-decoration:none}.credit-licence a:hover{border-color:var(--accent)}.credit-details{border-top:1px dashed var(--border);gap:6px;margin:18px 0 0;padding:14px 0 0;display:grid}.credit-details div{grid-template-columns:120px 1fr;gap:12px;display:grid}.credit-details dt{color:var(--muted);font:var(--fs-meta)/1.6 var(--font-music)}.credit-details dd{color:var(--ink-soft);overflow-wrap:anywhere;margin:0}.credit-details a{color:var(--ink);text-underline-offset:3px}.credits-foot{margin-top:56px}@media (max-width:640px){.credits-head{margin-top:40px}.credit{grid-template-columns:1fr;gap:4px}.credit-role{padding-top:0}.credit-details div{grid-template-columns:1fr;gap:0}.credit-details dd{margin-bottom:6px}}.footer-credit{border-top:1px solid var(--border);justify-content:center;padding-top:14px;display:flex}.korbo-signature{color:var(--muted);font-size:var(--fs-meta);letter-spacing:.04em;align-items:center;gap:10px;margin:0;display:inline-flex}.korbo-logo{width:auto;height:20px;color:var(--korbo-ink);opacity:.82;transition:opacity .15s;display:block}.korbo-signature:hover .korbo-logo{opacity:1}.brand-small{color:var(--ink);letter-spacing:-.07em;font-size:15px;font-weight:700}.header-feedback{border-color:var(--border);color:var(--ink-soft);background:0 0;border-radius:999px;margin-left:auto;padding:0 12px 0 10px}.header-feedback:hover:not(:disabled){border-color:var(--border-strong);background:var(--hover);color:var(--ink)}.app-header>.header-feedback+*{margin-left:-12px}.account-menu{margin-left:auto;position:relative}.account-trigger{min-height:36px;color:var(--ink);font-size:var(--fs-body);cursor:pointer;border-radius:8px;align-items:center;padding:0 12px;font-weight:600;list-style:none;display:inline-flex}.account-trigger::-webkit-details-marker{display:none}.account-trigger:hover{background:var(--hover)}.account-trigger.is-avatar{border-radius:50%;padding:0}.avatar{border:1px solid var(--border-strong);background:var(--raised);width:34px;height:34px;color:var(--ink);font:600 12px var(--font-interface);border-radius:50%;flex:none;place-items:center;display:grid}.account-trigger:hover .avatar,.account-menu[open] .avatar{border-color:var(--ink)}.account-trigger.is-avatar{position:relative}.avatar-pro{border:1px solid var(--surface);background:var(--accent);color:#1a1405;font:700 9px/1.3 var(--font-interface);letter-spacing:.02em;pointer-events:none;border-radius:999px;padding:1px 5px;position:absolute;bottom:-4px;right:-6px}.account-popover{z-index:30;border:1px solid var(--border);background:var(--surface);border-radius:12px;gap:0;width:min(320px,100vw - 24px);max-height:min(80vh,640px);padding:6px;display:grid;position:absolute;top:calc(100% + 10px);right:0;overflow:auto;box-shadow:0 20px 40px -20px #0006}.account-head{align-items:center;gap:12px;padding:12px 10px 14px;display:flex}.account-avatar{background:var(--ink);width:40px;height:40px;color:var(--canvas);font:700 14px var(--font-interface);border-radius:50%;flex:none;place-items:center;display:grid}.account-identity{gap:2px;min-width:0;display:grid}.account-identity strong{font-size:var(--fs-base);letter-spacing:-.01em;text-overflow:ellipsis;white-space:nowrap;font-weight:700;line-height:1.25;overflow:hidden}.account-status{color:var(--muted);font-size:var(--fs-small)}.account-quota{border:1px solid var(--border);border-radius:10px;gap:8px;margin:0 4px 6px;padding:12px;display:grid}.account-quota-line{font-size:var(--fs-body);justify-content:space-between;align-items:baseline;gap:10px;margin:0;display:flex}.account-quota-line strong{font:500 var(--fs-base) var(--font-music)}.account-quota small{color:var(--muted);font-size:var(--fs-small);line-height:1.45}.quota-keys{border:1px solid var(--key-line);background:var(--piano-white);border-radius:0 0 4px 4px;height:28px;display:flex;overflow:hidden}.quota-keys i{border-right:1px solid var(--key-separator);flex:1}.quota-keys i:last-child{border-right:0}.quota-keys i.is-used{box-shadow:inset 0 -5px 0 var(--accent)}.account-actions{border-top:1px solid var(--border);gap:0;padding:4px 0;display:grid}.account-action{width:100%;color:var(--ink);text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:12px;padding:9px 10px;display:flex}.account-action:hover{background:var(--hover)}.account-action-icon{color:var(--ink-soft);flex:none}.account-action-text{flex:1;gap:1px;min-width:0;display:grid}.account-action-text>span{font-size:var(--fs-base);font-weight:600}.account-action-text small{color:var(--muted);font-size:var(--fs-small);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.account-action-chevron{color:var(--muted)}.account-popover .theme-switch{border-top:1px solid var(--border);padding:10px}.account-foot{border-top:1px solid var(--border);padding:4px 0 0;display:flex}.account-signout{min-height:36px;color:var(--muted);font-size:var(--fs-body);background:0 0;border:0;border-radius:8px;align-items:center;gap:8px;padding:0 10px;font-weight:600;display:inline-flex}.account-signout:hover:not(:disabled){background:var(--danger-soft);color:var(--danger)}.account-signin{border-radius:999px;gap:7px;margin-left:auto;padding:0 14px 0 11px}.theme-switch{border-top:1px solid var(--border);color:var(--muted);font-size:var(--fs-small);justify-content:space-between;align-items:center;gap:10px;padding-top:12px;display:flex}.theme-switch.is-compact{border-top:0;padding-top:0}.theme-switch.is-compact .segmented button{min-height:24px;font-size:var(--fs-meta);padding:0 8px}.hero{grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);align-items:start;gap:56px;padding:32px 0 40px;display:grid}.hero-copy{gap:0;min-width:0;display:grid}.hero h1{letter-spacing:-.075em;margin:6px 0 18px;font-size:clamp(46px,6.2vw,78px);font-weight:700;line-height:.98}.hero h1 span{color:var(--accent-ink)}.hero-lead{max-width:30em;color:var(--ink-soft);font-size:clamp(16px,1.6vw,18px);line-height:1.55}.import-card{gap:10px;margin-top:26px;display:grid}.import-card .link-file-fallback{justify-self:start}@media (max-width:560px){.import-card .link-file-fallback{justify-content:center;justify-self:stretch}}.drop-zone{border:1.5px dashed var(--border-strong);border-radius:var(--radius-lg);background:var(--raised);gap:16px;padding:22px;transition:background-color .15s,border-color .15s;display:grid}.drop-zone:focus-within{border-color:var(--sec)}.drop-top{align-items:center;gap:14px;display:flex}.drop-icon{background:var(--accent);width:48px;height:48px;color:var(--on-accent);border-radius:12px;flex:0 0 48px;place-items:center;display:grid}.drop-copy{gap:2px;min-width:0;display:grid}.drop-copy strong{letter-spacing:-.02em;font-size:16px}.drop-copy>span{color:var(--muted);font-size:var(--fs-small);line-height:1.5}.drop-copy-touch{display:none}@media (hover:none) and (pointer:coarse){.drop-copy-pointer{display:none}.drop-copy-touch{display:inline}}.drop-actions{flex-wrap:wrap;gap:8px;display:flex}.link-import{border-top:1px solid var(--border);padding-top:14px}.link-import-label{align-items:center;gap:8px;display:flex}.link-import-label .source-mode-badge{margin-left:0}.link-import-row{gap:8px;display:flex}.link-import-row input{flex:auto;min-width:0}.link-import-row .button{flex:none;min-height:46px}.link-import .muted.small{margin:0}.link-import-locked{padding-top:4px;display:grid}.link-import-locked>*{grid-area:1/1}.link-import-ghost{filter:blur(5px);opacity:.5;pointer-events:none;-webkit-user-select:none;user-select:none;align-self:start;gap:8px;display:grid}.link-import-fake{border:1px solid var(--border-strong);background:var(--surface);min-width:0;min-height:46px;color:var(--muted);font:500 var(--fs-small) var(--font-music);border-radius:10px;flex:auto;align-items:center;padding:0 12px;display:flex}.pro-gate{border:1px solid var(--border-strong);background:var(--surface);border-radius:12px;grid-template-columns:auto minmax(0,1fr);gap:12px 14px;margin-top:26px;padding:16px;display:grid;position:relative;box-shadow:0 18px 36px -24px #00000073}.pro-gate-icon{background:var(--accent-soft);width:40px;height:40px;color:var(--accent-text);border-radius:11px;place-items:center;display:grid}.pro-gate-copy{gap:4px;display:grid}.pro-gate-copy strong{align-items:center;gap:8px;font-size:15px;display:flex}.pro-gate-copy strong .source-mode-badge{margin-left:0}.pro-gate-copy p{color:var(--ink-soft);font-size:var(--fs-small);text-wrap:pretty;margin:0;line-height:1.45}.pro-gate-platforms{flex-wrap:wrap;gap:4px;margin:4px 0 0;padding:0;list-style:none;display:flex}.pro-gate-platforms li{border:1px solid var(--border);color:var(--muted);border-radius:999px;padding:2px 8px;font-size:11px}.pro-gate .button{grid-column:1/-1;width:100%;min-height:46px}@media (max-width:480px){.link-import-row{flex-direction:column}}.file-picker{cursor:pointer}input:focus-visible+.drop-zone .file-picker,#media-file:focus-visible~* .file-picker{outline:3px solid var(--sec);outline-offset:2px}.import-state{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-md);gap:14px;padding:20px;display:grid}.import-state-title{letter-spacing:-.03em;font-size:17px;font-weight:700}.file-card{border:1px solid var(--border);border-radius:var(--radius);background:var(--raised);align-items:center;gap:11px;min-width:0;padding:11px 12px;display:flex}.file-icon{background:var(--accent-soft);width:36px;height:36px;color:var(--accent-text);border-radius:8px;flex:0 0 36px;place-items:center;display:grid}.file-info{flex:1;gap:1px;min-width:0;display:grid}.file-info strong{font-size:var(--fs-body);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.file-info span{color:var(--muted);font:var(--fs-meta) var(--font-music)}.steps-progress{margin:0;padding:0;list-style:none;display:grid}.steps-progress li{font-size:var(--fs-body);grid-template-columns:24px minmax(0,1fr) auto;align-items:start;gap:10px;padding:7px 0;display:grid;position:relative}.steps-progress li:not(:last-child):after{background:var(--border);content:"";width:2px;position:absolute;top:33px;bottom:-5px;left:11px}.steps-progress li.is-todo{color:var(--muted)}.step-dot{border:2px solid var(--border-strong);background:var(--surface);border-radius:50%;place-items:center;width:24px;height:24px;display:grid}.is-done .step-dot{border-color:var(--success-dot);background:var(--success-soft);color:var(--success)}.is-now .step-dot{border-color:var(--accent);background:var(--accent-soft);box-shadow:0 0 0 4px #e4bb4240}.step-text{gap:6px;padding-top:2px;display:grid}.is-now .step-text{font-weight:600}.step-meta{color:var(--muted);font:var(--fs-meta) var(--font-music);padding-top:2px}.hero-visual{min-width:0;margin-top:48px;position:relative}.hero-visual-tag{background:var(--block-bg);color:var(--block-text);font:var(--fs-meta) var(--font-music);border-radius:999px;padding:5px 12px;position:absolute;bottom:-14px;left:24px}.hero-preview{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow-lg);border-radius:16px;padding:14px;transform:rotate(-1deg)}.hp-top{justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.hp-time{color:var(--muted);font:var(--fs-meta) var(--font-music)}.hp-body{border:1px solid var(--border);border-radius:var(--radius);background:var(--grid);grid-template-rows:34px 260px;grid-template-columns:44px 1fr;display:grid;position:relative;overflow:hidden}.hp-label{border-bottom:1px solid var(--border);color:var(--muted);font:9px var(--font-music);letter-spacing:.08em;text-transform:uppercase;align-items:center;padding-left:6px;display:flex}.hp-wave{border-bottom:1px solid var(--border);width:100%;height:100%}.hp-wave line{stroke:var(--accent-ink);stroke-linecap:round;stroke-width:1.2px}.hp-keys{border-right:1px solid var(--key-line);background:var(--piano-white);flex-direction:column;display:flex}.hp-keys span{border-bottom:1px solid var(--key-separator);flex:1;position:relative}.hp-keys span.is-black:before{background:var(--piano-black);content:"";border-radius:0 3px 3px 0;width:62%;position:absolute;top:0;bottom:0;left:0}.hp-keys em{color:#5a5d63;font:8px var(--font-music);font-style:normal;position:absolute;top:50%;right:3px;transform:translateY(-50%)}.hp-grid{position:relative}.hp-row{background:var(--grid-black);position:absolute;left:0;right:0}.hp-bar{border-left:1px solid var(--bar-line);position:absolute;top:0;bottom:0}.hp-note{border:1px solid var(--note-right-border);background:var(--note-right);border-radius:3px;position:absolute}.hp-note.is-left{border-color:var(--note-left-border);background-color:var(--note-left);background-image:repeating-linear-gradient(135deg, transparent 0 5px, var(--note-hatch) 5px 6px)}.hp-body{--hp-keys:44px}.hp-playhead{z-index:2;top:0;bottom:0;left:var(--hp-keys);background:var(--playhead);width:2px;animation:8s linear infinite hp-play;position:absolute}@keyframes hp-play{0%{left:var(--hp-keys)}to{left:calc(100% - 2px)}}.projects-page{isolation:isolate;gap:22px;padding-top:8px;display:grid;position:relative}.projects-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px;padding:18px 0 4px;display:flex}.projects-head h1{letter-spacing:-.07em;font-size:clamp(36px,5vw,56px);font-weight:700;line-height:1}.projects-sub{color:var(--muted);margin-top:10px;font-size:15px}.plan-strip{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);flex-wrap:wrap;align-items:center;gap:10px 14px;padding:12px 14px 12px 12px;display:flex}.plan-strip p{color:var(--ink-soft);font-size:var(--fs-body);flex:220px;margin:0}.plan-strip-icon{background:var(--accent-soft);width:34px;height:34px;color:var(--accent-text);border-radius:10px;place-items:center;display:grid}.project-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:14px;margin:0;padding:0;list-style:none;display:grid}.project-card{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-sm);transition:transform .18s,box-shadow .18s,border-color .18s;display:grid;position:relative;overflow:hidden}.project-card:not(.is-loading):hover{border-color:var(--border-strong);box-shadow:var(--shadow-md);transform:translateY(-2px)}.project-card:focus-within{border-color:var(--sec)}.project-card.is-new:focus-within{outline:3px solid var(--sec);outline-offset:2px}.project-card.is-new button:focus-visible{outline:none}.project-thumb{border-bottom:1px solid var(--border);background:repeating-linear-gradient(to bottom, transparent 0 11px, var(--grid-line) 11px 12px), repeating-linear-gradient(to right, transparent 0 calc(25% - 1px), var(--bar-line) calc(25% - 1px) 25%), var(--grid);height:120px;position:relative;overflow:hidden}.project-thumb-icon{color:var(--muted);place-items:center;display:grid;position:absolute;inset:0}.project-card-body{align-items:center;gap:10px;padding:12px 10px 12px 14px;display:flex}.project-open{width:100%;color:inherit;font:inherit;text-align:left;background:0 0;border:0;padding:0;display:grid}button.project-open{cursor:pointer}button.project-open:disabled{cursor:default}button.project-open:focus-visible{outline:none}.project-card:has(button.project-open:focus-visible){outline:3px solid var(--sec);outline-offset:2px}.project-thumb{display:block}.project-open .project-info{padding:12px 52px 12px 14px}.project-card-actions{position:absolute;bottom:9px;right:8px}.project-info{flex:1;gap:3px;min-width:0;display:grid}.project-info strong{font-size:var(--fs-base);letter-spacing:-.02em;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.project-info time{color:var(--muted);font:var(--fs-meta) var(--font-music)}.project-confirm{background:var(--surface);text-align:center;align-content:center;gap:12px;padding:18px;display:grid;position:absolute;inset:0}.project-confirm p{color:var(--ink);font-size:var(--fs-body);margin:0;font-weight:600}.project-confirm div{justify-content:center;gap:8px;display:flex}.project-card.is-new{border-style:dashed;border-color:var(--border-strong);background:color-mix(in srgb, var(--surface) 60%, transparent);box-shadow:none}.project-card.is-new button{text-align:center;background:0 0;border:0;place-content:center;justify-items:center;gap:6px;min-height:100%;padding:28px 18px;display:grid}.project-card.is-new strong{font-size:var(--fs-base)}.project-card.is-new span:not(.new-icon){color:var(--muted);font-size:var(--fs-small)}.new-icon{background:var(--accent);width:46px;height:46px;color:var(--on-accent);box-shadow:var(--shadow-md);border-radius:14px;place-items:center;margin-bottom:4px;display:grid}.project-card.is-loading .project-thumb{background:var(--hover)}.ghost-line{background:var(--hover);border-radius:6px;width:72%;height:10px;display:block}.ghost-line.is-short{width:42%;height:8px}.is-loading .ghost-line,.is-loading .project-thumb{animation:1.3s ease-in-out infinite shimmer}@keyframes shimmer{50%{opacity:.5}}.projects-note{color:var(--muted);font-size:var(--fs-small);align-items:center;gap:8px;margin:0;display:flex}.projects-locked{min-height:420px;position:relative}.project-grid.is-ghost{filter:blur(1.5px);opacity:.45;pointer-events:none;-webkit-user-select:none;user-select:none}.glass-card{border:1px solid var(--border);background:var(--surface);width:min(440px,100% - 24px);box-shadow:var(--shadow-lg);text-align:center;border-radius:22px;justify-items:center;gap:10px;padding:30px 28px;display:grid;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.glass-card h2{font-size:24px}.glass-card p{color:var(--muted);font-size:var(--fs-body);line-height:1.6}.glass-icon{background:var(--block-bg);width:48px;height:48px;color:var(--accent);border-radius:15px;place-items:center;display:grid}.glass-actions{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:6px;display:flex}.modal{max-width:calc(100vw - 24px);max-height:calc(100vh - 24px);color:var(--ink);background:0 0;border:0;padding:0;overflow:visible}.modal:focus,.modal:focus-visible{outline:none}.modal::backdrop{background:var(--scrim-solid)}.modal[open] .modal-body{animation:modal-in .18s var(--ease-out)}.modal[open]::backdrop{animation:.16s fade-in}@keyframes modal-in{0%{opacity:0;transform:translateY(6px)}}@keyframes fade-in{0%{opacity:0}}.modal-body{border:1px solid var(--border);background:var(--surface);border-radius:14px;max-height:calc(100vh - 24px);position:relative;overflow:auto;box-shadow:0 24px 48px -24px #0006}.modal-body h2{letter-spacing:-.04em;text-wrap:balance;font-weight:700;line-height:1.15}.auth-close,.paywall-close{z-index:2;position:absolute;top:10px;right:10px}.key-strip{border:1px solid var(--key-line);background:var(--piano-white);border-radius:0 0 4px 4px;width:98px;height:30px;display:flex;position:relative;overflow:hidden}.key-strip i{border-right:1px solid var(--key-separator);flex:1}.key-strip i:last-child{border-right:0}.key-strip:before,.key-strip:after{background:var(--piano-black);content:"";border-radius:0 0 2px 2px;width:9px;height:18px;position:absolute;top:0}.key-strip:before{box-shadow:14px 0 0 var(--piano-black);left:9px}.key-strip:after{box-shadow:14px 0 0 var(--piano-black), 28px 0 0 var(--piano-black);left:37px}.key-strip i:nth-child(3){box-shadow:inset 0 -4px 0 var(--accent)}.confirm-dialog .modal-body{flex-direction:column;align-items:flex-start;width:min(400px,100vw - 24px);padding:26px 24px 18px;display:flex}.confirm-dialog-icon{border:1px solid var(--border-strong);width:36px;height:36px;color:var(--ink);border-radius:10px;place-items:center;margin-bottom:14px;display:grid}.confirm-dialog.is-danger .confirm-dialog-icon{border-color:var(--danger-border);color:var(--danger)}.confirm-dialog h2{margin:0 0 8px;font-size:20px}.confirm-dialog-text{max-width:32em;color:var(--ink-soft);text-wrap:pretty;line-height:1.55}.confirm-dialog-text p{margin:0}.confirm-dialog-text p+p{margin-top:8px}.confirm-dialog .form-error{margin:12px 0 0}.confirm-dialog-actions{gap:8px;width:100%;margin-top:22px;display:grid}.confirm-dialog-actions .button{white-space:normal;width:100%;min-height:44px}.confirm-dialog-actions .button-text{min-height:38px}.auth-dialog .modal-body{gap:14px;width:min(380px,100vw - 24px);padding:26px 26px 18px;display:grid}.auth-wordmark{letter-spacing:-.085em;font-size:20px;font-weight:700;line-height:1}.auth-wordmark span{color:var(--accent-ink)}.auth-title{letter-spacing:-.045em;margin-top:10px;font-size:24px;font-weight:700}.auth-lead{color:var(--muted);font-size:var(--fs-base);margin-top:-8px;line-height:1.5}.auth-form-fields{gap:14px;margin-top:2px;display:grid}.auth-form-fields .button{margin-top:4px}.auth-label-row{justify-content:space-between;align-items:baseline;gap:10px;display:flex}.auth-inline-link{color:var(--ink);font-size:var(--fs-small);text-decoration:underline;-webkit-text-decoration-color:var(--accent);text-decoration-color:var(--accent);text-underline-offset:3px;background:0 0;border:0;padding:0;font-weight:600;text-decoration-thickness:2px}.auth-inline-link:hover{color:var(--accent-text)}.auth-feedback{background:var(--hover);border-radius:8px;padding:10px 12px}.auth-switch-line{border-top:1px solid var(--border);color:var(--muted);font-size:var(--fs-small);margin-top:2px;padding-top:14px}.auth-skip{font-size:var(--fs-small);justify-self:start;margin-top:-8px;padding-left:0}.auth-unavailable{border:1px dashed var(--border-strong);color:var(--muted);font-size:var(--fs-small);border-radius:8px;flex-wrap:wrap;align-items:center;gap:2px 8px;padding:8px 10px;display:flex}.auth-unavailable p{margin:0}.paywall-dialog::backdrop{background:var(--scrim);-webkit-backdrop-filter:blur(10px)saturate(.8);backdrop-filter:blur(10px)saturate(.8)}.paywall-dialog.is-locked::backdrop{background:var(--scrim-solid);-webkit-backdrop-filter:blur(28px)saturate(.6);backdrop-filter:blur(28px)saturate(.6)}.paywall-dialog .modal-body{width:min(460px,100vw - 24px);padding:30px 28px 20px}.paywall-dialog .modal-body:has(>.offer){width:min(900px,100vw - 32px);padding:0}.offer{grid-template:"pitch list""buy list"1fr/minmax(0,1fr) minmax(0,1.08fr);min-height:100%;display:grid}.offer-pitch{grid-area:pitch;align-content:start;gap:14px;padding:36px 34px 24px;display:grid}.offer-pitch .key-strip{margin-bottom:6px}.offer-pitch h2{letter-spacing:-.05em;max-width:13em;font-size:clamp(26px,2.6vw,34px);line-height:1.08}.offer-pitch p{max-width:34em;color:var(--ink-soft);text-wrap:pretty;margin:0;font-size:15px;line-height:1.55}.paywall-listening{border:1px solid var(--accent-soft-border);background:var(--accent-soft);border-radius:12px;align-items:center;gap:12px;margin-top:6px;padding:10px 10px 10px 14px;display:flex}.paywall-eq{align-items:flex-end;gap:3px;width:22px;height:18px;display:flex}.paywall-eq i{background:var(--accent);border-radius:2px;flex:1;height:30%}.paywall-listening.is-playing .paywall-eq i{animation:1s ease-in-out infinite paywall-eq}.paywall-listening.is-playing .paywall-eq i:nth-child(2){animation-delay:-.35s}.paywall-listening.is-playing .paywall-eq i:nth-child(3){animation-delay:-.7s}.paywall-listening.is-playing .paywall-eq i:nth-child(4){animation-delay:-.2s}@keyframes paywall-eq{0%,to{height:25%}50%{height:100%}}.paywall-listening-text{flex:auto;gap:1px;display:grid}.paywall-listening-text strong{font-size:var(--fs-base)}.paywall-listening-time{color:var(--ink-soft);font:500 var(--fs-meta) var(--font-music)}.paywall-listening-toggle{flex:none}.offer-buy{border-top:1px solid var(--border);grid-area:buy;align-self:end;gap:14px;margin:0 34px;padding:22px 0;display:grid}.offer-price{align-items:center;gap:14px;margin:0;display:flex}.offer-price strong{font:500 46px/1 var(--font-music);letter-spacing:-.05em}.offer-price>span{color:var(--ink);font-size:var(--fs-base);gap:2px;font-weight:600;display:grid}.offer-price small{color:var(--muted);font-size:var(--fs-small);font-weight:400}.offer-cta{min-height:50px;font-size:15px}.offer-buy-foot{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 16px;display:flex}.offer-buy-foot .link-button{padding-left:0}.offer-terms{color:var(--muted);font-size:var(--fs-small);margin:0;line-height:1.5}.offer-terms a{color:var(--ink);-webkit-text-decoration-color:var(--accent);text-decoration-color:var(--accent);text-underline-offset:3px}.offer-list{border-left:1px solid var(--border);background:var(--canvas);grid-area:list;padding:34px 30px 26px;container-type:inline-size}.offer-list-head{justify-content:space-between;align-items:baseline;gap:12px;padding:0 0 12px;display:flex}.paywall-dialog:not(.is-locked) .offer-list-head{padding-right:40px}.offer-list-head h3{letter-spacing:-.02em;font-size:15px;font-weight:700}.offer-list-head span{color:var(--muted);font-size:var(--fs-small)}.offer-list ul{margin:0;padding:0;list-style:none}.offer-list li{border-top:1px solid var(--border);grid-template-columns:20px minmax(0,1fr) auto;grid-template-areas:"icon text free";align-items:start;gap:2px 14px;padding:13px 0;display:grid}.offer-list-icon{color:var(--accent-text);grid-area:icon;margin-top:2px}.offer-list-text{grid-area:text;gap:2px;display:grid}.offer-list-text strong{font-size:var(--fs-base);letter-spacing:-.01em;font-weight:650}.offer-list-text span{color:var(--muted);font-size:var(--fs-small);text-wrap:pretty;line-height:1.45}.offer-list-free{color:var(--muted);font-size:var(--fs-small);text-align:right;white-space:nowrap;grid-area:free;padding-top:1px}.offer-list-free-label{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.offer-list li.is-focus{background:var(--accent-soft);box-shadow:inset 3px 0 0 var(--accent);border-top-color:#0000;border-radius:10px;margin:0 -14px;padding:13px 14px}.offer-list li.is-focus+li{border-top-color:#0000}.offer-list li.is-focus .offer-list-text span,.offer-list li.is-focus .offer-list-free{color:var(--ink-soft)}@container (max-width:380px){.offer-list-head span{display:none}.offer-list li{grid-template-columns:20px minmax(0,1fr);grid-template-areas:"icon text""icon free"}.offer-list-free{font-size:var(--fs-meta);text-align:left;white-space:normal;padding-top:3px}.offer-list-free-label{clip:auto;width:auto;height:auto;position:static;overflow:visible}.offer-list-free-value{display:inline-block}.offer-list-free-value:first-letter{text-transform:lowercase}}@media (max-height:620px) and (min-width:761px){.offer-pitch{gap:10px;padding:20px 26px 12px}.offer-pitch .key-strip{display:none}.offer-pitch h2{font-size:22px}.offer-pitch p{font-size:var(--fs-base)}.offer-buy{gap:8px;margin:0 26px;padding:10px 0 12px}.offer-cta{min-height:44px}.offer-price strong{font-size:34px}.offer-list{scrollbar-width:thin;max-height:calc(100dvh - 32px);padding:22px 24px 16px;overflow-y:auto}.offer-list li{padding:9px 0}}@media (max-height:460px) and (min-width:761px){.offer-pitch>p{display:none}}@media (min-width:1680px) and (min-height:980px){.paywall-dialog .modal-body:has(>.offer){zoom:1.18}}@media (min-width:2400px) and (min-height:1300px){.paywall-dialog .modal-body:has(>.offer){zoom:1.6}}@media (min-width:3200px) and (min-height:1800px){.paywall-dialog .modal-body:has(>.offer){zoom:2.1}}.app-shell.is-preview-locked .main-content,.app-shell.is-preview-locked .app-header{filter:blur(24px)grayscale(.6);pointer-events:none;-webkit-user-select:none;user-select:none}.app-shell.is-preview-locked .editor-main,.app-shell.is-preview-locked .editor-keyboard,.app-shell.is-preview-locked .editor-source{visibility:hidden}.paywall-pending{justify-items:start;gap:12px;max-width:460px;padding:6px 0 4px;display:grid}.paywall-pending h2{font-size:24px}.paywall-pending p{color:var(--muted);line-height:1.6}.card-checkout{gap:14px;max-width:440px;margin:0 auto;padding:2px 0;display:grid}.card-checkout h2{font-size:24px}.card-checkout-lead{color:var(--ink-soft);margin:0;line-height:1.55}.card-status{min-height:1.2em;color:var(--ink-soft);font-size:var(--fs-small);margin:0}.card-secure{color:var(--muted);font-size:var(--fs-small);line-height:1.5}.card-checkout .link-button{justify-self:start;padding-left:0}.feedback-dialog .modal-body{width:min(460px,100vw - 24px);padding:26px 24px 18px}.feedback-form{gap:16px;display:grid}.feedback-head{gap:6px;padding-right:32px;display:grid}.feedback-head h2{font-size:22px}.feedback-head p{color:var(--muted);font-size:var(--fs-base);line-height:1.5}.feedback-kinds{border:0;flex-wrap:wrap;gap:6px;min-width:0;margin:0;padding:0;display:flex}.feedback-kind{border:1px solid var(--border-strong);min-height:36px;color:var(--ink-soft);font-size:var(--fs-body);cursor:pointer;border-radius:999px;align-items:center;gap:7px;padding:0 13px;font-weight:600;transition:border-color .12s,background-color .12s;display:inline-flex;position:relative}.feedback-kind input{opacity:0;cursor:pointer;width:100%;height:100%;margin:0;position:absolute;inset:0}.feedback-kind:hover{border-color:var(--ink-soft)}.feedback-kind.is-on{border-color:var(--ink);background:var(--ink);color:var(--canvas)}.feedback-kind:has(input:focus-visible){outline:3px solid var(--sec);outline-offset:2px}.feedback-label-row{justify-content:space-between;align-items:baseline;gap:10px;display:flex}.feedback-count{color:var(--muted);font:var(--fs-meta) var(--font-music)}.feedback-field textarea{resize:vertical;border:1px solid var(--border-strong);background:var(--raised);width:100%;min-height:128px;color:var(--ink);font:16px/1.5 var(--font-interface);border-radius:8px;padding:10px 12px}.feedback-field textarea::placeholder{color:var(--muted);opacity:.8}.feedback-field textarea:focus{border-color:var(--sec);box-shadow:0 0 0 3px var(--sec-soft);outline:none}.feedback-privacy{color:var(--muted);font-size:var(--fs-small);text-wrap:pretty;line-height:1.5}.feedback-sent{justify-items:start;gap:12px;padding:4px 0;display:grid}.feedback-sent h2{font-size:22px}.feedback-sent p{max-width:36ch;color:var(--muted);overflow-wrap:anywhere;line-height:1.6}.feedback-sent p strong{color:var(--ink)}.feedback-sent-actions{flex-wrap:wrap;align-items:center;gap:4px 14px;margin-top:6px;display:flex}.sent-mark{border:1px solid var(--border-strong);width:36px;height:36px;color:var(--success-dot);border-radius:10px;place-items:center;display:grid}.preview-veil{z-index:7;top:24px;bottom:0;right:0;left:calc(var(--keys-width) + (100% - var(--keys-width)) * var(--veil-start) / 100);background:var(--veil);place-items:center;padding:10px;display:grid;position:absolute}.preview-veil-line{border-left:2px dashed var(--accent-ink);position:absolute;top:0;bottom:0;left:0}.preview-veil-card{border:1px solid var(--border);background:var(--surface);max-width:100%;box-shadow:var(--shadow-md);color:var(--ink);font-size:var(--fs-small);text-align:left;border-radius:999px;align-items:center;gap:8px;padding:8px 12px;display:inline-flex}.preview-veil-card .icon{color:var(--accent-ink)}.lane-link{color:var(--ink);text-underline-offset:3px;background:0 0;border:0;padding:0;font-weight:600;text-decoration:underline}.editor{grid-template-columns:minmax(0,1fr);gap:14px;display:grid}.editor>*{min-width:0}.project-bar{flex:1;align-items:center;gap:12px;min-width:0;display:flex}.project-back{display:none}.project-title{flex-direction:column;flex:0 auto;gap:0;min-width:0;display:flex}.project-title h1{letter-spacing:-.04em;margin:0;font-size:17px}.project-title h1:focus{outline:none}.rename-button{max-width:100%;font:inherit;letter-spacing:inherit;background:0 0;border:0;border-radius:6px;align-items:center;gap:8px;margin:-2px -4px;padding:2px 4px;font-weight:700;display:inline-flex}.rename-button span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.rename-button .icon{color:var(--muted)}.rename-button:hover{background:var(--hover)}.rename-input{border:1px solid var(--sec);background:var(--raised);letter-spacing:-.03em;border-radius:6px;width:min(360px,60vw);padding:4px 8px;font-size:18px;font-weight:700}.project-meta{color:var(--muted);font:var(--fs-meta) var(--font-music)}.project-actions{flex:none;align-items:center;gap:6px;margin-left:auto;display:flex}.saved-state{color:var(--muted);font:var(--fs-meta) var(--font-music);align-items:center;gap:6px;margin-right:4px;display:inline-flex}.saved-state i{background:var(--success-dot);border-radius:50%;width:7px;height:7px}.project-menu{position:relative}.menu-popover{z-index:25;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);min-width:260px;box-shadow:var(--shadow-lg);padding:6px;display:grid;position:absolute;top:calc(100% + 6px);right:0}.menu-popover button{font-size:var(--fs-body);text-align:left;background:0 0;border:0;border-radius:6px;padding:9px 10px}.menu-popover button:hover:not(:disabled){background:var(--hover)}.menu-popover button.is-danger{color:var(--danger)}.transport{z-index:15;border-bottom:1px solid var(--border);background:var(--raised);flex-wrap:wrap;align-items:center;gap:8px 12px;margin:0 -24px;padding:7px 24px;display:flex;position:relative}.transport-main{align-items:center;gap:4px;display:flex}.play-button{background:var(--accent);width:44px;height:44px;color:var(--on-accent);box-shadow:var(--shadow-sm);border:0;border-radius:50%;place-items:center;margin-right:4px;padding:0;display:grid}.play-button:hover{background:var(--accent-hover)}.transport-time{font:500 15px var(--font-music);font-variant-numeric:tabular-nums;white-space:nowrap;padding:0 6px}.transport-time small{color:var(--muted);font-size:12px;font-weight:400}.transport-sep{background:var(--border);width:1px;height:26px}.transport-group{align-items:center;gap:7px;display:flex}.transport-label{color:var(--muted);font-size:var(--fs-small)}.transport-listen>.icon{color:var(--muted)}.transport-loop.is-on{border-color:var(--sec);background:var(--sec-soft);color:var(--ink)}.transport-end{flex-wrap:wrap;align-items:center;gap:8px 10px;margin-left:auto;display:flex}.transport-zoom{display:flex}.tempo-chip{border:1px solid var(--border);background:var(--surface);color:var(--muted);font:var(--fs-meta) var(--font-music);border-radius:999px;align-items:center;gap:4px;padding:3px 10px 3px 4px;display:inline-flex}.tempo-chip input{width:5.6ch;color:var(--ink);font:500 var(--fs-small) var(--font-music);-moz-appearance:textfield;background:0 0;border:0;border-radius:999px;padding:2px 2px 2px 8px}.tempo-chip input::-webkit-inner-spin-button{opacity:.4}.transport-key{gap:4px}.transport-key .transport-label{margin-right:3px}.key-select{border:1px solid var(--border);background:var(--surface);color:var(--ink);cursor:pointer;border-radius:999px;align-items:center;transition:border-color .15s,background-color .15s;display:inline-flex;position:relative}.key-select:hover{border-color:var(--border-strong)}.key-select:focus-within{outline:3px solid var(--sec);outline-offset:2px}.key-select.is-on{border-color:var(--sec);background:var(--sec-soft)}.key-select-value{min-height:30px;font:500 var(--fs-small) var(--font-music);white-space:nowrap;align-items:center;gap:6px;padding:0 8px 0 12px;display:inline-flex}.key-select-value .icon{color:var(--muted)}.key-select-shift{background:var(--sec-strong);color:var(--canvas);font-size:var(--fs-meta);font-variant-numeric:tabular-nums;border-radius:999px;padding:1px 6px}.key-select select{opacity:0;cursor:pointer;border:0;width:100%;height:100%;margin:0;font-size:16px;position:absolute;inset:0}.key-reset{width:28px;height:28px;color:var(--muted)}@media (prefers-reduced-motion:reduce){.key-select{transition:none}}.editor-source{gap:8px;display:grid}.banner{border:1px solid var(--accent-soft-border);border-radius:var(--radius);background:var(--accent-soft);font-size:var(--fs-body);flex-wrap:wrap;align-items:center;gap:8px 12px;padding:7px 8px 7px 14px;display:flex}.banner>.icon{color:var(--accent-text)}.banner p{color:var(--ink-soft);flex:260px;margin:0}.banner-short{display:none}.banner.is-quiet{background:0 0;border-color:#0000;padding:2px}.banner.is-quiet p{color:var(--muted);font-size:var(--fs-small)}.banner.is-quiet>.icon{color:var(--muted)}.banner.is-busy{border-color:var(--border);background:var(--surface)}.banner.is-busy .progress{flex:160px}.banner.is-busy .banner-stop{margin-left:auto}.banner.is-warning{border-color:var(--danger-border);background:var(--danger-soft)}.banner.is-warning p{color:var(--danger)}.banner-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.source-file{max-width:520px}.view-editor .source-file{display:none}.video-player{border-radius:var(--radius);object-fit:contain;background:#171717;width:100%;max-width:480px;max-height:220px;display:block}.mobile-bar,.transport-progress{display:none}.transport-rate-cycle{border:1px solid var(--border);min-width:52px;height:34px;color:var(--ink);font:500 13px var(--font-music);background:0 0;border-radius:8px;place-items:center;padding:0 10px;display:inline-grid}.transport-rate-cycle:hover{border-color:var(--border-strong);background:var(--hover)}.editor-main{grid-template-columns:minmax(0,1fr) 290px;align-items:start;gap:14px;display:grid}.timeline{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);min-width:0;padding:10px 10px 6px}.timeline-title{flex-wrap:wrap;align-items:baseline;gap:4px 14px;min-width:0;display:flex}.timeline-count{font:500 var(--fs-small) var(--font-music)}.chord-meta{color:var(--muted);font:var(--fs-meta) var(--font-music);gap:10px;display:inline-flex}.chord-meta-muted{color:var(--muted)}.timeline-nav{align-items:center;gap:2px;display:flex}.timeline-range{min-width:13ch;color:var(--muted);font:var(--fs-small) var(--font-music);text-align:center}.timeline-scroll{overscroll-behavior-x:contain;overflow-x:auto}.timeline-body{min-width:520px;position:relative}.timeline-row{grid-template-columns:var(--keys-width) minmax(0, 1fr);display:grid}.lane-label{border-bottom:1px solid var(--border);color:var(--muted);font:9.5px var(--font-music);letter-spacing:.08em;text-transform:uppercase;align-items:center;padding-left:2px;display:flex}.ruler{border-bottom:1px solid var(--border);height:24px;font:10px var(--font-music);position:relative}.ruler-bar{border-left:1px solid var(--bar-line);height:18px;color:var(--ink);padding-left:4px;font-weight:500;position:absolute;top:3px}.ruler-second{color:var(--muted);white-space:nowrap;position:absolute;top:5px;transform:translate(-50%)}.lane{border-bottom:1px solid var(--border);height:36px;position:relative}.lane-status{color:var(--muted);font-size:var(--fs-small);white-space:nowrap;align-items:center;margin:0;padding:0 10px;display:flex;position:absolute;inset:0;overflow:hidden}.chord-list{margin:0;padding:0;list-style:none}.chord-slot{padding:0 1px;position:absolute;top:4px;bottom:4px}.chord{border:1px solid var(--border-strong);background:var(--raised);text-align:left;border-radius:6px;flex-direction:column;justify-content:center;width:100%;min-width:0;height:100%;padding:0 6px;display:flex;overflow:hidden}.chord:hover{border-color:var(--muted)}.chord-symbol{font:600 11.5px/1.15 var(--font-music);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.chord-roman{color:var(--muted);font:9.5px/1.1 var(--font-music);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.chord.is-special{border-style:dashed;border-color:var(--sec)}.chord.is-uncertain .chord-symbol:after{color:var(--muted);content:" ?";font-weight:400}.chord.is-current{border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink);background:var(--accent-soft)}.chord-modulation{z-index:2;border-left:2px solid var(--sec);color:var(--sec);font:10px/1 var(--font-music);white-space:nowrap;padding-left:4px;position:absolute;top:-12px}.wave-lane{cursor:crosshair;touch-action:pan-y;-webkit-user-select:none;user-select:none;height:46px}.wave-svg{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.wave-bar{stroke:var(--accent-ink);stroke-linecap:round;stroke-width:1.2px}.loop-region{border-right:2px solid var(--sec);border-left:2px solid var(--sec);background:var(--sec-soft);opacity:.6;pointer-events:none;position:absolute;top:0;bottom:0}.loop-region.is-active,.loop-region.is-draft{opacity:1}.loop-region span{color:var(--sec);font:9px var(--font-music);white-space:nowrap;position:absolute;top:2px;left:4px}.roll-row{align-items:start}.vkeys{border-right:1px solid var(--key-line);background:var(--piano-white);flex-direction:column;display:flex}.vkey{border-bottom:1px solid var(--key-separator);cursor:pointer;position:relative}.vkey.is-black:before{background:var(--piano-black);content:"";border-radius:0 3px 3px 0;width:62%;position:absolute;top:0;bottom:0;left:0}.vkey em{color:#5a5d63;font:8.5px var(--font-music);pointer-events:none;font-style:normal;position:absolute;top:50%;right:4px;transform:translateY(-50%)}.vkey.is-playing{box-shadow:inset -4px 0 0 var(--sec-strong)}.vkey.is-playing:after{background:var(--sec-strong);content:"";border-radius:50%;width:6px;height:6px;margin-top:-3px;position:absolute;top:50%;right:9px}.vkey.is-focus{box-shadow:inset -2px 0 0 var(--accent-ink)}.roll-grid{background:var(--grid);cursor:crosshair;position:relative;overflow:hidden}.grid-row.is-black{background:var(--grid-black);pointer-events:none;position:absolute;left:0;right:0}.grid-rows{background-image:linear-gradient(to bottom, transparent calc(100% - 1px), var(--grid-line) calc(100% - 1px));pointer-events:none;position:absolute;inset:0}.beat-line{border-left:1px dotted var(--beat-line);pointer-events:none;position:absolute;top:0;bottom:0}.beat-line.is-bar{border-left:1px solid var(--bar-line)}.insert-cursor{z-index:2;border-left:2px dashed var(--sec);pointer-events:none;position:absolute;top:0;bottom:0}.note{z-index:1;border:1px solid var(--note-right-border);background:var(--note-right);cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;border-radius:3px;padding:0;position:absolute}.note:active{cursor:grabbing}.note.is-left{border-color:var(--note-left-border);background-color:var(--note-left);background-image:repeating-linear-gradient(135deg, transparent 0 5px, var(--note-hatch) 5px 6px)}.note.is-edited:before{background:var(--ink);clip-path:polygon(0 0,100% 0,0 100%);content:"";width:6px;height:6px;position:absolute;top:-1px;left:-1px}.note.is-selected{z-index:3;outline:2px solid var(--ink);outline-offset:1px}.note.is-selected:after{content:"";background:#242831b3;border-radius:2px;width:3px;position:absolute;top:2px;bottom:2px;left:2px}.note.is-playing{z-index:4;border-color:var(--accent);background:var(--note-playing);box-shadow:0 0 0 2px var(--accent)}.note-handle{cursor:ew-resize;touch-action:none;width:35%;max-width:14px;position:absolute;top:-4px;bottom:-4px;right:0}.note-handle:after{content:"";opacity:0;border-left:2px solid #242831b3;position:absolute;top:6px;bottom:6px;right:2px}.note:hover .note-handle:after,.note.is-selected .note-handle:after{opacity:1}.editor.is-transcribing .editor-main,.editor.is-transcribing .editor-keyboard{opacity:.45;pointer-events:none;transition:opacity .2s}.empty-roll{color:var(--muted);font-size:var(--fs-body);text-align:center;pointer-events:none;margin:0;position:absolute;inset:40% 10% auto}.playhead{z-index:6;top:24px;bottom:0;left:calc(var(--keys-width) + (100% - var(--keys-width)) * var(--playhead) / 100);background:var(--playhead);pointer-events:none;width:2px;margin-left:-1px;position:absolute}.playhead:before{border:6px solid #0000;border-top:8px solid var(--playhead);content:"";position:absolute;top:-1px;left:-5px}.timeline-foot{color:var(--muted);font-size:var(--fs-small);flex-wrap:wrap;align-items:center;gap:4px 18px;padding-top:6px;display:flex}.timeline-legend{flex-wrap:wrap;align-items:center;gap:4px 14px;display:flex}.timeline-legend>span{align-items:center;gap:6px;display:inline-flex}.timeline-foot .timeline-nav{margin-left:auto}.swatch{border:1px solid var(--note-right-border);background:var(--note-right);border-radius:2px;width:14px;height:9px;display:inline-block}.swatch.is-left{border-color:var(--note-left-border);background-color:var(--note-left);background-image:repeating-linear-gradient(135deg, transparent 0 4px, var(--note-hatch) 4px 5px)}.swatch.is-edited{position:relative}.swatch.is-edited:before{background:var(--ink);clip-path:polygon(0 0,100% 0,0 100%);content:"";width:5px;height:5px;position:absolute;top:-1px;left:-1px}.swatch-playhead{background:var(--playhead);width:2px;height:12px;display:inline-block}.timeline-help{color:var(--muted)}.inspector{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);align-content:start;gap:14px;min-height:0;padding:16px;display:grid;position:relative;overflow:auto}.sheet-grab{display:none}.inspector-head{align-items:flex-start;gap:8px;display:flex}.inspector-head>div{flex:1;min-width:0}.inspector-note{font:500 30px/1 var(--font-music);letter-spacing:-.04em;margin-top:2px}.inspector-note small{color:var(--muted);font-size:var(--fs-small);letter-spacing:0;margin-left:8px}.inspector:not(.has-note) .inspector-note{font:700 19px/1.2 var(--font-interface);letter-spacing:-.04em}.inspector-close{display:none}.inspector-controls{gap:10px;display:grid}.stepper{grid-template-columns:minmax(0,1fr) 32px 84px 32px;align-items:center;gap:6px;display:grid}.stepper .icon-button{width:32px;height:32px}.stepper-label{color:var(--muted);font-size:var(--fs-small)}.stepper-value{border:1px solid var(--border);background:var(--raised);font:500 var(--fs-body) var(--font-music);text-align:center;border-radius:6px;padding:5px 0}.velocity{gap:4px;display:grid}.velocity-head{color:var(--muted);font-size:var(--fs-small);justify-content:space-between;display:flex}.velocity-head output{color:var(--ink);font:500 var(--fs-small) var(--font-music)}.velocity input{width:100%;height:26px;accent-color:var(--accent-ink)}.inspector-actions{grid-template-columns:1fr 1fr;gap:8px;display:grid}.inspector-empty{color:var(--muted);font-size:var(--fs-body);gap:12px;display:grid}.inspector-empty .button{justify-self:start}.shortcuts{border-top:1px solid var(--border);color:var(--muted);font-size:var(--fs-small);gap:6px;margin:0;padding-top:12px;display:grid}.shortcuts div{justify-content:space-between;gap:8px;display:flex}.shortcuts dt,.shortcuts dd{margin:0}.keyboard-drawer{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);padding:6px 12px 10px}.keyboard-summary{cursor:pointer;flex-wrap:wrap;align-items:center;gap:4px 12px;padding:2px 0;list-style:none;display:flex}.keyboard-summary::-webkit-details-marker{display:none}.keyboard-chevron{width:26px;height:26px;color:var(--muted);border-radius:6px;place-items:center;transition:transform .15s;display:grid}.keyboard-drawer:not([open]) .keyboard-chevron{transform:rotate(-90deg)}.keyboard-title{font-size:var(--fs-base);font-weight:700}.keyboard-status,.keyboard-key{color:var(--muted);font:var(--fs-meta) var(--font-music)}.keyboard-key{margin-left:auto}.keyboard-key strong{color:var(--ink);font-weight:500}.keyboard-scroll{overscroll-behavior-x:contain;margin-top:6px;padding:2px 2px 6px;overflow:auto hidden}.piano-keyboard{width:100%;min-width:1040px;height:112px;position:relative}.white-key-row{border:1px solid var(--key-line);border-radius:0 0 6px 6px;grid-template-columns:repeat(52,minmax(20px,1fr));width:100%;min-width:1040px;height:112px;display:grid;overflow:hidden}.piano-key{justify-content:center;align-items:flex-end;padding:0;display:flex;position:relative}.piano-key-white{background:var(--piano-white);border:0;border-right:1px solid #c6c1b4;border-radius:0;height:100%}.piano-key-white:last-child{border-right:0}.piano-key-white span{z-index:2;color:#44474d;font:9px var(--font-music);white-space:nowrap;padding:0 1px 4px;position:relative}.piano-key-white.is-selected{box-shadow:inset 0 0 0 2.5px #7c5c00}.piano-key-white.is-selected:after{content:"";background:#7c5c00;border-radius:50%;width:6px;height:6px;position:absolute;bottom:30px}.piano-key-white.is-playing{z-index:1;box-shadow:inset 0 -28px #e4bb42,inset 0 -30px #4a5ae8,inset 0 0 0 3px #4a5ae8,0 3px 10px #4a5ae859}.piano-key-white.is-playing span{color:#1b1f26;font-weight:700}.piano-key-white.is-playing:before{content:"";background:#4a5ae8;border:2px solid #fff;border-radius:50%;width:10px;height:10px;position:absolute;bottom:11px}.black-key-row{z-index:2;pointer-events:none;width:100%;min-width:1040px;height:64px;position:absolute;inset:0}.piano-key-black{background:var(--piano-black);pointer-events:auto;border:1px solid #070707;border-radius:0 0 3px 3px;width:clamp(12px,1.25%,22px);height:64px;position:absolute;top:1px;transform:translate(-50%)}.piano-key-black.is-selected{outline-offset:1px;outline:2.5px solid #c28708}.piano-key-black.is-playing{z-index:3;outline-offset:1px;outline:3px solid #6978ef;box-shadow:inset 0 -24px #e4bb42,inset 0 -26px #6978ef,0 0 0 1.5px #fff,0 4px 10px #4a5ae88c}.piano-key-black.is-playing:before{content:"";background:#242831;border:2px solid #fff;border-radius:50%;width:9px;height:9px;margin-left:-4.5px;position:absolute;bottom:7px;left:50%}.app-shell.view-editor{height:100dvh;min-height:0;overflow:hidden}.view-editor .main-content{flex-direction:column;min-height:0;padding-bottom:10px;display:flex}.view-editor .editor{flex-direction:column;flex:1;gap:10px;min-height:0;display:flex}.view-editor .editor>*{flex:none}.view-editor .editor-main{flex:1 1 0;grid-template-rows:minmax(0,1fr);align-items:stretch;min-height:0}.view-editor .timeline{flex-direction:column;min-height:0;display:flex}.view-editor .timeline-scroll{--roll-fit:1;overscroll-behavior:contain;flex:1 1 0;min-height:0;overflow:auto}.view-editor .editor-source:empty{display:none}@media (max-width:1500px){.transport .transport-label{display:none}}@media (max-width:1240px){.timeline-legend{display:none}}@media (max-height:720px) and (min-width:761px){.piano-keyboard,.white-key-row{height:96px}.black-key-row,.piano-key-black{height:58px}}@media (max-height:540px){.app-shell.view-editor{height:auto;overflow:visible}.view-editor .editor-main,.view-editor .timeline-scroll{flex:none}.view-editor .timeline-scroll{--roll-fit:0;overflow-y:visible}}@media (max-width:1100px){.editor-main{grid-template-columns:minmax(0,1fr) 260px}.transport-listen .transport-label{display:none}}@media (max-width:960px){.hero{grid-template-columns:1fr;gap:40px}.hero-visual{max-width:640px;margin-top:0}.editor-main{grid-template-columns:1fr}.shortcuts{display:none}}@media (min-width:761px) and (max-width:960px){.view-editor .editor-main{position:relative}.view-editor .inspector{z-index:8;width:300px;max-height:calc(100% - 56px);box-shadow:var(--shadow-lg);display:none;position:absolute;bottom:44px;right:12px}.view-editor .editor.has-selection .inspector{display:grid}}@media (max-width:760px){:root{--header-height:56px;--keys-width:40px;--fs-body:14px}.app-header{background:var(--surface);-webkit-backdrop-filter:none;backdrop-filter:none;gap:10px;padding:0 14px}.brand{font-size:23px}.main-nav{z-index:21;padding:6px 10px calc(6px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--border);background:var(--surface);order:3;justify-content:space-around;position:fixed;bottom:0;left:0;right:0}.view-editor .main-nav{display:none}.nav-item{flex:1;min-height:40px}.main-content{padding:18px 14px 96px}.app-footer{gap:8px;padding:12px 14px 80px}.footer-main{flex-direction:row;justify-content:space-between;align-items:center;gap:8px}.footer-tagline{display:none}.footer-links{flex:1 0 100%;order:3;justify-content:center;gap:4px 0;font-size:12px}.footer-link{white-space:nowrap;text-decoration:none}.footer-link+.footer-link:before{content:"·";color:var(--border-strong);margin:0 8px}.hero{gap:28px;padding:6px 0 24px}.hero h1{font-size:clamp(42px,12vw,56px)}.drop-zone{padding:16px}.drop-actions{flex-direction:column}.drop-actions .button{width:100%}.hero-preview{transform:none}.hp-body{--hp-keys:36px;grid-template-rows:30px 190px;grid-template-columns:36px 1fr}.project-grid{grid-template-columns:1fr 1fr;gap:10px}.project-thumb{height:86px}.projects-locked{min-height:480px}.glass-card{padding:24px 20px}.modal{width:100vw;max-width:100vw;max-height:100dvh;margin:auto 0 0}.modal-body{border-bottom:0;border-radius:14px 14px 0 0;max-height:92dvh}.modal[open] .modal-body{animation:.26s cubic-bezier(.2,.8,.2,1) sheet-in}@keyframes sheet-in{0%{opacity:0;transform:translateY(40px)}}.auth-dialog .modal-body{width:100%;padding:26px 20px calc(18px + env(safe-area-inset-bottom,0px))}.paywall-dialog .modal-body{width:100%;padding:28px 16px calc(16px + env(safe-area-inset-bottom,0px))}.paywall-dialog .modal-body:has(>.offer){width:100%;padding:0}.feedback-dialog .modal-body{width:100%;padding:28px 18px calc(16px + env(safe-area-inset-bottom,0px))}.header-feedback{padding:0 10px}.header-feedback span{display:none}.app-header>.header-feedback+*{margin-left:-4px}.offer{grid-template:"pitch""list""buy"/minmax(0,1fr)}.offer-pitch{gap:10px;padding:26px 20px 8px}.offer-pitch .key-strip{margin-bottom:2px}.offer-pitch h2{padding-right:36px;font-size:25px}.offer-pitch p{font-size:var(--fs-base)}.offer-list{background:0 0;border-left:0;padding:14px 20px 12px}.offer-list li.is-focus{margin:0 -12px;padding:12px}.offer-buy{z-index:1;padding:14px 20px calc(10px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--border);background:var(--surface);gap:10px;margin:0;position:sticky;bottom:0;box-shadow:0 -16px 24px -18px #00000059}.offer-price{gap:10px}.offer-price strong{font-size:32px}.offer-price>span{font-size:var(--fs-body)}.offer-buy-foot{justify-content:space-between}.app-footer .theme-switch{margin-top:0}.button{min-height:44px}.button-sm{min-height:40px}.icon-button{width:40px;height:40px}.editor{gap:10px}.project-bar{gap:6px}.view-editor .app-header{gap:6px;padding:0 8px 0 4px}.view-editor .brand,.view-editor .account-menu,.view-editor .account-signin,.view-editor .header-feedback{display:none}.project-back{display:inline-grid}.project-meta{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.project-bar>.chip{display:none}.project-title h1{font-size:16px}.project-actions{gap:4px}.saved-state,.project-actions .icon-button[aria-label=Rétablir]{display:none}.export-button{min-height:40px;padding:0 12px}.export-button span{display:none}.export-button:after{content:"MIDI"}}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}.hp-playhead{animation:none;left:30%}}.reset-page{gap:14px;max-width:420px;margin:0 auto;padding:48px 16px;display:grid}.reset-page h1{letter-spacing:-.05em;font-size:28px;font-weight:700}.transport-key{position:relative}.key-trigger{border:1px solid var(--border-strong);background:var(--surface);min-height:34px;color:var(--ink);white-space:nowrap;border-radius:999px;align-items:center;gap:8px;padding:0 10px 0 13px;transition:border-color .15s,background-color .15s;display:inline-flex}.key-trigger:hover{border-color:var(--muted)}.key-trigger[aria-expanded=true]{border-color:var(--accent-ink)}.key-trigger.is-on{border-color:var(--sec);background:var(--sec-soft)}.key-trigger>.icon{color:var(--muted)}.key-trigger-label{color:var(--muted);font-size:var(--fs-small)}.key-trigger-value{font:500 var(--fs-small) var(--font-music);align-items:center;gap:6px;display:inline-flex}.key-trigger-value strong{color:var(--ink);font-weight:600}.key-trigger-from{color:var(--muted)}.key-popover{z-index:40;border:1px solid var(--border);background:var(--surface);border-radius:18px;width:300px;padding:16px 16px 14px;animation:.18s cubic-bezier(.2,.8,.2,1) modal-in;position:absolute;top:calc(100% + 10px);right:0;box-shadow:0 30px 70px -24px #0000008c}.key-popover-title{color:var(--muted);font-size:var(--fs-small);text-align:center}.key-popover-title strong{color:var(--ink)}.key-dial{width:240px;height:240px;margin:10px auto 6px;position:relative}.key-dial-ring{border:1px dashed var(--border-strong);pointer-events:none;border-radius:50%;position:absolute;inset:25px}.key-dial-option{top:calc(50% + var(--y) * 0.8%);left:calc(50% + var(--x) * 0.8%);border:1px solid var(--border-strong);background:var(--raised);width:46px;height:46px;color:var(--ink);border-radius:50%;place-content:center;gap:1px;padding:0;transition:transform .15s,background-color .15s,border-color .15s,box-shadow .15s;display:grid;position:absolute;transform:translate(-50%,-50%)}.key-dial-option:hover{border-color:var(--accent-ink);transform:translate(-50%,-50%)scale(1.08)}.key-dial-option.is-origin{border-width:2px;border-color:var(--accent-ink)}.key-dial-option.is-selected{border-color:var(--accent);background:var(--accent);color:var(--on-accent);transform:translate(-50%,-50%)scale(1.1);box-shadow:0 0 0 5px #e4bb4238,0 8px 20px -6px #e4bb42b3}.key-dial-name{font:700 13px/1 var(--font-interface);letter-spacing:-.02em}.key-dial-shift{color:var(--muted);font:9px/1.1 var(--font-music)}.key-dial-option.is-selected .key-dial-shift{color:var(--on-accent);opacity:.8}.key-dial-center{text-align:center;pointer-events:none;place-content:center;gap:3px;display:grid;position:absolute;inset:66px}.key-dial-center strong{letter-spacing:-.04em;font-size:18px;line-height:1.15}.key-dial-center span{color:var(--muted);font-size:var(--fs-small);line-height:1.3}.key-popover-note{color:var(--muted);font-size:var(--fs-small);text-align:center;margin-bottom:8px}.key-popover-actions{justify-content:space-between;gap:8px;display:flex}.note{background-image:linear-gradient(#ffffff4d,#fff0 65%);border-radius:4px;transition:box-shadow .12s,transform .12s,background-color .12s;box-shadow:0 1px #00000038}.note.is-left{background-image:linear-gradient(180deg, #ffffff42, #fff0 65%), repeating-linear-gradient(135deg, transparent 0 5px, var(--note-hatch) 5px 6px)}.note:hover{box-shadow:0 0 0 1px var(--ink), 0 2px 6px #00000040}.note.is-playing{z-index:4;background-color:var(--accent);box-shadow:0 0 0 1.5px var(--accent), 0 0 16px 3px #e4bb4299;border-color:#fff3c4;transform:scaleY(1.18)}.note.is-left.is-playing{background-color:var(--sec);box-shadow:0 0 0 1.5px var(--sec), 0 0 16px 3px #6978ef99;border-color:#e4e8ff}.playhead{width:2px;box-shadow:0 0 10px 1px color-mix(in srgb, var(--playhead) 70%, transparent)}.playhead:after{background:linear-gradient(to left, color-mix(in srgb, var(--playhead) 12%, transparent), transparent);content:"";pointer-events:none;width:56px;position:absolute;top:0;bottom:0;right:2px}.roll-grid{background-image:linear-gradient(#ffffff05,#0000 40%)}.play-button{transition:background-color .15s,transform .1s}.play-button:active{transform:scale(.94)}.play-button.is-playing{animation:1.8s ease-out infinite play-pulse}@keyframes play-pulse{0%{box-shadow:0 0 #e4bb428c}to{box-shadow:0 0 0 14px #e4bb4200}}.transport-time{letter-spacing:-.01em;font-size:17px}.piano-key{transition:box-shadow 90ms,transform 90ms}.piano-key-white.is-playing{transform:translateY(1px)}.piano-key-black.is-playing{transform:translate(-50%)translateY(1px)}@media (max-width:760px){.key-popover{z-index:60;width:auto;padding-bottom:calc(16px + env(safe-area-inset-bottom,0px));border-radius:22px 22px 0 0;position:fixed;inset:auto 0 0}.key-trigger{min-height:40px;padding:0 10px}.key-trigger-from{display:none}.transport-time{font-size:15px}}@media (prefers-reduced-motion:reduce){.play-button.is-playing{animation:none;box-shadow:0 0 0 4px #e4bb424d}}@media (max-width:1500px){.key-trigger-from{display:none}}.note{animation:.3s cubic-bezier(.2,.8,.2,1) backwards note-in;animation-delay:calc(var(--i,0) * 14ms);transform-origin:0}@keyframes note-in{0%{opacity:0;transform:scaleX(.15)}}.editor.is-transcribing .timeline{position:relative;overflow:hidden}.editor.is-transcribing .timeline:after{z-index:9;content:"";pointer-events:none;background:linear-gradient(90deg,#0000,#e4bb4273,#0000);width:22%;animation:1.9s ease-in-out infinite listen-sweep;position:absolute;top:0;bottom:0;left:0}@keyframes listen-sweep{0%{transform:translate(-100%)}to{transform:translate(460%)}}:root{--ease-out:cubic-bezier(.2, .8, .2, 1);interpolate-size:allow-keywords}.main-content{view-transition-name:main}::view-transition-old(root){animation-duration:.24s}::view-transition-new(root){animation-duration:.24s}::view-transition-old(main){animation:.18s ease-in both vt-out}::view-transition-new(main){animation:vt-in .4s var(--ease-out) both}@keyframes vt-out{to{opacity:0;transform:translateY(-8px)}}@keyframes vt-in{0%{opacity:0;transform:translateY(14px)}}@keyframes line-draw{to{stroke-dashoffset:0}}@keyframes dot-in{to{opacity:1}}.drop-zone{position:relative;overflow:hidden}.drop-zone.is-dragging .drop-icon{transform:translateY(-3px)scale(1.06)}.drop-icon{transition:transform .2s var(--ease-out)}.progress i{position:relative;overflow:hidden}.project-line{width:calc(100% - 28px);height:calc(100% - 28px);position:absolute;inset:14px;overflow:visible}.project-line .stroke{fill:none;stroke:var(--accent-ink);stroke-dasharray:1;stroke-dashoffset:0;stroke-linecap:round;stroke-width:2.5px;vector-effect:non-scaling-stroke}.project-line .dot{fill:none;stroke:var(--accent);stroke-linecap:round;stroke-width:8px;vector-effect:non-scaling-stroke}.project-card:hover .project-line .stroke,.project-card:focus-within .project-line .stroke{animation:line-redraw .9s var(--ease-out)}@keyframes line-redraw{0%{stroke-dashoffset:1px}}.project-grid.is-ghost .project-line .stroke{stroke:var(--muted)}.project-grid.is-ghost .project-line .dot{stroke:var(--border-strong)}.project-grid:not(.is-ghost) .project-card{animation:card-in .45s var(--ease-out) backwards;animation-delay:calc(var(--i,0) * 55ms)}@keyframes card-in{0%{opacity:0;transform:translateY(12px)}}.project-card.is-loading{overflow:hidden}.glass-icon{border-radius:50%;position:relative}.glass-icon:after{border:1px dashed var(--accent-ink);content:"";border-radius:50%;animation:16s linear infinite ring-turn;position:absolute;inset:-7px}@keyframes ring-turn{to{transform:rotate(1turn)}}.modal[open] .confirm-dialog-icon{animation:icon-ring 1s .12s var(--ease-out) both}.confirm-dialog.is-danger[open] .confirm-dialog-icon{animation-name:icon-ring-danger}@keyframes icon-ring{0%{box-shadow:0 0 #e4bb4280}to{box-shadow:0 0 0 18px #e4bb4200}}@keyframes icon-ring-danger{0%{box-shadow:0 0 #b2473273}to{box-shadow:0 0 0 18px #b2473200}}.menu-popover,.account-popover{transform-origin:100% 0;animation:pop-in .17s var(--ease-out)}@keyframes pop-in{0%{opacity:0;transform:translateY(-4px)scale(.97)}}.keyboard-drawer::details-content{block-size:0;transition:block-size .3s var(--ease-out), content-visibility .3s allow-discrete;overflow-y:clip}.keyboard-drawer[open]::details-content{block-size:auto}.inspector-note{animation:name-in .26s var(--ease-out)}@keyframes name-in{0%{opacity:0;transform:translateY(6px)}}.note.is-selected{box-shadow:0 0 0 4px #6978ef52}.view-editor .editor-main{position:relative}.reveal-sweep{z-index:9;width:22%;animation:reveal-pass 1.2s var(--ease-out) forwards;pointer-events:none;background:linear-gradient(90deg,#0000,#e4bb426b,#0000);position:absolute;top:0;bottom:0;left:0}@keyframes reveal-pass{0%{opacity:1;transform:translate(-100%)}80%{opacity:1}to{opacity:0;transform:translate(460%)}}.segmented button{transition:background-color .15s,color .15s,box-shadow .15s}.nav-item{transition:background-color .18s,color .18s}@media (prefers-reduced-motion:reduce){.keyboard-drawer::details-content{transition:none}}body{overflow-x:clip}.import-actions{gap:8px;display:flex}.transcribe-button{background:var(--accent);min-width:0;min-height:60px;color:var(--on-accent);text-align:left;border:0;border-radius:14px;flex:1;align-items:center;gap:14px;padding:0 20px 0 10px;transition:background-color .15s,box-shadow .2s,transform .12s;display:flex;position:relative;overflow:hidden;box-shadow:0 12px 26px -16px #e4bb42e6}.transcribe-button:hover{background:var(--accent-hover);box-shadow:0 16px 30px -14px #e4bb42f2}.transcribe-button:active{transform:scale(.985)}.transcribe-eq{background:var(--on-accent);border-radius:11px;flex:0 0 40px;justify-content:center;align-items:center;gap:3px;height:40px;display:flex}.transcribe-eq i{background:var(--accent);transform-origin:50%;border-radius:2px;width:3px;height:40%}.transcribe-eq i:nth-child(2){height:72%}.transcribe-eq i:nth-child(3){height:55%}.transcribe-eq i:nth-child(4){height:30%}.transcribe-button:hover .transcribe-eq i{animation:.8s ease-in-out infinite alternate eq-bounce}.transcribe-button:hover .transcribe-eq i:nth-child(2){animation-delay:-.3s}.transcribe-button:hover .transcribe-eq i:nth-child(3){animation-delay:-.55s}.transcribe-button:hover .transcribe-eq i:nth-child(4){animation-delay:-.15s}@keyframes eq-bounce{0%{transform:scaleY(.45)}to{transform:scaleY(1.15)}}.transcribe-text{gap:1px;min-width:0;display:grid}.transcribe-text strong{letter-spacing:-.02em;font-size:17px;font-weight:700;line-height:1.2}.transcribe-text small{font-size:var(--fs-small);opacity:.72;text-overflow:ellipsis;white-space:nowrap;font-weight:500;overflow:hidden}.transcribe-button.is-compact{min-height:36px;box-shadow:none;border-radius:10px;flex:none;gap:8px;padding:0 14px 0 5px}.transcribe-button.is-compact .transcribe-eq{border-radius:7px;flex-basis:26px;gap:2px;height:26px}.transcribe-button.is-compact .transcribe-eq i{width:2px}.transcribe-button.is-compact strong{font-size:var(--fs-body)}.editor-open{border-radius:14px;flex:none;min-height:60px;padding:0 16px}.source-mode-title{width:100%}.source-mode-name{min-width:0}.source-mode-badge{background:var(--accent-soft);color:var(--accent-text);border-radius:999px;flex:none;margin-left:auto;padding:2px 8px;font-size:11px;font-weight:600}.timeline-head{flex-wrap:wrap;align-items:center;gap:4px 16px;margin:-2px 0 8px;display:flex}.timeline-toggle{min-width:0;color:var(--ink);background:0 0;border:0;border-radius:8px;align-items:center;gap:10px;padding:2px 10px 2px 2px;display:inline-flex}.timeline-heading{font-size:var(--fs-base);font-weight:700}.timeline-toggle .timeline-count{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.timeline-head .timeline-nav{margin-left:auto}.timeline.is-collapsed .keyboard-chevron{transform:rotate(-90deg)}.timeline.is-collapsed .timeline-head{margin-bottom:-2px}.editor-main:has(.timeline.is-collapsed){grid-template-columns:minmax(0,1fr)}.editor-main:has(.timeline.is-collapsed) .inspector{display:none}.view-editor .editor-main:has(.timeline.is-collapsed){flex:none;min-height:0}@media (max-width:1240px){.timeline-foot{display:none}}.view-editor .main-content{overscroll-behavior:contain;overflow-y:auto}.lane.chord-lane{height:32px}.chord-slot{padding:0 2px;top:3px;bottom:3px}.chord{border:0;border-top:2px solid var(--border-strong);background:0 0;border-radius:0;flex-direction:row;justify-content:flex-start;align-items:baseline;gap:6px;padding:5px 6px 0;transition:border-color .15s,background-color .15s}.chord:hover{border-top-color:var(--muted);background:var(--hover)}.chord-symbol{color:var(--ink);font:600 12px/1.2 var(--font-music)}.chord-roman{color:var(--muted);font:10px/1.2 var(--font-music)}.chord.is-current{border-top-color:var(--accent);box-shadow:none;background:linear-gradient(#e4bb4233,#0000 90%)}.chord.is-special{border-top-style:dashed;border-top-color:var(--sec)}.chord.is-uncertain .chord-symbol{color:var(--ink-soft)}.chord.is-uncertain .chord-symbol:after{color:var(--muted);content:"?";vertical-align:super;font-size:10px;font-weight:400}.lane-label{font-size:9px}.project-menu-popover{gap:2px;min-width:310px;padding:6px}.menu-popover .menu-action,.menu-tempo{width:100%;color:var(--ink);text-align:left;background:0 0;border:0;border-radius:9px;align-items:center;gap:12px;padding:8px 10px;display:flex}.menu-popover .menu-action:hover:not(:disabled){background:var(--hover)}.menu-icon{background:var(--hover);height:32px;color:var(--ink-soft);border-radius:9px;flex:0 0 32px;place-items:center;display:grid}.menu-popover .menu-action:hover:not(:disabled) .menu-icon{background:var(--surface)}.menu-text{flex:1;gap:1px;min-width:0;display:grid}.menu-text strong{font-size:var(--fs-body);font-weight:600}.menu-text small{color:var(--muted);font-size:var(--fs-small);line-height:1.35}.menu-popover .menu-action.is-danger,.menu-action.is-danger .menu-icon{color:var(--danger)}.menu-action.is-danger .menu-icon{background:var(--danger-soft)}.menu-separator{background:var(--border);height:1px;margin:4px 10px}.menu-legal{font-size:var(--fs-small);flex-wrap:wrap;gap:2px 12px;padding:6px 12px 8px;display:flex}.menu-legal a{color:var(--muted);text-decoration:none}.menu-legal a:hover,.menu-legal a:focus-visible{color:var(--ink);text-decoration:underline}.menu-tempo-field{border:1px solid var(--border-strong);background:var(--raised);color:var(--muted);font:var(--fs-meta) var(--font-music);border-radius:8px;flex:none;align-items:center;gap:2px;padding:0 8px 0 2px;display:inline-flex}.menu-tempo-field:focus-within{border-color:var(--sec)}.menu-tempo-field input{width:5.2ch;color:var(--ink);font:500 var(--fs-body) var(--font-music);background:0 0;border:0;outline:none;padding:6px 2px 6px 6px}.transport{gap:10px 14px;padding:9px 24px}.transport .icon-button{width:40px;height:40px}.play-button{width:48px;height:48px}.transport .segmented button{min-height:32px;padding:0 12px}.transport .key-trigger{min-height:38px}.transport-end{gap:10px 14px}.project-menu-popover{min-width:340px}.menu-tempo-field input{appearance:textfield;text-align:right;width:4.4ch}.menu-tempo-field input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.menu-tempo-field input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.menu-tempo-field{padding:0 10px 0 4px}.view-editor .main-content{overflow-x:hidden}.view-editor .editor-main,.view-editor .timeline{overflow:clip}.view-editor .timeline-scroll{overflow-x:hidden}.timeline-nav[hidden]{display:none}.view-editor .transport{z-index:16;border-bottom-color:color-mix(in srgb, var(--border) 80%, transparent);background:color-mix(in srgb, var(--raised) 78%, transparent);-webkit-backdrop-filter:blur(16px)saturate(1.4);backdrop-filter:blur(16px)saturate(1.4);position:sticky;top:0;box-shadow:0 10px 24px -22px #00000073}.timeline.is-collapsed{padding:6px 10px 6px 8px}.timeline.is-collapsed .timeline-head{margin:0}.timeline-toggle{flex:auto;justify-content:flex-start;min-height:36px}.timeline-range-pitch{color:var(--muted)}.timeline-open-hint{border:1px solid var(--border-strong);color:var(--ink);font-size:var(--fs-small);border-radius:999px;align-items:center;margin-left:auto;padding:5px 12px;font-weight:600;transition:background-color .15s,border-color .15s;display:inline-flex}.timeline-toggle:hover .timeline-open-hint{border-color:var(--accent);background:var(--accent-soft)}.timeline-toggle:hover{background:0 0}.timeline-add{gap:6px}.view-editor .editor-main{min-height:0}.view-editor .editor-main:has(.timeline:not(.is-collapsed)){flex:1 1 0;min-height:230px}@media (min-width:761px){.view-editor .editor:not(:has(.video-player)):has(.timeline.is-collapsed){--keys-h:clamp(112px, calc(100dvh - 430px), 168px)}:is(.view-editor .editor:not(:has(.video-player)):has(.timeline.is-collapsed) .piano-keyboard,.view-editor .editor:not(:has(.video-player)):has(.timeline.is-collapsed) .white-key-row){height:var(--keys-h)}:is(.view-editor .editor:not(:has(.video-player)):has(.timeline.is-collapsed) .black-key-row,.view-editor .editor:not(:has(.video-player)):has(.timeline.is-collapsed) .piano-key-black){height:calc(var(--keys-h) * .6)}}.timeline-scroll,.keyboard-scroll{scrollbar-color:var(--border-strong) transparent;scrollbar-width:thin}.import-actions .transcribe-button{justify-content:center;min-height:58px;padding:0 22px 0 12px}.import-actions .transcribe-text strong{font-size:18px}.timeline-zoom{border-left:1px solid var(--border);margin-left:6px;padding-left:6px;display:inline-flex}.view-editor .timeline{scroll-margin-top:84px;scroll-margin-bottom:12px}@media (max-width:1240px) and (min-width:761px){.transport{gap:8px 10px}.transport .transport-sep,.transport-listen>.icon{display:none}.transport .segmented button{padding:0 9px}}@media (max-width:1140px) and (min-width:761px){.transport-time small{display:none}}@media (max-height:700px) and (min-width:761px){.view-editor .editor-main:has(.timeline:not(.is-collapsed)){min-height:200px}}.note.is-playing,.piano-key.is-playing,.vkey.is-playing{transition:none}@media (min-width:1241px){.timeline-add{display:none}}@media (max-height:860px) and (min-width:761px){.view-editor .shortcuts{display:none}.view-editor .inspector{gap:10px;padding:14px}.view-editor .inspector-note{font-size:26px}}.source-stage{gap:14px;min-height:0;display:flex}.source-stage .video-player{border-radius:var(--radius-lg);object-fit:contain;flex:0 auto;width:auto;min-width:0;max-width:62%;height:auto;max-height:100%}.source-stage .chord-panel{flex:260px}.source-stage:not(.has-video) .chord-panel{flex-basis:100%}@media (min-width:761px){.view-editor .editor>.editor-source:has(.source-stage){flex-direction:column;flex:1 1 0;gap:10px;min-height:0;display:flex}.view-editor .editor-source>.source-stage{flex:1 1 0;min-height:150px}.view-editor .source-stage .video-player{align-self:center}.view-editor .editor:has(.timeline:not(.is-collapsed))>.editor-source:has(.source-stage){flex:none}.view-editor .editor:has(.timeline:not(.is-collapsed)) .editor-source>.source-stage{flex:none;height:clamp(96px,100dvh - 600px,190px);min-height:0}}.chord-panel{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);flex-direction:column;justify-content:center;gap:10px;min-width:0;padding:20px 24px 20px 28px;display:flex;position:relative;overflow:hidden}.chord-panel:before{background:var(--border-strong);content:"";border-radius:0 3px 3px 0;width:3px;position:absolute;top:20px;bottom:20px;left:0}.chord-panel.has-chord:before{background:var(--accent)}.chord-panel-label{color:var(--muted);font-size:var(--fs-small);font-weight:600}.chord-panel-name{color:var(--muted);letter-spacing:-.05em;text-overflow:ellipsis;font-size:clamp(28px,3vw,46px);font-weight:700;line-height:1.02;overflow:hidden}.chord-panel.has-chord .chord-panel-name{color:var(--ink)}.chord-panel-detail{color:var(--muted);font:500 var(--fs-body) var(--font-music)}.chord-panel:not(.has-chord) .chord-panel-detail{font-family:var(--font-interface)}.chord-panel-notes,.chord-panel-others ul{flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none;display:flex}.chord-panel-notes li{background:var(--accent);color:var(--on-accent);font:600 var(--fs-small) var(--font-music);border-radius:999px;padding:4px 11px}.chord-panel-others{border-top:1px solid var(--border);color:var(--muted);font-size:var(--fs-small);flex-wrap:wrap;align-items:center;gap:6px 10px;padding-top:12px;display:flex}.chord-panel-others li{border:1px solid var(--border-strong);color:var(--ink);font:500 var(--fs-small) var(--font-music);border-radius:999px;padding:3px 10px}.chord-panel.is-held .chord-panel-name,.chord-panel.is-held .chord-panel-detail{opacity:.5}.chord-panel.is-held .chord-panel-notes li{background:var(--hover);color:var(--muted)}.chord-panel.is-held:before{background:var(--border-strong)}@media (min-width:761px){.view-editor .editor:has(.timeline:not(.is-collapsed)) .chord-panel{gap:6px;padding:10px 16px 10px 20px}.view-editor .editor:has(.timeline:not(.is-collapsed)) .chord-panel:before{top:10px;bottom:10px}.view-editor .editor:has(.timeline:not(.is-collapsed)) .chord-panel-name{font-size:24px}:is(.view-editor .editor:has(.timeline:not(.is-collapsed)) .chord-panel-label,.view-editor .editor:has(.timeline:not(.is-collapsed)) .chord-panel-others){display:none}}@media (max-height:800px) and (min-width:761px){.view-editor .editor:has(.timeline:not(.is-collapsed)) .editor-source>.source-stage{display:none}}@media (max-width:760px){.app-shell.view-editor{height:auto;min-height:100dvh;overflow:visible}.view-editor .main-content{flex:1;padding:10px 12px 0;overflow:clip visible}.view-editor .editor-source{display:contents}.view-editor .editor-source>.source-stage{order:1}.view-editor .mobile-bar{order:2}.view-editor .editor-source>:not(.source-stage){order:3}.view-editor .editor-main{order:4}.view-editor .editor-keyboard{order:5}.view-editor .editor{flex:1;gap:8px}.view-editor .editor-main,.view-editor .editor-keyboard{flex:none}.view-editor .editor-source>.source-stage{flex-direction:column;gap:8px;display:flex}.source-stage .video-player{aspect-ratio:16/9;width:100%;max-width:none;height:auto;max-height:34dvh;box-shadow:var(--shadow-sm);object-fit:contain;background:#000;border-radius:14px;margin:0}.source-stage .chord-panel{flex:none}.chord-panel{grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:4px 12px;padding:10px 14px 10px 18px;display:grid}.chord-panel:before{top:10px;bottom:10px}.chord-panel-label,.chord-panel-others{display:none}.chord-panel-name{white-space:nowrap;font-size:24px}.chord-panel-detail{white-space:nowrap;grid-area:1/2;font-size:13px}.chord-panel-notes{grid-column:1/-1;gap:4px}.chord-panel-notes li{padding:2px 9px;font-size:12px}.chord-panel:not(.has-chord){align-items:center}.chord-panel:not(.has-chord) .chord-panel-name{letter-spacing:-.02em;font-size:15px}.chord-panel:not(.has-chord) .chord-panel-detail{white-space:normal;grid-area:2/1/auto/-1;font-size:12.5px}.banner{padding:8px 8px 8px 12px}.banner-long{display:none}.banner-short{display:inline}.banner p{flex-basis:100px}.editor .banner-actions{display:contents}.editor .banner .source-mode{flex-basis:100%;order:5}.editor .banner .source-mode.is-compact .source-mode-options{grid-template-columns:1fr 1fr;gap:6px;display:grid}.editor .banner .source-mode.is-compact .source-mode-label{border-radius:12px;justify-content:center;min-height:44px;padding:6px 10px}.editor .banner .source-mode-name{font-size:12.5px;line-height:1.25}.mobile-bar{align-items:center;gap:8px;display:flex}.mobile-bar .transport-key{flex:0 auto;min-width:0}.mobile-bar .key-trigger{max-width:100%;min-height:38px}.mobile-bar .key-trigger-label{display:none}.mobile-listen{flex:auto;min-width:0}.mobile-listen button{flex:1 1 0;min-width:0;min-height:34px;padding:0 6px;font-size:12.5px}.timeline{padding:8px 8px 6px}.timeline-body{min-width:0}.timeline.is-collapsed{padding:4px 8px 4px 6px}.timeline-head{flex-wrap:nowrap;gap:4px}.timeline-toggle{flex:auto;gap:6px}.timeline-toggle .timeline-count{flex:0 auto}.timeline-head .timeline-range{min-width:0;font-size:var(--fs-meta);white-space:nowrap}.timeline-head .timeline-nav .icon-button{width:32px;height:32px}.timeline-head .chord-meta,.timeline-range-pitch,.timeline-zoom,.timeline-add-label{display:none}.timeline-open-hint{padding:4px 10px}.timeline-add{padding:0 8px}.timeline-foot{flex-wrap:nowrap;gap:8px}.timeline-foot .timeline-title{flex:1;overflow:hidden}.timeline-foot .timeline-count{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.timeline-foot .chord-meta,.timeline-foot .timeline-help{display:none}.view-editor .timeline-scroll{overflow-x:auto}.view-editor .editor-main:has(.timeline:not(.is-collapsed)){height:54dvh;min-height:300px;display:grid}.view-editor .editor:has(.timeline:not(.is-collapsed)) .source-stage .video-player{max-height:22dvh}.inspector{z-index:30;max-height:60dvh;padding:8px 16px calc(14px + env(safe-area-inset-bottom,0px));border-width:1px 0 0;border-radius:20px 20px 0 0;display:none;position:fixed;inset:auto 0 0;overflow:auto;box-shadow:0 -16px 40px -12px #0006}.editor.has-selection .inspector{display:grid}.sheet-grab{background:var(--border-strong);border-radius:9px;justify-self:center;width:38px;height:4px;display:block}.inspector-close{display:inline-grid}.inspector-note{font-size:24px}.inspector-controls{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.stepper{border:1px solid var(--border);border-radius:var(--radius);background:var(--raised);text-align:center;grid-template-columns:30px minmax(0,1fr) 30px;gap:2px;padding:6px 4px}.stepper .icon-button{width:30px;height:34px}.stepper-label{grid-column:1/-1}.stepper-value{white-space:nowrap;background:0 0;border:0;padding:3px 0;font-size:11.5px}.velocity{grid-column:1/-1}.keyboard-drawer{padding:6px 8px 8px}.keyboard-summary{min-height:34px}.keyboard-status{display:none}.piano-keyboard,.white-key-row,.black-key-row{min-width:1352px}.white-key-row{grid-template-columns:repeat(52,26px)}.piano-keyboard,.white-key-row{height:112px}.black-key-row,.piano-key-black{height:68px}.piano-key-black{width:16px}.view-editor .transport{z-index:16;padding:6px 14px calc(8px + env(safe-area-inset-bottom,0px));border-top:1px solid color-mix(in srgb, var(--border) 80%, transparent);background:color-mix(in srgb, var(--raised) 86%, transparent);-webkit-backdrop-filter:blur(16px)saturate(1.4);backdrop-filter:blur(16px)saturate(1.4);border-bottom:0;flex-wrap:wrap;order:99;align-items:center;gap:2px 8px;margin:auto -12px 0;display:flex;position:sticky;top:auto;bottom:0;box-shadow:0 -12px 28px -20px #00000073}.transport-sep,.transport-listen,.transport-end,.transport-time{display:none}.transport-progress{flex-basis:100%;order:0;align-items:center;gap:10px;display:flex}.transport-progress-time{min-width:6.4ch;color:var(--muted);font:500 11.5px var(--font-music);font-variant-numeric:tabular-nums}.transport-progress-time.is-total{text-align:right}.transport-progress input{--progress:0%;cursor:pointer;appearance:none;background:0 0;flex:1;min-width:0;height:28px;margin:0}.transport-progress input:disabled{cursor:default;opacity:.55}.transport-progress input::-webkit-slider-runnable-track{background:linear-gradient(to right, var(--accent) var(--progress), var(--border-strong) var(--progress));border-radius:9px;height:4px}.transport-progress input::-moz-range-track{background:var(--border-strong);border-radius:9px;height:4px}.transport-progress input::-moz-range-progress{background:var(--accent);border-radius:9px;height:4px}.transport-progress input::-webkit-slider-thumb{border:2px solid var(--surface);background:var(--accent);width:16px;height:16px;box-shadow:var(--shadow-sm);appearance:none;border-radius:50%;margin-top:-6px}.transport-progress input::-moz-range-thumb{border:2px solid var(--surface);background:var(--accent);border-radius:50%;width:14px;height:14px}.transport-progress input:focus-visible{outline:3px solid var(--sec);outline-offset:2px;border-radius:9px}.transport-loop{border-radius:50%;order:1;justify-content:center;width:44px;min-height:44px;padding:0}.transport-loop-label{display:none}.transport-main{flex:1;order:2;justify-content:center;gap:6px}.transport-main>.play-button{order:2;width:54px;height:54px;margin:0 4px}.transport-main>.icon-button{order:1;width:42px;height:42px}.transport-main>.transport-skip:last-of-type{order:3}.transport-rate-cycle{border:1px solid var(--border);background:var(--surface);width:48px;height:36px;color:var(--ink);font:600 13px var(--font-music);border-radius:999px;order:3;place-items:center;padding:0;display:grid}.transport-rate-cycle:active{background:var(--hover)}}@media (max-width:360px){.transport-main>.icon-button:not(.transport-skip){display:none}}@media (min-width:761px) and (max-width:1100px){.view-editor .app-header{gap:10px}.view-editor .header-feedback span,.project-bar>.chip{display:none}.project-title{flex:auto}.project-meta{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.export-button span{display:none}.export-button:after{content:"MIDI"}}@media (min-width:761px) and (max-width:1100px) and (orientation:portrait){.view-editor .brand{display:none}.view-editor .editor-source>.source-stage{flex-direction:column;gap:10px}.view-editor .source-stage .video-player{background:#000;border-radius:16px;flex:1 1 0;align-self:stretch;width:100%;max-width:none;min-height:0;max-height:none}.view-editor .source-stage .chord-panel{flex:none;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:6px 14px;padding:12px 18px 12px 22px;display:grid}.view-editor .source-stage .chord-panel:before{top:12px;bottom:12px}.view-editor .source-stage .chord-panel-label,.view-editor .source-stage .chord-panel-others{display:none}.view-editor .source-stage .chord-panel-name{font-size:30px}.view-editor .source-stage .chord-panel-detail{grid-area:1/2}.view-editor .source-stage .chord-panel-notes{grid-column:1/-1}.view-editor .source-stage:not(.has-video) .chord-panel{flex:auto}}@media (max-height:540px) and (min-width:761px){.view-editor .editor>.editor-source:has(.source-stage){flex:none}.view-editor .editor-source>.source-stage{flex:none;height:calc(100dvh - 130px);min-height:200px}.view-editor .source-stage .chord-panel{gap:6px;padding:12px 16px 12px 20px}.view-editor .source-stage .chord-panel-name{font-size:26px}.view-editor .source-stage .chord-panel-others{display:none}}.source-stage{position:relative}.source-poster{object-fit:cover;cursor:pointer;-webkit-user-select:none;user-select:none;transition:opacity .2s,filter .2s}.source-stage:not(.is-playing) .source-poster{filter:saturate(.7);opacity:.82}.source-poster-tag{z-index:1;color:#f3f1ea;font:500 var(--fs-meta)/1.6 var(--font-music);letter-spacing:.04em;pointer-events:none;background:#171717d1;border-radius:6px;padding:3px 9px;position:absolute;top:10px;left:10px}@media (prefers-reduced-motion:reduce){.source-poster{transition:none}}.file-thumb{object-fit:cover;background:#171717;border-radius:6px;flex:none;width:64px;height:40px}.save-button{gap:6px}.save-hint{color:var(--muted);font:500 var(--fs-meta) var(--font-music)}@media (max-width:1280px){.save-hint{display:none}}.gallery{gap:28px;max-width:880px;margin:0 auto;padding:48px 24px 80px;display:grid}.gallery-head h1{letter-spacing:-.05em;font-size:32px;font-weight:700}.gallery-head p{max-width:60ch;color:var(--muted);margin-top:8px;line-height:1.55}.gallery-group{border-top:1px solid var(--border);gap:12px;padding-top:20px;display:grid}.gallery-group h2{letter-spacing:-.02em;font-size:18px;font-weight:700}.gallery-actions{flex-wrap:wrap;gap:8px;display:flex}.gallery-account{align-items:center;gap:12px;display:flex}.gallery-account .account-menu{margin-left:0}.gallery-account .account-popover{left:0;right:auto}@media (max-width:760px){.gallery{padding:28px 16px 60px}}.home-honest{max-width:52ch;color:var(--muted);font-size:var(--fs-small);margin:14px 0 0;line-height:1.5}.chord-panel:not(.has-chord):not(.is-held) .chord-panel-name{letter-spacing:-.02em;font-size:20px}.app-shell.view-editor .inspector-controls{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.app-shell.view-editor .stepper{border:1px solid var(--border);border-radius:var(--radius);background:var(--raised);text-align:center;grid-template-columns:28px minmax(0,1fr) 28px;gap:2px;padding:6px 4px}.app-shell.view-editor .stepper .icon-button{width:28px;height:32px}.app-shell.view-editor .stepper-label{grid-column:1/-1}.app-shell.view-editor .stepper-value{white-space:nowrap;background:0 0;border:0;padding:3px 0;font-size:11.5px}.app-shell.view-editor .velocity{grid-column:1/-1}.app-shell.view-editor .inspector.has-note .shortcuts{display:none}@media (max-width:760px){.app-shell.view-editor .inspector{max-height:92dvh}}@media (min-width:761px) and (max-width:960px){.app-shell.view-editor .inspector{max-height:calc(100dvh - 24px);position:fixed;bottom:12px;right:12px}}@media (orientation:landscape) and (max-height:520px) and (max-width:1100px){.app-shell.view-editor{--header-height:44px;height:100dvh;overflow:hidden}.app-shell.view-editor .app-header{min-height:44px}.app-shell.view-editor .main-content{height:calc(100dvh - 44px);min-height:0;overflow:hidden}.app-shell.view-editor .editor{height:100%;min-height:0;padding-top:4px;padding-bottom:env(safe-area-inset-bottom,0px);gap:4px;overflow:hidden}.app-shell.view-editor .transport{scrollbar-width:none;flex-wrap:nowrap;gap:6px;min-height:0;padding-block:4px;position:static;overflow-x:auto}.app-shell.view-editor .transport-label,.app-shell.view-editor .transport-loop-label{display:none}:is(.app-shell.view-editor .editor>.editor-source,.app-shell.view-editor .editor>.editor-source:has(.source-stage)){flex-direction:column;flex:1 1 0;gap:4px;min-height:0;display:flex;overflow:hidden}.app-shell.view-editor .banner{min-height:0;padding-block:4px}.app-shell.view-editor .banner.is-quiet,.app-shell.view-editor .banner-long{display:none}.app-shell.view-editor .banner-short{display:inline}.app-shell.view-editor .editor-source>.form-message,.app-shell.view-editor .editor-source>.form-error{display:none}.app-shell.view-editor .editor-source>.source-stage{flex-direction:row;flex:1 1 0;gap:8px;height:auto;min-height:0;display:flex}.app-shell.view-editor .source-stage .video-player{aspect-ratio:auto;flex:0 auto;align-self:stretch;width:auto;max-width:45%;height:100%;min-height:0;max-height:100%}.app-shell.view-editor .source-stage .chord-panel{flex:1 1 0;gap:4px;min-height:0;padding:8px 12px 8px 16px}.app-shell.view-editor .source-stage .chord-panel-name{font-size:22px}.app-shell.view-editor .source-stage .chord-panel-label,.app-shell.view-editor .source-stage .chord-panel-others{display:none}.app-shell.view-editor .editor-main{flex:none;height:auto;min-height:0}.app-shell.view-editor .editor:has(.timeline:not(.is-collapsed))>.editor-source:has(.source-stage){flex:none}.app-shell.view-editor .editor:has(.timeline:not(.is-collapsed)) .source-stage{display:none}.app-shell.view-editor .editor:has(.timeline:not(.is-collapsed)) .editor-main{flex:1 1 0;height:auto;min-height:0;display:grid}.app-shell.view-editor .editor-keyboard{flex:none;order:0}.app-shell.view-editor .app-header{height:44px}.app-shell.view-editor .transport .play-button{width:38px;height:38px}.app-shell.view-editor .transport .icon-button,.app-shell.view-editor .transport .segmented button,.app-shell.view-editor .transport-rate-cycle{height:32px;min-height:32px}.app-shell.view-editor .timeline.is-collapsed{padding-block:2px}.app-shell.view-editor .timeline.is-collapsed .timeline-head{margin:0}.app-shell.view-editor .project-meta,.app-shell.view-editor .project-count,.app-shell.view-editor .keyboard-summary{display:none}.app-shell.view-editor .keyboard-drawer{background:0 0;border:0;padding:0}.app-shell.view-editor .timeline-head{min-height:30px;padding-block:2px}.app-shell.view-editor .banner{gap:8px}.app-shell.view-editor .transcribe-button.is-compact,.app-shell.view-editor .banner .button{min-height:30px}.app-shell.view-editor .keyboard-summary{min-height:28px}.app-shell.view-editor .piano-keyboard,.app-shell.view-editor .white-key-row{height:84px}.app-shell.view-editor .black-key-row,.app-shell.view-editor .piano-key-black{height:52px}.app-shell.view-editor .inspector{z-index:30;width:auto;max-height:100dvh;padding:8px max(16px, env(safe-area-inset-right,0px)) calc(10px + env(safe-area-inset-bottom,0px)) max(16px, env(safe-area-inset-left,0px));border-width:1px 0 0;border-radius:16px 16px 0 0;grid-template-columns:minmax(0,1fr) minmax(0,1.7fr);align-items:start;gap:8px 16px;position:fixed;inset:auto 0 0;box-shadow:0 -12px 30px #00000059}.app-shell.view-editor .editor.has-selection .inspector{display:grid}.app-shell.view-editor .inspector .sheet-grab{display:none}.app-shell.view-editor .inspector-close{display:inline-grid}.app-shell.view-editor .inspector-head{grid-column:1}.app-shell.view-editor .inspector-controls{grid-area:1/2/span 2}.app-shell.view-editor .inspector-actions{grid-area:2/1;align-self:end}}.project-thumb.has-image{background:#171717}.project-thumb.has-image img{object-fit:cover;width:100%;height:100%;display:block}.project-platform{color:#f3f1ea;font:500 var(--fs-meta)/1.6 var(--font-music);background:#171717d1;border-radius:6px;padding:2px 8px;position:absolute;top:8px;left:8px}.import-tabs{justify-self:start}.import-tabs button{align-items:center;gap:6px;display:inline-flex}.import-main{gap:8px;min-height:46px;padding:0 20px;font-size:15px}.link-import{border-top:0;gap:8px;padding-top:0;display:grid}.link-import-row .button,.link-import-row input{min-height:46px}.projects-quota{color:var(--muted);font-size:var(--fs-small);align-items:center;gap:10px;margin-top:10px;display:flex}.projects-quota .quota-keys{flex:none;width:72px;height:22px}.hero h1 .hero-dot{color:var(--accent-ink)}.drop-zone{border:1px solid var(--border);background:var(--surface)}.drop-zone.is-dragging{border-color:var(--ink-soft);background:var(--hover)}.drop-icon{border:1px solid var(--border-strong);color:var(--ink);background:0 0}@media (prefers-reduced-motion:reduce){.paywall-listening.is-playing .paywall-eq i{height:70%;animation:none}}.stage-fold,.roll-card,.timeline-open-hint .hint-phone,.transport-notes,.menu-popover .menu-phone-only{display:none}@media (max-width:760px),(orientation:landscape) and (max-height:520px) and (max-width:1100px){.menu-popover .menu-action.menu-phone-only{display:flex}.menu-popover .menu-separator.menu-phone-only{display:block}.view-editor .project-actions>.icon-button[aria-label=Annuler],.view-editor .project-redo,.view-editor .export-button{display:none}.key-trigger.is-pending .key-trigger-value strong{color:var(--muted);font-weight:500}.key-trigger.is-pending .key-trigger-value:before{background:var(--accent);content:"";border-radius:50%;width:7px;height:7px;animation:1.4s ease-in-out infinite key-pending}@keyframes key-pending{50%{opacity:.25}}.view-editor .editor-main{position:relative}.view-editor .editor.has-roll-card .editor-source>.banner{display:none}.editor.has-roll-card .roll-card{z-index:12;width:min(86%,340px);margin:0 auto;display:block;position:absolute;top:50%;left:0;right:0;transform:translateY(-50%)}.roll-card .banner{border:1px solid var(--border-strong);background:var(--raised);box-shadow:var(--shadow-lg);border-radius:16px;gap:10px;padding:16px;display:grid}.roll-card .banner>.icon,.roll-card .banner>.spinner{display:none}.roll-card .banner p{color:var(--ink);font-size:14px;line-height:1.4}.roll-card .banner-long,.app-shell.view-editor .roll-card .banner-long{display:inline}.roll-card .banner-short,.app-shell.view-editor .roll-card .banner-short{display:none}.roll-card .banner-actions{display:block}.roll-card .transcribe-button{width:100%}.roll-card .banner.is-busy>span:not(.progress){color:var(--ink);font-weight:600}.roll-card .banner.is-busy .progress{width:100%}.roll-card .banner.is-busy .banner-stop{justify-self:end;margin:0}.editor.has-roll-card .note{opacity:.28;filter:grayscale();pointer-events:none}.view-editor .editor.has-roll-card .editor-keyboard{display:none}}@media (max-width:760px) and (min-height:521px){.app-shell.view-editor{height:100dvh;min-height:0;overflow:hidden}.view-editor .main-content{min-height:0;overflow:hidden}.view-editor .editor{min-height:0}:is(.view-editor .editor-main,.view-editor .editor-main:has(.timeline:not(.is-collapsed))){flex:1 1 0;height:auto;min-height:120px;display:grid}.view-editor .editor:not(.has-roll-card)>.editor-main:has(.timeline.is-collapsed){flex:none;min-height:0;display:block}.view-editor .editor:not(.has-roll-card):has(.timeline.is-collapsed) .editor-source>.source-stage{flex-direction:column;flex:1 1 0;min-height:0;display:flex}.view-editor .editor:not(.has-roll-card):has(.timeline.is-collapsed) .source-stage.has-video:not(.is-folded) .video-player{flex:1 1 0;width:100%;height:auto;min-height:0;max-height:none}.view-editor .editor:not(.has-roll-card):has(.timeline.is-collapsed) .source-stage:is(.is-folded,:not(.has-video)) .chord-panel{background:0 0;border:0;flex-direction:column;flex:1 1 0;justify-content:center;align-items:flex-start;gap:10px;max-width:none;height:auto;padding:16px 20px 16px 24px;display:flex;position:static}.view-editor .editor:not(.has-roll-card):has(.timeline.is-collapsed) .source-stage:not(.has-video) .chord-panel{border:1px solid var(--border);background:var(--surface);border-radius:14px}.view-editor .editor:not(.has-roll-card):has(.timeline.is-collapsed) .source-stage:is(.is-folded,:not(.has-video)) .chord-panel:before{display:block;top:18px;bottom:18px}.view-editor .editor:not(.has-roll-card):has(.timeline.is-collapsed) .source-stage:is(.is-folded,:not(.has-video)) :is(.chord-panel-label,.chord-panel-notes){display:flex}.view-editor .editor:not(.has-roll-card):has(.timeline.is-collapsed) .source-stage:is(.is-folded,:not(.has-video)) .chord-panel-name{font:700 clamp(30px, 9vw, 44px)/1.05 var(--font-interface);letter-spacing:-.05em;white-space:nowrap}.view-editor .editor:not(.has-roll-card):has(.timeline.is-collapsed) .source-stage:is(.is-folded,:not(.has-video)) .chord-panel:not(.has-chord):not(.is-held) .chord-panel-name{font:700 clamp(30px, 9vw, 44px)/1.05 var(--font-interface);letter-spacing:-.05em;white-space:nowrap}.view-editor .editor:not(.has-roll-card):has(.timeline.is-collapsed) .source-stage:is(.is-folded,:not(.has-video)) .chord-panel-detail{white-space:normal;font-size:13px;display:block}.view-editor .editor:not(.has-roll-card):has(.timeline.is-collapsed) .source-stage:is(.is-folded,:not(.has-video)) .chord-panel:not(.has-chord):not(.is-held) .chord-panel-detail{white-space:normal;font-size:13px;display:block}.view-editor .editor:not(.has-roll-card):has(.timeline.is-collapsed) .source-stage.is-folded .stage-fold{border-bottom:1px solid var(--border);border-radius:14px 14px 0 0;flex:none;width:100%}.view-editor .timeline.is-collapsed{border-radius:12px;padding:0 6px 0 4px}.view-editor .timeline.is-collapsed .timeline-toggle{min-height:38px}.view-editor .timeline.is-collapsed .timeline-open-hint{color:var(--ink);background:0 0;border:0;padding:0;font-weight:600}.view-editor .timeline-scroll{--roll-fit:1;flex:1 1 0;min-height:0;overflow:auto}.view-editor .timeline-foot,.view-editor .editor-source>.banner.is-quiet{display:none}.view-editor .editor-source>.source-stage{flex:none;display:block;position:relative}.view-editor .source-stage .video-player{aspect-ratio:auto;width:100%;height:clamp(120px,26dvh,230px);max-height:none;display:block}.view-editor .editor:has(.timeline:not(.is-collapsed)) .source-stage .video-player{aspect-ratio:auto;width:100%;height:clamp(120px,26dvh,230px);max-height:none;display:block}.source-stage.has-video .chord-panel{z-index:2;pointer-events:none;background:#0d0e10d1;border:0;border-radius:999px;flex-direction:row;align-items:baseline;gap:8px;max-width:calc(100% - 20px);padding:5px 12px;display:flex;position:absolute;bottom:10px;left:10px}.source-stage.has-video .chord-panel:before,.source-stage.has-video .chord-panel-label,.source-stage.has-video .chord-panel-notes,.source-stage.has-video .chord-panel-others{display:none}.source-stage.has-video .chord-panel-name{color:#f3f1ea;font:600 15px/1.3 var(--font-music);letter-spacing:-.01em;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.source-stage.has-video .chord-panel-detail{color:#c9ccd2;white-space:nowrap;font-size:11.5px}.source-stage.has-video .chord-panel:not(.has-chord):not(.is-held){display:none}.source-stage.has-video .stage-fold{z-index:3;color:#f3f1ea;background:#0d0e10c7;border:0;border-radius:999px;align-items:center;gap:4px;min-height:32px;padding:0 8px 0 12px;font-size:12px;display:inline-flex;position:absolute;top:8px;right:8px}.source-stage.has-video .stage-fold .icon{transform:rotate(180deg)}.view-editor .editor-source>.source-stage.is-folded{border:1px solid var(--border);background:var(--surface);border-radius:14px;flex-direction:row;align-items:center;min-height:44px;display:flex}.view-editor .source-stage.is-folded .video-player,.source-stage.is-folded .source-poster-tag{display:none}.view-editor .editor:has(.timeline) .source-stage.is-folded .video-player{display:none}.source-stage.has-video.is-folded .stage-fold{min-height:44px;color:var(--muted);background:0 0;border-radius:14px;flex:1;justify-content:flex-start;gap:6px;padding:0 14px;font-size:12.5px;position:static}.source-stage.is-folded .stage-fold .icon{transform:none}.source-stage.has-video.is-folded .chord-panel{background:0 0;flex:none;padding:0 14px 0 4px;position:static}.source-stage.is-folded .chord-panel-name{color:var(--ink)}.source-stage.is-folded .chord-panel-detail{color:var(--muted)}.source-stage:not(.has-video) .chord-panel{align-items:baseline;gap:10px;height:44px;padding:0 14px 0 18px;display:flex;overflow:hidden}.source-stage:not(.has-video) .chord-panel:before{top:10px;bottom:10px}.source-stage:not(.has-video) .chord-panel-notes{display:none}.source-stage:not(.has-video) .chord-panel-name,.source-stage:not(.has-video) .chord-panel:not(.has-chord):not(.is-held) .chord-panel-name{white-space:nowrap;font-size:16px}.source-stage:not(.has-video) .chord-panel:not(.has-chord):not(.is-held) .chord-panel-detail,.timeline-open-hint .hint-wide{display:none}.timeline-open-hint .hint-phone{display:inline}.mobile-bar{justify-content:space-between;align-items:center;gap:8px;min-height:34px;padding:0 2px}.mobile-bar .key-trigger{border:1px solid var(--border);background:0 0;border-radius:999px;align-items:center;gap:5px;min-width:0;max-width:100%;min-height:32px;padding:0 8px 0 11px;display:inline-flex;overflow:hidden}.mobile-bar .key-trigger-label{font-size:12px;display:inline}.mobile-bar .key-trigger-value{min-width:0;font-size:12.5px;overflow:hidden}.mobile-bar .key-trigger-value strong{text-overflow:ellipsis;overflow:hidden}.mobile-bar .key-trigger>.icon{width:12px;height:12px;color:var(--muted)}.mobile-listen{background:0 0;border:0;border-radius:0;flex:none;gap:11px;padding:0}.mobile-listen button,.mobile-listen button.is-on{min-height:32px;box-shadow:none;background:0 0;border-radius:0;flex:none;padding:0 1px;font-size:12.5px;position:relative}.mobile-listen button.is-on:after{background:var(--accent);content:"";border-radius:50%;width:4px;height:4px;margin-left:-2px;position:absolute;bottom:2px;left:50%}.view-editor .keyboard-summary{display:none}.view-editor .keyboard-drawer{background:0 0;border:0;padding:0}.view-editor .keyboard-scroll{margin-top:0}.view-editor .piano-keyboard,.view-editor .white-key-row{height:88px}.view-editor .black-key-row,.view-editor .piano-key-black{height:54px}}@media (orientation:landscape) and (max-height:520px) and (max-width:1100px){.app-shell.view-editor .app-header{display:none}.app-shell.view-editor .main-content{height:100dvh;padding:0 env(safe-area-inset-right,0px) 0 env(safe-area-inset-left,0px)}.app-shell.view-editor .editor{gap:0;padding-top:0;position:relative}.app-shell.view-editor .mobile-bar,.app-shell.view-editor .editor-source>:not(.source-stage){display:none}.app-shell.view-editor .editor>.editor-source:not(:has(>.source-stage)){display:none}.app-shell.view-editor .editor:not(.is-editing-notes):not(.has-roll-card):has(>.editor-source>.source-stage)>.editor-source{flex-direction:column;flex:1 1 0;gap:0;min-height:0;padding:10px 12px;display:flex;overflow:hidden}.app-shell.view-editor .editor:not(.is-editing-notes):not(.has-roll-card):has(>.editor-source>.source-stage)>.editor-main{display:none}.app-shell.view-editor .editor:not(.is-editing-notes):not(.has-roll-card):has(>.editor-source>.source-stage) .editor-source>.source-stage{background:0 0;border:0;flex-direction:row;flex:1 1 0;align-items:stretch;gap:12px;min-height:0;padding:0;display:flex;position:relative}:is(.app-shell.view-editor .editor:is(.is-editing-notes,.has-roll-card)>.editor-source,.app-shell.view-editor .editor:is(.is-editing-notes,.has-roll-card)>.editor-source:has(.source-stage)){display:none}.app-shell.view-editor .editor:is(.is-editing-notes,.has-roll-card)>.editor-main{flex:1 1 0;height:auto;min-height:0;display:grid}.app-shell.view-editor .editor:not(.is-editing-notes) .source-stage .stage-fold,.app-shell.view-editor .editor:not(.is-editing-notes) .source-stage .source-poster-tag{display:none}.app-shell.view-editor .editor:not(.is-editing-notes) .source-stage .video-player,.app-shell.view-editor .source-stage.is-folded .video-player{aspect-ratio:auto;object-fit:contain;background:#000;border-radius:14px;flex:0 auto;width:auto;max-width:55%;height:100%;min-height:0;max-height:100%;margin:0;display:block}.app-shell.view-editor .editor:not(.is-editing-notes) .source-stage .chord-panel{border:1px solid var(--border);background:var(--surface);pointer-events:auto;border-radius:14px;flex-direction:column;flex:1 1 0;justify-content:center;align-items:flex-start;gap:8px;min-width:0;max-width:none;padding:12px 18px 12px 22px;display:flex;position:relative}.app-shell.view-editor .editor:not(.is-editing-notes) .source-stage .chord-panel:before{display:block;top:16px;bottom:16px}.app-shell.view-editor .editor:not(.is-editing-notes) .source-stage .chord-panel-label,.app-shell.view-editor .editor:not(.is-editing-notes) .source-stage .chord-panel-notes,.app-shell.view-editor .editor:not(.is-editing-notes) .source-stage .chord-panel-others{display:flex}.app-shell.view-editor .editor:not(.is-editing-notes) .source-stage .chord-panel-name,.app-shell.view-editor .editor:not(.is-editing-notes) .source-stage .chord-panel:not(.has-chord) .chord-panel-name{font:700 clamp(28px, 9vh, 42px)/1.05 var(--font-interface);letter-spacing:-.05em;white-space:nowrap}.app-shell.view-editor .editor:not(.is-editing-notes) .source-stage .chord-panel-detail,.app-shell.view-editor .editor:not(.is-editing-notes) .source-stage .chord-panel:not(.has-chord) .chord-panel-detail{white-space:normal;font-size:13px;display:block}.app-shell.view-editor .editor:not(.is-editing-notes) .source-stage .chord-panel-others{padding-top:8px}@media (max-height:340px){.app-shell.view-editor .editor:not(.is-editing-notes) .source-stage .chord-panel-others{display:none}}.app-shell.view-editor .editor:has(>.editor-source>.source-stage) .transport-notes{border:1px solid var(--border-strong);min-height:34px;color:var(--ink);white-space:nowrap;background:0 0;border-radius:999px;align-items:center;gap:6px;padding:0 12px;font-size:12px;font-weight:600;display:inline-flex}.app-shell.view-editor .editor:has(>.editor-source>.source-stage) .transport-notes.is-on{border-color:var(--ink);background:var(--ink);color:var(--canvas)}.app-shell.view-editor .editor-main{flex:1 1 0;height:auto;min-height:0;display:grid}.app-shell.view-editor .editor:has(.timeline:not(.is-collapsed)) .editor-main{flex:1 1 0;height:auto;min-height:0;display:grid}.app-shell.view-editor .timeline{border:0;border-radius:0;padding:0}.app-shell.view-editor .timeline-head,.app-shell.view-editor .timeline-foot{display:none}.app-shell.view-editor .timeline-scroll{--roll-fit:1;flex:1 1 0;min-height:0;overflow:auto}.app-shell.view-editor .keyboard-scroll{margin-top:0;padding:0}.app-shell.view-editor .transport{z-index:20;border:1px solid var(--border-strong);background:var(--raised);-webkit-backdrop-filter:none;backdrop-filter:none;width:max-content;max-width:calc(100% - 24px);transition:opacity .25s var(--ease-out);border-radius:999px;flex-wrap:nowrap;align-items:center;gap:6px;margin:0 auto;padding:4px 6px;display:flex;position:absolute;inset:8px 0 auto;overflow:visible;box-shadow:0 10px 26px #00000059}.app-shell.view-editor .transport-progress,.app-shell.view-editor .transport-sep,.app-shell.view-editor .transport-listen,.app-shell.view-editor .transport-main>.icon-button:not(.transport-skip){display:none}.app-shell.view-editor .transport-main{flex:none;gap:4px}.app-shell.view-editor .transport-main>.play-button{order:0;width:36px;height:36px;margin:0}.app-shell.view-editor .transport-main>.icon-button{order:1;width:34px;height:34px}.app-shell.view-editor .transport-time{white-space:nowrap;order:3;padding:0 4px;font-size:12px;display:inline}.app-shell.view-editor .transport-loop{border-radius:50%;width:34px;min-height:34px;padding:0}.app-shell.view-editor .transport-end{display:flex}.app-shell.view-editor .transport .key-trigger{min-height:34px}.app-shell.view-editor .editor.is-idle .transport:not(:has(.key-popover)){opacity:0;pointer-events:none}}@media (max-width:760px),(orientation:landscape) and (max-height:520px) and (max-width:1100px){.account-popover,.gallery-account .account-popover,.project-menu-popover,.key-popover{z-index:60;overscroll-behavior:contain;width:auto;min-width:0;max-height:calc(100dvh - 12px);padding-bottom:calc(10px + env(safe-area-inset-bottom,0px));box-shadow:0 0 0 100vmax var(--scrim-solid,#0000008c), 0 -12px 30px #00000059;transform-origin:bottom;animation:sheet-up .22s var(--ease-out);border-width:1px 0 0;border-radius:20px 20px 0 0;position:fixed;inset:auto 0 0;overflow-y:auto}@keyframes sheet-up{0%{opacity:0;transform:translateY(24px)}}.account-popover,.project-menu-popover{padding-inline:max(8px, env(safe-area-inset-left,0px)) max(8px, env(safe-area-inset-right,0px))}.account-popover .account-action,.project-menu-popover .menu-action{min-height:48px}.feedback-dialog .modal{max-height:100dvh}.feedback-dialog .modal-body{max-height:calc(100dvh - 12px);padding-bottom:0}.feedback-form{gap:12px}.feedback-head h2{font-size:20px}.feedback-field textarea{height:clamp(96px,22dvh,180px);min-height:96px}.feedback-form>.button[type=submit]{z-index:1;bottom:calc(10px + env(safe-area-inset-bottom,0px));min-height:50px;box-shadow:0 0 0 10px var(--surface), 0 -14px 22px -6px var(--surface);position:sticky}.feedback-form{padding-bottom:calc(14px + env(safe-area-inset-bottom,0px))}.feedback-privacy{order:0;font-size:12px}}@media (orientation:landscape) and (max-height:520px) and (max-width:1100px){.key-popover{width:min(600px,100vw);padding:12px max(24px, env(safe-area-inset-right,0px)) calc(10px + env(safe-area-inset-bottom,0px)) max(24px, env(safe-area-inset-left,0px));grid-template-columns:auto minmax(0,1fr);align-items:center;column-gap:28px;margin:0 auto;display:grid}.key-popover>.key-dial{grid-area:1/1/span 3;width:210px;height:210px;margin:0}.key-popover>:not(.key-dial){grid-column:2}.key-popover-title,.key-popover-note{text-align:left}.key-dial-center{inset:58px}.feedback-head p{display:none}.feedback-field textarea{height:72px;min-height:72px}.account-popover,.gallery-account .account-popover{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-auto-flow:dense;align-content:start;column-gap:12px;width:min(760px,100vw);margin:0 auto;display:grid;left:0;right:0}.account-popover>:not(.account-actions){grid-column:1}.account-popover>.account-actions{grid-area:1/2/span 4;align-self:start}.account-popover>.theme-switch{border-top:0}.project-menu-popover{width:min(520px,100vw);margin:0 auto}}
