agent-space-manager 0.0.0-stage → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/page/style.css ADDED
@@ -0,0 +1,1032 @@
1
+ :root {
2
+ color-scheme: light dark;
3
+ }
4
+
5
+ body {
6
+ margin: 0;
7
+ padding: 16px 20px 32px;
8
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
9
+ color: var(--magpie-fg, #27272a);
10
+ background: var(--magpie-bg, #ffffff);
11
+ line-height: 1.5;
12
+ }
13
+
14
+ @media (prefers-color-scheme: dark) {
15
+ body {
16
+ color: var(--magpie-fg, #f4f4f5);
17
+ background: var(--magpie-bg, #18181b);
18
+ }
19
+ }
20
+
21
+ .top-bar {
22
+ display: flex;
23
+ align-items: center;
24
+ justify-content: space-between;
25
+ gap: 16px;
26
+ margin-bottom: 16px;
27
+ flex-wrap: wrap;
28
+ }
29
+
30
+ .top-actions {
31
+ display: flex;
32
+ align-items: center;
33
+ gap: 10px;
34
+ }
35
+
36
+ .title-row {
37
+ display: flex;
38
+ align-items: center;
39
+ gap: 8px;
40
+ }
41
+
42
+ .plugin-version-badge {
43
+ font-size: 11px;
44
+ font-weight: 600;
45
+ padding: 2px 7px;
46
+ border-radius: 999px;
47
+ background: var(--magpie-surface, rgba(128, 128, 128, 0.12));
48
+ border: 1px solid var(--magpie-border, rgba(128, 128, 128, 0.25));
49
+ color: var(--magpie-muted, #71717a);
50
+ line-height: 1.3;
51
+ letter-spacing: 0.02em;
52
+ }
53
+
54
+ h1 {
55
+ margin: 0;
56
+ font-size: 20px;
57
+ font-weight: 600;
58
+ }
59
+
60
+ h2 {
61
+ margin: 0 0 4px;
62
+ font-size: 15px;
63
+ font-weight: 600;
64
+ }
65
+
66
+ .subtitle {
67
+ margin: 2px 0 0;
68
+ font-size: 12px;
69
+ color: var(--magpie-muted, #71717a);
70
+ }
71
+
72
+ /* Central Components Storage Path Card */
73
+ .hub-path-card {
74
+ margin-bottom: 16px;
75
+ padding: 12px 16px;
76
+ border-radius: 10px;
77
+ border: 1px solid var(--magpie-border, rgba(128, 128, 128, 0.2));
78
+ background: var(--magpie-surface, rgba(128, 128, 128, 0.04));
79
+ }
80
+
81
+ .hub-path-header {
82
+ display: flex;
83
+ align-items: center;
84
+ justify-content: space-between;
85
+ margin-bottom: 8px;
86
+ }
87
+
88
+ .hub-path-title {
89
+ font-size: 12px;
90
+ font-weight: 600;
91
+ color: var(--magpie-fg, inherit);
92
+ }
93
+
94
+ .hub-path-badge {
95
+ font-size: 10.5px;
96
+ padding: 2px 6px;
97
+ border-radius: 4px;
98
+ background: rgba(37, 99, 235, 0.15);
99
+ color: #3b82f6;
100
+ font-weight: 500;
101
+ }
102
+
103
+ .hub-path-badge.auto {
104
+ background: rgba(34, 197, 94, 0.15);
105
+ color: #16a34a;
106
+ }
107
+
108
+ .hub-path-badge.disabled {
109
+ background: rgba(239, 68, 68, 0.15);
110
+ color: #ef4444;
111
+ }
112
+
113
+ .hub-path-input-row {
114
+ display: flex;
115
+ align-items: center;
116
+ gap: 10px;
117
+ }
118
+
119
+ .hub-path-input {
120
+ flex: 1;
121
+ padding: 7px 10px;
122
+ border-radius: 6px;
123
+ border: 1px solid var(--magpie-border, rgba(128, 128, 128, 0.3));
124
+ background: var(--magpie-bg, transparent);
125
+ color: inherit;
126
+ font-size: 12.5px;
127
+ font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
128
+ }
129
+
130
+ /* Startup Modification & Auto-Reconnect Banner */
131
+ .startup-reconnect-banner {
132
+ display: flex;
133
+ align-items: center;
134
+ justify-content: space-between;
135
+ gap: 10px;
136
+ margin-top: 10px;
137
+ padding: 9px 12px;
138
+ border-radius: 6px;
139
+ font-size: 12px;
140
+ background: rgba(59, 130, 246, 0.1);
141
+ border: 1px solid rgba(59, 130, 246, 0.35);
142
+ color: var(--magpie-fg, inherit);
143
+ }
144
+
145
+ .startup-reconnect-banner.active {
146
+ background: rgba(34, 197, 94, 0.1);
147
+ border: 1px solid rgba(34, 197, 94, 0.4);
148
+ }
149
+
150
+ /* Component Workability Status Dot (Connected Agent Status) */
151
+ .component-status-dot {
152
+ display: inline-block;
153
+ width: 9px;
154
+ height: 9px;
155
+ border-radius: 50%;
156
+ flex-shrink: 0;
157
+ margin-top: 3px;
158
+ cursor: help;
159
+ transition: transform 0.15s ease, box-shadow 0.15s ease;
160
+ }
161
+
162
+ .component-status-dot:hover {
163
+ transform: scale(1.35);
164
+ }
165
+
166
+ .component-status-dot.dot-green {
167
+ background-color: #22c55e;
168
+ box-shadow: 0 0 7px rgba(34, 197, 94, 0.55);
169
+ }
170
+
171
+ .component-status-dot.dot-red {
172
+ background-color: #ef4444;
173
+ box-shadow: 0 0 7px rgba(239, 68, 68, 0.5);
174
+ }
175
+
176
+ .desc-status-cell {
177
+ display: flex;
178
+ align-items: flex-start;
179
+ gap: 8px;
180
+ line-height: 1.45;
181
+ }
182
+
183
+ .desc-status-cell .desc-text {
184
+ flex: 1;
185
+ }
186
+
187
+ /* OmniRoute Capsule */
188
+ .omniroute-capsule {
189
+ display: inline-flex;
190
+ align-items: center;
191
+ gap: 7px;
192
+ padding: 5px 12px;
193
+ border-radius: 8px;
194
+ border: 1px solid var(--magpie-border, rgba(128, 128, 128, 0.25));
195
+ background: var(--magpie-surface, rgba(128, 128, 128, 0.08));
196
+ cursor: pointer;
197
+ user-select: none;
198
+ transition: background-color 0.15s ease, border-color 0.15s ease;
199
+ }
200
+
201
+ .omniroute-capsule:hover {
202
+ background: var(--magpie-surface-hover, rgba(128, 128, 128, 0.15));
203
+ border-color: var(--magpie-border-hover, rgba(128, 128, 128, 0.4));
204
+ }
205
+
206
+ .omniroute-label {
207
+ font-size: 12px;
208
+ font-weight: 600;
209
+ color: #000000;
210
+ cursor: pointer;
211
+ }
212
+
213
+ .omniroute-port {
214
+ font-size: 12px;
215
+ font-weight: 600;
216
+ color: var(--magpie-primary, #60a5fa);
217
+ text-decoration: underline;
218
+ cursor: pointer;
219
+ transition: opacity 0.15s ease;
220
+ }
221
+
222
+ .omniroute-port:hover {
223
+ opacity: 0.8;
224
+ }
225
+
226
+ .omniroute-port.loading {
227
+ opacity: 0.6;
228
+ }
229
+
230
+ .status-dot {
231
+ display: inline-block;
232
+ width: 9px;
233
+ height: 9px;
234
+ border-radius: 50%;
235
+ flex-shrink: 0;
236
+ cursor: pointer;
237
+ position: relative;
238
+ transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.2s ease;
239
+ }
240
+
241
+ .status-dot::after {
242
+ content: "";
243
+ position: absolute;
244
+ top: -8px;
245
+ left: -8px;
246
+ right: -8px;
247
+ bottom: -8px;
248
+ cursor: pointer;
249
+ }
250
+
251
+ .status-dot:hover {
252
+ transform: scale(1.35);
253
+ }
254
+
255
+ .status-dot.dot-green {
256
+ background-color: #22c55e;
257
+ box-shadow: 0 0 7px rgba(34, 197, 94, 0.55);
258
+ }
259
+
260
+ .status-dot.dot-red {
261
+ background-color: #ef4444;
262
+ box-shadow: 0 0 7px rgba(239, 68, 68, 0.5);
263
+ }
264
+
265
+ .status-dot.dot-gray {
266
+ background-color: #71717a;
267
+ box-shadow: none;
268
+ }
269
+
270
+ .status-dot.dot-blue {
271
+ background-color: #3b82f6;
272
+ box-shadow: 0 0 7px rgba(59, 130, 246, 0.6);
273
+ }
274
+
275
+ /* Feature Toggle Header Widget */
276
+ .feature-toggle-widget {
277
+ display: inline-flex;
278
+ align-items: center;
279
+ gap: 8px;
280
+ padding: 5px 12px;
281
+ border-radius: 8px;
282
+ border: 1px solid var(--magpie-border, rgba(128, 128, 128, 0.25));
283
+ background: var(--magpie-surface, rgba(128, 128, 128, 0.08));
284
+ }
285
+
286
+ .toggle-label {
287
+ font-size: 12px;
288
+ font-weight: 600;
289
+ color: #16a34a;
290
+ }
291
+
292
+ .toggle-label.disabled {
293
+ color: var(--magpie-muted, #71717a);
294
+ }
295
+
296
+ .sync-indicator {
297
+ font-size: 11px;
298
+ padding: 4px 8px;
299
+ border-radius: 6px;
300
+ background: rgba(34, 197, 94, 0.15);
301
+ color: #16a34a;
302
+ font-weight: 500;
303
+ transition: all 0.2s ease;
304
+ }
305
+
306
+ .sync-indicator.syncing {
307
+ background: rgba(37, 99, 235, 0.15);
308
+ color: #2563eb;
309
+ }
310
+
311
+ @keyframes spin {
312
+ from { transform: rotate(0deg); }
313
+ to { transform: rotate(360deg); }
314
+ }
315
+
316
+ .spinner {
317
+ display: inline-block;
318
+ width: 14px;
319
+ height: 14px;
320
+ border: 2px solid var(--magpie-primary, #60a5fa);
321
+ border-top-color: transparent;
322
+ border-radius: 50%;
323
+ animation: spin 0.8s linear infinite;
324
+ vertical-align: middle;
325
+ }
326
+
327
+ /* Switches */
328
+ .switch {
329
+ position: relative;
330
+ display: inline-block;
331
+ width: 36px;
332
+ height: 20px;
333
+ }
334
+
335
+ .switch input {
336
+ opacity: 0;
337
+ width: 0;
338
+ height: 0;
339
+ }
340
+
341
+ .slider {
342
+ position: absolute;
343
+ cursor: pointer;
344
+ top: 0; left: 0; right: 0; bottom: 0;
345
+ background-color: var(--magpie-border, #71717a);
346
+ transition: .2s;
347
+ border-radius: 20px;
348
+ }
349
+
350
+ .slider:before {
351
+ position: absolute;
352
+ content: "";
353
+ height: 14px;
354
+ width: 14px;
355
+ left: 3px;
356
+ bottom: 3px;
357
+ background-color: white;
358
+ transition: .2s;
359
+ border-radius: 50%;
360
+ }
361
+
362
+ input:checked + .slider {
363
+ background-color: #22c55e;
364
+ }
365
+
366
+ input:checked + .slider:before {
367
+ transform: translateX(16px);
368
+ }
369
+
370
+ /* Mini Switch */
371
+ .switch-mini {
372
+ width: 28px;
373
+ height: 16px;
374
+ }
375
+ .switch-mini .slider:before {
376
+ height: 10px;
377
+ width: 10px;
378
+ }
379
+ .switch-mini input:checked + .slider:before {
380
+ transform: translateX(12px);
381
+ }
382
+
383
+ /* Tiles / Stats (Exact Magpie metrics styling) */
384
+ .tiles {
385
+ display: grid;
386
+ grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
387
+ gap: 10px;
388
+ margin-bottom: 16px;
389
+ }
390
+
391
+ .tile {
392
+ padding: 10px 14px;
393
+ border-radius: 8px;
394
+ border: 1px solid var(--magpie-border, rgba(128, 128, 128, 0.2));
395
+ background: var(--magpie-surface, rgba(128, 128, 128, 0.04));
396
+ display: flex;
397
+ flex-direction: column;
398
+ gap: 2px;
399
+ }
400
+
401
+ .tile .k {
402
+ font-size: 11px;
403
+ color: var(--magpie-muted, #71717a);
404
+ }
405
+
406
+ .tile .v {
407
+ font-size: 18px;
408
+ font-weight: 600;
409
+ }
410
+
411
+ .tile .s {
412
+ font-size: 11px;
413
+ color: var(--magpie-muted, #71717a);
414
+ }
415
+
416
+ /* Tile 1: 7-line compact breakdown */
417
+ .tile-breakdown {
418
+ padding: 8px 12px;
419
+ justify-content: flex-start;
420
+ }
421
+
422
+ .title-heading {
423
+ font-weight: 600;
424
+ margin-bottom: 2px;
425
+ text-transform: uppercase;
426
+ letter-spacing: 0.03em;
427
+ }
428
+
429
+ .sub-lines {
430
+ display: flex;
431
+ flex-direction: column;
432
+ gap: 1px;
433
+ }
434
+
435
+ .sub-line {
436
+ font-size: 10.5px;
437
+ display: flex;
438
+ justify-content: space-between;
439
+ line-height: 1.25;
440
+ color: var(--magpie-fg, inherit);
441
+ }
442
+
443
+ .sub-line span {
444
+ color: var(--magpie-muted, #71717a);
445
+ }
446
+
447
+ .sub-line strong {
448
+ font-weight: 600;
449
+ }
450
+
451
+ /* Tile 2: Connected IDEs & Registered Projects combined */
452
+ .tile-connected-stats {
453
+ padding: 8px 12px;
454
+ justify-content: flex-start;
455
+ gap: 2px;
456
+ }
457
+
458
+ .tile-connected-stats .stat-val {
459
+ font-size: 10.5px;
460
+ font-weight: 600;
461
+ line-height: 1.25;
462
+ color: var(--magpie-fg, inherit);
463
+ }
464
+
465
+ /* Tile 3: Standardize Components Storage Structure Prompt */
466
+ .tile-storage-structure {
467
+ padding: 8px 12px;
468
+ display: flex;
469
+ flex-direction: column;
470
+ justify-content: space-between;
471
+ }
472
+
473
+ .tile-storage-structure .prompt-desc {
474
+ font-size: 10.5px;
475
+ line-height: 1.35;
476
+ color: var(--magpie-muted, #71717a);
477
+ margin: 2px 0 6px 0;
478
+ }
479
+
480
+ .btn-copy-prompt {
481
+ font-size: 10.5px;
482
+ padding: 3px 6px;
483
+ border-radius: 4px;
484
+ border: 1px solid var(--magpie-border, rgba(128, 128, 128, 0.3));
485
+ background: var(--magpie-surface, rgba(128, 128, 128, 0.12));
486
+ color: inherit;
487
+ cursor: pointer;
488
+ transition: all 0.15s ease;
489
+ width: 100%;
490
+ text-align: center;
491
+ font-family: inherit;
492
+ margin-top: auto;
493
+ }
494
+
495
+ .btn-copy-prompt:hover {
496
+ background: var(--magpie-border, rgba(128, 128, 128, 0.25));
497
+ }
498
+
499
+ .btn-copy-prompt.copied {
500
+ background: rgba(16, 185, 129, 0.2);
501
+ border-color: rgba(16, 185, 129, 0.4);
502
+ color: #10b981;
503
+ }
504
+
505
+ /* Tile 4: Cap Control & Reset Button */
506
+ .tile-cap-control {
507
+ position: relative;
508
+ }
509
+
510
+ .cap-header {
511
+ display: flex;
512
+ align-items: center;
513
+ justify-content: space-between;
514
+ gap: 4px;
515
+ }
516
+
517
+ .btn-reset-cap {
518
+ font-size: 10px;
519
+ padding: 1px 6px;
520
+ border-radius: 4px;
521
+ border: 1px solid var(--magpie-border, rgba(128, 128, 128, 0.3));
522
+ background: var(--magpie-surface, rgba(128, 128, 128, 0.12));
523
+ color: inherit;
524
+ cursor: pointer;
525
+ transition: all 0.15s ease;
526
+ }
527
+
528
+ .btn-reset-cap:hover {
529
+ background: var(--magpie-border, rgba(128, 128, 128, 0.25));
530
+ }
531
+
532
+ .cap-row {
533
+ display: flex;
534
+ align-items: baseline;
535
+ justify-content: space-between;
536
+ gap: 8px;
537
+ margin-top: 2px;
538
+ }
539
+
540
+ .cap-input-wrap {
541
+ display: inline-flex;
542
+ align-items: center;
543
+ gap: 4px;
544
+ }
545
+
546
+ .cap-label {
547
+ font-size: 11px;
548
+ color: var(--magpie-muted, #71717a);
549
+ }
550
+
551
+ .cap-input {
552
+ width: 58px;
553
+ padding: 2px 6px;
554
+ font-size: 13px;
555
+ font-weight: 600;
556
+ text-align: center;
557
+ border-radius: 4px;
558
+ border: 1px solid var(--magpie-border, rgba(128, 128, 128, 0.3));
559
+ background: var(--magpie-bg, transparent);
560
+ color: inherit;
561
+ }
562
+
563
+ /* Two-column layout */
564
+ .grid-two {
565
+ display: grid;
566
+ grid-template-columns: 380px 1fr;
567
+ gap: 16px;
568
+ }
569
+
570
+ @media (max-width: 860px) {
571
+ .grid-two {
572
+ grid-template-columns: 1fr;
573
+ }
574
+ }
575
+
576
+ .card {
577
+ border: 1px solid var(--magpie-border, rgba(128, 128, 128, 0.2));
578
+ border-radius: 10px;
579
+ padding: 16px;
580
+ background: var(--magpie-surface, rgba(128, 128, 128, 0.04));
581
+ }
582
+
583
+ .card-head {
584
+ display: flex;
585
+ align-items: center;
586
+ justify-content: space-between;
587
+ gap: 12px;
588
+ margin-bottom: 4px;
589
+ }
590
+
591
+ .hint {
592
+ margin: 0 0 12px;
593
+ font-size: 12px;
594
+ color: var(--magpie-muted, #71717a);
595
+ }
596
+
597
+ /* Lists */
598
+ .target-list {
599
+ display: flex;
600
+ flex-direction: column;
601
+ gap: 8px;
602
+ margin-top: 8px;
603
+ }
604
+
605
+ /* Drag & Drop Visuals & Handles */
606
+ .target-item {
607
+ display: flex;
608
+ align-items: center;
609
+ justify-content: space-between;
610
+ padding: 10px 12px;
611
+ border-radius: 8px;
612
+ border: 1px solid var(--magpie-border, rgba(128, 128, 128, 0.2));
613
+ background: var(--magpie-bg, transparent);
614
+ cursor: grab;
615
+ transition: all 0.15s ease;
616
+ user-select: none;
617
+ }
618
+
619
+ .target-item:active {
620
+ cursor: grabbing;
621
+ }
622
+
623
+ .target-item.dragging {
624
+ opacity: 0.4;
625
+ border-style: dashed;
626
+ border-color: #2563eb;
627
+ background: rgba(37, 99, 235, 0.05);
628
+ }
629
+
630
+ .drag-handle {
631
+ color: var(--magpie-muted, #71717a);
632
+ font-size: 13px;
633
+ margin-right: 8px;
634
+ cursor: grab;
635
+ line-height: 1;
636
+ }
637
+
638
+ .target-item-actions {
639
+ display: flex;
640
+ align-items: center;
641
+ gap: 4px;
642
+ }
643
+
644
+ .btn-action-text {
645
+ background: transparent;
646
+ color: #3b82f6;
647
+ border: none;
648
+ font-size: 11px;
649
+ cursor: pointer;
650
+ padding: 4px 6px;
651
+ border-radius: 4px;
652
+ display: inline-flex;
653
+ align-items: center;
654
+ justify-content: center;
655
+ }
656
+ .btn-action-text:hover {
657
+ background: rgba(59, 130, 246, 0.12);
658
+ }
659
+
660
+ .target-item:hover {
661
+ background: var(--magpie-surface, rgba(128, 128, 128, 0.08));
662
+ }
663
+
664
+ .target-item.active {
665
+ border-color: #2563eb;
666
+ background: rgba(37, 99, 235, 0.08);
667
+ }
668
+
669
+ .target-title {
670
+ font-size: 13px;
671
+ font-weight: 600;
672
+ display: flex;
673
+ align-items: center;
674
+ gap: 6px;
675
+ }
676
+
677
+ .target-path {
678
+ font-size: 11px;
679
+ color: var(--magpie-muted, #71717a);
680
+ font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
681
+ margin-top: 2px;
682
+ }
683
+
684
+ /* Buttons */
685
+ .btn-sm {
686
+ padding: 4px 10px;
687
+ font-size: 11.5px;
688
+ font-weight: 500;
689
+ border-radius: 6px;
690
+ border: 1px solid var(--magpie-border, rgba(128, 128, 128, 0.3));
691
+ background: var(--magpie-surface, rgba(128, 128, 128, 0.08));
692
+ color: inherit;
693
+ cursor: pointer;
694
+ transition: all 0.15s ease;
695
+ }
696
+
697
+ .btn-sm:hover {
698
+ background: var(--magpie-border, rgba(128, 128, 128, 0.18));
699
+ }
700
+
701
+ .btn-primary {
702
+ background: #2563eb;
703
+ color: #ffffff;
704
+ border-color: transparent;
705
+ }
706
+ .btn-primary:hover {
707
+ background: #1d4ed8;
708
+ }
709
+
710
+ .btn-edit-text {
711
+ background: transparent;
712
+ color: #3b82f6;
713
+ border: none;
714
+ font-size: 11px;
715
+ cursor: pointer;
716
+ padding: 4px 8px;
717
+ border-radius: 4px;
718
+ display: inline-flex;
719
+ align-items: center;
720
+ justify-content: center;
721
+ transition: background 0.15s ease;
722
+ }
723
+ .btn-edit-text:hover {
724
+ background: rgba(59, 130, 246, 0.15);
725
+ }
726
+
727
+ .btn-danger-text {
728
+ background: transparent;
729
+ color: #ef4444;
730
+ border: none;
731
+ font-size: 11px;
732
+ cursor: pointer;
733
+ padding: 4px 8px;
734
+ border-radius: 4px;
735
+ display: inline-flex;
736
+ align-items: center;
737
+ justify-content: center;
738
+ }
739
+ .btn-danger-text:hover {
740
+ background: rgba(239, 68, 68, 0.15);
741
+ }
742
+
743
+ /* Active Target Bar */
744
+ .active-target-bar {
745
+ display: flex;
746
+ align-items: center;
747
+ justify-content: space-between;
748
+ padding: 8px 12px;
749
+ margin-bottom: 12px;
750
+ border-radius: 6px;
751
+ background: var(--magpie-surface, rgba(128, 128, 128, 0.08));
752
+ border-left: 3px solid #2563eb;
753
+ font-size: 12px;
754
+ }
755
+
756
+ /* Table */
757
+ .plugin-table {
758
+ width: 100%;
759
+ border-collapse: collapse;
760
+ text-align: left;
761
+ }
762
+
763
+ .plugin-table th, .plugin-table td {
764
+ padding: 10px 12px;
765
+ border-bottom: 1px solid var(--magpie-border, rgba(128, 128, 128, 0.15));
766
+ font-size: 12.5px;
767
+ }
768
+
769
+ .plugin-table th {
770
+ color: var(--magpie-muted, #71717a);
771
+ font-size: 11px;
772
+ font-weight: 600;
773
+ text-transform: uppercase;
774
+ }
775
+
776
+ .badge {
777
+ display: inline-block;
778
+ padding: 1px 6px;
779
+ border-radius: 4px;
780
+ font-size: 10.5px;
781
+ font-weight: 500;
782
+ margin-right: 4px;
783
+ }
784
+
785
+ .badge-mcp { background: rgba(37, 99, 235, 0.15); color: #3b82f6; }
786
+ .badge-skills { background: rgba(34, 197, 94, 0.15); color: #16a34a; }
787
+ .badge-rules { background: rgba(245, 158, 11, 0.15); color: #d97706; }
788
+
789
+ /* Modals */
790
+ .modal {
791
+ display: none;
792
+ position: fixed;
793
+ z-index: 1000;
794
+ left: 0; top: 0; width: 100%; height: 100%;
795
+ background: rgba(0, 0, 0, 0.5);
796
+ align-items: center;
797
+ justify-content: center;
798
+ padding: 16px;
799
+ box-sizing: border-box;
800
+ }
801
+
802
+ .modal-content {
803
+ background: var(--magpie-bg, #ffffff);
804
+ color: var(--magpie-fg, #27272a);
805
+ border: 1px solid var(--magpie-border, rgba(128, 128, 128, 0.3));
806
+ border-radius: 10px;
807
+ width: 500px;
808
+ max-width: 90vw;
809
+ max-height: 88vh;
810
+ display: flex;
811
+ flex-direction: column;
812
+ padding: 18px 20px;
813
+ box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
814
+ box-sizing: border-box;
815
+ overflow: hidden;
816
+ }
817
+
818
+ .modal-head {
819
+ display: flex;
820
+ align-items: center;
821
+ justify-content: space-between;
822
+ margin-bottom: 12px;
823
+ flex-shrink: 0;
824
+ }
825
+
826
+ .modal-head h3 {
827
+ margin: 0;
828
+ font-size: 15px;
829
+ font-weight: 600;
830
+ }
831
+
832
+ .modal-body {
833
+ display: flex;
834
+ flex-direction: column;
835
+ gap: 12px;
836
+ overflow-y: auto;
837
+ flex: 1;
838
+ min-height: 0;
839
+ padding-right: 6px;
840
+ }
841
+
842
+ .modal-body label {
843
+ font-size: 11.5px;
844
+ color: var(--magpie-muted, #71717a);
845
+ display: flex;
846
+ flex-direction: column;
847
+ gap: 4px;
848
+ }
849
+
850
+ .label-with-switch {
851
+ display: flex;
852
+ align-items: center;
853
+ justify-content: space-between;
854
+ font-size: 11.5px;
855
+ color: var(--magpie-muted, #71717a);
856
+ margin-bottom: 4px;
857
+ }
858
+
859
+ .auto-detect-toggle {
860
+ display: inline-flex;
861
+ align-items: center;
862
+ gap: 6px;
863
+ }
864
+
865
+ .mini-label {
866
+ font-size: 11px;
867
+ font-weight: 600;
868
+ color: #16a34a;
869
+ }
870
+
871
+ .field-hint {
872
+ margin: 4px 0 0;
873
+ font-size: 11px;
874
+ color: var(--magpie-muted, #71717a);
875
+ }
876
+
877
+ .modal-body input, .modal-body select {
878
+ padding: 7px 10px;
879
+ border-radius: 6px;
880
+ border: 1px solid var(--magpie-border, rgba(128, 128, 128, 0.3));
881
+ background: var(--magpie-bg, transparent);
882
+ color: inherit;
883
+ font-size: 12.5px;
884
+ }
885
+
886
+ .modal-body input[readonly] {
887
+ background: var(--magpie-surface, rgba(128, 128, 128, 0.08));
888
+ color: var(--magpie-muted, #71717a);
889
+ cursor: not-allowed;
890
+ }
891
+
892
+ .modal-footer {
893
+ display: flex;
894
+ justify-content: flex-end;
895
+ gap: 8px;
896
+ margin-top: 14px;
897
+ flex-shrink: 0;
898
+ }
899
+
900
+ .input-with-button {
901
+ display: flex;
902
+ align-items: center;
903
+ gap: 8px;
904
+ width: 100%;
905
+ }
906
+
907
+ .input-with-button input {
908
+ flex: 1;
909
+ min-width: 0;
910
+ }
911
+
912
+ .btn-browse {
913
+ white-space: nowrap;
914
+ padding: 6px 12px;
915
+ background: var(--magpie-surface, rgba(128, 128, 128, 0.1));
916
+ border: 1px solid var(--magpie-border, rgba(128, 128, 128, 0.3));
917
+ border-radius: 6px;
918
+ color: inherit;
919
+ font-size: 11.5px;
920
+ font-weight: 500;
921
+ cursor: pointer;
922
+ transition: all 0.15s ease;
923
+ }
924
+
925
+ .btn-browse:hover {
926
+ background: var(--magpie-surface-hover, rgba(128, 128, 128, 0.2));
927
+ border-color: #3b82f6;
928
+ color: #3b82f6;
929
+ }
930
+
931
+ /* Category Browser & File Tree Styles */
932
+ .cat-tab {
933
+ font-size: 11px;
934
+ padding: 4px 10px;
935
+ border-radius: 6px;
936
+ background: var(--magpie-surface, rgba(128, 128, 128, 0.1));
937
+ border: 1px solid var(--magpie-border, rgba(128, 128, 128, 0.25));
938
+ color: var(--magpie-fg, inherit);
939
+ cursor: pointer;
940
+ transition: all 0.15s ease;
941
+ }
942
+
943
+ .cat-tab:hover {
944
+ border-color: var(--magpie-accent, #2563eb);
945
+ }
946
+
947
+ .cat-tab.active {
948
+ background: var(--magpie-accent, #2563eb);
949
+ color: #ffffff;
950
+ border-color: transparent;
951
+ font-weight: 600;
952
+ }
953
+
954
+ .cat-item-row {
955
+ display: flex;
956
+ align-items: center;
957
+ justify-content: space-between;
958
+ padding: 6px 8px;
959
+ border-bottom: 1px solid var(--magpie-border, rgba(128, 128, 128, 0.15));
960
+ gap: 8px;
961
+ }
962
+
963
+ .cat-item-row:last-child {
964
+ border-bottom: none;
965
+ }
966
+
967
+ .cat-item-row:hover {
968
+ background: var(--magpie-surface-hover, rgba(128, 128, 128, 0.08));
969
+ border-radius: 4px;
970
+ }
971
+
972
+ .cat-item-title {
973
+ font-weight: 500;
974
+ display: flex;
975
+ align-items: center;
976
+ gap: 6px;
977
+ min-width: 0;
978
+ overflow: hidden;
979
+ text-overflow: ellipsis;
980
+ white-space: nowrap;
981
+ }
982
+
983
+ .cat-item-meta {
984
+ font-size: 10.5px;
985
+ color: var(--magpie-muted, #71717a);
986
+ white-space: nowrap;
987
+ }
988
+
989
+ .file-tree-container {
990
+ margin-top: 8px;
991
+ padding: 8px 12px;
992
+ background: var(--magpie-surface, rgba(128, 128, 128, 0.06));
993
+ border: 1px dashed var(--magpie-border, rgba(128, 128, 128, 0.25));
994
+ border-radius: 6px;
995
+ font-family: var(--magpie-code, ui-monospace, Menlo, monospace);
996
+ font-size: 11px;
997
+ max-height: 220px;
998
+ overflow-y: auto;
999
+ }
1000
+
1001
+ .file-tree-item {
1002
+ display: flex;
1003
+ align-items: center;
1004
+ justify-content: space-between;
1005
+ padding: 2.5px 4px;
1006
+ border-radius: 3px;
1007
+ line-height: 1.4;
1008
+ }
1009
+
1010
+ .file-tree-item:hover {
1011
+ background: rgba(37, 99, 235, 0.1);
1012
+ }
1013
+
1014
+ .btn-files-toggle {
1015
+ display: inline-flex;
1016
+ align-items: center;
1017
+ gap: 4px;
1018
+ padding: 2px 7px;
1019
+ font-size: 10.5px;
1020
+ font-weight: 500;
1021
+ border-radius: 4px;
1022
+ background: rgba(128, 128, 128, 0.12);
1023
+ border: 1px solid var(--magpie-border, rgba(128, 128, 128, 0.2));
1024
+ color: inherit;
1025
+ cursor: pointer;
1026
+ margin-top: 4px;
1027
+ }
1028
+
1029
+ .btn-files-toggle:hover {
1030
+ border-color: #3b82f6;
1031
+ color: #3b82f6;
1032
+ }