:root{color-scheme:dark;--bg:#101513;--panel:#19201c;--border:#333e35;--text:#edf2e8;--muted:#a7b2a7;--green:#c4f06b}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:16px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}button,a,input{touch-action:manipulation}button,a{ -webkit-tap-highlight-color:transparent}header{height:82px;border-bottom:1px solid var(--border);padding:0 5%;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--text);font-weight:650}.mark{display:grid;place-items:center;background:var(--green);color:var(--bg);width:34px;height:34px;border-radius:8px;font-size:26px}.edition,.local-badge,.eyebrow,.tag{font-size:12px;letter-spacing:1.5px}.edition{color:var(--muted);font-weight:400}.local-badge{color:var(--green);border:1px solid #4a5c35;border-radius:20px;padding:6px 12px}main{max-width:1300px;margin:auto;padding:34px 40px 0}.heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.eyebrow{color:var(--green);margin:0 0 8px}h1{font-size:46px;line-height:1.1;letter-spacing:-2px;margin:0;font-weight:600}.intro{color:var(--muted);margin:0}.privacy{display:flex;gap:12px;align-items:center;color:#dce6d6;background:#202b20;border:1px solid #3a4b32;border-radius:10px;padding:12px 18px;font-size:14px;margin-bottom:24px}.privacy>span{color:var(--green);font-size:24px}.workspace{display:grid;grid-template-columns:0.86fr 1.14fr;gap:22px}.panel{background:var(--panel);border:1px solid var(--border);border-radius:15px;padding:24px;min-width:0}.section-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:22px}h2{font-size:18px;margin:0;font-weight:550}h2 span{color:var(--muted);font:13px monospace;margin-right:10px}.tag{color:var(--muted);font-size:10px;letter-spacing:1px}.drop{border:1px dashed #69785f;border-radius:10px;background:#20291f;min-height:190px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;cursor:pointer;position:relative;padding:20px}.drop:hover,.drop.drag{background:#2c3825;border-color:var(--green)}.drop:focus-within{outline:2px solid var(--green);outline-offset:3px}.drop input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.drop.busy{pointer-events:none;opacity:.55}.upload-icon{font-size:28px;color:var(--green);line-height:1.2;margin-bottom:10px}.drop>span:not(.upload-icon),.drop small{font-size:14px;color:var(--muted)}.drop small{margin-top:10px;font-size:12px}.record-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:18px}.record-row>span{font-size:14px;color:var(--muted)}button,.download{font:inherit;font-size:14px;border-radius:7px;min-height:44px;padding:11px 16px;cursor:pointer;text-align:center;text-decoration:none;transition:background .15s}button:disabled,.disabled{opacity:.38;cursor:not-allowed;pointer-events:none}.secondary{background:#242d26;border:1px solid #465047;color:var(--text)}.secondary:hover{background:#344137}.primary,.download{background:var(--green);border:1px solid var(--green);color:#172010;font-weight:650}.primary:hover,.download:hover{background:#d5fa92}.primary{display:flex;justify-content:space-between;width:100%;margin-top:22px;font-size:16px}.micro{font-size:12px;line-height:1.6;color:var(--muted)}#status{font-size:14px;color:var(--muted);overflow-wrap:anywhere}progress{width:100%;accent-color:var(--green)}.source-info{margin-top:18px;border-top:1px solid var(--border);padding-top:15px}.file-title{display:flex;gap:10px;justify-content:space-between;font-size:13px}.file-title strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#wave{width:100%;display:block;margin-top:8px}audio{width:100%;height:34px;margin-top:4px}.result-meta{display:flex;gap:36px;margin-bottom:20px}.result-meta div{display:flex;flex-direction:column}.result-meta strong{font:26px/1.3 ui-monospace,SFMono-Regular,monospace;font-weight:400}.result-meta span{font-size:12px;color:var(--muted);margin-top:3px}.roll-wrap{position:relative;border:1px solid var(--border);border-radius:8px;overflow:hidden;background:#111813}#roll{width:100%;display:block}#empty{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;background:#111813bb}#empty[hidden]{display:none}#empty>span:last-child{font-size:13px;color:var(--muted)}.empty-notes{font-size:23px;color:var(--green);letter-spacing:8px;line-height:1}.result-actions{display:flex;justify-content:space-between;gap:12px;margin-top:18px}.controls{border-top:1px solid var(--border);margin-top:18px;padding-top:16px;display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.controls-heading{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px}.controls-heading h3{font-size:15px;margin:0}.controls-heading>span{font-size:11px;color:var(--muted)}.controls label>span{display:flex;flex-direction:column;font-size:12px;gap:5px}.controls output{color:var(--green);font:16px monospace}.controls input{width:100%;min-height:30px;margin:5px 0;accent-color:var(--green)}.controls small{display:block;font-size:11px;color:var(--muted)}.bottom{display:grid;grid-template-columns:1fr 1fr;gap:40px;padding:22px 0}.bottom p{margin:0;color:var(--muted);font-size:13px}.bottom strong{color:var(--text)}.benefits{display:flex;flex-wrap:wrap;align-content:center;justify-content:flex-end;gap:10px 18px;font-size:12px;color:#d4dfcd}.benefits span:before{content:'✓';color:var(--green);margin-right:7px}footer{display:flex;justify-content:space-between;gap:16px;padding:18px 0;border-top:1px solid var(--border);font-size:11px;color:var(--muted)}:focus-visible{outline:2px solid var(--green);outline-offset:4px}[hidden]{display:none!important}@media(max-width:760px){header{height:64px;padding:0 20px}.edition{display:none}.local-badge{font-size:10px}main{padding:24px 16px 0}.heading{display:block}h1{font-size:38px}.intro{font-size:14px;margin-top:12px}.privacy{font-size:12px;margin-bottom:16px;padding:10px 12px}.workspace{grid-template-columns:1fr;gap:16px}.panel{padding:18px}.drop{min-height:155px}.bottom{grid-template-columns:1fr;gap:18px}.benefits{justify-content:flex-start}.controls{gap:12px}.controls-heading>span{font-size:10px}.result-meta{gap:25px}.result-meta strong{font-size:23px}footer{flex-direction:column;gap:5px}.record-row>span{font-size:12px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}

/* Site information pages and shared navigation */
footer{flex-wrap:wrap;gap:18px}footer nav{display:flex;flex-wrap:wrap;gap:20px}footer a{color:inherit;text-underline-offset:4px}footer a:hover{color:var(--accent,#c4f06b)}.legal{max-width:800px;margin:30px auto 60px;padding:30px;line-height:1.75}.legal h1{font-size:clamp(30px,6vw,48px);margin-bottom:24px}.legal h2{font-size:22px;margin-top:30px}.legal p{color:#bec8c1}.legal a{color:#c4f06b;overflow-wrap:anywhere}.legal .eyebrow{color:#c4f06b}@media(max-width:600px){.legal{padding:22px;margin-top:12px}footer nav a{display:inline-flex;align-items:center;min-height:44px}}

.analytics-choice{position:fixed;bottom:16px;right:16px;left:auto;width:380px;max-width:calc(100% - 24px);padding:16px 18px;background:#202923;color:#edf2e8;border:1px solid #53614f;border-radius:12px;z-index:1000;box-shadow:0 12px 48px #0007;font:13px/1.55 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}.analytics-choice[hidden]{display:none}.analytics-choice p{margin:0 0 12px;color:#bdc6bd}.analytics-choice a{color:#edf2e8;text-underline-offset:3px}.analytics-choice div{display:flex;gap:8px}.analytics-choice button,.analytics-settings{min-height:44px;padding:10px 14px;border:1px solid #53614f;border-radius:7px;background:transparent;color:#edf2e8;font:inherit;cursor:pointer}.analytics-choice button{flex:1;font-size:13px}.analytics-choice button:hover,.analytics-settings:hover{background:#344237}.analytics-settings{font-size:13px}.analytics-choice button:focus-visible,.analytics-settings:focus-visible{outline:2px solid #c4f06b;outline-offset:3px}@media(max-width:760px){.analytics-choice{bottom:10px;right:12px;left:12px;width:auto;max-width:none;padding:9px 12px;padding-bottom:max(9px,env(safe-area-inset-bottom));font-size:13px;line-height:18px}.analytics-choice p{margin-bottom:7px}.analytics-choice button{min-height:44px;padding:8px 10px}.studio:has(.analytics-choice:not([hidden])){padding-bottom:130px}}

/* Home studio — local fonts, no font requests or blocking font downloads. */
.studio{
 --bg:#101513;--panel:#19201c;--surface-2:#202923;--border:#344139;
 --text:#edf2e8;--muted:#adb8ae;--text-soft:#929e94;--green:#c4f06b;
 --mono:ui-monospace,SFMono-Regular,Consolas,monospace;
 --r:16px;--ease:180ms ease;
 background:radial-gradient(ellipse at 70% 0%,#22322644,transparent 42%),var(--bg);
 font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased;
}
.studio .icon{width:20px;height:20px;flex-shrink:0;vertical-align:middle}
.studio header{height:80px;max-width:1280px;padding:0 40px;margin:auto;border:0}
.studio .brand{font-size:17px;letter-spacing:-.5px;gap:10px;min-height:44px}
.studio .mark{width:33px;height:33px;border-radius:9px;background:var(--green)}
.studio .mark .icon{width:22px;height:22px}
.header-nav{display:flex;align-items:center;gap:30px}
.header-nav>a{font-size:14px;color:var(--muted);text-decoration:none;min-height:44px;display:flex;align-items:center}
.header-nav>a:hover{color:var(--text)}
.local-indicator{font:10px var(--mono);letter-spacing:1.4px;color:var(--muted);border-left:1px solid var(--border);padding-left:28px;display:flex;align-items:center;gap:9px}
.local-indicator i{width:5px;height:5px;background:var(--green);border-radius:50%;box-shadow:0 0 10px #c4f06333}
.studio main{max-width:1200px;padding:0 40px;margin:auto}
.studio .heading{position:relative;padding:36px 0 34px;margin:0;display:flex;align-items:center;justify-content:space-between;gap:30px}
.studio .eyebrow{font:10px/1.6 var(--mono);letter-spacing:1.9px;color:var(--text-soft);margin:0 0 15px}
.studio h1{font-size:clamp(38px,4.4vw,60px);font-weight:650;line-height:1.08;letter-spacing:-2.8px;margin:0 0 15px}
.title-dot{color:var(--green)}
.studio .intro{font-size:21px;line-height:1.5;color:var(--text);letter-spacing:-.4px}
.hero-detail{font-size:15px;line-height:1.65;color:var(--muted);margin:5px 0 13px}
.hero-detail>span{display:block}
.studio .privacy{padding:0;margin:0;gap:7px;background:none;border:0;border-radius:0;color:var(--muted);font-size:13px;line-height:20px}
.studio .privacy .icon{height:15px;width:15px;color:var(--muted)}
.hero-art{display:flex;align-items:center;gap:18px;position:relative;padding:30px 14px 28px;opacity:.82;flex-shrink:0}
.signal-label{position:absolute;bottom:0;font:10px var(--mono);letter-spacing:2px;color:var(--text-soft)}
.signal-label:first-child{left:12px}.signal-label:last-child{right:14px}
.signal-wave{display:flex;align-items:center;gap:3px;height:90px;mask-image:linear-gradient(90deg,transparent,black 15%,black 85%,transparent)}
.signal-wave i{display:block;width:2px;background:#a6b5a3;border-radius:3px;height:12px}
.signal-wave .b1{height:29px}.signal-wave .b2{height:51px}.signal-wave .b3{height:39px}.signal-wave .b4{height:73px}.signal-wave .b5{height:89px}.signal-wave .b6{height:53px}.signal-wave .b7{height:25px}.signal-wave .b8{height:18px}
.hero-art>.icon{width:16px;color:var(--text-soft)}
.signal-notes{width:120px;height:96px;position:relative;background:repeating-linear-gradient(0deg,transparent 0 15px,#34413966 15px 16px)}
.signal-notes i{position:absolute;height:5px;border-radius:1px;background:var(--green);width:24px;left:2px;top:65px;box-shadow:0 0 12px #c4f06b11}
.signal-notes i:nth-child(2){left:25px;top:49px;width:15px}.signal-notes i:nth-child(3){left:43px;top:33px;width:24px}.signal-notes i:nth-child(4){left:68px;top:49px;width:15px}.signal-notes i:nth-child(5){left:85px;top:17px;width:19px}.signal-notes i:nth-child(6){left:107px;top:33px;width:13px}
.workspace-caption{display:flex;justify-content:space-between;gap:12px;font:10px/1.5 var(--mono);letter-spacing:1.4px;color:var(--text-soft);padding:0 2px 13px}
.workspace-caption b{padding:0 8px;font-weight:400;color:var(--border)}
.studio .workspace{grid-template-columns:minmax(0,.84fr) minmax(0,1.16fr);gap:20px;align-items:start}
.studio .panel{border:1px solid var(--border);border-radius:var(--r);padding:24px;background:linear-gradient(145deg,#1d2620,var(--panel) 70%);box-shadow:0 6px 24px #0000000d}
.studio .section-title{margin-bottom:20px;min-height:27px}
.studio h2{font-size:18px;font-weight:600;letter-spacing:-.45px}
.studio h2 span{font:11px var(--mono);color:var(--text-soft);margin-right:10px}
.studio .tag{font:9px var(--mono);letter-spacing:1.2px;color:var(--text-soft)}
.studio #result-tag{display:flex;align-items:center;gap:7px}
.studio #result-tag:before{content:'';width:5px;height:5px;background:var(--text-soft);border-radius:50%}
.studio.has-notes #result-tag:before{background:var(--green);box-shadow:0 0 10px #c4f06b55}
.studio .drop{min-height:212px;gap:10px;padding:24px 12px;border:1px dashed #506151;border-radius:10px;background:radial-gradient(ellipse at 50% 100%,#c4f06b07,transparent 70%),#131b16;transition:border-color var(--ease),background var(--ease)}
.studio .drop:hover,.studio .drop.drag{background:#202c20;border-color:var(--green)}
.studio .upload-icon{margin:0 0 3px;display:grid;place-items:center;color:var(--muted)}
.studio .upload-icon .icon{width:25px;height:25px}
.studio .choose-button{display:flex;align-items:center;gap:18px;background:var(--green);color:#172010;min-height:48px;padding:10px 20px;border-radius:8px;font-size:15px;font-weight:650;box-shadow:0 2px 0 #0002;transition:background var(--ease)}
.studio .drop:hover .choose-button{background:#d5fa92}
.studio .drop>span.drop-hint{font-size:13px;color:var(--muted);line-height:18px}
.studio .drop small{font-size:11px;letter-spacing:.25px;color:var(--text-soft);margin:0}
.studio .secondary-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}
.studio button,.studio .download{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:8px;font:550 14px/22px -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;min-height:46px;transition:background var(--ease),border-color var(--ease),color var(--ease)}
.studio .secondary{background:transparent;border:1px solid var(--border);color:var(--text)}
.studio .secondary:hover{background:#27332b;border-color:#617360}
.studio .secondary .icon{width:16px;height:16px;color:var(--muted)}
.studio .fit-note{font-size:13px;line-height:21px;color:var(--muted);margin:16px 0 0;padding:0;background:none;border:0}
.studio .fit-note a{color:var(--muted);text-underline-offset:3px;text-decoration-color:#617360}
.studio .fit-note a:hover{color:var(--text)}
.studio .micro{font-size:13px;line-height:21px;color:var(--muted);margin:10px 0 0}
.studio .micro:empty,.studio #status:empty{display:none}
.studio .source-footnote{margin:20px 0 0;padding-top:16px;border-top:1px solid var(--border);font-size:12px;color:var(--text-soft)}
.studio .primary{display:flex;justify-content:space-between;margin-top:16px;font-size:16px;min-height:48px}
.studio button:disabled,.studio .disabled{background:transparent;border-color:#344139;color:#88938a;opacity:1;cursor:not-allowed;pointer-events:none;box-shadow:none}
.studio .source-info{margin-top:18px;padding:16px;border:1px solid var(--border);border-radius:10px;background:#101813}
.studio .file-title{font-size:13px;color:var(--text);align-items:center}.studio #duration{color:var(--muted);font:12px var(--mono)}
.studio #status{font-size:13px;line-height:21px;margin:12px 0 0}.studio #cancel{margin-top:10px;width:100%}
.studio.has-source .drop{min-height:0;padding:10px 12px;flex-direction:row;justify-content:space-between;border-style:solid;background:transparent}
.studio.has-source .drop .upload-icon,.studio.has-source .drop .drop-hint{display:none}
.studio.has-source .choose-button{background:transparent;color:var(--text);padding:0;box-shadow:none;font-size:13px;min-height:24px;gap:10px}
.studio.has-source .choose-button .icon{width:16px}.studio.has-source .source-footnote{display:none}
.studio .result{background:linear-gradient(145deg,#19221c,#171f1a)}
.studio .result-meta{gap:0;padding:0 0 18px;margin:0;display:grid;grid-template-columns:1fr 1.2fr 1fr}
.studio .result-meta>div{padding:0 14px;border-left:1px solid var(--border)}.studio .result-meta>div:first-child{padding-left:0;border:0}
.studio .result-meta strong{font:23px/1.3 var(--mono);letter-spacing:-1px}.studio .result-meta span{font-size:11px;color:var(--muted)}
.studio .roll-wrap{border-color:#344139;border-radius:10px;background:#111a14}
.studio #empty{background:linear-gradient(0deg,#111a14ed,#111a1488);gap:10px}
.studio #empty strong{font-size:18px;letter-spacing:-.35px;font-weight:550}
.studio #empty>span:last-child{font-size:13px;color:var(--muted);text-align:center;padding:0 12px}
.studio .empty-notes{width:100px;height:49px;position:relative;margin-bottom:12px;display:block}
.empty-notes i{position:absolute;left:3px;top:25px;background:var(--green);height:7px;width:24px;border-radius:2px;box-shadow:0 0 20px #c4f06b20}
.empty-notes i:nth-child(2){left:30px;top:10px;width:17px}.empty-notes i:nth-child(3){left:51px;top:32px;width:20px}.empty-notes i:nth-child(4){left:75px;top:17px;width:24px}
.studio .result-actions{margin-top:16px;gap:12px}.studio .result-actions>*{min-height:46px}.studio .result-actions .download{padding-left:18px;padding-right:18px}
.studio .result-footnote{font-size:12px;line-height:20px;color:var(--muted);margin:14px 0 0;max-width:43ch}
.mobile-result-hint{display:none}
.studio .adjustments{border-top:1px solid var(--border);margin-top:20px;padding-top:2px}
.studio .adjustments summary{display:flex;align-items:center;gap:10px;min-height:50px;cursor:pointer;font-size:14px;font-weight:550;list-style:none}
.studio .adjustments summary::-webkit-details-marker{display:none}.studio .adjustments summary:after{content:'+';font:20px var(--mono);margin-left:auto;color:var(--muted)}.studio .adjustments[open] summary:after{content:'−'}
.studio .adjustments summary>span{font-size:11px;color:var(--muted);font-weight:400}
.studio .controls{border:0;margin:0;padding:8px 0 0;gap:20px}
.studio .controls label>span{font-size:12px;gap:8px}.studio .controls output{font-size:14px}.studio .controls small{font-size:12px;line-height:19px}.studio .controls input{min-height:44px;margin:0;cursor:pointer}
.workspace-note{display:flex;justify-content:space-between;gap:20px;padding:16px 2px;font-size:11px;color:var(--text-soft)}
.workspace-note>span:first-child{display:flex;align-items:center;gap:7px}.studio .workspace-note .icon{width:14px;height:14px}
.studio .home-help{margin:54px 0 0;padding:42px 0 0;border-top:1px solid var(--border);scroll-margin-top:24px}
.section-intro{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:26px}
.section-kicker{font:10px/1.5 var(--mono);letter-spacing:1.6px;color:var(--text-soft);margin:0 0 14px}
.studio .home-help h2{font-size:30px;line-height:1.2;letter-spacing:-1px;font-weight:550;margin:0}
.section-intro>p{font-size:13px;line-height:21px;color:var(--muted);margin:0}
.help-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.help-card{padding:24px;min-width:0;border:1px solid var(--border);border-radius:12px;background:#19201c66;display:flex;flex-direction:column;transition:background var(--ease),border-color var(--ease)}
.help-card:hover{background:var(--panel);border-color:#536450}
.guide-number{font:10px/1.5 var(--mono);letter-spacing:1px;color:var(--text-soft);margin-bottom:28px}
.help-card h3{font-size:19px;line-height:1.35;font-weight:550;letter-spacing:-.5px;margin:0 0 12px}
.help-card p{font-size:14px;line-height:23px;color:var(--muted);margin:0 0 24px}
.help-card a{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--text);font-size:13px;min-height:44px;margin-top:auto;text-decoration:none;border-top:1px solid var(--border);padding-top:12px}
.help-card a:hover{color:var(--green)}.help-card a .icon{width:16px;height:16px}
.studio #faq{display:grid;grid-template-columns:.7fr 1.3fr;gap:60px;margin-bottom:64px}
.faq-list details{border-bottom:1px solid var(--border)}.faq-list details:first-child summary{padding-top:0}
.faq-list summary{font-size:15px;line-height:24px;min-height:60px;padding:18px 30px 18px 0;cursor:pointer;list-style:none;position:relative;font-weight:500}
.faq-list summary::-webkit-details-marker{display:none}.faq-list summary:after{content:'+';position:absolute;right:0;color:var(--muted);font:18px/24px var(--mono)}
.faq-list details[open] summary:after{content:'−'}.faq-list details p{font-size:14px;line-height:24px;color:var(--muted);margin:0 0 20px}.faq-list a{color:var(--text);text-underline-offset:4px}
.studio footer{align-items:center;font-size:12px;padding:24px 0 32px;gap:12px;color:var(--muted)}
.footer-brand{font-size:14px;font-weight:600;color:var(--text)}.footer-brand>span{display:block;font-size:12px;color:var(--text-soft);font-weight:400;margin-top:4px}
.studio footer nav{gap:20px;margin-left:auto}.studio footer nav a{min-height:44px;display:inline-flex;align-items:center;text-decoration:none}
.studio .analytics-settings{border:0;background:none;color:var(--muted);font-size:12px;padding:8px;min-height:44px;font-weight:400}
.studio :focus-visible{outline:2px solid var(--green);outline-offset:4px}.studio #result-panel:focus{outline:none}.studio #result-panel:focus-visible{outline:2px solid var(--green)}
@media(min-width:901px){.studio:not(.has-source) .result{min-height:449px}}
@media(max-width:1050px){.hero-art{gap:12px;padding-left:0;padding-right:0}.signal-wave i:nth-child(n+22){display:none}.hero-detail{max-width:40ch}.studio .controls{grid-template-columns:1fr}.studio .controls label>span{flex-direction:row;justify-content:space-between}.help-card{padding:20px}.studio main{padding:0 28px}.studio header{padding:0 28px}}
@media(max-width:900px){
 .studio header{height:64px;padding:0 20px}.studio .brand{font-size:15px}.studio .mark{width:30px;height:30px}.header-nav{gap:18px}.header-nav>a{font-size:13px}.local-indicator{display:none}
 .studio main{padding:0 16px}.studio .heading{padding:25px 0 26px;display:block}.studio .eyebrow{font-size:9px;letter-spacing:1.5px;margin:0 0 11px}.studio h1{font-size:40px;line-height:44px;letter-spacing:-1.8px;margin-bottom:10px}.studio .intro{font-size:17px;line-height:25px;letter-spacing:-.25px;margin:0}.hero-detail{font-size:14px;line-height:22px;margin:6px 0 11px;max-width:35ch}.hero-detail>span{display:none}.studio .privacy{font-size:12px;line-height:18px}.hero-art{display:none}
 .workspace-caption{font-size:9px;padding-bottom:10px}.workspace-caption>span:last-child{display:none}.studio .workspace{grid-template-columns:1fr;gap:12px}.studio .panel{padding:18px;border-radius:14px}.studio .section-title{margin-bottom:15px}.studio h2{font-size:17px}.studio .tag{font-size:9px}
 .studio .drop{min-height:158px;gap:10px;padding:19px 12px}.studio .upload-icon{margin:0}.studio .upload-icon .icon{height:22px;width:22px}.studio .drop-hint{display:none}.studio .choose-button{min-height:48px;font-size:16px;padding:10px 18px;gap:14px}.studio .drop small{font-size:11px}.studio .secondary-actions{gap:8px;margin-top:10px}.studio .secondary-actions button{min-height:46px;padding:10px 8px;font-size:14px}.studio .fit-note{font-size:13px;line-height:21px;margin-top:14px}.studio .source-footnote{display:none}
 .studio:not(.analyzed) .result{background:transparent;padding:15px 18px}.studio:not(.analyzed) .result .section-title{margin:0}.studio:not(.analyzed) .result .section-title h2{font-size:14px;font-weight:500;color:var(--muted)}.studio:not(.analyzed) .result .tag{font-size:8px}.studio:not(.analyzed) .result .roll-wrap,.studio:not(.analyzed) .result .result-actions,.studio:not(.analyzed) .result .result-footnote{display:none}
 .studio:not(.analyzed) .mobile-result-hint{display:block;font-size:12px;line-height:20px;margin:6px 0 0;color:var(--text-soft)}
 .studio .result-actions>*{font-size:13px;padding:10px 12px}.studio .result-actions .download{padding:10px 14px}.studio .result-meta strong{font-size:20px}.studio .result-meta>div{padding:0 10px}.studio .controls{grid-template-columns:1fr;gap:20px}.studio .controls label>span{font-size:14px;flex-direction:row;justify-content:space-between}.studio .controls small{font-size:13px}.studio .adjustments summary>span{font-size:11px}.studio .result-footnote{font-size:13px;line-height:21px}
 .workspace-note{font-size:11px;line-height:19px;display:block;padding:13px 2px}.workspace-note>span:last-child{display:none}
 .studio .home-help{margin-top:34px;padding-top:30px}.section-intro{margin-bottom:20px}.section-intro>p{display:none}.section-kicker{font-size:9px;margin-bottom:10px}.studio .home-help h2{font-size:26px;line-height:32px;letter-spacing:-.75px;max-width:18ch}.help-grid{grid-template-columns:1fr;gap:12px}.help-card{padding:20px}.guide-number{margin-bottom:16px}.help-card h3{font-size:20px}.help-card p{font-size:15px;line-height:24px;margin-bottom:18px}.help-card a{font-size:14px}
 .studio #faq{display:block;margin-bottom:36px}.faq-intro{margin-bottom:22px}.faq-intro br{display:none}.studio .faq-intro h2{max-width:none}.faq-list summary{font-size:15px}.faq-list details p{font-size:15px;line-height:25px}
 .studio footer{align-items:flex-start;gap:12px;padding:24px 0}.studio footer nav{margin:0;gap:24px}.studio .analytics-settings{padding-left:0}
}
@media(max-width:380px){.studio .heading{padding-top:18px;padding-bottom:20px}.studio h1{font-size:36px;line-height:40px}.studio .panel{padding:16px}.studio .intro{font-size:16px}.studio .drop{min-height:150px}.studio .fit-note{font-size:13px}.studio .result-actions>*{font-size:12px}.studio .result-actions{gap:8px}.studio #empty strong{font-size:16px}}
@media(prefers-reduced-motion:reduce){.studio *{scroll-behavior:auto!important;transition:none!important}}
/* Keep the converter, rather than supporting copy, at the center of the first view. */
.studio .heading{padding-top:24px;padding-bottom:28px}
.studio .intro{font-size:18px;line-height:28px;margin:0 0 12px;color:var(--muted)}
.studio .privacy>span{font-size:inherit;line-height:inherit;color:inherit}
.studio .workspace{align-items:stretch}
.studio .panel{display:flex;flex-direction:column}
.studio .source-footnote{margin-top:auto;padding-top:16px}
.studio .fit-note{margin-bottom:20px}
.studio .privacy{font-size:13px}
.studio .drop small{font-size:12px}
.studio .result-footnote{max-width:none}
.studio .source-footnote,.studio .result-footnote{font-size:13px}
.studio .result-actions{margin-top:auto;padding-top:16px}
.studio.has-source .result-actions{margin-top:0}
@media(max-width:900px){
 .studio .heading{padding:19px 0 22px}.studio .eyebrow{display:none}.studio .intro{font-size:16px;line-height:24px;margin:0 0 10px;max-width:33ch}.studio .privacy{font-size:13px;line-height:20px;align-items:flex-start;max-width:35ch}.studio .privacy .icon{margin-top:2px}
 .workspace-caption{display:none}.studio .fit-note{margin-bottom:0}.studio .result-actions{margin-top:0}.studio .drop small{font-size:12px}
}
@media(min-width:901px){.studio .heading{padding-top:20px;padding-bottom:24px}.studio h1{font-size:56px}.studio:not(.has-source) .result{min-height:0}.studio .fit-note{margin-bottom:0}}
.studio.has-notes .primary:not(:disabled){background:transparent;border-color:var(--border);color:var(--text)}
.studio.has-notes .primary:not(:disabled):hover{background:var(--surface-2)}
.studio.has-source .drop:hover .choose-button{background:transparent}
.studio.has-source .source .section-title{order:0}
.studio.has-source .source .drop{order:1}
.studio.has-source .source-info{order:2}
.studio.has-source #retry{order:5}
.studio.has-source #cancel,.studio.has-source #progress{order:4}
.studio.has-source #status{order:5}
.studio.has-source .secondary-actions{order:6;margin-top:18px}
.studio.has-source .fit-note{order:7}
.studio.has-source #demo-status,.studio.has-source #record-status{order:8}
.studio header{max-width:1200px}
@media(max-width:380px){.studio .secondary-actions button{font-size:13px;gap:6px;padding:10px 6px}.studio .heading{padding-top:15px;padding-bottom:18px}}

/* Polyphonic / melody mode selector. */
.studio .mode-picker{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px 24px;margin:0 0 18px;padding:16px 18px;border:1px solid var(--border);border-radius:14px;background:linear-gradient(135deg,#1b241e,#171d19)}
.studio .mode-copy p{margin:0}.studio .mode-kicker{font:600 12px/1.4 var(--mono);letter-spacing:1.1px;text-transform:uppercase;color:var(--text)}
.studio #mode-description{margin-top:4px;color:var(--muted);font-size:13px;line-height:20px}
.studio .mode-options{display:grid;grid-template-columns:1fr 1fr;gap:8px;min-width:380px}
.studio .mode-options label{position:relative;display:block;cursor:pointer}
.studio .mode-options input{position:absolute;inset:0;opacity:0;pointer-events:none}
.studio .mode-options label>span{display:flex;flex-direction:column;justify-content:center;min-height:58px;padding:9px 14px;border:1px solid var(--border);border-radius:10px;background:#121814;color:var(--muted);transition:border-color var(--ease),background var(--ease),color var(--ease)}
.studio .mode-options b{font-size:14px;line-height:20px}.studio .mode-options small{font-size:11px;line-height:17px;color:var(--text-soft)}
.studio .mode-options label:has(input:checked)>span{border-color:#71884d;background:#25301f;color:var(--text);box-shadow:inset 0 0 0 1px #c4f06b22}
.studio .mode-options label:has(input:focus-visible)>span{outline:2px solid var(--accent);outline-offset:3px}
.studio .mode-options label:has(input:disabled){cursor:not-allowed}.studio .mode-options label:has(input:disabled)>span{opacity:.55}
.studio .mode-limit{grid-column:1/-1;margin:0;color:var(--text-soft);font:11px/1.5 var(--mono)}
.studio[data-mode="polyphonic"] .result{background:linear-gradient(145deg,#1b241f,#171f1a)}
@media(max-width:900px){
 .studio .mode-picker{display:block;margin-bottom:12px;padding:14px}.studio #mode-description{font-size:13px;line-height:19px}.studio .mode-options{min-width:0;margin-top:12px}.studio .mode-options label>span{min-height:56px;padding:8px 10px}.studio .mode-options b{font-size:14px}.studio .mode-options small{font-size:10px}.studio .mode-limit{margin-top:10px;font-size:10px}
}
@media(max-width:520px){.studio .header-nav a:first-child{display:none}.studio .mode-options{grid-template-columns:1fr}.studio .mode-options label>span{min-height:50px}.studio .mode-options small{font-size:11px}}
@media(min-width:601px) and (max-width:900px){.studio .privacy{max-width:none}.studio .intro{max-width:none}.studio .home-help h2{max-width:none}}
/* Readable supporting copy, especially on small screens. */
.studio .tag{font-size:11px;letter-spacing:.7px}
@media(max-width:900px){
 .studio h2 span{font-size:13px}.studio .drop small{font-size:13px}
 .studio:not(.analyzed) .result .tag{display:none}.studio.analyzed .result .tag{font-size:13px;letter-spacing:.3px}
 .studio:not(.analyzed) .mobile-result-hint{font-size:13px}
 .studio .result-meta span{font-size:13px;line-height:19px}
 .studio .adjustments summary>span{font-size:13px}
 .studio .help-card p,.studio .faq-list summary,.studio .faq-list details p{font-size:16px;line-height:25px}
 .studio .section-kicker,.studio .guide-number{font-size:12px;letter-spacing:1px}
 .studio .workspace-note,.studio footer,.studio .footer-brand>span,.studio .analytics-settings{font-size:13px}
}
@media(max-width:380px){
 .studio .result-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
 .studio .result-actions>*,.studio .result-actions .download{font-size:13px;padding:10px 6px;gap:6px;white-space:nowrap}
 .studio .result-actions .icon{width:16px;height:16px}
}

/* Audio selection and recording now start conversion immediately. */
.studio #retry{align-self:flex-start;margin-top:14px}
.studio #cancel{align-self:flex-start;width:auto;min-width:100px}
.studio #progress{margin-top:14px;height:5px;border:0;border-radius:4px;overflow:hidden}
.studio #progress::-webkit-progress-bar{background:var(--border)}
.studio #progress::-webkit-progress-value{background:var(--green)}
.studio .adjustment-hint{font-size:13px;line-height:21px;color:var(--muted);margin:0 0 12px}
.studio.analyzed:not(.has-notes) .empty-notes{display:none}
.studio #empty>span:last-child{max-width:42ch;line-height:21px}
.studio.is-busy #status:before{content:'';display:inline-block;width:11px;height:11px;border:1.5px solid var(--border);border-top-color:var(--green);border-radius:50%;margin-right:8px;vertical-align:-1px;animation:processing-spin .8s linear infinite}
@keyframes processing-spin{to{transform:rotate(360deg)}}
@media(max-width:900px){.studio .drop .upload-icon{display:none}.studio .drop>span.drop-hint{display:block;font-size:13px}.studio.has-source .drop>span.drop-hint{display:none}}
@media(prefers-reduced-motion:reduce){.studio.is-busy #status:before{animation:none}}

/* V3: bounded canvas, scrollable time/pitch, quieter result guidance. */
.studio .privacy-device{white-space:nowrap}
.studio .roll-viewport{height:260px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#59664e #19201c;position:relative}
.studio #roll-content{position:relative;min-width:100%;min-height:100%}
.studio #roll{position:sticky;left:0;top:0;display:block;max-width:none}
.studio .roll-wrap.can-scroll-right:after{content:'';position:absolute;right:0;top:0;bottom:16px;width:22px;background:linear-gradient(90deg,transparent,#19201c);pointer-events:none}
.studio .roll-viewport:focus-visible{outline:2px solid #c4f06b;outline-offset:-3px}
.studio .result-hint{margin:0 0 16px;padding:10px 12px;border:1px solid var(--border);border-radius:10px;background:#202923;color:#adb8ae;font-size:14px;line-height:1.5}
.studio .result-hint button{display:inline;padding:0;min-height:0;border:0;border-radius:0;background:none;color:#edf2e8;font:inherit;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.studio .result-hint[hidden]{display:none}
@media(max-width:640px){.studio .only-desktop{display:none}.studio .auto-copy{display:inline-block}.studio .auto-copy:first-letter{text-transform:uppercase}}

/* V4: restrained source playback and compact follow-up actions. */
.studio.has-source .workspace{align-items:start}
.studio #audio{display:none}
.studio .source-player{display:flex;align-items:center;gap:12px;margin-top:12px}
.studio #source-play{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;min-height:40px;padding:0;border-radius:50%;background:transparent;border:1px solid #536057;color:var(--muted)}
.studio #source-play:hover:not(:disabled){background:var(--surface-2);color:var(--text)}
.studio #source-seek{flex:1;min-width:0;accent-color:#929e94;height:20px;margin:0;cursor:pointer}
.studio #source-time{flex-shrink:0;color:var(--muted);font:12px/1.5 var(--mono);white-space:nowrap}
.studio.analyzed .secondary-actions{display:flex;align-items:center;justify-content:flex-start;gap:12px;margin-top:12px}
.studio.analyzed .secondary-actions button{flex:0 0 auto;border:0;background:none;padding:6px 0;min-height:44px;font-size:14px;font-weight:400;color:var(--muted)}
.studio.analyzed .secondary-actions button:hover{color:var(--text);text-decoration:underline;text-underline-offset:4px}
.studio.analyzed .secondary-actions .icon{display:none}
.studio.analyzed .secondary-actions:before{content:'·';order:1;color:var(--text-soft)}
.studio.analyzed #record{order:2}
.studio.analyzed .fit-note{margin-top:6px}
.studio .roll-wrap.can-scroll-right:after{z-index:2;width:54px;bottom:0;background:linear-gradient(90deg,transparent 0%,#19201ce6 76%,#19201c 100%)}
.studio .roll-more{display:none;position:absolute;right:8px;top:50%;transform:translateY(-50%);z-index:3;font:28px/1 var(--mono);color:#adb8ae;pointer-events:none}
.studio .can-scroll-right .roll-more{display:block}

/* Separate task groups in the complete guide directory. */
.studio .guide-group + .guide-group{margin-top:24px}

/* A source-backed editing example, before the optional partner link. */
.note-case{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px;margin:32px 0;padding:28px;border:1px solid var(--border);border-radius:16px;background:var(--panel)}
.studio .note-case h2{font-size:26px;margin:0 0 14px}
.note-case p,.note-case li{font-size:15px;color:var(--muted)}
.note-case ol{padding-left:22px;margin:16px 0}
.note-case li{margin:6px 0}
.note-case .case-scope{font-size:13px}
.note-case a{color:var(--green);text-underline-offset:4px}
.note-case>div>a{display:flex;align-items:center;min-height:44px;font-size:14px}
.note-case figure{margin:0;min-width:0;align-self:center}
.note-case img{display:block;width:100%;height:auto}
.note-case figcaption{font-size:13px;color:var(--muted);margin-top:10px}
@media(max-width:700px){.note-case{grid-template-columns:1fr;padding:20px;gap:20px}.studio .note-case h2{font-size:24px}}

/* Static conversion steps remain readable before any file is selected. */
.conversion-steps{margin:32px 0;padding:28px;border:1px solid var(--border);border-radius:16px;background:var(--panel)}
.studio .conversion-steps h2{font-size:28px;margin:0 0 20px}
.conversion-steps ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;padding-left:24px;margin:0}
.conversion-steps li{min-width:0;padding-left:4px}
.studio .conversion-steps h3{font-size:18px;margin:0 0 10px;line-height:1.4}
.conversion-steps p{font-size:15px;line-height:1.7;color:var(--muted)}
.conversion-steps a{color:var(--green);text-underline-offset:4px}
.conversion-steps .workflow-limits{font-size:13px;margin:22px 0 0}
@media(max-width:700px){.conversion-steps{padding:20px}.conversion-steps ol{grid-template-columns:1fr;gap:18px}.studio .conversion-steps h2{font-size:24px}}

/* Shared tokens for final-state components; geometry ratios remain computed. */
.studio{
 --bg:#111411;--surface:#181c18;--panel:var(--surface);--surface-2:#1f241f;
 --border:#2c322b;--border-subtle:#232822;--text:#eef1ea;--text-2:#a9afa3;--text-3:#929e94;
 --text-disabled:#5c6258;--accent:#c8f169;--on-accent:#12160f;
 --muted:var(--text-2);--text-soft:var(--text-3);--green:var(--accent);
 --warn:#f2b866;--warn-bg:rgba(242,184,102,.08);--warn-border:rgba(242,184,102,.35);
 --roll-black:#151e17;--roll-white:#1a241b;
 --font:-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
 --fs-tick:12px;--fs-xs:13px;--fs-sm:14px;--fs-base:16px;--fs-lg:18px;--fs-h3:20px;
 --lh-body:1.6;--lh-tight:1.45;--lh-head:1.1;
 --s1:4px;--s2:8px;--s3:12px;--s4:16px;--s5:24px;--s6:32px;--s7:48px;--s8:64px;--s9:96px;
 --r-sm:10px;--r-md:14px;--stroke:1px;--focus-ring:2px;--touch:44px;--icon:20px;
 --track-height:4px;--progress-height:3px;--thumb:18px;--overview-height:20px;
 --motion-time:1.2s;--disabled-opacity:.6;--copy-width:65ch;
}
.studio button,.studio h1,.studio h2,.studio h3,.studio .choose-button{font-weight:600}
.studio p{max-width:var(--copy-width)}
.studio .intro,.studio .privacy{text-wrap:balance}
.studio .title-dot{color:var(--text)}
.studio .mark{background:var(--surface-2);color:var(--text)}
.studio .field-error{display:flex;align-items:flex-start;gap:var(--s2);margin:var(--s3) 0 0;padding:var(--s3);border:var(--stroke) solid var(--warn-border);border-radius:var(--r-sm);color:var(--warn);background:var(--warn-bg);font-size:var(--fs-sm);line-height:var(--lh-tight);order:2}
.studio .field-error b{overflow-wrap:anywhere}
.studio .field-error .icon{width:var(--icon);height:var(--icon);flex-shrink:0}
.studio .drop.has-error{border-color:var(--warn-border)}
.studio .field-error[hidden],.studio .overview[hidden],.studio #reset-filters[hidden],.studio #progress[hidden]{display:none}
.studio .status-row{display:flex;align-items:center;justify-content:space-between;gap:var(--s3);order:4;margin-top:var(--s3)}
.studio .status-row:has(#status:empty):has(#cancel[hidden]){display:none}
.studio .status-row #status{order:0;margin:0;font-size:var(--fs-xs);line-height:var(--lh-tight)}
.studio .status-row #cancel{order:1;flex-shrink:0;width:auto;min-width:0;min-height:var(--touch);margin:0;padding:0 var(--s1);border:0;background:transparent;color:var(--text-2);font-size:var(--fs-xs);text-decoration:underline;text-underline-offset:var(--s1)}
.studio #progress{order:5;height:var(--progress-height);border-radius:var(--r-sm);background:var(--border);margin-top:var(--s2);overflow:hidden}
.studio #progress>span{display:block;height:100%;width:var(--progress,0%);background:var(--accent)}
.studio #progress.indeterminate>span{width:35%;animation:progress-slide var(--motion-time) ease-in-out infinite}
@keyframes progress-slide{from{transform:translateX(-100%)}to{transform:translateX(300%)}}
.studio.is-busy .drop .choose-button,.studio.has-source .drop .choose-button{background:transparent;box-shadow:none;white-space:nowrap}
.studio .drop.busy{opacity:1;cursor:not-allowed}
.studio .drop.busy .choose-button,.studio .drop.busy small{color:var(--text-disabled)}
.studio .secondary-actions button:disabled{color:var(--text-disabled);border-color:var(--border-subtle);background:transparent;cursor:not-allowed;opacity:1;text-decoration:none}
.studio .secondary-actions button:disabled .icon{color:inherit}
.studio .roll-more{width:var(--icon);height:var(--icon)}
.studio .overview{margin-top:var(--s3)}
.studio .overview>label{display:flex;justify-content:space-between;color:var(--text-3);font-size:var(--fs-xs);line-height:var(--lh-tight)}
.studio .overview-control{position:relative;height:var(--touch);display:flex;align-items:center}
.studio #overview-canvas{width:100%;height:var(--overview-height);border-radius:var(--s1);display:block;pointer-events:none}
.studio #overview-seek{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:ew-resize;touch-action:pan-y}
.studio .overview-control:focus-within{outline:var(--focus-ring) solid var(--accent);outline-offset:var(--s1);border-radius:var(--r-sm)}
.studio .controls{grid-template-columns:1fr;gap:var(--s5)}
.studio .controls output{color:var(--text);font-size:var(--fs-sm);white-space:nowrap}
.studio .controls label>span,.studio .transpose-control>label{display:flex;align-items:center;justify-content:space-between;gap:var(--s2);font-size:var(--fs-sm)}
.studio .controls small{display:block;color:var(--text-2);font-size:var(--fs-xs);line-height:var(--lh-tight)}
.studio .stepper{display:grid;grid-template-columns:var(--touch) minmax(0,1fr) var(--touch);align-items:center;gap:var(--s2);margin:var(--s2) 0}
.studio .stepper button{min-height:var(--touch);padding:0;border:var(--stroke) solid var(--border);border-radius:var(--r-sm);background:transparent;color:var(--text)}
.studio .stepper button:disabled{color:var(--text-disabled);cursor:not-allowed}
.studio #transpose{appearance:none;-webkit-appearance:none;width:100%;min-width:0;height:var(--touch);background:linear-gradient(to right,var(--border) var(--fill-start,50%),var(--accent) var(--fill-start,50%),var(--accent) var(--fill-end,50%),var(--border) var(--fill-end,50%)) center/100% var(--track-height) no-repeat;outline-offset:var(--s1)}
.studio #transpose::-webkit-slider-runnable-track{height:var(--track-height);background:transparent}
.studio #transpose::-webkit-slider-thumb{-webkit-appearance:none;width:var(--thumb);height:var(--thumb);margin-top:calc((var(--track-height) - var(--thumb))/2);border-radius:50%;background:var(--accent);border:0}
.studio #transpose::-moz-range-track{height:var(--track-height);background:transparent}
.studio #transpose::-moz-range-progress{background:transparent}
.studio #transpose::-moz-range-thumb{width:var(--thumb);height:var(--thumb);border-radius:50%;background:var(--accent);border:0}
.studio .adjustments summary{display:flex;align-items:center;gap:var(--s2);min-height:var(--touch)}
.studio .adjustments summary:after,.studio .faq-list summary:after{content:none}
.studio .adjustments summary .detail-toggle{margin-left:auto}
.studio .adjustments .text-action{border:0;border-radius:0;padding:0 var(--s1);margin-left:auto;min-height:var(--touch);font-size:var(--fs-xs);color:var(--text-2);background:transparent;text-decoration:underline;text-underline-offset:var(--s1)}
.studio details[open]>summary .toggle-vertical{display:none}
.studio .help-card{position:relative}
.studio .help-card a:after{content:'';position:absolute;inset:0;border-radius:var(--r-md)}
.studio .help-card:hover{border-color:var(--text-3)}
.studio .help-card:focus-within{outline:var(--focus-ring) solid var(--accent);outline-offset:var(--s1)}
.studio .help-card a:hover{color:var(--text)}
.studio .faq-list summary{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--s4)}
.studio .faq-list summary .detail-toggle{flex-shrink:0;margin-top:var(--s1);color:var(--text-2)}
.studio footer nav{display:flex;align-items:center;flex-wrap:wrap;gap:var(--s5)}
.studio footer nav a,.studio footer nav .analytics-settings{font:inherit;line-height:inherit;padding:0;border:0;border-radius:0;background:transparent;color:inherit;min-height:var(--touch);display:inline-flex;align-items:center;cursor:pointer;vertical-align:baseline}
.studio .analytics-choice{padding:var(--s2) var(--s3);padding-bottom:max(var(--s2),env(safe-area-inset-bottom));font-size:var(--fs-xs);line-height:var(--lh-tight)}
.studio .analytics-choice p{margin-bottom:var(--s1)}
.studio .analytics-choice button{min-height:var(--touch);padding:var(--s2);font-size:var(--fs-xs)}
.studio #source-play{width:var(--touch);height:var(--touch);min-height:var(--touch);flex-basis:var(--touch)}
@media(max-width:640px){
 .studio .panel{padding:var(--s4)}
 .studio.has-source .drop small{display:none}
 .studio.has-source .drop{justify-content:flex-start}
 .studio .result-meta strong{font-size:var(--fs-lg);white-space:nowrap}
 .studio .result-hint{padding:var(--s2);font-size:var(--fs-sm)}
 .studio .adjustments summary>span{display:none}
 .studio footer nav{gap:var(--s4)}
}
@media(prefers-reduced-motion:reduce){.studio #progress.indeterminate>span{animation:none;width:100%;opacity:var(--disabled-opacity)}}
/* Keep error feedback immediately below the input in every state. */
.studio .source>.drop{order:1}
.studio .source>.source-info{order:3}
.studio .source>.secondary-actions{order:6}
.studio .source>.fit-note{order:7}
.studio .source>.micro{order:8}
.studio .adjustments[open] summary:after,.studio .faq-list details[open] summary:after{content:none}
.studio #progress.indeterminate>span{animation-direction:alternate}
@keyframes progress-slide{from{transform:translateX(0)}to{transform:translateX(185%)}}

/* V5: one spacing rule for every FAQ row, including the first and open rows. */
.studio .faq-list details,.studio .faq-list details:first-child{padding:0;margin:0;border-bottom:var(--stroke) solid var(--border)}
.studio .faq-list details>summary,.studio .faq-list details:first-child>summary{box-sizing:border-box;min-height:var(--touch);margin:0;padding:var(--s4) 0}
.studio .faq-list details>p{margin:0;padding:0 0 var(--s4)}
.studio .feedback-link{font-size:var(--fs-sm);color:var(--text-2);line-height:var(--lh-body)}
.studio p.feedback-link{margin:var(--s3) 0 0}
.studio .feedback-link a{color:var(--text);text-decoration:underline;text-underline-offset:var(--s1)}
.studio .feedback-link a:hover{color:var(--text-2)}
.studio .feedback-link a:focus-visible{outline:var(--focus-ring) solid var(--accent);outline-offset:var(--s1);border-radius:var(--s1)}
.studio #result-feedback[hidden]{display:none}
.studio .faq-intro .feedback-link{max-width:none}
@media(min-width:900px){.studio .faq-intro{position:sticky;top:var(--s5);align-self:start}}
/* Keep short feedback labels together; do not strand their final word. */
.studio .feedback-link a{white-space:nowrap}

/* Balance guide headings so their final word does not sit alone. */
.studio .help-card h3{text-wrap:balance}
.studio .mode-switch .text-action{border:0;border-radius:0;padding:0;min-height:var(--touch);font:inherit;color:var(--text);background:transparent;text-decoration:underline;text-underline-offset:var(--s1);cursor:pointer}
.studio .mode-switch .text-action:hover{color:var(--text-2)}
.studio .mode-switch .text-action:disabled{opacity:.5;cursor:default}

.preview-transport{margin-top:16px;color:var(--text-2,var(--muted));font-size:14px}
.preview-comparison{display:flex;gap:8px}
.preview-comparison button{min-height:44px;min-width:44px;background:transparent;border:1px solid var(--border);color:var(--text-2,var(--muted));padding:8px 14px}
.preview-comparison button[aria-pressed="true"]{background:var(--surface-raised,#29312b);border-color:var(--text-3,#7a877b);color:var(--text)}
.preview-timeline{display:flex;align-items:center;gap:12px;margin-top:6px}
.preview-timeline input{display:block;min-width:44px;min-height:44px;flex:1;width:100%;margin:0;accent-color:var(--text);cursor:pointer}
.preview-timeline output{font:12px var(--mono,monospace);white-space:nowrap;color:var(--text-2,var(--muted));font-variant-numeric:tabular-nums}
.preview-help{margin:2px 0 0;font-size:12px;line-height:1.5;color:var(--text-2,var(--muted))}
.preview-playhead{position:absolute;width:2px;background:var(--text,#edf2e8);box-shadow:0 0 0 1px #10151390;pointer-events:none;z-index:2}
.preview-playhead::before{content:"";position:absolute;top:0;left:-3px;width:8px;height:6px;background:inherit;border-radius:0 0 3px 3px}
#listen{min-height:44px;min-width:44px}
@media(max-width:640px){.preview-timeline{gap:8px}.preview-comparison button{flex:1}.preview-transport{margin-top:12px}.preview-help{font-size:12px}}

/* Local microphone and decoded-input diagnostics; no audio gain changes. */
.record-level{display:grid;grid-template-columns:auto minmax(90px,1fr);align-items:center;gap:8px 14px;margin-top:12px;padding:12px 14px;border:1px solid var(--border);border-radius:10px}
.record-level label{font-size:13px;color:var(--muted)}
.record-level meter{width:100%;height:12px;accent-color:var(--accent,#c4f06b)}
.record-level .micro{grid-column:1/-1;margin:0}
.source-level{padding:10px 12px;border:1px solid var(--border);border-radius:8px;line-height:1.6}
#wave-scale{margin:2px 0 8px;font-size:11px}

/* A clear next-task action and one result saved in this browser. */
.studio .restart-actions{margin-top:12px;padding-top:12px;border-top:1px solid var(--border)}
.studio .restart-actions:has(button[hidden]){display:none}
.studio #new-conversion{width:100%;min-height:44px;border-color:var(--border);background:var(--surface-2,#242d26);color:var(--text);font-weight:500}
.studio #restart-hint{margin:8px 0 0;font-size:12px;line-height:1.6}
.studio .source>.previous-result{order:2;margin-top:12px;padding:12px;border:1px solid var(--border);border-radius:10px}
.studio .previous-result .secondary{width:100%;min-height:44px}
.studio #delete-result{min-height:44px;margin-top:4px;color:var(--muted);text-decoration:underline;text-underline-offset:4px}
.studio #cache-status{margin:8px 0 0;overflow-wrap:anywhere}
.studio.analyzed .secondary-actions #record{padding:8px 14px;border:1px solid var(--border);border-radius:8px;background:var(--surface-2,#242d26);color:var(--text);font-weight:500}
.studio.analyzed .secondary-actions #record .icon{display:block}

.studio .sheet-music-partner{display:flex;align-items:center;justify-content:space-between;gap:28px;margin:28px 0 0;padding:24px 28px;border:1px solid var(--border);border-radius:16px;background:var(--panel)}
.studio .sheet-music-partner h2{margin:7px 0 9px;font-size:22px;line-height:1.3;letter-spacing:-.4px}
.studio .sheet-music-partner p{margin:0;color:var(--muted);font-size:15px;line-height:1.6}
.studio .sheet-music-partner .partner-label{font-size:11px;letter-spacing:1px}
.studio .sheet-music-partner .partner-disclosure{margin-top:10px;font-size:13px;max-width:65ch}
.studio .sheet-music-partner .partner-link{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:44px;padding:10px 18px;border:1px solid var(--border);border-radius:10px;color:var(--text);font-size:15px;text-decoration:none}
.studio .sheet-music-partner .partner-link:hover{background:var(--surface-2);border-color:var(--muted)}
.studio .sheet-music-partner .partner-link:focus-visible{outline:2px solid #c4f06b;outline-offset:4px}
.partner-sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:640px){.studio .sheet-music-partner{align-items:stretch;flex-direction:column;gap:18px;margin-top:22px;padding:20px}.studio .sheet-music-partner .partner-link{align-self:flex-start}.studio .sheet-music-partner h2{font-size:21px}}

/* Native analysis choices remain keyboard and screen-reader accessible. */
.studio .analysis-mode-picker{margin:0 0 16px;padding:0;border:0;min-width:0}
.studio .analysis-mode-picker legend{padding:0;margin-bottom:8px;font-size:14px;font-weight:600;color:var(--text)}
.studio .analysis-mode-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.studio .analysis-mode-option{display:grid;grid-template-columns:18px minmax(0,1fr);gap:8px;align-items:start;border:1px solid var(--border);border-radius:8px;background:#131b16;padding:11px 10px;cursor:pointer;min-height:88px}
.studio .analysis-mode-option:hover{border-color:#617360;background:#202c20}
.studio .analysis-mode-option:has(input:checked){border-color:var(--green);background:#25321e}
.studio .analysis-mode-option:focus-within{outline:2px solid var(--green);outline-offset:3px}
.studio .analysis-mode-option input{width:17px;height:17px;margin:3px 0 0;accent-color:var(--green);cursor:pointer}
.studio .analysis-mode-option input:focus-visible{outline:none}
.studio .analysis-mode-option strong{display:block;font-size:14px;line-height:21px;font-weight:600}
.studio .analysis-mode-option small{display:block;margin-top:2px;font-size:12px;line-height:18px;color:var(--muted)}
.studio .analysis-mode-option:has(input:disabled){opacity:.65;cursor:not-allowed}
.studio .analysis-mode-help,.studio .conversion-limit{font-size:12px;line-height:19px;color:var(--muted)}
.studio .analysis-mode-help{margin:8px 0 0}
.studio .conversion-limit{margin:10px 0 0}
.studio .hero-detail{max-width:54ch;margin:8px 0 12px;font-size:14px;line-height:22px}
.studio .edit-confirm{color:var(--text);background:var(--panel);border:1px solid var(--border);border-radius:12px;padding:24px;max-width:440px;width:calc(100% - 32px)}
.studio .edit-confirm::backdrop{background:#071009bb}
.studio .edit-confirm h2{margin:0 0 12px;font-size:19px}
.studio .edit-confirm p{color:var(--muted);font-size:14px;line-height:22px;margin:0 0 20px}
.studio .edit-confirm-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.studio .edit-confirm .edit-discard{background:var(--green);border:1px solid var(--green);color:#172010}
@media(max-width:760px){.studio .analysis-mode-option{padding:10px 8px;gap:6px}.studio .analysis-mode-options{gap:7px}.studio .analysis-mode-help,.studio .conversion-limit{font-size:12px;line-height:19px}.studio .hero-detail{font-size:13px;line-height:20px;margin:6px 0 11px}}

#note-editor { margin-top: 24px; padding: 20px; color: var(--text, #eef1ea); background: var(--surface, #181c18); border: 1px solid var(--border, #2c322b); border-radius: 16px; }
#note-editor[hidden] { display: none; }
.note-editor-body h3 { margin: 0 0 8px; }
.note-editor-intro { margin: 0 0 16px; line-height: 1.5; }
.note-editor-body label { display: block; margin-bottom: 8px; font-weight: 600; }
.note-editor-notes { box-sizing: border-box; display: block; width: 100%; min-height: 160px; padding: 8px; font: inherit; color: var(--text, #eef1ea); background: var(--surface-2, #1f241f); border: 1px solid var(--border, #2c322b); border-radius: 8px; }
.note-editor-notes option { padding: 8px; }
.note-editor-pager, .note-editor-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.note-editor-pager span { flex: 1; min-width: 140px; text-align: center; font-size: .875rem; }
.note-editor-body button { min-height: 44px; min-width: 44px; padding: 10px 14px; font: inherit; cursor: pointer; border: 1px solid var(--border, #2c322b); border-radius: 8px; color: var(--text, #eef1ea); background: var(--surface-2, #1f241f); }
.note-editor-body button:hover:not(:disabled) { border-color: currentColor; }
.note-editor-body button:disabled { opacity: .5; cursor: default; }
.note-editor-body button:focus-visible, .note-editor-notes:focus-visible { outline: 3px solid var(--accent, #c8f169); outline-offset: 3px; }
.note-editor-detail { min-height: 3em; margin: 12px 0; line-height: 1.5; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.note-editor-status { min-height: 1.5em; margin: 12px 0 0; line-height: 1.5; }
@media (max-width: 480px) { #note-editor { padding: 16px; } .note-editor-actions button { flex: 1 1 130px; } .note-editor-pager span { order: -1; flex-basis: 100%; } }

/* Homepage only: keep the working converter primary and help compact. */
.homepage .heading{padding-top:24px;padding-bottom:22px}
.homepage .header-nav{gap:22px}
.homepage .header-nav a[aria-current="page"]{color:var(--accent)}
.homepage .conversion-steps{background:transparent;border:0;border-radius:0;padding:8px 0 0;margin:28px 0}
.homepage .conversion-steps h2{font-size:22px;margin:0 0 20px}
.homepage .conversion-steps ol{gap:24px}
.homepage .conversion-steps h3{font-size:16px;margin-bottom:8px}
.homepage .conversion-steps p{font-size:14px;line-height:1.65;margin:0}
.homepage .conversion-steps .workflow-limits{margin-top:18px;font-size:12px;color:var(--text-soft)}
.homepage .input-tools{margin:32px 0 0;padding:28px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.homepage .input-tools h2{font-size:22px;margin:0 0 18px}
.homepage .input-tools .section-kicker{margin-bottom:6px}
.homepage .input-tools nav{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.homepage .input-tools nav a{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:88px;padding:18px 20px;border:1px solid #536342;border-radius:12px;background:var(--panel);color:var(--accent);text-decoration:none}
.homepage .input-tools nav a:hover{background:var(--surface-2);border-color:var(--accent)}
.homepage .input-tools strong{display:block;font-size:18px;font-weight:600}
.homepage .input-tools small{display:block;margin-top:4px;color:var(--muted);font-size:13px}
.homepage .format-support{font-size:12px;color:var(--text-soft);margin:12px 0 0}
.homepage .home-support{margin-top:40px;padding:0}
.homepage .home-support h2{font-size:22px;margin:0 0 8px}
.homepage .home-support>p{font-size:14px;color:var(--muted);margin:0 0 18px}
.homepage .home-support ul{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:0 32px;margin:0;padding:0}
.homepage .home-support li{padding:12px 0;border-top:1px solid var(--border);min-width:0;line-height:1.6}
.homepage .home-support li a{display:inline-flex;align-items:center;min-height:36px;color:var(--text);font-size:14px;text-underline-offset:4px}
.homepage .home-support li a:hover{color:var(--accent)}
.homepage .home-support li>span{display:block;color:var(--text-soft);font-size:12px}
.homepage .sheet-music-partner{margin-top:32px;padding:18px 20px;background:transparent;border-radius:10px}
.homepage .sheet-music-partner h2{font-size:18px}
.homepage .sheet-music-partner p{font-size:13px}
.homepage .sheet-music-partner .partner-disclosure{font-size:12px;margin-top:6px}
.homepage #faq{margin-top:36px;padding-top:28px}
.homepage #faq h2{font-size:24px}
@media(max-width:600px){.homepage .header-nav{gap:14px}.homepage .heading{padding:20px 0}.homepage .intro{font-size:16px;line-height:24px;max-width:32ch}.homepage .privacy{margin-top:10px}.homepage .input-tools nav{grid-template-columns:1fr;gap:10px}.homepage .input-tools nav a{min-height:78px;padding:16px}.homepage .home-support ul{grid-template-columns:1fr}.homepage .home-support{margin-top:30px}.homepage .conversion-steps ol{gap:16px}.homepage .conversion-steps h2{font-size:21px}.homepage .conversion-steps .workflow-limits{line-height:1.7}.homepage .sheet-music-partner .partner-link{min-height:44px}}
@media(max-width:360px){.homepage .brand{gap:7px;font-size:14px}.homepage .header-nav{gap:10px}.homepage header{padding:0 16px}}

/* A compact, lazy-loaded case after the working converter. */
.homepage .conversion-case{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:28px;margin:32px 0;padding:28px 0;border-top:1px solid var(--border)}
.homepage .conversion-case h2{font-size:24px;line-height:1.25;margin:8px 0 14px}
.homepage .conversion-case p{font-size:14px;line-height:1.7;margin:12px 0}
.homepage .conversion-case a{color:var(--accent);text-underline-offset:3px}
.homepage .conversion-case p>a+a{display:inline-block;margin:8px 0 0 12px}
.homepage .conversion-case .case-limit,.homepage .conversion-case figcaption{color:var(--muted)}
.homepage .conversion-case figure{margin:0;align-self:center;min-width:0}
.homepage .conversion-case img{display:block;width:100%;height:auto}
.homepage .conversion-case figcaption{font-size:12px;line-height:1.6;margin-top:10px}
.homepage .conversion-case details{margin-top:12px}
.homepage .conversion-case summary{cursor:pointer;min-height:44px;display:list-item;line-height:44px;font-size:14px}
@media(max-width:640px){.homepage .conversion-case{grid-template-columns:1fr;gap:18px;padding:24px 0}.homepage .conversion-case h2{font-size:22px}.homepage .conversion-case figure{max-width:440px}.homepage .conversion-case p>a+a{display:block;margin:8px 0 0}}

/* Offer the next tool only while a valid MIDI download is available. */
.homepage .result-next {
  display: none;
  margin: 8px 0 0;
}
.homepage .result-actions:has(#download[aria-disabled="false"][href]) + .result-next {
  display: block;
}

.site-refresh.studio.homepage .sample-hint {
  display: none;
}

.site-refresh.studio.homepage:not(.has-source, .is-busy) .source:not(:has(#field-error:not([hidden]), #status:not(:empty))) > .secondary-actions {
  order: 2;
  margin-top: 8px;
  row-gap: 4px;
}

.site-refresh.studio.homepage:not(.has-source, .is-busy) .source:not(:has(#field-error:not([hidden]), #status:not(:empty))) .sample-hint {
  display: block;
  grid-column: 1 / -1;
  margin: 0;
  color: #475569;
  font-size: 12px;
  line-height: 1.5;
}

@media (max-height: 750px) {
  .site-refresh.studio.homepage .heading {
    padding-block: 18px 14px;
  }

  .site-refresh.studio.homepage:not(.has-source) .source > .drop {
    min-height: 146px;
    padding-block: 12px;
  }

  .site-refresh.studio.homepage:not(.has-source) .drop .upload-icon {
    display: none;
  }
}

@media (max-width: 380px) and (max-height: 600px) {
  .site-refresh.studio.homepage .heading {
    padding-block: 12px 10px;
  }

  .site-refresh.studio.homepage .eyebrow {
    margin-bottom: 5px;
  }

  .site-refresh.studio.homepage:not(.has-source) .source > .drop {
    min-height: 124px;
  }
}

/* Shared public-page shell, designed from the Grok/Gemini site review. */
:root{color-scheme:light}.site-refresh{--bg:#f6f8fa;--panel:#fff;--surface:#fff;--surface-2:#f0f4f8;--surface-raised:#eaf0fb;--border:#d8e0e8;--border-subtle:#e8edf3;--line:#d8e0e8;--text:#0f172a;--ink:#0f172a;--text-2:#475569;--text-3:#52637a;--muted:#475569;--text-soft:#52637a;--text-disabled:#718096;--accent:#1d4ed8;--on-accent:#fff;--green:#1d4ed8;--warn:#9a3412;--warn-bg:#fff7ed;--warn-border:#fdba74;--roll-black:#f1f5f9;--roll-white:#fff;background:#f6f8fa;color:#0f172a;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.65;font-synthesis:none;-webkit-font-smoothing:antialiased}.site-refresh *{box-sizing:border-box}.site-refresh [hidden]{display:none!important}.site-refresh a{color:#1d4ed8;text-underline-offset:3px}.site-refresh a:hover{color:#1e40af}.site-refresh :focus-visible{outline:3px solid #60a5fa;outline-offset:4px}.site-skip{position:absolute;z-index:1100;left:16px;top:-80px;background:#fff;padding:12px}.site-skip:focus{top:8px}.site-refresh .site-header{max-width:none;width:100%;height:auto;min-height:72px;padding:0 24px;background:#fff;border-bottom:1px solid #e4eaf0;display:block;margin:0}.site-header-inner{max-width:1120px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:72px}.site-refresh .site-brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none;color:#0f172a;font-size:16px;font-weight:750;letter-spacing:-.4px;white-space:nowrap;min-height:44px}.site-brand-mark{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:#0f172a;color:#fff;flex-shrink:0}.site-brand-mark svg{width:20px;height:20px}.site-refresh .site-nav{display:flex;align-items:center;gap:8px;margin:0;padding:0;border:0;font-size:14px}.site-nav>a,.site-menu>summary{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:9px 12px;text-decoration:none;color:#475569!important;cursor:pointer;border-radius:7px;font-size:14px;font-weight:600;line-height:1.5}.site-nav>a:hover,.site-menu>summary:hover{background:#f0f4f8}.site-nav [aria-current=page],.site-menu[data-current=true]>summary{background:#eff4ff;color:#1d4ed8!important}.site-refresh .site-menu{position:relative;border:0;padding:0;margin:0;list-style:none}.site-refresh .site-menu>summary{list-style:none;margin:0}.site-menu>summary::-webkit-details-marker{display:none}.site-menu>summary:after{content:'⌄';font-size:15px;margin-left:2px}.site-menu[open]>summary{background:#eff4ff}.site-menu-links{position:absolute;top:calc(100% + 6px);right:0;min-width:220px;padding:6px;border:1px solid #d8e0e8;border-radius:10px;box-shadow:0 12px 32px #0f172a14;background:#fff;z-index:30}.site-menu-links a{display:block;padding:10px 12px;min-height:44px;text-decoration:none;font-size:14px;color:#334155!important;border-radius:6px}.site-menu-links a:hover{background:#f0f4f8}.site-refresh .site-footer{max-width:1120px;margin:48px auto 0;border-top:1px solid #d8e0e8;padding:24px 0 32px;display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:13px;color:#475569}.site-footer>p{margin:0!important;font-size:13px!important;color:#52637a!important}.site-refresh .site-footer nav{display:flex;flex-wrap:wrap;align-items:center;gap:20px;padding:0;margin:0;border:0;font-size:13px}.site-refresh .site-footer a,.site-refresh .site-footer .analytics-settings{display:inline-flex;align-items:center;min-height:44px;color:#475569;text-decoration:none;margin:0;padding:0;background:none;border:0;font:inherit}.site-refresh .analytics-choice{background:#fff;color:#0f172a;border-color:#d8e0e8;box-shadow:0 8px 32px #132a4820}.site-refresh .analytics-choice p{color:#475569}.site-refresh .analytics-choice a{color:#1d4ed8}.site-refresh .analytics-choice button{color:#0f172a;border-color:#d8e0e8;background:#fff}.site-refresh .analytics-choice button:hover{background:#f0f4f8}.site-refresh .analytics-choice button:focus-visible{outline:3px solid #60a5fa}.site-refresh .site-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 24px;padding:0;border:0;font-size:13px;line-height:1.7;color:#52637a}.site-breadcrumb a{color:#475569;text-decoration:none}.site-breadcrumb a:hover{text-decoration:underline}.site-breadcrumb span[aria-hidden]{color:#94a3b8}.site-refresh .related-paths{margin:40px 0 0;padding:24px 0;border-top:1px solid #d8e0e8}.related-paths h2{font-size:21px!important;margin:0 0 14px!important;letter-spacing:-.5px}.related-paths ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.related-paths li{margin:0!important;padding:0!important}.related-paths a{display:flex;flex-direction:column;justify-content:center;gap:6px;min-height:100px;padding:16px;background:#fff;border:1px solid #d8e0e8;border-radius:10px;text-decoration:none;font-size:14px;line-height:1.5;font-weight:600}.related-paths a:hover{border-color:#9fb5d8;background:#f9fbff}.related-paths small{font-size:12px;font-weight:400;color:#52637a;line-height:1.5}.site-refresh .tool-return{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:28px 0;padding:18px 20px;background:#edf3ff;border:1px solid #cfddf7;border-radius:10px}.tool-return p{margin:0!important;font-size:14px!important;color:#334155!important}.site-refresh .tool-return a{flex-shrink:0;background:#1d4ed8;color:#fff;padding:10px 16px;min-height:44px;border-radius:7px;text-decoration:none;font-size:14px;font-weight:600}.site-refresh .tool-return a:hover{background:#1e40af}.site-refresh img{max-width:100%;height:auto}.site-refresh .table-wrap{max-width:100%;overflow:auto}.site-refresh th,.site-refresh td{border-color:#d8e0e8}.site-refresh th{color:#334155;background:#edf2f8}.site-refresh .cta{background:#1d4ed8;color:#fff;border-color:#1d4ed8}.site-refresh .cta:hover{background:#1e40af;color:#fff}.site-refresh .meta,.site-refresh figcaption,.site-refresh .date{color:#52637a}.site-refresh .answer{color:#334155}.site-refresh .eyebrow{color:#52637a}.site-refresh .legal p{color:#475569}.site-refresh .legal a{color:#1d4ed8}.site-refresh:not(.studio):not(.native-mp3) main{max-width:832px;margin:auto;padding:30px 32px 0}.site-refresh:not(.studio):not(.native-mp3) h1{font-size:38px;line-height:1.18;letter-spacing:-1.2px;margin:12px 0 20px;font-weight:750}.site-refresh:not(.studio):not(.native-mp3) h2{font-size:27px;line-height:1.3;letter-spacing:-.7px}.site-refresh:not(.studio):not(.native-mp3) h3{font-size:20px}.site-refresh:not(.studio):not(.native-mp3) .answer{font-size:19px;line-height:1.65}.site-refresh:not(.studio):not(.native-mp3) .legal{padding:0;margin:0;max-width:none}.site-refresh:not(.studio):not(.native-mp3) main nav:not(.site-breadcrumb){border-color:#d8e0e8;font-size:14px;gap:14px}.site-refresh:not(.studio):not(.native-mp3) .eyebrow{font-size:12px;letter-spacing:1.2px}.site-refresh:not(.studio):not(.native-mp3) .page-toc{display:flex;flex-wrap:wrap;gap:8px 16px;padding:14px 0;margin:24px 0;border-block:1px solid #d8e0e8;font-size:14px}.page-toc a{color:#475569;text-decoration:none}.site-refresh .native-article nav{border:0}.site-refresh.native-mp3 .site-footer{padding-inline:0}.site-refresh .guide-directory{margin:44px 0 32px;padding-top:30px;border-top:1px solid #d8e0e8}.guide-directory>h2{font-size:26px;margin:0 0 8px}.guide-directory>p{margin:0 0 24px;color:#475569;font-size:15px}.guide-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.guide-groups h3{font-size:15px;font-weight:650;margin:0 0 12px}.guide-groups ul{list-style:none;padding:0;margin:0}.guide-groups li{padding:12px 0;margin:0;border-top:1px solid #e0e6ee}.guide-groups a{font-size:14px;font-weight:550;line-height:1.5;text-decoration:none}.guide-groups small{display:block;font-size:12px;color:#52637a;margin-top:4px}.site-refresh .guide-groups a:hover{text-decoration:underline}
@media(max-width:760px){.site-refresh .site-header{padding:0 16px;min-height:64px}.site-header-inner{min-height:64px;gap:8px}.site-refresh .site-brand{font-size:14px;gap:8px}.site-brand-mark{width:28px;height:28px;border-radius:7px}.site-refresh .site-nav{gap:0}.site-nav>a,.site-menu>summary{padding:8px;font-size:12px;min-height:44px}.site-refresh .site-footer{margin:32px 16px 0;padding:20px 0;align-items:flex-start;flex-direction:column;gap:10px}.site-refresh .site-footer nav{gap:18px}.site-refresh .site-footer a{font-size:13px}.site-refresh:not(.studio):not(.native-mp3) main{padding:22px 20px 0}.site-refresh:not(.studio):not(.native-mp3) h1{font-size:30px;line-height:1.2;letter-spacing:-.8px}.site-refresh:not(.studio):not(.native-mp3) h2{font-size:24px}.site-refresh:not(.studio):not(.native-mp3) .answer{font-size:17px}.site-refresh .site-breadcrumb{font-size:12px;gap:6px;margin-bottom:20px}.related-paths ul{grid-template-columns:1fr}.related-paths a{min-height:76px;padding:14px 16px}.related-paths small{font-size:13px}.site-refresh .tool-return{align-items:flex-start;flex-direction:column;gap:12px;padding:16px}.guide-groups{grid-template-columns:1fr;gap:24px}.guide-groups a{font-size:15px}.guide-groups small{font-size:13px}.site-refresh .guide-directory{margin-top:32px}.site-refresh .guide-directory>h2{font-size:23px}}
@media(max-width:420px){.site-refresh .site-brand{font-size:13px;gap:6px}.site-brand-mark{width:25px;height:25px}.site-nav>a,.site-menu>summary{padding:7px 6px;font-size:11px}.site-refresh .site-nav{gap:0}.site-menu-links{min-width:200px}.site-refresh .site-header{padding:0 12px}}
@media(prefers-reduced-motion:reduce){.site-refresh *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.site-refresh:not(.studio):not(.native-mp3) main{max-width:784px;font-size:17px;line-height:1.75}.site-refresh.native-mp3 .related-paths{max-width:800px;margin:36px auto 0}.site-refresh .site-footer{font-size:13px}.site-refresh.native-mp3 .site-menu>summary{font-size:14px}
@media(max-width:760px){.site-refresh:not(.studio):not(.native-mp3) main{font-size:16px}.site-refresh.native-mp3 .site-menu>summary{font-size:12px}}
@media(max-width:360px){.site-brand>span:last-child{display:none}.site-refresh .site-brand{min-width:28px}.site-refresh .site-nav{gap:4px}.site-nav>a,.site-menu>summary{font-size:12px}}

.site-refresh .tool-return{margin-block:32px}.site-refresh .page-toc a,.site-refresh:not(.studio):not(.native-mp3) main nav:not(.site-breadcrumb) a{font-weight:500;text-decoration:none;color:#1d4ed8}.site-refresh .page-toc a:hover,.site-refresh:not(.studio):not(.native-mp3) main nav:not(.site-breadcrumb) a:hover{text-decoration:underline}

.site-refresh:not(.studio):not(.native-mp3) .meta{font-size:12.5px;color:#52637a;line-height:1.7;margin:16px 0}.site-refresh .tool-return+.meta{margin-top:-16px}@media(min-width:361px) and (max-width:420px){.site-header-inner{gap:6px}.site-refresh .site-brand{gap:5px;font-size:12px}.site-nav>a,.site-menu>summary{padding-inline:5px}.site-menu>summary:after{margin-left:0}}

/* Audio-to-MIDI presentation only. Existing state classes and engine remain intact. */
.site-refresh.studio main{max-width:1168px;padding:0 24px;margin:auto}.site-refresh.studio .heading{padding:30px 0 28px;display:block;text-align:center;margin:0}.site-refresh.studio .hero-art{display:none}.site-refresh.studio .hero-copy{max-width:760px;margin:auto}.site-refresh.studio .eyebrow{display:block;font:600 11px/1.5 var(--mono);letter-spacing:1.3px;margin:0 0 12px;color:#52637a}.site-refresh.studio h1{font-size:44px;line-height:1.15;letter-spacing:-1.7px;margin:0 0 12px;font-weight:750}.site-refresh.studio .title-dot{display:none}.site-refresh.studio .intro{font-size:17px;line-height:1.6;color:#475569;letter-spacing:0;max-width:620px;margin:0 auto 12px}.site-refresh.studio .hero-detail{display:none}.site-refresh.studio .privacy{justify-content:center;margin:0 auto;max-width:none;color:#52637a;font-size:13px;line-height:1.5}.site-refresh.studio .privacy-device{white-space:normal}.site-refresh.studio .workspace{grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);gap:24px;align-items:start;border:1px solid #d8e0e8;border-radius:16px;padding:24px;background:#fff;box-shadow:0 8px 32px #132a480c}.site-refresh.studio .panel,.site-refresh.studio[data-mode=polyphonic] .result{background:transparent;border:0;padding:0;border-radius:0;box-shadow:none;min-height:0}.site-refresh.studio .source{padding-right:24px;border-right:1px solid #e1e7ee}.site-refresh.studio .section-title{order:0;margin-bottom:16px;min-height:26px}.site-refresh.studio h2{font-size:18px;letter-spacing:-.4px}.site-refresh.studio h2 span{font-size:11px;color:#52637a;margin-right:8px}.site-refresh.studio .analysis-mode-picker{order:1;margin:0 0 14px}.site-refresh.studio .analysis-mode-picker legend{font-size:13px;color:#475569;margin:0 0 8px}.site-refresh.studio .analysis-mode-options{gap:6px;background:#f0f4f8;padding:4px;border-radius:9px}.site-refresh.studio .analysis-mode-option{grid-template-columns:16px minmax(0,1fr);min-height:68px;padding:9px 8px;gap:7px;background:transparent;border:1px solid transparent;border-radius:6px;align-items:start}.site-refresh.studio .analysis-mode-option:has(input:checked){background:#fff;border-color:#c8d6eb;box-shadow:0 1px 3px #0f172a08}.site-refresh.studio .analysis-mode-option:hover{background:#fff}.site-refresh.studio .analysis-mode-option strong{font-size:14px;line-height:21px;color:#334155}.site-refresh.studio .analysis-mode-option:has(input:checked) strong{color:#1d4ed8}.site-refresh.studio .analysis-mode-option small{font-size:12px;line-height:17px;margin-top:2px;color:#475569}.site-refresh.studio .analysis-mode-option input{width:15px;height:15px;margin-top:3px;accent-color:#1d4ed8}.site-refresh.studio .analysis-mode-help{margin:8px 0 0;font-size:12px;line-height:1.5;color:#52637a}.site-refresh.studio .source>.drop{order:2;min-height:180px;gap:9px;padding:20px 12px;background:#f0f4f8;border:1px solid transparent;border-radius:10px}.site-refresh.studio .drop:hover,.site-refresh.studio .drop.drag{background:#eaf1ff;border-color:#93b0e4}.site-refresh.studio .upload-icon{color:#52637a}.site-refresh.studio .choose-button{background:#1d4ed8;color:#fff;box-shadow:none;min-height:48px;border-radius:8px;font-size:15px;gap:12px}.site-refresh.studio .drop:hover .choose-button{background:#1e40af}.site-refresh.studio .drop>span.drop-hint{color:#475569;font-size:13px}.site-refresh.studio .drop small{font:12px/1.5 var(--mono);color:#52637a;letter-spacing:0}.site-refresh.studio .conversion-limit{order:3;margin:8px 0 0;font-size:12px;line-height:1.5;color:#52637a}.site-refresh.studio .field-error{order:4}.site-refresh.studio .source>.source-info{order:5;background:#f0f4f8;border-color:#d8e0e8;padding:14px}.site-refresh.studio .source>.status-row{order:6}.site-refresh.studio .source>#progress{order:7}.site-refresh.studio .source>#retry{order:8}.site-refresh.studio .source>.secondary-actions{order:9;margin-top:14px;gap:10px}.site-refresh.studio .source>.previous-result{order:10;background:#f8fafc;border-color:#d8e0e8}.site-refresh.studio .source>.fit-note{order:11;font-size:12px;line-height:1.6;margin:10px 0 0}.site-refresh.studio .source>.micro,.site-refresh.studio .source>#record-level{order:12}.site-refresh.studio .secondary{background:#fff;border-color:#d8e0e8;color:#334155}.site-refresh.studio .secondary:hover{background:#f0f4f8;border-color:#a8b9ce}.site-refresh.studio .secondary .icon{color:#52637a}.site-refresh.studio .text-action{background:none;border:0;color:#475569;font-size:13px;min-height:44px}.site-refresh.studio #delete-result{color:#475569;background:transparent;border:0;font-size:12px}.site-refresh.studio button:disabled,.site-refresh.studio .disabled{background:#f0f4f8;border-color:#d8e0e8;color:#718096;opacity:.65}.site-refresh.studio .result-hint{background:#edf3ff;color:#334155;border-color:#cfddf7}.site-refresh.studio .result-hint button{color:#1d4ed8}.site-refresh.studio .roll-wrap{background:#f8fafc;border-color:#d8e0e8;border-radius:10px}.site-refresh.studio .roll-viewport{height:260px;scrollbar-color:#a7b7ca #f0f4f8}.site-refresh.studio .roll-wrap.can-scroll-right:after{background:linear-gradient(90deg,transparent,#f1f5f9)}.site-refresh.studio #empty{background:linear-gradient(0deg,#f1f5f9f5,#f1f5f9bb);gap:10px}.site-refresh.studio #empty strong{font-size:18px;line-height:1.4;font-weight:600;text-align:center;padding:0 16px;color:#334155}.site-refresh.studio #empty>span:last-child{color:#52637a;font-size:14px}.site-refresh.studio .empty-notes i{background:#6d91d8;box-shadow:none}.site-refresh.studio #result-tag{font-size:10px;letter-spacing:.5px;color:#52637a}.site-refresh.studio:not(.analyzed) .result-actions,.site-refresh.studio:not(.analyzed) .export-details{display:none}.site-refresh.studio .result-welcome{font-size:14px;line-height:1.75;color:#52637a;margin:18px 0 0;max-width:46ch}.site-refresh.studio.analyzed .result-welcome{display:none}.site-refresh.studio .result-actions{margin:16px 0 0;padding:0}.site-refresh.studio .download{background:#1d4ed8;border-color:#1d4ed8;color:#fff;min-height:48px}.site-refresh.studio .download:hover{background:#1e40af}.site-refresh.studio .preview-comparison button[aria-pressed=true]{background:#edf3ff;border-color:#99b2dc;color:#1d4ed8}.site-refresh.studio .result-meta{padding-bottom:16px}.site-refresh.studio .result-meta strong{font-size:23px}.site-refresh.studio .result-meta span{font-size:12px}.site-refresh.studio .export-details{border-top:1px solid #e1e7ee;margin-top:18px;padding-top:8px}.export-details>summary{font-size:13px;min-height:44px;display:flex;align-items:center;cursor:pointer;color:#475569}.site-refresh.studio .result-footnote{font-size:13px;line-height:1.7;margin:4px 0 0;max-width:none}.site-refresh.studio .result-footnote a{color:#1d4ed8}.site-refresh.studio .workspace-note{padding:14px 2px;font-size:12px;color:#52637a}.site-refresh.studio .help-card{background:#fff;border-color:#d8e0e8}.site-refresh.studio .input-tools nav a{border-color:#d8e0e8;background:#fff;color:#1d4ed8}.site-refresh.studio .input-tools nav a:hover{background:#f0f4f8}.site-refresh.studio .sheet-music-partner{border-color:#d8e0e8;background:transparent}.site-refresh.studio .sheet-music-partner a{color:#1d4ed8}.site-refresh.studio .note-editor-body button{background:#f0f4f8;color:#334155}.site-refresh.studio .edit-confirm .edit-discard{background:#1d4ed8;color:#fff}.site-refresh.studio.has-source .source>.drop{min-height:44px;padding:9px 12px;background:#f8fafc;border-color:#d8e0e8}.site-refresh.studio.has-source .choose-button,.site-refresh.studio.has-source .drop:hover .choose-button{background:transparent;color:#334155}.site-refresh.studio.is-busy .choose-button{color:#718096}.site-refresh.studio .conversion-case p{color:#475569}.site-refresh.studio .conversion-steps{border-color:#d8e0e8;background:transparent}.site-refresh.studio .tool-help,.site-refresh.studio .tool-reference{border-color:#d8e0e8}
@media(max-width:900px){.site-refresh.studio main{padding:0 16px}.site-refresh.studio .heading{padding:26px 0 22px}.site-refresh.studio h1{font-size:32px;line-height:1.2;letter-spacing:-1px}.site-refresh.studio .intro{font-size:15px;line-height:1.6;max-width:36ch;margin-bottom:10px}.site-refresh.studio .eyebrow{font-size:10px;margin-bottom:10px}.site-refresh.studio .privacy{font-size:12px;line-height:1.6;align-items:center}.site-refresh.studio .privacy .icon{margin:0}.site-refresh.studio .workspace{grid-template-columns:1fr;padding:18px 16px;gap:20px;border-radius:12px}.site-refresh.studio .source{padding-right:0;border:0}.site-refresh.studio .section-title{margin-bottom:14px}.site-refresh.studio .analysis-mode-option{min-height:65px;padding:8px 6px;gap:5px}.site-refresh.studio .analysis-mode-option small{font-size:12px;line-height:17px}.site-refresh.studio .analysis-mode-help{font-size:12px}.site-refresh.studio .source>.drop{min-height:160px;padding:20px 16px}.site-refresh.studio .drop .choose-button{width:100%;justify-content:center}.site-refresh.studio .drop .upload-icon{display:none}.site-refresh.studio .drop-hint{font-size:13px}.site-refresh.studio .drop small{font-size:11px}.site-refresh.studio:not(.analyzed) .result{display:none}.site-refresh.studio.analyzed .result{padding-top:20px;border-top:1px solid #d8e0e8}.site-refresh.studio .result-actions .download,.site-refresh.studio .result-actions button{font-size:14px;padding:10px 12px}.site-refresh.studio .workspace-note{display:flex;flex-direction:column;gap:4px;font-size:12px}.site-refresh.studio .workspace-note>span:last-child{display:block}.site-refresh.studio .fit-note{font-size:12px}.site-refresh.studio .result-meta strong{font-size:20px}.site-refresh.studio.has-source .drop .choose-button{width:auto}.site-refresh.studio .site-footer{margin-inline:16px}}
@media(max-width:360px){.site-refresh.studio .workspace{padding:16px 12px}.site-refresh.studio .analysis-mode-option{grid-template-columns:13px minmax(0,1fr);gap:4px}.site-refresh.studio .analysis-mode-option strong{font-size:13px}.site-refresh.studio .analysis-mode-option small{font-size:11px}.site-refresh.studio .result-actions{grid-template-columns:1fr 1fr}.site-refresh.studio .result-actions .download,.site-refresh.studio .result-actions button{font-size:12px;padding-inline:7px}}

/* Follow-up: make the initial state quiet and the input choice compact. */
.site-refresh.studio .analysis-mode-option{min-height:44px;align-items:center;padding:9px 10px}.site-refresh.studio .analysis-mode-option input{margin-top:0}.site-refresh.studio .analysis-mode-option small{display:none}.site-refresh.studio .mode-description{font-size:12px;line-height:1.6;color:#475569;margin:7px 0 0}.mode-description .melody-description{display:none}.studio[data-mode=melody] .mode-description .melody-description{display:inline}.studio[data-mode=melody] .mode-description .poly-description{display:none}.site-refresh.studio .analysis-mode-help{margin-top:3px}.site-refresh.studio:not(.analyzed) .roll-viewport{height:180px}.site-refresh.studio:not(.analyzed) #empty{background:#f8fafc;padding:24px;gap:0}.site-refresh.studio:not(.analyzed) #empty .empty-notes,.site-refresh.studio:not(.analyzed) #empty strong,.site-refresh.studio:not(.analyzed) #empty>span:last-child{display:none}.site-refresh.studio:not(.analyzed) #empty:after{content:'Notes will appear here after you choose a file';font-size:14px;line-height:1.7;color:#52637a;text-align:center}.site-refresh.studio:not(.analyzed) #result-tag{display:none}

.site-refresh.studio .source>.previous-result{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0 8px;padding:8px 10px;background:transparent}.site-refresh.studio .previous-result .secondary{min-height:44px;padding:6px 8px;background:transparent;border-color:transparent;font-size:12px;text-align:left}.site-refresh.studio #delete-result{margin:0;padding:6px 4px;min-height:44px}.site-refresh.studio #cache-status{grid-column:1/-1;font-size:11px;line-height:1.5;margin:4px 0 0}.site-refresh.studio .previous-result:has(#restore-result[hidden]){display:block}
