@crvouga/mockingbird-notifications 0.13.0 → 0.14.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 (35) hide show
  1. package/README.md +22 -17
  2. package/dist/admin-gateway.js +2 -2
  3. package/dist/browser.bundle-MOA3BSWW.js +6 -0
  4. package/dist/browser.bundle-MOA3BSWW.js.map +7 -0
  5. package/dist/chunk-5MRZJQ6J.js +1254 -0
  6. package/dist/chunk-5MRZJQ6J.js.map +7 -0
  7. package/dist/{chunk-6GZPCBEM.js → chunk-NMW2EZL2.js} +11 -5
  8. package/dist/chunk-NMW2EZL2.js.map +7 -0
  9. package/dist/{chunk-IWRSXOBL.js → chunk-T6QHUV5K.js} +3 -3
  10. package/dist/chunk-ZIE3JCV6.js +26 -0
  11. package/dist/chunk-ZIE3JCV6.js.map +7 -0
  12. package/dist/cli.js +4 -5
  13. package/dist/cli.js.map +1 -1
  14. package/dist/client.bundle-YOZJSCGX.js +6 -0
  15. package/dist/client.bundle-YOZJSCGX.js.map +7 -0
  16. package/dist/{document-OSYEGZSQ.js → document-JPNN2BT5.js} +2 -2
  17. package/dist/index.js +4 -6
  18. package/dist/index.js.map +1 -1
  19. package/dist/{chunk-QQK27AFM.js → page-J3NUKUUA.js} +34 -306
  20. package/dist/page-J3NUKUUA.js.map +7 -0
  21. package/dist/server-Q5XLVMT2.js +17378 -0
  22. package/dist/server-Q5XLVMT2.js.map +7 -0
  23. package/dist/server.js +4 -5
  24. package/dist/ui.d.ts +36 -46
  25. package/dist/ui.js +21530 -2526
  26. package/dist/ui.js.map +4 -4
  27. package/package.json +34 -14
  28. package/dist/chunk-5DUELOZW.js +0 -1202
  29. package/dist/chunk-5DUELOZW.js.map +0 -7
  30. package/dist/chunk-5KZ24SHQ.js +0 -26
  31. package/dist/chunk-5KZ24SHQ.js.map +0 -7
  32. package/dist/chunk-6GZPCBEM.js.map +0 -7
  33. package/dist/chunk-QQK27AFM.js.map +0 -7
  34. /package/dist/{chunk-IWRSXOBL.js.map → chunk-T6QHUV5K.js.map} +0 -0
  35. /package/dist/{document-OSYEGZSQ.js.map → document-JPNN2BT5.js.map} +0 -0
@@ -2,10 +2,10 @@ import {
2
2
  adminClientScript,
3
3
  adminClientSource,
4
4
  membersClientSource
5
- } from "./chunk-5KZ24SHQ.js";
5
+ } from "./chunk-ZIE3JCV6.js";
6
6
  export {
7
7
  adminClientScript,
8
8
  adminClientSource,
9
9
  membersClientSource
10
10
  };
11
- //# sourceMappingURL=document-OSYEGZSQ.js.map
11
+ //# sourceMappingURL=document-JPNN2BT5.js.map
package/dist/index.js CHANGED
@@ -2,17 +2,15 @@ import {
2
2
  TEST_IDS,
3
3
  selectors
4
4
  } from "./chunk-OR6VYHWA.js";
5
- import {
6
- createNotificationHarness,
7
- parseMime
8
- } from "./chunk-5DUELOZW.js";
9
5
  import {
10
6
  CHANNELS,
11
7
  SERVICE_KINDS,
12
8
  SERVICE_LABELS,
9
+ createNotificationHarness,
13
10
  filterToSearch,
14
- matches
15
- } from "./chunk-QQK27AFM.js";
11
+ matches,
12
+ parseMime
13
+ } from "./chunk-5MRZJQ6J.js";
16
14
 
17
15
  // src/client.ts
18
16
  var NotificationClient = class {
package/dist/index.js.map CHANGED
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../src/client.ts"],
4
4
  "sourcesContent": ["import {\n type Channel,\n filterToSearch,\n type Notification,\n type NotificationFilter,\n type SourceStatus,\n} from \"./model.js\"\n\nexport type NotificationClientOptions = {\n /** Default namespace for every call that does not name one. */\n namespace?: string\n fetch?: (request: Request) => Response | Promise<Response>\n}\n\n/** Talks to a running harness over HTTP, for tests that run in another process. */\nexport class NotificationClient {\n readonly baseUrl: string\n private readonly namespace: string | undefined\n private readonly fetchImpl: (request: Request) => Response | Promise<Response>\n\n constructor(baseUrl: string, options: NotificationClientOptions = {}) {\n this.baseUrl = baseUrl.replace(/\\/+$/, \"\")\n this.namespace = options.namespace\n this.fetchImpl = options.fetch ?? ((request) => fetch(request))\n }\n\n private async get<T>(\n path: string,\n filter: NotificationFilter = {},\n extra: Record<string, string> = {},\n ) {\n const params = filterToSearch({ namespace: this.namespace, ...filter })\n for (const [k, v] of Object.entries(extra)) params.set(k, v)\n const query = params.toString()\n const response = await this.fetchImpl(\n new Request(`${this.baseUrl}${path}${query ? `?${query}` : \"\"}`),\n )\n const body = (await response.json()) as T & { error?: { message?: string } }\n if (!response.ok) {\n const error = new Error(body.error?.message ?? `HTTP ${response.status}`)\n Object.assign(error, { status: response.status, body })\n throw error\n }\n return body\n }\n\n /** Every matching notification, oldest first. */\n async list(filter: NotificationFilter = {}): Promise<Notification[]> {\n return (await this.get<{ notifications: Notification[] }>(\"/api/notifications\", filter))\n .notifications\n }\n\n /** The newest match, or `null`. */\n async latest(filter: NotificationFilter = {}): Promise<Notification | null> {\n try {\n return await this.get<Notification>(\"/api/notifications/latest\", filter)\n } catch (error) {\n if ((error as { status?: number }).status === 404) return null\n throw error\n }\n }\n\n /** Wait until `count` (default 1) notifications match and return them; throws on timeout. */\n async waitFor(\n filter: NotificationFilter,\n options: { timeoutMs?: number; count?: number } = {},\n ): Promise<Notification[]> {\n const extra: Record<string, string> = {}\n if (options.timeoutMs !== undefined) extra.timeoutMs = String(options.timeoutMs)\n if (options.count !== undefined) extra.count = String(options.count)\n return (await this.get<{ notifications: Notification[] }>(\"/api/wait\", filter, extra))\n .notifications\n }\n\n /** Wait for the next SMS to `to` and return its one-time code (Twilio Verify) or first 4\u20138 digit run. */\n async waitForCode(\n to: string,\n filter: NotificationFilter = {},\n timeoutMs?: number,\n ): Promise<string> {\n const found = await this.waitFor(\n { channel: \"sms\", to, ...filter },\n timeoutMs === undefined ? {} : { timeoutMs },\n )\n const last = found.at(-1)\n const code = last?.sms?.code ?? /\\b(\\d{4,8})\\b/.exec(last?.sms?.body ?? \"\")?.[1]\n if (!code) throw new Error(`no code in the latest SMS to ${to}`)\n return code\n }\n\n async sources(): Promise<SourceStatus[]> {\n return (await this.get<{ sources: SourceStatus[] }>(\"/api/sources\")).sources\n }\n\n /** A UI link that opens one device (or one notification) for a screenshot. */\n link(view: { channel?: Channel; to?: string; id?: string } = {}): string {\n const params = new URLSearchParams()\n if (this.namespace) params.set(\"namespace\", this.namespace)\n if (view.channel) params.set(\"view\", view.channel)\n if (view.to) params.set(\"to\", view.to)\n if (view.id) params.set(\"id\", view.id)\n const query = params.toString()\n return `${this.baseUrl}/${query ? `?${query}` : \"\"}`\n }\n}\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;AAeO,IAAM,qBAAN,MAAyB;AAAA,EACrB;AAAA,EACQ;AAAA,EACA;AAAA,EAEjB,YAAY,SAAiB,UAAqC,CAAC,GAAG;AACpE,SAAK,UAAU,QAAQ,QAAQ,QAAQ,EAAE;AACzC,SAAK,YAAY,QAAQ;AACzB,SAAK,YAAY,QAAQ,UAAU,CAAC,YAAY,MAAM,OAAO;AAAA,EAC/D;AAAA,EAEA,MAAc,IACZ,MACA,SAA6B,CAAC,GAC9B,QAAgC,CAAC,GACjC;AACA,UAAM,SAAS,eAAe,EAAE,WAAW,KAAK,WAAW,GAAG,OAAO,CAAC;AACtE,eAAW,CAAC,GAAG,CAAC,KAAK,OAAO,QAAQ,KAAK,EAAG,QAAO,IAAI,GAAG,CAAC;AAC3D,UAAM,QAAQ,OAAO,SAAS;AAC9B,UAAM,WAAW,MAAM,KAAK;AAAA,MAC1B,IAAI,QAAQ,GAAG,KAAK,OAAO,GAAG,IAAI,GAAG,QAAQ,IAAI,KAAK,KAAK,EAAE,EAAE;AAAA,IACjE;AACA,UAAM,OAAQ,MAAM,SAAS,KAAK;AAClC,QAAI,CAAC,SAAS,IAAI;AAChB,YAAM,QAAQ,IAAI,MAAM,KAAK,OAAO,WAAW,QAAQ,SAAS,MAAM,EAAE;AACxE,aAAO,OAAO,OAAO,EAAE,QAAQ,SAAS,QAAQ,KAAK,CAAC;AACtD,YAAM;AAAA,IACR;AACA,WAAO;AAAA,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K,OAAO;AACjD,QAAI,KAAK,GAAI,QAAO,IAAI,MAAM,KAAK,EAAE;AACrC,QAAI,KAAK,GAAI,QAAO,IAAI,MAAM,KAAK,EAAE;AACrC,UAAM,QAAQ,OAAO,SAAS;AAC9B,WAAO,GAAG,KAAK,OAAO,IAAI,QAAQ,IAAI,KAAK,KAAK,EAAE;AAAA,EACpD;AACF;",
6
6
  "names": []
7
7
  }
@@ -1,81 +1,6 @@
1
- // src/model.ts
2
- var CHANNELS = ["sms", "push", "email", "chat"];
3
- var SERVICE_KINDS = [
4
- "twilio",
5
- "resend",
6
- "fcm",
7
- "ses",
8
- "sns",
9
- "customerio",
10
- "mailosaur",
11
- "slack",
12
- "cognito"
13
- ];
14
- var SERVICE_LABELS = {
15
- twilio: "Twilio",
16
- resend: "Resend",
17
- fcm: "Firebase Cloud Messaging",
18
- ses: "Amazon SES",
19
- sns: "Amazon SNS",
20
- customerio: "Customer.io",
21
- mailosaur: "Mailosaur",
22
- slack: "Slack",
23
- cognito: "Amazon Cognito"
24
- };
25
- var toMs = (value) => typeof value === "number" ? value : /^\d+$/.test(value) ? Number(value) : Date.parse(value);
26
- var searchable = (n) => [
27
- n.to,
28
- n.from.address,
29
- n.from.name ?? "",
30
- n.preview,
31
- n.sms?.body ?? "",
32
- n.email?.subject ?? "",
33
- n.email?.text ?? "",
34
- n.push?.title ?? "",
35
- n.push?.body ?? "",
36
- n.chat?.text ?? ""
37
- ].join("\n").toLowerCase();
38
- var matches = (n, filter) => {
39
- if (filter.channel && n.channel !== filter.channel) return false;
40
- if (filter.service && n.service !== filter.service) return false;
41
- if (filter.source && n.source !== filter.source) return false;
42
- if (filter.namespace && n.namespace !== filter.namespace) return false;
43
- if (filter.to && n.to.toLowerCase() !== filter.to.toLowerCase()) return false;
44
- if (filter.contains && !searchable(n).includes(filter.contains.toLowerCase())) return false;
45
- if (filter.since !== void 0 && Date.parse(n.createdAt) < toMs(filter.since)) return false;
46
- return true;
47
- };
48
- var filterFromSearch = (params) => {
49
- const filter = {};
50
- const channel = params.get("channel");
51
- if (channel) {
52
- if (!CHANNELS.includes(channel))
53
- throw new Error(`channel: expected sms, email, push or chat, got ${JSON.stringify(channel)}`);
54
- filter.channel = channel;
55
- }
56
- const service = params.get("service");
57
- if (service) {
58
- if (!SERVICE_KINDS.includes(service))
59
- throw new Error(`service: expected one of ${SERVICE_KINDS.join(", ")}`);
60
- filter.service = service;
61
- }
62
- for (const key of ["source", "namespace", "to", "contains"]) {
63
- const value = params.get(key);
64
- if (value) filter[key] = value;
65
- }
66
- const since = params.get("since");
67
- if (since) {
68
- if (Number.isNaN(toMs(since))) throw new Error("since: expected ISO-8601 or epoch milliseconds");
69
- filter.since = since;
70
- }
71
- return filter;
72
- };
73
- var filterToSearch = (filter) => {
74
- const params = new URLSearchParams();
75
- for (const [key, value] of Object.entries(filter))
76
- if (value !== void 0 && value !== "") params.set(key, String(value));
77
- return params;
78
- };
1
+ // src/ui/page.ts
2
+ import { escapeHtml, renderDocument } from "@crvouga/mockingbird-ui/document";
3
+ import { MOCKINGBIRD_CSS } from "@crvouga/mockingbird-ui/styles";
79
4
 
80
5
  // src/ui/scope-css.ts
81
6
  var scopeCss = (css, scope) => {
@@ -130,156 +55,39 @@ var splitTopLevel = (value) => {
130
55
  return parts;
131
56
  };
132
57
 
133
- // src/ui/dashboard-styles.ts
134
- var DASHBOARD_ROOT_CLASS = "mb-dashboard";
135
- var RAW = `
136
- :root {
137
- --mbd-bar: #12151b; --mbd-line: #2a2f3a; --mbd-text: #e8eaf0; --mbd-muted: #9aa1b1;
138
- --mbd-accent: #0a84ff; --mbd-hover: rgba(255,255,255,.07); --mbd-panel: #0e1015; --mbd-ok: #30d158;
139
- }
140
- &[data-theme="light"] {
141
- --mbd-bar: #ffffff; --mbd-line: #e4e8ee; --mbd-text: #172033; --mbd-muted: #667085;
142
- --mbd-accent: #2563d8; --mbd-hover: rgba(16,24,40,.06); --mbd-panel: #f5f7fa; --mbd-ok: #1f9d55;
143
- }
144
- @media (prefers-color-scheme: light) {
145
- &[data-theme="auto"] {
146
- --mbd-bar: #ffffff; --mbd-line: #e4e8ee; --mbd-text: #172033; --mbd-muted: #667085;
147
- --mbd-accent: #2563d8; --mbd-hover: rgba(16,24,40,.06); --mbd-panel: #f5f7fa; --mbd-ok: #1f9d55;
148
- }
149
- }
150
- :root { display: flex; flex-direction: column; box-sizing: border-box; height: 100%; min-height: 0; overflow: hidden;
151
- background: var(--mbd-panel); color: var(--mbd-text);
152
- font: 14px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-tap-highlight-color: transparent; }
153
- .mbd-bar, .mbd-bar *, .mbd-panels, .mbd-panel { box-sizing: border-box; }
154
- .mbd-bar { flex: none; display: flex; align-items: stretch; gap: 18px; height: 46px; padding: 0 16px;
155
- background: var(--mbd-bar); border-bottom: 1px solid var(--mbd-line); }
156
- .mbd-brand { display: flex; align-items: center; gap: 9px; font-weight: 650; letter-spacing: -.01em; white-space: nowrap; }
157
- .mbd-mark { width: 24px; height: 24px; border-radius: 7px; background: linear-gradient(135deg,#0a84ff,#5e5ce6); flex: none;
158
- display: grid; place-items: center; color: #fff; font-size: 13px; line-height: 1; }
159
- .mbd-tabs { display: flex; align-items: stretch; gap: 2px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
160
- .mbd-tabs::-webkit-scrollbar { display: none; }
161
- .mbd-tab { position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 0 13px; margin: 0; border: 0;
162
- background: none; color: var(--mbd-muted); font: inherit; font-weight: 560; white-space: nowrap; cursor: pointer; border-radius: 0; }
163
- .mbd-tab::after { content: ""; position: absolute; left: 9px; right: 9px; bottom: -1px; height: 2px; border-radius: 2px 2px 0 0; background: transparent; }
164
- .mbd-tab:hover { color: var(--mbd-text); background: var(--mbd-hover); }
165
- .mbd-tab[aria-selected="true"] { color: var(--mbd-text); }
166
- .mbd-tab[aria-selected="true"]::after { background: var(--mbd-accent); }
167
- .mbd-tab:focus-visible { outline: 2px solid var(--mbd-accent); outline-offset: -3px; border-radius: 7px; }
168
- .mbd-badge { display: inline-block; min-width: 18px; padding: 0 6px; border-radius: 999px; background: var(--mbd-accent); color: #fff;
169
- font-size: 11px; font-weight: 650; line-height: 18px; text-align: center; }
170
- .mbd-badge[hidden] { display: none; }
171
- .mbd-aside { display: flex; align-items: center; gap: 12px; margin-left: auto; min-width: 0; color: var(--mbd-muted); font-size: 12.5px; white-space: nowrap; }
172
- .mbd-aside:empty { display: none; }
173
- .mbd-aside a { color: var(--mbd-accent); text-decoration: none; font-weight: 560; }
174
- .mbd-aside a:hover { text-decoration: underline; }
175
- .mbd-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border: 1px solid var(--mbd-line); border-radius: 999px; }
176
- .mbd-pill b { color: var(--mbd-text); font-weight: 600; }
177
- .mbd-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mbd-ok); }
178
- .mbd-panels { flex: 1; min-height: 0; position: relative; }
179
- .mbd-panel { height: 100%; overflow: auto; }
180
- .mbd-panel[hidden] { display: none; }
181
- .mbd-fill { height: 100%; }
182
- .mbd-status { padding: 48px; color: var(--mbd-muted); }
183
- .mbd-status[data-kind="error"] { color: #ff6b61; }
184
- @media (max-width: 640px) {
185
- .mbd-bar { gap: 8px; height: 42px; padding: 0 8px; }
186
- .mbd-brand span { display: none; }
187
- .mbd-tabs { flex: 1; }
188
- .mbd-tab { flex: 1 0 auto; justify-content: center; padding: 0 10px; font-size: 13px; }
189
- .mbd-aside .mbd-pill { display: none; }
190
- }
191
- `;
192
- var DASHBOARD_STYLES = scopeCss(RAW, `.${DASHBOARD_ROOT_CLASS}`);
193
- var DASHBOARD_PAGE_STYLES = "html.mbd-page, html.mbd-page body, html.mbd-page #app { height: 100%; min-height: 0; overflow: hidden; }";
194
-
195
- // src/ui/styles.ts
58
+ // src/ui/skins.ts
196
59
  var ROOT_CLASS = "mb-notifications";
197
- var RAW2 = `
60
+ var RAW = `
198
61
  :root {
199
- --bg: #0e1015; --panel: #161920; --panel-2: #1d212a; --line: #2a2f3a; --text: #e8eaf0;
200
- --muted: #9aa1b1; --accent: #0a84ff; --ok: #30d158; --bad: #ff453a; --warn: #ffd60a;
201
62
  --ios: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
202
63
  --android: "Google Sans Text", "Google Sans", Roboto, "Segoe UI", system-ui, sans-serif;
203
64
  --mail: "Google Sans", Roboto, RobotoDraft, Helvetica, Arial, sans-serif;
204
65
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
66
+ -webkit-tap-highlight-color: transparent;
205
67
  }
206
- :root { display: block; position: relative; box-sizing: border-box; min-height: 100%; background: var(--bg); color: var(--text);
207
- font: 14px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-tap-highlight-color: transparent; }
208
- *, *::before, *::after { box-sizing: border-box; }
209
- button, input, select { font: inherit; color: inherit; }
210
- button { cursor: pointer; }
68
+ .mbn-skin, .mbn-skin *, .mbn-skin *::before, .mbn-skin *::after { box-sizing: border-box; }
69
+ .mbn-skin button { font: inherit; color: inherit; cursor: pointer; }
70
+ .mbn-skin h1, .mbn-skin h2, .mbn-skin h3 { margin: 0; }
71
+ .mbn-i { display: contents; }
72
+ /* The shared stylesheet's reset makes images and icons blocks; the skins draw them inline, as a
73
+ browser does by default, and place them where they need otherwise. */
74
+ .mbn-skin svg, .mbn-skin img { display: inline; vertical-align: baseline; }
211
75
  [hidden] { display: none !important; }
212
76
  &[data-motion="reduce"] *, &[data-motion="reduce"] *::before, &[data-motion="reduce"] *::after { animation: none !important; transition: none !important; }
213
- &.embedded { height: 100%; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
214
- &.embedded .mbn-scroll { flex: 1; min-height: 0; overflow: auto; }
215
- &.embedded .inspector { position: absolute; }
216
- [data-gesture]:focus-visible, [role="button"]:focus-visible, .icon-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
217
- .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
77
+ .mbn-skin [role="button"]:focus-visible, .mbn-skin .icon-btn:focus-visible, .mbn-skin [tabindex]:focus-visible { outline: 2px solid #0a84ff; outline-offset: 2px; }
218
78
 
219
- /* \u2500\u2500 Harness chrome \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
220
- .topbar { position: sticky; top: 0; z-index: 20; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
221
- padding: 10px 18px; background: rgba(14,16,21,.86); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
222
- .brand { display: flex; align-items: center; gap: 10px; font-weight: 650; letter-spacing: -.01em; margin-right: 6px; }
223
- .brand-mark { width: 26px; height: 26px; border-radius: 7px; background: linear-gradient(135deg,#0a84ff,#5e5ce6); display: grid; place-items: center; }
224
- .brand small { color: var(--muted); font-weight: 500; }
225
- .field { display: flex; align-items: center; gap: 6px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; padding: 0 8px; height: 32px; }
226
- .field label { color: var(--muted); font-size: 12px; }
227
- .field select, .field input { background: transparent; border: 0; outline: 0; height: 30px; min-width: 0; }
228
- .field select option { background: var(--panel-2); }
229
- .field.search { flex: 1 1 220px; max-width: 360px; }
230
- .field.search input { width: 100%; }
231
- .tabs { display: flex; background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; padding: 2px; }
232
- .tabs button { background: none; border: 0; padding: 5px 12px; border-radius: 6px; color: var(--muted); font-weight: 550; }
233
- .tabs button[aria-pressed="true"] { background: #2c3240; color: var(--text); }
234
- .toggle { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; user-select: none; }
235
- .toggle input { accent-color: var(--accent); }
236
- .sources { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }
237
- .pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); font-size: 12px; color: var(--muted); white-space: nowrap; }
238
- .pill b { color: var(--text); font-weight: 600; }
239
- .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
240
- .dot.ok { background: var(--ok); box-shadow: 0 0 0 3px rgba(48,209,88,.15); }
241
- .dot.bad { background: var(--bad); box-shadow: 0 0 0 3px rgba(255,69,58,.15); }
242
- .live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
243
- /* Wide, the menu's contents sit in the bar itself; this is their order there. */
244
- .topbar-more { display: contents; }
245
- .menu-btn { display: none; place-items: center; flex: none; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel-2); color: var(--muted); }
246
- .menu-btn[aria-expanded="true"] { color: var(--text); border-color: #3d4a66; }
247
- .topbar .namespace { order: 1; } .topbar .search { order: 2; } .topbar .tabs { order: 3; } .topbar .toggle { order: 4; }
248
- .topbar .icon-toggle { order: 5; } .topbar .live { order: 6; } .topbar .sources { order: 7; }
249
- .notice { margin: 14px 18px 0; padding: 10px 14px; border: 1px solid #5a2b2b; background: #2a1517; color: #ffb4ab; border-radius: 10px; font-size: 13px; }
250
-
251
- .devices { display: flex; flex-wrap: wrap; gap: 28px; padding: 22px 18px 40px; align-items: flex-start; justify-content: center; zoom: var(--mbn-scale, 1); }
79
+ /* \u2500\u2500 Device frames: side by side, or one at a time \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
80
+ .devices { display: flex; flex-wrap: wrap; gap: 28px; padding: 20px 16px 40px; align-items: flex-start; justify-content: center; zoom: var(--mbn-scale, 1); }
252
81
  .devices.solo .device-col.wide { max-width: 1280px; }
253
82
  .device-col { display: flex; flex-direction: column; gap: 12px; align-items: center; width: 362px; flex: none; }
254
83
  .device-col.wide { flex: 3 1 480px; width: auto; min-width: 0; max-width: 1180px; align-items: stretch; }
255
84
  .device-col.wide.chat-col { flex: 2 1 340px; max-width: 760px; }
256
85
  .devices.solo .device-col.wide.chat-col { max-width: 980px; }
257
- /* Two fixed rows on every device, so the frames underneath all start at the same height. */
258
- .device-head { display: grid; grid-template-rows: 28px 30px; row-gap: 6px; height: 64px; flex: none; width: 100%; justify-items: start; }
259
- .device-head .head-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-width: 0; height: 28px; overflow: hidden; }
260
- .device-head h2 { white-space: nowrap; }
261
- .device-head h2 { margin: 0; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 650; display: flex; align-items: center; gap: 8px; }
262
- .device-head h2 .count { background: var(--accent); color: #fff; border-radius: 999px; padding: 0 7px; font-size: 11px; letter-spacing: 0; line-height: 18px; }
263
- .device-head .field { height: 30px; max-width: 100%; min-width: 0; }
264
- .device-head .field select { max-width: 190px; text-overflow: ellipsis; }
265
- .channel-tabs { display: flex; gap: 2px; padding: 0 18px; border-bottom: 1px solid var(--line); background: var(--panel); overflow-x: auto; flex: none; scrollbar-width: none; }
266
- .channel-tabs [role="tab"] { position: relative; display: inline-flex; align-items: center; gap: 6px; flex: none; background: none; border: 0; padding: 10px 14px 9px; color: var(--muted); font-weight: 550; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
267
- .channel-tabs [role="tab"]:hover { color: var(--text); }
268
- .channel-tabs [role="tab"][aria-selected="true"] { color: var(--text); border-bottom-color: var(--accent); }
269
- .channel-tabs [role="tab"]:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; border-radius: 6px; }
270
- .channel-tabs .tab-unread { background: var(--accent); color: #fff; border-radius: 999px; padding: 0 6px; min-width: 18px; font-size: 11px; line-height: 18px; text-align: center; }
271
- .channel-tabs[data-layout="tabs"] { padding: 0 6px; }
272
- .channel-tabs[data-layout="tabs"] [role="tab"] { flex: 1 1 0; justify-content: center; padding-left: 8px; padding-right: 8px; }
273
- /* One device at a time: the host is too narrow for two. Phones shrink to fit rather than clip. */
274
86
  &[data-layout="tabs"] .devices { padding: 14px 8px 32px; gap: 0; }
275
87
  &[data-layout="tabs"] .device-col.wide { flex-basis: 100%; }
276
88
  &[data-layout="tabs"] .iphone, &[data-layout="tabs"] .pixel { zoom: var(--mbn-fit, 1); }
277
89
  &[data-layout="tabs"] .device-col:not(.wide) { width: auto; max-width: 100%; }
278
90
  &[data-layout="tabs"] .device-col:not(.wide) .device-head { width: calc(362px * var(--mbn-fit, 1)); }
279
- .seg { display: flex; background: var(--panel-2); border: 1px solid var(--line); border-radius: 7px; padding: 2px; }
280
- .seg button { border: 0; background: none; color: var(--muted); padding: 2px 9px; border-radius: 5px; font-size: 12px; }
281
- .seg button[aria-pressed="true"] { background: #2c3240; color: var(--text); }
282
-
283
91
  /* \u2500\u2500 Phone hardware \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
284
92
  .iphone { position: relative; width: 362px; height: 760px; border-radius: 58px; padding: 12px; background: #0b0b0c;
285
93
  box-shadow: 0 0 0 2px #3a3a3c, 0 0 0 6px #1c1c1e, 0 0 0 7px #4a4a4e, 0 40px 80px rgba(0,0,0,.55); }
@@ -476,40 +284,6 @@ button { cursor: pointer; }
476
284
  .reply-row { display: flex; gap: 10px; margin: 24px 16px 0 70px; }
477
285
  .reply-row span { display: inline-flex; align-items: center; gap: 8px; padding: 0 22px 0 16px; height: 36px; border: 1px solid #747775; border-radius: 18px; font: 500 14px var(--mail); color: #444746; }
478
286
 
479
- /* \u2500\u2500 Timeline + inspector \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
480
- .timeline { padding: 18px; overflow-x: auto; }
481
- .tl td.mono:first-child { white-space: nowrap; }
482
- .tl { width: 100%; border-collapse: collapse; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
483
- .tl th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; padding: 10px 12px; background: var(--panel-2); border-bottom: 1px solid var(--line); }
484
- .tl td { padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
485
- .tl tr:last-child td { border-bottom: 0; }
486
- .tl tbody tr { cursor: pointer; }
487
- .tl tbody tr:hover { background: #1b1f28; }
488
- .tl .content { max-width: 520px; color: var(--muted); }
489
- .tl .content b { color: var(--text); font-weight: 600; }
490
- .tl .mono { font-family: var(--mono); font-size: 12px; }
491
- .chan { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border-radius: 6px; font-size: 12px; font-weight: 600; }
492
- .chan.sms { background: rgba(48,209,88,.14); color: #6ee38a; }
493
- .chan.email { background: rgba(10,132,255,.16); color: #69b0ff; }
494
- .chan.push { background: rgba(255,159,10,.15); color: #ffc15e; }
495
- .chan.chat { background: rgba(191,90,242,.16); color: #d79bff; }
496
- .chan.sms.wa { background: rgba(37,211,102,.2); color: #4be08a; }
497
- .svc-tag { font-size: 12px; color: var(--muted); }
498
- .empty-tl { padding: 60px; text-align: center; color: var(--muted); }
499
- .inspector { position: fixed; z-index: 40; top: 0; right: 0; bottom: 0; width: min(560px, 100vw); background: var(--panel); border-left: 1px solid var(--line); box-shadow: -20px 0 50px rgba(0,0,0,.4); display: flex; flex-direction: column; }
500
- .inspector header { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
501
- .inspector header h3 { margin: 0; font-size: 15px; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
502
- .inspector .btn { background: var(--panel-2); border: 1px solid var(--line); border-radius: 7px; padding: 4px 10px; font-size: 13px; }
503
- .inspector pre { margin: 0; flex: 1; overflow: auto; padding: 14px 16px; font: 12px/1.55 var(--mono); color: #cdd3df; white-space: pre-wrap; overflow-wrap: anywhere; }
504
- .inspector .kv { display: grid; grid-template-columns: 110px 1fr; gap: 6px 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 13px; }
505
- .inspector .kv span:nth-child(odd) { color: var(--muted); }
506
- .inspector .kv span:nth-child(even) { overflow-wrap: anywhere; font-family: var(--mono); font-size: 12px; }
507
-
508
-
509
- /* \u2500\u2500 Sound toggle \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
510
- .icon-toggle { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel-2); color: var(--muted); font-size: 13px; }
511
- .icon-toggle[aria-pressed="true"] { color: var(--text); border-color: #3d4a66; }
512
-
513
287
  /* \u2500\u2500 Swipe gestures \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
514
288
  .swipe { position: relative; touch-action: pan-y; }
515
289
  .swipe > .swipe-card { position: relative; z-index: 1; will-change: transform; }
@@ -704,80 +478,34 @@ button { cursor: pointer; }
704
478
  .chat-empty { margin: auto; padding: 40px 28px; text-align: center; color: #616061; display: flex; flex-direction: column; gap: 6px; max-width: 380px; }
705
479
  .chat-empty b { color: #1d1c1d; font-size: 16px; }
706
480
  @container (max-width: 560px) { .chat-side { display: none; } .chat-msg, .chat-head, .chat-day { padding-left: 12px; padding-right: 12px; } .chat-compose { margin: 0 12px 12px; } .chat-fields { grid-template-columns: 1fr; } }
707
- @media (max-width: 760px) { .devices { padding: 16px 8px; } .device-col.wide { flex-basis: 100%; } }
708
481
 
709
482
  /* \u2500\u2500 Phone \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500
710
- The harness itself is on a phone: a one-row top bar (search, status, a menu for the rest) and the
711
- open device filling the screen below the tabs, instead of a 760px phone drawn at 362px wide. */
712
- &[data-size="phone"] { display: flex; flex-direction: column; overflow: hidden; }
713
- &[data-size="phone"]:not(.embedded) { height: 100dvh; max-height: 100%; min-height: 0; }
714
- &[data-size="phone"] .mbn-scroll { flex: 1; min-height: 0; overflow: auto; display: flex; flex-direction: column; overscroll-behavior: contain; }
715
- &[data-size="phone"] input, &[data-size="phone"] select { font-size: 16px; }
716
- &[data-size="phone"] .topbar { position: relative; flex: none; gap: 8px; padding: 8px 10px; }
717
- &[data-size="phone"] .brand { margin: 0; }
718
- &[data-size="phone"] .brand-name { display: none; }
719
- &[data-size="phone"] .field { height: 36px; border-radius: 9px; }
720
- &[data-size="phone"] .field select, &[data-size="phone"] .field input { height: 34px; }
721
- &[data-size="phone"] .topbar .search { flex: 1 1 0; min-width: 0; max-width: none; }
722
- &[data-size="phone"] .live-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
723
- &[data-size="phone"] .live { padding: 0 4px; }
724
- &[data-size="phone"] .menu-btn { display: grid; order: 8; }
725
- &[data-size="phone"] .topbar-more { display: none; order: 9; flex-basis: 100%; flex-wrap: wrap; align-items: center; gap: 8px; padding: 2px 0 2px; }
726
- &[data-size="phone"] .menu-btn[aria-expanded="true"] + .topbar-more { display: flex; }
727
- &[data-size="phone"] .topbar-more .namespace { flex: 1 1 100%; }
728
- &[data-size="phone"] .topbar-more .namespace select { flex: 1; }
729
- &[data-size="phone"] .topbar-more .tabs button { padding: 7px 14px; }
730
- &[data-size="phone"] .topbar-more .icon-toggle { height: 36px; }
731
- &[data-size="phone"] .topbar-more .toggle { min-height: 36px; }
732
- &[data-size="phone"] .topbar-more .sources { flex-basis: 100%; margin: 0; }
733
- &[data-size="phone"] .channel-tabs[data-layout="tabs"] { padding: 0 4px; }
734
- &[data-size="phone"] .channel-tabs [role="tab"] { padding: 11px 6px 10px; }
735
- &[data-size="phone"] .notice { margin: 8px 10px 0; }
736
- &[data-size="phone"] .devices { zoom: 1; flex: 1 0 auto; min-height: 440px; flex-wrap: nowrap; align-items: stretch; padding: 0 10px 10px; gap: 0; }
483
+ The harness itself is on a phone: the open device fills the screen below the tabs, instead of
484
+ a 760px phone drawn at 362px wide. */
485
+ &[data-size="phone"] .devices { zoom: 1; flex: 1 0 auto; min-height: max(440px, calc(100dvh - 200px)); flex-wrap: nowrap; align-items: stretch; padding: 0 12px 12px; gap: 0; }
486
+ &.embedded[data-size="phone"] .devices { min-height: 440px; }
737
487
  &[data-size="phone"] .device-col, &[data-size="phone"] .device-col.wide { flex: 1 1 100%; width: 100%; max-width: none; min-width: 0; align-items: stretch; gap: 0; }
738
- &[data-size="phone"] .device-head, &[data-size="phone"][data-layout="tabs"] .device-col:not(.wide) .device-head { display: flex; align-items: center; gap: 8px; width: 100%; height: auto; padding: 8px 0; }
739
- &[data-size="phone"] .device-head h2 { display: none; }
740
- &[data-size="phone"] .device-head .head-row { order: 2; width: auto; height: auto; flex: none; }
741
- &[data-size="phone"] .device-head .head-row:not(:has(> :not(h2))) { display: none; }
742
- &[data-size="phone"] .device-head > .field { flex: 1; min-width: 0; height: 36px; }
743
- &[data-size="phone"] .device-head .field select { flex: 1; width: 100%; max-width: none; }
744
- &[data-size="phone"] .seg button { padding: 6px 10px; }
488
+ &[data-size="phone"][data-layout="tabs"] .device-col:not(.wide) .device-head { width: 100%; }
745
489
  &[data-size="phone"] .iphone, &[data-size="phone"] .pixel { zoom: 1; display: flex; flex: 1; width: 100%; height: auto; min-height: 0; border-radius: 40px; padding: 7px;
746
490
  box-shadow: 0 0 0 1.5px #3a3a3c, 0 18px 40px rgba(0,0,0,.45); }
747
491
  &[data-size="phone"] .iphone::before, &[data-size="phone"] .iphone::after, &[data-size="phone"] .pixel::after { display: none; }
748
492
  &[data-size="phone"] .iphone .screen, &[data-size="phone"] .pixel .screen { flex: 1; height: auto; border-radius: 33px; clip-path: inset(0 round 33px); }
749
493
  &[data-size="phone"] .window { flex: 1; height: auto; min-height: 0; border-radius: 16px; }
750
494
  &[data-size="phone"] .window .chrome { display: none; }
751
- &[data-size="phone"] .timeline { padding: 10px; overflow-x: visible; }
752
- /* The timeline table becomes one card per notification. */
753
- &[data-size="phone"] .tl, &[data-size="phone"] .tl tbody { display: block; }
754
- &[data-size="phone"] .tl thead { display: none; }
755
- &[data-size="phone"] .tl tbody tr { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "channel to time" "content content content" "source from status";
756
- align-items: center; gap: 6px 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
757
- &[data-size="phone"] .tl tbody tr:last-child { border-bottom: 0; }
758
- &[data-size="phone"] .tl td { display: block; min-width: 0; padding: 0; border: 0; }
759
- &[data-size="phone"] .tl td[data-col="channel"] { grid-area: channel; } &[data-size="phone"] .tl td[data-col="time"] { grid-area: time; color: var(--muted); font-size: 11px; }
760
- &[data-size="phone"] .tl td[data-col="to"] { grid-area: to; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); }
761
- &[data-size="phone"] .tl td[data-col="content"] { grid-area: content; max-width: none; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
762
- &[data-size="phone"] .tl td[data-col="source"] { grid-area: source; font-size: 12px; }
763
- &[data-size="phone"] .tl td[data-col="from"] { grid-area: from; font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
764
- &[data-size="phone"] .tl td[data-col="status"] { grid-area: status; font-size: 12px; }
765
495
  `;
766
- var STYLES = scopeCss(RAW2, `.${ROOT_CLASS}`);
767
- var PAGE_STYLES = "html, body { margin: 0; min-height: 100%; background: #0e1015; color-scheme: dark; } #app { min-height: 100vh; } .boot { padding: 48px; color: #9aa1b1; font: 14px/1.4 system-ui, sans-serif; }";
496
+ var STYLES = scopeCss(RAW, `.${ROOT_CLASS}`);
768
497
 
498
+ // src/ui/page.ts
499
+ var renderPage = ({
500
+ title,
501
+ defaultTab = "notifications"
502
+ }) => renderDocument({
503
+ title,
504
+ css: MOCKINGBIRD_CSS + STYLES,
505
+ head: '<script type="module" src="./ui.js"></script>',
506
+ body: `<div id="app" data-title="${escapeHtml(title)}" data-default-tab="${defaultTab}"><p role="status" style="padding:48px;opacity:.7">Loading notifications\u2026</p></div>`
507
+ });
769
508
  export {
770
- CHANNELS,
771
- SERVICE_KINDS,
772
- SERVICE_LABELS,
773
- matches,
774
- filterFromSearch,
775
- filterToSearch,
776
- DASHBOARD_ROOT_CLASS,
777
- DASHBOARD_STYLES,
778
- DASHBOARD_PAGE_STYLES,
779
- ROOT_CLASS,
780
- STYLES,
781
- PAGE_STYLES
509
+ renderPage
782
510
  };
783
- //# sourceMappingURL=chunk-QQK27AFM.js.map
511
+ //# sourceMappingURL=page-J3NUKUUA.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../src/ui/page.ts", "../src/ui/scope-css.ts", "../src/ui/skins.ts"],
4
+ "sourcesContent": ["/**\n * The harness page: Mockingbird's document (`renderDocument`: the bird favicon, the title suffix,\n * light and dark) with the shared stylesheet and the device skins inline, and an empty `#app` that\n * `/ui.js` (`browser.ts`) draws into: the dashboard when the harness fronts emulator admin APIs,\n * else the notifications UI alone. No inline script, so it runs under a strict CSP.\n *\n * The harness imports this module lazily, on the request for the page, so a harness that only\n * serves the JSON API (in a test, in a browser tab) never loads the stylesheet.\n */\nimport { escapeHtml, renderDocument } from \"@crvouga/mockingbird-ui/document\"\nimport { MOCKINGBIRD_CSS } from \"@crvouga/mockingbird-ui/styles\"\nimport { STYLES } from \"./skins.js\"\n\nexport const renderPage = ({\n title,\n defaultTab = \"notifications\",\n}: {\n title: string\n defaultTab?: \"emulators\" | \"notifications\"\n}): string =>\n renderDocument({\n title,\n css: MOCKINGBIRD_CSS + STYLES,\n head: '<script type=\"module\" src=\"./ui.js\"></script>',\n body: `<div id=\"app\" data-title=\"${escapeHtml(title)}\" data-default-tab=\"${defaultTab}\"><p role=\"status\" style=\"padding:48px;opacity:.7\">Loading notifications\u2026</p></div>`,\n })\n", "/**\n * Prefix every selector in a stylesheet with `scope`, so the harness UI can sit inside another\n * application without its rules leaking out. `:root`, `html` and `body` become the scope element\n * itself; `@media`, `@container` and `@supports` blocks are scoped recursively; `@keyframes` and\n * other at-rules are left alone.\n */\nexport const scopeCss = (css: string, scope: string): string => {\n const source = css.replace(/\\/\\*[\\s\\S]*?\\*\\//g, \"\")\n let out = \"\"\n let i = 0\n while (i < source.length) {\n const open = source.indexOf(\"{\", i)\n if (open < 0) break\n const head = source.slice(i, open).trim()\n let depth = 1\n let j = open + 1\n while (j < source.length && depth > 0) {\n if (source[j] === \"{\") depth++\n else if (source[j] === \"}\") depth--\n j++\n }\n const body = source.slice(open + 1, j - 1)\n if (/^@(media|container|supports|layer)\\b/.test(head))\n out += `${head} {\\n${scopeCss(body, scope)}}\\n`\n else if (head.startsWith(\"@\")) out += `${head} {${body}}\\n`\n else out += `${scopeSelectors(head, scope)} {${body}}\\n`\n i = j\n }\n return out\n}\n\nconst scopeSelectors = (selectors: string, scope: string): string =>\n splitTopLevel(selectors)\n .map((raw) => {\n const sel = raw.trim()\n if (sel === \":root\" || sel === \"html\" || sel === \"body\") return scope\n if (sel.startsWith(\":root\")) return `${scope}${sel.slice(5)}`\n // `&` addresses the scope element itself: `&[data-motion=\"reduce\"] .x`.\n if (sel.startsWith(\"&\")) return `${scope}${sel.slice(1)}`\n return `${scope} ${sel}`\n })\n .join(\", \")\n\n/** Split on commas outside parentheses (`:is(a, b)` stays whole). */\nconst splitTopLevel = (value: string): string[] => {\n const parts: string[] = []\n let depth = 0\n let start = 0\n for (let k = 0; k < value.length; k++) {\n const c = value[k]\n if (c === \"(\") depth++\n else if (c === \")\") depth--\n else if (c === \",\" && depth === 0) {\n parts.push(value.slice(start, k))\n start = k + 1\n }\n }\n parts.push(value.slice(start))\n return parts\n}\n", "import { scopeCss } from \"./scope-css.js\"\n\n/** The class on the UI root. Every rule below is scoped to it. */\nexport const ROOT_CLASS = \"mb-notifications\"\n\n/**\n * The device skins: a phone's Messages app and lock screen, an Android notification shade, a\n * webmail client and a team chat window, each in its own platform's type and color, because they\n * imitate what the recipient sees. Everything around them (toolbar, tabs, device headers,\n * timeline, inspector) is the shared Mockingbird UI (HeroUI and the theme in\n * `@crvouga/mockingbird-ui`) and has no rules here. Also the layout of the device frames, which\n * scales with `--mbn-scale` and `--mbn-fit`.\n */\nconst RAW = `\n:root {\n --ios: -apple-system, BlinkMacSystemFont, \"SF Pro Text\", \"SF Pro Display\", \"Helvetica Neue\", Helvetica, Arial, sans-serif;\n --android: \"Google Sans Text\", \"Google Sans\", Roboto, \"Segoe UI\", system-ui, sans-serif;\n --mail: \"Google Sans\", Roboto, RobotoDraft, Helvetica, Arial, sans-serif;\n --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;\n -webkit-tap-highlight-color: transparent;\n}\n.mbn-skin, .mbn-skin *, .mbn-skin *::before, .mbn-skin *::after { box-sizing: border-box; }\n.mbn-skin button { font: inherit; color: inherit; cursor: pointer; }\n.mbn-skin h1, .mbn-skin h2, .mbn-skin h3 { margin: 0; }\n.mbn-i { display: contents; }\n/* The shared stylesheet's reset makes images and icons blocks; the skins draw them inline, as a\n browser does by default, and place them where they need otherwise. */\n.mbn-skin svg, .mbn-skin img { display: inline; vertical-align: baseline; }\n[hidden] { display: none !important; }\n&[data-motion=\"reduce\"] *, &[data-motion=\"reduce\"] *::before, &[data-motion=\"reduce\"] *::after { animation: none !important; transition: none !important; }\n.mbn-skin [role=\"button\"]:focus-visible, .mbn-skin .icon-btn:focus-visible, .mbn-skin [tabindex]:focus-visible { outline: 2px solid #0a84ff; outline-offset: 2px; }\n\n/* \u2500\u2500 Device frames: side by side, or one at a time \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n.devices { display: flex; flex-wrap: wrap; gap: 28px; padding: 20px 16px 40px; align-items: flex-start; justify-content: center; zoom: var(--mbn-scale, 1); }\n.devices.solo .device-col.wide { max-width: 1280px; }\n.device-col { display: flex; flex-direction: column; gap: 12px; align-items: center; width: 362px; flex: none; }\n.device-col.wide { flex: 3 1 480px; width: auto; min-width: 0; max-width: 1180px; align-items: stretch; }\n.device-col.wide.chat-col { flex: 2 1 340px; max-width: 760px; }\n.devices.solo .device-col.wide.chat-col { max-width: 980px; }\n&[data-layout=\"tabs\"] .devices { padding: 14px 8px 32px; gap: 0; }\n&[data-layout=\"tabs\"] .device-col.wide { flex-basis: 100%; }\n&[data-layout=\"tabs\"] .iphone, &[data-layout=\"tabs\"] .pixel { zoom: var(--mbn-fit, 1); }\n&[data-layout=\"tabs\"] .device-col:not(.wide) { width: auto; max-width: 100%; }\n&[data-layout=\"tabs\"] .device-col:not(.wide) .device-head { width: calc(362px * var(--mbn-fit, 1)); }\n/* \u2500\u2500 Phone hardware \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n.iphone { position: relative; width: 362px; height: 760px; border-radius: 58px; padding: 12px; background: #0b0b0c;\n box-shadow: 0 0 0 2px #3a3a3c, 0 0 0 6px #1c1c1e, 0 0 0 7px #4a4a4e, 0 40px 80px rgba(0,0,0,.55); }\n.iphone::before, .iphone::after { content: \"\"; position: absolute; left: -9px; width: 4px; border-radius: 2px; background: #2c2c2e; }\n.iphone::before { top: 150px; height: 60px; }\n.iphone::after { top: 225px; height: 60px; }\n/* clip-path as well as overflow: under zoom, Chromium lets a blurred bar (backdrop-filter) square off the rounded corners. */\n.iphone .screen { position: relative; width: 100%; height: 100%; border-radius: 47px; overflow: hidden; clip-path: inset(0 round 47px); background: #fff; font-family: var(--ios); color: #000; -webkit-font-smoothing: antialiased; }\n.island { position: absolute; z-index: 30; top: 11px; left: 50%; transform: translateX(-50%); width: 112px; height: 33px; border-radius: 20px; background: #000; }\n.statusbar { position: absolute; z-index: 25; top: 0; left: 0; right: 0; height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 6px 32px 0 40px; font: 600 16px/1 var(--ios); letter-spacing: -.01em; }\n.statusbar .icons { display: flex; gap: 6px; align-items: center; }\n.statusbar.light { color: #fff; }\n.home-indicator { position: absolute; z-index: 30; bottom: 8px; left: 50%; transform: translateX(-50%); width: 134px; height: 5px; border-radius: 3px; background: #000; }\n.home-indicator.light { background: rgba(255,255,255,.9); }\n\n.pixel { position: relative; width: 352px; height: 760px; border-radius: 44px; padding: 10px; background: #111;\n box-shadow: 0 0 0 2px #2b2b2f, 0 0 0 5px #3c3c41, 0 40px 80px rgba(0,0,0,.55); }\n.pixel::after { content: \"\"; position: absolute; right: -7px; top: 170px; width: 4px; height: 90px; border-radius: 2px; background: #2c2c2e; }\n.pixel .screen { position: relative; width: 100%; height: 100%; border-radius: 35px; overflow: hidden; clip-path: inset(0 round 35px); font-family: var(--android); }\n.punch { position: absolute; z-index: 30; top: 12px; left: 50%; width: 13px; height: 13px; margin-left: -6px; border-radius: 50%; background: #050505; box-shadow: inset 0 0 0 2px #1a1a1a; }\n\n/* \u2500\u2500 Messages (iOS) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n.msgs { position: absolute; inset: 0; display: flex; flex-direction: column; background: #fff; }\n.msgs-nav { padding: 54px 16px 0; }\n.msgs-nav .row { display: flex; justify-content: space-between; align-items: center; height: 44px; color: #007aff; font-size: 17px; }\n.msgs-nav h1 { margin: 2px 0 8px; font: 700 34px/41px var(--ios); letter-spacing: .01em; }\n.ios-search { display: flex; align-items: center; gap: 6px; height: 36px; border-radius: 10px; background: rgba(118,118,128,.12); color: rgba(60,60,67,.6); padding: 0 8px; font-size: 17px; margin-bottom: 8px; }\n.ios-search span { flex: 1; }\n.threads { flex: 1; overflow-y: auto; }\n.thread { position: relative; display: flex; gap: 12px; padding: 10px 16px 0 26px; cursor: pointer; }\n.thread:active { background: #e5e5ea; }\n.thread .unread { position: absolute; left: 8px; top: 30px; width: 10px; height: 10px; border-radius: 50%; background: #007aff; }\n.avatar { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 600 18px var(--ios); background: linear-gradient(180deg,#a5abb8,#858994); }\n.thread .text { flex: 1; min-width: 0; border-bottom: .5px solid #c6c6c8; padding-bottom: 10px; }\n.thread .top { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; }\n.thread .name { font: 600 17px/22px var(--ios); letter-spacing: -.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.thread .when { flex: none; color: rgba(60,60,67,.6); font-size: 15px; display: flex; align-items: center; gap: 6px; }\n.thread .preview { color: rgba(60,60,67,.6); font-size: 15px; line-height: 20px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; letter-spacing: -.01em; }\n.empty-ios { flex: 1; display: grid; place-items: center; color: rgba(60,60,67,.6); font-size: 17px; text-align: center; padding: 40px; }\n\n.convo { position: absolute; inset: 0; display: flex; flex-direction: column; background: #fff; }\n.convo-nav { position: relative; z-index: 5; padding-top: 50px; background: rgba(249,249,249,.94); backdrop-filter: blur(20px); border-bottom: .5px solid rgba(0,0,0,.18); }\n.convo-nav .bar { position: relative; height: 96px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }\n.convo-nav .back { position: absolute; left: 8px; top: 8px; display: flex; align-items: center; color: #007aff; font-size: 17px; background: none; border: 0; padding: 4px; }\n.convo-nav .back .badge { background: #007aff; color: #fff; border-radius: 10px; font-size: 13px; min-width: 20px; padding: 0 6px; line-height: 20px; margin-left: 2px; }\n.convo-nav .avatar { width: 54px; height: 54px; font-size: 22px; }\n.convo-nav .who { font-size: 12px; display: flex; align-items: center; gap: 2px; }\n.convo-body { flex: 1; overflow-y: auto; padding: 8px 0 12px; }\n.stamp { text-align: center; color: rgba(60,60,67,.6); font-size: 12px; margin: 14px 0 6px; }\n.stamp b { font-weight: 600; }\n.bubble-row { display: flex; padding: 0 14px; margin-top: 2px; }\n.bubble-row.gap { margin-top: 10px; }\n.bubble { position: relative; max-width: 74%; padding: 7px 12px 8px; border-radius: 18px; background: #e9e9eb; color: #000; font-size: 17px; line-height: 22px; letter-spacing: -.02em; white-space: pre-wrap; overflow-wrap: anywhere; }\n.bubble.tail::before { content: \"\"; position: absolute; bottom: 0; left: -7px; width: 20px; height: 20px; background: #e9e9eb; border-bottom-right-radius: 15px; }\n.bubble.tail::after { content: \"\"; position: absolute; bottom: 0; left: -10px; width: 10px; height: 20px; background: #fff; border-bottom-right-radius: 10px; }\n.bubble a, .bubble .code { color: inherit; text-decoration: underline; text-underline-offset: 2px; }\n.bubble .media { display: block; max-width: 100%; border-radius: 12px; margin: 2px 0 4px; }\n.bubble.arrive { animation: mbn-pop .35s cubic-bezier(.2,.9,.3,1.3); }\n.delivered-note { padding: 2px 16px 0 26px; color: rgba(60,60,67,.6); font-size: 11px; }\n.convo-input { display: flex; align-items: flex-end; gap: 8px; padding: 6px 10px 32px; background: #fff; }\n.convo-input .plus { width: 34px; height: 34px; border-radius: 50%; background: #e9e9eb; display: grid; place-items: center; flex: none; }\n.convo-input .field-ios { flex: 1; height: 36px; border: 1px solid #c6c6c8; border-radius: 18px; display: flex; align-items: center; justify-content: space-between; padding: 0 6px 0 14px; color: #c4c4c6; font-size: 17px; }\n.qt { margin: 0 10px 6px; padding: 8px 12px; border-radius: 10px; background: #d1d3d9; text-align: center; font-size: 15px; color: #000; }\n.qt small { display: block; font-size: 12px; color: #3c3c43; }\n\n/* \u2500\u2500 Lock screen (iOS) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n.lock { position: absolute; inset: 0; color: #fff; overflow: hidden;\n background: radial-gradient(120% 70% at 20% 10%, #6f86ff 0%, transparent 55%), radial-gradient(90% 60% at 90% 30%, #ff7eb3 0%, transparent 60%), radial-gradient(120% 80% at 50% 100%, #1d1b4a 0%, transparent 70%), linear-gradient(180deg,#3a3f9f,#141433); }\n.lock .padlock { position: absolute; top: 56px; left: 50%; transform: translateX(-50%); opacity: .95; }\n.lock .date { position: absolute; top: 84px; width: 100%; text-align: center; font: 600 19px var(--ios); letter-spacing: .01em; opacity: .92; }\n.lock .clock { position: absolute; top: 102px; width: 100%; text-align: center; font: 700 92px/1 \"SF Pro Rounded\", var(--ios); letter-spacing: -.02em; color: rgba(255,255,255,.93); }\n.lock-stack { position: absolute; left: 10px; right: 10px; top: 236px; bottom: 112px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; scrollbar-width: none; }\n.lock-stack::-webkit-scrollbar { display: none; }\n.lock-stack .center-label { text-align: center; font: 600 15px var(--ios); opacity: .85; padding: 4px 0; }\n.ios-note { position: relative; display: flex; gap: 10px; padding: 11px 12px 12px 11px; border-radius: 22px; color: #000; background: rgba(246,246,246,.66); backdrop-filter: blur(28px) saturate(180%); -webkit-backdrop-filter: blur(28px) saturate(180%); cursor: pointer; box-shadow: 0 1px 0 rgba(255,255,255,.25) inset; }\n.ios-note.arrive { animation: mbn-drop .45s cubic-bezier(.2,.9,.3,1.15); }\n.ios-note .app-icon { flex: none; width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; color: #fff; font: 700 18px var(--ios); box-shadow: 0 0 0 .5px rgba(0,0,0,.08); }\n.ios-note .content { flex: 1; min-width: 0; }\n.ios-note .line1 { display: flex; justify-content: space-between; gap: 8px; }\n.ios-note .title { font: 600 15px/20px var(--ios); letter-spacing: -.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ios-note .time { flex: none; font-size: 13px; color: rgba(60,60,67,.62); }\n.ios-note .body { font: 400 15px/20px var(--ios); letter-spacing: -.02em; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }\n.ios-note .thumb { flex: none; width: 38px; height: 38px; border-radius: 7px; object-fit: cover; align-self: center; }\n.ios-note.expanded .body { -webkit-line-clamp: unset; }\n.ios-note .hero { width: 100%; border-radius: 12px; margin-top: 8px; display: block; }\n.note-data { margin-top: 8px; font: 12px/1.45 var(--mono); background: rgba(255,255,255,.55); border-radius: 10px; padding: 8px 10px; white-space: pre-wrap; overflow-wrap: anywhere; color: #1c1c1e; }\n.note-meta { margin-top: 6px; font-size: 12px; color: rgba(60,60,67,.7); }\n.ios-stack-more { position: relative; height: 18px; margin: -14px 14px 0; border-radius: 0 0 18px 18px; background: rgba(246,246,246,.42); backdrop-filter: blur(20px); }\n.ios-stack-more + .ios-stack-more { margin: -10px 26px 0; background: rgba(246,246,246,.28); }\n.lock-buttons { position: absolute; bottom: 46px; left: 46px; right: 46px; display: flex; justify-content: space-between; }\n.lock-buttons span { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.28); backdrop-filter: blur(20px); }\n.lock-empty { text-align: center; font: 500 15px var(--ios); opacity: .7; margin-top: 30px; }\n\n/* \u2500\u2500 Notification shade (Android) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n.shade { position: absolute; inset: 0; color: #e6e1e5; background: linear-gradient(180deg, rgba(20,18,24,.94), rgba(20,18,24,.98)), radial-gradient(100% 60% at 30% 0%, #4b3f72, #141218); overflow: hidden; }\n.shade .sb { position: absolute; top: 0; left: 0; right: 0; height: 40px; display: flex; align-items: center; justify-content: space-between; padding: 6px 24px 0; font: 500 14px var(--android); color: #e6e1e5; }\n.shade .sb .icons { display: flex; gap: 5px; align-items: center; }\n.shade .qs-head { position: absolute; top: 46px; left: 22px; right: 22px; display: flex; justify-content: space-between; align-items: center; font: 400 15px var(--android); color: #cac4d0; }\n.qs { position: absolute; top: 80px; left: 14px; right: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }\n.qs .tile { height: 60px; border-radius: 20px; background: #36343b; display: flex; align-items: center; gap: 10px; padding: 0 14px; font: 500 14px var(--android); color: #e6e1e5; min-width: 0; }\n.qs .tile > div { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n.qs .tile svg { flex: none; }\n.qs .tile.on { background: #d0bcff; color: #381e72; }\n.qs .tile small { display: block; font-weight: 400; font-size: 12px; opacity: .8; }\n.qs-bright { position: absolute; top: 216px; left: 14px; right: 14px; height: 44px; border-radius: 22px; background: #36343b; overflow: hidden; }\n.qs-bright::before { content: \"\"; position: absolute; inset: 0 44% 0 0; background: #d0bcff; border-radius: 22px; }\n.shade-list { position: absolute; top: 276px; left: 10px; right: 10px; bottom: 92px; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; scrollbar-width: none; }\n.shade-list::-webkit-scrollbar { display: none; }\n.a-note { background: #2b2930; border-radius: 6px; padding: 14px 16px 14px 14px; cursor: pointer; display: flex; gap: 12px; }\n.a-note:first-child { border-top-left-radius: 26px; border-top-right-radius: 26px; }\n.a-note:last-child { border-bottom-left-radius: 26px; border-bottom-right-radius: 26px; }\n.a-note.arrive { animation: mbn-headsup .5s cubic-bezier(.2,.9,.3,1.12); }\n.a-note .a-icon { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 600 15px var(--android); }\n.a-note .a-main { flex: 1; min-width: 0; }\n.a-note .a-head { display: flex; align-items: center; gap: 6px; font: 400 12px var(--android); color: #cac4d0; }\n.a-note .a-head .chev { margin-left: auto; width: 26px; height: 20px; border-radius: 10px; background: #49454f; display: grid; place-items: center; }\n.a-note .a-title { font: 500 15px/20px var(--android); color: #e6e1e5; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.a-note .a-body { font: 400 14px/20px var(--android); color: #cac4d0; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }\n.a-note.expanded .a-body { -webkit-line-clamp: unset; }\n.a-note .large-icon { flex: none; width: 40px; height: 40px; border-radius: 8px; object-fit: cover; align-self: center; }\n.a-note .big-picture { display: block; width: 100%; border-radius: 14px; margin-top: 10px; }\n.a-note .note-data { background: #1d1b20; color: #e6e1e5; }\n.a-note .note-meta { color: #938f99; }\n.shade-actions { position: absolute; bottom: 44px; left: 14px; right: 14px; display: flex; justify-content: space-between; }\n.shade-actions span { padding: 8px 16px; border-radius: 18px; background: #36343b; font: 500 14px var(--android); color: #e6e1e5; }\n.shade-empty { text-align: center; color: #938f99; font: 400 14px var(--android); margin-top: 26px; }\n.gesture { position: absolute; bottom: 12px; left: 50%; width: 110px; height: 4px; margin-left: -55px; border-radius: 2px; background: rgba(255,255,255,.75); }\n\n/* \u2500\u2500 Mail (web client) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n.window { position: relative; container-type: inline-size; border-radius: 12px; overflow: hidden; background: #f8fafd; box-shadow: 0 0 0 1px #2c313c, 0 30px 70px rgba(0,0,0,.5); height: 760px; display: flex; flex-direction: column; font-family: var(--mail); color: #1f1f1f; }\n.chrome { flex: none; height: 38px; background: #dfe3e9; display: flex; align-items: center; gap: 12px; padding: 0 12px; }\n.lights { display: flex; gap: 7px; }\n.lights i { width: 12px; height: 12px; border-radius: 50%; display: block; }\n.lights i:nth-child(1) { background: #ff5f57; } .lights i:nth-child(2) { background: #febc2e; } .lights i:nth-child(3) { background: #28c840; }\n.omnibox { flex: 1; max-width: 560px; margin: 0 auto; height: 26px; border-radius: 13px; background: #fff; display: flex; align-items: center; gap: 8px; padding: 0 12px; color: #5f6368; font: 13px system-ui; }\n.mail-top { flex: none; height: 64px; display: flex; align-items: center; gap: 8px; padding: 8px 16px 8px 12px; }\n.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #444746; border: 0; background: none; flex: none; }\n.icon-btn:hover { background: rgba(68,71,70,.08); }\n.mail-logo { display: flex; align-items: center; gap: 6px; width: 194px; font: 400 22px var(--mail); color: #444746; letter-spacing: -.01em; }\n.mail-search { flex: 1; min-width: 0; max-width: 720px; height: 48px; border-radius: 24px; background: #e9eef6; display: flex; align-items: center; gap: 4px; padding: 0 4px; color: #444746; font-size: 16px; }\n.mail-search .placeholder { flex: 1; padding-left: 4px; }\n.mail-top .right { margin-left: auto; display: flex; align-items: center; gap: 2px; }\n.mail-avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 500 15px var(--mail); margin-left: 8px; }\n.mail-body { flex: 1; min-height: 0; display: flex; }\n.mail-nav { flex: none; width: 236px; padding: 8px 8px 0 0; overflow: hidden; }\n.compose { display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 22px 0 16px; margin: 0 0 16px 8px; border-radius: 16px; background: #c2e7ff; color: #001d35; font: 500 14px var(--mail); border: 0; box-shadow: none; }\n.nav-item { display: flex; align-items: center; gap: 18px; height: 32px; padding: 0 12px 0 26px; border-radius: 0 16px 16px 0; color: #202124; font: 400 14px var(--mail); }\n.nav-item.active { background: #d3e3fd; font-weight: 700; color: #001d35; }\n.nav-item .n { margin-left: auto; font-size: 12px; }\n.mail-main { flex: 1; min-width: 0; margin: 0 16px 16px 0; background: #fff; border-radius: 16px; display: flex; flex-direction: column; overflow: hidden; }\n.mail-toolbar { flex: none; height: 48px; display: flex; align-items: center; gap: 4px; padding: 0 12px 0 14px; color: #444746; }\n.mail-toolbar .range { margin-left: auto; font-size: 12px; color: #444746; }\n.cat-tabs { flex: none; display: flex; border-bottom: 1px solid #f1f3f4; }\n.cat-tabs div { flex: 0 1 250px; min-width: 0; height: 54px; display: flex; align-items: center; gap: 16px; padding: 0 16px; color: #444746; font: 500 14px var(--mail); position: relative; }\n.cat-tabs div.on { color: #0b57d0; }\n.cat-tabs div.on::after { content: \"\"; position: absolute; left: 8px; right: 8px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: #0b57d0; }\n.mail-list { flex: 1; overflow-y: auto; }\n.mrow { display: flex; align-items: center; height: 40px; padding: 0 16px 0 12px; border-bottom: 1px solid #f1f3f4; cursor: pointer; font-size: 14px; color: #202124; background: #f2f6fc; }\n.mrow.unread { background: #fff; font-weight: 700; }\n.mrow:hover { box-shadow: inset 1px 0 0 #dadce0, inset -1px 0 0 #dadce0, 0 1px 2px 0 rgba(60,64,67,.3), 0 1px 3px 1px rgba(60,64,67,.15); position: relative; z-index: 1; }\n.mrow.arrive { animation: mbn-rowflash 1.6s ease-out; }\n.mrow .chk, .mrow .star { flex: none; width: 20px; height: 20px; margin-right: 10px; color: #c4c7c5; display: grid; place-items: center; }\n.mrow .from { flex: none; width: 168px; padding-right: 24px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.mrow .subj { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.mrow .snippet { color: #5f6368; font-weight: 400; }\n.mrow .clip { color: #5f6368; margin-left: 8px; flex: none; }\n.mrow .date { flex: none; width: 78px; text-align: right; font-size: 12px; }\n.mrow .svc { flex: none; font: 500 10px var(--mail); color: #5f6368; border: 1px solid #dadce0; border-radius: 4px; padding: 0 4px; margin-left: 8px; font-weight: 500; text-transform: uppercase; letter-spacing: .03em; }\n.mail-empty { padding: 60px 20px; text-align: center; color: #5f6368; font: 400 14px var(--mail); }\n.mail-empty b { display: block; font: 400 22px var(--mail); color: #1f1f1f; margin: 12px 0 4px; }\n.reader { flex: 1; overflow-y: auto; padding: 0 0 24px; }\n.reader .subject-row { display: flex; align-items: center; gap: 10px; padding: 18px 16px 8px 72px; }\n.reader h1 { margin: 0; font: 400 22px/28px var(--mail); color: #1f1f1f; }\n.label-chip { font: 400 12px var(--mail); background: #ddd; border-radius: 4px; padding: 0 6px; color: #444746; display: inline-flex; gap: 4px; align-items: center; }\n.sender-row { display: flex; gap: 14px; padding: 12px 16px 0 16px; }\n.sender-row .mail-avatar { width: 40px; height: 40px; font-size: 18px; margin: 0; }\n.sender-row .who { flex: 1; min-width: 0; }\n.sender-row .who b { font: 700 14px var(--mail); color: #1f1f1f; }\n.sender-row .who .addr { font: 400 12px var(--mail); color: #5e5e5e; }\n.sender-row .who .to { font: 400 12px var(--mail); color: #5e5e5e; display: flex; align-items: center; gap: 2px; margin-top: 2px; }\n.sender-row .meta { display: flex; align-items: center; gap: 4px; color: #5e5e5e; font: 400 12px var(--mail); white-space: nowrap; }\n.details { margin: 8px 16px 0 70px; padding: 10px 14px; border: 1px solid #dadce0; border-radius: 8px; font: 12px/1.6 var(--mail); color: #5e5e5e; display: grid; grid-template-columns: max-content 1fr; gap: 0 12px; }\n.details span:nth-child(odd) { text-align: right; }\n.details span:nth-child(even) { color: #1f1f1f; overflow-wrap: anywhere; }\n.mail-frame { display: block; width: calc(100% - 86px); margin: 16px 16px 0 70px; border: 0; min-height: 120px; background: #fff; }\n.mail-text { margin: 16px 16px 0 70px; white-space: pre-wrap; font: 400 14px/1.55 Arial, sans-serif; color: #222; overflow-wrap: anywhere; }\n.mail-text a { color: #1155cc; }\n.attachments { margin: 18px 16px 0 70px; border-top: 1px solid #e0e0e0; padding-top: 14px; }\n.attachments h3 { margin: 0 0 10px; font: 500 14px var(--mail); color: #1f1f1f; }\n.att-grid { display: flex; flex-wrap: wrap; gap: 12px; }\n.att { width: 180px; height: 104px; border: 1px solid #dadce0; border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; }\n.att .att-top { flex: 1; background: #f1f3f4; display: grid; place-items: center; color: #d93025; }\n.att .att-name { height: 36px; display: flex; align-items: center; gap: 8px; padding: 0 10px; font: 500 12px var(--mail); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n.reply-row { display: flex; gap: 10px; margin: 24px 16px 0 70px; }\n.reply-row span { display: inline-flex; align-items: center; gap: 8px; padding: 0 22px 0 16px; height: 36px; border: 1px solid #747775; border-radius: 18px; font: 500 14px var(--mail); color: #444746; }\n\n/* \u2500\u2500 Swipe gestures \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n.swipe { position: relative; touch-action: pan-y; }\n.swipe > .swipe-card { position: relative; z-index: 1; will-change: transform; }\n.swipe.settling > .swipe-card, .settling.a-note { transition: transform .32s cubic-bezier(.2,.9,.25,1), opacity .32s ease; }\n.swipe-actions { position: absolute; inset: 0; display: flex; justify-content: flex-end; align-items: stretch; visibility: hidden; }\n.swipe.swiping > .swipe-actions, .swipe.open > .swipe-actions { visibility: visible; }\n.collapsing { overflow: hidden; transition: height .26s ease, margin .26s ease, padding .26s ease, opacity .2s ease !important; }\n\n/* iOS lock screen: Options / Clear behind a card */\n.ios-swipe .swipe-actions { gap: 8px; }\n.ios-swipe .swipe-actions button { width: 72px; border: 0; border-radius: 20px; background: rgba(246,246,246,.6); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); color: #000; font: 500 14px var(--ios); }\n.push-group { display: flex; flex-direction: column; gap: 8px; }\n.group-head { display: flex; align-items: center; gap: 8px; padding: 0 2px; animation: mbn-fadein .25s ease; }\n.group-head h3 { flex: 1; margin: 0; font: 700 20px/1.2 var(--ios); color: #fff; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.group-head button { border: 0; border-radius: 15px; background: rgba(246,246,246,.6); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); color: #000; font: 500 13px var(--ios); padding: 6px 12px; }\n.group-head button.x { width: 30px; height: 30px; padding: 0; display: grid; place-items: center; border-radius: 50%; }\n.push-group[data-open=\"true\"] .ios-swipe { animation: mbn-unstack .38s cubic-bezier(.2,.9,.3,1.1) backwards; }\n.push-group[data-open=\"true\"] .ios-swipe:nth-child(3) { animation-delay: .03s; } .push-group[data-open=\"true\"] .ios-swipe:nth-child(4) { animation-delay: .06s; }\n.stack-layers { cursor: pointer; border: 0; padding: 0; background: none; display: block; width: 100%; }\n.stack-layers .ios-stack-more:first-child { margin-top: -14px; }\n.lock.wake { animation: mbn-wake 1.1s ease-out; }\n.ios-overlay { position: absolute; inset: 0; z-index: 40; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 0 14px; background: rgba(255,255,255,.28); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); animation: mbn-fadein .2s ease; }\n.ios-overlay.dark { background: rgba(0,0,0,.28); }\n.ios-overlay .ios-note { animation: mbn-lift .3s cubic-bezier(.2,.9,.3,1.2); box-shadow: 0 20px 40px rgba(0,0,0,.25); }\n.ios-menu { align-self: flex-start; width: 250px; border-radius: 14px; overflow: hidden; background: rgba(237,237,237,.86); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px); box-shadow: 0 10px 40px rgba(0,0,0,.2); animation: mbn-lift .28s cubic-bezier(.2,.9,.3,1.2); }\n.ios-menu button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 11px 16px; border: 0; border-bottom: .5px solid rgba(60,60,67,.29); background: none; color: #000; font: 400 17px var(--ios); letter-spacing: -.02em; text-align: left; }\n.ios-menu button:last-child { border-bottom: 0; }\n.ios-menu button:active { background: rgba(0,0,0,.08); }\n.ios-overlay.dark .ios-menu { align-self: stretch; width: auto; }\n\n/* Android shade */\n.a-note { touch-action: pan-y; position: relative; }\n.a-settings { margin-top: 8px; display: grid; gap: 8px; animation: mbn-fadein .2s ease; }\n.a-settings .opt { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; border: 1px solid #49454f; font: 500 14px var(--android); color: #e6e1e5; background: none; text-align: left; }\n.a-settings .opt[aria-pressed=\"true\"] { background: #4a4458; border-color: #d0bcff; }\n.a-settings .opt small { display: block; font-weight: 400; color: #cac4d0; font-size: 12px; }\n.a-settings .row { display: flex; justify-content: space-between; }\n.a-settings .row button { border: 0; background: none; color: #d0bcff; font: 500 14px var(--android); padding: 6px 4px; }\n.shade-actions button { padding: 8px 16px; border: 0; border-radius: 18px; background: #36343b; font: 500 14px var(--android); color: #e6e1e5; }\n\n/* Messages: thread swipe actions, page transitions, bubble times, tapbacks */\n.thread-swipe .swipe-actions { justify-content: space-between; }\n.thread-swipe .swipe-actions .side { display: flex; }\n.thread-swipe .swipe-actions button { width: 74px; border: 0; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font: 400 13px var(--ios); }\n.act-unread { background: #007aff; } .act-pin { background: #ffcc00; } .act-mute { background: #5856d6; } .act-delete { background: #ff3b30; }\n.thread-swipe .thread { background: #fff; }\n.thread .name-line { display: flex; align-items: center; gap: 4px; min-width: 0; }\n.thread .flag { flex: none; color: rgba(60,60,67,.6); display: inline-flex; }\n.msgs.enter { animation: mbn-back .38s cubic-bezier(.2,.9,.25,1); }\n.convo.enter { animation: mbn-push .4s cubic-bezier(.2,.9,.25,1); box-shadow: -10px 0 30px rgba(0,0,0,.12); }\n.convo-body { --reveal: 0px; overflow-x: hidden; touch-action: pan-y; }\n.convo-body .bubble-row, .convo-body .stamp { transform: translateX(calc(-1 * var(--reveal))); }\n.convo-body.settling .bubble-row, .convo-body.settling .stamp { transition: transform .3s cubic-bezier(.2,.9,.25,1); }\n.bubble-row { position: relative; }\n.bubble-time { position: absolute; right: -66px; top: 50%; transform: translateY(-50%); width: 58px; color: rgba(60,60,67,.6); font-size: 12px; white-space: nowrap; }\n.bubble { touch-action: pan-y; -webkit-user-select: text; user-select: text; }\n.tapback { position: absolute; z-index: 2; top: -16px; right: -12px; min-width: 30px; height: 30px; padding: 0 4px; border-radius: 15px; background: #007aff; color: #fff; display: grid; place-items: center; font: 700 13px/1 var(--ios); box-shadow: 0 0 0 2.5px #fff; animation: mbn-pop .35s cubic-bezier(.2,.9,.3,1.4); }\n.tapback-bar { align-self: flex-start; display: flex; gap: 4px; padding: 6px 8px; border-radius: 26px; background: rgba(233,233,235,.96); box-shadow: 0 8px 30px rgba(0,0,0,.18); animation: mbn-lift .28s cubic-bezier(.2,.9,.3,1.3); }\n.tapback-bar button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: none; color: #8e8e93; font: 700 16px/1 var(--ios); display: grid; place-items: center; }\n.tapback-bar button[aria-pressed=\"true\"] { background: #007aff; color: #fff; }\n.ios-overlay .bubble { align-self: flex-start; max-width: 80%; animation: mbn-lift .28s cubic-bezier(.2,.9,.3,1.2); }\n\n/* Mail: hover actions, row swipe, toast */\n.mrow .hover-actions { display: none; flex: none; align-items: center; gap: 2px; margin-left: 8px; }\n.mrow .hover-actions .icon-btn { width: 32px; height: 32px; }\n.mrow:hover .hover-actions, .mrow:focus-within .hover-actions { display: flex; }\n.mrow:hover .date, .mrow:focus-within .date { display: none; }\n.mrow .star { cursor: pointer; }\n.mrow .star[aria-pressed=\"true\"] { color: #f4b400; }\n.mrow-swipe { background: #188038; }\n.mrow-swipe .swipe-actions { justify-content: space-between; align-items: center; padding: 0 22px; color: #fff; }\n.toast { position: absolute; z-index: 20; left: 24px; bottom: 24px; display: flex; align-items: center; gap: 24px; min-width: 288px; max-width: calc(100% - 48px); padding: 14px 16px 14px 24px; border-radius: 4px; background: #303030; color: #f2f2f2; font: 400 14px var(--mail); box-shadow: 0 3px 5px -1px rgba(0,0,0,.2), 0 6px 10px rgba(0,0,0,.14); animation: mbn-toast .25s cubic-bezier(0,0,.2,1); }\n.toast button { margin-left: auto; border: 0; background: none; color: #a8c7fa; font: 500 14px var(--mail); padding: 4px 8px; }\n.reader.enter, .mail-list.enter { animation: mbn-fadein .18s ease; }\n\n@keyframes mbn-fadein { from { opacity: 0; } to { opacity: 1; } }\n@keyframes mbn-headsup { from { opacity: 0; transform: translateY(-70px) scale(.98); } to { opacity: 1; transform: none; } }\n@keyframes mbn-unstack { from { opacity: 0; transform: translateY(-40px) scale(.94); } to { opacity: 1; transform: none; } }\n@keyframes mbn-wake { from { filter: brightness(.25); } to { filter: none; } }\n@keyframes mbn-lift { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }\n@keyframes mbn-push { from { transform: translateX(100%); } to { transform: none; } }\n@keyframes mbn-back { from { transform: translateX(-28%); filter: brightness(.92); } to { transform: none; filter: none; } }\n@keyframes mbn-toast { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }\n@keyframes mbn-pop { from { transform: scale(.6) translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }\n@keyframes mbn-drop { from { transform: translateY(-30px) scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }\n@keyframes mbn-fade { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }\n@keyframes mbn-rowflash { from { background: #fef7e0; } to { background: #fff; } }\n@container (max-width: 980px) { .mail-nav { width: 72px; } .mail-nav .lbl, .mail-nav .n, .compose .lbl { display: none; } .mail-logo { width: auto; } .compose { padding: 0 16px; } .mrow .svc { display: none; } }\n@container (max-width: 480px) { .mrow { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; grid-template-areas: \"star from date\" \". subj subj\"; align-items: center; column-gap: 10px; row-gap: 2px; height: auto; padding: 10px 14px 11px 10px; }\n .mrow .chk, .mrow .svc, .mrow .clip { display: none; } .mrow .star { grid-area: star; margin: 0; } .mrow .from { grid-area: from; width: auto; padding: 0; }\n .mrow:hover .hover-actions, .mrow:focus-within .hover-actions { display: none; }\n .mrow .date { grid-area: date; width: auto; } .mrow .subj { grid-area: subj; white-space: normal; line-height: 19px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } }\n@container (max-width: 640px) { .mail-nav, .mail-search, .cat-tabs, .mail-logo .lbl, .mail-toolbar .range { display: none; } .mail-main { margin-left: 8px; } .mrow .from { width: 110px; } .reader .subject-row, .sender-row { padding-left: 16px; } .mail-frame, .mail-text, .attachments, .reply-row, .details { margin-left: 16px; } .mail-frame { width: calc(100% - 32px); } .sender-row { flex-wrap: wrap; } .sender-row .who { flex-basis: calc(100% - 54px); } .sender-row .meta { flex-basis: 100%; padding-left: 54px; white-space: normal; } .reader h1 { font-size: 19px; line-height: 24px; } }\n\n/* \u2500\u2500 WhatsApp: the same phone, a different app \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n.avatar.wa { background: linear-gradient(180deg,#5fe08b,#1daa61); }\n.thread .via-wa { flex: none; font: 600 10px/16px var(--ios); letter-spacing: .02em; color: #0a7a43; background: #d9fdd3; border-radius: 4px; padding: 0 5px; }\n.convo.wa { background: #efeae2; }\n.convo.wa .convo-nav { background: rgba(246,246,246,.96); }\n.convo.wa .convo-nav .back { color: #1daa61; }\n.convo.wa .convo-nav .back svg [stroke] { stroke: #1daa61; }\n.convo.wa .convo-nav .back svg [fill]:not([fill=\"none\"]) { fill: #1daa61; }\n.convo.wa .convo-nav .avatar { background: linear-gradient(180deg,#5fe08b,#1daa61); }\n.convo.wa .convo-nav .back .badge { background: #1daa61; }\n.convo.wa .convo-nav .who { flex-direction: column; gap: 0; }\n.convo.wa .wa-sub { font: 400 11px/14px var(--ios); color: #1daa61; }\n.convo.wa .convo-body { background: #efeae2; }\n.convo.wa .stamp { width: max-content; max-width: 90%; margin: 12px auto 8px; padding: 3px 10px; border-radius: 8px; background: rgba(255,255,255,.92); color: #54656f; box-shadow: 0 1px .5px rgba(11,20,26,.13); }\n.convo.wa .bubble { background: #fff; border-radius: 8px; border-top-left-radius: 8px; font-size: 16px; line-height: 21px; padding: 6px 9px 7px; box-shadow: 0 1px .5px rgba(11,20,26,.13); }\n.convo.wa .bubble.tail { border-bottom-left-radius: 0; }\n.convo.wa .bubble.tail::before { left: -7px; width: 8px; height: 12px; background: #fff; border-radius: 0; clip-path: polygon(100% 0, 100% 100%, 0 100%); }\n.convo.wa .bubble.tail::after { display: none; }\n.convo.wa .wa-time { float: right; margin: 9px 0 -3px 10px; font: 400 11px/14px var(--ios); letter-spacing: 0; color: #667781; }\n.convo.wa .convo-input { background: #f6f6f6; }\n.convo.wa .convo-input .plus { background: none; }\n.convo.wa .convo-input .field-ios { background: #fff; border-color: #e2e2e2; }\n.convo.wa .otp-bar small { color: #1daa61; }\n\n/* \u2500\u2500 Chat: a team chat window \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n.window.chat { background: #fff; color: #1d1c1d; font-family: \"Lato\", \"Helvetica Neue\", Helvetica, \"Segoe UI\", Arial, sans-serif; }\n.window.chat .chrome { flex: none; }\n.chat-body { flex: 1; min-height: 0; display: flex; }\n.chat-side { flex: none; width: 200px; background: #2f1d3a; color: #cfc3d4; padding: 0 8px 12px; overflow-y: auto; display: flex; flex-direction: column; gap: 1px; }\n.chat-team { display: flex; align-items: center; gap: 4px; padding: 14px 8px 12px; margin: 0 -8px 8px; border-bottom: 1px solid rgba(255,255,255,.1); color: #fff; font-weight: 800; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n.chat-side-label { padding: 6px 8px 4px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; opacity: .7; }\n.chat-chan { display: flex; align-items: center; gap: 6px; width: 100%; border: 0; background: none; color: inherit; text-align: left; padding: 4px 8px; border-radius: 6px; font-size: 14px; min-width: 0; }\n.chat-chan:hover { background: rgba(255,255,255,.08); }\n.chat-chan .hash { opacity: .7; width: 12px; text-align: center; flex: none; }\n.chat-chan .lbl { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.chat-chan .n { flex: none; background: #e01e5a; color: #fff; border-radius: 999px; font-size: 11px; line-height: 16px; padding: 0 6px; font-weight: 700; }\n.chat-chan.unread { color: #fff; font-weight: 700; }\n.chat-chan.on { background: #5b3a70; color: #fff; }\n.chat-chan:focus-visible { outline: 2px solid #9ec5ff; outline-offset: -2px; }\n.chat-main { flex: 1; min-width: 0; display: flex; flex-direction: column; background: #fff; }\n.chat-head { flex: none; display: flex; align-items: baseline; gap: 10px; padding: 12px 18px; border-bottom: 1px solid #e3e3e3; }\n.chat-head b { font-size: 17px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.chat-head span { color: #616061; font-size: 12px; white-space: nowrap; }\n.chat-list { flex: 1; min-height: 0; overflow-y: auto; padding: 8px 0 12px; display: flex; flex-direction: column; }\n.chat-list > :first-child { margin-top: auto; }\n.chat-day { display: flex; align-items: center; gap: 10px; padding: 8px 18px; color: #616061; font-size: 12px; font-weight: 700; }\n.chat-day::before, .chat-day::after { content: \"\"; flex: 1; height: 1px; background: #e3e3e3; }\n.chat-day span { border: 1px solid #e3e3e3; border-radius: 999px; padding: 2px 12px; }\n.chat-msg { display: flex; gap: 10px; padding: 7px 18px; outline: 0; }\n.chat-msg:hover, .chat-msg:focus-visible { background: #f8f8f8; }\n.chat-msg[data-unread=\"true\"] { background: #fffbea; }\n.chat-msg[data-ephemeral=\"true\"] { background: #f6f6f6; }\n.chat-msg.arrive { animation: mbn-chat-in .3s ease-out; }\n@keyframes mbn-chat-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }\n.chat-avatar { flex: none; width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 14px; }\n.chat-msg-main { flex: 1; min-width: 0; font-size: 15px; line-height: 22px; }\n.chat-meta { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }\n.chat-meta b { font-weight: 800; }\n.chat-app { background: #e8e8e8; color: #555; font-size: 10px; font-weight: 700; border-radius: 3px; padding: 0 4px; line-height: 14px; align-self: center; }\n.chat-time, .chat-edited { color: #616061; font-size: 12px; }\n.chat-note { color: #616061; font-size: 12px; line-height: 16px; }\n.chat-text { white-space: pre-wrap; overflow-wrap: anywhere; }\n.chat-text a, .chat-att-title a { color: #1264a3; text-decoration: none; }\n.chat-text a:hover { text-decoration: underline; }\n.chat-code { font: 12px/18px var(--mono); background: #f4f4f4; border: 1px solid #dcdcdc; border-radius: 3px; padding: 1px 3px; color: #c0143c; }\n.chat-pre { font: 12px/18px var(--mono); background: #f7f7f7; border: 1px solid #dcdcdc; border-radius: 4px; padding: 8px; margin: 4px 0; white-space: pre-wrap; overflow-wrap: anywhere; }\n.chat-mention { background: #e8f1fa; color: #1264a3; border-radius: 3px; padding: 0 2px; }\n.chat-quote { display: block; border-left: 4px solid #ddd; padding-left: 10px; margin: 2px 0; }\n.chat-blocks, .chat-attachments { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }\n.chat-block-header { font-size: 18px; font-weight: 800; line-height: 24px; }\n.chat-block-divider hr { border: 0; border-top: 1px solid #e3e3e3; margin: 4px 0; }\n.chat-block-context { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: #616061; font-size: 13px; }\n.chat-block-actions { display: flex; flex-wrap: wrap; gap: 8px; }\n.chat-block.with-accessory { display: flex; gap: 12px; align-items: flex-start; }\n.chat-section-body { flex: 1; min-width: 0; }\n.chat-accessory { flex: none; }\n.chat-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; margin-top: 4px; }\n.chat-btn { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border: 1px solid #bbb; border-radius: 4px; background: #fff; font-size: 13px; font-weight: 700; color: #1d1c1d; }\n.chat-btn.primary { background: #007a5a; border-color: #007a5a; color: #fff; }\n.chat-btn.danger { color: #e01e5a; }\n.chat-thumb { width: 72px; height: 72px; border-radius: 6px; object-fit: cover; display: block; }\n.chat-block-context .chat-thumb { width: 20px; height: 20px; border-radius: 3px; }\n.chat-image { max-width: min(360px, 100%); max-height: 260px; border-radius: 6px; display: block; }\n.chat-caption { color: #616061; font-size: 13px; }\n.chat-list-block { margin: 2px 0; padding-left: 22px; }\n.chat-unknown { color: #616061; font: 12px var(--mono); border: 1px dashed #ccc; border-radius: 4px; padding: 2px 6px; }\n.chat-attachment { border-left: 4px solid #ddd; padding-left: 12px; display: flex; flex-direction: column; gap: 2px; }\n.chat-att-author { font-size: 13px; font-weight: 700; }\n.chat-att-title { font-weight: 700; }\n.chat-field { margin-top: 4px; }\n.chat-field:not(.short) { grid-column: 1 / -1; }\n.chat-att-footer { color: #616061; font-size: 12px; }\n.chat-reactions { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }\n.chat-reaction { background: #f0f0f0; border: 1px solid #e0e0e0; border-radius: 999px; padding: 0 8px; font-size: 12px; line-height: 22px; }\n.chat-compose { flex: none; display: flex; align-items: center; justify-content: space-between; margin: 0 18px 16px; padding: 0 12px; height: 42px; border: 1px solid #bbb; border-radius: 8px; color: #8a8a8a; font-size: 14px; }\n.chat-compose span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.chat-compose .send { display: grid; place-items: center; opacity: .5; }\n.chat-empty { margin: auto; padding: 40px 28px; text-align: center; color: #616061; display: flex; flex-direction: column; gap: 6px; max-width: 380px; }\n.chat-empty b { color: #1d1c1d; font-size: 16px; }\n@container (max-width: 560px) { .chat-side { display: none; } .chat-msg, .chat-head, .chat-day { padding-left: 12px; padding-right: 12px; } .chat-compose { margin: 0 12px 12px; } .chat-fields { grid-template-columns: 1fr; } }\n\n/* \u2500\u2500 Phone \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\n The harness itself is on a phone: the open device fills the screen below the tabs, instead of\n a 760px phone drawn at 362px wide. */\n&[data-size=\"phone\"] .devices { zoom: 1; flex: 1 0 auto; min-height: max(440px, calc(100dvh - 200px)); flex-wrap: nowrap; align-items: stretch; padding: 0 12px 12px; gap: 0; }\n&.embedded[data-size=\"phone\"] .devices { min-height: 440px; }\n&[data-size=\"phone\"] .device-col, &[data-size=\"phone\"] .device-col.wide { flex: 1 1 100%; width: 100%; max-width: none; min-width: 0; align-items: stretch; gap: 0; }\n&[data-size=\"phone\"][data-layout=\"tabs\"] .device-col:not(.wide) .device-head { width: 100%; }\n&[data-size=\"phone\"] .iphone, &[data-size=\"phone\"] .pixel { zoom: 1; display: flex; flex: 1; width: 100%; height: auto; min-height: 0; border-radius: 40px; padding: 7px;\n box-shadow: 0 0 0 1.5px #3a3a3c, 0 18px 40px rgba(0,0,0,.45); }\n&[data-size=\"phone\"] .iphone::before, &[data-size=\"phone\"] .iphone::after, &[data-size=\"phone\"] .pixel::after { display: none; }\n&[data-size=\"phone\"] .iphone .screen, &[data-size=\"phone\"] .pixel .screen { flex: 1; height: auto; border-radius: 33px; clip-path: inset(0 round 33px); }\n&[data-size=\"phone\"] .window { flex: 1; height: auto; min-height: 0; border-radius: 16px; }\n&[data-size=\"phone\"] .window .chrome { display: none; }\n`\n\n/** The device skins' stylesheet, every rule scoped to `.mb-notifications`. Pair it with `MOCKINGBIRD_CSS`. */\nexport const STYLES = scopeCss(RAW, `.${ROOT_CLASS}`)\n"],
5
+ "mappings": ";AASA,SAAS,YAAY,sBAAsB;AAC3C,SAAS,uBAAuB;;;ACJzB,IAAM,WAAW,CAAC,KAAa,UAA0B;AAC9D,QAAM,SAAS,IAAI,QAAQ,qBAAqB,EAAE;AAClD,MAAI,MAAM;AACV,MAAI,IAAI;AACR,SAAO,IAAI,OAAO,QAAQ;AACxB,UAAM,OAAO,OAAO,QAAQ,KAAK,CAAC;AAClC,QAAI,OAAO,EAAG;AACd,UAAM,OAAO,OAAO,MAAM,GAAG,IAAI,EAAE,KAAK;AACxC,QAAI,QAAQ;AACZ,QAAI,IAAI,OAAO;AACf,WAAO,IAAI,OAAO,UAAU,QAAQ,GAAG;AACrC,UAAI,OAAO,CAAC,MAAM,IAAK;AAAA,eACd,OAAO,CAAC,MAAM,IAAK;AAC5B;AAAA,IACF;AACA,UAAM,OAAO,OAAO,MAAM,OAAO,GAAG,IAAI,CAAC;AACzC,QAAI,uCAAuC,KAAK,IAAI;AAClD,aAAO,GAAG,IAAI;AAAA,EAAO,SA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