:root{font-family:"Segoe UI Variable","Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:#152b51;background:#edf1f8;font-synthesis:none;--ink:#122546;--green:#1f3f77;--accent:#aebbd3;--muted:#5c78a9;--line:#d5deee;--mono:"Cascadia Code",Consolas,monospace}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0}button,input,textarea,select{font:inherit}button,a,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;transition:background .2s,border-color .2s,box-shadow .2s,transform .2s}button:disabled{cursor:not-allowed;opacity:.4}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid #7d93b9;outline-offset:4px}button:active:not(:disabled){transform:translateY(1px)}a{text-decoration:none;color:inherit}[hidden]{display:none!important}
.rail{position:fixed;inset:0 auto 0 0;width:72px;background:#122546;display:flex;flex-direction:column;align-items:center;z-index:10;border-right:1px solid #ffffff0c}.rail-logo{width:42px;height:44px;margin-top:20px;color:#bdc8dc;display:grid;place-items:center}.rail-logo svg{width:31px}.rail-divider{width:26px;height:1px;background:#ffffff18;margin:20px 0 25px}.rail-item{width:43px;height:44px;display:grid;place-items:center;border-radius:11px;color:#6e87b2;margin-bottom:12px;transition:.2s}.rail-item svg{width:21px}.rail-item:hover{background:#ffffff0c;color:#e0e7f3}.rail-item.active{background:#b5c1d7;color:#172f59;box-shadow:0 5px 16px #00000015}.rail-bottom{margin-top:auto;margin-bottom:25px;font:10px/1.5 var(--mono);letter-spacing:2px;color:#768db5;text-align:center}
.site-header{height:80px;margin-left:72px;border-bottom:1px solid var(--line);padding:0 34px;display:flex;align-items:center;justify-content:space-between;gap:24px;background:#f9fbfd}.brand{font-size:19px;font-weight:650;letter-spacing:.5px;color:#152c53;white-space:nowrap}.brand-en{display:block;font:8px var(--mono);letter-spacing:1.6px;margin-top:6px;color:#7088b3}.site-header nav{align-self:stretch;display:flex;align-items:center;gap:29px;font-size:12px}.nav-current{height:100%;display:flex;align-items:center;font-weight:600;color:#20417b;border-bottom:2px solid #42587d}.nav-button{padding:8px 0;border:0;background:none;color:#6680ae;font-size:12px;white-space:nowrap}.nav-button:hover{color:#18325f}.nav-button span{margin-left:5px}.version{display:flex;gap:7px;align-items:center;white-space:nowrap;font:8px var(--mono);letter-spacing:1px;color:#5a77a8}.version i,.small-dot{display:inline-block;width:5px;height:5px;background:#6680ae;border-radius:50%;flex-shrink:0}
main{max-width:1660px;margin-left:72px;padding:34px 34px 19px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:27px}.eyebrow{display:flex;align-items:center;gap:12px;font:9px var(--mono);letter-spacing:1.5px;color:#778eb6}.eyebrow>span{font:11px "Segoe UI","Microsoft YaHei",sans-serif;letter-spacing:.5px;color:#5571a1}.eyebrow i{font-style:normal;color:#b0bed5}h1{font-size:29px;line-height:1.4;letter-spacing:-.8px;font-weight:600;margin:13px 0 8px}h1>span{color:#5d79aa}.page-heading p{font-size:12px;color:#6a84b0;margin:0;line-height:1.8}.mode-badge{display:flex;align-items:center;gap:8px;max-width:350px;font:10px/1.6 var(--mono);letter-spacing:.1px;color:#43597f;background:#dee5f2;border:1px solid #cbd6ea;border-radius:6px;padding:9px 12px;margin-top:18px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 370px;gap:22px;align-items:stretch}.simulation-column{min-width:0}
.scene-card{background:#e0e7f3;border:1px solid #ced9eb;border-radius:14px;overflow:hidden;position:relative;box-shadow:0 5px 22px #1a366704}.scene-topbar{height:57px;display:flex;justify-content:space-between;align-items:center;padding:0 22px;border-bottom:1px solid #cbd6ea;position:relative;z-index:2;background:#f5f7fb}.scene-topbar>div:first-child{display:flex;align-items:center;gap:9px}.scene-topbar strong{font-size:12px;font-weight:600}.live-dot{width:6px;height:6px;background:#6781af;border-radius:50%;box-shadow:0 0 0 4px #6781af13}.subtle{font:8px var(--mono);letter-spacing:1.2px;color:#869bbe;border:1px solid #d4deee;border-radius:4px;padding:3px 5px;margin-left:3px}.view-buttons{display:flex;gap:7px;align-items:center}.view-caption{font-size:9px;color:#788fb7;margin-right:4px}.view-buttons button{display:grid;place-items:center;width:29px;height:29px;background:#fff;border:1px solid #d1dbec;border-radius:6px;color:#536e9d;font-size:20px}.view-buttons svg{width:14px}.view-buttons button:hover{background:#e3e9f4;border-color:#acbad2}.scene-metrics{display:flex;gap:0;position:absolute;top:79px;left:24px;z-index:2;pointer-events:none}.scene-metrics>div{padding-right:24px;margin-right:24px;border-right:1px solid #bfcadd80;display:flex;flex-direction:column;gap:7px}.scene-metrics>div:last-child{border:0}.scene-metrics span{font-size:10px;color:#6a84b0;letter-spacing:.2px}.scene-metrics strong{font:500 27px/1.1 var(--mono);letter-spacing:-1px;color:#1e3d73}.scene-metrics small{font:10px "Segoe UI","Microsoft YaHei",sans-serif;letter-spacing:0;color:#8095ba}.scene-metrics #status-text{font:11px "Segoe UI","Microsoft YaHei",sans-serif;letter-spacing:0;color:#465d84;padding-top:8px}.scene-metrics #status-text.busy{color:#a27d40}
#viewport{height:493px;position:relative;overflow:hidden;touch-action:none}#viewport canvas{display:block;width:100%;height:100%;outline:none}#scene-loading{position:absolute;inset:0;display:grid;place-items:center;z-index:1;pointer-events:none;font-size:12px;color:#5b77a8}.scene-label{position:absolute;z-index:1;transform:translate(-50%,-50%);pointer-events:none;white-space:nowrap;background:#f9fafce8;backdrop-filter:blur(8px);border:1px solid #c3d0e6;border-radius:5px;padding:6px 8px;font:8px var(--mono);color:#8599bd;box-shadow:0 3px 8px #1c3a6d10}.scene-label b{font:500 10px "Segoe UI","Microsoft YaHei",sans-serif;color:#43597e;margin-left:5px}.scene-label#label-red{border-left:2px solid #c77d70}.scene-label#label-blue{border-left:2px solid #6c9ba8}.scene-label#label-yellow{border-left:2px solid #c4a352}#selected-label{position:absolute;z-index:3;transform:translate(-50%,-100%);pointer-events:none;white-space:nowrap;background:#18325eed;border:1px solid #97a9c766;color:#e0e7f3;font-size:10px;padding:7px 11px;border-radius:6px;box-shadow:0 5px 20px #14294c20}.scene-bottom{height:42px;display:flex;align-items:center;justify-content:space-between;padding:0 18px;border-top:1px solid #ced9eb;background:#f3f6fa;gap:8px}.interaction-hint{display:flex;align-items:center;gap:8px;font-size:9px;color:#6983b0}.interaction-hint>svg{width:16px;color:#5b78a9}.interaction-hint i{font-style:normal;color:#b1bed5}.scene-type{display:flex;align-items:center;gap:5px;font:8px var(--mono);color:#758cb4;white-space:nowrap}.scene-type i{width:4px;height:4px;border-radius:50%;background:#758db5}
.controls-card{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:13px 0 19px}.scene-actions{display:flex;align-items:center;gap:8px}.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:7px;font-size:11px;padding:10px 14px;white-space:nowrap}.button span{font-size:15px;line-height:1}.secondary{background:#f9fafc;border:1px solid #ccd7ea;color:#465d84;box-shadow:0 2px 3px #18325e03}.secondary:hover:not(:disabled){background:#e0e7f2;border-color:#a2b2cd}.text-button{background:transparent;border:1px solid transparent;color:#6781af}.text-button:hover{background:#e4eaf4}.speed-control{display:flex;align-items:center;gap:9px;font-size:10px;color:#7088b3;white-space:nowrap}.speed-control select{background:#f9fafc;border:1px solid #ccd7ea;border-radius:5px;color:#42577c;font-size:11px;padding:7px 9px}
.process-card{background:#f9fbfd;border:1px solid var(--line);border-radius:12px;padding:19px 21px 0;overflow:hidden}.section-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.mini-eyebrow{display:block;font:7px var(--mono);letter-spacing:1.4px;color:#7f95ba;margin-bottom:6px}.section-title h2{font-size:12px;font-weight:600;margin:0;color:#1f3f77}.section-title>span{padding:5px 8px;border-radius:4px;font:9px var(--mono);color:#6882b0;background:#e8edf5}.steps{display:flex;align-items:center;justify-content:space-between;gap:0;margin:23px 0 18px}.step{display:flex;align-items:center;gap:7px;white-space:nowrap;font-size:10px;color:#6e87b2}.step-icon{width:26px;height:26px;display:grid;place-items:center;flex-shrink:0;border:1px solid #d2dbec;background:#edf1f7;color:#8599bd;border-radius:7px;font:9px var(--mono)}.step-line{height:1px;flex:1;background:#d0daec;margin:0 11px;min-width:7px}.step.active{color:#374968;font-weight:600}.step.active .step-icon{background:#c3d0e6;border-color:#889cbf;color:#20417b;box-shadow:0 0 0 3px #c6cfe033}.step.done .step-icon{background:#e0e7f3;border-color:#c1ccde;color:#536f9e}.task-note{display:flex;align-items:flex-start;gap:7px;min-height:27px;font-size:10px;line-height:1.7;color:#6680ae}.note-dot{width:4px;height:4px;border-radius:50%;background:#7c92b9;flex-shrink:0;margin-top:7px}.progress-track{height:3px;margin:12px -21px 0;background:#e5eaf4}.progress-track>div{height:100%;width:0;transition:width .4s;background:#6d86b2}
.agent-card{display:flex;flex-direction:column;min-width:0;min-height:680px;border:1px solid #cad6ea;border-radius:13px;background:#fff;overflow:hidden;box-shadow:0 5px 20px #1c396b06}.agent-heading{display:flex;align-items:center;gap:11px;padding:21px 19px;background:#152b51;color:#e0e7f3}.agent-avatar{width:37px;height:37px;flex-shrink:0;display:grid;place-items:center;border:1px solid #8fa2c233;background:#a5b4cf12;border-radius:10px;color:#b1bed5}.agent-avatar svg{width:24px}.agent-heading h2{margin:0 0 7px;font-size:14px;font-weight:550;letter-spacing:.4px}.agent-heading p{display:flex;align-items:center;gap:6px;margin:0;color:#7c92b9;font:7px var(--mono);letter-spacing:1.2px}.agent-heading p i{width:4px;height:4px;border-radius:50%;background:#9aabc9}.agent-heading>button{margin-left:auto;background:none;border:1px solid #5a77a829;border-radius:6px;width:28px;height:28px;color:#8fa2c2;font-size:19px}.agent-heading>button:hover{background:#a3b3ce20}.agent-notice{padding:10px 18px;background:#ecf0f7;border-bottom:1px solid #dae2f0;color:#6680ae;font-size:9px;line-height:1.6}.chat-messages{flex:1;min-height:230px;max-height:420px;padding:24px 18px 12px;overflow:auto;scrollbar-width:thin;scrollbar-color:#c6d0e1 transparent;scroll-behavior:smooth}.message{margin-bottom:21px;animation:message-in .3s ease-out}.message-label{display:flex;align-items:center;gap:6px;font-size:9px;color:#718ab4;margin:0 0 9px 2px}.message-text{font-size:12px;line-height:1.95;white-space:pre-wrap;overflow-wrap:anywhere;padding:13px 14px;background:#eef2f8;color:#465d84;border:1px solid #d8e0ef;border-radius:0 11px 11px 11px}.message.user .message-label{justify-content:flex-end}.message.user .message-text{color:#dde4f1;background:#364867;border-color:#364867;border-radius:11px 0 11px 11px}.message.system .message-text{font-size:10px;line-height:1.8;background:#f9fafc;border:1px dashed #c9d5e9;color:#637ead;padding:9px 11px}.message-task{display:flex;flex-wrap:wrap;gap:5px;margin-top:10px}.color-tag{display:inline-flex;align-items:center;gap:4px;padding:4px 6px;background:#fff;border:1px solid #d3dded;border-radius:4px;color:#5774a6;font-size:8px;line-height:1.5}.color-tag i{width:5px;height:5px;border-radius:50%}.suggestions{padding:13px 17px 15px;border-top:1px solid #e3e9f3}.suggestions>span{display:flex;justify-content:space-between;font-size:9px;color:#788fb6;margin-bottom:10px}.suggestions>span i{font-style:normal;color:#8c9fc1}.suggestions>div{display:flex;flex-wrap:wrap;gap:7px}.suggestions button{border:1px solid #d2dbec;background:#fff;color:#5b77a8;font-size:10px;border-radius:6px;padding:8px 9px;text-align:left;line-height:1.5}.suggestions button:hover{background:#e5ebf5;border-color:#9eafcb}.suggestions button:first-child{display:flex;align-items:center;justify-content:space-between;width:100%;padding:11px 12px;background:#e0e7f2;border-color:#c7d3e8;color:#49628c;font-weight:550}.suggestions button:first-child span{font-size:16px;color:#6882af}#chat-form{background:#f9fafc;border:1px solid #c3d0e7;border-radius:9px;padding:13px 13px 9px;margin:0 14px;box-shadow:0 2px 6px #1c396b04}#chat-form:focus-within{border-color:#6a84b0;box-shadow:0 0 0 3px #8498bc17}textarea{display:block;width:100%;min-height:48px;border:0;outline:0;resize:none;background:none;font-size:11px;line-height:1.8;color:#1f4079;padding:0}textarea::placeholder{color:#879bbe}.composer-bottom{display:flex;align-items:center;justify-content:space-between;gap:7px}.composer-bottom>span{font:7px var(--mono);color:#94a6c6}.composer-bottom i{font-style:normal;margin:0 3px}#send-button{width:30px;height:30px;border-radius:7px;border:0;color:#1a3666;background:#b9c5da;font-size:21px;box-shadow:0 2px 3px #506a9817}#send-button:hover{background:#9cacc9}.agent-footer{display:flex;align-items:center;justify-content:center;gap:6px;padding:13px 7px;font-size:8px;color:#8b9fc1}.agent-footer .small-dot{width:4px;height:4px;background:#8fa2c2}.page-footer{display:flex;justify-content:space-between;gap:18px;margin-top:22px;font-size:8px;line-height:1.9;color:#8498bc}.page-footer b{font-weight:500;color:#5c78a9;margin-right:5px}
dialog{position:relative;width:calc(100vw - 40px);max-width:500px;padding:35px;border:1px solid #c6cfe0;border-radius:16px;background:#f8f9fc;color:#475e87;box-shadow:0 30px 120px #10213d30}dialog::backdrop{background:#0f1f3a80;backdrop-filter:blur(6px)}dialog h2{font-size:23px;color:#1d3b70;margin:17px 0}dialog p,dialog li{font-size:12px;line-height:2}dialog ul{padding-left:19px}dialog .help-disclaimer{padding:13px;background:#e6ecf5;border-radius:8px;font-size:10px;color:#6f88b3;margin:20px 0}.primary{background:#1e3e76;border:1px solid #1e3e76;color:#e3e9f4;padding:12px 17px}#close-help{position:absolute;right:16px;top:12px;color:#8498bc;font-size:24px;background:none;border:0}#toast{position:fixed;z-index:30;bottom:26px;left:50%;max-width:90vw;transform:translate(-50%,12px);background:#193361ec;color:#e1e8f3;box-shadow:0 8px 35px #19336020;border:1px solid #99aac844;border-radius:8px;padding:12px 18px;font-size:12px;opacity:0;pointer-events:none;transition:.2s}#toast.visible{opacity:1;transform:translate(-50%,0)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@keyframes message-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1660px){main{margin-right:auto}.workspace{grid-template-columns:minmax(0,1fr) 390px}#viewport{height:535px}.chat-messages{max-height:460px}}
@media(max-width:1200px){.site-header{padding:0 25px}.site-header nav{gap:20px}.version{display:none}main{padding:29px 25px 18px}.workspace{grid-template-columns:minmax(0,1fr) 324px;gap:18px}.scene-topbar{padding:0 17px}.scene-metrics>div{padding-right:17px;margin-right:17px}.step{flex-direction:column;gap:6px;font-size:9px}.step-line{margin:0 7px 17px}.scene-type{display:none}.page-heading h1{font-size:26px}.mode-badge{font-size:9px;max-width:240px}.process-card{padding-inline:17px}.progress-track{margin-inline:-17px}.page-footer{flex-direction:column;gap:3px}.button{padding:9px 10px;font-size:10px}.speed-control{font-size:9px;gap:6px}.controls-card{gap:8px}.scene-actions{gap:5px}}
@media(max-width:1000px){.rail{width:58px}.rail-logo{margin-top:18px}.site-header,main{margin-left:58px}.workspace{grid-template-columns:1fr}.agent-card{min-height:580px;max-height:710px}.chat-messages{max-height:340px;min-height:250px}.step{flex-direction:row;font-size:11px}.step-line{margin:0 12px}.page-heading h1{font-size:29px}.mode-badge{max-width:260px}#viewport{height:470px}.scene-type{display:flex}.version{display:none}.agent-heading{padding:20px}.page-footer{font-size:9px}.process-card{padding-top:20px}.steps{margin-top:25px}.task-note{padding-bottom:4px}}
@media(max-width:700px){.rail{display:none}.site-header,main{margin-left:0}.site-header{height:73px;padding:0 22px}.site-header nav{gap:18px}.brand{font-size:17px}.brand-en{font-size:7px}main{padding:27px 20px 20px}.page-heading{gap:15px;align-items:flex-start}.page-heading h1{font-size:25px}.page-heading p{font-size:11px}.mode-badge{font-size:8px;max-width:175px;padding:7px 9px}.scene-metrics{left:21px}.scene-metrics strong{font-size:25px}.view-caption{display:none}.step{font-size:10px;gap:5px}.step-line{margin:0 9px}.scene-type{display:none}}
@media(max-width:520px){.site-header{padding:0 17px;height:69px;gap:13px}.site-header nav{gap:10px}.nav-current{display:none}.nav-button{font-size:10px}.brand{font-size:16px}.brand-en{font-size:6px;letter-spacing:1px}main{padding:24px 13px 20px}.page-heading{flex-direction:column;gap:13px;margin-bottom:19px}.page-heading h1{font-size:25px;margin-top:13px}.page-heading p{font-size:10px}.eyebrow{font-size:8px}.eyebrow>span{font-size:10px}.mode-badge{margin:0;max-width:none;font-size:9px;padding:6px 9px}.scene-topbar{height:50px;padding:0 15px}.scene-topbar strong{font-size:11px}.subtle{font-size:7px;margin-left:0}.scene-metrics{top:69px;left:19px}.scene-metrics>div{padding-right:19px;margin-right:19px;gap:6px}.scene-metrics span{font-size:9px}.scene-metrics strong{font-size:23px}.scene-metrics #status-text{font-size:10px;padding-top:6px}#viewport{height:357px}.scene-bottom{height:37px;padding:0 12px}.interaction-hint{font-size:8px;gap:6px}.scene-label{padding:5px 6px}.scene-label b{font-size:9px;margin-left:3px}.controls-card{margin-bottom:15px}.button{font-size:9px;padding:9px 8px;gap:5px}.scene-actions{gap:3px}.speed-control{font-size:8px;gap:5px}.speed-control select{font-size:10px;padding:6px}.process-card{padding:18px 16px 0}.mini-eyebrow{font-size:6px}.section-title h2{font-size:11px}.section-title>span{font-size:8px;padding:4px 6px}.steps{margin:22px 0 16px}.step{flex-direction:column;gap:7px;font-size:8px}.step-icon{width:25px;height:25px;font-size:8px}.step-line{margin:0 6px 18px}.task-note{font-size:9px}.progress-track{margin-inline:-16px}.agent-card{min-height:570px}.agent-notice{font-size:9px}.message-text{font-size:12px}.agent-heading h2{font-size:14px}.suggestions button{font-size:10px}textarea{font-size:12px}.composer-bottom>span{font-size:7px}.agent-footer{font-size:9px}.page-footer{font-size:8px}.chat-messages{max-height:320px}dialog{padding:27px}.page-heading{animation:none}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
.mode-badge::before{content:"";width:5px;height:5px;border-radius:50%;background:#6680ae;flex-shrink:0}.mode-badge>.small-dot{display:none}

/* Navy and white interaction palette. */
:root{--ink:#102a50;--green:#244e82;--accent:#477bbd;--muted:#7f91a9;--line:#dfe6ef;background:#f4f7fb;color:#203a5c}
.rail{background:#102a50}.rail-logo{color:#fff}.rail-item.active{background:#fff;color:#173963}.rail-item:hover{color:#fff}
.site-header,.scene-topbar,.process-card,.agent-card{background:#fff}.agent-heading{background:#15345b;color:#fff}.agent-avatar{color:#d9e9ff;background:#ffffff0c;border-color:#ffffff22}.agent-heading p{color:#9db7d9}.agent-heading p i{background:#aac8f0}
.scene-card{background:#edf2f8}.scene-topbar strong{color:#203a5c}.agent-heading>button{color:#c6daf5;border-color:#ffffff20}
.rail-item.active:hover{background:#e8f0fb;color:#15345b}.message.user .message-text{background:#244a78;border-color:#244a78;color:#fff}
#send-button{background:#214b80;color:#fff}#send-button:hover{background:#15345b}.suggestions button:first-child{background:#edf3fc;border-color:#d7e3f3;color:#244f84}
.step.active .step-icon{background:#dce9fb;border-color:#aac6ec;color:#244f84}.step.done .step-icon{background:#eef4fc;border-color:#d1e0f4;color:#5d82af}
.primary{background:#1d4578;border-color:#1d4578;color:#fff}.mode-badge{background:#edf3fc;border-color:#d5e2f4;color:#4773a6}.mode-badge::before{background:#638fc6}

#unity-canvas{width:100%;height:100%;display:block;background:#13202f}#scene-loading{pointer-events:none}#telemetry{white-space:pre-wrap;font:12px/1.8 var(--mono);padding:12px 20px;color:#37527e}#plan-card{border:2px solid #6788bd}#plan-card h2{margin-top:0}#plan-list{font-size:13px;line-height:1.9;padding-left:22px}#plan-duration{font-size:12px;color:#5c78a9}.message-bubble{white-space:pre-wrap;overflow-wrap:anywhere}.message{margin-bottom:14px;padding:12px;background:#eef2f8;border-radius:10px;font-size:13px;line-height:1.7}.message.user{background:#dce7f7;margin-left:24px}.scene-metrics{background:rgba(244,248,255,.94);z-index:2;border-bottom:1px solid #d5deee}

.session-gate{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:24px;background:rgba(16,32,61,.68);backdrop-filter:blur(6px)}
.session-gate[hidden]{display:none}.session-gate section{width:min(100%,480px);background:#fff;border-radius:20px;padding:32px;box-shadow:0 24px 70px #10203d44}.session-gate h2{margin:16px 0;font-size:24px}.session-gate p{line-height:1.8;margin:0 0 24px;color:#526580}
