:root{color-scheme:light;--ink:#263651;--muted:#8392aa;--line:#e2eafa;--blue:#688af4;font-family:Bahnschrift,"Microsoft YaHei","PingFang SC",sans-serif;color:var(--ink);background:transparent}*{box-sizing:border-box}body{margin:0;min-height:100vh;display:grid;align-items:center;padding:24px 16px}.workspace{width:min(900px,100%);margin:auto;border:1px solid #dbe5fa;border-radius:24px;background:linear-gradient(135deg,#fff,#f7faff);box-shadow:0 22px 65px #668bd51a;overflow:hidden}header{height:57px;display:flex;justify-content:space-between;align-items:center;padding:0 23px;border-bottom:1px solid var(--line)}.brand{color:var(--blue);font-size:25px;font-weight:700;display:flex;align-items:center;gap:12px}.brand b{font-size:12px;color:var(--ink);font-weight:600}.window-dots{letter-spacing:4px;color:#c4d4f6;font-size:9px}.workspace-body{display:grid;grid-template-columns:120px minmax(0,1fr) 166px;min-height:390px}aside{border-right:1px solid var(--line);padding:27px 13px;display:flex;flex-direction:column;gap:9px}aside>small{font-size:8px;letter-spacing:1.2px;color:var(--muted);margin:0 5px 12px}aside>span{font-size:11px;padding:10px;border-radius:9px;color:#8191ac}aside .selected{background:#edf2ff;color:#5579e6}.account{margin-top:auto;font-size:8px;color:var(--muted);padding-top:28px}.account i,.section-label>i{display:inline-block;width:5px;height:5px;background:#73baa8;border-radius:50%;margin-right:6px}.conversation{padding:23px;min-width:0}.section-label{display:flex;align-items:center;font-size:8px;letter-spacing:1px;color:var(--muted)}.section-label>span{margin-left:auto;font-size:8px;letter-spacing:0}h1{font-size:23px;letter-spacing:-.5px;font-weight:600;margin:18px 0 12px}.request{font-size:10px;color:#8090a8;line-height:1.8;margin:0 0 16px}.workflow{display:grid;gap:6px}.task{display:flex;align-items:center;gap:10px;padding:9px 10px;border:1px solid var(--line);border-radius:11px;background:#ffffffc9}.task-icon{font-size:9px;color:#6d8eed;background:#f0f5ff;padding:8px 6px;border-radius:7px}.task b{display:block;font-size:10px;font-weight:500}.task small{display:block;font-size:8px;color:var(--muted);margin-top:4px}.status{margin-left:auto;font-size:8px;color:#78a89b}.activity{display:flex;gap:3px;margin-left:auto}.activity i{width:3px;height:3px;border-radius:50%;background:var(--blue);animation:thinking 1.5s infinite}.activity i:nth-child(2){animation-delay:.2s}.activity i:nth-child(3){animation-delay:.4s}.code{border:1px solid var(--line);border-radius:11px;margin-top:12px;overflow:hidden;background:#f8faff}.code>div:first-child{display:flex;justify-content:space-between;font-size:8px;color:var(--muted);padding:10px 12px;border-bottom:1px solid var(--line)}.code small{font-size:8px}pre{font:9px/1.85 Consolas,monospace;margin:10px 13px;color:#60718d;overflow:hidden}pre span{color:#7594ed}pre em{color:#6eaaa0;font-style:normal}.progress{height:2px;background:#e8effe}.progress i{display:block;width:60%;height:100%;background:linear-gradient(90deg,#b3d3fb,#7296f5);transform-origin:left;animation:progress 5s ease-in-out infinite}footer{display:flex;justify-content:space-between;padding:13px 0 0;font-size:9px;color:#9aa8bc}footer b{color:#718eea}.insights{padding:29px 17px 20px;border-left:1px solid var(--line);background:linear-gradient(170deg,#f7faff,#fff)}.insights>small{font-size:8px;letter-spacing:1.2px;color:var(--muted)}.rate{margin-top:23px}.rate strong{font-size:34px;font-weight:500;letter-spacing:-1px}.rate>span{font-size:9px;color:var(--muted);margin-left:5px}.insights p{font-size:8px;color:#a4afc1}.bars{height:79px;display:flex;align-items:end;gap:4px;margin:29px 0 26px;border-bottom:1px solid var(--line)}.bars i{width:7px;flex:1;background:linear-gradient(#94b7fb,#e0ebff);border-radius:3px 3px 0 0;height:60%;animation:bar 3s ease-in-out alternate infinite}.bars i:nth-child(3n){height:89%;animation-delay:-1s}.bars i:nth-child(2n){height:37%;animation-delay:-2s}.check{padding:10px 0;border-bottom:1px solid var(--line);font-size:9px;color:#8e9fb7}.workspace-note{padding:12px 20px;font-size:8px;letter-spacing:.6px;color:#a1aec0;text-align:right;border-top:1px solid var(--line)}html[data-scene-paused] *,html[data-scene-paused] *::before,html[data-scene-paused] *::after{animation-play-state:paused!important}@keyframes thinking{50%{opacity:.2;transform:translateY(-3px)}}@keyframes progress{0%,100%{transform:scaleX(.4)}60%{transform:scaleX(1.5)}}@keyframes bar{to{transform:scaleY(.6)}}@media(max-width:600px){body{padding:16px 8px}.workspace{border-radius:18px}.workspace-body{grid-template-columns:minmax(0,1fr)}aside,.insights{display:none}.conversation{padding:19px}header{height:48px;padding:0 19px}h1{font-size:23px}.workspace-note{text-align:left;font-size:7px}}@media(prefers-reduced-motion:reduce){html:not([data-motion-override]) *{animation:none!important}}

/* A stable frame with a visible, sequential context-to-receipt narrative. */
.workspace{border-color:#e1e8ee;box-shadow:0 24px 70px #47628210}.workspace-body{grid-template-columns:100px minmax(0,1fr) 145px;min-height:490px}.conversation{padding:19px 20px}.conversation h1{font-size:21px;margin:14px 0 9px}.request{font-size:10px;margin-bottom:13px}.request-cursor,.code-cursor{display:inline-block;width:2px;height:12px;background:#3683fc;vertical-align:middle;margin-left:3px;animation:thinking 1s steps(2) infinite}.context-stack{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:0 0 13px;perspective:600px}.context-card{min-width:0;padding:10px 7px;border:1px solid #e6ebf0;border-radius:9px;background:#fcfdff;opacity:.2;transform:translateY(10px) rotateX(10deg);transition:opacity .6s,transform .6s,border-color .6s}.context-card.arrived{opacity:1;transform:none;border-color:#c9dcf8}.context-card>span{font-size:7px;color:#3683fc}.context-card>b{display:block;font-size:8px;font-weight:550;margin:5px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.context-card>small{display:block;font-size:6px;color:#8a98a7;white-space:nowrap}.context-card:nth-child(2){background:#f7fcfa}.context-card:nth-child(2)>span{color:#159d8d}.context-card:nth-child(3){background:#fffcf6}.context-card:nth-child(3)>span{color:#b37e32}.task{padding:7px 9px;transition:background .4s,border-color .4s,transform .4s}.task.running{background:#f3f8ff;border-color:#b9d4fb;transform:translateX(3px)}.task.done .task-icon{color:#148878;background:#edf8f4}.task.running .status{color:#3683fc}.task.done .status{color:#148878}.task .status{font-size:7px;white-space:nowrap}.task small{font-size:7px}.code{margin-top:10px;background:#fbfcfe}.code>div:first-child{padding:8px 10px}.code pre{min-height:94px;max-height:94px;margin:9px 12px;overflow:hidden;white-space:pre-wrap;font-size:8px;line-height:1.65}.code pre code{font:inherit;color:#516481}.progress{height:3px}.progress i{width:4%;animation:none;background:linear-gradient(90deg,#3683fc,#58b4a0);transition:width .5s ease}.delivery{display:flex;gap:8px;align-items:center;padding:9px 10px;margin-top:9px;border:1px solid #d4e9df;background:#f4fbf7;border-radius:10px;opacity:.25;transform:translateY(3px);transition:opacity .6s,transform .6s}.delivery.visible{opacity:1;transform:none}.delivery>span{color:#159d8d}.delivery b{font-size:8px;font-weight:550}.delivery small{display:block;font-size:6px;color:#7e9489;margin-top:3px}.delivery em{font-size:6px;color:#93aaa0;margin-left:auto;font-style:normal}.insights{padding:25px 13px}.rate strong{color:#3683fc}.bars{margin-top:23px}.bars i{animation:none;transition:height .7s ease;background:linear-gradient(#69b8aa,#dcefe8)}.check{display:flex;justify-content:space-between;gap:4px;font-size:8px;transition:color .4s}.check span{font-size:7px;color:#a3adba}.check.checked,.check.checked span{color:#159d8d}.context-count{display:flex;flex-direction:column;gap:4px;margin-top:27px}.context-count b{font-size:23px;color:#b58b4c;font-weight:500}.context-count span{font-size:7px;color:#9aa8b6}.workspace-note{font-size:7px}.workspace[data-stage=done] .code-cursor{visibility:hidden}
@media(max-width:600px){.workspace-body{grid-template-columns:minmax(0,1fr);min-height:0}.conversation{padding:18px}.context-card{padding:10px 7px}.context-card>b{font-size:9px}.context-card>small{font-size:7px}.code pre{min-height:100px;max-height:100px;font-size:9px}.conversation footer{font-size:7px}.delivery small{font-size:7px}}
html[data-scene-paused] *{transition-duration:0s!important}

/* A moving handoff between context cards, not a decorative fake metric. */
.context-stack{position:relative;padding-bottom:8px}
.context-stack::after{content:"";position:absolute;bottom:0;left:7%;right:7%;height:1px;background:linear-gradient(90deg,#dce6f0,#d2e9df 55%,#eadcc7)}
.context-card{position:relative;transition:opacity .6s,transform .6s,border-color .6s,box-shadow .6s}
.context-card.focused{transform:translateY(-3px);border-color:#accaf0;box-shadow:0 6px 17px #5883b912}
.context-card.focused::after{content:"";position:absolute;bottom:-11px;left:calc(50% - 3px);width:6px;height:6px;border-radius:50%;background:#3683fc;box-shadow:0 0 0 4px #3683fc0e;z-index:1}
.context-card:nth-child(2).focused{border-color:#aed4c8}.context-card:nth-child(2).focused::after{background:#159d8d;box-shadow:0 0 0 4px #159d8d0e}
.context-card:nth-child(3).focused{border-color:#e1c9a5}.context-card:nth-child(3).focused::after{background:#cf8b32;box-shadow:0 0 0 4px #cf8b320e}
@media(prefers-reduced-motion:reduce){html:not([data-motion-override]) .context-card{transition:none;transform:none}}

/* Content sets the iframe height; never trap a second vertical scrollbar. */
body{display:block;min-height:0;padding:18px 10px}
.code pre{max-height:none;min-height:116px;overflow:visible;overflow-wrap:anywhere}
.conversation,.workspace-body{min-height:0}
@media(max-width:600px){body{padding:12px 6px}.code pre{max-height:none;min-height:148px}}
