:root{font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;color:#354338;background:#f6f4ee;font-synthesis:none}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}button{cursor:pointer;color:#536b4d;background:#fcfcf8;border:1px solid #dce2d5;padding:10px 14px;border-radius:12px;transition:background .15s}button:hover{background:#eaf0e3}button:disabled{opacity:.5;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #91aa80;outline-offset:3px}input,textarea{min-width:0;width:100%;color:#354338;background:#fffefb;border:1px solid #dde3d5;border-radius:12px;padding:12px;resize:vertical}header{height:86px;max-width:1500px;margin:auto;padding:0 4%;display:flex;align-items:center;gap:28px;border-bottom:1px solid #e0e3d9}.brand{font-size:28px;font-weight:750;letter-spacing:-1px;white-space:nowrap}.brand>span{font-size:36px;color:#819878;font-weight:400;margin-right:7px}.brand small{font-size:14px;letter-spacing:0;font-weight:400;color:#89937d}nav{display:flex;gap:5px;margin-left:auto}nav a{padding:9px 12px;border-radius:10px;font-size:12px;color:#819076}nav a.active{background:#e7ecdf;color:#516c44}.subtle{background:transparent;font-size:12px}.primary{background:#6c865e;color:white;border-color:#6c865e;white-space:nowrap}.primary:hover{background:#5b774f}main{max-width:1400px;padding:0 4%;margin:35px auto}.page-intro{display:flex;justify-content:space-between;align-items:end;margin-bottom:28px}.eyebrow{font-size:10px;font-weight:650;letter-spacing:2px;color:#8a967d}h1{font-size:32px;font-weight:500;letter-spacing:-1px;margin:12px 0}h2{font-weight:550}p{line-height:1.8}.page-intro p{font-size:13px;color:#8a9480;margin:0}.date-label{font-size:12px;color:#8e987e;padding-bottom:4px}.workspace{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.1fr);gap:30px;align-items:start}.world-card{border:1px solid #e0e5d7;border-radius:24px;overflow:hidden;background:#eeeade;position:relative}.world-card-heading{display:flex;justify-content:space-between;align-items:center;padding:18px 22px;background:#f1eee4}.world-card-heading a{font-size:11px;color:#7b896e}iframe{display:block;width:100%;height:420px;border:0}.world-connection{font-size:11px;margin:0;padding:10px 20px;background:#f1eee4;color:#79886a}.companion-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:13px}.companion-actions button{font-size:12px;padding:12px 4px}.growth-card{background:#edefe4;border:1px solid #e0e4d6;border-radius:20px;padding:22px;margin-top:24px}.card-title{display:flex;justify-content:space-between;align-items:center;gap:10px}.card-title h2{font-size:17px;margin:0}.card-title>span{font-size:11px;color:#778d66;background:#e1e8d6;padding:7px 10px;border-radius:30px}.muted{font-size:12px;color:#869277;margin:12px 0 18px}.tiny{font-size:10px;color:#8e997f;margin:14px 0 0;line-height:1.8}.milestones{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.milestone{border:1px dashed #ced8c1;background:#f5f6ed;border-radius:12px;padding:12px 8px;font-size:11px;text-align:center;color:#929d81}.milestone.complete{border-style:solid;background:#e4ecd9;color:#59714b}.milestone span{display:block;font-size:16px;margin-bottom:6px}.creative-links{display:grid;gap:9px;margin:20px 0}.creative-links a{display:flex;gap:16px;align-items:center;border:1px solid #e2e5da;border-radius:15px;padding:14px 18px;background:#fafaf5}.creative-links a>span{color:#8ca17c;font-size:21px}.creative-links a>span:last-child{margin-left:auto;font-size:15px}.creative-links strong{display:block;font-size:12px;font-weight:550}.creative-links small{display:block;font-size:10px;color:#929c82;margin-top:5px}.desk{min-width:0;border:1px solid #dee3d6;border-radius:24px;background:#fcfcf7;padding:25px;min-height:710px;display:flex;flex-direction:column}.desk-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.desk-heading h2{font-size:23px;letter-spacing:-.6px;margin:11px 0 0;font-weight:500}.badge{font-size:10px;white-space:nowrap;background:#efeee4;color:#92916f;padding:7px 11px;border-radius:30px}.badge.connected{background:#e4ecd9;color:#607b52}.tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;padding:4px;background:#efefe5;border-radius:13px;margin-bottom:23px}.tabs button{padding:10px 3px;border:0;background:transparent;color:#8b967c;font-size:11px;white-space:nowrap}.tabs button[aria-selected=true]{background:#fff;color:#4f6c40;box-shadow:0 2px 6px #3f4e2510}.tabs span{font-size:9px;color:#a0ac8d;margin-left:3px}.desk>section{flex:1;min-width:0}.chat-log{height:325px;overflow:auto;padding:4px 3px 12px;scrollbar-width:thin;scrollbar-color:#cad5bc transparent}.chat-empty{padding:42px 25px 30px;text-align:center}.chat-empty>span{display:grid;place-items:center;background:#e8eedf;color:#8ca378;border-radius:50%;width:60px;height:60px;margin:0 auto 17px;font-size:27px}.chat-empty h3{font-size:16px;font-weight:500;margin:0}.chat-empty p{font-size:12px;color:#8b977d;line-height:2}.message{margin-bottom:17px;max-width:94%}.message.user{margin-left:auto}.message-label{font-size:10px;color:#96a186;margin-bottom:7px}.message.user .message-label{text-align:right}.message-text{font-size:13px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;background:#eff1e7;border-radius:3px 15px 15px;padding:13px 16px}.message.user .message-text{background:#e6eddc;border-radius:15px 3px 15px 15px}.message-tools{display:flex;gap:10px;margin-top:4px}.message-tools button,.text-button{padding:4px 0;border:0;background:transparent;color:#899879;font-size:10px}.message-tools button:hover,.text-button:hover{color:#4b6c3b;text-decoration:underline}.prompt-chips{display:flex;gap:6px;flex-wrap:wrap;margin:17px 0 12px}.prompt-chips button{font-size:10px;padding:7px 10px;color:#859475;border-radius:30px}#chat-input{font-size:12px;min-height:95px;background:#fff}.composer-footer{display:flex;align-items:center;justify-content:space-between;gap:13px;margin-top:10px}.composer-footer>span{font-size:10px;color:#8c967c;line-height:1.7}.composer-footer button{font-size:12px;min-width:80px}.desk-bottom{border-top:1px solid #e3e7db;margin-top:23px;padding-top:14px;display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:10px;color:#96a087}.desk-bottom>div{display:flex;gap:13px}.panel-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px}.panel-toolbar h3{font-size:16px;font-weight:500;margin:4px 0}.panel-toolbar input{font-size:11px}.panel-toolbar button{font-size:11px}.record-list{display:grid;gap:12px;max-height:490px;overflow:auto;margin-top:18px;scrollbar-width:thin}.record{border:1px solid #e0e5d7;border-radius:15px;padding:16px;background:#f8f9f2;overflow-wrap:anywhere}.record h4{font-size:13px;font-weight:550;margin:0 0 8px}.record p{font-size:12px;color:#7b8b6b;margin:0;white-space:pre-wrap}.record small{display:block;font-size:10px;color:#9aa587;line-height:1.8;margin-top:10px}.record-actions{display:flex;gap:7px;margin-top:12px;flex-wrap:wrap}.record-actions button{font-size:10px;padding:7px 10px}.record.completed{opacity:.7}.record.overdue{border-color:#c8aa70;background:#fbf5e9}.empty{font-size:12px;color:#95a183;padding:35px 16px;text-align:center;line-height:2}.suggestion{border:1px solid #d5dfc7;background:#eff3e7;border-radius:14px;padding:15px;margin:14px 0;font-size:12px}.suggestion>span{font-size:10px;color:#98a481;display:block}.suggestion strong{display:block;margin:8px 0}.suggestion p{margin:0 0 10px;white-space:pre-wrap;overflow-wrap:anywhere;color:#7d8f6a}.suggestion button{font-size:11px}.notice{display:flex;align-items:center;gap:16px;border-radius:15px;margin-bottom:20px;padding:15px 20px;background:#f8eed5;color:#8e793f;border:1px solid #e8dab5;font-size:12px}.notice p{margin:4px 0 0}.notice>div{flex:1}.error{background:#fff1e9;color:#ab7255;border-color:#ebd5c5}.studio-about{margin-top:29px;color:#8b977b;font-size:11px;line-height:1.9;border-top:1px solid #e1e5d9;padding:18px 0}.studio-about summary{cursor:pointer;color:#788c66}.studio-about>div{max-width:930px;padding:10px 0}.studio-about a{text-decoration:underline}footer{display:flex;justify-content:space-between;border-top:1px solid #e0e4d6;max-width:1400px;padding:22px 4%;margin:auto;font-size:9px;letter-spacing:1px;color:#9da58f}dialog{width:min(500px,calc(100vw - 30px));max-height:90vh;overflow:auto;border:1px solid #dce2d1;border-radius:22px;padding:25px;background:#fcfcf7;color:#3e5138;box-shadow:0 25px 100px #38412c30}dialog::backdrop{background:#38412c55}.dialog-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.dialog-heading h2{font-size:20px;font-weight:500;margin:0}.dialog-heading button{border:0;background:transparent;font-size:23px;padding:3px 8px}dialog label{display:block;font-size:12px;color:#809271;margin:17px 0 6px}dialog label>input,dialog label>textarea{display:block;margin-top:8px;font-size:13px}dialog p{font-size:12px;color:#829575}.checkbox-label{display:flex;align-items:center;gap:8px}.checkbox-label input{width:auto;accent-color:#6c865e;margin:0}.time-presets{display:flex;gap:8px;margin-top:15px}.time-presets button{font-size:10px}.form-error{color:#b77953;min-height:0}.setup-link{font-size:12px;text-decoration:underline;color:#657f54}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(max-width:1100px){header{gap:13px}.workspace{gap:19px}.desk{padding:21px}.desk-heading h2{font-size:20px}.badge{font-size:9px}iframe{height:390px}}
@media(max-width:780px){header{height:auto;min-height:78px;padding:16px 5%;flex-wrap:wrap;gap:8px}.brand{font-size:24px;flex:1}.brand small{font-size:12px}nav{order:3;flex:1 0 100%;margin:2px 0 0}nav a{font-size:11px;padding:8px 10px}main{margin:25px auto;padding:0 5%}h1{font-size:28px}.page-intro{align-items:start}.date-label{display:none}.workspace{grid-template-columns:1fr;gap:21px}iframe{height:370px}.creative-links{display:none}.growth-card{margin-top:17px;padding:18px}.desk{min-height:660px;padding:20px}.desk-heading h2{font-size:21px}.chat-log{height:285px}.desk-bottom{flex-wrap:wrap}.record-list{max-height:450px}footer{font-size:8px;display:block;padding:18px 5%;line-height:1.9}footer span{display:block}.notice{flex-wrap:wrap;padding:15px}.notice>div{flex-basis:100%}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}

.avatar-tabs{display:flex;gap:5px;margin:0;padding:0 15px 12px;background:#f1eee4}.avatar-tabs button{flex:1;border:0;background:transparent;text-align:left;font-size:12px;padding:10px 12px;color:#87917d}.avatar-tabs button span{display:block;font-size:10px;font-weight:400;margin-top:5px;color:#919985}.avatar-tabs button[aria-selected=true]{background:#fcfcf8;box-shadow:0 2px 7px #3f4e2510;color:#4f6c40}.avatar-tabs button[aria-selected=true] span{color:#829378}.avatar-view-note{font-size:11px;line-height:1.9;color:#7b886f;margin:12px 4px 0}.studio-reference-stage{position:relative;background:#17191c;isolation:isolate}.studio-reference-stage iframe{height:420px;width:100%;display:block}.studio-reference-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:12px 18px;background:#f1eee4}.studio-reference-tools button{font-size:11px;padding:8px 10px}.studio-reference-tools a{margin-left:auto;font-size:11px;color:#738369}.studio-reference-caption{padding:0 20px 15px;background:#f1eee4;font-size:10px;color:#89937e}.studio-reference-caption strong{font-size:12px;font-weight:550;color:#65765b}.studio-reference-caption p{margin:6px 0 0;line-height:1.8}.studio-reference-caption a{text-decoration:underline;text-underline-offset:3px}.studio-reference-exit{display:none;position:absolute;z-index:2;top:20px;right:20px;background:#1e2325cc;color:#fff;border-color:#ffffff45;font-size:12px}.studio-reference-stage:fullscreen{width:100vw;height:100vh;display:block}.studio-reference-stage:fullscreen iframe{width:100%;height:100%;max-height:none}.studio-reference-stage:fullscreen .studio-reference-exit{display:block}.world-card[data-avatar-view=reference] .agent-avatar-status::before{content:'工作台 Agent · ';font-weight:600}@media(max-width:1100px){.studio-reference-stage iframe{height:390px}}@media(max-width:780px){.studio-reference-stage iframe{height:420px}.avatar-tabs{padding:0 12px 12px}.studio-reference-tools{padding:12px 16px}}@media(max-width:480px){.avatar-tabs button{padding:10px;font-size:11px}.avatar-tabs button span{font-size:9px}.studio-reference-tools a{margin-left:0}.studio-reference-stage iframe{height:400px}}

.composer-local{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.composer-local button{font-size:11px;padding:8px 12px}.record-body{max-height:160px;overflow:auto}.world-reload{font-size:11px;padding:5px 9px;margin-left:8px}
.tabs{grid-template-columns:repeat(5,minmax(0,1fr))}.tabs button{white-space:normal;min-width:0;line-height:1.5}
.agent-avatar-status{position:absolute;top:62px;left:18px;right:18px;width:fit-content;max-width:calc(100% - 36px);z-index:1;padding:8px 12px;border:1px solid #d9e2ce;border-radius:20px;background:#fcfcf7ed;color:#617b51;font-size:11px;pointer-events:none;line-height:1.6;overflow-wrap:anywhere;box-shadow:0 3px 12px #4253320d}
.agent-avatar-status::before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:#839b71;margin-right:7px}.agent-avatar-status[data-state=running]::before{animation:agent-pulse 1s ease-in-out infinite}.world-card[data-agent-state=running]{border-color:#8aa676}.agent-avatar-status[data-state=failed]{color:#aa7554;border-color:#e7d2be}
.agent-intro h3{font-size:19px;font-weight:500;margin:12px 0 8px}.agent-intro p{font-size:12px;color:#859475;margin:0 0 18px}.agent-controls{display:flex;align-items:end;gap:12px}.agent-controls label{font-size:11px;color:#809271;flex:1;min-width:0}.agent-controls select{font:inherit;display:block;width:100%;min-width:0;background:#fffefb;color:#536b4d;border:1px solid #dce2d5;border-radius:12px;margin-top:7px;padding:11px 8px}.agent-run-actions{display:flex;gap:6px}.agent-run-actions button{font-size:11px;padding:11px 12px}.agent-step-controls{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:0 0 16px}.agent-step-controls label{font-size:10px;color:#8b987c;display:flex;gap:7px;align-items:center}.agent-step-controls input{width:auto;accent-color:#6c865e}.agent-step-controls button{font-size:11px;padding:7px 11px}.agent-state-line{display:flex;gap:10px;align-items:center;margin-bottom:16px}.agent-state-line .tiny{margin:0}.agent-state-line .badge[data-state=running],.agent-state-line .badge[data-state=completed]{background:#e4ecd9;color:#607b52}.agent-state-line .badge[data-state=failed]{background:#fff1e9;color:#ab7255}
.agent-steps{display:grid;gap:9px;list-style:none;padding:0;margin:0}.agent-step{display:flex;gap:12px;align-items:start;background:#f3f5ec;border:1px solid #e0e5d7;border-radius:14px;padding:14px}.agent-step-number{font-size:11px;color:#899b78;border-radius:50%;border:1px solid #dce4d1;flex:0 0 25px;height:25px;display:grid;place-items:center;background:#fcfcf7}.agent-step-content{flex:1;min-width:0}.agent-step-content strong{display:block;font-size:12px;font-weight:550}.agent-step-content code{display:block;font-size:10px;color:#93a083;margin:5px 0;overflow-wrap:anywhere}.agent-step-detail{margin:0;font-size:11px;color:#8a967a;line-height:1.7;overflow-wrap:anywhere}.agent-step-state{font-size:9px;color:#8d9b7c;white-space:nowrap;padding-top:4px}.agent-step[data-status=running]{border-color:#9bb389;background:#edf3e6}.agent-step[data-status=completed] .agent-step-number{background:#dfead3;border-color:#c9d9b9;color:#58774a}.agent-step[data-status=completed] .agent-step-state{color:#607f4f}.agent-step[data-status=failed]{border-color:#e7ccaf;background:#fff5ea}.agent-step[data-status=cancelled]{opacity:.7}
.agent-trace{margin:16px 0;font-size:11px;color:#819572}.agent-trace summary{cursor:pointer}.agent-trace summary span{background:#e8eddf;border-radius:20px;padding:1px 6px;margin-left:5px}.agent-trace ol{list-style:none;padding:0;margin:10px 0;max-height:200px;overflow:auto}.agent-trace li{display:flex;gap:10px;font-size:10px;line-height:1.8;border-bottom:1px solid #e5e9de;padding:7px 0;overflow-wrap:anywhere}.agent-trace time{color:#9da88d;white-space:nowrap}.agent-trace li span{min-width:0;flex:1}.agent-result{border:1px solid #cfddbf;background:#eef4e7;padding:17px;border-radius:15px;margin-top:17px}.agent-result.stale{border-color:#d6bb82;background:#fbf6e9}.agent-result h4{font-size:14px;font-weight:550;margin:11px 0}.agent-result>p{font-size:12px;color:#7a8d68;white-space:pre-wrap;overflow-wrap:anywhere;max-height:300px;overflow:auto;line-height:1.9;margin:0}.agent-result button{font-size:10px}
@keyframes agent-pulse{50%{opacity:.35;transform:scale(.7)}}
@media(max-width:480px){.tabs button{font-size:10px}.agent-controls{align-items:stretch;flex-direction:column}.agent-run-actions button{flex:1}.agent-step{padding:12px;gap:8px}.agent-step-state{font-size:8px}}
@media(prefers-reduced-motion:reduce){.agent-avatar-status::before{animation:none!important}}
.studio-reference-watermark{display:none;position:absolute;z-index:2;top:20px;left:20px;background:#1e2325cc;color:#eee;border:1px solid #ffffff30;border-radius:10px;padding:10px 12px;font-size:11px;max-width:calc(100% - 180px)}.studio-reference-stage:fullscreen .studio-reference-watermark{display:block}@media(max-width:480px){.studio-reference-watermark{top:12px;left:12px;font-size:9px}.studio-reference-exit{top:12px;right:12px;padding:8px}}
.world-card .agent-avatar-status{position:static;width:auto;max-width:none;margin:0;border-width:0 0 1px;border-radius:0;padding:8px 22px;background:#f1eee4;box-shadow:none}.world-card[data-avatar-view=reference] .agent-avatar-status::before{display:inline;width:auto;height:auto;border-radius:0;background:none;margin-right:0}
