@celljs/ta-web 4.42.0 → 4.43.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (314) hide show
  1. package/README.en.md +1 -1
  2. package/README.md +1 -1
  3. package/esm/browser/apps/web-apps.d.ts +4 -0
  4. package/esm/browser/apps/web-apps.js +14 -3
  5. package/esm/browser/assistant/ta-hearing.d.ts +85 -0
  6. package/esm/browser/assistant/ta-hearing.js +272 -0
  7. package/esm/browser/components/auth-view.js +1 -1
  8. package/esm/browser/components/board.js +9 -1
  9. package/esm/browser/components/clipboard-link-host.d.ts +2 -0
  10. package/esm/browser/components/clipboard-link-host.js +27 -0
  11. package/esm/browser/components/cloud-network.js +1 -1
  12. package/esm/browser/components/cloud-sign-in-view.d.ts +1 -1
  13. package/esm/browser/components/custom-provider-advanced.js +8 -8
  14. package/esm/browser/components/custom-provider-view.js +12 -12
  15. package/esm/browser/components/empty-state.d.ts +2 -1
  16. package/esm/browser/components/empty-state.js +6 -2
  17. package/esm/browser/components/folder-picker.js +2 -2
  18. package/esm/browser/components/gallery.js +8 -9
  19. package/esm/browser/components/hearing-host.d.ts +5 -0
  20. package/esm/browser/components/hearing-host.js +58 -0
  21. package/esm/browser/components/host-view.d.ts +1 -1
  22. package/esm/browser/components/link-dialog.js +4 -0
  23. package/esm/browser/components/loading.d.ts +3 -2
  24. package/esm/browser/components/loading.js +7 -3
  25. package/esm/browser/components/markdown.d.ts +3 -1
  26. package/esm/browser/components/markdown.js +10 -5
  27. package/esm/browser/components/media.d.ts +10 -4
  28. package/esm/browser/components/media.js +60 -14
  29. package/esm/browser/components/people-picker.d.ts +17 -0
  30. package/esm/browser/components/people-picker.js +129 -0
  31. package/esm/browser/components/relay-view.js +1 -1
  32. package/esm/browser/components/settings-parts.js +2 -0
  33. package/esm/browser/components/share-dialog.d.ts +2 -2
  34. package/esm/browser/components/share-dialog.js +7 -4
  35. package/esm/browser/components/share-friends.js +3 -10
  36. package/esm/browser/components/share-item-sheet.d.ts +12 -0
  37. package/esm/browser/components/share-item-sheet.js +39 -0
  38. package/esm/browser/components/share-sheet.d.ts +9 -2
  39. package/esm/browser/components/share-sheet.js +5 -4
  40. package/esm/browser/components/sign-in-setup.js +4 -4
  41. package/esm/browser/components/trusted-domains.js +1 -1
  42. package/esm/browser/components/view-room.d.ts +25 -0
  43. package/esm/browser/components/view-room.js +136 -0
  44. package/esm/browser/components/voice-services.js +6 -6
  45. package/esm/browser/device/device-protocol.d.ts +9 -6
  46. package/esm/browser/device/device-protocol.js +7 -4
  47. package/esm/browser/device/launch-screen.d.ts +11 -1
  48. package/esm/browser/device/launch-screen.js +22 -4
  49. package/esm/browser/extension/share-sheet-compat.d.ts +2 -0
  50. package/esm/browser/extension/share-sheet-compat.js +12 -2
  51. package/esm/browser/extension/web-api-code.d.ts +11 -0
  52. package/esm/browser/extension/web-api-components.d.ts +8 -1
  53. package/esm/browser/extension/web-api-contributions.d.ts +30 -1
  54. package/esm/browser/extension/web-api-desktop.d.ts +2 -1
  55. package/esm/browser/extension/web-api-file-views.d.ts +38 -0
  56. package/esm/browser/extension/web-api-file-views.js +2 -0
  57. package/esm/browser/extension/web-api-host.d.ts +47 -0
  58. package/esm/browser/extension/web-api-host.js +3 -0
  59. package/esm/browser/extension/web-api-menus.d.ts +46 -0
  60. package/esm/browser/extension/web-api-partners.d.ts +58 -1
  61. package/esm/browser/extension/web-api-spec.js +7 -0
  62. package/esm/browser/extension/web-extension-api.d.ts +10 -10
  63. package/esm/browser/extension/web-extension-context.d.ts +2 -8
  64. package/esm/browser/extension/web-extension-context.js +14 -39
  65. package/esm/browser/extension/web-extension-marks.d.ts +10 -0
  66. package/esm/browser/extension/web-extension-marks.js +29 -0
  67. package/esm/browser/extension/web-extension-protocol.d.ts +11 -1
  68. package/esm/browser/extension/web-extension-protocol.js +3 -0
  69. package/esm/browser/extension/web-extension-run.d.ts +15 -2
  70. package/esm/browser/extension/web-extension-run.js +77 -0
  71. package/esm/browser/extension/web-extensions-running.d.ts +5 -1
  72. package/esm/browser/extension/web-extensions-running.js +16 -0
  73. package/esm/browser/extension/web-extensions.d.ts +2 -1
  74. package/esm/browser/extension/web-extensions.js +3 -0
  75. package/esm/browser/extension/web-home.js +3 -1
  76. package/esm/browser/extension/web-host-values.d.ts +66 -0
  77. package/esm/browser/extension/web-host-values.js +191 -0
  78. package/esm/browser/extension/web-hosts.d.ts +7 -2
  79. package/esm/browser/extension/web-hosts.js +16 -4
  80. package/esm/browser/extension/web-share-ui.d.ts +7 -0
  81. package/esm/browser/extension/web-share-ui.js +15 -0
  82. package/esm/browser/extension/web-share.d.ts +18 -0
  83. package/esm/browser/extension/web-share.js +42 -0
  84. package/esm/browser/i18n/en/chat.d.ts +10 -0
  85. package/esm/browser/i18n/en/chat.js +10 -0
  86. package/esm/browser/i18n/en/common.d.ts +18 -0
  87. package/esm/browser/i18n/en/common.js +18 -0
  88. package/esm/browser/i18n/en/discover.d.ts +7 -0
  89. package/esm/browser/i18n/en/discover.js +7 -0
  90. package/esm/browser/i18n/en/settings.d.ts +2 -0
  91. package/esm/browser/i18n/en/settings.js +2 -0
  92. package/esm/browser/i18n/ja/chat.js +10 -0
  93. package/esm/browser/i18n/ja/common.js +18 -0
  94. package/esm/browser/i18n/ja/discover.js +7 -0
  95. package/esm/browser/i18n/ja/settings.js +2 -0
  96. package/esm/browser/i18n/locales.d.ts +38 -1
  97. package/esm/browser/i18n/messages.d.ts +37 -0
  98. package/esm/browser/i18n/zh/chat.js +10 -0
  99. package/esm/browser/i18n/zh/common.js +18 -0
  100. package/esm/browser/i18n/zh/discover.js +7 -0
  101. package/esm/browser/i18n/zh/settings.js +2 -0
  102. package/esm/browser/i18n/zh-tw/chat.js +10 -0
  103. package/esm/browser/i18n/zh-tw/common.js +18 -0
  104. package/esm/browser/i18n/zh-tw/discover.js +7 -0
  105. package/esm/browser/i18n/zh-tw/settings.js +2 -0
  106. package/esm/browser/launch-art/art-palette.d.ts +41 -0
  107. package/esm/browser/launch-art/art-palette.js +72 -0
  108. package/esm/browser/launch-art/cyclic-automaton.d.ts +45 -0
  109. package/esm/browser/launch-art/cyclic-automaton.js +176 -0
  110. package/esm/browser/launch-art/fractal-tree.d.ts +43 -0
  111. package/esm/browser/launch-art/fractal-tree.js +48 -0
  112. package/esm/browser/launch-art/launch-art.d.ts +98 -0
  113. package/esm/browser/launch-art/launch-art.js +420 -0
  114. package/esm/browser/launch-art/launch-sky.d.ts +66 -0
  115. package/esm/browser/launch-art/launch-sky.js +153 -0
  116. package/esm/browser/links/clipboard-links.d.ts +89 -0
  117. package/esm/browser/links/clipboard-links.js +303 -0
  118. package/esm/browser/links/link-text.d.ts +29 -0
  119. package/esm/browser/links/link-text.js +97 -0
  120. package/esm/browser/links/links-protocol.d.ts +12 -1
  121. package/esm/browser/links/links.d.ts +8 -2
  122. package/esm/browser/links/links.js +33 -3
  123. package/esm/browser/markdown/code-renderers.d.ts +4 -0
  124. package/esm/browser/markdown/code-renderers.js +4 -0
  125. package/esm/browser/partners/group-picker.js +23 -29
  126. package/esm/browser/sandbox/sandbox-runtime-code.js +1 -1
  127. package/esm/browser/sandbox/work/work-senses.js +1 -1
  128. package/esm/browser/settings/settings-protocol.d.ts +2 -0
  129. package/esm/browser/settings/settings-protocol.js +2 -0
  130. package/esm/browser/style/base.d.ts +1 -1
  131. package/esm/browser/style/base.js +10 -6
  132. package/esm/browser/style/chat-list.d.ts +1 -1
  133. package/esm/browser/style/chat-list.js +28 -15
  134. package/esm/browser/style/conversation-column.d.ts +1 -1
  135. package/esm/browser/style/conversation.d.ts +1 -1
  136. package/esm/browser/style/conversation.js +2 -2
  137. package/esm/browser/style/dialogs.d.ts +1 -1
  138. package/esm/browser/style/dialogs.js +2 -5
  139. package/esm/browser/style/forms.d.ts +5 -0
  140. package/esm/browser/style/forms.js +65 -0
  141. package/esm/browser/style/layout.d.ts +1 -1
  142. package/esm/browser/style/pages.d.ts +1 -1
  143. package/esm/browser/style/pages.js +14 -24
  144. package/esm/browser/style/phone.d.ts +1 -1
  145. package/esm/browser/style/shared.d.ts +1 -1
  146. package/esm/browser/style/shell.d.ts +1 -1
  147. package/esm/browser/style/shell.js +1 -6
  148. package/esm/browser/style/surfaces.d.ts +1 -1
  149. package/esm/browser/style/surfaces.js +0 -6
  150. package/esm/browser/style/tasks.d.ts +1 -1
  151. package/esm/browser/style.js +2 -0
  152. package/esm/browser/util/voice.d.ts +18 -0
  153. package/esm/browser/util/voice.js +111 -3
  154. package/esm/browser/workbench-protocol.d.ts +2 -0
  155. package/esm/browser/workbench-services.d.ts +2 -0
  156. package/esm/browser/workbench-services.js +5 -0
  157. package/esm/browser/workbench.js +5 -0
  158. package/lib/browser/apps/web-apps.d.ts +4 -0
  159. package/lib/browser/apps/web-apps.js +14 -3
  160. package/lib/browser/assistant/ta-hearing.d.ts +86 -0
  161. package/lib/browser/assistant/ta-hearing.js +277 -0
  162. package/lib/browser/components/auth-view.js +1 -1
  163. package/lib/browser/components/board.js +9 -1
  164. package/lib/browser/components/clipboard-link-host.d.ts +3 -0
  165. package/lib/browser/components/clipboard-link-host.js +63 -0
  166. package/lib/browser/components/cloud-network.js +1 -1
  167. package/lib/browser/components/cloud-sign-in-view.d.ts +1 -1
  168. package/lib/browser/components/custom-provider-advanced.js +8 -8
  169. package/lib/browser/components/custom-provider-view.js +12 -12
  170. package/lib/browser/components/empty-state.d.ts +2 -1
  171. package/lib/browser/components/empty-state.js +6 -2
  172. package/lib/browser/components/folder-picker.js +2 -2
  173. package/lib/browser/components/gallery.js +7 -8
  174. package/lib/browser/components/hearing-host.d.ts +6 -0
  175. package/lib/browser/components/hearing-host.js +94 -0
  176. package/lib/browser/components/host-view.d.ts +1 -1
  177. package/lib/browser/components/link-dialog.js +4 -0
  178. package/lib/browser/components/loading.d.ts +3 -2
  179. package/lib/browser/components/loading.js +7 -3
  180. package/lib/browser/components/markdown.d.ts +3 -1
  181. package/lib/browser/components/markdown.js +9 -4
  182. package/lib/browser/components/media.d.ts +10 -4
  183. package/lib/browser/components/media.js +61 -14
  184. package/lib/browser/components/people-picker.d.ts +18 -0
  185. package/lib/browser/components/people-picker.js +166 -0
  186. package/lib/browser/components/relay-view.js +1 -1
  187. package/lib/browser/components/settings-parts.js +2 -0
  188. package/lib/browser/components/share-dialog.d.ts +2 -2
  189. package/lib/browser/components/share-dialog.js +7 -4
  190. package/lib/browser/components/share-friends.js +3 -10
  191. package/lib/browser/components/share-item-sheet.d.ts +13 -0
  192. package/lib/browser/components/share-item-sheet.js +75 -0
  193. package/lib/browser/components/share-sheet.d.ts +9 -2
  194. package/lib/browser/components/share-sheet.js +5 -3
  195. package/lib/browser/components/sign-in-setup.js +4 -4
  196. package/lib/browser/components/trusted-domains.js +1 -1
  197. package/lib/browser/components/view-room.d.ts +26 -0
  198. package/lib/browser/components/view-room.js +173 -0
  199. package/lib/browser/components/voice-services.js +6 -6
  200. package/lib/browser/device/device-protocol.d.ts +9 -6
  201. package/lib/browser/device/device-protocol.js +7 -4
  202. package/lib/browser/device/launch-screen.d.ts +11 -1
  203. package/lib/browser/device/launch-screen.js +22 -4
  204. package/lib/browser/extension/share-sheet-compat.d.ts +2 -0
  205. package/lib/browser/extension/share-sheet-compat.js +13 -2
  206. package/lib/browser/extension/web-api-code.d.ts +11 -0
  207. package/lib/browser/extension/web-api-components.d.ts +8 -1
  208. package/lib/browser/extension/web-api-contributions.d.ts +30 -1
  209. package/lib/browser/extension/web-api-desktop.d.ts +2 -1
  210. package/lib/browser/extension/web-api-file-views.d.ts +39 -0
  211. package/lib/browser/extension/web-api-file-views.js +3 -0
  212. package/lib/browser/extension/web-api-host.d.ts +48 -0
  213. package/lib/browser/extension/web-api-host.js +4 -0
  214. package/lib/browser/extension/web-api-menus.d.ts +46 -0
  215. package/lib/browser/extension/web-api-partners.d.ts +58 -1
  216. package/lib/browser/extension/web-api-spec.js +7 -0
  217. package/lib/browser/extension/web-extension-api.d.ts +10 -10
  218. package/lib/browser/extension/web-extension-context.d.ts +2 -8
  219. package/lib/browser/extension/web-extension-context.js +14 -39
  220. package/lib/browser/extension/web-extension-marks.d.ts +11 -0
  221. package/lib/browser/extension/web-extension-marks.js +65 -0
  222. package/lib/browser/extension/web-extension-protocol.d.ts +11 -1
  223. package/lib/browser/extension/web-extension-protocol.js +3 -0
  224. package/lib/browser/extension/web-extension-run.d.ts +15 -2
  225. package/lib/browser/extension/web-extension-run.js +77 -0
  226. package/lib/browser/extension/web-extensions-running.d.ts +5 -1
  227. package/lib/browser/extension/web-extensions-running.js +16 -0
  228. package/lib/browser/extension/web-extensions.d.ts +2 -1
  229. package/lib/browser/extension/web-extensions.js +3 -0
  230. package/lib/browser/extension/web-home.js +3 -1
  231. package/lib/browser/extension/web-host-values.d.ts +67 -0
  232. package/lib/browser/extension/web-host-values.js +229 -0
  233. package/lib/browser/extension/web-hosts.d.ts +7 -2
  234. package/lib/browser/extension/web-hosts.js +16 -4
  235. package/lib/browser/extension/web-share-ui.d.ts +8 -0
  236. package/lib/browser/extension/web-share-ui.js +51 -0
  237. package/lib/browser/extension/web-share.d.ts +19 -0
  238. package/lib/browser/extension/web-share.js +45 -0
  239. package/lib/browser/i18n/en/chat.d.ts +10 -0
  240. package/lib/browser/i18n/en/chat.js +10 -0
  241. package/lib/browser/i18n/en/common.d.ts +18 -0
  242. package/lib/browser/i18n/en/common.js +18 -0
  243. package/lib/browser/i18n/en/discover.d.ts +7 -0
  244. package/lib/browser/i18n/en/discover.js +7 -0
  245. package/lib/browser/i18n/en/settings.d.ts +2 -0
  246. package/lib/browser/i18n/en/settings.js +2 -0
  247. package/lib/browser/i18n/ja/chat.js +10 -0
  248. package/lib/browser/i18n/ja/common.js +18 -0
  249. package/lib/browser/i18n/ja/discover.js +7 -0
  250. package/lib/browser/i18n/ja/settings.js +2 -0
  251. package/lib/browser/i18n/locales.d.ts +38 -1
  252. package/lib/browser/i18n/messages.d.ts +37 -0
  253. package/lib/browser/i18n/zh/chat.js +10 -0
  254. package/lib/browser/i18n/zh/common.js +18 -0
  255. package/lib/browser/i18n/zh/discover.js +7 -0
  256. package/lib/browser/i18n/zh/settings.js +2 -0
  257. package/lib/browser/i18n/zh-tw/chat.js +10 -0
  258. package/lib/browser/i18n/zh-tw/common.js +18 -0
  259. package/lib/browser/i18n/zh-tw/discover.js +7 -0
  260. package/lib/browser/i18n/zh-tw/settings.js +2 -0
  261. package/lib/browser/launch-art/art-palette.d.ts +42 -0
  262. package/lib/browser/launch-art/art-palette.js +76 -0
  263. package/lib/browser/launch-art/cyclic-automaton.d.ts +46 -0
  264. package/lib/browser/launch-art/cyclic-automaton.js +180 -0
  265. package/lib/browser/launch-art/fractal-tree.d.ts +44 -0
  266. package/lib/browser/launch-art/fractal-tree.js +52 -0
  267. package/lib/browser/launch-art/launch-art.d.ts +99 -0
  268. package/lib/browser/launch-art/launch-art.js +424 -0
  269. package/lib/browser/launch-art/launch-sky.d.ts +67 -0
  270. package/lib/browser/launch-art/launch-sky.js +157 -0
  271. package/lib/browser/links/clipboard-links.d.ts +90 -0
  272. package/lib/browser/links/clipboard-links.js +308 -0
  273. package/lib/browser/links/link-text.d.ts +30 -0
  274. package/lib/browser/links/link-text.js +100 -0
  275. package/lib/browser/links/links-protocol.d.ts +12 -1
  276. package/lib/browser/links/links.d.ts +8 -2
  277. package/lib/browser/links/links.js +33 -3
  278. package/lib/browser/markdown/code-renderers.d.ts +4 -0
  279. package/lib/browser/markdown/code-renderers.js +5 -1
  280. package/lib/browser/partners/group-picker.js +23 -29
  281. package/lib/browser/sandbox/sandbox-runtime-code.js +1 -1
  282. package/lib/browser/sandbox/work/work-senses.js +1 -1
  283. package/lib/browser/settings/settings-protocol.d.ts +2 -0
  284. package/lib/browser/settings/settings-protocol.js +2 -0
  285. package/lib/browser/style/base.d.ts +1 -1
  286. package/lib/browser/style/base.js +10 -6
  287. package/lib/browser/style/chat-list.d.ts +1 -1
  288. package/lib/browser/style/chat-list.js +28 -15
  289. package/lib/browser/style/conversation-column.d.ts +1 -1
  290. package/lib/browser/style/conversation.d.ts +1 -1
  291. package/lib/browser/style/conversation.js +2 -2
  292. package/lib/browser/style/dialogs.d.ts +1 -1
  293. package/lib/browser/style/dialogs.js +2 -5
  294. package/lib/browser/style/forms.d.ts +6 -0
  295. package/lib/browser/style/forms.js +68 -0
  296. package/lib/browser/style/layout.d.ts +1 -1
  297. package/lib/browser/style/pages.d.ts +1 -1
  298. package/lib/browser/style/pages.js +14 -24
  299. package/lib/browser/style/phone.d.ts +1 -1
  300. package/lib/browser/style/shared.d.ts +1 -1
  301. package/lib/browser/style/shell.d.ts +1 -1
  302. package/lib/browser/style/shell.js +1 -6
  303. package/lib/browser/style/surfaces.d.ts +1 -1
  304. package/lib/browser/style/surfaces.js +0 -6
  305. package/lib/browser/style/tasks.d.ts +1 -1
  306. package/lib/browser/style.js +2 -0
  307. package/lib/browser/util/voice.d.ts +18 -0
  308. package/lib/browser/util/voice.js +111 -3
  309. package/lib/browser/workbench-protocol.d.ts +2 -0
  310. package/lib/browser/workbench-services.d.ts +2 -0
  311. package/lib/browser/workbench-services.js +5 -0
  312. package/lib/browser/workbench.js +5 -0
  313. package/package.json +8 -8
  314. package/public/launch.svg +3 -3
@@ -1,3 +1,3 @@
1
1
  /** The layout: panes and sashes, the tabs of the editor area, menus, the workbench maximized. */
2
- export declare const LAYOUT_STYLE = "\n/* Layout (t5): panes the user resizes and collapses, the sashes between them, the tabs of the editor area */\n.ta-sidebar, .ta-editors-pane { position: relative; display: flex; min-height: 0; height: 100%; }\n.ta-sidebar { width: var(--ta-pane, 260px); flex: none; }\n.ta-side-view { display: flex; flex-direction: column; gap: 6px; min-height: 0; padding: calc(8px +\nenv(safe-area-inset-top) + var(--ta-titlebar) - var(--ta-lift)) 8px calc(8px + env(safe-area-inset-bottom)); background:\nvar(--ta-side); border-right: 1px solid var(--ta-border-muted); }\n.ta-side-view-head { flex: 1; min-width: 0; display: flex; align-items: center; gap: 4px; }\n.ta-main-head-view { flex: 1; min-width: 0; display: flex; align-items: center; }\n.ta-side-view-body { flex: 1; min-height: 0; overflow: auto; margin: 0 -8px; padding: 0 8px; }\n/* A view on its way (Loading) in the middle of its body. */\n.ta-side-view-body:has(> .ta-loading) { display: flex; flex-direction: column; }\n/* A view that scrolls a list of its own (.ta-side-scroll, as the partners) has the body's height: otherwise it grows\n with its rows, never scrolls, and as a scroll area that does not bounce keeps the wheel from the body too. */\n.ta-side-view-body:has(> .ta-side-scroll) { display: flex; flex-direction: column; }\n/* The top bar of a sidebar view on its way: its room kept, empty. */\n.ta-loading-head { flex: 1; min-width: 0; height: 36px; }\n/* Its own rows come in over the place it kept: a fade, once (the top bar is where it was). */\n.ta-side-view[data-arrived] > .ta-side-view-body { animation: ta-fade 200ms ease-out; }\n/* Rows still on their way in it (its data not read yet) take the place of the placeholder's at once, without its\nmoment. */\n.ta-side-view[data-arrived] .ta-loading { animation: none; }\n/* The editors may not be wider than the conversation: at most half of what the other columns leave. */\n.ta-editors-pane { width: var(--ta-pane, 480px); max-width: calc((100vw - var(--ta-left, 56px) - var(--ta-right, 0px))\n/ 2); flex: 0 1 auto; min-width: 280px; }\n.ta-main { min-width: 400px; }\n.ta-rail-gap { width: 24px; height: 1px; flex: none; margin: 4px 0; background: var(--ta-border); }\n.ta-sash { position: absolute; z-index: 6; top: 0; bottom: 0; width: 7px; cursor: col-resize; touch-action: none;\noutline: none; }\n.ta-sash-start { right: -4px; }\n.ta-sash-end { left: -4px; }\n/*\n * A sash draws no line of its own: on a pause over it the border of the columns it sits on (the sidebar's right, the\n * workbench's left) lightens a little, a pixel wide, under the title bar and clear of the rounded corner of the\n * conversation; a little more while dragged.\n */\n.ta-sash::after { content: ''; position: absolute; top: calc(var(--ta-titlebar) + min(10px, var(--ta-titlebar)));\nbottom: 0; width: 1px; background: color-mix(in srgb, var(--ta-border-focus) 22%, transparent); opacity: 0; transition:\nopacity 180ms 0ms; }\n.ta-sash-start::after { left: 3px; }\n.ta-sash-end::after { left: 4px; }\n.ta-sash:hover::after { opacity: 1; transition-delay: 300ms; }\n.ta-sash.ta-dragging::after, .ta-sash:focus-visible::after { opacity: 1; background: color-mix(in srgb,\nvar(--ta-border-focus) 45%, transparent); transition-delay: 0ms; }\n.ta-resizing, .ta-resizing * { cursor: col-resize !important; user-select: none !important; }\n.ta-resizing iframe { pointer-events: none; }\n.ta-editors { flex: 1; min-width: 0; display: flex; flex-direction: column; padding-top: var(--ta-titlebar); background:\nvar(--ta-side); border-left: 1px solid var(--ta-border-muted); }\n/*\n * The tabs of a wide workbench, as a browser's or an editor's: a strip the colour of the side over a line; the tab\n * shown is a card the colour of what it shows, joined to it across the line; the others lie on the strip, a short\n * line between two of them, a rounded hover inside; + follows the last. The line is an inset shadow, under the\n * tabs: the card covers it. A phone has its own head (.ta-compact, below).\n */\n.ta-editor-tabs { display: flex; align-items: flex-end; gap: 2px; height: calc(34px + var(--ta-top-gap) +\nenv(safe-area-inset-top)); flex: none; padding: calc(var(--ta-top-gap) + env(safe-area-inset-top)) 8px 0 0; background:\nvar(--ta-side); box-shadow: inset 0 -1px 0 var(--ta-border); }\n.ta-workbench-actions { display: flex; align-items: center; gap: 2px; flex: none; height: 34px; margin-left: auto; }\n.ta-workbench-actions .ta-icon-button, .ta-editor-tabs > .ta-workbench-open .ta-icon-button { width: 28px; height: 28px;\nborder-radius: 7px; color: var(--ta-muted); }\n.ta-workbench-actions .ta-icon-button:hover, .ta-workbench-actions .ta-icon-button.ta-on, .ta-editor-tabs >\n.ta-workbench-open .ta-icon-button:is(:hover, .ta-on) { color: var(--ta-text); }\n.ta-editor-tabs > .ta-workbench-open { flex: none; align-items: center; height: 34px; }\n/* The tools of the tab shown (ui.EditorActions), right before those of the workbench, a short line between them. */\n.ta-editor-actions { display: flex; align-items: center; gap: 2px; flex: 0 1 auto; min-width: 0; height: 34px;\nmargin-left: auto; overflow: hidden; color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); white-space:\nnowrap; }\n.ta-editor-actions:empty { display: none; }\n.ta-editor-actions:not(:empty) ~ .ta-workbench-actions { margin-left: 0; }\n.ta-editor-actions:not(:empty)::after { content: ''; flex: none; width: 1px; height: 14px; margin: 0 4px 0 6px;\nbackground: var(--ta-border); }\n.ta-editor-tablist { flex: 0 1 auto; min-width: 0; display: flex; align-items: flex-end; align-self: stretch;\npadding-left: 8px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }\n.ta-editor-tablist::-webkit-scrollbar { display: none; }\n.ta-editor-tab { position: relative; isolation: isolate; display: flex; align-items: center; flex: 0 1 auto; min-width:\n92px; max-width: 200px; height: 34px; border: 1px solid transparent; border-bottom: 0; border-radius: 9px 9px 0 0;\ncolor: var(--ta-muted); transition: color 120ms; }\n.ta-editor-tab::after { content: ''; position: absolute; z-index: -1; inset: 3px 2px 4px; border-radius: 7px;\nbackground: var(--ta-hover); opacity: 0; transition: opacity 120ms; }\n.ta-editor-tab + .ta-editor-tab::before { content: ''; position: absolute; left: -1px; top: 10px; bottom: 10px; width:\n1px; background: var(--ta-border); transition: opacity 120ms; }\n.ta-editor-tab:hover { color: var(--ta-body); }\n.ta-editor-tab:not(.ta-active):hover::after { opacity: 1; }\n/* Short of room the tabs narrow, as a browser's, the one shown last; past their least width the strip scrolls. */\n.ta-editor-tab.ta-active { flex-shrink: 0; border-color: var(--ta-border); background: var(--ta-main); color:\nvar(--ta-text); }\n.ta-editor-tab:is(:hover, .ta-active)::before, .ta-editor-tab:is(:hover, .ta-active) +\n.ta-editor-tab:not(.ta-active)::before { opacity: 0; }\n/*\n * The card of the tab shown flares into the line under the strip at its foot, a browser's tab: a quarter ring on each\n * side, the colour of what it shows below it.\n */\n.ta-editor-tab.ta-active::before, .ta-editor-tab.ta-active::after { content: ''; position: absolute; z-index: -1; top:\nauto; right: auto; bottom: 0; width: 8px; height: 8px; border-radius: 0; opacity: 1; transition: none; }\n.ta-editor-tab.ta-active::before { left: -8px; background: radial-gradient(circle at 0 0, transparent 6.5px,\nvar(--ta-border) 7px 7.5px, var(--ta-main) 8px); }\n.ta-editor-tab.ta-active::after { left: 100%; background: radial-gradient(circle at 100% 0, transparent 6.5px,\nvar(--ta-border) 7px 7.5px, var(--ta-main) 8px); }\n.ta-editor-tab-button { display: flex; align-items: center; gap: 7px; min-width: 0; height: 100%; padding: 0 2px 0 12px;\nborder: 0; background: transparent; color: inherit; font-size: calc(13px * var(--ta-font-scale)); }\n.ta-editor-tab-button:focus-visible { outline: 1px solid var(--ta-border-focus); outline-offset: -4px; border-radius:\n8px; }\n.ta-editor-tab-button > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-editor-tab-button > :not(span:last-child) { flex: none; }\n.ta-editor-tab-close { flex: none; width: 20px; height: 20px; margin-right: 7px; display: grid; place-items: center;\nborder: 0; border-radius: 5px; background: transparent; color: inherit; opacity: 0; }\n.ta-editor-tab:hover .ta-editor-tab-close, .ta-editor-tab.ta-active .ta-editor-tab-close,\n.ta-editor-tab-close:focus-visible { opacity: 1; }\n.ta-editor-tab-close:hover { background: var(--ta-hover-strong); color: var(--ta-text); }\n.ta-context-menu { position: fixed; left: 0; top: 0; z-index: 80; min-width: 190px; max-width: 320px; display: flex;\nflex-direction: column; gap: 1px; padding: 6px; border-radius: 12px; border: 1px solid var(--ta-border); background:\nvar(--ta-side); box-shadow: var(--ta-shadow-pop); animation: ta-fade 100ms ease-out; }\n.ta-context-menu-item { display: flex; align-items: center; flex: none; height: 30px; padding: 0 10px; border: 0;\nborder-radius: 8px; background: none; color: var(--ta-text); font: inherit; font-size: calc(13px *\nvar(--ta-font-scale)); text-align: left; cursor: pointer; outline: none; }\n.ta-context-menu-item:hover:not(:disabled), .ta-context-menu-item:focus-visible { background: var(--ta-hover); }\n.ta-context-menu-item:disabled { opacity: 0.45; cursor: default; }\n.ta-context-menu-item.ta-danger { color: var(--ta-red); }\n.ta-context-menu-check { flex: none; margin-left: auto; padding-left: 12px; box-sizing: content-box; color:\nvar(--ta-brand); visibility: hidden; }\n.ta-context-menu-check.ta-on { visibility: visible; }\n/* The entry of any menu a held finger slid onto (ContextMenuUtil.attach): let go, it is chosen. */\n[role=\"menuitem\"][data-armed] { background: var(--ta-hover); }\n.ta-context-menu-line { flex: none; height: 1px; margin: 5px 8px; border: 0; background: var(--ta-border-muted); }\n.ta-context-menu-caption { flex: none; margin: 0 8px 5px; padding: 3px 2px 8px; border-bottom: 1px solid\nvar(--ta-border-muted); color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); font-variant-numeric:\ntabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n.ta-editor-tab.ta-preview .ta-editor-tab-button > span { font-style: italic; }\n.ta-editor-tab-close { position: relative; }\n.ta-editor-tab-dirty { position: absolute; inset: 0; margin: auto; width: 8px; height: 8px; border-radius: 50%;\nbackground: currentColor; }\n.ta-editor-tab.ta-dirty .ta-editor-tab-close { opacity: 1; }\n.ta-editor-tab.ta-dirty .ta-editor-tab-close > svg { visibility: hidden; }\n.ta-editor-tab.ta-dirty .ta-editor-tab-close:hover > svg, .ta-editor-tab.ta-dirty .ta-editor-tab-close:focus-visible >\nsvg { visibility: visible; }\n.ta-editor-tab.ta-dirty .ta-editor-tab-close:hover > .ta-editor-tab-dirty, .ta-editor-tab.ta-dirty\n.ta-editor-tab-close:focus-visible > .ta-editor-tab-dirty { display: none; }\n.ta-editor-body { flex: 1; min-height: 0; overflow: auto; background: var(--ta-main); }\n.ta-workbench-title { display: flex; align-items: center; height: 34px; padding: 0 6px; font-size: calc(13.5px *\nvar(--ta-font-scale)); font-weight: 600; color: var(--ta-secondary); }\n.ta-workbench-open { position: relative; display: flex; }\n.ta-workbench-menu { position: absolute; top: calc(100% + 6px); z-index: 45; width: 220px; max-height: min(440px, 70vh);\noverflow: auto; display: flex; flex-direction: column; gap: 2px; padding: 6px; border-radius: 12px; border: 1px solid\nvar(--ta-border); background: var(--ta-side); box-shadow: var(--ta-shadow-pop); animation: ta-fade 120ms ease-out; }\n.ta-workbench-menu .ta-account-item { flex: none; gap: 12px; height: 36px; padding: 0 10px; font-size: calc(13.5px *\nvar(--ta-font-scale)); color: var(--ta-body); }\n.ta-workbench-menu .ta-account-item > svg { flex: none; color: var(--ta-secondary); }\n.ta-workbench-menu .ta-account-item:focus-visible { outline: 1px solid var(--ta-border-focus); outline-offset: -1px; }\n/* Where the tools of + open: the directory of the conversation shown, as the caption of the menu. */\n.ta-workbench-menu-cwd { display: flex; align-items: center; gap: 6px; flex: none; min-width: 0; height: 30px; margin: 0\n4px 4px; padding: 0 6px 4px; border-bottom: 1px solid var(--ta-border-muted); color: var(--ta-muted); font-size:\ncalc(12px * var(--ta-font-scale)); cursor: default; }\n.ta-workbench-menu-cwd > svg { flex: none; }\n.ta-workbench-menu.ta-start { left: 0; }\n.ta-workbench-menu.ta-end { right: 0; }\n/*\n * The head of the workbench on a phone (CompactHead): back, the tab shown with how many are open, which lists\n * them under it (TabSwitcher), and +. Over what it shows: the list and the scrim it lays over the tab.\n */\n.ta-editor-head-compact { position: relative; z-index: 5; flex: none; }\n.ta-compact .ta-editor-tabs { align-items: center; gap: 2px; height: calc(52px + env(safe-area-inset-top)); padding:\nenv(safe-area-inset-top) calc(6px + env(safe-area-inset-right)) 0 calc(4px + env(safe-area-inset-left)); background:\nvar(--ta-main); box-shadow: inset 0 -1px 0 var(--ta-border-muted); }\n.ta-compact .ta-editor-tabs > .ta-icon-button, .ta-compact .ta-editor-tabs > .ta-workbench-open .ta-icon-button { width:\n40px; height: 40px; border-radius: 10px; color: var(--ta-secondary); }\n.ta-compact .ta-editor-tabs > .ta-workbench-open { flex: none; margin-left: auto; }\n.ta-compact .ta-editor-actions { height: 40px; }\n.ta-compact .ta-editor-actions:not(:empty) ~ .ta-workbench-open { margin-left: 0; }\n.ta-compact .ta-editor-actions::after { display: none; }\n.ta-compact .ta-workbench-title { flex: 1; min-width: 0; height: auto; padding: 0 6px; color: var(--ta-text); font-size:\ncalc(16px * var(--ta-font-scale)); }\n.ta-workbench-switch { flex: 0 1 auto; min-width: 0; display: flex; align-items: center; gap: 8px; height: 40px;\npadding: 0 8px 0 6px; border: 0; border-radius: 10px; background: none; color: var(--ta-text); font: inherit; font-size:\ncalc(16px * var(--ta-font-scale)); font-weight: 600; transition: background 120ms; }\n.ta-workbench-switch > :first-child { flex: none; color: var(--ta-secondary); }\n.ta-workbench-switch:active, .ta-workbench-switch.ta-on { background: var(--ta-hover); }\n.ta-workbench-switch-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-workbench-count { flex: none; min-width: calc(20px * var(--ta-font-scale)); height: calc(20px *\nvar(--ta-font-scale)); padding: 0 6px; border-radius: 999px; background: var(--ta-chip); color: var(--ta-secondary);\nfont-size: calc(12px * var(--ta-font-scale)); font-weight: 600; line-height: calc(20px * var(--ta-font-scale));\ntext-align: center; font-variant-numeric: tabular-nums; }\n.ta-workbench-switch-caret { flex: none; margin-left: -2px; color: var(--ta-muted); transition: transform 220ms\nvar(--ta-ease); }\n.ta-workbench-switch.ta-on .ta-workbench-switch-caret { transform: rotate(180deg); }\n.ta-tab-switcher-scrim { position: absolute; top: 100%; left: 0; right: 0; height: 100vh; padding: 0; border: 0;\nbackground: rgba(0, 0, 0, 0.18); animation: ta-fade 180ms ease-out; -webkit-tap-highlight-color: transparent; }\n.ta-tab-switcher { position: absolute; top: calc(100% + 6px); left: calc(8px + env(safe-area-inset-left)); right:\ncalc(8px + env(safe-area-inset-right)); display: flex; flex-direction: column; max-height: min(64vh, 520px); overflow:\nhidden; border: 1px solid var(--ta-border); border-radius: 16px; background: var(--ta-side); box-shadow:\nvar(--ta-shadow-pop); transform-origin: 50% 0; animation: ta-tabs-drop 200ms var(--ta-ease); }\n@keyframes ta-tabs-drop { from { opacity: 0; transform: translate3d(0, -6px, 0) scale(0.98); } }\n.ta-tab-switcher-head { display: flex; align-items: center; gap: 10px; flex: none; height: 44px; padding: 0 6px 0 16px;\nborder-bottom: 1px solid var(--ta-border-muted); color: var(--ta-muted); font-size: calc(13px * var(--ta-font-scale)); }\n.ta-tab-switcher-count { flex: none; font-weight: 500; color: var(--ta-secondary); }\n.ta-tab-switcher-all { flex: none; height: 32px; margin-left: auto; padding: 0 10px; border: 0; border-radius: 8px;\nbackground: none; color: var(--ta-secondary); font: inherit; font-size: calc(13px * var(--ta-font-scale)); }\n.ta-tab-switcher-all:active { background: var(--ta-hover); }\n.ta-tab-switcher-list { display: flex; flex-direction: column; gap: 2px; min-height: 0; padding: 6px; overflow-y: auto;\noverscroll-behavior: contain; }\n.ta-tab-switcher-row { display: flex; align-items: center; flex: none; min-height: 48px; border-radius: 11px;\ntransition: background 120ms; }\n.ta-tab-switcher-row.ta-active { background: var(--ta-selected); }\n.ta-tab-switcher-row:has(> .ta-tab-switcher-main:active) { background: var(--ta-hover); }\n.ta-tab-switcher-main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; height: 48px; padding: 0\n4px 0 8px; border: 0; background: none; color: var(--ta-body); font: inherit; font-size: calc(15px *\nvar(--ta-font-scale)); text-align: left; }\n.ta-tab-switcher-row.ta-active .ta-tab-switcher-main { color: var(--ta-text); font-weight: 500; }\n.ta-tab-switcher-glyph { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px;\nbackground: var(--ta-chip); color: var(--ta-secondary); }\n.ta-tab-switcher-row.ta-active .ta-tab-switcher-glyph { background: var(--ta-main); }\n.ta-tab-switcher-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-tab-switcher-title.ta-preview { font-style: italic; }\n.ta-tab-switcher-dirty { flex: none; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }\n.ta-tab-switcher-close { flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border:\n0; border-radius: 10px; background: none; color: var(--ta-muted); }\n.ta-tab-switcher-close:active { background: var(--ta-hover-strong); color: var(--ta-text); }\n.ta-workbench-launcher { flex: 1; min-height: 0; overflow: auto; display: flex; flex-direction: column; align-items:\ncenter; justify-content: safe center; padding: 32px 20px calc(32px + env(safe-area-inset-bottom)); }\n.ta-workbench-launcher > * { width: 100%; max-width: 280px; }\n.ta-workbench-launcher-head { display: flex; flex-direction: column; align-items: center; gap: 6px; max-width: 320px;\nmargin-bottom: 24px; text-align: center; }\n.ta-workbench-launcher-title { font-size: calc(14.5px * var(--ta-font-scale)); font-weight: 600; color: var(--ta-text);\n}\n.ta-workbench-launcher-hint { font-size: calc(12.5px * var(--ta-font-scale)); line-height: 1.5; color:\nvar(--ta-secondary); }\n.ta-workbench-launch { display: flex; align-items: center; gap: 12px; height: 40px; flex: none; margin-bottom: 8px;\npadding: 0 14px; border: 0; border-radius: 8px; background: transparent; color: var(--ta-body); font-size: calc(14px *\nvar(--ta-font-scale)); text-align: left; transition: background 120ms, color 120ms; }\n.ta-workbench-launch:last-child { margin-bottom: 0; }\n.ta-workbench-launch:focus-visible { outline: 1px solid var(--ta-border-focus); outline-offset: -1px; }\n.ta-workbench-launch > svg { flex: none; color: var(--ta-secondary); }\n.ta-workbench-launch:hover { background: var(--ta-hover); color: var(--ta-text); }\n/* Maximized, the workbench takes the whole window: the navigation and the conversation step aside. */\n.ta-workbench-max .ta-nav, .ta-workbench-max .ta-scrim, .ta-workbench-max .ta-main { display: none; }\n.ta-workbench-max .ta-editors { border-left: 0; }\n.ta-workbench-max .ta-editors-pane { flex: 1; width: auto; max-width: none; }\n.ta-workbench-max .ta-editors-pane > .ta-sash { display: none; }\n.ta-editor-body[hidden] { display: none; }\n@media (max-width: 860px), (max-height: 500px) and (pointer: coarse) {\n .ta-sash { display: none; }\n .ta-main { min-width: 0; }\n .ta-editors-pane { position: fixed; z-index: 36; inset: 0; width: auto; min-width: 0; max-width: none; animation:\n ta-fade 160ms; }\n .ta-editors { border-left: 0; }\n}\n";
2
+ export declare const LAYOUT_STYLE = "\n/* Layout (t5): panes the user resizes and collapses, the sashes between them, the tabs of the editor area */\n.ta-sidebar, .ta-editors-pane { position: relative; display: flex; min-height: 0; height: 100%; }\n.ta-sidebar { width: var(--ta-pane, 260px); flex: none; }\n.ta-side-view { display: flex; flex-direction: column; gap: 6px; min-height: 0; padding: calc(8px +\nenv(safe-area-inset-top) + var(--ta-titlebar) - var(--ta-lift)) 8px calc(8px + env(safe-area-inset-bottom)); background:\nvar(--ta-side); border-right: 1px solid var(--ta-border-muted); }\n.ta-side-view-head { flex: 1; min-width: 0; display: flex; align-items: center; gap: 4px; }\n.ta-main-head-view { flex: 1; min-width: 0; display: flex; align-items: center; }\n.ta-side-view-body { flex: 1; min-height: 0; overflow: auto; margin: 0 -8px; padding: 0 8px; }\n/* A view on its way (Loading) in the middle of its body. */\n.ta-side-view-body:has(> .ta-loading) { display: flex; flex-direction: column; }\n/* A view that scrolls a list of its own (.ta-side-scroll, as the partners) has the body's height: otherwise it grows\n with its rows, never scrolls, and as a scroll area that does not bounce keeps the wheel from the body too. */\n.ta-side-view-body:has(> .ta-side-scroll) { display: flex; flex-direction: column; }\n/* The top bar of a sidebar view on its way: its room kept, empty. */\n.ta-loading-head { flex: 1; min-width: 0; height: 36px; }\n/* Its own rows come in over the place it kept: a fade, once (the top bar is where it was). */\n.ta-side-view[data-arrived] > .ta-side-view-body { animation: ta-fade 200ms ease-out; }\n/* Rows still on their way in it (its data not read yet) take the place of the placeholder's at once, without its\nmoment. */\n.ta-side-view[data-arrived] .ta-loading { animation: none; }\n/* The editors may not be wider than the conversation: at most half of what the other columns leave. */\n.ta-editors-pane { width: var(--ta-pane, 480px); max-width: calc((100vw - var(--ta-left, 56px) - var(--ta-right, 0px))\n/ 2); flex: 0 1 auto; min-width: 280px; }\n.ta-main { min-width: 400px; }\n.ta-rail-gap { width: 24px; height: 1px; flex: none; margin: 4px 0; background: var(--ta-border); }\n.ta-sash { position: absolute; z-index: 6; top: 0; bottom: 0; width: 7px; cursor: col-resize; touch-action: none;\noutline: none; }\n.ta-sash-start { right: -4px; }\n.ta-sash-end { left: -4px; }\n/*\n * A sash draws no line of its own: on a pause over it the border of the columns it sits on (the sidebar's right, the\n * workbench's left) lightens a little, a pixel wide, under the title bar and clear of the rounded corner of the\n * conversation; a little more while dragged.\n */\n.ta-sash::after { content: ''; position: absolute; top: calc(var(--ta-titlebar) + min(10px, var(--ta-titlebar)));\nbottom: 0; width: 1px; background: color-mix(in srgb, var(--ta-border-focus) 22%, transparent); opacity: 0; transition:\nopacity 180ms 0ms; }\n.ta-sash-start::after { left: 3px; }\n.ta-sash-end::after { left: 4px; }\n.ta-sash:hover::after { opacity: 1; transition-delay: 300ms; }\n.ta-sash.ta-dragging::after, .ta-sash:focus-visible::after { opacity: 1; background: color-mix(in srgb,\nvar(--ta-border-focus) 45%, transparent); transition-delay: 0ms; }\n.ta-resizing, .ta-resizing * { cursor: col-resize !important; user-select: none !important; }\n.ta-resizing iframe { pointer-events: none; }\n.ta-editors { flex: 1; min-width: 0; display: flex; flex-direction: column; padding-top: var(--ta-titlebar); background:\nvar(--ta-side); border-left: 1px solid var(--ta-border-muted); }\n/*\n * The tabs of a wide workbench, as a browser's or an editor's: a strip the colour of the side over a line; the tab\n * shown is a card the colour of what it shows, joined to it across the line; the others lie on the strip, a short\n * line between two of them, a rounded hover inside; + follows the last. The line is an inset shadow, under the\n * tabs: the card covers it. A phone has its own head (.ta-compact, below).\n */\n.ta-editor-tabs { display: flex; align-items: flex-end; gap: 2px; height: calc(34px + var(--ta-top-gap) +\nenv(safe-area-inset-top)); flex: none; padding: calc(var(--ta-top-gap) + env(safe-area-inset-top)) 8px 0 0; background:\nvar(--ta-side); box-shadow: inset 0 -1px 0 var(--ta-border); }\n.ta-workbench-actions { display: flex; align-items: center; gap: 2px; flex: none; height: 34px; margin-left: auto; }\n.ta-workbench-actions .ta-icon-button, .ta-editor-tabs > .ta-workbench-open .ta-icon-button { width: 28px; height: 28px;\nborder-radius: 7px; color: var(--ta-muted); }\n.ta-workbench-actions .ta-icon-button:hover, .ta-workbench-actions .ta-icon-button.ta-on, .ta-editor-tabs >\n.ta-workbench-open .ta-icon-button:is(:hover, .ta-on) { color: var(--ta-text); }\n.ta-editor-tabs > .ta-workbench-open { flex: none; align-items: center; height: 34px; }\n/* The tools of the tab shown (ui.EditorActions), right before those of the workbench, a short line between them. */\n.ta-editor-actions { display: flex; align-items: center; gap: 2px; flex: 0 1 auto; min-width: 0; height: 34px;\nmargin-left: auto; overflow: hidden; color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); white-space:\nnowrap; }\n.ta-editor-actions:empty { display: none; }\n.ta-editor-actions:not(:empty) ~ .ta-workbench-actions { margin-left: 0; }\n.ta-editor-actions:not(:empty)::after { content: ''; flex: none; width: 1px; height: 14px; margin: 0 4px 0 6px;\nbackground: var(--ta-border); }\n.ta-editor-tablist { flex: 0 1 auto; min-width: 0; display: flex; align-items: flex-end; align-self: stretch;\npadding-left: 8px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }\n.ta-editor-tablist::-webkit-scrollbar { display: none; }\n.ta-editor-tab { position: relative; isolation: isolate; display: flex; align-items: center; flex: 0 1 auto; min-width:\n92px; max-width: 200px; height: 34px; border: 1px solid transparent; border-bottom: 0; border-radius: 9px 9px 0 0;\ncolor: var(--ta-muted); transition: color 120ms; }\n.ta-editor-tab::after { content: ''; position: absolute; z-index: -1; inset: 3px 2px 4px; border-radius: 7px;\nbackground: var(--ta-hover); opacity: 0; transition: opacity 120ms; }\n.ta-editor-tab + .ta-editor-tab::before { content: ''; position: absolute; left: -1px; top: 10px; bottom: 10px; width:\n1px; background: var(--ta-border); transition: opacity 120ms; }\n.ta-editor-tab:hover { color: var(--ta-body); }\n.ta-editor-tab:not(.ta-active):hover::after { opacity: 1; }\n/* Short of room the tabs narrow, as a browser's, the one shown last; past their least width the strip scrolls. */\n.ta-editor-tab.ta-active { flex-shrink: 0; border-color: var(--ta-border); background: var(--ta-main); color:\nvar(--ta-text); }\n.ta-editor-tab:is(:hover, .ta-active)::before, .ta-editor-tab:is(:hover, .ta-active) +\n.ta-editor-tab:not(.ta-active)::before { opacity: 0; }\n/*\n * The card of the tab shown flares into the line under the strip at its foot, a browser's tab: a quarter ring on each\n * side, the colour of what it shows below it.\n */\n.ta-editor-tab.ta-active::before, .ta-editor-tab.ta-active::after { content: ''; position: absolute; z-index: -1; top:\nauto; right: auto; bottom: 0; width: 8px; height: 8px; border-radius: 0; opacity: 1; transition: none; }\n.ta-editor-tab.ta-active::before { left: -8px; background: radial-gradient(circle at 0 0, transparent 6.5px,\nvar(--ta-border) 7px 7.5px, var(--ta-main) 8px); }\n.ta-editor-tab.ta-active::after { left: 100%; background: radial-gradient(circle at 100% 0, transparent 6.5px,\nvar(--ta-border) 7px 7.5px, var(--ta-main) 8px); }\n.ta-editor-tab-button { display: flex; align-items: center; gap: 7px; min-width: 0; height: 100%; padding: 0 2px 0 12px;\nborder: 0; background: transparent; color: inherit; font-size: calc(13px * var(--ta-font-scale)); }\n.ta-editor-tab-button:focus-visible { outline: 1px solid var(--ta-border-focus); outline-offset: -4px; border-radius:\n8px; }\n.ta-editor-tab-button > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-editor-tab-button > :not(span:last-child) { flex: none; }\n.ta-editor-tab-close { flex: none; width: 20px; height: 20px; margin-right: 7px; display: grid; place-items: center;\nborder: 0; border-radius: 5px; background: transparent; color: inherit; opacity: 0; }\n.ta-editor-tab:hover .ta-editor-tab-close, .ta-editor-tab.ta-active .ta-editor-tab-close,\n.ta-editor-tab-close:focus-visible { opacity: 1; }\n.ta-editor-tab-close:hover { background: var(--ta-hover-strong); color: var(--ta-text); }\n.ta-context-menu { position: fixed; left: 0; top: 0; z-index: 80; min-width: 190px; max-width: 320px; display: flex;\nflex-direction: column; gap: 1px; padding: 6px; border-radius: 12px; border: 1px solid var(--ta-border); background:\nvar(--ta-side); box-shadow: var(--ta-shadow-pop); animation: ta-fade 100ms ease-out; }\n.ta-context-menu-item { display: flex; align-items: center; flex: none; height: 30px; padding: 0 10px; border: 0;\nborder-radius: 8px; background: none; color: var(--ta-text); font: inherit; font-size: calc(13px *\nvar(--ta-font-scale)); text-align: left; cursor: pointer; outline: none; }\n.ta-context-menu-item:hover:not(:disabled), .ta-context-menu-item:focus-visible { background: var(--ta-hover); }\n.ta-context-menu-item:disabled { opacity: 0.45; cursor: default; }\n.ta-context-menu-item.ta-danger { color: var(--ta-red); }\n.ta-context-menu-check { flex: none; margin-left: auto; padding-left: 12px; box-sizing: content-box; color:\nvar(--ta-brand); visibility: hidden; }\n.ta-context-menu-check.ta-on { visibility: visible; }\n/* The entry of any menu a held finger slid onto (ContextMenuUtil.attach): let go, it is chosen. */\n[role=\"menuitem\"][data-armed] { background: var(--ta-hover); }\n.ta-context-menu-line { flex: none; height: 1px; margin: 5px 8px; border: 0; background: var(--ta-border-muted); }\n.ta-context-menu-caption { flex: none; margin: 0 8px 5px; padding: 3px 2px 8px; border-bottom: 1px solid\nvar(--ta-border-muted); color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); font-variant-numeric:\ntabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n.ta-editor-tab.ta-preview .ta-editor-tab-button > span { font-style: italic; }\n.ta-editor-tab-close { position: relative; }\n.ta-editor-tab-dirty { position: absolute; inset: 0; margin: auto; width: 8px; height: 8px; border-radius: 50%;\nbackground: currentColor; }\n.ta-editor-tab.ta-dirty .ta-editor-tab-close { opacity: 1; }\n.ta-editor-tab.ta-dirty .ta-editor-tab-close > svg { visibility: hidden; }\n.ta-editor-tab.ta-dirty .ta-editor-tab-close:hover > svg, .ta-editor-tab.ta-dirty .ta-editor-tab-close:focus-visible >\nsvg { visibility: visible; }\n.ta-editor-tab.ta-dirty .ta-editor-tab-close:hover > .ta-editor-tab-dirty, .ta-editor-tab.ta-dirty\n.ta-editor-tab-close:focus-visible > .ta-editor-tab-dirty { display: none; }\n.ta-editor-body { flex: 1; min-height: 0; overflow: auto; background: var(--ta-main); }\n.ta-workbench-title { display: flex; align-items: center; height: 34px; padding: 0 6px; font-size: calc(13.5px *\nvar(--ta-font-scale)); font-weight: 600; color: var(--ta-secondary); }\n.ta-workbench-open { position: relative; display: flex; }\n.ta-workbench-menu { position: absolute; top: calc(100% + 6px); z-index: 45; width: 220px; max-height: min(440px, 70vh);\noverflow: auto; display: flex; flex-direction: column; gap: 2px; padding: 6px; border-radius: 12px; border: 1px solid\nvar(--ta-border); background: var(--ta-side); box-shadow: var(--ta-shadow-pop); animation: ta-fade 120ms ease-out; }\n.ta-workbench-menu .ta-account-item { flex: none; gap: 12px; height: 36px; padding: 0 10px; font-size: calc(13.5px *\nvar(--ta-font-scale)); color: var(--ta-body); }\n.ta-workbench-menu .ta-account-item > svg { flex: none; color: var(--ta-secondary); }\n.ta-workbench-menu .ta-account-item:focus-visible { outline: 1px solid var(--ta-border-focus); outline-offset: -1px; }\n/* Where the tools of + open: the directory of the conversation shown, as the caption of the menu. */\n.ta-workbench-menu-cwd { display: flex; align-items: center; gap: 6px; flex: none; min-width: 0; height: 30px; margin: 0\n4px 4px; padding: 0 6px 4px; border-bottom: 1px solid var(--ta-border-muted); color: var(--ta-muted); font-size:\ncalc(12px * var(--ta-font-scale)); cursor: default; }\n.ta-workbench-menu-cwd > svg { flex: none; }\n.ta-workbench-menu.ta-start { left: 0; }\n.ta-workbench-menu.ta-end { right: 0; }\n/*\n * The head of the workbench on a phone (CompactHead): back, the tab shown with how many are open, which lists\n * them under it (TabSwitcher), and +. Over what it shows: the list and the scrim it lays over the tab.\n */\n.ta-editor-head-compact { position: relative; z-index: 5; flex: none; }\n.ta-compact .ta-editor-tabs { align-items: center; gap: 2px; height: calc(52px + env(safe-area-inset-top)); padding:\nenv(safe-area-inset-top) calc(6px + env(safe-area-inset-right)) 0 calc(4px + env(safe-area-inset-left)); background:\nvar(--ta-main); box-shadow: inset 0 -1px 0 var(--ta-border-muted); }\n.ta-compact .ta-editor-tabs > .ta-icon-button, .ta-compact .ta-editor-tabs > .ta-workbench-open .ta-icon-button { width:\n40px; height: 40px; border-radius: 10px; color: var(--ta-secondary); }\n.ta-compact .ta-editor-tabs > .ta-workbench-open { flex: none; margin-left: auto; }\n.ta-compact .ta-editor-actions { height: 40px; }\n.ta-compact .ta-editor-actions:not(:empty) ~ .ta-workbench-open { margin-left: 0; }\n.ta-compact .ta-editor-actions::after { display: none; }\n.ta-compact .ta-workbench-title { flex: 1; min-width: 0; height: auto; padding: 0 6px; color: var(--ta-text); font-size:\ncalc(16px * var(--ta-font-scale)); }\n.ta-workbench-switch { flex: 0 1 auto; min-width: 0; display: flex; align-items: center; gap: 8px; height: 40px;\npadding: 0 8px 0 6px; border: 0; border-radius: 10px; background: none; color: var(--ta-text); font: inherit; font-size:\ncalc(16px * var(--ta-font-scale)); font-weight: 600; transition: background 120ms; }\n.ta-workbench-switch > :first-child { flex: none; color: var(--ta-secondary); }\n.ta-workbench-switch:active, .ta-workbench-switch.ta-on { background: var(--ta-hover); }\n.ta-workbench-switch-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-workbench-count { flex: none; min-width: calc(20px * var(--ta-font-scale)); height: calc(20px *\nvar(--ta-font-scale)); padding: 0 6px; border-radius: 999px; background: var(--ta-chip); color: var(--ta-secondary);\nfont-size: calc(12px * var(--ta-font-scale)); font-weight: 600; line-height: calc(20px * var(--ta-font-scale));\ntext-align: center; font-variant-numeric: tabular-nums; }\n.ta-workbench-switch-caret { flex: none; margin-left: -2px; color: var(--ta-muted); transition: transform 220ms\nvar(--ta-ease); }\n.ta-workbench-switch.ta-on .ta-workbench-switch-caret { transform: rotate(180deg); }\n.ta-tab-switcher-scrim { position: absolute; top: 100%; left: 0; right: 0; height: 100vh; padding: 0; border: 0;\nbackground: rgba(0, 0, 0, 0.18); animation: ta-fade 180ms ease-out; -webkit-tap-highlight-color: transparent; }\n.ta-tab-switcher { position: absolute; top: calc(100% + 6px); left: calc(8px + env(safe-area-inset-left)); right:\ncalc(8px + env(safe-area-inset-right)); display: flex; flex-direction: column; max-height: min(64vh, 520px); overflow:\nhidden; border: 1px solid var(--ta-border); border-radius: 16px; background: var(--ta-side); box-shadow:\nvar(--ta-shadow-pop); transform-origin: 50% 0; animation: ta-tabs-drop 200ms var(--ta-ease); }\n@keyframes ta-tabs-drop { from { opacity: 0; transform: translate3d(0, -6px, 0) scale(0.98); } }\n.ta-tab-switcher-head { display: flex; align-items: center; gap: 10px; flex: none; height: 44px; padding: 0 6px 0 16px;\nborder-bottom: 1px solid var(--ta-border-muted); color: var(--ta-muted); font-size: calc(13px * var(--ta-font-scale)); }\n.ta-tab-switcher-count { flex: none; font-weight: 500; color: var(--ta-secondary); }\n.ta-tab-switcher-all { flex: none; height: 32px; margin-left: auto; padding: 0 10px; border: 0; border-radius: 8px;\nbackground: none; color: var(--ta-secondary); font: inherit; font-size: calc(13px * var(--ta-font-scale)); }\n.ta-tab-switcher-all:active { background: var(--ta-hover); }\n.ta-tab-switcher-list { display: flex; flex-direction: column; gap: 2px; min-height: 0; padding: 6px; overflow-y: auto;\noverscroll-behavior: contain; }\n.ta-tab-switcher-row { display: flex; align-items: center; flex: none; min-height: 48px; border-radius: 11px;\ntransition: background 120ms; }\n.ta-tab-switcher-row.ta-active { background: var(--ta-selected); }\n.ta-tab-switcher-row:has(> .ta-tab-switcher-main:active) { background: var(--ta-hover); }\n.ta-tab-switcher-main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; height: 48px; padding: 0\n4px 0 8px; border: 0; background: none; color: var(--ta-body); font: inherit; font-size: calc(15px *\nvar(--ta-font-scale)); text-align: left; }\n.ta-tab-switcher-row.ta-active .ta-tab-switcher-main { color: var(--ta-text); font-weight: 500; }\n.ta-tab-switcher-glyph { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px;\nbackground: var(--ta-chip); color: var(--ta-secondary); }\n.ta-tab-switcher-row.ta-active .ta-tab-switcher-glyph { background: var(--ta-main); }\n.ta-tab-switcher-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-tab-switcher-title.ta-preview { font-style: italic; }\n.ta-tab-switcher-dirty { flex: none; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }\n.ta-tab-switcher-close { flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border:\n0; border-radius: 10px; background: none; color: var(--ta-muted); }\n.ta-tab-switcher-close:active { background: var(--ta-hover-strong); color: var(--ta-text); }\n.ta-workbench-launcher { flex: 1; min-height: 0; overflow: auto; display: flex; flex-direction: column; align-items:\ncenter; justify-content: safe center; padding: 32px 20px calc(32px + env(safe-area-inset-bottom)); }\n.ta-workbench-launcher > * { width: 100%; max-width: 280px; }\n.ta-workbench-launcher-head { display: flex; flex-direction: column; align-items: center; gap: 6px; max-width: 320px;\nmargin-bottom: 24px; text-align: center; }\n.ta-workbench-launcher-title { font-size: calc(14.5px * var(--ta-font-scale)); font-weight: 600; color: var(--ta-text);\n}\n.ta-workbench-launcher-hint { font-size: calc(12.5px * var(--ta-font-scale)); line-height: 1.5; color:\nvar(--ta-secondary); }\n.ta-workbench-launch { display: flex; align-items: center; gap: 12px; height: 40px; flex: none; margin-bottom: 8px;\npadding: 0 14px; border: 0; border-radius: 8px; background: transparent; color: var(--ta-body); font-size: calc(14px *\nvar(--ta-font-scale)); text-align: left; transition: background 120ms, color 120ms; }\n.ta-workbench-launch:last-child { margin-bottom: 0; }\n.ta-workbench-launch:focus-visible { outline: 1px solid var(--ta-border-focus); outline-offset: -1px; }\n.ta-workbench-launch > svg { flex: none; color: var(--ta-secondary); }\n.ta-workbench-launch:hover { background: var(--ta-hover); color: var(--ta-text); }\n/* Maximized, the workbench takes the whole window: the navigation and the conversation step aside. */\n.ta-workbench-max .ta-nav, .ta-workbench-max .ta-scrim, .ta-workbench-max .ta-main { display: none; }\n.ta-workbench-max .ta-editors { border-left: 0; }\n.ta-workbench-max .ta-editors-pane { flex: 1; width: auto; max-width: none; }\n.ta-workbench-max .ta-editors-pane > .ta-sash { display: none; }\n.ta-editor-body[hidden] { display: none; }\n@media (max-width: 860px), (max-height: 500px) and (pointer: coarse), (max-height: 500px) and (hover: none) {\n .ta-sash { display: none; }\n .ta-main { min-width: 0; }\n .ta-editors-pane { position: fixed; z-index: 36; inset: 0; width: auto; min-width: 0; max-width: none; animation:\n ta-fade 160ms; }\n .ta-editors { border-left: 0; }\n}\n";
3
3
  //# sourceMappingURL=layout.d.ts.map
@@ -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: var(--ta-page-width); 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-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-settings-files { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; min-width: 0; flex: 1; }\n.ta-settings-files li { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; min-width: 0; font-size: calc(12.5px * var(--ta-font-scale)); }\n.ta-settings-files .ta-link { font-size: inherit; overflow-wrap: anywhere; text-align: left; }\n.ta-settings-files-icon { flex: none; align-self: center; color: var(--ta-yellow); }\n.ta-settings-files-why { color: var(--ta-muted); }\n.ta-settings-files-tools { display: inline-flex; align-items: center; gap: 4px; }\n.ta-settings-files-ok { color: var(--ta-green); }\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-select:disabled { opacity: 0.5; cursor: default; }\n/* Settings \u2192 Storage: the limits of a store side by side (storage-settings.tsx); a phone gives each half the row. */\n.ta-select.ta-storage-select { width: 136px; }\n/* A row that belongs to the one above (a setting of a host): it starts under that row's label, and so does the line between them */\n.ta-setting-row.ta-inset, .ta-settings-phone .ta-setting-row.ta-inset { padding-left: var(--ta-setting-inset, 58px); }\n.ta-setting-row + .ta-setting-row.ta-inset { border-top-color: transparent; }\n.ta-setting-row + .ta-setting-row.ta-inset::after { content: ''; position: absolute; top: -1px; left: var(--ta-setting-inset, 58px); right: 0; border-top: 1px solid var(--ta-border-muted); }\n.ta-settings-phone .ta-setting-row { --ta-setting-inset: 56px; }\n.ta-select.ta-cloud-network-select { width: 176px; }\n.ta-cloud-network-hosts { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; width: 100%; }\n.ta-cloud-network-hosts textarea { width: 100%; min-height: 104px; padding: 8px 12px; resize: vertical; font-family: var(--ta-mono); font-size: calc(12px * var(--ta-font-scale)); line-height: 1.5; }\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; min-width: 120px; }\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-setting-range { width: 140px; margin: 0; accent-color: var(--ta-accent); cursor: pointer; }\n.ta-setting-range-value { min-width: 3em; text-align: right; font-size: calc(12.5px * var(--ta-font-scale)); color: var(--ta-secondary); font-variant-numeric: tabular-nums; }\n.ta-settings-phone .ta-setting-range { flex: 1; width: auto; min-width: 0; }\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: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-account-menu .ta-kbd { height: 18px; min-width: 18px; font-size: calc(10.5px * var(--ta-font-scale)); }\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-range) .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}\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: var(--ta-page-width); 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-sign-in-or { width: 100%; }\n.ta-cloud-other { align-self: center; margin-top: 2px; font-size: calc(13px * var(--ta-font-scale)); }\n.ta-cloud-entry { height: 42px; gap: 8px; font-size: calc(14.5px * var(--ta-font-scale)); }\n.ta-cloud-flow { position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; animation: ta-in 200ms var(--ta-ease) both; }\n.ta-cloud-flow h1 { margin: 4px 0 0; font-size: calc(20px * var(--ta-font-scale)); font-weight: 650; }\n.ta-cloud-flow p { margin: 0 0 4px; font-size: calc(13px * var(--ta-font-scale)); line-height: 1.55; color: var(--ta-secondary); }\n.ta-cloud-back { position: absolute; top: -6px; left: -8px; }\n.ta-cloud-top { position: fixed; z-index: 5; top: calc(8px + env(safe-area-inset-top)); left: calc(8px + env(safe-area-inset-left)); }\n.ta-cloud-top .ta-cloud-back { position: static; width: 40px; height: 40px; }\n.ta-cloud-form { width: 100%; display: flex; flex-direction: column; gap: 10px; }\n.ta-cloud-form .ta-field { height: 42px; }\n.ta-cloud-form .ta-button { height: 42px; font-size: calc(14.5px * var(--ta-font-scale)); }\n.ta-cloud-code { width: 100%; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 16px 0; border-radius: 14px; background: var(--ta-hover); font-family: var(--ta-mono); font-size: calc(28px * var(--ta-font-scale)); font-weight: 600; letter-spacing: 0.16em; font-variant-numeric: tabular-nums; color: var(--ta-text); user-select: all; }\n.ta-cloud-code > span:not(.ta-cloud-code-dash) { margin-right: -0.16em; }\n.ta-cloud-code-dash { width: 12px; height: 2px; border-radius: 1px; background: var(--ta-muted); }\n.ta-cloud-status { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 24px; font-size: calc(13px * var(--ta-font-scale)); color: var(--ta-secondary); }\n.ta-cloud-status-wait { color: var(--ta-text); }\n.ta-hosts-dialog .ta-cloud-flow { padding-top: 30px; }\n.ta-cloud-flow > .ta-callout, .ta-cloud-reach { width: 100%; }\n.ta-device-card { gap: 14px; }\n.ta-device-card .ta-sign-in-accounts { margin-top: 2px; }\n.ta-device-card .ta-sign-in-account { height: 44px; }\n.ta-device-ask { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 6px 12px; border-radius: 999px; background: var(--ta-hover); font-size: calc(13px * var(--ta-font-scale)); color: var(--ta-text); }\n.ta-device-ask svg { flex: none; color: var(--ta-secondary); }\n.ta-device-mark { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; }\n.ta-device-ok { color: var(--ta-green); background: color-mix(in srgb, var(--ta-green) 14%, transparent); }\n.ta-device-wait { color: var(--ta-yellow); background: color-mix(in srgb, var(--ta-yellow) 14%, transparent); }\n.ta-device-bad { color: var(--ta-red); background: color-mix(in srgb, var(--ta-red) 12%, transparent); }\n.ta-device-quiet { color: var(--ta-muted); background: var(--ta-hover); }\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-deploy-cloud { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; align-items: flex-start; }\n.ta-deploy-cloud > .ta-environment-own { flex-basis: 100%; }\n.ta-setting-row.ta-stacked .ta-setting-control > .ta-environment-own { flex: 1 1 100%; min-width: 0; }\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.ta-switching.ta-veil-leaving { opacity: 0; pointer-events: none; transition: opacity 220ms ease-out; }\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-step-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-picture { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 8px 0 4px; }\n.ta-picture-hint { margin: 0; max-width: 300px; text-align: center; color: var(--ta-muted); font-size: calc(13px * var(--ta-font-scale)); line-height: 1.5; }\n.ta-picture-actions { width: 100%; display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }\n.ta-picture-actions > .ta-button { height: 40px; }\n.ta-picture-actions > .ta-input { height: 40px; }\n/* The profile (profile-view.tsx): the picture, the name, then its rows */\n.ta-profile { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 6px 0 2px; }\n.ta-profile-picture { display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; }\n.ta-profile-name { max-width: 100%; margin-bottom: 6px; font-size: calc(17px * var(--ta-font-scale)); font-weight: 600; color: var(--ta-text); }\n.ta-profile .ta-list-group { width: 100%; text-align: left; }\n.ta-profile-hint { margin: 0; max-width: 320px; text-align: center; color: var(--ta-muted); font-size: calc(12.5px * var(--ta-font-scale)); line-height: 1.5; }\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-side.ta-scan-blank { visibility: hidden; }\n.ta-scan-toast { left: 50%; right: auto; width: max-content; max-width: calc(100% - 64px); padding: 8px 16px; border-radius: 18px; transform: translateX(-50%); background: rgba(0, 0, 0, 0.6); color: #fff; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); animation: ta-fade 160ms ease-out; }\n.ta-scan-instructions { flex: 1; min-width: 0; margin: 0; text-align: center; text-wrap: balance; color: rgba(255, 255, 255, 0.85); font-size: calc(15px * var(--ta-font-scale)); line-height: calc(22px * var(--ta-font-scale)); text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5); }\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-*.tsx): sections of a title over a card, rows parted by lines. */\n.ta-console-content { gap: 20px; }\n.ta-console-content > .ta-segmented { align-self: stretch; }\n.ta-console-block { display: flex; flex-direction: column; gap: 8px; min-width: 0; }\n.ta-console-section { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 24px; padding: 0 4px; }\n.ta-console-section-title { margin: 0; font-size: calc(13px * var(--ta-font-scale)); font-weight: 600; color: var(--ta-secondary); }\n.ta-console-section .ta-icon-button { width: 26px; height: 26px; }\n.ta-console-hint { margin: 0 4px; font-size: calc(12px * var(--ta-font-scale)); line-height: 1.5; color: var(--ta-muted); }\n.ta-console-card { position: relative; display: flex; flex-direction: column; min-width: 0; border-radius: 12px; border: 1px solid var(--ta-border-muted); background: var(--ta-list-cell); overflow: hidden; }\n.ta-console-card > * + *::before { content: ''; position: absolute; top: 0; right: 0; left: 14px; height: 1px; background: var(--ta-border-muted); }\n.ta-console-card > * { position: relative; }\n.ta-console-panel { gap: 12px; padding: 14px; }\n.ta-console-panel > * + *::before { display: none; }\n.ta-console-empty { margin: 0; padding: 14px; font-size: calc(13px * var(--ta-font-scale)); color: var(--ta-muted); }\n.ta-console-entry { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 9px 14px; border: 0; background: none; font: inherit; color: var(--ta-text); text-align: left; }\n.ta-console-press { cursor: pointer; transition: background 120ms; }\n.ta-console-press:hover { background: var(--ta-hover); }\n.ta-console-press:focus-visible { outline: 1px solid var(--ta-border-focus); outline-offset: -1px; }\n.ta-console-entry-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }\n.ta-console-entry-label { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: calc(14px * var(--ta-font-scale)); font-weight: 500; }\n.ta-console-entry-hint { font-size: calc(12.5px * var(--ta-font-scale)); line-height: 1.45; color: var(--ta-muted); }\n.ta-console-tile { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; background: var(--ta-hover); color: var(--ta-secondary); }\n.ta-console-side { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-size: calc(12px * var(--ta-font-scale)); font-variant-numeric: tabular-nums; color: var(--ta-secondary); }\n.ta-console-chevron { flex: none; color: var(--ta-muted); transition: transform 160ms var(--ta-ease); }\n.ta-console-chevron.ta-open { transform: rotate(90deg); }\n.ta-console-line { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 8px 14px; font-size: calc(13px * var(--ta-font-scale)); }\n.ta-console-line-detail { flex: 1; min-width: 0; color: var(--ta-muted); }\n.ta-console-time { flex: none; margin-left: auto; font-size: calc(12px * var(--ta-font-scale)); color: var(--ta-muted); font-variant-numeric: tabular-nums; }\n.ta-console-muted { color: var(--ta-muted); }\n.ta-console-mono { font-family: var(--ta-mono); font-size: calc(12.5px * var(--ta-font-scale)); }\n.ta-console-audit-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-console-audit-text strong { font-weight: 500; }\n.ta-console-fact { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding: 8px 14px; font-size: calc(13.5px * var(--ta-font-scale)); }\n.ta-console-fact > :first-child { flex: none; color: var(--ta-muted); }\n.ta-console-fact > :last-child { min-width: 0; text-align: right; font-variant-numeric: tabular-nums; }\n/* Numbers side by side: one card, parted by lines, as many columns as numbers (two rows of two on a phone). */\n.ta-console-stats { display: grid; grid-template-columns: repeat(var(--ta-console-stats, 4), minmax(0, 1fr)); border-radius: 12px; border: 1px solid var(--ta-border-muted); background: var(--ta-list-cell); overflow: hidden; }\n.ta-console-stat { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; padding: 14px 16px; border: 0; background: none; font: inherit; color: inherit; text-align: left; }\n.ta-console-stat + .ta-console-stat { box-shadow: inset 1px 0 var(--ta-border-muted); }\nbutton.ta-console-stat { cursor: pointer; transition: background 120ms; }\nbutton.ta-console-stat:hover { background: var(--ta-hover); }\n.ta-console-stat-value { font-size: calc(24px * var(--ta-font-scale)); font-weight: 600; line-height: 1.15; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }\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-value.ta-bad { color: var(--ta-red); }\n.ta-console-stat-label { font-size: calc(12px * var(--ta-font-scale)); color: var(--ta-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }\n/* Faces: the account's avatar, a dot on it while its Ta runs, starts or failed. */\n.ta-console-face { position: relative; flex: none; display: inline-flex; }\n.ta-console-avatar { width: 36px; height: 36px; flex: none; border-radius: 50%; object-fit: cover; }\n.ta-console-avatar.ta-chat-avatar { font-size: 15px; }\n.ta-console-avatar-large { width: 56px; height: 56px; }\n.ta-console-avatar-large.ta-chat-avatar { font-size: 22px; }\n.ta-console-face > .ta-console-dot { position: absolute; right: -1px; bottom: -1px; width: 11px; height: 11px; box-sizing: border-box; border: 2px solid var(--ta-list-cell); }\n.ta-console-face.ta-large > .ta-console-dot { right: 1px; bottom: 1px; width: 15px; height: 15px; border-width: 3px; border-color: var(--ta-list-bg); }\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.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@keyframes ta-console-pulse { 50% { opacity: 0.35; } }\n.ta-console-chip { flex: none; display: inline-flex; align-items: center; height: 18px; padding: 0 7px; border-radius: 999px; background: var(--ta-chip); font-size: calc(11px * var(--ta-font-scale)); font-weight: 500; color: var(--ta-secondary); }\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/* Bars and meters */\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 > span.ta-part { background: var(--ta-blue); }\n.ta-console-bar-small { width: 56px; height: 4px; }\n.ta-console-meter { display: flex; flex-direction: column; gap: 7px; padding: 12px 14px; }\n.ta-console-meter-text { display: flex; justify-content: space-between; gap: 12px; font-size: calc(14px * var(--ta-font-scale)); }\n.ta-console-meter-value { font-variant-numeric: tabular-nums; color: var(--ta-secondary); text-align: right; }\n.ta-console-meter-hint { font-size: calc(12px * var(--ta-font-scale)); color: var(--ta-muted); }\n/* A value on the right of a row that opens a menu of what it may be. */\n.ta-console-value { flex: none; max-width: 55%; display: inline-flex; align-items: center; gap: 4px; font-size: calc(13.5px * var(--ta-font-scale)); font-variant-numeric: tabular-nums; color: var(--ta-text); }\n.ta-console-value.ta-muted { color: var(--ta-muted); }\n.ta-console-pick { position: relative; height: 30px; margin-right: -8px; padding: 0 8px 0 10px; border: 0; border-radius: 8px; background: none; font: inherit; cursor: pointer; }\n.ta-console-pick:hover { background: var(--ta-hover); }\n.ta-console-pick > svg { flex: none; color: var(--ta-muted); }\n/* The person at the head of an account, and what can be done to it: tiles side by side, as the actions of a contact. */\n.ta-console-person { display: flex; align-items: center; gap: 14px; padding: 2px 4px; }\n.ta-console-person-text { min-width: 0; display: flex; flex-direction: column; gap: 2px; }\n.ta-console-person-name { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: calc(18px * var(--ta-font-scale)); font-weight: 600; }\n.ta-console-actions { display: grid; grid-template-columns: repeat(var(--ta-console-actions, 4), minmax(0, 1fr)); gap: 8px; }\n.ta-console-action { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-width: 0; height: 64px; padding: 0 6px; border-radius: 12px; 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-text); cursor: pointer; transition: background 120ms; }\n.ta-console-action:hover:not(:disabled) { background: var(--ta-hover); }\n.ta-console-action:disabled { opacity: 0.45; cursor: default; }\n.ta-console-action.ta-danger { color: var(--ta-red); }\n.ta-console-action-icon { position: relative; display: grid; place-items: center; color: var(--ta-secondary); }\n.ta-console-action.ta-danger .ta-console-action-icon { color: inherit; }\n.ta-console-action.ta-busy .ta-console-action-icon > svg { visibility: hidden; }\n/* Accounts: search and invite in a row, filters and sort under them. */\n.ta-console-toolbar { display: flex; gap: 8px; }\n.ta-console-search { flex: 1; }\n.ta-console-toolbar .ta-button { height: 36px; flex: none; }\n.ta-console-filters { display: flex; align-items: center; gap: 8px; margin-top: -8px; }\n.ta-console-chips { flex: 1; min-width: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }\n.ta-console-chips::-webkit-scrollbar { display: none; }\n.ta-console-chip-toggle { flex: none; 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); cursor: pointer; }\n.ta-console-chip-toggle:hover { color: var(--ta-text); }\n.ta-console-chip-toggle.ta-on { border-color: transparent; background: var(--ta-text); color: var(--ta-list-bg); font-weight: 500; }\n.ta-console-chip-count { font-variant-numeric: tabular-nums; opacity: 0.6; }\n.ta-console-sort { flex: none; display: inline-flex; align-items: center; gap: 2px; height: 28px; padding: 0 4px 0 8px; border: 0; border-radius: 8px; background: none; font: inherit; font-size: calc(12.5px * var(--ta-font-scale)); color: var(--ta-secondary); cursor: pointer; }\n.ta-console-sort:hover { background: var(--ta-hover); color: var(--ta-text); }\n.ta-console-sort-mark { transform: rotate(90deg); color: var(--ta-muted); }\n.ta-console-invite { gap: 8px; padding: 14px; }\n.ta-console-invite > * + *::before { display: none; }\n.ta-console-link { padding: 8px 10px; border-radius: 8px; background: var(--ta-code); word-break: break-all; user-select: all; }\n.ta-console-buttons { display: flex; justify-content: flex-end; gap: 8px; }\n.ta-console-command { min-height: 48px; gap: 10px; color: var(--ta-text); }\n.ta-console-command > svg { flex: none; color: var(--ta-secondary); }\n.ta-console-command.ta-danger, .ta-console-command.ta-danger > svg { color: var(--ta-red); }\n.ta-console-command:disabled { opacity: 0.45; cursor: default; }\n.ta-console-copy { display: flex; align-items: center; gap: 8px; min-width: 0; }\n.ta-console-copy > code { flex: 1; min-width: 0; }\n/* Agents and what they did */\n.ta-console-item { position: relative; }\n.ta-console-activity { display: flex; flex-direction: column; gap: 2px; padding: 0 14px 12px 33px; }\n.ta-console-activity-summary { padding-bottom: 4px; font-size: calc(12px * var(--ta-font-scale)); color: var(--ta-muted); }\n.ta-console-activity-empty { margin: 0; padding: 0 14px 12px 33px; font-size: calc(12.5px * var(--ta-font-scale)); color: var(--ta-muted); }\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-error { flex: 1; min-width: 0; color: var(--ta-red); }\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; }\n.ta-console-hosts { width: 100%; min-height: 84px; padding: 8px 10px; resize: vertical; font-family: var(--ta-mono); font-size: calc(12.5px * var(--ta-font-scale)); line-height: 1.5; }\n/* Usage over time */\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(24px * var(--ta-font-scale)); font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1.15; }\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-wait { display: flex; flex-direction: column; height: 160px; }\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-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-share-label { min-width: 0; }\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; cursor: pointer; }\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-foot { margin: 4px 0 0; text-align: center; font-size: calc(12px * var(--ta-font-scale)); color: var(--ta-muted); }\n.ta-console .ta-phone-stack-top { background: var(--ta-list-bg); }\n.ta-setting-row .ta-console-card { width: 100%; }\n@media (max-width: 860px), (max-height: 500px) and (pointer: coarse) {\n .ta-console-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }\n .ta-console-stat:nth-child(odd) { box-shadow: none; }\n .ta-console-stat:nth-child(n + 3) { border-top: 1px solid var(--ta-border-muted); }\n .ta-console-stat:nth-child(even) { box-shadow: inset 1px 0 var(--ta-border-muted); }\n .ta-console-actions { grid-template-columns: repeat(min(var(--ta-console-actions, 4), 4), minmax(0, 1fr)); }\n .ta-console-share { grid-template-columns: minmax(0, 1fr) 64px 56px; }\n .ta-console-card-controls { width: 100%; display: grid; grid-template-columns: 2fr 3fr; }\n .ta-console-card-controls .ta-segmented button { padding: 0 4px; }\n .ta-console-entry { min-height: 56px; }\n .ta-console-entry-label { font-size: calc(15px * var(--ta-font-scale)); }\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: var(--ta-page-width); 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-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-settings-files { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; min-width: 0; flex: 1; }\n.ta-settings-files li { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; min-width: 0; font-size: calc(12.5px * var(--ta-font-scale)); }\n.ta-settings-files .ta-link { font-size: inherit; overflow-wrap: anywhere; text-align: left; }\n.ta-settings-files-icon { flex: none; align-self: center; color: var(--ta-yellow); }\n.ta-settings-files-why { color: var(--ta-muted); }\n.ta-settings-files-tools { display: inline-flex; align-items: center; gap: 4px; }\n.ta-settings-files-ok { color: var(--ta-green); }\n/* A field in a row of the settings: its look is .ta-input's, its width the row's. */\n.ta-setting-control > :is(.ta-select, .ta-setting-input, .ta-model-field) { width: 200px; }\n.ta-setting-control .ta-model-field { height: var(--ta-input-height); padding: 0 8px; font-size: var(--ta-input-font); }\n/* Settings \u2192 Storage: the limits of a store side by side (storage-settings.tsx); a phone gives each half the row. */\n.ta-select.ta-storage-select { width: 136px; }\n/* A row that belongs to the one above (a setting of a host): it starts under that row's label, and so does the line between them */\n.ta-setting-row.ta-inset, .ta-settings-phone .ta-setting-row.ta-inset { padding-left: var(--ta-setting-inset, 58px); }\n.ta-setting-row + .ta-setting-row.ta-inset { border-top-color: transparent; }\n.ta-setting-row + .ta-setting-row.ta-inset::after { content: ''; position: absolute; top: -1px; left: var(--ta-setting-inset, 58px); right: 0; border-top: 1px solid var(--ta-border-muted); }\n.ta-settings-phone .ta-setting-row { --ta-setting-inset: 56px; }\n.ta-select.ta-cloud-network-select { width: 176px; }\n.ta-cloud-network-hosts { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; width: 100%; }\n.ta-cloud-network-hosts textarea { min-height: 104px; }\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; min-width: 120px; }\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-setting-range { width: 140px; margin: 0; accent-color: var(--ta-accent); cursor: pointer; }\n.ta-setting-range-value { min-width: 3em; text-align: right; font-size: calc(12.5px * var(--ta-font-scale)); color: var(--ta-secondary); font-variant-numeric: tabular-nums; }\n.ta-settings-phone .ta-setting-range { flex: 1; width: auto; min-width: 0; }\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: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-account-menu .ta-kbd { height: 18px; min-width: 18px; font-size: calc(10.5px * var(--ta-font-scale)); }\n@media (max-width: 860px), (max-height: 500px) and (pointer: coarse), (max-height: 500px) and (hover: none) {\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-range) .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}\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: var(--ta-page-width); 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: var(--ta-input-large); border-radius: 10px; }\n.ta-host-form .ta-button { height: var(--ta-input-large); 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-sign-in-or { width: 100%; }\n.ta-cloud-other { align-self: center; margin-top: 2px; font-size: calc(13px * var(--ta-font-scale)); }\n.ta-cloud-entry { height: 42px; gap: 8px; font-size: calc(14.5px * var(--ta-font-scale)); }\n.ta-cloud-flow { position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; animation: ta-in 200ms var(--ta-ease) both; }\n.ta-cloud-flow h1 { margin: 4px 0 0; font-size: calc(20px * var(--ta-font-scale)); font-weight: 650; }\n.ta-cloud-flow p { margin: 0 0 4px; font-size: calc(13px * var(--ta-font-scale)); line-height: 1.55; color: var(--ta-secondary); }\n.ta-cloud-back { position: absolute; top: -6px; left: -8px; }\n.ta-cloud-top { position: fixed; z-index: 5; top: calc(8px + env(safe-area-inset-top)); left: calc(8px + env(safe-area-inset-left)); }\n.ta-cloud-top .ta-cloud-back { position: static; width: 40px; height: 40px; }\n.ta-cloud-form { width: 100%; display: flex; flex-direction: column; gap: 10px; }\n.ta-cloud-form .ta-field { height: var(--ta-input-large); border-radius: 10px; }\n.ta-cloud-form .ta-button { height: var(--ta-input-large); font-size: calc(14.5px * var(--ta-font-scale)); }\n.ta-cloud-code { width: 100%; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 16px 0; border-radius: 14px; background: var(--ta-hover); font-family: var(--ta-mono); font-size: calc(28px * var(--ta-font-scale)); font-weight: 600; letter-spacing: 0.16em; font-variant-numeric: tabular-nums; color: var(--ta-text); user-select: all; }\n.ta-cloud-code > span:not(.ta-cloud-code-dash) { margin-right: -0.16em; }\n.ta-cloud-code-dash { width: 12px; height: 2px; border-radius: 1px; background: var(--ta-muted); }\n.ta-cloud-status { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 24px; font-size: calc(13px * var(--ta-font-scale)); color: var(--ta-secondary); }\n.ta-cloud-status-wait { color: var(--ta-text); }\n.ta-hosts-dialog .ta-cloud-flow { padding-top: 30px; }\n.ta-cloud-flow > .ta-callout, .ta-cloud-reach { width: 100%; }\n.ta-device-card { gap: 14px; }\n.ta-device-card .ta-sign-in-accounts { margin-top: 2px; }\n.ta-device-card .ta-sign-in-account { height: 44px; }\n.ta-device-ask { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 6px 12px; border-radius: 999px; background: var(--ta-hover); font-size: calc(13px * var(--ta-font-scale)); color: var(--ta-text); }\n.ta-device-ask svg { flex: none; color: var(--ta-secondary); }\n.ta-device-mark { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; }\n.ta-device-ok { color: var(--ta-green); background: color-mix(in srgb, var(--ta-green) 14%, transparent); }\n.ta-device-wait { color: var(--ta-yellow); background: color-mix(in srgb, var(--ta-yellow) 14%, transparent); }\n.ta-device-bad { color: var(--ta-red); background: color-mix(in srgb, var(--ta-red) 12%, transparent); }\n.ta-device-quiet { color: var(--ta-muted); background: var(--ta-hover); }\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-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-deploy-cloud { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; align-items: flex-start; }\n.ta-deploy-cloud > .ta-environment-own { flex-basis: 100%; }\n.ta-setting-row.ta-stacked .ta-setting-control > .ta-environment-own { flex: 1 1 100%; min-width: 0; }\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.ta-switching.ta-veil-leaving { opacity: 0; pointer-events: none; transition: opacity 220ms ease-out; }\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), (max-height: 500px) and (hover: none) {\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-step-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-picture { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 8px 0 4px; }\n.ta-picture-hint { margin: 0; max-width: 300px; text-align: center; color: var(--ta-muted); font-size: calc(13px * var(--ta-font-scale)); line-height: 1.5; }\n.ta-picture-actions { width: 100%; display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }\n.ta-picture-actions > .ta-button { height: var(--ta-input-large); }\n.ta-picture-actions > .ta-input { height: var(--ta-input-large); border-radius: 10px; }\n/* The profile (profile-view.tsx): the picture, the name, then its rows */\n.ta-profile { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 6px 0 2px; }\n.ta-profile-picture { display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; }\n.ta-profile-name { max-width: 100%; margin-bottom: 6px; font-size: calc(17px * var(--ta-font-scale)); font-weight: 600; color: var(--ta-text); }\n.ta-profile .ta-list-group { width: 100%; text-align: left; }\n.ta-profile-hint { margin: 0; max-width: 320px; text-align: center; color: var(--ta-muted); font-size: calc(12.5px * var(--ta-font-scale)); line-height: 1.5; }\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-side.ta-scan-blank { visibility: hidden; }\n.ta-scan-toast { left: 50%; right: auto; width: max-content; max-width: calc(100% - 64px); padding: 8px 16px; border-radius: 18px; transform: translateX(-50%); background: rgba(0, 0, 0, 0.6); color: #fff; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); animation: ta-fade 160ms ease-out; }\n.ta-scan-instructions { flex: 1; min-width: 0; margin: 0; text-align: center; text-wrap: balance; color: rgba(255, 255, 255, 0.85); font-size: calc(15px * var(--ta-font-scale)); line-height: calc(22px * var(--ta-font-scale)); text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5); }\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-models { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: var(--ta-input-height); box-sizing: border-box; padding: 3px 6px; border: 1px solid var(--ta-border-field); border-radius: 8px; background: var(--ta-input); transition: border-color 120ms, box-shadow 120ms; }\n.ta-custom-models:focus-within { border-color: var(--ta-border-focus); box-shadow: 0 0 0 3px var(--ta-input-ring); }\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: 24px; border: 0; outline: none; background: transparent; color: var(--ta-text); font: inherit; font-size: var(--ta-input-font); }\n.ta-custom-model-input::placeholder { color: var(--ta-muted); }\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-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-header { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr) 28px; gap: 6px; align-items: center; }\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), (max-height: 500px) and (hover: none) {\n .ta-custom-actions .ta-button { flex: 1; }\n}\n/* The console of a gateway (gateway/console-*.tsx): sections of a title over a card, rows parted by lines. */\n.ta-console-content { gap: 20px; }\n.ta-console-content > .ta-segmented { align-self: stretch; }\n.ta-console-block { display: flex; flex-direction: column; gap: 8px; min-width: 0; }\n.ta-console-section { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 24px; padding: 0 4px; }\n.ta-console-section-title { margin: 0; font-size: calc(13px * var(--ta-font-scale)); font-weight: 600; color: var(--ta-secondary); }\n.ta-console-section .ta-icon-button { width: 26px; height: 26px; }\n.ta-console-hint { margin: 0 4px; font-size: calc(12px * var(--ta-font-scale)); line-height: 1.5; color: var(--ta-muted); }\n.ta-console-card { position: relative; display: flex; flex-direction: column; min-width: 0; border-radius: 12px; border: 1px solid var(--ta-border-muted); background: var(--ta-list-cell); overflow: hidden; }\n.ta-console-card > * + *::before { content: ''; position: absolute; top: 0; right: 0; left: 14px; height: 1px; background: var(--ta-border-muted); }\n.ta-console-card > * { position: relative; }\n.ta-console-panel { gap: 12px; padding: 14px; }\n.ta-console-panel > * + *::before { display: none; }\n.ta-console-empty { margin: 0; padding: 14px; font-size: calc(13px * var(--ta-font-scale)); color: var(--ta-muted); }\n.ta-console-entry { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 9px 14px; border: 0; background: none; font: inherit; color: var(--ta-text); text-align: left; }\n.ta-console-press { cursor: pointer; transition: background 120ms; }\n.ta-console-press:hover { background: var(--ta-hover); }\n.ta-console-press:focus-visible { outline: 1px solid var(--ta-border-focus); outline-offset: -1px; }\n.ta-console-entry-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }\n.ta-console-entry-label { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: calc(14px * var(--ta-font-scale)); font-weight: 500; }\n.ta-console-entry-hint { font-size: calc(12.5px * var(--ta-font-scale)); line-height: 1.45; color: var(--ta-muted); }\n.ta-console-tile { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; background: var(--ta-hover); color: var(--ta-secondary); }\n.ta-console-side { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-size: calc(12px * var(--ta-font-scale)); font-variant-numeric: tabular-nums; color: var(--ta-secondary); }\n.ta-console-chevron { flex: none; color: var(--ta-muted); transition: transform 160ms var(--ta-ease); }\n.ta-console-chevron.ta-open { transform: rotate(90deg); }\n.ta-console-line { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 8px 14px; font-size: calc(13px * var(--ta-font-scale)); }\n.ta-console-line-detail { flex: 1; min-width: 0; color: var(--ta-muted); }\n.ta-console-time { flex: none; margin-left: auto; font-size: calc(12px * var(--ta-font-scale)); color: var(--ta-muted); font-variant-numeric: tabular-nums; }\n.ta-console-muted { color: var(--ta-muted); }\n.ta-console-mono { font-family: var(--ta-mono); font-size: calc(12.5px * var(--ta-font-scale)); }\n.ta-console-audit-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-console-audit-text strong { font-weight: 500; }\n.ta-console-fact { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding: 8px 14px; font-size: calc(13.5px * var(--ta-font-scale)); }\n.ta-console-fact > :first-child { flex: none; color: var(--ta-muted); }\n.ta-console-fact > :last-child { min-width: 0; text-align: right; font-variant-numeric: tabular-nums; }\n/* Numbers side by side: one card, parted by lines, as many columns as numbers (two rows of two on a phone). */\n.ta-console-stats { display: grid; grid-template-columns: repeat(var(--ta-console-stats, 4), minmax(0, 1fr)); border-radius: 12px; border: 1px solid var(--ta-border-muted); background: var(--ta-list-cell); overflow: hidden; }\n.ta-console-stat { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; padding: 14px 16px; border: 0; background: none; font: inherit; color: inherit; text-align: left; }\n.ta-console-stat + .ta-console-stat { box-shadow: inset 1px 0 var(--ta-border-muted); }\nbutton.ta-console-stat { cursor: pointer; transition: background 120ms; }\nbutton.ta-console-stat:hover { background: var(--ta-hover); }\n.ta-console-stat-value { font-size: calc(24px * var(--ta-font-scale)); font-weight: 600; line-height: 1.15; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }\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-value.ta-bad { color: var(--ta-red); }\n.ta-console-stat-label { font-size: calc(12px * var(--ta-font-scale)); color: var(--ta-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }\n/* Faces: the account's avatar, a dot on it while its Ta runs, starts or failed. */\n.ta-console-face { position: relative; flex: none; display: inline-flex; }\n.ta-console-avatar { width: 36px; height: 36px; flex: none; border-radius: 50%; object-fit: cover; }\n.ta-console-avatar.ta-chat-avatar { font-size: 15px; }\n.ta-console-avatar-large { width: 56px; height: 56px; }\n.ta-console-avatar-large.ta-chat-avatar { font-size: 22px; }\n.ta-console-face > .ta-console-dot { position: absolute; right: -1px; bottom: -1px; width: 11px; height: 11px; box-sizing: border-box; border: 2px solid var(--ta-list-cell); }\n.ta-console-face.ta-large > .ta-console-dot { right: 1px; bottom: 1px; width: 15px; height: 15px; border-width: 3px; border-color: var(--ta-list-bg); }\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.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@keyframes ta-console-pulse { 50% { opacity: 0.35; } }\n.ta-console-chip { flex: none; display: inline-flex; align-items: center; height: 18px; padding: 0 7px; border-radius: 999px; background: var(--ta-chip); font-size: calc(11px * var(--ta-font-scale)); font-weight: 500; color: var(--ta-secondary); }\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/* Bars and meters */\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 > span.ta-part { background: var(--ta-blue); }\n.ta-console-bar-small { width: 56px; height: 4px; }\n.ta-console-meter { display: flex; flex-direction: column; gap: 7px; padding: 12px 14px; }\n.ta-console-meter-text { display: flex; justify-content: space-between; gap: 12px; font-size: calc(14px * var(--ta-font-scale)); }\n.ta-console-meter-value { font-variant-numeric: tabular-nums; color: var(--ta-secondary); text-align: right; }\n.ta-console-meter-hint { font-size: calc(12px * var(--ta-font-scale)); color: var(--ta-muted); }\n/* A value on the right of a row that opens a menu of what it may be. */\n.ta-console-value { flex: none; max-width: 55%; display: inline-flex; align-items: center; gap: 4px; font-size: calc(13.5px * var(--ta-font-scale)); font-variant-numeric: tabular-nums; color: var(--ta-text); }\n.ta-console-value.ta-muted { color: var(--ta-muted); }\n.ta-console-pick { position: relative; height: 30px; margin-right: -8px; padding: 0 8px 0 10px; border: 0; border-radius: 8px; background: none; font: inherit; cursor: pointer; }\n.ta-console-pick:hover { background: var(--ta-hover); }\n.ta-console-pick > svg { flex: none; color: var(--ta-muted); }\n/* The person at the head of an account, and what can be done to it: tiles side by side, as the actions of a contact. */\n.ta-console-person { display: flex; align-items: center; gap: 14px; padding: 2px 4px; }\n.ta-console-person-text { min-width: 0; display: flex; flex-direction: column; gap: 2px; }\n.ta-console-person-name { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: calc(18px * var(--ta-font-scale)); font-weight: 600; }\n.ta-console-actions { display: grid; grid-template-columns: repeat(var(--ta-console-actions, 4), minmax(0, 1fr)); gap: 8px; }\n.ta-console-action { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-width: 0; height: 64px; padding: 0 6px; border-radius: 12px; 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-text); cursor: pointer; transition: background 120ms; }\n.ta-console-action:hover:not(:disabled) { background: var(--ta-hover); }\n.ta-console-action:disabled { opacity: 0.45; cursor: default; }\n.ta-console-action.ta-danger { color: var(--ta-red); }\n.ta-console-action-icon { position: relative; display: grid; place-items: center; color: var(--ta-secondary); }\n.ta-console-action.ta-danger .ta-console-action-icon { color: inherit; }\n.ta-console-action.ta-busy .ta-console-action-icon > svg { visibility: hidden; }\n/* Accounts: search and invite in a row, filters and sort under them. */\n.ta-console-toolbar { display: flex; gap: 8px; }\n.ta-console-search { flex: 1; }\n.ta-console-toolbar .ta-button { height: 36px; flex: none; }\n.ta-console-filters { display: flex; align-items: center; gap: 8px; margin-top: -8px; }\n.ta-console-chips { flex: 1; min-width: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }\n.ta-console-chips::-webkit-scrollbar { display: none; }\n.ta-console-chip-toggle { flex: none; 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); cursor: pointer; }\n.ta-console-chip-toggle:hover { color: var(--ta-text); }\n.ta-console-chip-toggle.ta-on { border-color: transparent; background: var(--ta-text); color: var(--ta-list-bg); font-weight: 500; }\n.ta-console-chip-count { font-variant-numeric: tabular-nums; opacity: 0.6; }\n.ta-console-sort { flex: none; display: inline-flex; align-items: center; gap: 2px; height: 28px; padding: 0 4px 0 8px; border: 0; border-radius: 8px; background: none; font: inherit; font-size: calc(12.5px * var(--ta-font-scale)); color: var(--ta-secondary); cursor: pointer; }\n.ta-console-sort:hover { background: var(--ta-hover); color: var(--ta-text); }\n.ta-console-sort-mark { transform: rotate(90deg); color: var(--ta-muted); }\n.ta-console-invite { gap: 8px; padding: 14px; }\n.ta-console-invite > * + *::before { display: none; }\n.ta-console-link { padding: 8px 10px; border-radius: 8px; background: var(--ta-code); word-break: break-all; user-select: all; }\n.ta-console-buttons { display: flex; justify-content: flex-end; gap: 8px; }\n.ta-console-command { min-height: 48px; gap: 10px; color: var(--ta-text); }\n.ta-console-command > svg { flex: none; color: var(--ta-secondary); }\n.ta-console-command.ta-danger, .ta-console-command.ta-danger > svg { color: var(--ta-red); }\n.ta-console-command:disabled { opacity: 0.45; cursor: default; }\n.ta-console-copy { display: flex; align-items: center; gap: 8px; min-width: 0; }\n.ta-console-copy > code { flex: 1; min-width: 0; }\n/* Agents and what they did */\n.ta-console-item { position: relative; }\n.ta-console-activity { display: flex; flex-direction: column; gap: 2px; padding: 0 14px 12px 33px; }\n.ta-console-activity-summary { padding-bottom: 4px; font-size: calc(12px * var(--ta-font-scale)); color: var(--ta-muted); }\n.ta-console-activity-empty { margin: 0; padding: 0 14px 12px 33px; font-size: calc(12.5px * var(--ta-font-scale)); color: var(--ta-muted); }\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-error { flex: 1; min-width: 0; color: var(--ta-red); }\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; }\n.ta-console-hosts { width: 100%; min-height: 84px; padding: 8px 10px; resize: vertical; font-family: var(--ta-mono); font-size: calc(12.5px * var(--ta-font-scale)); line-height: 1.5; }\n/* Usage over time */\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(24px * var(--ta-font-scale)); font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1.15; }\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-wait { display: flex; flex-direction: column; height: 160px; }\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-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-share-label { min-width: 0; }\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; cursor: pointer; }\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-foot { margin: 4px 0 0; text-align: center; font-size: calc(12px * var(--ta-font-scale)); color: var(--ta-muted); }\n.ta-console .ta-phone-stack-top { background: var(--ta-list-bg); }\n.ta-setting-row .ta-console-card { width: 100%; }\n@media (max-width: 860px), (max-height: 500px) and (pointer: coarse), (max-height: 500px) and (hover: none) {\n .ta-console-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }\n .ta-console-stat:nth-child(odd) { box-shadow: none; }\n .ta-console-stat:nth-child(n + 3) { border-top: 1px solid var(--ta-border-muted); }\n .ta-console-stat:nth-child(even) { box-shadow: inset 1px 0 var(--ta-border-muted); }\n .ta-console-actions { grid-template-columns: repeat(min(var(--ta-console-actions, 4), 4), minmax(0, 1fr)); }\n .ta-console-share { grid-template-columns: minmax(0, 1fr) 64px 56px; }\n .ta-console-card-controls { width: 100%; display: grid; grid-template-columns: 2fr 3fr; }\n .ta-console-card-controls .ta-segmented button { padding: 0 4px; }\n .ta-console-entry { min-height: 56px; }\n .ta-console-entry-label { font-size: calc(15px * var(--ta-font-scale)); }\n}\n";
3
3
  //# sourceMappingURL=pages.d.ts.map
@@ -47,9 +47,9 @@ exports.PAGES_STYLE = `
47
47
  .ta-settings-files-why { color: var(--ta-muted); }
48
48
  .ta-settings-files-tools { display: inline-flex; align-items: center; gap: 4px; }
49
49
  .ta-settings-files-ok { color: var(--ta-green); }
50
- .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; }
51
- .ta-select { appearance: auto; cursor: pointer; }
52
- .ta-select:disabled { opacity: 0.5; cursor: default; }
50
+ /* A field in a row of the settings: its look is .ta-input's, its width the row's. */
51
+ .ta-setting-control > :is(.ta-select, .ta-setting-input, .ta-model-field) { width: 200px; }
52
+ .ta-setting-control .ta-model-field { height: var(--ta-input-height); padding: 0 8px; font-size: var(--ta-input-font); }
53
53
  /* Settings → Storage: the limits of a store side by side (storage-settings.tsx); a phone gives each half the row. */
54
54
  .ta-select.ta-storage-select { width: 136px; }
55
55
  /* A row that belongs to the one above (a setting of a host): it starts under that row's label, and so does the line between them */
@@ -59,8 +59,7 @@ exports.PAGES_STYLE = `
59
59
  .ta-settings-phone .ta-setting-row { --ta-setting-inset: 56px; }
60
60
  .ta-select.ta-cloud-network-select { width: 176px; }
61
61
  .ta-cloud-network-hosts { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; width: 100%; }
62
- .ta-cloud-network-hosts textarea { width: 100%; min-height: 104px; padding: 8px 12px; resize: vertical; font-family: var(--ta-mono); font-size: calc(12px * var(--ta-font-scale)); line-height: 1.5; }
63
- .ta-setting-input::placeholder { color: var(--ta-muted); }
62
+ .ta-cloud-network-hosts textarea { min-height: 104px; }
64
63
  /* The settings of a phone (PhoneSettings): the sections listed as Me's rows, each a page of grouped rows. */
65
64
  .ta-head-balance { flex: none; width: 32px; }
66
65
  .ta-settings-phone > .ta-list-head { padding-left: calc(6px + env(safe-area-inset-left)); padding-right: calc(6px + env(safe-area-inset-right)); }
@@ -152,8 +151,8 @@ exports.PAGES_STYLE = `
152
151
  .ta-host-actions { display: flex; gap: 8px; }
153
152
  .ta-host-actions .ta-button { flex: 1; height: 40px; justify-content: center; gap: 6px; }
154
153
  .ta-host-form { display: flex; gap: 8px; width: 100%; animation: ta-in 200ms var(--ta-ease) both; }
155
- .ta-host-form .ta-field { flex: 1; height: 40px; }
156
- .ta-host-form .ta-button { height: 40px; min-width: 72px; justify-content: center; }
154
+ .ta-host-form .ta-field { flex: 1; height: var(--ta-input-large); border-radius: 10px; }
155
+ .ta-host-form .ta-button { height: var(--ta-input-large); min-width: 72px; justify-content: center; }
157
156
  .ta-scan-button { height: 46px; gap: 8px; font-size: calc(15px * var(--ta-font-scale)); justify-content: center; }
158
157
  .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); }
159
158
  .ta-link-button:hover { color: var(--ta-text); }
@@ -167,8 +166,8 @@ exports.PAGES_STYLE = `
167
166
  .ta-cloud-top { position: fixed; z-index: 5; top: calc(8px + env(safe-area-inset-top)); left: calc(8px + env(safe-area-inset-left)); }
168
167
  .ta-cloud-top .ta-cloud-back { position: static; width: 40px; height: 40px; }
169
168
  .ta-cloud-form { width: 100%; display: flex; flex-direction: column; gap: 10px; }
170
- .ta-cloud-form .ta-field { height: 42px; }
171
- .ta-cloud-form .ta-button { height: 42px; font-size: calc(14.5px * var(--ta-font-scale)); }
169
+ .ta-cloud-form .ta-field { height: var(--ta-input-large); border-radius: 10px; }
170
+ .ta-cloud-form .ta-button { height: var(--ta-input-large); font-size: calc(14.5px * var(--ta-font-scale)); }
172
171
  .ta-cloud-code { width: 100%; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 16px 0; border-radius: 14px; background: var(--ta-hover); font-family: var(--ta-mono); font-size: calc(28px * var(--ta-font-scale)); font-weight: 600; letter-spacing: 0.16em; font-variant-numeric: tabular-nums; color: var(--ta-text); user-select: all; }
173
172
  .ta-cloud-code > span:not(.ta-cloud-code-dash) { margin-right: -0.16em; }
174
173
  .ta-cloud-code-dash { width: 12px; height: 2px; border-radius: 1px; background: var(--ta-muted); }
@@ -205,10 +204,6 @@ exports.PAGES_STYLE = `
205
204
  .ta-sign-in-callbacks { display: flex; flex-direction: column; gap: 6px; width: 100%; min-width: 0; }
206
205
  .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); }
207
206
  .ta-sign-in-callback code { flex: 1; min-width: 0; font-size: calc(12.5px * var(--ta-font-scale)); }
208
- .ta-sign-in-form { display: flex; flex-direction: column; gap: 10px; width: 100%; }
209
- .ta-sign-in-field { display: flex; flex-direction: column; gap: 4px; font-size: calc(12.5px * var(--ta-font-scale)); color: var(--ta-muted); }
210
- .ta-sign-in-field .ta-input { height: 32px; }
211
- .ta-sign-in-actions { display: flex; justify-content: flex-end; gap: 8px; }
212
207
  .ta-environment-chooser { display: flex; flex-direction: column; gap: 10px; width: 100%; text-align: left; }
213
208
  .ta-environment-own { display: flex; flex-direction: column; gap: 8px; animation: ta-in 200ms var(--ta-ease) both; }
214
209
  .ta-environment-own .ta-button { align-self: flex-end; }
@@ -240,8 +235,8 @@ exports.PAGES_STYLE = `
240
235
  .ta-picture { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 8px 0 4px; }
241
236
  .ta-picture-hint { margin: 0; max-width: 300px; text-align: center; color: var(--ta-muted); font-size: calc(13px * var(--ta-font-scale)); line-height: 1.5; }
242
237
  .ta-picture-actions { width: 100%; display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
243
- .ta-picture-actions > .ta-button { height: 40px; }
244
- .ta-picture-actions > .ta-input { height: 40px; }
238
+ .ta-picture-actions > .ta-button { height: var(--ta-input-large); }
239
+ .ta-picture-actions > .ta-input { height: var(--ta-input-large); border-radius: 10px; }
245
240
  /* The profile (profile-view.tsx): the picture, the name, then its rows */
246
241
  .ta-profile { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 6px 0 2px; }
247
242
  .ta-profile-picture { display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; }
@@ -299,18 +294,17 @@ exports.PAGES_STYLE = `
299
294
  /* A model service added by its address and key (custom-provider-view) */
300
295
  .ta-custom-flow { flex: 1 1 auto; min-height: 0; }
301
296
  .ta-custom-form { display: flex; flex-direction: column; gap: 12px; min-height: 0; margin: 0 -4px; padding: 0 4px; overflow-y: auto; }
302
- .ta-custom-form .ta-select { width: 100%; height: 32px; }
303
- .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; }
304
- .ta-custom-models:focus-within { border-color: var(--ta-border-focus); }
297
+ .ta-custom-models { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: var(--ta-input-height); box-sizing: border-box; padding: 3px 6px; border: 1px solid var(--ta-border-field); border-radius: 8px; background: var(--ta-input); transition: border-color 120ms, box-shadow 120ms; }
298
+ .ta-custom-models:focus-within { border-color: var(--ta-border-focus); box-shadow: 0 0 0 3px var(--ta-input-ring); }
305
299
  .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; }
306
300
  .ta-custom-chip-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
307
301
  .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; }
308
302
  .ta-custom-chip button:hover { background: var(--ta-hover); color: var(--ta-text); }
309
- .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)); }
303
+ .ta-custom-model-input { flex: 1; min-width: 140px; height: 24px; border: 0; outline: none; background: transparent; color: var(--ta-text); font: inherit; font-size: var(--ta-input-font); }
304
+ .ta-custom-model-input::placeholder { color: var(--ta-muted); }
310
305
  .ta-custom-fetch { align-self: flex-start; margin-top: 2px; }
311
306
  .ta-custom-fetched { display: flex; flex-direction: column; gap: 6px; margin-top: 2px; }
312
307
  .ta-custom-fetched .ta-auth-note { white-space: normal; }
313
- .ta-custom-fetched .ta-input { height: 32px; }
314
308
  .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; }
315
309
  .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)); }
316
310
  .ta-custom-fetched-list .ta-auth-item > .ta-custom-picked { margin-left: auto; color: var(--ta-accent); }
@@ -326,14 +320,10 @@ exports.PAGES_STYLE = `
326
320
  .ta-custom-advanced.ta-open .ta-custom-advanced-toggle > .ta-icon { transform: rotate(180deg); }
327
321
  .ta-custom-advanced-body { display: flex; flex-direction: column; gap: 10px; padding: 2px 10px 12px; animation: ta-in 200ms var(--ta-ease) both; }
328
322
  .ta-custom-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
329
- .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; }
330
- .ta-custom-check input { width: 16px; height: 16px; margin: 0; accent-color: var(--ta-accent); }
331
323
  .ta-custom-header { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr) 28px; gap: 6px; align-items: center; }
332
- .ta-custom-header .ta-input { height: 32px; font-family: var(--ta-mono); font-size: calc(12.5px * var(--ta-font-scale)); }
333
324
  .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; }
334
325
  .ta-custom-header-remove:hover { background: var(--ta-hover); color: var(--ta-text); }
335
326
  @media ${device_protocol_1.DeviceMedia.COMPACT} {
336
- .ta-custom-form .ta-input, .ta-custom-model-input { font-size: max(16px, calc(14px * var(--ta-font-scale))); }
337
327
  .ta-custom-actions .ta-button { flex: 1; }
338
328
  }
339
329
  /* The console of a gateway (gateway/console-*.tsx): sections of a title over a card, rows parted by lines. */
@@ -3,5 +3,5 @@
3
3
  * workbench over it. Where each rests; the finger moves them in between (device/sheet-swipe.ts), and what
4
4
  * a sheet covers moves 30% of the way and darkens a little, as on iOS.
5
5
  */
6
- export declare const PHONE_STYLE = "\n/* Its screens slide in by transforms, never by scrolling: clipped, so that a focus or a menu that opens near an edge never scrolls it sideways. */\n.ta-phone { position: relative; display: block; overflow: clip; background: var(--ta-side); --ta-sheet: transform 360ms cubic-bezier(0.32, 0.72, 0, 1); }\n.ta-phone-home, .ta-phone-screen, .ta-phone > .ta-editors-pane { position: absolute; inset: 0; will-change: transform; transition: var(--ta-sheet); }\n.ta-phone-home { display: flex; flex-direction: column; background: var(--ta-side); }\n.ta-phone-page { flex: 1; min-height: 0; display: flex; flex-direction: column; }\n.ta-phone-page > .ta-sidebar, .ta-phone-page > .ta-main, .ta-phone-page > .ta-phone-stack > * > .ta-sidebar, .ta-phone-page > .ta-phone-stack > * > .ta-main { flex: 1; width: auto; min-height: 0; }\n.ta-phone-page > .ta-phone-stack > .ta-phone-stack-top { background: var(--ta-side); }\n.ta-phone-page .ta-chats, .ta-phone-page .ta-side-view { border-right: 0; padding-bottom: 0; padding-left: calc(8px + env(safe-area-inset-left)); padding-right: calc(8px + env(safe-area-inset-right)); }\n.ta-phone-page .ta-settings-head, .ta-phone-screen .ta-settings-head { padding-left: calc(14px + env(safe-area-inset-left)); padding-right: calc(14px + env(safe-area-inset-right)); }\n.ta-phone-screen { z-index: 2; display: flex; background: var(--ta-main); transform: translate3d(100%, 0, 0); box-shadow: -12px 0 32px rgba(0, 0, 0, 0.12); }\n.ta-phone-screen > .ta-main { flex: 1; min-width: 0; }\n.ta-phone[data-screen] .ta-phone-home { transform: translate3d(-30%, 0, 0); }\n.ta-phone[data-screen] .ta-phone-screen { transform: none; }\n.ta-phone > .ta-editors-pane { z-index: 4; width: auto; min-width: 0; max-width: none; animation: none; transform: translate3d(100%, 0, 0); box-shadow: -12px 0 32px rgba(0, 0, 0, 0.12); }\n.ta-phone[data-workbench] > .ta-editors-pane { transform: none; }\n.ta-phone[data-workbench][data-screen] .ta-phone-screen, .ta-phone[data-workbench]:not([data-screen]) .ta-phone-home { transform: translate3d(-30%, 0, 0); }\n/* What a sheet covers darkens a little, as on iOS (sheet-swipe.ts follows the finger with its opacity). */\n.ta-phone-dim { position: absolute; inset: 0; z-index: 1; background: rgba(0, 0, 0, 0.1); opacity: 0; pointer-events: none; transition: opacity 360ms cubic-bezier(0.32, 0.72, 0, 1); }\n.ta-phone-dim[data-for='workbench'] { z-index: 3; }\n.ta-phone[data-screen] > .ta-phone-dim[data-for='screen'], .ta-phone[data-workbench] > .ta-phone-dim[data-for='workbench'] { opacity: 1; }\n/*\n * A layer at rest out of sight is not drawn: its shadow would show at the edge of the screen, and the page\n * would paint what nobody sees. It goes once it has slid away, and is there at once to come in, or for a finger.\n */\n.ta-phone-screen, .ta-phone > .ta-editors-pane { visibility: hidden; transition: var(--ta-sheet), visibility 0s 360ms; }\n.ta-phone[data-screen] .ta-phone-screen, .ta-phone[data-workbench] > .ta-editors-pane { visibility: visible; transition: var(--ta-sheet); }\n.ta-phone[data-screen] .ta-phone-home, .ta-phone[data-workbench] .ta-phone-home { visibility: hidden; transition: var(--ta-sheet), visibility 0s 360ms; }\n.ta-phone[data-workbench][data-screen] .ta-phone-screen { visibility: hidden; transition: var(--ta-sheet), visibility 0s 360ms; }\n/*\n * While a finger moves a sheet, or the browser went back by itself (its own swipe was the animation), nothing slides on its own,\n * and what it uncovers is there: as specific as the rules of the layers at rest (style.spec.ts checks), so that the conversation\n * under the workbench shows while the workbench is put away.\n */\n:root[data-sheet-drag] .ta-phone > .ta-phone-home, :root[data-sheet-drag] .ta-phone > .ta-phone-screen, :root[data-sheet-drag] .ta-phone > .ta-editors-pane { visibility: visible; transition: none; }\n:root[data-sheet-drag] .ta-phone-dim { transition: none; }\n/*\n * A frame the page may not read (an HTML file, a PDF, the browser) keeps the touches on it: the left edge of the\n * workbench over it stays the page's, so that a swipe from there puts the workbench away, as iOS keeps its back\n * at the edge over web content. Frames it may read (Markdown) are listened to anywhere (sheet-swipe.ts).\n */\n.ta-phone > .ta-editors-pane .ta-editor-body:has(iframe) { position: relative; }\n.ta-phone > .ta-editors-pane .ta-editor-body:has(iframe)::before { content: ''; position: absolute; z-index: 1; top: 0; bottom: 0; left: 0; width: 24px; }\n/* A screen pushed over the screen (PhoneStack): a section of the settings over their list, as the screen over the tabs. */\n/* clip, not hidden: a focus or scrollIntoView inside must not scroll the level off-screen into view sideways */\n.ta-phone-stack { position: relative; flex: 1; min-height: 0; overflow: hidden; overflow: clip; }\n.ta-phone-stack-base, .ta-phone-stack-top { position: absolute; inset: 0; display: flex; flex-direction: column; will-change: transform; transition: var(--ta-sheet); }\n.ta-phone-stack-top { z-index: 2; background: var(--ta-main); transform: translate3d(100%, 0, 0); box-shadow: -12px 0 32px rgba(0, 0, 0, 0.12); visibility: hidden; transition: var(--ta-sheet), visibility 0s 360ms; }\n.ta-phone-stack[data-open] > .ta-phone-stack-top { transform: none; visibility: visible; transition: var(--ta-sheet); }\n.ta-phone-stack[data-open] > .ta-phone-stack-base { transform: translate3d(-30%, 0, 0); visibility: hidden; transition: var(--ta-sheet), visibility 0s 360ms; }\n.ta-phone-stack[data-open] > .ta-phone-dim { opacity: 1; }\n:root[data-sheet-drag] .ta-phone-stack-base, :root[data-sheet-drag] .ta-phone-stack-top { visibility: visible; transition: none; }\n/* The tabs: a finger's height above the home indicator; away while the keyboard is up. */\n.ta-tabbar { display: flex; flex: none; padding: 0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); border-top: 1px solid var(--ta-border-muted); background: var(--ta-side); }\n:root[data-keyboard] .ta-tabbar { display: none; }\n.ta-tabbar-item { flex: 1; min-width: 0; height: 54px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 0; border: 0; background: none; color: var(--ta-muted); font-size: calc(10.5px * var(--ta-font-scale)); -webkit-tap-highlight-color: transparent; }\n.ta-tabbar-item > span { max-width: 100%; padding: 0 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-tabbar-item.ta-active { color: var(--ta-text); font-weight: 600; }\n.ta-tabbar-item > .ta-tabbar-icon { position: relative; display: inline-grid; place-items: center; max-width: none; padding: 0; overflow: visible; }\n.ta-tabbar-dot { position: absolute; top: -1px; right: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--ta-yellow); box-shadow: 0 0 0 2px var(--ta-side); }\n/* A finger drags it off as a drop (UnseenDrop): a wider grip than it looks, and the drop drawn over the page meanwhile. */\n.ta-tabbar-dot.ta-draggable { touch-action: none; }\n.ta-tabbar-dot.ta-draggable::before { content: ''; position: absolute; inset: -9px; border-radius: 50%; }\n/* The same on the entry of the double on the rail of a computer, and on the avatar of a row. */\n.ta-rail-dot { top: 6px; right: 6px; }\n.ta-chat-dot.ta-draggable { touch-action: none; cursor: grab; }\n.ta-chat-dot.ta-draggable::before { content: ''; position: absolute; inset: -10px; border-radius: 50%; }\n.ta-chat-line > .ta-chat-dot.ta-draggable { position: relative; }\n.ta-tabbar-dot[data-dragging], .ta-asks-badge[data-dragging], .ta-chat-dot[data-dragging] { visibility: hidden; }\n.ta-asks-badge.ta-draggable { pointer-events: auto; touch-action: none; cursor: grab; }\n.ta-asks-badge.ta-draggable::before { content: ''; position: absolute; inset: -8px; border-radius: 16px; }\n.ta-unseen-drag { position: fixed; inset: 0; z-index: 2147483000; width: 100%; height: 100%; overflow: visible; pointer-events: none; fill: var(--ta-yellow); }\n.ta-unseen-ring { fill: none; stroke: var(--ta-yellow); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: ta-unseen-ring 380ms ease-out forwards; }\n.ta-unseen-spark { transform-box: fill-box; transform-origin: center; animation: ta-unseen-spark 400ms cubic-bezier(0.2, 0.7, 0.3, 1) forwards; }\n.ta-unseen-drag.ta-asks { fill: var(--ta-blue); }\n.ta-unseen-drag.ta-asks .ta-unseen-ring { stroke: var(--ta-blue); }\n@keyframes ta-unseen-ring { from { transform: scale(1); opacity: 0.9; } to { transform: scale(2.6); opacity: 0; } }\n@keyframes ta-unseen-spark { to { transform: translate(var(--dx), var(--dy)) scale(0.2); opacity: 0; } }\n/* A row with a dot that the tab scrolled to (PhoneUtil.locate): lit up a moment. */\n[data-unseen][data-flash] { position: relative; }\n[data-unseen][data-flash]::after { content: ''; position: absolute; inset: 0; z-index: 2; border-radius: 12px; background: color-mix(in srgb, var(--ta-yellow) 18%, transparent); pointer-events: none; animation: ta-unseen-flash 1s ease-out forwards; }\n@keyframes ta-unseen-flash { 0%, 35% { opacity: 1; } to { opacity: 0; } }\n[data-asks][data-flash] { position: relative; }\n[data-asks][data-flash]::after { content: ''; position: absolute; inset: 0; z-index: 2; border-radius: 12px; background: color-mix(in srgb, var(--ta-blue) 16%, transparent); pointer-events: none; animation: ta-unseen-flash 1s ease-out forwards; }\n/* Sideways the height is short: the label beside the icon, as iOS lays its tabs out then. */\n@media (max-height: 500px) and (pointer: coarse) {\n .ta-tabbar-item { height: 40px; flex-direction: row; gap: 6px; font-size: calc(12px * var(--ta-font-scale)); }\n}\n\n/*\n * Over the first tab (ta-launcher.md): the launcher lies under the home, which a pull down moves to a strip at\n * the bottom (device/pull-down.ts); the board comes over it from the right, as a screen does.\n */\n.ta-phone { --ta-peek: calc(72px + env(safe-area-inset-bottom)); }\n.ta-phone-home { z-index: 1; }\n.ta-phone-launcher { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--ta-main); visibility: hidden; transition: visibility 0s 360ms; }\n/* The body moves (and so holds what is fixed in it, as menus); what scrolls is inside it. */\n.ta-phone-launcher-body { position: absolute; inset: 0; display: flex; flex-direction: column; opacity: 0; transform: translate3d(0, -36px, 0) scale(0.94); transform-origin: 50% 0; will-change: transform, opacity; transition: transform 360ms cubic-bezier(0.32, 0.72, 0, 1), opacity 360ms cubic-bezier(0.32, 0.72, 0, 1); }\n.ta-phone-launcher .ta-launcher-scroll { padding: calc(14px + env(safe-area-inset-top)) calc(16px + env(safe-area-inset-right)) calc(var(--ta-peek) + 20px) calc(16px + env(safe-area-inset-left)); }\n.ta-phone-launcher .ta-launcher-search-head { padding: calc(10px + env(safe-area-inset-top)) calc(12px + env(safe-area-inset-right)) 8px calc(12px + env(safe-area-inset-left)); }\n.ta-phone-launcher .ta-launcher-search-body { padding-bottom: calc(16px + env(safe-area-inset-bottom)); }\n:root[data-keyboard] .ta-phone-launcher .ta-launcher-search-body { padding-bottom: calc(16px + var(--ta-keyboard, 0px)); }\n/* Searching, the home goes all the way down: the page of the search has the whole screen. */\n.ta-phone[data-surface='launcher'][data-surface-stack] .ta-phone-home { transform: translate3d(0, 100%, 0); box-shadow: none; }\n.ta-phone[data-surface='launcher'][data-surface-stack] .ta-phone-peek { visibility: hidden; pointer-events: none; }\n.ta-phone[data-surface='launcher'] .ta-phone-launcher { visibility: visible; transition: none; }\n.ta-phone[data-surface='launcher'] .ta-phone-launcher-body { opacity: 1; transform: none; }\n.ta-phone[data-surface='launcher'] .ta-phone-home { transform: translate3d(0, calc(100% - var(--ta-peek)), 0); }\n.ta-phone[data-surface='launcher'] .ta-phone-home, :root[data-pull] .ta-phone-home { overflow: hidden; border-radius: 18px 18px 0 0; box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.12); }\n:root[data-pull] .ta-phone-launcher { visibility: visible; transition: none; }\n:root[data-pull] .ta-phone-launcher-body, :root[data-pull] .ta-phone-home, :root[data-sheet-drag] .ta-phone-board { transition: none; }\n.ta-phone-peek { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: var(--ta-peek); padding: 0; border: 0; background: transparent; visibility: hidden; pointer-events: none; -webkit-tap-highlight-color: transparent; }\n.ta-phone-peek::before { content: ''; position: absolute; top: 7px; left: 50%; width: 36px; height: 4px; border-radius: 2px; background: var(--ta-border-field); transform: translateX(-50%); }\n.ta-phone[data-surface='launcher'] .ta-phone-peek { visibility: visible; pointer-events: auto; }\n/* Over the screen, which a drag of it shows at the right edge with its shadow. */\n.ta-phone-board { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; background: var(--ta-side); transform: translate3d(-100%, 0, 0); box-shadow: 12px 0 32px rgba(0, 0, 0, 0.12); will-change: transform; visibility: hidden; transition: var(--ta-sheet), visibility 0s 360ms; }\n.ta-phone-board .ta-board-head { padding: calc(10px + env(safe-area-inset-top)) calc(14px + env(safe-area-inset-right)) 8px calc(8px + env(safe-area-inset-left)); }\n.ta-phone-board .ta-board-body { padding-left: calc(14px + env(safe-area-inset-left)); padding-right: calc(14px + env(safe-area-inset-right)); }\n.ta-phone[data-surface='board'] .ta-phone-board { transform: none; visibility: visible; transition: var(--ta-sheet); }\n.ta-phone[data-surface='board'] .ta-phone-home { transform: translate3d(30%, 0, 0); visibility: hidden; transition: var(--ta-sheet), visibility 0s 360ms; }\n.ta-phone-dim[data-for='board'] { z-index: 1; }\n/* The board moved by a finger: the screen and the workbench off to the right stay hidden, their shadows too. */\n:root[data-sheet-drag='board'] .ta-phone > .ta-phone-screen, :root[data-sheet-drag='board'] .ta-phone > .ta-editors-pane { visibility: hidden; }\n/* The search of the launcher put away is never seen, whatever sheet a finger moves. */\n.ta-phone-launcher[inert] .ta-phone-stack-top { visibility: hidden !important; }\n.ta-phone[data-surface='board'] > .ta-phone-dim[data-for='board'] { opacity: 1; }\n\n/* A chat on a phone: its row is a SwipeRow (style/device.ts). */\n.ta-phone .ta-chat-item:active { background: var(--ta-hover); }\n";
6
+ export declare const PHONE_STYLE = "\n/* Its screens slide in by transforms, never by scrolling: clipped, so that a focus or a menu that opens near an edge never scrolls it sideways. */\n.ta-phone { position: relative; display: block; overflow: clip; background: var(--ta-side); --ta-sheet: transform 360ms cubic-bezier(0.32, 0.72, 0, 1); }\n.ta-phone-home, .ta-phone-screen, .ta-phone > .ta-editors-pane { position: absolute; inset: 0; will-change: transform; transition: var(--ta-sheet); }\n.ta-phone-home { display: flex; flex-direction: column; background: var(--ta-side); }\n.ta-phone-page { flex: 1; min-height: 0; display: flex; flex-direction: column; }\n.ta-phone-page > .ta-sidebar, .ta-phone-page > .ta-main, .ta-phone-page > .ta-phone-stack > * > .ta-sidebar, .ta-phone-page > .ta-phone-stack > * > .ta-main { flex: 1; width: auto; min-height: 0; }\n.ta-phone-page > .ta-phone-stack > .ta-phone-stack-top { background: var(--ta-side); }\n.ta-phone-page .ta-chats, .ta-phone-page .ta-side-view { border-right: 0; padding-bottom: 0; padding-left: calc(8px + env(safe-area-inset-left)); padding-right: calc(8px + env(safe-area-inset-right)); }\n.ta-phone-page .ta-settings-head, .ta-phone-screen .ta-settings-head { padding-left: calc(14px + env(safe-area-inset-left)); padding-right: calc(14px + env(safe-area-inset-right)); }\n.ta-phone-screen { z-index: 2; display: flex; background: var(--ta-main); transform: translate3d(100%, 0, 0); box-shadow: -12px 0 32px rgba(0, 0, 0, 0.12); }\n.ta-phone-screen > .ta-main { flex: 1; min-width: 0; }\n.ta-phone[data-screen] .ta-phone-home { transform: translate3d(-30%, 0, 0); }\n.ta-phone[data-screen] .ta-phone-screen { transform: none; }\n.ta-phone > .ta-editors-pane { z-index: 4; width: auto; min-width: 0; max-width: none; animation: none; transform: translate3d(100%, 0, 0); box-shadow: -12px 0 32px rgba(0, 0, 0, 0.12); }\n.ta-phone[data-workbench] > .ta-editors-pane { transform: none; }\n.ta-phone[data-workbench][data-screen] .ta-phone-screen, .ta-phone[data-workbench]:not([data-screen]) .ta-phone-home { transform: translate3d(-30%, 0, 0); }\n/* What a sheet covers darkens a little, as on iOS (sheet-swipe.ts follows the finger with its opacity). */\n.ta-phone-dim { position: absolute; inset: 0; z-index: 1; background: rgba(0, 0, 0, 0.1); opacity: 0; pointer-events: none; transition: opacity 360ms cubic-bezier(0.32, 0.72, 0, 1); }\n.ta-phone-dim[data-for='workbench'] { z-index: 3; }\n.ta-phone[data-screen] > .ta-phone-dim[data-for='screen'], .ta-phone[data-workbench] > .ta-phone-dim[data-for='workbench'] { opacity: 1; }\n/*\n * A layer at rest out of sight is not drawn: its shadow would show at the edge of the screen, and the page\n * would paint what nobody sees. It goes once it has slid away, and is there at once to come in, or for a finger.\n */\n.ta-phone-screen, .ta-phone > .ta-editors-pane { visibility: hidden; transition: var(--ta-sheet), visibility 0s 360ms; }\n.ta-phone[data-screen] .ta-phone-screen, .ta-phone[data-workbench] > .ta-editors-pane { visibility: visible; transition: var(--ta-sheet); }\n.ta-phone[data-screen] .ta-phone-home, .ta-phone[data-workbench] .ta-phone-home { visibility: hidden; transition: var(--ta-sheet), visibility 0s 360ms; }\n.ta-phone[data-workbench][data-screen] .ta-phone-screen { visibility: hidden; transition: var(--ta-sheet), visibility 0s 360ms; }\n/*\n * While a finger moves a sheet, or the browser went back by itself (its own swipe was the animation), nothing slides on its own,\n * and what it uncovers is there: as specific as the rules of the layers at rest (style.spec.ts checks), so that the conversation\n * under the workbench shows while the workbench is put away.\n */\n:root[data-sheet-drag] .ta-phone > .ta-phone-home, :root[data-sheet-drag] .ta-phone > .ta-phone-screen, :root[data-sheet-drag] .ta-phone > .ta-editors-pane { visibility: visible; transition: none; }\n:root[data-sheet-drag] .ta-phone-dim { transition: none; }\n/*\n * A frame the page may not read (an HTML file, a PDF, the browser) keeps the touches on it: the left edge of the\n * workbench over it stays the page's, so that a swipe from there puts the workbench away, as iOS keeps its back\n * at the edge over web content. Frames it may read (Markdown) are listened to anywhere (sheet-swipe.ts).\n */\n.ta-phone > .ta-editors-pane .ta-editor-body:has(iframe) { position: relative; }\n.ta-phone > .ta-editors-pane .ta-editor-body:has(iframe)::before { content: ''; position: absolute; z-index: 1; top: 0; bottom: 0; left: 0; width: 24px; }\n/* A screen pushed over the screen (PhoneStack): a section of the settings over their list, as the screen over the tabs. */\n/* clip, not hidden: a focus or scrollIntoView inside must not scroll the level off-screen into view sideways */\n.ta-phone-stack { position: relative; flex: 1; min-height: 0; overflow: hidden; overflow: clip; }\n.ta-phone-stack-base, .ta-phone-stack-top { position: absolute; inset: 0; display: flex; flex-direction: column; will-change: transform; transition: var(--ta-sheet); }\n.ta-phone-stack-top { z-index: 2; background: var(--ta-main); transform: translate3d(100%, 0, 0); box-shadow: -12px 0 32px rgba(0, 0, 0, 0.12); visibility: hidden; transition: var(--ta-sheet), visibility 0s 360ms; }\n.ta-phone-stack[data-open] > .ta-phone-stack-top { transform: none; visibility: visible; transition: var(--ta-sheet); }\n.ta-phone-stack[data-open] > .ta-phone-stack-base { transform: translate3d(-30%, 0, 0); visibility: hidden; transition: var(--ta-sheet), visibility 0s 360ms; }\n.ta-phone-stack[data-open] > .ta-phone-dim { opacity: 1; }\n:root[data-sheet-drag] .ta-phone-stack-base, :root[data-sheet-drag] .ta-phone-stack-top { visibility: visible; transition: none; }\n/* The tabs: a finger's height above the home indicator; away while the keyboard is up. */\n.ta-tabbar { display: flex; flex: none; padding: 0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); border-top: 1px solid var(--ta-border-muted); background: var(--ta-side); }\n:root[data-keyboard] .ta-tabbar { display: none; }\n.ta-tabbar-item { flex: 1; min-width: 0; height: 54px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 0; border: 0; background: none; color: var(--ta-muted); font-size: calc(10.5px * var(--ta-font-scale)); -webkit-tap-highlight-color: transparent; }\n.ta-tabbar-item > span { max-width: 100%; padding: 0 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-tabbar-item.ta-active { color: var(--ta-text); font-weight: 600; }\n.ta-tabbar-item > .ta-tabbar-icon { position: relative; display: inline-grid; place-items: center; max-width: none; padding: 0; overflow: visible; }\n.ta-tabbar-dot { position: absolute; top: -1px; right: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--ta-yellow); box-shadow: 0 0 0 2px var(--ta-side); }\n/* A finger drags it off as a drop (UnseenDrop): a wider grip than it looks, and the drop drawn over the page meanwhile. */\n.ta-tabbar-dot.ta-draggable { touch-action: none; }\n.ta-tabbar-dot.ta-draggable::before { content: ''; position: absolute; inset: -9px; border-radius: 50%; }\n/* The same on the entry of the double on the rail of a computer, and on the avatar of a row. */\n.ta-rail-dot { top: 6px; right: 6px; }\n.ta-chat-dot.ta-draggable { touch-action: none; cursor: grab; }\n.ta-chat-dot.ta-draggable::before { content: ''; position: absolute; inset: -10px; border-radius: 50%; }\n.ta-chat-line > .ta-chat-dot.ta-draggable { position: relative; }\n.ta-tabbar-dot[data-dragging], .ta-asks-badge[data-dragging], .ta-chat-dot[data-dragging] { visibility: hidden; }\n.ta-asks-badge.ta-draggable { pointer-events: auto; touch-action: none; cursor: grab; }\n.ta-asks-badge.ta-draggable::before { content: ''; position: absolute; inset: -8px; border-radius: 16px; }\n.ta-unseen-drag { position: fixed; inset: 0; z-index: 2147483000; width: 100%; height: 100%; overflow: visible; pointer-events: none; fill: var(--ta-yellow); }\n.ta-unseen-ring { fill: none; stroke: var(--ta-yellow); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: ta-unseen-ring 380ms ease-out forwards; }\n.ta-unseen-spark { transform-box: fill-box; transform-origin: center; animation: ta-unseen-spark 400ms cubic-bezier(0.2, 0.7, 0.3, 1) forwards; }\n.ta-unseen-drag.ta-asks { fill: var(--ta-blue); }\n.ta-unseen-drag.ta-asks .ta-unseen-ring { stroke: var(--ta-blue); }\n@keyframes ta-unseen-ring { from { transform: scale(1); opacity: 0.9; } to { transform: scale(2.6); opacity: 0; } }\n@keyframes ta-unseen-spark { to { transform: translate(var(--dx), var(--dy)) scale(0.2); opacity: 0; } }\n/* A row with a dot that the tab scrolled to (PhoneUtil.locate): lit up a moment. */\n[data-unseen][data-flash] { position: relative; }\n[data-unseen][data-flash]::after { content: ''; position: absolute; inset: 0; z-index: 2; border-radius: 12px; background: color-mix(in srgb, var(--ta-yellow) 18%, transparent); pointer-events: none; animation: ta-unseen-flash 1s ease-out forwards; }\n@keyframes ta-unseen-flash { 0%, 35% { opacity: 1; } to { opacity: 0; } }\n[data-asks][data-flash] { position: relative; }\n[data-asks][data-flash]::after { content: ''; position: absolute; inset: 0; z-index: 2; border-radius: 12px; background: color-mix(in srgb, var(--ta-blue) 16%, transparent); pointer-events: none; animation: ta-unseen-flash 1s ease-out forwards; }\n/* Sideways the height is short: the label beside the icon, as iOS lays its tabs out then. */\n@media (max-height: 500px) and (pointer: coarse), (max-height: 500px) and (hover: none) {\n .ta-tabbar-item { height: 40px; flex-direction: row; gap: 6px; font-size: calc(12px * var(--ta-font-scale)); }\n}\n\n/*\n * Over the first tab (ta-launcher.md): the launcher lies under the home, which a pull down moves to a strip at\n * the bottom (device/pull-down.ts); the board comes over it from the right, as a screen does.\n */\n.ta-phone { --ta-peek: calc(72px + env(safe-area-inset-bottom)); }\n.ta-phone-home { z-index: 1; }\n.ta-phone-launcher { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--ta-main); visibility: hidden; transition: visibility 0s 360ms; }\n/* The body moves (and so holds what is fixed in it, as menus); what scrolls is inside it. */\n.ta-phone-launcher-body { position: absolute; inset: 0; display: flex; flex-direction: column; opacity: 0; transform: translate3d(0, -36px, 0) scale(0.94); transform-origin: 50% 0; will-change: transform, opacity; transition: transform 360ms cubic-bezier(0.32, 0.72, 0, 1), opacity 360ms cubic-bezier(0.32, 0.72, 0, 1); }\n.ta-phone-launcher .ta-launcher-scroll { padding: calc(14px + env(safe-area-inset-top)) calc(16px + env(safe-area-inset-right)) calc(var(--ta-peek) + 20px) calc(16px + env(safe-area-inset-left)); }\n.ta-phone-launcher .ta-launcher-search-head { padding: calc(10px + env(safe-area-inset-top)) calc(12px + env(safe-area-inset-right)) 8px calc(12px + env(safe-area-inset-left)); }\n.ta-phone-launcher .ta-launcher-search-body { padding-bottom: calc(16px + env(safe-area-inset-bottom)); }\n:root[data-keyboard] .ta-phone-launcher .ta-launcher-search-body { padding-bottom: calc(16px + var(--ta-keyboard, 0px)); }\n/* Searching, the home goes all the way down: the page of the search has the whole screen. */\n.ta-phone[data-surface='launcher'][data-surface-stack] .ta-phone-home { transform: translate3d(0, 100%, 0); box-shadow: none; }\n.ta-phone[data-surface='launcher'][data-surface-stack] .ta-phone-peek { visibility: hidden; pointer-events: none; }\n.ta-phone[data-surface='launcher'] .ta-phone-launcher { visibility: visible; transition: none; }\n.ta-phone[data-surface='launcher'] .ta-phone-launcher-body { opacity: 1; transform: none; }\n.ta-phone[data-surface='launcher'] .ta-phone-home { transform: translate3d(0, calc(100% - var(--ta-peek)), 0); }\n.ta-phone[data-surface='launcher'] .ta-phone-home, :root[data-pull] .ta-phone-home { overflow: hidden; border-radius: 18px 18px 0 0; box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.12); }\n:root[data-pull] .ta-phone-launcher { visibility: visible; transition: none; }\n:root[data-pull] .ta-phone-launcher-body, :root[data-pull] .ta-phone-home, :root[data-sheet-drag] .ta-phone-board { transition: none; }\n.ta-phone-peek { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: var(--ta-peek); padding: 0; border: 0; background: transparent; visibility: hidden; pointer-events: none; -webkit-tap-highlight-color: transparent; }\n.ta-phone-peek::before { content: ''; position: absolute; top: 7px; left: 50%; width: 36px; height: 4px; border-radius: 2px; background: var(--ta-border-field); transform: translateX(-50%); }\n.ta-phone[data-surface='launcher'] .ta-phone-peek { visibility: visible; pointer-events: auto; }\n/* Over the screen, which a drag of it shows at the right edge with its shadow. */\n.ta-phone-board { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; background: var(--ta-side); transform: translate3d(-100%, 0, 0); box-shadow: 12px 0 32px rgba(0, 0, 0, 0.12); will-change: transform; visibility: hidden; transition: var(--ta-sheet), visibility 0s 360ms; }\n.ta-phone-board .ta-board-head { padding: calc(10px + env(safe-area-inset-top)) calc(14px + env(safe-area-inset-right)) 8px calc(8px + env(safe-area-inset-left)); }\n.ta-phone-board .ta-board-body { padding-left: calc(14px + env(safe-area-inset-left)); padding-right: calc(14px + env(safe-area-inset-right)); }\n.ta-phone[data-surface='board'] .ta-phone-board { transform: none; visibility: visible; transition: var(--ta-sheet); }\n.ta-phone[data-surface='board'] .ta-phone-home { transform: translate3d(30%, 0, 0); visibility: hidden; transition: var(--ta-sheet), visibility 0s 360ms; }\n.ta-phone-dim[data-for='board'] { z-index: 1; }\n/* The board moved by a finger: the screen and the workbench off to the right stay hidden, their shadows too. */\n:root[data-sheet-drag='board'] .ta-phone > .ta-phone-screen, :root[data-sheet-drag='board'] .ta-phone > .ta-editors-pane { visibility: hidden; }\n/* The search of the launcher put away is never seen, whatever sheet a finger moves. */\n.ta-phone-launcher[inert] .ta-phone-stack-top { visibility: hidden !important; }\n.ta-phone[data-surface='board'] > .ta-phone-dim[data-for='board'] { opacity: 1; }\n\n/* A chat on a phone: its row is a SwipeRow (style/device.ts). */\n.ta-phone .ta-chat-item:active { background: var(--ta-hover); }\n";
7
7
  //# sourceMappingURL=phone.d.ts.map
@@ -1,3 +1,3 @@
1
1
  /** A conversation shared by a link, opened in a browser (share/shared-page.tsx): a bar on top, the conversation as Ta shows it. */
2
- export declare const SHARED_STYLE = "\n.ta-shared { height: 100%; display: flex; flex-direction: column; background: var(--ta-main); }\n.ta-shared-top { flex: none; display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 12px 0 16px; padding-top: env(safe-area-inset-top); border-bottom: 1px solid var(--ta-border-muted); background: color-mix(in srgb, var(--ta-main) 88%, transparent); backdrop-filter: saturate(1.6) blur(12px); -webkit-backdrop-filter: saturate(1.6) blur(12px); }\n.ta-shared-name { flex: 1; min-width: 0; font-weight: 600; font-size: calc(14px * var(--ta-page-font-scale, 1)); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-shared-copy { flex: none; }\n.ta-shared-main { flex: 1; min-height: 0; overflow-y: auto; padding-bottom: env(safe-area-inset-bottom); }\n.ta-shared-main:has(> .ta-loading) { display: flex; flex-direction: column; }\n.ta-shared-center { display: flex; justify-content: center; padding-top: 24vh; }\n.ta-shared-head, .ta-shared-foot { max-width: calc(var(--ta-col) + 48px); margin: 0 auto; padding: 28px 24px 0; box-sizing: border-box; }\n.ta-shared-head h1 { margin: 0 0 6px; font-size: calc(22px * var(--ta-font-scale)); line-height: 1.35; letter-spacing: -0.01em; word-break: break-word; }\n.ta-shared-meta { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 12px; color: var(--ta-muted); font-size: calc(13px * var(--ta-font-scale)); }\n.ta-shared-notes { margin-top: 10px; display: flex; flex-direction: column; gap: 2px; color: var(--ta-muted); font-size: calc(12.5px * var(--ta-font-scale)); }\n.ta-shared-head + .ta-thread { padding-top: 24px; }\n/* Read only: what a turn cost and its debug info stay with the one who shared it. */\n.ta-thread-read .ta-footer-debug, .ta-thread-read .ta-footer-usage { display: none; }\n.ta-shared-foot { display: flex; flex-direction: column; gap: 4px; margin-top: 16px; padding-top: 18px; padding-bottom: 40px; border-top: 1px solid var(--ta-border-muted); color: var(--ta-muted); font-size: calc(12.5px * var(--ta-font-scale)); }\n.ta-shared-work { margin: 4px 0 8px; }\n.ta-shared-work .tpy-card { max-width: none; }\n.ta-shared-mine { align-self: flex-start; margin-bottom: 6px; text-decoration: none; }\n.ta-shared-report { align-self: flex-start; margin-top: 6px; color: var(--ta-muted); text-decoration: underline; text-underline-offset: 2px; }\n@media (max-width: 860px), (max-height: 500px) and (pointer: coarse) {\n .ta-shared-head, .ta-shared-foot { padding-left: 16px; padding-right: 16px; }\n .ta-shared-head { padding-top: 20px; }\n}\n";
2
+ export declare const SHARED_STYLE = "\n.ta-shared { height: 100%; display: flex; flex-direction: column; background: var(--ta-main); }\n.ta-shared-top { flex: none; display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 12px 0 16px; padding-top: env(safe-area-inset-top); border-bottom: 1px solid var(--ta-border-muted); background: color-mix(in srgb, var(--ta-main) 88%, transparent); backdrop-filter: saturate(1.6) blur(12px); -webkit-backdrop-filter: saturate(1.6) blur(12px); }\n.ta-shared-name { flex: 1; min-width: 0; font-weight: 600; font-size: calc(14px * var(--ta-page-font-scale, 1)); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-shared-copy { flex: none; }\n.ta-shared-main { flex: 1; min-height: 0; overflow-y: auto; padding-bottom: env(safe-area-inset-bottom); }\n.ta-shared-main:has(> .ta-loading) { display: flex; flex-direction: column; }\n.ta-shared-center { display: flex; justify-content: center; padding-top: 24vh; }\n.ta-shared-head, .ta-shared-foot { max-width: calc(var(--ta-col) + 48px); margin: 0 auto; padding: 28px 24px 0; box-sizing: border-box; }\n.ta-shared-head h1 { margin: 0 0 6px; font-size: calc(22px * var(--ta-font-scale)); line-height: 1.35; letter-spacing: -0.01em; word-break: break-word; }\n.ta-shared-meta { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 12px; color: var(--ta-muted); font-size: calc(13px * var(--ta-font-scale)); }\n.ta-shared-notes { margin-top: 10px; display: flex; flex-direction: column; gap: 2px; color: var(--ta-muted); font-size: calc(12.5px * var(--ta-font-scale)); }\n.ta-shared-head + .ta-thread { padding-top: 24px; }\n/* Read only: what a turn cost and its debug info stay with the one who shared it. */\n.ta-thread-read .ta-footer-debug, .ta-thread-read .ta-footer-usage { display: none; }\n.ta-shared-foot { display: flex; flex-direction: column; gap: 4px; margin-top: 16px; padding-top: 18px; padding-bottom: 40px; border-top: 1px solid var(--ta-border-muted); color: var(--ta-muted); font-size: calc(12.5px * var(--ta-font-scale)); }\n.ta-shared-work { margin: 4px 0 8px; }\n.ta-shared-work .tpy-card { max-width: none; }\n.ta-shared-mine { align-self: flex-start; margin-bottom: 6px; text-decoration: none; }\n.ta-shared-report { align-self: flex-start; margin-top: 6px; color: var(--ta-muted); text-decoration: underline; text-underline-offset: 2px; }\n@media (max-width: 860px), (max-height: 500px) and (pointer: coarse), (max-height: 500px) and (hover: none) {\n .ta-shared-head, .ta-shared-foot { padding-left: 16px; padding-right: 16px; }\n .ta-shared-head { padding-top: 20px; }\n}\n";
3
3
  //# sourceMappingURL=shared.d.ts.map