grasepard2 commited on
Commit
43ba62d
·
verified ·
1 Parent(s): e3392c2

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +111 -117
style.css CHANGED
@@ -1,33 +1,40 @@
1
  /* =========================================================
2
  CS1 GROUP 14 — JOB RISK ANALYZER
3
- Dark dashboard works against HF's forced light page bg
4
  ========================================================= */
5
 
6
  @import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700;800&family=Geist+Mono:wght@400;500;600&display=swap');
7
 
8
  :root {
9
- --bg: #0a0a0a;
10
- --bg-1: #111111;
11
- --bg-2: #161616;
12
- --bg-3: #1c1c1c;
13
- --surface: #131313;
14
- --surface-elev: #181818;
15
- --border: #2a2a2a;
16
- --border-soft: #1f1f1f;
17
- --border-hi: #383838;
18
-
19
- --ink: #ededed;
20
- --ink-soft: #a1a1a1;
21
- --ink-mute: #666666;
22
-
23
- --accent: #34d399;
24
- --accent-glow: rgba(52, 211, 153, 0.18);
25
- --accent-soft: rgba(52, 211, 153, 0.08);
26
-
27
- --warn: #f59e0b;
28
- --danger: #ef4444;
29
- --info: #60a5fa;
30
- --purple: #a78bfa;
 
 
 
 
 
 
 
31
 
32
  --radius: 8px;
33
  --radius-lg: 12px;
@@ -37,31 +44,25 @@
37
  }
38
 
39
  /* =========================================================
40
- FORCE DARK BACKGROUND ON THE WHOLE PAGE
41
- This is the key fix — HF was leaving the body white
42
  ========================================================= */
43
 
44
  html, body,
45
- gradio-app,
46
- .gradio-app,
47
- .main,
48
- #app,
49
  [data-testid="app"],
50
  .gradio-container,
51
- .contain,
52
- main {
53
  background: var(--bg) !important;
54
  background-color: var(--bg) !important;
55
  color: var(--ink) !important;
56
  }
57
 
58
- /* Glow effects on top + bottom */
59
- gradio-app,
60
- .gradio-app,
61
- [data-testid="app"] {
62
  background-image:
63
- radial-gradient(ellipse 80% 50% at 50% -10%, rgba(52, 211, 153, 0.10), transparent 60%),
64
- radial-gradient(ellipse 60% 40% at 50% 100%, rgba(96, 165, 250, 0.08), transparent 60%) !important;
 
65
  background-attachment: fixed !important;
66
  background-repeat: no-repeat !important;
67
  min-height: 100vh !important;
@@ -83,15 +84,15 @@ body::before {
83
  position: fixed;
84
  inset: 0;
85
  background-image:
86
- linear-gradient(to right, rgba(255,255,255,0.018) 1px, transparent 1px),
87
- linear-gradient(to bottom, rgba(255,255,255,0.018) 1px, transparent 1px);
88
- background-size: 64px 64px;
89
  pointer-events: none;
90
  z-index: 0;
91
  }
92
 
93
  .gradio-container {
94
- max-width: 1200px !important;
95
  width: 92vw !important;
96
  margin: 0 auto !important;
97
  padding-top: 56px !important;
@@ -101,13 +102,13 @@ body::before {
101
  }
102
 
103
  /* =========================================================
104
- HEADER
105
  ========================================================= */
106
 
107
  #escp_title {
108
  text-align: left !important;
109
- margin-bottom: 56px !important;
110
- padding-bottom: 32px !important;
111
  border-bottom: 1px solid var(--border) !important;
112
  position: relative !important;
113
  }
@@ -117,23 +118,25 @@ body::before {
117
  display: block !important;
118
  font-family: var(--font-mono) !important;
119
  font-size: 11px !important;
120
- color: var(--accent) !important;
121
  letter-spacing: 0.05em !important;
122
  margin-bottom: 16px !important;
123
  text-transform: uppercase !important;
124
  }
125
 
126
  #escp_title h1 {
127
- color: var(--ink) !important;
128
  font-family: var(--font-display) !important;
129
  font-size: 2.5rem !important;
130
- font-weight: 600 !important;
131
  letter-spacing: -0.035em !important;
132
  text-align: left !important;
133
  margin: 0 0 12px 0 !important;
134
- background: none !important;
135
- -webkit-text-fill-color: var(--ink) !important;
136
  line-height: 1.1 !important;
 
 
 
 
 
137
  }
138
 
139
  #escp_title p, #escp_title em {
@@ -145,7 +148,7 @@ body::before {
145
  margin: 0 !important;
146
  }
147
 
148
- /* Pulsing status dot (top-right of header) */
149
  #escp_title::after {
150
  content: '' !important;
151
  position: absolute !important;
@@ -154,8 +157,8 @@ body::before {
154
  width: 8px !important;
155
  height: 8px !important;
156
  border-radius: 50% !important;
157
- background: var(--accent) !important;
158
- box-shadow: 0 0 0 4px var(--accent-glow), 0 0 12px var(--accent) !important;
159
  animation: pulse-dot 2s ease-in-out infinite !important;
160
  }
161
 
@@ -165,7 +168,7 @@ body::before {
165
  }
166
 
167
  /* =========================================================
168
- TABS — segmented control
169
  ========================================================= */
170
 
171
  .tabs > .tab-nav,
@@ -176,18 +179,23 @@ div[role="tablist"],
176
  border: 1px solid var(--border) !important;
177
  border-radius: 10px !important;
178
  padding: 4px !important;
179
- margin-bottom: 32px !important;
180
- display: inline-flex !important;
 
181
  gap: 2px !important;
182
- width: auto !important;
183
- max-width: fit-content !important;
184
  }
185
 
 
186
  .tabs > .tab-nav button,
187
  .tab-nav button,
188
  div[role="tablist"] button,
189
  button[role="tab"],
190
  .svelte-tabs button {
 
 
 
191
  color: var(--ink-soft) !important;
192
  font-family: var(--font-display) !important;
193
  font-weight: 500 !important;
@@ -198,8 +206,8 @@ button[role="tab"],
198
  border-radius: 6px !important;
199
  border-bottom: none !important;
200
  transition: color 0.15s, background 0.15s !important;
201
- opacity: 1 !important;
202
  letter-spacing: -0.005em !important;
 
203
  }
204
 
205
  .tabs > .tab-nav button:hover,
@@ -214,10 +222,10 @@ button[role="tab"]:hover {
214
  button[role="tab"][aria-selected="true"],
215
  button[role="tab"].selected,
216
  .svelte-tabs button.selected {
217
- color: var(--accent) !important;
218
- background: var(--surface-elev) !important;
219
- box-shadow: 0 0 0 1px var(--border-hi), 0 0 12px var(--accent-glow) !important;
220
- font-weight: 500 !important;
221
  border-bottom: none !important;
222
  }
223
 
@@ -250,17 +258,17 @@ button[role="tab"].selected,
250
  background: var(--surface) !important;
251
  border: 1px solid var(--border) !important;
252
  border-radius: var(--radius-lg) !important;
253
- box-shadow: 0 1px 0 rgba(255,255,255,0.02) inset !important;
254
  }
255
 
256
  /* =========================================================
257
- LABELS
258
  ========================================================= */
259
 
260
  .gradio-container label,
261
  .gradio-container .gr-label,
262
  .gradio-container span[data-testid="block-info"] {
263
- color: var(--ink-soft) !important;
264
  font-family: var(--font-mono) !important;
265
  font-weight: 500 !important;
266
  font-size: 0.7rem !important;
@@ -269,7 +277,7 @@ button[role="tab"].selected,
269
  }
270
 
271
  /* =========================================================
272
- INPUTS — make text VISIBLE
273
  ========================================================= */
274
 
275
  .gradio-container input,
@@ -282,7 +290,7 @@ button[role="tab"].selected,
282
  font-family: var(--font-display) !important;
283
  font-size: 0.9rem !important;
284
  padding: 10px 14px !important;
285
- caret-color: var(--accent) !important;
286
  }
287
 
288
  .gradio-container input:hover,
@@ -294,9 +302,9 @@ button[role="tab"].selected,
294
  .gradio-container input:focus,
295
  .gradio-container textarea:focus,
296
  .gradio-container select:focus {
297
- border-color: var(--accent) !important;
298
  background: var(--bg-1) !important;
299
- box-shadow: 0 0 0 3px var(--accent-glow) !important;
300
  outline: none !important;
301
  }
302
 
@@ -306,19 +314,18 @@ button[role="tab"].selected,
306
  }
307
 
308
  textarea {
309
- font-family: var(--font-display) !important;
310
  font-size: 0.9rem !important;
311
  line-height: 1.6 !important;
312
  }
313
 
314
  /* =========================================================
315
- BUTTONS
316
  ========================================================= */
317
 
318
  .gradio-container button:not([role="tab"]) {
319
  font-family: var(--font-display) !important;
320
  font-weight: 500 !important;
321
- padding: 10px 18px !important;
322
  border-radius: var(--radius) !important;
323
  font-size: 0.9rem !important;
324
  letter-spacing: -0.005em !important;
@@ -326,18 +333,17 @@ textarea {
326
  }
327
 
328
  button.primary {
329
- background: var(--accent) !important;
330
- color: #062b1f !important;
331
- border: 1px solid var(--accent) !important;
332
- box-shadow: 0 0 0 1px var(--accent), 0 0 16px var(--accent-glow) !important;
333
  font-weight: 600 !important;
334
  }
335
 
336
  button.primary:hover {
337
- background: #5fe5b0 !important;
338
- border-color: #5fe5b0 !important;
339
  transform: translateY(-1px) !important;
340
- box-shadow: 0 0 0 1px #5fe5b0, 0 0 24px var(--accent-glow) !important;
341
  }
342
 
343
  button.secondary {
@@ -348,37 +354,35 @@ button.secondary {
348
 
349
  button.secondary:hover {
350
  background: var(--bg-3) !important;
351
- border-color: var(--border-hi) !important;
 
352
  }
353
 
354
  /* =========================================================
355
  MARKDOWN
356
  ========================================================= */
357
 
358
- .tabitem h1, .tabitem h2 {
 
359
  color: var(--ink) !important;
360
  font-weight: 600 !important;
361
  letter-spacing: -0.025em !important;
362
  }
363
 
364
- .tabitem h2 {
365
- font-size: 1.5rem !important;
366
- margin-top: 0 !important;
367
- }
368
 
369
- .tabitem h3 {
370
  color: var(--ink) !important;
371
  font-weight: 500 !important;
372
  font-size: 0.95rem !important;
373
- letter-spacing: -0.005em !important;
374
  margin-top: 28px !important;
375
  margin-bottom: 12px !important;
376
  padding-bottom: 8px !important;
377
  border-bottom: 1px solid var(--border) !important;
378
  }
379
 
380
- .tabitem h4 {
381
- color: var(--accent) !important;
382
  font-family: var(--font-mono) !important;
383
  font-weight: 500 !important;
384
  font-size: 0.7rem !important;
@@ -402,7 +406,7 @@ button.secondary:hover {
402
 
403
  .tabitem code, .gradio-container code {
404
  background: var(--bg-2) !important;
405
- color: var(--accent) !important;
406
  padding: 2px 6px !important;
407
  border-radius: 4px !important;
408
  font-size: 0.85em !important;
@@ -430,7 +434,7 @@ table {
430
 
431
  table thead th {
432
  background: var(--bg-1) !important;
433
- color: var(--accent) !important;
434
  font-family: var(--font-mono) !important;
435
  font-weight: 500 !important;
436
  text-transform: uppercase !important;
@@ -444,7 +448,7 @@ table tbody td {
444
  border-bottom: 1px solid var(--border-soft) !important;
445
  color: var(--ink-soft) !important;
446
  padding: 11px 14px !important;
447
- background: var(--surface) !important;
448
  }
449
 
450
  table tbody tr:hover td {
@@ -474,18 +478,16 @@ table tbody tr:hover td {
474
 
475
  .gr-chatbot .message.user,
476
  .chatbot .message.user {
477
- background: var(--bg-2) !important;
478
- color: var(--ink) !important;
479
  border-radius: 12px 12px 4px 12px !important;
480
- border-color: var(--border) !important;
481
  }
482
 
483
  .gr-chatbot .message.bot,
484
  .chatbot .message.bot {
485
  background: var(--surface-elev) !important;
486
- color: var(--ink) !important;
487
  border-radius: 12px 12px 12px 4px !important;
488
- border-left: 2px solid var(--accent) !important;
489
  }
490
 
491
  /* =========================================================
@@ -506,9 +508,9 @@ table tbody tr:hover td {
506
  }
507
 
508
  .examples-row button:hover {
509
- background: var(--accent-soft) !important;
510
- color: var(--accent) !important;
511
- border-color: var(--accent) !important;
512
  }
513
 
514
  /* =========================================================
@@ -529,7 +531,7 @@ table tbody tr:hover td {
529
  }
530
 
531
  /* =========================================================
532
- NUMBER INPUT (the big score)
533
  ========================================================= */
534
 
535
  [data-testid="number-input"] input,
@@ -537,14 +539,14 @@ table tbody tr:hover td {
537
  font-family: var(--font-mono) !important;
538
  font-size: 1.75rem !important;
539
  font-weight: 600 !important;
540
- color: var(--accent) !important;
541
  background: var(--bg-1) !important;
542
  letter-spacing: -0.02em !important;
543
  text-align: center !important;
544
  }
545
 
546
  /* =========================================================
547
- FOOTER / GRADIO CHROME
548
  ========================================================= */
549
 
550
  footer, footer *,
@@ -556,16 +558,11 @@ header, header * {
556
  font-size: 0.75rem !important;
557
  }
558
 
559
- footer a {
560
- color: var(--ink-mute) !important;
561
- }
562
-
563
- footer a:hover {
564
- color: var(--accent) !important;
565
- }
566
 
567
  /* =========================================================
568
- CATCH-ALL: force readable text everywhere
569
  ========================================================= */
570
 
571
  .gradio-container,
@@ -579,9 +576,7 @@ footer a:hover {
579
  color: var(--ink) !important;
580
  }
581
 
582
- .gradio-container .prose * {
583
- color: inherit !important;
584
- }
585
 
586
  /* =========================================================
587
  SCROLLBARS
@@ -591,13 +586,12 @@ footer a:hover {
591
  scrollbar-width: thin;
592
  scrollbar-color: var(--border-hi) transparent;
593
  }
594
-
595
  *::-webkit-scrollbar { width: 8px; height: 8px; }
596
  *::-webkit-scrollbar-track { background: transparent; }
597
  *::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
598
- *::-webkit-scrollbar-thumb:hover { background: var(--border-hi); }
599
 
600
  ::selection {
601
- background: var(--accent-glow);
602
  color: var(--ink);
603
  }
 
1
  /* =========================================================
2
  CS1 GROUP 14 — JOB RISK ANALYZER
3
+ Dark + colorful (cyan/violet/emerald/amber accents)
4
  ========================================================= */
5
 
6
  @import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700;800&family=Geist+Mono:wght@400;500;600&display=swap');
7
 
8
  :root {
9
+ /* Base — deep navy instead of pure black */
10
+ --bg: #0c1220;
11
+ --bg-1: #131a2c;
12
+ --bg-2: #1a2238;
13
+ --bg-3: #232b44;
14
+ --surface: #161d31;
15
+ --surface-elev: #1d253c;
16
+ --border: #2a3553;
17
+ --border-soft: #1f2841;
18
+ --border-hi: #3a4670;
19
+
20
+ /* Text */
21
+ --ink: #f1f5fc;
22
+ --ink-soft: #b4bdd4;
23
+ --ink-mute: #6f7a98;
24
+
25
+ /* Accent palette — multiple colors that play together */
26
+ --cyan: #22d3ee;
27
+ --cyan-glow: rgba(34, 211, 238, 0.18);
28
+ --violet: #a78bfa;
29
+ --violet-glow:rgba(167, 139, 250, 0.18);
30
+ --emerald: #34d399;
31
+ --emerald-glow:rgba(52, 211, 153, 0.18);
32
+ --amber: #fbbf24;
33
+ --amber-glow: rgba(251, 191, 36, 0.18);
34
+ --pink: #f472b6;
35
+ --pink-glow: rgba(244, 114, 182, 0.18);
36
+ --red: #f87171;
37
+ --red-glow: rgba(248, 113, 113, 0.18);
38
 
39
  --radius: 8px;
40
  --radius-lg: 12px;
 
44
  }
45
 
46
  /* =========================================================
47
+ PAGE BACKGROUND deep navy with colored glows
 
48
  ========================================================= */
49
 
50
  html, body,
51
+ gradio-app, .gradio-app,
52
+ .main, #app,
 
 
53
  [data-testid="app"],
54
  .gradio-container,
55
+ .contain, main {
 
56
  background: var(--bg) !important;
57
  background-color: var(--bg) !important;
58
  color: var(--ink) !important;
59
  }
60
 
61
+ gradio-app, .gradio-app, [data-testid="app"] {
 
 
 
62
  background-image:
63
+ radial-gradient(ellipse 60% 40% at 15% 0%, rgba(167, 139, 250, 0.18), transparent 60%),
64
+ radial-gradient(ellipse 50% 35% at 85% 10%, rgba(34, 211, 238, 0.14), transparent 60%),
65
+ radial-gradient(ellipse 70% 40% at 50% 100%, rgba(52, 211, 153, 0.10), transparent 60%) !important;
66
  background-attachment: fixed !important;
67
  background-repeat: no-repeat !important;
68
  min-height: 100vh !important;
 
84
  position: fixed;
85
  inset: 0;
86
  background-image:
87
+ linear-gradient(to right, rgba(167, 139, 250, 0.04) 1px, transparent 1px),
88
+ linear-gradient(to bottom, rgba(167, 139, 250, 0.04) 1px, transparent 1px);
89
+ background-size: 56px 56px;
90
  pointer-events: none;
91
  z-index: 0;
92
  }
93
 
94
  .gradio-container {
95
+ max-width: 1240px !important;
96
  width: 92vw !important;
97
  margin: 0 auto !important;
98
  padding-top: 56px !important;
 
102
  }
103
 
104
  /* =========================================================
105
+ HEADER — gradient title
106
  ========================================================= */
107
 
108
  #escp_title {
109
  text-align: left !important;
110
+ margin-bottom: 40px !important;
111
+ padding-bottom: 28px !important;
112
  border-bottom: 1px solid var(--border) !important;
113
  position: relative !important;
114
  }
 
118
  display: block !important;
119
  font-family: var(--font-mono) !important;
120
  font-size: 11px !important;
121
+ color: var(--cyan) !important;
122
  letter-spacing: 0.05em !important;
123
  margin-bottom: 16px !important;
124
  text-transform: uppercase !important;
125
  }
126
 
127
  #escp_title h1 {
 
128
  font-family: var(--font-display) !important;
129
  font-size: 2.5rem !important;
130
+ font-weight: 700 !important;
131
  letter-spacing: -0.035em !important;
132
  text-align: left !important;
133
  margin: 0 0 12px 0 !important;
 
 
134
  line-height: 1.1 !important;
135
+ background: linear-gradient(135deg, #f1f5fc 0%, #a78bfa 50%, #22d3ee 100%) !important;
136
+ -webkit-background-clip: text !important;
137
+ background-clip: text !important;
138
+ -webkit-text-fill-color: transparent !important;
139
+ color: transparent !important;
140
  }
141
 
142
  #escp_title p, #escp_title em {
 
148
  margin: 0 !important;
149
  }
150
 
151
+ /* Pulsing emerald dot top-right */
152
  #escp_title::after {
153
  content: '' !important;
154
  position: absolute !important;
 
157
  width: 8px !important;
158
  height: 8px !important;
159
  border-radius: 50% !important;
160
+ background: var(--emerald) !important;
161
+ box-shadow: 0 0 0 4px var(--emerald-glow), 0 0 12px var(--emerald) !important;
162
  animation: pulse-dot 2s ease-in-out infinite !important;
163
  }
164
 
 
168
  }
169
 
170
  /* =========================================================
171
+ TABS — fix visibility (this is what broke before)
172
  ========================================================= */
173
 
174
  .tabs > .tab-nav,
 
179
  border: 1px solid var(--border) !important;
180
  border-radius: 10px !important;
181
  padding: 4px !important;
182
+ margin-bottom: 24px !important;
183
+ display: flex !important;
184
+ flex-wrap: wrap !important;
185
  gap: 2px !important;
186
+ width: fit-content !important;
187
+ max-width: 100% !important;
188
  }
189
 
190
+ /* CRITICAL: ensure ALL tab buttons are visible (this is what broke) */
191
  .tabs > .tab-nav button,
192
  .tab-nav button,
193
  div[role="tablist"] button,
194
  button[role="tab"],
195
  .svelte-tabs button {
196
+ display: inline-flex !important;
197
+ visibility: visible !important;
198
+ opacity: 1 !important;
199
  color: var(--ink-soft) !important;
200
  font-family: var(--font-display) !important;
201
  font-weight: 500 !important;
 
206
  border-radius: 6px !important;
207
  border-bottom: none !important;
208
  transition: color 0.15s, background 0.15s !important;
 
209
  letter-spacing: -0.005em !important;
210
+ white-space: nowrap !important;
211
  }
212
 
213
  .tabs > .tab-nav button:hover,
 
222
  button[role="tab"][aria-selected="true"],
223
  button[role="tab"].selected,
224
  .svelte-tabs button.selected {
225
+ color: var(--ink) !important;
226
+ background: linear-gradient(135deg, var(--violet-glow), var(--cyan-glow)) !important;
227
+ box-shadow: 0 0 0 1px var(--violet), inset 0 1px 0 rgba(255,255,255,0.1) !important;
228
+ font-weight: 600 !important;
229
  border-bottom: none !important;
230
  }
231
 
 
258
  background: var(--surface) !important;
259
  border: 1px solid var(--border) !important;
260
  border-radius: var(--radius-lg) !important;
261
+ box-shadow: 0 1px 0 rgba(255,255,255,0.03) inset, 0 4px 12px rgba(0,0,0,0.25) !important;
262
  }
263
 
264
  /* =========================================================
265
+ LABELS — colorful uppercase mono
266
  ========================================================= */
267
 
268
  .gradio-container label,
269
  .gradio-container .gr-label,
270
  .gradio-container span[data-testid="block-info"] {
271
+ color: var(--cyan) !important;
272
  font-family: var(--font-mono) !important;
273
  font-weight: 500 !important;
274
  font-size: 0.7rem !important;
 
277
  }
278
 
279
  /* =========================================================
280
+ INPUTS
281
  ========================================================= */
282
 
283
  .gradio-container input,
 
290
  font-family: var(--font-display) !important;
291
  font-size: 0.9rem !important;
292
  padding: 10px 14px !important;
293
+ caret-color: var(--cyan) !important;
294
  }
295
 
296
  .gradio-container input:hover,
 
302
  .gradio-container input:focus,
303
  .gradio-container textarea:focus,
304
  .gradio-container select:focus {
305
+ border-color: var(--violet) !important;
306
  background: var(--bg-1) !important;
307
+ box-shadow: 0 0 0 3px var(--violet-glow) !important;
308
  outline: none !important;
309
  }
310
 
 
314
  }
315
 
316
  textarea {
 
317
  font-size: 0.9rem !important;
318
  line-height: 1.6 !important;
319
  }
320
 
321
  /* =========================================================
322
+ BUTTONS — vibrant gradient primary
323
  ========================================================= */
324
 
325
  .gradio-container button:not([role="tab"]) {
326
  font-family: var(--font-display) !important;
327
  font-weight: 500 !important;
328
+ padding: 11px 20px !important;
329
  border-radius: var(--radius) !important;
330
  font-size: 0.9rem !important;
331
  letter-spacing: -0.005em !important;
 
333
  }
334
 
335
  button.primary {
336
+ background: linear-gradient(135deg, var(--violet) 0%, var(--cyan) 100%) !important;
337
+ color: #0a0e1c !important;
338
+ border: none !important;
339
+ box-shadow: 0 0 16px var(--violet-glow), 0 0 24px var(--cyan-glow) !important;
340
  font-weight: 600 !important;
341
  }
342
 
343
  button.primary:hover {
344
+ background: linear-gradient(135deg, #b89df9 0%, #4ee2f7 100%) !important;
 
345
  transform: translateY(-1px) !important;
346
+ box-shadow: 0 0 24px var(--violet-glow), 0 0 32px var(--cyan-glow) !important;
347
  }
348
 
349
  button.secondary {
 
354
 
355
  button.secondary:hover {
356
  background: var(--bg-3) !important;
357
+ border-color: var(--violet) !important;
358
+ color: var(--violet) !important;
359
  }
360
 
361
  /* =========================================================
362
  MARKDOWN
363
  ========================================================= */
364
 
365
+ .tabitem h1, .tabitem h2,
366
+ .gradio-container h1, .gradio-container h2 {
367
  color: var(--ink) !important;
368
  font-weight: 600 !important;
369
  letter-spacing: -0.025em !important;
370
  }
371
 
372
+ .tabitem h2 { font-size: 1.5rem !important; margin-top: 0 !important; }
 
 
 
373
 
374
+ .tabitem h3, .gradio-container h3 {
375
  color: var(--ink) !important;
376
  font-weight: 500 !important;
377
  font-size: 0.95rem !important;
 
378
  margin-top: 28px !important;
379
  margin-bottom: 12px !important;
380
  padding-bottom: 8px !important;
381
  border-bottom: 1px solid var(--border) !important;
382
  }
383
 
384
+ .tabitem h4, .gradio-container h4 {
385
+ color: var(--cyan) !important;
386
  font-family: var(--font-mono) !important;
387
  font-weight: 500 !important;
388
  font-size: 0.7rem !important;
 
406
 
407
  .tabitem code, .gradio-container code {
408
  background: var(--bg-2) !important;
409
+ color: var(--amber) !important;
410
  padding: 2px 6px !important;
411
  border-radius: 4px !important;
412
  font-size: 0.85em !important;
 
434
 
435
  table thead th {
436
  background: var(--bg-1) !important;
437
+ color: var(--violet) !important;
438
  font-family: var(--font-mono) !important;
439
  font-weight: 500 !important;
440
  text-transform: uppercase !important;
 
448
  border-bottom: 1px solid var(--border-soft) !important;
449
  color: var(--ink-soft) !important;
450
  padding: 11px 14px !important;
451
+ background: transparent !important;
452
  }
453
 
454
  table tbody tr:hover td {
 
478
 
479
  .gr-chatbot .message.user,
480
  .chatbot .message.user {
481
+ background: linear-gradient(135deg, var(--violet-glow), transparent) !important;
 
482
  border-radius: 12px 12px 4px 12px !important;
483
+ border-color: var(--violet) !important;
484
  }
485
 
486
  .gr-chatbot .message.bot,
487
  .chatbot .message.bot {
488
  background: var(--surface-elev) !important;
 
489
  border-radius: 12px 12px 12px 4px !important;
490
+ border-left: 2px solid var(--cyan) !important;
491
  }
492
 
493
  /* =========================================================
 
508
  }
509
 
510
  .examples-row button:hover {
511
+ background: var(--violet-glow) !important;
512
+ color: var(--violet) !important;
513
+ border-color: var(--violet) !important;
514
  }
515
 
516
  /* =========================================================
 
531
  }
532
 
533
  /* =========================================================
534
+ SCORE NUMBER (big metric)
535
  ========================================================= */
536
 
537
  [data-testid="number-input"] input,
 
539
  font-family: var(--font-mono) !important;
540
  font-size: 1.75rem !important;
541
  font-weight: 600 !important;
542
+ color: var(--cyan) !important;
543
  background: var(--bg-1) !important;
544
  letter-spacing: -0.02em !important;
545
  text-align: center !important;
546
  }
547
 
548
  /* =========================================================
549
+ GRADIO CHROME
550
  ========================================================= */
551
 
552
  footer, footer *,
 
558
  font-size: 0.75rem !important;
559
  }
560
 
561
+ footer a { color: var(--ink-mute) !important; }
562
+ footer a:hover { color: var(--cyan) !important; }
 
 
 
 
 
563
 
564
  /* =========================================================
565
+ FORCE READABLE TEXT EVERYWHERE
566
  ========================================================= */
567
 
568
  .gradio-container,
 
576
  color: var(--ink) !important;
577
  }
578
 
579
+ .gradio-container .prose * { color: inherit !important; }
 
 
580
 
581
  /* =========================================================
582
  SCROLLBARS
 
586
  scrollbar-width: thin;
587
  scrollbar-color: var(--border-hi) transparent;
588
  }
 
589
  *::-webkit-scrollbar { width: 8px; height: 8px; }
590
  *::-webkit-scrollbar-track { background: transparent; }
591
  *::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
592
+ *::-webkit-scrollbar-thumb:hover { background: var(--violet); }
593
 
594
  ::selection {
595
+ background: var(--violet-glow);
596
  color: var(--ink);
597
  }