maplibre-gl-geoagent 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +189 -0
  3. package/dist/GeoAgentControl-CmfTQTkJ.cjs +47680 -0
  4. package/dist/GeoAgentControl-CmfTQTkJ.cjs.map +1 -0
  5. package/dist/GeoAgentControl-c10MBYNG.js +47681 -0
  6. package/dist/GeoAgentControl-c10MBYNG.js.map +1 -0
  7. package/dist/anthropic-C7kTy6A0.js +6505 -0
  8. package/dist/anthropic-C7kTy6A0.js.map +1 -0
  9. package/dist/anthropic-Y4byflsD.cjs +6505 -0
  10. package/dist/anthropic-Y4byflsD.cjs.map +1 -0
  11. package/dist/index-CX7FTecz.js +18878 -0
  12. package/dist/index-CX7FTecz.js.map +1 -0
  13. package/dist/index-CzhifCGI.cjs +254 -0
  14. package/dist/index-CzhifCGI.cjs.map +1 -0
  15. package/dist/index-DC2fUaFo.cjs +9727 -0
  16. package/dist/index-DC2fUaFo.cjs.map +1 -0
  17. package/dist/index-DRJ1yR1n.js +9727 -0
  18. package/dist/index-DRJ1yR1n.js.map +1 -0
  19. package/dist/index-Dta4g9Ff.js +254 -0
  20. package/dist/index-Dta4g9Ff.js.map +1 -0
  21. package/dist/index-m-aZEiVB.cjs +18878 -0
  22. package/dist/index-m-aZEiVB.cjs.map +1 -0
  23. package/dist/index.cjs +12 -0
  24. package/dist/index.cjs.map +1 -0
  25. package/dist/index.mjs +12 -0
  26. package/dist/index.mjs.map +1 -0
  27. package/dist/maplibre-gl-geoagent.css +1664 -0
  28. package/dist/react.cjs +94 -0
  29. package/dist/react.cjs.map +1 -0
  30. package/dist/react.mjs +94 -0
  31. package/dist/react.mjs.map +1 -0
  32. package/dist/types/index.d.ts +4 -0
  33. package/dist/types/index.d.ts.map +1 -0
  34. package/dist/types/lib/core/GeoAgentControl.d.ts +79 -0
  35. package/dist/types/lib/core/GeoAgentControl.d.ts.map +1 -0
  36. package/dist/types/lib/core/GeoAgentControlReact.d.ts +3 -0
  37. package/dist/types/lib/core/GeoAgentControlReact.d.ts.map +1 -0
  38. package/dist/types/lib/core/maplibre-tools.d.ts +66 -0
  39. package/dist/types/lib/core/maplibre-tools.d.ts.map +1 -0
  40. package/dist/types/lib/core/types.d.ts +101 -0
  41. package/dist/types/lib/core/types.d.ts.map +1 -0
  42. package/dist/types/lib/hooks/index.d.ts +2 -0
  43. package/dist/types/lib/hooks/index.d.ts.map +1 -0
  44. package/dist/types/lib/hooks/useGeoAgentState.d.ts +13 -0
  45. package/dist/types/lib/hooks/useGeoAgentState.d.ts.map +1 -0
  46. package/dist/types/lib/utils/helpers.d.ts +86 -0
  47. package/dist/types/lib/utils/helpers.d.ts.map +1 -0
  48. package/dist/types/lib/utils/index.d.ts +2 -0
  49. package/dist/types/lib/utils/index.d.ts.map +1 -0
  50. package/dist/types/react.d.ts +4 -0
  51. package/dist/types/react.d.ts.map +1 -0
  52. package/package.json +111 -0
@@ -0,0 +1,1664 @@
1
+ /* Layer Control Styles */
2
+
3
+ /* Control button */
4
+
5
+ .maplibregl-ctrl-layer-control {
6
+ background: #fff;
7
+ border-radius: 4px;
8
+ box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
9
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
10
+ }
11
+
12
+ .maplibregl-ctrl-layer-control button {
13
+ background: none;
14
+ border: none;
15
+ padding: 0;
16
+ width: 29px;
17
+ height: 29px;
18
+ display: flex;
19
+ align-items: center;
20
+ justify-content: center;
21
+ cursor: pointer;
22
+ outline: none;
23
+ color: #1f2a37;
24
+ }
25
+
26
+ .maplibregl-ctrl-layer-control button:hover {
27
+ background-color: rgba(0, 0, 0, 0.05);
28
+ }
29
+
30
+ .maplibregl-ctrl-layer-control .layer-control-icon {
31
+ width: 100%;
32
+ height: 100%;
33
+ position: relative;
34
+ display: flex;
35
+ align-items: center;
36
+ justify-content: center;
37
+ line-height: 0;
38
+ }
39
+
40
+ .maplibregl-ctrl-layer-control .layer-control-icon svg {
41
+ width: 22px;
42
+ height: 22px;
43
+ display: block;
44
+ stroke: currentColor;
45
+ fill: none;
46
+ }
47
+
48
+ /* Panel - positioned dynamically by JavaScript for floating behavior */
49
+
50
+ .layer-control-panel {
51
+ position: absolute;
52
+ /* Position is set dynamically by updatePanelPosition() */
53
+ background: #fff;
54
+ border-radius: 4px;
55
+ box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
56
+ min-width: 240px;
57
+ max-width: 420px;
58
+ max-height: 600px;
59
+ overflow-y: auto;
60
+ z-index: 1000;
61
+ padding: 8px;
62
+ font-size: 12px;
63
+ line-height: 1.4;
64
+ display: none;
65
+ }
66
+
67
+ .layer-control-panel.expanded {
68
+ display: block;
69
+ }
70
+
71
+ /* Panel header */
72
+
73
+ .layer-control-panel-header {
74
+ display: flex;
75
+ align-items: center;
76
+ justify-content: space-between;
77
+ gap: 10px;
78
+ font-weight: 600;
79
+ color: #333;
80
+ padding: 4px 0 8px 0;
81
+ border-bottom: 1px solid #e0e0e0;
82
+ margin-bottom: 8px;
83
+ }
84
+
85
+ .layer-control-panel-title {
86
+ flex: 1 1 auto;
87
+ font-size: 13px;
88
+ }
89
+
90
+ /* Width control */
91
+
92
+ .layer-control-width-control {
93
+ display: flex;
94
+ align-items: center;
95
+ gap: 6px;
96
+ font-weight: 500;
97
+ font-size: 11px;
98
+ color: #5c6a7d;
99
+ flex-shrink: 0;
100
+ margin-left: auto;
101
+ }
102
+
103
+ .layer-control-width-slider {
104
+ position: relative;
105
+ width: 130px;
106
+ height: 16px;
107
+ border-radius: 8px;
108
+ cursor: ew-resize;
109
+ display: flex;
110
+ align-items: center;
111
+ justify-content: center;
112
+ touch-action: none;
113
+ background: transparent;
114
+ padding: 0 8px;
115
+ box-sizing: border-box;
116
+ }
117
+
118
+ .layer-control-width-value {
119
+ min-width: 44px;
120
+ text-align: right;
121
+ font-feature-settings: 'tnum';
122
+ color: #3a4756;
123
+ }
124
+
125
+ .layer-control-width-track {
126
+ position: absolute;
127
+ left: 8px;
128
+ right: 8px;
129
+ height: 4px;
130
+ border-radius: 2px;
131
+ background: linear-gradient(90deg, #d0d7e2, #2f6fed);
132
+ pointer-events: none;
133
+ }
134
+
135
+ .layer-control-width-thumb {
136
+ position: absolute;
137
+ top: 50%;
138
+ width: 14px;
139
+ height: 14px;
140
+ border-radius: 50%;
141
+ background: #fff;
142
+ border: 2px solid #2f6fed;
143
+ transform: translateY(-50%);
144
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
145
+ pointer-events: none;
146
+ }
147
+
148
+ /* Action buttons (Show All / Hide All) */
149
+
150
+ .layer-control-actions {
151
+ display: flex;
152
+ gap: 8px;
153
+ padding-bottom: 6px;
154
+ border-bottom: 1px solid #e0e0e0;
155
+ margin-bottom: 4px;
156
+ }
157
+
158
+ .layer-control-action-btn {
159
+ flex: 1;
160
+ padding: 3px 8px;
161
+ font-size: 11px;
162
+ font-weight: 600;
163
+ color: #ffffff !important;
164
+ background: #2f6fed !important;
165
+ border: 1px solid #2f6fed !important;
166
+ border-radius: 4px;
167
+ cursor: pointer;
168
+ transition: all 0.15s ease;
169
+ width: auto;
170
+ height: auto;
171
+ }
172
+
173
+ .layer-control-action-btn:hover {
174
+ background: #1d5bd6 !important;
175
+ border-color: #1d5bd6 !important;
176
+ color: #ffffff !important;
177
+ }
178
+
179
+ .layer-control-action-btn:active {
180
+ background: #1a4fc2 !important;
181
+ border-color: #1a4fc2 !important;
182
+ }
183
+
184
+ /* Layer items */
185
+
186
+ .layer-control-item {
187
+ display: flex;
188
+ flex-direction: column;
189
+ gap: 6px;
190
+ padding: 4px 0;
191
+ border-bottom: 1px solid #f0f0f0;
192
+ box-sizing: border-box;
193
+ }
194
+
195
+ .layer-control-item:last-child {
196
+ border-bottom: none;
197
+ }
198
+
199
+ .layer-control-row {
200
+ display: flex;
201
+ align-items: center;
202
+ gap: 8px;
203
+ width: 100%;
204
+ box-sizing: border-box;
205
+ min-height: 20px;
206
+ }
207
+
208
+ .layer-control-checkbox {
209
+ margin: 0;
210
+ cursor: pointer;
211
+ }
212
+
213
+ .layer-control-name {
214
+ margin: 0;
215
+ flex: 1 1 0;
216
+ min-width: 0;
217
+ font-weight: 500;
218
+ color: #333;
219
+ overflow: hidden;
220
+ text-overflow: ellipsis;
221
+ white-space: nowrap;
222
+ }
223
+
224
+ /* Layer symbol/icon */
225
+
226
+ .layer-control-symbol {
227
+ display: inline-flex;
228
+ align-items: center;
229
+ justify-content: center;
230
+ width: 18px;
231
+ height: 18px;
232
+ flex-shrink: 0;
233
+ }
234
+
235
+ .layer-control-symbol svg {
236
+ width: 16px;
237
+ height: 16px;
238
+ display: block;
239
+ }
240
+
241
+ .layer-control-opacity {
242
+ flex: 0 0 auto;
243
+ width: 100px;
244
+ min-width: 100px;
245
+ max-width: 100px;
246
+ height: 16px;
247
+ margin: 0;
248
+ cursor: pointer;
249
+ background: linear-gradient(to right, #ddd 0%, #333 100%);
250
+ border-radius: 8px;
251
+ appearance: none;
252
+ outline: none;
253
+ }
254
+
255
+ .layer-control-opacity::-webkit-slider-thumb {
256
+ appearance: none;
257
+ width: 16px;
258
+ height: 16px;
259
+ background: #fff;
260
+ border: 2px solid #333;
261
+ border-radius: 50%;
262
+ cursor: pointer;
263
+ }
264
+
265
+ .layer-control-opacity::-moz-range-thumb {
266
+ width: 16px;
267
+ height: 16px;
268
+ background: #fff;
269
+ border: 2px solid #333;
270
+ border-radius: 50%;
271
+ cursor: pointer;
272
+ }
273
+
274
+ /* Style button */
275
+
276
+ .layer-control-style-button {
277
+ width: 20px;
278
+ height: 20px;
279
+ border-radius: 4px;
280
+ border: none;
281
+ background: none;
282
+ cursor: pointer;
283
+ font-size: 16px;
284
+ color: #444;
285
+ display: flex;
286
+ align-items: center;
287
+ justify-content: center;
288
+ transition: background-color 0.1s ease;
289
+ flex-shrink: 0;
290
+ }
291
+
292
+ .layer-control-style-button:hover {
293
+ background-color: rgba(0, 0, 0, 0.07);
294
+ }
295
+
296
+ .layer-control-style-button[disabled] {
297
+ cursor: not-allowed;
298
+ opacity: 0.45;
299
+ }
300
+
301
+ /* Style editor */
302
+
303
+ .layer-control-style-editor {
304
+ display: none;
305
+ width: 100%;
306
+ background: #f7f9fc;
307
+ border: 1px solid #dfe3eb;
308
+ border-radius: 6px;
309
+ padding: 10px;
310
+ margin-top: 6px;
311
+ box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
312
+ align-self: stretch;
313
+ box-sizing: border-box;
314
+ }
315
+
316
+ .layer-control-style-editor.expanded {
317
+ display: block;
318
+ }
319
+
320
+ .layer-control-style-header {
321
+ display: flex;
322
+ align-items: center;
323
+ justify-content: space-between;
324
+ font-weight: 600;
325
+ font-size: 12px;
326
+ margin-bottom: 8px;
327
+ color: #2f3c4a;
328
+ }
329
+
330
+ .layer-control-style-close,
331
+ .layer-control-style-close-secondary {
332
+ border: none;
333
+ background: none;
334
+ cursor: pointer;
335
+ color: #556372;
336
+ font-size: 14px;
337
+ }
338
+
339
+ .layer-control-style-controls {
340
+ display: flex;
341
+ flex-direction: column;
342
+ gap: 8px;
343
+ }
344
+
345
+ .layer-style-control {
346
+ display: flex;
347
+ flex-direction: column;
348
+ gap: 4px;
349
+ font-size: 11px;
350
+ }
351
+
352
+ .layer-style-control label {
353
+ font-weight: 500;
354
+ color: #3a4756;
355
+ }
356
+
357
+ .layer-style-color-group {
358
+ display: flex;
359
+ align-items: center;
360
+ gap: 6px;
361
+ }
362
+
363
+ .layer-style-color {
364
+ width: 36px;
365
+ height: 20px;
366
+ padding: 0;
367
+ border: none;
368
+ cursor: pointer;
369
+ }
370
+
371
+ .layer-style-color-text {
372
+ flex: 1;
373
+ height: 22px;
374
+ border: 1px solid #d0d7e2;
375
+ border-radius: 4px;
376
+ padding: 2px 6px;
377
+ font-family: monospace;
378
+ font-size: 11px;
379
+ background-color: #fff;
380
+ }
381
+
382
+ .layer-style-slider-wrapper {
383
+ display: flex;
384
+ align-items: center;
385
+ gap: 6px;
386
+ }
387
+
388
+ .layer-style-slider {
389
+ flex: 1;
390
+ cursor: pointer;
391
+ }
392
+
393
+ .layer-style-value {
394
+ min-width: 38px;
395
+ text-align: right;
396
+ font-family: monospace;
397
+ color: #3a4756;
398
+ }
399
+
400
+ .layer-control-style-actions {
401
+ display: flex;
402
+ justify-content: flex-end;
403
+ gap: 6px;
404
+ margin-top: 10px;
405
+ }
406
+
407
+ .layer-control-style-action {
408
+ border: none;
409
+ padding: 5px 12px;
410
+ border-radius: 4px;
411
+ cursor: pointer;
412
+ font-size: 11px;
413
+ font-weight: 500;
414
+ }
415
+
416
+ .layer-control-style-apply {
417
+ background-color: #2f6fed;
418
+ color: #fff;
419
+ }
420
+
421
+ .layer-control-style-apply:hover {
422
+ background-color: #2557b8;
423
+ }
424
+
425
+ .layer-control-style-reset {
426
+ background-color: #e4e8f1;
427
+ color: #2f3c4a;
428
+ border: 1px solid #c6cedd;
429
+ }
430
+
431
+ .layer-control-style-reset:hover {
432
+ background-color: #d7deed;
433
+ }
434
+
435
+ .layer-control-style-close-secondary {
436
+ background-color: #f7f9fc;
437
+ color: #2f3c4a;
438
+ border: 1px solid #d7deed;
439
+ }
440
+
441
+ .layer-control-style-close-secondary:hover {
442
+ background-color: #e9edf7;
443
+ }
444
+
445
+ .layer-control-style-empty {
446
+ margin: 0;
447
+ font-size: 11px;
448
+ color: #5c6a7d;
449
+ }
450
+
451
+ /* Style control groups */
452
+
453
+ .style-control-group {
454
+ display: flex;
455
+ flex-direction: column;
456
+ gap: 6px;
457
+ margin-bottom: 12px;
458
+ }
459
+
460
+ .style-control-group:last-child {
461
+ margin-bottom: 0;
462
+ }
463
+
464
+ .style-control-label {
465
+ font-size: 11px;
466
+ font-weight: 600;
467
+ color: #3a4756;
468
+ margin: 0;
469
+ }
470
+
471
+ .style-control-input-wrapper {
472
+ display: flex;
473
+ align-items: center;
474
+ gap: 8px;
475
+ }
476
+
477
+ .style-control-slider {
478
+ flex: 1;
479
+ height: 18px;
480
+ cursor: pointer;
481
+ background: linear-gradient(to right, #e0e6ed 0%, #2f6fed 100%);
482
+ border-radius: 9px;
483
+ outline: none;
484
+ appearance: none;
485
+ }
486
+
487
+ .style-control-slider::-webkit-slider-thumb {
488
+ appearance: none;
489
+ width: 16px;
490
+ height: 16px;
491
+ background: #fff;
492
+ border: 2px solid #2f6fed;
493
+ border-radius: 50%;
494
+ cursor: pointer;
495
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
496
+ }
497
+
498
+ .style-control-slider::-moz-range-thumb {
499
+ width: 16px;
500
+ height: 16px;
501
+ background: #fff;
502
+ border: 2px solid #2f6fed;
503
+ border-radius: 50%;
504
+ cursor: pointer;
505
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
506
+ }
507
+
508
+ .style-control-value {
509
+ min-width: 48px;
510
+ text-align: right;
511
+ font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
512
+ font-size: 11px;
513
+ color: #3a4756;
514
+ font-weight: 500;
515
+ }
516
+
517
+ .style-control-color-group {
518
+ display: flex;
519
+ align-items: center;
520
+ gap: 8px;
521
+ }
522
+
523
+ .style-control-color-picker {
524
+ width: 40px;
525
+ height: 28px;
526
+ padding: 2px;
527
+ border: 1px solid #d0d7e2;
528
+ border-radius: 4px;
529
+ cursor: pointer;
530
+ background: #fff;
531
+ }
532
+
533
+ .style-control-color-value {
534
+ flex: 1;
535
+ height: 28px;
536
+ padding: 4px 8px;
537
+ border: 1px solid #d0d7e2;
538
+ border-radius: 4px;
539
+ font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
540
+ font-size: 11px;
541
+ color: #3a4756;
542
+ background: #fff;
543
+ text-align: center;
544
+ font-weight: 500;
545
+ }
546
+
547
+ /* Custom scrollbar */
548
+
549
+ .layer-control-panel::-webkit-scrollbar {
550
+ width: 6px;
551
+ }
552
+
553
+ .layer-control-panel::-webkit-scrollbar-track {
554
+ background: #f1f1f1;
555
+ border-radius: 3px;
556
+ }
557
+
558
+ .layer-control-panel::-webkit-scrollbar-thumb {
559
+ background: #c1c1c1;
560
+ border-radius: 3px;
561
+ }
562
+
563
+ .layer-control-panel::-webkit-scrollbar-thumb:hover {
564
+ background: #a8a8a8;
565
+ }
566
+
567
+ /* Style button */
568
+
569
+ .layer-control-style-button {
570
+ flex: 0 0 auto;
571
+ width: 20px;
572
+ height: 20px;
573
+ border: 1px solid #ddd;
574
+ border-radius: 3px;
575
+ background: white;
576
+ color: #666;
577
+ cursor: pointer;
578
+ font-size: 16px;
579
+ padding: 0;
580
+ line-height: 1;
581
+ transition: all 0.2s ease;
582
+ }
583
+
584
+ .layer-control-style-button:hover {
585
+ background: #f5f5f5;
586
+ border-color: #2f6fed;
587
+ color: #2f6fed;
588
+ }
589
+
590
+ .layer-control-style-button:active {
591
+ background: #e8e8e8;
592
+ }
593
+
594
+ /* Style editor */
595
+
596
+ .layer-control-style-editor {
597
+ display: block;
598
+ margin-top: 8px;
599
+ padding: 12px;
600
+ background: #f7fafc;
601
+ border: 1px solid #e0e6ed;
602
+ border-radius: 4px;
603
+ box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
604
+ }
605
+
606
+ .style-editor-header {
607
+ display: flex;
608
+ align-items: center;
609
+ justify-content: space-between;
610
+ margin-bottom: 12px;
611
+ padding-bottom: 8px;
612
+ border-bottom: 1px solid #e0e6ed;
613
+ }
614
+
615
+ .style-editor-title {
616
+ font-size: 13px;
617
+ font-weight: 600;
618
+ color: #333;
619
+ }
620
+
621
+ .style-editor-close {
622
+ width: 20px;
623
+ height: 20px;
624
+ border: none;
625
+ background: transparent;
626
+ color: #999;
627
+ font-size: 20px;
628
+ line-height: 1;
629
+ cursor: pointer;
630
+ padding: 0;
631
+ transition: color 0.2s ease;
632
+ }
633
+
634
+ .style-editor-close:hover {
635
+ color: #333;
636
+ }
637
+
638
+ .style-editor-controls {
639
+ margin-bottom: 12px;
640
+ min-height: 40px;
641
+ color: #666;
642
+ font-size: 12px;
643
+ }
644
+
645
+ .style-editor-section-header {
646
+ font-size: 12px;
647
+ font-weight: 600;
648
+ color: #555;
649
+ margin: 8px 0 4px;
650
+ padding-bottom: 2px;
651
+ border-bottom: 1px solid #e0e6ed;
652
+ }
653
+
654
+ .style-editor-section-header:first-child {
655
+ margin-top: 0;
656
+ }
657
+
658
+ .style-editor-actions {
659
+ display: flex;
660
+ gap: 8px;
661
+ justify-content: flex-end;
662
+ padding-top: 8px;
663
+ border-top: 1px solid #e0e6ed;
664
+ }
665
+
666
+ .style-editor-button {
667
+ padding: 8px 16px;
668
+ min-width: 70px;
669
+ border: 1px solid #ddd;
670
+ border-radius: 3px;
671
+ background: white;
672
+ color: #333;
673
+ font-size: 12px;
674
+ font-weight: 500;
675
+ cursor: pointer;
676
+ transition: all 0.2s ease;
677
+ white-space: nowrap;
678
+ }
679
+
680
+ .style-editor-button:hover {
681
+ background: #f5f5f5;
682
+ border-color: #bbb;
683
+ }
684
+
685
+ .style-editor-button:active {
686
+ background: #e0e0e0;
687
+ }
688
+
689
+ .layer-control-style-editor .style-editor-button-reset {
690
+ background: #fb923c !important;
691
+ color: #ffffff !important;
692
+ border-color: #f97316 !important;
693
+ font-weight: 600;
694
+ }
695
+
696
+ .layer-control-style-editor .style-editor-button-reset:hover {
697
+ background: #f97316 !important;
698
+ border-color: #ea580c !important;
699
+ color: #ffffff !important;
700
+ }
701
+
702
+ .layer-control-style-editor .style-editor-button-close {
703
+ background: #6b7280 !important;
704
+ color: #ffffff !important;
705
+ border-color: #4b5563 !important;
706
+ font-weight: 600;
707
+ }
708
+
709
+ .layer-control-style-editor .style-editor-button-close:hover {
710
+ background: #4b5563 !important;
711
+ border-color: #374151 !important;
712
+ color: #ffffff !important;
713
+ }
714
+
715
+ .layer-control-style-editor .style-editor-button-remove {
716
+ background: #ef4444 !important;
717
+ color: #ffffff !important;
718
+ border-color: #dc2626 !important;
719
+ font-weight: 600;
720
+ }
721
+
722
+ .layer-control-style-editor .style-editor-button-remove:hover {
723
+ background: #dc2626 !important;
724
+ border-color: #b91c1c !important;
725
+ color: #ffffff !important;
726
+ }
727
+
728
+ /* ===== Background Legend Panel ===== */
729
+
730
+ .layer-control-background-legend {
731
+ display: block;
732
+ margin-top: 8px;
733
+ padding: 10px;
734
+ background: #f7fafc;
735
+ border: 1px solid #e0e6ed;
736
+ border-radius: 4px;
737
+ box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
738
+ }
739
+
740
+ .background-legend-header {
741
+ display: flex;
742
+ align-items: center;
743
+ justify-content: space-between;
744
+ margin-bottom: 8px;
745
+ padding-bottom: 6px;
746
+ border-bottom: 1px solid #e0e6ed;
747
+ }
748
+
749
+ .background-legend-title {
750
+ font-size: 12px;
751
+ font-weight: 600;
752
+ color: #333;
753
+ }
754
+
755
+ .background-legend-close {
756
+ width: 18px;
757
+ height: 18px;
758
+ border: none;
759
+ background: transparent;
760
+ color: #999;
761
+ font-size: 18px;
762
+ line-height: 1;
763
+ cursor: pointer;
764
+ padding: 0;
765
+ transition: color 0.2s ease;
766
+ }
767
+
768
+ .background-legend-close:hover {
769
+ color: #333;
770
+ }
771
+
772
+ /* Quick action buttons */
773
+
774
+ .background-legend-actions {
775
+ display: flex;
776
+ gap: 6px;
777
+ margin-bottom: 8px;
778
+ }
779
+
780
+ .layer-control-background-legend .background-legend-action-btn {
781
+ flex: 1;
782
+ padding: 5px 10px;
783
+ border: 1px solid #2f6fed;
784
+ border-radius: 3px;
785
+ background: #2f6fed;
786
+ color: #ffffff;
787
+ font-size: 10px;
788
+ font-weight: 600;
789
+ cursor: pointer;
790
+ transition: all 0.15s ease;
791
+ width: auto;
792
+ height: auto;
793
+ }
794
+
795
+ .layer-control-background-legend .background-legend-action-btn:hover {
796
+ background: #1d5bd6 !important;
797
+ background-color: #1d5bd6 !important;
798
+ border-color: #1d5bd6;
799
+ color: #ffffff;
800
+ }
801
+
802
+ .layer-control-background-legend .background-legend-action-btn:active {
803
+ background: #1a4fc2 !important;
804
+ background-color: #1a4fc2 !important;
805
+ border-color: #1a4fc2;
806
+ }
807
+
808
+ /* Filter row */
809
+
810
+ .background-legend-filter {
811
+ display: flex;
812
+ align-items: center;
813
+ gap: 6px;
814
+ margin-bottom: 8px;
815
+ padding: 6px 8px;
816
+ background: #eef2f7;
817
+ border-radius: 3px;
818
+ }
819
+
820
+ .background-legend-filter-checkbox {
821
+ margin: 0;
822
+ cursor: pointer;
823
+ }
824
+
825
+ .background-legend-filter-label {
826
+ font-size: 11px;
827
+ color: #444;
828
+ font-weight: 500;
829
+ cursor: pointer;
830
+ user-select: none;
831
+ }
832
+
833
+ /* Layer list container */
834
+
835
+ .background-legend-layer-list {
836
+ max-height: 200px;
837
+ overflow-y: auto;
838
+ padding-right: 4px;
839
+ }
840
+
841
+ /* Individual layer row */
842
+
843
+ .background-legend-layer-row {
844
+ display: flex;
845
+ align-items: center;
846
+ gap: 6px;
847
+ padding: 4px 0;
848
+ border-bottom: 1px solid #f0f4f8;
849
+ }
850
+
851
+ .background-legend-layer-row:last-child {
852
+ border-bottom: none;
853
+ }
854
+
855
+ .background-legend-checkbox {
856
+ margin: 0;
857
+ cursor: pointer;
858
+ flex-shrink: 0;
859
+ }
860
+
861
+ /* Layer symbol in background legend */
862
+
863
+ .background-legend-layer-symbol {
864
+ display: inline-flex;
865
+ align-items: center;
866
+ justify-content: center;
867
+ width: 14px;
868
+ height: 14px;
869
+ flex-shrink: 0;
870
+ }
871
+
872
+ .background-legend-layer-symbol svg {
873
+ width: 14px;
874
+ height: 14px;
875
+ display: block;
876
+ }
877
+
878
+ .background-legend-layer-name {
879
+ flex: 1;
880
+ font-size: 11px;
881
+ color: #333;
882
+ overflow: hidden;
883
+ text-overflow: ellipsis;
884
+ white-space: nowrap;
885
+ }
886
+
887
+ .background-legend-layer-type {
888
+ flex-shrink: 0;
889
+ font-size: 9px;
890
+ color: #888;
891
+ background: #e8ecf0;
892
+ padding: 2px 5px;
893
+ border-radius: 3px;
894
+ text-transform: uppercase;
895
+ font-weight: 500;
896
+ }
897
+
898
+ /* Empty state */
899
+
900
+ .background-legend-empty {
901
+ font-size: 11px;
902
+ color: #888;
903
+ text-align: center;
904
+ padding: 12px;
905
+ margin: 0;
906
+ }
907
+
908
+ /* Active state for legend button */
909
+
910
+ .layer-control-background-legend-button.active {
911
+ background: #e8ecf0;
912
+ border-color: #2f6fed;
913
+ color: #2f6fed;
914
+ }
915
+
916
+ /* Custom scrollbar for legend layer list */
917
+
918
+ .background-legend-layer-list::-webkit-scrollbar {
919
+ width: 4px;
920
+ }
921
+
922
+ .background-legend-layer-list::-webkit-scrollbar-track {
923
+ background: #f1f1f1;
924
+ border-radius: 2px;
925
+ }
926
+
927
+ .background-legend-layer-list::-webkit-scrollbar-thumb {
928
+ background: #c1c1c1;
929
+ border-radius: 2px;
930
+ }
931
+
932
+ .background-legend-layer-list::-webkit-scrollbar-thumb:hover {
933
+ background: #a8a8a8;
934
+ }
935
+
936
+ /* Custom layer info panel */
937
+
938
+ .layer-control-custom-info-text {
939
+ margin: 0;
940
+ padding: 8px;
941
+ font-size: 11px;
942
+ line-height: 1.5;
943
+ color: #666;
944
+ background: #f0f4f8;
945
+ border-radius: 4px;
946
+ border-left: 3px solid #2f6fed;
947
+ }
948
+
949
+ /* ===== Context Menu Styles ===== */
950
+
951
+ .layer-control-context-menu {
952
+ position: absolute;
953
+ z-index: 1001;
954
+ background: #fff;
955
+ border-radius: 6px;
956
+ box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
957
+ min-width: 180px;
958
+ padding: 4px 0;
959
+ font-size: 12px;
960
+ user-select: none;
961
+ }
962
+
963
+ .context-menu-item {
964
+ display: flex;
965
+ align-items: center;
966
+ gap: 10px;
967
+ padding: 8px 14px;
968
+ cursor: pointer;
969
+ color: #333;
970
+ transition: background-color 0.1s ease;
971
+ }
972
+
973
+ .context-menu-item:hover {
974
+ background: #f5f7fa;
975
+ }
976
+
977
+ .context-menu-item:active {
978
+ background: #e8ecf0;
979
+ }
980
+
981
+ .context-menu-item-icon {
982
+ width: 16px;
983
+ height: 16px;
984
+ display: flex;
985
+ align-items: center;
986
+ justify-content: center;
987
+ color: #666;
988
+ font-size: 14px;
989
+ }
990
+
991
+ .context-menu-item-label {
992
+ flex: 1;
993
+ }
994
+
995
+ .context-menu-item-danger {
996
+ color: #dc3545;
997
+ }
998
+
999
+ .context-menu-item-danger:hover {
1000
+ background: #fef2f2;
1001
+ }
1002
+
1003
+ .context-menu-item-danger .context-menu-item-icon {
1004
+ color: #dc3545;
1005
+ }
1006
+
1007
+ .context-menu-item[disabled] {
1008
+ color: #aaa;
1009
+ cursor: not-allowed;
1010
+ }
1011
+
1012
+ .context-menu-item[disabled]:hover {
1013
+ background: transparent;
1014
+ }
1015
+
1016
+ .context-menu-separator {
1017
+ height: 1px;
1018
+ background: #e8e8e8;
1019
+ margin: 4px 0;
1020
+ }
1021
+
1022
+ /* Layer name input for renaming */
1023
+
1024
+ .layer-control-name-input {
1025
+ flex: 1;
1026
+ min-width: 80px;
1027
+ padding: 2px 6px;
1028
+ font-size: 12px;
1029
+ font-weight: 500;
1030
+ border: 1px solid #2f6fed;
1031
+ border-radius: 3px;
1032
+ outline: none;
1033
+ background: #fff;
1034
+ color: #333;
1035
+ }
1036
+
1037
+ .layer-control-name-input:focus {
1038
+ box-shadow: 0 0 0 2px rgba(47, 111, 237, 0.2);
1039
+ }
1040
+
1041
+ /* ===== Drag and Drop Styles ===== */
1042
+
1043
+ .layer-control-drag-handle {
1044
+ width: 16px;
1045
+ height: 20px;
1046
+ display: flex;
1047
+ align-items: center;
1048
+ justify-content: center;
1049
+ cursor: grab;
1050
+ color: #999;
1051
+ font-size: 12px;
1052
+ flex-shrink: 0;
1053
+ touch-action: none;
1054
+ transition: color 0.1s ease;
1055
+ }
1056
+
1057
+ .layer-control-drag-handle:hover {
1058
+ color: #666;
1059
+ }
1060
+
1061
+ .layer-control-drag-handle:active {
1062
+ cursor: grabbing;
1063
+ }
1064
+
1065
+ .layer-control-drag-handle-disabled {
1066
+ color: #ddd;
1067
+ cursor: default;
1068
+ pointer-events: none;
1069
+ }
1070
+
1071
+ .layer-control-drag-handle-disabled:hover {
1072
+ color: #ddd;
1073
+ }
1074
+
1075
+ .layer-control-drag-handle svg {
1076
+ width: 12px;
1077
+ height: 12px;
1078
+ }
1079
+
1080
+ /* Dragging state for the item */
1081
+
1082
+ .layer-control-item.dragging {
1083
+ opacity: 0.5;
1084
+ }
1085
+
1086
+ /* Floating dragged element */
1087
+
1088
+ .layer-control-item-dragging {
1089
+ position: fixed;
1090
+ z-index: 1002;
1091
+ background: #fff;
1092
+ border-radius: 4px;
1093
+ box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
1094
+ pointer-events: none;
1095
+ padding: 4px 8px;
1096
+ opacity: 0.95;
1097
+ }
1098
+
1099
+ /* Drop placeholder */
1100
+
1101
+ .layer-control-drop-placeholder {
1102
+ background: #e8f0fe;
1103
+ border: 2px dashed #2f6fed;
1104
+ border-radius: 4px;
1105
+ margin: 2px 0;
1106
+ min-height: 32px;
1107
+ box-sizing: border-box;
1108
+ }
1109
+
1110
+ /* Prevent text selection during drag */
1111
+
1112
+ .layer-control-panel.dragging-active {
1113
+ user-select: none;
1114
+ }
1115
+
1116
+ .layer-control-panel.dragging-active * {
1117
+ cursor: grabbing !important;
1118
+ }
1119
+
1120
+ /* ===== Inline Remove Confirmation ===== */
1121
+
1122
+ .layer-control-remove-confirm {
1123
+ background: #fef2f2;
1124
+ border: 1px solid #fecaca;
1125
+ border-radius: 6px;
1126
+ padding: 12px;
1127
+ margin-top: 8px;
1128
+ animation: confirmSlideIn 0.15s ease-out;
1129
+ }
1130
+
1131
+ @keyframes confirmSlideIn {
1132
+ from {
1133
+ opacity: 0;
1134
+ transform: translateY(-8px);
1135
+ }
1136
+ to {
1137
+ opacity: 1;
1138
+ transform: translateY(0);
1139
+ }
1140
+ }
1141
+
1142
+ .layer-control-remove-confirm-message {
1143
+ display: flex;
1144
+ align-items: center;
1145
+ gap: 8px;
1146
+ margin-bottom: 12px;
1147
+ color: #991b1b;
1148
+ font-size: 13px;
1149
+ font-weight: 500;
1150
+ }
1151
+
1152
+ .layer-control-remove-confirm-icon {
1153
+ width: 18px;
1154
+ height: 18px;
1155
+ flex-shrink: 0;
1156
+ }
1157
+
1158
+ .layer-control-remove-confirm-buttons {
1159
+ display: flex;
1160
+ gap: 8px;
1161
+ justify-content: flex-end;
1162
+ }
1163
+
1164
+ .layer-control-remove-confirm-btn {
1165
+ padding: 6px 14px;
1166
+ border-radius: 4px;
1167
+ font-size: 12px;
1168
+ font-weight: 500;
1169
+ cursor: pointer;
1170
+ border: 1px solid;
1171
+ transition: all 0.15s ease;
1172
+ }
1173
+
1174
+ .layer-control-remove-confirm-btn-cancel {
1175
+ background: #ffffff;
1176
+ color: #374151;
1177
+ border-color: #d1d5db;
1178
+ }
1179
+
1180
+ .layer-control-remove-confirm-btn-cancel:hover {
1181
+ background: #f3f4f6;
1182
+ border-color: #9ca3af;
1183
+ }
1184
+
1185
+ .layer-control-remove-confirm-btn-confirm {
1186
+ background: #dc2626;
1187
+ color: #ffffff;
1188
+ border-color: #b91c1c;
1189
+ }
1190
+
1191
+ .layer-control-remove-confirm-btn-confirm:hover {
1192
+ background: #b91c1c;
1193
+ border-color: #991b1b;
1194
+ }
1195
+
1196
+ .geoagent-control {
1197
+ background: #fff;
1198
+ border-radius: 4px;
1199
+ box-shadow: 0 0 0 2px rgb(0 0 0 / 10%);
1200
+ color: #17202a;
1201
+ font-family:
1202
+ Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
1203
+ "Segoe UI", sans-serif;
1204
+ }
1205
+
1206
+ .geoagent-control-toggle {
1207
+ display: grid;
1208
+ place-items: center;
1209
+ width: 29px;
1210
+ height: 29px;
1211
+ padding: 0;
1212
+ border: 0;
1213
+ background: transparent;
1214
+ color: #17202a;
1215
+ cursor: pointer;
1216
+ }
1217
+
1218
+ .geoagent-control-toggle:hover {
1219
+ background-color: rgb(0 0 0 / 5%);
1220
+ }
1221
+
1222
+ .geoagent-control-icon,
1223
+ .geoagent-control-icon svg {
1224
+ width: 22px;
1225
+ height: 22px;
1226
+ }
1227
+
1228
+ .geoagent-control-icon {
1229
+ display: grid;
1230
+ place-items: center;
1231
+ line-height: 0;
1232
+ }
1233
+
1234
+ .geoagent-control-icon svg {
1235
+ stroke: currentColor;
1236
+ }
1237
+
1238
+ .geoagent-panel {
1239
+ position: absolute;
1240
+ z-index: 1000;
1241
+ display: none;
1242
+ max-width: calc(100% - 20px);
1243
+ max-height: min(720px, calc(100% - 20px));
1244
+ padding: 14px;
1245
+ border: 1px solid #d7dde5;
1246
+ border-radius: 8px;
1247
+ background: color-mix(in srgb, #ffffff 94%, transparent);
1248
+ box-shadow: 0 18px 50px rgb(15 23 42 / 18%);
1249
+ color: #17202a;
1250
+ font-family:
1251
+ Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
1252
+ "Segoe UI", sans-serif;
1253
+ font-size: 13px;
1254
+ line-height: 1.4;
1255
+ }
1256
+
1257
+ .geoagent-panel.expanded {
1258
+ display: grid;
1259
+ grid-template-rows: auto minmax(0, 1fr);
1260
+ gap: 12px;
1261
+ }
1262
+
1263
+ .geoagent-panel-resize-handle {
1264
+ position: absolute;
1265
+ top: 44px;
1266
+ bottom: 8px;
1267
+ z-index: 2;
1268
+ width: 10px;
1269
+ cursor: ew-resize;
1270
+ touch-action: none;
1271
+ }
1272
+
1273
+ .geoagent-panel.resize-left .geoagent-panel-resize-handle {
1274
+ left: -5px;
1275
+ }
1276
+
1277
+ .geoagent-panel.resize-right .geoagent-panel-resize-handle,
1278
+ .geoagent-panel:not(.resize-left) .geoagent-panel-resize-handle {
1279
+ right: -5px;
1280
+ }
1281
+
1282
+ .geoagent-panel-resize-handle::before {
1283
+ position: absolute;
1284
+ top: 50%;
1285
+ left: 50%;
1286
+ width: 3px;
1287
+ height: 36px;
1288
+ border-radius: 999px;
1289
+ background: #c7d2df;
1290
+ content: "";
1291
+ opacity: 0;
1292
+ transform: translate(-50%, -50%);
1293
+ transition: opacity 0.15s ease;
1294
+ }
1295
+
1296
+ .geoagent-panel-resize-handle:hover::before,
1297
+ .geoagent-panel.resizing .geoagent-panel-resize-handle::before {
1298
+ opacity: 1;
1299
+ }
1300
+
1301
+ body.geoagent-panel-resizing {
1302
+ cursor: ew-resize;
1303
+ user-select: none;
1304
+ }
1305
+
1306
+ .geoagent-panel * {
1307
+ box-sizing: border-box;
1308
+ }
1309
+
1310
+ .geoagent-panel-header {
1311
+ display: flex;
1312
+ align-items: center;
1313
+ justify-content: space-between;
1314
+ gap: 10px;
1315
+ min-width: 0;
1316
+ }
1317
+
1318
+ .geoagent-panel-title {
1319
+ overflow: hidden;
1320
+ color: #17202a;
1321
+ font-size: 17px;
1322
+ font-weight: 700;
1323
+ line-height: 1.2;
1324
+ text-overflow: ellipsis;
1325
+ white-space: nowrap;
1326
+ }
1327
+
1328
+ .geoagent-title-actions {
1329
+ display: flex;
1330
+ flex: 0 0 auto;
1331
+ align-items: center;
1332
+ gap: 8px;
1333
+ }
1334
+
1335
+ .geoagent-status {
1336
+ display: inline-flex;
1337
+ flex: 0 0 auto;
1338
+ align-items: center;
1339
+ min-height: 24px;
1340
+ padding: 0 8px;
1341
+ border-radius: 999px;
1342
+ background: #edf2f7;
1343
+ color: #5f6b7a;
1344
+ font-size: 12px;
1345
+ font-weight: 650;
1346
+ }
1347
+
1348
+ .geoagent-status.connected {
1349
+ background: #dff6ee;
1350
+ color: #076448;
1351
+ }
1352
+
1353
+ .geoagent-status.error {
1354
+ background: #fee4e2;
1355
+ color: #b42318;
1356
+ }
1357
+
1358
+ .geoagent-icon-button {
1359
+ display: inline-grid;
1360
+ place-items: center;
1361
+ width: 28px;
1362
+ min-width: 28px;
1363
+ height: 28px;
1364
+ min-height: 28px;
1365
+ padding: 0;
1366
+ border: 1px solid #d7dde5;
1367
+ border-radius: 6px;
1368
+ background: #fff;
1369
+ color: #5f6b7a;
1370
+ cursor: pointer;
1371
+ }
1372
+
1373
+ .geoagent-icon-button svg {
1374
+ width: 16px;
1375
+ height: 16px;
1376
+ stroke: currentColor;
1377
+ }
1378
+
1379
+ .geoagent-panel-content {
1380
+ display: grid;
1381
+ gap: 12px;
1382
+ min-height: 0;
1383
+ overflow: hidden;
1384
+ }
1385
+
1386
+ .geoagent-panel label {
1387
+ display: grid;
1388
+ gap: 5px;
1389
+ color: #5f6b7a;
1390
+ font-size: 12px;
1391
+ font-weight: 650;
1392
+ }
1393
+
1394
+ .geoagent-panel input,
1395
+ .geoagent-panel select,
1396
+ .geoagent-panel textarea,
1397
+ .geoagent-panel button {
1398
+ font: inherit;
1399
+ }
1400
+
1401
+ .geoagent-panel input,
1402
+ .geoagent-panel select,
1403
+ .geoagent-panel textarea {
1404
+ width: 100%;
1405
+ border: 1px solid #d7dde5;
1406
+ border-radius: 6px;
1407
+ background: #fff;
1408
+ color: #17202a;
1409
+ }
1410
+
1411
+ .geoagent-panel input,
1412
+ .geoagent-panel select {
1413
+ height: 36px;
1414
+ padding: 0 10px;
1415
+ }
1416
+
1417
+ .geoagent-panel select {
1418
+ cursor: pointer;
1419
+ }
1420
+
1421
+ .geoagent-panel textarea {
1422
+ min-height: 86px;
1423
+ max-height: min(180px, 24vh);
1424
+ resize: vertical;
1425
+ overflow: auto;
1426
+ padding: 9px 10px;
1427
+ line-height: 1.35;
1428
+ }
1429
+
1430
+ .geoagent-settings-grid {
1431
+ display: grid;
1432
+ grid-template-columns: 1fr minmax(110px, 0.55fr);
1433
+ gap: 8px;
1434
+ align-items: end;
1435
+ }
1436
+
1437
+ .geoagent-settings-grid label:nth-child(3) {
1438
+ grid-column: 1 / -1;
1439
+ }
1440
+
1441
+ .geoagent-settings-grid:has(.geoagent-bedrock-region-row:not([hidden])) label:nth-child(3) {
1442
+ grid-column: auto;
1443
+ }
1444
+
1445
+ .geoagent-bedrock-region-row[hidden] {
1446
+ display: none;
1447
+ }
1448
+
1449
+ .geoagent-toggle-row {
1450
+ display: flex;
1451
+ flex-wrap: wrap;
1452
+ gap: 8px;
1453
+ }
1454
+
1455
+ .geoagent-toggle-row[hidden] {
1456
+ display: none;
1457
+ }
1458
+
1459
+ .geoagent-panel .geoagent-checkbox-row {
1460
+ display: inline-flex;
1461
+ grid-template-columns: none;
1462
+ align-items: center;
1463
+ gap: 7px;
1464
+ min-height: 30px;
1465
+ padding: 0 9px;
1466
+ border: 1px solid #d7dde5;
1467
+ border-radius: 6px;
1468
+ background: #fff;
1469
+ color: #17202a;
1470
+ font-size: 12px;
1471
+ font-weight: 700;
1472
+ }
1473
+
1474
+ .geoagent-panel .geoagent-checkbox-row input {
1475
+ flex: 0 0 auto;
1476
+ width: 14px;
1477
+ height: 14px;
1478
+ margin: 0;
1479
+ accent-color: #0f766e;
1480
+ }
1481
+
1482
+ .geoagent-panel .geoagent-checkbox-row span {
1483
+ display: inline-block;
1484
+ line-height: 1;
1485
+ white-space: nowrap;
1486
+ }
1487
+
1488
+ .geoagent-log {
1489
+ min-height: 160px;
1490
+ max-height: min(280px, calc(100vh - 360px));
1491
+ overflow: auto;
1492
+ padding: 10px;
1493
+ border: 1px solid #d7dde5;
1494
+ border-radius: 6px;
1495
+ background: #f6f8fb;
1496
+ font-size: 13px;
1497
+ line-height: 1.4;
1498
+ }
1499
+
1500
+ .geoagent-entry {
1501
+ margin: 0 0 10px;
1502
+ padding-bottom: 10px;
1503
+ border-bottom: 1px solid #e3e8ef;
1504
+ }
1505
+
1506
+ .geoagent-entry:last-child {
1507
+ margin-bottom: 0;
1508
+ padding-bottom: 0;
1509
+ border-bottom: 0;
1510
+ }
1511
+
1512
+ .geoagent-role {
1513
+ margin-bottom: 3px;
1514
+ color: #5f6b7a;
1515
+ font-size: 11px;
1516
+ font-weight: 800;
1517
+ letter-spacing: 0;
1518
+ text-transform: uppercase;
1519
+ }
1520
+
1521
+ .geoagent-text {
1522
+ overflow-wrap: anywhere;
1523
+ white-space: pre-wrap;
1524
+ }
1525
+
1526
+ .geoagent-text.markdown {
1527
+ white-space: normal;
1528
+ }
1529
+
1530
+ .geoagent-text.markdown > :first-child {
1531
+ margin-top: 0;
1532
+ }
1533
+
1534
+ .geoagent-text.markdown > :last-child {
1535
+ margin-bottom: 0;
1536
+ }
1537
+
1538
+ .geoagent-text.markdown p,
1539
+ .geoagent-text.markdown ul,
1540
+ .geoagent-text.markdown ol,
1541
+ .geoagent-text.markdown pre,
1542
+ .geoagent-text.markdown blockquote,
1543
+ .geoagent-text.markdown table {
1544
+ margin: 0 0 8px;
1545
+ }
1546
+
1547
+ .geoagent-text.markdown ul,
1548
+ .geoagent-text.markdown ol {
1549
+ padding-left: 18px;
1550
+ }
1551
+
1552
+ .geoagent-text.markdown li {
1553
+ margin: 2px 0;
1554
+ }
1555
+
1556
+ .geoagent-text.markdown a {
1557
+ color: #0f766e;
1558
+ text-decoration: underline;
1559
+ text-underline-offset: 2px;
1560
+ }
1561
+
1562
+ .geoagent-text.markdown code {
1563
+ padding: 1px 4px;
1564
+ border-radius: 4px;
1565
+ background: #e8edf3;
1566
+ color: #111827;
1567
+ font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
1568
+ font-size: 0.92em;
1569
+ }
1570
+
1571
+ .geoagent-text.markdown pre {
1572
+ max-width: 100%;
1573
+ overflow: auto;
1574
+ padding: 8px;
1575
+ border: 1px solid #d8dee8;
1576
+ border-radius: 6px;
1577
+ background: #111827;
1578
+ color: #f8fafc;
1579
+ }
1580
+
1581
+ .geoagent-text.markdown pre code {
1582
+ padding: 0;
1583
+ background: transparent;
1584
+ color: inherit;
1585
+ white-space: pre;
1586
+ }
1587
+
1588
+ .geoagent-text.markdown blockquote {
1589
+ padding-left: 10px;
1590
+ border-left: 3px solid #c7d2df;
1591
+ color: #5f6b7a;
1592
+ }
1593
+
1594
+ .geoagent-text.markdown table {
1595
+ display: block;
1596
+ max-width: 100%;
1597
+ overflow: auto;
1598
+ border-collapse: collapse;
1599
+ }
1600
+
1601
+ .geoagent-text.markdown th,
1602
+ .geoagent-text.markdown td {
1603
+ padding: 4px 6px;
1604
+ border: 1px solid #d8dee8;
1605
+ text-align: left;
1606
+ vertical-align: top;
1607
+ }
1608
+
1609
+ .geoagent-form {
1610
+ display: grid;
1611
+ min-height: 0;
1612
+ }
1613
+
1614
+ .geoagent-form label {
1615
+ min-height: 0;
1616
+ }
1617
+
1618
+ .geoagent-actions {
1619
+ display: flex;
1620
+ flex: 0 0 auto;
1621
+ gap: 8px;
1622
+ margin-top: 8px;
1623
+ }
1624
+
1625
+ .geoagent-panel button.geoagent-send,
1626
+ .geoagent-panel button.geoagent-copy,
1627
+ .geoagent-panel button.geoagent-clear {
1628
+ min-height: 36px;
1629
+ padding: 0 12px;
1630
+ border: 1px solid transparent;
1631
+ border-radius: 6px;
1632
+ background: #0f766e;
1633
+ color: #fff;
1634
+ font-weight: 700;
1635
+ cursor: pointer;
1636
+ }
1637
+
1638
+ .geoagent-panel button.secondary {
1639
+ border-color: #d7dde5;
1640
+ background: #fff;
1641
+ color: #17202a;
1642
+ }
1643
+
1644
+ .geoagent-panel button:disabled {
1645
+ cursor: not-allowed;
1646
+ opacity: 0.55;
1647
+ }
1648
+
1649
+ @media (max-width: 700px) {
1650
+ .geoagent-panel {
1651
+ right: 10px !important;
1652
+ left: 10px !important;
1653
+ width: auto !important;
1654
+ max-height: min(72vh, 620px);
1655
+ }
1656
+
1657
+ .geoagent-settings-grid {
1658
+ grid-template-columns: 1fr;
1659
+ }
1660
+
1661
+ .geoagent-panel-resize-handle {
1662
+ display: none;
1663
+ }
1664
+ }