body.studio-app{--blue:#3973ec;--ink:#202a3f;--muted:#8d98ac;--line:#e8ecf3;--soft:#f5f7fb;background:#f7f9fc;color:var(--ink);font-family:Inter,"Microsoft YaHei",Arial,sans-serif;font-size:13px}.studio-app button{transition:background .15s,color .15s;border-radius:8px}.studio-app button:hover{background:#edf2ff;color:var(--blue)}.studio-app button.primary{background:var(--blue);border-color:var(--blue);color:#fff;box-shadow:0 3px 8px #3973ec12}.studio-app button.primary:hover{background:#2a62d7}.studio-app button:disabled{cursor:not-allowed}.studio-app a{color:var(--blue);text-decoration:none}.studio-app aside{width:188px;border-color:var(--line);padding:26px 14px 16px;background:#fff}.brand{display:flex;align-items:center;gap:10px;font-size:36px;font-weight:800;letter-spacing:-2px;padding:0 7px;margin-bottom:38px;color:var(--blue)!important}.brand>span{color:var(--ink);font-size:18px;letter-spacing:-.6px;font-weight:700}.brand small{display:block;font-size:10px;letter-spacing:1px;color:#9ba5b5;font-weight:400;margin-top:5px}.nav-caption{color:#a1aabb;font-size:10px;letter-spacing:2px;padding:0 14px;margin-bottom:12px}.studio-app nav button{height:47px;margin-bottom:5px;padding:0 13px;border-radius:9px;font-size:13px;color:#667187;display:flex;align-items:center}.studio-app nav button b{font-size:21px;width:25px;margin-right:10px;line-height:1}.studio-app nav button.active{color:var(--blue);background:#edf3ff;font-weight:600}.sidebar-bottom{margin-top:auto;display:flex;flex-direction:column;gap:5px;border-top:1px solid var(--line);padding-top:16px}.sidebar-bottom button,.sidebar-bottom>a{display:flex;justify-content:space-between;align-items:center;padding:11px 13px;text-align:left;color:#6c778a}.sidebar-bottom button{justify-content:flex-start;gap:10px}.sidebar-bottom small{font-size:10px;color:#aeb6c4;margin:16px 0 0}.studio-app main{margin-left:188px}.studio-app header{height:72px;background:#fff;border-color:var(--line);padding:0 30px;gap:14px}.studio-app #collapse{color:#7d889c}.header-title{display:flex;align-items:center;gap:16px}.header-title strong{font-size:15px}.studio-app #connection{margin:0;font-size:10px;color:#9da6b6}.studio-app .balance{gap:10px;font-size:12px;color:#6f7c91}.balance strong{color:var(--ink);font-size:15px;margin-left:4px}.balance .credit-dot{width:7px;height:7px;border-radius:50%;background:#86b0ff}.studio-app .balance .primary{margin:0 4px 0 8px;padding:7px 16px;font-size:12px}.studio-app .balance .avatar{background:#edf3ff;color:var(--blue);border-radius:50%;width:32px;height:32px;padding:0;margin-left:5px}.studio-app #workspace{padding:28px 30px 10px;gap:0;overflow:hidden}.studio-app #creation-view{height:100%;min-height:0;display:flex;flex-direction:column}.workspace-top{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 0 24px}.workspace-top h1,.page-heading h1{font-size:22px;letter-spacing:-.6px;margin:0 0 8px;color:#263148;font-weight:650}.workspace-top p,.page-heading p{font-size:12px;color:#929caf;margin:0}.segmented{display:inline-flex;gap:4px;border:1px solid #e5eaf3;background:#f0f3f9;border-radius:10px;padding:4px;flex-shrink:0}.segmented button{padding:7px 22px;color:#8993a6;font-size:12px}.segmented button.active{color:var(--blue);background:white;box-shadow:0 1px 5px #1e3c7810}.result-heading{display:flex;justify-content:space-between;align-items:center;color:#8b97aa;font-size:11px;margin-bottom:12px}.result-heading b{padding:2px 6px;border-radius:5px;background:#edf0f6;color:#98a2b2;font-size:10px;margin-left:5px}.result-heading>div{display:flex;align-items:center;gap:12px}.result-heading button{font-size:11px;color:#8793a6;padding:4px 7px}.studio-app #output{padding:0;background:transparent;border:0;box-shadow:none;border-radius:0;flex:1;min-height:120px;overflow:auto;scrollbar-width:thin}.studio-empty{height:100%;min-height:250px;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:15px 0 30px}.empty-art{position:relative;width:112px;height:90px;display:flex;align-items:center;justify-content:center;margin-bottom:22px;background:radial-gradient(ellipse,#e9efff,transparent 70%)}.empty-art span{display:flex;width:58px;height:58px;align-items:center;justify-content:center;color:#749aef;background:#fff;border:1px solid #dae4fb;border-radius:17px;font-size:38px;transform:rotate(-9deg);box-shadow:0 10px 30px #4778dd15}.empty-art i{position:absolute;right:7px;top:0;color:#a7c0fa;font-size:20px;font-style:normal}.empty-art b{position:absolute;right:8px;bottom:2px;background:#f8fbff;border:1px solid #dae4fb;border-radius:9px;color:#8aabf2;font-size:25px;padding:4px;transform:rotate(13deg);font-weight:400}.studio-empty h2{font-size:18px;letter-spacing:.2px;font-weight:550;margin:0 0 10px;color:#46536a}.studio-empty>p{font-size:12px;color:#a0a9b9;margin:0 0 24px}.starter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,215px));gap:12px;max-width:100%;margin-top:4px}.starter-grid button{padding:16px 18px;border:1px solid #e5eaf3;background:#fff;text-align:left;display:grid;grid-template-columns:24px 1fr 12px;gap:6px;color:#9aa9c1}.starter-grid button>span{color:#7a9df0;font-size:21px;grid-row:1/3}.starter-grid strong{font-size:12px;font-weight:500;color:#64728a}.starter-grid small{grid-column:2/4;font-size:10px;color:#a2acbd}.studio-empty .setup-hint{margin-top:20px;color:#b08b52}.studio-app #composer{border:1px solid #e0e7f2;box-shadow:0 4px 20px #2e4c8010;border-radius:15px;padding:18px 20px 9px;margin-top:14px;background:#fff;flex-shrink:0}.studio-app #prompt{height:65px;min-height:50px;max-height:180px;resize:vertical;color:#4a5870;font-size:13px;line-height:1.8}.studio-app #prompt::placeholder{color:#a7b0bf}.studio-app .toolbar{border-color:#edf0f5;margin-top:12px;padding-top:10px;gap:4px;flex-wrap:wrap}.studio-app .toolbar .left{gap:3px}.studio-app .toolbar label{padding:5px 3px;font-size:12px}.studio-app .toolbar select{font-size:11px;max-width:180px;color:#7c899f;padding:3px;min-height:28px}.studio-app .toolbar .model-label{color:#7d9cd9}.studio-app .toolbar .model-label select{color:#59779c}.studio-app .toolbar .tool-square{width:30px;height:30px;padding:0;font-size:20px;color:#8b9bb6}.studio-app #upload{background:#f2f6ff;color:#7ca3f3}.studio-app .toolbar button{font-size:11px;color:#7c899f}.studio-app .toolbar .right{margin-left:auto;gap:3px}.studio-app #cost{margin:0 10px;color:#92a0b6;font-size:11px;white-space:nowrap}.studio-app .generate-button{padding:8px 13px!important;color:white!important;font-size:12px!important;display:flex;align-items:center;gap:14px}.generate-button span{font-size:16px}.composer-foot{display:flex;justify-content:space-between;font-size:9px;color:#aeb7c6;padding-top:9px;gap:10px}.workspace-foot{text-align:center;font-size:9px;color:#b2bbc9;padding:12px 0 0}.studio-app .thumb{margin:0 10px 12px 0}.studio-app .thumb img{width:55px;height:55px;border:1px solid #e5eaf3;border-radius:8px}.studio-app .thumb button{font-size:12px;background:#a7b5ca;width:17px;height:17px;top:-5px;right:-5px}.result-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(245px,1fr));gap:16px;padding-bottom:10px}.result-card{background:#fff;border:1px solid var(--line);border-radius:13px;overflow:hidden}.result-media{background:#eff3f9;height:220px;display:flex;justify-content:center;align-items:center;overflow:hidden}.result-media img,.result-media video{width:100%;height:100%;object-fit:contain;cursor:zoom-in}.result-media pre{padding:15px;max-height:200px;overflow:auto;white-space:pre-wrap;font:inherit}.result-info{padding:13px}.result-info>strong{font-size:12px;display:block;margin-bottom:6px}.result-info>span{font-size:10px;color:#a0abbd}.result-info p{font-size:11px;color:#8793a7;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.7;min-height:36px}.result-actions{border-top:1px solid #f0f3f8;padding-top:8px;display:flex;justify-content:space-between}.result-actions button{font-size:10px;color:#8091ad;padding:4px 6px}.job-card{display:flex;align-items:center;background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px;gap:14px;margin-bottom:12px}.job-card>div:nth-child(2){flex:1}.job-icon{background:#eff4ff;color:var(--blue);font-size:24px;border-radius:10px;padding:8px 13px}.job-card strong{font-size:12px}.job-card p,.job-card small{font-size:10px;color:#8d9bb1;margin:6px 0}.spinning{animation:gentle 2s infinite}@keyframes gentle{50%{opacity:.3}}.studio-app #suite-options{display:flex;gap:18px;padding-bottom:14px;margin-bottom:12px;border-bottom:1px solid var(--line)}#suite-options label{font-size:10px;color:#8b99af;display:flex;align-items:center;gap:6px}#suite-options select{font-size:11px;background:#f5f7fc;border-radius:6px;padding:5px}#suite-options input{font-size:11px;border:0;background:#f6f8fc;height:30px}#suite-options .suite-style{flex:1}#video-hint{border-top:1px solid var(--line);padding-top:10px;font-size:10px;color:#8d9bb1}#video-hint label{display:flex;gap:20px}#video-hint textarea{height:32px;font-size:11px;flex:1}#video-hint small{font-size:9px;display:block;margin-top:6px}.studio-app dialog{width:min(510px,94vw);padding:25px;border-radius:15px;color:#4c5a70;max-height:90dvh;border:1px solid #e6ecf5}.studio-app dialog.wide-modal{width:min(900px,94vw)}.studio-app dialog::backdrop{background:#14234466;backdrop-filter:blur(3px)}.studio-app .dialog-head{font-size:16px;margin-bottom:20px;color:#2e3b52}.studio-app .dialog-head button{font-size:24px;color:#a1acbd}.studio-app dialog label{display:block;font-size:12px;line-height:1.6;color:#718099;margin-bottom:15px}.studio-app dialog input{margin-top:7px;border:1px solid #dfe6f1;border-radius:8px;height:40px}.studio-app dialog textarea{border:1px solid #dfe6f1;border-radius:8px;padding:12px;height:150px;resize:vertical;font-size:12px;background:white;margin-top:8px}.studio-app dialog p{font-size:12px;color:#8b98ae;line-height:1.9;white-space:pre-wrap}.studio-app dialog .primary{margin-top:0;padding:9px 17px;font-size:12px}.token-intro{text-align:center;padding:0 16px 20px}.token-intro>span{color:#85a7f0;font-size:38px}.token-intro h3{font-size:17px;font-weight:550;color:#485871}.token-intro p{font-size:12px!important}#token-form button{width:100%}.settings-note{border-top:1px solid var(--line);margin-top:24px;padding-top:12px}.settings-note p{font-size:11px!important}.shop-link{display:inline-block;font-size:11px;margin-top:8px}.studio-app #toast{top:23px;z-index:100;background:#fff;color:#426190;border:1px solid #e1e8f4;border-radius:10px;box-shadow:0 8px 35px #253e7220;font-size:12px;max-width:90vw;line-height:1.8}.modal-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;border-top:1px solid var(--line);padding-top:18px;margin-top:20px}.modal-actions #submit-note{margin-right:auto;color:#d47b71;font-size:11px}.preview-media{display:flex;justify-content:center;background:#f2f5fa;border-radius:10px;overflow:hidden}.preview-media img,.preview-media video{max-width:100%;max-height:62vh;object-fit:contain}.preview-prompt{max-height:140px;overflow:auto}.action-list{display:flex;flex-direction:column;gap:5px}.action-list button{text-align:left;padding:13px}.screen-editor{border:1px solid #e5eaf4;padding:15px;border-radius:10px;background:#fafbfe}.screen-editor strong{color:#596e92}.screen-editor textarea{height:175px!important}.muted{font-size:11px;color:#9ca7b9;line-height:1.8}.case-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:20px}.case-grid button{border:1px solid #e3eaf5;text-align:left;padding:20px;background:#fafcff}.case-grid button span{font-size:30px;color:#83a6ed;display:block;margin-bottom:14px}.case-grid button strong{font-size:14px;font-weight:550}.case-grid p{font-size:11px!important}.batch-row{border:1px solid var(--line);padding:15px;border-radius:10px;margin-bottom:12px}.batch-row>strong{font-size:12px}.batch-row textarea{height:75px!important}.batch-row img{width:48px;height:48px;object-fit:cover;border-radius:5px;margin:5px}.batch-row .file-label{display:inline-block;margin:8px 10px 0 0;font-size:10px}.batch-row input[type=file]{display:block;border:0;font-size:10px;height:auto}.batch-row button{font-size:10px}.studio-app #page-content{height:100%;overflow:auto;scrollbar-width:thin}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px;gap:15px}.page-heading>div:last-child{display:flex;gap:5px}.page-heading>div:first-child{display:block}.page-heading button{font-size:11px;padding:9px 14px}.content-card{border:1px solid var(--line);border-radius:12px;background:white;padding:22px}.content-card h2{font-size:18px}.plain-text{white-space:pre-wrap;line-height:2;color:#8b98ae;font-size:13px}.resource-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:18px;margin:22px 0}.resource-card{background:white;border:1px solid var(--line);border-radius:12px;padding:18px}.resource-icon{font-size:32px;color:#8caaf0;background:#f0f5ff;display:inline-block;padding:4px 10px;border-radius:9px}.resource-card h3{font-size:14px;font-weight:550;margin:18px 0 10px}.resource-card p{font-size:11px;color:#95a0b4}.resource-card button{font-size:10px;padding:5px 8px;color:#7e94b7}.resource-card img{width:100%;height:170px;object-fit:contain;background:#f5f7fb;border-radius:6px;margin-bottom:10px}.resource-card .saved-prompt{white-space:pre-wrap;max-height:130px;overflow:auto;line-height:1.8}.simple-empty{padding:60px 20px;text-align:center;color:#a2adbf;font-size:12px;grid-column:1/-1}.simple-empty h2{font-size:19px;font-weight:500;color:#7e8ba0}.simple-empty p{font-size:12px;line-height:1.9}.stats-row{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:22px}.stats-row>div{border:1px solid var(--line);background:white;padding:22px;border-radius:12px}.stats-row small{font-size:11px;color:#93a0b4;display:block}.stats-row strong{font-size:27px;font-weight:550;color:#5c7dbb;display:block;margin-top:13px}.table-controls{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.table-controls input{max-width:220px;font-size:11px;background:#f7f9fc;border-color:var(--line)}.studio-app table{font-size:11px}.studio-app th{background:#f7f9fc;font-weight:500;color:#8f9db2}.studio-app td{color:#71829e;padding:16px 9px}.pagination{display:flex;justify-content:flex-end;align-items:center;gap:14px;font-size:10px;color:#9ba8bd;padding-top:20px}.pagination button{font-size:11px}.chat-page{display:flex;flex-direction:column}.chat-layout{display:flex;background:#fff;border:1px solid var(--line);border-radius:13px;overflow:hidden;flex:1;min-height:200px;margin-bottom:15px}.session-list{width:185px;border-right:1px solid var(--line);padding:16px 10px;background:#fcfdff;overflow:auto;flex-shrink:0}.session{display:flex;align-items:center;border-radius:8px;margin-bottom:7px}.session.active{background:#edf3ff;color:var(--blue)}.session button{font-size:11px;padding:12px 9px;text-align:left;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.session button:first-child{flex:1}.session button:last-child{color:#a1aec2}.chat-main{display:flex;flex:1;flex-direction:column;min-width:0}.chat-main #chat-messages{flex:1;min-height:0;overflow:auto;padding:24px}.chat-empty-icon{font-size:60px;display:block;color:#b0c6f3}.studio-app .chat-message{font-size:13px;line-height:1.85;background:#f7f9fc;border-radius:12px;padding:15px 20px;margin:0 8% 22px 0;color:#63718a;white-space:normal}.studio-app .chat-message.user{margin:0 0 22px 15%;background:#edf3ff}.chat-message p{white-space:pre-wrap;margin:7px 0;overflow-wrap:anywhere}.chat-message small{font-size:10px;color:#98a8c2}.chat-main form{border-top:1px solid var(--line);padding:18px}.chat-main form textarea{height:60px;font-size:13px;resize:vertical}.chat-main form>div{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#9ca8bd}.chat-main form select{font-size:11px;max-width:260px}.chat-main form small{display:block;color:#a7b2c4;font-size:9px;margin-top:10px}.canvas-page{display:flex;flex-direction:column}.canvas-page .page-heading{margin-bottom:17px}.canvas-page select{font-size:11px;max-width:160px}.canvas-toolbar{display:flex;align-items:center;gap:5px;background:#fff;border:1px solid var(--line);border-bottom:0;border-radius:12px 12px 0 0;padding:10px;flex-wrap:wrap}.canvas-toolbar button{font-size:10px;color:#7d91af}.canvas-toolbar .muted{font-size:9px}.canvas-zoom{display:flex;align-items:center;gap:6px;margin-left:auto;font-size:10px;color:#9baac0}#canvas-board{flex:1;min-height:300px;margin-bottom:15px;border:1px solid var(--line);border-radius:0 0 12px 12px;overflow:hidden;position:relative;background-color:#f2f5fb;background-image:radial-gradient(#cfdaed 1px,transparent 1px);background-size:20px 20px;touch-action:none}#canvas-world{position:absolute;transform-origin:0 0;left:0;top:0;width:100%;height:100%}#canvas-nodes{position:absolute;left:0;top:0;width:100%;height:100%}#canvas-edges{position:absolute;left:0;top:0;width:1px;height:1px;overflow:visible;pointer-events:none}.canvas-help{position:absolute;left:20px;bottom:18px;font-size:10px;line-height:1.8;color:#a3b1c8;pointer-events:none}.canvas-node{position:absolute;width:270px;background:#fff;border:1px solid #d8e3f6;border-radius:10px;box-shadow:0 5px 20px #3b608014;overflow:hidden;touch-action:none}.canvas-node.selected{outline:2px solid #8caff7}.node-heading{background:#f9fbff;display:flex;justify-content:space-between;align-items:center;padding:13px;color:#7088ad;font-size:11px;cursor:grab;user-select:none;border-bottom:1px solid var(--line)}.node-heading strong{font-weight:500}.canvas-node textarea{width:100%;height:110px;padding:13px;font-size:11px;resize:vertical;line-height:1.8}.canvas-node>img,.canvas-node [data-node-result] img{width:100%;max-height:270px;object-fit:contain;display:block}.node-settings{padding:5px 10px 10px;display:flex;flex-wrap:wrap;gap:5px;align-items:center}.node-settings select{font-size:10px;background:#f5f8fd;padding:5px;border-radius:5px;max-width:230px}.node-settings select:first-child{width:100%}.node-settings button{font-size:10px;padding:6px 11px;margin-left:auto}.node-state{font-size:10px;line-height:1.7;padding:10px;color:#9aabc4}.canvas-image-picker{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.canvas-image-picker button{background:#f5f8fd;padding:5px}.canvas-image-picker img{width:100%;height:110px;object-fit:contain}.studio-app.collapsed aside{display:none}.studio-app.collapsed main{margin-left:0}
@media(min-width:1500px){.studio-app #workspace{padding:34px 42px 12px}.studio-app header{padding:0 42px}.workspace-top{padding-bottom:30px}.studio-app #prompt{height:85px}.starter-grid{grid-template-columns:repeat(3,230px)}}
@media(max-width:1150px){.studio-app aside{width:166px;padding:24px 10px 15px}.studio-app main{margin-left:166px}.brand{font-size:30px}.brand>span{font-size:16px}.studio-app #workspace{padding:24px 20px 10px}.studio-app header{padding:0 20px}.header-title{gap:10px}.studio-app #connection{display:none}.studio-app .toolbar .right{margin-top:4px}.studio-app #composer{padding:14px 16px 8px}.starter-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.starter-grid button{padding:12px 10px}.starter-grid small{font-size:9px}.canvas-toolbar .muted{display:none}}
@media(max-width:800px){.studio-app aside{width:68px;padding:26px 9px 16px}.brand{padding:0 10px;margin-bottom:30px}.brand>span,.nav-caption,.studio-app nav button span,.sidebar-bottom a,.sidebar-bottom small{display:none}.studio-app nav button{padding:0;justify-content:center;height:45px}.studio-app nav button b{margin:0;font-size:23px}.sidebar-bottom button{font-size:0;justify-content:center;padding:8px}.sidebar-bottom button>span{font-size:21px}.studio-app main{margin-left:68px}.studio-app #workspace{padding:20px 15px 8px}.studio-app header{height:60px;padding:0 15px}.workspace-top h1,.page-heading h1{font-size:19px}.workspace-top{gap:12px;flex-wrap:wrap;padding-bottom:17px}.segmented button{padding:7px 18px}.workspace-top p{font-size:10px}.studio-empty h2{font-size:15px}.starter-grid{width:100%}.starter-grid button{display:flex;flex-direction:column;gap:9px}.starter-grid small{display:none}.studio-empty{min-height:235px;padding-bottom:10px}.empty-art{margin-bottom:12px}.studio-empty>p{font-size:10px;margin-bottom:15px}.studio-app #prompt{height:58px}.studio-app .toolbar select{max-width:145px}.studio-app .toolbar .right{width:100%;justify-content:flex-end;margin-top:3px}.studio-app .toolbar #project{margin-right:auto}.studio-app .composer-foot{font-size:8px}.result-grid{grid-template-columns:repeat(auto-fill,minmax(205px,1fr))}.stats-row{gap:8px}.stats-row>div{padding:14px}.stats-row strong{font-size:23px}.page-heading{flex-wrap:wrap;margin-bottom:20px}.session-list{width:140px;padding:8px 4px}.chat-main #chat-messages{padding:18px 12px}.chat-main form{padding:12px}#suite-options{flex-wrap:wrap;gap:7px!important}#suite-options .suite-style{flex-basis:100%}.workspace-foot{font-size:8px}.canvas-page .page-heading>div:last-child{flex-wrap:wrap}.canvas-page .page-heading button{padding:7px 8px}}
@media(max-width:500px){.studio-app aside{width:52px;padding:20px 4px}.brand{font-size:26px;padding:0 11px}.studio-app main{margin-left:52px}.studio-app #workspace{padding:15px 9px 6px}.studio-app header{padding:0 8px;gap:5px}.header-title strong{font-size:12px}.studio-app #collapse{display:none}.studio-app .balance{gap:5px;font-size:10px}.studio-app .balance .primary{padding:6px 10px;margin-left:3px}.studio-app .balance .avatar{width:25px;height:25px;font-size:10px;margin-left:0}.balance .credit-dot{display:none}.workspace-top h1{font-size:16px}.workspace-top{padding-bottom:12px;gap:12px}.workspace-top p{font-size:9px}.segmented{padding:3px;border-radius:8px}.segmented button{padding:6px 20px;font-size:10px}.studio-empty{min-height:230px}.studio-empty h2{font-size:13px}.studio-empty>p{font-size:9px}.starter-grid{gap:6px}.starter-grid button{padding:10px;font-size:11px}.starter-grid strong{font-size:10px}.empty-art{width:80px;height:62px;margin-bottom:18px}.empty-art span{width:48px;height:48px;font-size:32px}.empty-art b{font-size:20px;right:-7px;bottom:-10px}.studio-app #composer{padding:12px 11px 8px;border-radius:12px}.studio-app .toolbar{gap:0;margin-top:7px;padding-top:7px}.studio-app .toolbar select{font-size:10px;max-width:100px;min-height:24px;padding:0}.studio-app .toolbar label{padding:2px 1px}.studio-app .toolbar .tool-square{width:24px;height:24px;font-size:18px}.studio-app .toolbar button{padding:6px;font-size:10px}.studio-app .toolbar .right{margin-top:8px}.studio-app #cost{font-size:9px;margin:0 6px}.studio-app .generate-button{padding:6px 10px!important;font-size:10px!important;gap:6px}.studio-app .composer-foot{line-height:1.7;flex-direction:column;gap:0;padding-top:8px}.workspace-foot{font-size:7px;padding-top:7px}.result-grid{grid-template-columns:1fr}.result-media{height:240px}.studio-app dialog{padding:20px}.case-grid{grid-template-columns:1fr}.stats-row{grid-template-columns:repeat(2,1fr)}.content-card{padding:14px}.resource-grid{grid-template-columns:1fr}.chat-layout{flex-direction:column}.session-list{width:100%;display:flex;gap:5px;max-height:60px;border-right:0;border-bottom:1px solid var(--line)}.session{flex-shrink:0;max-width:150px}.chat-main{min-height:0}.chat-main form textarea{height:45px}.chat-main form select{max-width:135px}.chat-message small{font-size:8px}.canvas-image-picker{grid-template-columns:repeat(2,1fr)}.canvas-toolbar{gap:0;padding:5px}.canvas-toolbar button{padding:7px 5px;font-size:9px}.canvas-zoom{gap:0}.page-heading h1{font-size:18px}}

.studio-app #creation-view{flex:1;height:auto}.studio-app #page-content{flex:1;min-height:0}.studio-app #workspace{min-height:0}
.model-picker{display:inline-flex;align-items:center;min-width:0}.studio-app .toolbar #model-trigger{display:flex;align-items:center;gap:5px;padding:7px 8px;color:#5e789d;font-size:12px;white-space:nowrap}.model-chevron{font-size:13px;color:#a6b2c3}#model-popover{position:fixed;z-index:50;width:280px;max-width:calc(100vw - 20px);display:flex;flex-direction:column;border:1px solid #e1e6ef;background:#fff;border-radius:7px;box-shadow:0 5px 24px #1c355225;overflow:hidden;color:#65758e}#model-menu-tabs{display:flex;gap:3px;padding:0 9px;border-bottom:1px solid #edf0f6;flex-shrink:0}#model-menu-tabs button{font-size:13px;padding:12px 13px;border-radius:0;color:#64738c;border-bottom:2px solid transparent}#model-menu-tabs button.active{color:#3988ff;border-bottom-color:#3988ff;background:white}#model-menu-items{overflow:auto;min-height:0;overscroll-behavior:contain;scrollbar-width:thin;padding:5px 0;flex:1}.studio-app #model-menu-items .model-menu-row{display:flex;width:100%;text-align:left;align-items:center;justify-content:space-between;gap:7px;min-height:34px;padding:8px 13px;border-radius:0;color:#60738e;font-size:12px;line-height:1.6}.studio-app #model-menu-items .model-menu-row:hover,.studio-app #model-menu-items .model-menu-row:focus-visible{background:#eef5ff;color:#3685f1;outline-offset:-2px}.studio-app #model-menu-items .model-menu-row.selected{color:#3685f1;background:#f0f6ff}.model-menu-row>span{min-width:0}.model-menu-row small{font-size:9px;color:#9cabbf;white-space:nowrap}.model-menu-row .unconfigured{padding:1px 4px;border-radius:4px;background:#f4f6fa;color:#a2acbc;font-size:8px}.menu-price{color:inherit;font-size:11px}.model-menu-footer{border-top:1px solid #edf0f6;padding:10px 12px;display:flex;justify-content:space-between;align-items:center;font-size:9px;color:#a3afc0;flex-shrink:0}.model-menu-footer a{color:#6088ca}.model-menu-help{padding:8px 14px;font-size:10px;color:#9cabc1;line-height:1.8}.studio-app #model-trigger:focus-visible{outline:2px solid #8db5ff;outline-offset:1px}@media(max-width:500px){.studio-app .toolbar #model-trigger{font-size:10px;padding:4px 5px;max-width:210px}#model-label-text{overflow:hidden;text-overflow:ellipsis}.studio-app #model-menu-items .model-menu-row{min-height:35px;font-size:12px}}
#commerce-popover{position:fixed;z-index:50;width:285px;max-width:calc(100vw - 20px);border:1px solid #e1e6ef;border-radius:9px;background:#fff;box-shadow:0 5px 24px #1c355225;padding:7px;overflow:auto;scrollbar-width:thin}.commerce-menu-heading{font-size:10px;color:#9facc0;padding:8px 10px 10px;border-bottom:1px solid #edf0f6;margin-bottom:4px}.studio-app #commerce-popover button{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:13px 10px;color:#637b9f}.commerce-icon{font-size:23px;width:25px;color:#7b9ff0;text-align:center}.studio-app #commerce-popover strong{display:block;font-size:12px;font-weight:500}.studio-app #commerce-popover small{display:block;font-size:9px;color:#9baac0;margin-top:6px}.studio-app #commerce-popover i{font-style:normal;color:#a3b6d4;margin-left:auto}.studio-app .toolbar #commerce-trigger[aria-expanded=true]{color:#3973ec;background:#edf3ff}.studio-app #commerce-popover button:focus-visible{outline:2px solid #8db5ff;outline-offset:-2px}
.model-menu-heading{padding:13px 14px;color:#3988ff;font-size:13px;border-bottom:1px solid #edf0f6;flex-shrink:0}.studio-app #commerce-popover{padding:5px 0;width:285px;border-radius:6px}.studio-app #commerce-popover .commerce-suite-row{display:block;border-radius:0;padding:9px 10px;min-height:35px;font-size:12px;white-space:nowrap;line-height:1.5}.commerce-suite-row span{font-size:11px}.studio-app #commerce-popover .commerce-suite-row.selected{background:#edf5ff;color:#3988ff}.studio-app .toolbar #commerce-trigger.suite-active{color:#3988ff;background:#f0f6ff}
.studio-app .job-card .job-prompt{font-size:12px;color:#63738e;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;max-height:82px;overflow:auto;margin:9px 0}.job-card>div:nth-child(2){min-width:0}
.commerce-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}.commerce-eyebrow{display:block;letter-spacing:2px;color:#9fb1cc;font-size:8px;margin-bottom:5px}.commerce-editor-heading h2{font-size:17px;margin:0;color:#344c70;font-weight:550}.commerce-workflow{font-size:10px;color:#9baac0}.studio-app #commerce-editor #suite-options{padding:10px 12px;background:#f6f8fc;border:1px solid #edf1f7;border-radius:8px;margin-bottom:14px;gap:15px}.commerce-editor-grid{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.2fr);gap:15px}.product-image-panel,.product-brief-panel{border:1px solid #e4eaf4;border-radius:11px;padding:15px;background:#fff;min-width:0}.commerce-panel-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:10px;color:#9aabc2;margin-bottom:14px}.commerce-panel-heading>div{display:flex;align-items:center;gap:8px}.commerce-panel-heading strong{font-size:12px;color:#516987;font-weight:550}.commerce-step{font-size:10px;display:flex;align-items:center;justify-content:center;width:23px;height:23px;border-radius:7px;background:#edf3ff;color:#7a9bd7}.manual-free{font-size:9px;color:#8ea58e}.studio-app #commerce-dropzone{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:160px;width:100%;border:1px dashed #c9d9f3;border-radius:9px;background:#f8fbff;color:#7996c3;padding:15px}.studio-app #commerce-dropzone:hover,.studio-app #commerce-dropzone.dragging{background:#eff5ff;border-color:#83aaf1}.drop-icon{font-size:23px;width:37px;height:37px;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid #dfE8f8;border-radius:10px;color:#8eaee8}.studio-app #commerce-dropzone strong{font-size:12px;font-weight:500}.studio-app #commerce-dropzone small{font-size:9px;color:#a6b5ca}.has-product-images #commerce-dropzone{min-height:60px!important;padding:10px!important;display:grid!important;grid-template-columns:30px 1fr!important;gap:4px 10px!important;text-align:left}.has-product-images #commerce-dropzone .drop-icon{grid-row:1/4;width:28px;height:28px;font-size:19px}.has-product-images #commerce-dropzone small:last-child{display:none}.commerce-image-actions{display:flex;justify-content:space-between;gap:5px;margin-top:10px}.commerce-image-actions button{font-size:10px;color:#849abb;padding:6px 8px}.commerce-panel-tip{font-size:9px;line-height:1.8;color:#a9b5c7;margin:9px 0 0}.studio-app #commerce-editor #uploads{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;max-height:168px;overflow:auto;margin-top:12px;padding:4px 3px 0;scrollbar-width:thin}.studio-app #commerce-editor #uploads:empty{display:none}.studio-app #commerce-editor .thumb{display:block;margin:0;min-width:0}.studio-app #commerce-editor .thumb img{width:100%;height:76px;object-fit:contain;background:#f5f8fc;border-color:#e4ebf7}.studio-app #commerce-editor .thumb:only-child{grid-column:1/-1}.studio-app #commerce-editor .thumb:only-child img{height:148px}.studio-app #commerce-editor .thumb button{top:-3px;right:-3px}.extract-toolbar{margin-bottom:12px}.extract-toolbar>div{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.studio-app #extract-product{display:inline-flex;align-items:center;gap:8px;background:#eef4ff;color:#648aca;font-size:11px;padding:8px 10px}.studio-app #extract-product:hover{background:#e5efff}.studio-app #extract-product:disabled{cursor:not-allowed;opacity:.6}.studio-app #extract-product>span:first-child{font-size:17px}.studio-app #extract-product em{font-size:9px;font-style:normal;color:#8fa7cc;padding-left:8px;border-left:1px solid #cfddf4}.extract-toolbar small{font-size:9px;color:#9eacc0;line-height:1.7}.studio-app #commerce-editor #prompt{height:156px;min-height:120px;max-height:280px;resize:vertical;background:#fbfcfe;border:1px solid #e3eaf5;border-radius:8px;padding:12px 13px;font-size:12px;line-height:1.9;color:#5a6d8c}.studio-app #commerce-editor #prompt::placeholder{font-size:11px;color:#a2b0c5}.commerce-brief-footer{display:flex;justify-content:space-between;align-items:center;margin-top:5px;font-size:9px;color:#a4b2c7}.commerce-brief-footer>div{display:flex;gap:4px}.commerce-brief-footer button{font-size:9px;color:#8a9fbc;padding:4px 6px}#commerce-extract-status{font-size:10px;color:#839cc0;line-height:1.8;margin-top:8px;white-space:pre-wrap}#commerce-extract-status:empty{display:none}#commerce-extract-status.error{color:#c77c77}#commerce-extract-preview{padding:12px;margin-top:11px;background:#f6f9ff;border:1px solid #dce7fa;border-radius:8px}.extraction-preview-heading{display:flex;justify-content:space-between;gap:10px;font-size:10px;color:#7f96b8}.extraction-preview-heading span{font-size:9px;color:#a4b2c7}#extraction-result-text{max-height:150px;overflow:auto;white-space:pre-wrap;font:11px/1.8 "Microsoft YaHei",sans-serif;color:#7a8ea9}#commerce-extract-preview button{font-size:10px;color:#7294cb;padding:5px 7px}#commerce-cost-breakdown{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:#f8fafe;border:1px solid #e8eef8;border-radius:9px;margin:14px 0 4px;padding:13px 16px;gap:15px}#commerce-cost-breakdown>div{display:flex;flex-wrap:wrap;align-items:center;gap:5px 12px}#commerce-cost-breakdown span{font-size:10px;color:#8e9fb9}#commerce-cost-breakdown strong{font-size:15px;font-weight:550;color:#708bb5}#commerce-cost-breakdown strong small{font-size:9px;font-weight:400;color:#99aac2}#commerce-cost-breakdown>div>small{flex-basis:100%;font-size:9px;color:#acb8ca;line-height:1.6}#commerce-cost-breakdown .commerce-total{border-left:1px solid #e4ebf6;padding-left:16px}#commerce-cost-breakdown .commerce-total strong{color:#5d85ce}.studio-app #creation-view.commerce-view{overflow:auto;padding-bottom:3px;scrollbar-width:thin}.commerce-view .workspace-top{padding-bottom:13px}.commerce-view .result-heading{margin-bottom:7px}.studio-app .commerce-view #output{flex:1 0 100px;min-height:80px;max-height:260px}.commerce-view .studio-empty{min-height:70px;padding:10px}.commerce-view .studio-empty .empty-art{display:none}.commerce-view .studio-empty h2{font-size:12px;color:#a0afc5;font-weight:400;margin-bottom:5px}.commerce-view .studio-empty p{font-size:9px;margin:0}.commerce-view #composer{margin-top:9px}.commerce-view .result-media{height:135px}.commerce-view .result-info{padding:9px}.commerce-view .result-info p{display:none}.commerce-view .result-actions{margin-top:6px}.commerce-view .result-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:10px}.commerce-view .setup-hint{margin:3px 0!important}
@media(min-width:1600px){.studio-app #commerce-editor #prompt{height:175px}.commerce-editor-grid{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}}@media(max-width:1000px){.commerce-editor-grid{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:10px}.product-image-panel,.product-brief-panel{padding:12px}.commerce-workflow{display:none}#commerce-cost-breakdown{padding:10px;gap:8px}.commerce-panel-heading strong{font-size:11px}.commerce-panel-heading{gap:4px}.commerce-panel-heading .manual-free{font-size:8px}.studio-app #commerce-editor #uploads{grid-template-columns:repeat(3,minmax(0,1fr))}#commerce-cost-breakdown .commerce-total{padding-left:9px}}@media(max-width:700px){.commerce-editor-grid{grid-template-columns:1fr}.studio-app #commerce-editor #uploads{grid-template-columns:repeat(4,minmax(0,1fr))}.studio-app #commerce-editor .thumb:only-child{grid-column:auto}.studio-app #commerce-editor .thumb:only-child img{height:80px}.studio-app #commerce-dropzone{min-height:125px}.commerce-panel-tip{display:none}.studio-app #commerce-editor #prompt{height:170px}.commerce-panel-heading{margin-bottom:10px}.commerce-image-actions{margin-top:6px}#commerce-cost-breakdown{grid-template-columns:1fr;gap:8px}#commerce-cost-breakdown>div{justify-content:space-between}#commerce-cost-breakdown>div>small{flex-basis:auto;font-size:8px}#commerce-cost-breakdown .commerce-total{border:0;border-top:1px solid #e4ebf6;padding:8px 0 0}.commerce-editor-heading h2{font-size:15px}.studio-app .commerce-view #output{flex:0 0 auto;max-height:220px;min-height:50px}.commerce-view .studio-empty{min-height:45px;padding:5px}.commerce-view .studio-empty h2{font-size:10px}.commerce-view .studio-empty p{font-size:8px}.commerce-view .workspace-top{padding-bottom:10px}.studio-app #commerce-editor #suite-options{padding:9px;margin-bottom:11px}.commerce-editor-heading{margin-bottom:11px}}@media(max-width:400px){.commerce-panel-heading strong{font-size:11px}.commerce-step{width:21px;height:21px}.commerce-panel-heading{gap:4px}#commerce-cost-breakdown>div>small{flex-basis:100%}.studio-app #extract-product{font-size:10px}.studio-app #commerce-editor #prompt{font-size:11px;padding:10px}.extract-toolbar>div{gap:7px}}
.past-extraction-list{display:flex;flex-direction:column;gap:12px}.past-extraction-list article{padding:15px;border:1px solid #e4eaf5;border-radius:9px}.past-extraction-list article>div{display:flex;justify-content:space-between;gap:10px;font-size:11px;color:#7c91b0}.past-extraction-list small{font-size:9px;color:#9cacc3}.past-extraction-list pre{white-space:pre-wrap;max-height:150px;overflow:auto;font:11px/1.8 "Microsoft YaHei",sans-serif;color:#8597b2}.past-extraction-list button{font-size:11px;color:#6b92d1}
.studio-app .commerce-view .toolbar .left>.model-picker,.studio-app .commerce-view .toolbar .left>label,.studio-app .commerce-view .toolbar #materials,.studio-app .commerce-view .toolbar #example{display:none!important}
.commerce-heading-actions{display:flex;align-items:center;justify-content:flex-end;gap:15px}.studio-app #commerce-back{display:inline-flex;align-items:center;white-space:nowrap;border:1px solid #dbe5f5;background:#f4f8ff;color:#6689be;padding:8px 12px;font-size:11px}.studio-app #commerce-back:hover{background:#eaf2ff;color:#3973ec}.studio-app .toolbar #commerce-back-bottom{color:#6488be;background:#f1f6ff;white-space:nowrap}.commerce-heading-actions .commerce-workflow{white-space:nowrap}@media(max-width:700px){.commerce-heading-actions{gap:0}.studio-app #commerce-back{padding:7px 8px;font-size:10px}.commerce-editor-heading{align-items:center}.commerce-heading-actions .commerce-workflow{display:none}}
.studio-app #creation-view.commerce-view{overflow:hidden}.studio-app .commerce-view #output{flex:1 1 0;min-height:120px;max-height:none}.studio-app .commerce-view #composer{display:flex;flex-direction:column;flex:0 1 auto;min-height:0;max-height:min(360px,46dvh);padding:13px 15px 8px}.studio-app #commerce-editor{display:flex;flex-direction:column;min-height:0;overflow:hidden}.studio-app #commerce-editor-body{min-height:0;overflow:auto;scrollbar-width:thin;padding-right:3px;overscroll-behavior:contain}.commerce-view .commerce-editor-heading{flex-shrink:0;margin-bottom:9px}.commerce-view .commerce-editor-heading h2{font-size:15px}.commerce-view .commerce-eyebrow{display:none}.studio-app #commerce-toggle{padding:7px 10px;border:1px solid #dbe5f5;background:white;color:#7392bf;white-space:nowrap;font-size:11px}.commerce-view .toolbar,.commerce-view .composer-foot{flex-shrink:0}.commerce-view .product-image-panel,.commerce-view .product-brief-panel{padding:11px}.commerce-view .commerce-panel-heading{margin-bottom:8px}.studio-app .commerce-view #commerce-dropzone{min-height:95px;padding:10px;gap:4px}.commerce-view #commerce-dropzone .drop-icon{height:27px;width:27px;font-size:19px}.studio-app .commerce-view #commerce-editor #prompt{height:100px;min-height:80px;max-height:180px;font-size:11px;padding:10px}.commerce-view .extract-toolbar{margin-bottom:8px}.commerce-view .commerce-panel-tip{display:none}.studio-app .commerce-view #commerce-editor #suite-options{padding:7px 10px;margin-bottom:10px}.commerce-view #commerce-cost-breakdown{padding:8px 10px;margin-top:10px}.studio-app .commerce-view #commerce-editor #uploads{max-height:100px;margin-top:8px}.studio-app .commerce-view #commerce-editor .thumb:only-child img{height:85px}.commerce-view .commerce-image-actions{margin-top:6px}.commerce-view .result-media{height:230px}.commerce-view .result-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}.studio-app .commerce-view.commerce-collapsed #composer{flex:0 0 auto;max-height:none;padding-top:10px}.commerce-collapsed .commerce-editor-heading{margin-bottom:5px}#commerce-collapsed-summary{font-size:10px;line-height:1.7;color:#96a7bf;padding:0 0 3px}.commerce-collapsed .toolbar{margin-top:7px;padding-top:7px}.commerce-collapsed .commerce-workflow{display:none}.commerce-collapsed .result-media{height:280px}@media(max-width:700px){.studio-app .commerce-view #composer{max-height:46dvh;padding:10px}.commerce-view .commerce-editor-heading{align-items:flex-start;flex-direction:column;gap:7px}.commerce-view .commerce-heading-actions{width:100%;justify-content:space-between;gap:8px}.studio-app .commerce-view #commerce-back,.studio-app .commerce-view #commerce-toggle{font-size:10px;padding:6px 8px}.commerce-view .result-grid{grid-template-columns:1fr}.commerce-view .result-media{height:200px}.commerce-collapsed .result-media{height:260px}.studio-app .commerce-view #output{min-height:100px}.commerce-view #commerce-cost-breakdown{margin-bottom:2px}.commerce-view .commerce-panel-heading strong{font-size:11px}.commerce-view .commerce-editor-grid{gap:9px}}
