File size: 4,628 Bytes
a96bcc0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
:root {
      --bg: #0b0f14;
      --panel: #121822;
      --panel-2: #161d29;
      --text: #e6edf3;
      --muted: #9fb0c0;
      --brand: #5fb3ff;
      --danger: #ff6b6b;
      --ok: #4ade80;
      --warn: #facc15;
      --border: #243041;
    }
html, body { height: 100%; }
body { margin: 0; font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji"; background: var(--bg); color: var(--text); }
.container { max-width: 1100px; margin: 0 auto; padding: 24px; }
.row { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: 1.1fr 1fr; }
.card { background: linear-gradient(180deg, var(--panel), var(--panel-2)); border: 1px solid var(--border); border-radius: 16px; padding: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.card h2, .card h3 { margin: 0 0 10px; font-weight: 650; letter-spacing: .2px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 999px; font-size: 12px; border: 1px solid var(--border); background: #0f1520; }
.badge-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--muted); display: inline-block; }
.badge.connected .badge-dot { background: var(--ok); }
.badge.connecting .badge-dot { background: var(--warn); animation: pulse 1.2s infinite; }
.badge.disconnected .badge-dot { background: var(--danger); }
@keyframes pulse { 0%{transform:scale(.8); opacity:.6} 50%{transform:scale(1); opacity:1} 100%{transform:scale(.8); opacity:.6} }

.progress { height: 10px; background: #0e141d; border:1px solid var(--border); border-radius: 999px; overflow: hidden; }
.progress > span { display:block; height:100%; width:0%; background: linear-gradient(90deg, var(--brand), #8ad0ff); transition: width .3s ease; }

.toolbar { display:flex; gap:8px; flex-wrap: wrap; align-items:center; }
.btn { appearance: none; border: 1px solid var(--border); background: #0e1520; color: var(--text); border-radius: 12px; padding: 10px 12px; cursor: pointer; font-weight: 600; }
.btn:hover { background: #0c121b; }
.btn-danger { border-color: #3b1d23; background: #1b0f12; color: #ffd1d1; }
.btn-danger:hover { background: #241216; }
.btn-ghost { background: transparent; }

.kvs { display:grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap:12px; }
.kv { background:#0d1420; border:1px solid var(--border); border-radius:12px; padding:12px; }
.kv .label { color: var(--muted); font-size:12px; }
.kv .value { font-size:20px; font-weight:700; margin-top:6px; }

.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; }
pre.log { background:#0a0f17; border:1px solid var(--border); border-radius:12px; padding:12px; max-height: 320px; overflow:auto; margin:0; }
.logline { white-space: pre-wrap; word-break: break-word; }

table { width:100%; border-collapse: collapse; }
th, td { text-align:left; padding:10px; border-bottom:1px solid var(--border); }
thead th { position: sticky; top:0; background: #0e151f; z-index: 1; }
tbody tr:hover { background: rgba(95,179,255,.06); }

.muted { color: var(--muted); }
.small { font-size: 12px; }
.spacer { height: 14px; }

.hidden { display:none !important; }

header{align-items:center; grid-template-columns: 1fr auto;}
header h1{margin:0 0 6px;}
.summary { margin:0 0 10px 18px; }
.download { grid-template-columns: 1fr 1fr; }
#dl-csv { text-align: center;
      grid-column: 1; }
#dl-json { text-align: center;
      grid-column: 2; }
.share { grid-template-columns: 4fr 1fr; }
#share-link { 
      width:100%; 
      border-radius:10px; 
      border:1px solid var(--border); 
      background:#0a111a; 
      color:var(--text); 
      grid-column: 1;
}
#copy-share {
      grid-column: 2
}
#results-table th, #results-table td{
    word-break: break-word;
    overflow-wrap: anywhere;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: top;
    padding: 8px 10px;
  }
#results-table { font-size: 12px; line-height: 1.25; }
#results-table thead th { font-weight: 600; }
/* optional: nicer numeric alignment */
#results-table { font-variant-numeric: tabular-nums; }
.visualisation { grid-template-columns: 1fr 1fr; }
#map-mount { 
      height:320px; 
      border:1px 
      dashed var(--border); 
      border-radius:12px; 
      display:grid; 
      place-items:center; 
      color:var(--muted); 
}
#chart-mount { 
      height:320px; 
      border:1px dashed var(--border); 
      border-radius:12px; 
      display:grid; 
      place-items:center; 
      color:var(--muted);
}
footer { text-align:center; }