/* 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}}
