@import "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap";:root{--text:#6b6375;--text-h:#08060d;--bg:#fff;--border:#e5e4e7;--code-bg:#f4f3ec;--accent:#aa3bff;--accent-bg:#aa3bff1a;--accent-border:#aa3bff80;--social-bg:#f4f3ec80;--shadow:#0000001a 0 10px 15px -3px, #0000000d 0 4px 6px -2px;--sans:system-ui, "Segoe UI", Roboto, sans-serif;--heading:system-ui, "Segoe UI", Roboto, sans-serif;--mono:ui-monospace, Consolas, monospace;font:18px/145% var(--sans);letter-spacing:.18px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}@media (width<=1024px){:root{font-size:16px}}@media (prefers-color-scheme:dark){:root{--text:#9ca3af;--text-h:#f3f4f6;--bg:#16171d;--border:#2e303a;--code-bg:#1f2028;--accent:#c084fc;--accent-bg:#c084fc26;--accent-border:#c084fc80;--social-bg:#2f303a80;--shadow:#0006 0 10px 15px -3px, #00000040 0 4px 6px -2px}#social .button-icon{filter:invert()brightness(2)}}body{margin:0}h1,h2{font-family:var(--heading);color:var(--text-h);font-weight:500}h1{letter-spacing:-1.68px;margin:32px 0;font-size:56px}@media (width<=1024px){h1{margin:20px 0;font-size:36px}}h2{letter-spacing:-.24px;margin:0 0 8px;font-size:24px;line-height:118%}@media (width<=1024px){h2{font-size:20px}}p{margin:0}code,.counter{font-family:var(--mono);color:var(--text-h);border-radius:4px;display:inline-flex}code{background:var(--code-bg);padding:4px 8px;font-size:15px;line-height:135%}.counter{color:var(--accent);background:var(--accent-bg);border:2px solid #0000;border-radius:5px;margin-bottom:24px;padding:5px 10px;font-size:16px;transition:border-color .3s}.counter:hover{border-color:var(--accent-border)}.counter:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.hero{position:relative}.hero .base,.hero .framework,.hero .vite{margin:0 auto;inset-inline:0}.hero .base{z-index:0;width:170px;position:relative}.hero .framework,.hero .vite{position:absolute}.hero .framework{z-index:1;height:28px;top:34px;transform:perspective(2000px)rotate(300deg)rotateX(44deg)rotateY(39deg)scale(1.4)}.hero .vite{z-index:0;width:auto;height:26px;top:107px;transform:perspective(2000px)rotate(300deg)rotateX(40deg)rotateY(39deg)scale(.8)}#app{text-align:center;border-inline:1px solid var(--border);box-sizing:border-box;flex-direction:column;width:1126px;max-width:100%;min-height:100svh;margin:0 auto;display:flex}#center{flex-direction:column;flex-grow:1;place-content:center;place-items:center;gap:25px;display:flex}@media (width<=1024px){#center{gap:18px;padding:32px 20px 24px}}#next-steps{border-top:1px solid var(--border);text-align:left;display:flex}#next-steps>div{flex:1 1 0;padding:32px}@media (width<=1024px){#next-steps>div{padding:24px 20px}}#next-steps .icon{width:22px;height:22px;margin-bottom:16px}@media (width<=1024px){#next-steps{text-align:center;flex-direction:column}}#docs{border-right:1px solid var(--border)}@media (width<=1024px){#docs{border-right:none;border-bottom:1px solid var(--border)}}#next-steps ul{gap:8px;margin:32px 0 0;padding:0;list-style:none;display:flex}#next-steps ul .logo{height:18px}#next-steps ul a{color:var(--text-h);background:var(--social-bg);border-radius:6px;align-items:center;gap:8px;padding:6px 12px;font-size:16px;text-decoration:none;transition:box-shadow .3s;display:flex}#next-steps ul a:hover{box-shadow:var(--shadow)}#next-steps ul a .button-icon{width:18px;height:18px}@media (width<=1024px){#next-steps ul{flex-wrap:wrap;justify-content:center;margin-top:20px}#next-steps ul li{flex:calc(50% - 8px)}#next-steps ul a{box-sizing:border-box;justify-content:center;width:100%}}#spacer{border-top:1px solid var(--border);height:88px}@media (width<=1024px){#spacer{height:48px}}.ticks{width:100%;position:relative}.ticks:before,.ticks:after{content:"";border:5px solid #0000;position:absolute;top:-4.5px}.ticks:before{border-left-color:var(--border);left:0}.ticks:after{border-right-color:var(--border);right:0}.chord-grid-layout[data-v-f2d94a6e]{flex-wrap:wrap;gap:6px;width:100%;display:flex}.tonicization-row[data-v-f2d94a6e]{background:#faf5ff;border-style:solid}.target-switcher[data-v-f2d94a6e]{flex-wrap:wrap;gap:6px;margin-bottom:10px;display:flex}.target-tab[data-v-f2d94a6e]{color:#6d28d9;cursor:pointer;background:#fff;border:1px solid #ddd6fe;border-radius:7px;align-items:center;gap:6px;padding:5px 9px;font-size:11px;font-weight:700;transition:all .15s;display:inline-flex}.target-tab[data-v-f2d94a6e]:hover,.target-tab.active[data-v-f2d94a6e]{color:#fff;background:#7c3aed;border-color:#7c3aed}.target-count[data-v-f2d94a6e]{background:#7c3aed1f;border-radius:99px;justify-content:center;align-items:center;min-width:18px;height:18px;padding:0 5px;font-size:10px;display:inline-flex}.target-tab.active .target-count[data-v-f2d94a6e],.target-tab:hover .target-count[data-v-f2d94a6e]{background:#ffffff38}.tonicization-content[data-v-f2d94a6e]{flex-direction:column;gap:9px;display:flex}.tonicization-family-row[data-v-f2d94a6e]{border-top:1px dashed #ddd6fe;padding-top:8px}.tonicization-family-row[data-v-f2d94a6e]:first-child{border-top:0;padding-top:0}.family-title[data-v-f2d94a6e]{color:#7c3aed;margin-bottom:6px;font-size:10px;font-weight:700}.compact-grid[data-v-f2d94a6e]{gap:5px}.bravura-text[data-v-c33801ca]{dominant-baseline:central;text-anchor:middle;-webkit-user-select:none;user-select:none;font-family:Bravura,sans-serif}.nct-mark[data-v-c33801ca]{text-anchor:middle;dominant-baseline:central;-webkit-user-select:none;user-select:none;font-family:Inter,system-ui,sans-serif;font-size:17px;font-weight:700}.modulation-label[data-v-c33801ca]{text-anchor:middle;dominant-baseline:central;-webkit-user-select:none;user-select:none;font-family:Lora,Georgia,serif;font-size:12px;font-weight:700}.inline-key-signature[data-v-c33801ca]{pointer-events:none}.key-marker-fo[data-v-c33801ca]{pointer-events:none;overflow:visible}.key-marker[data-v-c33801ca]{color:#0f172a;white-space:nowrap;box-sizing:border-box;background:#fff;border:1px solid #0f172a;justify-content:center;align-items:center;min-width:34px;height:20px;padding:0 8px;font-family:Lora,Georgia,serif;font-size:12px;line-height:1;display:inline-flex}.key-marker strong[data-v-c33801ca]{font-size:14px;font-weight:700}.score-container[data-v-c33801ca]{-webkit-overflow-scrolling:touch;background:#fff;border-radius:8px;max-width:100%;padding:12px 0 8px;overflow:auto hidden}.score-svg[data-v-c33801ca]{display:block}.nct-edit-active .score-svg[data-v-c33801ca]{cursor:crosshair}.nct-hit-area[data-v-c33801ca]{fill:#f59e0b00;stroke:#0000;pointer-events:all;transition:fill .15s,stroke .15s}.melody-remove-hit-area[data-v-c33801ca]{fill:#0ea5e900;stroke:#0000;pointer-events:all;transition:fill .15s,stroke .15s}.nct-edit-note[data-v-c33801ca]{cursor:pointer}.nct-edit-note:hover .nct-hit-area[data-v-c33801ca]{fill:#f59e0b1f;stroke:#f59e0b8c}.melody-remove-hit-area[data-v-c33801ca]:hover{fill:#0ea5e91f;stroke:#0ea5e980}.nct-edit-note-locked:hover .nct-hit-area[data-v-c33801ca]{fill:#94a3b81f;stroke:#64748b8c}.hover-bg[data-v-c33801ca]{fill:#0000;transition:fill .2s}.clickable-node:hover .hover-bg[data-v-c33801ca]{fill:#0ea5e90f;cursor:pointer}.score-chord-label-fo[data-v-c33801ca]{pointer-events:none;overflow:visible}.score-chord-badge[data-v-c33801ca]{color:#e11d48;-webkit-user-select:none;user-select:none;white-space:nowrap;justify-content:center;align-items:center;height:28px;font-family:Lora,Georgia,serif;display:flex}.score-chord-badge.is-modulation-bridge[data-v-c33801ca]{color:#0f766e}.score-chord-core[data-v-c33801ca]{font-size:15.5px;font-weight:500;line-height:1}.score-chord-core.is-minor[data-v-c33801ca]{padding-right:2px;font-style:italic}.score-chord-degree-sub[data-v-c33801ca]{align-self:flex-end;margin-bottom:4px;margin-left:1px;font-size:10.5px;font-weight:500}.score-chord-super[data-v-c33801ca]{align-self:flex-start;margin-top:3px;margin-left:1px;font-family:Inter,system-ui,sans-serif;font-size:10px;font-weight:500}.score-chord-sub[data-v-c33801ca]{align-self:flex-end;margin-bottom:5px;margin-left:1px;font-size:12px;font-weight:500}.score-chord-stack[data-v-c33801ca]{flex-direction:column;justify-content:center;align-items:flex-start;margin-left:1.5px;font-size:10.5px;font-weight:500;line-height:.9;display:inline-flex}.score-stack-top[data-v-c33801ca],.score-stack-bottom[data-v-c33801ca]{font-size:10px}.score-chord-secondary[data-v-c33801ca]{color:#9f1239;margin-left:2px;font-size:12px;font-weight:700}.score-chord-badge.is-modulation-bridge .score-chord-secondary[data-v-c33801ca]{color:#0d9488}@font-face{font-family:Bravura;src:url(/Bravura.woff2)format("woff2");font-weight:400;font-style:normal;font-display:block}.bravura-text{dominant-baseline:central;text-anchor:middle;-webkit-user-select:none;user-select:none;font-family:Bravura,sans-serif}:root{--bg-color:#f1f5f9;--surface:#fff;--primary:#0ea5e9;--primary-hover:#0284c7;--text-main:#1e293b;--text-muted:#64748b;--border:#e2e8f0;--danger:#ef4444;--success:#10b981;--radius-lg:16px;--radius-md:8px;--shadow-sm:0 1px 3px #0000000d;--shadow-lg:0 10px 25px -5px #0000000d, 0 8px 10px -6px #00000003}#app{width:100%!important;max-width:100vw!important;margin:0!important;padding:0!important}body{background-color:var(--bg-color);color:var(--text-main);-webkit-font-smoothing:antialiased;margin:0;padding:20px 0;font-family:Inter,system-ui,sans-serif}.app-container{box-sizing:border-box;width:100%!important;max-width:100vw!important;margin:0!important;padding:0 24px!important}.app-header{box-sizing:border-box;flex-wrap:wrap;align-items:flex-start;gap:12px;width:100%;margin-bottom:14px;display:flex}.logo-area{text-align:left;flex:none;min-width:250px}.header-quick-controls{flex-wrap:wrap;flex:620px;align-items:center;gap:6px;min-width:360px;padding-top:2px;display:flex}.top-right-actions{z-index:50;flex-wrap:wrap;justify-content:flex-end;gap:6px;margin-left:auto;display:flex}.update-top-btn,.feedback-top-btn,.donate-btn{box-shadow:var(--shadow-sm);border-radius:7px!important;padding:6px 10px!important;font-size:12px!important}.update-top-btn{color:#fff;background:#0ea5e9}.update-top-btn:hover{background:#0284c7}.logo-area h1{color:var(--text-main);letter-spacing:-.5px;margin:0 0 6px;font-size:24px;font-weight:700}.badge{color:#fff;vertical-align:middle;background:linear-gradient(135deg,#f59e0b,#ef4444);border-radius:99px;margin-left:8px;padding:4px 10px;font-size:12px;font-weight:600}.subtitle{color:var(--text-muted);letter-spacing:.5px;margin:0 0 6px;font-size:13px;font-weight:500}.author-credits{color:var(--text-muted);justify-content:flex-start;align-items:center;gap:8px;margin-top:10px;font-size:12px;display:flex}.author-name{color:var(--text-main);font-weight:600}.divider{color:#cbd5e1}.author-link{border-radius:6px;align-items:center;gap:4px;padding:2px 8px;font-weight:500;text-decoration:none;transition:all .2s;display:inline-flex}.bilibili-link{color:#f472b6;background-color:#fdf2f8}.bilibili-link:hover{color:#db2777;background-color:#fce7f3;text-decoration:underline}.github-link{color:#334155;background-color:#f1f5f9}.github-link:hover{color:#0f172a;background-color:#e2e8f0;text-decoration:underline}.qq-link{color:#0284c7;background-color:#f0f9ff;font-weight:600}.github-avatar{object-fit:cover;border:1.5px solid #cbd5e1;border-radius:50%;width:20px;height:20px}.workspace-main-grid{box-sizing:border-box;grid-template-columns:320px 1fr 320px;align-items:flex-start;gap:24px;width:100%;display:grid}.workspace-wing{width:100%;max-height:calc(100vh - 120px);position:sticky;top:16px;overflow-y:auto}.left-wing{justify-self:start}.right-wing{justify-self:end}.workspace-center-stack{flex-direction:column;width:100%;min-width:0;display:flex}.glass-card{background:var(--surface);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);border:1px solid var(--border);margin-bottom:16px;padding:20px}.highlight-border{border-color:#fcd34d}.control-panel{justify-content:center;align-items:center;gap:30px;display:flex}.form-group{flex-direction:column;gap:8px;display:flex}.form-group label{-webkit-user-select:none;user-select:none}.form-label{color:var(--text-muted);text-transform:uppercase;letter-spacing:.5px;font-size:13px;font-weight:600}.segmented-control{background:#f1f5f9;border-radius:10px;padding:4px;display:flex}.segmented-control input[type=radio]{display:none}.segmented-control label{cursor:pointer;color:var(--text-muted);border-radius:8px;padding:8px 16px;font-size:13px;font-weight:500;transition:all .2s}.segmented-control input[type=radio]:checked+label{color:var(--primary);box-shadow:var(--shadow-sm);background:#fff}.compact-segmented{box-sizing:border-box;border-radius:8px;align-items:center;gap:2px;height:30px;padding:2px}.compact-segmented label{border-radius:6px;justify-content:center;align-items:center;min-height:22px;padding:4px 8px;font-size:12px;line-height:1;display:inline-flex}.mode-switch label{min-width:38px}.compact-help-btn{color:#0284c7;cursor:pointer;background:#e0f2fe;border:none;border-radius:50%;width:22px;height:22px;padding:0;font-weight:700;line-height:1}.compact-help-btn:hover{background:#bae6fd}.compact-select{min-width:76px;height:30px;border-radius:8px!important;padding:4px 8px!important;font-size:12px!important}.key-compact-select{max-width:184px}.meter-compact-select{width:76px}.duration-icons label.duration-symbol{min-width:28px;padding:2px 6px 3px;font-family:Bravura,Noto Music,serif;font-size:22px;line-height:1}.duration-dot-btn{color:#64748b;cursor:pointer;background:#fff;border:none;border-radius:6px;justify-content:center;align-items:center;width:28px;height:24px;transition:all .15s;display:inline-flex}.duration-dot-btn.active{color:#fff;box-shadow:var(--shadow-sm);background:#0ea5e9}.duration-dot-btn.disabled{opacity:.35;cursor:not-allowed}.duration-dot-glyph{font-family:Bravura,Noto Music,serif;font-size:20px;line-height:1;transform:translateY(-1px)}.modern-select{border:1px solid var(--border);background:var(--surface);color:var(--text-main);border-radius:8px;outline:none;padding:8px 14px;font-family:Inter;font-size:13px}.modern-select:focus{border-color:var(--primary)}.soprano-panel{background:#fef3c7;justify-content:center;align-items:center;gap:20px;display:flex}.piano-wrapper{background:#fff;border:1px solid #fde68a;border-radius:10px;padding:8px}.piano{width:450px;height:95px;position:relative}.piano-key{cursor:pointer;box-sizing:border-box;border:1px solid #334155;border-radius:0 0 4px 4px;position:absolute}.piano-key.white{z-index:1;background:#fff;width:26px;height:95px}.piano-key.white:active{background:#e2e8f0}.piano-key.black{z-index:2;background:#1e293b;width:16px;height:55px}.key-label{text-align:center;color:#94a3b8;width:100%;font-size:9px;font-weight:500;position:absolute;bottom:4px;left:0}.soprano-input-area{flex-direction:column;flex:1;gap:8px;max-width:300px;display:flex}.modern-input{box-sizing:border-box;border:1px solid #fcd34d;border-radius:8px;outline:none;width:100%;padding:10px 14px;font-family:monospace;font-size:14px}.modern-btn{cursor:pointer;border:none;border-radius:8px;justify-content:center;align-items:center;gap:6px;padding:8px 16px;font-size:13px;font-weight:600;transition:all .2s;display:inline-flex}.modern-btn:active{transform:scale(.97)}.btn-primary{background:var(--primary);color:#fff}.btn-primary:hover{background:var(--primary-hover)}.btn-secondary{color:#3730a3;background:#eef2ff;border:1px solid #c7d2fe}.btn-secondary:hover{background:#e0e7ff}.btn-success{background:var(--success);color:#fff}.btn-danger{color:var(--danger);background:#fff;border:1px solid #fecaca}.nct-tool-btn{color:#b45309;background:#fffbeb;border:1px solid #f59e0b;width:36px;min-width:36px;height:30px;font-weight:800;line-height:1;padding:0!important;font-size:18px!important}.nct-tool-btn:hover:not(:disabled),.nct-tool-btn.active{color:#fff;background:#f59e0b}.nct-tool-btn:disabled{opacity:.4;cursor:not-allowed}.smooth-tool-btn{color:#475569;background:#f8fafc;border:1px solid #64748b;width:36px;min-width:36px;height:30px;font-weight:800;line-height:1;padding:0!important;font-size:18px!important}.smooth-tool-btn:hover:not(:disabled),.smooth-tool-btn.active{color:#fff;background:#64748b}.tie-tool-btn{color:#1d4ed8;background:#eff6ff;border:1px solid #2563eb;width:36px;min-width:36px;height:30px;font-weight:800;line-height:1;padding:0!important;font-size:18px!important}.tie-tool-btn:hover:not(:disabled),.tie-tool-btn.active{color:#fff;background:#2563eb}.tie-tool-btn:disabled{opacity:.4;cursor:not-allowed}.toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px;display:flex}.btn-group{gap:10px;display:flex}.hint-text{color:var(--text-muted);background:#f8fafc;border-radius:99px;padding:4px 12px;font-size:12px}.dag-suggestion-hint{color:#0f766e;white-space:nowrap;background:#ecfdf5;border:1px solid #a7f3d0;border-radius:99px;align-items:center;gap:8px;padding:4px 12px;font-size:12px;display:flex}.dag-suggestion-hint b{color:#047857}.modern-panel{background:var(--surface);border-radius:var(--radius-lg);border:1px solid var(--border);box-shadow:var(--shadow-sm);padding:16px}.panel-header{color:#0284c7;letter-spacing:-.2px;margin:0 0 16px;font-size:15px;font-weight:700}.chromatic-header{color:#7c3aed}.category-row{background:#f8fafc;border:1px dashed #e2e8f0;border-radius:8px;margin-bottom:14px;padding:10px}.category-row:last-child{margin-bottom:0}.cat-title{color:var(--text-muted);text-transform:uppercase;letter-spacing:.5px;margin-bottom:8px;font-size:11px;font-weight:700}.chord-grid-layout{flex-wrap:wrap;gap:6px;width:100%;display:flex}.modern-chord-btn{color:#0f172a;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:6px;justify-content:center;align-items:center;width:auto;min-height:38px;padding:6px 14px;font-family:Lora,Georgia,serif;transition:all .15s cubic-bezier(.16,1,.3,1);display:inline-flex;box-shadow:0 1px 2px #00000005}.modern-chord-btn:hover{background:#f0f9ff;border-color:#0ea5e9;transform:translateY(-1px);box-shadow:0 4px 8px #0ea5e914}.chromatic-btn:hover{background:#f5f3ff;border-color:#8b5cf6;box-shadow:0 4px 8px #8b5cf614}.chord-badge{-webkit-user-select:none;user-select:none;align-items:center;font-family:Lora,Georgia,serif;display:inline-flex;position:relative}.chord-core{color:#0f172a;letter-spacing:-.5px;font-size:16px;font-weight:500}.chord-core.is-minor{color:#334155;letter-spacing:-.2px;padding-right:2px;font-family:Lora,Georgia,serif;font-size:16px;font-style:italic;font-weight:500}.chord-degree-sub{color:#1e293b;align-self:flex-end;margin-bottom:-3px;margin-left:1px;font-family:Lora,Georgia,serif;font-size:10.5px;font-weight:500}.chord-super{color:#64748b;align-self:flex-start;margin-top:-3px;margin-left:1px;font-family:Inter,system-ui,sans-serif;font-size:10px;font-weight:500}.chord-sub{color:#1e293b;align-self:flex-end;margin-bottom:-1px;margin-left:1px;font-size:12px;font-weight:500}.chord-stack{color:#0f172a;flex-direction:column;justify-content:center;align-items:flex-start;margin-left:1.5px;font-size:10.5px;font-weight:500;line-height:.9;display:inline-flex}.stack-top,.stack-bottom{font-size:10px}.chord-secondary{color:#94a3b8;margin-left:2px;font-size:12px;font-weight:700}.global-empty-indicator{text-align:center;color:var(--text-muted);padding:40px}.empty-icon{margin-bottom:8px;font-size:28px}.terminal-overlay,.help-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:999;background:#0f172a80;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.terminal-window{background:#1e1e1e;border-radius:10px;width:700px;max-width:90vw;overflow:hidden;box-shadow:0 20px 40px #0006}.terminal-header{background:#2d2d2d;align-items:center;padding:12px 16px;display:flex;position:relative}.mac-dots{gap:8px;display:flex;position:absolute}.dot{border-radius:50%;width:12px;height:12px;display:inline-block}.dot.red{background:#ff5f56}.dot.yellow{background:#ffbd2e}.dot.green{background:#27c93f}.terminal-title{text-align:center;color:#999;width:100%;font-family:monospace;font-size:13px}.terminal-body{max-height:60vh;padding:20px;overflow-y:auto}.terminal-body pre{color:#d4d4d4;white-space:pre-wrap;margin:0;font-family:monospace;font-size:14px;line-height:1.5}.compute-overlay{z-index:850;pointer-events:none;width:min(680px,100vw - 24px);position:fixed;bottom:18px;left:50%;transform:translate(-50%)}.current-key-chip{color:#0369a1;white-space:nowrap;background:#f0f9ff;border:1px solid #bae6fd;border-radius:8px;align-items:center;gap:7px;min-height:30px;padding:4px 9px;font-size:11px;display:inline-flex}.current-key-chip b{color:#0f172a;font-weight:700}.modulation-panel{flex-direction:column;gap:12px;font-family:Lora,Georgia,serif;display:flex}.modulation-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.modulation-header h3{color:#0369a1;margin:0 0 4px;font-size:15px}.modulation-header span,.modulation-empty{color:#64748b;font-size:12px}.modulation-body{grid-template-columns:210px 1fr;gap:12px;display:grid}.modulation-targets,.modulation-chains{flex-direction:column;gap:7px;max-height:220px;display:flex;overflow:auto}.modulation-chains{flex-flow:wrap;align-content:flex-start;align-items:flex-start}.modulation-target-btn,.modulation-chain-btn{cursor:pointer;text-align:left;color:#334155;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;justify-content:space-between;align-items:center;gap:8px;padding:7px 9px;font-family:Lora,Georgia,serif;font-size:12px;display:flex}.modulation-chain-btn{white-space:nowrap;justify-content:center;width:auto;min-height:38px;padding:6px 14px;font-size:16px}.modulation-target-btn.active,.modulation-target-btn:hover,.modulation-chain-btn:hover{color:#0369a1;background:#f0f9ff;border-color:#0ea5e9}.modulation-target-btn b,.modulation-chain-btn b{color:#0284c7;flex:none;font-size:11px}.modulation-chain-btn b{font-size:12px}.modulation-chain-btn span{white-space:nowrap}.compute-panel{color:#0f172a;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#fffffff5;border:1px solid #bae6fd;border-radius:8px;padding:12px 14px;box-shadow:0 16px 40px #0f172a29}.compute-header{align-items:center;gap:9px;font-size:13px;font-weight:700;display:flex}.compute-header strong{color:#0369a1;margin-left:auto;font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.compute-pulse{background:#0ea5e9;border-radius:50%;width:9px;height:9px;animation:1.2s infinite compute-pulse;box-shadow:0 0 #0ea5e973}.compute-bar{background:#e0f2fe;border-radius:999px;height:7px;margin:10px 0 8px;overflow:hidden}.compute-bar span{border-radius:inherit;background:linear-gradient(90deg,#0ea5e9,#10b981);height:100%;transition:width .25s;display:block}.compute-stage{color:#475569;margin-bottom:10px;font-size:12px}.compute-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.compute-grid div{background:#f8fafc;border:1px solid #e2e8f0;border-radius:7px;padding:7px 8px}.compute-grid b{color:#0f172a;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:14px;display:block}.compute-grid span,.compute-foot{color:#64748b;font-size:11px}.compute-foot{flex-wrap:wrap;gap:12px;margin-top:9px;display:flex}@keyframes compute-pulse{70%{box-shadow:0 0 0 8px #0ea5e900}to{box-shadow:0 0 #0ea5e900}}.help-window{background:var(--surface);border-radius:var(--radius-lg);width:480px;max-width:90vw;box-shadow:var(--shadow-lg);border:1px solid var(--border);flex-direction:column;display:flex;overflow:hidden}.help-header{border-bottom:1px solid var(--border);background:#f8fafc;justify-content:space-between;align-items:center;padding:16px 20px;display:flex}.help-header h3{margin:0;font-size:15px;font-weight:700}.close-help-btn{cursor:pointer;color:var(--text-muted);background:0 0;border:none;font-size:16px}.help-body{flex-direction:column;gap:12px;padding:20px;display:flex}.help-rule-line{color:#334155;font-size:13px;line-height:1.6}.help-footer{border-top:1px solid var(--border);background:#f8fafc;justify-content:flex-end;padding:12px 20px;display:flex}.fade-enter-active,.fade-leave-active{transition:opacity .2s}.fade-enter-from,.fade-leave-to{opacity:0}.modal-enter-active,.modal-leave-active{transition:all .2s ease-out}.modal-enter-from,.modal-leave-to{opacity:0;transform:translateY(10px)}@media screen and (width<=1200px){.flex-workspace-mode{padding:0 12px!important}.workspace-main-grid{grid-template-columns:1fr;gap:16px}.workspace-wing{width:100%;max-height:none;position:static;overflow-y:visible}.app-header{flex-direction:column;align-items:stretch;gap:10px}.logo-area{text-align:center;min-width:0}.header-quick-controls{flex-basis:auto;justify-content:center;min-width:0}.top-right-actions{justify-content:center;width:100%;margin-left:0}.piano-wrapper{width:100%;overflow-x:auto}.toolbar{flex-direction:column;gap:8px}.btn-group{width:100%}.btn-group .modern-btn{flex:1}}@media screen and (width<=640px){body{padding:8px 0;font-size:13px;overflow-x:hidden}.flex-workspace-mode{padding:0 8px!important}.app-header{gap:8px;margin-bottom:10px}.logo-area h1{font-size:20px}.subtitle{font-size:12px}.author-credits{flex-wrap:wrap;justify-content:center;row-gap:6px}.header-quick-controls{justify-content:flex-start;align-items:stretch;gap:6px}.modern-btn{min-height:30px;padding:6px 10px;font-size:12px}.modern-select,.modern-input{min-height:30px;padding:6px 9px;font-size:12px}.compact-segmented label,.duration-icons label,.compact-help-btn{min-height:28px;padding:5px 7px;font-size:11px}.duration-symbol{font-size:18px!important}.nct-tool-btn,.smooth-tool-btn,.tie-tool-btn{width:30px;min-width:30px;height:28px;font-size:16px!important}.mode-switch,.duration-icons{justify-content:flex-start;width:100%;overflow-x:auto}.mode-switch label{flex:1 0 auto;min-width:46px}.compact-select{flex:128px;max-width:none}.top-right-actions{grid-template-columns:1fr;display:grid}.top-right-actions .modern-btn,.btn-group .modern-btn{width:100%}.workspace-main-grid{gap:10px}.glass-card,.modern-panel{border-radius:8px;padding:10px}.score-section{padding:10px 8px;overflow:hidden}.toolbar{align-items:stretch}.btn-group,.playback-controls{flex-direction:column;gap:8px!important}.playback-controls .modern-select{width:100%}.hint-text,.dag-suggestion-hint{text-align:center;white-space:normal;border-radius:8px;justify-content:center;line-height:1.45}.category-row{margin-bottom:10px;padding:8px}.modern-chord-btn{min-height:34px;padding:5px 10px}.chord-core,.chord-core.is-minor{font-size:15px}.piano-wrapper{padding:6px}.piano{transform-origin:0 0;transform:scale(.88)}.piano-wrapper{min-height:90px}.piano-key.white{height:86px}.piano-key.black{height:50px}.soprano-input-area{width:100%;max-width:none}.score-container{transform-origin:0 0;width:106.4%;margin-bottom:-12px;transform:scale(.94)}.compute-overlay{width:calc(100vw - 16px);bottom:8px}.compute-panel{padding:9px 10px}.compute-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.current-key-chip{justify-content:space-between;width:100%;font-size:10px}.modulation-body{grid-template-columns:1fr}.modulation-targets,.modulation-chains{max-height:160px}.modulation-target-btn,.modulation-chain-btn{padding:6px 8px;font-size:11px}.modulation-chain-btn{font-size:15px}.help-overlay,.terminal-overlay{box-sizing:border-box;align-items:flex-start;padding:10px;overflow-y:auto}.help-window,.terminal-window{max-width:none;width:100%!important}.help-header,.help-footer{padding:12px 14px}.help-body,.terminal-body{padding:14px}}.site-footer{text-align:center;width:100%;color:var(--text-muted);margin:8px 0 0;padding:18px 0 22px;font-size:13px;line-height:1.5}.beian-links{flex-wrap:wrap;justify-content:center;align-items:center;gap:14px;display:flex}.beian-link{color:var(--text-muted);align-items:center;text-decoration:none;transition:color .18s;display:inline-flex}.beian-link:hover{color:var(--primary)}.gongan-beian{gap:5px}.gongan-beian img{object-fit:contain;flex:none;width:20px;height:20px}
