/* A luminous, architectural backdrop. The work stays in the foreground. */
.team-console{--halo-a:99,102,241;--halo-b:32,166,207;background:radial-gradient(ellipse at 50% 18%,#1a2744 0%,#0d1424 46%,#090f1a 100%)!important;border:1px solid #455170!important;box-shadow:0 0 0 1px #ffffff04 inset,0 24px 75px -34px #394dd765,0 3px 15px #0004;isolation:isolate}
.team-console[data-stage=research]{--halo-a:58,114,231;--halo-b:27,166,189}.team-console[data-stage=writing]{--halo-a:141,83,220;--halo-b:74,126,230}.team-console[data-stage=outreach]{--halo-a:166,113,196;--halo-b:83,124,211}.team-console[data-stage=reply]{--halo-a:38,154,165;--halo-b:55,112,211}.team-console[data-stage=handoff]{--halo-a:38,154,133;--halo-b:52,126,201}
.team-console::before{inset:-15%;background:radial-gradient(ellipse at 30% 20%,rgba(var(--halo-a),.36),transparent 42%),radial-gradient(ellipse at 78% 57%,rgba(var(--halo-b),.25),transparent 47%),conic-gradient(from 120deg at 50% 25%,transparent,rgba(var(--halo-a),.13),transparent 35%);filter:blur(32px);animation:heroAurora 20s ease-in-out infinite alternate;z-index:0;opacity:1}
.team-console::after{inset:0;background:linear-gradient(90deg,#99bdff0c 1px,transparent 1px),linear-gradient(#99bdff0c 1px,transparent 1px),linear-gradient(135deg,transparent 25%,#a3c2ff0b 48%,transparent 72%);background-size:44px 44px,44px 44px,220% 100%;mask-image:linear-gradient(#0009,transparent 48%,#0009);animation:heroGridLight 22s linear infinite;z-index:0;opacity:.85}
.hero-atmosphere{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden;border-radius:inherit}
.hero-atmosphere .halo{position:absolute;left:50%;top:115px;width:510px;height:340px;border:1px solid rgba(var(--halo-a),.4)!important;border-radius:50%;transform:translateX(-50%) rotate(-18deg);box-shadow:0 0 30px rgba(var(--halo-a),.09),inset 0 0 24px rgba(var(--halo-a),.06)}
.hero-atmosphere .halo-secondary{width:690px;height:460px;top:62px;transform:translateX(-50%) rotate(18deg);border-color:rgba(var(--halo-b),.17)!important;box-shadow:none}
.hero-atmosphere .horizon{position:absolute;left:-20%;right:-20%;height:220px;bottom:145px;background:repeating-linear-gradient(90deg,transparent 0 43px,#83adff14 43px 44px),repeating-linear-gradient(0deg,transparent 0 43px,#83adff14 43px 44px);transform:perspective(350px) rotateX(62deg);transform-origin:center bottom;mask-image:radial-gradient(ellipse,#000,transparent 67%)}
.team-console .team-owner{background:linear-gradient(115deg,#321b26f5,#191826f5);box-shadow:0 10px 24px #0003}.team-console .director-node{background:linear-gradient(115deg,#293c61fa,#1b2947fa);box-shadow:0 0 0 1px #a6c0fa0c inset,0 10px 32px #080c1888;border-color:#7690c1!important}.team-console .specialist{background:#101a2bf5;box-shadow:0 10px 18px #060b1333}.team-console .specialist.is-working{background:linear-gradient(140deg,#213754f7,#14233bf7);box-shadow:0 0 0 1px #a1c4ff17 inset,0 0 25px rgba(var(--halo-a),.2)}
.team-console .console-bar{color:#bacbe5}.team-console .console-bar>span:last-child{color:#a3b2ca}.team-console .org-playback{background:#0e1829f7;border-top-color:#465975!important}.team-console .playback-copy p{color:#b4c4dc}.team-console .org-wires path{stroke:#536c9870}.team-console .org-wires .wire-pulse{stroke:#b5d1ff}
@keyframes heroAurora{0%{transform:translate(-3%,0) scale(1);opacity:.8}100%{transform:translate(5%,-3%) scale(1.08);opacity:1}}
@keyframes heroGridLight{0%{background-position:0 0,0 0,120% 0}100%{background-position:0 0,0 0,-120% 0}}
.demo-motion-paused .team-console::before,.demo-motion-paused .team-console::after{animation-play-state:paused}
/* Explicit surface/text pairs prevent old dark-card colours leaking into light mode. */
html[data-theme=light] .team-console{background:radial-gradient(ellipse at 50% 15%,#e6edff,#f1f5fd 52%,#f8fbff)!important;border-color:#bbcce4!important;box-shadow:0 1px 0 #fff inset,0 22px 60px -34px #5278b655}
html[data-theme=light] .team-console::before{opacity:.25;background:radial-gradient(ellipse at 28% 17%,rgba(var(--halo-a),.35),transparent 46%),radial-gradient(ellipse at 78% 55%,rgba(var(--halo-b),.3),transparent 50%);animation-name:heroAuroraLight}
html[data-theme=light] .team-console::after{background:linear-gradient(90deg,#47679a11 1px,transparent 1px),linear-gradient(#47679a11 1px,transparent 1px);background-size:44px 44px;opacity:.7}
html[data-theme=light] .hero-atmosphere .halo{border-color:#748fcf35!important;box-shadow:none}html[data-theme=light] .hero-atmosphere .halo-secondary{border-color:#679ab427!important}html[data-theme=light] .hero-atmosphere .horizon{opacity:.3}
html[data-theme=light] .team-console .team-owner{background:linear-gradient(110deg,#fff3f5,#fff)!important;border-color:#d8b7c0!important;box-shadow:0 5px 15px #52739310}
html[data-theme=light] .team-console .director-node,html[data-theme=light] .team-console .director-node[aria-pressed=true]{background:linear-gradient(120deg,#e0eaff,#f3f6ff)!important;border-color:#9db4df!important;box-shadow:0 8px 20px #5277ad1a}
html[data-theme=light] .team-console .director-node strong{color:#182e53!important;-webkit-text-fill-color:#182e53}
html[data-theme=light] .team-console .director-node :is(small,.director-note){color:#405a80!important}
html[data-theme=light] .team-console .director-symbol{color:#345b9d!important;background:#d5e1f5}
html[data-theme=light] .team-console .team-owner strong{color:#38293f!important}html[data-theme=light] .team-console .team-owner :is(small,.owner-badge){color:#66566a!important}
html[data-theme=light] .team-console .specialist{background:#ffffffed!important;box-shadow:0 6px 16px #45679512}html[data-theme=light] .team-console .specialist.is-working{background:#e9f1ff!important;border-color:#7498cc!important}
html[data-theme=light] .team-console .specialist strong{color:#203957!important}html[data-theme=light] .team-console .specialist :is(small,span:not(.agent-glyph):not(.lab-check)){color:#4c6380!important}
html[data-theme=light] .team-console .specialist .agent-glyph{color:var(--agent-accent)!important;background:#f0f4fc}
html[data-theme=light] .team-console .console-bar,html[data-theme=light] .team-console .console-bar span{color:#415d83!important}
html[data-theme=light] .team-console .destination-label{color:#4c6380!important}html[data-theme=light] .team-console .asean-destinations>div>span{background:#e6eefb;color:#355578!important;border-color:#bfd0e6!important}
html[data-theme=light] .team-console .team-console-footer,html[data-theme=light] .team-console .team-console-footer span{color:#526985!important}
html[data-theme=light] .team-console .org-playback{background:#edf3fdf7!important;border-top-color:#c4d3e9!important}html[data-theme=light] .team-console :is(.playback-label,.playback-label>span,.playback-copy p){color:#4a6388!important}html[data-theme=light] .team-console .playback-copy strong{color:#243e64!important}
html[data-theme=light] .team-console .playback-controls button{background:#fff;color:#355a8a;border-color:#b7c9e1!important}
html[data-theme=light] .team-console .org-wires path{stroke:#8ca6ce80}html[data-theme=light] .team-console .org-wires .wire-pulse{stroke:#466dba}
html[data-theme=light] .team-hero h1 em{background:none;color:#355a98;-webkit-text-fill-color:#355a98}
html[data-theme=light] .agent-lab .lab-tabs button[aria-pressed=true],html[data-theme=light] .agent-lab .lab-tabs button[aria-pressed=true] span{color:#203e6e!important}html[data-theme=light] .agent-lab .lab-tabs button[aria-pressed=true]{background:#d9e6fc;border-color:#8faedc!important}
html[data-theme=light] .agent-lab .lab-card-label,html[data-theme=light] .agent-lab .lab-card-label span{color:#526b89!important}html[data-theme=light] .agent-lab .lab-process .is-current,html[data-theme=light] .agent-lab .lab-process .is-current span{color:#254e7e!important}html[data-theme=light] .agent-lab .lab-process .is-complete,html[data-theme=light] .agent-lab .lab-process .is-complete span{color:#386476!important}
html[data-theme=light] .agent-lab .lab-check{border-color:#7392b3!important}html[data-theme=light] .agent-lab .is-complete .lab-check{background:#dceef1;border-color:#6397a3!important}html[data-theme=light] .agent-lab .is-complete .lab-check:after{border-color:#2d6978!important}
html[data-theme=light] .agent-lab .lab-output :is(h3,strong){color:#213d51!important}html[data-theme=light] .agent-lab :is(.lab-phase-status,.lab-pending,.lab-file,.lab-output-type){color:#446782!important}
html[data-theme=light] .language-switch button[aria-pressed=true]{background:#213754!important;color:#fff!important}html[data-theme=light] .language-switch button[aria-pressed=true]:hover{background:#314d73!important;color:#fff!important}
html[data-theme=light] :is(.story-heading>p,.story-note,.story-grid p,.story-output,.story-step span){color:#475f52!important}html[data-theme=light] .story-step b{color:#3b6e51!important}
html[data-theme=light] .cup-copy>p:not(.section-index):not(.example-zh){color:#3e594a!important}html[data-theme=light] .sample-reply p{color:#f1f6eb!important}html[data-theme=light] .sample-reply :is(small,span){color:#c6dccb!important}
html[data-theme=light] .hero-route{color:#486386!important}
@keyframes heroAuroraLight{0%{transform:translate(-3%,0);opacity:.2}100%{transform:translate(5%,-3%) scale(1.08);opacity:.35}}
@media(max-width:650px){.hero-atmosphere .halo{width:350px;height:260px;top:130px}.hero-atmosphere .halo-secondary{width:480px;height:400px;top:75px}.hero-atmosphere .horizon{display:none}}
@media(prefers-reduced-motion:reduce){.team-console::before,.team-console::after{animation:none!important}.hero-atmosphere *{animation:none!important}}
