File size: 5,206 Bytes
112cf1c
 
 
 
0d17e14
 
112cf1c
 
4a2228b
112cf1c
 
 
d9264ca
 
112cf1c
 
 
 
 
 
 
d9264ca
 
112cf1c
 
d9264ca
 
112cf1c
 
 
 
 
 
 
 
 
 
8059121
 
4a2228b
 
112cf1c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8dea241
112cf1c
 
8dea241
112cf1c
8dea241
 
112cf1c
 
 
8dea241
112cf1c
8dea241
 
112cf1c
 
 
 
4a2228b
 
112cf1c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4a2228b
112cf1c
 
 
 
 
 
 
 
 
 
 
 
 
8dea241
112cf1c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8dea241
 
 
 
112cf1c
 
 
 
 
 
 
8dea241
112cf1c
 
 
d9264ca
 
112cf1c
d9264ca
 
112cf1c
 
 
 
d9264ca
 
112cf1c
d9264ca
8dea241
112cf1c
 
 
8dea241
d9264ca
 
112cf1c
 
 
 
 
 
 
 
 
 
cfed9ea
d9264ca
112cf1c
d9264ca
112cf1c
 
 
 
 
8dea241
112cf1c
 
 
 
 
 
 
 
 
 
e686649
 
2939b73
ad3e096
 
cfed9ea
 
 
d9264ca
112cf1c
 
 
 
 
 
 
 
e1fff03
03730be
e686649
 
 
 
 
 
 
 
 
 
112cf1c
2939b73
 
 
 
 
 
 
 
 
 
 
 
 
112cf1c
 
4a2228b
 
 
 
 
 
 
 
 
112cf1c
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
body {
    background-color: #0f172a; /* dark navy */
    color: #e2e8f0; /* light text */
    font-family: Arial, sans-serif;
}

textarea, input {
    background-color: #1e293b;
    color: #e2e8f0;
    border: 1px solid #334155;
    padding: 10px;
    width: 100%;
}

button {
    background-color: #2563eb;
    color: white;
    border: none;
    padding: 10px 15px;
    margin-top: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #1d4ed8;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
    margin-top: 30px;
}

/* Agent-box Styling - darktheme*/
.agent {
    background: #222;
    padding: 15px;
    border-radius: 8px;
}

/* Final-box Styling - darktheme*/
.final {
    grid-column: span 3;
    background: #333;
}

#followup_input {
    width: 80%;
    height: 80px;
    padding: 10px;
    font-size: 14px;
    resize: vertical;
    margin-top: 10px;
}

#initial_input {
    width: 100%;
    height: 100px;
    padding: 10px;
    font-size: 14px;
}


/* Chat styling */
.user-msg {
    background-color: #1e40af;
    padding: 10px;
    margin: 10px 0;
    border-radius: 6px;
}

.ai-msg {
    background-color: #334155;
    padding: 10px;
    margin: 10px 0;
    border-radius: 6px;
}

/* Label styles */
.label-client {
    color: #93c5fd;
    font-weight: bold;
}

.label-agent {
    color: #fca5a5;
    font-weight: bold;
}


.choice-container {
    margin-top: 15px;
    margin-bottom: 20px;
}

.choice-btn {
    margin-right: 10px;
    padding: 8px 14px;
    background-color: #2f5eff;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.choice-btn:hover {
    background-color: #1e3fcc;
}


/* Input box */
#main_input {
    font-size: 16px;
    padding: 10px;
    margin-bottom: 10px;
}

/* Buttons */
button {
    padding: 8px 14px;
    margin-right: 10px;
    cursor: pointer;
}

/* Chat messages spacing */
.user-msg, .ai-msg {
    margin-bottom: 15px;
}

/* Agent grid spacing */
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}


/* Layout Splits */
.main-container {
    display: flex;
    gap: 20px;
    height: 80vh; /* Keeps the UI contained in view */
    margin: 20px;
}

.left-panel {
    flex: 0 0 45%;
    display: flex;
    flex-direction: column;
}

.right-panel {
    flex: 0 0 55%;
    border-left: 2px solid #555;
    padding-left: 20px;
}

/* Chat display fixes */
.chat-display {
    height: 400px;
    overflow-y: auto;
    border: 1px solid #ccc;
    padding: 10px;
    background: #0d1117;
}

/* Broad-Board Grid */
.broad-board-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 🔹 Fixed 2-column layout */
    gap: 15px;
    height: 90%;
    overflow-y: auto;
}

/* Individual Agent Boxes */
.agent-box {
    border: 1px solid #7a4f2b;
    border-radius: 10px;
    background: #161b22;
    padding: 10px;
    height: 180px;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    min-width: 0; /* 🔹 CRITICAL: Allows flex items to shrink below content size */
    overflow: hidden; /* 🔹 Keeps everything contained */
}

.agent-box h3 {
    margin: 0 0 10px 0;
    font-size: 1rem;
    color: #4CAF50;
    text-align: center;
}

/* 🔹 THE CRITICAL FIX: Scrollbar per agent */
.agent-content {
    flex-grow: 1;
    overflow-y: auto; /* Internal scrollbar */
    filter: blur(10px); /* Passive state */
    transition: filter 0.3s ease;
    font-size: 0.85rem;
    background: #0d1117;
    padding: 5px;
}

/* Force text wrapping inside the <pre> tag */
.agent-content pre {
    white-space: pre-wrap; /* 🔹 CSS3 - preserves spaces but wraps */
    word-wrap: break-word; /* 🔹 Ensures long words don't break the UI */
    margin: 0;
    font-family: inherit;
    font-size: 0.85rem;
    white-space: pre-wrap; /* */
    word-wrap: break-word; /* */
    line-height: 1.4;
}

.agent-content.revealed {
    filter: blur(0);
}

/* Scrollbar Styling */
.agent-content::-webkit-scrollbar {
    width: 6px;
}

.agent-content::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 3px;
}

/* Styling for the /board headers inside agent boxes */
.insight-header {
    color: #fca5a5; /* Light red for distinction */
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.75rem;
    margin-top: 10px;
    display: block;
    border-bottom: 1px solid #334155;
}

/* Styling for the 4 specific Epistemic headers */
.insight-section-header {
    display: block;
    background: #1e293b; /* Subtle contrast background */
    color: #60a5fa; /* Epistemic Blue */
    font-size: 0.7rem;
    font-weight: bold;
    padding: 2px 5px;
    margin-top: 8px;
    border-radius: 3px;
    text-transform: uppercase;
    border-left: 2px solid #3b82f6;
}


/* Premium Polish */
#chat {
    background-color: #020617;
    border-radius: 8px;
}

textarea:focus {
    outline: none;
    border: 1px solid #3b82f6;
}