@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,144 @@
1
+ /* ==========================================================================
2
+ Syntax Highlighting (highlight.js) — base16 CSS-variable driven
3
+ Replaces CDN github-dark-dimmed.min.css
4
+ ========================================================================== */
5
+
6
+ .hljs {
7
+ color: var(--text);
8
+ background: var(--code-bg);
9
+ }
10
+
11
+ /* --- Comments --- */
12
+ .hljs-comment,
13
+ .hljs-quote {
14
+ color: var(--hl-comment);
15
+ font-style: italic;
16
+ }
17
+
18
+ /* --- Keywords / control flow --- */
19
+ .hljs-keyword,
20
+ .hljs-selector-tag,
21
+ .hljs-selector-id {
22
+ color: var(--hl-keyword);
23
+ }
24
+
25
+ /* --- Strings / template literals --- */
26
+ .hljs-string,
27
+ .hljs-doctag,
28
+ .hljs-selector-class {
29
+ color: var(--hl-string);
30
+ }
31
+
32
+ /* --- Numbers / booleans / null --- */
33
+ .hljs-number,
34
+ .hljs-literal {
35
+ color: var(--hl-number);
36
+ }
37
+
38
+ /* --- Functions / method calls --- */
39
+ .hljs-title,
40
+ .hljs-title.function_,
41
+ .hljs-section {
42
+ color: var(--hl-function);
43
+ }
44
+
45
+ /* --- Variables / params --- */
46
+ .hljs-variable,
47
+ .hljs-template-variable,
48
+ .hljs-params {
49
+ color: var(--hl-variable);
50
+ }
51
+
52
+ /* --- Types / classes --- */
53
+ .hljs-type,
54
+ .hljs-title.class_,
55
+ .hljs-title.class_.inherited__ {
56
+ color: var(--hl-type);
57
+ }
58
+
59
+ /* --- Constants / built-ins --- */
60
+ .hljs-built_in {
61
+ color: var(--hl-builtin);
62
+ }
63
+
64
+ /* --- Tags (HTML/XML) --- */
65
+ .hljs-tag,
66
+ .hljs-name {
67
+ color: var(--hl-tag);
68
+ }
69
+
70
+ /* --- Attributes --- */
71
+ .hljs-attr,
72
+ .hljs-attribute {
73
+ color: var(--hl-attr);
74
+ }
75
+
76
+ /* --- Regexp / links --- */
77
+ .hljs-regexp,
78
+ .hljs-link {
79
+ color: var(--hl-regexp);
80
+ }
81
+
82
+ /* --- Meta / preprocessor --- */
83
+ .hljs-meta,
84
+ .hljs-meta .hljs-keyword,
85
+ .hljs-meta .hljs-string {
86
+ color: var(--hl-meta);
87
+ }
88
+
89
+ /* --- Symbols / special --- */
90
+ .hljs-symbol,
91
+ .hljs-bullet {
92
+ color: var(--hl-symbol);
93
+ }
94
+
95
+ /* --- Diff additions / deletions --- */
96
+ .hljs-addition {
97
+ color: var(--hl-addition);
98
+ background: var(--success-8);
99
+ }
100
+
101
+ .hljs-deletion {
102
+ color: var(--hl-deletion);
103
+ background: var(--error-8);
104
+ }
105
+
106
+ /* --- Emphasis / strong --- */
107
+ .hljs-emphasis {
108
+ font-style: italic;
109
+ }
110
+
111
+ .hljs-strong {
112
+ font-weight: 700;
113
+ }
114
+
115
+ /* --- Subst / interpolation --- */
116
+ .hljs-subst {
117
+ color: var(--text);
118
+ }
119
+
120
+ /* --- Selector --- */
121
+ .hljs-selector-attr,
122
+ .hljs-selector-pseudo {
123
+ color: var(--hl-keyword);
124
+ }
125
+
126
+ /* --- Property (CSS, JSON keys) --- */
127
+ .hljs-property {
128
+ color: var(--hl-attr);
129
+ }
130
+
131
+ /* --- Punctuation (brackets etc.) --- */
132
+ .hljs-punctuation {
133
+ color: var(--text-secondary);
134
+ }
135
+
136
+ /* --- Operator --- */
137
+ .hljs-operator {
138
+ color: var(--hl-keyword);
139
+ }
140
+
141
+ /* --- Char / escape sequences --- */
142
+ .hljs-char.escape_ {
143
+ color: var(--hl-regexp);
144
+ }
@@ -0,0 +1,545 @@
1
+ /* ==========================================================================
2
+ Home Hub — Personalized command center & dashboard
3
+ ========================================================================== */
4
+
5
+ /* Hub covers #main-area (sidebar + chat), sits inside it with absolute */
6
+ #home-hub {
7
+ position: absolute;
8
+ inset: 0;
9
+ display: flex;
10
+ flex-direction: column;
11
+ align-items: center;
12
+ overflow-y: auto;
13
+ background: var(--bg);
14
+ z-index: 200;
15
+ padding: 48px 24px 40px;
16
+ border-top-left-radius: 8px;
17
+ animation: hubFadeIn 0.35s ease;
18
+ }
19
+ /* Close button (X / ESC) */
20
+ .home-hub-close-btn {
21
+ position: absolute;
22
+ top: 16px;
23
+ right: 20px;
24
+ display: flex;
25
+ flex-direction: column;
26
+ align-items: center;
27
+ width: 40px;
28
+ height: 40px;
29
+ border-radius: 50%;
30
+ border: 2px solid var(--text-dimmer);
31
+ background: none;
32
+ color: var(--text-dimmer);
33
+ cursor: pointer;
34
+ padding: 0;
35
+ justify-content: center;
36
+ transition: border-color 0.15s, color 0.15s;
37
+ z-index: 5;
38
+ }
39
+ .home-hub-close-btn .lucide {
40
+ width: 18px;
41
+ height: 18px;
42
+ }
43
+ .home-hub-close-btn span {
44
+ font-size: 10px;
45
+ font-weight: 600;
46
+ letter-spacing: 0.5px;
47
+ position: absolute;
48
+ top: calc(100% + 6px);
49
+ font-family: inherit;
50
+ }
51
+ .home-hub-close-btn:hover {
52
+ border-color: var(--text-secondary);
53
+ color: var(--text-secondary);
54
+ }
55
+ .home-hub-close-btn.hidden {
56
+ display: none;
57
+ }
58
+
59
+ #home-hub.hidden {
60
+ display: none;
61
+ }
62
+
63
+ @keyframes hubFadeIn {
64
+ from { opacity: 0; transform: translateY(8px); }
65
+ to { opacity: 1; transform: translateY(0); }
66
+ }
67
+
68
+ @keyframes hubCardIn {
69
+ from { opacity: 0; transform: translateY(6px); }
70
+ to { opacity: 1; transform: translateY(0); }
71
+ }
72
+
73
+ .home-hub-inner {
74
+ width: 100%;
75
+ max-width: 720px;
76
+ display: flex;
77
+ flex-direction: column;
78
+ gap: 14px;
79
+ }
80
+
81
+
82
+ /* --- Greeting --- */
83
+ .hub-greeting {
84
+ text-align: center;
85
+ padding: 8px 0 4px;
86
+ }
87
+ .hub-greeting h1 {
88
+ font-size: 28px;
89
+ font-weight: 700;
90
+ color: var(--text);
91
+ margin: 0;
92
+ letter-spacing: -0.5px;
93
+ }
94
+ .hub-greeting p {
95
+ font-size: 14px;
96
+ color: var(--text-muted);
97
+ margin: 6px 0 0;
98
+ font-weight: 400;
99
+ }
100
+ /* Twemoji sizing inherited from global img.emoji in base.css */
101
+
102
+ /* --- Card base --- */
103
+ .hub-card {
104
+ background: var(--bg-alt);
105
+ border: 1px solid var(--border-subtle);
106
+ border-radius: 12px;
107
+ padding: 16px;
108
+ }
109
+ .hub-card-header {
110
+ display: flex;
111
+ align-items: center;
112
+ justify-content: space-between;
113
+ margin-bottom: 12px;
114
+ }
115
+ .hub-card-title {
116
+ font-size: 12px;
117
+ font-weight: 600;
118
+ text-transform: uppercase;
119
+ letter-spacing: 0.6px;
120
+ color: var(--text-muted);
121
+ }
122
+ .hub-card-count {
123
+ font-size: 11px;
124
+ font-weight: 600;
125
+ color: var(--accent);
126
+ background: var(--accent-12);
127
+ padding: 2px 8px;
128
+ border-radius: 10px;
129
+ }
130
+
131
+ /* --- Two-column layout --- */
132
+ .hub-columns {
133
+ display: grid;
134
+ grid-template-columns: 1fr 1fr;
135
+ gap: 12px;
136
+ animation: hubCardIn 0.4s ease 0.08s both;
137
+ }
138
+
139
+ /* --- Upcoming tasks --- */
140
+ .hub-upcoming-list {
141
+ display: flex;
142
+ flex-direction: column;
143
+ gap: 2px;
144
+ }
145
+ .hub-upcoming-item {
146
+ display: flex;
147
+ align-items: center;
148
+ gap: 10px;
149
+ padding: 8px 10px;
150
+ border-radius: 8px;
151
+ cursor: pointer;
152
+ transition: background 0.15s ease;
153
+ }
154
+ .hub-upcoming-item:hover {
155
+ background: rgba(var(--overlay-rgb), 0.06);
156
+ }
157
+ .hub-upcoming-dot {
158
+ width: 8px;
159
+ height: 8px;
160
+ border-radius: 50%;
161
+ flex-shrink: 0;
162
+ background: var(--accent);
163
+ }
164
+ .hub-upcoming-time {
165
+ font-size: 12px;
166
+ font-weight: 500;
167
+ color: var(--text-muted);
168
+ min-width: 56px;
169
+ flex-shrink: 0;
170
+ font-variant-numeric: tabular-nums;
171
+ }
172
+ .hub-upcoming-name {
173
+ font-size: 13px;
174
+ color: var(--text);
175
+ flex: 1;
176
+ min-width: 0;
177
+ overflow: hidden;
178
+ text-overflow: ellipsis;
179
+ white-space: nowrap;
180
+ }
181
+ .hub-upcoming-project {
182
+ font-size: 11px;
183
+ color: var(--text-dimmer);
184
+ flex-shrink: 0;
185
+ max-width: 80px;
186
+ overflow: hidden;
187
+ text-overflow: ellipsis;
188
+ white-space: nowrap;
189
+ }
190
+ .hub-upcoming-more {
191
+ font-size: 12px;
192
+ color: var(--text-dimmer);
193
+ text-align: center;
194
+ padding: 4px 0;
195
+ }
196
+ /* Empty state */
197
+ .hub-upcoming-empty {
198
+ text-align: center;
199
+ padding: 16px 8px;
200
+ }
201
+ .hub-upcoming-empty-icon {
202
+ font-size: 24px;
203
+ margin-bottom: 8px;
204
+ opacity: 0.5;
205
+ }
206
+ .hub-upcoming-empty-text {
207
+ font-size: 13px;
208
+ color: var(--text-dimmer);
209
+ margin-bottom: 12px;
210
+ }
211
+ .hub-upcoming-cta {
212
+ display: inline-flex;
213
+ align-items: center;
214
+ gap: 6px;
215
+ padding: 6px 14px;
216
+ border-radius: 8px;
217
+ border: 1px solid var(--border-subtle);
218
+ background: none;
219
+ color: var(--accent);
220
+ font-size: 12px;
221
+ font-weight: 600;
222
+ cursor: pointer;
223
+ transition: background 0.15s ease, border-color 0.15s ease;
224
+ }
225
+ .hub-upcoming-cta:hover {
226
+ background: var(--accent-12);
227
+ border-color: var(--accent);
228
+ }
229
+ .hub-upcoming-cta svg {
230
+ width: 14px;
231
+ height: 14px;
232
+ }
233
+
234
+ /* --- Projects summary --- */
235
+ .hub-projects-list {
236
+ display: flex;
237
+ flex-direction: column;
238
+ gap: 2px;
239
+ }
240
+ .hub-project-item {
241
+ display: flex;
242
+ align-items: center;
243
+ gap: 10px;
244
+ padding: 8px 10px;
245
+ border-radius: 8px;
246
+ cursor: pointer;
247
+ transition: background 0.15s ease;
248
+ }
249
+ .hub-project-item:hover {
250
+ background: rgba(var(--overlay-rgb), 0.06);
251
+ }
252
+ .hub-project-dot {
253
+ width: 8px;
254
+ height: 8px;
255
+ border-radius: 50%;
256
+ flex-shrink: 0;
257
+ background: var(--text-dimmer);
258
+ transition: background 0.3s ease;
259
+ }
260
+ .hub-project-dot.processing {
261
+ background: var(--success);
262
+ box-shadow: 0 0 6px rgba(80, 250, 123, 0.4);
263
+ }
264
+ .hub-project-icon {
265
+ font-size: 14px;
266
+ width: 20px;
267
+ text-align: center;
268
+ flex-shrink: 0;
269
+ }
270
+ .hub-project-name {
271
+ font-size: 13px;
272
+ color: var(--text);
273
+ flex: 1;
274
+ min-width: 0;
275
+ overflow: hidden;
276
+ text-overflow: ellipsis;
277
+ white-space: nowrap;
278
+ }
279
+ .hub-project-sessions {
280
+ font-size: 11px;
281
+ color: var(--text-dimmer);
282
+ background: rgba(var(--overlay-rgb), 0.06);
283
+ padding: 2px 7px;
284
+ border-radius: 8px;
285
+ flex-shrink: 0;
286
+ }
287
+
288
+ /* --- Week strip --- */
289
+ .hub-week {
290
+ animation: hubCardIn 0.4s ease 0.16s both;
291
+ }
292
+ .hub-week-strip {
293
+ display: grid;
294
+ grid-template-columns: repeat(7, 1fr);
295
+ gap: 4px;
296
+ text-align: center;
297
+ }
298
+ .hub-week-day {
299
+ display: flex;
300
+ flex-direction: column;
301
+ align-items: center;
302
+ gap: 4px;
303
+ padding: 8px 4px;
304
+ border-radius: 10px;
305
+ cursor: default;
306
+ transition: background 0.15s ease;
307
+ }
308
+ .hub-week-day:hover {
309
+ background: rgba(var(--overlay-rgb), 0.04);
310
+ }
311
+ .hub-week-day.today {
312
+ background: var(--accent-12);
313
+ }
314
+ .hub-week-day.today .hub-week-num {
315
+ background: var(--accent);
316
+ color: var(--bg);
317
+ border-radius: 50%;
318
+ width: 28px;
319
+ height: 28px;
320
+ display: flex;
321
+ align-items: center;
322
+ justify-content: center;
323
+ }
324
+ .hub-week-label {
325
+ font-size: 11px;
326
+ font-weight: 500;
327
+ color: var(--text-dimmer);
328
+ text-transform: uppercase;
329
+ letter-spacing: 0.3px;
330
+ }
331
+ .hub-week-num {
332
+ font-size: 14px;
333
+ font-weight: 600;
334
+ color: var(--text);
335
+ width: 28px;
336
+ height: 28px;
337
+ display: flex;
338
+ align-items: center;
339
+ justify-content: center;
340
+ }
341
+ .hub-week-dots {
342
+ display: flex;
343
+ gap: 3px;
344
+ justify-content: center;
345
+ min-height: 6px;
346
+ }
347
+ .hub-week-dot {
348
+ width: 5px;
349
+ height: 5px;
350
+ border-radius: 50%;
351
+ background: var(--accent);
352
+ }
353
+
354
+ /* --- Tip Card --- */
355
+ .hub-tip {
356
+ background: var(--bg-alt);
357
+ border: 1px solid var(--border-subtle);
358
+ border-radius: 12px;
359
+ padding: 16px 18px;
360
+ display: flex;
361
+ align-items: flex-start;
362
+ gap: 12px;
363
+ animation: hubCardIn 0.4s ease 0.24s both;
364
+ }
365
+ .hub-tip-icon {
366
+ flex-shrink: 0;
367
+ width: 32px;
368
+ height: 32px;
369
+ border-radius: 8px;
370
+ background: var(--accent-12);
371
+ display: flex;
372
+ align-items: center;
373
+ justify-content: center;
374
+ font-size: 16px;
375
+ }
376
+ .hub-tip-body {
377
+ flex: 1;
378
+ min-width: 0;
379
+ }
380
+ .hub-tip-label {
381
+ font-size: 11px;
382
+ font-weight: 600;
383
+ text-transform: uppercase;
384
+ letter-spacing: 0.5px;
385
+ color: var(--accent);
386
+ margin-bottom: 4px;
387
+ }
388
+ .hub-tip-text {
389
+ font-size: 13.5px;
390
+ line-height: 1.5;
391
+ color: var(--text-secondary);
392
+ }
393
+ .hub-tip-nav {
394
+ flex-shrink: 0;
395
+ display: flex;
396
+ gap: 2px;
397
+ align-items: center;
398
+ }
399
+ .hub-tip-prev,
400
+ .hub-tip-next {
401
+ background: none;
402
+ border: none;
403
+ color: var(--text-dimmer);
404
+ cursor: pointer;
405
+ padding: 4px;
406
+ border-radius: 6px;
407
+ transition: color 0.15s, background 0.15s;
408
+ display: flex;
409
+ align-items: center;
410
+ justify-content: center;
411
+ }
412
+ .hub-tip-prev:hover,
413
+ .hub-tip-next:hover {
414
+ color: var(--text-muted);
415
+ background: rgba(var(--overlay-rgb), 0.06);
416
+ }
417
+ .hub-tip-prev svg,
418
+ .hub-tip-next svg {
419
+ width: 14px;
420
+ height: 14px;
421
+ }
422
+
423
+ /* Hide user island when hub is visible */
424
+ #main-area:has(#home-hub:not(.hidden)) ~ #user-island,
425
+ #layout-body:has(#home-hub:not(.hidden)) #user-island {
426
+ opacity: 0;
427
+ pointer-events: none;
428
+ transition: opacity 0.2s ease;
429
+ }
430
+
431
+ /* --- Mobile --- */
432
+ @media (max-width: 768px) {
433
+ #home-hub {
434
+ padding: 32px 16px calc(80px + var(--safe-bottom, 0px));
435
+ }
436
+ .hub-greeting h1 {
437
+ font-size: 22px;
438
+ }
439
+ .home-hub-inner {
440
+ max-width: 100%;
441
+ }
442
+ .hub-columns {
443
+ grid-template-columns: 1fr;
444
+ }
445
+ .hub-week-label {
446
+ font-size: 10px;
447
+ }
448
+ .hub-week-num {
449
+ font-size: 13px;
450
+ }
451
+ }
452
+
453
+ /* ==========================================================================
454
+ Home Hub — Mate Avatars (horizontal scroll)
455
+ ========================================================================== */
456
+
457
+ .home-hub-mates {
458
+ display: flex;
459
+ gap: 16px;
460
+ padding: 0 4px 16px;
461
+ overflow-x: auto;
462
+ overflow-y: hidden;
463
+ -webkit-overflow-scrolling: touch;
464
+ scrollbar-width: none;
465
+ }
466
+
467
+ .home-hub-mates::-webkit-scrollbar {
468
+ display: none;
469
+ }
470
+
471
+ .home-hub-mates.hidden {
472
+ display: none;
473
+ }
474
+
475
+ .home-hub-mate-item {
476
+ display: flex;
477
+ flex-direction: column;
478
+ align-items: center;
479
+ gap: 6px;
480
+ min-width: 64px;
481
+ cursor: pointer;
482
+ -webkit-tap-highlight-color: transparent;
483
+ touch-action: manipulation;
484
+ }
485
+
486
+ .home-hub-mate-item:active .home-hub-mate-avatar {
487
+ transform: scale(0.92);
488
+ }
489
+
490
+ .home-hub-mate-avatar-wrap {
491
+ position: relative;
492
+ width: 48px;
493
+ height: 48px;
494
+ }
495
+
496
+ .home-hub-mate-avatar {
497
+ width: 48px;
498
+ height: 48px;
499
+ border-radius: 50%;
500
+ object-fit: cover;
501
+ border: 2px solid rgba(var(--overlay-rgb), 0.12);
502
+ transition: transform 0.1s;
503
+ }
504
+
505
+ .home-hub-mate-dot {
506
+ position: absolute;
507
+ bottom: 1px;
508
+ right: 1px;
509
+ width: 10px;
510
+ height: 10px;
511
+ border-radius: 50%;
512
+ background: var(--success);
513
+ border: 2px solid var(--bg);
514
+ }
515
+
516
+ .home-hub-mate-dot.responding {
517
+ background: var(--accent);
518
+ }
519
+
520
+ .home-hub-mate-name {
521
+ font-size: 11px;
522
+ color: var(--text-muted);
523
+ max-width: 64px;
524
+ white-space: nowrap;
525
+ overflow: hidden;
526
+ text-overflow: ellipsis;
527
+ text-align: center;
528
+ }
529
+ .home-hub-mate-primary .home-hub-mate-name {
530
+ color: var(--text);
531
+ font-weight: 600;
532
+ }
533
+ .home-hub-mate-primary .home-hub-mate-avatar {
534
+ box-shadow: 0 0 0 2px #00b894;
535
+ }
536
+ .home-hub-mate-primary-star {
537
+ color: #00b894;
538
+ font-size: 8px;
539
+ margin-left: 2px;
540
+ vertical-align: super;
541
+ }
542
+
543
+ /* ==========================================================================
544
+ (Certificate section removed — now handled by Trust Certificate playbook)
545
+ ========================================================================== */