.stem-page{--stem-wave-color:var(--bf-chart-in);flex-direction:column;min-height:100svh;display:flex}.stem-page [data-stem-kind=vocals]{--stem-wave-color:#5f8a67}.stem-page [data-stem-kind=instrumental]{--stem-wave-color:#a2824f}.stem-page [data-stem-kind=drums]{--stem-wave-color:#a96954}.stem-page [data-stem-kind=bass]{--stem-wave-color:#607b8c}.stem-page [data-stem-kind=guitar]{--stem-wave-color:#957052}.stem-page [data-stem-kind=piano]{--stem-wave-color:#7e6c92}.stem-page [data-stem-kind=other]{--stem-wave-color:#78815f}.dark .stem-page [data-stem-kind=vocals]{--stem-wave-color:#a7d3a5}.dark .stem-page [data-stem-kind=instrumental]{--stem-wave-color:#dec089}.dark .stem-page [data-stem-kind=drums]{--stem-wave-color:#e0a38c}.dark .stem-page [data-stem-kind=bass]{--stem-wave-color:#9bbecd}.dark .stem-page [data-stem-kind=guitar]{--stem-wave-color:#d3ad86}.dark .stem-page [data-stem-kind=piano]{--stem-wave-color:#c4afd8}.dark .stem-page [data-stem-kind=other]{--stem-wave-color:#b7c19d}.stem-main{flex:1;padding-bottom:clamp(64px,9vw,112px)}.stem-hero{text-align:left;grid-template-columns:minmax(0,1fr);gap:24px;padding:28px 0 24px;display:grid}.stem-hero-copy{min-width:0;max-width:920px}.stem-hero h1{letter-spacing:-.065em;text-wrap:balance;max-width:920px;margin:0;font-family:Libre Baskerville,Georgia,serif;font-size:clamp(38px,4.7vw,58px);font-weight:400;line-height:1.08}.stem-hero-description{max-width:610px;color:var(--bf-muted);text-wrap:pretty;margin:14px 0 0;font-size:15px;line-height:1.7}.stem-hero-meta{color:var(--bf-muted);flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:11px 22px;margin-top:25px;font-size:12px;font-weight:560;display:flex}.stem-hero-meta span{white-space:nowrap;align-items:center;gap:7px;display:inline-flex}.stem-hero-meta svg{width:15px;height:15px;color:var(--bf-accent);stroke-width:1.8px}.stem-tool{border:1px solid var(--bf-line);background:var(--bf-surface);width:100%;box-shadow:var(--bf-card-shadow);border-radius:16px;padding:clamp(20px,3vw,32px)}.stem-mode-heading{text-align:left;display:block}.stem-mode-heading>div{min-width:0}.stem-mode-heading .bf-kicker{margin-bottom:9px}.stem-mode-heading h2{letter-spacing:-.045em;margin:0;font-family:Libre Baskerville,Georgia,serif;font-size:clamp(22px,2.5vw,30px);font-weight:400;line-height:1.25}.stem-mode-heading>p{max-width:620px;color:var(--bf-muted);margin:10px 0 0;font-size:13px;line-height:1.65}.stem-mode-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:20px;display:grid}.stem-mode-card{border:1px solid var(--bf-line);background:color-mix(in srgb, var(--bf-bg) 52%, var(--bf-surface));min-height:96px;color:var(--bf-text);text-align:left;cursor:pointer;border-radius:13px;align-items:center;gap:13px;padding:17px 45px 17px 16px;transition:border-color .16s,background-color .16s,box-shadow .16s;display:flex;position:relative}.stem-mode-card:hover:not(:disabled){border-color:color-mix(in srgb, var(--bf-accent) 45%, var(--bf-line));background:color-mix(in srgb, var(--bf-accent) 5%, var(--bf-bg))}.stem-mode-card.is-selected{border-color:color-mix(in srgb, var(--bf-accent) 70%, var(--bf-line));background:color-mix(in srgb, var(--bf-accent) 7%, var(--bf-bg));box-shadow:0 0 0 1px color-mix(in srgb, var(--bf-accent) 25%, transparent)}.stem-mode-card:disabled{cursor:default;opacity:.66}.stem-mode-card:focus-visible,.stem-play:focus-visible,.stem-download:focus-visible,.stem-wave-seek:focus-visible{outline:2px solid var(--bf-accent);outline-offset:3px}.stem-mode-icon{background:color-mix(in srgb, var(--bf-accent) 11%, var(--bf-surface));width:37px;height:37px;color:var(--bf-accent);border-radius:10px;flex:none;place-items:center;display:grid}.stem-mode-icon svg{stroke-width:1.7px;width:18px;height:18px}.stem-mode-copy{flex-direction:column;gap:5px;min-width:0;display:flex}.stem-mode-copy strong{color:var(--bf-text);letter-spacing:-.012em;font-size:13px;font-weight:690}.stem-mode-copy>span{color:var(--bf-muted);font-size:11px;line-height:1.55}.stem-mode-copy>.stem-mode-rate{color:var(--bf-accent);letter-spacing:.01em;margin-top:1px;font-size:10px;font-weight:650}.stem-mode-check{border:1px solid var(--bf-line);color:#0000;border-radius:50%;place-items:center;width:19px;height:19px;display:grid;position:absolute;top:15px;right:15px}.stem-mode-check svg{stroke-width:2.4px;width:11px;height:11px}.stem-mode-card.is-selected .stem-mode-check{border-color:var(--bf-accent);background:var(--bf-accent);color:var(--bf-accent-ink)}.stem-stage{margin-top:17px}.stem-workspace{border:1px solid var(--bf-line);background:color-mix(in srgb, var(--bf-bg) 58%, var(--bf-surface));border-radius:14px;padding:clamp(16px,2.5vw,26px)}.stem-upload-panel{background:0 0;border:0;padding:4px 0 0}.stem-intake-processing{z-index:1;text-align:center;width:min(100%,680px);margin-inline:auto;position:relative}.stem-intake-file{text-align:center;flex-direction:column;align-items:center;gap:8px;margin:0 auto 20px;display:flex}.stem-intake-file>svg{background:color-mix(in srgb, var(--bf-accent) 10%, var(--bf-surface));width:48px;height:48px;color:var(--bf-accent);stroke-width:1.7px;border-radius:16px;flex:none;padding:10px}.stem-intake-file>div{min-width:0}.stem-intake-file strong,.stem-intake-file span{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.stem-intake-file strong{color:var(--bf-text);font-size:15px;font-weight:650}.stem-intake-file span{color:var(--bf-muted);margin-top:3px;font-size:11px}.stem-intake-progress-track{background:var(--bf-line);border-radius:999px;width:min(100%,620px);height:6px;margin:24px auto 0;overflow:hidden}.stem-intake-progress-fill{border-radius:inherit;background:var(--bf-accent);width:35%;height:100%;animation:2s ease-in-out infinite alternate stem-intake-progress}.stem-intake-processing .stem-progress-top{text-align:center;flex-direction:column;align-items:center;gap:12px}.stem-intake-processing .stem-progress-top>div{text-align:center;width:100%}@keyframes stem-intake-progress{to{transform:translate(185%)}}@media (prefers-reduced-motion:reduce){.stem-intake-progress-fill{animation:none}}.stem-privacy-line{color:var(--bf-soft);text-align:left;justify-content:flex-start;align-items:center;gap:7px;margin:14px 0 0;font-size:11px;line-height:1.5;display:flex}.stem-restored-note,.stem-guest-note{color:var(--bf-muted);text-align:left;justify-content:flex-start;align-items:center;gap:7px;margin:12px 0 0;font-size:11px;line-height:1.5;display:flex}.stem-restored-note{color:var(--bf-accent)}.stem-restored-note svg{stroke-width:2.2px;flex:none;width:14px;height:14px}.stem-guest-note{border-top:1px solid color-mix(in srgb, var(--bf-line) 72%, transparent);padding-top:12px}.stem-file-error{border:1px solid color-mix(in srgb, var(--bf-error) 33%, var(--bf-line));background:color-mix(in srgb, var(--bf-error) 7%, transparent);width:min(100%,480px);color:var(--bf-error);text-align:left;border-radius:9px;justify-content:center;align-items:center;gap:9px;margin:15px auto 0;padding:10px 12px;font-size:12px;display:flex}.stem-file-error svg{flex:none;width:16px;height:16px}.stem-file-error p{flex:1;margin:0}.stem-file-error .bf-button{border-color:color-mix(in srgb, var(--bf-error) 35%, var(--bf-line));min-height:31px;color:var(--bf-error);padding:5px 10px;font-size:11px}.stem-workspace{gap:14px;display:grid}.stem-file-card{border:1px solid var(--bf-line);background:color-mix(in srgb, var(--bf-surface) 54%, transparent);border-radius:11px;align-items:center;gap:13px;padding:15px;display:flex;position:relative}.stem-file-icon{background:var(--bf-accent);width:42px;height:42px;color:var(--bf-accent-ink);border-radius:10px;flex:none;place-items:center;display:grid}.stem-file-icon svg{stroke-width:1.7px;width:19px;height:19px}.stem-file-copy{flex:1;min-width:0}.stem-file-copy p,.stem-file-copy h2,.stem-file-copy>span{margin:0}.stem-file-copy p{color:var(--bf-accent);letter-spacing:.14em;text-transform:uppercase;font-size:9px;font-weight:720}.stem-file-copy h2{color:var(--bf-text);letter-spacing:-.015em;text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:14px;font-weight:650;line-height:1.35;overflow:hidden}.stem-file-copy>span{color:var(--bf-soft);margin-top:3px;font-size:10px;display:block}.stem-file-card>.bf-button{flex:none}.stem-output-panel{border:1px dashed var(--bf-line);border-radius:11px;justify-content:space-between;align-items:center;gap:24px;padding:15px;display:flex}.stem-output-panel>div:first-child{min-width:0}.stem-output-panel .bf-kicker{margin:0 0 4px;font-size:9px}.stem-output-panel>div:first-child>p:last-child{color:var(--bf-muted);margin:0;font-size:11px}.stem-output-chips{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.stem-output-chips>span{border:1px solid var(--bf-line);background:var(--bf-surface);color:var(--bf-muted);white-space:nowrap;border-radius:999px;align-items:center;gap:5px;padding:5px 8px;font-size:10px;display:inline-flex}.stem-output-chips svg{width:12px;height:12px;color:var(--bf-accent);stroke-width:1.8px}.stem-quote-panel{border:1px solid color-mix(in srgb, var(--bf-accent) 24%, var(--bf-line));background:color-mix(in srgb, var(--bf-accent) 4%, var(--bf-surface));text-align:left;border-radius:11px;padding:13px 14px}.stem-quote-head{justify-content:space-between;align-items:baseline;gap:16px;display:flex}.stem-quote-head .bf-kicker{color:var(--bf-accent);white-space:nowrap;margin:0;font-size:9px}.stem-quote-head>p:last-child{max-width:420px;color:var(--bf-muted);text-align:right;margin:0;font-size:10px;line-height:1.5}.stem-quote-grid{border-top:1px solid color-mix(in srgb, var(--bf-line) 80%, transparent);grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:12px 0 0;padding-top:11px;display:grid}.stem-quote-grid>div{border-left:1px solid var(--bf-line);min-width:0;padding:0 12px}.stem-quote-grid>div:first-child{border-left:0;padding-left:0}.stem-quote-grid dt{color:var(--bf-soft);letter-spacing:.045em;text-transform:uppercase;font-size:9px;font-weight:600}.stem-quote-grid dd{color:var(--bf-text);margin:4px 0 0;font-size:13px;font-weight:680;line-height:1.3}.stem-quote-grid .is-total dd{color:var(--bf-accent)}.stem-rate-note{color:var(--bf-muted);text-align:left;align-items:center;gap:8px;margin:0;font-size:10px;line-height:1.55;display:flex}.stem-rate-note svg{width:14px;height:14px;color:var(--bf-accent);flex:none}.stem-balance-callout{border:1px solid color-mix(in srgb, var(--bf-error) 31%, var(--bf-line));background:color-mix(in srgb, var(--bf-error) 6%, transparent);border-radius:10px;align-items:flex-start;gap:10px;padding:12px 14px;display:flex}.stem-balance-callout>svg{width:17px;height:17px;color:var(--bf-error);flex:none;margin-top:2px}.stem-balance-callout strong{color:var(--bf-error);font-size:12px;display:block}.stem-balance-callout p{color:var(--bf-muted);margin:3px 0 0;font-size:11px;line-height:1.5}.stem-action-bar{justify-content:space-between;align-items:center;gap:18px;padding-top:3px;display:flex}.stem-cost{align-items:center;gap:9px;display:flex}.stem-cost>span{background:color-mix(in srgb, var(--bf-accent) 11%, var(--bf-surface));width:31px;height:31px;color:var(--bf-accent);border-radius:9px;place-items:center;display:grid}.stem-cost svg{stroke-width:1.8px;width:15px;height:15px}.stem-cost p,.stem-cost small{margin:0;display:block}.stem-cost p{color:var(--bf-text);font-size:11px}.stem-cost p strong{font-size:14px;font-weight:720}.stem-cost small{color:var(--bf-soft);margin-top:2px;font-size:10px}.stem-main-action{justify-content:center;min-width:174px}.stem-workspace>.stem-privacy-line{margin-top:-3px}.stem-state-card{border:1px solid var(--bf-line);background:color-mix(in srgb, var(--bf-bg) 62%, var(--bf-surface));border-radius:13px;align-items:center;gap:17px;min-height:180px;padding:clamp(19px,3vw,27px);display:flex}.stem-state-icon{background:color-mix(in srgb, var(--bf-accent) 12%, var(--bf-surface));width:47px;height:47px;color:var(--bf-accent);border-radius:13px;flex:none;place-items:center;display:grid}.stem-state-icon.is-warning{background:color-mix(in srgb, #b58527 12%, var(--bf-surface));color:color-mix(in srgb, #a06b08 80%, var(--bf-text))}.stem-state-icon.is-error{background:color-mix(in srgb, var(--bf-error) 10%, var(--bf-surface));color:var(--bf-error)}.stem-state-icon svg{stroke-width:1.65px;width:22px;height:22px}.stem-state-copy{flex:1;min-width:0}.stem-state-copy .bf-eyebrow{margin-bottom:5px;font-size:9px}.stem-state-copy h2{letter-spacing:-.038em;margin:0;font-family:Libre Baskerville,Georgia,serif;font-size:clamp(19px,2.1vw,24px);font-weight:400;line-height:1.3}.stem-state-copy>p:not(.bf-eyebrow){max-width:590px;color:var(--bf-muted);margin:7px 0 0;font-size:12px;line-height:1.6}.stem-failure-reason{max-width:590px;margin-top:9px}.stem-failure-label{color:var(--bf-soft);letter-spacing:.1em;text-transform:uppercase;margin:0;font-size:9px;font-weight:700;line-height:1.4}.stem-failure-text{color:var(--bf-error);margin:3px 0 0;font-size:12px;font-weight:650;line-height:1.6}.stem-state-copy small{color:var(--bf-soft);margin-top:7px;font-size:10px;line-height:1.5;display:block}.stem-state-card>.bf-button,.stem-state-actions{flex:none}.stem-state-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.stem-refund-note{color:var(--bf-accent)!important}.stem-progress-top{align-items:flex-start;gap:15px;display:flex}.stem-progress-orb{background:var(--bf-accent);width:48px;height:48px;color:var(--bf-accent-ink);border-radius:50%;flex:none;place-items:center;display:grid;position:relative}.stem-progress-orb:before,.stem-progress-orb:after{border:1px solid color-mix(in srgb, var(--bf-accent) 29%, transparent);border-radius:inherit;content:"";animation:2.2s ease-out infinite stem-pulse;position:absolute;inset:-5px}.stem-progress-orb:after{animation-delay:1.1s}.stem-progress-orb svg{stroke-width:1.7px;width:21px;height:21px}.stem-progress-top .bf-eyebrow{margin-bottom:5px;font-size:9px}.stem-progress-top h2{letter-spacing:-.04em;margin:0;font-family:Libre Baskerville,Georgia,serif;font-size:clamp(20px,2.2vw,25px);font-weight:400;line-height:1.3}.stem-progress-top p:not(.bf-eyebrow){max-width:600px;color:var(--bf-muted);margin:7px 0 0;font-size:12px;line-height:1.6}@keyframes stem-pulse{0%{opacity:.7;transform:scale(.92)}75%,to{opacity:0;transform:scale(1.28)}}.stem-results{width:min(100%,860px);margin-inline:auto;padding:4px 0 0}.stem-results-head{justify-content:space-between;align-items:flex-start;gap:24px;padding:0 0 20px;display:flex}.stem-results-head>div{min-width:0}.stem-results-head .bf-eyebrow{margin-bottom:6px;font-size:9px}.stem-result-source{min-width:0;color:var(--bf-soft);align-items:center;gap:6px;margin:0 0 12px;font-size:10px;font-weight:620;display:flex}.stem-result-source svg{width:13px;height:13px;color:var(--bf-accent);stroke-width:1.8px;flex:none}.stem-result-source span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.stem-results-head h2{letter-spacing:-.045em;margin:0;font-family:Libre Baskerville,Georgia,serif;font-size:clamp(22px,2.7vw,30px);font-weight:400;line-height:1.25}.stem-results-head p:not(.bf-eyebrow){max-width:580px;color:var(--bf-muted);margin:7px 0 0;font-size:12px;line-height:1.6}.stem-results-head>.bf-button{flex:none}.stem-result-list{gap:10px;display:grid}.stem-track{border:1px solid color-mix(in srgb, var(--bf-line) 72%, transparent);background:color-mix(in srgb, var(--bf-surface) 88%, var(--bf-bg));min-width:0;box-shadow:none;border-left:2px solid #0000;border-radius:10px;grid-template-columns:30px minmax(0,1fr);align-items:start;gap:10px;padding:11px 12px 10px 13px;transition:border-color .15s,background-color .15s;display:grid;position:relative}.stem-track:hover{border-color:color-mix(in srgb, var(--bf-accent) 24%, var(--bf-line));background:color-mix(in srgb, var(--bf-accent) 2%, var(--bf-surface))}.stem-track.is-active{border-color:color-mix(in srgb, var(--bf-line) 78%, transparent);border-left-color:var(--bf-accent);background:linear-gradient(90deg, color-mix(in srgb, var(--bf-accent) 5%, transparent), transparent 32%), color-mix(in srgb, var(--bf-surface) 92%, var(--bf-bg))}.stem-track.is-active:hover{border-color:color-mix(in srgb, var(--bf-accent) 24%, var(--bf-line));border-left-color:var(--bf-accent)}.stem-track-glyph{background:color-mix(in srgb, var(--bf-accent) 7%, var(--bf-surface));width:30px;height:30px;color:color-mix(in srgb, var(--bf-accent) 78%, var(--bf-muted));border:0;border-radius:8px;place-items:center;transition:background-color .15s,color .15s;display:grid}.stem-track.is-active .stem-track-glyph{background:color-mix(in srgb, var(--bf-accent) 11%, var(--bf-surface));color:var(--bf-accent)}.stem-track-glyph svg{stroke-width:1.75px;width:15px;height:15px}.stem-track-main{min-width:0}.stem-track-heading{justify-content:space-between;align-items:center;gap:12px;min-height:30px;display:flex}.stem-track-copy{flex-wrap:wrap;align-items:center;gap:3px 9px;min-width:0;display:flex}.stem-track-heading h3{color:var(--bf-text);letter-spacing:-.018em;margin:0;font-size:13px;font-weight:700;line-height:1.3}.stem-track-heading p{min-width:0;color:var(--bf-soft);font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:center;gap:6px;margin:0;font-size:9px;line-height:1.35;display:flex}.stem-track-status{color:var(--bf-soft);align-items:center;gap:5px;display:inline-flex}.stem-track-status:before{content:"";background:currentColor;border-radius:50%;flex:none;width:3px;height:3px}.stem-track-status.is-playing{color:var(--bf-accent);font-weight:650}.stem-download{white-space:nowrap;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:7px;flex:none;align-items:center;gap:4px;min-height:26px;padding:0 7px;font-family:inherit;font-size:9px;font-weight:650;transition:border-color .15s,color .15s,background-color .15s;display:inline-flex;color:var(--bf-soft)!important}.stem-download .bf-spinner{width:11px;height:11px;color:var(--bf-accent);border-width:1.5px}.stem-download:hover{border-color:color-mix(in srgb, var(--bf-accent) 22%, var(--bf-line));background:color-mix(in srgb, var(--bf-accent) 5%, transparent);color:var(--bf-accent)!important}.stem-download svg{stroke-width:1.9px;width:11px;height:11px}.stem-download:disabled{cursor:wait;opacity:.72}.stem-download .stem-download-chevron{opacity:.66;width:9px;height:9px;margin-left:0}.stem-download-menu.stem-download-menu{--bf-bg:#f7f5ec;--bf-surface:#eeeee3;--bf-text:#212920;--bf-soft:#626b5b;--bf-line:#c5cbb9;--bf-accent:#2e5a3d;border:1px solid color-mix(in srgb, var(--bf-line) 86%, transparent);background:var(--bf-bg);width:264px;color:var(--bf-text);border-radius:11px;padding:5px;box-shadow:0 12px 30px #21292029}.dark .stem-download-menu.stem-download-menu{--bf-bg:#10110e;--bf-surface:#181a15;--bf-text:#f4f3e9;--bf-soft:#929688;--bf-line:#3a3e32;--bf-accent:#c8ea87;box-shadow:0 16px 36px #0000007a}.stem-download-option{color:var(--bf-text);cursor:pointer;border-radius:7px;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:10px;padding:10px;display:grid}.stem-download-option:focus,.stem-download-option[data-highlighted]{background:color-mix(in srgb, var(--bf-accent) 10%, var(--bf-surface));color:var(--bf-text)}.stem-download-format{border:1px solid color-mix(in srgb, var(--bf-accent) 28%, var(--bf-line));background:color-mix(in srgb, var(--bf-accent) 8%, var(--bf-surface));min-height:25px;color:var(--bf-accent);letter-spacing:.04em;border-radius:6px;place-items:center;font-size:10px;font-weight:750;display:inline-grid}.stem-download-option-copy{text-align:left;gap:2px;min-width:0;display:grid}.stem-download-option-copy strong{color:var(--bf-text);font-size:13px;font-weight:680;line-height:1.3}.stem-download-option-copy small{color:var(--bf-soft);font-size:12px;font-weight:460;line-height:1.4}.stem-audio-row{grid-template-columns:minmax(0,1fr) 32px;align-items:center;gap:10px;margin-top:7px;display:grid}.stem-audio-timeline{min-width:0}.stem-wave-wrap{background:linear-gradient(to bottom, transparent calc(50% - .5px), color-mix(in srgb, var(--bf-line) 48%, transparent) 50%, transparent calc(50% + .5px));border-radius:4px;height:30px;position:relative;overflow:hidden}.stem-wave-bars{align-items:center;gap:clamp(.5px,.2vw,2px);height:30px;padding:3px 1px;display:flex}.stem-wave-bars>span{background:color-mix(in srgb, var(--stem-wave-color) 28%, var(--bf-line));border-radius:2px;flex:1;min-width:.5px;min-height:2px;transition:background-color .12s}.stem-wave-bars>span.is-played{background:var(--stem-wave-color)}.stem-wave-bars.is-loading>span,.stem-demo-wave.is-loading>span{animation:.9s ease-in-out infinite alternate stem-wave-loading}.stem-wave-bars.is-unavailable>span,.stem-demo-wave.is-unavailable>span{opacity:.42}.stem-wave-playhead{background:var(--stem-wave-color);width:1.5px;box-shadow:0 0 0 1px color-mix(in srgb, var(--bf-bg) 72%, transparent);pointer-events:none;border-radius:999px;position:absolute;top:1px;bottom:1px;transform:translate(-.5px)}.stem-wave-seek{opacity:0;cursor:pointer;width:100%;height:100%;margin:0;position:absolute;inset:0}.stem-wave-seek:disabled{cursor:default}.stem-time-row{color:var(--bf-soft);font-variant-numeric:tabular-nums;letter-spacing:.01em;justify-content:space-between;margin-top:2px;padding-inline:1px;font-size:9px;line-height:1;display:flex}.bf .stem-play{border:1px solid color-mix(in srgb, var(--bf-line) 84%, transparent);background:color-mix(in srgb, var(--bf-surface) 82%, var(--bf-bg));width:32px;height:32px;color:var(--bf-muted);box-shadow:none;cursor:pointer;border-radius:8px;place-items:center;padding:0;transition:border-color .15s,background-color .15s,color .15s;display:grid}.bf .stem-play:hover,.bf .stem-play:focus-visible{border-color:color-mix(in srgb, var(--bf-accent) 52%, var(--bf-line));background:color-mix(in srgb, var(--bf-accent) 6%, var(--bf-surface));color:var(--bf-accent)}.bf .stem-play.is-playing,.bf .stem-play[aria-busy=true]{border-color:var(--bf-accent);background:var(--bf-accent);color:var(--bf-accent-ink)}.bf .stem-play:active{transform:translateY(0)}.bf .stem-play:focus-visible{outline:2px solid color-mix(in srgb, var(--bf-accent) 72%, transparent);outline-offset:2px}.bf .stem-play svg{width:14px;height:14px;color:inherit;stroke-width:2px;display:block}.bf .stem-play.is-playing svg{stroke-width:1.8px}.bf .stem-play .bf-spinner{border-color:color-mix(in srgb, currentColor 30%, transparent);border-top-color:currentColor;width:14px;height:14px}.stem-audio-element{display:none}.stem-results-foot{color:var(--bf-soft);justify-content:space-between;align-items:center;gap:20px;margin-top:15px;padding-top:2px;font-size:10px;display:flex}.stem-results-foot p{margin:0;line-height:1.5}.stem-results-foot a{text-decoration:underline;-webkit-text-decoration-color:color-mix(in srgb, var(--bf-accent) 40%, transparent);text-decoration-color:color-mix(in srgb, var(--bf-accent) 40%, transparent);text-underline-offset:3px;flex:none;font-weight:620;color:var(--bf-accent)!important}.stem-inline-error{color:var(--bf-error);align-items:center;gap:7px;margin:11px 0 0;font-size:11px;display:flex}.stem-inline-error svg{flex:none;width:14px;height:14px}.stem-demo{padding-top:clamp(58px,8vw,92px)}.stem-demo-player{border:1px solid var(--bf-line);background:radial-gradient(circle at 92% 0%, color-mix(in srgb, var(--bf-accent) 10%, transparent), transparent 34%), var(--bf-surface);box-shadow:var(--bf-card-shadow);border-radius:20px;margin-top:clamp(30px,4vw,42px);padding:clamp(19px,3.2vw,34px)}.stem-demo-head{justify-content:space-between;align-items:flex-start;gap:24px;display:flex}.stem-demo-head>div:first-child{min-width:0}.stem-demo-tag{color:var(--bf-accent);letter-spacing:.13em;text-transform:uppercase;align-items:center;gap:8px;margin:0 0 9px;font-size:10px;font-weight:700;display:flex}.stem-demo-tag>span{width:6px;height:6px;box-shadow:0 0 0 4px color-mix(in srgb, var(--bf-accent) 12%, transparent);background:currentColor;border-radius:50%}.stem-demo-head h3{letter-spacing:-.05em;margin:0;font-family:Libre Baskerville,Georgia,serif;font-size:clamp(24px,3.2vw,36px);font-weight:400;line-height:1.2}.stem-demo-head>div:first-child>p:last-child{max-width:620px;color:var(--bf-muted);margin:10px 0 0;font-size:12px;line-height:1.65}.stem-demo-meta{flex-wrap:wrap;flex:none;justify-content:flex-end;gap:6px;display:flex}.stem-demo-meta>span{border:1px solid var(--bf-line);background:color-mix(in srgb, var(--bf-bg) 55%, var(--bf-surface));color:var(--bf-muted);letter-spacing:.02em;white-space:nowrap;border-radius:999px;padding:6px 9px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:9px}.stem-demo-stage{border:1px solid color-mix(in srgb, var(--bf-line) 90%, transparent);background:color-mix(in srgb, var(--bf-bg) 68%, var(--bf-surface));border-radius:15px;margin-top:27px;padding:clamp(14px,2.6vw,23px)}.stem-demo-wave-wrap{background:linear-gradient(to bottom, transparent 49.5%, color-mix(in srgb, var(--bf-line) 55%, transparent) 50%, transparent 50.5%), color-mix(in srgb, var(--bf-surface) 30%, transparent);border-radius:10px;height:clamp(92px,12vw,148px);position:relative;overflow:hidden}.stem-demo-wave{align-items:center;gap:clamp(2px,.35vw,4px);height:100%;padding:13px 2px;display:flex}.stem-demo-wave>span{background:color-mix(in srgb, var(--stem-wave-color) 28%, var(--bf-line));border-radius:3px;flex:1;min-width:.5px;min-height:2px;transition:background-color .11s linear}.stem-demo-wave>span.is-played{background:var(--stem-wave-color)}@keyframes stem-wave-loading{0%{opacity:.32}to{opacity:.62}}.stem-demo-playhead{background:var(--stem-wave-color);width:1px;box-shadow:0 0 0 1px color-mix(in srgb, var(--stem-wave-color) 14%, transparent);pointer-events:none;position:absolute;top:7px;bottom:7px;transform:translate(-.5px)}.stem-demo-seek{border-radius:inherit;opacity:0;cursor:pointer;width:100%;height:100%;margin:0;position:absolute;inset:0}.stem-demo-seek:focus-visible{opacity:.12;outline:2px solid var(--bf-accent);outline-offset:-4px}.stem-demo-transport{align-items:center;gap:14px;margin-top:13px;display:flex}.bf .stem-demo-toggle{border:1px solid color-mix(in srgb, var(--bf-accent) 38%, var(--bf-line));background:color-mix(in srgb, var(--bf-accent) 9%, var(--bf-surface));width:45px;height:45px;color:var(--bf-accent);cursor:pointer;border-radius:50%;flex:none;place-items:center;padding:0;transition:border-color .15s,background-color .15s,color .15s,box-shadow .15s,transform .15s;display:grid;box-shadow:0 1px 2px #21292012}.bf .stem-demo-toggle:hover,.bf .stem-demo-toggle:focus-visible,.bf .stem-demo-toggle.is-playing,.bf .stem-demo-toggle[aria-busy=true]{border-color:var(--bf-accent);background:var(--bf-accent);color:var(--bf-accent-ink);box-shadow:0 4px 12px color-mix(in srgb, var(--bf-accent) 22%, transparent)}.bf .stem-demo-toggle:hover{transform:translateY(-1px)}.bf .stem-demo-toggle:active{box-shadow:none;transform:translateY(0)}.bf .stem-demo-toggle:focus-visible,.bf .stem-demo-tabs button:focus-visible{outline:2px solid color-mix(in srgb, var(--bf-accent) 72%, transparent);outline-offset:3px}.bf .stem-demo-toggle svg{width:17px;height:17px;color:inherit;stroke-width:2px;display:block}.bf .stem-demo-toggle .bf-spinner{border-color:color-mix(in srgb, currentColor 30%, transparent);border-top-color:currentColor;width:16px;height:16px}.stem-demo-time{color:var(--bf-soft);font-variant-numeric:tabular-nums;align-items:center;gap:4px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10px;display:flex}.stem-demo-time strong{color:var(--bf-text);font-weight:650}.stem-demo-current{color:var(--bf-accent);margin-left:auto;font-size:11px;font-weight:650}.stem-demo-tabs{flex-wrap:wrap;gap:7px;margin-top:16px;display:flex}.stem-demo-tabs button{border:1px solid var(--bf-line);min-height:34px;color:var(--bf-muted);cursor:pointer;background:0 0;border-radius:999px;padding:0 12px;font-size:11px;font-weight:600;transition:border-color .15s,background-color .15s,color .15s}.stem-demo-tabs button:hover{border-color:color-mix(in srgb, var(--bf-accent) 50%, var(--bf-line));color:var(--bf-text)}.stem-demo-tabs button.is-selected{border-color:var(--bf-accent);background:var(--bf-accent);color:var(--bf-accent-ink)}.stem-demo-note{color:var(--bf-soft);margin:14px 0 0;font-size:10px;line-height:1.6}.stem-demo-error{margin-top:13px}.stem-demo-audio{display:none}@media (width<=900px){.stem-hero{gap:8px;padding:22px 0 8px}.stem-hero h1{font-size:clamp(37px,5.7vw,52px)}.stem-mode-heading{align-items:flex-start;gap:20px}.stem-mode-heading>p{max-width:350px}.stem-state-card{flex-wrap:wrap}.stem-state-copy{flex-basis:calc(100% - 70px)}.stem-state-card>.bf-button,.stem-state-actions{margin-left:64px}.stem-demo-head{display:block}.stem-demo-meta{justify-content:flex-start;margin-top:15px}}@media (width<=800px){.stem-hero{gap:8px}.stem-hero-copy{max-width:680px}.stem-mode-heading{text-align:left;display:block}.stem-mode-heading>p{max-width:560px;margin-top:12px}.stem-mode-grid{grid-template-columns:minmax(0,1fr)}.stem-demo-wave-wrap{height:105px}}@media (width<=680px){.stem-main{padding-bottom:65px}.stem-hero{gap:18px;padding:42px 0 18px}.stem-hero h1{letter-spacing:-.07em;font-size:clamp(35px,10.5vw,48px)}.stem-hero-description{margin-top:10px;font-size:14px;line-height:1.7}.stem-hero-meta{gap:8px 15px;margin-top:18px;font-size:10px}.stem-tool{border-radius:15px;padding:17px}.stem-mode-heading h2{font-size:22px}.stem-mode-heading>p{margin-top:10px;font-size:12px}.stem-mode-grid{margin-top:18px}.stem-mode-card{min-height:0;padding:13px 39px 13px 13px}.stem-mode-copy>span{font-size:10px}.stem-quote-head{display:block}.stem-quote-head>p:last-child{text-align:left;margin-top:4px}.stem-quote-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px 0}.stem-quote-grid>div:nth-child(3){border-left:0;padding-left:0}.stem-stage{margin-top:13px}.stem-workspace{border-radius:11px;padding:13px}.stem-results{padding:0}.stem-upload-panel{background:0 0;border:0;padding:0}.stem-file-card{flex-wrap:wrap;align-items:flex-start;padding:12px}.stem-file-icon{width:37px;height:37px}.stem-file-copy{flex-basis:calc(100% - 52px)}.stem-file-copy h2{font-size:13px}.stem-file-card>.bf-button{width:100%;margin-top:1px}.stem-output-panel{padding:12px;display:block}.stem-output-chips{justify-content:flex-start;margin-top:11px}.stem-output-chips>span{font-size:9px}.stem-action-bar{display:block}.stem-main-action{width:100%;margin-top:13px}.stem-state-card{min-height:0;padding:17px;display:block}.stem-state-icon{width:40px;height:40px;margin-bottom:12px}.stem-state-copy h2{font-size:20px}.stem-state-card>.bf-button,.stem-state-actions{width:100%;margin:14px 0 0}.stem-state-actions .bf-button{flex:1}.stem-progress-top{gap:12px}.stem-progress-orb{width:41px;height:41px}.stem-progress-top h2{font-size:19px}.stem-progress-top p:not(.bf-eyebrow){font-size:11px}.stem-results-head{padding-bottom:14px;display:block}.stem-results-head h2{font-size:22px}.stem-results-head>.bf-button{width:100%;margin-top:13px}.stem-track{border-radius:9px;grid-template-columns:28px minmax(0,1fr);gap:9px;padding:10px 10px 9px 11px}.stem-track-glyph{border-radius:7px;width:28px;height:28px}.stem-track-glyph svg{width:14px;height:14px}.stem-track-heading{gap:7px;min-height:28px}.stem-track-copy{align-content:center;gap:2px 7px}.stem-track-heading h3{font-size:13px}.stem-track-heading p{gap:5px;font-size:8.5px}.stem-download>span{clip:rect(0, 0, 0, 0);white-space:nowrap;clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.stem-download{justify-content:center;gap:1px;min-width:34px;min-height:28px;padding:0 4px}.stem-download .stem-download-chevron{width:8px;height:8px}.stem-audio-row{grid-template-columns:minmax(0,1fr) 32px;gap:8px;margin-top:5px}.stem-play{width:32px;height:32px}.stem-wave-wrap{height:28px}.stem-wave-bars{gap:1px;height:28px;padding-block:3px}.stem-time-row{margin-top:2px;font-size:8.5px}.stem-results-foot{display:block}.stem-results-foot a{margin-top:8px;display:inline-block}.stem-how{padding-top:52px}.stem-how-grid{margin-top:19px}.stem-how-grid article{padding:18px}.stem-demo-player{border-radius:15px;padding:14px}.stem-demo-stage{border-radius:11px;margin-top:18px;padding:10px}.stem-demo-head h3{font-size:25px}.stem-demo-head>div:first-child>p:last-child{font-size:11px}.stem-demo-wave-wrap{height:82px}.stem-demo-wave{gap:1.5px;padding-block:9px}.stem-demo-transport{gap:10px;margin-top:10px}.stem-demo-toggle{width:40px;height:40px}.stem-demo-time,.stem-demo-current{font-size:9px}.stem-demo-tabs{gap:6px;margin-top:12px}.stem-demo-tabs button{min-height:32px;padding-inline:10px;font-size:10px}.stem-demo-note{font-size:9px}}@media (width<=360px){.stem-tool{padding:13px}.stem-mode-card{gap:10px}.stem-mode-icon{width:33px;height:33px}.stem-track-heading p{font-size:8px}.stem-audio-row{grid-template-columns:minmax(0,1fr) 30px}.stem-play{width:30px;height:30px}}.stem-mode-heading-row{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.stem-history-trigger{border:1px solid var(--bf-line);min-height:36px;color:var(--bf-muted);font:inherit;cursor:pointer;background:0 0;border-radius:9px;flex:none;justify-content:center;align-items:center;gap:7px;padding:0 12px;font-size:11px;font-weight:650;transition:border-color .16s,background-color .16s,color .16s;display:inline-flex}.stem-history-trigger:hover{border-color:color-mix(in srgb, var(--bf-accent) 45%, var(--bf-line));background:color-mix(in srgb, var(--bf-accent) 5%, transparent);color:var(--bf-accent)}.stem-history-trigger:focus-visible,.stem-history-action:focus-visible,.stem-history-pagination button:focus-visible{outline:2px solid var(--bf-accent);outline-offset:3px}.stem-history-trigger svg{stroke-width:1.8px;width:15px;height:15px}.stem-inspecting-note{color:var(--bf-accent);align-items:center;gap:6px;margin-top:7px;font-size:10px;line-height:1.5;display:inline-flex}.stem-inspecting-note svg{width:13px;height:13px;animation:.9s linear infinite stem-inspect-spin}@keyframes stem-inspect-spin{to{transform:rotate(1turn)}}.stem-history-dialog{border:1px solid var(--bf-line);background:var(--bf-surface);min-height:0;max-height:min(82vh,760px);color:var(--bf-text);box-shadow:var(--bf-card-shadow);overflow:hidden;gap:0!important;width:min(100vw - 32px,720px)!important;max-width:720px!important;padding:0!important}.stem-history-header{border-bottom:1px solid var(--bf-line);text-align:left;padding:24px 54px 18px 24px;gap:10px!important}.stem-history-header .bf-kicker{margin:0 0 6px}.stem-history-header [data-slot=dialog-title]{color:var(--bf-text);letter-spacing:-.045em;margin:0;font-family:Libre Baskerville,Georgia,serif;font-size:clamp(23px,3vw,29px);font-weight:400;line-height:1.25}.stem-history-header [data-slot=dialog-description]{max-width:580px;color:var(--bf-muted);font-size:12px;line-height:1.6}.stem-history-list{scrollbar-gutter:stable;gap:10px;max-height:min(55vh,510px);padding:16px 24px;display:grid;overflow-y:auto}.stem-history-item{border:1px solid var(--bf-line);background:color-mix(in srgb, var(--bf-bg) 56%, var(--bf-surface));text-align:left;border-radius:11px;padding:14px}.stem-history-item-main{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.stem-history-file{align-items:center;gap:10px;min-width:0;display:flex}.stem-history-file-icon{background:color-mix(in srgb, var(--bf-accent) 10%, var(--bf-surface));width:34px;height:34px;color:var(--bf-accent);border-radius:9px;flex:none;place-items:center;display:grid}.stem-history-file-icon svg{stroke-width:1.8px;width:16px;height:16px}.stem-history-file h3{color:var(--bf-text);text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:12px;font-weight:680;line-height:1.4;overflow:hidden}.stem-history-file p{color:var(--bf-soft);flex-wrap:wrap;gap:5px;margin:4px 0 0;font-size:10px;line-height:1.45;display:flex}.stem-history-status{border:1px solid var(--bf-line);background:var(--bf-surface);min-height:23px;color:var(--bf-muted);letter-spacing:.03em;border-radius:999px;flex:none;align-items:center;padding:0 8px;font-size:9px;font-weight:700;display:inline-flex}.stem-history-status.is-processing{border-color:color-mix(in srgb, #b58527 35%, var(--bf-line));background:color-mix(in srgb, #b58527 9%, var(--bf-surface));color:color-mix(in srgb, #a06b08 84%, var(--bf-text))}.dark .stem-history-status.is-processing{border-color:color-mix(in srgb, #f1c86d 34%, var(--bf-line));background:color-mix(in srgb, #f1c86d 10%, var(--bf-surface));color:#f1c86d}.stem-history-status.is-success{border-color:color-mix(in srgb, var(--bf-accent) 37%, var(--bf-line));background:color-mix(in srgb, var(--bf-accent) 8%, var(--bf-surface));color:var(--bf-accent)}.stem-history-status.is-failed,.stem-history-status.is-canceled{border-color:color-mix(in srgb, var(--bf-error) 30%, var(--bf-line));background:color-mix(in srgb, var(--bf-error) 6%, var(--bf-surface));color:var(--bf-error)}.stem-history-failure{border:1px solid color-mix(in srgb, var(--bf-error) 20%, var(--bf-line));background:color-mix(in srgb, var(--bf-error) 5%, var(--bf-surface));color:var(--bf-error);text-align:left;border-radius:8px;align-items:flex-start;gap:8px;margin:11px 0 0;padding:9px 11px;font-size:12px;line-height:1.55;display:flex}.stem-history-failure svg{stroke-width:2px;flex:none;width:14px;height:14px;margin-top:1px}.stem-history-failure>span{overflow-wrap:anywhere;min-width:0}.stem-history-failure strong,.stem-history-failure>span>span{display:block}.stem-history-failure strong{color:var(--bf-soft);letter-spacing:.1em;text-transform:uppercase;margin-bottom:3px;font-size:9px;font-weight:700;line-height:1.4}.stem-history-failure>span>span{font-weight:650}.stem-history-facts{border-top:1px solid var(--bf-line);grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:12px 0 0;padding:10px 0 0;display:grid}.stem-history-facts>div{border-left:1px solid var(--bf-line);min-width:0;padding:0 12px}.stem-history-facts>div:first-child{border-left:0;padding-left:0}.stem-history-facts dt{color:var(--bf-soft);font-size:9px;line-height:1.4}.stem-history-facts dd{color:var(--bf-text);margin:3px 0 0;font-size:11px;font-weight:650;line-height:1.45}.stem-history-action{color:var(--bf-accent);font:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:5px;margin-top:11px;padding:0;font-size:10px;font-weight:680;display:inline-flex}.stem-history-action svg{width:13px;height:13px;transition:transform .15s}.stem-history-action:hover svg{transform:translate(2px)}.stem-history-state{min-height:190px;color:var(--bf-muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:9px;padding:28px;display:flex}.stem-history-state svg{width:25px;height:25px;color:var(--bf-accent);stroke-width:1.6px}.stem-history-state p{max-width:420px;margin:0;font-size:12px;line-height:1.6}.stem-history-state.is-error svg{color:var(--bf-error)}.stem-history-state .bf-button{margin-top:5px}.stem-history-state [data-lucide=loader-circle],.stem-history-state>.lucide-loader-circle{animation:.9s linear infinite stem-inspect-spin}.stem-history-pagination{border-top:1px solid var(--bf-line);justify-content:space-between;align-items:center;gap:12px;padding:12px 24px 16px;display:flex}.stem-history-pagination span{color:var(--bf-soft);font-size:10px}.stem-history-pagination button{color:var(--bf-muted);font:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:4px;padding:5px 7px;font-size:10px;font-weight:650;display:inline-flex}.stem-history-pagination button:hover:not(:disabled){color:var(--bf-accent)}.stem-history-pagination button:disabled{cursor:default;opacity:.38}.stem-history-pagination svg{width:13px;height:13px}@media (width<=680px){.stem-mode-heading-row{gap:10px}.stem-history-trigger{min-height:32px;padding-inline:9px;font-size:10px}.stem-history-dialog{border-radius:13px;max-height:calc(100dvh - 20px);width:calc(100vw - 20px)!important}.stem-history-header{padding:19px 48px 15px 17px}.stem-history-list{max-height:calc(100dvh - 205px);padding:12px 17px}.stem-history-item{padding:12px}.stem-history-status{min-height:21px;padding-inline:7px}.stem-history-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 0}.stem-history-facts>div:nth-child(3){border-left:0;padding-left:0}.stem-history-pagination{padding:11px 17px 14px}}
