R-Kentaren commited on
Commit
8d5e34c
Β·
verified Β·
1 Parent(s): 64622c2

Update static/style.css

Browse files
Files changed (1) hide show
  1. static/style.css +530 -776
static/style.css CHANGED
@@ -1,50 +1,49 @@
1
- /* DeepSeek V4 Flash β€” Clean Mobile-Friendly Style Sheet (SCSS) */
 
2
 
3
- /* ── Variables ─────────────────────────────────────────────────────── */
4
- $bg-primary: #f8f9fa;
5
- $bg-workspace: #f8f9fa;
6
- $bg-card: #ffffff;
7
- $bg-sidebar: #ffffff;
8
 
9
- $border-color: #e5e7eb;
10
- $border-light: #f1f2f4;
11
- $border-focus: #111827;
12
 
13
- $accent-blue: #2563eb;
14
- $accent-blue-bg: #eff6ff;
15
 
16
- $text-primary: #111827;
17
- $text-secondary: #4b5563;
18
- $text-muted: #9ca3af;
19
- $danger: #ef4444;
20
 
21
- $btn-light-bg: #f3f4f6;
22
- $btn-light-hover: #e5e7eb;
23
 
24
- $font-main: 'Syne', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
25
- $font-mono: 'Syne', monospace;
 
26
 
27
- $transition-smooth: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
28
- $radius-sm: 8px;
29
- $radius-md: 12px;
30
- $radius-lg: 16px;
31
- $radius-pill: 100px;
32
 
33
- $shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
34
- $shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
35
- $shadow-lg: 0 10px 30px -10px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
36
-
37
- /* ── Reset & Base ──────────────────────────────────────────────────── */
38
- * {
39
- margin: 0;
40
- padding: 0;
41
- box-sizing: border-box;
42
  }
43
 
 
 
 
44
  body {
45
- background-color: $bg-primary;
46
- color: $text-primary;
47
- font-family: $font-main;
48
  font-size: 14px;
49
  line-height: 1.5;
50
  overflow: hidden;
@@ -54,18 +53,10 @@ body {
54
  }
55
 
56
  /* Scrollbars */
57
- ::-webkit-scrollbar {
58
- width: 4px;
59
- height: 4px;
60
-
61
- &-track { background: transparent; }
62
- &-thumb {
63
- background: #e5e7eb;
64
- border-radius: 10px;
65
-
66
- &:hover { background: #cbd5e1; }
67
- }
68
- }
69
 
70
  /* ── Layout ────────────────────────────────────────────────────────── */
71
  .app-container {
@@ -81,7 +72,7 @@ body {
81
  display: flex;
82
  flex-direction: column;
83
  height: 100%;
84
- background-color: $bg-workspace;
85
  overflow: hidden;
86
  position: relative;
87
  width: 100%;
@@ -90,8 +81,8 @@ body {
90
  /* ── Header ────────────────────────────────────────────────────────── */
91
  .workspace-header {
92
  height: 56px;
93
- border-bottom: 1px solid $border-color;
94
- background-color: $bg-card;
95
  display: flex;
96
  align-items: center;
97
  justify-content: space-between;
@@ -121,11 +112,11 @@ body {
121
  }
122
 
123
  .brand-name {
124
- font-family: $font-main;
125
  font-size: 15px;
126
  font-weight: 700;
127
  letter-spacing: -0.3px;
128
- color: $text-primary;
129
  }
130
 
131
  .header-actions {
@@ -136,37 +127,37 @@ body {
136
  .header-btn {
137
  appearance: none;
138
  -webkit-appearance: none;
139
- background-color: $bg-card;
140
- border: 1px solid $border-color;
141
- border-radius: $radius-sm;
142
- color: $text-secondary;
143
  padding: 6px 12px;
144
  font-size: 12px;
145
- font-family: $font-main;
146
  font-weight: 500;
147
  cursor: pointer;
148
  display: inline-flex;
149
  align-items: center;
150
  justify-content: center;
151
  gap: 6px;
152
- transition: $transition-smooth;
153
  outline: none;
154
- box-shadow: $shadow-sm;
155
-
156
- &:hover {
157
- background-color: $btn-light-bg;
158
- border-color: #cbd5e1;
159
- color: $text-primary;
160
- }
161
 
162
- &:active {
163
- background-color: $btn-light-hover;
164
- transform: scale(0.98);
165
- }
 
166
 
167
- svg { flex-shrink: 0; }
 
 
168
  }
169
 
 
 
170
  /* ── Viewport ──────────────────────────────────────────────────────── */
171
  .workspace-viewport {
172
  flex: 1;
@@ -187,58 +178,50 @@ body {
187
  }
188
 
189
  .welcome-heading {
190
- font-family: $font-main;
191
  font-size: 26px;
192
  font-weight: 600;
193
- color: $text-primary;
194
  margin-bottom: 24px;
195
  letter-spacing: -0.4px;
196
  text-align: center;
197
  }
198
 
199
- .welcome-sub {
200
- font-size: 12px;
201
- color: $text-muted;
202
- margin-top: -16px;
203
- margin-bottom: 24px;
204
- text-align: center;
205
- }
206
-
207
  /* Console Input Box */
208
  .console-box {
209
  width: 100%;
210
- background-color: $bg-card;
211
- border: 1px solid $border-color;
212
- border-radius: $radius-lg;
213
- box-shadow: $shadow-md;
214
  padding: 12px 16px;
215
  display: flex;
216
  flex-direction: column;
217
  gap: 10px;
218
- transition: $transition-smooth;
219
  margin-bottom: 36px;
 
220
 
221
- &:focus-within {
222
- border-color: $border-focus;
223
- box-shadow: $shadow-lg;
224
- }
225
-
226
- textarea {
227
- width: 100%;
228
- border: none;
229
- outline: none;
230
- resize: none;
231
- font-family: $font-main;
232
- font-size: 14.5px;
233
- color: $text-primary;
234
- background: transparent;
235
- line-height: 1.45;
236
- min-height: 50px;
237
 
238
- &::placeholder { color: $text-muted; }
239
- }
 
 
 
 
 
 
 
 
 
240
  }
241
 
 
 
242
  .inner-shelf-preview,
243
  .mini-shelf-preview {
244
  display: flex;
@@ -251,7 +234,7 @@ body {
251
  display: flex;
252
  justify-content: space-between;
253
  align-items: center;
254
- border-top: 1px solid $border-light;
255
  padding-top: 10px;
256
  }
257
 
@@ -260,20 +243,20 @@ body {
260
  width: 28px;
261
  height: 28px;
262
  border-radius: 50%;
263
- border: 1px solid $border-color;
264
  background: transparent;
265
- color: $text-secondary;
266
  cursor: pointer;
267
  display: flex;
268
  align-items: center;
269
  justify-content: center;
270
- transition: $transition-smooth;
271
  outline: none;
 
272
 
273
- &:hover {
274
- background-color: $btn-light-bg;
275
- color: $text-primary;
276
- }
277
  }
278
 
279
  .circle-btn-send {
@@ -287,18 +270,18 @@ body {
287
  display: flex;
288
  align-items: center;
289
  justify-content: center;
290
- transition: $transition-smooth;
291
  outline: none;
292
-
293
- &:hover { background-color: #111827; }
294
  }
295
 
 
 
296
  /* ── Showcase Chips ────────────────────────────────────────────────── */
297
  .showcase-section { width: 100%; }
298
 
299
  .showcase-title {
300
  font-size: 12.5px;
301
- color: $text-secondary;
302
  margin-bottom: 12px;
303
  text-align: center;
304
  font-weight: 500;
@@ -316,28 +299,27 @@ body {
316
  align-items: center;
317
  gap: 8px;
318
  padding: 8px 16px;
319
- border-radius: $radius-pill;
320
- background-color: $bg-card;
321
- border: 1px solid $border-color;
322
  cursor: pointer;
323
- transition: $transition-smooth;
324
  font-size: 12px;
325
  font-weight: 500;
326
- color: $text-secondary;
327
- box-shadow: $shadow-sm;
328
-
329
- &:hover {
330
- background-color: $btn-light-bg;
331
- border-color: #cbd5e1;
332
- color: $text-primary;
333
- transform: translateY(-1px);
334
- }
335
-
336
- &:active { transform: translateY(0); }
337
 
338
- .chip-icon { font-size: 14px; }
 
 
 
 
339
  }
340
 
 
 
 
341
  /* ── Chat Thread ───────────────────────────────────────────────────── */
342
  .chat-thread-container {
343
  flex: 1;
@@ -366,44 +348,40 @@ body {
366
  gap: 4px;
367
  max-width: 90%;
368
  animation: slideUp 0.25s ease-out;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
369
 
370
- &.user { align-self: flex-end; }
371
- &.assistant {
372
- align-self: flex-start;
373
- width: 100%;
374
- max-width: 100%;
375
- }
376
-
377
- .message-meta {
378
- font-size: 10px;
379
- color: $text-muted;
380
- font-weight: 600;
381
- margin: 0 4px;
382
- }
383
-
384
- &.user .message-meta { text-align: right; }
385
-
386
- .message-body {
387
- padding: 10px 14px;
388
- border-radius: $radius-md;
389
- font-size: 13.5px;
390
- line-height: 1.5;
391
- box-shadow: $shadow-sm;
392
- }
393
-
394
- &.user .message-body {
395
- background-color: $btn-light-bg;
396
- border: 1px solid $border-color;
397
- color: $text-primary;
398
- border-bottom-right-radius: 4px;
399
- }
400
-
401
- &.assistant .message-body {
402
- background-color: $bg-card;
403
- border: 1px solid $border-color;
404
- color: $text-primary;
405
- border-bottom-left-radius: 4px;
406
- }
407
  }
408
 
409
  /* Bubble Attachments */
@@ -416,47 +394,43 @@ body {
416
  }
417
 
418
  .bubble-attachment-card {
419
- border-radius: $radius-sm;
420
  overflow: hidden;
421
- border: 1px solid $border-color;
422
  background-color: #fafafa;
423
  position: relative;
424
  aspect-ratio: 16/10;
 
425
 
426
- img,
427
- video {
428
- width: 100%;
429
- height: 100%;
430
- object-fit: cover;
431
- }
432
  }
433
 
434
  .bubble-attachment-label {
435
  position: absolute;
436
- bottom: 0;
437
- left: 0;
438
- right: 0;
439
  background: rgba(0, 0, 0, 0.6);
440
  color: #fff;
441
  font-size: 8px;
442
  text-align: center;
443
  padding: 1px;
444
- font-family: $font-mono;
445
  }
446
 
447
  /* ── Collapsible Thoughts ──────────────────────────────────────────── */
448
  .thought-container {
449
  margin-bottom: 12px;
450
- border: 1px solid $border-color;
451
- border-radius: $radius-sm;
452
  overflow: hidden;
453
-
454
- &.collapsed {
455
- .thought-content { display: none; }
456
- .thought-toggle-icon { transform: rotate(-90deg); }
457
- }
458
  }
459
 
 
 
 
460
  .thought-header {
461
  display: flex;
462
  justify-content: space-between;
@@ -465,40 +439,40 @@ body {
465
  background-color: #f9fafb;
466
  cursor: pointer;
467
  user-select: none;
468
- transition: $transition-smooth;
469
-
470
- &:hover { background-color: #f3f4f6; }
471
  }
472
 
 
 
473
  .thought-title-group {
474
  display: flex;
475
  align-items: center;
476
  gap: 6px;
477
- font-family: $font-main;
478
  font-size: 11px;
479
  font-weight: 600;
480
- color: $text-secondary;
481
  }
482
 
483
  .thought-timer {
484
- font-family: $font-mono;
485
  font-size: 9.5px;
486
- color: $text-muted;
487
  }
488
 
489
  .thought-toggle-icon {
490
  font-size: 9px;
491
- color: $text-secondary;
492
  transition: transform 0.2s ease;
493
  }
494
 
495
  .thought-content {
496
  padding: 10px 12px;
497
- font-family: $font-mono;
498
  font-size: 11.5px;
499
- color: $text-secondary;
500
  background-color: #ffffff;
501
- border-top: 1px solid $border-color;
502
  white-space: pre-wrap;
503
  max-height: 150px;
504
  overflow-y: auto;
@@ -522,10 +496,7 @@ body {
522
  border-radius: 3px;
523
  }
524
 
525
- .rp-bold {
526
- font-weight: 700;
527
- color: #111827;
528
- }
529
 
530
  .rp-ooc {
531
  color: #9ca3af;
@@ -547,133 +518,110 @@ body {
547
  width: 36px;
548
  height: 20px;
549
  flex-shrink: 0;
550
-
551
- input {
552
- opacity: 0;
553
- width: 0;
554
- height: 0;
555
- }
556
-
557
- input:checked + .toggle-slider { background-color: #111827; }
558
- input:checked + .toggle-slider:before { transform: translateX(16px); }
559
- input:focus + .toggle-slider { box-shadow: 0 0 0 2px rgba(17, 24, 39, 0.2); }
560
  }
561
 
 
 
562
  .toggle-slider {
563
  position: absolute;
564
  cursor: pointer;
565
- top: 0;
566
- left: 0;
567
- right: 0;
568
- bottom: 0;
569
  background-color: #d1d5db;
570
  transition: 0.2s;
571
  border-radius: 20px;
 
572
 
573
- &:before {
574
- position: absolute;
575
- content: "";
576
- height: 14px;
577
- width: 14px;
578
- left: 3px;
579
- bottom: 3px;
580
- background-color: white;
581
- transition: 0.2s;
582
- border-radius: 50%;
583
- }
584
  }
585
 
 
 
 
 
586
  .setting-description {
587
  font-size: 10.5px;
588
- color: $text-muted;
589
  line-height: 1.4;
590
  padding-top: 2px;
591
  }
592
 
593
  /* ── Markdown Typography ───────────────────────────────────────────── */
594
- .markdown-body {
595
- h1,
596
- h2,
597
- h3 {
598
- margin-top: 12px;
599
- margin-bottom: 4px;
600
- font-family: $font-main;
601
- font-weight: 600;
602
- }
603
-
604
- h1 {
605
- font-size: 14.5px;
606
- border-bottom: 1px solid $border-light;
607
- padding-bottom: 2px;
608
- }
609
-
610
- h2 { font-size: 13.5px; }
611
- h3 { font-size: 12.5px; }
612
-
613
- p {
614
- margin-bottom: 6px;
615
-
616
- &:last-child { margin-bottom: 0; }
617
- }
618
-
619
- code {
620
- font-family: $font-mono;
621
- font-size: 11px;
622
- background-color: $btn-light-bg;
623
- padding: 2px 4px;
624
- border-radius: 4px;
625
- color: $accent-blue;
626
- }
627
-
628
- pre {
629
- margin: 10px 0;
630
- border-radius: $radius-sm;
631
- overflow: hidden;
632
- border: 1px solid $border-color;
633
-
634
- code {
635
- display: block;
636
- padding: 10px;
637
- overflow-x: auto;
638
- background-color: #0f172a !important;
639
- color: #e2e8f0;
640
- }
641
- }
642
-
643
- table {
644
- width: 100%;
645
- border-collapse: collapse;
646
- margin: 10px 0;
647
- font-size: 12px;
648
- }
649
-
650
- th,
651
- td {
652
- border: 1px solid $border-color;
653
- padding: 6px 8px;
654
- text-align: left;
655
- }
656
-
657
- th {
658
- background-color: $bg-primary;
659
- font-weight: 600;
660
- }
661
  }
662
 
 
 
663
  /* ── Chat Footer ───────────────────────────────────────────────────── */
664
  .chat-mini-footer {
665
  padding: 12px 20px;
666
- background-color: $bg-workspace;
667
- border-top: 1px solid $border-color;
 
668
 
669
- .console-box {
670
- max-width: 680px;
671
- margin: 0 auto;
672
- box-shadow: $shadow-sm;
673
- padding: 8px 12px;
674
- border-radius: $radius-md;
675
- margin-bottom: 0;
676
- }
677
  }
678
 
679
  /* ── Left Sidebar Drawer (Chat History) ────────────────────────────── */
@@ -683,21 +631,21 @@ body {
683
  left: 0;
684
  bottom: 0;
685
  width: 280px;
686
- background-color: $bg-sidebar;
687
- border-right: 1px solid $border-color;
688
  display: flex;
689
  flex-direction: column;
690
  z-index: 1050;
691
  transform: translateX(-100%);
692
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
693
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.08);
694
-
695
- &.open { transform: translateX(0); }
696
  }
697
 
 
 
698
  .left-sidebar-header {
699
  padding: 14px 16px;
700
- border-bottom: 1px solid $border-color;
701
  display: flex;
702
  justify-content: space-between;
703
  align-items: center;
@@ -708,37 +656,31 @@ body {
708
  align-items: center;
709
  gap: 10px;
710
  padding: 12px 16px;
711
- border-bottom: 1px solid $border-light;
712
  }
713
 
714
  .user-avatar {
715
  width: 32px;
716
  height: 32px;
717
  border-radius: 50%;
718
- background-color: $btn-light-bg;
719
  display: flex;
720
  align-items: center;
721
  justify-content: center;
722
  font-size: 14px;
723
  font-weight: 600;
724
- color: $text-muted;
725
  flex-shrink: 0;
726
-
727
- &.logged-in {
728
- background-color: #111827;
729
- color: #ffffff;
730
- }
731
  }
732
 
733
- .user-info-text {
734
- flex: 1;
735
- min-width: 0;
736
- }
737
 
738
  .user-display-name {
739
  font-size: 12px;
740
  font-weight: 600;
741
- color: $text-primary;
742
  white-space: nowrap;
743
  overflow: hidden;
744
  text-overflow: ellipsis;
@@ -750,50 +692,41 @@ body {
750
  padding: 3px 10px;
751
  font-size: 10px;
752
  font-weight: 600;
753
- font-family: $font-main;
754
  color: #ffffff;
755
  background-color: #111827;
756
  border: none;
757
- border-radius: $radius-pill;
758
  cursor: pointer;
759
-
760
- &:hover { background-color: #374151; }
761
-
762
- &.logged-in {
763
- background-color: transparent;
764
- color: $danger;
765
- border: 1px solid $border-color;
766
-
767
- &:hover {
768
- background-color: #fef2f2;
769
- border-color: #fecaca;
770
- }
771
- }
772
  }
773
 
 
 
 
 
774
  .new-chat-btn {
775
  display: flex;
776
  align-items: center;
777
  gap: 8px;
778
  margin: 12px 16px 8px;
779
  padding: 8px 14px;
780
- border-radius: $radius-sm;
781
- background-color: $bg-card;
782
- border: 1px dashed $border-color;
783
- color: $text-secondary;
784
  font-size: 12px;
785
  font-weight: 500;
786
- font-family: $font-main;
787
  cursor: pointer;
788
- transition: $transition-smooth;
789
  width: calc(100% - 32px);
 
790
 
791
- &:hover {
792
- border-color: #cbd5e1;
793
- color: $text-primary;
794
- background-color: $btn-light-bg;
795
- border-style: solid;
796
- }
797
  }
798
 
799
  .chat-history-list {
@@ -807,7 +740,7 @@ body {
807
 
808
  .empty-history-text {
809
  font-size: 11px;
810
- color: $text-muted;
811
  text-align: center;
812
  padding: 20px 10px;
813
  line-height: 1.6;
@@ -818,43 +751,27 @@ body {
818
  align-items: center;
819
  gap: 4px;
820
  padding: 8px 10px;
821
- border-radius: $radius-sm;
822
  cursor: pointer;
823
- transition: $transition-smooth;
824
  position: relative;
825
-
826
- &:hover {
827
- background-color: $btn-light-bg;
828
-
829
- .history-item-delete { opacity: 1; }
830
- }
831
-
832
- &.active {
833
- background-color: $accent-blue-bg;
834
- border: 1px solid rgba(37, 99, 235, 0.15);
835
- }
836
  }
837
 
838
- .history-item-content {
839
- flex: 1;
840
- min-width: 0;
841
- overflow: hidden;
842
- }
843
 
844
  .history-item-title {
845
  font-size: 12px;
846
  font-weight: 500;
847
- color: $text-primary;
848
  white-space: nowrap;
849
  overflow: hidden;
850
  text-overflow: ellipsis;
851
  }
852
 
853
- .history-item-meta {
854
- font-size: 9.5px;
855
- color: $text-muted;
856
- margin-top: 2px;
857
- }
858
 
859
  .history-item-delete {
860
  width: 22px;
@@ -862,106 +779,87 @@ body {
862
  border-radius: 4px;
863
  border: none;
864
  background: transparent;
865
- color: $text-muted;
866
  cursor: pointer;
867
  display: flex;
868
  align-items: center;
869
  justify-content: center;
870
  opacity: 0;
871
- transition: $transition-smooth;
872
  flex-shrink: 0;
873
-
874
- &:hover {
875
- background-color: #fef2f2;
876
- color: $danger;
877
- }
878
  }
879
 
 
 
 
880
  .left-sidebar-footer {
881
  padding: 10px 16px;
882
- border-top: 1px solid $border-color;
883
  }
884
 
885
  /* Left sidebar overlay */
886
  .sidebar-overlay-left {
887
  position: absolute;
888
- top: 0;
889
- left: 0;
890
- right: 0;
891
- bottom: 0;
892
  background-color: rgba(0, 0, 0, 0.3);
893
  backdrop-filter: blur(2px);
894
  z-index: 1040;
895
  opacity: 0;
896
  pointer-events: none;
897
  transition: opacity 0.2s ease;
898
-
899
- &.active {
900
- opacity: 1;
901
- pointer-events: auto;
902
- }
903
  }
904
 
 
 
905
  /* ── Right Sidebar Overlay ─────────────────────────────────────────── */
906
  .sidebar-overlay {
907
  position: absolute;
908
- top: 0;
909
- left: 0;
910
- right: 0;
911
- bottom: 0;
912
  background-color: rgba(0, 0, 0, 0.2);
913
  backdrop-filter: blur(1.5px);
914
  z-index: 990;
915
  opacity: 0;
916
  pointer-events: none;
917
  transition: opacity 0.2s ease;
918
-
919
- &.active {
920
- opacity: 1;
921
- pointer-events: auto;
922
- }
923
  }
924
 
 
 
925
  /* ── Right Settings Drawer ─────────────────────────────────────────── */
926
  .sidebar-right {
927
  position: absolute;
928
- top: 0;
929
- right: 0;
930
- bottom: 0;
931
  width: 320px;
932
- background-color: $bg-sidebar;
933
- border-left: 1px solid $border-color;
934
  display: flex;
935
  flex-direction: column;
936
  z-index: 1000;
937
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
938
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.03);
939
  transform: translateX(0);
940
-
941
- &.collapsed { transform: translateX(100%); }
942
  }
943
 
 
 
944
  .right-sidebar-header {
945
  padding: 14px 20px;
946
- border-bottom: 1px solid $border-color;
947
  display: flex;
948
  justify-content: space-between;
949
  align-items: center;
950
-
951
- h3 {
952
- font-family: $font-main;
953
- font-size: 13.5px;
954
- font-weight: 600;
955
- color: $text-primary;
956
- }
957
  }
958
 
959
- .close-drawer {
960
- border-color: transparent !important;
961
-
962
- &:hover { background-color: $btn-light-bg !important; }
 
963
  }
964
 
 
 
 
965
  .sidebar-right-content {
966
  flex: 1;
967
  overflow-y: auto;
@@ -972,19 +870,16 @@ body {
972
  }
973
 
974
  .right-block-card {
975
- background-color: $bg-card;
976
- border: 1px solid $border-color;
977
- border-radius: $radius-md;
978
  padding: 14px;
979
  display: flex;
980
  flex-direction: column;
981
  gap: 10px;
982
  }
983
 
984
- .flex-1-card {
985
- flex: 1;
986
- min-height: 180px;
987
- }
988
 
989
  .card-block-header {
990
  display: flex;
@@ -993,42 +888,38 @@ body {
993
  }
994
 
995
  .block-title {
996
- font-family: $font-main;
997
  font-size: 12px;
998
  font-weight: 600;
999
- color: $text-primary;
1000
  }
1001
 
1002
  .block-value {
1003
- font-family: $font-mono;
1004
  font-size: 11px;
1005
- color: $text-secondary;
1006
  font-weight: 500;
1007
  }
1008
 
1009
  /* System Prompt */
1010
  .system-prompt-textarea {
1011
  width: 100%;
1012
- border: 1px solid $border-color;
1013
- border-radius: $radius-sm;
1014
  background-color: #f9fafb;
1015
- color: $text-primary;
1016
- font-family: $font-main;
1017
  font-size: 12px;
1018
  line-height: 1.5;
1019
  padding: 8px 10px;
1020
  resize: vertical;
1021
  min-height: 60px;
1022
  outline: none;
1023
-
1024
- &:focus {
1025
- border-color: $border-focus;
1026
- background-color: #ffffff;
1027
- }
1028
-
1029
- &::placeholder { color: $text-muted; }
1030
  }
1031
 
 
 
 
1032
  /* Slider */
1033
  .slider-input {
1034
  -webkit-appearance: none;
@@ -1039,99 +930,66 @@ body {
1039
  background-color: #e5e7eb;
1040
  outline: none;
1041
  cursor: pointer;
 
1042
 
1043
- &::-webkit-slider-thumb {
1044
- -webkit-appearance: none;
1045
- width: 14px;
1046
- height: 14px;
1047
- border-radius: 50%;
1048
- background-color: #111827;
1049
- cursor: pointer;
1050
- }
1051
 
1052
- &::-moz-range-thumb {
1053
- width: 14px;
1054
- height: 14px;
1055
- border-radius: 50%;
1056
- background-color: #111827;
1057
- border: none;
1058
- }
1059
  }
1060
 
1061
  /* Effort Picker */
1062
  .effort-picker {
1063
  display: flex;
1064
  background-color: #f9fafb;
1065
- border: 1px solid $border-color;
1066
  padding: 2.5px;
1067
- border-radius: $radius-sm;
1068
  gap: 2px;
1069
  }
1070
 
1071
- .effort-pill {
1072
- flex: 1;
1073
- cursor: pointer;
1074
- text-align: center;
1075
- position: relative;
1076
 
1077
- input {
1078
- position: absolute;
1079
- opacity: 0;
1080
- width: 0;
1081
- height: 0;
1082
- }
1083
-
1084
- span {
1085
- display: block;
1086
- padding: 5px 0;
1087
- font-size: 11px;
1088
- font-weight: 500;
1089
- border-radius: 4px;
1090
- color: $text-secondary;
1091
- transition: $transition-smooth;
1092
- font-family: $font-main;
1093
- }
1094
-
1095
- input:checked + span {
1096
- background-color: #111827;
1097
- color: #ffffff;
1098
- }
1099
-
1100
- &:hover span:not(input:checked + span) {
1101
- color: $text-primary;
1102
- background-color: rgba(0, 0, 0, 0.02);
1103
- }
1104
  }
1105
 
1106
- /* Shelf & Media */
1107
- .shelf-list {
1108
- display: flex;
1109
- flex-direction: column;
1110
- gap: 6px;
1111
- overflow-y: auto;
1112
- }
1113
 
1114
- .empty-shelf-text {
1115
- font-size: 10.5px;
1116
- color: $text-muted;
1117
- text-align: center;
1118
- padding: 8px 0;
1119
- font-style: italic;
1120
- }
1121
 
1122
  .media-chip {
1123
  display: flex;
1124
  align-items: center;
1125
  background-color: #f9fafb;
1126
- border: 1px solid $border-color;
1127
- border-radius: $radius-sm;
1128
  padding: 5px 8px;
1129
  gap: 8px;
1130
  }
1131
 
1132
  .media-chip-preview {
1133
- width: 24px;
1134
- height: 24px;
1135
  border-radius: 4px;
1136
  object-fit: cover;
1137
  background-color: #eaeaea;
@@ -1140,18 +998,10 @@ body {
1140
  align-items: center;
1141
  justify-content: center;
1142
  font-size: 10px;
1143
-
1144
- img {
1145
- width: 100%;
1146
- height: 100%;
1147
- object-fit: cover;
1148
- }
1149
  }
1150
 
1151
- .media-chip-details {
1152
- flex: 1;
1153
- min-width: 0;
1154
- }
1155
 
1156
  .media-chip-name {
1157
  font-size: 10.5px;
@@ -1161,121 +1011,82 @@ body {
1161
  text-overflow: ellipsis;
1162
  }
1163
 
1164
- .media-chip-meta {
1165
- font-size: 9px;
1166
- color: $text-muted;
1167
- display: flex;
1168
- gap: 4px;
1169
- }
1170
-
1171
- .media-chip-remove {
1172
- background: transparent;
1173
- border: none;
1174
- color: $text-muted;
1175
- cursor: pointer;
1176
- padding: 3px;
1177
- display: flex;
1178
-
1179
- &:hover { color: $danger; }
1180
- }
1181
 
1182
  .quick-preview-item {
1183
- width: 32px;
1184
- height: 32px;
1185
- border-radius: $radius-sm;
1186
- border: 1px solid $border-color;
1187
  overflow: hidden;
1188
  position: relative;
1189
  flex-shrink: 0;
1190
-
1191
- img {
1192
- width: 100%;
1193
- height: 100%;
1194
- object-fit: cover;
1195
- }
1196
  }
1197
 
 
 
1198
  .quick-preview-badge {
1199
  position: absolute;
1200
- top: 1.5px;
1201
- right: 1.5px;
1202
- background-color: $accent-blue;
1203
- width: 6px;
1204
- height: 6px;
1205
  border-radius: 50%;
1206
  }
1207
 
1208
- .right-sidebar-footer {
1209
- padding: 10px 16px;
1210
- border-top: 1px solid $border-color;
1211
- }
1212
 
1213
  .status-indicator-group {
1214
  display: flex;
1215
  align-items: center;
1216
  gap: 6px;
1217
  font-size: 10.5px;
1218
- color: $text-secondary;
1219
  }
1220
 
1221
- .status-dot {
1222
- width: 5px;
1223
- height: 5px;
1224
- border-radius: 50%;
1225
-
1226
- &.online { background-color: #10b981; }
1227
- }
1228
 
1229
  /* Code block copy button */
1230
- .code-block-wrapper {
1231
- position: relative;
1232
 
1233
- .copy-code-btn {
1234
- position: absolute;
1235
- top: 6px;
1236
- right: 6px;
1237
- background-color: rgba(255, 255, 255, 0.1);
1238
- border: 1px solid rgba(255, 255, 255, 0.2);
1239
- color: #9ca3af;
1240
- font-size: 10px;
1241
- font-family: $font-mono;
1242
- padding: 2px 8px;
1243
- border-radius: 4px;
1244
- cursor: pointer;
1245
-
1246
- &:hover {
1247
- background-color: rgba(255, 255, 255, 0.2);
1248
- color: #e5e7eb;
1249
- }
1250
- }
1251
  }
1252
 
 
 
1253
  /* ── Animations ────────────────────────────────────────────────────── */
1254
  .spinner-light {
1255
- width: 12px;
1256
- height: 12px;
1257
  border: 1.5px solid rgba(255, 255, 255, 0.2);
1258
  border-top: 1.5px solid #ffffff;
1259
  border-radius: 50%;
1260
  animation: spin 0.8s linear infinite;
1261
  }
1262
 
1263
- @keyframes spin {
1264
- 0% { transform: rotate(0deg); }
1265
- 100% { transform: rotate(360deg); }
1266
- }
1267
-
1268
- @keyframes slideUp {
1269
- from { opacity: 0; transform: translateY(8px); }
1270
- to { opacity: 1; transform: translateY(0); }
1271
- }
1272
 
1273
- @keyframes pulse {
1274
- 0%, 100% { opacity: 1; transform: scale(1); }
1275
- 50% { opacity: 0.5; transform: scale(1.3); }
 
 
 
 
1276
  }
1277
 
1278
- /* ── Header model picker ───────────────────────────────────────────── */
1279
  .header-model-picker {
1280
  position: relative;
1281
  margin-left: 8px;
@@ -1283,26 +1094,26 @@ body {
1283
 
1284
  .model-picker-trigger {
1285
  appearance: none;
1286
- background-color: $bg-card;
1287
- border: 1px solid $border-color;
1288
- border-radius: $radius-pill;
1289
  padding: 5px 10px 5px 8px;
1290
- font-family: $font-main;
1291
  font-size: 11.5px;
1292
  font-weight: 500;
1293
- color: $text-secondary;
1294
  cursor: pointer;
1295
  display: inline-flex;
1296
  align-items: center;
1297
  gap: 6px;
1298
- transition: $transition-smooth;
1299
- box-shadow: $shadow-sm;
 
1300
 
1301
- &:hover {
1302
- background-color: $btn-light-bg;
1303
- border-color: #cbd5e1;
1304
- color: $text-primary;
1305
- }
1306
  }
1307
 
1308
  .model-picker-dot {
@@ -1311,15 +1122,12 @@ body {
1311
  border-radius: 50%;
1312
  background-color: #9ca3af;
1313
  flex-shrink: 0;
1314
-
1315
- &.loaded { background-color: #10b981; }
1316
- &.loading {
1317
- background-color: #f59e0b;
1318
- animation: pulse 1s infinite;
1319
- }
1320
- &.error { background-color: $danger; }
1321
  }
1322
 
 
 
 
 
1323
  .model-picker-name {
1324
  max-width: 220px;
1325
  white-space: nowrap;
@@ -1333,63 +1141,57 @@ body {
1333
  left: 0;
1334
  min-width: 280px;
1335
  max-width: 360px;
1336
- background-color: $bg-card;
1337
- border: 1px solid $border-color;
1338
- border-radius: $radius-md;
1339
- box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.15);
1340
  padding: 6px;
1341
  z-index: 1100;
1342
  max-height: 360px;
1343
  overflow-y: auto;
 
1344
 
1345
- .model-option {
1346
- display: flex;
1347
- align-items: flex-start;
1348
- gap: 8px;
1349
- padding: 8px 10px;
1350
- border-radius: $radius-sm;
1351
- cursor: pointer;
1352
- transition: background-color 0.15s ease;
1353
-
1354
- &:hover { background-color: $btn-light-bg; }
1355
-
1356
- &.active {
1357
- background-color: $accent-blue-bg;
1358
-
1359
- .model-option-radio {
1360
- border-color: $accent-blue;
1361
- background: radial-gradient(circle, $accent-blue 0 4px, transparent 5px);
1362
- }
1363
- }
1364
- }
1365
  }
1366
 
 
 
 
1367
  .model-option-radio {
1368
  width: 14px;
1369
  height: 14px;
1370
  border-radius: 50%;
1371
- border: 2px solid $border-color;
1372
  flex-shrink: 0;
1373
  margin-top: 2px;
1374
- transition: $transition-smooth;
1375
  }
1376
 
1377
- .model-option-text {
1378
- flex: 1;
1379
- min-width: 0;
1380
  }
1381
 
 
 
1382
  .model-option-label {
1383
  font-size: 12px;
1384
  font-weight: 600;
1385
- color: $text-primary;
1386
  line-height: 1.3;
1387
  }
1388
 
1389
  .model-option-id {
1390
- font-family: $font-mono;
1391
  font-size: 10px;
1392
- color: $text-muted;
1393
  margin-top: 2px;
1394
  word-break: break-all;
1395
  }
@@ -1398,24 +1200,21 @@ body {
1398
  display: inline-block;
1399
  margin-top: 4px;
1400
  padding: 1px 6px;
1401
- border-radius: $radius-pill;
1402
  background-color: #ecfdf5;
1403
  color: #047857;
1404
  font-size: 9px;
1405
  font-weight: 600;
1406
  text-transform: uppercase;
1407
-
1408
- &.cached {
1409
- background-color: #eff6ff;
1410
- color: $accent-blue;
1411
- }
1412
  }
1413
 
1414
- /* ── Task bar ──────────────────────────────────────────────────────── */
 
 
1415
  .task-bar {
1416
  flex-shrink: 0;
1417
- background-color: $bg-card;
1418
- border-bottom: 1px solid $border-color;
1419
  padding: 8px 20px;
1420
  }
1421
 
@@ -1432,7 +1231,7 @@ body {
1432
  font-weight: 600;
1433
  text-transform: uppercase;
1434
  letter-spacing: 0.5px;
1435
- color: $text-muted;
1436
  flex-shrink: 0;
1437
  }
1438
 
@@ -1447,28 +1246,28 @@ body {
1447
  .task-pill {
1448
  appearance: none;
1449
  background-color: transparent;
1450
- border: 1px solid $border-color;
1451
- border-radius: $radius-pill;
1452
  padding: 5px 12px;
1453
- font-family: $font-main;
1454
  font-size: 11.5px;
1455
  font-weight: 500;
1456
- color: $text-secondary;
1457
  cursor: pointer;
1458
- transition: $transition-smooth;
1459
  white-space: nowrap;
 
1460
 
1461
- &:hover {
1462
- border-color: #cbd5e1;
1463
- color: $text-primary;
1464
- background-color: $btn-light-bg;
1465
- }
1466
 
1467
- &.active {
1468
- background-color: #111827;
1469
- color: #ffffff;
1470
- border-color: #111827;
1471
- }
1472
  }
1473
 
1474
  .task-bar-spacer { flex: 1; }
@@ -1478,18 +1277,18 @@ body {
1478
  align-items: center;
1479
  gap: 6px;
1480
  font-size: 10.5px;
1481
- color: $text-muted;
1482
  flex-shrink: 0;
1483
  }
1484
 
1485
- /* ── Settings: model select ────────────────────────────────────────── */
1486
  .model-select {
1487
  width: 100%;
1488
- border: 1px solid $border-color;
1489
- border-radius: $radius-sm;
1490
  background-color: #f9fafb;
1491
- color: $text-primary;
1492
- font-family: $font-main;
1493
  font-size: 12px;
1494
  padding: 7px 10px;
1495
  outline: none;
@@ -1499,43 +1298,37 @@ body {
1499
  background-repeat: no-repeat;
1500
  background-position: right 10px center;
1501
  padding-right: 28px;
1502
-
1503
- &:focus {
1504
- border-color: $border-focus;
1505
- background-color: #ffffff;
1506
- }
1507
  }
1508
 
 
 
1509
  .btn-secondary {
1510
  appearance: none;
1511
- background-color: $bg-card;
1512
- border: 1px solid $border-color;
1513
- border-radius: $radius-sm;
1514
  padding: 6px 12px;
1515
- font-family: $font-main;
1516
  font-size: 11.5px;
1517
  font-weight: 500;
1518
- color: $text-secondary;
1519
  cursor: pointer;
1520
- transition: $transition-smooth;
1521
-
1522
- &:hover {
1523
- background-color: $btn-light-bg;
1524
- color: $text-primary;
1525
- border-color: #cbd5e1;
1526
- }
1527
 
1528
- &:disabled {
1529
- opacity: 0.5;
1530
- cursor: not-allowed;
1531
- }
1532
  }
1533
 
1534
- /* ── Agent trace ───────────────────────────────────────────────────── */
 
 
1535
  .agent-trace {
1536
  margin: 6px 0 10px;
1537
- border: 1px solid $border-color;
1538
- border-radius: $radius-sm;
1539
  background-color: #fbfbfd;
1540
  overflow: hidden;
1541
  }
@@ -1543,10 +1336,10 @@ body {
1543
  .agent-trace-header {
1544
  padding: 6px 10px;
1545
  background-color: #f3f4f6;
1546
- font-family: $font-main;
1547
  font-size: 11px;
1548
  font-weight: 600;
1549
- color: $text-secondary;
1550
  cursor: pointer;
1551
  user-select: none;
1552
  display: flex;
@@ -1554,52 +1347,45 @@ body {
1554
  align-items: center;
1555
  }
1556
 
1557
- .agent-trace-body {
1558
- padding: 8px 10px;
1559
- font-size: 11.5px;
1560
- line-height: 1.5;
1561
- }
1562
 
1563
  .agent-trace-step {
1564
  padding: 6px 0;
1565
- border-bottom: 1px dashed $border-light;
1566
-
1567
- &:last-child { border-bottom: none; }
1568
  }
1569
 
 
 
1570
  .agent-step-tag {
1571
  display: inline-block;
1572
  padding: 1px 6px;
1573
- border-radius: $radius-pill;
1574
- font-family: $font-mono;
1575
  font-size: 9.5px;
1576
  font-weight: 600;
1577
  text-transform: uppercase;
1578
  margin-right: 6px;
1579
-
1580
- &.tool_call {
1581
- background-color: #ddd6fe;
1582
- color: #6d28d9;
1583
- }
1584
- &.tool_result {
1585
- background-color: #d1fae5;
1586
- color: #047857;
1587
- }
1588
- &.final {
1589
- background-color: #111827;
1590
- color: #ffffff;
1591
- }
1592
  }
1593
 
 
 
 
 
1594
  .agent-step-content {
1595
  margin-top: 4px;
1596
- font-family: $font-mono;
1597
  font-size: 11px;
1598
- color: $text-secondary;
1599
  white-space: pre-wrap;
1600
  word-break: break-word;
1601
  }
1602
 
 
 
 
 
 
 
1603
  /* ── Responsive ────────────────────────────────────────────────────── */
1604
  @media (min-width: 641px) {
1605
  .sidebar-right.collapsed { transform: translateX(100%); }
@@ -1608,58 +1394,26 @@ body {
1608
  @media (max-width: 640px) {
1609
  body { font-size: 13.5px; }
1610
 
1611
- .workspace-header {
1612
- padding: 0 12px;
1613
- height: 50px;
1614
- }
1615
-
1616
- .header-btn {
1617
- padding: 7px;
1618
-
1619
- span { display: none; }
1620
- }
1621
-
1622
  .brand-name { font-size: 14px; }
1623
 
1624
  .sidebar-left { width: 85vw !important; }
1625
- .sidebar-right {
1626
- width: 100% !important;
1627
- border-left: none;
1628
- }
1629
 
1630
  .studio-dashboard { padding: 24px 14px; }
1631
- .welcome-heading {
1632
- font-size: 20px;
1633
- margin-bottom: 16px;
1634
- }
1635
-
1636
- .chat-messages-feed {
1637
- padding: 12px 10px;
1638
- gap: 14px;
1639
- }
1640
-
1641
- .message-body {
1642
- padding: 9px 12px;
1643
- font-size: 13px;
1644
- }
1645
 
 
 
1646
  .message-bubble { max-width: 95%; }
1647
 
1648
- .chat-mini-footer {
1649
- padding: 8px 10px;
1650
-
1651
- .console-box { padding: 6px 10px; }
1652
- }
1653
 
1654
  .console-box textarea { font-size: 16px; /* prevent iOS zoom */ }
1655
 
1656
- .recipe-chip {
1657
- padding: 6px 12px;
1658
- font-size: 11.5px;
1659
- }
1660
-
1661
- .code-block-wrapper .copy-code-btn {
1662
- font-size: 9px;
1663
- padding: 1px 6px;
1664
- }
1665
- }
 
1
+ /* DeepSeek V4 Flash β€” Clean Mobile-Friendly Style Sheet */
2
+ /* Based on working reference UI from akhaliq/Step-3.7-Flash, with custom features */
3
 
4
+ :root {
5
+ --bg-primary: #f8f9fa;
6
+ --bg-workspace: #f8f9fa;
7
+ --bg-card: #ffffff;
8
+ --bg-sidebar: #ffffff;
9
 
10
+ --border-color: #e5e7eb;
11
+ --border-light: #f1f2f4;
12
+ --border-focus: #111827;
13
 
14
+ --accent-blue: #2563eb;
15
+ --accent-blue-bg: #eff6ff;
16
 
17
+ --text-primary: #111827;
18
+ --text-secondary: #4b5563;
19
+ --text-muted: #9ca3af;
20
+ --danger: #ef4444;
21
 
22
+ --btn-light-bg: #f3f4f6;
23
+ --btn-light-hover: #e5e7eb;
24
 
25
+ --font-heading: 'Syne', -apple-system, BlinkMacSystemFont, 'Syne', Roboto, sans-serif;
26
+ --font-body: 'Syne', -apple-system, BlinkMacSystemFont, 'Syne', Roboto, sans-serif;
27
+ --font-mono: 'Syne', monospace;
28
 
29
+ --transition-smooth: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
30
+ --border-radius-sm: 8px;
31
+ --border-radius-md: 12px;
32
+ --border-radius-lg: 16px;
33
+ --border-radius-pill: 100px;
34
 
35
+ --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
36
+ --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
37
+ --shadow-lg: 0 10px 30px -10px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
 
 
 
 
 
 
38
  }
39
 
40
+ /* Reset */
41
+ * { margin: 0; padding: 0; box-sizing: border-box; }
42
+
43
  body {
44
+ background-color: var(--bg-primary);
45
+ color: var(--text-primary);
46
+ font-family: var(--font-body);
47
  font-size: 14px;
48
  line-height: 1.5;
49
  overflow: hidden;
 
53
  }
54
 
55
  /* Scrollbars */
56
+ ::-webkit-scrollbar { width: 4px; height: 4px; }
57
+ ::-webkit-scrollbar-track { background: transparent; }
58
+ ::-webkit-scrollbar-thumb { background: #e5e7eb; border-radius: 10px; }
59
+ ::-webkit-scrollbar-thumb:hover { background: #cbd5e1; }
 
 
 
 
 
 
 
 
60
 
61
  /* ── Layout ────────────────────────────────────────────────────────── */
62
  .app-container {
 
72
  display: flex;
73
  flex-direction: column;
74
  height: 100%;
75
+ background-color: var(--bg-workspace);
76
  overflow: hidden;
77
  position: relative;
78
  width: 100%;
 
81
  /* ── Header ────────────────────────────────────────────────────────── */
82
  .workspace-header {
83
  height: 56px;
84
+ border-bottom: 1px solid var(--border-color);
85
+ background-color: var(--bg-card);
86
  display: flex;
87
  align-items: center;
88
  justify-content: space-between;
 
112
  }
113
 
114
  .brand-name {
115
+ font-family: var(--font-heading);
116
  font-size: 15px;
117
  font-weight: 700;
118
  letter-spacing: -0.3px;
119
+ color: var(--text-primary);
120
  }
121
 
122
  .header-actions {
 
127
  .header-btn {
128
  appearance: none;
129
  -webkit-appearance: none;
130
+ background-color: var(--bg-card);
131
+ border: 1px solid var(--border-color);
132
+ border-radius: var(--border-radius-sm);
133
+ color: var(--text-secondary);
134
  padding: 6px 12px;
135
  font-size: 12px;
136
+ font-family: var(--font-body);
137
  font-weight: 500;
138
  cursor: pointer;
139
  display: inline-flex;
140
  align-items: center;
141
  justify-content: center;
142
  gap: 6px;
143
+ transition: var(--transition-smooth);
144
  outline: none;
145
+ box-shadow: var(--shadow-sm);
146
+ }
 
 
 
 
 
147
 
148
+ .header-btn:hover {
149
+ background-color: var(--btn-light-bg);
150
+ border-color: #cbd5e1;
151
+ color: var(--text-primary);
152
+ }
153
 
154
+ .header-btn:active {
155
+ background-color: var(--btn-light-hover);
156
+ transform: scale(0.98);
157
  }
158
 
159
+ .header-btn svg { flex-shrink: 0; }
160
+
161
  /* ── Viewport ──────────────────────────────────────────────────────── */
162
  .workspace-viewport {
163
  flex: 1;
 
178
  }
179
 
180
  .welcome-heading {
181
+ font-family: var(--font-heading);
182
  font-size: 26px;
183
  font-weight: 600;
184
+ color: var(--text-primary);
185
  margin-bottom: 24px;
186
  letter-spacing: -0.4px;
187
  text-align: center;
188
  }
189
 
 
 
 
 
 
 
 
 
190
  /* Console Input Box */
191
  .console-box {
192
  width: 100%;
193
+ background-color: var(--bg-card);
194
+ border: 1px solid var(--border-color);
195
+ border-radius: var(--border-radius-lg);
196
+ box-shadow: var(--shadow-md);
197
  padding: 12px 16px;
198
  display: flex;
199
  flex-direction: column;
200
  gap: 10px;
201
+ transition: var(--transition-smooth);
202
  margin-bottom: 36px;
203
+ }
204
 
205
+ .console-box:focus-within {
206
+ border-color: var(--border-focus);
207
+ box-shadow: var(--shadow-lg);
208
+ }
 
 
 
 
 
 
 
 
 
 
 
 
209
 
210
+ .console-box textarea {
211
+ width: 100%;
212
+ border: none;
213
+ outline: none;
214
+ resize: none;
215
+ font-family: var(--font-body);
216
+ font-size: 14.5px;
217
+ color: var(--text-primary);
218
+ background: transparent;
219
+ line-height: 1.45;
220
+ min-height: 50px;
221
  }
222
 
223
+ .console-box textarea::placeholder { color: var(--text-muted); }
224
+
225
  .inner-shelf-preview,
226
  .mini-shelf-preview {
227
  display: flex;
 
234
  display: flex;
235
  justify-content: space-between;
236
  align-items: center;
237
+ border-top: 1px solid var(--border-light);
238
  padding-top: 10px;
239
  }
240
 
 
243
  width: 28px;
244
  height: 28px;
245
  border-radius: 50%;
246
+ border: 2px solid var(--border-color);
247
  background: transparent;
248
+ color: var(--text-secondary);
249
  cursor: pointer;
250
  display: flex;
251
  align-items: center;
252
  justify-content: center;
253
+ transition: var(--transition-smooth);
254
  outline: none;
255
+ }
256
 
257
+ .circle-btn-action:hover {
258
+ background-color: var(--btn-light-bg);
259
+ color: var(--text-primary);
 
260
  }
261
 
262
  .circle-btn-send {
 
270
  display: flex;
271
  align-items: center;
272
  justify-content: center;
273
+ transition: var(--transition-smooth);
274
  outline: none;
 
 
275
  }
276
 
277
+ .circle-btn-send:hover { background-color: #111827; }
278
+
279
  /* ── Showcase Chips ────────────────────────────────────────────────── */
280
  .showcase-section { width: 100%; }
281
 
282
  .showcase-title {
283
  font-size: 12.5px;
284
+ color: var(--text-secondary);
285
  margin-bottom: 12px;
286
  text-align: center;
287
  font-weight: 500;
 
299
  align-items: center;
300
  gap: 8px;
301
  padding: 8px 16px;
302
+ border-radius: var(--border-radius-pill);
303
+ background-color: var(--bg-card);
304
+ border: 1px solid var(--border-color);
305
  cursor: pointer;
306
+ transition: var(--transition-smooth);
307
  font-size: 12px;
308
  font-weight: 500;
309
+ color: var(--text-secondary);
310
+ box-shadow: var(--shadow-sm);
311
+ }
 
 
 
 
 
 
 
 
312
 
313
+ .recipe-chip:hover {
314
+ background-color: var(--btn-light-bg);
315
+ border-color: #cbd5e1;
316
+ color: var(--text-primary);
317
+ transform: translateY(-1px);
318
  }
319
 
320
+ .recipe-chip:active { transform: translateY(0); }
321
+ .chip-icon { font-size: 14px; }
322
+
323
  /* ── Chat Thread ───────────────────────────────────────────────────── */
324
  .chat-thread-container {
325
  flex: 1;
 
348
  gap: 4px;
349
  max-width: 90%;
350
  animation: slideUp 0.25s ease-out;
351
+ }
352
+
353
+ .message-bubble.user { align-self: flex-end; }
354
+ .message-bubble.assistant { align-self: flex-start; width: 100%; max-width: 100%; }
355
+
356
+ .message-meta {
357
+ font-size: 10px;
358
+ color: var(--text-muted);
359
+ font-weight: 600;
360
+ margin: 0 4px;
361
+ }
362
+
363
+ .message-bubble.user .message-meta { text-align: right; }
364
+
365
+ .message-body {
366
+ padding: 10px 14px;
367
+ border-radius: var(--border-radius-md);
368
+ font-size: 13.5px;
369
+ line-height: 1.5;
370
+ box-shadow: var(--shadow-sm);
371
+ }
372
+
373
+ .message-bubble.user .message-body {
374
+ background-color: var(--btn-light-bg);
375
+ border: 1px solid var(--border-color);
376
+ color: var(--text-primary);
377
+ border-bottom-right-radius: 4px;
378
+ }
379
 
380
+ .message-bubble.assistant .message-body {
381
+ background-color: var(--bg-card);
382
+ border: 1px solid var(--border-color);
383
+ color: var(--text-primary);
384
+ border-bottom-left-radius: 4px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
385
  }
386
 
387
  /* Bubble Attachments */
 
394
  }
395
 
396
  .bubble-attachment-card {
397
+ border-radius: var(--border-radius-sm);
398
  overflow: hidden;
399
+ border: 1px solid var(--border-color);
400
  background-color: #fafafa;
401
  position: relative;
402
  aspect-ratio: 16/10;
403
+ }
404
 
405
+ .bubble-attachment-card img,
406
+ .bubble-attachment-card video {
407
+ width: 100%;
408
+ height: 100%;
409
+ object-fit: cover;
 
410
  }
411
 
412
  .bubble-attachment-label {
413
  position: absolute;
414
+ bottom: 0; left: 0; right: 0;
 
 
415
  background: rgba(0, 0, 0, 0.6);
416
  color: #fff;
417
  font-size: 8px;
418
  text-align: center;
419
  padding: 1px;
420
+ font-family: var(--font-mono);
421
  }
422
 
423
  /* ── Collapsible Thoughts ──────────────────────────────────────────── */
424
  .thought-container {
425
  margin-bottom: 12px;
426
+ border: 1px solid var(--border-color);
427
+ border-radius: var(--border-radius-sm);
428
  overflow: hidden;
 
 
 
 
 
429
  }
430
 
431
+ .thought-container.collapsed .thought-content { display: none; }
432
+ .thought-container.collapsed .thought-toggle-icon { transform: rotate(-90deg); }
433
+
434
  .thought-header {
435
  display: flex;
436
  justify-content: space-between;
 
439
  background-color: #f9fafb;
440
  cursor: pointer;
441
  user-select: none;
442
+ transition: var(--transition-smooth);
 
 
443
  }
444
 
445
+ .thought-header:hover { background-color: #f3f4f6; }
446
+
447
  .thought-title-group {
448
  display: flex;
449
  align-items: center;
450
  gap: 6px;
451
+ font-family: var(--font-heading);
452
  font-size: 11px;
453
  font-weight: 600;
454
+ color: var(--text-secondary);
455
  }
456
 
457
  .thought-timer {
458
+ font-family: var(--font-mono);
459
  font-size: 9.5px;
460
+ color: var(--text-muted);
461
  }
462
 
463
  .thought-toggle-icon {
464
  font-size: 9px;
465
+ color: var(--text-secondary);
466
  transition: transform 0.2s ease;
467
  }
468
 
469
  .thought-content {
470
  padding: 10px 12px;
471
+ font-family: var(--font-mono);
472
  font-size: 11.5px;
473
+ color: var(--text-secondary);
474
  background-color: #ffffff;
475
+ border-top: 1px solid var(--border-color);
476
  white-space: pre-wrap;
477
  max-height: 150px;
478
  overflow-y: auto;
 
496
  border-radius: 3px;
497
  }
498
 
499
+ .rp-bold { font-weight: 700; color: #111827; }
 
 
 
500
 
501
  .rp-ooc {
502
  color: #9ca3af;
 
518
  width: 36px;
519
  height: 20px;
520
  flex-shrink: 0;
 
 
 
 
 
 
 
 
 
 
521
  }
522
 
523
+ .toggle-switch input { opacity: 0; width: 0; height: 0; }
524
+
525
  .toggle-slider {
526
  position: absolute;
527
  cursor: pointer;
528
+ top: 0; left: 0; right: 0; bottom: 0;
 
 
 
529
  background-color: #d1d5db;
530
  transition: 0.2s;
531
  border-radius: 20px;
532
+ }
533
 
534
+ .toggle-slider:before {
535
+ position: absolute;
536
+ content: "";
537
+ height: 14px;
538
+ width: 14px;
539
+ left: 3px;
540
+ bottom: 3px;
541
+ background-color: white;
542
+ transition: 0.2s;
543
+ border-radius: 50%;
 
544
  }
545
 
546
+ .toggle-switch input:checked + .toggle-slider { background-color: #111827; }
547
+ .toggle-switch input:checked + .toggle-slider:before { transform: translateX(16px); }
548
+ .toggle-switch input:focus + .toggle-slider { box-shadow: 0 0 0 2px rgba(17, 24, 39, 0.2); }
549
+
550
  .setting-description {
551
  font-size: 10.5px;
552
+ color: var(--text-muted);
553
  line-height: 1.4;
554
  padding-top: 2px;
555
  }
556
 
557
  /* ── Markdown Typography ───────────────────────────────────────────── */
558
+ .markdown-body h1, .markdown-body h2, .markdown-body h3 {
559
+ margin-top: 12px;
560
+ margin-bottom: 4px;
561
+ font-family: var(--font-heading);
562
+ font-weight: 600;
563
+ }
564
+
565
+ .markdown-body h1 { font-size: 14.5px; border-bottom: 1px solid var(--border-light); padding-bottom: 2px; }
566
+ .markdown-body h2 { font-size: 13.5px; }
567
+ .markdown-body h3 { font-size: 12.5px; }
568
+
569
+ .markdown-body p { margin-bottom: 6px; }
570
+ .markdown-body p:last-child { margin-bottom: 0; }
571
+
572
+ .markdown-body code {
573
+ font-family: var(--font-mono);
574
+ font-size: 11px;
575
+ background-color: var(--btn-light-bg);
576
+ padding: 2px 4px;
577
+ border-radius: 4px;
578
+ color: var(--accent-blue);
579
+ }
580
+
581
+ .markdown-body pre {
582
+ margin: 10px 0;
583
+ border-radius: var(--border-radius-sm);
584
+ overflow: hidden;
585
+ border: 1px solid var(--border-color);
586
+ }
587
+
588
+ .markdown-body pre code {
589
+ display: block;
590
+ padding: 10px;
591
+ overflow-x: auto;
592
+ background-color: #0f172a !important;
593
+ color: #e2e8f0;
594
+ }
595
+
596
+ .markdown-body table {
597
+ width: 100%;
598
+ border-collapse: collapse;
599
+ margin: 10px 0;
600
+ font-size: 12px;
601
+ }
602
+
603
+ .markdown-body th, .markdown-body td {
604
+ border: 1px solid var(--border-color);
605
+ padding: 6px 8px;
606
+ text-align: left;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
607
  }
608
 
609
+ .markdown-body th { background-color: var(--bg-primary); font-weight: 600; }
610
+
611
  /* ── Chat Footer ───────────────────────────────────────────────────── */
612
  .chat-mini-footer {
613
  padding: 12px 20px;
614
+ background-color: var(--bg-workspace);
615
+ border-top: 1px solid var(--border-color);
616
+ }
617
 
618
+ .chat-mini-footer .console-box {
619
+ max-width: 680px;
620
+ margin: 0 auto;
621
+ box-shadow: var(--shadow-sm);
622
+ padding: 8px 12px;
623
+ border-radius: var(--border-radius-md);
624
+ margin-bottom: 0;
 
625
  }
626
 
627
  /* ── Left Sidebar Drawer (Chat History) ────────────────────────────── */
 
631
  left: 0;
632
  bottom: 0;
633
  width: 280px;
634
+ background-color: var(--bg-sidebar);
635
+ border-right: 1px solid var(--border-color);
636
  display: flex;
637
  flex-direction: column;
638
  z-index: 1050;
639
  transform: translateX(-100%);
640
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
641
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.08);
 
 
642
  }
643
 
644
+ .sidebar-left.open { transform: translateX(0); }
645
+
646
  .left-sidebar-header {
647
  padding: 14px 16px;
648
+ border-bottom: 1px solid var(--border-color);
649
  display: flex;
650
  justify-content: space-between;
651
  align-items: center;
 
656
  align-items: center;
657
  gap: 10px;
658
  padding: 12px 16px;
659
+ border-bottom: 1px solid var(--border-light);
660
  }
661
 
662
  .user-avatar {
663
  width: 32px;
664
  height: 32px;
665
  border-radius: 50%;
666
+ background-color: var(--btn-light-bg);
667
  display: flex;
668
  align-items: center;
669
  justify-content: center;
670
  font-size: 14px;
671
  font-weight: 600;
672
+ color: var(--text-muted);
673
  flex-shrink: 0;
 
 
 
 
 
674
  }
675
 
676
+ .user-avatar.logged-in { background-color: #111827; color: #ffffff; }
677
+
678
+ .user-info-text { flex: 1; min-width: 0; }
 
679
 
680
  .user-display-name {
681
  font-size: 12px;
682
  font-weight: 600;
683
+ color: var(--text-primary);
684
  white-space: nowrap;
685
  overflow: hidden;
686
  text-overflow: ellipsis;
 
692
  padding: 3px 10px;
693
  font-size: 10px;
694
  font-weight: 600;
695
+ font-family: var(--font-body);
696
  color: #ffffff;
697
  background-color: #111827;
698
  border: none;
699
+ border-radius: var(--border-radius-pill);
700
  cursor: pointer;
 
 
 
 
 
 
 
 
 
 
 
 
 
701
  }
702
 
703
+ .hf-login-btn:hover { background-color: #374151; }
704
+ .hf-login-btn.logged-in { background-color: transparent; color: var(--danger); border: 1px solid var(--border-color); }
705
+ .hf-login-btn.logged-in:hover { background-color: #fef2f2; border-color: #fecaca; }
706
+
707
  .new-chat-btn {
708
  display: flex;
709
  align-items: center;
710
  gap: 8px;
711
  margin: 12px 16px 8px;
712
  padding: 8px 14px;
713
+ border-radius: var(--border-radius-sm);
714
+ background-color: var(--bg-card);
715
+ border: 1px dashed var(--border-color);
716
+ color: var(--text-secondary);
717
  font-size: 12px;
718
  font-weight: 500;
719
+ font-family: var(--font-body);
720
  cursor: pointer;
721
+ transition: var(--transition-smooth);
722
  width: calc(100% - 32px);
723
+ }
724
 
725
+ .new-chat-btn:hover {
726
+ border-color: #cbd5e1;
727
+ color: var(--text-primary);
728
+ background-color: var(--btn-light-bg);
729
+ border-style: solid;
 
730
  }
731
 
732
  .chat-history-list {
 
740
 
741
  .empty-history-text {
742
  font-size: 11px;
743
+ color: var(--text-muted);
744
  text-align: center;
745
  padding: 20px 10px;
746
  line-height: 1.6;
 
751
  align-items: center;
752
  gap: 4px;
753
  padding: 8px 10px;
754
+ border-radius: var(--border-radius-sm);
755
  cursor: pointer;
756
+ transition: var(--transition-smooth);
757
  position: relative;
 
 
 
 
 
 
 
 
 
 
 
758
  }
759
 
760
+ .chat-history-item:hover { background-color: var(--btn-light-bg); }
761
+ .chat-history-item.active { background-color: var(--accent-blue-bg); border: 1px solid rgba(37, 99, 235, 0.15); }
762
+
763
+ .history-item-content { flex: 1; min-width: 0; overflow: hidden; }
 
764
 
765
  .history-item-title {
766
  font-size: 12px;
767
  font-weight: 500;
768
+ color: var(--text-primary);
769
  white-space: nowrap;
770
  overflow: hidden;
771
  text-overflow: ellipsis;
772
  }
773
 
774
+ .history-item-meta { font-size: 9.5px; color: var(--text-muted); margin-top: 2px; }
 
 
 
 
775
 
776
  .history-item-delete {
777
  width: 22px;
 
779
  border-radius: 4px;
780
  border: none;
781
  background: transparent;
782
+ color: var(--text-muted);
783
  cursor: pointer;
784
  display: flex;
785
  align-items: center;
786
  justify-content: center;
787
  opacity: 0;
788
+ transition: var(--transition-smooth);
789
  flex-shrink: 0;
 
 
 
 
 
790
  }
791
 
792
+ .chat-history-item:hover .history-item-delete { opacity: 1; }
793
+ .history-item-delete:hover { background-color: #fef2f2; color: var(--danger); }
794
+
795
  .left-sidebar-footer {
796
  padding: 10px 16px;
797
+ border-top: 1px solid var(--border-color);
798
  }
799
 
800
  /* Left sidebar overlay */
801
  .sidebar-overlay-left {
802
  position: absolute;
803
+ top: 0; left: 0; right: 0; bottom: 0;
 
 
 
804
  background-color: rgba(0, 0, 0, 0.3);
805
  backdrop-filter: blur(2px);
806
  z-index: 1040;
807
  opacity: 0;
808
  pointer-events: none;
809
  transition: opacity 0.2s ease;
 
 
 
 
 
810
  }
811
 
812
+ .sidebar-overlay-left.active { opacity: 1; pointer-events: auto; }
813
+
814
  /* ── Right Sidebar Overlay ─────────────────────────────────────────── */
815
  .sidebar-overlay {
816
  position: absolute;
817
+ top: 0; left: 0; right: 0; bottom: 0;
 
 
 
818
  background-color: rgba(0, 0, 0, 0.2);
819
  backdrop-filter: blur(1.5px);
820
  z-index: 990;
821
  opacity: 0;
822
  pointer-events: none;
823
  transition: opacity 0.2s ease;
 
 
 
 
 
824
  }
825
 
826
+ .sidebar-overlay.active { opacity: 1; pointer-events: auto; }
827
+
828
  /* ── Right Settings Drawer ─────────────────────────────────────────── */
829
  .sidebar-right {
830
  position: absolute;
831
+ top: 0; right: 0; bottom: 0;
 
 
832
  width: 320px;
833
+ background-color: var(--bg-sidebar);
834
+ border-left: 1px solid var(--border-color);
835
  display: flex;
836
  flex-direction: column;
837
  z-index: 1000;
838
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
839
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.03);
840
  transform: translateX(0);
 
 
841
  }
842
 
843
+ .sidebar-right.collapsed { transform: translateX(100%); }
844
+
845
  .right-sidebar-header {
846
  padding: 14px 20px;
847
+ border-bottom: 1px solid var(--border-color);
848
  display: flex;
849
  justify-content: space-between;
850
  align-items: center;
 
 
 
 
 
 
 
851
  }
852
 
853
+ .right-sidebar-header h3 {
854
+ font-family: var(--font-heading);
855
+ font-size: 13.5px;
856
+ font-weight: 600;
857
+ color: var(--text-primary);
858
  }
859
 
860
+ .close-drawer { border-color: transparent !important; }
861
+ .close-drawer:hover { background-color: var(--btn-light-bg) !important; }
862
+
863
  .sidebar-right-content {
864
  flex: 1;
865
  overflow-y: auto;
 
870
  }
871
 
872
  .right-block-card {
873
+ background-color: var(--bg-card);
874
+ border: 1px solid var(--border-color);
875
+ border-radius: var(--border-radius-md);
876
  padding: 14px;
877
  display: flex;
878
  flex-direction: column;
879
  gap: 10px;
880
  }
881
 
882
+ .flex-1-card { flex: 1; min-height: 180px; }
 
 
 
883
 
884
  .card-block-header {
885
  display: flex;
 
888
  }
889
 
890
  .block-title {
891
+ font-family: var(--font-heading);
892
  font-size: 12px;
893
  font-weight: 600;
894
+ color: var(--text-primary);
895
  }
896
 
897
  .block-value {
898
+ font-family: var(--font-mono);
899
  font-size: 11px;
900
+ color: var(--text-secondary);
901
  font-weight: 500;
902
  }
903
 
904
  /* System Prompt */
905
  .system-prompt-textarea {
906
  width: 100%;
907
+ border: 1px solid var(--border-color);
908
+ border-radius: var(--border-radius-sm);
909
  background-color: #f9fafb;
910
+ color: var(--text-primary);
911
+ font-family: var(--font-body);
912
  font-size: 12px;
913
  line-height: 1.5;
914
  padding: 8px 10px;
915
  resize: vertical;
916
  min-height: 60px;
917
  outline: none;
 
 
 
 
 
 
 
918
  }
919
 
920
+ .system-prompt-textarea:focus { border-color: var(--border-focus); background-color: #ffffff; }
921
+ .system-prompt-textarea::placeholder { color: var(--text-muted); }
922
+
923
  /* Slider */
924
  .slider-input {
925
  -webkit-appearance: none;
 
930
  background-color: #e5e7eb;
931
  outline: none;
932
  cursor: pointer;
933
+ }
934
 
935
+ .slider-input::-webkit-slider-thumb {
936
+ -webkit-appearance: none;
937
+ width: 14px; height: 14px;
938
+ border-radius: 50%;
939
+ background-color: #111827;
940
+ cursor: pointer;
941
+ }
 
942
 
943
+ .slider-input::-moz-range-thumb {
944
+ width: 14px; height: 14px;
945
+ border-radius: 50%;
946
+ background-color: #111827;
947
+ border: none;
 
 
948
  }
949
 
950
  /* Effort Picker */
951
  .effort-picker {
952
  display: flex;
953
  background-color: #f9fafb;
954
+ border: 1px solid var(--border-color);
955
  padding: 2.5px;
956
+ border-radius: var(--border-radius-sm);
957
  gap: 2px;
958
  }
959
 
960
+ .effort-pill { flex: 1; cursor: pointer; text-align: center; position: relative; }
961
+ .effort-pill input { position: absolute; opacity: 0; width: 0; height: 0; }
 
 
 
962
 
963
+ .effort-pill span {
964
+ display: block;
965
+ padding: 5px 0;
966
+ font-size: 11px;
967
+ font-weight: 500;
968
+ border-radius: 4px;
969
+ color: var(--text-secondary);
970
+ transition: var(--transition-smooth);
971
+ font-family: var(--font-heading);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
972
  }
973
 
974
+ .effort-pill input:checked + span { background-color: #111827; color: #ffffff; }
975
+ .effort-pill:hover span:not(input:checked + span) { color: var(--text-primary); background-color: rgba(0,0,0,0.02); }
 
 
 
 
 
976
 
977
+ /* Shelf & Media */
978
+ .shelf-list { display: flex; flex-direction: column; gap: 6px; overflow-y: auto; }
979
+ .empty-shelf-text { font-size: 10.5px; color: var(--text-muted); text-align: center; padding: 8px 0; font-style: italic; }
 
 
 
 
980
 
981
  .media-chip {
982
  display: flex;
983
  align-items: center;
984
  background-color: #f9fafb;
985
+ border: 1px solid var(--border-color);
986
+ border-radius: var(--border-radius-sm);
987
  padding: 5px 8px;
988
  gap: 8px;
989
  }
990
 
991
  .media-chip-preview {
992
+ width: 24px; height: 24px;
 
993
  border-radius: 4px;
994
  object-fit: cover;
995
  background-color: #eaeaea;
 
998
  align-items: center;
999
  justify-content: center;
1000
  font-size: 10px;
 
 
 
 
 
 
1001
  }
1002
 
1003
+ .media-chip-preview img { width: 100%; height: 100%; object-fit: cover; }
1004
+ .media-chip-details { flex: 1; min-width: 0; }
 
 
1005
 
1006
  .media-chip-name {
1007
  font-size: 10.5px;
 
1011
  text-overflow: ellipsis;
1012
  }
1013
 
1014
+ .media-chip-meta { font-size: 9px; color: var(--text-muted); display: flex; gap: 4px; }
1015
+ .media-chip-remove { background: transparent; border: none; color: var(--text-muted); cursor: pointer; padding: 3px; display: flex; }
1016
+ .media-chip-remove:hover { color: var(--danger); }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1017
 
1018
  .quick-preview-item {
1019
+ width: 32px; height: 32px;
1020
+ border-radius: var(--border-radius-sm);
1021
+ border: 1px solid var(--border-color);
 
1022
  overflow: hidden;
1023
  position: relative;
1024
  flex-shrink: 0;
 
 
 
 
 
 
1025
  }
1026
 
1027
+ .quick-preview-item img { width: 100%; height: 100%; object-fit: cover; }
1028
+
1029
  .quick-preview-badge {
1030
  position: absolute;
1031
+ top: 1.5px; right: 1.5px;
1032
+ background-color: var(--accent-blue);
1033
+ width: 6px; height: 6px;
 
 
1034
  border-radius: 50%;
1035
  }
1036
 
1037
+ .right-sidebar-footer { padding: 10px 16px; border-top: 1px solid var(--border-color); }
 
 
 
1038
 
1039
  .status-indicator-group {
1040
  display: flex;
1041
  align-items: center;
1042
  gap: 6px;
1043
  font-size: 10.5px;
1044
+ color: var(--text-secondary);
1045
  }
1046
 
1047
+ .status-dot { width: 5px; height: 5px; border-radius: 50%; }
1048
+ .status-dot.online { background-color: #10b981; }
 
 
 
 
 
1049
 
1050
  /* Code block copy button */
1051
+ .code-block-wrapper { position: relative; }
 
1052
 
1053
+ .code-block-wrapper .copy-code-btn {
1054
+ position: absolute;
1055
+ top: 6px; right: 6px;
1056
+ background-color: rgba(255, 255, 255, 0.1);
1057
+ border: 1px solid rgba(255, 255, 255, 0.2);
1058
+ color: #9ca3af;
1059
+ font-size: 10px;
1060
+ font-family: var(--font-mono);
1061
+ padding: 2px 8px;
1062
+ border-radius: 4px;
1063
+ cursor: pointer;
 
 
 
 
 
 
 
1064
  }
1065
 
1066
+ .code-block-wrapper .copy-code-btn:hover { background-color: rgba(255, 255, 255, 0.2); color: #e5e7eb; }
1067
+
1068
  /* ── Animations ────────────────────────────────────────────────────── */
1069
  .spinner-light {
1070
+ width: 12px; height: 12px;
 
1071
  border: 1.5px solid rgba(255, 255, 255, 0.2);
1072
  border-top: 1.5px solid #ffffff;
1073
  border-radius: 50%;
1074
  animation: spin 0.8s linear infinite;
1075
  }
1076
 
1077
+ @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
1078
+ @keyframes slideUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
 
 
 
 
 
 
 
1079
 
1080
+ /* ── Welcome sub heading (new) ─────────────────────────────────────── */
1081
+ .welcome-sub {
1082
+ font-size: 12px;
1083
+ color: var(--text-muted);
1084
+ margin-top: -16px;
1085
+ margin-bottom: 24px;
1086
+ text-align: center;
1087
  }
1088
 
1089
+ /* ── Header model picker (new) ─────────────────────────────────────── */
1090
  .header-model-picker {
1091
  position: relative;
1092
  margin-left: 8px;
 
1094
 
1095
  .model-picker-trigger {
1096
  appearance: none;
1097
+ background-color: var(--bg-card);
1098
+ border: 1px solid var(--border-color);
1099
+ border-radius: var(--border-radius-pill);
1100
  padding: 5px 10px 5px 8px;
1101
+ font-family: var(--font-body);
1102
  font-size: 11.5px;
1103
  font-weight: 500;
1104
+ color: var(--text-secondary);
1105
  cursor: pointer;
1106
  display: inline-flex;
1107
  align-items: center;
1108
  gap: 6px;
1109
+ transition: var(--transition-smooth);
1110
+ box-shadow: var(--shadow-sm);
1111
+ }
1112
 
1113
+ .model-picker-trigger:hover {
1114
+ background-color: var(--btn-light-bg);
1115
+ border-color: #cbd5e1;
1116
+ color: var(--text-primary);
 
1117
  }
1118
 
1119
  .model-picker-dot {
 
1122
  border-radius: 50%;
1123
  background-color: #9ca3af;
1124
  flex-shrink: 0;
 
 
 
 
 
 
 
1125
  }
1126
 
1127
+ .model-picker-dot.loaded { background-color: #10b981; }
1128
+ .model-picker-dot.loading { background-color: #f59e0b; animation: pulse 1s infinite; }
1129
+ .model-picker-dot.error { background-color: var(--danger); }
1130
+
1131
  .model-picker-name {
1132
  max-width: 220px;
1133
  white-space: nowrap;
 
1141
  left: 0;
1142
  min-width: 280px;
1143
  max-width: 360px;
1144
+ background-color: var(--bg-card);
1145
+ border: 1px solid var(--border-color);
1146
+ border-radius: var(--border-radius-md);
1147
+ box-shadow: 0 10px 30px -8px rgba(0,0,0,0.15);
1148
  padding: 6px;
1149
  z-index: 1100;
1150
  max-height: 360px;
1151
  overflow-y: auto;
1152
+ }
1153
 
1154
+ .model-picker-menu .model-option {
1155
+ display: flex;
1156
+ align-items: flex-start;
1157
+ gap: 8px;
1158
+ padding: 8px 10px;
1159
+ border-radius: var(--border-radius-sm);
1160
+ cursor: pointer;
1161
+ transition: background-color 0.15s ease;
 
 
 
 
 
 
 
 
 
 
 
 
1162
  }
1163
 
1164
+ .model-picker-menu .model-option:hover { background-color: var(--btn-light-bg); }
1165
+ .model-picker-menu .model-option.active { background-color: var(--accent-blue-bg); }
1166
+
1167
  .model-option-radio {
1168
  width: 14px;
1169
  height: 14px;
1170
  border-radius: 50%;
1171
+ border: 2px solid var(--border-color);
1172
  flex-shrink: 0;
1173
  margin-top: 2px;
1174
+ transition: var(--transition-smooth);
1175
  }
1176
 
1177
+ .model-option.active .model-option-radio {
1178
+ border-color: var(--accent-blue);
1179
+ background: radial-gradient(circle, var(--accent-blue) 0 4px, transparent 5px);
1180
  }
1181
 
1182
+ .model-option-text { flex: 1; min-width: 0; }
1183
+
1184
  .model-option-label {
1185
  font-size: 12px;
1186
  font-weight: 600;
1187
+ color: var(--text-primary);
1188
  line-height: 1.3;
1189
  }
1190
 
1191
  .model-option-id {
1192
+ font-family: var(--font-mono);
1193
  font-size: 10px;
1194
+ color: var(--text-muted);
1195
  margin-top: 2px;
1196
  word-break: break-all;
1197
  }
 
1200
  display: inline-block;
1201
  margin-top: 4px;
1202
  padding: 1px 6px;
1203
+ border-radius: var(--border-radius-pill);
1204
  background-color: #ecfdf5;
1205
  color: #047857;
1206
  font-size: 9px;
1207
  font-weight: 600;
1208
  text-transform: uppercase;
 
 
 
 
 
1209
  }
1210
 
1211
+ .model-option-badge.cached { background-color: #eff6ff; color: var(--accent-blue); }
1212
+
1213
+ /* ── Task bar (new) ─────────────────────────────────────────────────── */
1214
  .task-bar {
1215
  flex-shrink: 0;
1216
+ background-color: var(--bg-card);
1217
+ border-bottom: 1px solid var(--border-color);
1218
  padding: 8px 20px;
1219
  }
1220
 
 
1231
  font-weight: 600;
1232
  text-transform: uppercase;
1233
  letter-spacing: 0.5px;
1234
+ color: var(--text-muted);
1235
  flex-shrink: 0;
1236
  }
1237
 
 
1246
  .task-pill {
1247
  appearance: none;
1248
  background-color: transparent;
1249
+ border: 1px solid var(--border-color);
1250
+ border-radius: var(--border-radius-pill);
1251
  padding: 5px 12px;
1252
+ font-family: var(--font-body);
1253
  font-size: 11.5px;
1254
  font-weight: 500;
1255
+ color: var(--text-secondary);
1256
  cursor: pointer;
1257
+ transition: var(--transition-smooth);
1258
  white-space: nowrap;
1259
+ }
1260
 
1261
+ .task-pill:hover {
1262
+ border-color: #cbd5e1;
1263
+ color: var(--text-primary);
1264
+ background-color: var(--btn-light-bg);
1265
+ }
1266
 
1267
+ .task-pill.active {
1268
+ background-color: #111827;
1269
+ color: #ffffff;
1270
+ border-color: #111827;
 
1271
  }
1272
 
1273
  .task-bar-spacer { flex: 1; }
 
1277
  align-items: center;
1278
  gap: 6px;
1279
  font-size: 10.5px;
1280
+ color: var(--text-muted);
1281
  flex-shrink: 0;
1282
  }
1283
 
1284
+ /* ── Settings: model select (new) ──────────────────────────────────── */
1285
  .model-select {
1286
  width: 100%;
1287
+ border: 1px solid var(--border-color);
1288
+ border-radius: var(--border-radius-sm);
1289
  background-color: #f9fafb;
1290
+ color: var(--text-primary);
1291
+ font-family: var(--font-body);
1292
  font-size: 12px;
1293
  padding: 7px 10px;
1294
  outline: none;
 
1298
  background-repeat: no-repeat;
1299
  background-position: right 10px center;
1300
  padding-right: 28px;
 
 
 
 
 
1301
  }
1302
 
1303
+ .model-select:focus { border-color: var(--border-focus); background-color: #ffffff; }
1304
+
1305
  .btn-secondary {
1306
  appearance: none;
1307
+ background-color: var(--bg-card);
1308
+ border: 1px solid var(--border-color);
1309
+ border-radius: var(--border-radius-sm);
1310
  padding: 6px 12px;
1311
+ font-family: var(--font-body);
1312
  font-size: 11.5px;
1313
  font-weight: 500;
1314
+ color: var(--text-secondary);
1315
  cursor: pointer;
1316
+ transition: var(--transition-smooth);
1317
+ }
 
 
 
 
 
1318
 
1319
+ .btn-secondary:hover {
1320
+ background-color: var(--btn-light-bg);
1321
+ color: var(--text-primary);
1322
+ border-color: #cbd5e1;
1323
  }
1324
 
1325
+ .btn-secondary:disabled { opacity: 0.5; cursor: not-allowed; }
1326
+
1327
+ /* ── Agent trace (new) ──────────────────────────────────────────────── */
1328
  .agent-trace {
1329
  margin: 6px 0 10px;
1330
+ border: 1px solid var(--border-color);
1331
+ border-radius: var(--border-radius-sm);
1332
  background-color: #fbfbfd;
1333
  overflow: hidden;
1334
  }
 
1336
  .agent-trace-header {
1337
  padding: 6px 10px;
1338
  background-color: #f3f4f6;
1339
+ font-family: var(--font-heading);
1340
  font-size: 11px;
1341
  font-weight: 600;
1342
+ color: var(--text-secondary);
1343
  cursor: pointer;
1344
  user-select: none;
1345
  display: flex;
 
1347
  align-items: center;
1348
  }
1349
 
1350
+ .agent-trace-body { padding: 8px 10px; font-size: 11.5px; line-height: 1.5; }
 
 
 
 
1351
 
1352
  .agent-trace-step {
1353
  padding: 6px 0;
1354
+ border-bottom: 1px dashed var(--border-light);
 
 
1355
  }
1356
 
1357
+ .agent-trace-step:last-child { border-bottom: none; }
1358
+
1359
  .agent-step-tag {
1360
  display: inline-block;
1361
  padding: 1px 6px;
1362
+ border-radius: var(--border-radius-pill);
1363
+ font-family: var(--font-mono);
1364
  font-size: 9.5px;
1365
  font-weight: 600;
1366
  text-transform: uppercase;
1367
  margin-right: 6px;
 
 
 
 
 
 
 
 
 
 
 
 
 
1368
  }
1369
 
1370
+ .agent-step-tag.tool_call { background-color: #ddd6fe; color: #6d28d9; }
1371
+ .agent-step-tag.tool_result { background-color: #d1fae5; color: #047857; }
1372
+ .agent-step-tag.final { background-color: #111827; color: #ffffff; }
1373
+
1374
  .agent-step-content {
1375
  margin-top: 4px;
1376
+ font-family: var(--font-mono);
1377
  font-size: 11px;
1378
+ color: var(--text-secondary);
1379
  white-space: pre-wrap;
1380
  word-break: break-word;
1381
  }
1382
 
1383
+ /* ── Pulse animation ────────────────────────────────────────────────── */
1384
+ @keyframes pulse {
1385
+ 0%, 100% { opacity: 1; transform: scale(1); }
1386
+ 50% { opacity: 0.5; transform: scale(1.3); }
1387
+ }
1388
+
1389
  /* ── Responsive ────────────────────────────────────────────────────── */
1390
  @media (min-width: 641px) {
1391
  .sidebar-right.collapsed { transform: translateX(100%); }
 
1394
  @media (max-width: 640px) {
1395
  body { font-size: 13.5px; }
1396
 
1397
+ .workspace-header { padding: 0 12px; height: 50px; }
1398
+ .header-btn span { display: none; }
1399
+ .header-btn { padding: 7px; }
 
 
 
 
 
 
 
 
1400
  .brand-name { font-size: 14px; }
1401
 
1402
  .sidebar-left { width: 85vw !important; }
1403
+ .sidebar-right { width: 100% !important; border-left: none; }
 
 
 
1404
 
1405
  .studio-dashboard { padding: 24px 14px; }
1406
+ .welcome-heading { font-size: 20px; margin-bottom: 16px; }
 
 
 
 
 
 
 
 
 
 
 
 
 
1407
 
1408
+ .chat-messages-feed { padding: 12px 10px; gap: 14px; }
1409
+ .message-body { padding: 9px 12px; font-size: 13px; }
1410
  .message-bubble { max-width: 95%; }
1411
 
1412
+ .chat-mini-footer { padding: 8px 10px; }
1413
+ .chat-mini-footer .console-box { padding: 6px 10px; }
 
 
 
1414
 
1415
  .console-box textarea { font-size: 16px; /* prevent iOS zoom */ }
1416
 
1417
+ .recipe-chip { padding: 6px 12px; font-size: 11.5px; }
1418
+ .code-block-wrapper .copy-code-btn { font-size: 9px; padding: 1px 6px; }
1419
+ }