ltcai 4.0.0 → 4.1.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 (195) hide show
  1. package/README.md +42 -33
  2. package/desktop/electron/main.cjs +44 -0
  3. package/docs/CHANGELOG.md +106 -0
  4. package/docs/REALTIME_COLLABORATION.md +3 -3
  5. package/docs/V3_FRONTEND.md +9 -8
  6. package/docs/V4_1_FRONTEND_ARCHITECTURE_REVIEW.md +65 -0
  7. package/docs/V4_1_FRONTEND_MIGRATION_REPORT.md +70 -0
  8. package/docs/V4_1_VALIDATION_REPORT.md +47 -0
  9. package/docs/V4_DIGITAL_BRAIN_RECOVERY.md +95 -45
  10. package/docs/kg-schema.md +6 -2
  11. package/docs/spec-vs-impl.md +10 -10
  12. package/frontend/index.html +24 -0
  13. package/frontend/openapi.json +14190 -0
  14. package/frontend/src/App.tsx +184 -0
  15. package/frontend/src/api/client.ts +317 -0
  16. package/frontend/src/api/openapi.ts +16637 -0
  17. package/frontend/src/components/primitives.tsx +204 -0
  18. package/frontend/src/components/ui/badge.tsx +27 -0
  19. package/frontend/src/components/ui/button.tsx +37 -0
  20. package/frontend/src/components/ui/card.tsx +22 -0
  21. package/frontend/src/components/ui/input.tsx +16 -0
  22. package/frontend/src/components/ui/textarea.tsx +16 -0
  23. package/frontend/src/lib/utils.ts +33 -0
  24. package/frontend/src/main.tsx +23 -0
  25. package/frontend/src/pages/Act.tsx +245 -0
  26. package/frontend/src/pages/Ask.tsx +200 -0
  27. package/frontend/src/pages/Brain.tsx +267 -0
  28. package/frontend/src/pages/Capture.tsx +158 -0
  29. package/frontend/src/pages/Library.tsx +187 -0
  30. package/frontend/src/pages/System.tsx +344 -0
  31. package/frontend/src/routes.ts +85 -0
  32. package/frontend/src/store/appStore.ts +54 -0
  33. package/frontend/src/styles.css +107 -0
  34. package/kg_schema.py +2 -603
  35. package/knowledge_graph.py +37 -4958
  36. package/latticeai/__init__.py +1 -1
  37. package/latticeai/api/admin.py +15 -16
  38. package/latticeai/api/agents.py +13 -6
  39. package/latticeai/api/auth.py +19 -11
  40. package/latticeai/api/invitations.py +100 -0
  41. package/latticeai/api/knowledge_graph.py +4 -11
  42. package/latticeai/api/plugins.py +3 -6
  43. package/latticeai/api/realtime.py +4 -7
  44. package/latticeai/api/setup.py +5 -4
  45. package/latticeai/api/static_routes.py +13 -16
  46. package/latticeai/api/ui_redirects.py +26 -0
  47. package/latticeai/api/workflow_designer.py +39 -6
  48. package/latticeai/api/workspace.py +24 -10
  49. package/latticeai/app_factory.py +88 -17
  50. package/latticeai/brain/_kg_common.py +1123 -0
  51. package/latticeai/brain/discovery.py +1455 -0
  52. package/latticeai/brain/documents.py +218 -0
  53. package/latticeai/brain/ingest.py +644 -0
  54. package/latticeai/brain/projection.py +561 -0
  55. package/latticeai/brain/provenance.py +401 -0
  56. package/latticeai/brain/retrieval.py +1316 -0
  57. package/latticeai/brain/schema.py +640 -0
  58. package/latticeai/brain/store.py +216 -0
  59. package/latticeai/brain/write_master.py +225 -0
  60. package/latticeai/core/invitations.py +131 -0
  61. package/latticeai/core/marketplace.py +1 -1
  62. package/latticeai/core/multi_agent.py +1 -1
  63. package/latticeai/core/policy.py +54 -0
  64. package/latticeai/core/realtime.py +65 -44
  65. package/latticeai/core/sessions.py +31 -5
  66. package/latticeai/core/users.py +147 -0
  67. package/latticeai/core/workspace_os.py +420 -20
  68. package/latticeai/services/agent_runtime.py +242 -4
  69. package/latticeai/services/run_executor.py +328 -0
  70. package/latticeai/services/workspace_service.py +27 -19
  71. package/package.json +54 -27
  72. package/scripts/build_frontend_assets.mjs +38 -0
  73. package/scripts/bump_version.py +1 -1
  74. package/scripts/export_openapi.py +31 -0
  75. package/scripts/lint_frontend.mjs +86 -0
  76. package/scripts/run_python.mjs +47 -0
  77. package/src-tauri/Cargo.lock +4833 -0
  78. package/src-tauri/Cargo.toml +19 -0
  79. package/src-tauri/build.rs +3 -0
  80. package/src-tauri/capabilities/default.json +7 -0
  81. package/src-tauri/src/main.rs +78 -0
  82. package/src-tauri/tauri.conf.json +36 -0
  83. package/static/app/asset-manifest.json +32 -0
  84. package/static/app/assets/core-CwxXejkd.js +2 -0
  85. package/static/app/assets/core-CwxXejkd.js.map +1 -0
  86. package/static/app/assets/index-CJRAzNnf.js +333 -0
  87. package/static/app/assets/index-CJRAzNnf.js.map +1 -0
  88. package/static/app/assets/index-CSwBBgf4.css +2 -0
  89. package/static/app/index.html +25 -0
  90. package/static/manifest.json +2 -2
  91. package/static/sw.js +4 -4
  92. package/scripts/build_v3_assets.mjs +0 -170
  93. package/scripts/lint_v3.mjs +0 -97
  94. package/static/account.html +0 -113
  95. package/static/activity.html +0 -73
  96. package/static/admin.html +0 -486
  97. package/static/agents.html +0 -139
  98. package/static/chat.html +0 -841
  99. package/static/css/reference/account.css +0 -439
  100. package/static/css/reference/admin.css +0 -610
  101. package/static/css/reference/base.css +0 -1661
  102. package/static/css/reference/chat.css +0 -4623
  103. package/static/css/reference/graph.css +0 -1016
  104. package/static/css/responsive.css +0 -861
  105. package/static/graph.html +0 -122
  106. package/static/platform.css +0 -104
  107. package/static/plugins.html +0 -136
  108. package/static/scripts/account.js +0 -238
  109. package/static/scripts/admin.js +0 -1614
  110. package/static/scripts/chat.js +0 -5081
  111. package/static/scripts/graph.js +0 -1804
  112. package/static/scripts/platform.js +0 -64
  113. package/static/scripts/ux.js +0 -167
  114. package/static/scripts/workspace.js +0 -948
  115. package/static/v3/asset-manifest.json +0 -56
  116. package/static/v3/css/lattice.base.49deefb5.css +0 -128
  117. package/static/v3/css/lattice.base.css +0 -128
  118. package/static/v3/css/lattice.components.cde18231.css +0 -472
  119. package/static/v3/css/lattice.components.css +0 -472
  120. package/static/v3/css/lattice.shell.29d36d85.css +0 -452
  121. package/static/v3/css/lattice.shell.css +0 -452
  122. package/static/v3/css/lattice.tokens.304cbc40.css +0 -135
  123. package/static/v3/css/lattice.tokens.css +0 -135
  124. package/static/v3/css/lattice.views.0a18b6c5.css +0 -360
  125. package/static/v3/css/lattice.views.css +0 -360
  126. package/static/v3/index.html +0 -68
  127. package/static/v3/js/app.356e6452.js +0 -26
  128. package/static/v3/js/app.js +0 -26
  129. package/static/v3/js/core/api.7a308b89.js +0 -568
  130. package/static/v3/js/core/api.js +0 -568
  131. package/static/v3/js/core/components.f25b3b93.js +0 -230
  132. package/static/v3/js/core/components.js +0 -230
  133. package/static/v3/js/core/dom.a2773eb0.js +0 -148
  134. package/static/v3/js/core/dom.js +0 -148
  135. package/static/v3/js/core/router.584570f2.js +0 -37
  136. package/static/v3/js/core/router.js +0 -37
  137. package/static/v3/js/core/routes.7222343d.js +0 -93
  138. package/static/v3/js/core/routes.js +0 -93
  139. package/static/v3/js/core/shell.a1657f20.js +0 -391
  140. package/static/v3/js/core/shell.js +0 -391
  141. package/static/v3/js/core/store.204a08b2.js +0 -113
  142. package/static/v3/js/core/store.js +0 -113
  143. package/static/v3/js/views/admin-audit.660a1fb1.js +0 -185
  144. package/static/v3/js/views/admin-audit.js +0 -185
  145. package/static/v3/js/views/admin-permissions.a7ae5f09.js +0 -177
  146. package/static/v3/js/views/admin-permissions.js +0 -177
  147. package/static/v3/js/views/admin-policies.3658fd86.js +0 -102
  148. package/static/v3/js/views/admin-policies.js +0 -102
  149. package/static/v3/js/views/admin-private-vpc.7d342d36.js +0 -135
  150. package/static/v3/js/views/admin-private-vpc.js +0 -135
  151. package/static/v3/js/views/admin-security.07c66b72.js +0 -180
  152. package/static/v3/js/views/admin-security.js +0 -180
  153. package/static/v3/js/views/admin-users.03bac88c.js +0 -168
  154. package/static/v3/js/views/admin-users.js +0 -168
  155. package/static/v3/js/views/agents.014d0b74.js +0 -541
  156. package/static/v3/js/views/agents.js +0 -541
  157. package/static/v3/js/views/chat.e6dd7dd0.js +0 -601
  158. package/static/v3/js/views/chat.js +0 -601
  159. package/static/v3/js/views/files.adad14c1.js +0 -365
  160. package/static/v3/js/views/files.js +0 -365
  161. package/static/v3/js/views/graph-canvas.17c15d65.js +0 -509
  162. package/static/v3/js/views/graph-canvas.js +0 -509
  163. package/static/v3/js/views/home.24f8b8ae.js +0 -200
  164. package/static/v3/js/views/home.js +0 -200
  165. package/static/v3/js/views/hooks.37895880.js +0 -220
  166. package/static/v3/js/views/hooks.js +0 -220
  167. package/static/v3/js/views/hybrid-search.2fb63ed9.js +0 -194
  168. package/static/v3/js/views/hybrid-search.js +0 -194
  169. package/static/v3/js/views/knowledge-graph.5e40cbeb.js +0 -509
  170. package/static/v3/js/views/knowledge-graph.js +0 -509
  171. package/static/v3/js/views/marketplace.ab0583d4.js +0 -141
  172. package/static/v3/js/views/marketplace.js +0 -141
  173. package/static/v3/js/views/mcp.99b5c6a7.js +0 -114
  174. package/static/v3/js/views/mcp.js +0 -114
  175. package/static/v3/js/views/memory.4ebdf474.js +0 -147
  176. package/static/v3/js/views/memory.js +0 -147
  177. package/static/v3/js/views/models.a1ffa147.js +0 -256
  178. package/static/v3/js/views/models.js +0 -256
  179. package/static/v3/js/views/my-computer.d9d9ae1c.js +0 -463
  180. package/static/v3/js/views/my-computer.js +0 -463
  181. package/static/v3/js/views/pipeline.c522f1ce.js +0 -157
  182. package/static/v3/js/views/pipeline.js +0 -157
  183. package/static/v3/js/views/planning.9ac3e313.js +0 -153
  184. package/static/v3/js/views/planning.js +0 -153
  185. package/static/v3/js/views/settings.8631fa5e.js +0 -318
  186. package/static/v3/js/views/settings.js +0 -318
  187. package/static/v3/js/views/skills.c6c2f965.js +0 -109
  188. package/static/v3/js/views/skills.js +0 -109
  189. package/static/v3/js/views/tools.e4f11276.js +0 -108
  190. package/static/v3/js/views/tools.js +0 -108
  191. package/static/v3/js/views/workflows.26c57290.js +0 -128
  192. package/static/v3/js/views/workflows.js +0 -128
  193. package/static/workflows.html +0 -146
  194. package/static/workspace.css +0 -1121
  195. package/static/workspace.html +0 -357
@@ -1,439 +0,0 @@
1
- /* Lattice AI — account / auth page (account.html, body.lattice-ref-auth). Token-native. */
2
- /* ============================================================
3
- ACCOUNT / AUTH PAGE (account.html)
4
- Token-native product entry surface — unified with chat/graph/admin pages.
5
- ============================================================ */
6
-
7
- * { box-sizing: border-box; margin: 0; padding: 0; }
8
- html, body.lattice-ref-auth { height: 100%; }
9
- body.lattice-ref-auth {
10
- font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
11
- color: var(--text);
12
- background: var(--app-bg);
13
- display: flex;
14
- align-items: center;
15
- justify-content: center;
16
- min-height: 100vh;
17
- padding: 24px;
18
- overflow: hidden;
19
- position: relative;
20
- }
21
-
22
- body::before {
23
- content: '';
24
- position: fixed;
25
- inset: 0;
26
- background:
27
- radial-gradient(circle, rgba(123,109,255,0.28) 1px, transparent 1.8px),
28
- linear-gradient(rgba(123,109,255,0.08) 1px, transparent 1px),
29
- linear-gradient(90deg, rgba(123,109,255,0.06) 1px, transparent 1px);
30
- background-size: 82px 82px, 46px 46px, 46px 46px;
31
- background-position: 16px 18px, 0 0, 0 0;
32
- mask-image: linear-gradient(180deg, rgba(0,0,0,0.18), rgba(0,0,0,0.02));
33
- pointer-events: none;
34
- }
35
-
36
- body::after {
37
- content: '';
38
- position: fixed;
39
- inset: 0;
40
- background:
41
- radial-gradient(ellipse at 8% 78%, rgba(142,111,255,0.24), transparent 34%),
42
- linear-gradient(115deg, transparent 0 35%, rgba(111,75,246,0.09) 35.2%, transparent 35.6% 100%);
43
- pointer-events: none;
44
- }
45
-
46
- .orb {
47
- display: none;
48
- }
49
-
50
- .login-shell {
51
- width: min(920px, 100%);
52
- display: grid;
53
- grid-template-columns: minmax(280px, 400px) minmax(220px, 1fr);
54
- align-items: center;
55
- gap: 46px;
56
- position: relative;
57
- z-index: 1;
58
- }
59
-
60
- .brand-preview {
61
- min-height: 360px;
62
- border-radius: 34px;
63
- background:
64
- radial-gradient(circle at 54% 45%, rgba(111,75,246,0.24), transparent 18%),
65
- linear-gradient(145deg, rgba(255,255,255,0.68), rgba(244,239,255,0.32));
66
- border: 1px solid rgba(111,75,246,0.12);
67
- box-shadow: inset 0 1px 0 rgba(255,255,255,0.85);
68
- position: relative;
69
- overflow: hidden;
70
- }
71
- .brand-preview::before {
72
- content: '';
73
- position: absolute;
74
- inset: auto -12% 0 -8%;
75
- height: 46%;
76
- background: linear-gradient(135deg, rgba(111,75,246,0.24), rgba(255,255,255,0.12));
77
- clip-path: polygon(0 62%, 18% 42%, 36% 54%, 55% 26%, 76% 44%, 100% 20%, 100% 100%, 0 100%);
78
- filter: blur(1px);
79
- }
80
- .preview-node {
81
- position: absolute;
82
- width: 52px;
83
- height: 52px;
84
- border-radius: 17px;
85
- background: var(--surface-2);
86
- border: 1px solid rgba(111,75,246,0.18);
87
- box-shadow: 0 18px 40px rgba(111,75,246,0.16);
88
- }
89
- .preview-node::after {
90
- content: '';
91
- position: absolute;
92
- inset: 14px;
93
- border-radius: 10px;
94
- background: linear-gradient(135deg, #6f4bf6, #9f8cff);
95
- }
96
- .preview-node.n1 { top: 52px; left: 58px; }
97
- .preview-node.n2 { top: 112px; right: 64px; }
98
- .preview-node.n3 { left: 120px; bottom: 92px; }
99
- .preview-node.n4 { right: 120px; bottom: 58px; }
100
- .preview-line {
101
- position: absolute;
102
- height: 2px;
103
- width: 150px;
104
- background: linear-gradient(90deg, transparent, rgba(111,75,246,0.45), transparent);
105
- transform-origin: left center;
106
- }
107
- .preview-line.l1 { top: 108px; left: 112px; transform: rotate(18deg); }
108
- .preview-line.l2 { top: 186px; left: 176px; transform: rotate(112deg); }
109
- .preview-line.l3 { bottom: 112px; left: 172px; transform: rotate(-13deg); }
110
-
111
- .card {
112
- width: min(400px, 100%);
113
- background: var(--card);
114
- border: 1px solid rgba(111,75,246,0.13);
115
- border-radius: 14px;
116
- padding: 38px 34px;
117
- box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.9);
118
- position: relative;
119
- z-index: 1;
120
- backdrop-filter: none; /* glass removed v3.5.0 */
121
- }
122
-
123
- .card::before {
124
- content: '';
125
- position: absolute;
126
- top: 0; left: 50%;
127
- transform: translateX(-50%);
128
- width: 55%; height: 1px;
129
- background: linear-gradient(90deg, transparent, rgba(111,75,246,0.65), rgba(123,109,255,0.45), transparent);
130
- }
131
-
132
- .logo {
133
- width: 54px; height: 54px;
134
- background: linear-gradient(135deg, #6f4bf6 0%, #8d7aff 100%);
135
- border-radius: 10px;
136
- display: flex; align-items: center; justify-content: center;
137
- font-size: 26px; color: #fff;
138
- margin: 0 auto 18px;
139
- box-shadow: 0 16px 34px rgba(111,75,246,0.28);
140
- }
141
-
142
- .title {
143
- text-align: center;
144
- font-size: 23px;
145
- font-weight: 800;
146
- margin-bottom: 6px;
147
- background: linear-gradient(135deg, #1f2140 35%, #6f4bf6 82%);
148
- -webkit-background-clip: text;
149
- -webkit-text-fill-color: transparent;
150
- background-clip: text;
151
- }
152
-
153
- .subtitle {
154
- text-align: center;
155
- color: var(--muted);
156
- font-size: 12.5px;
157
- margin-bottom: 26px;
158
- line-height: 1.5;
159
- }
160
-
161
- .input {
162
- width: 100%;
163
- padding: 12px 14px;
164
- margin-bottom: 10px;
165
- background: var(--surface);
166
- border: 1px solid rgba(111,75,246,0.16);
167
- color: var(--text);
168
- border-radius: 8px;
169
- outline: none;
170
- font-size: 14px;
171
- font-family: inherit;
172
- transition: border-color .15s, box-shadow .15s;
173
- }
174
- .input:focus {
175
- border-color: rgba(111,75,246,0.52);
176
- box-shadow: 0 0 0 4px rgba(111,75,246,0.10);
177
- }
178
- .input::placeholder { color: var(--faint); }
179
-
180
- .submit {
181
- width: 100%;
182
- padding: 13px;
183
- background: linear-gradient(135deg, #6f4bf6, #7b6dff);
184
- color: #fff;
185
- border: none;
186
- border-radius: 8px;
187
- cursor: pointer;
188
- font-weight: 800;
189
- font-size: 14px;
190
- font-family: inherit;
191
- box-shadow: 0 14px 30px rgba(111,75,246,0.24);
192
- transition: all .18s;
193
- margin-top: 4px;
194
- }
195
- .submit:hover {
196
- background: linear-gradient(135deg, #5f3ee6, #705fff);
197
- box-shadow: 0 18px 38px rgba(111,75,246,0.30);
198
- transform: translateY(-1px);
199
- }
200
- .submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
201
-
202
- .switch {
203
- margin-top: 18px;
204
- text-align: center;
205
- font-size: 12.5px;
206
- color: var(--faint);
207
- }
208
- .switch a { color: #6f4bf6; text-decoration: none; font-weight: 700; }
209
- .switch a:hover { text-decoration: underline; }
210
-
211
- .sso-divider {
212
- display: flex; align-items: center; gap: 10px;
213
- margin: 14px 0 10px;
214
- color: var(--faint); font-size: 11.5px;
215
- }
216
- .sso-divider::before, .sso-divider::after {
217
- content: ''; flex: 1;
218
- height: 1px; background: rgba(111,75,246,0.12);
219
- }
220
- .sso-btn {
221
- width: 100%;
222
- padding: 12px;
223
- background: var(--surface-2);
224
- border: 1px solid rgba(111,75,246,0.15);
225
- color: var(--text);
226
- border-radius: 8px;
227
- cursor: pointer;
228
- font-weight: 600;
229
- font-size: 13.5px;
230
- font-family: inherit;
231
- display: flex; align-items: center; justify-content: center; gap: 8px;
232
- transition: all .18s;
233
- }
234
- .sso-btn:hover {
235
- background: var(--surface);
236
- border-color: rgba(111,75,246,0.34);
237
- }
238
-
239
- .msg {
240
- font-size: 12px;
241
- min-height: 18px;
242
- margin-bottom: 6px;
243
- text-align: center;
244
- color: #d44f5c;
245
- }
246
- .msg.ok { color: var(--success); }
247
-
248
- /* Lang picker */
249
- .lang-wrap {
250
- position: absolute;
251
- top: 12px;
252
- right: 12px;
253
- z-index: 10;
254
- }
255
- .lang-btn {
256
- background: var(--surface-2);
257
- border: 1px solid rgba(111,75,246,0.18);
258
- color: var(--text);
259
- border-radius: 8px;
260
- padding: 7px 12px;
261
- font-size: 13px;
262
- font-family: inherit;
263
- cursor: pointer;
264
- transition: background .15s;
265
- box-shadow: 0 10px 28px rgba(86,70,160,0.12);
266
- }
267
- .lang-btn:hover { background: rgba(111,75,246,0.08); }
268
- .lang-menu {
269
- display: none;
270
- position: absolute;
271
- top: calc(100% + 6px);
272
- right: 0;
273
- background: var(--surface-elevated);
274
- border: 1px solid rgba(111,75,246,0.15);
275
- border-radius: 8px;
276
- padding: 4px;
277
- min-width: 130px;
278
- box-shadow: 0 18px 44px rgba(86,70,160,0.16);
279
- }
280
- .lang-menu.open { display: block; }
281
- .lang-opt {
282
- padding: 7px 10px;
283
- border-radius: 7px;
284
- cursor: pointer;
285
- font-size: 13px;
286
- color: var(--muted);
287
- }
288
- .lang-opt:hover { background: rgba(111,75,246,0.07); color: var(--text); }
289
- .lang-opt.active { color: var(--accent); font-weight: 700; }
290
-
291
- @media (max-width: 760px) {
292
- .login-shell { display: block; }
293
- .brand-preview { display: none; }
294
- }
295
-
296
- :root[data-lt-theme="dark"] body.lattice-ref-auth .title,
297
- :root[data-lt-theme="dark"] body.lattice-ref-auth #register-section .title {
298
- background: none;
299
- -webkit-background-clip: border-box;
300
- background-clip: border-box;
301
- -webkit-text-fill-color: currentColor;
302
- color: var(--text);
303
- }
304
-
305
- /* Product-grade auth surface — functional entry point, token-native. */
306
- .lattice-ref-auth {
307
- background: var(--app-bg);
308
- }
309
-
310
- .lattice-ref-auth::before {
311
- background:
312
- linear-gradient(90deg, rgba(12, 92, 115, 0.05) 1px, transparent 1px),
313
- linear-gradient(180deg, rgba(12, 92, 115, 0.05) 1px, transparent 1px);
314
- background-size: 42px 42px;
315
- mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.32), transparent 76%);
316
- }
317
-
318
- .lattice-ref-auth::after,
319
- .lattice-ref-auth .orb,
320
- .auth-wave,
321
- .auth-network {
322
- display: none;
323
- }
324
-
325
- .auth-titlebar {
326
- background: var(--surface-elevated);
327
- border-bottom-color: var(--line);
328
- color: var(--text);
329
- }
330
-
331
- .auth-window-brand i,
332
- .lattice-ref-auth .hero-logo-mark {
333
- color: var(--accent);
334
- }
335
-
336
- .auth-window-controls span::before,
337
- .auth-window-controls span::after {
338
- background: var(--text);
339
- border-color: var(--text);
340
- }
341
-
342
- .lattice-ref-auth .login-shell {
343
- width: min(980px, calc(100vw - 36px));
344
- grid-template-columns: minmax(300px, 430px) minmax(280px, 1fr);
345
- }
346
-
347
- .lattice-ref-auth .brand-preview {
348
- display: block;
349
- border-radius: 8px;
350
- background:
351
- linear-gradient(135deg, var(--accent-soft), transparent 58%),
352
- var(--surface);
353
- border-color: var(--line);
354
- box-shadow: none;
355
- }
356
-
357
- .lattice-ref-auth .preview-node {
358
- border-radius: 8px;
359
- background: var(--surface-2);
360
- border-color: var(--line);
361
- box-shadow: none;
362
- }
363
-
364
- .lattice-ref-auth .preview-node::after {
365
- background: linear-gradient(135deg, var(--accent), var(--accent-2));
366
- border-radius: 8px;
367
- }
368
-
369
- .lattice-ref-auth .preview-line {
370
- background: linear-gradient(90deg, transparent, var(--accent-2), transparent);
371
- }
372
-
373
- .lattice-ref-auth .card {
374
- border-radius: 8px;
375
- background: var(--surface-elevated);
376
- border-color: var(--line);
377
- box-shadow: var(--shadow);
378
- }
379
-
380
- .lattice-ref-auth .card::before {
381
- background: linear-gradient(90deg, transparent, var(--accent), var(--accent-2), transparent);
382
- }
383
-
384
- .lattice-ref-auth .title {
385
- background: none;
386
- color: var(--text);
387
- -webkit-text-fill-color: currentColor;
388
- }
389
-
390
- .lattice-ref-auth .subtitle {
391
- color: var(--muted);
392
- font-weight: 700;
393
- }
394
-
395
- .lattice-ref-auth .input,
396
- .lattice-ref-auth .auth-field,
397
- .lattice-ref-auth .sso-btn {
398
- background: var(--input);
399
- border-color: var(--line);
400
- color: var(--text);
401
- }
402
-
403
- .lattice-ref-auth .input:focus,
404
- .lattice-ref-auth .auth-field:focus-within {
405
- border-color: var(--accent);
406
- box-shadow: 0 0 0 3px var(--accent-soft);
407
- }
408
-
409
- .lattice-ref-auth .submit {
410
- background: var(--accent);
411
- box-shadow: none;
412
- }
413
-
414
- .lattice-ref-auth .submit:hover {
415
- background: var(--accent-deep);
416
- box-shadow: none;
417
- }
418
-
419
- .lattice-ref-auth .local-start,
420
- .lattice-ref-auth .register-cta,
421
- .lattice-ref-auth .switch a {
422
- color: var(--accent);
423
- }
424
-
425
- .lattice-ref-auth .lang-btn,
426
- .lattice-ref-auth .lang-menu {
427
- border-color: var(--line);
428
- box-shadow: none;
429
- }
430
-
431
- @media (max-width: 760px) {
432
- .lattice-ref-auth .login-shell {
433
- grid-template-columns: 1fr;
434
- }
435
-
436
- .lattice-ref-auth .brand-preview {
437
- display: none;
438
- }
439
- }