@celljs/ta-web 4.21.0 → 4.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/browser/assistant/assistant-chat-list.js +5 -1
- package/esm/browser/assistant/assistant-conversation.js +1 -1
- package/esm/browser/assistant/assistant-initiative.d.ts +5 -1
- package/esm/browser/assistant/assistant-initiative.js +11 -3
- package/esm/browser/assistant/call-keeper.d.ts +2 -1
- package/esm/browser/assistant/call-keeper.js +4 -2
- package/esm/browser/assistant/call-screen.d.ts +1 -1
- package/esm/browser/assistant/call-turn-end.d.ts +11 -2
- package/esm/browser/assistant/call-turn-end.js +21 -5
- package/esm/browser/assistant/read-aloud.d.ts +1 -1
- package/esm/browser/assistant/realtime-voice.d.ts +1 -1
- package/esm/browser/assistant/voice-call-bar.d.ts +5 -2
- package/esm/browser/assistant/voice-call-bar.js +12 -0
- package/esm/browser/assistant/voice-call-protocol.d.ts +78 -0
- package/esm/browser/assistant/voice-call-protocol.js +2 -0
- package/esm/browser/assistant/voice-call.d.ts +17 -65
- package/esm/browser/assistant/voice-call.js +45 -1
- package/esm/browser/assistant/voice-reopen.d.ts +1 -1
- package/esm/browser/components/account-menu.js +28 -7
- package/esm/browser/components/chat-home-util.d.ts +13 -2
- package/esm/browser/components/chat-home-util.js +29 -0
- package/esm/browser/components/chat-home.d.ts +18 -4
- package/esm/browser/components/chat-home.js +11 -3
- package/esm/browser/components/chat-list.js +4 -2
- package/esm/browser/components/cloud-sign-in-view.d.ts +1 -1
- package/esm/browser/components/earlier-messages.d.ts +4 -0
- package/esm/browser/components/earlier-messages.js +10 -2
- package/esm/browser/components/host-view.d.ts +1 -1
- package/esm/browser/components/message-footer.d.ts +0 -2
- package/esm/browser/components/message-footer.js +1 -8
- package/esm/browser/components/message-images.d.ts +22 -0
- package/esm/browser/components/message-images.js +90 -1
- package/esm/browser/components/message-steps.js +9 -0
- package/esm/browser/components/message-user.js +8 -1
- package/esm/browser/components/partner-row-util.d.ts +28 -0
- package/esm/browser/components/partner-row-util.js +45 -0
- package/esm/browser/components/partner-row.d.ts +18 -0
- package/esm/browser/components/partner-row.js +60 -0
- package/esm/browser/components/profile-view.d.ts +2 -2
- package/esm/browser/components/profile-view.js +6 -3
- package/esm/browser/components/web-composer.d.ts +5 -2
- package/esm/browser/components/web-composer.js +10 -5
- package/esm/browser/extension/extension-view.js +2 -2
- package/esm/browser/extension/icons.js +4 -1
- package/esm/browser/extension/web-api-call.d.ts +45 -0
- package/esm/browser/extension/web-api-call.js +2 -0
- package/esm/browser/extension/web-api-components.d.ts +37 -2
- package/esm/browser/extension/web-api-contributions.d.ts +2 -31
- package/esm/browser/extension/web-api-home.d.ts +1 -0
- package/esm/browser/extension/web-api-partners.d.ts +112 -0
- package/esm/browser/extension/web-api-partners.js +2 -0
- package/esm/browser/extension/web-extension-api.d.ts +12 -15
- package/esm/browser/extension/web-extension-context.d.ts +2 -3
- package/esm/browser/extension/web-extension-context.js +7 -7
- package/esm/browser/extension/web-extension-protocol.d.ts +8 -2
- package/esm/browser/extension/web-extension-run.d.ts +2 -1
- package/esm/browser/extension/web-extension-run.js +1 -0
- package/esm/browser/extension/web-extensions-running.d.ts +2 -0
- package/esm/browser/extension/web-extensions-running.js +3 -0
- package/esm/browser/extension/web-extensions.d.ts +1 -1
- package/esm/browser/extension/web-home.d.ts +11 -19
- package/esm/browser/extension/web-home.js +15 -68
- package/esm/browser/extension/web-partners.d.ts +8 -0
- package/esm/browser/extension/web-partners.js +13 -0
- package/esm/browser/extension/web-row-board.d.ts +38 -0
- package/esm/browser/extension/web-row-board.js +79 -0
- package/esm/browser/i18n/locales.d.ts +28 -1
- package/esm/browser/i18n/messages-ja.js +27 -0
- package/esm/browser/i18n/messages-zh-tw.js +27 -0
- package/esm/browser/i18n/messages.d.ts +27 -0
- package/esm/browser/i18n/messages.js +54 -0
- package/esm/browser/index.d.ts +4 -0
- package/esm/browser/index.js +4 -0
- package/esm/browser/partners/group-picker.d.ts +18 -0
- package/esm/browser/partners/group-picker.js +81 -0
- package/esm/browser/partners/partners-extension.d.ts +14 -0
- package/esm/browser/partners/partners-extension.js +78 -0
- package/esm/browser/partners/partners-util.d.ts +32 -0
- package/esm/browser/partners/partners-util.js +68 -0
- package/esm/browser/partners/partners-view.d.ts +32 -0
- package/esm/browser/partners/partners-view.js +103 -0
- package/esm/browser/style/chat-list.d.ts +1 -1
- package/esm/browser/style/chat-list.js +21 -0
- package/esm/browser/style/conversation-column.d.ts +1 -1
- package/esm/browser/style/conversation-column.js +21 -0
- package/esm/browser/style/conversation.d.ts +1 -1
- package/esm/browser/style/conversation.js +2 -2
- package/esm/browser/style/layout.d.ts +1 -1
- package/esm/browser/style/layout.js +1 -1
- package/esm/browser/style/shell.d.ts +1 -1
- package/esm/browser/style/shell.js +1 -1
- package/esm/browser/util/image-shrink.d.ts +26 -0
- package/esm/browser/util/image-shrink.js +60 -0
- package/esm/browser/util/process.d.ts +7 -3
- package/esm/browser/util/process.js +18 -18
- package/lib/browser/assistant/assistant-chat-list.js +5 -1
- package/lib/browser/assistant/assistant-conversation.js +1 -1
- package/lib/browser/assistant/assistant-initiative.d.ts +5 -1
- package/lib/browser/assistant/assistant-initiative.js +11 -3
- package/lib/browser/assistant/call-keeper.d.ts +2 -1
- package/lib/browser/assistant/call-keeper.js +4 -2
- package/lib/browser/assistant/call-screen.d.ts +1 -1
- package/lib/browser/assistant/call-turn-end.d.ts +11 -2
- package/lib/browser/assistant/call-turn-end.js +22 -6
- package/lib/browser/assistant/read-aloud.d.ts +1 -1
- package/lib/browser/assistant/realtime-voice.d.ts +1 -1
- package/lib/browser/assistant/voice-call-bar.d.ts +5 -2
- package/lib/browser/assistant/voice-call-bar.js +12 -0
- package/lib/browser/assistant/voice-call-protocol.d.ts +79 -0
- package/lib/browser/assistant/voice-call-protocol.js +3 -0
- package/lib/browser/assistant/voice-call.d.ts +17 -65
- package/lib/browser/assistant/voice-call.js +45 -1
- package/lib/browser/assistant/voice-reopen.d.ts +1 -1
- package/lib/browser/components/account-menu.js +27 -6
- package/lib/browser/components/chat-home-util.d.ts +13 -2
- package/lib/browser/components/chat-home-util.js +29 -0
- package/lib/browser/components/chat-home.d.ts +18 -4
- package/lib/browser/components/chat-home.js +12 -3
- package/lib/browser/components/chat-list.js +4 -2
- package/lib/browser/components/cloud-sign-in-view.d.ts +1 -1
- package/lib/browser/components/earlier-messages.d.ts +4 -0
- package/lib/browser/components/earlier-messages.js +10 -2
- package/lib/browser/components/host-view.d.ts +1 -1
- package/lib/browser/components/message-footer.d.ts +0 -2
- package/lib/browser/components/message-footer.js +0 -8
- package/lib/browser/components/message-images.d.ts +22 -0
- package/lib/browser/components/message-images.js +92 -2
- package/lib/browser/components/message-steps.js +9 -0
- package/lib/browser/components/message-user.js +7 -0
- package/lib/browser/components/partner-row-util.d.ts +29 -0
- package/lib/browser/components/partner-row-util.js +48 -0
- package/lib/browser/components/partner-row.d.ts +19 -0
- package/lib/browser/components/partner-row.js +96 -0
- package/lib/browser/components/profile-view.d.ts +2 -2
- package/lib/browser/components/profile-view.js +6 -3
- package/lib/browser/components/web-composer.d.ts +5 -2
- package/lib/browser/components/web-composer.js +10 -5
- package/lib/browser/extension/extension-view.js +2 -2
- package/lib/browser/extension/icons.js +3 -0
- package/lib/browser/extension/web-api-call.d.ts +46 -0
- package/lib/browser/extension/web-api-call.js +3 -0
- package/lib/browser/extension/web-api-components.d.ts +37 -2
- package/lib/browser/extension/web-api-contributions.d.ts +2 -31
- package/lib/browser/extension/web-api-home.d.ts +1 -0
- package/lib/browser/extension/web-api-partners.d.ts +113 -0
- package/lib/browser/extension/web-api-partners.js +3 -0
- package/lib/browser/extension/web-extension-api.d.ts +12 -15
- package/lib/browser/extension/web-extension-context.d.ts +2 -3
- package/lib/browser/extension/web-extension-context.js +7 -7
- package/lib/browser/extension/web-extension-protocol.d.ts +8 -2
- package/lib/browser/extension/web-extension-run.d.ts +2 -1
- package/lib/browser/extension/web-extension-run.js +1 -0
- package/lib/browser/extension/web-extensions-running.d.ts +2 -0
- package/lib/browser/extension/web-extensions-running.js +3 -0
- package/lib/browser/extension/web-extensions.d.ts +1 -1
- package/lib/browser/extension/web-home.d.ts +11 -19
- package/lib/browser/extension/web-home.js +15 -68
- package/lib/browser/extension/web-partners.d.ts +9 -0
- package/lib/browser/extension/web-partners.js +17 -0
- package/lib/browser/extension/web-row-board.d.ts +39 -0
- package/lib/browser/extension/web-row-board.js +83 -0
- package/lib/browser/i18n/locales.d.ts +28 -1
- package/lib/browser/i18n/messages-ja.js +27 -0
- package/lib/browser/i18n/messages-zh-tw.js +27 -0
- package/lib/browser/i18n/messages.d.ts +27 -0
- package/lib/browser/i18n/messages.js +54 -0
- package/lib/browser/index.d.ts +4 -0
- package/lib/browser/index.js +4 -0
- package/lib/browser/partners/group-picker.d.ts +19 -0
- package/lib/browser/partners/group-picker.js +119 -0
- package/lib/browser/partners/partners-extension.d.ts +15 -0
- package/lib/browser/partners/partners-extension.js +114 -0
- package/lib/browser/partners/partners-util.d.ts +33 -0
- package/lib/browser/partners/partners-util.js +71 -0
- package/lib/browser/partners/partners-view.d.ts +33 -0
- package/lib/browser/partners/partners-view.js +144 -0
- package/lib/browser/style/chat-list.d.ts +1 -1
- package/lib/browser/style/chat-list.js +21 -0
- package/lib/browser/style/conversation-column.d.ts +1 -1
- package/lib/browser/style/conversation-column.js +21 -0
- package/lib/browser/style/conversation.d.ts +1 -1
- package/lib/browser/style/conversation.js +2 -2
- package/lib/browser/style/layout.d.ts +1 -1
- package/lib/browser/style/layout.js +1 -1
- package/lib/browser/style/shell.d.ts +1 -1
- package/lib/browser/style/shell.js +1 -1
- package/lib/browser/util/image-shrink.d.ts +27 -0
- package/lib/browser/util/image-shrink.js +63 -0
- package/lib/browser/util/process.d.ts +7 -3
- package/lib/browser/util/process.js +18 -18
- package/package.json +7 -7
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/** The list of chats: its search, its rows, the letters and faces of their groups. */
|
|
2
|
-
export declare const CHAT_LIST_STYLE = "\n/* The list of chats: a search, then the chats by directory (a line each under the head of its group) or by day (each with the avatar of its directory) */\n.ta-chats { gap: 8px; }\n/* On a phone a folder opened is pushed over the list (PhoneStack): the same ground and spacing as the list. */\n.ta-chats > .ta-phone-stack > .ta-phone-stack-base, .ta-chats > .ta-phone-stack > .ta-phone-stack-top { gap: 8px; }\n.ta-chats > .ta-phone-stack > .ta-phone-stack-top { background: var(--ta-side); }\n.ta-chats-head { gap: 4px; padding: 0; margin-bottom: 0; }\n.ta-chats-search { flex: 1; min-width: 0; height: 36px; display: flex; align-items: center; gap: 8px; padding: 0 4px 0 11px; border-radius: 10px; background: var(--ta-raised); color: var(--ta-muted); border: 1px solid transparent; transition: border-color 120ms, background 120ms; }\n.ta-chats-search:focus-within { border-color: var(--ta-border-field); background: var(--ta-input); }\n.ta-chats-search 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-chats-search input::placeholder { color: var(--ta-muted); }\n.ta-chats-clear { width: 24px; height: 24px; }\n.ta-chips { display: flex; gap: 6px; flex: none; overflow-x: auto; scrollbar-width: none; margin: 0 -8px; padding: 0 8px 2px; }\n.ta-chips::-webkit-scrollbar { display: none; }\n.ta-chip-filter { display: inline-flex; align-items: center; gap: 6px; flex: none; height: 28px; padding: 0 11px; border-radius: 14px; border: 1px solid var(--ta-border); background: transparent; color: var(--ta-secondary); font-size: calc(12.5px * var(--ta-font-scale)); white-space: nowrap; transition: background 120ms, color 120ms, border-color 120ms; }\n.ta-chip-filter:hover { background: var(--ta-hover); color: var(--ta-text); }\n.ta-chip-filter[aria-selected='true'] { background: var(--ta-selected); border-color: transparent; color: var(--ta-text); font-weight: 500; }\n.ta-chip-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--tone-ink); }\n.ta-chip-count { color: var(--ta-muted); font-variant-numeric: tabular-nums; font-weight: 400; }\n.ta-chat-section + .ta-chat-section { margin-top: 6px; }\n.ta-chats-view { width: 26px; height: 26px; border-radius: 7px; color: var(--ta-muted); }\n.ta-chats-view[aria-pressed='true'] { color: var(--ta-text); background: var(--ta-hover-strong); }\n.ta-chat-group + .ta-chat-group { margin-top: 4px; }\n.ta-chat-group-head { position: relative; display: flex; align-items: center; }\n.ta-chat-group-toggle { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 40px 0 10px; border: 0; border-radius: 10px; background: transparent; color: var(--ta-secondary); font-size: calc(13px * var(--ta-font-scale)); font-weight: 500; text-align: left; }\n.ta-chat-group-toggle:hover { background: var(--ta-hover); color: var(--ta-text); }\n.ta-chat-group-avatar { width: 20px; height: 20px; flex: none; display: grid; place-items: center; border-radius: 6px; background: var(--tone-tint); color: var(--tone-ink); font-size: 11px; font-weight: 600; }\n.ta-chat-group-toggle .ta-host-tag { margin-right: -3px; }\n.ta-chat-group-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-chat-group-count { flex: none; color: var(--ta-muted); font-weight: 400; font-variant-numeric: tabular-nums; }\n.ta-chat-group-chevron { flex: none; color: var(--ta-muted); transition: transform 150ms ease; }\n.ta-chat-group-toggle[aria-expanded='true'] .ta-chat-group-chevron { transform: rotate(90deg); }\n.ta-chat-group-add { position: absolute; right: 6px; top: 50%; width: 26px; height: 26px; transform: translateY(-50%); opacity: 0; }\n.ta-chat-group-head:hover .ta-chat-group-add, .ta-chat-group-add:focus-visible { opacity: 1; }\n.ta-chat-group-toggle .ta-chat-icon, .ta-chat-folder-head .ta-chat-icon { flex: none; border-radius: 6px; }\n.ta-chat-folder-head { flex: none; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 10px 0 2px; border-bottom: 1px solid var(--ta-border); color: var(--ta-text); font-size: calc(14px * var(--ta-font-scale)); font-weight: 600; }\n.ta-chat-folder-back { width: 30px; height: 30px; flex: none; }\n.ta-chat-folder-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-chat-item.ta-compact { min-height: 34px; padding: 7px 10px 7px 38px; border-radius: 10px; }\n.ta-chat-row:has(.ta-chat-item.ta-compact) { border-radius: 10px; }\n.ta-compact .ta-chat-title { font-weight: 400; color: var(--ta-body); }\n.ta-chat-section-title { padding: 8px 10px 4px; font-size: calc(12px * var(--ta-font-scale)); color: var(--ta-muted); }\n.ta-chat-fold { display: flex; align-items: center; gap: 4px; width: 100%; margin-top: 8px; border: 0; border-radius: 8px; background: transparent; text-align: left; cursor: pointer; }\n.ta-chat-fold:hover { color: var(--ta-text); }\n.ta-chat-fold svg { transition: transform 0.15s ease; }\n.ta-chat-fold[aria-expanded=\"true\"] svg { transform: rotate(90deg); }\n.ta-chat-removed .ta-chat-item { opacity: 0.72; }\n.ta-chat-group .ta-chat-fold { margin-top: 0; padding-left: 14px; }\n.ta-chat-more { height: 1px; }\n/* Rows out of view are not laid out or painted (their menu opens in a portal, their actions within them). */\n.ta-chat-row { position: relative; border-radius: 12px; content-visibility: auto; contain-intrinsic-size: auto 60px; }\n.ta-chat-row:has(.ta-compact) { contain-intrinsic-size: auto 36px; }\n.ta-chat-row:hover { background: var(--ta-hover); }\n.ta-chat-row.ta-selected { background: var(--ta-selected); }\n.ta-chat-item { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 58px; padding: 9px 10px; border: 0; border-radius: 12px; background: transparent; text-align: left; color: inherit; }\n.ta-chat-avatar { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--tone-tint); color: var(--tone-ink); font-size: 15px; font-weight: 600; }\n.ta-chat-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }\n.ta-chat-line { display: flex; align-items: center; gap: 8px; min-width: 0; }\n.ta-chat-title { flex: 1; min-width: 0; font-size: calc(14px * var(--ta-font-scale)); font-weight: 500; color: var(--ta-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-chat-time { flex: none; font-size: calc(12px * var(--ta-font-scale)); color: var(--ta-muted); font-variant-numeric: tabular-nums; }\n.ta-chat-sub { flex: 1; min-width: 0; font-size: calc(12.5px * var(--ta-font-scale)); color: var(--ta-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-chat-line .ta-spinner { width: 12px; height: 12px; }\n/* Someone to talk to: the double's face, or the face an extension draws for its agent, in place of a letter. */\n.ta-chat-face { flex: none; display: inline-grid; place-items: center; }\n/* A conversation of an extension that is no one to talk to (a brief, a question): its icon on a tile of its tint. */\n.ta-chat-icon { background: var(--ta-tile); color: var(--ta-tile-ink); }\n/* In a row of one line, in the room left of its title, under the letter of its group: the title stays where the others are. */\n.ta-compact .ta-chat-face { margin-left: -28px; }\n/* What goes on in it, at the end of a line: answering (a spinner, on the line under the title), a task that failed or was stopped. */\n.ta-chat-state { flex: none; display: inline-flex; align-items: center; gap: 4px; font-size: calc(12px * var(--ta-font-scale)); color: var(--ta-muted); white-space: nowrap; }\n.ta-chat-state .ta-status { width: 8px; }\n.ta-chat-state.ta-failed { color: color-mix(in srgb, var(--ta-red) 85%, var(--ta-muted)); }\n/* Under the title, as a messaging app: the last thing said, or its directory; how a task ended, before it, as WeChat's [Draft]. */\n.ta-chat-dir { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; vertical-align: top; }\n.ta-chat-dir > svg { flex: none; }\n.ta-chat-flag { margin-right: 3px; }\n.ta-chat-flag.ta-replying { color: var(--ta-secondary); }\n.ta-chat-line > .ta-people { margin-left: 4px; }\n/* Out of the way of the button that takes a row out, as its words are. */\n.ta-chat-row:hover .ta-chat-item:not(.ta-compact) .ta-chat-line > .ta-people:last-child { margin-right: 28px; }\n.ta-chat-line .ta-people-face { box-shadow: none; background: none; }\n.ta-chat-line .ta-people-face + .ta-people-face { margin-left: -3px; }\n.ta-chat-flag.ta-failed { color: color-mix(in srgb, var(--ta-red) 85%, var(--ta-muted)); }\n.ta-chat-flag.ta-draft { color: var(--ta-red); }\n.ta-chat-flag.ta-waiting, .ta-chat-state.ta-waiting { color: color-mix(in srgb, var(--ta-blue) 85%, var(--ta-muted)); }\n/* Its directory, in place of its time while the pointer is on it. */\n.ta-chat-place { display: none; flex: 0 1 auto; align-items: center; gap: 4px; min-width: 0; max-width: 45%; font-size: calc(12px * var(--ta-font-scale)); color: var(--ta-muted); }\n.ta-chat-place > svg { flex: none; }\n.ta-chat-place > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n@media (hover: hover) {\n .ta-chat-row:hover .ta-chat-item:not(.ta-compact) .ta-chat-place { display: inline-flex; }\n .ta-chat-row:hover .ta-chat-item:not(.ta-compact) .ta-chat-time { display: none; }\n}\n.ta-chats-add { width: 36px; height: 36px; border-radius: 10px; background: var(--ta-raised); }\n/* On the line under the title, at its end; in the middle of a row of one line. */\n.ta-chat-delete { position: absolute; bottom: 7px; right: 8px; width: 26px; height: 26px; opacity: 0; }\n.ta-chat-row:has(.ta-compact) .ta-chat-delete { bottom: auto; top: 50%; width: 30px; height: 30px; transform: translateY(-50%); }\n.ta-chat-row:hover .ta-chat-item:not(.ta-compact) .ta-chat-sub { padding-right: 28px; }\n.ta-chat-delete:hover:not(:disabled) { color: var(--ta-red); }\n.ta-chat-row:hover .ta-chat-delete, .ta-chat-delete:focus-visible { opacity: 1; }\n/* Taken out, while ta serve closes it: its button stays, turning. */\n.ta-chat-row .ta-chat-delete.ta-icon-button.ta-busy { display: inline-grid; opacity: 1; }\n.ta-chat-row:hover .ta-compact .ta-chat-time, .ta-chat-row:hover .ta-chat-state { visibility: hidden; }\n/*\n * Unseen, as a messenger's unread: an amber dot on the corner of the avatar (before the time in a row of one line), as\n * the agents of the side bar have; it grows in and shrinks away. Cut out of the avatar by the color of the row.\n */\n.ta-chat-avatar-box { position: relative; display: inline-flex; flex: none; }\n.ta-chat-row { --ta-chat-bg: var(--ta-side); }\n.ta-chat-row:hover { --ta-chat-bg: var(--ta-hover); }\n.ta-chat-row.ta-selected { --ta-chat-bg: var(--ta-selected); }\n.ta-chat-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--ta-yellow); transform: scale(0); opacity: 0; transition: transform 0.24s cubic-bezier(0.3, 1.5, 0.5, 1), opacity 0.18s ease; }\n.ta-chat-line > .ta-chat-dot:not(.ta-on) { width: 0; margin-left: -8px; }\n.ta-chat-avatar-box > .ta-chat-dot { position: absolute; right: -2px; bottom: -2px; z-index: 1; width: 12px; height: 12px; box-sizing: border-box; border: 2px solid var(--ta-chat-bg); }\n.ta-chat-dot.ta-on { transform: none; opacity: 1; }\n/* A conversation that waits for the user to decide: a blue ? in place of the amber dot, which seeing it does not take away. */\n.ta-chat-dot.ta-asks { display: grid; place-items: center; background: var(--ta-blue); color: #fff; font-size: 9px; font-weight: 700; line-height: 1; }\n.ta-chat-line > .ta-chat-dot.ta-asks { width: 13px; height: 13px; }\n.ta-chat-avatar-box > .ta-chat-dot.ta-asks { right: -3px; bottom: -3px; width: 17px; height: 17px; font-size: 10px; }\n/* Only those going on (the row of the double opened the list): a chip that clears it, its count beside its label. */\n.ta-chat-filter { display: flex; padding: 0 2px 2px; }\n.ta-chat-filter-chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 8px 0 11px; border: 0; border-radius: 14px; background: var(--ta-chip); color: var(--ta-text); font: inherit; font-size: calc(12.5px * var(--ta-font-scale)); cursor: pointer; transition: background 120ms; }\n.ta-chat-filter-chip:hover { background: var(--ta-selected); }\n.ta-chat-filter-chip > svg { color: var(--ta-muted); }\n.ta-chat-filter-count { font-variant-numeric: tabular-nums; color: var(--ta-secondary); }\n/* How many wait for the user to decide, on the entry of the chats: over the corner of its icon. */\n.ta-asks-badge { position: absolute; top: 3px; right: 1px; z-index: 1; min-width: 16px; height: 16px; padding: 0 4px; box-sizing: border-box; border-radius: 8px; background: var(--ta-blue); color: #fff; font-size: 10px; font-weight: 700; line-height: 16px; text-align: center; pointer-events: none; box-shadow: 0 0 0 2px var(--ta-side); }\n.ta-tabbar-icon > .ta-asks-badge { top: -5px; right: -11px; }\n@media (prefers-reduced-motion: reduce) { .ta-chat-dot { transition: opacity 0.18s ease; } }\n/* What came unseen reads as unread: in the color of the text, not muted. */\n.ta-chat-sub.ta-unseen { color: var(--ta-text); }\n/* Above the box: where a new conversation will work (ComposerBox's head), a pill of its directory. */\n.ta-console-head { display: flex; align-items: center; gap: 6px; min-width: 0; padding: 0 0 6px; }\n.ta-console-head .ta-cwd-chip { max-width: min(100%, 360px); height: 26px; padding: 0 8px 0 7px; background: transparent; }\n.ta-console-head .ta-cwd-chip:hover { background: var(--ta-hover); }\n.ta-console-head .ta-cwd-chip .ta-ellipsis { flex: 0 1 auto; min-width: 0; max-width: none; }\n.ta-cwd-chip { display: inline-flex; align-items: center; gap: 5px; flex: none; max-width: 180px; overflow: hidden; height: 30px; padding: 0 9px 0 10px; border: 0; border-radius: 15px; background: var(--ta-hover); color: var(--ta-secondary); font-size: calc(12.5px * var(--ta-font-scale)); transition: background 120ms, color 120ms; }\n.ta-cwd-chip:hover { background: var(--ta-hover-strong); color: var(--ta-text); }\n.ta-cwd-chip svg { flex: none; }\n@media (max-width: 600px) { .ta-cwd-chip { max-width: 120px; } }\n/* The letters of the list in hues of the agents' faces (yellow, blue, orange, green, violet, pink), drawn as tints of the theme (--ta-tint-<n>, style/tints.ts). */\n.ta-tone-0 { --tone-tint: var(--ta-tint-2); --tone-ink: var(--ta-tint-ink-2); }\n.ta-tone-1 { --tone-tint: var(--ta-tint-0); --tone-ink: var(--ta-tint-ink-0); }\n.ta-tone-2 { --tone-tint: var(--ta-tint-4); --tone-ink: var(--ta-tint-ink-4); }\n.ta-tone-3 { --tone-tint: var(--ta-tint-3); --tone-ink: var(--ta-tint-ink-3); }\n.ta-tone-4 { --tone-tint: var(--ta-tint-5); --tone-ink: var(--ta-tint-ink-5); }\n.ta-tone-5 { --tone-tint: var(--ta-tint-7); --tone-ink: var(--ta-tint-ink-7); }\n";
|
|
2
|
+
export declare const CHAT_LIST_STYLE = "\n/* The list of chats: a search, then the chats by directory (a line each under the head of its group) or by day (each with the avatar of its directory) */\n.ta-chats { gap: 8px; }\n/* On a phone a folder opened is pushed over the list (PhoneStack): the same ground and spacing as the list. */\n.ta-chats > .ta-phone-stack > .ta-phone-stack-base, .ta-chats > .ta-phone-stack > .ta-phone-stack-top { gap: 8px; }\n.ta-chats > .ta-phone-stack > .ta-phone-stack-top { background: var(--ta-side); }\n.ta-chats-head { gap: 4px; padding: 0; margin-bottom: 0; }\n.ta-chats-search { flex: 1; min-width: 0; height: 36px; display: flex; align-items: center; gap: 8px; padding: 0 4px 0 11px; border-radius: 10px; background: var(--ta-raised); color: var(--ta-muted); border: 1px solid transparent; transition: border-color 120ms, background 120ms; }\n.ta-chats-search:focus-within { border-color: var(--ta-border-field); background: var(--ta-input); }\n.ta-chats-search 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-chats-search input::placeholder { color: var(--ta-muted); }\n.ta-chats-clear { width: 24px; height: 24px; }\n.ta-chips { display: flex; gap: 6px; flex: none; overflow-x: auto; scrollbar-width: none; margin: 0 -8px; padding: 0 8px 2px; }\n.ta-chips::-webkit-scrollbar { display: none; }\n.ta-chip-filter { display: inline-flex; align-items: center; gap: 6px; flex: none; height: 28px; padding: 0 11px; border-radius: 14px; border: 1px solid var(--ta-border); background: transparent; color: var(--ta-secondary); font-size: calc(12.5px * var(--ta-font-scale)); white-space: nowrap; transition: background 120ms, color 120ms, border-color 120ms; }\n.ta-chip-filter:hover { background: var(--ta-hover); color: var(--ta-text); }\n.ta-chip-filter[aria-selected='true'] { background: var(--ta-selected); border-color: transparent; color: var(--ta-text); font-weight: 500; }\n.ta-chip-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--tone-ink); }\n.ta-chip-count { color: var(--ta-muted); font-variant-numeric: tabular-nums; font-weight: 400; }\n.ta-chat-section + .ta-chat-section { margin-top: 6px; }\n.ta-chats-view { width: 26px; height: 26px; border-radius: 7px; color: var(--ta-muted); }\n.ta-chats-view[aria-pressed='true'] { color: var(--ta-text); background: var(--ta-hover-strong); }\n.ta-chat-group + .ta-chat-group { margin-top: 4px; }\n.ta-chat-group-head { position: relative; display: flex; align-items: center; }\n.ta-chat-group-toggle { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 40px 0 10px; border: 0; border-radius: 10px; background: transparent; color: var(--ta-secondary); font-size: calc(13px * var(--ta-font-scale)); font-weight: 500; text-align: left; }\n.ta-chat-group-toggle:hover { background: var(--ta-hover); color: var(--ta-text); }\n.ta-chat-group-avatar { width: 20px; height: 20px; flex: none; display: grid; place-items: center; border-radius: 6px; background: var(--tone-tint); color: var(--tone-ink); font-size: 11px; font-weight: 600; }\n.ta-chat-group-toggle .ta-host-tag { margin-right: -3px; }\n.ta-chat-group-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-chat-group-count { flex: none; color: var(--ta-muted); font-weight: 400; font-variant-numeric: tabular-nums; }\n.ta-chat-group-chevron { flex: none; color: var(--ta-muted); transition: transform 150ms ease; }\n.ta-chat-group-toggle[aria-expanded='true'] .ta-chat-group-chevron { transform: rotate(90deg); }\n.ta-chat-group-add { position: absolute; right: 6px; top: 50%; width: 26px; height: 26px; transform: translateY(-50%); opacity: 0; }\n.ta-chat-group-head:hover .ta-chat-group-add, .ta-chat-group-add:focus-visible { opacity: 1; }\n.ta-chat-group-toggle .ta-chat-icon, .ta-chat-folder-head .ta-chat-icon { flex: none; border-radius: 6px; }\n.ta-chat-folder-head { flex: none; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 10px 0 2px; border-bottom: 1px solid var(--ta-border); color: var(--ta-text); font-size: calc(14px * var(--ta-font-scale)); font-weight: 600; }\n.ta-chat-folder-back { width: 30px; height: 30px; flex: none; }\n.ta-chat-folder-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-chat-item.ta-compact { min-height: 34px; padding: 7px 10px 7px 38px; border-radius: 10px; }\n.ta-chat-row:has(.ta-chat-item.ta-compact) { border-radius: 10px; }\n.ta-compact .ta-chat-title { font-weight: 400; color: var(--ta-body); }\n.ta-chat-section-title { padding: 8px 10px 4px; font-size: calc(12px * var(--ta-font-scale)); color: var(--ta-muted); }\n.ta-chat-fold { display: flex; align-items: center; gap: 4px; width: 100%; margin-top: 8px; border: 0; border-radius: 8px; background: transparent; text-align: left; cursor: pointer; }\n.ta-chat-fold:hover { color: var(--ta-text); }\n.ta-chat-fold svg { transition: transform 0.15s ease; }\n.ta-chat-fold[aria-expanded=\"true\"] svg { transform: rotate(90deg); }\n.ta-chat-removed .ta-chat-item { opacity: 0.72; }\n.ta-chat-group .ta-chat-fold { margin-top: 0; padding-left: 14px; }\n.ta-chat-more { height: 1px; }\n/* Rows out of view are not laid out or painted (their menu opens in a portal, their actions within them). */\n.ta-chat-row { position: relative; border-radius: 12px; content-visibility: auto; contain-intrinsic-size: auto 60px; }\n.ta-chat-row:has(.ta-compact) { contain-intrinsic-size: auto 36px; }\n.ta-chat-row:hover { background: var(--ta-hover); }\n.ta-chat-row.ta-selected { background: var(--ta-selected); }\n.ta-chat-item { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 58px; padding: 9px 10px; border: 0; border-radius: 12px; background: transparent; text-align: left; color: inherit; }\n.ta-chat-avatar { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--tone-tint); color: var(--tone-ink); font-size: 15px; font-weight: 600; }\n.ta-chat-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }\n.ta-chat-line { display: flex; align-items: center; gap: 8px; min-width: 0; }\n.ta-chat-title { flex: 1; min-width: 0; font-size: calc(14px * var(--ta-font-scale)); font-weight: 500; color: var(--ta-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-chat-time { flex: none; font-size: calc(12px * var(--ta-font-scale)); color: var(--ta-muted); font-variant-numeric: tabular-nums; }\n/* After the title, what it is (a group chat with friends): small, green, the title as short as it is so it sits beside it. */\n.ta-chat-title.ta-badged { flex: 0 1 auto; }\n.ta-chat-badge { flex: none; margin-right: auto; margin-left: -2px; height: calc(16px * var(--ta-font-scale)); padding: 0 5px; border-radius: 4px; background: color-mix(in oklab, var(--ta-green) 13%, transparent); color: var(--ta-green); font-size: calc(10.5px * var(--ta-font-scale)); font-weight: 500; line-height: calc(16px * var(--ta-font-scale)); white-space: nowrap; }\n.ta-chat-sub { flex: 1; min-width: 0; font-size: calc(12.5px * var(--ta-font-scale)); color: var(--ta-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-chat-line .ta-spinner { width: 12px; height: 12px; }\n/* Someone to talk to: the double's face, or the face an extension draws for its agent, in place of a letter. */\n.ta-chat-face { flex: none; display: inline-grid; place-items: center; }\n/* A conversation of an extension that is no one to talk to (a brief, a question): its icon on a tile of its tint. */\n.ta-chat-icon { background: var(--ta-tile); color: var(--ta-tile-ink); }\n/* In a row of one line, in the room left of its title, under the letter of its group: the title stays where the others are. */\n.ta-compact .ta-chat-face { margin-left: -28px; }\n/* What goes on in it, at the end of a line: answering (a spinner, on the line under the title), a task that failed or was stopped. */\n.ta-chat-state { flex: none; display: inline-flex; align-items: center; gap: 4px; font-size: calc(12px * var(--ta-font-scale)); color: var(--ta-muted); white-space: nowrap; }\n.ta-chat-state .ta-status { width: 8px; }\n.ta-chat-state.ta-failed { color: color-mix(in srgb, var(--ta-red) 85%, var(--ta-muted)); }\n/* Under the title, as a messaging app: the last thing said, or its directory; how a task ended, before it, as WeChat's [Draft]. */\n.ta-chat-dir { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; vertical-align: top; }\n.ta-chat-dir > svg { flex: none; }\n.ta-chat-flag { margin-right: 3px; }\n.ta-chat-flag.ta-replying { color: var(--ta-secondary); }\n.ta-chat-line > .ta-people { margin-left: 4px; }\n/* Out of the way of the button that takes a row out, as its words are. */\n.ta-chat-row:hover .ta-chat-item:not(.ta-compact) .ta-chat-line > .ta-people:last-child { margin-right: 28px; }\n.ta-chat-line .ta-people-face { box-shadow: none; background: none; }\n.ta-chat-line .ta-people-face + .ta-people-face { margin-left: -3px; }\n.ta-chat-flag.ta-failed { color: color-mix(in srgb, var(--ta-red) 85%, var(--ta-muted)); }\n.ta-chat-flag.ta-draft { color: var(--ta-red); }\n.ta-chat-flag.ta-waiting, .ta-chat-state.ta-waiting { color: color-mix(in srgb, var(--ta-blue) 85%, var(--ta-muted)); }\n/* Its directory, in place of its time while the pointer is on it. */\n.ta-chat-place { display: none; flex: 0 1 auto; align-items: center; gap: 4px; min-width: 0; max-width: 45%; font-size: calc(12px * var(--ta-font-scale)); color: var(--ta-muted); }\n.ta-chat-place > svg { flex: none; }\n.ta-chat-place > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n@media (hover: hover) {\n .ta-chat-row:hover .ta-chat-item:not(.ta-compact) .ta-chat-place { display: inline-flex; }\n .ta-chat-row:hover .ta-chat-item:not(.ta-compact) .ta-chat-time { display: none; }\n}\n.ta-chats-add { width: 36px; height: 36px; border-radius: 10px; background: var(--ta-raised); }\n/* On the line under the title, at its end; in the middle of a row of one line. */\n.ta-chat-delete { position: absolute; bottom: 7px; right: 8px; width: 26px; height: 26px; opacity: 0; }\n.ta-chat-row:has(.ta-compact) .ta-chat-delete { bottom: auto; top: 50%; width: 30px; height: 30px; transform: translateY(-50%); }\n.ta-chat-row:hover .ta-chat-item:not(.ta-compact) .ta-chat-sub { padding-right: 28px; }\n.ta-chat-delete:hover:not(:disabled) { color: var(--ta-red); }\n.ta-chat-row:hover .ta-chat-delete, .ta-chat-delete:focus-visible { opacity: 1; }\n/* Taken out, while ta serve closes it: its button stays, turning. */\n.ta-chat-row .ta-chat-delete.ta-icon-button.ta-busy { display: inline-grid; opacity: 1; }\n.ta-chat-row:hover .ta-compact .ta-chat-time, .ta-chat-row:hover .ta-chat-state { visibility: hidden; }\n/*\n * Unseen, as a messenger's unread: an amber dot on the corner of the avatar (before the time in a row of one line), as\n * the agents of the side bar have; it grows in and shrinks away. Cut out of the avatar by the color of the row.\n */\n.ta-chat-avatar-box { position: relative; display: inline-flex; flex: none; }\n.ta-chat-row { --ta-chat-bg: var(--ta-side); }\n.ta-chat-row:hover { --ta-chat-bg: var(--ta-hover); }\n.ta-chat-row.ta-selected { --ta-chat-bg: var(--ta-selected); }\n.ta-chat-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--ta-yellow); transform: scale(0); opacity: 0; transition: transform 0.24s cubic-bezier(0.3, 1.5, 0.5, 1), opacity 0.18s ease; }\n.ta-chat-line > .ta-chat-dot:not(.ta-on) { width: 0; margin-left: -8px; }\n.ta-chat-avatar-box > .ta-chat-dot { position: absolute; right: -2px; bottom: -2px; z-index: 1; width: 12px; height: 12px; box-sizing: border-box; border: 2px solid var(--ta-chat-bg); }\n.ta-chat-dot.ta-on { transform: none; opacity: 1; }\n/* A conversation that waits for the user to decide: a blue ? in place of the amber dot, which seeing it does not take away. */\n.ta-chat-dot.ta-asks { display: grid; place-items: center; background: var(--ta-blue); color: #fff; font-size: 9px; font-weight: 700; line-height: 1; }\n.ta-chat-line > .ta-chat-dot.ta-asks { width: 13px; height: 13px; }\n.ta-chat-avatar-box > .ta-chat-dot.ta-asks { right: -3px; bottom: -3px; width: 17px; height: 17px; font-size: 10px; }\n/* Only those going on (the row of the double opened the list): a chip that clears it, its count beside its label. */\n.ta-chat-filter { display: flex; padding: 0 2px 2px; }\n.ta-chat-filter-chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 8px 0 11px; border: 0; border-radius: 14px; background: var(--ta-chip); color: var(--ta-text); font: inherit; font-size: calc(12.5px * var(--ta-font-scale)); cursor: pointer; transition: background 120ms; }\n.ta-chat-filter-chip:hover { background: var(--ta-selected); }\n.ta-chat-filter-chip > svg { color: var(--ta-muted); }\n.ta-chat-filter-count { font-variant-numeric: tabular-nums; color: var(--ta-secondary); }\n/* How many wait for the user to decide, on the entry of the chats: over the corner of its icon. */\n.ta-asks-badge { position: absolute; top: 3px; right: 1px; z-index: 1; min-width: 16px; height: 16px; padding: 0 4px; box-sizing: border-box; border-radius: 8px; background: var(--ta-blue); color: #fff; font-size: 10px; font-weight: 700; line-height: 16px; text-align: center; pointer-events: none; box-shadow: 0 0 0 2px var(--ta-side); }\n.ta-tabbar-icon > .ta-asks-badge { top: -5px; right: -11px; }\n@media (prefers-reduced-motion: reduce) { .ta-chat-dot { transition: opacity 0.18s ease; } }\n/* What came unseen reads as unread: in the color of the text, not muted. */\n.ta-chat-sub.ta-unseen { color: var(--ta-text); }\n/* Above the box: where a new conversation will work (ComposerBox's head), a pill of its directory. */\n.ta-console-head { display: flex; align-items: center; gap: 6px; min-width: 0; padding: 0 0 6px; }\n.ta-console-head .ta-cwd-chip { max-width: min(100%, 360px); height: 26px; padding: 0 8px 0 7px; background: transparent; }\n.ta-console-head .ta-cwd-chip:hover { background: var(--ta-hover); }\n.ta-console-head .ta-cwd-chip .ta-ellipsis { flex: 0 1 auto; min-width: 0; max-width: none; }\n.ta-cwd-chip { display: inline-flex; align-items: center; gap: 5px; flex: none; max-width: 180px; overflow: hidden; height: 30px; padding: 0 9px 0 10px; border: 0; border-radius: 15px; background: var(--ta-hover); color: var(--ta-secondary); font-size: calc(12.5px * var(--ta-font-scale)); transition: background 120ms, color 120ms; }\n.ta-cwd-chip:hover { background: var(--ta-hover-strong); color: var(--ta-text); }\n.ta-cwd-chip svg { flex: none; }\n@media (max-width: 600px) { .ta-cwd-chip { max-width: 120px; } }\n/* The letters of the list in hues of the agents' faces (yellow, blue, orange, green, violet, pink), drawn as tints of the theme (--ta-tint-<n>, style/tints.ts). */\n.ta-tone-0 { --tone-tint: var(--ta-tint-2); --tone-ink: var(--ta-tint-ink-2); }\n.ta-tone-1 { --tone-tint: var(--ta-tint-0); --tone-ink: var(--ta-tint-ink-0); }\n.ta-tone-2 { --tone-tint: var(--ta-tint-4); --tone-ink: var(--ta-tint-ink-4); }\n.ta-tone-3 { --tone-tint: var(--ta-tint-3); --tone-ink: var(--ta-tint-ink-3); }\n.ta-tone-4 { --tone-tint: var(--ta-tint-5); --tone-ink: var(--ta-tint-ink-5); }\n.ta-tone-5 { --tone-tint: var(--ta-tint-7); --tone-ink: var(--ta-tint-ink-7); }\n/* The partners (PartnersList): agents, friends and group chats, each a section under a small title, rows as the chats. */\n.ta-partners .ta-chat-section-title { display: flex; align-items: center; gap: 6px; }\n.ta-partners .ta-chat-group + .ta-chat-group { margin-top: 6px; }\n.ta-partner-online { position: absolute; left: -1px; bottom: -1px; z-index: 1; width: 10px; height: 10px; box-sizing: border-box; border-radius: 50%; border: 2px solid var(--ta-chat-bg); background: var(--ta-green); }\n/* Starting a chat (GroupPicker): agents and friends to tick, the one of a chat it starts from ticked already. */\n.ta-partner-pick { display: flex; flex-direction: column; gap: 10px; min-height: 0; }\n.ta-partner-pick-lead { margin: 0; color: var(--ta-secondary); font-size: calc(13px * var(--ta-font-scale)); }\n.ta-partner-pick-list { display: flex; flex-direction: column; gap: 2px; min-height: 0; max-height: min(56vh, 420px); margin: 0; padding: 0; overflow-y: auto; list-style: none; }\n.ta-partner-pick-row { display: flex; align-items: center; gap: 10px; width: 100%; padding: 6px 8px; border: none; border-radius: 10px; background: transparent; color: var(--ta-text); font: inherit; text-align: left; cursor: pointer; }\n.ta-partner-pick-row:hover:not(:disabled) { background: var(--ta-hover); }\n.ta-partner-pick-row:disabled { cursor: default; }\n.ta-partner-pick-box { flex: none; display: inline-grid; place-items: center; width: 20px; height: 20px; box-sizing: border-box; border: 1.5px solid var(--ta-border-field); border-radius: 50%; color: #fff; transition: background 0.12s, border-color 0.12s; }\n.ta-partner-pick-box.ta-on { border-color: var(--ta-green); background: var(--ta-green); }\n.ta-partner-pick-row:disabled .ta-partner-pick-box.ta-on { opacity: 0.5; }\n.ta-partner-pick-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-partner-pick-kind { flex: none; color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); }\n.ta-partner-pick-error { margin: 0; color: var(--ta-red); font-size: calc(13px * var(--ta-font-scale)); }\n.ta-partner-pick-foot { display: flex; justify-content: flex-end; }\n";
|
|
3
3
|
//# sourceMappingURL=chat-list.d.ts.map
|
|
@@ -62,6 +62,9 @@ exports.CHAT_LIST_STYLE = `
|
|
|
62
62
|
.ta-chat-line { display: flex; align-items: center; gap: 8px; min-width: 0; }
|
|
63
63
|
.ta-chat-title { flex: 1; min-width: 0; font-size: calc(14px * var(--ta-font-scale)); font-weight: 500; color: var(--ta-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
64
64
|
.ta-chat-time { flex: none; font-size: calc(12px * var(--ta-font-scale)); color: var(--ta-muted); font-variant-numeric: tabular-nums; }
|
|
65
|
+
/* After the title, what it is (a group chat with friends): small, green, the title as short as it is so it sits beside it. */
|
|
66
|
+
.ta-chat-title.ta-badged { flex: 0 1 auto; }
|
|
67
|
+
.ta-chat-badge { flex: none; margin-right: auto; margin-left: -2px; height: calc(16px * var(--ta-font-scale)); padding: 0 5px; border-radius: 4px; background: color-mix(in oklab, var(--ta-green) 13%, transparent); color: var(--ta-green); font-size: calc(10.5px * var(--ta-font-scale)); font-weight: 500; line-height: calc(16px * var(--ta-font-scale)); white-space: nowrap; }
|
|
65
68
|
.ta-chat-sub { flex: 1; min-width: 0; font-size: calc(12.5px * var(--ta-font-scale)); color: var(--ta-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
66
69
|
.ta-chat-line .ta-spinner { width: 12px; height: 12px; }
|
|
67
70
|
/* Someone to talk to: the double's face, or the face an extension draws for its agent, in place of a letter. */
|
|
@@ -149,5 +152,23 @@ exports.CHAT_LIST_STYLE = `
|
|
|
149
152
|
.ta-tone-3 { --tone-tint: var(--ta-tint-3); --tone-ink: var(--ta-tint-ink-3); }
|
|
150
153
|
.ta-tone-4 { --tone-tint: var(--ta-tint-5); --tone-ink: var(--ta-tint-ink-5); }
|
|
151
154
|
.ta-tone-5 { --tone-tint: var(--ta-tint-7); --tone-ink: var(--ta-tint-ink-7); }
|
|
155
|
+
/* The partners (PartnersList): agents, friends and group chats, each a section under a small title, rows as the chats. */
|
|
156
|
+
.ta-partners .ta-chat-section-title { display: flex; align-items: center; gap: 6px; }
|
|
157
|
+
.ta-partners .ta-chat-group + .ta-chat-group { margin-top: 6px; }
|
|
158
|
+
.ta-partner-online { position: absolute; left: -1px; bottom: -1px; z-index: 1; width: 10px; height: 10px; box-sizing: border-box; border-radius: 50%; border: 2px solid var(--ta-chat-bg); background: var(--ta-green); }
|
|
159
|
+
/* Starting a chat (GroupPicker): agents and friends to tick, the one of a chat it starts from ticked already. */
|
|
160
|
+
.ta-partner-pick { display: flex; flex-direction: column; gap: 10px; min-height: 0; }
|
|
161
|
+
.ta-partner-pick-lead { margin: 0; color: var(--ta-secondary); font-size: calc(13px * var(--ta-font-scale)); }
|
|
162
|
+
.ta-partner-pick-list { display: flex; flex-direction: column; gap: 2px; min-height: 0; max-height: min(56vh, 420px); margin: 0; padding: 0; overflow-y: auto; list-style: none; }
|
|
163
|
+
.ta-partner-pick-row { display: flex; align-items: center; gap: 10px; width: 100%; padding: 6px 8px; border: none; border-radius: 10px; background: transparent; color: var(--ta-text); font: inherit; text-align: left; cursor: pointer; }
|
|
164
|
+
.ta-partner-pick-row:hover:not(:disabled) { background: var(--ta-hover); }
|
|
165
|
+
.ta-partner-pick-row:disabled { cursor: default; }
|
|
166
|
+
.ta-partner-pick-box { flex: none; display: inline-grid; place-items: center; width: 20px; height: 20px; box-sizing: border-box; border: 1.5px solid var(--ta-border-field); border-radius: 50%; color: #fff; transition: background 0.12s, border-color 0.12s; }
|
|
167
|
+
.ta-partner-pick-box.ta-on { border-color: var(--ta-green); background: var(--ta-green); }
|
|
168
|
+
.ta-partner-pick-row:disabled .ta-partner-pick-box.ta-on { opacity: 0.5; }
|
|
169
|
+
.ta-partner-pick-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
170
|
+
.ta-partner-pick-kind { flex: none; color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); }
|
|
171
|
+
.ta-partner-pick-error { margin: 0; color: var(--ta-red); font-size: calc(13px * var(--ta-font-scale)); }
|
|
172
|
+
.ta-partner-pick-foot { display: flex; justify-content: flex-end; }
|
|
152
173
|
`;
|
|
153
174
|
//# sourceMappingURL=chat-list.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/** The conversation column: the steps of a turn, the pictures of a message, the message box and its + menu, the messages waiting. */
|
|
2
|
-
export declare const CONVERSATION_COLUMN_STYLE = "\n/* The conversation: the avatar's mark, the folded work, the message box, the account */\n.ta-avatar-marked { position: relative; display: inline-block; flex: none; }\n.ta-avatar-marked .ta-avatar { width: 100%; height: 100%; }\n.ta-avatar-mark { position: absolute; right: -6%; bottom: -6%; min-width: 1.6em; height: 1.6em; padding: 0 0.3em; border-radius: 0.8em; display: grid; place-items: center; background: var(--ta-raised); color: var(--ta-text); box-shadow: 0 0 0 1.5px var(--ta-main); font-weight: 600; line-height: 1; letter-spacing: -0.02em; white-space: nowrap; }\n.ta-working { color: var(--ta-secondary); font-weight: 400; font-size: calc(12.5px * var(--ta-font-scale)); }\n.ta-turn-head { display: flex; align-items: center; gap: 8px; min-height: 26px; color: var(--ta-secondary); font-size: calc(13px * var(--ta-font-scale)); }\n.ta-turn-head .ta-process-head { margin-left: 0; }\n/* What ta does, before the first step, where the head of the steps will say how many there are: its words in the same place. */\n.ta-turn-head > .ta-run-status { padding-left: 6px; }\n.ta-run-status { display: inline-flex; align-items: center; gap: 8px; min-width: 0; color: var(--ta-secondary); font-size: calc(13px * var(--ta-font-scale)); line-height: 1.4; }\n.ta-run-phase { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-run-tokens { display: inline-flex; align-items: center; gap: 8px; flex: none; color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); font-variant-numeric: tabular-nums; }\n.ta-run-tokens > span { display: inline-flex; align-items: center; gap: 1px; }\n/* Under the words of a turn its dot starts where they do: the dot is centred in its box, which starts a little before. */\n.ta-run-line { display: flex; min-width: 0; min-height: 22px; margin-top: -6px; }\n.ta-run-line > .ta-run-status > .ta-status { margin-left: -3px; }\n/* Under the steps of a turn the line is one more step: its dot under the avatar, folded or open; under the open ones at their pitch, on the string's line. */\n.ta-run-line.ta-run-steps { padding-left: 9px; }\n.ta-thread-item:has(> .ta-message > .ta-process > .ta-process-steps) + .ta-run-steps, .ta-msg-ta:has(> .ta-process > .ta-process-steps) + .ta-run-steps { margin-top: -18px; }\n/* There, a call it runs is already the last step, its dot breathing: the line would say it again. */\n.ta-thread-item:has(> .ta-message > .ta-process > .ta-process-steps) + .ta-run-steps:has(.ta-run-tool), .ta-msg-ta:has(> .ta-process > .ta-process-steps) + .ta-run-steps:has(.ta-run-tool) { display: none; }\n/* What waits for the user is a blue ?, apart from the blue dot that breathes while it works and the amber of something unseen. */\n.ta-status-waiting::before { content: '?'; width: 10px; height: 10px; background: var(--ta-blue); color: #fff; font-size: 8px; font-weight: 700; line-height: 10px; text-align: center; }\n/* On the head of a turn the face of ta already shows that it works. */\n.ta-turn-head .ta-run-status > .ta-status { display: none; }\n.ta-session { container-type: inline-size; }\n.ta-session-header .ta-session-title { min-width: 72px; }\n/* A narrow conversation (a phone, or beside an open editor): one line, the title keeps its room, the path gives way. */\n@container (max-width: 600px) {\n .ta-session-header { flex-wrap: nowrap; gap: 4px; padding-left: 12px; padding-right: 8px; }\n .ta-session-title .ta-path { display: none; }\n}\n/* A message of the user that has pictures: the pictures and the words in one bubble, the pictures first\n and within the bubble's padding. */\n.ta-bubble-media { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 4px; white-space: normal; }\n.ta-bubble-media .ta-bubble-text { align-self: stretch; padding: 2px 10px 5px; white-space: pre-wrap; word-break: break-word; }\n/* Pictures alone: the bubble is what they are, so it has no frame of its own. */\n.ta-bubble-media.ta-bubble-bare, .ta-msg-bubble.ta-bubble-bare { padding: 0; background: transparent; }\n/* One picture keeps its own shape, a few stand as squares of one size: the sizes of a message, not of a page. */\n.ta-user-images { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 4px; max-width: 100%; }\n/* Several: in columns as a gallery of a reply has them (GalleryUtil.columns), four in two rows of two. */\n.ta-user-images:not([data-count='1']) { display: grid; grid-template-columns: repeat(var(--ta-user-image-columns, 3), 80px); }\n.ta-user-image { padding: 0; border: 0; border-radius: 12px; background: transparent; line-height: 0; cursor: zoom-in; overflow: hidden; transition: opacity 120ms; }\n.ta-user-image:active { opacity: 0.8; }\n.ta-user-images .ta-thumb { display: block; width: 80px; height: 80px; object-fit: cover; border-radius: 12px; background: var(--ta-raised); }\n.ta-user-images[data-count='1'] .ta-thumb { width: auto; height: auto; max-width: 220px; max-height: 280px; object-fit: contain; }\n/* An image still on its way (its bytes come once shown, TaShownImage), in its place: of its size when known. */\n.ta-thumb-waiting { background: var(--ta-raised); animation: ta-shimmer-soft 1.6s ease-in-out infinite; }\n.ta-user-images[data-count='1'] .ta-thumb-waiting:not([style]) { width: 160px; height: 120px; }\n.ta-user-image:disabled { cursor: default; opacity: 1; }\n@keyframes ta-shimmer-soft { 50% { opacity: 0.6; } }\n/* Pictures on their own, without a bubble to hold them: at the edge of the message, as a bubble is. */\n.ta-message > .ta-user-images, .ta-msg-user > .ta-user-images { justify-content: flex-end; max-width: 78%; }\n.ta-thumb { display: block; width: 72px; height: 72px; object-fit: cover; border-radius: 10px; border: 1px solid var(--ta-border); background: var(--ta-raised); }\n.ta-process { display: flex; flex-direction: column; }\n.ta-process-head { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 6px; margin-left: -6px; border: 0; border-radius: 8px; background: transparent; color: var(--ta-muted); font-size: calc(13px * var(--ta-font-scale)); transition: background 120ms, color 120ms; }\n@media (hover: hover) { .ta-process-head:hover { background: var(--ta-hover); color: var(--ta-secondary); } }\n.ta-process-active .ta-process-head { color: var(--ta-secondary); }\n.ta-process-chevron { transition: transform 150ms var(--ta-ease); }\n.ta-process-head[aria-expanded='true'] .ta-process-chevron { transform: rotate(90deg); }\n.ta-process-failed { color: var(--ta-muted); }\n/* The string of the steps runs under the middle of the avatar (24px wide): 12px in. */\n.ta-process-steps { position: relative; display: flex; flex-direction: column; gap: 2px; margin: 4px 0 4px 12px; padding: 2px 0 2px 13px; }\n/* The string runs from the first bead to the last, not past them. */\n.ta-process-steps::before { content: ''; position: absolute; left: -0.5px; top: calc(2px + 13px * var(--ta-font-scale)); bottom: calc(2px + 13px * var(--ta-font-scale)); width: 1px; background: var(--ta-border-muted); }\n/* The dots of the steps sit on the line, like beads on a string: each in a disc of the page's color that cuts the line. */\n.ta-process-steps .ta-status { position: absolute; left: -6px; border-radius: 50%; background: var(--ta-main); }\n/* A step of words is as high as a step of a tool when it has one line, its dot on the middle of that line: the steps keep one pitch. */\n.ta-step-text { color: var(--ta-secondary); font-size: calc(13.5px * var(--ta-font-scale)); line-height: 1.6; padding: calc(2.2px * var(--ta-font-scale)) 0; }\n.ta-step-text > .ta-status { margin-top: calc(0.8em - 6px); }\n.ta-step-toggle { display: flex; align-items: center; gap: 6px; width: calc(100% + 6px); min-width: 0; min-height: calc(26px * var(--ta-font-scale)); padding: 0 6px; margin-left: -6px; border: 0; border-radius: 6px; transition: background 120ms; background: transparent; text-align: left; color: var(--ta-muted); font-size: calc(13px * var(--ta-font-scale)); }\n.ta-step-tag { flex: none; color: var(--ta-text); }\n.ta-step-preview { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-step-chevron { flex: none; transition: transform 150ms var(--ta-ease); }\n.ta-step-toggle[aria-expanded='true'] .ta-step-chevron { transform: rotate(90deg); }\n.ta-step-thinking .ta-thinking-text, .ta-step-summary .ta-thinking-text { color: var(--ta-muted); font-size: calc(13px * var(--ta-font-scale)); padding: 2px 0 4px; }\n.ta-console-box { flex-direction: column; align-items: stretch; gap: 6px; padding: 8px; }\n.ta-console-box.ta-dragging { border-color: var(--ta-border-focus); border-style: dashed; }\n/* The field and its controls: the field's line is 1.55 of its font and 5px above and under it (layout.ts),\n and each control stands centred on its last line, the half of what the line is higher than it under it\n (--ta-control: the height of the control, 30px unless it says). */\n.ta-console-row { display: flex; align-items: flex-end; gap: 6px; --ta-field-font: calc(14px * var(--ta-font-scale)); --ta-field-height: calc(var(--ta-field-font) * 1.55 + 10px); }\n.ta-console-row > :not(textarea) { margin-bottom: max(0px, calc((var(--ta-field-height) - var(--ta-control, 30px)) / 2)); }\n.ta-console-row .ta-attach { width: 30px; height: 30px; }\n/* As high as its button, which the row centres (a block would add the line under it). */\n.ta-plus { position: relative; flex: none; display: flex; }\n.ta-plus-button { border-radius: 50%; background: var(--ta-hover); color: var(--ta-secondary); }\n.ta-plus-button:hover, .ta-plus-button.ta-on { background: var(--ta-hover-strong); color: var(--ta-text); }\n.ta-plus-button svg { transition: transform 150ms var(--ta-ease); }\n.ta-plus-button.ta-on svg { transform: rotate(45deg); }\n.ta-plus-menu { position: absolute; left: -2px; bottom: calc(100% + 10px); z-index: 20; display: flex; flex-direction: column; width: min(340px, calc(100vw - 32px)); padding: 8px 6px 6px; border: 1px solid var(--ta-border); border-radius: 14px; background: var(--ta-side); box-shadow: var(--ta-shadow-pop); animation: ta-plus-in 140ms var(--ta-ease); }\n/* Every entry a tile, a page of four by two at a time (PlusMenuUtil.PAGE), as WeChat's + panel: more of them is another page to swipe to, never a taller menu. */\n.ta-plus-pages { display: flex; flex: none; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }\n.ta-plus-pages::-webkit-scrollbar { display: none; }\n.ta-plus-page { flex: 0 0 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, auto); align-content: start; gap: 4px 2px; scroll-snap-align: start; scroll-snap-stop: always; }\n.ta-plus-tile { display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 0; padding: 6px 0 4px; border: 0; border-radius: 12px; background: none; color: var(--ta-text); font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }\n.ta-plus-tile-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--ta-hover); color: var(--ta-text); transition: background 120ms, color 120ms; }\n.ta-plus-tile-icon svg { width: 22px; height: 22px; stroke-width: 1.6; }\n/* A switch that is on: its icon lit in green. */\n.ta-plus-tile[aria-checked='true'] .ta-plus-tile-icon { background: color-mix(in srgb, var(--ta-green) 16%, transparent); color: var(--ta-green); }\n.ta-plus-tile:active:not(:disabled) .ta-plus-tile-icon { background: var(--ta-hover-strong); }\n@media (hover: hover) { .ta-plus-tile:hover:not(:disabled) .ta-plus-tile-icon { background: var(--ta-hover-strong); } }\n.ta-plus-tile:focus-visible { outline: none; background: var(--ta-hover); }\n.ta-plus-tile:disabled { opacity: 0.45; cursor: default; }\n.ta-plus-tile-label { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; max-width: 100%; padding: 0 2px; overflow: hidden; color: var(--ta-secondary); font-size: calc(11.5px * var(--ta-font-scale)); line-height: 1.3; text-align: center; text-wrap: balance; overflow-wrap: anywhere; }\n/* A setting or a switch: its label on one line, its value (the model, on or off) under it, quieter. */\n.ta-plus-valued .ta-plus-tile-label { -webkit-line-clamp: 1; }\n.ta-plus-tile-value { max-width: 100%; margin-top: -3px; padding: 0 2px; overflow: hidden; color: var(--ta-muted); font-size: calc(10.5px * var(--ta-font-scale)); line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }\n.ta-plus-dots { display: flex; flex: none; justify-content: center; gap: 2px; padding: 4px 0 0; }\n.ta-plus-dots button { position: relative; width: 16px; height: 12px; padding: 0; border: 0; background: none; cursor: pointer; }\n.ta-plus-dots button::after { content: ''; position: absolute; left: 5px; top: 3px; width: 6px; height: 6px; border-radius: 50%; background: var(--ta-hover-strong); transition: background 150ms; }\n.ta-plus-dots button.ta-on::after { background: var(--ta-secondary); }\n/* A list opened in the + menu, as every list to pick from (OptionList): a fixed width, that narrowing it does not change. */\n.ta-plus-list { width: 300px; }\n/*\n * On a phone the panel is under the box, in place of the keyboard, as WeChat's: part of the page, so the box and\n * the conversation rise with it as it unfolds and fall as it folds (the rows of a grid, from none of it to all).\n */\n.ta-plus-dock { display: grid; grid-template-rows: 1fr; animation: ta-plus-unfold 240ms var(--ta-ease) both; }\n.ta-plus-dock.ta-closing { animation: ta-plus-fold 200ms var(--ta-ease) both; }\n.ta-plus-dock-inner { min-height: 0; overflow: hidden; }\n/* One height whatever it shows (a page of tiles, the last page, a list), as the keyboard it stands for: the box does not move as one turns to another. */\n.ta-plus-dock .ta-plus-menu { position: static; box-sizing: border-box; width: auto; max-width: none; height: 240px; padding: 14px 0 0; border: 0; border-radius: 0; background: var(--ta-main); box-shadow: none; animation: none; }\n.ta-plus-dock .ta-plus-page { gap: 10px 2px; }\n.ta-plus-dock .ta-plus-dots { padding-top: 10px; }\n.ta-plus-dock .ta-plus-pages { flex: 1; min-height: 0; }\n/*\n * A list opened in the panel (the models) as the grouped lists of iOS: under a title with its way back, a search\n * on a raised field, the entries on a raised card of rounded corners with hairlines between them, each group's\n * name above its card and sticking on top on the page's color, the one picked checked on the right.\n */\n.ta-plus-dock .ta-plus-list { padding-top: 6px; }\n.ta-plus-dock .ta-plus-back { height: 34px; margin-bottom: 6px; padding: 0 2px; color: var(--ta-text); font-size: calc(15px * var(--ta-font-scale)); }\n.ta-plus-dock .ta-plus-back svg { color: var(--ta-secondary); }\n.ta-plus-dock .ta-pick { display: flex; flex-direction: column; flex: 1; min-height: 0; }\n.ta-plus-dock .ta-pick-search { height: 36px; margin-bottom: 2px; border-radius: 10px; background: var(--ta-raised); }\n.ta-plus-dock .ta-pick-list { flex: 1; min-height: 0; max-height: none; padding-bottom: 10px; }\n.ta-plus-dock .ta-pick-section + .ta-pick-section { margin-top: 0; }\n.ta-plus-dock .ta-pick-group { padding: 12px 14px 6px; color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); font-weight: 400; }\n.ta-plus-dock .ta-pick-list > .ta-pick-section:first-child > :first-child { margin-top: 8px; }\n.ta-plus-dock .ta-pick-list > .ta-pick-section:first-child > .ta-pick-group { margin-top: 0; padding-top: 6px; }\n.ta-plus-dock .ta-pick-item { min-height: 46px; padding: 0 14px; border-radius: 0; background: var(--ta-raised); }\n.ta-plus-dock .ta-pick-item + .ta-pick-item { box-shadow: inset 14px 0 0 var(--ta-raised), inset 0 0.5px 0 var(--ta-border); }\n.ta-plus-dock .ta-pick-group + .ta-pick-item, .ta-plus-dock .ta-pick-section > .ta-pick-item:first-child { border-top-left-radius: 12px; border-top-right-radius: 12px; }\n.ta-plus-dock .ta-pick-item:last-child { border-bottom-left-radius: 12px; border-bottom-right-radius: 12px; }\n.ta-plus-dock .ta-pick-item[data-active='true']:not(:disabled) { background: var(--ta-raised); }\n.ta-plus-dock .ta-pick-item:active:not(:disabled) { background: var(--ta-hover-strong); }\n.ta-plus-dock .ta-pick-check { color: var(--ta-green); }\n@keyframes ta-plus-unfold { from { grid-template-rows: 0fr; opacity: 0; } }\n@keyframes ta-plus-fold { to { grid-template-rows: 0fr; opacity: 0; } }\n.ta-plus-back { display: flex; align-items: center; gap: 4px; width: 100%; height: 32px; margin-bottom: 4px; padding: 0 6px; border: 0; border-radius: 8px; background: none; color: var(--ta-secondary); font: inherit; font-size: calc(13px * var(--ta-font-scale)); font-weight: 600; cursor: pointer; }\n.ta-plus-back:hover { background: var(--ta-hover); color: var(--ta-text); }\n\n/* OptionList: wherever one of a list is picked (a model, a level), in the + menu or a popover of a field. */\n.ta-pick { display: flex; flex-direction: column; min-height: 0; background: inherit; }\n.ta-pick-search { display: flex; align-items: center; gap: 8px; flex: none; height: 34px; margin-bottom: 4px; padding: 0 10px; border-radius: 9px; background: var(--ta-hover); color: var(--ta-muted); cursor: text; }\n.ta-pick-search:focus-within { color: var(--ta-secondary); }\n.ta-pick-search input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; background: none; color: var(--ta-text); font: inherit; font-size: calc(13px * var(--ta-font-scale)); outline: none; }\n.ta-pick-search input::placeholder { color: var(--ta-muted); }\n.ta-pick-list { position: relative; max-height: min(360px, 56vh); overflow-y: auto; background: inherit; }\n.ta-pick-section { background: inherit; }\n.ta-pick-section + .ta-pick-section { margin-top: 2px; }\n.ta-pick-group { position: sticky; top: 0; z-index: 1; padding: 8px 10px 4px; background: inherit; color: var(--ta-muted); font-size: calc(11.5px * var(--ta-font-scale)); font-weight: 500; }\n.ta-pick-item { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 34px; padding: 0 10px; border: 0; border-radius: 8px; background: none; color: var(--ta-text); font: inherit; font-size: calc(13.5px * var(--ta-font-scale)); text-align: left; cursor: pointer; }\n.ta-pick-item[data-active='true']:not(:disabled), .ta-pick-item:focus-visible { background: var(--ta-hover); outline: none; }\n.ta-pick-item:disabled { opacity: 0.45; cursor: default; }\n.ta-pick-item[aria-selected='true'] { font-weight: 500; }\n.ta-pick-icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 18px; color: var(--ta-secondary); }\n.ta-pick-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-pick-detail { flex: none; max-width: 40%; overflow: hidden; color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); text-overflow: ellipsis; white-space: nowrap; }\n.ta-pick-check { flex: none; color: var(--ta-accent); }\n.ta-popover { position: fixed; z-index: 95; padding: 6px; border: 1px solid var(--ta-border); border-radius: 14px; background: var(--ta-side); box-shadow: var(--ta-shadow-pop); animation: ta-plus-in 140ms var(--ta-ease); }\n.ta-model-popover { display: flex; flex-direction: column; }\n.ta-model-popover > .ta-pick, .ta-model-popover .ta-pick-list { flex: 1; min-height: 0; }\n/* The field that opens the list of the models (ModelPicker), as a select of the page. */\n.ta-model-field { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--ta-text); text-align: left; cursor: pointer; }\n.ta-model-field > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-model-field > svg { flex: none; color: var(--ta-muted); transition: transform 150ms var(--ta-ease); }\n.ta-model-field.ta-on { border-color: var(--ta-border-focus); }\n.ta-model-field.ta-on > svg { transform: rotate(180deg); }\n.ta-model-field:disabled { cursor: default; opacity: 0.6; }\n.ta-model-field-default { color: var(--ta-secondary); }\n@keyframes ta-plus-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }\n.ta-console-composer textarea { padding: 5px 2px; }\n/* A long placeholder stays on one line, so the empty box keeps its height beside the controls of the +. */\n.ta-console-composer textarea:placeholder-shown { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n.ta-console-composer textarea::placeholder { text-overflow: ellipsis; }\n.ta-send-stop { background: var(--ta-text); color: var(--ta-main); }\n/* Stop pressed, the run not ended yet: a spinner in the colors of the button. */\n.ta-send-stopping { cursor: progress; }\n.ta-send-stopping .ta-spinner { border-color: color-mix(in srgb, var(--ta-main) 35%, transparent); border-top-color: var(--ta-main); }\n.ta-attachments { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 2px 0; }\n.ta-attachment { position: relative; }\n.ta-attachment .ta-thumb { width: 56px; height: 56px; }\n/* An image being read: a shimmer until its thumbnail paints over it, then a veil and a spinner until it can be sent. */\n.ta-attachment-loading .ta-thumb { background: linear-gradient(100deg, var(--ta-raised) 30%, var(--ta-hover) 50%, var(--ta-raised) 70%) 0 0 / 200% 100%; animation: ta-shimmer 1.2s linear infinite; }\n.ta-attachment-spinner { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 10px; background: color-mix(in srgb, var(--ta-main) 55%, transparent); animation: ta-fade 150ms; }\n.ta-attachment img.ta-thumb { animation: ta-fade 150ms; }\n.ta-attachment-remove { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--ta-border); background: var(--ta-raised); color: var(--ta-secondary); padding: 0; }\n.ta-attachment-remove:hover { color: var(--ta-text); }\n.ta-commands { max-height: 280px; overflow-y: auto; }\n.ta-command-label { flex: none; font-family: var(--ta-mono); font-size: calc(12.5px * var(--ta-font-scale)); color: var(--ta-text); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-commands-note { right: auto; padding: 0; border-color: var(--ta-border-muted); box-shadow: none; }\n.ta-command-note { padding: 5px 10px; font-size: calc(12px * var(--ta-font-scale)); color: var(--ta-muted); white-space: nowrap; }\n/* The messages waiting for the agent: a header with their count, then a line for each, its actions on hover. */\n.ta-queue { display: flex; flex-direction: column; margin: 0 14px; padding: 3px 4px; border-radius: 12px 12px 0 0; border: 1px solid var(--ta-border-field); border-bottom: 0; background: var(--ta-side); font-size: calc(13px * var(--ta-font-scale)); color: var(--ta-body); animation: ta-fade 120ms ease-out; }\n.ta-queue-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 2px 4px 0 8px; color: var(--ta-muted); font-size: calc(11.5px * var(--ta-font-scale)); }\n.ta-queue-all { border: 0; background: none; padding: 2px 4px; border-radius: 6px; color: var(--ta-muted); font-size: calc(11.5px * var(--ta-font-scale)); transition: color 120ms, background 120ms; }\n.ta-queue-all:hover { color: var(--ta-text); background: var(--ta-hover); }\n.ta-queue-row { display: flex; align-items: center; gap: 8px; min-width: 0; height: 30px; padding: 0 2px 0 8px; border-radius: 8px; transition: background 120ms; }\n.ta-queue-row:hover { background: var(--ta-hover); }\n.ta-queue-kind { flex: none; display: inline-flex; align-items: center; gap: 4px; color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); }\n.ta-queue-row > .ta-origin { flex: none; max-width: 40%; }\n.ta-queue-row > .ta-origin .ta-origin-detail { display: none; }\n.ta-queue-text { flex: 1; min-width: 0; color: var(--ta-text); }\n.ta-queue-actions { flex: none; display: flex; gap: 2px; opacity: 0; transition: opacity 120ms; }\n.ta-queue-row:hover .ta-queue-actions, .ta-queue-actions:focus-within { opacity: 1; }\n.ta-queue-actions .ta-icon-button { width: 24px; height: 24px; border-radius: 6px; color: var(--ta-muted); }\n.ta-queue-actions .ta-icon-button:hover { background: var(--ta-hover-strong); color: var(--ta-text); }\n@media (hover: none) { .ta-queue-actions { opacity: 1; } }\n.ta-account { position: relative; display: grid; place-items: center; width: 40px; height: 40px; flex: none; }\n.ta-account-button { position: relative; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 10px; background: transparent; padding: 0; transition: background 150ms; }\n.ta-account-button:hover, .ta-account-button.ta-on { background: var(--ta-hover); }\n.ta-account-figure { flex: none; user-select: none; }\n.ta-account-dot { position: absolute; right: 5px; bottom: 5px; width: 8px; height: 8px; border-radius: 50%; background: var(--ta-yellow); box-shadow: 0 0 0 2px var(--ta-side); }\n.ta-account-menu { position: absolute; left: calc(100% + 10px); bottom: 0; z-index: 45; width: 248px; display: flex; flex-direction: column; gap: 2px; padding: 6px; border-radius: 12px; border: 1px solid var(--ta-border); background: var(--ta-side); box-shadow: var(--ta-shadow-pop); animation: ta-fade 120ms ease-out; }\n.ta-account-head { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 8px 10px; min-width: 0; border: 0; border-radius: 8px; background: transparent; color: inherit; font: inherit; text-align: left; transition: background 150ms; }\n.ta-account-head:hover, .ta-account-head:focus-visible { background: var(--ta-hover); }\n.ta-account-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; line-height: 1.35; }\n.ta-account-title { font-size: calc(13.5px * var(--ta-font-scale)); font-weight: 600; color: var(--ta-text); }\n.ta-account-sub { font-size: calc(12px * var(--ta-font-scale)); color: var(--ta-muted); }\n.ta-account-service { display: flex; align-items: center; gap: 8px; height: 32px; margin: 0 2px 2px; padding: 0 10px; border-radius: 8px; background: var(--ta-raised); font-size: calc(12.5px * var(--ta-font-scale)); color: var(--ta-secondary); }\n.ta-account-service-name { flex: 1; min-width: 0; }\n.ta-account-service-state { flex: none; font-size: calc(12px * var(--ta-font-scale)); color: var(--ta-muted); font-variant-numeric: tabular-nums; }\n.ta-account-state { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--ta-muted); }\n.ta-account-state.ta-ok { background: var(--ta-green); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ta-green) 18%, transparent); }\n.ta-account-state.ta-warn { background: var(--ta-yellow); }\n.ta-account-sep { height: 1px; margin: 4px 2px; background: var(--ta-border-muted); }\n.ta-account-item { display: flex; align-items: center; gap: 10px; height: 32px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; text-align: left; font-size: calc(13px * var(--ta-font-scale)); color: var(--ta-text); }\n.ta-account-item > svg, .ta-account-item > .ta-icon { flex: none; color: var(--ta-secondary); }\n.ta-account-item:hover { background: var(--ta-hover); }\n.ta-account-item.ta-danger { color: var(--ta-red); }\n@media (max-width: 860px), (max-height: 500px) and (pointer: coarse) {\n .ta-account-menu { left: 0; bottom: calc(100% + 8px); width: min(300px, calc(100vw - 24px)); }\n .ta-message > .ta-user-images, .ta-msg-user > .ta-user-images { max-width: 88%; }\n}\n";
|
|
2
|
+
export declare const CONVERSATION_COLUMN_STYLE = "\n/* The conversation: the avatar's mark, the folded work, the message box, the account */\n.ta-avatar-marked { position: relative; display: inline-block; flex: none; }\n.ta-avatar-marked .ta-avatar { width: 100%; height: 100%; }\n.ta-avatar-mark { position: absolute; right: -6%; bottom: -6%; min-width: 1.6em; height: 1.6em; padding: 0 0.3em; border-radius: 0.8em; display: grid; place-items: center; background: var(--ta-raised); color: var(--ta-text); box-shadow: 0 0 0 1.5px var(--ta-main); font-weight: 600; line-height: 1; letter-spacing: -0.02em; white-space: nowrap; }\n.ta-working { color: var(--ta-secondary); font-weight: 400; font-size: calc(12.5px * var(--ta-font-scale)); }\n.ta-turn-head { display: flex; align-items: center; gap: 8px; min-height: 26px; color: var(--ta-secondary); font-size: calc(13px * var(--ta-font-scale)); }\n.ta-turn-head .ta-process-head { margin-left: 0; }\n/* What ta does, before the first step, where the head of the steps will say how many there are: its words in the same place. */\n.ta-turn-head > .ta-run-status { padding-left: 6px; }\n.ta-run-status { display: inline-flex; align-items: center; gap: 8px; min-width: 0; color: var(--ta-secondary); font-size: calc(13px * var(--ta-font-scale)); line-height: 1.4; }\n.ta-run-phase { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-run-tokens { display: inline-flex; align-items: center; gap: 8px; flex: none; color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); font-variant-numeric: tabular-nums; }\n.ta-run-tokens > span { display: inline-flex; align-items: center; gap: 1px; }\n/* Under the words of a turn its dot starts where they do: the dot is centred in its box, which starts a little before. */\n.ta-run-line { display: flex; min-width: 0; min-height: 22px; margin-top: -6px; }\n.ta-run-line > .ta-run-status > .ta-status { margin-left: -3px; }\n/* Under the steps of a turn the line is one more step: its dot under the avatar, folded or open; under the open ones at their pitch, on the string's line. */\n.ta-run-line.ta-run-steps { padding-left: 9px; }\n.ta-thread-item:has(> .ta-message > .ta-process > .ta-process-steps) + .ta-run-steps, .ta-msg-ta:has(> .ta-process > .ta-process-steps) + .ta-run-steps { margin-top: -18px; }\n/* There, a call it runs is already the last step, its dot breathing: the line would say it again. */\n.ta-thread-item:has(> .ta-message > .ta-process > .ta-process-steps) + .ta-run-steps:has(.ta-run-tool), .ta-msg-ta:has(> .ta-process > .ta-process-steps) + .ta-run-steps:has(.ta-run-tool) { display: none; }\n/* What waits for the user is a blue ?, apart from the blue dot that breathes while it works and the amber of something unseen. */\n.ta-status-waiting::before { content: '?'; width: 10px; height: 10px; background: var(--ta-blue); color: #fff; font-size: 8px; font-weight: 700; line-height: 10px; text-align: center; }\n/* On the head of a turn the face of ta already shows that it works. */\n.ta-turn-head .ta-run-status > .ta-status { display: none; }\n.ta-session { container-type: inline-size; }\n.ta-session-header .ta-session-title { min-width: 72px; }\n/* A narrow conversation (a phone, or beside an open editor): one line, the title keeps its room, the path gives way. */\n@container (max-width: 600px) {\n .ta-session-header { flex-wrap: nowrap; gap: 4px; padding-left: 12px; padding-right: 8px; }\n .ta-session-title .ta-path { display: none; }\n}\n/* A message of the user that has pictures: the pictures and the words in one bubble, the pictures first\n and within the bubble's padding. */\n.ta-bubble-media { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 4px; white-space: normal; }\n.ta-bubble-media .ta-bubble-text { align-self: stretch; padding: 2px 10px 5px; white-space: pre-wrap; word-break: break-word; }\n/* Pictures alone: the bubble is what they are, so it has no frame of its own. */\n.ta-bubble-media.ta-bubble-bare, .ta-msg-bubble.ta-bubble-bare { padding: 0; background: transparent; }\n/* One picture keeps its own shape, a few stand as squares of one size: the sizes of a message, not of a page. */\n.ta-user-images { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 4px; max-width: 100%; }\n/* Several: in columns as a gallery of a reply has them (GalleryUtil.columns), four in two rows of two. */\n.ta-user-images:not([data-count='1']) { display: grid; grid-template-columns: repeat(var(--ta-user-image-columns, 3), 80px); }\n.ta-user-image { padding: 0; border: 0; border-radius: 12px; background: transparent; line-height: 0; cursor: zoom-in; overflow: hidden; transition: opacity 120ms; }\n.ta-user-image:active { opacity: 0.8; }\n.ta-user-images .ta-thumb { display: block; width: 80px; height: 80px; object-fit: cover; border-radius: 12px; background: var(--ta-raised); }\n.ta-user-images[data-count='1'] .ta-thumb { width: auto; height: auto; max-width: 220px; max-height: 280px; object-fit: contain; }\n/* An image still on its way (its bytes come once shown, TaShownImage), in its place: of its size when known. */\n.ta-thumb-waiting { background: var(--ta-raised); animation: ta-shimmer-soft 1.6s ease-in-out infinite; }\n/* A picture of a chat still on its way (ChatImages): its tiny thumbnail, blurred, in its place. */\n.ta-thumb-blurred { display: block; overflow: hidden; background: var(--ta-raised); }\n.ta-thumb-blurred img { display: block; width: 100%; height: 100%; object-fit: cover; filter: blur(8px) saturate(1.1); transform: scale(1.15); }\n.ta-user-images[data-count='1'] .ta-thumb-blurred:not([style]) { width: 160px; height: 120px; }\n.ta-user-images[data-count='1'] .ta-thumb-waiting:not([style]) { width: 160px; height: 120px; }\n.ta-user-image:disabled { cursor: default; opacity: 1; }\n@keyframes ta-shimmer-soft { 50% { opacity: 0.6; } }\n/*\n * Pictures sent together, folded as WeChat folds them (ImageStack): the first in its shape, two peeking from behind it,\n * smaller and dimmer, a pill beside it to unfold them, on the side away from the edge the message keeps to.\n */\n.ta-image-stack { display: flex; align-items: center; justify-content: flex-end; gap: 14px; max-width: 100%; }\n.ta-user-other .ta-image-stack, .trm-msg .ta-image-stack, .tac-msg .ta-image-stack { flex-direction: row-reverse; }\n.ta-stack-cards { position: relative; display: block; margin: 0 18px 4px; padding: 0; border: 0; background: transparent; line-height: 0; cursor: zoom-in; }\n.ta-stack-cards:disabled { cursor: default; }\n.ta-stack-card { display: block; object-fit: cover; border-radius: 12px; background: var(--ta-raised); box-shadow: 0 1px 3px rgb(0 0 0 / 0.12); }\n.ta-stack-front { position: relative; z-index: 2; }\n.ta-stack-left, .ta-stack-right { position: absolute; inset: 0; z-index: 1; filter: brightness(0.82); }\n.ta-stack-left { transform: translateX(-30px) scale(0.86); }\n.ta-stack-right { transform: translateX(30px) scale(0.86); }\n.ta-stack-unfold, .ta-stack-fold { flex: none; padding: 7px 14px; border: 0; border-radius: 999px; background: var(--ta-raised); color: var(--ta-secondary); font: inherit; font-size: calc(13px * var(--ta-font-scale)); line-height: 1.3; cursor: pointer; white-space: nowrap; }\n.ta-stack-unfold:hover, .ta-stack-fold:hover { color: var(--ta-text); }\n.ta-stack-fold { grid-column: 1 / -1; justify-self: end; margin-top: 2px; padding: 4px 12px; font-size: calc(12px * var(--ta-font-scale)); }\n.ta-user-other .ta-stack-fold, .trm-msg .ta-stack-fold, .tac-msg .ta-stack-fold { justify-self: start; }\n/* Pictures on their own, without a bubble to hold them: at the edge of the message, as a bubble is. */\n.ta-message > .ta-user-images, .ta-msg-user > .ta-user-images { justify-content: flex-end; max-width: 78%; }\n.ta-thumb { display: block; width: 72px; height: 72px; object-fit: cover; border-radius: 10px; border: 1px solid var(--ta-border); background: var(--ta-raised); }\n.ta-process { display: flex; flex-direction: column; }\n.ta-process-head { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 6px; margin-left: -6px; border: 0; border-radius: 8px; background: transparent; color: var(--ta-muted); font-size: calc(13px * var(--ta-font-scale)); transition: background 120ms, color 120ms; }\n@media (hover: hover) { .ta-process-head:hover { background: var(--ta-hover); color: var(--ta-secondary); } }\n.ta-process-active .ta-process-head { color: var(--ta-secondary); }\n.ta-process-chevron { transition: transform 150ms var(--ta-ease); }\n.ta-process-head[aria-expanded='true'] .ta-process-chevron { transform: rotate(90deg); }\n.ta-process-failed { color: var(--ta-muted); }\n/* The string of the steps runs under the middle of the avatar (24px wide): 12px in. */\n.ta-process-steps { position: relative; display: flex; flex-direction: column; gap: 2px; margin: 4px 0 4px 12px; padding: 2px 0 2px 13px; }\n/* The string runs from the first bead to the last, not past them. */\n.ta-process-steps::before { content: ''; position: absolute; left: -0.5px; top: calc(2px + 13px * var(--ta-font-scale)); bottom: calc(2px + 13px * var(--ta-font-scale)); width: 1px; background: var(--ta-border-muted); }\n/* The dots of the steps sit on the line, like beads on a string: each in a disc of the page's color that cuts the line. */\n.ta-process-steps .ta-status { position: absolute; left: -6px; border-radius: 50%; background: var(--ta-main); }\n/* A step of words is as high as a step of a tool when it has one line, its dot on the middle of that line: the steps keep one pitch. */\n.ta-step-text { color: var(--ta-secondary); font-size: calc(13.5px * var(--ta-font-scale)); line-height: 1.6; padding: calc(2.2px * var(--ta-font-scale)) 0; }\n.ta-step-text > .ta-status { margin-top: calc(0.8em - 6px); }\n.ta-step-toggle { display: flex; align-items: center; gap: 6px; width: calc(100% + 6px); min-width: 0; min-height: calc(26px * var(--ta-font-scale)); padding: 0 6px; margin-left: -6px; border: 0; border-radius: 6px; transition: background 120ms; background: transparent; text-align: left; color: var(--ta-muted); font-size: calc(13px * var(--ta-font-scale)); }\n.ta-step-tag { flex: none; color: var(--ta-text); }\n.ta-step-preview { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-step-chevron { flex: none; transition: transform 150ms var(--ta-ease); }\n.ta-step-toggle[aria-expanded='true'] .ta-step-chevron { transform: rotate(90deg); }\n.ta-step-thinking .ta-thinking-text, .ta-step-summary .ta-thinking-text { color: var(--ta-muted); font-size: calc(13px * var(--ta-font-scale)); padding: 2px 0 4px; }\n.ta-console-box { flex-direction: column; align-items: stretch; gap: 6px; padding: 8px; }\n.ta-console-box.ta-dragging { border-color: var(--ta-border-focus); border-style: dashed; }\n/* The field and its controls: the field's line is 1.55 of its font and 5px above and under it (layout.ts),\n and each control stands centred on its last line, the half of what the line is higher than it under it\n (--ta-control: the height of the control, 30px unless it says). */\n.ta-console-row { display: flex; align-items: flex-end; gap: 6px; --ta-field-font: calc(14px * var(--ta-font-scale)); --ta-field-height: calc(var(--ta-field-font) * 1.55 + 10px); }\n.ta-console-row > :not(textarea) { margin-bottom: max(0px, calc((var(--ta-field-height) - var(--ta-control, 30px)) / 2)); }\n.ta-console-row .ta-attach { width: 30px; height: 30px; }\n/* As high as its button, which the row centres (a block would add the line under it). */\n.ta-plus { position: relative; flex: none; display: flex; }\n.ta-plus-button { border-radius: 50%; background: var(--ta-hover); color: var(--ta-secondary); }\n.ta-plus-button:hover, .ta-plus-button.ta-on { background: var(--ta-hover-strong); color: var(--ta-text); }\n.ta-plus-button svg { transition: transform 150ms var(--ta-ease); }\n.ta-plus-button.ta-on svg { transform: rotate(45deg); }\n.ta-plus-menu { position: absolute; left: -2px; bottom: calc(100% + 10px); z-index: 20; display: flex; flex-direction: column; width: min(340px, calc(100vw - 32px)); padding: 8px 6px 6px; border: 1px solid var(--ta-border); border-radius: 14px; background: var(--ta-side); box-shadow: var(--ta-shadow-pop); animation: ta-plus-in 140ms var(--ta-ease); }\n/* Every entry a tile, a page of four by two at a time (PlusMenuUtil.PAGE), as WeChat's + panel: more of them is another page to swipe to, never a taller menu. */\n.ta-plus-pages { display: flex; flex: none; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }\n.ta-plus-pages::-webkit-scrollbar { display: none; }\n.ta-plus-page { flex: 0 0 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, auto); align-content: start; gap: 4px 2px; scroll-snap-align: start; scroll-snap-stop: always; }\n.ta-plus-tile { display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 0; padding: 6px 0 4px; border: 0; border-radius: 12px; background: none; color: var(--ta-text); font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }\n.ta-plus-tile-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--ta-hover); color: var(--ta-text); transition: background 120ms, color 120ms; }\n.ta-plus-tile-icon svg { width: 22px; height: 22px; stroke-width: 1.6; }\n/* A switch that is on: its icon lit in green. */\n.ta-plus-tile[aria-checked='true'] .ta-plus-tile-icon { background: color-mix(in srgb, var(--ta-green) 16%, transparent); color: var(--ta-green); }\n.ta-plus-tile:active:not(:disabled) .ta-plus-tile-icon { background: var(--ta-hover-strong); }\n@media (hover: hover) { .ta-plus-tile:hover:not(:disabled) .ta-plus-tile-icon { background: var(--ta-hover-strong); } }\n.ta-plus-tile:focus-visible { outline: none; background: var(--ta-hover); }\n.ta-plus-tile:disabled { opacity: 0.45; cursor: default; }\n.ta-plus-tile-label { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; max-width: 100%; padding: 0 2px; overflow: hidden; color: var(--ta-secondary); font-size: calc(11.5px * var(--ta-font-scale)); line-height: 1.3; text-align: center; text-wrap: balance; overflow-wrap: anywhere; }\n/* A setting or a switch: its label on one line, its value (the model, on or off) under it, quieter. */\n.ta-plus-valued .ta-plus-tile-label { -webkit-line-clamp: 1; }\n.ta-plus-tile-value { max-width: 100%; margin-top: -3px; padding: 0 2px; overflow: hidden; color: var(--ta-muted); font-size: calc(10.5px * var(--ta-font-scale)); line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }\n.ta-plus-dots { display: flex; flex: none; justify-content: center; gap: 2px; padding: 4px 0 0; }\n.ta-plus-dots button { position: relative; width: 16px; height: 12px; padding: 0; border: 0; background: none; cursor: pointer; }\n.ta-plus-dots button::after { content: ''; position: absolute; left: 5px; top: 3px; width: 6px; height: 6px; border-radius: 50%; background: var(--ta-hover-strong); transition: background 150ms; }\n.ta-plus-dots button.ta-on::after { background: var(--ta-secondary); }\n/* A list opened in the + menu, as every list to pick from (OptionList): a fixed width, that narrowing it does not change. */\n.ta-plus-list { width: 300px; }\n/*\n * On a phone the panel is under the box, in place of the keyboard, as WeChat's: part of the page, so the box and\n * the conversation rise with it as it unfolds and fall as it folds (the rows of a grid, from none of it to all).\n */\n.ta-plus-dock { display: grid; grid-template-rows: 1fr; animation: ta-plus-unfold 240ms var(--ta-ease) both; }\n.ta-plus-dock.ta-closing { animation: ta-plus-fold 200ms var(--ta-ease) both; }\n.ta-plus-dock-inner { min-height: 0; overflow: hidden; }\n/* One height whatever it shows (a page of tiles, the last page, a list), as the keyboard it stands for: the box does not move as one turns to another. */\n.ta-plus-dock .ta-plus-menu { position: static; box-sizing: border-box; width: auto; max-width: none; height: 240px; padding: 14px 0 0; border: 0; border-radius: 0; background: var(--ta-main); box-shadow: none; animation: none; }\n.ta-plus-dock .ta-plus-page { gap: 10px 2px; }\n.ta-plus-dock .ta-plus-dots { padding-top: 10px; }\n.ta-plus-dock .ta-plus-pages { flex: 1; min-height: 0; }\n/*\n * A list opened in the panel (the models) as the grouped lists of iOS: under a title with its way back, a search\n * on a raised field, the entries on a raised card of rounded corners with hairlines between them, each group's\n * name above its card and sticking on top on the page's color, the one picked checked on the right.\n */\n.ta-plus-dock .ta-plus-list { padding-top: 6px; }\n.ta-plus-dock .ta-plus-back { height: 34px; margin-bottom: 6px; padding: 0 2px; color: var(--ta-text); font-size: calc(15px * var(--ta-font-scale)); }\n.ta-plus-dock .ta-plus-back svg { color: var(--ta-secondary); }\n.ta-plus-dock .ta-pick { display: flex; flex-direction: column; flex: 1; min-height: 0; }\n.ta-plus-dock .ta-pick-search { height: 36px; margin-bottom: 2px; border-radius: 10px; background: var(--ta-raised); }\n.ta-plus-dock .ta-pick-list { flex: 1; min-height: 0; max-height: none; padding-bottom: 10px; }\n.ta-plus-dock .ta-pick-section + .ta-pick-section { margin-top: 0; }\n.ta-plus-dock .ta-pick-group { padding: 12px 14px 6px; color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); font-weight: 400; }\n.ta-plus-dock .ta-pick-list > .ta-pick-section:first-child > :first-child { margin-top: 8px; }\n.ta-plus-dock .ta-pick-list > .ta-pick-section:first-child > .ta-pick-group { margin-top: 0; padding-top: 6px; }\n.ta-plus-dock .ta-pick-item { min-height: 46px; padding: 0 14px; border-radius: 0; background: var(--ta-raised); }\n.ta-plus-dock .ta-pick-item + .ta-pick-item { box-shadow: inset 14px 0 0 var(--ta-raised), inset 0 0.5px 0 var(--ta-border); }\n.ta-plus-dock .ta-pick-group + .ta-pick-item, .ta-plus-dock .ta-pick-section > .ta-pick-item:first-child { border-top-left-radius: 12px; border-top-right-radius: 12px; }\n.ta-plus-dock .ta-pick-item:last-child { border-bottom-left-radius: 12px; border-bottom-right-radius: 12px; }\n.ta-plus-dock .ta-pick-item[data-active='true']:not(:disabled) { background: var(--ta-raised); }\n.ta-plus-dock .ta-pick-item:active:not(:disabled) { background: var(--ta-hover-strong); }\n.ta-plus-dock .ta-pick-check { color: var(--ta-green); }\n@keyframes ta-plus-unfold { from { grid-template-rows: 0fr; opacity: 0; } }\n@keyframes ta-plus-fold { to { grid-template-rows: 0fr; opacity: 0; } }\n.ta-plus-back { display: flex; align-items: center; gap: 4px; width: 100%; height: 32px; margin-bottom: 4px; padding: 0 6px; border: 0; border-radius: 8px; background: none; color: var(--ta-secondary); font: inherit; font-size: calc(13px * var(--ta-font-scale)); font-weight: 600; cursor: pointer; }\n.ta-plus-back:hover { background: var(--ta-hover); color: var(--ta-text); }\n\n/* OptionList: wherever one of a list is picked (a model, a level), in the + menu or a popover of a field. */\n.ta-pick { display: flex; flex-direction: column; min-height: 0; background: inherit; }\n.ta-pick-search { display: flex; align-items: center; gap: 8px; flex: none; height: 34px; margin-bottom: 4px; padding: 0 10px; border-radius: 9px; background: var(--ta-hover); color: var(--ta-muted); cursor: text; }\n.ta-pick-search:focus-within { color: var(--ta-secondary); }\n.ta-pick-search input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; background: none; color: var(--ta-text); font: inherit; font-size: calc(13px * var(--ta-font-scale)); outline: none; }\n.ta-pick-search input::placeholder { color: var(--ta-muted); }\n.ta-pick-list { position: relative; max-height: min(360px, 56vh); overflow-y: auto; background: inherit; }\n.ta-pick-section { background: inherit; }\n.ta-pick-section + .ta-pick-section { margin-top: 2px; }\n.ta-pick-group { position: sticky; top: 0; z-index: 1; padding: 8px 10px 4px; background: inherit; color: var(--ta-muted); font-size: calc(11.5px * var(--ta-font-scale)); font-weight: 500; }\n.ta-pick-item { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 34px; padding: 0 10px; border: 0; border-radius: 8px; background: none; color: var(--ta-text); font: inherit; font-size: calc(13.5px * var(--ta-font-scale)); text-align: left; cursor: pointer; }\n.ta-pick-item[data-active='true']:not(:disabled), .ta-pick-item:focus-visible { background: var(--ta-hover); outline: none; }\n.ta-pick-item:disabled { opacity: 0.45; cursor: default; }\n.ta-pick-item[aria-selected='true'] { font-weight: 500; }\n.ta-pick-icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 18px; color: var(--ta-secondary); }\n.ta-pick-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-pick-detail { flex: none; max-width: 40%; overflow: hidden; color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); text-overflow: ellipsis; white-space: nowrap; }\n.ta-pick-check { flex: none; color: var(--ta-accent); }\n.ta-popover { position: fixed; z-index: 95; padding: 6px; border: 1px solid var(--ta-border); border-radius: 14px; background: var(--ta-side); box-shadow: var(--ta-shadow-pop); animation: ta-plus-in 140ms var(--ta-ease); }\n.ta-model-popover { display: flex; flex-direction: column; }\n.ta-model-popover > .ta-pick, .ta-model-popover .ta-pick-list { flex: 1; min-height: 0; }\n/* The field that opens the list of the models (ModelPicker), as a select of the page. */\n.ta-model-field { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--ta-text); text-align: left; cursor: pointer; }\n.ta-model-field > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-model-field > svg { flex: none; color: var(--ta-muted); transition: transform 150ms var(--ta-ease); }\n.ta-model-field.ta-on { border-color: var(--ta-border-focus); }\n.ta-model-field.ta-on > svg { transform: rotate(180deg); }\n.ta-model-field:disabled { cursor: default; opacity: 0.6; }\n.ta-model-field-default { color: var(--ta-secondary); }\n@keyframes ta-plus-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }\n.ta-console-composer textarea { padding: 5px 2px; }\n/* A long placeholder stays on one line, so the empty box keeps its height beside the controls of the +. */\n.ta-console-composer textarea:placeholder-shown { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n.ta-console-composer textarea::placeholder { text-overflow: ellipsis; }\n.ta-send-stop { background: var(--ta-text); color: var(--ta-main); }\n/* Stop pressed, the run not ended yet: a spinner in the colors of the button. */\n.ta-send-stopping { cursor: progress; }\n.ta-send-stopping .ta-spinner { border-color: color-mix(in srgb, var(--ta-main) 35%, transparent); border-top-color: var(--ta-main); }\n.ta-attachments { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 2px 0; }\n.ta-attachment { position: relative; }\n.ta-attachment .ta-thumb { width: 56px; height: 56px; }\n/* An image being read: a shimmer until its thumbnail paints over it, then a veil and a spinner until it can be sent. */\n.ta-attachment-loading .ta-thumb { background: linear-gradient(100deg, var(--ta-raised) 30%, var(--ta-hover) 50%, var(--ta-raised) 70%) 0 0 / 200% 100%; animation: ta-shimmer 1.2s linear infinite; }\n.ta-attachment-spinner { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 10px; background: color-mix(in srgb, var(--ta-main) 55%, transparent); animation: ta-fade 150ms; }\n.ta-attachment img.ta-thumb { animation: ta-fade 150ms; }\n.ta-attachment-remove { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--ta-border); background: var(--ta-raised); color: var(--ta-secondary); padding: 0; }\n.ta-attachment-remove:hover { color: var(--ta-text); }\n.ta-commands { max-height: 280px; overflow-y: auto; }\n.ta-command-label { flex: none; font-family: var(--ta-mono); font-size: calc(12.5px * var(--ta-font-scale)); color: var(--ta-text); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-commands-note { right: auto; padding: 0; border-color: var(--ta-border-muted); box-shadow: none; }\n.ta-command-note { padding: 5px 10px; font-size: calc(12px * var(--ta-font-scale)); color: var(--ta-muted); white-space: nowrap; }\n/* The messages waiting for the agent: a header with their count, then a line for each, its actions on hover. */\n.ta-queue { display: flex; flex-direction: column; margin: 0 14px; padding: 3px 4px; border-radius: 12px 12px 0 0; border: 1px solid var(--ta-border-field); border-bottom: 0; background: var(--ta-side); font-size: calc(13px * var(--ta-font-scale)); color: var(--ta-body); animation: ta-fade 120ms ease-out; }\n.ta-queue-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 2px 4px 0 8px; color: var(--ta-muted); font-size: calc(11.5px * var(--ta-font-scale)); }\n.ta-queue-all { border: 0; background: none; padding: 2px 4px; border-radius: 6px; color: var(--ta-muted); font-size: calc(11.5px * var(--ta-font-scale)); transition: color 120ms, background 120ms; }\n.ta-queue-all:hover { color: var(--ta-text); background: var(--ta-hover); }\n.ta-queue-row { display: flex; align-items: center; gap: 8px; min-width: 0; height: 30px; padding: 0 2px 0 8px; border-radius: 8px; transition: background 120ms; }\n.ta-queue-row:hover { background: var(--ta-hover); }\n.ta-queue-kind { flex: none; display: inline-flex; align-items: center; gap: 4px; color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); }\n.ta-queue-row > .ta-origin { flex: none; max-width: 40%; }\n.ta-queue-row > .ta-origin .ta-origin-detail { display: none; }\n.ta-queue-text { flex: 1; min-width: 0; color: var(--ta-text); }\n.ta-queue-actions { flex: none; display: flex; gap: 2px; opacity: 0; transition: opacity 120ms; }\n.ta-queue-row:hover .ta-queue-actions, .ta-queue-actions:focus-within { opacity: 1; }\n.ta-queue-actions .ta-icon-button { width: 24px; height: 24px; border-radius: 6px; color: var(--ta-muted); }\n.ta-queue-actions .ta-icon-button:hover { background: var(--ta-hover-strong); color: var(--ta-text); }\n@media (hover: none) { .ta-queue-actions { opacity: 1; } }\n.ta-account { position: relative; display: grid; place-items: center; width: 40px; height: 40px; flex: none; }\n.ta-account-button { position: relative; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 10px; background: transparent; padding: 0; transition: background 150ms; }\n.ta-account-button:hover, .ta-account-button.ta-on { background: var(--ta-hover); }\n.ta-account-figure { flex: none; user-select: none; }\n.ta-account-dot { position: absolute; right: 5px; bottom: 5px; width: 8px; height: 8px; border-radius: 50%; background: var(--ta-yellow); box-shadow: 0 0 0 2px var(--ta-side); }\n.ta-account-menu { position: absolute; left: calc(100% + 10px); bottom: 0; z-index: 45; width: 248px; display: flex; flex-direction: column; gap: 2px; padding: 6px; border-radius: 12px; border: 1px solid var(--ta-border); background: var(--ta-side); box-shadow: var(--ta-shadow-pop); animation: ta-fade 120ms ease-out; }\n.ta-account-head { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 8px 10px; min-width: 0; border: 0; border-radius: 8px; background: transparent; color: inherit; font: inherit; text-align: left; transition: background 150ms; }\n.ta-account-head:hover, .ta-account-head:focus-visible { background: var(--ta-hover); }\n.ta-account-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; line-height: 1.35; }\n.ta-account-title { font-size: calc(13.5px * var(--ta-font-scale)); font-weight: 600; color: var(--ta-text); }\n.ta-account-sub { font-size: calc(12px * var(--ta-font-scale)); color: var(--ta-muted); }\n.ta-account-service { display: flex; align-items: center; gap: 8px; height: 32px; margin: 0 2px 2px; padding: 0 10px; border-radius: 8px; background: var(--ta-raised); font-size: calc(12.5px * var(--ta-font-scale)); color: var(--ta-secondary); }\n.ta-account-service-name { flex: 1; min-width: 0; }\n.ta-account-service-state { flex: none; font-size: calc(12px * var(--ta-font-scale)); color: var(--ta-muted); font-variant-numeric: tabular-nums; }\n.ta-account-state { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--ta-muted); }\n.ta-account-state.ta-ok { background: var(--ta-green); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ta-green) 18%, transparent); }\n.ta-account-state.ta-warn { background: var(--ta-yellow); }\n.ta-account-sep { height: 1px; margin: 4px 2px; background: var(--ta-border-muted); }\n.ta-account-item { display: flex; align-items: center; gap: 10px; height: 32px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; text-align: left; font-size: calc(13px * var(--ta-font-scale)); color: var(--ta-text); }\n.ta-account-item > svg, .ta-account-item > .ta-icon { flex: none; color: var(--ta-secondary); }\n.ta-account-item:hover { background: var(--ta-hover); }\n.ta-account-item.ta-danger { color: var(--ta-red); }\n@media (max-width: 860px), (max-height: 500px) and (pointer: coarse) {\n .ta-account-menu { left: 0; bottom: calc(100% + 8px); width: min(300px, calc(100vw - 24px)); }\n .ta-message > .ta-user-images, .ta-msg-user > .ta-user-images { max-width: 88%; }\n}\n";
|
|
3
3
|
//# sourceMappingURL=conversation-column.d.ts.map
|
|
@@ -52,9 +52,30 @@ exports.CONVERSATION_COLUMN_STYLE = `
|
|
|
52
52
|
.ta-user-images[data-count='1'] .ta-thumb { width: auto; height: auto; max-width: 220px; max-height: 280px; object-fit: contain; }
|
|
53
53
|
/* An image still on its way (its bytes come once shown, TaShownImage), in its place: of its size when known. */
|
|
54
54
|
.ta-thumb-waiting { background: var(--ta-raised); animation: ta-shimmer-soft 1.6s ease-in-out infinite; }
|
|
55
|
+
/* A picture of a chat still on its way (ChatImages): its tiny thumbnail, blurred, in its place. */
|
|
56
|
+
.ta-thumb-blurred { display: block; overflow: hidden; background: var(--ta-raised); }
|
|
57
|
+
.ta-thumb-blurred img { display: block; width: 100%; height: 100%; object-fit: cover; filter: blur(8px) saturate(1.1); transform: scale(1.15); }
|
|
58
|
+
.ta-user-images[data-count='1'] .ta-thumb-blurred:not([style]) { width: 160px; height: 120px; }
|
|
55
59
|
.ta-user-images[data-count='1'] .ta-thumb-waiting:not([style]) { width: 160px; height: 120px; }
|
|
56
60
|
.ta-user-image:disabled { cursor: default; opacity: 1; }
|
|
57
61
|
@keyframes ta-shimmer-soft { 50% { opacity: 0.6; } }
|
|
62
|
+
/*
|
|
63
|
+
* Pictures sent together, folded as WeChat folds them (ImageStack): the first in its shape, two peeking from behind it,
|
|
64
|
+
* smaller and dimmer, a pill beside it to unfold them, on the side away from the edge the message keeps to.
|
|
65
|
+
*/
|
|
66
|
+
.ta-image-stack { display: flex; align-items: center; justify-content: flex-end; gap: 14px; max-width: 100%; }
|
|
67
|
+
.ta-user-other .ta-image-stack, .trm-msg .ta-image-stack, .tac-msg .ta-image-stack { flex-direction: row-reverse; }
|
|
68
|
+
.ta-stack-cards { position: relative; display: block; margin: 0 18px 4px; padding: 0; border: 0; background: transparent; line-height: 0; cursor: zoom-in; }
|
|
69
|
+
.ta-stack-cards:disabled { cursor: default; }
|
|
70
|
+
.ta-stack-card { display: block; object-fit: cover; border-radius: 12px; background: var(--ta-raised); box-shadow: 0 1px 3px rgb(0 0 0 / 0.12); }
|
|
71
|
+
.ta-stack-front { position: relative; z-index: 2; }
|
|
72
|
+
.ta-stack-left, .ta-stack-right { position: absolute; inset: 0; z-index: 1; filter: brightness(0.82); }
|
|
73
|
+
.ta-stack-left { transform: translateX(-30px) scale(0.86); }
|
|
74
|
+
.ta-stack-right { transform: translateX(30px) scale(0.86); }
|
|
75
|
+
.ta-stack-unfold, .ta-stack-fold { flex: none; padding: 7px 14px; border: 0; border-radius: 999px; background: var(--ta-raised); color: var(--ta-secondary); font: inherit; font-size: calc(13px * var(--ta-font-scale)); line-height: 1.3; cursor: pointer; white-space: nowrap; }
|
|
76
|
+
.ta-stack-unfold:hover, .ta-stack-fold:hover { color: var(--ta-text); }
|
|
77
|
+
.ta-stack-fold { grid-column: 1 / -1; justify-self: end; margin-top: 2px; padding: 4px 12px; font-size: calc(12px * var(--ta-font-scale)); }
|
|
78
|
+
.ta-user-other .ta-stack-fold, .trm-msg .ta-stack-fold, .tac-msg .ta-stack-fold { justify-self: start; }
|
|
58
79
|
/* Pictures on their own, without a bubble to hold them: at the edge of the message, as a bubble is. */
|
|
59
80
|
.ta-message > .ta-user-images, .ta-msg-user > .ta-user-images { justify-content: flex-end; max-width: 78%; }
|
|
60
81
|
.ta-thumb { display: block; width: 72px; height: 72px; object-fit: cover; border-radius: 10px; border: 1px solid var(--ta-border); background: var(--ta-raised); }
|
|
@@ -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.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/* A row of its own, not above a reply. */\n.ta-resume-break { margin-bottom: 0; }\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/* 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-chevron { flex-shrink: 0; transition: transform 160ms; }\n.ta-compaction-mark[aria-expanded=\"true\"] .ta-compaction-chevron { transform: rotate(90deg); }\n.ta-compaction-summary { align-self: stretch; margin-top: 10px; padding: 10px 14px; border-radius: 10px; background: var(--ta-chip); color: var(--ta-secondary); font-size: calc(13px * var(--ta-font-scale)); }\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 hr { border: 0; border-top: 1px solid var(--ta-border-muted); margin: 16px 0; }\n.ta-markdown a:hover { text-decoration: underline; text-underline-offset: 2px; }\n.ta-link-path { display: inline; border: 0; background: none; padding: 0; margin: 0; font: inherit; color: var(--ta-link); text-align: inherit; cursor: pointer; overflow-wrap: anywhere; }\n.ta-link-path:hover { text-decoration: underline; text-underline-offset: 2px; }\n.ta-link-path:focus-visible { outline: 2px solid var(--ta-border-focus); outline-offset: 1px; border-radius: 3px; }\n.ta-markdown .ta-link-code code { color: var(--ta-link); }\n.ta-link-code:hover { text-decoration: none; }\n.ta-link-code:hover code { text-decoration: underline; text-underline-offset: 2px; }\n.ta-modal.ta-link-dialog { width: min(520px, 100%); }\n.ta-link-dialog .ta-confirm-title { display: flex; align-items: center; gap: 8px; }\n.ta-link-address { margin: 4px 0 0; padding: 8px 10px; border-radius: 8px; background: var(--ta-chip); font-family: var(--ta-mono); font-size: calc(12.5px * var(--ta-font-scale)); line-height: 1.5; overflow-wrap: anywhere; max-height: 120px; overflow: auto; }\n.ta-link-address strong { color: var(--ta-text); font-weight: 600; }\n.ta-link-dialog .ta-dialog-actions { flex-wrap: wrap; align-items: center; row-gap: 10px; }\n.ta-link-more { display: flex; align-items: center; gap: 14px; margin-right: auto; min-width: 0; }\n.ta-link-more .ta-link { font-size: calc(13px * var(--ta-font-scale)); }\n.ta-link-more .ta-link:hover { text-decoration: underline; text-underline-offset: 2px; }\n/* A table: short cells keep to one line, long ones (ta-cell-long) wrap from a width that reads; wider than the\n conversation, it scrolls in its frame rather than squeezes its columns to a character a line. */\n.ta-table { overflow-x: auto; overscroll-behavior-x: contain; margin: 0 0 10px; border-radius: 10px; border: 1px solid var(--ta-border); }\n.ta-table table { border-collapse: collapse; font-size: calc(13px * var(--ta-font-scale)); width: 100%; line-height: 1.55; font-variant-numeric: tabular-nums; }\n.ta-table th, .ta-table td { border-bottom: 1px solid var(--ta-border-muted); padding: 7px 12px; text-align: left; vertical-align: top; white-space: nowrap; }\n.ta-table td.ta-cell-long { white-space: normal; min-width: 14em; }\n.ta-table [data-align='center'] { text-align: center; }\n.ta-table [data-align='right'] { text-align: right; }\n.ta-table :not(pre) > code { overflow-wrap: normal; }\n.ta-table tr:last-child td { border-bottom: 0; }\n.ta-table th { background: var(--ta-raised); font-weight: 600; color: var(--ta-text); }\n.ta-code { border: 1px solid var(--ta-border); border-radius: 10px; overflow: hidden; background: var(--ta-code); margin: 0 0 10px; line-height: 1.55; }\n.ta-code-bar { display: flex; justify-content: space-between; align-items: center; height: 30px; padding: 0 10px 0 12px; font-size: calc(12px * var(--ta-font-scale)); color: var(--ta-muted); border-bottom: 1px solid var(--ta-border-muted); }\n.ta-code-editor { position: relative; flex: 1; width: 100%; height: 100%; min-height: 0; background: var(--ta-code); }\n.ta-code-editor-host { position: absolute; inset: 0; }\n.ta-game { position: relative; flex: 1; width: 100%; height: 100%; min-height: 0; overflow: hidden; outline: none; touch-action: none; overscroll-behavior: contain; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }\n.ta-game canvas { display: block; }\n/* While its engine loads, once it took a moment. */\n.ta-game-cover { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; pointer-events: none; }\n/* What a web extension shows over all of the page (ui.FullScreen): under the notch, above the keyboard, below the title bar of the app, under notices and menus. */\n.ta-full-screen { position: fixed; left: 0; right: 0; top: var(--ta-titlebar, 0px); z-index: 45; display: flex; flex-direction: column; height: calc(var(--ta-viewport, 100dvh) - var(--ta-titlebar, 0px)); overflow: hidden; background: var(--ta-main); color: var(--ta-text); overscroll-behavior: none; touch-action: none; }\n:root[data-keyboard] .ta-full-screen { height: calc(var(--ta-viewport, calc(100dvh - var(--ta-keyboard, 0px))) - var(--ta-titlebar, 0px)); }\n.ta-code-editor-state { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 16px; color: var(--ta-muted); font-size: calc(13px * var(--ta-font-scale)); }\n/* A terminal (WebTerminal) fills the element it is attached to, which must have a size and position: relative. */\n.ta-terminal { position: absolute; inset: 0; background: var(--ta-code); }\n/* The padding is the terminal's own: xterm.js fits its rows and columns inside it. */\n.ta-terminal .xterm { height: 100%; padding: 10px 4px 6px 14px; }\n.ta-terminal .xterm-viewport { background: transparent !important; }\n.ta-terminal .xterm-helper-textarea { caret-color: transparent; }\n.ta-code pre { margin: 0; padding: 10px 12px; overflow-x: auto; overscroll-behavior-x: contain; color: var(--ta-body); }\n.ta-code-actions { display: flex; align-items: center; gap: 2px; }\n.ta-code-actions .ta-icon-button { width: 24px; height: 24px; border-radius: 6px; color: var(--ta-muted); }\n.ta-code-actions .ta-icon-button:hover { color: var(--ta-text); }\n.ta-code-actions .ta-icon { width: 14px; height: 14px; }\n.ta-code:has(> .ta-code-float) { position: relative; }\n.ta-code-float { position: absolute; top: 6px; right: 6px; opacity: 0; transition: opacity 120ms; }\n.ta-code:hover > .ta-code-float, .ta-code-float:focus-within { opacity: 1; }\n.ta-code-float .ta-icon-button { background: var(--ta-code); }\n.ta-math-block { margin: 0 0 10px; padding: 2px 0; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; text-align: center; }\n.ta-math-block .katex-display { margin: 0; }\n.ta-markdown .katex { font-size: 1.1em; }\n.ta-math-source { font-family: var(--ta-mono); font-size: calc(12.5px * var(--ta-font-scale)); color: var(--ta-secondary); }\ndiv.ta-math-source { white-space: pre-wrap; text-align: left; padding: 8px 12px; border-radius: 10px; background: var(--ta-code); }\n.ta-mermaid-diagram { display: flex; justify-content: center; padding: 16px; overflow: auto; }\n.ta-mermaid-diagram svg { max-width: 100%; height: auto; }\n.ta-mermaid-room { width: 100%; }\n/* A diagram that comes in (DiagramStyle motion) does so once: not again as a streamed source draws longer. */\n.ta-mermaid-settled .ta-mermaid-diagram svg :is(.node, .edgeLabel) { animation: none !important; }\n:root[data-reduce-motion] .ta-mermaid-diagram svg * { animation: none !important; }\n.ta-mermaid:fullscreen { display: flex; flex-direction: column; border: 0; border-radius: 0; background: var(--ta-main); }\n.ta-mermaid:fullscreen .ta-mermaid-diagram { flex: 1; align-items: center; }\n.ta-mermaid:fullscreen .ta-mermaid-diagram svg { width: 100%; height: 100%; max-width: none !important; }\n.ta-mermaid:fullscreen pre { flex: 1; }\n.ta-media { display: block; max-width: 100%; margin: 6px 0 10px; border-radius: 10px; }\n.ta-media-image { padding: 0; border: 1px solid var(--ta-border-muted); background: var(--ta-code); overflow: hidden; cursor: zoom-in; line-height: 0; width: fit-content; }\n.ta-media-image img { display: block; max-width: 100%; max-height: 420px; object-fit: contain; }\n.ta-media-image.ta-media-pending { width: 240px; height: 135px; border-color: transparent; background: var(--ta-raised); }\n.ta-media-image.ta-media-pending img { opacity: 0; }\n.ta-media-video { width: 560px; max-height: 420px; background: #000; }\n.ta-media-audio { width: 360px; height: 40px; }\n.ta-media-loading { display: block; width: 240px; max-width: 100%; height: 135px; margin: 6px 0 10px; border-radius: 10px; background: var(--ta-raised); }\n.ta-media-loading.ta-media-audio { height: 40px; }\n/* Pictures of a reply together (components/gallery.tsx): rows as wide as the reply, each picture whole and a row as tall (GalleryUtil.rows), the words that name each under it. */\n.ta-gallery { display: flex; flex-direction: column; gap: 6px; margin: 8px 0 12px; }\n.ta-gallery-row { display: flex; gap: inherit; }\n.ta-gallery-item { display: flex; flex: none; flex-direction: column; gap: 5px; min-width: 0; margin: 0; }\n.ta-gallery-tile { position: relative; display: block; width: 100%; height: var(--ta-gallery-row); padding: 0; border: 1px solid var(--ta-border-muted); border-radius: 8px; overflow: hidden; background: var(--ta-raised); line-height: 0; cursor: zoom-in; -webkit-tap-highlight-color: transparent; transition: opacity 120ms; }\n.ta-gallery-tile img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 240ms var(--ta-ease), opacity 160ms; }\n.ta-gallery-tile:hover img { transform: scale(1.03); }\n.ta-gallery-tile:active { opacity: 0.85; }\n.ta-gallery-tile:disabled { cursor: default; }\n.ta-gallery-pending { border-color: transparent; animation: ta-shimmer-soft 1.6s ease-in-out infinite; }\n.ta-gallery-pending img { opacity: 0; }\n.ta-gallery-missing { display: grid; place-items: center; color: var(--ta-muted); cursor: default; }\n.ta-gallery-more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, 0.48); color: #fff; font-size: calc(20px * var(--ta-font-scale)); font-weight: 600; line-height: 1; }\n.ta-gallery-caption { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; color: var(--ta-secondary); font-size: calc(12px * var(--ta-font-scale)); line-height: 1.4; text-align: center; }\n@media (max-width: 860px), (max-height: 500px) and (pointer: coarse) { .ta-gallery { gap: 4px; } }\n.ta-media-missing { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border-radius: 6px; background: var(--ta-chip); color: var(--ta-muted); font-size: calc(12.5px * var(--ta-font-scale)); vertical-align: middle; }\n/* A picture that zooms (image-zoom.ts): what scrolls is the box; the picture sits in it where ImageZoom puts it. */\n.ta-zoom { position: relative; display: flex; flex: 1; width: 100%; min-width: 0; min-height: 0; overflow: hidden; }\n/* What a finger swipes to the picture beside (image-swipe.ts): the box that scrolls, and the pictures beside it at its sides, as large as it shows them at first. */\n.ta-zoom-track { position: relative; display: flex; flex: 1; min-width: 0; min-height: 0; }\n.ta-zoom-peek { position: absolute; top: 0; width: 100%; height: 100%; padding: 16px; box-sizing: border-box; object-fit: contain; pointer-events: none; -webkit-user-drag: none; }\n.ta-zoom-peek-previous { right: calc(100% + 20px); }\n.ta-zoom-peek-next { left: calc(100% + 20px); }\n.ta-zoom-viewport { flex: 1; min-width: 0; min-height: 0; overflow: auto; overscroll-behavior: contain; touch-action: pan-x pan-y; outline: none; scrollbar-width: thin; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }\n.ta-zoom-stage { position: relative; }\n.ta-zoom-stage img { position: absolute; top: 0; left: 0; max-width: none; max-height: none; transform-origin: 0 0; cursor: zoom-in; -webkit-user-drag: none; }\n.ta-zoom-stage img:not([data-ready]) { opacity: 0; }\n/* Loading, or why it does not show: in the middle of the box, whatever scrolls. */\n.ta-zoom-status { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 16px; text-align: center; color: var(--ta-muted); font-size: calc(13px * var(--ta-font-scale)); pointer-events: none; }\n.ta-lightbox .ta-zoom-status { color: rgba(255, 255, 255, 0.7); }\n.ta-zoom-stage img.ta-zoom-pixelated { image-rendering: pixelated; }\n.ta-zoom-viewport[data-zoomed='true'] img { cursor: grab; }\n.ta-zoom-viewport[data-dragging], .ta-zoom-viewport[data-dragging] img { cursor: grabbing; }\n.ta-zoom-bar { position: absolute; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 4px; padding: 5px 6px; border: 1px solid var(--ta-border); border-radius: 12px; background: color-mix(in srgb, var(--ta-card) 90%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.16); color: var(--ta-secondary); transform: translateX(-50%); transition: opacity 160ms; }\n.ta-zoom-bar button { display: inline-grid; place-items: center; width: 34px; height: 32px; padding: 0; border: 0; border-radius: 8px; background: none; color: inherit; }\n.ta-zoom-bar button:hover:not(:disabled) { background: var(--ta-hover); color: var(--ta-text); }\n.ta-zoom-bar button:disabled { opacity: 0.4; }\n.ta-zoom-scale { min-width: 52px; padding: 0 4px; text-align: center; font-size: calc(13.5px * var(--ta-font-scale)); font-variant-numeric: tabular-nums; -webkit-user-select: none; user-select: none; }\n/* The pictures beside it (of a folder, of a message), at its sides. */\n.ta-zoom-nav { position: absolute; top: 50%; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--ta-border); border-radius: 50%; background: color-mix(in srgb, var(--ta-card) 90%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14); color: var(--ta-secondary); transform: translateY(-50%); transition: opacity 160ms, background 120ms, color 120ms; }\n.ta-zoom-nav:hover:not(:disabled) { background: var(--ta-card); color: var(--ta-text); }\n.ta-zoom-nav:disabled { opacity: 0.35; }\n.ta-zoom-previous { left: calc(12px + env(safe-area-inset-left)); }\n.ta-zoom-next { right: calc(12px + env(safe-area-inset-right)); }\n/* With a mouse, the buttons show while the pointer is over the picture; on a touch screen always. */\n:root:not([data-touch]) .ta-zoom:not(:hover):not(:focus-within) :is(.ta-zoom-bar, .ta-zoom-nav) { opacity: 0; }\n.ta-lightbox { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: #f5f5f5; app-region: no-drag; -webkit-app-region: no-drag; }\n.ta-lightbox[open] { display: flex; }\n.ta-lightbox::backdrop { background: rgba(0, 0, 0, 0.86); }\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-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.ta-file-chip { padding: 0 6px; border-radius: 5px; background: var(--ta-hover); font-family: var(--ta-mono); font-size: calc(12px * var(--ta-font-scale)); color: var(--ta-body); }\n.ta-tool-chevron { flex: none; width: 13px; margin-left: auto; color: var(--ta-muted); opacity: 0; transition: transform 150ms var(--ta-ease), opacity 120ms; }\nbutton.ta-tool-title:hover:not(:disabled) .ta-tool-chevron, button.ta-tool-title[aria-expanded='true'] .ta-tool-chevron { opacity: 1; }\nbutton.ta-tool-title[aria-expanded='true'] .ta-tool-chevron { transform: rotate(90deg); }\n.ta-tool-body { margin: 2px 0 6px; display: flex; flex-direction: column; gap: 6px; min-width: 0; animation: ta-in 180ms var(--ta-ease); }\n.ta-tool-body > .ta-output { padding: 8px 12px; border: 1px solid var(--ta-border-muted); border-radius: 10px; background: var(--ta-code); }\n.ta-tool-body .ta-code { margin: 0; }\n.ta-tool-group { display: flex; flex-direction: column; min-width: 0; }\n.ta-tool-trailing { flex: none; width: 24px; display: grid; place-items: center; }\n.ta-tool-script { width: 24px; height: 24px; display: grid; place-items: center; border: 0; border-radius: 6px; background: transparent; color: var(--ta-muted); opacity: 0; transition: opacity 120ms, background 120ms, color 120ms; }\n.ta-tool-group:hover .ta-tool-script, .ta-tool-script:focus-visible, .ta-tool-script.ta-on { opacity: 1; }\n.ta-tool-script:hover, .ta-tool-script.ta-on { background: var(--ta-hover); color: var(--ta-text); }\n.ta-output pre, pre.ta-output { margin: 0; white-space: pre-wrap; word-break: break-word; max-height: 320px; overflow: auto; color: var(--ta-secondary); font-size: calc(12px * var(--ta-font-scale)); line-height: 1.55; }\n.ta-error { color: var(--ta-red) !important; }\n/* What a tool returned, read as a person reads it: keys small and muted beside or above their values. */\n.ta-result { display: flex; flex-direction: column; gap: 8px; min-width: 0; font-size: calc(12px * var(--ta-font-scale)); line-height: 1.55; color: var(--ta-secondary); }\n.ta-result-entries { display: flex; flex-direction: column; gap: 6px; min-width: 0; }\n.ta-result-entries .ta-result-entries { padding-left: 10px; border-left: 1px solid var(--ta-border-muted); }\n.ta-result-entry { display: flex; flex-direction: column; gap: 2px; min-width: 0; }\n.ta-result-inline { flex-direction: row; align-items: baseline; gap: 8px; }\n.ta-result-key { flex: none; max-width: 40%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--ta-mono); font-size: calc(11px * var(--ta-font-scale)); color: var(--ta-muted); }\n.ta-result-entry:not(.ta-result-inline) > .ta-result-key { max-width: 100%; }\n.ta-result-atom { min-width: 0; font-family: var(--ta-mono); color: var(--ta-body); overflow-wrap: anywhere; }\n.ta-result-block { min-width: 0; }\n.ta-result-text { white-space: pre-wrap; overflow-wrap: anywhere; font-family: var(--ta-mono); }\n.ta-result-chips { display: flex; flex-wrap: wrap; gap: 4px; min-width: 0; }\n.ta-result-chips > .ta-result-atom { padding: 0 6px; border-radius: 5px; background: var(--ta-hover); }\n.ta-result-shell { display: flex; flex-direction: column; gap: 4px; min-width: 0; }\n.ta-result-stderr pre { color: var(--ta-muted); }\n.ta-result-badge { align-self: flex-start; padding: 0 6px; border-radius: 5px; font-family: var(--ta-mono); font-size: calc(11px * var(--ta-font-scale)); color: var(--ta-muted); background: var(--ta-hover); }\n.ta-result-empty { color: var(--ta-muted); }\n.ta-result-failure { display: flex; gap: 8px; min-width: 0; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ta-muted); }\n.ta-result-script { align-self: flex-start; gap: 4px; margin-top: 0; }\n/* A command reads whole, wrapped, as the line above shows only its start. */\n.ta-result-command pre { white-space: pre-wrap; overflow-wrap: anywhere; }\n.ta-more { font-size: calc(12px * var(--ta-font-scale)); margin-bottom: 4px; color: var(--ta-muted); }\n.ta-status { position: relative; width: 12px; height: 12px; flex: none; display: inline-grid; place-items: center; }\n.ta-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ta-muted); }\n.ta-status-done::before { background: var(--ta-green); }\n.ta-status-error::before { background: color-mix(in srgb, var(--ta-red) 75%, transparent); }\n.ta-status-cancelled::before { background: transparent; box-shadow: inset 0 0 0 1.2px var(--ta-muted); }\n/* At rest until its time comes again: still, not breathing as one that runs. */\n.ta-status-idle::before { background: color-mix(in srgb, var(--ta-blue) 45%, transparent); }\n/* A running dot breathes, like the light of a sleeping laptop: it works, it is not stuck. */\n.ta-status-running::before { background: var(--ta-blue); animation: ta-breathe 1.8s ease-in-out infinite; }\n@keyframes ta-breathe {\n 0%, 100% { transform: scale(0.8); opacity: 0.45; box-shadow: 0 0 0 0 color-mix(in srgb, var(--ta-blue) 0%, transparent); }\n 50% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 0 3px color-mix(in srgb, var(--ta-blue) 22%, transparent); }\n}\n.ta-status-thought::before { background: var(--ta-border-field); }\n.ta-diff { font-family: var(--ta-mono); font-size: calc(12px * var(--ta-font-scale)); border: 1px solid var(--ta-border); border-radius: 8px; overflow: auto; max-height: 400px; background: var(--ta-code); line-height: 1.6; }\n.ta-diff-line { display: grid; grid-template-columns: 42px 16px 1fr; white-space: pre; }\n.ta-diff-number { color: var(--ta-muted); text-align: right; padding-right: 8px; user-select: none; opacity: 0.7; }\n.ta-diff-sign { color: var(--ta-muted); user-select: none; }\n.ta-diff-add { background: var(--ta-add); }\n.ta-diff-add .ta-diff-sign { color: var(--ta-green); }\n.ta-diff-remove { background: var(--ta-remove); }\n.ta-diff-remove .ta-diff-sign { color: var(--ta-red); }\n.ta-diff-gap { color: var(--ta-muted); }\n.ta-add { color: var(--ta-green); }\n.ta-remove { color: var(--ta-red); }\n\n/* Dialogs */\n.ta-dialog { border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--ta-shadow-composer); }\n.ta-dialog-title { font-weight: 600; }\n.ta-dialog-message { margin: 0; white-space: pre-wrap; color: var(--ta-secondary); font-size: calc(13px * var(--ta-font-scale)); }\n.ta-dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 6px; }\n.ta-dialog-options { display: flex; flex-direction: column; gap: 4px; }\n.ta-option { text-align: left; min-height: 36px; padding: 6px 12px; border: 1px solid var(--ta-border); border-radius: 8px; background: transparent; transition: background 120ms; }\n.ta-option:hover, .ta-option:focus { background: var(--ta-hover); outline: none; }\n\n@keyframes ta-spin { to { transform: rotate(360deg); } }\n@keyframes ta-shimmer { to { background-position: -200% 0; } }\n@keyframes ta-pulse { 50% { opacity: 0.3; } }\n@keyframes ta-wave { 0%, 100% { transform: scaleY(0.35); } 50% { transform: scaleY(1); } }\n@keyframes ta-dino-blink { 0%, 93%, 100% { transform: scaleY(0); } 96% { transform: scaleY(1); } }\n@keyframes ta-dino-pop { from { transform: scale(0.4); opacity: 0; } }\n@keyframes ta-in { from { transform: translateY(4px); opacity: 0; } }\n@keyframes ta-fade { from { opacity: 0; } }\n@keyframes ta-slide { from { transform: translateX(24px); opacity: 0; } }\n@keyframes ta-up { from { transform: translateY(100%); } }\n/* Not inside a diagram being drawn: Mermaid lays a flowchart out wrong when its elements have a transition. */\n:root[data-reduce-motion] :not([id^='ta-mermaid-'] *), :root[data-reduce-motion] *::before, :root[data-reduce-motion] *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }\n\n@media (max-width: 860px), (max-height: 500px) and (pointer: coarse) {\n .ta-toasts { top: calc(8px + env(safe-area-inset-top) + var(--ta-titlebar)); bottom: auto; left: 8px; right: 8px; width: auto; flex-direction: column-reverse; justify-content: flex-start; transition: top 200ms var(--ta-ease); }\n .ta-connection { top: calc(58px + env(safe-area-inset-top) + var(--ta-titlebar)); }\n .ta-connection-when { display: none; }\n .ta-app:has(.ta-connection:not(.ta-connection-leaving)) .ta-toasts { top: calc(100px + env(safe-area-inset-top) + var(--ta-titlebar)); }\n .ta-narrow-only { display: inline-grid !important; }\n .ta-wide-only { display: none !important; }\n header.ta-narrow-only { display: flex !important; }\n .ta-nav { position: fixed; z-index: 30; top: 0; left: 0; bottom: 0; transform: translateX(-102%); transition: transform 240ms var(--ta-ease); box-shadow: var(--ta-shadow-pop); }\n .ta-nav-open .ta-nav { transform: none; }\n .ta-sidebar { width: min(280px, calc(88vw - 56px)); }\n .ta-scrim { display: block; position: fixed; inset: 0; z-index: 29; border: 0; padding: 0; background: rgba(0, 0, 0, 0.35); animation: ta-fade 160ms; }\n .ta-main-head { height: calc(52px + env(safe-area-inset-top)); padding: 0 6px; padding-top: env(safe-area-inset-top); }\n .ta-chat-col { padding: 0 14px; }\n .ta-msg-bubble, .ta-bubble, .ta-skill-use { max-width: 88%; }\n .ta-close { opacity: 1; }\n .ta-session-header { padding: 8px 14px; flex-wrap: wrap; }\n .ta-find { padding: 0 14px 8px; }\n .ta-session-header { flex-wrap: nowrap; gap: 4px; padding: 6px 8px; }\n /* The head of the conversation is the top of the screen: below the status bar of a phone. */\n .ta-main > .ta-session > .ta-session-header { padding-top: calc(6px + env(safe-area-inset-top)); }\n .ta-session-title .ta-path { display: none; }\n .ta-thread, .ta-bottom { padding-left: 14px; padding-right: 14px; }\n}\n\n";
|
|
2
|
+
export declare const CONVERSATION_STYLE = "\n/* Console session */\n.ta-session { display: flex; flex-direction: column; height: 100%; min-height: 0; }\n.ta-session-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 8px 20px; }\n.ta-session-title { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.35; }\n.ta-session-title .ta-path { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ta-muted); font-size: calc(11.5px * var(--ta-font-scale)); }\n.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/* 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-chevron { flex-shrink: 0; transition: transform 160ms; }\n.ta-compaction-mark[aria-expanded=\"true\"] .ta-compaction-chevron { transform: rotate(90deg); }\n.ta-compaction-summary { align-self: stretch; margin-top: 10px; padding: 10px 14px; border-radius: 10px; background: var(--ta-chip); color: var(--ta-secondary); font-size: calc(13px * var(--ta-font-scale)); }\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 hr { border: 0; border-top: 1px solid var(--ta-border-muted); margin: 16px 0; }\n.ta-markdown a:hover { text-decoration: underline; text-underline-offset: 2px; }\n.ta-link-path { display: inline; border: 0; background: none; padding: 0; margin: 0; font: inherit; color: var(--ta-link); text-align: inherit; cursor: pointer; overflow-wrap: anywhere; }\n.ta-link-path:hover { text-decoration: underline; text-underline-offset: 2px; }\n.ta-link-path:focus-visible { outline: 2px solid var(--ta-border-focus); outline-offset: 1px; border-radius: 3px; }\n.ta-markdown .ta-link-code code { color: var(--ta-link); }\n.ta-link-code:hover { text-decoration: none; }\n.ta-link-code:hover code { text-decoration: underline; text-underline-offset: 2px; }\n.ta-modal.ta-link-dialog { width: min(520px, 100%); }\n.ta-link-dialog .ta-confirm-title { display: flex; align-items: center; gap: 8px; }\n.ta-link-address { margin: 4px 0 0; padding: 8px 10px; border-radius: 8px; background: var(--ta-chip); font-family: var(--ta-mono); font-size: calc(12.5px * var(--ta-font-scale)); line-height: 1.5; overflow-wrap: anywhere; max-height: 120px; overflow: auto; }\n.ta-link-address strong { color: var(--ta-text); font-weight: 600; }\n.ta-link-dialog .ta-dialog-actions { flex-wrap: wrap; align-items: center; row-gap: 10px; }\n.ta-link-more { display: flex; align-items: center; gap: 14px; margin-right: auto; min-width: 0; }\n.ta-link-more .ta-link { font-size: calc(13px * var(--ta-font-scale)); }\n.ta-link-more .ta-link:hover { text-decoration: underline; text-underline-offset: 2px; }\n/* A table: short cells keep to one line, long ones (ta-cell-long) wrap from a width that reads; wider than the\n conversation, it scrolls in its frame rather than squeezes its columns to a character a line. */\n.ta-table { overflow-x: auto; overscroll-behavior-x: contain; margin: 0 0 10px; border-radius: 10px; border: 1px solid var(--ta-border); }\n.ta-table table { border-collapse: collapse; font-size: calc(13px * var(--ta-font-scale)); width: 100%; line-height: 1.55; font-variant-numeric: tabular-nums; }\n.ta-table th, .ta-table td { border-bottom: 1px solid var(--ta-border-muted); padding: 7px 12px; text-align: left; vertical-align: top; white-space: nowrap; }\n.ta-table td.ta-cell-long { white-space: normal; min-width: 14em; }\n.ta-table [data-align='center'] { text-align: center; }\n.ta-table [data-align='right'] { text-align: right; }\n.ta-table :not(pre) > code { overflow-wrap: normal; }\n.ta-table tr:last-child td { border-bottom: 0; }\n.ta-table th { background: var(--ta-raised); font-weight: 600; color: var(--ta-text); }\n.ta-code { border: 1px solid var(--ta-border); border-radius: 10px; overflow: hidden; background: var(--ta-code); margin: 0 0 10px; line-height: 1.55; }\n.ta-code-bar { display: flex; justify-content: space-between; align-items: center; height: 30px; padding: 0 10px 0 12px; font-size: calc(12px * var(--ta-font-scale)); color: var(--ta-muted); border-bottom: 1px solid var(--ta-border-muted); }\n.ta-code-editor { position: relative; flex: 1; width: 100%; height: 100%; min-height: 0; background: var(--ta-code); }\n.ta-code-editor-host { position: absolute; inset: 0; }\n.ta-game { position: relative; flex: 1; width: 100%; height: 100%; min-height: 0; overflow: hidden; outline: none; touch-action: none; overscroll-behavior: contain; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }\n.ta-game canvas { display: block; }\n/* While its engine loads, once it took a moment. */\n.ta-game-cover { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; pointer-events: none; }\n/* What a web extension shows over all of the page (ui.FullScreen): under the notch, above the keyboard, below the title bar of the app, under notices and menus. */\n.ta-full-screen { position: fixed; left: 0; right: 0; top: var(--ta-titlebar, 0px); z-index: 45; display: flex; flex-direction: column; height: calc(var(--ta-viewport, 100dvh) - var(--ta-titlebar, 0px)); overflow: hidden; background: var(--ta-main); color: var(--ta-text); overscroll-behavior: none; touch-action: none; }\n:root[data-keyboard] .ta-full-screen { height: calc(var(--ta-viewport, calc(100dvh - var(--ta-keyboard, 0px))) - var(--ta-titlebar, 0px)); }\n.ta-code-editor-state { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 16px; color: var(--ta-muted); font-size: calc(13px * var(--ta-font-scale)); }\n/* A terminal (WebTerminal) fills the element it is attached to, which must have a size and position: relative. */\n.ta-terminal { position: absolute; inset: 0; background: var(--ta-code); }\n/* The padding is the terminal's own: xterm.js fits its rows and columns inside it. */\n.ta-terminal .xterm { height: 100%; padding: 10px 4px 6px 14px; }\n.ta-terminal .xterm-viewport { background: transparent !important; }\n.ta-terminal .xterm-helper-textarea { caret-color: transparent; }\n.ta-code pre { margin: 0; padding: 10px 12px; overflow-x: auto; overscroll-behavior-x: contain; color: var(--ta-body); }\n.ta-code-actions { display: flex; align-items: center; gap: 2px; }\n.ta-code-actions .ta-icon-button { width: 24px; height: 24px; border-radius: 6px; color: var(--ta-muted); }\n.ta-code-actions .ta-icon-button:hover { color: var(--ta-text); }\n.ta-code-actions .ta-icon { width: 14px; height: 14px; }\n.ta-code:has(> .ta-code-float) { position: relative; }\n.ta-code-float { position: absolute; top: 6px; right: 6px; opacity: 0; transition: opacity 120ms; }\n.ta-code:hover > .ta-code-float, .ta-code-float:focus-within { opacity: 1; }\n.ta-code-float .ta-icon-button { background: var(--ta-code); }\n.ta-math-block { margin: 0 0 10px; padding: 2px 0; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; text-align: center; }\n.ta-math-block .katex-display { margin: 0; }\n.ta-markdown .katex { font-size: 1.1em; }\n.ta-math-source { font-family: var(--ta-mono); font-size: calc(12.5px * var(--ta-font-scale)); color: var(--ta-secondary); }\ndiv.ta-math-source { white-space: pre-wrap; text-align: left; padding: 8px 12px; border-radius: 10px; background: var(--ta-code); }\n.ta-mermaid-diagram { display: flex; justify-content: center; padding: 16px; overflow: auto; }\n.ta-mermaid-diagram svg { max-width: 100%; height: auto; }\n.ta-mermaid-room { width: 100%; }\n/* A diagram that comes in (DiagramStyle motion) does so once: not again as a streamed source draws longer. */\n.ta-mermaid-settled .ta-mermaid-diagram svg :is(.node, .edgeLabel) { animation: none !important; }\n:root[data-reduce-motion] .ta-mermaid-diagram svg * { animation: none !important; }\n.ta-mermaid:fullscreen { display: flex; flex-direction: column; border: 0; border-radius: 0; background: var(--ta-main); }\n.ta-mermaid:fullscreen .ta-mermaid-diagram { flex: 1; align-items: center; }\n.ta-mermaid:fullscreen .ta-mermaid-diagram svg { width: 100%; height: 100%; max-width: none !important; }\n.ta-mermaid:fullscreen pre { flex: 1; }\n.ta-media { display: block; max-width: 100%; margin: 6px 0 10px; border-radius: 10px; }\n.ta-media-image { padding: 0; border: 1px solid var(--ta-border-muted); background: var(--ta-code); overflow: hidden; cursor: zoom-in; line-height: 0; width: fit-content; }\n.ta-media-image img { display: block; max-width: 100%; max-height: 420px; object-fit: contain; }\n.ta-media-image.ta-media-pending { width: 240px; height: 135px; border-color: transparent; background: var(--ta-raised); }\n.ta-media-image.ta-media-pending img { opacity: 0; }\n.ta-media-video { width: 560px; max-height: 420px; background: #000; }\n.ta-media-audio { width: 360px; height: 40px; }\n.ta-media-loading { display: block; width: 240px; max-width: 100%; height: 135px; margin: 6px 0 10px; border-radius: 10px; background: var(--ta-raised); }\n.ta-media-loading.ta-media-audio { height: 40px; }\n/* Pictures of a reply together (components/gallery.tsx): rows as wide as the reply, each picture whole and a row as tall (GalleryUtil.rows), the words that name each under it. */\n.ta-gallery { display: flex; flex-direction: column; gap: 6px; margin: 8px 0 12px; }\n.ta-gallery-row { display: flex; gap: inherit; }\n.ta-gallery-item { display: flex; flex: none; flex-direction: column; gap: 5px; min-width: 0; margin: 0; }\n.ta-gallery-tile { position: relative; display: block; width: 100%; height: var(--ta-gallery-row); padding: 0; border: 1px solid var(--ta-border-muted); border-radius: 8px; overflow: hidden; background: var(--ta-raised); line-height: 0; cursor: zoom-in; -webkit-tap-highlight-color: transparent; transition: opacity 120ms; }\n.ta-gallery-tile img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 240ms var(--ta-ease), opacity 160ms; }\n.ta-gallery-tile:hover img { transform: scale(1.03); }\n.ta-gallery-tile:active { opacity: 0.85; }\n.ta-gallery-tile:disabled { cursor: default; }\n.ta-gallery-pending { border-color: transparent; animation: ta-shimmer-soft 1.6s ease-in-out infinite; }\n.ta-gallery-pending img { opacity: 0; }\n.ta-gallery-missing { display: grid; place-items: center; color: var(--ta-muted); cursor: default; }\n.ta-gallery-more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, 0.48); color: #fff; font-size: calc(20px * var(--ta-font-scale)); font-weight: 600; line-height: 1; }\n.ta-gallery-caption { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; color: var(--ta-secondary); font-size: calc(12px * var(--ta-font-scale)); line-height: 1.4; text-align: center; }\n@media (max-width: 860px), (max-height: 500px) and (pointer: coarse) { .ta-gallery { gap: 4px; } }\n.ta-media-missing { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border-radius: 6px; background: var(--ta-chip); color: var(--ta-muted); font-size: calc(12.5px * var(--ta-font-scale)); vertical-align: middle; }\n/* A picture that zooms (image-zoom.ts): what scrolls is the box; the picture sits in it where ImageZoom puts it. */\n.ta-zoom { position: relative; display: flex; flex: 1; width: 100%; min-width: 0; min-height: 0; overflow: hidden; }\n/* What a finger swipes to the picture beside (image-swipe.ts): the box that scrolls, and the pictures beside it at its sides, as large as it shows them at first. */\n.ta-zoom-track { position: relative; display: flex; flex: 1; min-width: 0; min-height: 0; }\n.ta-zoom-peek { position: absolute; top: 0; width: 100%; height: 100%; padding: 16px; box-sizing: border-box; object-fit: contain; pointer-events: none; -webkit-user-drag: none; }\n.ta-zoom-peek-previous { right: calc(100% + 20px); }\n.ta-zoom-peek-next { left: calc(100% + 20px); }\n.ta-zoom-viewport { flex: 1; min-width: 0; min-height: 0; overflow: auto; overscroll-behavior: contain; touch-action: pan-x pan-y; outline: none; scrollbar-width: thin; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }\n.ta-zoom-stage { position: relative; }\n.ta-zoom-stage img { position: absolute; top: 0; left: 0; max-width: none; max-height: none; transform-origin: 0 0; cursor: zoom-in; -webkit-user-drag: none; }\n.ta-zoom-stage img:not([data-ready]) { opacity: 0; }\n/* Loading, or why it does not show: in the middle of the box, whatever scrolls. */\n.ta-zoom-status { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 16px; text-align: center; color: var(--ta-muted); font-size: calc(13px * var(--ta-font-scale)); pointer-events: none; }\n.ta-lightbox .ta-zoom-status { color: rgba(255, 255, 255, 0.7); }\n.ta-zoom-stage img.ta-zoom-pixelated { image-rendering: pixelated; }\n.ta-zoom-viewport[data-zoomed='true'] img { cursor: grab; }\n.ta-zoom-viewport[data-dragging], .ta-zoom-viewport[data-dragging] img { cursor: grabbing; }\n.ta-zoom-bar { position: absolute; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 4px; padding: 5px 6px; border: 1px solid var(--ta-border); border-radius: 12px; background: color-mix(in srgb, var(--ta-card) 90%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.16); color: var(--ta-secondary); transform: translateX(-50%); transition: opacity 160ms; }\n.ta-zoom-bar button { display: inline-grid; place-items: center; width: 34px; height: 32px; padding: 0; border: 0; border-radius: 8px; background: none; color: inherit; }\n.ta-zoom-bar button:hover:not(:disabled) { background: var(--ta-hover); color: var(--ta-text); }\n.ta-zoom-bar button:disabled { opacity: 0.4; }\n.ta-zoom-scale { min-width: 52px; padding: 0 4px; text-align: center; font-size: calc(13.5px * var(--ta-font-scale)); font-variant-numeric: tabular-nums; -webkit-user-select: none; user-select: none; }\n/* The pictures beside it (of a folder, of a message), at its sides. */\n.ta-zoom-nav { position: absolute; top: 50%; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--ta-border); border-radius: 50%; background: color-mix(in srgb, var(--ta-card) 90%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14); color: var(--ta-secondary); transform: translateY(-50%); transition: opacity 160ms, background 120ms, color 120ms; }\n.ta-zoom-nav:hover:not(:disabled) { background: var(--ta-card); color: var(--ta-text); }\n.ta-zoom-nav:disabled { opacity: 0.35; }\n.ta-zoom-previous { left: calc(12px + env(safe-area-inset-left)); }\n.ta-zoom-next { right: calc(12px + env(safe-area-inset-right)); }\n/* With a mouse, the buttons show while the pointer is over the picture; on a touch screen always. */\n:root:not([data-touch]) .ta-zoom:not(:hover):not(:focus-within) :is(.ta-zoom-bar, .ta-zoom-nav) { opacity: 0; }\n.ta-lightbox { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: #f5f5f5; app-region: no-drag; -webkit-app-region: no-drag; }\n.ta-lightbox[open] { display: flex; }\n.ta-lightbox::backdrop { background: rgba(0, 0, 0, 0.86); }\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-process-steps .ta-act-body .ta-status { position: relative; left: 0; background: transparent; }\n.ta-act-body .ta-tool-title, .ta-act-body .ta-step-toggle { font-size: calc(12.5px * var(--ta-font-scale)); min-height: calc(24px * var(--ta-font-scale)); }\n.ta-act-body .ta-act-script { align-self: flex-start; width: auto; color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); }\n.ta-act-body .ta-step-tag { color: var(--ta-secondary); }\n.ta-act-body .ta-tool-body { margin-top: 2px; }\n.ta-act-body > .ta-tool + .ta-tool:has(> .ta-act-script) { margin-top: 2px; }\n/* The files a turn changed, first when its work opens. */\n.ta-step-files { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; min-height: calc(26px * var(--ta-font-scale)); font-size: calc(13px * var(--ta-font-scale)); color: var(--ta-muted); }\n.ta-step-files > .ta-status { top: calc(7px * var(--ta-font-scale)); }\n.ta-step-files .ta-link { font-size: calc(12px * var(--ta-font-scale)); }\n/* The earlier steps, folded: a bead of their own on the string, as every step has. */\n.ta-step-more { display: flex; align-items: center; min-height: calc(26px * var(--ta-font-scale)); }\n.ta-step-more > .ta-more { margin-bottom: 0; }\n/* Where Ta restarted in the middle of the work and went on: a quiet line among the steps. */\n.ta-step-resumed { display: flex; align-items: center; min-height: calc(26px * var(--ta-font-scale)); font-size: calc(13px * var(--ta-font-scale)); color: var(--ta-muted); }\n.ta-file-chip { padding: 0 6px; border-radius: 5px; background: var(--ta-hover); font-family: var(--ta-mono); font-size: calc(12px * var(--ta-font-scale)); color: var(--ta-body); }\n.ta-tool-chevron { flex: none; width: 13px; margin-left: auto; color: var(--ta-muted); opacity: 0; transition: transform 150ms var(--ta-ease), opacity 120ms; }\nbutton.ta-tool-title:hover:not(:disabled) .ta-tool-chevron, button.ta-tool-title[aria-expanded='true'] .ta-tool-chevron { opacity: 1; }\nbutton.ta-tool-title[aria-expanded='true'] .ta-tool-chevron { transform: rotate(90deg); }\n.ta-tool-body { margin: 2px 0 6px; display: flex; flex-direction: column; gap: 6px; min-width: 0; animation: ta-in 180ms var(--ta-ease); }\n.ta-tool-body > .ta-output { padding: 8px 12px; border: 1px solid var(--ta-border-muted); border-radius: 10px; background: var(--ta-code); }\n.ta-tool-body .ta-code { margin: 0; }\n.ta-tool-group { display: flex; flex-direction: column; min-width: 0; }\n.ta-tool-trailing { flex: none; width: 24px; display: grid; place-items: center; }\n.ta-tool-script { width: 24px; height: 24px; display: grid; place-items: center; border: 0; border-radius: 6px; background: transparent; color: var(--ta-muted); opacity: 0; transition: opacity 120ms, background 120ms, color 120ms; }\n.ta-tool-group:hover .ta-tool-script, .ta-tool-script:focus-visible, .ta-tool-script.ta-on { opacity: 1; }\n.ta-tool-script:hover, .ta-tool-script.ta-on { background: var(--ta-hover); color: var(--ta-text); }\n.ta-output pre, pre.ta-output { margin: 0; white-space: pre-wrap; word-break: break-word; max-height: 320px; overflow: auto; color: var(--ta-secondary); font-size: calc(12px * var(--ta-font-scale)); line-height: 1.55; }\n.ta-error { color: var(--ta-red) !important; }\n/* What a tool returned, read as a person reads it: keys small and muted beside or above their values. */\n.ta-result { display: flex; flex-direction: column; gap: 8px; min-width: 0; font-size: calc(12px * var(--ta-font-scale)); line-height: 1.55; color: var(--ta-secondary); }\n.ta-result-entries { display: flex; flex-direction: column; gap: 6px; min-width: 0; }\n.ta-result-entries .ta-result-entries { padding-left: 10px; border-left: 1px solid var(--ta-border-muted); }\n.ta-result-entry { display: flex; flex-direction: column; gap: 2px; min-width: 0; }\n.ta-result-inline { flex-direction: row; align-items: baseline; gap: 8px; }\n.ta-result-key { flex: none; max-width: 40%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--ta-mono); font-size: calc(11px * var(--ta-font-scale)); color: var(--ta-muted); }\n.ta-result-entry:not(.ta-result-inline) > .ta-result-key { max-width: 100%; }\n.ta-result-atom { min-width: 0; font-family: var(--ta-mono); color: var(--ta-body); overflow-wrap: anywhere; }\n.ta-result-block { min-width: 0; }\n.ta-result-text { white-space: pre-wrap; overflow-wrap: anywhere; font-family: var(--ta-mono); }\n.ta-result-chips { display: flex; flex-wrap: wrap; gap: 4px; min-width: 0; }\n.ta-result-chips > .ta-result-atom { padding: 0 6px; border-radius: 5px; background: var(--ta-hover); }\n.ta-result-shell { display: flex; flex-direction: column; gap: 4px; min-width: 0; }\n.ta-result-stderr pre { color: var(--ta-muted); }\n.ta-result-badge { align-self: flex-start; padding: 0 6px; border-radius: 5px; font-family: var(--ta-mono); font-size: calc(11px * var(--ta-font-scale)); color: var(--ta-muted); background: var(--ta-hover); }\n.ta-result-empty { color: var(--ta-muted); }\n.ta-result-failure { display: flex; gap: 8px; min-width: 0; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ta-muted); }\n.ta-result-script { align-self: flex-start; gap: 4px; margin-top: 0; }\n/* A command reads whole, wrapped, as the line above shows only its start. */\n.ta-result-command pre { white-space: pre-wrap; overflow-wrap: anywhere; }\n.ta-more { font-size: calc(12px * var(--ta-font-scale)); margin-bottom: 4px; color: var(--ta-muted); }\n.ta-status { position: relative; width: 12px; height: 12px; flex: none; display: inline-grid; place-items: center; }\n.ta-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ta-muted); }\n.ta-status-done::before { background: var(--ta-green); }\n.ta-status-error::before { background: color-mix(in srgb, var(--ta-red) 75%, transparent); }\n.ta-status-cancelled::before { background: transparent; box-shadow: inset 0 0 0 1.2px var(--ta-muted); }\n/* At rest until its time comes again: still, not breathing as one that runs. */\n.ta-status-idle::before { background: color-mix(in srgb, var(--ta-blue) 45%, transparent); }\n/* A running dot breathes, like the light of a sleeping laptop: it works, it is not stuck. */\n.ta-status-running::before { background: var(--ta-blue); animation: ta-breathe 1.8s ease-in-out infinite; }\n@keyframes ta-breathe {\n 0%, 100% { transform: scale(0.8); opacity: 0.45; box-shadow: 0 0 0 0 color-mix(in srgb, var(--ta-blue) 0%, transparent); }\n 50% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 0 3px color-mix(in srgb, var(--ta-blue) 22%, transparent); }\n}\n.ta-status-thought::before { background: var(--ta-border-field); }\n.ta-diff { font-family: var(--ta-mono); font-size: calc(12px * var(--ta-font-scale)); border: 1px solid var(--ta-border); border-radius: 8px; overflow: auto; max-height: 400px; background: var(--ta-code); line-height: 1.6; }\n.ta-diff-line { display: grid; grid-template-columns: 42px 16px 1fr; white-space: pre; }\n.ta-diff-number { color: var(--ta-muted); text-align: right; padding-right: 8px; user-select: none; opacity: 0.7; }\n.ta-diff-sign { color: var(--ta-muted); user-select: none; }\n.ta-diff-add { background: var(--ta-add); }\n.ta-diff-add .ta-diff-sign { color: var(--ta-green); }\n.ta-diff-remove { background: var(--ta-remove); }\n.ta-diff-remove .ta-diff-sign { color: var(--ta-red); }\n.ta-diff-gap { color: var(--ta-muted); }\n.ta-add { color: var(--ta-green); }\n.ta-remove { color: var(--ta-red); }\n\n/* Dialogs */\n.ta-dialog { border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--ta-shadow-composer); }\n.ta-dialog-title { font-weight: 600; }\n.ta-dialog-message { margin: 0; white-space: pre-wrap; color: var(--ta-secondary); font-size: calc(13px * var(--ta-font-scale)); }\n.ta-dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 6px; }\n.ta-dialog-options { display: flex; flex-direction: column; gap: 4px; }\n.ta-option { text-align: left; min-height: 36px; padding: 6px 12px; border: 1px solid var(--ta-border); border-radius: 8px; background: transparent; transition: background 120ms; }\n.ta-option:hover, .ta-option:focus { background: var(--ta-hover); outline: none; }\n\n@keyframes ta-spin { to { transform: rotate(360deg); } }\n@keyframes ta-shimmer { to { background-position: -200% 0; } }\n@keyframes ta-pulse { 50% { opacity: 0.3; } }\n@keyframes ta-wave { 0%, 100% { transform: scaleY(0.35); } 50% { transform: scaleY(1); } }\n@keyframes ta-dino-blink { 0%, 93%, 100% { transform: scaleY(0); } 96% { transform: scaleY(1); } }\n@keyframes ta-dino-pop { from { transform: scale(0.4); opacity: 0; } }\n@keyframes ta-in { from { transform: translateY(4px); opacity: 0; } }\n@keyframes ta-fade { from { opacity: 0; } }\n@keyframes ta-slide { from { transform: translateX(24px); opacity: 0; } }\n@keyframes ta-up { from { transform: translateY(100%); } }\n/* Not inside a diagram being drawn: Mermaid lays a flowchart out wrong when its elements have a transition. */\n:root[data-reduce-motion] :not([id^='ta-mermaid-'] *), :root[data-reduce-motion] *::before, :root[data-reduce-motion] *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }\n\n@media (max-width: 860px), (max-height: 500px) and (pointer: coarse) {\n .ta-toasts { top: calc(8px + env(safe-area-inset-top) + var(--ta-titlebar)); bottom: auto; left: 8px; right: 8px; width: auto; flex-direction: column-reverse; justify-content: flex-start; transition: top 200ms var(--ta-ease); }\n .ta-connection { top: calc(58px + env(safe-area-inset-top) + var(--ta-titlebar)); }\n .ta-connection-when { display: none; }\n .ta-app:has(.ta-connection:not(.ta-connection-leaving)) .ta-toasts { top: calc(100px + env(safe-area-inset-top) + var(--ta-titlebar)); }\n .ta-narrow-only { display: inline-grid !important; }\n .ta-wide-only { display: none !important; }\n header.ta-narrow-only { display: flex !important; }\n .ta-nav { position: fixed; z-index: 30; top: 0; left: 0; bottom: 0; transform: translateX(-102%); transition: transform 240ms var(--ta-ease); box-shadow: var(--ta-shadow-pop); }\n .ta-nav-open .ta-nav { transform: none; }\n .ta-sidebar { width: min(280px, calc(88vw - 56px)); }\n .ta-scrim { display: block; position: fixed; inset: 0; z-index: 29; border: 0; padding: 0; background: rgba(0, 0, 0, 0.35); animation: ta-fade 160ms; }\n .ta-main-head { height: calc(52px + env(safe-area-inset-top)); padding: 0 6px; padding-top: env(safe-area-inset-top); }\n .ta-chat-col { padding: 0 14px; }\n .ta-msg-bubble, .ta-bubble, .ta-skill-use { max-width: 88%; }\n .ta-close { opacity: 1; }\n .ta-session-header { padding: 8px 14px; flex-wrap: wrap; }\n .ta-find { padding: 0 14px 8px; }\n .ta-session-header { flex-wrap: nowrap; gap: 4px; padding: 6px 8px; }\n /* The head of the conversation is the top of the screen: below the status bar of a phone. */\n .ta-main > .ta-session > .ta-session-header { padding-top: calc(6px + env(safe-area-inset-top)); }\n .ta-session-title .ta-path { display: none; }\n .ta-thread, .ta-bottom { padding-left: 14px; padding-right: 14px; }\n}\n\n";
|
|
3
3
|
//# sourceMappingURL=conversation.d.ts.map
|
|
@@ -76,8 +76,6 @@ button.ta-secret-chip { cursor: pointer; transition: background 120ms, color 120
|
|
|
76
76
|
/* Where the conversation goes on with another model: on every device, as the footers do not say the model. */
|
|
77
77
|
.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; }
|
|
78
78
|
.ta-model-break > span { overflow: hidden; text-overflow: ellipsis; }
|
|
79
|
-
/* A row of its own, not above a reply. */
|
|
80
|
-
.ta-resume-break { margin-bottom: 0; }
|
|
81
79
|
/* 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. */
|
|
82
80
|
.ta-user-marks { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 10px; max-width: 78%; margin-bottom: -2px; }
|
|
83
81
|
/* Someone else's message in the same Ta (TaMessageAuthor): on the left, with their face and name, as in a group chat. */
|
|
@@ -344,6 +342,8 @@ button.ta-tool-title:focus-visible, .ta-step-toggle:focus-visible { outline-offs
|
|
|
344
342
|
/* The earlier steps, folded: a bead of their own on the string, as every step has. */
|
|
345
343
|
.ta-step-more { display: flex; align-items: center; min-height: calc(26px * var(--ta-font-scale)); }
|
|
346
344
|
.ta-step-more > .ta-more { margin-bottom: 0; }
|
|
345
|
+
/* Where Ta restarted in the middle of the work and went on: a quiet line among the steps. */
|
|
346
|
+
.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); }
|
|
347
347
|
.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); }
|
|
348
348
|
.ta-tool-chevron { flex: none; width: 13px; margin-left: auto; color: var(--ta-muted); opacity: 0; transition: transform 150ms var(--ta-ease), opacity 120ms; }
|
|
349
349
|
button.ta-tool-title:hover:not(:disabled) .ta-tool-chevron, button.ta-tool-title[aria-expanded='true'] .ta-tool-chevron { opacity: 1; }
|