@celljs/ta-web 4.15.1 → 4.16.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.
- package/esm/browser/components/access-view.d.ts +6 -0
- package/esm/browser/components/access-view.js +4 -4
- package/esm/browser/components/app-view.js +11 -1
- package/esm/browser/components/chat-list.d.ts +3 -1
- package/esm/browser/components/chat-list.js +9 -4
- package/esm/browser/components/chat-seen.d.ts +7 -0
- package/esm/browser/components/chat-seen.js +57 -10
- package/esm/browser/components/environment-view.js +59 -3
- package/esm/browser/components/folder-picker.js +3 -3
- package/esm/browser/components/host-tag.js +2 -2
- package/esm/browser/components/host-view.d.ts +1 -1
- package/esm/browser/components/remote-hosts.js +66 -5
- package/esm/browser/components/settings-parts.js +4 -1
- package/esm/browser/extension/icons.js +23 -4
- package/esm/browser/extension/web-extension-protocol.d.ts +6 -0
- package/esm/browser/extension/web-extensions.d.ts +3 -0
- package/esm/browser/extension/web-extensions.js +7 -0
- package/esm/browser/gateway/console-extension.d.ts +20 -0
- package/esm/browser/gateway/console-extension.js +75 -0
- package/esm/browser/gateway/console-parts.d.ts +64 -0
- package/esm/browser/gateway/console-parts.js +278 -0
- package/esm/browser/gateway/console-tenant.d.ts +22 -0
- package/esm/browser/gateway/console-tenant.js +286 -0
- package/esm/browser/gateway/console-util.d.ts +59 -0
- package/esm/browser/gateway/console-util.js +187 -0
- package/esm/browser/gateway/console-view.d.ts +2 -0
- package/esm/browser/gateway/console-view.js +226 -0
- package/esm/browser/i18n/locales.d.ts +201 -3
- package/esm/browser/i18n/messages-ja.js +198 -0
- package/esm/browser/i18n/messages-zh-tw.js +198 -0
- package/esm/browser/i18n/messages.d.ts +198 -0
- package/esm/browser/i18n/messages.js +396 -0
- package/esm/browser/index.d.ts +3 -0
- package/esm/browser/index.js +3 -0
- package/esm/browser/style/pages.d.ts +1 -1
- package/esm/browser/style/pages.js +141 -0
- package/lib/browser/components/access-view.d.ts +6 -0
- package/lib/browser/components/access-view.js +5 -4
- package/lib/browser/components/app-view.js +11 -1
- package/lib/browser/components/chat-list.d.ts +3 -1
- package/lib/browser/components/chat-list.js +9 -4
- package/lib/browser/components/chat-seen.d.ts +7 -0
- package/lib/browser/components/chat-seen.js +57 -10
- package/lib/browser/components/environment-view.js +58 -2
- package/lib/browser/components/folder-picker.js +2 -2
- package/lib/browser/components/host-tag.js +1 -1
- package/lib/browser/components/host-view.d.ts +1 -1
- package/lib/browser/components/remote-hosts.js +65 -4
- package/lib/browser/components/settings-parts.js +4 -1
- package/lib/browser/extension/icons.js +22 -3
- package/lib/browser/extension/web-extension-protocol.d.ts +6 -0
- package/lib/browser/extension/web-extensions.d.ts +3 -0
- package/lib/browser/extension/web-extensions.js +7 -0
- package/lib/browser/gateway/console-extension.d.ts +21 -0
- package/lib/browser/gateway/console-extension.js +111 -0
- package/lib/browser/gateway/console-parts.d.ts +65 -0
- package/lib/browser/gateway/console-parts.js +322 -0
- package/lib/browser/gateway/console-tenant.d.ts +23 -0
- package/lib/browser/gateway/console-tenant.js +327 -0
- package/lib/browser/gateway/console-util.d.ts +60 -0
- package/lib/browser/gateway/console-util.js +190 -0
- package/lib/browser/gateway/console-view.d.ts +3 -0
- package/lib/browser/gateway/console-view.js +262 -0
- package/lib/browser/i18n/locales.d.ts +201 -3
- package/lib/browser/i18n/messages-ja.js +198 -0
- package/lib/browser/i18n/messages-zh-tw.js +198 -0
- package/lib/browser/i18n/messages.d.ts +198 -0
- package/lib/browser/i18n/messages.js +396 -0
- package/lib/browser/index.d.ts +3 -0
- package/lib/browser/index.js +3 -0
- package/lib/browser/style/pages.d.ts +1 -1
- package/lib/browser/style/pages.js +141 -0
- package/package.json +7 -7
|
@@ -162,6 +162,202 @@ exports.EN_MESSAGES = {
|
|
|
162
162
|
'ta.environment.stopConfirm': 'Stop the environment of {account}?',
|
|
163
163
|
'ta.environment.stopDetail': 'It starts again when they connect; what runs in it stops now.',
|
|
164
164
|
// Who may sign in with an account (Settings, Access)
|
|
165
|
+
'ta.console.title': 'Console',
|
|
166
|
+
'ta.console.hint': "Everyone's Ta on this gateway, for its administrators",
|
|
167
|
+
'ta.console.refresh': 'Refresh',
|
|
168
|
+
'ta.console.accounts': 'Accounts',
|
|
169
|
+
'ta.console.running': 'Running',
|
|
170
|
+
'ta.console.connectionsLabel': 'Connections',
|
|
171
|
+
'ta.console.requests': 'To let in',
|
|
172
|
+
'ta.console.invite': 'Invite someone',
|
|
173
|
+
'ta.console.inviteTitle': 'Their account',
|
|
174
|
+
'ta.console.invitePlaceholder': 'github:octocat or user:alice',
|
|
175
|
+
'ta.console.inviteLink': 'A link for {account}',
|
|
176
|
+
'ta.console.inviteHint': 'It signs in once, within a day. Send it to them alone.',
|
|
177
|
+
'ta.console.copy': 'Copy link',
|
|
178
|
+
'ta.console.copied': 'Link copied',
|
|
179
|
+
'ta.console.sandboxes': 'Sandboxes',
|
|
180
|
+
'ta.console.default': 'Default',
|
|
181
|
+
'ta.console.providerTenants': '{type} · {count, plural, one {# account} other {# accounts}}',
|
|
182
|
+
'ta.console.ownAllowed': 'People may use a Ta service of their own',
|
|
183
|
+
'ta.console.ownNot': 'Only the sandboxes of this gateway',
|
|
184
|
+
'ta.console.idle': 'A sandbox stops {minutes} minutes after the last one leaves',
|
|
185
|
+
'ta.console.idleNever': 'Sandboxes keep running with nobody connected',
|
|
186
|
+
'ta.console.search': 'Search accounts',
|
|
187
|
+
'ta.console.empty': 'Nobody has signed in yet',
|
|
188
|
+
'ta.console.emptyHint': 'Invite someone: their Ta gets a sandbox of its own.',
|
|
189
|
+
'ta.console.noMatch': 'No account matches',
|
|
190
|
+
'ta.console.cpu': 'CPU',
|
|
191
|
+
'ta.console.memory': 'Memory',
|
|
192
|
+
'ta.console.start': 'Start',
|
|
193
|
+
'ta.console.restartConfirm': 'Restart the Ta of {account}?',
|
|
194
|
+
'ta.console.restartDetail': 'What runs in it stops and their pages connect again; conversations and files stay.',
|
|
195
|
+
'ta.console.environment': 'Runs in',
|
|
196
|
+
'ta.console.created': 'Joined',
|
|
197
|
+
'ta.console.active': 'Last active',
|
|
198
|
+
'ta.console.tenantId': 'Tenant',
|
|
199
|
+
'ta.console.logs': 'Log',
|
|
200
|
+
'ta.console.logsEmpty': 'Nothing written yet',
|
|
201
|
+
'ta.console.logsNone': 'Its sandboxes keep no log for the gateway',
|
|
202
|
+
'ta.console.failed': 'The console did not load',
|
|
203
|
+
'ta.console.never': 'Never',
|
|
204
|
+
'ta.console.since': 'Gateway up since {time}',
|
|
205
|
+
'ta.console.monthlyTokens': 'Tokens a month',
|
|
206
|
+
'ta.console.monthlyTokensHint': 'Counted by the gateway as it passes calls of its models; past them calls are refused',
|
|
207
|
+
'ta.console.monthlyTokensOff': 'Holds only once the gateway gives models (models.json of the gateway)',
|
|
208
|
+
'ta.console.tokensMetered': 'Counted by the gateway',
|
|
209
|
+
'ta.console.tokensReported': 'As the sessions say',
|
|
210
|
+
'ta.console.models': 'Models of the gateway',
|
|
211
|
+
'ta.console.modelsNone': 'None: members bring their own keys, and tokens are shown, not limited. Add providers in models.json of the gateway to give models and limit tokens.',
|
|
212
|
+
'ta.console.modelsOf': '{api} · {count, plural, one {# model} other {# models}}',
|
|
213
|
+
'ta.console.modelsHint': 'Sandboxes call them through the gateway with a key of their own; the keys of providers stay here.',
|
|
214
|
+
'ta.remote.addCloud': 'Add a cloud workspace',
|
|
215
|
+
'ta.remote.cloudTitle': 'Cloud workspaces',
|
|
216
|
+
'ta.remote.cloudDescription': 'Your sandbox on a Ta gateway, reached over its address, not ssh: conversations here work in its directories, the agent stays on this computer.',
|
|
217
|
+
'ta.remote.cloudUrl': 'Gateway address',
|
|
218
|
+
'ta.remote.cloudToken': 'Access token',
|
|
219
|
+
'ta.remote.cloudName': 'Name, as ta://name/…',
|
|
220
|
+
'ta.remote.cloudHint': 'Make the token on the gateway: Settings, Environment, Use it from another Ta.',
|
|
221
|
+
'ta.remote.cloudConnect': 'Connect and add',
|
|
222
|
+
'ta.remote.cloudAdded': '{name} added: pick it in the folder picker',
|
|
223
|
+
'ta.remote.openCloud': 'Open its Ta',
|
|
224
|
+
'ta.remote.openCloudHint': 'The whole Ta there, its agent in the cloud too',
|
|
225
|
+
'ta.environment.elsewhere': 'Use it from another Ta',
|
|
226
|
+
'ta.environment.elsewhereHint': 'Ta on your computer works in this sandbox as a cloud workspace, its agent on your computer.',
|
|
227
|
+
'ta.environment.makeToken': 'Make a token',
|
|
228
|
+
'ta.environment.tokenLabel': 'Another Ta',
|
|
229
|
+
'ta.environment.tokenHint': 'Shown once. In Ta on your computer: Settings, Remote hosts, Add a cloud workspace. Sign it out in Access when no longer used.',
|
|
230
|
+
'ta.console.activityNone': 'Nothing done yet',
|
|
231
|
+
'ta.console.activityRunning': 'Running',
|
|
232
|
+
'ta.console.activitySummary': 'Last {count, plural, one {# call} other {# calls}}, {failed} failed',
|
|
233
|
+
'ta.console.allProviders': 'All sandboxes',
|
|
234
|
+
'ta.console.audit': 'Audit log',
|
|
235
|
+
'ta.console.auditNone': 'No administrator has done anything yet',
|
|
236
|
+
'ta.console.bonus': '+{minutes} min given',
|
|
237
|
+
'ta.console.byAccount': 'By account',
|
|
238
|
+
'ta.console.byModel': 'By model',
|
|
239
|
+
'ta.console.cannotManage': 'Admins manage members only: ask an owner to change this account',
|
|
240
|
+
'ta.console.connectionsLimit': '{count} pages at once',
|
|
241
|
+
'ta.console.connectionsMax': 'Pages at once',
|
|
242
|
+
'ta.console.connectionsMaxHint': 'Browsers and apps connected together',
|
|
243
|
+
'ta.console.defaults': 'Default limits',
|
|
244
|
+
'ta.console.defaultsHint': 'For every member without limits of their own. Owners have none.',
|
|
245
|
+
'ta.console.defaultsReadOnly': 'Only owners change the defaults.',
|
|
246
|
+
'ta.console.freeMinutes': 'Free minutes a month',
|
|
247
|
+
'ta.console.freeMinutesHint': 'Counted while their sandbox runs; it stops when they are used',
|
|
248
|
+
'ta.console.grant': 'Give minutes',
|
|
249
|
+
'ta.console.grantTitle': 'Minutes to give {account} this month (negative takes back)',
|
|
250
|
+
'ta.console.granted': '{minutes} minutes given',
|
|
251
|
+
'ta.console.limitDefault': 'Default ({value})',
|
|
252
|
+
'ta.console.limitSet': 'Set',
|
|
253
|
+
'ta.console.limitedCount': '{count, plural, one {# account is} other {# accounts are}} suspended or out of free minutes',
|
|
254
|
+
'ta.console.logsAudited': 'Viewing is recorded in the audit log',
|
|
255
|
+
'ta.console.logsShow': 'Show log',
|
|
256
|
+
'ta.console.managers': 'Managers',
|
|
257
|
+
'ta.console.managersHint': 'Owners are set where the gateway runs (TA_GATEWAY_ADMINS); owners make admins from an account’s page.',
|
|
258
|
+
'ta.console.metric': 'Show',
|
|
259
|
+
'ta.console.modelFailed': '{model} failed',
|
|
260
|
+
'ta.console.monthTokens': 'Tokens this month',
|
|
261
|
+
'ta.console.no': 'No',
|
|
262
|
+
'ta.console.ownService': 'Their own Ta service',
|
|
263
|
+
'ta.console.ownServiceHint': 'Run their Ta elsewhere, outside the sandboxes',
|
|
264
|
+
'ta.console.peak': 'Peak {value}',
|
|
265
|
+
'ta.console.promptsLimit': '{count} messages a minute',
|
|
266
|
+
'ta.console.promptsPerMinute': 'Messages a minute',
|
|
267
|
+
'ta.console.promptsPerMinuteHint': 'Messages sent to their agents',
|
|
268
|
+
'ta.console.providersAllowed': 'Sandboxes allowed',
|
|
269
|
+
'ta.console.providersAllowedHint': 'Which providers they may pick',
|
|
270
|
+
'ta.console.quota': 'Limits this month',
|
|
271
|
+
'ta.console.range': 'Range',
|
|
272
|
+
'ta.console.range1': '24 h',
|
|
273
|
+
'ta.console.range7': '7 days',
|
|
274
|
+
'ta.console.range30': '30 days',
|
|
275
|
+
'ta.console.reset': 'Undo',
|
|
276
|
+
'ta.console.resets': 'resets {date}',
|
|
277
|
+
'ta.console.resumed': '{account} can use their Ta again',
|
|
278
|
+
'ta.console.sandboxNow': 'Sandbox now',
|
|
279
|
+
'ta.console.save': 'Save',
|
|
280
|
+
'ta.console.saved': 'Saved',
|
|
281
|
+
'ta.console.someProviders': 'Only these',
|
|
282
|
+
'ta.console.sort': 'Sort',
|
|
283
|
+
'ta.console.sortActive': 'Recently active',
|
|
284
|
+
'ta.console.sortMinutes': 'Most minutes',
|
|
285
|
+
'ta.console.sortName': 'Name',
|
|
286
|
+
'ta.console.stale': '{count, plural, one {# sandbox is} other {# sandboxes are}} stopped: their numbers are those read last',
|
|
287
|
+
'ta.console.suspend': 'Suspend',
|
|
288
|
+
'ta.console.suspendConfirm': 'Suspend {account}?',
|
|
289
|
+
'ta.console.suspendDetail': 'Their Ta stops now and does not start until you resume it; their files stay.',
|
|
290
|
+
'ta.console.resume': 'Resume',
|
|
291
|
+
'ta.console.suspended': 'Suspended',
|
|
292
|
+
'ta.console.outOfMinutes': 'Out of minutes',
|
|
293
|
+
'ta.console.blockedSuspended': 'Suspended by an administrator: their Ta does not start until resumed.',
|
|
294
|
+
'ta.console.blockedMinutes': 'Their free minutes of this month are used: give minutes or raise their limit.',
|
|
295
|
+
'ta.console.isAdmin': 'An admin of the gateway',
|
|
296
|
+
'ta.console.isMember': 'A member',
|
|
297
|
+
'ta.console.promote': 'Make admin',
|
|
298
|
+
'ta.console.demote': 'Remove admin',
|
|
299
|
+
'ta.console.promoteConfirm': 'Make {account} an admin?',
|
|
300
|
+
'ta.console.promoteDetail': 'They see everyone in the console, and manage members: their limits, sandboxes and logs.',
|
|
301
|
+
'ta.console.demoteConfirm': 'Remove {account} as admin?',
|
|
302
|
+
'ta.console.demoteDetail': 'They keep their own Ta, and no longer see the console.',
|
|
303
|
+
'ta.console.limitsEdit': 'Edit limits',
|
|
304
|
+
'ta.console.limitsDone': 'Done',
|
|
305
|
+
'ta.console.toolCallsLabel': 'Tool calls',
|
|
306
|
+
'ta.console.trend': 'Usage',
|
|
307
|
+
'ta.console.trendEmpty': 'No agent answered in this range',
|
|
308
|
+
'ta.console.turns': '{count, plural, one {# answer} other {# answers}}',
|
|
309
|
+
'ta.console.unlimited': 'No limit',
|
|
310
|
+
'ta.console.updated': 'updated {time}',
|
|
311
|
+
'ta.console.view': 'View',
|
|
312
|
+
'ta.console.yes': 'Yes',
|
|
313
|
+
'ta.console.auditActivity': 'looked at what an agent did of',
|
|
314
|
+
'ta.console.auditAllow': 'let in',
|
|
315
|
+
'ta.console.auditDefaults': 'changed the default limits',
|
|
316
|
+
'ta.console.auditDisallow': 'removed',
|
|
317
|
+
'ta.console.auditDismiss': 'dismissed the request of',
|
|
318
|
+
'ta.console.auditGrant': 'gave minutes to',
|
|
319
|
+
'ta.console.auditInvite': 'invited',
|
|
320
|
+
'ta.console.auditLimits': 'changed the limits of',
|
|
321
|
+
'ta.console.auditLogs': 'read the log of',
|
|
322
|
+
'ta.console.auditRestart': 'restarted',
|
|
323
|
+
'ta.console.auditRole': 'changed the role of',
|
|
324
|
+
'ta.console.auditStart': 'started',
|
|
325
|
+
'ta.console.auditStop': 'stopped',
|
|
326
|
+
'ta.console.auditSuspend': 'suspended or resumed',
|
|
327
|
+
'ta.console.filterAdmins': 'Managers',
|
|
328
|
+
'ta.console.filterAll': 'All',
|
|
329
|
+
'ta.console.filterLimited': 'Near or over limit',
|
|
330
|
+
'ta.console.filterRunning': 'Running',
|
|
331
|
+
'ta.console.filterWorking': 'Working',
|
|
332
|
+
'ta.console.roleAdmin': 'Admin',
|
|
333
|
+
'ta.console.roleMember': 'Member',
|
|
334
|
+
'ta.console.roleOwner': 'Owner',
|
|
335
|
+
'ta.console.tabAccounts': 'Accounts',
|
|
336
|
+
'ta.console.tabOverview': 'Overview',
|
|
337
|
+
'ta.console.tabPolicy': 'Policy',
|
|
338
|
+
'ta.environment.quotaHint': 'What you used of your free minutes this month',
|
|
339
|
+
'ta.environment.blockedTitle': 'Your Ta is paused',
|
|
340
|
+
'ta.environment.blockedSuspended': 'An administrator of the gateway suspended your account. Ask them to resume it.',
|
|
341
|
+
'ta.environment.blockedMinutes': 'Your free minutes of this month are used up. They come back on {date}, or ask an administrator for more.',
|
|
342
|
+
'ta.console.agents': 'Agents',
|
|
343
|
+
'ta.console.agentsWorking': 'Working',
|
|
344
|
+
'ta.console.agentWorking': 'Working',
|
|
345
|
+
'ta.console.agentWaiting': 'Waiting for them',
|
|
346
|
+
'ta.console.agentAsking': 'Asked them to decide',
|
|
347
|
+
'ta.console.agentIdle': 'Idle',
|
|
348
|
+
'ta.console.rowWorking': '{count, plural, one {# agent working} other {# agents working}}',
|
|
349
|
+
'ta.console.rowWaiting': '{count} waiting',
|
|
350
|
+
'ta.console.messages': '{count, plural, one {# message} other {# messages}}',
|
|
351
|
+
'ta.console.toolCalls': '{count, plural, one {# tool call} other {# tool calls}}',
|
|
352
|
+
'ta.console.context': 'Context window used',
|
|
353
|
+
'ta.console.sessions': 'Conversations',
|
|
354
|
+
'ta.console.tokens': 'Tokens',
|
|
355
|
+
'ta.console.cost': 'Cost',
|
|
356
|
+
'ta.console.agentsNone': 'No conversation is open',
|
|
357
|
+
'ta.console.agentsStopped': 'Its sandbox does not run: start it to see its agents',
|
|
358
|
+
'ta.console.agentsOwn': 'Their own Ta service is theirs: the gateway does not watch it',
|
|
359
|
+
'ta.console.agentsPrivacy': 'What was said is not shown: only names they gave, models and what each took',
|
|
360
|
+
'ta.console.about': 'About',
|
|
165
361
|
'ta.access.title': 'Access',
|
|
166
362
|
'ta.access.bind': 'Sign in with your account',
|
|
167
363
|
'ta.access.bindHint': 'Lets in the account you sign in with, so that it signs you in next time, on any device.',
|
|
@@ -218,6 +414,8 @@ exports.EN_MESSAGES = {
|
|
|
218
414
|
'ta.chat.restoreShort': 'Put back',
|
|
219
415
|
'ta.chat.pin': 'Pin to top',
|
|
220
416
|
'ta.chat.unpin': 'Unpin',
|
|
417
|
+
'ta.chat.markUnseen': 'Mark as unread',
|
|
418
|
+
'ta.chat.markSeen': 'Mark as read',
|
|
221
419
|
'ta.chat.pinned': 'Pinned',
|
|
222
420
|
'ta.chat.unseen': 'New, not seen yet',
|
|
223
421
|
'ta.chat.asking': 'Your call',
|
|
@@ -1149,6 +1347,202 @@ exports.ZH_MESSAGES = {
|
|
|
1149
1347
|
'ta.environment.stop': '停止',
|
|
1150
1348
|
'ta.environment.stopConfirm': '停止 {account} 的运行环境?',
|
|
1151
1349
|
'ta.environment.stopDetail': '对方再连接时会重新启动;正在运行的会马上停下。',
|
|
1350
|
+
'ta.console.title': '控制台',
|
|
1351
|
+
'ta.console.hint': '网关管理员查看和管理每个人的 Ta',
|
|
1352
|
+
'ta.console.refresh': '刷新',
|
|
1353
|
+
'ta.console.accounts': '账号',
|
|
1354
|
+
'ta.console.running': '运行中',
|
|
1355
|
+
'ta.console.connectionsLabel': '在线连接',
|
|
1356
|
+
'ta.console.requests': '待批准',
|
|
1357
|
+
'ta.console.invite': '邀请一个人',
|
|
1358
|
+
'ta.console.inviteTitle': '对方的账号',
|
|
1359
|
+
'ta.console.invitePlaceholder': 'github:octocat 或 user:alice',
|
|
1360
|
+
'ta.console.inviteLink': '给 {account} 的登录链接',
|
|
1361
|
+
'ta.console.inviteHint': '一天内有效,只能用一次。只发给本人。',
|
|
1362
|
+
'ta.console.copy': '复制链接',
|
|
1363
|
+
'ta.console.copied': '链接已复制',
|
|
1364
|
+
'ta.console.sandboxes': '沙箱',
|
|
1365
|
+
'ta.console.default': '默认',
|
|
1366
|
+
'ta.console.providerTenants': '{type} · {count} 个账号',
|
|
1367
|
+
'ta.console.ownAllowed': '允许使用自己的 Ta 服务',
|
|
1368
|
+
'ta.console.ownNot': '只能用网关的沙箱',
|
|
1369
|
+
'ta.console.idle': '最后一个人离开 {minutes} 分钟后停止沙箱',
|
|
1370
|
+
'ta.console.idleNever': '无人连接时沙箱也保持运行',
|
|
1371
|
+
'ta.console.search': '搜索账号',
|
|
1372
|
+
'ta.console.empty': '还没有人登录',
|
|
1373
|
+
'ta.console.emptyHint': '邀请一个人,Ta 会为他单独准备一个沙箱。',
|
|
1374
|
+
'ta.console.noMatch': '没有匹配的账号',
|
|
1375
|
+
'ta.console.cpu': 'CPU',
|
|
1376
|
+
'ta.console.memory': '内存',
|
|
1377
|
+
'ta.console.start': '启动',
|
|
1378
|
+
'ta.console.restartConfirm': '重启 {account} 的 Ta?',
|
|
1379
|
+
'ta.console.restartDetail': '正在运行的会停下,对方的页面会重新连接;对话和文件都保留。',
|
|
1380
|
+
'ta.console.environment': '运行在',
|
|
1381
|
+
'ta.console.created': '加入于',
|
|
1382
|
+
'ta.console.active': '最近活跃',
|
|
1383
|
+
'ta.console.tenantId': '租户 ID',
|
|
1384
|
+
'ta.console.logs': '日志',
|
|
1385
|
+
'ta.console.logsEmpty': '还没有输出',
|
|
1386
|
+
'ta.console.logsNone': '这类沙箱不向网关提供日志',
|
|
1387
|
+
'ta.console.failed': '控制台没有加载出来',
|
|
1388
|
+
'ta.console.never': '从未',
|
|
1389
|
+
'ta.console.since': '网关启动于 {time}',
|
|
1390
|
+
'ta.console.monthlyTokens': '每月 tokens',
|
|
1391
|
+
'ta.console.monthlyTokensHint': '网关转发模型调用时计数,超出后拒绝调用',
|
|
1392
|
+
'ta.console.monthlyTokensOff': '网关提供模型(网关目录下的 models.json)后才生效',
|
|
1393
|
+
'ta.console.tokensMetered': '网关计量',
|
|
1394
|
+
'ta.console.tokensReported': '按会话记录',
|
|
1395
|
+
'ta.console.models': '网关提供的模型',
|
|
1396
|
+
'ta.console.modelsNone': '未配置:成员用自己的密钥,tokens 只展示不限额。在网关目录的 models.json 里配置提供方后,才能统一提供模型并限额。',
|
|
1397
|
+
'ta.console.modelsOf': '{api} · {count} 个模型',
|
|
1398
|
+
'ta.console.modelsHint': '沙箱用各自的专用密钥经网关调用,提供方的真实密钥只在网关上。',
|
|
1399
|
+
'ta.remote.addCloud': '添加云端工作区',
|
|
1400
|
+
'ta.remote.cloudTitle': '云端工作区',
|
|
1401
|
+
'ta.remote.cloudDescription': '你在 Ta 网关上的沙箱,按地址直连而不是 ssh:本机的对话在它的目录里工作,智能体仍在本机。',
|
|
1402
|
+
'ta.remote.cloudUrl': '网关地址',
|
|
1403
|
+
'ta.remote.cloudToken': '访问令牌',
|
|
1404
|
+
'ta.remote.cloudName': '名字,用于 ta://名字/…',
|
|
1405
|
+
'ta.remote.cloudHint': '在网关的 设置 → 运行环境 → 在其他 Ta 里使用 生成令牌。',
|
|
1406
|
+
'ta.remote.cloudConnect': '连接并添加',
|
|
1407
|
+
'ta.remote.cloudAdded': '已添加 {name},可在选择目录时选它',
|
|
1408
|
+
'ta.remote.openCloud': '打开云端 Ta',
|
|
1409
|
+
'ta.remote.openCloudHint': '整个 Ta 都在云端运行,包括智能体',
|
|
1410
|
+
'ta.environment.elsewhere': '在其他 Ta 里使用',
|
|
1411
|
+
'ta.environment.elsewhereHint': '让你电脑上的 Ta 把这个沙箱当作云端工作区,智能体仍在电脑上。',
|
|
1412
|
+
'ta.environment.makeToken': '生成令牌',
|
|
1413
|
+
'ta.environment.tokenLabel': '其他 Ta',
|
|
1414
|
+
'ta.environment.tokenHint': '只显示一次。在电脑上的 Ta:设置 → 远程主机 → 添加云端工作区。不用时在「访问」里登出它。',
|
|
1415
|
+
'ta.console.activityNone': '还没有工具调用',
|
|
1416
|
+
'ta.console.activityRunning': '进行中',
|
|
1417
|
+
'ta.console.activitySummary': '最近 {count} 次调用,{failed} 次失败',
|
|
1418
|
+
'ta.console.allProviders': '全部沙箱',
|
|
1419
|
+
'ta.console.audit': '操作记录',
|
|
1420
|
+
'ta.console.auditNone': '管理员还没有任何操作',
|
|
1421
|
+
'ta.console.bonus': '已赠送 {minutes} 分钟',
|
|
1422
|
+
'ta.console.byAccount': '按账号',
|
|
1423
|
+
'ta.console.byModel': '按模型',
|
|
1424
|
+
'ta.console.cannotManage': '管理员只能管理普通成员,改这个账号请找所有者',
|
|
1425
|
+
'ta.console.connectionsLimit': '同时 {count} 个页面',
|
|
1426
|
+
'ta.console.connectionsMax': '同时连接数',
|
|
1427
|
+
'ta.console.connectionsMaxHint': '同时打开的浏览器和 App',
|
|
1428
|
+
'ta.console.defaults': '默认限额',
|
|
1429
|
+
'ta.console.defaultsHint': '适用于没有单独设置的成员;所有者不受限制。',
|
|
1430
|
+
'ta.console.defaultsReadOnly': '只有所有者能修改默认限额。',
|
|
1431
|
+
'ta.console.freeMinutes': '每月免费时长',
|
|
1432
|
+
'ta.console.freeMinutesHint': '沙箱运行时计时,用完后自动停止',
|
|
1433
|
+
'ta.console.grant': '赠送时长',
|
|
1434
|
+
'ta.console.grantTitle': '本月给 {account} 加多少分钟(负数为扣回)',
|
|
1435
|
+
'ta.console.granted': '已调整 {minutes} 分钟',
|
|
1436
|
+
'ta.console.limitDefault': '默认({value})',
|
|
1437
|
+
'ta.console.limitSet': '自定',
|
|
1438
|
+
'ta.console.limitedCount': '{count} 个账号已停用或免费时长用完',
|
|
1439
|
+
'ta.console.logsAudited': '查看会记入操作记录',
|
|
1440
|
+
'ta.console.logsShow': '查看日志',
|
|
1441
|
+
'ta.console.managers': '管理人员',
|
|
1442
|
+
'ta.console.managersHint': '所有者在网关运行处配置(TA_GATEWAY_ADMINS);所有者可在账号详情里设管理员。',
|
|
1443
|
+
'ta.console.metric': '指标',
|
|
1444
|
+
'ta.console.modelFailed': '{model} 调用失败',
|
|
1445
|
+
'ta.console.monthTokens': '本月 tokens',
|
|
1446
|
+
'ta.console.no': '否',
|
|
1447
|
+
'ta.console.ownService': '允许自己的 Ta 服务',
|
|
1448
|
+
'ta.console.ownServiceHint': '把 Ta 接到网关沙箱之外的地方运行',
|
|
1449
|
+
'ta.console.peak': '峰值 {value}',
|
|
1450
|
+
'ta.console.promptsLimit': '每分钟 {count} 条消息',
|
|
1451
|
+
'ta.console.promptsPerMinute': '每分钟消息数',
|
|
1452
|
+
'ta.console.promptsPerMinuteHint': '发给智能体的消息',
|
|
1453
|
+
'ta.console.providersAllowed': '可用沙箱',
|
|
1454
|
+
'ta.console.providersAllowedHint': '可以选择哪些沙箱提供方',
|
|
1455
|
+
'ta.console.quota': '本月额度',
|
|
1456
|
+
'ta.console.range': '时间范围',
|
|
1457
|
+
'ta.console.range1': '24 小时',
|
|
1458
|
+
'ta.console.range7': '7 天',
|
|
1459
|
+
'ta.console.range30': '30 天',
|
|
1460
|
+
'ta.console.reset': '撤销修改',
|
|
1461
|
+
'ta.console.resets': '{date} 重置',
|
|
1462
|
+
'ta.console.resumed': '{account} 已恢复使用',
|
|
1463
|
+
'ta.console.sandboxNow': '沙箱当前占用',
|
|
1464
|
+
'ta.console.save': '保存',
|
|
1465
|
+
'ta.console.saved': '已保存',
|
|
1466
|
+
'ta.console.someProviders': '仅限以下',
|
|
1467
|
+
'ta.console.sort': '排序',
|
|
1468
|
+
'ta.console.sortActive': '最近活跃',
|
|
1469
|
+
'ta.console.sortMinutes': '用时最多',
|
|
1470
|
+
'ta.console.sortName': '名字',
|
|
1471
|
+
'ta.console.stale': '{count} 个沙箱已停止,显示的是上次读到的数据',
|
|
1472
|
+
'ta.console.suspend': '停用',
|
|
1473
|
+
'ta.console.suspendConfirm': '停用 {account}?',
|
|
1474
|
+
'ta.console.suspendDetail': '对方的 Ta 立即停止,恢复前无法启动;文件都保留。',
|
|
1475
|
+
'ta.console.resume': '恢复',
|
|
1476
|
+
'ta.console.suspended': '已停用',
|
|
1477
|
+
'ta.console.outOfMinutes': '时长用完',
|
|
1478
|
+
'ta.console.blockedSuspended': '已被管理员停用,恢复前 Ta 无法启动。',
|
|
1479
|
+
'ta.console.blockedMinutes': '本月免费时长已用完,可赠送时长或调高额度。',
|
|
1480
|
+
'ta.console.isAdmin': '网关管理员',
|
|
1481
|
+
'ta.console.isMember': '普通成员',
|
|
1482
|
+
'ta.console.promote': '设为管理员',
|
|
1483
|
+
'ta.console.demote': '取消管理员',
|
|
1484
|
+
'ta.console.promoteConfirm': '把 {account} 设为管理员?',
|
|
1485
|
+
'ta.console.promoteDetail': '对方能在控制台看到所有人,并管理普通成员的额度、沙箱和日志。',
|
|
1486
|
+
'ta.console.demoteConfirm': '取消 {account} 的管理员?',
|
|
1487
|
+
'ta.console.demoteDetail': '对方保留自己的 Ta,但不再能进入控制台。',
|
|
1488
|
+
'ta.console.limitsEdit': '编辑额度',
|
|
1489
|
+
'ta.console.limitsDone': '完成',
|
|
1490
|
+
'ta.console.toolCallsLabel': '工具调用',
|
|
1491
|
+
'ta.console.trend': '用量趋势',
|
|
1492
|
+
'ta.console.trendEmpty': '这段时间没有智能体回答',
|
|
1493
|
+
'ta.console.turns': '{count} 次回答',
|
|
1494
|
+
'ta.console.unlimited': '不限',
|
|
1495
|
+
'ta.console.updated': '{time}更新',
|
|
1496
|
+
'ta.console.view': '查看',
|
|
1497
|
+
'ta.console.yes': '是',
|
|
1498
|
+
'ta.console.auditActivity': '查看了智能体活动:',
|
|
1499
|
+
'ta.console.auditAllow': '允许登录',
|
|
1500
|
+
'ta.console.auditDefaults': '修改了默认限额',
|
|
1501
|
+
'ta.console.auditDisallow': '移除了',
|
|
1502
|
+
'ta.console.auditDismiss': '忽略了登录请求:',
|
|
1503
|
+
'ta.console.auditGrant': '赠送时长给',
|
|
1504
|
+
'ta.console.auditInvite': '邀请了',
|
|
1505
|
+
'ta.console.auditLimits': '修改了额度:',
|
|
1506
|
+
'ta.console.auditLogs': '查看了日志:',
|
|
1507
|
+
'ta.console.auditRestart': '重启了',
|
|
1508
|
+
'ta.console.auditRole': '修改了角色:',
|
|
1509
|
+
'ta.console.auditStart': '启动了',
|
|
1510
|
+
'ta.console.auditStop': '停止了',
|
|
1511
|
+
'ta.console.auditSuspend': '停用/恢复了',
|
|
1512
|
+
'ta.console.filterAdmins': '管理人员',
|
|
1513
|
+
'ta.console.filterAll': '全部',
|
|
1514
|
+
'ta.console.filterLimited': '额度紧张',
|
|
1515
|
+
'ta.console.filterRunning': '运行中',
|
|
1516
|
+
'ta.console.filterWorking': '工作中',
|
|
1517
|
+
'ta.console.roleAdmin': '管理员',
|
|
1518
|
+
'ta.console.roleMember': '成员',
|
|
1519
|
+
'ta.console.roleOwner': '所有者',
|
|
1520
|
+
'ta.console.tabAccounts': '账号',
|
|
1521
|
+
'ta.console.tabOverview': '概览',
|
|
1522
|
+
'ta.console.tabPolicy': '策略',
|
|
1523
|
+
'ta.environment.quotaHint': '本月免费时长的使用情况',
|
|
1524
|
+
'ta.environment.blockedTitle': '你的 Ta 暂停了',
|
|
1525
|
+
'ta.environment.blockedSuspended': '网关管理员停用了你的账号,请联系管理员恢复。',
|
|
1526
|
+
'ta.environment.blockedMinutes': '本月免费时长已用完,{date} 恢复;也可以找管理员加时长。',
|
|
1527
|
+
'ta.console.agents': '智能体',
|
|
1528
|
+
'ta.console.agentsWorking': '工作中',
|
|
1529
|
+
'ta.console.agentWorking': '工作中',
|
|
1530
|
+
'ta.console.agentWaiting': '等对方回应',
|
|
1531
|
+
'ta.console.agentAsking': '等对方决定',
|
|
1532
|
+
'ta.console.agentIdle': '空闲',
|
|
1533
|
+
'ta.console.rowWorking': '{count} 个在工作',
|
|
1534
|
+
'ta.console.rowWaiting': '{count} 个在等',
|
|
1535
|
+
'ta.console.messages': '{count} 条消息',
|
|
1536
|
+
'ta.console.toolCalls': '{count} 次工具调用',
|
|
1537
|
+
'ta.console.context': '上下文已用',
|
|
1538
|
+
'ta.console.sessions': '会话',
|
|
1539
|
+
'ta.console.tokens': 'Tokens',
|
|
1540
|
+
'ta.console.cost': '花费',
|
|
1541
|
+
'ta.console.agentsNone': '没有打开的会话',
|
|
1542
|
+
'ta.console.agentsStopped': '沙箱没有运行,启动后才能看到智能体',
|
|
1543
|
+
'ta.console.agentsOwn': '对方自己的 Ta 服务,网关不查看',
|
|
1544
|
+
'ta.console.agentsPrivacy': '不显示对话内容,只显示对方起的名字、模型和用量',
|
|
1545
|
+
'ta.console.about': '基本信息',
|
|
1152
1546
|
'ta.access.title': '访问',
|
|
1153
1547
|
'ta.access.bind': '用你的账号登录',
|
|
1154
1548
|
'ta.access.bindHint': '允许你登录用的这个账号,以后在任何设备上都能用它登录。',
|
|
@@ -1205,6 +1599,8 @@ exports.ZH_MESSAGES = {
|
|
|
1205
1599
|
'ta.chat.restoreShort': '放回',
|
|
1206
1600
|
'ta.chat.pin': '置顶',
|
|
1207
1601
|
'ta.chat.unpin': '取消置顶',
|
|
1602
|
+
'ta.chat.markUnseen': '标为未读',
|
|
1603
|
+
'ta.chat.markSeen': '标为已读',
|
|
1208
1604
|
'ta.chat.pinned': '置顶',
|
|
1209
1605
|
'ta.chat.unseen': '有新回复未查看',
|
|
1210
1606
|
'ta.chat.asking': '等你决定',
|
package/lib/browser/index.d.ts
CHANGED
|
@@ -42,6 +42,9 @@ export * from './game/game-util';
|
|
|
42
42
|
export * from './game/game-view';
|
|
43
43
|
export * from './game/game3d-protocol';
|
|
44
44
|
export * from './game/game3d-runner';
|
|
45
|
+
export * from './gateway/console-extension';
|
|
46
|
+
export * from './gateway/console-util';
|
|
47
|
+
export * from './gateway/console-view';
|
|
45
48
|
export * from './hooks';
|
|
46
49
|
export * from './i18n/locales';
|
|
47
50
|
export * from './i18n/messages';
|
package/lib/browser/index.js
CHANGED
|
@@ -58,6 +58,9 @@ __exportStar(require("./game/game-util"), exports);
|
|
|
58
58
|
__exportStar(require("./game/game-view"), exports);
|
|
59
59
|
__exportStar(require("./game/game3d-protocol"), exports);
|
|
60
60
|
__exportStar(require("./game/game3d-runner"), exports);
|
|
61
|
+
__exportStar(require("./gateway/console-extension"), exports);
|
|
62
|
+
__exportStar(require("./gateway/console-util"), exports);
|
|
63
|
+
__exportStar(require("./gateway/console-view"), exports);
|
|
61
64
|
__exportStar(require("./hooks"), exports);
|
|
62
65
|
__exportStar(require("./i18n/locales"), exports);
|
|
63
66
|
__exportStar(require("./i18n/messages"), exports);
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/** The settings page, the menus of the account, the lists of Discover and Me, and the fade of what streams in. */
|
|
2
|
-
export declare const PAGES_STYLE = "\n/* The settings: a page of the main area, a table of contents in two levels beside the sections */\n.ta-settings-page { flex: 1; min-height: 0; display: flex; flex-direction: column; }\n.ta-settings-head { justify-content: flex-start; gap: 10px; border-bottom: 1px solid var(--ta-border-muted); }\n.ta-settings-title { flex: none; font-size: calc(14px * var(--ta-font-scale)); font-weight: 600; padding-left: 8px; }\n.ta-settings-search { flex: 1; max-width: 420px; height: 32px; margin: 0 auto; display: flex; align-items: center; gap: 6px; color: var(--ta-muted); }\n.ta-settings-search input { color: var(--ta-text); }\n.ta-settings-search .ta-icon-button { width: 22px; height: 22px; }\n.ta-settings-body { flex: 1; min-height: 0; display: flex; }\n.ta-settings-toc { flex: none; width: 200px; overflow-y: auto; padding: 14px 10px; display: flex; flex-direction: column; gap: 14px; border-right: 1px solid var(--ta-border-muted); }\n.ta-settings-toc-part { display: flex; flex-direction: column; gap: 1px; }\n.ta-settings-toc-group { border: 0; background: none; text-align: left; padding: 2px 10px 4px; font-size: calc(12px * var(--ta-font-scale)); font-weight: 600; color: var(--ta-muted); }\n.ta-settings-toc-group:hover { color: var(--ta-text); }\n.ta-settings-toc-item { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 10px; border: 0; border-radius: 7px; background: none; text-align: left; font-size: calc(13px * var(--ta-font-scale)); color: var(--ta-secondary); transition: background 120ms, color 120ms; }\n.ta-settings-toc-item .ta-icon { flex: none; color: var(--ta-muted); }\n.ta-settings-toc-item:hover { background: var(--ta-hover); color: var(--ta-text); }\n.ta-settings-toc-item.ta-active { background: var(--ta-selected); color: var(--ta-text); font-weight: 500; }\n.ta-settings-scroll { flex: 1; min-width: 0; overflow-y: auto; scroll-padding-top: 16px; }\n.ta-settings-content { max-width: 720px; margin: 0 auto; padding: 18px 24px calc(48px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 28px; }\n.ta-settings-content:has(> .ta-empty) { min-height: 100%; box-sizing: border-box; }\n.ta-settings-part { display: flex; flex-direction: column; gap: 18px; }\n.ta-settings-part-title { margin: 0; display: flex; align-items: baseline; gap: 10px; font-size: calc(18px * var(--ta-font-scale)); font-weight: 650; letter-spacing: -0.01em; }\n.ta-settings-part-hint { font-size: calc(12px * var(--ta-font-scale)); font-weight: 400; color: var(--ta-muted); }\n.ta-settings-scope { display: flex; flex-direction: column; gap: 6px; }\n.ta-settings-tabs { display: flex; gap: 2px; padding: 3px; border-radius: 10px; background: var(--ta-raised); align-self: flex-start; max-width: 100%; }\n.ta-settings-tab { height: 28px; padding: 0 12px; border: 0; border-radius: 7px; background: none; color: var(--ta-secondary); font-size: calc(12.5px * var(--ta-font-scale)); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 260px; }\n.ta-settings-tab:hover { color: var(--ta-text); }\n.ta-settings-tab.ta-active { background: var(--ta-segment); color: var(--ta-text); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 0 0 1px var(--ta-border); }\n.ta-settings-file { padding: 0 4px; font-size: calc(12px * var(--ta-font-scale)); color: var(--ta-muted); overflow-wrap: anywhere; }\n.ta-settings-note { padding: 10px 14px; border-radius: 10px; border: 1px dashed var(--ta-border); font-size: calc(12.5px * var(--ta-font-scale)); color: var(--ta-secondary); }\n.ta-setting-row { position: relative; }\n.ta-setting-row.ta-modified::before { content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 2px; border-radius: 0 2px 2px 0; background: var(--ta-blue); }\n.ta-setting-control { gap: 6px; }\n.ta-setting-reset { width: 26px; height: 26px; }\n.ta-setting-row:not(:hover):not(:focus-within) .ta-setting-reset { opacity: 0; }\n.ta-setting-row:not(.ta-stacked) > .ta-setting-text { flex: 1 1 240px; }\n.ta-setting-row:not(.ta-stacked):has(> .ta-setting-icon) > .ta-setting-text { flex-basis: 160px; }\n.ta-setting-row:not(.ta-stacked) { flex-wrap: wrap; row-gap: 8px; }\n.ta-select, .ta-setting-input, .ta-setting-control .ta-model-field { width: 200px; height: 30px; font-size: calc(12.5px * var(--ta-font-scale)); padding: 0 8px; }\n.ta-select { appearance: auto; cursor: pointer; }\n.ta-setting-input::placeholder { color: var(--ta-muted); }\n/* The settings of a phone (PhoneSettings): the sections listed as Me's rows, each a page of grouped rows. */\n.ta-head-balance { flex: none; width: 32px; }\n.ta-settings-phone > .ta-list-head { padding-left: calc(6px + env(safe-area-inset-left)); padding-right: calc(6px + env(safe-area-inset-right)); }\n.ta-settings-phone .ta-list-content { gap: 20px; padding-left: calc(12px + env(safe-area-inset-left)); padding-right: calc(12px + env(safe-area-inset-right)); }\n.ta-settings-phone .ta-settings-search { flex: none; max-width: none; height: 38px; margin: 0; padding: 0 10px; border-radius: 10px; border-color: var(--ta-border-muted); background: var(--ta-list-cell); font-size: calc(15px * var(--ta-font-scale)); }\n.ta-settings-phone-group { display: flex; flex-direction: column; gap: 6px; }\n.ta-settings-phone-caption { margin: 0 4px; font-size: calc(13px * var(--ta-font-scale)); font-weight: 500; color: var(--ta-muted); }\n.ta-settings-phone .ta-setting-card { border-radius: 12px; border-color: var(--ta-border-muted); background: var(--ta-list-cell); }\n.ta-settings-phone .ta-setting-row { min-height: 52px; padding: 12px 16px; gap: 12px; }\n.ta-settings-phone .ta-setting-row:not(.ta-stacked) > .ta-setting-text { flex: 1 1 0; }\n.ta-settings-phone .ta-setting-label { font-size: calc(15px * var(--ta-font-scale)); font-weight: 400; }\n.ta-settings-phone .ta-setting-description { margin-top: 2px; font-size: calc(13px * var(--ta-font-scale)); line-height: 1.4; }\n.ta-settings-phone .ta-setting-row.ta-stacked { gap: 10px; }\n.ta-settings-phone .ta-segmented button { height: 32px; }\n.ta-setting-choice { width: 100%; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }\n.ta-setting-choice:active { background: var(--ta-hover); }\n.ta-setting-check { flex: none; color: var(--ta-text); }\n.ta-settings-phone .ta-settings-note { border-radius: 12px; }\n.ta-keys { display: inline-flex; gap: 3px; flex: none; }\n.ta-kbd { min-width: 20px; height: 20px; padding: 0 5px; display: inline-grid; place-items: center; border-radius: 5px; border: 1px solid var(--ta-border); border-bottom-width: 2px; background: var(--ta-raised); font: 500 calc(11px * var(--ta-font-scale)) var(--ta-sans); color: var(--ta-secondary); }\n\n/* The menus of the account at the foot of the rail */\n.ta-account-menu .ta-account-item { width: 100%; }\n.ta-account-menu .ta-account-item.ta-on { background: var(--ta-hover); }\n.ta-account-menu .ta-account-item:focus-visible { outline: 1px solid var(--ta-border-focus); outline-offset: -1px; }\n.ta-menu-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-menu-chevron { color: var(--ta-muted) !important; }\n.ta-menu-check { width: 15px; flex: none; display: grid; place-items: center; color: var(--ta-text); }\n.ta-account-menu .ta-kbd { height: 18px; min-width: 18px; font-size: calc(10.5px * var(--ta-font-scale)); }\n.ta-submenu-anchor { position: relative; }\n/* The account menu sits at the foot of the window: a second menu grows up from its entry, or the last choices would fall below it. */\n.ta-submenu { left: calc(100% + 8px); top: auto; bottom: -6px; width: 180px; }\n@media (max-width: 860px), (max-height: 500px) and (pointer: coarse) {\n .ta-settings-toc { display: none; }\n .ta-settings-content { padding: 14px 14px calc(32px + env(safe-area-inset-bottom)); }\n /* No table of contents: the last section, jumped to from the menu of the account, still scrolls to the top. */\n .ta-settings-scroll { container-type: size; }\n .ta-settings-part:last-child > .ta-setting-section:last-child { min-height: calc(100cqh - 48px - env(safe-area-inset-bottom)); }\n .ta-settings-title { padding-left: 0; }\n .ta-settings-search { margin: 0; }\n .ta-setting-row:has(.ta-select, .ta-setting-input, .ta-model-field) .ta-setting-control { width: 100%; }\n .ta-setting-row .ta-select, .ta-setting-row .ta-setting-input, .ta-setting-row .ta-model-field { flex: 1; width: auto; min-width: 0; }\n .ta-setting-reset { opacity: 1 !important; }\n .ta-submenu { left: 12px; right: auto; top: auto; bottom: calc(100% + 4px); width: 200px; }\n}\n/* Discover and Me: rows in rounded groups, as the settings of a phone (list-rows.tsx) */\n.ta-list-page { flex: 1; min-height: 0; display: flex; flex-direction: column; --ta-list-bg: var(--ta-main); --ta-list-cell: var(--ta-side); background: var(--ta-list-bg); }\n:root[data-theme='light'] .ta-list-page { --ta-list-bg: var(--ta-side); --ta-list-cell: var(--ta-card); }\n.ta-list-head { border-bottom: 1px solid var(--ta-border-muted); }\n.ta-list-scroll { flex: 1; min-height: 0; overflow-y: auto; }\n.ta-list-content { max-width: 640px; margin: 0 auto; padding: 20px 20px calc(32px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 16px; }\n.ta-list-group { display: flex; flex-direction: column; border-radius: 12px; border: 1px solid var(--ta-border-muted); background: var(--ta-list-cell); overflow: hidden; }\n.ta-list-row { position: relative; display: flex; align-items: center; min-height: 48px; }\n.ta-list-row + .ta-list-row::before { content: ''; position: absolute; top: 0; right: 0; left: 46px; height: 1px; background: var(--ta-border-muted); }\n.ta-list-main { flex: 1; min-width: 0; align-self: stretch; display: flex; align-items: center; gap: 12px; padding: 0 14px; border: 0; background: none; text-align: left; font-size: calc(14.5px * var(--ta-font-scale)); color: var(--ta-text); transition: background 120ms; }\n.ta-list-main:hover { background: var(--ta-hover); }\n.ta-list-main:focus-visible { outline: 1px solid var(--ta-border-focus); outline-offset: -1px; }\n.ta-list-icon { flex: none; color: var(--ta-secondary); }\n.ta-list-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-list-detail { flex: none; max-width: 45%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: calc(13.5px * var(--ta-font-scale)); color: var(--ta-muted); }\n.ta-list-chevron { flex: none; color: var(--ta-muted); }\n/* In place of the chevron while the page opens: as wide. */\n.ta-list-busy { margin: 0 1.5px; }\n.ta-list-trailing { flex: none; margin-right: 8px; color: var(--ta-muted); }\n/* WebView.mark of a page under Discover: before its pin, as WeChat shows who posted last by Moments. */\n.ta-list-mark { flex: none; display: inline-flex; align-items: center; margin-right: 2px; pointer-events: none; }\n.ta-list-row.ta-action .ta-list-main { justify-content: center; }\n.ta-list-row.ta-action .ta-list-label { flex: none; }\n.ta-list-row.ta-danger .ta-list-main { color: var(--ta-red); }\n.ta-list-row.ta-danger + .ta-list-row::before, .ta-list-row + .ta-list-row.ta-danger::before { left: 0; }\n.ta-list-hint { margin: -6px 4px 0; font-size: calc(12.5px * var(--ta-font-scale)); color: var(--ta-muted); }\n.ta-me-card { display: flex; align-items: center; gap: 14px; width: 100%; padding: 18px 16px; border-radius: 12px; border: 1px solid var(--ta-border-muted); background: var(--ta-list-cell); font: inherit; text-align: left; color: inherit; transition: background 120ms; }\n.ta-me-card:hover, .ta-me-card:active { background: var(--ta-hover); }\n.ta-me-card:focus-visible { outline: 1px solid var(--ta-border-focus); outline-offset: -1px; }\n.ta-account-figure.ta-me-figure { border-radius: 16px; }\n.ta-me-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; line-height: 1.35; }\n.ta-me-name { font-size: calc(18px * var(--ta-font-scale)); font-weight: 650; color: var(--ta-text); }\n.ta-me-host { font-size: calc(13px * var(--ta-font-scale)); color: var(--ta-secondary); }\n.ta-me-state { display: flex; align-items: center; gap: 6px; font-size: calc(12.5px * var(--ta-font-scale)); color: var(--ta-muted); font-variant-numeric: tabular-nums; }\n/* The computers of this device (host-view.tsx): rows as the conversations, a sheet from the bottom on a phone */\n.ta-hosts-dialog { width: min(420px, 100%); gap: 12px; }\n.ta-hosts-dialog .ta-modal-title { font-size: calc(16px * var(--ta-font-scale)); }\n.ta-host-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }\n.ta-host-row { border-radius: 12px; --ta-swipe-bg: var(--ta-card); }\n.ta-host-item { width: 100%; display: flex; align-items: center; gap: 12px; padding: 9px 10px; border: 0; border-radius: 12px; background: var(--ta-card); font: inherit; text-align: left; color: var(--ta-text); transition: background 120ms; }\n.ta-host-item:hover, .ta-host-item:active { background: var(--ta-hover); }\n.ta-host-row.ta-selected .ta-host-item { background: var(--ta-selected); }\n.ta-host-item:focus-visible { outline: 1px solid var(--ta-border-focus); outline-offset: -1px; }\n.ta-host-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; line-height: 1.35; }\n.ta-host-name { font-size: calc(14.5px * var(--ta-font-scale)); font-weight: 600; }\n.ta-host-detail { font-size: calc(12.5px * var(--ta-font-scale)); color: var(--ta-muted); }\n.ta-host-check { flex: none; color: var(--ta-green); }\n.ta-host-actions { display: flex; gap: 8px; }\n.ta-host-actions .ta-button { flex: 1; height: 40px; justify-content: center; gap: 6px; }\n.ta-host-form { display: flex; gap: 8px; width: 100%; animation: ta-in 200ms var(--ta-ease) both; }\n.ta-host-form .ta-field { flex: 1; height: 40px; }\n.ta-host-form .ta-button { height: 40px; min-width: 72px; justify-content: center; }\n.ta-scan-button { height: 46px; gap: 8px; font-size: calc(15px * var(--ta-font-scale)); justify-content: center; }\n.ta-link-button { padding: 4px 8px; border: 0; background: none; font: inherit; font-size: calc(13.5px * var(--ta-font-scale)); color: var(--ta-secondary); }\n.ta-link-button:hover { color: var(--ta-text); }\n.ta-host-saved { width: 100%; margin-top: 12px; display: flex; flex-direction: column; gap: 6px; text-align: left; animation: ta-in 260ms var(--ta-ease) both; }\n.ta-host-saved h2 { margin: 0 4px; font-size: calc(12.5px * var(--ta-font-scale)); font-weight: 500; color: var(--ta-muted); }\n.ta-signin .ta-host-item { background: var(--ta-main); }\n.ta-signin .ta-host-item:hover, .ta-signin .ta-host-item:active { background: var(--ta-hover); }\n.ta-sign-in-accounts { display: flex; flex-direction: column; gap: 8px; width: 100%; animation: ta-in 200ms var(--ta-ease) both; }\n.ta-sign-in-account { height: 42px; gap: 8px; text-decoration: none; font-size: calc(14.5px * var(--ta-font-scale)); }\n.ta-sign-in-account:hover { background: var(--ta-hover); }\n.ta-sign-in-account[aria-busy='true'] { pointer-events: none; opacity: 0.7; }\n.ta-sign-in-mark { flex: none; }\n.ta-sign-in-or { display: flex; align-items: center; gap: 10px; margin: 4px 0; color: var(--ta-muted); font-size: calc(12.5px * var(--ta-font-scale)); }\n.ta-sign-in-or::before, .ta-sign-in-or::after { content: ''; flex: 1; height: 1px; background: var(--ta-border); }\n.ta-access-account { display: inline-flex; align-items: center; gap: 8px; min-width: 0; max-width: 100%; }\n.ta-access-avatar { width: 22px; height: 22px; flex: none; border-radius: 50%; object-fit: cover; }\n.ta-access-avatar.ta-chat-avatar { font-size: calc(11px * var(--ta-font-scale)); }\n.ta-access-bind { display: flex; flex-wrap: wrap; gap: 8px; }\n.ta-sign-in-name { display: inline-flex; align-items: center; gap: 6px; }\n.ta-sign-in-callbacks { display: flex; flex-direction: column; gap: 6px; width: 100%; min-width: 0; }\n.ta-sign-in-callback { display: flex; align-items: center; gap: 6px; min-width: 0; padding: 4px 4px 4px 10px; border-radius: 8px; background: var(--ta-hover); }\n.ta-sign-in-callback code { flex: 1; min-width: 0; font-size: calc(12.5px * var(--ta-font-scale)); }\n.ta-sign-in-form { display: flex; flex-direction: column; gap: 10px; width: 100%; }\n.ta-sign-in-field { display: flex; flex-direction: column; gap: 4px; font-size: calc(12.5px * var(--ta-font-scale)); color: var(--ta-muted); }\n.ta-sign-in-field .ta-input { height: 32px; }\n.ta-sign-in-actions { display: flex; justify-content: flex-end; gap: 8px; }\n.ta-environment-chooser { display: flex; flex-direction: column; gap: 10px; width: 100%; text-align: left; }\n.ta-environment-own { display: flex; flex-direction: column; gap: 8px; animation: ta-in 200ms var(--ta-ease) both; }\n.ta-environment-own .ta-button { align-self: flex-end; }\n.ta-environment-hint { margin: 0; color: var(--ta-muted); font-size: calc(12.5px * var(--ta-font-scale)); line-height: 1.5; }\n.ta-environment-card { gap: 14px; }\n/* While the page loads again for another computer: which one, at once, over all. */\n.ta-switching { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: var(--ta-main); color: var(--ta-secondary); font-size: calc(14px * var(--ta-font-scale)); animation: ta-fade 140ms ease-out both; }\n/* Me has no head: the card under the status bar. */\n.ta-me .ta-list-content { padding-top: calc(20px + env(safe-area-inset-top)); }\n@media (max-width: 860px), (max-height: 500px) and (pointer: coarse) {\n .ta-list-content { padding: 14px 12px calc(24px + env(safe-area-inset-bottom)); }\n .ta-me .ta-list-content { padding-top: calc(14px + env(safe-area-inset-top)); }\n}\n\n/* Streaming: what comes in fades in where it will stay; nothing already shown moves or draws again. */\n.ta-thread-new { animation: ta-in 220ms var(--ta-ease); }\n/* Words ta said on the way move from the reply into the steps when a tool follows them: they were on the screen, so they do not fade in again. */\n.ta-turn-live > .ta-markdown > *, .ta-process-active .ta-process-steps > :not(.ta-more, .ta-step-text), .ta-turn-live .ta-turn-head > .ta-process-head, .ta-turn-live .ta-turn-head > .ta-run-status { animation: ta-fade 240ms ease-out; }\n.ta-run-line { animation: ta-fade 200ms ease-out; }\n.ta-scroll { overflow-anchor: none; }\n/* The scroll bar held while a reply comes in: the thread keeps its height (ConversationScroller), what grows past it waits. */\n.ta-scroll-held { overflow-y: clip; }\n.ta-scroll-held > * { flex-shrink: 0; }\n/* The look of the double: it walks above, the kinds of dinosaur below, then the ways it walks */\n.ta-look { display: flex; flex-direction: column; gap: 10px; min-height: 0; overflow-y: auto; }\n.ta-look-stage { height: 120px; flex: none; display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 8px; }\n.ta-look-figure, .ta-look-walk { border-radius: 12px; background: var(--ta-raised); display: grid; place-items: center; }\n/* Wide enough for the walk to and fro (half the width of the dinosaur to either side of the middle, and itself). */\n.ta-look-walk { min-width: 220px; overflow: hidden; }\n.ta-look-label { font-size: calc(12px * var(--ta-font-scale)); font-weight: 600; color: var(--ta-secondary); }\n.ta-look-kinds { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 6px; }\n.ta-look-kind { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 4px 7px; border: 1px solid var(--ta-border-muted); border-radius: 12px; background: transparent; color: var(--ta-text); font-size: calc(12px * var(--ta-font-scale)); transition: background 120ms, border-color 120ms; }\n.ta-look-kind:hover { background: var(--ta-hover); }\n.ta-look-kind.ta-on { border-color: var(--ta-green); background: color-mix(in srgb, var(--ta-green) 8%, transparent); }\n.ta-look-name { max-width: 100%; }\n/* The voice replies are read with: its list, and a button to listen to it. */\n.ta-voice-picker { display: flex; align-items: center; gap: 8px; width: 100%; }\n.ta-voice-picker .ta-select { flex: 1; min-width: 0; }\n.ta-voice-picker .ta-button { flex: none; }\n.ta-look-premium { position: absolute; top: 4px; left: 4px; display: inline-flex; align-items: center; gap: 2px; padding: 1px 5px; border-radius: 8px; background: linear-gradient(135deg, #FCD866, #D98E14); color: #4a2c00; font-size: calc(10px * var(--ta-font-scale)); font-weight: 600; line-height: calc(14px * var(--ta-font-scale)); }\n/* Scan, as WeChat's: the camera over everything, a green glow sweeping down, round buttons on it; a photo for Ta asks on a sheet. */\n.ta-scan { position: fixed; inset: 0; z-index: 55; overflow: hidden; background: #000; color: #fff; animation: ta-fade 160ms ease-out; -webkit-user-select: none; user-select: none; }\n.ta-scan-video, .ta-scan-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }\n.ta-scan-mirrored { transform: scaleX(-1); }\n.ta-scan-line { position: absolute; left: 0; right: 0; top: 16%; height: 22%; pointer-events: none; background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--ta-green) 40%, transparent) 88%, color-mix(in srgb, var(--ta-green) 90%, transparent) 100%); -webkit-mask-image: radial-gradient(ellipse 60% 100% at 50% 100%, #000 30%, transparent 100%); mask-image: radial-gradient(ellipse 60% 100% at 50% 100%, #000 30%, transparent 100%); animation: ta-scan-sweep 2.6s cubic-bezier(0.45, 0, 0.55, 1) infinite; }\n@keyframes ta-scan-sweep { 0% { transform: translateY(0); opacity: 0; } 12% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateY(220%); opacity: 0; } }\n.ta-scan-dot { position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; border: 3px solid #fff; background: var(--ta-green); box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35); animation: ta-scan-pop 260ms var(--ta-ease) both; }\n@keyframes ta-scan-pop { from { transform: scale(0.3); opacity: 0; } }\n.ta-scan-problem { position: absolute; top: 42%; left: 32px; right: 32px; margin: 0; text-align: center; color: rgba(255, 255, 255, 0.85); font-size: calc(15px * var(--ta-font-scale)); line-height: calc(22px * var(--ta-font-scale)); }\n.ta-scan-top { position: absolute; top: calc(env(safe-area-inset-top) + 14px); left: 18px; right: 18px; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }\n.ta-scan-round { pointer-events: auto; width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: rgba(0, 0, 0, 0.32); color: #fff; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }\n.ta-scan-bottom { position: absolute; left: 18px; right: 18px; bottom: calc(env(safe-area-inset-bottom) + 28px); display: flex; align-items: center; gap: 12px; }\n.ta-scan-side, .ta-scan-ask { border: 0; color: #fff; background: rgba(48, 48, 48, 0.58); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); transition: transform 120ms, background 120ms; }\n.ta-scan-side { flex: none; width: 62px; height: 62px; display: grid; place-items: center; padding: 0; border-radius: 50%; }\n.ta-scan-ask { flex: 1; min-width: 0; height: 62px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 0 14px; border-radius: 31px; }\n.ta-scan-side:active, .ta-scan-ask:active { transform: scale(0.96); background: rgba(70, 70, 70, 0.66); }\n.ta-scan-side:disabled, .ta-scan-ask:disabled { opacity: 0.45; }\n.ta-scan-ask-title { display: flex; align-items: center; gap: 6px; font-size: calc(17px * var(--ta-font-scale)); font-weight: 600; line-height: calc(24px * var(--ta-font-scale)); }\n.ta-scan-ask-hint { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: rgba(255, 255, 255, 0.62); font-size: calc(12px * var(--ta-font-scale)); line-height: calc(16px * var(--ta-font-scale)); }\n.ta-scan-sheet { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 12px; padding: 18px 16px calc(16px + env(safe-area-inset-bottom)); border-radius: 18px 18px 0 0; background: var(--ta-card); color: var(--ta-text); box-shadow: var(--ta-shadow-pop); animation: ta-in 220ms var(--ta-ease); }\n:root[data-keyboard] .ta-scan-sheet { bottom: var(--ta-keyboard, 0px); padding-bottom: 12px; }\n.ta-scan-sheet-title { font-size: calc(15px * var(--ta-font-scale)); font-weight: 600; }\n.ta-scan-chips { display: flex; flex-wrap: wrap; gap: 8px; }\n.ta-scan-chip { padding: 8px 14px; border: 1px solid var(--ta-border); border-radius: 999px; background: var(--ta-main); color: var(--ta-text); font-size: calc(14px * var(--ta-font-scale)); }\n.ta-scan-chip:active { background: var(--ta-hover); }\n.ta-scan-field { display: flex; align-items: center; gap: 8px; padding: 4px 4px 4px 14px; border: 1px solid var(--ta-border); border-radius: 22px; background: var(--ta-main); }\n.ta-scan-field input { flex: 1; min-width: 0; height: 36px; border: 0; outline: none; background: transparent; color: var(--ta-text); font-size: max(16px, calc(15px * var(--ta-font-scale))); }\n.ta-scan-send { flex: none; width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: var(--ta-text); color: var(--ta-main); }\n.ta-scan-send:disabled { opacity: 0.5; }\n/* A model service added by its address and key (custom-provider-view) */\n.ta-custom-flow { flex: 1 1 auto; min-height: 0; }\n.ta-custom-form { display: flex; flex-direction: column; gap: 12px; min-height: 0; margin: 0 -4px; padding: 0 4px; overflow-y: auto; }\n.ta-custom-form .ta-select { width: 100%; height: 32px; }\n.ta-custom-models { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 36px; box-sizing: border-box; padding: 4px 6px; border: 1px solid var(--ta-border-field); border-radius: 8px; background: var(--ta-input); transition: border-color 120ms; }\n.ta-custom-models:focus-within { border-color: var(--ta-border-focus); }\n.ta-custom-chip { display: inline-flex; align-items: center; gap: 2px; max-width: 100%; height: 24px; padding: 0 2px 0 8px; border-radius: 6px; background: var(--ta-raised); color: var(--ta-text); font-family: var(--ta-mono); font-size: calc(12px * var(--ta-font-scale)); animation: ta-in 160ms var(--ta-ease) both; }\n.ta-custom-chip-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-custom-chip button { display: grid; place-items: center; width: 20px; height: 20px; padding: 0; border: 0; border-radius: 4px; background: transparent; color: var(--ta-muted); cursor: pointer; }\n.ta-custom-chip button:hover { background: var(--ta-hover); color: var(--ta-text); }\n.ta-custom-model-input { flex: 1; min-width: 140px; height: 26px; border: 0; outline: none; background: transparent; color: var(--ta-text); font: inherit; font-size: calc(13px * var(--ta-font-scale)); }\n.ta-custom-fetch { align-self: flex-start; margin-top: 2px; }\n.ta-custom-fetched { display: flex; flex-direction: column; gap: 6px; margin-top: 2px; }\n.ta-custom-fetched .ta-auth-note { white-space: normal; }\n.ta-custom-fetched .ta-input { height: 32px; }\n.ta-custom-fetched-list { display: flex; flex-direction: column; max-height: 220px; overflow-y: auto; padding: 2px; border: 1px solid var(--ta-border-muted); border-radius: 8px; }\n.ta-custom-fetched-list .ta-auth-item { height: 32px; flex: none; font-family: var(--ta-mono); font-size: calc(12.5px * var(--ta-font-scale)); }\n.ta-custom-fetched-list .ta-auth-item > .ta-custom-picked { margin-left: auto; color: var(--ta-accent); }\n.ta-custom-actions { position: sticky; bottom: 0; z-index: 1; display: flex; justify-content: flex-end; gap: 8px; padding-top: 8px; background: var(--ta-card); }\n.ta-custom-actions .ta-danger { margin-right: auto; }\n.ta-custom-add > .ta-icon:first-child { color: var(--ta-accent); }\n.ta-custom-add { width: 100%; }\n.ta-custom-advanced { border: 1px solid var(--ta-border-muted); border-radius: 10px; }\n.ta-custom-advanced-toggle { display: flex; align-items: center; gap: 8px; width: 100%; height: 38px; padding: 0 10px; border: 0; border-radius: 10px; background: transparent; color: var(--ta-text); font: inherit; font-size: calc(13px * var(--ta-font-scale)); font-weight: 500; text-align: left; cursor: pointer; }\n.ta-custom-advanced-toggle:hover { background: var(--ta-hover); }\n.ta-custom-advanced-toggle .ta-auth-note { font-weight: 400; }\n.ta-custom-advanced-toggle > .ta-icon { margin-left: auto; color: var(--ta-muted); transition: transform 160ms var(--ta-ease); }\n.ta-custom-advanced.ta-open .ta-custom-advanced-toggle > .ta-icon { transform: rotate(180deg); }\n.ta-custom-advanced-body { display: flex; flex-direction: column; gap: 10px; padding: 2px 10px 12px; animation: ta-in 200ms var(--ta-ease) both; }\n.ta-custom-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }\n.ta-custom-check { display: flex; align-items: center; gap: 8px; min-height: 28px; color: var(--ta-body); font-size: calc(13px * var(--ta-font-scale)); cursor: pointer; }\n.ta-custom-check input { width: 16px; height: 16px; margin: 0; accent-color: var(--ta-accent); }\n.ta-custom-header { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr) 28px; gap: 6px; align-items: center; }\n.ta-custom-header .ta-input { height: 32px; font-family: var(--ta-mono); font-size: calc(12.5px * var(--ta-font-scale)); }\n.ta-custom-header-remove { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--ta-muted); cursor: pointer; }\n.ta-custom-header-remove:hover { background: var(--ta-hover); color: var(--ta-text); }\n@media (max-width: 860px), (max-height: 500px) and (pointer: coarse) {\n .ta-custom-form .ta-input, .ta-custom-model-input { font-size: max(16px, calc(14px * var(--ta-font-scale))); }\n .ta-custom-actions .ta-button { flex: 1; }\n}\n";
|
|
2
|
+
export declare const PAGES_STYLE = "\n/* The settings: a page of the main area, a table of contents in two levels beside the sections */\n.ta-settings-page { flex: 1; min-height: 0; display: flex; flex-direction: column; }\n.ta-settings-head { justify-content: flex-start; gap: 10px; border-bottom: 1px solid var(--ta-border-muted); }\n.ta-settings-title { flex: none; font-size: calc(14px * var(--ta-font-scale)); font-weight: 600; padding-left: 8px; }\n.ta-settings-search { flex: 1; max-width: 420px; height: 32px; margin: 0 auto; display: flex; align-items: center; gap: 6px; color: var(--ta-muted); }\n.ta-settings-search input { color: var(--ta-text); }\n.ta-settings-search .ta-icon-button { width: 22px; height: 22px; }\n.ta-settings-body { flex: 1; min-height: 0; display: flex; }\n.ta-settings-toc { flex: none; width: 200px; overflow-y: auto; padding: 14px 10px; display: flex; flex-direction: column; gap: 14px; border-right: 1px solid var(--ta-border-muted); }\n.ta-settings-toc-part { display: flex; flex-direction: column; gap: 1px; }\n.ta-settings-toc-group { border: 0; background: none; text-align: left; padding: 2px 10px 4px; font-size: calc(12px * var(--ta-font-scale)); font-weight: 600; color: var(--ta-muted); }\n.ta-settings-toc-group:hover { color: var(--ta-text); }\n.ta-settings-toc-item { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 10px; border: 0; border-radius: 7px; background: none; text-align: left; font-size: calc(13px * var(--ta-font-scale)); color: var(--ta-secondary); transition: background 120ms, color 120ms; }\n.ta-settings-toc-item .ta-icon { flex: none; color: var(--ta-muted); }\n.ta-settings-toc-item:hover { background: var(--ta-hover); color: var(--ta-text); }\n.ta-settings-toc-item.ta-active { background: var(--ta-selected); color: var(--ta-text); font-weight: 500; }\n.ta-settings-scroll { flex: 1; min-width: 0; overflow-y: auto; scroll-padding-top: 16px; }\n.ta-settings-content { max-width: 720px; margin: 0 auto; padding: 18px 24px calc(48px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 28px; }\n.ta-settings-content:has(> .ta-empty) { min-height: 100%; box-sizing: border-box; }\n.ta-settings-part { display: flex; flex-direction: column; gap: 18px; }\n.ta-settings-part-title { margin: 0; display: flex; align-items: baseline; gap: 10px; font-size: calc(18px * var(--ta-font-scale)); font-weight: 650; letter-spacing: -0.01em; }\n.ta-settings-part-hint { font-size: calc(12px * var(--ta-font-scale)); font-weight: 400; color: var(--ta-muted); }\n.ta-settings-scope { display: flex; flex-direction: column; gap: 6px; }\n.ta-settings-tabs { display: flex; gap: 2px; padding: 3px; border-radius: 10px; background: var(--ta-raised); align-self: flex-start; max-width: 100%; }\n.ta-settings-tab { height: 28px; padding: 0 12px; border: 0; border-radius: 7px; background: none; color: var(--ta-secondary); font-size: calc(12.5px * var(--ta-font-scale)); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 260px; }\n.ta-settings-tab:hover { color: var(--ta-text); }\n.ta-settings-tab.ta-active { background: var(--ta-segment); color: var(--ta-text); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 0 0 1px var(--ta-border); }\n.ta-settings-file { padding: 0 4px; font-size: calc(12px * var(--ta-font-scale)); color: var(--ta-muted); overflow-wrap: anywhere; }\n.ta-settings-note { padding: 10px 14px; border-radius: 10px; border: 1px dashed var(--ta-border); font-size: calc(12.5px * var(--ta-font-scale)); color: var(--ta-secondary); }\n.ta-setting-row { position: relative; }\n.ta-setting-row.ta-modified::before { content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 2px; border-radius: 0 2px 2px 0; background: var(--ta-blue); }\n.ta-setting-control { gap: 6px; }\n.ta-setting-reset { width: 26px; height: 26px; }\n.ta-setting-row:not(:hover):not(:focus-within) .ta-setting-reset { opacity: 0; }\n.ta-setting-row:not(.ta-stacked) > .ta-setting-text { flex: 1 1 240px; }\n.ta-setting-row:not(.ta-stacked):has(> .ta-setting-icon) > .ta-setting-text { flex-basis: 160px; }\n.ta-setting-row:not(.ta-stacked) { flex-wrap: wrap; row-gap: 8px; }\n.ta-select, .ta-setting-input, .ta-setting-control .ta-model-field { width: 200px; height: 30px; font-size: calc(12.5px * var(--ta-font-scale)); padding: 0 8px; }\n.ta-select { appearance: auto; cursor: pointer; }\n.ta-setting-input::placeholder { color: var(--ta-muted); }\n/* The settings of a phone (PhoneSettings): the sections listed as Me's rows, each a page of grouped rows. */\n.ta-head-balance { flex: none; width: 32px; }\n.ta-settings-phone > .ta-list-head { padding-left: calc(6px + env(safe-area-inset-left)); padding-right: calc(6px + env(safe-area-inset-right)); }\n.ta-settings-phone .ta-list-content { gap: 20px; padding-left: calc(12px + env(safe-area-inset-left)); padding-right: calc(12px + env(safe-area-inset-right)); }\n.ta-settings-phone .ta-settings-search { flex: none; max-width: none; height: 38px; margin: 0; padding: 0 10px; border-radius: 10px; border-color: var(--ta-border-muted); background: var(--ta-list-cell); font-size: calc(15px * var(--ta-font-scale)); }\n.ta-settings-phone-group { display: flex; flex-direction: column; gap: 6px; }\n.ta-settings-phone-caption { margin: 0 4px; font-size: calc(13px * var(--ta-font-scale)); font-weight: 500; color: var(--ta-muted); }\n.ta-settings-phone .ta-setting-card { border-radius: 12px; border-color: var(--ta-border-muted); background: var(--ta-list-cell); }\n.ta-settings-phone .ta-setting-row { min-height: 52px; padding: 12px 16px; gap: 12px; }\n.ta-settings-phone .ta-setting-row:not(.ta-stacked) > .ta-setting-text { flex: 1 1 0; }\n.ta-settings-phone .ta-setting-label { font-size: calc(15px * var(--ta-font-scale)); font-weight: 400; }\n.ta-settings-phone .ta-setting-description { margin-top: 2px; font-size: calc(13px * var(--ta-font-scale)); line-height: 1.4; }\n.ta-settings-phone .ta-setting-row.ta-stacked { gap: 10px; }\n.ta-settings-phone .ta-segmented button { height: 32px; }\n.ta-setting-choice { width: 100%; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }\n.ta-setting-choice:active { background: var(--ta-hover); }\n.ta-setting-check { flex: none; color: var(--ta-text); }\n.ta-settings-phone .ta-settings-note { border-radius: 12px; }\n.ta-keys { display: inline-flex; gap: 3px; flex: none; }\n.ta-kbd { min-width: 20px; height: 20px; padding: 0 5px; display: inline-grid; place-items: center; border-radius: 5px; border: 1px solid var(--ta-border); border-bottom-width: 2px; background: var(--ta-raised); font: 500 calc(11px * var(--ta-font-scale)) var(--ta-sans); color: var(--ta-secondary); }\n\n/* The menus of the account at the foot of the rail */\n.ta-account-menu .ta-account-item { width: 100%; }\n.ta-account-menu .ta-account-item.ta-on { background: var(--ta-hover); }\n.ta-account-menu .ta-account-item:focus-visible { outline: 1px solid var(--ta-border-focus); outline-offset: -1px; }\n.ta-menu-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-menu-chevron { color: var(--ta-muted) !important; }\n.ta-menu-check { width: 15px; flex: none; display: grid; place-items: center; color: var(--ta-text); }\n.ta-account-menu .ta-kbd { height: 18px; min-width: 18px; font-size: calc(10.5px * var(--ta-font-scale)); }\n.ta-submenu-anchor { position: relative; }\n/* The account menu sits at the foot of the window: a second menu grows up from its entry, or the last choices would fall below it. */\n.ta-submenu { left: calc(100% + 8px); top: auto; bottom: -6px; width: 180px; }\n@media (max-width: 860px), (max-height: 500px) and (pointer: coarse) {\n .ta-settings-toc { display: none; }\n .ta-settings-content { padding: 14px 14px calc(32px + env(safe-area-inset-bottom)); }\n /* No table of contents: the last section, jumped to from the menu of the account, still scrolls to the top. */\n .ta-settings-scroll { container-type: size; }\n .ta-settings-part:last-child > .ta-setting-section:last-child { min-height: calc(100cqh - 48px - env(safe-area-inset-bottom)); }\n .ta-settings-title { padding-left: 0; }\n .ta-settings-search { margin: 0; }\n .ta-setting-row:has(.ta-select, .ta-setting-input, .ta-model-field) .ta-setting-control { width: 100%; }\n .ta-setting-row .ta-select, .ta-setting-row .ta-setting-input, .ta-setting-row .ta-model-field { flex: 1; width: auto; min-width: 0; }\n .ta-setting-reset { opacity: 1 !important; }\n .ta-submenu { left: 12px; right: auto; top: auto; bottom: calc(100% + 4px); width: 200px; }\n}\n/* Discover and Me: rows in rounded groups, as the settings of a phone (list-rows.tsx) */\n.ta-list-page { flex: 1; min-height: 0; display: flex; flex-direction: column; --ta-list-bg: var(--ta-main); --ta-list-cell: var(--ta-side); background: var(--ta-list-bg); }\n:root[data-theme='light'] .ta-list-page { --ta-list-bg: var(--ta-side); --ta-list-cell: var(--ta-card); }\n.ta-list-head { border-bottom: 1px solid var(--ta-border-muted); }\n.ta-list-scroll { flex: 1; min-height: 0; overflow-y: auto; }\n.ta-list-content { max-width: 640px; margin: 0 auto; padding: 20px 20px calc(32px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 16px; }\n.ta-list-group { display: flex; flex-direction: column; border-radius: 12px; border: 1px solid var(--ta-border-muted); background: var(--ta-list-cell); overflow: hidden; }\n.ta-list-row { position: relative; display: flex; align-items: center; min-height: 48px; }\n.ta-list-row + .ta-list-row::before { content: ''; position: absolute; top: 0; right: 0; left: 46px; height: 1px; background: var(--ta-border-muted); }\n.ta-list-main { flex: 1; min-width: 0; align-self: stretch; display: flex; align-items: center; gap: 12px; padding: 0 14px; border: 0; background: none; text-align: left; font-size: calc(14.5px * var(--ta-font-scale)); color: var(--ta-text); transition: background 120ms; }\n.ta-list-main:hover { background: var(--ta-hover); }\n.ta-list-main:focus-visible { outline: 1px solid var(--ta-border-focus); outline-offset: -1px; }\n.ta-list-icon { flex: none; color: var(--ta-secondary); }\n.ta-list-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-list-detail { flex: none; max-width: 45%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: calc(13.5px * var(--ta-font-scale)); color: var(--ta-muted); }\n.ta-list-chevron { flex: none; color: var(--ta-muted); }\n/* In place of the chevron while the page opens: as wide. */\n.ta-list-busy { margin: 0 1.5px; }\n.ta-list-trailing { flex: none; margin-right: 8px; color: var(--ta-muted); }\n/* WebView.mark of a page under Discover: before its pin, as WeChat shows who posted last by Moments. */\n.ta-list-mark { flex: none; display: inline-flex; align-items: center; margin-right: 2px; pointer-events: none; }\n.ta-list-row.ta-action .ta-list-main { justify-content: center; }\n.ta-list-row.ta-action .ta-list-label { flex: none; }\n.ta-list-row.ta-danger .ta-list-main { color: var(--ta-red); }\n.ta-list-row.ta-danger + .ta-list-row::before, .ta-list-row + .ta-list-row.ta-danger::before { left: 0; }\n.ta-list-hint { margin: -6px 4px 0; font-size: calc(12.5px * var(--ta-font-scale)); color: var(--ta-muted); }\n.ta-me-card { display: flex; align-items: center; gap: 14px; width: 100%; padding: 18px 16px; border-radius: 12px; border: 1px solid var(--ta-border-muted); background: var(--ta-list-cell); font: inherit; text-align: left; color: inherit; transition: background 120ms; }\n.ta-me-card:hover, .ta-me-card:active { background: var(--ta-hover); }\n.ta-me-card:focus-visible { outline: 1px solid var(--ta-border-focus); outline-offset: -1px; }\n.ta-account-figure.ta-me-figure { border-radius: 16px; }\n.ta-me-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; line-height: 1.35; }\n.ta-me-name { font-size: calc(18px * var(--ta-font-scale)); font-weight: 650; color: var(--ta-text); }\n.ta-me-host { font-size: calc(13px * var(--ta-font-scale)); color: var(--ta-secondary); }\n.ta-me-state { display: flex; align-items: center; gap: 6px; font-size: calc(12.5px * var(--ta-font-scale)); color: var(--ta-muted); font-variant-numeric: tabular-nums; }\n/* The computers of this device (host-view.tsx): rows as the conversations, a sheet from the bottom on a phone */\n.ta-hosts-dialog { width: min(420px, 100%); gap: 12px; }\n.ta-hosts-dialog .ta-modal-title { font-size: calc(16px * var(--ta-font-scale)); }\n.ta-host-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }\n.ta-host-row { border-radius: 12px; --ta-swipe-bg: var(--ta-card); }\n.ta-host-item { width: 100%; display: flex; align-items: center; gap: 12px; padding: 9px 10px; border: 0; border-radius: 12px; background: var(--ta-card); font: inherit; text-align: left; color: var(--ta-text); transition: background 120ms; }\n.ta-host-item:hover, .ta-host-item:active { background: var(--ta-hover); }\n.ta-host-row.ta-selected .ta-host-item { background: var(--ta-selected); }\n.ta-host-item:focus-visible { outline: 1px solid var(--ta-border-focus); outline-offset: -1px; }\n.ta-host-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; line-height: 1.35; }\n.ta-host-name { font-size: calc(14.5px * var(--ta-font-scale)); font-weight: 600; }\n.ta-host-detail { font-size: calc(12.5px * var(--ta-font-scale)); color: var(--ta-muted); }\n.ta-host-check { flex: none; color: var(--ta-green); }\n.ta-host-actions { display: flex; gap: 8px; }\n.ta-host-actions .ta-button { flex: 1; height: 40px; justify-content: center; gap: 6px; }\n.ta-host-form { display: flex; gap: 8px; width: 100%; animation: ta-in 200ms var(--ta-ease) both; }\n.ta-host-form .ta-field { flex: 1; height: 40px; }\n.ta-host-form .ta-button { height: 40px; min-width: 72px; justify-content: center; }\n.ta-scan-button { height: 46px; gap: 8px; font-size: calc(15px * var(--ta-font-scale)); justify-content: center; }\n.ta-link-button { padding: 4px 8px; border: 0; background: none; font: inherit; font-size: calc(13.5px * var(--ta-font-scale)); color: var(--ta-secondary); }\n.ta-link-button:hover { color: var(--ta-text); }\n.ta-host-saved { width: 100%; margin-top: 12px; display: flex; flex-direction: column; gap: 6px; text-align: left; animation: ta-in 260ms var(--ta-ease) both; }\n.ta-host-saved h2 { margin: 0 4px; font-size: calc(12.5px * var(--ta-font-scale)); font-weight: 500; color: var(--ta-muted); }\n.ta-signin .ta-host-item { background: var(--ta-main); }\n.ta-signin .ta-host-item:hover, .ta-signin .ta-host-item:active { background: var(--ta-hover); }\n.ta-sign-in-accounts { display: flex; flex-direction: column; gap: 8px; width: 100%; animation: ta-in 200ms var(--ta-ease) both; }\n.ta-sign-in-account { height: 42px; gap: 8px; text-decoration: none; font-size: calc(14.5px * var(--ta-font-scale)); }\n.ta-sign-in-account:hover { background: var(--ta-hover); }\n.ta-sign-in-account[aria-busy='true'] { pointer-events: none; opacity: 0.7; }\n.ta-sign-in-mark { flex: none; }\n.ta-sign-in-or { display: flex; align-items: center; gap: 10px; margin: 4px 0; color: var(--ta-muted); font-size: calc(12.5px * var(--ta-font-scale)); }\n.ta-sign-in-or::before, .ta-sign-in-or::after { content: ''; flex: 1; height: 1px; background: var(--ta-border); }\n.ta-access-account { display: inline-flex; align-items: center; gap: 8px; min-width: 0; max-width: 100%; }\n.ta-access-avatar { width: 22px; height: 22px; flex: none; border-radius: 50%; object-fit: cover; }\n.ta-access-avatar.ta-chat-avatar { font-size: calc(11px * var(--ta-font-scale)); }\n.ta-access-bind { display: flex; flex-wrap: wrap; gap: 8px; }\n.ta-sign-in-name { display: inline-flex; align-items: center; gap: 6px; }\n.ta-sign-in-callbacks { display: flex; flex-direction: column; gap: 6px; width: 100%; min-width: 0; }\n.ta-sign-in-callback { display: flex; align-items: center; gap: 6px; min-width: 0; padding: 4px 4px 4px 10px; border-radius: 8px; background: var(--ta-hover); }\n.ta-sign-in-callback code { flex: 1; min-width: 0; font-size: calc(12.5px * var(--ta-font-scale)); }\n.ta-sign-in-form { display: flex; flex-direction: column; gap: 10px; width: 100%; }\n.ta-sign-in-field { display: flex; flex-direction: column; gap: 4px; font-size: calc(12.5px * var(--ta-font-scale)); color: var(--ta-muted); }\n.ta-sign-in-field .ta-input { height: 32px; }\n.ta-sign-in-actions { display: flex; justify-content: flex-end; gap: 8px; }\n.ta-environment-chooser { display: flex; flex-direction: column; gap: 10px; width: 100%; text-align: left; }\n.ta-environment-own { display: flex; flex-direction: column; gap: 8px; animation: ta-in 200ms var(--ta-ease) both; }\n.ta-environment-own .ta-button { align-self: flex-end; }\n.ta-environment-hint { margin: 0; color: var(--ta-muted); font-size: calc(12.5px * var(--ta-font-scale)); line-height: 1.5; }\n.ta-environment-card { gap: 14px; }\n/* While the page loads again for another computer: which one, at once, over all. */\n.ta-switching { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: var(--ta-main); color: var(--ta-secondary); font-size: calc(14px * var(--ta-font-scale)); animation: ta-fade 140ms ease-out both; }\n/* Me has no head: the card under the status bar. */\n.ta-me .ta-list-content { padding-top: calc(20px + env(safe-area-inset-top)); }\n@media (max-width: 860px), (max-height: 500px) and (pointer: coarse) {\n .ta-list-content { padding: 14px 12px calc(24px + env(safe-area-inset-bottom)); }\n .ta-me .ta-list-content { padding-top: calc(14px + env(safe-area-inset-top)); }\n}\n\n/* Streaming: what comes in fades in where it will stay; nothing already shown moves or draws again. */\n.ta-thread-new { animation: ta-in 220ms var(--ta-ease); }\n/* Words ta said on the way move from the reply into the steps when a tool follows them: they were on the screen, so they do not fade in again. */\n.ta-turn-live > .ta-markdown > *, .ta-process-active .ta-process-steps > :not(.ta-more, .ta-step-text), .ta-turn-live .ta-turn-head > .ta-process-head, .ta-turn-live .ta-turn-head > .ta-run-status { animation: ta-fade 240ms ease-out; }\n.ta-run-line { animation: ta-fade 200ms ease-out; }\n.ta-scroll { overflow-anchor: none; }\n/* The scroll bar held while a reply comes in: the thread keeps its height (ConversationScroller), what grows past it waits. */\n.ta-scroll-held { overflow-y: clip; }\n.ta-scroll-held > * { flex-shrink: 0; }\n/* The look of the double: it walks above, the kinds of dinosaur below, then the ways it walks */\n.ta-look { display: flex; flex-direction: column; gap: 10px; min-height: 0; overflow-y: auto; }\n.ta-look-stage { height: 120px; flex: none; display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 8px; }\n.ta-look-figure, .ta-look-walk { border-radius: 12px; background: var(--ta-raised); display: grid; place-items: center; }\n/* Wide enough for the walk to and fro (half the width of the dinosaur to either side of the middle, and itself). */\n.ta-look-walk { min-width: 220px; overflow: hidden; }\n.ta-look-label { font-size: calc(12px * var(--ta-font-scale)); font-weight: 600; color: var(--ta-secondary); }\n.ta-look-kinds { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 6px; }\n.ta-look-kind { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 4px 7px; border: 1px solid var(--ta-border-muted); border-radius: 12px; background: transparent; color: var(--ta-text); font-size: calc(12px * var(--ta-font-scale)); transition: background 120ms, border-color 120ms; }\n.ta-look-kind:hover { background: var(--ta-hover); }\n.ta-look-kind.ta-on { border-color: var(--ta-green); background: color-mix(in srgb, var(--ta-green) 8%, transparent); }\n.ta-look-name { max-width: 100%; }\n/* The voice replies are read with: its list, and a button to listen to it. */\n.ta-voice-picker { display: flex; align-items: center; gap: 8px; width: 100%; }\n.ta-voice-picker .ta-select { flex: 1; min-width: 0; }\n.ta-voice-picker .ta-button { flex: none; }\n.ta-look-premium { position: absolute; top: 4px; left: 4px; display: inline-flex; align-items: center; gap: 2px; padding: 1px 5px; border-radius: 8px; background: linear-gradient(135deg, #FCD866, #D98E14); color: #4a2c00; font-size: calc(10px * var(--ta-font-scale)); font-weight: 600; line-height: calc(14px * var(--ta-font-scale)); }\n/* Scan, as WeChat's: the camera over everything, a green glow sweeping down, round buttons on it; a photo for Ta asks on a sheet. */\n.ta-scan { position: fixed; inset: 0; z-index: 55; overflow: hidden; background: #000; color: #fff; animation: ta-fade 160ms ease-out; -webkit-user-select: none; user-select: none; }\n.ta-scan-video, .ta-scan-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }\n.ta-scan-mirrored { transform: scaleX(-1); }\n.ta-scan-line { position: absolute; left: 0; right: 0; top: 16%; height: 22%; pointer-events: none; background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--ta-green) 40%, transparent) 88%, color-mix(in srgb, var(--ta-green) 90%, transparent) 100%); -webkit-mask-image: radial-gradient(ellipse 60% 100% at 50% 100%, #000 30%, transparent 100%); mask-image: radial-gradient(ellipse 60% 100% at 50% 100%, #000 30%, transparent 100%); animation: ta-scan-sweep 2.6s cubic-bezier(0.45, 0, 0.55, 1) infinite; }\n@keyframes ta-scan-sweep { 0% { transform: translateY(0); opacity: 0; } 12% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateY(220%); opacity: 0; } }\n.ta-scan-dot { position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; border: 3px solid #fff; background: var(--ta-green); box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35); animation: ta-scan-pop 260ms var(--ta-ease) both; }\n@keyframes ta-scan-pop { from { transform: scale(0.3); opacity: 0; } }\n.ta-scan-problem { position: absolute; top: 42%; left: 32px; right: 32px; margin: 0; text-align: center; color: rgba(255, 255, 255, 0.85); font-size: calc(15px * var(--ta-font-scale)); line-height: calc(22px * var(--ta-font-scale)); }\n.ta-scan-top { position: absolute; top: calc(env(safe-area-inset-top) + 14px); left: 18px; right: 18px; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }\n.ta-scan-round { pointer-events: auto; width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: rgba(0, 0, 0, 0.32); color: #fff; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }\n.ta-scan-bottom { position: absolute; left: 18px; right: 18px; bottom: calc(env(safe-area-inset-bottom) + 28px); display: flex; align-items: center; gap: 12px; }\n.ta-scan-side, .ta-scan-ask { border: 0; color: #fff; background: rgba(48, 48, 48, 0.58); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); transition: transform 120ms, background 120ms; }\n.ta-scan-side { flex: none; width: 62px; height: 62px; display: grid; place-items: center; padding: 0; border-radius: 50%; }\n.ta-scan-ask { flex: 1; min-width: 0; height: 62px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 0 14px; border-radius: 31px; }\n.ta-scan-side:active, .ta-scan-ask:active { transform: scale(0.96); background: rgba(70, 70, 70, 0.66); }\n.ta-scan-side:disabled, .ta-scan-ask:disabled { opacity: 0.45; }\n.ta-scan-ask-title { display: flex; align-items: center; gap: 6px; font-size: calc(17px * var(--ta-font-scale)); font-weight: 600; line-height: calc(24px * var(--ta-font-scale)); }\n.ta-scan-ask-hint { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: rgba(255, 255, 255, 0.62); font-size: calc(12px * var(--ta-font-scale)); line-height: calc(16px * var(--ta-font-scale)); }\n.ta-scan-sheet { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 12px; padding: 18px 16px calc(16px + env(safe-area-inset-bottom)); border-radius: 18px 18px 0 0; background: var(--ta-card); color: var(--ta-text); box-shadow: var(--ta-shadow-pop); animation: ta-in 220ms var(--ta-ease); }\n:root[data-keyboard] .ta-scan-sheet { bottom: var(--ta-keyboard, 0px); padding-bottom: 12px; }\n.ta-scan-sheet-title { font-size: calc(15px * var(--ta-font-scale)); font-weight: 600; }\n.ta-scan-chips { display: flex; flex-wrap: wrap; gap: 8px; }\n.ta-scan-chip { padding: 8px 14px; border: 1px solid var(--ta-border); border-radius: 999px; background: var(--ta-main); color: var(--ta-text); font-size: calc(14px * var(--ta-font-scale)); }\n.ta-scan-chip:active { background: var(--ta-hover); }\n.ta-scan-field { display: flex; align-items: center; gap: 8px; padding: 4px 4px 4px 14px; border: 1px solid var(--ta-border); border-radius: 22px; background: var(--ta-main); }\n.ta-scan-field input { flex: 1; min-width: 0; height: 36px; border: 0; outline: none; background: transparent; color: var(--ta-text); font-size: max(16px, calc(15px * var(--ta-font-scale))); }\n.ta-scan-send { flex: none; width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: var(--ta-text); color: var(--ta-main); }\n.ta-scan-send:disabled { opacity: 0.5; }\n/* A model service added by its address and key (custom-provider-view) */\n.ta-custom-flow { flex: 1 1 auto; min-height: 0; }\n.ta-custom-form { display: flex; flex-direction: column; gap: 12px; min-height: 0; margin: 0 -4px; padding: 0 4px; overflow-y: auto; }\n.ta-custom-form .ta-select { width: 100%; height: 32px; }\n.ta-custom-models { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 36px; box-sizing: border-box; padding: 4px 6px; border: 1px solid var(--ta-border-field); border-radius: 8px; background: var(--ta-input); transition: border-color 120ms; }\n.ta-custom-models:focus-within { border-color: var(--ta-border-focus); }\n.ta-custom-chip { display: inline-flex; align-items: center; gap: 2px; max-width: 100%; height: 24px; padding: 0 2px 0 8px; border-radius: 6px; background: var(--ta-raised); color: var(--ta-text); font-family: var(--ta-mono); font-size: calc(12px * var(--ta-font-scale)); animation: ta-in 160ms var(--ta-ease) both; }\n.ta-custom-chip-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-custom-chip button { display: grid; place-items: center; width: 20px; height: 20px; padding: 0; border: 0; border-radius: 4px; background: transparent; color: var(--ta-muted); cursor: pointer; }\n.ta-custom-chip button:hover { background: var(--ta-hover); color: var(--ta-text); }\n.ta-custom-model-input { flex: 1; min-width: 140px; height: 26px; border: 0; outline: none; background: transparent; color: var(--ta-text); font: inherit; font-size: calc(13px * var(--ta-font-scale)); }\n.ta-custom-fetch { align-self: flex-start; margin-top: 2px; }\n.ta-custom-fetched { display: flex; flex-direction: column; gap: 6px; margin-top: 2px; }\n.ta-custom-fetched .ta-auth-note { white-space: normal; }\n.ta-custom-fetched .ta-input { height: 32px; }\n.ta-custom-fetched-list { display: flex; flex-direction: column; max-height: 220px; overflow-y: auto; padding: 2px; border: 1px solid var(--ta-border-muted); border-radius: 8px; }\n.ta-custom-fetched-list .ta-auth-item { height: 32px; flex: none; font-family: var(--ta-mono); font-size: calc(12.5px * var(--ta-font-scale)); }\n.ta-custom-fetched-list .ta-auth-item > .ta-custom-picked { margin-left: auto; color: var(--ta-accent); }\n.ta-custom-actions { position: sticky; bottom: 0; z-index: 1; display: flex; justify-content: flex-end; gap: 8px; padding-top: 8px; background: var(--ta-card); }\n.ta-custom-actions .ta-danger { margin-right: auto; }\n.ta-custom-add > .ta-icon:first-child { color: var(--ta-accent); }\n.ta-custom-add { width: 100%; }\n.ta-custom-advanced { border: 1px solid var(--ta-border-muted); border-radius: 10px; }\n.ta-custom-advanced-toggle { display: flex; align-items: center; gap: 8px; width: 100%; height: 38px; padding: 0 10px; border: 0; border-radius: 10px; background: transparent; color: var(--ta-text); font: inherit; font-size: calc(13px * var(--ta-font-scale)); font-weight: 500; text-align: left; cursor: pointer; }\n.ta-custom-advanced-toggle:hover { background: var(--ta-hover); }\n.ta-custom-advanced-toggle .ta-auth-note { font-weight: 400; }\n.ta-custom-advanced-toggle > .ta-icon { margin-left: auto; color: var(--ta-muted); transition: transform 160ms var(--ta-ease); }\n.ta-custom-advanced.ta-open .ta-custom-advanced-toggle > .ta-icon { transform: rotate(180deg); }\n.ta-custom-advanced-body { display: flex; flex-direction: column; gap: 10px; padding: 2px 10px 12px; animation: ta-in 200ms var(--ta-ease) both; }\n.ta-custom-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }\n.ta-custom-check { display: flex; align-items: center; gap: 8px; min-height: 28px; color: var(--ta-body); font-size: calc(13px * var(--ta-font-scale)); cursor: pointer; }\n.ta-custom-check input { width: 16px; height: 16px; margin: 0; accent-color: var(--ta-accent); }\n.ta-custom-header { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr) 28px; gap: 6px; align-items: center; }\n.ta-custom-header .ta-input { height: 32px; font-family: var(--ta-mono); font-size: calc(12.5px * var(--ta-font-scale)); }\n.ta-custom-header-remove { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--ta-muted); cursor: pointer; }\n.ta-custom-header-remove:hover { background: var(--ta-hover); color: var(--ta-text); }\n@media (max-width: 860px), (max-height: 500px) and (pointer: coarse) {\n .ta-custom-form .ta-input, .ta-custom-model-input { font-size: max(16px, calc(14px * var(--ta-font-scale))); }\n .ta-custom-actions .ta-button { flex: 1; }\n}\n/* The console of a gateway (gateway/console-view.tsx). */\n.ta-console-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }\n.ta-console-stats.ta-console-stats-small { grid-template-columns: repeat(4, minmax(0, 1fr)); }\n.ta-console-stats-small .ta-console-stat-value { font-size: calc(18px * var(--ta-font-scale)); }\n.ta-console-agent { position: relative; display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 8px 14px; }\n.ta-console-agent + .ta-console-agent::before { content: ''; position: absolute; top: 0; right: 0; left: 33px; height: 1px; background: var(--ta-border-muted); }\n.ta-console-dot.ta-console-agent-working { background: var(--ta-green); animation: ta-console-pulse 1.2s ease-in-out infinite; }\n.ta-console-dot.ta-console-agent-waiting, .ta-console-dot.ta-console-agent-asking { background: var(--ta-blue); }\n.ta-console-stat { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--ta-border-muted); background: var(--ta-list-cell); font: inherit; color: inherit; text-align: left; }\nbutton.ta-console-stat:not(:disabled):hover { background: var(--ta-hover); }\nbutton.ta-console-stat:disabled { cursor: default; }\n.ta-console-stat-value { font-size: calc(22px * var(--ta-font-scale)); font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1.2; }\n.ta-console-stat-value.ta-good { color: var(--ta-green); }\n.ta-console-stat-value.ta-warn { color: var(--ta-yellow); }\n.ta-console-stat-label { font-size: calc(12px * var(--ta-font-scale)); color: var(--ta-muted); }\n.ta-console-section { display: flex; align-items: center; justify-content: space-between; min-height: 28px; margin: 4px 4px -8px; }\n.ta-console-section-title { font-size: calc(12.5px * var(--ta-font-scale)); font-weight: 600; color: var(--ta-secondary); }\n.ta-console-tenant, .ta-console-provider { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 58px; padding: 8px 14px; border: 0; background: none; font: inherit; color: var(--ta-text); text-align: left; }\n.ta-console-tenant { transition: background 120ms; }\n.ta-console-tenant:hover { background: var(--ta-hover); }\n.ta-console-tenant:focus-visible { outline: 1px solid var(--ta-border-focus); outline-offset: -1px; }\n.ta-console-tenant + .ta-console-tenant::before, .ta-console-provider + .ta-console-provider::before { content: ''; position: absolute; top: 0; right: 0; left: 58px; height: 1px; background: var(--ta-border-muted); }\n.ta-console-avatar { width: 32px; height: 32px; flex: none; border-radius: 50%; object-fit: cover; }\n.ta-console-avatar.ta-chat-avatar { font-size: 14px; }\n.ta-console-avatar-large { width: 56px; height: 56px; }\n.ta-console-avatar-large.ta-chat-avatar { font-size: 22px; }\n.ta-console-tenant-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }\n.ta-console-tenant-name { font-size: calc(14.5px * var(--ta-font-scale)); font-weight: 500; }\n.ta-console-account { font-size: calc(12.5px * var(--ta-font-scale)); font-weight: 400; color: var(--ta-muted); }\n.ta-console-tenant-state { display: inline-flex; align-items: center; gap: 6px; font-size: calc(12.5px * var(--ta-font-scale)); color: var(--ta-muted); min-width: 0; }\n.ta-console-dot { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--ta-border-field); }\n.ta-console-dot.ta-console-running { background: var(--ta-green); }\n.ta-console-dot.ta-console-starting { background: var(--ta-blue); animation: ta-console-pulse 1.2s ease-in-out infinite; }\n.ta-console-dot.ta-console-failed { background: var(--ta-red); }\n@keyframes ta-console-pulse { 50% { opacity: 0.35; } }\n.ta-console-tenant-usage { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 3px; font-size: calc(12px * var(--ta-font-scale)); font-variant-numeric: tabular-nums; color: var(--ta-secondary); }\n.ta-console-bar { display: block; height: 6px; border-radius: 3px; background: var(--ta-chip); overflow: hidden; }\n.ta-console-bar > span { display: block; height: 100%; border-radius: inherit; background: var(--ta-green); transition: width 300ms var(--ta-ease); }\n.ta-console-bar > span.ta-warm { background: var(--ta-yellow); }\n.ta-console-bar > span.ta-high { background: var(--ta-red); }\n.ta-console-bar-small { width: 56px; height: 4px; }\n.ta-console-chip { display: inline-block; margin-left: 8px; padding: 1px 7px; border-radius: 999px; background: var(--ta-chip); font-size: calc(11px * var(--ta-font-scale)); font-weight: 500; color: var(--ta-secondary); vertical-align: 1px; }\n.ta-console-invite { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 12px; border: 1px solid var(--ta-border-muted); background: var(--ta-list-cell); }\n.ta-console-invite .ta-list-hint { margin: 0; }\n.ta-console-mono { font-family: var(--ta-mono); font-size: calc(12.5px * var(--ta-font-scale)); word-break: break-all; }\n.ta-console-actions { display: flex; flex-wrap: wrap; gap: 8px; }\n.ta-console-person { display: flex; align-items: center; gap: 14px; padding: 4px 2px; }\n.ta-console-person-text { min-width: 0; display: flex; flex-direction: column; gap: 3px; }\n.ta-console-person-name { font-size: calc(17px * var(--ta-font-scale)); font-weight: 600; }\n.ta-console-usage { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }\n.ta-console-meter { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--ta-border-muted); background: var(--ta-list-cell); }\n.ta-console-meter-text { display: flex; justify-content: space-between; gap: 8px; font-size: calc(12.5px * var(--ta-font-scale)); color: var(--ta-muted); }\n.ta-console-meter-value { font-variant-numeric: tabular-nums; color: var(--ta-text); }\n.ta-console-facts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 16px; margin: 0; padding: 14px; border-radius: 12px; border: 1px solid var(--ta-border-muted); background: var(--ta-list-cell); font-size: calc(13.5px * var(--ta-font-scale)); }\n.ta-console-facts dt { color: var(--ta-muted); }\n.ta-console-facts dd { margin: 0; min-width: 0; text-align: right; }\n.ta-console-logs { margin: 0; max-height: 420px; overflow: auto; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--ta-border-muted); background: var(--ta-code); font-family: var(--ta-mono); font-size: calc(12px * var(--ta-font-scale)); line-height: 1.5; white-space: pre-wrap; word-break: break-all; color: var(--ta-secondary); }\n.ta-console-loading { align-self: center; margin: 40px 0; }\n.ta-console .ta-phone-stack-top { background: var(--ta-list-bg); }\n@media (max-width: 860px), (max-height: 500px) and (pointer: coarse) {\n .ta-console-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }\n .ta-console-stats.ta-console-stats-small { grid-template-columns: repeat(2, minmax(0, 1fr)); }\n}\n.ta-console-content { gap: 14px; }\n.ta-console-content > .ta-segmented { align-self: stretch; }\n.ta-console-stat-value.ta-bad { color: var(--ta-red); }\n.ta-console-chip-warn { background: color-mix(in srgb, var(--ta-yellow) 18%, transparent); color: var(--ta-yellow); }\n.ta-console-role-owner { background: color-mix(in srgb, var(--ta-blue) 16%, transparent); color: var(--ta-blue); }\n.ta-console-role-admin { background: color-mix(in srgb, var(--ta-green) 16%, transparent); color: var(--ta-green); }\n.ta-console-meter-hint { font-size: calc(11.5px * var(--ta-font-scale)); color: var(--ta-muted); }\n.ta-console-card { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 12px; border: 1px solid var(--ta-border-muted); background: var(--ta-list-cell); }\n.ta-console-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }\n.ta-console-card-controls { display: flex; gap: 8px; flex-wrap: wrap; }\n.ta-console-card-controls .ta-segmented button { padding: 0 10px; white-space: nowrap; }\n.ta-console-total { display: flex; flex-direction: column; gap: 2px; }\n.ta-console-total strong { font-size: calc(22px * var(--ta-font-scale)); font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1.2; }\n.ta-console-total span, .ta-console-card-label { font-size: calc(12px * var(--ta-font-scale)); color: var(--ta-muted); }\n.ta-console-card-label { margin-top: 4px; }\n.ta-console-chart { display: flex; flex-direction: column; gap: 4px; }\n.ta-console-chart svg { width: 100%; height: 120px; display: block; overflow: visible; }\n.ta-console-chart-loading { height: 160px; border-radius: 8px; background: var(--ta-chip); opacity: 0.5; }\n.ta-console-chart-hover { display: flex; align-items: baseline; gap: 8px; min-height: 20px; font-size: calc(12px * var(--ta-font-scale)); color: var(--ta-muted); font-variant-numeric: tabular-nums; }\n.ta-console-chart-hover strong { color: var(--ta-text); font-weight: 600; }\n.ta-console-chart-hit { fill: transparent; }\n.ta-console-chart-bar { fill: color-mix(in srgb, var(--ta-green) 55%, transparent); transition: fill 120ms; }\n.ta-console-chart-bar.ta-on { fill: var(--ta-green); }\n.ta-console-chart-axis { stroke: var(--ta-border-muted); stroke-width: 1; }\n.ta-console-chart-ticks { display: flex; justify-content: space-between; font-size: calc(11px * var(--ta-font-scale)); color: var(--ta-muted); }\n.ta-console-shares { display: flex; flex-direction: column; gap: 6px; }\n.ta-console-share { display: grid; grid-template-columns: minmax(0, 1fr) 96px 64px; align-items: center; gap: 10px; font-size: calc(12.5px * var(--ta-font-scale)); }\n.ta-console-share .ta-console-bar-small { width: 100%; }\n.ta-console-bar > span.ta-part { background: var(--ta-blue); }\n.ta-console-share-button { padding: 2px 4px; margin: 0 -4px; border: 0; border-radius: 6px; background: none; font: inherit; color: inherit; text-align: left; }\n.ta-console-share-button:hover { background: var(--ta-hover); }\n.ta-console-share-value { text-align: right; font-variant-numeric: tabular-nums; color: var(--ta-secondary); }\n.ta-console-limits { gap: 0; padding: 4px 14px; }\n.ta-console-limit { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; }\n.ta-console-limit + .ta-console-limit, .ta-console-chips + .ta-console-limit { border-top: 1px solid var(--ta-border-muted); }\n.ta-console-limit-text { min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: calc(13.5px * var(--ta-font-scale)); }\n.ta-console-limit-hint { font-size: calc(12px * var(--ta-font-scale)); color: var(--ta-muted); }\n.ta-console-limit-control { flex: none; display: flex; align-items: center; gap: 6px; }\n.ta-console-select { width: auto; min-width: 104px; height: 32px; padding: 0 8px; font-size: calc(13px * var(--ta-font-scale)); }\n.ta-console-number { width: 84px; height: 32px; font-variant-numeric: tabular-nums; }\n.ta-console-number.ta-invalid { border-color: var(--ta-red); }\n.ta-console-chips { display: flex; flex-wrap: wrap; gap: 6px; }\n.ta-console-limits .ta-console-chips { padding: 0 0 10px; }\n.ta-console-chip-toggle { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--ta-border-muted); background: var(--ta-list-cell); font: inherit; font-size: calc(12.5px * var(--ta-font-scale)); color: var(--ta-secondary); transition: background 120ms, color 120ms, border-color 120ms; }\n.ta-console-chip-toggle:hover:not(:disabled) { color: var(--ta-text); }\n.ta-console-chip-toggle.ta-on { border-color: transparent; background: var(--ta-segment); color: var(--ta-text); font-weight: 500; }\n.ta-console-chip-count { font-variant-numeric: tabular-nums; color: var(--ta-muted); }\n.ta-console-form-actions { justify-content: flex-end; padding: 10px 0; border-top: 1px solid var(--ta-border-muted); }\n.ta-console-role-row { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--ta-border-muted); background: var(--ta-list-cell); font-size: calc(13.5px * var(--ta-font-scale)); color: var(--ta-secondary); }\n.ta-console-role-row > span { flex: 1; }\n.ta-console-toolbar { display: flex; gap: 8px; }\n.ta-console-search { flex: 1; }\n.ta-console-agent-block { position: relative; }\n.ta-console-agent-block + .ta-console-agent-block::before { content: ''; position: absolute; top: 0; right: 0; left: 33px; height: 1px; background: var(--ta-border-muted); }\nbutton.ta-console-agent { width: 100%; border: 0; background: none; font: inherit; color: inherit; text-align: left; transition: background 120ms; }\nbutton.ta-console-agent:hover { background: var(--ta-hover); }\n.ta-console-activity { display: flex; flex-direction: column; gap: 2px; padding: 0 14px 12px 33px; }\n.ta-console-activity-summary { font-size: calc(12px * var(--ta-font-scale)); color: var(--ta-muted); padding-bottom: 4px; }\n.ta-console-activity-empty { margin: 0; padding: 0 14px 12px 33px; }\n.ta-console-activity-row { display: flex; align-items: center; gap: 8px; min-height: 24px; font-size: calc(12.5px * var(--ta-font-scale)); }\n.ta-console-activity-name { flex: none; font-family: var(--ta-mono); font-size: calc(12px * var(--ta-font-scale)); }\n.ta-console-activity-error { flex: 1; min-width: 0; color: var(--ta-red); }\n.ta-console-activity-time { flex: none; margin-left: auto; font-size: calc(11.5px * var(--ta-font-scale)); color: var(--ta-muted); font-variant-numeric: tabular-nums; }\n.ta-console-audit { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 6px 14px; font-size: calc(13px * var(--ta-font-scale)); }\n.ta-console-audit + .ta-console-audit { border-top: 1px solid var(--ta-border-muted); }\n.ta-console-audit-text { flex: 1; min-width: 0; display: inline-flex; align-items: center; gap: 4px; }\n.ta-console-audit-text strong { font-weight: 500; }\n.ta-console-audit-detail { color: var(--ta-muted); }\n.ta-console-foot { text-align: center; }\n.ta-setting-row .ta-console-usage, .ta-setting-row .ta-console-invite { width: 100%; }\n@media (max-width: 860px), (max-height: 500px) and (pointer: coarse) {\n .ta-console-share { grid-template-columns: minmax(0, 1fr) 64px 56px; }\n .ta-console-limit { flex-direction: column; align-items: stretch; }\n .ta-console-limit-control { justify-content: flex-end; }\n .ta-console-select, .ta-console-number { font-size: max(16px, calc(13px * var(--ta-font-scale))); }\n .ta-console-card-controls { width: 100%; }\n .ta-console-card-controls .ta-segmented { flex: 1; }\n}\n";
|
|
3
3
|
//# sourceMappingURL=pages.d.ts.map
|