
.agent-team-board,.team-department--sales,[data-team-tab="sales"]{--dept-accent:#2b69a4;--dept-border:#b8d1e6;--dept-surface:#eef5fc;--dept-tint:#dbeafa;--dept-ink:#214f77}
.agent-team-board[data-department="admin"],.team-department--admin,[data-team-tab="admin"]{--dept-accent:#2b7c68;--dept-border:#b8d7ca;--dept-surface:#eff7f3;--dept-tint:#d9ece3;--dept-ink:#235c4b}
.agent-team-board[data-department="marketing"],.team-department--marketing,[data-team-tab="marketing"]{--dept-accent:#a74e76;--dept-border:#e3bdcf;--dept-surface:#fcf1f6;--dept-tint:#f3dce6;--dept-ink:#793553}
/* source_agent=codex / machine=mac-mini; department board based on the supplied UI reference. */
.agent-workflow-section{background:#f7f8fb;color:#25354a;scroll-margin-top:100px}
.workflow-intro{font-size:18px;line-height:1.9;color:#57667a;margin-top:24px}
.agent-team-board{margin-top:38px;border:1px solid #d6dfea;border-radius:18px;background:#fff;box-shadow:0 14px 38px rgba(30,52,80,.07);overflow:hidden;text-align:left}
.team-workspace-bar{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:15px 20px;background:#fff;border-bottom:1px solid #dce4ee}
.team-workspace-bar>div{display:flex;align-items:center;gap:16px}.team-workspace-brand{font-size:22px;font-weight:800;letter-spacing:-.04em;color:#253b57}.team-workspace-name{font-size:12px;font-weight:700;color:#56647a}.team-example-label{font-size:10px;color:#65748a}
.agent-team-board button{font:inherit;cursor:pointer}.agent-team-board button:focus-visible{outline:3px solid #345d91;outline-offset:3px}
.team-workspace-tools button,.team-conversation-bottom button{border:1px solid var(--dept-border);background:var(--dept-surface);color:var(--dept-ink);border-radius:7px;padding:7px 10px;font-size:11px;line-height:1.5;min-height:34px}
.team-workspace-tools button[hidden]{display:none}.team-board-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;align-items:stretch}
.team-main{padding:19px 16px 12px;min-width:0}.team-overview{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:16px}.team-overview p{font-size:15px;font-weight:800;margin:0;color:#2d4058}.team-overview span{font-size:10px;line-height:1.8;color:#64748b}.team-overview .team-summary{font-size:11px;font-weight:700;background:#edf2f8;color:#52647c;padding:9px 10px;border-radius:9px;white-space:nowrap}
.team-department-tabs{display:none}.team-departments{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;align-items:stretch}
.team-department{min-width:0;border:1px solid var(--dept-border);background:var(--dept-surface);border-radius:13px;overflow:hidden;display:flex;flex-direction:column;}

.team-department-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:9px 8px 0;padding:7px 10px;border-radius:16px;background:var(--dept-accent);color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.25)}
.team-department-heading h3{font-size:13px;line-height:1.5;letter-spacing:.02em;margin:0}.team-department-heading>span{font-size:8px;white-space:nowrap}
.team-department-cards{display:grid;grid-template-columns:1fr;gap:9px;padding:10px 8px;flex:1}.team-department--sales .team-department-cards,.team-department--admin .team-department-cards,.team-department--marketing .team-department-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
.team-agent-card{position:relative;min-height:174px;display:flex;flex-direction:column;min-width:0;width:100%;padding:11px 10px 9px;text-align:left;border:1px solid #dce3eb;border-radius:10px;background:#fff;color:#2d4058;box-shadow:0 2px 4px rgba(42,39,24,.035);transition:border-color .2s,box-shadow .2s,background .2s}
.team-agent-card:hover{border-color:var(--dept-accent)}.team-agent-card[aria-pressed="true"]{border-color:var(--dept-accent);background:var(--dept-surface);box-shadow:inset 0 0 0 1px var(--dept-accent),0 3px 8px rgba(42,39,24,.06)}
.team-card-top{display:flex;justify-content:space-between;align-items:flex-start;gap:4px;line-height:1.5}.team-card-top strong{font-size:11px;font-weight:700}
.team-card-task{display:block;margin-top:6px;font-size:10px;font-weight:700;line-height:1.7;color:#5c6e83}
.team-agent-desk{position:relative;display:flex;align-items:center;justify-content:center;flex:1;min-height:81px;padding:5px 0}
.team-agent-desk>img{display:block;width:78px;height:78px;object-fit:contain;transform-origin:50% 90%;filter:drop-shadow(0 3px 2px rgba(44,35,18,.08))}

.team-card-bottom{display:block;margin-top:4px;font-size:8px;color:#65758b;line-height:1.6}.team-mini-progress{display:block;margin-top:5px;height:3px;background:#e5ecf4;border-radius:2px;overflow:hidden}.team-mini-progress i{display:block;width:15%;height:100%;background:var(--dept-accent);transition:width .65s}
.team-department--sales .team-agent-desk>img{width:68px;height:68px}.team-department--sales .team-agent-desk{min-height:78px}.team-department--sales .team-card-top{flex-direction:column}.team-department--sales .team-card-task{font-size:9px}.team-department--admin .team-card-top{flex-direction:column}.team-department--admin .team-card-task{font-size:9px}.team-department--admin .team-agent-desk>img{width:75px;height:75px}.team-department--marketing .team-agent-desk{min-height:78px}.team-department--marketing .team-agent-desk>img{width:68px;height:68px}.team-department--marketing .team-card-top{flex-direction:column}.team-department--marketing .team-card-task{font-size:9px}
.team-department-footer{display:flex;justify-content:space-between;align-items:center;gap:4px;padding:7px 8px;font-size:7px;color:#65748a;border-top:1px solid var(--dept-border)}.team-department-footer>span:first-child{font-weight:700;letter-spacing:.06em}
.team-board-caption{font-size:10px;line-height:1.7;color:#65748a;margin:12px 1px 0}
.team-conversation{display:flex;flex-direction:column;min-width:0;border-left:1px solid var(--dept-border);background:var(--dept-surface);color:var(--dept-ink)}
.team-conversation-heading{display:flex;gap:9px;align-items:center;padding:17px 14px;border-bottom:1px solid var(--dept-border);background:var(--dept-tint)}
.team-conversation-heading>img{width:38px;height:38px;object-fit:contain}.team-conversation-heading>div{min-width:0}.team-conversation-heading>div>span{font-size:9px;color:var(--dept-ink)}.team-conversation-heading h3{font-size:13px;line-height:1.5;letter-spacing:0;margin:2px 0 0}.team-presence{font-size:8px;margin-left:auto;white-space:nowrap;color:var(--dept-ink)}
.team-conversation-body{padding:22px 16px;flex:1;display:flex;flex-direction:column;justify-content:space-between;gap:26px}.team-chat-label{font-size:11px;font-weight:700;color:var(--dept-ink);margin:0 0 10px;line-height:1.7}.team-chat{position:relative;font-size:14px;line-height:1.9;padding:14px 16px;border-radius:12px;margin:0;overflow-wrap:anywhere}.team-chat--human{border:1px solid var(--dept-border);background:#fff}.team-chat--agent{border:1px solid var(--dept-border);background:var(--dept-tint)}
.team-deliverable{border:1px solid var(--dept-border);border-radius:12px;padding:16px;margin:0;background:#ffffffb8}.team-deliverable>span{font-size:11px;color:var(--dept-ink)}.team-deliverable h4{font-size:14px;margin:10px 0 14px;line-height:1.7}.team-deliverable ul{list-style:none;padding:0;margin:0;display:grid;gap:10px;font-size:12px;line-height:1.8;color:var(--dept-ink)}
.team-conversation-bottom{padding:12px 14px;border-top:1px solid var(--dept-border);background:var(--dept-surface);display:flex;flex-direction:column;gap:9px}.team-conversation-bottom p{font-size:12px;color:var(--dept-ink);margin:0}.team-conversation-bottom button{font-size:11px;width:100%;border-color:var(--dept-border);background:var(--dept-tint);color:var(--dept-ink)}
.workflow-footnote{font-size:12px;line-height:1.9;margin-top:18px;color:#57667a}.team-selection-announcement{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@keyframes team-agent-work{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-5px) rotate(4deg)}}
@media(max-width:1199px) and (min-width:1100px){.team-board-layout{grid-template-columns:minmax(0,1fr) 245px}.team-main{padding-inline:12px}.team-departments{gap:8px}.team-card-top strong{font-size:10px}.team-agent-card{padding:9px 7px}.team-department-heading{padding-inline:7px}.team-department-heading>span{font-size:7px}}
@media(max-width:1099.98px){
 .team-board-layout{grid-template-columns:minmax(0,1fr) 290px}.team-department-tabs{display:flex;gap:7px;margin-bottom:12px}.team-department-tabs button{flex:1;font-size:12px;border:1px solid var(--dept-border);background:var(--dept-surface);color:var(--dept-ink);padding:9px 8px;border-radius:8px}.team-department-tabs button[aria-pressed="true"]{background:var(--dept-accent);border-color:var(--dept-accent);color:#fff;font-weight:700}
 .team-departments{grid-template-columns:1fr}.team-department{display:none}.agent-team-board[data-department="sales"] [data-team-department="sales"],.agent-team-board[data-department="admin"] [data-team-department="admin"],.agent-team-board[data-department="marketing"] [data-team-department="marketing"]{display:flex}
 .team-department-cards,.team-department--sales .team-department-cards,.team-department--admin .team-department-cards,.team-department--marketing .team-department-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.team-department-heading h3{font-size:14px}.team-department-heading>span{font-size:10px}.team-agent-card{min-height:193px}.team-card-top strong{font-size:12px}.team-department--admin .team-card-top{flex-direction:row}.team-card-task,.team-department--admin .team-card-task{font-size:10px}.team-agent-desk,.team-department--sales .team-agent-desk,.team-department--marketing .team-agent-desk{min-height:90px}.team-agent-desk>img,.team-department--sales .team-agent-desk>img,.team-department--admin .team-agent-desk>img,.team-department--marketing .team-agent-desk>img{width:82px;height:82px}.team-department-footer{font-size:8px}.team-overview{align-items:start}.team-overview p{font-size:14px}.team-overview>div>span{display:none}.team-board-caption{font-size:10px}
}
@media(max-width:760px){
 .workflow-intro{font-size:16px}.workflow-intro br{display:none}.agent-team-board{margin-top:28px;border-radius:14px}.team-board-layout{grid-template-columns:1fr}.team-workspace-bar{padding:12px;gap:8px}.team-workspace-bar>div{gap:10px}.team-workspace-brand{font-size:19px}.team-workspace-name{font-size:10px}.team-example-label{display:none}.team-workspace-tools button{font-size:10px;padding:6px 8px}.team-main{padding:15px 11px 12px}.team-overview p{font-size:13px}.team-overview .team-summary{font-size:9px;padding:6px 8px}.team-department-tabs button{font-size:11px;padding:8px 5px}.team-department-heading h3{font-size:13px}.team-department-heading>span{font-size:9px}.team-agent-card{padding:10px 8px;min-height:190px}.team-card-top{flex-direction:column}.team-department--admin .team-card-top{flex-direction:column}.team-card-top strong{font-size:12px}.team-card-task{font-size:10px}.team-card-bottom{font-size:8px}.team-conversation{border-left:0;border-top:1px solid var(--dept-border)}.team-conversation-heading{padding:13px 14px}.team-conversation-heading h3{font-size:15px}.team-conversation-heading>div>span{font-size:10px}.team-conversation-heading>img{width:46px;height:46px}.team-presence{font-size:10px}.team-conversation-body{padding:16px}.team-chat-label{font-size:11px}.team-chat{font-size:14px;margin:0}.team-deliverable>span{font-size:10px}.team-deliverable h4{font-size:14px}.team-deliverable ul{font-size:12px}.team-conversation-bottom{padding:12px 16px}.team-conversation-bottom button{min-height:40px;font-size:12px}.team-conversation-bottom p{font-size:11px}.team-department-footer{font-size:7px}
}
@media(max-width:359px){.team-workspace-name{display:none}.team-overview{gap:4px}.team-overview p{font-size:12px}.team-overview .team-summary{font-size:8px}.team-department-cards,.team-department--admin .team-department-cards{gap:7px;padding:8px 6px}.team-agent-card{padding:9px 6px}.team-card-top strong{font-size:11px}.team-card-task,.team-department--admin .team-card-task{font-size:9px}.team-card-bottom{font-size:7px}.team-department-footer>span:last-child{display:none}}
@media(prefers-reduced-motion:reduce){.agent-team-board *{animation:none!important;transition:none!important}}

/* source_agent=codex / machine=mac-mini: mail copy and scene share a balanced card, with a full-width footer. */
.agent-team-board .team-agent-card--wide{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.95fr);grid-template-rows:auto auto auto;gap:6px 14px;min-height:144px}
.team-agent-card--wide .team-card-top{grid-column:1;grid-row:1;flex-direction:column;align-self:end}
.team-agent-card--wide .team-card-task{grid-column:1;grid-row:2;align-self:start;margin-top:0}
.agent-team-board .team-agent-card--wide .team-agent-desk--scene{grid-column:2;grid-row:1/3;display:grid;grid-template-columns:minmax(0,.8fr) 12px minmax(0,1.2fr);align-items:center;justify-items:center;gap:8px;min-height:90px;width:100%;max-width:210px;justify-self:end;padding:6px 0}
.agent-team-board .team-agent-card--wide .team-agent-desk--scene>img,.agent-team-board .team-agent-card--wide .team-agent-desk--scene:has(.team-work-target--prop)>img{width:100%;max-width:44px;height:auto}
.agent-team-board .team-agent-card--wide .team-work-target{width:100%;max-width:70px}
.team-agent-card--wide .team-card-bottom{grid-column:1/-1;grid-row:3;align-self:end;margin-top:0}
@media(max-width:359px){.agent-team-board .team-agent-card--wide{column-gap:10px}.agent-team-board .team-agent-card--wide .team-agent-desk--scene{column-gap:6px}}

/* Stable bubbles and continuously streamed visual copies. */
.team-chat-turn{min-width:0}
.team-chat-source{display:block;opacity:0}
.team-chat-stream{position:absolute;inset:14px 16px;pointer-events:none}
.team-chat-turn-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}
.team-chat-turn-heading .team-chat-label{min-width:0}
.team-chat-typing{display:flex;gap:3px;flex:none;margin-bottom:10px;opacity:0}
.team-chat-typing i{width:5px;height:5px;border-radius:50%;background:currentColor}
.agent-team-board[data-phase="1"][data-running="true"] .team-chat-typing{opacity:1}
.agent-team-board[data-phase="1"][data-running="true"] .team-chat-typing i{animation:team-typing-dot .9s ease-in-out infinite}
.team-chat-typing i:nth-child(2){animation-delay:.15s!important}.team-chat-typing i:nth-child(3){animation-delay:.3s!important}
.team-chat--agent .team-chat-stream:empty::before{content:"···";opacity:.6}
.agent-team-board[data-phase="0"][data-running="true"] .team-chat--human .team-chat-stream::after,
.agent-team-board[data-phase="1"][data-running="true"] .team-chat--agent .team-chat-stream::after{content:"";display:inline-block;height:1em;width:2px;background:currentColor;margin-left:2px;margin-right:-4px;vertical-align:-.1em;animation:team-chat-cursor .7s steps(2,end) infinite}
.team-deliverable li{position:relative;display:flex;align-items:flex-start;gap:8px;padding:10px;border:1px solid var(--dept-border);border-radius:8px;background:#fff;transition:opacity .22s ease,transform .22s ease}
.team-deliverable li::before{content:"✓";flex:none;color:var(--dept-accent);font-weight:800}
.team-deliverable li[data-chat-visible="false"]{color:transparent;background:var(--dept-surface);transform:translateY(4px)}
.team-deliverable li[data-chat-visible="false"]::before{color:transparent}
.team-deliverable li[data-chat-visible="false"]::after{content:"";position:absolute;left:34px;right:12px;top:50%;height:6px;border-radius:4px;background:var(--dept-border);opacity:.7}
@keyframes team-chat-cursor{50%{opacity:0}}
@keyframes team-typing-dot{0%,70%,100%{transform:translateY(0);opacity:.4}35%{transform:translateY(-3px);opacity:1}}
@media(max-width:760px){.team-conversation-body{justify-content:flex-start;gap:22px;padding:20px 16px}.team-conversation-bottom p{font-size:12px}}

/* source_agent=codex / machine=mac-mini: AI + the person or object it works with. */
.agent-team-board .team-agent-desk--scene{min-height:104px;gap:6px;padding:12px 0 15px;isolation:isolate}
.agent-team-board .team-agent-desk--scene>img{width:38%;max-width:48px;height:auto;flex:none;z-index:2}
.team-work-target{position:relative;display:block;flex:none;width:50%;max-width:66px;line-height:0;filter:drop-shadow(0 4px 3px #42385816)}
.team-work-target>svg{display:block;width:100%;height:auto;overflow:visible;fill:var(--dept-ink);stroke-linecap:round;stroke-linejoin:round;stroke-width:2}
.team-work-target--person{width:45%;max-width:59px;align-self:center}
.team-work-target .work-person{height:88px;width:100%;overflow:hidden}
.team-work-target .work-dialogue{position:absolute;left:-45%;top:-4px;width:75%;height:auto;fill:#fff;stroke:var(--dept-accent);stroke-width:1.8;filter:drop-shadow(0 2px 2px #42385813)}
.work-dialogue circle{fill:var(--dept-accent);stroke:none}
@keyframes work-conversation{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}
@media(max-width:1099.98px){.agent-team-board .team-agent-desk--scene>img{max-width:60px}.team-work-target{max-width:78px}.team-work-target--person{max-width:62px}}
@media(max-width:359px){.agent-team-board .team-agent-desk--scene{gap:4px}.team-work-target .work-person{height:79px}.agent-team-board .team-agent-desk--scene>img{width:38%}.team-work-target{width:50%}.team-work-target--person{width:45%}}
@media(prefers-reduced-motion:reduce){.agent-team-board .team-work-target *{animation:none!important}}

/* source_agent=codex / machine=mac-mini: AI reads two parallel information areas under shared rules. */
.agent-team-board .team-agent-card--architecture{display:flex;flex-direction:column;gap:0;padding:11px 10px;min-height:0}
.team-agent-card--architecture .team-card-top{display:block;flex:none}.team-agent-card--architecture .team-card-top strong{word-break:keep-all}
.team-agent-card--architecture .team-card-task{flex:none;margin-bottom:10px}
/* Shared data architecture: data-environment.css */
/* source_agent=codex / machine=mac-mini: separate brand vectors and female headset recipient. */
.team-work-target img.work-person{display:block;object-fit:contain;object-position:center bottom}
.agent-team-board .team-agent-desk[data-work-target="social"]>img{width:32%;max-width:44px}
.team-work-target--social{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;width:58%;max-width:76px;filter:none}
.team-social-logo{display:grid;place-items:center;aspect-ratio:1;min-width:0;border:1px solid var(--dept-border);border-radius:6px;background:#fff;box-shadow:0 2px 3px #4238580c}
.team-social-logo>img{display:block;width:70%;height:70%;object-fit:contain}

/* source_agent=codex / machine=mac-mini: soft3D physical props with editable role-specific UI. */
.agent-team-board .team-agent-desk--scene:has(.team-work-target--prop)>img{width:32%;max-width:44px}
.team-work-target--prop{width:60%;max-width:76px;filter:none}
.team-work-target--paper{width:50%;max-width:54px}
.team-work-target--prop>.work-prop-image{display:block;width:100%;height:auto;object-fit:contain}
.team-work-target .work-prop-ui{position:absolute;display:block;overflow:hidden;pointer-events:none;z-index:1;fill:var(--dept-ink)}
.team-work-target .work-prop-ui--screen{left:13%;top:17%;width:73%;height:40%}
.team-work-target .work-prop-ui--paper{left:27%;top:36%;width:56%;height:44%}
.team-work-target .work-prop-ui--mail{left:32%;top:29%;width:38%;height:13%}

/* source_agent=codex / machine=mac-mini: readable work surfaces and AI-to-task interaction. */
.agent-team-board .team-agent-desk--scene{gap:2px}
.agent-team-board .team-agent-desk--scene>img,.agent-team-board .team-agent-desk--scene:has(.team-work-target--prop)>img,.agent-team-board .team-agent-desk[data-work-target="social"]>img{width:28%;max-width:40px}
.team-work-target--prop{width:54%;max-width:78px}.team-work-target--paper{width:44%;max-width:54px}.team-work-target--social{width:50%;max-width:76px}.team-work-target--person{width:43%;max-width:59px}
.work-transfer{display:block;position:relative;flex:none;width:12px;height:14px;overflow:hidden;line-height:0}
.work-transfer i{display:block;position:absolute;top:4px;left:0;width:0;height:0;border-left:5px solid var(--dept-accent);border-block:3px solid transparent;opacity:.22}
.work-transfer i:nth-child(2){left:4px;opacity:.15}.work-transfer i:nth-child(3){left:8px;opacity:.08}
.team-work-target .work-ui{fill:none;stroke:none;stroke-width:0;border-radius:2px}
.work-ui .ui-paper{fill:#fff}.work-ui .ui-rail{fill:#edf1f3}.work-ui .ui-muted{fill:#b7c3ca}.work-ui .ui-ink{fill:#344b58}.work-ui .ui-shell{fill:var(--dept-ink)}.work-ui .ui-soft{fill:var(--dept-tint)}.work-ui .ui-accent{fill:var(--dept-accent)}.work-ui .ui-positive{fill:#79b69a}
.work-ui .ui-rule{fill:none;stroke:var(--dept-accent);stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.work-ui .ui-playhead{stroke:#fff;stroke-width:1.5}
.work-ui-reveal{opacity:1;transform-box:fill-box;transform-origin:left center}
.team-work-target--prop::after{content:'';position:absolute;top:-2px;right:-2px;width:11px;height:14px;border:1px solid var(--dept-accent);border-radius:2px;background:repeating-linear-gradient(to bottom,#fff 0 3px,var(--dept-border) 3px 4px,#fff 4px 5px);box-shadow:0 2px 4px #243b2d18;opacity:0;transform:translateY(3px)}
.team-work-target .work-dialogue{left:0;top:-10px;width:70%}
.agent-team-board[data-running="true"] :is(.team-agent-card,.team-work-preview)[data-activity="live"] .team-agent-desk--scene>img{animation:work-agent-reach 3.6s ease-in-out infinite;animation-delay:var(--scene-offset,0s)}
.agent-team-board[data-running="true"] :is(.team-agent-card,.team-work-preview)[data-activity="live"] .team-work-target--prop{animation:none}
.agent-team-board[data-running="true"] :is(.team-agent-card,.team-work-preview)[data-activity="live"] .work-transfer i{left:0;animation:work-transfer-pass 1.2s linear infinite}
.agent-team-board[data-running="true"] :is(.team-agent-card,.team-work-preview)[data-activity="live"] .work-transfer i:nth-child(2){animation-delay:.2s}
.agent-team-board[data-running="true"] :is(.team-agent-card,.team-work-preview)[data-activity="live"] .work-transfer i:nth-child(3){animation-delay:.4s}
.agent-team-board[data-running="true"] :is(.team-agent-card,.team-work-preview)[data-activity="live"] .work-ui-reveal{animation:work-ui-build 3.6s ease-out infinite;animation-delay:var(--scene-offset,0s)}
.agent-team-board[data-running="true"] :is(.team-agent-card,.team-work-preview)[data-activity="live"] .work-ui-reveal--2{animation-delay:calc(var(--scene-offset,0s) + .22s)}
.agent-team-board[data-running="true"] :is(.team-agent-card,.team-work-preview)[data-activity="live"] .work-ui-reveal--3{animation-delay:calc(var(--scene-offset,0s) + .44s)}
.agent-team-board[data-running="true"] :is(.team-agent-card,.team-work-preview)[data-activity="live"] .work-ui-trend{stroke-dasharray:100;animation:work-ui-trend 3.6s ease-out infinite}
.agent-team-board[data-running="true"] :is(.team-agent-card,.team-work-preview)[data-activity="live"] .ui-playhead{animation:work-ui-cursor 3.6s linear infinite}
.agent-team-board[data-running="true"] :is(.team-agent-card,.team-work-preview)[data-activity="live"] .team-work-target--prop::after{animation:work-output-appear 3.6s ease-out infinite}
.agent-team-board[data-running="true"] :is(.team-agent-card,.team-work-preview)[data-activity="live"] .work-dialogue{animation:work-conversation 2s ease-in-out infinite}
.agent-team-board[data-running="true"] :is(.team-agent-card,.team-work-preview)[data-activity="live"] .work-dialogue circle{animation:work-dialogue-dot 1.2s ease-in-out infinite}
.agent-team-board[data-running="true"] :is(.team-agent-card,.team-work-preview)[data-activity="live"] .work-dialogue circle:nth-of-type(2){animation-delay:.2s}
.agent-team-board[data-running="true"] :is(.team-agent-card,.team-work-preview)[data-activity="live"] .work-dialogue circle:nth-of-type(3){animation-delay:.4s}
.agent-team-board[data-running="true"] :is(.team-agent-card,.team-work-preview)[data-activity="live"] .team-social-logo{animation:work-social-post 3.6s ease-in-out infinite}
.agent-team-board[data-running="true"] :is(.team-agent-card,.team-work-preview)[data-activity="live"] .team-social-logo:nth-child(2){animation-delay:.35s}
.agent-team-board[data-running="true"] :is(.team-agent-card,.team-work-preview)[data-activity="live"] .team-social-logo:nth-child(3){animation-delay:.7s}
.agent-team-board[data-running="true"] :is(.team-agent-card,.team-work-preview)[data-activity="live"] .team-social-logo:nth-child(4){animation-delay:1.05s}
.team-work-preview{display:flex;align-items:center;justify-content:center;min-height:170px;padding:4px 0}
.agent-team-board .team-work-preview .team-agent-desk--scene{flex:none;width:100%;max-width:245px;min-height:164px;padding:15px 0 5px;gap:4px}
.agent-team-board .team-work-preview .team-agent-desk--scene>img{width:28%;max-width:76px}
.team-work-preview .team-work-target--prop{max-width:145px}.team-work-preview .team-work-target--paper{max-width:88px}
.team-work-preview .work-transfer{width:22px}.team-work-preview .work-transfer i{border-left-width:7px;border-block-width:4px}
.team-work-preview .team-work-target--person{width:40%;max-width:90px}.team-work-preview .work-person{height:132px}
.team-work-preview .team-work-target--social{max-width:130px}
.team-work-preview .team-work-target--prop::after{width:15px;height:19px}
.team-work-preview[hidden]{display:none!important}
@keyframes work-agent-reach{0%,100%{transform:translateX(0) rotate(0)}18%,40%{transform:translateX(3px) rotate(4deg)}60%,82%{transform:translateX(1px) rotate(-1deg)}}
@keyframes work-transfer-pass{0%{transform:translateX(-5px);opacity:0}35%,65%{opacity:.85}100%{transform:translateX(12px);opacity:0}}
@keyframes work-ui-build{0%,8%{opacity:.2;transform:translateY(3px)}35%,100%{opacity:1;transform:translateY(0)}}
@keyframes work-ui-trend{0%,8%{stroke-dashoffset:100}65%,100%{stroke-dashoffset:0}}
@keyframes work-ui-cursor{0%{transform:translateX(0)}85%,100%{transform:translateX(72px)}}
@keyframes work-output-appear{0%,55%{opacity:0;transform:translateY(3px)}70%,95%{opacity:1;transform:translateY(0)}100%{opacity:0;transform:translateY(0)}}
@keyframes work-dialogue-dot{0%,100%{opacity:.25}50%{opacity:1}}
@keyframes work-social-post{0%,100%{transform:translateY(0);background:#fff}35%,65%{transform:translateY(-2px);background:var(--dept-tint)}}
@media(prefers-reduced-motion:reduce){.agent-team-board .team-work-target--prop::after{animation:none!important}.agent-team-board .work-transfer i{opacity:.2}}

/* source_agent=codex / machine=mac-mini: continuous illustrative activity, no idle labels. */
.team-agent-card:nth-child(4n+2){--scene-offset:-.9s}.team-agent-card:nth-child(4n+3){--scene-offset:-1.8s}.team-agent-card:nth-child(4n){--scene-offset:-2.7s}
.team-mini-progress i{width:38%;transition:none}
.agent-team-board[data-running="true"] .team-agent-card[data-activity="live"] .team-mini-progress i{animation:team-live-progress 2.8s linear infinite;animation-delay:var(--scene-offset,0s)}
@keyframes team-live-progress{from{transform:translateX(-110%)}to{transform:translateX(280%)}}


/* source_agent=codex / machine=mac-mini: executive secretary target, not measured results. */
.team-secretary-goal{margin:0;padding:15px 12px;border:1px solid var(--dept-border);border-radius:10px;background:#fff;color:var(--dept-ink);text-align:center}
.team-secretary-goal figcaption{font-size:12px;font-weight:750;line-height:1.6;margin:0 0 10px}.secretary-goal-label{font-size:10px;line-height:1.6;color:#52695d;margin:0}
.secretary-goal-numbers{display:flex;align-items:center;justify-content:center;gap:20px;margin:8px 0 10px;line-height:1.15}.secretary-goal-numbers strong{font-size:34px;letter-spacing:-.045em}.secretary-goal-numbers strong:first-child{color:#63736b}.secretary-goal-numbers i{width:0;height:0;border-left:9px solid var(--dept-accent);border-block:6px solid transparent}
.secretary-time-bars{display:flex;flex-direction:column;gap:6px}.secretary-time-before{display:block;height:9px;border-radius:3px;background:#8e9d95}.secretary-time-after{display:flex;height:13px;overflow:hidden;border-radius:3px;background:#e3eee6}.secretary-time-after i{width:25%;background:var(--dept-accent)}.secretary-time-after b{width:75%;background:repeating-linear-gradient(120deg,#dcece1 0 5px,#eef6f0 5px 10px)}
.secretary-time-legend{display:flex;justify-content:space-between;gap:8px;font-size:9px;line-height:1.6;margin-top:6px;color:#52695d}.secretary-time-legend strong{font-size:11px;color:var(--dept-ink)}
.secretary-goal-target{font-size:15px;font-weight:750;line-height:1.6;margin:12px 0 6px}.secretary-goal-use{font-size:11px;line-height:1.7;margin:0;color:#435d4e}
.secretary-support-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:0;margin:12px 0 0;list-style:none}.secretary-support-grid li{display:flex;flex-direction:column;gap:3px;padding:7px 4px;border-radius:5px;background:var(--dept-surface);min-width:0;line-height:1.5}.secretary-support-grid strong{font-size:10px}.secretary-support-grid span{font-size:9px;color:#52695d}
.secretary-goal-note{font-size:10px;line-height:1.6;color:#607267;margin:10px 0 0}
.team-secretary-goal[hidden]{display:none!important}
.agent-team-board[data-selected="admin-secretary"] .team-deliverable{display:none}
.agent-team-board .team-work-preview[data-solution="executive"]{min-height:102px;padding:0}.agent-team-board .team-work-preview[data-solution="executive"] .team-agent-desk--scene{min-height:100px;padding:6px 0;max-width:200px}
.team-work-preview[data-solution="executive"] .work-person{height:90px}.team-work-preview[data-solution="executive"] .team-work-target--person{max-width:62px}.agent-team-board .team-work-preview[data-solution="executive"] .team-agent-desk--scene>img{max-width:54px}
.agent-team-board[data-selected="admin-secretary"] .team-conversation-body{gap:18px}

/* source_agent=codex / machine=mac-mini: percent and hours share the same 8-to-2 target example. */
.secretary-goal-numbers>strong{display:flex;flex-direction:column;align-items:center;gap:7px;white-space:nowrap}
.secretary-goal-numbers small{font-size:.48em;letter-spacing:0;margin-left:2px}
.secretary-goal-numbers .secretary-goal-hours{font-size:14px;line-height:1.4;letter-spacing:0;font-weight:650}

/* source_agent=codex / machine=mac-mini: room for the action between AI and recipient on wider screens. */
@media(min-width:761px){
 .agent-team-board .team-work-preview{padding-inline:6px}
 .agent-team-board .team-agent-card:not(.team-agent-card--wide) .team-agent-desk--scene{display:grid;grid-template-columns:minmax(0,.8fr) 12px minmax(0,1.2fr);column-gap:clamp(6px,.65vw,12px);justify-items:center}
 .agent-team-board .team-agent-card:not(.team-agent-card--wide) .team-agent-desk--scene>img,.agent-team-board .team-agent-card:not(.team-agent-card--wide) .team-agent-desk--scene:has(.team-work-target--prop)>img{width:100%;max-width:46px;height:auto}
 .agent-team-board .team-agent-card:not(.team-agent-card--wide) .team-agent-desk--scene>.team-work-target{width:100%}
 .agent-team-board .team-work-preview .team-agent-desk--scene{display:grid;grid-template-columns:minmax(0,.85fr) 22px minmax(0,1.15fr);column-gap:16px;justify-items:center;max-width:265px}
 .agent-team-board .team-work-preview .team-agent-desk--scene>img{width:100%;max-width:76px;height:auto}
 .agent-team-board .team-work-preview .team-agent-desk--scene>.team-work-target{width:100%}
 .agent-team-board .team-work-preview[data-solution="executive"] .team-agent-desk--scene{max-width:215px;column-gap:12px}
 .agent-team-board .team-work-preview[data-solution="executive"] .team-agent-desk--scene>img{max-width:54px}
}
