File size: 3,988 Bytes
ebab9b7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
@import "tailwindcss";

/* ── Custom Design System ─────────────────────────────────────────────── */

@theme {
  --color-surface: #1A1A19;
  --color-surface-alt: #1F1F1E;
  --color-border: #2B2B2A;
  --color-border-light: #3D3D3C;
  --color-text-primary: #E8E7E3;
  --color-text-secondary: #A3A3A0;
  --color-text-muted: #7A7A76;
  
  /* Archival Memory Tones */
  --color-episodic: #6B7F82;
  --color-semantic: #8A7B88;
  --color-procedural: #8C7D62;
  --color-accent: #5C7C8A;
}

/* ── Root ─────────────────────────────────────────────────────────────── */

:root {
  /* Default font is now Newsreader for editorial feel */
  font-family: 'Newsreader', 'Times New Roman', serif;
  line-height: 1.6;
  font-weight: 400;
  color: var(--color-text-primary);
  background-color: #111110;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  background: #111110;
  font-size: 18px; /* Slightly larger base size for editorial reading */
}

#root {
  min-height: 100vh;
  display: flex;
}

/* ── Typography Roles ─────────────────────────────────────────────────── */

.font-mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85em; /* Scale down mono slightly */
  letter-spacing: -0.01em;
}

.font-serif {
  font-family: 'Newsreader', 'Times New Roman', serif;
}

/* ── Scrollbar ────────────────────────────────────────────────────────── */

::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--color-border);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-text-muted);
}

/* ── Animations ──────────────────────────────────────────────────────── */

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

/* ── Archival UI Elements (No more glass cards) ─────────────────────── */

input, button {
  font-family: 'JetBrains Mono', monospace;
}

input:focus {
  outline: none;
}

/* Chat container resets */
.chat-stream {
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
}

.chat-role-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.chat-content {
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-text-primary);
}

.chat-content-user {
  color: var(--color-text-secondary);
}

/* ── Score Bar ────────────────────────────────────────────────────────── */

.score-bar-fill {
  transition: width 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ── D3 Graph Tooltip ────────────────────────────────────────────────── */

.graph-tooltip {
  position: absolute;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 12px;
  pointer-events: none;
  z-index: 50;
  max-width: 280px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  font-family: 'JetBrains Mono', monospace;
}