@celljs/ta-web 4.43.0 → 4.44.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 (171) hide show
  1. package/esm/browser/apps/app-window.js +2 -2
  2. package/esm/browser/assistant/assistant-chat-list.js +2 -1
  3. package/esm/browser/assistant/assistant-extension.js +16 -2
  4. package/esm/browser/assistant/assistant-protocol.d.ts +6 -0
  5. package/esm/browser/assistant/assistant-task-source.js +3 -0
  6. package/esm/browser/assistant/assistant-task-util.d.ts +2 -0
  7. package/esm/browser/assistant/assistant-task-util.js +5 -0
  8. package/esm/browser/assistant/assistant.d.ts +3 -0
  9. package/esm/browser/assistant/assistant.js +26 -2
  10. package/esm/browser/components/app-shell-hooks.d.ts +2 -1
  11. package/esm/browser/components/app-shell-hooks.js +4 -3
  12. package/esm/browser/components/app-shell-state.js +2 -2
  13. package/esm/browser/components/chat-list-row.js +4 -4
  14. package/esm/browser/components/chat-list-util.d.ts +2 -2
  15. package/esm/browser/components/cloud-sign-in-view.d.ts +1 -1
  16. package/esm/browser/components/custom-host.d.ts +4 -1
  17. package/esm/browser/components/custom-host.js +8 -2
  18. package/esm/browser/components/earlier-messages.d.ts +4 -1
  19. package/esm/browser/components/earlier-messages.js +5 -2
  20. package/esm/browser/components/host-view.d.ts +1 -1
  21. package/esm/browser/components/message-list.js +2 -1
  22. package/esm/browser/components/message-steps.js +8 -5
  23. package/esm/browser/components/settings-choices.d.ts +2 -1
  24. package/esm/browser/components/settings-choices.js +2 -1
  25. package/esm/browser/components/settings-parts.js +23 -3
  26. package/esm/browser/components/share-dialog.js +1 -1
  27. package/esm/browser/components/share-friends.d.ts +18 -2
  28. package/esm/browser/components/share-friends.js +62 -4
  29. package/esm/browser/components/share-sheet.d.ts +4 -3
  30. package/esm/browser/components/share-sheet.js +11 -3
  31. package/esm/browser/extension/web-api-chats.d.ts +23 -0
  32. package/esm/browser/extension/web-api-skins.d.ts +95 -0
  33. package/esm/browser/extension/web-api-skins.js +2 -0
  34. package/esm/browser/extension/web-api-spec.js +2 -0
  35. package/esm/browser/extension/web-extension-api.d.ts +4 -25
  36. package/esm/browser/extension/web-extension-context.js +1 -0
  37. package/esm/browser/extension/web-extension-protocol.d.ts +3 -1
  38. package/esm/browser/extension/web-extension-protocol.js +1 -0
  39. package/esm/browser/extension/web-extension-run.d.ts +3 -2
  40. package/esm/browser/extension/web-extension-run.js +3 -0
  41. package/esm/browser/extension/web-share-ui.js +6 -1
  42. package/esm/browser/i18n/en/assistant.d.ts +4 -0
  43. package/esm/browser/i18n/en/assistant.js +4 -0
  44. package/esm/browser/i18n/en/common.d.ts +0 -3
  45. package/esm/browser/i18n/en/common.js +0 -3
  46. package/esm/browser/i18n/en/discover.d.ts +4 -1
  47. package/esm/browser/i18n/en/discover.js +4 -1
  48. package/esm/browser/i18n/en/settings.d.ts +8 -0
  49. package/esm/browser/i18n/en/settings.js +8 -0
  50. package/esm/browser/i18n/ja/assistant.js +4 -0
  51. package/esm/browser/i18n/ja/common.js +0 -3
  52. package/esm/browser/i18n/ja/discover.js +4 -1
  53. package/esm/browser/i18n/ja/settings.js +8 -0
  54. package/esm/browser/i18n/locales.d.ts +17 -5
  55. package/esm/browser/i18n/messages.d.ts +16 -4
  56. package/esm/browser/i18n/zh/assistant.js +4 -0
  57. package/esm/browser/i18n/zh/common.js +0 -3
  58. package/esm/browser/i18n/zh/discover.js +4 -1
  59. package/esm/browser/i18n/zh/settings.js +8 -0
  60. package/esm/browser/i18n/zh-tw/assistant.js +4 -0
  61. package/esm/browser/i18n/zh-tw/common.js +0 -3
  62. package/esm/browser/i18n/zh-tw/discover.js +4 -1
  63. package/esm/browser/i18n/zh-tw/settings.js +8 -0
  64. package/esm/browser/links/clipboard-links.d.ts +4 -8
  65. package/esm/browser/links/clipboard-links.js +9 -51
  66. package/esm/browser/sandbox/sandbox-runtime-code.js +1 -1
  67. package/esm/browser/settings/settings-protocol.d.ts +24 -0
  68. package/esm/browser/settings/settings-protocol.js +9 -0
  69. package/esm/browser/settings/settings.d.ts +4 -1
  70. package/esm/browser/settings/settings.js +16 -3
  71. package/esm/browser/skin/skin-layer.d.ts +8 -0
  72. package/esm/browser/skin/skin-layer.js +118 -0
  73. package/esm/browser/skin/skin-util.d.ts +40 -0
  74. package/esm/browser/skin/skin-util.js +120 -0
  75. package/esm/browser/style/conversation.d.ts +1 -1
  76. package/esm/browser/style/conversation.js +3 -2
  77. package/esm/browser/style/skins.d.ts +9 -0
  78. package/esm/browser/style/skins.js +107 -0
  79. package/esm/browser/style/surfaces.d.ts +1 -1
  80. package/esm/browser/style/surfaces.js +8 -0
  81. package/esm/browser/style.js +2 -0
  82. package/esm/browser/util/fresh-rows.d.ts +21 -0
  83. package/esm/browser/util/fresh-rows.js +36 -0
  84. package/esm/browser/util/process.d.ts +12 -22
  85. package/esm/browser/util/process.js +49 -39
  86. package/lib/browser/apps/app-window.js +2 -2
  87. package/lib/browser/assistant/assistant-chat-list.js +2 -1
  88. package/lib/browser/assistant/assistant-extension.js +15 -1
  89. package/lib/browser/assistant/assistant-protocol.d.ts +6 -0
  90. package/lib/browser/assistant/assistant-task-source.js +3 -0
  91. package/lib/browser/assistant/assistant-task-util.d.ts +2 -0
  92. package/lib/browser/assistant/assistant-task-util.js +5 -0
  93. package/lib/browser/assistant/assistant.d.ts +3 -0
  94. package/lib/browser/assistant/assistant.js +26 -2
  95. package/lib/browser/components/app-shell-hooks.d.ts +2 -1
  96. package/lib/browser/components/app-shell-hooks.js +4 -3
  97. package/lib/browser/components/app-shell-state.js +2 -2
  98. package/lib/browser/components/chat-list-row.js +4 -4
  99. package/lib/browser/components/chat-list-util.d.ts +2 -2
  100. package/lib/browser/components/cloud-sign-in-view.d.ts +1 -1
  101. package/lib/browser/components/custom-host.d.ts +4 -1
  102. package/lib/browser/components/custom-host.js +8 -2
  103. package/lib/browser/components/earlier-messages.d.ts +4 -1
  104. package/lib/browser/components/earlier-messages.js +5 -2
  105. package/lib/browser/components/host-view.d.ts +1 -1
  106. package/lib/browser/components/message-list.js +2 -1
  107. package/lib/browser/components/message-steps.js +8 -5
  108. package/lib/browser/components/settings-choices.d.ts +2 -1
  109. package/lib/browser/components/settings-choices.js +2 -1
  110. package/lib/browser/components/settings-parts.js +21 -1
  111. package/lib/browser/components/share-dialog.js +1 -1
  112. package/lib/browser/components/share-friends.d.ts +18 -2
  113. package/lib/browser/components/share-friends.js +65 -4
  114. package/lib/browser/components/share-sheet.d.ts +4 -3
  115. package/lib/browser/components/share-sheet.js +10 -2
  116. package/lib/browser/extension/web-api-chats.d.ts +23 -0
  117. package/lib/browser/extension/web-api-skins.d.ts +96 -0
  118. package/lib/browser/extension/web-api-skins.js +3 -0
  119. package/lib/browser/extension/web-api-spec.js +2 -0
  120. package/lib/browser/extension/web-extension-api.d.ts +4 -25
  121. package/lib/browser/extension/web-extension-context.js +1 -0
  122. package/lib/browser/extension/web-extension-protocol.d.ts +3 -1
  123. package/lib/browser/extension/web-extension-protocol.js +1 -0
  124. package/lib/browser/extension/web-extension-run.d.ts +3 -2
  125. package/lib/browser/extension/web-extension-run.js +3 -0
  126. package/lib/browser/extension/web-share-ui.js +6 -1
  127. package/lib/browser/i18n/en/assistant.d.ts +4 -0
  128. package/lib/browser/i18n/en/assistant.js +4 -0
  129. package/lib/browser/i18n/en/common.d.ts +0 -3
  130. package/lib/browser/i18n/en/common.js +0 -3
  131. package/lib/browser/i18n/en/discover.d.ts +4 -1
  132. package/lib/browser/i18n/en/discover.js +4 -1
  133. package/lib/browser/i18n/en/settings.d.ts +8 -0
  134. package/lib/browser/i18n/en/settings.js +8 -0
  135. package/lib/browser/i18n/ja/assistant.js +4 -0
  136. package/lib/browser/i18n/ja/common.js +0 -3
  137. package/lib/browser/i18n/ja/discover.js +4 -1
  138. package/lib/browser/i18n/ja/settings.js +8 -0
  139. package/lib/browser/i18n/locales.d.ts +17 -5
  140. package/lib/browser/i18n/messages.d.ts +16 -4
  141. package/lib/browser/i18n/zh/assistant.js +4 -0
  142. package/lib/browser/i18n/zh/common.js +0 -3
  143. package/lib/browser/i18n/zh/discover.js +4 -1
  144. package/lib/browser/i18n/zh/settings.js +8 -0
  145. package/lib/browser/i18n/zh-tw/assistant.js +4 -0
  146. package/lib/browser/i18n/zh-tw/common.js +0 -3
  147. package/lib/browser/i18n/zh-tw/discover.js +4 -1
  148. package/lib/browser/i18n/zh-tw/settings.js +8 -0
  149. package/lib/browser/links/clipboard-links.d.ts +4 -8
  150. package/lib/browser/links/clipboard-links.js +10 -52
  151. package/lib/browser/sandbox/sandbox-runtime-code.js +1 -1
  152. package/lib/browser/settings/settings-protocol.d.ts +24 -0
  153. package/lib/browser/settings/settings-protocol.js +10 -1
  154. package/lib/browser/settings/settings.d.ts +4 -1
  155. package/lib/browser/settings/settings.js +16 -3
  156. package/lib/browser/skin/skin-layer.d.ts +9 -0
  157. package/lib/browser/skin/skin-layer.js +154 -0
  158. package/lib/browser/skin/skin-util.d.ts +41 -0
  159. package/lib/browser/skin/skin-util.js +123 -0
  160. package/lib/browser/style/conversation.d.ts +1 -1
  161. package/lib/browser/style/conversation.js +3 -2
  162. package/lib/browser/style/skins.d.ts +10 -0
  163. package/lib/browser/style/skins.js +110 -0
  164. package/lib/browser/style/surfaces.d.ts +1 -1
  165. package/lib/browser/style/surfaces.js +8 -0
  166. package/lib/browser/style.js +2 -0
  167. package/lib/browser/util/fresh-rows.d.ts +22 -0
  168. package/lib/browser/util/fresh-rows.js +40 -0
  169. package/lib/browser/util/process.d.ts +12 -22
  170. package/lib/browser/util/process.js +49 -40
  171. 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/* Words struck out, highlighted, in a colour of the page; marks of footnotes and the footnotes; lists of tasks; boxes of a kind. */\n.ta-markdown del { color: var(--ta-muted); text-decoration-thickness: 1px; }\n.ta-markdown mark { padding: 0 2px; border-radius: 3px; background: color-mix(in srgb, var(--ta-yellow) 32%, transparent); color: inherit; -webkit-box-decoration-break: clone; box-decoration-break: clone; }\n.ta-tint[data-tint=\"red\"] { color: var(--ta-red); }\n.ta-tint[data-tint=\"orange\"] { color: color-mix(in srgb, var(--ta-red) 45%, var(--ta-yellow)); }\n.ta-tint[data-tint=\"yellow\"] { color: var(--ta-yellow); }\n.ta-tint[data-tint=\"green\"] { color: var(--ta-green); }\n.ta-tint[data-tint=\"blue\"] { color: var(--ta-blue); }\n.ta-tint[data-tint=\"purple\"] { color: color-mix(in srgb, var(--ta-blue) 55%, var(--ta-red)); }\n.ta-tint[data-tint=\"gray\"] { color: var(--ta-muted); }\n.ta-note-mark { margin: 0 1px; color: var(--ta-link); font-size: 0.72em; font-variant-numeric: tabular-nums; }\n.ta-footnote { display: flex; gap: 4px; margin: 0 0 4px; color: var(--ta-secondary); font-size: calc(12.5px * var(--ta-font-scale)); line-height: 1.55; }\n.ta-footnote > .ta-note-mark { flex-shrink: 0; margin: 0; font-size: 1em; vertical-align: baseline; }\n.ta-footnote > .ta-note-mark::after { content: '.'; }\n.ta-markdown ul.ta-tasks, .ta-markdown ol.ta-tasks { padding-left: 2px; list-style: none; }\n.ta-markdown li.ta-task { position: relative; padding-left: 24px; list-style: none; }\n.ta-task-box { position: absolute; left: 2px; top: 0.3em; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; width: 14px; height: 14px; border: 1.5px solid var(--ta-muted); border-radius: 4px; color: #fff; }\n.ta-task[data-done] > .ta-task-box { border-color: var(--ta-accent); background: var(--ta-accent); }\n.ta-task[data-done] { color: var(--ta-muted); }\n.ta-md-callout { --ta-callout: var(--ta-blue); margin: 0 0 10px; padding: 8px 12px 10px; border-left: 3px solid var(--ta-callout); border-radius: 4px 8px 8px 4px; background: color-mix(in srgb, var(--ta-callout) 9%, transparent); }\n.ta-md-callout[data-kind=\"tip\"] { --ta-callout: var(--ta-green); }\n.ta-md-callout[data-kind=\"important\"] { --ta-callout: color-mix(in srgb, var(--ta-blue) 55%, var(--ta-red)); }\n.ta-md-callout[data-kind=\"warning\"] { --ta-callout: var(--ta-yellow); }\n.ta-md-callout[data-kind=\"caution\"] { --ta-callout: var(--ta-red); }\n.ta-md-callout-title { display: flex; align-items: center; gap: 6px; margin-bottom: 2px; color: var(--ta-callout); font-weight: 600; }\n.ta-md-callout-title svg { flex-shrink: 0; }\n.ta-md-callout > .ta-markdown { color: var(--ta-text); }\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; its first icon starts where the card does (-8px: the padding of a button). */\n.ta-code-drawn-actions { display: flex; flex-wrap: wrap; gap: 4px; margin: -4px 0 10px -8px; }\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: pointer; }\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), (max-height: 500px) and (hover: none) { .ta-gallery { gap: 4px; } }\n.ta-media-missing { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border: 0; border-radius: 6px; background: var(--ta-chip); font: inherit; cursor: pointer; 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), (max-height: 500px) and (hover: none) {\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/* Words struck out, highlighted, in a colour of the page; marks of footnotes and the footnotes; lists of tasks; boxes of a kind. */\n.ta-markdown del { color: var(--ta-muted); text-decoration-thickness: 1px; }\n.ta-markdown mark { padding: 0 2px; border-radius: 3px; background: color-mix(in srgb, var(--ta-yellow) 32%, transparent); color: inherit; -webkit-box-decoration-break: clone; box-decoration-break: clone; }\n.ta-tint[data-tint=\"red\"] { color: var(--ta-red); }\n.ta-tint[data-tint=\"orange\"] { color: color-mix(in srgb, var(--ta-red) 45%, var(--ta-yellow)); }\n.ta-tint[data-tint=\"yellow\"] { color: var(--ta-yellow); }\n.ta-tint[data-tint=\"green\"] { color: var(--ta-green); }\n.ta-tint[data-tint=\"blue\"] { color: var(--ta-blue); }\n.ta-tint[data-tint=\"purple\"] { color: color-mix(in srgb, var(--ta-blue) 55%, var(--ta-red)); }\n.ta-tint[data-tint=\"gray\"] { color: var(--ta-muted); }\n.ta-note-mark { margin: 0 1px; color: var(--ta-link); font-size: 0.72em; font-variant-numeric: tabular-nums; }\n.ta-footnote { display: flex; gap: 4px; margin: 0 0 4px; color: var(--ta-secondary); font-size: calc(12.5px * var(--ta-font-scale)); line-height: 1.55; }\n.ta-footnote > .ta-note-mark { flex-shrink: 0; margin: 0; font-size: 1em; vertical-align: baseline; }\n.ta-footnote > .ta-note-mark::after { content: '.'; }\n.ta-markdown ul.ta-tasks, .ta-markdown ol.ta-tasks { padding-left: 2px; list-style: none; }\n.ta-markdown li.ta-task { position: relative; padding-left: 24px; list-style: none; }\n.ta-task-box { position: absolute; left: 2px; top: 0.3em; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; width: 14px; height: 14px; border: 1.5px solid var(--ta-muted); border-radius: 4px; color: #fff; }\n.ta-task[data-done] > .ta-task-box { border-color: var(--ta-accent); background: var(--ta-accent); }\n.ta-task[data-done] { color: var(--ta-muted); }\n.ta-md-callout { --ta-callout: var(--ta-blue); margin: 0 0 10px; padding: 8px 12px 10px; border-left: 3px solid var(--ta-callout); border-radius: 4px 8px 8px 4px; background: color-mix(in srgb, var(--ta-callout) 9%, transparent); }\n.ta-md-callout[data-kind=\"tip\"] { --ta-callout: var(--ta-green); }\n.ta-md-callout[data-kind=\"important\"] { --ta-callout: color-mix(in srgb, var(--ta-blue) 55%, var(--ta-red)); }\n.ta-md-callout[data-kind=\"warning\"] { --ta-callout: var(--ta-yellow); }\n.ta-md-callout[data-kind=\"caution\"] { --ta-callout: var(--ta-red); }\n.ta-md-callout-title { display: flex; align-items: center; gap: 6px; margin-bottom: 2px; color: var(--ta-callout); font-weight: 600; }\n.ta-md-callout-title svg { flex-shrink: 0; }\n.ta-md-callout > .ta-markdown { color: var(--ta-text); }\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; its first icon starts where the card does (-8px: the padding of a button). */\n.ta-code-drawn-actions { display: flex; flex-wrap: wrap; gap: 4px; margin: -4px 0 10px -8px; }\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: pointer; }\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), (max-height: 500px) and (hover: none) { .ta-gallery { gap: 4px; } }\n.ta-media-missing { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border: 0; border-radius: 6px; background: var(--ta-chip); font: inherit; cursor: pointer; 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 the work went on after it was cut short (Ta restarted, moved to the cloud and back): a quiet line among the steps. */\n.ta-step-resumed { display: flex; align-items: center; min-width: 0; min-height: calc(26px * var(--ta-font-scale)); font-size: calc(13px * var(--ta-font-scale)); color: var(--ta-muted); }\n.ta-step-resumed-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\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), (max-height: 500px) and (hover: none) {\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
@@ -411,8 +411,9 @@ button.ta-tool-title:focus-visible, .ta-step-toggle:focus-visible { outline-offs
411
411
  /* The earlier steps, folded: a bead of their own on the string, as every step has. */
412
412
  .ta-step-more { display: flex; align-items: center; min-height: calc(26px * var(--ta-font-scale)); }
413
413
  .ta-step-more > .ta-more { margin-bottom: 0; }
414
- /* Where Ta restarted in the middle of the work and went on: a quiet line among the steps. */
415
- .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); }
414
+ /* Where the work went on after it was cut short (Ta restarted, moved to the cloud and back): a quiet line among the steps. */
415
+ .ta-step-resumed { display: flex; align-items: center; min-width: 0; min-height: calc(26px * var(--ta-font-scale)); font-size: calc(13px * var(--ta-font-scale)); color: var(--ta-muted); }
416
+ .ta-step-resumed-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
416
417
  .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); }
417
418
  .ta-tool-chevron { flex: none; width: 13px; margin-left: auto; color: var(--ta-muted); opacity: 0; transition: transform 150ms var(--ta-ease), opacity 120ms; }
418
419
  button.ta-tool-title:hover:not(:disabled) .ta-tool-chevron, button.ta-tool-title[aria-expanded='true'] .ta-tool-chevron { opacity: 1; }
@@ -0,0 +1,10 @@
1
+ /**
2
+ * A skin (docs/design/ta-skins.md): its picture behind the page (.ta-skin, SkinLayer), the columns glass over it. Ta
3
+ * makes every colour of the theme from the few a skin gives (SkinUtil.variables): its glass, made clearer or more solid
4
+ * by the user's choice (data-ta-glass), its ink, its accent, the colour under the picture. What floats over the
5
+ * conversation (a menu, a dialog) is nearly solid glass; what is read keeps a halo of the glass under its words, so that
6
+ * a bright patch behind never blurs a letter. A skin whose picture softens itself behind the columns (WebSkin.softens)
7
+ * is not blurred again by the page, which would cost a blur of the whole window at each of its frames.
8
+ */
9
+ export declare const SKINS_STYLE = "\n:root[data-ta-skin] { --ta-skin-a-main: 50%; --ta-skin-a-side: 66%; --ta-skin-a-card: 78%; --ta-skin-a-sheet: 46%; }\n:root[data-ta-skin][data-ta-glass='clear'] { --ta-skin-a-main: 32%; --ta-skin-a-side: 50%; --ta-skin-a-card: 68%; --ta-skin-a-sheet: 40%; }\n:root[data-ta-skin][data-ta-glass='focus'] { --ta-skin-a-main: 74%; --ta-skin-a-side: 82%; --ta-skin-a-card: 88%; --ta-skin-a-sheet: 80%; }\n:root[data-ta-skin][data-theme='light'] {\n --ta-skin-g: var(--ta-skin-glass, #fcfbf6);\n --ta-skin-i: var(--ta-skin-ink, #26282c);\n --ta-link: var(--ta-skin-accent, #1677ff);\n --ta-code: color-mix(in srgb, var(--ta-skin-g) 82%, transparent);\n --ta-segment: color-mix(in srgb, var(--ta-skin-g) 92%, transparent);\n --ta-skin-halo: 0 0 1px color-mix(in srgb, var(--ta-skin-g) 70%, transparent), 0 0 10px color-mix(in srgb, var(--ta-skin-g) 60%, transparent);\n --ta-shadow-pop: 0 18px 48px color-mix(in srgb, var(--ta-skin-i) 18%, transparent), 0 0 0 1px color-mix(in srgb, var(--ta-skin-g) 50%, transparent);\n --ta-shadow-composer: 0 12px 36px color-mix(in srgb, var(--ta-skin-i) 13%, transparent);\n color-scheme: light;\n}\n:root[data-ta-skin][data-theme='dark'] {\n --ta-skin-g: var(--ta-skin-glass, #121821);\n --ta-skin-i: var(--ta-skin-ink, #eceef0);\n --ta-link: var(--ta-skin-accent, #4dabf7);\n --ta-code: color-mix(in srgb, color-mix(in srgb, var(--ta-skin-g) 70%, black) 62%, transparent);\n --ta-segment: color-mix(in srgb, var(--ta-skin-i) 17%, transparent);\n --ta-skin-halo: 0 1px 2px rgba(0, 0, 0, 0.55), 0 0 8px rgba(0, 0, 0, 0.3);\n --ta-shadow-pop: 0 18px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px color-mix(in srgb, var(--ta-skin-i) 6%, transparent);\n --ta-shadow-composer: 0 14px 40px rgba(0, 0, 0, 0.4);\n color-scheme: dark;\n}\n:root[data-ta-skin] {\n background: var(--ta-skin-base);\n --ta-skin-a: var(--ta-skin-accent, var(--ta-skin-i));\n --ta-main: color-mix(in srgb, var(--ta-skin-g) var(--ta-skin-a-main), transparent);\n --ta-side: color-mix(in srgb, var(--ta-skin-g) var(--ta-skin-a-side), transparent);\n --ta-card: color-mix(in srgb, var(--ta-skin-g) var(--ta-skin-a-card), transparent);\n --ta-input: color-mix(in srgb, var(--ta-skin-g) 80%, transparent);\n --ta-raised: color-mix(in srgb, var(--ta-skin-i) 7%, transparent);\n --ta-hover: color-mix(in srgb, var(--ta-skin-i) 7%, transparent);\n --ta-hover-strong: color-mix(in srgb, var(--ta-skin-i) 12%, transparent);\n --ta-chip: color-mix(in srgb, var(--ta-skin-i) 7%, transparent);\n --ta-selected: color-mix(in srgb, var(--ta-skin-a) 18%, transparent);\n --ta-user: color-mix(in srgb, color-mix(in srgb, var(--ta-skin-a) 16%, var(--ta-skin-g)) 86%, transparent);\n --ta-border: color-mix(in srgb, var(--ta-skin-i) 15%, transparent);\n --ta-border-muted: color-mix(in srgb, var(--ta-skin-i) 9%, transparent);\n --ta-border-field: color-mix(in srgb, var(--ta-skin-i) 22%, transparent);\n --ta-border-focus: color-mix(in srgb, var(--ta-skin-a) 70%, transparent);\n --ta-text: var(--ta-skin-i);\n --ta-body: color-mix(in srgb, var(--ta-skin-i) 90%, var(--ta-skin-g));\n --ta-secondary: color-mix(in srgb, var(--ta-skin-i) 72%, var(--ta-skin-g));\n --ta-muted: color-mix(in srgb, var(--ta-skin-i) 52%, var(--ta-skin-g));\n --ta-brand: var(--ta-skin-a);\n --ta-brand-text: var(--ta-skin-on-accent, var(--ta-skin-g));\n --ta-scrollbar: color-mix(in srgb, var(--ta-skin-i) 22%, transparent);\n --ta-skin-pop: color-mix(in srgb, var(--ta-skin-g) 93%, transparent);\n --ta-skin-cover: color-mix(in srgb, var(--ta-skin-g) 95%, transparent);\n --ta-skin-sheet: color-mix(in srgb, var(--ta-skin-g) var(--ta-skin-a-sheet), transparent);\n}\n.ta-skin { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: var(--ta-skin-base) center / cover no-repeat; }\n.ta-skin-live { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s ease; }\n.ta-skin-live.ta-skin-ready { opacity: 1; }\n.ta-skin-live > .ta-game { position: absolute; inset: 0; width: 100%; height: 100%; outline: none; }\n.ta-skin-live .ta-game-cover { display: none; }\n:root[data-ta-skin][data-reduce-motion] .ta-skin-live { transition: none; }\n:root[data-ta-skin] body, :root[data-ta-skin] :is(.ta-app, .ta-phone) { background: transparent; }\n/* The title bar is the glass of the column under it: no band of another colour over the conversation, and no corners. */\n:root[data-ta-skin] .ta-main { background: var(--ta-main); }\n/* The desktop app's bar over the whole width (its TITLEBAR_CSS) would lay a second glass over the columns: none. */\n:root[data-ta-skin] .ta-titlebar { background: transparent; }\n:root[data-ta-skin] .ta-main::before, :root[data-ta-skin] .ta-main::after { content: none; }\n/* The workbench is one glass too: its tab strip and the pane under it lay none of their own over the column's. */\n:root[data-ta-skin] :is(.ta-editor-tabs, .ta-editors-pane) { background: transparent; }\n:root[data-ta-skin] .ta-phone > .ta-editors-pane > .ta-editors { background: transparent; }\n:root[data-ta-skin] :is(.ta-main, .ta-phone-screen, .ta-phone-stack-top, .ta-chats, .ta-side-view) { text-shadow: var(--ta-skin-halo); }\n:root[data-ta-skin] :is(.monaco-editor, .xterm, canvas, svg, .ta-button.ta-primary, .ta-user-bubble) { text-shadow: none; }\n:root[data-ta-skin] .ta-phone :is(.ta-phone-screen, .ta-phone-stack-top, .ta-phone-board, .ta-phone-launcher), :root[data-ta-skin] .ta-phone > .ta-editors-pane { background: var(--ta-skin-sheet); }\n:root[data-ta-skin] .ta-phone :is(.ta-phone-screen, .ta-phone-stack-top, .ta-phone-board, .ta-phone-launcher) .ta-main { background: transparent; }\n:root[data-ta-skin] .ta-phone-home { background: var(--ta-main); }\n/* What the picture does not soften itself, the page blurs: the columns, the message box, the sheets of a phone. */\n:root[data-ta-skin]:not([data-ta-skin-softens]):not([data-ta-glass='clear']) :is(.ta-rail, .ta-chats, .ta-side-view, .ta-editors, .ta-tabbar, .ta-console-box),\n:root[data-ta-skin]:not([data-ta-skin-softens]) .ta-phone :is(.ta-phone-screen, .ta-phone-stack-top, .ta-phone-board, .ta-phone-launcher) {\n -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2);\n}\n/* What floats over the conversation is read over moving words: nearly solid glass. */\n:root[data-ta-skin] :is(.ta-popover, .ta-context-menu, .ta-modal, .ta-plus-menu, .ta-commands, .ta-workbench-menu, .ta-account-menu,\n .ta-tab-switcher, .ta-toast, .ta-flyout, .ta-queue, .ta-remote-status, .ta-connection, .ta-scan-sheet, .ta-recent-shot, .ta-to-bottom) {\n background: var(--ta-skin-pop);\n -webkit-backdrop-filter: blur(24px) saturate(1.25); backdrop-filter: blur(24px) saturate(1.25);\n}\n:root[data-ta-skin] .ta-recent-shot::after { background: var(--ta-skin-pop); }\n:root[data-ta-skin] .ta-plus-dock .ta-plus-menu { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }\n:root[data-ta-skin] :is(.ta-full-screen, .ta-switching, .ta-mermaid:fullscreen) { background: var(--ta-skin-cover); }\n/* The code editor keeps its own theme, on a glass its words read on. */\n:root[data-ta-skin] :is(.monaco-editor, .monaco-diff-editor, .monaco-component).vs-dark {\n --vscode-editor-background: rgba(16, 24, 30, 0.86); --vscode-editorGutter-background: rgba(16, 24, 30, 0.86);\n --vscode-editorStickyScroll-background: rgba(20, 28, 36, 0.96); --vscode-minimap-background: rgba(16, 24, 30, 0.9);\n}\n:root[data-ta-skin] :is(.monaco-editor, .monaco-diff-editor, .monaco-component).vs {\n --vscode-editor-background: rgba(255, 254, 249, 0.86); --vscode-editorGutter-background: rgba(255, 254, 249, 0.86);\n --vscode-editorStickyScroll-background: rgba(255, 254, 249, 0.96); --vscode-minimap-background: rgba(255, 254, 249, 0.9);\n}\n";
10
+ //# sourceMappingURL=skins.d.ts.map
@@ -0,0 +1,110 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SKINS_STYLE = void 0;
4
+ /**
5
+ * A skin (docs/design/ta-skins.md): its picture behind the page (.ta-skin, SkinLayer), the columns glass over it. Ta
6
+ * makes every colour of the theme from the few a skin gives (SkinUtil.variables): its glass, made clearer or more solid
7
+ * by the user's choice (data-ta-glass), its ink, its accent, the colour under the picture. What floats over the
8
+ * conversation (a menu, a dialog) is nearly solid glass; what is read keeps a halo of the glass under its words, so that
9
+ * a bright patch behind never blurs a letter. A skin whose picture softens itself behind the columns (WebSkin.softens)
10
+ * is not blurred again by the page, which would cost a blur of the whole window at each of its frames.
11
+ */
12
+ exports.SKINS_STYLE = `
13
+ :root[data-ta-skin] { --ta-skin-a-main: 50%; --ta-skin-a-side: 66%; --ta-skin-a-card: 78%; --ta-skin-a-sheet: 46%; }
14
+ :root[data-ta-skin][data-ta-glass='clear'] { --ta-skin-a-main: 32%; --ta-skin-a-side: 50%; --ta-skin-a-card: 68%; --ta-skin-a-sheet: 40%; }
15
+ :root[data-ta-skin][data-ta-glass='focus'] { --ta-skin-a-main: 74%; --ta-skin-a-side: 82%; --ta-skin-a-card: 88%; --ta-skin-a-sheet: 80%; }
16
+ :root[data-ta-skin][data-theme='light'] {
17
+ --ta-skin-g: var(--ta-skin-glass, #fcfbf6);
18
+ --ta-skin-i: var(--ta-skin-ink, #26282c);
19
+ --ta-link: var(--ta-skin-accent, #1677ff);
20
+ --ta-code: color-mix(in srgb, var(--ta-skin-g) 82%, transparent);
21
+ --ta-segment: color-mix(in srgb, var(--ta-skin-g) 92%, transparent);
22
+ --ta-skin-halo: 0 0 1px color-mix(in srgb, var(--ta-skin-g) 70%, transparent), 0 0 10px color-mix(in srgb, var(--ta-skin-g) 60%, transparent);
23
+ --ta-shadow-pop: 0 18px 48px color-mix(in srgb, var(--ta-skin-i) 18%, transparent), 0 0 0 1px color-mix(in srgb, var(--ta-skin-g) 50%, transparent);
24
+ --ta-shadow-composer: 0 12px 36px color-mix(in srgb, var(--ta-skin-i) 13%, transparent);
25
+ color-scheme: light;
26
+ }
27
+ :root[data-ta-skin][data-theme='dark'] {
28
+ --ta-skin-g: var(--ta-skin-glass, #121821);
29
+ --ta-skin-i: var(--ta-skin-ink, #eceef0);
30
+ --ta-link: var(--ta-skin-accent, #4dabf7);
31
+ --ta-code: color-mix(in srgb, color-mix(in srgb, var(--ta-skin-g) 70%, black) 62%, transparent);
32
+ --ta-segment: color-mix(in srgb, var(--ta-skin-i) 17%, transparent);
33
+ --ta-skin-halo: 0 1px 2px rgba(0, 0, 0, 0.55), 0 0 8px rgba(0, 0, 0, 0.3);
34
+ --ta-shadow-pop: 0 18px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px color-mix(in srgb, var(--ta-skin-i) 6%, transparent);
35
+ --ta-shadow-composer: 0 14px 40px rgba(0, 0, 0, 0.4);
36
+ color-scheme: dark;
37
+ }
38
+ :root[data-ta-skin] {
39
+ background: var(--ta-skin-base);
40
+ --ta-skin-a: var(--ta-skin-accent, var(--ta-skin-i));
41
+ --ta-main: color-mix(in srgb, var(--ta-skin-g) var(--ta-skin-a-main), transparent);
42
+ --ta-side: color-mix(in srgb, var(--ta-skin-g) var(--ta-skin-a-side), transparent);
43
+ --ta-card: color-mix(in srgb, var(--ta-skin-g) var(--ta-skin-a-card), transparent);
44
+ --ta-input: color-mix(in srgb, var(--ta-skin-g) 80%, transparent);
45
+ --ta-raised: color-mix(in srgb, var(--ta-skin-i) 7%, transparent);
46
+ --ta-hover: color-mix(in srgb, var(--ta-skin-i) 7%, transparent);
47
+ --ta-hover-strong: color-mix(in srgb, var(--ta-skin-i) 12%, transparent);
48
+ --ta-chip: color-mix(in srgb, var(--ta-skin-i) 7%, transparent);
49
+ --ta-selected: color-mix(in srgb, var(--ta-skin-a) 18%, transparent);
50
+ --ta-user: color-mix(in srgb, color-mix(in srgb, var(--ta-skin-a) 16%, var(--ta-skin-g)) 86%, transparent);
51
+ --ta-border: color-mix(in srgb, var(--ta-skin-i) 15%, transparent);
52
+ --ta-border-muted: color-mix(in srgb, var(--ta-skin-i) 9%, transparent);
53
+ --ta-border-field: color-mix(in srgb, var(--ta-skin-i) 22%, transparent);
54
+ --ta-border-focus: color-mix(in srgb, var(--ta-skin-a) 70%, transparent);
55
+ --ta-text: var(--ta-skin-i);
56
+ --ta-body: color-mix(in srgb, var(--ta-skin-i) 90%, var(--ta-skin-g));
57
+ --ta-secondary: color-mix(in srgb, var(--ta-skin-i) 72%, var(--ta-skin-g));
58
+ --ta-muted: color-mix(in srgb, var(--ta-skin-i) 52%, var(--ta-skin-g));
59
+ --ta-brand: var(--ta-skin-a);
60
+ --ta-brand-text: var(--ta-skin-on-accent, var(--ta-skin-g));
61
+ --ta-scrollbar: color-mix(in srgb, var(--ta-skin-i) 22%, transparent);
62
+ --ta-skin-pop: color-mix(in srgb, var(--ta-skin-g) 93%, transparent);
63
+ --ta-skin-cover: color-mix(in srgb, var(--ta-skin-g) 95%, transparent);
64
+ --ta-skin-sheet: color-mix(in srgb, var(--ta-skin-g) var(--ta-skin-a-sheet), transparent);
65
+ }
66
+ .ta-skin { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: var(--ta-skin-base) center / cover no-repeat; }
67
+ .ta-skin-live { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s ease; }
68
+ .ta-skin-live.ta-skin-ready { opacity: 1; }
69
+ .ta-skin-live > .ta-game { position: absolute; inset: 0; width: 100%; height: 100%; outline: none; }
70
+ .ta-skin-live .ta-game-cover { display: none; }
71
+ :root[data-ta-skin][data-reduce-motion] .ta-skin-live { transition: none; }
72
+ :root[data-ta-skin] body, :root[data-ta-skin] :is(.ta-app, .ta-phone) { background: transparent; }
73
+ /* The title bar is the glass of the column under it: no band of another colour over the conversation, and no corners. */
74
+ :root[data-ta-skin] .ta-main { background: var(--ta-main); }
75
+ /* The desktop app's bar over the whole width (its TITLEBAR_CSS) would lay a second glass over the columns: none. */
76
+ :root[data-ta-skin] .ta-titlebar { background: transparent; }
77
+ :root[data-ta-skin] .ta-main::before, :root[data-ta-skin] .ta-main::after { content: none; }
78
+ /* The workbench is one glass too: its tab strip and the pane under it lay none of their own over the column's. */
79
+ :root[data-ta-skin] :is(.ta-editor-tabs, .ta-editors-pane) { background: transparent; }
80
+ :root[data-ta-skin] .ta-phone > .ta-editors-pane > .ta-editors { background: transparent; }
81
+ :root[data-ta-skin] :is(.ta-main, .ta-phone-screen, .ta-phone-stack-top, .ta-chats, .ta-side-view) { text-shadow: var(--ta-skin-halo); }
82
+ :root[data-ta-skin] :is(.monaco-editor, .xterm, canvas, svg, .ta-button.ta-primary, .ta-user-bubble) { text-shadow: none; }
83
+ :root[data-ta-skin] .ta-phone :is(.ta-phone-screen, .ta-phone-stack-top, .ta-phone-board, .ta-phone-launcher), :root[data-ta-skin] .ta-phone > .ta-editors-pane { background: var(--ta-skin-sheet); }
84
+ :root[data-ta-skin] .ta-phone :is(.ta-phone-screen, .ta-phone-stack-top, .ta-phone-board, .ta-phone-launcher) .ta-main { background: transparent; }
85
+ :root[data-ta-skin] .ta-phone-home { background: var(--ta-main); }
86
+ /* What the picture does not soften itself, the page blurs: the columns, the message box, the sheets of a phone. */
87
+ :root[data-ta-skin]:not([data-ta-skin-softens]):not([data-ta-glass='clear']) :is(.ta-rail, .ta-chats, .ta-side-view, .ta-editors, .ta-tabbar, .ta-console-box),
88
+ :root[data-ta-skin]:not([data-ta-skin-softens]) .ta-phone :is(.ta-phone-screen, .ta-phone-stack-top, .ta-phone-board, .ta-phone-launcher) {
89
+ -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2);
90
+ }
91
+ /* What floats over the conversation is read over moving words: nearly solid glass. */
92
+ :root[data-ta-skin] :is(.ta-popover, .ta-context-menu, .ta-modal, .ta-plus-menu, .ta-commands, .ta-workbench-menu, .ta-account-menu,
93
+ .ta-tab-switcher, .ta-toast, .ta-flyout, .ta-queue, .ta-remote-status, .ta-connection, .ta-scan-sheet, .ta-recent-shot, .ta-to-bottom) {
94
+ background: var(--ta-skin-pop);
95
+ -webkit-backdrop-filter: blur(24px) saturate(1.25); backdrop-filter: blur(24px) saturate(1.25);
96
+ }
97
+ :root[data-ta-skin] .ta-recent-shot::after { background: var(--ta-skin-pop); }
98
+ :root[data-ta-skin] .ta-plus-dock .ta-plus-menu { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
99
+ :root[data-ta-skin] :is(.ta-full-screen, .ta-switching, .ta-mermaid:fullscreen) { background: var(--ta-skin-cover); }
100
+ /* The code editor keeps its own theme, on a glass its words read on. */
101
+ :root[data-ta-skin] :is(.monaco-editor, .monaco-diff-editor, .monaco-component).vs-dark {
102
+ --vscode-editor-background: rgba(16, 24, 30, 0.86); --vscode-editorGutter-background: rgba(16, 24, 30, 0.86);
103
+ --vscode-editorStickyScroll-background: rgba(20, 28, 36, 0.96); --vscode-minimap-background: rgba(16, 24, 30, 0.9);
104
+ }
105
+ :root[data-ta-skin] :is(.monaco-editor, .monaco-diff-editor, .monaco-component).vs {
106
+ --vscode-editor-background: rgba(255, 254, 249, 0.86); --vscode-editorGutter-background: rgba(255, 254, 249, 0.86);
107
+ --vscode-editorStickyScroll-background: rgba(255, 254, 249, 0.96); --vscode-minimap-background: rgba(255, 254, 249, 0.9);
108
+ }
109
+ `;
110
+ //# sourceMappingURL=skins.js.map
@@ -2,5 +2,5 @@
2
2
  * The launcher and the board (ta-launcher.md, components/board.tsx): their cards and rows, and the flyout
3
3
  * the rail opens them in on a computer or a tablet. Where they rest on a phone is in style/phone.ts.
4
4
  */
5
- export declare const SURFACES_STYLE = "\n.ta-kept-page { display: contents; }\n.ta-kept-page[hidden] { display: none; }\n/* Under the head of a page of an extension (PageView): what is taller than the window scrolls, never sideways. */\n.ta-page-body { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; }\n/* A view of an extension in a frame apart (sandbox/web-sandbox.tsx): as wide as its place, a page as tall too, the others as tall as they draw. */\n/* What an extension in a sandbox draws, copied here (sandbox/remote): its own box, nothing of it over the page; RemoteCopy sets it inline too, out of the sandbox's reach. */\n.ta-remote { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; min-height: 0; contain: layout paint; }\nta-part, ta-slot { display: contents; }\n.ta-launcher { display: flex; flex-direction: column; gap: 24px; }\n/* The launcher with its search: the stack fills it, its base scrolls. */\n.ta-launcher-surface { flex: 1; min-height: 0; display: flex; flex-direction: column; }\n.ta-launcher-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 14px 16px 18px; }\n.ta-launcher-field { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 36px; margin-bottom: 18px; padding: 0 12px; border: 0; border-radius: 10px; background: var(--ta-raised); color: var(--ta-muted); font: inherit; font-size: calc(14px * var(--ta-font-scale)); cursor: text; -webkit-tap-highlight-color: transparent; transition: background 140ms; }\n.ta-launcher-field:active { background: var(--ta-hover); }\n.ta-launcher-search { flex: 1; min-height: 0; display: flex; flex-direction: column; background: var(--ta-main); }\n.ta-launcher-search-head { flex: none; display: flex; align-items: center; gap: 4px; padding: 10px 12px 8px; }\n.ta-launcher-search-head input::-webkit-search-cancel-button { display: none; }\n.ta-launcher-clear { flex: none; display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--ta-muted); }\n.ta-launcher-cancel { flex: none; height: 36px; padding: 0 8px; border: 0; background: none; color: var(--ta-text); font: inherit; font-size: calc(15px * var(--ta-font-scale)); cursor: pointer; }\n.ta-launcher-search-body { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; padding: 4px 8px 16px; }\n.ta-launcher-results { margin: 0; padding: 0; list-style: none; animation: ta-fade 120ms ease-out; }\n.ta-launcher-results-section + .ta-launcher-results-section { margin-top: 14px; }\n.ta-launcher-results-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 28px; padding: 0 8px; color: var(--ta-muted); font-size: calc(12.5px * var(--ta-font-scale)); line-height: calc(16px * var(--ta-font-scale)); font-weight: 600; }\n.ta-launcher-results-all { border: 0; padding: 4px 0; background: none; color: var(--ta-link); font: inherit; font-weight: 500; cursor: pointer; }\n.ta-launcher-more { height: 1px; }\n/* A long list draws the rows in view only; the rest keep their place. */\n.ta-launcher-result-row { position: relative; display: flex; align-items: center; content-visibility: auto; contain-intrinsic-size: auto 56px; }\n.ta-launcher-result-row > .ta-launcher-result { flex: 1; min-width: 0; }\n.ta-launcher-result-letter { font-size: calc(15px * var(--ta-font-scale)); font-weight: 600; }\n.ta-launcher-result-action { flex: none; position: absolute; right: 8px; height: 28px; padding: 0 12px; border: 0; border-radius: 14px; background: var(--ta-chip); color: var(--ta-text); font: inherit; font-size: calc(12.5px * var(--ta-font-scale)); font-weight: 600; cursor: pointer; transition: background 140ms, transform 120ms var(--ta-ease); }\n.ta-launcher-result-action:hover { background: var(--ta-hover-strong); }\n.ta-launcher-result-action:active { transform: scale(0.95); }\n.ta-launcher-result-row:has(.ta-launcher-result-action) .ta-launcher-result { padding-right: 84px; }\n/* The share sheet (share-sheet.tsx): the card of what goes, its code and link, the actions in a row, notes, Stop. */\n.ta-share { display: flex; flex-direction: column; align-items: stretch; gap: 14px; padding: 2px 2px 4px; }\n.ta-share-card { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 18px 16px 14px; border-radius: 16px; background: var(--ta-raised); }\n.ta-share-who { display: flex; align-items: center; gap: 12px; align-self: stretch; min-width: 0; }\n.ta-share-face { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; overflow: hidden; background: var(--ta-tile); color: var(--ta-tile-ink); }\n.ta-share-who-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }\n.ta-share-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: calc(15px * var(--ta-font-scale)); font-weight: 600; }\n.ta-share-gets { color: var(--ta-secondary); font-size: calc(12.5px * var(--ta-font-scale)); line-height: calc(18px * var(--ta-font-scale)); }\n.ta-share-qr { width: 196px; height: 196px; padding: 10px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--ta-border-muted); }\n.ta-share-qr svg { display: block; width: 100%; height: 100%; border-radius: 0; animation: ta-fade 160ms ease-out; }\n.ta-share-qr-busy { display: grid; place-items: center; background: var(--ta-card); }\n.ta-share-link { align-self: stretch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; color: var(--ta-muted); font-family: var(--ta-mono); font-size: calc(11.5px * var(--ta-font-scale)); user-select: all; }\n.ta-share-password { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; background: var(--ta-raised); color: var(--ta-secondary); font-size: calc(12.5px * var(--ta-font-scale)); }\n.ta-share-password > span { flex: 1; min-width: 0; }\n.ta-share-password code { color: var(--ta-text); font-family: var(--ta-mono); }\n.ta-share-tiles { display: flex; justify-content: center; gap: 4px; }\n.ta-share-tile { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 76px; padding: 4px 0; border: 0; background: none; color: var(--ta-text); font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }\n.ta-share-tile:disabled { opacity: 0.45; cursor: default; }\n.ta-share-tile-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ta-raised); transition: background 140ms, transform 120ms var(--ta-ease); }\n.ta-share-tile:not(:disabled):hover .ta-share-tile-icon { background: var(--ta-hover-strong); }\n.ta-share-tile:not(:disabled):active .ta-share-tile-icon { transform: scale(0.94); }\n.ta-share-tile-label { color: var(--ta-secondary); font-size: calc(12px * var(--ta-font-scale)); white-space: nowrap; }\n.ta-share-friends { display: flex; flex-direction: column; gap: 10px; }\n.ta-share-friends-actions { display: flex; justify-content: flex-end; gap: 8px; }\n.ta-share-notes { display: flex; flex-direction: column; gap: 4px; padding: 0 4px; }\n.ta-share-notes p { margin: 0; text-align: center; color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); line-height: calc(17px * var(--ta-font-scale)); text-wrap: balance; }\n.ta-share-stop { position: relative; align-self: center; border: 0; padding: 4px 8px; background: none; color: var(--ta-red); font: inherit; font-size: calc(12.5px * var(--ta-font-scale)); cursor: pointer; }\n.ta-launcher-result { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 6px 8px; border: 0; border-radius: 12px; background: none; color: var(--ta-text); font: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }\n.ta-launcher-result:hover, .ta-launcher-result:active { background: var(--ta-hover); }\n.ta-launcher-result-icon { flex: none; position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--ta-tile); color: var(--ta-tile-ink); }\n.ta-launcher-result-icon > .ta-busy-mark { width: 16px; height: 16px; border-color: color-mix(in srgb, var(--ta-tile-ink) 25%, transparent); border-top-color: var(--ta-tile-ink); }\n.ta-launcher-result-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }\n.ta-launcher-result-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: calc(15px * var(--ta-font-scale)); line-height: calc(20px * var(--ta-font-scale)); }\n.ta-launcher-result-title mark { background: none; color: var(--ta-accent); font-weight: 600; }\n.ta-launcher-result-detail { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); line-height: calc(16px * var(--ta-font-scale)); }\n.ta-board { flex: 1; min-height: 0; display: flex; flex-direction: column; }\n.ta-board-head { flex: none; display: flex; align-items: center; gap: 6px; min-height: 64px; padding: 6px 14px 6px 16px; }\n.ta-board-heading { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }\n.ta-board-title { font-size: calc(22px * var(--ta-font-scale)); line-height: calc(28px * var(--ta-font-scale)); font-weight: 700; letter-spacing: -0.01em; color: var(--ta-text); }\n.ta-board-date { color: var(--ta-muted); font-size: calc(12.5px * var(--ta-font-scale)); line-height: calc(17px * var(--ta-font-scale)); }\n.ta-board-edit-button { flex: none; height: 30px; padding: 0 14px; border: 0; border-radius: 15px; background: var(--ta-chip); color: var(--ta-text); font-size: calc(13px * var(--ta-font-scale)); font-weight: 500; transition: background 160ms, color 160ms, transform 120ms var(--ta-ease); }\n.ta-board-edit-button:hover { background: var(--ta-hover-strong); }\n.ta-board-edit-button:active { transform: scale(0.96); }\n.ta-board-edit-button.ta-active { background: var(--ta-brand); color: var(--ta-brand-text); }\n.ta-board-body { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; padding: 2px 14px calc(20px + env(safe-area-inset-bottom)); }\n.ta-board-cards { display: flex; flex-direction: column; gap: 12px; }\n.ta-board-card { padding: 12px 14px 14px; border-radius: 20px; background: var(--ta-main); box-shadow: 0 0 0 1px var(--ta-border-muted), 0 2px 6px rgba(15, 23, 42, 0.03), 0 8px 24px rgba(15, 23, 42, 0.04); animation: ta-board-in 260ms var(--ta-ease) both; }\n:root[data-theme='dark'] .ta-board-card { background: var(--ta-card); box-shadow: 0 0 0 1px var(--ta-border-muted); }\n@keyframes ta-board-in { from { opacity: 0; transform: translate3d(0, 6px, 0); } }\n.ta-board-card-head { display: flex; align-items: center; gap: 7px; margin-bottom: 10px; color: var(--ta-secondary); font-size: calc(12.5px * var(--ta-font-scale)); line-height: calc(18px * var(--ta-font-scale)); font-weight: 600; }\n.ta-board-card-icon { flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: color-mix(in srgb, var(--ta-accent) 14%, transparent); color: var(--ta-accent); }\n.ta-board-card-body { min-width: 0; color: var(--ta-body); font-size: calc(14px * var(--ta-font-scale)); }\n/* A card with nothing says so in one quiet line, where its content would start. */\n.ta-board-card-body .ta-empty { min-height: 0; align-items: flex-start; padding: 0 0 2px; text-align: left; }\n.ta-board-card-body .ta-empty-title { color: var(--ta-muted); font-weight: 400; }\n.ta-board-edit { display: flex; flex-direction: column; animation: ta-fade 160ms ease-out; }\n.ta-board-rows { display: flex; flex-direction: column; border-radius: 14px; background: var(--ta-main); box-shadow: 0 0 0 1px var(--ta-border-muted); }\n.ta-board-row { position: relative; display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 4px 0 10px; border-radius: 14px; background: var(--ta-main); transition: transform 200ms var(--ta-ease), box-shadow 160ms; }\n.ta-board-row + .ta-board-row::before { content: ''; position: absolute; top: 0; left: 76px; right: 0; border-top: 1px solid var(--ta-border-muted); }\n.ta-board-row[data-sorting] { z-index: 2; transition: box-shadow 160ms; box-shadow: var(--ta-shadow-pop); }\n.ta-board-row[data-moving] { z-index: 1; }\n.ta-board-row[data-sorting]::before, .ta-board-row[data-sorting] + .ta-board-row::before { display: none; }\n.ta-board-toggle { flex: none; display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; background: none; }\n.ta-board-off { color: var(--ta-red); }\n.ta-board-on { color: var(--ta-green); }\n.ta-board-row-icon { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--ta-chip); color: var(--ta-secondary); }\n.ta-board-row-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ta-text); font-size: calc(15px * var(--ta-font-scale)); }\n.ta-board-grip { flex: none; display: grid; place-items: center; width: 44px; height: 48px; padding: 0; border: 0; background: none; color: var(--ta-muted); cursor: grab; touch-action: none; }\n.ta-board-row[data-sorting] .ta-board-grip { cursor: grabbing; }\n.ta-board-label { margin: 20px 6px 8px; color: var(--ta-muted); font-size: calc(12.5px * var(--ta-font-scale)); line-height: calc(16px * var(--ta-font-scale)); }\n\n/* The rail's buttons for them, above the account; the flyout beside it. */\n.ta-rail-tools { flex: none; display: flex; flex-direction: column; align-items: center; gap: 4px; margin-bottom: 4px; }\n.ta-flyout { position: fixed; z-index: 50; left: calc(64px + env(safe-area-inset-left)); bottom: calc(10px + env(safe-area-inset-bottom)); width: 380px; max-width: calc(100vw - 80px); max-height: min(680px, calc(100vh - 20px - var(--ta-titlebar))); display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--ta-border); border-radius: 16px; background: var(--ta-side); box-shadow: var(--ta-shadow-pop); transform-origin: 0 100%; animation: ta-flyout-in 180ms var(--ta-ease); }\n.ta-flyout > .ta-launcher-surface { height: min(560px, calc(100vh - 20px - var(--ta-titlebar))); flex: none; }\n@keyframes ta-flyout-in { from { opacity: 0; transform: translate3d(-6px, 6px, 0) scale(0.97); } }\n/* The faces of those who are not Ta (components/face.tsx): they blink, and look about while they work */\n:root:not([data-theme='light']) .ta-face[data-face=\"11\"] .ta-face-body > g > circle { fill: #4a4a52; }\n.ta-face { position: relative; display: inline-flex; flex: none; }\n.ta-face svg { display: block; overflow: visible; }\n.ta-face-double { align-items: center; justify-content: center; }\n.ta-face-picture > img { display: block; flex: none; border-radius: 50%; object-fit: cover; background: var(--ta-main); }\n.ta-face-eyes { transform-box: fill-box; transform-origin: center; animation: ta-face-blink 5.2s infinite; }\n.ta-face[data-face=\"1\"] .ta-face-eyes, .ta-face[data-face=\"5\"] .ta-face-eyes, .ta-face[data-face=\"9\"] .ta-face-eyes, .ta-face[data-face=\"13\"] .ta-face-eyes, .ta-face[data-face=\"17\"] .ta-face-eyes, .ta-face[data-face=\"21\"] .ta-face-eyes { animation-delay: -1.7s; }\n.ta-face[data-face=\"2\"] .ta-face-eyes, .ta-face[data-face=\"6\"] .ta-face-eyes, .ta-face[data-face=\"10\"] .ta-face-eyes, .ta-face[data-face=\"14\"] .ta-face-eyes, .ta-face[data-face=\"18\"] .ta-face-eyes, .ta-face[data-face=\"22\"] .ta-face-eyes { animation-delay: -3.1s; }\n.ta-face[data-face=\"3\"] .ta-face-eyes, .ta-face[data-face=\"7\"] .ta-face-eyes, .ta-face[data-face=\"11\"] .ta-face-eyes, .ta-face[data-face=\"15\"] .ta-face-eyes, .ta-face[data-face=\"19\"] .ta-face-eyes, .ta-face[data-face=\"23\"] .ta-face-eyes { animation-delay: -4.4s; }\n.ta-face-working .ta-face-look { animation: ta-face-look 2.4s ease-in-out infinite; }\n.ta-face-working .ta-face-body { transform-box: fill-box; transform-origin: 50% 100%; animation: ta-face-bob 1.2s ease-in-out infinite; }\n.ta-face-dot { position: absolute; right: -1px; bottom: -1px; width: 27%; height: 27%; min-width: 7px; min-height: 7px; box-sizing: content-box; border-radius: 50%; border: 2px solid var(--ta-face-ring, var(--ta-main)); background: var(--ta-border-field); }\n.ta-face-dot.ta-face-on { background: var(--ta-green); }\n@keyframes ta-face-blink { 0%, 94%, 100% { transform: scaleY(1); } 97% { transform: scaleY(0.1); } }\n@keyframes ta-face-look { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-1.4px); } 70% { transform: translateX(1.4px); } }\n@keyframes ta-face-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1.2px); } }\n@media (prefers-reduced-motion: reduce) { .ta-face * { animation: none !important; } }\n.ta-group-face { position: relative; display: inline-flex; flex: none; }\n.ta-group-face-back { position: absolute; right: 0; top: 0; }\n.ta-group-face-front { position: absolute; left: 0; bottom: 0; z-index: 1; }\n";
5
+ export declare const SURFACES_STYLE = "\n.ta-kept-page { display: contents; }\n.ta-kept-page[hidden] { display: none; }\n/* Under the head of a page of an extension (PageView): what is taller than the window scrolls, never sideways. */\n.ta-page-body { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; }\n/* A view of an extension in a frame apart (sandbox/web-sandbox.tsx): as wide as its place, a page as tall too, the others as tall as they draw. */\n/* What an extension in a sandbox draws, copied here (sandbox/remote): its own box, nothing of it over the page; RemoteCopy sets it inline too, out of the sandbox's reach. */\n.ta-remote { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; min-height: 0; contain: layout paint; }\nta-part, ta-slot { display: contents; }\n.ta-launcher { display: flex; flex-direction: column; gap: 24px; }\n/* The launcher with its search: the stack fills it, its base scrolls. */\n.ta-launcher-surface { flex: 1; min-height: 0; display: flex; flex-direction: column; }\n.ta-launcher-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 14px 16px 18px; }\n.ta-launcher-field { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 36px; margin-bottom: 18px; padding: 0 12px; border: 0; border-radius: 10px; background: var(--ta-raised); color: var(--ta-muted); font: inherit; font-size: calc(14px * var(--ta-font-scale)); cursor: text; -webkit-tap-highlight-color: transparent; transition: background 140ms; }\n.ta-launcher-field:active { background: var(--ta-hover); }\n.ta-launcher-search { flex: 1; min-height: 0; display: flex; flex-direction: column; background: var(--ta-main); }\n.ta-launcher-search-head { flex: none; display: flex; align-items: center; gap: 4px; padding: 10px 12px 8px; }\n.ta-launcher-search-head input::-webkit-search-cancel-button { display: none; }\n.ta-launcher-clear { flex: none; display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--ta-muted); }\n.ta-launcher-cancel { flex: none; height: 36px; padding: 0 8px; border: 0; background: none; color: var(--ta-text); font: inherit; font-size: calc(15px * var(--ta-font-scale)); cursor: pointer; }\n.ta-launcher-search-body { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; padding: 4px 8px 16px; }\n.ta-launcher-results { margin: 0; padding: 0; list-style: none; animation: ta-fade 120ms ease-out; }\n.ta-launcher-results-section + .ta-launcher-results-section { margin-top: 14px; }\n.ta-launcher-results-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 28px; padding: 0 8px; color: var(--ta-muted); font-size: calc(12.5px * var(--ta-font-scale)); line-height: calc(16px * var(--ta-font-scale)); font-weight: 600; }\n.ta-launcher-results-all { border: 0; padding: 4px 0; background: none; color: var(--ta-link); font: inherit; font-weight: 500; cursor: pointer; }\n.ta-launcher-more { height: 1px; }\n/* A long list draws the rows in view only; the rest keep their place. */\n.ta-launcher-result-row { position: relative; display: flex; align-items: center; content-visibility: auto; contain-intrinsic-size: auto 56px; }\n.ta-launcher-result-row > .ta-launcher-result { flex: 1; min-width: 0; }\n.ta-launcher-result-letter { font-size: calc(15px * var(--ta-font-scale)); font-weight: 600; }\n.ta-launcher-result-action { flex: none; position: absolute; right: 8px; height: 28px; padding: 0 12px; border: 0; border-radius: 14px; background: var(--ta-chip); color: var(--ta-text); font: inherit; font-size: calc(12.5px * var(--ta-font-scale)); font-weight: 600; cursor: pointer; transition: background 140ms, transform 120ms var(--ta-ease); }\n.ta-launcher-result-action:hover { background: var(--ta-hover-strong); }\n.ta-launcher-result-action:active { transform: scale(0.95); }\n.ta-launcher-result-row:has(.ta-launcher-result-action) .ta-launcher-result { padding-right: 84px; }\n/* The share sheet (share-sheet.tsx): the card of what goes, its code and link, the actions in a row, notes, Stop. */\n.ta-share { display: flex; flex-direction: column; align-items: stretch; gap: 14px; padding: 2px 2px 4px; }\n.ta-share-card { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 18px 16px 14px; border-radius: 16px; background: var(--ta-raised); }\n.ta-share-who { display: flex; align-items: center; gap: 12px; align-self: stretch; min-width: 0; }\n.ta-share-face { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; overflow: hidden; background: var(--ta-tile); color: var(--ta-tile-ink); }\n.ta-share-who-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }\n.ta-share-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: calc(15px * var(--ta-font-scale)); font-weight: 600; }\n.ta-share-gets { color: var(--ta-secondary); font-size: calc(12.5px * var(--ta-font-scale)); line-height: calc(18px * var(--ta-font-scale)); }\n.ta-share-qr { width: 196px; height: 196px; padding: 10px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--ta-border-muted); }\n.ta-share-qr svg { display: block; width: 100%; height: 100%; border-radius: 0; animation: ta-fade 160ms ease-out; }\n.ta-share-qr-busy { display: grid; place-items: center; background: var(--ta-card); }\n.ta-share-link { align-self: stretch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; color: var(--ta-muted); font-family: var(--ta-mono); font-size: calc(11.5px * var(--ta-font-scale)); user-select: all; }\n.ta-share-password { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; background: var(--ta-raised); color: var(--ta-secondary); font-size: calc(12.5px * var(--ta-font-scale)); }\n.ta-share-password > span { flex: 1; min-width: 0; }\n.ta-share-password code { color: var(--ta-text); font-family: var(--ta-mono); }\n.ta-share-tiles { display: flex; justify-content: center; gap: 4px; }\n.ta-share-tile { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 76px; padding: 4px 0; border: 0; background: none; color: var(--ta-text); font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }\n.ta-share-tile:disabled { opacity: 0.45; cursor: default; }\n.ta-share-tile-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ta-raised); transition: background 140ms, transform 120ms var(--ta-ease); }\n.ta-share-tile:not(:disabled):hover .ta-share-tile-icon { background: var(--ta-hover-strong); }\n.ta-share-tile:not(:disabled):active .ta-share-tile-icon { transform: scale(0.94); }\n.ta-share-tile-label { color: var(--ta-secondary); font-size: calc(12px * var(--ta-font-scale)); white-space: nowrap; }\n.ta-share-friends { display: flex; flex-direction: column; gap: 10px; }\n.ta-share-friends-actions { display: flex; justify-content: flex-end; gap: 8px; }\n.ta-share-sent { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; border-radius: 14px; background: var(--ta-raised); }\n.ta-share-sent-title { color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); }\n.ta-share-sent ul { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }\n.ta-share-sent li { display: flex; align-items: center; gap: 8px; min-height: 28px; font-size: calc(13.5px * var(--ta-font-scale)); }\n.ta-share-sent-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-share-sent-state { flex: none; color: var(--ta-muted); font-size: calc(12.5px * var(--ta-font-scale)); }\n.ta-share-sent-got { color: var(--ta-secondary); }\n.ta-share-sent-opened { color: var(--ta-green); }\n.ta-share-notes { display: flex; flex-direction: column; gap: 4px; padding: 0 4px; }\n.ta-share-notes p { margin: 0; text-align: center; color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); line-height: calc(17px * var(--ta-font-scale)); text-wrap: balance; }\n.ta-share-stop { position: relative; align-self: center; border: 0; padding: 4px 8px; background: none; color: var(--ta-red); font: inherit; font-size: calc(12.5px * var(--ta-font-scale)); cursor: pointer; }\n.ta-launcher-result { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 6px 8px; border: 0; border-radius: 12px; background: none; color: var(--ta-text); font: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }\n.ta-launcher-result:hover, .ta-launcher-result:active { background: var(--ta-hover); }\n.ta-launcher-result-icon { flex: none; position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--ta-tile); color: var(--ta-tile-ink); }\n.ta-launcher-result-icon > .ta-busy-mark { width: 16px; height: 16px; border-color: color-mix(in srgb, var(--ta-tile-ink) 25%, transparent); border-top-color: var(--ta-tile-ink); }\n.ta-launcher-result-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }\n.ta-launcher-result-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: calc(15px * var(--ta-font-scale)); line-height: calc(20px * var(--ta-font-scale)); }\n.ta-launcher-result-title mark { background: none; color: var(--ta-accent); font-weight: 600; }\n.ta-launcher-result-detail { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); line-height: calc(16px * var(--ta-font-scale)); }\n.ta-board { flex: 1; min-height: 0; display: flex; flex-direction: column; }\n.ta-board-head { flex: none; display: flex; align-items: center; gap: 6px; min-height: 64px; padding: 6px 14px 6px 16px; }\n.ta-board-heading { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }\n.ta-board-title { font-size: calc(22px * var(--ta-font-scale)); line-height: calc(28px * var(--ta-font-scale)); font-weight: 700; letter-spacing: -0.01em; color: var(--ta-text); }\n.ta-board-date { color: var(--ta-muted); font-size: calc(12.5px * var(--ta-font-scale)); line-height: calc(17px * var(--ta-font-scale)); }\n.ta-board-edit-button { flex: none; height: 30px; padding: 0 14px; border: 0; border-radius: 15px; background: var(--ta-chip); color: var(--ta-text); font-size: calc(13px * var(--ta-font-scale)); font-weight: 500; transition: background 160ms, color 160ms, transform 120ms var(--ta-ease); }\n.ta-board-edit-button:hover { background: var(--ta-hover-strong); }\n.ta-board-edit-button:active { transform: scale(0.96); }\n.ta-board-edit-button.ta-active { background: var(--ta-brand); color: var(--ta-brand-text); }\n.ta-board-body { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; padding: 2px 14px calc(20px + env(safe-area-inset-bottom)); }\n.ta-board-cards { display: flex; flex-direction: column; gap: 12px; }\n.ta-board-card { padding: 12px 14px 14px; border-radius: 20px; background: var(--ta-main); box-shadow: 0 0 0 1px var(--ta-border-muted), 0 2px 6px rgba(15, 23, 42, 0.03), 0 8px 24px rgba(15, 23, 42, 0.04); animation: ta-board-in 260ms var(--ta-ease) both; }\n:root[data-theme='dark'] .ta-board-card { background: var(--ta-card); box-shadow: 0 0 0 1px var(--ta-border-muted); }\n@keyframes ta-board-in { from { opacity: 0; transform: translate3d(0, 6px, 0); } }\n.ta-board-card-head { display: flex; align-items: center; gap: 7px; margin-bottom: 10px; color: var(--ta-secondary); font-size: calc(12.5px * var(--ta-font-scale)); line-height: calc(18px * var(--ta-font-scale)); font-weight: 600; }\n.ta-board-card-icon { flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: color-mix(in srgb, var(--ta-accent) 14%, transparent); color: var(--ta-accent); }\n.ta-board-card-body { min-width: 0; color: var(--ta-body); font-size: calc(14px * var(--ta-font-scale)); }\n/* A card with nothing says so in one quiet line, where its content would start. */\n.ta-board-card-body .ta-empty { min-height: 0; align-items: flex-start; padding: 0 0 2px; text-align: left; }\n.ta-board-card-body .ta-empty-title { color: var(--ta-muted); font-weight: 400; }\n.ta-board-edit { display: flex; flex-direction: column; animation: ta-fade 160ms ease-out; }\n.ta-board-rows { display: flex; flex-direction: column; border-radius: 14px; background: var(--ta-main); box-shadow: 0 0 0 1px var(--ta-border-muted); }\n.ta-board-row { position: relative; display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 4px 0 10px; border-radius: 14px; background: var(--ta-main); transition: transform 200ms var(--ta-ease), box-shadow 160ms; }\n.ta-board-row + .ta-board-row::before { content: ''; position: absolute; top: 0; left: 76px; right: 0; border-top: 1px solid var(--ta-border-muted); }\n.ta-board-row[data-sorting] { z-index: 2; transition: box-shadow 160ms; box-shadow: var(--ta-shadow-pop); }\n.ta-board-row[data-moving] { z-index: 1; }\n.ta-board-row[data-sorting]::before, .ta-board-row[data-sorting] + .ta-board-row::before { display: none; }\n.ta-board-toggle { flex: none; display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; background: none; }\n.ta-board-off { color: var(--ta-red); }\n.ta-board-on { color: var(--ta-green); }\n.ta-board-row-icon { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--ta-chip); color: var(--ta-secondary); }\n.ta-board-row-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ta-text); font-size: calc(15px * var(--ta-font-scale)); }\n.ta-board-grip { flex: none; display: grid; place-items: center; width: 44px; height: 48px; padding: 0; border: 0; background: none; color: var(--ta-muted); cursor: grab; touch-action: none; }\n.ta-board-row[data-sorting] .ta-board-grip { cursor: grabbing; }\n.ta-board-label { margin: 20px 6px 8px; color: var(--ta-muted); font-size: calc(12.5px * var(--ta-font-scale)); line-height: calc(16px * var(--ta-font-scale)); }\n\n/* The rail's buttons for them, above the account; the flyout beside it. */\n.ta-rail-tools { flex: none; display: flex; flex-direction: column; align-items: center; gap: 4px; margin-bottom: 4px; }\n.ta-flyout { position: fixed; z-index: 50; left: calc(64px + env(safe-area-inset-left)); bottom: calc(10px + env(safe-area-inset-bottom)); width: 380px; max-width: calc(100vw - 80px); max-height: min(680px, calc(100vh - 20px - var(--ta-titlebar))); display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--ta-border); border-radius: 16px; background: var(--ta-side); box-shadow: var(--ta-shadow-pop); transform-origin: 0 100%; animation: ta-flyout-in 180ms var(--ta-ease); }\n.ta-flyout > .ta-launcher-surface { height: min(560px, calc(100vh - 20px - var(--ta-titlebar))); flex: none; }\n@keyframes ta-flyout-in { from { opacity: 0; transform: translate3d(-6px, 6px, 0) scale(0.97); } }\n/* The faces of those who are not Ta (components/face.tsx): they blink, and look about while they work */\n:root:not([data-theme='light']) .ta-face[data-face=\"11\"] .ta-face-body > g > circle { fill: #4a4a52; }\n.ta-face { position: relative; display: inline-flex; flex: none; }\n.ta-face svg { display: block; overflow: visible; }\n.ta-face-double { align-items: center; justify-content: center; }\n.ta-face-picture > img { display: block; flex: none; border-radius: 50%; object-fit: cover; background: var(--ta-main); }\n.ta-face-eyes { transform-box: fill-box; transform-origin: center; animation: ta-face-blink 5.2s infinite; }\n.ta-face[data-face=\"1\"] .ta-face-eyes, .ta-face[data-face=\"5\"] .ta-face-eyes, .ta-face[data-face=\"9\"] .ta-face-eyes, .ta-face[data-face=\"13\"] .ta-face-eyes, .ta-face[data-face=\"17\"] .ta-face-eyes, .ta-face[data-face=\"21\"] .ta-face-eyes { animation-delay: -1.7s; }\n.ta-face[data-face=\"2\"] .ta-face-eyes, .ta-face[data-face=\"6\"] .ta-face-eyes, .ta-face[data-face=\"10\"] .ta-face-eyes, .ta-face[data-face=\"14\"] .ta-face-eyes, .ta-face[data-face=\"18\"] .ta-face-eyes, .ta-face[data-face=\"22\"] .ta-face-eyes { animation-delay: -3.1s; }\n.ta-face[data-face=\"3\"] .ta-face-eyes, .ta-face[data-face=\"7\"] .ta-face-eyes, .ta-face[data-face=\"11\"] .ta-face-eyes, .ta-face[data-face=\"15\"] .ta-face-eyes, .ta-face[data-face=\"19\"] .ta-face-eyes, .ta-face[data-face=\"23\"] .ta-face-eyes { animation-delay: -4.4s; }\n.ta-face-working .ta-face-look { animation: ta-face-look 2.4s ease-in-out infinite; }\n.ta-face-working .ta-face-body { transform-box: fill-box; transform-origin: 50% 100%; animation: ta-face-bob 1.2s ease-in-out infinite; }\n.ta-face-dot { position: absolute; right: -1px; bottom: -1px; width: 27%; height: 27%; min-width: 7px; min-height: 7px; box-sizing: content-box; border-radius: 50%; border: 2px solid var(--ta-face-ring, var(--ta-main)); background: var(--ta-border-field); }\n.ta-face-dot.ta-face-on { background: var(--ta-green); }\n@keyframes ta-face-blink { 0%, 94%, 100% { transform: scaleY(1); } 97% { transform: scaleY(0.1); } }\n@keyframes ta-face-look { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-1.4px); } 70% { transform: translateX(1.4px); } }\n@keyframes ta-face-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1.2px); } }\n@media (prefers-reduced-motion: reduce) { .ta-face * { animation: none !important; } }\n.ta-group-face { position: relative; display: inline-flex; flex: none; }\n.ta-group-face-back { position: absolute; right: 0; top: 0; }\n.ta-group-face-front { position: absolute; left: 0; bottom: 0; z-index: 1; }\n";
6
6
  //# sourceMappingURL=surfaces.d.ts.map
@@ -63,6 +63,14 @@ ta-part, ta-slot { display: contents; }
63
63
  .ta-share-tile-label { color: var(--ta-secondary); font-size: calc(12px * var(--ta-font-scale)); white-space: nowrap; }
64
64
  .ta-share-friends { display: flex; flex-direction: column; gap: 10px; }
65
65
  .ta-share-friends-actions { display: flex; justify-content: flex-end; gap: 8px; }
66
+ .ta-share-sent { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; border-radius: 14px; background: var(--ta-raised); }
67
+ .ta-share-sent-title { color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); }
68
+ .ta-share-sent ul { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
69
+ .ta-share-sent li { display: flex; align-items: center; gap: 8px; min-height: 28px; font-size: calc(13.5px * var(--ta-font-scale)); }
70
+ .ta-share-sent-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
71
+ .ta-share-sent-state { flex: none; color: var(--ta-muted); font-size: calc(12.5px * var(--ta-font-scale)); }
72
+ .ta-share-sent-got { color: var(--ta-secondary); }
73
+ .ta-share-sent-opened { color: var(--ta-green); }
66
74
  .ta-share-notes { display: flex; flex-direction: column; gap: 4px; padding: 0 4px; }
67
75
  .ta-share-notes p { margin: 0; text-align: center; color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); line-height: calc(17px * var(--ta-font-scale)); text-wrap: balance; }
68
76
  .ta-share-stop { position: relative; align-self: center; border: 0; padding: 4px 8px; background: none; color: var(--ta-red); font: inherit; font-size: calc(12.5px * var(--ta-font-scale)); cursor: pointer; }
@@ -13,6 +13,7 @@ const pages_1 = require("./style/pages");
13
13
  const phone_1 = require("./style/phone");
14
14
  const shared_1 = require("./style/shared");
15
15
  const shell_1 = require("./style/shell");
16
+ const skins_1 = require("./style/skins");
16
17
  const surfaces_1 = require("./style/surfaces");
17
18
  const tasks_1 = require("./style/tasks");
18
19
  const tints_1 = require("./style/tints");
@@ -39,5 +40,6 @@ exports.STYLE = [
39
40
  phone_1.PHONE_STYLE,
40
41
  shared_1.SHARED_STYLE,
41
42
  video_call_1.VIDEO_CALL_STYLE,
43
+ skins_1.SKINS_STYLE,
42
44
  ].join('');
43
45
  //# sourceMappingURL=style.js.map
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Which rows of a conversation came in after it was drawn (they come in with a motion): those after the row that was
3
+ * last when it was drawn, by key. Rows put in front (earlier messages, more of the row window) move the indexes of all
4
+ * rows, not which are new; more than MAX at the end at once, or the row they count from gone (a rewind), start again
5
+ * from the end.
6
+ */
7
+ export declare class FreshRows {
8
+ /** More rows than this at the end at once: the conversation loaded again, not messages that came in. */
9
+ static readonly MAX = 2;
10
+ private still;
11
+ private last;
12
+ constructor(items: readonly {
13
+ key: string;
14
+ }[]);
15
+ /** From which index `items` (as drawn now) came in after the list was drawn. */
16
+ from(items: readonly {
17
+ key: string;
18
+ }[]): number;
19
+ /** Searched from the end, where new rows are. */
20
+ private static lastIndexOf;
21
+ }
22
+ //# sourceMappingURL=fresh-rows.d.ts.map