html.is-ghost,html.is-ghost body{width:100%;height:100%;margin:0;overflow:hidden;background:0 0!important}html.is-ghost body{box-sizing:border-box;justify-content:flex-start;align-items:flex-start;padding:32px;display:flex}html.is-ghost[data-ghost-up=true] body{align-items:flex-end}html.is-ghost[data-ghost-left=true] body{justify-content:flex-end}html.is-ghost .skip-link,html.is-ghost #app:empty{display:none}.tab-ghost{--ghost-solid:#fff;--ghost-source:#eef3fa;--ghost-action:#0066f5;--dr-ink:#172033;--dr-muted:#5c687a;--dr-accent:#0066f5;--dr-accent-soft:#e8f1ff;--dr-bg-muted:#edf1f6;--dr-danger:#b33c36;--dr-danger-bg:#fceceb;--dr-success:#087f70;box-sizing:border-box;background:var(--ghost-solid);width:fit-content;max-width:100%;max-height:100%;color:var(--dr-ink);pointer-events:none;border:0;border-radius:12px;align-items:center;gap:12px;padding:9px 10px 9px 14px;font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,PingFang SC,sans-serif;animation:.2s cubic-bezier(.22,1,.36,1) both ghost-arrive;display:flex;box-shadow:0 6px 24px #24395717}.tab-ghost[hidden],.tab-ghost [hidden]{display:none!important}.tab-ghost.is-staged{visibility:hidden;animation:none}.tab-ghost.is-leaving{animation:.14s cubic-bezier(.4,0,1,1) both ghost-depart}.tab-ghost.is-qa{pointer-events:auto;overscroll-behavior:contain;scrollbar-width:thin;border-radius:16px;flex-direction:column;align-items:stretch;gap:8px;width:100%;padding:14px;overflow-y:auto}.tab-ghost.is-qa.is-loading{gap:0;padding:12px 16px;overflow:hidden}.tab-ghost.is-qa.is-loading:not(.is-qa-failed) .tab-ghost-main{display:none}.tab-ghost.is-qa.is-loading.is-streaming{gap:8px}.tab-ghost.is-qa.is-loading.is-streaming .tab-ghost-main{display:flex}.tab-ghost.is-qa.is-loading.is-streaming .tab-ghost-text{color:var(--dr-ink);font-size:13px;line-height:1.55}.ghost-qa-heading{color:var(--dr-muted);flex:none;font-size:11px;line-height:1.4}.ghost-tools{flex:none;min-width:0}.tab-ghost-main{flex:auto;align-items:center;min-width:0;min-height:0;display:flex;overflow:hidden}.tab-ghost-text{overflow-wrap:anywhere;white-space:pre-wrap;min-width:0;max-height:100%;color:var(--dr-ink);font-size:14px;font-weight:500;line-height:1.5;overflow:hidden}.tab-ghost-text>.ghost-reveal-line{white-space:pre;display:block}.tab-ghost.is-loading .tab-ghost-text{color:var(--dr-muted);font-size:12px;font-weight:400}.tab-ghost.is-qa .tab-ghost-main{overscroll-behavior:contain;scrollbar-width:thin;align-items:flex-start;min-height:24px;overflow-y:auto}.tab-ghost.is-qa .tab-ghost-text{max-height:none;font-size:16px;font-weight:600;line-height:1.55;overflow:visible}.tab-ghost.is-qa.is-loading .tab-ghost-text{font-size:12px;font-weight:400}.ghost-memory-sources{background:var(--ghost-source);min-width:0;color:var(--dr-muted);border-radius:9px;flex:none}.ghost-source-details{font-size:11px;line-height:1.5}.ghost-source-static{align-items:center;gap:7px;min-height:35px;padding:7px 10px;font-size:11px;line-height:1.5;display:flex}.ghost-source-details summary{cursor:pointer;align-items:center;gap:7px;min-height:35px;padding:7px 10px;list-style:none;display:flex}.ghost-source-details summary::-webkit-details-marker{display:none}.ghost-source-heading{color:var(--dr-ink);flex:none;font-weight:550}.ghost-source-first{white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;overflow:hidden}.ghost-source-details ul{max-height:72px;margin:0;padding:0 10px 8px 18px;overflow:auto}.ghost-source-details li{overflow-wrap:anywhere;padding:2px 0}.tab-ghost-footer{flex:none;align-items:center;gap:8px;width:100%;min-height:26px;display:flex}.tab-ghost-status{min-width:0;color:var(--dr-muted);white-space:nowrap;text-overflow:ellipsis;flex:1;font-size:10px;line-height:1.4;overflow:hidden}.tab-ghost.is-overflowing .tab-ghost-status:empty:after{content:"滚动查看全文"}.tab-ghost-accept{background:var(--ghost-action);color:#fff;white-space:nowrap;border:0;border-radius:7px;flex:none;align-items:center;gap:6px;min-height:26px;padding:0 8px 0 4px;font-size:11px;font-weight:500;display:inline-flex}.tab-ghost-accept kbd{min-width:28px;min-height:20px;color:inherit;background:#ffffff30;border-radius:5px;place-items:center;font:600 10px/1 -apple-system,BlinkMacSystemFont,sans-serif;display:grid}.tab-ghost-accept.is-reconfirm{background:var(--dr-bg-muted);color:var(--dr-muted)}.tab-ghost-accept.is-reconfirm kbd{background:var(--ghost-source)}.tab-ghost.is-qa .tab-ghost-footer{justify-content:flex-start}.tab-ghost.is-qa .tab-ghost-status{flex:none;order:2;margin-left:auto}.tab-ghost.is-qa .tab-ghost-accept{color:var(--dr-muted);background:0 0;order:1;gap:8px;padding:0}.tab-ghost.is-qa .tab-ghost-accept kbd{background:var(--ghost-action);color:#fff;border-radius:6px;min-width:40px;min-height:30px;font-size:12px}.tab-ghost.is-qa .tab-ghost-accept.is-reconfirm kbd{background:var(--dr-bg-muted);color:var(--dr-muted)}.tab-ghost .question-tool{border:0;align-items:center;min-height:30px;padding:0;display:flex}.tab-ghost .question-tool.is-fail{display:block}.tab-ghost .question-tool-row{flex:1;gap:9px}.tab-ghost .question-tool-name{font-size:12px;font-weight:400}.tab-ghost .question-tool-state{font-size:11px}@keyframes ghost-arrive{0%{opacity:0;transform:translateY(3px)}to{opacity:1;transform:none}}@keyframes ghost-depart{to{opacity:0}}:root[data-appearance=dark] .tab-ghost{--ghost-solid:#19212c;--ghost-source:#243244;--dr-ink:#f2f5fa;--dr-muted:#a2afc0;--dr-accent:#78b5ff;--dr-accent-soft:#203b5b;--dr-bg-muted:#131b25;--dr-danger:#ffa79f;--dr-danger-bg:#3c252b;--dr-success:#6dc4aa;box-shadow:0 6px 24px #00000036}@media (prefers-color-scheme:dark){:root[data-appearance=system] .tab-ghost{--ghost-solid:#19212c;--ghost-source:#243244;--dr-ink:#f2f5fa;--dr-muted:#a2afc0;--dr-accent:#78b5ff;--dr-accent-soft:#203b5b;--dr-bg-muted:#131b25;--dr-danger:#ffa79f;--dr-danger-bg:#3c252b;--dr-success:#6dc4aa;box-shadow:0 6px 24px #00000036}}@media (prefers-reduced-motion:reduce){.tab-ghost,.tab-ghost.is-leaving,.tab-ghost .question-tool.is-start .question-tool-mark .ui-icon{transition:none;animation:none;transform:none}.tab-ghost.is-leaving{opacity:0}}.capsule-host .top-control{--compact-height:25px;--surface:#292c30;--ink:#f2f5fa;--muted:#a2afc0;--accent:#78b5ff;--soft:#343c49;--shadow:0 12px 36px #24395714,0 2px 6px #24395708;width:176px;height:var(--compact-height);isolation:isolate;letter-spacing:0;will-change:width,height;border-radius:0 0 16px 16px;font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,Segoe UI,sans-serif;font-weight:400;position:absolute;top:0;left:50%;overflow:hidden;transform:translate(-50%)}:root[data-appearance=dark] .capsule-host .top-control{--surface:#343941;--shadow:0 12px 36px #00000028,0 2px 6px #00000018}@media (prefers-color-scheme:dark){:root[data-appearance=system] .capsule-host .top-control{--surface:#343941;--shadow:0 12px 36px #00000028,0 2px 6px #00000018}}.capsule-host .top-control *{box-sizing:border-box}.capsule-host .top-control-shell{border-radius:inherit;background:var(--surface);box-shadow:none;pointer-events:none;z-index:-1;position:absolute;inset:0;overflow:hidden}.capsule-host .top-control[data-expanded=true]{box-shadow:var(--shadow)}.capsule-host .top-control-shell:after{content:"";opacity:0;background:#ffffff0a;height:1px;transition:opacity .12s ease-out;position:absolute;top:0;left:16px;right:16px}.capsule-host [data-expanded=true] .top-control-shell:after{opacity:1}.capsule-host .top-control-trigger{width:100%;height:var(--compact-height);background:0 0;align-items:center;gap:4px;margin-inline:auto;padding:0 8px 0 12px;display:flex}.capsule-host .top-control button{appearance:none;color:var(--ink);box-shadow:none;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:8px;transition:background-color .12s ease-out}.capsule-host .top-control button[data-pointer-hover=true]{background:var(--soft)}.capsule-host .top-control button:focus-visible,.capsule-host .top-control button[data-keyboard-focus=true]:focus{outline:2px solid var(--accent);outline-offset:-2px}.capsule-host .top-control-face{min-width:0;height:var(--compact-height);flex:1;align-items:center;gap:7px;padding:0;display:flex}.capsule-host .top-control-glyph{width:20px;height:18px;color:var(--accent);flex:none;justify-content:center;align-items:center;margin-inline-end:3px;display:flex}.capsule-host .top-control-glyph svg{fill:none;stroke:currentColor;stroke-width:1.6px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:18px}.capsule-host [data-activity=memory] .top-control-glyph svg,.capsule-host [data-activity=organizing] .top-control-glyph svg{width:16px;height:16px}.capsule-host [data-activity=organizing] .top-control-glyph{animation:1.8s ease-in-out infinite top-tool-breathe}.capsule-host .top-control-copy{text-align:start;white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;font-size:12px;font-weight:400;line-height:1.65;overflow:hidden}.capsule-host .top-control-pause{width:28px;height:calc(var(--compact-height) - 2px);flex:none;place-items:center;max-height:28px;padding:0;display:grid;color:var(--muted)!important}.capsule-host .top-control-pause svg{stroke:currentColor;stroke-width:1.65px;stroke-linecap:round;stroke-linejoin:round;fill:none;width:14px;height:14px}.capsule-host .top-control-pause:disabled{opacity:.5;cursor:default}.capsule-host .top-control-body{top:var(--compact-height);width:min(320px,100vw - 32px);height:120px;padding:12px 16px;position:absolute;left:50%;overflow:hidden;transform:translate(-50%)}.capsule-host .top-control-body[hidden]{display:none}.capsule-host .top-control-context{height:64px;position:relative}.capsule-host .top-control-context p{height:42px;color:var(--ink);overflow-wrap:anywhere;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0;padding-inline-start:12px;font-size:14px;font-weight:400;line-height:21px;display:-webkit-box;position:relative;overflow:hidden}.capsule-host .top-control-context p:before{content:"";background:var(--accent);opacity:.28;width:1px;height:42px;position:absolute;inset-block-start:0;inset-inline-start:0}.capsule-host .top-control-context small{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;margin-top:4px;padding-inline-start:12px;font-size:12px;line-height:18px;display:block;overflow:hidden}.capsule-host .top-control-action{text-align:end;width:calc(100% + 16px);height:28px;margin:4px -8px 0;padding:4px 8px;color:var(--accent)!important;font-size:12px!important;line-height:20px!important}@keyframes top-tool-breathe{0%,to{opacity:.45}50%{opacity:1}}@media (prefers-reduced-motion:reduce){.capsule-host .top-control-glyph{animation:none!important}.capsule-host .top-control button,.capsule-host .top-control-shell:after{transition:none}}.capsule-host .top-brand{align-items:center;gap:2px;width:20px;height:18px;display:inline-flex}.capsule-host .top-brand:before,.capsule-host .top-brand:after{content:"";background:var(--accent);border-radius:10px 0;width:8px;height:14px;transform:skewY(-12deg)}.capsule-host .top-brand:after{height:10px;margin-top:5px}.capsule-host .top-control,.capsule-host .top-control-body,.capsule-host .top-control-context p,.capsule-host .top-control-context small,.capsule-host .top-control-copy{transition:none!important}@media (prefers-reduced-motion:reduce){.capsule-host .top-control button,.capsule-host .top-control-shell,.capsule-host .top-control-shell:after{transition:none!important}}.capsule-host .top-control-face{user-select:none}.capsule-host .top-control-face *{pointer-events:none}:root{color-scheme:light;color:#252a28;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:#fff;margin:0}button,textarea{font:inherit;color:inherit}button{cursor:pointer}button:focus-visible,summary:focus-visible{outline-offset:2px;outline:2px solid #2467cf}[hidden]{display:none!important}.sr-only{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.mail-window{background:#fff;flex-direction:column;min-height:100svh;display:flex}.menu-bar{background:#e8ebe8;justify-content:space-between;align-items:center;min-height:32px;padding:0 16px;display:flex;position:relative}.window-dots{gap:5px;display:flex}.window-dots i{background:#c5c9c5;border-radius:50%;width:8px;height:8px}.menu-time{color:#545c55;font-size:10px;font-weight:600}.capsule-host{z-index:2;pointer-events:none;position:absolute;inset:0}.capsule-host .top-control{pointer-events:auto}.mail-toolbar{color:#676d68;background:#f4f5f3;justify-content:space-between;align-items:center;gap:10px;padding:12px clamp(16px,5%,46px);font-size:11px;display:flex}.mail-identity{color:#373f39;align-items:center;gap:8px;font-size:13px;font-weight:600;display:inline-flex}.mail-identity svg{stroke:currentColor;stroke-width:1.4px;fill:none;width:18px;height:18px}.draft-sheet{flex:1;padding:clamp(17px,4vh,30px) clamp(18px,7%,68px) 14px}.recipient{align-items:baseline;gap:14px;font-size:13px;display:flex}.recipient span{color:#777d77}h1{letter-spacing:-.045em;margin:10px 0 18px;font-size:clamp(21px,3.4vw,31px);font-weight:560;line-height:1.12}.salutation{margin:0 0 5px}.salutation,textarea{font-size:16px;line-height:1.5}textarea{color:#252a28;resize:none;background:0 0;border:0;border-radius:0;width:100%;min-height:26px;padding:0;font-family:inherit;display:block;overflow:hidden}textarea:focus-visible{outline:none;box-shadow:0 1px #97b392}.ghost-anchor{min-width:0;margin-top:4px}.ghost-anchor .tab-ghost{pointer-events:auto;max-width:min(100%,460px)}.ghost-anchor .tab-ghost.is-qa{max-width:460px}.ghost-anchor [role=button]{cursor:pointer}.ghost-anchor [role=button]:focus-visible{outline-offset:2px;outline:2px solid #2467cf}html[data-appearance=bamboo] .tab-ghost{--ghost-solid:#e4e8eb;--dr-ink:#263138;--dr-muted:#58666e;--dr-accent:#397748;--dr-line:#b8c2c8;background:linear-gradient(#e7ebeedb,#e7ebeedb),url(/demos/current-cue/qingshi.webp) 35% 45%/460px;border-color:#0000;border-radius:6px;box-shadow:0 3px 12px #16271b26}@media (prefers-reduced-transparency:reduce){html[data-appearance=bamboo] .tab-ghost{background:var(--ghost-solid)}}#memory-detail{color:#354037;border-inline-start:2px solid #75a078;max-width:460px;margin:12px 0 0;padding:0 12px;font-size:13px}#memory-detail small{color:#697269;margin-left:10px;display:inline-block}#memory-detail blockquote{margin:6px 0 0;line-height:1.5}footer{background:#f6f7f5;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding:9px clamp(18px,7%,68px);display:flex}footer button{color:#465248;background:0 0;border:0;align-items:center;gap:8px;min-height:32px;padding:3px 5px;font-size:12px;display:inline-flex}footer button:hover{color:#16271b;background:#e7ece7;border-radius:4px}.slash-key{text-align:center;background:#e5e9e4;border-radius:4px;min-width:18px;padding:1px 4px;font:600 12px/1.35 system-ui}@media (width<=380px){h1{margin-bottom:12px}.menu-bar{padding-inline:10px}.draft-sheet{padding-inline:15px}}@media (height>=680px){body{background:#ecefed;place-items:center;min-height:100svh;padding:12px;display:grid}.mail-window{border-radius:16px;width:min(100%,1040px);height:min(560px,100svh - 24px);min-height:0;overflow:auto;box-shadow:0 8px 32px #17231c12}}.menu-bar{background:#f5f5f4;min-height:40px}.mail-identity{font-size:13px;font-weight:600}.menu-time{color:#545957;font-size:12px}@media (width<=420px){.menu-time{visibility:hidden}}
