forge
Explore
Log in

Don't you dare go Hollow

im_old

Clone
★ 0

0 watching0 forksRustGPL-3.0755.6 KiB84318dcTahinli2 months ago77 commits

main.css1304 lines, 23.5 KiBHistoryRawDownload
1@charset "UTF-8";
2[data-ui=ledger] .auth-title {
3 font-family: var(--font-display);
4 font-size: 22px;
5 font-weight: 500;
6 letter-spacing: 0;
7}
8[data-ui=ledger] .auth-card {
9 background: transparent;
10 border: none;
11 box-shadow: none;
12 padding: 0;
13}
14[data-ui=ledger] .admin-card {
15 background: transparent;
16 border: none;
17 box-shadow: none;
18 padding: 0;
19}
20[data-ui=ledger] .admin-card-head {
21 border-bottom: 2px solid var(--rule-strong);
22 padding: 0 0 10px;
23}
24[data-ui=ledger] .admin-table td {
25 border-top-color: var(--border);
26}
27[data-ui=ledger] .session-item {
28 border-top-color: var(--border);
29}
30[data-ui=ledger] .auth-note,
31[data-ui=ledger] .auth-secret,
32[data-ui=ledger] .auth-ok {
33 background: transparent;
34}
35[data-ui=ledger] .auth-problem {
36 background: transparent;
37}
38[data-ui=ledger] .chip {
39 display: inline-flex;
40 align-items: baseline;
41 height: auto;
42 padding: 0;
43 background: transparent;
44 border: none;
45 border-bottom: 1px dotted currentColor;
46 border-radius: 0;
47 font-family: var(--font-mono);
48 font-size: 10px;
49 font-weight: 500;
50 letter-spacing: 0.08em;
51 text-transform: uppercase;
52}
53[data-ui=ledger] .chip-muted, [data-ui=ledger] .chip-connected, [data-ui=ledger] .chip-refused, [data-ui=ledger] .chip-accent {
54 background: transparent;
55}
56[data-ui=ledger] .chip-accent {
57 border: none;
58 border-bottom: 1px dotted currentColor;
59}
60[data-ui=ledger] .auth-submit {
61 background: var(--ink);
62 color: var(--bg);
63}
64[data-ui=ledger] .auth-submit:hover {
65 background: var(--ink-soft);
66}
67[data-ui=ledger] .admin-action {
68 background: transparent;
69 border-color: var(--ink-soft);
70}
71[data-ui=ledger] .admin-action:hover {
72 background: transparent;
73 border-color: var(--ink);
74 color: var(--ink);
75}
76[data-ui=ledger] .admin-danger {
77 border-color: var(--danger);
78}
79[data-ui=ledger] .admin-danger:hover {
80 border-color: var(--danger);
81 background: transparent;
82}
83[data-ui=ledger] .auth-input {
84 background: transparent;
85 border-color: var(--ink-soft);
86}
87[data-ui=ledger] .auth-input:focus-visible {
88 background: transparent;
89 border-color: var(--ink);
90}
91[data-ui=ledger] .auth-locked {
92 background: transparent;
93 border-color: var(--ink-soft);
94}
95[data-ui=ledger] .admin-nav-on {
96 box-shadow: inset 0 -2px 0 var(--ink);
97}
98
99:root,
100[data-ui=instrument] {
101 color-scheme: light;
102 --bg: #f2f2f0;
103 --surface: #fbfbfa;
104 --border: #dcdcd8;
105 --border-strong: #d0d0cb;
106 --border-soft: #d3d3ce;
107 --ink: #1a1b1d;
108 --muted: #6b7078;
109 --muted-soft: #6b7078;
110 --accent: #46557b;
111 --accent-tint: #eef0f5;
112 --accent-ink: #2f3c5c;
113 --accent-strong: #5a6a94;
114 --field-bg: #f5f5f3;
115 --panel-sunken: #eeeeec;
116 --danger: #a04a24;
117 --danger-tint-alt: #fbf1ec;
118 --danger-border-soft: #eddcd3;
119 --positive: #5c7b46;
120 --positive-tint: #eef3e9;
121 --positive-border: #d3e0c6;
122 --font-sans: system-ui, sans-serif;
123 --font-mono: "IBM Plex Mono", ui-monospace, monospace;
124 --control-h-lg: 40px;
125 --radius: 3px;
126 --radius-sm: var(--radius);
127 --radius-lg: 3px;
128 --shadow-2: none;
129 --dur-fast: 120ms;
130 --ease: ease-out;
131}
132
133[data-ui=instrument][data-theme=dark] {
134 color-scheme: dark;
135 --bg: #0d0e10;
136 --surface: #14161a;
137 --border: #23262c;
138 --border-strong: #2e323a;
139 --border-soft: #1f2226;
140 --ink: #e6e4de;
141 --muted: #7d8590;
142 --muted-soft: #4a4f58;
143 --accent: #8ba1e8;
144 --accent-tint: rgba(139, 161, 232, 0.14);
145 --accent-ink: #b9c6ee;
146 --accent-strong: #7e93d9;
147 --field-bg: #101216;
148 --panel-sunken: #101216;
149 --danger: #e0906a;
150 --danger-tint-alt: rgba(224, 144, 106, 0.05);
151 --danger-border-soft: rgba(224, 144, 106, 0.3);
152 --positive: #9db98a;
153 --positive-tint: rgba(157, 185, 138, 0.13);
154 --positive-border: rgba(157, 185, 138, 0.4);
155}
156
157[data-ui=ledger] {
158 color-scheme: light;
159 --bg: #f6f1e6;
160 --surface: #f6f1e6;
161 --border: #ddd5c2;
162 --border-strong: #221f18;
163 --border-soft: #cfc6b0;
164 --ink: #221f18;
165 --muted: #7a7466;
166 --muted-soft: #a39b88;
167 --accent: #46557b;
168 --accent-tint: #eef0f5;
169 --accent-ink: #2f3c5c;
170 --accent-strong: #5a6a94;
171 --field-bg: #f1ebdd;
172 --panel-sunken: #f1ebdd;
173 --danger: #a04a24;
174 --danger-tint-alt: #fbf1ec;
175 --danger-border-soft: #eddcd3;
176 --positive: #5c7b46;
177 --positive-tint: #eef3e9;
178 --positive-border: #d3e0c6;
179 --font-sans: system-ui, sans-serif;
180 --font-mono: "IBM Plex Mono", ui-monospace, monospace;
181 --font-display: "Newsreader", Georgia, serif;
182 --ink-soft: #4a453a;
183 --row-hover: #efe9da;
184 --rule-strong: #221f18;
185 --control-h-lg: 40px;
186 --radius: 2px;
187 --radius-sm: var(--radius);
188 --radius-lg: 2px;
189 --shadow-2: none;
190 --dur-fast: 120ms;
191 --ease: ease-out;
192}
193
194[data-ui=ledger][data-theme=dark] {
195 color-scheme: dark;
196 --bg: #171511;
197 --surface: #171511;
198 --border: #3a352a;
199 --border-strong: #e8e2d4;
200 --border-soft: #2e2a20;
201 --ink: #e8e2d4;
202 --muted: #97907f;
203 --muted-soft: #6e6757;
204 --accent: #9db0dd;
205 --accent-tint: rgba(157, 176, 221, 0.14);
206 --accent-ink: #c3cfee;
207 --accent-strong: #8497c9;
208 --field-bg: #1c1915;
209 --panel-sunken: #1b1814;
210 --danger: #d28a5a;
211 --danger-tint-alt: rgba(210, 138, 90, 0.05);
212 --danger-border-soft: rgba(210, 138, 90, 0.3);
213 --positive: #a3bd8b;
214 --positive-tint: rgba(163, 189, 139, 0.13);
215 --positive-border: rgba(163, 189, 139, 0.4);
216 --font-sans: system-ui, sans-serif;
217 --font-mono: "IBM Plex Mono", ui-monospace, monospace;
218 --font-display: "Newsreader", Georgia, serif;
219 --ink-soft: #cfc8b6;
220 --row-hover: #201c16;
221 --rule-strong: #e8e2d4;
222 --control-h-lg: 40px;
223 --radius: 2px;
224 --radius-sm: var(--radius);
225 --radius-lg: 2px;
226 --shadow-2: none;
227 --dur-fast: 120ms;
228 --ease: ease-out;
229}
230
231* {
232 box-sizing: border-box;
233}
234
235body {
236 margin: 0;
237 background: var(--bg);
238 color: var(--ink);
239 font-family: var(--font-sans);
240 font-size: 14px;
241 line-height: 1.45;
242 -webkit-font-smoothing: antialiased;
243}
244
245a {
246 color: var(--accent);
247 transition: color var(--dur-fast) var(--ease);
248}
249a:hover {
250 color: var(--accent-ink);
251}
252
253body:has(.auth-stage) {
254 height: 100vh;
255 height: 100dvh;
256 overflow: hidden;
257 display: flex;
258 flex-direction: column;
259}
260body:has(.auth-stage) > * {
261 flex: none;
262}
263body:has(.auth-stage) > .auth-stage {
264 flex: 1;
265 min-height: 0;
266 overflow-y: auto;
267 scrollbar-width: none;
268}
269body:has(.auth-stage) > .auth-stage::-webkit-scrollbar {
270 display: none;
271}
272
273.auth-stage {
274 min-height: 100vh;
275 min-height: 100dvh;
276 display: flex;
277 padding: 0 40px 40px;
278}
279
280.auth-column {
281 width: 520px;
282 max-width: 100%;
283 display: flex;
284 flex-direction: column;
285 gap: 10px;
286 margin: auto;
287}
288
289.wordmark {
290 display: flex;
291 align-items: center;
292 justify-content: center;
293 gap: 10px;
294 text-decoration: none;
295 color: inherit;
296 padding: 6px 0;
297}
298.wordmark:hover {
299 color: inherit;
300}
301.wordmark-mark {
302 flex: none;
303 display: block;
304 width: 24px;
305 height: 24px;
306}
307.wordmark-tittle {
308 fill: var(--accent);
309}
310.wordmark-text {
311 font-family: var(--font-mono);
312 font-size: 18px;
313 font-weight: 500;
314 letter-spacing: 0.02em;
315}
316
317.landing-nav {
318 justify-content: center;
319 padding: 4px 0 10px;
320}
321
322.wordmark-family {
323 position: relative;
324 display: flex;
325 justify-content: center;
326}
327.wordmark-family .wordmark {
328 cursor: default;
329 outline: none;
330}
331.wordmark-family:hover .service-trio, .wordmark-family:focus-within .service-trio {
332 opacity: 1;
333 transform: translate(-50%, 0);
334 pointer-events: auto;
335}
336
337.service-trio {
338 position: absolute;
339 top: 100%;
340 left: 50%;
341 z-index: 2;
342 display: flex;
343 align-items: center;
344 gap: 10px;
345 padding: 6px 12px;
346 background: var(--surface);
347 border: 1px solid var(--border);
348 border-radius: var(--radius);
349 box-shadow: var(--shadow-2);
350 opacity: 0;
351 transform: translate(-50%, -4px);
352 pointer-events: none;
353 transition: opacity 120ms ease, transform 120ms ease;
354}
355
356.trio-mark {
357 font-family: var(--font-mono);
358 font-size: 13px;
359 font-weight: 500;
360 letter-spacing: 0.02em;
361 text-decoration: none;
362 color: var(--muted);
363}
364.trio-mark:hover {
365 color: var(--ink);
366}
367
368.trio-sep {
369 color: var(--muted-soft);
370}
371
372.landing-stage .auth-column {
373 margin-top: max(24px, (100dvh - 640px) / 2);
374 margin-bottom: 24px;
375}
376
377.auth-card {
378 background: var(--surface);
379 border: 1px solid var(--border);
380 border-radius: var(--radius-lg);
381 padding: 28px;
382 display: flex;
383 flex-direction: column;
384 gap: 18px;
385 box-shadow: var(--shadow-2);
386}
387.auth-card form {
388 display: flex;
389 flex-direction: column;
390 gap: 20px;
391}
392
393.auth-head {
394 display: flex;
395 flex-direction: column;
396 gap: 6px;
397}
398
399.auth-title {
400 font-size: 18px;
401 font-weight: 600;
402 letter-spacing: -0.01em;
403}
404
405.auth-sub {
406 font-size: 13px;
407 color: var(--muted);
408 line-height: 1.5;
409}
410
411.auth-field {
412 display: flex;
413 flex-direction: column;
414 gap: 6px;
415}
416
417.auth-label {
418 font-family: var(--font-mono);
419 font-size: 10px;
420 letter-spacing: 0.08em;
421 text-transform: uppercase;
422 color: var(--muted-soft);
423}
424
425.auth-locked {
426 display: flex;
427 align-items: center;
428 gap: 8px;
429 height: 40px;
430 padding: 0 12px;
431 background: var(--panel-sunken);
432 border: 1px solid var(--border-strong);
433 border-radius: var(--radius);
434}
435
436.auth-locked-value {
437 font-family: var(--font-mono);
438 font-size: 13px;
439 color: var(--muted);
440 flex-grow: 1;
441}
442
443.auth-input {
444 height: 40px;
445 padding: 0 12px;
446 background: var(--field-bg);
447 border: 1px solid var(--border-strong);
448 border-radius: var(--radius);
449 color: var(--ink);
450 font-family: var(--font-sans);
451 font-size: 13px;
452 width: 100%;
453}
454.auth-input:focus {
455 outline: none;
456 border-color: var(--accent);
457 box-shadow: 0 0 0 2px var(--accent-tint);
458}
459.auth-input:focus-visible {
460 outline: 2px solid var(--accent);
461 outline-offset: 1px;
462}
463.auth-input:user-invalid {
464 border-color: var(--danger);
465}
466
467textarea.auth-input {
468 height: auto;
469 padding: 10px 12px;
470 resize: vertical;
471}
472
473.auth-input-mono {
474 font-family: var(--font-mono);
475}
476
477.auth-submit {
478 height: var(--control-h-lg);
479 display: flex;
480 align-items: center;
481 justify-content: center;
482 gap: 8px;
483 background: var(--accent);
484 color: var(--surface);
485 border: 0;
486 border-radius: var(--radius);
487 cursor: pointer;
488 font-family: var(--font-sans);
489}
490.auth-submit:disabled {
491 opacity: 0.45;
492 cursor: default;
493}
494.auth-submit:focus-visible {
495 outline: 2px solid var(--accent-ink);
496 outline-offset: 2px;
497}
498
499.auth-submit-text {
500 font-size: 13px;
501 font-weight: 600;
502}
503
504.auth-problem {
505 font-size: 13px;
506 color: var(--danger);
507 background: var(--danger-tint-alt);
508 border: 1px solid var(--danger-border-soft);
509 border-radius: var(--radius);
510 padding: 10px 12px;
511}
512
513.auth-note {
514 font-size: 13px;
515 color: var(--muted);
516 background: var(--panel-sunken);
517 border: 1px solid var(--border-soft);
518 border-radius: var(--radius);
519 padding: 10px 12px;
520}
521
522.auth-ok {
523 font-size: 13px;
524 color: var(--positive);
525 background: var(--positive-tint);
526 border: 1px solid var(--positive-border);
527 border-radius: var(--radius);
528 padding: 10px 12px;
529}
530
531.auth-secret {
532 font-family: var(--font-mono);
533 font-size: 14px;
534 letter-spacing: 0.06em;
535 text-align: center;
536 background: var(--panel-sunken);
537 border: 1px solid var(--border-soft);
538 border-radius: var(--radius);
539 padding: 10px 12px;
540 user-select: all;
541}
542
543.auth-qr {
544 display: flex;
545 justify-content: center;
546}
547.auth-qr svg {
548 width: 200px;
549 height: 200px;
550 background: #fff;
551 border: 1px solid var(--border);
552 border-radius: var(--radius);
553 padding: 12px;
554}
555
556.auth-alt {
557 font-size: 12px;
558 color: var(--muted);
559 text-decoration: none;
560 align-self: center;
561}
562.auth-alt:hover {
563 color: var(--accent-ink);
564}
565
566.auth-footer {
567 font-family: var(--font-mono);
568 font-size: 10px;
569 letter-spacing: 0.08em;
570 color: var(--muted-soft);
571 text-align: center;
572 padding-top: 4px;
573}
574
575.profile-head {
576 display: flex;
577 align-items: center;
578 gap: 14px;
579}
580
581.profile-avatar {
582 flex: none;
583 width: 72px;
584 height: 72px;
585 border-radius: var(--radius);
586 border: 1px solid var(--border);
587 object-fit: cover;
588}
589
590.profile-avatar-initial {
591 display: flex;
592 align-items: center;
593 justify-content: center;
594 background: var(--panel-sunken);
595 color: var(--muted);
596 font-family: var(--font-mono);
597 font-size: 26px;
598 font-weight: 500;
599 user-select: none;
600}
601
602.profile-heading {
603 flex: 1;
604 display: flex;
605 flex-direction: column;
606 gap: 6px;
607 min-width: 0;
608}
609
610.profile-marks {
611 display: flex;
612 gap: 6px;
613 flex-wrap: wrap;
614}
615
616.chip-accent {
617 background: var(--accent-tint);
618 border: 1px solid var(--border-strong);
619 color: var(--accent-ink);
620}
621
622.profile-fields {
623 margin: 0;
624 display: flex;
625 flex-direction: column;
626 gap: 10px;
627}
628
629.profile-field {
630 display: flex;
631 flex-direction: column;
632 gap: 4px;
633}
634
635.profile-value {
636 margin: 0;
637 font-size: 13px;
638}
639
640.viewer-actions {
641 display: flex;
642 justify-content: center;
643 gap: 8px;
644 margin-top: 12px;
645}
646.viewer-actions label.admin-action {
647 display: inline-flex;
648 align-items: center;
649 box-sizing: border-box;
650 cursor: pointer;
651}
652
653.profile-file-hidden {
654 display: none;
655}
656
657#profile-photo-form,
658#profile-photo-remove {
659 display: none;
660}
661
662.profile-avatar-upload,
663.avatar-view {
664 position: relative;
665 flex: none;
666 cursor: pointer;
667}
668
669.avatar-view {
670 appearance: none;
671 background: none;
672 border: none;
673 padding: 0;
674}
675
676.profile-avatar-upload::after {
677 content: "+";
678 position: absolute;
679 inset: 0;
680 display: flex;
681 align-items: center;
682 justify-content: center;
683 background: rgba(0, 0, 0, 0.4);
684 border-radius: var(--radius);
685 color: #fff;
686 font-size: 24px;
687 font-weight: 300;
688 opacity: 0;
689 transition: opacity var(--dur-fast) var(--ease);
690 pointer-events: none;
691}
692.profile-avatar-upload:hover::after, .profile-avatar-upload:has(.profile-file-hidden:focus-visible)::after {
693 opacity: 1;
694}
695
696.viewer-scrim {
697 position: fixed;
698 inset: 0;
699 z-index: 100;
700 display: flex;
701 align-items: center;
702 justify-content: center;
703 background: rgba(0, 0, 0, 0.65);
704 cursor: zoom-out;
705}
706
707.viewer {
708 outline: none;
709 cursor: default;
710 display: flex;
711 flex-direction: column;
712 align-items: center;
713}
714
715.viewer-media {
716 max-width: min(90vw, 960px);
717 max-height: 85vh;
718 border-radius: var(--radius);
719}
720
721.profile-upload-row {
722 display: flex;
723 gap: 8px;
724 align-items: center;
725}
726
727.upload-progress {
728 flex: 1;
729 height: 2px;
730 background: var(--panel-sunken);
731 border-radius: 1px;
732 overflow: hidden;
733}
734
735.upload-progress-fill {
736 height: 100%;
737 width: 0;
738 background: var(--accent);
739 transition: width var(--dur-fast) var(--ease);
740}
741
742.upload-cancel {
743 height: 24px;
744 padding: 0 8px;
745}
746
747.profile-stats {
748 margin: 0;
749 display: flex;
750 justify-content: space-between;
751 gap: 12px;
752}
753
754.profile-stat {
755 display: flex;
756 flex-direction: column;
757 gap: 2px;
758}
759
760.profile-stat-value {
761 margin: 0;
762 font-size: 22px;
763 font-weight: 600;
764 letter-spacing: -0.01em;
765}
766
767.session-list {
768 display: flex;
769 flex-direction: column;
770}
771
772.session-item {
773 border-top: 1px solid var(--border-soft);
774}
775.session-item:first-child {
776 border-top: 0;
777}
778
779.session-head {
780 display: flex;
781 gap: 12px;
782 align-items: baseline;
783 padding: 12px 0;
784 cursor: pointer;
785 list-style: none;
786}
787.session-head::-webkit-details-marker {
788 display: none;
789}
790
791.session-device {
792 font-size: 13px;
793 color: var(--ink);
794}
795.session-device .chip {
796 margin-left: 8px;
797}
798
799.session-ip {
800 margin-left: auto;
801 font-size: 12px;
802 color: var(--muted);
803}
804
805.session-item[open] .session-head {
806 position: relative;
807 z-index: 121;
808}
809.session-item[open] .session-head::after {
810 content: "";
811 position: fixed;
812 inset: 0;
813 z-index: -1;
814 background: rgba(0, 0, 0, 0.65);
815}
816
817.session-detail {
818 position: fixed;
819 top: 50%;
820 left: 50%;
821 transform: translate(-50%, -50%);
822 z-index: 122;
823 width: min(90vw, 420px);
824 max-height: 85vh;
825 overflow: auto;
826 background: var(--surface);
827 border: 1px solid var(--border);
828 border-radius: var(--radius-lg);
829 padding: 20px;
830}
831.session-detail .profile-fields {
832 margin: 0;
833}
834.session-detail form {
835 margin-top: 12px;
836 text-align: right;
837}
838
839.session-agent {
840 overflow-wrap: anywhere;
841}
842
843@media (max-width: 720px) {
844 .auth-stage {
845 padding: 0 16px 24px;
846 }
847}
848body:has(.admin-shell) {
849 min-height: 100vh;
850 min-height: 100dvh;
851 scrollbar-gutter: stable;
852}
853
854.admin-shell {
855 display: flex;
856 justify-content: center;
857 padding: 24px 24px 48px;
858}
859
860.admin-column {
861 width: 760px;
862 max-width: 100%;
863 display: flex;
864 flex-direction: column;
865 gap: 16px;
866}
867
868.admin-bar {
869 display: flex;
870 align-items: center;
871 flex-wrap: wrap;
872 gap: 8px 20px;
873 min-height: var(--control-h-lg);
874 padding: 6px 0;
875}
876.admin-bar .wordmark-text {
877 font-size: 15px;
878}
879
880.admin-tabs {
881 display: flex;
882 flex-wrap: wrap;
883 gap: 8px 16px;
884}
885
886.admin-nav {
887 font-family: var(--font-mono);
888 font-size: 10px;
889 letter-spacing: 0.08em;
890 text-transform: uppercase;
891 color: var(--muted);
892 text-decoration: none;
893 padding-bottom: 2px;
894}
895.admin-nav:hover {
896 color: var(--ink);
897}
898.admin-nav-on {
899 color: var(--ink);
900 box-shadow: inset 0 -2px 0 var(--ink);
901}
902
903.admin-bar .auth-alt {
904 margin-left: auto;
905 align-self: auto;
906}
907
908a.wordmark-home {
909 text-decoration: none;
910 color: inherit;
911}
912
913.admin-card {
914 background: var(--surface);
915 border: 1px solid var(--border);
916 border-radius: var(--radius-lg);
917 padding: 24px;
918 display: flex;
919 flex-direction: column;
920 gap: 16px;
921}
922
923.logs-filters {
924 display: flex;
925 flex-wrap: wrap;
926 gap: 10px 14px;
927}
928.logs-filters .auth-field {
929 flex: 1 1 120px;
930 min-width: 0;
931}
932
933body:has(.log-list) {
934 height: 100vh;
935 height: 100dvh;
936 overflow: hidden;
937}
938body:has(.log-list) .admin-shell {
939 height: 100%;
940}
941body:has(.log-list) .admin-column {
942 height: 100%;
943}
944body:has(.log-list) .admin-card:has(.log-list) {
945 min-height: 0;
946}
947
948.admin-table-wrap {
949 min-height: 0;
950 overflow-x: auto;
951 overflow-y: auto;
952}
953
954.logs-foot {
955 display: flex;
956 align-items: center;
957 justify-content: space-between;
958 gap: 12px;
959}
960.logs-foot .log-count {
961 font-family: var(--font-mono);
962 font-size: 11px;
963 color: var(--muted-soft);
964}
965.logs-foot .logs-links {
966 display: flex;
967 gap: 16px;
968}
969
970.admin-table {
971 width: 100%;
972 border-collapse: collapse;
973 font-size: 13px;
974}
975.admin-table th {
976 font-family: var(--font-mono);
977 font-size: 10px;
978 letter-spacing: 0.08em;
979 color: var(--muted-soft);
980 text-align: left;
981 padding: 0 12px 6px 0;
982}
983.admin-table td {
984 padding: 8px 12px 8px 0;
985 border-top: 1px solid var(--border-soft);
986 vertical-align: middle;
987}
988.admin-table td.mono {
989 overflow-wrap: anywhere;
990}
991
992.admin-clients td.muted {
993 white-space: nowrap;
994}
995
996.mono {
997 font-family: var(--font-mono);
998}
999
1000.muted {
1001 color: var(--muted);
1002}
1003
1004.health-dot {
1005 display: inline-block;
1006 width: 0.55rem;
1007 height: 0.55rem;
1008 border-radius: 50%;
1009 margin-right: 0.4rem;
1010 vertical-align: baseline;
1011}
1012.health-dot.health-on {
1013 background: #2e9e5b;
1014}
1015.health-dot.health-off {
1016 background: var(--muted);
1017}
1018
1019.actions {
1020 display: flex;
1021 flex-wrap: wrap;
1022 gap: 8px;
1023 justify-content: flex-end;
1024}
1025.actions form {
1026 display: inline;
1027}
1028
1029.admin-action {
1030 height: var(--control-h);
1031 --control-h: 32px;
1032 padding: 0 10px;
1033 background: var(--surface);
1034 border: 1px solid var(--border-strong);
1035 border-radius: var(--radius);
1036 color: var(--ink);
1037 font-size: 12px;
1038 cursor: pointer;
1039}
1040.admin-action:hover {
1041 background: var(--row-hover, var(--panel-sunken));
1042}
1043
1044.admin-action-wide {
1045 width: 100%;
1046}
1047
1048.admin-invite {
1049 display: flex;
1050 flex-wrap: wrap;
1051 gap: 8px;
1052 align-items: stretch;
1053 --control-h: 36px;
1054}
1055.admin-invite .auth-input {
1056 height: var(--control-h);
1057 box-sizing: border-box;
1058}
1059.admin-invite input.auth-input {
1060 flex: 1;
1061 min-width: 220px;
1062}
1063.admin-invite select.admin-role {
1064 flex: 0 0 auto;
1065 width: auto;
1066 padding: 0 28px 0 12px;
1067 appearance: none;
1068 background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
1069 background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%;
1070 background-size: 5px 5px, 5px 5px;
1071 background-repeat: no-repeat;
1072 cursor: pointer;
1073}
1074.admin-invite .admin-invite-go {
1075 width: auto;
1076 height: var(--control-h);
1077 padding: 0 20px;
1078}
1079
1080.admin-form {
1081 display: flex;
1082 flex-direction: column;
1083 gap: 12px;
1084}
1085
1086.admin-standing {
1087 font-size: 12px;
1088 color: var(--muted);
1089}
1090
1091.admin-pair {
1092 display: flex;
1093 gap: 8px;
1094}
1095
1096.chip {
1097 display: inline-flex;
1098 align-items: center;
1099 height: 24px;
1100 padding: 0 10px;
1101 border-radius: var(--radius);
1102 font-size: 11px;
1103 font-weight: 600;
1104}
1105
1106.chip-muted {
1107 background: var(--panel-sunken);
1108 border: 1px solid var(--border-strong);
1109 color: var(--muted);
1110}
1111
1112.chip-connected {
1113 background: var(--positive-tint);
1114 border: 1px solid var(--positive-border);
1115 color: var(--positive);
1116}
1117
1118.chip-refused {
1119 background: var(--danger-tint-alt);
1120 border: 1px solid var(--danger-border-soft);
1121 color: var(--danger);
1122}
1123
1124.admin-card-head {
1125 display: flex;
1126 align-items: center;
1127 justify-content: space-between;
1128 gap: 10px;
1129}
1130
1131.admin-danger {
1132 color: var(--danger);
1133}
1134.admin-danger:hover {
1135 background: var(--danger-tint-alt);
1136}
1137
1138.admin-dialog {
1139 width: min(240px, 100vw - 32px);
1140 height: fit-content;
1141 max-height: min(85vh, 85dvh);
1142 margin: auto;
1143 inset: 0;
1144 padding: 12px;
1145 border: 1px solid var(--border-strong);
1146 border-radius: var(--radius);
1147 background: var(--surface);
1148 color: var(--ink);
1149 box-shadow: var(--shadow-2);
1150 overflow: auto;
1151}
1152.admin-dialog::backdrop {
1153 background: rgba(0, 0, 0, 0.45);
1154}
1155.admin-dialog .admin-action {
1156 width: 100%;
1157 height: 30px;
1158}
1159
1160.admin-dialog-wide {
1161 width: min(420px, 100vw - 32px);
1162}
1163
1164.admin-dialog:popover-open {
1165 display: flex;
1166 flex-direction: column;
1167 gap: 8px;
1168}
1169
1170.admin-dialog-title {
1171 font-weight: 600;
1172 color: var(--ink);
1173}
1174
1175.admin-action:has(+ .admin-dialog:popover-open) {
1176 background: var(--panel-sunken);
1177}
1178
1179.admin-sessions {
1180 display: inline-block;
1181 vertical-align: top;
1182}
1183.admin-sessions + .admin-sessions {
1184 margin-left: 16px;
1185}
1186.admin-sessions summary {
1187 cursor: pointer;
1188 font-size: 12px;
1189 display: inline-block;
1190}
1191.admin-sessions[open] summary {
1192 margin-bottom: 8px;
1193}
1194.admin-sessions .admin-table td:first-child {
1195 overflow-wrap: anywhere;
1196 max-width: 280px;
1197}
1198.admin-sessions .admin-fold-form {
1199 width: 260px;
1200 padding: 12px;
1201 background: var(--surface);
1202 border: 1px solid var(--border-strong);
1203 border-radius: var(--radius);
1204 margin: 8px 24px 8px 0;
1205 display: flex;
1206 flex-direction: column;
1207 gap: 8px;
1208 font-size: 12px;
1209}
1210
1211input[type=checkbox] {
1212 accent-color: var(--accent);
1213}
1214
1215@media (max-width: 720px) {
1216 .admin-shell {
1217 padding: 16px 12px 32px;
1218 }
1219}
1220.dd-native {
1221 display: none;
1222}
1223
1224.admin-invite .dd-trigger {
1225 flex: 0 0 auto;
1226 width: auto;
1227}
1228
1229.dd-trigger {
1230 display: flex;
1231 align-items: center;
1232 font: inherit;
1233 text-align: left;
1234 cursor: pointer;
1235}
1236.dd-trigger::after {
1237 content: "▾";
1238 margin-left: auto;
1239 padding-left: 8px;
1240 color: var(--muted);
1241 font-size: 11px;
1242}
1243
1244.dd-panel {
1245 position: fixed;
1246 z-index: 60;
1247 max-height: 260px;
1248 overflow-y: auto;
1249 background: var(--surface);
1250 border: 1px solid var(--border-strong);
1251 border-radius: var(--radius);
1252 box-shadow: var(--shadow-2);
1253 padding: 8px;
1254 display: none;
1255}
1256.dd-panel.dd-open {
1257 display: block;
1258}
1259
1260.dd-option {
1261 display: block;
1262 width: 100%;
1263 padding: 6px 10px;
1264 border: none;
1265 border-radius: var(--radius-sm);
1266 background: none;
1267 font: inherit;
1268 font-size: 13px;
1269 text-align: left;
1270 color: var(--ink);
1271 white-space: nowrap;
1272 cursor: pointer;
1273 transition: background-color var(--dur-fast) var(--ease);
1274}
1275.dd-option:hover, .dd-option:focus, .dd-option.dd-option-active {
1276 background: var(--row-hover);
1277 outline: none;
1278}
1279
1280.dd-option-selected {
1281 background: var(--accent-tint);
1282 color: var(--accent-ink);
1283}
1284
1285.dd-option-hidden {
1286 display: none;
1287}
1288
1289.dd-search {
1290 display: block;
1291 width: 100%;
1292 margin-bottom: 6px;
1293 padding: 8px 10px;
1294 border: none;
1295 border-bottom: 1px solid var(--border);
1296 background: none;
1297 font: inherit;
1298 font-size: 13px;
1299 color: var(--ink);
1300}
1301
1302.logs-filters .logs-q {
1303 flex: 2 1 200px;
1304}