@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{color-scheme:dark;--bg:#0b0b12;--panel:#12121d;--panel2:#171725;--line:#29283a;--muted:#9291a6;--text:#f4f2fb;--purple:#a78bfa;--purple2:#7955dc;--mint:#80e0c0}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:'DM Sans',sans-serif;font-size:14px}button,textarea,select,input{font:inherit}button{cursor:pointer;color:inherit}.app-shell{min-height:100vh}.sidebar{width:246px;position:fixed;inset:0 auto 0 0;background:#0e0e17;border-right:1px solid #222131;padding:27px 17px;display:flex;flex-direction:column;z-index:5}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:var(--text);margin:0 8px 37px}.brand-mark{width:39px;height:39px;border-radius:13px;background:linear-gradient(145deg,#b59aff,#6b4ac6);display:grid;place-items:center;color:white}.brand-mark svg{width:35px}.brand strong{font:800 16px Manrope;letter-spacing:.3px;display:block}.brand strong i{font-style:normal;color:#b49aff}.brand small{display:block;color:#77758d;font-size:9px;letter-spacing:2px;margin-top:2px}.new-project{height:43px;border:1px solid #39334d;border-radius:10px;background:#1b1828;text-align:left;padding:0 13px;font-weight:600;margin-bottom:30px}.new-project span{font-size:20px;color:#b99eff;vertical-align:-2px;margin-right:9px}.nav-label{font-size:9px;letter-spacing:1.7px;color:#77758d;font-weight:700;padding:0 10px 10px}.nav-item{border:0;background:transparent;color:#9997aa;text-align:left;padding:12px 11px;border-radius:9px;margin:2px 0;font-size:13px}.nav-item span{display:inline-block;width:25px;color:#aaa0c5;font-size:17px}.nav-item.active{background:#211c31;color:#d6c8ff}.sidebar-bottom{margin-top:auto}.engine-card{display:flex;align-items:center;gap:9px;background:#151522;border:1px solid #29273a;border-radius:10px;padding:11px 9px;margin-bottom:18px}.status-dot,.eyebrow span,.live-pill i{width:7px;height:7px;border-radius:50%;background:#64d6aa;box-shadow:0 0 12px #64d6aa88}.engine-card b,.profile b{font-size:11px;display:block}.engine-card small,.profile small{font-size:10px;color:#858398;display:block;margin-top:3px}.engine-live{font-size:8px;letter-spacing:1px;color:#75dcb5;margin-left:auto}.profile{display:flex;align-items:center;gap:9px;padding:3px 2px}.avatar,.top-avatar{width:31px;height:31px;border-radius:50%;background:linear-gradient(145deg,#a78bfa,#6145a9);display:grid;place-items:center;font-weight:800}.profile button{margin-left:auto;border:0;background:none;color:#8b899e;font-size:17px}.main{margin-left:246px;min-height:100vh}.topbar{height:66px;border-bottom:1px solid #222131;display:flex;align-items:center;justify-content:space-between;padding:0 42px}.breadcrumb{font-size:11px;color:#89879c}.breadcrumb span{padding:0 9px;color:#55536a}.breadcrumb b{color:#e8e4f3;font-weight:500}.top-actions{display:flex;align-items:center;gap:17px}.secure-label{font-size:10px;color:#858398}.top-avatar{width:29px;height:29px;font-size:11px}.mobile-menu{display:none}.page{display:none;max-width:1300px;margin:auto;padding:42px 42px 20px}.page.active{display:block}.welcome{display:flex;justify-content:space-between;align-items:center;min-height:204px;margin-bottom:27px;overflow:hidden}.eyebrow{font-size:9px;letter-spacing:2px;color:#a99acb;font-weight:700;display:flex;align-items:center;gap:9px}.welcome h1,.history-heading h1{font:800 clamp(34px,4vw,49px)/1.12 Manrope;margin:15px 0 10px;letter-spacing:-2px}.welcome h1 em,.history-heading h1 em{font-style:normal;color:#b69bff}.welcome p,.history-heading p{margin:0;color:#9896aa;font-size:13px}.welcome-art{width:290px;height:180px;position:relative;display:grid;place-items:center;flex-shrink:0}.orb{position:absolute;border-radius:50%;filter:blur(1px)}.orb-one{width:150px;height:150px;background:radial-gradient(circle at 35% 30%,#b7a0ff,#583aa6 65%,#251b42);box-shadow:0 0 70px #7b5bd855}.orb-two{width:190px;height:190px;border:1px solid #9b80e444}.wave-visual{position:relative;display:flex;align-items:center;gap:5px;height:65px}.wave-visual i{display:block;width:3px;border-radius:4px;background:#eee7ff;box-shadow:0 0 9px #d4bdff;height:var(--h,25px)}.wave-visual i:nth-child(3n){--h:48px}.wave-visual i:nth-child(3n+1){--h:29px}.wave-visual i:nth-child(4n){--h:17px}.welcome-art>span{position:absolute;bottom:0;right:10px;font-size:8px;line-height:1.5;letter-spacing:3px;color:#8e7cb7;text-align:right}.studio-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(270px,.85fr);gap:19px;align-items:start}.panel{background:linear-gradient(145deg,#151521,#11111a);border:1px solid #2a293b;border-radius:14px}.editor-panel{padding:23px}.panel-heading{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:25px}.panel-heading>div{display:flex;gap:12px;align-items:flex-start}.step{font:700 10px Manrope;color:#a88cf0;background:#28213c;border:1px solid #43355e;border-radius:7px;padding:6px 7px}.panel h2{font:700 15px Manrope;margin:0 0 5px}.panel-heading p{font-size:11px;color:#8d8b9f;margin:0}.live-pill{font-size:8px;letter-spacing:1.2px;color:#83d8b6;border:1px solid #315847;border-radius:20px;padding:6px 9px;display:flex;align-items:center;gap:6px}.live-pill i{width:5px;height:5px}.field-label{display:flex;justify-content:space-between;color:#aaa7bc;font-size:9px;letter-spacing:1.3px;font-weight:700;margin-bottom:9px}.field-label span{font-weight:400;letter-spacing:0;color:#77758a}textarea{width:100%;min-height:190px;resize:vertical;background:#0d0d16;border:1px solid #302e43;border-radius:9px;padding:15px;color:#eeeaf8;outline:none;line-height:1.7;font-size:12px}textarea:focus,select:focus{border-color:#8e70d8}textarea::placeholder{color:#5f5d70}.editor-tools{display:flex;justify-content:space-between;margin:9px 0 24px}.text-tool{border:0;background:none;color:#8c899e;font-size:10px;padding:4px 0}.text-tool:hover{color:#c3afff}.ai-tool{color:#b69aff}.voice-row{display:flex;gap:10px;align-items:end}.voice-select-wrap{flex:1;min-width:0}select{width:100%;height:43px;border:1px solid #302e43;background:#0d0d16;color:#e8e4f2;border-radius:8px;padding:0 11px;outline:none;font-size:12px}#voiceStatus{display:block;font-size:9px;color:#77758c;margin-top:6px}.preview-button{height:43px;padding:0 15px;border:1px solid #51416f;background:#211b31;border-radius:8px;color:#cbb9ff;font-size:11px}.preview-button span{margin-left:5px}.advanced{margin-top:19px;border-top:1px solid #29283a;border-bottom:1px solid #29283a}.advanced-toggle{width:100%;height:43px;display:flex;justify-content:space-between;align-items:center;background:none;border:0;color:#b4b0c2;font-size:11px}.advanced-content{padding:2px 0 15px}.range-field{margin:13px 0}.range-field>div{display:flex;justify-content:space-between;margin-bottom:7px}.range-field label{font-size:10px;color:#c7c3d3}.range-field output{font-size:10px;color:#b69aff}.range-field input{width:100%;accent-color:#9c7be9}.range-field small{font-size:9px;color:#77758b}.generate-button{margin-top:20px;width:100%;height:48px;border:0;border-radius:9px;background:linear-gradient(100deg,#8863df,#a184f2);color:white;font-weight:700;font-size:12px;box-shadow:0 8px 25px #7854cb33}.generate-button span{font-size:17px;margin-right:8px}.generate-button b{float:right;font-size:18px;margin-right:12px}.generate-button:disabled{opacity:.55;cursor:wait}.privacy-note{text-align:center;color:#747286;font-size:9px;margin:12px 0 0}.right-column{display:grid;gap:17px}.tips-panel{padding:20px;min-height:205px;background:radial-gradient(circle at 100% 0%,#33234f 0,transparent 52%),linear-gradient(145deg,#1b1728,#12121d)}.tip-icon{width:30px;height:30px;display:grid;place-items:center;border-radius:9px;background:#32264a;color:#c5a9ff;font-size:19px;margin-bottom:13px}.tip-eyebrow{font-size:8px;letter-spacing:1.8px;color:#b49ae9}.tips-panel h3{font:700 18px/1.3 Manrope;margin:8px 0}.tips-panel p{font-size:10px;color:#a09caf;line-height:1.6;margin:0 0 13px}.subtle-button{background:none;border:0;padding:0;color:#c0a9ff;font-size:10px}.subtle-button span{padding-left:6px}.output-panel{padding:19px}.panel-heading.compact{margin-bottom:19px}.empty-output{min-height:175px;border:1px dashed #343146;border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:18px}.audio-orbit{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle,#33274d,#1c1929);border:1px solid #4b3a69;color:#c2a9ff;font-size:22px;margin-bottom:11px}.empty-output b{font-size:11px}.empty-output p{font-size:10px;color:#7e7b90;margin:5px 0 0}.audio-result{background:#0d0d16;border:1px solid #302e43;border-radius:10px;padding:13px}.result-meta{display:flex;align-items:center;gap:10px;margin-bottom:12px}.result-icon{width:30px;height:30px;border-radius:8px;background:#302444;color:#c8afff;display:grid;place-items:center}.result-meta b{font-size:11px;display:block}.result-meta small{font-size:9px;color:#828095}.audio-result audio{width:100%;height:36px}.download-button{display:block;text-align:center;text-decoration:none;background:#28213a;color:#cdbaff;border:1px solid #51416f;border-radius:8px;padding:10px;font-size:10px;margin-top:10px}.progress-wrap{margin-top:15px}.progress-label{display:flex;justify-content:space-between;font-size:10px;color:#b9b3ca;margin-bottom:9px}.spinner{width:13px;height:13px;border:2px solid #4b3c67;border-top-color:#b99aff;border-radius:50%;animation:spin .8s linear infinite}.progress-track{height:4px;border-radius:5px;background:#292538;overflow:hidden}.progress-track i{display:block;width:45%;height:100%;background:#a88af0;animation:progress 1.8s ease-in-out infinite alternate}@keyframes spin{to{transform:rotate(360deg)}}@keyframes progress{to{width:90%}}.footer{padding:30px 0 10px;text-align:center;color:#666478;font-size:8px;letter-spacing:1.7px}.footer span{color:#c58bb7}.footer i{padding:0 7px;color:#a58ae8}.history-heading{margin:18px 0 25px}.history-heading h1{font-size:39px}.history-panel{padding:20px}.history-item{display:flex;align-items:center;gap:12px;padding:13px 4px;border-bottom:1px solid #29283a}.history-item:last-child{border:0}.history-item .result-icon{flex-shrink:0}.history-item b{font-size:11px}.history-item small{display:block;color:#858296;font-size:9px;margin-top:4px}.history-item a{margin-left:auto;color:#c4adff;font-size:10px;text-decoration:none}.toast{position:fixed;bottom:22px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#29233a;border:1px solid #574777;color:#eee7ff;border-radius:9px;padding:11px 16px;font-size:11px;z-index:20;transition:.25s}.toast.show{opacity:1;transform:translate(-50%,0)}[hidden]{display:none!important}
@media(max-width:1050px){.page{padding:32px 25px}.topbar{padding:0 25px}.studio-grid{grid-template-columns:minmax(0,1.3fr) minmax(245px,.8fr)}.welcome-art{width:220px}}
@media(max-width:760px){.sidebar{transform:translateX(-100%);transition:transform .25s;width:260px;box-shadow:15px 0 40px #0008}.sidebar.open{transform:translateX(0)}.main{margin-left:0}.topbar{height:58px;padding:0 17px}.mobile-menu{display:block;border:0;background:none;font-size:19px;color:#c8b9e8;margin-right:10px}.breadcrumb{margin-right:auto}.secure-label{display:none}.page{padding:25px 16px 15px}.welcome{min-height:175px}.welcome h1{font-size:36px}.welcome p{max-width:270px;font-size:11px;line-height:1.6}.welcome-art{width:115px;height:130px;margin-right:-20px}.orb-one{width:95px;height:95px}.orb-two{width:120px;height:120px}.wave-visual{transform:scale(.75)}.welcome-art>span{font-size:6px;right:10px}.studio-grid{grid-template-columns:1fr}.editor-panel{padding:17px}.right-column{grid-template-columns:1fr 1fr;align-items:stretch;gap:10px}.tips-panel,.output-panel{padding:14px}.tips-panel h3{font-size:15px}.tips-panel p{font-size:9px}.empty-output{min-height:160px;padding:10px}.panel-heading p{font-size:10px}.footer{font-size:7px}.history-heading h1{font-size:34px}}
@media(max-width:390px){.right-column{grid-template-columns:1fr}.welcome-art{opacity:.65;width:90px}.welcome h1{font-size:32px}.live-pill{display:none}}