@celljs/ta-web 4.12.0 → 4.13.1
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/README.en.md +1 -1
- package/README.md +1 -1
- package/esm/browser/assistant/assistant-extension.js +14 -0
- package/esm/browser/assistant/assistant-initiative.d.ts +27 -0
- package/esm/browser/assistant/assistant-initiative.js +76 -0
- package/esm/browser/assistant/assistant-task-source.d.ts +7 -0
- package/esm/browser/assistant/assistant-task-source.js +12 -2
- package/esm/browser/assistant/assistant-view.js +5 -4
- package/esm/browser/assistant/assistant.d.ts +5 -0
- package/esm/browser/assistant/assistant.js +25 -6
- package/esm/browser/components/app-nav.d.ts +3 -1
- package/esm/browser/components/app-nav.js +5 -2
- package/esm/browser/components/app-view.js +18 -9
- package/esm/browser/components/asks-badge.d.ts +5 -0
- package/esm/browser/components/asks-badge.js +8 -0
- package/esm/browser/components/chat-asks.d.ts +46 -0
- package/esm/browser/components/chat-asks.js +101 -0
- package/esm/browser/components/chat-list.d.ts +7 -1
- package/esm/browser/components/chat-list.js +46 -17
- package/esm/browser/components/composer-addon-util.d.ts +11 -0
- package/esm/browser/components/composer-addon-util.js +40 -0
- package/esm/browser/components/composer-addons.d.ts +1 -7
- package/esm/browser/components/composer-addons.js +1 -27
- package/esm/browser/components/composer.d.ts +7 -1
- package/esm/browser/components/composer.js +33 -20
- package/esm/browser/components/connection-bar.js +31 -12
- package/esm/browser/components/conversation-scroll-util.d.ts +5 -0
- package/esm/browser/components/conversation-scroll-util.js +18 -0
- package/esm/browser/components/conversation-scroll.d.ts +12 -2
- package/esm/browser/components/conversation-scroll.js +68 -5
- package/esm/browser/components/discover-view.js +5 -1
- package/esm/browser/components/earlier-messages.d.ts +10 -3
- package/esm/browser/components/earlier-messages.js +14 -8
- package/esm/browser/components/folder-picker.d.ts +2 -0
- package/esm/browser/components/folder-picker.js +7 -0
- package/esm/browser/components/host-view.d.ts +1 -1
- package/esm/browser/components/markdown.js +4 -2
- package/esm/browser/components/media.js +4 -39
- package/esm/browser/components/mermaid-view.js +45 -3
- package/esm/browser/components/message-footer.d.ts +2 -0
- package/esm/browser/components/message-footer.js +8 -1
- package/esm/browser/components/message-list.d.ts +12 -0
- package/esm/browser/components/message-list.js +156 -25
- package/esm/browser/components/phone-shell.d.ts +7 -2
- package/esm/browser/components/phone-shell.js +7 -3
- package/esm/browser/components/relay-services.d.ts +24 -0
- package/esm/browser/components/relay-services.js +249 -0
- package/esm/browser/components/relay-view.js +17 -1
- package/esm/browser/components/remote-hosts.js +1 -1
- package/esm/browser/components/session-view.js +16 -4
- package/esm/browser/components/settings-controls.js +3 -3
- package/esm/browser/components/settings-parts.js +13 -1
- package/esm/browser/components/ta-avatar.js +6 -0
- package/esm/browser/components/tool-result.d.ts +13 -0
- package/esm/browser/components/tool-result.js +138 -0
- package/esm/browser/components/tool-view.js +5 -15
- package/esm/browser/components/web-composer.js +2 -1
- package/esm/browser/extension/extension-view.d.ts +3 -1
- package/esm/browser/extension/extension-view.js +7 -0
- package/esm/browser/extension/icons.js +9 -1
- package/esm/browser/extension/web-api-components.d.ts +3 -3
- package/esm/browser/extension/web-api-contributions.d.ts +119 -0
- package/esm/browser/extension/web-extension-api.d.ts +23 -46
- package/esm/browser/extension/web-extension-context.d.ts +6 -1
- package/esm/browser/extension/web-extension-context.js +63 -6
- package/esm/browser/extension/web-extension-protocol.d.ts +5 -1
- package/esm/browser/extension/web-extension-protocol.js +1 -0
- package/esm/browser/extension/web-extension-run.d.ts +3 -2
- package/esm/browser/extension/web-extension-run.js +3 -0
- package/esm/browser/extension/web-extensions.d.ts +2 -8
- package/esm/browser/extension/web-extensions.js +9 -35
- package/esm/browser/extension/web-page-list.d.ts +25 -0
- package/esm/browser/extension/web-page-list.js +35 -0
- package/esm/browser/extension/web-session-notices.d.ts +6 -1
- package/esm/browser/extension/web-session-notices.js +30 -4
- package/esm/browser/extension/web-sharing.d.ts +5 -2
- package/esm/browser/extension/web-sharing.js +10 -1
- package/esm/browser/i18n/locales.d.ts +69 -3
- package/esm/browser/i18n/messages.d.ts +68 -2
- package/esm/browser/i18n/messages.js +138 -6
- package/esm/browser/markdown/code-renderers.d.ts +4 -0
- package/esm/browser/markdown/code-renderers.js +4 -0
- package/esm/browser/markdown/lazy.d.ts +8 -0
- package/esm/browser/markdown/lazy.js +35 -0
- package/esm/browser/markdown/mermaid.d.ts +15 -3
- package/esm/browser/markdown/mermaid.js +45 -6
- package/esm/browser/notices/notices-protocol.d.ts +5 -0
- package/esm/browser/notices/notices.d.ts +19 -0
- package/esm/browser/notices/notices.js +85 -2
- package/esm/browser/notices/session-notices.d.ts +5 -2
- package/esm/browser/notices/session-notices.js +10 -1
- package/esm/browser/style/base.d.ts +1 -1
- package/esm/browser/style/base.js +2 -1
- package/esm/browser/style/conversation.d.ts +1 -1
- package/esm/browser/style/conversation.js +51 -0
- package/esm/browser/style/device.js +3 -0
- package/esm/browser/style/layout.d.ts +1 -1
- package/esm/browser/style/layout.js +24 -9
- package/esm/browser/style/pages.d.ts +1 -1
- package/esm/browser/style/pages.js +2 -0
- package/esm/browser/style/phone.d.ts +1 -1
- package/esm/browser/style/phone.js +2 -0
- package/esm/browser/style/shell.d.ts +1 -1
- package/esm/browser/style/shell.js +14 -3
- package/esm/browser/util/desktop.d.ts +18 -1
- package/esm/browser/util/desktop.js +13 -0
- package/esm/browser/util/process.d.ts +26 -1
- package/esm/browser/util/process.js +79 -5
- package/esm/browser/util/progress.d.ts +6 -1
- package/esm/browser/util/progress.js +11 -2
- package/esm/browser/util/scroll-rest.d.ts +10 -0
- package/esm/browser/util/scroll-rest.js +44 -0
- package/esm/browser/util/tool-result.d.ts +32 -0
- package/esm/browser/util/tool-result.js +85 -0
- package/esm/browser/util/tool.js +7 -0
- package/lib/browser/assistant/assistant-extension.js +14 -0
- package/lib/browser/assistant/assistant-initiative.d.ts +28 -0
- package/lib/browser/assistant/assistant-initiative.js +80 -0
- package/lib/browser/assistant/assistant-task-source.d.ts +7 -0
- package/lib/browser/assistant/assistant-task-source.js +12 -2
- package/lib/browser/assistant/assistant-view.js +3 -2
- package/lib/browser/assistant/assistant.d.ts +5 -0
- package/lib/browser/assistant/assistant.js +24 -5
- package/lib/browser/components/app-nav.d.ts +3 -1
- package/lib/browser/components/app-nav.js +5 -2
- package/lib/browser/components/app-view.js +17 -8
- package/lib/browser/components/asks-badge.d.ts +6 -0
- package/lib/browser/components/asks-badge.js +44 -0
- package/lib/browser/components/chat-asks.d.ts +47 -0
- package/lib/browser/components/chat-asks.js +104 -0
- package/lib/browser/components/chat-list.d.ts +7 -1
- package/lib/browser/components/chat-list.js +46 -17
- package/lib/browser/components/composer-addon-util.d.ts +12 -0
- package/lib/browser/components/composer-addon-util.js +76 -0
- package/lib/browser/components/composer-addons.d.ts +1 -7
- package/lib/browser/components/composer-addons.js +2 -29
- package/lib/browser/components/composer.d.ts +7 -1
- package/lib/browser/components/composer.js +33 -19
- package/lib/browser/components/connection-bar.js +30 -11
- package/lib/browser/components/conversation-scroll-util.d.ts +5 -0
- package/lib/browser/components/conversation-scroll-util.js +18 -0
- package/lib/browser/components/conversation-scroll.d.ts +12 -2
- package/lib/browser/components/conversation-scroll.js +68 -5
- package/lib/browser/components/discover-view.js +5 -1
- package/lib/browser/components/earlier-messages.d.ts +10 -3
- package/lib/browser/components/earlier-messages.js +16 -9
- package/lib/browser/components/folder-picker.d.ts +2 -0
- package/lib/browser/components/folder-picker.js +7 -0
- package/lib/browser/components/host-view.d.ts +1 -1
- package/lib/browser/components/markdown.js +3 -1
- package/lib/browser/components/media.js +3 -38
- package/lib/browser/components/mermaid-view.js +45 -3
- package/lib/browser/components/message-footer.d.ts +2 -0
- package/lib/browser/components/message-footer.js +8 -0
- package/lib/browser/components/message-list.d.ts +12 -0
- package/lib/browser/components/message-list.js +153 -20
- package/lib/browser/components/phone-shell.d.ts +7 -2
- package/lib/browser/components/phone-shell.js +7 -3
- package/lib/browser/components/relay-services.d.ts +25 -0
- package/lib/browser/components/relay-services.js +286 -0
- package/lib/browser/components/relay-view.js +17 -1
- package/lib/browser/components/remote-hosts.js +1 -1
- package/lib/browser/components/session-view.js +15 -3
- package/lib/browser/components/settings-controls.js +3 -3
- package/lib/browser/components/settings-parts.js +13 -1
- package/lib/browser/components/ta-avatar.js +6 -0
- package/lib/browser/components/tool-result.d.ts +14 -0
- package/lib/browser/components/tool-result.js +175 -0
- package/lib/browser/components/tool-view.js +10 -20
- package/lib/browser/components/web-composer.js +2 -1
- package/lib/browser/extension/extension-view.d.ts +3 -1
- package/lib/browser/extension/extension-view.js +8 -1
- package/lib/browser/extension/icons.js +8 -0
- package/lib/browser/extension/web-api-components.d.ts +3 -3
- package/lib/browser/extension/web-api-contributions.d.ts +119 -0
- package/lib/browser/extension/web-extension-api.d.ts +23 -46
- package/lib/browser/extension/web-extension-context.d.ts +6 -1
- package/lib/browser/extension/web-extension-context.js +63 -6
- package/lib/browser/extension/web-extension-protocol.d.ts +5 -1
- package/lib/browser/extension/web-extension-protocol.js +1 -0
- package/lib/browser/extension/web-extension-run.d.ts +3 -2
- package/lib/browser/extension/web-extension-run.js +3 -0
- package/lib/browser/extension/web-extensions.d.ts +2 -8
- package/lib/browser/extension/web-extensions.js +9 -35
- package/lib/browser/extension/web-page-list.d.ts +26 -0
- package/lib/browser/extension/web-page-list.js +39 -0
- package/lib/browser/extension/web-session-notices.d.ts +6 -1
- package/lib/browser/extension/web-session-notices.js +30 -4
- package/lib/browser/extension/web-sharing.d.ts +5 -2
- package/lib/browser/extension/web-sharing.js +10 -1
- package/lib/browser/i18n/locales.d.ts +69 -3
- package/lib/browser/i18n/messages.d.ts +68 -2
- package/lib/browser/i18n/messages.js +138 -6
- package/lib/browser/markdown/code-renderers.d.ts +4 -0
- package/lib/browser/markdown/code-renderers.js +5 -1
- package/lib/browser/markdown/lazy.d.ts +8 -0
- package/lib/browser/markdown/lazy.js +37 -1
- package/lib/browser/markdown/mermaid.d.ts +15 -3
- package/lib/browser/markdown/mermaid.js +44 -5
- package/lib/browser/notices/notices-protocol.d.ts +5 -0
- package/lib/browser/notices/notices.d.ts +19 -0
- package/lib/browser/notices/notices.js +84 -1
- package/lib/browser/notices/session-notices.d.ts +5 -2
- package/lib/browser/notices/session-notices.js +10 -1
- package/lib/browser/style/base.d.ts +1 -1
- package/lib/browser/style/base.js +2 -1
- package/lib/browser/style/conversation.d.ts +1 -1
- package/lib/browser/style/conversation.js +51 -0
- package/lib/browser/style/device.js +3 -0
- package/lib/browser/style/layout.d.ts +1 -1
- package/lib/browser/style/layout.js +24 -9
- package/lib/browser/style/pages.d.ts +1 -1
- package/lib/browser/style/pages.js +2 -0
- package/lib/browser/style/phone.d.ts +1 -1
- package/lib/browser/style/phone.js +2 -0
- package/lib/browser/style/shell.d.ts +1 -1
- package/lib/browser/style/shell.js +14 -3
- package/lib/browser/util/desktop.d.ts +18 -1
- package/lib/browser/util/desktop.js +13 -0
- package/lib/browser/util/process.d.ts +26 -1
- package/lib/browser/util/process.js +79 -5
- package/lib/browser/util/progress.d.ts +6 -1
- package/lib/browser/util/progress.js +11 -2
- package/lib/browser/util/scroll-rest.d.ts +11 -0
- package/lib/browser/util/scroll-rest.js +47 -0
- package/lib/browser/util/tool-result.d.ts +33 -0
- package/lib/browser/util/tool-result.js +88 -0
- package/lib/browser/util/tool.js +7 -0
- package/package.json +7 -7
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** The layout: panes and sashes, the editor area, the conversation column, the list of chats, sheets. */
|
|
2
|
-
export declare const LAYOUT_STYLE = "\n/* Layout (t5): panes the user resizes and collapses, the sashes between them, the tabs of the editor area */\n.ta-sidebar, .ta-editors-pane { position: relative; display: flex; min-height: 0; height: 100%; }\n.ta-sidebar { width: var(--ta-pane, 260px); flex: none; }\n.ta-side-view { display: flex; flex-direction: column; gap: 6px; min-height: 0; padding: calc(8px + env(safe-area-inset-top) + var(--ta-titlebar)) 8px calc(8px + env(safe-area-inset-bottom)); background: var(--ta-side); border-right: 1px solid var(--ta-border-muted); }\n.ta-side-view-head { flex: 1; min-width: 0; display: flex; align-items: center; }\n.ta-main-head-view { flex: 1; min-width: 0; display: flex; align-items: center; }\n.ta-side-view-body { flex: 1; min-height: 0; overflow: auto; margin: 0 -8px; padding: 0 8px; }\n/* A list on its way (ListSkeleton), in the shapes of the rows of the lists: only after a moment, so that one that comes at once never flashes it; then it breathes, opacity only. */\n.ta-skeleton { display: flex; flex-direction: column; animation: ta-fade 240ms ease-out 180ms both; }\n.ta-skeleton-rows { display: flex; flex-direction: column; animation: ta-skeleton 1.6s ease-in-out 420ms infinite; }\n.ta-skeleton-row { display: flex; align-items: center; gap: 12px; min-height: 56px; margin: 1px 0; padding: 9px 10px; box-sizing: border-box; }\n.ta-skeleton-face { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--ta-hover); }\n.ta-skeleton-lines { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 9px; }\n.ta-skeleton-lines > span { height: 10px; border-radius: 5px; background: var(--ta-hover); }\n.ta-skeleton-lines > span + span { height: 8px; border-radius: 4px; }\n/* The top bar of a sidebar view on its way: the search box and the button where the lists have them. */\n.ta-skeleton-head { flex: 1; min-width: 0; }\n.ta-skeleton-head .ta-skeleton-rows { flex-direction: row; gap: 4px; }\n.ta-skeleton-search { flex: 1; height: 36px; border-radius: 10px; background: var(--ta-raised); }\n.ta-skeleton-button { flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--ta-raised); }\n/* Its own rows come in over the place it kept: a fade, once (the top bar is where it was). */\n.ta-side-view[data-arrived] > .ta-side-view-body { animation: ta-fade 200ms ease-out; }\n/* Rows still on their way in it (its data not read yet) take the place of the placeholder's at once, without its moment. */\n.ta-side-view[data-arrived] .ta-skeleton { animation: none; }\n@keyframes ta-skeleton { 50% { opacity: 0.5; } }\n/* The editors may not be wider than the conversation: at most half of what the other columns leave. */\n.ta-editors-pane { width: var(--ta-pane, 480px); max-width: calc((100vw - var(--ta-left, 56px) - var(--ta-right, 0px)) / 2); flex: 0 1 auto; min-width: 280px; }\n.ta-main { min-width: 400px; }\n.ta-rail-gap { width: 24px; height: 1px; flex: none; margin: 4px 0; background: var(--ta-border); }\n.ta-sash { position: absolute; z-index: 6; top: 0; bottom: 0; width: 7px; cursor: col-resize; touch-action: none; outline: none; }\n.ta-sash-start { right: -4px; }\n.ta-sash-end { left: -4px; }\n.ta-sash::after { content: ''; position: absolute; top: 0; bottom: 0; left: 3px; width: 1px; background: transparent; transition: background 120ms 0ms; }\n.ta-sash:hover::after { background: var(--ta-border-focus); transition-delay: 250ms; }\n.ta-sash.ta-dragging::after, .ta-sash:focus-visible::after { background: var(--ta-border-focus); transition-delay: 0ms; }\n.ta-resizing, .ta-resizing * { cursor: col-resize !important; user-select: none !important; }\n.ta-resizing iframe { pointer-events: none; }\n.ta-editors { flex: 1; min-width: 0; display: flex; flex-direction: column; padding-top: var(--ta-titlebar); background: var(--ta-side); border-left: 1px solid var(--ta-border-muted); }\n/*\n * The tabs of a wide workbench, as a browser's or an editor's: a strip the colour of the side over a line; the tab\n * shown is a card the colour of what it shows, joined to it across the line; the others lie on the strip, a short\n * line between two of them, a rounded hover inside; + follows the last. The line is an inset shadow, under the\n * tabs: the card covers it. A phone has its own head (.ta-compact, below).\n */\n.ta-editor-tabs { display: flex; align-items: flex-end; gap: 2px; height: calc(44px + env(safe-area-inset-top)); flex: none; padding: env(safe-area-inset-top) 8px 0 0; background: var(--ta-side); box-shadow: inset 0 -1px 0 var(--ta-border); }\n.ta-workbench-actions { display: flex; align-items: center; gap: 2px; flex: none; height: 34px; margin-left: auto; }\n.ta-workbench-actions .ta-icon-button, .ta-editor-tabs > .ta-workbench-open .ta-icon-button { width: 28px; height: 28px; border-radius: 7px; color: var(--ta-muted); }\n.ta-workbench-actions .ta-icon-button:hover, .ta-workbench-actions .ta-icon-button.ta-on, .ta-editor-tabs > .ta-workbench-open .ta-icon-button:is(:hover, .ta-on) { color: var(--ta-text); }\n.ta-editor-tabs > .ta-workbench-open { flex: none; align-items: center; height: 34px; }\n.ta-editor-tablist { flex: 0 1 auto; min-width: 0; display: flex; align-items: flex-end; align-self: stretch; padding-left: 8px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }\n.ta-editor-tablist::-webkit-scrollbar { display: none; }\n.ta-editor-tab { position: relative; isolation: isolate; display: flex; align-items: center; flex: 0 1 auto; min-width: 92px; max-width: 200px; height: 34px; border: 1px solid transparent; border-bottom: 0; border-radius: 9px 9px 0 0; color: var(--ta-muted); transition: color 120ms; }\n.ta-editor-tab::after { content: ''; position: absolute; z-index: -1; inset: 3px 2px 4px; border-radius: 7px; background: var(--ta-hover); opacity: 0; transition: opacity 120ms; }\n.ta-editor-tab + .ta-editor-tab::before { content: ''; position: absolute; left: -1px; top: 10px; bottom: 10px; width: 1px; background: var(--ta-border); transition: opacity 120ms; }\n.ta-editor-tab:hover { color: var(--ta-body); }\n.ta-editor-tab:not(.ta-active):hover::after { opacity: 1; }\n/* Short of room the tabs narrow, as a browser's, the one shown last; past their least width the strip scrolls. */\n.ta-editor-tab.ta-active { flex-shrink: 0; border-color: var(--ta-border); background: var(--ta-main); color: var(--ta-text); }\n.ta-editor-tab:is(:hover, .ta-active)::before, .ta-editor-tab:is(:hover, .ta-active) + .ta-editor-tab::before { opacity: 0; }\n.ta-editor-tab-button { display: flex; align-items: center; gap: 7px; min-width: 0; height: 100%; padding: 0 2px 0 12px; border: 0; background: transparent; color: inherit; font-size: calc(13px * var(--ta-font-scale)); }\n.ta-editor-tab-button:focus-visible { outline: 1px solid var(--ta-border-focus); outline-offset: -4px; border-radius: 8px; }\n.ta-editor-tab-button > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-editor-tab-button > :not(span:last-child) { flex: none; }\n.ta-editor-tab-close { flex: none; width: 20px; height: 20px; margin-right: 7px; display: grid; place-items: center; border: 0; border-radius: 5px; background: transparent; color: inherit; opacity: 0; }\n.ta-editor-tab:hover .ta-editor-tab-close, .ta-editor-tab.ta-active .ta-editor-tab-close, .ta-editor-tab-close:focus-visible { opacity: 1; }\n.ta-editor-tab-close:hover { background: var(--ta-hover-strong); color: var(--ta-text); }\n.ta-context-menu { position: fixed; left: 0; top: 0; z-index: 80; min-width: 190px; max-width: 320px; display: flex; flex-direction: column; gap: 1px; padding: 6px; border-radius: 12px; border: 1px solid var(--ta-border); background: var(--ta-side); box-shadow: var(--ta-shadow-pop); animation: ta-fade 100ms ease-out; }\n.ta-context-menu-item { display: flex; align-items: center; flex: none; height: 30px; padding: 0 10px; border: 0; border-radius: 8px; background: none; color: var(--ta-text); font: inherit; font-size: calc(13px * var(--ta-font-scale)); text-align: left; cursor: pointer; outline: none; }\n.ta-context-menu-item:hover:not(:disabled), .ta-context-menu-item:focus-visible { background: var(--ta-hover); }\n.ta-context-menu-item:disabled { opacity: 0.45; cursor: default; }\n.ta-context-menu-item.ta-danger { color: var(--ta-red); }\n/* The entry of any menu a held finger slid onto (ContextMenuUtil.attach): let go, it is chosen. */\n[role=\"menuitem\"][data-armed] { background: var(--ta-hover); }\n.ta-context-menu-line { flex: none; height: 1px; margin: 5px 8px; border: 0; background: var(--ta-border-muted); }\n.ta-context-menu-caption { flex: none; margin: 0 8px 5px; padding: 3px 2px 8px; border-bottom: 1px solid var(--ta-border-muted); color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n.ta-editor-tab.ta-preview .ta-editor-tab-button > span { font-style: italic; }\n.ta-editor-tab-close { position: relative; }\n.ta-editor-tab-dirty { position: absolute; inset: 0; margin: auto; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }\n.ta-editor-tab.ta-dirty .ta-editor-tab-close { opacity: 1; }\n.ta-editor-tab.ta-dirty .ta-editor-tab-close > svg { visibility: hidden; }\n.ta-editor-tab.ta-dirty .ta-editor-tab-close:hover > svg, .ta-editor-tab.ta-dirty .ta-editor-tab-close:focus-visible > svg { visibility: visible; }\n.ta-editor-tab.ta-dirty .ta-editor-tab-close:hover > .ta-editor-tab-dirty, .ta-editor-tab.ta-dirty .ta-editor-tab-close:focus-visible > .ta-editor-tab-dirty { display: none; }\n.ta-editor-body { flex: 1; min-height: 0; overflow: auto; background: var(--ta-main); }\n.ta-workbench-title { display: flex; align-items: center; height: 34px; padding: 0 6px; font-size: calc(13.5px * var(--ta-font-scale)); font-weight: 600; color: var(--ta-secondary); }\n.ta-workbench-open { position: relative; display: flex; }\n.ta-workbench-menu { position: absolute; top: calc(100% + 6px); z-index: 45; width: 220px; max-height: min(440px, 70vh); overflow: auto; 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-workbench-menu .ta-account-item { flex: none; gap: 12px; height: 36px; padding: 0 10px; font-size: calc(13.5px * var(--ta-font-scale)); color: var(--ta-body); }\n.ta-workbench-menu .ta-account-item > svg { flex: none; color: var(--ta-secondary); }\n.ta-workbench-menu .ta-account-item:focus-visible { outline: 1px solid var(--ta-border-focus); outline-offset: -1px; }\n/* Where the tools of + open: the directory of the conversation shown, as the caption of the menu. */\n.ta-workbench-menu-cwd { display: flex; align-items: center; gap: 6px; flex: none; min-width: 0; height: 30px; margin: 0 4px 4px; padding: 0 6px 4px; border-bottom: 1px solid var(--ta-border-muted); color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); cursor: default; }\n.ta-workbench-menu-cwd > svg { flex: none; }\n.ta-workbench-menu.ta-start { left: 0; }\n.ta-workbench-menu.ta-end { right: 0; }\n/*\n * The head of the workbench on a phone (CompactHead): back, the tab shown with how many are open, which lists\n * them under it (TabSwitcher), and +. Over what it shows: the list and the scrim it lays over the tab.\n */\n.ta-editor-head-compact { position: relative; z-index: 5; flex: none; }\n.ta-compact .ta-editor-tabs { align-items: center; gap: 2px; height: calc(52px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) calc(6px + env(safe-area-inset-right)) 0 calc(4px + env(safe-area-inset-left)); background: var(--ta-main); box-shadow: inset 0 -1px 0 var(--ta-border-muted); }\n.ta-compact .ta-editor-tabs > .ta-icon-button, .ta-compact .ta-editor-tabs > .ta-workbench-open .ta-icon-button { width: 40px; height: 40px; border-radius: 10px; color: var(--ta-secondary); }\n.ta-compact .ta-editor-tabs > .ta-workbench-open { flex: none; margin-left: auto; }\n.ta-compact .ta-workbench-title { flex: 1; min-width: 0; height: auto; padding: 0 6px; color: var(--ta-text); font-size: calc(16px * var(--ta-font-scale)); }\n.ta-workbench-switch { flex: 0 1 auto; min-width: 0; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 8px 0 6px; border: 0; border-radius: 10px; background: none; color: var(--ta-text); font: inherit; font-size: calc(16px * var(--ta-font-scale)); font-weight: 600; transition: background 120ms; }\n.ta-workbench-switch > :first-child { flex: none; color: var(--ta-secondary); }\n.ta-workbench-switch:active, .ta-workbench-switch.ta-on { background: var(--ta-hover); }\n.ta-workbench-switch-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-workbench-count { flex: none; min-width: calc(20px * var(--ta-font-scale)); height: calc(20px * var(--ta-font-scale)); padding: 0 6px; border-radius: 999px; background: var(--ta-chip); color: var(--ta-secondary); font-size: calc(12px * var(--ta-font-scale)); font-weight: 600; line-height: calc(20px * var(--ta-font-scale)); text-align: center; font-variant-numeric: tabular-nums; }\n.ta-workbench-switch-caret { flex: none; margin-left: -2px; color: var(--ta-muted); transition: transform 220ms var(--ta-ease); }\n.ta-workbench-switch.ta-on .ta-workbench-switch-caret { transform: rotate(180deg); }\n.ta-tab-switcher-scrim { position: absolute; top: 100%; left: 0; right: 0; height: 100vh; padding: 0; border: 0; background: rgba(0, 0, 0, 0.18); animation: ta-fade 180ms ease-out; -webkit-tap-highlight-color: transparent; }\n.ta-tab-switcher { position: absolute; top: calc(100% + 6px); left: calc(8px + env(safe-area-inset-left)); right: calc(8px + env(safe-area-inset-right)); display: flex; flex-direction: column; max-height: min(64vh, 520px); overflow: hidden; border: 1px solid var(--ta-border); border-radius: 16px; background: var(--ta-side); box-shadow: var(--ta-shadow-pop); transform-origin: 50% 0; animation: ta-tabs-drop 200ms var(--ta-ease); }\n@keyframes ta-tabs-drop { from { opacity: 0; transform: translate3d(0, -6px, 0) scale(0.98); } }\n.ta-tab-switcher-head { display: flex; align-items: center; gap: 10px; flex: none; height: 44px; padding: 0 6px 0 16px; border-bottom: 1px solid var(--ta-border-muted); color: var(--ta-muted); font-size: calc(13px * var(--ta-font-scale)); }\n.ta-tab-switcher-count { flex: none; font-weight: 500; color: var(--ta-secondary); }\n.ta-tab-switcher-all { flex: none; height: 32px; margin-left: auto; padding: 0 10px; border: 0; border-radius: 8px; background: none; color: var(--ta-secondary); font: inherit; font-size: calc(13px * var(--ta-font-scale)); }\n.ta-tab-switcher-all:active { background: var(--ta-hover); }\n.ta-tab-switcher-list { display: flex; flex-direction: column; gap: 2px; min-height: 0; padding: 6px; overflow-y: auto; overscroll-behavior: contain; }\n.ta-tab-switcher-row { display: flex; align-items: center; flex: none; min-height: 48px; border-radius: 11px; transition: background 120ms; }\n.ta-tab-switcher-row.ta-active { background: var(--ta-selected); }\n.ta-tab-switcher-row:has(> .ta-tab-switcher-main:active) { background: var(--ta-hover); }\n.ta-tab-switcher-main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 4px 0 8px; border: 0; background: none; color: var(--ta-body); font: inherit; font-size: calc(15px * var(--ta-font-scale)); text-align: left; }\n.ta-tab-switcher-row.ta-active .ta-tab-switcher-main { color: var(--ta-text); font-weight: 500; }\n.ta-tab-switcher-glyph { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--ta-chip); color: var(--ta-secondary); }\n.ta-tab-switcher-row.ta-active .ta-tab-switcher-glyph { background: var(--ta-main); }\n.ta-tab-switcher-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-tab-switcher-title.ta-preview { font-style: italic; }\n.ta-tab-switcher-dirty { flex: none; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }\n.ta-tab-switcher-close { flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 10px; background: none; color: var(--ta-muted); }\n.ta-tab-switcher-close:active { background: var(--ta-hover-strong); color: var(--ta-text); }\n.ta-workbench-launcher { flex: 1; min-height: 0; overflow: auto; display: flex; flex-direction: column; align-items: center; justify-content: safe center; padding: 32px 20px calc(32px + env(safe-area-inset-bottom)); }\n.ta-workbench-launcher > * { width: 100%; max-width: 280px; }\n.ta-workbench-launcher-head { display: flex; flex-direction: column; align-items: center; gap: 6px; max-width: 320px; margin-bottom: 24px; text-align: center; }\n.ta-workbench-launcher-title { font-size: calc(14.5px * var(--ta-font-scale)); font-weight: 600; color: var(--ta-text); }\n.ta-workbench-launcher-hint { font-size: calc(12.5px * var(--ta-font-scale)); line-height: 1.5; color: var(--ta-secondary); }\n.ta-workbench-launch { display: flex; align-items: center; gap: 12px; height: 40px; flex: none; margin-bottom: 8px; padding: 0 14px; border: 0; border-radius: 8px; background: transparent; color: var(--ta-body); font-size: calc(14px * var(--ta-font-scale)); text-align: left; transition: background 120ms, color 120ms; }\n.ta-workbench-launch:last-child { margin-bottom: 0; }\n.ta-workbench-launch:focus-visible { outline: 1px solid var(--ta-border-focus); outline-offset: -1px; }\n.ta-workbench-launch > svg { flex: none; color: var(--ta-secondary); }\n.ta-workbench-launch:hover { background: var(--ta-hover); color: var(--ta-text); }\n/* Maximized, the workbench takes the whole window: the navigation and the conversation step aside. */\n.ta-workbench-max .ta-nav, .ta-workbench-max .ta-scrim, .ta-workbench-max .ta-main { display: none; }\n.ta-workbench-max .ta-editors { border-left: 0; }\n.ta-workbench-max .ta-editors-pane { flex: 1; width: auto; max-width: none; }\n.ta-workbench-max .ta-editors-pane > .ta-sash { display: none; }\n.ta-editor-body[hidden] { display: none; }\n@media (max-width: 860px), (max-height: 500px) and (pointer: coarse) {\n .ta-sash { display: none; }\n .ta-main { min-width: 0; }\n .ta-editors-pane { position: fixed; z-index: 36; inset: 0; width: auto; min-width: 0; max-width: none; animation: ta-fade 160ms; }\n .ta-editors { border-left: 0; }\n}\n\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.ta-status-waiting::before { background: var(--ta-yellow); }\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.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-bottom: 6px; padding: 4px; border-radius: 12px; border: 1px solid var(--ta-border-muted); 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 6px 4px 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 4px 0 8px; border-radius: 8px; transition: background 120ms; }\n.ta-queue-row:hover { background: var(--ta-hover); }\n.ta-queue-kind { flex: none; display: grid; place-items: center; color: var(--ta-muted); }\n.ta-queue-text { flex: 1; }\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; padding: 8px 8px 10px; min-width: 0; }\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\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.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-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-archive-wait { display: flex; justify-content: center; padding: 12px; }\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-failed { color: color-mix(in srgb, var(--ta-red) 85%, var(--ta-muted)); }\n.ta-chat-flag.ta-waiting, .ta-chat-state.ta-waiting { color: color-mix(in srgb, var(--ta-yellow) 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@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\n/* A dialog in the middle of the page; a sheet from the bottom on a phone */\n.ta-modal-scrim { position: fixed; inset: 0; z-index: 60; display: flex; align-items: flex-start; justify-content: center; padding: 12vh 12px 12px; background: rgba(0, 0, 0, 0.32); animation: ta-fade 140ms ease-out; }\n.ta-modal { position: relative; z-index: 1; width: min(520px, 100%); max-height: 76vh; display: flex; flex-direction: column; gap: 10px; padding: 12px 14px 14px; border-radius: 14px; border: 1px solid var(--ta-border); background: var(--ta-card); box-shadow: var(--ta-shadow-pop); }\n.ta-modal-head { display: flex; align-items: center; justify-content: space-between; padding-left: 2px; }\n.ta-modal-title { font-size: calc(14px * var(--ta-font-scale)); font-weight: 600; }\n.ta-web-dialog { width: min(480px, 100%); gap: 14px; padding: 16px 18px 18px; }\n.ta-web-dialog .ta-modal-title { font-size: calc(16px * var(--ta-font-scale)); }\n.ta-folder-bar { display: flex; align-items: center; gap: 6px; }\n.ta-folder-bar .ta-field input { font-family: var(--ta-mono); font-size: calc(12.5px * var(--ta-font-scale)); }\n.ta-folder-list { list-style: none; flex: none; height: min(340px, 44vh); overflow-y: auto; margin: 0; padding: 4px; border: 1px solid var(--ta-border-muted); border-radius: 10px; }\n.ta-folder-item { display: flex; align-items: center; gap: 10px; width: 100%; height: 34px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; color: var(--ta-body); font-size: calc(13px * var(--ta-font-scale)); text-align: left; }\n.ta-folder-item:hover { background: var(--ta-hover); color: var(--ta-text); }\n.ta-folder-item > .ta-icon:first-child, .ta-folder-chevron { color: var(--ta-muted); }\n.ta-folder-chevron { opacity: 0; }\n.ta-folder-item:hover .ta-folder-chevron { opacity: 1; }\n.ta-folder-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-folder-note { display: flex; justify-content: center; padding: 28px 8px; color: var(--ta-muted); font-size: calc(12.5px * var(--ta-font-scale)); }\n.ta-folder-failed { color: var(--ta-red); font-size: calc(12.5px * var(--ta-font-scale)); overflow-wrap: anywhere; }\n.ta-folder-note { gap: 8px; align-items: center; }\n.ta-folder-step { color: var(--ta-secondary); }\n.ta-folder-unreachable { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 36px 16px; text-align: center; font-size: calc(13px * var(--ta-font-scale)); color: var(--ta-text); }\n.ta-folder-unreachable span { max-width: 100%; color: var(--ta-muted); font-family: var(--ta-mono); font-size: calc(12px * var(--ta-font-scale)); overflow-wrap: anywhere; }\n/* The machines of the picker: this one, the hosts of ssh, + another */\n.ta-modal.ta-folder { width: min(640px, 100%); }\n.ta-folder-machines { flex-wrap: nowrap; overflow-x: auto; margin: 0; padding: 0 0 2px; gap: 6px; scrollbar-width: none; }\n.ta-folder-machines::-webkit-scrollbar { display: none; }\n.ta-folder-machines .ta-icon-button { flex: none; width: 28px; height: 28px; border-radius: 14px; }\n.ta-folder-add input { width: 230px; height: 28px; padding: 0 11px; border-radius: 14px; border: 1px solid var(--ta-border-field); background: var(--ta-input); color: var(--ta-text); font-size: calc(12.5px * var(--ta-font-scale)); outline: none; }\n.ta-folder-add input:focus { border-color: var(--ta-border-focus); }\n.ta-folder-add input[aria-invalid='true'] { border-color: var(--ta-red); }\n.ta-folder-add input { width: 300px; }\n.ta-remote-state { display: inline-flex; align-items: center; gap: 6px; }\n.ta-remote-light { width: 7px; height: 7px; border-radius: 50%; background: var(--ta-border-field); flex: none; }\n.ta-remote-light.ta-on { background: var(--ta-green); }\n.ta-remote-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ta-green); flex: none; }\n/* The host of a directory of another machine, before its name */\n.ta-host-tag { display: inline-flex; align-items: center; gap: 3px; flex: none; box-sizing: border-box; max-width: 120px; height: 17px; padding: 0 5px 0 4px; margin-right: 5px; border-radius: 5px; background: color-mix(in srgb, var(--ta-blue) 11%, transparent); color: color-mix(in srgb, var(--ta-blue) 82%, var(--ta-text)); font-size: calc(11px * var(--ta-font-scale)); font-weight: 500; line-height: calc(17px * var(--ta-font-scale)); white-space: nowrap; vertical-align: middle; }\n.ta-host-tag > svg { flex: none; }\n.ta-host-tag > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }\n/* In a narrow chip the host gives way before the name of the folder, and both stay inside it. */\n.ta-cwd-chip .ta-host-tag { flex: 0 10 auto; min-width: 0; margin: 0 0 0 2px; }\n.ta-cwd-chip .ta-ellipsis { flex: none; max-width: 60%; }\n/* What ssh asks, and the line while a host connects */\n.ta-remote-prompt { width: min(440px, 100%); gap: 12px; }\n.ta-remote-prompt .ta-confirm-title { display: flex; align-items: center; gap: 8px; }\n.ta-remote-message { margin: 0; padding: 8px 10px; border-radius: 8px; background: var(--ta-hover); color: var(--ta-body); font-family: var(--ta-mono); font-size: calc(12px * var(--ta-font-scale)); line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 160px; overflow-y: auto; }\n.ta-remote-status { position: fixed; left: 50%; top: calc(12px + env(safe-area-inset-top) + var(--ta-titlebar, 0px)); z-index: 65; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; max-width: calc(100vw - 32px); height: 32px; padding: 0 14px; border-radius: 16px; border: 1px solid var(--ta-border); background: var(--ta-side); box-shadow: var(--ta-shadow-pop); color: var(--ta-secondary); font-size: calc(12.5px * var(--ta-font-scale)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; animation: ta-fade 160ms ease-out; }\n/* The picker says it itself */\nbody:has(.ta-folder) .ta-remote-status { display: none; }\n@media (max-width: 860px), (max-height: 500px) and (pointer: coarse) {\n .ta-modal-scrim { align-items: flex-end; padding: 0; }\n .ta-modal { max-height: 88dvh; border-radius: 16px 16px 0 0; padding-bottom: calc(14px + env(safe-area-inset-bottom)); animation: ta-up 260ms var(--ta-ease); }\n .ta-chat-row:hover .ta-compact .ta-chat-time, .ta-chat-row:hover .ta-chat-state { visibility: visible; }\n .ta-chat-row:not(.ta-selected) .ta-chat-delete { display: none; }\n .ta-chat-row.ta-selected .ta-chat-delete { opacity: 1; }\n .ta-chat-row.ta-selected .ta-compact .ta-chat-time, .ta-chat-row.ta-selected .ta-chat-state { visibility: hidden; }\n .ta-chat-row.ta-selected .ta-chat-item:not(.ta-compact) .ta-chat-sub { padding-right: 28px; }\n .ta-folder-chevron { opacity: 1; }\n}\n\n/* Performance (t6): rows far up the conversation skip layout and paint until they come into view */\n.ta-thread-item { display: flex; flex-direction: column; min-width: 0; }\n/* A message nothing is drawn of (pi's note of a changed prompt) takes no gap: the first message does not move down when it comes. */\n.ta-thread-item:empty { display: none; }\n.ta-thread-item.ta-settled { content-visibility: auto; contain-intrinsic-size: auto 160px; }\n/* Above the messages while the earlier ones of a long conversation load, as it is scrolled up. */\n.ta-earlier { display: flex; justify-content: center; padding: 12px 0; }\n\n/* Model accounts: the sign-in page, the dialog and a sign-in under way */\n.ta-login-card { width: min(460px, 100%); display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }\n.ta-login-card h1 { margin: 6px 0 0; font-size: calc(20px * var(--ta-font-scale)); font-weight: 600; color: var(--ta-text); }\n.ta-login-card > p { margin: 0 0 6px; color: var(--ta-secondary); font-size: calc(13.5px * var(--ta-font-scale)); line-height: 1.6; }\n.ta-login-card .ta-auth-panel { width: 100%; text-align: left; }\n.ta-login-card .ta-auth-list { max-height: min(46vh, 420px); }\n.ta-login-later { margin-top: 2px; border: 0; background: none; color: var(--ta-muted); font: inherit; font-size: calc(13px * var(--ta-font-scale)); cursor: pointer; }\n.ta-login-later:hover { color: var(--ta-text); }\n.ta-login-card .ta-pic-cards { margin-top: 4px; }\n.ta-auth-dialog { width: min(520px, 100%); gap: 12px; padding: 16px 18px 18px; }\n.ta-auth-dialog .ta-modal-title { font-size: calc(16px * var(--ta-font-scale)); }\n.ta-auth-panel { display: flex; flex-direction: column; gap: 10px; min-height: 0; }\n.ta-auth-list { display: flex; flex-direction: column; gap: 12px; overflow-y: auto; max-height: 56vh; }\n.ta-auth-group h3 { margin: 0 0 4px; padding: 0 10px; font-size: calc(12px * var(--ta-font-scale)); font-weight: 500; color: var(--ta-muted); }\n.ta-auth-row { display: flex; align-items: center; gap: 4px; }\n.ta-auth-item { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; height: 38px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; color: var(--ta-body); font: inherit; font-size: calc(13.5px * var(--ta-font-scale)); text-align: left; cursor: pointer; }\n.ta-auth-item:hover { background: var(--ta-hover); color: var(--ta-text); }\n.ta-auth-item > .ta-icon:last-child { color: var(--ta-muted); }\n.ta-auth-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ta-text); }\n.ta-auth-kind { flex: none; padding: 1px 7px; border-radius: 999px; background: var(--ta-raised); color: var(--ta-muted); font-size: calc(11.5px * var(--ta-font-scale)); }\n.ta-auth-note { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); }\n.ta-auth-on { display: inline-flex; align-items: center; gap: 3px; margin-left: auto; color: var(--ta-green); font-size: calc(12px * var(--ta-font-scale)); max-width: 45%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }\n.ta-auth-item .ta-auth-on + .ta-icon { margin-left: 0; }\n.ta-auth-item > .ta-auth-kind + .ta-icon { margin-left: auto; }\n.ta-auth-flow { display: flex; flex-direction: column; gap: 14px; text-align: left; }\n.ta-auth-flow-head { display: flex; align-items: center; gap: 8px; }\n.ta-auth-flow-title { font-size: calc(15px * var(--ta-font-scale)); font-weight: 600; color: var(--ta-text); }\n.ta-auth-step { display: flex; flex-direction: column; gap: 10px; }\n.ta-auth-step p { margin: 0; color: var(--ta-body); font-size: calc(13.5px * var(--ta-font-scale)); line-height: 1.6; }\n.ta-auth-actions { display: flex; flex-wrap: wrap; gap: 8px; }\n.ta-auth-code { align-self: flex-start; padding: 8px 14px; border-radius: 10px; background: var(--ta-raised); color: var(--ta-text); font-family: var(--ta-mono); font-size: calc(20px * var(--ta-font-scale)); letter-spacing: 0.12em; user-select: all; }\n.ta-auth-options { display: flex; flex-direction: column; gap: 2px; }\n.ta-auth-progress { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; color: var(--ta-muted); font-size: calc(13px * var(--ta-font-scale)); }\n.ta-auth-link { display: block; margin-top: 4px; color: var(--ta-link, var(--ta-brand)); word-break: break-all; }\n/* The sign-in comes in step by step; its pictures answer the pointer */\n@keyframes ta-rise { from { transform: translateY(10px); opacity: 0; } }\n@keyframes ta-key-dot { 0%, 100% { opacity: .35; } 50% { opacity: 1; transform: translateY(-1.5px); } }\n@keyframes ta-tick { from { stroke-dashoffset: 12; } }\n@keyframes ta-code-in { from { letter-spacing: 0.4em; opacity: 0; } }\n.ta-login-card > * { animation: ta-rise 420ms var(--ta-ease) both; }\n.ta-login-card > :nth-child(2) { animation-delay: 60ms; }\n.ta-login-card > :nth-child(3) { animation-delay: 100ms; }\n.ta-login-card > :nth-child(4) { animation-delay: 150ms; }\n.ta-login-card > :nth-child(5) { animation-delay: 220ms; }\n.ta-login-card .ta-pic-card:hover .ta-pic-tick { stroke-dasharray: 12; animation: ta-tick 420ms var(--ta-ease) both; }\n.ta-login-card .ta-pic-card:hover .ta-pic-dot { animation: ta-key-dot 900ms ease-in-out infinite; }\n.ta-login-card .ta-pic-card:hover .ta-pic-dot:nth-child(n+8) { animation-delay: 90ms; }\n.ta-login-card .ta-pic-card:hover .ta-pic-dot:nth-child(n+10) { animation-delay: 180ms; }\n.ta-login-card .ta-pic-card:hover .ta-pic-dot:nth-child(n+12) { animation-delay: 270ms; }\n.ta-auth-flow > *, .ta-auth-panel > *, .ta-auth-group { animation: ta-in 260ms var(--ta-ease) both; }\n.ta-auth-code { animation: ta-code-in 420ms var(--ta-ease) both; }\n.ta-auth-item { transition: background 120ms, color 120ms, transform 120ms var(--ta-ease); }\n.ta-auth-item:hover > .ta-icon:last-child { transform: translateX(2px); transition: transform 160ms var(--ta-ease); }\n/* Ta on a phone: a picture of the way through the relay, the code to scan, the devices */\n@keyframes ta-qr-in { from { transform: scale(.94); opacity: 0; } }\n.ta-relay-dialog { width: min(440px, 100%); gap: 14px; padding: 16px 18px 18px; }\n.ta-relay-dialog .ta-modal-title { font-size: calc(16px * var(--ta-font-scale)); }\n.ta-relay-start, .ta-relay-pairing { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; animation: ta-in 260ms var(--ta-ease) both; }\n.ta-relay-start p, .ta-relay-pairing p { margin: 0; color: var(--ta-secondary); font-size: calc(13px * var(--ta-font-scale)); line-height: 1.6; }\n.ta-relay-pic { width: 100%; max-width: 320px; border-radius: 0; }\n.ta-relay-form { display: flex; gap: 8px; width: 100%; }\n.ta-relay-form .ta-field { flex: 1; }\n.ta-qr { width: 220px; height: 220px; border-radius: 12px; animation: ta-qr-in 320ms var(--ta-ease) both; }\n.ta-relay-state { margin-left: 8px; font-weight: 400; color: var(--ta-muted); }\n.ta-relay-state::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: var(--ta-muted); vertical-align: middle; }\n.ta-relay-state.ta-on::before { background: var(--ta-green); }\n.ta-relay-device { gap: 10px; height: 38px; padding: 0 4px 0 10px; color: var(--ta-muted); }\n.ta-relay-device .ta-auth-note { flex: none; margin-left: auto; }\n";
|
|
2
|
+
export declare const LAYOUT_STYLE = "\n/* Layout (t5): panes the user resizes and collapses, the sashes between them, the tabs of the editor area */\n.ta-sidebar, .ta-editors-pane { position: relative; display: flex; min-height: 0; height: 100%; }\n.ta-sidebar { width: var(--ta-pane, 260px); flex: none; }\n.ta-side-view { display: flex; flex-direction: column; gap: 6px; min-height: 0; padding: calc(8px + env(safe-area-inset-top) + var(--ta-titlebar)) 8px calc(8px + env(safe-area-inset-bottom)); background: var(--ta-side); border-right: 1px solid var(--ta-border-muted); }\n.ta-side-view-head { flex: 1; min-width: 0; display: flex; align-items: center; }\n.ta-main-head-view { flex: 1; min-width: 0; display: flex; align-items: center; }\n.ta-side-view-body { flex: 1; min-height: 0; overflow: auto; margin: 0 -8px; padding: 0 8px; }\n/* A list on its way (ListSkeleton), in the shapes of the rows of the lists: only after a moment, so that one that comes at once never flashes it; then it breathes, opacity only. */\n.ta-skeleton { display: flex; flex-direction: column; animation: ta-fade 240ms ease-out 180ms both; }\n.ta-skeleton-rows { display: flex; flex-direction: column; animation: ta-skeleton 1.6s ease-in-out 420ms infinite; }\n.ta-skeleton-row { display: flex; align-items: center; gap: 12px; min-height: 56px; margin: 1px 0; padding: 9px 10px; box-sizing: border-box; }\n.ta-skeleton-face { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--ta-hover); }\n.ta-skeleton-lines { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 9px; }\n.ta-skeleton-lines > span { height: 10px; border-radius: 5px; background: var(--ta-hover); }\n.ta-skeleton-lines > span + span { height: 8px; border-radius: 4px; }\n/* The top bar of a sidebar view on its way: the search box and the button where the lists have them. */\n.ta-skeleton-head { flex: 1; min-width: 0; }\n.ta-skeleton-head .ta-skeleton-rows { flex-direction: row; gap: 4px; }\n.ta-skeleton-search { flex: 1; height: 36px; border-radius: 10px; background: var(--ta-raised); }\n.ta-skeleton-button { flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--ta-raised); }\n/* Its own rows come in over the place it kept: a fade, once (the top bar is where it was). */\n.ta-side-view[data-arrived] > .ta-side-view-body { animation: ta-fade 200ms ease-out; }\n/* Rows still on their way in it (its data not read yet) take the place of the placeholder's at once, without its moment. */\n.ta-side-view[data-arrived] .ta-skeleton { animation: none; }\n@keyframes ta-skeleton { 50% { opacity: 0.5; } }\n/* The editors may not be wider than the conversation: at most half of what the other columns leave. */\n.ta-editors-pane { width: var(--ta-pane, 480px); max-width: calc((100vw - var(--ta-left, 56px) - var(--ta-right, 0px)) / 2); flex: 0 1 auto; min-width: 280px; }\n.ta-main { min-width: 400px; }\n.ta-rail-gap { width: 24px; height: 1px; flex: none; margin: 4px 0; background: var(--ta-border); }\n.ta-sash { position: absolute; z-index: 6; top: 0; bottom: 0; width: 7px; cursor: col-resize; touch-action: none; outline: none; }\n.ta-sash-start { right: -4px; }\n.ta-sash-end { left: -4px; }\n.ta-sash::after { content: ''; position: absolute; top: 0; bottom: 0; left: 3px; width: 1px; background: transparent; transition: background 120ms 0ms; }\n.ta-sash:hover::after { background: var(--ta-border-focus); transition-delay: 250ms; }\n.ta-sash.ta-dragging::after, .ta-sash:focus-visible::after { background: var(--ta-border-focus); transition-delay: 0ms; }\n.ta-resizing, .ta-resizing * { cursor: col-resize !important; user-select: none !important; }\n.ta-resizing iframe { pointer-events: none; }\n.ta-editors { flex: 1; min-width: 0; display: flex; flex-direction: column; padding-top: var(--ta-titlebar); background: var(--ta-side); border-left: 1px solid var(--ta-border-muted); }\n/*\n * The tabs of a wide workbench, as a browser's or an editor's: a strip the colour of the side over a line; the tab\n * shown is a card the colour of what it shows, joined to it across the line; the others lie on the strip, a short\n * line between two of them, a rounded hover inside; + follows the last. The line is an inset shadow, under the\n * tabs: the card covers it. A phone has its own head (.ta-compact, below).\n */\n.ta-editor-tabs { display: flex; align-items: flex-end; gap: 2px; height: calc(44px + env(safe-area-inset-top)); flex: none; padding: env(safe-area-inset-top) 8px 0 0; background: var(--ta-side); box-shadow: inset 0 -1px 0 var(--ta-border); }\n.ta-workbench-actions { display: flex; align-items: center; gap: 2px; flex: none; height: 34px; margin-left: auto; }\n.ta-workbench-actions .ta-icon-button, .ta-editor-tabs > .ta-workbench-open .ta-icon-button { width: 28px; height: 28px; border-radius: 7px; color: var(--ta-muted); }\n.ta-workbench-actions .ta-icon-button:hover, .ta-workbench-actions .ta-icon-button.ta-on, .ta-editor-tabs > .ta-workbench-open .ta-icon-button:is(:hover, .ta-on) { color: var(--ta-text); }\n.ta-editor-tabs > .ta-workbench-open { flex: none; align-items: center; height: 34px; }\n.ta-editor-tablist { flex: 0 1 auto; min-width: 0; display: flex; align-items: flex-end; align-self: stretch; padding-left: 8px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }\n.ta-editor-tablist::-webkit-scrollbar { display: none; }\n.ta-editor-tab { position: relative; isolation: isolate; display: flex; align-items: center; flex: 0 1 auto; min-width: 92px; max-width: 200px; height: 34px; border: 1px solid transparent; border-bottom: 0; border-radius: 9px 9px 0 0; color: var(--ta-muted); transition: color 120ms; }\n.ta-editor-tab::after { content: ''; position: absolute; z-index: -1; inset: 3px 2px 4px; border-radius: 7px; background: var(--ta-hover); opacity: 0; transition: opacity 120ms; }\n.ta-editor-tab + .ta-editor-tab::before { content: ''; position: absolute; left: -1px; top: 10px; bottom: 10px; width: 1px; background: var(--ta-border); transition: opacity 120ms; }\n.ta-editor-tab:hover { color: var(--ta-body); }\n.ta-editor-tab:not(.ta-active):hover::after { opacity: 1; }\n/* Short of room the tabs narrow, as a browser's, the one shown last; past their least width the strip scrolls. */\n.ta-editor-tab.ta-active { flex-shrink: 0; border-color: var(--ta-border); background: var(--ta-main); color: var(--ta-text); }\n.ta-editor-tab:is(:hover, .ta-active)::before, .ta-editor-tab:is(:hover, .ta-active) + .ta-editor-tab::before { opacity: 0; }\n.ta-editor-tab-button { display: flex; align-items: center; gap: 7px; min-width: 0; height: 100%; padding: 0 2px 0 12px; border: 0; background: transparent; color: inherit; font-size: calc(13px * var(--ta-font-scale)); }\n.ta-editor-tab-button:focus-visible { outline: 1px solid var(--ta-border-focus); outline-offset: -4px; border-radius: 8px; }\n.ta-editor-tab-button > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-editor-tab-button > :not(span:last-child) { flex: none; }\n.ta-editor-tab-close { flex: none; width: 20px; height: 20px; margin-right: 7px; display: grid; place-items: center; border: 0; border-radius: 5px; background: transparent; color: inherit; opacity: 0; }\n.ta-editor-tab:hover .ta-editor-tab-close, .ta-editor-tab.ta-active .ta-editor-tab-close, .ta-editor-tab-close:focus-visible { opacity: 1; }\n.ta-editor-tab-close:hover { background: var(--ta-hover-strong); color: var(--ta-text); }\n.ta-context-menu { position: fixed; left: 0; top: 0; z-index: 80; min-width: 190px; max-width: 320px; display: flex; flex-direction: column; gap: 1px; padding: 6px; border-radius: 12px; border: 1px solid var(--ta-border); background: var(--ta-side); box-shadow: var(--ta-shadow-pop); animation: ta-fade 100ms ease-out; }\n.ta-context-menu-item { display: flex; align-items: center; flex: none; height: 30px; padding: 0 10px; border: 0; border-radius: 8px; background: none; color: var(--ta-text); font: inherit; font-size: calc(13px * var(--ta-font-scale)); text-align: left; cursor: pointer; outline: none; }\n.ta-context-menu-item:hover:not(:disabled), .ta-context-menu-item:focus-visible { background: var(--ta-hover); }\n.ta-context-menu-item:disabled { opacity: 0.45; cursor: default; }\n.ta-context-menu-item.ta-danger { color: var(--ta-red); }\n/* The entry of any menu a held finger slid onto (ContextMenuUtil.attach): let go, it is chosen. */\n[role=\"menuitem\"][data-armed] { background: var(--ta-hover); }\n.ta-context-menu-line { flex: none; height: 1px; margin: 5px 8px; border: 0; background: var(--ta-border-muted); }\n.ta-context-menu-caption { flex: none; margin: 0 8px 5px; padding: 3px 2px 8px; border-bottom: 1px solid var(--ta-border-muted); color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n.ta-editor-tab.ta-preview .ta-editor-tab-button > span { font-style: italic; }\n.ta-editor-tab-close { position: relative; }\n.ta-editor-tab-dirty { position: absolute; inset: 0; margin: auto; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }\n.ta-editor-tab.ta-dirty .ta-editor-tab-close { opacity: 1; }\n.ta-editor-tab.ta-dirty .ta-editor-tab-close > svg { visibility: hidden; }\n.ta-editor-tab.ta-dirty .ta-editor-tab-close:hover > svg, .ta-editor-tab.ta-dirty .ta-editor-tab-close:focus-visible > svg { visibility: visible; }\n.ta-editor-tab.ta-dirty .ta-editor-tab-close:hover > .ta-editor-tab-dirty, .ta-editor-tab.ta-dirty .ta-editor-tab-close:focus-visible > .ta-editor-tab-dirty { display: none; }\n.ta-editor-body { flex: 1; min-height: 0; overflow: auto; background: var(--ta-main); }\n.ta-workbench-title { display: flex; align-items: center; height: 34px; padding: 0 6px; font-size: calc(13.5px * var(--ta-font-scale)); font-weight: 600; color: var(--ta-secondary); }\n.ta-workbench-open { position: relative; display: flex; }\n.ta-workbench-menu { position: absolute; top: calc(100% + 6px); z-index: 45; width: 220px; max-height: min(440px, 70vh); overflow: auto; 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-workbench-menu .ta-account-item { flex: none; gap: 12px; height: 36px; padding: 0 10px; font-size: calc(13.5px * var(--ta-font-scale)); color: var(--ta-body); }\n.ta-workbench-menu .ta-account-item > svg { flex: none; color: var(--ta-secondary); }\n.ta-workbench-menu .ta-account-item:focus-visible { outline: 1px solid var(--ta-border-focus); outline-offset: -1px; }\n/* Where the tools of + open: the directory of the conversation shown, as the caption of the menu. */\n.ta-workbench-menu-cwd { display: flex; align-items: center; gap: 6px; flex: none; min-width: 0; height: 30px; margin: 0 4px 4px; padding: 0 6px 4px; border-bottom: 1px solid var(--ta-border-muted); color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); cursor: default; }\n.ta-workbench-menu-cwd > svg { flex: none; }\n.ta-workbench-menu.ta-start { left: 0; }\n.ta-workbench-menu.ta-end { right: 0; }\n/*\n * The head of the workbench on a phone (CompactHead): back, the tab shown with how many are open, which lists\n * them under it (TabSwitcher), and +. Over what it shows: the list and the scrim it lays over the tab.\n */\n.ta-editor-head-compact { position: relative; z-index: 5; flex: none; }\n.ta-compact .ta-editor-tabs { align-items: center; gap: 2px; height: calc(52px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) calc(6px + env(safe-area-inset-right)) 0 calc(4px + env(safe-area-inset-left)); background: var(--ta-main); box-shadow: inset 0 -1px 0 var(--ta-border-muted); }\n.ta-compact .ta-editor-tabs > .ta-icon-button, .ta-compact .ta-editor-tabs > .ta-workbench-open .ta-icon-button { width: 40px; height: 40px; border-radius: 10px; color: var(--ta-secondary); }\n.ta-compact .ta-editor-tabs > .ta-workbench-open { flex: none; margin-left: auto; }\n.ta-compact .ta-workbench-title { flex: 1; min-width: 0; height: auto; padding: 0 6px; color: var(--ta-text); font-size: calc(16px * var(--ta-font-scale)); }\n.ta-workbench-switch { flex: 0 1 auto; min-width: 0; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 8px 0 6px; border: 0; border-radius: 10px; background: none; color: var(--ta-text); font: inherit; font-size: calc(16px * var(--ta-font-scale)); font-weight: 600; transition: background 120ms; }\n.ta-workbench-switch > :first-child { flex: none; color: var(--ta-secondary); }\n.ta-workbench-switch:active, .ta-workbench-switch.ta-on { background: var(--ta-hover); }\n.ta-workbench-switch-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-workbench-count { flex: none; min-width: calc(20px * var(--ta-font-scale)); height: calc(20px * var(--ta-font-scale)); padding: 0 6px; border-radius: 999px; background: var(--ta-chip); color: var(--ta-secondary); font-size: calc(12px * var(--ta-font-scale)); font-weight: 600; line-height: calc(20px * var(--ta-font-scale)); text-align: center; font-variant-numeric: tabular-nums; }\n.ta-workbench-switch-caret { flex: none; margin-left: -2px; color: var(--ta-muted); transition: transform 220ms var(--ta-ease); }\n.ta-workbench-switch.ta-on .ta-workbench-switch-caret { transform: rotate(180deg); }\n.ta-tab-switcher-scrim { position: absolute; top: 100%; left: 0; right: 0; height: 100vh; padding: 0; border: 0; background: rgba(0, 0, 0, 0.18); animation: ta-fade 180ms ease-out; -webkit-tap-highlight-color: transparent; }\n.ta-tab-switcher { position: absolute; top: calc(100% + 6px); left: calc(8px + env(safe-area-inset-left)); right: calc(8px + env(safe-area-inset-right)); display: flex; flex-direction: column; max-height: min(64vh, 520px); overflow: hidden; border: 1px solid var(--ta-border); border-radius: 16px; background: var(--ta-side); box-shadow: var(--ta-shadow-pop); transform-origin: 50% 0; animation: ta-tabs-drop 200ms var(--ta-ease); }\n@keyframes ta-tabs-drop { from { opacity: 0; transform: translate3d(0, -6px, 0) scale(0.98); } }\n.ta-tab-switcher-head { display: flex; align-items: center; gap: 10px; flex: none; height: 44px; padding: 0 6px 0 16px; border-bottom: 1px solid var(--ta-border-muted); color: var(--ta-muted); font-size: calc(13px * var(--ta-font-scale)); }\n.ta-tab-switcher-count { flex: none; font-weight: 500; color: var(--ta-secondary); }\n.ta-tab-switcher-all { flex: none; height: 32px; margin-left: auto; padding: 0 10px; border: 0; border-radius: 8px; background: none; color: var(--ta-secondary); font: inherit; font-size: calc(13px * var(--ta-font-scale)); }\n.ta-tab-switcher-all:active { background: var(--ta-hover); }\n.ta-tab-switcher-list { display: flex; flex-direction: column; gap: 2px; min-height: 0; padding: 6px; overflow-y: auto; overscroll-behavior: contain; }\n.ta-tab-switcher-row { display: flex; align-items: center; flex: none; min-height: 48px; border-radius: 11px; transition: background 120ms; }\n.ta-tab-switcher-row.ta-active { background: var(--ta-selected); }\n.ta-tab-switcher-row:has(> .ta-tab-switcher-main:active) { background: var(--ta-hover); }\n.ta-tab-switcher-main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 4px 0 8px; border: 0; background: none; color: var(--ta-body); font: inherit; font-size: calc(15px * var(--ta-font-scale)); text-align: left; }\n.ta-tab-switcher-row.ta-active .ta-tab-switcher-main { color: var(--ta-text); font-weight: 500; }\n.ta-tab-switcher-glyph { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--ta-chip); color: var(--ta-secondary); }\n.ta-tab-switcher-row.ta-active .ta-tab-switcher-glyph { background: var(--ta-main); }\n.ta-tab-switcher-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-tab-switcher-title.ta-preview { font-style: italic; }\n.ta-tab-switcher-dirty { flex: none; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }\n.ta-tab-switcher-close { flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 10px; background: none; color: var(--ta-muted); }\n.ta-tab-switcher-close:active { background: var(--ta-hover-strong); color: var(--ta-text); }\n.ta-workbench-launcher { flex: 1; min-height: 0; overflow: auto; display: flex; flex-direction: column; align-items: center; justify-content: safe center; padding: 32px 20px calc(32px + env(safe-area-inset-bottom)); }\n.ta-workbench-launcher > * { width: 100%; max-width: 280px; }\n.ta-workbench-launcher-head { display: flex; flex-direction: column; align-items: center; gap: 6px; max-width: 320px; margin-bottom: 24px; text-align: center; }\n.ta-workbench-launcher-title { font-size: calc(14.5px * var(--ta-font-scale)); font-weight: 600; color: var(--ta-text); }\n.ta-workbench-launcher-hint { font-size: calc(12.5px * var(--ta-font-scale)); line-height: 1.5; color: var(--ta-secondary); }\n.ta-workbench-launch { display: flex; align-items: center; gap: 12px; height: 40px; flex: none; margin-bottom: 8px; padding: 0 14px; border: 0; border-radius: 8px; background: transparent; color: var(--ta-body); font-size: calc(14px * var(--ta-font-scale)); text-align: left; transition: background 120ms, color 120ms; }\n.ta-workbench-launch:last-child { margin-bottom: 0; }\n.ta-workbench-launch:focus-visible { outline: 1px solid var(--ta-border-focus); outline-offset: -1px; }\n.ta-workbench-launch > svg { flex: none; color: var(--ta-secondary); }\n.ta-workbench-launch:hover { background: var(--ta-hover); color: var(--ta-text); }\n/* Maximized, the workbench takes the whole window: the navigation and the conversation step aside. */\n.ta-workbench-max .ta-nav, .ta-workbench-max .ta-scrim, .ta-workbench-max .ta-main { display: none; }\n.ta-workbench-max .ta-editors { border-left: 0; }\n.ta-workbench-max .ta-editors-pane { flex: 1; width: auto; max-width: none; }\n.ta-workbench-max .ta-editors-pane > .ta-sash { display: none; }\n.ta-editor-body[hidden] { display: none; }\n@media (max-width: 860px), (max-height: 500px) and (pointer: coarse) {\n .ta-sash { display: none; }\n .ta-main { min-width: 0; }\n .ta-editors-pane { position: fixed; z-index: 36; inset: 0; width: auto; min-width: 0; max-width: none; animation: ta-fade 160ms; }\n .ta-editors { border-left: 0; }\n}\n\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.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; padding: 8px 8px 10px; min-width: 0; }\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\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.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-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-archive-wait { display: flex; justify-content: center; padding: 12px; }\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-failed { color: color-mix(in srgb, var(--ta-red) 85%, var(--ta-muted)); }\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.ta-chat-asks .ta-chat-section-title { display: flex; align-items: center; gap: 6px; color: color-mix(in srgb, var(--ta-blue) 80%, var(--ta-muted)); }\n.ta-chat-asks-count { min-width: 16px; height: 16px; padding: 0 4px; box-sizing: border-box; border-radius: 8px; background: color-mix(in srgb, var(--ta-blue) 14%, transparent); font-size: 10px; font-weight: 600; line-height: 16px; text-align: center; }\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\n/* A dialog in the middle of the page; a sheet from the bottom on a phone */\n.ta-modal-scrim { position: fixed; inset: 0; z-index: 60; display: flex; align-items: flex-start; justify-content: center; padding: 12vh 12px 12px; background: rgba(0, 0, 0, 0.32); animation: ta-fade 140ms ease-out; }\n.ta-modal { position: relative; z-index: 1; width: min(520px, 100%); max-height: 76vh; display: flex; flex-direction: column; gap: 10px; padding: 12px 14px 14px; border-radius: 14px; border: 1px solid var(--ta-border); background: var(--ta-card); box-shadow: var(--ta-shadow-pop); }\n.ta-modal-head { display: flex; align-items: center; justify-content: space-between; padding-left: 2px; }\n.ta-modal-title { font-size: calc(14px * var(--ta-font-scale)); font-weight: 600; }\n.ta-web-dialog { width: min(480px, 100%); gap: 14px; padding: 16px 18px 18px; }\n.ta-web-dialog .ta-modal-title { font-size: calc(16px * var(--ta-font-scale)); }\n.ta-folder-bar { display: flex; align-items: center; gap: 6px; }\n.ta-folder-bar .ta-field input { font-family: var(--ta-mono); font-size: calc(12.5px * var(--ta-font-scale)); }\n.ta-folder-list { list-style: none; flex: none; height: min(340px, 44vh); overflow-y: auto; margin: 0; padding: 4px; border: 1px solid var(--ta-border-muted); border-radius: 10px; }\n.ta-folder-item { display: flex; align-items: center; gap: 10px; width: 100%; height: 34px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; color: var(--ta-body); font-size: calc(13px * var(--ta-font-scale)); text-align: left; }\n.ta-folder-item:hover { background: var(--ta-hover); color: var(--ta-text); }\n.ta-folder-item > .ta-icon:first-child, .ta-folder-chevron { color: var(--ta-muted); }\n.ta-folder-chevron { opacity: 0; }\n.ta-folder-item:hover .ta-folder-chevron { opacity: 1; }\n.ta-folder-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-folder-note { display: flex; justify-content: center; padding: 28px 8px; color: var(--ta-muted); font-size: calc(12.5px * var(--ta-font-scale)); }\n.ta-folder-failed { color: var(--ta-red); font-size: calc(12.5px * var(--ta-font-scale)); overflow-wrap: anywhere; }\n.ta-folder-note { gap: 8px; align-items: center; }\n.ta-folder-step { color: var(--ta-secondary); }\n.ta-folder-unreachable { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 36px 16px; text-align: center; font-size: calc(13px * var(--ta-font-scale)); color: var(--ta-text); }\n.ta-folder-unreachable span { max-width: 100%; color: var(--ta-muted); font-family: var(--ta-mono); font-size: calc(12px * var(--ta-font-scale)); overflow-wrap: anywhere; }\n/* The machines of the picker: this one, the hosts of ssh, + another */\n.ta-modal.ta-folder { width: min(640px, 100%); }\n.ta-folder-machines { flex-wrap: nowrap; overflow-x: auto; margin: 0; padding: 0 0 2px; gap: 6px; scrollbar-width: none; }\n.ta-folder-machines::-webkit-scrollbar { display: none; }\n.ta-folder-machines .ta-icon-button { flex: none; width: 28px; height: 28px; border-radius: 14px; }\n.ta-folder-add input { width: 230px; height: 28px; padding: 0 11px; border-radius: 14px; border: 1px solid var(--ta-border-field); background: var(--ta-input); color: var(--ta-text); font-size: calc(12.5px * var(--ta-font-scale)); outline: none; }\n.ta-folder-add input:focus { border-color: var(--ta-border-focus); }\n.ta-folder-add input[aria-invalid='true'] { border-color: var(--ta-red); }\n.ta-folder-add input { width: 300px; }\n.ta-remote-state { display: inline-flex; align-items: center; gap: 6px; }\n.ta-remote-light { width: 7px; height: 7px; border-radius: 50%; background: var(--ta-border-field); flex: none; }\n.ta-remote-light.ta-on { background: var(--ta-green); }\n.ta-remote-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ta-green); flex: none; }\n/* The host of a directory of another machine, before its name */\n.ta-host-tag { display: inline-flex; align-items: center; gap: 3px; flex: none; box-sizing: border-box; max-width: 120px; height: 17px; padding: 0 5px 0 4px; margin-right: 5px; border-radius: 5px; background: color-mix(in srgb, var(--ta-blue) 11%, transparent); color: color-mix(in srgb, var(--ta-blue) 82%, var(--ta-text)); font-size: calc(11px * var(--ta-font-scale)); font-weight: 500; line-height: calc(17px * var(--ta-font-scale)); white-space: nowrap; vertical-align: middle; }\n.ta-host-tag > svg { flex: none; }\n.ta-host-tag > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }\n/* In a narrow chip the host gives way before the name of the folder, and both stay inside it. */\n.ta-cwd-chip .ta-host-tag { flex: 0 10 auto; min-width: 0; margin: 0 0 0 2px; }\n.ta-cwd-chip .ta-ellipsis { flex: none; max-width: 60%; }\n/* What ssh asks, and the line while a host connects */\n.ta-remote-prompt { width: min(440px, 100%); gap: 12px; }\n.ta-remote-prompt .ta-confirm-title { display: flex; align-items: center; gap: 8px; }\n.ta-remote-message { margin: 0; padding: 8px 10px; border-radius: 8px; background: var(--ta-hover); color: var(--ta-body); font-family: var(--ta-mono); font-size: calc(12px * var(--ta-font-scale)); line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 160px; overflow-y: auto; }\n.ta-remote-status { position: fixed; left: 50%; top: calc(12px + env(safe-area-inset-top) + var(--ta-titlebar, 0px)); z-index: 65; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; max-width: calc(100vw - 32px); height: 32px; padding: 0 14px; border-radius: 16px; border: 1px solid var(--ta-border); background: var(--ta-side); box-shadow: var(--ta-shadow-pop); color: var(--ta-secondary); font-size: calc(12.5px * var(--ta-font-scale)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; animation: ta-fade 160ms ease-out; }\n/* The picker says it itself */\nbody:has(.ta-folder) .ta-remote-status { display: none; }\n@media (max-width: 860px), (max-height: 500px) and (pointer: coarse) {\n .ta-modal-scrim { align-items: flex-end; padding: 0; }\n .ta-modal { max-height: 88dvh; border-radius: 16px 16px 0 0; padding-bottom: calc(14px + env(safe-area-inset-bottom)); animation: ta-up 260ms var(--ta-ease); }\n .ta-chat-row:hover .ta-compact .ta-chat-time, .ta-chat-row:hover .ta-chat-state { visibility: visible; }\n .ta-chat-row:not(.ta-selected) .ta-chat-delete { display: none; }\n .ta-chat-row.ta-selected .ta-chat-delete { opacity: 1; }\n .ta-chat-row.ta-selected .ta-compact .ta-chat-time, .ta-chat-row.ta-selected .ta-chat-state { visibility: hidden; }\n .ta-chat-row.ta-selected .ta-chat-item:not(.ta-compact) .ta-chat-sub { padding-right: 28px; }\n .ta-folder-chevron { opacity: 1; }\n}\n\n/* Performance (t6): rows far up the conversation skip layout and paint until they come into view */\n.ta-thread-item { display: flex; flex-direction: column; min-width: 0; contain-intrinsic-size: auto 160px; }\n/* A message nothing is drawn of (pi's note of a changed prompt) takes no gap: the first message does not move down when it comes. */\n.ta-thread-item:empty { display: none; }\n.ta-thread-item.ta-settled { content-visibility: auto; }\n/* Above the messages while the earlier ones of a long conversation load, as it is scrolled up. */\n.ta-earlier { display: flex; justify-content: center; padding: 12px 0; }\n\n/* Model accounts: the sign-in page, the dialog and a sign-in under way */\n.ta-login-card { width: min(460px, 100%); display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }\n.ta-login-card h1 { margin: 6px 0 0; font-size: calc(20px * var(--ta-font-scale)); font-weight: 600; color: var(--ta-text); }\n.ta-login-card > p { margin: 0 0 6px; color: var(--ta-secondary); font-size: calc(13.5px * var(--ta-font-scale)); line-height: 1.6; }\n.ta-login-card .ta-auth-panel { width: 100%; text-align: left; }\n.ta-login-card .ta-auth-list { max-height: min(46vh, 420px); }\n.ta-login-later { margin-top: 2px; border: 0; background: none; color: var(--ta-muted); font: inherit; font-size: calc(13px * var(--ta-font-scale)); cursor: pointer; }\n.ta-login-later:hover { color: var(--ta-text); }\n.ta-login-card .ta-pic-cards { margin-top: 4px; }\n.ta-auth-dialog { width: min(520px, 100%); gap: 12px; padding: 16px 18px 18px; }\n.ta-auth-dialog .ta-modal-title { font-size: calc(16px * var(--ta-font-scale)); }\n.ta-auth-panel { display: flex; flex-direction: column; gap: 10px; min-height: 0; }\n.ta-auth-list { display: flex; flex-direction: column; gap: 12px; overflow-y: auto; max-height: 56vh; }\n.ta-auth-group h3 { margin: 0 0 4px; padding: 0 10px; font-size: calc(12px * var(--ta-font-scale)); font-weight: 500; color: var(--ta-muted); }\n.ta-auth-row { display: flex; align-items: center; gap: 4px; }\n.ta-auth-item { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; height: 38px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; color: var(--ta-body); font: inherit; font-size: calc(13.5px * var(--ta-font-scale)); text-align: left; cursor: pointer; }\n.ta-auth-item:hover { background: var(--ta-hover); color: var(--ta-text); }\n.ta-auth-item > .ta-icon:last-child { color: var(--ta-muted); }\n.ta-auth-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ta-text); }\n.ta-auth-kind { flex: none; padding: 1px 7px; border-radius: 999px; background: var(--ta-raised); color: var(--ta-muted); font-size: calc(11.5px * var(--ta-font-scale)); }\n.ta-auth-note { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); }\n.ta-auth-on { display: inline-flex; align-items: center; gap: 3px; margin-left: auto; color: var(--ta-green); font-size: calc(12px * var(--ta-font-scale)); max-width: 45%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }\n.ta-auth-item .ta-auth-on + .ta-icon { margin-left: 0; }\n.ta-auth-item > .ta-auth-kind + .ta-icon { margin-left: auto; }\n.ta-auth-flow { display: flex; flex-direction: column; gap: 14px; text-align: left; }\n.ta-auth-flow-head { display: flex; align-items: center; gap: 8px; }\n.ta-auth-flow-title { font-size: calc(15px * var(--ta-font-scale)); font-weight: 600; color: var(--ta-text); }\n.ta-auth-step { display: flex; flex-direction: column; gap: 10px; }\n.ta-auth-step p { margin: 0; color: var(--ta-body); font-size: calc(13.5px * var(--ta-font-scale)); line-height: 1.6; }\n.ta-auth-actions { display: flex; flex-wrap: wrap; gap: 8px; }\n.ta-auth-code { align-self: flex-start; padding: 8px 14px; border-radius: 10px; background: var(--ta-raised); color: var(--ta-text); font-family: var(--ta-mono); font-size: calc(20px * var(--ta-font-scale)); letter-spacing: 0.12em; user-select: all; }\n.ta-auth-options { display: flex; flex-direction: column; gap: 2px; }\n.ta-auth-progress { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; color: var(--ta-muted); font-size: calc(13px * var(--ta-font-scale)); }\n.ta-auth-link { display: block; margin-top: 4px; color: var(--ta-link, var(--ta-brand)); word-break: break-all; }\n/* The sign-in comes in step by step; its pictures answer the pointer */\n@keyframes ta-rise { from { transform: translateY(10px); opacity: 0; } }\n@keyframes ta-key-dot { 0%, 100% { opacity: .35; } 50% { opacity: 1; transform: translateY(-1.5px); } }\n@keyframes ta-tick { from { stroke-dashoffset: 12; } }\n@keyframes ta-code-in { from { letter-spacing: 0.4em; opacity: 0; } }\n.ta-login-card > * { animation: ta-rise 420ms var(--ta-ease) both; }\n.ta-login-card > :nth-child(2) { animation-delay: 60ms; }\n.ta-login-card > :nth-child(3) { animation-delay: 100ms; }\n.ta-login-card > :nth-child(4) { animation-delay: 150ms; }\n.ta-login-card > :nth-child(5) { animation-delay: 220ms; }\n.ta-login-card .ta-pic-card:hover .ta-pic-tick { stroke-dasharray: 12; animation: ta-tick 420ms var(--ta-ease) both; }\n.ta-login-card .ta-pic-card:hover .ta-pic-dot { animation: ta-key-dot 900ms ease-in-out infinite; }\n.ta-login-card .ta-pic-card:hover .ta-pic-dot:nth-child(n+8) { animation-delay: 90ms; }\n.ta-login-card .ta-pic-card:hover .ta-pic-dot:nth-child(n+10) { animation-delay: 180ms; }\n.ta-login-card .ta-pic-card:hover .ta-pic-dot:nth-child(n+12) { animation-delay: 270ms; }\n.ta-auth-flow > *, .ta-auth-panel > *, .ta-auth-group { animation: ta-in 260ms var(--ta-ease) both; }\n.ta-auth-code { animation: ta-code-in 420ms var(--ta-ease) both; }\n.ta-auth-item { transition: background 120ms, color 120ms, transform 120ms var(--ta-ease); }\n.ta-auth-item:hover > .ta-icon:last-child { transform: translateX(2px); transition: transform 160ms var(--ta-ease); }\n/* Ta on a phone: a picture of the way through the relay, the code to scan, the devices */\n@keyframes ta-qr-in { from { transform: scale(.94); opacity: 0; } }\n.ta-relay-dialog { width: min(440px, 100%); gap: 14px; padding: 16px 18px 18px; }\n.ta-relay-dialog .ta-modal-title { font-size: calc(16px * var(--ta-font-scale)); }\n.ta-relay-start, .ta-relay-pairing { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; animation: ta-in 260ms var(--ta-ease) both; }\n.ta-relay-start p, .ta-relay-pairing p { margin: 0; color: var(--ta-secondary); font-size: calc(13px * var(--ta-font-scale)); line-height: 1.6; }\n.ta-relay-pic { width: 100%; max-width: 320px; border-radius: 0; }\n.ta-relay-form { display: flex; gap: 8px; width: 100%; }\n.ta-relay-form .ta-field { flex: 1; }\n.ta-qr { width: 220px; height: 220px; border-radius: 12px; animation: ta-qr-in 320ms var(--ta-ease) both; }\n.ta-relay-state { margin-left: 8px; font-weight: 400; color: var(--ta-muted); }\n.ta-relay-state::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: var(--ta-muted); vertical-align: middle; }\n.ta-relay-state.ta-on::before { background: var(--ta-green); }\n.ta-relay-device { gap: 10px; height: 38px; padding: 0 4px 0 10px; color: var(--ta-muted); }\n.ta-relay-device .ta-auth-note { flex: none; margin-left: auto; }\n.ta-relay-awake { display: flex; align-items: center; gap: 12px; padding: 0 4px 0 10px; }\n.ta-relay-awake-text { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 2px; }\n.ta-relay-awake-text .ta-auth-note { white-space: normal; line-height: 1.5; }\n";
|
|
@@ -175,7 +175,8 @@ export const LAYOUT_STYLE = `
|
|
|
175
175
|
.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; }
|
|
176
176
|
/* There, a call it runs is already the last step, its dot breathing: the line would say it again. */
|
|
177
177
|
.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; }
|
|
178
|
-
|
|
178
|
+
/* What waits for the user is a blue ?, apart from the blue dot that breathes while it works and the amber of something unseen. */
|
|
179
|
+
.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; }
|
|
179
180
|
/* On the head of a turn the face of ta already shows that it works. */
|
|
180
181
|
.ta-turn-head .ta-run-status > .ta-status { display: none; }
|
|
181
182
|
.ta-session { container-type: inline-size; }
|
|
@@ -356,14 +357,16 @@ export const LAYOUT_STYLE = `
|
|
|
356
357
|
.ta-commands-note { right: auto; padding: 0; border-color: var(--ta-border-muted); box-shadow: none; }
|
|
357
358
|
.ta-command-note { padding: 5px 10px; font-size: calc(12px * var(--ta-font-scale)); color: var(--ta-muted); white-space: nowrap; }
|
|
358
359
|
/* The messages waiting for the agent: a header with their count, then a line for each, its actions on hover. */
|
|
359
|
-
.ta-queue { display: flex; flex-direction: column; margin
|
|
360
|
-
.ta-queue-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 2px
|
|
360
|
+
.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; }
|
|
361
|
+
.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)); }
|
|
361
362
|
.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; }
|
|
362
363
|
.ta-queue-all:hover { color: var(--ta-text); background: var(--ta-hover); }
|
|
363
|
-
.ta-queue-row { display: flex; align-items: center; gap: 8px; min-width: 0; height: 30px; padding: 0
|
|
364
|
+
.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; }
|
|
364
365
|
.ta-queue-row:hover { background: var(--ta-hover); }
|
|
365
|
-
.ta-queue-kind { flex: none; display:
|
|
366
|
-
.ta-queue-
|
|
366
|
+
.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)); }
|
|
367
|
+
.ta-queue-row > .ta-origin { flex: none; max-width: 40%; }
|
|
368
|
+
.ta-queue-row > .ta-origin .ta-origin-detail { display: none; }
|
|
369
|
+
.ta-queue-text { flex: 1; min-width: 0; color: var(--ta-text); }
|
|
367
370
|
.ta-queue-actions { flex: none; display: flex; gap: 2px; opacity: 0; transition: opacity 120ms; }
|
|
368
371
|
.ta-queue-row:hover .ta-queue-actions, .ta-queue-actions:focus-within { opacity: 1; }
|
|
369
372
|
.ta-queue-actions .ta-icon-button { width: 24px; height: 24px; border-radius: 6px; color: var(--ta-muted); }
|
|
@@ -465,7 +468,7 @@ export const LAYOUT_STYLE = `
|
|
|
465
468
|
.ta-chat-dir > svg { flex: none; }
|
|
466
469
|
.ta-chat-flag { margin-right: 3px; }
|
|
467
470
|
.ta-chat-flag.ta-failed { color: color-mix(in srgb, var(--ta-red) 85%, var(--ta-muted)); }
|
|
468
|
-
.ta-chat-flag.ta-waiting, .ta-chat-state.ta-waiting { color: color-mix(in srgb, var(--ta-
|
|
471
|
+
.ta-chat-flag.ta-waiting, .ta-chat-state.ta-waiting { color: color-mix(in srgb, var(--ta-blue) 85%, var(--ta-muted)); }
|
|
469
472
|
/* Its directory, in place of its time while the pointer is on it. */
|
|
470
473
|
.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); }
|
|
471
474
|
.ta-chat-place > svg { flex: none; }
|
|
@@ -496,6 +499,15 @@ export const LAYOUT_STYLE = `
|
|
|
496
499
|
.ta-chat-line > .ta-chat-dot:not(.ta-on) { width: 0; margin-left: -8px; }
|
|
497
500
|
.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); }
|
|
498
501
|
.ta-chat-dot.ta-on { transform: none; opacity: 1; }
|
|
502
|
+
/* A conversation that waits for the user to decide: a blue ? in place of the amber dot, which seeing it does not take away. */
|
|
503
|
+
.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; }
|
|
504
|
+
.ta-chat-line > .ta-chat-dot.ta-asks { width: 13px; height: 13px; }
|
|
505
|
+
.ta-chat-avatar-box > .ta-chat-dot.ta-asks { right: -3px; bottom: -3px; width: 17px; height: 17px; font-size: 10px; }
|
|
506
|
+
.ta-chat-asks .ta-chat-section-title { display: flex; align-items: center; gap: 6px; color: color-mix(in srgb, var(--ta-blue) 80%, var(--ta-muted)); }
|
|
507
|
+
.ta-chat-asks-count { min-width: 16px; height: 16px; padding: 0 4px; box-sizing: border-box; border-radius: 8px; background: color-mix(in srgb, var(--ta-blue) 14%, transparent); font-size: 10px; font-weight: 600; line-height: 16px; text-align: center; }
|
|
508
|
+
/* How many wait for the user to decide, on the entry of the chats: over the corner of its icon. */
|
|
509
|
+
.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); }
|
|
510
|
+
.ta-tabbar-icon > .ta-asks-badge { top: -5px; right: -11px; }
|
|
499
511
|
@media (prefers-reduced-motion: reduce) { .ta-chat-dot { transition: opacity 0.18s ease; } }
|
|
500
512
|
/* What came unseen reads as unread: in the color of the text, not muted. */
|
|
501
513
|
.ta-chat-sub.ta-unseen { color: var(--ta-text); }
|
|
@@ -577,10 +589,10 @@ body:has(.ta-folder) .ta-remote-status { display: none; }
|
|
|
577
589
|
}
|
|
578
590
|
|
|
579
591
|
/* Performance (t6): rows far up the conversation skip layout and paint until they come into view */
|
|
580
|
-
.ta-thread-item { display: flex; flex-direction: column; min-width: 0; }
|
|
592
|
+
.ta-thread-item { display: flex; flex-direction: column; min-width: 0; contain-intrinsic-size: auto 160px; }
|
|
581
593
|
/* A message nothing is drawn of (pi's note of a changed prompt) takes no gap: the first message does not move down when it comes. */
|
|
582
594
|
.ta-thread-item:empty { display: none; }
|
|
583
|
-
.ta-thread-item.ta-settled { content-visibility: auto;
|
|
595
|
+
.ta-thread-item.ta-settled { content-visibility: auto; }
|
|
584
596
|
/* Above the messages while the earlier ones of a long conversation load, as it is scrolled up. */
|
|
585
597
|
.ta-earlier { display: flex; justify-content: center; padding: 12px 0; }
|
|
586
598
|
|
|
@@ -652,5 +664,8 @@ body:has(.ta-folder) .ta-remote-status { display: none; }
|
|
|
652
664
|
.ta-relay-state.ta-on::before { background: var(--ta-green); }
|
|
653
665
|
.ta-relay-device { gap: 10px; height: 38px; padding: 0 4px 0 10px; color: var(--ta-muted); }
|
|
654
666
|
.ta-relay-device .ta-auth-note { flex: none; margin-left: auto; }
|
|
667
|
+
.ta-relay-awake { display: flex; align-items: center; gap: 12px; padding: 0 4px 0 10px; }
|
|
668
|
+
.ta-relay-awake-text { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 2px; }
|
|
669
|
+
.ta-relay-awake-text .ta-auth-note { white-space: normal; line-height: 1.5; }
|
|
655
670
|
`;
|
|
656
671
|
//# sourceMappingURL=layout.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** The settings page, the menus of the account, the lists of Discover and Me, and the fade of what streams in. */
|
|
2
|
-
export declare const PAGES_STYLE = "\n/* The settings: a page of the main area, a table of contents in two levels beside the sections */\n.ta-settings-page { flex: 1; min-height: 0; display: flex; flex-direction: column; }\n.ta-settings-head { justify-content: flex-start; gap: 10px; border-bottom: 1px solid var(--ta-border-muted); }\n.ta-settings-title { flex: none; font-size: calc(14px * var(--ta-font-scale)); font-weight: 600; padding-left: 8px; }\n.ta-settings-search { flex: 1; max-width: 420px; height: 32px; margin: 0 auto; display: flex; align-items: center; gap: 6px; color: var(--ta-muted); }\n.ta-settings-search input { color: var(--ta-text); }\n.ta-settings-search .ta-icon-button { width: 22px; height: 22px; }\n.ta-settings-body { flex: 1; min-height: 0; display: flex; }\n.ta-settings-toc { flex: none; width: 200px; overflow-y: auto; padding: 14px 10px; display: flex; flex-direction: column; gap: 14px; border-right: 1px solid var(--ta-border-muted); }\n.ta-settings-toc-part { display: flex; flex-direction: column; gap: 1px; }\n.ta-settings-toc-group { border: 0; background: none; text-align: left; padding: 2px 10px 4px; font-size: calc(12px * var(--ta-font-scale)); font-weight: 600; color: var(--ta-muted); }\n.ta-settings-toc-group:hover { color: var(--ta-text); }\n.ta-settings-toc-item { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 10px; border: 0; border-radius: 7px; background: none; text-align: left; font-size: calc(13px * var(--ta-font-scale)); color: var(--ta-secondary); transition: background 120ms, color 120ms; }\n.ta-settings-toc-item .ta-icon { flex: none; color: var(--ta-muted); }\n.ta-settings-toc-item:hover { background: var(--ta-hover); color: var(--ta-text); }\n.ta-settings-toc-item.ta-active { background: var(--ta-selected); color: var(--ta-text); font-weight: 500; }\n.ta-settings-scroll { flex: 1; min-width: 0; overflow-y: auto; scroll-padding-top: 16px; }\n.ta-settings-content { max-width: 720px; margin: 0 auto; padding: 18px 24px calc(48px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 28px; }\n.ta-settings-content:has(> .ta-empty) { min-height: 100%; box-sizing: border-box; }\n.ta-settings-part { display: flex; flex-direction: column; gap: 18px; }\n.ta-settings-part-title { margin: 0; display: flex; align-items: baseline; gap: 10px; font-size: calc(18px * var(--ta-font-scale)); font-weight: 650; letter-spacing: -0.01em; }\n.ta-settings-part-hint { font-size: calc(12px * var(--ta-font-scale)); font-weight: 400; color: var(--ta-muted); }\n.ta-settings-scope { display: flex; flex-direction: column; gap: 6px; }\n.ta-settings-tabs { display: flex; gap: 2px; padding: 3px; border-radius: 10px; background: var(--ta-raised); align-self: flex-start; max-width: 100%; }\n.ta-settings-tab { height: 28px; padding: 0 12px; border: 0; border-radius: 7px; background: none; color: var(--ta-secondary); font-size: calc(12.5px * var(--ta-font-scale)); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 260px; }\n.ta-settings-tab:hover { color: var(--ta-text); }\n.ta-settings-tab.ta-active { background: var(--ta-segment); color: var(--ta-text); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 0 0 1px var(--ta-border); }\n.ta-settings-file { padding: 0 4px; font-size: calc(12px * var(--ta-font-scale)); color: var(--ta-muted); overflow-wrap: anywhere; }\n.ta-settings-note { padding: 10px 14px; border-radius: 10px; border: 1px dashed var(--ta-border); font-size: calc(12.5px * var(--ta-font-scale)); color: var(--ta-secondary); }\n.ta-setting-row { position: relative; }\n.ta-setting-row.ta-modified::before { content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 2px; border-radius: 0 2px 2px 0; background: var(--ta-blue); }\n.ta-setting-control { gap: 6px; }\n.ta-setting-reset { width: 26px; height: 26px; }\n.ta-setting-row:not(:hover):not(:focus-within) .ta-setting-reset { opacity: 0; }\n.ta-setting-row:not(.ta-stacked) > .ta-setting-text { flex: 1 1 240px; }\n.ta-setting-row:not(.ta-stacked):has(> .ta-setting-icon) > .ta-setting-text { flex-basis: 160px; }\n.ta-setting-row:not(.ta-stacked) { flex-wrap: wrap; row-gap: 8px; }\n.ta-select, .ta-setting-input, .ta-setting-control .ta-model-field { width: 200px; height: 30px; font-size: calc(12.5px * var(--ta-font-scale)); padding: 0 8px; }\n.ta-select { appearance: auto; cursor: pointer; }\n.ta-setting-input::placeholder { color: var(--ta-muted); }\n/* The settings of a phone (PhoneSettings): the sections listed as Me's rows, each a page of grouped rows. */\n.ta-head-balance { flex: none; width: 32px; }\n.ta-settings-phone > .ta-list-head { padding-left: calc(6px + env(safe-area-inset-left)); padding-right: calc(6px + env(safe-area-inset-right)); }\n.ta-settings-phone .ta-list-content { gap: 20px; padding-left: calc(12px + env(safe-area-inset-left)); padding-right: calc(12px + env(safe-area-inset-right)); }\n.ta-settings-phone .ta-settings-search { flex: none; max-width: none; height: 38px; margin: 0; padding: 0 10px; border-radius: 10px; border-color: var(--ta-border-muted); background: var(--ta-list-cell); font-size: calc(15px * var(--ta-font-scale)); }\n.ta-settings-phone-group { display: flex; flex-direction: column; gap: 6px; }\n.ta-settings-phone-caption { margin: 0 4px; font-size: calc(13px * var(--ta-font-scale)); font-weight: 500; color: var(--ta-muted); }\n.ta-settings-phone .ta-setting-card { border-radius: 12px; border-color: var(--ta-border-muted); background: var(--ta-list-cell); }\n.ta-settings-phone .ta-setting-row { min-height: 52px; padding: 12px 16px; gap: 12px; }\n.ta-settings-phone .ta-setting-row:not(.ta-stacked) > .ta-setting-text { flex: 1 1 0; }\n.ta-settings-phone .ta-setting-label { font-size: calc(15px * var(--ta-font-scale)); font-weight: 400; }\n.ta-settings-phone .ta-setting-description { margin-top: 2px; font-size: calc(13px * var(--ta-font-scale)); line-height: 1.4; }\n.ta-settings-phone .ta-setting-row.ta-stacked { gap: 10px; }\n.ta-settings-phone .ta-segmented button { height: 32px; }\n.ta-settings-phone .ta-settings-note { border-radius: 12px; }\n.ta-keys { display: inline-flex; gap: 3px; flex: none; }\n.ta-kbd { min-width: 20px; height: 20px; padding: 0 5px; display: inline-grid; place-items: center; border-radius: 5px; border: 1px solid var(--ta-border); border-bottom-width: 2px; background: var(--ta-raised); font: 500 calc(11px * var(--ta-font-scale)) var(--ta-sans); color: var(--ta-secondary); }\n\n/* The menus of the account at the foot of the rail */\n.ta-account-menu .ta-account-item { width: 100%; }\n.ta-account-menu .ta-account-item.ta-on { background: var(--ta-hover); }\n.ta-account-menu .ta-account-item:focus-visible { outline: 1px solid var(--ta-border-focus); outline-offset: -1px; }\n.ta-menu-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-menu-chevron { color: var(--ta-muted) !important; }\n.ta-menu-check { width: 15px; flex: none; display: grid; place-items: center; color: var(--ta-text); }\n.ta-account-menu .ta-kbd { height: 18px; min-width: 18px; font-size: calc(10.5px * var(--ta-font-scale)); }\n.ta-submenu-anchor { position: relative; }\n.ta-submenu { left: calc(100% + 8px); bottom: auto; top: -6px; width: 180px; }\n@media (max-width: 860px), (max-height: 500px) and (pointer: coarse) {\n .ta-settings-toc { display: none; }\n .ta-settings-content { padding: 14px 14px calc(32px + env(safe-area-inset-bottom)); }\n /* No table of contents: the last section, jumped to from the menu of the account, still scrolls to the top. */\n .ta-settings-scroll { container-type: size; }\n .ta-settings-part:last-child > .ta-setting-section:last-child { min-height: calc(100cqh - 48px - env(safe-area-inset-bottom)); }\n .ta-settings-title { padding-left: 0; }\n .ta-settings-search { margin: 0; }\n .ta-setting-row:has(.ta-select, .ta-setting-input, .ta-model-field) .ta-setting-control { width: 100%; }\n .ta-setting-row .ta-select, .ta-setting-row .ta-setting-input, .ta-setting-row .ta-model-field { flex: 1; width: auto; min-width: 0; }\n .ta-setting-reset { opacity: 1 !important; }\n .ta-submenu { left: 12px; right: auto; top: auto; bottom: calc(100% + 4px); width: 200px; }\n}\n/* Discover and Me: rows in rounded groups, as the settings of a phone (list-rows.tsx) */\n.ta-list-page { flex: 1; min-height: 0; display: flex; flex-direction: column; --ta-list-bg: var(--ta-main); --ta-list-cell: var(--ta-side); background: var(--ta-list-bg); }\n:root[data-theme='light'] .ta-list-page { --ta-list-bg: var(--ta-side); --ta-list-cell: var(--ta-card); }\n.ta-list-head { border-bottom: 1px solid var(--ta-border-muted); }\n.ta-list-scroll { flex: 1; min-height: 0; overflow-y: auto; }\n.ta-list-content { max-width: 640px; margin: 0 auto; padding: 20px 20px calc(32px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 16px; }\n.ta-list-group { display: flex; flex-direction: column; border-radius: 12px; border: 1px solid var(--ta-border-muted); background: var(--ta-list-cell); overflow: hidden; }\n.ta-list-row { position: relative; display: flex; align-items: center; min-height: 48px; }\n.ta-list-row + .ta-list-row::before { content: ''; position: absolute; top: 0; right: 0; left: 46px; height: 1px; background: var(--ta-border-muted); }\n.ta-list-main { flex: 1; min-width: 0; align-self: stretch; display: flex; align-items: center; gap: 12px; padding: 0 14px; border: 0; background: none; text-align: left; font-size: calc(14.5px * var(--ta-font-scale)); color: var(--ta-text); transition: background 120ms; }\n.ta-list-main:hover { background: var(--ta-hover); }\n.ta-list-main:focus-visible { outline: 1px solid var(--ta-border-focus); outline-offset: -1px; }\n.ta-list-icon { flex: none; color: var(--ta-secondary); }\n.ta-list-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-list-detail { flex: none; max-width: 45%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: calc(13.5px * var(--ta-font-scale)); color: var(--ta-muted); }\n.ta-list-chevron { flex: none; color: var(--ta-muted); }\n/* In place of the chevron while the page opens: as wide. */\n.ta-list-busy { margin: 0 1.5px; }\n.ta-list-trailing { flex: none; margin-right: 8px; color: var(--ta-muted); }\n.ta-list-row.ta-action .ta-list-main { justify-content: center; }\n.ta-list-row.ta-action .ta-list-label { flex: none; }\n.ta-list-row.ta-danger .ta-list-main { color: var(--ta-red); }\n.ta-list-row.ta-danger + .ta-list-row::before, .ta-list-row + .ta-list-row.ta-danger::before { left: 0; }\n.ta-list-hint { margin: -6px 4px 0; font-size: calc(12.5px * var(--ta-font-scale)); color: var(--ta-muted); }\n.ta-me-card { display: flex; align-items: center; gap: 14px; width: 100%; padding: 18px 16px; border-radius: 12px; border: 1px solid var(--ta-border-muted); background: var(--ta-list-cell); font: inherit; text-align: left; color: inherit; transition: background 120ms; }\n.ta-me-card:hover, .ta-me-card:active { background: var(--ta-hover); }\n.ta-me-card:focus-visible { outline: 1px solid var(--ta-border-focus); outline-offset: -1px; }\n.ta-account-figure.ta-me-figure { border-radius: 16px; }\n.ta-me-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; line-height: 1.35; }\n.ta-me-name { font-size: calc(18px * var(--ta-font-scale)); font-weight: 650; color: var(--ta-text); }\n.ta-me-host { font-size: calc(13px * var(--ta-font-scale)); color: var(--ta-secondary); }\n.ta-me-state { display: flex; align-items: center; gap: 6px; font-size: calc(12.5px * var(--ta-font-scale)); color: var(--ta-muted); font-variant-numeric: tabular-nums; }\n/* The computers of this device (host-view.tsx): rows as the conversations, a sheet from the bottom on a phone */\n.ta-hosts-dialog { width: min(420px, 100%); gap: 12px; }\n.ta-hosts-dialog .ta-modal-title { font-size: calc(16px * var(--ta-font-scale)); }\n.ta-host-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }\n.ta-host-row { border-radius: 12px; --ta-swipe-bg: var(--ta-card); }\n.ta-host-item { width: 100%; display: flex; align-items: center; gap: 12px; padding: 9px 10px; border: 0; border-radius: 12px; background: var(--ta-card); font: inherit; text-align: left; color: var(--ta-text); transition: background 120ms; }\n.ta-host-item:hover, .ta-host-item:active { background: var(--ta-hover); }\n.ta-host-row.ta-selected .ta-host-item { background: var(--ta-selected); }\n.ta-host-item:focus-visible { outline: 1px solid var(--ta-border-focus); outline-offset: -1px; }\n.ta-host-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; line-height: 1.35; }\n.ta-host-name { font-size: calc(14.5px * var(--ta-font-scale)); font-weight: 600; }\n.ta-host-detail { font-size: calc(12.5px * var(--ta-font-scale)); color: var(--ta-muted); }\n.ta-host-check { flex: none; color: var(--ta-green); }\n.ta-host-actions { display: flex; gap: 8px; }\n.ta-host-actions .ta-button { flex: 1; height: 40px; justify-content: center; gap: 6px; }\n.ta-host-form { display: flex; gap: 8px; width: 100%; animation: ta-in 200ms var(--ta-ease) both; }\n.ta-host-form .ta-field { flex: 1; height: 40px; }\n.ta-host-form .ta-button { height: 40px; min-width: 72px; justify-content: center; }\n.ta-scan-button { height: 46px; gap: 8px; font-size: calc(15px * var(--ta-font-scale)); justify-content: center; }\n.ta-link-button { padding: 4px 8px; border: 0; background: none; font: inherit; font-size: calc(13.5px * var(--ta-font-scale)); color: var(--ta-secondary); }\n.ta-link-button:hover { color: var(--ta-text); }\n.ta-host-saved { width: 100%; margin-top: 12px; display: flex; flex-direction: column; gap: 6px; text-align: left; animation: ta-in 260ms var(--ta-ease) both; }\n.ta-host-saved h2 { margin: 0 4px; font-size: calc(12.5px * var(--ta-font-scale)); font-weight: 500; color: var(--ta-muted); }\n.ta-signin .ta-host-item { background: var(--ta-main); }\n.ta-signin .ta-host-item:hover, .ta-signin .ta-host-item:active { background: var(--ta-hover); }\n.ta-sign-in-accounts { display: flex; flex-direction: column; gap: 8px; width: 100%; animation: ta-in 200ms var(--ta-ease) both; }\n.ta-sign-in-account { height: 42px; gap: 8px; text-decoration: none; font-size: calc(14.5px * var(--ta-font-scale)); }\n.ta-sign-in-account:hover { background: var(--ta-hover); }\n.ta-sign-in-account[aria-busy='true'] { pointer-events: none; opacity: 0.7; }\n.ta-sign-in-mark { flex: none; }\n.ta-sign-in-or { display: flex; align-items: center; gap: 10px; margin: 4px 0; color: var(--ta-muted); font-size: calc(12.5px * var(--ta-font-scale)); }\n.ta-sign-in-or::before, .ta-sign-in-or::after { content: ''; flex: 1; height: 1px; background: var(--ta-border); }\n.ta-access-account { display: inline-flex; align-items: center; gap: 8px; min-width: 0; max-width: 100%; }\n.ta-access-avatar { width: 22px; height: 22px; flex: none; border-radius: 50%; object-fit: cover; }\n.ta-access-avatar.ta-chat-avatar { font-size: calc(11px * var(--ta-font-scale)); }\n.ta-access-bind { display: flex; flex-wrap: wrap; gap: 8px; }\n.ta-environment-chooser { display: flex; flex-direction: column; gap: 10px; width: 100%; text-align: left; }\n.ta-environment-own { display: flex; flex-direction: column; gap: 8px; animation: ta-in 200ms var(--ta-ease) both; }\n.ta-environment-own .ta-button { align-self: flex-end; }\n.ta-environment-hint { margin: 0; color: var(--ta-muted); font-size: calc(12.5px * var(--ta-font-scale)); line-height: 1.5; }\n.ta-environment-card { gap: 14px; }\n/* While the page loads again for another computer: which one, at once, over all. */\n.ta-switching { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: var(--ta-main); color: var(--ta-secondary); font-size: calc(14px * var(--ta-font-scale)); animation: ta-fade 140ms ease-out both; }\n/* Me has no head: the card under the status bar. */\n.ta-me .ta-list-content { padding-top: calc(20px + env(safe-area-inset-top)); }\n@media (max-width: 860px), (max-height: 500px) and (pointer: coarse) {\n .ta-list-content { padding: 14px 12px calc(24px + env(safe-area-inset-bottom)); }\n .ta-me .ta-list-content { padding-top: calc(14px + env(safe-area-inset-top)); }\n}\n\n/* Streaming: what comes in fades in where it will stay; nothing already shown moves or draws again. */\n.ta-thread-new { animation: ta-in 220ms var(--ta-ease); }\n/* Words ta said on the way move from the reply into the steps when a tool follows them: they were on the screen, so they do not fade in again. */\n.ta-turn-live > .ta-markdown > *, .ta-process-active .ta-process-steps > :not(.ta-more, .ta-step-text), .ta-turn-live .ta-turn-head > .ta-process-head, .ta-turn-live .ta-turn-head > .ta-run-status { animation: ta-fade 240ms ease-out; }\n.ta-run-line { animation: ta-fade 200ms ease-out; }\n.ta-scroll { overflow-anchor: none; }\n/* The scroll bar held while a reply comes in: the thread keeps its height (ConversationScroller), what grows past it waits. */\n.ta-scroll-held { overflow-y: clip; }\n.ta-scroll-held > * { flex-shrink: 0; }\n/* The look of the double: it walks above, the kinds of dinosaur below, then the ways it walks */\n.ta-look { display: flex; flex-direction: column; gap: 10px; min-height: 0; overflow-y: auto; }\n.ta-look-stage { height: 120px; flex: none; display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 8px; }\n.ta-look-figure, .ta-look-walk { border-radius: 12px; background: var(--ta-raised); display: grid; place-items: center; }\n/* Wide enough for the walk to and fro (half the width of the dinosaur to either side of the middle, and itself). */\n.ta-look-walk { min-width: 220px; overflow: hidden; }\n.ta-look-label { font-size: calc(12px * var(--ta-font-scale)); font-weight: 600; color: var(--ta-secondary); }\n.ta-look-kinds { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 6px; }\n.ta-look-kind { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 4px 7px; border: 1px solid var(--ta-border-muted); border-radius: 12px; background: transparent; color: var(--ta-text); font-size: calc(12px * var(--ta-font-scale)); transition: background 120ms, border-color 120ms; }\n.ta-look-kind:hover { background: var(--ta-hover); }\n.ta-look-kind.ta-on { border-color: var(--ta-green); background: color-mix(in srgb, var(--ta-green) 8%, transparent); }\n.ta-look-name { max-width: 100%; }\n/* The voice replies are read with: its list, and a button to listen to it. */\n.ta-voice-picker { display: flex; align-items: center; gap: 8px; width: 100%; }\n.ta-voice-picker .ta-select { flex: 1; min-width: 0; }\n.ta-voice-picker .ta-button { flex: none; }\n.ta-look-premium { position: absolute; top: 4px; left: 4px; display: inline-flex; align-items: center; gap: 2px; padding: 1px 5px; border-radius: 8px; background: linear-gradient(135deg, #FCD866, #D98E14); color: #4a2c00; font-size: calc(10px * var(--ta-font-scale)); font-weight: 600; line-height: calc(14px * var(--ta-font-scale)); }\n/* Scan, as WeChat's: the camera over everything, a green glow sweeping down, round buttons on it; a photo for Ta asks on a sheet. */\n.ta-scan { position: fixed; inset: 0; z-index: 55; overflow: hidden; background: #000; color: #fff; animation: ta-fade 160ms ease-out; -webkit-user-select: none; user-select: none; }\n.ta-scan-video, .ta-scan-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }\n.ta-scan-mirrored { transform: scaleX(-1); }\n.ta-scan-line { position: absolute; left: 0; right: 0; top: 16%; height: 22%; pointer-events: none; background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--ta-green) 40%, transparent) 88%, color-mix(in srgb, var(--ta-green) 90%, transparent) 100%); -webkit-mask-image: radial-gradient(ellipse 60% 100% at 50% 100%, #000 30%, transparent 100%); mask-image: radial-gradient(ellipse 60% 100% at 50% 100%, #000 30%, transparent 100%); animation: ta-scan-sweep 2.6s cubic-bezier(0.45, 0, 0.55, 1) infinite; }\n@keyframes ta-scan-sweep { 0% { transform: translateY(0); opacity: 0; } 12% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateY(220%); opacity: 0; } }\n.ta-scan-dot { position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; border: 3px solid #fff; background: var(--ta-green); box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35); animation: ta-scan-pop 260ms var(--ta-ease) both; }\n@keyframes ta-scan-pop { from { transform: scale(0.3); opacity: 0; } }\n.ta-scan-problem { position: absolute; top: 42%; left: 32px; right: 32px; margin: 0; text-align: center; color: rgba(255, 255, 255, 0.85); font-size: calc(15px * var(--ta-font-scale)); line-height: calc(22px * var(--ta-font-scale)); }\n.ta-scan-top { position: absolute; top: calc(env(safe-area-inset-top) + 14px); left: 18px; right: 18px; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }\n.ta-scan-round { pointer-events: auto; width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: rgba(0, 0, 0, 0.32); color: #fff; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }\n.ta-scan-bottom { position: absolute; left: 18px; right: 18px; bottom: calc(env(safe-area-inset-bottom) + 28px); display: flex; align-items: center; gap: 12px; }\n.ta-scan-side, .ta-scan-ask { border: 0; color: #fff; background: rgba(48, 48, 48, 0.58); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); transition: transform 120ms, background 120ms; }\n.ta-scan-side { flex: none; width: 62px; height: 62px; display: grid; place-items: center; padding: 0; border-radius: 50%; }\n.ta-scan-ask { flex: 1; min-width: 0; height: 62px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 0 14px; border-radius: 31px; }\n.ta-scan-side:active, .ta-scan-ask:active { transform: scale(0.96); background: rgba(70, 70, 70, 0.66); }\n.ta-scan-side:disabled, .ta-scan-ask:disabled { opacity: 0.45; }\n.ta-scan-ask-title { display: flex; align-items: center; gap: 6px; font-size: calc(17px * var(--ta-font-scale)); font-weight: 600; line-height: calc(24px * var(--ta-font-scale)); }\n.ta-scan-ask-hint { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: rgba(255, 255, 255, 0.62); font-size: calc(12px * var(--ta-font-scale)); line-height: calc(16px * var(--ta-font-scale)); }\n.ta-scan-sheet { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 12px; padding: 18px 16px calc(16px + env(safe-area-inset-bottom)); border-radius: 18px 18px 0 0; background: var(--ta-card); color: var(--ta-text); box-shadow: var(--ta-shadow-pop); animation: ta-in 220ms var(--ta-ease); }\n:root[data-keyboard] .ta-scan-sheet { bottom: var(--ta-keyboard, 0px); padding-bottom: 12px; }\n.ta-scan-sheet-title { font-size: calc(15px * var(--ta-font-scale)); font-weight: 600; }\n.ta-scan-chips { display: flex; flex-wrap: wrap; gap: 8px; }\n.ta-scan-chip { padding: 8px 14px; border: 1px solid var(--ta-border); border-radius: 999px; background: var(--ta-main); color: var(--ta-text); font-size: calc(14px * var(--ta-font-scale)); }\n.ta-scan-chip:active { background: var(--ta-hover); }\n.ta-scan-field { display: flex; align-items: center; gap: 8px; padding: 4px 4px 4px 14px; border: 1px solid var(--ta-border); border-radius: 22px; background: var(--ta-main); }\n.ta-scan-field input { flex: 1; min-width: 0; height: 36px; border: 0; outline: none; background: transparent; color: var(--ta-text); font-size: max(16px, calc(15px * var(--ta-font-scale))); }\n.ta-scan-send { flex: none; width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: var(--ta-text); color: var(--ta-main); }\n.ta-scan-send:disabled { opacity: 0.5; }\n";
|
|
2
|
+
export declare const PAGES_STYLE = "\n/* The settings: a page of the main area, a table of contents in two levels beside the sections */\n.ta-settings-page { flex: 1; min-height: 0; display: flex; flex-direction: column; }\n.ta-settings-head { justify-content: flex-start; gap: 10px; border-bottom: 1px solid var(--ta-border-muted); }\n.ta-settings-title { flex: none; font-size: calc(14px * var(--ta-font-scale)); font-weight: 600; padding-left: 8px; }\n.ta-settings-search { flex: 1; max-width: 420px; height: 32px; margin: 0 auto; display: flex; align-items: center; gap: 6px; color: var(--ta-muted); }\n.ta-settings-search input { color: var(--ta-text); }\n.ta-settings-search .ta-icon-button { width: 22px; height: 22px; }\n.ta-settings-body { flex: 1; min-height: 0; display: flex; }\n.ta-settings-toc { flex: none; width: 200px; overflow-y: auto; padding: 14px 10px; display: flex; flex-direction: column; gap: 14px; border-right: 1px solid var(--ta-border-muted); }\n.ta-settings-toc-part { display: flex; flex-direction: column; gap: 1px; }\n.ta-settings-toc-group { border: 0; background: none; text-align: left; padding: 2px 10px 4px; font-size: calc(12px * var(--ta-font-scale)); font-weight: 600; color: var(--ta-muted); }\n.ta-settings-toc-group:hover { color: var(--ta-text); }\n.ta-settings-toc-item { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 10px; border: 0; border-radius: 7px; background: none; text-align: left; font-size: calc(13px * var(--ta-font-scale)); color: var(--ta-secondary); transition: background 120ms, color 120ms; }\n.ta-settings-toc-item .ta-icon { flex: none; color: var(--ta-muted); }\n.ta-settings-toc-item:hover { background: var(--ta-hover); color: var(--ta-text); }\n.ta-settings-toc-item.ta-active { background: var(--ta-selected); color: var(--ta-text); font-weight: 500; }\n.ta-settings-scroll { flex: 1; min-width: 0; overflow-y: auto; scroll-padding-top: 16px; }\n.ta-settings-content { max-width: 720px; margin: 0 auto; padding: 18px 24px calc(48px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 28px; }\n.ta-settings-content:has(> .ta-empty) { min-height: 100%; box-sizing: border-box; }\n.ta-settings-part { display: flex; flex-direction: column; gap: 18px; }\n.ta-settings-part-title { margin: 0; display: flex; align-items: baseline; gap: 10px; font-size: calc(18px * var(--ta-font-scale)); font-weight: 650; letter-spacing: -0.01em; }\n.ta-settings-part-hint { font-size: calc(12px * var(--ta-font-scale)); font-weight: 400; color: var(--ta-muted); }\n.ta-settings-scope { display: flex; flex-direction: column; gap: 6px; }\n.ta-settings-tabs { display: flex; gap: 2px; padding: 3px; border-radius: 10px; background: var(--ta-raised); align-self: flex-start; max-width: 100%; }\n.ta-settings-tab { height: 28px; padding: 0 12px; border: 0; border-radius: 7px; background: none; color: var(--ta-secondary); font-size: calc(12.5px * var(--ta-font-scale)); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 260px; }\n.ta-settings-tab:hover { color: var(--ta-text); }\n.ta-settings-tab.ta-active { background: var(--ta-segment); color: var(--ta-text); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 0 0 1px var(--ta-border); }\n.ta-settings-file { padding: 0 4px; font-size: calc(12px * var(--ta-font-scale)); color: var(--ta-muted); overflow-wrap: anywhere; }\n.ta-settings-note { padding: 10px 14px; border-radius: 10px; border: 1px dashed var(--ta-border); font-size: calc(12.5px * var(--ta-font-scale)); color: var(--ta-secondary); }\n.ta-setting-row { position: relative; }\n.ta-setting-row.ta-modified::before { content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 2px; border-radius: 0 2px 2px 0; background: var(--ta-blue); }\n.ta-setting-control { gap: 6px; }\n.ta-setting-reset { width: 26px; height: 26px; }\n.ta-setting-row:not(:hover):not(:focus-within) .ta-setting-reset { opacity: 0; }\n.ta-setting-row:not(.ta-stacked) > .ta-setting-text { flex: 1 1 240px; }\n.ta-setting-row:not(.ta-stacked):has(> .ta-setting-icon) > .ta-setting-text { flex-basis: 160px; }\n.ta-setting-row:not(.ta-stacked) { flex-wrap: wrap; row-gap: 8px; }\n.ta-select, .ta-setting-input, .ta-setting-control .ta-model-field { width: 200px; height: 30px; font-size: calc(12.5px * var(--ta-font-scale)); padding: 0 8px; }\n.ta-select { appearance: auto; cursor: pointer; }\n.ta-setting-input::placeholder { color: var(--ta-muted); }\n/* The settings of a phone (PhoneSettings): the sections listed as Me's rows, each a page of grouped rows. */\n.ta-head-balance { flex: none; width: 32px; }\n.ta-settings-phone > .ta-list-head { padding-left: calc(6px + env(safe-area-inset-left)); padding-right: calc(6px + env(safe-area-inset-right)); }\n.ta-settings-phone .ta-list-content { gap: 20px; padding-left: calc(12px + env(safe-area-inset-left)); padding-right: calc(12px + env(safe-area-inset-right)); }\n.ta-settings-phone .ta-settings-search { flex: none; max-width: none; height: 38px; margin: 0; padding: 0 10px; border-radius: 10px; border-color: var(--ta-border-muted); background: var(--ta-list-cell); font-size: calc(15px * var(--ta-font-scale)); }\n.ta-settings-phone-group { display: flex; flex-direction: column; gap: 6px; }\n.ta-settings-phone-caption { margin: 0 4px; font-size: calc(13px * var(--ta-font-scale)); font-weight: 500; color: var(--ta-muted); }\n.ta-settings-phone .ta-setting-card { border-radius: 12px; border-color: var(--ta-border-muted); background: var(--ta-list-cell); }\n.ta-settings-phone .ta-setting-row { min-height: 52px; padding: 12px 16px; gap: 12px; }\n.ta-settings-phone .ta-setting-row:not(.ta-stacked) > .ta-setting-text { flex: 1 1 0; }\n.ta-settings-phone .ta-setting-label { font-size: calc(15px * var(--ta-font-scale)); font-weight: 400; }\n.ta-settings-phone .ta-setting-description { margin-top: 2px; font-size: calc(13px * var(--ta-font-scale)); line-height: 1.4; }\n.ta-settings-phone .ta-setting-row.ta-stacked { gap: 10px; }\n.ta-settings-phone .ta-segmented button { height: 32px; }\n.ta-settings-phone .ta-settings-note { border-radius: 12px; }\n.ta-keys { display: inline-flex; gap: 3px; flex: none; }\n.ta-kbd { min-width: 20px; height: 20px; padding: 0 5px; display: inline-grid; place-items: center; border-radius: 5px; border: 1px solid var(--ta-border); border-bottom-width: 2px; background: var(--ta-raised); font: 500 calc(11px * var(--ta-font-scale)) var(--ta-sans); color: var(--ta-secondary); }\n\n/* The menus of the account at the foot of the rail */\n.ta-account-menu .ta-account-item { width: 100%; }\n.ta-account-menu .ta-account-item.ta-on { background: var(--ta-hover); }\n.ta-account-menu .ta-account-item:focus-visible { outline: 1px solid var(--ta-border-focus); outline-offset: -1px; }\n.ta-menu-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-menu-chevron { color: var(--ta-muted) !important; }\n.ta-menu-check { width: 15px; flex: none; display: grid; place-items: center; color: var(--ta-text); }\n.ta-account-menu .ta-kbd { height: 18px; min-width: 18px; font-size: calc(10.5px * var(--ta-font-scale)); }\n.ta-submenu-anchor { position: relative; }\n.ta-submenu { left: calc(100% + 8px); bottom: auto; top: -6px; width: 180px; }\n@media (max-width: 860px), (max-height: 500px) and (pointer: coarse) {\n .ta-settings-toc { display: none; }\n .ta-settings-content { padding: 14px 14px calc(32px + env(safe-area-inset-bottom)); }\n /* No table of contents: the last section, jumped to from the menu of the account, still scrolls to the top. */\n .ta-settings-scroll { container-type: size; }\n .ta-settings-part:last-child > .ta-setting-section:last-child { min-height: calc(100cqh - 48px - env(safe-area-inset-bottom)); }\n .ta-settings-title { padding-left: 0; }\n .ta-settings-search { margin: 0; }\n .ta-setting-row:has(.ta-select, .ta-setting-input, .ta-model-field) .ta-setting-control { width: 100%; }\n .ta-setting-row .ta-select, .ta-setting-row .ta-setting-input, .ta-setting-row .ta-model-field { flex: 1; width: auto; min-width: 0; }\n .ta-setting-reset { opacity: 1 !important; }\n .ta-submenu { left: 12px; right: auto; top: auto; bottom: calc(100% + 4px); width: 200px; }\n}\n/* Discover and Me: rows in rounded groups, as the settings of a phone (list-rows.tsx) */\n.ta-list-page { flex: 1; min-height: 0; display: flex; flex-direction: column; --ta-list-bg: var(--ta-main); --ta-list-cell: var(--ta-side); background: var(--ta-list-bg); }\n:root[data-theme='light'] .ta-list-page { --ta-list-bg: var(--ta-side); --ta-list-cell: var(--ta-card); }\n.ta-list-head { border-bottom: 1px solid var(--ta-border-muted); }\n.ta-list-scroll { flex: 1; min-height: 0; overflow-y: auto; }\n.ta-list-content { max-width: 640px; margin: 0 auto; padding: 20px 20px calc(32px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 16px; }\n.ta-list-group { display: flex; flex-direction: column; border-radius: 12px; border: 1px solid var(--ta-border-muted); background: var(--ta-list-cell); overflow: hidden; }\n.ta-list-row { position: relative; display: flex; align-items: center; min-height: 48px; }\n.ta-list-row + .ta-list-row::before { content: ''; position: absolute; top: 0; right: 0; left: 46px; height: 1px; background: var(--ta-border-muted); }\n.ta-list-main { flex: 1; min-width: 0; align-self: stretch; display: flex; align-items: center; gap: 12px; padding: 0 14px; border: 0; background: none; text-align: left; font-size: calc(14.5px * var(--ta-font-scale)); color: var(--ta-text); transition: background 120ms; }\n.ta-list-main:hover { background: var(--ta-hover); }\n.ta-list-main:focus-visible { outline: 1px solid var(--ta-border-focus); outline-offset: -1px; }\n.ta-list-icon { flex: none; color: var(--ta-secondary); }\n.ta-list-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-list-detail { flex: none; max-width: 45%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: calc(13.5px * var(--ta-font-scale)); color: var(--ta-muted); }\n.ta-list-chevron { flex: none; color: var(--ta-muted); }\n/* In place of the chevron while the page opens: as wide. */\n.ta-list-busy { margin: 0 1.5px; }\n.ta-list-trailing { flex: none; margin-right: 8px; color: var(--ta-muted); }\n/* WebView.mark of a page under Discover: before its pin, as WeChat shows who posted last by Moments. */\n.ta-list-mark { flex: none; display: inline-flex; align-items: center; margin-right: 2px; pointer-events: none; }\n.ta-list-row.ta-action .ta-list-main { justify-content: center; }\n.ta-list-row.ta-action .ta-list-label { flex: none; }\n.ta-list-row.ta-danger .ta-list-main { color: var(--ta-red); }\n.ta-list-row.ta-danger + .ta-list-row::before, .ta-list-row + .ta-list-row.ta-danger::before { left: 0; }\n.ta-list-hint { margin: -6px 4px 0; font-size: calc(12.5px * var(--ta-font-scale)); color: var(--ta-muted); }\n.ta-me-card { display: flex; align-items: center; gap: 14px; width: 100%; padding: 18px 16px; border-radius: 12px; border: 1px solid var(--ta-border-muted); background: var(--ta-list-cell); font: inherit; text-align: left; color: inherit; transition: background 120ms; }\n.ta-me-card:hover, .ta-me-card:active { background: var(--ta-hover); }\n.ta-me-card:focus-visible { outline: 1px solid var(--ta-border-focus); outline-offset: -1px; }\n.ta-account-figure.ta-me-figure { border-radius: 16px; }\n.ta-me-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; line-height: 1.35; }\n.ta-me-name { font-size: calc(18px * var(--ta-font-scale)); font-weight: 650; color: var(--ta-text); }\n.ta-me-host { font-size: calc(13px * var(--ta-font-scale)); color: var(--ta-secondary); }\n.ta-me-state { display: flex; align-items: center; gap: 6px; font-size: calc(12.5px * var(--ta-font-scale)); color: var(--ta-muted); font-variant-numeric: tabular-nums; }\n/* The computers of this device (host-view.tsx): rows as the conversations, a sheet from the bottom on a phone */\n.ta-hosts-dialog { width: min(420px, 100%); gap: 12px; }\n.ta-hosts-dialog .ta-modal-title { font-size: calc(16px * var(--ta-font-scale)); }\n.ta-host-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }\n.ta-host-row { border-radius: 12px; --ta-swipe-bg: var(--ta-card); }\n.ta-host-item { width: 100%; display: flex; align-items: center; gap: 12px; padding: 9px 10px; border: 0; border-radius: 12px; background: var(--ta-card); font: inherit; text-align: left; color: var(--ta-text); transition: background 120ms; }\n.ta-host-item:hover, .ta-host-item:active { background: var(--ta-hover); }\n.ta-host-row.ta-selected .ta-host-item { background: var(--ta-selected); }\n.ta-host-item:focus-visible { outline: 1px solid var(--ta-border-focus); outline-offset: -1px; }\n.ta-host-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; line-height: 1.35; }\n.ta-host-name { font-size: calc(14.5px * var(--ta-font-scale)); font-weight: 600; }\n.ta-host-detail { font-size: calc(12.5px * var(--ta-font-scale)); color: var(--ta-muted); }\n.ta-host-check { flex: none; color: var(--ta-green); }\n.ta-host-actions { display: flex; gap: 8px; }\n.ta-host-actions .ta-button { flex: 1; height: 40px; justify-content: center; gap: 6px; }\n.ta-host-form { display: flex; gap: 8px; width: 100%; animation: ta-in 200ms var(--ta-ease) both; }\n.ta-host-form .ta-field { flex: 1; height: 40px; }\n.ta-host-form .ta-button { height: 40px; min-width: 72px; justify-content: center; }\n.ta-scan-button { height: 46px; gap: 8px; font-size: calc(15px * var(--ta-font-scale)); justify-content: center; }\n.ta-link-button { padding: 4px 8px; border: 0; background: none; font: inherit; font-size: calc(13.5px * var(--ta-font-scale)); color: var(--ta-secondary); }\n.ta-link-button:hover { color: var(--ta-text); }\n.ta-host-saved { width: 100%; margin-top: 12px; display: flex; flex-direction: column; gap: 6px; text-align: left; animation: ta-in 260ms var(--ta-ease) both; }\n.ta-host-saved h2 { margin: 0 4px; font-size: calc(12.5px * var(--ta-font-scale)); font-weight: 500; color: var(--ta-muted); }\n.ta-signin .ta-host-item { background: var(--ta-main); }\n.ta-signin .ta-host-item:hover, .ta-signin .ta-host-item:active { background: var(--ta-hover); }\n.ta-sign-in-accounts { display: flex; flex-direction: column; gap: 8px; width: 100%; animation: ta-in 200ms var(--ta-ease) both; }\n.ta-sign-in-account { height: 42px; gap: 8px; text-decoration: none; font-size: calc(14.5px * var(--ta-font-scale)); }\n.ta-sign-in-account:hover { background: var(--ta-hover); }\n.ta-sign-in-account[aria-busy='true'] { pointer-events: none; opacity: 0.7; }\n.ta-sign-in-mark { flex: none; }\n.ta-sign-in-or { display: flex; align-items: center; gap: 10px; margin: 4px 0; color: var(--ta-muted); font-size: calc(12.5px * var(--ta-font-scale)); }\n.ta-sign-in-or::before, .ta-sign-in-or::after { content: ''; flex: 1; height: 1px; background: var(--ta-border); }\n.ta-access-account { display: inline-flex; align-items: center; gap: 8px; min-width: 0; max-width: 100%; }\n.ta-access-avatar { width: 22px; height: 22px; flex: none; border-radius: 50%; object-fit: cover; }\n.ta-access-avatar.ta-chat-avatar { font-size: calc(11px * var(--ta-font-scale)); }\n.ta-access-bind { display: flex; flex-wrap: wrap; gap: 8px; }\n.ta-environment-chooser { display: flex; flex-direction: column; gap: 10px; width: 100%; text-align: left; }\n.ta-environment-own { display: flex; flex-direction: column; gap: 8px; animation: ta-in 200ms var(--ta-ease) both; }\n.ta-environment-own .ta-button { align-self: flex-end; }\n.ta-environment-hint { margin: 0; color: var(--ta-muted); font-size: calc(12.5px * var(--ta-font-scale)); line-height: 1.5; }\n.ta-environment-card { gap: 14px; }\n/* While the page loads again for another computer: which one, at once, over all. */\n.ta-switching { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: var(--ta-main); color: var(--ta-secondary); font-size: calc(14px * var(--ta-font-scale)); animation: ta-fade 140ms ease-out both; }\n/* Me has no head: the card under the status bar. */\n.ta-me .ta-list-content { padding-top: calc(20px + env(safe-area-inset-top)); }\n@media (max-width: 860px), (max-height: 500px) and (pointer: coarse) {\n .ta-list-content { padding: 14px 12px calc(24px + env(safe-area-inset-bottom)); }\n .ta-me .ta-list-content { padding-top: calc(14px + env(safe-area-inset-top)); }\n}\n\n/* Streaming: what comes in fades in where it will stay; nothing already shown moves or draws again. */\n.ta-thread-new { animation: ta-in 220ms var(--ta-ease); }\n/* Words ta said on the way move from the reply into the steps when a tool follows them: they were on the screen, so they do not fade in again. */\n.ta-turn-live > .ta-markdown > *, .ta-process-active .ta-process-steps > :not(.ta-more, .ta-step-text), .ta-turn-live .ta-turn-head > .ta-process-head, .ta-turn-live .ta-turn-head > .ta-run-status { animation: ta-fade 240ms ease-out; }\n.ta-run-line { animation: ta-fade 200ms ease-out; }\n.ta-scroll { overflow-anchor: none; }\n/* The scroll bar held while a reply comes in: the thread keeps its height (ConversationScroller), what grows past it waits. */\n.ta-scroll-held { overflow-y: clip; }\n.ta-scroll-held > * { flex-shrink: 0; }\n/* The look of the double: it walks above, the kinds of dinosaur below, then the ways it walks */\n.ta-look { display: flex; flex-direction: column; gap: 10px; min-height: 0; overflow-y: auto; }\n.ta-look-stage { height: 120px; flex: none; display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 8px; }\n.ta-look-figure, .ta-look-walk { border-radius: 12px; background: var(--ta-raised); display: grid; place-items: center; }\n/* Wide enough for the walk to and fro (half the width of the dinosaur to either side of the middle, and itself). */\n.ta-look-walk { min-width: 220px; overflow: hidden; }\n.ta-look-label { font-size: calc(12px * var(--ta-font-scale)); font-weight: 600; color: var(--ta-secondary); }\n.ta-look-kinds { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 6px; }\n.ta-look-kind { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 4px 7px; border: 1px solid var(--ta-border-muted); border-radius: 12px; background: transparent; color: var(--ta-text); font-size: calc(12px * var(--ta-font-scale)); transition: background 120ms, border-color 120ms; }\n.ta-look-kind:hover { background: var(--ta-hover); }\n.ta-look-kind.ta-on { border-color: var(--ta-green); background: color-mix(in srgb, var(--ta-green) 8%, transparent); }\n.ta-look-name { max-width: 100%; }\n/* The voice replies are read with: its list, and a button to listen to it. */\n.ta-voice-picker { display: flex; align-items: center; gap: 8px; width: 100%; }\n.ta-voice-picker .ta-select { flex: 1; min-width: 0; }\n.ta-voice-picker .ta-button { flex: none; }\n.ta-look-premium { position: absolute; top: 4px; left: 4px; display: inline-flex; align-items: center; gap: 2px; padding: 1px 5px; border-radius: 8px; background: linear-gradient(135deg, #FCD866, #D98E14); color: #4a2c00; font-size: calc(10px * var(--ta-font-scale)); font-weight: 600; line-height: calc(14px * var(--ta-font-scale)); }\n/* Scan, as WeChat's: the camera over everything, a green glow sweeping down, round buttons on it; a photo for Ta asks on a sheet. */\n.ta-scan { position: fixed; inset: 0; z-index: 55; overflow: hidden; background: #000; color: #fff; animation: ta-fade 160ms ease-out; -webkit-user-select: none; user-select: none; }\n.ta-scan-video, .ta-scan-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }\n.ta-scan-mirrored { transform: scaleX(-1); }\n.ta-scan-line { position: absolute; left: 0; right: 0; top: 16%; height: 22%; pointer-events: none; background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--ta-green) 40%, transparent) 88%, color-mix(in srgb, var(--ta-green) 90%, transparent) 100%); -webkit-mask-image: radial-gradient(ellipse 60% 100% at 50% 100%, #000 30%, transparent 100%); mask-image: radial-gradient(ellipse 60% 100% at 50% 100%, #000 30%, transparent 100%); animation: ta-scan-sweep 2.6s cubic-bezier(0.45, 0, 0.55, 1) infinite; }\n@keyframes ta-scan-sweep { 0% { transform: translateY(0); opacity: 0; } 12% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateY(220%); opacity: 0; } }\n.ta-scan-dot { position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; border: 3px solid #fff; background: var(--ta-green); box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35); animation: ta-scan-pop 260ms var(--ta-ease) both; }\n@keyframes ta-scan-pop { from { transform: scale(0.3); opacity: 0; } }\n.ta-scan-problem { position: absolute; top: 42%; left: 32px; right: 32px; margin: 0; text-align: center; color: rgba(255, 255, 255, 0.85); font-size: calc(15px * var(--ta-font-scale)); line-height: calc(22px * var(--ta-font-scale)); }\n.ta-scan-top { position: absolute; top: calc(env(safe-area-inset-top) + 14px); left: 18px; right: 18px; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }\n.ta-scan-round { pointer-events: auto; width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: rgba(0, 0, 0, 0.32); color: #fff; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }\n.ta-scan-bottom { position: absolute; left: 18px; right: 18px; bottom: calc(env(safe-area-inset-bottom) + 28px); display: flex; align-items: center; gap: 12px; }\n.ta-scan-side, .ta-scan-ask { border: 0; color: #fff; background: rgba(48, 48, 48, 0.58); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); transition: transform 120ms, background 120ms; }\n.ta-scan-side { flex: none; width: 62px; height: 62px; display: grid; place-items: center; padding: 0; border-radius: 50%; }\n.ta-scan-ask { flex: 1; min-width: 0; height: 62px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 0 14px; border-radius: 31px; }\n.ta-scan-side:active, .ta-scan-ask:active { transform: scale(0.96); background: rgba(70, 70, 70, 0.66); }\n.ta-scan-side:disabled, .ta-scan-ask:disabled { opacity: 0.45; }\n.ta-scan-ask-title { display: flex; align-items: center; gap: 6px; font-size: calc(17px * var(--ta-font-scale)); font-weight: 600; line-height: calc(24px * var(--ta-font-scale)); }\n.ta-scan-ask-hint { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: rgba(255, 255, 255, 0.62); font-size: calc(12px * var(--ta-font-scale)); line-height: calc(16px * var(--ta-font-scale)); }\n.ta-scan-sheet { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 12px; padding: 18px 16px calc(16px + env(safe-area-inset-bottom)); border-radius: 18px 18px 0 0; background: var(--ta-card); color: var(--ta-text); box-shadow: var(--ta-shadow-pop); animation: ta-in 220ms var(--ta-ease); }\n:root[data-keyboard] .ta-scan-sheet { bottom: var(--ta-keyboard, 0px); padding-bottom: 12px; }\n.ta-scan-sheet-title { font-size: calc(15px * var(--ta-font-scale)); font-weight: 600; }\n.ta-scan-chips { display: flex; flex-wrap: wrap; gap: 8px; }\n.ta-scan-chip { padding: 8px 14px; border: 1px solid var(--ta-border); border-radius: 999px; background: var(--ta-main); color: var(--ta-text); font-size: calc(14px * var(--ta-font-scale)); }\n.ta-scan-chip:active { background: var(--ta-hover); }\n.ta-scan-field { display: flex; align-items: center; gap: 8px; padding: 4px 4px 4px 14px; border: 1px solid var(--ta-border); border-radius: 22px; background: var(--ta-main); }\n.ta-scan-field input { flex: 1; min-width: 0; height: 36px; border: 0; outline: none; background: transparent; color: var(--ta-text); font-size: max(16px, calc(15px * var(--ta-font-scale))); }\n.ta-scan-send { flex: none; width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: var(--ta-text); color: var(--ta-main); }\n.ta-scan-send:disabled { opacity: 0.5; }\n";
|
|
@@ -101,6 +101,8 @@ export const PAGES_STYLE = `
|
|
|
101
101
|
/* In place of the chevron while the page opens: as wide. */
|
|
102
102
|
.ta-list-busy { margin: 0 1.5px; }
|
|
103
103
|
.ta-list-trailing { flex: none; margin-right: 8px; color: var(--ta-muted); }
|
|
104
|
+
/* WebView.mark of a page under Discover: before its pin, as WeChat shows who posted last by Moments. */
|
|
105
|
+
.ta-list-mark { flex: none; display: inline-flex; align-items: center; margin-right: 2px; pointer-events: none; }
|
|
104
106
|
.ta-list-row.ta-action .ta-list-main { justify-content: center; }
|
|
105
107
|
.ta-list-row.ta-action .ta-list-label { flex: none; }
|
|
106
108
|
.ta-list-row.ta-danger .ta-list-main { color: var(--ta-red); }
|