tabminal 2.0.13 → 2.0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/public/styles.css CHANGED
@@ -21,7 +21,7 @@
21
21
  .search-bar {
22
22
  position: absolute;
23
23
  top: -10px;
24
- right: 20px;
24
+ right: 58px;
25
25
  z-index: 100;
26
26
  display: flex;
27
27
  align-items: center;
@@ -330,6 +330,36 @@ body {
330
330
  }
331
331
  }
332
332
 
333
+ .compact-workspace-mode .sidebar-toggle {
334
+ display: block;
335
+ }
336
+
337
+ .compact-workspace-mode .sidebar {
338
+ position: absolute;
339
+ left: 0;
340
+ top: 0;
341
+ height: 100%;
342
+ width: 240px;
343
+ z-index: 900;
344
+ transform: translateX(-100%);
345
+ visibility: hidden;
346
+ transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
347
+ visibility 0s linear 0.3s;
348
+ box-shadow: 4px 0 12px rgba(0, 0, 0, 0.5);
349
+ border-right: 1px solid var(--border-color);
350
+ }
351
+
352
+ .compact-workspace-mode .sidebar.open {
353
+ transform: translateX(0);
354
+ visibility: visible;
355
+ transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
356
+ visibility 0s;
357
+ }
358
+
359
+ .compact-workspace-mode .tab-item {
360
+ min-height: 80px !important;
361
+ }
362
+
333
363
  /* Touch Device Typography Adjustments (Fonts only) */
334
364
  @media (pointer: coarse) {
335
365
  .system-status-bar {
@@ -366,7 +396,7 @@ body {
366
396
  transition: background-color 0.2s ease, border-color 0.2s ease;
367
397
  overflow: hidden;
368
398
  /* Clip content to rounded corners */
369
- min-height: 76px;
399
+ min-height: 0;
370
400
  display: flex;
371
401
  flex-direction: column;
372
402
  /* padding-left removed to keep layout stable */
@@ -592,16 +622,34 @@ body {
592
622
  }
593
623
  }
594
624
 
625
+ .compact-workspace-mode .tab-item:hover .tab-info-overlay {
626
+ transform: none !important;
627
+ }
628
+
595
629
  /* Only pin toggle button if editor is open */
596
630
  .tab-item.editor-open .toggle-editor-btn {
597
631
  opacity: 1;
598
632
  }
599
633
 
634
+ .tab-item.agent-open .toggle-editor-btn {
635
+ opacity: 1;
636
+ }
637
+
600
638
  .tab-item.active {
601
639
  border-color: var(--accent-color);
602
640
  background-color: rgba(38, 139, 210, 0.15);
603
641
  }
604
642
 
643
+ .tab-item.agent-managed-session {
644
+ border-color: rgba(42, 161, 152, 0.55);
645
+ background-color: rgba(42, 161, 152, 0.08);
646
+ }
647
+
648
+ .tab-item.agent-managed-session.active {
649
+ border-color: rgba(42, 161, 152, 0.9);
650
+ background-color: rgba(42, 161, 152, 0.16);
651
+ }
652
+
605
653
  .close-tab-button {
606
654
  position: absolute;
607
655
  top: 4px;
@@ -657,6 +705,7 @@ body {
657
705
  display: flex;
658
706
  align-items: flex-start;
659
707
  justify-content: flex-start;
708
+ min-height: 0;
660
709
  }
661
710
 
662
711
  .preview-container .xterm-viewport {
@@ -702,7 +751,15 @@ body {
702
751
  line-height: 1.2;
703
752
  }
704
753
 
754
+ .tab-info-overlay .meta.meta-managed {
755
+ color: #6ed36e;
756
+ font-weight: 600;
757
+ }
758
+
705
759
  .tab-info-overlay .title {
760
+ display: flex;
761
+ align-items: center;
762
+ gap: 6px;
706
763
  font-size: 14px;
707
764
  color: var(--text-highlight);
708
765
  font-weight: normal;
@@ -713,6 +770,31 @@ body {
713
770
  margin-bottom: 2px;
714
771
  }
715
772
 
773
+ .tab-status-icon,
774
+ .agent-editor-tab-icon {
775
+ display: inline-flex;
776
+ align-items: center;
777
+ justify-content: center;
778
+ flex: 0 0 auto;
779
+ width: 15px;
780
+ height: 15px;
781
+ line-height: 1;
782
+ }
783
+
784
+ .tab-status-icon svg,
785
+ .agent-editor-tab-icon svg {
786
+ display: block;
787
+ width: 15px;
788
+ height: 15px;
789
+ flex: 0 0 auto;
790
+ }
791
+
792
+ .tab-title-text {
793
+ min-width: 0;
794
+ overflow: hidden;
795
+ text-overflow: ellipsis;
796
+ }
797
+
716
798
  .new-tab-button:hover {
717
799
  background-color: var(--bg-surface);
718
800
  }
@@ -1064,6 +1146,76 @@ body {
1064
1146
  background-color: #2aa198;
1065
1147
  }
1066
1148
 
1149
+ .modal-content button.secondary-button {
1150
+ background-color: transparent;
1151
+ color: var(--text-dim);
1152
+ border: 1px solid var(--border-color);
1153
+ }
1154
+
1155
+ .modal-content button.secondary-button:hover {
1156
+ background-color: rgba(255, 255, 255, 0.05);
1157
+ }
1158
+
1159
+ .agent-setup-content {
1160
+ max-width: 520px;
1161
+ text-align: left;
1162
+ }
1163
+
1164
+ .agent-setup-form {
1165
+ margin: 0;
1166
+ }
1167
+
1168
+ .agent-setup-section {
1169
+ display: grid;
1170
+ gap: 0.5rem;
1171
+ }
1172
+
1173
+ .agent-setup-section label {
1174
+ color: var(--text-dim);
1175
+ font-size: 0.9rem;
1176
+ }
1177
+
1178
+ .agent-setup-checkbox {
1179
+ display: flex;
1180
+ align-items: center;
1181
+ gap: 0.6rem;
1182
+ margin: 0.25rem 0;
1183
+ }
1184
+
1185
+ .agent-setup-checkbox input {
1186
+ width: auto;
1187
+ margin: 0;
1188
+ }
1189
+
1190
+ .agent-setup-note,
1191
+ .agent-setup-feedback {
1192
+ color: var(--text-dim);
1193
+ margin: 0.5rem 0 0;
1194
+ font-size: 0.85rem;
1195
+ white-space: pre-wrap;
1196
+ }
1197
+
1198
+ .agent-setup-feedback.error {
1199
+ color: #dc322f;
1200
+ }
1201
+
1202
+ .agent-setup-feedback.success {
1203
+ color: #2aa198;
1204
+ }
1205
+
1206
+ .agent-setup-actions {
1207
+ display: flex;
1208
+ flex-wrap: wrap;
1209
+ justify-content: flex-end;
1210
+ gap: 0.75rem;
1211
+ margin-top: 1.25rem;
1212
+ }
1213
+
1214
+ .agent-setup-actions button {
1215
+ width: auto;
1216
+ min-width: 120px;
1217
+ }
1218
+
1067
1219
  #add-server-form {
1068
1220
  margin: 0;
1069
1221
  }
@@ -1157,6 +1309,52 @@ kbd {
1157
1309
  padding-top: 10px;
1158
1310
  }
1159
1311
 
1312
+ .terminal-layout-button {
1313
+ position: absolute;
1314
+ top: 8px;
1315
+ right: 14px;
1316
+ z-index: 95;
1317
+ width: 34px;
1318
+ height: 34px;
1319
+ border: 1px solid rgba(255, 255, 255, 0.18);
1320
+ border-radius: 999px;
1321
+ background-color: rgba(7, 54, 66, 0.72);
1322
+ color: var(--text-main);
1323
+ display: inline-flex;
1324
+ align-items: center;
1325
+ justify-content: center;
1326
+ padding: 0;
1327
+ cursor: pointer;
1328
+ box-shadow: 0 6px 18px rgba(0, 0, 0, 0.24);
1329
+ backdrop-filter: blur(8px);
1330
+ -webkit-backdrop-filter: blur(8px);
1331
+ transition:
1332
+ border-color 0.16s ease,
1333
+ background-color 0.16s ease,
1334
+ color 0.16s ease,
1335
+ transform 0.16s ease,
1336
+ box-shadow 0.16s ease;
1337
+ }
1338
+
1339
+ .terminal-layout-button:hover {
1340
+ border-color: rgba(38, 139, 210, 0.9);
1341
+ background-color: rgba(7, 54, 66, 0.9);
1342
+ color: var(--text-highlight);
1343
+ }
1344
+
1345
+ .terminal-layout-button:active {
1346
+ transform: translateY(1px);
1347
+ }
1348
+
1349
+ .terminal-layout-button.active {
1350
+ border-color: rgba(38, 139, 210, 0.9);
1351
+ color: var(--text-highlight);
1352
+ }
1353
+
1354
+ .terminal-layout-button svg {
1355
+ display: block;
1356
+ }
1357
+
1160
1358
  .editor-pane {
1161
1359
  flex: 2 1 0%;
1162
1360
  /* Strictly 2 parts */
@@ -1331,6 +1529,63 @@ kbd {
1331
1529
  flex-shrink: 0;
1332
1530
  }
1333
1531
 
1532
+ .agent-editor-tab {
1533
+ gap: 6px;
1534
+ }
1535
+
1536
+ .agent-editor-tab .agent-editor-tab-icon {
1537
+ color: var(--text-highlight);
1538
+ }
1539
+
1540
+ .agent-editor-tab-icon {
1541
+ display: inline-flex;
1542
+ align-items: center;
1543
+ justify-content: center;
1544
+ color: var(--text-muted);
1545
+ }
1546
+
1547
+ .file-editor-tab-icon {
1548
+ display: inline-flex;
1549
+ align-items: center;
1550
+ justify-content: center;
1551
+ width: 16px;
1552
+ height: 16px;
1553
+ flex: 0 0 auto;
1554
+ }
1555
+
1556
+ .file-editor-tab-icon .file-icon {
1557
+ width: 16px;
1558
+ height: 16px;
1559
+ }
1560
+
1561
+ .tab-status-icon.is-attention,
1562
+ .agent-editor-tab-icon.is-attention,
1563
+ .toggle-agent-btn.is-attention {
1564
+ color: var(--warning-color);
1565
+ }
1566
+
1567
+ .tab-status-icon.is-running,
1568
+ .agent-editor-tab-icon.is-running,
1569
+ .toggle-agent-btn.is-running {
1570
+ color: var(--accent-color);
1571
+ }
1572
+
1573
+ .tab-status-icon.is-running svg,
1574
+ .agent-editor-tab-icon.is-running svg,
1575
+ .toggle-agent-btn.is-running svg {
1576
+ animation: tabminal-spin 0.95s linear infinite;
1577
+ transform-origin: center;
1578
+ }
1579
+
1580
+ @keyframes tabminal-spin {
1581
+ from {
1582
+ transform: rotate(0deg);
1583
+ }
1584
+ to {
1585
+ transform: rotate(360deg);
1586
+ }
1587
+ }
1588
+
1334
1589
  .editor-tab:hover {
1335
1590
  background-color: var(--bg-base);
1336
1591
  }
@@ -1383,111 +1638,1749 @@ kbd {
1383
1638
  min-width: 0;
1384
1639
  }
1385
1640
 
1386
- .monaco-container {
1387
- width: 100%;
1388
- height: 100%;
1389
- min-width: 0;
1641
+ .terminal-tab-host {
1642
+ position: absolute;
1643
+ inset: 0;
1644
+ display: none;
1645
+ background-color: var(--bg-base);
1390
1646
  }
1391
1647
 
1392
- .image-preview-container {
1393
- width: 100%;
1394
- height: 100%;
1395
- display: flex;
1396
- align-items: center;
1397
- justify-content: center;
1398
- overflow: auto;
1399
- background-color: #f0f0f0;
1400
- background-image:
1401
- linear-gradient(45deg, #e0e0e0 25%, transparent 25%),
1402
- linear-gradient(-45deg, #e0e0e0 25%, transparent 25%),
1403
- linear-gradient(45deg, transparent 75%, #e0e0e0 75%),
1404
- linear-gradient(-45deg, transparent 75%, #e0e0e0 75%);
1405
- background-size: 20px 20px;
1406
- background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
1648
+ .terminal-wrapper.workspace-tab-active {
1649
+ flex: 1 1 auto;
1650
+ min-height: 0;
1407
1651
  }
1408
1652
 
1409
- .image-preview-container img {
1410
- max-width: 95%;
1411
- max-height: 95%;
1412
- object-fit: contain;
1413
- box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
1653
+ .agent-panel {
1654
+ position: absolute;
1655
+ inset: 0;
1656
+ display: flex;
1657
+ flex-direction: column;
1658
+ background-color: var(--bg-base);
1659
+ font-size: 12px;
1660
+ line-height: 1.4;
1414
1661
  }
1415
1662
 
1416
- .empty-editor-state {
1417
- width: 100%;
1418
- height: 100%;
1419
- display: flex;
1420
- align-items: center;
1421
- justify-content: center;
1422
- color: var(--text-muted);
1423
- font-style: italic;
1663
+ .agent-panel-top-button {
1664
+ width: 34px;
1665
+ height: 34px;
1666
+ min-width: 34px;
1667
+ min-height: 34px;
1668
+ flex: 0 0 34px;
1424
1669
  }
1425
1670
 
1426
- /* Toggle Editor Button Style */
1427
- .toggle-editor-btn {
1671
+ .agent-usage-hud {
1672
+ --agent-usage-details-width: 528px;
1673
+ --agent-usage-label-width: 86px;
1674
+ --agent-usage-progress-width: 200px;
1675
+ --agent-usage-value-width: 68px;
1676
+ --agent-usage-meta-width: 144px;
1677
+ --agent-usage-column-gap: 10px;
1428
1678
  position: absolute;
1429
- top: 4px;
1430
- right: 4px;
1431
- /* Fixed right */
1432
- width: 28px;
1433
- /* Larger touch target */
1434
- height: 28px;
1435
- border-radius: 4px;
1436
- /* Square with rounded corners */
1437
- background-color: rgba(0, 0, 0, 0.6);
1438
- /* Darker for visibility */
1439
- backdrop-filter: blur(4px);
1440
- -webkit-backdrop-filter: blur(4px);
1441
- color: var(--text-highlight);
1442
- border: 1px solid rgba(255, 255, 255, 0.2);
1443
- /* Stronger border */
1679
+ top: 8px;
1680
+ right: 56px;
1681
+ z-index: 94;
1444
1682
  display: flex;
1445
- align-items: center;
1446
- justify-content: center;
1447
- cursor: pointer;
1448
- opacity: 0;
1449
- /* Default Hidden */
1450
- transition: all 0.2s ease;
1451
- z-index: 10;
1452
- font-size: 14px;
1453
- padding: 0;
1454
- line-height: 1;
1683
+ align-items: stretch;
1684
+ gap: 0;
1685
+ min-height: 34px;
1686
+ box-sizing: border-box;
1687
+ width: auto;
1688
+ padding: 0 8px;
1689
+ border: 1px solid rgba(255, 255, 255, 0.16);
1690
+ border-radius: 17px;
1691
+ overflow: hidden;
1692
+ background-color: rgba(7, 54, 66, 0.54);
1693
+ box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
1694
+ backdrop-filter: blur(8px);
1695
+ -webkit-backdrop-filter: blur(8px);
1696
+ transition:
1697
+ border-radius 0.16s cubic-bezier(0.22, 1, 0.36, 1),
1698
+ padding 0.16s cubic-bezier(0.22, 1, 0.36, 1),
1699
+ gap 0.16s cubic-bezier(0.22, 1, 0.36, 1),
1700
+ background-color 0.16s cubic-bezier(0.22, 1, 0.36, 1),
1701
+ box-shadow 0.16s cubic-bezier(0.22, 1, 0.36, 1);
1702
+ }
1703
+
1704
+ .agent-usage-hud:hover,
1705
+ .agent-usage-hud:focus-within,
1706
+ .agent-usage-hud.is-expanded {
1707
+ gap: 8px;
1708
+ border-radius: 9px;
1709
+ padding: 10px 12px;
1710
+ min-height: 0;
1711
+ background-color: rgba(7, 54, 66, 0.72);
1455
1712
  }
1456
1713
 
1457
- /* Show when hovering the tab */
1458
- .tab-item:hover .toggle-editor-btn {
1714
+ .agent-usage-compact {
1715
+ display: flex;
1716
+ align-items: center;
1717
+ gap: 6px;
1718
+ flex: 0 0 auto;
1719
+ min-height: 34px;
1720
+ max-width: 420px;
1459
1721
  opacity: 1;
1460
- /* Fully visible on hover */
1722
+ overflow: hidden;
1723
+ transition:
1724
+ max-width 0.16s cubic-bezier(0.22, 1, 0.36, 1),
1725
+ opacity 0.14s ease,
1726
+ margin-right 0.16s cubic-bezier(0.22, 1, 0.36, 1);
1461
1727
  }
1462
1728
 
1463
- /* Hovering the button itself */
1464
- .toggle-editor-btn:hover {
1465
- background-color: rgba(0, 0, 0, 0.8) !important;
1466
- border-color: rgba(255, 255, 255, 0.4);
1729
+ .agent-usage-hud:hover .agent-usage-compact,
1730
+ .agent-usage-hud:focus-within .agent-usage-compact,
1731
+ .agent-usage-hud.is-expanded .agent-usage-compact {
1732
+ max-width: 0;
1733
+ opacity: 0;
1734
+ margin-right: -2px;
1735
+ pointer-events: none;
1467
1736
  }
1468
1737
 
1469
- /* Active/Pinned State (Editor is Open) */
1470
- .tab-item.editor-open .toggle-editor-btn {
1471
- opacity: 1;
1472
- background-color: rgba(38, 139, 210, 0.5);
1473
- /* Stronger blue */
1474
- border-color: rgba(38, 139, 210, 0.8);
1475
- box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
1476
- color: white;
1738
+ .agent-usage-pill {
1739
+ position: relative;
1740
+ min-width: 58px;
1741
+ height: 24px;
1742
+ padding: 0 8px;
1743
+ border-radius: 999px;
1744
+ display: inline-flex;
1745
+ align-items: center;
1746
+ justify-content: center;
1747
+ gap: 4px;
1748
+ flex: 0 0 auto;
1749
+ overflow: hidden;
1750
+ background-color: rgba(255, 255, 255, 0.06);
1751
+ color: var(--text-highlight);
1752
+ transition:
1753
+ transform 0.2s ease,
1754
+ box-shadow 0.2s ease,
1755
+ background-color 0.2s ease;
1477
1756
  }
1478
1757
 
1479
- /* Show on active tab (for mobile discoverability) */
1480
- .tab-item.active .toggle-editor-btn {
1481
- opacity: 1;
1482
- /* Always visible on active tab */
1758
+ .agent-usage-pill::before {
1759
+ content: '';
1760
+ position: absolute;
1761
+ inset: 0;
1762
+ border-radius: inherit;
1763
+ background:
1764
+ linear-gradient(
1765
+ 90deg,
1766
+ rgba(38, 139, 210, 0.3) 0%,
1767
+ rgba(38, 139, 210, 0.3) calc(var(--agent-usage-progress, 0) * 1%),
1768
+ rgba(255, 255, 255, 0.06) calc(var(--agent-usage-progress, 0) * 1%),
1769
+ rgba(255, 255, 255, 0.06) 100%
1770
+ );
1771
+ transition: background 0.32s ease;
1772
+ }
1773
+
1774
+ .agent-usage-pill[data-tone="critical"]::before {
1775
+ background:
1776
+ linear-gradient(
1777
+ 90deg,
1778
+ rgba(220, 50, 47, 0.38) 0%,
1779
+ rgba(220, 50, 47, 0.38) calc(var(--agent-usage-progress, 0) * 1%),
1780
+ rgba(255, 255, 255, 0.06) calc(var(--agent-usage-progress, 0) * 1%),
1781
+ rgba(255, 255, 255, 0.06) 100%
1782
+ );
1783
+ }
1784
+
1785
+ .agent-usage-pill.is-highlighted {
1786
+ transform: translateY(-1px);
1787
+ box-shadow:
1788
+ 0 0 0 1px rgba(38, 139, 210, 0.46),
1789
+ 0 0 14px rgba(38, 139, 210, 0.2);
1790
+ background-color: rgba(255, 255, 255, 0.1);
1483
1791
  }
1484
1792
 
1485
- .tab-item.active:hover .toggle-editor-btn {
1486
- opacity: 0.8;
1793
+ .agent-usage-pill[data-tone="critical"].is-highlighted {
1794
+ box-shadow:
1795
+ 0 0 0 1px rgba(220, 50, 47, 0.5),
1796
+ 0 0 14px rgba(220, 50, 47, 0.18);
1487
1797
  }
1488
1798
 
1489
- .toggle-editor-btn:active {
1490
- transform: translateY(1px);
1799
+ .agent-usage-pill-value,
1800
+ .agent-usage-pill-label {
1801
+ position: relative;
1802
+ z-index: 1;
1803
+ font-size: 10px;
1804
+ line-height: 1;
1805
+ color: var(--text-highlight);
1806
+ }
1807
+
1808
+ .agent-usage-pill-value {
1809
+ white-space: nowrap;
1810
+ }
1811
+
1812
+ .agent-usage-pill-label {
1813
+ color: var(--text-muted);
1814
+ }
1815
+
1816
+ .agent-usage-details {
1817
+ flex: 0 0 auto;
1818
+ width: var(--agent-usage-details-width);
1819
+ min-width: 0;
1820
+ max-width: 0;
1821
+ max-height: 0;
1822
+ overflow: hidden;
1823
+ opacity: 0;
1824
+ transform: translateX(-4px);
1825
+ transition:
1826
+ max-width 0.16s cubic-bezier(0.22, 1, 0.36, 1),
1827
+ max-height 0.16s cubic-bezier(0.22, 1, 0.36, 1),
1828
+ opacity 0.14s ease,
1829
+ transform 0.16s cubic-bezier(0.22, 1, 0.36, 1);
1830
+ }
1831
+
1832
+ .agent-usage-hud:hover .agent-usage-details,
1833
+ .agent-usage-hud:focus-within .agent-usage-details,
1834
+ .agent-usage-hud.is-expanded .agent-usage-details {
1835
+ max-width: var(--agent-usage-details-width);
1836
+ max-height: 320px;
1837
+ opacity: 1;
1838
+ transform: translateX(0);
1839
+ }
1840
+
1841
+ .agent-usage-session-row + .agent-usage-detail-row,
1842
+ .agent-usage-detail-row + .agent-usage-detail-row,
1843
+ .agent-usage-detail-row + .agent-usage-session-row,
1844
+ .agent-usage-session-row + .agent-usage-session-row,
1845
+ .agent-usage-detail-row + .agent-usage-details-meta,
1846
+ .agent-usage-details-meta + .agent-usage-detail-row,
1847
+ .agent-usage-details-meta + .agent-usage-session-row,
1848
+ .agent-usage-details-meta + .agent-usage-details-meta {
1849
+ margin-top: 9px;
1850
+ }
1851
+
1852
+ .agent-usage-details-meta,
1853
+ .agent-usage-details-reset {
1854
+ font-size: 10px;
1855
+ line-height: 1.35;
1856
+ color: var(--text-muted);
1857
+ }
1858
+
1859
+ .agent-usage-details-meta.primary {
1860
+ color: var(--text-highlight);
1861
+ opacity: 0.92;
1862
+ }
1863
+
1864
+ .agent-usage-session-row,
1865
+ .agent-usage-detail-row {
1866
+ display: grid;
1867
+ grid-template-columns:
1868
+ var(--agent-usage-label-width)
1869
+ var(--agent-usage-progress-width)
1870
+ var(--agent-usage-value-width)
1871
+ var(--agent-usage-meta-width);
1872
+ gap: 10px var(--agent-usage-column-gap);
1873
+ align-items: start;
1874
+ }
1875
+
1876
+ .agent-usage-session-label,
1877
+ .agent-usage-detail-label {
1878
+ font-size: 11px;
1879
+ line-height: 1.35;
1880
+ color: var(--text-highlight);
1881
+ white-space: nowrap;
1882
+ }
1883
+
1884
+ .agent-usage-session-value {
1885
+ grid-column: 2 / 5;
1886
+ font-size: 11px;
1887
+ line-height: 1.35;
1888
+ color: var(--text-highlight);
1889
+ opacity: 0.92;
1890
+ }
1891
+
1892
+ .agent-usage-detail-body {
1893
+ min-width: 0;
1894
+ display: flex;
1895
+ flex-direction: column;
1896
+ gap: 4px;
1897
+ }
1898
+
1899
+ .agent-usage-progress {
1900
+ position: relative;
1901
+ width: 100%;
1902
+ height: 12px;
1903
+ border-radius: 999px;
1904
+ overflow: hidden;
1905
+ background:
1906
+ repeating-linear-gradient(
1907
+ -45deg,
1908
+ rgba(255, 255, 255, 0.14) 0,
1909
+ rgba(255, 255, 255, 0.14) 2px,
1910
+ rgba(255, 255, 255, 0.04) 2px,
1911
+ rgba(255, 255, 255, 0.04) 4px
1912
+ );
1913
+ }
1914
+
1915
+ .agent-usage-progress-fill {
1916
+ height: 100%;
1917
+ border-radius: inherit;
1918
+ background: rgba(238, 232, 213, 0.92);
1919
+ transition: width 0.32s ease, background-color 0.2s ease;
1920
+ }
1921
+
1922
+ .agent-usage-progress[data-tone="critical"] .agent-usage-progress-fill {
1923
+ background: rgba(220, 50, 47, 0.92);
1924
+ }
1925
+
1926
+ .agent-usage-detail-value {
1927
+ font-size: 11px;
1928
+ line-height: 1.35;
1929
+ }
1930
+
1931
+ .agent-usage-detail-value {
1932
+ color: var(--text-highlight);
1933
+ white-space: nowrap;
1934
+ text-align: right;
1935
+ justify-self: end;
1936
+ }
1937
+
1938
+ .agent-usage-details-reset {
1939
+ white-space: nowrap;
1940
+ text-align: right;
1941
+ justify-self: end;
1942
+ }
1943
+
1944
+ @media (max-width: 767px) {
1945
+ .agent-usage-hud {
1946
+ display: none !important;
1947
+ }
1948
+ }
1949
+
1950
+ .compact-workspace-mode .agent-usage-hud {
1951
+ display: none !important;
1952
+ }
1953
+
1954
+ .agent-panel-header {
1955
+ display: flex;
1956
+ flex-direction: column;
1957
+ gap: 8px;
1958
+ padding: 10px 12px;
1959
+ border-bottom: 1px solid var(--border-color);
1960
+ background-color: rgba(7, 54, 66, 0.55);
1961
+ }
1962
+
1963
+ .agent-panel-header-top {
1964
+ display: flex;
1965
+ align-items: center;
1966
+ justify-content: space-between;
1967
+ gap: 12px;
1968
+ }
1969
+
1970
+ .agent-panel-header-main {
1971
+ min-width: 0;
1972
+ display: flex;
1973
+ flex-direction: column;
1974
+ gap: 4px;
1975
+ }
1976
+
1977
+ .agent-panel-title {
1978
+ font-size: 13px;
1979
+ font-weight: 600;
1980
+ color: var(--text-highlight);
1981
+ }
1982
+
1983
+ .agent-panel-title:empty {
1984
+ display: none;
1985
+ }
1986
+
1987
+ .agent-panel-meta {
1988
+ font-size: 10px;
1989
+ color: var(--text-muted);
1990
+ }
1991
+
1992
+ .agent-panel-toolbar {
1993
+ display: flex;
1994
+ align-items: center;
1995
+ gap: 8px;
1996
+ flex-shrink: 0;
1997
+ }
1998
+
1999
+ .agent-panel-mode-select {
2000
+ min-width: 112px;
2001
+ max-width: 180px;
2002
+ padding: 8px 32px 8px 12px;
2003
+ border-radius: 8px;
2004
+ border: 1px solid var(--border-color);
2005
+ background-color: rgba(7, 54, 66, 0.45);
2006
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='12' height='12' stroke='%2393a1a1' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
2007
+ background-position: calc(100% - 10px) center;
2008
+ background-repeat: no-repeat;
2009
+ background-size: 12px 12px;
2010
+ color: var(--text-highlight);
2011
+ cursor: pointer;
2012
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
2013
+ font-size: 11px;
2014
+ font-weight: 400;
2015
+ line-height: 1.45;
2016
+ appearance: none;
2017
+ -webkit-appearance: none;
2018
+ }
2019
+
2020
+ .agent-panel-select-shell {
2021
+ display: inline-flex;
2022
+ align-items: center;
2023
+ position: relative;
2024
+ flex: 0 0 auto;
2025
+ }
2026
+
2027
+ .agent-panel-select-shell-icon {
2028
+ display: none;
2029
+ }
2030
+
2031
+ @media (max-width: 1408px) {
2032
+ .agent-panel-select-shell[data-selector-role="mode"],
2033
+ .agent-panel-select-shell[data-selector-role="model"],
2034
+ .agent-panel-select-shell[data-selector-role="thought_level"] {
2035
+ width: 36px;
2036
+ height: 36px;
2037
+ justify-content: center;
2038
+ border: 1px solid var(--border-color);
2039
+ border-radius: 8px;
2040
+ background-color: rgba(7, 54, 66, 0.45);
2041
+ overflow: hidden;
2042
+ }
2043
+
2044
+ .agent-panel-select-shell[data-selector-role="mode"]
2045
+ .agent-panel-select-shell-icon,
2046
+ .agent-panel-select-shell[data-selector-role="model"]
2047
+ .agent-panel-select-shell-icon,
2048
+ .agent-panel-select-shell[data-selector-role="thought_level"]
2049
+ .agent-panel-select-shell-icon {
2050
+ display: inline-flex;
2051
+ align-items: center;
2052
+ justify-content: center;
2053
+ color: var(--text-highlight);
2054
+ pointer-events: none;
2055
+ }
2056
+
2057
+ .agent-panel-select-shell[data-selector-role="mode"]
2058
+ .agent-panel-mode-select,
2059
+ .agent-panel-select-shell[data-selector-role="model"]
2060
+ .agent-panel-mode-select,
2061
+ .agent-panel-select-shell[data-selector-role="thought_level"]
2062
+ .agent-panel-mode-select {
2063
+ position: absolute;
2064
+ inset: 0;
2065
+ width: 100%;
2066
+ min-width: 0;
2067
+ max-width: none;
2068
+ padding: 0;
2069
+ border: 0;
2070
+ background: transparent;
2071
+ background-image: none;
2072
+ opacity: 0;
2073
+ }
2074
+ }
2075
+
2076
+ .agent-panel-tools,
2077
+ .agent-panel-permissions {
2078
+ display: flex;
2079
+ flex-direction: column;
2080
+ gap: 8px;
2081
+ padding: 8px 12px 0;
2082
+ }
2083
+
2084
+ .agent-plan-panel {
2085
+ display: flex;
2086
+ flex-direction: column;
2087
+ gap: 8px;
2088
+ padding: 8px 12px 0;
2089
+ }
2090
+
2091
+ .agent-plan-card {
2092
+ display: flex;
2093
+ flex-direction: column;
2094
+ gap: 8px;
2095
+ padding: 10px 12px;
2096
+ border: 1px solid rgba(131, 148, 150, 0.18);
2097
+ border-radius: 10px;
2098
+ background-color: rgba(7, 54, 66, 0.24);
2099
+ }
2100
+
2101
+ .agent-plan-history-body {
2102
+ display: flex;
2103
+ flex-direction: column;
2104
+ gap: 8px;
2105
+ }
2106
+
2107
+ .agent-plan-header,
2108
+ .agent-plan-terminal-row {
2109
+ color: var(--text-highlight);
2110
+ font-size: 12px;
2111
+ font-weight: 600;
2112
+ }
2113
+
2114
+ .agent-plan-terminal-row.agent-panel-activity {
2115
+ gap: 8px;
2116
+ padding: 0;
2117
+ min-height: 0;
2118
+ font-size: 10px;
2119
+ font-weight: 400;
2120
+ }
2121
+
2122
+ .agent-plan-list {
2123
+ display: flex;
2124
+ flex-direction: column;
2125
+ gap: 6px;
2126
+ }
2127
+
2128
+ .agent-plan-entry {
2129
+ display: flex;
2130
+ align-items: flex-start;
2131
+ gap: 10px;
2132
+ color: var(--text-base);
2133
+ font-size: 11px;
2134
+ line-height: 1.45;
2135
+ }
2136
+
2137
+ .agent-plan-entry.completed {
2138
+ color: var(--text-muted);
2139
+ text-decoration: line-through;
2140
+ }
2141
+
2142
+ .agent-plan-entry.in-progress .agent-plan-entry-marker {
2143
+ color: var(--accent-color);
2144
+ }
2145
+
2146
+ .agent-plan-entry.completed .agent-plan-entry-marker {
2147
+ color: #6ed36e;
2148
+ }
2149
+
2150
+ .agent-plan-entry.pending .agent-plan-entry-marker {
2151
+ color: var(--text-muted);
2152
+ }
2153
+
2154
+ .agent-plan-entry-marker {
2155
+ flex: 0 0 auto;
2156
+ width: 12px;
2157
+ text-align: center;
2158
+ }
2159
+
2160
+ .agent-plan-entry-body {
2161
+ min-width: 0;
2162
+ display: flex;
2163
+ align-items: flex-start;
2164
+ gap: 8px;
2165
+ }
2166
+
2167
+ .agent-plan-entry-text {
2168
+ min-width: 0;
2169
+ flex: 1 1 auto;
2170
+ }
2171
+
2172
+ .agent-plan-entry-priority {
2173
+ flex: 0 0 auto;
2174
+ padding: 1px 6px;
2175
+ border-radius: 999px;
2176
+ border: 1px solid rgba(131, 148, 150, 0.24);
2177
+ color: var(--text-muted);
2178
+ font-size: 9px;
2179
+ line-height: 1.3;
2180
+ text-transform: uppercase;
2181
+ letter-spacing: 0.04em;
2182
+ }
2183
+
2184
+ .agent-plan-entry-priority.high {
2185
+ color: #ffb26b;
2186
+ border-color: rgba(203, 75, 22, 0.35);
2187
+ background-color: rgba(203, 75, 22, 0.12);
2188
+ }
2189
+
2190
+ .agent-plan-entry-priority.medium {
2191
+ color: var(--text-muted);
2192
+ border-color: rgba(131, 148, 150, 0.22);
2193
+ }
2194
+
2195
+ .agent-plan-entry-priority.low {
2196
+ color: #83d07c;
2197
+ border-color: rgba(80, 170, 80, 0.28);
2198
+ background-color: rgba(80, 170, 80, 0.10);
2199
+ }
2200
+
2201
+ .agent-plan-terminal-list {
2202
+ display: flex;
2203
+ flex-direction: column;
2204
+ gap: 6px;
2205
+ padding: 8px 10px;
2206
+ border: 1px solid rgba(131, 148, 150, 0.12);
2207
+ border-radius: 10px;
2208
+ background-color: rgba(7, 54, 66, 0.18);
2209
+ }
2210
+
2211
+ .agent-plan-terminal-entry {
2212
+ display: block;
2213
+ width: 100%;
2214
+ padding: 6px 8px;
2215
+ border: 1px solid transparent;
2216
+ border-radius: 8px;
2217
+ background: transparent;
2218
+ color: var(--text-muted);
2219
+ cursor: pointer;
2220
+ font: inherit;
2221
+ font-size: 10px;
2222
+ line-height: 1.4;
2223
+ text-align: left;
2224
+ word-break: break-word;
2225
+ }
2226
+
2227
+ .agent-plan-terminal-entry:hover,
2228
+ .agent-plan-terminal-entry:focus-visible {
2229
+ color: var(--text-base);
2230
+ border-color: rgba(38, 139, 210, 0.32);
2231
+ background-color: rgba(38, 139, 210, 0.08);
2232
+ outline: none;
2233
+ }
2234
+
2235
+ .agent-panel-commands {
2236
+ display: flex;
2237
+ flex: 1 1 auto;
2238
+ flex-wrap: wrap;
2239
+ align-items: center;
2240
+ gap: 8px;
2241
+ min-width: 0;
2242
+ }
2243
+
2244
+ @media (max-width: 767px) {
2245
+ .agent-panel-commands {
2246
+ display: none !important;
2247
+ }
2248
+ }
2249
+
2250
+ .compact-workspace-mode .agent-panel-commands {
2251
+ display: none !important;
2252
+ }
2253
+
2254
+ .agent-tool-call,
2255
+ .agent-permission-card {
2256
+ width: 100%;
2257
+ box-sizing: border-box;
2258
+ padding: 8px 10px;
2259
+ border: 1px solid var(--border-color);
2260
+ border-left-width: 3px;
2261
+ border-radius: 8px;
2262
+ background-color: rgba(7, 54, 66, 0.4);
2263
+ color: var(--text-base);
2264
+ font-size: 11px;
2265
+ }
2266
+
2267
+ .agent-tool-call.state-pending,
2268
+ .agent-permission-card.state-pending {
2269
+ border-color: rgba(181, 137, 0, 0.34);
2270
+ background-color: rgba(181, 137, 0, 0.08);
2271
+ }
2272
+
2273
+ .agent-tool-call.state-running,
2274
+ .agent-permission-card.state-running {
2275
+ border-color: rgba(38, 139, 210, 0.36);
2276
+ background-color: rgba(38, 139, 210, 0.09);
2277
+ }
2278
+
2279
+ .agent-tool-call.state-error,
2280
+ .agent-permission-card.state-error {
2281
+ border-color: rgba(220, 80, 80, 0.34);
2282
+ background-color: rgba(220, 80, 80, 0.08);
2283
+ }
2284
+
2285
+ .agent-tool-call {
2286
+ display: flex;
2287
+ flex-direction: column;
2288
+ gap: 5px;
2289
+ border-left-color: rgba(38, 139, 210, 0.46);
2290
+ }
2291
+
2292
+ .agent-permission-card {
2293
+ display: flex;
2294
+ flex-direction: column;
2295
+ gap: 8px;
2296
+ border-left-color: rgba(181, 137, 0, 0.52);
2297
+ }
2298
+
2299
+ .agent-tool-call-header {
2300
+ display: flex;
2301
+ align-items: center;
2302
+ justify-content: space-between;
2303
+ gap: 10px;
2304
+ flex-wrap: wrap;
2305
+ }
2306
+
2307
+ .agent-tool-call-title,
2308
+ .agent-permission-title {
2309
+ color: var(--text-highlight);
2310
+ font-weight: 600;
2311
+ font-size: 12px;
2312
+ }
2313
+
2314
+ .agent-tool-call-meta {
2315
+ color: var(--text-muted);
2316
+ font-size: 10px;
2317
+ margin-top: 4px;
2318
+ }
2319
+
2320
+ .agent-path-links {
2321
+ display: flex;
2322
+ flex-wrap: wrap;
2323
+ gap: 6px;
2324
+ margin-top: 2px;
2325
+ }
2326
+
2327
+ .agent-path-link {
2328
+ display: inline-flex;
2329
+ align-items: center;
2330
+ max-width: 100%;
2331
+ padding: 2px 7px;
2332
+ border-radius: 999px;
2333
+ border: 1px solid rgba(38, 139, 210, 0.3);
2334
+ background-color: rgba(38, 139, 210, 0.1);
2335
+ color: var(--text-highlight);
2336
+ font-size: 10px;
2337
+ line-height: 1.4;
2338
+ text-decoration: none;
2339
+ white-space: nowrap;
2340
+ overflow: hidden;
2341
+ text-overflow: ellipsis;
2342
+ }
2343
+
2344
+ .agent-path-link:hover,
2345
+ .agent-path-link:focus-visible {
2346
+ border-color: rgba(38, 139, 210, 0.5);
2347
+ background-color: rgba(38, 139, 210, 0.16);
2348
+ }
2349
+
2350
+ .agent-path-link.more {
2351
+ border-color: rgba(131, 148, 150, 0.26);
2352
+ background-color: rgba(88, 110, 117, 0.12);
2353
+ color: var(--text-muted);
2354
+ }
2355
+
2356
+ .agent-tool-call-summary {
2357
+ color: var(--text-base);
2358
+ font-size: 11px;
2359
+ line-height: 1.45;
2360
+ opacity: 0.94;
2361
+ white-space: pre-wrap;
2362
+ word-break: break-word;
2363
+ }
2364
+
2365
+ .agent-tool-call-body {
2366
+ margin: 6px 0 0;
2367
+ white-space: pre-wrap;
2368
+ word-break: break-word;
2369
+ color: var(--text-base);
2370
+ font: inherit;
2371
+ font-size: 11px;
2372
+ opacity: 0.92;
2373
+ }
2374
+
2375
+ .agent-tool-call-sections {
2376
+ display: flex;
2377
+ flex-direction: column;
2378
+ gap: 6px;
2379
+ }
2380
+
2381
+ .agent-tool-call-section {
2382
+ border: 1px solid rgba(131, 148, 150, 0.18);
2383
+ border-radius: 8px;
2384
+ background-color: rgba(0, 43, 54, 0.28);
2385
+ overflow: hidden;
2386
+ }
2387
+
2388
+ .agent-tool-call-section > summary {
2389
+ list-style: none;
2390
+ cursor: pointer;
2391
+ padding: 6px 9px;
2392
+ color: var(--text-muted);
2393
+ font-size: 10px;
2394
+ user-select: none;
2395
+ display: flex;
2396
+ align-items: center;
2397
+ gap: 8px;
2398
+ }
2399
+
2400
+ .agent-tool-call-section > summary::-webkit-details-marker {
2401
+ display: none;
2402
+ }
2403
+
2404
+ .agent-tool-call-summary-label {
2405
+ color: var(--text-muted);
2406
+ flex: 0 0 auto;
2407
+ }
2408
+
2409
+ .agent-tool-call-summary-preview {
2410
+ color: var(--text-base);
2411
+ opacity: 0.75;
2412
+ min-width: 0;
2413
+ overflow: hidden;
2414
+ text-overflow: ellipsis;
2415
+ white-space: nowrap;
2416
+ }
2417
+
2418
+ .agent-tool-call-section[open] > summary {
2419
+ border-bottom: 1px solid rgba(131, 148, 150, 0.12);
2420
+ }
2421
+
2422
+ .agent-tool-call-section .agent-tool-call-body {
2423
+ margin: 0;
2424
+ padding: 8px 9px;
2425
+ }
2426
+
2427
+ .agent-tool-call-code-host,
2428
+ .agent-tool-call-diff-host {
2429
+ margin: 0;
2430
+ padding: 8px 9px;
2431
+ }
2432
+
2433
+ .agent-tool-call-terminal-host {
2434
+ display: flex;
2435
+ flex-direction: column;
2436
+ gap: 8px;
2437
+ margin: 0;
2438
+ padding: 8px 9px;
2439
+ }
2440
+
2441
+ .agent-tool-call-terminal-header {
2442
+ display: flex;
2443
+ align-items: center;
2444
+ justify-content: space-between;
2445
+ gap: 8px;
2446
+ }
2447
+
2448
+ .agent-tool-call-terminal-meta {
2449
+ color: var(--text-muted);
2450
+ font-size: 10px;
2451
+ line-height: 1.4;
2452
+ word-break: break-word;
2453
+ }
2454
+
2455
+ .agent-tool-call-terminal-open {
2456
+ border: 1px solid var(--border-color);
2457
+ border-radius: 8px;
2458
+ background-color: rgba(42, 161, 152, 0.18);
2459
+ color: var(--text-highlight);
2460
+ padding: 6px 10px;
2461
+ cursor: pointer;
2462
+ font-size: 11px;
2463
+ line-height: 1.4;
2464
+ flex: 0 0 auto;
2465
+ }
2466
+
2467
+ .agent-tool-call-terminal-open:hover {
2468
+ background-color: rgba(42, 161, 152, 0.28);
2469
+ }
2470
+
2471
+ .agent-tool-call-terminal-output {
2472
+ margin: 0;
2473
+ border: 1px solid rgba(131, 148, 150, 0.18);
2474
+ border-radius: 8px;
2475
+ background-color: rgba(0, 43, 54, 0.32);
2476
+ color: var(--text-base);
2477
+ overflow: hidden;
2478
+ max-height: 280px;
2479
+ }
2480
+
2481
+ .agent-tool-call-terminal-output .xterm {
2482
+ height: 100%;
2483
+ padding: 8px 10px;
2484
+ }
2485
+
2486
+ .agent-tool-call-terminal-output .xterm-viewport {
2487
+ overflow-y: auto;
2488
+ }
2489
+
2490
+ .agent-tool-call-editor {
2491
+ width: 100%;
2492
+ border: 1px solid rgba(131, 148, 150, 0.18);
2493
+ border-radius: 6px;
2494
+ overflow: hidden;
2495
+ }
2496
+
2497
+ .agent-tool-call-editor.diff {
2498
+ min-height: 180px;
2499
+ }
2500
+
2501
+ .agent-status-pill {
2502
+ display: inline-flex;
2503
+ align-items: center;
2504
+ padding: 2px 7px;
2505
+ border-radius: 999px;
2506
+ border: 1px solid var(--border-color);
2507
+ font-size: 10px;
2508
+ color: var(--text-muted);
2509
+ background-color: rgba(88, 110, 117, 0.18);
2510
+ }
2511
+
2512
+ .agent-status-pill.ready {
2513
+ color: var(--text-highlight);
2514
+ border-color: rgba(131, 148, 150, 0.32);
2515
+ background-color: rgba(88, 110, 117, 0.14);
2516
+ }
2517
+
2518
+ .agent-status-pill.pending {
2519
+ color: #f6d56a;
2520
+ border-color: rgba(181, 137, 0, 0.42);
2521
+ background-color: rgba(181, 137, 0, 0.12);
2522
+ }
2523
+
2524
+ .agent-status-pill.running {
2525
+ color: var(--accent-primary);
2526
+ border-color: rgba(38, 139, 210, 0.5);
2527
+ background-color: rgba(38, 139, 210, 0.14);
2528
+ }
2529
+
2530
+ .agent-status-pill.completed {
2531
+ color: #6ed36e;
2532
+ border-color: rgba(110, 211, 110, 0.45);
2533
+ background-color: rgba(80, 170, 80, 0.14);
2534
+ }
2535
+
2536
+ .agent-status-pill.cancelled,
2537
+ .agent-status-pill.error {
2538
+ color: #ff9b9b;
2539
+ border-color: rgba(220, 80, 80, 0.45);
2540
+ background-color: rgba(220, 80, 80, 0.12);
2541
+ }
2542
+
2543
+ .agent-permission-options {
2544
+ display: flex;
2545
+ flex-wrap: wrap;
2546
+ gap: 8px;
2547
+ }
2548
+
2549
+ .agent-permission-option,
2550
+ .agent-panel-button,
2551
+ .agent-dropdown-item,
2552
+ .agent-command-chip {
2553
+ border: 1px solid var(--border-color);
2554
+ border-radius: 8px;
2555
+ background-color: rgba(38, 139, 210, 0.12);
2556
+ color: var(--text-highlight);
2557
+ padding: 8px 12px;
2558
+ cursor: pointer;
2559
+ font-size: 11px;
2560
+ line-height: 1.45;
2561
+ }
2562
+
2563
+ .agent-panel-button {
2564
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
2565
+ font-weight: 400;
2566
+ }
2567
+
2568
+ .agent-panel-button.icon-only {
2569
+ display: inline-flex;
2570
+ align-items: center;
2571
+ justify-content: center;
2572
+ width: 36px;
2573
+ height: 36px;
2574
+ padding: 0;
2575
+ flex: 0 0 auto;
2576
+ }
2577
+
2578
+ .agent-panel-button.icon-only svg {
2579
+ display: block;
2580
+ }
2581
+
2582
+ .agent-panel-button:disabled,
2583
+ .agent-panel-mode-select:disabled {
2584
+ cursor: not-allowed;
2585
+ color: var(--text-muted);
2586
+ border-color: rgba(131, 148, 150, 0.18);
2587
+ background-color: rgba(88, 110, 117, 0.12);
2588
+ box-shadow: none;
2589
+ opacity: 0.72;
2590
+ }
2591
+
2592
+ .agent-panel-button:disabled:hover,
2593
+ .agent-panel-button:disabled:focus-visible,
2594
+ .agent-panel-mode-select:disabled:hover,
2595
+ .agent-panel-mode-select:disabled:focus-visible {
2596
+ color: var(--text-muted);
2597
+ border-color: rgba(131, 148, 150, 0.18);
2598
+ background-color: rgba(88, 110, 117, 0.12);
2599
+ outline: none;
2600
+ }
2601
+
2602
+ .agent-permission-option.secondary,
2603
+ .agent-panel-button.secondary {
2604
+ background-color: rgba(88, 110, 117, 0.2);
2605
+ color: var(--text-base);
2606
+ }
2607
+
2608
+ .agent-permission-option.primary {
2609
+ background-color: rgba(38, 139, 210, 0.24);
2610
+ border-color: rgba(38, 139, 210, 0.55);
2611
+ }
2612
+
2613
+ .agent-permission-option.danger {
2614
+ background-color: rgba(220, 80, 80, 0.14);
2615
+ border-color: rgba(220, 80, 80, 0.42);
2616
+ color: #ffb0b0;
2617
+ }
2618
+
2619
+ .agent-panel-transcript {
2620
+ flex: 1 1 auto;
2621
+ overflow: auto;
2622
+ padding: 12px;
2623
+ display: flex;
2624
+ flex-direction: column;
2625
+ gap: 8px;
2626
+ }
2627
+
2628
+ .agent-empty-state {
2629
+ border: 1px dashed rgba(131, 148, 150, 0.22);
2630
+ border-radius: 10px;
2631
+ padding: 14px 16px;
2632
+ background-color: rgba(7, 54, 66, 0.24);
2633
+ color: var(--text-base);
2634
+ }
2635
+
2636
+ .agent-empty-state-title {
2637
+ color: var(--text-highlight);
2638
+ font-size: 13px;
2639
+ font-weight: 600;
2640
+ }
2641
+
2642
+ .agent-empty-state-body {
2643
+ margin-top: 6px;
2644
+ color: var(--text-muted);
2645
+ font-size: 11px;
2646
+ line-height: 1.45;
2647
+ }
2648
+
2649
+ .agent-empty-state-actions {
2650
+ margin-top: 12px;
2651
+ display: flex;
2652
+ flex-wrap: wrap;
2653
+ gap: 8px;
2654
+ }
2655
+
2656
+ .agent-empty-state-action {
2657
+ border: 1px solid var(--border-color);
2658
+ border-radius: 8px;
2659
+ background-color: rgba(38, 139, 210, 0.1);
2660
+ color: var(--text-highlight);
2661
+ padding: 8px 10px;
2662
+ cursor: pointer;
2663
+ font: inherit;
2664
+ font-size: 11px;
2665
+ }
2666
+
2667
+ .agent-message {
2668
+ border: 1px solid var(--border-color);
2669
+ border-radius: 10px;
2670
+ padding: 9px 11px;
2671
+ background-color: rgba(7, 54, 66, 0.35);
2672
+ }
2673
+
2674
+ .agent-turn-start {
2675
+ margin-top: 8px;
2676
+ }
2677
+
2678
+ .agent-message.user {
2679
+ border-color: rgba(38, 139, 210, 0.45);
2680
+ }
2681
+
2682
+ .agent-message.assistant.thought {
2683
+ border-style: dashed;
2684
+ }
2685
+
2686
+ .agent-message-header {
2687
+ display: flex;
2688
+ align-items: baseline;
2689
+ justify-content: space-between;
2690
+ gap: 8px;
2691
+ margin-bottom: 5px;
2692
+ }
2693
+
2694
+ .agent-message-role {
2695
+ font-size: 10px;
2696
+ letter-spacing: 0.02em;
2697
+ color: var(--text-muted);
2698
+ min-width: 0;
2699
+ }
2700
+
2701
+ .agent-message-time {
2702
+ font-size: 10px;
2703
+ letter-spacing: 0.02em;
2704
+ color: var(--text-muted);
2705
+ opacity: 0.88;
2706
+ text-align: right;
2707
+ white-space: nowrap;
2708
+ flex: 0 0 auto;
2709
+ }
2710
+
2711
+ .agent-message-body {
2712
+ margin: 0;
2713
+ font: inherit;
2714
+ font-size: 12px;
2715
+ color: var(--text-base);
2716
+ }
2717
+
2718
+ .agent-message-body.plain {
2719
+ white-space: pre-wrap;
2720
+ word-break: break-word;
2721
+ }
2722
+
2723
+ .agent-message-body.markdown {
2724
+ line-height: 1.55;
2725
+ }
2726
+
2727
+ .agent-message-body.markdown > :first-child {
2728
+ margin-top: 0;
2729
+ }
2730
+
2731
+ .agent-message-body.markdown > :last-child {
2732
+ margin-bottom: 0;
2733
+ }
2734
+
2735
+ .agent-message-body.markdown p,
2736
+ .agent-message-body.markdown ul,
2737
+ .agent-message-body.markdown pre {
2738
+ margin: 0 0 8px;
2739
+ }
2740
+
2741
+ .agent-message-body.markdown ul {
2742
+ padding-left: 18px;
2743
+ }
2744
+
2745
+ .agent-message-body.markdown code {
2746
+ font: inherit;
2747
+ font-size: 11px;
2748
+ background-color: rgba(0, 43, 54, 0.38);
2749
+ border: 1px solid rgba(131, 148, 150, 0.18);
2750
+ border-radius: 6px;
2751
+ padding: 1px 4px;
2752
+ }
2753
+
2754
+ .agent-message-body.markdown pre {
2755
+ overflow: auto;
2756
+ background-color: rgba(0, 43, 54, 0.34);
2757
+ border: 1px solid rgba(131, 148, 150, 0.16);
2758
+ border-radius: 8px;
2759
+ padding: 8px 10px;
2760
+ white-space: pre-wrap;
2761
+ word-break: break-word;
2762
+ }
2763
+
2764
+ .agent-message-body.markdown pre code {
2765
+ border: 0;
2766
+ padding: 0;
2767
+ background: transparent;
2768
+ }
2769
+
2770
+ .agent-message-body.markdown a {
2771
+ color: var(--accent-primary);
2772
+ text-decoration: underline;
2773
+ text-underline-offset: 2px;
2774
+ }
2775
+
2776
+ .agent-message-attachments {
2777
+ display: flex;
2778
+ flex-wrap: wrap;
2779
+ gap: 8px;
2780
+ margin-bottom: 8px;
2781
+ }
2782
+
2783
+ .agent-message-attachment {
2784
+ display: inline-flex;
2785
+ flex-direction: column;
2786
+ gap: 2px;
2787
+ min-width: 0;
2788
+ max-width: 100%;
2789
+ padding: 6px 8px;
2790
+ border: 1px solid rgba(131, 148, 150, 0.24);
2791
+ border-radius: 8px;
2792
+ background-color: rgba(0, 43, 54, 0.28);
2793
+ }
2794
+
2795
+ .agent-message-attachment-name {
2796
+ color: var(--text-highlight);
2797
+ font-size: 11px;
2798
+ line-height: 1.3;
2799
+ white-space: nowrap;
2800
+ overflow: hidden;
2801
+ text-overflow: ellipsis;
2802
+ }
2803
+
2804
+ .agent-message-attachment-detail {
2805
+ color: var(--text-muted);
2806
+ font-size: 10px;
2807
+ line-height: 1.3;
2808
+ }
2809
+
2810
+ .agent-panel-composer {
2811
+ position: relative;
2812
+ overflow: visible;
2813
+ padding: 10px 12px 12px;
2814
+ display: flex;
2815
+ flex-direction: column;
2816
+ gap: 8px;
2817
+ }
2818
+
2819
+ .agent-panel-composer.drag-over {
2820
+ border-radius: 10px;
2821
+ background-color: rgba(38, 139, 210, 0.08);
2822
+ outline: 1px dashed rgba(38, 139, 210, 0.4);
2823
+ outline-offset: -1px;
2824
+ }
2825
+
2826
+ .agent-panel-file-input {
2827
+ display: none;
2828
+ }
2829
+
2830
+ .agent-attachment-list {
2831
+ display: flex;
2832
+ flex-wrap: wrap;
2833
+ gap: 8px;
2834
+ }
2835
+
2836
+ .agent-attachment-chip {
2837
+ display: inline-flex;
2838
+ align-items: flex-start;
2839
+ gap: 8px;
2840
+ max-width: 100%;
2841
+ padding: 7px 8px;
2842
+ border: 1px solid rgba(131, 148, 150, 0.24);
2843
+ border-radius: 8px;
2844
+ background-color: rgba(0, 43, 54, 0.24);
2845
+ }
2846
+
2847
+ .agent-attachment-chip-meta {
2848
+ display: flex;
2849
+ flex-direction: column;
2850
+ gap: 2px;
2851
+ min-width: 0;
2852
+ }
2853
+
2854
+ .agent-attachment-chip-name {
2855
+ color: var(--text-highlight);
2856
+ font-size: 11px;
2857
+ line-height: 1.3;
2858
+ white-space: nowrap;
2859
+ overflow: hidden;
2860
+ text-overflow: ellipsis;
2861
+ }
2862
+
2863
+ .agent-attachment-chip-detail {
2864
+ color: var(--text-muted);
2865
+ font-size: 10px;
2866
+ line-height: 1.3;
2867
+ }
2868
+
2869
+ .agent-attachment-chip-remove {
2870
+ flex: 0 0 auto;
2871
+ border: 0;
2872
+ background: transparent;
2873
+ color: var(--text-muted);
2874
+ cursor: pointer;
2875
+ font: inherit;
2876
+ font-size: 14px;
2877
+ line-height: 1;
2878
+ padding: 0 2px;
2879
+ }
2880
+
2881
+ .agent-attachment-chip-remove:hover,
2882
+ .agent-attachment-chip-remove:focus-visible {
2883
+ color: var(--text-highlight);
2884
+ }
2885
+
2886
+ .agent-attachment-chip-remove:disabled {
2887
+ cursor: not-allowed;
2888
+ color: rgba(88, 110, 117, 0.7);
2889
+ }
2890
+
2891
+ .agent-panel-input {
2892
+ width: 100%;
2893
+ resize: vertical;
2894
+ min-height: 68px;
2895
+ padding: 9px 11px;
2896
+ border-radius: 10px;
2897
+ border: 1px solid var(--border-color);
2898
+ background-color: rgba(7, 54, 66, 0.45);
2899
+ color: var(--text-highlight);
2900
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
2901
+ font-size: 12px;
2902
+ font-weight: 400;
2903
+ line-height: 1.45;
2904
+ }
2905
+
2906
+ .agent-panel-input::placeholder {
2907
+ color: var(--text-muted);
2908
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
2909
+ font-size: inherit;
2910
+ font-weight: inherit;
2911
+ line-height: inherit;
2912
+ opacity: 1;
2913
+ }
2914
+
2915
+ .agent-command-menu {
2916
+ position: absolute;
2917
+ left: 12px;
2918
+ right: 12px;
2919
+ bottom: calc(100% - 4px);
2920
+ z-index: 20;
2921
+ display: flex;
2922
+ flex-direction: column;
2923
+ gap: 4px;
2924
+ max-height: min(320px, 40vh);
2925
+ overflow: auto;
2926
+ padding: 6px;
2927
+ border: 1px solid rgba(131, 148, 150, 0.2);
2928
+ border-radius: 10px;
2929
+ background-color: rgba(0, 43, 54, 0.92);
2930
+ box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
2931
+ overscroll-behavior: contain;
2932
+ scroll-padding-block: 8px;
2933
+ }
2934
+
2935
+ .agent-command-option {
2936
+ display: flex;
2937
+ flex-direction: column;
2938
+ align-items: flex-start;
2939
+ gap: 3px;
2940
+ width: 100%;
2941
+ border: 1px solid transparent;
2942
+ border-radius: 8px;
2943
+ background: transparent;
2944
+ color: var(--text-base);
2945
+ padding: 7px 9px;
2946
+ cursor: pointer;
2947
+ text-align: left;
2948
+ scroll-margin-block: 8px;
2949
+ }
2950
+
2951
+ .agent-command-option:hover,
2952
+ .agent-command-option.active {
2953
+ border-color: rgba(38, 139, 210, 0.34);
2954
+ background-color: rgba(38, 139, 210, 0.12);
2955
+ }
2956
+
2957
+ .agent-command-option-name {
2958
+ color: var(--text-highlight);
2959
+ font-size: 11px;
2960
+ }
2961
+
2962
+ .agent-command-option-meta {
2963
+ color: var(--text-muted);
2964
+ font-size: 10px;
2965
+ }
2966
+
2967
+ .agent-panel-actions {
2968
+ display: flex;
2969
+ align-items: flex-end;
2970
+ justify-content: space-between;
2971
+ gap: 8px;
2972
+ flex-wrap: wrap;
2973
+ }
2974
+
2975
+ .agent-panel-fixed-actions {
2976
+ display: flex;
2977
+ align-items: center;
2978
+ justify-content: flex-end;
2979
+ gap: 8px;
2980
+ flex: 0 0 auto;
2981
+ margin-left: auto;
2982
+ flex-wrap: wrap;
2983
+ }
2984
+
2985
+ .agent-panel-hint {
2986
+ display: flex;
2987
+ align-items: center;
2988
+ gap: 8px;
2989
+ min-height: 18px;
2990
+ font-size: 10px;
2991
+ color: var(--text-muted);
2992
+ flex-wrap: wrap;
2993
+ }
2994
+
2995
+ .agent-panel-activity {
2996
+ display: flex;
2997
+ align-items: center;
2998
+ gap: 8px;
2999
+ padding: 6px 12px 8px;
3000
+ min-height: 26px;
3001
+ font-size: 10px;
3002
+ color: var(--text-muted);
3003
+ }
3004
+
3005
+ .agent-activity-action {
3006
+ display: inline-flex;
3007
+ align-items: center;
3008
+ justify-content: center;
3009
+ width: 15px;
3010
+ height: 15px;
3011
+ min-width: 15px;
3012
+ min-height: 15px;
3013
+ padding: 0;
3014
+ margin: 0;
3015
+ border: 0;
3016
+ background: transparent;
3017
+ color: inherit;
3018
+ flex: 0 0 auto;
3019
+ line-height: 1;
3020
+ border-radius: 4px;
3021
+ cursor: default;
3022
+ }
3023
+
3024
+ .agent-activity-action svg {
3025
+ display: block;
3026
+ }
3027
+
3028
+ .agent-activity-action:disabled {
3029
+ opacity: 1;
3030
+ }
3031
+
3032
+ .agent-activity-action.cancelable {
3033
+ cursor: pointer;
3034
+ }
3035
+
3036
+ .agent-activity-action-stop {
3037
+ display: none;
3038
+ }
3039
+
3040
+ .agent-activity-action.cancelable:hover .agent-activity-action-primary,
3041
+ .agent-activity-action.cancelable:focus-visible .agent-activity-action-primary {
3042
+ display: none;
3043
+ }
3044
+
3045
+ .agent-activity-action.cancelable:hover .agent-activity-action-stop,
3046
+ .agent-activity-action.cancelable:focus-visible .agent-activity-action-stop {
3047
+ display: inline-flex;
3048
+ }
3049
+
3050
+ .agent-panel-activity.running {
3051
+ color: var(--text-base);
3052
+ }
3053
+
3054
+ .agent-panel-activity.tool {
3055
+ color: var(--accent-color);
3056
+ }
3057
+
3058
+ .agent-panel-activity.pending {
3059
+ color: var(--warning-color);
3060
+ }
3061
+
3062
+ .agent-panel-activity.error {
3063
+ color: var(--danger-color);
3064
+ }
3065
+
3066
+ .agent-panel-activity-icon {
3067
+ display: inline-flex;
3068
+ align-items: center;
3069
+ justify-content: center;
3070
+ opacity: 0.9;
3071
+ }
3072
+
3073
+ .agent-panel-activity-icon.is-spinning svg {
3074
+ animation: tabminal-spin 0.95s linear infinite;
3075
+ transform-origin: center;
3076
+ }
3077
+
3078
+ .agent-panel-activity-label {
3079
+ white-space: nowrap;
3080
+ overflow: hidden;
3081
+ text-overflow: ellipsis;
3082
+ }
3083
+
3084
+ .agent-panel-queue {
3085
+ display: flex;
3086
+ flex-direction: column;
3087
+ gap: 8px;
3088
+ padding: 0 12px 4px;
3089
+ }
3090
+
3091
+ .agent-queue-item {
3092
+ position: relative;
3093
+ border: 1px solid rgba(131, 148, 150, 0.22);
3094
+ border-radius: 10px;
3095
+ padding: 9px 44px 10px 11px;
3096
+ background-color: rgba(7, 54, 66, 0.24);
3097
+ }
3098
+
3099
+ .agent-queue-remove {
3100
+ position: absolute;
3101
+ top: 8px;
3102
+ right: 8px;
3103
+ }
3104
+
3105
+ .agent-panel-hint-summary {
3106
+ color: var(--text-muted);
3107
+ }
3108
+
3109
+ .agent-panel-hint-hotkey {
3110
+ color: var(--text-muted);
3111
+ opacity: 0.85;
3112
+ margin-left: auto;
3113
+ }
3114
+
3115
+ .agent-dropdown {
3116
+ position: absolute;
3117
+ z-index: 1200;
3118
+ min-width: 220px;
3119
+ display: flex;
3120
+ flex-direction: column;
3121
+ gap: 4px;
3122
+ padding: 8px;
3123
+ border: 1px solid var(--border-color);
3124
+ border-radius: 10px;
3125
+ background-color: rgba(0, 43, 54, 0.96);
3126
+ box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
3127
+ scroll-padding-block: 6px;
3128
+ }
3129
+
3130
+ .agent-dropdown-item:disabled,
3131
+ .agent-dropdown-item.unavailable {
3132
+ opacity: 0.55;
3133
+ cursor: help;
3134
+ }
3135
+
3136
+ .agent-dropdown-entry {
3137
+ position: relative;
3138
+ }
3139
+
3140
+ .agent-dropdown-item {
3141
+ display: flex;
3142
+ flex-direction: column;
3143
+ align-items: flex-start;
3144
+ gap: 4px;
3145
+ text-align: left;
3146
+ width: 100%;
3147
+ padding-right: 38px;
3148
+ scroll-margin-block: 6px;
3149
+ }
3150
+
3151
+ .agent-dropdown-item:hover,
3152
+ .agent-dropdown-item:focus-visible,
3153
+ .agent-dropdown-item.is-active {
3154
+ border-color: rgba(38, 139, 210, 0.42);
3155
+ background-color: rgba(38, 139, 210, 0.2);
3156
+ outline: none;
3157
+ }
3158
+
3159
+ .agent-dropdown-label {
3160
+ font-size: 12px;
3161
+ color: var(--text-highlight);
3162
+ }
3163
+
3164
+ .agent-dropdown-meta {
3165
+ font-size: 10px;
3166
+ color: var(--text-muted);
3167
+ }
3168
+
3169
+ .agent-dropdown-info {
3170
+ position: absolute;
3171
+ top: 6px;
3172
+ right: 8px;
3173
+ width: 22px;
3174
+ height: 22px;
3175
+ border: 1px solid rgba(131, 148, 150, 0.28);
3176
+ background: rgba(7, 54, 66, 0.82);
3177
+ color: var(--text-muted);
3178
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
3179
+ font-size: 11px;
3180
+ line-height: 1;
3181
+ padding: 0;
3182
+ cursor: pointer;
3183
+ border-radius: 999px;
3184
+ display: inline-flex;
3185
+ align-items: center;
3186
+ justify-content: center;
3187
+ }
3188
+
3189
+ .agent-dropdown-info span {
3190
+ transform: translateY(-0.5px);
3191
+ }
3192
+
3193
+ .agent-dropdown-info:hover {
3194
+ color: var(--text-highlight);
3195
+ border-color: rgba(38, 139, 210, 0.42);
3196
+ background-color: rgba(38, 139, 210, 0.18);
3197
+ }
3198
+
3199
+ .agent-dropdown-empty {
3200
+ padding: 8px 12px;
3201
+ color: var(--text-muted);
3202
+ font-size: 0.82rem;
3203
+ }
3204
+
3205
+ .agent-dropdown-footer {
3206
+ margin-top: 2px;
3207
+ padding: 8px 12px 2px;
3208
+ border-top: 1px solid rgba(131, 148, 150, 0.14);
3209
+ color: var(--text-muted);
3210
+ font-size: 10px;
3211
+ line-height: 1.45;
3212
+ }
3213
+
3214
+ .agent-dropdown-footer-link {
3215
+ color: var(--accent-primary);
3216
+ text-decoration: underline;
3217
+ text-underline-offset: 2px;
3218
+ }
3219
+
3220
+ .agent-dropdown-footer-link:hover,
3221
+ .agent-dropdown-footer-link:focus-visible {
3222
+ color: var(--text-highlight);
3223
+ }
3224
+
3225
+ .monaco-container {
3226
+ width: 100%;
3227
+ height: 100%;
3228
+ min-width: 0;
3229
+ }
3230
+
3231
+ .image-preview-container {
3232
+ width: 100%;
3233
+ height: 100%;
3234
+ display: flex;
3235
+ align-items: center;
3236
+ justify-content: center;
3237
+ overflow: auto;
3238
+ background-color: #f0f0f0;
3239
+ background-image:
3240
+ linear-gradient(45deg, #e0e0e0 25%, transparent 25%),
3241
+ linear-gradient(-45deg, #e0e0e0 25%, transparent 25%),
3242
+ linear-gradient(45deg, transparent 75%, #e0e0e0 75%),
3243
+ linear-gradient(-45deg, transparent 75%, #e0e0e0 75%);
3244
+ background-size: 20px 20px;
3245
+ background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
3246
+ }
3247
+
3248
+ .image-preview-container img {
3249
+ max-width: 95%;
3250
+ max-height: 95%;
3251
+ object-fit: contain;
3252
+ box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
3253
+ }
3254
+
3255
+ .empty-editor-state {
3256
+ width: 100%;
3257
+ height: 100%;
3258
+ display: flex;
3259
+ align-items: center;
3260
+ justify-content: center;
3261
+ color: var(--text-muted);
3262
+ font-style: italic;
3263
+ }
3264
+
3265
+ /* Toggle Editor Button Style */
3266
+ .toggle-editor-btn {
3267
+ position: absolute;
3268
+ top: 4px;
3269
+ right: 4px;
3270
+ /* Fixed right */
3271
+ width: 28px;
3272
+ /* Larger touch target */
3273
+ height: 28px;
3274
+ border-radius: 4px;
3275
+ /* Square with rounded corners */
3276
+ background-color: rgba(0, 0, 0, 0.6);
3277
+ /* Darker for visibility */
3278
+ backdrop-filter: blur(4px);
3279
+ -webkit-backdrop-filter: blur(4px);
3280
+ color: var(--text-highlight);
3281
+ border: 1px solid rgba(255, 255, 255, 0.2);
3282
+ /* Stronger border */
3283
+ display: flex;
3284
+ align-items: center;
3285
+ justify-content: center;
3286
+ cursor: pointer;
3287
+ opacity: 0;
3288
+ /* Default Hidden */
3289
+ transition: all 0.2s ease;
3290
+ z-index: 10;
3291
+ font-size: 14px;
3292
+ padding: 0;
3293
+ line-height: 1;
3294
+ }
3295
+
3296
+ .toggle-agent-btn {
3297
+ position: absolute;
3298
+ top: 4px;
3299
+ right: 36px;
3300
+ width: 28px;
3301
+ height: 28px;
3302
+ border-radius: 4px;
3303
+ background-color: rgba(0, 0, 0, 0.6);
3304
+ backdrop-filter: blur(4px);
3305
+ -webkit-backdrop-filter: blur(4px);
3306
+ color: var(--text-highlight);
3307
+ border: 1px solid rgba(255, 255, 255, 0.2);
3308
+ display: flex;
3309
+ align-items: center;
3310
+ justify-content: center;
3311
+ cursor: pointer;
3312
+ opacity: 0;
3313
+ transition: all 0.2s ease;
3314
+ z-index: 10;
3315
+ font-size: 14px;
3316
+ padding: 0;
3317
+ line-height: 1;
3318
+ }
3319
+
3320
+ .tab-item:hover .toggle-agent-btn,
3321
+ .tab-item.active .toggle-agent-btn {
3322
+ opacity: 1;
3323
+ }
3324
+
3325
+ .toggle-agent-btn:hover {
3326
+ background-color: rgba(0, 0, 0, 0.8) !important;
3327
+ border-color: rgba(255, 255, 255, 0.4);
3328
+ }
3329
+
3330
+ .toggle-agent-btn:active {
3331
+ transform: translateY(1px);
3332
+ }
3333
+
3334
+ /* Show when hovering the tab */
3335
+ .tab-item:hover .toggle-editor-btn {
3336
+ opacity: 1;
3337
+ /* Fully visible on hover */
3338
+ }
3339
+
3340
+ /* Hovering the button itself */
3341
+ .toggle-editor-btn:hover {
3342
+ background-color: rgba(0, 0, 0, 0.8) !important;
3343
+ border-color: rgba(255, 255, 255, 0.4);
3344
+ }
3345
+
3346
+ /* Active/Pinned State (Editor is Open) */
3347
+ .tab-item.editor-open .toggle-editor-btn {
3348
+ opacity: 1;
3349
+ background-color: rgba(38, 139, 210, 0.5);
3350
+ /* Stronger blue */
3351
+ border-color: rgba(38, 139, 210, 0.8);
3352
+ box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
3353
+ color: white;
3354
+ }
3355
+
3356
+ .tab-item.agent-open .toggle-editor-btn {
3357
+ opacity: 1;
3358
+ }
3359
+
3360
+ /* Show on active tab (for mobile discoverability) */
3361
+ .tab-item.active .toggle-editor-btn {
3362
+ opacity: 1;
3363
+ /* Always visible on active tab */
3364
+ }
3365
+
3366
+ .tab-item.active:hover .toggle-editor-btn {
3367
+ opacity: 0.8;
3368
+ }
3369
+
3370
+ .toggle-editor-btn:active {
3371
+ transform: translateY(1px);
3372
+ }
3373
+
3374
+ .tab-item.editor-open .toggle-agent-btn {
3375
+ opacity: 1;
3376
+ }
3377
+
3378
+ .tab-item.agent-open .toggle-agent-btn {
3379
+ opacity: 1;
3380
+ background-color: rgba(38, 139, 210, 0.5);
3381
+ border-color: rgba(38, 139, 210, 0.8);
3382
+ box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
3383
+ color: white;
1491
3384
  }
1492
3385
 
1493
3386
  .tab-file-tree {