Repository navigation
Expand file tree
/
Copy pathstyles.css
More file actions
744 lines (663 loc) · 42.5 KB
/
Copy pathstyles.css
File metadata and controls
744 lines (663 loc) · 42.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
/* ══ nullobj: monochrome, flat, hairlines, pill controls ══
Real values live in tokens.css (loaded first). This block maps the legacy
variable names the rest of this file (and the markup app.js emits) reads
onto the nullobj tokens. */
:root {
--surface: var(--bg);
--bg-elevated: var(--bg);
--bg-grouped: var(--wash);
--bg-tertiary: var(--line);
--ink-primary: var(--fg);
--separator: var(--line);
--separator-op: var(--line);
--label: var(--fg);
--label-2: color-mix(in srgb, var(--fg) 72%, var(--bg));
--label-3: var(--muted);
--label-4: var(--faint);
--fill: var(--faint);
--border: var(--line);
--accent: var(--fg);
--accent-2: var(--fg);
--accent-gradient: var(--fg);
--accent-ink: var(--bg);
--blue: var(--fg);
--teal: var(--fg);
/* status keeps semantic hue (good/bad/caution); nothing else is coloured */
--green: var(--ok);
--red: var(--danger);
--amber: var(--warn);
--purple: var(--muted);
--bubble-out: var(--fg);
--bubble-in: var(--wash);
--tick-blue: var(--fg);
--sig-ex: var(--green);
--sig-gd: color-mix(in srgb, var(--green) 55%, var(--amber));
--sig-ok: var(--amber);
--sig-bad: var(--red);
--sidebar-w: 300px;
--map-w: 340px;
--radius-card: var(--radius-md);
--radius-control: 10px;
--radius-badge: var(--radius-pill);
--mono: var(--font-mono);
}
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; -webkit-font-smoothing:antialiased; }
html, body { height:100vh; overflow:hidden; background:var(--bg); color:var(--label); font-family:var(--font-sans); font-size:14px; line-height:1.5; letter-spacing:-0.005em; }
::selection { background:var(--fg); color:var(--bg); }
:focus { outline:none; }
:focus-visible { outline:2px solid var(--fg); outline-offset:2px; }
/* ── MATERIAL ICONS ── */
.icon {
font-family:'Material Symbols Rounded';
font-weight:300; font-style:normal; font-size:20px;
line-height:1; letter-spacing:normal; text-transform:none;
display:inline-flex; align-items:center; justify-content:center;
white-space:nowrap; word-wrap:normal; direction:ltr;
font-variation-settings:'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
user-select:none; flex-shrink:0;
}
.icon.filled { font-variation-settings:'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24; }
.icon.sm { font-size:16px; }
.icon.lg { font-size:24px; }
.icon.xl { font-size:32px; }
/* ── LAYOUT ── */
.shell { display:flex; height:100vh; overflow:hidden; }
/* ── CONVERSATION COLUMN ── */
.status-dot { width:8px; height:8px; border-radius:50%; background:var(--label-4); flex-shrink:0; transition:all .3s; }
.status-dot.live { background:var(--green); animation:pulse 2s infinite; }
.status-dot.connecting { background:var(--amber); animation:pulse .5s infinite; }
.status-dot.reconnecting { background:var(--amber); animation:pulse .3s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.35} }
.status-text { font-size:12px; color:var(--label-2); flex:1; }
.uptime-text { font-size:11px; color:var(--label-3); font-variant-numeric:tabular-nums; font-family:var(--font-mono); }
/* Connect form */
.conn-form { padding:10px 12px; border-bottom:1px solid var(--separator); flex-shrink:0; display:flex; gap:8px; align-items:center; }
.conn-ip { flex:1; background:var(--bg-grouped); border:none; border-radius:var(--radius-control); color:var(--label); font-size:13px; font-family:inherit; padding:8px 11px; outline:none; min-width:0; }
.conn-ip::placeholder { color:var(--label-3); }
.btn-connect { padding:8px 14px; border-radius:var(--radius-control); border:none; background:var(--accent-gradient); color:var(--accent-ink); font-size:13px; font-weight:600; font-family:inherit; cursor:pointer; white-space:nowrap; transition:opacity .15s, box-shadow .2s; flex-shrink:0; }
.btn-connect:hover { opacity:.9; }
.btn-connect.live { background:var(--red); }
/* Filter */
.filter-seg { display:flex; margin:8px 12px; background:var(--bg-grouped); border-radius:var(--radius-control); padding:2px; flex-shrink:0; }
.fseg { flex:1; padding:6px 0; text-align:center; font-size:12px; font-weight:500; color:var(--label-2); border-radius:10px; border:none; background:transparent; cursor:pointer; transition:all .18s; }
.fseg.active { background:var(--surface); color:var(--label); font-weight:600; }
/* Chat list */
.chat-list { flex:1; overflow-y:auto; }
.chat-list::-webkit-scrollbar { width:4px; }
.chat-list::-webkit-scrollbar-thumb { background:var(--separator); border-radius:2px; }
.list-hdr { padding:5px 16px 3px; font-size:11px; font-weight:600; color:var(--label-3); text-transform:uppercase; letter-spacing:.5px; display:flex; justify-content:space-between; align-items:center; position:sticky; top:0; background:var(--bg-grouped); z-index:2; }
.list-hdr-count { font-size:11px; color:var(--label-3); font-weight:400; }
/* Chat row */
.chat-row { display:flex; align-items:center; gap:10px; padding:9px 12px; cursor:pointer; transition:background .1s; border-bottom:1px solid var(--separator-op); position:relative; }
.chat-row:hover { background:var(--bg-grouped); }
.chat-row.active { background:var(--bg-grouped); }
.chat-row:active { background:var(--bg-tertiary); }
.avatar { width:42px; height:42px; border-radius:50%; flex-shrink:0; display:flex; align-items:center; justify-content:center; font-size:13px; font-weight:700; position:relative; }
.avatar.ch-av { background:var(--fg); border:1px solid var(--fg); color:var(--bg); }
.avatar.node-av { background:var(--bg-tertiary); color:var(--label-2); border:1.5px solid var(--separator); font-family:var(--font-mono); font-size:11px; }
.avatar.me-av { background:transparent; border:1px solid var(--green); color:var(--green); }
.avatar.offline-av { opacity:.45; }
.online-ring::after { content:''; position:absolute; bottom:1px; right:1px; width:11px; height:11px; border-radius:50%; background:var(--green); border:2px solid var(--bg-elevated); }
.row-info { flex:1; min-width:0; }
.row-name { font-size:14px; font-weight:600; color:var(--label); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; display:flex; align-items:center; gap:5px; }
.row-name .you-badge { font-size:10px; font-weight:500; color:var(--green); border:1px solid var(--green); padding:0 7px; border-radius:var(--radius-pill); text-transform:uppercase; letter-spacing:var(--tracking-caps); font-weight:600; }
.row-preview { font-size:12px; color:var(--label-2); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; margin-top:2px; display:flex; align-items:center; gap:4px; }
.row-meta { display:flex; flex-direction:column; align-items:flex-end; gap:4px; flex-shrink:0; }
.row-time { font-size:11px; color:var(--label-3); }
.unread-badge { background:var(--accent); color:var(--bg); font-size:11px; font-weight:600; border-radius:10px; padding:1px 6px; min-width:18px; text-align:center; }
.sig-dot { width:7px; height:7px; border-radius:50%; flex-shrink:0; }
/* Node detail popover (shared by Peers + Map) — a floating modal, not a layout column */
.nd-modal { width:380px; max-width:90vw; }
.nd-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:6px; margin-bottom:8px; }
.nd-stat { background:var(--bg-grouped); border-radius:var(--radius-control); padding:7px 9px; }
.nd-sl { font-size:9px; text-transform:uppercase; letter-spacing:.6px; color:var(--label-3); font-weight:600; display:block; }
.nd-sv { font-size:13px; font-weight:600; color:var(--label); display:block; margin-top:2px; font-variant-numeric:tabular-nums; font-family:var(--font-mono); }
.nd-pos { font-size:11px; color:var(--label-2); background:var(--bg-grouped); border-radius:var(--radius-control); padding:6px 9px; margin-bottom:8px; font-variant-numeric:tabular-nums; font-family:var(--font-mono); }
.nd-last { font-size:11px; color:var(--label-3); margin-bottom:8px; }
.nd-actions { display:flex; gap:6px; }
.nd-btn { flex:1; display:flex; align-items:center; justify-content:center; gap:5px; padding:8px 6px; border-radius:var(--radius-control); border:none; background:var(--bg-elevated); color:var(--label-2); font-size:12px; font-weight:600; font-family:inherit; cursor:pointer; transition:all .15s; }
.nd-btn:hover { color:var(--label); }
.nd-btn.primary { background:var(--accent); color:var(--bg); }
.nd-btn.primary:hover { opacity:.85; }
/* ── MAP PANEL ── */
.map-panel { display:flex; flex-direction:column; overflow:hidden; position:relative; min-width:0; flex:1; }
.map-pills { display:flex; gap:6px; }
.map-pill { background:var(--bg-grouped); border-radius:var(--radius-badge); padding:3px 9px; font-size:11px; color:var(--label-2); font-weight:500; display:flex; align-items:center; gap:4px; }
.map-pill .v { color:var(--label); font-weight:700; }
.map-body { flex:1; position:relative; min-height:0; display:flex; flex-direction:column; }
#map { flex:1; }
.leaflet-tile { filter:none; }
.leaflet-container { background:var(--wash); }
.leaflet-control-attribution { background:color-mix(in srgb, var(--bg) 90%, transparent)!important; color:var(--muted)!important; font-size:9px!important; border-radius:4px 0 0 0!important; }
.leaflet-control-attribution a { color:var(--accent)!important; }
.leaflet-control-zoom { border:none!important; margin:10px!important; }
.leaflet-control-zoom a { background:var(--surface)!important; color:var(--accent)!important; !important; border:none!important; border-radius:var(--radius-control)!important; width:30px!important; height:30px!important; line-height:30px!important; font-size:16px!important; margin-bottom:4px!important; display:block!important; }
.mesh-pin { display:flex; align-items:center; justify-content:center; border-radius:50%; border:2px solid; cursor:pointer; transition:transform .15s; }
.mesh-pin:hover { transform:scale(1.25); }
/* Leaflet tooltip override for legibility */
.leaflet-tooltip.mesh-lbl {
background:var(--bg);
border:1px solid var(--border);
color:var(--label);
padding:5px 10px;
border-radius:var(--radius-control);
font-family:var(--font-sans);
font-size:12px;
font-weight:600;
white-space:nowrap;
letter-spacing:-.1px;
}
.leaflet-tooltip.mesh-lbl::before { display:none; }
.map-legend { position:absolute; bottom:12px; left:10px; z-index:450; background:var(--surface); border:none; border-radius:var(--radius-control); padding:10px 14px; }
.ml-title { font-size:10px; text-transform:uppercase; letter-spacing:.6px; color:var(--label-3); font-weight:700; margin-bottom:8px; }
.ml-row { display:flex; align-items:center; gap:8px; font-size:12px; color:var(--label); font-weight:500; margin-bottom:5px; }
.ml-row:last-child { margin-bottom:0; }
.ml-dot { width:9px; height:9px; border-radius:50%; flex-shrink:0; }
/* ── CHAT PANEL ── */
.chat-panel {
display:flex; flex-direction:column; overflow:hidden; min-width:0;
background:var(--surface);
}
.chat-header { height:54px; background:var(--bg-elevated); padding:0 14px; border-bottom:1px solid var(--separator); display:flex; align-items:center; gap:10px; flex-shrink:0; }
.ch-avi { width:34px; height:34px; border-radius:50%; background:var(--bg-grouped); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.ch-info { flex:1; min-width:0; }
.ch-name { font-size:15px; font-weight:600; letter-spacing:-.2px; color:var(--label); }
.ch-sub { font-size:12px; color:var(--label-2); margin-top:1px; }
.stat-bar { display:flex; gap:6px; flex-wrap:wrap; }
.stat-chip { background:var(--bg-grouped); border-radius:8px; padding:2px 8px; font-size:11px; color:var(--label-2); font-weight:500; }
.stat-chip .v { color:var(--label); font-weight:600; }
/* Message feed */
.msg-feed { flex:1; overflow-y:auto; padding:12px 16px; display:flex; flex-direction:column; gap:2px; }
.msg-feed::-webkit-scrollbar { width:4px; }
.msg-feed::-webkit-scrollbar-thumb { background:var(--separator); border-radius:2px; }
/* Date divider */
.date-div { align-self:center; background:var(--bg-grouped); color:var(--label-2); font-size:12px; font-weight:500; padding:4px 12px; border-radius:var(--radius-badge); margin:8px 0; }
/* Empty state */
.msg-empty { flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; color:var(--label-3); text-align:center; padding:24px; }
.msg-empty .icon { font-size:48px; color:var(--label-4); }
.msg-empty-title { font-size:16px; font-weight:600; color:var(--label-2); }
.msg-empty-sub { font-size:13px; color:var(--label-3); }
/* Message bubbles — Apple iMessage style */
.msg { display:flex; flex-direction:column; max-width:72%; animation:msgIn .18s ease; margin-bottom:2px; }
@keyframes msgIn { from{opacity:0;transform:translateY(3px)} to{opacity:1;transform:translateY(0)} }
.msg.out { align-self:flex-end; align-items:flex-end; }
.msg.in { align-self:flex-start; align-items:flex-start; }
.msg.sys-msg { align-self:center; max-width:85%; }
.bubble {
padding:8px 12px;
border-radius:18px;
position:relative;
line-height:1.45;
word-break:break-word;
}
/* Clean iMessage-style tails using border-radius, no pseudo-element triangle */
.msg.out .bubble {
background:var(--bubble-out);
color:var(--accent-ink); /* teal bubble reads better with white text/icons than dark ink */
border-bottom-right-radius:4px;
}
.msg.in .bubble {
background:var(--bubble-in);
color:var(--label);
border-bottom-left-radius:4px;
}
.msg.sys-msg .bubble {
background:transparent;
color:var(--label-3);
font-size:11px;
padding:3px 8px;
text-align:center;
}
.bubble-sender { font-size:12px; font-weight:600; color:var(--teal); margin-bottom:3px; display:block; }
.msg.out .bubble-sender { display:none; }
.bubble-text { font-size:15px; color:inherit; padding-bottom:14px; }
.msg.sys-msg .bubble-text { padding-bottom:0; }
.bubble-footer {
position:absolute; bottom:5px; right:10px;
display:flex; align-items:center; gap:3px;
}
.bubble-time { font-size:10px; color:color-mix(in srgb, var(--bg) 70%, transparent); white-space:nowrap; }
.msg.in .bubble-time { color:var(--label-3); }
.msg.sys-msg .bubble-footer { display:none; }
/* Tick marks */
.ticks { display:flex; align-items:center; }
.ticks .icon { font-size:14px; }
.ticks.pending .icon { color:color-mix(in srgb, var(--bg) 50%, transparent); }
.ticks.sent .icon { color:color-mix(in srgb, var(--bg) 70%, transparent); }
.ticks.ack .icon { color:var(--amber); }
.ticks.ack-final .icon { color:color-mix(in srgb, var(--bg) 70%, transparent); }
.ticks.nack .icon { color:var(--red); }
/* Status line below bubble */
.msg-status-line { font-size:11px; margin-top:3px; display:flex; align-items:center; gap:4px; cursor:pointer; width:fit-content; }
.msg-status-line:hover { text-decoration:underline; }
.msg-status-line.pending { color:var(--label-3); }
.msg-status-line.sent { color:var(--label-3); }
.msg-status-line.ack { color:var(--amber); }
.msg-status-line.ack-final { color:var(--label-3); }
.msg-status-line.nack,
.msg-status-line.maxretransmit { color:var(--red); }
.msg-status-line .icon { font-size:13px; }
/* Incoming signal info */
.bubble-sig { font-size:10px; color:var(--label-3); margin-top:3px; }
/* Compose */
.compose { padding:8px 12px 10px; background:var(--bg-elevated); border-top:1px solid var(--separator); flex-shrink:0; }
.compose-dest { font-size:11px; color:var(--label-3); margin-bottom:6px; display:flex; align-items:center; gap:4px; }
.compose-dest strong { color:var(--label-2); }
.compose-row { display:flex; gap:8px; align-items:flex-end; }
.compose-field { flex:1; background:var(--bg-grouped); border-radius:var(--radius-badge); display:flex; align-items:center; padding:2px 4px 2px 14px; gap:4px; min-height:38px; }
.compose-inp { flex:1; background:transparent; border:none; color:var(--label); font-size:15px; font-family:inherit; outline:none; }
.compose-inp::placeholder { color:var(--label-3); }
.compose-inp:disabled { opacity:.4; }
.btn-send { width:36px; height:36px; border-radius:50%; border:none; background:var(--accent-gradient); color:var(--accent-ink); cursor:pointer; display:flex; align-items:center; justify-content:center; transition:opacity .15s, box-shadow .2s; flex-shrink:0; }
.btn-send:hover { opacity:.9; }
.btn-send:disabled { background:var(--bg-tertiary); cursor:not-allowed; }
.btn-send:disabled .icon { color:var(--label-3); }
/* Overlays */
.ov { position:fixed; inset:0; background:color-mix(in srgb, var(--ink-primary) 45%, transparent); z-index:1000; display:none; align-items:center; justify-content:center; }
.ov.show { display:flex; }
.modal {
background:var(--surface);
border:none;
border-radius:var(--radius-card);
max-height:80vh;
overflow:hidden;
display:flex;
flex-direction:column;
}
.mhd { padding:14px 18px; border-bottom:1px solid var(--separator); display:flex; align-items:center; gap:10px; flex-shrink:0; }
.mt { font-size:15px; font-weight:600; flex:1; }
.mx { background:var(--bg-grouped); border:none; color:var(--label-2); width:28px; height:28px; border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; }
.mx:hover { background:var(--bg-tertiary); color:var(--label); }
.mbd { overflow-y:auto; padding:14px 18px; flex:1; }
pre.jp { font-family:var(--font-mono); font-size:11px; color:var(--label-2); white-space:pre-wrap; word-break:break-word; line-height:1.7; }
pre.jp .k{color:var(--teal)} pre.jp .s{color:var(--green)} pre.jp .n{color:var(--amber)} pre.jp .b{color:var(--purple)}
/* Toasts */
.toasts { position:fixed; bottom:80px; left:50%; transform:translateX(-50%); z-index:2000; display:flex; flex-direction:column; align-items:center; gap:6px; pointer-events:none; }
.toast { background:var(--surface); border:none; border-radius:var(--radius-control); padding:9px 16px; font-size:13px; font-weight:500; color:var(--label); animation:tIn .2s ease; display:flex; align-items:center; gap:8px; }
.toast.ok { border-color:var(--green); }
.toast.err { border-color:var(--red); }
.toast.wrn { border-color:var(--amber); }
@keyframes tIn { from{opacity:0;transform:translateY(6px)} to{opacity:1;transform:translateY(0)} }
@keyframes spin { to{transform:rotate(360deg)} }
.spinner { width:14px; height:14px; border:2px solid var(--separator); border-top-color:var(--accent); border-radius:50%; animation:spin .7s linear infinite; display:inline-block; }
/* Icon button */
.icon-btn { width:32px; height:32px; border-radius:50%; border:none; background:transparent; color:var(--label-2); cursor:pointer; display:flex; align-items:center; justify-content:center; transition:background .15s; flex-shrink:0; }
.icon-btn:hover { background:var(--bg-grouped); color:var(--label); }
/* ── PORT SELECTOR ── */
.port-sel {
display: flex; align-items: center; gap: 10px;
padding: 6px 12px 8px;
border-bottom: 1px solid var(--separator);
flex-shrink: 0;
}
.port-label {
font-size: 11px; font-weight: 600; color: var(--label-3);
text-transform: uppercase; letter-spacing: .5px; flex-shrink: 0;
}
.port-opt {
display: flex; align-items: center; gap: 5px;
cursor: pointer; font-size: 12px; font-weight: 500; color: var(--label-2);
user-select: none;
}
.port-opt input[type=radio] {
appearance: none; -webkit-appearance: none;
width: 14px; height: 14px; border-radius: 50%;
border: 1.5px solid var(--fill);
background: transparent; cursor: pointer;
transition: all .15s; flex-shrink: 0;
position: relative;
}
.port-opt input[type=radio]:checked {
border-color: var(--accent);
background: var(--accent);
}
.port-opt input[type=radio]:checked::after {
content: ''; position: absolute;
width: 5px; height: 5px; border-radius: 50%;
background: var(--bg); top: 50%; left: 50%;
transform: translate(-50%, -50%);
}
.port-opt:hover input[type=radio]:not(:checked) { border-color: var(--label-2); }
.port-opt span { font-family: var(--font-mono); }
/* ── MAP NODE STYLES ── */
@keyframes nodePulse { 0%,100%{opacity:1} 50%{opacity:.55} }
@keyframes nodePulseBlue { 0%,100%{opacity:1} 50%{opacity:.55} }
.mesh-pin {
border-radius: 50% !important;
cursor: pointer;
transition: transform .15s;
display: flex !important;
align-items: center;
justify-content: center;
}
.mesh-pin:hover { transform: scale(1.3) !important; }
.mesh-pin.online { animation: nodePulse 2.5s ease-in-out infinite; }
.mesh-pin.me-pin { animation: nodePulseBlue 2.5s ease-in-out infinite; }
.mesh-pin.offline { opacity: .45; }
/* Permanent label on map */
.node-map-label {
background: var(--surface);
border: 1px solid var(--border);
color: var(--label);
padding: 2px 7px;
border-radius: var(--radius-control);
font-family: var(--font-sans);
font-size: 11px;
font-weight: 600;
white-space: nowrap;
pointer-events: none;
letter-spacing: -.1px;
}
.leaflet-tooltip.node-map-label { }
.leaflet-tooltip.node-map-label::before { display: none; }
/* Channels list in channels tab */
.channels-list { flex: 1; overflow-y: auto; padding: 8px; }
.channels-list::-webkit-scrollbar { width: 4px; }
.channels-list::-webkit-scrollbar-thumb { background: var(--separator); border-radius: 2px; }
.channel-row {
display: flex; align-items: center; gap: 10px;
padding: 10px 12px; border-radius: 10px; cursor: pointer;
transition: background .12s; margin-bottom: 2px;
}
.channel-row:hover { background: var(--bg-grouped); }
.channel-row.active { background: var(--bg-grouped); }
.ch-row-icon {
width: 38px; height: 38px; border-radius: 50%;
background: transparent; border: 1px solid var(--line-strong);
display: flex; align-items: center; justify-content: center;
flex-shrink: 0;
}
.ch-row-icon .icon { font-size: 18px; color: var(--accent); }
.ch-row-info { flex: 1; min-width: 0; }
.ch-row-name { font-size: 14px; font-weight: 600; color: var(--label); }
.ch-row-sub { font-size: 12px; color: var(--label-3); margin-top: 1px; }
.ch-row-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.ch-row-badge { background: var(--accent); color: #fff; font-size: 11px; font-weight: 600; border-radius: 8px; padding: 1px 6px; }
.ch-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; flex: 1; color: var(--label-3); font-size: 13px; gap: 8px; text-align: center; padding: 24px; }
.ch-empty .icon { font-size: 36px; color: var(--label-4); }
/* ══════════════════════════════════════════════════════════════════
NAVIGATION SHELL
══════════════════════════════════════════════════════════════════ */
:root {
--nav-w: 252px;
--sp-1: var(--space-xs); --sp-2: var(--space-sm); --sp-3: var(--space-md); --sp-4: var(--space-lg); --sp-5: var(--space-2xl); --sp-6: var(--space-3xl);
--radius: var(--radius-control);
}
.nav {
width:var(--nav-w); flex:0 0 var(--nav-w);
display:flex; flex-direction:column;
background:var(--surface);
border-right:1px solid var(--separator);
overflow:hidden;
}
/* Identity */
.nav-identity { display:flex; align-items:center; gap:10px; padding:var(--sp-3) var(--sp-4); border-bottom:1px solid var(--separator); }
.nav-id-icon { width:36px; height:36px; border-radius:var(--radius-control); background:var(--accent-gradient); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.nav-id-text { flex:1; min-width:0; }
.nav-id-name { font-size:14px; font-weight:700; letter-spacing:-.2px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.nav-id-sub { font-size:11px; color:var(--label-3); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; margin-top:1px; }
/* Connection status button */
.nav-status { display:flex; align-items:center; gap:var(--sp-2); width:100%; padding:10px var(--sp-4); background:transparent; border:none; border-bottom:1px solid var(--separator); cursor:pointer; text-align:left; font-family:inherit; transition:background .12s; }
.nav-status:hover { background:var(--bg-grouped); }
.nav-status-chev { color:var(--label-3); }
/* Quick connect panel */
.nav-conn { display:none; border-bottom:1px solid var(--separator); }
.nav-conn.open { display:block; }
.nav-conn .conn-form { border-bottom:none; padding:10px 12px 4px; }
.nav-conn .port-sel { border-bottom:none; }
/* Nav group */
.nav-group { flex:1; overflow-y:auto; padding:var(--sp-3) var(--sp-2); }
.nav-group::-webkit-scrollbar { width:4px; }
.nav-group::-webkit-scrollbar-thumb { background:var(--separator); border-radius:2px; }
.nav-group-title { font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.7px; color:var(--label-3); padding:var(--sp-2) 10px var(--sp-1); }
.nav-item { display:flex; align-items:center; gap:10px; width:100%; padding:9px 10px; margin-bottom:2px; border:none; border-radius:var(--radius-control); background:transparent; color:var(--label-2); font-family:inherit; font-size:13.5px; font-weight:500; cursor:pointer; transition:background .12s, color .12s, box-shadow .12s; text-align:left; outline:none; }
.nav-item:hover { background:var(--bg-grouped); color:var(--label); }
.nav-item:focus-visible { outline:2px solid var(--fg); outline-offset:-2px; }
.nav-item.active { background:var(--surface); color:var(--accent); font-weight:600; }
.nav-item.active .icon { color:var(--accent); }
.nav-item-label { flex:1; }
.nav-item-count { font-size:11px; color:var(--label-3); font-variant-numeric:tabular-nums; font-family:var(--font-mono); }
/* Bottom rail */
.nav-rail { display:flex; align-items:center; gap:2px; padding:var(--sp-2) 10px; border-top:1px solid var(--separator); }
.rail-btn { width:32px; height:32px; border-radius:9px; border:none; background:transparent; color:var(--label-3); cursor:pointer; display:flex; align-items:center; justify-content:center; transition:all .12s; outline:none; }
.rail-btn:hover { background:var(--bg-grouped); color:var(--label); }
.rail-btn:focus-visible { outline:2px solid var(--fg); outline-offset:-2px; }
.rail-btn.active { color:var(--accent); }
.rail-spacer { flex:1; }
/* ══ MAIN / PAGES ══ */
.main { flex:1; min-width:0; display:flex; flex-direction:column; overflow:hidden; background:var(--bg); }
.page { display:none; flex-direction:column; flex:1; min-height:0; overflow:hidden; }
.page.active { display:flex; }
.page-hdr {
display:flex; align-items:center; gap:var(--sp-3); padding:var(--sp-3) var(--sp-5);
border-bottom:1px solid var(--separator);
background:var(--bg-elevated);
flex-shrink:0; min-height:64px;
}
.page-hdr-icon { color:var(--label-3); font-size:22px; }
.page-hdr-text { flex:1; min-width:0; }
.page-title { font-size:17px; font-weight:700; letter-spacing:-.3px; }
.page-sub { font-size:12px; color:var(--label-3); margin-top:2px; }
.page-body { flex:1; min-height:0; display:flex; overflow:hidden; }
.page-body.split > .conv-col { flex:0 0 300px; }
/* Pages that stack a tab bar above scrolling content (Config) need a column
flow — without this the tab bar is a flex row item and stretches to the
full page height, ballooning each button. */
.page-body.stacked { flex-direction:column; }
.conv-col {
display:flex; flex-direction:column; min-width:0;
background:var(--surface);
border-right:1px solid var(--separator);
overflow:hidden;
}
.conv-new { display:flex; align-items:center; justify-content:center; gap:6px; margin:var(--sp-2); padding:9px; border:1px dashed var(--separator); border-radius:var(--radius-control); background:transparent; color:var(--label-2); font-family:inherit; font-size:12.5px; font-weight:600; cursor:pointer; transition:all .12s; }
.conv-new:hover { border-color:var(--accent); color:var(--accent); }
.chat-panel { flex:1 1 0; }
.filter-seg.compact { margin:0; width:180px; }
/* Empty states */
.page-empty, .list-empty { flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; gap:var(--sp-2); padding:var(--sp-6) var(--sp-5); margin:auto; max-width:460px; }
.page-empty .icon, .list-empty .icon { color:var(--label-4); }
.page-empty-title, .list-empty-title { font-size:15px; font-weight:600; color:var(--label-2); }
.page-empty-sub, .list-empty-sub { font-size:13px; color:var(--label-3); line-height:1.6; }
.link-btn { background:none; border:none; color:var(--accent); font:inherit; cursor:pointer; padding:0; text-decoration:underline; }
/* ══ PEERS ══ */
.peers-scroll { flex:1; overflow-y:auto; padding:var(--sp-5); display:flex; }
.peers-scroll::-webkit-scrollbar { width:6px; }
.peers-scroll::-webkit-scrollbar-thumb { background:var(--separator); border-radius:3px; }
.peer-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:var(--sp-3); width:100%; align-content:start; }
.peer-card {
background:var(--surface);
border:1px solid var(--line); border-radius:var(--radius-card);
padding:var(--sp-3) var(--sp-4) var(--sp-4); cursor:pointer;
transition:border-color var(--dur-fast) var(--ease-out);
}
.peer-card:hover { border-color:var(--fg); }
.peer-card.selected { border-color:var(--fg); box-shadow:0 0 0 1px var(--fg); }
.peer-head { display:flex; align-items:center; gap:10px; }
.peer-title { flex:1; min-width:0; }
.peer-name { font-size:14px; font-weight:600; display:flex; align-items:center; gap:6px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.peer-id { font-size:11px; color:var(--label-3); font-family:var(--font-mono); margin-top:2px; }
.peer-state { display:flex; align-items:center; gap:5px; font-size:11px; color:var(--label-2); flex-shrink:0; }
.peer-facts { display:grid; grid-template-columns:1fr 1fr; gap:var(--sp-1) var(--sp-3); margin:var(--sp-3) 0; }
.peer-fact { display:flex; justify-content:space-between; gap:var(--sp-2); font-size:12px; padding:3px 0; border-bottom:1px solid var(--separator-op); }
.pf-l { color:var(--label-3); }
.pf-v { color:var(--label); font-weight:600; font-variant-numeric:tabular-nums; font-family:var(--font-mono); text-align:right; }
.peer-actions { display:flex; gap:6px; }
/* ══ CONFIG ══ */
.cfg-tabs { display:flex; flex-wrap:wrap; align-items:center; gap:0; padding:0 var(--sp-5); border-bottom:1px solid var(--separator); flex-shrink:0; overflow-x:auto; }
.cfg-tab { padding:11px 2px; margin-right:22px; border:none; border-bottom:2px solid transparent; background:transparent; color:var(--label-3); font-family:inherit; font-size:12.5px; font-weight:600; cursor:pointer; transition:color .12s, border-color .12s; outline:none; white-space:nowrap; }
.cfg-tab:hover { color:var(--label-2); }
.cfg-tab:focus-visible { color:var(--label); }
.cfg-tab.active { color:var(--accent); border-bottom-color:var(--accent); }
/* Module sub-tabs — one row of pills inside the Module tab */
.cfg-subtabs { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:2px; }
.cfg-subtab { padding:5px 11px; border:1px solid var(--separator); border-radius:999px; background:var(--surface); color:var(--label-3); font-family:inherit; font-size:11.5px; font-weight:600; cursor:pointer; transition:color .12s, border-color .12s, background .12s; outline:none; white-space:nowrap; }
.cfg-subtab:hover { color:var(--label-2); border-color:var(--label-3); }
.cfg-subtab.active { color:var(--bg); background:var(--accent); border-color:var(--accent); }
.cfg-scroll { flex:1; overflow-y:auto; display:flex; }
.cfg-scroll::-webkit-scrollbar { width:6px; }
.cfg-scroll::-webkit-scrollbar-thumb { background:var(--separator); border-radius:3px; }
.cfg-wrap { width:100%; max-width:760px; margin:0 auto; padding:var(--sp-5); display:flex; flex-direction:column; gap:var(--sp-4); }
.card {
background:var(--surface);
border:none;
border-radius:var(--radius-card);
overflow:hidden;
}
.card-hd { display:flex; align-items:flex-start; gap:var(--sp-3); padding:var(--sp-4); border-bottom:1px solid var(--separator); }
.card-title { font-size:14.5px; font-weight:700; letter-spacing:-.2px; }
.card-desc { font-size:12.5px; color:var(--label-3); margin-top:3px; line-height:1.5; }
.card-body { padding:var(--sp-2) var(--sp-4) var(--sp-3); }
.pill-soon { flex-shrink:0; font-size:10px; font-weight:700; letter-spacing:.5px; text-transform:uppercase; color:var(--amber); border:1px solid var(--amber); border-radius:var(--radius-pill); padding:3px 9px; }
.cfg-row { display:flex; align-items:center; gap:var(--sp-4); padding:var(--sp-3) 0; border-bottom:1px solid var(--separator-op); }
.cfg-row:last-child { border-bottom:none; }
.cfg-row-text { flex:1; min-width:0; }
.cfg-label { font-size:13.5px; font-weight:600; }
.cfg-help { font-size:12px; color:var(--label-3); margin-top:2px; line-height:1.5; }
.cfg-control { display:flex; align-items:center; gap:6px; flex-shrink:0; }
.cfg-input, .cfg-select { background:var(--bg-grouped); border:none; border-radius:var(--radius-control); color:var(--label); font-family:inherit; font-size:13px; padding:7px 10px; outline:none; min-width:0; }
.cfg-input:focus, .cfg-select:focus { border-color:var(--fg); box-shadow:var(--ring); }
.cfg-input.num { width:96px; text-align:right; font-variant-numeric:tabular-nums; font-family:var(--font-mono); }
.cfg-input[type=text] { width:200px; }
.cfg-select { min-width:180px; }
.cfg-unit { font-size:11px; color:var(--label-3); }
.cfg-note { font-size:12px; color:var(--label-3); line-height:1.6; }
.cfg-actions { display:flex; align-items:center; gap:var(--sp-2); }
.cfg-status { flex:1; font-size:12px; color:var(--label-3); }
.cfg-status.dirty { color:var(--amber); font-weight:600; }
.toggle { width:44px; height:26px; border-radius:13px; border:none; background:var(--bg-tertiary); position:relative; cursor:pointer; transition:background .18s; flex-shrink:0; }
.toggle .knob { position:absolute; top:3px; left:3px; width:20px; height:20px; border-radius:50%; background:var(--surface); transition:transform .18s; }
.toggle.on { background:var(--accent); }
.toggle.on .knob { transform:translateX(18px); }
/* ══ SETTINGS ══ */
.btn-primary { display:flex; align-items:center; gap:6px; padding:8px 14px; border-radius:var(--radius-control); border:none; background:var(--accent-gradient); color:var(--accent-ink); font-family:inherit; font-size:13px; font-weight:600; cursor:pointer; transition:opacity .15s, box-shadow .2s; }
.btn-primary:hover { opacity:.9; }
.btn-ghost { display:flex; align-items:center; gap:6px; padding:7px 12px; border-radius:var(--radius-control); border:none; background:var(--bg-elevated); color:var(--label-2); font-family:inherit; font-size:12.5px; font-weight:600; cursor:pointer; transition:all .15s; flex-shrink:0; }
.btn-ghost:hover { color:var(--label); }
/* ══ FIRST RUN ══ */
.ov.first-run { background:color-mix(in srgb, var(--ink-primary) 55%, transparent); }
.fr-card {
width:440px; max-width:92vw;
background:var(--surface);
border:none; border-radius:var(--radius-card);
padding:var(--sp-6) var(--sp-5) var(--sp-5);
text-align:center;
}
.fr-icon { width:56px; height:56px; margin:0 auto var(--sp-4); border-radius:var(--radius-control); background:var(--accent-gradient); display:flex; align-items:center; justify-content:center; }
.fr-title { font-size:19px; font-weight:700; letter-spacing:-.4px; }
.fr-body { font-size:13px; color:var(--label-2); line-height:1.6; margin:var(--sp-2) 0 var(--sp-5); }
.fr-field { text-align:left; margin-bottom:var(--sp-3); }
.fr-label { display:block; font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.6px; color:var(--label-3); margin-bottom:5px; }
.fr-input { width:100%; background:var(--bg-grouped); border:none; border-radius:var(--radius-control); color:var(--label); font-family:inherit; font-size:15px; padding:10px 12px; outline:none; }
.fr-input:focus { border-color:var(--fg); box-shadow:var(--ring); }
.port-sel.bare { border-bottom:none; padding:0; gap:var(--sp-4); }
.fr-cta { width:100%; margin-top:var(--sp-3); padding:12px; border:none; border-radius:var(--radius-control); background:var(--accent-gradient); color:var(--accent-ink); font-family:inherit; font-size:15px; font-weight:600; cursor:pointer; display:flex; align-items:center; justify-content:center; gap:8px; transition:opacity .15s, box-shadow .2s; }
.fr-cta:hover { opacity:.92; }
.fr-cta:disabled { opacity:.6; cursor:default; }
.fr-skip { margin-top:var(--sp-2); background:none; border:none; color:var(--label-3); font-family:inherit; font-size:12.5px; cursor:pointer; }
.fr-skip:hover { color:var(--label-2); }
/* ══ RESPONSIVE ══ */
@media (max-width: 1180px) {
.page-body.split > .conv-col { flex:0 0 260px; }
}
@media (max-width: 980px) {
.nav { --nav-w:210px; }
.page-hdr .stat-bar { display:none; }
}
/* Nav item unread badges */
.tab-badge { background:var(--red); color:var(--bg); font-size:10px; font-weight:700; border-radius:9px; padding:1px 6px; min-width:18px; text-align:center; font-family:inherit; }
/* ══════════════════════════════════════════════════════════════════
NULLOBJ IDIOM: pill controls, hairline fields, caps utility text,
heavy tight headings. No shadows, gradients or accent colour.
══════════════════════════════════════════════════════════════════ */
h1,h2,h3,.page-title,.card-title,.fr-title,.mt,.ch-name,.nav-id-name { font-weight:650; letter-spacing:var(--tracking-tight); }
.page-title { font-size:22px; }
.fr-title { font-size:26px; }
/* caps utility labels */
.list-hdr, .nav-group-title, .port-label, .fr-label, .ml-title, .nd-sl, .cfg-status, .tab-badge, .pill-soon, .you-badge {
text-transform:uppercase; letter-spacing:var(--tracking-caps); font-weight:600;
}
.nav-group-title, .list-hdr, .ml-title { font-size:10.5px; }
.card-hd { border-bottom:1px solid var(--fg); }
.page-hdr { border-bottom:1px solid var(--fg); }
/* hairline fields */
.conn-ip, .cfg-input, .cfg-select, .fr-input, .nd-stat, .nd-pos, .compose-field {
background:var(--bg); border:1px solid var(--line-strong);
transition:border-color var(--dur-fast) var(--ease-out);
}
.conn-ip, .cfg-input, .cfg-select, .fr-input { border-radius:var(--radius-pill); padding-left:16px; padding-right:16px; }
.cfg-input.num { padding-right:16px; }
.conn-ip:hover, .cfg-input:hover, .cfg-select:hover, .fr-input:hover { border-color:var(--faint); }
.conn-ip:focus, .cfg-input:focus, .cfg-select:focus, .fr-input:focus, .compose-field:focus-within { border-color:var(--fg); box-shadow:var(--ring); }
.nd-stat, .nd-pos { border-radius:var(--radius-md); border-color:var(--line); }
.compose-field { border-radius:var(--radius-pill); }
/* pill buttons */
.btn-connect, .btn-primary, .fr-cta, .nd-btn, .btn-ghost, .conv-new {
border-radius:var(--radius-pill); border:1px solid var(--fg);
letter-spacing:.04em; font-weight:600;
transition:background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.btn-connect, .btn-primary, .fr-cta, .nd-btn.primary { background:var(--fg); color:var(--bg); }
.btn-connect:hover, .btn-primary:hover, .fr-cta:hover, .nd-btn.primary:hover { background:var(--press); border-color:var(--press); opacity:1; }
.btn-connect.live { background:transparent; color:var(--danger); border-color:var(--danger); }
.btn-ghost, .nd-btn { background:var(--bg); color:var(--fg); border-color:var(--line-strong); }
.btn-ghost:hover, .nd-btn:hover { border-color:var(--fg); color:var(--fg); }
.conv-new { border-style:solid; border-color:var(--line-strong); }
.conv-new:hover { border-color:var(--fg); color:var(--fg); }
.btn-send { background:var(--fg); color:var(--bg); }
.btn-send:hover { background:var(--press); opacity:1; }
.btn-send:disabled { background:var(--wash); }
.fr-cta:disabled, .btn-primary:disabled, .btn-connect:disabled { opacity:.4; }
.link-btn { color:var(--fg); }
/* segmented filter */
.filter-seg { background:var(--wash); border:1px solid var(--line); border-radius:var(--radius-pill); padding:4px; }
.fseg { border-radius:var(--radius-pill); }
.fseg.active { background:var(--fg); color:var(--bg); }
/* nav */
.nav-item { border-radius:var(--radius-pill); padding:9px 14px; }
.nav-item.active { background:var(--fg); color:var(--bg); }
.nav-item.active .icon { color:var(--bg); }
.nav-item.active .nav-item-count { color:var(--bg); opacity:.7; }
.nav-id-icon, .fr-icon { background:var(--fg); }
.nav-id-icon .icon, .fr-icon .icon { color:var(--bg) !important; }
.rail-btn.active { background:var(--fg); color:var(--bg); }
.rail-btn { border-radius:50%; }
/* tabs */
.cfg-tab.active { color:var(--fg); border-bottom-color:var(--fg); }
.cfg-subtab { border-radius:var(--radius-pill); }
.cfg-subtab.active { background:var(--fg); color:var(--bg); border-color:var(--fg); }
/* cards and panels: hairline, no shadow */
.card, .peer-card, .modal, .fr-card, .toast, .map-legend, .nd-stat {
border:1px solid var(--line);
}
.modal, .fr-card { box-shadow:var(--shadow-pop); border-color:var(--line-strong); }
.card-hd { border-bottom-color:var(--line); }
.page-hdr { border-bottom-color:var(--line); }
.toast { border-radius:var(--radius-pill); padding:9px 18px; }
.toast .icon { color:var(--fg) !important; }
.toast.ok .icon { color:var(--green) !important; }
.toast.err .icon { color:var(--red) !important; }
.toast.wrn .icon { color:var(--amber) !important; }
/* chips, badges, pills */
.stat-chip, .map-pill, .date-div { border:1px solid var(--line); background:var(--bg); border-radius:var(--radius-pill); }
.stat-chip { padding:2px 10px; }
.unread-badge, .ch-row-badge, .tab-badge { border-radius:var(--radius-pill); }
.unread-badge, .ch-row-badge { background:var(--fg); color:var(--bg); }
.tab-badge { background:var(--danger); color:var(--bg); }
/* toggle */
.toggle { background:var(--line-strong); box-shadow:none; }
.toggle .knob { background:var(--bg); }
.toggle.on { background:var(--fg); }
.toggle.on .knob { background:var(--bg); }
.port-opt input[type=radio] { border-color:var(--line-strong); }
.port-opt input[type=radio]:checked { border-color:var(--fg); background:var(--fg); }
.port-opt input[type=radio]:checked::after { background:var(--bg); }
/* chat */
.msg.out .bubble { background:var(--fg); color:var(--bg); }
.msg.in .bubble { background:var(--wash); border:1px solid var(--line); }
.bubble-sender { color:var(--muted); text-transform:uppercase; letter-spacing:var(--tracking-caps); font-size:10.5px; font-weight:600; }
.channel-row.active, .chat-row.active { background:var(--wash); box-shadow:none; }
.leaflet-control-zoom a { border:1px solid var(--line-strong) !important; background:var(--bg) !important; color:var(--fg) !important; border-radius:50% !important; }
.node-map-label, .leaflet-tooltip.mesh-lbl { border-radius:var(--radius-pill); box-shadow:none; }
.spinner { border-top-color:var(--fg); }
.leaflet-control-attribution a { color:var(--fg) !important; }