*{box-sizing:border-box}html,body,#root{margin:0;width:100%;height:100%}body{font:13px/1.65 -apple-system,BlinkMacSystemFont,Segoe UI,Microsoft YaHei,sans-serif;color:#242831;background:#fff}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer;border:1px solid transparent;background:transparent;border-radius:6px;padding:5px 9px;white-space:nowrap}button:hover{background:#eef0f3}button:focus-visible,a:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid #6556cc;outline-offset:2px}button.active,button.primary{background:#22252a;color:#fff}button.outline{border-color:#dedfe3;background:#fff}button:disabled{opacity:.45;cursor:not-allowed}input,select{border:1px solid #dddfe3;border-radius:7px;padding:9px;background:#fff}textarea{resize:none;width:100%;border:0;padding:0;background:transparent}h1,h2,h3,p{margin:0}small,.muted{color:#8a8e98}.good{color:#237a53}.warn{color:#a86b12}.red{color:#b94343}.grow{flex:1}.studio{height:100dvh;display:flex;flex-direction:column;overflow:hidden}.topbar{height:48px;flex:none;display:flex;align-items:center;gap:12px;padding:0 14px;border-bottom:1px solid #e4e5e8;background:#fff;position:relative;z-index:6}.logo{font-weight:800;letter-spacing:-.7px;font-size:17px;display:flex;align-items:center;gap:7px}.logo i{width:20px;height:20px;border:2px solid #26272c;border-radius:5px;display:inline-grid;place-items:center;font-style:normal;font-size:11px}.crumb{color:#777;white-space:nowrap;max-width:210px;overflow:hidden;text-overflow:ellipsis}.menus,.top-actions{display:flex;gap:2px;align-items:center}.menu-item{position:relative}.tabs{display:flex;gap:2px;background:#f4f4f5;border:1px solid #e9e9eb;padding:2px;border-radius:8px}.tabs button{padding:3px 13px}.workspace{display:grid;grid-template-columns:345px minmax(0,1fr);flex:1;min-height:0}.workspace.hidechat{grid-template-columns:0 minmax(0,1fr)}.chat{border-right:1px solid #e3e4e7;display:flex;flex-direction:column;min-height:0;overflow:hidden;background:#fdfdfe}.chathead{padding:10px 12px;display:flex;align-items:center;border-bottom:1px solid #ececef;gap:6px;flex:none}.chatbody{flex:1;overflow:auto;padding:15px 15px 8px}.message{margin:0 0 17px;overflow-wrap:anywhere;white-space:pre-wrap}.message.user{background:#f0f1f3;padding:11px 13px;border-radius:10px}.message.ai{line-height:1.8}.agenthead{display:flex;align-items:center;gap:7px;font-weight:650;margin-bottom:8px}.agentmark{width:22px;height:22px;display:grid;place-items:center;background:#e9e8ff;color:#5643c4;border-radius:6px}.steps{margin:10px 0}.step{display:flex;align-items:center;gap:8px;font-size:12px;color:#606570;padding:3px 0}.step b{color:#47836b;font-weight:500}.result{border:1px solid #e2e4e9;border-radius:9px;padding:11px;margin-top:12px}.result .line{display:flex;justify-content:space-between;padding:4px 0}.result h3{font-size:12px;margin-bottom:5px}.compose{border:1px solid #dedfe4;margin:10px;border-radius:12px;padding:11px;box-shadow:0 2px 8px #00000007;flex:none;background:#fff}.compose textarea{height:58px}.composefoot{display:flex;align-items:center;gap:6px}.composefoot select{font-size:11px;padding:3px;border:0;color:#777}.send{background:#6355cb;color:#fff;border-radius:8px;font-size:13px}.send:hover{background:#5143bb}.attachment-list{max-height:64px;overflow:auto;display:flex;gap:4px;flex-wrap:wrap}.attachment-list button{font-size:11px;max-width:100%;overflow:hidden;text-overflow:ellipsis}.canvasarea{display:flex;flex-direction:column;min-width:0;min-height:0;position:relative}.canvashead{height:38px;flex:none;display:flex;align-items:center;gap:8px;padding:0 12px;border-bottom:1px solid #e5e6e9;background:#fff}.separator{height:18px;border-left:1px solid #ddd}.hint{font-size:11px;color:#888}.canvaswrap{flex:1;position:relative;overflow:hidden;min-height:0;background:#fff}.schematic-bg{background:#fcfcef}.overview-svg{width:100%;height:100%;touch-action:none;display:block}.module{cursor:pointer}.module:focus-visible{outline:2px solid #6355cb}.pan-cursor,.pan-cursor .module{cursor:grab}.tools{position:absolute;right:12px;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;gap:2px;padding:4px;background:#fff;border:1px solid #dedfe2;border-radius:10px;box-shadow:0 2px 5px #0000000a}.tools button{display:flex;flex-direction:column;align-items:center;justify-content:center;width:42px;padding:4px 2px;font-size:10px;line-height:1.5}.tools button span{font-size:16px;line-height:1.25}.lefttools{position:absolute;left:12px;top:14px;display:flex;gap:4px;border:1px solid #dddfe3;background:#fff;border-radius:8px;padding:3px}.zoom{position:absolute;bottom:14px;left:50%;transform:translate(-50%);background:#fff;border:1px solid #d8d9de;border-radius:20px;display:flex;align-items:center;padding:2px 5px;gap:4px;box-shadow:0 2px 6px #00000009}.zoom span{font-size:11px;min-width:43px;text-align:center}.sheetbar{height:39px;flex:none;display:flex;align-items:center;gap:4px;overflow:auto;padding:0 10px;border-top:1px solid #e4e5e8}.sheetbar button{font-size:12px;padding:4px 9px}.sheetbar button.selected{background:#eceef1;font-weight:650}.statusbar{height:25px;flex:none;border-top:1px solid #eee;display:flex;align-items:center;gap:12px;padding:0 12px;color:#8c9099;font:11px Consolas,monospace;white-space:nowrap;overflow:hidden}.panel{position:absolute;right:65px;top:14px;background:#fff;border:1px solid #e0e1e5;border-radius:10px;width:252px;box-shadow:0 8px 24px #00000014;padding:14px;z-index:3}.panel h3{font-size:14px}.panel .line{padding:8px 0;border-bottom:1px solid #eee}.panel strong{display:block}.panel p{margin:10px 0}.popover{position:absolute;top:34px;min-width:190px;background:#fff;border:1px solid #e1e2e5;border-radius:9px;box-shadow:0 6px 25px #0002;z-index:20;padding:5px}.popover button{display:block;text-align:left;width:100%}.content{height:100%;overflow:auto;padding:24px 30px}.content h2{font-size:20px;margin-bottom:8px}.content table{width:100%;border-collapse:collapse;text-align:left;margin-top:14px}.content th,.content td{padding:11px 9px;border-bottom:1px solid #eee}.content th{font-size:11px;color:#80848d;font-weight:500}.empty,.blank{display:grid;place-content:center;min-height:180px;text-align:center;padding:24px;color:#6b7279}.empty{margin-top:24px;border:1px dashed #dcdfe3;border-radius:10px}.modal{width:min(660px,94vw);max-height:86vh;overflow:auto;background:#fff;border:1px solid #e1e3e8;border-radius:14px;padding:23px;box-shadow:0 15px 60px #0003;color:inherit}.modal::backdrop{background:#14182145}.modal h2{font-size:20px}.modal p{margin:8px 0}.modal footer{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}.modal a{color:#236b51}.row{display:flex;align-items:center;gap:8px}.checkrow{padding:11px 0;border-bottom:1px solid #eee;display:flex;align-items:center;gap:10px}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%);background:#262a30;color:#fff;border-radius:8px;padding:9px 16px;z-index:70;max-width:90vw}.statuspill{background:#fff4da;border:1px solid #f3dfb6;color:#9b6b13;border-radius:5px;padding:3px 7px;font-size:11px;white-space:nowrap}.library-row{display:block;text-align:left;width:100%;border-bottom:1px solid #eee;white-space:normal;padding:12px}.library-row small{display:block}.real-view{display:flex;flex-direction:column;height:100%;min-height:0}.fixture-note{padding:8px 14px;background:#fff4da;color:#936516;font-size:12px;flex:none}.viewer-host{flex:1;min-height:0;position:relative;display:flex;flex-direction:column;overflow:hidden}.viewer-host>div{flex:1;min-height:0}.return-overview{position:absolute;left:12px;top:46px;z-index:2}@media(max-width:1250px){.menus{display:none}.topbar{gap:6px}.tabs button{padding:3px 8px}.workspace{grid-template-columns:300px minmax(0,1fr)}}@media(max-width:800px){.topbar{height:auto;min-height:48px;flex-wrap:wrap;padding:5px 8px;gap:4px}.crumb{display:none}.top-actions button{font-size:11px;padding:4px}.topbar>.grow{display:none}.tabs{order:3;width:100%;overflow:auto;justify-content:center}.workspace{grid-template-columns:min(260px,45vw) minmax(0,1fr)}.canvashead{overflow:auto;white-space:nowrap;padding:0 4px;gap:3px}.panel{width:min(220px,80%);right:4px}.tools{right:4px}.tools button{width:30px}.lefttools{left:4px}.lefttools button{font-size:11px}.statusbar{font-size:10px}.sheetbar{padding:0 4px}.chathead small{display:none}.content{padding:12px}.canvashead .hint{display:none}}.project-studio .studio-project-info{margin:16px 0 12px}.studio-project-info .line{gap:8px}.studio-project-info strong{overflow-wrap:anywhere}.studio-project-links{display:grid;gap:6px;margin:12px 0 18px}.studio-project-links button{text-align:left}.studio-project-links .current{background:#eceef1;font-weight:650}.studio-ai-note{font-size:12px;margin:14px 0}.project-studio .chatbody>a{color:#285642;text-decoration:none}.project-studio .canvashead .hint{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.studio-resource-panel,.studio-native-host{position:absolute;inset:0;min-height:0;overflow:auto}.studio-resource-panel{background:#f5f7f4}.studio-resource-panel .pf-studio-resources{min-height:0;padding:20px;overflow-wrap:anywhere}.studio-native-host{overflow:hidden}.studio-native-host .studio-source-frame{width:100%;height:100%;min-height:0;border:0;border-radius:0;display:block}.studio-blank{height:100%;display:grid;place-content:center;text-align:center;padding:30px;color:#606570}.studio-blank>div{max-width:460px}.studio-blank h2{font-size:20px;color:#242831;margin:0 0 8px}.studio-blank p{margin:0 0 18px}.studio-blank button{margin:4px}.project-studio .lefttools,.project-studio .tools,.project-studio .zoom{z-index:2}.project-studio .studio-native-host[hidden],.project-studio .studio-resource-panel[hidden]{display:none!important}.project-studio .sheetbar .grow{min-width:8px}.project-studio .sheetbar button{flex:none}.project-studio .statusbar span{overflow:hidden;text-overflow:ellipsis}.project-studio .compose textarea:disabled{color:#8a8e98}.project-studio .chatbody .message{margin:10px 0}@media(max-width:800px){.project-studio .workspace{grid-template-columns:min(260px,45vw) minmax(0,1fr)}.project-studio .workspace.hidechat{grid-template-columns:0 minmax(0,1fr)}.project-studio .studio-resource-panel .pf-studio-resources{padding:12px}.project-studio .tabs{justify-content:flex-start}.project-studio .canvashead .statuspill{font-size:10px}.project-studio .studio-blank{padding:14px}.project-studio .top-actions{margin-left:auto}}@media(max-width:800px){.project-studio .crumb{display:block;max-width:min(48vw,180px);font-size:11px}.project-studio .topbar{flex-wrap:wrap}.project-studio .top-actions{margin-left:0}.project-studio .canvashead,.project-studio .workspace,.project-studio .chat,.project-studio .pf-field{min-width:0}}.studio-context-json{max-height:340px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;background:#f5f6f7;padding:12px;border:1px solid #e2e4e8;border-radius:7px;font-size:11px}.project-studio .composefoot .outline{font-size:11px;padding:4px 6px}
