@zaferyalcin/agent-office 0.0.0-stage → 0.1.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.
- package/LICENSE +21 -0
- package/README.md +476 -2
- package/bin/agent-office.js +64 -0
- package/package.json +25 -4
- package/public/app.css +1035 -0
- package/public/app.js +2034 -0
- package/public/favicon.svg +1 -0
- package/public/i18n.js +1119 -0
- package/public/index.html +141 -0
- package/public/studio.js +1951 -0
- package/public/vendor/three/LICENSE +21 -0
- package/public/vendor/three/three.core.js +61162 -0
- package/public/vendor/three/three.module.js +19537 -0
- package/src/collector.js +501 -0
- package/src/history.js +161 -0
- package/src/open.js +57 -0
- package/src/providers/antigravity-core.js +743 -0
- package/src/providers/antigravity.js +136 -0
- package/src/providers/claude-code.js +465 -0
- package/src/providers/codex.js +168 -0
- package/src/providers/demo.js +1379 -0
- package/src/providers/gemini-cli.js +115 -0
- package/src/server.js +201 -0
- package/src/state.js +142 -0
- package/src/update.js +99 -0
- package/src/util.js +139 -0
- package/src/workspace.js +112 -0
package/public/app.css
ADDED
|
@@ -0,0 +1,1035 @@
|
|
|
1
|
+
/* Agent Office. One ground, ink for text, colour only where it carries meaning:
|
|
2
|
+
state (working / waiting / stalled / failed) and model vendor.
|
|
3
|
+
Every colour is a token below: :root is the night theme (the default look), [data-theme="day"] is warm paper
|
|
4
|
+
with dark ink. The Studio's 3D scene keeps its own colours; its DOM overlay uses these tokens. */
|
|
5
|
+
:root {
|
|
6
|
+
--ground: #171a1f;
|
|
7
|
+
--panel: #1d2127;
|
|
8
|
+
--raise: #242930;
|
|
9
|
+
--line: #2e343c;
|
|
10
|
+
--line-soft: #262b32;
|
|
11
|
+
--line-strong: #434b56;
|
|
12
|
+
--ink: #ece8e0;
|
|
13
|
+
--ink-2: #a4acb6;
|
|
14
|
+
--ink-3: #858d98;
|
|
15
|
+
--working: #4fc08d;
|
|
16
|
+
--idle: #8d97a3;
|
|
17
|
+
--stalled: #e5a43c;
|
|
18
|
+
--failed: #e2655d;
|
|
19
|
+
--done: #59616b;
|
|
20
|
+
--v-anthropic: #dba46c;
|
|
21
|
+
--v-openai: #b9c6d2;
|
|
22
|
+
--v-google: #6fa2f6;
|
|
23
|
+
--v-other: #a8b38a;
|
|
24
|
+
--c-1: #dba46c;
|
|
25
|
+
--c-2: #6fa2f6;
|
|
26
|
+
--c-3: #4fc08d;
|
|
27
|
+
--c-4: #b9c6d2;
|
|
28
|
+
--c-5: #d28876;
|
|
29
|
+
--c-6: #a8b38a;
|
|
30
|
+
--c-other: #6d7682;
|
|
31
|
+
--focus: #6fa2f6;
|
|
32
|
+
--row-open: #1f252c;
|
|
33
|
+
--row-sel: #283039;
|
|
34
|
+
--row-stalled: rgba(229, 164, 60, .06);
|
|
35
|
+
--row-failed: rgba(226, 101, 93, .08);
|
|
36
|
+
--tag-stalled-bg: rgba(229, 164, 60, .14);
|
|
37
|
+
--tag-failed-bg: rgba(226, 101, 93, .16);
|
|
38
|
+
--tree: #3a414b;
|
|
39
|
+
--band: #1a1e24;
|
|
40
|
+
--edge: #3a424d;
|
|
41
|
+
--edge-working: #3f7d63;
|
|
42
|
+
--edge-done: #2d333b;
|
|
43
|
+
--node-hover: #56606c;
|
|
44
|
+
--failed-bg: #2a1d1e;
|
|
45
|
+
--warn-bg: #2c2516;
|
|
46
|
+
--badge-ink: #171a1f;
|
|
47
|
+
--on-alert: #ffffff;
|
|
48
|
+
--working-halo: rgba(79, 192, 141, .16);
|
|
49
|
+
--working-line: rgba(79, 192, 141, .55);
|
|
50
|
+
--stalled-line: rgba(229, 164, 60, .5);
|
|
51
|
+
--failed-line: rgba(226, 101, 93, .5);
|
|
52
|
+
--shadow: rgba(0, 0, 0, .35);
|
|
53
|
+
--glass: rgba(29, 33, 39, .92);
|
|
54
|
+
--backdrop: rgba(8, 10, 12, .6);
|
|
55
|
+
--overlay-shadow: rgba(0, 0, 0, .4);
|
|
56
|
+
--toast-bg: rgba(70, 26, 24, .92);
|
|
57
|
+
--toast-ink: #ffd9d5;
|
|
58
|
+
--toast-warn-bg: rgba(66, 46, 16, .92);
|
|
59
|
+
--toast-warn-ink: #ffe6bd;
|
|
60
|
+
--sign-dark-ink: #8d97a3;
|
|
61
|
+
/* type scale (one family, four sizes) and spacing rhythm */
|
|
62
|
+
--fs-1: 12px;
|
|
63
|
+
--fs-2: 13px;
|
|
64
|
+
--fs-3: 15px;
|
|
65
|
+
--fs-4: 18px;
|
|
66
|
+
--sp-1: 4px;
|
|
67
|
+
--sp-2: 8px;
|
|
68
|
+
--sp-3: 12px;
|
|
69
|
+
--sp-4: 16px;
|
|
70
|
+
--sp-5: 24px;
|
|
71
|
+
--r-s: 6px;
|
|
72
|
+
--r-m: 10px;
|
|
73
|
+
--sans: "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;
|
|
74
|
+
--display: "Segoe UI Variable Display", "Segoe UI", -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, sans-serif;
|
|
75
|
+
color-scheme: dark;
|
|
76
|
+
}
|
|
77
|
+
/* Day: warm light paper, dark ink, state and vendor hues darkened to keep WCAG AA contrast on light grounds. */
|
|
78
|
+
[data-theme="day"] {
|
|
79
|
+
--ground: #ebe8e1;
|
|
80
|
+
--panel: #f7f5f0;
|
|
81
|
+
--raise: #e2ded5;
|
|
82
|
+
--line: #d0cbc0;
|
|
83
|
+
--line-soft: #ddd8ce;
|
|
84
|
+
--line-strong: #aaa397;
|
|
85
|
+
--ink: #1c1f24;
|
|
86
|
+
--ink-2: #3f464f;
|
|
87
|
+
--ink-3: #5a616b;
|
|
88
|
+
--working: #17704a;
|
|
89
|
+
--idle: #6b7480;
|
|
90
|
+
--stalled: #8c5200;
|
|
91
|
+
--failed: #b3362e;
|
|
92
|
+
--done: #a19c93;
|
|
93
|
+
--v-anthropic: #9b4f2e;
|
|
94
|
+
--v-openai: #4d5f70;
|
|
95
|
+
--v-google: #2b5bb8;
|
|
96
|
+
--v-other: #5c6b32;
|
|
97
|
+
--c-1: #9b4f2e;
|
|
98
|
+
--c-2: #2b5bb8;
|
|
99
|
+
--c-3: #17704a;
|
|
100
|
+
--c-4: #4d5f70;
|
|
101
|
+
--c-5: #a84938;
|
|
102
|
+
--c-6: #5c6b32;
|
|
103
|
+
--c-other: #7c7870;
|
|
104
|
+
--focus: #2b5bb8;
|
|
105
|
+
--row-open: #f0ede6;
|
|
106
|
+
--row-sel: #e6e2d9;
|
|
107
|
+
--row-stalled: rgba(140, 82, 0, .06);
|
|
108
|
+
--row-failed: rgba(179, 54, 46, .06);
|
|
109
|
+
--tag-stalled-bg: rgba(140, 82, 0, .11);
|
|
110
|
+
--tag-failed-bg: rgba(179, 54, 46, .10);
|
|
111
|
+
--tree: #bdb7ab;
|
|
112
|
+
--band: #f2efe9;
|
|
113
|
+
--edge: #bab4a8;
|
|
114
|
+
--edge-working: #3f9a6e;
|
|
115
|
+
--edge-done: #dcd7cd;
|
|
116
|
+
--node-hover: #8f897e;
|
|
117
|
+
--failed-bg: #f7e4e1;
|
|
118
|
+
--warn-bg: #f6ead2;
|
|
119
|
+
--badge-ink: #ffffff;
|
|
120
|
+
--on-alert: #ffffff;
|
|
121
|
+
--working-halo: rgba(23, 112, 74, .16);
|
|
122
|
+
--working-line: rgba(23, 112, 74, .5);
|
|
123
|
+
--stalled-line: rgba(140, 82, 0, .45);
|
|
124
|
+
--failed-line: rgba(179, 54, 46, .45);
|
|
125
|
+
--shadow: rgba(60, 48, 28, .18);
|
|
126
|
+
--glass: rgba(247, 245, 240, .95);
|
|
127
|
+
--backdrop: rgba(40, 34, 24, .4);
|
|
128
|
+
--overlay-shadow: rgba(0, 0, 0, .3);
|
|
129
|
+
--toast-bg: rgba(251, 236, 233, .97);
|
|
130
|
+
--toast-ink: #8a241e;
|
|
131
|
+
--toast-warn-bg: rgba(250, 240, 220, .97);
|
|
132
|
+
--toast-warn-ink: #6e4100;
|
|
133
|
+
--sign-dark-ink: #a4acb6;
|
|
134
|
+
color-scheme: light;
|
|
135
|
+
}
|
|
136
|
+
* { box-sizing: border-box; }
|
|
137
|
+
html, body { margin: 0; height: 100%; }
|
|
138
|
+
body {
|
|
139
|
+
display: flex; flex-direction: column; height: 100vh;
|
|
140
|
+
background: var(--ground); color: var(--ink); font: 14px/1.45 var(--sans);
|
|
141
|
+
font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; overflow: hidden;
|
|
142
|
+
}
|
|
143
|
+
button, input, select { font: inherit; color: inherit; }
|
|
144
|
+
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
|
|
145
|
+
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
|
|
146
|
+
|
|
147
|
+
/* ---------- header */
|
|
148
|
+
.top {
|
|
149
|
+
flex: none; height: 64px; display: flex; align-items: center; gap: 28px; padding: 0 24px;
|
|
150
|
+
border-bottom: 1px solid var(--line); background: var(--ground);
|
|
151
|
+
}
|
|
152
|
+
.brand { display: flex; align-items: center; gap: 10px; min-width: 175px; }
|
|
153
|
+
.brand-mark { flex: none; display: block; }
|
|
154
|
+
.brand-mark .bm-tile { fill: var(--panel); stroke: var(--line); }
|
|
155
|
+
.brand-mark .bm-line { fill: none; stroke: var(--v-openai); }
|
|
156
|
+
.brand-mark .bm-a { fill: var(--v-anthropic); }
|
|
157
|
+
.brand-mark .bm-g { fill: var(--v-google); }
|
|
158
|
+
.brand-mark .bm-o { fill: var(--v-openai); }
|
|
159
|
+
.brand-text { display: flex; flex-direction: column; min-width: 0; }
|
|
160
|
+
.brand h1 { margin: 0; font: 650 var(--fs-4)/1.1 var(--display); letter-spacing: -0.02em; }
|
|
161
|
+
.live { font-size: var(--fs-1); color: var(--ink-3); display: flex; align-items: center; gap: 6px; margin-top: 3px; }
|
|
162
|
+
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--working); display: inline-block; }
|
|
163
|
+
.live.off i { background: var(--failed); }
|
|
164
|
+
.live.paused i { background: var(--stalled); }
|
|
165
|
+
.kpis { display: flex; gap: var(--sp-5); flex: 1; min-width: 0; }
|
|
166
|
+
.kpi { min-width: 52px; cursor: help; }
|
|
167
|
+
.kpi b { display: block; font: 600 var(--fs-4)/1.15 var(--display); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
|
|
168
|
+
.kpi span { display: block; margin-top: 2px; font-size: var(--fs-1); color: var(--ink-3); white-space: nowrap; }
|
|
169
|
+
.kpi.alert b { color: var(--stalled); }
|
|
170
|
+
.actions { display: flex; gap: 8px; align-items: center; }
|
|
171
|
+
.seg { display: inline-flex; background: var(--panel); border: 1px solid var(--line); border-radius: 9px; padding: 2px; }
|
|
172
|
+
.seg button { border: 0; background: none; padding: 5px 14px; border-radius: 7px; color: var(--ink-2); cursor: pointer; font-weight: 550; }
|
|
173
|
+
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--ground); }
|
|
174
|
+
.btn { border: 1px solid var(--line); background: var(--panel); padding: 5px 12px; border-radius: 8px; cursor: pointer; color: var(--ink-2); font-weight: 550; }
|
|
175
|
+
.btn:hover { color: var(--ink); border-color: var(--line-strong); }
|
|
176
|
+
#pauseBtn[aria-pressed="true"] { color: var(--stalled); border-color: var(--stalled-line); }
|
|
177
|
+
|
|
178
|
+
.btn.icon { padding: 5px 8px; display: inline-flex; align-items: center; justify-content: center; }
|
|
179
|
+
#notifyBtn .ic-slash { display: none; }
|
|
180
|
+
#notifyBtn[aria-pressed="true"] { color: var(--working); border-color: var(--working-line); }
|
|
181
|
+
#notifyBtn.denied { color: var(--ink-3); opacity: .75; }
|
|
182
|
+
#notifyBtn.denied .ic-slash { display: block; }
|
|
183
|
+
/* theme toggle: moon in the night theme, sun in the day theme */
|
|
184
|
+
#themeBtn .ic-sun, [data-theme="day"] #themeBtn .ic-moon { display: none; }
|
|
185
|
+
[data-theme="day"] #themeBtn .ic-sun { display: block; }
|
|
186
|
+
.btn.small { padding: 2px 10px; font-size: var(--fs-1); }
|
|
187
|
+
.lang { position: relative; }
|
|
188
|
+
.menu { position: absolute; right: 0; top: calc(100% + 6px); background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 4px; min-width: 150px; z-index: 20; box-shadow: 0 12px 30px var(--shadow); }
|
|
189
|
+
.menu button { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 7px 10px 7px 28px; border-radius: 6px; cursor: pointer; color: var(--ink-2); position: relative; }
|
|
190
|
+
.menu button:hover, .menu button:focus-visible { background: var(--raise); color: var(--ink); outline: none; }
|
|
191
|
+
.menu button[aria-checked="true"] { color: var(--ink); }
|
|
192
|
+
.menu button[aria-checked="true"]::before { content: ""; position: absolute; left: 11px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--working); }
|
|
193
|
+
|
|
194
|
+
/* ---------- layout */
|
|
195
|
+
.main { display: grid; grid-template-columns: minmax(0, 1fr) 420px; flex: 1 1 0; min-height: 0; }
|
|
196
|
+
.col { overflow-y: auto; overflow-x: hidden; min-width: 0; }
|
|
197
|
+
.col-left { padding: 18px 20px 40px 24px; }
|
|
198
|
+
.col-right { border-left: 1px solid var(--line); background: var(--panel); padding: 18px 20px 40px; }
|
|
199
|
+
.view-studio .main, .view-reports .main { display: none; }
|
|
200
|
+
#studio { display: none; flex: 1 1 0; min-height: 0; position: relative; overflow: hidden; }
|
|
201
|
+
.view-studio #studio { display: block; }
|
|
202
|
+
.reports { display: none; flex: 1 1 0; min-height: 0; overflow-y: auto; overflow-x: hidden; padding: 20px 24px 48px; }
|
|
203
|
+
.view-reports .reports { display: block; }
|
|
204
|
+
.reports[hidden] { display: none; }
|
|
205
|
+
|
|
206
|
+
/* ---------- quota warning banner */
|
|
207
|
+
.quota-banner {
|
|
208
|
+
flex: none; display: flex; align-items: center; gap: 10px;
|
|
209
|
+
padding: 7px 24px; font-size: var(--fs-2); line-height: 1.4;
|
|
210
|
+
background: var(--warn-bg); color: var(--stalled);
|
|
211
|
+
border-bottom: 1px solid var(--stalled-line);
|
|
212
|
+
}
|
|
213
|
+
.quota-banner[hidden] { display: none; }
|
|
214
|
+
.quota-banner.crit { background: var(--failed-bg); color: var(--failed); border-bottom-color: var(--failed-line); }
|
|
215
|
+
.quota-banner .warn-ic { color: currentColor; opacity: 1; flex: none; }
|
|
216
|
+
.qb-text { flex: 1 1 auto; min-width: 0; font-weight: 550; }
|
|
217
|
+
.qb-more { font-size: var(--fs-1); opacity: .85; margin-inline-start: 6px; font-weight: 500; }
|
|
218
|
+
.qb-close {
|
|
219
|
+
flex: none; display: inline-flex; align-items: center; justify-content: center;
|
|
220
|
+
width: 24px; height: 24px; padding: 0; border: 1px solid transparent; border-radius: 6px;
|
|
221
|
+
background: none; color: currentColor; cursor: pointer; opacity: .8;
|
|
222
|
+
}
|
|
223
|
+
.qb-close:hover, .qb-close:focus-visible { opacity: 1; border-color: currentColor; }
|
|
224
|
+
|
|
225
|
+
/* ---------- update notice (calm, not a warning) */
|
|
226
|
+
.update-banner {
|
|
227
|
+
flex: none; display: flex; align-items: center; gap: 10px;
|
|
228
|
+
padding: 7px 24px; font-size: var(--fs-2); line-height: 1.4;
|
|
229
|
+
background: var(--raise); color: var(--ink); border-bottom: 1px solid var(--line);
|
|
230
|
+
}
|
|
231
|
+
.update-banner[hidden] { display: none; }
|
|
232
|
+
.ub-text { flex: 1 1 auto; min-width: 0; }
|
|
233
|
+
.ub-how { color: var(--ink-2); }
|
|
234
|
+
.update-banner code { font-family: ui-monospace, Consolas, monospace; font-size: .95em; padding: 1px 6px; border-radius: 5px; background: var(--line); color: var(--ink); }
|
|
235
|
+
.update-banner a { color: var(--working); text-decoration: underline; text-underline-offset: 2px; }
|
|
236
|
+
|
|
237
|
+
/* ---------- toolbar */
|
|
238
|
+
.bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: var(--sp-4); }
|
|
239
|
+
/* section header: title plus one line of helper text */
|
|
240
|
+
.sect-head { margin-right: var(--sp-2); min-width: 0; }
|
|
241
|
+
.sect-head h2 { margin: 0; font: 650 var(--fs-3)/1.25 var(--display); }
|
|
242
|
+
.sect-sub { margin: 2px 0 0; font-size: var(--fs-1); line-height: 1.4; color: var(--ink-3); }
|
|
243
|
+
.search { flex: 1; min-width: 160px; max-width: 300px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; }
|
|
244
|
+
.search::placeholder { color: var(--ink-3); }
|
|
245
|
+
.chip { border: 1px solid var(--line); background: none; border-radius: 999px; padding: 3px 11px; color: var(--ink-2); cursor: pointer; font-size: var(--fs-2); }
|
|
246
|
+
.chip[aria-pressed="true"] { background: var(--raise); color: var(--ink); border-color: var(--line-strong); }
|
|
247
|
+
.chip .n { color: var(--ink-3); margin-left: 4px; }
|
|
248
|
+
select.sel { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 4px 8px; }
|
|
249
|
+
label.tog { display: inline-flex; gap: 6px; align-items: center; color: var(--ink-2); font-size: var(--fs-2); cursor: pointer; }
|
|
250
|
+
.notice { color: var(--stalled); font-size: var(--fs-2); margin: -6px 0 14px; }
|
|
251
|
+
|
|
252
|
+
/* ---------- workspaces */
|
|
253
|
+
.rooms-group + .rooms-group { margin-top: var(--sp-5); }
|
|
254
|
+
.rooms-group-head {
|
|
255
|
+
display: flex; align-items: baseline; gap: var(--sp-2);
|
|
256
|
+
margin: 0 0 10px; padding: 0 2px;
|
|
257
|
+
}
|
|
258
|
+
.rooms-group-head h3 {
|
|
259
|
+
margin: 0; font: 600 var(--fs-1)/1.3 var(--sans);
|
|
260
|
+
letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3);
|
|
261
|
+
}
|
|
262
|
+
.rooms-group-n {
|
|
263
|
+
font-size: var(--fs-1); line-height: 1.3; color: var(--ink-3); opacity: .8;
|
|
264
|
+
}
|
|
265
|
+
.rooms-active-list { display: grid; gap: var(--sp-3); }
|
|
266
|
+
.rooms-quiet-grid {
|
|
267
|
+
display: grid;
|
|
268
|
+
grid-template-columns: repeat(auto-fill, minmax(max(220px, calc((100% - 3 * var(--sp-3)) / 4)), 1fr));
|
|
269
|
+
gap: var(--sp-3);
|
|
270
|
+
align-items: stretch;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
.room {
|
|
274
|
+
border: 1px solid var(--line-soft); border-radius: var(--r-m);
|
|
275
|
+
background: var(--panel); overflow: hidden; font-family: var(--sans); min-width: 0;
|
|
276
|
+
}
|
|
277
|
+
.room.alarm { border-color: var(--stalled-line); border-inline-start: 3px solid var(--stalled); }
|
|
278
|
+
.room.has-failed { border-color: var(--failed-line); border-inline-start: 3px solid var(--failed); }
|
|
279
|
+
.room.quiet.expanded { grid-column: 1 / -1; }
|
|
280
|
+
|
|
281
|
+
.room-head {
|
|
282
|
+
display: flex; align-items: flex-start; justify-content: space-between; gap: var(--sp-3);
|
|
283
|
+
width: 100%; border: 0; border-bottom: 1px solid var(--line-soft); background: none;
|
|
284
|
+
padding: 13px var(--sp-4); text-align: start; cursor: pointer;
|
|
285
|
+
}
|
|
286
|
+
.room-head:hover { background: var(--raise); }
|
|
287
|
+
.room.closed .room-head { border-bottom: 0; }
|
|
288
|
+
.room-head:focus-visible, .room-more:focus-visible, .agent:focus-visible {
|
|
289
|
+
outline: 2px solid var(--focus); outline-offset: -2px; border-radius: 4px;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
.room-head-main { flex: 1 1 auto; min-width: 0; display: grid; gap: 3px; }
|
|
293
|
+
.room-name {
|
|
294
|
+
display: block; font: 650 16px/1.3 var(--display); letter-spacing: -0.015em; color: var(--ink);
|
|
295
|
+
overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0;
|
|
296
|
+
}
|
|
297
|
+
.room-summary {
|
|
298
|
+
display: flex; flex-wrap: wrap; align-items: baseline;
|
|
299
|
+
font-size: var(--fs-2); line-height: 1.4; color: var(--ink-2);
|
|
300
|
+
}
|
|
301
|
+
.room-summary .room-sep { white-space: pre; color: var(--ink-3); }
|
|
302
|
+
.room-summary .st-w { color: var(--working); font-weight: 550; }
|
|
303
|
+
.room-summary .st-i { color: var(--ink-2); }
|
|
304
|
+
.room-summary .st-s { color: var(--stalled); font-weight: 600; }
|
|
305
|
+
.room-summary .st-f { color: var(--failed); font-weight: 600; }
|
|
306
|
+
.room-summary .st-d { color: var(--ink-3); }
|
|
307
|
+
.room-why {
|
|
308
|
+
display: block; font-size: var(--fs-1); line-height: 1.4;
|
|
309
|
+
overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0;
|
|
310
|
+
}
|
|
311
|
+
.room-why.stalled { color: var(--stalled); font-weight: 500; }
|
|
312
|
+
.room-why.failed { color: var(--failed); font-weight: 500; }
|
|
313
|
+
|
|
314
|
+
.room-head-meta {
|
|
315
|
+
flex: none; display: inline-flex; align-items: center; gap: 10px; padding-top: 2px;
|
|
316
|
+
}
|
|
317
|
+
.room-people { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
|
|
318
|
+
.avatar-stack { display: inline-flex; align-items: center; }
|
|
319
|
+
.avatar-init {
|
|
320
|
+
width: 22px; height: 22px; border-radius: 50%; flex: none;
|
|
321
|
+
display: inline-flex; align-items: center; justify-content: center;
|
|
322
|
+
font-size: 10px; font-weight: 650; letter-spacing: -0.02em;
|
|
323
|
+
background: var(--raise); color: var(--ink-2);
|
|
324
|
+
border: 1.5px solid var(--panel); box-shadow: inset 0 0 0 1px var(--line);
|
|
325
|
+
}
|
|
326
|
+
.avatar-stack .avatar-init + .avatar-init { margin-inline-start: -6px; }
|
|
327
|
+
.room-head:hover .avatar-init { border-color: var(--raise); }
|
|
328
|
+
.avatar-more { font-size: 11px; color: var(--ink-3); margin-inline-start: 4px; }
|
|
329
|
+
.person-name {
|
|
330
|
+
font-size: var(--fs-1); color: var(--ink-2); max-width: 112px;
|
|
331
|
+
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
|
|
332
|
+
}
|
|
333
|
+
.room-time { font-size: var(--fs-1); color: var(--ink-3); white-space: nowrap; }
|
|
334
|
+
.room-chev {
|
|
335
|
+
display: inline-flex; align-items: center; justify-content: center;
|
|
336
|
+
color: var(--ink-3); opacity: .7; padding: 2px;
|
|
337
|
+
}
|
|
338
|
+
.room-head:hover .room-chev { opacity: 1; color: var(--ink-2); }
|
|
339
|
+
.chev { flex: none; color: currentColor; transition: transform .15s ease; display: block; }
|
|
340
|
+
.room.open .room-chev .chev { transform: rotate(90deg); }
|
|
341
|
+
@media (prefers-reduced-motion: reduce) { .chev { transition: none; } }
|
|
342
|
+
|
|
343
|
+
/* compact quiet project tiles */
|
|
344
|
+
.room.quiet.closed { transition: border-color .15s ease; }
|
|
345
|
+
.room.quiet.closed:hover { border-color: var(--line-strong); }
|
|
346
|
+
.room.quiet.closed.has-failed:hover { border-color: var(--failed); }
|
|
347
|
+
.tile-btn {
|
|
348
|
+
display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start;
|
|
349
|
+
gap: 0; padding: 0; height: 100%; border-bottom: 0;
|
|
350
|
+
}
|
|
351
|
+
.tile-strip { display: flex; width: 100%; height: 3px; opacity: .78; flex: none; }
|
|
352
|
+
.tile-strip i { display: block; height: 100%; background: currentColor; }
|
|
353
|
+
.tile-body {
|
|
354
|
+
display: flex; flex-direction: column; gap: 5px;
|
|
355
|
+
padding: 11px 13px 12px; flex: 1 1 auto; min-width: 0;
|
|
356
|
+
}
|
|
357
|
+
.tile-top { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2); min-width: 0; }
|
|
358
|
+
.tile-top .room-name { font-size: 14px; font-weight: 600; flex: 1 1 auto; }
|
|
359
|
+
.tile-alert {
|
|
360
|
+
display: block; font-size: var(--fs-1); line-height: 1.35; font-weight: 550;
|
|
361
|
+
overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0;
|
|
362
|
+
}
|
|
363
|
+
.tile-alert.failed { color: var(--failed); }
|
|
364
|
+
.tile-task {
|
|
365
|
+
display: block; font-size: var(--fs-1); line-height: 1.4; color: var(--ink-3);
|
|
366
|
+
overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0;
|
|
367
|
+
}
|
|
368
|
+
.tile-foot {
|
|
369
|
+
display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2);
|
|
370
|
+
margin-top: auto; padding-top: 5px; min-width: 0;
|
|
371
|
+
}
|
|
372
|
+
.tile-meta {
|
|
373
|
+
font-size: 11.5px; line-height: 1.35; color: var(--ink-3);
|
|
374
|
+
overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0;
|
|
375
|
+
}
|
|
376
|
+
.tile-tools { flex: none; display: inline-flex; align-items: center; gap: 4px; }
|
|
377
|
+
.tile-tool {
|
|
378
|
+
font-size: 10px; font-weight: 650; line-height: 1; padding: 2px 5px;
|
|
379
|
+
border-radius: 4px; background: var(--raise); border: 1px solid var(--line-soft);
|
|
380
|
+
letter-spacing: 0.02em;
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
.room-more {
|
|
384
|
+
display: block; width: 100%; text-align: start; border: 0;
|
|
385
|
+
border-top: 1px solid var(--line-soft); background: none; color: var(--ink-3);
|
|
386
|
+
padding: 9px var(--sp-4); font-size: var(--fs-1); line-height: 1.4; cursor: pointer;
|
|
387
|
+
}
|
|
388
|
+
.room-more:hover { color: var(--ink); background: var(--raise); }
|
|
389
|
+
.room-head + .room-more { border-top: 0; }
|
|
390
|
+
|
|
391
|
+
/* agent row: state marker | who + what it is doing now | at most two quiet facts */
|
|
392
|
+
.agent {
|
|
393
|
+
display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; gap: 0 var(--sp-3); align-items: start;
|
|
394
|
+
padding-block: var(--sp-3); padding-inline: 13px var(--sp-4);
|
|
395
|
+
border-top: 1px solid var(--line-soft); border-inline-start: 3px solid transparent;
|
|
396
|
+
cursor: pointer; position: relative; font-family: var(--sans); font-size: var(--fs-2); line-height: 1.45;
|
|
397
|
+
}
|
|
398
|
+
.agent:first-child { border-top: 0; }
|
|
399
|
+
.agent.stalled { border-inline-start-color: var(--stalled); background: var(--row-stalled); }
|
|
400
|
+
.agent.failed { border-inline-start-color: var(--failed); background: var(--row-failed); }
|
|
401
|
+
.agent:hover { background: var(--raise); }
|
|
402
|
+
.agent.open { background: var(--row-open); padding-bottom: var(--sp-4); }
|
|
403
|
+
.agent[aria-selected="true"] { background: var(--row-sel); border-inline-start-color: var(--ink); }
|
|
404
|
+
.agent.stalled[aria-selected="true"] { border-inline-start-color: var(--stalled); }
|
|
405
|
+
.agent.failed[aria-selected="true"] { border-inline-start-color: var(--failed); }
|
|
406
|
+
|
|
407
|
+
/* non-colour-only state shapes: circle (working), ring (waiting), diamond (stalled), cross (failed), dash (done) */
|
|
408
|
+
.mark {
|
|
409
|
+
width: 14px; height: 14px; margin-top: 3px;
|
|
410
|
+
display: inline-flex; align-items: center; justify-content: center;
|
|
411
|
+
justify-self: center; position: relative; flex: none;
|
|
412
|
+
}
|
|
413
|
+
.mark.working::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--working); box-shadow: 0 0 0 3px var(--working-halo); }
|
|
414
|
+
.mark.idle::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1.75px solid var(--idle); background: transparent; }
|
|
415
|
+
.mark.stalled::before { content: ""; width: 8px; height: 8px; border-radius: 1.5px; background: var(--stalled); transform: rotate(45deg); }
|
|
416
|
+
.mark.failed::before, .mark.failed::after { content: ""; position: absolute; width: 10px; height: 2px; border-radius: 1px; background: var(--failed); }
|
|
417
|
+
.mark.failed::before { transform: rotate(45deg); }
|
|
418
|
+
.mark.failed::after { transform: rotate(-45deg); }
|
|
419
|
+
.mark.done::before { content: ""; width: 8px; height: 2px; border-radius: 1px; background: var(--done); }
|
|
420
|
+
|
|
421
|
+
.agent .who { min-width: 0; }
|
|
422
|
+
.agent-head { display: flex; align-items: baseline; gap: var(--sp-2); min-width: 0; }
|
|
423
|
+
.agent-name {
|
|
424
|
+
flex: 0 1 auto; min-width: 0; max-width: 100%;
|
|
425
|
+
font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--ink);
|
|
426
|
+
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
|
|
427
|
+
}
|
|
428
|
+
.agent .role {
|
|
429
|
+
flex: 0 1 auto; min-width: 0; font-size: var(--fs-1); line-height: 1.4; color: var(--ink-3);
|
|
430
|
+
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
|
|
431
|
+
}
|
|
432
|
+
.state-tag {
|
|
433
|
+
flex: none; font-size: var(--fs-1); font-weight: 600; line-height: 1.3;
|
|
434
|
+
padding: 1px 6px; border-radius: 4px; white-space: nowrap;
|
|
435
|
+
}
|
|
436
|
+
.state-tag.stalled { color: var(--stalled); background: var(--tag-stalled-bg); }
|
|
437
|
+
.state-tag.failed { color: var(--failed); background: var(--tag-failed-bg); }
|
|
438
|
+
.subs {
|
|
439
|
+
flex: none; border: 0; background: none; padding: 0; margin: 0;
|
|
440
|
+
font: inherit; font-size: var(--fs-1); line-height: 1.4; color: var(--ink-3);
|
|
441
|
+
cursor: pointer; white-space: nowrap;
|
|
442
|
+
}
|
|
443
|
+
.subs:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
|
|
444
|
+
.subs.open { color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; }
|
|
445
|
+
.subs.bad { color: var(--stalled); font-weight: 550; }
|
|
446
|
+
.subs.bad:hover { color: var(--stalled); }
|
|
447
|
+
|
|
448
|
+
.agent-now {
|
|
449
|
+
margin-top: 2px; font-size: var(--fs-2); line-height: 1.45; color: var(--ink-2);
|
|
450
|
+
overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0;
|
|
451
|
+
}
|
|
452
|
+
.agent-now.stalled { color: var(--stalled); font-weight: 500; }
|
|
453
|
+
.agent-now.failed { color: var(--failed); font-weight: 500; }
|
|
454
|
+
|
|
455
|
+
.agent-facts {
|
|
456
|
+
display: flex; align-items: center; justify-content: flex-end; gap: var(--sp-3);
|
|
457
|
+
padding-top: 1px; white-space: nowrap; font-size: var(--fs-1); line-height: 1.4;
|
|
458
|
+
}
|
|
459
|
+
.row-acts {
|
|
460
|
+
display: inline-flex; align-items: center; gap: 2px;
|
|
461
|
+
opacity: 0; pointer-events: none; transition: opacity .12s ease;
|
|
462
|
+
}
|
|
463
|
+
.agent:hover .row-acts, .agent:focus-within .row-acts, .agent.open .row-acts, .agent[aria-selected="true"] .row-acts {
|
|
464
|
+
opacity: 1; pointer-events: auto;
|
|
465
|
+
}
|
|
466
|
+
@media (hover: none) { .row-acts { opacity: .85; pointer-events: auto; } }
|
|
467
|
+
.row-act-btn {
|
|
468
|
+
display: inline-flex; align-items: center; justify-content: center;
|
|
469
|
+
width: 24px; height: 24px; padding: 0; border: 1px solid transparent; border-radius: 6px;
|
|
470
|
+
background: none; color: var(--ink-3); cursor: pointer;
|
|
471
|
+
}
|
|
472
|
+
.row-act-btn:hover, .row-act-btn:focus-visible { color: var(--ink); background: var(--panel); border-color: var(--line); }
|
|
473
|
+
.fact-model { max-width: 156px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
474
|
+
.fact-time { color: var(--ink-3); white-space: nowrap; }
|
|
475
|
+
.fact-time.stalled { color: var(--stalled); font-weight: 550; }
|
|
476
|
+
|
|
477
|
+
/* expanded row details */
|
|
478
|
+
.agent .more {
|
|
479
|
+
grid-column: 2 / -1; margin-top: var(--sp-3); padding-top: var(--sp-3);
|
|
480
|
+
border-top: 1px solid var(--line-soft);
|
|
481
|
+
display: grid; gap: var(--sp-3); max-width: 820px;
|
|
482
|
+
}
|
|
483
|
+
.agent .more .why { font-size: var(--fs-2); line-height: 1.45; color: var(--ink-2); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
|
|
484
|
+
.agent .more .why.stalled { color: var(--stalled); font-weight: 550; }
|
|
485
|
+
.agent .more .why.failed { color: var(--failed); font-weight: 550; }
|
|
486
|
+
.agent .more .why.ended-badly { color: var(--ink-3); }
|
|
487
|
+
.warn-ic { flex: none; display: inline-block; color: var(--ink-3); opacity: .85; }
|
|
488
|
+
.dismiss-btn { margin-inline-start: auto; font-weight: 550; color: var(--ink-2); }
|
|
489
|
+
.more-text { display: grid; gap: 2px; min-width: 0; }
|
|
490
|
+
.more-lbl { font-size: var(--fs-1); line-height: 1.3; color: var(--ink-3); font-weight: 550; }
|
|
491
|
+
.agent .more .task { font-size: var(--fs-2); line-height: 1.5; color: var(--ink); white-space: normal; overflow-wrap: anywhere; }
|
|
492
|
+
.agent .more .act { font-size: var(--fs-2); line-height: 1.45; color: var(--ink-2); white-space: normal; overflow-wrap: anywhere; }
|
|
493
|
+
.details-grid { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-2) var(--sp-5); }
|
|
494
|
+
.detail-item { min-width: 0; display: grid; gap: 2px; color: var(--ink); }
|
|
495
|
+
.detail-item dt { font-size: var(--fs-1); line-height: 1.3; color: var(--ink-3); }
|
|
496
|
+
.detail-item dd { margin: 0; font-size: var(--fs-2); line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
497
|
+
.detail-item dd.muted { color: var(--ink-3); }
|
|
498
|
+
.detail-item dd.detail-beat { overflow: visible; padding-top: 2px; }
|
|
499
|
+
.detail-item .beat { height: 18px; max-width: 156px; }
|
|
500
|
+
|
|
501
|
+
/* nested subagents: logical indentation and elbow connector for LTR + RTL */
|
|
502
|
+
.agent.child { padding-inline-start: calc(13px + var(--depth) * 26px); }
|
|
503
|
+
.agent.child::before {
|
|
504
|
+
content: ""; position: absolute; inset-inline-start: calc(20px + (var(--depth) - 1) * 26px); top: 0;
|
|
505
|
+
height: 22px; width: 13px;
|
|
506
|
+
border-inline-start: 1px solid var(--tree); border-bottom: 1px solid var(--tree); border-end-start-radius: 5px;
|
|
507
|
+
}
|
|
508
|
+
.agent.done .agent-name { color: var(--ink-2); font-weight: 550; }
|
|
509
|
+
.agent.done .agent-now { color: var(--ink-3); }
|
|
510
|
+
|
|
511
|
+
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--done); justify-self: center; }
|
|
512
|
+
.dot.working { background: var(--working); box-shadow: 0 0 0 3px var(--working-halo); }
|
|
513
|
+
.dot.idle { background: var(--idle); }
|
|
514
|
+
.dot.stalled { background: var(--stalled); }
|
|
515
|
+
.dot.failed { background: var(--failed); }
|
|
516
|
+
|
|
517
|
+
/* heartbeat: one tick per minute for the last 30 minutes */
|
|
518
|
+
.beat { display: flex; align-items: flex-end; gap: 1px; height: 20px; }
|
|
519
|
+
.beat i { flex: 1; min-width: 1px; background: var(--line); border-radius: 1px; height: 2px; }
|
|
520
|
+
.v-anthropic { color: var(--v-anthropic); } .v-openai { color: var(--v-openai); } .v-google { color: var(--v-google); } .v-other { color: var(--v-other); }
|
|
521
|
+
.beat.v-anthropic i.on { background: var(--v-anthropic); } .beat.v-openai i.on { background: var(--v-openai); }
|
|
522
|
+
.beat.v-google i.on { background: var(--v-google); } .beat.v-other i.on { background: var(--v-other); }
|
|
523
|
+
|
|
524
|
+
.empty { color: var(--ink-2); padding: 40px 8px; max-width: 520px; }
|
|
525
|
+
.empty b { color: var(--ink); display: block; font-size: 16px; margin-bottom: 6px; }
|
|
526
|
+
/* empty states in the workspace list: a quiet card with a title, one line of help and an action */
|
|
527
|
+
#rooms .empty { padding: var(--sp-5); margin: var(--sp-2) 0; max-width: 560px; font-size: var(--fs-2); background: var(--panel); border: 1px dashed var(--line-strong); border-radius: var(--r-m); }
|
|
528
|
+
#rooms .empty b { font: 650 var(--fs-3)/1.3 var(--display); }
|
|
529
|
+
#rooms .empty p { margin: 0 0 var(--sp-3); }
|
|
530
|
+
#rooms .empty p:last-child { margin-bottom: 0; }
|
|
531
|
+
|
|
532
|
+
/* ---------- right column */
|
|
533
|
+
.sect { margin-bottom: var(--sp-5); }
|
|
534
|
+
.sect > h2 { margin: 0; font: 650 var(--fs-3)/1.25 var(--display); }
|
|
535
|
+
.sect > .sect-sub { margin: 2px 0 var(--sp-3); }
|
|
536
|
+
.card { background: var(--ground); border: 1px solid var(--line-soft); border-radius: var(--r-m); padding: var(--sp-4); margin-bottom: var(--sp-3); }
|
|
537
|
+
.card.empty-card { color: var(--ink-2); font-size: var(--fs-2); border-style: dashed; border-color: var(--line); }
|
|
538
|
+
.vhead { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
|
|
539
|
+
.vhead h3 { margin: 0; font: 650 var(--fs-3) var(--display); flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
540
|
+
.vhead .big { flex: none; font: 600 var(--fs-4) var(--display); }
|
|
541
|
+
.vsub { display: flex; justify-content: space-between; color: var(--ink-3); font-size: var(--fs-1); margin: 2px 0 var(--sp-3); }
|
|
542
|
+
.spark { display: flex; align-items: flex-end; gap: 2px; height: 34px; margin-bottom: var(--sp-3); }
|
|
543
|
+
.spark i { flex: 1; background: currentColor; opacity: .85; border-radius: 1px; min-height: 1px; }
|
|
544
|
+
.models { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 6px 14px; font-size: var(--fs-2); align-items: center; }
|
|
545
|
+
.models .h { color: var(--ink-3); font-size: var(--fs-1); }
|
|
546
|
+
.models .m { min-width: 0; }
|
|
547
|
+
.models .m b { font-weight: 550; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
548
|
+
.models .m span { color: var(--ink-3); font-size: var(--fs-1); }
|
|
549
|
+
.models .r { text-align: right; color: var(--ink-2); white-space: nowrap; }
|
|
550
|
+
|
|
551
|
+
.quota h3 { margin: 0; font: 650 var(--fs-3) var(--display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
552
|
+
.quota .src { color: var(--ink-3); font-size: var(--fs-1); margin: 2px 0 var(--sp-3); }
|
|
553
|
+
.card.quota.stale { border-color: var(--stalled-line); }
|
|
554
|
+
.quota .stale-age { color: var(--stalled); font-weight: 550; }
|
|
555
|
+
.win { display: grid; grid-template-columns: 112px 1fr; gap: 3px 12px; padding: var(--sp-2) 0; border-top: 1px solid var(--line-soft); }
|
|
556
|
+
.win:first-of-type { border-top: 0; padding-top: 0; }
|
|
557
|
+
.win .name { font-size: var(--fs-2); font-weight: 550; display: inline-flex; align-items: center; gap: 5px; }
|
|
558
|
+
.win .pct { font-size: var(--fs-2); text-align: right; }
|
|
559
|
+
.win.win-low .warn-ic { color: var(--stalled); opacity: 1; }
|
|
560
|
+
.win.win-low .pct { color: var(--stalled); font-weight: 600; }
|
|
561
|
+
.win.win-crit .warn-ic, .win.win-crit .pct { color: var(--failed); font-weight: 600; }
|
|
562
|
+
.win .meter { height: 6px; background: var(--raise); border-radius: 3px; overflow: hidden; align-self: center; }
|
|
563
|
+
.win .meter i { display: block; height: 100%; background: var(--working); border-radius: 3px; }
|
|
564
|
+
.win .meter i.low { background: var(--stalled); } .win .meter i.out { background: var(--failed); }
|
|
565
|
+
.quota.stale .win .meter i { background: var(--idle); opacity: .55; }
|
|
566
|
+
.quota.stale .win .pct { color: var(--ink-3); }
|
|
567
|
+
.win .reset { grid-column: 2; font-size: var(--fs-1); color: var(--ink-2); }
|
|
568
|
+
.win .reset em { font-style: normal; color: var(--ink-3); }
|
|
569
|
+
.win .note { grid-column: 2; font-size: var(--fs-1); color: var(--ink-3); }
|
|
570
|
+
.hint { font-size: var(--fs-1); color: var(--ink-3); margin-top: var(--sp-2); }
|
|
571
|
+
.hint.quota-err { color: var(--stalled); }
|
|
572
|
+
.hint code { color: var(--ink-2); }
|
|
573
|
+
|
|
574
|
+
/* ---------- inspector */
|
|
575
|
+
.insp-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
|
|
576
|
+
.insp-acts { display: inline-flex; align-items: center; gap: 6px; }
|
|
577
|
+
.insp-head { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 4px; }
|
|
578
|
+
.insp-head h2 { margin: 0; font: 620 18px/1.25 var(--display); flex: 1; overflow-wrap: anywhere; }
|
|
579
|
+
.insp-state { font-size: 13px; color: var(--ink-2); margin-bottom: 12px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
|
|
580
|
+
.insp-state.ended-badly { color: var(--ink-3); }
|
|
581
|
+
.insp-task { font-size: 13px; color: var(--ink); background: var(--ground); border: 1px solid var(--line-soft); border-radius: var(--r-s); padding: 10px 12px; margin-bottom: 14px; white-space: pre-wrap; max-height: 160px; overflow: auto; }
|
|
582
|
+
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin-bottom: 16px; }
|
|
583
|
+
.facts div { min-width: 0; }
|
|
584
|
+
.facts dt { font-size: var(--fs-1); color: var(--ink-3); }
|
|
585
|
+
.facts dd { margin: 1px 0 0; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
586
|
+
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
|
|
587
|
+
.tabs button { border: 0; background: none; padding: 7px 10px; color: var(--ink-3); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; font-weight: 550; }
|
|
588
|
+
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
|
|
589
|
+
.row { padding: 8px 0; border-bottom: 1px solid var(--line-soft); font-size: 13px; }
|
|
590
|
+
.row .rh { display: flex; gap: 8px; align-items: baseline; }
|
|
591
|
+
.row .rh b { font-weight: 600; }
|
|
592
|
+
.row .rh .t { color: var(--ink-3); font-size: 11px; margin-left: auto; white-space: nowrap; }
|
|
593
|
+
.row .arg { color: var(--ink-2); font-size: 12px; overflow-wrap: anywhere; }
|
|
594
|
+
.row .res { color: var(--ink-3); font-size: 12px; overflow-wrap: anywhere; white-space: pre-wrap; max-height: 64px; overflow: hidden; }
|
|
595
|
+
.row.err .rh b { color: var(--failed); }
|
|
596
|
+
.row.answer .rh b { color: var(--working); }
|
|
597
|
+
.pre { white-space: pre-wrap; font-size: 13px; color: var(--ink-2); overflow-wrap: anywhere; }
|
|
598
|
+
.files div { font-size: 12px; color: var(--ink-2); padding: 3px 0; overflow-wrap: anywhere; }
|
|
599
|
+
.files em { font-style: normal; color: var(--ink-3); margin-right: 6px; }
|
|
600
|
+
|
|
601
|
+
kbd { font: 11px var(--sans); border: 1px solid var(--line); border-radius: 4px; padding: 0 4px; color: var(--ink-2); }
|
|
602
|
+
|
|
603
|
+
@media (max-width: 1180px) {
|
|
604
|
+
.fact-model { max-width: 120px; }
|
|
605
|
+
}
|
|
606
|
+
@media (max-width: 900px) {
|
|
607
|
+
body { overflow: auto; height: auto; min-height: 100%; }
|
|
608
|
+
.main { grid-template-columns: 1fr; height: auto; flex: none; }
|
|
609
|
+
#studio { height: calc(100vh - 64px); flex: none; }
|
|
610
|
+
.reports { overflow: visible; flex: none; padding: 16px 16px 40px; }
|
|
611
|
+
.quota-banner { padding: 7px 16px; }
|
|
612
|
+
.col { overflow: visible; }
|
|
613
|
+
.col-right { border-left: 0; border-top: 1px solid var(--line); }
|
|
614
|
+
.top { flex-wrap: wrap; height: auto; padding: 12px 16px; gap: 12px 20px; }
|
|
615
|
+
.kpis { order: 3; flex-basis: 100%; gap: 18px; overflow-x: auto; }
|
|
616
|
+
}
|
|
617
|
+
@media (max-width: 640px) {
|
|
618
|
+
.fact-model, .person-name { display: none; }
|
|
619
|
+
.details-grid { grid-template-columns: 1fr; }
|
|
620
|
+
.rooms-quiet-grid { grid-template-columns: 1fr; }
|
|
621
|
+
.room-head:not(.tile-btn) { flex-wrap: wrap; }
|
|
622
|
+
}
|
|
623
|
+
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
|
|
624
|
+
|
|
625
|
+
/* ---------- topology map */
|
|
626
|
+
.topo-wrap { margin-bottom: 18px; }
|
|
627
|
+
.topo-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; }
|
|
628
|
+
.topo-head h2 { margin: 0; font: 650 var(--fs-3)/1.25 var(--display); }
|
|
629
|
+
.topo-sub { color: var(--ink-3); font-size: var(--fs-1); flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
630
|
+
.topo-wrap.closed .topo-sub { visibility: hidden; }
|
|
631
|
+
#topo { display: flex; flex-direction: column; gap: 10px; }
|
|
632
|
+
.band { display: block; overflow: visible; }
|
|
633
|
+
.bandbg { fill: var(--band); stroke: var(--line-soft); }
|
|
634
|
+
.bandname { fill: var(--ink-2); font: 600 12px var(--display); }
|
|
635
|
+
.edge { fill: none; stroke: var(--edge); stroke-width: 1.5; }
|
|
636
|
+
.edge.working { stroke: var(--edge-working); stroke-dasharray: 5 5; animation: flow 1.2s linear infinite; }
|
|
637
|
+
.edge.stalled { stroke: var(--stalled); stroke-dasharray: 3 4; }
|
|
638
|
+
.edge.failed { stroke: var(--failed); }
|
|
639
|
+
.edge.done { stroke: var(--edge-done); }
|
|
640
|
+
@keyframes flow { to { stroke-dashoffset: -20; } }
|
|
641
|
+
.packet { fill: currentColor; }
|
|
642
|
+
.elabel { fill: var(--ink-3); font-size: 10px; paint-order: stroke; stroke: var(--band); stroke-width: 4px; }
|
|
643
|
+
.node { cursor: pointer; outline: none; }
|
|
644
|
+
.node .card { fill: var(--panel); stroke: var(--line); stroke-width: 1; transition: stroke .15s; }
|
|
645
|
+
.node:hover .card, .node:focus-visible .card { stroke: var(--node-hover); }
|
|
646
|
+
.node.sel .card { stroke: var(--ink); stroke-width: 1.5; }
|
|
647
|
+
.node.working .card { stroke: var(--working-line); }
|
|
648
|
+
.node.stalled .card { stroke: var(--stalled); animation: warn 1.6s ease-in-out infinite; }
|
|
649
|
+
.node.failed .card { stroke: var(--failed); fill: var(--failed-bg); }
|
|
650
|
+
.node.done { opacity: .55; }
|
|
651
|
+
.node:focus-visible .card { stroke: var(--focus); stroke-width: 2; }
|
|
652
|
+
@keyframes warn { 50% { fill: var(--warn-bg); } }
|
|
653
|
+
.node .avatar-tile { fill: currentColor; fill-opacity: .16; stroke: currentColor; stroke-opacity: .55; stroke-width: 1.2; }
|
|
654
|
+
.node .glyph { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
|
|
655
|
+
.node .glyph-dot { fill: currentColor; stroke: none; }
|
|
656
|
+
.node .badge-cut { fill: var(--panel); }
|
|
657
|
+
.node.failed .badge-cut { fill: var(--failed-bg); }
|
|
658
|
+
.node.stalled .badge-cut { animation: warn 1.6s ease-in-out infinite; }
|
|
659
|
+
.node .badge-ring { fill: var(--working); opacity: .28; transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-in-out infinite; }
|
|
660
|
+
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: .28; } 50% { transform: scale(1.38); opacity: .08; } }
|
|
661
|
+
.node .badge-dot { fill: var(--done); }
|
|
662
|
+
.node.working .badge-dot { fill: var(--working); }
|
|
663
|
+
.node.idle .badge-dot { fill: var(--idle); }
|
|
664
|
+
.node.stalled .badge-dot { fill: var(--stalled); }
|
|
665
|
+
.node.failed .badge-dot { fill: var(--failed); }
|
|
666
|
+
.node .badge-mark { fill: none; stroke: var(--badge-ink); stroke-width: 1.5; stroke-linecap: round; }
|
|
667
|
+
.node .badge-mark-dot { fill: var(--badge-ink); stroke: none; }
|
|
668
|
+
.nname { fill: var(--ink); font: 600 13px var(--display); }
|
|
669
|
+
.nsub { font-size: 11px; fill: currentColor; }
|
|
670
|
+
.node .alert circle { fill: var(--failed); }
|
|
671
|
+
.node.stalled .alert circle { fill: var(--stalled); }
|
|
672
|
+
.alert text { fill: var(--on-alert); font: 700 12px var(--display); }
|
|
673
|
+
|
|
674
|
+
/* Studio overlay: side panel, door signs, alerts, live detail card */
|
|
675
|
+
.st-ui { position: absolute; inset: 0; pointer-events: none; font-size: 13px; }
|
|
676
|
+
.st-ui button { font: inherit; }
|
|
677
|
+
.st-panel { pointer-events: auto; position: absolute; left: 12px; top: 12px; bottom: 56px; width: 270px; display: flex; flex-direction: column;
|
|
678
|
+
background: rgba(29,33,39,.92); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; }
|
|
679
|
+
.st-h { margin: 0; padding: 11px 14px 9px; font: 600 14px/1.2 var(--display); border-bottom: 1px solid var(--line-soft); }
|
|
680
|
+
.st-list { overflow-y: auto; overflow-x: hidden; padding: 4px 0 8px; }
|
|
681
|
+
.st-room { padding: 6px 0 4px; border-bottom: 1px solid var(--line-soft); }
|
|
682
|
+
.st-room:last-child { border-bottom: 0; }
|
|
683
|
+
.st-rname { display: block; width: 100%; text-align: left; border: 0; background: none; color: var(--ink); font-weight: 600; padding: 4px 14px; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
684
|
+
.st-rname:hover { background: var(--raise); }
|
|
685
|
+
.st-room.focused .st-rname { color: var(--v-google); background: rgba(111,162,246,.1); }
|
|
686
|
+
.st-room.alarm .st-rname { color: var(--stalled); }
|
|
687
|
+
.st-room.dark .st-rname { color: var(--ink-3); cursor: default; opacity: .65; }
|
|
688
|
+
.st-room.dark .st-rname:hover { background: none; }
|
|
689
|
+
.st-room.dark .st-agent { cursor: default; opacity: .45; }
|
|
690
|
+
.st-room.dark .st-agent:hover { background: none; color: var(--ink-2); }
|
|
691
|
+
.st-room.dark .st-txt b { color: var(--ink-3); }
|
|
692
|
+
.st-agent { display: grid; grid-template-columns: 12px minmax(0,1fr); gap: 8px; align-items: start; width: 100%; text-align: left; border: 0; background: none;
|
|
693
|
+
color: var(--ink-2); padding: 5px 14px; cursor: pointer; }
|
|
694
|
+
.st-agent.sub { padding-left: 28px; }
|
|
695
|
+
.st-agent:hover, .st-agent.sel { background: var(--raise); color: var(--ink); }
|
|
696
|
+
.st-agent .dot { margin-top: 5px; }
|
|
697
|
+
.st-agent.stalled, .st-agent.failed { background: rgba(226,101,93,.08); }
|
|
698
|
+
.st-txt { min-width: 0; }
|
|
699
|
+
.st-txt b { display: block; font-weight: 550; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
700
|
+
.st-txt small { display: block; color: var(--ink-3); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
701
|
+
.st-signs { position: absolute; inset: 0; overflow: hidden; isolation: isolate; }
|
|
702
|
+
.st-sign { pointer-events: auto; position: absolute; left: 0; top: 0; display: grid; gap: 1px; text-align: center; white-space: nowrap; cursor: pointer;
|
|
703
|
+
background: #ece8e0; color: #1d2127; border: 0; border-radius: 6px; padding: 4px 10px 5px; box-shadow: 0 4px 14px rgba(0,0,0,.35); transition: opacity .25s ease, box-shadow .2s ease; }
|
|
704
|
+
.st-sign.dim { opacity: .55; }
|
|
705
|
+
.st-sign.focus, .st-sign.focused { outline: 2px solid var(--v-google); outline-offset: 2px; box-shadow: 0 6px 18px rgba(0,0,0,.45); opacity: 1; z-index: 2; }
|
|
706
|
+
.st-sign.dark { opacity: .45; cursor: default; pointer-events: none; background: #262b33; color: var(--ink-3); box-shadow: 0 2px 8px rgba(0,0,0,.25); }
|
|
707
|
+
.st-sign.dark span { color: var(--ink-3); }
|
|
708
|
+
.st-sign b { font: 650 13px/1.15 var(--display); }
|
|
709
|
+
.st-sign span { font-size: 11px; color: #4b5563; display: inline-flex; align-items: center; justify-content: center; gap: 4px; }
|
|
710
|
+
.st-sign i { width: 7px; height: 7px; border-radius: 50%; display: inline-block; margin-left: 4px; }
|
|
711
|
+
.st-sign i.ok { background: #2f9e6c; }
|
|
712
|
+
.st-sign i.bad { background: #d4483f; }
|
|
713
|
+
.st-sign.alarm { background: #d4483f; color: #fff; animation: st-blink 1.2s ease-in-out infinite; }
|
|
714
|
+
.st-sign.alarm span { color: #ffe3e0; }
|
|
715
|
+
.st-sign.alarm i.bad { background: #fff; }
|
|
716
|
+
@keyframes st-blink { 50% { box-shadow: 0 0 0 5px rgba(226,101,93,.35), 0 4px 14px rgba(0,0,0,.35); } }
|
|
717
|
+
.st-focus { pointer-events: auto; position: absolute; top: 12px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; max-width: calc(100% - 620px);
|
|
718
|
+
background: rgba(29,33,39,.94); border: 1px solid var(--line); border-radius: 10px; padding: 5px 10px 5px 6px; box-shadow: 0 8px 24px rgba(0,0,0,.4); z-index: 5; }
|
|
719
|
+
.st-focus[hidden] { display: none; }
|
|
720
|
+
.st-back { display: inline-flex; align-items: center; gap: 6px; background: var(--raise); color: var(--ink); border-color: #3d4550; padding: 4px 10px; font-size: 12px; flex: none; }
|
|
721
|
+
.st-back:hover { background: #2f3640; border-color: var(--ink-3); }
|
|
722
|
+
.st-crumb { display: inline-flex; align-items: center; gap: 6px; min-width: 0; color: var(--ink-2); font-size: 13px; }
|
|
723
|
+
.st-crumb-room { border: 0; background: none; padding: 2px 6px; border-radius: 6px; color: var(--ink); font-weight: 600; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 200px; }
|
|
724
|
+
.st-crumb-room:hover { background: var(--raise); }
|
|
725
|
+
.st-crumb-sep { color: var(--ink-3); }
|
|
726
|
+
.st-crumb-agent { color: var(--ink); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px; }
|
|
727
|
+
.st-toasts { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); display: grid; gap: 6px; justify-items: center; max-width: min(520px, 60%); transition: top .2s ease; }
|
|
728
|
+
.st-ui.focused .st-toasts { top: 58px; }
|
|
729
|
+
.st-toast { pointer-events: auto; border: 1px solid rgba(226,101,93,.6); background: rgba(70,26,24,.92); color: #ffd9d5; border-radius: 8px; padding: 6px 12px; cursor: pointer; }
|
|
730
|
+
.st-toast.stalled { border-color: rgba(229,164,60,.6); background: rgba(66,46,16,.92); color: #ffe6bd; }
|
|
731
|
+
.st-card { pointer-events: auto; position: absolute; right: 12px; top: 12px; bottom: 56px; width: 330px; overflow-y: auto; overflow-x: hidden; display: flex; flex-direction: column; gap: 8px;
|
|
732
|
+
background: rgba(29,33,39,.95); border: 1px solid var(--line); border-radius: var(--r-m); padding: 12px 14px; }
|
|
733
|
+
.st-card > * { flex-shrink: 0; }
|
|
734
|
+
.st-card[hidden] { display: none; }
|
|
735
|
+
.st-card header { display: flex; align-items: center; gap: 8px; }
|
|
736
|
+
.st-card h3 { flex: 1; margin: 0; font: 600 15px/1.25 var(--display); overflow-wrap: anywhere; }
|
|
737
|
+
.st-card h4 { margin: 4px 0 0; font-size: 12px; font-weight: 600; color: var(--ink-2); }
|
|
738
|
+
.st-state { margin: 0; color: var(--ink-2); }
|
|
739
|
+
.st-state.working { color: var(--working); }
|
|
740
|
+
.st-state.stalled { color: var(--stalled); }
|
|
741
|
+
.st-state.failed { color: var(--failed); }
|
|
742
|
+
.st-chev { flex: none; color: var(--ink-3); transition: transform .15s ease; }
|
|
743
|
+
.st-task { margin: 0; padding: 4px 6px; border-radius: 5px; border: 1px solid transparent; display: flex; align-items: flex-start; gap: 6px; color: var(--ink); cursor: pointer; }
|
|
744
|
+
.st-task:hover { background: var(--raise); border-color: var(--line); }
|
|
745
|
+
.st-task:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
|
|
746
|
+
.st-task .st-chev { margin-top: 3px; }
|
|
747
|
+
.st-task-txt { flex: 1; min-width: 0; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
|
|
748
|
+
.st-task.open { background: var(--ground); border-color: var(--line-strong); }
|
|
749
|
+
.st-task.open .st-chev { transform: rotate(90deg); }
|
|
750
|
+
.st-task.open .st-task-txt { display: block; -webkit-line-clamp: unset; overflow: visible; white-space: pre-wrap; }
|
|
751
|
+
.st-card dl { margin: 0; display: grid; gap: 3px; }
|
|
752
|
+
.st-card dl div { display: grid; grid-template-columns: 92px minmax(0,1fr); gap: 8px; }
|
|
753
|
+
.st-card dt { color: var(--ink-3); }
|
|
754
|
+
.st-card dd { margin: 0; overflow-wrap: anywhere; }
|
|
755
|
+
.st-card a { color: var(--ink); }
|
|
756
|
+
.st-feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; font-size: 12px; }
|
|
757
|
+
.st-feed li { display: grid; grid-template-columns: 70px minmax(0,1fr); gap: 8px; padding: 3px 6px; border-radius: 5px; border: 1px solid transparent; background: var(--raise); }
|
|
758
|
+
.st-feed li.st-feed-empty { display: block; }
|
|
759
|
+
.st-feed li.st-feed-row { grid-template-columns: 12px 66px minmax(0,1fr); gap: 6px; align-items: center; cursor: pointer; }
|
|
760
|
+
.st-feed li.st-feed-row:hover { background: var(--row-sel); border-color: var(--line); }
|
|
761
|
+
.st-feed li.st-feed-row:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
|
|
762
|
+
.st-feed li b { color: var(--ink-2); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
763
|
+
.st-feed li span { color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
764
|
+
.st-feed li.st-feed-row.open { grid-template-columns: 12px minmax(0,1fr); align-items: start; gap: 4px 6px; padding: 6px; background: var(--ground); border-color: var(--line-strong); }
|
|
765
|
+
.st-feed li.st-feed-row.open .st-chev { margin-top: 2px; transform: rotate(90deg); }
|
|
766
|
+
.st-feed li.st-feed-row.open b { color: var(--ink); white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; }
|
|
767
|
+
.st-feed-body { grid-column: 1 / -1; display: grid; gap: 4px; min-width: 0; }
|
|
768
|
+
.st-feed-arg, .st-feed-text { color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.4; }
|
|
769
|
+
.st-feed-cmd { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; font-size: 11.5px; }
|
|
770
|
+
.st-feed-res { color: var(--ink-2); white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.4; border-top: 1px solid var(--line); padding-top: 4px; }
|
|
771
|
+
.st-feed-body > .st-feed-res:first-child { border-top: 0; padding-top: 0; }
|
|
772
|
+
.st-feed li.err { background: rgba(226,101,93,.14); }
|
|
773
|
+
.st-feed li.err b, .st-feed li.err.open b, .st-feed li.err span, .st-feed li.err .st-chev, .st-feed li.err .st-feed-arg, .st-feed li.err .st-feed-text, .st-feed li.err .st-feed-res { color: #ffb4ad; }
|
|
774
|
+
.st-feed li.st-feed-row.err:hover, .st-feed li.st-feed-row.err.open { background: var(--failed-bg); border-color: var(--failed); }
|
|
775
|
+
.st-bar { pointer-events: auto; position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 8px; }
|
|
776
|
+
.st-bar .btn[aria-pressed="true"] { color: var(--ink); border-color: var(--ink-3); }
|
|
777
|
+
.st-bar .btn.st-ov-active { color: var(--ink); border-color: var(--v-google); background: rgba(111,162,246,.16); }
|
|
778
|
+
.st-hint { color: var(--ink-3); font-size: 12px; margin-left: 6px; }
|
|
779
|
+
.st-tip { position: absolute; transform: translate(-50%, -100%); background: rgba(16,18,22,.92); color: var(--ink); border-radius: 6px; padding: 3px 8px; font-size: 12px; white-space: nowrap; }
|
|
780
|
+
.st-tip[hidden] { display: none; }
|
|
781
|
+
.st-empty { pointer-events: none; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); max-width: 380px; text-align: center;
|
|
782
|
+
padding: 18px 22px; border-radius: var(--r-m); background: rgba(29,33,39,.90); border: 1px solid var(--line); box-shadow: 0 12px 32px rgba(0,0,0,.45); z-index: 4; }
|
|
783
|
+
.st-empty[hidden] { display: none; }
|
|
784
|
+
.st-empty h3 { margin: 0 0 6px; font: 620 16px/1.25 var(--display); color: var(--ink); }
|
|
785
|
+
.st-empty p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
|
|
786
|
+
@media (max-width: 900px) { .st-panel { width: 200px; } .st-card { width: 260px; } .st-focus { max-width: calc(100% - 24px); } .st-empty { max-width: calc(100% - 32px); } .st-hint { display: none; } }
|
|
787
|
+
@media (prefers-reduced-motion: reduce) { .st-sign.alarm { animation: none; } .st-chev { transition: none; } }
|
|
788
|
+
[dir="rtl"] .st-chev { transform: scaleX(-1); }
|
|
789
|
+
[dir="rtl"] .st-task.open .st-chev, [dir="rtl"] .st-feed li.st-feed-row.open .st-chev { transform: rotate(90deg); }
|
|
790
|
+
[dir="rtl"] .st-feed-body, [dir="rtl"] .st-task-txt { unicode-bidi: plaintext; }
|
|
791
|
+
|
|
792
|
+
/* Right-to-left languages: the map stays left-to-right, agent names and paths keep their own direction */
|
|
793
|
+
[dir="rtl"] #topo { direction: ltr; }
|
|
794
|
+
[dir="rtl"] .agent-name, [dir="rtl"] .agent-now, [dir="rtl"] .agent .more .task, [dir="rtl"] .agent .more .act, [dir="rtl"] .detail-item dd,
|
|
795
|
+
[dir="rtl"] .room-name, [dir="rtl"] .room-why, [dir="rtl"] .tile-task, [dir="rtl"] .tile-alert, [dir="rtl"] .st-txt, [dir="rtl"] .st-feed span { unicode-bidi: plaintext; }
|
|
796
|
+
[dir="rtl"] .chev { transform: scaleX(-1); }
|
|
797
|
+
[dir="rtl"] .room.open .room-chev .chev { transform: rotate(90deg); }
|
|
798
|
+
|
|
799
|
+
/* ---------- marquee: single-line text cut with an ellipsis slides to show the rest, then returns, but only while
|
|
800
|
+
its row or card (.mqs) is hovered or focused. JS measures once per render and marks the clipping box with
|
|
801
|
+
.mq-on, --mq (signed distance) and --mq-t (cycle length). Nothing animates otherwise or with reduced motion. */
|
|
802
|
+
.mq { white-space: nowrap; }
|
|
803
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
804
|
+
.mqs:hover .mq-on, .mqs:focus-visible .mq-on, .mqs:focus-within .mq-on { text-overflow: clip; }
|
|
805
|
+
.mqs:hover .mq-on > .mq, .mqs:focus-visible .mq-on > .mq, .mqs:focus-within .mq-on > .mq {
|
|
806
|
+
display: inline-block; animation: mq var(--mq-t, 6s) ease-in-out .35s infinite;
|
|
807
|
+
}
|
|
808
|
+
}
|
|
809
|
+
@keyframes mq {
|
|
810
|
+
0%, 12% { transform: translateX(0); }
|
|
811
|
+
44%, 60% { transform: translateX(var(--mq, 0)); }
|
|
812
|
+
92%, 100% { transform: translateX(0); }
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
/* ---------- "How it works" dialog */
|
|
816
|
+
.help {
|
|
817
|
+
width: min(640px, calc(100vw - 32px)); max-height: min(84vh, 760px); padding: 0; overflow: hidden;
|
|
818
|
+
background: var(--panel); color: var(--ink); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 60px var(--shadow);
|
|
819
|
+
}
|
|
820
|
+
.help[open] { display: flex; flex-direction: column; }
|
|
821
|
+
.help::backdrop { background: var(--backdrop, rgba(8, 10, 12, .6)); }
|
|
822
|
+
.help-head { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-4) 20px var(--sp-3); border-bottom: 1px solid var(--line-soft); }
|
|
823
|
+
.help-head h2 { flex: 1; margin: 0; font: 650 var(--fs-4)/1.25 var(--display); }
|
|
824
|
+
.help-body { overflow-y: auto; padding: var(--sp-1) 20px 20px; font-size: var(--fs-2); line-height: 1.55; color: var(--ink-2); }
|
|
825
|
+
.help-body:focus-visible { outline-offset: -2px; }
|
|
826
|
+
.help-body section { padding: var(--sp-3) 0; border-bottom: 1px solid var(--line-soft); }
|
|
827
|
+
.help-body section:last-child { border-bottom: 0; }
|
|
828
|
+
.help-body h3 { margin: 0 0 var(--sp-1); font: 650 var(--fs-3)/1.3 var(--display); color: var(--ink); }
|
|
829
|
+
.help-body p { margin: 0 0 6px; }
|
|
830
|
+
.help-body p:last-child { margin-bottom: 0; }
|
|
831
|
+
.help-states { list-style: none; margin: var(--sp-2) 0 0; padding: 0; display: grid; gap: var(--sp-2); }
|
|
832
|
+
.help-states li { display: grid; grid-template-columns: 9px 7.5em minmax(0, 1fr); gap: 10px; align-items: baseline; }
|
|
833
|
+
.help-states .dot { align-self: center; }
|
|
834
|
+
.help-states b { color: var(--ink); font-weight: 600; }
|
|
835
|
+
|
|
836
|
+
/* ---------- Studio overlay in the day theme. New rules only: the .st-* rules above stay as they are and these
|
|
837
|
+
swap their fixed dark glass for the theme tokens, so the panels read as paper over the (always dark) 3D scene. */
|
|
838
|
+
[data-theme="day"] .st-panel, [data-theme="day"] .st-card, [data-theme="day"] .st-focus, [data-theme="day"] .st-tip, [data-theme="day"] .st-empty { background: var(--glass); }
|
|
839
|
+
[data-theme="day"] .st-focus, [data-theme="day"] .st-panel, [data-theme="day"] .st-card, [data-theme="day"] .st-empty { box-shadow: 0 8px 24px var(--overlay-shadow); }
|
|
840
|
+
[data-theme="day"] .st-back { border-color: var(--line-strong); }
|
|
841
|
+
[data-theme="day"] .st-back:hover { background: var(--raise); }
|
|
842
|
+
[data-theme="day"] .st-toast { background: var(--toast-bg); color: var(--toast-ink); border-color: var(--failed); }
|
|
843
|
+
[data-theme="day"] .st-toast.stalled { background: var(--toast-warn-bg); color: var(--toast-warn-ink); border-color: var(--stalled); }
|
|
844
|
+
[data-theme="day"] .st-feed li.err b, [data-theme="day"] .st-feed li.err.open b, [data-theme="day"] .st-feed li.err span, [data-theme="day"] .st-feed li.err .st-chev, [data-theme="day"] .st-feed li.err .st-feed-arg, [data-theme="day"] .st-feed li.err .st-feed-text, [data-theme="day"] .st-feed li.err .st-feed-res { color: var(--failed); }
|
|
845
|
+
[data-theme="day"] .st-hint { background: var(--glass); color: var(--ink-2); border-radius: var(--r-s); padding: 3px 8px; }
|
|
846
|
+
[data-theme="day"] .st-sign.dark, [data-theme="day"] .st-sign.dark span { color: var(--sign-dark-ink); }
|
|
847
|
+
|
|
848
|
+
/* ---------- in-page toasts */
|
|
849
|
+
.toasts {
|
|
850
|
+
position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 40;
|
|
851
|
+
display: grid; gap: 8px; max-width: min(420px, calc(100vw - 32px));
|
|
852
|
+
pointer-events: none;
|
|
853
|
+
}
|
|
854
|
+
.toast {
|
|
855
|
+
pointer-events: auto; display: flex; align-items: flex-start; gap: 10px;
|
|
856
|
+
padding: 9px 12px; border-radius: 9px; font-size: var(--fs-2); line-height: 1.4;
|
|
857
|
+
background: var(--panel); color: var(--ink); border: 1px solid var(--line-strong);
|
|
858
|
+
box-shadow: 0 10px 28px var(--shadow);
|
|
859
|
+
}
|
|
860
|
+
.toast.ok { border-color: var(--working-line); }
|
|
861
|
+
.toast.warn, .toast.stalled { background: var(--toast-warn-bg); color: var(--toast-warn-ink); border-color: var(--stalled-line); }
|
|
862
|
+
.toast.failed { background: var(--toast-bg); color: var(--toast-ink); border-color: var(--failed-line); }
|
|
863
|
+
.toast-body { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
|
|
864
|
+
.toast.clickable { cursor: pointer; }
|
|
865
|
+
.toast-title { font-weight: 600; display: block; }
|
|
866
|
+
.toast-msg { display: block; opacity: .92; }
|
|
867
|
+
.toast-close {
|
|
868
|
+
flex: none; display: inline-flex; align-items: center; justify-content: center;
|
|
869
|
+
width: 22px; height: 22px; padding: 0; border: 0; border-radius: 5px;
|
|
870
|
+
background: none; color: currentColor; opacity: .75; cursor: pointer;
|
|
871
|
+
}
|
|
872
|
+
.toast-close:hover, .toast-close:focus-visible { opacity: 1; background: rgba(128, 128, 128, .18); }
|
|
873
|
+
|
|
874
|
+
/* ---------- Reports view */
|
|
875
|
+
.reports-grid {
|
|
876
|
+
display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
|
|
877
|
+
gap: var(--sp-5); max-width: 1560px; margin: 0 auto; align-items: start;
|
|
878
|
+
}
|
|
879
|
+
@media (max-width: 1080px) { .reports-grid { grid-template-columns: 1fr; } }
|
|
880
|
+
.rep-col { min-width: 0; display: grid; gap: var(--sp-4); }
|
|
881
|
+
.rep-head {
|
|
882
|
+
display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
|
|
883
|
+
gap: 10px var(--sp-3);
|
|
884
|
+
}
|
|
885
|
+
.rep-head h2 { margin: 0; font: 650 var(--fs-3)/1.25 var(--display); }
|
|
886
|
+
.rep-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
|
|
887
|
+
.rep-day-nav {
|
|
888
|
+
display: inline-flex; align-items: center; gap: 2px;
|
|
889
|
+
background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 2px;
|
|
890
|
+
}
|
|
891
|
+
.rep-day-nav button {
|
|
892
|
+
display: inline-flex; align-items: center; justify-content: center;
|
|
893
|
+
width: 28px; height: 28px; padding: 0; border: 0; border-radius: 6px;
|
|
894
|
+
background: none; color: var(--ink-2); cursor: pointer;
|
|
895
|
+
}
|
|
896
|
+
.rep-day-nav button:hover:not(:disabled) { background: var(--raise); color: var(--ink); }
|
|
897
|
+
.rep-day-nav button:disabled { opacity: .35; cursor: default; }
|
|
898
|
+
.rep-day-label {
|
|
899
|
+
padding: 0 10px; font-size: var(--fs-2); font-weight: 600; color: var(--ink);
|
|
900
|
+
white-space: nowrap; display: inline-flex; align-items: center; gap: 6px;
|
|
901
|
+
}
|
|
902
|
+
.rep-today-tag {
|
|
903
|
+
font-size: 11px; font-weight: 550; color: var(--working);
|
|
904
|
+
padding: 1px 6px; border-radius: 999px; border: 1px solid var(--working-line);
|
|
905
|
+
}
|
|
906
|
+
.rep-export { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
|
|
907
|
+
.rep-export .btn.copied { color: var(--working); border-color: var(--working-line); }
|
|
908
|
+
|
|
909
|
+
.rep-summary-strip {
|
|
910
|
+
background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--r-m);
|
|
911
|
+
padding: 13px var(--sp-4); display: grid; gap: 10px;
|
|
912
|
+
}
|
|
913
|
+
.rep-summary-line { margin: 0; font-size: var(--fs-2); color: var(--ink-2); }
|
|
914
|
+
.rep-figures {
|
|
915
|
+
display: flex; flex-wrap: wrap; gap: 10px var(--sp-5);
|
|
916
|
+
padding-top: 8px; border-top: 1px solid var(--line-soft);
|
|
917
|
+
}
|
|
918
|
+
.rep-fig { display: flex; align-items: baseline; gap: 6px; }
|
|
919
|
+
.rep-fig b { font: 620 var(--fs-3)/1.2 var(--display); color: var(--ink); }
|
|
920
|
+
.rep-fig span { font-size: var(--fs-1); color: var(--ink-3); }
|
|
921
|
+
.rep-fig.done b { color: var(--working); }
|
|
922
|
+
.rep-fig.failed b { color: var(--failed); }
|
|
923
|
+
|
|
924
|
+
.rep-ws-list { display: grid; gap: var(--sp-3); }
|
|
925
|
+
.rep-ws {
|
|
926
|
+
border: 1px solid var(--line-soft); border-radius: var(--r-m);
|
|
927
|
+
background: var(--panel); overflow: hidden; min-width: 0;
|
|
928
|
+
}
|
|
929
|
+
.rep-ws-head {
|
|
930
|
+
display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
|
|
931
|
+
width: 100%; border: 0; border-bottom: 1px solid var(--line-soft); background: none;
|
|
932
|
+
padding: 11px var(--sp-4); text-align: start; cursor: pointer;
|
|
933
|
+
}
|
|
934
|
+
.rep-ws-head:hover { background: var(--raise); }
|
|
935
|
+
.rep-ws.closed .rep-ws-head { border-bottom: 0; }
|
|
936
|
+
.rep-ws-head:focus-visible, .rep-agent:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; border-radius: 4px; }
|
|
937
|
+
.rep-ws-title {
|
|
938
|
+
display: flex; align-items: center; gap: 8px; min-width: 0; flex: 1 1 auto;
|
|
939
|
+
}
|
|
940
|
+
.rep-ws-name {
|
|
941
|
+
font: 620 15px/1.3 var(--display); color: var(--ink);
|
|
942
|
+
overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0;
|
|
943
|
+
}
|
|
944
|
+
.rep-ws-meta {
|
|
945
|
+
flex: none; display: inline-flex; align-items: center; gap: 12px;
|
|
946
|
+
font-size: var(--fs-1); color: var(--ink-3); white-space: nowrap;
|
|
947
|
+
}
|
|
948
|
+
.rep-ws-tok { color: var(--ink-2); font-weight: 550; }
|
|
949
|
+
.rep-ws.open .rep-ws-chev .chev { transform: rotate(90deg); }
|
|
950
|
+
|
|
951
|
+
.rep-agents { display: grid; }
|
|
952
|
+
.rep-agent {
|
|
953
|
+
display: grid; gap: 3px; width: 100%; text-align: start; border: 0;
|
|
954
|
+
border-top: 1px solid var(--line-soft); background: none;
|
|
955
|
+
padding: 10px var(--sp-4); cursor: pointer; min-width: 0;
|
|
956
|
+
}
|
|
957
|
+
.rep-agent:first-child { border-top: 0; }
|
|
958
|
+
.rep-agent:hover { background: var(--raise); }
|
|
959
|
+
.rep-agent-top {
|
|
960
|
+
display: flex; align-items: center; gap: 8px; min-width: 0; flex-wrap: wrap;
|
|
961
|
+
}
|
|
962
|
+
.rep-agent-name {
|
|
963
|
+
font-weight: 600; font-size: var(--fs-2); color: var(--ink);
|
|
964
|
+
overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; max-width: 100%;
|
|
965
|
+
flex: 0 1 auto;
|
|
966
|
+
}
|
|
967
|
+
.rep-state-chip {
|
|
968
|
+
flex: none; font-size: 11px; font-weight: 600; line-height: 1.3;
|
|
969
|
+
padding: 1px 6px; border-radius: 4px; border: 1px solid var(--line);
|
|
970
|
+
color: var(--ink-2); background: var(--ground);
|
|
971
|
+
}
|
|
972
|
+
.rep-state-chip.working { color: var(--working); border-color: var(--working-line); }
|
|
973
|
+
.rep-state-chip.stalled { color: var(--stalled); border-color: var(--stalled-line); background: var(--tag-stalled-bg); }
|
|
974
|
+
.rep-state-chip.failed { color: var(--failed); border-color: var(--failed-line); background: var(--tag-failed-bg); }
|
|
975
|
+
.rep-state-chip.done { color: var(--ink-3); }
|
|
976
|
+
.rep-agent-meta {
|
|
977
|
+
margin-inline-start: auto; display: inline-flex; align-items: baseline; gap: 10px;
|
|
978
|
+
font-size: var(--fs-1); color: var(--ink-3); white-space: nowrap; flex-wrap: wrap;
|
|
979
|
+
}
|
|
980
|
+
.rep-agent-tool { max-width: 210px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
981
|
+
.rep-agent-tok { color: var(--ink-2); font-weight: 550; }
|
|
982
|
+
.rep-agent-task {
|
|
983
|
+
font-size: var(--fs-1); color: var(--ink-3);
|
|
984
|
+
overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0;
|
|
985
|
+
}
|
|
986
|
+
.rep-agent-why { font-size: var(--fs-1); color: var(--failed); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
|
|
987
|
+
|
|
988
|
+
/* Weekly SVG charts */
|
|
989
|
+
.rep-charts { display: grid; gap: var(--sp-3); }
|
|
990
|
+
.rep-chart-card {
|
|
991
|
+
background: var(--panel); border: 1px solid var(--line-soft);
|
|
992
|
+
border-radius: var(--r-m); padding: var(--sp-4); min-width: 0;
|
|
993
|
+
}
|
|
994
|
+
.rep-chart-card h3 { margin: 0 0 10px; font: 620 var(--fs-2)/1.3 var(--display); color: var(--ink); }
|
|
995
|
+
.rep-chart { position: relative; min-width: 0; }
|
|
996
|
+
.rep-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
|
|
997
|
+
.ch-grid { stroke: var(--line-soft); stroke-width: 1; }
|
|
998
|
+
.ch-axis { fill: var(--ink-3); font-size: 11px; font-family: var(--sans); }
|
|
999
|
+
.ch-label { fill: var(--ink-2); font-size: 11.5px; font-family: var(--sans); }
|
|
1000
|
+
.ch-val { fill: var(--ink-3); font-size: 11px; font-family: var(--sans); }
|
|
1001
|
+
.ch-seg, .ch-bar-row { cursor: pointer; outline: none; }
|
|
1002
|
+
.ch-seg:hover, .ch-seg:focus-visible { opacity: .82; stroke: var(--ink); stroke-width: 1.25; }
|
|
1003
|
+
.ch-bar-row:hover rect, .ch-bar-row:focus-visible rect { opacity: .85; stroke: var(--ink); stroke-width: 1.25; }
|
|
1004
|
+
.ch-bar-row:hover .ch-label, .ch-bar-row:focus-visible .ch-label { fill: var(--ink); font-weight: 600; }
|
|
1005
|
+
.ch-warn-line { stroke: var(--stalled); stroke-width: 1.25; stroke-dasharray: 4 4; }
|
|
1006
|
+
.ch-warn-lbl { fill: var(--stalled); font-size: 10.5px; font-weight: 600; font-family: var(--sans); }
|
|
1007
|
+
.ch-step { fill: none; stroke-width: 1.85; stroke-linejoin: miter; }
|
|
1008
|
+
.ch-pt { cursor: pointer; outline: none; stroke: var(--panel); stroke-width: 1.5; }
|
|
1009
|
+
.ch-pt:hover, .ch-pt:focus-visible { r: 4.5; stroke: var(--ink); stroke-width: 1.5; }
|
|
1010
|
+
.ch-cursor { stroke: var(--line-strong); stroke-width: 1; stroke-dasharray: 2 2; pointer-events: none; }
|
|
1011
|
+
.ch-hit { fill: transparent; cursor: crosshair; }
|
|
1012
|
+
|
|
1013
|
+
.rep-legend {
|
|
1014
|
+
display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px;
|
|
1015
|
+
font-size: var(--fs-1); color: var(--ink-2);
|
|
1016
|
+
}
|
|
1017
|
+
.rep-leg-item { display: inline-flex; align-items: center; gap: 6px; min-width: 0; max-width: 240px; }
|
|
1018
|
+
.rep-leg-sw { width: 10px; height: 10px; border-radius: 2px; flex: none; }
|
|
1019
|
+
.rep-leg-line { width: 14px; height: 2.5px; border-radius: 2px; flex: none; }
|
|
1020
|
+
.rep-leg-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
1021
|
+
.rep-leg-val { color: var(--ink-3); flex: none; }
|
|
1022
|
+
.rep-empty { margin: 4px 0 0; font-size: var(--fs-2); color: var(--ink-3); }
|
|
1023
|
+
|
|
1024
|
+
.chart-tip {
|
|
1025
|
+
position: fixed; z-index: 50; pointer-events: none;
|
|
1026
|
+
background: var(--panel); color: var(--ink); border: 1px solid var(--line-strong);
|
|
1027
|
+
border-radius: 8px; padding: 7px 10px; font-size: var(--fs-1); line-height: 1.45;
|
|
1028
|
+
box-shadow: 0 10px 26px var(--shadow); max-width: 300px; white-space: pre-line;
|
|
1029
|
+
}
|
|
1030
|
+
.chart-tip[hidden] { display: none; }
|
|
1031
|
+
|
|
1032
|
+
[dir="rtl"] .rep-chart svg { direction: ltr; }
|
|
1033
|
+
[dir="rtl"] .rep-day-nav svg { transform: scaleX(-1); }
|
|
1034
|
+
[dir="rtl"] .rep-ws.open .rep-ws-chev .chev { transform: rotate(90deg); }
|
|
1035
|
+
[dir="rtl"] .rep-ws-name, [dir="rtl"] .rep-agent-name, [dir="rtl"] .rep-agent-task, [dir="rtl"] .rep-agent-why, [dir="rtl"] .toast-msg { unicode-bidi: plaintext; }
|