@fish-under-sea/dsh-agent-teams-fish 1.0.2 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (179) hide show
  1. package/NOTICE.md +13 -7
  2. package/README.en.md +20 -12
  3. package/README.md +20 -12
  4. package/compatibility.json +82 -46
  5. package/icon.png +0 -0
  6. package/lib/artifacts.js +148 -25
  7. package/lib/client/ActivityPanel.js +26 -5
  8. package/lib/client/WorkspaceActivity.js +6 -4
  9. package/lib/client/activity-monitor.js +113 -41
  10. package/lib/client/locales.js +14 -0
  11. package/lib/client.js +433 -199
  12. package/lib/client.js.map +1 -1
  13. package/lib/command.js +7 -4
  14. package/lib/git-artifact-stamp.json +2 -2
  15. package/lib/harness-compat.js +120 -62
  16. package/lib/index.js +7 -10
  17. package/lib/mailbox.js +15 -5
  18. package/lib/members.js +221 -154
  19. package/lib/snapshot.js +15 -10
  20. package/lib/state.js +41 -8
  21. package/lib/tools.js +123 -64
  22. package/lib/types/artifacts.d.ts +6 -3
  23. package/lib/types/client/activity-monitor.d.ts +13 -4
  24. package/lib/types/client/locales.d.ts +14 -0
  25. package/lib/types/harness-compat.d.ts +63 -16
  26. package/lib/types/mailbox.d.ts +2 -0
  27. package/lib/types/members.d.ts +5 -17
  28. package/lib/types/snapshot.d.ts +12 -7
  29. package/lib/types/state.d.ts +10 -3
  30. package/lib/types/types.d.ts +5 -0
  31. package/lib/types/web-routes.d.ts +2 -0
  32. package/lib/types/workspace-audit-service.d.ts +35 -0
  33. package/lib/types/workspace-audit-worker.d.ts +1 -0
  34. package/lib/web-routes.js +31 -0
  35. package/lib/workspace-audit-service.js +165 -0
  36. package/lib/workspace-audit-worker.js +11 -0
  37. package/lib/workspace-audit.js +6 -5
  38. package/locale/en.json +6 -0
  39. package/locale/zh.json +6 -0
  40. package/package.json +69 -64
  41. package/pnpm-workspace.yaml +306 -273
  42. package/release-notes/v0.1.25.md +16 -0
  43. package/release-notes/v0.1.26.md +19 -0
  44. package/release-notes/v0.1.27.md +42 -0
  45. package/release-notes/v0.1.28.md +45 -0
  46. package/release-notes/v0.1.29.md +23 -0
  47. package/release-notes/v1.1.0.md +42 -0
  48. package/release-notes/v2.0.0.md +17 -0
  49. package/scripts/artwork-role-match.test.mjs +517 -0
  50. package/scripts/capabilities.test.mjs +301 -0
  51. package/scripts/check-install-channel.mjs +55 -0
  52. package/scripts/check-install-channel.test.mjs +39 -0
  53. package/scripts/clean-build.mjs +14 -0
  54. package/scripts/client-harness-migration.test.mjs +46 -0
  55. package/scripts/compatibility.mjs +20 -0
  56. package/scripts/compatibility.test.mjs +187 -0
  57. package/scripts/corrupt-teamjson.test.mjs +180 -0
  58. package/scripts/custom-artwork.test.mjs +273 -0
  59. package/scripts/fallback-tdd.mjs +61 -0
  60. package/scripts/fixtures/harness-benchmark-scope.mjs +16 -0
  61. package/scripts/fixtures/harness-benchmark-scope.test.mjs +18 -0
  62. package/scripts/fixtures/harness-complex-case.mjs +201 -0
  63. package/scripts/fixtures/harness-complex-case.test.mjs +21 -0
  64. package/scripts/fixtures/harness-complex-oracle.mjs +63 -0
  65. package/scripts/fixtures/harness-issue-case.mjs +51 -0
  66. package/scripts/fixtures/harness-issue159-case.mjs +28 -0
  67. package/scripts/fixtures/harness-model-case.mjs +127 -0
  68. package/scripts/fixtures/harness-model-case.test.mjs +37 -0
  69. package/scripts/fixtures/harness-model-driver.mjs +100 -0
  70. package/scripts/fixtures/harness-runtime-credentials.mjs +23 -0
  71. package/scripts/fixtures/harness-runtime-entry.mjs +171 -0
  72. package/scripts/fixtures/harness-runtime-idle.mjs +42 -0
  73. package/scripts/fixtures/harness-runtime-llm.mjs +193 -0
  74. package/scripts/fixtures/harness-runtime-protocol.mjs +187 -0
  75. package/scripts/fixtures/harness-runtime-resume.mjs +24 -0
  76. package/scripts/fixtures/harness-runtime-stability.mjs +282 -0
  77. package/scripts/fixtures/harness-runtime-tools.mjs +13 -0
  78. package/scripts/fixtures/harness-runtime-web-approval.mjs +341 -0
  79. package/scripts/fixtures/issue-336-audit-worker.mjs +18 -0
  80. package/scripts/git-artifacts.mjs +64 -0
  81. package/scripts/git-artifacts.test.mjs +32 -0
  82. package/scripts/harness-compat-tdd.mjs +492 -0
  83. package/scripts/harness-issue-verify.mjs +26 -0
  84. package/scripts/harness-model-benchmark.mjs +163 -0
  85. package/scripts/harness-runtime-platform.test.mjs +31 -0
  86. package/scripts/harness-runtime-scenarios.mjs +297 -0
  87. package/scripts/harness-runtime-verify.mjs +169 -0
  88. package/scripts/harness-source-verify.mjs +211 -0
  89. package/scripts/harness-source-verify.test.mjs +97 -0
  90. package/scripts/harness-validation.mjs +68 -0
  91. package/scripts/harness-validation.test.mjs +95 -0
  92. package/scripts/http-body.test.mjs +72 -0
  93. package/scripts/import-vendor-artwork.mjs +78 -0
  94. package/scripts/inline-plan-blank-optional-tdd.mjs +121 -0
  95. package/scripts/issue-159.test.mjs +78 -0
  96. package/scripts/issue-188.test.mjs +148 -0
  97. package/scripts/issue-189.test.mjs +100 -0
  98. package/scripts/issue-203-card.test.mjs +181 -0
  99. package/scripts/issue-205.test.mjs +163 -0
  100. package/scripts/issue-234.test.mjs +424 -0
  101. package/scripts/issue-236-stale-module.test.mjs +63 -0
  102. package/scripts/issue-236.test.mjs +59 -0
  103. package/scripts/issue-262.test.mjs +98 -0
  104. package/scripts/issue-336.test.mjs +404 -0
  105. package/scripts/legacy-session-source-repair.test.mjs +201 -0
  106. package/scripts/lifecycle-verify.mjs +1573 -0
  107. package/scripts/lineage-identity.test.mjs +77 -0
  108. package/scripts/member-failure-tdd.mjs +451 -0
  109. package/scripts/member-spawn-recovery.test.mjs +92 -0
  110. package/scripts/quality-gates-amend.test.mjs +161 -0
  111. package/scripts/quality-gates-content-bound.test.mjs +572 -0
  112. package/scripts/quality-gates-cross-binding.test.mjs +184 -0
  113. package/scripts/quality-gates-excluded-scope.test.mjs +163 -0
  114. package/scripts/quality-gates-repair-scope.test.mjs +143 -0
  115. package/scripts/quality-gates-repair-wiring.test.mjs +189 -0
  116. package/scripts/quality-gates-tdd.mjs +1238 -0
  117. package/scripts/quality-gates-work-order.test.mjs +494 -0
  118. package/scripts/readme-version.mjs +89 -0
  119. package/scripts/readme-version.test.mjs +77 -0
  120. package/scripts/release-metadata.mjs +45 -0
  121. package/scripts/release-metadata.test.mjs +66 -0
  122. package/scripts/scoped-release.test.mjs +52 -0
  123. package/scripts/stability-tdd.mjs +144 -0
  124. package/scripts/stress-verify.mjs +548 -0
  125. package/scripts/symlink-support.mjs +46 -0
  126. package/scripts/sync-skill.mjs +103 -0
  127. package/scripts/tool-policies.test.mjs +280 -0
  128. package/scripts/update-skills.mjs +105 -0
  129. package/scripts/update-skills.test.mjs +79 -0
  130. package/scripts/upgrade-status.mjs +66 -0
  131. package/scripts/upgrade-status.test.mjs +83 -0
  132. package/scripts/verify-package.mjs +73 -0
  133. package/scripts/verify.mjs +2199 -0
  134. package/scripts/web-routes-verify.mjs +142 -0
  135. package/scripts/workspace-activity.test.mjs +346 -0
  136. package/scripts/workspace-summary.test.mjs +49 -0
  137. package/src/artifacts.ts +487 -0
  138. package/src/artwork-source.ts +262 -0
  139. package/src/capabilities.ts +113 -0
  140. package/src/client/ActivityPanel.module.css +2390 -0
  141. package/src/client/ActivityPanel.tsx +1507 -0
  142. package/src/client/AgentTeamsCard.module.css +148 -0
  143. package/src/client/AgentTeamsCard.tsx +155 -0
  144. package/src/client/StagingPlanEditor.tsx +829 -0
  145. package/src/client/TeamChatEntry.tsx +27 -0
  146. package/src/client/WorkspaceActivity.module.css +41 -0
  147. package/src/client/WorkspaceActivity.tsx +137 -0
  148. package/src/client/activity-model.ts +372 -0
  149. package/src/client/activity-monitor.ts +440 -0
  150. package/src/client/agent-teams-card-definition.ts +250 -0
  151. package/src/client/artwork.ts +374 -0
  152. package/src/client/icons.tsx +17 -0
  153. package/src/client/index.tsx +140 -0
  154. package/src/client/locales.ts +481 -0
  155. package/src/client/panel-geometry.ts +194 -0
  156. package/src/client/session-navigation.ts +73 -0
  157. package/src/client/workspace-state.ts +52 -0
  158. package/src/command.ts +145 -0
  159. package/src/css-modules.d.ts +4 -0
  160. package/src/event-types.ts +177 -0
  161. package/src/events.ts +78 -0
  162. package/src/harness-compat.ts +570 -0
  163. package/src/index.ts +599 -0
  164. package/src/lineage.ts +248 -0
  165. package/src/mailbox.ts +185 -0
  166. package/src/members.ts +1230 -0
  167. package/src/profiles.ts +765 -0
  168. package/src/quality-gates.ts +2124 -0
  169. package/src/scheduler.ts +554 -0
  170. package/src/snapshot.ts +333 -0
  171. package/src/state.ts +1317 -0
  172. package/src/tool-names.ts +14 -0
  173. package/src/tool-policies.ts +219 -0
  174. package/src/tools.ts +2939 -0
  175. package/src/types.ts +414 -0
  176. package/src/web-routes.ts +128 -0
  177. package/src/workspace-audit-service.ts +182 -0
  178. package/src/workspace-audit-worker.ts +12 -0
  179. package/src/workspace-audit.ts +57 -0
@@ -0,0 +1,2390 @@
1
+ /* AgentTeams top-right command panel. Relationship lines are semantic: captain
2
+ delegation runs vertically through member rows; task dependencies run left
3
+ to right by precomputed depth. All surfaces follow DSH design tokens. */
4
+
5
+ :global(html) {
6
+ --agent-teams-panel-shift: 420px;
7
+ }
8
+
9
+ /* The panel lives in shell.overlay. Only its wide docked mode marks the page,
10
+ allowing the center conversation to concede the exact measured width while
11
+ the shell's sidebar and details tracks keep their own geometry. */
12
+ :global(html[data-agent-teams-panel-open]) :global([data-phase='active']) {
13
+ box-sizing: border-box;
14
+ padding-right: var(--agent-teams-panel-shift);
15
+ }
16
+
17
+ /* Consume the host's semantic tokens directly. ui-layout applies the resolved
18
+ theme to body, so cards, overlays, and portaled dialogs inherit live colors
19
+ without a second theme store or a light-only palette bridge. */
20
+
21
+ .badge {
22
+ position: absolute;
23
+ top: 64px;
24
+ right: 18px;
25
+ display: inline-flex;
26
+ align-items: center;
27
+ gap: 7px;
28
+ height: 34px;
29
+ padding: 0 12px;
30
+ box-sizing: border-box;
31
+ border: 1px solid var(--dsw-alias-border-l2);
32
+ border-radius: 999px;
33
+ background: color-mix(in srgb, var(--dsw-alias-bg-module-platform) 92%, transparent);
34
+ backdrop-filter: blur(16px);
35
+ box-shadow: 0 8px 28px color-mix(in srgb, var(--dsw-alias-bg-mask-3) 29%, transparent);
36
+ color: var(--dsw-alias-label-secondary);
37
+ font: inherit;
38
+ font-size: 12px;
39
+ font-weight: 600;
40
+ line-height: 20px;
41
+ cursor: pointer;
42
+ transition: border-color 150ms ease, transform 120ms ease;
43
+ }
44
+
45
+ .badge:hover {
46
+ border-color: var(--dsw-alias-border-l3);
47
+ transform: translateY(-1px);
48
+ }
49
+
50
+ .badge:active {
51
+ transform: translateY(0) scale(0.98);
52
+ }
53
+
54
+ .badge:focus-visible,
55
+ .iconButton:focus-visible,
56
+ .memberRow:focus-visible,
57
+ .membersToggle:focus-visible,
58
+ .sectionToggleTitle:focus-visible,
59
+ .dagNode:focus-visible {
60
+ outline: 2px solid var(--dsw-alias-state-business-primary);
61
+ outline-offset: 2px;
62
+ }
63
+
64
+ .badgeDot,
65
+ .panelDot {
66
+ width: 7px;
67
+ height: 7px;
68
+ border-radius: 50%;
69
+ background: var(--dsw-alias-label-tertiary);
70
+ }
71
+
72
+ .badgeDot[data-busy='true'],
73
+ .panelDot[data-busy='true'] {
74
+ background: var(--dsw-alias-state-business-primary);
75
+ animation: agentTeamsPulse 1.25s ease-in-out infinite;
76
+ }
77
+
78
+ .badgeCount,
79
+ .memberCount,
80
+ .teamStats,
81
+ .stageLabel,
82
+ .taskId {
83
+ font-variant-numeric: tabular-nums;
84
+ }
85
+
86
+ /* panel shell */
87
+ .panel {
88
+ position: absolute;
89
+ top: 0;
90
+ left: 0;
91
+ display: flex;
92
+ flex-direction: column;
93
+ box-sizing: border-box;
94
+ overflow: hidden;
95
+ border: 1px solid color-mix(in srgb, var(--dsw-alias-border-l3) 58%, transparent);
96
+ border-radius: 16px;
97
+ background: color-mix(in srgb, var(--dsw-alias-bg-layer-1) 95%, transparent);
98
+ backdrop-filter: blur(20px) saturate(1.08);
99
+ box-shadow:
100
+ 0 12px 32px color-mix(in srgb, var(--dsw-alias-bg-mask-3) 25%, transparent),
101
+ 0 32px 72px color-mix(in srgb, var(--dsw-alias-bg-mask-3) 33%, transparent);
102
+ animation: agentTeamsPanelIn 160ms ease-out;
103
+ will-change: transform;
104
+ }
105
+
106
+ .panel[data-dragging],
107
+ .panel[data-resizing] {
108
+ user-select: none;
109
+ box-shadow:
110
+ 0 16px 38px color-mix(in srgb, var(--dsw-alias-bg-mask-3) 29%, transparent),
111
+ 0 36px 78px color-mix(in srgb, var(--dsw-alias-bg-mask-3) 38%, transparent);
112
+ }
113
+
114
+ @keyframes agentTeamsPanelIn {
115
+ from { opacity: 0; }
116
+ to { opacity: 1; }
117
+ }
118
+
119
+ @keyframes agentTeamsPulse {
120
+ 0%, 100% { opacity: 0.42; }
121
+ 50% { opacity: 1; }
122
+ }
123
+
124
+ .panelHead {
125
+ display: flex;
126
+ flex: none;
127
+ align-items: center;
128
+ justify-content: space-between;
129
+ min-height: 44px;
130
+ padding: 0 14px 0 16px;
131
+ border-bottom: 1px solid var(--dsw-alias-border-l2);
132
+ cursor: grab;
133
+ touch-action: none;
134
+ }
135
+
136
+ .panelHead:active,
137
+ .panel[data-dragging] .panelHead {
138
+ cursor: grabbing;
139
+ }
140
+
141
+ .panel[data-compact] .panelHead {
142
+ cursor: default;
143
+ touch-action: auto;
144
+ }
145
+
146
+ .panelTitle {
147
+ display: inline-flex;
148
+ align-items: center;
149
+ gap: 8px;
150
+ color: var(--dsw-alias-label-primary);
151
+ font-size: 14px;
152
+ font-weight: 600;
153
+ line-height: 20px;
154
+ }
155
+
156
+ .panelControls {
157
+ display: inline-flex;
158
+ flex: none;
159
+ align-items: center;
160
+ gap: 2px;
161
+ }
162
+
163
+ .iconButton {
164
+ display: inline-flex;
165
+ width: 28px;
166
+ height: 28px;
167
+ align-items: center;
168
+ justify-content: center;
169
+ padding: 0;
170
+ border: 0;
171
+ border-radius: 7px;
172
+ background: transparent;
173
+ color: var(--dsw-alias-label-tertiary);
174
+ cursor: pointer;
175
+ transition: background-color 120ms ease, color 120ms ease, transform 120ms ease;
176
+ }
177
+
178
+ .iconButton:hover {
179
+ background: var(--dsw-alias-button-ghost-active-fill);
180
+ color: var(--dsw-alias-label-primary);
181
+ }
182
+
183
+ .iconButton:active {
184
+ transform: scale(0.94);
185
+ }
186
+
187
+ .iconButton[data-control='dock'][data-mode='docked'] svg {
188
+ transform: scaleX(-1);
189
+ }
190
+
191
+ .resizeHandle {
192
+ position: absolute;
193
+ z-index: 5;
194
+ touch-action: none;
195
+ pointer-events: auto;
196
+ }
197
+
198
+ .resizeHandle[data-resize-edge='left'] {
199
+ top: 44px;
200
+ bottom: 14px;
201
+ left: 0;
202
+ width: 14px;
203
+ cursor: ew-resize;
204
+ }
205
+
206
+ .resizeHandle[data-resize-edge='left']::after {
207
+ position: absolute;
208
+ top: 50%;
209
+ left: 4px;
210
+ width: 3px;
211
+ height: 48px;
212
+ border-radius: 999px;
213
+ background: color-mix(in srgb, var(--dsw-alias-label-tertiary) 42%, transparent);
214
+ content: '';
215
+ opacity: 0.45;
216
+ transform: translateY(-50%);
217
+ transition: background-color 120ms ease, opacity 120ms ease;
218
+ }
219
+
220
+ .resizeHandle[data-resize-edge='bottom'] {
221
+ right: 20px;
222
+ bottom: 0;
223
+ left: 20px;
224
+ height: 14px;
225
+ cursor: ns-resize;
226
+ }
227
+
228
+ .resizeHandle[data-resize-edge='bottom']::after {
229
+ position: absolute;
230
+ bottom: 4px;
231
+ left: 50%;
232
+ width: 48px;
233
+ height: 3px;
234
+ border-radius: 999px;
235
+ background: color-mix(in srgb, var(--dsw-alias-label-tertiary) 42%, transparent);
236
+ content: '';
237
+ opacity: 0.45;
238
+ transform: translateX(-50%);
239
+ transition: background-color 120ms ease, opacity 120ms ease;
240
+ }
241
+
242
+ .resizeHandle[data-resize-edge='corner'] {
243
+ right: 0;
244
+ bottom: 0;
245
+ width: 28px;
246
+ height: 28px;
247
+ cursor: nwse-resize;
248
+ }
249
+
250
+ .resizeHandle[data-resize-edge='corner']::after {
251
+ position: absolute;
252
+ right: 6px;
253
+ bottom: 6px;
254
+ width: 10px;
255
+ height: 10px;
256
+ border-right: 2px solid var(--dsw-alias-label-tertiary);
257
+ border-bottom: 2px solid var(--dsw-alias-label-tertiary);
258
+ content: '';
259
+ opacity: 0.58;
260
+ transition: border-color 120ms ease, opacity 120ms ease;
261
+ }
262
+
263
+ .resizeHandle:hover::after,
264
+ .panel[data-resizing] .resizeHandle::after {
265
+ background-color: var(--dsw-alias-state-business-primary);
266
+ border-color: var(--dsw-alias-state-business-primary);
267
+ opacity: 0.95;
268
+ }
269
+
270
+ .teams {
271
+ display: flex;
272
+ flex-direction: column;
273
+ min-height: 0;
274
+ overflow-y: auto;
275
+ overscroll-behavior: contain;
276
+ scrollbar-color: color-mix(in srgb, var(--dsw-alias-label-tertiary) 28%, transparent) transparent;
277
+ scrollbar-width: thin;
278
+ }
279
+
280
+ .teams::-webkit-scrollbar {
281
+ width: 6px;
282
+ }
283
+
284
+ .teams::-webkit-scrollbar-track {
285
+ background: transparent;
286
+ }
287
+
288
+ .teams::-webkit-scrollbar-thumb {
289
+ border: 2px solid transparent;
290
+ border-radius: 999px;
291
+ background: color-mix(in srgb, var(--dsw-alias-label-tertiary) 28%, transparent);
292
+ background-clip: padding-box;
293
+ }
294
+
295
+ .teams:hover::-webkit-scrollbar-thumb {
296
+ background: color-mix(in srgb, var(--dsw-alias-label-tertiary) 44%, transparent);
297
+ background-clip: padding-box;
298
+ }
299
+
300
+ /* team */
301
+ .team {
302
+ container-name: agent-team;
303
+ container-type: inline-size;
304
+ display: flex;
305
+ flex-direction: column;
306
+ gap: 12px;
307
+ padding: 12px 14px 16px;
308
+ border-bottom: 1px solid var(--dsw-alias-border-l2);
309
+ }
310
+
311
+ .team:last-child {
312
+ border-bottom: 0;
313
+ }
314
+
315
+ .teamHead {
316
+ display: flex;
317
+ align-items: center;
318
+ gap: 10px;
319
+ min-width: 0;
320
+ }
321
+
322
+ .teamName {
323
+ overflow: hidden;
324
+ flex: 1;
325
+ min-width: 0;
326
+ color: var(--dsw-alias-label-primary);
327
+ font-size: 13px;
328
+ font-weight: 600;
329
+ line-height: 18px;
330
+ text-overflow: ellipsis;
331
+ white-space: nowrap;
332
+ }
333
+
334
+ .teamStats {
335
+ display: inline-flex;
336
+ flex: none;
337
+ gap: 8px;
338
+ color: var(--dsw-alias-label-tertiary);
339
+ font-size: 10.5px;
340
+ line-height: 16px;
341
+ white-space: nowrap;
342
+ }
343
+
344
+ .teamStopButton {
345
+ display: grid;
346
+ width: 26px;
347
+ height: 26px;
348
+ flex: none;
349
+ place-items: center;
350
+ padding: 0;
351
+ border: 1px solid var(--dsw-alias-border-l2);
352
+ border-radius: 7px;
353
+ background: transparent;
354
+ color: var(--dsw-alias-label-tertiary);
355
+ cursor: pointer;
356
+ transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
357
+ }
358
+
359
+ .teamStopButton:hover {
360
+ border-color: color-mix(in srgb, var(--dsw-alias-state-error-primary) 42%, var(--dsw-alias-border-l2));
361
+ background: color-mix(in srgb, var(--dsw-alias-state-error-primary) 7%, transparent);
362
+ color: var(--dsw-alias-state-error-primary);
363
+ }
364
+
365
+ .teamStopButton:focus-visible {
366
+ outline: 2px solid var(--dsw-alias-state-business-primary);
367
+ outline-offset: 2px;
368
+ }
369
+
370
+ .stopModalActions {
371
+ display: flex;
372
+ justify-content: flex-end;
373
+ gap: 8px;
374
+ }
375
+
376
+ .stopModalActions button {
377
+ display: inline-flex;
378
+ min-height: 34px;
379
+ align-items: center;
380
+ justify-content: center;
381
+ gap: 6px;
382
+ padding: 6px 13px;
383
+ border: 1px solid var(--dsw-alias-border-l2);
384
+ border-radius: 8px;
385
+ background: var(--dsw-alias-button-ghost-active-fill);
386
+ color: var(--dsw-alias-label-primary);
387
+ cursor: pointer;
388
+ font: inherit;
389
+ font-size: 12px;
390
+ font-weight: 600;
391
+ }
392
+
393
+ .stopModalActions button[data-danger] {
394
+ border-color: var(--dsw-alias-state-error-primary);
395
+ background: var(--dsw-alias-state-error-primary);
396
+ color: var(--dsw-alias-label-primary-inverted);
397
+ }
398
+
399
+ .stopModalActions button:disabled {
400
+ cursor: wait;
401
+ opacity: 0.58;
402
+ }
403
+
404
+ .stopModalError {
405
+ display: flex;
406
+ align-items: flex-start;
407
+ gap: 7px;
408
+ margin: 0;
409
+ padding: 9px 10px;
410
+ border-radius: 8px;
411
+ background: color-mix(in srgb, var(--dsw-alias-state-error-primary) 8%, transparent);
412
+ color: var(--dsw-alias-state-error-primary);
413
+ font-size: 12px;
414
+ line-height: 18px;
415
+ }
416
+
417
+ .stopModalError svg {
418
+ flex: none;
419
+ margin-top: 1px;
420
+ }
421
+
422
+ .sectionHead {
423
+ display: flex;
424
+ align-items: center;
425
+ justify-content: space-between;
426
+ gap: 8px;
427
+ min-width: 0;
428
+ }
429
+
430
+ .sectionTitle {
431
+ display: inline-flex;
432
+ align-items: center;
433
+ gap: 6px;
434
+ color: var(--dsw-alias-label-secondary);
435
+ font-size: 11px;
436
+ font-weight: 600;
437
+ line-height: 16px;
438
+ }
439
+
440
+ .sectionHint {
441
+ overflow: hidden;
442
+ color: var(--dsw-alias-label-tertiary);
443
+ font-size: 10px;
444
+ line-height: 14px;
445
+ text-overflow: ellipsis;
446
+ white-space: nowrap;
447
+ }
448
+
449
+ /* captain to member delegation tree */
450
+ .delegationSection {
451
+ min-width: 0;
452
+ }
453
+
454
+ .captainNode {
455
+ display: grid;
456
+ grid-template-columns: 48px minmax(0, 1fr) auto;
457
+ gap: 9px;
458
+ align-items: center;
459
+ min-height: 56px;
460
+ padding: 6px 10px;
461
+ box-sizing: border-box;
462
+ border: 1px solid color-mix(in srgb, var(--dsw-alias-state-business-primary) 32%, var(--dsw-alias-border-l2));
463
+ border-radius: 10px;
464
+ background: color-mix(in srgb, var(--dsw-alias-state-business-primary) 7%, var(--dsw-alias-bg-layer-1));
465
+ }
466
+
467
+ .captainAvatar,
468
+ .memberAvatar {
469
+ position: relative;
470
+ display: inline-flex;
471
+ flex: none;
472
+ align-items: center;
473
+ justify-content: center;
474
+ }
475
+
476
+ .captainAvatar {
477
+ width: 46px;
478
+ height: 46px;
479
+ }
480
+
481
+ .leadAvatar,
482
+ .memberArt {
483
+ border: 0;
484
+ border-radius: 0;
485
+ object-fit: contain;
486
+ background: transparent;
487
+ filter: drop-shadow(0 1px 1px rgb(18 45 72 / 20%));
488
+ }
489
+
490
+ .leadAvatar {
491
+ width: 44px;
492
+ height: 44px;
493
+ }
494
+
495
+ .memberArt {
496
+ width: 40px;
497
+ height: 40px;
498
+ }
499
+
500
+ /* Click-to-enlarge artwork: a 40px roster avatar cannot show the character's
501
+ role props, so clicking it opens the large art over the panel. */
502
+ .memberAvatar .memberArt[data-art-zoom],
503
+ .captainAvatar .leadAvatar[data-art-zoom] {
504
+ cursor: zoom-in;
505
+ }
506
+
507
+ /* Scoped to the panel box, never the viewport: `.panel` is `position: absolute`
508
+ (the drag layout translates it) and clips to `overflow: hidden`, so an
509
+ absolutely positioned zoom layer can only cover this panel. A fixed layer
510
+ would instead escape the shell overlay's stacking context whenever the
511
+ panel's incidental containing-block properties changed. */
512
+ .artPreview {
513
+ position: absolute;
514
+ inset: 0;
515
+ z-index: 60;
516
+ display: flex;
517
+ align-items: center;
518
+ justify-content: center;
519
+ padding: 24px;
520
+ background: rgb(8 20 34 / 62%);
521
+ cursor: zoom-out;
522
+ }
523
+
524
+ .artPreviewCard {
525
+ display: flex;
526
+ flex-direction: column;
527
+ align-items: center;
528
+ gap: 10px;
529
+ margin: 0;
530
+ padding: 16px 16px 12px;
531
+ border-radius: 14px;
532
+ background: var(--dsw-alias-bg-layer-1);
533
+ box-shadow: 0 12px 40px rgb(8 20 34 / 38%);
534
+ }
535
+
536
+ .artPreviewImage {
537
+ width: min(320px, 72vw);
538
+ height: min(320px, 72vw);
539
+ object-fit: contain;
540
+ }
541
+
542
+ .artPreviewCaption {
543
+ font-size: 12px;
544
+ opacity: 0.72;
545
+ }
546
+
547
+ .captainInfo,
548
+ .memberInfo {
549
+ display: flex;
550
+ flex-direction: column;
551
+ min-width: 0;
552
+ }
553
+
554
+ .captainInfo {
555
+ gap: 2px;
556
+ }
557
+
558
+ .captainLine,
559
+ .memberLine {
560
+ display: flex;
561
+ min-width: 0;
562
+ align-items: center;
563
+ gap: 6px;
564
+ }
565
+
566
+ .captainName,
567
+ .memberName {
568
+ overflow: hidden;
569
+ color: var(--dsw-alias-label-primary);
570
+ font-size: 12.5px;
571
+ font-weight: 600;
572
+ line-height: 18px;
573
+ text-overflow: ellipsis;
574
+ white-space: nowrap;
575
+ }
576
+
577
+ .captainRole,
578
+ .memberRole {
579
+ overflow: hidden;
580
+ color: var(--dsw-alias-label-tertiary);
581
+ font-size: 10px;
582
+ line-height: 14px;
583
+ text-overflow: ellipsis;
584
+ white-space: nowrap;
585
+ }
586
+
587
+ .captainSummary,
588
+ .memberStatusLine {
589
+ overflow: hidden;
590
+ color: var(--dsw-alias-label-secondary);
591
+ font-size: 10.5px;
592
+ line-height: 15px;
593
+ text-overflow: ellipsis;
594
+ white-space: nowrap;
595
+ }
596
+
597
+ .taskDetailModel {
598
+ overflow: hidden;
599
+ color: var(--dsw-alias-label-tertiary);
600
+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
601
+ font-size: 9.5px;
602
+ line-height: 14px;
603
+ text-overflow: ellipsis;
604
+ white-space: nowrap;
605
+ }
606
+
607
+ /* Inline member model badge: compact neutral pill inside memberLine. Bounded
608
+ shrinkable width keeps long routes ellipsized in place, so the pill never
609
+ forces horizontal overflow in the normal 388px panel or compact viewport. */
610
+ .memberModel {
611
+ display: inline-flex;
612
+ flex: 0 1 auto;
613
+ align-items: center;
614
+ min-width: 0;
615
+ max-width: 132px;
616
+ padding: 0 6px;
617
+ overflow: hidden;
618
+ box-sizing: border-box;
619
+ border: 1px solid var(--dsw-alias-border-l2);
620
+ border-radius: 999px;
621
+ background: var(--dsw-alias-button-ghost-active-fill);
622
+ color: var(--dsw-alias-label-tertiary);
623
+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
624
+ font-size: 9px;
625
+ font-weight: 600;
626
+ line-height: 15px;
627
+ text-overflow: ellipsis;
628
+ white-space: nowrap;
629
+ }
630
+
631
+ .captainState,
632
+ .memberState {
633
+ display: inline-flex;
634
+ flex: none;
635
+ align-items: center;
636
+ gap: 5px;
637
+ color: var(--dsw-alias-label-tertiary);
638
+ font-size: 10px;
639
+ font-weight: 500;
640
+ line-height: 15px;
641
+ white-space: nowrap;
642
+ }
643
+
644
+ .captainState[data-busy='true'],
645
+ .memberState[data-activity='working'] {
646
+ color: var(--dsw-alias-state-business-primary);
647
+ }
648
+
649
+ .workGlyph rect {
650
+ opacity: 0.5;
651
+ }
652
+
653
+ .workGlyph[data-active='true'] rect {
654
+ animation: agentTeamsDot 1.1s ease-in-out infinite;
655
+ }
656
+
657
+ @keyframes agentTeamsDot {
658
+ 0%, 100% { opacity: 0.25; }
659
+ 50% { opacity: 1; }
660
+ }
661
+
662
+ .progressOverview {
663
+ display: flex;
664
+ flex-direction: column;
665
+ gap: 7px;
666
+ }
667
+
668
+ .progressTitle {
669
+ color: var(--dsw-alias-label-secondary);
670
+ font-size: 11px;
671
+ font-weight: 600;
672
+ line-height: 16px;
673
+ }
674
+
675
+ .progressSegments {
676
+ display: flex;
677
+ gap: 3px;
678
+ }
679
+
680
+ .progressSegments > span,
681
+ .progressEmpty {
682
+ flex: 1;
683
+ height: 5px;
684
+ border-radius: 2px;
685
+ background: var(--dsw-alias-border-l3);
686
+ }
687
+
688
+ .progressEmpty {
689
+ display: block;
690
+ width: 100%;
691
+ }
692
+
693
+ .progressSegments > span[data-state='running'] {
694
+ background: var(--dsw-alias-state-business-primary);
695
+ }
696
+
697
+ .progressSegments > span[data-state='blocked'] {
698
+ background: var(--dsw-alias-state-warn-primary);
699
+ }
700
+
701
+ .progressSegments > span[data-state='completed'] {
702
+ background: var(--dsw-alias-state-success-primary);
703
+ }
704
+
705
+ .progressSegments > span[data-state='failed'] {
706
+ background: var(--dsw-alias-state-error-primary);
707
+ }
708
+
709
+ .progressSegments > span[data-state='cancelled'] {
710
+ opacity: 0.55;
711
+ }
712
+
713
+ .progressLegend {
714
+ display: flex;
715
+ flex-wrap: wrap;
716
+ gap: 10px;
717
+ color: var(--dsw-alias-label-tertiary);
718
+ font-size: 9.5px;
719
+ line-height: 14px;
720
+ }
721
+
722
+ .progressLegend > span[data-state='running'] {
723
+ color: var(--dsw-alias-state-business-primary);
724
+ }
725
+
726
+ .progressLegend > span[data-state='blocked'] {
727
+ color: var(--dsw-alias-state-warn-primary);
728
+ }
729
+
730
+ .progressLegend > span[data-state='completed'] {
731
+ color: var(--dsw-alias-state-success-primary);
732
+ }
733
+
734
+ .progressSummary {
735
+ display: flex;
736
+ min-width: 0;
737
+ align-items: center;
738
+ gap: 6px;
739
+ padding: 5px 8px;
740
+ border-radius: 8px;
741
+ background: color-mix(in srgb, var(--dsw-alias-state-business-primary) 7%, var(--dsw-alias-bg-layer-1));
742
+ color: var(--dsw-alias-label-secondary);
743
+ font-size: 10px;
744
+ font-weight: 600;
745
+ line-height: 15px;
746
+ }
747
+
748
+ .progressSummary[data-state='warning'] {
749
+ background: color-mix(in srgb, var(--dsw-alias-state-warn-primary) 8%, var(--dsw-alias-bg-layer-1));
750
+ }
751
+
752
+ .progressSummary[data-state='completed'] {
753
+ background: color-mix(in srgb, var(--dsw-alias-state-success-primary) 8%, var(--dsw-alias-bg-layer-1));
754
+ }
755
+
756
+ .progressSummary[data-state='discarded'] {
757
+ background: var(--dsw-alias-button-ghost-active-fill);
758
+ }
759
+
760
+ .progressSummary > span:last-child {
761
+ overflow: hidden;
762
+ text-overflow: ellipsis;
763
+ white-space: nowrap;
764
+ }
765
+
766
+ .progressSummaryDot {
767
+ flex: none;
768
+ width: 5px;
769
+ height: 5px;
770
+ border-radius: 50%;
771
+ background: var(--dsw-alias-state-business-primary);
772
+ }
773
+
774
+ .progressSummary[data-state='warning'] .progressSummaryDot {
775
+ background: var(--dsw-alias-state-warn-primary);
776
+ }
777
+
778
+ .progressSummary[data-state='completed'] .progressSummaryDot {
779
+ background: var(--dsw-alias-state-success-primary);
780
+ }
781
+
782
+ .progressSummary[data-state='discarded'] .progressSummaryDot {
783
+ background: var(--dsw-alias-label-tertiary);
784
+ }
785
+
786
+ .membersToggle {
787
+ display: flex;
788
+ width: 100%;
789
+ align-items: center;
790
+ justify-content: space-between;
791
+ gap: 8px;
792
+ padding: 6px 8px;
793
+ border: 0;
794
+ border-radius: 8px;
795
+ background: var(--dsw-alias-bg-module-platform);
796
+ color: var(--dsw-alias-label-secondary);
797
+ font: inherit;
798
+ font-size: 10.5px;
799
+ font-weight: 600;
800
+ line-height: 15px;
801
+ cursor: pointer;
802
+ }
803
+
804
+ .membersToggle:hover {
805
+ background: var(--dsw-alias-button-ghost-active-fill);
806
+ }
807
+
808
+ .membersToggle > span {
809
+ display: inline-flex;
810
+ align-items: center;
811
+ gap: 5px;
812
+ }
813
+
814
+ .membersToggle > span:last-child {
815
+ color: var(--dsw-alias-state-business-primary);
816
+ }
817
+
818
+ .chevron {
819
+ flex: none;
820
+ transition: transform 140ms ease;
821
+ }
822
+
823
+ .chevron[data-open='true'] {
824
+ transform: rotate(90deg);
825
+ }
826
+
827
+ .delegationTree {
828
+ position: relative;
829
+ display: flex;
830
+ flex-direction: column;
831
+ gap: 2px;
832
+ margin-left: 18px;
833
+ padding: 9px 0 0 20px;
834
+ }
835
+
836
+ .delegationTree::before {
837
+ position: absolute;
838
+ top: 0;
839
+ bottom: 22px;
840
+ left: 0;
841
+ width: 1px;
842
+ background: color-mix(in srgb, var(--dsw-alias-state-business-primary) 48%, var(--dsw-alias-border-l2));
843
+ content: '';
844
+ }
845
+
846
+ .memberBlock {
847
+ position: relative;
848
+ display: flex;
849
+ flex-direction: column;
850
+ min-width: 0;
851
+ padding: 3px 0 7px;
852
+ }
853
+
854
+ .memberBranch {
855
+ position: absolute;
856
+ top: 27px;
857
+ right: 100%;
858
+ display: block;
859
+ width: 20px;
860
+ height: 1px;
861
+ background: color-mix(in srgb, var(--dsw-alias-state-business-primary) 48%, var(--dsw-alias-border-l2));
862
+ }
863
+
864
+ .memberBranch::before {
865
+ position: absolute;
866
+ top: -2px;
867
+ right: -1px;
868
+ width: 5px;
869
+ height: 5px;
870
+ border-radius: 50%;
871
+ background: var(--dsw-alias-state-business-primary);
872
+ content: '';
873
+ }
874
+
875
+ .memberRow {
876
+ display: grid;
877
+ grid-template-columns: 46px minmax(0, 1fr) auto;
878
+ gap: 8px;
879
+ align-items: center;
880
+ width: 100%;
881
+ min-width: 0;
882
+ min-height: 48px;
883
+ padding: 4px 6px;
884
+ box-sizing: border-box;
885
+ border: 0;
886
+ border-radius: 8px;
887
+ background: transparent;
888
+ color: inherit;
889
+ font: inherit;
890
+ text-align: left;
891
+ cursor: pointer;
892
+ transition: background-color 120ms ease, transform 120ms ease;
893
+ }
894
+
895
+ .memberRow:hover,
896
+ .memberRow[data-activity='working'] {
897
+ background: color-mix(in srgb, var(--dsw-alias-state-business-primary) 6%, var(--dsw-alias-bg-layer-1));
898
+ }
899
+
900
+ .memberRow:active {
901
+ transform: scale(0.995);
902
+ }
903
+
904
+ .memberAvatar {
905
+ width: 42px;
906
+ height: 42px;
907
+ }
908
+
909
+ .memberAvatar[data-unread='true']::after {
910
+ position: absolute;
911
+ top: 0;
912
+ right: -1px;
913
+ width: 6px;
914
+ height: 6px;
915
+ box-sizing: border-box;
916
+ border: 1px solid var(--dsw-alias-bg-layer-1);
917
+ border-radius: 50%;
918
+ background: var(--dsw-alias-state-business-primary);
919
+ content: '';
920
+ animation: agentTeamsUnreadPulse 1.8s ease-in-out infinite;
921
+ }
922
+
923
+ @keyframes agentTeamsUnreadPulse {
924
+ 0%, 100% { opacity: 0.78; transform: scale(0.92); }
925
+ 50% { opacity: 1; transform: scale(1.16); }
926
+ }
927
+
928
+ .memberInitial {
929
+ display: inline-flex;
930
+ width: 34px;
931
+ height: 34px;
932
+ align-items: center;
933
+ justify-content: center;
934
+ border-radius: 50%;
935
+ background: var(--dsw-alias-state-business-primary);
936
+ color: var(--dsw-alias-label-primary-inverted);
937
+ font-size: 14px;
938
+ font-weight: 600;
939
+ line-height: 20px;
940
+ }
941
+
942
+ .stateArt {
943
+ position: absolute;
944
+ right: -5px;
945
+ bottom: -3px;
946
+ width: 22px;
947
+ height: 22px;
948
+ box-sizing: border-box;
949
+ border: 0;
950
+ border-radius: 0;
951
+ object-fit: contain;
952
+ background: transparent;
953
+ filter:
954
+ drop-shadow(0 0 1px var(--dsw-alias-bg-layer-1))
955
+ drop-shadow(0 1px 1px rgb(18 45 72 / 24%));
956
+ }
957
+
958
+ /* Vendor brand mark in place of the activity art: a white disc keeps thin or
959
+ monochrome logos legible on top of the avatar. */
960
+ .stateArt[data-brand='true'] {
961
+ padding: 3px;
962
+ border-radius: 50%;
963
+ background: var(--dsw-alias-bg-layer-1);
964
+ filter: drop-shadow(0 1px 1px rgb(18 45 72 / 24%));
965
+ }
966
+
967
+ .stateArt[data-activity='working'] {
968
+ animation: agentTeamsFloat 2.4s ease-in-out infinite;
969
+ }
970
+
971
+ .stateArt[data-activity='idle'] {
972
+ animation: agentTeamsBreathe 4.2s ease-in-out infinite;
973
+ }
974
+
975
+ .stateArt[data-activity='unknown'] {
976
+ animation: agentTeamsThink 2.8s ease-in-out infinite;
977
+ }
978
+
979
+ @keyframes agentTeamsFloat {
980
+ 0%, 100% { transform: translateY(0) rotate(-4deg); }
981
+ 50% { transform: translateY(-2px) rotate(4deg); }
982
+ }
983
+
984
+ @keyframes agentTeamsBreathe {
985
+ 0%, 100% { opacity: 0.82; transform: scale(1); }
986
+ 50% { opacity: 1; transform: scale(1.06); }
987
+ }
988
+
989
+ @keyframes agentTeamsThink {
990
+ 0%, 100% { transform: rotate(-7deg); }
991
+ 50% { transform: rotate(7deg); }
992
+ }
993
+
994
+ .memberState {
995
+ margin-left: auto;
996
+ }
997
+
998
+ .memberCount {
999
+ color: var(--dsw-alias-label-tertiary);
1000
+ font-size: 10.5px;
1001
+ line-height: 16px;
1002
+ }
1003
+
1004
+ .assignmentLine {
1005
+ display: flex;
1006
+ align-items: center;
1007
+ gap: 7px;
1008
+ min-width: 0;
1009
+ padding: 0 6px 0 60px;
1010
+ }
1011
+
1012
+ .assignmentLabel {
1013
+ flex: none;
1014
+ color: var(--dsw-alias-label-tertiary);
1015
+ font-size: 9.5px;
1016
+ line-height: 14px;
1017
+ }
1018
+
1019
+ .assignmentTasks {
1020
+ display: flex;
1021
+ flex: 1;
1022
+ flex-wrap: wrap;
1023
+ gap: 4px;
1024
+ min-width: 0;
1025
+ }
1026
+
1027
+ .assignmentChip {
1028
+ display: inline-flex;
1029
+ align-items: center;
1030
+ max-width: 100%;
1031
+ min-height: 16px;
1032
+ padding: 0 5px;
1033
+ overflow: hidden;
1034
+ border-radius: 4px;
1035
+ background: var(--dsw-alias-button-ghost-active-fill);
1036
+ color: var(--dsw-alias-label-secondary);
1037
+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
1038
+ font-size: 9px;
1039
+ font-weight: 600;
1040
+ line-height: 14px;
1041
+ text-overflow: ellipsis;
1042
+ white-space: nowrap;
1043
+ }
1044
+
1045
+ .assignmentChip[data-state='running'] {
1046
+ background: var(--dsw-alias-state-business-primary);
1047
+ color: var(--dsw-alias-label-primary-inverted);
1048
+ }
1049
+
1050
+ .assignmentChip[data-state='completed'] {
1051
+ background: var(--dsw-alias-state-success-primary);
1052
+ color: var(--dsw-alias-label-primary-inverted);
1053
+ }
1054
+
1055
+ .assignmentChip[data-state='blocked'] {
1056
+ background: var(--dsw-alias-state-warn-primary);
1057
+ color: var(--dsw-alias-label-primary-inverted);
1058
+ }
1059
+
1060
+ .assignmentChip[data-state='failed'] {
1061
+ background: var(--dsw-alias-state-error-primary);
1062
+ color: var(--dsw-alias-label-primary-inverted);
1063
+ }
1064
+
1065
+ .assignmentChip[data-state='cancelled'] {
1066
+ color: var(--dsw-alias-label-tertiary);
1067
+ text-decoration: line-through;
1068
+ }
1069
+
1070
+ .unreadPill {
1071
+ flex: none;
1072
+ color: var(--dsw-alias-state-business-primary);
1073
+ font-size: 9.5px;
1074
+ font-weight: 600;
1075
+ line-height: 14px;
1076
+ white-space: nowrap;
1077
+ }
1078
+
1079
+ .taskEmpty {
1080
+ color: var(--dsw-alias-label-tertiary);
1081
+ font-size: 9.5px;
1082
+ line-height: 14px;
1083
+ }
1084
+
1085
+ /* compact dependency DAG */
1086
+ .dependencySection {
1087
+ display: flex;
1088
+ flex-direction: column;
1089
+ gap: 7px;
1090
+ min-width: 0;
1091
+ padding-top: 10px;
1092
+ border-top: 1px solid var(--dsw-alias-border-l2);
1093
+ }
1094
+
1095
+ .sectionToggleTitle {
1096
+ display: inline-flex;
1097
+ align-items: center;
1098
+ gap: 6px;
1099
+ padding: 0;
1100
+ border: 0;
1101
+ background: transparent;
1102
+ color: var(--dsw-alias-label-secondary);
1103
+ font: inherit;
1104
+ font-size: 11px;
1105
+ font-weight: 600;
1106
+ line-height: 16px;
1107
+ cursor: pointer;
1108
+ }
1109
+
1110
+ .dagViewport {
1111
+ min-width: 0;
1112
+ overflow-x: auto;
1113
+ padding: 2px 0 4px;
1114
+ scrollbar-width: thin;
1115
+ }
1116
+
1117
+ .dagCanvas {
1118
+ position: relative;
1119
+ min-width: 100%;
1120
+ }
1121
+
1122
+ .dagCanvas[data-layout='parallel'] {
1123
+ display: flex;
1124
+ flex-wrap: wrap;
1125
+ gap: 8px;
1126
+ }
1127
+
1128
+ .dagCanvas[data-layout='parallel'] .dagNode {
1129
+ position: relative;
1130
+ flex: 1 1 92px;
1131
+ min-width: 92px;
1132
+ }
1133
+
1134
+ .dagEdges {
1135
+ position: absolute;
1136
+ inset: 0;
1137
+ overflow: visible;
1138
+ pointer-events: none;
1139
+ }
1140
+
1141
+ .dagEdges path {
1142
+ fill: none;
1143
+ stroke: var(--dsw-alias-border-l3);
1144
+ stroke-width: 1;
1145
+ transition: opacity 140ms ease, stroke 140ms ease, stroke-width 140ms ease;
1146
+ }
1147
+
1148
+ .dagEdges path[data-active='true'] {
1149
+ stroke: var(--dsw-alias-state-business-primary);
1150
+ stroke-width: 1.6;
1151
+ }
1152
+
1153
+ .dagEdges path[data-dimmed='true'] {
1154
+ opacity: 0.24;
1155
+ }
1156
+
1157
+ .dagNode {
1158
+ position: absolute;
1159
+ display: flex;
1160
+ flex-direction: column;
1161
+ justify-content: center;
1162
+ gap: 1px;
1163
+ padding: 0 6px;
1164
+ box-sizing: border-box;
1165
+ border: 1px solid var(--dsw-alias-border-l2);
1166
+ border-radius: 6px;
1167
+ background: var(--dsw-alias-bg-layer-1);
1168
+ color: var(--dsw-alias-label-primary);
1169
+ font: inherit;
1170
+ text-align: left;
1171
+ cursor: pointer;
1172
+ transition: border-color 140ms ease, background-color 140ms ease, opacity 140ms ease;
1173
+ }
1174
+
1175
+ .dagNode:hover,
1176
+ .dagNode[data-focused='true'] {
1177
+ border-color: var(--dsw-alias-state-business-primary);
1178
+ background: color-mix(in srgb, var(--dsw-alias-state-business-primary) 6%, var(--dsw-alias-bg-layer-1));
1179
+ }
1180
+
1181
+ .dagNode[data-dimmed='true'] {
1182
+ opacity: 0.3;
1183
+ }
1184
+
1185
+ .dagNode[data-state='running'][data-dimmed='true'] {
1186
+ opacity: 0.58;
1187
+ }
1188
+
1189
+ .dagNode[data-state='completed'] {
1190
+ border-color: color-mix(in srgb, var(--dsw-alias-state-success-primary) 48%, var(--dsw-alias-border-l2));
1191
+ }
1192
+
1193
+ .dagNode[data-state='blocked'] {
1194
+ border-color: color-mix(in srgb, var(--dsw-alias-state-warn-primary) 52%, var(--dsw-alias-border-l2));
1195
+ }
1196
+
1197
+ .dagNode[data-state='failed'] {
1198
+ border-color: color-mix(in srgb, var(--dsw-alias-state-error-primary) 56%, var(--dsw-alias-border-l2));
1199
+ }
1200
+
1201
+ /* A verdict whose recorded bytes no longer match the workspace: the gate did
1202
+ pass, but not over the revision on disk now, so it must not read as green. */
1203
+ .dagNode[data-verdict-stale='true'] {
1204
+ border-style: dashed;
1205
+ border-color: color-mix(in srgb, var(--dsw-alias-state-warn-primary) 62%, var(--dsw-alias-border-l2));
1206
+ }
1207
+
1208
+ .dagNode[data-verdict-stale='true'] .dagNodeHead {
1209
+ color: var(--dsw-alias-state-warn-primary);
1210
+ }
1211
+
1212
+ .dagNodeHead {
1213
+ display: flex;
1214
+ align-items: center;
1215
+ gap: 4px;
1216
+ color: var(--dsw-alias-label-primary);
1217
+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
1218
+ font-size: 9.5px;
1219
+ font-weight: 700;
1220
+ }
1221
+
1222
+ .dagNodeDot {
1223
+ flex: none;
1224
+ width: 5px;
1225
+ height: 5px;
1226
+ border-radius: 1.5px;
1227
+ background: var(--dsw-alias-border-l3);
1228
+ }
1229
+
1230
+ .dagNode[data-state='running'] .dagNodeDot {
1231
+ background: var(--dsw-alias-state-business-primary);
1232
+ }
1233
+
1234
+ .dagNode[data-state='running'] .dagNodeHead {
1235
+ padding-right: 12px;
1236
+ }
1237
+
1238
+ .dagRunningState {
1239
+ position: absolute;
1240
+ top: 4px;
1241
+ right: 5px;
1242
+ display: inline-flex;
1243
+ width: 9px;
1244
+ height: 9px;
1245
+ align-items: center;
1246
+ justify-content: center;
1247
+ color: var(--dsw-alias-state-business-primary);
1248
+ pointer-events: none;
1249
+ }
1250
+
1251
+ .dagRunningState .workGlyph {
1252
+ width: 9px;
1253
+ height: 9px;
1254
+ }
1255
+
1256
+ .dagNode[data-state='blocked'] .dagNodeDot {
1257
+ background: var(--dsw-alias-state-warn-primary);
1258
+ }
1259
+
1260
+ .dagNode[data-state='completed'] .dagNodeDot {
1261
+ background: var(--dsw-alias-state-success-primary);
1262
+ }
1263
+
1264
+ .dagNode[data-state='failed'] .dagNodeDot {
1265
+ background: var(--dsw-alias-state-error-primary);
1266
+ }
1267
+
1268
+ .dagNodeLabel {
1269
+ overflow: hidden;
1270
+ color: var(--dsw-alias-label-tertiary);
1271
+ font-size: 8.5px;
1272
+ line-height: 11px;
1273
+ text-overflow: ellipsis;
1274
+ white-space: nowrap;
1275
+ }
1276
+
1277
+ .taskDetail {
1278
+ display: flex;
1279
+ flex-direction: column;
1280
+ gap: 3px;
1281
+ min-width: 0;
1282
+ padding: 7px 9px;
1283
+ border: 1px solid var(--dsw-alias-border-l2);
1284
+ border-radius: 9px;
1285
+ background: var(--dsw-alias-bg-module-platform);
1286
+ }
1287
+
1288
+ .taskDetailHead {
1289
+ display: flex;
1290
+ align-items: center;
1291
+ gap: 6px;
1292
+ min-width: 0;
1293
+ }
1294
+
1295
+ .taskDetailId {
1296
+ flex: none;
1297
+ color: var(--dsw-alias-state-business-primary);
1298
+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
1299
+ font-size: 10px;
1300
+ font-weight: 700;
1301
+ }
1302
+
1303
+ .taskDetailSubject {
1304
+ overflow: hidden;
1305
+ min-width: 0;
1306
+ color: var(--dsw-alias-label-primary);
1307
+ font-size: 11px;
1308
+ font-weight: 600;
1309
+ line-height: 16px;
1310
+ text-overflow: ellipsis;
1311
+ white-space: nowrap;
1312
+ }
1313
+
1314
+ .taskDetailBadge {
1315
+ flex: none;
1316
+ padding: 0 5px;
1317
+ border-radius: 4px;
1318
+ background: var(--dsw-alias-button-ghost-active-fill);
1319
+ color: var(--dsw-alias-label-secondary);
1320
+ font-size: 8.5px;
1321
+ font-weight: 600;
1322
+ line-height: 14px;
1323
+ }
1324
+
1325
+ .taskDetailBadge[data-state='running'] {
1326
+ background: var(--dsw-alias-state-business-primary);
1327
+ color: var(--dsw-alias-label-primary-inverted);
1328
+ }
1329
+
1330
+ .taskDetailBadge[data-state='blocked'] {
1331
+ background: var(--dsw-alias-state-warn-primary);
1332
+ color: var(--dsw-alias-label-primary-inverted);
1333
+ }
1334
+
1335
+ .taskDetailBadge[data-state='completed'] {
1336
+ background: var(--dsw-alias-state-success-primary);
1337
+ color: var(--dsw-alias-label-primary-inverted);
1338
+ }
1339
+
1340
+ .taskDetailBadge[data-state='failed'] {
1341
+ background: var(--dsw-alias-state-error-primary);
1342
+ color: var(--dsw-alias-label-primary-inverted);
1343
+ }
1344
+
1345
+ .taskDetailLine,
1346
+ .taskDetailMeta {
1347
+ color: var(--dsw-alias-label-secondary);
1348
+ font-size: 9.5px;
1349
+ line-height: 14px;
1350
+ }
1351
+
1352
+ .taskDetailMeta {
1353
+ color: var(--dsw-alias-label-tertiary);
1354
+ }
1355
+
1356
+ .emptyHint {
1357
+ padding: 10px 12px;
1358
+ color: var(--dsw-alias-label-tertiary);
1359
+ font-size: 11px;
1360
+ line-height: 16px;
1361
+ }
1362
+
1363
+ .planEditor {
1364
+ display: flex;
1365
+ flex-direction: column;
1366
+ gap: 12px;
1367
+ margin: 0 10px 12px;
1368
+ padding: 12px;
1369
+ border: 1px solid color-mix(in srgb, var(--dsw-alias-state-business-primary) 30%, var(--dsw-alias-border-l2));
1370
+ border-radius: 10px;
1371
+ background: color-mix(in srgb, var(--dsw-alias-bg-module-platform) 94%, var(--dsw-alias-state-business-primary));
1372
+ box-shadow: inset 0 1px 0 color-mix(in srgb, var(--dsw-alias-label-primary) 5%, transparent);
1373
+ }
1374
+
1375
+ .planHeader > span {
1376
+ display: flex;
1377
+ align-items: center;
1378
+ justify-content: space-between;
1379
+ gap: 8px;
1380
+ }
1381
+
1382
+ .planHeader > span > span {
1383
+ display: flex;
1384
+ min-width: 0;
1385
+ flex-direction: column;
1386
+ gap: 2px;
1387
+ }
1388
+
1389
+ .planHeader strong {
1390
+ color: var(--dsw-alias-label-primary);
1391
+ font-size: 12px;
1392
+ }
1393
+
1394
+ .planHeader small {
1395
+ color: var(--dsw-alias-label-secondary);
1396
+ font-size: 9px;
1397
+ font-weight: 500;
1398
+ line-height: 13px;
1399
+ }
1400
+
1401
+ .planHeader em {
1402
+ flex: none;
1403
+ padding: 1px 7px;
1404
+ border-radius: 999px;
1405
+ background: var(--dsw-alias-state-business-primary);
1406
+ color: var(--dsw-alias-label-primary-inverted);
1407
+ font-size: 9px;
1408
+ font-style: normal;
1409
+ line-height: 16px;
1410
+ }
1411
+
1412
+ .planHeader p {
1413
+ margin: 5px 0 0;
1414
+ color: var(--dsw-alias-label-secondary);
1415
+ font-size: 10px;
1416
+ line-height: 15px;
1417
+ }
1418
+
1419
+ .planFlow {
1420
+ display: grid;
1421
+ grid-template-columns: repeat(3, minmax(0, 1fr));
1422
+ margin: 0;
1423
+ padding: 0;
1424
+ list-style: none;
1425
+ }
1426
+
1427
+ .planFlow li {
1428
+ position: relative;
1429
+ display: flex;
1430
+ min-width: 0;
1431
+ align-items: center;
1432
+ gap: 5px;
1433
+ color: var(--dsw-alias-label-tertiary);
1434
+ font-size: 9px;
1435
+ font-weight: 600;
1436
+ line-height: 14px;
1437
+ }
1438
+
1439
+ .planFlow li:not(:last-child)::after {
1440
+ height: 1px;
1441
+ min-width: 8px;
1442
+ flex: 1;
1443
+ margin-right: 5px;
1444
+ background: var(--dsw-alias-border-l2);
1445
+ content: '';
1446
+ }
1447
+
1448
+ .planFlow li > span {
1449
+ display: grid;
1450
+ width: 18px;
1451
+ height: 18px;
1452
+ flex: none;
1453
+ place-items: center;
1454
+ border: 1px solid var(--dsw-alias-border-l2);
1455
+ border-radius: 50%;
1456
+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
1457
+ font-size: 9px;
1458
+ }
1459
+
1460
+ .planFlow li[data-active] {
1461
+ color: var(--dsw-alias-state-business-primary);
1462
+ }
1463
+
1464
+ .planFlow li[data-active] > span {
1465
+ border-color: var(--dsw-alias-state-business-primary);
1466
+ background: color-mix(in srgb, var(--dsw-alias-state-business-primary) 12%, transparent);
1467
+ }
1468
+
1469
+ .planSection {
1470
+ overflow: hidden;
1471
+ border: 1px solid var(--dsw-alias-border-l2);
1472
+ border-radius: 8px;
1473
+ background: var(--dsw-alias-bg-module-platform);
1474
+ }
1475
+
1476
+ .planSectionToggle,
1477
+ .planCardHeader {
1478
+ box-sizing: border-box;
1479
+ width: 100%;
1480
+ border: 0;
1481
+ background: transparent;
1482
+ color: var(--dsw-alias-label-primary);
1483
+ cursor: pointer;
1484
+ text-align: left;
1485
+ }
1486
+
1487
+ .planSectionToggle {
1488
+ display: flex;
1489
+ min-height: 42px;
1490
+ align-items: center;
1491
+ justify-content: space-between;
1492
+ gap: 8px;
1493
+ padding: 7px 9px;
1494
+ }
1495
+
1496
+ .planSectionToggle:hover,
1497
+ .planCardHeader:hover {
1498
+ background: color-mix(in srgb, var(--dsw-alias-button-ghost-active-fill) 46%, transparent);
1499
+ }
1500
+
1501
+ .planSectionToggle > span {
1502
+ display: flex;
1503
+ min-width: 0;
1504
+ align-items: baseline;
1505
+ gap: 7px;
1506
+ }
1507
+
1508
+ .planSectionToggle strong {
1509
+ font-size: 10.5px;
1510
+ }
1511
+
1512
+ .planSectionToggle small {
1513
+ color: var(--dsw-alias-label-tertiary);
1514
+ font-size: 9px;
1515
+ }
1516
+
1517
+ .planList {
1518
+ display: flex;
1519
+ flex-direction: column;
1520
+ gap: 0;
1521
+ border-top: 1px solid var(--dsw-alias-border-l2);
1522
+ }
1523
+
1524
+ .planEmpty {
1525
+ margin: 0;
1526
+ padding: 12px;
1527
+ color: var(--dsw-alias-label-tertiary);
1528
+ font-size: 10px;
1529
+ text-align: center;
1530
+ }
1531
+
1532
+ .planCard {
1533
+ position: relative;
1534
+ display: block;
1535
+ min-width: 0;
1536
+ margin: 0;
1537
+ padding: 0;
1538
+ border: 0;
1539
+ border-radius: 0;
1540
+ background: transparent;
1541
+ }
1542
+
1543
+ .planCard + .planCard {
1544
+ border-top: 1px solid var(--dsw-alias-border-l2);
1545
+ }
1546
+
1547
+ .planCard[data-open='true'] {
1548
+ background: color-mix(in srgb, var(--dsw-alias-bg-base) 62%, transparent);
1549
+ }
1550
+
1551
+ .planCardHeader {
1552
+ display: grid;
1553
+ min-height: 40px;
1554
+ grid-template-columns: minmax(80px, 0.9fr) minmax(72px, 1.15fr) auto 12px;
1555
+ align-items: center;
1556
+ gap: 7px;
1557
+ padding: 6px 9px;
1558
+ }
1559
+
1560
+ .planCardIdentity {
1561
+ display: flex;
1562
+ min-width: 0;
1563
+ flex-direction: column;
1564
+ gap: 1px;
1565
+ }
1566
+
1567
+ .planCardIdentity strong,
1568
+ .planTaskSummary {
1569
+ overflow: hidden;
1570
+ color: var(--dsw-alias-label-primary);
1571
+ font-size: 10px;
1572
+ font-weight: 650;
1573
+ line-height: 14px;
1574
+ text-overflow: ellipsis;
1575
+ white-space: nowrap;
1576
+ }
1577
+
1578
+ .planCardIdentity > span,
1579
+ .planCardMeta {
1580
+ overflow: hidden;
1581
+ color: var(--dsw-alias-label-tertiary);
1582
+ font-size: 8.5px;
1583
+ line-height: 12px;
1584
+ text-overflow: ellipsis;
1585
+ white-space: nowrap;
1586
+ }
1587
+
1588
+ .planTaskId {
1589
+ width: max-content;
1590
+ padding: 1px 5px;
1591
+ border-radius: 4px;
1592
+ background: var(--dsw-alias-button-ghost-active-fill);
1593
+ color: var(--dsw-alias-label-secondary);
1594
+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
1595
+ font-size: 8.5px;
1596
+ font-weight: 700;
1597
+ line-height: 14px;
1598
+ }
1599
+
1600
+ .planDirty {
1601
+ justify-self: end;
1602
+ padding: 1px 5px;
1603
+ border-radius: 999px;
1604
+ background: color-mix(in srgb, var(--dsw-alias-state-warn-primary) 13%, transparent);
1605
+ color: var(--dsw-alias-state-warn-primary);
1606
+ font-size: 8px;
1607
+ font-style: normal;
1608
+ font-weight: 650;
1609
+ line-height: 14px;
1610
+ }
1611
+
1612
+ .planChevron {
1613
+ flex: none;
1614
+ color: var(--dsw-alias-label-tertiary);
1615
+ transition: transform 180ms cubic-bezier(0.2, 0.7, 0.2, 1);
1616
+ }
1617
+
1618
+ .planChevron[data-open='true'] {
1619
+ transform: rotate(90deg);
1620
+ }
1621
+
1622
+ .planCardBody {
1623
+ display: flex;
1624
+ flex-direction: column;
1625
+ gap: 8px;
1626
+ padding: 0 9px 9px;
1627
+ }
1628
+
1629
+ .planCardBody fieldset {
1630
+ display: flex;
1631
+ min-width: 0;
1632
+ flex-direction: column;
1633
+ gap: 7px;
1634
+ margin: 0;
1635
+ padding: 0;
1636
+ border: 0;
1637
+ }
1638
+
1639
+ .planCardBody label,
1640
+ .planNewTask label {
1641
+ display: flex;
1642
+ min-width: 0;
1643
+ flex: 1;
1644
+ flex-direction: column;
1645
+ gap: 4px;
1646
+ color: var(--dsw-alias-label-tertiary);
1647
+ font-size: 9px;
1648
+ }
1649
+
1650
+ .planCardBody label small {
1651
+ color: var(--dsw-alias-label-tertiary);
1652
+ font-size: 8px;
1653
+ line-height: 11px;
1654
+ }
1655
+
1656
+ .planCard input,
1657
+ .planCard textarea,
1658
+ .planCard select,
1659
+ .planNewTask input {
1660
+ box-sizing: border-box;
1661
+ width: 100%;
1662
+ min-width: 0;
1663
+ border: 1px solid var(--dsw-alias-border-l2);
1664
+ border-radius: 6px;
1665
+ outline: none;
1666
+ background: var(--dsw-alias-bg-base);
1667
+ color: var(--dsw-alias-label-primary);
1668
+ font: inherit;
1669
+ font-size: 10.5px;
1670
+ line-height: 16px;
1671
+ transition: border-color 160ms ease, box-shadow 160ms ease;
1672
+ }
1673
+
1674
+ .planCard input,
1675
+ .planCard select,
1676
+ .planNewTask input {
1677
+ min-height: 32px;
1678
+ padding: 6px 8px;
1679
+ }
1680
+
1681
+ .planCard textarea {
1682
+ min-height: 58px;
1683
+ padding: 7px 8px;
1684
+ resize: vertical;
1685
+ }
1686
+
1687
+ .planCard input:focus-visible,
1688
+ .planCard textarea:focus-visible,
1689
+ .planCard select:focus-visible,
1690
+ .planNewTask input:focus-visible {
1691
+ border-color: var(--dsw-alias-state-business-primary);
1692
+ box-shadow: 0 0 0 2px color-mix(in srgb, var(--dsw-alias-state-business-primary) 16%, transparent);
1693
+ }
1694
+
1695
+ .planGrid {
1696
+ display: grid;
1697
+ grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
1698
+ gap: 6px;
1699
+ }
1700
+
1701
+ .planModelPicker {
1702
+ display: grid;
1703
+ grid-template-columns: minmax(0, 1fr);
1704
+ gap: 5px;
1705
+ }
1706
+
1707
+ .planModelMenu {
1708
+ display: flex;
1709
+ width: 100%;
1710
+ }
1711
+
1712
+ .planModelTrigger {
1713
+ display: flex;
1714
+ width: 100%;
1715
+ min-height: 38px;
1716
+ align-items: center;
1717
+ justify-content: space-between;
1718
+ gap: 8px;
1719
+ padding: 7px 9px;
1720
+ border: 1px solid var(--dsw-alias-border-l2);
1721
+ border-radius: 7px;
1722
+ background: var(--dsw-alias-bg-base);
1723
+ color: var(--dsw-alias-label-primary);
1724
+ cursor: pointer;
1725
+ text-align: left;
1726
+ transition: border-color 160ms ease, background-color 160ms ease, transform 120ms ease;
1727
+ }
1728
+
1729
+ .planModelTrigger:hover:not(:disabled) {
1730
+ border-color: var(--dsw-alias-border-l3);
1731
+ background: var(--dsw-alias-interactive-bg-hover);
1732
+ }
1733
+
1734
+ .planModelTrigger:active:not(:disabled) {
1735
+ transform: translateY(1px);
1736
+ }
1737
+
1738
+ .planModelTrigger:focus-visible {
1739
+ border-color: var(--dsw-alias-state-business-primary);
1740
+ outline: 2px solid color-mix(in srgb, var(--dsw-alias-state-business-primary) 16%, transparent);
1741
+ outline-offset: 1px;
1742
+ }
1743
+
1744
+ .planModelTrigger:disabled {
1745
+ cursor: wait;
1746
+ opacity: 0.64;
1747
+ }
1748
+
1749
+ .planModelTriggerCopy {
1750
+ display: flex;
1751
+ min-width: 0;
1752
+ align-items: baseline;
1753
+ gap: 6px;
1754
+ }
1755
+
1756
+ .planModelTriggerCopy strong,
1757
+ .planModelTriggerCopy span {
1758
+ overflow: hidden;
1759
+ text-overflow: ellipsis;
1760
+ white-space: nowrap;
1761
+ }
1762
+
1763
+ .planModelTriggerCopy strong {
1764
+ color: var(--dsw-alias-label-primary);
1765
+ font-size: 10px;
1766
+ font-weight: 650;
1767
+ line-height: 15px;
1768
+ }
1769
+
1770
+ .planModelTriggerCopy span {
1771
+ color: var(--dsw-alias-label-tertiary);
1772
+ font-size: 9px;
1773
+ line-height: 14px;
1774
+ }
1775
+
1776
+ .planModelMenuRow {
1777
+ display: grid;
1778
+ width: 100%;
1779
+ min-width: 0;
1780
+ grid-template-columns: auto minmax(0, 1fr) auto;
1781
+ align-items: center;
1782
+ gap: 8px;
1783
+ }
1784
+
1785
+ .planModelMenuRow > span:first-child {
1786
+ color: var(--dsw-alias-label-primary);
1787
+ }
1788
+
1789
+ .planModelMenuRow strong {
1790
+ overflow: hidden;
1791
+ color: var(--dsw-alias-label-tertiary);
1792
+ font-weight: 450;
1793
+ text-align: right;
1794
+ text-overflow: ellipsis;
1795
+ white-space: nowrap;
1796
+ }
1797
+
1798
+ .planModelMenuBack {
1799
+ display: inline-flex;
1800
+ align-items: center;
1801
+ gap: 7px;
1802
+ }
1803
+
1804
+ .planModelMenuBack svg {
1805
+ transform: rotate(180deg);
1806
+ }
1807
+
1808
+ .planModelEffortRow {
1809
+ display: flex;
1810
+ min-width: 0;
1811
+ flex-direction: column;
1812
+ align-items: flex-start;
1813
+ }
1814
+
1815
+ .planModelEffortRow small {
1816
+ overflow: hidden;
1817
+ width: 100%;
1818
+ color: var(--dsw-alias-label-tertiary);
1819
+ font-size: 10px;
1820
+ line-height: 14px;
1821
+ text-overflow: ellipsis;
1822
+ white-space: nowrap;
1823
+ }
1824
+
1825
+ .planModelHint {
1826
+ overflow: hidden;
1827
+ color: var(--dsw-alias-label-tertiary);
1828
+ font-size: 8.5px;
1829
+ line-height: 12px;
1830
+ text-overflow: ellipsis;
1831
+ white-space: nowrap;
1832
+ }
1833
+
1834
+ .planModelNotice {
1835
+ display: flex;
1836
+ grid-column: 1 / -1;
1837
+ align-items: center;
1838
+ justify-content: space-between;
1839
+ gap: 8px;
1840
+ padding: 6px 7px;
1841
+ border-radius: 6px;
1842
+ background: color-mix(in srgb, var(--dsw-alias-state-warn-primary) 9%, transparent);
1843
+ color: var(--dsw-alias-label-secondary);
1844
+ font-size: 8.5px;
1845
+ line-height: 12px;
1846
+ }
1847
+
1848
+ .planModelNotice button {
1849
+ flex: none;
1850
+ padding: 2px 6px;
1851
+ border: 0;
1852
+ background: transparent;
1853
+ color: var(--dsw-alias-state-business-primary);
1854
+ cursor: pointer;
1855
+ font: inherit;
1856
+ font-weight: 650;
1857
+ }
1858
+
1859
+ .planActions,
1860
+ .planApproveRow,
1861
+ .planNewTask,
1862
+ .planConfirm,
1863
+ .planApproveActions,
1864
+ .planSecondaryActions {
1865
+ display: flex;
1866
+ align-items: center;
1867
+ gap: 7px;
1868
+ }
1869
+
1870
+ .planReviewActions {
1871
+ display: grid;
1872
+ width: 100%;
1873
+ grid-template-columns: minmax(0, 1fr);
1874
+ gap: 6px;
1875
+ }
1876
+
1877
+ .planSecondaryActions {
1878
+ display: grid;
1879
+ grid-template-columns: minmax(0, 1fr) auto;
1880
+ }
1881
+
1882
+ .planActions {
1883
+ justify-content: flex-end;
1884
+ }
1885
+
1886
+ .planActions button,
1887
+ .planNewTask button,
1888
+ .planApproveRow button,
1889
+ .planConfirm button {
1890
+ flex: none;
1891
+ min-height: 30px;
1892
+ padding: 5px 10px;
1893
+ border: 1px solid var(--dsw-alias-border-l2);
1894
+ border-radius: 6px;
1895
+ background: var(--dsw-alias-button-ghost-active-fill);
1896
+ color: var(--dsw-alias-label-primary);
1897
+ cursor: pointer;
1898
+ font-size: 9.5px;
1899
+ font-weight: 600;
1900
+ transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
1901
+ }
1902
+
1903
+ .planActions button:hover:not(:disabled),
1904
+ .planNewTask button:hover:not(:disabled),
1905
+ .planApproveRow button:hover:not(:disabled),
1906
+ .planConfirm button:hover:not(:disabled) {
1907
+ border-color: var(--dsw-alias-label-tertiary);
1908
+ }
1909
+
1910
+ .planActions button:active:not(:disabled),
1911
+ .planNewTask button:active:not(:disabled),
1912
+ .planApproveRow button:active:not(:disabled),
1913
+ .planConfirm button:active:not(:disabled) {
1914
+ transform: scale(0.98);
1915
+ }
1916
+
1917
+ .planActions button[data-danger],
1918
+ .planConfirm button[data-danger] {
1919
+ color: var(--dsw-alias-state-error-primary);
1920
+ }
1921
+
1922
+ .planFeedback {
1923
+ display: inline-flex;
1924
+ min-width: 0;
1925
+ flex: 1;
1926
+ align-items: center;
1927
+ gap: 5px;
1928
+ color: var(--dsw-alias-label-secondary);
1929
+ font-size: 9px;
1930
+ line-height: 13px;
1931
+ animation: plan-feedback-in 180ms ease-out;
1932
+ }
1933
+
1934
+ .planFeedback[data-tone='success'] {
1935
+ color: var(--dsw-alias-state-success-primary);
1936
+ }
1937
+
1938
+ .planFeedback[data-tone='error'] {
1939
+ color: var(--dsw-alias-state-error-primary);
1940
+ }
1941
+
1942
+ .planFeedback > span {
1943
+ display: grid;
1944
+ width: 15px;
1945
+ height: 15px;
1946
+ flex: none;
1947
+ place-items: center;
1948
+ border: 1px solid currentColor;
1949
+ border-radius: 50%;
1950
+ }
1951
+
1952
+ .planFeedback svg {
1953
+ width: 11px;
1954
+ height: 11px;
1955
+ }
1956
+
1957
+ @keyframes plan-feedback-in {
1958
+ from { opacity: 0; transform: translateY(-2px); }
1959
+ to { opacity: 1; transform: translateY(0); }
1960
+ }
1961
+
1962
+ .planConfirm {
1963
+ flex-wrap: wrap;
1964
+ justify-content: flex-end;
1965
+ padding: 7px;
1966
+ border: 1px solid color-mix(in srgb, var(--dsw-alias-state-error-primary) 30%, var(--dsw-alias-border-l2));
1967
+ border-radius: 7px;
1968
+ background: color-mix(in srgb, var(--dsw-alias-state-error-primary) 7%, transparent);
1969
+ }
1970
+
1971
+ .planConfirm > span {
1972
+ min-width: 140px;
1973
+ flex: 1;
1974
+ color: var(--dsw-alias-label-secondary);
1975
+ font-size: 9px;
1976
+ line-height: 13px;
1977
+ }
1978
+
1979
+ .planNewTask {
1980
+ align-items: flex-end;
1981
+ }
1982
+
1983
+ .planNewTask label {
1984
+ gap: 4px;
1985
+ }
1986
+
1987
+ .planNewTask label > span {
1988
+ line-height: 13px;
1989
+ }
1990
+
1991
+ .planApproveRow {
1992
+ position: sticky;
1993
+ z-index: 1;
1994
+ bottom: 0;
1995
+ min-height: 50px;
1996
+ align-items: stretch;
1997
+ flex-direction: column;
1998
+ justify-content: flex-end;
1999
+ margin: 0 -4px -4px;
2000
+ padding: 8px;
2001
+ border: 1px solid var(--dsw-alias-border-l2);
2002
+ border-radius: 8px;
2003
+ background: color-mix(in srgb, var(--dsw-alias-bg-module-platform) 94%, transparent);
2004
+ box-shadow: 0 -5px 16px color-mix(in srgb, var(--dsw-alias-bg-base) 35%, transparent);
2005
+ backdrop-filter: blur(8px);
2006
+ }
2007
+
2008
+ .planApproveRow[data-armed='true'] {
2009
+ border-color: color-mix(in srgb, var(--dsw-alias-state-business-primary) 45%, var(--dsw-alias-border-l2));
2010
+ }
2011
+
2012
+ .planApproveRow[data-discard='true'] {
2013
+ border-color: color-mix(in srgb, var(--dsw-alias-state-error-primary) 45%, var(--dsw-alias-border-l2));
2014
+ }
2015
+
2016
+ .planApproveCopy {
2017
+ display: flex;
2018
+ min-width: 0;
2019
+ flex: 1;
2020
+ flex-direction: column;
2021
+ gap: 2px;
2022
+ }
2023
+
2024
+ .planApproveCopy strong {
2025
+ color: var(--dsw-alias-label-primary);
2026
+ font-size: 9.5px;
2027
+ line-height: 13px;
2028
+ }
2029
+
2030
+ .planApproveCopy small {
2031
+ color: var(--dsw-alias-label-tertiary);
2032
+ font-size: 8.5px;
2033
+ line-height: 12px;
2034
+ }
2035
+
2036
+ .planApproveRow button {
2037
+ min-height: 32px;
2038
+ padding-inline: 13px;
2039
+ background: var(--dsw-alias-state-business-primary);
2040
+ color: var(--dsw-alias-label-primary-inverted);
2041
+ }
2042
+
2043
+ .planReviewActions > button[data-plan-approve] {
2044
+ width: 100%;
2045
+ }
2046
+
2047
+ .planApproveActions > button:first-child {
2048
+ background: var(--dsw-alias-button-ghost-active-fill);
2049
+ color: var(--dsw-alias-label-primary);
2050
+ }
2051
+
2052
+ .planSecondaryActions > button,
2053
+ .planApproveActions > button[data-danger] {
2054
+ border-color: var(--dsw-alias-border-l2);
2055
+ background: var(--dsw-alias-button-ghost-active-fill);
2056
+ color: var(--dsw-alias-label-primary);
2057
+ }
2058
+
2059
+ .planSecondaryActions > button[data-danger],
2060
+ .planApproveActions > button[data-danger] {
2061
+ color: var(--dsw-alias-state-error-primary);
2062
+ }
2063
+
2064
+ .planSectionToggle:focus-visible,
2065
+ .planCardHeader:focus-visible,
2066
+ .planActions button:focus-visible,
2067
+ .planNewTask button:focus-visible,
2068
+ .planApproveRow button:focus-visible,
2069
+ .planConfirm button:focus-visible {
2070
+ outline: 2px solid var(--dsw-alias-state-business-primary);
2071
+ outline-offset: -2px;
2072
+ }
2073
+
2074
+ .planActions button:disabled,
2075
+ .planNewTask button:disabled,
2076
+ .planApproveRow button:disabled {
2077
+ cursor: default;
2078
+ opacity: 0.55;
2079
+ }
2080
+
2081
+ /* Historic teams retain the exact same visual hierarchy as live teams. The
2082
+ explicit label carries the ended state; fading the entire subtree made the
2083
+ reference colors and DAG borders look missing. */
2084
+
2085
+ .historicPill {
2086
+ flex: none;
2087
+ margin-left: auto;
2088
+ padding: 1px 7px;
2089
+ border-radius: 4px;
2090
+ background: var(--dsw-alias-button-ghost-active-fill);
2091
+ color: var(--dsw-alias-label-tertiary);
2092
+ font-size: 9.5px;
2093
+ font-weight: 600;
2094
+ line-height: 15px;
2095
+ }
2096
+
2097
+ .members {
2098
+ display: flex;
2099
+ flex-direction: column;
2100
+ gap: 3px;
2101
+ }
2102
+
2103
+ .archiveLabel {
2104
+ display: block;
2105
+ padding: 5px 14px 0;
2106
+ color: var(--dsw-alias-label-tertiary);
2107
+ font-size: 9.5px;
2108
+ font-weight: 600;
2109
+ line-height: 14px;
2110
+ }
2111
+
2112
+ @media (prefers-reduced-motion: reduce) {
2113
+ .panel,
2114
+ .badge,
2115
+ .badgeDot,
2116
+ .panelDot,
2117
+ .workGlyph rect,
2118
+ .stateArt,
2119
+ .memberAvatar[data-unread='true']::after {
2120
+ animation: none;
2121
+ transition: none;
2122
+ }
2123
+
2124
+ .planChevron,
2125
+ .planFeedback,
2126
+ .planActions button,
2127
+ .planNewTask button,
2128
+ .planApproveRow button,
2129
+ .planConfirm button,
2130
+ .planCard input,
2131
+ .planCard textarea,
2132
+ .planCard select,
2133
+ .planNewTask input {
2134
+ animation: none;
2135
+ transition: none;
2136
+ }
2137
+ }
2138
+
2139
+ @media (max-width: 960px) {
2140
+ :global(html[data-agent-teams-panel-open]) :global([data-phase='active']) {
2141
+ padding-right: 0;
2142
+ }
2143
+ }
2144
+
2145
+ @media (max-width: 640px) {
2146
+ .badge {
2147
+ top: 56px;
2148
+ right: 10px;
2149
+ }
2150
+
2151
+ .teamStats span[data-stat='messages'] {
2152
+ display: none;
2153
+ }
2154
+
2155
+ .captainNode {
2156
+ grid-template-columns: 48px minmax(0, 1fr);
2157
+ }
2158
+
2159
+ .captainState {
2160
+ display: none;
2161
+ }
2162
+
2163
+ .delegationTree {
2164
+ margin-left: 12px;
2165
+ padding-left: 15px;
2166
+ }
2167
+
2168
+ .memberBranch {
2169
+ width: 15px;
2170
+ }
2171
+
2172
+ .assignmentLine {
2173
+ padding-left: 53px;
2174
+ }
2175
+
2176
+ .planFlow li {
2177
+ gap: 4px;
2178
+ font-size: 8px;
2179
+ }
2180
+
2181
+ .planFlow li:not(:last-child)::after {
2182
+ margin-right: 3px;
2183
+ }
2184
+
2185
+ .planCardHeader {
2186
+ grid-template-columns: auto minmax(0, 1fr) auto;
2187
+ }
2188
+
2189
+ .planCardHeader .planCardMeta {
2190
+ display: none;
2191
+ }
2192
+
2193
+ .planGrid {
2194
+ grid-template-columns: minmax(0, 1fr);
2195
+ }
2196
+
2197
+ .planModelPicker {
2198
+ grid-template-columns: minmax(0, 1fr);
2199
+ }
2200
+
2201
+ .planNewTask,
2202
+ .planApproveRow {
2203
+ align-items: stretch;
2204
+ flex-direction: column;
2205
+ }
2206
+
2207
+ .planNewTask button,
2208
+ .planApproveRow > button,
2209
+ .planApproveActions,
2210
+ .planReviewActions {
2211
+ width: 100%;
2212
+ }
2213
+
2214
+ .planApproveActions button,
2215
+ .planReviewActions button,
2216
+ .planSecondaryActions button {
2217
+ flex: 1;
2218
+ }
2219
+ }
2220
+
2221
+ @container agent-team (max-width: 360px) {
2222
+ .planEditor {
2223
+ margin-inline: 0;
2224
+ padding-inline: 10px;
2225
+ }
2226
+
2227
+ .planHeader > span {
2228
+ align-items: flex-start;
2229
+ }
2230
+
2231
+ .planFlow li {
2232
+ gap: 3px;
2233
+ font-size: 7.5px;
2234
+ }
2235
+
2236
+ .planFlow li:not(:last-child)::after {
2237
+ min-width: 4px;
2238
+ margin-right: 2px;
2239
+ }
2240
+
2241
+ .planSecondaryActions,
2242
+ .planApproveActions {
2243
+ display: grid;
2244
+ width: 100%;
2245
+ grid-template-columns: minmax(0, 1fr);
2246
+ }
2247
+
2248
+ .planSecondaryActions button,
2249
+ .planApproveActions button {
2250
+ width: 100%;
2251
+ }
2252
+ }
2253
+
2254
+ /* The native workspace queries its host pane, not the whole browser width. */
2255
+ .dagOwner { margin-left: auto; max-width: 64px; overflow: hidden; text-overflow: ellipsis; font-size: 9px; font-weight: 400; }
2256
+ .team[data-workspace-team] {
2257
+ container-type: normal; container-name: none; padding: 0; border: 0; background: transparent; gap: 14px;
2258
+ --workspace-surface: var(--dsw-alias-bg-layer-1);
2259
+ --workspace-line: color-mix(in srgb, var(--dsw-alias-border-l2) 75%, transparent);
2260
+ --workspace-shadow: 0 3px 14px color-mix(in srgb, var(--dsw-alias-label-primary) 3%, transparent);
2261
+ }
2262
+ .team[data-workspace-team] .teamHead { flex-wrap: wrap; gap: 8px; padding: 0 2px 2px; }
2263
+ .team[data-workspace-team] .teamName { flex-basis: 160px; font-size: 14px; line-height: 1.5; }
2264
+ .team[data-workspace-team] .teamStats { flex-wrap: wrap; font-size: 11px; }
2265
+ .team[data-workspace-team] .teamStopButton { width: 32px; height: 32px; border-radius: 9px; }
2266
+ .team[data-workspace-team] .delegationSection,
2267
+ .team[data-workspace-team] .dependencySection,
2268
+ .completionCard, .inboxCard {
2269
+ min-width: 0; margin: 0; padding: 18px; border: 1px solid var(--workspace-line); border-radius: 18px;
2270
+ background: var(--workspace-surface); box-shadow: var(--workspace-shadow); box-sizing: border-box;
2271
+ }
2272
+ .team[data-workspace-team] .captainNode {
2273
+ grid-template-columns: 44px minmax(0, 1fr); gap: 8px; padding: 10px; border-radius: 12px;
2274
+ background: color-mix(in srgb, var(--dsw-alias-state-business-primary) 4%, var(--dsw-alias-bg-module-platform)); border-color: var(--workspace-line);
2275
+ }
2276
+ .team[data-workspace-team] .captainState { grid-column: 2; justify-self: start; font-size: 11px; }
2277
+ .team[data-workspace-team] .captainName { font-size: 14px; }
2278
+ .team[data-workspace-team] .captainRole { font-size: 11px; }
2279
+ .team[data-workspace-team] .captainSummary { font-size: 12px; line-height: 1.6; white-space: normal; }
2280
+ .team[data-workspace-team] .progressOverview { margin: 16px 0; gap: 9px; }
2281
+ .team[data-workspace-team] .progressSegments { gap: 4px; }
2282
+ .team[data-workspace-team] .progressSegments > span { height: 6px; border-radius: 4px; }
2283
+ .team[data-workspace-team] .progressLegend { gap: 8px 12px; font-size: 11px; }
2284
+ .team[data-workspace-team] .progressSummary { font-size: 11px; line-height: 1.6; }
2285
+ .team[data-workspace-team] .progressSummary > span:last-child { white-space: normal; }
2286
+ .team[data-workspace-team] .membersToggle { padding: 10px; border-radius: 9px; background: var(--dsw-alias-bg-module-platform); font-size: 11px; }
2287
+ .team[data-workspace-team] .memberBlock { padding-top: 14px; padding-bottom: 8px; }
2288
+ .team[data-workspace-team] .memberRow { border-radius: 9px; }
2289
+ .team[data-workspace-team] .memberLine { flex-wrap: wrap; gap: 4px 6px; }
2290
+ .team[data-workspace-team] .memberName { font-size: 13px; }
2291
+ .team[data-workspace-team] .memberRole, .team[data-workspace-team] .memberState, .team[data-workspace-team] .memberCount { font-size: 11px; }
2292
+ .team[data-workspace-team] .memberRole { padding: 1px 5px; border-radius: 5px; background: var(--dsw-alias-bg-module-platform); }
2293
+ .team[data-workspace-team] .memberStatusLine { white-space: normal; font-size: 12px; line-height: 1.6; }
2294
+ .team[data-workspace-team] .assignmentLine { flex-wrap: wrap; row-gap: 5px; }
2295
+ .team[data-workspace-team] .assignmentLabel { font-size: 10px; }
2296
+ .team[data-workspace-team] .assignmentChip { font-size: 10px; line-height: 18px; border-radius: 5px; }
2297
+ .team[data-workspace-team] .memberBlock[data-selected-member] .memberRow { outline: 2px solid var(--dsw-alias-state-business-primary); outline-offset: 3px; }
2298
+ .team[data-workspace-team] .sectionHead { flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
2299
+ .team[data-workspace-team] .sectionToggleTitle { font-size: 12px; }
2300
+ .team[data-workspace-team] .sectionHint { white-space: normal; font-size: 11px; line-height: 1.6; }
2301
+ .team[data-workspace-team] .dagViewport { padding: 4px 2px 14px; }
2302
+ .team[data-workspace-team] .dagNode { padding: 10px 11px; border-radius: 11px; background: var(--workspace-surface); }
2303
+ .team[data-workspace-team] .dagNodeHead { font-size: 11px; margin-bottom: 6px; }
2304
+ .team[data-workspace-team] .dagNodeLabel { white-space: normal; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.4; font-size: 12px; letter-spacing: 0; }
2305
+ .team[data-workspace-team] .dagOwner { font-size: 10px; white-space: nowrap; max-width: 105px; }
2306
+ .team[data-workspace-team] .taskDetail { margin-top: 14px; padding: 14px; border-radius: 11px; }
2307
+ .team[data-workspace-team] .taskDetailSubject { white-space: normal; font-size: 13px; line-height: 1.6; }
2308
+ .team[data-workspace-team] .taskDetailLine, .team[data-workspace-team] .taskDetailMeta { font-size: 12px; line-height: 1.6; }
2309
+ .team[data-workspace-team] .planEditor { background: var(--workspace-surface); border-color: var(--workspace-line); padding: 18px; margin: 0; border-radius: 18px; }
2310
+ .team[data-workspace-team] .planApproveRow { position: static; }
2311
+ .workspaceSummary { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; min-width: 0; }
2312
+ .completionCard h3, .inboxCard h3 { margin: 0; font-size: 12px; line-height: 1.6; font-weight: 600; color: var(--dsw-alias-label-secondary); }
2313
+ .completionBody { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 16px; }
2314
+ .completionRing { position: relative; width: 132px; height: 132px; flex: none; }
2315
+ .completionRing svg { width: 100%; height: 100%; transform: rotate(-90deg); }
2316
+ .completionRing circle { fill: none; stroke-width: 7; }
2317
+ .ringTrack { stroke: var(--dsw-alias-border-l2); }
2318
+ .ringValue { stroke: var(--dsw-alias-state-business-primary); }
2319
+ .completionRing > span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 5px; color: var(--dsw-alias-label-secondary); font-size: 11px; }
2320
+ .completionRing strong { color: var(--dsw-alias-label-primary); font-size: 26px; line-height: 1.2; font-weight: 600; letter-spacing: -.7px; font-variant-numeric: tabular-nums; }
2321
+ .completionRing small { font-size: 18px; font-weight: 450; }
2322
+ .completionTasks { flex: 1 1 200px; min-width: 0; max-height: 216px; overflow: auto; list-style: none; margin: 0; padding: 2px; }
2323
+ .completionTasks li { display: grid; grid-template-columns: 18px auto minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--workspace-line); font-size: 11px; }
2324
+ .completionTasks li:last-child { border: 0; }
2325
+ .completionDot { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--dsw-alias-bg-module-platform); color: var(--dsw-alias-label-secondary); }
2326
+ .completionTasks li[data-state='completed'] .completionDot { background: var(--dsw-alias-state-business-primary); color: var(--dsw-alias-label-primary-inverted); }
2327
+ .completionTasks li[data-state='failed'] .completionDot { background: var(--dsw-alias-state-error-primary); color: var(--dsw-alias-label-primary-inverted); }
2328
+ .completionTaskId { max-width: 6em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--dsw-alias-label-secondary); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
2329
+ .completionTaskSubject { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
2330
+ .completionTaskStatus { color: var(--dsw-alias-label-secondary); font-size: 10px; }
2331
+ .completionTasks li[data-verdict-stale] .completionDot { background: var(--dsw-alias-state-warn-primary); color: var(--dsw-alias-label-primary); }
2332
+ .completionTasks li[data-verdict-stale] .completionTaskStatus { font-weight: 600; }
2333
+ .completionTasks:focus-visible, .inboxMessages:focus-visible { outline: 2px solid var(--dsw-alias-state-business-primary); outline-offset: 3px; border-radius: 4px; }
2334
+ .inboxCard > header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
2335
+ .inboxCard > header > span { font-size: 10px; color: var(--dsw-alias-label-secondary); }
2336
+ .inboxMessages { list-style: none; margin: 14px 0 0; padding: 0; max-height: 260px; overflow: auto; }
2337
+ .inboxMessages li { display: flex; align-items: start; gap: 9px; margin: 0 0 12px; }
2338
+ .inboxMessages img, .inboxInitial { width: 30px; height: 30px; object-fit: contain; flex: none; }
2339
+ .inboxInitial { display: grid; place-items: center; border-radius: 9px; background: var(--dsw-alias-bg-module-platform); font-size: 12px; }
2340
+ .inboxMessages li > div { min-width: 0; flex: 1; }
2341
+ .inboxMessages strong { font-size: 11px; font-weight: 550; overflow-wrap: anywhere; }
2342
+ .inboxMessages p { margin: 5px 0 0; padding: 9px 11px; border-radius: 0 10px 10px; background: color-mix(in srgb, var(--dsw-alias-state-business-primary) 6%, var(--dsw-alias-bg-module-platform)); font-size: 12px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
2343
+ .summaryEmpty { margin: 14px 0 0; color: var(--dsw-alias-label-secondary); font-size: 12px; line-height: 1.8; }
2344
+ /* Unnamed queries are intentional: CSS Modules scope container names per file,
2345
+ * while the queried container is declared by WorkspaceActivity.module.css. */
2346
+ @container (min-width: 800px) {
2347
+ .team[data-workspace-team] { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(0, 1.4fr); gap: 16px; align-items: start; }
2348
+ .team[data-workspace-team] > .teamHead, .team[data-workspace-team] > [data-staging-editor], .workspaceSummary { grid-column: 1 / -1; }
2349
+ .workspaceSummary { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
2350
+ .team[data-workspace-team] .dependencySection { align-self: stretch; }
2351
+ .team[data-workspace-team] .dagCanvas[data-layout='parallel'] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
2352
+ }
2353
+ @container (max-width: 400px) {
2354
+ .team[data-workspace-team] .delegationSection, .team[data-workspace-team] .dependencySection, .completionCard, .inboxCard { padding: 12px; border-radius: 14px; }
2355
+ .team[data-workspace-team] .teamStats { font-size: 10px; gap: 6px; }
2356
+ .completionBody { justify-content: center; }
2357
+ }
2358
+
2359
+ /* Claimed owns an attempt but has not acknowledged in_progress yet. */
2360
+ .progressSegments > span[data-state='claimed'],
2361
+ .dagNode[data-state='claimed'] .dagNodeDot {
2362
+ background: var(--dsw-alias-state-warn-primary);
2363
+ }
2364
+
2365
+ .progressLegend > span[data-state='claimed'] {
2366
+ color: var(--dsw-alias-state-warn-primary);
2367
+ }
2368
+
2369
+ .dagNode[data-state='claimed'] {
2370
+ border-color: var(--dsw-alias-state-warn-primary);
2371
+ }
2372
+
2373
+ .dagNode[data-state='claimed'] .dagNodeHead {
2374
+ padding-right: 38px;
2375
+ }
2376
+
2377
+ .dagClaimedState {
2378
+ position: absolute;
2379
+ top: 4px;
2380
+ right: 5px;
2381
+ color: var(--dsw-alias-state-warn-primary);
2382
+ font-size: 8px;
2383
+ line-height: 10px;
2384
+ }
2385
+
2386
+ .assignmentChip[data-state='claimed'],
2387
+ .taskDetailBadge[data-state='claimed'] {
2388
+ background: var(--dsw-alias-state-warn-primary);
2389
+ color: var(--dsw-alias-label-primary-inverted);
2390
+ }