:root{color-scheme:dark}body{background:#100d18}.studio-bg{position:fixed;inset:0;pointer-events:none;background:radial-gradient(ellipse at 45% -20%,#60309b2e,transparent 65%)}.studio-header{position:relative;display:flex;gap:24px;align-items:center;padding:18px 30px;border-bottom:1px solid #ffffff12;background:#110d19e6;min-height:75px}.studio-header .logo small{font-weight:400;font-size:13px;color:#a59ab7;border-left:1px solid #ffffff26;padding-left:16px}.studio-header nav{display:flex;gap:24px;margin-left:auto;font-size:13px;color:#c1b5d3}#accountArea{display:flex;align-items:center;gap:10px;font-size:12px;color:#bfb0d7}#accountArea a,#accountArea button{border:1px solid #ffffff20;padding:6px 11px;border-radius:8px}.studio{display:grid;grid-template-columns:230px minmax(0,1fr);max-width:1600px;margin:auto;position:relative}.studio-sidebar{padding:38px 24px;border-right:1px solid #ffffff10;display:flex;flex-direction:column;gap:12px}.eyebrow{font-size:10px;letter-spacing:.16em;color:#af8dea;font-weight:700}.studio-sidebar h1{font-size:20px;letter-spacing:-.04em}.muted{font-size:12px;color:#9c90ae}#typeTabs{display:grid;gap:7px;margin-top:24px}#typeTabs button{text-align:left;padding:12px 15px;border:1px solid transparent;border-radius:10px;color:#b9adc9;font-size:14px}#typeTabs button.active{border-color:#9863ed58;background:linear-gradient(100deg,#8b5cf629,#8b5cf609);color:#dac6ff}#typeTabs button span{display:inline-block;width:27px}.sidebar-bottom{margin-top:60px;padding:16px;background:#ffffff04;border:1px solid #ffffff0d;border-radius:12px;font-size:12px;color:#9c8fab}.sidebar-bottom strong{color:#c8b2e8}.sidebar-bottom p{margin:8px 0 18px}.sidebar-bottom a{color:#b899ed}.studio-main{padding:32px;min-width:0}.studio-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px}.studio-top h2{font-size:27px;margin-top:6px}.mode-tag{font-size:10px;letter-spacing:.08em;color:#c8acfa;background:#a276e515;border:1px solid #a276e538;padding:7px 10px;border-radius:7px}.studio-layout{display:grid;grid-template-columns:minmax(300px,.95fr) minmax(300px,1.05fr);gap:22px;align-items:start}.editor-panel,.output-panel,.history-panel{background:#1a1423b3;border:1px solid #ffffff10;border-radius:16px;padding:24px}.editor-panel label{display:block;font-size:13px;color:#ddd2eb;margin-bottom:8px}.studio select,.studio textarea,.studio input[type=search]{background:#110d19;border:1px solid #ffffff20;border-radius:9px;padding:11px 12px;color:#ece6f8;font:13px/1.5 inherit;width:100%}.studio select{font-size:13px;min-height:43px}.studio textarea{font-family:inherit;font-size:14px;line-height:1.8;resize:vertical;min-height:180px;max-height:500px}.studio input:focus,.studio select:focus,.studio textarea:focus{border-color:#a879f5}.field-help{font-size:11px;color:#91839f;line-height:1.7;margin:8px 0 20px}.label-row{display:flex;justify-content:space-between;align-items:baseline}.text-button{font-size:11px;color:#bea0f2}.prompt-meta{display:flex;justify-content:space-between;color:#8d7e9e;font-size:10px;margin:5px 0 20px}.parameter-grid{display:flex;gap:14px;margin-bottom:20px}.parameter-grid>div{flex:1;min-width:0}input[type=file]{max-width:100%;font-size:11px;color:#b1a0c6}input::file-selector-button{padding:8px;background:#2b203c;border:1px solid #57406f;border-radius:7px;color:#cfbce9;margin-right:10px}.estimate{margin:22px 0 18px;padding-top:18px;border-top:1px solid #ffffff12;display:grid;gap:5px}.estimate span{font-size:12px;color:#b0a1bf}.estimate b{float:right;color:#dbbaff;font-size:18px}.estimate small{font-size:10px;color:#8d7e9e}.generate{width:100%;padding:13px 18px;border-radius:10px;background:linear-gradient(100deg,#955bed,#7139cb);font-weight:600;font-size:14px;box-shadow:0 6px 24px #7c3aed25}.generate span{float:right}.generate:disabled{opacity:.5;cursor:wait}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}.panel-heading h3{font-size:14px}.panel-heading>span{font-size:10px;color:#a791c3}.output-panel{min-height:600px}.empty-result{text-align:center;display:grid;justify-items:center;align-content:center;min-height:480px;gap:15px;color:#8f7fa3;font-size:12px}.empty-result>span{display:grid;place-items:center;border:1px solid #a282d633;border-radius:20px;color:#a77be3;font-size:38px;width:80px;height:80px;box-shadow:0 0 60px #955bed10}.empty-result h3{font-size:15px;color:#bca9d4;font-weight:500}.empty-result a{color:#be9ee9;margin-top:15px}.preview-card{padding:22px;background:linear-gradient(145deg,#2b1c42,#15101e);border:1px solid #8b5cf64d;border-radius:12px}.preview-card h3{font-size:19px;color:#dbc7f7;margin:16px 0}.preview-card p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.9;color:#b5a3cb}.preview-badge{font-size:10px;letter-spacing:.1em;color:#b497d8}.result-actions,.task-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.secondary,.task-actions button,.result-actions button{padding:7px 11px;border:1px solid #ffffff21;border-radius:7px;font-size:11px;color:#c5b3dc;background:#ffffff04}.running-result{padding:90px 20px;text-align:center;color:#c2abe1}.running-result progress{width:100%;margin:24px 0;accent-color:#a477e9}.running-result p{font-size:12px;color:#a18ab9}.history-panel{margin-top:26px}.history-panel h2{font-size:17px}.history-panel h2 small{font-size:12px;font-weight:400;color:#a78fbe;margin-left:8px}.history-tools{display:flex;align-items:center;gap:8px}.history-tools input[type=search]{width:180px;padding:7px 10px;font-size:11px}.history-tools select{width:110px;padding:6px 8px;font-size:11px;min-height:34px}.history-item{display:flex;gap:18px;align-items:start;padding:18px 0;border-top:1px solid #ffffff0c}.task-icon{width:38px;height:38px;display:grid;place-items:center;flex-shrink:0;background:#8b5cf610;border:1px solid #8b5cf62b;border-radius:10px;color:#b99ada}.task-info{min-width:0;flex:1}.task-info h3{font-size:13px;font-weight:500;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.task-info p{font-size:10px;color:#9583a9;margin-top:4px}.task-actions{margin-top:9px}.task-state{font-size:10px;color:#ba98df;white-space:nowrap}.history-empty{padding:38px 10px;text-align:center;color:#94819f;font-size:12px}.studio-footer{text-align:center;font-size:10px;color:#786988;margin-top:26px}.studio-footer a{color:#b29bc9}.form-error{font-size:12px;color:#fda4af;margin-top:12px}.workflow-hint{border-left:2px solid #9863ed;background:#9863ed0d;padding:10px;font-size:12px;color:#c1a5e1;margin-bottom:20px}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(min-width:1600px){.studio{border-left:1px solid #ffffff10;border-right:1px solid #ffffff10;min-height:calc(100vh - 75px)}}
@media(max-width:1150px){.studio{grid-template-columns:185px minmax(0,1fr)}.studio-sidebar{padding:30px 16px}.studio-main{padding:25px 20px}.studio-layout{gap:15px;grid-template-columns:minmax(260px,1fr) minmax(260px,1fr)}.editor-panel,.output-panel,.history-panel{padding:18px}.history-panel>.panel-heading{align-items:start;flex-direction:column}.studio-header nav{gap:14px}.studio-header .logo small{display:none}}
@media(max-width:850px){.studio{grid-template-columns:minmax(0,1fr)}.studio-sidebar{min-width:0;border-right:0;padding:22px 20px 0}.studio-sidebar h1,.studio-sidebar>.muted,.studio-sidebar>.eyebrow,.sidebar-bottom{display:none}#typeTabs{display:flex;overflow-x:auto;margin:0;gap:6px}#typeTabs button{white-space:nowrap;padding:10px 14px}.studio-header{padding:15px 20px;gap:15px}.studio-header nav{margin-left:auto}.studio-header nav a:nth-child(n+3){display:none}.studio-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.studio-top{margin-bottom:20px}}
@media(max-width:600px){.studio-header{flex-wrap:wrap;gap:10px}.studio-header .logo{font-size:16px}.studio-header nav{gap:14px;font-size:12px}#accountArea{width:100%;justify-content:flex-end;font-size:11px}.studio-main{padding:24px 16px}.studio-sidebar{padding:20px 16px 0}#typeTabs{scrollbar-width:none}#typeTabs::-webkit-scrollbar{display:none}#typeTabs button{padding:9px 12px;font-size:12px}#typeTabs button span{width:20px}.studio-layout{grid-template-columns:minmax(0,1fr)}.studio-top h2{font-size:24px}.output-panel{min-height:360px}.empty-result{min-height:300px}.history-tools{width:100%;flex-wrap:wrap}.history-tools input[type=search]{width:auto;flex:1;min-width:100px}.history-item{gap:10px}.task-actions button{padding:6px 8px}.task-icon{width:30px;height:30px}.studio-footer{line-height:1.8}.mode-tag{font-size:9px}}
