:root{--sv-ink:#142954;--sv-muted:#60738e;--sv-purple:#7651cb;--sv-teal:#009fa7;--sv-border:#dddff0;--sv-shadow:0 13px 35px rgba(33,40,93,.10)}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 3% 0%,#e0f9fa,transparent 28%),radial-gradient(ellipse at 96% 5%,#f5e8ff,transparent 30%),linear-gradient(#fff,#faf9ff 45%,#f7fdfe);color:var(--sv-ink);font:15px/1.55 Inter,system-ui,"Segoe UI",sans-serif}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.52;cursor:not-allowed}a{color:#6045b0}.sv-app{max-width:1510px;padding:10px clamp(12px,3.2vw,44px) 45px;margin:auto}.sv-head{min-height:66px;display:flex;align-items:center;justify-content:space-between;gap:14px}.sv-back{background:#fff;padding:9px 13px;box-shadow:0 5px 15px #354c6b13;border:1px solid #e4e3f1;border-radius:12px;text-decoration:none;font-size:13px;font-weight:750;white-space:nowrap}.sv-brand{display:flex;gap:9px;align-items:center;letter-spacing:-.04em;font-size:17px}.sv-brand em{font-style:normal;color:#7150bc}.sv-logo{display:grid;place-items:center;width:42px;height:42px;background:linear-gradient(145deg,#b577e6,#5d4bc0 55%,#11bbc2);border-radius:15px;color:#fff;font-size:23px;box-shadow:0 8px 15px #664aba4a}.sv-workspace-tag{font-size:12px;background:#eefaf7;border:1px solid #bfeae4;border-radius:50px;padding:8px 13px;color:#167b7d;font-weight:800}.sv-hero{position:relative;display:flex;justify-content:space-between;align-items:center;overflow:hidden;min-height:196px;border-radius:28px;margin:10px 0 18px;padding:28px clamp(20px,4vw,53px);background:radial-gradient(circle at 82% 40%,#fff8c6 0,transparent 24%),linear-gradient(115deg,#e5dcff,#def6fc 58%,#ffe4f6);box-shadow:0 12px 29px #343d7e17}.sv-hero h1{margin:6px 0;font-size:clamp(29px,3.35vw,49px);letter-spacing:-.055em;font-weight:900;line-height:1.07}.sv-hero h1 em{font-style:normal;color:#7651cb}.sv-hero p{margin:12px 0 0;color:#4d617e;max-width:650px}.sv-hero small{letter-spacing:.14em;font-size:11px;font-weight:900;color:#7753bc}.sv-hero-art{position:relative;min-width:210px;height:148px}.sv-hero-art span{position:absolute;display:grid;place-items:center;font-size:43px;width:92px;height:92px;border-radius:26px;border:2px solid #fffb;box-shadow:0 15px 23px #51429334,inset 0 4px 15px #fff9}.sv-hero-art span:nth-child(1){top:0;left:0;transform:rotate(-13deg);background:linear-gradient(135deg,#fff1cc,#edd4ff)}.sv-hero-art span:nth-child(2){top:13px;right:12px;transform:rotate(12deg);background:linear-gradient(135deg,#c3f7fb,#b9e2ff)}.sv-hero-art span:nth-child(3){bottom:0;left:64px;transform:rotate(-4deg);background:linear-gradient(135deg,#ffe2ef,#e2d1fa)}.sv-projectbar{padding:15px 18px;display:flex;gap:12px;align-items:end;flex-wrap:wrap;background:#fff;border:1px solid var(--sv-border);box-shadow:var(--sv-shadow);border-radius:20px;margin-bottom:18px}.sv-projectbar>div{flex:1;min-width:200px}.sv-projectbar label{display:block;color:#566581;font-size:11px;font-weight:800;margin-bottom:3px}.sv-projectbar input{width:100%;padding:8px 10px;border:1px solid #dadbea;border-radius:10px;font-weight:800;color:var(--sv-ink)}.sv-save-indicator{color:#547d78;font-size:11px;font-weight:700;align-self:center}.sv-grid{display:grid;grid-template-columns:240px minmax(0,1fr);gap:18px;align-items:start}.sv-steps{display:grid;gap:10px;position:sticky;top:10px}.sv-step{display:flex;text-align:left;gap:12px;align-items:center;min-height:74px;padding:13px 12px;border:1px solid #e1e0ef;border-radius:18px;color:#4b5d7d;background:#fffe;box-shadow:0 5px 12px #353c8610;transition:background .15s,transform .15s}.sv-step b{display:grid;place-items:center;border-radius:11px;font-size:14px;flex-shrink:0;background:#eeebfa;color:#7755c2;width:40px;height:40px}.sv-step strong{display:block;font-size:13px;color:inherit}.sv-step small{font-size:11px;color:#6e7e92}.sv-step.active{border-color:#7451cc;color:#fff;background:linear-gradient(125deg,#8c65da,#6146b2);box-shadow:0 12px 20px #7960c744}.sv-step.active b{background:#ffffff33;color:#fff}.sv-step.active small{color:#f5edff}.sv-step:hover:not(.active){background:#f5f3fe;transform:translateX(3px)}.sv-nav-note{margin-top:15px;padding:18px;background:#edf9f8;border:1px solid #c6ecea;border-radius:17px;color:#316b77}.sv-nav-note strong{font-size:13px}.sv-nav-note p{font-size:12px;margin:5px 0 0}.sv-content{min-width:0}.sv-panel{background:#fff;border:1px solid var(--sv-border);border-radius:25px;padding:clamp(18px,2.8vw,32px);box-shadow:var(--sv-shadow)}.sv-panel[hidden]{display:none}.sv-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:22px}.sv-heading small{letter-spacing:.1em;color:#7661b5;font-weight:850;font-size:11px}.sv-heading h2{font-weight:900;font-size:clamp(24px,2.4vw,31px);line-height:1.17;margin:5px 0 6px;letter-spacing:-.045em}.sv-heading p{font-size:13px;color:var(--sv-muted);margin:0}.sv-heading-icon{font-size:31px;display:grid;place-items:center;width:67px;height:67px;flex-shrink:0;border-radius:18px;background:linear-gradient(135deg,#e1e8ff,#eeecff);box-shadow:inset 2px 3px 13px #fff,0 8px 18px #51448121}.sv-message{padding:12px 15px;border:1px solid #dcd4ee;background:#f5effe;color:#5f4c9c;border-radius:13px;margin-bottom:14px;font-weight:650;font-size:12px}.sv-message.error{border-color:#f0c4c0;background:#fff3f0;color:#a43e3e}.sv-message.ok{border-color:#bce6db;background:#f0fcf8;color:#206b62}.sv-card{border-radius:17px;border:1px solid #e0e5f0;background:linear-gradient(145deg,#fafbff,#f8feff);padding:17px;margin:14px 0}.sv-card strong{color:#243662}.sv-card p{margin:5px 0}.sv-upload-card{border-style:dashed;background:linear-gradient(125deg,#f6f2ff,#e9faff)}.sv-drop{min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:3px;cursor:pointer}.sv-drop>span:first-child{font-size:31px}.sv-drop strong{font-size:16px}.sv-drop small{font-size:12px;color:#61728c}.sv-upload-button,.sv-upload-small{display:inline-flex;align-items:center;justify-content:center;margin-top:8px;background:linear-gradient(145deg,#865fd4,#6547b8);border-radius:11px;padding:10px 14px;color:#fff;font-size:12px;font-weight:800;cursor:pointer}.sv-field{display:grid;gap:7px;min-width:0;margin:14px 0}.sv-field label{color:#2f3e64;font-size:13px;font-weight:850}.sv-field textarea,.sv-field input:not([type=file]),.sv-field select,.sv-card textarea{border-radius:12px;border:1px solid #d8ddea;background:#fff;padding:11px 12px;color:var(--sv-ink);width:100%;outline:none;line-height:1.55}.sv-field textarea:focus,.sv-field input:focus,.sv-field select:focus,.sv-card textarea:focus{border-color:#9373d4;box-shadow:0 0 0 3px #e8dfff}.sv-card textarea{resize:vertical}.sv-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.sv-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:18px 0}.sv-button{padding:12px 16px;border-radius:12px;border:1px solid #d8d8e9;background:linear-gradient(#fff,#f4f4ff);color:#6350a9;font-weight:850;font-size:13px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}.sv-button.primary{background:linear-gradient(145deg,#9068dd,#6142b5);color:#fff;border-color:#7250c3;box-shadow:0 7px 13px #7053bd37}.sv-button.ghost:hover{background:#eeedfe}.sv-button.primary:hover:not(:disabled){filter:brightness(.95)}.sv-hint{color:#62748e;font-size:12px;line-height:1.5}.sv-pills{display:flex;flex-wrap:wrap;gap:9px}.sv-pills button{background:#f8f8fe;color:#5f5f8b;border:1px solid #dcdcf0;border-radius:10px;padding:10px 13px;font-size:12px;font-weight:800}.sv-pills button.selected{background:#7855c7;color:white;border-color:#7855c7}.sv-output{display:grid;place-items:center;min-height:300px;border:1px dashed #d0d9ea;background:radial-gradient(circle,#fbfdff,#f2f2fc);border-radius:16px;margin-top:18px;padding:13px;gap:12px}.sv-output img{max-width:100%;max-height:480px;border-radius:13px;box-shadow:0 9px 23px #33447c1f}.sv-empty{color:#8190aa;font-size:13px;text-align:center;padding:23px}.sv-output a{font-weight:800}.sv-scenes{display:grid;gap:12px}.sv-scene{border:1px solid #dddfea;border-radius:16px;background:linear-gradient(#fff,#fafaff);padding:14px;display:grid;grid-template-columns:112px minmax(0,1fr);gap:13px}.sv-scene-thumb{width:112px;height:112px;object-fit:cover;background:#efedf9;border-radius:13px;display:grid;place-items:center;color:#8e7eaf;font-size:27px}.sv-scene textarea{width:100%;padding:8px;border:1px solid #d8ddea;border-radius:10px;min-height:65px;resize:vertical}.sv-scene-head{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-bottom:7px}.sv-scene-head strong{color:#293b60}.sv-scene-head button{border:0;background:transparent;color:#8a4c9b;font-size:12px;font-weight:800}.sv-scene-buttons{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.sv-scene-buttons button{border:1px solid #deddeb;background:#f9f8ff;border-radius:9px;color:#5a4d9d;font-size:11px;font-weight:800;padding:7px 10px}.sv-music-bridge{display:flex;justify-content:space-between;align-items:center;gap:12px}.sv-music-bridge p{font-size:12px;color:#65738c}#sv-music-frame{width:100%;height:1120px;border:1px solid #d7dceb;border-radius:18px;background:#fff;display:block}.sv-video-preview{background:#131731;color:#d4dcef;border-radius:17px;padding:12px;overflow:hidden}.sv-video-preview canvas{width:100%;height:auto;max-height:520px;aspect-ratio:16/9;background:#1c2344;border-radius:11px;display:block}.sv-video-preview div{padding:8px;color:#c0c9eb;font-size:12px}.sv-footer{font-size:12px;color:#77829a;text-align:center;margin-top:25px}
@media(max-width:950px){.sv-grid{grid-template-columns:1fr}.sv-steps{position:static;grid-template-columns:repeat(5,1fr);gap:5px}.sv-step{display:block;min-height:72px;text-align:center;padding:9px 5px}.sv-step b{margin:auto auto 5px}.sv-step small{display:none}.sv-nav-note{display:none}.sv-hero-art{transform:scale(.8);transform-origin:right}}
@media(max-width:640px){.sv-head{flex-wrap:wrap}.sv-workspace-tag{display:none}.sv-brand{font-size:13px}.sv-hero{padding:19px}.sv-hero-art{display:none}.sv-projectbar{padding:12px}.sv-step strong{font-size:10px}.sv-step b{font-size:12px;width:29px;height:29px}.sv-two{grid-template-columns:1fr;gap:0}.sv-panel{padding:16px;border-radius:19px}.sv-heading-icon{display:none}.sv-scene{grid-template-columns:1fr}.sv-scene-thumb{width:100%;height:120px}.sv-music-bridge{display:block}#sv-music-frame{height:950px}}
.sv-quickstart{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:-1px 0 18px}
.sv-quick-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;text-align:left;min-height:124px;gap:3px;padding:15px 18px;border-radius:20px;background:linear-gradient(160deg,#fff,#f6f3ff 78%);border:1px solid #deddeb;box-shadow:0 9px 18px #46507a17;transition:transform .15s,box-shadow .15s}
.sv-quick-card:nth-child(2){background:linear-gradient(155deg,#fff,#ecfbfb)}.sv-quick-card:nth-child(3){background:linear-gradient(155deg,#fff,#fceaf6)}.sv-quick-card:nth-child(4){background:linear-gradient(155deg,#fff,#fff2df)}
.sv-quick-card>span{font-size:31px;filter:drop-shadow(0 5px 4px #49437d27)}.sv-quick-card strong{font-size:16px;color:#26375f}.sv-quick-card small{font-size:12px;color:#697b91}
.sv-quick-card:hover{transform:translateY(-4px);box-shadow:0 16px 24px #46507a26;border-color:#a58ddd}
.sv-quick-card:focus-visible{outline:3px solid #7951c7;outline-offset:3px}
@media(max-width:850px){.sv-quickstart{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.sv-quick-card{padding:12px;min-height:114px}.sv-quick-card strong{font-size:14px}.sv-quick-card small{font-size:11px}}

/* Premium Compass 3D surface */
body{background:radial-gradient(ellipse at top left,#daf8fb 0,transparent 42%),radial-gradient(ellipse at top right,#f3e1fc 0,transparent 40%),#f8f9ff}
.sv-brand em{background:linear-gradient(125deg,#7751c9,#079ca7);background-clip:text;color:transparent}
.sv-logo{box-shadow:inset 0 3px 4px #fff9,inset 0 -7px 12px #31226455,0 12px 17px #775ab05f;border:1px solid #ffffff92}
.sv-hero{min-height:255px;background:radial-gradient(circle at 84% 24%,#83dcf54a 0,transparent 32%),linear-gradient(115deg,#1c2c56,#372770 58%,#61509a);border:1px solid #cab6f384;box-shadow:inset 0 3px 2px #fff5,inset 0 -15px 25px #130c3955,0 25px 40px #323b733d;perspective:800px}
.sv-hero h1{color:white;text-shadow:0 4px 15px #15114188;font-size:clamp(32px,4.2vw,57px)}
.sv-hero h1 em{background:linear-gradient(130deg,#a9f8ff,#f7cfff);background-clip:text;color:transparent}
.sv-hero small{color:#abf3f5}.sv-hero p{color:#edebff;max-width:700px}
.sv-hero-art{min-width:245px;height:185px;perspective:900px;filter:drop-shadow(0 14px 11px #11134180)}
.sv-hero-art span{width:108px;height:108px;font-size:49px;border-radius:29px;border:2px solid #fffc;box-shadow:inset 0 4px 3px #fffc,inset 0 -14px 20px #55417c63,0 20px 20px #120c385d;transition:transform .22s ease}
.sv-hero-art span:nth-child(1){top:1px;left:3px;transform:rotate(-16deg);background:linear-gradient(145deg,#fff1fb,#e7bdf6,#b99dec)}
.sv-hero-art span:nth-child(2){top:8px;right:0;transform:rotate(17deg);background:linear-gradient(145deg,#ecffff,#a0f2f2,#5ec9cb)}
.sv-hero-art span:nth-child(3){bottom:0;left:80px;transform:rotate(-6deg);background:linear-gradient(145deg,#fff5d3,#ffd7f2,#b896dd)}
.sv-hero:hover .sv-hero-art span:nth-child(1){transform:translateY(-8px) rotate(-20deg)}
.sv-hero:hover .sv-hero-art span:nth-child(2){transform:translateY(-8px) rotate(20deg)}
.sv-hero:hover .sv-hero-art span:nth-child(3){transform:translateY(-8px) rotate(-10deg)}
.sv-projectbar{background:linear-gradient(#fff,#f9f7ff);box-shadow:inset 0 3px 2px #fff,0 14px 25px #343a7421,0 3px 0 #d2cbea}
.sv-steps,.sv-quickstart{perspective:1200px}
.sv-step{box-shadow:inset 0 2px 1px #fff,0 10px 17px #2e3e6821,0 3px 0 #ddd9ed}
.sv-step.active{background:linear-gradient(143deg,#a17cea,#7654c7 56%,#4836a2);box-shadow:inset 0 2px 2px #fff9,inset 0 -8px 13px #23196245,0 15px 25px #5c44af55,0 3px 0 #4e3896}
.sv-panel{box-shadow:inset 0 3px 2px #fff,0 21px 40px #303b761c,0 3px 0 #dcdded}
.sv-heading-icon{box-shadow:inset 0 4px 5px #fffe,inset 0 -8px 12px #65549f2c,0 11px 20px #574a8f35}
.sv-quick-card{overflow:hidden;min-height:145px;border:1px solid #fff9;border-radius:23px;box-shadow:inset 0 3px 2px #fff,inset 0 -14px 20px #55438d25,0 21px 28px #3642792c,0 5px 0 #b8a7db;transform:translateY(0) rotateX(0);transition:transform .2s ease,box-shadow .2s ease}
.sv-quick-card::before{content:"";position:absolute;top:-23px;left:-21px;width:125px;height:76px;border-radius:50%;transform:rotate(-18deg);background:linear-gradient(#fffc,#fff0);pointer-events:none}
.sv-quick-card:nth-child(1){background:linear-gradient(145deg,#fff,#f0e3ff 75%,#c9b6e8)}
.sv-quick-card:nth-child(2){background:linear-gradient(145deg,#fff,#d9f9fa 75%,#9dd9dc)}
.sv-quick-card:nth-child(3){background:linear-gradient(145deg,#fff,#ffe5f3 75%,#dfb6d8)}
.sv-quick-card:nth-child(4){background:linear-gradient(145deg,#fff,#fff0dc 75%,#e2c0a6)}
.sv-quick-card>span{font-size:44px;filter:drop-shadow(3px 8px 4px #30387955);transition:transform .2s ease}
.sv-quick-card strong{font-weight:900;font-size:17px;letter-spacing:-.03em}
.sv-quick-card:hover{transform:translateY(-8px) rotateX(5deg);box-shadow:inset 0 3px 3px #fff,inset 0 -14px 22px #66518f30,0 29px 34px #3540753d,0 6px 0 #a894d3}
.sv-quick-card:hover>span{transform:translateY(-5px) rotate(-4deg)}
.sv-quick-card:active{transform:translateY(2px);box-shadow:inset 0 7px 12px #55437c3b,0 3px 8px #34397527}
.sv-button.primary{background:linear-gradient(150deg,#b494ec,#845fcd 55%,#5233a5);box-shadow:inset 0 3px 2px #fff9,inset 0 -6px 10px #31206255,0 9px 15px #4e339050,0 3px 0 #483285}
.sv-button.ghost{box-shadow:inset 0 2px 1px #fff,0 7px 13px #30377621,0 2px 0 #d4d6e5}
.sv-video-preview{box-shadow:inset 0 5px 13px #0008,0 17px 31px #1d235b49}
@media(max-width:640px){.sv-quick-card{min-height:127px}.sv-hero{min-height:188px}}
@media(prefers-reduced-motion:reduce){.sv-quick-card,.sv-quick-card>span,.sv-hero-art span{transition:none!important;transform:none!important}}

/* Compass Studio Pro — graphite / plum / champagne-gold.
   KDP stage and filmstrip heritage, with music-platform density. */
:root{color-scheme:dark;--sv-ink:#f1eff7;--sv-muted:#ada9c0;--sv-purple:#b192ea;--sv-teal:#70c5cb;--sv-border:#383044;--sv-shadow:0 10px 26px #03020778}
html{scroll-behavior:smooth}
body{background:radial-gradient(ellipse 45% 24% at 89% 0%,#35254b 0%,transparent 80%),linear-gradient(155deg,#11101a,#11131a 45%,#121018);color:#f1eff7}
.sv-app{max-width:1770px;padding:0 clamp(12px,2vw,28px) 24px}
.sv-head{position:sticky;top:0;z-index:40;min-height:72px;margin:0 calc(-1*clamp(12px,2vw,28px));padding:10px clamp(12px,2vw,28px);background:linear-gradient(115deg,#31234e 0,#261c3c 55%,#171625 100%);border-bottom:2px solid #a684ce6b;box-shadow:0 9px 30px #08050fd9;backdrop-filter:blur(14px)}
.sv-back{background:#ffffff0e;color:#d6cae9;border:1px solid #a88bc84a;box-shadow:inset 0 1px #fff2;padding:10px 13px}
.sv-back:hover{color:#fff;background:#ffffff16}
.sv-brand{font-size:17px;line-height:1.1;gap:11px}
.sv-brand strong{display:block;white-space:nowrap;color:#fff;font-weight:850}
.sv-brand em{background:none;color:#e5d8f8}
.sv-brand small{display:block;font-size:9px;letter-spacing:.13em;margin-top:5px;color:#c3b4d9;font-weight:650}
.sv-logo{height:43px;width:43px;font-size:23px;border-radius:14px;background:linear-gradient(145deg,#a08adb 0%,#633e9a 62%,#362153 100%);box-shadow:inset 0 2px 2px #ffffff87,inset 0 -7px 15px #241335,0 5px 10px #0a0414a0;border:1px solid #e5c7ff92}
.sv-head-actions{display:flex;align-items:center;gap:12px}
.sv-workspace-tag{color:#d1c2e6;border:1px solid #6d577b;background:#ffffff0c;letter-spacing:.12em;font-size:10px;font-weight:850;white-space:nowrap}
.sv-signal,.sv-dock-led{display:inline-block;width:7px;height:7px;border-radius:50%;background:#7ec8b8;box-shadow:0 0 10px #7ec8b8}
.sv-head-export{color:#29202b!important;background:linear-gradient(180deg,#ffedbe,#e6b862 70%,#b98539)!important;border:1px solid #f8db91!important;box-shadow:inset 0 2px 2px #fff8,0 3px 0 #95692c,0 8px 16px #06040bac!important}
.sv-head-export:hover{filter:brightness(1.09)}
.sv-hero{min-height:170px;margin:20px 0 16px;padding:23px 30px;overflow:hidden;background:radial-gradient(ellipse at 77% 40%,#7447832f,transparent 35%),linear-gradient(113deg,#292137 0%,#251a36 58%,#191b30 100%);border:1px solid #76568c75;border-bottom:2px solid #bf9e6c48;border-radius:20px;box-shadow:inset 0 1px 0 #fff2,0 18px 30px #04020e92;perspective:900px}
.sv-hero:before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:radial-gradient(circle at 92% -18%,#f6d9a921,transparent 39%),radial-gradient(circle at 14% 150%,#8a55cb1a,transparent 53%)}
.sv-hero h1{color:#f4effd;letter-spacing:-.055em;font-size:clamp(30px,3.7vw,48px);text-shadow:0 2px 12px #08040d}
.sv-hero h1 em{color:#f2ce8b;background:none;-webkit-text-fill-color:#f2ce8b}
.sv-hero small{color:#c1a1de;font-size:10px}
.sv-hero p{color:#bcb3cb;font-size:14px;max-width:700px}
.sv-hero-art{width:220px;min-width:220px;height:150px;perspective:1000px;filter:none;transform:rotate(-7deg)}
.sv-hero-art .sv-orbit{display:grid;place-items:center;position:absolute;border-radius:20px;width:102px;height:104px;font-size:49px;font-weight:300;line-height:1;color:#f5eafc;border:1px solid #dabaff50;box-shadow:inset 0 1px 2px #fffa,inset 0 -12px 19px #130b2b7d,0 19px 23px #05030ead;transition:transform .22s}
.sv-orbit.orbit-one{left:0;top:4px;background:linear-gradient(145deg,#6d4e93,#312446);transform:rotate(-15deg) translateY(0)}
.sv-orbit.orbit-two{right:2px;top:2px;background:linear-gradient(145deg,#474068,#242039);transform:rotate(14deg)}
.sv-orbit.orbit-three{left:60px;top:53px;background:linear-gradient(145deg,#755377,#44263d);color:#f7dbad;transform:rotate(-4deg)}
.sv-hero-art .sv-hero-ring{position:absolute;top:-22px;right:-25px;width:185px;height:185px;border-radius:50%;border:1px solid #be8eaa23;box-shadow:0 0 50px #ae79bb14;z-index:-1}
.sv-hero:hover .sv-orbit.orbit-one{transform:rotate(-18deg) translateY(-7px)}
.sv-hero:hover .sv-orbit.orbit-two{transform:rotate(19deg) translateY(-7px)}
.sv-hero:hover .sv-orbit.orbit-three{transform:rotate(-7deg) translateY(-7px)}
.sv-quickstart{gap:12px;margin:0 0 16px;perspective:1200px}
.sv-quick-card,.sv-quick-card:nth-child(1),.sv-quick-card:nth-child(2),.sv-quick-card:nth-child(3),.sv-quick-card:nth-child(4){min-height:117px;padding:14px 16px 13px;background:linear-gradient(148deg,#282331,#1d1d28 74%,#191822);border:1px solid #54456185;border-top-color:#77648583;border-radius:16px;box-shadow:inset 0 1px 0 #ffffff12,inset 0 -9px 14px #0a0a1091,0 8px 18px #06040b9c,0 2px 0 #46374e;transform:translateY(0);transition:transform .17s ease,border-color .17s ease,box-shadow .17s ease}
.sv-quick-card::before{top:0;left:0;width:100%;height:100%;border-radius:inherit;background:radial-gradient(ellipse at 13% 3%,#d5b2ff0d,transparent 56%);transform:none}
.sv-quick-card:nth-child(2){border-top-color:#569fa874}
.sv-quick-card:nth-child(3){border-top-color:#9b698b72}
.sv-quick-card:nth-child(4){border-top-color:#c69b5878}
.sv-quick-card .sv-tool-engrave{display:grid;place-items:center;width:41px;height:39px;font:400 26px/1 "Segoe UI Symbol",system-ui,sans-serif;color:#debee8;border:1px solid #856c9b67;border-radius:12px;background:linear-gradient(155deg,#4c3b61,#2a243b);box-shadow:inset 0 1px 1px #ffffff25,0 5px 9px #07040c88}
.sv-quick-card:nth-child(2) .sv-tool-engrave{color:#a4d9df;border-color:#5a9fa77d;background:linear-gradient(#31565c,#1d333e)}
.sv-quick-card:nth-child(3) .sv-tool-engrave{color:#e3b3d4;border-color:#9b678f7a;background:linear-gradient(#57314e,#312337)}
.sv-quick-card:nth-child(4) .sv-tool-engrave{color:#f1cc87;border-color:#b0925c80;background:linear-gradient(#645035,#352b2a)}
.sv-quick-card strong{color:#f3eef7;font-size:15px;letter-spacing:-.02em;font-weight:810;margin-top:4px}
.sv-quick-card small{color:#a9a6ba;font-size:11px}
.sv-quick-card .sv-tile-arrow{position:absolute;right:17px;top:16px;color:#c6adc6;font-size:16px}
.sv-quick-card:hover{transform:translateY(-4px) rotateX(2deg);border-color:#b497db;box-shadow:inset 0 1px 0 #ffffff1f,0 15px 25px #04020bb0,0 3px 0 #4b355a}
.sv-quick-card:hover .sv-tool-engrave{transform:translateY(-1px)}
.sv-quick-card:active{transform:translateY(1px)}
.sv-projectbar{padding:12px 14px;background:linear-gradient(125deg,#211c2c,#1c1a27);border:1px solid #43374f;border-radius:14px;box-shadow:inset 0 1px #ffffff0b,0 7px 20px #04040b8f;margin-bottom:15px}
.sv-projectbar label{color:#aaa3b9}
.sv-projectbar input{background:#14141c;color:#f1edfa;border:1px solid #4c405a;font-weight:720}
.sv-save-indicator{color:#78bdb4}
.sv-grid{grid-template-columns:215px minmax(0,1fr) 256px;gap:14px}
.sv-steps{gap:7px;position:sticky;top:88px}
.sv-step{min-height:68px;background:linear-gradient(138deg,#26212f,#1b1b26);color:#b8abc9;border:1px solid #463b51;border-radius:13px;box-shadow:inset 0 1px #ffffff12,0 5px 12px #090610a1,0 2px 0 #2c2738;transform:none}
.sv-step b{color:#bd9cdd;background:#32243e;border:1px solid #635076;font-size:12px}
.sv-step strong{color:#ded2e9;font-size:12px}
.sv-step small{color:#928ca5}
.sv-step:hover:not(.active){background:#31293e;transform:translateX(2px)}
.sv-step.active{background:linear-gradient(120deg,#503667,#372747);color:#fbf2ff;border:1px solid #aa80c0;box-shadow:inset 3px 0 #ddb980,0 7px 16px #03010a,0 2px 0 #5a416b}
.sv-step.active b{background:#d8ad69;color:#291c2b;border:1px solid #f5dca9;font-weight:900}
.sv-step.active small{color:#d0b7e0}
.sv-nav-note{background:#201b2b;border:1px solid #3e3450;border-radius:13px;padding:14px;color:#c2acd8}
.sv-nav-note p{color:#9e91ae}
.sv-panel{background:linear-gradient(160deg,#221f2c,#1b1b25 55%,#1c1925);border:1px solid #483a53;border-top:2px solid #755385b0;box-shadow:inset 0 1px #ffffff10,0 15px 30px #03030c9c,0 3px 0 #34273e;border-radius:16px;padding:clamp(17px,2.2vw,29px)}
.sv-heading h2,.sv-panel h3{color:#eee8f5}
.sv-heading h2{font-size:clamp(22px,2.2vw,29px)}
.sv-heading small{color:#cca8d8}
.sv-heading p,.sv-card p{color:#aaa5ba}
.sv-heading-icon{background:linear-gradient(145deg,#49334e,#28253a);border:1px solid #9777a4a0;box-shadow:inset 0 2px #ffffff2a,inset 0 -8px 15px #120e1d,0 8px 13px #0b0617a3;font-size:25px;border-radius:14px}
.sv-message,.sv-message.ok{background:#242032;border:1px solid #4a3b63;color:#cfc1eb;border-radius:11px;font-weight:580}
.sv-message.error{background:#3a202c;border-color:#a05167;color:#ffc3cc}
.sv-card,.sv-upload-card{background:linear-gradient(132deg,#2a2635,#201f2a);border:1px solid #453e51;border-radius:13px;box-shadow:inset 0 1px #ffffff0d,0 6px 13px #07050e7d}
.sv-card strong{color:#ebdff1}
.sv-drop strong{color:#eee3f5}
.sv-drop small,.sv-hint,.sv-field small,.sv-empty{color:#a9a4b9}
.sv-drop>span:first-child{filter:grayscale(1) brightness(1.7) drop-shadow(0 4px 7px #0007)}
.sv-upload-button,.sv-upload-small{background:linear-gradient(180deg,#695280,#49365f);color:#f3eafb;box-shadow:0 3px 0 #281b36,0 8px 12px #07030da3;border:1px solid #9b80b0}
.sv-field label{color:#d7ccdf}
.sv-field textarea,.sv-field input:not([type=file]),.sv-field select,.sv-card textarea,.sv-projectbar input{background:#11121b;color:#eae4f3;border:1px solid #4c415b;box-shadow:inset 0 2px 5px #09061165}
.sv-field textarea::placeholder,.sv-field input::placeholder,.sv-card textarea::placeholder{color:#79768b}
.sv-field textarea:focus,.sv-field input:focus,.sv-field select:focus,.sv-card textarea:focus{border-color:#b390d1;box-shadow:0 0 0 3px #8461a82e}
.sv-field select option{background:#1d1a27;color:#eee6f5}
.sv-pills button,.sv-scene-buttons button{background:#282335;color:#c0b1da;border:1px solid #584867}
.sv-pills button.selected{background:#5d4073;color:#fff;border-color:#b792ce;box-shadow:inset 0 1px #fff3}
.sv-button,.sv-button.ghost{background:linear-gradient(170deg,#352a42,#272232);border:1px solid #6a527f;color:#d3c2eb;box-shadow:inset 0 1px #ffffff1c,0 4px 10px #0a0713a5,0 2px 0 #3f304d}
.sv-button.ghost:hover{background:#43334f}
.sv-button.primary{background:linear-gradient(170deg,#76518d,#51376b);border:1px solid #aa8dc7;color:#fff;box-shadow:inset 0 2px #ffffff3a,0 4px 0 #382345,0 7px 15px #0904117c}
.sv-button.primary:hover:not(:disabled){filter:brightness(1.13)}
.sv-output{background:radial-gradient(ellipse at center,#35293e,#181722);border:1px solid #493a55}
.sv-output img{box-shadow:0 12px 29px #04040b}
.sv-output a{color:#efc98f}
.sv-scenes .sv-scene{background:linear-gradient(140deg,#282232,#211e2a);border:1px solid #443850}
.sv-scene-head strong{color:#f0e7f7}
.sv-scene-head button{color:#e6c494}
.sv-scene-thumb{background:#342c40;color:#ab8dbe}
.sv-scene textarea{background:#11121b;color:#eee8f9;border:1px solid #4d405b}
.sv-music-bridge{background:linear-gradient(120deg,#302540,#24202d)}
#sv-music-frame{background:#17151f;border:1px solid #5c4768;box-shadow:0 10px 20px #05030ea3;border-radius:13px}
.sv-video-preview{background:radial-gradient(circle at center,#392349,#1b1b29 72%);border:1px solid #8962a1;box-shadow:inset 0 4px 15px #07040db8,0 12px 27px #03030b7e;border-radius:13px;padding:13px}
.sv-video-preview canvas{box-shadow:0 10px 29px #05020aa8;border:2px solid #c5a1cb60;background:#101427}
.sv-video-preview div{color:#d8bfd6}
.sv-footer{color:#82798e}
.sv-inspector{position:sticky;top:88px;max-height:calc(100vh - 104px);overflow-y:auto;border:1px solid #5b4465;border-top:2px solid #a17bb2;border-radius:16px;background:linear-gradient(165deg,#2a2131,#1f1b2a 45%,#1b1b25);box-shadow:inset 0 1px #ffffff1a,0 13px 24px #06040dab,0 3px 0 #31263a;padding:17px}
.sv-inspector-header{padding:0 0 13px;border-bottom:1px solid #ffffff14}
.sv-inspector-kicker{font-weight:850;letter-spacing:.16em;font-size:10px;color:#e1bf88}
.sv-inspector-header h2{font-size:18px;margin:6px 0 3px;letter-spacing:-.025em}
.sv-inspector-header p{font-size:11px;color:#aea2bb;margin:0;line-height:1.5}
.sv-inspector-stat{display:grid;gap:5px;margin:14px 0;padding:11px 12px;border-radius:10px;background:#151521;border:1px solid #56425d}
.sv-inspector-stat span{color:#a58fb5;letter-spacing:.11em;font-size:9px;font-weight:850}
.sv-inspector-stat strong{color:#f6eaf8;font-size:13px}
.sv-inspector-bar{display:flex;align-items:center;justify-content:space-between;margin:16px 0 9px}
.sv-inspector-bar h3{margin:0;font-size:12px;color:#e6dcef}
.sv-inspector-bar h3 span{font-size:10px;background:#4b3259;border:1px solid #916ca7;border-radius:7px;padding:3px 7px;margin-left:5px}
.sv-inspector-bar button{color:#2b2031;background:linear-gradient(#ffe5af,#d7a968);border:1px solid #ffe3ac;box-shadow:0 2px 0 #906437;border-radius:8px;padding:4px 9px;font-size:16px;font-weight:800}
.sv-inspector-filmstrip{display:grid;gap:9px;max-height:330px;overflow-y:auto;padding-right:3px}
.sv-inspector-empty{color:#aea2b9;font-size:11px;line-height:1.6;border:1px dashed #70567b;padding:18px 9px;text-align:center;border-radius:10px}
.sv-inspector-scene{display:flex;align-items:center;gap:9px;width:100%;border:1px solid #594663;border-radius:11px;background:#221d2b;color:#f2ebf7;padding:6px;text-align:left}
.sv-inspector-scene:hover{border-color:#c9a37c;background:#30263a}
.sv-inspector-scene img,.sv-inspector-scene .sv-inspector-blank{width:64px;height:48px;flex-shrink:0;object-fit:cover;border-radius:6px;background:linear-gradient(140deg,#654c74,#292335);display:grid;place-items:center;color:#edc38b}
.sv-inspector-scene span:last-child{display:grid;gap:2px;min-width:0}
.sv-inspector-scene strong{font-size:11px;color:#eee5f4}
.sv-inspector-scene small{font-size:10px;color:#a99fb7;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:115px}
.sv-inspector-tools{display:grid;gap:7px;margin-top:13px}
.sv-inspector-tools button{background:linear-gradient(#382b47,#292234);color:#d7c3e4;border:1px solid #664e77;border-radius:9px;text-align:left;padding:10px 11px;font-size:11px;font-weight:750}
.sv-inspector-tools button:hover{background:#463553;color:white}
.sv-inspector-tip{margin-top:16px;padding:12px;background:#1e1b29;border-left:2px solid #cda86d;border-radius:0 9px 9px 0}
.sv-inspector-tip span{color:#edc890;letter-spacing:.08em;font-weight:850;font-size:9px}
.sv-inspector-tip p{color:#a59aaf;font-size:11px;margin:5px 0 0}
.sv-dock{position:sticky;bottom:10px;z-index:35;display:flex;align-items:center;gap:12px;min-height:55px;padding:8px 14px;margin:17px 0 0;background:linear-gradient(160deg,#262036f5,#15151fef);border:1px solid #665078;border-bottom:2px solid #b58f5c90;border-radius:13px;backdrop-filter:blur(15px);box-shadow:0 15px 30px #030208a8}
.sv-dock-label{color:#e2d4f0;font-weight:850;font-size:12px}
.sv-dock-counter{color:#9f96b3;font-size:11px}
.sv-dock-spacer{flex:1}
.sv-dock button{border:1px solid #6e577e;background:#40314f;color:#e9ddf0;border-radius:9px;padding:9px 12px;font-size:12px;font-weight:800}
.sv-dock button:last-child{background:linear-gradient(#ffe2ab,#d5a560);color:#2c2330;border-color:#e7ca8d;box-shadow:inset 0 1px #fff8,0 3px 0 #8c602d}
@media(max-width:1250px){.sv-grid{grid-template-columns:190px minmax(0,1fr)}.sv-inspector{position:static;max-height:none;grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:12px}.sv-inspector-header{grid-column:1/-1}.sv-inspector-filmstrip{display:flex;overflow-x:auto;max-height:none;grid-column:1/-1}.sv-inspector-scene{min-width:190px;max-width:220px}.sv-inspector-tools{grid-column:1/-1;grid-template-columns:1fr 1fr}}
@media(max-width:950px){.sv-grid{grid-template-columns:1fr}.sv-steps{top:0}.sv-inspector{grid-template-columns:1fr}.sv-inspector-stat,.sv-inspector-bar,.sv-inspector-filmstrip,.sv-inspector-tools,.sv-inspector-tip{grid-column:1/-1}.sv-quickstart{grid-template-columns:repeat(4,minmax(0,1fr))}.sv-quick-card{padding:11px;min-height:116px}.sv-quick-card strong{font-size:13px}.sv-quick-card small{font-size:10px}.sv-hero-art{min-width:165px;width:165px;transform:scale(.77)}}
@media(max-width:640px){.sv-head{flex-wrap:wrap;gap:8px}.sv-brand strong{font-size:13px}.sv-workspace-tag{display:none}.sv-head-export{font-size:11px}.sv-hero{margin-top:10px;padding:18px;min-height:130px}.sv-hero h1{font-size:29px}.sv-hero-art{display:none}.sv-quickstart{grid-template-columns:repeat(2,minmax(0,1fr))}.sv-quick-card{min-height:105px}.sv-steps{grid-template-columns:repeat(5,minmax(0,1fr))}.sv-step{min-height:66px}.sv-step strong{font-size:10px}.sv-step b{height:28px;width:28px}.sv-panel{padding:15px}.sv-dock{bottom:0;margin:10px -4px 0;gap:6px;padding:6px 8px}.sv-dock button{font-size:10px;padding:8px}.sv-dock-counter{display:none}.sv-inspector{padding:14px}}
@media(prefers-reduced-motion:reduce){.sv-quick-card,.sv-orbit,.sv-step{transition:none!important}.sv-quick-card:hover,.sv-hero:hover .sv-orbit{transform:none!important}}

/* v4 — compact production console (Autunes-inspired control density, Compass KDP colour identity) */
.sv-head{min-height:58px;padding-top:7px;padding-bottom:7px}
.sv-head .sv-logo{width:34px;height:34px;border-radius:10px;font-size:18px}
.sv-brand{font-size:14px;gap:9px}
.sv-brand small{font-size:8px;margin-top:2px}
.sv-back{font-size:11px;padding:7px 9px;border-radius:8px}
.sv-head-export{padding:8px 12px!important;font-size:11px!important;border-radius:8px!important}
.sv-hero{min-height:88px;margin:10px 0 10px;padding:15px 24px;border-radius:12px;box-shadow:inset 0 1px #ffffff20,0 8px 17px #03030a75}
.sv-hero h1{font-size:clamp(21px,2.25vw,31px);margin:2px 0 3px;line-height:1.15;letter-spacing:-.035em}
.sv-hero p{font-size:12px;margin:3px 0 0}
.sv-hero small{font-size:9px;letter-spacing:.16em}
.sv-hero-art{width:115px;min-width:115px;height:75px;transform:rotate(-7deg) scale(.55);transform-origin:center;overflow:visible;margin-right:5px}
.sv-quickstart{display:flex;gap:7px;margin:0 0 10px;align-items:stretch;flex-wrap:wrap;perspective:none}
.sv-quick-card,.sv-quick-card:nth-child(1),.sv-quick-card:nth-child(2),.sv-quick-card:nth-child(3),.sv-quick-card:nth-child(4){
 display:flex;align-items:center;flex-direction:row;justify-content:flex-start;gap:8px;
 flex:0 1 auto;min-height:39px;width:auto;min-width:115px;max-width:180px;
 padding:6px 11px;border-radius:9px;
 background:linear-gradient(180deg,#282532,#1a1b25);
 box-shadow:inset 0 1px #ffffff0e,0 2px 0 #34283d,0 5px 11px #03020a7a;
 transform:none
}
.sv-quick-card::before{display:none}
.sv-quick-card .sv-tool-engrave,
.sv-quick-card:nth-child(2) .sv-tool-engrave,
.sv-quick-card:nth-child(3) .sv-tool-engrave,
.sv-quick-card:nth-child(4) .sv-tool-engrave{
 display:grid;place-items:center;flex:0 0 24px;width:24px;height:24px;
 border:0;border-radius:5px;background:transparent;box-shadow:none;
 font:500 19px/1 "Segoe UI Symbol",system-ui,sans-serif;
}
.sv-quick-card strong{font-size:12px;font-weight:760;line-height:1.2;margin:0;white-space:nowrap}
.sv-quick-card small,.sv-quick-card .sv-tile-arrow{display:none}
.sv-quick-card:hover{transform:translateY(-1px);border-color:#8b7297;box-shadow:inset 0 1px #ffffff1a,0 4px 8px #03020aad}
.sv-quick-card.is-active{border-color:#d6b079;background:linear-gradient(160deg,#49354d,#2b2435);box-shadow:inset 0 -2px #d4ae786b,inset 0 1px #fff2,0 3px 8px #08050b}
.sv-quick-card.is-active strong{color:#f4d6a0}
.sv-projectbar{padding:7px 10px;margin-bottom:10px;border-radius:9px;gap:8px}
.sv-projectbar>div{min-width:165px;max-width:360px}
.sv-projectbar label{font-size:10px}
.sv-projectbar input{padding:6px 9px;font-size:12px;min-height:30px}
.sv-save-indicator{font-size:10px}
.sv-button,.sv-button.primary,.sv-button.ghost{font-size:11px;line-height:1.3;min-height:31px;padding:7px 11px;border-radius:8px;box-shadow:inset 0 1px #ffffff19,0 2px 0 #34293e,0 4px 8px #0503089c}
.sv-upload-button,.sv-upload-small{font-size:11px;padding:7px 10px;border-radius:7px}
.sv-grid{grid-template-columns:170px minmax(0,1fr) 232px;gap:10px}
.sv-steps{gap:5px;top:67px}
.sv-step{min-height:45px;padding:7px 8px;border-radius:8px;gap:8px}
.sv-step b{width:27px;height:27px;font-size:10px;border-radius:6px}
.sv-step strong{font-size:11px}
.sv-step small{font-size:9px;line-height:1.15}
.sv-nav-note{margin-top:7px;padding:11px;border-radius:8px}
.sv-nav-note strong{font-size:11px}
.sv-nav-note p{font-size:10px}
.sv-content{min-width:0}
.sv-message{margin-bottom:9px;padding:9px 10px;border-radius:8px;font-size:11px}
.sv-panel{padding:17px;border-radius:11px}
.sv-heading{margin-bottom:13px}
.sv-heading h2{font-size:21px;margin:3px 0}
.sv-heading small{font-size:9px}
.sv-heading p{font-size:11px}
.sv-heading-icon{width:42px;height:42px;font-size:19px;border-radius:9px}
.sv-card{padding:12px;margin:10px 0;border-radius:9px}
.sv-card strong{font-size:12px}
.sv-field{gap:4px;margin:10px 0}
.sv-field label{font-size:11px}
.sv-field textarea,.sv-field input:not([type=file]),.sv-field select,.sv-card textarea{padding:8px 9px;border-radius:7px;font-size:12px}
.sv-field select,.sv-field input:not([type=file]){min-height:31px}
.sv-actions{gap:7px;margin:12px 0}
.sv-two{gap:10px}
.sv-hint{font-size:10px}
.sv-drop{min-height:107px}
.sv-drop>span:first-child{font-size:22px}
.sv-drop strong{font-size:13px}
.sv-drop small{font-size:10px}
.sv-pills{gap:5px}
.sv-pills button,.sv-scene-buttons button{font-size:10px;padding:6px 9px;border-radius:6px}
.sv-scenes{gap:8px}
.sv-scene{grid-template-columns:81px minmax(0,1fr);gap:9px;padding:10px;border-radius:9px}
.sv-scene-thumb{width:81px;height:76px;border-radius:7px}
.sv-scene textarea{min-height:55px;font-size:11px}
.sv-scene-head strong{font-size:11px}
.sv-inspector{top:67px;max-height:calc(100vh - 77px);padding:12px;border-radius:11px}
.sv-inspector-header h2{font-size:15px}
.sv-inspector-header p{font-size:10px}
.sv-inspector-stat{margin:10px 0;padding:8px}
.sv-inspector-bar{margin:11px 0 7px}
.sv-inspector-filmstrip{gap:6px}
.sv-inspector-scene img,.sv-inspector-scene .sv-inspector-blank{width:48px;height:39px}
.sv-inspector-tools{margin-top:10px}
.sv-inspector-tools button{padding:7px 9px;border-radius:6px;font-size:10px}
.sv-inspector-tip{padding:9px;margin-top:10px}
.sv-inspector-tip p{font-size:10px}
.sv-video-preview{padding:8px;border-radius:9px}
.sv-dock{bottom:5px;min-height:46px;padding:5px 10px;gap:9px;margin-top:9px;border-radius:9px}
.sv-dock button{padding:7px 9px;font-size:11px;border-radius:6px}
.sv-dock-track{display:flex;align-items:center;gap:8px;min-width:180px;max-width:50vw}
.sv-dock-track[hidden]{display:none}
#sv-dock-audio-title{font-size:10px;max-width:140px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#cbb5d8}
#sv-dock-audio{width:clamp(155px,22vw,320px);height:30px;color-scheme:dark;accent-color:#d3ac75}
.sv-footer{font-size:10px;margin-top:12px}
@media(max-width:1250px){
 .sv-grid{grid-template-columns:160px minmax(0,1fr)}
 .sv-inspector{max-height:none}
 .sv-quickstart{display:flex;grid-template-columns:none}
 .sv-quick-card{min-width:104px}
}
@media(max-width:950px){
 .sv-grid{grid-template-columns:1fr}
 .sv-steps{grid-template-columns:repeat(5,minmax(0,1fr));position:static}
 .sv-step{min-height:43px}
 .sv-inspector{position:static}
}
@media(max-width:640px){
 .sv-hero{padding:12px 14px;min-height:90px}
 .sv-hero h1{font-size:22px}
 .sv-hero p{font-size:11px}
 .sv-quickstart{display:flex;gap:5px;overflow-x:auto;flex-wrap:nowrap;padding-bottom:4px}
 .sv-quick-card,.sv-quick-card:nth-child(n){min-width:95px;max-width:none;padding:6px 8px;min-height:36px}
 .sv-quick-card strong{font-size:11px}
 .sv-quick-card .sv-tool-engrave{flex-basis:18px;width:18px;font-size:17px}
 .sv-projectbar{gap:7px}
 .sv-projectbar>div{min-width:140px}
 .sv-steps{gap:4px}
 .sv-step{padding:5px 2px;min-height:40px}
 .sv-step b{width:22px;height:22px;font-size:9px;margin-bottom:2px}
 .sv-step strong{font-size:9px}
 .sv-panel{padding:13px}
 .sv-dock{gap:5px}
 .sv-dock-track{min-width:0;max-width:45vw}
 #sv-dock-audio-title{display:none}
 #sv-dock-audio{width:125px}
 .sv-dock-label{font-size:10px}
}

/* v5 / ELITE WORKSPACE — one-screen editing on desktop, local panel scrolling.
   Do not require page scrolling to reach transport controls. */
.sv-hero{display:none!important}
.sv-app{max-width:none}
.sv-head{border-bottom:1px solid #56445a}
.sv-brand strong{letter-spacing:.005em}
.sv-brand em{color:#f4d4a5}
.sv-workspace-tag{font-size:9px;border-color:#3d604b;background:#141b1a;color:#a6d8ba}
.sv-rail-toggle{border:1px solid #4f4559;background:#211c28;color:#cfc2d9;border-radius:7px;padding:7px 11px;font:700 11px system-ui;cursor:pointer;white-space:nowrap}
.sv-rail-toggle:hover,.sv-rail-toggle:focus-visible{background:#3b3047;color:#fff;border-color:#b38cb4}
.sv-quickstart{border-bottom:1px solid #423344;padding-bottom:7px}
.sv-quick-card,.sv-quick-card:nth-child(n){border-radius:6px;min-width:100px;min-height:34px;padding:5px 10px;box-shadow:inset 0 1px #fff1,0 2px #130e18;background:#1a1923}
.sv-quick-card.is-active{border-color:#c8a77b;background:linear-gradient(100deg,#32283a,#211f2a)}
.sv-quick-card.is-active .sv-tool-engrave{color:#f4cc91}
.sv-projectbar{background:#191820;border-color:#393341;box-shadow:none}
.sv-projectbar #sv-export-project{display:none}
.sv-dock #sv-dock-save{display:none}
.sv-panel{background:linear-gradient(155deg,#1e1c25,#191a22);border-color:#443748;border-top:1px solid #795c77;box-shadow:inset 0 1px #ffffff0a,0 6px 16px #02020b95}
.sv-card{background:linear-gradient(145deg,#25222c,#1c1b25);border-color:#3e3547}
.sv-message{border:1px solid #383246;background:#24202c;color:#d0bfd6}
.sv-inspector{background:linear-gradient(170deg,#241e29,#1c1b24);border:1px solid #514058;border-top:1px solid #94728f;box-shadow:0 8px 18px #0009}
.sv-inspector-tip{background:#191a23}
.sv-inspector-tip .sv-button{display:block;margin-top:10px;width:100%;font-size:10px}
.sv-inspector-tip p{line-height:1.45}
.sv-video-preview{margin:0 0 12px;display:flex;flex-direction:column;align-items:center;background:radial-gradient(ellipse at center,#33263f 0,#13141c 72%);border-color:#5f495d}
.sv-video-preview canvas{width:auto;max-width:100%;height:auto;max-height:42dvh;aspect-ratio:auto;object-fit:contain;margin:auto}
.sv-video-preview div{align-self:stretch;text-align:left;font-size:10px;padding:4px 8px}
.sv-output{min-height:210px;max-height:40dvh;margin:0 0 12px;border-color:#655071;background:radial-gradient(ellipse at center,#34273c,#171820 75%)}
.sv-output img{max-height:32dvh}
.sv-output .sv-empty{padding:12px}
.sv-panel .sv-heading{margin-bottom:11px}
.sv-heading-icon{display:none}
.sv-dock{background:linear-gradient(120deg,#201c28,#11121a);margin-top:8px;border:1px solid #5d495f;border-bottom:2px solid #b58f5c;box-shadow:0 4px 19px #000a}
.sv-dock button{transition:background .15s}
.sv-dock button:hover{background:#4d3c55}
.sv-app .sv-preview-banner{font-size:10px!important;padding:5px 10px!important;margin:5px 0!important}
@media (min-width:981px) and (min-height:560px){
 html,body{height:100%;overflow:hidden}
 .sv-app{height:100dvh;max-height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:hidden;padding-bottom:6px}
 .sv-head{position:relative;flex-shrink:0;margin:0 calc(-1*clamp(12px,2vw,28px));min-height:51px;padding-top:5px;padding-bottom:5px}
 .sv-quickstart{flex:0 0 auto;margin:8px 0 6px;padding-bottom:7px}
 .sv-projectbar{flex:0 0 auto;margin-bottom:9px}
 .sv-grid{display:grid;flex:1 1 auto;min-height:0;overflow:hidden;gap:10px;grid-template-columns:155px minmax(0,1fr) 216px}
 .sv-steps{position:relative;top:auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
 .sv-content{min-width:0;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#755d80 #1a1824;padding:0 3px 3px 0}
 .sv-panel{min-height:100%;height:auto}
 .sv-inspector{position:relative;top:auto;grid-column:auto;display:block;min-height:0;max-height:none;height:100%;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
 .sv-inspector-filmstrip{display:grid;max-height:min(33dvh,320px);overflow-y:auto;overflow-x:hidden}
 .sv-inspector-scene{width:100%;min-width:0;max-width:none}
 .sv-inspector-tools{display:grid;grid-template-columns:1fr}
 .sv-dock{position:relative;bottom:auto;flex:0 0 auto;margin-top:8px;min-height:42px}
 .sv-footer{display:none}
 body[data-studio-mode="music"] .sv-steps,
 body[data-studio-mode="images"] .sv-steps,
 body[data-studio-mode="video"] .sv-steps{display:none}
 body[data-studio-mode="music"] .sv-inspector{display:none}
 body[data-studio-mode="music"] .sv-grid{grid-template-columns:minmax(0,1fr)}
 body[data-studio-mode="images"] .sv-grid,
 body[data-studio-mode="video"] .sv-grid{grid-template-columns:minmax(0,1fr) 216px}
 body.sv-rail-collapsed .sv-steps{display:none}
 body.sv-rail-collapsed .sv-grid{grid-template-columns:minmax(0,1fr) 216px}
 body.sv-rail-collapsed[data-studio-mode="music"] .sv-grid{grid-template-columns:minmax(0,1fr)}
 body.sv-rail-collapsed .sv-inspector{grid-column:auto}
 #sv-music-frame{height:calc(100dvh - 210px);min-height:550px}
}
@media (max-width:980px),(max-height:559px){
 html,body{height:auto;min-height:100%;overflow:auto}
 .sv-app{height:auto;max-height:none;display:block;overflow:visible}
 .sv-content{overflow:visible}
 .sv-grid{display:grid}
 .sv-rail-toggle{display:none}
 .sv-inspector{position:static;max-height:none}
 .sv-dock{position:sticky;bottom:3px;z-index:39}
 .sv-video-preview canvas{max-height:53vh}
}
@media(max-width:640px){
 .sv-quickstart{padding-bottom:5px}
 .sv-projectbar{gap:5px}
 .sv-head{min-height:47px}
 .sv-dock-track{flex:1}
 .sv-dock #sv-dock-preview{flex:0 0 auto}
}

/* v6 — Professional music-platform left rail: single-line controls, not stacked cards.
   Keep the rail visible on every creation mode; editing surfaces fill remaining height. */
@media (min-width:981px) and (min-height:560px){
 .sv-grid,body[data-studio-mode="story"] .sv-grid,body[data-studio-mode="script"] .sv-grid,body[data-studio-mode="images"] .sv-grid,body[data-studio-mode="video"] .sv-grid{grid-template-columns:184px minmax(0,1fr) 224px}
 body[data-studio-mode="music"] .sv-grid{grid-template-columns:184px minmax(0,1fr)}
 body[data-studio-mode="music"] .sv-steps,body[data-studio-mode="images"] .sv-steps,body[data-studio-mode="video"] .sv-steps{display:flex}
 body[data-studio-mode="music"] .sv-inspector{display:none}
 body.sv-rail-collapsed .sv-steps,body.sv-rail-collapsed[data-studio-mode="music"] .sv-steps{display:none}
 body.sv-rail-collapsed .sv-grid,body.sv-rail-collapsed[data-studio-mode="images"] .sv-grid,body.sv-rail-collapsed[data-studio-mode="video"] .sv-grid{grid-template-columns:minmax(0,1fr) 224px}
 body.sv-rail-collapsed[data-studio-mode="music"] .sv-grid{grid-template-columns:minmax(0,1fr)}
 .sv-steps{height:100%;min-height:0;overflow-y:auto;overflow-x:hidden;padding:13px 8px;display:flex;flex-direction:column;gap:0}
}
.sv-steps{background:linear-gradient(180deg,#13121a 0,#17151d 55%,#121218 100%);border:1px solid #302a37;border-top:1px solid #463749;border-radius:10px;box-shadow:inset 0 1px #fff1,0 10px 22px #0007}
.sv-rail-heading{display:flex;align-items:center;gap:9px;padding:8px 10px 16px;border-bottom:1px solid #2f2935;margin-bottom:14px}
.sv-rail-symbol{display:grid;place-items:center;width:30px;height:30px;flex-shrink:0;border-radius:8px;color:#ead3f2;background:linear-gradient(145deg,#705181,#32263c);border:1px solid #866e91;box-shadow:inset 0 1px #fff5,0 5px 10px #030207ad;font-size:19px}
.sv-rail-wordmark{display:grid;line-height:1.05;font-size:16px;font-weight:850;letter-spacing:-.045em;color:#f3e9f9}
.sv-rail-wordmark small{font-size:8px;color:#cba5d5;letter-spacing:.19em;margin-top:5px;font-weight:750}
.sv-rail-group{display:grid;gap:2px;margin-bottom:15px}
.sv-rail-caption{display:block;font-size:9px;letter-spacing:.14em;font-weight:900;color:#7e718c;padding:4px 9px 7px}
.sv-rail-group .sv-step{display:flex;align-items:center;gap:10px;text-align:left;width:100%;min-height:37px;max-height:45px;padding:7px 9px;margin:0;border:1px solid transparent;border-radius:7px;background:transparent;box-shadow:none;transform:none}
.sv-rail-group .sv-step b{display:grid;place-items:center;margin:0;flex:0 0 22px;width:22px;height:22px;min-width:22px;padding:0;background:transparent;border:0;border-radius:4px;box-shadow:none;color:#ab9bb9;font:500 19px/1 "Segoe UI Symbol",system-ui,sans-serif}
.sv-rail-group .sv-step span{display:block;min-width:0}
.sv-rail-group .sv-step strong{font-size:12px;line-height:1.2;white-space:nowrap;display:block;color:#b9b0c3;font-weight:700}
.sv-rail-group .sv-step small{display:none}
.sv-rail-group .sv-step:hover,.sv-rail-group .sv-step:hover:not(.active){transform:none;background:#26212d;border-color:#37303f;box-shadow:none}
.sv-rail-group .sv-step.active{background:linear-gradient(90deg,#3e313f,#27212d);border:1px solid #605063;border-left:2px solid #d9b47b;box-shadow:inset 0 1px #ffffff0a}
.sv-rail-group .sv-step.active strong{color:#f3e6ee}
.sv-rail-group .sv-step.active b{color:#eed09c}
.sv-rail-footer{margin-top:auto;padding:11px 2px 3px;border-top:1px solid #2c2732}
.sv-rail-footer .sv-rail-caption{padding:2px 7px 7px}
.sv-rail-action{display:flex;align-items:center;width:100%;gap:11px;padding:8px 9px;min-height:34px;background:transparent;border:1px solid transparent;border-radius:6px;color:#c9bdd2;text-align:left;font-size:11px;font-weight:680;cursor:pointer}
.sv-rail-action span{font-size:16px;display:grid;place-items:center;width:20px;color:#bda8c9}
.sv-rail-action:hover{background:#292432;border-color:#4f425a;color:#fff}
.sv-rail-status{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:10px;color:#c4bebd;margin-top:8px;padding:8px 5px 3px}
.sv-rail-status small{display:block;flex-basis:100%;padding-left:12px;color:#8c8095;font-size:9px}
.sv-rail-status .sv-signal{width:6px;height:6px}
.sv-rail-toggle{font-size:10px}
@media(max-width:980px),(max-height:559px){
 .sv-steps{display:flex;flex-direction:row;gap:9px;align-items:center;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;padding:7px 9px}
 .sv-rail-heading,.sv-rail-caption,.sv-rail-footer{display:none}
 .sv-rail-group{display:flex;flex:0 0 auto;gap:6px;align-items:center;margin:0}
 .sv-rail-group .sv-step{width:auto;flex:0 0 auto;min-height:34px;padding:5px 9px;gap:5px}
 .sv-rail-group .sv-step strong{font-size:10px}
 .sv-rail-group .sv-step b{font-size:16px;flex-basis:17px;width:17px;min-width:17px}
}

/* The left navigation replaces the duplicate top mode tiles. */
.sv-quickstart{display:none!important}


/* v7: Amethyst aurora and micro-sparkles — professional, premium, deliberately restrained */
:root{
 --sv-violet-light:#c9a3ff;
 --sv-glimmer:#e6bbfa;
 --sv-amethyst:#8c57cd;
 --sv-gold:#f1cb94;
}
body{
 background:
  radial-gradient(ellipse 34% 43% at 89% 1%,rgba(113,55,161,.37),transparent 83%),
  radial-gradient(ellipse 44% 34% at 2% 88%,rgba(74,37,125,.27),transparent 88%),
  #0d0b13;
}
.sv-head{
 isolation:isolate;
 background:
  radial-gradient(ellipse at 80% -44%,rgba(204,140,249,.25),transparent 52%),
  radial-gradient(ellipse at 10% 90%,rgba(101,57,158,.55),transparent 43%),
  linear-gradient(110deg,#32204b 0%,#291b3f 47%,#171423 100%);
 border-bottom-color:#b077d277;
 box-shadow:0 0 24px #8045ad2f,0 7px 23px #080510de,inset 0 1px #ffffff24;
}
.sv-head>*{position:relative;z-index:1}
.sv-head::after{
 content:"✦";
 position:absolute;right:24%;top:9px;
 width:2px;height:2px;line-height:1;font-size:8px;
 color:#eecbff;
 text-shadow:-145px 21px #f5cfb6,93px 24px #a977e5,210px 8px #c1a0fa,-330px 8px #a67cdd;
 opacity:.6;z-index:0;pointer-events:none;
 animation:sv-glisten 5.5s ease-in-out infinite alternate;
}
.sv-brand em{color:#f3ddff;text-shadow:0 0 12px #ae63e985}
.sv-logo{
 background:linear-gradient(135deg,#bc85ed 0%,#8b50be 44%,#342049 100%);
 border:1px solid #d9b8fca1;
 box-shadow:inset 0 1px #fff9,inset 0 -7px 14px #24103291,0 0 19px #a15de684,0 7px 12px #08050c;
}
.sv-steps{
 background:
  radial-gradient(ellipse at 3% 6%,#874ac328,transparent 47%),
  radial-gradient(circle at 93% 63%,#b788c50c,transparent 36%),
  linear-gradient(180deg,#1b1327,#17131e 58%,#131119);
 border-color:#62476e;
 box-shadow:inset 0 1px #ffffff19,0 0 18px #a663be16,0 8px 18px #0008;
}
.sv-rail-wordmark{color:#f9edff;text-shadow:0 0 12px #d67bf15d}
.sv-rail-heading{border-bottom-color:#67507565}
.sv-rail-caption{color:#b592d1}
.sv-rail-symbol{
 color:#fff5fb;
 background:linear-gradient(145deg,#b273e1,#66318c 66%,#301940);
 border-color:#c69bf1;
 box-shadow:inset 0 1px #ffffffa3,0 0 14px #ae60eb7a,0 4px 8px #0a0412a3;
}
.sv-rail-group .sv-step:hover:not(.active){background:#4b32612e;border-color:#604270}
.sv-rail-group .sv-step.active{
 background:linear-gradient(110deg,#59316d,#32213f 74%);
 border-color:#a074be;
 border-left:2px solid #f0c58c;
 box-shadow:inset 0 1px #ffffff26,0 0 11px #9e64cb48;
}
.sv-rail-group .sv-step.active strong{color:#fff6ff}
.sv-rail-group .sv-step.active b{color:#f7d39c;text-shadow:0 0 9px #f1ce9a8c}
.sv-rail-action:hover{background:#57356b64;border-color:#7d549b}
.sv-panel{
 position:relative;
 background:
  radial-gradient(ellipse 52% 33% at 90% -5%,rgba(127,74,179,.18),transparent 90%),
  radial-gradient(circle at 3% 95%,rgba(77,44,120,.14),transparent 70%),
  linear-gradient(148deg,#241c30 0,#1b1925 44%,#191821 100%);
 border:1px solid #684879;
 border-top:1px solid #a478b7;
 box-shadow:inset 0 1px #ffffff18,0 0 22px #8c51b423,0 10px 22px #020108a8;
}
.sv-panel::before{
 content:"✦";
 position:absolute;right:34px;top:15px;color:#eac7f5;
 font-size:10px;line-height:1;opacity:.42;
 text-shadow:-29px 19px #ab8cda,17px 45px #e8c492,-86px -4px #8e6bb6;
 pointer-events:none;animation:sv-glisten 6s ease-in-out infinite alternate;
}
.sv-inspector{
 background:
  radial-gradient(ellipse at 60% -15%,#9a5ec333,transparent 65%),
  linear-gradient(165deg,#291d35,#201929 54%,#17151f);
 border-color:#71507f;
 box-shadow:inset 0 1px #ffffff17,0 0 18px #8950ba22,0 10px 18px #030109a8;
}
.sv-inspector-kicker{color:#ebc18d;text-shadow:0 0 10px #c38ec466}
.sv-inspector-header h2{color:#faeeff}
.sv-inspector-stat{
 background:linear-gradient(135deg,#251b32,#18141f);
 border-color:#806094;
 box-shadow:inset 0 1px #ffffff13;
}
.sv-inspector-scene:hover{background:#51325f;border-color:#d0a1e4}
.sv-inspector-scene:focus-visible,.sv-rail-action:focus-visible,.sv-step:focus-visible{
 outline:2px solid #e6b2ff;outline-offset:2px;
}
.sv-projectbar{
 background:
  radial-gradient(circle at 95% -80%,#b36ed92f,transparent 49%),
  linear-gradient(120deg,#241b2e,#1a1823);
 border-color:#6d4f7e;
 box-shadow:inset 0 1px #ffffff12,0 0 14px #9c64c316;
}
.sv-field textarea:focus,.sv-field input:focus,.sv-field select:focus,.sv-card textarea:focus{
 border-color:#b47bdc;
 box-shadow:0 0 0 2px #9958c749,0 0 14px #9459cb29;
}
.sv-button.primary,.sv-head-export{
 box-shadow:inset 0 1px #fff7,0 2px 0 #553260,0 0 15px #a772d84f;
}
.sv-dock{
 background:
  radial-gradient(ellipse at 58% 0,#b96dd62e,transparent 68%),
  linear-gradient(135deg,#2b1c38,#14111d 82%);
 border-color:#77578b;
 border-bottom-color:#d9af72;
 box-shadow:inset 0 1px #ffffff21,0 0 24px #a060b52f,0 5px 19px #020109;
}
.sv-dock-led{background:#a5efcd;box-shadow:0 0 11px #75e7b9}
@keyframes sv-glisten{
 0%,27%{opacity:.22;filter:brightness(.8);transform:scale(.9)}
 54%{opacity:.72;filter:brightness(1.25);transform:scale(1.1)}
 100%{opacity:.39;filter:brightness(1.04);transform:scale(1)}
}
@media(prefers-reduced-motion:reduce){
 .sv-head::after,.sv-panel::before{animation:none!important;opacity:.4!important}
}

/* Keep the Song Studio embedded workspace inside the same visible desktop stage. */
@media(min-width:981px) and (min-height:560px){
 .sv-panel[data-panel="music"]:not([hidden]){
  height:100%;min-height:0;display:flex;flex-direction:column;overflow:hidden
 }
 .sv-panel[data-panel="music"]:not([hidden])>.sv-heading,
 .sv-panel[data-panel="music"]:not([hidden])>.sv-music-bridge{flex:0 0 auto}
 .sv-panel[data-panel="music"]:not([hidden])>#sv-music-frame{
  height:100%;min-height:0;flex:1 1 auto;border:1px solid #8254a1
 }
}


/* v10 — Filmic centrepiece, visible project imagery, and NO trapped lower controls */
.sv-stage-shell{
 position:relative;padding:8px;border:1px solid #7d598f;border-radius:13px;
 background:linear-gradient(140deg,#382340 0,#1b1826 45%,#281d32);
 box-shadow:inset 0 1px #eac9ff38,0 0 23px #a663de28,0 15px 30px #02010992;
 margin:0 0 14px;
}
.sv-stage-topline{
 display:flex;align-items:center;justify-content:space-between;gap:10px;
 padding:5px 8px 10px;font-size:9px;letter-spacing:.12em;font-weight:850;color:#d4bce6;
}
.sv-stage-topline>span:last-child{letter-spacing:.06em;font-size:9px;color:#ad98bd}
.sv-stage-light{
 display:inline-block;vertical-align:middle;width:6px;height:6px;margin-right:6px;
 background:#e6b9ef;border-radius:50%;box-shadow:0 0 9px #e8a9fc;
}
.sv-stage-shell .sv-output{
 min-height:260px;max-height:none;margin:0;border:1px solid #8d6c9b;border-radius:8px;
 background:radial-gradient(circle at 50% 25%,#554165 0,#2d273d 34%,#15151f 95%);
 box-shadow:inset 0 0 28px #04010b8f,0 6px 16px #07041083;overflow:visible;
}
.sv-stage-shell .sv-output img{
 object-fit:contain;max-width:100%;max-height:60vh;
 width:auto;box-shadow:0 7px 28px #05010caa;border-radius:5px;
}
.sv-stage-shell .sv-video-preview{
 margin:0;border:1px solid #8d6c9b;background:radial-gradient(ellipse at center,#3c304b,#13141c 82%);
 box-shadow:inset 0 0 28px #030207,0 5px 13px #0301098a;overflow:hidden;
}
.sv-stage-shell .sv-video-preview canvas{
 display:block;width:auto;max-width:100%;max-height:min(62vh,700px);height:auto;object-fit:contain;
 border:1px solid #cba6d98c;box-shadow:0 8px 23px #0100058a;
}
.sv-video-library{
 margin:12px 0;padding:12px;border-radius:11px;
 background:linear-gradient(160deg,#2b2133,#1c1b27);
 border:1px solid #624b72;box-shadow:inset 0 1px #ffffff1a;
}
.sv-video-library-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:10px}
.sv-video-library-head strong{font-size:14px;color:#f3e8ff}
.sv-video-library-head strong span{
 display:inline-block;padding:3px 7px;margin-left:5px;border:1px solid #806393;
 background:#3a2b45;border-radius:99px;color:#dabce7;font-size:10px;vertical-align:middle
}
.sv-video-library-head p{font-size:11px;color:#afa4bb;margin:4px 0}
.sv-video-library-actions{display:flex;gap:6px;flex-wrap:wrap}
.sv-video-library-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:9px}
.sv-video-library-grid>.sv-empty{grid-column:1/-1}
.sv-library-image{
 display:flex;flex-direction:column;min-width:0;overflow:hidden;
 background:#191822;border:1px solid #59466a;border-radius:9px;
 box-shadow:0 4px 10px #07050ca8
}
.sv-library-image>img{display:block;width:100%;height:110px;object-fit:cover;background:#2b2037}
.sv-library-image.is-excluded{opacity:.62}
.sv-library-info{display:grid;gap:3px;padding:7px 8px}
.sv-library-info strong{font-size:11px;color:#f1e5f8}
.sv-library-info small{font-size:10px;color:#c2b7c9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sv-library-actions{
 display:flex;flex-wrap:wrap;align-items:center;gap:4px;padding:6px 8px 8px;
 border-top:1px solid #483953;margin-top:auto
}
.sv-include-label{
 display:flex;align-items:center;gap:4px;width:100%;font-size:10px;color:#e8daef;
 cursor:pointer;padding-bottom:3px
}
.sv-include-label input{accent-color:#b188d1;width:14px;height:14px}
.sv-library-actions button{
 min-width:23px;border:1px solid #735683;background:#31233b;color:#f3dff9;
 border-radius:5px;font-size:11px;padding:4px 7px;font-weight:720
}
.sv-library-actions button:hover:not(:disabled){border-color:#d4adf0;background:#55396b}
.sv-library-actions button:last-child{margin-left:auto;padding:4px 10px;color:#f6d8ac}
.sv-library-actions button:disabled{opacity:.32}
.sv-timeline{border:1px solid #5d456d;border-radius:10px;padding:10px;margin:13px 0;background:linear-gradient(155deg,#201c29,#181621)}
.sv-timeline-heading{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-bottom:9px}
.sv-timeline-heading strong{font-size:12px;color:#ecdced}
.sv-timeline-heading>span{font-size:10px;color:#bfa6cc}
.sv-timeline-track{display:flex;gap:7px;align-items:stretch;overflow-x:auto;padding:2px 1px 8px;scrollbar-color:#805b95 #211c2b}
.sv-timeline-track .sv-empty{width:100%;font-size:11px;margin:0;padding:10px}
.sv-timeline-clip{
 position:relative;display:flex;flex-direction:column;gap:4px;min-width:98px;max-width:105px;
 flex:0 0 105px;border:1px solid #80628b;border-radius:7px;overflow:hidden;padding:0 0 6px;
 background:#302338;text-align:left;cursor:pointer;color:#eee3f8;
 box-shadow:inset 0 1px #ffffff17,0 3px 8px #03020898
}
.sv-timeline-clip img,.sv-timeline-clip .sv-timeline-blank{
 width:100%;height:55px;object-fit:cover;background:linear-gradient(145deg,#583b69,#211e2d);
 display:grid;place-items:center
}
.sv-timeline-blank{font-size:22px;color:#c6b0da}
.sv-timeline-index{position:absolute;top:4px;left:4px;background:#1e1128d9;color:#f1cb96;border-radius:4px;padding:1px 4px;font-size:9px;z-index:1}
.sv-timeline-label{display:block;padding:0 6px;font-size:10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.sv-timeline-clip:hover,.sv-timeline-clip:focus-visible{border-color:#e3c1ff;box-shadow:0 0 13px #a764ce6b}
@media(min-width:981px) and (min-height:560px){
 /* One natural page scrollbar, rather than tiny scrollable boxes with chopped-off bottoms */
 html,body{height:auto!important;min-height:100%!important;overflow-x:hidden!important;overflow-y:auto!important}
 .sv-app{
  height:auto!important;max-height:none!important;min-height:100dvh!important;
  display:block!important;overflow:visible!important;padding-bottom:92px!important
 }
 .sv-head{position:sticky!important;top:0;z-index:50}
 .sv-grid,
 body[data-studio-mode="music"] .sv-grid,
 body[data-studio-mode="images"] .sv-grid,
 body[data-studio-mode="video"] .sv-grid,
 body[data-studio-mode="story"] .sv-grid,
 body[data-studio-mode="script"] .sv-grid{
  display:grid!important;min-height:calc(100dvh - 175px)!important;height:auto!important;
  align-items:start!important;overflow:visible!important;
 }
 .sv-steps{position:sticky!important;top:64px!important;height:auto!important;max-height:calc(100dvh - 76px)!important;overflow-y:auto!important}
 .sv-content{height:auto!important;min-height:0!important;overflow:visible!important;padding-right:0}
 .sv-panel,.sv-panel[data-panel="music"]:not([hidden]){
  height:auto!important;min-height:calc(100dvh - 210px)!important;
  max-height:none!important;display:block;overflow:visible!important
 }
 .sv-panel[hidden]{display:none!important}
 .sv-inspector{position:sticky!important;top:64px!important;height:auto!important;max-height:none!important;overflow:visible!important}
 .sv-inspector-filmstrip{max-height:none!important;overflow:visible!important}
 .sv-dock{position:sticky!important;bottom:8px!important;z-index:37}
 .sv-footer{display:block}
 #sv-music-frame{height:1200px;min-height:750px;max-height:none;border-radius:9px}
 .sv-panel[data-panel="music"]:not([hidden])>#sv-music-frame{height:1200px;min-height:750px;display:block;flex:none}
 .sv-output{overflow:visible!important}
}
@media(max-width:980px),(max-height:559px){
 html,body{overflow-x:hidden;overflow-y:auto}
 .sv-app{height:auto;overflow:visible;padding-bottom:70px}
 .sv-panel{overflow:visible}
 .sv-stage-shell .sv-video-preview canvas{max-height:55vh}
 .sv-video-library-grid{grid-template-columns:repeat(auto-fill,minmax(135px,1fr))}
 .sv-inspector{overflow:visible;max-height:none}
 .sv-dock{bottom:4px}
}
@media(max-width:540px){
 .sv-stage-topline span:last-child{display:none}
 .sv-stage-shell .sv-output{min-height:210px}
 .sv-video-library-head{display:grid}
 .sv-video-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .sv-library-image>img{height:92px}
 .sv-timeline-clip{flex-basis:93px;min-width:93px}
}

/* V11 — COMPACT PRODUCTION WORKSPACE: direct controls, zero promotional height. */
html{scroll-padding-top:70px}
.sv-head{min-height:50px;padding-top:5px;padding-bottom:5px;gap:10px}
.sv-head .sv-brand{font-size:13px;flex:0 1 auto;min-width:0}
.sv-head .sv-brand small{display:none}
.sv-head .sv-logo{width:30px;height:30px;font-size:17px}
.sv-head .sv-back{width:30px;height:30px;display:grid;place-items:center;padding:0;font-size:18px;flex:0 0 auto}
.sv-head-active{display:none}
.sv-head .sv-project-inline{
 display:flex!important;align-items:center;flex:1 1 140px;min-width:115px;max-width:300px;
 width:auto;margin:0;padding:0;background:transparent!important;border:0!important;
 box-shadow:none!important
}
.sv-head .sv-project-inline>div{display:flex;align-items:center;gap:6px;min-width:90px;width:100%;max-width:none}
.sv-head .sv-project-inline label{font-size:9px;color:#a68db4;white-space:nowrap;margin:0}
.sv-head #sv-project-name{
 width:100%;min-width:90px;min-height:28px;padding:5px 8px;font-size:11px;
 border:1px solid #5d4868;border-radius:6px;background:#160f20;color:#eddef7
}
.sv-head .sv-project-inline [hidden]{display:none!important}
.sv-head-actions{gap:7px;flex:0 0 auto}
.sv-head .sv-workspace-tag{font-size:9px;padding:6px 8px}
.sv-head .sv-head-export{min-height:28px;font-size:11px!important;padding:6px 10px!important}
.sv-rail-toggle{padding:6px 9px;min-height:28px}
.sv-hero,.sv-quickstart{display:none!important}
.sv-app{padding-top:0}
.sv-grid{margin-top:8px}
.sv-message{
 position:fixed!important;right:20px;bottom:66px;top:auto;left:auto;z-index:100;
 width:min(370px,calc(100vw - 30px));max-width:none;min-height:0;
 margin:0!important;padding:11px 14px!important;border-radius:9px;
 opacity:0;visibility:hidden;transform:translateY(9px);
 pointer-events:none;transition:opacity .18s,transform .18s,visibility .18s;
 box-shadow:0 8px 25px #000a;
}
.sv-message.is-visible{opacity:1;visibility:visible;transform:translateY(0)}
.sv-panel{padding:12px 14px}
.sv-panel .sv-heading{margin-bottom:9px}
.sv-panel .sv-heading h2{font-size:17px;margin:0;font-weight:790}
.sv-panel .sv-heading p,.sv-panel .sv-heading small{display:none}
.sv-tool-layout{display:grid;grid-template-columns:300px minmax(0,1fr);align-items:start;gap:12px}
.sv-tool-controls{
 min-width:0;padding:10px;border:1px solid #5c4669;background:linear-gradient(140deg,#251e2e,#191922);
 border-radius:9px;
}
.sv-controls-kicker{
 margin:0 0 7px;font-size:9px;font-weight:860;letter-spacing:.14em;color:#d2abd9
}
.sv-tool-controls .sv-card{margin:6px 0;padding:9px}
.sv-tool-controls .sv-field{margin:7px 0}
.sv-tool-controls .sv-field label{font-size:10px}
.sv-tool-controls .sv-field textarea{min-height:60px;max-height:180px}
.sv-tool-controls .sv-two{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.sv-tool-controls .sv-two>.sv-card{min-width:0}
.sv-tool-controls .sv-two:has(.sv-card){grid-template-columns:1fr}
.sv-tool-controls .sv-actions{display:flex;flex-wrap:wrap;gap:6px;margin:7px 0}
.sv-tool-controls .sv-actions .sv-button{flex:0 1 auto}
.sv-tool-controls .sv-hint{font-size:9px;line-height:1.35}
.sv-tool-controls .sv-pills{gap:4px}
.sv-tool-controls .sv-pills button{font-size:9px;padding:5px 7px}
.sv-tool-controls .sv-upload-small{padding:6px 8px;margin-top:3px}
.sv-workstage{min-width:0;display:flex;flex-direction:column;gap:9px}
.sv-workstage>.sv-stage-shell{margin:0;flex:0 0 auto}
.sv-workstage .sv-stage-topline{padding:3px 6px 7px;font-size:8px}
.sv-workstage .sv-stage-shell .sv-output{min-height:300px}
.sv-workstage .sv-stage-shell .sv-output img{max-height:min(55vh,540px)}
.sv-workstage .sv-stage-shell .sv-video-preview canvas{max-height:min(46vh,500px)}
.sv-workstage>.sv-video-library{margin:0;padding:8px}
.sv-workstage .sv-video-library-head{margin-bottom:6px;align-items:center}
.sv-workstage .sv-video-library-head strong{font-size:11px}
.sv-workstage .sv-video-library-head p{display:none}
.sv-workstage .sv-video-library-grid{
 display:flex;flex-wrap:nowrap;align-items:stretch;overflow-x:auto;overflow-y:hidden;
 padding:4px 1px 7px;gap:7px;scrollbar-color:#8c669a #251c31
}
.sv-workstage .sv-library-image{flex:0 0 132px;width:132px}
.sv-workstage .sv-library-image>img{height:70px}
.sv-workstage .sv-library-info{padding:5px}
.sv-workstage .sv-library-info strong{font-size:10px}
.sv-workstage .sv-library-actions{padding:4px 5px 6px}
.sv-workstage .sv-library-actions button{font-size:10px;padding:3px 6px}
.sv-workstage .sv-timeline{margin:0;padding:7px}
.sv-workstage .sv-timeline-heading{margin-bottom:5px}
.sv-workstage .sv-timeline-clip{min-width:82px;max-width:90px;flex-basis:90px}
.sv-workstage .sv-timeline-clip img,.sv-workstage .sv-timeline-clip .sv-timeline-blank{height:48px}
.sv-export-help{font-size:10px;color:#bca9c8;margin:7px 0}
.sv-export-help summary{cursor:pointer;color:#e2c7f1;font-weight:700}
.sv-export-help p{margin:6px 0 0}
.sv-panel[data-panel="story"]>.sv-upload-card{margin:5px 0;padding:6px}
.sv-panel[data-panel="story"] .sv-drop{
 min-height:48px;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:8px;justify-content:flex-start;padding:3px 8px;text-align:left
}
.sv-panel[data-panel="story"] .sv-drop>span:first-child{font-size:16px}
.sv-panel[data-panel="story"] .sv-drop strong{font-size:11px}
.sv-panel[data-panel="story"] .sv-drop small{display:none}
.sv-panel[data-panel="story"] .sv-upload-button{margin:0 0 0 auto;font-size:10px}
.sv-panel[data-panel="story"] #sv-manuscript{min-height:35vh;max-height:70vh}
.sv-panel[data-panel="script"] .sv-card:first-of-type{margin:5px 0;padding:9px}
.sv-panel[data-panel="script"] #sv-script{min-height:28vh;max-height:60vh}
.sv-panel[data-panel="script"] #sv-script-instructions{min-height:45px}
.sv-panel[data-panel="music"]>.sv-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}
.sv-panel[data-panel="music"] .sv-music-to-video{margin:-5px 0 7px;float:right}
.sv-inspector{padding:11px}
.sv-inspector-tip{padding:8px}
.sv-inspector-tip p{font-size:9px}
.sv-dock{min-height:39px}
@media(min-width:1100px){
 body[data-studio-mode="music"] .sv-grid{grid-template-columns:170px minmax(0,1fr)!important}
 body[data-studio-mode="images"] .sv-grid,body[data-studio-mode="video"] .sv-grid{
  grid-template-columns:170px minmax(0,1fr)!important
 }
 body[data-studio-mode="images"] .sv-inspector,body[data-studio-mode="video"] .sv-inspector{
  display:none!important
 }
 body[data-studio-mode="story"] .sv-grid,body[data-studio-mode="script"] .sv-grid{
  grid-template-columns:170px minmax(0,1fr) 200px!important
 }
 body[data-studio-mode="music"] .sv-inspector{display:none!important}
}
@media(max-width:1320px){
 .sv-tool-layout{grid-template-columns:255px minmax(0,1fr);gap:9px}
}
@media(max-width:1099px){
 body[data-studio-mode="images"] .sv-inspector,body[data-studio-mode="video"] .sv-inspector{display:none!important}
 .sv-tool-layout{grid-template-columns:minmax(235px,.42fr) minmax(0,.58fr)}
}
@media(max-width:740px){
 .sv-head .sv-project-inline{max-width:150px;flex-basis:90px}
 .sv-head .sv-project-inline label,.sv-head .sv-workspace-tag,.sv-head .sv-brand small{display:none}
 .sv-head .sv-brand strong{font-size:11px}
 .sv-tool-layout{display:flex;flex-direction:column;gap:9px}
 .sv-tool-controls,.sv-workstage{width:100%}
 .sv-tool-controls .sv-two:has(.sv-card){grid-template-columns:1fr}
 .sv-workstage .sv-stage-shell .sv-output{min-height:220px}
 .sv-workstage .sv-stage-shell .sv-video-preview canvas{max-height:48vh}
}
@media(prefers-reduced-motion:reduce){
 .sv-message{transition:none!important}
}

/* v12: Original Compass Celestial Studio — inspired by pro DAW transports and media-first timelines.
   Content-height panels; 3D amethyst foil, sparse animated stars, integrated control deck. */
:root{--cs-foil:#d9b3ff;--cs-brass:#e8bb7b;--cs-moon:#9b5cce;--cs-matte:#15121e}
.sv-app{padding-bottom:14px!important}
.sv-production-shell{
 position:relative;isolation:isolate;width:100%;padding:9px 9px 7px;
 background:
 radial-gradient(ellipse 49% 55% at 81% -30%,rgba(156,92,205,.22),transparent 84%),
 radial-gradient(ellipse 30% 41% at 1% 106%,rgba(100,58,144,.25),transparent 85%),
 linear-gradient(130deg,#291d36 0%,#1b1627 42%,#17131f 100%);
 border:1px solid #9366a6;border-top:1px solid #c194cc;border-bottom:2px solid #765288;
 border-radius:15px;
 box-shadow:inset 0 1px 0 #ffffff35,inset 0 -3px 11px #100a1b8c,
 0 15px 38px #04020ba8,0 0 28px #ba6bf329;
 margin:8px 0 0;
}
.sv-production-shell::before{
 content:"";position:absolute;left:16px;right:16px;top:0;height:2px;z-index:0;
 background:linear-gradient(90deg,transparent,#bf85e3 16%,#ffe0a7 47%,#be83e1 78%,transparent);
 filter:blur(.5px);opacity:.63;pointer-events:none
}
.sv-production-shell::after{
 content:"";position:absolute;right:3%;top:5%;width:min(380px,40%);height:240px;
 z-index:0;background:radial-gradient(ellipse,#aa72d71f,transparent 75%);
 pointer-events:none;filter:blur(18px)
}
.sv-production-shell>.sv-grid,.sv-production-shell>.sv-dock{position:relative;z-index:2}
.sv-production-sheen{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:1;border-radius:15px}
.sv-production-sheen span{
 position:absolute;display:block;font-family:Georgia,serif;font-style:normal;font-size:13px;
 width:20px;height:20px;color:#dfaff4;text-shadow:0 0 7px #c37bf8,0 0 18px #a354d5;
 animation:cs-star-breathe 5.7s ease-in-out infinite alternate;opacity:.2;
}
.sv-production-sheen span:nth-child(1){left:20%;top:10%;font-size:8px;animation-delay:-2s}
.sv-production-sheen span:nth-child(2){left:55%;top:2%;font-size:10px;color:#f3d49a;animation-delay:-3.8s}
.sv-production-sheen span:nth-child(3){left:94%;top:11%;font-size:8px;animation-delay:-1s}
.sv-production-sheen span:nth-child(4){left:44%;top:72%;font-size:7px;color:#ecc8ae;animation-delay:-4s}
.sv-production-sheen span:nth-child(5){left:87%;top:86%;font-size:11px;animation-delay:-1.5s}
.sv-production-sheen span:nth-child(6){left:29%;top:90%;font-size:8px;color:#efca91;animation-delay:-3s}
@keyframes cs-star-breathe{
 0%,12%{opacity:.14;transform:scale(.68) rotate(-12deg);filter:brightness(.8)}
 38%{opacity:.85;transform:scale(1.17) rotate(8deg);filter:brightness(1.18)}
 65%{opacity:.38;transform:scale(.9) rotate(-4deg)}
 100%{opacity:.68;transform:scale(1.03) rotate(4deg)}
}
.sv-production-shell .sv-grid,
body[data-studio-mode="music"] .sv-production-shell .sv-grid,
body[data-studio-mode="story"] .sv-production-shell .sv-grid,
body[data-studio-mode="script"] .sv-production-shell .sv-grid,
body[data-studio-mode="images"] .sv-production-shell .sv-grid,
body[data-studio-mode="video"] .sv-production-shell .sv-grid{
 margin:0!important;min-height:0!important;height:auto!important;
 align-items:start!important;overflow:visible!important;
}
.sv-production-shell .sv-content{min-height:0!important;height:auto!important;overflow:visible!important}
.sv-production-shell .sv-panel,.sv-production-shell .sv-panel[data-panel="music"]:not([hidden]){
 height:auto!important;max-height:none!important;min-height:0!important;
 background:linear-gradient(159deg,#231b2f 0,#1a1924 60%,#18161f 100%);
 border:1px solid #6b4b7e;border-top:1px solid #9364a7;
 box-shadow:inset 0 1px #ffffff15,0 6px 17px #03020787,0 0 12px #af77d019;
 overflow:visible!important;padding:11px 12px!important;
}
.sv-production-shell .sv-panel[hidden]{display:none!important}
.sv-production-shell .sv-panel::before{opacity:.25}
.sv-production-shell .sv-steps,.sv-production-shell .sv-inspector{
 border-color:#76518a;background:linear-gradient(159deg,#24192f,#15141d 90%);
 box-shadow:inset 0 1px #ffffff1b,0 3px 13px #03010a9c,0 0 10px #a45ed11c;
}
.sv-production-shell .sv-steps{top:62px!important}
.sv-production-shell .sv-inspector{top:62px!important;max-height:none!important;height:auto!important;min-height:0!important}
.sv-production-shell .sv-inspector-tip{margin-top:10px}
.sv-production-shell .sv-stage-shell{
 perspective:1000px;transform:translateZ(0);
 border:1px solid #ad77c3;
 background:linear-gradient(148deg,#3d2a4e,#221a32 60%,#2c2040);
 box-shadow:inset 0 2px #ffffff39,inset 0 -6px 15px #0e0a168f,0 6px 18px #080413a6,0 0 18px #a465d348;
}
.sv-production-shell .sv-stage-shell::after{
 content:"";position:absolute;left:10%;right:10%;top:-1px;height:1px;pointer-events:none;
 background:linear-gradient(90deg,transparent,#e6baef,transparent);
}
.sv-production-shell .sv-tool-controls{
 background:linear-gradient(148deg,#302139,#1b1825 80%);
 border-color:#674577;box-shadow:inset 0 1px #ffffff23,0 5px 13px #0302088c
}
.sv-production-shell .sv-field input:focus,.sv-production-shell .sv-field textarea:focus,.sv-production-shell .sv-field select:focus{box-shadow:0 0 0 2px #aa7ec24f,0 0 12px #a86acd36}
.sv-production-shell .sv-workstage .sv-video-library-grid{max-height:none}
.sv-production-shell .sv-dock.sv-transport{
 position:sticky!important;bottom:5px!important;z-index:29;
 margin:8px 0 0!important;min-height:45px;
 border:1px solid #a16eb4;border-bottom:2px solid #c39a62;
 border-radius:9px;
 background:radial-gradient(ellipse at 42% -65%,#a35fcb45,transparent 76%),
 linear-gradient(140deg,#33213e,#16131e);
 box-shadow:inset 0 1px #ffffff31,inset 0 -2px 6px #08040caa,0 5px 16px #040109a8,0 0 17px #aa63d03b;
}
.sv-transport-icon{font-size:17px;line-height:1;color:#f0d1f6;text-shadow:0 0 9px #cf8ef1}
.sv-production-shell .sv-dock-label{font-weight:850;color:#f1e5fb}
.sv-production-shell .sv-dock button{border-radius:7px;box-shadow:inset 0 1px #ffffff32,0 2px 0 #34213e}
.sv-production-shell .sv-footer{display:none!important}
.sv-footer{display:none!important}
/* Fix inherited fixed 1200px iframe and the empty music floor on all viewport sizes. */
.sv-production-shell .sv-panel[data-panel="music"] #sv-music-frame,
.sv-production-shell .sv-panel[data-panel="music"]:not([hidden])>#sv-music-frame{
 height:auto;min-height:0!important;max-height:none!important;
 display:block;width:100%;border:1px solid #7c5690;
 border-radius:10px;box-shadow:0 6px 20px #05030f70;
}
.sv-production-shell .sv-panel[data-panel="music"]>.sv-heading{margin:0 0 5px}
.sv-production-shell .sv-panel[data-panel="music"] .sv-music-to-video{float:none;margin:0 0 7px;padding:6px 9px}
@media (min-width:981px) and (min-height:560px){
 .sv-production-shell .sv-panel[data-panel="music"]:not([hidden]){display:block!important}
 .sv-production-shell .sv-panel[data-panel="music"] #sv-music-frame{flex:none!important}
 .sv-production-shell .sv-grid{min-height:0!important}
}
@media (max-width:980px),(max-height:559px){
 .sv-production-shell{padding:6px;margin-top:5px}
 .sv-production-shell .sv-grid{min-height:0!important}
 .sv-production-shell .sv-dock.sv-transport{bottom:3px!important}
}
@media(prefers-reduced-motion:reduce){
 .sv-production-sheen span{animation:none!important;opacity:.35!important;transform:none!important}
}

/* v13 · Compass Prism — original, mode-reactive celestial stage
   Visual language: sculpted black amethyst, optical light, gold detail, restrained starlight. */
body{--prism-color:#bf85eb;--prism-light:#dca9ff;--prism-halo:rgba(178,94,236,.29)}
body[data-studio-mode="music"]{--prism-color:#d394ff;--prism-light:#f2c5ff;--prism-halo:rgba(183,95,232,.37)}
body[data-studio-mode="images"]{--prism-color:#9cbcf3;--prism-light:#c9ddff;--prism-halo:rgba(123,142,234,.29)}
body[data-studio-mode="video"]{--prism-color:#dfb47d;--prism-light:#f5d9a5;--prism-halo:rgba(203,139,101,.22)}
body[data-studio-mode="script"],body[data-studio-mode="story"]{--prism-color:#bca1df;--prism-light:#e0d2ff;--prism-halo:rgba(159,124,201,.25)}
.sv-sparkle-toggle{
 display:flex;align-items:center;gap:4px;min-height:28px;padding:5px 8px;
 background:linear-gradient(140deg,#5f3978,#342342);border:1px solid #b889d2;
 border-radius:7px;color:#f7daff;box-shadow:inset 0 1px #ffffff68,0 2px 0 #261631,0 0 10px #ac6cda56;
 font-size:14px;line-height:1;cursor:pointer;transition:filter .16s,transform .16s;
}
.sv-sparkle-toggle>span{font-size:9px;font-weight:900;letter-spacing:.04em}
.sv-sparkle-toggle:hover{filter:brightness(1.16);transform:translateY(-1px)}
.sv-sparkle-toggle:focus-visible{outline:2px solid #eac4f9;outline-offset:2px}
.sv-sparkle-toggle[aria-pressed="false"]{background:#211c29;border-color:#675574;color:#a695b1;box-shadow:none}
.sv-production-sheen::before,.sv-production-sheen::after{
 content:"";position:absolute;inset:0;pointer-events:none;opacity:.58;
 background-image:
 radial-gradient(circle at 5% 18%,#f4d5ff 0 1px,transparent 2px),
 radial-gradient(circle at 24% 37%,#d7a3fb 0 .8px,transparent 2px),
 radial-gradient(circle at 68% 10%,#f6dcab 0 1px,transparent 2px),
 radial-gradient(circle at 91% 49%,#efc5f8 0 .9px,transparent 2px),
 radial-gradient(circle at 61% 80%,#caa3f1 0 1px,transparent 2px),
 radial-gradient(circle at 13% 92%,#f2d3ba 0 1px,transparent 2px);
 animation:cs-prism-drift 21s ease-in-out infinite alternate;
}
.sv-production-sheen::after{opacity:.35;transform:scaleX(-1) scaleY(-1);animation-delay:-9s;animation-duration:26s}
@keyframes cs-prism-drift{
 from{opacity:.23;filter:brightness(.84);translate:0 0}
 50%{opacity:.7;filter:brightness(1.45);translate:0 -5px}
 to{opacity:.4;filter:brightness(1.05);translate:3px 2px}
}
.sv-production-shell .sv-panel.active{transition:border-color .25s,box-shadow .25s;border-top-color:var(--prism-color)!important;box-shadow:inset 0 1px #ffffff25,0 6px 17px #03020787,0 0 19px var(--prism-halo)}
.sv-production-shell .sv-panel.active::after{
 content:"";position:absolute;right:15px;top:0;width:27%;max-width:260px;height:1px;
 pointer-events:none;background:linear-gradient(90deg,transparent,var(--prism-light),transparent);
 box-shadow:0 0 12px var(--prism-color);opacity:.72
}
.sv-production-shell .sv-stage-shell{
 position:relative;transform-style:preserve-3d;
 border-color:var(--prism-color)!important;
 box-shadow:inset 0 2px #ffffff32,inset 0 -6px 15px #0e0a168f,0 8px 24px #080413bf,0 0 24px var(--prism-halo)!important;
 transition:border-color .24s,box-shadow .24s
}
.sv-production-shell .sv-workstage .sv-stage-shell .sv-stage-topline{color:var(--prism-light)}
.sv-production-shell .sv-stage-light{background:var(--prism-color);box-shadow:0 0 11px var(--prism-color)}
.sv-production-shell .sv-rail-group .sv-step.active{
 border-left-color:var(--prism-light)!important;
 box-shadow:inset 0 1px #ffffff27,0 0 16px var(--prism-halo)!important
}
.sv-production-shell .sv-rail-group .sv-step.active b{color:var(--prism-light)!important}
.sv-production-shell .sv-timeline-clip:hover{border-color:var(--prism-color);transform:translateY(-2px);box-shadow:0 0 14px var(--prism-halo)}
.sv-production-shell .sv-library-image:hover{border-color:var(--prism-color);box-shadow:0 0 12px var(--prism-halo)}
.sv-production-shell .sv-tool-controls:focus-within{border-color:var(--prism-color);box-shadow:inset 0 1px #ffffff20,0 0 14px var(--prism-halo)}
.sv-production-shell .sv-transport::before{
 content:"";position:absolute;top:-1px;left:12%;width:50%;max-width:330px;height:1px;
 background:linear-gradient(90deg,transparent,#f1d4ff,var(--prism-light),transparent);
 box-shadow:0 0 14px var(--prism-color);pointer-events:none
}
body.sv-sparkles-off .sv-production-sheen,body.sv-sparkles-off .sv-production-sheen span,
body.sv-sparkles-off .sv-production-sheen::before,body.sv-sparkles-off .sv-production-sheen::after,
body.sv-sparkles-off .sv-head::after,body.sv-sparkles-off .sv-panel::before{animation:none!important;opacity:0!important}
body.sv-sparkles-off .sv-production-shell::after{opacity:0}
@media(max-width:740px){.sv-sparkle-toggle{padding:6px;min-width:27px}.sv-sparkle-toggle>span{display:none}}
@media(prefers-reduced-motion:reduce){
 .sv-production-sheen::before,.sv-production-sheen::after{animation:none!important;opacity:.14!important;translate:0!important}
 .sv-production-shell .sv-stage-shell,.sv-production-shell .sv-timeline-clip,.sv-sparkle-toggle{transition:none!important;transform:none!important}
}

/* Compact image quantity control and generated-image selection; existing layout unchanged. */
.sv-count-pills{gap:8px}
.sv-count-pills button{width:43px;height:40px;padding:0;display:grid;place-items:center}
.sv-image-gallery{width:100%;display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:13px;align-items:start}
.sv-image-gallery[hidden]{display:none!important}
.sv-image-option{min-width:0;border:2px solid #d9dcef;border-radius:13px;padding:9px;background:rgba(255,255,255,.95);display:grid;gap:8px;box-shadow:0 8px 20px #33447c16}
.sv-image-option.is-selected{border-color:#7855c7}
.sv-image-option img{width:100%;height:auto;aspect-ratio:1 / 1;object-fit:contain;background:#f5f4fb;max-height:260px;border-radius:9px}
.sv-image-option-actions{display:flex;gap:7px;flex-wrap:wrap;align-items:center}
.sv-image-option-actions button,.sv-image-option-actions a{padding:9px 11px;border-radius:9px;font-size:12px;font-weight:800;color:#354276;background:#eeebfb;text-decoration:none;border:1px solid #d7d4ec}
.sv-image-option-actions button{cursor:pointer}
.sv-image-option-actions button[aria-pressed="true"]{background:#7855c7;color:white;border-color:#7855c7}
.sv-image-price{font-size:11px;color:#60738e;font-weight:700}

/* Neat, single-row 1-5 generation chooser. */
#sv-image-count.sv-count-pills{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:8px!important;align-items:center!important;justify-content:start!important;flex-wrap:nowrap!important;width:min(100%,300px)!important;max-width:300px;margin:6px 0 5px}
#sv-image-count.sv-count-pills button{display:grid!important;place-items:center!important;min-width:0!important;width:100%!important;height:40px!important;margin:0!important;padding:0!important;border-radius:10px}
#sv-image-cost-estimate{display:block;margin-top:5px;line-height:1.45}

/* Image Studio v20: adaptive aspect-ratio stage, independent gallery and live progress */
body[data-studio-mode="images"] .sv-workstage{min-width:0}
body[data-studio-mode="images"] .sv-stage-shell{display:flex;flex-direction:column;align-items:center}
body[data-studio-mode="images"] .sv-stage-topline{width:100%}
body[data-studio-mode="images"] .sv-stage-shell .sv-image-sized-preview{
 position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;
 box-sizing:border-box;min-height:0!important;max-height:none!important;
 width:min(100%,var(--sv-stage-width,650px))!important;
 aspect-ratio:var(--sv-stage-ratio,16 / 9)!important;
 height:auto!important;padding:0!important;gap:0!important;
 overflow:hidden!important;border:1px solid #875abe;border-radius:14px;
 background:#1b1b29;
 box-shadow:0 7px 20px #0805117d,inset 0 0 30px #120e25;
 margin:0 auto;
}
body[data-studio-mode="images"] .sv-image-sized-preview.sv-checker,
body[data-studio-mode="images"] .sv-image-option.sv-checker .sv-gallery-visual{
 background-color:#f0edf8;
 background-image:linear-gradient(45deg,#d6cfe1 25%,transparent 25%),linear-gradient(-45deg,#d6cfe1 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#d6cfe1 75%),linear-gradient(-45deg,transparent 75%,#d6cfe1 75%);
 background-size:24px 24px;background-position:0 0,0 12px,12px -12px,-12px 0;
}
body[data-studio-mode="images"] .sv-image-sized-preview>img{
 width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;
 object-fit:contain!important;box-shadow:none!important;border-radius:0!important;
 display:block!important;position:absolute;inset:0;
}
body[data-studio-mode="images"] .sv-image-sized-preview>img[hidden],
body[data-studio-mode="images"] .sv-image-sized-preview>a[hidden],
body[data-studio-mode="images"] .sv-generation-progress[hidden],
body[data-studio-mode="images"] .sv-image-results[hidden]{display:none!important}
body[data-studio-mode="images"] .sv-image-sized-preview>.sv-empty{background:#1517265c;color:#b7a7d1;border-radius:10px;z-index:1}
body[data-studio-mode="images"] .sv-image-sized-preview>.sv-empty[hidden]{display:none!important}
body[data-studio-mode="images"] .sv-image-sized-preview>a{position:absolute;bottom:7px;right:7px;z-index:2;background:#251a38e8;color:#f6e8ff;border-radius:8px;padding:7px 11px;text-decoration:none}
body[data-studio-mode="images"] .sv-generation-progress{
 position:absolute;inset:0;z-index:5;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;
 background:linear-gradient(130deg,#150f24ed,#201631f5 48%,#111f32ed);color:#fcf5ff;text-align:center;
 padding:20px;isolation:isolate;overflow:hidden;
}
body[data-studio-mode="images"] .sv-generation-progress:before{content:"";position:absolute;inset:-40%;z-index:-1;background:conic-gradient(from 0deg,transparent,#b34dea45,transparent,#28e2ea44,transparent);animation:sv-progress-glow 6s linear infinite}
.sv-generation-orb{position:relative;display:grid;place-items:center;width:96px;height:96px;flex:0 0 96px}
.sv-generation-orb span{position:absolute;border-radius:50%;border:2px solid #b779eaaa;box-shadow:0 0 24px #ab5eff75;width:76px;height:76px;animation:sv-progress-orbit 2.1s ease-in-out infinite}
.sv-generation-orb span:nth-child(2){width:52px;height:52px;border-color:#65f4f2;animation-delay:-.7s}
.sv-generation-orb span:nth-child(3){width:25px;height:25px;background:radial-gradient(circle,#fff8fa,#bb88ef 55%,#6138a0);border:0;animation-delay:-1.3s}
.sv-generation-progress strong{font-size:clamp(14px,2vw,21px);letter-spacing:.01em}
.sv-generation-progress>span{font-size:13px;color:#e5cffa}
.sv-generation-progress>small{color:#bdb4d7;font-size:11px}
.sv-generation-meter{width:min(78%,320px);height:8px;background:#04060f8f;border:1px solid #8862ae80;border-radius:20px;overflow:hidden}
.sv-generation-meter span{display:block;width:0;height:100%;background:linear-gradient(90deg,#56edf4,#9b5be8);transition:width .25s ease;border-radius:20px;position:relative}
.sv-generation-meter span:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,#fff8,transparent);animation:sv-progress-sheen 1.3s ease-in-out infinite}
@keyframes sv-progress-glow{to{transform:rotate(360deg)}}
@keyframes sv-progress-orbit{0%,100%{transform:scale(.76);opacity:.6}50%{transform:scale(1.3);opacity:1}}
@keyframes sv-progress-sheen{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}
.sv-transparent-choice{display:flex!important;align-items:center;gap:11px!important;padding:10px 11px;border:1px solid #6b5a8e;border-radius:11px;background:#242239;cursor:pointer;color:#eee2fa!important}
.sv-transparent-choice>input{width:18px;height:18px;accent-color:#ad7ce8;flex:0 0 auto}
.sv-transparent-choice span{font-size:12px;font-weight:800}
.sv-transparent-choice span small{font-size:10px;font-weight:500;display:block;color:#cfb2e6}
.sv-image-results{display:grid;gap:10px;min-width:0;padding:10px;border:1px solid #72518c;border-radius:13px;background:linear-gradient(135deg,#1e182e,#1b2531)}
.sv-image-results-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;color:#f5eaff;font-size:13px}
.sv-image-results-actions{display:flex;flex-wrap:wrap;gap:6px}
.sv-image-results-actions .sv-button{font-size:11px;padding:8px 10px;min-height:34px}
body[data-studio-mode="images"] .sv-image-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(170px,100%),1fr));gap:12px;min-width:0}
body[data-studio-mode="images"] .sv-image-option{background:#211e31;border:1px solid #76619b;padding:9px;color:#f4ebff;box-shadow:none;min-width:0}
body[data-studio-mode="images"] .sv-image-option.is-selected{border-color:#65e8ef;box-shadow:0 0 13px #71dcfb40}
body[data-studio-mode="images"] .sv-gallery-visual{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:var(--sv-thumb-ratio,16 / 9);background:#111625;border-radius:8px;overflow:hidden}
body[data-studio-mode="images"] .sv-gallery-visual img{width:100%!important;height:100%!important;max-height:none!important;max-width:none!important;object-fit:contain!important;background:transparent!important;aspect-ratio:auto!important;box-shadow:none;border-radius:0}
body[data-studio-mode="images"] .sv-image-option-actions a,body[data-studio-mode="images"] .sv-image-option-actions button{background:#302642;color:#eadefc;border-color:#614e81}
body[data-studio-mode="images"] .sv-image-option-actions button[aria-pressed="true"]{background:#47416f;color:#fff}
body[data-studio-mode="images"] .sv-image-price{color:#b2a4cd}
body[data-studio-mode="images"] .sv-image-option label{display:flex;gap:7px;align-items:center;cursor:pointer}
body[data-studio-mode="images"] .sv-image-option input[type=checkbox]{accent-color:#61dbe4;width:16px;height:16px}
@media(prefers-reduced-motion:reduce){.sv-generation-orb span,.sv-generation-progress:before,.sv-generation-meter span:after{animation:none!important}}

/* Compass Studio workspace tabs and local image library (account sync later). */
.sv-mode-shortcuts{
 display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;
 margin:1px 0 12px;padding:8px 12px;border:1px solid #72568c;border-radius:11px;
 background:linear-gradient(115deg,#251831,#172339 63%,#251a39);
 box-shadow:inset 0 1px #ffffff18,0 7px 20px #0d091f44;
}
.sv-mode-shortcuts-tabs{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.sv-mode-shortcuts-tabs button{
 font:800 12px/1.2 system-ui,Arial,sans-serif;
 color:#e6d5fc;background:#211b33;border:1px solid #66518a;border-radius:9px;
 min-width:96px;padding:10px 13px;cursor:pointer;
}
.sv-mode-shortcuts-tabs button span{font-size:16px;margin-right:4px;color:#8ddbee}
body[data-studio-mode="images"] [data-studio-shortcut="images"],
body[data-studio-mode="music"] [data-studio-shortcut="music"],
body[data-studio-mode="video"] [data-studio-shortcut="video"]{
 color:#fff;border-color:#75e2ef;background:linear-gradient(155deg,#354473,#482962);
 box-shadow:0 0 12px #60cbee61;
}
.sv-mode-account{display:flex;align-items:center;gap:8px;font-size:10px;color:#d2bced}
.sv-mode-account span{font-weight:800;background:#36264a;border:1px solid #755a95;border-radius:8px;padding:6px 9px}
.sv-mode-account strong{font-size:10px;font-weight:550;color:#c3bad8}
.sv-rail-library{margin:11px 0;padding:10px 8px;border-radius:9px;background:linear-gradient(135deg,#211630,#171d31);border:1px solid #604b7b}
.sv-rail-library>strong{display:block;font-size:9px;letter-spacing:.08em;color:#e4c8ff;margin-bottom:8px}
.sv-rail-library>small{display:block;font-size:9px;color:#a89bc5;line-height:1.4;margin-top:7px}
.sv-sidebar-library{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;max-height:142px;overflow-y:auto}
.sv-sidebar-library button{border:1px solid #68517b;background:#271b38;padding:2px;border-radius:6px;cursor:pointer;aspect-ratio:1}
.sv-sidebar-library img{width:100%;height:100%;object-fit:cover;border-radius:4px}
.sv-library-empty{grid-column:1/-1;color:#b6a6d0;font-size:10px}
body[data-studio-mode="images"] .sv-steps{overflow-y:auto!important;overscroll-behavior:contain;max-height:calc(100vh - 90px)}
@media(max-width:740px){
 .sv-mode-shortcuts{padding:7px;gap:7px}
 .sv-mode-shortcuts-tabs{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
 .sv-mode-shortcuts-tabs button{min-width:0;padding:9px 6px}
 .sv-mode-account{font-size:9px}
}


/* v22 Image Studio workspace — match reference layout, retain Compass neon theme. */
body[data-studio-mode="images"] .sv-production-shell .sv-grid{
 display:block!important;
 grid-template-columns:unset!important;
}
body[data-studio-mode="images"] .sv-production-shell .sv-steps,
body[data-studio-mode="images"] .sv-production-shell .sv-inspector{
 display:none!important;
}
body[data-studio-mode="images"] .sv-production-shell .sv-content{width:100%!important;max-width:none!important;min-width:0!important}
body[data-studio-mode="images"] .sv-production-shell .sv-panel[data-panel="images"]{width:100%;max-width:none;min-width:0}
body[data-studio-mode="images"] .sv-image-layout{
 display:grid!important;
 grid-template-columns:270px minmax(0,1fr)!important;
 align-items:start!important;
 gap:14px!important;
}
body[data-studio-mode="images"] .sv-tool-controls{
 position:sticky;top:66px;min-width:0;min-height:0;
 max-height:calc(100dvh - 84px);overflow-y:auto;overflow-x:hidden;
 padding:14px 12px;background:linear-gradient(160deg,#22182e,#151e2c);
 border:1px solid #5d4a88;border-radius:12px;scrollbar-color:#785e95 #1c1b2c;scrollbar-width:thin;
}
body[data-studio-mode="images"] #sv-image-ratios{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
 gap:8px!important;min-width:0;
}
body[data-studio-mode="images"] #sv-image-ratios button{min-width:0!important;width:100%;margin:0!important;padding:9px 5px!important;font-size:10px}
body[data-studio-mode="images"] #sv-image-count.sv-count-pills{max-width:none!important;width:100%!important}
body[data-studio-mode="images"] .sv-transparency-field{
 display:flex!important;flex-direction:column!important;gap:6px;
 min-width:0!important;width:100%!important;overflow:hidden;
 margin:12px 0!important;
}
body[data-studio-mode="images"] .sv-transparency-field .sv-transparent-choice{
 display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;
 box-sizing:border-box!important;align-items:center!important;justify-content:flex-start!important;
 gap:11px!important;min-width:0!important;width:100%!important;
 padding:11px 10px!important;margin:0!important;
 background:#2a2343;border:1px solid #8360a5;border-radius:11px;
}
body[data-studio-mode="images"] .sv-transparency-field input#sv-transparent-png{
 appearance:auto!important;-webkit-appearance:checkbox!important;
 display:block!important;flex:0 0 18px!important;
 width:18px!important;max-width:18px!important;min-width:18px!important;
 height:18px!important;max-height:18px!important;min-height:18px!important;
 margin:0!important;padding:0!important;box-shadow:none!important;
 border:0!important;outline-offset:3px!important;
 accent-color:#9f6fd4!important;cursor:pointer;
}
body[data-studio-mode="images"] .sv-transparency-field .sv-transparent-choice span{
 display:block;flex:1 1 auto;min-width:0;overflow-wrap:anywhere;
 font-size:12px;line-height:1.3;color:#f2e6ff;
}
body[data-studio-mode="images"] .sv-transparency-field .sv-transparent-choice small{
 display:block;margin-top:2px;font-size:10px;line-height:1.35;color:#bdb1d7;
}
body[data-studio-mode="images"] .sv-transparency-field>.sv-hint{font-size:10px;line-height:1.4;color:#bcb0d7}
body[data-studio-mode="images"] .sv-rail-library{margin:14px 0 0}
body[data-studio-mode="images"] .sv-rail-library .sv-sidebar-library{grid-template-columns:repeat(4,minmax(0,1fr));max-height:190px}
body[data-studio-mode="images"] .sv-tool-controls .sv-two{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
body[data-studio-mode="images"] .sv-tool-controls .sv-two>.sv-card{min-width:0;padding:10px}
body[data-studio-mode="images"] .sv-tool-controls .sv-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
body[data-studio-mode="images"] .sv-tool-controls .sv-actions .sv-button{width:100%}
body[data-studio-mode="images"] .sv-image-promptbar{
 display:grid;grid-template-columns:minmax(0,1fr) 174px;
 align-items:stretch;gap:10px;min-width:0;
 margin:0 0 14px;padding:10px;border:1px solid #654f85;border-radius:12px;
 background:linear-gradient(145deg,#211b2e,#172131);
}
body[data-studio-mode="images"] .sv-image-prompt-field{display:flex;flex-direction:column;gap:5px;min-width:0}
body[data-studio-mode="images"] .sv-image-prompt-field label{font-size:11px;font-weight:800;color:#e8d6fa}
body[data-studio-mode="images"] .sv-image-prompt-field textarea{
 box-sizing:border-box;min-width:0;width:100%;height:70px;min-height:70px;max-height:220px;
 resize:vertical;background:#101622;color:#eee5fd;border:1px solid #706089;
 border-radius:9px;padding:10px 12px;font:500 12px/1.5 system-ui,Arial,sans-serif;
}
body[data-studio-mode="images"] #sv-generate-image{
 width:100%;min-width:0;min-height:70px;align-self:end;cursor:pointer;
 background:linear-gradient(140deg,#3c5b88,#754aad);color:#fff;border:1px solid #79deef;
 border-radius:10px;box-shadow:0 0 12px #6cdaef49,inset 0 1px #ffffff44;
 font-weight:850;font-size:13px;
}
body[data-studio-mode="images"] .sv-workstage{min-width:0;width:100%;gap:11px}
body[data-studio-mode="images"] .sv-workstage .sv-stage-shell{
 width:100%;margin:0!important;padding:10px 12px 14px;min-width:0;border-radius:12px;
}
body[data-studio-mode="images"] .sv-workstage.has-images:not(.preview-open):not(.is-generating)>.sv-stage-shell{display:none!important}
body[data-studio-mode="images"] .sv-workstage .sv-stage-shell .sv-image-sized-preview{
 flex:none!important;max-width:100%!important;
}
body[data-studio-mode="images"] .sv-image-results{
 width:100%;min-width:0;padding:13px;border-radius:13px;
 background:linear-gradient(160deg,#171d2b,#21182e);
}
body[data-studio-mode="images"] .sv-image-results-bar{margin-bottom:3px}
body[data-studio-mode="images"] .sv-image-gallery{
 display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
 gap:11px!important;align-items:start!important;width:100%;
}
body[data-studio-mode="images"] .sv-image-option{min-width:0!important;padding:7px!important;border-radius:12px!important;overflow:hidden}
body[data-studio-mode="images"] .sv-gallery-visual{width:100%;border-radius:8px}
body[data-studio-mode="images"] .sv-gallery-visual img{object-fit:contain!important}
body[data-studio-mode="images"] .sv-image-option label{font-size:11px}
body[data-studio-mode="images"] .sv-image-option-actions{display:flex;gap:5px;flex-wrap:wrap}
body[data-studio-mode="images"] .sv-image-option-actions button,
body[data-studio-mode="images"] .sv-image-option-actions a{flex:1 0 auto;padding:7px 9px;font-size:10px;text-align:center}
body[data-studio-mode="images"] .sv-image-results-actions .sv-button{font-size:10px}
@media(max-width:1230px){
 body[data-studio-mode="images"] .sv-image-gallery{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:950px){
 body[data-studio-mode="images"] .sv-image-layout{grid-template-columns:225px minmax(0,1fr)!important;gap:10px!important}
 body[data-studio-mode="images"] .sv-image-gallery{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body[data-studio-mode="images"] .sv-image-promptbar{grid-template-columns:minmax(0,1fr) 134px}
}
@media(max-width:720px){
 body[data-studio-mode="images"] .sv-image-layout{display:flex!important;flex-direction:column!important;gap:12px!important}
 body[data-studio-mode="images"] .sv-tool-controls{position:static;max-height:none;overflow:visible;width:100%}
 body[data-studio-mode="images"] .sv-image-promptbar{display:flex;flex-direction:column}
 body[data-studio-mode="images"] #sv-generate-image{min-height:46px}
 body[data-studio-mode="images"] .sv-workstage{width:100%}
 body[data-studio-mode="images"] .sv-image-gallery{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
}
@media(max-width:430px){
 body[data-studio-mode="images"] .sv-image-gallery{grid-template-columns:minmax(0,1fr)!important}
}

/* Compass VIDEO storyboard approval (Content > Cast > Storyboard > Edit).
   Video-only skin. Music and Image Studio styles remain unchanged. */
body[data-studio-mode="video"] #sv-video-working-layout[hidden],
body[data-studio-mode="video"] .sv-review-panel[hidden]{display:none!important}
body[data-studio-mode="video"] .sv-video-review-wizard{display:block!important;width:min(1180px,100%)!important;max-width:100%!important;margin:0 auto 18px!important;box-sizing:border-box!important;color:#f2f0ff!important}
body[data-studio-mode="video"] .sv-review-step-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;flex-wrap:wrap!important;padding:14px 20px!important;background:linear-gradient(120deg,#100e1d,#19152b 68%,#131c30)!important;border:1px solid #55466d!important;border-radius:15px!important;box-shadow:0 10px 30px #0005!important;margin:0 0 20px!important}
body[data-studio-mode="video"] .sv-review-step-head>strong{font:850 15px/1.3 system-ui!important;color:#fff!important}
body[data-studio-mode="video"] .sv-review-step-nav{display:flex!important;gap:8px!important;flex-wrap:wrap!important}
body[data-studio-mode="video"] .sv-review-step-nav button{display:flex!important;gap:7px!important;align-items:center!important;border:1px solid transparent!important;background:transparent!important;color:#d4cce5!important;cursor:pointer!important;font:800 12px system-ui!important;padding:8px 10px!important;border-radius:10px!important}
body[data-studio-mode="video"] .sv-review-step-nav button b{display:grid!important;place-items:center!important;width:23px!important;height:23px!important;border-radius:50%!important;background:#352c49!important;color:#eee1ff!important}
body[data-studio-mode="video"] .sv-review-step-nav button.is-active{color:#97e9ff!important;background:linear-gradient(120deg,#173652,#2e2150)!important;border-color:#6998c2!important}
body[data-studio-mode="video"] .sv-review-step-nav button.is-active b{background:#44b9e9!important;color:#071323!important}
body[data-studio-mode="video"] .sv-review-panel{display:flex!important;flex-direction:column!important;gap:17px!important;min-width:0!important;padding:2px 0!important}
body[data-studio-mode="video"] .sv-review-heading{display:flex!important;justify-content:space-between!important;align-items:flex-start!important;gap:18px!important;flex-wrap:wrap!important;margin-bottom:3px!important}
body[data-studio-mode="video"] .sv-review-heading h3{margin:0 0 6px!important;font:850 21px/1.3 system-ui!important;color:#f5e6ff!important}
body[data-studio-mode="video"] .sv-review-heading p{margin:0!important;color:#c1b1d9!important;font-size:12px!important;line-height:1.55!important}
body[data-studio-mode="video"] .sv-review-heading .sv-button{margin-top:3px!important;font-size:11px!important;min-height:38px!important}
body[data-studio-mode="video"] .sv-review-synopsis{display:flex!important;flex-direction:column!important;gap:7px!important;padding:14px 18px!important;background:linear-gradient(125deg,#21192b,#121b2a)!important;border:1px solid #544a69!important;border-radius:12px!important}
body[data-studio-mode="video"] .sv-review-synopsis label{color:#e2cdfd!important;font:800 13px system-ui!important}
body[data-studio-mode="video"] .sv-review-synopsis textarea{width:100%!important;box-sizing:border-box!important;background:#121622!important;border:1px solid #624d80!important;border-radius:8px!important;color:#f7ecff!important;padding:11px!important;font:13px/1.55 system-ui!important;resize:vertical!important}
body[data-studio-mode="video"] .sv-review-scene-list{display:flex!important;flex-direction:column!important;gap:15px!important}
body[data-studio-mode="video"] .sv-review-scene-card{box-sizing:border-box!important;background:linear-gradient(120deg,#1d1928,#12141f)!important;border:1px solid #51475e!important;border-radius:11px!important;padding:21px!important;box-shadow:0 8px 20px #08080e40!important;display:flex!important;flex-direction:column!important;gap:12px!important}
body[data-studio-mode="video"] .sv-review-scene-head{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:9px!important;flex-wrap:wrap!important}
body[data-studio-mode="video"] .sv-review-scene-head strong{font:850 13px system-ui!important;color:#f9f2ff!important}
body[data-studio-mode="video"] .sv-review-scene-tools{display:flex!important;gap:7px!important}
body[data-studio-mode="video"] .sv-review-scene-tools button{cursor:pointer!important;background:linear-gradient(#583e7c,#2d2444)!important;color:#f4dcff!important;border:1px solid #9276b2!important;border-radius:7px!important;font:800 10px system-ui!important;padding:7px 10px!important}
body[data-studio-mode="video"] .sv-review-scene-setting{display:flex!important;align-items:center!important;gap:9px!important;flex-wrap:wrap!important;font-size:11px!important;color:#ac9abe!important}
body[data-studio-mode="video"] .sv-review-scene-setting input{flex:1 1 150px!important;max-width:260px!important;min-height:29px!important;box-sizing:border-box!important;padding:5px 8px!important;border:1px solid #5b4d70!important;border-radius:6px!important;color:#ebddf4!important;background:#171626!important;font-size:11px!important}
body[data-studio-mode="video"] .sv-review-shot-rows{position:relative!important;display:flex!important;flex-direction:column!important;gap:13px!important;padding:1px 0 0 16px!important;border-left:1px dotted #8c73a8!important;margin-left:5px!important}
body[data-studio-mode="video"] .sv-review-shot-row{position:relative!important;display:grid!important;grid-template-columns:54px minmax(0,1fr) 59px 28px!important;align-items:center!important;gap:9px!important}
body[data-studio-mode="video"] .sv-review-shot-row:before{content:''!important;position:absolute!important;left:-22px!important;top:50%!important;width:10px!important;height:10px!important;border:1px solid #e5ad55!important;border-radius:50%!important;background:#16121c!important}
body[data-studio-mode="video"] .sv-review-shot-index{font:750 11px system-ui!important;color:#bfb1d9!important}
body[data-studio-mode="video"] .sv-review-shot-field{position:relative!important;display:flex!important;align-items:center!important;gap:8px!important;min-width:0!important;border:1px solid #4b435a!important;border-radius:8px!important;background:linear-gradient(140deg,#252332,#1a1f31)!important;padding:7px 57px 7px 11px!important}
body[data-studio-mode="video"] .sv-review-shot-field label{flex:0 0 auto!important;color:#b7d7fb!important;font:750 11px system-ui!important}
body[data-studio-mode="video"] .sv-review-shot-field textarea{min-width:0!important;flex:1 1 auto!important;resize:vertical!important;background:transparent!important;color:#fff!important;border:0!important;outline:none!important;min-height:27px!important;font:750 12px/1.5 system-ui!important}
body[data-studio-mode="video"] .sv-review-char-count{position:absolute!important;bottom:8px!important;right:10px!important;font:700 10px system-ui!important;color:#8f97b1!important}
body[data-studio-mode="video"] .sv-review-shot-seconds{box-sizing:border-box!important;width:59px!important;min-height:34px!important;background:#211c2d!important;color:#eee2ff!important;border:1px solid #5e4979!important;border-radius:7px!important;text-align:center!important;font-size:12px!important}
body[data-studio-mode="video"] .sv-review-remove-shot{background:#32213a!important;color:#e9c5ff!important;border:1px solid #845c9c!important;border-radius:7px!important;padding:7px!important;cursor:pointer!important}
body[data-studio-mode="video"] .sv-review-footer{display:flex!important;gap:13px!important;align-items:center!important;justify-content:space-between!important;flex-wrap:wrap!important;position:sticky!important;bottom:12px!important;padding:14px 16px!important;background:linear-gradient(100deg,#21192cfa,#151a2cfa)!important;border:1px solid #625078!important;border-radius:13px!important;box-shadow:0 10px 30px #0007!important;z-index:3!important}
body[data-studio-mode="video"] .sv-review-footer strong{font:800 12px system-ui!important;color:#f9ca75!important}
body[data-studio-mode="video"] .sv-review-footer .sv-button{min-height:38px!important;padding:10px 17px!important;font-size:12px!important}
body[data-studio-mode="video"] .sv-review-cast-list,body[data-studio-mode="video"] .sv-review-shot-gallery{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(220px,1fr))!important;gap:15px!important}
body[data-studio-mode="video"] .sv-review-cast-card,body[data-studio-mode="video"] .sv-review-shot-card{display:flex!important;flex-direction:column!important;background:linear-gradient(#25203a,#141c2c)!important;border:1px solid #6f548a!important;border-radius:12px!important;overflow:hidden!important}
body[data-studio-mode="video"] .sv-review-cast-thumb,body[data-studio-mode="video"] .sv-review-shot-picture{display:grid!important;place-items:center!important;aspect-ratio:16/9!important;background:#0e1424!important;color:#b4a7cc!important;text-align:center!important;font-size:12px!important}
body[data-studio-mode="video"] .sv-review-cast-thumb img,body[data-studio-mode="video"] .sv-review-shot-picture img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important}
body[data-studio-mode="video"] .sv-review-cast-description,body[data-studio-mode="video"] .sv-review-shot-details{display:flex!important;flex-direction:column!important;gap:7px!important;padding:12px!important;font-size:12px!important;color:#e1d5f0!important}
body[data-studio-mode="video"] .sv-review-shot-details p{font-size:11px!important;line-height:1.5!important;margin:0!important;overflow-wrap:anywhere!important}
body[data-studio-mode="video"] .sv-review-shot-details small,body[data-studio-mode="video"] .sv-review-cast-description small{color:#b5a9d0!important}
body[data-studio-mode="video"] .sv-review-empty{padding:22px!important;border:1px dashed #745d90!important;border-radius:12px!important;color:#c8badc!important}
@media(max-width:720px){body[data-studio-mode="video"] .sv-review-shot-row{grid-template-columns:42px minmax(0,1fr) 49px 24px!important;gap:4px!important}body[data-studio-mode="video"] .sv-review-shot-field{padding:6px 43px 6px 6px!important}body[data-studio-mode="video"] .sv-review-shot-field label{display:none!important}body[data-studio-mode="video"] .sv-review-scene-card{padding:12px!important}body[data-studio-mode="video"] .sv-review-footer{position:static!important}}
