claudeck 1.0.0

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.
Files changed (157) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +233 -0
  3. package/cli.js +2 -0
  4. package/config/agent-chains.json +16 -0
  5. package/config/agent-dags.json +16 -0
  6. package/config/agents.json +46 -0
  7. package/config/bot-prompt.json +3 -0
  8. package/config/folders.json +66 -0
  9. package/config/prompts.json +92 -0
  10. package/config/repos.json +86 -0
  11. package/config/telegram-config.json +17 -0
  12. package/config/workflows.json +90 -0
  13. package/db.js +1198 -0
  14. package/package.json +55 -0
  15. package/plugins/claude-editor/client.css +171 -0
  16. package/plugins/claude-editor/client.js +183 -0
  17. package/plugins/event-stream/client.css +207 -0
  18. package/plugins/event-stream/client.js +271 -0
  19. package/plugins/linear/client.css +345 -0
  20. package/plugins/linear/client.js +380 -0
  21. package/plugins/linear/config.json +5 -0
  22. package/plugins/linear/server.js +312 -0
  23. package/plugins/repos/client.css +549 -0
  24. package/plugins/repos/client.js +663 -0
  25. package/plugins/repos/server.js +232 -0
  26. package/plugins/sudoku/client.css +196 -0
  27. package/plugins/sudoku/client.js +329 -0
  28. package/plugins/tasks/client.css +414 -0
  29. package/plugins/tasks/client.js +394 -0
  30. package/plugins/tasks/server.js +116 -0
  31. package/plugins/tic-tac-toe/client.css +167 -0
  32. package/plugins/tic-tac-toe/client.js +241 -0
  33. package/public/css/core/components.css +232 -0
  34. package/public/css/core/layout.css +330 -0
  35. package/public/css/core/print.css +18 -0
  36. package/public/css/core/reset.css +36 -0
  37. package/public/css/core/responsive.css +378 -0
  38. package/public/css/core/theme.css +116 -0
  39. package/public/css/core/variables.css +93 -0
  40. package/public/css/features/agent-monitor.css +297 -0
  41. package/public/css/features/agent-sidebar.css +525 -0
  42. package/public/css/features/agents.css +996 -0
  43. package/public/css/features/analytics.css +181 -0
  44. package/public/css/features/background-sessions.css +321 -0
  45. package/public/css/features/cost-dashboard.css +168 -0
  46. package/public/css/features/home.css +313 -0
  47. package/public/css/features/retro-terminal.css +88 -0
  48. package/public/css/features/telegram.css +127 -0
  49. package/public/css/features/tour.css +148 -0
  50. package/public/css/features/voice-input.css +60 -0
  51. package/public/css/features/welcome.css +241 -0
  52. package/public/css/panels/assistant-bot.css +442 -0
  53. package/public/css/panels/dev-docs.css +292 -0
  54. package/public/css/panels/file-explorer.css +322 -0
  55. package/public/css/panels/git-panel.css +221 -0
  56. package/public/css/panels/mcp-manager.css +199 -0
  57. package/public/css/panels/tips-feed.css +353 -0
  58. package/public/css/ui/commands.css +273 -0
  59. package/public/css/ui/context-gauge.css +76 -0
  60. package/public/css/ui/file-picker.css +69 -0
  61. package/public/css/ui/image-attachments.css +106 -0
  62. package/public/css/ui/messages.css +884 -0
  63. package/public/css/ui/modals.css +122 -0
  64. package/public/css/ui/parallel.css +217 -0
  65. package/public/css/ui/permissions.css +110 -0
  66. package/public/css/ui/right-panel.css +481 -0
  67. package/public/css/ui/sessions.css +689 -0
  68. package/public/css/ui/status-bar.css +425 -0
  69. package/public/css/ui/toolbox.css +206 -0
  70. package/public/data/tips.json +218 -0
  71. package/public/icons/favicon.png +0 -0
  72. package/public/icons/icon-192.png +0 -0
  73. package/public/icons/icon-512.png +0 -0
  74. package/public/icons/whaly.png +0 -0
  75. package/public/index.html +1140 -0
  76. package/public/js/core/api.js +591 -0
  77. package/public/js/core/constants.js +3 -0
  78. package/public/js/core/dom.js +270 -0
  79. package/public/js/core/events.js +10 -0
  80. package/public/js/core/plugin-loader.js +153 -0
  81. package/public/js/core/store.js +39 -0
  82. package/public/js/core/utils.js +25 -0
  83. package/public/js/core/ws.js +64 -0
  84. package/public/js/features/agent-monitor.js +222 -0
  85. package/public/js/features/agents.js +1209 -0
  86. package/public/js/features/analytics.js +397 -0
  87. package/public/js/features/attachments.js +251 -0
  88. package/public/js/features/background-sessions.js +475 -0
  89. package/public/js/features/chat.js +589 -0
  90. package/public/js/features/cost-dashboard.js +152 -0
  91. package/public/js/features/dag-editor.js +399 -0
  92. package/public/js/features/easter-egg.js +46 -0
  93. package/public/js/features/home.js +270 -0
  94. package/public/js/features/projects.js +372 -0
  95. package/public/js/features/prompts.js +228 -0
  96. package/public/js/features/sessions.js +332 -0
  97. package/public/js/features/telegram.js +131 -0
  98. package/public/js/features/tour.js +210 -0
  99. package/public/js/features/voice-input.js +185 -0
  100. package/public/js/features/welcome.js +43 -0
  101. package/public/js/features/workflows.js +277 -0
  102. package/public/js/main.js +51 -0
  103. package/public/js/panels/assistant-bot.js +445 -0
  104. package/public/js/panels/dev-docs.js +380 -0
  105. package/public/js/panels/file-explorer.js +486 -0
  106. package/public/js/panels/git-panel.js +285 -0
  107. package/public/js/panels/mcp-manager.js +311 -0
  108. package/public/js/panels/tips-feed.js +303 -0
  109. package/public/js/ui/commands.js +114 -0
  110. package/public/js/ui/context-gauge.js +100 -0
  111. package/public/js/ui/diff.js +124 -0
  112. package/public/js/ui/disabled-tools.js +36 -0
  113. package/public/js/ui/export.js +74 -0
  114. package/public/js/ui/formatting.js +206 -0
  115. package/public/js/ui/header-dropdowns.js +72 -0
  116. package/public/js/ui/input-meta.js +71 -0
  117. package/public/js/ui/max-turns.js +21 -0
  118. package/public/js/ui/messages.js +387 -0
  119. package/public/js/ui/model-selector.js +20 -0
  120. package/public/js/ui/notifications.js +232 -0
  121. package/public/js/ui/parallel.js +176 -0
  122. package/public/js/ui/permissions.js +168 -0
  123. package/public/js/ui/right-panel.js +173 -0
  124. package/public/js/ui/shortcuts.js +143 -0
  125. package/public/js/ui/sidebar-toggle.js +29 -0
  126. package/public/js/ui/status-bar.js +172 -0
  127. package/public/js/ui/tab-sdk.js +623 -0
  128. package/public/js/ui/theme.js +38 -0
  129. package/public/manifest.json +13 -0
  130. package/public/offline.html +190 -0
  131. package/public/style.css +42 -0
  132. package/public/sw.js +91 -0
  133. package/server/agent-loop.js +385 -0
  134. package/server/dag-executor.js +265 -0
  135. package/server/orchestrator.js +514 -0
  136. package/server/paths.js +61 -0
  137. package/server/plugin-mount.js +56 -0
  138. package/server/push-sender.js +31 -0
  139. package/server/routes/agents.js +294 -0
  140. package/server/routes/bot.js +45 -0
  141. package/server/routes/exec.js +35 -0
  142. package/server/routes/files.js +218 -0
  143. package/server/routes/mcp.js +82 -0
  144. package/server/routes/messages.js +36 -0
  145. package/server/routes/notifications.js +37 -0
  146. package/server/routes/projects.js +207 -0
  147. package/server/routes/prompts.js +53 -0
  148. package/server/routes/sessions.js +103 -0
  149. package/server/routes/stats.js +143 -0
  150. package/server/routes/telegram.js +71 -0
  151. package/server/routes/tips.js +135 -0
  152. package/server/routes/workflows.js +81 -0
  153. package/server/summarizer.js +55 -0
  154. package/server/telegram-poller.js +205 -0
  155. package/server/telegram-sender.js +304 -0
  156. package/server/ws-handler.js +926 -0
  157. package/server.js +179 -0
@@ -0,0 +1,181 @@
1
+ /* ── Analytics Dashboard ─────────────────────────── */
2
+ .analytics-project-filter {
3
+ background: var(--bg);
4
+ color: var(--text);
5
+ border: 1px solid var(--border);
6
+ border-radius: var(--radius-md);
7
+ padding: 5px 10px;
8
+ font-size: 11px;
9
+ font-family: var(--font-sans);
10
+ cursor: pointer;
11
+ transition: all 0.2s var(--ease-smooth);
12
+ }
13
+
14
+ .analytics-project-filter:focus {
15
+ border-color: var(--accent);
16
+ box-shadow: var(--glow);
17
+ }
18
+
19
+ .analytics-content {
20
+ flex: 1;
21
+ overflow-y: auto;
22
+ padding-right: 4px;
23
+ }
24
+
25
+ .analytics-cards {
26
+ display: grid;
27
+ grid-template-columns: repeat(6, 1fr);
28
+ gap: 10px;
29
+ margin-bottom: 18px;
30
+ }
31
+
32
+ @media (max-width: 800px) {
33
+ .analytics-cards {
34
+ grid-template-columns: repeat(3, 1fr);
35
+ }
36
+ }
37
+
38
+ .analytics-section {
39
+ margin-bottom: 24px;
40
+ padding-top: 18px;
41
+ border-top: 1px solid var(--border-subtle);
42
+ }
43
+
44
+ .analytics-section h4 {
45
+ font-size: 11px;
46
+ font-weight: 600;
47
+ text-transform: uppercase;
48
+ letter-spacing: 0.08em;
49
+ color: var(--text-dim);
50
+ margin-bottom: 12px;
51
+ font-family: var(--font-display);
52
+ }
53
+
54
+ .analytics-section .cost-chart {
55
+ max-height: 260px;
56
+ }
57
+
58
+ .analytics-section .cost-chart-label {
59
+ width: 80px;
60
+ }
61
+
62
+ .analytics-section .cost-chart-value {
63
+ width: auto;
64
+ min-width: 50px;
65
+ white-space: nowrap;
66
+ }
67
+
68
+ .analytics-error-value {
69
+ color: var(--error) !important;
70
+ }
71
+
72
+ .analytics-error-badge {
73
+ color: var(--error);
74
+ font-size: 10px;
75
+ margin-left: 6px;
76
+ }
77
+
78
+ .analytics-empty {
79
+ color: var(--text-dim);
80
+ font-size: 12px;
81
+ padding: 12px 0;
82
+ font-style: italic;
83
+ font-family: var(--font-sans);
84
+ }
85
+
86
+ .analytics-loading {
87
+ color: var(--text-dim);
88
+ font-size: 12px;
89
+ padding: 24px;
90
+ text-align: center;
91
+ font-family: var(--font-sans);
92
+ }
93
+
94
+ .analytics-section .cost-table-container {
95
+ max-height: 260px;
96
+ }
97
+
98
+ .analytics-error-bar .cost-chart-bar {
99
+ background: var(--error);
100
+ }
101
+
102
+ .analytics-error-category-label {
103
+ width: 130px !important;
104
+ }
105
+
106
+ .analytics-error-list {
107
+ display: flex;
108
+ flex-direction: column;
109
+ gap: 8px;
110
+ max-height: 320px;
111
+ overflow-y: auto;
112
+ }
113
+
114
+ .analytics-error-item {
115
+ background: var(--bg);
116
+ border: 1px solid var(--border-subtle);
117
+ border-radius: var(--radius-md);
118
+ padding: 10px 12px;
119
+ font-size: 11px;
120
+ cursor: pointer;
121
+ transition: all 0.2s var(--ease-smooth);
122
+ font-family: var(--font-sans);
123
+ }
124
+
125
+ .analytics-error-item:hover {
126
+ border-color: var(--error);
127
+ background: rgba(237,51,59,0.03);
128
+ }
129
+
130
+ .analytics-error-item-header {
131
+ display: flex;
132
+ align-items: center;
133
+ gap: 8px;
134
+ }
135
+
136
+ .analytics-error-tool {
137
+ color: var(--error);
138
+ font-weight: 600;
139
+ font-size: 10px;
140
+ font-family: var(--font-display);
141
+ letter-spacing: 0.02em;
142
+ }
143
+
144
+ .analytics-error-time {
145
+ color: var(--text-dim);
146
+ font-size: 10px;
147
+ margin-left: auto;
148
+ font-family: var(--font-mono);
149
+ }
150
+
151
+ .analytics-error-preview {
152
+ font-family: var(--font-mono);
153
+ font-size: 10px;
154
+ color: var(--text-dim);
155
+ margin-top: 4px;
156
+ white-space: nowrap;
157
+ overflow: hidden;
158
+ text-overflow: ellipsis;
159
+ }
160
+
161
+ .analytics-error-full {
162
+ font-family: var(--font-mono);
163
+ font-size: 10px;
164
+ color: var(--text);
165
+ margin-top: 6px;
166
+ white-space: pre-wrap;
167
+ word-break: break-all;
168
+ max-height: 200px;
169
+ overflow-y: auto;
170
+ }
171
+
172
+ .analytics-error-category-badge {
173
+ display: inline-block;
174
+ font-size: 9px;
175
+ padding: 2px 6px;
176
+ border-radius: 4px;
177
+ background: color-mix(in srgb, var(--error) 12%, transparent);
178
+ color: var(--error);
179
+ margin-left: 4px;
180
+ font-family: var(--font-display);
181
+ }
@@ -0,0 +1,321 @@
1
+ /* ── Background Sessions ───────────────────────────────── */
2
+
3
+ /* Header indicator pill */
4
+ .bg-session-indicator {
5
+ display: inline-flex;
6
+ align-items: center;
7
+ gap: 5px;
8
+ margin-left: 8px;
9
+ padding: 2px 8px;
10
+ background: rgba(229, 165, 10, 0.12);
11
+ border: 1px solid rgba(229, 165, 10, 0.3);
12
+ border-radius: 10px;
13
+ font-size: 11px;
14
+ color: var(--warning);
15
+ cursor: pointer;
16
+ user-select: none;
17
+ }
18
+
19
+ .bg-session-indicator.hidden {
20
+ display: none;
21
+ }
22
+
23
+ /* ── Background sessions hover popup ─────────────────── */
24
+ .bg-popup {
25
+ position: fixed;
26
+ z-index: 300;
27
+ background: var(--bg-secondary);
28
+ border: 1px solid var(--border);
29
+ border-radius: var(--radius-lg);
30
+ box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
31
+ min-width: 260px;
32
+ max-width: 360px;
33
+ padding: 0;
34
+ overflow: hidden;
35
+ animation: fadeIn 0.1s ease;
36
+ font-family: var(--font-mono);
37
+ }
38
+
39
+ .bg-popup-header {
40
+ padding: 8px 12px;
41
+ font-size: 10px;
42
+ font-weight: 700;
43
+ text-transform: uppercase;
44
+ letter-spacing: 0.06em;
45
+ color: var(--warning);
46
+ border-bottom: 1px solid var(--border);
47
+ background: var(--bg-deep);
48
+ }
49
+
50
+ .bg-popup-row {
51
+ display: flex;
52
+ align-items: center;
53
+ gap: 8px;
54
+ padding: 8px 12px;
55
+ cursor: pointer;
56
+ transition: background 0.1s;
57
+ border-bottom: 1px solid var(--border);
58
+ }
59
+
60
+ .bg-popup-row:last-child {
61
+ border-bottom: none;
62
+ }
63
+
64
+ .bg-popup-row:hover {
65
+ background: var(--accent-dim);
66
+ }
67
+
68
+ .bg-popup-dot {
69
+ width: 6px;
70
+ height: 6px;
71
+ border-radius: 50%;
72
+ background: var(--warning);
73
+ flex-shrink: 0;
74
+ animation: bgDotPulse 1.4s ease-in-out infinite;
75
+ }
76
+
77
+ .bg-popup-info {
78
+ flex: 1;
79
+ min-width: 0;
80
+ overflow: hidden;
81
+ }
82
+
83
+ .bg-popup-title {
84
+ font-size: 12px;
85
+ color: var(--text);
86
+ font-weight: 500;
87
+ white-space: nowrap;
88
+ overflow: hidden;
89
+ text-overflow: ellipsis;
90
+ }
91
+
92
+ .bg-popup-meta {
93
+ display: flex;
94
+ align-items: center;
95
+ gap: 4px;
96
+ font-size: 10px;
97
+ color: var(--text-dim);
98
+ margin-top: 2px;
99
+ }
100
+
101
+ .bg-popup-id {
102
+ color: var(--accent);
103
+ font-weight: 600;
104
+ }
105
+
106
+ .bg-popup-sep {
107
+ color: var(--border);
108
+ }
109
+
110
+ .bg-popup-switch {
111
+ background: none;
112
+ border: 1px solid var(--border);
113
+ color: var(--text-dim);
114
+ width: 22px;
115
+ height: 22px;
116
+ border-radius: var(--radius);
117
+ cursor: pointer;
118
+ display: flex;
119
+ align-items: center;
120
+ justify-content: center;
121
+ font-size: 13px;
122
+ flex-shrink: 0;
123
+ transition: color 0.1s, border-color 0.1s, background 0.1s;
124
+ }
125
+
126
+ .bg-popup-switch:hover {
127
+ color: var(--accent);
128
+ border-color: var(--accent);
129
+ background: var(--accent-dim);
130
+ }
131
+
132
+ /* Blinking dot */
133
+ .bg-dot-blink {
134
+ width: 6px;
135
+ height: 6px;
136
+ border-radius: 50%;
137
+ background: var(--warning);
138
+ animation: bgDotPulse 1.4s ease-in-out infinite;
139
+ }
140
+
141
+ @keyframes bgDotPulse {
142
+ 0%, 100% { opacity: 1; }
143
+ 50% { opacity: 0.3; }
144
+ }
145
+
146
+ /* Confirmation dialog */
147
+ .bg-confirm-modal {
148
+ max-width: 420px;
149
+ }
150
+
151
+ .bg-confirm-text {
152
+ color: var(--text-secondary);
153
+ font-size: 13px;
154
+ margin: 0 0 16px;
155
+ line-height: 1.5;
156
+ }
157
+
158
+ .bg-confirm-actions {
159
+ display: flex;
160
+ gap: 8px;
161
+ justify-content: flex-end;
162
+ }
163
+
164
+ .bg-confirm-abort-btn {
165
+ color: var(--error) !important;
166
+ border-color: var(--error) !important;
167
+ }
168
+
169
+ .bg-confirm-abort-btn:hover {
170
+ background: rgba(237, 51, 59, 0.1) !important;
171
+ }
172
+
173
+ /* Toast container */
174
+ .toast-container {
175
+ position: fixed;
176
+ bottom: 16px;
177
+ right: 16px;
178
+ z-index: 10000;
179
+ display: flex;
180
+ flex-direction: column-reverse;
181
+ gap: 8px;
182
+ max-width: 360px;
183
+ }
184
+
185
+ /* Individual toast */
186
+ .bg-toast {
187
+ display: flex;
188
+ align-items: center;
189
+ gap: 10px;
190
+ padding: 10px 12px;
191
+ background: var(--bg-secondary);
192
+ border: 1px solid var(--border);
193
+ border-left: 3px solid var(--success);
194
+ border-radius: var(--radius-lg);
195
+ box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
196
+ animation: toastSlideIn 0.3s ease-out;
197
+ font-size: 12px;
198
+ color: var(--text);
199
+ min-width: 260px;
200
+ }
201
+
202
+ .bg-toast.toast-exit {
203
+ animation: toastSlideOut 0.25s ease-in forwards;
204
+ }
205
+
206
+ .bg-toast-dot {
207
+ width: 8px;
208
+ height: 8px;
209
+ border-radius: 50%;
210
+ background: var(--success);
211
+ flex-shrink: 0;
212
+ }
213
+
214
+ .bg-toast-body {
215
+ flex: 1;
216
+ min-width: 0;
217
+ }
218
+
219
+ .bg-toast-label {
220
+ color: var(--text-secondary);
221
+ font-size: 11px;
222
+ margin-bottom: 2px;
223
+ }
224
+
225
+ .bg-toast-title {
226
+ font-weight: 600;
227
+ white-space: nowrap;
228
+ overflow: hidden;
229
+ text-overflow: ellipsis;
230
+ }
231
+
232
+ .bg-toast-switch {
233
+ background: none;
234
+ border: 1px solid var(--border);
235
+ color: var(--accent);
236
+ cursor: pointer;
237
+ padding: 4px 8px;
238
+ border-radius: var(--radius);
239
+ font-size: 13px;
240
+ flex-shrink: 0;
241
+ transition: background 0.15s;
242
+ }
243
+
244
+ .bg-toast-switch:hover {
245
+ background: var(--accent-dim);
246
+ }
247
+
248
+ .bg-toast-close {
249
+ background: none;
250
+ border: none;
251
+ color: var(--text-dim);
252
+ cursor: pointer;
253
+ padding: 2px 4px;
254
+ font-size: 16px;
255
+ line-height: 1;
256
+ flex-shrink: 0;
257
+ transition: color 0.15s;
258
+ }
259
+
260
+ .bg-toast-close:hover {
261
+ color: var(--text);
262
+ }
263
+
264
+ /* Error toast variant */
265
+ .bg-toast-dot.error {
266
+ background: var(--error);
267
+ }
268
+
269
+ .bg-toast-error-msg {
270
+ font-size: 11px;
271
+ color: var(--text-dim);
272
+ margin-top: 2px;
273
+ white-space: nowrap;
274
+ overflow: hidden;
275
+ text-overflow: ellipsis;
276
+ }
277
+
278
+ /* Input-needed toast variant */
279
+ .bg-toast-dot.input-needed {
280
+ background: var(--accent);
281
+ animation: blink 1s infinite;
282
+ }
283
+
284
+ .bg-toast.bg-toast-input .bg-toast-label {
285
+ color: var(--accent);
286
+ }
287
+
288
+ /* Session list blinking dot */
289
+ .session-bg-indicator {
290
+ display: inline-block;
291
+ width: 6px;
292
+ height: 6px;
293
+ border-radius: 50%;
294
+ background: var(--warning);
295
+ margin-left: 6px;
296
+ vertical-align: middle;
297
+ animation: bgDotPulse 1.4s ease-in-out infinite;
298
+ }
299
+
300
+ /* Toast animations */
301
+ @keyframes toastSlideIn {
302
+ from {
303
+ transform: translateX(100%);
304
+ opacity: 0;
305
+ }
306
+ to {
307
+ transform: translateX(0);
308
+ opacity: 1;
309
+ }
310
+ }
311
+
312
+ @keyframes toastSlideOut {
313
+ from {
314
+ transform: translateX(0);
315
+ opacity: 1;
316
+ }
317
+ to {
318
+ transform: translateX(100%);
319
+ opacity: 0;
320
+ }
321
+ }
@@ -0,0 +1,168 @@
1
+ /* ── Cost Dashboard ─────────────────────────────────── */
2
+ .cost-dashboard-modal {
3
+ width: 760px;
4
+ max-width: 95vw;
5
+ max-height: 80vh;
6
+ display: flex;
7
+ flex-direction: column;
8
+ }
9
+
10
+ .cost-summary-cards {
11
+ display: grid;
12
+ grid-template-columns: repeat(4, 1fr);
13
+ gap: 10px;
14
+ margin-bottom: 18px;
15
+ }
16
+
17
+ .cost-card {
18
+ background: var(--bg);
19
+ border: 1px solid var(--border-subtle);
20
+ border-radius: var(--radius-md);
21
+ padding: 14px;
22
+ text-align: center;
23
+ transition: all 0.2s var(--ease-smooth);
24
+ }
25
+
26
+ .cost-card:hover {
27
+ border-color: var(--border);
28
+ transform: translateY(-1px);
29
+ }
30
+
31
+ .cost-card-label {
32
+ font-size: 10px;
33
+ font-weight: 600;
34
+ text-transform: uppercase;
35
+ letter-spacing: 0.08em;
36
+ color: var(--text-dim);
37
+ margin-bottom: 4px;
38
+ font-family: var(--font-display);
39
+ }
40
+
41
+ .cost-card-value {
42
+ font-size: 22px;
43
+ font-weight: 700;
44
+ font-family: var(--font-display);
45
+ color: var(--success);
46
+ }
47
+
48
+ .cost-card-sub {
49
+ font-size: 10px;
50
+ color: var(--text-dim);
51
+ margin-top: 2px;
52
+ font-family: var(--font-mono);
53
+ }
54
+
55
+ .cost-table-container {
56
+ flex: 1;
57
+ overflow-y: auto;
58
+ margin-bottom: 16px;
59
+ }
60
+
61
+ .cost-table {
62
+ width: 100%;
63
+ border-collapse: collapse;
64
+ font-size: 12px;
65
+ font-family: var(--font-sans);
66
+ }
67
+
68
+ .cost-table th {
69
+ position: sticky;
70
+ top: 0;
71
+ background: var(--bg-secondary);
72
+ text-align: left;
73
+ padding: 10px 12px;
74
+ font-size: 10px;
75
+ font-weight: 600;
76
+ text-transform: uppercase;
77
+ letter-spacing: 0.06em;
78
+ color: var(--text-dim);
79
+ border-bottom: 1px solid var(--border);
80
+ cursor: pointer;
81
+ user-select: none;
82
+ font-family: var(--font-display);
83
+ transition: color 0.15s;
84
+ }
85
+
86
+ .cost-table th:hover {
87
+ color: var(--accent);
88
+ }
89
+
90
+ .cost-table td {
91
+ padding: 8px 12px;
92
+ border-bottom: 1px solid var(--border-subtle);
93
+ color: var(--text-secondary);
94
+ }
95
+
96
+ .cost-table tr {
97
+ transition: background 0.15s;
98
+ }
99
+
100
+ .cost-table tr:nth-child(even) td {
101
+ background: rgba(255, 255, 255, 0.015);
102
+ }
103
+
104
+ .cost-table tr:hover td {
105
+ background: var(--accent-dim);
106
+ }
107
+
108
+ .cost-table td:last-child {
109
+ font-family: var(--font-mono);
110
+ color: var(--success);
111
+ }
112
+
113
+ .cost-chart-section h4 {
114
+ font-size: 11px;
115
+ font-weight: 600;
116
+ text-transform: uppercase;
117
+ letter-spacing: 0.08em;
118
+ color: var(--text-dim);
119
+ margin-bottom: 12px;
120
+ font-family: var(--font-display);
121
+ }
122
+
123
+ .cost-chart {
124
+ display: flex;
125
+ flex-direction: column;
126
+ gap: 4px;
127
+ max-height: 200px;
128
+ overflow-y: auto;
129
+ }
130
+
131
+ .cost-chart-row {
132
+ display: flex;
133
+ align-items: center;
134
+ gap: 8px;
135
+ font-size: 11px;
136
+ }
137
+
138
+ .cost-chart-label {
139
+ width: 60px;
140
+ flex-shrink: 0;
141
+ text-align: right;
142
+ color: var(--text-dim);
143
+ font-family: var(--font-mono);
144
+ }
145
+
146
+ .cost-chart-bar-bg {
147
+ flex: 1;
148
+ height: 18px;
149
+ background: var(--bg);
150
+ border-radius: 4px;
151
+ overflow: hidden;
152
+ }
153
+
154
+ .cost-chart-bar {
155
+ height: 100%;
156
+ background: var(--accent-solid);
157
+ border-radius: 3px;
158
+ min-width: 1px;
159
+ transition: width 0.4s var(--ease-out-expo);
160
+ box-shadow: var(--glow);
161
+ }
162
+
163
+ .cost-chart-value {
164
+ width: 50px;
165
+ flex-shrink: 0;
166
+ color: var(--text-secondary);
167
+ font-family: var(--font-mono);
168
+ }