@hellolynk-ai/codex-plugin 0.0.0-stage → 0.2.99

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 (123) hide show
  1. package/.agents/plugins/marketplace.json +20 -0
  2. package/LICENSE +92 -0
  3. package/README.md +86 -2
  4. package/bin/hellolynk-client-setup.mjs +2748 -0
  5. package/bin/hellolynk-mcp-config-shape.mjs +23 -0
  6. package/hellolynk-client-pack-manifest.json +619 -0
  7. package/hellolynk-client-pack-pin.json +4 -0
  8. package/package.json +58 -4
  9. package/plugins/hellolynk-codex/.app.json +3 -0
  10. package/plugins/hellolynk-codex/.codex-plugin/plugin.json +38 -0
  11. package/plugins/hellolynk-codex/.mcp.json +19 -0
  12. package/plugins/hellolynk-codex/assets/hellolynk-mark.png +0 -0
  13. package/plugins/hellolynk-codex/package.json +11 -0
  14. package/plugins/hellolynk-codex/runtime/bootstrap/core/hellolynk-client-account.mjs +180 -0
  15. package/plugins/hellolynk-codex/runtime/bootstrap/core/hellolynk-client-core.mjs +770 -0
  16. package/plugins/hellolynk-codex/runtime/bootstrap/core/hellolynk-client-profile.mjs +191 -0
  17. package/plugins/hellolynk-codex/runtime/bootstrap/core/hellolynk-host-auth.mjs +347 -0
  18. package/plugins/hellolynk-codex/runtime/bootstrap/core/hellolynk-host-protected-store.mjs +2721 -0
  19. package/plugins/hellolynk-codex/runtime/bootstrap/core/hellolynk-local-process-lock.mjs +157 -0
  20. package/plugins/hellolynk-codex/runtime/bootstrap/core/hellolynk-neutral-host-installation-store.mjs +765 -0
  21. package/plugins/hellolynk-codex/runtime/bootstrap/core/hellolynk-platform-credential-store.mjs +773 -0
  22. package/plugins/hellolynk-codex/runtime/bootstrap/core/hellolynk-runtime-safety.cjs +471 -0
  23. package/plugins/hellolynk-codex/runtime/bootstrap/platform/windows/hellolynk-host-protected-store.ps1 +2866 -0
  24. package/plugins/hellolynk-codex/runtime/connect-activate.mjs +837 -0
  25. package/plugins/hellolynk-codex/runtime/core/hellolynk-agent-configurator.mjs +701 -0
  26. package/plugins/hellolynk-codex/runtime/core/hellolynk-client-account.mjs +180 -0
  27. package/plugins/hellolynk-codex/runtime/core/hellolynk-client-core.mjs +770 -0
  28. package/plugins/hellolynk-codex/runtime/core/hellolynk-client-profile.mjs +191 -0
  29. package/plugins/hellolynk-codex/runtime/core/hellolynk-client-update-entry.mjs +31 -0
  30. package/plugins/hellolynk-codex/runtime/core/hellolynk-client-update-runtime.mjs +600 -0
  31. package/plugins/hellolynk-codex/runtime/core/hellolynk-client-update.mjs +453 -0
  32. package/plugins/hellolynk-codex/runtime/core/hellolynk-contact-request-e2ee.mjs +867 -0
  33. package/plugins/hellolynk-codex/runtime/core/hellolynk-device-enrollment.mjs +435 -0
  34. package/plugins/hellolynk-codex/runtime/core/hellolynk-direct-text-e2ee-client.mjs +1964 -0
  35. package/plugins/hellolynk-codex/runtime/core/hellolynk-direct-text-e2ee.mjs +1207 -0
  36. package/plugins/hellolynk-codex/runtime/core/hellolynk-host-auth.mjs +347 -0
  37. package/plugins/hellolynk-codex/runtime/core/hellolynk-host-protected-store.mjs +2721 -0
  38. package/plugins/hellolynk-codex/runtime/core/hellolynk-host-transport-client.mjs +946 -0
  39. package/plugins/hellolynk-codex/runtime/core/hellolynk-host.mjs +2374 -0
  40. package/plugins/hellolynk-codex/runtime/core/hellolynk-human-confirmation-ledger.mjs +256 -0
  41. package/plugins/hellolynk-codex/runtime/core/hellolynk-human-relationship-controller.mjs +1234 -0
  42. package/plugins/hellolynk-codex/runtime/core/hellolynk-inbox-read-state.mjs +11 -0
  43. package/plugins/hellolynk-codex/runtime/core/hellolynk-indexed-message-store.mjs +1558 -0
  44. package/plugins/hellolynk-codex/runtime/core/hellolynk-instance-conversation.mjs +185 -0
  45. package/plugins/hellolynk-codex/runtime/core/hellolynk-local-contact-requests.mjs +1733 -0
  46. package/plugins/hellolynk-codex/runtime/core/hellolynk-local-contacts.mjs +1228 -0
  47. package/plugins/hellolynk-codex/runtime/core/hellolynk-local-data-migration.mjs +766 -0
  48. package/plugins/hellolynk-codex/runtime/core/hellolynk-local-data-protection.mjs +747 -0
  49. package/plugins/hellolynk-codex/runtime/core/hellolynk-local-identity-trust.mjs +274 -0
  50. package/plugins/hellolynk-codex/runtime/core/hellolynk-local-messaging.mjs +3043 -0
  51. package/plugins/hellolynk-codex/runtime/core/hellolynk-local-peer-transport.mjs +103 -0
  52. package/plugins/hellolynk-codex/runtime/core/hellolynk-local-process-lock.mjs +157 -0
  53. package/plugins/hellolynk-codex/runtime/core/hellolynk-model-inbox.mjs +230 -0
  54. package/plugins/hellolynk-codex/runtime/core/hellolynk-model-notices.cjs +60 -0
  55. package/plugins/hellolynk-codex/runtime/core/hellolynk-native-addressing-tools.cjs +231 -0
  56. package/plugins/hellolynk-codex/runtime/core/hellolynk-native-conversations.mjs +280 -0
  57. package/plugins/hellolynk-codex/runtime/core/hellolynk-native-human-confirmation-broker.mjs +1036 -0
  58. package/plugins/hellolynk-codex/runtime/core/hellolynk-native-inbox-runtime.mjs +553 -0
  59. package/plugins/hellolynk-codex/runtime/core/hellolynk-native-notice.mjs +50 -0
  60. package/plugins/hellolynk-codex/runtime/core/hellolynk-native-reply-routes.mjs +96 -0
  61. package/plugins/hellolynk-codex/runtime/core/hellolynk-native-worker-lease.mjs +84 -0
  62. package/plugins/hellolynk-codex/runtime/core/hellolynk-neutral-host-assembly.mjs +955 -0
  63. package/plugins/hellolynk-codex/runtime/core/hellolynk-neutral-host-installation-store.mjs +765 -0
  64. package/plugins/hellolynk-codex/runtime/core/hellolynk-neutral-host-launcher.mjs +665 -0
  65. package/plugins/hellolynk-codex/runtime/core/hellolynk-neutral-host-process.mjs +4374 -0
  66. package/plugins/hellolynk-codex/runtime/core/hellolynk-neutral-host-store-adapters.mjs +548 -0
  67. package/plugins/hellolynk-codex/runtime/core/hellolynk-neutral-host-workbench-read-model.mjs +1365 -0
  68. package/plugins/hellolynk-codex/runtime/core/hellolynk-platform-credential-store.mjs +773 -0
  69. package/plugins/hellolynk-codex/runtime/core/hellolynk-relay-client-cli.mjs +232 -0
  70. package/plugins/hellolynk-codex/runtime/core/hellolynk-release-retention.mjs +160 -0
  71. package/plugins/hellolynk-codex/runtime/core/hellolynk-runtime-safety.cjs +471 -0
  72. package/plugins/hellolynk-codex/runtime/core/hellolynk-workbench-action-grants.mjs +457 -0
  73. package/plugins/hellolynk-codex/runtime/core/hellolynk-workbench-connection.mjs +234 -0
  74. package/plugins/hellolynk-codex/runtime/neutral-host-bootstrap.mjs +64 -0
  75. package/plugins/hellolynk-codex/runtime/neutral-host-release-entry.mjs +70 -0
  76. package/plugins/hellolynk-codex/runtime/neutral-host-release-loader.mjs +156 -0
  77. package/plugins/hellolynk-codex/runtime/neutral-host-release-manifest.json +358 -0
  78. package/plugins/hellolynk-codex/runtime/neutral-host-release-pin.json +4 -0
  79. package/plugins/hellolynk-codex/runtime/platform/windows/configure-agent.ps1 +281 -0
  80. package/plugins/hellolynk-codex/runtime/platform/windows/credential-store.ps1 +844 -0
  81. package/plugins/hellolynk-codex/runtime/platform/windows/hellolynk-host-protected-store.ps1 +2866 -0
  82. package/plugins/hellolynk-codex/runtime/platform/windows/hellolynk-human-confirmation-ledger.ps1 +155 -0
  83. package/plugins/hellolynk-codex/runtime/platform/windows/hellolynk-local-data-key.ps1 +300 -0
  84. package/plugins/hellolynk-codex/runtime/platform/windows/hellolynk-native-human-confirmation-broker.ps1 +216 -0
  85. package/plugins/hellolynk-codex/runtime/workbench/candidate-bootstrap.mjs +54 -0
  86. package/plugins/hellolynk-codex/runtime/workbench/contract.mjs +1314 -0
  87. package/plugins/hellolynk-codex/runtime/workbench/hellolynk-workbench-build.json +215 -0
  88. package/plugins/hellolynk-codex/runtime/workbench/host-capabilities.mjs +80 -0
  89. package/plugins/hellolynk-codex/runtime/workbench/i18n.mjs +1127 -0
  90. package/plugins/hellolynk-codex/runtime/workbench/loopback-surface.mjs +740 -0
  91. package/plugins/hellolynk-codex/runtime/workbench/mcp-app-bundle.mjs +97 -0
  92. package/plugins/hellolynk-codex/runtime/workbench/service.mjs +485 -0
  93. package/plugins/hellolynk-codex/runtime/workbench/state.mjs +421 -0
  94. package/plugins/hellolynk-codex/runtime/workbench/transports.mjs +171 -0
  95. package/plugins/hellolynk-codex/runtime/workbench/ui/app.mjs +6120 -0
  96. package/plugins/hellolynk-codex/runtime/workbench/ui/connection-form.mjs +155 -0
  97. package/plugins/hellolynk-codex/runtime/workbench/ui/hellolynk-mark.png +0 -0
  98. package/plugins/hellolynk-codex/runtime/workbench/ui/http-transport.mjs +247 -0
  99. package/plugins/hellolynk-codex/runtime/workbench/ui/icons/arrow-left.svg +3 -0
  100. package/plugins/hellolynk-codex/runtime/workbench/ui/icons/close.svg +3 -0
  101. package/plugins/hellolynk-codex/runtime/workbench/ui/icons/contacts.svg +3 -0
  102. package/plugins/hellolynk-codex/runtime/workbench/ui/icons/inbox.svg +3 -0
  103. package/plugins/hellolynk-codex/runtime/workbench/ui/icons/refresh.svg +3 -0
  104. package/plugins/hellolynk-codex/runtime/workbench/ui/icons/search.svg +3 -0
  105. package/plugins/hellolynk-codex/runtime/workbench/ui/icons/security.svg +3 -0
  106. package/plugins/hellolynk-codex/runtime/workbench/ui/icons/settings.svg +3 -0
  107. package/plugins/hellolynk-codex/runtime/workbench/ui/index.html +139 -0
  108. package/plugins/hellolynk-codex/runtime/workbench/ui/loopback-entry.mjs +26 -0
  109. package/plugins/hellolynk-codex/runtime/workbench/ui/mcp-app-client.mjs +151 -0
  110. package/plugins/hellolynk-codex/runtime/workbench/ui/mcp-app-entry.mjs +452 -0
  111. package/plugins/hellolynk-codex/runtime/workbench/ui/styles.css +686 -0
  112. package/plugins/hellolynk-codex/server/codex-neutral-production.mjs +520 -0
  113. package/plugins/hellolynk-codex/server/mcp-proxy.mjs +306 -0
  114. package/plugins/hellolynk-codex/server/mcp-server.mjs +1193 -0
  115. package/plugins/hellolynk-codex/server/native-conversation-directory.mjs +33 -0
  116. package/plugins/hellolynk-codex/server/native-reply-routes.mjs +32 -0
  117. package/plugins/hellolynk-codex/server/native-task-client.mjs +382 -0
  118. package/plugins/hellolynk-codex/server/native-task-runtime.mjs +8 -0
  119. package/plugins/hellolynk-codex/server/neutral-host-adapter.mjs +649 -0
  120. package/plugins/hellolynk-codex/server/workbench-runtime.mjs +180 -0
  121. package/plugins/hellolynk-codex/skills/hellolynk-open/SKILL.md +11 -0
  122. package/plugins/hellolynk-codex/skills/hellolynk-open/agents/openai.yaml +4 -0
  123. package/tools/hellolynk-activate-neutral-host-clients.mjs +837 -0
@@ -0,0 +1,686 @@
1
+ :root {
2
+ color-scheme: light;
3
+ --blue-700: #075b90;
4
+ --blue-600: #0966a2;
5
+ --blue-500: #2485bb;
6
+ --blue-100: #cceaff;
7
+ --blue-050: #edf7fc;
8
+ --ink-950: #29251f;
9
+ --ink-800: #443e35;
10
+ --ink-600: #655d51;
11
+ --ink-450: #6b6255;
12
+ --line: #ded2be;
13
+ --panel: #fffdfa;
14
+ --canvas: #fff5e2;
15
+ --topbar: #fffdfa;
16
+ --outline: #29251f;
17
+ --sky: #9ed8ff;
18
+ --pink: #ffb6cf;
19
+ --yellow: #ffda45;
20
+ --accent-ink: #29251f;
21
+ --selection: #e0f1fd;
22
+ --hover: #f5eddc;
23
+ --muted: #655d51;
24
+ --success: #217a57;
25
+ --warning: #94601c;
26
+ --danger: #af3540;
27
+ --radius-lg: 18px;
28
+ --radius-md: 13px;
29
+ --shadow-soft: 3px 3px 0 var(--outline);
30
+ font-family: Inter, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
31
+ }
32
+
33
+ * { box-sizing: border-box; }
34
+ html, body { height: 100%; min-height: 0; margin: 0; min-width: 0; background: var(--canvas); color: var(--ink-950); font-size: 13px; }
35
+ body { overflow: hidden; }
36
+ button, input, textarea, select { font: inherit; }
37
+ button, a { -webkit-tap-highlight-color: transparent; }
38
+ button, .brand, .rail-link { min-width: 32px; min-height: 32px; }
39
+ button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible {
40
+ outline: 3px solid var(--blue-700);
41
+ outline-offset: 2px;
42
+ }
43
+
44
+ .connection-result-note {
45
+ margin: 0; padding: 12px 16px; background: var(--blue-050); color: var(--ink-950);
46
+ border-bottom: 1px solid var(--line); font-weight: 650; flex: none;
47
+ }
48
+ .connection-result-note[hidden] { display: none; }
49
+ .content-pane:has(> .connection-result-note:not([hidden])) { display: flex; flex-direction: column; }
50
+ .content-pane:has(> .connection-result-note:not([hidden])) > .content-view { height: auto; flex: 1; min-height: 0; }
51
+
52
+ .synthetic-banner {
53
+ position: fixed; inset: 0 0 auto 0; z-index: 20; min-height: 32px; padding: 7px 16px;
54
+ background: #fff6d9; border-bottom: 1px solid #e7c96e; color: #664800; text-align: center;
55
+ font-size: 11px; font-weight: 750; letter-spacing: .025em;
56
+ }
57
+ .synthetic-banner:not([hidden]) + .workbench { top: 32px; height: calc(100vh - 32px); height: calc(100dvh - 32px); }
58
+
59
+ .workbench {
60
+ position: relative; display: grid;
61
+ grid-template-columns: minmax(210px, 232px) minmax(0, 1fr);
62
+ grid-template-rows: minmax(52px, max-content) minmax(0, 1fr);
63
+ height: 100vh; height: 100dvh; min-height: 0; background: var(--canvas); overflow: hidden;
64
+ }
65
+
66
+ .product-bar {
67
+ position: relative; z-index: 10; grid-column: 1 / -1; display: flex; align-items: center; gap: 14px;
68
+ min-width: 0; padding: 0 10px 0 14px; border-bottom: 1.5px solid var(--outline);
69
+ background: var(--topbar); color: var(--ink-800);
70
+ }
71
+ .brand { display: inline-flex; align-items: center; gap: 9px; flex: none; color: var(--ink-950); font-size: 15px; font-weight: 780; text-decoration: none; }
72
+ .brand-mark { display: block; width: 24px; height: 24px; object-fit: contain; }
73
+ .primary-navigation { align-self: stretch; display: flex; flex-shrink: 0; align-items: center; gap: 5px; }
74
+ .rail-link {
75
+ position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 5px 11px;
76
+ border: 1.5px solid transparent; border-radius: 999px; background: transparent; color: var(--ink-600); font-size: 13px; font-weight: 680;
77
+ text-decoration: none; white-space: nowrap; flex-shrink: 0; cursor: pointer;
78
+ }
79
+ .rail-link:hover { color: var(--ink-950); background: var(--hover); }
80
+ .rail-link.is-active { color: var(--accent-ink); border-color: var(--outline); background: var(--sky); box-shadow: 2px 2px 0 var(--outline); }
81
+ /* The contacts list header entry keeps its 44px target; the visible pill inside it matches .rail-link. */
82
+ .contact-request-link { position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; min-height: 44px; padding: 5px 11px; color: var(--ink-600); font-size: 13px; font-weight: 680; white-space: nowrap; text-decoration: none; }
83
+ .contact-request-link::before { content: ""; position: absolute; z-index: -1; inset: 6px 0; border: 1.5px solid transparent; border-radius: 999px; }
84
+ .contact-request-link:hover { color: var(--ink-950); }
85
+ .contact-request-link:hover::before { background: var(--hover); }
86
+ .contact-request-link:focus-visible { outline: none; }
87
+ .contact-request-link:focus-visible::before { outline: 3px solid var(--blue-700); outline-offset: 2px; }
88
+ .contact-request-link[hidden] { display: none; }
89
+ .contact-request-link.is-pending { color: var(--ink-950); }
90
+ .contact-request-link.is-pending::before { border-color: var(--outline); background: var(--panel); box-shadow: 2px 2px 0 var(--outline); }
91
+ .contact-request-link.is-pending:hover::before { background: var(--hover); }
92
+ .contact-request-link.is-active { color: var(--accent-ink); }
93
+ .contact-request-link.is-active::before, .contact-request-link.is-active:hover::before { border-color: var(--outline); background: var(--sky); box-shadow: 2px 2px 0 var(--outline); }
94
+ .nav-badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--danger); color: #fff; font-size: 10px; font-weight: 800; line-height: 1; }
95
+ .nav-badge[hidden] { display: none; }
96
+ .portal-navigation { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; min-width: 0; }
97
+ .portal-link {
98
+ display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 9px;
99
+ border: 0; border-radius: 9px; background: transparent; color: var(--ink-800); font-size: 12px; font-weight: 700;
100
+ text-decoration: none; white-space: nowrap; flex-shrink: 0; cursor: pointer;
101
+ }
102
+ .portal-link:hover { color: var(--ink-950); background: var(--hover); }
103
+ .product-actions { display: flex; flex-shrink: 0; align-items: center; justify-content: flex-end; gap: 8px; min-width: 0; margin-left: auto; }
104
+ .refresh-control { display: inline-flex; align-items: center; gap: 8px; }
105
+ .refresh-hint { color: var(--ink-600); font-size: 11px; white-space: nowrap; }
106
+ .connection-status { display: inline-flex; align-items: center; gap: 8px; max-width: 210px; min-height: 32px; padding: 0 8px; color: var(--ink-600); font-size: 11px; white-space: nowrap; }
107
+
108
+ .list-pane {
109
+ position: relative; z-index: 3; grid-column: 1; grid-row: 2; display: grid; grid-template-rows: auto auto auto auto auto minmax(0, 1fr);
110
+ min-width: 0; background: var(--panel); border-right: 1px solid var(--line);
111
+ }
112
+ .list-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 68px; padding: 13px 14px 9px 18px; }
113
+ #list-header { grid-row: 1; }
114
+ #thread-filters { grid-row: 2; }
115
+ #search-region { grid-row: 3; }
116
+ #history-management { grid-row: 4; }
117
+ #inbox-read-actions { grid-row: 5; }
118
+ #list-content { grid-row: 6; }
119
+ .inbox-read-actions { display: grid; gap: 6px; justify-items: start; padding: 8px 12px; border-bottom: 1px solid var(--line); }
120
+ .inbox-read-actions[hidden] { display: none; }
121
+ .inbox-read-actions .action-status { margin: 0; }
122
+ .mark-all-read { flex-shrink: 0; white-space: nowrap; }
123
+ .eyebrow { display: block; margin-bottom: 3px; color: var(--ink-450); font-size: 10px; letter-spacing: .1em; }
124
+ .list-header h1 { margin: 0; font-size: 18px; letter-spacing: -.035em; }
125
+ .compact-action { min-height: 32px; padding: 0 12px; border: 1.5px solid var(--outline); border-radius: 999px; background: var(--sky); color: var(--accent-ink); box-shadow: 2px 2px 0 var(--outline); font-size: 12px; font-weight: 650; cursor: pointer; }
126
+ .icon-button { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid transparent; border-radius: 50%; background: transparent; color: var(--ink-600); cursor: pointer; }
127
+ .icon-button:hover { border-color: var(--outline); background: var(--yellow); color: var(--accent-ink); box-shadow: 2px 2px 0 var(--outline); }
128
+ .icon-button[aria-busy="true"] { background: var(--blue-050); color: var(--blue-700); cursor: progress; }
129
+ .icon-button[aria-busy="true"] img { animation: spin 1s linear infinite; }
130
+ .icon-button img, .search-region > img { width: 18px; height: 18px; }
131
+ .search-region { display: grid; grid-template-columns: 24px minmax(0, 1fr); align-items: center; gap: 6px; margin: 10px 12px 0; padding: 0 12px 0 8px; border: 1px solid var(--outline); border-radius: 13px; background: var(--panel); color: var(--ink-450); }
132
+ .search-region input { min-width: 0; min-height: 44px; border: 0; background: transparent; color: var(--ink-950); }
133
+ .thread-filters { display: flex; gap: 8px; padding: 9px 10px; border-bottom: 1px solid var(--line); }
134
+ .history-management { display: grid; gap: 7px; padding: 10px; border-bottom: 1px solid var(--line); background: var(--panel); }
135
+ .history-management[hidden] { display: none; }
136
+ .history-management button { min-height: 36px; text-align: left; }
137
+ .history-management .is-active { font-weight: 750; background: var(--selection); }
138
+ .history-management .action-status { margin: 0; }
139
+ .public-readonly .list-pane { grid-template-rows: auto auto minmax(0, 1fr) auto; }
140
+ .thread-summary { min-height: 32px; padding: 8px 10px; color: var(--ink-600); font-size: 10px; }
141
+ .public-readonly .rail-link,
142
+ .public-readonly .thread-card { cursor: default; pointer-events: none; }
143
+ .public-readonly .rail-link:hover { color: var(--blue-700); background: #e7f2fb; }
144
+ .public-readonly .thread-card:hover { background: transparent; }
145
+ .public-readonly .thread-card.is-selected:hover { background: var(--selection); }
146
+ .filter-button { display: inline-flex; flex: 1 0 auto; align-items: center; justify-content: center; gap: 5px; min-width: 0; min-height: 44px; padding: 0 6px; border: 1.5px solid transparent; border-radius: 12px; background: transparent; color: var(--ink-600); cursor: pointer; font-size: 12px; white-space: nowrap; }
147
+ .filter-button b { min-width: 22px; padding: 2px 6px; border-radius: 999px; background: var(--hover); color: var(--ink-600); font-size: 11px; }
148
+ .filter-button.is-active { border-color: var(--outline); background: var(--yellow); color: var(--accent-ink); box-shadow: 2px 2px 0 var(--outline); font-weight: 750; }
149
+ .filter-button.is-active b { background: var(--panel); }
150
+ .list-content { min-height: 0; overflow: auto; padding: 10px 9px 22px; scrollbar-gutter: stable; }
151
+ .host-dot { width: 8px; height: 8px; border-radius: 50%; background: #b4bbc6; box-shadow: 0 0 0 4px #f0f2f5; }
152
+ .host-dot.is-online { background: var(--success); box-shadow: 0 0 0 4px #e4f5ee; }
153
+ .host-dot.is-synthetic { background: #b7851f; box-shadow: 0 0 0 4px #fff3cf; }
154
+
155
+ .thread-card {
156
+ display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; column-gap: 9px; row-gap: 0; width: 100%; padding: 8px 10px;
157
+ border: 1.5px solid transparent; border-radius: 13px; background: transparent; color: inherit; text-align: left; cursor: pointer;
158
+ }
159
+ .thread-card + .thread-card { margin-top: 4px; }
160
+ .thread-list-row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 2px; margin-top: 4px; }
161
+ .thread-list-row .thread-card { min-width: 0; padding-right: 4px; }
162
+ .thread-list-row .thread-more { margin: 4px 3px 0 0; }
163
+ .thread-more .contact-more-summary { min-width: 40px; padding: 0 6px; font-size: 12px; }
164
+ .thread-history-actions { display: grid; gap: 8px; }
165
+ .thread-history-actions > button { text-align: left; }
166
+ #local-history-copy, #local-history-status, #local-history-estimate { font-size: 13px; line-height: 1.65; overflow-wrap: anywhere; }
167
+ #local-history-range, #local-history-date { width: 100%; min-height: 40px; margin: 4px 0 9px; }
168
+ .thread-card:hover { background: var(--hover); }
169
+ .thread-card.is-selected { border-color: var(--outline); background: var(--selection); box-shadow: 2px 2px 0 var(--outline); }
170
+ .thread-avatar { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--outline); border-radius: 11px; background: var(--sky); color: var(--accent-ink); font-size: 10px; font-weight: 800; }
171
+ .thread-list-row:nth-child(even) .thread-avatar, .thread-card:nth-of-type(even) .thread-avatar, .contact-list-item:nth-child(even) .thread-avatar { background: var(--pink); }
172
+ .thread-card > .thread-avatar { grid-column: 1; grid-row: 1 / span 2; }
173
+ /* The heading uses the full text width; delivery status only shares the route row. */
174
+ .thread-copy { display: contents; }
175
+ .thread-row { grid-column: 2 / -1; grid-row: 1; display: flex; min-width: 0; align-items: baseline; justify-content: space-between; gap: 8px; }
176
+ .thread-copy > .thread-route { grid-column: 2; grid-row: 2; }
177
+ .thread-card > :is(.unread-badge, .thread-status) { grid-column: 3; grid-row: 2; }
178
+ .thread-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
179
+ .thread-name { min-width: 0; font-size: 13px; font-weight: 780; }
180
+ .thread-time { color: var(--ink-450); font-size: 10px; white-space: nowrap; }
181
+ .unread-badge { align-self: end; display: grid; place-items: center; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--blue-600); color: #ffffff; font-size: 9px; font-weight: 800; }
182
+ .thread-status { align-self: end; color: var(--ink-450); font-size: 9px; white-space: nowrap; }
183
+ .thread-status.is-failed { color: var(--danger); font-weight: 750; }
184
+ .empty-list { padding: 38px 18px; color: var(--ink-600); text-align: center; }
185
+ .empty-list strong { display: block; margin-bottom: 7px; color: var(--ink-800); }
186
+ .load-more-button { display: block; min-height: 44px; margin: 12px auto 0; padding: 0 16px; border: 1px solid var(--outline); border-radius: 999px; background: var(--panel); color: var(--blue-700); font-weight: 750; cursor: pointer; }
187
+ .load-more-button:disabled { color: var(--ink-450); cursor: wait; }
188
+ .message-history-limit { margin: 12px auto; color: var(--ink-450); text-align: center; font-size: 13px; }
189
+
190
+ .content-pane { position: relative; grid-column: 2; grid-row: 2; min-width: 0; min-height: 0; overflow: hidden; background: var(--canvas); }
191
+ .content-pane:focus { outline: 0; }
192
+ .state-layer { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; padding: 28px; text-align: center; background: var(--canvas); }
193
+ #state-message { white-space: pre-line; overflow-wrap: anywhere; }
194
+ .state-layer h2 { margin: 14px 0 6px; font-size: 19px; }
195
+ .state-layer p { max-width: 430px; margin: 0; color: var(--ink-600); font-size: 13px; line-height: 1.55; }
196
+ .state-content { display: contents; }
197
+ .state-layer.is-connection { padding: 20px; overflow: auto; place-content: safe center; background: var(--canvas); }
198
+ .is-connection .state-content { display: block; width: min(100%, 390px); padding: 30px 26px; border: 1px solid var(--line); border-radius: 24px; background: var(--panel); box-shadow: var(--shadow-soft); text-align: left; }
199
+ .connection-welcome { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; color: var(--ink-600); font-size: 13px; font-weight: 600; }
200
+ .connection-welcome img { width: 42px; height: 42px; object-fit: contain; }
201
+ .is-connection h2 { margin: 0 0 12px; font-size: clamp(22px, 5vw, 28px); line-height: 1.3; letter-spacing: -.035em; text-wrap: balance; }
202
+ .is-connection #state-message { font-size: 14px; line-height: 1.75; }
203
+ .connection-guide { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
204
+ .connection-guide #connection-hint { color: var(--ink-800); font-size: 13px; line-height: 1.7; }
205
+ .connection-guide .primary-button { display: block; width: 100%; min-height: 48px; margin: 22px 0 12px; font-size: 14px; border-radius: 13px; transition: background .16s ease, transform .16s ease; }
206
+ .connection-guide .connection-help { margin-top: 14px; font-size: 12px; line-height: 1.65; }
207
+ .connection-fields { display: grid; gap: 14px; margin-top: 20px; }
208
+ .connection-fields .primary-button, .connection-fields .connection-help { margin: 0; }
209
+ .connection-fields a { color: var(--blue-700); font-size: 13px; line-height: 1.7; }
210
+ .connection-fields [role="status"] { white-space: pre-line; overflow-wrap: anywhere; }
211
+ .connection-fields [role="status"].is-error { color: var(--danger); }
212
+ .connection-fields .connection-confirmation-title { padding: 12px 14px; border-left: 4px solid var(--blue-700); border-radius: 8px; background: var(--blue-050); color: var(--ink-950); font-size: 15px; line-height: 1.5; }
213
+ .connection-fields .connection-confirm-button { display: flex; align-items: center; justify-content: center; min-height: 48px; color: var(--accent-ink); font-size: 14px; font-weight: 700; line-height: 1.5; text-align: center; text-decoration: none; }
214
+ .connection-fields .connection-confirm-button[hidden] { display: none; }
215
+ .connection-fields .secondary-button { margin: 0; min-height: 40px; border-radius: 13px; white-space: normal; }
216
+ .spinner { width: 28px; height: 28px; border: 3px solid #dbe4f5; border-top-color: var(--blue-600); border-radius: 50%; animation: spin .8s linear infinite; }
217
+ @keyframes spin { to { transform: rotate(360deg); } }
218
+ .primary-button { margin-top: 18px; min-height: 32px; padding: 6px 16px; border: 1.5px solid var(--outline); border-radius: 999px; background: var(--sky); color: var(--accent-ink); box-shadow: 2px 2px 0 var(--outline); font-size: 13px; font-weight: 700; line-height: 1.4; cursor: pointer; }
219
+ .primary-button:disabled, .compact-action:disabled { opacity: .56; cursor: not-allowed; }
220
+ .content-view { height: 100%; min-height: 0; min-width: 0; }
221
+
222
+ .conversation-shell { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); height: 100%; min-height: 0; }
223
+ .conversation-shell.has-details { grid-template-columns: minmax(0, 1fr) minmax(280px, 304px); }
224
+ .conversation-main { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; min-width: 0; min-height: 0; overflow: hidden; background: var(--panel); }
225
+ .conversation-main > * { min-width: 0; }
226
+ .conversation-header { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-height: 56px; padding: 8px 16px; border-bottom: 1px solid var(--line); }
227
+ .conversation-header > .thread-avatar { flex-shrink: 0; }
228
+ .conversation-read-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; max-width: 100%; }
229
+ .conversation-auto-read { flex: none; }
230
+ .auto-read-toggle { background: var(--panel); white-space: nowrap; }
231
+ .auto-read-toggle::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--ink-450); }
232
+ .auto-read-toggle[aria-checked="true"] { background: var(--sky); }
233
+ .auto-read-toggle[aria-checked="true"]::before { background: var(--blue-700); }
234
+ .conversation-auto-read .action-status { margin: 4px 0 0; max-width: 180px; }
235
+ .conversation-heading { min-width: 0; flex: 1 1 96px; }
236
+ .conversation-heading h2, .conversation-heading p { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
237
+ .detail-toggle { flex: none; width: 32px; min-height: 32px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--ink-800); font-size: 24px; line-height: 1; cursor: pointer; }
238
+ .detail-toggle[aria-expanded="true"] { border-color: #b8cee4; color: var(--blue-700); background: var(--blue-050); }
239
+ .back-button { display: none; border: 0; background: transparent; color: var(--blue-600); cursor: pointer; }
240
+ .back-button img { width: 20px; height: 20px; }
241
+ .conversation-header h2 { margin: 0; font-size: 15px; }
242
+ .conversation-header p { margin: 2px 0 0; color: var(--ink-600); font-size: 11px; }
243
+ .messages { min-width: 0; min-height: 0; overflow: auto; padding: 10px 16px; scrollbar-gutter: stable; background: var(--canvas); }
244
+ .messages .empty-list { padding: 32px 12px; font-size: 12px; line-height: 1.6; }
245
+ .messages .empty-list strong { font-weight: 500; }
246
+ .day-divider { display: flex; align-items: center; gap: 12px; margin: 10px 0 6px; color: var(--ink-450); font-size: 10px; }
247
+ .messages > .day-divider:first-child { margin-top: 0; }
248
+ .day-divider::before, .day-divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }
249
+ .message { display: flex; flex-direction: column; align-items: flex-start; margin: 6px 0 8px; }
250
+ .message.is-outgoing { align-items: flex-end; }
251
+ .message-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 0 8px; width: fit-content; max-width: 100%; margin-bottom: 2px; }
252
+ .message-meta { color: var(--ink-450); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
253
+ .message.is-outgoing .message-heading { justify-content: flex-end; }
254
+ .message-provenance { color: var(--ink-450); font-size: 11px; line-height: 1.6; overflow-wrap: anywhere; }
255
+ .message-provenance .detail-row { display: block; }
256
+ .message-provenance .detail-row strong { display: block; margin-top: 4px; text-align: left; overflow-wrap: anywhere; }
257
+ .message-delivery-status { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: flex-start; gap: 0 .4em; max-width: min(720px, 86%); margin-top: 5px; color: var(--ink-600); font-size: 11px; line-height: 1.45; }
258
+ .message.is-outgoing .message-delivery-status { margin-left: auto; justify-content: flex-end; }
259
+ .message-delivery-status.is-failed { color: var(--danger); }
260
+ .message-delivery-status.is-unknown { color: var(--warning); }
261
+ .message-delivery-status .message-action-button { min-width: 0; min-height: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: inherit; font: inherit; text-decoration: underline; }
262
+ .message-delivery-status .message-action-button:hover { border: 0; background: transparent; color: inherit; }
263
+ .message-delivery-status .message-action-button:disabled { cursor: wait; }
264
+ .message-bubble { max-width: min(720px, 86%); padding: 8px 11px; border: 1.5px solid var(--outline); border-radius: 5px 15px 15px 15px; background: var(--panel); color: var(--ink-950); box-shadow: 2px 2px 0 var(--outline); font-size: 14px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
265
+ .message.is-outgoing .message-bubble { border-radius: 15px 5px 15px 15px; background: var(--sky); color: var(--accent-ink); }
266
+ .message-actions { display: flex; flex-wrap: wrap; gap: 8px; }
267
+ .message-actions .message-action-button { white-space: nowrap; }
268
+ .message-actions:empty { display: none; }
269
+ .message-action-button { min-width: 44px; min-height: 32px; padding: 4px 6px; border: 0; border-radius: 4px; background: transparent; color: var(--blue-700); font-size: 11px; font-weight: 550; cursor: pointer; }
270
+ .message-action-button:hover { border-color: var(--blue-500); background: var(--blue-050); }
271
+ .message-action-button:disabled { color: var(--ink-450); cursor: wait; }
272
+ .message-action-button.danger-button { color: var(--danger); }
273
+ .message-details-button { min-width: 32px; font-size: 18px; color: var(--ink-450); }
274
+ .message .action-status { max-width: min(680px, 90%); }
275
+ .message .action-status:empty { display: none; }
276
+ .load-more-messages { margin: 0 auto 22px; }
277
+ .composer { min-width: 0; margin: 0; padding: 8px 16px; border-top: 1px solid var(--line); background: var(--panel); }
278
+ .composer-input { display: block; width: 100%; min-width: 0; height: clamp(48px, 8vh, 72px); height: clamp(48px, 8dvh, 72px); min-height: 0; resize: none; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--ink-950); font-size: 14px; line-height: 1.6; }
279
+ .composer-input:disabled { opacity: .72; }
280
+ .composer-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
281
+ .composer-hint { flex: 1; min-width: 0; color: var(--ink-450); font-size: 11px; line-height: 1.4; }
282
+ .composer-send { flex: none; min-width: 72px; min-height: 32px; margin-top: 0; }
283
+ .composer-send:disabled { cursor: wait; box-shadow: none; }
284
+ .composer-status { min-height: 18px; margin-top: 5px; color: var(--ink-600); font-size: 11px; line-height: 1.4; }
285
+ .composer-status.is-ok { color: var(--success); }
286
+ .composer-status.is-failed { color: var(--danger); }
287
+ .composer-status.is-unknown { color: var(--warning); }
288
+ .composer-status:empty { display: none; }
289
+ .conversation-route-details { margin: 0; color: var(--ink-600); font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
290
+ .global-compose-layer { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; padding: 20px; background: rgb(16 31 54 / .42); }
291
+ .global-compose-layer[hidden] { display: none; }
292
+ .global-compose-dialog { width: min(520px, 100%); max-height: calc(100dvh - 40px); overflow: auto; padding: 22px; border: 1.5px solid var(--outline); border-radius: 20px; background: var(--panel); box-shadow: 5px 5px 0 var(--outline); }
293
+ .global-compose-dialog h2 { margin: 0 0 18px; }
294
+ .global-compose-dialog label { display: block; margin: 12px 0 6px; color: var(--ink-600); font-size: 12px; font-weight: 700; }
295
+ .global-compose-dialog select, .global-compose-dialog textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--outline); border-radius: 12px; background: var(--panel); color: var(--ink-950); }
296
+ .global-compose-dialog textarea { resize: vertical; }
297
+ .global-compose-dialog textarea[hidden] { display: none; }
298
+ #global-message-preview { display: flex; justify-content: flex-end; max-height: 240px; overflow-y: auto; }
299
+ #global-message-preview[hidden] { display: none; }
300
+ .global-compose-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }
301
+ .global-compose-actions .primary-button { margin-top: 0; }
302
+ .details-pane { min-width: 0; overflow: auto; border-left: 1px solid var(--line); background: var(--panel); }
303
+ .details-header { display: flex; align-items: center; justify-content: space-between; min-height: 68px; padding: 13px 14px 13px 18px; border-bottom: 1px solid var(--line); }
304
+ .details-header h3 { margin: 0; font-size: 12px; }
305
+ .details-close { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 8px; background: transparent; cursor: pointer; }
306
+ .details-close:hover { background: var(--hover); }
307
+ .details-close img { width: 17px; height: 17px; }
308
+ .details-body { padding: 18px; }
309
+ .identity-card { display: flex; align-items: center; gap: 10px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
310
+ .identity-card strong { display: block; font-size: 12px; }
311
+ .identity-card > div > span { display: block; margin-top: 3px; color: var(--ink-600); font-size: 10px; overflow-wrap: anywhere; }
312
+ .detail-section { padding: 18px 0; border-bottom: 1px solid var(--line); }
313
+ .detail-section h4 { margin: 0 0 10px; font-size: 10px; color: var(--ink-450); text-transform: uppercase; letter-spacing: .08em; }
314
+ .detail-authorization-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
315
+ .detail-authorization-row .permission-toggle { margin: 0; font-size: 12px; }
316
+ .detail-authorization .action-status { margin-top: 8px; }
317
+ .detail-row { display: flex; justify-content: space-between; gap: 12px; margin: 8px 0; font-size: 11px; }
318
+ .detail-row span { color: var(--ink-600); }
319
+ .status-pill { display: inline-flex; align-items: center; padding: 5px 9px; border-radius: 999px; background: #e6f5ee; color: #0b6b46; font-size: 9px; font-weight: 750; }
320
+ .status-pill.is-warning { background: #fff2d2; color: #754704; }
321
+ .status-pill.is-danger { background: #fff0f2; color: #912b36; }
322
+ .status-pill.is-neutral { background: #edf1ee; color: #48544d; }
323
+ .security-verification { display: grid; gap: 10px; min-width: 0; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
324
+ .security-verification-options { margin-top: 14px; }
325
+ .security-verification-options-summary { cursor: pointer; font-weight: 650; }
326
+ .security-verification-options > .module-copy { margin-top: 12px; }
327
+ .security-verification .secondary-button,
328
+ .clear-resolved-control .secondary-button { justify-self: start; max-width: 100%; white-space: normal; }
329
+
330
+ .module-view { height: 100%; overflow: auto; padding: clamp(18px, 3vw, 32px); }
331
+ .module-header { max-width: 880px; margin: 0 auto 24px; }
332
+ .module-header h2 { margin: 0 0 8px; font-size: clamp(20px, 2.5vw, 26px); letter-spacing: -.035em; }
333
+ .module-header p { margin: 0; color: var(--ink-600); line-height: 1.6; }
334
+ .module-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
335
+ .card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 14px; max-width: 880px; margin: auto; }
336
+ .data-card { padding: 16px; border: 1.5px solid var(--outline); border-radius: var(--radius-md); background: var(--panel); box-shadow: var(--shadow-soft); }
337
+ .data-card h3 { margin: 0 0 7px; font-size: 15px; }
338
+ .data-card p { margin: 0; color: var(--ink-600); font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
339
+ .data-card .status-pill { margin-top: 13px; }
340
+ /* Requests, relationships and blocks: one grouped list, one line per record; the rest opens on click. */
341
+ .contact-section.record-section { margin-bottom: 16px; }
342
+ .contact-section.record-section + .contact-section { margin-top: 0; }
343
+ .conversation-header + .record-section { margin-top: 14px; }
344
+ .record-section .contact-section-title { margin: 0 0 6px 2px; color: var(--ink-600); font-size: 12px; font-weight: 700; }
345
+ .record-list { container-type: inline-size; max-width: 880px; margin: auto; overflow: hidden; border: 1.5px solid var(--outline); border-radius: var(--radius-md); background: var(--panel); box-shadow: var(--shadow-soft); }
346
+ .record-list > .data-card { position: relative; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
347
+ .record-list > .data-card + .data-card { border-top: 1px solid var(--line); }
348
+ .record-list > .data-card > p { padding: 12px 14px; }
349
+ .record-row-summary { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 14px; cursor: pointer; list-style: none; }
350
+ .has-quick-action .record-row-summary { padding-inline-end: 88px; }
351
+ .record-row-summary::-webkit-details-marker { display: none; }
352
+ .record-row-summary:hover { background: var(--hover); }
353
+ .record-row-summary:focus-visible { outline: 3px solid var(--blue-700); outline-offset: -3px; }
354
+ .record-row-avatar { flex: none; width: 28px; height: 28px; border-radius: 9px; font-size: 9px; }
355
+ .record-list > :nth-child(even) .record-row-avatar { background: var(--pink); }
356
+ .record-row-name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 650; }
357
+ .record-row-meta { display: flex; flex: none; align-items: center; gap: 10px; }
358
+ .record-row-status, .record-row-time { flex: none; color: var(--ink-600); font-size: 11px; white-space: nowrap; }
359
+ /* An opened row shows the whole name. */
360
+ .record-row[open] .record-row-name { overflow: visible; white-space: normal; overflow-wrap: anywhere; }
361
+ /* A narrow list keeps the name's room; status and time move under it. */
362
+ @container (max-width: 560px) {
363
+ .record-row-summary { flex-wrap: wrap; row-gap: 2px; }
364
+ .record-row-name { flex-basis: calc(100% - 38px); }
365
+ .record-row-meta { flex-basis: 100%; padding-inline-start: 38px; }
366
+ }
367
+ /* Centred on the 48px row; outranks .secondary-button, which is declared later. */
368
+ .record-list .record-quick-action { position: absolute; top: 24px; inset-inline-end: 14px; margin: 0; padding: 4px 14px; background: var(--sky); color: var(--accent-ink); transform: translateY(-50%); }
369
+ .record-row-body { display: grid; gap: 6px; padding: 0 14px 12px 52px; }
370
+ .record-row-body > .card-actions { margin-top: 2px; }
371
+ .record-row-body .action-status:empty, .record-row-body .record-boundary:empty { display: none; }
372
+ .record-row-body .action-status { margin-top: 0; }
373
+ .record-row-body .request-intro { margin-top: 0; }
374
+ .request-intro { display: grid; gap: 2px; margin-top: 10px; padding: 8px 10px; border-radius: 10px; background: var(--canvas); }
375
+ .request-intro-label { color: var(--ink-600); font-size: 11px; font-weight: 650; }
376
+ .data-card .request-intro-text { color: var(--ink-950); font-size: 13px; line-height: 1.5; }
377
+ .contact-delegate { margin-top: 8px !important; color: var(--ink-600) !important; }
378
+ .contact-safety { margin-top: 5px !important; }
379
+ .module-search, .contact-section, .contact-editor { max-width: 880px; margin: 0 auto 22px; }
380
+ .module-search-input, .form-input, .field-input { width: 100%; min-height: 44px; padding: 9px 12px; border: 1px solid var(--outline); border-radius: 12px; background: var(--panel); color: var(--ink-950); }
381
+ .contact-section + .contact-section { margin-top: 30px; }
382
+ .contact-section-title { margin: 0 0 12px; color: var(--ink-800); font-size: 15px; }
383
+ .principal-discovery { container-type: inline-size; max-width: 720px; padding: 16px; border: 1.5px solid var(--outline); border-radius: 16px; background: var(--panel); }
384
+ .contact-request-outcomes { display: grid; gap: 6px; max-width: 720px; margin: 0 auto 16px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
385
+ .contact-request-outcomes .action-status { margin-top: 0; }
386
+ .discovery-controls { display: grid; grid-template-columns: minmax(132px, .42fr) minmax(220px, 1fr) max-content; gap: 10px; align-items: end; }
387
+ .discovery-controls button { margin-top: 0; white-space: nowrap; }
388
+ .discovery-controls .field-input { min-width: 0; }
389
+ /* The contacts pane can be narrow even when the full iframe is wide. */
390
+ @container (max-width: 540px) {
391
+ .discovery-controls { grid-template-columns: minmax(0, 1fr); }
392
+ .discovery-controls > * { grid-column: 1; }
393
+ .discovery-controls button { justify-self: start; margin-top: 4px; }
394
+ }
395
+ .field-label { color: var(--ink-800); font-size: 12px; font-weight: 750; }
396
+ .discovery-card { display: grid; gap: 8px; }
397
+ .discovery-card h4 { margin: 0; font-size: 16px; }
398
+ .discovery-public-id, .privacy-copy, .quota-copy, .intro-counter, .module-copy { margin: 0; color: var(--ink-600); font-size: 13px; }
399
+ .intro-input { resize: vertical; min-height: 70px; }
400
+ .contact-editor { display: grid; gap: 14px; }
401
+ .contact-known-identity { display: grid; gap: 3px; min-width: 0; }
402
+ .contact-known-identity strong { font-size: 16px; }
403
+ .contact-known-identity span { color: var(--ink-600); font-size: 12px; overflow-wrap: anywhere; }
404
+ .form-field { display: grid; gap: 6px; }
405
+ .form-label { color: var(--ink-800); font-size: 12px; font-weight: 750; }
406
+ .card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
407
+ .secondary-button { display: inline-flex; justify-content: center; align-items: center; min-width: 32px; min-height: 32px; margin-top: 14px; padding: 6px 12px; border: 1.5px solid var(--outline); border-radius: 999px; background: var(--panel); color: var(--ink-800); box-shadow: 2px 2px 0 var(--outline); font-size: 13px; font-weight: 600; line-height: 1.4; cursor: pointer; }
408
+ .card-actions .secondary-button, .card-actions .primary-button { margin-top: 0; }
409
+ .secondary-button:hover { border-color: var(--blue-500); background: var(--blue-050); }
410
+ .secondary-button:disabled { color: var(--ink-450); cursor: wait; }
411
+ .danger-button { border-color: #edc2c6; color: var(--danger); }
412
+ .danger-button:hover { border-color: var(--danger); background: #fff5f6; }
413
+ .form-submit { min-width: 92px; }
414
+ .delete-confirmation { margin-top: 16px; padding: 14px; border: 1px solid #edc2c6; border-radius: 12px; background: #fff8f8; }
415
+ .delete-confirmation strong { display: block; color: var(--danger); font-size: 13px; }
416
+ .delete-confirmation p { margin-top: 7px; }
417
+ .action-status { min-height: 18px; margin-top: 8px; color: var(--ink-600); font-size: 11px; line-height: 1.4; }
418
+ .action-status.is-ok { color: var(--success); }
419
+ .action-status.is-failed, .action-status.is-conflict { color: var(--danger); }
420
+ .action-status.is-unknown { color: var(--warning); }
421
+ .pagination-actions { display: flex; justify-content: center; max-width: 880px; margin: -8px auto 24px; }
422
+ .thread-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; padding: 16px 4px; }
423
+ .record-boundary { min-height: 18px; margin-top: 8px !important; }
424
+ .notice-card { max-width: 880px; margin: 18px auto 0; padding: 16px 18px; border: 1px solid #d9e3f5; border-radius: 14px; background: var(--blue-050); color: var(--ink-600); font-size: 12px; line-height: 1.6; }
425
+
426
+ .contact-list-item { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: 9px; width: 100%; min-height: 54px; padding: 8px 10px; border: 0; border-radius: 8px; background: transparent; color: inherit; text-align: left; cursor: pointer; }
427
+ .contact-list-item:hover { background: var(--hover); }
428
+ .contact-list-item.is-selected { background: var(--selection); }
429
+ .contact-list-item.is-selected { box-shadow: inset 2px 0 var(--blue-600); }
430
+ .contact-list-copy { min-width: 0; }
431
+ .contact-list-copy strong, .contact-list-copy span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
432
+ .contact-list-copy strong { font-size: 12px; }
433
+ .contact-list-copy span { margin-top: 3px; color: var(--ink-600); font-size: 10px; }
434
+ .contact-main { display: grid; grid-template-rows: auto minmax(0, 1fr); min-width: 0; min-height: 0; }
435
+ .contact-content { min-height: 0; overflow: auto; padding: clamp(18px, 3vw, 32px); }
436
+ .contact-profile { max-width: 680px; margin: 0 auto; }
437
+ .contact-profile-header { display: flex; align-items: center; gap: 16px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
438
+ .contact-profile-identity { min-width: 0; }
439
+ .contact-name-row, .instance-name-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
440
+ .inline-edit-button { min-height: 44px; margin-top: 0; padding-inline: 10px; }
441
+ .contact-profile-header .thread-avatar { width: 48px; height: 48px; border-radius: 12px; font-size: 12px; }
442
+ .contact-profile-header h2 { margin: 0; font-size: 18px; font-weight: 650; line-height: 1.4; }
443
+ .contact-profile-header p { margin: 4px 0 0; color: var(--ink-600); font-size: 12px; overflow-wrap: anywhere; }
444
+ .contact-profile-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
445
+ .contact-profile-actions .primary-button, .contact-profile-actions .secondary-button { margin-top: 0; }
446
+ .contact-overview { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
447
+ .contact-overview h3 { margin: 0 0 10px; font-size: 14px; }
448
+ .contact-overview p { margin: 0; color: var(--ink-600); font-size: 12px; line-height: 1.55; }
449
+ .contact-workspace-empty { display: grid; place-content: center; justify-items: center; height: 100%; padding: 28px; text-align: center; }
450
+ .contact-workspace-empty h2 { margin: 0 0 7px; font-size: 18px; }
451
+ .contact-workspace-empty p { max-width: 360px; margin: 0; color: var(--ink-600); font-size: 12px; }
452
+
453
+ .sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
454
+ [hidden] { display: none !important; }
455
+
456
+ @media (max-width: 1120px) {
457
+ .product-bar { gap: 8px; }
458
+ .workbench { grid-template-columns: minmax(200px, 224px) minmax(0, 1fr); }
459
+ .conversation-shell.has-details { grid-template-columns: minmax(0, 1fr); }
460
+ .details-pane { position: absolute; z-index: 8; inset: 0 0 0 auto; width: min(340px, 82vw); box-shadow: -16px 0 40px rgb(26 42 34 / .12); }
461
+ .connection-status span:last-child { display: none; }
462
+ .refresh-hint { display: none; }
463
+ }
464
+
465
+ /* Do not present zero counts or active controls before the first trusted
466
+ snapshot exists. Loading and initial failure are one clear surface. */
467
+ .workbench[data-phase="loading"],
468
+ .workbench[data-phase="error"] {
469
+ grid-template-columns: minmax(0, 1fr);
470
+ }
471
+ .workbench[data-phase="loading"] .list-pane,
472
+ .workbench[data-phase="error"] .list-pane {
473
+ display: none;
474
+ }
475
+ .workbench[data-phase="loading"] .content-pane,
476
+ .workbench[data-phase="error"] .content-pane {
477
+ grid-column: 1;
478
+ }
479
+ .workbench[data-phase="loading"] .primary-navigation,
480
+ .workbench[data-phase="loading"] .product-actions,
481
+ .workbench[data-phase="error"] .primary-navigation {
482
+ visibility: hidden;
483
+ pointer-events: none;
484
+ }
485
+
486
+ @media (max-width: 850px) {
487
+ /* Keep the name on the first row; read controls stay together below it. */
488
+ .conversation-read-actions { order: 1; flex-basis: 100%; gap: 8px; }
489
+ .conversation-read-actions .compact-action { padding-inline: 10px; }
490
+ }
491
+
492
+ @media (max-width: 700px) {
493
+ body { overflow: hidden; }
494
+ /* Keep the product destinations reachable in narrow Webviews. The first
495
+ row is identity/navigation; the second row carries portals and tools so
496
+ 300px-wide hosts do not clip labels or create horizontal scrolling. */
497
+ .workbench { grid-template-columns: minmax(0, 1fr); grid-template-rows: 112px minmax(0, 1fr); }
498
+ .product-bar { flex-wrap: wrap; align-content: stretch; gap: 0 8px; min-width: 0; padding: 0 8px; }
499
+ .brand { gap: 0; }
500
+ .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
501
+ .primary-navigation { min-width: 0; gap: 0; }
502
+ .rail-link { min-width: 44px; padding: 0 7px; font-size: 12px; }
503
+ .portal-navigation { order: 3; flex: 1 1 auto; min-width: 0; gap: 0; }
504
+ .portal-link { min-width: 44px; padding: 0 4px; font-size: 10px; }
505
+ .product-actions { order: 4; flex: 0 0 auto; gap: 2px; margin-left: auto; }
506
+ .product-actions .icon-button { display: grid; width: 40px; height: 40px; }
507
+ .connection-status { display: inline-flex; width: 28px; max-width: 28px; padding: 0; justify-content: center; }
508
+ .connection-status span:last-child { display: none; }
509
+ .list-pane { grid-column: 1; grid-row: 2; border-right: 0; }
510
+ .content-pane { position: absolute; inset: 112px 0 0; z-index: 8; grid-column: auto; grid-row: auto; transform: translateX(100%); transition: transform .2s ease; }
511
+ .workbench.is-content-open .content-pane { transform: translateX(0); }
512
+ .workbench.is-details-open .conversation-main, .workbench.is-details-open .contact-main { visibility: hidden; }
513
+ .workbench.is-details-open .details-pane { position: absolute; z-index: 12; inset: 0; width: 100%; box-shadow: none; }
514
+ .list-header { padding: 18px 14px 12px 18px; }
515
+ .list-header h1 { font-size: 18px; }
516
+ .back-button { display: inline-grid; place-items: center; width: 44px; height: 44px; }
517
+ .conversation-header { min-height: 60px; padding: 7px 12px; }
518
+ .messages { padding: 10px 14px; }
519
+ .composer { padding: 10px 12px 12px; }
520
+ .composer-controls { align-items: flex-end; }
521
+ .composer-hint { max-width: 210px; }
522
+ .module-view, .contact-content { padding: 20px 14px 28px; background: var(--canvas); }
523
+ .module-title-row { display: grid; }
524
+ .discovery-controls { grid-template-columns: 1fr; }
525
+ .discovery-controls > * { grid-column: 1; }
526
+ .lifecycle-confirmation .card-actions { display: grid; grid-template-columns: 1fr; }
527
+ .lifecycle-confirmation .secondary-button { width: 100%; justify-content: center; }
528
+
529
+ .workbench[data-phase="loading"] .content-pane,
530
+ .workbench[data-phase="error"] .content-pane {
531
+ transform: translateX(0);
532
+ }
533
+ }
534
+
535
+ @media (max-width: 520px) {
536
+ /* Keep navigation and tools on one row, with wrapping portal labels below. */
537
+ .workbench { grid-template-rows: 104px minmax(0, 1fr); }
538
+ .product-bar {
539
+ display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; grid-template-rows: 52px 52px;
540
+ align-content: stretch; gap: 0 4px;
541
+ }
542
+ .brand { grid-column: 1; grid-row: 1; }
543
+ .primary-navigation { grid-column: 2; grid-row: 1; justify-self: start; }
544
+ .portal-navigation { grid-column: 1 / -1; grid-row: 2; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 2px; }
545
+ .portal-link { min-width: 0; padding: 4px; white-space: normal; line-height: 1.35; }
546
+ .product-actions { grid-column: 3; grid-row: 1; justify-self: end; margin-left: 0; gap: 0; }
547
+ .product-actions .icon-button { width: 32px; height: 32px; }
548
+ .connection-status { width: 20px; max-width: 20px; }
549
+ .content-pane { inset: 104px 0 0; }
550
+ }
551
+
552
+ @media (prefers-color-scheme: dark) {
553
+ :root {
554
+ color-scheme: dark;
555
+ --ink-950: #fff5e2;
556
+ --ink-800: #eee1cc;
557
+ --ink-600: #c8bca9;
558
+ --ink-450: #b5a996;
559
+ --line: #51483b;
560
+ --panel: #2a251f;
561
+ --canvas: #211d18;
562
+ --topbar: #302a22;
563
+ --outline: #0f0c09;
564
+ --selection: #2c4759;
565
+ --hover: #3c3429;
566
+ --muted: #c8bca9;
567
+ --blue-700: #75baff;
568
+ --blue-050: #0d2233;
569
+ --blue-100: #12304a;
570
+ --success: #69d6a5;
571
+ --warning: #e0ad61;
572
+ --danger: #ff8c96;
573
+ --shadow-soft: 3px 3px 0 var(--outline);
574
+ }
575
+
576
+ .synthetic-banner { color: #f4d38c; background: #33250d; border-color: #6b501f; }
577
+ .nav-badge { color: var(--accent-ink); }
578
+ .icon-button img, .back-button img, .details-close img, .search-region > img { filter: brightness(1.9); }
579
+ .icon-button:hover img { filter: none; }
580
+ .host-dot { box-shadow: 0 0 0 4px #1b2227; }
581
+ .host-dot.is-online { box-shadow: 0 0 0 4px rgba(33, 122, 87, .24); }
582
+ .host-dot.is-synthetic { box-shadow: 0 0 0 4px rgba(183, 133, 31, .24); }
583
+ .spinner { border-color: #2b3b47; border-top-color: var(--blue-500); }
584
+ .global-compose-layer { background: rgba(0, 0, 0, .64); }
585
+ .status-pill { color: #6dd9a9; background: #123326; }
586
+ .status-pill.is-warning { color: #f1c879; background: #3a290c; }
587
+ .status-pill.is-danger { color: #ffabb3; background: #3b171c; }
588
+ .status-pill.is-neutral { color: #c1c9c4; background: #242c28; }
589
+ .danger-button:hover,
590
+ .delete-confirmation { background: #2a1115; }
591
+ .notice-card { border-color: #24425a; background: #0e2030; }
592
+ }
593
+
594
+ @media (prefers-reduced-motion: reduce) {
595
+ *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; transition-duration: .001ms !important; }
596
+ }
597
+ :root .contact-instances { display: grid; gap: 12px; margin-top: 24px; }
598
+ :root .instance-card { display: grid; gap: 8px; }
599
+ :root .instance-choice { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
600
+ .instance-choice-name { min-width: 0; overflow-wrap: anywhere; }
601
+ .instance-choice-text { display: grid; gap: 2px; min-width: 0; }
602
+ .instance-choice-created { color: var(--muted); font-size: 12px; }
603
+ .instance-choice .secondary-button { margin-top: 0; }
604
+ .instance-choice .action-status { grid-column: 1 / -1; margin: 0; }
605
+ .instance-picker-list { width: 100%; }
606
+ .contact-management .card-actions:empty { display: none; }
607
+ /* The selected contact has one natural-height profile. Do not distribute
608
+ viewport space into the header and empty status rows. */
609
+ .contact-main-selected { display: block; overflow: auto; }
610
+ .contact-main-selected .contact-content { overflow: visible; padding: 16px 20px; }
611
+ .contact-main-selected .contact-profile { display: grid; align-content: start; gap: 12px; }
612
+ .contact-main-selected .contact-profile-header { gap: 12px; padding: 0; border: 0; }
613
+ .contact-main-selected .contact-profile-header .thread-avatar { flex-shrink: 0; }
614
+ .contact-main-selected .contact-profile-header h2 { overflow-wrap: anywhere; }
615
+ .contact-identity-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; }
616
+ .contact-main-selected .contact-profile-actions { margin: 0; }
617
+ .contact-main-selected .contact-profile-actions { justify-content: space-between; }
618
+ .contact-profile-identity { flex: 1; }
619
+ .contact-main-selected .contact-profile-header .thread-avatar { width: 40px; height: 40px; border-radius: 8px; }
620
+ .contact-main-selected .contact-management .action-status:empty,
621
+ .contact-main-selected .instance-card .action-status:empty { display: none; }
622
+ :root .contact-main-selected .contact-instances { align-content: start; gap: 8px; margin-top: 0; }
623
+ .contact-instances-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-top: 12px; border-top: 1px solid var(--line); }
624
+ .contact-instances-heading h3 { margin: 0; font-size: 13px; font-weight: 600; }
625
+ .contact-instances-heading .secondary-button { margin: 0; }
626
+ .contact-main-selected .contact-instances > p { margin: 0; color: var(--ink-600); font-size: 12px; line-height: 1.6; }
627
+ .contact-main-selected .instance-card { padding: 12px 14px; border-radius: 14px; box-shadow: 2px 2px 0 var(--outline); }
628
+ .contact-main-selected .instance-card .card-actions { margin-top: 0; }
629
+ .instance-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
630
+ .instance-name-row { min-width: 0; justify-content: space-between; gap: 8px 12px; }
631
+ .instance-name-row .instance-choice-text > strong { min-width: 0; overflow-wrap: anywhere; font-size: 14px; font-weight: 600; }
632
+ .instance-header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
633
+ .instance-header-actions .secondary-button { margin: 0; }
634
+ .contact-inline-action { color: var(--blue-700); border-color: transparent; background: transparent; box-shadow: none; }
635
+ .contact-more { position: relative; flex: none; }
636
+ .contact-more-summary { display: flex; align-items: center; justify-content: center; min-height: 32px; padding: 6px 10px; border-radius: 6px; color: var(--ink-600); font-size: 12px; line-height: 1.4; list-style: none; cursor: pointer; }
637
+ .contact-more-summary::-webkit-details-marker { display: none; }
638
+ .contact-more-summary:hover, .contact-more[open] > summary { background: var(--canvas); color: var(--ink-950); }
639
+ .contact-more-actions { position: absolute; z-index: 15; top: calc(100% + 4px); right: 0; display: grid; width: max-content; min-width: 160px; max-width: min(230px, calc(100vw - 48px)); padding: 5px; border: 1.5px solid var(--outline); border-radius: 12px; background: var(--panel); box-shadow: 3px 3px 0 var(--outline); }
640
+ .contact-more .contact-more-action { width: 100%; min-height: 32px; margin: 0; padding: 7px 10px; justify-content: flex-start; border: 0; border-radius: 7px; background: transparent; box-shadow: none; font-size: 12px; white-space: normal; text-align: left; }
641
+ .contact-more .contact-more-action:hover { background: var(--canvas); }
642
+ .instance-permissions { margin-top: 10px; border-top: 1px solid var(--line); }
643
+ .instance-permissions-summary { padding: 10px 0 0; color: var(--ink-600); font-size: 12px; cursor: pointer; }
644
+ .instance-permissions-body { display: grid; gap: 14px; margin-top: 12px; }
645
+ .instance-permission-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 6px 12px; }
646
+ .instance-permission-copy { min-width: 0; }
647
+ .instance-permission-copy > strong { font-size: 12px; font-weight: 550; }
648
+ .instance-permission-state { margin-left: 8px; color: var(--ink-600); font-size: 11px; }
649
+ .instance-permission-copy .instance-permission-scope { margin: 5px 0 0; color: var(--ink-600); font-size: 11px; line-height: 1.6; }
650
+ .instance-permission-row .permission-toggle { margin: 0; font-size: 12px; }
651
+ .instance-permission-row .action-status { grid-column: 1 / -1; margin: 0; }
652
+ .instance-permission-row .action-status:empty { display: none; }
653
+ .contact-more-actions .danger-button { color: var(--danger); }
654
+ .contact-main-selected .instance-meta .status-pill { margin-top: 0; }
655
+ :root .instance-name-editor { display: grid; gap: 10px; margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); }
656
+ :root .instance-name-input { min-width: 0; }
657
+ :root .thread-route { display: block; font-size: 11px; color: var(--muted, #667085); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
658
+ :root .conversation-readonly { padding: 16px 24px; color: var(--muted, #667085); border-top: 1px solid var(--border, #e5e7eb); }
659
+ /* Small, local responses keep the messenger calm while controls feel tangible. */
660
+ :is(.primary-button, .secondary-button, .compact-action, .rail-link, .filter-button, .icon-button, .portal-link, .contact-more-summary, .thread-card) {
661
+ transition: transform 120ms ease, box-shadow 120ms ease, background-color 120ms ease;
662
+ }
663
+ @media (hover: hover) and (pointer: fine) {
664
+ :is(.primary-button, .secondary-button, .compact-action):not(:disabled):not(.contact-inline-action):not(.contact-more-action):hover {
665
+ transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--outline);
666
+ }
667
+ :is(.rail-link, .filter-button, .portal-link, .icon-button):not(:disabled):hover { transform: translateY(-1px); }
668
+ }
669
+ :is(.primary-button, .secondary-button, .compact-action, .rail-link, .filter-button, .icon-button):not(:disabled):active {
670
+ transform: translate(1px, 1px); box-shadow: none;
671
+ }
672
+ @media (prefers-reduced-motion: reduce) {
673
+ :is(.primary-button, .secondary-button, .compact-action, .rail-link, .filter-button, .icon-button, .portal-link):hover,
674
+ :is(.primary-button, .secondary-button, .compact-action, .rail-link, .filter-button, .icon-button, .portal-link):active { transform: none; }
675
+ }
676
+ @media (pointer: coarse) {
677
+ .primary-button, .secondary-button, .compact-action, .contact-more-summary, .contact-more .contact-more-action { min-height: 44px; }
678
+ .message-action-button, .message-delivery-status .message-action-button { min-height: 44px; }
679
+ .message-details-button { min-width: 44px; }
680
+ }
681
+ @media (max-height: 480px) {
682
+ .conversation-header { min-height: 48px; padding-block: 6px; }
683
+ .composer { padding-block: 8px; }
684
+ .composer-input { height: 48px; }
685
+ .composer-controls { margin-top: 4px; }
686
+ }