FrederickSundeep commited on
Commit
745f475
·
1 Parent(s): 5cb8e2c

commit initial 09-12-2025 014

Browse files
Files changed (1) hide show
  1. src/App.css +216 -451
src/App.css CHANGED
@@ -1,45 +1,19 @@
1
- .App {
2
- text-align: center;
3
- }
4
-
5
- .App-logo {
6
- height: 40vmin;
7
- pointer-events: none;
8
- }
9
-
10
- @media (prefers-reduced-motion: no-preference) {
11
- .App-logo {
12
- animation: App-logo-spin infinite 20s linear;
13
- }
14
- }
15
-
16
- .App-header {
17
- background-color: #282c34;
18
- min-height: 100vh;
19
- display: flex;
20
- flex-direction: column;
21
- align-items: center;
22
- justify-content: center;
23
- font-size: calc(10px + 2vmin);
24
- color: white;
25
- }
26
-
27
- .App-link {
28
- color: #61dafb;
29
- }
30
 
31
- @keyframes App-logo-spin {
32
- from {
33
- transform: rotate(0deg);
34
- }
35
- to {
36
- transform: rotate(360deg);
37
- }
38
- }
39
  * {
40
  box-sizing: border-box;
 
 
41
  }
42
 
 
 
 
 
 
 
43
  .ide-root {
44
  height: 100vh;
45
  width: 100vw;
@@ -60,16 +34,20 @@
60
  color: #222;
61
  }
62
 
63
- /* Menubar */
 
 
 
64
  .ide-menubar {
65
  height: 32px;
66
  display: flex;
67
  align-items: center;
68
  justify-content: space-between;
69
- padding: 0 8px;
70
- background: #2d2d2d;
71
- color: #ddd;
72
  font-size: 13px;
 
73
  }
74
 
75
  .ide-menubar-left,
@@ -84,355 +62,75 @@
84
  margin-right: 12px;
85
  }
86
 
87
- .ide-menu-item {
88
- border: none;
89
  background: transparent;
 
90
  color: inherit;
 
91
  padding: 2px 6px;
92
  border-radius: 3px;
93
- cursor: pointer;
94
- }
95
-
96
- .ide-menu-item:hover {
97
- background: rgba(255, 255, 255, 0.08);
98
- }
99
-
100
- /* Menu dropdowns */
101
- .ide-menu-wrapper {
102
- position: relative;
103
- }
104
-
105
- .ide-menu-dropdown {
106
- position: absolute;
107
- top: 100%;
108
- left: 0;
109
- background: #252526;
110
- border: 1px solid #3c3c3c;
111
- min-width: 160px;
112
- z-index: 50;
113
- display: flex;
114
- flex-direction: column;
115
- }
116
-
117
- .ide-menu-dropdown button {
118
- border: none;
119
- background: transparent;
120
- color: #ddd;
121
- text-align: left;
122
- padding: 4px 10px;
123
  font-size: 13px;
124
- cursor: pointer;
125
  }
126
 
127
- .ide-menu-dropdown button:hover {
128
  background: rgba(255, 255, 255, 0.08);
129
  }
130
 
131
- /* Body: sidebar + main */
132
- .ide-body {
133
- flex: 1;
134
- display: flex;
135
- min-height: 0;
136
- }
137
-
138
- /* Sidebar */
139
- .ide-sidebar {
140
- width: 210px;
141
- background: #252526;
142
- color: #ccc;
143
- display: flex;
144
- flex-direction: column;
145
- border-right: 1px solid #333;
146
- }
147
-
148
- .ide-sidebar-header {
149
- height: 32px;
150
- padding: 4px 8px;
151
- display: flex;
152
- justify-content: space-between;
153
- align-items: center;
154
- font-size: 11px;
155
- text-transform: uppercase;
156
- letter-spacing: 0.05em;
157
- border-bottom: 1px solid #333;
158
- }
159
-
160
- .ide-icon-button {
161
- border: none;
162
- background: transparent;
163
- color: #ccc;
164
- cursor: pointer;
165
- font-size: 16px;
166
- line-height: 1;
167
- }
168
-
169
- .ide-icon-button:hover {
170
- color: #fff;
171
- }
172
-
173
- .ide-file-list {
174
- flex: 1;
175
- overflow-y: auto;
176
- padding: 4px 0;
177
- }
178
-
179
- .ide-file-item {
180
- display: flex;
181
- align-items: center;
182
- padding: 3px 8px;
183
- gap: 6px;
184
- font-size: 13px;
185
- cursor: pointer;
186
- }
187
-
188
- .ide-file-item:hover {
189
- background: rgba(255, 255, 255, 0.05);
190
- }
191
-
192
- .ide-file-item-active {
193
- background: #37373d;
194
- }
195
-
196
- .ide-file-icon {
197
- width: 18px;
198
- }
199
-
200
- .ide-file-name {
201
- flex: 1;
202
- white-space: nowrap;
203
- text-overflow: ellipsis;
204
- overflow: hidden;
205
- }
206
-
207
- /* Main area */
208
- .ide-main {
209
- flex: 1;
210
- display: flex;
211
- flex-direction: column;
212
- min-width: 0;
213
- }
214
-
215
- /* Tabs */
216
- .ide-tabs {
217
- height: 34px;
218
- display: flex;
219
- align-items: center;
220
- justify-content: space-between;
221
- background: #252526;
222
- border-bottom: 1px solid #333;
223
- }
224
-
225
- .ide-tab-list {
226
- display: flex;
227
- height: 100%;
228
- overflow-x: auto;
229
- }
230
-
231
- .ide-tab {
232
- display: flex;
233
- align-items: center;
234
- padding: 0 10px;
235
- font-size: 13px;
236
- border-right: 1px solid #333;
237
- cursor: pointer;
238
- color: #ccc;
239
- }
240
-
241
- .ide-tab-active {
242
- background: #1e1e1e;
243
- color: #fff;
244
- }
245
-
246
- .ide-tab-close {
247
- border: none;
248
- background: transparent;
249
- color: inherit;
250
- margin-left: 6px;
251
- cursor: pointer;
252
- }
253
-
254
- .ide-tab-close:hover {
255
- color: #f66;
256
- }
257
-
258
- .ide-tab-actions {
259
- display: flex;
260
- align-items: center;
261
- gap: 8px;
262
- padding-right: 8px;
263
- }
264
-
265
- .ide-select {
266
- background: #1e1e1e;
267
- color: #eee;
268
- border: 1px solid #555;
269
- border-radius: 3px;
270
- font-size: 12px;
271
- padding: 2px 4px;
272
- }
273
-
274
- .ide-button {
275
- border: 1px solid #555;
276
- background: #0e639c;
277
- color: #fff;
278
- padding: 3px 10px;
279
- border-radius: 3px;
280
- font-size: 12px;
281
- cursor: pointer;
282
- }
283
-
284
- .ide-button:hover {
285
- background: #1177bb;
286
- }
287
-
288
- /* Editor */
289
- .ide-editor-wrapper {
290
- flex: 1;
291
- min-height: 0;
292
- }
293
-
294
- /* Bottom panel */
295
- .ide-bottom-panel {
296
- height: 180px;
297
- display: flex;
298
- border-top: 1px solid #333;
299
- background: #1e1e1e;
300
- }
301
-
302
- .ide-output-panel,
303
- .ide-agent-panel {
304
- flex: 1;
305
- display: flex;
306
- flex-direction: column;
307
- border-right: 1px solid #333;
308
- }
309
-
310
- .ide-agent-panel {
311
- border-right: none;
312
- }
313
-
314
- .ide-panel-header {
315
- height: 24px;
316
- padding: 2px 8px;
317
- font-size: 11px;
318
- text-transform: uppercase;
319
- letter-spacing: 0.06em;
320
- border-bottom: 1px solid #333;
321
- color: #ccc;
322
- }
323
-
324
- .ide-output-content {
325
- flex: 1;
326
- margin: 0;
327
- padding: 6px 8px;
328
- font-size: 12px;
329
- background: #1e1e1e;
330
- color: #dcdcdc;
331
- overflow: auto;
332
- white-space: pre-wrap;
333
- }
334
-
335
- .ide-agent-textarea {
336
- flex: 1;
337
- resize: none;
338
- border: none;
339
- outline: none;
340
- padding: 6px 8px;
341
- background: #1e1e1e;
342
- color: #ddd;
343
- font-size: 12px;
344
- font-family: inherit;
345
- }
346
-
347
- /* Explanation section inside AI panel */
348
- .ide-explanation {
349
- border-top: 1px solid #333;
350
- max-height: 50%;
351
- display: flex;
352
- flex-direction: column;
353
- }
354
-
355
- /* Status bar */
356
- .ide-statusbar {
357
- height: 22px;
358
- background: #007acc;
359
- color: #fff;
360
- font-size: 11px;
361
- display: flex;
362
- align-items: center;
363
- justify-content: flex-end;
364
- gap: 16px;
365
- padding: 0 10px;
366
- }
367
-
368
-
369
- /* Global layout */
370
- .ide-root {
371
- display: flex;
372
- flex-direction: column;
373
- height: 100vh;
374
- font-family: "Consolas", monospace;
375
- }
376
-
377
- /* Dark & light themes */
378
- .ide-dark { background: #1e1e1e; color: #eee; }
379
- .ide-light { background: #fafafa; color: #111; }
380
-
381
- /* Menubar */
382
- .ide-menubar {
383
- display: flex;
384
- justify-content: space-between;
385
- padding: 4px 10px;
386
- background: #252526;
387
- color: #eee;
388
- font-size: 14px;
389
- border-bottom: 1px solid #444;
390
- }
391
- .ide-menubar button {
392
- margin-right: 6px;
393
- background: transparent;
394
- border: none;
395
- color: inherit;
396
- cursor: pointer;
397
- }
398
- .ide-logo {
399
- font-weight: bold;
400
- margin-right: 12px;
401
- }
402
 
403
- /* Body */
404
  .ide-body {
405
  flex: 1;
406
  display: flex;
407
  overflow: hidden;
408
  }
409
 
410
- /* Sidebar */
 
 
 
411
  .ide-sidebar {
412
  width: 210px;
413
  background: #252526;
 
414
  padding: 5px;
415
  border-right: 1px solid #444;
416
  overflow-y: auto;
417
  font-size: 14px;
418
  }
 
419
  .tree-item {
420
  padding: 4px 6px;
421
  cursor: pointer;
422
  user-select: none;
 
423
  }
 
424
  .tree-item:hover {
425
  background: #3a3d41;
426
  }
427
 
428
- /* Editor */
 
 
 
429
  .ide-main {
430
  flex: 1;
431
  display: flex;
432
  flex-direction: column;
 
 
433
  }
434
 
435
- /* Bottom panels */
 
 
 
 
 
 
436
  .ide-panels {
437
  background: #1e1e1e;
438
  border-top: 1px solid #444;
@@ -450,11 +148,19 @@
450
  max-height: 120px;
451
  overflow-y: auto;
452
  border-radius: 4px;
 
 
453
  }
 
454
  .ide-input-box {
455
  width: 100%;
456
  margin-top: 4px;
457
  padding: 4px;
 
 
 
 
 
458
  }
459
 
460
  /* Problems panel */
@@ -465,110 +171,13 @@
465
  color: #fff;
466
  border-left: 3px solid red;
467
  font-size: 12px;
 
468
  }
469
 
470
- /* AI popup */
471
- .ai-popup {
472
- position: absolute;
473
- bottom: 35%;
474
- right: 5px;
475
- width: 230px;
476
- background: #333;
477
- border: 1px solid #444;
478
- border-radius: 6px;
479
- padding: 4px;
480
- animation: fadeIn 0.25s ease-in-out;
481
- }
482
- .ai-suggest {
483
- padding: 4px;
484
- cursor: pointer;
485
- }
486
- .ai-suggest:hover {
487
- background: #444;
488
- }
489
-
490
- /* Search popup */
491
- .search-dialog {
492
- position: absolute;
493
- right: 10px;
494
- top: 50px;
495
- background: #333;
496
- padding: 10px;
497
- border: 1px solid #444;
498
- border-radius: 5px;
499
- }
500
- .search-dialog input {
501
- width: 200px;
502
- }
503
-
504
- /* Context menu */
505
- .ide-context-menu {
506
- position: absolute;
507
- background: #333;
508
- color: #eee;
509
- border: 1px solid #555;
510
- border-radius: 5px;
511
- padding: 4px;
512
- }
513
- .ide-context-menu div {
514
- padding: 4px 8px;
515
- cursor: pointer;
516
- }
517
- .ide-context-menu div:hover {
518
- background: #555;
519
- }
520
-
521
- /* Animation */
522
- @keyframes fadeIn {
523
- from { opacity: 0; transform: translateY(5px); }
524
- to { opacity: 1; transform: translateY(0); }
525
- }
526
-
527
- .ide-agent-textarea {
528
- width: 100%;
529
- height: 70px;
530
- margin-top: 6px;
531
- padding: 6px;
532
- background: #111;
533
- border: 1px solid #444;
534
- color: #fff;
535
- font-family: Consolas, monospace;
536
- resize: vertical;
537
- border-radius: 4px;
538
- }
539
- .ide-explain {
540
- margin-top: 6px;
541
- padding: 6px;
542
- background: #222;
543
- border: 1px solid #444;
544
- color: #fff;
545
- border-radius: 4px;
546
- max-height: 120px;
547
- overflow-y: auto;
548
- }
549
-
550
- /* Ensure body is flex row: left tree, center editor, right AI */
551
- .ide-body {
552
- display: flex;
553
- flex: 1;
554
- overflow: hidden;
555
- }
556
-
557
- /* Center main area already exists, ensure it flexes */
558
- .ide-main {
559
- flex: 1;
560
- display: flex;
561
- flex-direction: column;
562
- position: relative;
563
- }
564
-
565
- /* Editor wrapper to fill center */
566
- .ide-editor-wrapper {
567
- flex: 1;
568
- min-height: 0;
569
- }
570
 
571
- /* Right AI panel */
572
  .ide-right-panel {
573
  width: 280px;
574
  border-left: 1px solid #444;
@@ -598,6 +207,7 @@
598
  opacity: 0.8;
599
  }
600
 
 
601
  .ide-agent-textarea {
602
  width: 100%;
603
  min-height: 80px;
@@ -612,6 +222,7 @@
612
  font-size: 12px;
613
  }
614
 
 
615
  .ide-ai-buttons {
616
  display: flex;
617
  gap: 6px;
@@ -632,6 +243,7 @@
632
  background: #1177bb;
633
  }
634
 
 
635
  .ide-explain {
636
  max-height: 180px;
637
  overflow-y: auto;
@@ -640,4 +252,157 @@
640
  background: #1e1e1e;
641
  border: 1px solid #444;
642
  font-size: 12px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
643
  }
 
1
+ /* ============================
2
+ Global & Base
3
+ ============================ */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
 
 
 
 
 
 
 
 
 
5
  * {
6
  box-sizing: border-box;
7
+ margin: 0;
8
+ padding: 0;
9
  }
10
 
11
+ /* Optional: CRA root */
12
+ .App {
13
+ text-align: center;
14
+ }
15
+
16
+ /* Root layout */
17
  .ide-root {
18
  height: 100vh;
19
  width: 100vw;
 
34
  color: #222;
35
  }
36
 
37
+ /* ============================
38
+ Menubar
39
+ ============================ */
40
+
41
  .ide-menubar {
42
  height: 32px;
43
  display: flex;
44
  align-items: center;
45
  justify-content: space-between;
46
+ padding: 0 10px;
47
+ background: #252526;
48
+ color: #eee;
49
  font-size: 13px;
50
+ border-bottom: 1px solid #444;
51
  }
52
 
53
  .ide-menubar-left,
 
62
  margin-right: 12px;
63
  }
64
 
65
+ .ide-menubar button {
66
+ margin-right: 4px;
67
  background: transparent;
68
+ border: none;
69
  color: inherit;
70
+ cursor: pointer;
71
  padding: 2px 6px;
72
  border-radius: 3px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
73
  font-size: 13px;
 
74
  }
75
 
76
+ .ide-menubar button:hover {
77
  background: rgba(255, 255, 255, 0.08);
78
  }
79
 
80
+ /* ============================
81
+ Body Layout
82
+ ============================ */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
83
 
 
84
  .ide-body {
85
  flex: 1;
86
  display: flex;
87
  overflow: hidden;
88
  }
89
 
90
+ /* ============================
91
+ Sidebar (Explorer)
92
+ ============================ */
93
+
94
  .ide-sidebar {
95
  width: 210px;
96
  background: #252526;
97
+ color: #ccc;
98
  padding: 5px;
99
  border-right: 1px solid #444;
100
  overflow-y: auto;
101
  font-size: 14px;
102
  }
103
+
104
  .tree-item {
105
  padding: 4px 6px;
106
  cursor: pointer;
107
  user-select: none;
108
+ border-radius: 3px;
109
  }
110
+
111
  .tree-item:hover {
112
  background: #3a3d41;
113
  }
114
 
115
+ /* ============================
116
+ Main (Editor + Output)
117
+ ============================ */
118
+
119
  .ide-main {
120
  flex: 1;
121
  display: flex;
122
  flex-direction: column;
123
+ position: relative;
124
+ min-width: 0;
125
  }
126
 
127
+ /* Monaco wrapper */
128
+ .ide-editor-wrapper {
129
+ flex: 1;
130
+ min-height: 0;
131
+ }
132
+
133
+ /* Bottom panels (output, stdin, problems) */
134
  .ide-panels {
135
  background: #1e1e1e;
136
  border-top: 1px solid #444;
 
148
  max-height: 120px;
149
  overflow-y: auto;
150
  border-radius: 4px;
151
+ font-family: "Consolas", monospace;
152
+ font-size: 12px;
153
  }
154
+
155
  .ide-input-box {
156
  width: 100%;
157
  margin-top: 4px;
158
  padding: 4px;
159
+ background: #111;
160
+ border: 1px solid #444;
161
+ color: #eee;
162
+ border-radius: 3px;
163
+ font-size: 12px;
164
  }
165
 
166
  /* Problems panel */
 
171
  color: #fff;
172
  border-left: 3px solid red;
173
  font-size: 12px;
174
+ border-radius: 3px;
175
  }
176
 
177
+ /* ============================
178
+ Right AI Panel
179
+ ============================ */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
180
 
 
181
  .ide-right-panel {
182
  width: 280px;
183
  border-left: 1px solid #444;
 
207
  opacity: 0.8;
208
  }
209
 
210
+ /* AI instruction textarea */
211
  .ide-agent-textarea {
212
  width: 100%;
213
  min-height: 80px;
 
222
  font-size: 12px;
223
  }
224
 
225
+ /* AI buttons */
226
  .ide-ai-buttons {
227
  display: flex;
228
  gap: 6px;
 
243
  background: #1177bb;
244
  }
245
 
246
+ /* AI explanation box */
247
  .ide-explain {
248
  max-height: 180px;
249
  overflow-y: auto;
 
252
  background: #1e1e1e;
253
  border: 1px solid #444;
254
  font-size: 12px;
255
+ color: #eee;
256
+ font-family: Consolas, monospace;
257
+ }
258
+
259
+ /* ============================
260
+ AI Suggestions Popup
261
+ ============================ */
262
+
263
+ .ai-popup {
264
+ position: absolute;
265
+ bottom: 35%;
266
+ right: 5px;
267
+ width: 230px;
268
+ background: #333;
269
+ border: 1px solid #444;
270
+ border-radius: 6px;
271
+ padding: 4px;
272
+ animation: fadeIn 0.25s ease-in-out;
273
+ font-size: 12px;
274
+ z-index: 20;
275
+ }
276
+
277
+ .ai-suggest {
278
+ padding: 4px;
279
+ cursor: pointer;
280
+ }
281
+
282
+ .ai-suggest:hover {
283
+ background: #444;
284
+ }
285
+
286
+ /* ============================
287
+ Search Dialog
288
+ ============================ */
289
+
290
+ .search-dialog {
291
+ position: absolute;
292
+ right: 10px;
293
+ top: 50px;
294
+ background: #333;
295
+ padding: 10px;
296
+ border: 1px solid #444;
297
+ border-radius: 5px;
298
+ z-index: 30;
299
+ }
300
+
301
+ .search-dialog input {
302
+ width: 200px;
303
+ padding: 4px 6px;
304
+ border-radius: 3px;
305
+ border: 1px solid #555;
306
+ background: #1e1e1e;
307
+ color: #eee;
308
+ }
309
+
310
+ /* ============================
311
+ Context Menu
312
+ ============================ */
313
+
314
+ .ide-context-menu {
315
+ position: absolute;
316
+ background: #333;
317
+ color: #eee;
318
+ border: 1px solid #555;
319
+ border-radius: 5px;
320
+ padding: 4px;
321
+ z-index: 40;
322
+ }
323
+
324
+ .ide-context-menu div {
325
+ padding: 4px 8px;
326
+ cursor: pointer;
327
+ font-size: 13px;
328
+ }
329
+
330
+ .ide-context-menu div:hover {
331
+ background: #555;
332
+ }
333
+
334
+ /* ============================
335
+ Animations
336
+ ============================ */
337
+
338
+ @keyframes fadeIn {
339
+ from {
340
+ opacity: 0;
341
+ transform: translateY(5px);
342
+ }
343
+ to {
344
+ opacity: 1;
345
+ transform: translateY(0);
346
+ }
347
+ }
348
+
349
+ /* ============================
350
+ 📱 Mobile / Tablet Responsive
351
+ ============================ */
352
+
353
+ @media (max-width: 768px) {
354
+ /* Stack everything vertically */
355
+ .ide-body {
356
+ flex-direction: column;
357
+ }
358
+
359
+ /* Sidebar: full width at top */
360
+ .ide-sidebar {
361
+ width: 100%;
362
+ max-height: 24vh;
363
+ border-right: none;
364
+ border-bottom: 1px solid #444;
365
+ }
366
+
367
+ /* Main editor: comes after sidebar */
368
+ .ide-main {
369
+ order: 2;
370
+ }
371
+
372
+ .ide-editor-wrapper {
373
+ height: 40vh;
374
+ }
375
+
376
+ /* Output panel: keep compact */
377
+ .ide-panels {
378
+ height: auto;
379
+ max-height: 26vh;
380
+ }
381
+
382
+ /* Right AI panel: full width at bottom */
383
+ .ide-right-panel {
384
+ width: 100%;
385
+ order: 3;
386
+ border-left: none;
387
+ border-top: 1px solid #444;
388
+ }
389
+
390
+ /* Search dialog: more width */
391
+ .search-dialog {
392
+ right: 8px;
393
+ left: 8px;
394
+ width: auto;
395
+ }
396
+
397
+ /* Context menu: keep inside viewport */
398
+ .ide-context-menu {
399
+ max-width: 70vw;
400
+ }
401
+
402
+ /* AI popup: center-ish on mobile */
403
+ .ai-popup {
404
+ right: 8px;
405
+ left: 8px;
406
+ width: auto;
407
+ }
408
  }