backlog-tiny-mcp 0.35.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 (97) hide show
  1. backlog_mcp/__init__.py +29 -0
  2. backlog_mcp/__main__.py +10 -0
  3. backlog_mcp/auth.py +199 -0
  4. backlog_mcp/backlog.py +696 -0
  5. backlog_mcp/cli.py +2046 -0
  6. backlog_mcp/client.py +320 -0
  7. backlog_mcp/computer.py +33 -0
  8. backlog_mcp/database.py +80 -0
  9. backlog_mcp/embeddings.py +900 -0
  10. backlog_mcp/global_rules.md +126 -0
  11. backlog_mcp/guidance.py +11 -0
  12. backlog_mcp/guide/index.md +11 -0
  13. backlog_mcp/guide/memory.md +27 -0
  14. backlog_mcp/guide/projects.md +16 -0
  15. backlog_mcp/guide/search.md +72 -0
  16. backlog_mcp/guide/tasks.md +40 -0
  17. backlog_mcp/guide/workflow.md +22 -0
  18. backlog_mcp/httpd.py +270 -0
  19. backlog_mcp/migrate.py +113 -0
  20. backlog_mcp/migrations/0001-initial.sql +194 -0
  21. backlog_mcp/migrations/0002-task-assignment.sql +2 -0
  22. backlog_mcp/migrations/0003-task-edit-claims.sql +5 -0
  23. backlog_mcp/migrations/0004-memory-visibility.sql +42 -0
  24. backlog_mcp/model/CITATION.bib +9 -0
  25. backlog_mcp/model/LICENSE +202 -0
  26. backlog_mcp/model/README.md +12 -0
  27. backlog_mcp/model/UPSTREAM.md +2053 -0
  28. backlog_mcp/model/config.json +12 -0
  29. backlog_mcp/model/model.safetensors +4 -0
  30. backlog_mcp/model/modules.json +14 -0
  31. backlog_mcp/model/provenance.json +16 -0
  32. backlog_mcp/model/tokenizer.json +1 -0
  33. backlog_mcp/models.py +581 -0
  34. backlog_mcp/names.py +35 -0
  35. backlog_mcp/paths.py +53 -0
  36. backlog_mcp/protocol_storage.py +104 -0
  37. backlog_mcp/queries.py +7 -0
  38. backlog_mcp/queries.sql +531 -0
  39. backlog_mcp/records.py +215 -0
  40. backlog_mcp/render.py +479 -0
  41. backlog_mcp/server.py +2864 -0
  42. backlog_mcp/skills/autopilot/SKILL.md +96 -0
  43. backlog_mcp/skills/planning/SKILL.md +106 -0
  44. backlog_mcp/skills/planning/references/splitting.md +45 -0
  45. backlog_mcp/skills/triage/SKILL.md +104 -0
  46. backlog_mcp/skills/triage/references/conventions.md +43 -0
  47. backlog_mcp/skills.py +56 -0
  48. backlog_mcp/static/agent-config.js +20 -0
  49. backlog_mcp/static/app.css +1950 -0
  50. backlog_mcp/static/app.js +1301 -0
  51. backlog_mcp/static/assignments.js +96 -0
  52. backlog_mcp/static/breadcrumbs.js +54 -0
  53. backlog_mcp/static/comment-composer.js +95 -0
  54. backlog_mcp/static/connect.css +98 -0
  55. backlog_mcp/static/connect.html +74 -0
  56. backlog_mcp/static/connect.js +160 -0
  57. backlog_mcp/static/credentials.js +72 -0
  58. backlog_mcp/static/diagrams.js +128 -0
  59. backlog_mcp/static/dom.js +162 -0
  60. backlog_mcp/static/editor-claim.js +104 -0
  61. backlog_mcp/static/editor.js +355 -0
  62. backlog_mcp/static/index.html +137 -0
  63. backlog_mcp/static/markdown.css +33 -0
  64. backlog_mcp/static/markdown.js +72 -0
  65. backlog_mcp/static/mcp.js +177 -0
  66. backlog_mcp/static/memory-append.js +34 -0
  67. backlog_mcp/static/memory-editor.js +173 -0
  68. backlog_mcp/static/memory.js +279 -0
  69. backlog_mcp/static/package.json +1 -0
  70. backlog_mcp/static/project-form.js +71 -0
  71. backlog_mcp/static/project-settings.js +225 -0
  72. backlog_mcp/static/scope.js +90 -0
  73. backlog_mcp/static/statistics.js +87 -0
  74. backlog_mcp/static/task-browser.js +100 -0
  75. backlog_mcp/static/task-pagination.js +94 -0
  76. backlog_mcp/static/task-picker.js +164 -0
  77. backlog_mcp/static/task-table.js +74 -0
  78. backlog_mcp/static/vendor/README.md +12 -0
  79. backlog_mcp/static/vendor/dompurify-LICENSE +202 -0
  80. backlog_mcp/static/vendor/highlight-LICENSE +29 -0
  81. backlog_mcp/static/vendor/highlight-dark.css +118 -0
  82. backlog_mcp/static/vendor/highlight-light.css +118 -0
  83. backlog_mcp/static/vendor/highlight.min.js +1262 -0
  84. backlog_mcp/static/vendor/marked-LICENSE +44 -0
  85. backlog_mcp/static/vendor/marked.esm.js +80 -0
  86. backlog_mcp/static/vendor/marked.esm.js.map +7 -0
  87. backlog_mcp/static/vendor/mermaid-LICENSE +21 -0
  88. backlog_mcp/static/vendor/mermaid.min.js +4376 -0
  89. backlog_mcp/static/vendor/purify.es.mjs +2722 -0
  90. backlog_mcp/static/vendor/purify.es.mjs.map +1 -0
  91. backlog_mcp/transaction.py +47 -0
  92. backlog_mcp/version.py +79 -0
  93. backlog_mcp/webui.py +63 -0
  94. backlog_tiny_mcp-0.35.0.dist-info/METADATA +84 -0
  95. backlog_tiny_mcp-0.35.0.dist-info/RECORD +97 -0
  96. backlog_tiny_mcp-0.35.0.dist-info/WHEEL +4 -0
  97. backlog_tiny_mcp-0.35.0.dist-info/entry_points.txt +4 -0
@@ -0,0 +1,1950 @@
1
+ :root {
2
+ scrollbar-gutter: stable;
3
+ scroll-padding-top: 110px;
4
+ font-family:
5
+ Inter,
6
+ ui-sans-serif,
7
+ system-ui,
8
+ -apple-system,
9
+ sans-serif;
10
+ color: var(--text);
11
+ background: var(--page);
12
+ font-synthesis: none;
13
+ font-size: 14px;
14
+ line-height: 1.5;
15
+ --accent: #246449;
16
+ --line: #dde3da;
17
+ --muted: #626e66;
18
+ color-scheme: light;
19
+ --text: #24312d;
20
+ --page: #f6f7f3;
21
+ --surface: #fff;
22
+ --brand: #63986c;
23
+ --primary: #246449;
24
+ --on-primary: #fff;
25
+ --hover: #eef2eb;
26
+ --border-hover: #8aad91;
27
+ --column: #ecefe8;
28
+ --soft-line: #dfe5dc;
29
+ --tag-bg: #eef3eb;
30
+ --tag-text: #566950;
31
+ --priority: #776746;
32
+ --high: #91611e;
33
+ --danger: #aa3434;
34
+ --field-border: #ccd5ca;
35
+ --focus: #65866c;
36
+ --code-bg: #f0f3ed;
37
+ --toast: #622d2d;
38
+ --warning: #bb923f;
39
+ --tab-bg: #f6f8f4;
40
+ --conflict-bg: #faf9f4;
41
+ --card-shadow: #24312d0a;
42
+ --tab-shadow: #24312d1a;
43
+ --dialog-shadow: #1d2e2433;
44
+ --backdrop: #1d2e2460;
45
+ }
46
+ * {
47
+ box-sizing: border-box;
48
+ }
49
+ body {
50
+ margin: 0;
51
+ }
52
+ header {
53
+ min-height: 68px;
54
+ position: sticky;
55
+ top: 0;
56
+ z-index: 10;
57
+ display: flex;
58
+ align-items: center;
59
+ gap: 20px;
60
+ padding: 12px 28px;
61
+ background: var(--surface);
62
+ border-bottom: 1px solid var(--line);
63
+ }
64
+ .brand {
65
+ font-size: 25px;
66
+ font-weight: 780;
67
+ letter-spacing: -1px;
68
+ color: var(--text);
69
+ text-decoration: none;
70
+ }
71
+ .brand-dot {
72
+ color: var(--brand);
73
+ }
74
+ #breadcrumbs {
75
+ color: var(--muted);
76
+ flex: 1;
77
+ min-width: 0;
78
+ font-size: 13px;
79
+ }
80
+ #breadcrumbs ol {
81
+ display: flex;
82
+ flex-wrap: wrap;
83
+ align-items: baseline;
84
+ gap: 4px 8px;
85
+ list-style: none;
86
+ margin: 0;
87
+ padding: 0;
88
+ }
89
+ #breadcrumbs li {
90
+ display: inline;
91
+ overflow-wrap: anywhere;
92
+ }
93
+ #breadcrumbs li + li::before {
94
+ content: "›";
95
+ margin-right: 8px;
96
+ color: var(--muted);
97
+ }
98
+ #breadcrumbs a {
99
+ color: var(--muted);
100
+ text-underline-offset: 3px;
101
+ }
102
+ #breadcrumbs a:hover,
103
+ #breadcrumbs [aria-current="page"] {
104
+ color: var(--text);
105
+ }
106
+ #principal {
107
+ font-size: 12px;
108
+ color: var(--muted);
109
+ }
110
+ main {
111
+ max-width: 1600px;
112
+ margin: auto;
113
+ padding: 28px;
114
+ min-width: 0;
115
+ }
116
+ h1 {
117
+ font-size: 28px;
118
+ line-height: 1.25;
119
+ overflow-wrap: anywhere;
120
+ letter-spacing: -1px;
121
+ margin: 0 0 12px;
122
+ }
123
+ h2 {
124
+ font-size: 17px;
125
+ margin: 0 0 18px;
126
+ }
127
+ h3 {
128
+ font-size: 15px;
129
+ }
130
+ a {
131
+ color: var(--accent);
132
+ }
133
+ button,
134
+ input,
135
+ select,
136
+ textarea {
137
+ font: inherit;
138
+ }
139
+ button,
140
+ .button {
141
+ border: 1px solid var(--line);
142
+ border-radius: 7px;
143
+ padding: 9px 14px;
144
+ background: var(--surface);
145
+ color: var(--text);
146
+ cursor: pointer;
147
+ text-decoration: none;
148
+ display: inline-flex;
149
+ align-items: center;
150
+ justify-content: center;
151
+ gap: 8px;
152
+ min-height: 40px;
153
+ flex-shrink: 0;
154
+ font-weight: 550;
155
+ line-height: 1.4;
156
+ }
157
+ button:hover,
158
+ .button:hover {
159
+ background: var(--hover);
160
+ }
161
+ button.primary,
162
+ .button.primary {
163
+ background: var(--primary);
164
+ color: var(--on-primary);
165
+ border-color: var(--primary);
166
+ }
167
+ button:disabled {
168
+ opacity: 0.5;
169
+ cursor: wait;
170
+ }
171
+ .quiet {
172
+ background: transparent;
173
+ border-color: transparent;
174
+ }
175
+ kbd {
176
+ margin-left: 22px;
177
+ color: var(--muted);
178
+ font-size: 11px;
179
+ }
180
+ .row {
181
+ display: flex;
182
+ align-items: center;
183
+ gap: 12px;
184
+ flex-wrap: wrap;
185
+ }
186
+ .spread {
187
+ justify-content: space-between;
188
+ }
189
+ .muted,
190
+ .eyebrow {
191
+ color: var(--muted);
192
+ }
193
+ .eyebrow {
194
+ text-transform: uppercase;
195
+ letter-spacing: 2px;
196
+ font-size: 11px;
197
+ margin-bottom: 12px;
198
+ }
199
+ .subtitle {
200
+ color: var(--muted);
201
+ font-size: 14px;
202
+ margin: 6px 0 20px;
203
+ }
204
+ .panel {
205
+ background: var(--surface);
206
+ border: 1px solid var(--line);
207
+ border-radius: 10px;
208
+ padding: 24px;
209
+ margin: 20px 0;
210
+ }
211
+ .projects {
212
+ display: grid;
213
+ grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
214
+ gap: 18px;
215
+ margin-top: 28px;
216
+ }
217
+ .project {
218
+ display: flex;
219
+ flex-direction: column;
220
+ min-width: 0;
221
+ overflow-wrap: anywhere;
222
+ text-decoration: none;
223
+ color: inherit;
224
+ padding: 24px;
225
+ background: var(--surface);
226
+ border: 1px solid var(--line);
227
+ border-radius: 9px;
228
+ }
229
+ .project:hover {
230
+ border-color: var(--border-hover);
231
+ }
232
+ .project h2 {
233
+ margin: 10px 0;
234
+ }
235
+ .project p {
236
+ color: var(--muted);
237
+ font-size: 13px;
238
+ }
239
+ .board {
240
+ display: grid;
241
+ grid-template-columns: repeat(4, minmax(250px, 1fr));
242
+ gap: 16px;
243
+ margin-top: 18px;
244
+ overflow-x: auto;
245
+ padding-bottom: 8px;
246
+ align-items: stretch;
247
+ height: max(360px, calc(100dvh - 355px));
248
+ }
249
+ .column {
250
+ background: var(--column);
251
+ border-radius: 9px;
252
+ padding: 12px;
253
+ min-height: 0;
254
+ min-width: 0;
255
+ display: flex;
256
+ flex-direction: column;
257
+ }
258
+ .column h2 {
259
+ display: flex;
260
+ justify-content: space-between;
261
+ align-items: center;
262
+ font-size: 12px;
263
+ letter-spacing: 1px;
264
+ text-transform: uppercase;
265
+ padding: 4px 4px 12px;
266
+ margin: 0;
267
+ flex-shrink: 0;
268
+ color: var(--muted);
269
+ }
270
+ .count {
271
+ background: var(--soft-line);
272
+ border-radius: 4px;
273
+ padding: 3px 7px;
274
+ font-size: 11px;
275
+ }
276
+ .card {
277
+ background: var(--surface);
278
+ border: 1px solid var(--soft-line);
279
+ border-radius: 7px;
280
+ padding: 16px;
281
+ margin-bottom: 10px;
282
+ box-shadow: 0 2px 3px var(--card-shadow);
283
+ cursor: grab;
284
+ overflow-wrap: anywhere;
285
+ }
286
+ .card a {
287
+ display: block;
288
+ text-decoration: none;
289
+ color: inherit;
290
+ font-size: 14px;
291
+ font-weight: 550;
292
+ line-height: 1.5;
293
+ margin: 9px 0 14px;
294
+ }
295
+ .card-meta {
296
+ display: flex;
297
+ justify-content: space-between;
298
+ color: var(--muted);
299
+ font-size: 11px;
300
+ }
301
+ .tag {
302
+ display: inline-block;
303
+ padding: 3px 7px;
304
+ background: var(--tag-bg);
305
+ color: var(--tag-text);
306
+ border-radius: 4px;
307
+ font-size: 11px;
308
+ margin: 2px;
309
+ }
310
+ .priority {
311
+ font-size: 11px;
312
+ color: var(--priority);
313
+ }
314
+ .priority.urgent {
315
+ color: var(--danger);
316
+ }
317
+ .priority.high {
318
+ color: var(--high);
319
+ }
320
+ .filters {
321
+ margin-top: 22px;
322
+ }
323
+ label {
324
+ display: block;
325
+ font-size: 13px;
326
+ margin-bottom: 16px;
327
+ }
328
+ label input,
329
+ label select,
330
+ label textarea {
331
+ display: block;
332
+ width: 100%;
333
+ margin-top: 7px;
334
+ }
335
+ input,
336
+ select,
337
+ textarea {
338
+ min-width: 0;
339
+ max-width: 100%;
340
+ min-height: 40px;
341
+ border: 1px solid var(--field-border);
342
+ border-radius: 6px;
343
+ background: var(--surface);
344
+ padding: 10px 12px;
345
+ color: inherit;
346
+ }
347
+ input:focus,
348
+ textarea:focus,
349
+ select:focus {
350
+ outline: 2px solid var(--focus);
351
+ outline-offset: 1px;
352
+ }
353
+ textarea {
354
+ display: block;
355
+ width: 100%;
356
+ min-height: 150px;
357
+ resize: vertical;
358
+ line-height: 1.6;
359
+ }
360
+ .inline {
361
+ display: flex;
362
+ align-items: center;
363
+ gap: 8px;
364
+ margin: 0;
365
+ }
366
+ .inline input {
367
+ width: 16px;
368
+ height: 16px;
369
+ min-height: 0;
370
+ flex-shrink: 0;
371
+ margin: 0;
372
+ accent-color: var(--accent);
373
+ }
374
+ .editor,
375
+ .detail {
376
+ max-width: 960px;
377
+ min-width: 0;
378
+ margin: auto;
379
+ }
380
+ .editor textarea {
381
+ min-height: 320px;
382
+ font-family: ui-monospace, monospace;
383
+ font-size: 13px;
384
+ }
385
+ .login {
386
+ max-width: 430px;
387
+ margin: 36px auto;
388
+ padding: 32px;
389
+ }
390
+ .error {
391
+ color: var(--danger);
392
+ white-space: pre-wrap;
393
+ overflow-wrap: anywhere;
394
+ }
395
+ .markdown {
396
+ overflow-wrap: anywhere;
397
+ line-height: 1.7;
398
+ font-size: 14px;
399
+ }
400
+ .markdown pre {
401
+ background: var(--code-bg);
402
+ padding: 16px;
403
+ overflow: auto;
404
+ border-radius: 6px;
405
+ }
406
+ .markdown code {
407
+ font-size: 12px;
408
+ }
409
+ .markdown table {
410
+ border-collapse: collapse;
411
+ display: block;
412
+ overflow: auto;
413
+ }
414
+ .markdown td,
415
+ .markdown th {
416
+ padding: 8px;
417
+ border: 1px solid var(--line);
418
+ }
419
+ .markdown img {
420
+ max-width: 100%;
421
+ }
422
+ .markdown input {
423
+ width: auto;
424
+ min-height: 0;
425
+ }
426
+ .comment {
427
+ border-top: 1px solid var(--line);
428
+ padding: 18px 0;
429
+ }
430
+ .comment .muted {
431
+ font-size: 12px;
432
+ }
433
+ .links {
434
+ list-style: none;
435
+ padding: 0;
436
+ }
437
+ .links li {
438
+ padding: 10px 0;
439
+ border-bottom: 1px solid var(--line);
440
+ }
441
+ dialog {
442
+ color: var(--text);
443
+ background: var(--surface);
444
+ width: min(700px, 95vw);
445
+ border: 1px solid var(--line);
446
+ border-radius: 12px;
447
+ padding: 22px;
448
+ max-height: 85dvh;
449
+ box-shadow: 0 24px 80px var(--dialog-shadow);
450
+ }
451
+ dialog::backdrop {
452
+ background: var(--backdrop);
453
+ }
454
+ #search-query {
455
+ flex: 1;
456
+ min-width: 0;
457
+ }
458
+ #search-results {
459
+ margin-top: 20px;
460
+ max-height: 55vh;
461
+ overflow: auto;
462
+ }
463
+ .search-result {
464
+ display: block;
465
+ padding: 14px;
466
+ border-radius: 6px;
467
+ text-decoration: none;
468
+ color: inherit;
469
+ }
470
+ .search-result.selected,
471
+ .search-result:hover {
472
+ background: var(--hover);
473
+ }
474
+ .search-result small {
475
+ display: block;
476
+ color: var(--muted);
477
+ margin-top: 5px;
478
+ }
479
+ #toast {
480
+ position: fixed;
481
+ bottom: 24px;
482
+ right: 24px;
483
+ max-width: min(540px, calc(100vw - 32px));
484
+ overflow-wrap: anywhere;
485
+ padding: 16px 22px;
486
+ background: var(--toast);
487
+ color: var(--on-primary);
488
+ border-radius: 8px;
489
+ z-index: 20;
490
+ }
491
+ .conflict {
492
+ border-color: var(--warning);
493
+ }
494
+ .conflict pre {
495
+ white-space: pre-wrap;
496
+ overflow-wrap: anywhere;
497
+ font-size: 12px;
498
+ }
499
+ .danger {
500
+ color: var(--danger);
501
+ }
502
+ button:focus-visible,
503
+ a:focus-visible {
504
+ outline: 2px solid var(--accent);
505
+ outline-offset: 3px;
506
+ }
507
+ [hidden] {
508
+ display: none !important;
509
+ }
510
+
511
+ /* Shared form geometry keeps controls aligned without relying on their content. */
512
+ .form-grid {
513
+ display: grid;
514
+ grid-template-columns: 1fr 1fr 2fr;
515
+ gap: 16px;
516
+ }
517
+ .form-grid > *,
518
+ .row > *,
519
+ .task-actions > *,
520
+ .relation-form > * {
521
+ min-width: 0;
522
+ }
523
+ .form-actions {
524
+ display: flex;
525
+ flex-wrap: wrap;
526
+ align-items: center;
527
+ gap: 10px;
528
+ }
529
+ .editor > .form-actions {
530
+ position: sticky;
531
+ bottom: 0;
532
+ z-index: 2;
533
+ padding: 14px 0;
534
+ background: var(--page);
535
+ border-top: 1px solid var(--line);
536
+ }
537
+ .editor > .form-actions .quiet {
538
+ margin-left: auto;
539
+ }
540
+ .editor-tabs {
541
+ display: flex;
542
+ gap: 4px;
543
+ padding: 6px;
544
+ border: 1px solid var(--line);
545
+ border-bottom: 0;
546
+ border-radius: 7px 7px 0 0;
547
+ background: var(--tab-bg);
548
+ }
549
+ .editor-tabs button {
550
+ border: 0;
551
+ background: transparent;
552
+ min-height: 32px;
553
+ padding: 6px 14px;
554
+ color: var(--muted);
555
+ }
556
+ .editor-tabs button[aria-pressed="true"] {
557
+ background: var(--surface);
558
+ color: var(--accent);
559
+ box-shadow: 0 1px 4px var(--tab-shadow);
560
+ }
561
+ .editor textarea {
562
+ border-radius: 0 0 7px 7px;
563
+ padding: 16px;
564
+ }
565
+ .editor-preview {
566
+ border: 1px solid var(--line);
567
+ border-radius: 0 0 7px 7px;
568
+ padding: 16px;
569
+ min-height: 320px;
570
+ }
571
+ .editor-preview:empty::before {
572
+ content: "Nothing to preview yet.";
573
+ color: var(--muted);
574
+ }
575
+ .task-actions {
576
+ display: flex;
577
+ flex-wrap: wrap;
578
+ align-items: end;
579
+ gap: 12px;
580
+ margin: 24px 0 18px;
581
+ }
582
+ .task-actions label {
583
+ margin: 0;
584
+ flex: 0 1 160px;
585
+ }
586
+ .detail > .muted {
587
+ font-size: 12px;
588
+ line-height: 1.8;
589
+ overflow-wrap: anywhere;
590
+ }
591
+ .detail > a,
592
+ .editor > a {
593
+ display: inline-block;
594
+ max-width: 100%;
595
+ overflow-wrap: anywhere;
596
+ text-decoration: none;
597
+ }
598
+ .relation-form {
599
+ display: grid;
600
+ grid-template-columns: 160px 110px minmax(0, 1fr) auto;
601
+ align-items: end;
602
+ gap: 12px;
603
+ margin: 20px 0;
604
+ }
605
+ .relation-form label {
606
+ margin: 0;
607
+ }
608
+ .links {
609
+ margin: 0;
610
+ }
611
+ .links .row {
612
+ display: grid;
613
+ grid-template-columns: 120px minmax(0, 1fr) 70px auto;
614
+ }
615
+ .links a,
616
+ .links small {
617
+ overflow-wrap: anywhere;
618
+ }
619
+ .links .tag {
620
+ justify-self: start;
621
+ }
622
+ .links li > small {
623
+ display: block;
624
+ margin-top: 6px;
625
+ }
626
+ .comment-form {
627
+ border-top: 1px solid var(--line);
628
+ padding-top: 20px;
629
+ }
630
+ .comment-form .markdown {
631
+ padding: 16px;
632
+ border: 1px solid var(--line);
633
+ border-radius: 7px;
634
+ margin-bottom: 16px;
635
+ }
636
+ .comment .muted {
637
+ overflow-wrap: anywhere;
638
+ }
639
+ .login > .primary {
640
+ width: 100%;
641
+ margin-top: 12px;
642
+ }
643
+ .login h1 {
644
+ font-size: 26px;
645
+ }
646
+ .login .error:empty {
647
+ display: none;
648
+ }
649
+ .stack {
650
+ overflow-y: auto;
651
+ min-height: 0;
652
+ flex: 1;
653
+ padding: 0 3px 0 0;
654
+ scrollbar-width: thin;
655
+ }
656
+ .stack:empty::after {
657
+ content: "No tasks";
658
+ display: block;
659
+ padding: 26px 8px;
660
+ text-align: center;
661
+ color: var(--muted);
662
+ font-size: 12px;
663
+ border: 1px dashed var(--field-border);
664
+ border-radius: 6px;
665
+ }
666
+ .card:hover {
667
+ border-color: var(--border-hover);
668
+ box-shadow: 0 2px 8px var(--card-shadow);
669
+ }
670
+ .card > small {
671
+ display: block;
672
+ overflow: hidden;
673
+ text-overflow: ellipsis;
674
+ white-space: nowrap;
675
+ margin-top: 8px;
676
+ }
677
+ .card a {
678
+ margin: 8px 0;
679
+ }
680
+ .project > .row:last-child {
681
+ margin-top: auto;
682
+ padding-top: 16px;
683
+ }
684
+ .filters {
685
+ display: grid;
686
+ grid-template-columns: minmax(160px, 280px) 180px auto;
687
+ justify-content: start;
688
+ }
689
+ .filters > * {
690
+ width: 100%;
691
+ }
692
+ .board-page > .muted,
693
+ .board-results > .muted {
694
+ font-size: 12px;
695
+ margin: 12px 0 0;
696
+ }
697
+ .markdown > :first-child {
698
+ margin-top: 0;
699
+ }
700
+ .markdown > :last-child {
701
+ margin-bottom: 0;
702
+ }
703
+ .markdown blockquote {
704
+ border-left: 3px solid var(--line);
705
+ margin-left: 0;
706
+ padding-left: 16px;
707
+ color: var(--muted);
708
+ }
709
+ .markdown pre {
710
+ max-width: 100%;
711
+ }
712
+ .search-result {
713
+ overflow-wrap: anywhere;
714
+ }
715
+ #search-dialog > .row {
716
+ flex-wrap: nowrap;
717
+ }
718
+ dialog > button + button {
719
+ margin-left: 8px;
720
+ }
721
+ .conflict details {
722
+ margin: 16px 0;
723
+ padding: 12px;
724
+ background: var(--conflict-bg);
725
+ border-radius: 6px;
726
+ }
727
+ .conflict pre {
728
+ max-width: 100%;
729
+ }
730
+ .conflict > button {
731
+ margin: 4px 8px 4px 0;
732
+ }
733
+ @media (max-width: 900px) {
734
+ #principal {
735
+ display: none;
736
+ }
737
+ header {
738
+ gap: 12px;
739
+ padding: 12px 20px;
740
+ }
741
+ .relation-form {
742
+ grid-template-columns: 1fr 1fr;
743
+ }
744
+ .relation-form > button {
745
+ justify-self: end;
746
+ }
747
+ .form-grid {
748
+ grid-template-columns: 1fr 1fr;
749
+ }
750
+ .form-grid > :last-child {
751
+ grid-column: 1 / -1;
752
+ }
753
+ .links .row {
754
+ grid-template-columns: 100px minmax(0, 1fr) auto;
755
+ }
756
+ .links .row > small {
757
+ display: none;
758
+ }
759
+ }
760
+ @media (max-width: 600px) {
761
+ header {
762
+ flex-wrap: wrap;
763
+ gap: 8px;
764
+ padding: 10px 16px;
765
+ }
766
+ .brand {
767
+ font-size: 22px;
768
+ margin-right: auto;
769
+ }
770
+ #breadcrumbs {
771
+ order: 4;
772
+ flex-basis: 100%;
773
+ font-size: 12px;
774
+ }
775
+ #breadcrumbs:empty {
776
+ display: none;
777
+ }
778
+ header button {
779
+ padding: 8px;
780
+ }
781
+ kbd {
782
+ display: none;
783
+ }
784
+ main {
785
+ padding: 22px 16px;
786
+ }
787
+ h1 {
788
+ font-size: 24px;
789
+ }
790
+ .panel {
791
+ padding: 18px;
792
+ margin: 18px 0;
793
+ }
794
+ .board {
795
+ grid-template-columns: repeat(4, minmax(260px, 80vw));
796
+ height: max(360px, calc(100dvh - 350px));
797
+ scroll-snap-type: x proximity;
798
+ }
799
+ .column {
800
+ scroll-snap-align: start;
801
+ }
802
+ .filters {
803
+ grid-template-columns: 1fr 1fr;
804
+ gap: 10px;
805
+ }
806
+ .filters > input {
807
+ grid-column: 1 / -1;
808
+ }
809
+ .task-actions {
810
+ gap: 10px;
811
+ }
812
+ .task-actions label {
813
+ flex: 1 1 calc(50% - 10px);
814
+ }
815
+ .task-actions > .button,
816
+ .task-actions > button {
817
+ flex: 1;
818
+ }
819
+ .links .row {
820
+ grid-template-columns: minmax(0, 1fr) auto;
821
+ gap: 8px;
822
+ }
823
+ .links .row > .tag {
824
+ grid-column: 1 / -1;
825
+ }
826
+ .editor > .form-actions .quiet {
827
+ margin-left: 0;
828
+ }
829
+ .editor > .form-actions {
830
+ padding-bottom: 12px;
831
+ }
832
+ .editor textarea {
833
+ min-height: 260px;
834
+ }
835
+ .login {
836
+ margin: 12px auto;
837
+ padding: 24px;
838
+ }
839
+ .project {
840
+ padding: 20px;
841
+ }
842
+ dialog {
843
+ color: var(--text);
844
+ background: var(--surface);
845
+ padding: 18px;
846
+ }
847
+ input,
848
+ select,
849
+ textarea {
850
+ font-size: 16px;
851
+ }
852
+ #toast {
853
+ bottom: 16px;
854
+ right: 16px;
855
+ }
856
+ }
857
+
858
+ @media (prefers-color-scheme: dark) {
859
+ :root {
860
+ color-scheme: dark;
861
+ --text: #e1e9e3;
862
+ --page: #151b18;
863
+ --surface: #202823;
864
+ --accent: #9cd5ae;
865
+ --primary: #2b6848;
866
+ --brand: #91c79e;
867
+ --line: #3b4840;
868
+ --muted: #acb9af;
869
+ --hover: #303d33;
870
+ --border-hover: #74967b;
871
+ --column: #1b231e;
872
+ --soft-line: #36443a;
873
+ --tag-bg: #2e3f32;
874
+ --tag-text: #b6d4b8;
875
+ --priority: #d8c490;
876
+ --high: #e2bb75;
877
+ --danger: #f29a94;
878
+ --field-border: #516055;
879
+ --focus: #91c79e;
880
+ --code-bg: #18201b;
881
+ --toast: #763f3b;
882
+ --warning: #b59b56;
883
+ --tab-bg: #19211c;
884
+ --conflict-bg: #302d21;
885
+ --card-shadow: #00000020;
886
+ --tab-shadow: #00000030;
887
+ --dialog-shadow: #00000060;
888
+ --backdrop: #00000090;
889
+ }
890
+ }
891
+
892
+ /* Discussion and dialogs share the same reading width and action hierarchy. */
893
+ .section-heading {
894
+ display: flex;
895
+ align-items: center;
896
+ justify-content: space-between;
897
+ gap: 16px;
898
+ margin-bottom: 20px;
899
+ }
900
+ .section-heading h2 {
901
+ margin: 0;
902
+ }
903
+ .activity .comment-form {
904
+ border: 0;
905
+ padding: 0 0 24px;
906
+ }
907
+ .comment-form > label {
908
+ margin-bottom: 10px;
909
+ }
910
+ .comment-form textarea {
911
+ border-radius: 0 0 7px 7px;
912
+ padding: 14px;
913
+ min-height: 140px;
914
+ }
915
+ .comment-form .comment-preview {
916
+ margin: 0;
917
+ border-radius: 0 0 7px 7px;
918
+ min-height: 140px;
919
+ }
920
+ .comment-preview:empty::before {
921
+ content: "Nothing to preview yet.";
922
+ color: var(--muted);
923
+ }
924
+ .comment-form .form-actions {
925
+ justify-content: space-between;
926
+ margin-top: 12px;
927
+ }
928
+ .timeline {
929
+ border-top: 1px solid var(--line);
930
+ }
931
+ .timeline .comment {
932
+ display: grid;
933
+ grid-template-columns: 32px minmax(0, 1fr);
934
+ gap: 14px;
935
+ padding: 24px 0;
936
+ border: 0;
937
+ }
938
+ .timeline .comment + .comment {
939
+ border-top: 1px solid var(--line);
940
+ }
941
+ .comment-avatar {
942
+ display: flex;
943
+ align-items: center;
944
+ justify-content: center;
945
+ width: 32px;
946
+ height: 32px;
947
+ border-radius: 50%;
948
+ background: var(--tag-bg);
949
+ color: var(--tag-text);
950
+ font-size: 12px;
951
+ font-weight: 650;
952
+ }
953
+ .comment-heading {
954
+ display: flex;
955
+ align-items: baseline;
956
+ flex-wrap: wrap;
957
+ gap: 6px 12px;
958
+ margin: 4px 0 14px;
959
+ font-size: 12px;
960
+ }
961
+ .comment-heading strong {
962
+ overflow-wrap: anywhere;
963
+ }
964
+ .comment-heading time {
965
+ margin-left: auto;
966
+ color: var(--muted);
967
+ font-size: 11px;
968
+ }
969
+ .comment-content {
970
+ min-width: 0;
971
+ }
972
+ .comment-content .markdown h2 {
973
+ font-size: 16px;
974
+ margin-bottom: 12px;
975
+ }
976
+ .comment-content .markdown h1 {
977
+ font-size: 20px;
978
+ }
979
+ .timeline .system-event {
980
+ padding: 16px 0;
981
+ }
982
+ .system-event .comment-avatar {
983
+ background: transparent;
984
+ font-size: 18px;
985
+ color: var(--muted);
986
+ }
987
+ .system-event .markdown {
988
+ color: var(--muted);
989
+ font-size: 12px;
990
+ }
991
+ .system-event .comment-heading {
992
+ margin-bottom: 6px;
993
+ }
994
+ .empty-state {
995
+ color: var(--muted);
996
+ text-align: center;
997
+ padding: 20px;
998
+ font-size: 13px;
999
+ }
1000
+ .action-dialog {
1001
+ width: min(480px, calc(100vw - 32px));
1002
+ padding: 0;
1003
+ }
1004
+ .modal-form {
1005
+ padding: 24px;
1006
+ }
1007
+ .modal-heading {
1008
+ margin-bottom: 22px;
1009
+ }
1010
+ .modal-heading h2 {
1011
+ font-size: 20px;
1012
+ margin-bottom: 8px;
1013
+ }
1014
+ .modal-heading p {
1015
+ margin: 0;
1016
+ overflow-wrap: anywhere;
1017
+ font-size: 13px;
1018
+ }
1019
+ .modal-content {
1020
+ display: grid;
1021
+ gap: 14px;
1022
+ overflow-wrap: anywhere;
1023
+ }
1024
+ .modal-content:empty {
1025
+ display: none;
1026
+ }
1027
+ .modal-content p {
1028
+ margin: 0 0 20px;
1029
+ }
1030
+ .modal-content label {
1031
+ margin: 0;
1032
+ }
1033
+ .modal-actions {
1034
+ display: flex;
1035
+ justify-content: flex-end;
1036
+ flex-wrap: wrap;
1037
+ gap: 10px;
1038
+ padding-top: 24px;
1039
+ }
1040
+ .modal-error {
1041
+ margin: 16px 0 0;
1042
+ font-size: 13px;
1043
+ }
1044
+ button.destructive {
1045
+ background: var(--toast);
1046
+ border-color: var(--toast);
1047
+ color: var(--on-primary);
1048
+ }
1049
+ .conflict-values {
1050
+ display: grid;
1051
+ grid-template-columns: repeat(3, minmax(0, 1fr));
1052
+ gap: 12px;
1053
+ margin-top: 12px;
1054
+ }
1055
+ .conflict-values > div {
1056
+ min-width: 0;
1057
+ background: var(--surface);
1058
+ padding: 12px;
1059
+ border: 1px solid var(--line);
1060
+ border-radius: 6px;
1061
+ }
1062
+ .conflict-values strong {
1063
+ font-size: 12px;
1064
+ color: var(--muted);
1065
+ }
1066
+ .conflict-values pre {
1067
+ max-height: 240px;
1068
+ overflow: auto;
1069
+ }
1070
+ .conflict summary {
1071
+ font-weight: 600;
1072
+ cursor: pointer;
1073
+ }
1074
+ .search-kinds {
1075
+ display: flex;
1076
+ flex-wrap: wrap;
1077
+ gap: 0.5rem 1rem;
1078
+ border: 0;
1079
+ padding: 0;
1080
+ margin: 1rem 0 0.75rem;
1081
+ min-width: 0;
1082
+ }
1083
+ .search-kinds legend {
1084
+ color: var(--muted);
1085
+ font-size: 0.8rem;
1086
+ margin-bottom: 0.5rem;
1087
+ }
1088
+ .search-kinds .inline {
1089
+ margin: 0;
1090
+ }
1091
+ #search-results h3 {
1092
+ font-size: 11px;
1093
+ text-transform: uppercase;
1094
+ letter-spacing: 1px;
1095
+ color: var(--muted);
1096
+ padding: 0 12px;
1097
+ margin: 20px 0 8px;
1098
+ }
1099
+ .search-result strong {
1100
+ font-weight: 550;
1101
+ }
1102
+ @media (max-width: 600px) {
1103
+ .timeline .comment {
1104
+ grid-template-columns: 26px minmax(0, 1fr);
1105
+ gap: 10px;
1106
+ }
1107
+ .comment-avatar {
1108
+ width: 26px;
1109
+ height: 26px;
1110
+ }
1111
+ .comment-heading {
1112
+ margin-top: 2px;
1113
+ }
1114
+ .comment-heading time {
1115
+ margin-left: 0;
1116
+ flex-basis: 100%;
1117
+ }
1118
+ .comment-form .form-actions > small {
1119
+ font-size: 11px;
1120
+ }
1121
+ .modal-form {
1122
+ padding: 20px;
1123
+ }
1124
+ .modal-actions > button {
1125
+ flex: 1;
1126
+ }
1127
+ .conflict-values {
1128
+ grid-template-columns: 1fr;
1129
+ }
1130
+ }
1131
+
1132
+ .mobile-footer {
1133
+ display: none;
1134
+ }
1135
+ @media (max-width: 600px) {
1136
+ header .connect-agent {
1137
+ display: none;
1138
+ }
1139
+ .mobile-footer {
1140
+ display: block;
1141
+ padding: 16px;
1142
+ border-top: 1px solid var(--line);
1143
+ font-size: 13px;
1144
+ }
1145
+ .mobile-footer a {
1146
+ display: inline-flex;
1147
+ align-items: center;
1148
+ min-height: 44px;
1149
+ color: var(--muted);
1150
+ text-underline-offset: 3px;
1151
+ }
1152
+ }
1153
+
1154
+ .task-picker {
1155
+ position: relative;
1156
+ min-width: 0;
1157
+ }
1158
+ .completion-popup {
1159
+ position: absolute;
1160
+ z-index: 20;
1161
+ top: 100%;
1162
+ left: 0;
1163
+ right: 0;
1164
+ margin-top: 6px;
1165
+ background: var(--surface);
1166
+ border: 1px solid var(--field-border);
1167
+ border-radius: 8px;
1168
+ box-shadow: 0 8px 24px var(--dialog-shadow);
1169
+ overflow: hidden;
1170
+ }
1171
+ .modal-content .completion-message {
1172
+ margin: 0;
1173
+ padding: 10px 12px;
1174
+ font-size: 12px;
1175
+ color: var(--muted);
1176
+ background: var(--tab-bg);
1177
+ }
1178
+ .completion-list {
1179
+ position: relative;
1180
+ max-height: 240px;
1181
+ overflow-y: auto;
1182
+ overscroll-behavior: contain;
1183
+ }
1184
+ .completion-option {
1185
+ display: grid;
1186
+ grid-template-columns: 48px minmax(0, 1fr);
1187
+ gap: 10px;
1188
+ padding: 12px;
1189
+ border-top: 1px solid var(--line);
1190
+ cursor: pointer;
1191
+ }
1192
+ .completion-option:hover,
1193
+ .completion-option[aria-selected="true"] {
1194
+ background: var(--hover);
1195
+ }
1196
+ .completion-option[aria-selected="true"] {
1197
+ box-shadow: inset 3px 0 var(--accent);
1198
+ }
1199
+ .completion-id {
1200
+ color: var(--muted);
1201
+ font-size: 12px;
1202
+ font-variant-numeric: tabular-nums;
1203
+ padding-top: 2px;
1204
+ }
1205
+ .completion-text {
1206
+ min-width: 0;
1207
+ }
1208
+ .completion-text strong {
1209
+ display: block;
1210
+ font-size: 13px;
1211
+ font-weight: 550;
1212
+ overflow-wrap: anywhere;
1213
+ }
1214
+ .completion-text small {
1215
+ display: block;
1216
+ font-size: 11px;
1217
+ color: var(--muted);
1218
+ overflow-wrap: anywhere;
1219
+ margin-top: 4px;
1220
+ }
1221
+ .modal-content .completion-selection {
1222
+ margin: 8px 0 0;
1223
+ font-size: 12px;
1224
+ color: var(--accent);
1225
+ }
1226
+ #search-results {
1227
+ position: relative;
1228
+ overscroll-behavior: contain;
1229
+ }
1230
+ .search-state {
1231
+ padding: 20px 12px;
1232
+ color: var(--muted);
1233
+ }
1234
+ .search-result {
1235
+ border: 1px solid transparent;
1236
+ margin-bottom: 4px;
1237
+ }
1238
+ .search-result.selected {
1239
+ border-color: var(--border-hover);
1240
+ }
1241
+ .search-result > small:last-child {
1242
+ display: -webkit-box;
1243
+ -webkit-line-clamp: 3;
1244
+ -webkit-box-orient: vertical;
1245
+ overflow: hidden;
1246
+ }
1247
+ @media (max-width: 600px) {
1248
+ .completion-option {
1249
+ padding: 10px;
1250
+ gap: 6px;
1251
+ grid-template-columns: 42px minmax(0, 1fr);
1252
+ }
1253
+ }
1254
+
1255
+ select {
1256
+ -webkit-appearance: none;
1257
+ appearance: none;
1258
+ min-height: 42px;
1259
+ padding-right: 36px;
1260
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%237c8d80' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
1261
+ background-position: right 12px center;
1262
+ background-repeat: no-repeat;
1263
+ background-size: 16px;
1264
+ }
1265
+ .completion-list {
1266
+ max-height: min(210px, 30dvh);
1267
+ }
1268
+
1269
+ .completion-text strong {
1270
+ display: -webkit-box;
1271
+ -webkit-line-clamp: 3;
1272
+ -webkit-box-orient: vertical;
1273
+ overflow: hidden;
1274
+ }
1275
+ button,
1276
+ .button {
1277
+ min-height: 42px;
1278
+ }
1279
+
1280
+ .board-toolbar {
1281
+ display: flex;
1282
+ align-items: center;
1283
+ flex-wrap: wrap;
1284
+ gap: 16px;
1285
+ margin-top: 0;
1286
+ }
1287
+ .board-page .filters {
1288
+ display: flex;
1289
+ flex-wrap: wrap;
1290
+ align-items: center;
1291
+ }
1292
+ .board-page .filters > * {
1293
+ width: auto;
1294
+ }
1295
+ .board-page .filters > input {
1296
+ width: min(100%, 280px);
1297
+ }
1298
+ .board-page .filters > select {
1299
+ width: 180px;
1300
+ }
1301
+ .board-page .filters > .board-toolbar {
1302
+ flex: 1 1 auto;
1303
+ }
1304
+ .board-toolbar > .muted {
1305
+ font-size: 12px;
1306
+ }
1307
+ .view-switch {
1308
+ display: inline-flex;
1309
+ gap: 4px;
1310
+ padding: 4px;
1311
+ border: 1px solid var(--line);
1312
+ border-radius: 8px;
1313
+ background: var(--surface);
1314
+ }
1315
+ .view-switch button,
1316
+ .view-switch .button {
1317
+ border-color: transparent;
1318
+ min-height: 34px;
1319
+ padding: 6px 16px;
1320
+ }
1321
+ .view-switch [aria-pressed="true"],
1322
+ .view-switch [aria-current="page"] {
1323
+ background: var(--primary);
1324
+ color: var(--on-primary);
1325
+ }
1326
+ .table-scroll-hint {
1327
+ margin-left: auto;
1328
+ }
1329
+ .task-table-region {
1330
+ margin-top: 18px;
1331
+ overflow: auto;
1332
+ border: 1px solid var(--line);
1333
+ border-radius: 10px;
1334
+ background: var(--surface);
1335
+ }
1336
+ .task-table-region:focus-visible {
1337
+ outline: 2px solid var(--focus);
1338
+ outline-offset: 2px;
1339
+ }
1340
+ .task-table {
1341
+ width: 100%;
1342
+ min-width: 1000px;
1343
+ border-collapse: separate;
1344
+ border-spacing: 0;
1345
+ table-layout: fixed;
1346
+ }
1347
+ .task-table th,
1348
+ .task-table td {
1349
+ padding: 14px 16px;
1350
+ text-align: left;
1351
+ vertical-align: top;
1352
+ border-bottom: 1px solid var(--line);
1353
+ }
1354
+ .task-table thead th {
1355
+ position: sticky;
1356
+ top: 0;
1357
+ z-index: 1;
1358
+ background: var(--tab-bg);
1359
+ color: var(--muted);
1360
+ font-size: 11px;
1361
+ text-transform: uppercase;
1362
+ letter-spacing: 0.7px;
1363
+ font-weight: 600;
1364
+ }
1365
+ .task-table th:nth-child(1) {
1366
+ width: 32%;
1367
+ }
1368
+ .task-table th:nth-child(2),
1369
+ .task-table th:nth-child(3) {
1370
+ width: 10%;
1371
+ }
1372
+ .task-table th:nth-child(4) {
1373
+ width: 17%;
1374
+ }
1375
+ .task-table th:nth-child(5) {
1376
+ width: 15%;
1377
+ }
1378
+ .task-table th:nth-child(6) {
1379
+ width: 16%;
1380
+ }
1381
+ .task-table tbody tr:last-child > * {
1382
+ border-bottom: 0;
1383
+ }
1384
+ .task-table tbody tr:hover {
1385
+ background: var(--hover);
1386
+ }
1387
+ .task-table-title {
1388
+ font-weight: 550;
1389
+ }
1390
+ .task-table-title a {
1391
+ display: block;
1392
+ color: var(--text);
1393
+ text-decoration: none;
1394
+ overflow-wrap: anywhere;
1395
+ }
1396
+ .task-table-title a:hover {
1397
+ text-decoration: underline;
1398
+ }
1399
+ .task-table-id {
1400
+ display: block;
1401
+ font-size: 11px;
1402
+ font-weight: 400;
1403
+ color: var(--muted);
1404
+ margin-bottom: 5px;
1405
+ }
1406
+ .task-table-assigned,
1407
+ .task-table-updated {
1408
+ font-size: 12px;
1409
+ color: var(--muted);
1410
+ overflow-wrap: anywhere;
1411
+ }
1412
+ .task-table-tags .tag {
1413
+ margin: 0 4px 4px 0;
1414
+ overflow-wrap: anywhere;
1415
+ }
1416
+ .task-status {
1417
+ display: inline-block;
1418
+ font-size: 12px;
1419
+ padding: 3px 7px;
1420
+ border-radius: 5px;
1421
+ background: var(--tag-bg);
1422
+ color: var(--tag-text);
1423
+ }
1424
+ .status-doing {
1425
+ color: var(--accent);
1426
+ background: var(--hover);
1427
+ }
1428
+ .status-blocked {
1429
+ color: var(--danger);
1430
+ }
1431
+ .status-done {
1432
+ color: var(--muted);
1433
+ }
1434
+ .table-empty {
1435
+ text-align: center;
1436
+ padding: 48px 24px;
1437
+ }
1438
+ .table-empty p {
1439
+ margin-bottom: 0;
1440
+ }
1441
+ .sr-only {
1442
+ position: absolute;
1443
+ width: 1px;
1444
+ height: 1px;
1445
+ padding: 0;
1446
+ margin: -1px;
1447
+ overflow: hidden;
1448
+ clip-path: inset(50%);
1449
+ white-space: nowrap;
1450
+ border: 0;
1451
+ }
1452
+ @media (max-width: 600px) {
1453
+ .board-toolbar {
1454
+ gap: 10px;
1455
+ }
1456
+ .table-scroll-hint {
1457
+ margin-left: 0;
1458
+ flex-basis: 100%;
1459
+ }
1460
+ .task-table {
1461
+ min-width: 900px;
1462
+ }
1463
+ .task-table th,
1464
+ .task-table td {
1465
+ padding: 12px;
1466
+ }
1467
+ }
1468
+
1469
+ body:has(.task-table-region) {
1470
+ height: 100dvh;
1471
+ display: flex;
1472
+ flex-direction: column;
1473
+ }
1474
+ body:has(.task-table-region) > header,
1475
+ body:has(.task-table-region) > footer {
1476
+ flex-shrink: 0;
1477
+ }
1478
+ main:has(.task-table-region) {
1479
+ width: 100%;
1480
+ padding-bottom: 12px;
1481
+ margin: 0 auto;
1482
+ }
1483
+ main:has(.task-table-region),
1484
+ .board-page:has(.task-table-region),
1485
+ .board-results:has(.task-table-region) {
1486
+ display: flex;
1487
+ flex-direction: column;
1488
+ flex: 1;
1489
+ min-height: auto;
1490
+ }
1491
+ .board-page:has(.task-table-region) > :not(.board-results),
1492
+ .board-results:has(.task-table-region) > :not(.task-table-region) {
1493
+ flex-shrink: 0;
1494
+ }
1495
+ .task-table-region {
1496
+ flex: 1;
1497
+ min-height: 200px;
1498
+ contain: size;
1499
+ }
1500
+
1501
+ .table-scroll-hint {
1502
+ display: none;
1503
+ }
1504
+ @media (max-width: 1100px) {
1505
+ .table-scroll-hint {
1506
+ display: block;
1507
+ }
1508
+ }
1509
+
1510
+ .memory-filters {
1511
+ display: grid;
1512
+ grid-template-columns: minmax(180px, 2fr) minmax(150px, 1fr) minmax(120px, 1fr) auto;
1513
+ gap: 16px;
1514
+ align-items: end;
1515
+ margin: 24px 0;
1516
+ }
1517
+ .memory-filters label {
1518
+ margin: 0;
1519
+ }
1520
+ .memory-layout {
1521
+ display: grid;
1522
+ grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
1523
+ gap: 24px;
1524
+ align-items: start;
1525
+ }
1526
+ .memory-sidebar {
1527
+ min-width: 0;
1528
+ border: 1px solid var(--line);
1529
+ border-radius: 10px;
1530
+ background: var(--surface);
1531
+ overflow: hidden;
1532
+ }
1533
+ .memory-list {
1534
+ max-height: 62dvh;
1535
+ overflow-y: auto;
1536
+ }
1537
+ .memory-item {
1538
+ display: block;
1539
+ padding: 16px 18px;
1540
+ text-decoration: none;
1541
+ color: var(--text);
1542
+ border-bottom: 1px solid var(--line);
1543
+ }
1544
+ .memory-item:hover,
1545
+ .memory-item[aria-current="page"] {
1546
+ background: var(--hover);
1547
+ }
1548
+ .memory-item[aria-current="page"] {
1549
+ box-shadow: inset 3px 0 var(--accent);
1550
+ }
1551
+ .memory-item-meta {
1552
+ display: flex;
1553
+ align-items: center;
1554
+ gap: 8px;
1555
+ font-size: 11px;
1556
+ color: var(--muted);
1557
+ margin-bottom: 8px;
1558
+ }
1559
+ .memory-item strong {
1560
+ display: block;
1561
+ overflow-wrap: anywhere;
1562
+ font-weight: 600;
1563
+ }
1564
+ .memory-item p {
1565
+ display: -webkit-box;
1566
+ -webkit-line-clamp: 2;
1567
+ -webkit-box-orient: vertical;
1568
+ overflow: hidden;
1569
+ font-size: 12px;
1570
+ color: var(--muted);
1571
+ margin: 8px 0;
1572
+ overflow-wrap: anywhere;
1573
+ }
1574
+ .memory-item small {
1575
+ color: var(--muted);
1576
+ font-size: 11px;
1577
+ overflow-wrap: anywhere;
1578
+ }
1579
+ .memory-pagination {
1580
+ display: flex;
1581
+ flex-wrap: wrap;
1582
+ overflow-wrap: anywhere;
1583
+ gap: 8px;
1584
+ align-items: center;
1585
+ justify-content: space-between;
1586
+ padding: 12px;
1587
+ border-top: 1px solid var(--line);
1588
+ }
1589
+ .memory-pagination button {
1590
+ min-height: 34px;
1591
+ padding: 6px 10px;
1592
+ font-size: 12px;
1593
+ }
1594
+ .memory-pagination span {
1595
+ font-size: 11px;
1596
+ }
1597
+ .memory-detail.panel {
1598
+ margin: 0;
1599
+ min-width: 0;
1600
+ }
1601
+ .memory-detail h2 {
1602
+ font-size: 25px;
1603
+ line-height: 1.3;
1604
+ overflow-wrap: anywhere;
1605
+ }
1606
+ .memory-title {
1607
+ align-items: flex-start;
1608
+ }
1609
+ .memory-title h2 {
1610
+ flex: 1 1 200px;
1611
+ min-width: 0;
1612
+ }
1613
+ .memory-title > .button {
1614
+ flex-shrink: 0;
1615
+ margin-left: auto;
1616
+ }
1617
+ .memory-detail-meta {
1618
+ display: flex;
1619
+ flex-wrap: wrap;
1620
+ align-items: center;
1621
+ gap: 12px;
1622
+ font-size: 12px;
1623
+ }
1624
+ .memory-detail-meta a {
1625
+ overflow-wrap: anywhere;
1626
+ }
1627
+ .memory-tags {
1628
+ margin-top: 12px;
1629
+ }
1630
+ .memory-body {
1631
+ margin-top: 24px;
1632
+ padding-top: 24px;
1633
+ border-top: 1px solid var(--line);
1634
+ }
1635
+ .memory-audit {
1636
+ display: grid;
1637
+ grid-template-columns: auto minmax(0, 1fr);
1638
+ gap: 8px 16px;
1639
+ border-top: 1px solid var(--line);
1640
+ padding-top: 18px;
1641
+ margin: 24px 0 0;
1642
+ font-size: 12px;
1643
+ color: var(--muted);
1644
+ }
1645
+ .memory-audit dd {
1646
+ margin: 0;
1647
+ overflow-wrap: anywhere;
1648
+ }
1649
+ .memory-placeholder,
1650
+ .memory-empty {
1651
+ text-align: center;
1652
+ padding: 40px 16px;
1653
+ }
1654
+ .memory-back {
1655
+ display: inline-block;
1656
+ margin-bottom: 20px;
1657
+ font-size: 13px;
1658
+ }
1659
+ #section-switch {
1660
+ flex-shrink: 0;
1661
+ }
1662
+ @media (max-width: 600px) {
1663
+ #section-switch {
1664
+ order: 3;
1665
+ width: 100%;
1666
+ }
1667
+ #section-switch .button {
1668
+ flex: 1;
1669
+ }
1670
+ }
1671
+ @media (max-width: 760px) {
1672
+ .memory-filters {
1673
+ grid-template-columns: 1fr 1fr;
1674
+ gap: 12px;
1675
+ }
1676
+ .memory-filters > :first-child {
1677
+ grid-column: 1 / -1;
1678
+ }
1679
+ .memory-filters > button {
1680
+ grid-column: 1 / -1;
1681
+ }
1682
+ .memory-layout {
1683
+ grid-template-columns: minmax(0, 1fr);
1684
+ }
1685
+ .memory-page:not(.has-selection) .memory-detail {
1686
+ display: none;
1687
+ }
1688
+ .memory-page.has-selection .memory-sidebar {
1689
+ display: none;
1690
+ }
1691
+ .memory-page.has-selection .memory-filters {
1692
+ display: none;
1693
+ }
1694
+ .memory-list {
1695
+ max-height: none;
1696
+ }
1697
+ .memory-detail h2 {
1698
+ font-size: 22px;
1699
+ }
1700
+ .memory-audit {
1701
+ grid-template-columns: minmax(0, 1fr);
1702
+ gap: 4px;
1703
+ }
1704
+ .memory-audit dt:not(:first-child) {
1705
+ margin-top: 10px;
1706
+ }
1707
+ }
1708
+
1709
+ .task-pagination {
1710
+ display: flex;
1711
+ flex-wrap: wrap;
1712
+ align-items: center;
1713
+ justify-content: center;
1714
+ gap: 8px;
1715
+ padding: 16px 8px;
1716
+ font-size: 12px;
1717
+ text-align: center;
1718
+ }
1719
+
1720
+ .board-page > [role="status"]:empty {
1721
+ display: none;
1722
+ }
1723
+
1724
+ .board.single-status {
1725
+ grid-template-columns: minmax(250px, 600px);
1726
+ }
1727
+ .task-status.status-deleted {
1728
+ background: var(--column);
1729
+ color: var(--muted);
1730
+ }
1731
+
1732
+ .relations .section-heading:last-child {
1733
+ margin-bottom: 0;
1734
+ }
1735
+ .comment-composer {
1736
+ margin-top: 16px;
1737
+ }
1738
+ .comment-composer > summary {
1739
+ cursor: pointer;
1740
+ color: var(--accent);
1741
+ font-weight: 600;
1742
+ padding: 10px 0;
1743
+ }
1744
+ .comment-composer > summary:focus-visible {
1745
+ outline: 2px solid var(--focus);
1746
+ outline-offset: 3px;
1747
+ }
1748
+ .comment-composer .form-actions small {
1749
+ display: block;
1750
+ }
1751
+ .comment-composer [role="status"]:empty {
1752
+ display: none;
1753
+ }
1754
+
1755
+ #page-loading {
1756
+ position: fixed;
1757
+ right: 16px;
1758
+ bottom: 16px;
1759
+ z-index: 30;
1760
+ padding: 8px 14px;
1761
+ border: 1px solid var(--line);
1762
+ border-radius: 8px;
1763
+ background: var(--surface);
1764
+ color: var(--muted);
1765
+ box-shadow: 0 2px 8px var(--card-shadow);
1766
+ pointer-events: none;
1767
+ }
1768
+
1769
+ /* Keep the first paint the same size as the authenticated page shell. */
1770
+ main {
1771
+ min-height: calc(100dvh - 69px);
1772
+ }
1773
+ [data-starting] #section-switch {
1774
+ display: flex !important;
1775
+ opacity: 0.5;
1776
+ }
1777
+ [data-starting] #logout {
1778
+ display: inline-block !important;
1779
+ visibility: hidden;
1780
+ }
1781
+ [data-starting] #breadcrumbs {
1782
+ display: block !important;
1783
+ min-height: 1.5em;
1784
+ visibility: hidden;
1785
+ }
1786
+ [data-starting] #principal {
1787
+ visibility: hidden;
1788
+ }
1789
+ [data-starting] #page-loading {
1790
+ display: none !important;
1791
+ }
1792
+ .initial-loading > p {
1793
+ color: var(--muted);
1794
+ margin: 0 0 20px;
1795
+ }
1796
+ .initial-placeholder > div {
1797
+ background: var(--column);
1798
+ border-radius: 8px;
1799
+ }
1800
+ .placeholder-title {
1801
+ height: 36px;
1802
+ width: min(380px, 70%);
1803
+ margin-bottom: 20px;
1804
+ }
1805
+ .placeholder-line {
1806
+ height: 40px;
1807
+ width: min(680px, 100%);
1808
+ margin-bottom: 24px;
1809
+ }
1810
+ .placeholder-panel {
1811
+ height: 52dvh;
1812
+ min-height: 240px;
1813
+ }
1814
+ @media (max-width: 600px) {
1815
+ main {
1816
+ min-height: calc(100dvh - 220px);
1817
+ }
1818
+ }
1819
+
1820
+ [data-starting] #breadcrumbs::before {
1821
+ content: "";
1822
+ display: block;
1823
+ visibility: visible;
1824
+ width: min(220px, 75%);
1825
+ height: 12px;
1826
+ margin: 3px 0;
1827
+ border-radius: 4px;
1828
+ background: var(--column);
1829
+ }
1830
+
1831
+ .project-settings > .view-switch {
1832
+ display: inline-flex;
1833
+ margin-top: 12px;
1834
+ }
1835
+ .member-row {
1836
+ display: flex;
1837
+ align-items: center;
1838
+ gap: 12px;
1839
+ padding: 14px 0;
1840
+ border-bottom: 1px solid var(--line);
1841
+ flex-wrap: wrap;
1842
+ }
1843
+ .member-row strong {
1844
+ overflow-wrap: anywhere;
1845
+ min-width: 0;
1846
+ }
1847
+ .member-row button {
1848
+ margin-left: auto;
1849
+ }
1850
+ .binding-row {
1851
+ display: grid;
1852
+ grid-template-columns: minmax(100px, 1fr) minmax(100px, 1fr) minmax(0, 3fr);
1853
+ gap: 20px;
1854
+ padding: 16px 0;
1855
+ border-bottom: 1px solid var(--line);
1856
+ }
1857
+ .binding-row > div {
1858
+ display: flex;
1859
+ flex-direction: column;
1860
+ gap: 6px;
1861
+ overflow-wrap: anywhere;
1862
+ min-width: 0;
1863
+ }
1864
+ .binding-row .muted {
1865
+ font-size: 12px;
1866
+ }
1867
+ .member-row:last-child,
1868
+ .binding-row:last-child {
1869
+ border-bottom: 0;
1870
+ }
1871
+ @media (max-width: 600px) {
1872
+ .binding-row {
1873
+ grid-template-columns: 1fr 1fr;
1874
+ gap: 12px;
1875
+ }
1876
+ .binding-row > div:last-child {
1877
+ grid-column: 1 / -1;
1878
+ }
1879
+ }
1880
+
1881
+ .assignment-label { overflow-wrap: anywhere; font-family: monospace; }
1882
+
1883
+ .board-summaries { display: flex; gap: 12px; flex-wrap: wrap; margin: 12px 0; }
1884
+ .board-summary { flex: 1 1 260px; min-width: 0; padding: 12px 16px; border: 1px solid var(--line); border-radius: 8px; }
1885
+ .board-summary summary { cursor: pointer; font-weight: 600; }
1886
+ .board-summary li { margin: 8px 0; overflow-wrap: anywhere; }
1887
+
1888
+ .scope-controls { display: flex; flex-wrap: wrap; gap: 12px; min-width: 0; }
1889
+ .scope-controls label { min-width: 0; }
1890
+ .scope-controls select, .scope-controls input { max-width: 100%; }
1891
+ .stats-totals, .stats-groups { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
1892
+ .stats-totals .panel { margin: 0; }
1893
+ .stats-totals strong { display: block; font-size: 32px; }
1894
+ .stats-breakdown { display: grid; grid-template-columns: 1fr auto; gap: 12px; }
1895
+ .stats-breakdown dd { margin: 0; }
1896
+ @media (max-width: 600px) { .stats-groups { grid-template-columns: 1fr; } }
1897
+
1898
+ .task-browser-filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; }
1899
+ .task-browser-filters label { margin-bottom: 0; }
1900
+ .task-browser .task-table-title small { display: block; margin-top: 6px; overflow-wrap: anywhere; }
1901
+
1902
+ .projects-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
1903
+ .projects-heading h1 { margin-bottom: 4px; }
1904
+ .projects-heading p { margin: 0; }
1905
+ .projects-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin: 22px 0; }
1906
+ .workspace-nav { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
1907
+ .workspace-nav > * { display: flex; align-items: center; min-height: 40px; padding: 8px 12px; border-radius: 5px; color: var(--text); text-decoration: none; font-weight: 550; }
1908
+ .workspace-nav [aria-current] { background: var(--primary); color: var(--on-primary); }
1909
+ .workspace-nav a:hover { background: var(--hover); }
1910
+ .project-scope-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; }
1911
+ .project-scope-form label { margin: 0; }
1912
+ .project-scope-form .inline { min-height: 40px; }
1913
+ .project-scope-form .scope-controls > label:first-child select { margin: 0; }
1914
+ @media (max-width: 600px) {
1915
+ .projects-toolbar, .project-scope-form { gap: 12px; }
1916
+ .workspace-nav { width: 100%; }
1917
+ .workspace-nav > * { flex: 1; justify-content: center; padding: 8px; font-size: 13px; }
1918
+ .projects-heading .primary { flex-shrink: 0; }
1919
+ }
1920
+
1921
+ .search-advanced { padding: 12px 20px; border-bottom: 1px solid var(--line); }
1922
+ .search-advanced summary { cursor: pointer; font-weight: 550; }
1923
+ .search-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
1924
+ .search-options label { margin: 0; min-width: 0; }
1925
+ .search-options input, .search-options select { width: 100%; }
1926
+ .search-advanced p { font-size: 12px; margin-bottom: 0; }
1927
+
1928
+ .search-help { margin-top: 10px; font-size: 13px; }
1929
+ .search-help summary { cursor: pointer; display: inline-block; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; list-style: none; padding: 4px 0; }
1930
+ .search-help summary::-webkit-details-marker { display: none; }
1931
+ .search-help summary:hover { color: var(--text); }
1932
+ .search-help-content { max-height: 40dvh; overflow: auto; overscroll-behavior: contain; }
1933
+ .search-help-content table { font-size: 13px; }
1934
+ .search-help-content td, .search-help-content th { white-space: normal; overflow-wrap: anywhere; }
1935
+ .search-help-content code { white-space: normal; }
1936
+ .search-help p { color: var(--muted); line-height: 1.5; }
1937
+
1938
+ .conflict-markdown { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
1939
+ .conflict-markdown textarea { width: 100%; min-height: 260px; }
1940
+ .conflict-markdown section { min-width: 0; }
1941
+ .conflict-markdown .markdown { max-height: 420px; overflow: auto; }
1942
+ @media (max-width: 640px) { .conflict-markdown { grid-template-columns: 1fr; } }
1943
+
1944
+ .editor:has(.conflict:not([hidden])) .form-actions { position: static; margin-top: 16px; }
1945
+
1946
+
1947
+ .search-history { margin: 8px 0; font-size: 13px; }
1948
+ .search-history summary { cursor: pointer; color: var(--muted); }
1949
+ #search-history-list { display: grid; max-height: 25dvh; overflow: auto; margin-top: 8px; }
1950
+ #search-history-list button { text-align: left; white-space: normal; overflow-wrap: anywhere; }