File size: 4,614 Bytes
2d17e38
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
/* Tax Torpedo Analyzer - Clean single-page CSS */

/* Global container */
.gradio-container {
    max-width: 1200px !important;
    margin: auto;
}

/* ===== Chat messages - larger, more readable text ===== */
.message-wrap .message {
    font-size: 18px !important;
    line-height: 1.7 !important;
    padding: 16px !important;
}

.message-wrap .message p {
    margin-bottom: 12px;
}

.message-wrap .message h1,
.message-wrap .message h2,
.message-wrap .message h3 {
    margin-top: 16px;
    margin-bottom: 8px;
}

.message-wrap .message ul,
.message-wrap .message ol {
    margin-bottom: 12px;
    padding-left: 24px;
}

.message-wrap .message li {
    margin-bottom: 6px;
}

/* Chat images - full width */
.message-row img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 8px !important;
    margin: 8px 0 !important;
}

/* ===== Buttons ===== */
button {
    font-size: 16px !important;
    min-height: 48px !important;
    padding: 10px 20px !important;
}

button.primary {
    font-size: 20px !important;
    min-height: 56px !important;
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%) !important;
}

button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 35, 126, 0.3);
}

.quick-btn {
    font-size: 15px !important;
    border-radius: 24px !important;
    padding: 8px 20px !important;
    min-height: 40px !important;
}

/* ===== Form labels and inputs ===== */
label {
    font-size: 17px !important;
    font-weight: 600 !important;
}

input, textarea, select {
    font-size: 17px !important;
}

/* ===== Headings ===== */
h1 {
    font-size: 30px !important;
    color: #1a237e !important;
}

h2 {
    font-size: 24px !important;
    color: #1a237e !important;
}

h3 {
    font-size: 20px !important;
    color: #283593 !important;
}

/* ===== Input Section ===== */
.input-section {
    background: linear-gradient(135deg, #e8eaf6 0%, #f5f5f5 100%);
    border-radius: 16px;
    padding: 24px 16px;
    border: 1px solid #c5cae9;
    margin-bottom: 16px;
}

/* ===== Key Numbers Band ===== */
.key-numbers-band {
    background: #f0f4ff;
    border: 1px solid #c5cae9;
    border-radius: 12px;
    padding: 12px 20px;
    margin: 16px 0;
    font-size: 16px;
    line-height: 1.6;
}

.key-numbers-band b {
    color: #1a237e;
}

.zone-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 15px;
    margin-right: 8px;
}

.zone-green {
    background: #c8e6c9;
    color: #2e7d32;
}

.zone-red {
    background: #ffcdd2;
    color: #c62828;
}

.zone-blue {
    background: #bbdefb;
    color: #1565c0;
}

/* ===== LLM Summary ===== */
.llm-summary {
    background: #f0f7ff;
    border-left: 4px solid #2196F3;
    padding: 20px 24px;
    margin: 16px 0;
    border-radius: 0 8px 8px 0;
    font-size: 17px;
    line-height: 1.7;
}

.llm-summary p {
    margin-bottom: 10px;
}

/* ===== Plot Image ===== */
.plot-container img {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 8px;
    margin: 8px 0;
}

/* ===== Disclaimer ===== */
.disclaimer {
    text-align: center;
    font-size: 13px;
    color: #999;
    padding: 20px;
    margin-top: 20px;
    border-top: 1px solid #eee;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: #bbb;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* ===== Equations Breakdown ===== */
.equations-breakdown {
    background: #fafafa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px 20px;
    margin: 16px 0;
    font-size: 15px;
    line-height: 1.6;
    overflow-x: auto;
}

.equations-breakdown table {
    width: 100%;
    border-collapse: collapse;
}

.equations-breakdown th,
.equations-breakdown td {
    padding: 8px 12px;
    border-bottom: 1px solid #e0e0e0;
    text-align: left;
}

.equations-breakdown th {
    background: #f0f4ff;
    font-weight: 700;
    color: #1a237e;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .gradio-container {
        max-width: 100% !important;
    }

    button {
        font-size: 14px !important;
        min-height: 44px !important;
    }

    button.primary {
        font-size: 18px !important;
    }

    .key-numbers-band {
        font-size: 14px;
    }

    .input-section {
        padding: 16px 12px;
    }

    h1 {
        font-size: 24px !important;
    }
}