Spaces:
Paused

File size: 10,780 Bytes
5eb4857
 
fdde098
a78efba
 
9483939
fdde098
a78efba
9483939
 
 
 
 
a78efba
 
9483939
5eb4857
 
 
 
 
 
 
9483939
 
a78efba
 
9483939
 
 
 
 
a78efba
 
9483939
5eb4857
 
 
 
 
 
fdde098
5eb4857
 
9483939
 
 
5eb4857
 
 
 
1bd441c
9483939
1bd441c
9483939
5eb4857
 
9483939
 
4e35ae1
9483939
 
 
4e35ae1
5eb4857
 
 
9483939
4e35ae1
9483939
 
5eb4857
9483939
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5eb4857
 
 
9483939
fdde098
 
 
5eb4857
fdde098
5eb4857
 
 
 
9483939
fdde098
e9dcc0c
9483939
5eb4857
 
 
 
 
 
fdde098
9483939
5eb4857
9483939
5eb4857
 
 
9483939
 
 
534ec62
 
9483939
534ec62
9483939
fdde098
534ec62
1bd441c
9483939
 
534ec62
 
 
9483939
 
fdde098
9483939
 
534ec62
 
9483939
534ec62
fdde098
534ec62
 
9483939
 
 
534ec62
 
9483939
 
 
 
 
 
 
 
 
534ec62
 
 
9483939
 
534ec62
 
 
9483939
 
 
 
 
 
534ec62
 
9483939
 
 
 
534ec62
 
 
9483939
 
 
534ec62
4e329ec
 
 
 
933ab8f
4e329ec
e0932b9
4e329ec
 
 
 
ab51920
4e329ec
 
ab51920
 
4e329ec
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
e0932b9
4e329ec
 
 
 
 
 
 
 
 
 
 
 
30e9e58
4e329ec
 
 
30e9e58
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4e329ec
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8ad9c72
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b92948b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
882eb03
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4f2d916
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
.nexus-shell {
  display: flex;
  background: var(--bg-dark);
  height: 100vh;
  width: 100vw;
  font-family: var(--font-sans);
  color: var(--text-main);
  overflow: hidden;
}

@media (max-width: 1024px) {
  .nexus-shell {
    flex-direction: column;
    overflow-y: auto;
    height: auto;
  }
}

.nexus-main-frame {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100vh;
  position: relative;
  overflow: hidden;
  background: var(--bg-dark);
}

@media (max-width: 1024px) {
  .nexus-main-frame {
    height: auto;
    width: 100%;
    min-height: calc(100vh - 80px); /* Account for mobile nav */
  }
}

.nexus-viewport {
  flex: 1;
  overflow-y: auto;
  padding: 0;
  background: var(--bg-dark);
}

/* Splash Screens */
.nexus-loading-screen,
.nexus-unauthorized-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(circle at 50% 50%, var(--primary-glow) 0%, transparent 60%);
  padding: 24px;
}

.nexus-loading-box,
.nexus-unauthorized-box {
  background: var(--bg-card);
  backdrop-filter: blur(32px) saturate(160%);
  padding: 64px 48px;
  border-radius: 36px;
  border: 1.5px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  box-shadow: var(--shadow-xl);
  max-width: 520px;
  width: 100%;
  text-align: center;
  animation: splashIn 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.nexus-loading-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary);
  opacity: 0.15;
}

@keyframes splashIn {
  from { opacity: 0; transform: scale(0.96) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.nexus-loading-msg {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin: 0;
}

.nexus-loading-bar {
  width: 240px;
  height: 4px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 10px;
  overflow: hidden;
}

.nexus-loading-progress {
  width: 40%;
  height: 100%;
  background: var(--primary);
  border-radius: 10px;
  animation: nexus-loading-slide 2s infinite ease-in-out;
  box-shadow: 0 0 15px var(--primary-glow);
}

@keyframes nexus-loading-slide {
  0% { transform: translateX(-100%); width: 20%; }
  50% { width: 60%; }
  100% { transform: translateX(200%); width: 20%; }
}

/* Security Overlay Text */
.nexus-unauthorized-box h1 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
  letter-spacing: -0.03em;
}

.nexus-unauthorized-box p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  margin: 0;
  font-weight: 500;
}

/* Buttons */
.nexus-btn-primary {
  background: var(--primary);
  color: white;
  border: none;
  padding: 18px 42px;
  border-radius: 16px;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 25px var(--primary-shadow);
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.nexus-btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px var(--primary-shadow);
}

.nexus-btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  border: 1.5px solid var(--border-subtle);
  padding: 18px 42px;
  border-radius: 16px;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nexus-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-hi);
  transform: translateY(-2px);
}

/* --- ORGANIC AESTHETIC OVERHAUL --- */

:root {
  --organic-radius: 12px;
  --organic-shadow: 0 20px 50px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.02);
  --organic-primary: var(--banner-gradient, var(--primary));
  --organic-glass: rgba(255, 255, 255, 0.7);
}

.organic-surface {
  background: var(--bg-card);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xl);
  border-radius: var(--organic-radius);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.organic-lume {
  position: relative;
  overflow: hidden;
}

.organic-lume::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  right: -50%;
  bottom: -50%;
  background: radial-gradient(circle at center, var(--primary-glow) 0%, transparent 70%);
  opacity: 0.4;
  pointer-events: none;
  animation: aura-pulse 8s infinite alternate ease-in-out;
}

@keyframes aura-pulse {
  0% { transform: scale(1) translate(-5%, -5%); opacity: 0.2; }
  100% { transform: scale(1.1) translate(5%, 5%); opacity: 0.5; }
}

.speech-contour-user {
  border-radius: 32px 32px 4px 32px;
  background: var(--organic-primary) !important;
  color: #fff !important;
  box-shadow: 0 10px 30px var(--primary-glow);
}

.speech-contour-agent {
  border-radius: 32px 32px 32px 4px;
  background: #fff !important;
  color: var(--text-main) !important;
  border: 1px solid var(--border-subtle) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.mesh-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-color: #fbfcfe;
  background-image: 
    radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.08) 0px, transparent 50%), 
    radial-gradient(at 50% 0%, rgba(124, 58, 237, 0.08) 0px, transparent 50%), 
    radial-gradient(at 100% 0%, rgba(168, 85, 247, 0.08) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(99, 102, 241, 0.08) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(124, 58, 237, 0.08) 0px, transparent 50%);
  opacity: 1;
}

.tactical-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(124, 58, 237, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 58, 237, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at center, black, transparent 85%);
  pointer-events: none;
  z-index: 1;
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.shimmer {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
/* --- SYSTEMIC DROPDOWN OVERHAUL --- */
.nexus-select {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--border-subtle);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  background: var(--bg-dark);
  cursor: pointer;
  outline: none;
  appearance: none; /* Cross-browser reset */
  -webkit-appearance: none;
  -moz-appearance: none;
  font-family: var(--font-sans);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.nexus-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
  background: var(--bg-card);
}

.nexus-select option {
  background: var(--bg-card);
  color: var(--text-main);
  padding: 12px;
  font-weight: 500;
}

/* Custom indicator container */
.select-wrapper {
  position: relative;
  width: 100%;
}

.select-chevron {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--text-muted);
  opacity: 0.6;
  transition: opacity 0.3s;
}

.select-wrapper:hover .select-chevron {
  opacity: 1;
}

/* Scrollbar hardening for dropdowns */
.nexus-select::-webkit-scrollbar {
  width: 6px;
}
.nexus-select::-webkit-scrollbar-thumb {
  background: var(--border-subtle);
  border-radius: 10px;
}
/* --- RESPONSIVE GRID UTILITIES --- */
.nexus-metrics-grid,
.nexus-quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

@media (max-width: 1280px) {
  .nexus-metrics-grid,
  .nexus-quick-actions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nexus-metrics-grid,
  .nexus-quick-actions-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .nexus-viewport {
    padding: 0;
  }
  
  .nexus-dashboard-padding {
    padding: 24px !important;
  }
}

/* --- RESPONSIVE GRID UTILITIES --- */
.nexus-metrics-grid,
.nexus-quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

@media (max-width: 1280px) {
  .nexus-metrics-grid,
  .nexus-quick-actions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nexus-metrics-grid,
  .nexus-quick-actions-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .nexus-viewport {
    padding: 0;
  }
  
  .nexus-dashboard-padding {
    padding: 24px !important;
  }
}

.nexus-secondary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

@media (max-width: 1024px) {
  .nexus-secondary-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .nexus-dashboard-hero {
    padding: 32px !important;
    gap: 32px !important;
  }
  
  .nexus-dashboard-hero h1 {
    font-size: 28px !important;
  }
}

.nexus-article-item {
  padding: 20px;
  margin: 0 -20px;
  border-radius: 16px;
  border-bottom: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nexus-article-item:last-child {
  border-bottom: none;
}

.nexus-article-item:hover {
  background: var(--bg-hover);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
  border-bottom-color: transparent;
  z-index: 2;
  position: relative;
}

.nexus-ticket-item {
  padding: 20px;
  margin: 0 -20px;
  border-radius: 16px;
  border-bottom: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 16px;
}

.nexus-ticket-item:last-child {
  border-bottom: none;
}

.nexus-ticket-item:hover {
  background: var(--bg-hover);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
  border-bottom-color: transparent;
  z-index: 2;
  position: relative;
}