@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap";:root{color:#f1f2f6;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-optical-sizing:auto;background:#0b0d12;font-family:DM Sans,sans-serif;font-weight:400}*{box-sizing:border-box}body{min-width:360px;min-height:100vh;margin:0}button,textarea{font:inherit}button{cursor:pointer}::selection{color:#fff;background:#8b78ff}:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}body{background:#090a11}button:focus-visible{outline-offset:3px;outline:2px solid #a78bfa}:root{--bg:#0b0d12;--panel:#11141c;--panel-light:#151925;--border:#252a37;--muted:#858b9d;--text:#f1f2f6;--purple:#9333ea;--purple-light:#c084fc}.studio{background:radial-gradient(ellipse at 75% 0%, #4b3a961a, transparent 35%), var(--bg);min-height:100vh}.sidebar{z-index:5;background:#0e1017;border-right:1px solid #20232e;flex-direction:column;width:258px;padding:29px 19px 18px;display:flex;position:fixed;inset:0 auto 0 0}.brand{align-items:center;gap:12px;padding:0 8px 43px;display:flex}.brand-mark{color:#11101a;background:linear-gradient(145deg,#b5a5ff,#7359e8);border-radius:12px;place-items:center;width:39px;height:39px;font-size:14px;font-weight:800;display:grid;box-shadow:0 5px 25px #8067ee40}.brand-name{letter-spacing:1.15px;font-family:Manrope,sans-serif;font-size:13px;font-weight:800}.brand-caption{color:#747b8e;letter-spacing:1.65px;margin-top:4px;font-size:8px}.workspace-label,.section-kicker{color:#70778a;letter-spacing:1.65px;font-size:9px;font-weight:700}.workspace-label{padding:0 10px 12px}.navigation{gap:5px;display:grid}.nav-item{text-align:left;color:#969bad;background:0 0;border:0;border-radius:8px;align-items:center;gap:12px;width:100%;min-height:43px;padding:0 12px;font-size:12px;transition:all .2s;display:flex}.nav-item:hover{color:#fff;background:#191d29}.nav-icon{text-align:center;width:19px;font-size:17px}.sidebar-divider{background:#242733;height:1px;margin:25px 7px 24px}.sidebar-bottom{margin-top:auto}.server-status{background:#12151d;border:1px solid #262a36;border-radius:9px;align-items:center;gap:9px;margin-bottom:15px;padding:13px 9px;display:flex}.status-dot,.selected-dot{background:#61d8a2;border-radius:50%;flex:0 0 7px;width:7px;height:7px;box-shadow:0 0 10px #61d8a260}.status-title{letter-spacing:1px;font-size:9px;font-weight:700}.status-subtitle{color:#72798a;margin-top:4px;font-size:9px}.status-online{color:#6ed6a4;letter-spacing:.6px;margin-left:auto;font-size:8px}.user-profile{border-top:1px solid #252834;align-items:center;gap:10px;padding:17px 5px 0;display:flex}.avatar,.top-avatar{color:#171324;background:linear-gradient(140deg,#c3b5ff,#735de4);border-radius:50%;place-items:center;font-weight:800;display:grid}.avatar{width:34px;height:34px;font-size:12px}.user-name{font-size:11px;font-weight:600}.user-role{color:#7c8293;margin-top:3px;font-size:9px}.user-menu{color:#8d93a4;margin-left:auto;font-size:20px}.main{min-height:100vh;margin-left:258px}.topbar{background:#0c0e14c9;border-bottom:1px solid #20232e;justify-content:space-between;align-items:center;height:68px;padding:0 5.2%;display:flex}.breadcrumb{color:#858b9c;font-size:11px}.breadcrumb span{color:#505667;padding:0 10px}.breadcrumb strong{color:#e5e5ec;font-weight:500}.topbar-right{align-items:center;gap:17px;display:flex}.topbar-label{color:#777e91;letter-spacing:1.3px;font-size:8px}.top-avatar{width:31px;height:31px;font-size:11px}.content{max-width:1370px;margin:0 auto;padding:48px 5.2% 28px}.welcome{justify-content:space-between;align-items:center;min-height:146px;margin-bottom:38px;display:flex;position:relative;overflow:hidden}.eyebrow{color:#9c8bff;letter-spacing:1.7px;align-items:center;gap:9px;font-size:9px;font-weight:700;display:flex}.eyebrow span{background:#9c8bff;width:19px;height:1px}.welcome h1{letter-spacing:-2px;margin:14px 0 8px;font-family:Manrope,sans-serif;font-size:clamp(31px,3.2vw,44px);font-weight:700;line-height:1.15}.welcome h1 span{color:#a493ff}.welcome-description{color:#9298a9;margin:0;font-size:12px}.welcome-decoration{width:175px;height:145px;margin-right:50px;position:relative}.decoration-orbit{border:1px solid #9333ea32;border-radius:50%;position:absolute;transform:rotate(-28deg)}.orbit-one{width:165px;height:73px;top:34px;left:5px}.orbit-two{width:115px;height:135px;top:4px;left:28px;transform:rotate(45deg)}.decoration-core{color:#c2b7ff;background:linear-gradient(145deg,#8d78f4,#5140a7);border-radius:13px;place-items:center;width:40px;height:40px;font-size:22px;display:grid;position:absolute;top:49px;left:70px;box-shadow:0 0 55px #846afc70}.section-heading{justify-content:space-between;align-items:end;margin-bottom:17px;display:flex}.section-heading h2{letter-spacing:-.4px;margin:7px 0 0;font-family:Manrope,sans-serif;font-size:18px;font-weight:700}.template-count{color:#737a8c;letter-spacing:1.2px;padding-bottom:3px;font-size:9px}.template-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;display:grid}.template-card{text-align:left;min-width:0;color:var(--text);background:#12151e;border:1px solid #282d3b;border-radius:11px;padding:0;transition:transform .2s,border-color .2s,box-shadow .2s;overflow:hidden}.template-card:hover{border-color:#6255a3;transform:translateY(-3px)}.template-card.selected{border-color:#9333ea;box-shadow:0 0 0 1px #9333ea36,0 9px 28px #0004}.card-visual{isolation:isolate;place-items:center;height:133px;display:grid;position:relative;overflow:hidden}.card-visual:before,.card-visual:after{content:"";z-index:-1;border-radius:50%;position:absolute}.product .card-visual{background:linear-gradient(135deg,#29253d,#171d2c 70%)}.product .card-visual:before{filter:blur(25px);background:#a18cff30;width:120px;height:120px;top:5px;left:40px}.product .visual-symbol{color:#c5b8ff;text-shadow:0 0 30px #a18cff80;font-size:67px}.portrait .card-visual{background:linear-gradient(140deg,#382c3c,#1d1a29 75%)}.portrait .card-visual:before{filter:blur(25px);background:#e4a1bd50;width:100px;height:100px}.portrait .visual-symbol{color:#e6b5d1;text-shadow:0 0 30px #e4a1bd80;font-size:72px}.landscape .card-visual{background:linear-gradient(145deg,#203a43,#17222f 75%)}.landscape .card-visual:before{filter:blur(25px);background:#5cc2b055;width:130px;height:80px;bottom:-10px}.landscape .visual-symbol{color:#9bddd0;text-shadow:0 0 30px #65d2b580;font-size:72px}.video .card-visual{background:linear-gradient(140deg,#3a3025,#211d20 75%)}.video .card-visual:before{filter:blur(26px);background:#f0b16b45;width:110px;height:110px}.video .visual-symbol{color:#ffd09a;text-shadow:0 0 30px #ffc27c90;font-size:57px}.visual-number,.visual-type{color:#ffffffa3;letter-spacing:1px;font-size:9px;position:absolute;top:12px}.visual-number{left:13px}.visual-type{font-size:8px;right:13px}.card-content{padding:14px 13px 12px}.card-title-row{justify-content:space-between;align-items:center;gap:5px;display:flex}.card-title-row h3{white-space:nowrap;margin:0;font-size:12px;font-weight:700}.card-arrow{color:#858b9d;font-size:13px}.card-content p{color:#8990a1;min-height:32px;margin:8px 0 13px;font-size:10px;line-height:1.55}.card-footer{border-top:1px solid #292d39;justify-content:space-between;align-items:center;padding-top:10px;display:flex}.model-tag{color:#a59bbf;font-size:9px}.select-indicator{color:#a8aec0;border:1px solid #424657;border-radius:50%;place-items:center;width:19px;height:19px;font-size:12px;display:grid}.selected .select-indicator{color:#151220;background:#9333ea;border-color:#9333ea}.generator-section{margin-top:38px}.generator-heading{margin-bottom:15px}.selected-tool{color:#a7a0c4;align-items:center;gap:8px;font-size:10px;display:flex}.selected-dot{background:#9333ea;box-shadow:0 0 9px #9333ea70}.generator-panel{background:linear-gradient(135deg,#151925,#11141c);border:1px solid #292e3c;border-radius:12px;padding:20px}.panel-top{justify-content:space-between;align-items:start;display:flex}.panel-top label,.setting-group label{color:#a7adbf;letter-spacing:1.1px;font-size:9px;font-weight:700}.panel-top p{color:#767e91;margin:5px 0 0;font-size:10px}.prompt-hint{color:#737b8d;letter-spacing:1.3px;font-size:8px}.generator-panel textarea{resize:vertical;color:#e9e8f1;background:#0d1018;border:1px solid #303647;border-radius:8px;outline:none;width:100%;min-height:91px;margin-top:16px;padding:14px;font-size:11px;line-height:1.6;display:block}.generator-panel textarea:focus{border-color:#8571e8;box-shadow:0 0 0 3px #8e7aff15}.generator-panel textarea::placeholder{color:#646c7e}.settings-row{border-bottom:1px solid #2a2e3a;flex-wrap:wrap;gap:38px;padding:18px 0;display:flex}.setting-group{align-content:start;gap:9px;display:grid}.setting-value{color:#d9d8e2;align-items:center;gap:7px;font-size:10px;display:flex}.model-indicator{color:#a996ff}.aspect-options{gap:5px;display:flex}.aspect{color:#9399aa;background:#171b26;border:1px solid #34394a;border-radius:5px;padding:5px 10px;font-size:9px}.aspect.active{color:#c3b8ff;background:#8370d91c;border-color:#8270d9}.panel-bottom{justify-content:space-between;align-items:center;gap:15px;padding-top:17px;display:flex}.queue-note{color:#8b92a3;align-items:center;gap:8px;font-size:9px;display:flex}.queue-note .status-dot{flex-basis:6px;width:6px;height:6px}.generate-button{color:#171322;background:linear-gradient(110deg,#b4a4ff,#8d78f0);border:0;border-radius:7px;align-items:center;gap:9px;padding:11px 15px;font-size:10px;font-weight:700;transition:all .2s;display:flex;box-shadow:0 5px 18px #8d78f02c}.generate-button:hover{filter:brightness(1.12);transform:translateY(-1px)}.button-arrow{margin-left:5px;font-size:15px}.footer{color:#626a7b;letter-spacing:1.2px;justify-content:space-between;padding-top:27px;font-size:8px;display:flex}.footer-separator{color:#9333ea;padding:0 5px}.placeholder-page{padding:90px 10px}.placeholder-page h1{margin:13px 0;font-family:Manrope,sans-serif;font-size:34px}.placeholder-page p{color:#9298a9;font-size:13px}.back-button{color:#c3b8ff;background:#8d78f01c;border:1px solid #6255a3;border-radius:7px;margin-top:18px;padding:10px 14px;font-size:11px}@media (width<=1150px){.sidebar{width:220px}.main{margin-left:220px}.template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=720px){.sidebar{border-bottom:1px solid #252834;border-right:0;width:100%;height:auto;padding:15px;position:relative}.brand{padding:0 5px 15px}.workspace-label,.sidebar-divider,.sidebar-bottom{display:none}.navigation{flex-wrap:wrap;display:flex}.nav-item{width:auto;min-height:36px;font-size:10px}.main{margin-left:0}.topbar{height:53px;padding:0 18px}.content{padding:30px 18px}.welcome-decoration{display:none}.welcome h1{font-size:34px}.template-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.card-visual{height:105px}.card-title-row h3{white-space:normal;font-size:10px}.card-content{padding:11px 9px}.card-content p{font-size:9px}.generator-panel{padding:14px}.settings-row{gap:20px}.panel-bottom{flex-direction:column;align-items:stretch}.generate-button{justify-content:center}.footer{gap:10px;font-size:7px}}.login-screen{background:radial-gradient(at 50% 35%,#30265355,#0000 43%),#0b0d12;place-items:center;min-height:100vh;padding:35px 20px 65px;display:grid;position:relative;overflow:hidden}.login-decoration{pointer-events:none;border:1px solid #9333ea18;border-radius:50%;position:absolute}.login-decoration-one{width:620px;height:280px;transform:rotate(-28deg)}.login-decoration-two{width:390px;height:590px;transform:rotate(42deg)}.login-card{z-index:1;background:linear-gradient(145deg,#171a26,#10131b);border:1px solid #292e3c;border-radius:16px;width:min(100%,420px);padding:36px;position:relative;box-shadow:0 25px 90px #0008}.login-brand{align-items:center;gap:12px;margin-bottom:48px;display:flex}.login-heading h1{letter-spacing:-1px;margin:15px 0 8px;font-family:Manrope,sans-serif;font-size:29px}.login-heading p{color:#9298a9;margin:0;font-size:12px;line-height:1.6}.login-form{gap:10px;margin-top:30px;display:grid}.login-form>label{color:#a7adbf;letter-spacing:1.1px;margin-top:9px;font-size:9px;font-weight:700}.login-form input{color:#f1f2f6;background:#0d1018;border:1px solid #303647;border-radius:7px;outline:none;width:100%;min-height:46px;padding:0 13px;font-size:12px}.login-form input:focus{border-color:#8571e8;box-shadow:0 0 0 3px #8e7aff15}.login-form input::placeholder{color:#646c7e}.password-field{position:relative}.password-field input{padding-right:76px}.password-toggle{color:#a99bff;background:0 0;border:0;height:46px;padding:0 4px;font-size:10px;position:absolute;top:0;right:10px}.login-error{color:#ff9ca7;background:#a94f5b16;border:1px solid #a94f5b66;border-radius:7px;align-items:center;gap:9px;padding:11px;font-size:11px;line-height:1.5;display:flex}.login-error span{border:1px solid #ff9ca7;border-radius:50%;flex:0 0 17px;place-items:center;width:17px;height:17px;font-weight:700;display:grid}.login-submit{color:#171322;background:linear-gradient(110deg,#b4a4ff,#8d78f0);border:0;border-radius:7px;justify-content:center;align-items:center;gap:12px;min-height:46px;margin-top:13px;font-size:12px;font-weight:700;transition:all .2s;display:flex}.login-submit:hover:not(:disabled){filter:brightness(1.12)}.login-submit:disabled,.password-toggle:disabled{cursor:not-allowed;opacity:.65}.login-submit span{font-size:17px}.login-footer{color:#777e91;letter-spacing:1.2px;border-top:1px solid #292e3c;justify-content:center;align-items:center;gap:9px;margin-top:29px;padding-top:20px;font-size:8px;display:flex}.login-copyright{color:#626a7b;letter-spacing:1.3px;font-size:8px;position:absolute;bottom:22px}@media (width<=480px){.login-card{padding:27px 22px}.login-brand{margin-bottom:36px}}.logout-button{color:#a6abc0;background:#171b26;border:1px solid #34394a;border-radius:7px;flex:0 0 30px;width:30px;height:30px;margin-left:auto;font-size:17px}.logout-button:hover{color:#c3b8ff;background:#8370d91c;border-color:#8270d9}.admin-page{gap:22px;max-width:1180px;display:grid}.admin-heading,.admin-card-heading{justify-content:space-between;align-items:center;gap:18px;display:flex}.admin-heading h1{letter-spacing:-.8px;margin:12px 0 7px;font-family:Manrope,sans-serif;font-size:30px}.admin-heading p{color:#9298a9;margin:0;font-size:12px}.admin-total{background:#12151d;border:1px solid #292e3c;border-radius:9px;gap:5px;min-width:130px;padding:14px 17px;display:grid}.admin-total strong{color:#c0b4ff;font-size:25px}.admin-total span{color:#858b9d;letter-spacing:1px;font-size:8px}.admin-card{background:#11141c;border:1px solid #252a37;border-radius:11px;padding:22px}.admin-card-heading{margin-bottom:20px}.admin-card-heading h2{margin:7px 0 0;font-family:Manrope,sans-serif;font-size:17px}.admin-create-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;display:grid}.admin-create-form label{color:#a7adbf;letter-spacing:1px;gap:8px;font-size:9px;font-weight:700;display:grid}.admin-create-form input,.admin-create-form select,.admin-inline-select{color:#f1f2f6;background:#0d1018;border:1px solid #303647;border-radius:7px;outline:none;width:100%;min-height:41px;padding:0 11px;font-size:11px}.admin-create-form input:focus,.admin-create-form select:focus,.admin-inline-select:focus{border-color:#8571e8}.admin-create-form input::placeholder{color:#646c7e}.admin-primary-button,.admin-secondary-button{border-radius:7px;min-height:40px;padding:0 15px;font-size:11px;font-weight:700}.admin-primary-button{color:#171322;background:linear-gradient(110deg,#b4a4ff,#8d78f0);border:0;align-self:end}.admin-secondary-button{color:#c3b8ff;background:#8d78f01c;border:1px solid #6255a3}.admin-primary-button:disabled,.admin-secondary-button:disabled{cursor:not-allowed;opacity:.55}.admin-message{border-radius:7px;padding:12px 14px;font-size:11px;line-height:1.5}.admin-error{color:#ff9ca7;background:#a94f5b16;border:1px solid #a94f5b66}.admin-success{color:#82dfb2;background:#3a9d7018;border:1px solid #3a9d7055}.admin-empty{text-align:center;color:#858b9d;padding:28px 10px;font-size:12px}.admin-table-wrap{width:100%;overflow-x:auto}.admin-table{border-collapse:collapse;text-align:left;width:100%}.admin-table th{color:#747b8e;letter-spacing:.9px;white-space:nowrap;border-bottom:1px solid #292e3c;padding:12px 10px;font-size:8px}.admin-table td{vertical-align:middle;border-bottom:1px solid #222734;padding:14px 10px;font-size:11px}.admin-user-name{color:#f1f2f6;align-items:center;gap:8px;font-weight:700;display:flex}.admin-user-name span{color:#c0b4ff;letter-spacing:.6px;background:#8d78f01c;border-radius:4px;padding:3px 5px;font-size:7px}.admin-user-email,.admin-last-login{color:#858b9d;margin-top:5px;font-size:10px}.admin-inline-select{min-width:135px;min-height:34px;padding:0 8px}.admin-inline-select:disabled{opacity:.55}.admin-status{border:1px solid #0000;border-radius:6px;align-items:center;gap:7px;padding:7px 9px;font-size:10px;display:inline-flex}.admin-status span{background:currentColor;border-radius:50%;width:6px;height:6px}.admin-status.active{color:#72d9a7;background:#3a9d7018;border-color:#3a9d7040}.admin-status.inactive{color:#ff9ca7;background:#a94f5b16;border-color:#a94f5b44}.admin-status:disabled{cursor:not-allowed;opacity:.55}.admin-table-footer{color:#747b8e;padding-top:14px;font-size:9px}@media (width<=720px){.admin-heading{align-items:flex-start}.admin-heading h1{font-size:24px}.admin-total{min-width:95px;padding:10px}.admin-card{padding:15px}.admin-create-form{grid-template-columns:1fr}.admin-primary-button{min-height:44px}}.admin-template-form{margin-bottom:28px}.admin-template-wide{grid-column:1/-1}.admin-json-input{resize:vertical;color:#dfe3ef;background:#0d1018;border:1px solid #303647;border-radius:7px;width:100%;min-height:150px;padding:12px;font-family:monospace;font-size:11px;line-height:1.6}.admin-json-input:focus{border-color:#8571e8;outline:none}.admin-template-checkbox{align-items:center;letter-spacing:0!important;gap:9px!important;display:flex!important}.admin-template-checkbox input{accent-color:#8571e8;width:16px;min-height:16px}.admin-template-actions,.admin-template-row-actions{flex-wrap:wrap;align-items:center;gap:9px;display:flex}.admin-template-list-heading{border-top:1px solid #292e3c;justify-content:space-between;align-items:center;margin:12px 0;padding-top:17px;display:flex}.admin-template-list-heading h3{margin:0;font-size:13px}.admin-template-list-heading span{color:#9298a9;font-size:10px}.admin-template-active,.admin-template-inactive{white-space:nowrap;font-size:10px}.admin-template-active{color:#72d9a7}.admin-template-inactive{color:#ff9ca7}.admin-template-row-actions .admin-secondary-button{min-height:32px;padding:0 9px;font-size:10px}@media (width<=720px){.admin-template-wide{grid-column:auto}.admin-template-row-actions{min-width:150px}}.profile-page{gap:22px;max-width:1100px;display:grid}.profile-heading{justify-content:space-between;align-items:center;gap:20px;display:flex}.profile-heading h1{letter-spacing:-.8px;margin:12px 0 7px;font-family:Manrope,sans-serif;font-size:30px}.profile-heading p,.profile-card-heading p{color:#9298a9;margin:0;font-size:12px}.profile-avatar{color:#d4ccff;background:linear-gradient(145deg,#292344,#151925);border:1px solid #6255a3;border-radius:16px;flex:none;place-items:center;width:62px;height:62px;font-size:25px;font-weight:700;display:grid}.profile-layout{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:17px;display:grid}.profile-card{background:#11141c;border:1px solid #252a37;border-radius:11px;min-width:0;padding:22px}.profile-card-heading{justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:21px;display:flex}.profile-card-heading h2{margin:7px 0 6px;font-family:Manrope,sans-serif;font-size:17px}.profile-kicker{color:#9333ea;letter-spacing:1.2px;font-size:8px;font-weight:700}.profile-form{gap:16px;display:grid}.profile-form label{color:#a7adbf;letter-spacing:.3px;gap:8px;font-size:10px;font-weight:700;display:grid}.profile-form input{color:#f1f2f6;background:#0d1018;border:1px solid #303647;border-radius:7px;outline:none;width:100%;min-height:42px;padding:0 12px;font-size:12px}.profile-form input:focus{border-color:#8f7cf0;box-shadow:0 0 0 2px #8f7cf01c}.profile-form input:disabled{opacity:.6;cursor:wait}.profile-field-hint{color:#737b8e;letter-spacing:0;font-size:10px;font-weight:400;line-height:1.5}.profile-actions{justify-content:flex-start;padding-top:3px;display:flex}.profile-message{border-radius:7px;padding:10px 12px;font-size:11px;line-height:1.5}.profile-message.error{color:#faa;background:#481e291f;border:1px solid #713d48}.profile-message.success{color:#9de0b3;background:#1b49301f;border:1px solid #315c43}.profile-status{white-space:nowrap;border-radius:20px;padding:6px 9px;font-size:9px}.profile-status.active{color:#9de0b3;background:#1b49304a;border:1px solid #315c43}.profile-status.inactive{color:#faa;background:#481e294a;border:1px solid #713d48}.profile-details{gap:0;display:grid}.profile-detail{border-bottom:1px solid #252a37;justify-content:space-between;align-items:flex-start;gap:15px;padding:12px 0;display:flex}.profile-detail:first-child{padding-top:0}.profile-detail span{color:#858b9d;font-size:11px}.profile-detail strong{color:#e4e6ed;text-align:right;font-size:11px;font-weight:600}.profile-detail .profile-id{overflow-wrap:anywhere;color:#aaa0d8;max-width:58%;font-family:monospace;font-size:10px}.profile-readonly-note,.profile-security-note{color:#737b8e;margin:15px 0 0;font-size:10px;line-height:1.6}.profile-security-card{grid-column:1/-1}.profile-security-icon{color:#c084fc;font-size:24px}.profile-password-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;display:grid}.profile-security-note{border-top:1px solid #252a37;padding-top:13px}@media (width<=850px){.profile-layout{grid-template-columns:1fr}.profile-security-card{grid-column:auto}}@media (width<=560px){.profile-password-grid{grid-template-columns:1fr}.profile-heading h1{font-size:25px}.profile-card{padding:17px}.profile-detail{flex-direction:column;gap:6px}.profile-detail strong{text-align:left}}.history-page{gap:20px;max-width:1450px;display:grid}.history-heading{justify-content:space-between;align-items:center;gap:18px;display:flex}.history-heading h1{margin:10px 0 6px;font:700 30px Manrope,sans-serif}.history-heading p{color:#9298a9;margin:0;font-size:12px}.history-refresh,.history-pagination button{color:#d7d9e2;background:#171b26;border:1px solid #34394a;border-radius:7px;padding:10px 13px;font-size:11px}.history-refresh:disabled,.history-pagination button:disabled{opacity:.45;cursor:not-allowed}.history-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.history-summary>div{background:#11141c;border:1px solid #252a37;border-radius:9px;gap:8px;padding:15px 17px;display:grid}.history-summary span{color:#858b9d;font-size:10px}.history-summary strong{font:700 22px Manrope,sans-serif}.history-toolbar{grid-template-columns:minmax(180px,1fr) 190px 190px;gap:10px;display:grid}.history-toolbar input,.history-toolbar select{color:#e7e8ef;background:#11141c;border:1px solid #303647;border-radius:7px;width:100%;min-height:40px;padding:0 12px;font:11px DM Sans,sans-serif}.history-layout{grid-template-columns:minmax(0,1.35fr) minmax(300px,.85fr);align-items:start;gap:16px;display:grid}.history-list{gap:10px;min-width:0;display:grid}.history-job{background:#11141c;border:1px solid #252a37;border-radius:9px;align-items:stretch;gap:8px;padding:13px;display:flex}.history-job.selected{background:#151522;border-color:#6759a7}.history-job-main{min-width:0;color:inherit;text-align:left;background:0 0;border:0;flex:1;padding:0}.history-job-top{flex-wrap:wrap;align-items:center;gap:9px;display:flex}.history-job-top time{color:#747b8e;margin-left:auto;font-size:9px}.history-status{color:#c4c8d5;background:#252a36;border:1px solid #41465a;border-radius:20px;padding:4px 8px;font-size:9px}.history-status.queued{color:#e5ce8b;border-color:#66552f}.history-status.processing,.history-status.running{color:#a9c7ff;border-color:#3c5681}.history-status.completed{color:#9de0b3;border-color:#315c43}.history-status.failed{color:#faa;border-color:#713d48}.history-job-type{color:#a9a1d7;font-size:10px}.history-job-main>p{color:#e0e2e9;overflow-wrap:anywhere;margin:11px 0;font-size:11px;line-height:1.55}.history-job-bottom{color:#999fb0;justify-content:space-between;font-size:9px;display:flex}.history-progress{background:#292d3b;border-radius:5px;height:4px;margin:10px 0;overflow:hidden}.history-progress span{border-radius:inherit;background:#9333ea;height:100%;display:block}.history-cancel{color:#ffb1b1;white-space:nowrap;background:#481e292b;border:1px solid #71434b;border-radius:6px;align-self:center;padding:7px 9px;font-size:9px}.history-pagination{justify-content:space-between;align-items:center;gap:10px;padding-top:5px;display:flex}.history-pagination span,.history-note{color:#777f92;font-size:10px}.history-empty{color:#9298a9;text-align:center;background:#11141c;border:1px dashed #34394a;border-radius:9px;padding:35px 18px;font-size:12px}.history-detail{background:#11141c;border:1px solid #252a37;border-radius:10px;min-width:0;padding:18px;position:sticky;top:15px}.history-detail-empty{color:#858b9d;text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:10px;min-height:220px;display:flex}.history-detail-empty>span{color:#a99aff;font-size:30px}.history-detail-empty strong{color:#dfe1e9;font-size:12px}.history-detail-empty p{max-width:230px;margin:0;font-size:10px;line-height:1.6}.history-detail-heading{justify-content:space-between;align-items:flex-start;margin-bottom:15px;display:flex}.history-kicker{color:#9333ea;letter-spacing:1.2px;font-size:8px;font-weight:700}.history-detail-heading h2{margin:6px 0 0;font:700 16px Manrope,sans-serif}.history-detail-heading button{color:#9ba1b1;background:0 0;border:0;font-size:22px}.history-detail-row{border-bottom:1px solid #252a37;justify-content:space-between;gap:12px;padding:9px 0;display:flex}.history-detail-row span{color:#858b9d;font-size:10px}.history-detail-row strong{color:#e1e3eb;text-align:right;font-size:10px}.history-detail-block{gap:8px;margin-top:16px;display:grid}.history-detail-block label{color:#858b9d;letter-spacing:1px;font-size:8px;font-weight:700}.history-detail-block p{color:#d7d9e2;overflow-wrap:anywhere;white-space:pre-wrap;margin:0;font-size:10px;line-height:1.6}.history-detail-block pre{color:#c9c4ed;white-space:pre-wrap;overflow-wrap:anywhere;background:#0c0f16;border:1px solid #292e3c;border-radius:6px;max-height:230px;margin:0;padding:11px;font:9px/1.6 monospace;overflow:auto}.history-error-text{color:#faa!important}.detail-cancel{justify-self:start;margin-top:16px}.history-error{color:#faa;background:#481e291f;border:1px solid #713d48;border-radius:7px;padding:10px 12px;font-size:11px}.history-note{margin:-3px 0 0}@media (width<=950px){.history-layout{grid-template-columns:1fr}.history-detail{position:static}}@media (width<=620px){.history-heading{align-items:flex-start}.history-heading h1{font-size:25px}.history-summary,.history-toolbar{grid-template-columns:1fr}.history-job{flex-direction:column}.history-cancel{align-self:flex-start}.history-job-top time{margin-left:0}}.gallery-page{gap:20px;max-width:1500px;display:grid}.gallery-heading{justify-content:space-between;align-items:center;gap:18px;display:flex}.gallery-heading h1{margin:10px 0 6px;font:700 30px Manrope,sans-serif}.gallery-heading p{color:#9298a9;margin:0;font-size:12px}.gallery-refresh,.gallery-pagination button{color:#d7d9e2;background:#171b26;border:1px solid #34394a;border-radius:7px;padding:10px 13px;font-size:11px}.gallery-refresh:disabled,.gallery-pagination button:disabled{opacity:.45;cursor:not-allowed}.gallery-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.gallery-summary>div{background:#11141c;border:1px solid #252a37;border-radius:9px;gap:8px;padding:15px 17px;display:grid}.gallery-summary span{color:#858b9d;font-size:10px}.gallery-summary strong{font:700 22px Manrope,sans-serif}.gallery-toolbar{grid-template-columns:minmax(180px,1fr) 220px;gap:10px;display:grid}.gallery-toolbar input,.gallery-toolbar select{color:#e7e8ef;background:#11141c;border:1px solid #303647;border-radius:7px;width:100%;min-height:40px;padding:0 12px;font:11px DM Sans,sans-serif}.gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;display:grid}.gallery-card{background:#11141c;border:1px solid #252a37;border-radius:10px;min-width:0;overflow:hidden}.gallery-image-button{aspect-ratio:4/3;cursor:pointer;background:#0b0e15;border:0;justify-content:center;align-items:center;width:100%;padding:0;display:flex;position:relative;overflow:hidden}.gallery-image-button:disabled{cursor:default}.gallery-image-button img,.gallery-image-button video{object-fit:cover;width:100%;height:100%;transition:transform .25s}.gallery-image-button:not(:disabled):hover img,.gallery-image-button:not(:disabled):hover video{transform:scale(1.035)}.gallery-image-loading{color:#858b9d;font-size:11px}.gallery-image-overlay{color:#fff;opacity:0;background:#090b12a8;justify-content:center;align-items:center;font-size:12px;transition:opacity .2s;display:flex;position:absolute;inset:0}.gallery-image-button:hover .gallery-image-overlay{opacity:1}.gallery-card-content{gap:10px;padding:13px;display:grid}.gallery-card-meta{justify-content:space-between;align-items:center;gap:8px;display:flex}.gallery-card-meta>span{color:#b6aaff;font-size:10px}.gallery-card-meta time{color:#747b8e;text-align:right;font-size:9px}.gallery-card-content>p{color:#dfe1e9;overflow-wrap:anywhere;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:42px;margin:0;font-size:11px;line-height:1.55;display:-webkit-box;overflow:hidden}.gallery-card-footer{border-top:1px solid #252a37;justify-content:space-between;align-items:center;gap:8px;padding-top:9px;display:flex}.gallery-card-footer>span{color:#777f92;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:9px;overflow:hidden}.gallery-card-footer button{color:#c7bbff;background:#211d32;border:1px solid #39334f;border-radius:5px;flex-shrink:0;padding:5px 8px;font-size:9px}.gallery-empty{color:#858b9d;text-align:center;background:#11141c;border:1px dashed #34394a;border-radius:9px;flex-direction:column;justify-content:center;align-items:center;gap:10px;min-height:230px;padding:25px;display:flex}.gallery-empty-icon{color:#a99aff;font-size:30px}.gallery-empty strong{color:#dfe1e9;font-size:13px}.gallery-empty p{max-width:380px;margin:0;font-size:11px;line-height:1.6}.gallery-error{color:#faa;background:#481e291f;border:1px solid #713d48;border-radius:7px;padding:10px 12px;font-size:11px}.gallery-pagination{justify-content:space-between;align-items:center;gap:10px;padding-top:5px;display:flex}.gallery-pagination span{color:#777f92;font-size:10px}.gallery-lightbox{z-index:1000;background:#05060de8;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0;overflow:auto}.gallery-lightbox-content{background:#11141c;border:1px solid #34394a;border-radius:10px;gap:14px;width:min(100%,1050px);max-height:95vh;padding:16px;display:grid;overflow:auto}.gallery-lightbox-header{justify-content:space-between;align-items:center;gap:15px;display:flex}.gallery-lightbox-header>div{gap:4px;display:grid}.gallery-lightbox-header strong{color:#e7e8ef;font-size:12px}.gallery-lightbox-header span{color:#858b9d;font-size:10px}.gallery-lightbox-header button{color:#c4c8d5;background:0 0;border:0;font-size:27px}.gallery-lightbox-content>img,.gallery-lightbox-content>video{object-fit:contain;max-width:100%;max-height:68vh;margin:auto;display:block}.gallery-lightbox-content>video{background:#05060d;width:100%}.gallery-lightbox-content>p{color:#d7d9e2;overflow-wrap:anywhere;margin:0;font-size:11px;line-height:1.6}.gallery-download{color:#d2c9ff;background:#211d32;border:1px solid #514675;border-radius:6px;justify-self:start;padding:9px 12px;font-size:10px;text-decoration:none}@media (width<=1100px){.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=620px){.gallery-heading{align-items:flex-start}.gallery-heading h1{font-size:25px}.gallery-summary,.gallery-toolbar,.gallery-grid{grid-template-columns:1fr}.gallery-lightbox{padding:10px}}.video-setting-select{color:#e5e7ef;min-width:130px;font:inherit;background:#111520;border:1px solid #343849;border-radius:6px;padding:9px 11px}.video-turbo-option{color:#d7d9e2;align-items:center;gap:8px;min-height:38px;font-size:12px;display:flex}.video-turbo-option input{accent-color:#9b83ef}.video-seed-row{flex-wrap:wrap;align-items:center;gap:10px;margin-top:14px;display:flex}.video-seed-row label{color:#858b9d;letter-spacing:.08em;font-size:10px}.video-seed-row input{color:#e5e7ef;background:#111520;border:1px solid #343849;border-radius:6px;width:180px;padding:8px 10px}.video-seed-row span{color:#858b9d;font-size:10px}:root{--studio-accent:#a78bfa;--studio-accent-strong:#8b5cf6;--studio-glow:#8b5cf62e;--studio-border:#302747}.studio{background:radial-gradient(at 75% 0,#8b5cf626,#0000 42%),radial-gradient(at 5% 90%,#5b37aa1a,#0000 40%),#090a11}.studio button,.studio input,.studio textarea,.studio select{transition:border-color .2s,background .2s,box-shadow .2s,transform .2s}.studio input:focus,.studio textarea:focus,.studio select:focus{box-shadow:0 0 0 3px var(--studio-glow);outline:none;border-color:var(--studio-accent-strong)!important}.studio button{border-radius:9px}.studio button:hover{filter:brightness(1.12)}.studio [class*=card],.studio [class*=panel]{border-color:var(--studio-border)}.studio [class*=primary],.studio [class*=generate],.studio button[type=submit]{color:#fff;background:linear-gradient(135deg,#a78bfa,#7c3aed);border:1px solid #a78bfa;box-shadow:0 5px 22px #7c3aed33}.studio [class*=primary]:hover,.studio [class*=generate]:hover,.studio button[type=submit]:hover{transform:translateY(-1px);box-shadow:0 7px 28px #8b5cf652}.sidebar{background:linear-gradient(#11101b,#0d0d15);border-color:#29233a}.nav-item.active{color:#c4b5fd;background:linear-gradient(90deg,#8b5cf633,#8b5cf60d);box-shadow:inset 2px 0 #a78bfa}.studio .studio-brand-mark{width:39px;min-width:39px;height:39px;box-shadow:none;background:0 0;flex:0 0 39px;place-items:center;padding:0;display:grid;overflow:visible}.studio .studio-brand-mark svg{flex:none;width:39px;min-width:39px;height:39px;display:block}.studio .studio-brand-mark{flex-shrink:0;place-items:center;display:grid;overflow:visible}.studio .studio-brand-mark>svg{width:100%;max-width:100%;height:100%;max-height:100%;visibility:visible!important;opacity:1!important;display:block!important}.login-brand-mark{flex-shrink:0;place-items:center;display:grid;overflow:visible}.login-brand-mark>svg{width:100%;max-width:100%;height:100%;max-height:100%;visibility:visible!important;opacity:1!important;display:block!important}.login-brand-mark{flex:0 0 76px;min-width:76px;min-height:76px;margin:0 auto 18px;width:76px!important;height:76px!important}.login-brand-mark{flex:0 0 88px;min-width:88px;min-height:88px;width:88px!important;height:88px!important;margin:0 auto 8px!important}.login-brand{gap:0!important;margin-bottom:0!important}.login-brand-mark{flex:0 0 80px;min-width:80px;min-height:80px;width:80px!important;height:80px!important}.login-brand-mark>svg{max-width:68px;max-height:68px;width:68px!important;height:68px!important}
