@celljs/ta-web 4.36.0 → 4.38.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (99) hide show
  1. package/README.en.md +1 -1
  2. package/README.md +1 -1
  3. package/esm/browser/components/app-contexts.js +10 -9
  4. package/esm/browser/components/cloud-network.d.ts +17 -0
  5. package/esm/browser/components/cloud-network.js +105 -0
  6. package/esm/browser/components/cloud-sign-in-view.d.ts +1 -1
  7. package/esm/browser/components/folder-picker.d.ts +3 -3
  8. package/esm/browser/components/folder-picker.js +5 -15
  9. package/esm/browser/components/host-view.d.ts +1 -1
  10. package/esm/browser/components/markdown.d.ts +1 -1
  11. package/esm/browser/components/markdown.js +8 -2
  12. package/esm/browser/components/relay-services.d.ts +0 -2
  13. package/esm/browser/components/relay-services.js +1 -11
  14. package/esm/browser/components/remote-hosts.d.ts +9 -7
  15. package/esm/browser/components/remote-hosts.js +86 -47
  16. package/esm/browser/components/remote-machines.d.ts +21 -0
  17. package/esm/browser/components/remote-machines.js +56 -0
  18. package/esm/browser/components/remote-prompts.d.ts +2 -3
  19. package/esm/browser/components/remote-prompts.js +3 -15
  20. package/esm/browser/components/remote-steps.d.ts +19 -0
  21. package/esm/browser/components/remote-steps.js +26 -0
  22. package/esm/browser/components/settings-controls.d.ts +3 -1
  23. package/esm/browser/components/settings-controls.js +2 -2
  24. package/esm/browser/extension/icons.js +2 -1
  25. package/esm/browser/extension/web-api-menus.d.ts +14 -0
  26. package/esm/browser/extension/web-api-services.d.ts +6 -0
  27. package/esm/browser/extension/web-api-spec.js +2 -0
  28. package/esm/browser/extension/web-extension-context.js +2 -0
  29. package/esm/browser/extension/web-extension-protocol.d.ts +3 -1
  30. package/esm/browser/extension/web-extension-protocol.js +1 -0
  31. package/esm/browser/extension/web-extension-run.d.ts +4 -3
  32. package/esm/browser/extension/web-extension-run.js +3 -1
  33. package/esm/browser/i18n/en/service.d.ts +26 -2
  34. package/esm/browser/i18n/en/service.js +33 -9
  35. package/esm/browser/i18n/ja/service.js +33 -9
  36. package/esm/browser/i18n/locales.d.ts +27 -3
  37. package/esm/browser/i18n/messages.d.ts +26 -2
  38. package/esm/browser/i18n/zh/service.js +33 -9
  39. package/esm/browser/i18n/zh-tw/service.js +33 -9
  40. package/esm/browser/markdown/code-renderers.d.ts +3 -0
  41. package/esm/browser/markdown/code-renderers.js +2 -0
  42. package/esm/browser/sandbox/sandbox-runtime-code.js +1 -1
  43. package/esm/browser/style/dialogs.d.ts +1 -1
  44. package/esm/browser/style/dialogs.js +1 -4
  45. package/esm/browser/style/pages.d.ts +1 -1
  46. package/esm/browser/style/pages.js +9 -1
  47. package/esm/browser/workbench-protocol.d.ts +2 -0
  48. package/esm/browser/workbench-services.d.ts +2 -0
  49. package/esm/browser/workbench-services.js +5 -0
  50. package/esm/browser/workbench.js +3 -0
  51. package/lib/browser/components/app-contexts.js +9 -8
  52. package/lib/browser/components/cloud-network.d.ts +18 -0
  53. package/lib/browser/components/cloud-network.js +142 -0
  54. package/lib/browser/components/cloud-sign-in-view.d.ts +1 -1
  55. package/lib/browser/components/folder-picker.d.ts +3 -3
  56. package/lib/browser/components/folder-picker.js +5 -15
  57. package/lib/browser/components/host-view.d.ts +1 -1
  58. package/lib/browser/components/markdown.d.ts +1 -1
  59. package/lib/browser/components/markdown.js +7 -1
  60. package/lib/browser/components/relay-services.d.ts +0 -2
  61. package/lib/browser/components/relay-services.js +1 -11
  62. package/lib/browser/components/remote-hosts.d.ts +9 -7
  63. package/lib/browser/components/remote-hosts.js +84 -45
  64. package/lib/browser/components/remote-machines.d.ts +22 -0
  65. package/lib/browser/components/remote-machines.js +59 -0
  66. package/lib/browser/components/remote-prompts.d.ts +2 -3
  67. package/lib/browser/components/remote-prompts.js +3 -15
  68. package/lib/browser/components/remote-steps.d.ts +20 -0
  69. package/lib/browser/components/remote-steps.js +63 -0
  70. package/lib/browser/components/settings-controls.d.ts +3 -1
  71. package/lib/browser/components/settings-controls.js +2 -2
  72. package/lib/browser/extension/icons.js +1 -0
  73. package/lib/browser/extension/web-api-menus.d.ts +14 -0
  74. package/lib/browser/extension/web-api-services.d.ts +6 -0
  75. package/lib/browser/extension/web-api-spec.js +2 -0
  76. package/lib/browser/extension/web-extension-context.js +2 -0
  77. package/lib/browser/extension/web-extension-protocol.d.ts +3 -1
  78. package/lib/browser/extension/web-extension-protocol.js +1 -0
  79. package/lib/browser/extension/web-extension-run.d.ts +4 -3
  80. package/lib/browser/extension/web-extension-run.js +3 -1
  81. package/lib/browser/i18n/en/service.d.ts +26 -2
  82. package/lib/browser/i18n/en/service.js +33 -9
  83. package/lib/browser/i18n/ja/service.js +33 -9
  84. package/lib/browser/i18n/locales.d.ts +27 -3
  85. package/lib/browser/i18n/messages.d.ts +26 -2
  86. package/lib/browser/i18n/zh/service.js +33 -9
  87. package/lib/browser/i18n/zh-tw/service.js +33 -9
  88. package/lib/browser/markdown/code-renderers.d.ts +3 -0
  89. package/lib/browser/markdown/code-renderers.js +3 -1
  90. package/lib/browser/sandbox/sandbox-runtime-code.js +1 -1
  91. package/lib/browser/style/dialogs.d.ts +1 -1
  92. package/lib/browser/style/dialogs.js +1 -4
  93. package/lib/browser/style/pages.d.ts +1 -1
  94. package/lib/browser/style/pages.js +9 -1
  95. package/lib/browser/workbench-protocol.d.ts +2 -0
  96. package/lib/browser/workbench-services.d.ts +2 -0
  97. package/lib/browser/workbench-services.js +5 -0
  98. package/lib/browser/workbench.js +3 -0
  99. package/package.json +12 -12
@@ -1,2 +1,2 @@
1
1
  /** Dialogs and sheets, the picker of machines, rows far up a conversation, the sign-in to model accounts, Ta on a phone. */
2
- export declare const DIALOGS_STYLE = "\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 > :not(.ta-modal-head) { min-height: 0; overflow-y: auto; }\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/* The path on a touch screen: its folders as buttons, scrolled to the last; it fills the bar as the field does. */\n.ta-folder-crumbs { flex: 1; min-width: 0; display: flex; align-items: center; gap: 2px; height: 34px; padding: 0 6px; overflow-x: auto; scrollbar-width: none; border-radius: 8px; background: var(--ta-input); border: 1px solid var(--ta-border-field); white-space: nowrap; }\n.ta-folder-crumbs::-webkit-scrollbar { display: none; }\n.ta-folder-crumbs[data-clipped] { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 28px); mask-image: linear-gradient(to right, transparent 0, #000 28px); }\n.ta-folder-crumb { flex: none; height: 26px; padding: 0 6px; border: 0; border-radius: 6px; background: transparent; color: var(--ta-secondary); font-size: calc(13px * var(--ta-font-scale)); }\n.ta-folder-crumb:active { background: var(--ta-hover); }\n.ta-folder-crumb.ta-current { color: var(--ta-text); font-weight: 600; }\n.ta-folder-crumb-sep { flex: none; color: var(--ta-muted); }\n.ta-folder-machines .ta-chip-filter { flex: none; max-width: 70%; }\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; overflow-y: hidden; 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/* A host to add: a row of its own under the machines, as wide as the path, what it may be said under it. */\n.ta-folder-add { display: flex; flex-direction: column; gap: 6px; }\n.ta-folder-add-row { display: flex; align-items: center; gap: 8px; }\n.ta-folder-add-row .ta-field input { font-family: var(--ta-mono); font-size: calc(12.5px * var(--ta-font-scale)); }\n.ta-folder-add-row .ta-field:has(input[aria-invalid='true']) { border-color: var(--ta-red); }\n.ta-folder-add-row .ta-button { flex: none; height: 34px; }\n.ta-folder-add-hint { padding: 0 2px; color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); overflow-wrap: anywhere; }\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/* A tap leaves no hover behind on a folder; a press shows. */\n@media (pointer: coarse) {\n .ta-folder-item:hover { background: transparent; color: var(--ta-body); }\n .ta-folder-item:active { background: var(--ta-hover); color: var(--ta-text); }\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.ta-earlier-idle .ta-spinner { visibility: hidden; animation: none; }\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-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/* The account and its devices (account-view.tsx) */\n.ta-account-dialog { width: min(440px, 100%); gap: 14px; padding: 16px 18px 18px; overflow-y: auto; }\n.ta-account-dialog .ta-modal-title { font-size: calc(16px * var(--ta-font-scale)); }\n.ta-account-hint { margin: 0; color: var(--ta-muted); font-size: calc(13px * var(--ta-font-scale)); line-height: 1.55; }\n.ta-account-ways, .ta-account-signing { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }\n.ta-account-signing p { margin: 0; text-align: center; color: var(--ta-secondary); font-size: calc(13px * var(--ta-font-scale)); }\n.ta-account-waiting { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 6px 0 2px; text-align: center; }\n.ta-account-waiting strong { font-size: calc(15px * var(--ta-font-scale)); font-weight: 600; }\n.ta-account-waiting p { margin: 0; color: var(--ta-muted); font-size: calc(13px * var(--ta-font-scale)); line-height: 1.55; }\n.ta-account-code { padding: 12px 22px; border-radius: 14px; background: var(--ta-hover); font-family: var(--ta-mono); font-size: calc(30px * var(--ta-font-scale)); font-weight: 600; letter-spacing: 0.12em; font-variant-numeric: tabular-nums; color: var(--ta-text); white-space: nowrap; }\n.ta-account-devices { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; list-style: none; }\n.ta-account-device { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 6px 6px 6px 8px; border-radius: 12px; }\n.ta-account-device.ta-waiting { background: var(--ta-hover); }\n.ta-account-device-icon { position: relative; flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ta-hover); color: var(--ta-secondary); }\n.ta-account-device.ta-waiting .ta-account-device-icon { background: var(--ta-card); }\n.ta-account-dot { position: absolute; right: 0; bottom: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--ta-muted); box-shadow: 0 0 0 2px var(--ta-card); }\n.ta-account-dot.ta-on { background: var(--ta-green); }\n.ta-account-device-text { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 2px; font-size: calc(14px * var(--ta-font-scale)); }\n.ta-account-device-detail { color: var(--ta-muted); font-size: calc(12.5px * var(--ta-font-scale)); }\n.ta-account-device-actions { flex: none; display: flex; align-items: center; gap: 6px; }\n.ta-account-device-actions .ta-button { height: 30px; padding: 0 12px; }\n.ta-account-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid var(--ta-border-muted); }\n.ta-account-who { display: flex; align-items: center; gap: 6px; min-width: 0; color: var(--ta-secondary); font-size: calc(13px * var(--ta-font-scale)); }\n.ta-account-foot .ta-button { height: 30px; padding: 0 12px; }\n.ta-account-sign-in { display: flex; width: 100%; flex-direction: column; gap: 12px; text-align: left; }\n.ta-account-signed { display: flex; width: 100%; flex-direction: column; align-items: center; gap: 8px; padding: 4px 0; text-align: center; }\n.ta-account-signed .ta-account-who { font-size: calc(14px * var(--ta-font-scale)); color: var(--ta-text); }\n.ta-account-others { display: flex; flex-direction: column; gap: 6px; }\n.ta-account-others h2 { margin: 0 4px; font-size: calc(12.5px * var(--ta-font-scale)); font-weight: 500; color: var(--ta-muted); }\n.ta-account-recent-mark { display: grid; place-items: center; background: var(--ta-hover); color: var(--ta-text); }\n.ta-account-ask { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 58; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 12px; width: min(420px, calc(100vw - 24px)); padding: 14px 16px; border-radius: 16px; border: 1px solid var(--ta-border); background: var(--ta-card); box-shadow: var(--ta-shadow-pop); transform: translateX(-50%); animation: ta-fade 160ms ease-out; }\n.ta-account-ask-text { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; gap: 6px; }\n.ta-account-ask-text strong { max-width: 100%; font-size: calc(14px * var(--ta-font-scale)); font-weight: 600; }\n.ta-account-ask .ta-account-code { padding: 4px 10px; border-radius: 8px; font-size: calc(20px * var(--ta-font-scale)); }\n.ta-account-ask-actions { grid-column: 1 / -1; display: flex; align-items: center; justify-content: flex-end; gap: 8px; }\n.ta-account-ask-actions .ta-link-button { margin-right: auto; }\n";
2
+ export declare const DIALOGS_STYLE = "\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 > :not(.ta-modal-head) { min-height: 0; overflow-y: auto; }\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/* The path on a touch screen: its folders as buttons, scrolled to the last; it fills the bar as the field does. */\n.ta-folder-crumbs { flex: 1; min-width: 0; display: flex; align-items: center; gap: 2px; height: 34px; padding: 0 6px; overflow-x: auto; scrollbar-width: none; border-radius: 8px; background: var(--ta-input); border: 1px solid var(--ta-border-field); white-space: nowrap; }\n.ta-folder-crumbs::-webkit-scrollbar { display: none; }\n.ta-folder-crumbs[data-clipped] { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 28px); mask-image: linear-gradient(to right, transparent 0, #000 28px); }\n.ta-folder-crumb { flex: none; height: 26px; padding: 0 6px; border: 0; border-radius: 6px; background: transparent; color: var(--ta-secondary); font-size: calc(13px * var(--ta-font-scale)); }\n.ta-folder-crumb:active { background: var(--ta-hover); }\n.ta-folder-crumb.ta-current { color: var(--ta-text); font-weight: 600; }\n.ta-folder-crumb-sep { flex: none; color: var(--ta-muted); }\n.ta-folder-machines .ta-chip-filter { flex: none; max-width: 70%; }\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; overflow-y: hidden; 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/* A host to add: a row of its own under the machines, as wide as the path, what it may be said under it. */\n.ta-folder-add { display: flex; flex-direction: column; gap: 6px; }\n.ta-folder-add-row { display: flex; align-items: center; gap: 8px; }\n.ta-folder-add-row .ta-field input { font-family: var(--ta-mono); font-size: calc(12.5px * var(--ta-font-scale)); }\n.ta-folder-add-row .ta-field:has(input[aria-invalid='true']) { border-color: var(--ta-red); }\n.ta-folder-add-row .ta-button { flex: none; height: 34px; }\n.ta-folder-add-hint { padding: 0 2px; color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); overflow-wrap: anywhere; }\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 */\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@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/* A tap leaves no hover behind on a folder; a press shows. */\n@media (pointer: coarse) {\n .ta-folder-item:hover { background: transparent; color: var(--ta-body); }\n .ta-folder-item:active { background: var(--ta-hover); color: var(--ta-text); }\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.ta-earlier-idle .ta-spinner { visibility: hidden; animation: none; }\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-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/* The account and its devices (account-view.tsx) */\n.ta-account-dialog { width: min(440px, 100%); gap: 14px; padding: 16px 18px 18px; overflow-y: auto; }\n.ta-account-dialog .ta-modal-title { font-size: calc(16px * var(--ta-font-scale)); }\n.ta-account-hint { margin: 0; color: var(--ta-muted); font-size: calc(13px * var(--ta-font-scale)); line-height: 1.55; }\n.ta-account-ways, .ta-account-signing { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }\n.ta-account-signing p { margin: 0; text-align: center; color: var(--ta-secondary); font-size: calc(13px * var(--ta-font-scale)); }\n.ta-account-waiting { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 6px 0 2px; text-align: center; }\n.ta-account-waiting strong { font-size: calc(15px * var(--ta-font-scale)); font-weight: 600; }\n.ta-account-waiting p { margin: 0; color: var(--ta-muted); font-size: calc(13px * var(--ta-font-scale)); line-height: 1.55; }\n.ta-account-code { padding: 12px 22px; border-radius: 14px; background: var(--ta-hover); font-family: var(--ta-mono); font-size: calc(30px * var(--ta-font-scale)); font-weight: 600; letter-spacing: 0.12em; font-variant-numeric: tabular-nums; color: var(--ta-text); white-space: nowrap; }\n.ta-account-devices { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; list-style: none; }\n.ta-account-device { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 6px 6px 6px 8px; border-radius: 12px; }\n.ta-account-device.ta-waiting { background: var(--ta-hover); }\n.ta-account-device-icon { position: relative; flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ta-hover); color: var(--ta-secondary); }\n.ta-account-device.ta-waiting .ta-account-device-icon { background: var(--ta-card); }\n.ta-account-dot { position: absolute; right: 0; bottom: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--ta-muted); box-shadow: 0 0 0 2px var(--ta-card); }\n.ta-account-dot.ta-on { background: var(--ta-green); }\n.ta-account-device-text { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 2px; font-size: calc(14px * var(--ta-font-scale)); }\n.ta-account-device-detail { color: var(--ta-muted); font-size: calc(12.5px * var(--ta-font-scale)); }\n.ta-account-device-actions { flex: none; display: flex; align-items: center; gap: 6px; }\n.ta-account-device-actions .ta-button { height: 30px; padding: 0 12px; }\n.ta-account-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid var(--ta-border-muted); }\n.ta-account-who { display: flex; align-items: center; gap: 6px; min-width: 0; color: var(--ta-secondary); font-size: calc(13px * var(--ta-font-scale)); }\n.ta-account-foot .ta-button { height: 30px; padding: 0 12px; }\n.ta-account-sign-in { display: flex; width: 100%; flex-direction: column; gap: 12px; text-align: left; }\n.ta-account-signed { display: flex; width: 100%; flex-direction: column; align-items: center; gap: 8px; padding: 4px 0; text-align: center; }\n.ta-account-signed .ta-account-who { font-size: calc(14px * var(--ta-font-scale)); color: var(--ta-text); }\n.ta-account-others { display: flex; flex-direction: column; gap: 6px; }\n.ta-account-others h2 { margin: 0 4px; font-size: calc(12.5px * var(--ta-font-scale)); font-weight: 500; color: var(--ta-muted); }\n.ta-account-recent-mark { display: grid; place-items: center; background: var(--ta-hover); color: var(--ta-text); }\n.ta-account-ask { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 58; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 12px; width: min(420px, calc(100vw - 24px)); padding: 14px 16px; border-radius: 16px; border: 1px solid var(--ta-border); background: var(--ta-card); box-shadow: var(--ta-shadow-pop); transform: translateX(-50%); animation: ta-fade 160ms ease-out; }\n.ta-account-ask-text { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; gap: 6px; }\n.ta-account-ask-text strong { max-width: 100%; font-size: calc(14px * var(--ta-font-scale)); font-weight: 600; }\n.ta-account-ask .ta-account-code { padding: 4px 10px; border-radius: 8px; font-size: calc(20px * var(--ta-font-scale)); }\n.ta-account-ask-actions { grid-column: 1 / -1; display: flex; align-items: center; justify-content: flex-end; gap: 8px; }\n.ta-account-ask-actions .ta-link-button { margin-right: auto; }\n";
@@ -56,13 +56,10 @@ export const DIALOGS_STYLE = `
56
56
  /* In a narrow chip the host gives way before the name of the folder, and both stay inside it. */
57
57
  .ta-cwd-chip .ta-host-tag { flex: 0 10 auto; min-width: 0; margin: 0 0 0 2px; }
58
58
  .ta-cwd-chip .ta-ellipsis { flex: none; max-width: 60%; }
59
- /* What ssh asks, and the line while a host connects */
59
+ /* What ssh asks */
60
60
  .ta-remote-prompt { width: min(440px, 100%); gap: 12px; }
61
61
  .ta-remote-prompt .ta-confirm-title { display: flex; align-items: center; gap: 8px; }
62
62
  .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; }
63
- .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; }
64
- /* The picker says it itself */
65
- body:has(.ta-folder) .ta-remote-status { display: none; }
66
63
  @media ${DeviceMedia.COMPACT} {
67
64
  .ta-modal-scrim { align-items: flex-end; padding: 0; }
68
65
  .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); }
@@ -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: var(--ta-page-width); margin: 0 auto; padding: 18px 24px calc(48px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 28px; }\n.ta-settings-content:has(> .ta-empty) { min-height: 100%; box-sizing: border-box; }\n.ta-settings-part { display: flex; flex-direction: column; gap: 18px; }\n.ta-settings-part-title { margin: 0; display: flex; align-items: baseline; gap: 10px; font-size: calc(18px * var(--ta-font-scale)); font-weight: 650; letter-spacing: -0.01em; }\n.ta-settings-scope { display: flex; flex-direction: column; gap: 6px; }\n.ta-settings-tabs { display: flex; gap: 2px; padding: 3px; border-radius: 10px; background: var(--ta-raised); align-self: flex-start; max-width: 100%; }\n.ta-settings-tab { height: 28px; padding: 0 12px; border: 0; border-radius: 7px; background: none; color: var(--ta-secondary); font-size: calc(12.5px * var(--ta-font-scale)); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 260px; }\n.ta-settings-tab:hover { color: var(--ta-text); }\n.ta-settings-tab.ta-active { background: var(--ta-segment); color: var(--ta-text); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 0 0 1px var(--ta-border); }\n.ta-settings-file { padding: 0 4px; font-size: calc(12px * var(--ta-font-scale)); color: var(--ta-muted); overflow-wrap: anywhere; }\n.ta-settings-note { padding: 10px 14px; border-radius: 10px; border: 1px dashed var(--ta-border); font-size: calc(12.5px * var(--ta-font-scale)); color: var(--ta-secondary); }\n.ta-setting-row { position: relative; }\n.ta-setting-row.ta-modified::before { content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 2px; border-radius: 0 2px 2px 0; background: var(--ta-blue); }\n.ta-setting-control { gap: 6px; }\n.ta-setting-reset { width: 26px; height: 26px; }\n.ta-setting-row:not(:hover):not(:focus-within) .ta-setting-reset { opacity: 0; }\n.ta-setting-row:not(.ta-stacked) > .ta-setting-text { flex: 1 1 240px; }\n.ta-setting-row:not(.ta-stacked):has(> .ta-setting-icon) > .ta-setting-text { flex-basis: 160px; }\n.ta-setting-row:not(.ta-stacked) { flex-wrap: wrap; row-gap: 8px; }\n.ta-settings-files { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; min-width: 0; flex: 1; }\n.ta-settings-files li { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; min-width: 0; font-size: calc(12.5px * var(--ta-font-scale)); }\n.ta-settings-files .ta-link { font-size: inherit; overflow-wrap: anywhere; text-align: left; }\n.ta-settings-files-icon { flex: none; align-self: center; color: var(--ta-yellow); }\n.ta-settings-files-why { color: var(--ta-muted); }\n.ta-settings-files-tools { display: inline-flex; align-items: center; gap: 4px; }\n.ta-settings-files-ok { color: var(--ta-green); }\n.ta-select, .ta-setting-input, .ta-setting-control .ta-model-field { width: 200px; height: 30px; font-size: calc(12.5px * var(--ta-font-scale)); padding: 0 8px; }\n.ta-select { appearance: auto; cursor: pointer; }\n.ta-select:disabled { opacity: 0.5; cursor: default; }\n/* Settings \u2192 Storage: the limits of a store side by side (storage-settings.tsx); a phone gives each half the row. */\n.ta-select.ta-storage-select { width: 136px; }\n.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-setting-choice { width: 100%; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }\n.ta-setting-choice:active { background: var(--ta-hover); }\n.ta-setting-check { flex: none; color: var(--ta-text); }\n.ta-setting-range { width: 140px; margin: 0; accent-color: var(--ta-accent); cursor: pointer; }\n.ta-setting-range-value { min-width: 3em; text-align: right; font-size: calc(12.5px * var(--ta-font-scale)); color: var(--ta-secondary); font-variant-numeric: tabular-nums; }\n.ta-settings-phone .ta-setting-range { flex: 1; width: auto; min-width: 0; }\n.ta-settings-phone .ta-settings-note { border-radius: 12px; }\n.ta-keys { display: inline-flex; gap: 3px; flex: none; }\n.ta-kbd { min-width: 20px; height: 20px; padding: 0 5px; display: inline-grid; place-items: center; border-radius: 5px; border: 1px solid var(--ta-border); border-bottom-width: 2px; background: var(--ta-raised); font: 500 calc(11px * var(--ta-font-scale)) var(--ta-sans); color: var(--ta-secondary); }\n\n/* The menus of the account at the foot of the rail */\n.ta-account-menu .ta-account-item { width: 100%; }\n.ta-account-menu .ta-account-item:focus-visible { outline: 1px solid var(--ta-border-focus); outline-offset: -1px; }\n.ta-menu-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-account-menu .ta-kbd { height: 18px; min-width: 18px; font-size: calc(10.5px * var(--ta-font-scale)); }\n@media (max-width: 860px), (max-height: 500px) and (pointer: coarse) {\n .ta-settings-toc { display: none; }\n .ta-settings-content { padding: 14px 14px calc(32px + env(safe-area-inset-bottom)); }\n /* No table of contents: the last section, jumped to from the menu of the account, still scrolls to the top. */\n .ta-settings-scroll { container-type: size; }\n .ta-settings-part:last-child > .ta-setting-section:last-child { min-height: calc(100cqh - 48px - env(safe-area-inset-bottom)); }\n .ta-settings-title { padding-left: 0; }\n .ta-settings-search { margin: 0; }\n .ta-setting-row:has(.ta-select, .ta-setting-input, .ta-model-field, .ta-setting-range) .ta-setting-control { width: 100%; }\n .ta-setting-row .ta-select, .ta-setting-row .ta-setting-input, .ta-setting-row .ta-model-field { flex: 1; width: auto; min-width: 0; }\n .ta-setting-reset { opacity: 1 !important; }\n}\n/* Discover and Me: rows in rounded groups, as the settings of a phone (list-rows.tsx) */\n.ta-list-page { flex: 1; min-height: 0; display: flex; flex-direction: column; --ta-list-bg: var(--ta-main); --ta-list-cell: var(--ta-side); background: var(--ta-list-bg); }\n:root[data-theme='light'] .ta-list-page { --ta-list-bg: var(--ta-side); --ta-list-cell: var(--ta-card); }\n.ta-list-head { border-bottom: 1px solid var(--ta-border-muted); }\n.ta-list-scroll { flex: 1; min-height: 0; overflow-y: auto; }\n.ta-list-content { max-width: var(--ta-page-width); margin: 0 auto; padding: 20px 20px calc(32px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 16px; }\n.ta-list-group { display: flex; flex-direction: column; border-radius: 12px; border: 1px solid var(--ta-border-muted); background: var(--ta-list-cell); overflow: hidden; }\n.ta-list-row { position: relative; display: flex; align-items: center; min-height: 48px; }\n.ta-list-row + .ta-list-row::before { content: ''; position: absolute; top: 0; right: 0; left: 46px; height: 1px; background: var(--ta-border-muted); }\n.ta-list-main { flex: 1; min-width: 0; align-self: stretch; display: flex; align-items: center; gap: 12px; padding: 0 14px; border: 0; background: none; text-align: left; font-size: calc(14.5px * var(--ta-font-scale)); color: var(--ta-text); transition: background 120ms; }\n.ta-list-main:hover { background: var(--ta-hover); }\n.ta-list-main:focus-visible { outline: 1px solid var(--ta-border-focus); outline-offset: -1px; }\n.ta-list-icon { flex: none; color: var(--ta-secondary); }\n.ta-list-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-list-detail { flex: none; max-width: 45%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: calc(13.5px * var(--ta-font-scale)); color: var(--ta-muted); }\n.ta-list-chevron { flex: none; color: var(--ta-muted); }\n/* In place of the chevron while the page opens: as wide. */\n.ta-list-busy { margin: 0 1.5px; }\n.ta-list-trailing { flex: none; margin-right: 8px; color: var(--ta-muted); }\n/* WebView.mark of a page under Discover: before its pin, as WeChat shows who posted last by Moments. */\n.ta-list-mark { flex: none; display: inline-flex; align-items: center; margin-right: 2px; pointer-events: none; }\n.ta-list-row.ta-action .ta-list-main { justify-content: center; }\n.ta-list-row.ta-action .ta-list-label { flex: none; }\n.ta-list-row.ta-danger .ta-list-main { color: var(--ta-red); }\n.ta-list-row.ta-danger + .ta-list-row::before, .ta-list-row + .ta-list-row.ta-danger::before { left: 0; }\n.ta-list-hint { margin: -6px 4px 0; font-size: calc(12.5px * var(--ta-font-scale)); color: var(--ta-muted); }\n.ta-me-card { display: flex; align-items: center; gap: 14px; width: 100%; padding: 18px 16px; border-radius: 12px; border: 1px solid var(--ta-border-muted); background: var(--ta-list-cell); font: inherit; text-align: left; color: inherit; transition: background 120ms; }\n.ta-me-card:hover, .ta-me-card:active { background: var(--ta-hover); }\n.ta-me-card:focus-visible { outline: 1px solid var(--ta-border-focus); outline-offset: -1px; }\n.ta-account-figure.ta-me-figure { border-radius: 16px; }\n.ta-me-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; line-height: 1.35; }\n.ta-me-name { font-size: calc(18px * var(--ta-font-scale)); font-weight: 650; color: var(--ta-text); }\n.ta-me-host { font-size: calc(13px * var(--ta-font-scale)); color: var(--ta-secondary); }\n.ta-me-state { display: flex; align-items: center; gap: 6px; font-size: calc(12.5px * var(--ta-font-scale)); color: var(--ta-muted); font-variant-numeric: tabular-nums; }\n/* The computers of this device (host-view.tsx): rows as the conversations, a sheet from the bottom on a phone */\n.ta-hosts-dialog { width: min(420px, 100%); gap: 12px; }\n.ta-hosts-dialog .ta-modal-title { font-size: calc(16px * var(--ta-font-scale)); }\n.ta-host-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }\n.ta-host-row { border-radius: 12px; --ta-swipe-bg: var(--ta-card); }\n.ta-host-item { width: 100%; display: flex; align-items: center; gap: 12px; padding: 9px 10px; border: 0; border-radius: 12px; background: var(--ta-card); font: inherit; text-align: left; color: var(--ta-text); transition: background 120ms; }\n.ta-host-item:hover, .ta-host-item:active { background: var(--ta-hover); }\n.ta-host-row.ta-selected .ta-host-item { background: var(--ta-selected); }\n.ta-host-item:focus-visible { outline: 1px solid var(--ta-border-focus); outline-offset: -1px; }\n.ta-host-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; line-height: 1.35; }\n.ta-host-name { font-size: calc(14.5px * var(--ta-font-scale)); font-weight: 600; }\n.ta-host-detail { font-size: calc(12.5px * var(--ta-font-scale)); color: var(--ta-muted); }\n.ta-host-check { flex: none; color: var(--ta-green); }\n.ta-host-actions { display: flex; gap: 8px; }\n.ta-host-actions .ta-button { flex: 1; height: 40px; justify-content: center; gap: 6px; }\n.ta-host-form { display: flex; gap: 8px; width: 100%; animation: ta-in 200ms var(--ta-ease) both; }\n.ta-host-form .ta-field { flex: 1; height: 40px; }\n.ta-host-form .ta-button { height: 40px; min-width: 72px; justify-content: center; }\n.ta-scan-button { height: 46px; gap: 8px; font-size: calc(15px * var(--ta-font-scale)); justify-content: center; }\n.ta-link-button { padding: 4px 8px; border: 0; background: none; font: inherit; font-size: calc(13.5px * var(--ta-font-scale)); color: var(--ta-secondary); }\n.ta-link-button:hover { color: var(--ta-text); }\n.ta-sign-in-or { width: 100%; }\n.ta-cloud-other { align-self: center; margin-top: 2px; font-size: calc(13px * var(--ta-font-scale)); }\n.ta-cloud-entry { height: 42px; gap: 8px; font-size: calc(14.5px * var(--ta-font-scale)); }\n.ta-cloud-flow { position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; animation: ta-in 200ms var(--ta-ease) both; }\n.ta-cloud-flow h1 { margin: 4px 0 0; font-size: calc(20px * var(--ta-font-scale)); font-weight: 650; }\n.ta-cloud-flow p { margin: 0 0 4px; font-size: calc(13px * var(--ta-font-scale)); line-height: 1.55; color: var(--ta-secondary); }\n.ta-cloud-back { position: absolute; top: -6px; left: -8px; }\n.ta-cloud-top { position: fixed; z-index: 5; top: calc(8px + env(safe-area-inset-top)); left: calc(8px + env(safe-area-inset-left)); }\n.ta-cloud-top .ta-cloud-back { position: static; width: 40px; height: 40px; }\n.ta-cloud-form { width: 100%; display: flex; flex-direction: column; gap: 10px; }\n.ta-cloud-form .ta-field { height: 42px; }\n.ta-cloud-form .ta-button { height: 42px; font-size: calc(14.5px * var(--ta-font-scale)); }\n.ta-cloud-code { width: 100%; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 16px 0; border-radius: 14px; background: var(--ta-hover); font-family: var(--ta-mono); font-size: calc(28px * var(--ta-font-scale)); font-weight: 600; letter-spacing: 0.16em; font-variant-numeric: tabular-nums; color: var(--ta-text); user-select: all; }\n.ta-cloud-code > span:not(.ta-cloud-code-dash) { margin-right: -0.16em; }\n.ta-cloud-code-dash { width: 12px; height: 2px; border-radius: 1px; background: var(--ta-muted); }\n.ta-cloud-status { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 24px; font-size: calc(13px * var(--ta-font-scale)); color: var(--ta-secondary); }\n.ta-cloud-status-wait { color: var(--ta-text); }\n.ta-hosts-dialog .ta-cloud-flow { padding-top: 30px; }\n.ta-cloud-flow > .ta-callout, .ta-cloud-reach { width: 100%; }\n.ta-device-card { gap: 14px; }\n.ta-device-card .ta-sign-in-accounts { margin-top: 2px; }\n.ta-device-card .ta-sign-in-account { height: 44px; }\n.ta-device-ask { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 6px 12px; border-radius: 999px; background: var(--ta-hover); font-size: calc(13px * var(--ta-font-scale)); color: var(--ta-text); }\n.ta-device-ask svg { flex: none; color: var(--ta-secondary); }\n.ta-device-mark { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; }\n.ta-device-ok { color: var(--ta-green); background: color-mix(in srgb, var(--ta-green) 14%, transparent); }\n.ta-device-wait { color: var(--ta-yellow); background: color-mix(in srgb, var(--ta-yellow) 14%, transparent); }\n.ta-device-bad { color: var(--ta-red); background: color-mix(in srgb, var(--ta-red) 12%, transparent); }\n.ta-device-quiet { color: var(--ta-muted); background: var(--ta-hover); }\n.ta-host-saved { width: 100%; margin-top: 12px; display: flex; flex-direction: column; gap: 6px; text-align: left; animation: ta-in 260ms var(--ta-ease) both; }\n.ta-host-saved h2 { margin: 0 4px; font-size: calc(12.5px * var(--ta-font-scale)); font-weight: 500; color: var(--ta-muted); }\n.ta-signin .ta-host-item { background: var(--ta-main); }\n.ta-signin .ta-host-item:hover, .ta-signin .ta-host-item:active { background: var(--ta-hover); }\n.ta-sign-in-accounts { display: flex; flex-direction: column; gap: 8px; width: 100%; animation: ta-in 200ms var(--ta-ease) both; }\n.ta-sign-in-account { height: 42px; gap: 8px; text-decoration: none; font-size: calc(14.5px * var(--ta-font-scale)); }\n.ta-sign-in-account:hover { background: var(--ta-hover); }\n.ta-sign-in-account[aria-busy='true'] { pointer-events: none; opacity: 0.7; }\n.ta-sign-in-mark { flex: none; }\n.ta-sign-in-or { display: flex; align-items: center; gap: 10px; margin: 4px 0; color: var(--ta-muted); font-size: calc(12.5px * var(--ta-font-scale)); }\n.ta-sign-in-or::before, .ta-sign-in-or::after { content: ''; flex: 1; height: 1px; background: var(--ta-border); }\n.ta-access-account { display: inline-flex; align-items: center; gap: 8px; min-width: 0; max-width: 100%; }\n.ta-access-avatar { width: 22px; height: 22px; flex: none; border-radius: 50%; object-fit: cover; }\n.ta-access-avatar.ta-chat-avatar { font-size: calc(11px * var(--ta-font-scale)); }\n.ta-access-bind { display: flex; flex-wrap: wrap; gap: 8px; }\n.ta-sign-in-name { display: inline-flex; align-items: center; gap: 6px; }\n.ta-sign-in-callbacks { display: flex; flex-direction: column; gap: 6px; width: 100%; min-width: 0; }\n.ta-sign-in-callback { display: flex; align-items: center; gap: 6px; min-width: 0; padding: 4px 4px 4px 10px; border-radius: 8px; background: var(--ta-hover); }\n.ta-sign-in-callback code { flex: 1; min-width: 0; font-size: calc(12.5px * var(--ta-font-scale)); }\n.ta-sign-in-form { display: flex; flex-direction: column; gap: 10px; width: 100%; }\n.ta-sign-in-field { display: flex; flex-direction: column; gap: 4px; font-size: calc(12.5px * var(--ta-font-scale)); color: var(--ta-muted); }\n.ta-sign-in-field .ta-input { height: 32px; }\n.ta-sign-in-actions { display: flex; justify-content: flex-end; gap: 8px; }\n.ta-environment-chooser { display: flex; flex-direction: column; gap: 10px; width: 100%; text-align: left; }\n.ta-environment-own { display: flex; flex-direction: column; gap: 8px; animation: ta-in 200ms var(--ta-ease) both; }\n.ta-environment-own .ta-button { align-self: flex-end; }\n.ta-deploy-cloud { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; align-items: flex-start; }\n.ta-deploy-cloud > .ta-environment-own { flex-basis: 100%; }\n.ta-environment-hint { margin: 0; color: var(--ta-muted); font-size: calc(12.5px * var(--ta-font-scale)); line-height: 1.5; }\n.ta-environment-card { gap: 14px; }\n/* While the page loads again for another computer: which one, at once, over all. */\n.ta-switching { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: var(--ta-main); color: var(--ta-secondary); font-size: calc(14px * var(--ta-font-scale)); animation: ta-fade 140ms ease-out both; }\n.ta-switching.ta-veil-leaving { opacity: 0; pointer-events: none; transition: opacity 220ms ease-out; }\n/* Me has no head: the card under the status bar. */\n.ta-me .ta-list-content { padding-top: calc(20px + env(safe-area-inset-top)); }\n@media (max-width: 860px), (max-height: 500px) and (pointer: coarse) {\n .ta-list-content { padding: 14px 12px calc(24px + env(safe-area-inset-bottom)); }\n .ta-me .ta-list-content { padding-top: calc(14px + env(safe-area-inset-top)); }\n}\n\n/* Streaming: what comes in fades in where it will stay; nothing already shown moves or draws again. */\n.ta-thread-new { animation: ta-in 220ms var(--ta-ease); }\n/* Words ta said on the way move from the reply into the steps when a tool follows them: they were on the screen, so they do not fade in again. */\n.ta-turn-live > .ta-markdown > *, .ta-process-active .ta-process-steps > :not(.ta-step-more, .ta-step-text), .ta-turn-live .ta-turn-head > .ta-process-head, .ta-turn-live .ta-turn-head > .ta-run-status { animation: ta-fade 240ms ease-out; }\n.ta-run-line { animation: ta-fade 200ms ease-out; }\n.ta-scroll { overflow-anchor: none; }\n/* The scroll bar held while a reply comes in: the thread keeps its height (ConversationScroller), what grows past it waits. */\n.ta-scroll-held { overflow-y: clip; }\n.ta-scroll-held > * { flex-shrink: 0; }\n/* The look of the double: it walks above, the kinds of dinosaur below, then the ways it walks */\n.ta-picture { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 8px 0 4px; }\n.ta-picture-hint { margin: 0; max-width: 300px; text-align: center; color: var(--ta-muted); font-size: calc(13px * var(--ta-font-scale)); line-height: 1.5; }\n.ta-picture-actions { width: 100%; display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }\n.ta-picture-actions > .ta-button { height: 40px; }\n.ta-picture-actions > .ta-input { height: 40px; }\n/* The profile (profile-view.tsx): the picture, the name, then its rows */\n.ta-profile { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 6px 0 2px; }\n.ta-profile-picture { display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; }\n.ta-profile-name { max-width: 100%; margin-bottom: 6px; font-size: calc(17px * var(--ta-font-scale)); font-weight: 600; color: var(--ta-text); }\n.ta-profile .ta-list-group { width: 100%; text-align: left; }\n.ta-profile-hint { margin: 0; max-width: 320px; text-align: center; color: var(--ta-muted); font-size: calc(12.5px * var(--ta-font-scale)); line-height: 1.5; }\n.ta-look { display: flex; flex-direction: column; gap: 10px; min-height: 0; overflow-y: auto; }\n.ta-look-stage { height: 120px; flex: none; display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 8px; }\n.ta-look-figure, .ta-look-walk { border-radius: 12px; background: var(--ta-raised); display: grid; place-items: center; }\n/* Wide enough for the walk to and fro (half the width of the dinosaur to either side of the middle, and itself). */\n.ta-look-walk { min-width: 220px; overflow: hidden; }\n.ta-look-label { font-size: calc(12px * var(--ta-font-scale)); font-weight: 600; color: var(--ta-secondary); }\n.ta-look-kinds { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 6px; }\n.ta-look-kind { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 4px 7px; border: 1px solid var(--ta-border-muted); border-radius: 12px; background: transparent; color: var(--ta-text); font-size: calc(12px * var(--ta-font-scale)); transition: background 120ms, border-color 120ms; }\n.ta-look-kind:hover { background: var(--ta-hover); }\n.ta-look-kind.ta-on { border-color: var(--ta-green); background: color-mix(in srgb, var(--ta-green) 8%, transparent); }\n.ta-look-name { max-width: 100%; }\n/* The voice replies are read with: its list, and a button to listen to it. */\n.ta-voice-picker { display: flex; align-items: center; gap: 8px; width: 100%; }\n.ta-voice-picker .ta-select { flex: 1; min-width: 0; }\n.ta-voice-picker .ta-button { flex: none; }\n.ta-look-premium { position: absolute; top: 4px; left: 4px; display: inline-flex; align-items: center; gap: 2px; padding: 1px 5px; border-radius: 8px; background: linear-gradient(135deg, #FCD866, #D98E14); color: #4a2c00; font-size: calc(10px * var(--ta-font-scale)); font-weight: 600; line-height: calc(14px * var(--ta-font-scale)); }\n/* Scan, as WeChat's: the camera over everything, a green glow sweeping down, round buttons on it; a photo for Ta asks on a sheet. */\n.ta-scan { position: fixed; inset: 0; z-index: 55; overflow: hidden; background: #000; color: #fff; animation: ta-fade 160ms ease-out; -webkit-user-select: none; user-select: none; }\n.ta-scan-video, .ta-scan-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }\n.ta-scan-mirrored { transform: scaleX(-1); }\n.ta-scan-line { position: absolute; left: 0; right: 0; top: 16%; height: 22%; pointer-events: none; background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--ta-green) 40%, transparent) 88%, color-mix(in srgb, var(--ta-green) 90%, transparent) 100%); -webkit-mask-image: radial-gradient(ellipse 60% 100% at 50% 100%, #000 30%, transparent 100%); mask-image: radial-gradient(ellipse 60% 100% at 50% 100%, #000 30%, transparent 100%); animation: ta-scan-sweep 2.6s cubic-bezier(0.45, 0, 0.55, 1) infinite; }\n@keyframes ta-scan-sweep { 0% { transform: translateY(0); opacity: 0; } 12% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateY(220%); opacity: 0; } }\n.ta-scan-dot { position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; border: 3px solid #fff; background: var(--ta-green); box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35); animation: ta-scan-pop 260ms var(--ta-ease) both; }\n@keyframes ta-scan-pop { from { transform: scale(0.3); opacity: 0; } }\n.ta-scan-problem { position: absolute; top: 42%; left: 32px; right: 32px; margin: 0; text-align: center; color: rgba(255, 255, 255, 0.85); font-size: calc(15px * var(--ta-font-scale)); line-height: calc(22px * var(--ta-font-scale)); }\n.ta-scan-top { position: absolute; top: calc(env(safe-area-inset-top) + 14px); left: 18px; right: 18px; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }\n.ta-scan-round { pointer-events: auto; width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: rgba(0, 0, 0, 0.32); color: #fff; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }\n.ta-scan-bottom { position: absolute; left: 18px; right: 18px; bottom: calc(env(safe-area-inset-bottom) + 28px); display: flex; align-items: center; gap: 12px; }\n.ta-scan-side, .ta-scan-ask { border: 0; color: #fff; background: rgba(48, 48, 48, 0.58); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); transition: transform 120ms, background 120ms; }\n.ta-scan-side { flex: none; width: 62px; height: 62px; display: grid; place-items: center; padding: 0; border-radius: 50%; }\n.ta-scan-ask { flex: 1; min-width: 0; height: 62px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 0 14px; border-radius: 31px; }\n.ta-scan-side:active, .ta-scan-ask:active { transform: scale(0.96); background: rgba(70, 70, 70, 0.66); }\n.ta-scan-side:disabled, .ta-scan-ask:disabled { opacity: 0.45; }\n.ta-scan-side.ta-scan-blank { visibility: hidden; }\n.ta-scan-toast { left: 50%; right: auto; width: max-content; max-width: calc(100% - 64px); padding: 8px 16px; border-radius: 18px; transform: translateX(-50%); background: rgba(0, 0, 0, 0.6); color: #fff; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); animation: ta-fade 160ms ease-out; }\n.ta-scan-instructions { flex: 1; min-width: 0; margin: 0; text-align: center; text-wrap: balance; color: rgba(255, 255, 255, 0.85); font-size: calc(15px * var(--ta-font-scale)); line-height: calc(22px * var(--ta-font-scale)); text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5); }\n.ta-scan-ask-title { display: flex; align-items: center; gap: 6px; font-size: calc(17px * var(--ta-font-scale)); font-weight: 600; line-height: calc(24px * var(--ta-font-scale)); }\n.ta-scan-ask-hint { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: rgba(255, 255, 255, 0.62); font-size: calc(12px * var(--ta-font-scale)); line-height: calc(16px * var(--ta-font-scale)); }\n.ta-scan-sheet { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 12px; padding: 18px 16px calc(16px + env(safe-area-inset-bottom)); border-radius: 18px 18px 0 0; background: var(--ta-card); color: var(--ta-text); box-shadow: var(--ta-shadow-pop); animation: ta-in 220ms var(--ta-ease); }\n:root[data-keyboard] .ta-scan-sheet { bottom: var(--ta-keyboard, 0px); padding-bottom: 12px; }\n.ta-scan-sheet-title { font-size: calc(15px * var(--ta-font-scale)); font-weight: 600; }\n.ta-scan-chips { display: flex; flex-wrap: wrap; gap: 8px; }\n.ta-scan-chip { padding: 8px 14px; border: 1px solid var(--ta-border); border-radius: 999px; background: var(--ta-main); color: var(--ta-text); font-size: calc(14px * var(--ta-font-scale)); }\n.ta-scan-chip:active { background: var(--ta-hover); }\n.ta-scan-field { display: flex; align-items: center; gap: 8px; padding: 4px 4px 4px 14px; border: 1px solid var(--ta-border); border-radius: 22px; background: var(--ta-main); }\n.ta-scan-field input { flex: 1; min-width: 0; height: 36px; border: 0; outline: none; background: transparent; color: var(--ta-text); font-size: max(16px, calc(15px * var(--ta-font-scale))); }\n.ta-scan-send { flex: none; width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: var(--ta-text); color: var(--ta-main); }\n.ta-scan-send:disabled { opacity: 0.5; }\n/* A model service added by its address and key (custom-provider-view) */\n.ta-custom-flow { flex: 1 1 auto; min-height: 0; }\n.ta-custom-form { display: flex; flex-direction: column; gap: 12px; min-height: 0; margin: 0 -4px; padding: 0 4px; overflow-y: auto; }\n.ta-custom-form .ta-select { width: 100%; height: 32px; }\n.ta-custom-models { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 36px; box-sizing: border-box; padding: 4px 6px; border: 1px solid var(--ta-border-field); border-radius: 8px; background: var(--ta-input); transition: border-color 120ms; }\n.ta-custom-models:focus-within { border-color: var(--ta-border-focus); }\n.ta-custom-chip { display: inline-flex; align-items: center; gap: 2px; max-width: 100%; height: 24px; padding: 0 2px 0 8px; border-radius: 6px; background: var(--ta-raised); color: var(--ta-text); font-family: var(--ta-mono); font-size: calc(12px * var(--ta-font-scale)); animation: ta-in 160ms var(--ta-ease) both; }\n.ta-custom-chip-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-custom-chip button { display: grid; place-items: center; width: 20px; height: 20px; padding: 0; border: 0; border-radius: 4px; background: transparent; color: var(--ta-muted); cursor: pointer; }\n.ta-custom-chip button:hover { background: var(--ta-hover); color: var(--ta-text); }\n.ta-custom-model-input { flex: 1; min-width: 140px; height: 26px; border: 0; outline: none; background: transparent; color: var(--ta-text); font: inherit; font-size: calc(13px * var(--ta-font-scale)); }\n.ta-custom-fetch { align-self: flex-start; margin-top: 2px; }\n.ta-custom-fetched { display: flex; flex-direction: column; gap: 6px; margin-top: 2px; }\n.ta-custom-fetched .ta-auth-note { white-space: normal; }\n.ta-custom-fetched .ta-input { height: 32px; }\n.ta-custom-fetched-list { display: flex; flex-direction: column; max-height: 220px; overflow-y: auto; padding: 2px; border: 1px solid var(--ta-border-muted); border-radius: 8px; }\n.ta-custom-fetched-list .ta-auth-item { height: 32px; flex: none; font-family: var(--ta-mono); font-size: calc(12.5px * var(--ta-font-scale)); }\n.ta-custom-fetched-list .ta-auth-item > .ta-custom-picked { margin-left: auto; color: var(--ta-accent); }\n.ta-custom-actions { position: sticky; bottom: 0; z-index: 1; display: flex; justify-content: flex-end; gap: 8px; padding-top: 8px; background: var(--ta-card); }\n.ta-custom-actions .ta-danger { margin-right: auto; }\n.ta-custom-add > .ta-icon:first-child { color: var(--ta-accent); }\n.ta-custom-add { width: 100%; }\n.ta-custom-advanced { border: 1px solid var(--ta-border-muted); border-radius: 10px; }\n.ta-custom-advanced-toggle { display: flex; align-items: center; gap: 8px; width: 100%; height: 38px; padding: 0 10px; border: 0; border-radius: 10px; background: transparent; color: var(--ta-text); font: inherit; font-size: calc(13px * var(--ta-font-scale)); font-weight: 500; text-align: left; cursor: pointer; }\n.ta-custom-advanced-toggle:hover { background: var(--ta-hover); }\n.ta-custom-advanced-toggle .ta-auth-note { font-weight: 400; }\n.ta-custom-advanced-toggle > .ta-icon { margin-left: auto; color: var(--ta-muted); transition: transform 160ms var(--ta-ease); }\n.ta-custom-advanced.ta-open .ta-custom-advanced-toggle > .ta-icon { transform: rotate(180deg); }\n.ta-custom-advanced-body { display: flex; flex-direction: column; gap: 10px; padding: 2px 10px 12px; animation: ta-in 200ms var(--ta-ease) both; }\n.ta-custom-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }\n.ta-custom-check { display: flex; align-items: center; gap: 8px; min-height: 28px; color: var(--ta-body); font-size: calc(13px * var(--ta-font-scale)); cursor: pointer; }\n.ta-custom-check input { width: 16px; height: 16px; margin: 0; accent-color: var(--ta-accent); }\n.ta-custom-header { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr) 28px; gap: 6px; align-items: center; }\n.ta-custom-header .ta-input { height: 32px; font-family: var(--ta-mono); font-size: calc(12.5px * var(--ta-font-scale)); }\n.ta-custom-header-remove { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--ta-muted); cursor: pointer; }\n.ta-custom-header-remove:hover { background: var(--ta-hover); color: var(--ta-text); }\n@media (max-width: 860px), (max-height: 500px) and (pointer: coarse) {\n .ta-custom-form .ta-input, .ta-custom-model-input { font-size: max(16px, calc(14px * var(--ta-font-scale))); }\n .ta-custom-actions .ta-button { flex: 1; }\n}\n/* The console of a gateway (gateway/console-*.tsx): sections of a title over a card, rows parted by lines. */\n.ta-console-content { gap: 20px; }\n.ta-console-content > .ta-segmented { align-self: stretch; }\n.ta-console-block { display: flex; flex-direction: column; gap: 8px; min-width: 0; }\n.ta-console-section { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 24px; padding: 0 4px; }\n.ta-console-section-title { margin: 0; font-size: calc(13px * var(--ta-font-scale)); font-weight: 600; color: var(--ta-secondary); }\n.ta-console-section .ta-icon-button { width: 26px; height: 26px; }\n.ta-console-hint { margin: 0 4px; font-size: calc(12px * var(--ta-font-scale)); line-height: 1.5; color: var(--ta-muted); }\n.ta-console-card { position: relative; display: flex; flex-direction: column; min-width: 0; border-radius: 12px; border: 1px solid var(--ta-border-muted); background: var(--ta-list-cell); overflow: hidden; }\n.ta-console-card > * + *::before { content: ''; position: absolute; top: 0; right: 0; left: 14px; height: 1px; background: var(--ta-border-muted); }\n.ta-console-card > * { position: relative; }\n.ta-console-panel { gap: 12px; padding: 14px; }\n.ta-console-panel > * + *::before { display: none; }\n.ta-console-empty { margin: 0; padding: 14px; font-size: calc(13px * var(--ta-font-scale)); color: var(--ta-muted); }\n.ta-console-entry { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 9px 14px; border: 0; background: none; font: inherit; color: var(--ta-text); text-align: left; }\n.ta-console-press { cursor: pointer; transition: background 120ms; }\n.ta-console-press:hover { background: var(--ta-hover); }\n.ta-console-press:focus-visible { outline: 1px solid var(--ta-border-focus); outline-offset: -1px; }\n.ta-console-entry-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }\n.ta-console-entry-label { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: calc(14px * var(--ta-font-scale)); font-weight: 500; }\n.ta-console-entry-hint { font-size: calc(12.5px * var(--ta-font-scale)); line-height: 1.45; color: var(--ta-muted); }\n.ta-console-tile { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; background: var(--ta-hover); color: var(--ta-secondary); }\n.ta-console-side { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-size: calc(12px * var(--ta-font-scale)); font-variant-numeric: tabular-nums; color: var(--ta-secondary); }\n.ta-console-chevron { flex: none; color: var(--ta-muted); transition: transform 160ms var(--ta-ease); }\n.ta-console-chevron.ta-open { transform: rotate(90deg); }\n.ta-console-line { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 8px 14px; font-size: calc(13px * var(--ta-font-scale)); }\n.ta-console-line-detail { flex: 1; min-width: 0; color: var(--ta-muted); }\n.ta-console-time { flex: none; margin-left: auto; font-size: calc(12px * var(--ta-font-scale)); color: var(--ta-muted); font-variant-numeric: tabular-nums; }\n.ta-console-muted { color: var(--ta-muted); }\n.ta-console-mono { font-family: var(--ta-mono); font-size: calc(12.5px * var(--ta-font-scale)); }\n.ta-console-audit-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-console-audit-text strong { font-weight: 500; }\n.ta-console-fact { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding: 8px 14px; font-size: calc(13.5px * var(--ta-font-scale)); }\n.ta-console-fact > :first-child { flex: none; color: var(--ta-muted); }\n.ta-console-fact > :last-child { min-width: 0; text-align: right; font-variant-numeric: tabular-nums; }\n/* Numbers side by side: one card, parted by lines, as many columns as numbers (two rows of two on a phone). */\n.ta-console-stats { display: grid; grid-template-columns: repeat(var(--ta-console-stats, 4), minmax(0, 1fr)); border-radius: 12px; border: 1px solid var(--ta-border-muted); background: var(--ta-list-cell); overflow: hidden; }\n.ta-console-stat { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; padding: 14px 16px; border: 0; background: none; font: inherit; color: inherit; text-align: left; }\n.ta-console-stat + .ta-console-stat { box-shadow: inset 1px 0 var(--ta-border-muted); }\nbutton.ta-console-stat { cursor: pointer; transition: background 120ms; }\nbutton.ta-console-stat:hover { background: var(--ta-hover); }\n.ta-console-stat-value { font-size: calc(24px * var(--ta-font-scale)); font-weight: 600; line-height: 1.15; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }\n.ta-console-stat-value.ta-good { color: var(--ta-green); }\n.ta-console-stat-value.ta-warn { color: var(--ta-yellow); }\n.ta-console-stat-value.ta-bad { color: var(--ta-red); }\n.ta-console-stat-label { font-size: calc(12px * var(--ta-font-scale)); color: var(--ta-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }\n/* Faces: the account's avatar, a dot on it while its Ta runs, starts or failed. */\n.ta-console-face { position: relative; flex: none; display: inline-flex; }\n.ta-console-avatar { width: 36px; height: 36px; flex: none; border-radius: 50%; object-fit: cover; }\n.ta-console-avatar.ta-chat-avatar { font-size: 15px; }\n.ta-console-avatar-large { width: 56px; height: 56px; }\n.ta-console-avatar-large.ta-chat-avatar { font-size: 22px; }\n.ta-console-face > .ta-console-dot { position: absolute; right: -1px; bottom: -1px; width: 11px; height: 11px; box-sizing: border-box; border: 2px solid var(--ta-list-cell); }\n.ta-console-face.ta-large > .ta-console-dot { right: 1px; bottom: 1px; width: 15px; height: 15px; border-width: 3px; border-color: var(--ta-list-bg); }\n.ta-console-dot { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--ta-border-field); }\n.ta-console-dot.ta-console-running { background: var(--ta-green); }\n.ta-console-dot.ta-console-starting { background: var(--ta-blue); animation: ta-console-pulse 1.2s ease-in-out infinite; }\n.ta-console-dot.ta-console-failed { background: var(--ta-red); }\n.ta-console-dot.ta-console-agent-working { background: var(--ta-green); animation: ta-console-pulse 1.2s ease-in-out infinite; }\n.ta-console-dot.ta-console-agent-waiting, .ta-console-dot.ta-console-agent-asking { background: var(--ta-blue); }\n@keyframes ta-console-pulse { 50% { opacity: 0.35; } }\n.ta-console-chip { flex: none; display: inline-flex; align-items: center; height: 18px; padding: 0 7px; border-radius: 999px; background: var(--ta-chip); font-size: calc(11px * var(--ta-font-scale)); font-weight: 500; color: var(--ta-secondary); }\n.ta-console-chip-warn { background: color-mix(in srgb, var(--ta-yellow) 18%, transparent); color: var(--ta-yellow); }\n.ta-console-role-owner { background: color-mix(in srgb, var(--ta-blue) 16%, transparent); color: var(--ta-blue); }\n.ta-console-role-admin { background: color-mix(in srgb, var(--ta-green) 16%, transparent); color: var(--ta-green); }\n/* Bars and meters */\n.ta-console-bar { display: block; height: 6px; border-radius: 3px; background: var(--ta-chip); overflow: hidden; }\n.ta-console-bar > span { display: block; height: 100%; border-radius: inherit; background: var(--ta-green); transition: width 300ms var(--ta-ease); }\n.ta-console-bar > span.ta-warm { background: var(--ta-yellow); }\n.ta-console-bar > span.ta-high { background: var(--ta-red); }\n.ta-console-bar > span.ta-part { background: var(--ta-blue); }\n.ta-console-bar-small { width: 56px; height: 4px; }\n.ta-console-meter { display: flex; flex-direction: column; gap: 7px; padding: 12px 14px; }\n.ta-console-meter-text { display: flex; justify-content: space-between; gap: 12px; font-size: calc(14px * var(--ta-font-scale)); }\n.ta-console-meter-value { font-variant-numeric: tabular-nums; color: var(--ta-secondary); text-align: right; }\n.ta-console-meter-hint { font-size: calc(12px * var(--ta-font-scale)); color: var(--ta-muted); }\n/* A value on the right of a row that opens a menu of what it may be. */\n.ta-console-value { flex: none; max-width: 55%; display: inline-flex; align-items: center; gap: 4px; font-size: calc(13.5px * var(--ta-font-scale)); font-variant-numeric: tabular-nums; color: var(--ta-text); }\n.ta-console-value.ta-muted { color: var(--ta-muted); }\n.ta-console-pick { position: relative; height: 30px; margin-right: -8px; padding: 0 8px 0 10px; border: 0; border-radius: 8px; background: none; font: inherit; cursor: pointer; }\n.ta-console-pick:hover { background: var(--ta-hover); }\n.ta-console-pick > svg { flex: none; color: var(--ta-muted); }\n/* The person at the head of an account, and what can be done to it: tiles side by side, as the actions of a contact. */\n.ta-console-person { display: flex; align-items: center; gap: 14px; padding: 2px 4px; }\n.ta-console-person-text { min-width: 0; display: flex; flex-direction: column; gap: 2px; }\n.ta-console-person-name { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: calc(18px * var(--ta-font-scale)); font-weight: 600; }\n.ta-console-actions { display: grid; grid-template-columns: repeat(var(--ta-console-actions, 4), minmax(0, 1fr)); gap: 8px; }\n.ta-console-action { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-width: 0; height: 64px; padding: 0 6px; border-radius: 12px; border: 1px solid var(--ta-border-muted); background: var(--ta-list-cell); font: inherit; font-size: calc(12.5px * var(--ta-font-scale)); color: var(--ta-text); cursor: pointer; transition: background 120ms; }\n.ta-console-action:hover:not(:disabled) { background: var(--ta-hover); }\n.ta-console-action:disabled { opacity: 0.45; cursor: default; }\n.ta-console-action.ta-danger { color: var(--ta-red); }\n.ta-console-action-icon { position: relative; display: grid; place-items: center; color: var(--ta-secondary); }\n.ta-console-action.ta-danger .ta-console-action-icon { color: inherit; }\n.ta-console-action.ta-busy .ta-console-action-icon > svg { visibility: hidden; }\n/* Accounts: search and invite in a row, filters and sort under them. */\n.ta-console-toolbar { display: flex; gap: 8px; }\n.ta-console-search { flex: 1; }\n.ta-console-toolbar .ta-button { height: 36px; flex: none; }\n.ta-console-filters { display: flex; align-items: center; gap: 8px; margin-top: -8px; }\n.ta-console-chips { flex: 1; min-width: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }\n.ta-console-chips::-webkit-scrollbar { display: none; }\n.ta-console-chip-toggle { flex: none; display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--ta-border-muted); background: var(--ta-list-cell); font: inherit; font-size: calc(12.5px * var(--ta-font-scale)); color: var(--ta-secondary); cursor: pointer; }\n.ta-console-chip-toggle:hover { color: var(--ta-text); }\n.ta-console-chip-toggle.ta-on { border-color: transparent; background: var(--ta-text); color: var(--ta-list-bg); font-weight: 500; }\n.ta-console-chip-count { font-variant-numeric: tabular-nums; opacity: 0.6; }\n.ta-console-sort { flex: none; display: inline-flex; align-items: center; gap: 2px; height: 28px; padding: 0 4px 0 8px; border: 0; border-radius: 8px; background: none; font: inherit; font-size: calc(12.5px * var(--ta-font-scale)); color: var(--ta-secondary); cursor: pointer; }\n.ta-console-sort:hover { background: var(--ta-hover); color: var(--ta-text); }\n.ta-console-sort-mark { transform: rotate(90deg); color: var(--ta-muted); }\n.ta-console-invite { gap: 8px; padding: 14px; }\n.ta-console-invite > * + *::before { display: none; }\n.ta-console-link { padding: 8px 10px; border-radius: 8px; background: var(--ta-code); word-break: break-all; user-select: all; }\n.ta-console-buttons { display: flex; justify-content: flex-end; gap: 8px; }\n.ta-console-command { min-height: 48px; gap: 10px; color: var(--ta-text); }\n.ta-console-command > svg { flex: none; color: var(--ta-secondary); }\n.ta-console-command.ta-danger, .ta-console-command.ta-danger > svg { color: var(--ta-red); }\n.ta-console-command:disabled { opacity: 0.45; cursor: default; }\n.ta-console-copy { display: flex; align-items: center; gap: 8px; min-width: 0; }\n.ta-console-copy > code { flex: 1; min-width: 0; }\n/* Agents and what they did */\n.ta-console-item { position: relative; }\n.ta-console-activity { display: flex; flex-direction: column; gap: 2px; padding: 0 14px 12px 33px; }\n.ta-console-activity-summary { padding-bottom: 4px; font-size: calc(12px * var(--ta-font-scale)); color: var(--ta-muted); }\n.ta-console-activity-empty { margin: 0; padding: 0 14px 12px 33px; font-size: calc(12.5px * var(--ta-font-scale)); color: var(--ta-muted); }\n.ta-console-activity-row { display: flex; align-items: center; gap: 8px; min-height: 24px; font-size: calc(12.5px * var(--ta-font-scale)); }\n.ta-console-activity-error { flex: 1; min-width: 0; color: var(--ta-red); }\n.ta-console-logs { margin: 0; max-height: 420px; overflow: auto; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--ta-border-muted); background: var(--ta-code); font-family: var(--ta-mono); font-size: calc(12px * var(--ta-font-scale)); line-height: 1.5; white-space: pre-wrap; word-break: break-all; }\n.ta-console-hosts { width: 100%; min-height: 84px; padding: 8px 10px; resize: vertical; font-family: var(--ta-mono); font-size: calc(12.5px * var(--ta-font-scale)); line-height: 1.5; }\n/* Usage over time */\n.ta-console-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }\n.ta-console-card-controls { display: flex; gap: 8px; flex-wrap: wrap; }\n.ta-console-card-controls .ta-segmented button { padding: 0 10px; white-space: nowrap; }\n.ta-console-total { display: flex; flex-direction: column; gap: 2px; }\n.ta-console-total strong { font-size: calc(24px * var(--ta-font-scale)); font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1.15; }\n.ta-console-total span, .ta-console-card-label { font-size: calc(12px * var(--ta-font-scale)); color: var(--ta-muted); }\n.ta-console-card-label { margin-top: 4px; }\n.ta-console-chart { display: flex; flex-direction: column; gap: 4px; }\n.ta-console-chart svg { width: 100%; height: 120px; display: block; overflow: visible; }\n.ta-console-chart-wait { display: flex; flex-direction: column; height: 160px; }\n.ta-console-chart-hover { display: flex; align-items: baseline; gap: 8px; min-height: 20px; font-size: calc(12px * var(--ta-font-scale)); color: var(--ta-muted); font-variant-numeric: tabular-nums; }\n.ta-console-chart-hover strong { color: var(--ta-text); font-weight: 600; }\n.ta-console-chart-bar { fill: color-mix(in srgb, var(--ta-green) 55%, transparent); transition: fill 120ms; }\n.ta-console-chart-bar.ta-on { fill: var(--ta-green); }\n.ta-console-chart-axis { stroke: var(--ta-border-muted); stroke-width: 1; }\n.ta-console-chart-ticks { display: flex; justify-content: space-between; font-size: calc(11px * var(--ta-font-scale)); color: var(--ta-muted); }\n.ta-console-shares { display: flex; flex-direction: column; gap: 6px; }\n.ta-console-share { display: grid; grid-template-columns: minmax(0, 1fr) 96px 64px; align-items: center; gap: 10px; font-size: calc(12.5px * var(--ta-font-scale)); }\n.ta-console-share .ta-console-bar-small { width: 100%; }\n.ta-console-share-label { min-width: 0; }\n.ta-console-share-button { padding: 2px 4px; margin: 0 -4px; border: 0; border-radius: 6px; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }\n.ta-console-share-button:hover { background: var(--ta-hover); }\n.ta-console-share-value { text-align: right; font-variant-numeric: tabular-nums; color: var(--ta-secondary); }\n.ta-console-foot { margin: 4px 0 0; text-align: center; font-size: calc(12px * var(--ta-font-scale)); color: var(--ta-muted); }\n.ta-console .ta-phone-stack-top { background: var(--ta-list-bg); }\n.ta-setting-row .ta-console-card { width: 100%; }\n@media (max-width: 860px), (max-height: 500px) and (pointer: coarse) {\n .ta-console-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }\n .ta-console-stat:nth-child(odd) { box-shadow: none; }\n .ta-console-stat:nth-child(n + 3) { border-top: 1px solid var(--ta-border-muted); }\n .ta-console-stat:nth-child(even) { box-shadow: inset 1px 0 var(--ta-border-muted); }\n .ta-console-actions { grid-template-columns: repeat(min(var(--ta-console-actions, 4), 4), minmax(0, 1fr)); }\n .ta-console-share { grid-template-columns: minmax(0, 1fr) 64px 56px; }\n .ta-console-card-controls { width: 100%; display: grid; grid-template-columns: 2fr 3fr; }\n .ta-console-card-controls .ta-segmented button { padding: 0 4px; }\n .ta-console-entry { min-height: 56px; }\n .ta-console-entry-label { font-size: calc(15px * var(--ta-font-scale)); }\n}\n";
2
+ export declare const PAGES_STYLE = "\n/* The settings: a page of the main area, a table of contents in two levels beside the sections */\n.ta-settings-page { flex: 1; min-height: 0; display: flex; flex-direction: column; }\n.ta-settings-head { justify-content: flex-start; gap: 10px; border-bottom: 1px solid var(--ta-border-muted); }\n.ta-settings-title { flex: none; font-size: calc(14px * var(--ta-font-scale)); font-weight: 600; padding-left: 8px; }\n.ta-settings-search { flex: 1; max-width: 420px; height: 32px; margin: 0 auto; display: flex; align-items: center; gap: 6px; color: var(--ta-muted); }\n.ta-settings-search input { color: var(--ta-text); }\n.ta-settings-search .ta-icon-button { width: 22px; height: 22px; }\n.ta-settings-body { flex: 1; min-height: 0; display: flex; }\n.ta-settings-toc { flex: none; width: 200px; overflow-y: auto; padding: 14px 10px; display: flex; flex-direction: column; gap: 14px; border-right: 1px solid var(--ta-border-muted); }\n.ta-settings-toc-part { display: flex; flex-direction: column; gap: 1px; }\n.ta-settings-toc-group { border: 0; background: none; text-align: left; padding: 2px 10px 4px; font-size: calc(12px * var(--ta-font-scale)); font-weight: 600; color: var(--ta-muted); }\n.ta-settings-toc-group:hover { color: var(--ta-text); }\n.ta-settings-toc-item { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 10px; border: 0; border-radius: 7px; background: none; text-align: left; font-size: calc(13px * var(--ta-font-scale)); color: var(--ta-secondary); transition: background 120ms, color 120ms; }\n.ta-settings-toc-item .ta-icon { flex: none; color: var(--ta-muted); }\n.ta-settings-toc-item:hover { background: var(--ta-hover); color: var(--ta-text); }\n.ta-settings-toc-item.ta-active { background: var(--ta-selected); color: var(--ta-text); font-weight: 500; }\n.ta-settings-scroll { flex: 1; min-width: 0; overflow-y: auto; scroll-padding-top: 16px; }\n.ta-settings-content { max-width: var(--ta-page-width); margin: 0 auto; padding: 18px 24px calc(48px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 28px; }\n.ta-settings-content:has(> .ta-empty) { min-height: 100%; box-sizing: border-box; }\n.ta-settings-part { display: flex; flex-direction: column; gap: 18px; }\n.ta-settings-part-title { margin: 0; display: flex; align-items: baseline; gap: 10px; font-size: calc(18px * var(--ta-font-scale)); font-weight: 650; letter-spacing: -0.01em; }\n.ta-settings-scope { display: flex; flex-direction: column; gap: 6px; }\n.ta-settings-tabs { display: flex; gap: 2px; padding: 3px; border-radius: 10px; background: var(--ta-raised); align-self: flex-start; max-width: 100%; }\n.ta-settings-tab { height: 28px; padding: 0 12px; border: 0; border-radius: 7px; background: none; color: var(--ta-secondary); font-size: calc(12.5px * var(--ta-font-scale)); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 260px; }\n.ta-settings-tab:hover { color: var(--ta-text); }\n.ta-settings-tab.ta-active { background: var(--ta-segment); color: var(--ta-text); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 0 0 1px var(--ta-border); }\n.ta-settings-file { padding: 0 4px; font-size: calc(12px * var(--ta-font-scale)); color: var(--ta-muted); overflow-wrap: anywhere; }\n.ta-settings-note { padding: 10px 14px; border-radius: 10px; border: 1px dashed var(--ta-border); font-size: calc(12.5px * var(--ta-font-scale)); color: var(--ta-secondary); }\n.ta-setting-row { position: relative; }\n.ta-setting-row.ta-modified::before { content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 2px; border-radius: 0 2px 2px 0; background: var(--ta-blue); }\n.ta-setting-control { gap: 6px; }\n.ta-setting-reset { width: 26px; height: 26px; }\n.ta-setting-row:not(:hover):not(:focus-within) .ta-setting-reset { opacity: 0; }\n.ta-setting-row:not(.ta-stacked) > .ta-setting-text { flex: 1 1 240px; }\n.ta-setting-row:not(.ta-stacked):has(> .ta-setting-icon) > .ta-setting-text { flex-basis: 160px; }\n.ta-setting-row:not(.ta-stacked) { flex-wrap: wrap; row-gap: 8px; }\n.ta-settings-files { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; min-width: 0; flex: 1; }\n.ta-settings-files li { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; min-width: 0; font-size: calc(12.5px * var(--ta-font-scale)); }\n.ta-settings-files .ta-link { font-size: inherit; overflow-wrap: anywhere; text-align: left; }\n.ta-settings-files-icon { flex: none; align-self: center; color: var(--ta-yellow); }\n.ta-settings-files-why { color: var(--ta-muted); }\n.ta-settings-files-tools { display: inline-flex; align-items: center; gap: 4px; }\n.ta-settings-files-ok { color: var(--ta-green); }\n.ta-select, .ta-setting-input, .ta-setting-control .ta-model-field { width: 200px; height: 30px; font-size: calc(12.5px * var(--ta-font-scale)); padding: 0 8px; }\n.ta-select { appearance: auto; cursor: pointer; }\n.ta-select:disabled { opacity: 0.5; cursor: default; }\n/* Settings \u2192 Storage: the limits of a store side by side (storage-settings.tsx); a phone gives each half the row. */\n.ta-select.ta-storage-select { width: 136px; }\n/* A row that belongs to the one above (a setting of a host): it starts under that row's label, and so does the line between them */\n.ta-setting-row.ta-inset, .ta-settings-phone .ta-setting-row.ta-inset { padding-left: var(--ta-setting-inset, 58px); }\n.ta-setting-row + .ta-setting-row.ta-inset { border-top-color: transparent; }\n.ta-setting-row + .ta-setting-row.ta-inset::after { content: ''; position: absolute; top: -1px; left: var(--ta-setting-inset, 58px); right: 0; border-top: 1px solid var(--ta-border-muted); }\n.ta-settings-phone .ta-setting-row { --ta-setting-inset: 56px; }\n.ta-select.ta-cloud-network-select { width: 176px; }\n.ta-cloud-network-hosts { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; width: 100%; }\n.ta-cloud-network-hosts textarea { width: 100%; min-height: 104px; padding: 8px 12px; resize: vertical; font-family: var(--ta-mono); font-size: calc(12px * var(--ta-font-scale)); line-height: 1.5; }\n.ta-setting-input::placeholder { color: var(--ta-muted); }\n/* The settings of a phone (PhoneSettings): the sections listed as Me's rows, each a page of grouped rows. */\n.ta-head-balance { flex: none; width: 32px; }\n.ta-settings-phone > .ta-list-head { padding-left: calc(6px + env(safe-area-inset-left)); padding-right: calc(6px + env(safe-area-inset-right)); }\n.ta-settings-phone .ta-list-content { gap: 20px; padding-left: calc(12px + env(safe-area-inset-left)); padding-right: calc(12px + env(safe-area-inset-right)); }\n.ta-settings-phone .ta-settings-search { flex: none; max-width: none; height: 38px; margin: 0; padding: 0 10px; border-radius: 10px; border-color: var(--ta-border-muted); background: var(--ta-list-cell); font-size: calc(15px * var(--ta-font-scale)); }\n.ta-settings-phone-group { display: flex; flex-direction: column; gap: 6px; }\n.ta-settings-phone-caption { margin: 0 4px; font-size: calc(13px * var(--ta-font-scale)); font-weight: 500; color: var(--ta-muted); }\n.ta-settings-phone .ta-setting-card { border-radius: 12px; border-color: var(--ta-border-muted); background: var(--ta-list-cell); }\n.ta-settings-phone .ta-setting-row { min-height: 52px; padding: 12px 16px; gap: 12px; }\n.ta-settings-phone .ta-setting-row:not(.ta-stacked) > .ta-setting-text { flex: 1 1 0; min-width: 120px; }\n.ta-settings-phone .ta-setting-label { font-size: calc(15px * var(--ta-font-scale)); font-weight: 400; }\n.ta-settings-phone .ta-setting-description { margin-top: 2px; font-size: calc(13px * var(--ta-font-scale)); line-height: 1.4; }\n.ta-settings-phone .ta-setting-row.ta-stacked { gap: 10px; }\n.ta-settings-phone .ta-segmented button { height: 32px; }\n.ta-setting-choice { width: 100%; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }\n.ta-setting-choice:active { background: var(--ta-hover); }\n.ta-setting-check { flex: none; color: var(--ta-text); }\n.ta-setting-range { width: 140px; margin: 0; accent-color: var(--ta-accent); cursor: pointer; }\n.ta-setting-range-value { min-width: 3em; text-align: right; font-size: calc(12.5px * var(--ta-font-scale)); color: var(--ta-secondary); font-variant-numeric: tabular-nums; }\n.ta-settings-phone .ta-setting-range { flex: 1; width: auto; min-width: 0; }\n.ta-settings-phone .ta-settings-note { border-radius: 12px; }\n.ta-keys { display: inline-flex; gap: 3px; flex: none; }\n.ta-kbd { min-width: 20px; height: 20px; padding: 0 5px; display: inline-grid; place-items: center; border-radius: 5px; border: 1px solid var(--ta-border); border-bottom-width: 2px; background: var(--ta-raised); font: 500 calc(11px * var(--ta-font-scale)) var(--ta-sans); color: var(--ta-secondary); }\n\n/* The menus of the account at the foot of the rail */\n.ta-account-menu .ta-account-item { width: 100%; }\n.ta-account-menu .ta-account-item:focus-visible { outline: 1px solid var(--ta-border-focus); outline-offset: -1px; }\n.ta-menu-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-account-menu .ta-kbd { height: 18px; min-width: 18px; font-size: calc(10.5px * var(--ta-font-scale)); }\n@media (max-width: 860px), (max-height: 500px) and (pointer: coarse) {\n .ta-settings-toc { display: none; }\n .ta-settings-content { padding: 14px 14px calc(32px + env(safe-area-inset-bottom)); }\n /* No table of contents: the last section, jumped to from the menu of the account, still scrolls to the top. */\n .ta-settings-scroll { container-type: size; }\n .ta-settings-part:last-child > .ta-setting-section:last-child { min-height: calc(100cqh - 48px - env(safe-area-inset-bottom)); }\n .ta-settings-title { padding-left: 0; }\n .ta-settings-search { margin: 0; }\n .ta-setting-row:has(.ta-select, .ta-setting-input, .ta-model-field, .ta-setting-range) .ta-setting-control { width: 100%; }\n .ta-setting-row .ta-select, .ta-setting-row .ta-setting-input, .ta-setting-row .ta-model-field { flex: 1; width: auto; min-width: 0; }\n .ta-setting-reset { opacity: 1 !important; }\n}\n/* Discover and Me: rows in rounded groups, as the settings of a phone (list-rows.tsx) */\n.ta-list-page { flex: 1; min-height: 0; display: flex; flex-direction: column; --ta-list-bg: var(--ta-main); --ta-list-cell: var(--ta-side); background: var(--ta-list-bg); }\n:root[data-theme='light'] .ta-list-page { --ta-list-bg: var(--ta-side); --ta-list-cell: var(--ta-card); }\n.ta-list-head { border-bottom: 1px solid var(--ta-border-muted); }\n.ta-list-scroll { flex: 1; min-height: 0; overflow-y: auto; }\n.ta-list-content { max-width: var(--ta-page-width); margin: 0 auto; padding: 20px 20px calc(32px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 16px; }\n.ta-list-group { display: flex; flex-direction: column; border-radius: 12px; border: 1px solid var(--ta-border-muted); background: var(--ta-list-cell); overflow: hidden; }\n.ta-list-row { position: relative; display: flex; align-items: center; min-height: 48px; }\n.ta-list-row + .ta-list-row::before { content: ''; position: absolute; top: 0; right: 0; left: 46px; height: 1px; background: var(--ta-border-muted); }\n.ta-list-main { flex: 1; min-width: 0; align-self: stretch; display: flex; align-items: center; gap: 12px; padding: 0 14px; border: 0; background: none; text-align: left; font-size: calc(14.5px * var(--ta-font-scale)); color: var(--ta-text); transition: background 120ms; }\n.ta-list-main:hover { background: var(--ta-hover); }\n.ta-list-main:focus-visible { outline: 1px solid var(--ta-border-focus); outline-offset: -1px; }\n.ta-list-icon { flex: none; color: var(--ta-secondary); }\n.ta-list-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-list-detail { flex: none; max-width: 45%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: calc(13.5px * var(--ta-font-scale)); color: var(--ta-muted); }\n.ta-list-chevron { flex: none; color: var(--ta-muted); }\n/* In place of the chevron while the page opens: as wide. */\n.ta-list-busy { margin: 0 1.5px; }\n.ta-list-trailing { flex: none; margin-right: 8px; color: var(--ta-muted); }\n/* WebView.mark of a page under Discover: before its pin, as WeChat shows who posted last by Moments. */\n.ta-list-mark { flex: none; display: inline-flex; align-items: center; margin-right: 2px; pointer-events: none; }\n.ta-list-row.ta-action .ta-list-main { justify-content: center; }\n.ta-list-row.ta-action .ta-list-label { flex: none; }\n.ta-list-row.ta-danger .ta-list-main { color: var(--ta-red); }\n.ta-list-row.ta-danger + .ta-list-row::before, .ta-list-row + .ta-list-row.ta-danger::before { left: 0; }\n.ta-list-hint { margin: -6px 4px 0; font-size: calc(12.5px * var(--ta-font-scale)); color: var(--ta-muted); }\n.ta-me-card { display: flex; align-items: center; gap: 14px; width: 100%; padding: 18px 16px; border-radius: 12px; border: 1px solid var(--ta-border-muted); background: var(--ta-list-cell); font: inherit; text-align: left; color: inherit; transition: background 120ms; }\n.ta-me-card:hover, .ta-me-card:active { background: var(--ta-hover); }\n.ta-me-card:focus-visible { outline: 1px solid var(--ta-border-focus); outline-offset: -1px; }\n.ta-account-figure.ta-me-figure { border-radius: 16px; }\n.ta-me-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; line-height: 1.35; }\n.ta-me-name { font-size: calc(18px * var(--ta-font-scale)); font-weight: 650; color: var(--ta-text); }\n.ta-me-host { font-size: calc(13px * var(--ta-font-scale)); color: var(--ta-secondary); }\n.ta-me-state { display: flex; align-items: center; gap: 6px; font-size: calc(12.5px * var(--ta-font-scale)); color: var(--ta-muted); font-variant-numeric: tabular-nums; }\n/* The computers of this device (host-view.tsx): rows as the conversations, a sheet from the bottom on a phone */\n.ta-hosts-dialog { width: min(420px, 100%); gap: 12px; }\n.ta-hosts-dialog .ta-modal-title { font-size: calc(16px * var(--ta-font-scale)); }\n.ta-host-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }\n.ta-host-row { border-radius: 12px; --ta-swipe-bg: var(--ta-card); }\n.ta-host-item { width: 100%; display: flex; align-items: center; gap: 12px; padding: 9px 10px; border: 0; border-radius: 12px; background: var(--ta-card); font: inherit; text-align: left; color: var(--ta-text); transition: background 120ms; }\n.ta-host-item:hover, .ta-host-item:active { background: var(--ta-hover); }\n.ta-host-row.ta-selected .ta-host-item { background: var(--ta-selected); }\n.ta-host-item:focus-visible { outline: 1px solid var(--ta-border-focus); outline-offset: -1px; }\n.ta-host-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; line-height: 1.35; }\n.ta-host-name { font-size: calc(14.5px * var(--ta-font-scale)); font-weight: 600; }\n.ta-host-detail { font-size: calc(12.5px * var(--ta-font-scale)); color: var(--ta-muted); }\n.ta-host-check { flex: none; color: var(--ta-green); }\n.ta-host-actions { display: flex; gap: 8px; }\n.ta-host-actions .ta-button { flex: 1; height: 40px; justify-content: center; gap: 6px; }\n.ta-host-form { display: flex; gap: 8px; width: 100%; animation: ta-in 200ms var(--ta-ease) both; }\n.ta-host-form .ta-field { flex: 1; height: 40px; }\n.ta-host-form .ta-button { height: 40px; min-width: 72px; justify-content: center; }\n.ta-scan-button { height: 46px; gap: 8px; font-size: calc(15px * var(--ta-font-scale)); justify-content: center; }\n.ta-link-button { padding: 4px 8px; border: 0; background: none; font: inherit; font-size: calc(13.5px * var(--ta-font-scale)); color: var(--ta-secondary); }\n.ta-link-button:hover { color: var(--ta-text); }\n.ta-sign-in-or { width: 100%; }\n.ta-cloud-other { align-self: center; margin-top: 2px; font-size: calc(13px * var(--ta-font-scale)); }\n.ta-cloud-entry { height: 42px; gap: 8px; font-size: calc(14.5px * var(--ta-font-scale)); }\n.ta-cloud-flow { position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; animation: ta-in 200ms var(--ta-ease) both; }\n.ta-cloud-flow h1 { margin: 4px 0 0; font-size: calc(20px * var(--ta-font-scale)); font-weight: 650; }\n.ta-cloud-flow p { margin: 0 0 4px; font-size: calc(13px * var(--ta-font-scale)); line-height: 1.55; color: var(--ta-secondary); }\n.ta-cloud-back { position: absolute; top: -6px; left: -8px; }\n.ta-cloud-top { position: fixed; z-index: 5; top: calc(8px + env(safe-area-inset-top)); left: calc(8px + env(safe-area-inset-left)); }\n.ta-cloud-top .ta-cloud-back { position: static; width: 40px; height: 40px; }\n.ta-cloud-form { width: 100%; display: flex; flex-direction: column; gap: 10px; }\n.ta-cloud-form .ta-field { height: 42px; }\n.ta-cloud-form .ta-button { height: 42px; font-size: calc(14.5px * var(--ta-font-scale)); }\n.ta-cloud-code { width: 100%; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 16px 0; border-radius: 14px; background: var(--ta-hover); font-family: var(--ta-mono); font-size: calc(28px * var(--ta-font-scale)); font-weight: 600; letter-spacing: 0.16em; font-variant-numeric: tabular-nums; color: var(--ta-text); user-select: all; }\n.ta-cloud-code > span:not(.ta-cloud-code-dash) { margin-right: -0.16em; }\n.ta-cloud-code-dash { width: 12px; height: 2px; border-radius: 1px; background: var(--ta-muted); }\n.ta-cloud-status { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 24px; font-size: calc(13px * var(--ta-font-scale)); color: var(--ta-secondary); }\n.ta-cloud-status-wait { color: var(--ta-text); }\n.ta-hosts-dialog .ta-cloud-flow { padding-top: 30px; }\n.ta-cloud-flow > .ta-callout, .ta-cloud-reach { width: 100%; }\n.ta-device-card { gap: 14px; }\n.ta-device-card .ta-sign-in-accounts { margin-top: 2px; }\n.ta-device-card .ta-sign-in-account { height: 44px; }\n.ta-device-ask { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 6px 12px; border-radius: 999px; background: var(--ta-hover); font-size: calc(13px * var(--ta-font-scale)); color: var(--ta-text); }\n.ta-device-ask svg { flex: none; color: var(--ta-secondary); }\n.ta-device-mark { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; }\n.ta-device-ok { color: var(--ta-green); background: color-mix(in srgb, var(--ta-green) 14%, transparent); }\n.ta-device-wait { color: var(--ta-yellow); background: color-mix(in srgb, var(--ta-yellow) 14%, transparent); }\n.ta-device-bad { color: var(--ta-red); background: color-mix(in srgb, var(--ta-red) 12%, transparent); }\n.ta-device-quiet { color: var(--ta-muted); background: var(--ta-hover); }\n.ta-host-saved { width: 100%; margin-top: 12px; display: flex; flex-direction: column; gap: 6px; text-align: left; animation: ta-in 260ms var(--ta-ease) both; }\n.ta-host-saved h2 { margin: 0 4px; font-size: calc(12.5px * var(--ta-font-scale)); font-weight: 500; color: var(--ta-muted); }\n.ta-signin .ta-host-item { background: var(--ta-main); }\n.ta-signin .ta-host-item:hover, .ta-signin .ta-host-item:active { background: var(--ta-hover); }\n.ta-sign-in-accounts { display: flex; flex-direction: column; gap: 8px; width: 100%; animation: ta-in 200ms var(--ta-ease) both; }\n.ta-sign-in-account { height: 42px; gap: 8px; text-decoration: none; font-size: calc(14.5px * var(--ta-font-scale)); }\n.ta-sign-in-account:hover { background: var(--ta-hover); }\n.ta-sign-in-account[aria-busy='true'] { pointer-events: none; opacity: 0.7; }\n.ta-sign-in-mark { flex: none; }\n.ta-sign-in-or { display: flex; align-items: center; gap: 10px; margin: 4px 0; color: var(--ta-muted); font-size: calc(12.5px * var(--ta-font-scale)); }\n.ta-sign-in-or::before, .ta-sign-in-or::after { content: ''; flex: 1; height: 1px; background: var(--ta-border); }\n.ta-access-account { display: inline-flex; align-items: center; gap: 8px; min-width: 0; max-width: 100%; }\n.ta-access-avatar { width: 22px; height: 22px; flex: none; border-radius: 50%; object-fit: cover; }\n.ta-access-avatar.ta-chat-avatar { font-size: calc(11px * var(--ta-font-scale)); }\n.ta-access-bind { display: flex; flex-wrap: wrap; gap: 8px; }\n.ta-sign-in-name { display: inline-flex; align-items: center; gap: 6px; }\n.ta-sign-in-callbacks { display: flex; flex-direction: column; gap: 6px; width: 100%; min-width: 0; }\n.ta-sign-in-callback { display: flex; align-items: center; gap: 6px; min-width: 0; padding: 4px 4px 4px 10px; border-radius: 8px; background: var(--ta-hover); }\n.ta-sign-in-callback code { flex: 1; min-width: 0; font-size: calc(12.5px * var(--ta-font-scale)); }\n.ta-sign-in-form { display: flex; flex-direction: column; gap: 10px; width: 100%; }\n.ta-sign-in-field { display: flex; flex-direction: column; gap: 4px; font-size: calc(12.5px * var(--ta-font-scale)); color: var(--ta-muted); }\n.ta-sign-in-field .ta-input { height: 32px; }\n.ta-sign-in-actions { display: flex; justify-content: flex-end; gap: 8px; }\n.ta-environment-chooser { display: flex; flex-direction: column; gap: 10px; width: 100%; text-align: left; }\n.ta-environment-own { display: flex; flex-direction: column; gap: 8px; animation: ta-in 200ms var(--ta-ease) both; }\n.ta-environment-own .ta-button { align-self: flex-end; }\n.ta-deploy-cloud { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; align-items: flex-start; }\n.ta-deploy-cloud > .ta-environment-own { flex-basis: 100%; }\n.ta-environment-hint { margin: 0; color: var(--ta-muted); font-size: calc(12.5px * var(--ta-font-scale)); line-height: 1.5; }\n.ta-environment-card { gap: 14px; }\n/* While the page loads again for another computer: which one, at once, over all. */\n.ta-switching { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: var(--ta-main); color: var(--ta-secondary); font-size: calc(14px * var(--ta-font-scale)); animation: ta-fade 140ms ease-out both; }\n.ta-switching.ta-veil-leaving { opacity: 0; pointer-events: none; transition: opacity 220ms ease-out; }\n/* Me has no head: the card under the status bar. */\n.ta-me .ta-list-content { padding-top: calc(20px + env(safe-area-inset-top)); }\n@media (max-width: 860px), (max-height: 500px) and (pointer: coarse) {\n .ta-list-content { padding: 14px 12px calc(24px + env(safe-area-inset-bottom)); }\n .ta-me .ta-list-content { padding-top: calc(14px + env(safe-area-inset-top)); }\n}\n\n/* Streaming: what comes in fades in where it will stay; nothing already shown moves or draws again. */\n.ta-thread-new { animation: ta-in 220ms var(--ta-ease); }\n/* Words ta said on the way move from the reply into the steps when a tool follows them: they were on the screen, so they do not fade in again. */\n.ta-turn-live > .ta-markdown > *, .ta-process-active .ta-process-steps > :not(.ta-step-more, .ta-step-text), .ta-turn-live .ta-turn-head > .ta-process-head, .ta-turn-live .ta-turn-head > .ta-run-status { animation: ta-fade 240ms ease-out; }\n.ta-run-line { animation: ta-fade 200ms ease-out; }\n.ta-scroll { overflow-anchor: none; }\n/* The scroll bar held while a reply comes in: the thread keeps its height (ConversationScroller), what grows past it waits. */\n.ta-scroll-held { overflow-y: clip; }\n.ta-scroll-held > * { flex-shrink: 0; }\n/* The look of the double: it walks above, the kinds of dinosaur below, then the ways it walks */\n.ta-picture { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 8px 0 4px; }\n.ta-picture-hint { margin: 0; max-width: 300px; text-align: center; color: var(--ta-muted); font-size: calc(13px * var(--ta-font-scale)); line-height: 1.5; }\n.ta-picture-actions { width: 100%; display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }\n.ta-picture-actions > .ta-button { height: 40px; }\n.ta-picture-actions > .ta-input { height: 40px; }\n/* The profile (profile-view.tsx): the picture, the name, then its rows */\n.ta-profile { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 6px 0 2px; }\n.ta-profile-picture { display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; }\n.ta-profile-name { max-width: 100%; margin-bottom: 6px; font-size: calc(17px * var(--ta-font-scale)); font-weight: 600; color: var(--ta-text); }\n.ta-profile .ta-list-group { width: 100%; text-align: left; }\n.ta-profile-hint { margin: 0; max-width: 320px; text-align: center; color: var(--ta-muted); font-size: calc(12.5px * var(--ta-font-scale)); line-height: 1.5; }\n.ta-look { display: flex; flex-direction: column; gap: 10px; min-height: 0; overflow-y: auto; }\n.ta-look-stage { height: 120px; flex: none; display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 8px; }\n.ta-look-figure, .ta-look-walk { border-radius: 12px; background: var(--ta-raised); display: grid; place-items: center; }\n/* Wide enough for the walk to and fro (half the width of the dinosaur to either side of the middle, and itself). */\n.ta-look-walk { min-width: 220px; overflow: hidden; }\n.ta-look-label { font-size: calc(12px * var(--ta-font-scale)); font-weight: 600; color: var(--ta-secondary); }\n.ta-look-kinds { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 6px; }\n.ta-look-kind { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 4px 7px; border: 1px solid var(--ta-border-muted); border-radius: 12px; background: transparent; color: var(--ta-text); font-size: calc(12px * var(--ta-font-scale)); transition: background 120ms, border-color 120ms; }\n.ta-look-kind:hover { background: var(--ta-hover); }\n.ta-look-kind.ta-on { border-color: var(--ta-green); background: color-mix(in srgb, var(--ta-green) 8%, transparent); }\n.ta-look-name { max-width: 100%; }\n/* The voice replies are read with: its list, and a button to listen to it. */\n.ta-voice-picker { display: flex; align-items: center; gap: 8px; width: 100%; }\n.ta-voice-picker .ta-select { flex: 1; min-width: 0; }\n.ta-voice-picker .ta-button { flex: none; }\n.ta-look-premium { position: absolute; top: 4px; left: 4px; display: inline-flex; align-items: center; gap: 2px; padding: 1px 5px; border-radius: 8px; background: linear-gradient(135deg, #FCD866, #D98E14); color: #4a2c00; font-size: calc(10px * var(--ta-font-scale)); font-weight: 600; line-height: calc(14px * var(--ta-font-scale)); }\n/* Scan, as WeChat's: the camera over everything, a green glow sweeping down, round buttons on it; a photo for Ta asks on a sheet. */\n.ta-scan { position: fixed; inset: 0; z-index: 55; overflow: hidden; background: #000; color: #fff; animation: ta-fade 160ms ease-out; -webkit-user-select: none; user-select: none; }\n.ta-scan-video, .ta-scan-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }\n.ta-scan-mirrored { transform: scaleX(-1); }\n.ta-scan-line { position: absolute; left: 0; right: 0; top: 16%; height: 22%; pointer-events: none; background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--ta-green) 40%, transparent) 88%, color-mix(in srgb, var(--ta-green) 90%, transparent) 100%); -webkit-mask-image: radial-gradient(ellipse 60% 100% at 50% 100%, #000 30%, transparent 100%); mask-image: radial-gradient(ellipse 60% 100% at 50% 100%, #000 30%, transparent 100%); animation: ta-scan-sweep 2.6s cubic-bezier(0.45, 0, 0.55, 1) infinite; }\n@keyframes ta-scan-sweep { 0% { transform: translateY(0); opacity: 0; } 12% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateY(220%); opacity: 0; } }\n.ta-scan-dot { position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; border: 3px solid #fff; background: var(--ta-green); box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35); animation: ta-scan-pop 260ms var(--ta-ease) both; }\n@keyframes ta-scan-pop { from { transform: scale(0.3); opacity: 0; } }\n.ta-scan-problem { position: absolute; top: 42%; left: 32px; right: 32px; margin: 0; text-align: center; color: rgba(255, 255, 255, 0.85); font-size: calc(15px * var(--ta-font-scale)); line-height: calc(22px * var(--ta-font-scale)); }\n.ta-scan-top { position: absolute; top: calc(env(safe-area-inset-top) + 14px); left: 18px; right: 18px; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }\n.ta-scan-round { pointer-events: auto; width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: rgba(0, 0, 0, 0.32); color: #fff; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }\n.ta-scan-bottom { position: absolute; left: 18px; right: 18px; bottom: calc(env(safe-area-inset-bottom) + 28px); display: flex; align-items: center; gap: 12px; }\n.ta-scan-side, .ta-scan-ask { border: 0; color: #fff; background: rgba(48, 48, 48, 0.58); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); transition: transform 120ms, background 120ms; }\n.ta-scan-side { flex: none; width: 62px; height: 62px; display: grid; place-items: center; padding: 0; border-radius: 50%; }\n.ta-scan-ask { flex: 1; min-width: 0; height: 62px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 0 14px; border-radius: 31px; }\n.ta-scan-side:active, .ta-scan-ask:active { transform: scale(0.96); background: rgba(70, 70, 70, 0.66); }\n.ta-scan-side:disabled, .ta-scan-ask:disabled { opacity: 0.45; }\n.ta-scan-side.ta-scan-blank { visibility: hidden; }\n.ta-scan-toast { left: 50%; right: auto; width: max-content; max-width: calc(100% - 64px); padding: 8px 16px; border-radius: 18px; transform: translateX(-50%); background: rgba(0, 0, 0, 0.6); color: #fff; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); animation: ta-fade 160ms ease-out; }\n.ta-scan-instructions { flex: 1; min-width: 0; margin: 0; text-align: center; text-wrap: balance; color: rgba(255, 255, 255, 0.85); font-size: calc(15px * var(--ta-font-scale)); line-height: calc(22px * var(--ta-font-scale)); text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5); }\n.ta-scan-ask-title { display: flex; align-items: center; gap: 6px; font-size: calc(17px * var(--ta-font-scale)); font-weight: 600; line-height: calc(24px * var(--ta-font-scale)); }\n.ta-scan-ask-hint { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: rgba(255, 255, 255, 0.62); font-size: calc(12px * var(--ta-font-scale)); line-height: calc(16px * var(--ta-font-scale)); }\n.ta-scan-sheet { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 12px; padding: 18px 16px calc(16px + env(safe-area-inset-bottom)); border-radius: 18px 18px 0 0; background: var(--ta-card); color: var(--ta-text); box-shadow: var(--ta-shadow-pop); animation: ta-in 220ms var(--ta-ease); }\n:root[data-keyboard] .ta-scan-sheet { bottom: var(--ta-keyboard, 0px); padding-bottom: 12px; }\n.ta-scan-sheet-title { font-size: calc(15px * var(--ta-font-scale)); font-weight: 600; }\n.ta-scan-chips { display: flex; flex-wrap: wrap; gap: 8px; }\n.ta-scan-chip { padding: 8px 14px; border: 1px solid var(--ta-border); border-radius: 999px; background: var(--ta-main); color: var(--ta-text); font-size: calc(14px * var(--ta-font-scale)); }\n.ta-scan-chip:active { background: var(--ta-hover); }\n.ta-scan-field { display: flex; align-items: center; gap: 8px; padding: 4px 4px 4px 14px; border: 1px solid var(--ta-border); border-radius: 22px; background: var(--ta-main); }\n.ta-scan-field input { flex: 1; min-width: 0; height: 36px; border: 0; outline: none; background: transparent; color: var(--ta-text); font-size: max(16px, calc(15px * var(--ta-font-scale))); }\n.ta-scan-send { flex: none; width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: var(--ta-text); color: var(--ta-main); }\n.ta-scan-send:disabled { opacity: 0.5; }\n/* A model service added by its address and key (custom-provider-view) */\n.ta-custom-flow { flex: 1 1 auto; min-height: 0; }\n.ta-custom-form { display: flex; flex-direction: column; gap: 12px; min-height: 0; margin: 0 -4px; padding: 0 4px; overflow-y: auto; }\n.ta-custom-form .ta-select { width: 100%; height: 32px; }\n.ta-custom-models { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 36px; box-sizing: border-box; padding: 4px 6px; border: 1px solid var(--ta-border-field); border-radius: 8px; background: var(--ta-input); transition: border-color 120ms; }\n.ta-custom-models:focus-within { border-color: var(--ta-border-focus); }\n.ta-custom-chip { display: inline-flex; align-items: center; gap: 2px; max-width: 100%; height: 24px; padding: 0 2px 0 8px; border-radius: 6px; background: var(--ta-raised); color: var(--ta-text); font-family: var(--ta-mono); font-size: calc(12px * var(--ta-font-scale)); animation: ta-in 160ms var(--ta-ease) both; }\n.ta-custom-chip-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-custom-chip button { display: grid; place-items: center; width: 20px; height: 20px; padding: 0; border: 0; border-radius: 4px; background: transparent; color: var(--ta-muted); cursor: pointer; }\n.ta-custom-chip button:hover { background: var(--ta-hover); color: var(--ta-text); }\n.ta-custom-model-input { flex: 1; min-width: 140px; height: 26px; border: 0; outline: none; background: transparent; color: var(--ta-text); font: inherit; font-size: calc(13px * var(--ta-font-scale)); }\n.ta-custom-fetch { align-self: flex-start; margin-top: 2px; }\n.ta-custom-fetched { display: flex; flex-direction: column; gap: 6px; margin-top: 2px; }\n.ta-custom-fetched .ta-auth-note { white-space: normal; }\n.ta-custom-fetched .ta-input { height: 32px; }\n.ta-custom-fetched-list { display: flex; flex-direction: column; max-height: 220px; overflow-y: auto; padding: 2px; border: 1px solid var(--ta-border-muted); border-radius: 8px; }\n.ta-custom-fetched-list .ta-auth-item { height: 32px; flex: none; font-family: var(--ta-mono); font-size: calc(12.5px * var(--ta-font-scale)); }\n.ta-custom-fetched-list .ta-auth-item > .ta-custom-picked { margin-left: auto; color: var(--ta-accent); }\n.ta-custom-actions { position: sticky; bottom: 0; z-index: 1; display: flex; justify-content: flex-end; gap: 8px; padding-top: 8px; background: var(--ta-card); }\n.ta-custom-actions .ta-danger { margin-right: auto; }\n.ta-custom-add > .ta-icon:first-child { color: var(--ta-accent); }\n.ta-custom-add { width: 100%; }\n.ta-custom-advanced { border: 1px solid var(--ta-border-muted); border-radius: 10px; }\n.ta-custom-advanced-toggle { display: flex; align-items: center; gap: 8px; width: 100%; height: 38px; padding: 0 10px; border: 0; border-radius: 10px; background: transparent; color: var(--ta-text); font: inherit; font-size: calc(13px * var(--ta-font-scale)); font-weight: 500; text-align: left; cursor: pointer; }\n.ta-custom-advanced-toggle:hover { background: var(--ta-hover); }\n.ta-custom-advanced-toggle .ta-auth-note { font-weight: 400; }\n.ta-custom-advanced-toggle > .ta-icon { margin-left: auto; color: var(--ta-muted); transition: transform 160ms var(--ta-ease); }\n.ta-custom-advanced.ta-open .ta-custom-advanced-toggle > .ta-icon { transform: rotate(180deg); }\n.ta-custom-advanced-body { display: flex; flex-direction: column; gap: 10px; padding: 2px 10px 12px; animation: ta-in 200ms var(--ta-ease) both; }\n.ta-custom-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }\n.ta-custom-check { display: flex; align-items: center; gap: 8px; min-height: 28px; color: var(--ta-body); font-size: calc(13px * var(--ta-font-scale)); cursor: pointer; }\n.ta-custom-check input { width: 16px; height: 16px; margin: 0; accent-color: var(--ta-accent); }\n.ta-custom-header { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr) 28px; gap: 6px; align-items: center; }\n.ta-custom-header .ta-input { height: 32px; font-family: var(--ta-mono); font-size: calc(12.5px * var(--ta-font-scale)); }\n.ta-custom-header-remove { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--ta-muted); cursor: pointer; }\n.ta-custom-header-remove:hover { background: var(--ta-hover); color: var(--ta-text); }\n@media (max-width: 860px), (max-height: 500px) and (pointer: coarse) {\n .ta-custom-form .ta-input, .ta-custom-model-input { font-size: max(16px, calc(14px * var(--ta-font-scale))); }\n .ta-custom-actions .ta-button { flex: 1; }\n}\n/* The console of a gateway (gateway/console-*.tsx): sections of a title over a card, rows parted by lines. */\n.ta-console-content { gap: 20px; }\n.ta-console-content > .ta-segmented { align-self: stretch; }\n.ta-console-block { display: flex; flex-direction: column; gap: 8px; min-width: 0; }\n.ta-console-section { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 24px; padding: 0 4px; }\n.ta-console-section-title { margin: 0; font-size: calc(13px * var(--ta-font-scale)); font-weight: 600; color: var(--ta-secondary); }\n.ta-console-section .ta-icon-button { width: 26px; height: 26px; }\n.ta-console-hint { margin: 0 4px; font-size: calc(12px * var(--ta-font-scale)); line-height: 1.5; color: var(--ta-muted); }\n.ta-console-card { position: relative; display: flex; flex-direction: column; min-width: 0; border-radius: 12px; border: 1px solid var(--ta-border-muted); background: var(--ta-list-cell); overflow: hidden; }\n.ta-console-card > * + *::before { content: ''; position: absolute; top: 0; right: 0; left: 14px; height: 1px; background: var(--ta-border-muted); }\n.ta-console-card > * { position: relative; }\n.ta-console-panel { gap: 12px; padding: 14px; }\n.ta-console-panel > * + *::before { display: none; }\n.ta-console-empty { margin: 0; padding: 14px; font-size: calc(13px * var(--ta-font-scale)); color: var(--ta-muted); }\n.ta-console-entry { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 9px 14px; border: 0; background: none; font: inherit; color: var(--ta-text); text-align: left; }\n.ta-console-press { cursor: pointer; transition: background 120ms; }\n.ta-console-press:hover { background: var(--ta-hover); }\n.ta-console-press:focus-visible { outline: 1px solid var(--ta-border-focus); outline-offset: -1px; }\n.ta-console-entry-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }\n.ta-console-entry-label { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: calc(14px * var(--ta-font-scale)); font-weight: 500; }\n.ta-console-entry-hint { font-size: calc(12.5px * var(--ta-font-scale)); line-height: 1.45; color: var(--ta-muted); }\n.ta-console-tile { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; background: var(--ta-hover); color: var(--ta-secondary); }\n.ta-console-side { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-size: calc(12px * var(--ta-font-scale)); font-variant-numeric: tabular-nums; color: var(--ta-secondary); }\n.ta-console-chevron { flex: none; color: var(--ta-muted); transition: transform 160ms var(--ta-ease); }\n.ta-console-chevron.ta-open { transform: rotate(90deg); }\n.ta-console-line { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 8px 14px; font-size: calc(13px * var(--ta-font-scale)); }\n.ta-console-line-detail { flex: 1; min-width: 0; color: var(--ta-muted); }\n.ta-console-time { flex: none; margin-left: auto; font-size: calc(12px * var(--ta-font-scale)); color: var(--ta-muted); font-variant-numeric: tabular-nums; }\n.ta-console-muted { color: var(--ta-muted); }\n.ta-console-mono { font-family: var(--ta-mono); font-size: calc(12.5px * var(--ta-font-scale)); }\n.ta-console-audit-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-console-audit-text strong { font-weight: 500; }\n.ta-console-fact { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding: 8px 14px; font-size: calc(13.5px * var(--ta-font-scale)); }\n.ta-console-fact > :first-child { flex: none; color: var(--ta-muted); }\n.ta-console-fact > :last-child { min-width: 0; text-align: right; font-variant-numeric: tabular-nums; }\n/* Numbers side by side: one card, parted by lines, as many columns as numbers (two rows of two on a phone). */\n.ta-console-stats { display: grid; grid-template-columns: repeat(var(--ta-console-stats, 4), minmax(0, 1fr)); border-radius: 12px; border: 1px solid var(--ta-border-muted); background: var(--ta-list-cell); overflow: hidden; }\n.ta-console-stat { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; padding: 14px 16px; border: 0; background: none; font: inherit; color: inherit; text-align: left; }\n.ta-console-stat + .ta-console-stat { box-shadow: inset 1px 0 var(--ta-border-muted); }\nbutton.ta-console-stat { cursor: pointer; transition: background 120ms; }\nbutton.ta-console-stat:hover { background: var(--ta-hover); }\n.ta-console-stat-value { font-size: calc(24px * var(--ta-font-scale)); font-weight: 600; line-height: 1.15; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }\n.ta-console-stat-value.ta-good { color: var(--ta-green); }\n.ta-console-stat-value.ta-warn { color: var(--ta-yellow); }\n.ta-console-stat-value.ta-bad { color: var(--ta-red); }\n.ta-console-stat-label { font-size: calc(12px * var(--ta-font-scale)); color: var(--ta-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }\n/* Faces: the account's avatar, a dot on it while its Ta runs, starts or failed. */\n.ta-console-face { position: relative; flex: none; display: inline-flex; }\n.ta-console-avatar { width: 36px; height: 36px; flex: none; border-radius: 50%; object-fit: cover; }\n.ta-console-avatar.ta-chat-avatar { font-size: 15px; }\n.ta-console-avatar-large { width: 56px; height: 56px; }\n.ta-console-avatar-large.ta-chat-avatar { font-size: 22px; }\n.ta-console-face > .ta-console-dot { position: absolute; right: -1px; bottom: -1px; width: 11px; height: 11px; box-sizing: border-box; border: 2px solid var(--ta-list-cell); }\n.ta-console-face.ta-large > .ta-console-dot { right: 1px; bottom: 1px; width: 15px; height: 15px; border-width: 3px; border-color: var(--ta-list-bg); }\n.ta-console-dot { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--ta-border-field); }\n.ta-console-dot.ta-console-running { background: var(--ta-green); }\n.ta-console-dot.ta-console-starting { background: var(--ta-blue); animation: ta-console-pulse 1.2s ease-in-out infinite; }\n.ta-console-dot.ta-console-failed { background: var(--ta-red); }\n.ta-console-dot.ta-console-agent-working { background: var(--ta-green); animation: ta-console-pulse 1.2s ease-in-out infinite; }\n.ta-console-dot.ta-console-agent-waiting, .ta-console-dot.ta-console-agent-asking { background: var(--ta-blue); }\n@keyframes ta-console-pulse { 50% { opacity: 0.35; } }\n.ta-console-chip { flex: none; display: inline-flex; align-items: center; height: 18px; padding: 0 7px; border-radius: 999px; background: var(--ta-chip); font-size: calc(11px * var(--ta-font-scale)); font-weight: 500; color: var(--ta-secondary); }\n.ta-console-chip-warn { background: color-mix(in srgb, var(--ta-yellow) 18%, transparent); color: var(--ta-yellow); }\n.ta-console-role-owner { background: color-mix(in srgb, var(--ta-blue) 16%, transparent); color: var(--ta-blue); }\n.ta-console-role-admin { background: color-mix(in srgb, var(--ta-green) 16%, transparent); color: var(--ta-green); }\n/* Bars and meters */\n.ta-console-bar { display: block; height: 6px; border-radius: 3px; background: var(--ta-chip); overflow: hidden; }\n.ta-console-bar > span { display: block; height: 100%; border-radius: inherit; background: var(--ta-green); transition: width 300ms var(--ta-ease); }\n.ta-console-bar > span.ta-warm { background: var(--ta-yellow); }\n.ta-console-bar > span.ta-high { background: var(--ta-red); }\n.ta-console-bar > span.ta-part { background: var(--ta-blue); }\n.ta-console-bar-small { width: 56px; height: 4px; }\n.ta-console-meter { display: flex; flex-direction: column; gap: 7px; padding: 12px 14px; }\n.ta-console-meter-text { display: flex; justify-content: space-between; gap: 12px; font-size: calc(14px * var(--ta-font-scale)); }\n.ta-console-meter-value { font-variant-numeric: tabular-nums; color: var(--ta-secondary); text-align: right; }\n.ta-console-meter-hint { font-size: calc(12px * var(--ta-font-scale)); color: var(--ta-muted); }\n/* A value on the right of a row that opens a menu of what it may be. */\n.ta-console-value { flex: none; max-width: 55%; display: inline-flex; align-items: center; gap: 4px; font-size: calc(13.5px * var(--ta-font-scale)); font-variant-numeric: tabular-nums; color: var(--ta-text); }\n.ta-console-value.ta-muted { color: var(--ta-muted); }\n.ta-console-pick { position: relative; height: 30px; margin-right: -8px; padding: 0 8px 0 10px; border: 0; border-radius: 8px; background: none; font: inherit; cursor: pointer; }\n.ta-console-pick:hover { background: var(--ta-hover); }\n.ta-console-pick > svg { flex: none; color: var(--ta-muted); }\n/* The person at the head of an account, and what can be done to it: tiles side by side, as the actions of a contact. */\n.ta-console-person { display: flex; align-items: center; gap: 14px; padding: 2px 4px; }\n.ta-console-person-text { min-width: 0; display: flex; flex-direction: column; gap: 2px; }\n.ta-console-person-name { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: calc(18px * var(--ta-font-scale)); font-weight: 600; }\n.ta-console-actions { display: grid; grid-template-columns: repeat(var(--ta-console-actions, 4), minmax(0, 1fr)); gap: 8px; }\n.ta-console-action { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-width: 0; height: 64px; padding: 0 6px; border-radius: 12px; border: 1px solid var(--ta-border-muted); background: var(--ta-list-cell); font: inherit; font-size: calc(12.5px * var(--ta-font-scale)); color: var(--ta-text); cursor: pointer; transition: background 120ms; }\n.ta-console-action:hover:not(:disabled) { background: var(--ta-hover); }\n.ta-console-action:disabled { opacity: 0.45; cursor: default; }\n.ta-console-action.ta-danger { color: var(--ta-red); }\n.ta-console-action-icon { position: relative; display: grid; place-items: center; color: var(--ta-secondary); }\n.ta-console-action.ta-danger .ta-console-action-icon { color: inherit; }\n.ta-console-action.ta-busy .ta-console-action-icon > svg { visibility: hidden; }\n/* Accounts: search and invite in a row, filters and sort under them. */\n.ta-console-toolbar { display: flex; gap: 8px; }\n.ta-console-search { flex: 1; }\n.ta-console-toolbar .ta-button { height: 36px; flex: none; }\n.ta-console-filters { display: flex; align-items: center; gap: 8px; margin-top: -8px; }\n.ta-console-chips { flex: 1; min-width: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }\n.ta-console-chips::-webkit-scrollbar { display: none; }\n.ta-console-chip-toggle { flex: none; display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--ta-border-muted); background: var(--ta-list-cell); font: inherit; font-size: calc(12.5px * var(--ta-font-scale)); color: var(--ta-secondary); cursor: pointer; }\n.ta-console-chip-toggle:hover { color: var(--ta-text); }\n.ta-console-chip-toggle.ta-on { border-color: transparent; background: var(--ta-text); color: var(--ta-list-bg); font-weight: 500; }\n.ta-console-chip-count { font-variant-numeric: tabular-nums; opacity: 0.6; }\n.ta-console-sort { flex: none; display: inline-flex; align-items: center; gap: 2px; height: 28px; padding: 0 4px 0 8px; border: 0; border-radius: 8px; background: none; font: inherit; font-size: calc(12.5px * var(--ta-font-scale)); color: var(--ta-secondary); cursor: pointer; }\n.ta-console-sort:hover { background: var(--ta-hover); color: var(--ta-text); }\n.ta-console-sort-mark { transform: rotate(90deg); color: var(--ta-muted); }\n.ta-console-invite { gap: 8px; padding: 14px; }\n.ta-console-invite > * + *::before { display: none; }\n.ta-console-link { padding: 8px 10px; border-radius: 8px; background: var(--ta-code); word-break: break-all; user-select: all; }\n.ta-console-buttons { display: flex; justify-content: flex-end; gap: 8px; }\n.ta-console-command { min-height: 48px; gap: 10px; color: var(--ta-text); }\n.ta-console-command > svg { flex: none; color: var(--ta-secondary); }\n.ta-console-command.ta-danger, .ta-console-command.ta-danger > svg { color: var(--ta-red); }\n.ta-console-command:disabled { opacity: 0.45; cursor: default; }\n.ta-console-copy { display: flex; align-items: center; gap: 8px; min-width: 0; }\n.ta-console-copy > code { flex: 1; min-width: 0; }\n/* Agents and what they did */\n.ta-console-item { position: relative; }\n.ta-console-activity { display: flex; flex-direction: column; gap: 2px; padding: 0 14px 12px 33px; }\n.ta-console-activity-summary { padding-bottom: 4px; font-size: calc(12px * var(--ta-font-scale)); color: var(--ta-muted); }\n.ta-console-activity-empty { margin: 0; padding: 0 14px 12px 33px; font-size: calc(12.5px * var(--ta-font-scale)); color: var(--ta-muted); }\n.ta-console-activity-row { display: flex; align-items: center; gap: 8px; min-height: 24px; font-size: calc(12.5px * var(--ta-font-scale)); }\n.ta-console-activity-error { flex: 1; min-width: 0; color: var(--ta-red); }\n.ta-console-logs { margin: 0; max-height: 420px; overflow: auto; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--ta-border-muted); background: var(--ta-code); font-family: var(--ta-mono); font-size: calc(12px * var(--ta-font-scale)); line-height: 1.5; white-space: pre-wrap; word-break: break-all; }\n.ta-console-hosts { width: 100%; min-height: 84px; padding: 8px 10px; resize: vertical; font-family: var(--ta-mono); font-size: calc(12.5px * var(--ta-font-scale)); line-height: 1.5; }\n/* Usage over time */\n.ta-console-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }\n.ta-console-card-controls { display: flex; gap: 8px; flex-wrap: wrap; }\n.ta-console-card-controls .ta-segmented button { padding: 0 10px; white-space: nowrap; }\n.ta-console-total { display: flex; flex-direction: column; gap: 2px; }\n.ta-console-total strong { font-size: calc(24px * var(--ta-font-scale)); font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1.15; }\n.ta-console-total span, .ta-console-card-label { font-size: calc(12px * var(--ta-font-scale)); color: var(--ta-muted); }\n.ta-console-card-label { margin-top: 4px; }\n.ta-console-chart { display: flex; flex-direction: column; gap: 4px; }\n.ta-console-chart svg { width: 100%; height: 120px; display: block; overflow: visible; }\n.ta-console-chart-wait { display: flex; flex-direction: column; height: 160px; }\n.ta-console-chart-hover { display: flex; align-items: baseline; gap: 8px; min-height: 20px; font-size: calc(12px * var(--ta-font-scale)); color: var(--ta-muted); font-variant-numeric: tabular-nums; }\n.ta-console-chart-hover strong { color: var(--ta-text); font-weight: 600; }\n.ta-console-chart-bar { fill: color-mix(in srgb, var(--ta-green) 55%, transparent); transition: fill 120ms; }\n.ta-console-chart-bar.ta-on { fill: var(--ta-green); }\n.ta-console-chart-axis { stroke: var(--ta-border-muted); stroke-width: 1; }\n.ta-console-chart-ticks { display: flex; justify-content: space-between; font-size: calc(11px * var(--ta-font-scale)); color: var(--ta-muted); }\n.ta-console-shares { display: flex; flex-direction: column; gap: 6px; }\n.ta-console-share { display: grid; grid-template-columns: minmax(0, 1fr) 96px 64px; align-items: center; gap: 10px; font-size: calc(12.5px * var(--ta-font-scale)); }\n.ta-console-share .ta-console-bar-small { width: 100%; }\n.ta-console-share-label { min-width: 0; }\n.ta-console-share-button { padding: 2px 4px; margin: 0 -4px; border: 0; border-radius: 6px; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }\n.ta-console-share-button:hover { background: var(--ta-hover); }\n.ta-console-share-value { text-align: right; font-variant-numeric: tabular-nums; color: var(--ta-secondary); }\n.ta-console-foot { margin: 4px 0 0; text-align: center; font-size: calc(12px * var(--ta-font-scale)); color: var(--ta-muted); }\n.ta-console .ta-phone-stack-top { background: var(--ta-list-bg); }\n.ta-setting-row .ta-console-card { width: 100%; }\n@media (max-width: 860px), (max-height: 500px) and (pointer: coarse) {\n .ta-console-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }\n .ta-console-stat:nth-child(odd) { box-shadow: none; }\n .ta-console-stat:nth-child(n + 3) { border-top: 1px solid var(--ta-border-muted); }\n .ta-console-stat:nth-child(even) { box-shadow: inset 1px 0 var(--ta-border-muted); }\n .ta-console-actions { grid-template-columns: repeat(min(var(--ta-console-actions, 4), 4), minmax(0, 1fr)); }\n .ta-console-share { grid-template-columns: minmax(0, 1fr) 64px 56px; }\n .ta-console-card-controls { width: 100%; display: grid; grid-template-columns: 2fr 3fr; }\n .ta-console-card-controls .ta-segmented button { padding: 0 4px; }\n .ta-console-entry { min-height: 56px; }\n .ta-console-entry-label { font-size: calc(15px * var(--ta-font-scale)); }\n}\n";
@@ -49,6 +49,14 @@ export const PAGES_STYLE = `
49
49
  .ta-select:disabled { opacity: 0.5; cursor: default; }
50
50
  /* Settings → Storage: the limits of a store side by side (storage-settings.tsx); a phone gives each half the row. */
51
51
  .ta-select.ta-storage-select { width: 136px; }
52
+ /* A row that belongs to the one above (a setting of a host): it starts under that row's label, and so does the line between them */
53
+ .ta-setting-row.ta-inset, .ta-settings-phone .ta-setting-row.ta-inset { padding-left: var(--ta-setting-inset, 58px); }
54
+ .ta-setting-row + .ta-setting-row.ta-inset { border-top-color: transparent; }
55
+ .ta-setting-row + .ta-setting-row.ta-inset::after { content: ''; position: absolute; top: -1px; left: var(--ta-setting-inset, 58px); right: 0; border-top: 1px solid var(--ta-border-muted); }
56
+ .ta-settings-phone .ta-setting-row { --ta-setting-inset: 56px; }
57
+ .ta-select.ta-cloud-network-select { width: 176px; }
58
+ .ta-cloud-network-hosts { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; width: 100%; }
59
+ .ta-cloud-network-hosts textarea { width: 100%; min-height: 104px; padding: 8px 12px; resize: vertical; font-family: var(--ta-mono); font-size: calc(12px * var(--ta-font-scale)); line-height: 1.5; }
52
60
  .ta-setting-input::placeholder { color: var(--ta-muted); }
53
61
  /* The settings of a phone (PhoneSettings): the sections listed as Me's rows, each a page of grouped rows. */
54
62
  .ta-head-balance { flex: none; width: 32px; }
@@ -59,7 +67,7 @@ export const PAGES_STYLE = `
59
67
  .ta-settings-phone-caption { margin: 0 4px; font-size: calc(13px * var(--ta-font-scale)); font-weight: 500; color: var(--ta-muted); }
60
68
  .ta-settings-phone .ta-setting-card { border-radius: 12px; border-color: var(--ta-border-muted); background: var(--ta-list-cell); }
61
69
  .ta-settings-phone .ta-setting-row { min-height: 52px; padding: 12px 16px; gap: 12px; }
62
- .ta-settings-phone .ta-setting-row:not(.ta-stacked) > .ta-setting-text { flex: 1 1 0; }
70
+ .ta-settings-phone .ta-setting-row:not(.ta-stacked) > .ta-setting-text { flex: 1 1 0; min-width: 120px; }
63
71
  .ta-settings-phone .ta-setting-label { font-size: calc(15px * var(--ta-font-scale)); font-weight: 400; }
64
72
  .ta-settings-phone .ta-setting-description { margin-top: 2px; font-size: calc(13px * var(--ta-font-scale)); line-height: 1.4; }
65
73
  .ta-settings-phone .ta-setting-row.ta-stacked { gap: 10px; }
@@ -190,6 +190,8 @@ export interface TaWorkbench {
190
190
  createStore(sessionId: string, options?: SessionStoreOptions): SessionStore;
191
191
  /** Output of the terminals of this connection; the listener stays across reconnections and sign-ins. */
192
192
  onTerminalData(listener: (terminalId: string, data: string, exitCode?: number) => void): () => void;
193
+ /** The connection opened again after it dropped (a restart of Ta too): what the page held on the server may be gone. */
194
+ onReconnect(listener: () => void): () => void;
193
195
  /** Keys of the data of a package that changed (TaClient.onExtensionData), `cwd` for those of a directory; the listener stays across reconnections. */
194
196
  onExtensionData(listener: (name: string, keys: string[], cwd?: string) => void): () => void;
195
197
  /** What happens during the sign-ins of this page (TaAuthServer.login); the listener stays across reconnections. */
@@ -7,6 +7,7 @@ export declare abstract class WorkbenchServices {
7
7
  protected abstract readonly calls: WorkbenchCalls;
8
8
  protected connection?: TaConnection;
9
9
  protected readonly terminalListeners: Set<(terminalId: string, data: string, exitCode?: number) => void>;
10
+ protected readonly reconnectListeners: Set<() => void>;
10
11
  protected readonly extensionDataListeners: Set<(name: string, keys: string[], cwd?: string) => void>;
11
12
  protected readonly authListeners: Set<(loginId: string, event: TaAuthEvent) => void>;
12
13
  protected readonly remoteListeners: Set<(event: TaRemoteEvent) => void>;
@@ -40,6 +41,7 @@ export declare abstract class WorkbenchServices {
40
41
  protected service<K extends ServiceName>(name: K): TaConnection[K];
41
42
  protected signedIn(): TaConnection;
42
43
  onTerminalData(listener: (terminalId: string, data: string, exitCode?: number) => void): () => void;
44
+ onReconnect(listener: () => void): () => void;
43
45
  onExtensionData(listener: (name: string, keys: string[], cwd?: string) => void): () => void;
44
46
  onAuthEvent(listener: (loginId: string, event: TaAuthEvent) => void): () => void;
45
47
  onRemoteEvent(listener: (event: TaRemoteEvent) => void): () => void;
@@ -3,6 +3,7 @@ import { TaRoomWatchUtil, } from '@celljs/ta-protocol';
3
3
  export class WorkbenchServices {
4
4
  constructor() {
5
5
  this.terminalListeners = new Set();
6
+ this.reconnectListeners = new Set();
6
7
  this.extensionDataListeners = new Set();
7
8
  this.authListeners = new Set();
8
9
  this.remoteListeners = new Set();
@@ -104,6 +105,10 @@ export class WorkbenchServices {
104
105
  this.terminalListeners.add(listener);
105
106
  return () => this.terminalListeners.delete(listener);
106
107
  }
108
+ onReconnect(listener) {
109
+ this.reconnectListeners.add(listener);
110
+ return () => this.reconnectListeners.delete(listener);
111
+ }
107
112
  onExtensionData(listener) {
108
113
  this.extensionDataListeners.add(listener);
109
114
  return () => this.extensionDataListeners.delete(listener);
@@ -288,6 +288,9 @@ let TaWorkbenchImpl = class TaWorkbenchImpl extends WorkbenchHosts {
288
288
  this.roomsWatched = undefined;
289
289
  void this.watchRooms(connection, true);
290
290
  void this.watchSessions(connection);
291
+ for (const listener of this.reconnectListeners) {
292
+ listener();
293
+ }
291
294
  });
292
295
  void this.watchRemote(connection);
293
296
  void this.watchDesktops(connection);
@@ -55,13 +55,14 @@ function AppContexts({ fileUrl, openLink, children, }) {
55
55
  React.createElement(link_1.OpenLink.Provider, { value: openLink },
56
56
  React.createElement(extension_view_1.MessageRenderers.Provider, { value: extensions.renderers },
57
57
  React.createElement(code_renderers_1.CodeRenderers.Provider, { value: extensions.codeRenderers },
58
- React.createElement(extension_view_1.ToolRenderers.Provider, { value: extensions.toolRenderers },
59
- React.createElement(extension_view_1.SessionAvatars.Provider, { value: extensions.avatars },
60
- React.createElement(chat_icon_1.ChatIconsProvider, { entries: extensions.chatIcons },
61
- React.createElement(chat_tag_1.ChatTagsProvider, { entries: extensions.chatTags },
62
- React.createElement(extension_view_1.SessionMenus.Provider, { value: extensions.sessionMenus },
63
- React.createElement(extension_view_1.LoadedExtensions.Provider, { value: extensions.extensions },
64
- React.createElement(extension_view_1.CallGroup.Provider, { value: extensions.callGroup },
65
- React.createElement(secret_text_1.SecretPeeks.Provider, { value: secretPeek }, children)))))))))))));
58
+ React.createElement(code_renderers_1.CodeMenus.Provider, { value: extensions.codeMenus },
59
+ React.createElement(extension_view_1.ToolRenderers.Provider, { value: extensions.toolRenderers },
60
+ React.createElement(extension_view_1.SessionAvatars.Provider, { value: extensions.avatars },
61
+ React.createElement(chat_icon_1.ChatIconsProvider, { entries: extensions.chatIcons },
62
+ React.createElement(chat_tag_1.ChatTagsProvider, { entries: extensions.chatTags },
63
+ React.createElement(extension_view_1.SessionMenus.Provider, { value: extensions.sessionMenus },
64
+ React.createElement(extension_view_1.LoadedExtensions.Provider, { value: extensions.extensions },
65
+ React.createElement(extension_view_1.CallGroup.Provider, { value: extensions.callGroup },
66
+ React.createElement(secret_text_1.SecretPeeks.Provider, { value: secretPeek }, children))))))))))))));
66
67
  }
67
68
  //# sourceMappingURL=app-contexts.js.map
@@ -0,0 +1,18 @@
1
+ import { type TaRemoteHost } from '@celljs/ta-protocol';
2
+ import * as React from 'react';
3
+ /** How far the agent of a cloud workspace reaches, as the user picks it. */
4
+ export type CloudNetworkMode = 'off' | 'common' | 'open' | 'custom';
5
+ export declare namespace CloudNetworkUtil {
6
+ function mode(allow: readonly string[] | undefined): CloudNetworkMode;
7
+ function hostsOf(mode: Exclude<CloudNetworkMode, 'custom'>): string[];
8
+ }
9
+ /**
10
+ * Where the commands of the agent in a cloud workspace may go (TaRemoteServer.setCloudNetwork): no network (the
11
+ * default; its dependencies are installed before it starts), the common sources of dependencies, anywhere, or the
12
+ * hosts the user writes. Says when that machine can only hold them by the variables of a proxy.
13
+ */
14
+ export declare function CloudNetworkRow({ host, onChanged }: {
15
+ host: TaRemoteHost;
16
+ onChanged(): Promise<unknown>;
17
+ }): React.JSX.Element;
18
+ //# sourceMappingURL=cloud-network.d.ts.map