.white-launcher{position:fixed;left:20px;top:164px;z-index:100;background:#fff;color:#77608d;border:1px solid #e3ddea;border-radius:9px;padding:9px 13px;box-shadow:0 5px 20px #29213318;font:12px Inter,"Microsoft YaHei",sans-serif;cursor:pointer}
[data-white-studio]{position:fixed;inset:0;z-index:2100;background:#28233055;backdrop-filter:none;padding:18px;color:#45414c;font:12px/1.65 Inter,"Microsoft YaHei",sans-serif;--line:#e3ddea;--muted:#857b91;--purple:#9d80c3}
[data-white-studio] *{box-sizing:border-box}[data-white-studio] .white-shell{height:100%;max-width:1560px;margin:auto;background:#fff;border:1px solid #e3ddea;border-radius:20px;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 30px 100px #29213318}[data-white-studio] button,[data-white-studio] input,[data-white-studio] select,[data-white-studio] textarea{font:inherit;color:inherit;background:#fff;border:1px solid #e3ddea;border-radius:8px;padding:7px 10px;outline:none}[data-white-studio] button{cursor:pointer;white-space:nowrap}[data-white-studio] button:hover{border-color:#e3ddea;background:#f4f1f8}[data-white-studio] button:disabled{opacity:.4;cursor:default}[data-white-studio] :focus-visible{outline:2px solid #aa8dcd;outline-offset:2px}[data-white-studio] input[type=checkbox]{accent-color:#a58ac8;margin:0;flex-shrink:0}[data-white-studio] h1,[data-white-studio] h2,[data-white-studio] p{margin:0}[data-white-studio] h1{font-size:21px;font-weight:600;letter-spacing:.2px}[data-white-studio] h1 span{font-size:11px;font-weight:400;margin-left:14px;color:#45414c}[data-white-studio] h2{font-size:13px;font-weight:600}[data-white-studio] small{font-size:10px;color:#857b91}
.white-header{padding:19px 24px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:15px}.white-eyebrow{font-size:9px;letter-spacing:1.7px;color:#77608d;margin-bottom:6px}.white-steps{display:grid;grid-template-columns:1fr 1.4fr 1fr;border-bottom:1px solid var(--line);background:#f8f6fb;padding:11px 24px;gap:16px;color:#45414c;font-size:11px}.white-steps i{font-style:normal;border:1px solid #e3ddea;color:#45414c;padding:2px 5px;margin-right:8px;border-radius:4px;font-size:9px}.white-body{display:grid;grid-template-columns:minmax(230px,1fr) minmax(320px,1.45fr) minmax(250px,1fr);flex:1;min-height:0}.white-source-panel,.white-editor,.white-output{overflow:auto;padding:20px;min-width:0}.white-source-panel,.white-editor{border-right:1px solid var(--line)}.white-source-panel{background:#f8f6fb}.white-output{background:#f8f6fb}.white-section{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}.white-row{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.white-between{justify-content:space-between}.white-role{background:#f8f6fb;border:1px solid #e3ddea;border-radius:10px;padding:12px;margin-bottom:12px;color:#45414c;overflow-wrap:anywhere}.white-role b{color:#45414c;font-weight:500}.white-role span{color:#45414c;margin:0 5px}.white-tools{display:flex;gap:5px;margin-bottom:12px}.white-tools input{width:100%;min-width:0}.white-tools select{max-width:100px}.white-source-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.white-image{background:#fff;border:1px solid #e3ddea;border-radius:10px;padding:7px;min-width:0}.white-image.subject{border-color:#c7b6df;background:#eee8f6}.white-image.style{border-color:#c7b6df;background:#eee8f6}.white-thumb{height:112px;background:#fff;border-radius:6px;position:relative;overflow:hidden}.white-thumb img{width:100%;height:100%;object-fit:contain}.white-thumb span{position:absolute;bottom:4px;left:4px;border-radius:4px;padding:1px 5px;background:#fff;color:#45414c;font-size:9px}.white-image strong{font-size:10px;font-weight:400;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:6px 0}.white-image button{font-size:9px;padding:4px 5px;flex:1}.white-image .white-row{flex-wrap:nowrap;gap:4px}.white-muted{font-size:10px;line-height:1.75;color:#857b91;margin:10px 0!important;overflow-wrap:anywhere}.white-empty{border:1px dashed #e3ddea;border-radius:9px;padding:17px 12px;font-size:11px;color:#857b91;line-height:1.8;grid-column:1/-1}.white-label{display:block;margin:12px 0 8px;color:#45414c;font-size:11px}.white-label>textarea,.white-label>select{display:block;width:100%;margin-top:6px}.white-label canvas-vision-model{margin-top:7px}.white-observations{background:#fff;border:1px solid var(--line);border-radius:9px;padding:10px;margin-bottom:12px}[data-white-studio] summary{font-size:11px;color:#45414c;cursor:pointer;margin-bottom:5px}[data-white-studio] dl{display:grid;grid-template-columns:75px 1fr;gap:4px 7px;font-size:10px;margin:8px 0 0}[data-white-studio] dt{color:#857b91}[data-white-studio] dd{margin:0;color:#45414c;overflow-wrap:anywhere}.white-tag{font-size:9px;background:#fff;padding:2px 5px;border-radius:4px;color:#77608d}.white-check{display:flex;align-items:flex-start;gap:7px;margin:9px 0;font-size:10px;line-height:1.6}.white-check small{display:block;color:#857b91}.white-text-list{max-height:200px;overflow:auto}.white-prompt{width:100%;min-height:250px;line-height:1.9!important;font-size:11px!important;resize:vertical;background:#fff!important;padding:13px!important;margin-bottom:8px}.white-params{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:13px 0}.white-params label{font-size:10px;color:#45414c}.white-params select{width:100%;margin-top:4px;padding:7px}.white-permission{background:#f8f6fb;border:1px solid #e3ddea;border-radius:10px;padding:12px;margin:14px 0}.white-permission p{font-size:10px;color:#45414c;overflow-wrap:anywhere}.white-primary{background:#e8def4!important;color:#77608d!important;border-color:#c7b6df!important;font-weight:600!important}.white-generate{display:block;width:100%;font-size:14px!important;padding:11px!important;margin:12px 0 9px}.white-output>.white-row{margin-bottom:24px}.white-output>.white-row button{flex:1;font-size:10px}.white-result{border:1px solid var(--line);border-radius:10px;margin-bottom:11px;overflow:hidden}.white-result>img{width:100%;height:170px;object-fit:contain;background:#fff}.white-result>div{padding:8px 10px}.white-result button{font-size:9px;margin:7px 5px 0 0}.white-footer{border-top:1px solid var(--line);background:#f8f6fb;min-height:48px;padding:12px 22px;display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:11px;color:#857b91}[data-white-studio] .error{color:#b45e6a!important}.white-confirm{position:absolute;inset:0;background:#fff;display:grid;place-items:center;z-index:2;padding:20px}.white-confirm form{width:min(470px,100%);border:1px solid #e3ddea;border-radius:16px;background:#f8f6fb;padding:25px;box-shadow:0 15px 65px #29213318}.white-confirm h2{font-size:18px!important;margin:10px 0}.white-confirm p{color:#45414c;font-size:11px;margin:12px 0}.white-confirm select{width:100%;margin:8px 0}.white-confirm .white-row{justify-content:flex-end;margin-top:17px}@media(max-width:1060px){[data-white-studio]{padding:8px}.white-body{grid-template-columns:220px minmax(290px,1fr) 250px}.white-source-panel,.white-editor,.white-output{padding:13px}.white-header{padding:14px}.white-header h1 span{display:none}.white-thumb{height:86px}}@media(max-width:800px){.white-body{display:block;overflow:auto}.white-source-panel,.white-editor,.white-output{overflow:visible;border-right:0;border-bottom:1px solid var(--line)}.white-source-grid{grid-template-columns:repeat(3,minmax(0,1fr));max-height:300px;overflow:auto}.white-steps{padding:10px;font-size:9px;gap:8px}.white-header h1{font-size:17px}.white-header button{font-size:10px}}

.white-context{background:#f8f6fb;border:1px solid #e3ddea;border-radius:8px;padding:5px 10px;margin:14px 0 6px}.white-context .white-check{font-size:11px;margin:5px 0}.white-context b{font-size:10px;font-weight:400;color:#45414c;margin-left:5px}.white-context small{display:block;font-size:10px;margin:3px 0 5px}
.white-context-summary{padding:12px;margin-bottom:14px;background:#f8f6fb;border:1px solid #e3ddea;border-radius:9px;font-size:10px;line-height:1.8;overflow-wrap:anywhere}.white-context-summary b{color:#45414c}.white-workflow-skills{border:1px solid #e3ddea;border-radius:10px;background:#f8f6fb;padding:12px;margin:13px 0}.white-fixed-skill{display:inline-block;margin:3px 4px 7px 0;font-size:9px;color:#45414c;background:#f8f6fb;padding:3px 6px;border-radius:5px}.white-skill-options{max-height:235px;overflow:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.white-skill{display:flex;align-items:flex-start;gap:6px;padding:8px;background:#f8f6fb;border-radius:7px;font-size:10px}.white-skill input{margin-top:3px!important}.white-skill small{display:block;font-size:9px;line-height:1.6;margin-top:3px}.white-skill.blocked{opacity:.5}.white-task{padding:9px;border:1px solid #e3ddea;border-radius:8px;margin:8px 0;font-size:10px}.white-task small{display:block;overflow-wrap:anywhere}.white-versions{display:flex;flex-direction:column;gap:6px;max-height:160px;overflow:auto}.white-versions button{text-align:left;font-size:10px!important;white-space:normal!important}.white-confirm form{max-height:92vh;overflow:auto}.white-confirm textarea{width:100%;min-height:180px;max-height:42vh;resize:vertical;font-size:11px!important;line-height:1.8!important}.white-section:has([data-prompt-state]){flex-wrap:wrap}
.white-source-panel{overflow-x:hidden}.white-source-grid{grid-template-columns:repeat(auto-fit,minmax(130px,1fr))}.white-source-panel>.white-section{flex-wrap:wrap}.white-source-panel .white-tools{flex-wrap:wrap}.white-source-panel .white-tools input{flex:1 0 100%}.white-source-panel .white-tools select{flex:1;max-width:none}.white-image .white-row{flex-wrap:wrap}.white-image .white-row button{min-width:55px}.white-source-panel h2{white-space:nowrap}@media(max-width:800px){.white-source-grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}}

.white-scene-card{padding:12px;border:1px solid #e3ddea;border-radius:10px;background:#f8f6fb;margin:12px 0 16px}.white-scene-card .white-section{margin:0 0 9px}.white-scene-card .white-check{margin:0}.white-scene-source{display:flex;gap:9px;align-items:center}.white-scene-preview{width:68px;height:58px;flex-shrink:0;background:#fff;border:1px dashed #e3ddea;border-radius:7px;display:grid;place-items:center;overflow:hidden}.white-scene-preview img{width:100%;height:100%;object-fit:contain}.white-scene-preview span{font-size:8px;color:#45414c}.white-scene-source b{font-size:10px;font-weight:400;overflow-wrap:anywhere}.white-scene-source button{display:block;margin-top:6px;font-size:9px!important;padding:3px 6px!important}.white-scene-card>button{width:100%;margin-top:8px;font-size:10px}.white-scene-card .white-scene-generate{white-space:normal!important}.white-scene-card dl{grid-template-columns:62px 1fr}.white-image.scene{border-color:#c7b6df;background:#eee8f6}

.white-inline-skill{margin:12px 0;padding:11px;background:#f8f6fb;border:1px solid #e3ddea;border-radius:9px}.white-inline-skill>small{display:block;overflow-wrap:anywhere;line-height:1.7}.white-inline-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:10px 0}.white-inline-actions button{white-space:normal!important;font-size:11px!important;padding:9px 5px!important}.white-inline-skill textarea{display:block;width:100%;min-height:200px;max-height:360px;resize:vertical;font-size:10px!important;line-height:1.85!important;margin:8px 0}.white-inline-skill .white-row button{font-size:9px;padding:5px 7px}.white-inline-skill summary{white-space:normal}.white-inline-skill .white-muted{font-size:9px}

.white-replace-card{border:1px solid #e3ddea;border-radius:10px;background:#f8f6fb;padding:11px;margin:12px 0}.white-replace-card>.white-check{font-size:12px;margin:0}.white-replace-pair{display:grid;grid-template-columns:1fr 16px 1fr;gap:7px;align-items:center;margin:10px 0}.white-replace-pair>span{text-align:center;color:#45414c}.white-replace-pair img,.white-replace-pair [data-replace-product]>span,.white-replace-pair [data-replace-target-preview]>span{display:block;height:78px;width:100%;object-fit:contain;background:#fff;border-radius:6px}.white-replace-pair b{display:block;font-size:9px;font-weight:400;overflow-wrap:anywhere;line-height:1.5;margin-top:5px}.white-replace-pair small{display:block;margin-bottom:5px}.white-replace-pair [data-replace-product]>span,.white-replace-pair [data-replace-target-preview]>span{display:grid;place-items:center;color:#45414c}.white-replace-card .white-row button{font-size:9px;padding:5px 6px}.white-replace-card [data-replace-content]>button{width:100%;margin-top:8px;font-size:10px;white-space:normal}.white-image.replace-target{border-color:#c7b6df;background:#eee8f6}

.white-scene-card [data-scene-mode]{width:100%;max-width:100%;font-size:11px}.white-scene-card [data-scene-mode-hint]{line-height:1.8;overflow-wrap:anywhere}

.white-creation-bar{display:grid;grid-template-columns:minmax(240px,1fr) minmax(240px,1fr) minmax(260px,1.4fr);gap:14px;align-items:center;padding:12px 24px;background:#f8f6fb;border-bottom:1px solid #e3ddea;flex-shrink:0}.white-creation-bar label{font-size:10px;color:#45414c}.white-creation-bar select{display:block;width:100%;margin-top:5px}.white-creation-bar b{display:block;font-size:11px;font-weight:500;line-height:1.7;color:#45414c}.white-creation-bar small{display:block;margin-top:4px;line-height:1.7}.white-creation-bar [hidden]{display:none!important}@media(max-width:1060px){.white-creation-bar{padding:10px 14px;grid-template-columns:1fr 1fr}.white-creation-bar>div{grid-column:1/-1}}@media(max-width:800px){.white-creation-bar{grid-template-columns:1fr;padding:10px 14px;max-height:230px;overflow:auto}.white-creation-bar>div{grid-column:auto}.white-creation-bar b{font-size:10px}}

.white-skill-rework{border:1px solid #e3ddea;background:#f8f6fb;border-radius:12px;padding:14px;margin-bottom:20px}.white-skill-rework>button{width:100%;white-space:normal!important;margin-top:6px;font-size:12px!important}.white-skill-rework>small{display:block;overflow-wrap:anywhere}.white-skill-rework textarea{min-height:80px;resize:vertical}.white-skill-rework .white-label{margin-top:8px}

[data-white-studio] .white-replace-summary{font-size:13px;font-weight:600;color:#45414c;margin:0}.white-replace-card[open]>.white-replace-summary{margin-bottom:12px}.white-replace-card [data-replace-current]{padding:9px 0;border-bottom:1px solid #e3ddea;margin-bottom:15px}.white-replace-card [data-replace-current]>button{display:block;width:100%;margin-top:8px;font-size:10px;white-space:normal}.white-replace-card [data-replacement-tasks]{margin-top:14px}.white-batch-header{margin:0}.white-batch-header small{display:block;margin-top:3px}.white-batch-run{display:block;width:100%;white-space:normal!important;margin:10px 0;padding:10px!important}.white-batch-task{margin-top:10px;padding:10px;border:1px solid #e3ddea;border-radius:9px;background:#fff}.white-batch-task>summary{display:flex;align-items:flex-start;gap:8px;justify-content:space-between;margin:0;list-style:none}.white-batch-task>summary:before{content:'▸';color:#45414c}.white-batch-task[open]>summary:before{content:'▾'}.white-batch-label{min-width:0;flex:1;overflow-wrap:anywhere;font-size:11px}.white-batch-task>summary>b{font-size:9px;color:#45414c;white-space:nowrap;padding:2px 5px;border-radius:4px;background:#fff}.white-batch-task [data-task-state=completed]{color:#45414c;background:#fff}.white-batch-task [data-task-state=failed],.white-batch-task [data-task-state=partial]{color:#a57845;background:#fcf6eb}.white-batch-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:9px}.white-batch-source{min-width:0}.white-batch-source>b{font-size:10px;font-weight:400}.white-batch-thumb{height:78px;display:grid;place-items:center;background:#fff;border:1px dashed #e3ddea;border-radius:7px;margin:5px 0;color:#45414c}.white-batch-thumb img{width:100%;height:100%;object-fit:contain;min-height:0}.white-batch-source select{display:block;width:100%;min-width:0;padding:5px!important;font-size:10px!important}.white-batch-source button{width:100%;font-size:9px!important;margin-top:5px}.white-batch-task textarea{width:100%;resize:vertical;line-height:1.8!important}.white-batch-task .white-inline-actions button{font-size:10px!important}.white-batch-prompt textarea{min-height:180px}.white-batch-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:7px}.white-batch-results img{display:block;width:100%;height:90px;object-fit:contain;background:#fff;border-radius:5px}.white-batch-results button{width:100%;font-size:9px!important;margin-top:4px}.white-batch-task .white-row button{white-space:normal!important}.white-replace-card [data-batch-file][hidden]{display:none!important}

.white-angles{margin-bottom:18px;padding:15px;border:1px solid #e3ddea;border-radius:12px;background:#fff}
.white-angles summary{display:flex;gap:8px;justify-content:space-between;flex-wrap:wrap;cursor:pointer;color:#45414c}
.white-angles summary small{font-size:11px;color:#857b91}
.white-angle-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:13px 0}
.white-angle-options label{padding:7px 9px;border:1px solid #e3ddea;border-radius:8px;background:#fff}
.white-angle-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:12px}
.white-angle-result{min-width:0;padding:8px;border:1px solid #e3ddea;border-radius:10px;background:#fff}
.white-angle-result img{display:block;width:100%;height:130px;object-fit:contain;border-radius:6px}
.white-angle-result b{display:block;font-size:12px;margin:7px 0}
.white-angle-result button{font-size:11px;padding:6px}
@media(max-width:450px){.white-angle-options,.white-angle-results{grid-template-columns:1fr}}
