/* V5 workflow surfaces. Existing single-song DSP and controls are retained. */
body.master-page[data-master-mode] .tw-steps{display:none}
body.master-page .m-v5-entry{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}
body.master-page .m-v5-entry button{padding:18px 14px;background:#f3eef8;border:1px solid #dcd1e7;border-radius:6px;text-align:left;color:#2e233b;cursor:pointer}
body.master-page .m-v5-entry b{display:block;font-size:14px;font-weight:600}
body.master-page .m-v5-entry span{display:block;font-size:11px;line-height:1.6;color:#685774;margin-top:5px}
body.master-page #m-v5{max-width:1240px;margin:30px auto 60px;color:#2d2436}
body.master-page #m-v5[hidden],body.master-page #m-v5 [hidden]{display:none!important}
body.master-page .v5-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:32px}
body.master-page .v5-kicker{font-size:10px;font-weight:600;letter-spacing:.14em;color:#78578f}
body.master-page .v5-head h2{font-size:clamp(28px,4vw,42px);font-weight:500;letter-spacing:-.04em;margin:12px 0}
body.master-page .v5-head p{font-size:13px;line-height:1.7;max-width:620px;color:#6e6279}
body.master-page .v5-workspace{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:30px;align-items:start}
body.master-page #m-v5 button{font:inherit;font-size:12px;border:1px solid #d6ccdf;border-radius:5px;background:#fff;color:#47334f;min-height:42px;padding:10px 14px;cursor:pointer}
body.master-page #m-v5 button:disabled{opacity:.5;cursor:default}
body.master-page #m-v5 button:focus-visible,body.master-page .m-v5-entry button:focus-visible{outline:2px solid #73519e;outline-offset:3px}
body.master-page #m-v5 .v5-primary{background:#d9bcee;color:#2c2035;border-color:#d9bcee;width:100%;font-weight:600;min-height:48px}
body.master-page .v5-upload{position:relative;display:flex;flex-direction:column;gap:6px;padding:24px;border:1px dashed #af9abe;border-radius:6px;background:#f6f2fa;cursor:pointer}
body.master-page .v5-upload b{font-size:17px;font-weight:500}
body.master-page .v5-upload span{font-size:11px;color:#685775}
body.master-page .v5-upload input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
body.master-page .v5-upload:focus-within{outline:2px solid #73519e;outline-offset:3px}
body.master-page .v5-upload:has(input:disabled){opacity:.6;cursor:default}
body.master-page #v5-ready-download{display:block;font-size:13px;color:#613c7d;margin:16px 0;overflow-wrap:anywhere}
body.master-page .v5-row{display:flex;align-items:center;gap:14px;padding:19px 0;border-bottom:1px solid #e1d9e8}
body.master-page .v5-number{color:#96839f;font-size:11px;font-variant-numeric:tabular-nums}
body.master-page .v5-row>div:first-of-type{flex:1;min-width:0}
body.master-page .v5-row b{font-size:13px;font-weight:500;display:block;overflow-wrap:anywhere}
body.master-page .v5-row span:not(.v5-number){display:block;font-size:11px;color:#72627d;line-height:1.6;margin-top:5px}
body.master-page .v5-row.is-done>div>span{color:#357855}
body.master-page .v5-row-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
body.master-page #m-v5 .v5-row-actions button{font-size:11px;padding:7px 10px;min-height:38px}
body.master-page #m-v5 progress{display:block;appearance:none;height:4px;width:100%;margin-top:10px;border:0;background:#eee7f4;accent-color:#8056a0}
body.master-page #m-v5 progress::-webkit-progress-bar{background:#eee7f4}
body.master-page #m-v5 progress::-webkit-progress-value{background:#8056a0}
body.master-page .v5-settings{padding:25px;background:#29222f;color:#f6effb;border-radius:7px}
body.master-page .v5-settings h3{color:#f6effb;margin:0 0 10px;font-size:18px;font-weight:500}
body.master-page .v5-settings p{font-size:11px;line-height:1.7;color:#d0c2d9;margin-bottom:19px}
body.master-page .v5-settings label{display:block;font-size:11px;color:#d7c8e1;margin-top:15px}
body.master-page .v5-settings select{width:100%;margin-top:7px;min-height:44px;padding:10px;border:1px solid #6b5977;border-radius:4px;background:#362b3f;color:#fff;font:inherit;font-size:12px}
body.master-page #v5-price{padding-top:20px;margin-top:23px;border-top:1px solid #ffffff25;color:#eadff1}
body.master-page #v5-stop{width:100%;margin-top:8px}
body.master-page #v5-exports{border-top:1px solid #ffffff25;margin-top:24px;padding-top:5px}
body.master-page #v5-all{width:100%;margin-top:12px}
body.master-page #m-v5 .v5-footnote{font-size:10px;margin:20px 0 0;color:#c5b9cc}
body.master-page #m-v5 .v5-link{background:none;color:#d7c4e6;border:0;padding-left:0;margin-top:10px}
body.master-page #v5-status{font-size:12px;line-height:1.7;margin:20px 0;color:#6c557d}
body.master-page #v5-review{padding:22px;border:1px solid #ddd2e7;border-radius:6px;margin-top:20px;background:#faf8fc}
body.master-page #v5-review h3{font-size:16px;font-weight:500;margin:0 0 18px;overflow-wrap:anywhere}
body.master-page #v5-review :is(audio,video){display:block;width:100%;max-height:440px}
body.master-page .v5-ab{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin:12px 0;padding:4px;background:#29222f;border-radius:5px}
body.master-page #m-v5 .v5-ab button{background:transparent;color:#d5c6e0;border:0}
body.master-page #m-v5 .v5-ab button[aria-pressed=true]{background:#e6d6f0;color:#35253e}
body.master-page .m-mix-check{margin:0 0 24px;color:#534460;border-top:1px solid #e3d9ea;border-bottom:1px solid #e3d9ea}
body.master-page .m-mix-check summary{cursor:pointer;font-size:12px;font-weight:500;padding:14px 0}
body.master-page .m-mix-check p{font-size:12px;line-height:1.75;color:#756480;margin:0 0 12px}
body.master-page .m-mix-tip{border-top:1px solid #e5ddeb;padding:15px 0}
body.master-page .m-mix-tip b{font-size:13px;font-weight:500;display:block;margin-bottom:6px}
body.master-page .m-mix-tip button{padding:8px 12px;background:#f1e9f7;border:1px solid #d7c8e3;border-radius:4px;color:#5f397b;font:inherit;font-size:11px;min-height:40px}
@media(max-width:850px){body.master-page .v5-workspace{display:flex;flex-direction:column;gap:22px}body.master-page .v5-main{display:contents}body.master-page .v5-upload{order:0;width:100%}body.master-page .v5-settings{order:1;width:100%}body.master-page .v5-rows{order:2;width:100%}body.master-page #v5-status{order:3}body.master-page #v5-ready-download{order:4}body.master-page #v5-review{order:5;width:100%}body.master-page .v5-settings{display:grid;grid-template-columns:1fr 1fr;gap:12px}body.master-page .v5-settings>:not(label){grid-column:1/-1}body.master-page .v5-settings label{margin:0}body.master-page .v5-head{flex-direction:column;gap:8px}}
@media(max-width:480px){body.master-page .m-v5-entry{grid-template-columns:1fr}body.master-page .v5-row{flex-wrap:wrap}body.master-page .v5-row-actions{width:100%;justify-content:flex-start;margin-left:27px}body.master-page .v5-settings{padding:20px}body.master-page .v5-upload{padding:20px}body.master-page #v5-review{padding:15px}}

body.master-page #v5-review audio{display:none}
body.master-page .v5-transport{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;margin-top:14px;background:#29222f;border-radius:5px;padding:12px}
body.master-page #m-v5 .v5-transport button{background:#3a2e45;color:#f5edf9;border-color:#72617f;min-width:48px}
body.master-page #m-v5 #v5-play{background:#ddc4ee;color:#35243e;min-width:80px}
body.master-page #v5-time{color:#e5d7ed;font-size:11px;margin-left:auto;font-variant-numeric:tabular-nums}
body.master-page #v5-seek{width:100%;accent-color:#b89cd0;height:24px}
