@celljs/ta-web 4.18.0 → 4.20.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 (135) hide show
  1. package/esm/browser/account/account-side.d.ts +13 -0
  2. package/esm/browser/account/account-side.js +74 -0
  3. package/esm/browser/account/device-account.d.ts +69 -0
  4. package/esm/browser/account/device-account.js +215 -0
  5. package/esm/browser/assistant/assistant-chat-list.js +2 -1
  6. package/esm/browser/components/account-menu.d.ts +1 -1
  7. package/esm/browser/components/account-menu.js +7 -2
  8. package/esm/browser/components/account-view.d.ts +17 -0
  9. package/esm/browser/components/account-view.js +216 -0
  10. package/esm/browser/components/app-view.js +4 -4
  11. package/esm/browser/components/cloud-sign-in-view.d.ts +5 -1
  12. package/esm/browser/components/cloud-sign-in-view.js +1 -1
  13. package/esm/browser/components/dino-look.d.ts +9 -1
  14. package/esm/browser/components/dino-look.js +46 -1
  15. package/esm/browser/components/environment-view.js +12 -1
  16. package/esm/browser/components/face-pictures.d.ts +10 -0
  17. package/esm/browser/components/face-pictures.js +24 -0
  18. package/esm/browser/components/face.d.ts +4 -1
  19. package/esm/browser/components/face.js +16 -1
  20. package/esm/browser/components/host-view.d.ts +3 -1
  21. package/esm/browser/components/host-view.js +7 -0
  22. package/esm/browser/components/picture-dialog.d.ts +18 -0
  23. package/esm/browser/components/picture-dialog.js +116 -0
  24. package/esm/browser/components/workbench-view.js +5 -1
  25. package/esm/browser/extension/icons.js +2 -1
  26. package/esm/browser/extension/web-api-home.d.ts +13 -0
  27. package/esm/browser/extension/web-api-home.js +2 -0
  28. package/esm/browser/extension/web-extension-api.d.ts +4 -4
  29. package/esm/browser/extension/web-extension-context.js +2 -1
  30. package/esm/browser/extension/web-home.d.ts +8 -0
  31. package/esm/browser/extension/web-home.js +20 -0
  32. package/esm/browser/gateway/console-limits.d.ts +15 -0
  33. package/esm/browser/gateway/console-limits.js +2 -2
  34. package/esm/browser/gateway/console-tenant.js +33 -2
  35. package/esm/browser/gateway/console-updates.d.ts +12 -0
  36. package/esm/browser/gateway/console-updates.js +76 -0
  37. package/esm/browser/gateway/console-util.d.ts +7 -1
  38. package/esm/browser/gateway/console-util.js +18 -0
  39. package/esm/browser/gateway/console-view.js +9 -2
  40. package/esm/browser/hosts.d.ts +5 -0
  41. package/esm/browser/hosts.js +11 -0
  42. package/esm/browser/i18n/locales.d.ts +69 -3
  43. package/esm/browser/i18n/locales.js +9 -3
  44. package/esm/browser/i18n/messages-all.d.ts +7 -0
  45. package/esm/browser/i18n/messages-all.js +14 -0
  46. package/esm/browser/i18n/messages-ja.js +64 -0
  47. package/esm/browser/i18n/messages-zh-tw.js +64 -0
  48. package/esm/browser/i18n/messages.d.ts +70 -8
  49. package/esm/browser/i18n/messages.js +161 -11
  50. package/esm/browser/i18n/use-t.js +4 -3
  51. package/esm/browser/settings/settings.js +3 -1
  52. package/esm/browser/style/dialogs.d.ts +1 -1
  53. package/esm/browser/style/dialogs.js +31 -0
  54. package/esm/browser/style/pages.d.ts +1 -1
  55. package/esm/browser/style/pages.js +5 -0
  56. package/esm/browser/style/phone.d.ts +1 -1
  57. package/esm/browser/style/phone.js +2 -1
  58. package/esm/browser/style/surfaces.d.ts +1 -1
  59. package/esm/browser/style/surfaces.js +1 -0
  60. package/esm/browser/util/picture.d.ts +5 -0
  61. package/esm/browser/util/picture.js +43 -0
  62. package/esm/browser/workbench-hosts.d.ts +7 -0
  63. package/esm/browser/workbench-hosts.js +20 -0
  64. package/esm/browser/workbench-protocol.d.ts +8 -1
  65. package/esm/browser/workbench-services.d.ts +2 -1
  66. package/esm/browser/workbench-services.js +3 -0
  67. package/esm/browser/workbench-util.d.ts +1 -1
  68. package/lib/browser/account/account-side.d.ts +14 -0
  69. package/lib/browser/account/account-side.js +111 -0
  70. package/lib/browser/account/device-account.d.ts +70 -0
  71. package/lib/browser/account/device-account.js +219 -0
  72. package/lib/browser/assistant/assistant-chat-list.js +2 -1
  73. package/lib/browser/components/account-menu.d.ts +1 -1
  74. package/lib/browser/components/account-menu.js +6 -1
  75. package/lib/browser/components/account-view.d.ts +18 -0
  76. package/lib/browser/components/account-view.js +255 -0
  77. package/lib/browser/components/app-view.js +2 -2
  78. package/lib/browser/components/cloud-sign-in-view.d.ts +5 -1
  79. package/lib/browser/components/cloud-sign-in-view.js +1 -0
  80. package/lib/browser/components/dino-look.d.ts +9 -1
  81. package/lib/browser/components/dino-look.js +48 -1
  82. package/lib/browser/components/environment-view.js +11 -0
  83. package/lib/browser/components/face-pictures.d.ts +11 -0
  84. package/lib/browser/components/face-pictures.js +60 -0
  85. package/lib/browser/components/face.d.ts +4 -1
  86. package/lib/browser/components/face.js +16 -1
  87. package/lib/browser/components/host-view.d.ts +3 -1
  88. package/lib/browser/components/host-view.js +8 -0
  89. package/lib/browser/components/picture-dialog.d.ts +19 -0
  90. package/lib/browser/components/picture-dialog.js +153 -0
  91. package/lib/browser/components/workbench-view.js +5 -1
  92. package/lib/browser/extension/icons.js +1 -0
  93. package/lib/browser/extension/web-api-home.d.ts +14 -0
  94. package/lib/browser/extension/web-api-home.js +3 -0
  95. package/lib/browser/extension/web-extension-api.d.ts +4 -4
  96. package/lib/browser/extension/web-extension-context.js +2 -1
  97. package/lib/browser/extension/web-home.d.ts +8 -0
  98. package/lib/browser/extension/web-home.js +54 -1
  99. package/lib/browser/gateway/console-limits.d.ts +15 -0
  100. package/lib/browser/gateway/console-limits.js +2 -0
  101. package/lib/browser/gateway/console-tenant.js +32 -1
  102. package/lib/browser/gateway/console-updates.d.ts +13 -0
  103. package/lib/browser/gateway/console-updates.js +113 -0
  104. package/lib/browser/gateway/console-util.d.ts +7 -1
  105. package/lib/browser/gateway/console-util.js +18 -0
  106. package/lib/browser/gateway/console-view.js +9 -2
  107. package/lib/browser/hosts.d.ts +5 -0
  108. package/lib/browser/hosts.js +11 -0
  109. package/lib/browser/i18n/locales.d.ts +69 -3
  110. package/lib/browser/i18n/locales.js +8 -2
  111. package/lib/browser/i18n/messages-all.d.ts +8 -0
  112. package/lib/browser/i18n/messages-all.js +17 -0
  113. package/lib/browser/i18n/messages-ja.js +64 -0
  114. package/lib/browser/i18n/messages-zh-tw.js +64 -0
  115. package/lib/browser/i18n/messages.d.ts +70 -8
  116. package/lib/browser/i18n/messages.js +163 -13
  117. package/lib/browser/i18n/use-t.js +4 -3
  118. package/lib/browser/settings/settings.js +3 -1
  119. package/lib/browser/style/dialogs.d.ts +1 -1
  120. package/lib/browser/style/dialogs.js +31 -0
  121. package/lib/browser/style/pages.d.ts +1 -1
  122. package/lib/browser/style/pages.js +5 -0
  123. package/lib/browser/style/phone.d.ts +1 -1
  124. package/lib/browser/style/phone.js +2 -1
  125. package/lib/browser/style/surfaces.d.ts +1 -1
  126. package/lib/browser/style/surfaces.js +1 -0
  127. package/lib/browser/util/picture.d.ts +6 -0
  128. package/lib/browser/util/picture.js +46 -0
  129. package/lib/browser/workbench-hosts.d.ts +7 -0
  130. package/lib/browser/workbench-hosts.js +20 -0
  131. package/lib/browser/workbench-protocol.d.ts +8 -1
  132. package/lib/browser/workbench-services.d.ts +2 -1
  133. package/lib/browser/workbench-services.js +3 -0
  134. package/lib/browser/workbench-util.d.ts +1 -1
  135. package/package.json +7 -7
@@ -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; 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";
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; 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-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";
@@ -158,5 +158,36 @@ body:has(.ta-folder) .ta-remote-status { display: none; }
158
158
  .ta-relay-awake { display: flex; align-items: center; gap: 12px; padding: 0 4px 0 10px; }
159
159
  .ta-relay-awake-text { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 2px; }
160
160
  .ta-relay-awake-text .ta-auth-note { white-space: normal; line-height: 1.5; }
161
+ /* The account and its devices (account-view.tsx) */
162
+ .ta-account-dialog { width: min(440px, 100%); gap: 14px; padding: 16px 18px 18px; overflow-y: auto; }
163
+ .ta-account-dialog .ta-modal-title { font-size: calc(16px * var(--ta-font-scale)); }
164
+ .ta-account-hint { margin: 0; color: var(--ta-muted); font-size: calc(13px * var(--ta-font-scale)); line-height: 1.55; }
165
+ .ta-account-ways, .ta-account-signing { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
166
+ .ta-account-signing p { margin: 0; text-align: center; color: var(--ta-secondary); font-size: calc(13px * var(--ta-font-scale)); }
167
+ .ta-account-waiting { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 6px 0 2px; text-align: center; }
168
+ .ta-account-waiting strong { font-size: calc(15px * var(--ta-font-scale)); font-weight: 600; }
169
+ .ta-account-waiting p { margin: 0; color: var(--ta-muted); font-size: calc(13px * var(--ta-font-scale)); line-height: 1.55; }
170
+ .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; }
171
+ .ta-account-devices { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; list-style: none; }
172
+ .ta-account-device { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 6px 6px 6px 8px; border-radius: 12px; }
173
+ .ta-account-device.ta-waiting { background: var(--ta-hover); }
174
+ .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); }
175
+ .ta-account-device.ta-waiting .ta-account-device-icon { background: var(--ta-card); }
176
+ .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); }
177
+ .ta-account-dot.ta-on { background: var(--ta-green); }
178
+ .ta-account-device-text { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 2px; font-size: calc(14px * var(--ta-font-scale)); }
179
+ .ta-account-device-detail { color: var(--ta-muted); font-size: calc(12.5px * var(--ta-font-scale)); }
180
+ .ta-account-device-actions { flex: none; display: flex; align-items: center; gap: 6px; }
181
+ .ta-account-device-actions .ta-button { height: 30px; padding: 0 12px; }
182
+ .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); }
183
+ .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)); }
184
+ .ta-account-foot .ta-button { height: 30px; padding: 0 12px; }
185
+ .ta-account-sign-in { display: flex; width: 100%; flex-direction: column; gap: 12px; text-align: left; }
186
+ .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; }
187
+ .ta-account-ask-text { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; gap: 6px; }
188
+ .ta-account-ask-text strong { max-width: 100%; font-size: calc(14px * var(--ta-font-scale)); font-weight: 600; }
189
+ .ta-account-ask .ta-account-code { padding: 4px 10px; border-radius: 8px; font-size: calc(20px * var(--ta-font-scale)); }
190
+ .ta-account-ask-actions { grid-column: 1 / -1; display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
191
+ .ta-account-ask-actions .ta-link-button { margin-right: auto; }
161
192
  `;
162
193
  //# sourceMappingURL=dialogs.js.map
@@ -1,2 +1,2 @@
1
1
  /** The settings page, the menus of the account, the lists of Discover and Me, and the fade of what streams in. */
2
- export declare const PAGES_STYLE = "\n/* The settings: a page of the main area, a table of contents in two levels beside the sections */\n.ta-settings-page { flex: 1; min-height: 0; display: flex; flex-direction: column; }\n.ta-settings-head { justify-content: flex-start; gap: 10px; border-bottom: 1px solid var(--ta-border-muted); }\n.ta-settings-title { flex: none; font-size: calc(14px * var(--ta-font-scale)); font-weight: 600; padding-left: 8px; }\n.ta-settings-search { flex: 1; max-width: 420px; height: 32px; margin: 0 auto; display: flex; align-items: center; gap: 6px; color: var(--ta-muted); }\n.ta-settings-search input { color: var(--ta-text); }\n.ta-settings-search .ta-icon-button { width: 22px; height: 22px; }\n.ta-settings-body { flex: 1; min-height: 0; display: flex; }\n.ta-settings-toc { flex: none; width: 200px; overflow-y: auto; padding: 14px 10px; display: flex; flex-direction: column; gap: 14px; border-right: 1px solid var(--ta-border-muted); }\n.ta-settings-toc-part { display: flex; flex-direction: column; gap: 1px; }\n.ta-settings-toc-group { border: 0; background: none; text-align: left; padding: 2px 10px 4px; font-size: calc(12px * var(--ta-font-scale)); font-weight: 600; color: var(--ta-muted); }\n.ta-settings-toc-group:hover { color: var(--ta-text); }\n.ta-settings-toc-item { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 10px; border: 0; border-radius: 7px; background: none; text-align: left; font-size: calc(13px * var(--ta-font-scale)); color: var(--ta-secondary); transition: background 120ms, color 120ms; }\n.ta-settings-toc-item .ta-icon { flex: none; color: var(--ta-muted); }\n.ta-settings-toc-item:hover { background: var(--ta-hover); color: var(--ta-text); }\n.ta-settings-toc-item.ta-active { background: var(--ta-selected); color: var(--ta-text); font-weight: 500; }\n.ta-settings-scroll { flex: 1; min-width: 0; overflow-y: auto; scroll-padding-top: 16px; }\n.ta-settings-content { max-width: 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-select, .ta-setting-input, .ta-setting-control .ta-model-field { width: 200px; height: 30px; font-size: calc(12.5px * var(--ta-font-scale)); padding: 0 8px; }\n.ta-select { appearance: auto; cursor: pointer; }\n.ta-setting-input::placeholder { color: var(--ta-muted); }\n/* The settings of a phone (PhoneSettings): the sections listed as Me's rows, each a page of grouped rows. */\n.ta-head-balance { flex: none; width: 32px; }\n.ta-settings-phone > .ta-list-head { padding-left: calc(6px + env(safe-area-inset-left)); padding-right: calc(6px + env(safe-area-inset-right)); }\n.ta-settings-phone .ta-list-content { gap: 20px; padding-left: calc(12px + env(safe-area-inset-left)); padding-right: calc(12px + env(safe-area-inset-right)); }\n.ta-settings-phone .ta-settings-search { flex: none; max-width: none; height: 38px; margin: 0; padding: 0 10px; border-radius: 10px; border-color: var(--ta-border-muted); background: var(--ta-list-cell); font-size: calc(15px * var(--ta-font-scale)); }\n.ta-settings-phone-group { display: flex; flex-direction: column; gap: 6px; }\n.ta-settings-phone-caption { margin: 0 4px; font-size: calc(13px * var(--ta-font-scale)); font-weight: 500; color: var(--ta-muted); }\n.ta-settings-phone .ta-setting-card { border-radius: 12px; border-color: var(--ta-border-muted); background: var(--ta-list-cell); }\n.ta-settings-phone .ta-setting-row { min-height: 52px; padding: 12px 16px; gap: 12px; }\n.ta-settings-phone .ta-setting-row:not(.ta-stacked) > .ta-setting-text { flex: 1 1 0; }\n.ta-settings-phone .ta-setting-label { font-size: calc(15px * var(--ta-font-scale)); font-weight: 400; }\n.ta-settings-phone .ta-setting-description { margin-top: 2px; font-size: calc(13px * var(--ta-font-scale)); line-height: 1.4; }\n.ta-settings-phone .ta-setting-row.ta-stacked { gap: 10px; }\n.ta-settings-phone .ta-segmented button { height: 32px; }\n.ta-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.ta-on { background: var(--ta-hover); }\n.ta-account-menu .ta-account-item:focus-visible { outline: 1px solid var(--ta-border-focus); outline-offset: -1px; }\n.ta-menu-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-menu-chevron { color: var(--ta-muted) !important; }\n.ta-menu-check { width: 15px; flex: none; display: grid; place-items: center; color: var(--ta-text); }\n.ta-account-menu .ta-kbd { height: 18px; min-width: 18px; font-size: calc(10.5px * var(--ta-font-scale)); }\n.ta-submenu-anchor { position: relative; }\n/* The account menu sits at the foot of the window: a second menu grows up from its entry, or the last choices would fall below it. */\n.ta-submenu { left: calc(100% + 8px); top: auto; bottom: -6px; width: 180px; }\n@media (max-width: 860px), (max-height: 500px) and (pointer: coarse) {\n .ta-settings-toc { display: none; }\n .ta-settings-content { padding: 14px 14px calc(32px + env(safe-area-inset-bottom)); }\n /* No table of contents: the last section, jumped to from the menu of the account, still scrolls to the top. */\n .ta-settings-scroll { container-type: size; }\n .ta-settings-part:last-child > .ta-setting-section:last-child { min-height: calc(100cqh - 48px - env(safe-area-inset-bottom)); }\n .ta-settings-title { padding-left: 0; }\n .ta-settings-search { margin: 0; }\n .ta-setting-row:has(.ta-select, .ta-setting-input, .ta-model-field, .ta-setting-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 .ta-submenu { left: 12px; right: auto; top: auto; bottom: calc(100% + 4px); width: 200px; }\n}\n/* Discover and Me: rows in rounded groups, as the settings of a phone (list-rows.tsx) */\n.ta-list-page { flex: 1; min-height: 0; display: flex; flex-direction: column; --ta-list-bg: var(--ta-main); --ta-list-cell: var(--ta-side); background: var(--ta-list-bg); }\n:root[data-theme='light'] .ta-list-page { --ta-list-bg: var(--ta-side); --ta-list-cell: var(--ta-card); }\n.ta-list-head { border-bottom: 1px solid var(--ta-border-muted); }\n.ta-list-scroll { flex: 1; min-height: 0; overflow-y: auto; }\n.ta-list-content { max-width: 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-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-select, .ta-setting-input, .ta-setting-control .ta-model-field { width: 200px; height: 30px; font-size: calc(12.5px * var(--ta-font-scale)); padding: 0 8px; }\n.ta-select { appearance: auto; cursor: pointer; }\n.ta-setting-input::placeholder { color: var(--ta-muted); }\n/* The settings of a phone (PhoneSettings): the sections listed as Me's rows, each a page of grouped rows. */\n.ta-head-balance { flex: none; width: 32px; }\n.ta-settings-phone > .ta-list-head { padding-left: calc(6px + env(safe-area-inset-left)); padding-right: calc(6px + env(safe-area-inset-right)); }\n.ta-settings-phone .ta-list-content { gap: 20px; padding-left: calc(12px + env(safe-area-inset-left)); padding-right: calc(12px + env(safe-area-inset-right)); }\n.ta-settings-phone .ta-settings-search { flex: none; max-width: none; height: 38px; margin: 0; padding: 0 10px; border-radius: 10px; border-color: var(--ta-border-muted); background: var(--ta-list-cell); font-size: calc(15px * var(--ta-font-scale)); }\n.ta-settings-phone-group { display: flex; flex-direction: column; gap: 6px; }\n.ta-settings-phone-caption { margin: 0 4px; font-size: calc(13px * var(--ta-font-scale)); font-weight: 500; color: var(--ta-muted); }\n.ta-settings-phone .ta-setting-card { border-radius: 12px; border-color: var(--ta-border-muted); background: var(--ta-list-cell); }\n.ta-settings-phone .ta-setting-row { min-height: 52px; padding: 12px 16px; gap: 12px; }\n.ta-settings-phone .ta-setting-row:not(.ta-stacked) > .ta-setting-text { flex: 1 1 0; }\n.ta-settings-phone .ta-setting-label { font-size: calc(15px * var(--ta-font-scale)); font-weight: 400; }\n.ta-settings-phone .ta-setting-description { margin-top: 2px; font-size: calc(13px * var(--ta-font-scale)); line-height: 1.4; }\n.ta-settings-phone .ta-setting-row.ta-stacked { gap: 10px; }\n.ta-settings-phone .ta-segmented button { height: 32px; }\n.ta-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.ta-on { background: var(--ta-hover); }\n.ta-account-menu .ta-account-item:focus-visible { outline: 1px solid var(--ta-border-focus); outline-offset: -1px; }\n.ta-menu-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-menu-chevron { color: var(--ta-muted) !important; }\n.ta-menu-check { width: 15px; flex: none; display: grid; place-items: center; color: var(--ta-text); }\n.ta-account-menu .ta-kbd { height: 18px; min-width: 18px; font-size: calc(10.5px * var(--ta-font-scale)); }\n.ta-submenu-anchor { position: relative; }\n/* The account menu sits at the foot of the window: a second menu grows up from its entry, or the last choices would fall below it. */\n.ta-submenu { left: calc(100% + 8px); top: auto; bottom: -6px; width: 180px; }\n@media (max-width: 860px), (max-height: 500px) and (pointer: coarse) {\n .ta-settings-toc { display: none; }\n .ta-settings-content { padding: 14px 14px calc(32px + env(safe-area-inset-bottom)); }\n /* No table of contents: the last section, jumped to from the menu of the account, still scrolls to the top. */\n .ta-settings-scroll { container-type: size; }\n .ta-settings-part:last-child > .ta-setting-section:last-child { min-height: calc(100cqh - 48px - env(safe-area-inset-bottom)); }\n .ta-settings-title { padding-left: 0; }\n .ta-settings-search { margin: 0; }\n .ta-setting-row:has(.ta-select, .ta-setting-input, .ta-model-field, .ta-setting-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 .ta-submenu { left: 12px; right: auto; top: auto; bottom: calc(100% + 4px); width: 200px; }\n}\n/* Discover and Me: rows in rounded groups, as the settings of a phone (list-rows.tsx) */\n.ta-list-page { flex: 1; min-height: 0; display: flex; flex-direction: column; --ta-list-bg: var(--ta-main); --ta-list-cell: var(--ta-side); background: var(--ta-list-bg); }\n:root[data-theme='light'] .ta-list-page { --ta-list-bg: var(--ta-side); --ta-list-cell: var(--ta-card); }\n.ta-list-head { border-bottom: 1px solid var(--ta-border-muted); }\n.ta-list-scroll { flex: 1; min-height: 0; overflow-y: auto; }\n.ta-list-content { max-width: 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.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";
@@ -222,6 +222,11 @@ export const PAGES_STYLE = `
222
222
  .ta-scroll-held { overflow-y: clip; }
223
223
  .ta-scroll-held > * { flex-shrink: 0; }
224
224
  /* The look of the double: it walks above, the kinds of dinosaur below, then the ways it walks */
225
+ .ta-picture { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 8px 0 4px; }
226
+ .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; }
227
+ .ta-picture-actions { width: 100%; display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
228
+ .ta-picture-actions > .ta-button { height: 40px; }
229
+ .ta-picture-actions > .ta-input { height: 40px; }
225
230
  .ta-look { display: flex; flex-direction: column; gap: 10px; min-height: 0; overflow-y: auto; }
226
231
  .ta-look-stage { height: 120px; flex: none; display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 8px; }
227
232
  .ta-look-figure, .ta-look-walk { border-radius: 12px; background: var(--ta-raised); display: grid; place-items: center; }
@@ -3,4 +3,4 @@
3
3
  * workbench over it. Where each rests; the finger moves them in between (device/sheet-swipe.ts), and what
4
4
  * a sheet covers moves 30% of the way and darkens a little, as on iOS.
5
5
  */
6
- export declare const PHONE_STYLE = "\n/* Its screens slide in by transforms, never by scrolling: clipped, so that a focus or a menu that opens near an edge never scrolls it sideways. */\n.ta-phone { position: relative; display: block; overflow: clip; background: var(--ta-side); --ta-sheet: transform 360ms cubic-bezier(0.32, 0.72, 0, 1); }\n.ta-phone-home, .ta-phone-screen, .ta-phone > .ta-editors-pane { position: absolute; inset: 0; will-change: transform; transition: var(--ta-sheet); }\n.ta-phone-home { display: flex; flex-direction: column; background: var(--ta-side); }\n.ta-phone-page { flex: 1; min-height: 0; display: flex; flex-direction: column; }\n.ta-phone-page > .ta-sidebar, .ta-phone-page > .ta-main, .ta-phone-page > .ta-phone-stack > * > .ta-sidebar, .ta-phone-page > .ta-phone-stack > * > .ta-main { flex: 1; width: auto; min-height: 0; }\n.ta-phone-page > .ta-phone-stack > .ta-phone-stack-top { background: var(--ta-side); }\n.ta-phone-page .ta-chats, .ta-phone-page .ta-side-view { border-right: 0; padding-bottom: 0; padding-left: calc(8px + env(safe-area-inset-left)); padding-right: calc(8px + env(safe-area-inset-right)); }\n.ta-phone-page .ta-settings-head, .ta-phone-screen .ta-settings-head { padding-left: calc(14px + env(safe-area-inset-left)); padding-right: calc(14px + env(safe-area-inset-right)); }\n.ta-phone-screen { z-index: 2; display: flex; background: var(--ta-main); transform: translate3d(100%, 0, 0); box-shadow: -12px 0 32px rgba(0, 0, 0, 0.12); }\n.ta-phone-screen > .ta-main { flex: 1; min-width: 0; }\n.ta-phone[data-screen] .ta-phone-home { transform: translate3d(-30%, 0, 0); }\n.ta-phone[data-screen] .ta-phone-screen { transform: none; }\n.ta-phone > .ta-editors-pane { z-index: 4; width: auto; min-width: 0; max-width: none; animation: none; transform: translate3d(100%, 0, 0); box-shadow: -12px 0 32px rgba(0, 0, 0, 0.12); }\n.ta-phone[data-workbench] > .ta-editors-pane { transform: none; }\n.ta-phone[data-workbench][data-screen] .ta-phone-screen, .ta-phone[data-workbench]:not([data-screen]) .ta-phone-home { transform: translate3d(-30%, 0, 0); }\n/* What a sheet covers darkens a little, as on iOS (sheet-swipe.ts follows the finger with its opacity). */\n.ta-phone-dim { position: absolute; inset: 0; z-index: 1; background: rgba(0, 0, 0, 0.1); opacity: 0; pointer-events: none; transition: opacity 360ms cubic-bezier(0.32, 0.72, 0, 1); }\n.ta-phone-dim[data-for='workbench'] { z-index: 3; }\n.ta-phone[data-screen] > .ta-phone-dim[data-for='screen'], .ta-phone[data-workbench] > .ta-phone-dim[data-for='workbench'] { opacity: 1; }\n/*\n * A layer at rest out of sight is not drawn: its shadow would show at the edge of the screen, and the page\n * would paint what nobody sees. It goes once it has slid away, and is there at once to come in, or for a finger.\n */\n.ta-phone-screen, .ta-phone > .ta-editors-pane { visibility: hidden; transition: var(--ta-sheet), visibility 0s 360ms; }\n.ta-phone[data-screen] .ta-phone-screen, .ta-phone[data-workbench] > .ta-editors-pane { visibility: visible; transition: var(--ta-sheet); }\n.ta-phone[data-screen] .ta-phone-home, .ta-phone[data-workbench] .ta-phone-home { visibility: hidden; transition: var(--ta-sheet), visibility 0s 360ms; }\n.ta-phone[data-workbench][data-screen] .ta-phone-screen { visibility: hidden; transition: var(--ta-sheet), visibility 0s 360ms; }\n/*\n * While a finger moves a sheet, or the browser went back by itself (its own swipe was the animation), nothing slides on its own,\n * and what it uncovers is there: as specific as the rules of the layers at rest (style.spec.ts checks), so that the conversation\n * under the workbench shows while the workbench is put away.\n */\n:root[data-sheet-drag] .ta-phone > .ta-phone-home, :root[data-sheet-drag] .ta-phone > .ta-phone-screen, :root[data-sheet-drag] .ta-phone > .ta-editors-pane { visibility: visible; transition: none; }\n:root[data-sheet-drag] .ta-phone-dim { transition: none; }\n/*\n * A frame the page may not read (an HTML file, a PDF, the browser) keeps the touches on it: the left edge of the\n * workbench over it stays the page's, so that a swipe from there puts the workbench away, as iOS keeps its back\n * at the edge over web content. Frames it may read (Markdown) are listened to anywhere (sheet-swipe.ts).\n */\n.ta-phone > .ta-editors-pane .ta-editor-body:has(iframe) { position: relative; }\n.ta-phone > .ta-editors-pane .ta-editor-body:has(iframe)::before { content: ''; position: absolute; z-index: 1; top: 0; bottom: 0; left: 0; width: 24px; }\n/* A screen pushed over the screen (PhoneStack): a section of the settings over their list, as the screen over the tabs. */\n.ta-phone-stack { position: relative; flex: 1; min-height: 0; overflow: hidden; }\n.ta-phone-stack-base, .ta-phone-stack-top { position: absolute; inset: 0; display: flex; flex-direction: column; will-change: transform; transition: var(--ta-sheet); }\n.ta-phone-stack-top { z-index: 2; background: var(--ta-main); transform: translate3d(100%, 0, 0); box-shadow: -12px 0 32px rgba(0, 0, 0, 0.12); visibility: hidden; transition: var(--ta-sheet), visibility 0s 360ms; }\n.ta-phone-stack[data-open] > .ta-phone-stack-top { transform: none; visibility: visible; transition: var(--ta-sheet); }\n.ta-phone-stack[data-open] > .ta-phone-stack-base { transform: translate3d(-30%, 0, 0); visibility: hidden; transition: var(--ta-sheet), visibility 0s 360ms; }\n.ta-phone-stack[data-open] > .ta-phone-dim { opacity: 1; }\n:root[data-sheet-drag] .ta-phone-stack-base, :root[data-sheet-drag] .ta-phone-stack-top { visibility: visible; transition: none; }\n/* The tabs: a finger's height above the home indicator; away while the keyboard is up. */\n.ta-tabbar { display: flex; flex: none; padding: 0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); border-top: 1px solid var(--ta-border-muted); background: var(--ta-side); }\n:root[data-keyboard] .ta-tabbar { display: none; }\n.ta-tabbar-item { flex: 1; min-width: 0; height: 54px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 0; border: 0; background: none; color: var(--ta-muted); font-size: calc(10.5px * var(--ta-font-scale)); -webkit-tap-highlight-color: transparent; }\n.ta-tabbar-item > span { max-width: 100%; padding: 0 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-tabbar-item.ta-active { color: var(--ta-text); font-weight: 600; }\n.ta-tabbar-item > .ta-tabbar-icon { position: relative; display: inline-grid; place-items: center; max-width: none; padding: 0; overflow: visible; }\n.ta-tabbar-dot { position: absolute; top: -1px; right: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--ta-yellow); box-shadow: 0 0 0 2px var(--ta-side); }\n/* A finger drags it off as a drop (UnseenDrop): a wider grip than it looks, and the drop drawn over the page meanwhile. */\n.ta-tabbar-dot.ta-draggable { touch-action: none; }\n.ta-tabbar-dot.ta-draggable::before { content: ''; position: absolute; inset: -9px; border-radius: 50%; }\n/* The same on the entry of the double on the rail of a computer, and on the avatar of a row. */\n.ta-rail-dot { top: 6px; right: 6px; }\n.ta-chat-dot.ta-draggable { touch-action: none; cursor: grab; }\n.ta-chat-dot.ta-draggable::before { content: ''; position: absolute; inset: -10px; border-radius: 50%; }\n.ta-chat-line > .ta-chat-dot.ta-draggable { position: relative; }\n.ta-tabbar-dot[data-dragging], .ta-asks-badge[data-dragging], .ta-chat-dot[data-dragging] { visibility: hidden; }\n.ta-asks-badge.ta-draggable { pointer-events: auto; touch-action: none; cursor: grab; }\n.ta-asks-badge.ta-draggable::before { content: ''; position: absolute; inset: -8px; border-radius: 16px; }\n.ta-unseen-drag { position: fixed; inset: 0; z-index: 2147483000; width: 100%; height: 100%; overflow: visible; pointer-events: none; fill: var(--ta-yellow); }\n.ta-unseen-ring { fill: none; stroke: var(--ta-yellow); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: ta-unseen-ring 380ms ease-out forwards; }\n.ta-unseen-spark { transform-box: fill-box; transform-origin: center; animation: ta-unseen-spark 400ms cubic-bezier(0.2, 0.7, 0.3, 1) forwards; }\n.ta-unseen-drag.ta-asks { fill: var(--ta-blue); }\n.ta-unseen-drag.ta-asks .ta-unseen-ring { stroke: var(--ta-blue); }\n@keyframes ta-unseen-ring { from { transform: scale(1); opacity: 0.9; } to { transform: scale(2.6); opacity: 0; } }\n@keyframes ta-unseen-spark { to { transform: translate(var(--dx), var(--dy)) scale(0.2); opacity: 0; } }\n/* A row with a dot that the tab scrolled to (PhoneUtil.locate): lit up a moment. */\n[data-unseen][data-flash] { position: relative; }\n[data-unseen][data-flash]::after { content: ''; position: absolute; inset: 0; z-index: 2; border-radius: 12px; background: color-mix(in srgb, var(--ta-yellow) 18%, transparent); pointer-events: none; animation: ta-unseen-flash 1s ease-out forwards; }\n@keyframes ta-unseen-flash { 0%, 35% { opacity: 1; } to { opacity: 0; } }\n[data-asks][data-flash] { position: relative; }\n[data-asks][data-flash]::after { content: ''; position: absolute; inset: 0; z-index: 2; border-radius: 12px; background: color-mix(in srgb, var(--ta-blue) 16%, transparent); pointer-events: none; animation: ta-unseen-flash 1s ease-out forwards; }\n/* Sideways the height is short: the label beside the icon, as iOS lays its tabs out then. */\n@media (max-height: 500px) and (pointer: coarse) {\n .ta-tabbar-item { height: 40px; flex-direction: row; gap: 6px; font-size: calc(12px * var(--ta-font-scale)); }\n}\n\n/*\n * Over the first tab (ta-launcher.md): the launcher lies under the home, which a pull down moves to a strip at\n * the bottom (device/pull-down.ts); the board comes over it from the right, as a screen does.\n */\n.ta-phone { --ta-peek: calc(72px + env(safe-area-inset-bottom)); }\n.ta-phone-home { z-index: 1; }\n.ta-phone-launcher { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--ta-main); visibility: hidden; transition: visibility 0s 360ms; }\n/* The body moves (and so holds what is fixed in it, as menus); what scrolls is inside it. */\n.ta-phone-launcher-body { position: absolute; inset: 0; display: flex; flex-direction: column; opacity: 0; transform: translate3d(0, -36px, 0) scale(0.94); transform-origin: 50% 0; will-change: transform, opacity; transition: transform 360ms cubic-bezier(0.32, 0.72, 0, 1), opacity 360ms cubic-bezier(0.32, 0.72, 0, 1); }\n.ta-phone-launcher .ta-launcher-scroll { padding: calc(14px + env(safe-area-inset-top)) calc(16px + env(safe-area-inset-right)) calc(var(--ta-peek) + 20px) calc(16px + env(safe-area-inset-left)); }\n.ta-phone-launcher .ta-launcher-search-head { padding: calc(10px + env(safe-area-inset-top)) calc(12px + env(safe-area-inset-right)) 8px calc(12px + env(safe-area-inset-left)); }\n.ta-phone-launcher .ta-launcher-search-body { padding-bottom: calc(16px + env(safe-area-inset-bottom)); }\n:root[data-keyboard] .ta-phone-launcher .ta-launcher-search-body { padding-bottom: calc(16px + var(--ta-keyboard, 0px)); }\n/* Searching, the home goes all the way down: the page of the search has the whole screen. */\n.ta-phone[data-surface='launcher'][data-surface-stack] .ta-phone-home { transform: translate3d(0, 100%, 0); box-shadow: none; }\n.ta-phone[data-surface='launcher'][data-surface-stack] .ta-phone-peek { visibility: hidden; pointer-events: none; }\n.ta-phone[data-surface='launcher'] .ta-phone-launcher { visibility: visible; transition: none; }\n.ta-phone[data-surface='launcher'] .ta-phone-launcher-body { opacity: 1; transform: none; }\n.ta-phone[data-surface='launcher'] .ta-phone-home { transform: translate3d(0, calc(100% - var(--ta-peek)), 0); }\n.ta-phone[data-surface='launcher'] .ta-phone-home, :root[data-pull] .ta-phone-home { overflow: hidden; border-radius: 18px 18px 0 0; box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.12); }\n:root[data-pull] .ta-phone-launcher { visibility: visible; transition: none; }\n:root[data-pull] .ta-phone-launcher-body, :root[data-pull] .ta-phone-home, :root[data-sheet-drag] .ta-phone-board { transition: none; }\n.ta-phone-peek { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: var(--ta-peek); padding: 0; border: 0; background: transparent; visibility: hidden; pointer-events: none; -webkit-tap-highlight-color: transparent; }\n.ta-phone-peek::before { content: ''; position: absolute; top: 7px; left: 50%; width: 36px; height: 4px; border-radius: 2px; background: var(--ta-border-field); transform: translateX(-50%); }\n.ta-phone[data-surface='launcher'] .ta-phone-peek { visibility: visible; pointer-events: auto; }\n/* Over the screen, which a drag of it shows at the right edge with its shadow. */\n.ta-phone-board { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; background: var(--ta-side); transform: translate3d(-100%, 0, 0); box-shadow: 12px 0 32px rgba(0, 0, 0, 0.12); will-change: transform; visibility: hidden; transition: var(--ta-sheet), visibility 0s 360ms; }\n.ta-phone-board .ta-board-head { padding: calc(10px + env(safe-area-inset-top)) calc(14px + env(safe-area-inset-right)) 8px calc(8px + env(safe-area-inset-left)); }\n.ta-phone-board .ta-board-body { padding-left: calc(14px + env(safe-area-inset-left)); padding-right: calc(14px + env(safe-area-inset-right)); }\n.ta-phone[data-surface='board'] .ta-phone-board { transform: none; visibility: visible; transition: var(--ta-sheet); }\n.ta-phone[data-surface='board'] .ta-phone-home { transform: translate3d(30%, 0, 0); visibility: hidden; transition: var(--ta-sheet), visibility 0s 360ms; }\n.ta-phone-dim[data-for='board'] { z-index: 1; }\n/* The board moved by a finger: the screen and the workbench off to the right stay hidden, their shadows too. */\n:root[data-sheet-drag='board'] .ta-phone > .ta-phone-screen, :root[data-sheet-drag='board'] .ta-phone > .ta-editors-pane { visibility: hidden; }\n/* The search of the launcher put away is never seen, whatever sheet a finger moves. */\n.ta-phone-launcher[inert] .ta-phone-stack-top { visibility: hidden !important; }\n.ta-phone[data-surface='board'] > .ta-phone-dim[data-for='board'] { opacity: 1; }\n\n/* A chat on a phone: its row is a SwipeRow (style/device.ts). */\n.ta-phone .ta-chat-item:active { background: var(--ta-hover); }\n";
6
+ export declare const PHONE_STYLE = "\n/* Its screens slide in by transforms, never by scrolling: clipped, so that a focus or a menu that opens near an edge never scrolls it sideways. */\n.ta-phone { position: relative; display: block; overflow: clip; background: var(--ta-side); --ta-sheet: transform 360ms cubic-bezier(0.32, 0.72, 0, 1); }\n.ta-phone-home, .ta-phone-screen, .ta-phone > .ta-editors-pane { position: absolute; inset: 0; will-change: transform; transition: var(--ta-sheet); }\n.ta-phone-home { display: flex; flex-direction: column; background: var(--ta-side); }\n.ta-phone-page { flex: 1; min-height: 0; display: flex; flex-direction: column; }\n.ta-phone-page > .ta-sidebar, .ta-phone-page > .ta-main, .ta-phone-page > .ta-phone-stack > * > .ta-sidebar, .ta-phone-page > .ta-phone-stack > * > .ta-main { flex: 1; width: auto; min-height: 0; }\n.ta-phone-page > .ta-phone-stack > .ta-phone-stack-top { background: var(--ta-side); }\n.ta-phone-page .ta-chats, .ta-phone-page .ta-side-view { border-right: 0; padding-bottom: 0; padding-left: calc(8px + env(safe-area-inset-left)); padding-right: calc(8px + env(safe-area-inset-right)); }\n.ta-phone-page .ta-settings-head, .ta-phone-screen .ta-settings-head { padding-left: calc(14px + env(safe-area-inset-left)); padding-right: calc(14px + env(safe-area-inset-right)); }\n.ta-phone-screen { z-index: 2; display: flex; background: var(--ta-main); transform: translate3d(100%, 0, 0); box-shadow: -12px 0 32px rgba(0, 0, 0, 0.12); }\n.ta-phone-screen > .ta-main { flex: 1; min-width: 0; }\n.ta-phone[data-screen] .ta-phone-home { transform: translate3d(-30%, 0, 0); }\n.ta-phone[data-screen] .ta-phone-screen { transform: none; }\n.ta-phone > .ta-editors-pane { z-index: 4; width: auto; min-width: 0; max-width: none; animation: none; transform: translate3d(100%, 0, 0); box-shadow: -12px 0 32px rgba(0, 0, 0, 0.12); }\n.ta-phone[data-workbench] > .ta-editors-pane { transform: none; }\n.ta-phone[data-workbench][data-screen] .ta-phone-screen, .ta-phone[data-workbench]:not([data-screen]) .ta-phone-home { transform: translate3d(-30%, 0, 0); }\n/* What a sheet covers darkens a little, as on iOS (sheet-swipe.ts follows the finger with its opacity). */\n.ta-phone-dim { position: absolute; inset: 0; z-index: 1; background: rgba(0, 0, 0, 0.1); opacity: 0; pointer-events: none; transition: opacity 360ms cubic-bezier(0.32, 0.72, 0, 1); }\n.ta-phone-dim[data-for='workbench'] { z-index: 3; }\n.ta-phone[data-screen] > .ta-phone-dim[data-for='screen'], .ta-phone[data-workbench] > .ta-phone-dim[data-for='workbench'] { opacity: 1; }\n/*\n * A layer at rest out of sight is not drawn: its shadow would show at the edge of the screen, and the page\n * would paint what nobody sees. It goes once it has slid away, and is there at once to come in, or for a finger.\n */\n.ta-phone-screen, .ta-phone > .ta-editors-pane { visibility: hidden; transition: var(--ta-sheet), visibility 0s 360ms; }\n.ta-phone[data-screen] .ta-phone-screen, .ta-phone[data-workbench] > .ta-editors-pane { visibility: visible; transition: var(--ta-sheet); }\n.ta-phone[data-screen] .ta-phone-home, .ta-phone[data-workbench] .ta-phone-home { visibility: hidden; transition: var(--ta-sheet), visibility 0s 360ms; }\n.ta-phone[data-workbench][data-screen] .ta-phone-screen { visibility: hidden; transition: var(--ta-sheet), visibility 0s 360ms; }\n/*\n * While a finger moves a sheet, or the browser went back by itself (its own swipe was the animation), nothing slides on its own,\n * and what it uncovers is there: as specific as the rules of the layers at rest (style.spec.ts checks), so that the conversation\n * under the workbench shows while the workbench is put away.\n */\n:root[data-sheet-drag] .ta-phone > .ta-phone-home, :root[data-sheet-drag] .ta-phone > .ta-phone-screen, :root[data-sheet-drag] .ta-phone > .ta-editors-pane { visibility: visible; transition: none; }\n:root[data-sheet-drag] .ta-phone-dim { transition: none; }\n/*\n * A frame the page may not read (an HTML file, a PDF, the browser) keeps the touches on it: the left edge of the\n * workbench over it stays the page's, so that a swipe from there puts the workbench away, as iOS keeps its back\n * at the edge over web content. Frames it may read (Markdown) are listened to anywhere (sheet-swipe.ts).\n */\n.ta-phone > .ta-editors-pane .ta-editor-body:has(iframe) { position: relative; }\n.ta-phone > .ta-editors-pane .ta-editor-body:has(iframe)::before { content: ''; position: absolute; z-index: 1; top: 0; bottom: 0; left: 0; width: 24px; }\n/* A screen pushed over the screen (PhoneStack): a section of the settings over their list, as the screen over the tabs. */\n/* clip, not hidden: a focus or scrollIntoView inside must not scroll the level off-screen into view sideways */\n.ta-phone-stack { position: relative; flex: 1; min-height: 0; overflow: hidden; overflow: clip; }\n.ta-phone-stack-base, .ta-phone-stack-top { position: absolute; inset: 0; display: flex; flex-direction: column; will-change: transform; transition: var(--ta-sheet); }\n.ta-phone-stack-top { z-index: 2; background: var(--ta-main); transform: translate3d(100%, 0, 0); box-shadow: -12px 0 32px rgba(0, 0, 0, 0.12); visibility: hidden; transition: var(--ta-sheet), visibility 0s 360ms; }\n.ta-phone-stack[data-open] > .ta-phone-stack-top { transform: none; visibility: visible; transition: var(--ta-sheet); }\n.ta-phone-stack[data-open] > .ta-phone-stack-base { transform: translate3d(-30%, 0, 0); visibility: hidden; transition: var(--ta-sheet), visibility 0s 360ms; }\n.ta-phone-stack[data-open] > .ta-phone-dim { opacity: 1; }\n:root[data-sheet-drag] .ta-phone-stack-base, :root[data-sheet-drag] .ta-phone-stack-top { visibility: visible; transition: none; }\n/* The tabs: a finger's height above the home indicator; away while the keyboard is up. */\n.ta-tabbar { display: flex; flex: none; padding: 0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); border-top: 1px solid var(--ta-border-muted); background: var(--ta-side); }\n:root[data-keyboard] .ta-tabbar { display: none; }\n.ta-tabbar-item { flex: 1; min-width: 0; height: 54px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 0; border: 0; background: none; color: var(--ta-muted); font-size: calc(10.5px * var(--ta-font-scale)); -webkit-tap-highlight-color: transparent; }\n.ta-tabbar-item > span { max-width: 100%; padding: 0 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-tabbar-item.ta-active { color: var(--ta-text); font-weight: 600; }\n.ta-tabbar-item > .ta-tabbar-icon { position: relative; display: inline-grid; place-items: center; max-width: none; padding: 0; overflow: visible; }\n.ta-tabbar-dot { position: absolute; top: -1px; right: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--ta-yellow); box-shadow: 0 0 0 2px var(--ta-side); }\n/* A finger drags it off as a drop (UnseenDrop): a wider grip than it looks, and the drop drawn over the page meanwhile. */\n.ta-tabbar-dot.ta-draggable { touch-action: none; }\n.ta-tabbar-dot.ta-draggable::before { content: ''; position: absolute; inset: -9px; border-radius: 50%; }\n/* The same on the entry of the double on the rail of a computer, and on the avatar of a row. */\n.ta-rail-dot { top: 6px; right: 6px; }\n.ta-chat-dot.ta-draggable { touch-action: none; cursor: grab; }\n.ta-chat-dot.ta-draggable::before { content: ''; position: absolute; inset: -10px; border-radius: 50%; }\n.ta-chat-line > .ta-chat-dot.ta-draggable { position: relative; }\n.ta-tabbar-dot[data-dragging], .ta-asks-badge[data-dragging], .ta-chat-dot[data-dragging] { visibility: hidden; }\n.ta-asks-badge.ta-draggable { pointer-events: auto; touch-action: none; cursor: grab; }\n.ta-asks-badge.ta-draggable::before { content: ''; position: absolute; inset: -8px; border-radius: 16px; }\n.ta-unseen-drag { position: fixed; inset: 0; z-index: 2147483000; width: 100%; height: 100%; overflow: visible; pointer-events: none; fill: var(--ta-yellow); }\n.ta-unseen-ring { fill: none; stroke: var(--ta-yellow); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: ta-unseen-ring 380ms ease-out forwards; }\n.ta-unseen-spark { transform-box: fill-box; transform-origin: center; animation: ta-unseen-spark 400ms cubic-bezier(0.2, 0.7, 0.3, 1) forwards; }\n.ta-unseen-drag.ta-asks { fill: var(--ta-blue); }\n.ta-unseen-drag.ta-asks .ta-unseen-ring { stroke: var(--ta-blue); }\n@keyframes ta-unseen-ring { from { transform: scale(1); opacity: 0.9; } to { transform: scale(2.6); opacity: 0; } }\n@keyframes ta-unseen-spark { to { transform: translate(var(--dx), var(--dy)) scale(0.2); opacity: 0; } }\n/* A row with a dot that the tab scrolled to (PhoneUtil.locate): lit up a moment. */\n[data-unseen][data-flash] { position: relative; }\n[data-unseen][data-flash]::after { content: ''; position: absolute; inset: 0; z-index: 2; border-radius: 12px; background: color-mix(in srgb, var(--ta-yellow) 18%, transparent); pointer-events: none; animation: ta-unseen-flash 1s ease-out forwards; }\n@keyframes ta-unseen-flash { 0%, 35% { opacity: 1; } to { opacity: 0; } }\n[data-asks][data-flash] { position: relative; }\n[data-asks][data-flash]::after { content: ''; position: absolute; inset: 0; z-index: 2; border-radius: 12px; background: color-mix(in srgb, var(--ta-blue) 16%, transparent); pointer-events: none; animation: ta-unseen-flash 1s ease-out forwards; }\n/* Sideways the height is short: the label beside the icon, as iOS lays its tabs out then. */\n@media (max-height: 500px) and (pointer: coarse) {\n .ta-tabbar-item { height: 40px; flex-direction: row; gap: 6px; font-size: calc(12px * var(--ta-font-scale)); }\n}\n\n/*\n * Over the first tab (ta-launcher.md): the launcher lies under the home, which a pull down moves to a strip at\n * the bottom (device/pull-down.ts); the board comes over it from the right, as a screen does.\n */\n.ta-phone { --ta-peek: calc(72px + env(safe-area-inset-bottom)); }\n.ta-phone-home { z-index: 1; }\n.ta-phone-launcher { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--ta-main); visibility: hidden; transition: visibility 0s 360ms; }\n/* The body moves (and so holds what is fixed in it, as menus); what scrolls is inside it. */\n.ta-phone-launcher-body { position: absolute; inset: 0; display: flex; flex-direction: column; opacity: 0; transform: translate3d(0, -36px, 0) scale(0.94); transform-origin: 50% 0; will-change: transform, opacity; transition: transform 360ms cubic-bezier(0.32, 0.72, 0, 1), opacity 360ms cubic-bezier(0.32, 0.72, 0, 1); }\n.ta-phone-launcher .ta-launcher-scroll { padding: calc(14px + env(safe-area-inset-top)) calc(16px + env(safe-area-inset-right)) calc(var(--ta-peek) + 20px) calc(16px + env(safe-area-inset-left)); }\n.ta-phone-launcher .ta-launcher-search-head { padding: calc(10px + env(safe-area-inset-top)) calc(12px + env(safe-area-inset-right)) 8px calc(12px + env(safe-area-inset-left)); }\n.ta-phone-launcher .ta-launcher-search-body { padding-bottom: calc(16px + env(safe-area-inset-bottom)); }\n:root[data-keyboard] .ta-phone-launcher .ta-launcher-search-body { padding-bottom: calc(16px + var(--ta-keyboard, 0px)); }\n/* Searching, the home goes all the way down: the page of the search has the whole screen. */\n.ta-phone[data-surface='launcher'][data-surface-stack] .ta-phone-home { transform: translate3d(0, 100%, 0); box-shadow: none; }\n.ta-phone[data-surface='launcher'][data-surface-stack] .ta-phone-peek { visibility: hidden; pointer-events: none; }\n.ta-phone[data-surface='launcher'] .ta-phone-launcher { visibility: visible; transition: none; }\n.ta-phone[data-surface='launcher'] .ta-phone-launcher-body { opacity: 1; transform: none; }\n.ta-phone[data-surface='launcher'] .ta-phone-home { transform: translate3d(0, calc(100% - var(--ta-peek)), 0); }\n.ta-phone[data-surface='launcher'] .ta-phone-home, :root[data-pull] .ta-phone-home { overflow: hidden; border-radius: 18px 18px 0 0; box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.12); }\n:root[data-pull] .ta-phone-launcher { visibility: visible; transition: none; }\n:root[data-pull] .ta-phone-launcher-body, :root[data-pull] .ta-phone-home, :root[data-sheet-drag] .ta-phone-board { transition: none; }\n.ta-phone-peek { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: var(--ta-peek); padding: 0; border: 0; background: transparent; visibility: hidden; pointer-events: none; -webkit-tap-highlight-color: transparent; }\n.ta-phone-peek::before { content: ''; position: absolute; top: 7px; left: 50%; width: 36px; height: 4px; border-radius: 2px; background: var(--ta-border-field); transform: translateX(-50%); }\n.ta-phone[data-surface='launcher'] .ta-phone-peek { visibility: visible; pointer-events: auto; }\n/* Over the screen, which a drag of it shows at the right edge with its shadow. */\n.ta-phone-board { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; background: var(--ta-side); transform: translate3d(-100%, 0, 0); box-shadow: 12px 0 32px rgba(0, 0, 0, 0.12); will-change: transform; visibility: hidden; transition: var(--ta-sheet), visibility 0s 360ms; }\n.ta-phone-board .ta-board-head { padding: calc(10px + env(safe-area-inset-top)) calc(14px + env(safe-area-inset-right)) 8px calc(8px + env(safe-area-inset-left)); }\n.ta-phone-board .ta-board-body { padding-left: calc(14px + env(safe-area-inset-left)); padding-right: calc(14px + env(safe-area-inset-right)); }\n.ta-phone[data-surface='board'] .ta-phone-board { transform: none; visibility: visible; transition: var(--ta-sheet); }\n.ta-phone[data-surface='board'] .ta-phone-home { transform: translate3d(30%, 0, 0); visibility: hidden; transition: var(--ta-sheet), visibility 0s 360ms; }\n.ta-phone-dim[data-for='board'] { z-index: 1; }\n/* The board moved by a finger: the screen and the workbench off to the right stay hidden, their shadows too. */\n:root[data-sheet-drag='board'] .ta-phone > .ta-phone-screen, :root[data-sheet-drag='board'] .ta-phone > .ta-editors-pane { visibility: hidden; }\n/* The search of the launcher put away is never seen, whatever sheet a finger moves. */\n.ta-phone-launcher[inert] .ta-phone-stack-top { visibility: hidden !important; }\n.ta-phone[data-surface='board'] > .ta-phone-dim[data-for='board'] { opacity: 1; }\n\n/* A chat on a phone: its row is a SwipeRow (style/device.ts). */\n.ta-phone .ta-chat-item:active { background: var(--ta-hover); }\n";
@@ -49,7 +49,8 @@ export const PHONE_STYLE = `
49
49
  .ta-phone > .ta-editors-pane .ta-editor-body:has(iframe) { position: relative; }
50
50
  .ta-phone > .ta-editors-pane .ta-editor-body:has(iframe)::before { content: ''; position: absolute; z-index: 1; top: 0; bottom: 0; left: 0; width: ${SwipeUtil.EDGE_PX}px; }
51
51
  /* A screen pushed over the screen (PhoneStack): a section of the settings over their list, as the screen over the tabs. */
52
- .ta-phone-stack { position: relative; flex: 1; min-height: 0; overflow: hidden; }
52
+ /* clip, not hidden: a focus or scrollIntoView inside must not scroll the level off-screen into view sideways */
53
+ .ta-phone-stack { position: relative; flex: 1; min-height: 0; overflow: hidden; overflow: clip; }
53
54
  .ta-phone-stack-base, .ta-phone-stack-top { position: absolute; inset: 0; display: flex; flex-direction: column; will-change: transform; transition: var(--ta-sheet); }
54
55
  .ta-phone-stack-top { z-index: 2; background: var(--ta-main); transform: translate3d(100%, 0, 0); box-shadow: -12px 0 32px rgba(0, 0, 0, 0.12); visibility: hidden; transition: var(--ta-sheet), visibility 0s 360ms; }
55
56
  .ta-phone-stack[data-open] > .ta-phone-stack-top { transform: none; visibility: visible; transition: var(--ta-sheet); }
@@ -2,4 +2,4 @@
2
2
  * The launcher and the board (ta-launcher.md, components/board.tsx): their cards and rows, and the flyout
3
3
  * the rail opens them in on a computer or a tablet. Where they rest on a phone is in style/phone.ts.
4
4
  */
5
- export declare const SURFACES_STYLE = "\n.ta-kept-page { display: contents; }\n.ta-kept-page[hidden] { display: none; }\n/* Under the head of a page of an extension (PageView): what is taller than the window scrolls, never sideways. */\n.ta-page-body { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; }\n.ta-launcher { display: flex; flex-direction: column; gap: 24px; }\n/* The launcher with its search: the stack fills it, its base scrolls. */\n.ta-launcher-surface { flex: 1; min-height: 0; display: flex; flex-direction: column; }\n.ta-launcher-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 14px 16px 18px; }\n.ta-launcher-field { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 36px; margin-bottom: 18px; padding: 0 12px; border: 0; border-radius: 10px; background: var(--ta-raised); color: var(--ta-muted); font: inherit; font-size: calc(14px * var(--ta-font-scale)); cursor: text; -webkit-tap-highlight-color: transparent; transition: background 140ms; }\n.ta-launcher-field:active { background: var(--ta-hover); }\n.ta-launcher-search { flex: 1; min-height: 0; display: flex; flex-direction: column; background: var(--ta-main); }\n.ta-launcher-search-head { flex: none; display: flex; align-items: center; gap: 4px; padding: 10px 12px 8px; }\n.ta-launcher-search-head input::-webkit-search-cancel-button { display: none; }\n.ta-launcher-clear { flex: none; display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--ta-muted); }\n.ta-launcher-cancel { flex: none; height: 36px; padding: 0 8px; border: 0; background: none; color: var(--ta-text); font: inherit; font-size: calc(15px * var(--ta-font-scale)); cursor: pointer; }\n.ta-launcher-search-body { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; padding: 4px 8px 16px; }\n.ta-launcher-results { margin: 0; padding: 0; list-style: none; animation: ta-fade 120ms ease-out; }\n.ta-launcher-results-section + .ta-launcher-results-section { margin-top: 14px; }\n.ta-launcher-results-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 28px; padding: 0 8px; color: var(--ta-muted); font-size: calc(12.5px * var(--ta-font-scale)); line-height: calc(16px * var(--ta-font-scale)); font-weight: 600; }\n.ta-launcher-results-all { border: 0; padding: 4px 0; background: none; color: var(--ta-link); font: inherit; font-weight: 500; cursor: pointer; }\n.ta-launcher-more { height: 1px; }\n/* A long list draws the rows in view only; the rest keep their place. */\n.ta-launcher-result-row { position: relative; display: flex; align-items: center; content-visibility: auto; contain-intrinsic-size: auto 56px; }\n.ta-launcher-result-row > .ta-launcher-result { flex: 1; min-width: 0; }\n.ta-launcher-result-letter { font-size: calc(15px * var(--ta-font-scale)); font-weight: 600; }\n.ta-launcher-result-action { flex: none; position: absolute; right: 8px; height: 28px; padding: 0 12px; border: 0; border-radius: 14px; background: var(--ta-chip); color: var(--ta-text); font: inherit; font-size: calc(12.5px * var(--ta-font-scale)); font-weight: 600; cursor: pointer; transition: background 140ms, transform 120ms var(--ta-ease); }\n.ta-launcher-result-action:hover { background: var(--ta-hover-strong); }\n.ta-launcher-result-action:active { transform: scale(0.95); }\n.ta-launcher-result-row:has(.ta-launcher-result-action) .ta-launcher-result { padding-right: 84px; }\n/* The share sheet (share-sheet.tsx): the card of what goes, its code and link, the actions in a row, notes, Stop. */\n.ta-share { display: flex; flex-direction: column; align-items: stretch; gap: 14px; padding: 2px 2px 4px; }\n.ta-share-card { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 18px 16px 14px; border-radius: 16px; background: var(--ta-raised); }\n.ta-share-who { display: flex; align-items: center; gap: 12px; align-self: stretch; min-width: 0; }\n.ta-share-face { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; overflow: hidden; background: var(--ta-tile); color: var(--ta-tile-ink); }\n.ta-share-who-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }\n.ta-share-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: calc(15px * var(--ta-font-scale)); font-weight: 600; }\n.ta-share-gets { color: var(--ta-secondary); font-size: calc(12.5px * var(--ta-font-scale)); line-height: calc(18px * var(--ta-font-scale)); }\n.ta-share-qr { width: 196px; height: 196px; padding: 10px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--ta-border-muted); }\n.ta-share-qr svg { display: block; width: 100%; height: 100%; border-radius: 0; animation: ta-fade 160ms ease-out; }\n.ta-share-qr-busy { display: grid; place-items: center; background: var(--ta-card); }\n.ta-share-link { align-self: stretch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; color: var(--ta-muted); font-family: var(--ta-mono); font-size: calc(11.5px * var(--ta-font-scale)); user-select: all; }\n.ta-share-password { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; background: var(--ta-raised); color: var(--ta-secondary); font-size: calc(12.5px * var(--ta-font-scale)); }\n.ta-share-password > span { flex: 1; min-width: 0; }\n.ta-share-password code { color: var(--ta-text); font-family: var(--ta-mono); }\n.ta-share-tiles { display: flex; justify-content: center; gap: 4px; }\n.ta-share-tile { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 76px; padding: 4px 0; border: 0; background: none; color: var(--ta-text); font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }\n.ta-share-tile:disabled { opacity: 0.45; cursor: default; }\n.ta-share-tile-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ta-raised); transition: background 140ms, transform 120ms var(--ta-ease); }\n.ta-share-tile:not(:disabled):hover .ta-share-tile-icon { background: var(--ta-hover-strong); }\n.ta-share-tile:not(:disabled):active .ta-share-tile-icon { transform: scale(0.94); }\n.ta-share-tile-label { color: var(--ta-secondary); font-size: calc(12px * var(--ta-font-scale)); white-space: nowrap; }\n.ta-share-friends { display: flex; flex-direction: column; gap: 10px; }\n.ta-share-friend-list { display: flex; flex-direction: column; gap: 2px; max-height: 240px; margin: 0; padding: 0; overflow-y: auto; list-style: none; }\n.ta-share-friend { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 6px 8px; border: 0; border-radius: 12px; background: none; color: var(--ta-text); font: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }\n.ta-share-friend:hover { background: var(--ta-hover); }\n.ta-share-friend-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: calc(14px * var(--ta-font-scale)); }\n.ta-share-friend-check { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border: 1.5px solid var(--ta-border-field); border-radius: 50%; color: var(--ta-brand-text); transition: background 140ms, border-color 140ms; }\n.ta-share-friend.ta-on .ta-share-friend-check { border-color: var(--ta-brand); background: var(--ta-brand); }\n.ta-share-friends-actions { display: flex; justify-content: flex-end; gap: 8px; }\n.ta-share-notes { display: flex; flex-direction: column; gap: 4px; padding: 0 4px; }\n.ta-share-notes p { margin: 0; text-align: center; color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); line-height: calc(17px * var(--ta-font-scale)); text-wrap: balance; }\n.ta-share-stop { position: relative; align-self: center; border: 0; padding: 4px 8px; background: none; color: var(--ta-red); font: inherit; font-size: calc(12.5px * var(--ta-font-scale)); cursor: pointer; }\n.ta-launcher-result { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 6px 8px; border: 0; border-radius: 12px; background: none; color: var(--ta-text); font: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }\n.ta-launcher-result:hover, .ta-launcher-result:active { background: var(--ta-hover); }\n.ta-launcher-result-icon { flex: none; position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--ta-tile); color: var(--ta-tile-ink); }\n.ta-launcher-result-icon > .ta-busy-mark { width: 16px; height: 16px; border-color: color-mix(in srgb, var(--ta-tile-ink) 25%, transparent); border-top-color: var(--ta-tile-ink); }\n.ta-launcher-result-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }\n.ta-launcher-result-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: calc(15px * var(--ta-font-scale)); line-height: calc(20px * var(--ta-font-scale)); }\n.ta-launcher-result-title mark { background: none; color: var(--ta-accent); font-weight: 600; }\n.ta-launcher-result-detail { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); line-height: calc(16px * var(--ta-font-scale)); }\n.ta-board { flex: 1; min-height: 0; display: flex; flex-direction: column; }\n.ta-board-head { flex: none; display: flex; align-items: center; gap: 6px; min-height: 64px; padding: 6px 14px 6px 16px; }\n.ta-board-heading { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }\n.ta-board-title { font-size: calc(22px * var(--ta-font-scale)); line-height: calc(28px * var(--ta-font-scale)); font-weight: 700; letter-spacing: -0.01em; color: var(--ta-text); }\n.ta-board-date { color: var(--ta-muted); font-size: calc(12.5px * var(--ta-font-scale)); line-height: calc(17px * var(--ta-font-scale)); }\n.ta-board-edit-button { flex: none; height: 30px; padding: 0 14px; border: 0; border-radius: 15px; background: var(--ta-chip); color: var(--ta-text); font-size: calc(13px * var(--ta-font-scale)); font-weight: 500; transition: background 160ms, color 160ms, transform 120ms var(--ta-ease); }\n.ta-board-edit-button:hover { background: var(--ta-hover-strong); }\n.ta-board-edit-button:active { transform: scale(0.96); }\n.ta-board-edit-button.ta-active { background: var(--ta-brand); color: var(--ta-brand-text); }\n.ta-board-body { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; padding: 2px 14px calc(20px + env(safe-area-inset-bottom)); }\n.ta-board-cards { display: flex; flex-direction: column; gap: 12px; }\n.ta-board-card { padding: 12px 14px 14px; border-radius: 20px; background: var(--ta-main); box-shadow: 0 0 0 1px var(--ta-border-muted), 0 2px 6px rgba(15, 23, 42, 0.03), 0 8px 24px rgba(15, 23, 42, 0.04); animation: ta-board-in 260ms var(--ta-ease) both; }\n:root[data-theme='dark'] .ta-board-card { background: var(--ta-card); box-shadow: 0 0 0 1px var(--ta-border-muted); }\n@keyframes ta-board-in { from { opacity: 0; transform: translate3d(0, 6px, 0); } }\n.ta-board-card-head { display: flex; align-items: center; gap: 7px; margin-bottom: 10px; color: var(--ta-secondary); font-size: calc(12.5px * var(--ta-font-scale)); line-height: calc(18px * var(--ta-font-scale)); font-weight: 600; }\n.ta-board-card-icon { flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: color-mix(in srgb, var(--ta-accent) 14%, transparent); color: var(--ta-accent); }\n.ta-board-card-body { min-width: 0; color: var(--ta-body); font-size: calc(14px * var(--ta-font-scale)); }\n/* A card with nothing says so in one quiet line, where its content would start. */\n.ta-board-card-body .ta-empty { min-height: 0; align-items: flex-start; padding: 0 0 2px; text-align: left; }\n.ta-board-card-body .ta-empty-title { color: var(--ta-muted); font-weight: 400; }\n.ta-board-edit { display: flex; flex-direction: column; animation: ta-fade 160ms ease-out; }\n.ta-board-rows { display: flex; flex-direction: column; border-radius: 14px; background: var(--ta-main); box-shadow: 0 0 0 1px var(--ta-border-muted); }\n.ta-board-row { position: relative; display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 4px 0 10px; border-radius: 14px; background: var(--ta-main); transition: transform 200ms var(--ta-ease), box-shadow 160ms; }\n.ta-board-row + .ta-board-row::before { content: ''; position: absolute; top: 0; left: 76px; right: 0; border-top: 1px solid var(--ta-border-muted); }\n.ta-board-row[data-sorting] { z-index: 2; transition: box-shadow 160ms; box-shadow: var(--ta-shadow-pop); }\n.ta-board-row[data-sorting]::before, .ta-board-row[data-sorting] + .ta-board-row::before { display: none; }\n.ta-board-toggle { flex: none; display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; background: none; }\n.ta-board-off { color: var(--ta-red); }\n.ta-board-on { color: var(--ta-green); }\n.ta-board-row-icon { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--ta-chip); color: var(--ta-secondary); }\n.ta-board-row-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ta-text); font-size: calc(15px * var(--ta-font-scale)); }\n.ta-board-grip { flex: none; display: grid; place-items: center; width: 44px; height: 48px; padding: 0; border: 0; background: none; color: var(--ta-muted); cursor: grab; touch-action: none; }\n.ta-board-row[data-sorting] .ta-board-grip { cursor: grabbing; }\n.ta-board-label { margin: 20px 6px 8px; color: var(--ta-muted); font-size: calc(12.5px * var(--ta-font-scale)); line-height: calc(16px * var(--ta-font-scale)); }\n\n/* The rail's buttons for them, above the account; the flyout beside it. */\n.ta-rail-tools { flex: none; display: flex; flex-direction: column; align-items: center; gap: 4px; margin-bottom: 4px; }\n.ta-flyout { position: fixed; z-index: 50; left: calc(64px + env(safe-area-inset-left)); bottom: calc(10px + env(safe-area-inset-bottom)); width: 380px; max-width: calc(100vw - 80px); max-height: min(680px, calc(100vh - 20px - var(--ta-titlebar))); display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--ta-border); border-radius: 16px; background: var(--ta-side); box-shadow: var(--ta-shadow-pop); transform-origin: 0 100%; animation: ta-flyout-in 180ms var(--ta-ease); }\n.ta-flyout > .ta-launcher-surface { height: min(560px, calc(100vh - 20px - var(--ta-titlebar))); flex: none; }\n@keyframes ta-flyout-in { from { opacity: 0; transform: translate3d(-6px, 6px, 0) scale(0.97); } }\n/* The faces of those who are not Ta (components/face.tsx): they blink, and look about while they work */\n:root:not([data-theme='light']) .ta-face[data-face=\"11\"] .ta-face-body > g > circle { fill: #4a4a52; }\n.ta-face { position: relative; display: inline-flex; flex: none; }\n.ta-face svg { display: block; overflow: visible; }\n.ta-face-double { align-items: center; justify-content: center; }\n.ta-face-eyes { transform-box: fill-box; transform-origin: center; animation: ta-face-blink 5.2s infinite; }\n.ta-face[data-face=\"1\"] .ta-face-eyes, .ta-face[data-face=\"5\"] .ta-face-eyes, .ta-face[data-face=\"9\"] .ta-face-eyes, .ta-face[data-face=\"13\"] .ta-face-eyes, .ta-face[data-face=\"17\"] .ta-face-eyes, .ta-face[data-face=\"21\"] .ta-face-eyes { animation-delay: -1.7s; }\n.ta-face[data-face=\"2\"] .ta-face-eyes, .ta-face[data-face=\"6\"] .ta-face-eyes, .ta-face[data-face=\"10\"] .ta-face-eyes, .ta-face[data-face=\"14\"] .ta-face-eyes, .ta-face[data-face=\"18\"] .ta-face-eyes, .ta-face[data-face=\"22\"] .ta-face-eyes { animation-delay: -3.1s; }\n.ta-face[data-face=\"3\"] .ta-face-eyes, .ta-face[data-face=\"7\"] .ta-face-eyes, .ta-face[data-face=\"11\"] .ta-face-eyes, .ta-face[data-face=\"15\"] .ta-face-eyes, .ta-face[data-face=\"19\"] .ta-face-eyes, .ta-face[data-face=\"23\"] .ta-face-eyes { animation-delay: -4.4s; }\n.ta-face-working .ta-face-look { animation: ta-face-look 2.4s ease-in-out infinite; }\n.ta-face-working .ta-face-body { transform-box: fill-box; transform-origin: 50% 100%; animation: ta-face-bob 1.2s ease-in-out infinite; }\n.ta-face-dot { position: absolute; right: -1px; bottom: -1px; width: 27%; height: 27%; min-width: 7px; min-height: 7px; box-sizing: content-box; border-radius: 50%; border: 2px solid var(--ta-face-ring, var(--ta-main)); background: var(--ta-border-field); }\n.ta-face-dot.ta-face-on { background: var(--ta-green); }\n@keyframes ta-face-blink { 0%, 94%, 100% { transform: scaleY(1); } 97% { transform: scaleY(0.1); } }\n@keyframes ta-face-look { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-1.4px); } 70% { transform: translateX(1.4px); } }\n@keyframes ta-face-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1.2px); } }\n@media (prefers-reduced-motion: reduce) { .ta-face * { animation: none !important; } }\n.ta-group-face { position: relative; display: inline-flex; flex: none; }\n.ta-group-face-back { position: absolute; right: 0; top: 0; }\n.ta-group-face-front { position: absolute; left: 0; bottom: 0; z-index: 1; }\n";
5
+ export declare const SURFACES_STYLE = "\n.ta-kept-page { display: contents; }\n.ta-kept-page[hidden] { display: none; }\n/* Under the head of a page of an extension (PageView): what is taller than the window scrolls, never sideways. */\n.ta-page-body { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; }\n.ta-launcher { display: flex; flex-direction: column; gap: 24px; }\n/* The launcher with its search: the stack fills it, its base scrolls. */\n.ta-launcher-surface { flex: 1; min-height: 0; display: flex; flex-direction: column; }\n.ta-launcher-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 14px 16px 18px; }\n.ta-launcher-field { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 36px; margin-bottom: 18px; padding: 0 12px; border: 0; border-radius: 10px; background: var(--ta-raised); color: var(--ta-muted); font: inherit; font-size: calc(14px * var(--ta-font-scale)); cursor: text; -webkit-tap-highlight-color: transparent; transition: background 140ms; }\n.ta-launcher-field:active { background: var(--ta-hover); }\n.ta-launcher-search { flex: 1; min-height: 0; display: flex; flex-direction: column; background: var(--ta-main); }\n.ta-launcher-search-head { flex: none; display: flex; align-items: center; gap: 4px; padding: 10px 12px 8px; }\n.ta-launcher-search-head input::-webkit-search-cancel-button { display: none; }\n.ta-launcher-clear { flex: none; display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--ta-muted); }\n.ta-launcher-cancel { flex: none; height: 36px; padding: 0 8px; border: 0; background: none; color: var(--ta-text); font: inherit; font-size: calc(15px * var(--ta-font-scale)); cursor: pointer; }\n.ta-launcher-search-body { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; padding: 4px 8px 16px; }\n.ta-launcher-results { margin: 0; padding: 0; list-style: none; animation: ta-fade 120ms ease-out; }\n.ta-launcher-results-section + .ta-launcher-results-section { margin-top: 14px; }\n.ta-launcher-results-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 28px; padding: 0 8px; color: var(--ta-muted); font-size: calc(12.5px * var(--ta-font-scale)); line-height: calc(16px * var(--ta-font-scale)); font-weight: 600; }\n.ta-launcher-results-all { border: 0; padding: 4px 0; background: none; color: var(--ta-link); font: inherit; font-weight: 500; cursor: pointer; }\n.ta-launcher-more { height: 1px; }\n/* A long list draws the rows in view only; the rest keep their place. */\n.ta-launcher-result-row { position: relative; display: flex; align-items: center; content-visibility: auto; contain-intrinsic-size: auto 56px; }\n.ta-launcher-result-row > .ta-launcher-result { flex: 1; min-width: 0; }\n.ta-launcher-result-letter { font-size: calc(15px * var(--ta-font-scale)); font-weight: 600; }\n.ta-launcher-result-action { flex: none; position: absolute; right: 8px; height: 28px; padding: 0 12px; border: 0; border-radius: 14px; background: var(--ta-chip); color: var(--ta-text); font: inherit; font-size: calc(12.5px * var(--ta-font-scale)); font-weight: 600; cursor: pointer; transition: background 140ms, transform 120ms var(--ta-ease); }\n.ta-launcher-result-action:hover { background: var(--ta-hover-strong); }\n.ta-launcher-result-action:active { transform: scale(0.95); }\n.ta-launcher-result-row:has(.ta-launcher-result-action) .ta-launcher-result { padding-right: 84px; }\n/* The share sheet (share-sheet.tsx): the card of what goes, its code and link, the actions in a row, notes, Stop. */\n.ta-share { display: flex; flex-direction: column; align-items: stretch; gap: 14px; padding: 2px 2px 4px; }\n.ta-share-card { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 18px 16px 14px; border-radius: 16px; background: var(--ta-raised); }\n.ta-share-who { display: flex; align-items: center; gap: 12px; align-self: stretch; min-width: 0; }\n.ta-share-face { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; overflow: hidden; background: var(--ta-tile); color: var(--ta-tile-ink); }\n.ta-share-who-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }\n.ta-share-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: calc(15px * var(--ta-font-scale)); font-weight: 600; }\n.ta-share-gets { color: var(--ta-secondary); font-size: calc(12.5px * var(--ta-font-scale)); line-height: calc(18px * var(--ta-font-scale)); }\n.ta-share-qr { width: 196px; height: 196px; padding: 10px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--ta-border-muted); }\n.ta-share-qr svg { display: block; width: 100%; height: 100%; border-radius: 0; animation: ta-fade 160ms ease-out; }\n.ta-share-qr-busy { display: grid; place-items: center; background: var(--ta-card); }\n.ta-share-link { align-self: stretch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; color: var(--ta-muted); font-family: var(--ta-mono); font-size: calc(11.5px * var(--ta-font-scale)); user-select: all; }\n.ta-share-password { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; background: var(--ta-raised); color: var(--ta-secondary); font-size: calc(12.5px * var(--ta-font-scale)); }\n.ta-share-password > span { flex: 1; min-width: 0; }\n.ta-share-password code { color: var(--ta-text); font-family: var(--ta-mono); }\n.ta-share-tiles { display: flex; justify-content: center; gap: 4px; }\n.ta-share-tile { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 76px; padding: 4px 0; border: 0; background: none; color: var(--ta-text); font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }\n.ta-share-tile:disabled { opacity: 0.45; cursor: default; }\n.ta-share-tile-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ta-raised); transition: background 140ms, transform 120ms var(--ta-ease); }\n.ta-share-tile:not(:disabled):hover .ta-share-tile-icon { background: var(--ta-hover-strong); }\n.ta-share-tile:not(:disabled):active .ta-share-tile-icon { transform: scale(0.94); }\n.ta-share-tile-label { color: var(--ta-secondary); font-size: calc(12px * var(--ta-font-scale)); white-space: nowrap; }\n.ta-share-friends { display: flex; flex-direction: column; gap: 10px; }\n.ta-share-friend-list { display: flex; flex-direction: column; gap: 2px; max-height: 240px; margin: 0; padding: 0; overflow-y: auto; list-style: none; }\n.ta-share-friend { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 6px 8px; border: 0; border-radius: 12px; background: none; color: var(--ta-text); font: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }\n.ta-share-friend:hover { background: var(--ta-hover); }\n.ta-share-friend-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: calc(14px * var(--ta-font-scale)); }\n.ta-share-friend-check { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border: 1.5px solid var(--ta-border-field); border-radius: 50%; color: var(--ta-brand-text); transition: background 140ms, border-color 140ms; }\n.ta-share-friend.ta-on .ta-share-friend-check { border-color: var(--ta-brand); background: var(--ta-brand); }\n.ta-share-friends-actions { display: flex; justify-content: flex-end; gap: 8px; }\n.ta-share-notes { display: flex; flex-direction: column; gap: 4px; padding: 0 4px; }\n.ta-share-notes p { margin: 0; text-align: center; color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); line-height: calc(17px * var(--ta-font-scale)); text-wrap: balance; }\n.ta-share-stop { position: relative; align-self: center; border: 0; padding: 4px 8px; background: none; color: var(--ta-red); font: inherit; font-size: calc(12.5px * var(--ta-font-scale)); cursor: pointer; }\n.ta-launcher-result { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 6px 8px; border: 0; border-radius: 12px; background: none; color: var(--ta-text); font: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }\n.ta-launcher-result:hover, .ta-launcher-result:active { background: var(--ta-hover); }\n.ta-launcher-result-icon { flex: none; position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--ta-tile); color: var(--ta-tile-ink); }\n.ta-launcher-result-icon > .ta-busy-mark { width: 16px; height: 16px; border-color: color-mix(in srgb, var(--ta-tile-ink) 25%, transparent); border-top-color: var(--ta-tile-ink); }\n.ta-launcher-result-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }\n.ta-launcher-result-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: calc(15px * var(--ta-font-scale)); line-height: calc(20px * var(--ta-font-scale)); }\n.ta-launcher-result-title mark { background: none; color: var(--ta-accent); font-weight: 600; }\n.ta-launcher-result-detail { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); line-height: calc(16px * var(--ta-font-scale)); }\n.ta-board { flex: 1; min-height: 0; display: flex; flex-direction: column; }\n.ta-board-head { flex: none; display: flex; align-items: center; gap: 6px; min-height: 64px; padding: 6px 14px 6px 16px; }\n.ta-board-heading { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }\n.ta-board-title { font-size: calc(22px * var(--ta-font-scale)); line-height: calc(28px * var(--ta-font-scale)); font-weight: 700; letter-spacing: -0.01em; color: var(--ta-text); }\n.ta-board-date { color: var(--ta-muted); font-size: calc(12.5px * var(--ta-font-scale)); line-height: calc(17px * var(--ta-font-scale)); }\n.ta-board-edit-button { flex: none; height: 30px; padding: 0 14px; border: 0; border-radius: 15px; background: var(--ta-chip); color: var(--ta-text); font-size: calc(13px * var(--ta-font-scale)); font-weight: 500; transition: background 160ms, color 160ms, transform 120ms var(--ta-ease); }\n.ta-board-edit-button:hover { background: var(--ta-hover-strong); }\n.ta-board-edit-button:active { transform: scale(0.96); }\n.ta-board-edit-button.ta-active { background: var(--ta-brand); color: var(--ta-brand-text); }\n.ta-board-body { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; padding: 2px 14px calc(20px + env(safe-area-inset-bottom)); }\n.ta-board-cards { display: flex; flex-direction: column; gap: 12px; }\n.ta-board-card { padding: 12px 14px 14px; border-radius: 20px; background: var(--ta-main); box-shadow: 0 0 0 1px var(--ta-border-muted), 0 2px 6px rgba(15, 23, 42, 0.03), 0 8px 24px rgba(15, 23, 42, 0.04); animation: ta-board-in 260ms var(--ta-ease) both; }\n:root[data-theme='dark'] .ta-board-card { background: var(--ta-card); box-shadow: 0 0 0 1px var(--ta-border-muted); }\n@keyframes ta-board-in { from { opacity: 0; transform: translate3d(0, 6px, 0); } }\n.ta-board-card-head { display: flex; align-items: center; gap: 7px; margin-bottom: 10px; color: var(--ta-secondary); font-size: calc(12.5px * var(--ta-font-scale)); line-height: calc(18px * var(--ta-font-scale)); font-weight: 600; }\n.ta-board-card-icon { flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: color-mix(in srgb, var(--ta-accent) 14%, transparent); color: var(--ta-accent); }\n.ta-board-card-body { min-width: 0; color: var(--ta-body); font-size: calc(14px * var(--ta-font-scale)); }\n/* A card with nothing says so in one quiet line, where its content would start. */\n.ta-board-card-body .ta-empty { min-height: 0; align-items: flex-start; padding: 0 0 2px; text-align: left; }\n.ta-board-card-body .ta-empty-title { color: var(--ta-muted); font-weight: 400; }\n.ta-board-edit { display: flex; flex-direction: column; animation: ta-fade 160ms ease-out; }\n.ta-board-rows { display: flex; flex-direction: column; border-radius: 14px; background: var(--ta-main); box-shadow: 0 0 0 1px var(--ta-border-muted); }\n.ta-board-row { position: relative; display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 4px 0 10px; border-radius: 14px; background: var(--ta-main); transition: transform 200ms var(--ta-ease), box-shadow 160ms; }\n.ta-board-row + .ta-board-row::before { content: ''; position: absolute; top: 0; left: 76px; right: 0; border-top: 1px solid var(--ta-border-muted); }\n.ta-board-row[data-sorting] { z-index: 2; transition: box-shadow 160ms; box-shadow: var(--ta-shadow-pop); }\n.ta-board-row[data-sorting]::before, .ta-board-row[data-sorting] + .ta-board-row::before { display: none; }\n.ta-board-toggle { flex: none; display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; background: none; }\n.ta-board-off { color: var(--ta-red); }\n.ta-board-on { color: var(--ta-green); }\n.ta-board-row-icon { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--ta-chip); color: var(--ta-secondary); }\n.ta-board-row-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ta-text); font-size: calc(15px * var(--ta-font-scale)); }\n.ta-board-grip { flex: none; display: grid; place-items: center; width: 44px; height: 48px; padding: 0; border: 0; background: none; color: var(--ta-muted); cursor: grab; touch-action: none; }\n.ta-board-row[data-sorting] .ta-board-grip { cursor: grabbing; }\n.ta-board-label { margin: 20px 6px 8px; color: var(--ta-muted); font-size: calc(12.5px * var(--ta-font-scale)); line-height: calc(16px * var(--ta-font-scale)); }\n\n/* The rail's buttons for them, above the account; the flyout beside it. */\n.ta-rail-tools { flex: none; display: flex; flex-direction: column; align-items: center; gap: 4px; margin-bottom: 4px; }\n.ta-flyout { position: fixed; z-index: 50; left: calc(64px + env(safe-area-inset-left)); bottom: calc(10px + env(safe-area-inset-bottom)); width: 380px; max-width: calc(100vw - 80px); max-height: min(680px, calc(100vh - 20px - var(--ta-titlebar))); display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--ta-border); border-radius: 16px; background: var(--ta-side); box-shadow: var(--ta-shadow-pop); transform-origin: 0 100%; animation: ta-flyout-in 180ms var(--ta-ease); }\n.ta-flyout > .ta-launcher-surface { height: min(560px, calc(100vh - 20px - var(--ta-titlebar))); flex: none; }\n@keyframes ta-flyout-in { from { opacity: 0; transform: translate3d(-6px, 6px, 0) scale(0.97); } }\n/* The faces of those who are not Ta (components/face.tsx): they blink, and look about while they work */\n:root:not([data-theme='light']) .ta-face[data-face=\"11\"] .ta-face-body > g > circle { fill: #4a4a52; }\n.ta-face { position: relative; display: inline-flex; flex: none; }\n.ta-face svg { display: block; overflow: visible; }\n.ta-face-double { align-items: center; justify-content: center; }\n.ta-face-picture > img { display: block; flex: none; border-radius: 50%; object-fit: cover; background: var(--ta-main); }\n.ta-face-eyes { transform-box: fill-box; transform-origin: center; animation: ta-face-blink 5.2s infinite; }\n.ta-face[data-face=\"1\"] .ta-face-eyes, .ta-face[data-face=\"5\"] .ta-face-eyes, .ta-face[data-face=\"9\"] .ta-face-eyes, .ta-face[data-face=\"13\"] .ta-face-eyes, .ta-face[data-face=\"17\"] .ta-face-eyes, .ta-face[data-face=\"21\"] .ta-face-eyes { animation-delay: -1.7s; }\n.ta-face[data-face=\"2\"] .ta-face-eyes, .ta-face[data-face=\"6\"] .ta-face-eyes, .ta-face[data-face=\"10\"] .ta-face-eyes, .ta-face[data-face=\"14\"] .ta-face-eyes, .ta-face[data-face=\"18\"] .ta-face-eyes, .ta-face[data-face=\"22\"] .ta-face-eyes { animation-delay: -3.1s; }\n.ta-face[data-face=\"3\"] .ta-face-eyes, .ta-face[data-face=\"7\"] .ta-face-eyes, .ta-face[data-face=\"11\"] .ta-face-eyes, .ta-face[data-face=\"15\"] .ta-face-eyes, .ta-face[data-face=\"19\"] .ta-face-eyes, .ta-face[data-face=\"23\"] .ta-face-eyes { animation-delay: -4.4s; }\n.ta-face-working .ta-face-look { animation: ta-face-look 2.4s ease-in-out infinite; }\n.ta-face-working .ta-face-body { transform-box: fill-box; transform-origin: 50% 100%; animation: ta-face-bob 1.2s ease-in-out infinite; }\n.ta-face-dot { position: absolute; right: -1px; bottom: -1px; width: 27%; height: 27%; min-width: 7px; min-height: 7px; box-sizing: content-box; border-radius: 50%; border: 2px solid var(--ta-face-ring, var(--ta-main)); background: var(--ta-border-field); }\n.ta-face-dot.ta-face-on { background: var(--ta-green); }\n@keyframes ta-face-blink { 0%, 94%, 100% { transform: scaleY(1); } 97% { transform: scaleY(0.1); } }\n@keyframes ta-face-look { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-1.4px); } 70% { transform: translateX(1.4px); } }\n@keyframes ta-face-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1.2px); } }\n@media (prefers-reduced-motion: reduce) { .ta-face * { animation: none !important; } }\n.ta-group-face { position: relative; display: inline-flex; flex: none; }\n.ta-group-face-back { position: absolute; right: 0; top: 0; }\n.ta-group-face-front { position: absolute; left: 0; bottom: 0; z-index: 1; }\n";
@@ -118,6 +118,7 @@ export const SURFACES_STYLE = `
118
118
  .ta-face { position: relative; display: inline-flex; flex: none; }
119
119
  .ta-face svg { display: block; overflow: visible; }
120
120
  .ta-face-double { align-items: center; justify-content: center; }
121
+ .ta-face-picture > img { display: block; flex: none; border-radius: 50%; object-fit: cover; background: var(--ta-main); }
121
122
  .ta-face-eyes { transform-box: fill-box; transform-origin: center; animation: ta-face-blink 5.2s infinite; }
122
123
  .ta-face[data-face="1"] .ta-face-eyes, .ta-face[data-face="5"] .ta-face-eyes, .ta-face[data-face="9"] .ta-face-eyes, .ta-face[data-face="13"] .ta-face-eyes, .ta-face[data-face="17"] .ta-face-eyes, .ta-face[data-face="21"] .ta-face-eyes { animation-delay: -1.7s; }
123
124
  .ta-face[data-face="2"] .ta-face-eyes, .ta-face[data-face="6"] .ta-face-eyes, .ta-face[data-face="10"] .ta-face-eyes, .ta-face[data-face="14"] .ta-face-eyes, .ta-face[data-face="18"] .ta-face-eyes, .ta-face[data-face="22"] .ta-face-eyes { animation-delay: -3.1s; }
@@ -0,0 +1,5 @@
1
+ /** The picture the user gives themselves (TaRoomServer.setPicture), made of a photo. */
2
+ export declare namespace PictureUtil {
3
+ /** The middle square of a photo, as a JPEG small enough; undefined when none is. */
4
+ function square(file: Blob): Promise<string | undefined>;
5
+ }