platform-core-ng 21.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 (37) hide show
  1. package/README.md +73 -0
  2. package/fesm2022/platform-core-ng.mjs +7139 -0
  3. package/fesm2022/platform-core-ng.mjs.map +1 -0
  4. package/package.json +20 -0
  5. package/styles/base/_breakpoints.scss +1 -0
  6. package/styles/base/_interaction-mixins.scss +37 -0
  7. package/styles/base/_tokens.scss +255 -0
  8. package/styles/base/reset.scss +66 -0
  9. package/styles/base/scrollbar.scss +22 -0
  10. package/styles/base/theme.scss +424 -0
  11. package/styles/base/typography.scss +50 -0
  12. package/styles/components/index.scss +7 -0
  13. package/styles/components/mail-client.scss +2165 -0
  14. package/styles/components/master-detail.scss +137 -0
  15. package/styles/components/mobile-list-directives.scss +355 -0
  16. package/styles/control/button.scss +565 -0
  17. package/styles/control/switch.scss +85 -0
  18. package/styles/data/table/base.scss +31 -0
  19. package/styles/data/table/pattern-admin.scss +136 -0
  20. package/styles/data/table/pattern-screen.scss +36 -0
  21. package/styles/data/table.scss +3 -0
  22. package/styles/form/checkbox.scss +97 -0
  23. package/styles/form/input.scss +201 -0
  24. package/styles/form/number.scss +17 -0
  25. package/styles/form/radio.scss +84 -0
  26. package/styles/form/range.scss +118 -0
  27. package/styles/form/select.scss +50 -0
  28. package/styles/form/textarea.scss +65 -0
  29. package/styles/foundation.scss +16 -0
  30. package/styles/index.scss +1 -0
  31. package/styles/profiles/b/index.scss +4 -0
  32. package/styles/profiles/b/layout.scss +88 -0
  33. package/styles/profiles/b/theme.scss +44 -0
  34. package/styles/profiles/screen/index.scss +3 -0
  35. package/styles/profiles/screen/layout.scss +125 -0
  36. package/styles/profiles/screen/theme.scss +131 -0
  37. package/types/platform-core-ng.d.ts +3217 -0
@@ -0,0 +1,2165 @@
1
+ .mail-client-host {
2
+ display: block;
3
+ height: 100%;
4
+ min-height: 0;
5
+ }
6
+
7
+ .content-route-page--mail {
8
+ display: flex;
9
+ flex-direction: column;
10
+ height: 100%;
11
+ min-height: 0;
12
+ padding-bottom: 13px;
13
+ box-sizing: border-box;
14
+ overflow: hidden;
15
+ }
16
+
17
+ .content-route-page--mail > .mail-client-host {
18
+ flex: 1 1 auto;
19
+ min-height: 0;
20
+ }
21
+
22
+ .list-page-layout--mail-client {
23
+ --list-page-layout-sidebar-width: 200px;
24
+ --list-page-layout-gap: 0;
25
+ --list-page-layout-main-gap: 0;
26
+ --list-page-layout-main-padding: 0;
27
+ --list-page-layout-desktop-radius: 0;
28
+ --mail-client-list-column: minmax(300px, 360px);
29
+ --mail-client-toolbar-height: 52px;
30
+ --mail-client-list-header-height: 54px;
31
+ --mail-client-row-x-padding: 18px;
32
+ --mail-client-detail-x-padding: 24px;
33
+ --mail-client-compose-topbar-height: 52px;
34
+ --mail-client-compose-tabs-height: 52px;
35
+ --mail-client-compose-x-padding: 18px;
36
+ --mail-client-compose-control-height: 36px;
37
+ --mail-client-compose-gap: 12px;
38
+ --mail-client-compose-settings-width: 210px;
39
+ --mail-client-border-color: color-mix(
40
+ in srgb,
41
+ var(--color-border) 78%,
42
+ transparent
43
+ );
44
+ --mail-client-muted-color: var(--color-text-secondary);
45
+ --mail-client-star-active-color: var(--color-warning);
46
+ height: 100%;
47
+ min-height: 0;
48
+ overflow: hidden;
49
+ border: 1px solid var(--color-border);
50
+ border-radius: 8px 8px 0 0;
51
+ background: var(--color-surface);
52
+ box-shadow: 0 16px 36px rgba(25, 31, 37, 0.08);
53
+ }
54
+ .list-page-layout--mail-client .list-page-layout__grid {
55
+ display: grid;
56
+ grid-template-columns: var(--list-page-layout-sidebar-width) minmax(0, 1fr);
57
+ height: 100%;
58
+ min-height: 0;
59
+ }
60
+ .list-page-layout--mail-client .list-page-layout__sidebar {
61
+ min-width: 0;
62
+ min-height: 0;
63
+ overflow: hidden;
64
+ border-right: 1px solid var(--mail-client-border-color);
65
+ background: #fff;
66
+ }
67
+ .list-page-layout--mail-client .list-page-sidebar {
68
+ display: grid;
69
+ height: 100%;
70
+ min-height: 0;
71
+ grid-template-rows: auto auto auto auto auto minmax(0, 1fr) auto;
72
+ gap: 8px;
73
+ padding: 18px 18px 0;
74
+ overflow: hidden;
75
+ background: #fff;
76
+ }
77
+ .mail-client-brand {
78
+ display: flex;
79
+ align-items: center;
80
+ gap: 10px;
81
+ min-height: 36px;
82
+ color: var(--color-text-primary);
83
+ font-size: 18px;
84
+ font-weight: 800;
85
+ }
86
+ .mail-client-brand__mark,
87
+ .mail-client-account__avatar,
88
+ .mail-client-detail__avatar {
89
+ display: inline-grid;
90
+ place-items: center;
91
+ flex: 0 0 auto;
92
+ color: #fff;
93
+ background: linear-gradient(135deg, var(--color-primary) 0%, #2f64d6 100%);
94
+ }
95
+ .mail-client-brand__mark {
96
+ width: 28px;
97
+ height: 28px;
98
+ border-radius: 7px;
99
+ font-size: 16px;
100
+ }
101
+ .list-page-layout--mail-client .list-page-sidebar__actions {
102
+ grid-template-columns: minmax(0, 1fr);
103
+ }
104
+ .list-page-layout--mail-client .list-page-sidebar__actions button {
105
+ width: 100%;
106
+ height: 38px;
107
+ display: inline-flex;
108
+ align-items: center;
109
+ justify-content: center;
110
+ gap: 6px;
111
+ padding: 0 14px;
112
+ border: 0;
113
+ border-radius: 6px;
114
+ background: linear-gradient(
115
+ 135deg,
116
+ var(--color-primary),
117
+ var(--color-primary-active)
118
+ );
119
+ color: var(--color-primary-contrast);
120
+ font-size: 15px;
121
+ font-weight: 800;
122
+ line-height: 1;
123
+ box-shadow: 0 8px 20px
124
+ color-mix(in srgb, var(--color-primary) 28%, transparent);
125
+ }
126
+ .list-page-layout--mail-client .list-page-sidebar__actions button lucide-icon {
127
+ flex: 0 0 auto;
128
+ color: currentColor;
129
+ line-height: 0;
130
+ }
131
+ .list-page-layout--mail-client .list-page-sidebar__actions button span {
132
+ line-height: 1;
133
+ white-space: nowrap;
134
+ }
135
+ .mail-client-nav-section {
136
+ display: grid;
137
+ gap: 2px;
138
+ }
139
+ .mail-client-nav-section__title {
140
+ padding: 0 8px;
141
+ color: color-mix(in srgb, var(--color-text-secondary) 86%, #27364a);
142
+ font-size: 13px;
143
+ font-weight: 700;
144
+ line-height: 24px;
145
+ }
146
+ .mail-client-account,
147
+ .mail-client-labels button {
148
+ width: 100%;
149
+ min-width: 0;
150
+ min-height: 34px;
151
+ display: flex;
152
+ align-items: center;
153
+ gap: 12px;
154
+ padding: 0 12px;
155
+ border: 0;
156
+ border-radius: 6px;
157
+ background: transparent;
158
+ color: color-mix(in srgb, var(--color-text-secondary) 82%, #253247);
159
+ font-size: 15px;
160
+ font-weight: 600;
161
+ text-align: left;
162
+ cursor: pointer;
163
+ }
164
+ .mail-client-account {
165
+ display: grid;
166
+ grid-template-columns: 22px minmax(0, 1fr) auto;
167
+ align-items: center;
168
+ justify-items: start;
169
+ }
170
+ .mail-client-labels button {
171
+ display: grid;
172
+ grid-template-columns: 22px minmax(0, 1fr);
173
+ align-items: center;
174
+ justify-items: start;
175
+ justify-content: stretch;
176
+ column-gap: 12px;
177
+ }
178
+ .mail-client-account:hover,
179
+ .mail-client-labels button:hover {
180
+ background: color-mix(in srgb, var(--color-primary) 7%, #fff);
181
+ color: var(--color-primary);
182
+ }
183
+ .mail-client-account.is-active {
184
+ background: color-mix(in srgb, var(--color-primary) 13%, #fff);
185
+ color: var(--color-primary);
186
+ font-weight: 800;
187
+ }
188
+ .mail-client-account span:nth-child(2) {
189
+ min-width: 0;
190
+ overflow: hidden;
191
+ text-overflow: ellipsis;
192
+ white-space: nowrap;
193
+ }
194
+ .mail-client-account__avatar {
195
+ width: 20px;
196
+ height: 20px;
197
+ border: 1px solid transparent;
198
+ border-radius: 999px;
199
+ font-size: 11px;
200
+ font-weight: 800;
201
+ }
202
+ .mail-client-account:not(.is-active) .mail-client-account__avatar {
203
+ border-color: color-mix(in srgb, var(--color-text-muted) 55%, transparent);
204
+ background: transparent;
205
+ color: var(--color-text-secondary);
206
+ }
207
+ .mail-client-account s-badge {
208
+ margin-left: auto;
209
+ align-self: center;
210
+ justify-self: end;
211
+ }
212
+ .mail-client-account .badge__indicator {
213
+ min-width: 20px;
214
+ height: 20px;
215
+ padding: 0 6px;
216
+ border-radius: 999px;
217
+ background: var(--color-primary);
218
+ color: #fff;
219
+ font-size: 12px;
220
+ font-weight: 700;
221
+ line-height: 20px;
222
+ box-shadow: 0 4px 10px color-mix(in srgb, var(--color-primary) 18%, transparent);
223
+ }
224
+ .mail-client-account__count {
225
+ margin-left: auto;
226
+ justify-self: end;
227
+ color: var(--color-text-muted);
228
+ font-size: 13px;
229
+ font-weight: 700;
230
+ }
231
+ .list-page-layout--mail-client .list-page-sidebar__tree {
232
+ display: grid;
233
+ align-content: start;
234
+ gap: 2px;
235
+ min-height: 0;
236
+ overflow: visible;
237
+ }
238
+ .mail-client-labels {
239
+ align-self: stretch;
240
+ align-content: start;
241
+ min-height: 0;
242
+ padding-top: 12px;
243
+ overflow: hidden;
244
+ }
245
+ .mail-client-label-dot {
246
+ display: block;
247
+ justify-self: center;
248
+ width: 8px;
249
+ height: 8px;
250
+ border-radius: 999px;
251
+ }
252
+ .mail-client-label-text {
253
+ min-width: 0;
254
+ overflow: hidden;
255
+ text-align: left;
256
+ text-overflow: ellipsis;
257
+ white-space: nowrap;
258
+ }
259
+ .mail-client-label-dot--important {
260
+ background: var(--color-error);
261
+ }
262
+ .mail-client-label-dot--work {
263
+ background: var(--color-primary);
264
+ }
265
+ .mail-client-label-dot--personal {
266
+ background: var(--color-success);
267
+ }
268
+ .mail-client-label-dot--todo {
269
+ background: var(--color-warning);
270
+ }
271
+ .mail-client-labels__add {
272
+ color: var(--color-text-muted) !important;
273
+ font-weight: 500 !important;
274
+ }
275
+ .mail-client-labels__add-icon {
276
+ justify-self: center;
277
+ color: currentColor;
278
+ }
279
+ .mail-client-sidebar-footer {
280
+ min-height: 56px;
281
+ display: grid;
282
+ grid-template-columns: repeat(3, minmax(0, 1fr));
283
+ align-items: center;
284
+ gap: 8px;
285
+ margin: 8px -18px 0;
286
+ padding: 12px 18px;
287
+ border-top: 1px solid var(--mail-client-border-color);
288
+ background: rgba(255, 255, 255, 0.96);
289
+ box-sizing: border-box;
290
+ }
291
+ .mail-client-sidebar-footer button {
292
+ width: 34px;
293
+ height: 34px;
294
+ display: inline-flex;
295
+ align-items: center;
296
+ justify-content: center;
297
+ justify-self: center;
298
+ padding: 0;
299
+ border: 0;
300
+ border-radius: 6px;
301
+ background: transparent;
302
+ color: color-mix(in srgb, var(--color-text-secondary) 82%, #253247);
303
+ cursor: pointer;
304
+ }
305
+ .mail-client-sidebar-footer button:hover {
306
+ background: color-mix(in srgb, var(--color-primary) 8%, #fff);
307
+ color: var(--color-primary);
308
+ }
309
+ .list-page-layout--mail-client .list-page-layout__main {
310
+ display: grid;
311
+ grid-template-rows: auto minmax(0, 1fr);
312
+ min-width: 0;
313
+ min-height: 0;
314
+ overflow: hidden;
315
+ background: var(--color-surface);
316
+ }
317
+ .list-page-layout--mail-client .list-page-layout__header {
318
+ border-bottom: 1px solid var(--mail-client-border-color);
319
+ background: rgba(255, 255, 255, 0.96);
320
+ }
321
+ .list-page-layout--mail-client .mail-client-toolbar {
322
+ min-height: var(--mail-client-toolbar-height);
323
+ display: grid;
324
+ grid-template-columns: var(--mail-client-list-column) minmax(0, 1fr) auto;
325
+ grid-template-areas: 'left actions right';
326
+ align-items: center;
327
+ gap: 0;
328
+ padding: 0;
329
+ box-sizing: border-box;
330
+ }
331
+ .list-page-layout--mail-client .mail-client-toolbar__left,
332
+ .list-page-layout--mail-client .mail-client-toolbar__actions,
333
+ .list-page-layout--mail-client .mail-client-toolbar__right {
334
+ min-width: 0;
335
+ min-height: var(--mail-client-toolbar-height);
336
+ display: flex;
337
+ align-items: center;
338
+ gap: 8px;
339
+ }
340
+ .list-page-layout--mail-client .mail-client-toolbar__left {
341
+ grid-area: left;
342
+ gap: 12px;
343
+ padding: 6px var(--mail-client-row-x-padding);
344
+ border-right: 1px solid var(--mail-client-border-color);
345
+ box-sizing: border-box;
346
+ }
347
+ .list-page-layout--mail-client .mail-client-toolbar__actions {
348
+ grid-area: actions;
349
+ justify-content: flex-end;
350
+ align-self: stretch;
351
+ padding: 6px 10px 6px var(--mail-client-row-x-padding);
352
+ overflow-x: auto;
353
+ overflow-y: hidden;
354
+ scrollbar-width: none;
355
+ box-sizing: border-box;
356
+ }
357
+ .list-page-layout--mail-client .mail-client-toolbar__actions::-webkit-scrollbar {
358
+ display: none;
359
+ }
360
+ .list-page-layout--mail-client .mail-client-toolbar__right {
361
+ grid-area: right;
362
+ align-self: stretch;
363
+ justify-content: flex-end;
364
+ gap: 10px;
365
+ padding: 6px var(--mail-client-row-x-padding) 6px 0;
366
+ box-sizing: border-box;
367
+ }
368
+ .mail-client-search {
369
+ display: flex;
370
+ align-items: center;
371
+ gap: 10px;
372
+ flex: 1 1 280px;
373
+ min-width: 220px;
374
+ max-width: 420px;
375
+ height: 34px;
376
+ padding: 0 11px;
377
+ border: 1px solid var(--color-border);
378
+ border-radius: 6px;
379
+ background: var(--color-surface);
380
+ color: var(--color-text-muted);
381
+ box-sizing: border-box;
382
+ }
383
+ .mail-client-search:focus-within {
384
+ border-color: color-mix(
385
+ in srgb,
386
+ var(--color-primary) 48%,
387
+ var(--color-border)
388
+ );
389
+ box-shadow: 0 0 0 3px
390
+ color-mix(in srgb, var(--color-primary) 12%, transparent);
391
+ }
392
+ .mail-client-search input {
393
+ min-width: 0;
394
+ width: 100%;
395
+ border: 0;
396
+ outline: 0;
397
+ background: transparent;
398
+ color: var(--color-text-primary);
399
+ font: inherit;
400
+ }
401
+ .mail-client-search input::placeholder {
402
+ color: var(--color-text-muted);
403
+ }
404
+ .mail-client-search kbd {
405
+ flex: 0 0 auto;
406
+ color: var(--color-text-muted);
407
+ font-size: 12px;
408
+ font-family: inherit;
409
+ }
410
+ .list-page-layout--mail-client .mail-client-toolbar__left .mail-client-search {
411
+ flex: 1 1 auto;
412
+ max-width: none;
413
+ }
414
+ .list-page-layout--mail-client .mail-client-toolbar__left > .card__icon-button,
415
+ .list-page-layout--mail-client .mail-client-toolbar__right > .card__icon-button {
416
+ flex: 0 0 30px;
417
+ width: 30px;
418
+ height: 30px;
419
+ display: inline-flex;
420
+ align-items: center;
421
+ justify-content: center;
422
+ border-color: transparent;
423
+ background: transparent;
424
+ box-shadow: none;
425
+ }
426
+ .list-page-layout--mail-client .mail-client-toolbar__actions {
427
+ gap: 8px;
428
+ }
429
+ .list-page-layout--mail-client .mail-client-toolbar__actions > button {
430
+ position: relative;
431
+ flex: 0 0 30px;
432
+ width: 30px;
433
+ min-width: 30px;
434
+ height: 30px;
435
+ display: inline-flex;
436
+ align-items: center;
437
+ justify-content: center;
438
+ padding: 0;
439
+ border-color: transparent;
440
+ background: transparent;
441
+ color: var(--color-text-secondary);
442
+ box-shadow: none;
443
+ }
444
+ .list-page-layout--mail-client .mail-client-toolbar__actions > button:hover,
445
+ .list-page-layout--mail-client .card__icon-button:hover {
446
+ background: var(--color-primary-subtle);
447
+ color: var(--color-primary);
448
+ }
449
+ .list-page-layout--mail-client .mail-client-toolbar__actions > button span {
450
+ position: absolute;
451
+ width: 1px;
452
+ height: 1px;
453
+ overflow: hidden;
454
+ clip: rect(0 0 0 0);
455
+ white-space: nowrap;
456
+ }
457
+ .list-page-layout--mail-client
458
+ .mail-client-toolbar__actions
459
+ > button
460
+ lucide-icon:last-child:not(:first-child) {
461
+ display: none;
462
+ }
463
+ .list-page-layout--mail-client .mail-client-toolbar lucide-icon {
464
+ display: inline-flex;
465
+ align-items: center;
466
+ justify-content: center;
467
+ line-height: 0;
468
+ }
469
+ .list-page-layout--mail-client .mail-client-toolbar lucide-icon svg {
470
+ display: block;
471
+ }
472
+ .list-page-layout--mail-client .mail-client-toolbar__right {
473
+ gap: 8px;
474
+ }
475
+ .mail-client-profile {
476
+ position: relative;
477
+ width: 34px;
478
+ height: 34px;
479
+ flex: 0 0 34px;
480
+ display: inline-grid;
481
+ place-items: center;
482
+ border: 0;
483
+ border-radius: 999px;
484
+ background: linear-gradient(135deg, var(--color-primary), #6a86ff);
485
+ color: #fff;
486
+ font-size: 15px;
487
+ font-weight: 800;
488
+ box-shadow: 0 8px 18px color-mix(in srgb, var(--color-primary) 22%, transparent);
489
+ cursor: pointer;
490
+ }
491
+ .mail-client-profile i {
492
+ position: absolute;
493
+ right: 0;
494
+ bottom: 1px;
495
+ width: 9px;
496
+ height: 9px;
497
+ border: 2px solid #fff;
498
+ border-radius: 999px;
499
+ background: var(--color-success);
500
+ }
501
+ .list-page-layout--mail-client .list-page-layout__content {
502
+ min-height: 0;
503
+ overflow: hidden;
504
+ }
505
+ .list-page-layout--mail-client .list-page-layout__content-desktop {
506
+ display: grid;
507
+ grid-template-columns: var(--mail-client-list-column) minmax(0, 1fr);
508
+ height: 100%;
509
+ min-height: 0;
510
+ background: var(--color-surface);
511
+ }
512
+ .list-page-layout--mail-client .mail-client-list {
513
+ height: 100%;
514
+ min-height: 0;
515
+ overflow: auto;
516
+ border-right: 1px solid var(--mail-client-border-color);
517
+ background: #fff;
518
+ }
519
+ .mail-client-list-header {
520
+ position: sticky;
521
+ top: 0;
522
+ z-index: 3;
523
+ min-height: var(--mail-client-list-header-height);
524
+ display: flex;
525
+ align-items: center;
526
+ justify-content: space-between;
527
+ gap: 12px;
528
+ padding: 0 var(--mail-client-row-x-padding);
529
+ border-bottom: 1px solid var(--mail-client-border-color);
530
+ background: rgba(255, 255, 255, 0.98);
531
+ }
532
+ .mail-client-list-header h1 {
533
+ margin: 0;
534
+ color: var(--color-text-primary);
535
+ font-size: 18px;
536
+ font-weight: 800;
537
+ line-height: 1.3;
538
+ }
539
+ .mail-client-list-header h1 span {
540
+ font-weight: 700;
541
+ }
542
+ .mail-client-filter {
543
+ position: relative;
544
+ min-width: 0;
545
+ display: inline-flex;
546
+ align-items: center;
547
+ gap: 6px;
548
+ height: 34px;
549
+ padding: 0 4px;
550
+ color: var(--color-text-secondary);
551
+ font-size: 13px;
552
+ cursor: pointer;
553
+ }
554
+ .mail-client-filter select {
555
+ position: absolute;
556
+ inset: 0;
557
+ width: 100%;
558
+ height: 100%;
559
+ border: 0;
560
+ outline: 0;
561
+ background: transparent;
562
+ opacity: 0;
563
+ cursor: pointer;
564
+ }
565
+ .list-page-layout--mail-client .mail-client-group {
566
+ display: none;
567
+ }
568
+ .list-page-layout--mail-client .mail-client-row__state {
569
+ display: inline-flex;
570
+ align-items: flex-start;
571
+ justify-content: center;
572
+ padding-top: 3px;
573
+ }
574
+ .list-page-layout--mail-client .mail-client-row__state lucide-icon {
575
+ display: none;
576
+ }
577
+ .list-page-layout--mail-client input[type="checkbox"] {
578
+ width: 16px;
579
+ height: 16px;
580
+ margin: 0;
581
+ accent-color: var(--color-primary);
582
+ }
583
+ .list-page-layout--mail-client .mail-client-row__preview-text {
584
+ max-width: 100%;
585
+ overflow: hidden;
586
+ text-overflow: ellipsis;
587
+ white-space: nowrap;
588
+ }
589
+ .list-page-layout--mail-client .mail-client-row__preview {
590
+ min-width: 0;
591
+ display: flex;
592
+ align-items: center;
593
+ gap: 6px;
594
+ }
595
+ .list-page-layout--mail-client .mail-client-row__badges {
596
+ flex: 0 0 auto;
597
+ display: inline-flex;
598
+ align-items: center;
599
+ gap: 6px;
600
+ min-width: 0;
601
+ height: 16px;
602
+ min-height: 0;
603
+ color: var(--color-text-muted);
604
+ pointer-events: none;
605
+ }
606
+ .list-page-layout--mail-client .mail-client-row__badges:empty {
607
+ display: none;
608
+ }
609
+ .list-page-layout--mail-client .mail-client-row__badges .badge__indicator {
610
+ width: 7px;
611
+ min-width: 7px;
612
+ height: 7px;
613
+ padding: 0;
614
+ border-radius: 999px;
615
+ background: var(--color-primary);
616
+ color: transparent;
617
+ overflow: hidden;
618
+ font-size: 0;
619
+ }
620
+ .list-page-layout--mail-client .mail-client-row__star {
621
+ width: 30px;
622
+ height: 30px;
623
+ color: var(--color-text-muted);
624
+ }
625
+ .mail-client-detail {
626
+ min-width: 0;
627
+ min-height: 0;
628
+ display: grid;
629
+ grid-template-columns: minmax(0, 1fr);
630
+ grid-template-rows: auto auto auto minmax(0, 1fr) auto auto;
631
+ overflow: hidden;
632
+ background: var(--color-surface);
633
+ }
634
+ .mail-client-detail__header,
635
+ .mail-client-detail__sender,
636
+ .mail-client-detail__labels,
637
+ .mail-client-detail__body,
638
+ .mail-client-detail__attachments,
639
+ .mail-client-detail__footer {
640
+ min-width: 0;
641
+ max-width: 100%;
642
+ }
643
+ .mail-client-detail__header,
644
+ .mail-client-detail__sender,
645
+ .mail-client-detail__footer {
646
+ display: flex;
647
+ align-items: center;
648
+ gap: 14px;
649
+ }
650
+ .mail-client-detail__header {
651
+ min-height: 88px;
652
+ justify-content: space-between;
653
+ padding: 18px var(--mail-client-detail-x-padding) 14px;
654
+ border-bottom: 1px solid var(--mail-client-border-color);
655
+ }
656
+ .mail-client-detail__subject {
657
+ flex: 1 1 auto;
658
+ min-width: 0;
659
+ }
660
+ .mail-client-detail__subject h2 {
661
+ margin: 0;
662
+ overflow: hidden;
663
+ color: var(--color-text-primary);
664
+ font-size: 20px;
665
+ line-height: 1.35;
666
+ text-overflow: ellipsis;
667
+ white-space: nowrap;
668
+ }
669
+ .mail-client-detail__meta {
670
+ display: flex;
671
+ gap: 8px;
672
+ min-width: 0;
673
+ margin-top: 7px;
674
+ color: var(--color-text-secondary);
675
+ font-size: 14px;
676
+ }
677
+ .mail-client-detail__meta span {
678
+ min-width: 0;
679
+ overflow: hidden;
680
+ text-overflow: ellipsis;
681
+ white-space: nowrap;
682
+ }
683
+ .mail-client-detail__actions {
684
+ display: flex;
685
+ align-items: center;
686
+ gap: 8px;
687
+ flex: 0 0 auto;
688
+ }
689
+ .list-page-layout--mail-client .card__icon-button {
690
+ width: 32px;
691
+ height: 32px;
692
+ border-radius: 6px;
693
+ color: var(--color-text-secondary);
694
+ }
695
+ .mail-client-detail__sender {
696
+ min-height: 62px;
697
+ padding: 12px var(--mail-client-detail-x-padding);
698
+ border-bottom: 1px solid var(--mail-client-border-color);
699
+ }
700
+ .mail-client-detail__avatar {
701
+ width: 38px;
702
+ height: 38px;
703
+ border-radius: 999px;
704
+ font-size: 18px;
705
+ font-weight: 800;
706
+ }
707
+ .mail-client-detail__identity {
708
+ flex: 1 1 auto;
709
+ min-width: 0;
710
+ display: grid;
711
+ gap: 4px;
712
+ }
713
+ .mail-client-detail__identity strong,
714
+ .mail-client-detail__identity span {
715
+ min-width: 0;
716
+ overflow: hidden;
717
+ text-overflow: ellipsis;
718
+ white-space: nowrap;
719
+ }
720
+ .mail-client-detail__identity strong {
721
+ color: var(--color-text-primary);
722
+ font-size: 15px;
723
+ }
724
+ .mail-client-detail__identity span,
725
+ .mail-client-detail__sender time {
726
+ color: var(--color-text-secondary);
727
+ font-size: 14px;
728
+ }
729
+ .mail-client-detail__sender time {
730
+ margin-left: auto;
731
+ white-space: nowrap;
732
+ }
733
+ .mail-client-detail__labels {
734
+ display: flex;
735
+ flex-wrap: wrap;
736
+ gap: 8px;
737
+ padding: 12px var(--mail-client-detail-x-padding) 0;
738
+ }
739
+ .mail-client-detail__labels span {
740
+ display: inline-flex;
741
+ align-items: center;
742
+ gap: 5px;
743
+ height: 24px;
744
+ padding: 0 9px;
745
+ border-radius: 999px;
746
+ background: var(--color-primary-subtle);
747
+ color: var(--color-primary);
748
+ font-size: 12px;
749
+ font-weight: 700;
750
+ }
751
+ .mail-client-detail__body {
752
+ min-height: 0;
753
+ overflow: auto;
754
+ padding: 20px var(--mail-client-detail-x-padding);
755
+ color: var(--color-text-primary);
756
+ font-size: 15px;
757
+ line-height: 1.7;
758
+ overflow-wrap: anywhere;
759
+ }
760
+ .mail-client-detail__body p {
761
+ margin: 0 0 12px;
762
+ }
763
+ .mail-client-detail__html {
764
+ max-width: 100%;
765
+ }
766
+ .mail-client-detail__html :first-child {
767
+ margin-top: 0;
768
+ }
769
+ .mail-client-detail__html :last-child {
770
+ margin-bottom: 0;
771
+ }
772
+ .mail-client-detail__attachments {
773
+ display: grid;
774
+ gap: 8px;
775
+ padding: 0 var(--mail-client-detail-x-padding) 14px;
776
+ }
777
+ .mail-client-detail__attachments h3 {
778
+ margin: 0;
779
+ color: var(--color-text-secondary);
780
+ font-size: 13px;
781
+ font-weight: 700;
782
+ }
783
+ .mail-client-detail__attachments button {
784
+ display: grid;
785
+ grid-template-columns: 18px minmax(0, 1fr) auto;
786
+ align-items: center;
787
+ gap: 8px;
788
+ min-height: 38px;
789
+ padding: 0 12px;
790
+ border: 1px solid var(--color-border);
791
+ border-radius: 6px;
792
+ background: var(--color-surface);
793
+ color: var(--color-text-primary);
794
+ text-align: left;
795
+ cursor: pointer;
796
+ }
797
+ .mail-client-detail__attachments span {
798
+ min-width: 0;
799
+ overflow: hidden;
800
+ text-overflow: ellipsis;
801
+ white-space: nowrap;
802
+ }
803
+ .mail-client-detail__attachments small {
804
+ color: var(--color-text-secondary);
805
+ }
806
+ .mail-client-detail__footer {
807
+ flex-wrap: wrap;
808
+ gap: 8px;
809
+ padding: 12px var(--mail-client-detail-x-padding) 20px;
810
+ }
811
+ .mail-client-detail__footer button {
812
+ display: inline-flex;
813
+ align-items: center;
814
+ justify-content: center;
815
+ gap: 6px;
816
+ min-width: 92px;
817
+ height: 38px;
818
+ padding: 0 14px;
819
+ border-color: var(--mail-client-border-color);
820
+ border-radius: 6px;
821
+ background: var(--color-surface);
822
+ color: var(--color-text-primary);
823
+ font-size: 14px;
824
+ font-weight: 700;
825
+ line-height: 1;
826
+ box-shadow: none;
827
+ }
828
+ .mail-client-detail__footer button:hover {
829
+ border-color: color-mix(in srgb, var(--color-primary) 42%, var(--mail-client-border-color));
830
+ background: var(--color-primary-subtle);
831
+ color: var(--color-primary);
832
+ }
833
+ .mail-client-detail__footer button lucide-icon {
834
+ flex: 0 0 auto;
835
+ color: currentColor;
836
+ line-height: 0;
837
+ }
838
+ .mail-client-detail__footer button span {
839
+ line-height: 1;
840
+ white-space: nowrap;
841
+ }
842
+ .mail-client-detail__empty {
843
+ display: grid;
844
+ place-items: center;
845
+ align-content: center;
846
+ gap: 8px;
847
+ height: 100%;
848
+ min-height: 320px;
849
+ color: var(--color-text-secondary);
850
+ text-align: center;
851
+ }
852
+ .mail-client-detail__empty strong {
853
+ color: var(--color-text-primary);
854
+ font-size: 16px;
855
+ }
856
+
857
+ .list-page-layout--mail-client {
858
+ --list-page-layout-sidebar-width: 200px;
859
+ --mail-client-list-column: minmax(320px, 352px);
860
+ --mail-client-list-header-height: 56px;
861
+ --mail-client-row-x-padding: 16px;
862
+ --mail-client-detail-x-padding: 16px;
863
+ --mail-client-accent: #6266f1;
864
+ --mail-client-border-color: #e7ebf3;
865
+ border-color: #e4e8f0;
866
+ background: #fff;
867
+ box-shadow:
868
+ 0 1px 2px rgba(20, 28, 44, 0.06),
869
+ 0 8px 20px rgba(31, 41, 55, 0.04);
870
+ }
871
+
872
+ .list-page-layout--mail-client .list-page-layout__sidebar,
873
+ .list-page-layout--mail-client .mail-client-list,
874
+ .mail-client-detail,
875
+ .list-page-layout--mail-client .list-page-layout__content-desktop {
876
+ background: #fff;
877
+ }
878
+
879
+ .list-page-layout--mail-client .list-page-sidebar {
880
+ grid-template-rows: auto auto auto auto minmax(0, 1fr);
881
+ gap: 10px;
882
+ padding: 14px 10px 0;
883
+ }
884
+
885
+ .mail-client-sidebar-header {
886
+ display: flex;
887
+ align-items: center;
888
+ justify-content: space-between;
889
+ gap: 8px;
890
+ min-width: 0;
891
+ min-height: 40px;
892
+ padding: 0;
893
+ }
894
+
895
+ .mail-client-sidebar-header h1 {
896
+ margin: 0;
897
+ color: #111827;
898
+ font-size: 17px;
899
+ font-weight: 800;
900
+ line-height: 1.2;
901
+ }
902
+
903
+ .mail-client-sidebar-header button {
904
+ flex: 0 0 auto;
905
+ height: 34px;
906
+ min-width: 66px;
907
+ display: inline-flex;
908
+ align-items: center;
909
+ justify-content: center;
910
+ gap: 6px;
911
+ padding: 0 10px;
912
+ border: 1px solid #e3e7f0;
913
+ border-radius: 8px;
914
+ background: #fff;
915
+ color: var(--mail-client-accent);
916
+ font-size: 14px;
917
+ font-weight: 800;
918
+ box-shadow: 0 1px 2px rgba(34, 42, 66, 0.04);
919
+ cursor: pointer;
920
+ }
921
+
922
+ .mail-client-sidebar-header button:hover,
923
+ .mail-client-sidebar-header button.is-active {
924
+ border-color: color-mix(in srgb, var(--mail-client-accent) 24%, #e3e7f0);
925
+ background: color-mix(in srgb, var(--mail-client-accent) 7%, #fff);
926
+ }
927
+
928
+ .mail-client-sidebar-search {
929
+ flex: 0 0 auto;
930
+ width: 100%;
931
+ max-width: none;
932
+ min-width: 0;
933
+ height: 34px;
934
+ padding: 0 10px;
935
+ border: 0;
936
+ border-radius: 8px;
937
+ background: #f4f6fa;
938
+ color: #8b95a7;
939
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
940
+ }
941
+
942
+ .mail-client-sidebar-search input {
943
+ font-size: 14px;
944
+ }
945
+
946
+ .mail-client-sidebar-search kbd {
947
+ display: none;
948
+ }
949
+
950
+ .mail-client-nav-section__title {
951
+ padding: 0 6px;
952
+ color: #8b95a7;
953
+ font-size: 13px;
954
+ font-weight: 700;
955
+ }
956
+
957
+ .list-page-layout--mail-client .list-page-sidebar__tree {
958
+ gap: 3px;
959
+ }
960
+
961
+ m-list.mail-client-folder-list > .m-list.m-list--menu {
962
+ border: 0;
963
+ border-radius: 0;
964
+ overflow: visible;
965
+ background: transparent;
966
+ box-shadow: none;
967
+ }
968
+
969
+ .mail-client-folder-item .m-item {
970
+ --m-item-avatar-size: 20px;
971
+ --m-item-gap: 8px;
972
+ --m-item-min-height: 42px;
973
+ min-height: 42px;
974
+ padding: 0 6px;
975
+ border-radius: 7px;
976
+ background: transparent;
977
+ }
978
+
979
+ .mail-client-folder-item .m-item__row--primary {
980
+ column-gap: 8px;
981
+ }
982
+
983
+ .mail-client-folder-item .m-item--clickable:hover {
984
+ background: #f5f7fb;
985
+ }
986
+
987
+ .mail-client-folder-item .m-item.m-item--active {
988
+ background: #f1f0ff;
989
+ color: var(--mail-client-accent);
990
+ }
991
+
992
+ .mail-client-folder-item .m-item__title {
993
+ color: inherit;
994
+ font-size: 15px;
995
+ font-weight: 500;
996
+ line-height: 20px;
997
+ }
998
+
999
+ .mail-client-folder-item .m-item__meta {
1000
+ color: #8e99aa;
1001
+ max-width: 28px;
1002
+ font-size: 13px;
1003
+ font-weight: 500;
1004
+ line-height: 20px;
1005
+ }
1006
+
1007
+ .mail-client-folder-item .m-item.m-item--active .m-item__title,
1008
+ .mail-client-folder-item .m-item.m-item--active .m-item__meta,
1009
+ .mail-client-folder-item .m-item.m-item--active lucide-icon {
1010
+ color: var(--mail-client-accent);
1011
+ }
1012
+
1013
+ .mail-client-labels {
1014
+ padding-top: 4px;
1015
+ }
1016
+
1017
+ .mail-client-labels button {
1018
+ min-height: 36px;
1019
+ padding: 0 6px;
1020
+ border-radius: 8px;
1021
+ color: #344054;
1022
+ font-size: 15px;
1023
+ font-weight: 600;
1024
+ }
1025
+
1026
+ .mail-client-label-dot {
1027
+ width: 9px;
1028
+ height: 9px;
1029
+ }
1030
+
1031
+ .mail-client-sidebar-footer {
1032
+ display: none;
1033
+ }
1034
+
1035
+ .list-page-layout--mail-client:not(.list-page-layout--mail-compose) .list-page-layout__main {
1036
+ grid-template-rows: minmax(0, 1fr);
1037
+ }
1038
+
1039
+ .list-page-layout--mail-client:not(.list-page-layout--mail-compose) .list-page-layout__header {
1040
+ display: none;
1041
+ }
1042
+
1043
+ .list-page-layout--mail-client .mail-client-list {
1044
+ border-right-color: var(--mail-client-border-color);
1045
+ }
1046
+
1047
+ .mail-client-list-header {
1048
+ align-items: flex-start;
1049
+ min-height: var(--mail-client-list-header-height);
1050
+ padding: 14px var(--mail-client-row-x-padding) 8px;
1051
+ border-bottom: 0;
1052
+ background: rgba(255, 255, 255, 0.98);
1053
+ }
1054
+
1055
+ .mail-client-list-header h1 {
1056
+ font-size: 18px;
1057
+ line-height: 1.2;
1058
+ }
1059
+
1060
+ .mail-client-list-header h1 span {
1061
+ color: #111827;
1062
+ }
1063
+
1064
+ .mail-client-filter {
1065
+ height: 28px;
1066
+ margin-top: -1px;
1067
+ padding: 0;
1068
+ color: #7b8496;
1069
+ font-size: 13px;
1070
+ font-weight: 600;
1071
+ }
1072
+
1073
+ .mail-client-message-list .m-list {
1074
+ border: 0;
1075
+ border-radius: 0;
1076
+ background: transparent;
1077
+ }
1078
+
1079
+ .mail-client-message-list .mail-client-row .m-item {
1080
+ width: auto;
1081
+ min-height: 76px;
1082
+ margin: 0;
1083
+ padding: 10px 16px;
1084
+ border-radius: 0;
1085
+ }
1086
+
1087
+ .mail-client-message-list .mail-client-row .m-item--clickable:hover {
1088
+ background: #f7f8fc;
1089
+ }
1090
+
1091
+ .mail-client-message-list .mail-client-row .m-item--active {
1092
+ background: linear-gradient(135deg, #f0efff, #f7f7ff);
1093
+ box-shadow: none;
1094
+ }
1095
+
1096
+ .mail-client-message-list .mail-client-row .m-item--active::after {
1097
+ display: block;
1098
+ }
1099
+
1100
+ .mail-client-message-list .mail-client-row .m-item--bordered::after {
1101
+ right: 16px;
1102
+ left: 52px;
1103
+ background: #eef1f6;
1104
+ }
1105
+
1106
+ .mail-client-message-list .mail-client-row .m-item__body {
1107
+ gap: 4px;
1108
+ }
1109
+
1110
+ .mail-client-message-list .mail-client-row .m-item__title {
1111
+ color: #1f2937;
1112
+ font-size: 16px;
1113
+ font-weight: 800;
1114
+ line-height: 20px;
1115
+ }
1116
+
1117
+ .mail-client-message-list .mail-client-row .m-item__meta {
1118
+ max-width: 56px;
1119
+ color: #7f889a;
1120
+ font-size: 13px;
1121
+ font-weight: 500;
1122
+ }
1123
+
1124
+ .mail-client-message-list .mail-client-row .m-item__description {
1125
+ color: #344054;
1126
+ font-size: 14px;
1127
+ font-weight: 650;
1128
+ line-height: 20px;
1129
+ }
1130
+
1131
+ .mail-client-message-list .mail-client-row .m-item__footer {
1132
+ color: #8b95a7;
1133
+ font-size: 13px;
1134
+ line-height: 18px;
1135
+ }
1136
+
1137
+ .list-page-layout--mail-client .mail-client-row__state {
1138
+ width: 24px;
1139
+ height: 24px;
1140
+ flex: 0 0 24px;
1141
+ padding-top: 3px;
1142
+ }
1143
+
1144
+ .list-page-layout--mail-client input[type="checkbox"] {
1145
+ width: 18px;
1146
+ height: 18px;
1147
+ }
1148
+
1149
+ .list-page-layout--mail-client .mail-client-row__star {
1150
+ width: 28px;
1151
+ height: 28px;
1152
+ }
1153
+
1154
+ .mail-client-detail {
1155
+ grid-template-rows: 44px 56px auto auto minmax(0, 1fr) auto auto;
1156
+ }
1157
+
1158
+ .mail-client-detail__toolbar {
1159
+ min-width: 0;
1160
+ display: flex;
1161
+ align-items: center;
1162
+ justify-content: space-between;
1163
+ gap: 8px;
1164
+ padding: 5px var(--mail-client-detail-x-padding);
1165
+ box-sizing: border-box;
1166
+ }
1167
+
1168
+ .mail-client-detail__actions {
1169
+ gap: 8px;
1170
+ }
1171
+
1172
+ .list-page-layout--mail-client .card__icon-button {
1173
+ width: 32px;
1174
+ height: 32px;
1175
+ border: 0;
1176
+ border-radius: 8px;
1177
+ background: transparent;
1178
+ color: #3b4455;
1179
+ box-shadow: none;
1180
+ }
1181
+
1182
+ .list-page-layout--mail-client .card__icon-button:hover {
1183
+ background: #f4f6fb;
1184
+ color: var(--color-primary);
1185
+ }
1186
+
1187
+ .mail-client-detail__sender {
1188
+ min-height: 56px;
1189
+ padding: 0 var(--mail-client-detail-x-padding);
1190
+ border-bottom: 0;
1191
+ }
1192
+
1193
+ .mail-client-detail__avatar {
1194
+ width: 40px;
1195
+ height: 40px;
1196
+ background: linear-gradient(135deg, #6574ff, #4f46e5);
1197
+ font-size: 16px;
1198
+ }
1199
+
1200
+ .mail-client-detail__identity {
1201
+ gap: 5px;
1202
+ }
1203
+
1204
+ .mail-client-detail__identity strong {
1205
+ color: #1f2937;
1206
+ font-size: 16px;
1207
+ font-weight: 800;
1208
+ }
1209
+
1210
+ .mail-client-detail__identity span,
1211
+ .mail-client-detail__sender time {
1212
+ color: #8b95a7;
1213
+ font-size: 13px;
1214
+ }
1215
+
1216
+ .mail-client-detail__sender time {
1217
+ align-self: flex-start;
1218
+ padding-top: 4px;
1219
+ }
1220
+
1221
+ .mail-client-detail__header {
1222
+ min-height: 0;
1223
+ display: block;
1224
+ padding: 12px var(--mail-client-detail-x-padding) 10px;
1225
+ border-bottom: 0;
1226
+ }
1227
+
1228
+ .mail-client-detail__subject {
1229
+ display: grid;
1230
+ gap: 8px;
1231
+ }
1232
+
1233
+ .mail-client-detail__subject h2 {
1234
+ color: #111827;
1235
+ font-size: 18px;
1236
+ font-weight: 800;
1237
+ line-height: 1.35;
1238
+ white-space: normal;
1239
+ }
1240
+
1241
+ .mail-client-detail__mailbox-chip {
1242
+ justify-self: start;
1243
+ display: inline-flex;
1244
+ align-items: center;
1245
+ gap: 6px;
1246
+ height: 28px;
1247
+ padding: 0 12px;
1248
+ border-radius: 999px;
1249
+ background: #f1f3f6;
1250
+ color: #8b95a7;
1251
+ font-size: 13px;
1252
+ font-weight: 700;
1253
+ }
1254
+
1255
+ .mail-client-detail__labels {
1256
+ padding: 0 var(--mail-client-detail-x-padding) 2px;
1257
+ }
1258
+
1259
+ .mail-client-detail__body {
1260
+ padding: 12px var(--mail-client-detail-x-padding);
1261
+ color: #374151;
1262
+ font-size: 14px;
1263
+ line-height: 1.7;
1264
+ }
1265
+
1266
+ .mail-client-detail__body p {
1267
+ margin-bottom: 12px;
1268
+ }
1269
+
1270
+ .mail-client-detail__attachments {
1271
+ padding: 0 var(--mail-client-detail-x-padding) 14px;
1272
+ }
1273
+
1274
+ .mail-client-detail__footer {
1275
+ display: grid;
1276
+ gap: 8px;
1277
+ margin: 0 var(--mail-client-detail-x-padding) 16px;
1278
+ padding: 12px;
1279
+ border: 1px solid #e4e8f0;
1280
+ border-radius: 8px;
1281
+ background: #fff;
1282
+ box-shadow: 0 4px 12px rgba(31, 41, 55, 0.04);
1283
+ }
1284
+
1285
+ .mail-client-detail__footer button {
1286
+ min-width: 0;
1287
+ height: 34px;
1288
+ padding: 0;
1289
+ border: 0;
1290
+ background: transparent;
1291
+ box-shadow: none;
1292
+ }
1293
+
1294
+ .mail-client-detail__footer .mail-client-reply-box {
1295
+ width: 100%;
1296
+ height: 36px;
1297
+ justify-content: flex-start;
1298
+ color: #a0a8b8;
1299
+ font-size: 14px;
1300
+ font-weight: 700;
1301
+ text-align: left;
1302
+ }
1303
+
1304
+ .mail-client-reply-toolbar {
1305
+ display: flex;
1306
+ align-items: center;
1307
+ justify-content: space-between;
1308
+ gap: 10px;
1309
+ }
1310
+
1311
+ .mail-client-reply-tools {
1312
+ display: flex;
1313
+ align-items: center;
1314
+ gap: 10px;
1315
+ min-width: 0;
1316
+ }
1317
+
1318
+ .mail-client-detail__footer .mail-client-reply-tools button {
1319
+ width: 28px;
1320
+ height: 28px;
1321
+ display: inline-grid;
1322
+ place-items: center;
1323
+ color: #8b95a7;
1324
+ }
1325
+
1326
+ .mail-client-detail__footer .mail-client-reply-tools button:hover {
1327
+ color: var(--color-primary);
1328
+ }
1329
+
1330
+ .mail-client-detail__footer .mail-client-reply-send {
1331
+ width: 72px;
1332
+ height: 44px;
1333
+ border-radius: 10px;
1334
+ background: linear-gradient(135deg, #6d77ff, #5b5ff0);
1335
+ color: #fff;
1336
+ font-size: 16px;
1337
+ font-weight: 800;
1338
+ box-shadow: 0 4px 12px rgba(91, 95, 240, 0.14);
1339
+ }
1340
+
1341
+ .list-page-layout--mail-compose .mail-client-toolbar {
1342
+ display: none;
1343
+ }
1344
+
1345
+ .list-page-layout--mail-compose {
1346
+ --mail-client-compose-topbar-height: 44px;
1347
+ --mail-client-compose-tabs-height: 44px;
1348
+ --mail-client-compose-x-padding: 16px;
1349
+ --mail-client-compose-control-height: 36px;
1350
+ --mail-client-compose-gap: 12px;
1351
+ --mail-client-compose-settings-width: 224px;
1352
+ --mail-client-compose-field-label-width: 56px;
1353
+ --mail-client-compose-soft-border: #e7ebf3;
1354
+ --mail-client-compose-muted-bg: #f7f9fc;
1355
+ --mail-client-compose-muted-text: #98a2b3;
1356
+ }
1357
+
1358
+ .list-page-layout--mail-compose .list-page-layout__grid {
1359
+ grid-template-columns: minmax(0, 1fr);
1360
+ }
1361
+
1362
+ .list-page-layout--mail-compose .list-page-layout__sidebar {
1363
+ display: none;
1364
+ }
1365
+
1366
+ .list-page-layout--mail-compose .list-page-layout__header {
1367
+ min-height: var(--mail-client-compose-topbar-height);
1368
+ }
1369
+
1370
+ .list-page-layout--mail-compose .list-page-layout__content-desktop {
1371
+ display: block;
1372
+ overflow: hidden;
1373
+ }
1374
+
1375
+ .list-page-layout--mail-compose .list-page-sidebar__actions button.is-active {
1376
+ box-shadow:
1377
+ 0 4px 12px color-mix(in srgb, var(--color-primary) 18%, transparent),
1378
+ inset 0 0 0 1px rgba(255, 255, 255, 0.36);
1379
+ }
1380
+
1381
+ .mail-client-compose-topbar,
1382
+ .mail-client-compose-tabs,
1383
+ .mail-client-compose-sendbar,
1384
+ .mail-client-compose-grid,
1385
+ .mail-client-compose-formatbar,
1386
+ .mail-client-compose-editor-footer,
1387
+ .mail-client-compose-attachments footer,
1388
+ .mail-client-compose-topbar__actions,
1389
+ .mail-client-compose-send,
1390
+ .mail-client-compose-settings__row {
1391
+ display: flex;
1392
+ align-items: center;
1393
+ }
1394
+
1395
+ .mail-client-compose-topbar {
1396
+ min-height: var(--mail-client-compose-topbar-height);
1397
+ justify-content: space-between;
1398
+ gap: var(--mail-client-compose-gap);
1399
+ padding: 0 var(--mail-client-compose-x-padding);
1400
+ box-sizing: border-box;
1401
+ }
1402
+
1403
+ .mail-client-compose-back {
1404
+ display: inline-flex;
1405
+ align-items: center;
1406
+ gap: 8px;
1407
+ min-width: 70px;
1408
+ height: 36px;
1409
+ padding: 0 8px 0 0;
1410
+ border: 0;
1411
+ background: transparent;
1412
+ color: #344054;
1413
+ font-size: 14px;
1414
+ font-weight: 700;
1415
+ white-space: nowrap;
1416
+ cursor: pointer;
1417
+ }
1418
+
1419
+ .mail-client-compose-search {
1420
+ flex: 0 1 320px;
1421
+ height: 36px;
1422
+ margin-left: auto;
1423
+ margin-right: auto;
1424
+ border-color: #e2e6ef;
1425
+ border-radius: 8px;
1426
+ background: #f7f8fc;
1427
+ box-shadow:
1428
+ inset 0 1px 0 rgba(255, 255, 255, 0.9),
1429
+ 0 1px 2px rgba(31, 41, 55, 0.03);
1430
+ }
1431
+
1432
+ .mail-client-compose-topbar__actions {
1433
+ justify-content: flex-end;
1434
+ gap: 8px;
1435
+ min-width: 0;
1436
+ }
1437
+
1438
+ .mail-client-compose-notify {
1439
+ position: relative;
1440
+ }
1441
+
1442
+ .mail-client-compose-notify span {
1443
+ position: absolute;
1444
+ top: -3px;
1445
+ right: -2px;
1446
+ min-width: 16px;
1447
+ height: 16px;
1448
+ border-radius: 999px;
1449
+ background: var(--color-error);
1450
+ color: #fff;
1451
+ font-size: 10px;
1452
+ line-height: 16px;
1453
+ }
1454
+
1455
+ .mail-client-compose-profile {
1456
+ display: inline-flex;
1457
+ align-items: center;
1458
+ gap: 8px;
1459
+ min-width: 58px;
1460
+ height: 36px;
1461
+ padding: 0;
1462
+ border: 0;
1463
+ background: transparent;
1464
+ color: var(--color-text-secondary);
1465
+ cursor: pointer;
1466
+ }
1467
+
1468
+ .mail-client-compose-profile > span {
1469
+ display: grid;
1470
+ place-items: center;
1471
+ width: 32px;
1472
+ height: 32px;
1473
+ border-radius: 999px;
1474
+ background: linear-gradient(135deg, #6ea8ff, #3667f7);
1475
+ color: #fff;
1476
+ font-weight: 800;
1477
+ }
1478
+
1479
+ .mail-client-compose-profile i {
1480
+ width: 9px;
1481
+ height: 9px;
1482
+ margin-left: -14px;
1483
+ margin-top: 20px;
1484
+ border: 2px solid #fff;
1485
+ border-radius: 999px;
1486
+ background: var(--color-success);
1487
+ }
1488
+
1489
+ .mail-client-compose-page {
1490
+ height: 100%;
1491
+ min-height: 0;
1492
+ display: grid;
1493
+ grid-template-rows: auto minmax(0, 1fr);
1494
+ overflow: hidden;
1495
+ background: #fff;
1496
+ }
1497
+
1498
+ .mail-client-compose-tabs {
1499
+ justify-content: space-between;
1500
+ gap: var(--mail-client-compose-gap);
1501
+ min-height: var(--mail-client-compose-tabs-height);
1502
+ padding: 0 var(--mail-client-compose-x-padding);
1503
+ border-top: 1px solid #eef1f6;
1504
+ border-bottom: 1px solid #eef1f6;
1505
+ background: #fff;
1506
+ box-sizing: border-box;
1507
+ }
1508
+
1509
+ .mail-client-compose-tabs nav {
1510
+ display: flex;
1511
+ align-items: stretch;
1512
+ gap: 20px;
1513
+ align-self: stretch;
1514
+ min-width: 0;
1515
+ }
1516
+
1517
+ .mail-client-compose-tabs nav button {
1518
+ position: relative;
1519
+ min-width: 78px;
1520
+ padding: 0;
1521
+ border: 0;
1522
+ background: transparent;
1523
+ color: #4b5565;
1524
+ font-size: 15px;
1525
+ font-weight: 700;
1526
+ cursor: pointer;
1527
+ }
1528
+
1529
+ .mail-client-compose-tabs nav button.is-active {
1530
+ color: var(--color-primary);
1531
+ }
1532
+
1533
+ .mail-client-compose-tabs nav button.is-active::after {
1534
+ content: "";
1535
+ position: absolute;
1536
+ right: 0;
1537
+ bottom: 0;
1538
+ left: 0;
1539
+ height: 3px;
1540
+ border-radius: 999px 999px 0 0;
1541
+ background: var(--color-primary);
1542
+ }
1543
+
1544
+ .mail-client-compose-tabs nav button lucide-icon {
1545
+ margin-left: 6px;
1546
+ vertical-align: -2px;
1547
+ }
1548
+
1549
+ .mail-client-compose-sendbar {
1550
+ justify-content: flex-end;
1551
+ gap: 10px;
1552
+ flex: 0 0 auto;
1553
+ }
1554
+
1555
+ .mail-client-compose-save {
1556
+ display: inline-flex;
1557
+ align-items: center;
1558
+ gap: 7px;
1559
+ height: 36px;
1560
+ min-width: 100px;
1561
+ justify-content: center;
1562
+ padding: 0 16px;
1563
+ border: 1px solid #e5e9f2;
1564
+ border-radius: 8px;
1565
+ background: #fff;
1566
+ color: #344054;
1567
+ font-size: 14px;
1568
+ font-weight: 800;
1569
+ box-shadow: 0 1px 2px rgba(31, 41, 55, 0.04);
1570
+ cursor: pointer;
1571
+ }
1572
+
1573
+ .mail-client-compose-save:disabled,
1574
+ .mail-client-compose-send button:disabled {
1575
+ opacity: 0.55;
1576
+ cursor: not-allowed;
1577
+ }
1578
+
1579
+ .mail-client-compose-send {
1580
+ overflow: hidden;
1581
+ border-radius: 8px;
1582
+ box-shadow: 0 4px 12px color-mix(in srgb, var(--color-primary) 18%, transparent);
1583
+ }
1584
+
1585
+ .mail-client-compose-send button {
1586
+ height: 40px;
1587
+ border-radius: 0;
1588
+ box-shadow: none;
1589
+ }
1590
+
1591
+ .mail-client-compose-send button:first-child {
1592
+ min-width: 76px;
1593
+ padding: 0 16px;
1594
+ font-size: 14px;
1595
+ font-weight: 800;
1596
+ }
1597
+
1598
+ .mail-client-compose-send button:last-child {
1599
+ width: 40px;
1600
+ min-width: 40px;
1601
+ border-left: 1px solid rgba(255, 255, 255, 0.28);
1602
+ padding: 0;
1603
+ }
1604
+
1605
+ .mail-client-compose-grid {
1606
+ display: grid;
1607
+ grid-template-columns: minmax(0, 1fr) var(--mail-client-compose-settings-width);
1608
+ align-items: stretch;
1609
+ gap: var(--mail-client-compose-gap);
1610
+ min-height: 0;
1611
+ padding: 12px var(--mail-client-compose-x-padding) 16px;
1612
+ overflow: auto;
1613
+ background: #fff;
1614
+ }
1615
+
1616
+ .mail-client-compose-editor {
1617
+ min-width: 0;
1618
+ min-height: 0;
1619
+ display: grid;
1620
+ grid-template-rows: auto auto auto minmax(260px, 1fr) auto;
1621
+ gap: 12px;
1622
+ overflow: visible;
1623
+ }
1624
+
1625
+ .mail-client-compose-field {
1626
+ display: grid;
1627
+ grid-template-columns: var(--mail-client-compose-field-label-width) minmax(0, 1fr) auto;
1628
+ align-items: center;
1629
+ gap: 10px;
1630
+ }
1631
+
1632
+ .mail-client-compose-field > label {
1633
+ color: #1f2937;
1634
+ font-size: 14px;
1635
+ font-weight: 800;
1636
+ }
1637
+
1638
+ .mail-client-compose-field--cc {
1639
+ grid-template-columns: var(--mail-client-compose-field-label-width) minmax(0, 1fr);
1640
+ }
1641
+
1642
+ .mail-client-compose-recipients,
1643
+ .mail-client-compose-subject,
1644
+ .mail-client-compose-settings select,
1645
+ .mail-client-compose-settings input[type="text"] {
1646
+ min-height: var(--mail-client-compose-control-height);
1647
+ border: 1px solid var(--mail-client-compose-soft-border);
1648
+ border-radius: 8px;
1649
+ background: #fff;
1650
+ box-sizing: border-box;
1651
+ }
1652
+
1653
+ .mail-client-compose-recipients {
1654
+ display: flex;
1655
+ align-items: center;
1656
+ flex-wrap: wrap;
1657
+ gap: 8px;
1658
+ min-width: 0;
1659
+ padding: 4px 12px;
1660
+ }
1661
+
1662
+ .mail-client-compose-recipients:focus-within,
1663
+ .mail-client-compose-subject:focus,
1664
+ .mail-client-compose-settings select:focus,
1665
+ .mail-client-compose-settings input[type="text"]:focus {
1666
+ border-color: color-mix(
1667
+ in srgb,
1668
+ var(--color-primary) 48%,
1669
+ var(--color-border)
1670
+ );
1671
+ outline: 0;
1672
+ box-shadow: 0 0 0 3px
1673
+ color-mix(in srgb, var(--color-primary) 12%, transparent);
1674
+ }
1675
+
1676
+ .mail-client-compose-recipients input,
1677
+ .mail-client-compose-subject {
1678
+ min-width: 160px;
1679
+ flex: 1 1 160px;
1680
+ border: 0;
1681
+ outline: 0;
1682
+ background: transparent;
1683
+ color: var(--color-text-primary);
1684
+ font: inherit;
1685
+ }
1686
+
1687
+ .mail-client-compose-subject {
1688
+ width: 100%;
1689
+ padding: 0 12px;
1690
+ }
1691
+
1692
+ .mail-client-compose-chip {
1693
+ display: inline-flex;
1694
+ align-items: center;
1695
+ gap: 6px;
1696
+ max-width: min(320px, 100%);
1697
+ height: 28px;
1698
+ padding: 0 8px 0 10px;
1699
+ border: 1px solid var(--color-border);
1700
+ border-radius: 6px;
1701
+ background: var(--color-surface-muted);
1702
+ color: var(--color-text-primary);
1703
+ font-weight: 600;
1704
+ }
1705
+
1706
+ .mail-client-compose-chip span {
1707
+ min-width: 0;
1708
+ overflow: hidden;
1709
+ text-overflow: ellipsis;
1710
+ white-space: nowrap;
1711
+ }
1712
+
1713
+ .mail-client-compose-add-cc {
1714
+ height: 32px;
1715
+ padding: 0 2px;
1716
+ border: 0;
1717
+ background: transparent;
1718
+ color: var(--color-primary);
1719
+ font-size: 14px;
1720
+ font-weight: 800;
1721
+ white-space: nowrap;
1722
+ cursor: pointer;
1723
+ }
1724
+
1725
+ .mail-client-compose-card {
1726
+ min-width: 0;
1727
+ border: 1px solid var(--mail-client-compose-soft-border);
1728
+ border-radius: 8px;
1729
+ background: #fff;
1730
+ }
1731
+
1732
+ .mail-client-compose-card--editor {
1733
+ min-height: 260px;
1734
+ display: grid;
1735
+ grid-template-rows: auto minmax(0, 1fr) auto;
1736
+ overflow: hidden;
1737
+ box-shadow: none;
1738
+ }
1739
+
1740
+ .mail-client-compose-formatbar {
1741
+ flex-wrap: wrap;
1742
+ gap: 6px;
1743
+ min-height: 44px;
1744
+ padding: 8px 12px;
1745
+ border-bottom: 1px solid #eef1f6;
1746
+ box-sizing: border-box;
1747
+ }
1748
+
1749
+ .mail-client-compose-formatbar button,
1750
+ .mail-client-compose-formatbar select {
1751
+ height: 28px;
1752
+ border: 1px solid transparent;
1753
+ border-radius: 6px;
1754
+ background: transparent;
1755
+ color: #344054;
1756
+ font: inherit;
1757
+ }
1758
+
1759
+ .mail-client-compose-formatbar button {
1760
+ min-width: 30px;
1761
+ display: inline-flex;
1762
+ align-items: center;
1763
+ justify-content: center;
1764
+ gap: 4px;
1765
+ padding: 0 6px;
1766
+ cursor: pointer;
1767
+ }
1768
+
1769
+ .mail-client-compose-formatbar button:hover,
1770
+ .mail-client-compose-formatbar select:hover {
1771
+ border-color: #e5e9f2;
1772
+ background: #f6f8fb;
1773
+ }
1774
+
1775
+ .mail-client-compose-formatbar select {
1776
+ min-width: 62px;
1777
+ padding: 0 8px;
1778
+ }
1779
+
1780
+ .mail-client-compose-text-color {
1781
+ font-weight: 800;
1782
+ text-decoration: underline;
1783
+ text-decoration-color: var(--color-primary);
1784
+ text-decoration-thickness: 2px;
1785
+ }
1786
+
1787
+ .mail-client-compose-body {
1788
+ min-height: 180px;
1789
+ height: 100%;
1790
+ padding: 16px;
1791
+ border: 0 !important;
1792
+ border-radius: 0 !important;
1793
+ background: #fff !important;
1794
+ color: #1f2937;
1795
+ font-size: 14px;
1796
+ line-height: 1.7;
1797
+ overflow: auto;
1798
+ box-shadow: none !important;
1799
+ }
1800
+
1801
+ .mail-client-compose-body:empty::before {
1802
+ content: attr(data-placeholder);
1803
+ color: var(--color-text-muted);
1804
+ }
1805
+
1806
+ .mail-client-compose-body table {
1807
+ width: 100%;
1808
+ border-collapse: collapse;
1809
+ }
1810
+
1811
+ .mail-client-compose-body td {
1812
+ min-width: 80px;
1813
+ min-height: 28px;
1814
+ padding: 6px;
1815
+ border: 1px solid var(--color-border);
1816
+ }
1817
+
1818
+ .mail-client-compose-editor-footer {
1819
+ justify-content: flex-end;
1820
+ gap: 4px;
1821
+ min-height: 34px;
1822
+ padding: 0 12px;
1823
+ border-top: 1px solid #eef1f6;
1824
+ color: var(--mail-client-compose-muted-text);
1825
+ font-size: 14px;
1826
+ }
1827
+
1828
+ .mail-client-compose-attachments {
1829
+ display: grid;
1830
+ gap: 10px;
1831
+ min-height: 96px;
1832
+ padding: 12px;
1833
+ }
1834
+
1835
+ .mail-client-compose-attachments header strong {
1836
+ color: #1f2937;
1837
+ font-size: 14px;
1838
+ font-weight: 800;
1839
+ }
1840
+
1841
+ .mail-client-compose-attachment-grid {
1842
+ display: grid;
1843
+ grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
1844
+ gap: 8px;
1845
+ }
1846
+
1847
+ .mail-client-compose-attachment {
1848
+ display: grid;
1849
+ grid-template-columns: 26px minmax(0, 1fr) 26px;
1850
+ align-items: center;
1851
+ gap: 8px;
1852
+ min-height: 48px;
1853
+ padding: 6px 8px;
1854
+ border: 1px solid var(--mail-client-compose-soft-border);
1855
+ border-radius: 8px;
1856
+ background: var(--mail-client-compose-muted-bg);
1857
+ box-sizing: border-box;
1858
+ }
1859
+
1860
+ .mail-client-compose-attachment__type {
1861
+ display: grid;
1862
+ place-items: center;
1863
+ width: 24px;
1864
+ height: 30px;
1865
+ border-radius: 5px;
1866
+ background: var(--color-success);
1867
+ color: #fff;
1868
+ font-weight: 800;
1869
+ }
1870
+
1871
+ .mail-client-compose-attachment span:nth-child(2) {
1872
+ min-width: 0;
1873
+ display: grid;
1874
+ gap: 2px;
1875
+ }
1876
+
1877
+ .mail-client-compose-attachment strong,
1878
+ .mail-client-compose-attachment small {
1879
+ min-width: 0;
1880
+ overflow: hidden;
1881
+ text-overflow: ellipsis;
1882
+ white-space: nowrap;
1883
+ }
1884
+
1885
+ .mail-client-compose-attachment small {
1886
+ color: var(--color-text-secondary);
1887
+ }
1888
+
1889
+ .mail-client-compose-attachment button {
1890
+ width: 26px;
1891
+ height: 26px;
1892
+ border: 0;
1893
+ border-radius: 5px;
1894
+ background: transparent;
1895
+ color: var(--color-text-secondary);
1896
+ cursor: pointer;
1897
+ }
1898
+
1899
+ .mail-client-compose-attachments footer {
1900
+ justify-content: space-between;
1901
+ gap: 10px;
1902
+ flex-wrap: wrap;
1903
+ color: var(--mail-client-compose-muted-text);
1904
+ font-size: 13px;
1905
+ }
1906
+
1907
+ .mail-client-compose-attachments footer button {
1908
+ display: inline-flex;
1909
+ align-items: center;
1910
+ gap: 6px;
1911
+ font-size: 15px;
1912
+ font-weight: 800;
1913
+ }
1914
+
1915
+ .mail-client-compose-settings {
1916
+ width: 100%;
1917
+ min-width: 0;
1918
+ display: grid;
1919
+ align-content: start;
1920
+ gap: 0;
1921
+ overflow: auto;
1922
+ border: 1px solid var(--mail-client-compose-soft-border);
1923
+ border-radius: 8px;
1924
+ background: #fbfcff;
1925
+ }
1926
+
1927
+ .mail-client-compose-settings > label,
1928
+ .mail-client-compose-settings > section {
1929
+ display: grid;
1930
+ gap: 8px;
1931
+ padding: 12px;
1932
+ border-bottom: 1px solid #eef1f6;
1933
+ }
1934
+
1935
+ .mail-client-compose-settings > label > span,
1936
+ .mail-client-compose-settings strong {
1937
+ color: #344054;
1938
+ font-size: 14px;
1939
+ font-weight: 800;
1940
+ }
1941
+
1942
+ .mail-client-compose-settings select,
1943
+ .mail-client-compose-settings input[type="text"] {
1944
+ width: 100%;
1945
+ height: 36px;
1946
+ padding: 0 12px;
1947
+ color: #344054;
1948
+ font: inherit;
1949
+ }
1950
+
1951
+ .mail-client-compose-settings input[type="text"]:disabled {
1952
+ color: var(--mail-client-compose-muted-text);
1953
+ background: #fff;
1954
+ }
1955
+
1956
+ .mail-client-compose-settings__row {
1957
+ justify-content: space-between;
1958
+ }
1959
+
1960
+ .mail-client-compose-switch {
1961
+ position: relative;
1962
+ width: 32px;
1963
+ height: 18px;
1964
+ }
1965
+
1966
+ .mail-client-compose-switch input {
1967
+ position: absolute;
1968
+ opacity: 0;
1969
+ }
1970
+
1971
+ .mail-client-compose-switch span {
1972
+ display: block;
1973
+ width: 32px;
1974
+ height: 18px;
1975
+ border-radius: 999px;
1976
+ background: color-mix(in srgb, var(--color-text-muted) 30%, #fff);
1977
+ }
1978
+
1979
+ .mail-client-compose-switch span::after {
1980
+ content: "";
1981
+ display: block;
1982
+ width: 14px;
1983
+ height: 14px;
1984
+ margin: 2px;
1985
+ border-radius: 999px;
1986
+ background: #fff;
1987
+ transition: transform 160ms ease;
1988
+ }
1989
+
1990
+ .mail-client-compose-switch input:checked + span {
1991
+ background: var(--color-primary);
1992
+ }
1993
+
1994
+ .mail-client-compose-switch input:checked + span::after {
1995
+ transform: translateX(14px);
1996
+ }
1997
+
1998
+ .mail-client-compose-date {
1999
+ position: relative;
2000
+ }
2001
+
2002
+ .mail-client-compose-date lucide-icon {
2003
+ position: absolute;
2004
+ right: 14px;
2005
+ top: 50%;
2006
+ color: var(--mail-client-compose-muted-text);
2007
+ transform: translateY(-50%);
2008
+ }
2009
+
2010
+ .mail-client-compose-check {
2011
+ display: flex;
2012
+ align-items: center;
2013
+ gap: 8px;
2014
+ color: #667085;
2015
+ font-size: 14px;
2016
+ }
2017
+
2018
+ .mail-client-compose-check input {
2019
+ accent-color: var(--color-primary);
2020
+ }
2021
+
2022
+ .mail-client-compose-settings > button {
2023
+ justify-self: start;
2024
+ margin: 12px;
2025
+ font-size: 14px;
2026
+ font-weight: 800;
2027
+ }
2028
+
2029
+ @media (max-width: 1320px) {
2030
+ .list-page-layout--mail-client {
2031
+ --list-page-layout-sidebar-width: 200px;
2032
+ --mail-client-list-column: minmax(300px, 360px);
2033
+ }
2034
+
2035
+ .list-page-layout--mail-client .list-page-layout__content-desktop {
2036
+ grid-template-columns: var(--mail-client-list-column) minmax(0, 1fr);
2037
+ }
2038
+
2039
+ .list-page-layout--mail-client .mail-client-toolbar__right .card__text {
2040
+ display: none;
2041
+ }
2042
+
2043
+ .mail-client-compose-settings {
2044
+ flex-basis: 210px;
2045
+ }
2046
+ }
2047
+
2048
+ @media (max-width: 1180px) {
2049
+ .list-page-layout--mail-client .mail-client-toolbar {
2050
+ min-height: var(--mail-client-toolbar-height);
2051
+ grid-template-columns: var(--mail-client-list-column) minmax(0, 1fr) auto;
2052
+ gap: 0;
2053
+ }
2054
+
2055
+ .list-page-layout--mail-client .mail-client-toolbar__actions {
2056
+ width: 100%;
2057
+ justify-content: flex-end;
2058
+ }
2059
+
2060
+ .list-page-layout--mail-client .mail-client-toolbar__actions > button,
2061
+ .list-page-layout--mail-client .mail-client-toolbar__left > .card__icon-button,
2062
+ .list-page-layout--mail-client .mail-client-toolbar__right > .card__icon-button {
2063
+ flex-basis: 30px;
2064
+ width: 30px;
2065
+ min-width: 30px;
2066
+ height: 30px;
2067
+ }
2068
+
2069
+ .mail-client-profile {
2070
+ width: 34px;
2071
+ height: 34px;
2072
+ flex-basis: 34px;
2073
+ }
2074
+ }
2075
+
2076
+ @media (max-width: 1080px) {
2077
+ .list-page-layout--mail-client {
2078
+ --mail-client-list-column: minmax(280px, 340px);
2079
+ }
2080
+
2081
+ .list-page-layout--mail-client .mail-client-toolbar {
2082
+ min-height: calc(var(--mail-client-toolbar-height) * 2);
2083
+ grid-template-columns: minmax(0, 1fr) auto;
2084
+ grid-template-areas:
2085
+ 'left right'
2086
+ 'actions actions';
2087
+ align-content: center;
2088
+ }
2089
+
2090
+ .list-page-layout--mail-client .mail-client-toolbar__actions {
2091
+ justify-content: flex-start;
2092
+ }
2093
+
2094
+ .list-page-layout--mail-client .list-page-layout__content-desktop {
2095
+ grid-template-columns: var(--mail-client-list-column) minmax(0, 1.05fr);
2096
+ }
2097
+
2098
+ .mail-client-detail__header,
2099
+ .mail-client-detail__sender,
2100
+ .mail-client-detail__body,
2101
+ .mail-client-detail__attachments,
2102
+ .mail-client-detail__footer {
2103
+ padding-right: 16px;
2104
+ padding-left: 16px;
2105
+ }
2106
+
2107
+ .mail-client-compose-grid {
2108
+ grid-template-columns: minmax(0, 1fr);
2109
+ overflow: auto;
2110
+ }
2111
+
2112
+ .mail-client-compose-settings {
2113
+ width: 100%;
2114
+ }
2115
+ }
2116
+
2117
+ @media (max-width: 900px) {
2118
+ .list-page-layout--mail-client {
2119
+ --list-page-layout-sidebar-width: 200px;
2120
+ --mail-client-list-column: minmax(0, 1fr);
2121
+ --mail-client-row-x-padding: 16px;
2122
+ }
2123
+
2124
+ .list-page-layout--mail-client .list-page-layout__content-desktop {
2125
+ grid-template-columns: minmax(0, 1fr);
2126
+ }
2127
+
2128
+ .list-page-layout--mail-client:not(.list-page-layout--mail-compose) .mail-client-detail {
2129
+ display: none;
2130
+ }
2131
+
2132
+ .mail-client-message-list .mail-client-row .m-item {
2133
+ margin: 0;
2134
+ }
2135
+ }
2136
+
2137
+ @media (max-width: 680px) {
2138
+ .list-page-layout--mail-client {
2139
+ --list-page-layout-sidebar-width: 200px;
2140
+ --mail-client-row-x-padding: 16px;
2141
+ }
2142
+
2143
+ .list-page-layout--mail-client .list-page-sidebar {
2144
+ gap: 10px;
2145
+ padding: 14px 10px 0;
2146
+ }
2147
+
2148
+ .mail-client-sidebar-header {
2149
+ gap: 8px;
2150
+ padding: 0;
2151
+ }
2152
+
2153
+ .mail-client-sidebar-header h1 {
2154
+ font-size: 17px;
2155
+ }
2156
+
2157
+ .mail-client-sidebar-header button {
2158
+ min-width: 66px;
2159
+ padding: 0 10px;
2160
+ }
2161
+
2162
+ .mail-client-sidebar-search {
2163
+ height: 34px;
2164
+ }
2165
+ }