@clagentic/console 1.0.0-beta.1

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 (221) hide show
  1. package/CREDITS.md +3 -0
  2. package/LICENSE +21 -0
  3. package/README.md +250 -0
  4. package/bin/cli.js +2812 -0
  5. package/lib/agents-favorites.js +164 -0
  6. package/lib/agents.js +282 -0
  7. package/lib/ask-user-mcp-server.js +120 -0
  8. package/lib/browser-mcp-server.js +484 -0
  9. package/lib/build-user-env.js +63 -0
  10. package/lib/certs/fullchain.pem +47 -0
  11. package/lib/certs/privkey.pem +5 -0
  12. package/lib/cli-sessions.js +265 -0
  13. package/lib/codex-defaults.js +18 -0
  14. package/lib/config.js +332 -0
  15. package/lib/crisis-safety.js +60 -0
  16. package/lib/daemon-projects.js +164 -0
  17. package/lib/daemon.js +1602 -0
  18. package/lib/dm.js +128 -0
  19. package/lib/ipc.js +125 -0
  20. package/lib/ipv4-only.js +39 -0
  21. package/lib/mcp-local.js +385 -0
  22. package/lib/notes.js +141 -0
  23. package/lib/os-users.js +529 -0
  24. package/lib/pages.js +1325 -0
  25. package/lib/project-connection.js +302 -0
  26. package/lib/project-external-trigger.js +236 -0
  27. package/lib/project-file-watch.js +120 -0
  28. package/lib/project-filesystem.js +528 -0
  29. package/lib/project-http.js +753 -0
  30. package/lib/project-image.js +95 -0
  31. package/lib/project-knowledge.js +88 -0
  32. package/lib/project-loop.js +1304 -0
  33. package/lib/project-mcp.js +374 -0
  34. package/lib/project-memory.js +39 -0
  35. package/lib/project-notifications.js +262 -0
  36. package/lib/project-sessions.js +1581 -0
  37. package/lib/project-user-mention.js +193 -0
  38. package/lib/project-user-message.js +628 -0
  39. package/lib/project.js +1303 -0
  40. package/lib/public/app.js +1031 -0
  41. package/lib/public/apple-touch-icon.png +0 -0
  42. package/lib/public/claude-code-avatar.png +0 -0
  43. package/lib/public/codex-avatar.png +0 -0
  44. package/lib/public/console-icon.png +0 -0
  45. package/lib/public/css/admin.css +736 -0
  46. package/lib/public/css/agent-picker.css +119 -0
  47. package/lib/public/css/base.css +235 -0
  48. package/lib/public/css/channel-layout.css +441 -0
  49. package/lib/public/css/command-palette.css +559 -0
  50. package/lib/public/css/debate.css +1609 -0
  51. package/lib/public/css/diff.css +139 -0
  52. package/lib/public/css/filebrowser.css +1976 -0
  53. package/lib/public/css/highlight.css +144 -0
  54. package/lib/public/css/home-hub.css +545 -0
  55. package/lib/public/css/icon-strip.css +1856 -0
  56. package/lib/public/css/input.css +1349 -0
  57. package/lib/public/css/loop.css +1248 -0
  58. package/lib/public/css/mention.css +317 -0
  59. package/lib/public/css/menus.css +857 -0
  60. package/lib/public/css/messages.css +1833 -0
  61. package/lib/public/css/mobile-nav.css +1332 -0
  62. package/lib/public/css/notifications-center.css +296 -0
  63. package/lib/public/css/overlays.css +1273 -0
  64. package/lib/public/css/playbook.css +264 -0
  65. package/lib/public/css/profile.css +397 -0
  66. package/lib/public/css/rewind.css +671 -0
  67. package/lib/public/css/scheduler-modal.css +1495 -0
  68. package/lib/public/css/scheduler.css +1420 -0
  69. package/lib/public/css/server-settings.css +909 -0
  70. package/lib/public/css/session-search.css +159 -0
  71. package/lib/public/css/sidebar.css +2012 -0
  72. package/lib/public/css/skills.css +789 -0
  73. package/lib/public/css/sticky-notes.css +854 -0
  74. package/lib/public/css/stt.css +155 -0
  75. package/lib/public/css/title-bar.css +674 -0
  76. package/lib/public/css/tooltip.css +67 -0
  77. package/lib/public/css/user-settings.css +702 -0
  78. package/lib/public/emoji-data.json +1 -0
  79. package/lib/public/favicon-banded-32.png +0 -0
  80. package/lib/public/favicon-banded.png +0 -0
  81. package/lib/public/favicon-dark.svg +32 -0
  82. package/lib/public/favicon.svg +32 -0
  83. package/lib/public/icon-192.png +0 -0
  84. package/lib/public/icon-512.png +0 -0
  85. package/lib/public/icon-banded-76.png +0 -0
  86. package/lib/public/icon-banded-96.png +0 -0
  87. package/lib/public/icon-mono.svg +25 -0
  88. package/lib/public/icons/email/gmail.svg +7 -0
  89. package/lib/public/icons/email/outlook.svg +35 -0
  90. package/lib/public/icons/email/yahoo.svg +1 -0
  91. package/lib/public/index.html +1946 -0
  92. package/lib/public/manifest.json +27 -0
  93. package/lib/public/markdown-worker.js +43 -0
  94. package/lib/public/marked.min.js +6 -0
  95. package/lib/public/modules/admin.js +954 -0
  96. package/lib/public/modules/agent-picker.js +429 -0
  97. package/lib/public/modules/app-connection.js +216 -0
  98. package/lib/public/modules/app-cursors.js +492 -0
  99. package/lib/public/modules/app-dm.js +265 -0
  100. package/lib/public/modules/app-favicon.js +231 -0
  101. package/lib/public/modules/app-header.js +242 -0
  102. package/lib/public/modules/app-home-hub.js +432 -0
  103. package/lib/public/modules/app-loop-ui.js +691 -0
  104. package/lib/public/modules/app-loop-wizard.js +439 -0
  105. package/lib/public/modules/app-messages.js +1415 -0
  106. package/lib/public/modules/app-misc.js +463 -0
  107. package/lib/public/modules/app-notifications.js +651 -0
  108. package/lib/public/modules/app-panels.js +1061 -0
  109. package/lib/public/modules/app-projects.js +875 -0
  110. package/lib/public/modules/app-rate-limit.js +529 -0
  111. package/lib/public/modules/app-rendering.js +739 -0
  112. package/lib/public/modules/app-skills-install.js +285 -0
  113. package/lib/public/modules/avatar.js +36 -0
  114. package/lib/public/modules/command-palette.js +491 -0
  115. package/lib/public/modules/console-logo.js +162 -0
  116. package/lib/public/modules/context-sources.js +365 -0
  117. package/lib/public/modules/diff.js +412 -0
  118. package/lib/public/modules/dom-refs.js +21 -0
  119. package/lib/public/modules/emoji-picker.js +222 -0
  120. package/lib/public/modules/events.js +21 -0
  121. package/lib/public/modules/filebrowser.js +1966 -0
  122. package/lib/public/modules/fileicons.js +172 -0
  123. package/lib/public/modules/icons.js +80 -0
  124. package/lib/public/modules/input.js +1102 -0
  125. package/lib/public/modules/longpress.js +74 -0
  126. package/lib/public/modules/markdown.js +486 -0
  127. package/lib/public/modules/mcp-ui.js +295 -0
  128. package/lib/public/modules/mention.js +1093 -0
  129. package/lib/public/modules/notifications.js +613 -0
  130. package/lib/public/modules/playbook.js +578 -0
  131. package/lib/public/modules/profile.js +594 -0
  132. package/lib/public/modules/project-settings.js +849 -0
  133. package/lib/public/modules/project-switcher.js +375 -0
  134. package/lib/public/modules/qrcode.js +87 -0
  135. package/lib/public/modules/rewind.js +381 -0
  136. package/lib/public/modules/scheduler-config.js +1611 -0
  137. package/lib/public/modules/scheduler-history.js +131 -0
  138. package/lib/public/modules/scheduler.js +1689 -0
  139. package/lib/public/modules/server-settings.js +842 -0
  140. package/lib/public/modules/session-search.js +456 -0
  141. package/lib/public/modules/settings-defaults.js +253 -0
  142. package/lib/public/modules/sidebar-mobile.js +1425 -0
  143. package/lib/public/modules/sidebar-projects.js +2022 -0
  144. package/lib/public/modules/sidebar-sessions.js +1548 -0
  145. package/lib/public/modules/sidebar-users.js +449 -0
  146. package/lib/public/modules/sidebar.js +348 -0
  147. package/lib/public/modules/skills.js +793 -0
  148. package/lib/public/modules/state.js +3 -0
  149. package/lib/public/modules/sticky-notes.js +1221 -0
  150. package/lib/public/modules/store.js +34 -0
  151. package/lib/public/modules/stt.js +266 -0
  152. package/lib/public/modules/terminal.js +987 -0
  153. package/lib/public/modules/theme.js +812 -0
  154. package/lib/public/modules/tool-palette.js +562 -0
  155. package/lib/public/modules/tools.js +2285 -0
  156. package/lib/public/modules/tooltip.js +150 -0
  157. package/lib/public/modules/user-settings.js +544 -0
  158. package/lib/public/modules/utils.js +56 -0
  159. package/lib/public/modules/ws-ref.js +26 -0
  160. package/lib/public/style.css +34 -0
  161. package/lib/public/sw.js +159 -0
  162. package/lib/push.js +149 -0
  163. package/lib/scheduler.js +471 -0
  164. package/lib/sdk-bridge.js +1792 -0
  165. package/lib/sdk-message-processor.js +740 -0
  166. package/lib/sdk-message-queue.js +42 -0
  167. package/lib/sdk-skill-discovery.js +131 -0
  168. package/lib/sdk-worker.js +677 -0
  169. package/lib/server-admin.js +712 -0
  170. package/lib/server-auth.js +737 -0
  171. package/lib/server-dm.js +170 -0
  172. package/lib/server-palette.js +104 -0
  173. package/lib/server-settings.js +553 -0
  174. package/lib/server-skills.js +280 -0
  175. package/lib/server.js +1390 -0
  176. package/lib/session-search.js +693 -0
  177. package/lib/sessions.js +946 -0
  178. package/lib/smtp.js +221 -0
  179. package/lib/terminal-manager.js +219 -0
  180. package/lib/terminal.js +39 -0
  181. package/lib/themes/ayu-light.json +9 -0
  182. package/lib/themes/catppuccin-latte.json +9 -0
  183. package/lib/themes/catppuccin-mocha.json +9 -0
  184. package/lib/themes/clagentic-dark.json +10 -0
  185. package/lib/themes/clagentic-light.json +10 -0
  186. package/lib/themes/dracula.json +9 -0
  187. package/lib/themes/everforest-light.json +9 -0
  188. package/lib/themes/everforest.json +9 -0
  189. package/lib/themes/github-light.json +9 -0
  190. package/lib/themes/gruvbox-dark.json +9 -0
  191. package/lib/themes/gruvbox-light.json +9 -0
  192. package/lib/themes/monokai.json +9 -0
  193. package/lib/themes/nord-light.json +9 -0
  194. package/lib/themes/nord.json +9 -0
  195. package/lib/themes/one-dark.json +9 -0
  196. package/lib/themes/one-light.json +9 -0
  197. package/lib/themes/rose-pine-dawn.json +9 -0
  198. package/lib/themes/rose-pine.json +9 -0
  199. package/lib/themes/solarized-dark.json +9 -0
  200. package/lib/themes/solarized-light.json +9 -0
  201. package/lib/themes/tokyo-night-light.json +9 -0
  202. package/lib/themes/tokyo-night.json +9 -0
  203. package/lib/updater.js +124 -0
  204. package/lib/user-presence.js +92 -0
  205. package/lib/users-auth.js +146 -0
  206. package/lib/users-permissions.js +118 -0
  207. package/lib/users-preferences.js +254 -0
  208. package/lib/users.js +465 -0
  209. package/lib/utils.js +64 -0
  210. package/lib/worktree.js +134 -0
  211. package/lib/ws-schema.js +464 -0
  212. package/lib/yoke/adapters/claude-worker.js +759 -0
  213. package/lib/yoke/adapters/claude.js +1599 -0
  214. package/lib/yoke/adapters/codex.js +1559 -0
  215. package/lib/yoke/codex-app-server.js +352 -0
  216. package/lib/yoke/index.js +319 -0
  217. package/lib/yoke/instructions.js +61 -0
  218. package/lib/yoke/interface.js +98 -0
  219. package/lib/yoke/mcp-bridge-server.js +302 -0
  220. package/lib/yoke/package.json +7 -0
  221. package/package.json +72 -0
@@ -0,0 +1,1332 @@
1
+ /* ==========================================================================
2
+ Mobile Bottom Tab Bar
3
+ ========================================================================== */
4
+
5
+ #mobile-tab-bar {
6
+ display: none;
7
+ }
8
+
9
+ #mobile-sheet {
10
+ display: none;
11
+ }
12
+
13
+ @media (max-width: 768px) {
14
+ :root {
15
+ --content-width: 100%;
16
+ }
17
+
18
+ #mobile-tab-bar {
19
+ position: fixed;
20
+ bottom: 0;
21
+ left: 0;
22
+ right: 0;
23
+ height: calc(56px + var(--safe-bottom));
24
+ padding-top: 1px;
25
+ padding-bottom: var(--safe-bottom);
26
+ background: var(--bg);
27
+ border-top: 1px solid var(--border);
28
+ display: flex;
29
+ align-items: flex-start;
30
+ justify-content: space-around;
31
+ z-index: 200;
32
+ }
33
+
34
+ #mobile-tab-bar.keyboard-hidden {
35
+ display: none;
36
+ }
37
+
38
+ /* --- Tab item --- */
39
+ .mobile-tab {
40
+ flex: 1;
41
+ display: flex;
42
+ flex-direction: column;
43
+ align-items: center;
44
+ justify-content: center;
45
+ gap: 2px;
46
+ height: 56px;
47
+ background: none;
48
+ border: none;
49
+ color: var(--text-dimmer);
50
+ cursor: pointer;
51
+ padding: 0;
52
+ -webkit-tap-highlight-color: transparent;
53
+ transition: color 0.15s;
54
+ }
55
+
56
+ .mobile-tab .lucide {
57
+ width: 20px;
58
+ height: 20px;
59
+ }
60
+
61
+ .mobile-tab-label {
62
+ font-size: 10px;
63
+ font-family: "Pretendard", system-ui, sans-serif;
64
+ font-weight: 500;
65
+ line-height: 1;
66
+ }
67
+
68
+ .mobile-tab:active {
69
+ color: var(--text-secondary);
70
+ }
71
+
72
+ .mobile-tab.active {
73
+ color: var(--accent);
74
+ }
75
+
76
+ /* --- Badge on tab icon (e.g. terminal count) --- */
77
+ .mobile-tab-badge {
78
+ position: absolute;
79
+ top: 4px;
80
+ right: calc(50% - 18px);
81
+ background: var(--success);
82
+ color: #fff;
83
+ font-size: 9px;
84
+ font-weight: 700;
85
+ font-family: "Roboto Mono", monospace;
86
+ min-width: 14px;
87
+ height: 14px;
88
+ border-radius: 7px;
89
+ display: inline-flex;
90
+ align-items: center;
91
+ justify-content: center;
92
+ padding: 0 3px;
93
+ line-height: 1;
94
+ }
95
+
96
+ .mobile-tab-badge.hidden { display: none; }
97
+
98
+ .mobile-tab { position: relative; }
99
+
100
+ /* --- Center Clay home button --- */
101
+ .mobile-tab-home {
102
+ flex: 1;
103
+ height: 100%;
104
+ background: none;
105
+ border: none;
106
+ display: flex;
107
+ align-items: center;
108
+ justify-content: center;
109
+ cursor: pointer;
110
+ -webkit-tap-highlight-color: transparent;
111
+ }
112
+
113
+ .mobile-home-icon {
114
+ width: 28px;
115
+ height: 28px;
116
+ transition: transform 0.1s, filter 0.2s;
117
+ filter: grayscale(1) brightness(1.3) opacity(0.5);
118
+ }
119
+
120
+ /* Alerts badge (red) */
121
+ #mob-alerts-badge {
122
+ background: #e74c3c;
123
+ }
124
+
125
+ .mobile-tab-home.active .mobile-home-icon {
126
+ filter: none;
127
+ }
128
+
129
+ .mobile-tab-home:active .mobile-home-icon {
130
+ filter: none;
131
+ transform: scale(0.92);
132
+ }
133
+
134
+ /* --- Mobile project list items (inside sidebar) --- */
135
+ .mobile-project-item {
136
+ display: flex;
137
+ align-items: center;
138
+ gap: 10px;
139
+ width: 100%;
140
+ padding: 10px 12px;
141
+ background: none;
142
+ border: none;
143
+ border-radius: 8px;
144
+ color: var(--text-secondary);
145
+ font-family: "Pretendard", system-ui, sans-serif;
146
+ font-size: 14px;
147
+ cursor: pointer;
148
+ text-align: left;
149
+ -webkit-tap-highlight-color: transparent;
150
+ transition: background 0.15s;
151
+ }
152
+
153
+ .mobile-project-item:active {
154
+ background: rgba(var(--overlay-rgb), 0.06);
155
+ }
156
+
157
+ .mobile-project-item.active {
158
+ color: var(--text);
159
+ background: rgba(var(--overlay-rgb), 0.06);
160
+ }
161
+
162
+ .mobile-project-abbrev {
163
+ width: 32px;
164
+ height: 32px;
165
+ border-radius: 8px;
166
+ background: var(--bg-alt);
167
+ display: flex;
168
+ align-items: center;
169
+ justify-content: center;
170
+ font-size: 13px;
171
+ font-weight: 600;
172
+ color: var(--text-secondary);
173
+ flex-shrink: 0;
174
+ }
175
+
176
+ .mobile-project-item.active .mobile-project-abbrev {
177
+ background: var(--accent);
178
+ color: #fff;
179
+ }
180
+
181
+ .mobile-project-name {
182
+ flex: 1;
183
+ overflow: hidden;
184
+ text-overflow: ellipsis;
185
+ white-space: nowrap;
186
+ }
187
+
188
+ .mobile-project-processing {
189
+ width: 8px;
190
+ height: 8px;
191
+ border-radius: 50%;
192
+ background: var(--success);
193
+ flex-shrink: 0;
194
+ }
195
+
196
+ .mobile-project-unread {
197
+ min-width: 18px;
198
+ height: 18px;
199
+ border-radius: 9px;
200
+ background: #e74c3c;
201
+ color: #fff;
202
+ font-size: 11px;
203
+ font-weight: 700;
204
+ display: flex;
205
+ align-items: center;
206
+ justify-content: center;
207
+ padding: 0 5px;
208
+ line-height: 18px;
209
+ flex-shrink: 0;
210
+ margin-left: auto;
211
+ }
212
+
213
+ /* Projects tab unread badge */
214
+ .mobile-tab-projects-badge {
215
+ position: absolute;
216
+ top: 4px;
217
+ right: calc(50% - 18px);
218
+ background: #e74c3c;
219
+ color: #fff;
220
+ font-size: 9px;
221
+ font-weight: 700;
222
+ font-family: "Roboto Mono", monospace;
223
+ min-width: 14px;
224
+ height: 14px;
225
+ border-radius: 7px;
226
+ display: inline-flex;
227
+ align-items: center;
228
+ justify-content: center;
229
+ padding: 0 3px;
230
+ line-height: 1;
231
+ }
232
+ .mobile-tab-projects-badge.hidden { display: none; }
233
+
234
+ /* Projects sheet header ([+] button) */
235
+ .mobile-projects-header {
236
+ display: flex;
237
+ align-items: center;
238
+ justify-content: flex-end;
239
+ padding: 0 12px 4px;
240
+ }
241
+ .mobile-projects-add-btn {
242
+ display: flex;
243
+ align-items: center;
244
+ justify-content: center;
245
+ width: 32px;
246
+ height: 32px;
247
+ border: none;
248
+ background: none;
249
+ border-radius: 8px;
250
+ color: var(--text-dimmer);
251
+ cursor: pointer;
252
+ -webkit-tap-highlight-color: transparent;
253
+ }
254
+ .mobile-projects-add-btn:active { background: rgba(var(--overlay-rgb), 0.08); }
255
+ .mobile-projects-add-btn .lucide { width: 18px; height: 18px; }
256
+
257
+ /* Indented project row inside a folder */
258
+ .mobile-project-item-indent {
259
+ padding-left: 28px;
260
+ }
261
+
262
+ /* Folder header row */
263
+ .mobile-folder-header {
264
+ display: flex;
265
+ align-items: center;
266
+ gap: 10px;
267
+ width: 100%;
268
+ padding: 10px 12px;
269
+ background: none;
270
+ border: none;
271
+ border-radius: 8px;
272
+ color: var(--text-dimmer);
273
+ font-family: "Pretendard", system-ui, sans-serif;
274
+ font-size: 14px;
275
+ font-weight: 500;
276
+ cursor: pointer;
277
+ text-align: left;
278
+ -webkit-tap-highlight-color: transparent;
279
+ transition: background 0.15s;
280
+ }
281
+ .mobile-folder-header:active { background: rgba(var(--overlay-rgb), 0.06); }
282
+ .mobile-folder-header.active { color: var(--text); }
283
+
284
+ .mobile-folder-icon-wrap {
285
+ position: relative;
286
+ width: 32px;
287
+ height: 32px;
288
+ display: flex;
289
+ align-items: center;
290
+ justify-content: center;
291
+ flex-shrink: 0;
292
+ color: var(--text-dimmer);
293
+ }
294
+ .mobile-folder-icon-wrap .lucide { width: 22px; height: 22px; }
295
+
296
+ .mobile-folder-emoji-overlay {
297
+ position: absolute;
298
+ bottom: 0;
299
+ right: 0;
300
+ font-size: 12px;
301
+ line-height: 1;
302
+ pointer-events: none;
303
+ }
304
+
305
+ .mobile-folder-name {
306
+ flex: 1;
307
+ overflow: hidden;
308
+ text-overflow: ellipsis;
309
+ white-space: nowrap;
310
+ }
311
+
312
+ .mobile-folder-chevron {
313
+ color: var(--text-dimmer);
314
+ transition: transform 0.2s;
315
+ display: flex;
316
+ align-items: center;
317
+ }
318
+ .mobile-folder-chevron .lucide { width: 14px; height: 14px; }
319
+ .mobile-folder-chevron.open { transform: rotate(90deg); }
320
+
321
+ .mobile-folder-children { overflow: hidden; }
322
+ .mobile-folder-children.hidden { display: none; }
323
+
324
+ /* Chat sheet — project header row */
325
+ .mobile-chat-project-header {
326
+ display: flex;
327
+ align-items: center;
328
+ gap: 10px;
329
+ padding: 8px 12px 10px;
330
+ border-bottom: 1px solid var(--border-subtle, var(--border));
331
+ margin-bottom: 4px;
332
+ }
333
+ .mobile-chat-project-icon {
334
+ width: 28px;
335
+ height: 28px;
336
+ border-radius: 7px;
337
+ background: var(--bg-alt);
338
+ display: flex;
339
+ align-items: center;
340
+ justify-content: center;
341
+ font-size: 13px;
342
+ font-weight: 600;
343
+ color: var(--text-secondary);
344
+ flex-shrink: 0;
345
+ }
346
+ /* Tappable title area (icon + name) in chat sheet header */
347
+ .mobile-chat-project-titlearea {
348
+ display: flex;
349
+ align-items: center;
350
+ gap: 10px;
351
+ flex: 1;
352
+ min-width: 0;
353
+ background: none;
354
+ border: none;
355
+ padding: 0;
356
+ cursor: pointer;
357
+ border-radius: 8px;
358
+ -webkit-tap-highlight-color: transparent;
359
+ text-align: left;
360
+ }
361
+ .mobile-chat-project-titlearea:active { opacity: 0.7; }
362
+
363
+ .mobile-chat-project-name {
364
+ flex: 1;
365
+ font-family: "Pretendard", system-ui, sans-serif;
366
+ font-size: 14px;
367
+ font-weight: 600;
368
+ color: var(--text);
369
+ overflow: hidden;
370
+ text-overflow: ellipsis;
371
+ white-space: nowrap;
372
+ }
373
+ .mobile-chat-project-more {
374
+ display: flex;
375
+ align-items: center;
376
+ justify-content: center;
377
+ width: 32px;
378
+ height: 32px;
379
+ border: none;
380
+ background: none;
381
+ border-radius: 8px;
382
+ color: var(--text-dimmer);
383
+ cursor: pointer;
384
+ flex-shrink: 0;
385
+ -webkit-tap-highlight-color: transparent;
386
+ }
387
+ .mobile-chat-project-more:active { background: rgba(var(--overlay-rgb), 0.08); }
388
+ .mobile-chat-project-more .lucide { width: 18px; height: 18px; }
389
+
390
+ /* Project action mini-sheet (from [⋯] button) */
391
+ .mobile-action-sheet-overlay {
392
+ position: fixed;
393
+ inset: 0;
394
+ z-index: 400;
395
+ background: rgba(var(--shadow-rgb), 0.45);
396
+ display: flex;
397
+ align-items: flex-end;
398
+ }
399
+ .mobile-action-sheet {
400
+ width: 100%;
401
+ background: var(--bg);
402
+ border-radius: 14px 14px 0 0;
403
+ padding: 8px 0 calc(16px + var(--safe-bottom));
404
+ display: flex;
405
+ flex-direction: column;
406
+ }
407
+ .mobile-action-sheet-item {
408
+ display: flex;
409
+ align-items: center;
410
+ gap: 14px;
411
+ width: 100%;
412
+ padding: 14px 20px;
413
+ background: none;
414
+ border: none;
415
+ color: var(--text-secondary);
416
+ font-family: "Pretendard", system-ui, sans-serif;
417
+ font-size: 15px;
418
+ cursor: pointer;
419
+ text-align: left;
420
+ -webkit-tap-highlight-color: transparent;
421
+ }
422
+ .mobile-action-sheet-item:active { background: rgba(var(--overlay-rgb), 0.06); }
423
+ .mobile-action-sheet-item .lucide { width: 20px; height: 20px; color: var(--text-dimmer); flex-shrink: 0; }
424
+ .mobile-action-sheet-cancel {
425
+ width: calc(100% - 32px);
426
+ margin: 8px 16px 0;
427
+ padding: 14px;
428
+ border: none;
429
+ border-radius: 12px;
430
+ background: var(--bg-alt);
431
+ color: var(--text);
432
+ font-family: "Pretendard", system-ui, sans-serif;
433
+ font-size: 15px;
434
+ font-weight: 600;
435
+ cursor: pointer;
436
+ -webkit-tap-highlight-color: transparent;
437
+ }
438
+ .mobile-action-sheet-cancel:active { background: rgba(var(--overlay-rgb), 0.08); }
439
+
440
+ /* More sheet — sectioned items */
441
+ .mobile-more-inline-row {
442
+ cursor: pointer;
443
+ }
444
+ .mobile-more-inline-value {
445
+ margin-left: auto;
446
+ color: var(--text-dimmer);
447
+ font-size: 13px;
448
+ }
449
+ .mobile-more-toggle-row {
450
+ display: flex;
451
+ align-items: center;
452
+ gap: 10px;
453
+ padding: 12px 16px;
454
+ }
455
+ .mobile-more-toggle-left {
456
+ display: flex;
457
+ align-items: center;
458
+ gap: 10px;
459
+ flex: 1;
460
+ color: var(--text-secondary);
461
+ }
462
+ .mobile-more-toggle-left .lucide { width: 20px; height: 20px; color: var(--text-dimmer); }
463
+
464
+ /* Dark mode toggle switch */
465
+ .mobile-settings-theme-toggle {
466
+ position: relative;
467
+ width: 44px;
468
+ height: 26px;
469
+ flex-shrink: 0;
470
+ cursor: pointer;
471
+ }
472
+ .mobile-settings-theme-toggle input {
473
+ opacity: 0;
474
+ width: 0;
475
+ height: 0;
476
+ position: absolute;
477
+ appearance: none;
478
+ outline: none;
479
+ }
480
+ .mobile-settings-theme-thumb {
481
+ position: absolute;
482
+ inset: 0;
483
+ border-radius: 13px;
484
+ background: var(--bg-alt);
485
+ border: 1px solid var(--border);
486
+ transition: background 0.2s;
487
+ }
488
+ .mobile-settings-theme-thumb::before {
489
+ content: "";
490
+ position: absolute;
491
+ width: 20px;
492
+ height: 20px;
493
+ border-radius: 50%;
494
+ background: var(--text-dimmer);
495
+ top: 2px;
496
+ left: 2px;
497
+ transition: transform 0.2s, background 0.2s;
498
+ }
499
+ .mobile-settings-theme-toggle input:checked + .mobile-settings-theme-thumb {
500
+ background: var(--accent);
501
+ border-color: var(--accent);
502
+ }
503
+ .mobile-settings-theme-toggle input:checked + .mobile-settings-theme-thumb::before {
504
+ transform: translateX(18px);
505
+ background: #fff;
506
+ }
507
+
508
+ /* ==========================================================================
509
+ Mobile Sheet — fullscreen overlay for Projects / Sessions
510
+ ========================================================================== */
511
+
512
+ #mobile-sheet {
513
+ position: fixed;
514
+ inset: 0;
515
+ z-index: 250;
516
+ display: flex;
517
+ flex-direction: column;
518
+ justify-content: flex-end;
519
+ }
520
+
521
+ #mobile-sheet.hidden { display: none; }
522
+
523
+ /* Dimmed backdrop */
524
+ .mobile-sheet-backdrop {
525
+ position: absolute;
526
+ inset: 0;
527
+ background: rgba(var(--shadow-rgb), 0.55);
528
+ }
529
+
530
+ /* Content card — slides up from bottom */
531
+ .mobile-sheet-content {
532
+ position: relative;
533
+ background: var(--bg);
534
+ border-radius: 20px 20px 0 0;
535
+ max-height: 80vh;
536
+ display: flex;
537
+ flex-direction: column;
538
+ box-shadow: 0 -4px 32px rgba(var(--shadow-rgb), 0.2);
539
+ animation: sheetSlideUp 0.28s ease-out;
540
+ }
541
+
542
+ /* Taller sheet for file browser */
543
+ #mobile-sheet.sheet-files .mobile-sheet-content {
544
+ max-height: 90vh;
545
+ }
546
+
547
+ #mobile-sheet.closing .mobile-sheet-content {
548
+ animation: sheetSlideDown 0.22s ease-in forwards;
549
+ }
550
+
551
+ #mobile-sheet.closing .mobile-sheet-backdrop {
552
+ animation: sheetFadeOut 0.22s ease-in forwards;
553
+ }
554
+
555
+ @keyframes sheetSlideUp {
556
+ from { transform: translateY(100%); }
557
+ to { transform: translateY(0); }
558
+ }
559
+
560
+ @keyframes sheetSlideDown {
561
+ from { transform: translateY(0); }
562
+ to { transform: translateY(100%); }
563
+ }
564
+
565
+ @keyframes sheetFadeOut {
566
+ from { opacity: 1; }
567
+ to { opacity: 0; }
568
+ }
569
+
570
+ /* Drag handle pill */
571
+ .mobile-sheet-handle {
572
+ width: 36px;
573
+ height: 4px;
574
+ border-radius: 2px;
575
+ background: var(--text-dimmer);
576
+ opacity: 0.4;
577
+ margin: 0 auto;
578
+ padding: 12px 0;
579
+ background-clip: content-box;
580
+ flex-shrink: 0;
581
+ touch-action: none;
582
+ cursor: grab;
583
+ }
584
+
585
+ /* Header */
586
+ .mobile-sheet-header {
587
+ display: flex;
588
+ align-items: center;
589
+ padding: 12px 16px 8px;
590
+ flex-shrink: 0;
591
+ }
592
+
593
+ .mobile-sheet-title {
594
+ flex: 1;
595
+ font-family: "Pretendard", system-ui, sans-serif;
596
+ font-size: 17px;
597
+ font-weight: 700;
598
+ color: var(--text);
599
+ }
600
+
601
+ .mobile-sheet-close {
602
+ width: 32px;
603
+ height: 32px;
604
+ border-radius: 50%;
605
+ border: none;
606
+ background: rgba(var(--overlay-rgb), 0.06);
607
+ color: var(--text-secondary);
608
+ display: flex;
609
+ align-items: center;
610
+ justify-content: center;
611
+ cursor: pointer;
612
+ -webkit-tap-highlight-color: transparent;
613
+ }
614
+
615
+ .mobile-sheet-close .lucide {
616
+ width: 16px;
617
+ height: 16px;
618
+ }
619
+
620
+ /* Scrollable list */
621
+ .mobile-sheet-list {
622
+ flex: 1;
623
+ overflow-y: auto;
624
+ -webkit-overflow-scrolling: touch;
625
+ padding: 4px 8px;
626
+ padding-bottom: calc(var(--safe-bottom) + 16px);
627
+ }
628
+
629
+ /* --- Session action grid (2-column) --- */
630
+ .mobile-session-actions {
631
+ display: flex;
632
+ flex-direction: column;
633
+ border-bottom: 1px solid var(--border);
634
+ margin-bottom: 4px;
635
+ }
636
+
637
+ /* --- New session button --- */
638
+ .mobile-session-new {
639
+ display: flex;
640
+ align-items: center;
641
+ gap: 8px;
642
+ width: 100%;
643
+ padding: 12px 12px;
644
+ background: none;
645
+ border: none;
646
+ color: var(--accent);
647
+ font-family: "Pretendard", system-ui, sans-serif;
648
+ font-size: 15px;
649
+ font-weight: 600;
650
+ cursor: pointer;
651
+ text-align: left;
652
+ -webkit-tap-highlight-color: transparent;
653
+ }
654
+
655
+ .mobile-session-new:active {
656
+ background: rgba(var(--overlay-rgb), 0.06);
657
+ }
658
+
659
+ .mobile-session-new--dim {
660
+ opacity: 0.45;
661
+ }
662
+
663
+ /* --- Chat filter bar (horizontal scroll chips) --- */
664
+ .mobile-chat-filter-bar {
665
+ display: flex;
666
+ gap: 8px;
667
+ padding: 8px 16px;
668
+ overflow-x: auto;
669
+ -webkit-overflow-scrolling: touch;
670
+ scrollbar-width: none;
671
+ flex-shrink: 0;
672
+ border-bottom: 1px solid var(--border, rgba(var(--overlay-rgb), 0.08));
673
+ }
674
+ .mobile-chat-filter-bar::-webkit-scrollbar { display: none; }
675
+
676
+ .mobile-chat-chip {
677
+ display: flex;
678
+ align-items: center;
679
+ gap: 6px;
680
+ padding: 6px 12px;
681
+ background: rgba(var(--overlay-rgb), 0.05);
682
+ border: 1px solid transparent;
683
+ border-radius: 8px;
684
+ color: var(--text-secondary, var(--text-muted));
685
+ font-family: "Pretendard", system-ui, sans-serif;
686
+ font-size: 13px;
687
+ font-weight: 500;
688
+ white-space: nowrap;
689
+ cursor: pointer;
690
+ -webkit-tap-highlight-color: transparent;
691
+ transition: background 0.15s, border-color 0.15s;
692
+ flex-shrink: 0;
693
+ }
694
+
695
+ .mobile-chat-chip:active {
696
+ background: rgba(var(--overlay-rgb), 0.1);
697
+ }
698
+
699
+ .mobile-chat-chip.active {
700
+ background: var(--accent-8, rgba(var(--overlay-rgb), 0.12));
701
+ border-color: var(--accent, currentColor);
702
+ color: var(--accent, var(--text));
703
+ font-weight: 600;
704
+ }
705
+
706
+ .mobile-chat-chip-icon {
707
+ width: 20px;
708
+ height: 20px;
709
+ border-radius: 4px;
710
+ background: rgba(var(--overlay-rgb), 0.1);
711
+ display: flex;
712
+ align-items: center;
713
+ justify-content: center;
714
+ font-size: 10px;
715
+ font-weight: 700;
716
+ flex-shrink: 0;
717
+ }
718
+
719
+ .mobile-chat-chip.active .mobile-chat-chip-icon {
720
+ background: var(--accent, currentColor);
721
+ color: #fff;
722
+ }
723
+
724
+ .mobile-chat-chip-avatar {
725
+ width: 20px;
726
+ height: 20px;
727
+ border-radius: 50%;
728
+ flex-shrink: 0;
729
+ }
730
+
731
+ .mobile-chat-chip-badge {
732
+ min-width: 16px;
733
+ height: 16px;
734
+ border-radius: 8px;
735
+ background: #e74c3c;
736
+ color: #fff;
737
+ font-size: 10px;
738
+ font-weight: 700;
739
+ display: flex;
740
+ align-items: center;
741
+ justify-content: center;
742
+ padding: 0 4px;
743
+ line-height: 16px;
744
+ flex-shrink: 0;
745
+ }
746
+
747
+ /* Processing dot inside chip: reuse icon-strip-status, override position to inline */
748
+ .mobile-chat-chip .icon-strip-status {
749
+ position: static;
750
+ width: 7px;
751
+ height: 7px;
752
+ border: none;
753
+ flex-shrink: 0;
754
+ }
755
+
756
+ .mobile-chat-session-list {
757
+ flex: 1;
758
+ overflow-y: auto;
759
+ -webkit-overflow-scrolling: touch;
760
+ padding: 0 8px 8px;
761
+ }
762
+
763
+ .mobile-chat-context-note {
764
+ padding: 8px 12px;
765
+ font-size: 12px;
766
+ color: var(--text-dimmer, var(--text-muted));
767
+ }
768
+
769
+ /* Unread badge on session items */
770
+ .mobile-session-unread {
771
+ min-width: 18px;
772
+ height: 18px;
773
+ border-radius: 9px;
774
+ background: var(--accent, #ff7b54);
775
+ color: #fff;
776
+ font-size: 11px;
777
+ font-weight: 700;
778
+ display: flex;
779
+ align-items: center;
780
+ justify-content: center;
781
+ padding: 0 5px;
782
+ line-height: 18px;
783
+ flex-shrink: 0;
784
+ margin-left: auto;
785
+ }
786
+
787
+ /* --- Session items inside sheet --- */
788
+ .mobile-session-item {
789
+ display: flex;
790
+ align-items: center;
791
+ gap: 10px;
792
+ width: 100%;
793
+ min-height: 48px;
794
+ padding: 12px 12px;
795
+ background: none;
796
+ border: none;
797
+ border-radius: 10px;
798
+ color: var(--text-secondary);
799
+ font-family: "Pretendard", system-ui, sans-serif;
800
+ font-size: 15px;
801
+ cursor: pointer;
802
+ text-align: left;
803
+ -webkit-tap-highlight-color: transparent;
804
+ transition: background 0.15s;
805
+ }
806
+
807
+ .mobile-session-item + .mobile-session-item {
808
+ margin-top: 4px;
809
+ }
810
+
811
+ .mobile-session-item:active {
812
+ background: rgba(var(--overlay-rgb), 0.06);
813
+ }
814
+
815
+ .mobile-session-item.active {
816
+ color: var(--text);
817
+ background: rgba(var(--overlay-rgb), 0.06);
818
+ font-weight: 600;
819
+ }
820
+
821
+ .mobile-session-title {
822
+ flex: 1;
823
+ display: inline-flex;
824
+ align-items: center;
825
+ gap: 6px;
826
+ overflow: hidden;
827
+ text-overflow: ellipsis;
828
+ white-space: nowrap;
829
+ }
830
+
831
+ .mobile-session-processing {
832
+ width: 7px;
833
+ height: 7px;
834
+ border-radius: 50%;
835
+ background: var(--success);
836
+ flex-shrink: 0;
837
+ }
838
+
839
+ .mobile-session-processing.io {
840
+ background: #fff !important;
841
+ box-shadow: 0 0 4px var(--success);
842
+ }
843
+
844
+ /* Date group header inside sheet */
845
+ .mobile-sheet-group {
846
+ padding: 14px 12px 6px;
847
+ font-size: 12px;
848
+ font-weight: 600;
849
+ color: var(--text-dimmer);
850
+ letter-spacing: 0.3px;
851
+ }
852
+
853
+ /* Separator between favorites and the rest of the session list */
854
+ .mobile-sheet-divider {
855
+ margin: 6px 12px;
856
+ border: none;
857
+ border-top: 1px solid var(--border);
858
+ }
859
+
860
+ /* --- Loop session grouping (scheduled tasks / Ralph) --- */
861
+ .mobile-loop-wrapper {
862
+ margin-top: 2px;
863
+ }
864
+
865
+ .mobile-loop-group {
866
+ display: flex;
867
+ align-items: center;
868
+ gap: 8px;
869
+ width: 100%;
870
+ min-height: 48px;
871
+ padding: 10px 12px;
872
+ background: none;
873
+ border: none;
874
+ border-radius: 10px;
875
+ color: var(--text-secondary);
876
+ font-family: "Pretendard", system-ui, sans-serif;
877
+ font-size: 15px;
878
+ cursor: pointer;
879
+ text-align: left;
880
+ -webkit-tap-highlight-color: transparent;
881
+ transition: background 0.15s;
882
+ }
883
+
884
+ .mobile-loop-group:active {
885
+ background: rgba(var(--overlay-rgb), 0.06);
886
+ }
887
+
888
+ .mobile-loop-group.active {
889
+ color: var(--text);
890
+ background: rgba(var(--overlay-rgb), 0.06);
891
+ }
892
+
893
+ .mobile-loop-chevron {
894
+ display: flex;
895
+ align-items: center;
896
+ justify-content: center;
897
+ width: 18px;
898
+ height: 18px;
899
+ flex-shrink: 0;
900
+ transition: transform 0.15s ease;
901
+ color: var(--text-dimmer);
902
+ }
903
+
904
+ .mobile-loop-chevron svg {
905
+ width: 14px;
906
+ height: 14px;
907
+ }
908
+
909
+ .mobile-loop-group.expanded > .mobile-loop-chevron,
910
+ .mobile-loop-run.expanded > .mobile-loop-chevron {
911
+ transform: rotate(90deg);
912
+ }
913
+
914
+ .mobile-loop-icon {
915
+ display: flex;
916
+ align-items: center;
917
+ flex-shrink: 0;
918
+ color: var(--text-dimmer);
919
+ }
920
+
921
+ .mobile-loop-icon.scheduled {
922
+ color: var(--success);
923
+ }
924
+
925
+ .mobile-loop-icon svg {
926
+ width: 16px;
927
+ height: 16px;
928
+ }
929
+
930
+ .mobile-loop-name {
931
+ flex: 1;
932
+ overflow: hidden;
933
+ text-overflow: ellipsis;
934
+ white-space: nowrap;
935
+ font-weight: 500;
936
+ }
937
+
938
+ .mobile-loop-count {
939
+ font-size: 11px;
940
+ font-weight: 600;
941
+ padding: 2px 7px;
942
+ border-radius: 10px;
943
+ background: rgba(var(--overlay-rgb), 0.1);
944
+ color: var(--text-dimmer);
945
+ flex-shrink: 0;
946
+ }
947
+
948
+ .mobile-loop-count.scheduled {
949
+ background: rgba(var(--success-rgb, 34, 197, 94), 0.15);
950
+ color: var(--success);
951
+ }
952
+
953
+ .mobile-loop-badge.crafting {
954
+ font-size: 11px;
955
+ font-weight: 600;
956
+ padding: 2px 7px;
957
+ border-radius: 10px;
958
+ background: rgba(var(--warning-rgb, 234, 179, 8), 0.15);
959
+ color: var(--warning, #eab308);
960
+ flex-shrink: 0;
961
+ }
962
+
963
+ .mobile-loop-children {
964
+ padding-left: 20px;
965
+ border-left: 2px solid rgba(var(--overlay-rgb), 0.08);
966
+ margin-left: 20px;
967
+ }
968
+
969
+ .mobile-loop-child {
970
+ display: flex;
971
+ align-items: center;
972
+ gap: 10px;
973
+ width: 100%;
974
+ min-height: 42px;
975
+ padding: 8px 12px;
976
+ background: none;
977
+ border: none;
978
+ border-radius: 8px;
979
+ color: var(--text-secondary);
980
+ font-family: "Pretendard", system-ui, sans-serif;
981
+ font-size: 14px;
982
+ cursor: pointer;
983
+ text-align: left;
984
+ -webkit-tap-highlight-color: transparent;
985
+ transition: background 0.15s;
986
+ }
987
+
988
+ .mobile-loop-child:active {
989
+ background: rgba(var(--overlay-rgb), 0.06);
990
+ }
991
+
992
+ .mobile-loop-child.active {
993
+ color: var(--text);
994
+ background: rgba(var(--overlay-rgb), 0.06);
995
+ font-weight: 600;
996
+ }
997
+
998
+ .mobile-loop-role-badge {
999
+ font-size: 12px;
1000
+ font-weight: 600;
1001
+ padding: 2px 8px;
1002
+ border-radius: 6px;
1003
+ background: rgba(var(--overlay-rgb), 0.08);
1004
+ color: var(--text-muted);
1005
+ }
1006
+
1007
+ .mobile-loop-role-badge.scheduled {
1008
+ background: rgba(var(--success-rgb, 34, 197, 94), 0.12);
1009
+ color: var(--success);
1010
+ }
1011
+
1012
+ .mobile-loop-role-badge.crafting {
1013
+ background: rgba(var(--warning-rgb, 234, 179, 8), 0.12);
1014
+ color: var(--warning, #eab308);
1015
+ }
1016
+
1017
+ /* Loop run sub-group (time-based grouping within a loop group) */
1018
+ .mobile-loop-run-wrapper {
1019
+ margin-top: 2px;
1020
+ }
1021
+
1022
+ .mobile-loop-run {
1023
+ display: flex;
1024
+ align-items: center;
1025
+ gap: 8px;
1026
+ width: 100%;
1027
+ min-height: 40px;
1028
+ padding: 8px 12px;
1029
+ background: none;
1030
+ border: none;
1031
+ border-radius: 8px;
1032
+ color: var(--text-secondary);
1033
+ font-family: "Pretendard", system-ui, sans-serif;
1034
+ font-size: 14px;
1035
+ cursor: pointer;
1036
+ text-align: left;
1037
+ -webkit-tap-highlight-color: transparent;
1038
+ transition: background 0.15s;
1039
+ }
1040
+
1041
+ .mobile-loop-run:active {
1042
+ background: rgba(var(--overlay-rgb), 0.06);
1043
+ }
1044
+
1045
+ .mobile-loop-run.active {
1046
+ color: var(--text);
1047
+ background: rgba(var(--overlay-rgb), 0.06);
1048
+ }
1049
+
1050
+ .mobile-loop-run-time {
1051
+ flex: 1;
1052
+ font-weight: 500;
1053
+ display: flex;
1054
+ align-items: center;
1055
+ gap: 6px;
1056
+ }
1057
+
1058
+ /* --- Mate profile sheet --- */
1059
+ .mate-profile-header {
1060
+ display: flex;
1061
+ align-items: center;
1062
+ gap: 12px;
1063
+ padding: 16px 16px 12px;
1064
+ }
1065
+
1066
+ .mate-profile-avatar {
1067
+ width: 40px;
1068
+ height: 40px;
1069
+ border-radius: 50%;
1070
+ flex-shrink: 0;
1071
+ object-fit: cover;
1072
+ border: 2px solid rgba(255, 255, 255, 0.2);
1073
+ }
1074
+
1075
+ .mate-profile-info {
1076
+ flex: 1;
1077
+ min-width: 0;
1078
+ }
1079
+
1080
+ .mate-profile-name {
1081
+ font-size: 17px;
1082
+ font-weight: 600;
1083
+ color: var(--text);
1084
+ white-space: nowrap;
1085
+ overflow: hidden;
1086
+ text-overflow: ellipsis;
1087
+ }
1088
+
1089
+ .mate-profile-desc {
1090
+ font-size: 13px;
1091
+ color: var(--text-muted);
1092
+ margin-top: 2px;
1093
+ white-space: nowrap;
1094
+ overflow: hidden;
1095
+ text-overflow: ellipsis;
1096
+ }
1097
+
1098
+ .mate-profile-action {
1099
+ display: flex;
1100
+ align-items: center;
1101
+ gap: 12px;
1102
+ width: 100%;
1103
+ min-height: 48px;
1104
+ padding: 12px 16px;
1105
+ background: none;
1106
+ border: none;
1107
+ border-radius: 10px;
1108
+ color: var(--text-secondary);
1109
+ font-family: "Pretendard", system-ui, sans-serif;
1110
+ font-size: 15px;
1111
+ cursor: pointer;
1112
+ text-align: left;
1113
+ touch-action: manipulation;
1114
+ -webkit-tap-highlight-color: transparent;
1115
+ transition: background 0.15s;
1116
+ }
1117
+
1118
+ .mate-profile-action:active {
1119
+ background: rgba(var(--overlay-rgb), 0.06);
1120
+ }
1121
+
1122
+ .mate-profile-action .lucide {
1123
+ width: 20px;
1124
+ height: 20px;
1125
+ color: var(--text-muted);
1126
+ flex-shrink: 0;
1127
+ }
1128
+
1129
+ .mate-profile-action-count {
1130
+ margin-left: auto;
1131
+ font-size: 12px;
1132
+ font-weight: 600;
1133
+ color: var(--text-dimmer);
1134
+ background: rgba(var(--overlay-rgb), 0.06);
1135
+ padding: 2px 8px;
1136
+ border-radius: 8px;
1137
+ flex-shrink: 0;
1138
+ }
1139
+
1140
+ /* --- More sheet menu items --- */
1141
+ .mobile-more-item {
1142
+ display: flex;
1143
+ align-items: center;
1144
+ gap: 12px;
1145
+ width: 100%;
1146
+ min-height: 48px;
1147
+ padding: 12px 16px;
1148
+ background: none;
1149
+ border: none;
1150
+ border-radius: 10px;
1151
+ color: var(--text-secondary);
1152
+ font-family: "Pretendard", system-ui, sans-serif;
1153
+ font-size: 15px;
1154
+ cursor: pointer;
1155
+ text-align: left;
1156
+ touch-action: manipulation;
1157
+ -webkit-tap-highlight-color: transparent;
1158
+ transition: background 0.15s;
1159
+ }
1160
+
1161
+ .mobile-more-item:active {
1162
+ background: rgba(var(--overlay-rgb), 0.06);
1163
+ }
1164
+
1165
+ .mobile-more-item .lucide {
1166
+ width: 20px;
1167
+ height: 20px;
1168
+ color: var(--text-muted);
1169
+ flex-shrink: 0;
1170
+ }
1171
+
1172
+ .mobile-more-item-label {
1173
+ flex: 1;
1174
+ }
1175
+
1176
+ .mobile-more-item-badge {
1177
+ font-size: 11px;
1178
+ color: var(--text-dimmer);
1179
+ background: rgba(var(--overlay-rgb), 0.06);
1180
+ padding: 2px 7px;
1181
+ border-radius: 8px;
1182
+ flex-shrink: 0;
1183
+ }
1184
+
1185
+ /* --- Settings theme toggle --- */
1186
+ .mobile-settings-toggle-row {
1187
+ display: flex;
1188
+ align-items: center;
1189
+ justify-content: space-between;
1190
+ padding: 12px 16px;
1191
+ min-height: 48px;
1192
+ }
1193
+
1194
+ .mobile-settings-toggle-label {
1195
+ display: flex;
1196
+ align-items: center;
1197
+ gap: 12px;
1198
+ font-size: 15px;
1199
+ color: var(--text-secondary);
1200
+ }
1201
+
1202
+ .mobile-settings-toggle-label .lucide {
1203
+ width: 20px;
1204
+ height: 20px;
1205
+ color: var(--text-muted);
1206
+ }
1207
+
1208
+
1209
+ /* --- Search sheet --- */
1210
+ .mobile-search-input-wrap {
1211
+ padding: 8px 16px 12px;
1212
+ flex-shrink: 0;
1213
+ }
1214
+
1215
+ .mobile-search-input {
1216
+ width: 100%;
1217
+ padding: 10px 14px;
1218
+ border: 1px solid var(--border);
1219
+ border-radius: 10px;
1220
+ background: var(--bg-alt);
1221
+ color: var(--text);
1222
+ font-size: 15px;
1223
+ font-family: "Pretendard", system-ui, sans-serif;
1224
+ outline: none;
1225
+ }
1226
+
1227
+ .mobile-search-input:focus {
1228
+ border-color: var(--accent);
1229
+ }
1230
+
1231
+ .mobile-search-input::placeholder {
1232
+ color: var(--text-dimmer);
1233
+ }
1234
+
1235
+ /* --- Alerts sheet items --- */
1236
+ .mobile-alert-item {
1237
+ display: flex;
1238
+ align-items: flex-start;
1239
+ gap: 10px;
1240
+ width: 100%;
1241
+ min-height: 48px;
1242
+ padding: 12px 16px;
1243
+ background: none;
1244
+ border: none;
1245
+ border-radius: 10px;
1246
+ color: var(--text-secondary);
1247
+ font-family: "Pretendard", system-ui, sans-serif;
1248
+ font-size: 14px;
1249
+ cursor: pointer;
1250
+ text-align: left;
1251
+ touch-action: manipulation;
1252
+ -webkit-tap-highlight-color: transparent;
1253
+ transition: background 0.15s;
1254
+ }
1255
+
1256
+ .mobile-alert-item:active {
1257
+ background: rgba(var(--overlay-rgb), 0.06);
1258
+ }
1259
+
1260
+ .mobile-alert-item .lucide {
1261
+ width: 18px;
1262
+ height: 18px;
1263
+ color: var(--text-muted);
1264
+ flex-shrink: 0;
1265
+ margin-top: 1px;
1266
+ }
1267
+
1268
+ .mobile-alert-empty {
1269
+ text-align: center;
1270
+ padding: 32px 16px;
1271
+ color: var(--text-dimmer);
1272
+ font-size: 14px;
1273
+ }
1274
+
1275
+ .mobile-alert-unread {
1276
+ background: rgba(var(--accent-rgb, 88, 87, 252), 0.06);
1277
+ }
1278
+
1279
+ /* --- Session items inside chat/search sheet with project/mate tag --- */
1280
+ .mobile-session-tag {
1281
+ font-size: 11px;
1282
+ color: var(--text-dimmer);
1283
+ background: rgba(var(--overlay-rgb), 0.06);
1284
+ padding: 1px 6px;
1285
+ border-radius: 6px;
1286
+ flex-shrink: 0;
1287
+ margin-left: auto;
1288
+ }
1289
+
1290
+ /* ---- Mobile mate DM: force bubble layout for user messages ---- */
1291
+ body.mate-dm-active .msg-user {
1292
+ display: flex !important;
1293
+ flex-direction: column !important;
1294
+ align-items: flex-end !important;
1295
+ gap: initial !important;
1296
+ max-width: 100% !important;
1297
+ padding: 0 20px !important;
1298
+ margin: 0 0 8px !important;
1299
+ border-radius: initial !important;
1300
+ justify-content: initial !important;
1301
+ }
1302
+ body.mate-dm-active .msg-user .dm-bubble-avatar-me {
1303
+ display: none !important;
1304
+ }
1305
+ body.mate-dm-active .msg-user .dm-bubble-content {
1306
+ display: flex !important;
1307
+ flex-direction: column !important;
1308
+ align-items: flex-end !important;
1309
+ flex: initial !important;
1310
+ width: 100% !important;
1311
+ }
1312
+ body.mate-dm-active .msg-user .dm-bubble-header {
1313
+ display: none !important;
1314
+ }
1315
+ body.mate-dm-active .msg-user .bubble {
1316
+ background: var(--user-bubble) !important;
1317
+ border-radius: 20px 20px 4px 20px !important;
1318
+ padding: 12px 18px !important;
1319
+ max-width: 85% !important;
1320
+ width: fit-content !important;
1321
+ font-size: 15px !important;
1322
+ line-height: 1.55 !important;
1323
+ white-space: pre-wrap !important;
1324
+ word-wrap: break-word !important;
1325
+ }
1326
+ body.mate-dm-active .msg-user .msg-actions {
1327
+ display: flex !important;
1328
+ }
1329
+ body.mate-dm-active .msg-user:hover {
1330
+ background: initial !important;
1331
+ }
1332
+ }