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

Update static/style.css

Browse files
Files changed (1) hide show
  1. static/style.css +292 -84
static/style.css CHANGED
@@ -35,7 +35,11 @@ $shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -1px rgba(0, 0, 0, 0.0
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
- * { margin: 0; padding: 0; box-sizing: border-box; }
 
 
 
 
39
 
40
  body {
41
  background-color: $bg-primary;
@@ -50,10 +54,18 @@ body {
50
  }
51
 
52
  /* Scrollbars */
53
- ::-webkit-scrollbar { width: 4px; height: 4px; }
54
- ::-webkit-scrollbar-track { background: transparent; }
55
- ::-webkit-scrollbar-thumb { background: #e5e7eb; border-radius: 10px; }
56
- ::-webkit-scrollbar-thumb:hover { background: #cbd5e1; }
 
 
 
 
 
 
 
 
57
 
58
  /* ── Layout ────────────────────────────────────────────────────────── */
59
  .app-container {
@@ -322,9 +334,9 @@ body {
322
  }
323
 
324
  &:active { transform: translateY(0); }
325
- }
326
 
327
- .chip-icon { font-size: 14px; }
 
328
 
329
  /* ── Chat Thread ───────────────────────────────────────────────────── */
330
  .chat-thread-container {
@@ -356,7 +368,11 @@ body {
356
  animation: slideUp 0.25s ease-out;
357
 
358
  &.user { align-self: flex-end; }
359
- &.assistant { align-self: flex-start; width: 100%; max-width: 100%; }
 
 
 
 
360
 
361
  .message-meta {
362
  font-size: 10px;
@@ -417,7 +433,9 @@ body {
417
 
418
  .bubble-attachment-label {
419
  position: absolute;
420
- bottom: 0; left: 0; right: 0;
 
 
421
  background: rgba(0, 0, 0, 0.6);
422
  color: #fff;
423
  font-size: 8px;
@@ -504,7 +522,10 @@ body {
504
  border-radius: 3px;
505
  }
506
 
507
- .rp-bold { font-weight: 700; color: #111827; }
 
 
 
508
 
509
  .rp-ooc {
510
  color: #9ca3af;
@@ -532,12 +553,19 @@ body {
532
  width: 0;
533
  height: 0;
534
  }
 
 
 
 
535
  }
536
 
537
  .toggle-slider {
538
  position: absolute;
539
  cursor: pointer;
540
- top: 0; left: 0; right: 0; bottom: 0;
 
 
 
541
  background-color: #d1d5db;
542
  transition: 0.2s;
543
  border-radius: 20px;
@@ -555,10 +583,6 @@ body {
555
  }
556
  }
557
 
558
- .toggle-switch input:checked + .toggle-slider { background-color: #111827; }
559
- .toggle-switch input:checked + .toggle-slider:before { transform: translateX(16px); }
560
- .toggle-switch input:focus + .toggle-slider { box-shadow: 0 0 0 2px rgba(17, 24, 39, 0.2); }
561
-
562
  .setting-description {
563
  font-size: 10.5px;
564
  color: $text-muted;
@@ -568,14 +592,21 @@ body {
568
 
569
  /* ── Markdown Typography ───────────────────────────────────────────── */
570
  .markdown-body {
571
- h1, h2, h3 {
 
 
572
  margin-top: 12px;
573
  margin-bottom: 4px;
574
  font-family: $font-main;
575
  font-weight: 600;
576
  }
577
 
578
- h1 { font-size: 14.5px; border-bottom: 1px solid $border-light; padding-bottom: 2px; }
 
 
 
 
 
579
  h2 { font-size: 13.5px; }
580
  h3 { font-size: 12.5px; }
581
 
@@ -616,13 +647,17 @@ body {
616
  font-size: 12px;
617
  }
618
 
619
- th, td {
 
620
  border: 1px solid $border-color;
621
  padding: 6px 8px;
622
  text-align: left;
623
  }
624
 
625
- th { background-color: $bg-primary; font-weight: 600; }
 
 
 
626
  }
627
 
628
  /* ── Chat Footer ───────────────────────────────────────────────────── */
@@ -689,10 +724,16 @@ body {
689
  color: $text-muted;
690
  flex-shrink: 0;
691
 
692
- &.logged-in { background-color: #111827; color: #ffffff; }
 
 
 
693
  }
694
 
695
- .user-info-text { flex: 1; min-width: 0; }
 
 
 
696
 
697
  .user-display-name {
698
  font-size: 12px;
@@ -723,7 +764,10 @@ body {
723
  color: $danger;
724
  border: 1px solid $border-color;
725
 
726
- &:hover { background-color: #fef2f2; border-color: #fecaca; }
 
 
 
727
  }
728
  }
729
 
@@ -779,17 +823,23 @@ body {
779
  transition: $transition-smooth;
780
  position: relative;
781
 
782
- &:hover { background-color: $btn-light-bg; }
 
 
 
 
783
 
784
  &.active {
785
  background-color: $accent-blue-bg;
786
  border: 1px solid rgba(37, 99, 235, 0.15);
787
  }
788
-
789
- &:hover .history-item-delete { opacity: 1; }
790
  }
791
 
792
- .history-item-content { flex: 1; min-width: 0; overflow: hidden; }
 
 
 
 
793
 
794
  .history-item-title {
795
  font-size: 12px;
@@ -800,7 +850,11 @@ body {
800
  text-overflow: ellipsis;
801
  }
802
 
803
- .history-item-meta { font-size: 9.5px; color: $text-muted; margin-top: 2px; }
 
 
 
 
804
 
805
  .history-item-delete {
806
  width: 22px;
@@ -817,7 +871,10 @@ body {
817
  transition: $transition-smooth;
818
  flex-shrink: 0;
819
 
820
- &:hover { background-color: #fef2f2; color: $danger; }
 
 
 
821
  }
822
 
823
  .left-sidebar-footer {
@@ -828,7 +885,10 @@ body {
828
  /* Left sidebar overlay */
829
  .sidebar-overlay-left {
830
  position: absolute;
831
- top: 0; left: 0; right: 0; bottom: 0;
 
 
 
832
  background-color: rgba(0, 0, 0, 0.3);
833
  backdrop-filter: blur(2px);
834
  z-index: 1040;
@@ -836,13 +896,19 @@ body {
836
  pointer-events: none;
837
  transition: opacity 0.2s ease;
838
 
839
- &.active { opacity: 1; pointer-events: auto; }
 
 
 
840
  }
841
 
842
  /* ── Right Sidebar Overlay ─────────────────────────────────────────── */
843
  .sidebar-overlay {
844
  position: absolute;
845
- top: 0; left: 0; right: 0; bottom: 0;
 
 
 
846
  background-color: rgba(0, 0, 0, 0.2);
847
  backdrop-filter: blur(1.5px);
848
  z-index: 990;
@@ -850,13 +916,18 @@ body {
850
  pointer-events: none;
851
  transition: opacity 0.2s ease;
852
 
853
- &.active { opacity: 1; pointer-events: auto; }
 
 
 
854
  }
855
 
856
  /* ── Right Settings Drawer ─────────────────────────────────────────── */
857
  .sidebar-right {
858
  position: absolute;
859
- top: 0; right: 0; bottom: 0;
 
 
860
  width: 320px;
861
  background-color: $bg-sidebar;
862
  border-left: 1px solid $border-color;
@@ -910,7 +981,10 @@ body {
910
  gap: 10px;
911
  }
912
 
913
- .flex-1-card { flex: 1; min-height: 180px; }
 
 
 
914
 
915
  .card-block-header {
916
  display: flex;
@@ -947,7 +1021,11 @@ body {
947
  min-height: 60px;
948
  outline: none;
949
 
950
- &:focus { border-color: $border-focus; background-color: #ffffff; }
 
 
 
 
951
  &::placeholder { color: $text-muted; }
952
  }
953
 
@@ -964,14 +1042,16 @@ body {
964
 
965
  &::-webkit-slider-thumb {
966
  -webkit-appearance: none;
967
- width: 14px; height: 14px;
 
968
  border-radius: 50%;
969
  background-color: #111827;
970
  cursor: pointer;
971
  }
972
 
973
  &::-moz-range-thumb {
974
- width: 14px; height: 14px;
 
975
  border-radius: 50%;
976
  background-color: #111827;
977
  border: none;
@@ -1012,13 +1092,32 @@ body {
1012
  font-family: $font-main;
1013
  }
1014
 
1015
- input:checked + span { background-color: #111827; color: #ffffff; }
1016
- &:hover span:not(input:checked + span) { color: $text-primary; background-color: rgba(0,0,0,0.02); }
 
 
 
 
 
 
 
1017
  }
1018
 
1019
  /* Shelf & Media */
1020
- .shelf-list { display: flex; flex-direction: column; gap: 6px; overflow-y: auto; }
1021
- .empty-shelf-text { font-size: 10.5px; color: $text-muted; text-align: center; padding: 8px 0; font-style: italic; }
 
 
 
 
 
 
 
 
 
 
 
 
1022
 
1023
  .media-chip {
1024
  display: flex;
@@ -1031,7 +1130,8 @@ body {
1031
  }
1032
 
1033
  .media-chip-preview {
1034
- width: 24px; height: 24px;
 
1035
  border-radius: 4px;
1036
  object-fit: cover;
1037
  background-color: #eaeaea;
@@ -1041,10 +1141,17 @@ body {
1041
  justify-content: center;
1042
  font-size: 10px;
1043
 
1044
- img { width: 100%; height: 100%; object-fit: cover; }
 
 
 
 
1045
  }
1046
 
1047
- .media-chip-details { flex: 1; min-width: 0; }
 
 
 
1048
 
1049
  .media-chip-name {
1050
  font-size: 10.5px;
@@ -1054,30 +1161,54 @@ body {
1054
  text-overflow: ellipsis;
1055
  }
1056
 
1057
- .media-chip-meta { font-size: 9px; color: $text-muted; display: flex; gap: 4px; }
1058
- .media-chip-remove { background: transparent; border: none; color: $text-muted; cursor: pointer; padding: 3px; display: flex; }
1059
- .media-chip-remove:hover { color: $danger; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1060
 
1061
  .quick-preview-item {
1062
- width: 32px; height: 32px;
 
1063
  border-radius: $radius-sm;
1064
  border: 1px solid $border-color;
1065
  overflow: hidden;
1066
  position: relative;
1067
  flex-shrink: 0;
1068
 
1069
- img { width: 100%; height: 100%; object-fit: cover; }
 
 
 
 
1070
  }
1071
 
1072
  .quick-preview-badge {
1073
  position: absolute;
1074
- top: 1.5px; right: 1.5px;
 
1075
  background-color: $accent-blue;
1076
- width: 6px; height: 6px;
 
1077
  border-radius: 50%;
1078
  }
1079
 
1080
- .right-sidebar-footer { padding: 10px 16px; border-top: 1px solid $border-color; }
 
 
 
1081
 
1082
  .status-indicator-group {
1083
  display: flex;
@@ -1088,7 +1219,8 @@ body {
1088
  }
1089
 
1090
  .status-dot {
1091
- width: 5px; height: 5px;
 
1092
  border-radius: 50%;
1093
 
1094
  &.online { background-color: #10b981; }
@@ -1100,7 +1232,8 @@ body {
1100
 
1101
  .copy-code-btn {
1102
  position: absolute;
1103
- top: 6px; right: 6px;
 
1104
  background-color: rgba(255, 255, 255, 0.1);
1105
  border: 1px solid rgba(255, 255, 255, 0.2);
1106
  color: #9ca3af;
@@ -1110,24 +1243,36 @@ body {
1110
  border-radius: 4px;
1111
  cursor: pointer;
1112
 
1113
- &:hover { background-color: rgba(255, 255, 255, 0.2); color: #e5e7eb; }
 
 
 
1114
  }
1115
  }
1116
 
1117
  /* ── Animations ────────────────────────────────────────────────────── */
1118
  .spinner-light {
1119
- width: 12px; height: 12px;
 
1120
  border: 1.5px solid rgba(255, 255, 255, 0.2);
1121
  border-top: 1.5px solid #ffffff;
1122
  border-radius: 50%;
1123
  animation: spin 0.8s linear infinite;
1124
  }
1125
 
1126
- @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
1127
- @keyframes slideUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
 
 
 
 
 
 
 
 
1128
  @keyframes pulse {
1129
  0%, 100% { opacity: 1; transform: scale(1); }
1130
- 50% { opacity: 0.5; transform: scale(1.3); }
1131
  }
1132
 
1133
  /* ── Header model picker ───────────────────────────────────────────── */
@@ -1168,7 +1313,10 @@ body {
1168
  flex-shrink: 0;
1169
 
1170
  &.loaded { background-color: #10b981; }
1171
- &.loading { background-color: #f59e0b; animation: pulse 1s infinite; }
 
 
 
1172
  &.error { background-color: $danger; }
1173
  }
1174
 
@@ -1188,7 +1336,7 @@ body {
1188
  background-color: $bg-card;
1189
  border: 1px solid $border-color;
1190
  border-radius: $radius-md;
1191
- box-shadow: 0 10px 30px -8px rgba(0,0,0,0.15);
1192
  padding: 6px;
1193
  z-index: 1100;
1194
  max-height: 360px;
@@ -1204,11 +1352,14 @@ body {
1204
  transition: background-color 0.15s ease;
1205
 
1206
  &:hover { background-color: $btn-light-bg; }
1207
- &.active { background-color: $accent-blue-bg; }
1208
 
1209
- &.active .model-option-radio {
1210
- border-color: $accent-blue;
1211
- background: radial-gradient(circle, $accent-blue 0 4px, transparent 5px);
 
 
 
 
1212
  }
1213
  }
1214
  }
@@ -1223,7 +1374,10 @@ body {
1223
  transition: $transition-smooth;
1224
  }
1225
 
1226
- .model-option-text { flex: 1; min-width: 0; }
 
 
 
1227
 
1228
  .model-option-label {
1229
  font-size: 12px;
@@ -1251,7 +1405,10 @@ body {
1251
  font-weight: 600;
1252
  text-transform: uppercase;
1253
 
1254
- &.cached { background-color: #eff6ff; color: $accent-blue; }
 
 
 
1255
  }
1256
 
1257
  /* ── Task bar ──────────────────────────────────────────────────────── */
@@ -1343,7 +1500,10 @@ body {
1343
  background-position: right 10px center;
1344
  padding-right: 28px;
1345
 
1346
- &:focus { border-color: $border-focus; background-color: #ffffff; }
 
 
 
1347
  }
1348
 
1349
  .btn-secondary {
@@ -1365,7 +1525,10 @@ body {
1365
  border-color: #cbd5e1;
1366
  }
1367
 
1368
- &:disabled { opacity: 0.5; cursor: not-allowed; }
 
 
 
1369
  }
1370
 
1371
  /* ── Agent trace ───────────────────────────────────────────────────── */
@@ -1391,7 +1554,11 @@ body {
1391
  align-items: center;
1392
  }
1393
 
1394
- .agent-trace-body { padding: 8px 10px; font-size: 11.5px; line-height: 1.5; }
 
 
 
 
1395
 
1396
  .agent-trace-step {
1397
  padding: 6px 0;
@@ -1410,9 +1577,18 @@ body {
1410
  text-transform: uppercase;
1411
  margin-right: 6px;
1412
 
1413
- &.tool_call { background-color: #ddd6fe; color: #6d28d9; }
1414
- &.tool_result { background-color: #d1fae5; color: #047857; }
1415
- &.final { background-color: #111827; color: #ffffff; }
 
 
 
 
 
 
 
 
 
1416
  }
1417
 
1418
  .agent-step-content {
@@ -1432,26 +1608,58 @@ body {
1432
  @media (max-width: 640px) {
1433
  body { font-size: 13.5px; }
1434
 
1435
- .workspace-header { padding: 0 12px; height: 50px; }
1436
- .header-btn span { display: none; }
1437
- .header-btn { padding: 7px; }
 
 
 
 
 
 
 
 
1438
  .brand-name { font-size: 14px; }
1439
 
1440
  .sidebar-left { width: 85vw !important; }
1441
- .sidebar-right { width: 100% !important; border-left: none; }
 
 
 
1442
 
1443
  .studio-dashboard { padding: 24px 14px; }
1444
- .welcome-heading { font-size: 20px; margin-bottom: 16px; }
 
 
 
 
 
 
 
 
 
 
 
 
 
1445
 
1446
- .chat-messages-feed { padding: 12px 10px; gap: 14px; }
1447
- .message-body { padding: 9px 12px; font-size: 13px; }
1448
  .message-bubble { max-width: 95%; }
1449
 
1450
- .chat-mini-footer { padding: 8px 10px; }
1451
- .chat-mini-footer .console-box { padding: 6px 10px; }
 
 
 
1452
 
1453
  .console-box textarea { font-size: 16px; /* prevent iOS zoom */ }
1454
 
1455
- .recipe-chip { padding: 6px 12px; font-size: 11.5px; }
1456
- .code-block-wrapper .copy-code-btn { font-size: 9px; padding: 1px 6px; }
 
 
 
 
 
 
 
1457
  }
 
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;
 
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 {
 
334
  }
335
 
336
  &:active { transform: translateY(0); }
 
337
 
338
+ .chip-icon { font-size: 14px; }
339
+ }
340
 
341
  /* ── Chat Thread ───────────────────────────────────────────────────── */
342
  .chat-thread-container {
 
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;
 
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;
 
522
  border-radius: 3px;
523
  }
524
 
525
+ .rp-bold {
526
+ font-weight: 700;
527
+ color: #111827;
528
+ }
529
 
530
  .rp-ooc {
531
  color: #9ca3af;
 
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;
 
583
  }
584
  }
585
 
 
 
 
 
586
  .setting-description {
587
  font-size: 10.5px;
588
  color: $text-muted;
 
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
 
 
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 ───────────────────────────────────────────────────── */
 
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;
 
764
  color: $danger;
765
  border: 1px solid $border-color;
766
 
767
+ &:hover {
768
+ background-color: #fef2f2;
769
+ border-color: #fecaca;
770
+ }
771
  }
772
  }
773
 
 
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;
 
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;
 
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 {
 
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;
 
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;
 
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;
 
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;
 
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
 
 
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;
 
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;
 
1130
  }
1131
 
1132
  .media-chip-preview {
1133
+ width: 24px;
1134
+ height: 24px;
1135
  border-radius: 4px;
1136
  object-fit: cover;
1137
  background-color: #eaeaea;
 
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
  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;
 
1219
  }
1220
 
1221
  .status-dot {
1222
+ width: 5px;
1223
+ height: 5px;
1224
  border-radius: 50%;
1225
 
1226
  &.online { background-color: #10b981; }
 
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;
 
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 ───────────────────────────────────────────── */
 
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
 
 
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;
 
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
  }
 
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;
 
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 ──────────────────────────────────────────────────────── */
 
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 {
 
1525
  border-color: #cbd5e1;
1526
  }
1527
 
1528
+ &:disabled {
1529
+ opacity: 0.5;
1530
+ cursor: not-allowed;
1531
+ }
1532
  }
1533
 
1534
  /* ── Agent trace ───────────────────────────────────────────────────── */
 
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;
 
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 {
 
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
  }