/* OtoMix: the shared tool shell, opened into an immersive audio workstation. */
.otomix-page{--m-accent:#ffcf88;--om-accent:#ffcf88;--om-blue:#91d6ff;--m-dim:#b1b6c2;--m-dim2:#959ba8;--m-ink:#f1f2f5;--om-line:#a2bbd51c;--om-panel:#101822;--bg:#080b10;--pink:var(--om-accent);background:#080b10;color:var(--m-ink)}
.otomix-page #topbar{height:72px;background:#080b10d9;border-bottom:1px solid var(--om-line);backdrop-filter:blur(20px)}
.otomix-page #topbar .tb-nav a.active{color:var(--om-accent)}
.otomix-page :focus-visible{outline-color:var(--om-accent)}
.om-studio{min-height:calc(100dvh - 72px);display:flex;flex-direction:column;align-items:stretch;position:relative;isolation:isolate;width:100%;margin:auto;padding:0 max(var(--gutter),calc((100% - var(--width))/2));overflow:hidden}
.om-ambient{position:absolute;inset:0;pointer-events:none;z-index:-2;background:radial-gradient(ellipse at 77% 44%,#26496122,transparent 53%),radial-gradient(ellipse at 50% 10%,#362a171a,transparent 60%)}
.om-ambient:after{content:"";position:absolute;inset:0;background-image:linear-gradient(#adc6de04 1px,transparent 1px),linear-gradient(90deg,#adc6de04 1px,transparent 1px);background-size:64px 64px;mask-image:radial-gradient(ellipse at 70% 50%,#000,transparent 70%)}
.om-appbar{display:flex;align-items:center;gap:15px;padding:23px 0 18px;flex:none;border-bottom:1px solid var(--om-line)}
.om-brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-size:22px;letter-spacing:-1px;font-weight:500;line-height:1.3;white-space:nowrap}
.om-brand svg{width:32px;height:32px;fill:none;stroke:var(--om-accent);stroke-width:1.8;filter:drop-shadow(0 0 8px #ffd09035)}
.om-brand b{color:var(--om-accent);font-weight:400;font-size:14px;vertical-align:top;letter-spacing:0;margin-left:3px}
.om-version,.om-engine-status,.om-eyebrow,.om-orbit-label,.om-bottom,.om-steps,.om-progress-meta{font-family:var(--m-mono);font-size:10px;font-weight:400;letter-spacing:.12em}
.om-version{color:#a6a4a1;border-left:1px solid var(--om-line);padding-left:15px;line-height:1.3}
.om-engine-status{margin-left:auto;color:#aab5bf;display:flex;align-items:center;gap:10px}
.om-engine-status i,.om-bottom>span>i,.om-match-note i{width:5px;height:5px;background:var(--om-accent);border-radius:50%;display:inline-block;box-shadow:0 0 12px #ffd09255}
.om-steps{display:flex;gap:32px;margin:0;padding:19px 0;list-style:none;color:#959ca8;flex:none}
.om-steps li{display:flex;gap:10px;align-items:center;transition:color .4s}
.om-steps li span{font-size:9px;color:#8791a0;border:1px solid #8cabc633;width:21px;height:21px;display:grid;place-items:center;border-radius:50%}
.om-steps li[aria-current]{color:var(--om-accent)}
.om-steps li[aria-current] span{color:var(--om-accent);border-color:#ffcf8855;box-shadow:0 0 15px #ffcf8811}
.om-viewport{position:relative;flex:1;display:flex;align-items:center;min-height:540px;isolation:isolate}
.om-screen{width:48%;max-width:570px;position:relative;z-index:2;padding:20px 0 38px;animation:om-in .65s cubic-bezier(.16,.8,.22,1)}
@keyframes om-in{from{opacity:0;transform:translateY(14px);filter:blur(5px)}to{opacity:1;transform:none;filter:none}}
.om-eyebrow{color:var(--om-accent)!important;font-size:10px;margin:0 0 22px;letter-spacing:.17em}
.om-screen h1,.om-screen h2{font-size:clamp(38px,4.5vw,70px);font-weight:500;line-height:1.08;letter-spacing:-.055em;color:var(--m-ink)}
.om-screen h1 em,.om-screen h2 em{font-style:normal;color:var(--om-accent);background-image:linear-gradient(110deg,#fff0d5,#ffca7e 65%,#d9a570);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.om-intro{font-size:16px;line-height:1.8;margin:24px 0 28px;max-width:370px;color:#b6bcc6!important}
.om-dropzone{max-width:370px;position:relative;margin-top:32px}
.om-primary{min-height:55px;display:inline-flex;justify-content:center;align-items:center;gap:20px;padding:13px 24px;border-radius:9px;background:linear-gradient(125deg,#ffe7bc,#efbd79);color:#1a1712;font-weight:600;font-size:14px;letter-spacing:-.015em;box-shadow:0 0 0 1px #ffe5b748,0 2px 1px #fff8 inset,0 10px 35px #bd8d4221;transition:box-shadow .3s,transform .3s;position:relative;text-decoration:none;overflow:hidden}
.om-primary:before{content:"";position:absolute;inset:-50%;background:linear-gradient(100deg,transparent 35%,#fff6 50%,transparent 65%);transform:translateX(-100%);transition:transform .65s}
.om-primary:hover:not(:disabled):before{transform:translateX(100%)}
.om-primary:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 0 0 1px #ffe5b748,0 2px 1px #fff8 inset,0 15px 42px #bd8d4240}
.om-primary svg,.om-secondary svg{fill:none;stroke:currentColor;stroke-width:1.6;width:18px;height:18px}
.om-plus{font-size:23px;font-weight:300;line-height:1}
.om-file-hint{display:block;font-size:11px;color:#a0a7b3;margin:12px 0 0}
.om-dropzone.is-over{filter:drop-shadow(0 0 20px #ffcf8850)}
.om-text-button{display:block;padding:11px 0;min-height:44px;background:transparent;color:#bac2ce;font-size:12px;text-align:left;transition:color .2s}
.om-text-button:hover{color:var(--om-accent)}
.om-text-button span{color:var(--om-accent);margin-left:10px}
#try-demo{margin:16px 0 0}
.om-device-note{font-size:10px;line-height:1.7;max-width:370px;color:#9ca5b3!important;margin:26px 0 0}
.om-device-note.is-unsupported{color:#ffcf88!important;font-size:12px}
.om-screen .om-time-note{max-width:390px;margin:18px 0 0;padding-left:13px;border-left:2px solid #e9acd14d;font-size:11px;line-height:1.7;color:#b7aabb}
.om-time-note strong,.om-time-note span{display:block}
.om-time-note strong{font-size:12px;font-weight:500;color:#edcfe4;margin-bottom:3px}
@media(max-width:600px){.om-screen .om-time-note{margin-top:15px}#view-processing .om-time-note{margin-top:12px}}
.om-visual{position:absolute;left:39%;top:0;right:-2%;bottom:0;pointer-events:none;z-index:0;min-width:0}
#om-field{display:block;width:100%;height:100%;position:absolute;inset:0}
.om-orbit-label{position:absolute;left:17%;right:9%;display:flex;justify-content:space-between;gap:8px;color:#9eadbd;font-size:9px;letter-spacing:.14em}
.om-orbit-top{top:5%;border-top:1px solid var(--om-line);padding-top:12px}
.om-orbit-top i{width:4px;height:4px;background:#ffc67d;border-radius:50%;align-self:center}
.om-orbit-bottom{bottom:7%;border-bottom:1px solid var(--om-line);padding-bottom:12px;font-size:8px}
.om-bottom{border-top:1px solid var(--om-line);min-height:55px;display:flex;align-items:center;justify-content:space-between;gap:20px;flex:none;color:#96a1b0;font-size:9px;letter-spacing:.1em}
.om-bottom>span{display:flex;align-items:center;gap:9px}
.om-bottom button{background:transparent;font:inherit;color:#b2bdca;min-height:44px;padding:0;letter-spacing:0;text-transform:none}
.om-bottom button span{color:var(--om-accent);margin-left:12px;font-size:13px}
.om-filename{font-size:12px;line-height:1.6;margin:18px 0 5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:90%;color:#d6dce4!important}
.om-mini{font-size:11px;line-height:1.7;color:#aab3c1!important;margin:7px 0 12px;max-width:390px}
/* Optional, combinable sound priorities. Auto remains the default. */
.om-intent{border:0;padding:0;margin:18px 0;max-width:420px}
.om-intent legend{font-size:12px;margin-bottom:10px;color:#dfcfe1}
.om-auto{display:flex;align-items:center;gap:12px;width:100%;min-height:56px;padding:8px 14px;border:1px solid #dbc2df28;border-radius:12px;background:#f0c3e908;color:#d8c6db;text-align:left;font:inherit;line-height:1.4;transition:background .25s,border-color .25s}
.om-auto>span:first-child{font-size:23px;color:#edb6e5}.om-auto b{font-size:12px;font-weight:500}.om-auto small{display:block;font-size:10px;color:#bca8c6;margin-top:2px}.om-auto i{margin-left:auto;font-style:normal;opacity:0;color:#f6cfef}
.om-auto[aria-pressed=true]{background:linear-gradient(110deg,#ba5d9d20,#65599517);border-color:#e0afd962}.om-auto[aria-pressed=true] i{opacity:1}
.om-preference-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:10px 0 6px;font-size:9px;color:#bca8c6}
.om-preference-heading button{font:inherit;font-size:10px;background:transparent;color:#e5bbde;padding:4px 0;min-height:28px;border-bottom:1px solid transparent}
.om-preference-heading button[aria-pressed=true]{color:#ffe1f5;border-bottom-color:#dcb9d7}
.om-preference-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.om-preference-options label{position:relative;cursor:pointer;min-width:0}
.om-preference-options input{position:absolute;right:9px;top:9px;appearance:none;width:13px;height:13px;border:1px solid #bba4c478;border-radius:4px;margin:0;z-index:1;cursor:pointer}
.om-preference-options input:checked{background:#f0bade;border-color:#f0bade}
.om-preference-options input:checked:after{content:'';position:absolute;width:6px;height:3px;top:3px;left:2px;border-left:1.5px solid #44213a;border-bottom:1.5px solid #44213a;transform:rotate(-45deg)}
.om-preference-options label>span{display:flex;flex-direction:column;min-height:86px;padding:10px;border:1px solid #d7bade26;border-radius:11px;background:#dec8ee05;transition:background .25s,border-color .25s}
.om-preference-options svg{width:41px;height:22px;margin-bottom:5px;fill:none;stroke:#c896c7;stroke-width:1.5}
.om-preference-options b{font-size:11px;font-weight:500;color:#e1d0e7;white-space:nowrap}.om-preference-options small{font-size:8px;color:#bca8c6;margin-top:3px;white-space:nowrap}
.om-preference-options input:checked+span{background:linear-gradient(135deg,#bb6b9c25,#73609d20);border-color:#e9afd773}.om-preference-options input:checked+span svg{stroke:#ffceec}.om-preference-options input:focus-visible+span{outline:2px solid #ffe2f4;outline-offset:3px}
.om-screen #preference-note{font-size:9px;color:#bdabc7;line-height:1.5;margin:9px 0 0;min-height:27px}
.om-correction[data-preference] b{color:#f4c6e9}

.om-download-note{max-width:340px;margin-top:16px}
.om-progress{max-width:380px;margin-top:30px}
.om-progress-track{height:3px;overflow:hidden;background:#a6c1dc16;border-radius:3px}
.om-progress-track i{display:block;width:0;height:100%;background:linear-gradient(90deg,#837057,var(--om-accent));box-shadow:0 0 12px var(--om-accent);transition:width .55s}
.om-progress.is-indeterminate .om-progress-track i{width:30%!important;animation:om-progress 2s ease-in-out infinite}
@keyframes om-progress{from{transform:translateX(-105%)}to{transform:translateX(440%)}}
.om-progress-meta{margin-top:14px;display:flex;justify-content:space-between;font-size:10px;letter-spacing:.02em;gap:12px;color:#c4ccd6}
.om-processing-file{margin-top:28px;color:#9ca7b5!important}
.om-corrections{margin:25px 0 15px;max-width:430px;display:flex;flex-direction:column}
.om-correction{display:grid;grid-template-columns:18px minmax(0,1fr) auto;gap:12px;padding:13px 0;border-top:1px solid var(--om-line);align-items:start;cursor:pointer}
.om-correction input{margin:5px 0 0;accent-color:var(--om-accent);width:15px;height:15px}
.om-correction b{display:block;font-size:13px;font-weight:500;color:#ebedf1}
.om-correction small{display:block;font-size:10px;line-height:1.6;color:#9eaaba;margin-top:3px}
.om-correction em{font-family:var(--m-mono);font-size:11px;font-style:normal;color:var(--om-accent);padding-top:3px;white-space:nowrap}
.om-no-change{font-size:15px;line-height:1.8;color:#cad4df!important;max-width:350px}
.om-ab{display:inline-flex;gap:4px;padding:4px;background:#101820;border:1px solid #b1c8e126;border-radius:9px;margin-top:20px}
.om-ab button{font-size:12px;min-width:114px;min-height:39px;border-radius:5px;background:transparent;color:#a7b2c1;transition:background .2s,color .2s}
.om-ab button[aria-pressed=true]{background:linear-gradient(#2b3540,#242a33);color:#f9e7cb;box-shadow:0 1px 0 #ffffff12 inset,0 2px 8px #0006}
.om-match-note{font-size:10px;margin:10px 0 16px;color:#a6b4c2!important;display:flex;gap:7px;align-items:center}
.om-match-note i{background:var(--om-blue);box-shadow:none;width:4px;height:4px}
.om-player{display:flex;align-items:center;gap:17px;max-width:460px;margin-top:10px}
.om-play{flex:none;width:49px;height:49px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(#273642,#1d2834);box-shadow:0 1px 0 #fff2 inset,0 6px 15px #0004;border:1px solid #b7d8f233;color:var(--om-accent)}
.om-play svg{width:20px;height:20px}
.om-transport{position:relative;min-width:0;flex:1;padding-top:48px}
#om-waveform{position:absolute;top:0;left:0;width:100%;height:49px}
#seek{position:absolute;top:0;left:0;width:100%;height:49px;margin:0;appearance:none;opacity:0;cursor:pointer}
#seek:focus-visible{opacity:.2}
.om-timing{display:flex;justify-content:space-between;font-family:var(--m-mono);font-size:9px;color:#9fabbc}
.om-strength{max-width:460px;margin:20px 0 18px}
.om-strength label{display:flex;justify-content:space-between;font-size:11px;color:#d2d9e2}
.om-strength output{font-family:var(--m-mono);color:var(--om-accent)}
#strength{display:block;appearance:none;width:100%;height:28px;min-height:28px;border-radius:3px;background:linear-gradient(90deg,#997347,var(--om-accent) var(--strength,65%),#ffffff14 var(--strength,65%));background-size:100% 4px;background-repeat:no-repeat;background-position:center;margin:6px 0 1px;cursor:pointer}
#strength:disabled{opacity:.35;cursor:default}
#strength::-webkit-slider-thumb{appearance:none;width:14px;height:14px;background:#ffe5bd;border:3px solid #40311f;border-radius:50%;box-shadow:0 0 0 1px #f0c985}
#strength::-moz-range-thumb{width:10px;height:10px;background:#ffe5bd;border:3px solid #40311f;border-radius:50%}
#strength-hint{display:flex;justify-content:space-between;max-width:none;font-size:9px}
.om-result-actions{display:flex;flex-wrap:wrap;gap:13px;align-items:center}
.om-secondary{background:transparent;font-size:11px;color:#c0ccd8;border:1px solid #a6c4e029;border-radius:8px;min-height:52px;padding:10px 16px}
.om-result h2{font-size:clamp(36px,3.8vw,56px)}
.om-result .om-eyebrow{margin-bottom:14px}.om-result .om-filename{margin-top:12px}
.om-result .om-text-button{padding:6px 0;min-height:32px}
.om-result #export-meta{margin:11px 0 0;font-size:10px}
#view-review .om-corrections{max-height:245px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#bd996855 transparent;padding-right:8px}
.om-alert{position:relative;z-index:5;max-width:680px;margin:0 0 18px;padding:13px 17px;border:1px solid #f4b48044;background:#201811;color:#ffe0bd;font-size:12px;border-radius:9px}
.om-about{display:grid;grid-template-columns:1fr 1fr;gap:80px;padding:70px 0 90px;border-top:1px solid var(--om-line)}
.om-about h2{font-size:34px;line-height:1.2;letter-spacing:-.04em}
.om-about p{font-size:13px;line-height:1.9;color:#b1bbc9}
.om-about a{font-size:12px;color:var(--om-accent)}
@media(min-width:961px) and (min-height:760px){.om-studio{height:calc(100dvh - 72px)}.om-viewport{min-height:0}.om-visual{max-height:760px;margin-block:auto}.om-screen{padding:12px 0 20px}.om-result{padding-bottom:12px}.om-result .om-strength{margin:14px 0}.om-result .om-ab{margin-top:14px}}
@media(min-width:1600px){.om-screen h1,.om-screen h2{font-size:76px}.om-result h2{font-size:60px}.om-visual{left:36%}}
@media(max-width:960px){.om-studio{padding:0 24px;min-height:calc(100dvh - 72px)}.om-appbar{padding:20px 0 14px}.om-steps{gap:20px}.om-viewport{min-height:580px}.om-screen{width:55%}.om-visual{left:35%;right:-14%}.om-screen h1,.om-screen h2{font-size:43px}.om-orbit-label{left:26%;right:19%;font-size:7px}.om-orbit-bottom span:last-child{display:none}.om-bottom #bottom-detail{display:none}}
@media(max-width:600px){.om-studio{padding:0 20px}.om-engine-status{font-size:7px;letter-spacing:.06em;gap:6px}.om-brand{font-size:20px;gap:8px}.om-brand svg{width:26px;height:26px}.om-version{display:none}.om-steps{font-size:8px;letter-spacing:0;gap:0;justify-content:space-between;padding:17px 0}.om-steps li{gap:6px}.om-steps li span{width:18px;height:18px;font-size:8px}.om-viewport{display:flex;flex-direction:column;align-items:stretch;min-height:0}.om-screen{width:100%;max-width:none;padding:28px 0 22px}.om-screen h1,.om-screen h2{font-size:44px;line-height:1.08}.om-eyebrow{font-size:8px;letter-spacing:.13em;margin-bottom:19px}.om-intro{font-size:14px;margin:20px 0}.om-visual{position:relative;order:2;left:auto;right:auto;top:auto;bottom:auto;min-height:250px;margin:-8px -20px 0}.om-orbit-label{left:10%;right:10%;font-size:7px}.om-orbit-top{top:0}.om-orbit-bottom{bottom:3%}.om-visual #om-field{height:100%}.om-primary{min-height:52px;padding:12px 22px}.om-dropzone{margin-top:25px}.om-device-note{font-size:10px;margin-top:18px;max-width:300px}#try-demo{margin-top:8px}.om-bottom{font-size:7px;gap:10px;min-height:56px}.om-bottom button{font-size:9px}.om-intent{margin:20px 0}.om-screen .om-filename{max-width:100%}.om-about{grid-template-columns:1fr;gap:25px;padding:40px 0}.om-about h2{font-size:30px}.om-correction{gap:8px}.om-correction em{font-size:10px}.om-result h2{font-size:38px}.om-result .om-player{margin-top:10px}.om-result .om-ab{margin-top:13px}.om-result .om-strength{margin:15px 0}.om-result-actions{gap:9px}.om-result-actions .om-primary{font-size:12px;padding:12px 17px;gap:10px}.om-secondary{font-size:10px;padding:10px 12px}.om-result .om-text-button{min-height:44px}.om-match-note{font-size:9px}.om-progress{margin-top:25px}.om-about p{font-size:12px}.om-download-note{font-size:10px}.om-screen #analysis-note{font-size:10px}.om-screen#view-processing{padding-bottom:30px}.om-result{padding-bottom:12px}}
@media(max-width:360px){.om-studio{padding:0 16px}.om-screen h1,.om-screen h2{font-size:39px}.om-steps{font-size:7px}.om-steps li{gap:4px}.om-engine-status{font-size:6px}.om-correction b{font-size:12px}}
@media(prefers-reduced-motion:reduce){.om-screen{animation:none}.om-progress.is-indeterminate .om-progress-track i{animation:none;transform:none;width:100%!important;opacity:.5}.om-primary:before{display:none}}

/* Owner's Suno v6 motion reference: luminous material, fluid depth, quiet controls. */
.otomix-page{--om-accent:#ffc5ef;--m-accent:#ffc5ef;--om-blue:#8ba5ff;--om-line:#e8d5ff15;--bg:#050409;background:#050409}
.otomix-page #topbar{background:#050409dc;border-bottom-color:#ffffff0b}
.om-ambient{background:radial-gradient(ellipse at 74% 43%,#75003a28,transparent 60%),radial-gradient(ellipse at 92% 88%,#0b21a226,transparent 53%);transition:background 1.2s}
.om-ambient:after{background-image:none}
body[data-view=processing] .om-ambient{background:radial-gradient(ellipse at 78% 42%,#4e025c38,transparent 62%),radial-gradient(ellipse at 85% 80%,#0a35ac24,transparent 50%)}
body[data-view=result] .om-ambient{background:radial-gradient(ellipse at 72% 38%,#85002320,transparent 60%),radial-gradient(ellipse at 86% 90%,#001ca635,transparent 55%)}
.om-appbar{border-bottom-color:#ffffff0c}.om-brand svg{stroke:#ffc5ef;filter:drop-shadow(0 0 8px #ff009955)}
.om-brand b{color:#ff94d9}.om-version{color:#b7aabb}.om-engine-status{font-family:Poppins,Arial,sans-serif;font-size:10px;letter-spacing:0;color:#b6abba}
.om-steps{letter-spacing:.02em}.om-steps li[aria-current]{color:#f5eaf4}.om-steps li[aria-current] span{color:#f5eaf4;border-color:#dbabce66;box-shadow:none;background:#e5b4dc13}
.om-screen h1 em,.om-screen h2 em{background-image:linear-gradient(105deg,#ffffff,#ffc8ee 56%,#ff71b8);color:#ffc8ee}
.om-eyebrow{color:#dabed8!important;letter-spacing:.12em}.om-intro{color:#bcb4c2!important}
.om-primary{background-image:linear-gradient(125deg,#fff,#f2e7f6);color:#1a1421;box-shadow:0 1px 0 #fff9 inset,0 0 0 1px #fff4,0 12px 40px #ee95d313;border-radius:11px}
.om-primary:hover:not(:disabled){box-shadow:0 1px 0 #fff9 inset,0 0 0 1px #fff7,0 14px 45px #e586d128;transform:translateY(-2px)}
.om-visual{left:40%;right:-1%;overflow:visible}
#om-material{display:block;position:absolute;inset:0;width:100%;height:100%;filter:drop-shadow(0 30px 38px #0006)}
#om-field{z-index:1}
.om-orbit-label{z-index:2;left:17%;right:12%;font-family:Poppins,Arial,sans-serif;font-size:9px;letter-spacing:.06em;border:0;text-align:center;justify-content:center;color:#c8b5cf}
.om-orbit-top{top:5%;padding:0}.om-orbit-top i{display:none}.om-orbit-bottom{bottom:4%;padding:0;font-size:8px;color:#ac9cb9;gap:18px}
body[data-view=processing] .om-orbit-bottom,body[data-view=review] .om-orbit-bottom{visibility:hidden}
.om-screen h2[tabindex="-1"]:focus{outline:none}
.om-screen{animation:om-arrive .7s cubic-bezier(.18,.9,.2,1)}
.om-screen>*{animation:om-word .65s cubic-bezier(.18,.9,.2,1) both}
.om-screen>:nth-child(2){animation-delay:.035s}.om-screen>:nth-child(3){animation-delay:.075s}.om-screen>:nth-child(4){animation-delay:.11s}.om-screen>:nth-child(5){animation-delay:.15s}
@keyframes om-arrive{from{opacity:0;transform:translateY(10px) scale(.99)}to{opacity:1;transform:none}}
@keyframes om-word{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.om-ab{position:relative;background:#1f172355;border-color:#f0d6ed26;backdrop-filter:blur(15px);border-radius:12px}
.om-ab:before{content:"";position:absolute;inset:4px auto 4px 4px;width:114px;border-radius:8px;background:linear-gradient(#61506255,#493a4a55);box-shadow:0 1px #f8ddf822 inset;transition:transform .35s cubic-bezier(.2,.9,.2,1)}
.om-ab:has(#listen-corrected[aria-pressed=true]):before{transform:translateX(118px)}
.om-ab button{position:relative;z-index:1;color:#b9aebc}
.om-ab button[aria-pressed=true]{background:none;box-shadow:none;color:#fff}
.om-play{background:linear-gradient(#392c42,#241c2e);border-color:#eccbf833;color:#ffe5f8;box-shadow:0 1px 0 #ffe8ff2b inset,0 6px 20px #0005;transition:transform .3s,box-shadow .3s}
.om-play:hover{transform:scale(1.05);box-shadow:0 1px 0 #ffe8ff2b inset,0 0 25px #c061be25}
#strength{background-image:linear-gradient(90deg,#85567b,#ffd5f1 var(--strength,65%),#ffffff14 var(--strength,65%))}
#strength::-webkit-slider-thumb{background:#ffe8f8;border-color:#543748;box-shadow:0 0 0 1px #f0b4d9}
#strength::-moz-range-thumb{background:#ffe8f8;border-color:#543748}
.om-strength output,.om-correction em{color:#ffd2f2}.om-correction{transition:opacity .25s}.om-correction:has(input:not(:checked)){opacity:.55}
.om-progress-track i{background-image:linear-gradient(90deg,#725198,#ffd0f0)}
.om-progress-meta{font-family:Poppins,Arial,sans-serif;font-size:10px}.om-bottom{border-top-color:#ffffff0c}
@media(max-width:960px){.om-visual{left:38%;right:-12%}}
@media(max-width:600px){.om-visual{left:auto;right:auto;min-height:320px;margin:0 -20px}.om-orbit-top{top:0}.om-orbit-bottom{bottom:0}.om-engine-status{font-size:7px}.om-ab:before{width:114px}.om-screen>*{animation-duration:.5s}}
@media(prefers-reduced-motion:reduce){.om-screen,.om-screen>*{animation:none!important}.om-ab:before,.om-intent label,.om-play{transition:none!important}}
/* Revision 02: tonal decisions and a measured before/after comparison. */
.om-reference{max-width:390px;margin:-7px 0 17px;position:relative}
.om-reference .om-text-button{max-width:calc(100% - 32px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;min-height:32px;padding:4px 0;color:#f3c6e8}
#remove-reference{position:absolute;right:0;top:0;background:none;color:#dbb7d4;width:32px;height:32px;font-size:21px}
.om-reference p{font-size:9px;margin:0}
#view-ready .om-intent{margin:15px 0 8px}#view-ready h2{font-size:clamp(40px,3.7vw,52px)}
.om-tone-panel{position:absolute;bottom:20px;left:10%;right:1%;z-index:3;border:1px solid #ebc5ed20;border-radius:18px;padding:17px 20px 12px;background-image:linear-gradient(120deg,#1c1027db,#110e1edf);backdrop-filter:blur(18px)}
.om-tone-header{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:10px;color:#e9ddea}
.om-tone-header b{font-weight:500}.om-tone-header span{font-size:8px;white-space:nowrap;color:#aea0b8;display:flex;align-items:center;gap:6px}
.om-tone-header i{width:10px;height:2px;background:#9490a3}.om-tone-header i:last-of-type{background:#ffc5ef;margin-left:4px}
#om-tone{width:100%;height:134px;display:block;margin-top:13px}.om-tone-panel p{font-size:8px!important;color:#b9a8c4!important;margin:6px 0 0}
body[data-view=result] #om-material{transform:translateY(-75px) scale(.74);transition:transform 1.2s cubic-bezier(.2,.8,.2,1)}
body[data-view=result] .om-orbit-bottom{display:none}
#headroom-note{font-size:9px;line-height:1.5;max-width:430px;margin:5px 0 0}
@media(max-width:600px){body[data-view=result] .om-visual{min-height:490px}body[data-view=result] #om-material{transform:translateY(-70px) scale(.7)}.om-tone-panel{left:20px;right:20px;bottom:15px;padding:14px}.om-tone-header{font-size:9px}.om-tone-header span{font-size:7px}#om-tone{height:125px}.om-reference{max-width:100%}}
@media(prefers-reduced-motion:reduce){body[data-view=result] #om-material{transition:none}}
#view-review h2{font-size:clamp(38px,4vw,56px)}
#view-review .om-correction{padding:10px 0}#view-review .om-corrections{max-height:300px;margin-top:20px}
#view-review .om-corrections::-webkit-scrollbar{width:4px}#view-review .om-corrections::-webkit-scrollbar-thumb{background:#d3a6ce66;border-radius:4px}
@media(max-width:600px){#view-review h2{font-size:38px}#view-review .om-corrections{max-height:none}}
/* Translation is part of the render; these controls audition its result. */
.om-tone-panel{pointer-events:auto}
.om-translation-report{display:flex;flex-wrap:wrap;gap:6px 14px;margin:0 0 12px;font-size:8px;color:#b8a5c0}
.om-translation-report span[data-adjusted=true]{color:#f5c5e5}
.om-monitors{display:flex;gap:4px;flex-wrap:wrap;border-bottom:1px solid #ffffff12;padding-bottom:9px;margin-bottom:3px}
.om-monitors button{background:none;border:1px solid transparent;border-radius:7px;font:inherit;font-size:10px;color:#b9a8c6;padding:7px 10px;min-height:32px;transition:background-color .25s,color .25s}
.om-monitors button[aria-pressed=true]{background-color:#eac6ea16;border-color:#eac6ea24;color:#ffe9fa}
.om-tone-panel #monitor-hint{font-size:8px!important;margin:8px 0 13px;min-height:12px}
body[data-view=result] #om-material{transform:translateY(-116px) scale(.65)}
.om-tone-panel #om-tone{height:105px;margin-top:9px}
@media(max-width:600px){body[data-view=result] .om-visual{min-height:555px}body[data-view=result] #om-material{transform:translateY(-110px) scale(.62)}.om-monitors{gap:1px}.om-monitors button{font-size:9px;padding:7px;min-height:38px}.om-translation-report{gap:6px 11px}.om-tone-panel #monitor-hint{min-height:25px}}

@media(max-width:600px){.om-preference-options{gap:5px}.om-preference-options label>span{padding:9px 7px}.om-preference-options b{font-size:10px}.om-preference-options small{font-size:7.5px}.om-preference-heading{font-size:8px}.om-preference-heading button{min-height:44px}.om-screen #preference-note{min-height:27px}.om-auto{min-height:60px}}
@media(prefers-reduced-motion:reduce){.om-auto,.om-preference-options label>span{transition:none}}
@media(min-width:961px){
 #view-ready{padding:8px 0 12px}
 #view-ready .om-eyebrow{margin-bottom:10px}
 #view-ready h2{font-size:44px;line-height:1.04}
 #view-ready .om-filename{margin:12px 0 3px}
 #view-ready #ready-meta{margin:3px 0 7px}
 #view-ready .om-intent{margin:10px 0 6px}
 #view-ready #preference-note{min-height:14px}
 #view-ready .om-preference-options label>span{min-height:80px;padding:8px 10px}
 #view-ready .om-reference{margin-bottom:10px}
 #view-ready .om-download-note{font-size:10px;line-height:1.5;max-width:440px;margin:10px 0 4px}
}
@media(min-width:961px) and (max-height:849px){body[data-view=ready] .om-studio{height:auto}body[data-view=ready] .om-viewport{min-height:620px}}
/* Revision 05: four choices, one continuous journey, one finished mix. */
#view-ready .om-intent{max-width:430px;margin:25px 0 20px}
.om-preference-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#view-ready .om-preference-options label>span,.om-preference-options .om-auto{height:103px;min-height:103px;padding:16px 18px;border-radius:14px}
.om-preference-options label>span{justify-content:space-between}
.om-preference-options b{font-size:13px;line-height:1.4}
.om-preference-options svg{height:29px;width:51px;margin:0 0 7px}
.om-preference-options input{top:14px;right:14px;width:15px;height:15px}
.om-preference-options input:checked:after{width:7px;height:4px;top:3px;left:3px}
.om-preference-options .om-auto{display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:2px;position:relative}
.om-auto>span:first-child{font-size:26px;line-height:1}.om-auto b{font-size:13px;line-height:1.35}.om-auto b br{display:none}
.om-auto i{position:absolute;right:14px;top:11px;font-size:16px}
.om-auto[aria-pressed=true]{border-color:#e0afd976;background-image:linear-gradient(125deg,#ba5d9d29,#65599524)}
.om-file-row{max-width:430px;display:flex;align-items:center;gap:8px;margin-top:20px}
#view-ready .om-file-row .om-filename{margin:0;flex:1;min-width:0;max-width:none}
.om-file-change{flex:none;border:1px solid #dfc1e533;border-radius:50%;background-color:#dfc1e508;color:#e3c5e6;font:inherit;font-size:20px;width:36px;height:36px}
#view-ready #ready-meta{margin:0 0 4px}
.om-reference{max-width:430px;display:flex;gap:8px;margin:0 0 17px!important}
#choose-reference{font-size:12px;min-height:46px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:11px 16px;color:#e6cce4;border-color:#dfc1e533}
.om-reference:has(#remove-reference:not([hidden])) #choose-reference{max-width:calc(100% - 48px)}
#remove-reference{position:static;flex:none;width:40px;height:46px;border:1px solid #dfc1e533;border-radius:10px}
#view-ready h2{font-size:clamp(44px,4vw,57px)}
#process-title{min-height:174px;font-size:clamp(42px,4.1vw,60px);line-height:1.1}
#process-message{min-height:58px;margin:17px 0 24px;max-width:420px}
.om-progress{max-width:420px}
.om-player{max-width:490px;gap:20px;margin:20px 0 0}
.om-transport{padding-top:91px}
#om-waveform,#seek{height:91px}
.om-play{width:52px;height:52px}
.om-strength{max-width:490px;margin:22px 0 20px!important}
#strength{--strength:100%;margin-top:10px;height:32px}
.om-result-actions{gap:12px}
#download-mp3{min-height:55px;font-size:12px;padding:13px 20px}
.om-new-mix{margin-top:16px;min-height:44px;font-size:12px;border-color:#dcbfdf38;padding:10px 17px}
button[aria-busy=true]{opacity:.55;cursor:wait}
body[data-view=result] #om-material{transform:none;transition:none}
body[data-view=result] .om-orbit-top{top:0}
.om-tone-panel{bottom:16px}
.om-tone-panel #om-tone{height:105px}
@media(max-width:600px){
 #view-ready .om-intent{max-width:none;margin-top:22px}
 .om-preference-options{gap:9px}
 #view-ready .om-preference-options label>span,.om-preference-options .om-auto{height:101px;min-height:101px;padding:15px}
 .om-preference-options b,.om-auto b{font-size:12px}
 .om-file-change{width:44px;height:44px}
 #process-title{font-size:41px;min-height:138px}
 #process-message{min-height:51px;margin:15px 0 20px;font-size:14px}
 .om-transport{padding-top:88px}#om-waveform,#seek{height:88px}
 .om-player{gap:13px}.om-result .om-strength{margin:20px 0!important}
 #download-mp3{font-size:11px;padding:12px 15px;min-height:52px}
 body[data-view=result] .om-visual{min-height:650px;margin-top:15px}
 body[data-view=result] #om-material{transform:none}
 body[data-view=processing] .om-visual{min-height:370px}
 .om-tone-panel{bottom:10px}
}
@media(min-width:961px) and (max-height:849px){body[data-view=ready] .om-viewport{min-height:620px}}
/* The initial gate opens only after a real model session is ready. */
body[data-view=boot] .om-visual,body[data-view=boot] .om-steps,body[data-view=boot] .om-bottom{display:none}
#view-boot{width:100%;max-width:530px;margin:0 auto;padding:45px 0 70px;text-align:center}
#view-boot .om-eyebrow{font-size:10px;margin:23px 0 18px}
#view-boot h2{font-size:clamp(40px,4.5vw,61px);line-height:1.08}
.om-boot-mark{margin:auto;width:70px;height:70px;display:grid;place-items:center;font-size:45px;color:#ffe4f7;border:1px solid #ffc5ef40;border-radius:22px;background-image:linear-gradient(145deg,#c958a631,#725dac24);box-shadow:0 0 75px #a130ba23}
.om-boot-copy{font-size:14px;line-height:1.7;color:#c3b2cb!important;max-width:440px;margin:24px auto 30px;min-height:48px}
.om-boot-progress{max-width:420px;margin:0 auto}
.om-boot-progress .om-progress-track{height:6px;border-radius:6px;overflow:hidden;background-color:#ead3ee18}
.om-boot-progress .om-progress-track i{display:block;height:100%;width:0;background-image:linear-gradient(90deg,#ae70c3,#ffe1f5);transition:width .18s linear;border-radius:6px}
.om-boot-progress.is-indeterminate .om-progress-track i{width:38%!important;animation:om-boot-scan 1.5s ease-in-out infinite}
@keyframes om-boot-scan{from{transform:translateX(-110%)}to{transform:translateX(365%)}}
.om-boot-status{display:flex;justify-content:space-between;gap:15px;font-size:10px;line-height:1.7;color:#c8b4d1;margin-top:14px;min-height:35px}
#boot-amount{font-variant-numeric:tabular-nums;white-space:nowrap;color:#efd6ed}
#boot-retry{margin:0 auto}
@media(max-width:600px){#view-boot{padding:70px 0 95px}#view-boot h2{font-size:41px}.om-boot-copy{font-size:13px}.om-boot-status{font-size:9px;gap:8px}}
@media(prefers-reduced-motion:reduce){.om-boot-progress.is-indeterminate .om-progress-track i{animation:none;transform:none;width:100%!important;opacity:.5}.om-boot-progress .om-progress-track i{transition:none}}

/* Keep the active card and the current step together on a phone screen. */
@media(min-width:961px) and (min-height:850px) and (max-height:950px){
 #view-ready h2{font-size:52px}
 #view-ready .om-intent{margin:18px 0 14px}
 #view-ready .om-preference-options label>span,#view-ready .om-preference-options .om-auto{height:90px;min-height:90px}
}
@media(max-width:600px){
 #view-processing{padding:12px 0 8px!important}
 #view-processing .om-eyebrow{margin-bottom:12px}
 #view-processing #process-title{font-size:38px;min-height:84px}
 #view-processing #process-message{font-size:13px;min-height:24px;margin:13px 0 15px}
 #view-processing .om-progress{margin-top:14px}
 #view-processing .om-processing-file{font-size:10px;margin:10px 0 0}
 #view-processing #cancel{font-size:11px;padding:7px 0}
 body[data-view=processing] .om-visual{min-height:320px}
 .om-file-change{width:44px;height:44px}
}
