sessionyard 0.7.0__py3-none-any.whl

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 (62) hide show
  1. agent_chat/001_core.sql +172 -0
  2. agent_chat/002_coordination.sql +63 -0
  3. agent_chat/003_harness_admission.sql +10 -0
  4. agent_chat/004_session_titles.sql +3 -0
  5. agent_chat/005_viewer.sql +9 -0
  6. agent_chat/006_quotas.sql +6 -0
  7. agent_chat/007_sender_receipts.sql +20 -0
  8. agent_chat/008_direct_threads.sql +49 -0
  9. agent_chat/009_pm_mark.sql +23 -0
  10. agent_chat/010_quota_backfill.sql +12 -0
  11. agent_chat/011_roles_and_work.sql +31 -0
  12. agent_chat/__init__.py +1 -0
  13. agent_chat/adapter.py +414 -0
  14. agent_chat/admin.py +524 -0
  15. agent_chat/api.py +641 -0
  16. agent_chat/auth.py +226 -0
  17. agent_chat/browser.py +118 -0
  18. agent_chat/browser_verify.py +487 -0
  19. agent_chat/browser_verify_artifacts.py +280 -0
  20. agent_chat/browser_verify_checks.py +236 -0
  21. agent_chat/browser_verify_run.py +523 -0
  22. agent_chat/cli.py +532 -0
  23. agent_chat/client.py +272 -0
  24. agent_chat/deliveries.py +555 -0
  25. agent_chat/events.py +48 -0
  26. agent_chat/feed.py +193 -0
  27. agent_chat/http_boundary.py +154 -0
  28. agent_chat/instance_client.py +349 -0
  29. agent_chat/instance_file.py +207 -0
  30. agent_chat/instance_worker.py +326 -0
  31. agent_chat/mcp/__init__.py +5 -0
  32. agent_chat/mcp/__main__.py +39 -0
  33. agent_chat/mcp/app.py +183 -0
  34. agent_chat/mcp/auth.py +67 -0
  35. agent_chat/mcp/config.py +55 -0
  36. agent_chat/mcp/tools.py +295 -0
  37. agent_chat/metrics.py +60 -0
  38. agent_chat/models.py +430 -0
  39. agent_chat/openapi.py +322 -0
  40. agent_chat/producer.py +208 -0
  41. agent_chat/protocol.py +71 -0
  42. agent_chat/publication.py +252 -0
  43. agent_chat/receipts.py +225 -0
  44. agent_chat/retention.py +154 -0
  45. agent_chat/roles.py +153 -0
  46. agent_chat/rooms.py +179 -0
  47. agent_chat/sessions.py +340 -0
  48. agent_chat/skills/agent-chat/SKILL.md +64 -0
  49. agent_chat/state.py +144 -0
  50. agent_chat/storage.py +110 -0
  51. agent_chat/threads.py +50 -0
  52. agent_chat/web/Manrope-OFL.txt +93 -0
  53. agent_chat/web/Manrope-Variable.ttf +0 -0
  54. agent_chat/web/chat.css +936 -0
  55. agent_chat/web/chat.js +1922 -0
  56. agent_chat/web/i18n.js +340 -0
  57. agent_chat/web/index.html +264 -0
  58. sessionyard-0.7.0.dist-info/METADATA +314 -0
  59. sessionyard-0.7.0.dist-info/RECORD +62 -0
  60. sessionyard-0.7.0.dist-info/WHEEL +4 -0
  61. sessionyard-0.7.0.dist-info/entry_points.txt +3 -0
  62. sessionyard-0.7.0.dist-info/licenses/LICENSE +661 -0
@@ -0,0 +1,936 @@
1
+ @font-face {
2
+ font-family: "Manrope";
3
+ src: url("/ui/Manrope-Variable.ttf") format("truetype");
4
+ font-style: normal;
5
+ font-weight: 200 800;
6
+ font-display: swap;
7
+ }
8
+
9
+ :root {
10
+ color-scheme: light dark;
11
+ font-family: "Manrope", system-ui, -apple-system, "Segoe UI", ui-sans-serif, sans-serif;
12
+ font-synthesis: none;
13
+ text-rendering: optimizeLegibility;
14
+ --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
15
+ --canvas: #f6f1e7;
16
+ --surface: #ffffff;
17
+ --foreground: #252b3a;
18
+ --muted: #f6f1e7;
19
+ --muted-strong: #586172;
20
+ --line: #d8d4cb;
21
+ --input: #7b8392;
22
+ --primary: #2747a1;
23
+ --primary-hover: #203b88;
24
+ --primary-active: #192f6e;
25
+ --primary-foreground: #ffffff;
26
+ --accent: #ebf0fc;
27
+ --accent-foreground: #2747a1;
28
+ --accent-border: #c6d3f3;
29
+ --danger: #9c3431;
30
+ --danger-soft: #f9e9e5;
31
+ --success: #246342;
32
+ --success-soft: #eaf3ec;
33
+ --success-border: #b9d8c4;
34
+ --warning: #735315;
35
+ --warning-soft: #f8ecce;
36
+ --ring: #2747a1;
37
+ --hue-claude: #a8561f;
38
+ --hue-codex: #1f7452;
39
+ --hue-pi: #6b3fa8;
40
+ --hue-deepseek: #1d6fa6;
41
+ --app-bar-height: 48px;
42
+ --row-hover: color-mix(in srgb, var(--primary) 5%, var(--surface));
43
+ --hairline: color-mix(in srgb, var(--line) 60%, transparent);
44
+ --shadow-sm: 0 1px 2px rgba(37, 43, 58, 0.06);
45
+ --shadow-lg: 0 18px 48px rgba(37, 43, 58, 0.14);
46
+ }
47
+
48
+ @media (prefers-color-scheme: dark) {
49
+ :root {
50
+ --canvas: #252b3a;
51
+ --surface: #30384a;
52
+ --foreground: #f6f1e7;
53
+ --muted: #252b3a;
54
+ --muted-strong: #c2c8d3;
55
+ --line: #465066;
56
+ --input: #8c97aa;
57
+ --primary: #d4a43c;
58
+ --primary-hover: #c0922e;
59
+ --primary-active: #b98b2a;
60
+ --primary-foreground: #252b3a;
61
+ --accent: #3a4358;
62
+ --accent-foreground: #f6f1e7;
63
+ --accent-border: #5a657c;
64
+ --danger: #f0a19d;
65
+ --danger-soft: #4a2f33;
66
+ --success: #8fd3a8;
67
+ --success-soft: #2c4437;
68
+ --success-border: #3d6b51;
69
+ --warning: #e7c37a;
70
+ --warning-soft: #4a3f26;
71
+ --ring: #d4a43c;
72
+ --hue-claude: #e7a073;
73
+ --hue-codex: #78d4a6;
74
+ --hue-pi: #bda2f2;
75
+ --hue-deepseek: #78bdec;
76
+ --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
77
+ --shadow-lg: 0 18px 48px rgba(0, 0, 0, 0.35);
78
+ }
79
+ }
80
+
81
+ * { box-sizing: border-box; }
82
+ [hidden] { display: none !important; }
83
+ html { min-height: 100%; }
84
+ body {
85
+ margin: 0;
86
+ height: 100dvh;
87
+ overflow: hidden;
88
+ display: flex;
89
+ flex-direction: column;
90
+ color: var(--foreground);
91
+ background: var(--canvas);
92
+ font-size: 0.9rem;
93
+ line-height: 1.5;
94
+ }
95
+ h1, h2, h3, p { margin-top: 0; }
96
+ button, input, select, textarea { font: inherit; }
97
+ button, select { cursor: pointer; }
98
+ button:disabled, input:disabled, select:disabled, textarea:disabled { cursor: not-allowed; opacity: 0.55; }
99
+ :focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; }
100
+ a { color: var(--primary); }
101
+
102
+ #notice {
103
+ margin: 0;
104
+ padding: 3px 16px;
105
+ background: var(--accent);
106
+ color: var(--accent-foreground);
107
+ border-bottom: 1px solid var(--accent-border);
108
+ font-size: 0.76rem;
109
+ font-weight: 650;
110
+ line-height: 1.4;
111
+ overflow-wrap: anywhere;
112
+ }
113
+ #notice:empty { display: none; }
114
+
115
+ #pending {
116
+ margin: 0;
117
+ padding: 12px 16px;
118
+ background: var(--danger-soft);
119
+ border-bottom: 1px solid var(--danger);
120
+ color: var(--foreground);
121
+ }
122
+ #pending h2 { margin-bottom: 6px; color: var(--danger); font-size: 1rem; }
123
+ #pending p { margin: 4px 0; }
124
+ #pending .button-row { margin-top: 8px; }
125
+
126
+ /* ---- App bar: brand, room, live state, help, admin ---- */
127
+ .app-bar {
128
+ position: sticky;
129
+ top: 0;
130
+ z-index: 20;
131
+ display: flex;
132
+ align-items: center;
133
+ flex-wrap: wrap;
134
+ gap: 6px 16px;
135
+ min-height: var(--app-bar-height);
136
+ padding: 6px 16px;
137
+ background: var(--surface);
138
+ border-bottom: 1px solid var(--line);
139
+ }
140
+ .brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
141
+ .brand-mark {
142
+ display: grid;
143
+ place-items: center;
144
+ flex: 0 0 30px;
145
+ width: 30px;
146
+ height: 30px;
147
+ border-radius: 9px;
148
+ background: var(--primary);
149
+ color: var(--primary-foreground);
150
+ font-size: 0.7rem;
151
+ font-weight: 800;
152
+ letter-spacing: -0.03em;
153
+ }
154
+ .brand-name { margin: 0; font-size: 0.98rem; font-weight: 800; letter-spacing: -0.01em; }
155
+ .eyebrow {
156
+ margin: 0;
157
+ color: var(--muted-strong);
158
+ font-size: 0.7rem;
159
+ font-weight: 750;
160
+ letter-spacing: 0.12em;
161
+ text-transform: uppercase;
162
+ }
163
+ .app-room { display: flex; align-items: center; gap: 8px; min-width: 0; flex: 0 1 28rem; }
164
+ .app-room select { min-width: 0; min-height: 32px; padding: 3px 10px; font-weight: 700; }
165
+ .app-bar-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 6px 10px; margin-left: auto; }
166
+ #read-only-indicator {
167
+ margin: 0;
168
+ padding: 3px 9px;
169
+ border: 1px solid var(--accent-border);
170
+ border-radius: 8px;
171
+ background: var(--accent);
172
+ color: var(--accent-foreground);
173
+ font-size: 0.76rem;
174
+ font-weight: 750;
175
+ }
176
+ .live-indicator { display: flex; align-items: center; gap: 7px; min-width: 0; }
177
+ .live-indicator p { margin: 0; }
178
+ .live-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--input); }
179
+ .live-indicator[data-live="on"] .live-dot { background: var(--success); box-shadow: 0 0 0 3px var(--success-soft); }
180
+ #live-status { max-width: 19rem; color: var(--muted-strong); font-size: 0.75rem; line-height: 1.25; }
181
+ #live-count { max-width: 16rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.7rem; }
182
+ #live-count:empty { display: none; }
183
+ .button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
184
+
185
+ .popover { position: relative; }
186
+ .popover > summary { list-style: none; }
187
+ .popover > summary::-webkit-details-marker { display: none; }
188
+ .popover-button {
189
+ display: inline-grid;
190
+ place-items: center;
191
+ min-width: 30px;
192
+ min-height: 30px;
193
+ padding: 3px 10px;
194
+ border: 1px solid var(--line);
195
+ border-radius: 8px;
196
+ background: var(--surface);
197
+ color: var(--muted-strong);
198
+ font-size: 0.78rem;
199
+ font-weight: 700;
200
+ cursor: pointer;
201
+ }
202
+ .popover-button:hover, .popover[open] > .popover-button { background: var(--muted); color: var(--foreground); }
203
+ .popover-body {
204
+ position: absolute;
205
+ right: 0;
206
+ top: calc(100% + 8px);
207
+ z-index: 40;
208
+ width: min(27rem, calc(100vw - 32px));
209
+ max-height: calc(100dvh - 80px);
210
+ overflow: auto;
211
+ padding: 14px 16px;
212
+ background: var(--surface);
213
+ border: 1px solid var(--line);
214
+ border-radius: 12px;
215
+ box-shadow: var(--shadow-lg);
216
+ }
217
+ .help-body h2 { margin: 0 0 8px; font-size: 0.95rem; }
218
+ .help-body p { margin: 0 0 8px; font-size: 0.8rem; line-height: 1.5; color: var(--muted-strong); }
219
+ .help-body p:last-child { margin-bottom: 0; }
220
+ .help-body strong { color: var(--foreground); }
221
+ .admin-body form + form { margin-top: 12px; }
222
+
223
+ button {
224
+ font-weight: 650;
225
+ border: 1px solid transparent;
226
+ border-radius: 8px;
227
+ padding: 7px 14px;
228
+ min-height: 36px;
229
+ background: var(--surface);
230
+ color: var(--foreground);
231
+ font-size: 0.85rem;
232
+ transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
233
+ }
234
+ button.secondary { background: var(--surface); border-color: var(--input); color: var(--foreground); }
235
+ button.secondary:hover:not(:disabled) { background: var(--muted); }
236
+ button.primary { background: var(--primary); border-color: var(--primary); color: var(--primary-foreground); }
237
+ button.primary:hover:not(:disabled) { background: var(--primary-hover); border-color: var(--primary-hover); }
238
+ button.primary:active:not(:disabled) { background: var(--primary-active); border-color: var(--primary-active); }
239
+ button.ghost { background: transparent; color: var(--muted-strong); }
240
+ button.ghost:hover:not(:disabled) { background: var(--muted); color: var(--foreground); }
241
+ button.accent { background: var(--accent); border-color: var(--accent-border); color: var(--accent-foreground); }
242
+ button.accent:hover:not(:disabled) { background: var(--accent-border); }
243
+ button.danger-ghost { background: transparent; border-color: var(--danger); color: var(--danger); }
244
+ button.compact { min-height: 30px; padding: 3px 10px; font-size: 0.78rem; }
245
+
246
+ input, select, textarea {
247
+ width: 100%;
248
+ max-width: 100%;
249
+ min-height: 36px;
250
+ padding: 6px 10px;
251
+ color: var(--foreground);
252
+ background: var(--surface);
253
+ border: 1px solid var(--input);
254
+ border-radius: 8px;
255
+ font-size: 0.88rem;
256
+ }
257
+ input::placeholder, textarea::placeholder { color: var(--muted-strong); opacity: 0.8; }
258
+ textarea { display: block; resize: vertical; line-height: 1.5; }
259
+ label { display: block; margin: 8px 0 3px; color: var(--muted-strong); font-size: 0.78rem; font-weight: 650; }
260
+ fieldset { margin: 0 0 12px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; }
261
+ legend { padding: 0 6px; font-size: 0.82rem; font-weight: 750; }
262
+ .hint, .meta { margin: 6px 0 0; color: var(--muted-strong); font-size: 0.78rem; line-height: 1.45; }
263
+ .meta { font-size: 0.74rem; }
264
+ .visually-hidden {
265
+ position: absolute;
266
+ width: 1px;
267
+ height: 1px;
268
+ padding: 0;
269
+ margin: -1px;
270
+ overflow: hidden;
271
+ clip: rect(0 0 0 0);
272
+ white-space: nowrap;
273
+ border: 0;
274
+ }
275
+
276
+ /* The login region is its own scroll container. `body` is one viewport tall
277
+ with `overflow: hidden`, so a card taller than the viewport has nowhere else
278
+ to go: without this, a short desktop window clips the submit button and a
279
+ pointer user cannot reach it. `min-height: 0` lets the flex child shrink
280
+ below its content so the overflow can scroll at all, and `safe center` keeps
281
+ the card's top reachable — plain centering would place the overflow above the
282
+ scroll origin, where no scroll can recover it. The authenticated workspace
283
+ keeps its own scrolling; only this region changes. */
284
+ .login-view {
285
+ flex: 1;
286
+ min-height: 0;
287
+ display: grid;
288
+ place-items: center;
289
+ align-content: safe center;
290
+ padding: 32px 24px;
291
+ overflow-y: auto;
292
+ }
293
+ .login-card {
294
+ width: min(100%, 30rem);
295
+ padding: 32px;
296
+ background: var(--surface);
297
+ border: 1px solid var(--line);
298
+ border-radius: 16px;
299
+ box-shadow: var(--shadow-lg);
300
+ }
301
+ .login-card h1 { margin: 6px 0 10px; font-size: clamp(1.6rem, 3vw, 2.1rem); letter-spacing: -0.025em; }
302
+ .lede { margin: 0 0 18px; color: var(--muted-strong); }
303
+ /* What each token grants, so the login screen answers "what will I see" before
304
+ a password field asks for one. Two rows, read top to bottom. */
305
+ .login-facts { margin: 0 0 18px; padding: 0; display: grid; gap: 2px; }
306
+ .login-facts dt { color: var(--muted-strong); font-size: 0.72rem; font-weight: 750;
307
+ text-transform: uppercase; letter-spacing: 0.04em; }
308
+ .login-facts dd { margin: 0 0 6px; font-size: 0.86rem; line-height: 1.45; }
309
+ .login-card form { margin-top: 6px; }
310
+ .login-card .primary { width: 100%; margin-top: 12px; }
311
+
312
+ /* ---- Workspace: roster + state on the left, the conversation takes the rest ---- */
313
+ .workspace {
314
+ flex: 1;
315
+ min-height: 0;
316
+ display: grid;
317
+ grid-template-columns: 17rem minmax(0, 1fr);
318
+ grid-template-rows: minmax(0, 1fr) auto;
319
+ grid-template-areas: "side main" "state main";
320
+ min-width: 0;
321
+ }
322
+ .sidebar {
323
+ grid-area: side;
324
+ min-height: 0;
325
+ overflow: auto;
326
+ border-right: 1px solid var(--line);
327
+ background: var(--canvas);
328
+ }
329
+ .panel-heading { display: flex; align-items: center; gap: 8px; }
330
+ .participants-details > summary {
331
+ position: sticky;
332
+ top: 0;
333
+ z-index: 3;
334
+ min-height: 36px;
335
+ padding: 10px 14px 6px;
336
+ background: var(--canvas);
337
+ cursor: pointer;
338
+ list-style: none;
339
+ }
340
+ .participants-details > summary::-webkit-details-marker { display: none; }
341
+ .participants-details > summary::after { content: "▾"; color: var(--muted-strong); font-size: 0.75rem; }
342
+ .participants-details:not([open]) > summary::after { content: "▸"; }
343
+ .panel-title { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-strong); }
344
+ .count { margin-left: auto; color: var(--muted-strong); font-size: 0.74rem; font-variant-numeric: tabular-nums; }
345
+ .roster-tools { position: sticky; top: 36px; z-index: 3; padding: 0 12px 8px; background: var(--canvas); }
346
+ .roster-tools input { min-height: 30px; padding: 3px 10px; font-size: 0.8rem; }
347
+
348
+ .pm-mark { margin: 0 12px 4px; padding: 6px 9px; border-radius: 8px; color: var(--muted-strong); font-size: 0.74rem; line-height: 1.4; overflow-wrap: anywhere; }
349
+ .pm-mark.is-set { border-left: 3px solid var(--primary); background: var(--accent); color: var(--accent-foreground); }
350
+ .pm-mark-details > summary { cursor: pointer; font-size: 0.7rem; font-weight: 700; }
351
+ .pm-mark-times { margin: 3px 0 0; font-family: var(--font-mono); font-size: 0.7rem; line-height: 1.35; }
352
+
353
+ .participant-list { list-style: none; margin: 0; padding: 0 8px 12px; }
354
+ .participant-list > li {
355
+ position: relative;
356
+ margin: 1px 0;
357
+ padding: 5px 30px 6px 24px;
358
+ border-radius: 8px;
359
+ }
360
+ .participant-list > li[data-group] { margin-top: 26px; }
361
+ .participant-list > li[data-group]:first-child { margin-top: 24px; }
362
+ .participant-list > li[data-group]::before {
363
+ content: attr(data-group) " · " attr(data-count);
364
+ position: absolute;
365
+ left: 4px;
366
+ top: -20px;
367
+ color: var(--muted-strong);
368
+ font-size: 0.7rem;
369
+ font-weight: 800;
370
+ letter-spacing: 0.1em;
371
+ text-transform: uppercase;
372
+ }
373
+ .participant-list > li:hover, .participant-list > li:focus-within { background: var(--row-hover); }
374
+ .participant-list > li.is-pm { box-shadow: inset 3px 0 0 var(--primary); }
375
+ .participant-list > li.is-target { background: var(--accent); box-shadow: inset 3px 0 0 var(--accent-foreground); }
376
+ .status-dot { position: absolute; left: 9px; top: 11px; width: 8px; height: 8px; border-radius: 50%; }
377
+ .status-online { background: var(--success); }
378
+ .status-offline { background: transparent; box-shadow: inset 0 0 0 1.5px var(--input); }
379
+ .participant-top { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
380
+ .session-title {
381
+ flex: 1 1 auto;
382
+ min-width: 0;
383
+ overflow: hidden;
384
+ text-overflow: ellipsis;
385
+ white-space: nowrap;
386
+ font-size: 0.84rem;
387
+ font-weight: 700;
388
+ }
389
+ .participant-list > li[data-online="false"] .session-title { color: var(--muted-strong); font-weight: 650; }
390
+ .status-pill {
391
+ display: inline-flex;
392
+ align-items: center;
393
+ flex: 0 0 auto;
394
+ padding: 0 7px;
395
+ border: 1px solid var(--line);
396
+ border-radius: 999px;
397
+ font-size: 0.7rem;
398
+ font-weight: 700;
399
+ }
400
+ .pm-badge { color: var(--accent-foreground); background: var(--accent); border-color: var(--accent-border); }
401
+ .native-state { flex: none; color: var(--muted-strong); font-size: 0.72rem; }
402
+ .participant-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; margin-top: 1px; color: var(--muted-strong); font-size: 0.72rem; }
403
+ .participant-identity { overflow-wrap: anywhere; }
404
+ .chip { padding: 0 7px; border: 1px solid var(--line); border-radius: 999px; background: var(--muted); color: var(--muted-strong);
405
+ font-size: 0.7rem; font-weight: 650; line-height: 1.55; }
406
+ .chip-flag { border-color: transparent; background: var(--warning-soft); color: var(--warning); }
407
+ .chip-lane { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border-color: var(--accent-border);
408
+ background: var(--accent); color: var(--accent-foreground); }
409
+ .participant-lane { margin-top: 3px; color: var(--primary); font-size: 0.7rem; line-height: 1.35; overflow-wrap: anywhere; }
410
+ .participant-actions {
411
+ position: absolute;
412
+ bottom: 3px;
413
+ right: 30px;
414
+ display: flex;
415
+ gap: 3px;
416
+ padding: 2px;
417
+ border-radius: 8px;
418
+ background: var(--row-hover);
419
+ opacity: 0;
420
+ transition: opacity 0.12s ease;
421
+ }
422
+ .participant-list > li:hover .participant-actions,
423
+ .participant-list > li:focus-within .participant-actions { opacity: 1; }
424
+ .participant-actions button { min-height: 24px; padding: 1px 8px; border-color: var(--line); font-size: 0.7rem; white-space: nowrap; }
425
+ .participant-actions button:hover:not(:disabled) { background: var(--muted); }
426
+ .participant-details > summary,
427
+ .message-evidence > summary {
428
+ position: absolute;
429
+ top: 4px;
430
+ right: 6px;
431
+ display: grid;
432
+ place-items: center;
433
+ width: 22px;
434
+ height: 22px;
435
+ border-radius: 6px;
436
+ color: var(--muted-strong);
437
+ font-size: 0;
438
+ list-style: none;
439
+ cursor: pointer;
440
+ opacity: 0;
441
+ }
442
+ .participant-details > summary::-webkit-details-marker,
443
+ .message-evidence > summary::-webkit-details-marker { display: none; }
444
+ .participant-details > summary::before,
445
+ .message-evidence > summary::before { content: "⋯"; font-size: 1.1rem; line-height: 1; }
446
+ .participant-list > li:hover > .participant-details > summary,
447
+ .participant-list > li:focus-within > .participant-details > summary,
448
+ .participant-details[open] > summary,
449
+ .message-list > li:hover .message-evidence > summary,
450
+ .message-list > li:focus-within .message-evidence > summary,
451
+ .message-evidence[open] > summary { opacity: 1; }
452
+ .participant-details > summary:hover, .message-evidence > summary:hover { background: var(--muted); color: var(--foreground); }
453
+ .participant-details[open] { margin-top: 4px; padding-top: 4px; border-top: 1px solid var(--line); }
454
+ .participant-label, .participant-flags, .participant-id { margin-top: 2px; color: var(--muted-strong); font-size: 0.7rem; overflow-wrap: anywhere; }
455
+ .participant-id { font-family: var(--font-mono); font-size: 0.7rem; }
456
+ #more-participants { width: calc(100% - 24px); margin: 0 12px 12px; }
457
+
458
+ /* ---- Conversation ---- */
459
+ .conversation {
460
+ grid-area: main;
461
+ display: flex;
462
+ flex-direction: column;
463
+ min-width: 0;
464
+ min-height: 0;
465
+ overflow: hidden;
466
+ background: var(--surface);
467
+ }
468
+ .conversation-header {
469
+ display: flex;
470
+ flex-wrap: wrap;
471
+ align-items: center;
472
+ gap: 6px 16px;
473
+ flex: 0 0 auto;
474
+ min-height: 46px;
475
+ padding: 7px 20px;
476
+ background: var(--surface);
477
+ border-bottom: 1px solid var(--line);
478
+ }
479
+ .conversation-heading { display: flex; align-items: baseline; gap: 4px 12px; flex: 1 1 14rem; min-width: 0; flex-wrap: wrap; }
480
+ .conversation-heading h2 { margin: 0; font-size: 1.05rem; letter-spacing: -0.015em; overflow-wrap: anywhere; }
481
+ #thread-scope { margin: 0; }
482
+ .history-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; min-width: 0; }
483
+ .thread-filter { display: flex; align-items: center; gap: 6px; min-width: 0; }
484
+ .thread-filter input { width: 15rem; min-width: 8rem; min-height: 30px; padding: 3px 10px; font-size: 0.8rem; }
485
+
486
+ .thread-header {
487
+ display: flex;
488
+ align-items: center;
489
+ flex-wrap: wrap;
490
+ gap: 6px 8px;
491
+ margin: 0;
492
+ padding: 7px 20px;
493
+ background: var(--accent);
494
+ color: var(--accent-foreground);
495
+ border-bottom: 1px solid var(--accent-border);
496
+ font-size: 0.78rem;
497
+ overflow-wrap: anywhere;
498
+ }
499
+ .thread-header bdi { font-family: var(--font-mono); font-size: 0.72rem; }
500
+
501
+ .message-list {
502
+ flex: 1 1 auto;
503
+ min-height: 0;
504
+ overflow-y: auto;
505
+ list-style: none;
506
+ margin: 0;
507
+ padding: 2px 0 6px;
508
+ }
509
+ .message-list > li {
510
+ position: relative;
511
+ display: grid;
512
+ grid-template-columns: 2rem minmax(0, 1fr);
513
+ column-gap: 12px;
514
+ align-items: start;
515
+ padding: 9px 20px 10px 17px;
516
+ border-left: 3px solid transparent;
517
+ }
518
+ .message-list > li + li { border-top: 1px solid var(--hairline); }
519
+ .message-list > li:hover, .message-list > li:focus-within { background: var(--row-hover); }
520
+ .message-list > li.msg-question, .message-list > li.msg-consultation { border-left-color: var(--warning); }
521
+ .message-list > li.msg-decision_needed, .message-list > li.msg-blocked_on { border-left-color: var(--danger); }
522
+ .message-list > li.message-operator { background: color-mix(in srgb, var(--accent) 55%, var(--surface)); border-left-color: var(--primary); }
523
+ .message-avatar {
524
+ display: grid;
525
+ place-items: center;
526
+ width: 2rem;
527
+ height: 2rem;
528
+ border: 1px solid var(--accent-border);
529
+ border-radius: 9px;
530
+ background: var(--accent);
531
+ color: var(--accent-foreground);
532
+ font-size: 0.7rem;
533
+ font-weight: 800;
534
+ }
535
+ li[data-harness="claude"] { --hue: var(--hue-claude); }
536
+ li[data-harness="codex"] { --hue: var(--hue-codex); }
537
+ li[data-harness="pi"] { --hue: var(--hue-pi); }
538
+ li[data-harness="deepseek"] { --hue: var(--hue-deepseek); }
539
+ li[data-harness="claude"] .message-avatar, li[data-harness="codex"] .message-avatar,
540
+ li[data-harness="pi"] .message-avatar, li[data-harness="deepseek"] .message-avatar {
541
+ background: color-mix(in srgb, var(--hue) 14%, var(--surface));
542
+ border-color: color-mix(in srgb, var(--hue) 40%, var(--line));
543
+ color: var(--hue);
544
+ }
545
+ .message-operator .message-avatar { background: var(--primary); border-color: var(--primary); color: var(--primary-foreground); }
546
+ .message-main { min-width: 0; }
547
+ .message-header { display: flex; align-items: baseline; flex-wrap: wrap; gap: 1px 8px; margin: 0 0 2px; }
548
+ .sender-name { font-size: 0.875rem; font-weight: 800; overflow-wrap: anywhere; }
549
+ .sender-identity { color: var(--muted-strong); font-size: 0.74rem; overflow-wrap: anywhere; }
550
+ .timestamp { color: var(--muted-strong); font-size: 0.74rem; white-space: nowrap; }
551
+ .kind-badge {
552
+ display: inline-flex;
553
+ align-items: center;
554
+ padding: 0 8px;
555
+ border: 1px solid var(--line);
556
+ border-radius: 999px;
557
+ background: var(--muted);
558
+ color: var(--muted-strong);
559
+ font-size: 0.7rem;
560
+ font-weight: 750;
561
+ line-height: 1.6;
562
+ white-space: nowrap;
563
+ }
564
+ .kind-question, .kind-consultation { background: var(--warning-soft); border-color: var(--warning); color: var(--warning); }
565
+ .kind-decision_needed { background: var(--danger-soft); border-color: var(--danger); color: var(--danger); font-weight: 800; }
566
+ .kind-status { background: var(--accent); border-color: var(--accent-border); color: var(--accent-foreground); }
567
+ .operator-label { color: var(--muted-strong); font-size: 0.7rem; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; }
568
+ .thread-key {
569
+ padding: 0 6px;
570
+ border: 1px solid var(--accent-border);
571
+ border-radius: 6px;
572
+ background: var(--accent);
573
+ color: var(--accent-foreground);
574
+ font-family: var(--font-mono);
575
+ font-size: 0.72rem;
576
+ overflow-wrap: anywhere;
577
+ }
578
+ .resolved-badge {
579
+ padding: 0 7px;
580
+ border: 1px solid var(--success-border);
581
+ border-radius: 999px;
582
+ background: var(--success-soft);
583
+ color: var(--success);
584
+ font-size: 0.7rem;
585
+ font-weight: 750;
586
+ }
587
+ .reply-context { margin: 0 0 3px; color: var(--muted-strong); font-size: 0.74rem; overflow-wrap: anywhere; }
588
+ .body { margin: 0; max-width: 92ch; font-size: 0.9rem; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; unicode-bidi: plaintext; }
589
+ .message-actions {
590
+ position: absolute;
591
+ top: 5px;
592
+ right: 40px;
593
+ display: flex;
594
+ gap: 4px;
595
+ padding: 2px;
596
+ border-radius: 8px;
597
+ background: var(--row-hover);
598
+ opacity: 0;
599
+ transition: opacity 0.12s ease;
600
+ }
601
+ .message-list > li:hover .message-actions, .message-list > li:focus-within .message-actions { opacity: 1; }
602
+ .message-actions button { min-height: 26px; padding: 2px 10px; border-color: var(--line); font-size: 0.74rem; }
603
+ .message-actions button:hover:not(:disabled) { background: var(--muted); }
604
+ .message-evidence[open] { margin-top: 6px; padding-top: 6px; border-top: 1px dashed var(--line); }
605
+ .evidence-grid { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 3px 10px; margin: 4px 0 0; font-size: 0.74rem; }
606
+ .evidence-grid dt { color: var(--muted-strong); }
607
+ .evidence-grid dd { margin: 0; overflow-wrap: anywhere; }
608
+ .identifier {
609
+ padding: 0 4px;
610
+ border: 1px solid var(--line);
611
+ border-radius: 5px;
612
+ background: var(--muted);
613
+ font-family: var(--font-mono);
614
+ font-size: 0.7rem;
615
+ user-select: all;
616
+ }
617
+ .receipt-summary { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
618
+ .receipt-summary li { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 5px; color: var(--muted-strong); font-size: 0.72rem; }
619
+ .receipt-session { color: var(--muted-strong); font-family: var(--font-mono); overflow-wrap: anywhere; margin-right: 3px; }
620
+ .receipt-state { padding: 0 5px; border: 1px solid transparent; border-radius: 5px; background: transparent; color: color-mix(in srgb, var(--muted-strong) 75%, transparent); white-space: nowrap; }
621
+ .receipt-state.is-present { border-color: var(--success-border); background: var(--success-soft); color: var(--success); }
622
+ .receipt-state.is-uncertain { border-color: var(--warning); background: var(--warning-soft); color: var(--warning); }
623
+ .receipt-state.is-missing { color: color-mix(in srgb, var(--muted-strong) 75%, transparent); }
624
+ .evidence-receipts { margin: 6px 0 0; padding-left: 16px; color: var(--muted-strong); font-size: 0.72rem; overflow-wrap: anywhere; }
625
+ .evidence-receipts li { margin-block: 3px; }
626
+
627
+ .history-footer { flex: 0 0 auto; display: flex; flex-direction: column; gap: 4px; padding: 0 20px 6px; }
628
+ .history-footer:not(:has(button:not([hidden]))) { display: none; }
629
+ .history-footer button { align-self: flex-start; }
630
+
631
+ /* ---- Composer: one compact box, always in reach ---- */
632
+ .composer {
633
+ flex: 0 0 auto;
634
+ max-height: min(55dvh, 30rem);
635
+ overflow-y: auto;
636
+ overscroll-behavior: contain;
637
+ padding: 8px 16px 12px;
638
+ background: var(--surface);
639
+ border-top: 1px solid var(--line);
640
+ }
641
+ .composer fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
642
+ .composer-box {
643
+ display: flex;
644
+ flex-direction: column;
645
+ gap: 4px;
646
+ padding: 7px 10px 8px;
647
+ border: 1px solid var(--input);
648
+ border-radius: 12px;
649
+ background: var(--surface);
650
+ }
651
+ .composer-box:focus-within { border-color: var(--ring); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ring) 18%, transparent); }
652
+ .composer-context { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; font-size: 0.74rem; }
653
+ .reply-target { margin: 0; flex: none; color: var(--accent-foreground); font-size: 0.74rem; font-weight: 650; overflow-wrap: anywhere; }
654
+ .target-row { display: flex; align-items: center; flex: 1 1 auto; gap: 6px; min-width: 0; }
655
+ .to-label { color: var(--muted-strong); font-size: 0.74rem; font-weight: 650; }
656
+ .target-list {
657
+ flex: 1 1 12rem;
658
+ max-height: 3.6rem;
659
+ overflow-y: auto;
660
+ overscroll-behavior: contain;
661
+ list-style: none;
662
+ margin: 0;
663
+ padding: 0;
664
+ display: flex;
665
+ flex-wrap: wrap;
666
+ align-content: flex-start;
667
+ gap: 4px;
668
+ min-width: 0;
669
+ }
670
+ .target-list:empty::before { content: "Bez odbiorcy: wiadomość ogólna, nie budzi sesji. Odbiorcę wybierzesz przyciskiem „Wybierz” przy uczestniku."; color: var(--muted-strong); }
671
+ .target-list:empty ~ #clear-targets { display: none; }
672
+ .target-list li {
673
+ display: flex;
674
+ align-items: center;
675
+ gap: 5px;
676
+ max-width: 100%;
677
+ padding: 1px 9px;
678
+ border: 1px solid var(--accent-border);
679
+ border-radius: 999px;
680
+ background: var(--accent);
681
+ color: var(--accent-foreground);
682
+ font-size: 0.72rem;
683
+ overflow-wrap: anywhere;
684
+ }
685
+ .target-list li bdi { font-weight: 700; }
686
+ #body {
687
+ min-height: 3.1rem;
688
+ max-height: 9rem;
689
+ padding: 4px 2px;
690
+ border: 0;
691
+ border-radius: 0;
692
+ background: transparent;
693
+ resize: none;
694
+ field-sizing: content;
695
+ font-size: 0.9rem;
696
+ }
697
+ #body:focus-visible { outline: none; }
698
+ .composer-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; padding-top: 4px; border-top: 1px solid var(--hairline); }
699
+ .composer-bar .field { display: flex; align-items: center; gap: 6px; min-width: 0; }
700
+ .composer-bar .field.grow { flex: 1 1 14rem; }
701
+ .composer-bar label { margin: 0; white-space: nowrap; font-size: 0.74rem; }
702
+ .composer-bar select, .composer-bar input { width: auto; min-height: 30px; padding: 3px 8px; font-size: 0.8rem; }
703
+ .composer-bar .grow input { flex: 1 1 auto; width: 100%; }
704
+ .composer-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
705
+ #send { min-height: 34px; padding: 5px 20px; }
706
+ .composer .hint { margin: 0; font-size: 0.72rem; }
707
+
708
+ /* ---- Resource observations, under the roster ---- */
709
+ .details {
710
+ grid-area: state;
711
+ min-height: 0;
712
+ max-height: min(15rem, 34dvh);
713
+ overflow: auto;
714
+ border-top: 1px solid var(--line);
715
+ border-right: 1px solid var(--line);
716
+ background: var(--canvas);
717
+ }
718
+ .state-panel > summary {
719
+ position: sticky;
720
+ top: 0;
721
+ z-index: 2;
722
+ display: flex;
723
+ align-items: center;
724
+ justify-content: space-between;
725
+ gap: 8px;
726
+ padding: 8px 14px 6px;
727
+ background: var(--canvas);
728
+ cursor: pointer;
729
+ list-style: none;
730
+ }
731
+ .state-panel > summary::-webkit-details-marker { display: none; }
732
+ .state-panel > summary::after { content: "▸"; color: var(--muted-strong); font-size: 0.75rem; }
733
+ .state-panel[open] > summary::after { content: "▾"; }
734
+ .state-panel h2 { margin: 0; color: var(--muted-strong); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
735
+ .state-panel > .meta { margin: 0 0 6px; padding: 0 14px; font-size: 0.7rem; }
736
+ #state-groups { padding: 0 14px 12px; }
737
+ #state-groups > div { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; margin-top: 8px; padding-top: 7px;
738
+ border-top: 1px solid var(--line); font-size: 0.76rem; overflow-wrap: anywhere; }
739
+ #state-groups > div > ul { flex: 1 1 100%; }
740
+ #state-groups > div:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
741
+ #state-groups ul { margin: 2px 0 0; padding-left: 14px; }
742
+ #state-groups li { margin-block: 4px; }
743
+ #state-groups p { margin: 0; }
744
+ #state-groups pre {
745
+ margin: 4px 0 0;
746
+ padding: 6px 8px;
747
+ border-radius: 6px;
748
+ background: var(--surface);
749
+ font-size: 0.72rem;
750
+ white-space: pre-wrap;
751
+ overflow-wrap: anywhere;
752
+ unicode-bidi: plaintext;
753
+ }
754
+ #state-groups button { min-height: 26px; padding: 2px 8px; border-color: var(--line); font-size: 0.7rem; }
755
+ #state-groups button:hover:not(:disabled) { background: var(--muted); }
756
+
757
+ @media (max-width: 1180px) {
758
+ .workspace { grid-template-columns: 15rem minmax(0, 1fr); }
759
+ .thread-filter input { width: 11rem; }
760
+ }
761
+
762
+ @media (hover: none) {
763
+ .participant-actions, .message-actions { opacity: 1; pointer-events: auto; position: static; margin-top: 4px; padding: 0; background: none; }
764
+ .participant-details > summary, .message-evidence > summary { position: static; opacity: 1; width: auto; height: auto; font-size: 0.74rem; display: block; margin-top: 4px; }
765
+ .participant-details > summary::before, .message-evidence > summary::before { content: none; }
766
+ }
767
+
768
+ @media (max-width: 820px) {
769
+ body { height: auto; min-height: 100dvh; overflow: auto; }
770
+ /* Narrow bar, three rows: brand with help, rooms and logout; room picker; live state with its switch. The bar
771
+ scrolls away with the page so the conversation and Send keep the screen. */
772
+ .app-bar { position: relative; gap: 6px 8px; }
773
+ .app-bar-actions { display: contents; }
774
+ .popover { position: static; }
775
+ .popover-body { left: 12px; right: 12px; top: calc(100% + 4px); width: auto; }
776
+ .brand { order: 1; flex: 1 1 auto; }
777
+ #help { order: 2; }
778
+ #room-admin { order: 3; }
779
+ #logout { order: 4; }
780
+ .app-room { order: 5; flex: 1 1 100%; }
781
+ .app-room select { flex: 1 1 auto; }
782
+ #read-only-indicator { order: 6; }
783
+ .live-indicator { order: 7; flex: 1 1 10rem; }
784
+ #live-toggle { order: 8; }
785
+ #live-status { max-width: none; }
786
+ .workspace { display: flex; flex-direction: column; }
787
+ .sidebar { height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
788
+ .participants-details > summary, .roster-tools { position: static; }
789
+ .participant-list > li { padding-right: 10px; }
790
+ .participant-actions, .message-actions { position: static; opacity: 1; pointer-events: auto; margin-top: 4px; padding: 0; background: none; }
791
+ .participant-details > summary, .message-evidence > summary { position: static; opacity: 1; width: auto; height: auto; font-size: 0.74rem; display: block; margin-top: 4px; }
792
+ .participant-details > summary::before, .message-evidence > summary::before { content: none; }
793
+ .conversation { height: auto; min-height: 0; overflow: visible; }
794
+ .message-list { overflow: visible; }
795
+ .composer { max-height: none; overflow: visible; }
796
+ .conversation-header, .thread-header, .history-footer { padding-left: 16px; padding-right: 16px; }
797
+ .message-list > li { padding-left: 13px; padding-right: 14px; }
798
+ .thread-filter { flex: 1 1 100%; }
799
+ .thread-filter input { flex: 1 1 auto; width: auto; }
800
+ .details { max-height: none; border-right: 0; border-top: 1px solid var(--line); }
801
+ .composer-bar .field.grow { flex: 1 1 100%; }
802
+ #send { min-height: 40px; }
803
+ .login-card { padding: 24px; }
804
+ }
805
+
806
+ @media (prefers-reduced-motion: reduce) {
807
+ * { scroll-behavior: auto !important; transition: none !important; }
808
+ }
809
+
810
+ /* Sessions view: a separate table beside the conversation. The chat view keeps its own grid. */
811
+ .app-shell {
812
+ flex: 1;
813
+ min-height: 0;
814
+ display: flex;
815
+ flex-direction: column;
816
+ min-width: 0;
817
+ }
818
+ .app-tabs {
819
+ flex: 0 0 auto;
820
+ display: flex;
821
+ gap: 2px;
822
+ padding: 6px 20px 0;
823
+ background: var(--surface);
824
+ border-bottom: 1px solid var(--line);
825
+ }
826
+ .app-tabs .tab {
827
+ appearance: none;
828
+ border: 0;
829
+ border-bottom: 2px solid transparent;
830
+ background: none;
831
+ color: var(--muted-strong);
832
+ font: inherit;
833
+ font-size: 0.86rem;
834
+ font-weight: 600;
835
+ padding: 7px 12px 8px;
836
+ cursor: pointer;
837
+ }
838
+ .app-tabs .tab:hover { color: var(--foreground); }
839
+ .app-tabs .tab[aria-selected="true"] { color: var(--foreground); border-bottom-color: var(--primary); }
840
+ .sessions-view {
841
+ flex: 1;
842
+ min-height: 0;
843
+ overflow: auto;
844
+ padding: 14px 20px 24px;
845
+ background: var(--surface);
846
+ }
847
+ .sessions-header {
848
+ display: flex;
849
+ align-items: flex-start;
850
+ justify-content: space-between;
851
+ gap: 12px 24px;
852
+ flex-wrap: wrap;
853
+ }
854
+ .sessions-header h2 { margin: 0; font-size: 1.05rem; }
855
+ .sessions-header p { margin: 4px 0 0; max-width: 56rem; }
856
+ .sessions-tools { margin-top: 10px; }
857
+ .sessions-tools input { width: min(100%, 24rem); min-height: 32px; }
858
+ .sessions-table-wrap {
859
+ margin-top: 10px;
860
+ overflow-x: auto;
861
+ border: 1px solid var(--line);
862
+ border-radius: 10px;
863
+ background: var(--canvas);
864
+ }
865
+ .sessions-table {
866
+ width: 100%;
867
+ border-collapse: collapse;
868
+ font-size: 0.8rem;
869
+ }
870
+ .sessions-table th,
871
+ .sessions-table td {
872
+ padding: 8px 10px;
873
+ text-align: left;
874
+ vertical-align: top;
875
+ border-bottom: 1px solid var(--line);
876
+ }
877
+ .sessions-table thead th {
878
+ position: sticky;
879
+ top: 0;
880
+ z-index: 1;
881
+ background: var(--canvas);
882
+ color: var(--muted-strong);
883
+ font-size: 0.72rem;
884
+ letter-spacing: 0.04em;
885
+ text-transform: uppercase;
886
+ white-space: nowrap;
887
+ }
888
+ .sessions-table tbody tr:last-child td { border-bottom: 0; }
889
+ .sessions-table tbody tr[hidden] { display: none; }
890
+ .sessions-table tbody tr:hover { background: var(--row-hover); }
891
+ .sessions-table .session-name { font-weight: 650; overflow-wrap: anywhere; }
892
+ .sessions-table .session-id { display: block; color: var(--muted-strong); font-family: var(--font-mono); font-size: 0.72rem; }
893
+ .sessions-table .session-meta { display: block; color: var(--muted-strong); font-size: 0.74rem; }
894
+ .sessions-table .state-line { display: block; white-space: nowrap; }
895
+ .sessions-table .state-line + .state-line { margin-top: 2px; }
896
+ .sessions-table .chip,
897
+ .sessions-table .role-badge {
898
+ display: inline-block;
899
+ margin: 0 4px 3px 0;
900
+ padding: 1px 7px;
901
+ border: 1px solid var(--accent-border);
902
+ border-radius: 999px;
903
+ background: var(--accent);
904
+ color: var(--accent-foreground);
905
+ font-size: 0.72rem;
906
+ white-space: nowrap;
907
+ }
908
+ .sessions-table .role-badge.is-pm { border-color: var(--success-border); background: var(--success-soft); color: var(--success); }
909
+ .sessions-table .work-forge { color: var(--muted-strong); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; }
910
+ .sessions-table .work-list, .sessions-table .pr-list { margin: 0; padding: 0; list-style: none; }
911
+ .sessions-table .work-list li, .sessions-table .pr-list li { margin: 0 0 2px; overflow-wrap: anywhere; }
912
+ .sessions-table .role-cell { min-width: 11rem; }
913
+ .sessions-table .role-controls { margin-top: 5px; }
914
+ .sessions-table .role-controls summary { cursor: pointer; color: var(--muted-strong); font-size: 0.74rem; }
915
+ .sessions-table .role-controls .role-row { display: flex; align-items: center; gap: 6px; margin-top: 4px; }
916
+ .sessions-table .role-controls .role-row span { flex: 1 1 auto; }
917
+ .sessions-table button.role-session {
918
+ appearance: none;
919
+ border: 1px solid var(--line);
920
+ border-radius: 6px;
921
+ background: var(--surface);
922
+ color: var(--foreground);
923
+ font: inherit;
924
+ font-size: 0.72rem;
925
+ padding: 2px 6px;
926
+ cursor: pointer;
927
+ white-space: nowrap;
928
+ }
929
+ .sessions-table button.role-session:hover:not(:disabled) { border-color: var(--primary); }
930
+ .sessions-table button.role-session:disabled { opacity: 0.5; cursor: default; }
931
+ .sessions-table .empty-row td { color: var(--muted-strong); text-align: center; padding: 18px; }
932
+ @media (max-width: 820px) {
933
+ .app-tabs { padding: 6px 12px 0; }
934
+ .sessions-view { padding: 12px; }
935
+ .sessions-table { min-width: 62rem; }
936
+ }