:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;--accent:#3b5bdb;--muted:#868e96;--border:color-mix(in srgb, currentColor 18%, transparent);--doubt:#ffe066;--danger:#e03131;font-family:system-ui,sans-serif}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}body{margin:0}button{font:inherit;border:1px solid var(--border);background:var(--accent);color:#fff;cursor:pointer;border-radius:6px;padding:.45rem .9rem}button:disabled{opacity:.55;cursor:default}.app{max-width:1100px;margin:0 auto;padding:1.5rem 1rem}.app-header{justify-content:space-between;align-items:baseline;gap:1rem;display:flex}.layout{grid-template-columns:minmax(0,340px) minmax(0,1fr);align-items:start;gap:1.5rem;display:grid}@media (width<=760px){.layout{grid-template-columns:minmax(0,1fr)}}.muted{color:var(--muted)}.error{color:var(--danger)}.notice{border-left:3px solid var(--accent);padding:.4rem .6rem}.upload{border:2px dashed var(--border);text-align:center;border-radius:10px;padding:1.25rem}.upload.dragging{border-color:var(--accent)}.upload-title{margin:0 0 .25rem;font-weight:600}.upload-hint{color:var(--muted);margin:0 0 .75rem;font-size:.9rem}.upload-input{display:none}.history ul{margin:0;padding:0;list-style:none}.history-open{text-align:left;width:100%;color:inherit;background:0 0;gap:.15rem;margin-bottom:.4rem;display:grid}.history-open:disabled{opacity:1}.history-item.selected .history-open{border-color:var(--accent)}.history-title{font-weight:600}.history-meta,.history-status{color:var(--muted);font-size:.85rem}.history-progress{background:var(--border);border-radius:3px;height:6px;margin-top:.2rem;display:block;overflow:hidden}.history-progress-fill{background:var(--accent);height:100%;transition:width .3s;display:block}.history-item.failed .history-status{color:var(--danger)}.preview-header{justify-content:space-between;align-items:start;gap:1rem;display:flex}.preview-header h2{margin:0}.preview-actions{gap:.5rem;display:flex}.sheet{font-family:ui-monospace,monospace;line-height:1.25}.sheet-line{flex-wrap:wrap;margin-bottom:.6rem;display:flex}.sheet-line.blank{height:.8rem}.segment{flex-direction:column;padding-right:.5ch;display:inline-flex}.chord{color:var(--accent);font-weight:700}.lyrics{white-space:pre}.doubt{background:var(--doubt);color:#000}
