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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
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');
@import "tailwindcss";

@theme {
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Space Grotesk", "Inter", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
}

/* --------------------------------------------------------------------------
   SHRINK ALL RECTANGULAR, OVAL & SHAPES ("to'rt burchak, ovol va boshqa shakllar")
   We enforce extremely tight border-radius and dimensions for professional neatness.
-------------------------------------------------------------------------- */
.rounded-3xl {
  border-radius: 10px !important;
}
.rounded-2xl {
  border-radius: 8px !important;
}
.rounded-xl {
  border-radius: 6px !important;
}
.rounded-lg {
  border-radius: 4px !important;
}
.rounded-md {
  border-radius: 4px !important;
}

/* Tighten paddings and sizes slightly so buttons/panels fit extremely elegantly together */
.p-6, .md\:p-6, .p-8, .md\:p-8 {
  padding: 14px !important;
}
.p-5, .md\:p-5, .p-4, .md\:p-4 {
  padding: 10px !important;
}
.p-3 {
  padding: 8px !important;
}
.gap-6, .md\:gap-6 {
  gap: 12px !important;
}
.gap-5, .md\:gap-5 {
  gap: 10px !important;
}
.gap-4, .md\:gap-4 {
  gap: 8px !important;
}

/* Force lock body/html scroll so empty outer zones do not wiggle/scroll on mobiles & computers */
html {
  font-size: 13px !important;
}

@media (min-width: 640px) {
  html {
    font-size: 13.5px !important;
  }
}

@media (min-width: 1024px) {
  html {
    font-size: 14px !important;
  }
}

@media (min-width: 1440px) {
  html {
    font-size: 14.5px !important;
  }
}

html, body, #root {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif !important;
  transition: background 0.25s ease, color 0.25s ease;
}

/* Custom scaling engine for Android devices to gracefully scale down texts, paddings, gaps, profiles, and notifications */
html.is-android {
  font-size: 12.5px !important;
}

/* Ensure font smooth and sharp and perfect rendering inside scaled container */
html.is-android * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   THEMED LIGHT MODE DEFINITION (DEFAULT)
   ========================================================================== */
html:not(.dark-mode),
html:not(.dark-mode) body,
html:not(.dark-mode) #root {
  background: linear-gradient(180deg, #ffffff 50%, #f1f5f9 100%) !important;
  color: #0f172a !important;
}

html:not(.dark-mode) .bg-slate-800,
html:not(.dark-mode) .bg-slate-850,
html:not(.dark-mode) .bg-slate-900,
html:not(.dark-mode) .bg-slate-950,
html:not(.dark-mode) .bg-slate-900\/60,
html:not(.dark-mode) .bg-slate-950\/70,
html:not(.dark-mode) .bg-slate-950\/80,
html:not(.dark-mode) .bg-slate-950\/40,
html:not(.dark-mode) .bg-slate-900\/40,
html:not(.dark-mode) .bg-slate-900\/80,
html:not(.dark-mode) .bg-slate-900\/95,
html:not(.dark-mode) .bg-slate-900\/90,
html:not(.dark-mode) #main_header,
html:not(.dark-mode) #tab_chat_module,
html:not(.dark-mode) #chat_workspace_pane {
  background-color: #ffffff !important;
  background-image: none !important;
  color: #0f172a !important;
  border-color: #e2e8f0 !important;
}

html:not(.dark-mode) header#main_header {
  background-color: rgba(255, 255, 255, 0.9) !important;
  border-bottom: 1px solid #e1e8f0 !important;
  backdrop-filter: blur(12px) !important;
}

html:not(.dark-mode) p, 
html:not(.dark-mode) h1, 
html:not(.dark-mode) h2, 
html:not(.dark-mode) h3, 
html:not(.dark-mode) h4, 
html:not(.dark-mode) h5, 
html:not(.dark-mode) h6, 
html:not(.dark-mode) span, 
html:not(.dark-mode) strong, 
html:not(.dark-mode) li {
  color: #0f172a !important;
}

html:not(.dark-mode) .text-slate-100, 
html:not(.dark-mode) .text-slate-200, 
html:not(.dark-mode) .text-slate-300, 
html:not(.dark-mode) .text-white {
  color: #1e293b !important;
}

html:not(.dark-mode) .text-slate-400, 
html:not(.dark-mode) .text-slate-500, 
html:not(.dark-mode) .text-slate-350 {
  color: #475569 !important;
}

/* Light theme orange / purple accents */
html:not(.dark-mode) .text-orange-400, 
html:not(.dark-mode) .text-orange-450, 
html:not(.dark-mode) .text-amber-400, 
html:not(.dark-mode) .text-pink-400, 
html:not(.dark-mode) .text-rose-450, 
html:not(.dark-mode) .text-violet-400 {
  color: #ea580c !important; /* Premium readable orange */
}

html:not(.dark-mode) button, 
html:not(.dark-mode) .cursor-pointer {
  color: #0f172a;
}

html:not(.dark-mode) .bg-slate-800,
html:not(.dark-mode) .bg-slate-850,
html:not(.dark-mode) .bg-slate-900, 
html:not(.dark-mode) .bg-slate-950, 
html:not(.dark-mode) .bg-slate-950\/80, 
html:not(.dark-mode) .bg-slate-900\/60 {
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
}

html:not(.dark-mode) #profile_pill, 
html:not(.dark-mode) #profile_card, 
html:not(.dark-mode) #brand_badge, 
html:not(.dark-mode) .bg-orange-500\/10 {
  background-color: #f8fafc !important;
  border-color: #e2e8f0 !important;
}

html:not(.dark-mode) #brand_badge {
  background-color: #2563eb !important; /* Elegant blue badge in Light Theme */
}
html:not(.dark-mode) #brand_badge * {
  color: #ffffff !important;
}

html:not(.dark-mode) #toggle_dark_mode_btn, 
html:not(.dark-mode) #toggle_dark_mode_btn * {
  background-color: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

/* Interactive elements */
html:not(.dark-mode) .bg-orange-500, 
html:not(.dark-mode) .bg-gradient-to-r.from-orange-500.to-amber-500 {
  background: #2563eb !important; 
  color: #ffffff !important;
  border: none !important;
}
html:not(.dark-mode) .bg-orange-500 *, 
html:not(.dark-mode) .bg-gradient-to-r.from-orange-500.to-amber-500 * {
  color: #ffffff !important;
}

html:not(.dark-mode) input {
  background-color: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}

/* ==========================================================================
   THEMED DARK MODE DEFINITION (TUNGI REJIM)
   ========================================================================== */
html.dark-mode,
html.dark-mode body,
html.dark-mode #root {
  background: linear-gradient(180deg, #020617 0%, #0f172a 100%) !important;
  color: #f8fafc !important;
}

html.dark-mode .bg-slate-900,
html.dark-mode .bg-slate-950,
html.dark-mode .bg-slate-900\/60,
html.dark-mode .bg-slate-900\/40,
html.dark-mode .bg-slate-950\/70,
html.dark-mode .bg-slate-950\/80,
html.dark-mode .bg-slate-950\/40,
html.dark-mode .bg-slate-900\/80,
html.dark-mode .bg-slate-900\/95,
html.dark-mode .bg-slate-900\/90,
html.dark-mode #main_header,
html.dark-mode #tab_chat_module,
html.dark-mode #chat_workspace_pane {
  background-color: #0b0f19 !important;
  background-image: none !important;
  color: #f8fafc !important;
  border-color: #1e293b !important;
}

html.dark-mode header#main_header {
  background-color: rgba(11, 15, 25, 0.9) !important;
  border-bottom: 1px solid #1e293b !important;
  backdrop-filter: blur(12px) !important;
}

html.dark-mode p, 
html.dark-mode h1, 
html.dark-mode h2, 
html.dark-mode h3, 
html.dark-mode h4, 
html.dark-mode h5, 
html.dark-mode h6, 
html.dark-mode span, 
html.dark-mode strong, 
html.dark-mode li {
  color: #f8fafc !important;
}

html.dark-mode .text-slate-100, 
html.dark-mode .text-slate-200, 
html.dark-mode .text-slate-300, 
html.dark-mode .text-white {
  color: #f1f5f9 !important;
}

html.dark-mode .text-slate-400, 
html.dark-mode .text-slate-500, 
html.dark-mode .text-slate-350 {
  color: #94a3b8 !important;
}

/* Dark theme orange accents (keeps theme glow) */
html.dark-mode .text-orange-400, 
html.dark-mode .text-orange-450, 
html.dark-mode .text-amber-400, 
html.dark-mode .text-pink-400, 
html.dark-mode .text-rose-450, 
html.dark-mode .text-violet-400 {
  color: #f97316 !important; /* Premium bright glow */
}

html.dark-mode button, 
html.dark-mode .cursor-pointer {
  color: #f8fafc;
}

html.dark-mode .bg-slate-900, 
html.dark-mode .bg-slate-950, 
html.dark-mode .bg-slate-950\/80, 
html.dark-mode .bg-slate-900\/60 {
  background-color: #0b0f19 !important;
  border: 1px solid #1e293b !important;
}

html.dark-mode #profile_pill, 
html.dark-mode #profile_card, 
html.dark-mode #brand_badge, 
html.dark-mode .bg-orange-500\/10 {
  background-color: #111827 !important;
  border-color: #1e293b !important;
}

html.dark-mode #brand_badge {
  background-color: #ea580c !important;
}
html.dark-mode #brand_badge * {
  color: #f8fafc !important;
}

html.dark-mode #toggle_dark_mode_btn, 
html.dark-mode #toggle_dark_mode_btn * {
  background-color: #111827 !important;
  border-color: #334155 !important;
  color: #f1f5f9 !important;
}

/* Interactive elements in dark mode */
html.dark-mode .bg-orange-500, 
html.dark-mode .bg-gradient-to-r.from-orange-500.to-amber-500 {
  background: #2563eb !important; 
  color: #ffffff !important;
  border: none !important;
}
html.dark-mode .bg-orange-500 *, 
html.dark-mode .bg-gradient-to-r.from-orange-500.to-amber-500 * {
  color: #ffffff !important;
}

html.dark-mode input[type="text"] {
  background-color: #111827 !important;
  border: 1px solid #334155 !important;
  color: #f8fafc !important;
}

/* Glowing blur blobs */
.blur-2xl, .blur-3xl, .blur-\[120px\] {
  opacity: 0.12 !important;
}

/* Scroll area and container definitions */
#dashboard_scroller {
  background: transparent !important;
}

/* Hide scrollbars completely across all components to prevent outer track flickering */
::-webkit-scrollbar {
  display: none !important;
  width: 0px !important;
  height: 0px !important;
}

* {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

/* Redefine/disable entry movements so windows do not shift, bounce, or slide on tab navigation */
.animate-scale-up,
.animate-fade-in {
  animation: none !important;
  transform: none !important;
  opacity: 1 !important;
}

/* Disable hover shifts, floating movements, bouncing, and pulsing */
.hover\:-translate-y-0\.5:hover,
.hover\:-translate-y-1:hover,
.hover\:translate-y-[-2px]:hover,
.hover\:translate-y-[-1px]:hover,
.transform.hover\:-translate-y-0\.5:hover,
.transform.hover\:-translate-y-1:hover {
  transform: none !important;
}

/* Disable continuous bouncing on icons/banners */
.animate-bounce {
  animation: none !important;
}

/* Calm down the pulse animation so it stays stably in one place */
.animate-pulse {
  animation: none !important;
  opacity: 1 !important;
}

/* Stop scaling transition durations from moving on active states */
button, a, div {
  animation-duration: 0s !important;
}

/* LOCK DOCK POSITIONS FOR AI CHAT & COMPRESSED MAIN TILES FOR ZERO PAGE SHIFTING */
#tab_chat_module {
  height: calc(100vh - 120px) !important;
  max-height: calc(100vh - 120px) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  min-height: unset !important;
  padding: 12px !important;
}

#chat_workspace_pane {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  max-height: 100% !important;
  overflow: hidden !important;
  flex-grow: 1 !important;
  gap: 8px !important;
}

#chat_scroll_area {
  flex: 1 1 auto !important;
  overflow-y: auto !important;
  min-height: 100px !important;
  max-height: calc(100vh - 340px) !important;
  -webkit-overflow-scrolling: touch !important; /* Premium buttery smooth inertia scroll on touch screens */
}

/* Responsive adjustment for mobiles/Android */
html.is-android #tab_chat_module {
  height: calc(100vh - 90px) !important;
  max-height: calc(100vh - 90px) !important;
  padding: 8px !important;
}

html.is-android #chat_scroll_area {
  max-height: calc(100vh - 290px) !important;
}