@apextelemed/partner-core 0.1.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 (114) hide show
  1. package/LICENSE +64 -0
  2. package/README.md +363 -0
  3. package/dist/api/index.d.ts +12 -0
  4. package/dist/api/index.js +8 -0
  5. package/dist/api/index.js.map +1 -0
  6. package/dist/api/index.jsx +127 -0
  7. package/dist/cart-CBH8Em8f.d.ts +189 -0
  8. package/dist/cart-D4mVX_zx.d.ts +66 -0
  9. package/dist/chunk/2OXI5TKO.jsx +249 -0
  10. package/dist/chunk/3A3MF7R2.jsx +1 -0
  11. package/dist/chunk/3VEOP7TZ.jsx +16679 -0
  12. package/dist/chunk/5XGPFYIJ.js +26 -0
  13. package/dist/chunk/5XGPFYIJ.js.map +1 -0
  14. package/dist/chunk/67KHO66G.js +26 -0
  15. package/dist/chunk/67KHO66G.js.map +1 -0
  16. package/dist/chunk/6TFBQECC.jsx +135 -0
  17. package/dist/chunk/AN3WPMEP.js +3 -0
  18. package/dist/chunk/AN3WPMEP.js.map +1 -0
  19. package/dist/chunk/DHII7L5Y.js +686 -0
  20. package/dist/chunk/DHII7L5Y.js.map +1 -0
  21. package/dist/chunk/DS4E7FAI.js +132 -0
  22. package/dist/chunk/DS4E7FAI.js.map +1 -0
  23. package/dist/chunk/DY5BJ6UG.js +1195 -0
  24. package/dist/chunk/DY5BJ6UG.js.map +1 -0
  25. package/dist/chunk/E7722UPF.js +378 -0
  26. package/dist/chunk/E7722UPF.js.map +1 -0
  27. package/dist/chunk/HLXKWRRW.js +16774 -0
  28. package/dist/chunk/HLXKWRRW.js.map +1 -0
  29. package/dist/chunk/I46Y2J5W.jsx +144 -0
  30. package/dist/chunk/J63XPQP4.jsx +21 -0
  31. package/dist/chunk/J6KNY37T.js +122 -0
  32. package/dist/chunk/J6KNY37T.js.map +1 -0
  33. package/dist/chunk/KNTZTYXE.jsx +3315 -0
  34. package/dist/chunk/KZZSQ7LP.jsx +409 -0
  35. package/dist/chunk/L46OKCKG.jsx +733 -0
  36. package/dist/chunk/LDZIUFDM.jsx +31 -0
  37. package/dist/chunk/LZWA44KD.js +3 -0
  38. package/dist/chunk/LZWA44KD.js.map +1 -0
  39. package/dist/chunk/NVRAOAVV.js +3 -0
  40. package/dist/chunk/NVRAOAVV.js.map +1 -0
  41. package/dist/chunk/O3QK7YZR.jsx +1 -0
  42. package/dist/chunk/UZCST66N.jsx +21 -0
  43. package/dist/chunk/V42CGY2S.jsx +1229 -0
  44. package/dist/chunk/YJEHCCLY.js +467 -0
  45. package/dist/chunk/YJEHCCLY.js.map +1 -0
  46. package/dist/chunk/ZMOG2IIC.js +3194 -0
  47. package/dist/chunk/ZMOG2IIC.js.map +1 -0
  48. package/dist/client-BzSg2DEK.d.ts +1539 -0
  49. package/dist/config/index.d.ts +55 -0
  50. package/dist/config/index.js +3 -0
  51. package/dist/config/index.js.map +1 -0
  52. package/dist/config/index.jsx +11 -0
  53. package/dist/flows/index.d.ts +1322 -0
  54. package/dist/flows/index.js +9 -0
  55. package/dist/flows/index.js.map +1 -0
  56. package/dist/flows/index.jsx +124 -0
  57. package/dist/index/index.d.ts +71 -0
  58. package/dist/index/index.js +15 -0
  59. package/dist/index/index.js.map +1 -0
  60. package/dist/index/index.jsx +311 -0
  61. package/dist/pages/index.d.ts +617 -0
  62. package/dist/pages/index.js +10 -0
  63. package/dist/pages/index.js.map +1 -0
  64. package/dist/pages/index.jsx +50 -0
  65. package/dist/primitives/default/index.d.ts +6 -0
  66. package/dist/primitives/default/index.js +3 -0
  67. package/dist/primitives/default/index.js.map +1 -0
  68. package/dist/primitives/default/index.jsx +7 -0
  69. package/dist/primitives/index.d.ts +122 -0
  70. package/dist/primitives/index.js +3 -0
  71. package/dist/primitives/index.js.map +1 -0
  72. package/dist/primitives/index.jsx +9 -0
  73. package/dist/stores/index.d.ts +48 -0
  74. package/dist/stores/index.js +6 -0
  75. package/dist/stores/index.js.map +1 -0
  76. package/dist/stores/index.jsx +16 -0
  77. package/dist/surveyV2-BgQHK0GE.d.ts +48 -0
  78. package/dist/testing/adapter.d.ts +104 -0
  79. package/dist/testing/adapter.d.ts.map +1 -0
  80. package/dist/testing/adapter.js +14 -0
  81. package/dist/testing/adapter.js.map +1 -0
  82. package/dist/testing/env.d.ts +29 -0
  83. package/dist/testing/env.d.ts.map +1 -0
  84. package/dist/testing/env.js +42 -0
  85. package/dist/testing/env.js.map +1 -0
  86. package/dist/testing/fixtures.d.ts +70 -0
  87. package/dist/testing/fixtures.d.ts.map +1 -0
  88. package/dist/testing/fixtures.js +74 -0
  89. package/dist/testing/fixtures.js.map +1 -0
  90. package/dist/testing/index.d.ts +15 -0
  91. package/dist/testing/index.d.ts.map +1 -0
  92. package/dist/testing/index.js +14 -0
  93. package/dist/testing/index.js.map +1 -0
  94. package/dist/testing/mocks.d.ts +53 -0
  95. package/dist/testing/mocks.d.ts.map +1 -0
  96. package/dist/testing/mocks.js +90 -0
  97. package/dist/testing/mocks.js.map +1 -0
  98. package/dist/testing/seam-suite.d.ts +39 -0
  99. package/dist/testing/seam-suite.d.ts.map +1 -0
  100. package/dist/testing/seam-suite.js +196 -0
  101. package/dist/testing/seam-suite.js.map +1 -0
  102. package/dist/testing/storage.d.ts +40 -0
  103. package/dist/testing/storage.d.ts.map +1 -0
  104. package/dist/testing/storage.js +71 -0
  105. package/dist/testing/storage.js.map +1 -0
  106. package/dist/theme/admin.css +579 -0
  107. package/dist/theme/affiliate.css +191 -0
  108. package/dist/theme/flow.css +497 -0
  109. package/dist/theme/index.d.ts +84 -0
  110. package/dist/theme/index.js +94 -0
  111. package/dist/theme/index.js.map +1 -0
  112. package/dist/theme/index.jsx +97 -0
  113. package/dist/theme/member-portal.css +1762 -0
  114. package/package.json +199 -0
@@ -0,0 +1,1762 @@
1
+ /*
2
+ * @apextelemed/partner-core — member portal theme
3
+ *
4
+ * The "Apothecary" member portal: a calm, vertical "thread" of fulfillment
5
+ * beads + a sidebar app shell (MemberPortal page). This file ships DEFAULT
6
+ * values for the CSS variables the portal components consume. Sites import it
7
+ * once at app boot, then override individual variables in their own stylesheet
8
+ * to match their brand:
9
+ *
10
+ * :root {
11
+ * --app-portal-accent: #6b46c1;
12
+ * --app-portal-fg: #111827;
13
+ * --app-portal-font-display: 'Sora', system-ui, sans-serif;
14
+ * }
15
+ *
16
+ * The `--i` / `--p` variables are NOT theme tokens — they're per-element layout
17
+ * values (stage index / cycle progress) set inline by the components.
18
+ */
19
+
20
+ :root {
21
+ /* Page + surfaces */
22
+ --app-portal-bg: #fafafa;
23
+ --app-portal-surface: #f9f7f5;
24
+ --app-portal-surface-raised: #ffffff;
25
+
26
+ /* Text */
27
+ --app-portal-fg: #1a1816;
28
+ --app-portal-fg-muted: #6e6a66; /* dark enough that 12px labels pass AA */
29
+
30
+ /* Typography — default to the host page font; sites set a display face. */
31
+ --app-portal-font-body: inherit;
32
+ --app-portal-font-display: inherit;
33
+
34
+ /* Borders */
35
+ --app-portal-border: #ede9e4;
36
+ --app-portal-border-strong: #d8d4cf;
37
+
38
+ /* Primary accent (fulfillment progress, primary buttons) */
39
+ --app-portal-accent: #6b9b6b;
40
+ --app-portal-accent-bright: #7ca97c;
41
+ --app-portal-accent-soft: #e6eee3;
42
+ --app-portal-accent-fill: linear-gradient(180deg, var(--app-portal-accent-bright), var(--app-portal-accent));
43
+
44
+ /* Own-message bubble.
45
+ Deliberately NOT --app-portal-accent-fill: that gradient is decorative
46
+ (progress rails carry no text), and white on it measures 2.68:1 at the
47
+ light end — WCAG AA wants 4.5:1 for body text. This darker pair measures
48
+ 5.07:1, so the accent stays as the brand colour everywhere it doesn't sit
49
+ behind a sentence. Override both to rebrand without forking this file. */
50
+ --app-portal-bubble-own-bg: linear-gradient(180deg, #577657, #4b6d4b);
51
+ --app-portal-bubble-own-fg: #ffffff;
52
+ /* Timestamp inside that bubble — dimmer than the message, but still legible.
53
+ Its own variable rather than a hardcoded white: a site that rebrands the
54
+ bubble to a LIGHT colour (axiom-md's lime) gets white-on-light otherwise,
55
+ and the small size is exactly where contrast matters most. Rebrand the
56
+ bubble, rebrand this. */
57
+ --app-portal-bubble-own-meta: rgba(255, 255, 255, 0.85);
58
+
59
+ /* Consult branch (a warm, non-alarming tone) */
60
+ --app-portal-consult: #c6873f;
61
+ --app-portal-consult-soft: #f4e7d6;
62
+
63
+ /* Denied branch — intentionally neutral, never red */
64
+ --app-portal-neutral: #8a847c;
65
+
66
+ /* Danger (destructive actions, e.g. cancel) */
67
+ --app-portal-danger: #9b3b3b;
68
+ }
69
+
70
+ /* ── Shell ──────────────────────────────────────────────── */
71
+ .portal {
72
+ display: grid;
73
+ grid-template-columns: 248px minmax(0, 1fr);
74
+ min-height: 100vh;
75
+ background: var(--app-portal-bg);
76
+ color: var(--app-portal-fg);
77
+ font-family: var(--app-portal-font-body);
78
+ }
79
+
80
+ /* Neutralize the global heading color + tight letter-spacing inside the portal
81
+ so headings inherit their container color (e.g. white on the dark plan card)
82
+ and read at a comfortable tracking. */
83
+ .portal h1,
84
+ .portal h2,
85
+ .portal h3,
86
+ .portal h4,
87
+ .portal h5,
88
+ .portal h6 {
89
+ color: inherit;
90
+ letter-spacing: -0.01em;
91
+ }
92
+
93
+ .portal-rail {
94
+ position: sticky;
95
+ top: 0;
96
+ height: 100vh;
97
+ display: flex;
98
+ flex-direction: column;
99
+ padding: 30px 18px 22px;
100
+ background: var(--app-portal-surface);
101
+ border-right: 1px solid var(--app-portal-border);
102
+ }
103
+
104
+ .portal-rail__brand {
105
+ display: flex;
106
+ align-items: center;
107
+ gap: 8px;
108
+ padding: 0 10px;
109
+ }
110
+ .portal-rail__logo img {
111
+ height: 26px;
112
+ display: block;
113
+ }
114
+ .portal-rail__wordmark {
115
+ font-family: var(--app-portal-font-display);
116
+ font-size: 20px;
117
+ font-weight: 700;
118
+ letter-spacing: -0.01em;
119
+ color: var(--app-portal-fg);
120
+ }
121
+ .portal-rail__dot {
122
+ width: 6px;
123
+ height: 6px;
124
+ border-radius: 50%;
125
+ background: var(--app-portal-accent);
126
+ animation: rail-pulse 3.6s ease-in-out infinite;
127
+ }
128
+ @keyframes rail-pulse {
129
+ 0%, 100% { opacity: 0.5; }
130
+ 50% { opacity: 1; }
131
+ }
132
+ .portal-rail__hi {
133
+ margin: 16px 10px 24px;
134
+ font-family: var(--app-portal-font-display);
135
+ font-size: 15px;
136
+ font-weight: 500;
137
+ color: var(--app-portal-fg-muted);
138
+ }
139
+
140
+ .portal-rail__nav {
141
+ display: flex;
142
+ flex-direction: column;
143
+ gap: 2px;
144
+ }
145
+ .portal-rail__item {
146
+ position: relative;
147
+ display: flex;
148
+ align-items: center;
149
+ gap: 12px;
150
+ width: 100%;
151
+ padding: 11px 12px;
152
+ border-radius: 12px;
153
+ background: none;
154
+ border: none;
155
+ cursor: pointer;
156
+ font-family: var(--app-portal-font-body);
157
+ font-size: 15px;
158
+ color: var(--app-portal-fg-muted);
159
+ text-decoration: none;
160
+ text-align: left;
161
+ transition: color 0.18s ease, background 0.18s ease;
162
+ }
163
+ .portal-rail__item .portal-item__label {
164
+ flex: 1;
165
+ transition: transform 0.18s ease;
166
+ }
167
+ .portal-rail__item:hover {
168
+ color: var(--app-portal-fg);
169
+ }
170
+ .portal-rail__item:hover .portal-item__label {
171
+ transform: translateX(2px);
172
+ }
173
+ .portal-rail__item.is-active {
174
+ color: var(--app-portal-fg);
175
+ background: #f1eee9;
176
+ box-shadow: inset 2px 0 0 var(--app-portal-accent);
177
+ }
178
+ .portal-icon {
179
+ font-size: 20px;
180
+ line-height: 1;
181
+ opacity: 0.85;
182
+ }
183
+ .portal-item__live {
184
+ width: 7px;
185
+ height: 7px;
186
+ border-radius: 50%;
187
+ background: var(--app-portal-accent);
188
+ animation: breathe 4s ease-in-out infinite;
189
+ }
190
+ .portal-item__badge {
191
+ min-width: 18px;
192
+ height: 18px;
193
+ padding: 0 5px;
194
+ border-radius: 999px;
195
+ background: var(--app-portal-consult);
196
+ color: #fff;
197
+ font-size: 11px;
198
+ font-weight: 700;
199
+ display: inline-flex;
200
+ align-items: center;
201
+ justify-content: center;
202
+ line-height: 1;
203
+ }
204
+
205
+ /* Bottom-anchored rail actions: "Back to shop" then "Sign out". */
206
+ .portal-rail__foot {
207
+ margin-top: auto;
208
+ display: flex;
209
+ flex-direction: column;
210
+ gap: 2px;
211
+ }
212
+ .portal-rail__back {
213
+ display: flex;
214
+ align-items: center;
215
+ gap: 6px;
216
+ padding: 11px 12px;
217
+ border-radius: 12px;
218
+ font-family: var(--app-portal-font-body);
219
+ font-size: 14px;
220
+ font-weight: 500;
221
+ color: var(--app-portal-fg-muted);
222
+ text-decoration: none;
223
+ transition: color 0.18s ease, background 0.18s ease;
224
+ }
225
+ .portal-rail__back:hover {
226
+ color: var(--app-portal-fg);
227
+ background: #f1eee9;
228
+ }
229
+ .portal-rail__signout {
230
+ padding: 12px;
231
+ background: none;
232
+ border: none;
233
+ cursor: pointer;
234
+ font-family: var(--app-portal-font-body);
235
+ font-size: 13px;
236
+ color: var(--app-portal-fg-muted);
237
+ text-align: left;
238
+ transition: color 0.18s ease;
239
+ }
240
+ .portal-rail__signout:hover {
241
+ color: var(--app-portal-fg);
242
+ }
243
+
244
+ /* Mobile-only back-to-shop bar (rail is hidden ≤900px). Desktop hides it. */
245
+ .portal-topbar-back {
246
+ display: none;
247
+ }
248
+
249
+ /* Messaging-not-ready note replacing a "message your provider" CTA. */
250
+ .thread__await {
251
+ margin-top: 10px;
252
+ font-style: italic;
253
+ }
254
+
255
+ .portal-content {
256
+ padding: 56px 40px 110px;
257
+ /* Grid items default to min-width:auto, so a wide descendant (the Messages
258
+ conversation list, whose rows are nowrap) grows the column past the
259
+ viewport instead of ellipsing. Let the item shrink and the inner scroll
260
+ containers do their job. */
261
+ min-width: 0;
262
+ }
263
+ .portal-content__inner {
264
+ max-width: 720px;
265
+ margin: 0 auto;
266
+ }
267
+
268
+ .portal-tabs {
269
+ display: none;
270
+ }
271
+
272
+ .portal-state {
273
+ display: flex;
274
+ flex-direction: column;
275
+ align-items: center;
276
+ gap: 14px;
277
+ padding: 80px 20px;
278
+ color: var(--app-portal-fg-muted);
279
+ text-align: center;
280
+ }
281
+
282
+ /* Loading + error states (self-contained — the portal doesn't depend on a
283
+ host "request status" stylesheet). */
284
+ .request-status__spinner {
285
+ width: 28px;
286
+ height: 28px;
287
+ border-radius: 50%;
288
+ border: 3px solid var(--app-portal-border-strong);
289
+ border-top-color: var(--app-portal-accent);
290
+ animation: portal-spin 0.8s linear infinite;
291
+ }
292
+ @keyframes portal-spin {
293
+ to { transform: rotate(360deg); }
294
+ }
295
+ .request-status__error {
296
+ border: 1px solid var(--app-portal-border-strong);
297
+ border-radius: 12px;
298
+ background: var(--app-portal-surface);
299
+ }
300
+ .request-status__error-text {
301
+ color: var(--app-portal-danger);
302
+ margin: 0 0 4px;
303
+ }
304
+
305
+ /* ── Shared bits ────────────────────────────────────────── */
306
+ .lab-label {
307
+ font-family: var(--app-portal-font-body);
308
+ font-size: 12px;
309
+ font-weight: 600;
310
+ text-transform: uppercase;
311
+ letter-spacing: 0.12em;
312
+ color: var(--app-portal-fg-muted);
313
+ }
314
+ .portal-btn {
315
+ display: inline-flex;
316
+ align-items: center;
317
+ justify-content: center;
318
+ gap: 8px;
319
+ padding: 13px 24px;
320
+ border-radius: 999px;
321
+ font-family: var(--app-portal-font-display);
322
+ font-weight: 600;
323
+ font-size: 14px;
324
+ cursor: pointer;
325
+ border: 1px solid transparent;
326
+ text-decoration: none;
327
+ transition: all 0.22s ease;
328
+ }
329
+ .portal-btn--primary { background: var(--app-portal-fg); color: var(--app-portal-surface-raised); }
330
+ .portal-btn--primary:hover { background: #000; transform: translateY(-1px); }
331
+ .portal-btn--ghost { background: transparent; color: var(--app-portal-fg); border-color: var(--app-portal-border-strong); }
332
+ .portal-btn--ghost:hover { border-color: var(--app-portal-fg); }
333
+ .portal-btn--danger { background: transparent; color: var(--app-portal-danger); border-color: rgba(155, 59, 59, 0.3); }
334
+ .portal-btn--danger:hover { background: var(--app-portal-danger); color: #fff; border-color: var(--app-portal-danger); }
335
+
336
+ /* Accessibility: always-visible keyboard focus (these controls reset borders) */
337
+ .portal a:focus-visible,
338
+ .portal button:focus-visible {
339
+ outline: 2px solid var(--app-portal-accent);
340
+ outline-offset: 2px;
341
+ }
342
+ .portal-rail__item:focus-visible,
343
+ .portal-rail__signout:focus-visible,
344
+ .portal-tabs__item:focus-visible {
345
+ outline-offset: -3px;
346
+ }
347
+ /* Screen-reader-only live region / labels */
348
+ .portal-sr-only {
349
+ position: absolute;
350
+ width: 1px;
351
+ height: 1px;
352
+ padding: 0;
353
+ margin: -1px;
354
+ overflow: hidden;
355
+ clip: rect(0 0 0 0);
356
+ white-space: nowrap;
357
+ border: 0;
358
+ }
359
+
360
+ @keyframes breathe {
361
+ 0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
362
+ 50% { transform: translate(-50%, -50%) scale(1.12); opacity: 0.85; }
363
+ }
364
+
365
+ /* ── Tracker ────────────────────────────────────────────── */
366
+ .tracker__intro { margin-bottom: 6px; }
367
+ .tracker__med {
368
+ font-family: var(--app-portal-font-display);
369
+ font-size: 20px;
370
+ font-weight: 600;
371
+ margin-top: 6px;
372
+ }
373
+ .tracker__dose { color: var(--app-portal-fg-muted); font-weight: 500; }
374
+
375
+ /* Refill strip */
376
+ .refill { margin: 28px 0 54px; }
377
+ .refill__head {
378
+ display: flex;
379
+ align-items: baseline;
380
+ justify-content: space-between;
381
+ margin-bottom: 18px;
382
+ }
383
+ .refill__cycle {
384
+ font-size: 12px;
385
+ font-variant-numeric: tabular-nums;
386
+ color: var(--app-portal-fg-muted);
387
+ letter-spacing: 0.04em;
388
+ }
389
+ .refill__rail {
390
+ position: relative;
391
+ display: flex;
392
+ justify-content: space-between;
393
+ gap: 12px;
394
+ padding-top: 18px;
395
+ }
396
+ .refill__rail::before,
397
+ .refill__rail::after {
398
+ content: '';
399
+ position: absolute;
400
+ top: 5px;
401
+ height: 2px;
402
+ border-radius: 2px;
403
+ }
404
+ .refill__rail::before { left: 6px; right: 6px; background: var(--app-portal-border-strong); }
405
+ .refill__rail::after { left: 6px; width: calc((100% - 12px) * var(--p, 0)); background: var(--app-portal-accent-fill); }
406
+ .refill__stone {
407
+ position: relative;
408
+ flex: 1;
409
+ min-width: 92px;
410
+ display: flex;
411
+ flex-direction: column;
412
+ gap: 3px;
413
+ }
414
+ .refill__dot {
415
+ position: absolute;
416
+ top: -18px;
417
+ left: 0;
418
+ width: 11px;
419
+ height: 11px;
420
+ border-radius: 50%;
421
+ background: var(--app-portal-surface-raised);
422
+ border: 2px solid var(--app-portal-border-strong);
423
+ }
424
+ .refill__stone.is-near .refill__dot {
425
+ border-color: var(--app-portal-accent);
426
+ background: var(--app-portal-accent);
427
+ box-shadow: 0 0 0 4px var(--app-portal-accent-soft);
428
+ }
429
+ .refill__label { font-size: 11px; }
430
+ .refill__date {
431
+ font-family: var(--app-portal-font-display);
432
+ font-size: 15px;
433
+ font-weight: 600;
434
+ font-variant-numeric: tabular-nums;
435
+ }
436
+ .refill__rel { font-size: 12px; color: var(--app-portal-fg-muted); }
437
+ .refill__action {
438
+ margin-top: 5px;
439
+ font-size: 12px;
440
+ color: var(--app-portal-accent);
441
+ text-decoration: none;
442
+ font-weight: 600;
443
+ background: none;
444
+ border: none;
445
+ padding: 0;
446
+ cursor: pointer;
447
+ font-family: inherit;
448
+ }
449
+ .refill__action:hover { text-decoration: underline; }
450
+
451
+ /* The vertical bead thread */
452
+ .thread {
453
+ list-style: none;
454
+ margin: 8px 0 0;
455
+ padding: 0;
456
+ --thread-gap: 34px;
457
+ }
458
+ .thread__step {
459
+ display: grid;
460
+ grid-template-columns: 34px minmax(0, 1fr);
461
+ column-gap: 18px;
462
+ padding-bottom: var(--thread-gap);
463
+ animation: step-in 0.5s ease both;
464
+ animation-delay: calc(var(--i) * 70ms);
465
+ }
466
+ .thread__step:last-child { padding-bottom: 0; }
467
+ @keyframes step-in {
468
+ from { opacity: 0; transform: translateY(6px); }
469
+ to { opacity: 1; transform: none; }
470
+ }
471
+
472
+ .thread__rail { position: relative; }
473
+ .thread__rail::before {
474
+ content: '';
475
+ position: absolute;
476
+ left: 50%;
477
+ top: 0;
478
+ /* Reach across the step's padding-bottom so the line meets the next bead
479
+ instead of stopping short — one continuous thread between steps. */
480
+ bottom: calc(-1 * var(--thread-gap));
481
+ width: 2px;
482
+ background: var(--app-portal-border-strong);
483
+ transform: translateX(-50%) scaleY(1);
484
+ transform-origin: top;
485
+ animation: pour 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) both;
486
+ animation-delay: calc(var(--i) * 70ms + 0.1s);
487
+ }
488
+ @keyframes pour {
489
+ from { transform: translateX(-50%) scaleY(0); }
490
+ to { transform: translateX(-50%) scaleY(1); }
491
+ }
492
+ .thread__step:first-child .thread__rail::before { top: 11px; }
493
+ .thread__step:last-child .thread__rail::before { display: none; }
494
+ .thread__step--done .thread__rail::before { background: var(--app-portal-accent-fill); }
495
+ .thread__step--active .thread__rail::before {
496
+ background: linear-gradient(180deg, var(--app-portal-accent-bright) 0, var(--app-portal-accent) 12px, var(--app-portal-border-strong) 12px);
497
+ }
498
+ .thread__step--consult .thread__rail::before {
499
+ background: linear-gradient(180deg, var(--app-portal-consult) 0, var(--app-portal-consult) 12px, var(--app-portal-border-strong) 12px);
500
+ }
501
+ .thread__step--denied .thread__rail::before {
502
+ background: linear-gradient(180deg, var(--app-portal-accent) 0, var(--app-portal-accent) 12px, var(--app-portal-neutral) 12px);
503
+ }
504
+
505
+ .thread__bead {
506
+ position: absolute;
507
+ top: 4px;
508
+ left: 50%;
509
+ transform: translateX(-50%);
510
+ width: 14px;
511
+ height: 14px;
512
+ border-radius: 50%;
513
+ background: var(--app-portal-fg);
514
+ z-index: 1;
515
+ }
516
+ .thread__step--upcoming .thread__bead {
517
+ width: 13px;
518
+ height: 13px;
519
+ background: var(--app-portal-bg);
520
+ border: 1.5px solid var(--app-portal-border-strong);
521
+ }
522
+ .thread__step--active .thread__bead,
523
+ .thread__step--consult .thread__bead,
524
+ .thread__step--denied .thread__bead {
525
+ width: 18px;
526
+ height: 18px;
527
+ top: 2px;
528
+ }
529
+ .thread__step--active .thread__bead { background: var(--app-portal-accent); }
530
+ .thread__step--consult .thread__bead { background: var(--app-portal-consult); }
531
+ .thread__step--denied .thread__bead { background: var(--app-portal-neutral); }
532
+ .thread__halo {
533
+ position: absolute;
534
+ left: 50%;
535
+ top: 50%;
536
+ width: 38px;
537
+ height: 38px;
538
+ border-radius: 50%;
539
+ background: radial-gradient(circle, rgba(107, 155, 107, 0.55), transparent 70%);
540
+ transform: translate(-50%, -50%);
541
+ animation: breathe 4s ease-in-out infinite;
542
+ }
543
+ .thread__step--consult .thread__halo { background: radial-gradient(circle, rgba(198, 135, 63, 0.5), transparent 70%); }
544
+ .thread__step--denied .thread__halo { background: radial-gradient(circle, rgba(138, 132, 124, 0.42), transparent 70%); }
545
+
546
+ .thread__top {
547
+ display: flex;
548
+ align-items: baseline;
549
+ justify-content: space-between;
550
+ gap: 12px;
551
+ }
552
+ .thread__step--upcoming .thread__label { opacity: 0.45; }
553
+ .thread__time {
554
+ font-size: 12px;
555
+ color: var(--app-portal-fg-muted);
556
+ font-variant-numeric: tabular-nums;
557
+ white-space: nowrap;
558
+ }
559
+ .thread__hero {
560
+ font-family: var(--app-portal-font-display);
561
+ font-weight: 600;
562
+ font-size: 44px;
563
+ line-height: 1.02;
564
+ letter-spacing: -0.02em;
565
+ margin: 12px 0 0;
566
+ }
567
+ .thread__step--consult .thread__hero { color: var(--app-portal-consult); }
568
+ .thread__step--denied .thread__hero { color: var(--app-portal-neutral); }
569
+ .thread__caption {
570
+ font-size: 15px;
571
+ color: var(--app-portal-fg-muted);
572
+ line-height: 1.6;
573
+ margin-top: 12px;
574
+ max-width: 44ch;
575
+ }
576
+ .thread__action { margin-top: 18px; }
577
+
578
+ .thread__content--active {
579
+ background: var(--app-portal-surface-raised);
580
+ border-radius: 16px;
581
+ margin: -12px -16px -8px -12px;
582
+ padding: 16px 20px 20px;
583
+ box-shadow: 0 1px 0 rgba(26, 24, 22, 0.04), 0 14px 34px -22px rgba(26, 24, 22, 0.22);
584
+ }
585
+
586
+ /* Shipment chip */
587
+ .ship { margin-top: 16px; }
588
+ .ship__eta { font-size: 14px; color: var(--app-portal-fg); margin-bottom: 10px; }
589
+ .ship__chip-row {
590
+ display: flex;
591
+ align-items: center;
592
+ gap: 16px;
593
+ flex-wrap: wrap;
594
+ }
595
+ .ship__chip {
596
+ position: relative;
597
+ display: inline-flex;
598
+ align-items: center;
599
+ gap: 8px;
600
+ padding: 8px 14px;
601
+ border-radius: 10px;
602
+ background: var(--app-portal-surface);
603
+ border: 1px solid var(--app-portal-border);
604
+ cursor: pointer;
605
+ font-family: var(--app-portal-font-body);
606
+ }
607
+ .ship__num {
608
+ font-variant-numeric: tabular-nums;
609
+ font-size: 13px;
610
+ letter-spacing: 0.02em;
611
+ color: var(--app-portal-fg);
612
+ }
613
+ .ship__copy-icon { font-size: 15px; color: var(--app-portal-fg-muted); }
614
+ .ship__copied {
615
+ position: absolute;
616
+ inset: 0;
617
+ display: flex;
618
+ align-items: center;
619
+ justify-content: center;
620
+ background: var(--app-portal-surface);
621
+ border-radius: 10px;
622
+ font-size: 12px;
623
+ color: var(--app-portal-accent);
624
+ font-weight: 600;
625
+ opacity: 0;
626
+ pointer-events: none;
627
+ transition: opacity 0.2s ease;
628
+ }
629
+ .ship__copied.is-shown { opacity: 1; }
630
+ .ship__track { font-size: 13px; color: var(--app-portal-accent); text-decoration: none; font-weight: 600; }
631
+ .ship__track:hover { text-decoration: underline; }
632
+
633
+ /* Empty tracker */
634
+ .tracker__empty { text-align: center; padding: 52px 20px; }
635
+ .tracker__empty-mark { display: flex; justify-content: center; margin-bottom: 26px; }
636
+ .tracker__empty-bead {
637
+ position: relative;
638
+ width: 18px;
639
+ height: 18px;
640
+ border-radius: 50%;
641
+ background: var(--app-portal-accent);
642
+ }
643
+ .tracker__empty-bead::before {
644
+ content: '';
645
+ position: absolute;
646
+ inset: -11px;
647
+ border-radius: 50%;
648
+ background: radial-gradient(circle, rgba(107, 155, 107, 0.5), transparent 70%);
649
+ animation: pulse-soft 4s ease-in-out infinite;
650
+ }
651
+ @keyframes pulse-soft {
652
+ 0%, 100% { transform: scale(1); opacity: 0.5; }
653
+ 50% { transform: scale(1.18); opacity: 0.85; }
654
+ }
655
+ .tracker__empty-title {
656
+ font-family: var(--app-portal-font-display);
657
+ font-size: 26px;
658
+ font-weight: 600;
659
+ margin-bottom: 12px;
660
+ }
661
+ .tracker__empty-text {
662
+ color: var(--app-portal-fg-muted);
663
+ font-size: 15px;
664
+ line-height: 1.6;
665
+ max-width: 44ch;
666
+ margin: 0 auto 26px;
667
+ }
668
+
669
+ /* ── Leaflet (instructions) ─────────────────────────────── */
670
+ .leaflet { max-width: 640px; margin: 0 auto; }
671
+ .leaflet__header { margin-bottom: 30px; }
672
+ .leaflet__title {
673
+ font-family: var(--app-portal-font-display);
674
+ font-size: 32px;
675
+ font-weight: 600;
676
+ letter-spacing: -0.02em;
677
+ margin: 8px 0 14px;
678
+ }
679
+ .leaflet__summary { font-size: 16px; line-height: 1.65; color: var(--app-portal-fg-muted); }
680
+
681
+ .leaflet__boxed {
682
+ border: 1.5px solid var(--app-portal-fg);
683
+ border-radius: 14px;
684
+ padding: 20px 22px;
685
+ margin-bottom: 32px;
686
+ background: var(--app-portal-surface-raised);
687
+ }
688
+ .leaflet__boxed-head {
689
+ display: flex;
690
+ align-items: center;
691
+ gap: 8px;
692
+ font-family: var(--app-portal-font-display);
693
+ font-weight: 700;
694
+ text-transform: uppercase;
695
+ letter-spacing: 0.08em;
696
+ font-size: 13px;
697
+ margin-bottom: 10px;
698
+ }
699
+ .leaflet__boxed-head i { font-size: 18px; }
700
+ .leaflet__boxed p { font-size: 14px; line-height: 1.6; color: var(--app-portal-fg); }
701
+
702
+ .leaflet__section { margin-bottom: 34px; }
703
+ .leaflet__h2 {
704
+ font-family: var(--app-portal-font-display);
705
+ font-size: 20px;
706
+ font-weight: 600;
707
+ margin-bottom: 14px;
708
+ }
709
+ .leaflet__note { font-size: 13px; color: var(--app-portal-fg-muted); margin: -8px 0 16px; }
710
+ .leaflet__body { font-size: 15px; line-height: 1.7; color: var(--app-portal-fg); }
711
+ .leaflet__grid {
712
+ display: grid;
713
+ grid-template-columns: 1fr 1fr;
714
+ gap: 28px;
715
+ margin-bottom: 34px;
716
+ }
717
+ .leaflet__section--caution {
718
+ background: var(--app-portal-consult-soft);
719
+ border-radius: 14px;
720
+ padding: 20px 22px;
721
+ }
722
+
723
+ .leaflet__list {
724
+ list-style: none;
725
+ padding: 0;
726
+ display: flex;
727
+ flex-direction: column;
728
+ gap: 10px;
729
+ }
730
+ .leaflet__list li {
731
+ position: relative;
732
+ padding-left: 24px;
733
+ font-size: 14px;
734
+ line-height: 1.55;
735
+ color: var(--app-portal-fg);
736
+ }
737
+ .leaflet__list li::before {
738
+ content: '';
739
+ position: absolute;
740
+ left: 6px;
741
+ top: 8px;
742
+ width: 6px;
743
+ height: 6px;
744
+ border-radius: 50%;
745
+ background: var(--app-portal-border-strong);
746
+ }
747
+ .leaflet__list--check li::before {
748
+ content: '✓';
749
+ left: 0;
750
+ top: 0;
751
+ width: auto;
752
+ height: auto;
753
+ background: none;
754
+ color: var(--app-portal-accent);
755
+ font-weight: 700;
756
+ font-size: 13px;
757
+ }
758
+ .leaflet__list--caution li::before { background: var(--app-portal-consult); }
759
+ .leaflet__list--app-portal-danger li { padding-left: 28px; }
760
+ .leaflet__list--app-portal-danger li::before {
761
+ content: '!';
762
+ left: 0;
763
+ top: 0;
764
+ width: 17px;
765
+ height: 17px;
766
+ border-radius: 50%;
767
+ background: var(--app-portal-danger);
768
+ color: #fff;
769
+ font-size: 10px;
770
+ font-weight: 700;
771
+ display: flex;
772
+ align-items: center;
773
+ justify-content: center;
774
+ }
775
+
776
+ /* Titration mini-thread */
777
+ .titration { list-style: none; padding: 0; margin: 0; }
778
+ .titration__step {
779
+ position: relative;
780
+ display: grid;
781
+ grid-template-columns: 24px 1fr;
782
+ gap: 14px;
783
+ padding-bottom: 22px;
784
+ }
785
+ .titration__step:last-child { padding-bottom: 0; }
786
+ .titration__step::before {
787
+ content: '';
788
+ position: absolute;
789
+ left: 11px;
790
+ top: 8px;
791
+ bottom: -4px;
792
+ width: 2px;
793
+ background: var(--app-portal-border-strong);
794
+ }
795
+ .titration__step:last-child::before { display: none; }
796
+ .titration__step--done::before { background: var(--app-portal-accent); }
797
+ .titration__bead {
798
+ width: 12px;
799
+ height: 12px;
800
+ border-radius: 50%;
801
+ margin: 5px auto 0;
802
+ background: var(--app-portal-bg);
803
+ border: 1.5px solid var(--app-portal-border-strong);
804
+ position: relative;
805
+ z-index: 1;
806
+ }
807
+ .titration__step--done .titration__bead { background: var(--app-portal-accent); border-color: var(--app-portal-accent); }
808
+ .titration__step--active .titration__bead {
809
+ background: var(--app-portal-accent);
810
+ border-color: var(--app-portal-accent);
811
+ box-shadow: 0 0 0 4px var(--app-portal-accent-soft);
812
+ }
813
+ .titration__row { display: flex; align-items: baseline; gap: 10px; }
814
+ .titration__dose { font-family: var(--app-portal-font-display); font-weight: 600; font-size: 16px; }
815
+ .titration__step--active .titration__dose { color: var(--app-portal-accent); }
816
+ .titration__step--upcoming .titration__dose { color: var(--app-portal-fg-muted); }
817
+ .titration__phase { font-size: 11px; }
818
+ .titration__time { font-size: 13px; color: var(--app-portal-fg-muted); }
819
+ .titration__note { font-size: 13px; line-height: 1.55; color: var(--app-portal-fg-muted); margin-top: 4px; }
820
+
821
+ /* Injection steps */
822
+ .steps { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; }
823
+ .steps__item { display: grid; grid-template-columns: 30px 1fr; gap: 16px; }
824
+ .steps__num {
825
+ width: 30px;
826
+ height: 30px;
827
+ border-radius: 50%;
828
+ background: var(--app-portal-accent-soft);
829
+ color: var(--app-portal-accent);
830
+ font-family: var(--app-portal-font-display);
831
+ font-weight: 600;
832
+ font-size: 14px;
833
+ display: flex;
834
+ align-items: center;
835
+ justify-content: center;
836
+ }
837
+ .steps__title { font-family: var(--app-portal-font-display); font-size: 15px; font-weight: 600; margin-bottom: 4px; }
838
+ .steps__detail { font-size: 14px; line-height: 1.6; color: var(--app-portal-fg-muted); }
839
+
840
+ /* Disclaimers footnote */
841
+ .leaflet__footnote { margin-top: 20px; border-top: 1px solid var(--app-portal-border); padding-top: 18px; }
842
+ .leaflet__disclose {
843
+ display: inline-flex;
844
+ align-items: center;
845
+ gap: 8px;
846
+ background: none;
847
+ border: none;
848
+ cursor: pointer;
849
+ font-family: var(--app-portal-font-body);
850
+ font-size: 13px;
851
+ color: var(--app-portal-fg-muted);
852
+ }
853
+ .leaflet__disclose:hover { color: var(--app-portal-fg); }
854
+ .leaflet__disclaimers { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-direction: column; gap: 10px; }
855
+ .leaflet__disclaimers li {
856
+ position: relative;
857
+ padding-left: 14px;
858
+ font-size: 12px;
859
+ line-height: 1.55;
860
+ color: var(--app-portal-fg-muted);
861
+ }
862
+ .leaflet__disclaimers li::before {
863
+ content: '';
864
+ position: absolute;
865
+ left: 0;
866
+ top: 7px;
867
+ width: 4px;
868
+ height: 4px;
869
+ border-radius: 50%;
870
+ background: var(--app-portal-border-strong);
871
+ }
872
+
873
+ /* ── Plan & billing ─────────────────────────────────────── */
874
+ .membership {
875
+ position: relative;
876
+ overflow: hidden;
877
+ margin: 18px 0 28px;
878
+ padding: 28px;
879
+ border-radius: 24px;
880
+ background: linear-gradient(155deg, #2c2c2c, #1a1816);
881
+ color: #fff;
882
+ }
883
+ .membership__sheen {
884
+ position: absolute;
885
+ inset: 0;
886
+ background: radial-gradient(120% 80% at 80% -10%, rgba(107, 155, 107, 0.3), transparent 60%);
887
+ pointer-events: none;
888
+ }
889
+ .membership__top {
890
+ position: relative;
891
+ display: flex;
892
+ align-items: center;
893
+ justify-content: space-between;
894
+ }
895
+ .membership__status { color: rgba(255, 255, 255, 0.75); }
896
+ .membership__brand {
897
+ font-family: var(--app-portal-font-display);
898
+ font-size: 13px;
899
+ letter-spacing: 0.04em;
900
+ color: rgba(255, 255, 255, 0.6);
901
+ }
902
+ .membership__med {
903
+ position: relative;
904
+ font-family: var(--app-portal-font-display);
905
+ font-size: 24px;
906
+ font-weight: 600;
907
+ margin: 22px 0 2px;
908
+ }
909
+ .membership__dose { position: relative; color: rgba(255, 255, 255, 0.7); font-size: 14px; }
910
+ .membership__bottom {
911
+ position: relative;
912
+ display: flex;
913
+ align-items: baseline;
914
+ justify-content: space-between;
915
+ margin-top: 26px;
916
+ }
917
+ .membership__price {
918
+ font-family: var(--app-portal-font-display);
919
+ font-size: 30px;
920
+ font-weight: 600;
921
+ font-variant-numeric: tabular-nums;
922
+ }
923
+ .membership__per { font-size: 15px; color: rgba(255, 255, 255, 0.7); font-weight: 500; }
924
+ .membership__renew { font-size: 13px; color: rgba(255, 255, 255, 0.7); }
925
+
926
+ .ledger { margin: 0 0 26px; }
927
+ .ledger__row {
928
+ display: flex;
929
+ justify-content: space-between;
930
+ padding: 13px 0;
931
+ border-bottom: 1px solid var(--app-portal-border);
932
+ font-size: 14px;
933
+ }
934
+ .ledger__row:last-child { border-bottom: none; }
935
+ .ledger__row dt { color: var(--app-portal-fg-muted); }
936
+ .ledger__row dd { font-variant-numeric: tabular-nums; font-weight: 500; }
937
+
938
+ .plan__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
939
+ .plan__link-btn {
940
+ background: none;
941
+ border: none;
942
+ cursor: pointer;
943
+ font-family: var(--app-portal-font-body);
944
+ font-size: 14px;
945
+ color: var(--app-portal-fg);
946
+ text-decoration: none;
947
+ padding: 0;
948
+ border-bottom: 1px solid var(--app-portal-border-strong);
949
+ transition: border-color 0.2s ease, color 0.2s ease;
950
+ }
951
+ .plan__link-btn:hover { border-color: var(--app-portal-fg); }
952
+ .plan__link-btn--quiet { color: var(--app-portal-fg-muted); }
953
+ .plan__link-btn:disabled { opacity: 0.5; cursor: default; }
954
+ .plan__error { color: var(--app-portal-danger); font-size: 14px; margin: 12px 0; }
955
+
956
+ .plan__empty, .account__empty { text-align: center; padding: 48px 20px; color: var(--app-portal-fg-muted); }
957
+ .plan__empty-title { font-family: var(--app-portal-font-display); font-size: 22px; color: var(--app-portal-fg); margin-bottom: 10px; }
958
+ .plan__empty-text { margin-bottom: 22px; }
959
+
960
+ .confirm {
961
+ margin-top: 22px;
962
+ padding: 20px;
963
+ border-radius: 14px;
964
+ background: var(--app-portal-surface);
965
+ border: 1px solid var(--app-portal-border);
966
+ }
967
+ .confirm__text { font-size: 14px; line-height: 1.6; margin-bottom: 16px; }
968
+ .confirm__actions { display: flex; gap: 12px; }
969
+
970
+ /* ── Account ────────────────────────────────────────────── */
971
+ .account { max-width: 560px; }
972
+ .account__title { font-family: var(--app-portal-font-display); font-size: 28px; font-weight: 600; margin: 8px 0 28px; }
973
+ .account__fields { display: flex; flex-direction: column; }
974
+ .account__field { padding: 16px 0; border-bottom: 1px solid var(--app-portal-border); }
975
+ .account__field dt { margin-bottom: 6px; }
976
+ .account__field dd { font-size: 16px; }
977
+ .account__note { margin: 26px 0; font-size: 14px; color: var(--app-portal-fg-muted); }
978
+ .account__note a,
979
+ .account__note-link { color: var(--app-portal-accent); text-decoration: none; font-weight: 600; }
980
+ .account__note a:hover,
981
+ .account__note-link:hover { text-decoration: underline; }
982
+ .account__note-link {
983
+ background: none;
984
+ border: none;
985
+ padding: 0;
986
+ cursor: pointer;
987
+ font: inherit;
988
+ font-weight: 600;
989
+ }
990
+ .account__support { display: flex; gap: 20px; margin-bottom: 32px; }
991
+ .account__support-link { font-size: 13px; color: var(--app-portal-fg-muted); text-decoration: none; }
992
+ .account__support-link:hover { color: var(--app-portal-fg); }
993
+ .account__support-btn {
994
+ background: none;
995
+ border: none;
996
+ padding: 0;
997
+ cursor: pointer;
998
+ font: inherit;
999
+ font-size: 13px;
1000
+ }
1001
+
1002
+ /* ── Messages ───────────────────────────────────────────── */
1003
+ /* Wider content lane so the two-pane conversation view breathes. */
1004
+ .portal-content__inner--messages { max-width: 1000px; }
1005
+
1006
+ .msg-panel {
1007
+ display: flex;
1008
+ flex-direction: column;
1009
+ gap: 14px;
1010
+ height: calc(100vh - 166px); /* portal-content padding: 56 top + 110 bottom */
1011
+ min-height: 440px;
1012
+ }
1013
+ .msg-panel__layout {
1014
+ flex: 1;
1015
+ min-height: 0;
1016
+ display: flex;
1017
+ background: var(--app-portal-surface-raised);
1018
+ border: 1px solid var(--app-portal-border);
1019
+ border-radius: 16px;
1020
+ overflow: hidden;
1021
+ }
1022
+ .msg-panel__sidebar {
1023
+ width: 312px;
1024
+ min-width: 312px;
1025
+ display: flex;
1026
+ flex-direction: column;
1027
+ border-right: 1px solid var(--app-portal-border);
1028
+ overflow: hidden;
1029
+ }
1030
+ .msg-panel__main {
1031
+ flex: 1;
1032
+ min-width: 0;
1033
+ display: flex;
1034
+ flex-direction: column;
1035
+ overflow: hidden;
1036
+ }
1037
+ .msg-panel__placeholder {
1038
+ flex: 1;
1039
+ display: flex;
1040
+ align-items: center;
1041
+ justify-content: center;
1042
+ padding: 40px;
1043
+ color: var(--app-portal-fg-muted);
1044
+ text-align: center;
1045
+ }
1046
+
1047
+ /* Conversation list (sidebar) */
1048
+ .msg-list__header {
1049
+ display: flex;
1050
+ align-items: center;
1051
+ justify-content: space-between;
1052
+ gap: 12px;
1053
+ padding: 16px 20px;
1054
+ border-bottom: 1px solid var(--app-portal-border);
1055
+ }
1056
+ .msg-list__title {
1057
+ margin: 0;
1058
+ font-family: var(--app-portal-font-display);
1059
+ font-size: 16px;
1060
+ font-weight: 600;
1061
+ color: var(--app-portal-fg);
1062
+ }
1063
+ /* "Message support" — the member's only way to start a conversation; clinical
1064
+ threads are always opened by the prescriber. */
1065
+ .msg-list__new {
1066
+ display: inline-flex;
1067
+ align-items: center;
1068
+ gap: 4px;
1069
+ flex-shrink: 0;
1070
+ padding: 6px 10px;
1071
+ border: 1px solid var(--app-portal-border);
1072
+ border-radius: 999px;
1073
+ background: transparent;
1074
+ font-family: inherit;
1075
+ font-size: 12px;
1076
+ font-weight: 500;
1077
+ color: var(--app-portal-fg-muted);
1078
+ cursor: pointer;
1079
+ transition: background 0.15s ease, color 0.15s ease;
1080
+ }
1081
+ .msg-list__new:hover {
1082
+ background: var(--app-portal-surface-alt, rgba(0, 0, 0, 0.04));
1083
+ color: var(--app-portal-fg);
1084
+ }
1085
+ .msg-list__scroll {
1086
+ flex: 1;
1087
+ min-height: 0;
1088
+ overflow-y: auto;
1089
+ }
1090
+ .msg-list__state {
1091
+ display: flex;
1092
+ flex-direction: column;
1093
+ align-items: center;
1094
+ justify-content: center;
1095
+ gap: 6px;
1096
+ padding: 44px 20px;
1097
+ text-align: center;
1098
+ }
1099
+ .msg-list__empty-icon {
1100
+ font-size: 30px;
1101
+ color: var(--app-portal-fg-muted);
1102
+ opacity: 0.6;
1103
+ }
1104
+ .msg-list__empty-title {
1105
+ margin: 0;
1106
+ font-size: 14px;
1107
+ color: var(--app-portal-fg);
1108
+ }
1109
+ .msg-list__empty-hint {
1110
+ margin: 0;
1111
+ font-size: 12px;
1112
+ line-height: 1.5;
1113
+ color: var(--app-portal-fg-muted);
1114
+ }
1115
+ .msg-list__item {
1116
+ display: block;
1117
+ width: 100%;
1118
+ padding: 14px 20px;
1119
+ background: none;
1120
+ border: none;
1121
+ border-bottom: 1px solid var(--app-portal-border);
1122
+ font: inherit;
1123
+ font-family: var(--app-portal-font-body);
1124
+ text-align: left;
1125
+ cursor: pointer;
1126
+ transition: background 0.18s ease;
1127
+ }
1128
+ .msg-list__item:hover { background: var(--app-portal-surface); }
1129
+ .msg-list__item.is-active {
1130
+ background: var(--app-portal-surface);
1131
+ box-shadow: inset 2px 0 0 var(--app-portal-accent);
1132
+ }
1133
+ .msg-list__row {
1134
+ display: flex;
1135
+ align-items: center;
1136
+ justify-content: space-between;
1137
+ gap: 8px;
1138
+ /* Contain the nowrap name/preview: without this the row's intrinsic width
1139
+ leaks up through the sidebar and widens the whole portal grid on mobile. */
1140
+ min-width: 0;
1141
+ overflow: hidden;
1142
+ }
1143
+ .msg-list__row + .msg-list__row { margin-top: 4px; }
1144
+ .msg-list__name {
1145
+ /* min-width:0 or the flex item refuses to shrink below its text and the row
1146
+ overflows the sidebar instead of ellipsing. */
1147
+ min-width: 0;
1148
+ font-size: 14px;
1149
+ font-weight: 500;
1150
+ color: var(--app-portal-fg);
1151
+ overflow: hidden;
1152
+ text-overflow: ellipsis;
1153
+ white-space: nowrap;
1154
+ }
1155
+ .msg-list__time {
1156
+ flex-shrink: 0;
1157
+ font-size: 11px;
1158
+ color: var(--app-portal-fg-muted);
1159
+ }
1160
+ .msg-list__preview {
1161
+ min-width: 0;
1162
+ font-size: 12px;
1163
+ color: var(--app-portal-fg-muted);
1164
+ overflow: hidden;
1165
+ text-overflow: ellipsis;
1166
+ white-space: nowrap;
1167
+ }
1168
+ .msg-list__pip {
1169
+ flex-shrink: 0;
1170
+ min-width: 18px;
1171
+ height: 18px;
1172
+ padding: 0 5px;
1173
+ border-radius: 999px;
1174
+ background: var(--app-portal-consult);
1175
+ color: #fff;
1176
+ font-size: 11px;
1177
+ font-weight: 700;
1178
+ display: inline-flex;
1179
+ align-items: center;
1180
+ justify-content: center;
1181
+ line-height: 1;
1182
+ }
1183
+
1184
+ /* Active thread */
1185
+ .msg-thread__header {
1186
+ display: flex;
1187
+ align-items: center;
1188
+ gap: 10px;
1189
+ padding: 14px 20px;
1190
+ border-bottom: 1px solid var(--app-portal-border);
1191
+ }
1192
+ .msg-thread__back-btn {
1193
+ display: none; /* mobile-only; the media query below turns it on */
1194
+ background: none;
1195
+ border: none;
1196
+ padding: 0;
1197
+ font-size: 20px;
1198
+ line-height: 1;
1199
+ color: var(--app-portal-fg-muted);
1200
+ cursor: pointer;
1201
+ }
1202
+ .msg-thread__name {
1203
+ margin: 0;
1204
+ font-size: 14px;
1205
+ font-weight: 600;
1206
+ color: var(--app-portal-fg);
1207
+ }
1208
+ .msg-thread__role {
1209
+ margin: 0;
1210
+ font-size: 12px;
1211
+ color: var(--app-portal-fg-muted);
1212
+ }
1213
+ /* Resolved support thread. A cue only — replying reopens it server-side. */
1214
+ .msg-thread__status {
1215
+ margin-left: auto;
1216
+ flex-shrink: 0;
1217
+ padding: 3px 10px;
1218
+ border-radius: 999px;
1219
+ background: var(--app-portal-surface-alt, rgba(0, 0, 0, 0.05));
1220
+ font-size: 11px;
1221
+ font-weight: 500;
1222
+ color: var(--app-portal-fg-muted);
1223
+ }
1224
+
1225
+ /* Message attachments.
1226
+ Ported from the per-site implementations these components replaced; the
1227
+ button reset is new, since chips are now buttons that fetch a signed URL
1228
+ rather than plain anchors to a public file. */
1229
+ .msg-attachment {
1230
+ display: flex;
1231
+ flex-direction: column;
1232
+ gap: 6px;
1233
+ margin-top: 6px;
1234
+ }
1235
+ .msg-attachment__image-link {
1236
+ display: block;
1237
+ padding: 0;
1238
+ border: none;
1239
+ background: none;
1240
+ cursor: pointer;
1241
+ }
1242
+ .msg-attachment__image {
1243
+ max-width: 100%;
1244
+ max-height: 200px;
1245
+ border-radius: 8px;
1246
+ object-fit: cover;
1247
+ }
1248
+ .msg-attachment__file {
1249
+ display: flex;
1250
+ align-items: center;
1251
+ gap: 10px;
1252
+ padding: 8px 12px;
1253
+ border: none;
1254
+ border-radius: 8px;
1255
+ background: rgba(0, 0, 0, 0.04);
1256
+ font-family: inherit;
1257
+ text-align: left;
1258
+ color: inherit;
1259
+ cursor: pointer;
1260
+ transition: background 0.15s;
1261
+ }
1262
+ .msg-attachment__file:hover {
1263
+ background: rgba(0, 0, 0, 0.08);
1264
+ }
1265
+ .msg-attachment__file-icon {
1266
+ font-size: 20px;
1267
+ flex-shrink: 0;
1268
+ }
1269
+ .msg-attachment__file-info {
1270
+ display: flex;
1271
+ flex-direction: column;
1272
+ min-width: 0;
1273
+ }
1274
+ .msg-attachment__file-name {
1275
+ font-size: 13px;
1276
+ font-weight: 600;
1277
+ white-space: nowrap;
1278
+ overflow: hidden;
1279
+ text-overflow: ellipsis;
1280
+ }
1281
+ .msg-attachment__file-size {
1282
+ font-size: 12px;
1283
+ color: var(--app-portal-fg-muted);
1284
+ }
1285
+ .msg-attachment__fallback {
1286
+ font-size: 12px;
1287
+ color: var(--app-portal-fg-muted);
1288
+ }
1289
+
1290
+ /* Composer attachment controls */
1291
+ .msg-compose__attach {
1292
+ display: inline-flex;
1293
+ align-items: center;
1294
+ gap: 6px;
1295
+ flex-shrink: 0;
1296
+ padding: 8px;
1297
+ border-radius: 8px;
1298
+ color: var(--app-portal-fg-muted);
1299
+ cursor: pointer;
1300
+ }
1301
+ .msg-compose__attach:hover {
1302
+ background: var(--app-portal-surface-alt, rgba(0, 0, 0, 0.04));
1303
+ color: var(--app-portal-fg);
1304
+ }
1305
+ .msg-compose__attach--block {
1306
+ width: 100%;
1307
+ justify-content: flex-start;
1308
+ border: 1px dashed var(--app-portal-border);
1309
+ padding: 10px 12px;
1310
+ }
1311
+ /* Visible only in the block variant; the inline paperclip is icon-only. */
1312
+ .msg-compose__attach .msg-compose__attach-label {
1313
+ display: none;
1314
+ font-size: 13px;
1315
+ }
1316
+ .msg-compose__attach--block .msg-compose__attach-label {
1317
+ display: inline;
1318
+ }
1319
+ .msg-compose__file-input {
1320
+ display: none;
1321
+ }
1322
+ .msg-compose__staged {
1323
+ display: flex;
1324
+ align-items: center;
1325
+ gap: 10px;
1326
+ flex-wrap: wrap;
1327
+ padding: 8px 16px 0;
1328
+ }
1329
+ .msg-compose__staged-file {
1330
+ display: inline-flex;
1331
+ align-items: center;
1332
+ gap: 6px;
1333
+ padding: 4px 10px;
1334
+ border-radius: 999px;
1335
+ background: var(--app-portal-surface-alt, rgba(0, 0, 0, 0.05));
1336
+ font-size: 12px;
1337
+ }
1338
+ .msg-compose__staged-remove {
1339
+ border: none;
1340
+ background: none;
1341
+ color: var(--app-portal-fg-muted);
1342
+ font-size: 14px;
1343
+ line-height: 1;
1344
+ cursor: pointer;
1345
+ }
1346
+ .msg-compose__staged-remove--inline {
1347
+ align-self: flex-start;
1348
+ font-size: 12px;
1349
+ text-decoration: underline;
1350
+ }
1351
+
1352
+ /* New-support-thread compose form (subject + first message) */
1353
+ .msg-thread--compose {
1354
+ display: flex;
1355
+ flex-direction: column;
1356
+ min-height: 0;
1357
+ }
1358
+ .msg-compose__new {
1359
+ display: flex;
1360
+ flex-direction: column;
1361
+ gap: 6px;
1362
+ padding: 20px;
1363
+ overflow-y: auto;
1364
+ }
1365
+ .msg-compose__label {
1366
+ font-size: 12px;
1367
+ font-weight: 500;
1368
+ color: var(--app-portal-fg-muted);
1369
+ }
1370
+ .msg-compose__subject,
1371
+ .msg-compose__body {
1372
+ width: 100%;
1373
+ padding: 10px 12px;
1374
+ border: 1px solid var(--app-portal-border);
1375
+ border-radius: 10px;
1376
+ background: var(--app-portal-surface, #fff);
1377
+ font-family: inherit;
1378
+ font-size: 14px;
1379
+ color: var(--app-portal-fg);
1380
+ }
1381
+ .msg-compose__body {
1382
+ resize: vertical;
1383
+ margin-bottom: 4px;
1384
+ }
1385
+ .msg-compose__subject:focus,
1386
+ .msg-compose__body:focus {
1387
+ outline: 2px solid var(--app-portal-fg);
1388
+ outline-offset: -1px;
1389
+ }
1390
+ .msg-compose__error {
1391
+ margin: 0;
1392
+ font-size: 12px;
1393
+ color: var(--app-portal-danger, #b42318);
1394
+ }
1395
+ .msg-compose__new .msg-compose__send {
1396
+ align-self: flex-start;
1397
+ }
1398
+ .msg-thread__messages {
1399
+ flex: 1;
1400
+ min-height: 0;
1401
+ overflow-y: auto;
1402
+ padding: 20px;
1403
+ display: flex;
1404
+ flex-direction: column;
1405
+ gap: 12px;
1406
+ }
1407
+ .msg-thread__system {
1408
+ margin: 0;
1409
+ text-align: center;
1410
+ font-size: 12px;
1411
+ font-style: italic;
1412
+ color: var(--app-portal-fg-muted);
1413
+ }
1414
+ .msg-thread__line { display: flex; justify-content: flex-start; }
1415
+ .msg-thread__line--own { justify-content: flex-end; }
1416
+ .msg-thread__bubble {
1417
+ max-width: 75%;
1418
+ padding: 10px 14px;
1419
+ border-radius: 16px 16px 16px 4px;
1420
+ background: var(--app-portal-surface);
1421
+ border: 1px solid var(--app-portal-border);
1422
+ color: var(--app-portal-fg);
1423
+ }
1424
+ .msg-thread__bubble--own {
1425
+ border-radius: 16px 16px 4px 16px;
1426
+ background: var(--app-portal-bubble-own-bg);
1427
+ border-color: transparent;
1428
+ color: var(--app-portal-bubble-own-fg);
1429
+ }
1430
+ .msg-thread__sender {
1431
+ margin: 0 0 3px;
1432
+ font-size: 11px;
1433
+ font-weight: 600;
1434
+ color: var(--app-portal-accent);
1435
+ }
1436
+ .msg-thread__text {
1437
+ margin: 0;
1438
+ font-size: 14px;
1439
+ line-height: 1.5;
1440
+ white-space: pre-wrap;
1441
+ overflow-wrap: anywhere;
1442
+ /* Explicit, not inherited. This is a <p>, and a consuming site's global
1443
+ `p { color: … }` beats an inherited value no matter how specific the
1444
+ bubble's own rule is — which silently turned sent-message text grey on a
1445
+ dark bubble while the timestamp, coloured explicitly, stayed white. */
1446
+ color: inherit;
1447
+ }
1448
+ .msg-thread__meta {
1449
+ margin: 4px 0 0;
1450
+ font-size: 10px;
1451
+ color: var(--app-portal-fg-muted);
1452
+ }
1453
+ /* 0.7 measured 2.37:1 against the DEFAULT bubble — timestamps are small text and
1454
+ need the contrast most. The 0.85 default lands at 4.79:1 there; a site that
1455
+ themes the bubble owns this variable too, or it inherits a ratio measured
1456
+ against a colour it no longer uses. */
1457
+ .msg-thread__bubble--own .msg-thread__meta { color: var(--app-portal-bubble-own-meta); }
1458
+
1459
+ /* Composer */
1460
+ .msg-compose {
1461
+ display: flex;
1462
+ align-items: flex-end;
1463
+ gap: 8px;
1464
+ padding: 14px 20px;
1465
+ border-top: 1px solid var(--app-portal-border);
1466
+ }
1467
+ .msg-compose__input {
1468
+ flex: 1;
1469
+ min-height: 44px;
1470
+ max-height: 120px;
1471
+ padding: 12px 14px;
1472
+ border-radius: 12px;
1473
+ border: 1px solid var(--app-portal-border-strong);
1474
+ background: var(--app-portal-surface);
1475
+ color: var(--app-portal-fg);
1476
+ font-family: var(--app-portal-font-body);
1477
+ font-size: 14px;
1478
+ line-height: 1.4;
1479
+ resize: none;
1480
+ }
1481
+ .msg-compose__input:focus {
1482
+ outline: none;
1483
+ border-color: var(--app-portal-accent);
1484
+ }
1485
+ .msg-compose__send {
1486
+ flex-shrink: 0;
1487
+ padding: 12px 20px;
1488
+ border-radius: 999px;
1489
+ border: 1px solid transparent;
1490
+ background: var(--app-portal-fg);
1491
+ color: var(--app-portal-surface-raised);
1492
+ font-family: var(--app-portal-font-display);
1493
+ font-size: 14px;
1494
+ font-weight: 600;
1495
+ cursor: pointer;
1496
+ transition: all 0.22s ease;
1497
+ }
1498
+ .msg-compose__send:hover:not(:disabled) { background: #000; }
1499
+ .msg-compose__send:disabled {
1500
+ opacity: 0.4;
1501
+ cursor: not-allowed;
1502
+ }
1503
+
1504
+ /* ── Mobile ─────────────────────────────────────────────── */
1505
+ @media (max-width: 900px) {
1506
+ .portal { grid-template-columns: 1fr; }
1507
+ .portal-rail { display: none; }
1508
+ .portal-content { padding: 20px 20px 104px; }
1509
+
1510
+ .portal-topbar-back {
1511
+ display: flex;
1512
+ align-items: center;
1513
+ gap: 6px;
1514
+ position: sticky;
1515
+ top: 0;
1516
+ z-index: 100;
1517
+ padding: 13px 20px;
1518
+ background: var(--app-portal-surface);
1519
+ border-bottom: 1px solid var(--app-portal-border);
1520
+ font-family: var(--app-portal-font-body);
1521
+ font-size: 14px;
1522
+ font-weight: 500;
1523
+ color: var(--app-portal-fg-muted);
1524
+ text-decoration: none;
1525
+ }
1526
+ .leaflet__grid { grid-template-columns: 1fr; gap: 0; }
1527
+ .leaflet__grid .leaflet__section { margin-bottom: 28px; }
1528
+
1529
+ .portal-tabs {
1530
+ display: flex;
1531
+ position: fixed;
1532
+ bottom: 0;
1533
+ left: 0;
1534
+ right: 0;
1535
+ z-index: 100;
1536
+ background: var(--app-portal-surface);
1537
+ border-top: 1px solid var(--app-portal-border);
1538
+ padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
1539
+ }
1540
+ .portal-tabs__item {
1541
+ position: relative;
1542
+ flex: 1;
1543
+ display: flex;
1544
+ flex-direction: column;
1545
+ align-items: center;
1546
+ gap: 4px;
1547
+ background: none;
1548
+ border: none;
1549
+ cursor: pointer;
1550
+ padding: 6px 2px;
1551
+ font-family: var(--app-portal-font-body);
1552
+ color: var(--app-portal-fg-muted);
1553
+ text-decoration: none;
1554
+ }
1555
+ .portal-tabs__item .portal-item__label {
1556
+ font-size: 10px;
1557
+ text-transform: uppercase;
1558
+ letter-spacing: 0.06em;
1559
+ }
1560
+ .portal-tabs__item .portal-icon { font-size: 23px; opacity: 1; }
1561
+ .portal-tabs__item.is-active { color: var(--app-portal-fg); }
1562
+ .portal-tabs__item.is-active .portal-icon { color: var(--app-portal-accent); }
1563
+ .portal-tabs__item .portal-item__live {
1564
+ position: absolute;
1565
+ top: 4px;
1566
+ right: calc(50% - 16px);
1567
+ }
1568
+ .portal-item__badge--tab {
1569
+ position: absolute;
1570
+ top: 0;
1571
+ right: calc(50% - 20px);
1572
+ }
1573
+
1574
+ .thread__hero { font-size: 36px; }
1575
+ .leaflet__title { font-size: 26px; }
1576
+ .membership { padding: 24px 22px; }
1577
+ .refill__rail {
1578
+ overflow-x: auto;
1579
+ scroll-snap-type: x mandatory;
1580
+ -webkit-overflow-scrolling: touch;
1581
+ }
1582
+ .refill__stone { scroll-snap-align: start; }
1583
+
1584
+ /* Messages: single pane (list OR thread) that fills the screen above the tab bar. */
1585
+ .portal-content__inner--messages { max-width: none; }
1586
+ .msg-panel {
1587
+ height: calc(100vh - 136px); /* portal-content padding: 32 top + 104 bottom */
1588
+ gap: 10px;
1589
+ }
1590
+ .msg-panel__layout {
1591
+ flex-direction: column;
1592
+ border-radius: 12px;
1593
+ }
1594
+ .msg-panel__sidebar {
1595
+ width: 100%;
1596
+ min-width: 0;
1597
+ border-right: none;
1598
+ }
1599
+ .msg-panel__sidebar--hidden-mobile,
1600
+ .msg-panel__main--hidden-mobile {
1601
+ display: none;
1602
+ }
1603
+ .msg-thread__back-btn {
1604
+ display: block;
1605
+ }
1606
+ /* Thread-internal spacing for the single-pane mobile layout. */
1607
+ .msg-thread__bubble { max-width: 85%; }
1608
+ .msg-thread__header { padding: 12px 16px; }
1609
+ .msg-thread__messages { padding: 16px; }
1610
+ .msg-compose { padding: 12px 16px; }
1611
+ }
1612
+
1613
+ /* ── Reduced motion ─────────────────────────────────────── */
1614
+ @media (prefers-reduced-motion: reduce) {
1615
+ .thread__step,
1616
+ .thread__rail::before,
1617
+ .thread__halo,
1618
+ .portal-item__live,
1619
+ .portal-rail__dot,
1620
+ .tracker__empty-bead::before {
1621
+ animation: none !important;
1622
+ }
1623
+ .thread__rail::before { transform: translateX(-50%) scaleY(1); }
1624
+ .thread__halo {
1625
+ background: none;
1626
+ box-shadow: 0 0 0 1.5px var(--app-portal-accent);
1627
+ }
1628
+ .thread__step--consult .thread__halo { box-shadow: 0 0 0 1.5px var(--app-portal-consult); }
1629
+ .thread__step--denied .thread__halo { box-shadow: 0 0 0 1.5px var(--app-portal-neutral); }
1630
+ }
1631
+
1632
+ /* ── Multi-RX stack (primary tracker + compact "other orders" rows) ── */
1633
+ .rx-stack { display: flex; flex-direction: column; gap: 28px; }
1634
+
1635
+ .rx-others {
1636
+ display: flex;
1637
+ flex-direction: column;
1638
+ gap: 10px;
1639
+ padding-top: 20px;
1640
+ border-top: 1px solid var(--app-portal-border);
1641
+ }
1642
+
1643
+ .rx-row {
1644
+ border: 1px solid var(--app-portal-border);
1645
+ border-radius: 14px;
1646
+ background: var(--app-portal-surface-raised);
1647
+ overflow: hidden;
1648
+ }
1649
+ .rx-row.is-open { border-color: var(--app-portal-border-strong); }
1650
+
1651
+ .rx-row__head {
1652
+ display: flex;
1653
+ align-items: center;
1654
+ gap: 12px;
1655
+ width: 100%;
1656
+ padding: 14px 16px;
1657
+ background: none;
1658
+ border: 0;
1659
+ cursor: pointer;
1660
+ text-align: left;
1661
+ font: inherit;
1662
+ color: var(--app-portal-fg);
1663
+ }
1664
+ .rx-row__med { font-weight: 600; }
1665
+ .rx-row__dose { color: var(--app-portal-fg-muted); font-weight: 400; }
1666
+ .rx-row__status {
1667
+ margin-left: auto;
1668
+ font-size: 13px;
1669
+ color: var(--app-portal-fg-muted);
1670
+ }
1671
+ .rx-row__chevron { color: var(--app-portal-fg-muted); font-size: 14px; }
1672
+
1673
+ .rx-row__body {
1674
+ padding: 4px 16px 18px;
1675
+ border-top: 1px solid var(--app-portal-border);
1676
+ }
1677
+
1678
+ /* ── Survey history (opt-in History tab) ── */
1679
+ .survey-history {
1680
+ max-width: 720px;
1681
+ }
1682
+
1683
+ .history-hint {
1684
+ color: var(--app-portal-fg-muted);
1685
+ font-size: 0.875rem;
1686
+ }
1687
+
1688
+ .history-list {
1689
+ list-style: none;
1690
+ margin: 0;
1691
+ padding: 0;
1692
+ display: flex;
1693
+ flex-direction: column;
1694
+ gap: 10px;
1695
+ }
1696
+
1697
+ .history-row {
1698
+ width: 100%;
1699
+ display: flex;
1700
+ align-items: center;
1701
+ gap: 12px;
1702
+ padding: 14px 16px;
1703
+ background: var(--app-portal-surface);
1704
+ border: 1px solid var(--app-portal-border);
1705
+ border-radius: 12px;
1706
+ cursor: pointer;
1707
+ font-family: var(--app-portal-font-body);
1708
+ color: var(--app-portal-fg);
1709
+ text-align: left;
1710
+ transition: border-color 0.15s, background 0.15s;
1711
+ }
1712
+
1713
+ .history-row:hover {
1714
+ border-color: var(--app-portal-border-strong);
1715
+ background: var(--app-portal-surface-raised);
1716
+ }
1717
+
1718
+ .history-row__mode {
1719
+ font-weight: 600;
1720
+ flex: 1;
1721
+ }
1722
+
1723
+ .history-row__date {
1724
+ color: var(--app-portal-fg-muted);
1725
+ font-size: 0.875rem;
1726
+ }
1727
+
1728
+ .history-back {
1729
+ margin-bottom: 16px;
1730
+ }
1731
+
1732
+ .history-transcript__head h2 {
1733
+ font-family: var(--app-portal-font-display);
1734
+ margin: 0 0 4px;
1735
+ }
1736
+
1737
+ .history-transcript__meta {
1738
+ color: var(--app-portal-fg-muted);
1739
+ font-size: 0.875rem;
1740
+ margin: 0 0 20px;
1741
+ }
1742
+
1743
+ .history-section {
1744
+ margin-bottom: 22px;
1745
+ }
1746
+
1747
+ .history-qa {
1748
+ padding: 10px 0;
1749
+ border-bottom: 1px solid var(--app-portal-border);
1750
+ }
1751
+
1752
+ .history-qa__q {
1753
+ color: var(--app-portal-fg-muted);
1754
+ font-size: 0.875rem;
1755
+ margin: 0 0 2px;
1756
+ }
1757
+
1758
+ .history-qa__a {
1759
+ margin: 0;
1760
+ font-weight: 500;
1761
+ overflow-wrap: anywhere;
1762
+ }