@celljs/ta-web 4.38.0 → 4.39.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 (191) hide show
  1. package/esm/browser/assistant/assistant-thread.d.ts +1 -1
  2. package/esm/browser/assistant/chat-task-source.js +2 -1
  3. package/esm/browser/components/app-contexts.js +11 -10
  4. package/esm/browser/components/chat-asks.d.ts +4 -1
  5. package/esm/browser/components/chat-asks.js +10 -0
  6. package/esm/browser/components/chat-list-row.js +5 -3
  7. package/esm/browser/components/cloud-sign-in-view.d.ts +1 -1
  8. package/esm/browser/components/composer-box-protocol.d.ts +5 -0
  9. package/esm/browser/components/composer-box.js +11 -14
  10. package/esm/browser/components/composer-media.d.ts +26 -0
  11. package/esm/browser/components/composer-media.js +37 -0
  12. package/esm/browser/components/composer-target.d.ts +2 -2
  13. package/esm/browser/components/composer-target.js +3 -3
  14. package/esm/browser/components/composer.js +1 -0
  15. package/esm/browser/components/host-view.d.ts +1 -1
  16. package/esm/browser/components/link.d.ts +7 -1
  17. package/esm/browser/components/link.js +24 -5
  18. package/esm/browser/components/markdown.d.ts +1 -1
  19. package/esm/browser/components/markdown.js +70 -4
  20. package/esm/browser/components/remote-hosts.d.ts +3 -1
  21. package/esm/browser/components/remote-hosts.js +10 -5
  22. package/esm/browser/components/session-view.js +10 -6
  23. package/esm/browser/components/web-composer.d.ts +1 -1
  24. package/esm/browser/components/web-composer.js +12 -3
  25. package/esm/browser/device/photo-picker.d.ts +11 -3
  26. package/esm/browser/device/photo-picker.js +26 -9
  27. package/esm/browser/device/video-picks.d.ts +24 -0
  28. package/esm/browser/device/video-picks.js +104 -0
  29. package/esm/browser/extension/icons.js +3 -1
  30. package/esm/browser/extension/web-access.js +4 -1
  31. package/esm/browser/extension/web-api-code.d.ts +36 -0
  32. package/esm/browser/extension/web-api-code.js +3 -0
  33. package/esm/browser/extension/web-api-components.d.ts +22 -0
  34. package/esm/browser/extension/web-api-contributions.d.ts +0 -31
  35. package/esm/browser/extension/web-api-menus.d.ts +17 -5
  36. package/esm/browser/extension/web-api-play.d.ts +29 -0
  37. package/esm/browser/extension/web-api-play.js +2 -0
  38. package/esm/browser/extension/web-api-spec.js +3 -0
  39. package/esm/browser/extension/web-api-terminal.d.ts +20 -0
  40. package/esm/browser/extension/web-extension-api.d.ts +12 -17
  41. package/esm/browser/extension/web-extension-context.d.ts +1 -1
  42. package/esm/browser/extension/web-extension-context.js +4 -3
  43. package/esm/browser/extension/web-extension-protocol.d.ts +2 -0
  44. package/esm/browser/extension/web-extension-protocol.js +1 -0
  45. package/esm/browser/extension/web-extension-run.d.ts +4 -3
  46. package/esm/browser/extension/web-extension-run.js +15 -8
  47. package/esm/browser/extension/web-extensions-running.js +38 -7
  48. package/esm/browser/extension/web-on-demand.d.ts +5 -0
  49. package/esm/browser/extension/web-on-demand.js +11 -0
  50. package/esm/browser/i18n/en/assistant.d.ts +3 -0
  51. package/esm/browser/i18n/en/assistant.js +3 -0
  52. package/esm/browser/i18n/en/chat.d.ts +1 -0
  53. package/esm/browser/i18n/en/chat.js +1 -0
  54. package/esm/browser/i18n/en/common.d.ts +1 -0
  55. package/esm/browser/i18n/en/common.js +1 -0
  56. package/esm/browser/i18n/en/discover.d.ts +2 -0
  57. package/esm/browser/i18n/en/discover.js +2 -0
  58. package/esm/browser/i18n/en/service.js +6 -6
  59. package/esm/browser/i18n/ja/assistant.js +3 -0
  60. package/esm/browser/i18n/ja/chat.js +1 -0
  61. package/esm/browser/i18n/ja/common.js +1 -0
  62. package/esm/browser/i18n/ja/discover.js +2 -0
  63. package/esm/browser/i18n/ja/service.js +6 -6
  64. package/esm/browser/i18n/locales.d.ts +8 -1
  65. package/esm/browser/i18n/messages.d.ts +7 -0
  66. package/esm/browser/i18n/zh/assistant.js +3 -0
  67. package/esm/browser/i18n/zh/chat.js +1 -0
  68. package/esm/browser/i18n/zh/common.js +1 -0
  69. package/esm/browser/i18n/zh/discover.js +2 -0
  70. package/esm/browser/i18n/zh/service.js +6 -6
  71. package/esm/browser/i18n/zh-tw/assistant.js +3 -0
  72. package/esm/browser/i18n/zh-tw/chat.js +1 -0
  73. package/esm/browser/i18n/zh-tw/common.js +1 -0
  74. package/esm/browser/i18n/zh-tw/discover.js +2 -0
  75. package/esm/browser/i18n/zh-tw/service.js +6 -6
  76. package/esm/browser/markdown/code-renderers.d.ts +3 -1
  77. package/esm/browser/markdown/code-renderers.js +2 -0
  78. package/esm/browser/sandbox/sandbox-runtime-code.js +1 -1
  79. package/esm/browser/sandbox/work/work-api.d.ts +113 -0
  80. package/esm/browser/sandbox/work/work-api.js +95 -0
  81. package/esm/browser/sandbox/work/work-docs.d.ts +18 -0
  82. package/esm/browser/sandbox/work/work-docs.js +66 -0
  83. package/esm/browser/sandbox/work/work-frame.d.ts +27 -0
  84. package/esm/browser/sandbox/work/work-frame.js +124 -0
  85. package/esm/browser/share/shared-extensions.d.ts +2 -1
  86. package/esm/browser/style/conversation.d.ts +1 -1
  87. package/esm/browser/style/conversation.js +10 -0
  88. package/esm/browser/style/pages.d.ts +1 -1
  89. package/esm/browser/style/pages.js +1 -0
  90. package/esm/browser/terminal/terminal-osc.d.ts +15 -0
  91. package/esm/browser/terminal/terminal-osc.js +91 -0
  92. package/esm/browser/terminal/web-terminal.d.ts +4 -7
  93. package/esm/browser/terminal/web-terminal.js +22 -26
  94. package/esm/browser/util/link.d.ts +6 -1
  95. package/esm/browser/util/link.js +11 -0
  96. package/lib/browser/assistant/assistant-thread.d.ts +1 -1
  97. package/lib/browser/assistant/chat-task-source.js +2 -1
  98. package/lib/browser/components/app-contexts.js +10 -9
  99. package/lib/browser/components/chat-asks.d.ts +4 -1
  100. package/lib/browser/components/chat-asks.js +10 -0
  101. package/lib/browser/components/chat-list-row.js +5 -3
  102. package/lib/browser/components/cloud-sign-in-view.d.ts +1 -1
  103. package/lib/browser/components/composer-box-protocol.d.ts +5 -0
  104. package/lib/browser/components/composer-box.js +9 -12
  105. package/lib/browser/components/composer-media.d.ts +27 -0
  106. package/lib/browser/components/composer-media.js +74 -0
  107. package/lib/browser/components/composer-target.d.ts +2 -2
  108. package/lib/browser/components/composer-target.js +3 -3
  109. package/lib/browser/components/composer.js +1 -0
  110. package/lib/browser/components/host-view.d.ts +1 -1
  111. package/lib/browser/components/link.d.ts +7 -1
  112. package/lib/browser/components/link.js +25 -6
  113. package/lib/browser/components/markdown.d.ts +1 -1
  114. package/lib/browser/components/markdown.js +68 -2
  115. package/lib/browser/components/remote-hosts.d.ts +3 -1
  116. package/lib/browser/components/remote-hosts.js +10 -5
  117. package/lib/browser/components/session-view.js +8 -4
  118. package/lib/browser/components/web-composer.d.ts +1 -1
  119. package/lib/browser/components/web-composer.js +12 -3
  120. package/lib/browser/device/photo-picker.d.ts +11 -3
  121. package/lib/browser/device/photo-picker.js +26 -9
  122. package/lib/browser/device/video-picks.d.ts +25 -0
  123. package/lib/browser/device/video-picks.js +107 -0
  124. package/lib/browser/extension/icons.js +2 -0
  125. package/lib/browser/extension/web-access.js +4 -1
  126. package/lib/browser/extension/web-api-code.d.ts +37 -0
  127. package/lib/browser/extension/web-api-code.js +4 -0
  128. package/lib/browser/extension/web-api-components.d.ts +22 -0
  129. package/lib/browser/extension/web-api-contributions.d.ts +0 -31
  130. package/lib/browser/extension/web-api-menus.d.ts +17 -5
  131. package/lib/browser/extension/web-api-play.d.ts +30 -0
  132. package/lib/browser/extension/web-api-play.js +3 -0
  133. package/lib/browser/extension/web-api-spec.js +3 -0
  134. package/lib/browser/extension/web-api-terminal.d.ts +20 -0
  135. package/lib/browser/extension/web-extension-api.d.ts +12 -17
  136. package/lib/browser/extension/web-extension-context.d.ts +1 -1
  137. package/lib/browser/extension/web-extension-context.js +4 -3
  138. package/lib/browser/extension/web-extension-protocol.d.ts +2 -0
  139. package/lib/browser/extension/web-extension-protocol.js +1 -0
  140. package/lib/browser/extension/web-extension-run.d.ts +4 -3
  141. package/lib/browser/extension/web-extension-run.js +15 -8
  142. package/lib/browser/extension/web-extensions-running.js +38 -7
  143. package/lib/browser/extension/web-on-demand.d.ts +5 -0
  144. package/lib/browser/extension/web-on-demand.js +11 -0
  145. package/lib/browser/i18n/en/assistant.d.ts +3 -0
  146. package/lib/browser/i18n/en/assistant.js +3 -0
  147. package/lib/browser/i18n/en/chat.d.ts +1 -0
  148. package/lib/browser/i18n/en/chat.js +1 -0
  149. package/lib/browser/i18n/en/common.d.ts +1 -0
  150. package/lib/browser/i18n/en/common.js +1 -0
  151. package/lib/browser/i18n/en/discover.d.ts +2 -0
  152. package/lib/browser/i18n/en/discover.js +2 -0
  153. package/lib/browser/i18n/en/service.js +6 -6
  154. package/lib/browser/i18n/ja/assistant.js +3 -0
  155. package/lib/browser/i18n/ja/chat.js +1 -0
  156. package/lib/browser/i18n/ja/common.js +1 -0
  157. package/lib/browser/i18n/ja/discover.js +2 -0
  158. package/lib/browser/i18n/ja/service.js +6 -6
  159. package/lib/browser/i18n/locales.d.ts +8 -1
  160. package/lib/browser/i18n/messages.d.ts +7 -0
  161. package/lib/browser/i18n/zh/assistant.js +3 -0
  162. package/lib/browser/i18n/zh/chat.js +1 -0
  163. package/lib/browser/i18n/zh/common.js +1 -0
  164. package/lib/browser/i18n/zh/discover.js +2 -0
  165. package/lib/browser/i18n/zh/service.js +6 -6
  166. package/lib/browser/i18n/zh-tw/assistant.js +3 -0
  167. package/lib/browser/i18n/zh-tw/chat.js +1 -0
  168. package/lib/browser/i18n/zh-tw/common.js +1 -0
  169. package/lib/browser/i18n/zh-tw/discover.js +2 -0
  170. package/lib/browser/i18n/zh-tw/service.js +6 -6
  171. package/lib/browser/markdown/code-renderers.d.ts +3 -1
  172. package/lib/browser/markdown/code-renderers.js +3 -1
  173. package/lib/browser/sandbox/sandbox-runtime-code.js +1 -1
  174. package/lib/browser/sandbox/work/work-api.d.ts +114 -0
  175. package/lib/browser/sandbox/work/work-api.js +99 -0
  176. package/lib/browser/sandbox/work/work-docs.d.ts +19 -0
  177. package/lib/browser/sandbox/work/work-docs.js +69 -0
  178. package/lib/browser/sandbox/work/work-frame.d.ts +28 -0
  179. package/lib/browser/sandbox/work/work-frame.js +160 -0
  180. package/lib/browser/share/shared-extensions.d.ts +2 -1
  181. package/lib/browser/style/conversation.d.ts +1 -1
  182. package/lib/browser/style/conversation.js +10 -0
  183. package/lib/browser/style/pages.d.ts +1 -1
  184. package/lib/browser/style/pages.js +1 -0
  185. package/lib/browser/terminal/terminal-osc.d.ts +16 -0
  186. package/lib/browser/terminal/terminal-osc.js +94 -0
  187. package/lib/browser/terminal/web-terminal.d.ts +4 -7
  188. package/lib/browser/terminal/web-terminal.js +25 -29
  189. package/lib/browser/util/link.d.ts +6 -1
  190. package/lib/browser/util/link.js +11 -0
  191. package/package.json +7 -7
@@ -1,3 +1,3 @@
1
1
  /** A conversation: the console session, Markdown, tools, dialogs. */
2
- export declare const CONVERSATION_STYLE = "\n/* Console session */\n.ta-session { display: flex; flex-direction: column; height: 100%; min-height: 0; }\n.ta-session-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 8px 20px; }\n.ta-session-title { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.35; }\n.ta-session-title .ta-path { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ta-muted); font-size: calc(11.5px * var(--ta-font-scale)); }\n/* The title is centred in the head, level with the tabs of the workbench and the search of the side; its directory hangs below it. */\n.ta-session-header > .ta-session-title .ta-path { margin-bottom: -1.35em; }\n.ta-title { font-weight: 600; }\n/* Nothing in a conversation is wider than it (long words break, tables and code scroll in their frames): it never scrolls sideways. */\n.ta-scroll { flex: 1; overflow-x: hidden; overflow-y: auto; min-height: 0; }\n/* Finding in the conversation: a row under its head, as a browser's find bar; the words found marked, the row found flashing. */\n.ta-find { display: flex; align-items: center; gap: 4px; padding: 0 20px 8px; }\n.ta-find-box { flex: 1; min-width: 0; height: 34px; display: flex; align-items: center; gap: 8px; padding: 0 10px 0 11px; border-radius: 10px; background: var(--ta-raised); color: var(--ta-muted); border: 1px solid var(--ta-border-field); }\n.ta-find-box input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: transparent; color: var(--ta-text); padding: 0; font-size: calc(13.5px * var(--ta-font-scale)); }\n.ta-find-box input::placeholder { color: var(--ta-muted); }\n.ta-find-count { flex: none; color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); font-variant-numeric: tabular-nums; }\n.ta-find .ta-icon-button:disabled { opacity: 0.4; }\n.ta-moved { margin-bottom: 8px; align-items: center; flex-wrap: wrap; }\n.ta-moved .ta-callout-text { min-width: min(240px, 70%); }\n.ta-moved-actions { display: inline-flex; align-items: center; gap: 6px; flex: none; margin-left: auto; }\n::highlight(ta-find) { background-color: color-mix(in srgb, var(--ta-yellow) 42%, transparent); color: inherit; }\n.ta-thread-item[data-found] { animation: ta-found 1.2s ease-out; border-radius: 12px; }\n@keyframes ta-found { 0%, 30% { background: color-mix(in srgb, var(--ta-yellow) 12%, transparent); } to { background: transparent; } }\n.ta-thread { position: relative; max-width: calc(var(--ta-col) + 48px); margin: 0 auto; padding: 20px 24px 8px; display: flex; flex-direction: column; gap: 16px; }\n/* An empty conversation: the welcome in the middle of the room, as that of the double. */\n.ta-thread:has(> .ta-hero) { min-height: 100%; box-sizing: border-box; }\n.ta-bottom { max-width: calc(var(--ta-col) + 48px); width: 100%; margin: 0 auto; padding: 8px 24px calc(16px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 8px; }\n/* What comes and goes over the message box (GrowBox): the gap under it is its own, to slide with it; none while it is empty. */\n.ta-grow { flex: none; margin-bottom: -8px; }\n.ta-grow-inner { display: flex; flex-direction: column; gap: 8px; padding-bottom: 8px; }\n.ta-grow-inner:empty { padding-bottom: 0; }\n.ta-message { display: flex; flex-direction: column; gap: 8px; min-width: 0; color: var(--ta-body); line-height: 1.75; overflow-wrap: break-word; }\n.ta-user { align-items: flex-end; }\n.ta-bubble-quote { margin: 1px 0 7px; padding: 0 0 0 9px; border-left: 2px solid var(--ta-border-field); color: var(--ta-secondary); font-size: 0.92em; line-height: 1.5; white-space: pre-wrap; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }\n.ta-bubble { background: var(--ta-user); color: var(--ta-text); border-radius: 16px 16px 5px 16px; padding: 9px 14px; max-width: 78%; white-space: pre-wrap; word-break: break-word; line-height: 1.6; }\n/* A long message of the user folds to its first lines (FOLD_LINES), fading out, with Show more under it. */\n.ta-fold[data-fold='measuring'], .ta-fold[data-fold='folded'] { max-height: 16em; max-height: 10lh; overflow: hidden; }\n.ta-fold[data-fold='folded'] { -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 4.5em), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 4.5em), transparent); }\n.ta-fold-toggle { display: inline-flex; align-items: center; gap: 2px; margin-top: 4px; padding: 0; border: 0; background: none; font: inherit; font-size: calc(12.5px * var(--ta-font-scale)); line-height: 1.5; color: var(--ta-secondary); cursor: pointer; }\n.ta-fold-toggle:hover { color: var(--ta-text); }\n.ta-bubble-media .ta-fold-toggle { margin: -8px 10px 5px; }\n/* A skill the user ran: its name on one line, which opens to the skill's file */\n.ta-skill-use { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; max-width: 78%; min-width: 0; }\n.ta-skill-head { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; min-height: 30px; padding: 0 10px 0 12px; border: 1px solid var(--ta-border); border-radius: 15px; background: var(--ta-chip); color: var(--ta-secondary); font-size: calc(13px * var(--ta-font-scale)); transition: background 120ms, color 120ms; }\n@media (hover: hover) { .ta-skill-head:hover { background: var(--ta-hover); color: var(--ta-text); } }\n.ta-skill-tag { color: var(--ta-muted); flex: none; }\n/* A name of the vault in what was said ($TA_SECRET_PHONE): a lock and what it stands for, never the variable. */\n.ta-secret-chip { display: inline-flex; border: 0; font-family: inherit; align-items: center; gap: 3px; margin: 0 1px; padding: 0 6px; border-radius: 6px; background: var(--ta-chip); box-shadow: inset 0 0 0 1px var(--ta-border); color: var(--ta-secondary); font-size: 0.9em; line-height: 1.6; white-space: nowrap; vertical-align: baseline; cursor: default; }\n.ta-secret-chip svg { flex: none; color: var(--ta-muted); }\nbutton.ta-secret-chip { cursor: pointer; transition: background 120ms, color 120ms; }\n@media (hover: hover) { button.ta-secret-chip:hover { background: var(--ta-hover); color: var(--ta-text); } }\n.ta-skill-name { font-weight: 500; color: var(--ta-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }\n.ta-skill-head[aria-expanded='true'] .ta-process-chevron { transform: rotate(90deg); }\n.ta-skill-body { align-self: stretch; max-height: 360px; overflow-y: auto; padding: 10px 14px; border: 1px solid var(--ta-border); border-radius: 12px; background: var(--ta-card); color: var(--ta-secondary); font-size: calc(13px * var(--ta-font-scale)); }\n/* A message that did not go: what to do with it, in the place of its footer */\n.ta-send-failed { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 4px; min-height: 26px; margin-top: -4px; color: var(--ta-red); font-size: calc(12px * var(--ta-font-scale)); }\n.ta-send-failed .ta-link-button { padding: 2px 6px; font-size: inherit; color: var(--ta-secondary); }\n.ta-send-failed .ta-link-button:hover { color: var(--ta-text); }\n.ta-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; min-height: 26px; margin-top: -4px; color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); font-variant-numeric: tabular-nums; opacity: 0; transition: opacity 120ms; }\n.ta-message:hover > .ta-footer, .ta-msg-user:hover > .ta-footer, .ta-msg-ta:hover > .ta-footer, .ta-footer:focus-within { opacity: 1; }\n@media (hover: none) { .ta-footer { opacity: 1; } }\n.ta-footer-button { display: inline-grid; place-items: center; width: 26px; height: 26px; border: 0; border-radius: 6px; background: transparent; color: var(--ta-muted); transition: background 120ms, color 120ms; }\n.ta-footer-button:hover { background: var(--ta-hover); color: var(--ta-text); }\n.ta-footer-time { padding: 0 6px; white-space: nowrap; }\n.ta-footer-usage { display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 0 6px; white-space: nowrap; }\n.ta-footer-usage > span { display: inline-flex; align-items: center; gap: 1px; }\n/* The time between two messages far apart, as WeChat shows it: on a touch screen only (device.ts), where the footers do not show. */\n.ta-time-break { display: none; align-self: center; color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); line-height: 1.5; font-variant-numeric: tabular-nums; }\n.ta-thread-item > .ta-time-break { margin-bottom: 16px; }\n/* Where the conversation goes on with another model: on every device, as the footers do not say the model. */\n.ta-model-break { display: flex; align-items: center; gap: 5px; align-self: center; max-width: 100%; margin-bottom: 16px; padding: 0 10px; height: 22px; border-radius: 999px; background: var(--ta-chip); color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); white-space: nowrap; }\n.ta-model-break > span { overflow: hidden; text-overflow: ellipsis; }\n/* Where a message of the user came from when not typed (a package, the double), and that it waited for a reply: a quiet line above it. */\n.ta-user-marks { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 10px; max-width: 78%; margin-bottom: -2px; }\n/* Someone else's message in the same Ta (TaMessageAuthor): on the left, with their face and name, as in a group chat. */\n.ta-user.ta-user-other { align-items: flex-start; }\n.ta-user-by { display: flex; align-items: flex-start; gap: 8px; max-width: 86%; min-width: 0; }\n.ta-user-by > .ta-face { flex: none; margin-top: 1px; }\n.ta-user-by-body { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }\n.ta-user-by-name { color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); line-height: 1.4; }\n.ta-user-other .ta-user-marks { justify-content: flex-start; max-width: 100%; margin-bottom: 0; }\n.ta-user-other .ta-bubble { max-width: 100%; background: var(--ta-card); box-shadow: inset 0 0 0 1px var(--ta-border); border-radius: 5px 16px 16px 16px; }\n.ta-user-other .ta-skill-use { align-items: flex-start; max-width: 100%; }\n.ta-user-other .ta-user-images { justify-content: flex-start; }\n.ta-message.ta-user-other > .ta-footer { margin-left: 32px; }\n/* The record of a call (CallTranscript): Ta's face beside its words, as a messenger keeps a chat; held for the menu, no footer. */\n.ta-turn-spoken { display: grid; grid-template-columns: 24px minmax(0, 1fr); column-gap: 10px; align-items: start; }\n.ta-turn-spoken > :first-child { margin-top: 1px; }\n.ta-spoken-body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }\n.ta-thread-item.ta-spoken > .ta-message > .ta-footer { display: none; }\n/* Others at the conversation (TaSessionInfo.people): faces one over the next; over the box, who types. */\n.ta-people { display: inline-flex; align-items: center; flex: none; }\n.ta-people-face { display: inline-flex; border-radius: 50%; box-shadow: 0 0 0 2px var(--ta-main); background: var(--ta-main); }\n.ta-people-face + .ta-people-face { margin-left: -6px; }\n.ta-people-more { margin-left: 4px; color: var(--ta-muted); font-size: calc(11.5px * var(--ta-font-scale)); font-variant-numeric: tabular-nums; }\n.ta-session-header > .ta-people { margin-left: -8px; }\n.ta-presence-line { display: flex; align-items: center; gap: 6px; min-width: 0; padding: 0 6px; color: var(--ta-muted); font-size: calc(12.5px * var(--ta-font-scale)); line-height: calc(20px * var(--ta-font-scale)); }\n.ta-typing-dots { display: inline-flex; align-items: center; gap: 3px; flex: none; }\n.ta-typing-dots i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; animation: ta-typing 1.2s infinite ease-in-out; }\n.ta-typing-dots i:nth-child(2) { animation-delay: 0.15s; }\n.ta-typing-dots i:nth-child(3) { animation-delay: 0.3s; }\n@keyframes ta-typing { 0%, 60%, 100% { opacity: 0.3; transform: none; } 30% { opacity: 1; transform: translateY(-2px); } }\n@media (prefers-reduced-motion: reduce) { .ta-typing-dots i { animation: none; } }\n.ta-origin { display: inline-flex; align-items: center; gap: 4px; min-width: 0; max-width: 100%; color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); line-height: 1.5; white-space: nowrap; }\n.ta-origin-name { color: var(--ta-secondary); overflow: hidden; text-overflow: ellipsis; }\n.ta-origin-detail { overflow: hidden; text-overflow: ellipsis; }\n.ta-origin-detail::before { content: '\u00B7'; margin-right: 4px; }\n/* Said on the way: on the string of the steps, where the agent read it, in the colour of the user's words. */\n.ta-step-said { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 4px 0 6px; min-width: 0; }\n/* On the string as the other dots (conversation-column.ts), on the middle of the line of its head. */\n.ta-step-said > .ta-status { margin-top: calc(9px * var(--ta-font-scale) - 6px); }\n.ta-status.ta-status-said::before { background: var(--ta-blue); }\n.ta-said-head { display: flex; align-items: center; gap: 4px; min-width: 0; max-width: 100%; color: var(--ta-blue); font-size: calc(12px * var(--ta-font-scale)); line-height: calc(18px * var(--ta-font-scale)); white-space: nowrap; }\n.ta-said-head > .ta-origin { margin-left: 4px; }\n.ta-said-bubble { max-width: min(100%, 520px); padding: 6px 11px; border-radius: 5px 14px 14px 14px; background: var(--ta-user); color: var(--ta-text); font-size: calc(13.5px * var(--ta-font-scale)); line-height: 1.55; white-space: pre-wrap; word-break: break-word; }\n/* Folded, the words said on the way stay under the head, on a string of their own. */\n.ta-process-steps.ta-said-folded::before, .ta-said-folded .ta-status { display: none; }\n/* Open, the dot on the string says it: the arrow is for the words folded out of the steps. */\n.ta-process-steps:not(.ta-said-folded) .ta-said-head > .ta-icon:first-child { display: none; }\n/* Where the context was compacted: a mark as quiet as the one above, which opens to the summary. */\n.ta-compaction { display: flex; flex-direction: column; align-items: center; min-width: 0; }\n.ta-compaction-mark { display: flex; align-items: center; gap: 5px; max-width: 100%; padding: 0 8px 0 10px; height: 22px; border: 0; border-radius: 999px; background: var(--ta-chip); color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); white-space: nowrap; transition: background 120ms, color 120ms; }\n.ta-compaction-mark:hover { background: var(--ta-hover); color: var(--ta-secondary); }\n.ta-compaction-mark > span { overflow: hidden; text-overflow: ellipsis; }\n.ta-compaction-tokens { flex-shrink: 0; font-variant-numeric: tabular-nums; }\n.ta-compaction-note { flex-shrink: 0; }\n/* The line at the end about the context: a mark, what it says, and its answers as small chips, one gap of 8px between all (6px after the mark). It sits under the footer of the last message, as close as the footer to the message. */\n.ta-context-line { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; margin-top: -6px; color: var(--ta-muted); font-size: calc(12.5px * var(--ta-font-scale)); line-height: calc(22px * var(--ta-font-scale)); }\n.ta-context-line > svg { flex-shrink: 0; margin-right: -2px; }\n.ta-context-text { min-width: 0; }\n.ta-context-acts { display: inline-flex; align-items: center; gap: 8px; }\n.ta-context-act { display: inline-flex; align-items: center; height: calc(24px * var(--ta-font-scale)); padding: 0 10px; border: 0; border-radius: 999px; background: var(--ta-chip); color: var(--ta-secondary); font: inherit; white-space: nowrap; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background 120ms, color 120ms; }\n.ta-context-act:first-child { color: var(--ta-text); font-weight: 500; }\n@media (hover: hover) { .ta-context-act:hover { background: var(--ta-hover); color: var(--ta-text); } }\n.ta-context-act:active { background: var(--ta-hover); }\n.ta-context-act:disabled { opacity: 0.5; cursor: default; }\n.ta-context-dot { flex-shrink: 0; width: 6px; height: 6px; margin: 0 1px; border-radius: 50%; background: var(--ta-green, #3fb950); }\n.ta-compaction-chevron { flex-shrink: 0; transition: transform 160ms; }\n.ta-compaction-mark[aria-expanded=\"true\"] .ta-compaction-chevron { transform: rotate(90deg); }\n/* The handoff note, opened: a card as a skill's file is, its headings the size of the text, one rhythm of gaps. */\n.ta-compaction-summary { align-self: stretch; margin-top: 8px; padding: 12px 14px; border: 1px solid var(--ta-border); border-radius: 12px; background: var(--ta-card); color: var(--ta-secondary); font-size: calc(13px * var(--ta-font-scale)); line-height: 1.6; }\n.ta-compaction-summary .ta-markdown :is(h1, h2, h3, h4, h5, h6) { margin: 10px 0 2px; font-size: calc(13px * var(--ta-font-scale)); line-height: 1.5; color: var(--ta-text); font-weight: 600; }\n.ta-compaction-summary .ta-markdown :is(p, ul, ol, blockquote) { margin: 0 0 6px; }\n.ta-compaction-summary .ta-markdown :is(ul, ol) { padding-left: 18px; }\n.ta-compaction-summary .ta-markdown hr { margin: 10px 0; }\n.ta-compaction-summary .ta-markdown > :first-child { margin-top: 0; }\n.ta-compaction-summary .ta-markdown > :last-child { margin-bottom: 0; }\n.ta-working { display: flex; align-items: center; gap: 8px; color: var(--ta-text); font-size: calc(13px * var(--ta-font-scale)); font-weight: 500; }\n.ta-statusline { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 4px; font-size: calc(11.5px * var(--ta-font-scale)); color: var(--ta-secondary); }\n.ta-statusline-item { display: inline-flex; align-items: center; gap: 6px; min-width: 0; max-width: 100%; height: 22px; padding: 0 9px; border-radius: 999px; background: var(--ta-chip); white-space: nowrap; }\n.ta-statusline-label { color: var(--ta-text); font-weight: 500; }\n.ta-statusline-part { display: inline-flex; align-items: center; gap: 4px; min-width: 0; overflow: hidden; text-overflow: ellipsis; }\n.ta-statusline-part + .ta-statusline-part::before { content: ''; width: 1px; height: 10px; margin-right: 2px; background: var(--ta-border-field); }\n.ta-statusline-part.ta-tone-error { color: var(--ta-red); }\n.ta-statusline-part > .ta-status { width: 8px; }\n.ta-widget { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--ta-border); background: var(--ta-side); }\n.ta-widget-text { margin: 0; max-width: 100%; overflow-x: auto; font-family: var(--ta-mono); font-size: calc(12px * var(--ta-font-scale)); line-height: 1.5; color: var(--ta-secondary); white-space: pre; }\n.ta-widget-art { width: 180px; height: auto; border-radius: 8px; }\n.ta-console-composer { position: relative; }\n.ta-console-box { display: flex; align-items: flex-end; gap: 8px; padding: 8px 8px 8px 14px; border-radius: 16px; border: 1px solid var(--ta-border-field); background: var(--ta-input); box-shadow: var(--ta-shadow-composer); transition: border-color 150ms; }\n.ta-console-box:focus-within { border-color: var(--ta-border-focus); }\n.ta-console-composer textarea { flex: 1; resize: none; border: 0; outline: none; background: transparent; padding: 5px 0; max-height: 220px; font-size: var(--ta-field-font); line-height: 1.55; }\n.ta-commands { position: absolute; bottom: calc(100% + 6px); left: 0; right: 0; background: var(--ta-side); border: 1px solid var(--ta-border); border-radius: 12px; padding: 4px; box-shadow: var(--ta-shadow-pop); z-index: 2; }\n.ta-command { display: flex; gap: 12px; width: 100%; height: 32px; align-items: center; padding: 0 10px; background: none; border: 0; border-radius: 8px; text-align: left; font-size: calc(13px * var(--ta-font-scale)); }\n.ta-command .ta-muted { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-command.ta-selected, .ta-command:hover { background: var(--ta-hover); }\n/* The screenshot just taken, offered above the + (RecentShotOffer), as WeChat's: a bubble pointing at the +, over what is above the box. */\n.ta-recent-shot { position: absolute; left: -2px; bottom: calc(100% + 12px); z-index: 19; display: flex; flex-direction: column; gap: 6px; width: calc(9em + 18px); padding: 7px; font-size: calc(12px * var(--ta-font-scale)); border: 1px solid var(--ta-border); border-radius: 12px; background: var(--ta-side); box-shadow: var(--ta-shadow-pop); color: var(--ta-secondary); text-align: left; cursor: pointer; animation: ta-plus-in 160ms var(--ta-ease); transition: opacity 160ms var(--ta-ease), transform 160ms var(--ta-ease); }\n.ta-recent-shot::after { content: ''; position: absolute; left: 12px; bottom: -6px; width: 10px; height: 10px; box-sizing: border-box; border-right: 1px solid var(--ta-border); border-bottom: 1px solid var(--ta-border); background: var(--ta-side); transform: rotate(45deg); }\n.ta-recent-shot.ta-leaving { opacity: 0; transform: translateY(4px); pointer-events: none; }\n.ta-recent-shot-label { padding: 0 1px; line-height: 1.35; }\n.ta-recent-shot-thumb { display: block; width: 100%; height: auto; max-height: 150px; object-fit: cover; object-position: top; border-radius: 7px; border: 1px solid var(--ta-border); background: var(--ta-raised); }\n\n/* Markdown */\n.ta-markdown > :first-child { margin-top: 0; }\n.ta-markdown > :last-child { margin-bottom: 0; }\n.ta-markdown p, .ta-markdown ul, .ta-markdown ol, .ta-markdown blockquote { margin: 0 0 10px; }\n/* Headings: # is the largest, ### and under the size of the text; each closer to what it heads than to what is above it. */\n.ta-markdown h3, .ta-markdown h4, .ta-markdown h5, .ta-markdown h6 { margin: 16px 0 6px; line-height: 1.4; color: var(--ta-text); font-weight: 600; }\n.ta-markdown h3 { font-size: calc(17px * var(--ta-font-scale)); }\n.ta-markdown h4 { font-size: calc(15.5px * var(--ta-font-scale)); }\n.ta-markdown h5, .ta-markdown h6 { font-size: calc(14px * var(--ta-font-scale)); }\n.ta-markdown ul, .ta-markdown ol { padding-left: 22px; }\n.ta-markdown strong { color: var(--ta-text); font-weight: 600; }\n.ta-markdown blockquote { border-left: 3px solid var(--ta-border); padding-left: 12px; color: var(--ta-secondary); }\n/* A long path in a code span breaks where the line ends, each piece in a box of its own. */\n.ta-markdown :not(pre) > code { background: var(--ta-chip); border-radius: 5px; padding: 1px 5px; font-size: calc(12.5px * var(--ta-font-scale)); overflow-wrap: anywhere; -webkit-box-decoration-break: clone; box-decoration-break: clone; }\n.ta-markdown-inline :not(pre) > code { padding: 0 4px; font-size: 0.92em; }\n.ta-markdown hr { border: 0; border-top: 1px solid var(--ta-border-muted); margin: 16px 0; }\n.ta-markdown a:hover { text-decoration: underline; text-underline-offset: 2px; }\n.ta-link-path { display: inline; border: 0; background: none; padding: 0; margin: 0; font: inherit; color: var(--ta-link); text-align: inherit; cursor: pointer; overflow-wrap: anywhere; }\n.ta-link-path:hover { text-decoration: underline; text-underline-offset: 2px; }\n.ta-link-path:focus-visible { outline: 2px solid var(--ta-border-focus); outline-offset: 1px; border-radius: 3px; }\n.ta-markdown .ta-link-code code { color: var(--ta-link); }\n.ta-link-code:hover { text-decoration: none; }\n.ta-link-code:hover code { text-decoration: underline; text-underline-offset: 2px; }\n.ta-modal.ta-link-dialog { width: min(520px, 100%); }\n.ta-link-dialog .ta-confirm-title { display: flex; align-items: center; gap: 8px; }\n.ta-link-address { margin: 4px 0 0; padding: 8px 10px; border-radius: 8px; background: var(--ta-chip); font-family: var(--ta-mono); font-size: calc(12.5px * var(--ta-font-scale)); line-height: 1.5; overflow-wrap: anywhere; max-height: 120px; overflow: auto; }\n.ta-link-address strong { color: var(--ta-text); font-weight: 600; }\n.ta-link-dialog .ta-dialog-actions { flex-wrap: wrap; align-items: center; row-gap: 10px; }\n.ta-link-more { display: flex; align-items: center; gap: 14px; margin-right: auto; min-width: 0; }\n.ta-link-more .ta-link { font-size: calc(13px * var(--ta-font-scale)); }\n.ta-link-more .ta-link:hover { text-decoration: underline; text-underline-offset: 2px; }\n/* A table: short cells keep to one line, long ones (ta-cell-long) wrap from a width that reads; wider than the\n conversation, it scrolls in its frame rather than squeezes its columns to a character a line. */\n.ta-table { overflow-x: auto; overscroll-behavior-x: contain; margin: 0 0 10px; border-radius: 10px; border: 1px solid var(--ta-border); }\n.ta-table table { border-collapse: collapse; font-size: calc(13px * var(--ta-font-scale)); width: 100%; line-height: 1.55; font-variant-numeric: tabular-nums; }\n.ta-table th, .ta-table td { border-bottom: 1px solid var(--ta-border-muted); padding: 7px 12px; text-align: left; vertical-align: top; white-space: nowrap; }\n.ta-table td.ta-cell-long { white-space: normal; min-width: 14em; }\n.ta-table [data-align='center'] { text-align: center; }\n.ta-table [data-align='right'] { text-align: right; }\n.ta-table :not(pre) > code { overflow-wrap: normal; }\n.ta-table tr:last-child td { border-bottom: 0; }\n.ta-table th { background: var(--ta-raised); font-weight: 600; color: var(--ta-text); }\n.ta-code { border: 1px solid var(--ta-border); border-radius: 10px; overflow: hidden; background: var(--ta-code); margin: 0 0 10px; line-height: 1.55; }\n.ta-code-bar { display: flex; justify-content: space-between; align-items: center; height: 30px; padding: 0 10px 0 12px; font-size: calc(12px * var(--ta-font-scale)); color: var(--ta-muted); border-bottom: 1px solid var(--ta-border-muted); }\n.ta-code-editor { position: relative; flex: 1; width: 100%; height: 100%; min-height: 0; background: var(--ta-code); }\n.ta-code-editor-host { position: absolute; inset: 0; }\n.ta-game { position: relative; flex: 1; width: 100%; height: 100%; min-height: 0; overflow: hidden; outline: none; touch-action: none; overscroll-behavior: contain; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }\n.ta-game canvas { display: block; }\n/* While its engine loads, once it took a moment. */\n.ta-game-cover { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; pointer-events: none; }\n/* What a web extension shows over all of the page (ui.FullScreen): under the notch, above the keyboard, below the title bar of the app, under notices and menus. */\n.ta-full-screen { position: fixed; left: 0; right: 0; top: var(--ta-titlebar, 0px); z-index: 45; display: flex; flex-direction: column; height: calc(var(--ta-viewport, 100dvh) - var(--ta-titlebar, 0px)); overflow: hidden; background: var(--ta-main); color: var(--ta-text); overscroll-behavior: none; touch-action: none; }\n:root[data-keyboard] .ta-full-screen { height: calc(var(--ta-viewport, calc(100dvh - var(--ta-keyboard, 0px))) - var(--ta-titlebar, 0px)); }\n.ta-code-editor-state { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 16px; color: var(--ta-muted); font-size: calc(13px * var(--ta-font-scale)); }\n/* A terminal (WebTerminal) fills the element it is attached to, which must have a size and position: relative. */\n.ta-terminal { position: absolute; inset: 0; background: var(--ta-code); }\n/* The padding is the terminal's own: xterm.js fits its rows and columns inside it. */\n.ta-terminal .xterm { height: 100%; padding: 10px 4px 6px 14px; }\n.ta-terminal .xterm-viewport { background: transparent !important; }\n.ta-terminal .xterm-helper-textarea { caret-color: transparent; }\n.ta-code pre { margin: 0; padding: 10px 12px; overflow-x: auto; overscroll-behavior-x: contain; color: var(--ta-body); }\n.ta-code-actions { display: flex; align-items: center; gap: 2px; }\n.ta-code-actions .ta-icon-button { width: 24px; height: 24px; border-radius: 6px; color: var(--ta-muted); }\n.ta-code-actions .ta-icon-button:hover { color: var(--ta-text); }\n.ta-code-actions .ta-icon { width: 14px; height: 14px; }\n.ta-code:has(> .ta-code-float) { position: relative; }\n.ta-code-float { position: absolute; top: 6px; right: 6px; opacity: 0; transition: opacity 120ms; }\n.ta-code:hover > .ta-code-float, .ta-code-float:focus-within { opacity: 1; }\n.ta-code-float .ta-icon-button { background: var(--ta-code); }\n.ta-math-block { margin: 0 0 10px; padding: 2px 0; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; text-align: center; }\n.ta-math-block .katex-display { margin: 0; }\n.ta-markdown .katex { font-size: 1.1em; }\n.ta-math-source { font-family: var(--ta-mono); font-size: calc(12.5px * var(--ta-font-scale)); color: var(--ta-secondary); }\ndiv.ta-math-source { white-space: pre-wrap; text-align: left; padding: 8px 12px; border-radius: 10px; background: var(--ta-code); }\n.ta-mermaid-diagram { display: flex; justify-content: center; padding: 16px; overflow: auto; }\n.ta-mermaid-diagram svg { max-width: 100%; height: auto; }\n.ta-mermaid-room { width: 100%; }\n/* A diagram that comes in (DiagramStyle motion) does so once: not again as a streamed source draws longer. */\n.ta-mermaid-settled .ta-mermaid-diagram svg :is(.node, .edgeLabel) { animation: none !important; }\n:root[data-reduce-motion] .ta-mermaid-diagram svg * { animation: none !important; }\n.ta-mermaid:fullscreen { display: flex; flex-direction: column; border: 0; border-radius: 0; background: var(--ta-main); }\n.ta-mermaid:fullscreen .ta-mermaid-diagram { flex: 1; align-items: center; }\n.ta-mermaid:fullscreen .ta-mermaid-diagram svg { width: 100%; height: 100%; max-width: none !important; }\n.ta-mermaid:fullscreen pre { flex: 1; }\n.ta-media { display: block; max-width: 100%; margin: 6px 0 10px; border-radius: 10px; }\n.ta-media-image { padding: 0; border: 1px solid var(--ta-border-muted); background: var(--ta-code); overflow: hidden; cursor: zoom-in; line-height: 0; width: fit-content; }\n.ta-media-image img { display: block; max-width: 100%; max-height: 420px; object-fit: contain; }\n.ta-media-image.ta-media-pending { width: 240px; height: 135px; border-color: transparent; background: var(--ta-raised); }\n.ta-media-image.ta-media-pending img { opacity: 0; }\n.ta-media-video { width: 560px; max-height: 420px; background: #000; }\n.ta-media-audio { width: 360px; height: 40px; }\n.ta-media-loading { display: block; width: 240px; max-width: 100%; height: 135px; margin: 6px 0 10px; border-radius: 10px; background: var(--ta-raised); }\n.ta-media-loading.ta-media-audio { height: 40px; }\n/* Pictures of a reply together (components/gallery.tsx): rows as wide as the reply, each picture whole and a row as tall (GalleryUtil.rows), the words that name each under it. */\n.ta-gallery { display: flex; flex-direction: column; gap: 6px; margin: 8px 0 12px; }\n.ta-gallery-row { display: flex; gap: inherit; }\n.ta-gallery-item { display: flex; flex: none; flex-direction: column; gap: 5px; min-width: 0; margin: 0; }\n.ta-gallery-tile { position: relative; display: block; width: 100%; height: var(--ta-gallery-row); padding: 0; border: 1px solid var(--ta-border-muted); border-radius: 8px; overflow: hidden; background: var(--ta-raised); line-height: 0; cursor: zoom-in; -webkit-tap-highlight-color: transparent; transition: opacity 120ms; }\n.ta-gallery-tile img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 240ms var(--ta-ease), opacity 160ms; }\n.ta-gallery-tile:hover img { transform: scale(1.03); }\n.ta-gallery-tile:active { opacity: 0.85; }\n.ta-gallery-tile:disabled { cursor: default; }\n.ta-gallery-pending { border-color: transparent; animation: ta-shimmer-soft 1.6s ease-in-out infinite; }\n.ta-gallery-pending img { opacity: 0; }\n.ta-gallery-missing { display: grid; place-items: center; color: var(--ta-muted); cursor: default; }\n.ta-gallery-more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, 0.48); color: #fff; font-size: calc(20px * var(--ta-font-scale)); font-weight: 600; line-height: 1; }\n.ta-gallery-caption { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; color: var(--ta-secondary); font-size: calc(12px * var(--ta-font-scale)); line-height: 1.4; text-align: center; }\n@media (max-width: 860px), (max-height: 500px) and (pointer: coarse) { .ta-gallery { gap: 4px; } }\n.ta-media-missing { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border-radius: 6px; background: var(--ta-chip); color: var(--ta-muted); font-size: calc(12.5px * var(--ta-font-scale)); vertical-align: middle; }\n/* A picture that zooms (image-zoom.ts): what scrolls is the box; the picture sits in it where ImageZoom puts it. */\n.ta-zoom { position: relative; display: flex; flex: 1; width: 100%; min-width: 0; min-height: 0; overflow: hidden; }\n/* What a finger swipes to the picture beside (image-swipe.ts): the box that scrolls, and the pictures beside it at its sides, as large as it shows them at first. */\n.ta-zoom-track { position: relative; display: flex; flex: 1; min-width: 0; min-height: 0; }\n.ta-zoom-peek { position: absolute; top: 0; width: 100%; height: 100%; padding: 16px; box-sizing: border-box; object-fit: contain; pointer-events: none; -webkit-user-drag: none; }\n.ta-zoom-peek-previous { right: calc(100% + 20px); }\n.ta-zoom-peek-next { left: calc(100% + 20px); }\n.ta-zoom-viewport { flex: 1; min-width: 0; min-height: 0; overflow: auto; overscroll-behavior: contain; touch-action: pan-x pan-y; outline: none; scrollbar-width: thin; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }\n.ta-zoom-stage { position: relative; }\n.ta-zoom-stage img { position: absolute; top: 0; left: 0; max-width: none; max-height: none; transform-origin: 0 0; cursor: zoom-in; -webkit-user-drag: none; }\n.ta-zoom-stage img:not([data-ready]) { opacity: 0; }\n/* Loading, or why it does not show: in the middle of the box, whatever scrolls. */\n.ta-zoom-status { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 16px; text-align: center; color: var(--ta-muted); font-size: calc(13px * var(--ta-font-scale)); pointer-events: none; }\n.ta-lightbox .ta-zoom-status { color: rgba(255, 255, 255, 0.7); }\n.ta-zoom-stage img.ta-zoom-pixelated { image-rendering: pixelated; }\n.ta-zoom-viewport[data-zoomed='true'] img { cursor: grab; }\n.ta-zoom-viewport[data-dragging], .ta-zoom-viewport[data-dragging] img { cursor: grabbing; }\n.ta-zoom-bar { position: absolute; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 4px; padding: 5px 6px; border: 1px solid var(--ta-border); border-radius: 12px; background: color-mix(in srgb, var(--ta-card) 90%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.16); color: var(--ta-secondary); transform: translateX(-50%); transition: opacity 160ms; }\n.ta-zoom-bar button { display: inline-grid; place-items: center; width: 34px; height: 32px; padding: 0; border: 0; border-radius: 8px; background: none; color: inherit; }\n.ta-zoom-bar button:hover:not(:disabled) { background: var(--ta-hover); color: var(--ta-text); }\n.ta-zoom-bar button:disabled { opacity: 0.4; }\n.ta-zoom-scale { min-width: 52px; padding: 0 4px; text-align: center; font-size: calc(13.5px * var(--ta-font-scale)); font-variant-numeric: tabular-nums; -webkit-user-select: none; user-select: none; }\n/* The pictures beside it (of a folder, of a message), at its sides. */\n.ta-zoom-nav { position: absolute; top: 50%; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--ta-border); border-radius: 50%; background: color-mix(in srgb, var(--ta-card) 90%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14); color: var(--ta-secondary); transform: translateY(-50%); transition: opacity 160ms, background 120ms, color 120ms; }\n.ta-zoom-nav:hover:not(:disabled) { background: var(--ta-card); color: var(--ta-text); }\n.ta-zoom-nav:disabled { opacity: 0.35; }\n.ta-zoom-previous { left: calc(12px + env(safe-area-inset-left)); }\n.ta-zoom-next { right: calc(12px + env(safe-area-inset-right)); }\n/* With a mouse, the buttons show while the pointer is over the picture; on a touch screen always. */\n:root:not([data-touch]) .ta-zoom:not(:hover):not(:focus-within) :is(.ta-zoom-bar, .ta-zoom-nav) { opacity: 0; }\n.ta-lightbox { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: #f5f5f5; app-region: no-drag; -webkit-app-region: no-drag; }\n.ta-lightbox[open] { display: flex; }\n.ta-lightbox::backdrop { background: transparent; }\n/* The dark over the page: lighter as a finger pulls the picture down (image-pull.ts), the buttons hidden meanwhile. */\n.ta-lightbox-shade { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.86); pointer-events: none; }\n.ta-lightbox-close, .ta-lightbox-caption { transition: opacity 160ms; }\n.ta-lightbox[data-pulling] :is(.ta-lightbox-close, .ta-lightbox-caption, .ta-zoom-bar, .ta-zoom-nav) { opacity: 0; pointer-events: none; }\n.ta-lightbox .ta-zoom-bar { border-color: rgba(255, 255, 255, 0.14); background: rgba(38, 38, 38, 0.78); color: #e5e5e5; }\n.ta-lightbox .ta-zoom-bar button:hover:not(:disabled) { background: rgba(255, 255, 255, 0.12); color: #fff; }\n.ta-lightbox .ta-zoom-nav { border-color: rgba(255, 255, 255, 0.14); background: rgba(38, 38, 38, 0.78); color: #e5e5e5; }\n.ta-lightbox .ta-zoom-nav:hover:not(:disabled) { background: rgba(64, 64, 64, 0.92); color: #fff; }\n.ta-lightbox-close { position: absolute; top: calc(12px + env(safe-area-inset-top)); right: calc(12px + env(safe-area-inset-right)); display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: rgba(38, 38, 38, 0.72); color: #f5f5f5; }\n.ta-lightbox-close:hover { background: rgba(64, 64, 64, 0.9); }\n/* What the picture over the page is and which of how many, at its top. */\n.ta-lightbox-caption { position: absolute; top: calc(18px + env(safe-area-inset-top)); left: 50%; display: flex; align-items: center; gap: 10px; max-width: calc(100% - 120px); padding: 0 12px; border-radius: 999px; background: rgba(38, 38, 38, 0.72); color: #f5f5f5; font-size: calc(13px * var(--ta-font-scale)); line-height: calc(30px * var(--ta-font-scale)); transform: translateX(-50%); pointer-events: none; }\n.ta-lightbox-words { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-lightbox-count { flex: none; color: rgba(255, 255, 255, 0.62); font-variant-numeric: tabular-nums; }\n.ta-thinking, .ta-summary { color: var(--ta-muted); border-left: 2px solid var(--ta-border); padding-left: 12px; font-size: calc(13px * var(--ta-font-scale)); }\n.ta-thinking summary, .ta-summary summary { cursor: pointer; font-size: calc(12.5px * var(--ta-font-scale)); user-select: none; }\n.ta-summary-line { font-size: calc(12.5px * var(--ta-font-scale)); }\n.ta-thinking-text { white-space: pre-wrap; margin-top: 4px; line-height: 1.6; }\n\n/* Tools: one line a step, a dot for its state; it opens to what it did */\n.ta-tool { min-width: 0; }\n.ta-tool-line { display: flex; align-items: center; gap: 2px; min-width: 0; }\n.ta-tool-title { flex: 1; display: flex; align-items: center; gap: 6px; min-width: 0; min-height: calc(26px * var(--ta-font-scale)); padding: 0 6px; margin-left: -6px; border: 0; border-radius: 6px; background: transparent; text-align: left; font-size: calc(13px * var(--ta-font-scale)); color: var(--ta-secondary); }\nbutton.ta-tool-title { transition: background 120ms; }\nbutton.ta-tool-title:disabled { cursor: default; color: var(--ta-secondary); }\n@media (hover: hover) { button.ta-tool-title:hover:not(:disabled), .ta-step-toggle:hover { background: var(--ta-hover); } }\nbutton.ta-tool-title:focus-visible, .ta-step-toggle:focus-visible { outline-offset: -2px; }\n.ta-tool-title code { font-size: calc(12.5px * var(--ta-font-scale)); white-space: pre-wrap; word-break: break-all; color: var(--ta-body); }\n.ta-tool-verb { flex: none; color: var(--ta-text); }\n.ta-tool-icon { flex: none; display: grid; place-items: center; width: 18px; height: 18px; }\n.ta-tool-target { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ta-muted); }\n.ta-tool-target.ta-mono { font-family: var(--ta-mono); font-size: calc(12px * var(--ta-font-scale)); }\n/* A thing ta did that says what it is for (a script): those words are the line, cut short as a target is. */\n.ta-tool-title-text { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n/* How many steps a thing took, at the end of its line. */\n.ta-tool-count { flex: none; margin-left: auto; padding-left: 8px; color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); font-variant-numeric: tabular-nums; }\n.ta-tool-count + .ta-tool-chevron { margin-left: 2px; }\n/* The steps of a thing, under its line: smaller, a little in, their dots beside them rather than on the string. */\n.ta-act-body { display: flex; flex-direction: column; min-width: 0; padding-left: 10px; margin-bottom: 4px; }\n.ta-tool-repeats { display: flex; flex-direction: column; gap: 6px; min-width: 0; }\n.ta-process-steps .ta-act-body .ta-status { position: relative; left: 0; background: transparent; }\n.ta-act-body .ta-tool-title, .ta-act-body .ta-step-toggle { font-size: calc(12.5px * var(--ta-font-scale)); min-height: calc(24px * var(--ta-font-scale)); }\n.ta-act-body .ta-act-script { align-self: flex-start; width: auto; color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); }\n.ta-act-body .ta-step-tag { color: var(--ta-secondary); }\n.ta-act-body .ta-tool-body { margin-top: 2px; }\n.ta-act-body > .ta-tool + .ta-tool:has(> .ta-act-script) { margin-top: 2px; }\n/* The files a turn changed, first when its work opens. */\n.ta-step-files { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; min-height: calc(26px * var(--ta-font-scale)); font-size: calc(13px * var(--ta-font-scale)); color: var(--ta-muted); }\n.ta-step-files > .ta-status { top: calc(7px * var(--ta-font-scale)); }\n.ta-step-files .ta-link { font-size: calc(12px * var(--ta-font-scale)); }\n/* The earlier steps, folded: a bead of their own on the string, as every step has. */\n.ta-step-more { display: flex; align-items: center; min-height: calc(26px * var(--ta-font-scale)); }\n.ta-step-more > .ta-more { margin-bottom: 0; }\n/* Where Ta restarted in the middle of the work and went on: a quiet line among the steps. */\n.ta-step-resumed { display: flex; align-items: center; min-height: calc(26px * var(--ta-font-scale)); font-size: calc(13px * var(--ta-font-scale)); color: var(--ta-muted); }\n.ta-file-chip { padding: 0 6px; border-radius: 5px; background: var(--ta-hover); font-family: var(--ta-mono); font-size: calc(12px * var(--ta-font-scale)); color: var(--ta-body); }\n.ta-tool-chevron { flex: none; width: 13px; margin-left: auto; color: var(--ta-muted); opacity: 0; transition: transform 150ms var(--ta-ease), opacity 120ms; }\nbutton.ta-tool-title:hover:not(:disabled) .ta-tool-chevron, button.ta-tool-title[aria-expanded='true'] .ta-tool-chevron { opacity: 1; }\nbutton.ta-tool-title[aria-expanded='true'] .ta-tool-chevron { transform: rotate(90deg); }\n.ta-tool-body { margin: 2px 0 6px; display: flex; flex-direction: column; gap: 6px; min-width: 0; animation: ta-in 180ms var(--ta-ease); }\n.ta-tool-body > .ta-output { padding: 8px 12px; border: 1px solid var(--ta-border-muted); border-radius: 10px; background: var(--ta-code); }\n.ta-tool-body .ta-code { margin: 0; }\n.ta-tool-group { display: flex; flex-direction: column; min-width: 0; }\n.ta-tool-trailing { flex: none; width: 24px; display: grid; place-items: center; }\n.ta-tool-script { width: 24px; height: 24px; display: grid; place-items: center; border: 0; border-radius: 6px; background: transparent; color: var(--ta-muted); opacity: 0; transition: opacity 120ms, background 120ms, color 120ms; }\n.ta-tool-group:hover .ta-tool-script, .ta-tool-script:focus-visible, .ta-tool-script.ta-on { opacity: 1; }\n.ta-tool-script:hover, .ta-tool-script.ta-on { background: var(--ta-hover); color: var(--ta-text); }\n.ta-output pre, pre.ta-output { margin: 0; white-space: pre-wrap; word-break: break-word; max-height: 320px; overflow: auto; color: var(--ta-secondary); font-size: calc(12px * var(--ta-font-scale)); line-height: 1.55; }\n.ta-error { color: var(--ta-red) !important; }\n/* What a tool returned, read as a person reads it: keys small and muted beside or above their values. */\n.ta-result { display: flex; flex-direction: column; gap: 8px; min-width: 0; font-size: calc(12px * var(--ta-font-scale)); line-height: 1.55; color: var(--ta-secondary); }\n.ta-result-entries { display: flex; flex-direction: column; gap: 6px; min-width: 0; }\n.ta-result-entries .ta-result-entries { padding-left: 10px; border-left: 1px solid var(--ta-border-muted); }\n.ta-result-entry { display: flex; flex-direction: column; gap: 2px; min-width: 0; }\n.ta-result-inline { flex-direction: row; align-items: baseline; gap: 8px; }\n.ta-result-key { flex: none; max-width: 40%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--ta-mono); font-size: calc(11px * var(--ta-font-scale)); color: var(--ta-muted); }\n.ta-result-entry:not(.ta-result-inline) > .ta-result-key { max-width: 100%; }\n.ta-result-atom { min-width: 0; font-family: var(--ta-mono); color: var(--ta-body); overflow-wrap: anywhere; }\n.ta-result-block { min-width: 0; }\n.ta-result-text { white-space: pre-wrap; overflow-wrap: anywhere; font-family: var(--ta-mono); }\n.ta-result-chips { display: flex; flex-wrap: wrap; gap: 4px; min-width: 0; }\n.ta-result-chips > .ta-result-atom { padding: 0 6px; border-radius: 5px; background: var(--ta-hover); }\n.ta-result-shell { display: flex; flex-direction: column; gap: 4px; min-width: 0; }\n.ta-result-stderr pre { color: var(--ta-muted); }\n.ta-result-badge { align-self: flex-start; padding: 0 6px; border-radius: 5px; font-family: var(--ta-mono); font-size: calc(11px * var(--ta-font-scale)); color: var(--ta-muted); background: var(--ta-hover); }\n.ta-result-empty { color: var(--ta-muted); }\n.ta-result-failure { display: flex; gap: 8px; min-width: 0; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ta-muted); }\n.ta-result-script { align-self: flex-start; gap: 4px; margin-top: 0; }\n/* A command reads whole, wrapped, as the line above shows only its start. */\n.ta-result-command pre { white-space: pre-wrap; overflow-wrap: anywhere; }\n.ta-more { font-size: calc(12px * var(--ta-font-scale)); margin-bottom: 4px; color: var(--ta-muted); }\n.ta-status { position: relative; width: 12px; height: 12px; flex: none; display: inline-grid; place-items: center; }\n.ta-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ta-muted); }\n.ta-status-done::before { background: var(--ta-green); }\n.ta-status-error::before { background: color-mix(in srgb, var(--ta-red) 75%, transparent); }\n.ta-status-cancelled::before { background: transparent; box-shadow: inset 0 0 0 1.2px var(--ta-muted); }\n/* At rest until its time comes again: still, not breathing as one that runs. */\n.ta-status-idle::before { background: color-mix(in srgb, var(--ta-blue) 45%, transparent); }\n/* A running dot breathes, like the light of a sleeping laptop: it works, it is not stuck. */\n.ta-status-running::before { background: var(--ta-blue); animation: ta-breathe 1.8s ease-in-out infinite; }\n@keyframes ta-breathe {\n 0%, 100% { transform: scale(0.8); opacity: 0.45; box-shadow: 0 0 0 0 color-mix(in srgb, var(--ta-blue) 0%, transparent); }\n 50% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 0 3px color-mix(in srgb, var(--ta-blue) 22%, transparent); }\n}\n.ta-status-thought::before { background: var(--ta-border-field); }\n.ta-diff { font-family: var(--ta-mono); font-size: calc(12px * var(--ta-font-scale)); border: 1px solid var(--ta-border); border-radius: 8px; overflow: auto; max-height: 400px; background: var(--ta-code); line-height: 1.6; }\n.ta-diff-line { display: grid; grid-template-columns: 42px 16px 1fr; white-space: pre; }\n.ta-diff-number { color: var(--ta-muted); text-align: right; padding-right: 8px; user-select: none; opacity: 0.7; }\n.ta-diff-sign { color: var(--ta-muted); user-select: none; }\n.ta-diff-add { background: var(--ta-add); }\n.ta-diff-add .ta-diff-sign { color: var(--ta-green); }\n.ta-diff-remove { background: var(--ta-remove); }\n.ta-diff-remove .ta-diff-sign { color: var(--ta-red); }\n.ta-diff-gap { color: var(--ta-muted); }\n.ta-add { color: var(--ta-green); }\n.ta-remove { color: var(--ta-red); }\n\n/* Dialogs */\n.ta-dialog { border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--ta-shadow-composer); }\n.ta-dialog-title { font-weight: 600; }\n.ta-dialog-message { margin: 0; white-space: pre-wrap; color: var(--ta-secondary); font-size: calc(13px * var(--ta-font-scale)); }\n.ta-dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 6px; }\n.ta-dialog-options { display: flex; flex-direction: column; gap: 4px; }\n.ta-option { text-align: left; min-height: 36px; padding: 6px 12px; border: 1px solid var(--ta-border); border-radius: 8px; background: transparent; transition: background 120ms; }\n.ta-option:hover, .ta-option:focus { background: var(--ta-hover); outline: none; }\n\n@keyframes ta-spin { to { transform: rotate(360deg); } }\n@keyframes ta-shimmer { to { background-position: -200% 0; } }\n@keyframes ta-pulse { 50% { opacity: 0.3; } }\n@keyframes ta-wave { 0%, 100% { transform: scaleY(0.35); } 50% { transform: scaleY(1); } }\n@keyframes ta-dino-blink { 0%, 93%, 100% { transform: scaleY(0); } 96% { transform: scaleY(1); } }\n@keyframes ta-dino-pop { from { transform: scale(0.4); opacity: 0; } }\n@keyframes ta-in { from { transform: translateY(4px); opacity: 0; } }\n@keyframes ta-fade { from { opacity: 0; } }\n@keyframes ta-slide { from { transform: translateX(24px); opacity: 0; } }\n@keyframes ta-up { from { transform: translateY(100%); } }\n/* Not inside a diagram being drawn: Mermaid lays a flowchart out wrong when its elements have a transition. */\n:root[data-reduce-motion] :not([id^='ta-mermaid-'] *), :root[data-reduce-motion] *::before, :root[data-reduce-motion] *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }\n\n@media (max-width: 860px), (max-height: 500px) and (pointer: coarse) {\n .ta-toasts { top: calc(8px + env(safe-area-inset-top) + var(--ta-titlebar)); bottom: auto; left: 8px; right: 8px; width: auto; flex-direction: column-reverse; justify-content: flex-start; transition: top 200ms var(--ta-ease); }\n .ta-connection { top: calc(58px + env(safe-area-inset-top) + var(--ta-titlebar)); }\n .ta-connection-when { display: none; }\n .ta-app:has(.ta-connection:not(.ta-connection-leaving)) .ta-toasts { top: calc(100px + env(safe-area-inset-top) + var(--ta-titlebar)); }\n .ta-narrow-only { display: inline-grid !important; }\n .ta-wide-only { display: none !important; }\n header.ta-narrow-only { display: flex !important; }\n .ta-nav { position: fixed; z-index: 30; top: 0; left: 0; bottom: 0; transform: translateX(-102%); transition: transform 240ms var(--ta-ease); box-shadow: var(--ta-shadow-pop); }\n .ta-nav-open .ta-nav { transform: none; }\n .ta-sidebar { width: min(280px, calc(88vw - 56px)); }\n .ta-scrim { display: block; position: fixed; inset: 0; z-index: 29; border: 0; padding: 0; background: rgba(0, 0, 0, 0.35); animation: ta-fade 160ms; }\n .ta-main-head { height: calc(52px + env(safe-area-inset-top)); padding: 0 6px; padding-top: env(safe-area-inset-top); }\n .ta-chat-col { padding: 0 14px; }\n .ta-msg-bubble, .ta-bubble, .ta-skill-use { max-width: 88%; }\n .ta-close { opacity: 1; }\n .ta-session-header { padding: 8px 14px; flex-wrap: wrap; }\n .ta-find { padding: 0 14px 8px; }\n .ta-session-header { flex-wrap: nowrap; gap: 4px; padding: 6px 8px; }\n /* The head of the conversation is the top of the screen: below the status bar of a phone. */\n .ta-main > .ta-session > .ta-session-header { padding-top: calc(6px + env(safe-area-inset-top)); }\n .ta-session-title .ta-path { display: none; }\n .ta-thread, .ta-bottom { padding-left: 14px; padding-right: 14px; }\n}\n\n";
2
+ export declare const CONVERSATION_STYLE = "\n/* Console session */\n.ta-session { display: flex; flex-direction: column; height: 100%; min-height: 0; }\n.ta-session-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 8px 20px; }\n.ta-session-title { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.35; }\n.ta-session-title .ta-path { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ta-muted); font-size: calc(11.5px * var(--ta-font-scale)); }\n/* The title is centred in the head, level with the tabs of the workbench and the search of the side; its directory hangs below it. */\n.ta-session-header > .ta-session-title .ta-path { margin-bottom: -1.35em; }\n.ta-title { font-weight: 600; }\n/* Nothing in a conversation is wider than it (long words break, tables and code scroll in their frames): it never scrolls sideways. */\n.ta-scroll { flex: 1; overflow-x: hidden; overflow-y: auto; min-height: 0; }\n/* Finding in the conversation: a row under its head, as a browser's find bar; the words found marked, the row found flashing. */\n.ta-find { display: flex; align-items: center; gap: 4px; padding: 0 20px 8px; }\n.ta-find-box { flex: 1; min-width: 0; height: 34px; display: flex; align-items: center; gap: 8px; padding: 0 10px 0 11px; border-radius: 10px; background: var(--ta-raised); color: var(--ta-muted); border: 1px solid var(--ta-border-field); }\n.ta-find-box input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: transparent; color: var(--ta-text); padding: 0; font-size: calc(13.5px * var(--ta-font-scale)); }\n.ta-find-box input::placeholder { color: var(--ta-muted); }\n.ta-find-count { flex: none; color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); font-variant-numeric: tabular-nums; }\n.ta-find .ta-icon-button:disabled { opacity: 0.4; }\n.ta-moved { margin-bottom: 8px; align-items: center; flex-wrap: wrap; }\n.ta-moved .ta-callout-text { min-width: min(240px, 70%); }\n.ta-moved-actions { display: inline-flex; align-items: center; gap: 6px; flex: none; margin-left: auto; }\n::highlight(ta-find) { background-color: color-mix(in srgb, var(--ta-yellow) 42%, transparent); color: inherit; }\n.ta-thread-item[data-found] { animation: ta-found 1.2s ease-out; border-radius: 12px; }\n@keyframes ta-found { 0%, 30% { background: color-mix(in srgb, var(--ta-yellow) 12%, transparent); } to { background: transparent; } }\n.ta-thread { position: relative; max-width: calc(var(--ta-col) + 48px); margin: 0 auto; padding: 20px 24px 8px; display: flex; flex-direction: column; gap: 16px; }\n/* An empty conversation: the welcome in the middle of the room, as that of the double. */\n.ta-thread:has(> .ta-hero) { min-height: 100%; box-sizing: border-box; }\n.ta-bottom { max-width: calc(var(--ta-col) + 48px); width: 100%; margin: 0 auto; padding: 8px 24px calc(16px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 8px; }\n/* What comes and goes over the message box (GrowBox): the gap under it is its own, to slide with it; none while it is empty. */\n.ta-grow { flex: none; margin-bottom: -8px; }\n.ta-grow-inner { display: flex; flex-direction: column; gap: 8px; padding-bottom: 8px; }\n.ta-grow-inner:empty { padding-bottom: 0; }\n.ta-message { display: flex; flex-direction: column; gap: 8px; min-width: 0; color: var(--ta-body); line-height: 1.75; overflow-wrap: break-word; }\n.ta-user { align-items: flex-end; }\n.ta-bubble-quote { margin: 1px 0 7px; padding: 0 0 0 9px; border-left: 2px solid var(--ta-border-field); color: var(--ta-secondary); font-size: 0.92em; line-height: 1.5; white-space: pre-wrap; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }\n.ta-bubble { background: var(--ta-user); color: var(--ta-text); border-radius: 16px 16px 5px 16px; padding: 9px 14px; max-width: 78%; white-space: pre-wrap; word-break: break-word; line-height: 1.6; }\n/* A long message of the user folds to its first lines (FOLD_LINES), fading out, with Show more under it. */\n.ta-fold[data-fold='measuring'], .ta-fold[data-fold='folded'] { max-height: 16em; max-height: 10lh; overflow: hidden; }\n.ta-fold[data-fold='folded'] { -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 4.5em), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 4.5em), transparent); }\n.ta-fold-toggle { display: inline-flex; align-items: center; gap: 2px; margin-top: 4px; padding: 0; border: 0; background: none; font: inherit; font-size: calc(12.5px * var(--ta-font-scale)); line-height: 1.5; color: var(--ta-secondary); cursor: pointer; }\n.ta-fold-toggle:hover { color: var(--ta-text); }\n.ta-bubble-media .ta-fold-toggle { margin: -8px 10px 5px; }\n/* A skill the user ran: its name on one line, which opens to the skill's file */\n.ta-skill-use { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; max-width: 78%; min-width: 0; }\n.ta-skill-head { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; min-height: 30px; padding: 0 10px 0 12px; border: 1px solid var(--ta-border); border-radius: 15px; background: var(--ta-chip); color: var(--ta-secondary); font-size: calc(13px * var(--ta-font-scale)); transition: background 120ms, color 120ms; }\n@media (hover: hover) { .ta-skill-head:hover { background: var(--ta-hover); color: var(--ta-text); } }\n.ta-skill-tag { color: var(--ta-muted); flex: none; }\n/* A name of the vault in what was said ($TA_SECRET_PHONE): a lock and what it stands for, never the variable. */\n.ta-secret-chip { display: inline-flex; border: 0; font-family: inherit; align-items: center; gap: 3px; margin: 0 1px; padding: 0 6px; border-radius: 6px; background: var(--ta-chip); box-shadow: inset 0 0 0 1px var(--ta-border); color: var(--ta-secondary); font-size: 0.9em; line-height: 1.6; white-space: nowrap; vertical-align: baseline; cursor: default; }\n.ta-secret-chip svg { flex: none; color: var(--ta-muted); }\nbutton.ta-secret-chip { cursor: pointer; transition: background 120ms, color 120ms; }\n@media (hover: hover) { button.ta-secret-chip:hover { background: var(--ta-hover); color: var(--ta-text); } }\n.ta-skill-name { font-weight: 500; color: var(--ta-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }\n.ta-skill-head[aria-expanded='true'] .ta-process-chevron { transform: rotate(90deg); }\n.ta-skill-body { align-self: stretch; max-height: 360px; overflow-y: auto; padding: 10px 14px; border: 1px solid var(--ta-border); border-radius: 12px; background: var(--ta-card); color: var(--ta-secondary); font-size: calc(13px * var(--ta-font-scale)); }\n/* A message that did not go: what to do with it, in the place of its footer */\n.ta-send-failed { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 4px; min-height: 26px; margin-top: -4px; color: var(--ta-red); font-size: calc(12px * var(--ta-font-scale)); }\n.ta-send-failed .ta-link-button { padding: 2px 6px; font-size: inherit; color: var(--ta-secondary); }\n.ta-send-failed .ta-link-button:hover { color: var(--ta-text); }\n.ta-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; min-height: 26px; margin-top: -4px; color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); font-variant-numeric: tabular-nums; opacity: 0; transition: opacity 120ms; }\n.ta-message:hover > .ta-footer, .ta-msg-user:hover > .ta-footer, .ta-msg-ta:hover > .ta-footer, .ta-footer:focus-within { opacity: 1; }\n@media (hover: none) { .ta-footer { opacity: 1; } }\n.ta-footer-button { display: inline-grid; place-items: center; width: 26px; height: 26px; border: 0; border-radius: 6px; background: transparent; color: var(--ta-muted); transition: background 120ms, color 120ms; }\n.ta-footer-button:hover { background: var(--ta-hover); color: var(--ta-text); }\n.ta-footer-time { padding: 0 6px; white-space: nowrap; }\n.ta-footer-usage { display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 0 6px; white-space: nowrap; }\n.ta-footer-usage > span { display: inline-flex; align-items: center; gap: 1px; }\n/* The time between two messages far apart, as WeChat shows it: on a touch screen only (device.ts), where the footers do not show. */\n.ta-time-break { display: none; align-self: center; color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); line-height: 1.5; font-variant-numeric: tabular-nums; }\n.ta-thread-item > .ta-time-break { margin-bottom: 16px; }\n/* Where the conversation goes on with another model: on every device, as the footers do not say the model. */\n.ta-model-break { display: flex; align-items: center; gap: 5px; align-self: center; max-width: 100%; margin-bottom: 16px; padding: 0 10px; height: 22px; border-radius: 999px; background: var(--ta-chip); color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); white-space: nowrap; }\n.ta-model-break > span { overflow: hidden; text-overflow: ellipsis; }\n/* Where a message of the user came from when not typed (a package, the double), and that it waited for a reply: a quiet line above it. */\n.ta-user-marks { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 10px; max-width: 78%; margin-bottom: -2px; }\n/* Someone else's message in the same Ta (TaMessageAuthor): on the left, with their face and name, as in a group chat. */\n.ta-user.ta-user-other { align-items: flex-start; }\n.ta-user-by { display: flex; align-items: flex-start; gap: 8px; max-width: 86%; min-width: 0; }\n.ta-user-by > .ta-face { flex: none; margin-top: 1px; }\n.ta-user-by-body { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }\n.ta-user-by-name { color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); line-height: 1.4; }\n.ta-user-other .ta-user-marks { justify-content: flex-start; max-width: 100%; margin-bottom: 0; }\n.ta-user-other .ta-bubble { max-width: 100%; background: var(--ta-card); box-shadow: inset 0 0 0 1px var(--ta-border); border-radius: 5px 16px 16px 16px; }\n.ta-user-other .ta-skill-use { align-items: flex-start; max-width: 100%; }\n.ta-user-other .ta-user-images { justify-content: flex-start; }\n.ta-message.ta-user-other > .ta-footer { margin-left: 32px; }\n/* The record of a call (CallTranscript): Ta's face beside its words, as a messenger keeps a chat; held for the menu, no footer. */\n.ta-turn-spoken { display: grid; grid-template-columns: 24px minmax(0, 1fr); column-gap: 10px; align-items: start; }\n.ta-turn-spoken > :first-child { margin-top: 1px; }\n.ta-spoken-body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }\n.ta-thread-item.ta-spoken > .ta-message > .ta-footer { display: none; }\n/* Others at the conversation (TaSessionInfo.people): faces one over the next; over the box, who types. */\n.ta-people { display: inline-flex; align-items: center; flex: none; }\n.ta-people-face { display: inline-flex; border-radius: 50%; box-shadow: 0 0 0 2px var(--ta-main); background: var(--ta-main); }\n.ta-people-face + .ta-people-face { margin-left: -6px; }\n.ta-people-more { margin-left: 4px; color: var(--ta-muted); font-size: calc(11.5px * var(--ta-font-scale)); font-variant-numeric: tabular-nums; }\n.ta-session-header > .ta-people { margin-left: -8px; }\n.ta-presence-line { display: flex; align-items: center; gap: 6px; min-width: 0; padding: 0 6px; color: var(--ta-muted); font-size: calc(12.5px * var(--ta-font-scale)); line-height: calc(20px * var(--ta-font-scale)); }\n.ta-typing-dots { display: inline-flex; align-items: center; gap: 3px; flex: none; }\n.ta-typing-dots i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; animation: ta-typing 1.2s infinite ease-in-out; }\n.ta-typing-dots i:nth-child(2) { animation-delay: 0.15s; }\n.ta-typing-dots i:nth-child(3) { animation-delay: 0.3s; }\n@keyframes ta-typing { 0%, 60%, 100% { opacity: 0.3; transform: none; } 30% { opacity: 1; transform: translateY(-2px); } }\n@media (prefers-reduced-motion: reduce) { .ta-typing-dots i { animation: none; } }\n.ta-origin { display: inline-flex; align-items: center; gap: 4px; min-width: 0; max-width: 100%; color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); line-height: 1.5; white-space: nowrap; }\n.ta-origin-name { color: var(--ta-secondary); overflow: hidden; text-overflow: ellipsis; }\n.ta-origin-detail { overflow: hidden; text-overflow: ellipsis; }\n.ta-origin-detail::before { content: '\u00B7'; margin-right: 4px; }\n/* Said on the way: on the string of the steps, where the agent read it, in the colour of the user's words. */\n.ta-step-said { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 4px 0 6px; min-width: 0; }\n/* On the string as the other dots (conversation-column.ts), on the middle of the line of its head. */\n.ta-step-said > .ta-status { margin-top: calc(9px * var(--ta-font-scale) - 6px); }\n.ta-status.ta-status-said::before { background: var(--ta-blue); }\n.ta-said-head { display: flex; align-items: center; gap: 4px; min-width: 0; max-width: 100%; color: var(--ta-blue); font-size: calc(12px * var(--ta-font-scale)); line-height: calc(18px * var(--ta-font-scale)); white-space: nowrap; }\n.ta-said-head > .ta-origin { margin-left: 4px; }\n.ta-said-bubble { max-width: min(100%, 520px); padding: 6px 11px; border-radius: 5px 14px 14px 14px; background: var(--ta-user); color: var(--ta-text); font-size: calc(13.5px * var(--ta-font-scale)); line-height: 1.55; white-space: pre-wrap; word-break: break-word; }\n/* Folded, the words said on the way stay under the head, on a string of their own. */\n.ta-process-steps.ta-said-folded::before, .ta-said-folded .ta-status { display: none; }\n/* Open, the dot on the string says it: the arrow is for the words folded out of the steps. */\n.ta-process-steps:not(.ta-said-folded) .ta-said-head > .ta-icon:first-child { display: none; }\n/* Where the context was compacted: a mark as quiet as the one above, which opens to the summary. */\n.ta-compaction { display: flex; flex-direction: column; align-items: center; min-width: 0; }\n.ta-compaction-mark { display: flex; align-items: center; gap: 5px; max-width: 100%; padding: 0 8px 0 10px; height: 22px; border: 0; border-radius: 999px; background: var(--ta-chip); color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); white-space: nowrap; transition: background 120ms, color 120ms; }\n.ta-compaction-mark:hover { background: var(--ta-hover); color: var(--ta-secondary); }\n.ta-compaction-mark > span { overflow: hidden; text-overflow: ellipsis; }\n.ta-compaction-tokens { flex-shrink: 0; font-variant-numeric: tabular-nums; }\n.ta-compaction-note { flex-shrink: 0; }\n/* The line at the end about the context: a mark, what it says, and its answers as small chips, one gap of 8px between all (6px after the mark). It sits under the footer of the last message, as close as the footer to the message. */\n.ta-context-line { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; margin-top: -6px; color: var(--ta-muted); font-size: calc(12.5px * var(--ta-font-scale)); line-height: calc(22px * var(--ta-font-scale)); }\n.ta-context-line > svg { flex-shrink: 0; margin-right: -2px; }\n.ta-context-text { min-width: 0; }\n.ta-context-acts { display: inline-flex; align-items: center; gap: 8px; }\n.ta-context-act { display: inline-flex; align-items: center; height: calc(24px * var(--ta-font-scale)); padding: 0 10px; border: 0; border-radius: 999px; background: var(--ta-chip); color: var(--ta-secondary); font: inherit; white-space: nowrap; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background 120ms, color 120ms; }\n.ta-context-act:first-child { color: var(--ta-text); font-weight: 500; }\n@media (hover: hover) { .ta-context-act:hover { background: var(--ta-hover); color: var(--ta-text); } }\n.ta-context-act:active { background: var(--ta-hover); }\n.ta-context-act:disabled { opacity: 0.5; cursor: default; }\n.ta-context-dot { flex-shrink: 0; width: 6px; height: 6px; margin: 0 1px; border-radius: 50%; background: var(--ta-green, #3fb950); }\n.ta-compaction-chevron { flex-shrink: 0; transition: transform 160ms; }\n.ta-compaction-mark[aria-expanded=\"true\"] .ta-compaction-chevron { transform: rotate(90deg); }\n/* The handoff note, opened: a card as a skill's file is, its headings the size of the text, one rhythm of gaps. */\n.ta-compaction-summary { align-self: stretch; margin-top: 8px; padding: 12px 14px; border: 1px solid var(--ta-border); border-radius: 12px; background: var(--ta-card); color: var(--ta-secondary); font-size: calc(13px * var(--ta-font-scale)); line-height: 1.6; }\n.ta-compaction-summary .ta-markdown :is(h1, h2, h3, h4, h5, h6) { margin: 10px 0 2px; font-size: calc(13px * var(--ta-font-scale)); line-height: 1.5; color: var(--ta-text); font-weight: 600; }\n.ta-compaction-summary .ta-markdown :is(p, ul, ol, blockquote) { margin: 0 0 6px; }\n.ta-compaction-summary .ta-markdown :is(ul, ol) { padding-left: 18px; }\n.ta-compaction-summary .ta-markdown hr { margin: 10px 0; }\n.ta-compaction-summary .ta-markdown > :first-child { margin-top: 0; }\n.ta-compaction-summary .ta-markdown > :last-child { margin-bottom: 0; }\n.ta-working { display: flex; align-items: center; gap: 8px; color: var(--ta-text); font-size: calc(13px * var(--ta-font-scale)); font-weight: 500; }\n.ta-statusline { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 4px; font-size: calc(11.5px * var(--ta-font-scale)); color: var(--ta-secondary); }\n.ta-statusline-item { display: inline-flex; align-items: center; gap: 6px; min-width: 0; max-width: 100%; height: 22px; padding: 0 9px; border-radius: 999px; background: var(--ta-chip); white-space: nowrap; }\n.ta-statusline-label { color: var(--ta-text); font-weight: 500; }\n.ta-statusline-part { display: inline-flex; align-items: center; gap: 4px; min-width: 0; overflow: hidden; text-overflow: ellipsis; }\n.ta-statusline-part + .ta-statusline-part::before { content: ''; width: 1px; height: 10px; margin-right: 2px; background: var(--ta-border-field); }\n.ta-statusline-part.ta-tone-error { color: var(--ta-red); }\n.ta-statusline-part > .ta-status { width: 8px; }\n.ta-widget { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--ta-border); background: var(--ta-side); }\n.ta-widget-text { margin: 0; max-width: 100%; overflow-x: auto; font-family: var(--ta-mono); font-size: calc(12px * var(--ta-font-scale)); line-height: 1.5; color: var(--ta-secondary); white-space: pre; }\n.ta-widget-art { width: 180px; height: auto; border-radius: 8px; }\n.ta-console-composer { position: relative; }\n.ta-console-box { display: flex; align-items: flex-end; gap: 8px; padding: 8px 8px 8px 14px; border-radius: 16px; border: 1px solid var(--ta-border-field); background: var(--ta-input); box-shadow: var(--ta-shadow-composer); transition: border-color 150ms; }\n.ta-console-box:focus-within { border-color: var(--ta-border-focus); }\n.ta-console-composer textarea { flex: 1; resize: none; border: 0; outline: none; background: transparent; padding: 5px 0; max-height: 220px; font-size: var(--ta-field-font); line-height: 1.55; }\n.ta-commands { position: absolute; bottom: calc(100% + 6px); left: 0; right: 0; background: var(--ta-side); border: 1px solid var(--ta-border); border-radius: 12px; padding: 4px; box-shadow: var(--ta-shadow-pop); z-index: 2; }\n.ta-command { display: flex; gap: 12px; width: 100%; height: 32px; align-items: center; padding: 0 10px; background: none; border: 0; border-radius: 8px; text-align: left; font-size: calc(13px * var(--ta-font-scale)); }\n.ta-command .ta-muted { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-command.ta-selected, .ta-command:hover { background: var(--ta-hover); }\n/* The screenshot just taken, offered above the + (RecentShotOffer), as WeChat's: a bubble pointing at the +, over what is above the box. */\n.ta-recent-shot { position: absolute; left: -2px; bottom: calc(100% + 12px); z-index: 19; display: flex; flex-direction: column; gap: 6px; width: calc(9em + 18px); padding: 7px; font-size: calc(12px * var(--ta-font-scale)); border: 1px solid var(--ta-border); border-radius: 12px; background: var(--ta-side); box-shadow: var(--ta-shadow-pop); color: var(--ta-secondary); text-align: left; cursor: pointer; animation: ta-plus-in 160ms var(--ta-ease); transition: opacity 160ms var(--ta-ease), transform 160ms var(--ta-ease); }\n.ta-recent-shot::after { content: ''; position: absolute; left: 12px; bottom: -6px; width: 10px; height: 10px; box-sizing: border-box; border-right: 1px solid var(--ta-border); border-bottom: 1px solid var(--ta-border); background: var(--ta-side); transform: rotate(45deg); }\n.ta-recent-shot.ta-leaving { opacity: 0; transform: translateY(4px); pointer-events: none; }\n.ta-recent-shot-label { padding: 0 1px; line-height: 1.35; }\n.ta-recent-shot-thumb { display: block; width: 100%; height: auto; max-height: 150px; object-fit: cover; object-position: top; border-radius: 7px; border: 1px solid var(--ta-border); background: var(--ta-raised); }\n\n/* Markdown */\n.ta-markdown > :first-child { margin-top: 0; }\n.ta-markdown > :last-child { margin-bottom: 0; }\n.ta-markdown p, .ta-markdown ul, .ta-markdown ol, .ta-markdown blockquote { margin: 0 0 10px; }\n/* Headings: # is the largest, ### and under the size of the text; each closer to what it heads than to what is above it. */\n.ta-markdown h3, .ta-markdown h4, .ta-markdown h5, .ta-markdown h6 { margin: 16px 0 6px; line-height: 1.4; color: var(--ta-text); font-weight: 600; }\n.ta-markdown h3 { font-size: calc(17px * var(--ta-font-scale)); }\n.ta-markdown h4 { font-size: calc(15.5px * var(--ta-font-scale)); }\n.ta-markdown h5, .ta-markdown h6 { font-size: calc(14px * var(--ta-font-scale)); }\n.ta-markdown ul, .ta-markdown ol { padding-left: 22px; }\n.ta-markdown strong { color: var(--ta-text); font-weight: 600; }\n.ta-markdown blockquote { border-left: 3px solid var(--ta-border); padding-left: 12px; color: var(--ta-secondary); }\n/* A long path in a code span breaks where the line ends, each piece in a box of its own. */\n.ta-markdown :not(pre) > code { background: var(--ta-chip); border-radius: 5px; padding: 1px 5px; font-size: calc(12.5px * var(--ta-font-scale)); overflow-wrap: anywhere; -webkit-box-decoration-break: clone; box-decoration-break: clone; }\n.ta-markdown-inline :not(pre) > code { padding: 0 4px; font-size: 0.92em; }\n.ta-markdown hr { border: 0; border-top: 1px solid var(--ta-border-muted); margin: 16px 0; }\n.ta-markdown a:hover { text-decoration: underline; text-underline-offset: 2px; }\n.ta-link-path { display: inline; border: 0; background: none; padding: 0; margin: 0; font: inherit; color: var(--ta-link); text-align: inherit; cursor: pointer; overflow-wrap: anywhere; }\n.ta-link-path:hover { text-decoration: underline; text-underline-offset: 2px; }\n.ta-link-path:focus-visible { outline: 2px solid var(--ta-border-focus); outline-offset: 1px; border-radius: 3px; }\n.ta-markdown .ta-link-code code { color: var(--ta-link); }\n.ta-link-code:hover { text-decoration: none; }\n.ta-link-code:hover code { text-decoration: underline; text-underline-offset: 2px; }\n.ta-modal.ta-link-dialog { width: min(520px, 100%); }\n.ta-link-dialog .ta-confirm-title { display: flex; align-items: center; gap: 8px; }\n.ta-link-address { margin: 4px 0 0; padding: 8px 10px; border-radius: 8px; background: var(--ta-chip); font-family: var(--ta-mono); font-size: calc(12.5px * var(--ta-font-scale)); line-height: 1.5; overflow-wrap: anywhere; max-height: 120px; overflow: auto; }\n.ta-link-address strong { color: var(--ta-text); font-weight: 600; }\n.ta-link-dialog .ta-dialog-actions { flex-wrap: wrap; align-items: center; row-gap: 10px; }\n.ta-link-more { display: flex; align-items: center; gap: 14px; margin-right: auto; min-width: 0; }\n.ta-link-more .ta-link { font-size: calc(13px * var(--ta-font-scale)); }\n.ta-link-more .ta-link:hover { text-decoration: underline; text-underline-offset: 2px; }\n/* A table: short cells keep to one line, long ones (ta-cell-long) wrap from a width that reads; wider than the\n conversation, it scrolls in its frame rather than squeezes its columns to a character a line. */\n.ta-table { overflow-x: auto; overscroll-behavior-x: contain; margin: 0 0 10px; border-radius: 10px; border: 1px solid var(--ta-border); }\n.ta-table table { border-collapse: collapse; font-size: calc(13px * var(--ta-font-scale)); width: 100%; line-height: 1.55; font-variant-numeric: tabular-nums; }\n.ta-table th, .ta-table td { border-bottom: 1px solid var(--ta-border-muted); padding: 7px 12px; text-align: left; vertical-align: top; white-space: nowrap; }\n.ta-table td.ta-cell-long { white-space: normal; min-width: 14em; }\n.ta-table [data-align='center'] { text-align: center; }\n.ta-table [data-align='right'] { text-align: right; }\n.ta-table :not(pre) > code { overflow-wrap: normal; }\n.ta-table tr:last-child td { border-bottom: 0; }\n.ta-table th { background: var(--ta-raised); font-weight: 600; color: var(--ta-text); }\n.ta-code { border: 1px solid var(--ta-border); border-radius: 10px; overflow: hidden; background: var(--ta-code); margin: 0 0 10px; line-height: 1.55; }\n.ta-code-bar { display: flex; justify-content: space-between; align-items: center; height: 30px; padding: 0 10px 0 12px; font-size: calc(12px * var(--ta-font-scale)); color: var(--ta-muted); border-bottom: 1px solid var(--ta-border-muted); }\n.ta-code-editor { position: relative; flex: 1; width: 100%; height: 100%; min-height: 0; background: var(--ta-code); }\n.ta-code-editor-host { position: absolute; inset: 0; }\n.ta-game { position: relative; flex: 1; width: 100%; height: 100%; min-height: 0; overflow: hidden; outline: none; touch-action: none; overscroll-behavior: contain; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }\n.ta-game canvas { display: block; }\n/* While its engine loads, once it took a moment. */\n.ta-game-cover { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; pointer-events: none; }\n/* What a web extension shows over all of the page (ui.FullScreen): under the notch, above the keyboard, below the title bar of the app, under notices and menus. */\n.ta-full-screen { position: fixed; left: 0; right: 0; top: var(--ta-titlebar, 0px); z-index: 45; display: flex; flex-direction: column; height: calc(var(--ta-viewport, 100dvh) - var(--ta-titlebar, 0px)); overflow: hidden; background: var(--ta-main); color: var(--ta-text); overscroll-behavior: none; touch-action: none; }\n:root[data-keyboard] .ta-full-screen { height: calc(var(--ta-viewport, calc(100dvh - var(--ta-keyboard, 0px))) - var(--ta-titlebar, 0px)); }\n.ta-code-editor-state { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 16px; color: var(--ta-muted); font-size: calc(13px * var(--ta-font-scale)); }\n/* A terminal (WebTerminal) fills the element it is attached to, which must have a size and position: relative. */\n.ta-terminal { position: absolute; inset: 0; background: var(--ta-code); }\n/* The padding is the terminal's own: xterm.js fits its rows and columns inside it. */\n.ta-terminal .xterm { height: 100%; padding: 10px 4px 6px 14px; }\n.ta-terminal .xterm-viewport { background: transparent !important; }\n.ta-terminal .xterm-helper-textarea { caret-color: transparent; }\n.ta-code pre { margin: 0; padding: 10px 12px; overflow-x: auto; overscroll-behavior-x: contain; color: var(--ta-body); }\n.ta-code-actions { display: flex; align-items: center; gap: 2px; }\n.ta-code-actions .ta-icon-button { width: 24px; height: 24px; border-radius: 6px; color: var(--ta-muted); }\n.ta-code-actions .ta-icon-button:hover { color: var(--ta-text); }\n.ta-code-actions .ta-icon { width: 14px; height: 14px; }\n.ta-code:has(> .ta-code-float) { position: relative; }\n.ta-code-float { position: absolute; top: 6px; right: 6px; opacity: 0; transition: opacity 120ms; }\n.ta-code:hover > .ta-code-float, .ta-code-float:focus-within { opacity: 1; }\n.ta-code-float .ta-icon-button { background: var(--ta-code); }\n/* What extensions do with a block drawn as a card (registerCodeMenu, drawn): quiet words under it, as the actions of a message. */\n.ta-code-drawn-actions { display: flex; flex-wrap: wrap; gap: 4px; margin: -4px 0 10px; }\n.ta-code-drawn-action { display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 8px; border: 0; border-radius: 6px; background: transparent; color: var(--ta-muted); font: inherit; font-size: calc(12px * var(--ta-font-scale, 1)); cursor: pointer; }\n.ta-code-drawn-action:hover { background: var(--ta-hover); color: var(--ta-text); }\n/* The user points at a part of the block below (WebCodeRef.point). */\n.ta-code-point-hint { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; padding: 6px 6px 6px 10px; border-radius: 8px; background: var(--ta-hover); color: var(--ta-text); font-size: calc(12.5px * var(--ta-font-scale)); }\n.ta-code-point-hint > svg { flex: none; color: var(--ta-blue); }\n.ta-code-point-hint > span { flex: 1; min-width: 0; }\n.ta-code-point-hint > button { flex: none; height: 24px; padding: 0 8px; border: 0; border-radius: 6px; background: transparent; color: var(--ta-secondary); font: inherit; cursor: pointer; }\n.ta-code-point-hint > button:hover { background: var(--ta-hover-strong); color: var(--ta-text); }\n.ta-math-block { margin: 0 0 10px; padding: 2px 0; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; text-align: center; }\n.ta-math-block .katex-display { margin: 0; }\n.ta-markdown .katex { font-size: 1.1em; }\n.ta-math-source { font-family: var(--ta-mono); font-size: calc(12.5px * var(--ta-font-scale)); color: var(--ta-secondary); }\ndiv.ta-math-source { white-space: pre-wrap; text-align: left; padding: 8px 12px; border-radius: 10px; background: var(--ta-code); }\n.ta-mermaid-diagram { display: flex; justify-content: center; padding: 16px; overflow: auto; }\n.ta-mermaid-diagram svg { max-width: 100%; height: auto; }\n.ta-mermaid-room { width: 100%; }\n/* A diagram that comes in (DiagramStyle motion) does so once: not again as a streamed source draws longer. */\n.ta-mermaid-settled .ta-mermaid-diagram svg :is(.node, .edgeLabel) { animation: none !important; }\n:root[data-reduce-motion] .ta-mermaid-diagram svg * { animation: none !important; }\n.ta-mermaid:fullscreen { display: flex; flex-direction: column; border: 0; border-radius: 0; background: var(--ta-main); }\n.ta-mermaid:fullscreen .ta-mermaid-diagram { flex: 1; align-items: center; }\n.ta-mermaid:fullscreen .ta-mermaid-diagram svg { width: 100%; height: 100%; max-width: none !important; }\n.ta-mermaid:fullscreen pre { flex: 1; }\n.ta-media { display: block; max-width: 100%; margin: 6px 0 10px; border-radius: 10px; }\n.ta-media-image { padding: 0; border: 1px solid var(--ta-border-muted); background: var(--ta-code); overflow: hidden; cursor: zoom-in; line-height: 0; width: fit-content; }\n.ta-media-image img { display: block; max-width: 100%; max-height: 420px; object-fit: contain; }\n.ta-media-image.ta-media-pending { width: 240px; height: 135px; border-color: transparent; background: var(--ta-raised); }\n.ta-media-image.ta-media-pending img { opacity: 0; }\n.ta-media-video { width: 560px; max-height: 420px; background: #000; }\n.ta-media-audio { width: 360px; height: 40px; }\n.ta-media-loading { display: block; width: 240px; max-width: 100%; height: 135px; margin: 6px 0 10px; border-radius: 10px; background: var(--ta-raised); }\n.ta-media-loading.ta-media-audio { height: 40px; }\n/* Pictures of a reply together (components/gallery.tsx): rows as wide as the reply, each picture whole and a row as tall (GalleryUtil.rows), the words that name each under it. */\n.ta-gallery { display: flex; flex-direction: column; gap: 6px; margin: 8px 0 12px; }\n.ta-gallery-row { display: flex; gap: inherit; }\n.ta-gallery-item { display: flex; flex: none; flex-direction: column; gap: 5px; min-width: 0; margin: 0; }\n.ta-gallery-tile { position: relative; display: block; width: 100%; height: var(--ta-gallery-row); padding: 0; border: 1px solid var(--ta-border-muted); border-radius: 8px; overflow: hidden; background: var(--ta-raised); line-height: 0; cursor: zoom-in; -webkit-tap-highlight-color: transparent; transition: opacity 120ms; }\n.ta-gallery-tile img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 240ms var(--ta-ease), opacity 160ms; }\n.ta-gallery-tile:hover img { transform: scale(1.03); }\n.ta-gallery-tile:active { opacity: 0.85; }\n.ta-gallery-tile:disabled { cursor: default; }\n.ta-gallery-pending { border-color: transparent; animation: ta-shimmer-soft 1.6s ease-in-out infinite; }\n.ta-gallery-pending img { opacity: 0; }\n.ta-gallery-missing { display: grid; place-items: center; color: var(--ta-muted); cursor: default; }\n.ta-gallery-more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, 0.48); color: #fff; font-size: calc(20px * var(--ta-font-scale)); font-weight: 600; line-height: 1; }\n.ta-gallery-caption { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; color: var(--ta-secondary); font-size: calc(12px * var(--ta-font-scale)); line-height: 1.4; text-align: center; }\n@media (max-width: 860px), (max-height: 500px) and (pointer: coarse) { .ta-gallery { gap: 4px; } }\n.ta-media-missing { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border-radius: 6px; background: var(--ta-chip); color: var(--ta-muted); font-size: calc(12.5px * var(--ta-font-scale)); vertical-align: middle; }\n/* A picture that zooms (image-zoom.ts): what scrolls is the box; the picture sits in it where ImageZoom puts it. */\n.ta-zoom { position: relative; display: flex; flex: 1; width: 100%; min-width: 0; min-height: 0; overflow: hidden; }\n/* What a finger swipes to the picture beside (image-swipe.ts): the box that scrolls, and the pictures beside it at its sides, as large as it shows them at first. */\n.ta-zoom-track { position: relative; display: flex; flex: 1; min-width: 0; min-height: 0; }\n.ta-zoom-peek { position: absolute; top: 0; width: 100%; height: 100%; padding: 16px; box-sizing: border-box; object-fit: contain; pointer-events: none; -webkit-user-drag: none; }\n.ta-zoom-peek-previous { right: calc(100% + 20px); }\n.ta-zoom-peek-next { left: calc(100% + 20px); }\n.ta-zoom-viewport { flex: 1; min-width: 0; min-height: 0; overflow: auto; overscroll-behavior: contain; touch-action: pan-x pan-y; outline: none; scrollbar-width: thin; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }\n.ta-zoom-stage { position: relative; }\n.ta-zoom-stage img { position: absolute; top: 0; left: 0; max-width: none; max-height: none; transform-origin: 0 0; cursor: zoom-in; -webkit-user-drag: none; }\n.ta-zoom-stage img:not([data-ready]) { opacity: 0; }\n/* Loading, or why it does not show: in the middle of the box, whatever scrolls. */\n.ta-zoom-status { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 16px; text-align: center; color: var(--ta-muted); font-size: calc(13px * var(--ta-font-scale)); pointer-events: none; }\n.ta-lightbox .ta-zoom-status { color: rgba(255, 255, 255, 0.7); }\n.ta-zoom-stage img.ta-zoom-pixelated { image-rendering: pixelated; }\n.ta-zoom-viewport[data-zoomed='true'] img { cursor: grab; }\n.ta-zoom-viewport[data-dragging], .ta-zoom-viewport[data-dragging] img { cursor: grabbing; }\n.ta-zoom-bar { position: absolute; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 4px; padding: 5px 6px; border: 1px solid var(--ta-border); border-radius: 12px; background: color-mix(in srgb, var(--ta-card) 90%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.16); color: var(--ta-secondary); transform: translateX(-50%); transition: opacity 160ms; }\n.ta-zoom-bar button { display: inline-grid; place-items: center; width: 34px; height: 32px; padding: 0; border: 0; border-radius: 8px; background: none; color: inherit; }\n.ta-zoom-bar button:hover:not(:disabled) { background: var(--ta-hover); color: var(--ta-text); }\n.ta-zoom-bar button:disabled { opacity: 0.4; }\n.ta-zoom-scale { min-width: 52px; padding: 0 4px; text-align: center; font-size: calc(13.5px * var(--ta-font-scale)); font-variant-numeric: tabular-nums; -webkit-user-select: none; user-select: none; }\n/* The pictures beside it (of a folder, of a message), at its sides. */\n.ta-zoom-nav { position: absolute; top: 50%; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--ta-border); border-radius: 50%; background: color-mix(in srgb, var(--ta-card) 90%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14); color: var(--ta-secondary); transform: translateY(-50%); transition: opacity 160ms, background 120ms, color 120ms; }\n.ta-zoom-nav:hover:not(:disabled) { background: var(--ta-card); color: var(--ta-text); }\n.ta-zoom-nav:disabled { opacity: 0.35; }\n.ta-zoom-previous { left: calc(12px + env(safe-area-inset-left)); }\n.ta-zoom-next { right: calc(12px + env(safe-area-inset-right)); }\n/* With a mouse, the buttons show while the pointer is over the picture; on a touch screen always. */\n:root:not([data-touch]) .ta-zoom:not(:hover):not(:focus-within) :is(.ta-zoom-bar, .ta-zoom-nav) { opacity: 0; }\n.ta-lightbox { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: #f5f5f5; app-region: no-drag; -webkit-app-region: no-drag; }\n.ta-lightbox[open] { display: flex; }\n.ta-lightbox::backdrop { background: transparent; }\n/* The dark over the page: lighter as a finger pulls the picture down (image-pull.ts), the buttons hidden meanwhile. */\n.ta-lightbox-shade { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.86); pointer-events: none; }\n.ta-lightbox-close, .ta-lightbox-caption { transition: opacity 160ms; }\n.ta-lightbox[data-pulling] :is(.ta-lightbox-close, .ta-lightbox-caption, .ta-zoom-bar, .ta-zoom-nav) { opacity: 0; pointer-events: none; }\n.ta-lightbox .ta-zoom-bar { border-color: rgba(255, 255, 255, 0.14); background: rgba(38, 38, 38, 0.78); color: #e5e5e5; }\n.ta-lightbox .ta-zoom-bar button:hover:not(:disabled) { background: rgba(255, 255, 255, 0.12); color: #fff; }\n.ta-lightbox .ta-zoom-nav { border-color: rgba(255, 255, 255, 0.14); background: rgba(38, 38, 38, 0.78); color: #e5e5e5; }\n.ta-lightbox .ta-zoom-nav:hover:not(:disabled) { background: rgba(64, 64, 64, 0.92); color: #fff; }\n.ta-lightbox-close { position: absolute; top: calc(12px + env(safe-area-inset-top)); right: calc(12px + env(safe-area-inset-right)); display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: rgba(38, 38, 38, 0.72); color: #f5f5f5; }\n.ta-lightbox-close:hover { background: rgba(64, 64, 64, 0.9); }\n/* What the picture over the page is and which of how many, at its top. */\n.ta-lightbox-caption { position: absolute; top: calc(18px + env(safe-area-inset-top)); left: 50%; display: flex; align-items: center; gap: 10px; max-width: calc(100% - 120px); padding: 0 12px; border-radius: 999px; background: rgba(38, 38, 38, 0.72); color: #f5f5f5; font-size: calc(13px * var(--ta-font-scale)); line-height: calc(30px * var(--ta-font-scale)); transform: translateX(-50%); pointer-events: none; }\n.ta-lightbox-words { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-lightbox-count { flex: none; color: rgba(255, 255, 255, 0.62); font-variant-numeric: tabular-nums; }\n.ta-thinking, .ta-summary { color: var(--ta-muted); border-left: 2px solid var(--ta-border); padding-left: 12px; font-size: calc(13px * var(--ta-font-scale)); }\n.ta-thinking summary, .ta-summary summary { cursor: pointer; font-size: calc(12.5px * var(--ta-font-scale)); user-select: none; }\n.ta-summary-line { font-size: calc(12.5px * var(--ta-font-scale)); }\n.ta-thinking-text { white-space: pre-wrap; margin-top: 4px; line-height: 1.6; }\n\n/* Tools: one line a step, a dot for its state; it opens to what it did */\n.ta-tool { min-width: 0; }\n.ta-tool-line { display: flex; align-items: center; gap: 2px; min-width: 0; }\n.ta-tool-title { flex: 1; display: flex; align-items: center; gap: 6px; min-width: 0; min-height: calc(26px * var(--ta-font-scale)); padding: 0 6px; margin-left: -6px; border: 0; border-radius: 6px; background: transparent; text-align: left; font-size: calc(13px * var(--ta-font-scale)); color: var(--ta-secondary); }\nbutton.ta-tool-title { transition: background 120ms; }\nbutton.ta-tool-title:disabled { cursor: default; color: var(--ta-secondary); }\n@media (hover: hover) { button.ta-tool-title:hover:not(:disabled), .ta-step-toggle:hover { background: var(--ta-hover); } }\nbutton.ta-tool-title:focus-visible, .ta-step-toggle:focus-visible { outline-offset: -2px; }\n.ta-tool-title code { font-size: calc(12.5px * var(--ta-font-scale)); white-space: pre-wrap; word-break: break-all; color: var(--ta-body); }\n.ta-tool-verb { flex: none; color: var(--ta-text); }\n.ta-tool-icon { flex: none; display: grid; place-items: center; width: 18px; height: 18px; }\n.ta-tool-target { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ta-muted); }\n.ta-tool-target.ta-mono { font-family: var(--ta-mono); font-size: calc(12px * var(--ta-font-scale)); }\n/* A thing ta did that says what it is for (a script): those words are the line, cut short as a target is. */\n.ta-tool-title-text { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n/* How many steps a thing took, at the end of its line. */\n.ta-tool-count { flex: none; margin-left: auto; padding-left: 8px; color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); font-variant-numeric: tabular-nums; }\n.ta-tool-count + .ta-tool-chevron { margin-left: 2px; }\n/* The steps of a thing, under its line: smaller, a little in, their dots beside them rather than on the string. */\n.ta-act-body { display: flex; flex-direction: column; min-width: 0; padding-left: 10px; margin-bottom: 4px; }\n.ta-tool-repeats { display: flex; flex-direction: column; gap: 6px; min-width: 0; }\n.ta-process-steps .ta-act-body .ta-status { position: relative; left: 0; background: transparent; }\n.ta-act-body .ta-tool-title, .ta-act-body .ta-step-toggle { font-size: calc(12.5px * var(--ta-font-scale)); min-height: calc(24px * var(--ta-font-scale)); }\n.ta-act-body .ta-act-script { align-self: flex-start; width: auto; color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); }\n.ta-act-body .ta-step-tag { color: var(--ta-secondary); }\n.ta-act-body .ta-tool-body { margin-top: 2px; }\n.ta-act-body > .ta-tool + .ta-tool:has(> .ta-act-script) { margin-top: 2px; }\n/* The files a turn changed, first when its work opens. */\n.ta-step-files { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; min-height: calc(26px * var(--ta-font-scale)); font-size: calc(13px * var(--ta-font-scale)); color: var(--ta-muted); }\n.ta-step-files > .ta-status { top: calc(7px * var(--ta-font-scale)); }\n.ta-step-files .ta-link { font-size: calc(12px * var(--ta-font-scale)); }\n/* The earlier steps, folded: a bead of their own on the string, as every step has. */\n.ta-step-more { display: flex; align-items: center; min-height: calc(26px * var(--ta-font-scale)); }\n.ta-step-more > .ta-more { margin-bottom: 0; }\n/* Where Ta restarted in the middle of the work and went on: a quiet line among the steps. */\n.ta-step-resumed { display: flex; align-items: center; min-height: calc(26px * var(--ta-font-scale)); font-size: calc(13px * var(--ta-font-scale)); color: var(--ta-muted); }\n.ta-file-chip { padding: 0 6px; border-radius: 5px; background: var(--ta-hover); font-family: var(--ta-mono); font-size: calc(12px * var(--ta-font-scale)); color: var(--ta-body); }\n.ta-tool-chevron { flex: none; width: 13px; margin-left: auto; color: var(--ta-muted); opacity: 0; transition: transform 150ms var(--ta-ease), opacity 120ms; }\nbutton.ta-tool-title:hover:not(:disabled) .ta-tool-chevron, button.ta-tool-title[aria-expanded='true'] .ta-tool-chevron { opacity: 1; }\nbutton.ta-tool-title[aria-expanded='true'] .ta-tool-chevron { transform: rotate(90deg); }\n.ta-tool-body { margin: 2px 0 6px; display: flex; flex-direction: column; gap: 6px; min-width: 0; animation: ta-in 180ms var(--ta-ease); }\n.ta-tool-body > .ta-output { padding: 8px 12px; border: 1px solid var(--ta-border-muted); border-radius: 10px; background: var(--ta-code); }\n.ta-tool-body .ta-code { margin: 0; }\n.ta-tool-group { display: flex; flex-direction: column; min-width: 0; }\n.ta-tool-trailing { flex: none; width: 24px; display: grid; place-items: center; }\n.ta-tool-script { width: 24px; height: 24px; display: grid; place-items: center; border: 0; border-radius: 6px; background: transparent; color: var(--ta-muted); opacity: 0; transition: opacity 120ms, background 120ms, color 120ms; }\n.ta-tool-group:hover .ta-tool-script, .ta-tool-script:focus-visible, .ta-tool-script.ta-on { opacity: 1; }\n.ta-tool-script:hover, .ta-tool-script.ta-on { background: var(--ta-hover); color: var(--ta-text); }\n.ta-output pre, pre.ta-output { margin: 0; white-space: pre-wrap; word-break: break-word; max-height: 320px; overflow: auto; color: var(--ta-secondary); font-size: calc(12px * var(--ta-font-scale)); line-height: 1.55; }\n.ta-error { color: var(--ta-red) !important; }\n/* What a tool returned, read as a person reads it: keys small and muted beside or above their values. */\n.ta-result { display: flex; flex-direction: column; gap: 8px; min-width: 0; font-size: calc(12px * var(--ta-font-scale)); line-height: 1.55; color: var(--ta-secondary); }\n.ta-result-entries { display: flex; flex-direction: column; gap: 6px; min-width: 0; }\n.ta-result-entries .ta-result-entries { padding-left: 10px; border-left: 1px solid var(--ta-border-muted); }\n.ta-result-entry { display: flex; flex-direction: column; gap: 2px; min-width: 0; }\n.ta-result-inline { flex-direction: row; align-items: baseline; gap: 8px; }\n.ta-result-key { flex: none; max-width: 40%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--ta-mono); font-size: calc(11px * var(--ta-font-scale)); color: var(--ta-muted); }\n.ta-result-entry:not(.ta-result-inline) > .ta-result-key { max-width: 100%; }\n.ta-result-atom { min-width: 0; font-family: var(--ta-mono); color: var(--ta-body); overflow-wrap: anywhere; }\n.ta-result-block { min-width: 0; }\n.ta-result-text { white-space: pre-wrap; overflow-wrap: anywhere; font-family: var(--ta-mono); }\n.ta-result-chips { display: flex; flex-wrap: wrap; gap: 4px; min-width: 0; }\n.ta-result-chips > .ta-result-atom { padding: 0 6px; border-radius: 5px; background: var(--ta-hover); }\n.ta-result-shell { display: flex; flex-direction: column; gap: 4px; min-width: 0; }\n.ta-result-stderr pre { color: var(--ta-muted); }\n.ta-result-badge { align-self: flex-start; padding: 0 6px; border-radius: 5px; font-family: var(--ta-mono); font-size: calc(11px * var(--ta-font-scale)); color: var(--ta-muted); background: var(--ta-hover); }\n.ta-result-empty { color: var(--ta-muted); }\n.ta-result-failure { display: flex; gap: 8px; min-width: 0; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ta-muted); }\n.ta-result-script { align-self: flex-start; gap: 4px; margin-top: 0; }\n/* A command reads whole, wrapped, as the line above shows only its start. */\n.ta-result-command pre { white-space: pre-wrap; overflow-wrap: anywhere; }\n.ta-more { font-size: calc(12px * var(--ta-font-scale)); margin-bottom: 4px; color: var(--ta-muted); }\n.ta-status { position: relative; width: 12px; height: 12px; flex: none; display: inline-grid; place-items: center; }\n.ta-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ta-muted); }\n.ta-status-done::before { background: var(--ta-green); }\n.ta-status-error::before { background: color-mix(in srgb, var(--ta-red) 75%, transparent); }\n.ta-status-cancelled::before { background: transparent; box-shadow: inset 0 0 0 1.2px var(--ta-muted); }\n/* At rest until its time comes again: still, not breathing as one that runs. */\n.ta-status-idle::before { background: color-mix(in srgb, var(--ta-blue) 45%, transparent); }\n/* A running dot breathes, like the light of a sleeping laptop: it works, it is not stuck. */\n.ta-status-running::before { background: var(--ta-blue); animation: ta-breathe 1.8s ease-in-out infinite; }\n@keyframes ta-breathe {\n 0%, 100% { transform: scale(0.8); opacity: 0.45; box-shadow: 0 0 0 0 color-mix(in srgb, var(--ta-blue) 0%, transparent); }\n 50% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 0 3px color-mix(in srgb, var(--ta-blue) 22%, transparent); }\n}\n.ta-status-thought::before { background: var(--ta-border-field); }\n.ta-diff { font-family: var(--ta-mono); font-size: calc(12px * var(--ta-font-scale)); border: 1px solid var(--ta-border); border-radius: 8px; overflow: auto; max-height: 400px; background: var(--ta-code); line-height: 1.6; }\n.ta-diff-line { display: grid; grid-template-columns: 42px 16px 1fr; white-space: pre; }\n.ta-diff-number { color: var(--ta-muted); text-align: right; padding-right: 8px; user-select: none; opacity: 0.7; }\n.ta-diff-sign { color: var(--ta-muted); user-select: none; }\n.ta-diff-add { background: var(--ta-add); }\n.ta-diff-add .ta-diff-sign { color: var(--ta-green); }\n.ta-diff-remove { background: var(--ta-remove); }\n.ta-diff-remove .ta-diff-sign { color: var(--ta-red); }\n.ta-diff-gap { color: var(--ta-muted); }\n.ta-add { color: var(--ta-green); }\n.ta-remove { color: var(--ta-red); }\n\n/* Dialogs */\n.ta-dialog { border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--ta-shadow-composer); }\n.ta-dialog-title { font-weight: 600; }\n.ta-dialog-message { margin: 0; white-space: pre-wrap; color: var(--ta-secondary); font-size: calc(13px * var(--ta-font-scale)); }\n.ta-dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 6px; }\n.ta-dialog-options { display: flex; flex-direction: column; gap: 4px; }\n.ta-option { text-align: left; min-height: 36px; padding: 6px 12px; border: 1px solid var(--ta-border); border-radius: 8px; background: transparent; transition: background 120ms; }\n.ta-option:hover, .ta-option:focus { background: var(--ta-hover); outline: none; }\n\n@keyframes ta-spin { to { transform: rotate(360deg); } }\n@keyframes ta-shimmer { to { background-position: -200% 0; } }\n@keyframes ta-pulse { 50% { opacity: 0.3; } }\n@keyframes ta-wave { 0%, 100% { transform: scaleY(0.35); } 50% { transform: scaleY(1); } }\n@keyframes ta-dino-blink { 0%, 93%, 100% { transform: scaleY(0); } 96% { transform: scaleY(1); } }\n@keyframes ta-dino-pop { from { transform: scale(0.4); opacity: 0; } }\n@keyframes ta-in { from { transform: translateY(4px); opacity: 0; } }\n@keyframes ta-fade { from { opacity: 0; } }\n@keyframes ta-slide { from { transform: translateX(24px); opacity: 0; } }\n@keyframes ta-up { from { transform: translateY(100%); } }\n/* Not inside a diagram being drawn: Mermaid lays a flowchart out wrong when its elements have a transition. */\n:root[data-reduce-motion] :not([id^='ta-mermaid-'] *), :root[data-reduce-motion] *::before, :root[data-reduce-motion] *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }\n\n@media (max-width: 860px), (max-height: 500px) and (pointer: coarse) {\n .ta-toasts { top: calc(8px + env(safe-area-inset-top) + var(--ta-titlebar)); bottom: auto; left: 8px; right: 8px; width: auto; flex-direction: column-reverse; justify-content: flex-start; transition: top 200ms var(--ta-ease); }\n .ta-connection { top: calc(58px + env(safe-area-inset-top) + var(--ta-titlebar)); }\n .ta-connection-when { display: none; }\n .ta-app:has(.ta-connection:not(.ta-connection-leaving)) .ta-toasts { top: calc(100px + env(safe-area-inset-top) + var(--ta-titlebar)); }\n .ta-narrow-only { display: inline-grid !important; }\n .ta-wide-only { display: none !important; }\n header.ta-narrow-only { display: flex !important; }\n .ta-nav { position: fixed; z-index: 30; top: 0; left: 0; bottom: 0; transform: translateX(-102%); transition: transform 240ms var(--ta-ease); box-shadow: var(--ta-shadow-pop); }\n .ta-nav-open .ta-nav { transform: none; }\n .ta-sidebar { width: min(280px, calc(88vw - 56px)); }\n .ta-scrim { display: block; position: fixed; inset: 0; z-index: 29; border: 0; padding: 0; background: rgba(0, 0, 0, 0.35); animation: ta-fade 160ms; }\n .ta-main-head { height: calc(52px + env(safe-area-inset-top)); padding: 0 6px; padding-top: env(safe-area-inset-top); }\n .ta-chat-col { padding: 0 14px; }\n .ta-msg-bubble, .ta-bubble, .ta-skill-use { max-width: 88%; }\n .ta-close { opacity: 1; }\n .ta-session-header { padding: 8px 14px; flex-wrap: wrap; }\n .ta-find { padding: 0 14px 8px; }\n .ta-session-header { flex-wrap: nowrap; gap: 4px; padding: 6px 8px; }\n /* The head of the conversation is the top of the screen: below the status bar of a phone. */\n .ta-main > .ta-session > .ta-session-header { padding-top: calc(6px + env(safe-area-inset-top)); }\n .ta-session-title .ta-path { display: none; }\n .ta-thread, .ta-bottom { padding-left: 14px; padding-right: 14px; }\n}\n\n";
3
3
  //# sourceMappingURL=conversation.d.ts.map
@@ -248,6 +248,16 @@ button.ta-secret-chip { cursor: pointer; transition: background 120ms, color 120
248
248
  .ta-code-float { position: absolute; top: 6px; right: 6px; opacity: 0; transition: opacity 120ms; }
249
249
  .ta-code:hover > .ta-code-float, .ta-code-float:focus-within { opacity: 1; }
250
250
  .ta-code-float .ta-icon-button { background: var(--ta-code); }
251
+ /* What extensions do with a block drawn as a card (registerCodeMenu, drawn): quiet words under it, as the actions of a message. */
252
+ .ta-code-drawn-actions { display: flex; flex-wrap: wrap; gap: 4px; margin: -4px 0 10px; }
253
+ .ta-code-drawn-action { display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 8px; border: 0; border-radius: 6px; background: transparent; color: var(--ta-muted); font: inherit; font-size: calc(12px * var(--ta-font-scale, 1)); cursor: pointer; }
254
+ .ta-code-drawn-action:hover { background: var(--ta-hover); color: var(--ta-text); }
255
+ /* The user points at a part of the block below (WebCodeRef.point). */
256
+ .ta-code-point-hint { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; padding: 6px 6px 6px 10px; border-radius: 8px; background: var(--ta-hover); color: var(--ta-text); font-size: calc(12.5px * var(--ta-font-scale)); }
257
+ .ta-code-point-hint > svg { flex: none; color: var(--ta-blue); }
258
+ .ta-code-point-hint > span { flex: 1; min-width: 0; }
259
+ .ta-code-point-hint > button { flex: none; height: 24px; padding: 0 8px; border: 0; border-radius: 6px; background: transparent; color: var(--ta-secondary); font: inherit; cursor: pointer; }
260
+ .ta-code-point-hint > button:hover { background: var(--ta-hover-strong); color: var(--ta-text); }
251
261
  .ta-math-block { margin: 0 0 10px; padding: 2px 0; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; text-align: center; }
252
262
  .ta-math-block .katex-display { margin: 0; }
253
263
  .ta-markdown .katex { font-size: 1.1em; }
@@ -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-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.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";
3
3
  //# sourceMappingURL=pages.d.ts.map
@@ -214,6 +214,7 @@ exports.PAGES_STYLE = `
214
214
  .ta-environment-own .ta-button { align-self: flex-end; }
215
215
  .ta-deploy-cloud { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; align-items: flex-start; }
216
216
  .ta-deploy-cloud > .ta-environment-own { flex-basis: 100%; }
217
+ .ta-setting-row.ta-stacked .ta-setting-control > .ta-environment-own { flex: 1 1 100%; min-width: 0; }
217
218
  .ta-environment-hint { margin: 0; color: var(--ta-muted); font-size: calc(12.5px * var(--ta-font-scale)); line-height: 1.5; }
218
219
  .ta-environment-card { gap: 14px; }
219
220
  /* While the page loads again for another computer: which one, at once, over all. */
@@ -0,0 +1,16 @@
1
+ import type { WebTerminalProgress, WebTerminalStatus } from '../extension/web-extension-api';
2
+ /** OSC 9: the progress of ConEmu (`4;state;value`), else a notification of iTerm2 (its text). */
3
+ export declare namespace TerminalOsc {
4
+ function progress(data: string): WebTerminalProgress | undefined | null;
5
+ /** What a terminal that takes OSC 7501 answers its query (`?`) with: the same. */
6
+ const STATUS_REPLY = "\u001B]7501;?\u001B\\";
7
+ function isStatusQuery(data: string): boolean;
8
+ /**
9
+ * OSC 7501 (superlogical.com/rex/docs/build/program-status): `state=blocked:kind=permission:msg=<base64>`;
10
+ * undefined for idle or cleared, null for what is not a status.
11
+ */
12
+ function status(data: string): WebTerminalStatus | undefined | null;
13
+ /** OSC 777: `notify;title;body`, as rxvt and Ghostty take it; null for anything else. */
14
+ function notification(data: string): string | null;
15
+ }
16
+ //# sourceMappingURL=terminal-osc.d.ts.map