:root{font-family:Avenir Next,Avenir,Segoe UI,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none;text-rendering:optimizeLegibility;--paper: #f5f3eb;--surface: #fffef9;--ink: #242d28;--muted: #657066;--line: #d9ddd1;--accent: #28553f;--accent-hover: #173f2b;--accent-soft: #eaf0e5;--on-accent: #fffef9;--amber: #8a5b19;--amber-soft: #faf1dc;--error: #a63e2d;--focus: #b66b20;--serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;--mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;color-scheme:light dark}@media(prefers-color-scheme:dark){:root{--paper: #1d211f;--surface: #252b27;--ink: #e9ede3;--muted: #adb6aa;--line: #41493f;--accent: #b6d5a9;--accent-hover: #cee5c6;--accent-soft: #303e31;--on-accent: #1d2a1e;--amber: #e9bf78;--amber-soft: #3d3423;--error: #f3ab98;--focus: #e9bf78}}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:20px}body{margin:0;min-width:320px}button,input,select{font:inherit}button,select,summary{-webkit-tap-highlight-color:transparent}button,a,select,summary{touch-action:manipulation}button,select{color:inherit}button{cursor:pointer}button:disabled,select:disabled{cursor:not-allowed;opacity:.42}a{color:inherit;text-underline-offset:4px}a:hover{color:var(--accent)}button{-webkit-appearance:none}button:focus-visible,a:focus-visible,select:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--focus);outline-offset:4px}::selection{background:var(--accent);color:var(--on-accent)}*{scrollbar-color:var(--muted) var(--paper);scrollbar-width:thin}p,h1,h2,h3{margin:0}svg{flex:0 0 auto}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.page-width{width:min(1240px,calc(100% - 96px));margin-inline:auto}.skip-link{position:absolute;top:12px;left:12px;z-index:10;background:var(--surface);padding:12px;transform:translateY(-200%)}.skip-link:focus{transform:none}.topbar{height:94px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.wordmark{text-decoration:none;display:inline-flex;align-items:center;gap:8px;font-weight:700;font-size:21px;letter-spacing:-.035em}.wordmark>span:last-child{font-weight:400}.brand-mark{width:30px;height:29px;display:flex;align-items:end;gap:4px;margin-right:6px;padding-block:3px}.brand-mark i{display:block;width:6px;background:var(--accent);border-radius:1px;height:12px}.brand-mark i:nth-child(2){height:18px}.brand-mark i:nth-child(3){height:24px}.header-right{display:flex;gap:35px;align-items:center;font-size:12px}.local-status{display:inline-flex;gap:8px;align-items:center;color:var(--muted)}.local-status>span,.ready-dot{height:6px;width:6px;border-radius:50%;background:var(--accent);flex-shrink:0}.help-link{display:flex;gap:10px;align-items:center;text-decoration:none}.intro{padding-block:47px 40px;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:40px}h1{font-family:var(--serif);font-size:clamp(42px,4.4vw,64px);font-weight:400;line-height:1.06;letter-spacing:-.035em;text-wrap:balance}h1 em{font-weight:400;color:var(--accent)}.intro-copy{padding-top:18px;justify-self:end;max-width:440px}.intro-copy p:first-child{font-size:18px;font-weight:500;margin-bottom:10px}.intro-copy p:last-child{color:var(--muted);line-height:1.8;font-size:14px}.dropzone{border:1px dashed var(--accent);background:var(--accent-soft);display:flex;gap:22px;padding:28px 35px;align-items:center;border-radius:6px;transition:background-color .15s ease-out}.dropzone.is-dragging{background:var(--line);outline:3px solid var(--accent);outline-offset:4px}.drop-symbol{color:var(--accent);display:grid;place-items:center;border:1px solid var(--line);width:57px;height:57px;border-radius:50%}.drop-copy h2{font-size:17px;font-weight:600;margin-bottom:7px}.drop-copy p{color:var(--muted);font-size:12px;line-height:1.5}.import-actions{margin-left:auto;display:flex;flex-direction:column;align-items:center;gap:8px}.button{padding:12px 18px;border:1px solid transparent;border-radius:4px;display:inline-flex;justify-content:center;align-items:center;gap:25px;font-size:12px;font-weight:600;min-height:43px}.primary{background:var(--accent);color:var(--on-accent)}.primary:hover{background:var(--accent-hover)}.secondary{background:var(--surface);border-color:var(--line)}.secondary:hover{border-color:var(--accent)}.sample-link{border:0;background:none;color:var(--accent);font-size:11px;min-height:27px;display:flex;gap:8px;align-items:center}.sample-link:hover{text-decoration:underline;text-underline-offset:4px}.import-footnote{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:10px;margin-top:12px;margin-bottom:32px;gap:10px}.import-footnote>span:first-child{display:inline-flex;align-items:center;gap:6px}.workspace{display:grid;grid-template-columns:260px minmax(0,1fr);border:1px solid var(--line);border-radius:6px;background:var(--surface);overflow:hidden;min-height:465px}.library{display:flex;flex-direction:column;border-right:1px solid var(--line);background:var(--paper);min-width:0}.section-heading{min-height:68px;padding:20px;display:flex;gap:10px;justify-content:space-between;align-items:center}.section-heading h2,.chart-toolbar h2{font-size:13px;font-weight:600}.count{font-size:10px;font-family:var(--mono);color:var(--muted);padding:3px 6px;border:1px solid var(--line);border-radius:3px;margin-left:7px}.text-button{border:0;background:none;color:var(--accent);padding:8px 0;display:inline-flex;align-items:center;gap:10px;font-size:12px;font-weight:500}.text-button:hover{text-decoration:underline;text-underline-offset:4px}.section-heading .text-button{font-size:10px}.empty-library{padding:38px 24px 50px;color:var(--muted)}.empty-library svg{opacity:.7}.empty-library p{color:var(--ink);margin-block:16px 8px;font-size:13px}.empty-library>span{font-size:12px;line-height:1.8}.file-list{margin:0;padding:0 10px 16px;list-style:none;max-height:450px;overflow-y:auto}.file-list li{display:flex;align-items:stretch;border-radius:4px;margin-block:3px;position:relative}.file-list li.active,.file-list li:hover{background:var(--accent-soft)}.file-select{display:flex;gap:10px;width:100%;align-items:center;border:0;background:transparent;padding:14px 30px 14px 10px;text-align:left;min-width:0}.file-select>svg{color:var(--muted)}.file-select>span:first-of-type{min-width:0;flex:1}.file-select strong{display:block;font-size:12px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-select small{display:block;font-size:10px;color:var(--muted);margin-top:5px;line-height:1.5}.remove-file{position:absolute;right:1px;top:18px;width:28px;height:28px;padding:0;border:0;display:grid;place-items:center;background:transparent;color:var(--muted);border-radius:4px}.remove-file:hover{color:var(--error);background:var(--surface)}.library-bottom{display:flex;gap:14px;align-items:center;margin-top:auto;padding:24px 22px;border-top:1px solid var(--line)}.library-bottom p{font-size:10px;line-height:1.8}.library-bottom p span{color:var(--muted)}.mini-bars{height:28px;display:flex;gap:3px;align-items:end}.mini-bars i{display:block;width:3px;background:var(--line);height:16px}.mini-bars i:nth-child(2){height:25px}.mini-bars i:nth-child(3){height:21px}.mini-bars i:nth-child(4){height:10px}.chart-panel{min-width:0;display:flex;flex-direction:column}.chart-toolbar{padding:16px 26px;display:flex;justify-content:space-between;gap:10px;align-items:center;min-height:68px;border-bottom:1px solid var(--line)}.resolution{margin:0;padding:3px;display:flex;border:1px solid var(--line);border-radius:5px;background:var(--paper)}.resolution label{position:relative;padding:7px 12px;font-size:11px;color:var(--muted);cursor:pointer;border-radius:2px}.resolution label.chosen{color:var(--on-accent);background:var(--accent)}.resolution input{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}.resolution label:has(input:focus-visible){outline:3px solid var(--focus);outline-offset:3px}.resolution:disabled label{cursor:not-allowed;opacity:.5}.chart-empty{padding:56px 26px;display:flex;flex-direction:column;align-items:center;justify-content:center;flex:1;text-align:center;min-height:320px}.empty-measures{display:flex;gap:6px;width:210px;height:53px;margin-bottom:27px}.empty-measures span{flex:1;border:1px solid var(--line);border-radius:2px;background:var(--paper);position:relative}.empty-measures span:after{content:"";position:absolute;width:10px;height:1px;background:var(--line);inset:50% auto auto 40%}.chart-empty h3{font-family:var(--serif);font-size:27px;font-weight:400;letter-spacing:-.025em;text-wrap:balance}.chart-empty p{margin-block:12px 20px;color:var(--muted);font-size:12px;line-height:1.8;max-width:420px;overflow-wrap:anywhere}.chart-empty .text-button{font-size:11px}.error-state>svg{color:var(--error);margin-bottom:20px}.chart-content{flex:1;padding:25px 26px 20px}.song-heading{display:flex;align-items:start;justify-content:space-between;gap:14px}.song-heading>div{min-width:0}.song-heading h3{font-family:var(--serif);font-size:28px;font-weight:400;line-height:1.2;overflow-wrap:anywhere;letter-spacing:-.025em}.song-duration{font-family:var(--mono);font-size:12px;color:var(--muted);padding-top:6px}.sample-badge{font-size:9px;color:var(--accent);display:inline-block;padding:4px 6px;border:1px solid var(--line);border-radius:3px;margin-top:8px}.song-metadata{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:10px;color:var(--muted);margin-top:10px;font-variant-numeric:tabular-nums;line-height:1.6}.song-metadata>span{color:var(--muted)}.chart-legend{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;color:var(--muted);font-size:9px;margin-block:29px 12px}.chart-legend>span:last-child{display:inline-flex;align-items:center;gap:5px}.legend-dot{width:5px;height:5px;background:var(--amber);border-radius:50%;display:inline-block}.chord-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.chord-cell{text-align:left;min-height:110px;background:var(--accent-soft);color:var(--accent);border:1px solid transparent;border-radius:3px;padding:12px 14px;position:relative;display:flex;flex-direction:column;justify-content:space-between;gap:10px}.chord-cell:hover{border-color:var(--accent)}.chord-cell.inspected{border-color:var(--accent);outline:1px solid var(--accent);outline-offset:1px}.chord-cell.review{color:var(--amber);background:var(--amber-soft)}.chord-cell.empty{color:var(--muted);background:var(--paper);border-color:var(--line)}.bar-number{font-family:var(--mono);font-size:10px;opacity:.9}.chord-name{font-family:var(--serif);font-size:clamp(21px,2.25vw,32px);letter-spacing:-.03em;line-height:1;white-space:nowrap}.chord-name.long-name{font-size:22px}.cell-caption{font-size:8px}.review-dot{position:absolute;top:16px;right:13px;height:5px;width:5px;background:currentColor;border-radius:50%}.by-beat .chord-cell{min-height:94px}.chart-hint{font-size:10px;color:var(--muted);margin-top:18px;line-height:1.6}.chord-detail{display:flex;flex-direction:column;gap:6px;background:var(--paper);border-radius:3px;padding:14px;margin-top:16px;font-size:11px;line-height:1.6}.chord-detail>span{color:var(--muted)}.show-more{margin-top:16px;width:100%}.analysis-warnings{color:var(--amber);padding:12px;background:var(--amber-soft);margin-top:16px;font-size:11px;line-height:1.7}.no-segments{padding:30px 0;color:var(--muted);font-size:13px}.export-bar{padding:16px 26px;border-top:1px solid var(--line);display:flex;justify-content:space-between;flex-wrap:wrap;gap:14px;align-items:center}.export-label{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted)}.export-label select{border:0;background:var(--surface);padding:7px 3px;max-width:155px;font-size:10px;border-radius:2px}.export-buttons{display:flex;gap:6px}.export-buttons button{background:var(--surface);border:1px solid var(--line);padding:9px 12px;border-radius:3px;font-size:10px;min-height:36px;display:inline-flex;gap:8px;align-items:center;justify-content:center}.export-buttons button:hover:enabled{background:var(--accent-soft);border-color:var(--accent)}.midi-note{font-size:9px;line-height:1.7;color:var(--muted);padding:0 26px 15px}.live-status{font-size:10px;line-height:1.7;color:var(--muted);min-height:38px;padding-block:12px 0}.notes-section{padding-block:37px 45px;display:grid;grid-template-columns:1fr 1fr;gap:90px;border-top:1px solid var(--line);margin-top:23px}.notes-section h2{font-family:var(--serif);font-size:26px;line-height:1.25;font-weight:400;letter-spacing:-.02em}.notes-section h2 em{color:var(--muted);font-weight:400}.notes-section>div>p{color:var(--muted);line-height:1.9;font-size:11px;max-width:470px;margin-top:16px}.method-notes details{border-bottom:1px solid var(--line);font-size:11px}.method-notes summary{cursor:pointer;padding-block:16px;font-weight:500}.method-notes summary::marker{color:var(--muted)}.method-notes details p{color:var(--muted);line-height:1.9;margin-bottom:14px}footer{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding-block:25px 32px;font-size:10px;color:var(--muted)}footer>a{display:inline-flex;gap:8px;align-items:center;text-decoration:none}footer>span:nth-child(2){font-family:var(--serif);font-size:12px;font-style:italic}.loader{width:24px;height:24px;border:2px solid var(--line);border-top-color:var(--accent);border-radius:50%;margin-bottom:22px;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(min-width:1500px){.intro{padding-block:55px 48px}}@media(max-width:1000px){.page-width{width:calc(100% - 56px)}.intro{gap:30px}.intro-copy p:first-child{font-size:16px}.intro-copy p:last-child{font-size:12px}.desktop-break{display:none}.workspace{grid-template-columns:220px minmax(0,1fr)}.dropzone{padding:24px;gap:18px}.drop-copy h2{font-size:15px}.drop-copy p{font-size:10px}.chart-content,.chart-toolbar,.export-bar{padding-inline:20px}.chord-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.chord-cell{padding:11px}.export-bar{gap:10px}.notes-section{gap:40px}}@media(max-width:700px){.page-width{width:calc(100% - 36px)}.topbar{height:76px}.header-right{gap:0}.local-status{font-size:10px}.help-link{display:none}.wordmark{font-size:19px}.brand-mark{width:23px;gap:3px;margin-right:2px}.brand-mark i{width:5px}.intro{grid-template-columns:1fr;gap:20px;padding-block:32px 28px}h1{font-size:47px}.intro-copy{padding:0;justify-self:start}.intro-copy p:first-child{font-size:15px;margin-bottom:6px}.intro-copy p:last-child{font-size:12px;max-width:370px}.dropzone{flex-wrap:wrap;padding:22px 18px;gap:14px}.drop-symbol{height:40px;width:40px}.drop-symbol svg{width:21px}.drop-copy{flex:1}.drop-copy h2{font-size:13px}.drop-copy p{font-size:9px}.import-actions{margin:5px 0 0;flex-direction:row;justify-content:space-between;width:100%;gap:15px}.import-actions .button{flex:1;gap:22px}.sample-link{font-size:10px}.import-footnote{align-items:start;font-size:9px;margin-bottom:24px}.import-footnote>span:last-child{text-align:right;max-width:140px;line-height:1.6}.workspace{grid-template-columns:minmax(0,1fr)}.library{border-right:0;border-bottom:1px solid var(--line)}.section-heading{padding:17px 18px;min-height:54px}.empty-library{padding:0 18px 19px}.empty-library>svg,.empty-library>span,.library-bottom{display:none}.empty-library p{margin:0;color:var(--muted);font-size:11px}.file-list{max-height:205px;padding-bottom:10px}.file-select{padding-block:12px}.remove-file{top:12px;right:5px;width:32px;height:32px}.chart-toolbar{padding:15px 17px;min-height:66px}.chart-content{padding:22px 16px 20px}.chart-empty{min-height:320px;padding:38px 20px}.chart-empty h3{font-size:24px}.song-heading h3{font-size:25px}.song-metadata{gap:6px;font-size:9px}.chart-legend{line-height:1.6;margin-top:22px}.chord-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.chord-cell{min-height:116px;padding:13px 14px}.chord-name{font-size:32px}.cell-caption{font-size:9px}.export-bar{padding:15px 17px}.export-label,.export-buttons{width:100%}.export-buttons>button{flex:1;min-height:42px}.midi-note{padding-inline:17px}.notes-section{grid-template-columns:1fr;gap:20px;padding-block:30px;margin-top:20px}.notes-section h2{font-size:27px}.notes-section>div>p{font-size:11px}.method-notes summary{padding-block:18px}footer{flex-wrap:wrap;font-size:9px;padding-block:24px}footer>span:nth-child(2){display:none}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}
