@w100n/documents 0.4.0 → 0.11.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 (61) hide show
  1. package/dist/SheetView-3XTEV2VT.css +319 -0
  2. package/dist/SheetView-3XTEV2VT.css.map +1 -0
  3. package/dist/SheetView-TXHS5WJC.js +928 -0
  4. package/dist/SheetView-TXHS5WJC.js.map +1 -0
  5. package/dist/TextEditor-4YETNX4T.js +983 -0
  6. package/dist/TextEditor-4YETNX4T.js.map +1 -0
  7. package/dist/caveat-cyrillic-XVO43JCM.woff2 +0 -0
  8. package/dist/caveat-latin-IUBKKMHQ.woff2 +0 -0
  9. package/dist/caveat-latin-ext-5S7R5SZN.woff2 +0 -0
  10. package/dist/chunk-EM4U6OC5.js +3447 -0
  11. package/dist/chunk-EM4U6OC5.js.map +1 -0
  12. package/dist/chunk-FPGPEIW5.js +196 -0
  13. package/dist/chunk-FPGPEIW5.js.map +1 -0
  14. package/dist/chunk-ISOOUYLI.js +150 -0
  15. package/dist/chunk-ISOOUYLI.js.map +1 -0
  16. package/dist/{chunk-KEV4R7W5.js → chunk-L765DZPO.js} +9 -1
  17. package/dist/chunk-L765DZPO.js.map +1 -0
  18. package/dist/chunk-QDH7EZAF.js +27 -0
  19. package/dist/chunk-QDH7EZAF.js.map +1 -0
  20. package/dist/chunk-TDP6OJET.js +31 -0
  21. package/dist/chunk-TDP6OJET.js.map +1 -0
  22. package/dist/chunk-TNSN4ZQ5.js +2909 -0
  23. package/dist/chunk-TNSN4ZQ5.js.map +1 -0
  24. package/dist/collab.cjs +6312 -0
  25. package/dist/collab.cjs.map +1 -0
  26. package/dist/collab.d.cts +39 -0
  27. package/dist/collab.d.ts +39 -0
  28. package/dist/collab.js +30 -0
  29. package/dist/collab.js.map +1 -0
  30. package/dist/grid-EI5JNZAA.js +88 -0
  31. package/dist/grid-EI5JNZAA.js.map +1 -0
  32. package/dist/index.cjs +12191 -486
  33. package/dist/index.cjs.map +1 -1
  34. package/dist/index.css +3632 -728
  35. package/dist/index.css.map +1 -1
  36. package/dist/index.d.cts +144 -11
  37. package/dist/index.d.ts +144 -11
  38. package/dist/index.js +3389 -439
  39. package/dist/index.js.map +1 -1
  40. package/dist/kinds.cjs +71 -0
  41. package/dist/kinds.cjs.map +1 -0
  42. package/dist/kinds.d.cts +11 -0
  43. package/dist/kinds.d.ts +11 -0
  44. package/dist/kinds.js +14 -0
  45. package/dist/kinds.js.map +1 -0
  46. package/dist/memory.cjs +59 -7
  47. package/dist/memory.cjs.map +1 -1
  48. package/dist/memory.d.cts +7 -2
  49. package/dist/memory.d.ts +7 -2
  50. package/dist/memory.js +57 -8
  51. package/dist/memory.js.map +1 -1
  52. package/dist/pdfWrite-EM6GJDBF.js +76 -0
  53. package/dist/pdfWrite-EM6GJDBF.js.map +1 -0
  54. package/dist/types-B5oF25dn.d.cts +165 -0
  55. package/dist/types-B5oF25dn.d.ts +165 -0
  56. package/dist/write-DaVtTJCS.d.cts +6 -0
  57. package/dist/write-DaVtTJCS.d.ts +6 -0
  58. package/package.json +50 -3
  59. package/dist/chunk-KEV4R7W5.js.map +0 -1
  60. package/dist/types-DshXPnWA.d.cts +0 -62
  61. package/dist/types-DshXPnWA.d.ts +0 -62
package/dist/index.css CHANGED
@@ -1,941 +1,3845 @@
1
- /* src/styles.css */
2
- .w100n-docs {
3
- --docs-bg: #faf9f6;
4
- --docs-side: #f8fafc;
5
- --docs-card: #fff;
6
- --docs-paper: #fff;
7
- --docs-border: #e2e8f0;
8
- --docs-line2: #cbd5e1;
9
- --docs-text: #0f172a;
10
- --docs-muted: #64748b;
11
- --docs-dim: #94a3b8;
12
- --docs-hover: #f1f5f9;
13
- --docs-soft: #f1f5f9;
14
- --docs-active: #8b5cf61a;
15
- --docs-accent: #7c3aed;
16
- --docs-thumb: #eef0f5;
17
- --docs-shadow: 0 12px 32px -14px rgb(15 23 42 / 22%);
18
- --docs-narrow: 0;
19
- container-type: inline-size;
1
+ /* src/slides/slides.css */
2
+ .w100n-slides {
3
+ position: relative;
4
+ flex: 1;
5
+ min-height: 0;
20
6
  display: flex;
21
7
  flex-direction: column;
22
- height: 100%;
23
- min-height: 0;
24
- box-sizing: border-box;
25
- background: var(--docs-bg);
26
- color: var(--docs-text);
27
- font-family: inherit;
28
- font-size: 13px;
29
- line-height: 1.5;
30
- }
31
- .w100n-docs[data-theme=dark] {
32
- --docs-bg: #10111b;
33
- --docs-side: #0b0d17;
34
- --docs-card: #11141f;
35
- --docs-paper: #fff;
36
- --docs-border: #ffffff12;
37
- --docs-line2: #ffffff1c;
38
- --docs-text: #eef1f8;
39
- --docs-muted: #8e97ab;
40
- --docs-dim: #5d6579;
41
- --docs-hover: #ffffff0a;
42
- --docs-soft: #ffffff09;
43
- --docs-active: #8b5cf624;
44
- --docs-accent: #a78bfa;
45
- --docs-thumb: #0f1220;
46
- --docs-shadow: 0 16px 40px -16px rgb(0 0 0 / 70%);
47
- color-scheme: dark;
8
+ gap: 8px;
48
9
  }
49
- .w100n-docs *,
50
- .w100n-docs *::before,
51
- .w100n-docs *::after {
52
- box-sizing: border-box;
10
+ .w100n-slides-bar {
11
+ margin: 0 auto;
53
12
  }
54
- .w100n-docs button {
55
- font: inherit;
56
- color: inherit;
57
- background: none;
58
- border: 0;
59
- cursor: pointer;
13
+ .w100n-slides-bar .w100n-docs-action:first-child {
14
+ margin-left: 0;
15
+ margin-right: 6px;
60
16
  }
61
- .w100n-docs button:disabled {
62
- cursor: default;
63
- opacity: .5;
17
+ .w100n-slides-bar .w100n-pdf-pageno {
18
+ margin-left: 4px;
64
19
  }
65
- .w100n-docs svg {
66
- width: 16px;
67
- height: 16px;
68
- flex-shrink: 0;
20
+ .w100n-slides-bar .w100n-docs-muted {
21
+ padding: 0 6px;
69
22
  }
70
- .w100n-docs-bar {
23
+ .w100n-slides-body {
24
+ flex: 1;
25
+ min-height: 0;
71
26
  display: flex;
72
- align-items: center;
73
- gap: 12px;
74
- min-height: 58px;
75
- padding: 10px 16px;
76
- border-bottom: 1px solid var(--docs-border);
77
- background: var(--docs-card);
27
+ gap: 10px;
78
28
  }
79
- .w100n-docs-tile {
80
- display: grid;
81
- place-items: center;
82
- width: 34px;
83
- height: 34px;
29
+ .w100n-slides-rail {
84
30
  flex-shrink: 0;
85
- border-radius: 10px;
86
- color: #fff;
87
- background:
88
- linear-gradient(
89
- 145deg,
90
- #8b5cf6,
91
- #6d28d9);
92
- box-shadow: 0 6px 14px -6px #7c3aed99;
31
+ width: 196px;
32
+ overflow-y: auto;
33
+ overscroll-behavior: contain;
34
+ padding: 10px 10px 14px 6px;
35
+ border: 1px solid var(--docs-border);
36
+ border-radius: 13px;
37
+ background: var(--docs-side);
38
+ scrollbar-width: thin;
93
39
  }
94
- .w100n-docs-tile[data-kind=docx] {
95
- background:
96
- linear-gradient(
97
- 145deg,
98
- #3b82f6,
99
- #1d4ed8);
100
- box-shadow: 0 6px 14px -6px #1d4ed899;
40
+ .w100n-slides-rail ol {
41
+ display: grid;
42
+ gap: 12px;
43
+ margin: 0;
44
+ padding: 0;
45
+ list-style: none;
101
46
  }
102
- .w100n-docs-tile[data-kind=pdf] {
103
- background:
104
- linear-gradient(
105
- 145deg,
106
- #f43f5e,
107
- #be123c);
108
- box-shadow: 0 6px 14px -6px #be123c99;
47
+ .w100n-slides-rail li {
48
+ position: relative;
49
+ display: flex;
50
+ justify-content: flex-end;
51
+ padding-left: 26px;
109
52
  }
110
- .w100n-docs-tile[data-kind=sheet] {
111
- background:
112
- linear-gradient(
113
- 145deg,
114
- #10b981,
115
- #047857);
116
- box-shadow: 0 6px 14px -6px #04785799;
53
+ .w100n-slides-rail li[data-stack=in] {
54
+ padding-left: 40px;
117
55
  }
118
- .w100n-docs-tile[data-kind=slides] {
119
- background:
120
- linear-gradient(
121
- 145deg,
122
- #f59e0b,
123
- #c2410c);
124
- box-shadow: 0 6px 14px -6px #c2410c99;
56
+ .w100n-slides-rail li[data-drop]::after {
57
+ content: "";
58
+ position: absolute;
59
+ z-index: 2;
60
+ left: 22px;
61
+ right: 0;
62
+ height: 3px;
63
+ border-radius: 2px;
64
+ background: var(--docs-accent);
125
65
  }
126
- .w100n-docs-heading {
127
- display: grid;
128
- min-width: 0;
129
- flex: 1;
66
+ .w100n-slides-rail li[data-drop=before]::after {
67
+ top: -8px;
130
68
  }
131
- .w100n-docs-title {
132
- min-width: 0;
133
- overflow: hidden;
134
- text-overflow: ellipsis;
135
- white-space: nowrap;
136
- font-size: 14px;
137
- font-weight: 650;
69
+ .w100n-slides-rail li[data-drop=after]::after {
70
+ bottom: -8px;
138
71
  }
139
- .w100n-docs-crumbs {
72
+ .w100n-docs .w100n-slides-thumb {
73
+ position: absolute;
74
+ z-index: 1;
75
+ inset: 0;
140
76
  display: flex;
141
- align-items: center;
142
- min-width: 0;
77
+ align-items: flex-start;
78
+ padding: 2px 0 0;
79
+ border-radius: 8px;
143
80
  color: var(--docs-muted);
144
- font-size: 12px;
81
+ font-size: 11px;
82
+ font-weight: 650;
83
+ font-variant-numeric: tabular-nums;
145
84
  }
146
- .w100n-docs-crumbs > span {
147
- display: inline-flex;
148
- align-items: center;
149
- min-width: 0;
150
- white-space: nowrap;
85
+ .w100n-docs .w100n-slides-thumb[aria-current=true] {
86
+ color: var(--docs-accent);
151
87
  }
152
- .w100n-docs-crumbs svg {
153
- width: 12px;
154
- height: 12px;
155
- margin: 0 3px;
88
+ .w100n-docs .w100n-slides-thumb[data-dragging=true] ~ .w100n-slides-mini {
89
+ opacity: .4;
156
90
  }
157
- .w100n-docs-end {
158
- display: flex;
159
- align-items: center;
160
- gap: 6px;
161
- margin-left: auto;
91
+ .w100n-docs .w100n-slides-thumb:focus-visible {
92
+ outline: none;
162
93
  }
163
- .w100n-docs .w100n-docs-action {
164
- display: inline-flex;
165
- align-items: center;
166
- gap: 6px;
167
- height: 32px;
168
- padding: 0 12px;
169
- border-radius: 9px;
170
- background:
171
- linear-gradient(
172
- 135deg,
173
- #8b5cf6,
174
- #6d28d9);
175
- color: #fff;
176
- font-weight: 600;
177
- white-space: nowrap;
94
+ .w100n-docs .w100n-slides-thumb:focus-visible ~ .w100n-slides-mini {
95
+ box-shadow: 0 0 0 2px var(--docs-accent), 0 0 0 5px #8b5cf633;
178
96
  }
179
- .w100n-docs .w100n-docs-action svg {
180
- width: 14px;
181
- height: 14px;
97
+ .w100n-slides-mini {
98
+ position: relative;
99
+ display: block;
100
+ flex-shrink: 0;
101
+ overflow: hidden;
102
+ border-radius: 6px;
103
+ background: #fff;
104
+ box-shadow: 0 0 0 1px var(--docs-border);
105
+ transition: box-shadow .15s;
182
106
  }
183
- .w100n-docs .w100n-docs-action:disabled {
184
- opacity: .6;
107
+ .w100n-slides-thumb:hover ~ .w100n-slides-mini {
108
+ box-shadow: 0 0 0 1px #8b5cf680;
185
109
  }
186
- .w100n-docs-badge {
187
- display: inline-flex;
188
- align-items: center;
189
- height: 22px;
190
- padding: 0 8px;
191
- border-radius: 7px;
192
- background: var(--docs-active);
193
- color: var(--docs-accent);
194
- font-size: 11px;
195
- font-weight: 700;
196
- white-space: nowrap;
110
+ .w100n-slides-thumb[aria-current=true] ~ .w100n-slides-mini {
111
+ box-shadow: 0 0 0 2px #8b5cf6, 0 8px 18px -10px #8b5cf6b3;
197
112
  }
198
- .w100n-docs-body {
113
+ .w100n-slides-frame {
199
114
  position: relative;
115
+ display: block;
116
+ flex-shrink: 0;
117
+ overflow: hidden;
118
+ }
119
+ .w100n-slides-frame iframe {
120
+ position: absolute;
121
+ top: 0;
122
+ left: 0;
123
+ display: block;
124
+ border: 0;
125
+ background: #fff;
126
+ transform-origin: 0 0;
127
+ color-scheme: only light;
128
+ }
129
+ .w100n-slides-frame[data-hidden=true] {
130
+ visibility: hidden;
131
+ }
132
+ .w100n-slides-mini iframe,
133
+ .w100n-slides-show iframe,
134
+ .w100n-slides-presenter iframe {
135
+ pointer-events: none;
136
+ }
137
+ .w100n-slides-main {
200
138
  flex: 1;
139
+ min-width: 0;
201
140
  min-height: 0;
202
141
  display: flex;
142
+ flex-direction: column;
203
143
  gap: 10px;
204
- padding: 10px;
205
144
  }
206
- .w100n-docs-side {
207
- display: flex;
208
- flex-direction: column;
209
- flex-shrink: 0;
210
- min-height: 0;
145
+ .w100n-slides-stage {
146
+ flex: 1;
147
+ min-height: 180px;
148
+ display: grid;
149
+ place-items: center;
211
150
  overflow: hidden;
212
- border: 1px solid var(--docs-border);
213
151
  border-radius: 13px;
214
- background: var(--docs-side);
215
- box-shadow: var(--docs-shadow);
216
152
  }
217
- .w100n-docs-list {
218
- width: 300px;
153
+ .w100n-slides-stage > .w100n-slides-frame {
154
+ grid-area: 1 / 1;
155
+ border-radius: 6px;
156
+ box-shadow: 0 1px 2px rgb(15 23 42 / 8%), 0 18px 40px -20px rgb(15 23 42 / 35%);
219
157
  }
220
- .w100n-docs-panel {
221
- width: 272px;
158
+ .w100n-docs[data-theme=dark] .w100n-slides-stage > .w100n-slides-frame {
159
+ box-shadow: 0 0 0 1px #ffffff14, 0 18px 40px -20px rgb(0 0 0 / 80%);
222
160
  }
223
- .w100n-docs-head {
161
+ .w100n-slides-notes {
162
+ flex-shrink: 0;
224
163
  display: grid;
225
- gap: 10px;
226
- padding: 12px 12px 11px;
227
- border-bottom: 1px solid var(--docs-border);
228
- background:
229
- linear-gradient(
230
- to bottom,
231
- #8b5cf612,
232
- transparent);
164
+ gap: 7px;
165
+ padding: 10px 12px 12px;
166
+ border: 1px solid var(--docs-border);
167
+ border-radius: 13px;
168
+ background: var(--docs-card);
169
+ box-shadow: var(--docs-shadow);
233
170
  }
234
- .w100n-docs-row {
171
+ .w100n-slides-notes header {
235
172
  display: flex;
236
173
  align-items: center;
237
- gap: 8px;
174
+ gap: 7px;
238
175
  min-width: 0;
176
+ font-size: 12.5px;
177
+ font-weight: 650;
239
178
  }
240
- .w100n-docs-caption {
241
- display: flex;
242
- align-items: center;
243
- gap: 7px;
244
- flex: 1;
245
- min-width: 0;
246
- margin: 0;
247
- padding: 0 4px;
248
- font-size: 13px;
249
- font-weight: 650;
250
- }
251
- .w100n-docs-caption span {
179
+ .w100n-slides-notes header svg {
252
180
  color: var(--docs-accent);
253
- font-size: 11.5px;
254
- font-variant-numeric: tabular-nums;
255
- }
256
- .w100n-docs .w100n-docs-close,
257
- .w100n-docs .w100n-docs-reopen {
258
- display: grid;
259
- place-items: center;
260
- width: 32px;
261
- height: 32px;
262
- flex-shrink: 0;
263
- border-radius: 9px;
264
- color: #fff;
265
- background:
266
- linear-gradient(
267
- 145deg,
268
- #8b5cf6,
269
- #6d28d9);
270
- box-shadow: 0 6px 14px -6px #7c3aed99;
271
- }
272
- .w100n-docs-close svg,
273
- .w100n-docs-reopen svg {
274
- width: 15px;
275
- height: 15px;
276
- }
277
- .w100n-docs-reopen {
278
- position: absolute;
279
- z-index: 3;
280
- top: 20px;
281
- left: 20px;
282
- }
283
- .w100n-docs-reopen-right {
284
- left: auto;
285
- right: 10px;
286
- top: 10px;
287
- }
288
- .w100n-docs-picker {
289
- position: relative;
290
181
  }
291
- .w100n-docs .w100n-docs-field {
292
- display: flex;
293
- align-items: center;
294
- gap: 8px;
295
- width: 100%;
296
- height: 36px;
297
- padding: 0 10px;
298
- border: 1px solid var(--docs-border);
299
- border-radius: 10px;
300
- background: var(--docs-card);
301
- text-align: left;
302
- }
303
- .w100n-docs-field b {
304
- min-width: 0;
182
+ .w100n-slides-notes header small {
183
+ margin-left: auto;
305
184
  overflow: hidden;
185
+ color: var(--docs-dim);
186
+ font-size: 11.5px;
187
+ font-weight: 500;
306
188
  text-overflow: ellipsis;
307
189
  white-space: nowrap;
308
- font-weight: 600;
309
- font-size: 12.5px;
310
- }
311
- .w100n-docs-field > svg:last-child:not(:first-child) {
312
- margin-left: auto;
313
- color: var(--docs-dim);
314
- }
315
- .w100n-docs-search {
316
- gap: 8px;
317
- color: var(--docs-dim);
318
190
  }
319
- .w100n-docs-search input {
320
- flex: 1;
321
- min-width: 0;
322
- height: 100%;
323
- border: 0;
324
- outline: none;
325
- background: transparent;
191
+ .w100n-slides-notes textarea {
192
+ height: 84px;
193
+ min-height: 52px;
194
+ resize: vertical;
195
+ padding: 8px 10px;
196
+ border: 1px solid var(--docs-border);
197
+ border-radius: 9px;
198
+ background: var(--docs-bg);
326
199
  color: var(--docs-text);
327
200
  font: inherit;
328
- font-size: 12.5px;
201
+ line-height: 1.5;
202
+ outline: none;
329
203
  }
330
- .w100n-docs-search input::placeholder {
204
+ .w100n-slides-notes textarea:focus {
205
+ border-color: var(--docs-accent);
206
+ box-shadow: 0 0 0 3px #8b5cf61f;
207
+ }
208
+ .w100n-slides-notes textarea::placeholder {
331
209
  color: var(--docs-dim);
332
210
  }
333
- .w100n-docs-dot {
334
- width: 9px;
335
- height: 9px;
336
- border-radius: 3px;
337
- background: var(--docs-accent);
338
- flex-shrink: 0;
211
+ .w100n-slides-notes p {
212
+ max-height: 84px;
213
+ margin: 0;
214
+ overflow-y: auto;
215
+ color: var(--docs-muted);
216
+ white-space: pre-wrap;
217
+ overflow-wrap: anywhere;
339
218
  }
340
- .w100n-docs-all {
219
+ .w100n-slides-show {
220
+ position: fixed;
221
+ z-index: 2000;
222
+ inset: 0;
341
223
  display: grid;
342
224
  place-items: center;
343
- width: 20px;
344
- height: 20px;
345
- flex-shrink: 0;
346
- border-radius: 6px;
347
- color: #fff;
348
- background:
349
- linear-gradient(
350
- 145deg,
351
- #64748b,
352
- #334155);
225
+ overflow: hidden;
226
+ background: #000;
227
+ cursor: pointer;
353
228
  }
354
- .w100n-docs-all svg {
355
- width: 12px;
356
- height: 12px;
229
+ .w100n-slides-show > .w100n-slides-frame {
230
+ grid-area: 1 / 1;
357
231
  }
358
- .w100n-docs-count {
359
- color: var(--docs-dim);
360
- font-size: 11px;
232
+ .w100n-slides-count {
233
+ position: absolute;
234
+ right: 16px;
235
+ bottom: 12px;
236
+ padding: 2px 9px;
237
+ border-radius: 8px;
238
+ background: rgb(0 0 0 / 45%);
239
+ color: #ffffffd9;
240
+ font-size: 12px;
241
+ font-weight: 650;
361
242
  font-variant-numeric: tabular-nums;
243
+ pointer-events: none;
362
244
  }
363
- .w100n-docs-menu {
245
+ .w100n-slides-foot {
364
246
  position: absolute;
365
- z-index: 6;
366
- top: calc(100% + 6px);
367
247
  left: 0;
368
248
  right: 0;
249
+ bottom: 0;
369
250
  display: flex;
370
- flex-direction: column;
371
- max-height: min(420px, 60vh);
372
- overflow-y: auto;
373
- padding: 6px;
374
- border: 1px solid var(--docs-border);
375
- border-radius: 12px;
376
- background: var(--docs-card);
377
- box-shadow: var(--docs-shadow);
378
- }
379
- .w100n-docs-menu button {
380
- display: flex;
381
- align-items: center;
382
- gap: 9px;
383
- width: 100%;
384
- min-height: 34px;
385
- padding: 0 8px;
386
- border-radius: 8px;
387
- text-align: left;
388
- font-size: 12.5px;
389
- }
390
- .w100n-docs-menu button b {
391
- min-width: 0;
392
- overflow: hidden;
393
- text-overflow: ellipsis;
394
- white-space: nowrap;
395
- font-weight: 600;
251
+ justify-content: center;
252
+ align-items: flex-end;
253
+ height: 110px;
254
+ padding-bottom: 16px;
255
+ opacity: 0;
256
+ transition: opacity .2s;
257
+ cursor: default;
396
258
  }
397
- .w100n-docs-menu button .w100n-docs-count {
398
- margin-left: auto;
259
+ .w100n-slides-foot:hover,
260
+ .w100n-slides-foot:focus-within {
261
+ opacity: 1;
399
262
  }
400
- .w100n-docs-menu button > svg:last-child {
401
- margin-left: auto;
402
- color: var(--docs-accent);
403
- width: 14px;
404
- height: 14px;
263
+ .w100n-slides-controls {
264
+ display: flex;
265
+ gap: 6px;
266
+ padding: 6px;
267
+ border-radius: 14px;
268
+ background: rgb(17 17 27 / 78%);
269
+ box-shadow: 0 12px 30px -12px #000;
405
270
  }
406
- .w100n-docs-menu button:hover {
407
- background: #8b5cf60f;
271
+ .w100n-docs .w100n-slides-controls button,
272
+ .w100n-docs .w100n-slides-head .w100n-slides-end button:not(.w100n-docs-action) {
273
+ display: grid;
274
+ place-items: center;
275
+ width: 34px;
276
+ height: 34px;
277
+ border-radius: 10px;
278
+ color: #fff;
279
+ background:
280
+ linear-gradient(
281
+ 145deg,
282
+ #8b5cf6,
283
+ #6d28d9);
284
+ box-shadow: 0 6px 14px -6px #7c3aed99;
408
285
  }
409
- .w100n-docs-menu button[aria-selected=true] {
410
- background: #8b5cf61f;
286
+ .w100n-docs .w100n-slides-controls button:last-child {
287
+ background:
288
+ linear-gradient(
289
+ 145deg,
290
+ #f43f5e,
291
+ #be123c);
292
+ box-shadow: 0 6px 14px -6px #be123c99;
411
293
  }
412
- .w100n-docs-menu-caption {
413
- margin: 6px 0 2px;
414
- padding: 4px 8px 3px;
415
- color: var(--docs-dim);
416
- font-size: 10.5px;
417
- font-weight: 700;
418
- letter-spacing: .06em;
419
- text-transform: uppercase;
294
+ .w100n-docs.w100n-slides-presenter {
295
+ height: 100%;
420
296
  }
421
- .w100n-docs-chips {
297
+ .w100n-slides-head {
422
298
  display: flex;
423
- flex-wrap: wrap;
424
- gap: 6px;
425
- }
426
- .w100n-docs-chips button {
427
- display: inline-flex;
428
299
  align-items: center;
429
- gap: 6px;
430
- height: 26px;
431
- padding: 0 9px;
432
- border-radius: 8px;
433
- background: var(--docs-soft);
300
+ gap: 10px;
301
+ min-height: 58px;
302
+ padding: 10px 16px;
303
+ border-bottom: 1px solid var(--docs-border);
304
+ background: var(--docs-card);
305
+ }
306
+ .w100n-docs .w100n-slides-head > button {
307
+ display: grid;
308
+ place-items: center;
309
+ width: 32px;
310
+ height: 32px;
311
+ border-radius: 9px;
434
312
  color: var(--docs-muted);
435
- font-size: 11.5px;
436
- font-weight: 600;
437
313
  }
438
- .w100n-docs-chips button:hover {
314
+ .w100n-docs .w100n-slides-head > button:hover {
315
+ background: var(--docs-hover);
439
316
  color: var(--docs-text);
440
317
  }
441
- .w100n-docs-chips button span {
442
- color: var(--docs-dim);
318
+ .w100n-slides-time {
319
+ min-width: 74px;
320
+ font-size: 22px;
321
+ font-weight: 700;
443
322
  font-variant-numeric: tabular-nums;
444
323
  }
445
- .w100n-docs-chips button[aria-pressed=true] {
446
- background: var(--docs-active);
447
- color: var(--docs-accent);
448
- box-shadow: inset 0 0 0 1px #8b5cf659;
324
+ .w100n-slides-end {
325
+ display: flex;
326
+ align-items: center;
327
+ gap: 6px;
328
+ margin-left: auto;
449
329
  }
450
- .w100n-docs-chips button[aria-pressed=true] span {
451
- color: inherit;
330
+ .w100n-slides-end .w100n-docs-action {
331
+ margin-left: 6px;
452
332
  }
453
- .w100n-docs-cards {
333
+ .w100n-slides-desk {
454
334
  flex: 1;
455
335
  min-height: 0;
456
- overflow-y: auto;
457
- overscroll-behavior: contain;
458
336
  display: grid;
459
- align-content: start;
460
- gap: 10px;
461
- padding: 10px 12px 16px;
462
- scrollbar-width: thin;
337
+ grid-template-columns: minmax(0, 1.75fr) minmax(240px, 1fr);
338
+ gap: 14px;
339
+ padding: 14px;
463
340
  }
464
- .w100n-docs-folder {
341
+ .w100n-slides-now {
342
+ min-width: 0;
343
+ min-height: 0;
465
344
  display: grid;
345
+ place-items: center;
346
+ overflow: hidden;
347
+ border-radius: 13px;
348
+ background: #000;
349
+ }
350
+ .w100n-slides-side {
351
+ min-width: 0;
352
+ min-height: 0;
353
+ display: flex;
354
+ flex-direction: column;
466
355
  gap: 8px;
467
356
  }
468
- .w100n-docs-group {
469
- margin: 4px 2px 0;
470
- color: var(--docs-dim);
357
+ .w100n-slides-side .w100n-docs-caption {
358
+ flex: none;
359
+ padding: 0;
360
+ }
361
+ .w100n-slides-side .w100n-docs-caption svg {
362
+ color: var(--docs-accent);
363
+ }
364
+ .w100n-slides-next {
365
+ flex-shrink: 0;
366
+ display: grid;
367
+ overflow: hidden;
368
+ border-radius: 10px;
369
+ box-shadow: 0 0 0 1px var(--docs-border);
370
+ }
371
+ .w100n-slides-next > .w100n-docs-muted {
372
+ padding: 24px 12px;
373
+ text-align: center;
374
+ }
375
+ .w100n-slides-speech {
376
+ flex: 1;
377
+ min-height: 0;
378
+ overflow-y: auto;
379
+ padding: 14px 16px;
380
+ border: 1px solid var(--docs-border);
381
+ border-radius: 13px;
382
+ background: var(--docs-card);
383
+ font-size: 20px;
384
+ line-height: 1.55;
385
+ white-space: pre-wrap;
386
+ overflow-wrap: anywhere;
387
+ }
388
+ @container (max-width: 900px) {
389
+ .w100n-slides-body {
390
+ flex-direction: column-reverse;
391
+ justify-content: flex-end;
392
+ }
393
+ .w100n-slides-main {
394
+ flex: none;
395
+ }
396
+ .w100n-slides-stage {
397
+ flex: none;
398
+ min-height: 0;
399
+ aspect-ratio: var(--w100n-ratio);
400
+ }
401
+ .w100n-slides-rail {
402
+ width: auto;
403
+ overflow: auto hidden;
404
+ padding: 8px 10px;
405
+ }
406
+ .w100n-slides-rail ol {
407
+ grid-auto-flow: column;
408
+ justify-content: start;
409
+ }
410
+ .w100n-slides-rail li,
411
+ .w100n-slides-rail li[data-stack=in] {
412
+ padding-left: 20px;
413
+ }
414
+ .w100n-slides-notes header small {
415
+ display: none;
416
+ }
417
+ .w100n-slides-bar {
418
+ flex-wrap: nowrap;
419
+ justify-content: flex-start;
420
+ overflow-x: auto;
421
+ scrollbar-width: none;
422
+ }
423
+ .w100n-slides-bar > * {
424
+ flex-shrink: 0;
425
+ }
426
+ .w100n-slides-bar > .w100n-docs-action:last-child {
427
+ position: sticky;
428
+ right: 0;
429
+ margin-left: 6px;
430
+ box-shadow: -10px 0 8px 2px var(--docs-card);
431
+ }
432
+ .w100n-docs .w100n-slides-bar > .w100n-docs-action:last-child:disabled {
433
+ opacity: 1;
434
+ background:
435
+ linear-gradient(
436
+ 135deg,
437
+ #b9a5f8,
438
+ #9f86ec);
439
+ }
440
+ }
441
+
442
+ /* src/styles.css */
443
+ .w100n-docs {
444
+ --docs-bg: #faf9f6;
445
+ --docs-side: #f8fafc;
446
+ --docs-card: #fff;
447
+ --docs-paper: #fff;
448
+ --docs-border: #e2e8f0;
449
+ --docs-line2: #cbd5e1;
450
+ --docs-text: #0f172a;
451
+ --docs-muted: #5b6b80;
452
+ --docs-dim: #677489;
453
+ --docs-hover: #f1f5f9;
454
+ --docs-soft: #f1f5f9;
455
+ --docs-active: #8b5cf61a;
456
+ --docs-accent: #7c3aed;
457
+ --docs-thumb: #eef0f5;
458
+ --docs-shadow: 0 12px 32px -14px rgb(15 23 42 / 22%);
459
+ --docs-narrow: 0;
460
+ container-type: inline-size;
461
+ display: flex;
462
+ flex-direction: column;
463
+ height: 100%;
464
+ min-height: 0;
465
+ box-sizing: border-box;
466
+ background: var(--docs-bg);
467
+ color: var(--docs-text);
468
+ font-family: inherit;
469
+ font-size: 13px;
470
+ line-height: 1.5;
471
+ }
472
+ .w100n-docs[data-theme=dark] {
473
+ --docs-bg: #10111b;
474
+ --docs-side: #0b0d17;
475
+ --docs-card: #11141f;
476
+ --docs-paper: #fff;
477
+ --docs-border: #ffffff12;
478
+ --docs-line2: #ffffff1c;
479
+ --docs-text: #eef1f8;
480
+ --docs-muted: #949db1;
481
+ --docs-dim: #7d869c;
482
+ --docs-hover: #ffffff0a;
483
+ --docs-soft: #ffffff09;
484
+ --docs-active: #8b5cf624;
485
+ --docs-accent: #a78bfa;
486
+ --docs-thumb: #0f1220;
487
+ --docs-shadow: 0 16px 40px -16px rgb(0 0 0 / 70%);
488
+ color-scheme: dark;
489
+ }
490
+ .w100n-docs *,
491
+ .w100n-docs *::before,
492
+ .w100n-docs *::after {
493
+ box-sizing: border-box;
494
+ }
495
+ .w100n-docs button {
496
+ font: inherit;
497
+ color: inherit;
498
+ background: none;
499
+ border: 0;
500
+ cursor: pointer;
501
+ }
502
+ .w100n-docs button:disabled {
503
+ cursor: default;
504
+ opacity: .5;
505
+ }
506
+ .w100n-docs svg {
507
+ width: 16px;
508
+ height: 16px;
509
+ flex-shrink: 0;
510
+ }
511
+ .w100n-docs :is(button, a):focus-visible {
512
+ outline: 2px solid var(--docs-accent);
513
+ outline-offset: 1px;
514
+ }
515
+ .w100n-docs-bar {
516
+ display: flex;
517
+ align-items: center;
518
+ gap: 12px;
519
+ min-height: 58px;
520
+ padding: 10px 16px;
521
+ border-bottom: 1px solid var(--docs-border);
522
+ background: var(--docs-card);
523
+ }
524
+ .w100n-docs-tile {
525
+ display: grid;
526
+ place-items: center;
527
+ width: 34px;
528
+ height: 34px;
529
+ flex-shrink: 0;
530
+ border-radius: 10px;
531
+ color: #fff;
532
+ background:
533
+ linear-gradient(
534
+ 145deg,
535
+ #8b5cf6,
536
+ #6d28d9);
537
+ box-shadow: 0 6px 14px -6px #7c3aed99;
538
+ }
539
+ .w100n-docs-tile[data-kind=docx] {
540
+ background:
541
+ linear-gradient(
542
+ 145deg,
543
+ #3b82f6,
544
+ #1d4ed8);
545
+ box-shadow: 0 6px 14px -6px #1d4ed899;
546
+ }
547
+ .w100n-docs-tile[data-kind=pdf] {
548
+ background:
549
+ linear-gradient(
550
+ 145deg,
551
+ #f43f5e,
552
+ #be123c);
553
+ box-shadow: 0 6px 14px -6px #be123c99;
554
+ }
555
+ .w100n-docs-tile[data-kind=sheet] {
556
+ background:
557
+ linear-gradient(
558
+ 145deg,
559
+ #10b981,
560
+ #047857);
561
+ box-shadow: 0 6px 14px -6px #04785799;
562
+ }
563
+ .w100n-docs-tile[data-kind=slides] {
564
+ background:
565
+ linear-gradient(
566
+ 145deg,
567
+ #f59e0b,
568
+ #c2410c);
569
+ box-shadow: 0 6px 14px -6px #c2410c99;
570
+ }
571
+ .w100n-docs-heading {
572
+ display: grid;
573
+ min-width: 0;
574
+ flex: 1;
575
+ }
576
+ .w100n-docs-title {
577
+ min-width: 0;
578
+ overflow: hidden;
579
+ text-overflow: ellipsis;
580
+ white-space: nowrap;
581
+ font-size: 14px;
582
+ font-weight: 650;
583
+ }
584
+ .w100n-docs-crumbs {
585
+ display: flex;
586
+ align-items: center;
587
+ min-width: 0;
588
+ color: var(--docs-muted);
589
+ font-size: 12px;
590
+ }
591
+ .w100n-docs-crumbs > span {
592
+ display: inline-flex;
593
+ align-items: center;
594
+ min-width: 0;
595
+ white-space: nowrap;
596
+ }
597
+ .w100n-docs-crumbs svg {
598
+ width: 12px;
599
+ height: 12px;
600
+ margin: 0 3px;
601
+ }
602
+ .w100n-docs-end {
603
+ display: flex;
604
+ align-items: center;
605
+ gap: 6px;
606
+ margin-left: auto;
607
+ }
608
+ .w100n-docs .w100n-docs-action {
609
+ display: inline-flex;
610
+ align-items: center;
611
+ gap: 6px;
612
+ height: 32px;
613
+ padding: 0 12px;
614
+ border-radius: 9px;
615
+ background:
616
+ linear-gradient(
617
+ 135deg,
618
+ #8b5cf6,
619
+ #6d28d9);
620
+ color: #fff;
621
+ font-weight: 600;
622
+ white-space: nowrap;
623
+ }
624
+ .w100n-docs .w100n-docs-action svg {
625
+ width: 14px;
626
+ height: 14px;
627
+ }
628
+ .w100n-docs .w100n-docs-action:disabled {
629
+ opacity: .6;
630
+ }
631
+ .w100n-docs-badge {
632
+ display: inline-flex;
633
+ align-items: center;
634
+ height: 22px;
635
+ padding: 0 8px;
636
+ border-radius: 7px;
637
+ background: var(--docs-active);
638
+ color: var(--docs-accent);
639
+ font-size: 11px;
640
+ font-weight: 700;
641
+ white-space: nowrap;
642
+ }
643
+ .w100n-docs-body {
644
+ position: relative;
645
+ flex: 1;
646
+ min-height: 0;
647
+ display: flex;
648
+ gap: 10px;
649
+ padding: 10px;
650
+ }
651
+ .w100n-docs-side {
652
+ display: flex;
653
+ flex-direction: column;
654
+ flex-shrink: 0;
655
+ min-height: 0;
656
+ overflow: hidden;
657
+ border: 1px solid var(--docs-border);
658
+ border-radius: 13px;
659
+ background: var(--docs-side);
660
+ box-shadow: var(--docs-shadow);
661
+ }
662
+ .w100n-docs-list {
663
+ width: 300px;
664
+ }
665
+ .w100n-docs-panel {
666
+ width: 272px;
667
+ }
668
+ .w100n-docs-head {
669
+ display: grid;
670
+ gap: 10px;
671
+ padding: 12px 12px 11px;
672
+ border-bottom: 1px solid var(--docs-border);
673
+ background:
674
+ linear-gradient(
675
+ to bottom,
676
+ #8b5cf612,
677
+ transparent);
678
+ }
679
+ .w100n-docs-row {
680
+ display: flex;
681
+ align-items: center;
682
+ gap: 8px;
683
+ min-width: 0;
684
+ }
685
+ .w100n-docs-caption {
686
+ display: flex;
687
+ align-items: center;
688
+ gap: 7px;
689
+ flex: 1;
690
+ min-width: 0;
691
+ margin: 0;
692
+ padding: 0 4px;
693
+ font-size: 13px;
694
+ font-weight: 650;
695
+ }
696
+ .w100n-docs-caption span {
697
+ color: var(--docs-accent);
698
+ font-size: 11.5px;
699
+ font-variant-numeric: tabular-nums;
700
+ }
701
+ .w100n-docs .w100n-docs-close,
702
+ .w100n-docs .w100n-docs-reopen {
703
+ display: grid;
704
+ place-items: center;
705
+ width: 32px;
706
+ height: 32px;
707
+ flex-shrink: 0;
708
+ border-radius: 9px;
709
+ color: #fff;
710
+ background:
711
+ linear-gradient(
712
+ 145deg,
713
+ #8b5cf6,
714
+ #6d28d9);
715
+ box-shadow: 0 6px 14px -6px #7c3aed99;
716
+ }
717
+ .w100n-docs-close svg,
718
+ .w100n-docs-reopen svg {
719
+ width: 15px;
720
+ height: 15px;
721
+ }
722
+ .w100n-docs-reopen {
723
+ position: absolute;
724
+ z-index: 3;
725
+ top: 20px;
726
+ left: 20px;
727
+ }
728
+ .w100n-docs-reopen-right {
729
+ left: auto;
730
+ right: 10px;
731
+ top: 10px;
732
+ }
733
+ .w100n-docs-picker {
734
+ position: relative;
735
+ }
736
+ .w100n-docs .w100n-docs-field {
737
+ display: flex;
738
+ align-items: center;
739
+ gap: 8px;
740
+ width: 100%;
741
+ height: 36px;
742
+ padding: 0 10px;
743
+ border: 1px solid var(--docs-border);
744
+ border-radius: 10px;
745
+ background: var(--docs-card);
746
+ text-align: left;
747
+ }
748
+ .w100n-docs-field b {
749
+ min-width: 0;
750
+ overflow: hidden;
751
+ text-overflow: ellipsis;
752
+ white-space: nowrap;
753
+ font-weight: 600;
754
+ font-size: 12.5px;
755
+ }
756
+ .w100n-docs-field > svg:last-child:not(:first-child) {
757
+ margin-left: auto;
758
+ color: var(--docs-dim);
759
+ }
760
+ .w100n-docs-search {
761
+ gap: 8px;
762
+ color: var(--docs-dim);
763
+ }
764
+ .w100n-docs-search input {
765
+ flex: 1;
766
+ min-width: 0;
767
+ height: 100%;
768
+ border: 0;
769
+ outline: none;
770
+ background: transparent;
771
+ color: var(--docs-text);
772
+ font: inherit;
773
+ font-size: 12.5px;
774
+ }
775
+ .w100n-docs-search input::placeholder {
776
+ color: var(--docs-dim);
777
+ }
778
+ .w100n-docs-dot {
779
+ width: 9px;
780
+ height: 9px;
781
+ border-radius: 3px;
782
+ background: var(--docs-accent);
783
+ flex-shrink: 0;
784
+ }
785
+ .w100n-docs-all {
786
+ display: grid;
787
+ place-items: center;
788
+ width: 20px;
789
+ height: 20px;
790
+ flex-shrink: 0;
791
+ border-radius: 6px;
792
+ color: #fff;
793
+ background:
794
+ linear-gradient(
795
+ 145deg,
796
+ #64748b,
797
+ #334155);
798
+ }
799
+ .w100n-docs-all svg {
800
+ width: 12px;
801
+ height: 12px;
802
+ }
803
+ .w100n-docs-count {
804
+ color: var(--docs-dim);
805
+ font-size: 11px;
806
+ font-variant-numeric: tabular-nums;
807
+ }
808
+ .w100n-docs-menu {
809
+ position: absolute;
810
+ z-index: 6;
811
+ top: calc(100% + 6px);
812
+ left: 0;
813
+ right: 0;
814
+ display: flex;
815
+ flex-direction: column;
816
+ max-height: min(420px, 60vh);
817
+ overflow-y: auto;
818
+ padding: 6px;
819
+ border: 1px solid var(--docs-border);
820
+ border-radius: 12px;
821
+ background: var(--docs-card);
822
+ box-shadow: var(--docs-shadow);
823
+ }
824
+ .w100n-docs-menu button {
825
+ display: flex;
826
+ align-items: center;
827
+ gap: 9px;
828
+ width: 100%;
829
+ min-height: 34px;
830
+ padding: 0 8px;
831
+ border-radius: 8px;
832
+ text-align: left;
833
+ font-size: 12.5px;
834
+ }
835
+ .w100n-docs-menu button b {
836
+ min-width: 0;
837
+ overflow: hidden;
838
+ text-overflow: ellipsis;
839
+ white-space: nowrap;
840
+ font-weight: 600;
841
+ }
842
+ .w100n-docs-menu button .w100n-docs-count {
843
+ margin-left: auto;
844
+ }
845
+ .w100n-docs-menu button > svg:last-child {
846
+ margin-left: auto;
847
+ color: var(--docs-accent);
848
+ width: 14px;
849
+ height: 14px;
850
+ }
851
+ .w100n-docs-menu button:hover {
852
+ background: #8b5cf60f;
853
+ }
854
+ .w100n-docs-menu button[aria-selected=true] {
855
+ background: #8b5cf61f;
856
+ }
857
+ .w100n-docs-menu-caption {
858
+ margin: 6px 0 2px;
859
+ padding: 4px 8px 3px;
860
+ color: var(--docs-dim);
861
+ font-size: 10.5px;
862
+ font-weight: 700;
863
+ letter-spacing: .06em;
864
+ text-transform: uppercase;
865
+ }
866
+ .w100n-docs-chips {
867
+ display: flex;
868
+ flex-wrap: wrap;
869
+ gap: 6px;
870
+ }
871
+ .w100n-docs-chips button {
872
+ display: inline-flex;
873
+ align-items: center;
874
+ gap: 6px;
875
+ height: 26px;
876
+ padding: 0 9px;
877
+ border-radius: 8px;
878
+ background: var(--docs-soft);
879
+ color: var(--docs-muted);
880
+ font-size: 11.5px;
881
+ font-weight: 600;
882
+ }
883
+ .w100n-docs-chips button:hover {
884
+ color: var(--docs-text);
885
+ }
886
+ .w100n-docs-chips button span {
887
+ color: var(--docs-muted);
888
+ font-variant-numeric: tabular-nums;
889
+ }
890
+ .w100n-docs-chips button[aria-pressed=true] {
891
+ background: var(--docs-active);
892
+ color: var(--docs-accent);
893
+ box-shadow: inset 0 0 0 1px #8b5cf659;
894
+ }
895
+ .w100n-docs-chips button[aria-pressed=true] span {
896
+ color: inherit;
897
+ }
898
+ .w100n-docs-cards {
899
+ flex: 1;
900
+ min-height: 0;
901
+ overflow-y: auto;
902
+ overscroll-behavior: contain;
903
+ display: grid;
904
+ align-content: start;
905
+ gap: 10px;
906
+ padding: 10px 12px 16px;
907
+ scrollbar-width: thin;
908
+ }
909
+ .w100n-docs-folder {
910
+ display: grid;
911
+ gap: 8px;
912
+ }
913
+ .w100n-docs-group {
914
+ margin: 4px 2px 0;
915
+ color: var(--docs-dim);
916
+ font-size: 10.5px;
917
+ font-weight: 700;
918
+ letter-spacing: .06em;
919
+ text-transform: uppercase;
920
+ }
921
+ .w100n-docs-grid {
922
+ display: grid;
923
+ grid-template-columns: repeat(auto-fill, minmax(124px, 1fr));
924
+ gap: 8px;
925
+ }
926
+ .w100n-docs .w100n-docs-card {
927
+ display: flex;
928
+ flex-direction: column;
929
+ min-width: 0;
930
+ overflow: hidden;
931
+ border: 1px solid var(--docs-border);
932
+ border-radius: 12px;
933
+ background: var(--docs-card);
934
+ text-align: left;
935
+ transition: border-color .15s, box-shadow .15s;
936
+ }
937
+ .w100n-docs .w100n-docs-card:hover {
938
+ border-color: #8b5cf666;
939
+ }
940
+ .w100n-docs .w100n-docs-card[aria-current=true] {
941
+ border-color: #8b5cf6;
942
+ box-shadow: 0 0 0 1px #8b5cf6, 0 8px 22px -12px #8b5cf6b3;
943
+ }
944
+ .w100n-docs-thumb {
945
+ position: relative;
946
+ display: block;
947
+ aspect-ratio: 4 / 3;
948
+ overflow: hidden;
949
+ border-bottom: 1px solid var(--docs-border);
950
+ background: var(--docs-thumb);
951
+ }
952
+ .w100n-docs-thumb img {
953
+ width: 100%;
954
+ height: 100%;
955
+ object-fit: cover;
956
+ object-position: top;
957
+ background: #fff;
958
+ }
959
+ .w100n-docs-paper {
960
+ position: absolute;
961
+ inset: 9px 12px 0;
962
+ display: block;
963
+ overflow: hidden;
964
+ padding: 9px 10px;
965
+ border-radius: 4px 4px 0 0;
966
+ background: #fff;
967
+ color: #475569;
968
+ box-shadow: 0 2px 8px rgb(15 23 42 / 12%);
969
+ font-size: 5.6px;
970
+ line-height: 1.45;
971
+ overflow-wrap: anywhere;
972
+ }
973
+ .w100n-docs-paper b {
974
+ display: block;
975
+ margin-bottom: 4px;
976
+ color: #0f172a;
977
+ font-size: 8px;
978
+ line-height: 1.2;
979
+ font-weight: 700;
980
+ }
981
+ .w100n-docs-paper i {
982
+ display: block;
983
+ height: 4px;
984
+ margin-bottom: 5px;
985
+ border-radius: 2px;
986
+ background: #e2e8f0;
987
+ }
988
+ .w100n-docs-paper i:first-child {
989
+ width: 62%;
990
+ height: 6px;
991
+ background: #334155;
992
+ }
993
+ .w100n-docs-paper i:nth-child(3) {
994
+ width: 84%;
995
+ }
996
+ .w100n-docs-paper i:nth-child(5) {
997
+ width: 48%;
998
+ }
999
+ .w100n-docs-kind {
1000
+ position: absolute;
1001
+ right: 6px;
1002
+ bottom: 6px;
1003
+ padding: 1px 6px;
1004
+ border-radius: 5px;
1005
+ color: #fff;
1006
+ background: #7c3aed;
1007
+ font-size: 9.5px;
1008
+ font-weight: 800;
1009
+ letter-spacing: .02em;
1010
+ text-transform: uppercase;
1011
+ }
1012
+ .w100n-docs-kind[data-kind=docx] {
1013
+ background: #2563eb;
1014
+ }
1015
+ .w100n-docs-kind[data-kind=pdf] {
1016
+ background: #e11d48;
1017
+ }
1018
+ .w100n-docs-kind[data-kind=sheet] {
1019
+ background: #047857;
1020
+ }
1021
+ .w100n-docs-kind[data-kind=slides] {
1022
+ background: #c2410c;
1023
+ }
1024
+ .w100n-docs-card-text {
1025
+ display: grid;
1026
+ gap: 2px;
1027
+ min-width: 0;
1028
+ padding: 7px 9px 8px;
1029
+ }
1030
+ .w100n-docs-card-text b {
1031
+ overflow: hidden;
1032
+ text-overflow: ellipsis;
1033
+ white-space: nowrap;
1034
+ font-size: 12.5px;
1035
+ font-weight: 650;
1036
+ }
1037
+ .w100n-docs-card-text small {
1038
+ overflow: hidden;
1039
+ text-overflow: ellipsis;
1040
+ white-space: nowrap;
1041
+ color: var(--docs-dim);
1042
+ font-size: 11px;
1043
+ }
1044
+ .w100n-docs-muted {
1045
+ margin: 0;
1046
+ color: var(--docs-muted);
1047
+ font-size: 12px;
1048
+ }
1049
+ .w100n-docs-about {
1050
+ display: grid;
1051
+ gap: 8px;
1052
+ margin-top: 14px;
1053
+ padding-top: 12px;
1054
+ border-top: 1px solid var(--docs-border);
1055
+ }
1056
+ .w100n-docs-stage {
1057
+ position: relative;
1058
+ flex: 1;
1059
+ min-width: 0;
1060
+ min-height: 0;
1061
+ display: flex;
1062
+ flex-direction: column;
1063
+ }
1064
+ .w100n-docs-scroll {
1065
+ flex: 1;
1066
+ min-height: 0;
1067
+ overflow: auto;
1068
+ padding: 56px 12px 32px;
1069
+ }
1070
+ .w100n-docs-empty {
1071
+ margin: auto;
1072
+ display: grid;
1073
+ justify-items: center;
1074
+ gap: 10px;
1075
+ color: var(--docs-muted);
1076
+ }
1077
+ .w100n-docs-empty svg {
1078
+ width: 32px;
1079
+ height: 32px;
1080
+ }
1081
+ .w100n-docs-note {
1082
+ display: flex;
1083
+ align-items: center;
1084
+ gap: 10px;
1085
+ color: var(--docs-muted);
1086
+ }
1087
+ .w100n-docs-note button {
1088
+ color: var(--docs-accent);
1089
+ font-weight: 600;
1090
+ }
1091
+ .w100n-docs-page {
1092
+ width: min(820px, 100%);
1093
+ padding: 56px 64px;
1094
+ border-radius: 6px;
1095
+ background: var(--docs-paper);
1096
+ color: #1f2937;
1097
+ color-scheme: only light;
1098
+ box-shadow: 0 1px 2px rgb(15 23 42 / 8%), 0 18px 40px -20px rgb(15 23 42 / 35%);
1099
+ }
1100
+ .w100n-docs-prose {
1101
+ font-size: 15px;
1102
+ line-height: 1.7;
1103
+ overflow-wrap: anywhere;
1104
+ }
1105
+ .w100n-docs-prose :is(p, ul, ol, pre, table, blockquote, hr) {
1106
+ margin: 0 0 14px;
1107
+ }
1108
+ .w100n-docs-prose :is(ul, ol) {
1109
+ padding-left: 24px;
1110
+ }
1111
+ .w100n-docs-prose ul {
1112
+ list-style: disc;
1113
+ }
1114
+ .w100n-docs-prose ol {
1115
+ list-style: decimal;
1116
+ }
1117
+ .w100n-docs-prose li + li {
1118
+ margin-top: 4px;
1119
+ }
1120
+ .w100n-docs-prose blockquote {
1121
+ padding-left: 14px;
1122
+ border-left: 3px solid #e2e8f0;
1123
+ color: #64748b;
1124
+ }
1125
+ .w100n-docs-prose hr {
1126
+ border: 0;
1127
+ border-top: 1px solid #e2e8f0;
1128
+ }
1129
+ .w100n-docs-prose h1,
1130
+ .w100n-docs-prose h2,
1131
+ .w100n-docs-prose h3 {
1132
+ margin: 28px 0 12px;
1133
+ color: #0f172a;
1134
+ font-weight: 650;
1135
+ line-height: 1.3;
1136
+ scroll-margin-top: 12px;
1137
+ }
1138
+ .w100n-docs-prose > :first-child {
1139
+ margin-top: 0;
1140
+ }
1141
+ .w100n-docs-prose h1 {
1142
+ font-size: 28px;
1143
+ }
1144
+ .w100n-docs-prose h2 {
1145
+ font-size: 21px;
1146
+ }
1147
+ .w100n-docs-prose h3 {
1148
+ font-size: 17px;
1149
+ }
1150
+ .w100n-docs-prose a {
1151
+ color: #7c3aed;
1152
+ }
1153
+ .w100n-docs-prose pre,
1154
+ .w100n-docs-prose code {
1155
+ border-radius: 6px;
1156
+ background: #f1f5f9;
1157
+ }
1158
+ .w100n-docs-prose pre {
1159
+ padding: 12px 14px;
1160
+ overflow-x: auto;
1161
+ }
1162
+ .w100n-docs-prose code {
1163
+ padding: 1px 5px;
1164
+ }
1165
+ .w100n-docs-prose table {
1166
+ border-collapse: collapse;
1167
+ display: block;
1168
+ overflow-x: auto;
1169
+ }
1170
+ .w100n-docs-prose th,
1171
+ .w100n-docs-prose td {
1172
+ padding: 6px 10px;
1173
+ border: 1px solid #e2e8f0;
1174
+ }
1175
+ .w100n-docs-prose img {
1176
+ max-width: 100%;
1177
+ }
1178
+ .w100n-docs-docx {
1179
+ display: flex;
1180
+ flex-direction: column;
1181
+ align-items: center;
1182
+ gap: 16px;
1183
+ width: 100%;
1184
+ }
1185
+ .w100n-docs-docx section.w100n-docx {
1186
+ box-shadow: 0 18px 40px -20px rgb(15 23 42 / 35%);
1187
+ border-radius: 4px;
1188
+ }
1189
+ .w100n-docs-docx .w100n-docx-wrapper {
1190
+ background: transparent;
1191
+ padding: 0;
1192
+ }
1193
+ .w100n-docs-tabs {
1194
+ display: grid;
1195
+ flex: 1;
1196
+ grid-auto-columns: 1fr;
1197
+ grid-auto-flow: column;
1198
+ gap: 3px;
1199
+ padding: 3px;
1200
+ border-radius: 11px;
1201
+ background: var(--docs-soft);
1202
+ }
1203
+ .w100n-docs-tabs button {
1204
+ display: flex;
1205
+ align-items: center;
1206
+ justify-content: center;
1207
+ gap: 5px;
1208
+ height: 30px;
1209
+ border-radius: 8px;
1210
+ color: var(--docs-muted);
1211
+ font-size: 12px;
1212
+ font-weight: 600;
1213
+ }
1214
+ .w100n-docs-tabs svg {
1215
+ width: 13px;
1216
+ height: 13px;
1217
+ }
1218
+ .w100n-docs-tabs button:hover {
1219
+ color: var(--docs-text);
1220
+ }
1221
+ .w100n-docs-tabs button[aria-selected=true] {
1222
+ background: var(--docs-card);
1223
+ color: var(--docs-text);
1224
+ box-shadow: 0 1px 2px #0f172a14;
1225
+ }
1226
+ .w100n-docs[data-theme=dark] .w100n-docs-tabs button[aria-selected=true] {
1227
+ background: #ffffff14;
1228
+ box-shadow: none;
1229
+ }
1230
+ .w100n-docs-panel-body {
1231
+ flex: 1;
1232
+ min-height: 0;
1233
+ overflow-y: auto;
1234
+ padding: 12px;
1235
+ }
1236
+ .w100n-docs-outline {
1237
+ display: grid;
1238
+ gap: 2px;
1239
+ }
1240
+ .w100n-docs-outline button {
1241
+ padding: 6px 9px;
1242
+ border-radius: 8px;
1243
+ text-align: left;
1244
+ overflow-wrap: anywhere;
1245
+ }
1246
+ .w100n-docs-outline button:hover {
1247
+ background: var(--docs-hover);
1248
+ }
1249
+ .w100n-docs-outline button[data-level="2"] {
1250
+ padding-left: 20px;
1251
+ }
1252
+ .w100n-docs-outline button[data-level="3"] {
1253
+ padding-left: 32px;
1254
+ color: var(--docs-muted);
1255
+ }
1256
+ .w100n-docs-versions {
1257
+ display: grid;
1258
+ gap: 4px;
1259
+ }
1260
+ .w100n-docs-versions button {
1261
+ display: grid;
1262
+ gap: 2px;
1263
+ padding: 8px 10px;
1264
+ border-radius: 9px;
1265
+ text-align: left;
1266
+ }
1267
+ .w100n-docs-versions button:hover {
1268
+ background: var(--docs-hover);
1269
+ }
1270
+ .w100n-docs-versions button[aria-pressed=true] {
1271
+ background: var(--docs-active);
1272
+ }
1273
+ .w100n-docs-versions b {
1274
+ display: flex;
1275
+ align-items: center;
1276
+ gap: 6px;
1277
+ font-weight: 600;
1278
+ }
1279
+ .w100n-docs-versions small {
1280
+ color: var(--docs-muted);
1281
+ font-size: 12px;
1282
+ }
1283
+ .w100n-docs-details {
1284
+ display: grid;
1285
+ grid-template-columns: auto 1fr;
1286
+ gap: 8px 12px;
1287
+ margin: 0;
1288
+ }
1289
+ .w100n-docs-details dt {
1290
+ color: var(--docs-muted);
1291
+ }
1292
+ .w100n-docs-details dd {
1293
+ margin: 0;
1294
+ overflow-wrap: anywhere;
1295
+ }
1296
+ .w100n-docs-tabs[data-compact=true] {
1297
+ display: flex;
1298
+ }
1299
+ .w100n-docs-tabs[data-compact=true] button {
1300
+ flex: 1 1 auto;
1301
+ min-width: 30px;
1302
+ padding: 0 8px;
1303
+ }
1304
+ .w100n-docs-versions button:disabled {
1305
+ opacity: 1;
1306
+ cursor: default;
1307
+ }
1308
+ .w100n-docs-versions b .w100n-docs-badge {
1309
+ margin-left: auto;
1310
+ }
1311
+ .w100n-docs-bare {
1312
+ flex: 1;
1313
+ min-height: 0;
1314
+ display: flex;
1315
+ flex-direction: column;
1316
+ }
1317
+ .w100n-docs a.w100n-docs-action {
1318
+ text-decoration: none;
1319
+ }
1320
+ .w100n-docs.w100n-docs-overlay {
1321
+ position: fixed;
1322
+ inset: 0;
1323
+ z-index: 1000;
1324
+ height: auto;
1325
+ }
1326
+ .w100n-docs-reopen ~ .w100n-docs-stage :is(.w100n-pdf-bar, .w100n-text-ribbon, .w100n-sheet-ribbon),
1327
+ .w100n-docs-reopen-right ~ .w100n-docs-bare :is(.w100n-pdf-bar, .w100n-text-ribbon, .w100n-sheet-ribbon) {
1328
+ max-width: calc(100% - 92px);
1329
+ }
1330
+ .w100n-docs .w100n-docs-action[data-tone=red] {
1331
+ background:
1332
+ linear-gradient(
1333
+ 135deg,
1334
+ #e11d48,
1335
+ #be123c);
1336
+ }
1337
+ .w100n-docs-ask {
1338
+ position: absolute;
1339
+ z-index: 20;
1340
+ border-radius: 0;
1341
+ }
1342
+ .w100n-docs-ask .w100n-pdf-dialog {
1343
+ width: min(420px, 100%);
1344
+ }
1345
+ .w100n-docs-ask .w100n-pdf-dialog-end {
1346
+ flex-wrap: wrap;
1347
+ }
1348
+ @font-face {
1349
+ font-family: "W100n Sign";
1350
+ font-weight: 400 700;
1351
+ font-display: swap;
1352
+ src: url("./caveat-latin-IUBKKMHQ.woff2") format("woff2");
1353
+ unicode-range:
1354
+ U+0000-00FF,
1355
+ U+0131,
1356
+ U+0152-0153,
1357
+ U+02BB-02BC,
1358
+ U+02C6,
1359
+ U+02DA,
1360
+ U+02DC,
1361
+ U+0304,
1362
+ U+0308,
1363
+ U+0329,
1364
+ U+2000-206F,
1365
+ U+20AC,
1366
+ U+2122,
1367
+ U+2191,
1368
+ U+2193,
1369
+ U+2212,
1370
+ U+2215,
1371
+ U+FEFF,
1372
+ U+FFFD;
1373
+ }
1374
+ @font-face {
1375
+ font-family: "W100n Sign";
1376
+ font-weight: 400 700;
1377
+ font-display: swap;
1378
+ src: url("./caveat-latin-ext-5S7R5SZN.woff2") format("woff2");
1379
+ unicode-range:
1380
+ U+0100-02BA,
1381
+ U+02BD-02C5,
1382
+ U+02C7-02CC,
1383
+ U+02CE-02D7,
1384
+ U+02DD-02FF,
1385
+ U+0304,
1386
+ U+0308,
1387
+ U+0329,
1388
+ U+1D00-1DBF,
1389
+ U+1E00-1E9F,
1390
+ U+1EF2-1EFF,
1391
+ U+2020,
1392
+ U+20A0-20AB,
1393
+ U+20AD-20C0,
1394
+ U+2113,
1395
+ U+2C60-2C7F,
1396
+ U+A720-A7FF;
1397
+ }
1398
+ @font-face {
1399
+ font-family: "W100n Sign";
1400
+ font-weight: 400 700;
1401
+ font-display: swap;
1402
+ src: url("./caveat-cyrillic-XVO43JCM.woff2") format("woff2");
1403
+ unicode-range:
1404
+ U+0301,
1405
+ U+0400-045F,
1406
+ U+0490-0491,
1407
+ U+04B0-04B1,
1408
+ U+2116;
1409
+ }
1410
+ .w100n-pdf {
1411
+ position: relative;
1412
+ flex: 1;
1413
+ min-height: 0;
1414
+ display: flex;
1415
+ flex-direction: column;
1416
+ gap: 8px;
1417
+ }
1418
+ .w100n-pdf-bar {
1419
+ align-self: center;
1420
+ display: flex;
1421
+ flex-wrap: wrap;
1422
+ align-items: center;
1423
+ justify-content: center;
1424
+ gap: 2px;
1425
+ max-width: 100%;
1426
+ padding: 4px;
1427
+ border: 1px solid var(--docs-border);
1428
+ border-radius: 12px;
1429
+ background: var(--docs-card);
1430
+ box-shadow: var(--docs-shadow);
1431
+ }
1432
+ .w100n-pdf-bar button:not(.w100n-docs-action),
1433
+ .w100n-pdf-find button {
1434
+ display: grid;
1435
+ place-items: center;
1436
+ width: 30px;
1437
+ height: 30px;
1438
+ border-radius: 8px;
1439
+ color: var(--docs-muted);
1440
+ }
1441
+ .w100n-pdf-bar button:not(.w100n-docs-action):hover:not(:disabled),
1442
+ .w100n-pdf-find button:hover:not(:disabled) {
1443
+ background: var(--docs-hover);
1444
+ color: var(--docs-text);
1445
+ }
1446
+ .w100n-docs .w100n-pdf-bar button[aria-pressed=true] {
1447
+ color: #fff;
1448
+ background:
1449
+ linear-gradient(
1450
+ 145deg,
1451
+ #8b5cf6,
1452
+ #6d28d9);
1453
+ box-shadow: 0 6px 14px -6px #7c3aed99;
1454
+ }
1455
+ .w100n-pdf-bar .w100n-docs-action {
1456
+ margin-left: 6px;
1457
+ }
1458
+ .w100n-pdf-gap {
1459
+ width: 1px;
1460
+ height: 20px;
1461
+ margin: 0 5px;
1462
+ background: var(--docs-border);
1463
+ }
1464
+ .w100n-pdf-pageno {
1465
+ display: flex;
1466
+ align-items: center;
1467
+ gap: 6px;
1468
+ padding: 0 6px;
1469
+ color: var(--docs-muted);
1470
+ font-size: 12px;
1471
+ font-variant-numeric: tabular-nums;
1472
+ white-space: nowrap;
1473
+ }
1474
+ .w100n-pdf-pageno input {
1475
+ width: 42px;
1476
+ height: 26px;
1477
+ padding: 0 4px;
1478
+ border: 1px solid var(--docs-border);
1479
+ border-radius: 7px;
1480
+ background: var(--docs-bg);
1481
+ color: var(--docs-text);
1482
+ font: inherit;
1483
+ font-weight: 650;
1484
+ text-align: center;
1485
+ outline: none;
1486
+ }
1487
+ .w100n-pdf-pageno input:focus {
1488
+ border-color: var(--docs-accent);
1489
+ }
1490
+ .w100n-pdf-zoom {
1491
+ min-width: 44px;
1492
+ text-align: center;
1493
+ font-size: 12px;
1494
+ font-weight: 650;
1495
+ font-variant-numeric: tabular-nums;
1496
+ }
1497
+ .w100n-pdf-palette {
1498
+ position: relative;
1499
+ }
1500
+ .w100n-pdf-palette i {
1501
+ display: block;
1502
+ width: 16px;
1503
+ height: 16px;
1504
+ border-radius: 50%;
1505
+ box-shadow: inset 0 0 0 1px #0f172a2e, 0 0 0 2px var(--docs-card);
1506
+ }
1507
+ .w100n-pdf-pop {
1508
+ position: absolute;
1509
+ z-index: 7;
1510
+ top: calc(100% + 8px);
1511
+ left: 50%;
1512
+ transform: translateX(-50%);
1513
+ display: grid;
1514
+ grid-template-columns: repeat(7, 30px);
1515
+ gap: 2px;
1516
+ padding: 6px;
1517
+ border: 1px solid var(--docs-border);
1518
+ border-radius: 12px;
1519
+ background: var(--docs-card);
1520
+ box-shadow: var(--docs-shadow);
1521
+ }
1522
+ .w100n-docs .w100n-pdf-pop button[aria-pressed=true] {
1523
+ background: var(--docs-active);
1524
+ box-shadow: inset 0 0 0 1px #8b5cf659;
1525
+ }
1526
+ .w100n-pdf-pop b {
1527
+ display: block;
1528
+ width: 16px;
1529
+ border-radius: 3px;
1530
+ background: var(--docs-text);
1531
+ }
1532
+ .w100n-pdf-pop.w100n-pdf-more {
1533
+ left: auto;
1534
+ right: 0;
1535
+ transform: none;
1536
+ grid-template-columns: minmax(190px, max-content);
1537
+ }
1538
+ .w100n-pdf-bar .w100n-pdf-more button:not(.w100n-docs-action) {
1539
+ display: flex;
1540
+ justify-content: flex-start;
1541
+ gap: 9px;
1542
+ width: 100%;
1543
+ height: 34px;
1544
+ padding: 0 10px;
1545
+ color: var(--docs-text);
1546
+ font-size: 12.5px;
1547
+ font-weight: 550;
1548
+ white-space: nowrap;
1549
+ }
1550
+ .w100n-docs .w100n-pdf-bar .w100n-pdf-more button[aria-pressed=true] {
1551
+ background: var(--docs-active);
1552
+ color: var(--docs-accent);
1553
+ box-shadow: none;
1554
+ }
1555
+ .w100n-pdf-find {
1556
+ position: absolute;
1557
+ z-index: 6;
1558
+ top: 52px;
1559
+ right: 12px;
1560
+ display: flex;
1561
+ align-items: center;
1562
+ gap: 4px;
1563
+ width: min(380px, calc(100% - 24px));
1564
+ height: 42px;
1565
+ padding: 0 6px 0 12px;
1566
+ border: 1px solid var(--docs-border);
1567
+ border-radius: 12px;
1568
+ background: var(--docs-card);
1569
+ box-shadow: var(--docs-shadow);
1570
+ color: var(--docs-dim);
1571
+ }
1572
+ .w100n-pdf-find input {
1573
+ flex: 1;
1574
+ min-width: 0;
1575
+ height: 100%;
1576
+ border: 0;
1577
+ outline: none;
1578
+ background: transparent;
1579
+ color: var(--docs-text);
1580
+ font: inherit;
1581
+ }
1582
+ .w100n-pdf-find span {
1583
+ color: var(--docs-muted);
1584
+ font-size: 12px;
1585
+ font-variant-numeric: tabular-nums;
1586
+ white-space: nowrap;
1587
+ }
1588
+ .w100n-pdf-hint {
1589
+ position: absolute;
1590
+ z-index: 6;
1591
+ top: 52px;
1592
+ left: 50%;
1593
+ transform: translateX(-50%);
1594
+ display: flex;
1595
+ align-items: center;
1596
+ gap: 12px;
1597
+ padding: 8px 8px 8px 14px;
1598
+ border-radius: 11px;
1599
+ background: #1e1b4b;
1600
+ color: #fff;
1601
+ font-weight: 600;
1602
+ box-shadow: var(--docs-shadow);
1603
+ white-space: nowrap;
1604
+ }
1605
+ .w100n-docs .w100n-pdf-hint button {
1606
+ height: 26px;
1607
+ padding: 0 10px;
1608
+ border-radius: 7px;
1609
+ background: #ffffff1f;
1610
+ color: #fff;
1611
+ font-weight: 600;
1612
+ }
1613
+ .w100n-pdf-body {
1614
+ flex: 1;
1615
+ min-height: 0;
1616
+ display: flex;
1617
+ gap: 10px;
1618
+ }
1619
+ .w100n-pdf-rail {
1620
+ flex-shrink: 0;
1621
+ width: 132px;
1622
+ overflow-y: auto;
1623
+ overscroll-behavior: contain;
1624
+ display: flex;
1625
+ flex-direction: column;
1626
+ align-items: center;
1627
+ gap: 12px;
1628
+ padding: 10px 0;
1629
+ border: 1px solid var(--docs-border);
1630
+ border-radius: 13px;
1631
+ background: var(--docs-side);
1632
+ scrollbar-width: thin;
1633
+ }
1634
+ .w100n-docs .w100n-pdf-thumb {
1635
+ display: grid;
1636
+ justify-items: center;
1637
+ gap: 4px;
1638
+ color: var(--docs-muted);
1639
+ font-size: 11px;
1640
+ font-weight: 600;
1641
+ font-variant-numeric: tabular-nums;
1642
+ }
1643
+ .w100n-pdf-thumb .w100n-pdf-page {
1644
+ border-radius: 3px;
1645
+ box-shadow: 0 0 0 1px var(--docs-border);
1646
+ }
1647
+ .w100n-pdf-thumb[aria-current=true] .w100n-pdf-page {
1648
+ box-shadow: 0 0 0 2px #8b5cf6;
1649
+ }
1650
+ .w100n-pdf-thumb[aria-current=true] span {
1651
+ color: var(--docs-accent);
1652
+ }
1653
+ .w100n-pdf-scroll {
1654
+ position: relative;
1655
+ flex: 1;
1656
+ min-width: 0;
1657
+ overflow: auto;
1658
+ overscroll-behavior: contain;
1659
+ outline: none;
1660
+ border-radius: 13px;
1661
+ }
1662
+ .w100n-pdf-pages {
1663
+ display: flex;
1664
+ flex-direction: column;
1665
+ align-items: center;
1666
+ gap: 16px;
1667
+ width: max-content;
1668
+ min-width: 100%;
1669
+ padding: 16px;
1670
+ }
1671
+ .w100n-pdf-page {
1672
+ position: relative;
1673
+ flex-shrink: 0;
1674
+ border-radius: 3px;
1675
+ background: #fff;
1676
+ color-scheme: only light;
1677
+ box-shadow: 0 1px 2px rgb(15 23 42 / 8%), 0 18px 40px -20px rgb(15 23 42 / 35%);
1678
+ scroll-margin-top: 12px;
1679
+ }
1680
+ .w100n-pdf-page > :is(div, svg) {
1681
+ position: absolute;
1682
+ inset: 0;
1683
+ }
1684
+ .w100n-pdf-paint canvas {
1685
+ display: block;
1686
+ width: 100%;
1687
+ height: 100%;
1688
+ }
1689
+ .w100n-pdf-words {
1690
+ z-index: 1;
1691
+ }
1692
+ .w100n-pdf-forms {
1693
+ z-index: 2;
1694
+ pointer-events: none;
1695
+ }
1696
+ svg.w100n-pdf-marks {
1697
+ z-index: 3;
1698
+ width: 100%;
1699
+ height: 100%;
1700
+ overflow: visible;
1701
+ pointer-events: none;
1702
+ fill: none;
1703
+ stroke-linecap: round;
1704
+ stroke-linejoin: round;
1705
+ }
1706
+ .w100n-pdf-marks .w100n-pdf-glow {
1707
+ mix-blend-mode: multiply;
1708
+ opacity: .45;
1709
+ }
1710
+ .w100n-pdf-scroll[data-tool=select] .w100n-pdf-marks path {
1711
+ pointer-events: stroke;
1712
+ }
1713
+ .w100n-pdf-page > .w100n-pdf-hit {
1714
+ inset: auto;
1715
+ z-index: 3;
1716
+ margin: -1px;
1717
+ padding: 1px;
1718
+ border-radius: 3px;
1719
+ background: #a78bfa59;
1720
+ pointer-events: none;
1721
+ }
1722
+ .w100n-pdf-page > .w100n-pdf-hit[data-active=true] {
1723
+ background: #f9731680;
1724
+ box-shadow: 0 0 0 1px #ea580c;
1725
+ }
1726
+ .w100n-pdf-input {
1727
+ z-index: 4;
1728
+ touch-action: none;
1729
+ }
1730
+ .w100n-pdf-input[data-tool=ink] {
1731
+ cursor: crosshair;
1732
+ }
1733
+ .w100n-pdf-input[data-tool=eraser] {
1734
+ cursor: cell;
1735
+ }
1736
+ .w100n-pdf-input[data-tool=note],
1737
+ .w100n-pdf-input[data-tool=place] {
1738
+ cursor: copy;
1739
+ }
1740
+ .w100n-pdf-scroll[data-tool=highlight] .textLayer span,
1741
+ .w100n-pdf-scroll[data-tool=underline] .textLayer span,
1742
+ .w100n-pdf-scroll[data-tool=strike] .textLayer span {
1743
+ cursor: text;
1744
+ }
1745
+ .w100n-pdf-scroll:not([data-tool=select]) :is(.w100n-pdf-note, .w100n-pdf-sign) {
1746
+ pointer-events: none;
1747
+ }
1748
+ .w100n-pdf-page > .w100n-pdf-note {
1749
+ inset: auto;
1750
+ z-index: 5;
1751
+ }
1752
+ .w100n-docs .w100n-pdf-pin {
1753
+ display: grid;
1754
+ place-items: center;
1755
+ width: calc(var(--total-scale-factor) * 20px);
1756
+ height: calc(var(--total-scale-factor) * 20px);
1757
+ min-width: 18px;
1758
+ min-height: 18px;
1759
+ border-radius: 6px;
1760
+ color: #fff;
1761
+ background:
1762
+ linear-gradient(
1763
+ 145deg,
1764
+ #fbbf24,
1765
+ #d97706);
1766
+ box-shadow: 0 6px 14px -6px #d9770699;
1767
+ }
1768
+ .w100n-pdf-pin svg {
1769
+ width: 60%;
1770
+ height: 60%;
1771
+ }
1772
+ .w100n-pdf-card {
1773
+ position: absolute;
1774
+ z-index: 1;
1775
+ top: calc(100% + 6px);
1776
+ left: 0;
1777
+ display: grid;
1778
+ gap: 8px;
1779
+ width: 240px;
1780
+ padding: 10px;
1781
+ border: 1px solid #fde68a;
1782
+ border-radius: 12px;
1783
+ background: #fffbeb;
1784
+ color: #1f2937;
1785
+ box-shadow: 0 16px 36px -14px rgb(15 23 42 / 40%);
1786
+ }
1787
+ .w100n-pdf-note[data-side~=left] .w100n-pdf-card {
1788
+ left: auto;
1789
+ right: 0;
1790
+ }
1791
+ .w100n-pdf-note[data-side~=up] .w100n-pdf-card {
1792
+ top: auto;
1793
+ bottom: calc(100% + 6px);
1794
+ }
1795
+ .w100n-pdf-card-head {
1796
+ display: flex;
1797
+ align-items: center;
1798
+ gap: 8px;
1799
+ font-size: 12px;
1800
+ }
1801
+ .w100n-pdf-card-head span {
1802
+ display: grid;
1803
+ min-width: 0;
1804
+ }
1805
+ .w100n-pdf-card-head b {
1806
+ overflow: hidden;
1807
+ text-overflow: ellipsis;
1808
+ white-space: nowrap;
1809
+ }
1810
+ .w100n-pdf-card-head small {
1811
+ color: #92400e;
1812
+ }
1813
+ .w100n-docs .w100n-pdf-card-head button {
1814
+ margin-left: auto;
1815
+ display: grid;
1816
+ place-items: center;
1817
+ width: 26px;
1818
+ height: 26px;
1819
+ border-radius: 7px;
1820
+ color: #fff;
1821
+ background:
1822
+ linear-gradient(
1823
+ 145deg,
1824
+ #f43f5e,
1825
+ #be123c);
1826
+ }
1827
+ .w100n-pdf-card-head svg {
1828
+ width: 13px;
1829
+ height: 13px;
1830
+ }
1831
+ .w100n-pdf-card textarea {
1832
+ min-height: 72px;
1833
+ resize: vertical;
1834
+ padding: 8px;
1835
+ border: 1px solid #fde68a;
1836
+ border-radius: 8px;
1837
+ background: #fff;
1838
+ color: #1f2937;
1839
+ font: inherit;
1840
+ outline: none;
1841
+ }
1842
+ .w100n-pdf-card textarea:focus {
1843
+ border-color: #f59e0b;
1844
+ }
1845
+ .w100n-pdf-page > .w100n-pdf-sign {
1846
+ inset: auto;
1847
+ z-index: 5;
1848
+ cursor: grab;
1849
+ touch-action: none;
1850
+ border-radius: 4px;
1851
+ }
1852
+ .w100n-pdf-sign img {
1853
+ display: block;
1854
+ width: 100%;
1855
+ height: 100%;
1856
+ object-fit: contain;
1857
+ pointer-events: none;
1858
+ user-select: none;
1859
+ }
1860
+ .w100n-pdf-sign[aria-selected=true] {
1861
+ outline: 1.5px dashed #7c3aed;
1862
+ outline-offset: 3px;
1863
+ }
1864
+ .w100n-pdf-grip {
1865
+ position: absolute;
1866
+ right: -7px;
1867
+ bottom: -7px;
1868
+ width: 12px;
1869
+ height: 12px;
1870
+ border: 2px solid #fff;
1871
+ border-radius: 50%;
1872
+ background: #7c3aed;
1873
+ cursor: nwse-resize;
1874
+ box-shadow: 0 1px 3px #0005;
1875
+ }
1876
+ .w100n-docs .w100n-pdf-drop {
1877
+ position: absolute;
1878
+ top: -12px;
1879
+ right: -12px;
1880
+ display: grid;
1881
+ place-items: center;
1882
+ width: 22px;
1883
+ height: 22px;
1884
+ border-radius: 50%;
1885
+ color: #fff;
1886
+ background:
1887
+ linear-gradient(
1888
+ 145deg,
1889
+ #f43f5e,
1890
+ #be123c);
1891
+ box-shadow: 0 4px 10px -4px #be123c;
1892
+ }
1893
+ .w100n-pdf-drop svg {
1894
+ width: 12px;
1895
+ height: 12px;
1896
+ }
1897
+ .w100n-pdf-back {
1898
+ position: absolute;
1899
+ inset: 0;
1900
+ z-index: 9;
1901
+ display: grid;
1902
+ place-items: center;
1903
+ padding: 16px;
1904
+ background: rgb(15 23 42 / 45%);
1905
+ border-radius: 13px;
1906
+ }
1907
+ .w100n-pdf-dialog {
1908
+ display: grid;
1909
+ gap: 12px;
1910
+ width: min(520px, 100%);
1911
+ padding: 16px;
1912
+ border: 1px solid var(--docs-border);
1913
+ border-radius: 16px;
1914
+ background: var(--docs-card);
1915
+ box-shadow: var(--docs-shadow);
1916
+ }
1917
+ .w100n-pdf-dialog-title {
1918
+ flex: 1;
1919
+ font-size: 14px;
1920
+ font-weight: 650;
1921
+ }
1922
+ .w100n-pdf-name {
1923
+ height: 38px;
1924
+ padding: 0 12px;
1925
+ border: 1px solid var(--docs-border);
1926
+ border-radius: 10px;
1927
+ background: var(--docs-bg);
1928
+ color: var(--docs-text);
1929
+ font: inherit;
1930
+ outline: none;
1931
+ }
1932
+ .w100n-pdf-name:focus {
1933
+ border-color: var(--docs-accent);
1934
+ }
1935
+ .w100n-pdf-script,
1936
+ .w100n-pdf-pad,
1937
+ .w100n-pdf-upload {
1938
+ width: 100%;
1939
+ height: 160px;
1940
+ margin: 0;
1941
+ border: 1px dashed var(--docs-line2);
1942
+ border-radius: 12px;
1943
+ background: #fff;
1944
+ }
1945
+ .w100n-pdf-script {
1946
+ display: grid;
1947
+ place-items: center;
1948
+ overflow: hidden;
1949
+ padding: 0 16px;
1950
+ color: #1e3a8a;
1951
+ font:
1952
+ 52px/1.2 "W100n Sign",
1953
+ "Segoe Script",
1954
+ "Bradley Hand",
1955
+ cursive;
1956
+ white-space: nowrap;
1957
+ text-overflow: ellipsis;
1958
+ }
1959
+ .w100n-pdf-pad {
1960
+ display: block;
1961
+ touch-action: none;
1962
+ cursor: crosshair;
1963
+ }
1964
+ .w100n-pdf-upload {
1965
+ display: grid;
1966
+ place-items: center;
1967
+ align-content: center;
1968
+ gap: 8px;
1969
+ color: #64748b;
1970
+ font-weight: 600;
1971
+ cursor: pointer;
1972
+ }
1973
+ .w100n-pdf-upload svg {
1974
+ width: 26px;
1975
+ height: 26px;
1976
+ }
1977
+ .w100n-pdf-upload img {
1978
+ max-width: 90%;
1979
+ max-height: 140px;
1980
+ object-fit: contain;
1981
+ }
1982
+ .w100n-pdf-upload input {
1983
+ position: absolute;
1984
+ width: 1px;
1985
+ height: 1px;
1986
+ opacity: 0;
1987
+ pointer-events: none;
1988
+ }
1989
+ .w100n-pdf-dialog-end {
1990
+ display: flex;
1991
+ justify-content: flex-end;
1992
+ align-items: center;
1993
+ gap: 8px;
1994
+ }
1995
+ .w100n-docs .w100n-pdf-link {
1996
+ margin-left: auto;
1997
+ height: 30px;
1998
+ padding: 0 10px;
1999
+ border-radius: 8px;
2000
+ color: var(--docs-accent);
2001
+ font-weight: 600;
2002
+ }
2003
+ .w100n-pdf-dialog-end .w100n-pdf-link {
2004
+ margin-left: 0;
2005
+ }
2006
+ .w100n-docs .w100n-pdf-link:hover {
2007
+ background: var(--docs-hover);
2008
+ }
2009
+ .w100n-pdf .textLayer {
2010
+ position: absolute;
2011
+ inset: 0;
2012
+ overflow: clip;
2013
+ opacity: 1;
2014
+ line-height: 1;
2015
+ text-align: initial;
2016
+ letter-spacing: normal;
2017
+ word-spacing: normal;
2018
+ text-size-adjust: none;
2019
+ forced-color-adjust: none;
2020
+ transform-origin: 0 0;
2021
+ caret-color: CanvasText;
2022
+ z-index: 0;
2023
+ --min-font-size: 1;
2024
+ --text-scale-factor: calc(var(--total-scale-factor) * var(--min-font-size));
2025
+ --min-font-size-inv: calc(1 / var(--min-font-size));
2026
+ }
2027
+ .w100n-pdf .textLayer :is(span, br) {
2028
+ position: absolute;
2029
+ color: transparent;
2030
+ white-space: pre;
2031
+ cursor: text;
2032
+ transform-origin: 0% 0%;
2033
+ }
2034
+ .w100n-pdf .textLayer > :not(.markedContent),
2035
+ .w100n-pdf .textLayer .markedContent span:not(.markedContent) {
2036
+ z-index: 1;
2037
+ --font-height: 0;
2038
+ font-size: calc(var(--text-scale-factor) * var(--font-height));
2039
+ --scale-x: 1;
2040
+ --rotate: 0deg;
2041
+ transform: rotate(var(--rotate)) scaleX(var(--scale-x)) scale(var(--min-font-size-inv));
2042
+ }
2043
+ .w100n-pdf .textLayer .markedContent {
2044
+ display: contents;
2045
+ }
2046
+ .w100n-pdf .textLayer ::selection {
2047
+ background: #7c3aed40;
2048
+ color: transparent;
2049
+ }
2050
+ .w100n-pdf .textLayer br::selection {
2051
+ background: transparent;
2052
+ }
2053
+ .w100n-pdf .textLayer .endOfContent {
2054
+ display: block;
2055
+ position: absolute;
2056
+ inset: 100% 0 0;
2057
+ z-index: 0;
2058
+ cursor: default;
2059
+ user-select: none;
2060
+ }
2061
+ .w100n-pdf .textLayer.selecting .endOfContent {
2062
+ top: 0;
2063
+ }
2064
+ .w100n-pdf [data-main-rotation="90"] {
2065
+ transform: rotate(90deg) translateY(-100%);
2066
+ }
2067
+ .w100n-pdf [data-main-rotation="180"] {
2068
+ transform: rotate(180deg) translate(-100%, -100%);
2069
+ }
2070
+ .w100n-pdf [data-main-rotation="270"] {
2071
+ transform: rotate(270deg) translateX(-100%);
2072
+ }
2073
+ .w100n-pdf .annotationLayer {
2074
+ position: absolute;
2075
+ top: 0;
2076
+ left: 0;
2077
+ pointer-events: none;
2078
+ transform-origin: 0 0;
2079
+ }
2080
+ .w100n-pdf .annotationLayer section {
2081
+ position: absolute;
2082
+ box-sizing: border-box;
2083
+ text-align: initial;
2084
+ pointer-events: auto;
2085
+ transform-origin: 0 0;
2086
+ user-select: none;
2087
+ }
2088
+ .w100n-pdf .annotationLayer :is(.linkAnnotation, .buttonWidgetAnnotation.pushButton) > a {
2089
+ position: absolute;
2090
+ inset: 0;
2091
+ font-size: 1em;
2092
+ }
2093
+ .w100n-pdf .annotationLayer .linkAnnotation > a:hover {
2094
+ background: #8b5cf61f;
2095
+ border-radius: 2px;
2096
+ }
2097
+ .w100n-pdf .annotationLayer :is(.textWidgetAnnotation :is(input, textarea), .choiceWidgetAnnotation select) {
2098
+ width: 100%;
2099
+ height: 100%;
2100
+ margin: 0;
2101
+ padding: 0 3px;
2102
+ box-sizing: border-box;
2103
+ vertical-align: top;
2104
+ border: 1px solid #8b5cf633;
2105
+ border-radius: 3px;
2106
+ background: #8b5cf614;
2107
+ color: #0f172a;
2108
+ font: calc(9px * var(--total-scale-factor)) sans-serif;
2109
+ outline: none;
2110
+ }
2111
+ .w100n-pdf .annotationLayer .textWidgetAnnotation textarea {
2112
+ resize: none;
2113
+ }
2114
+ .w100n-pdf .annotationLayer :is(.textWidgetAnnotation :is(input, textarea), .choiceWidgetAnnotation select):hover {
2115
+ border-color: #8b5cf680;
2116
+ }
2117
+ .w100n-pdf .annotationLayer :is(.textWidgetAnnotation :is(input, textarea), .choiceWidgetAnnotation select):focus {
2118
+ border-color: #7c3aed;
2119
+ background: #fff;
2120
+ box-shadow: 0 0 0 3px #8b5cf62e;
2121
+ }
2122
+ .w100n-pdf .annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input {
2123
+ appearance: none;
2124
+ display: block;
2125
+ width: 100%;
2126
+ height: 100%;
2127
+ margin: 0;
2128
+ border: 1px solid #7c3aed80;
2129
+ border-radius: 3px;
2130
+ background: #8b5cf614;
2131
+ cursor: pointer;
2132
+ }
2133
+ .w100n-pdf .annotationLayer .buttonWidgetAnnotation.radioButton input {
2134
+ border-radius: 50%;
2135
+ }
2136
+ .w100n-pdf .annotationLayer .buttonWidgetAnnotation.checkBox input:checked {
2137
+ border-color: #7c3aed;
2138
+ background: #7c3aed center / 78% no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E");
2139
+ }
2140
+ .w100n-pdf .annotationLayer .buttonWidgetAnnotation.radioButton input:checked {
2141
+ border-color: #7c3aed;
2142
+ background:
2143
+ radial-gradient(
2144
+ circle,
2145
+ #7c3aed 0 40%,
2146
+ #fff 44%);
2147
+ }
2148
+ .w100n-pdf .annotationLayer :is(input, textarea, select):focus-visible {
2149
+ box-shadow: 0 0 0 3px #8b5cf640;
2150
+ }
2151
+ .w100n-pdf .annotationLayer :is(input, textarea, select):disabled {
2152
+ background: none;
2153
+ border-color: transparent;
2154
+ cursor: not-allowed;
2155
+ }
2156
+ .w100n-pdf .annotationLayer .popupAnnotation {
2157
+ position: absolute;
2158
+ z-index: 1;
2159
+ width: max-content;
2160
+ max-width: 45%;
2161
+ pointer-events: none;
2162
+ font-size: 12px;
2163
+ }
2164
+ .w100n-pdf .annotationLayer .popup {
2165
+ display: grid;
2166
+ gap: 4px;
2167
+ max-width: 260px;
2168
+ padding: 9px 11px;
2169
+ border: 1px solid #fde68a;
2170
+ border-radius: 10px;
2171
+ background: #fffbeb;
2172
+ color: #1f2937;
2173
+ box-shadow: 0 16px 36px -14px rgb(15 23 42 / 40%);
2174
+ font: 12px/1.45 inherit;
2175
+ white-space: normal;
2176
+ overflow-wrap: anywhere;
2177
+ pointer-events: auto;
2178
+ user-select: text;
2179
+ }
2180
+ .w100n-pdf .annotationLayer .popup .header {
2181
+ display: flex;
2182
+ flex-wrap: wrap;
2183
+ align-items: baseline;
2184
+ gap: 2px 8px;
2185
+ }
2186
+ .w100n-pdf .annotationLayer .popup .header .title {
2187
+ margin: 0;
2188
+ font-size: 12px;
2189
+ font-weight: 700;
2190
+ }
2191
+ .w100n-pdf .annotationLayer .popup .header .popupDate {
2192
+ color: #92400e;
2193
+ font-size: 11px;
2194
+ }
2195
+ .w100n-pdf .annotationLayer .popup .popupContent {
2196
+ margin: 0;
2197
+ padding: 0;
2198
+ }
2199
+ .w100n-pdf .annotationLayer .popup .popupContent p {
2200
+ margin: 0;
2201
+ }
2202
+ .w100n-pdf .annotationLayer .overlaidText {
2203
+ position: absolute;
2204
+ top: 0;
2205
+ left: 0;
2206
+ width: 0;
2207
+ height: 0;
2208
+ overflow: hidden;
2209
+ }
2210
+ .w100n-pdf .annotationLayer section > svg,
2211
+ .w100n-pdf .annotationLayer .textAnnotation img {
2212
+ position: absolute;
2213
+ inset: 0;
2214
+ width: 100%;
2215
+ height: 100%;
2216
+ }
2217
+ .w100n-pdf .annotationLayer .textAnnotation img {
2218
+ opacity: 0;
2219
+ cursor: pointer;
2220
+ }
2221
+ .w100n-pdf .annotationLayer [hidden] {
2222
+ display: none;
2223
+ }
2224
+ .w100n-text {
2225
+ position: relative;
2226
+ flex: 1;
2227
+ min-height: 0;
2228
+ display: flex;
2229
+ flex-direction: column;
2230
+ gap: 8px;
2231
+ }
2232
+ .w100n-text-ribbon {
2233
+ align-self: center;
2234
+ display: grid;
2235
+ grid-template-columns: minmax(0, 1fr);
2236
+ gap: 4px;
2237
+ width: min(100%, 1000px);
2238
+ padding: 4px;
2239
+ border: 1px solid var(--docs-border);
2240
+ border-radius: 12px;
2241
+ background: var(--docs-card);
2242
+ box-shadow: var(--docs-shadow);
2243
+ }
2244
+ .w100n-text-tabs {
2245
+ display: flex;
2246
+ align-items: center;
2247
+ gap: 8px;
2248
+ padding: 0 2px 4px;
2249
+ border-bottom: 1px solid var(--docs-border);
2250
+ }
2251
+ .w100n-text-tabs [role=tablist] {
2252
+ display: flex;
2253
+ flex-wrap: wrap;
2254
+ gap: 2px;
2255
+ }
2256
+ .w100n-text-tabs [role=tab] {
2257
+ height: 28px;
2258
+ padding: 0 10px;
2259
+ border-radius: 8px;
2260
+ color: var(--docs-muted);
2261
+ font-size: 12.5px;
2262
+ font-weight: 600;
2263
+ }
2264
+ .w100n-text-tabs [role=tab]:hover {
2265
+ color: var(--docs-text);
2266
+ background: var(--docs-hover);
2267
+ }
2268
+ .w100n-text-tabs [role=tab][aria-selected=true] {
2269
+ color: var(--docs-text);
2270
+ background: var(--docs-soft);
2271
+ box-shadow: inset 0 -2px 0 var(--docs-accent);
2272
+ }
2273
+ .w100n-text-end {
2274
+ display: flex;
2275
+ align-items: center;
2276
+ gap: 2px;
2277
+ margin-left: auto;
2278
+ }
2279
+ .w100n-text-end .w100n-docs-action {
2280
+ margin-left: 6px;
2281
+ }
2282
+ .w100n-text-tools {
2283
+ display: flex;
2284
+ flex-wrap: wrap;
2285
+ align-items: center;
2286
+ gap: 2px;
2287
+ min-height: 32px;
2288
+ }
2289
+ .w100n-text-ribbon :is(.w100n-text-tools, .w100n-text-anchor, .w100n-text-end) > button:not(.w100n-docs-action) {
2290
+ position: relative;
2291
+ display: grid;
2292
+ place-items: center;
2293
+ width: 30px;
2294
+ height: 30px;
2295
+ border-radius: 8px;
2296
+ color: var(--docs-muted);
2297
+ }
2298
+ .w100n-text-ribbon :is(.w100n-text-tools, .w100n-text-anchor, .w100n-text-end) > button:not(.w100n-docs-action):hover:not(:disabled) {
2299
+ background: var(--docs-hover);
2300
+ color: var(--docs-text);
2301
+ }
2302
+ .w100n-docs .w100n-text-ribbon button[aria-pressed=true] {
2303
+ color: #fff;
2304
+ background:
2305
+ linear-gradient(
2306
+ 145deg,
2307
+ #8b5cf6,
2308
+ #6d28d9);
2309
+ box-shadow: 0 6px 14px -6px #7c3aed99;
2310
+ }
2311
+ .w100n-text-ribbon .w100n-text-tools > button.w100n-text-word {
2312
+ display: inline-flex;
2313
+ gap: 6px;
2314
+ width: auto;
2315
+ padding: 0 10px;
2316
+ font-size: 12.5px;
2317
+ font-weight: 600;
2318
+ }
2319
+ .w100n-text-word b {
2320
+ color: var(--docs-accent);
2321
+ font-size: 11.5px;
2322
+ font-variant-numeric: tabular-nums;
2323
+ }
2324
+ .w100n-text-word[aria-pressed=true] b {
2325
+ color: inherit;
2326
+ }
2327
+ .w100n-text-label {
2328
+ padding: 0 4px 0 6px;
2329
+ color: var(--docs-dim);
2330
+ font-size: 11.5px;
2331
+ font-weight: 600;
2332
+ }
2333
+ .w100n-text-anchor {
2334
+ position: relative;
2335
+ display: inline-flex;
2336
+ }
2337
+ .w100n-text-ribbon .w100n-text-anchor > button.w100n-text-picker {
2338
+ display: flex;
2339
+ justify-content: space-between;
2340
+ gap: 6px;
2341
+ width: 136px;
2342
+ padding: 0 8px 0 10px;
2343
+ border: 1px solid var(--docs-border);
2344
+ color: var(--docs-text);
2345
+ font-size: 12.5px;
2346
+ font-weight: 600;
2347
+ white-space: nowrap;
2348
+ }
2349
+ .w100n-text-picker svg {
2350
+ width: 14px;
2351
+ height: 14px;
2352
+ color: var(--docs-dim);
2353
+ }
2354
+ .w100n-text-bar {
2355
+ position: absolute;
2356
+ left: 8px;
2357
+ right: 8px;
2358
+ bottom: 4px;
2359
+ height: 3px;
2360
+ border-radius: 2px;
2361
+ }
2362
+ .w100n-text-pop {
2363
+ position: absolute;
2364
+ z-index: 8;
2365
+ top: calc(100% + 8px);
2366
+ left: 0;
2367
+ padding: 6px;
2368
+ border: 1px solid var(--docs-border);
2369
+ border-radius: 12px;
2370
+ background: var(--docs-card);
2371
+ box-shadow: var(--docs-shadow);
2372
+ }
2373
+ .w100n-text-styles {
2374
+ display: grid;
2375
+ gap: 2px;
2376
+ min-width: 190px;
2377
+ }
2378
+ .w100n-text-styles button {
2379
+ padding: 6px 10px;
2380
+ border-radius: 8px;
2381
+ text-align: left;
2382
+ font-size: 13px;
2383
+ }
2384
+ .w100n-text-styles button:hover {
2385
+ background: var(--docs-hover);
2386
+ }
2387
+ .w100n-text-styles button[aria-selected=true] {
2388
+ background: var(--docs-active);
2389
+ color: var(--docs-accent);
2390
+ }
2391
+ .w100n-text-styles [data-style=h1] {
2392
+ font-size: 18px;
2393
+ font-weight: 700;
2394
+ }
2395
+ .w100n-text-styles [data-style=h2] {
2396
+ font-size: 16px;
2397
+ font-weight: 700;
2398
+ }
2399
+ .w100n-text-styles [data-style=h3] {
2400
+ font-size: 14.5px;
2401
+ font-weight: 650;
2402
+ }
2403
+ .w100n-text-styles [data-style=h4] {
2404
+ font-size: 13.5px;
2405
+ font-weight: 650;
2406
+ }
2407
+ .w100n-text-styles [data-style=quote] {
2408
+ font-style: italic;
2409
+ color: var(--docs-muted);
2410
+ }
2411
+ .w100n-text-styles [data-style=code] {
2412
+ font-family:
2413
+ ui-monospace,
2414
+ SFMono-Regular,
2415
+ Menlo,
2416
+ monospace;
2417
+ font-size: 12.5px;
2418
+ }
2419
+ .w100n-text-swatches {
2420
+ display: grid;
2421
+ grid-template-columns: repeat(5, 28px);
2422
+ gap: 4px;
2423
+ }
2424
+ .w100n-text-swatches button {
2425
+ display: grid;
2426
+ place-items: center;
2427
+ width: 28px;
2428
+ height: 28px;
2429
+ border-radius: 8px;
2430
+ }
2431
+ .w100n-text-swatches button:hover {
2432
+ background: var(--docs-hover);
2433
+ }
2434
+ .w100n-docs .w100n-text-swatches button[aria-pressed=true] {
2435
+ background: var(--docs-active);
2436
+ box-shadow: inset 0 0 0 1px #8b5cf659;
2437
+ }
2438
+ .w100n-text-swatches i {
2439
+ display: block;
2440
+ width: 16px;
2441
+ height: 16px;
2442
+ border-radius: 50%;
2443
+ box-shadow: inset 0 0 0 1px #0f172a2e;
2444
+ }
2445
+ .w100n-text-swatches .w100n-text-none {
2446
+ grid-column: 1 / -1;
2447
+ width: auto;
2448
+ height: 28px;
2449
+ padding: 0 8px;
2450
+ color: var(--docs-muted);
2451
+ font-size: 12px;
2452
+ font-weight: 600;
2453
+ text-align: left;
2454
+ }
2455
+ .w100n-text-grid {
2456
+ display: grid;
2457
+ gap: 6px;
2458
+ }
2459
+ .w100n-text-grid > span {
2460
+ display: grid;
2461
+ grid-template-columns: repeat(8, 18px);
2462
+ gap: 3px;
2463
+ }
2464
+ .w100n-text-grid button {
2465
+ width: 18px;
2466
+ height: 18px;
2467
+ border: 1px solid var(--docs-line2);
2468
+ border-radius: 4px;
2469
+ }
2470
+ .w100n-text-grid button[data-on=true] {
2471
+ border-color: #8b5cf6;
2472
+ background: #8b5cf633;
2473
+ }
2474
+ .w100n-text-grid small {
2475
+ color: var(--docs-muted);
2476
+ font-size: 11.5px;
2477
+ font-weight: 600;
2478
+ text-align: center;
2479
+ font-variant-numeric: tabular-nums;
2480
+ }
2481
+ .w100n-text-form {
2482
+ display: grid;
2483
+ gap: 8px;
2484
+ width: 300px;
2485
+ }
2486
+ .w100n-text-form input:not([type=file]) {
2487
+ height: 34px;
2488
+ padding: 0 10px;
2489
+ border: 1px solid var(--docs-border);
2490
+ border-radius: 9px;
2491
+ background: var(--docs-bg);
2492
+ color: var(--docs-text);
2493
+ font: inherit;
2494
+ outline: none;
2495
+ }
2496
+ .w100n-text-form input:focus {
2497
+ border-color: var(--docs-accent);
2498
+ }
2499
+ .w100n-text-form .w100n-docs-row {
2500
+ justify-content: flex-end;
2501
+ }
2502
+ .w100n-text-form .w100n-pdf-link {
2503
+ display: inline-flex;
2504
+ align-items: center;
2505
+ gap: 6px;
2506
+ margin-left: 0;
2507
+ margin-right: auto;
2508
+ cursor: pointer;
2509
+ line-height: 30px;
2510
+ }
2511
+ .w100n-text-scroll {
2512
+ position: relative;
2513
+ flex: 1;
2514
+ min-height: 0;
2515
+ overflow: auto;
2516
+ overscroll-behavior: contain;
2517
+ border-radius: 13px;
2518
+ }
2519
+ .w100n-text-zoomed {
2520
+ display: flex;
2521
+ flex-direction: column;
2522
+ align-items: flex-start;
2523
+ min-height: 100%;
2524
+ padding: 12px 12px 48px;
2525
+ }
2526
+ .w100n-text-column {
2527
+ flex-shrink: 0;
2528
+ margin: 0 auto;
2529
+ }
2530
+ .w100n-text-sheet {
2531
+ flex-shrink: 0;
2532
+ margin: 0 auto;
2533
+ width: var(--page-w);
2534
+ max-width: none;
2535
+ min-height: var(--page-h);
2536
+ padding: var(--mt) var(--mr) var(--mb) var(--ml);
2537
+ border-radius: 3px;
2538
+ background: var(--docs-paper);
2539
+ color: #1f2937;
2540
+ color-scheme: only light;
2541
+ box-shadow: 0 1px 2px rgb(15 23 42 / 8%), 0 18px 40px -20px rgb(15 23 42 / 35%);
2542
+ font-size: 14.5px;
2543
+ line-height: 1.55;
2544
+ }
2545
+ .w100n-text-body {
2546
+ position: relative;
2547
+ min-height: 1.6em;
2548
+ outline: none;
2549
+ white-space: pre-wrap;
2550
+ word-wrap: break-word;
2551
+ color: #1f2937;
2552
+ }
2553
+ .w100n-text-column .w100n-text-body > * {
2554
+ content-visibility: auto;
2555
+ contain-intrinsic-size: auto 1.7em;
2556
+ }
2557
+ .w100n-text-body :is(h4, h5, h6) {
2558
+ margin: 22px 0 10px;
2559
+ color: #0f172a;
2560
+ font-weight: 650;
2561
+ line-height: 1.3;
2562
+ }
2563
+ .w100n-text-body h4 {
2564
+ font-size: 15.5px;
2565
+ }
2566
+ .w100n-text-body :is(h5, h6) {
2567
+ font-size: 14px;
2568
+ }
2569
+ .w100n-text-body p:empty::before {
2570
+ content: "\200b";
2571
+ }
2572
+ .w100n-text-body img {
2573
+ max-width: 100%;
2574
+ height: auto;
2575
+ vertical-align: bottom;
2576
+ }
2577
+ .w100n-text-body .ProseMirror-selectednode {
2578
+ outline: 2px solid #8b5cf6;
2579
+ outline-offset: 1px;
2580
+ }
2581
+ .w100n-text-body li > p {
2582
+ margin: 0;
2583
+ }
2584
+ .w100n-text-body ul[data-type=taskList] {
2585
+ list-style: none;
2586
+ padding-left: 2px;
2587
+ }
2588
+ .w100n-text-body ul[data-type=taskList] > li {
2589
+ display: flex;
2590
+ gap: 8px;
2591
+ align-items: flex-start;
2592
+ }
2593
+ .w100n-text-body ul[data-type=taskList] > li > label {
2594
+ position: relative;
2595
+ flex: none;
2596
+ margin-top: .25em;
2597
+ user-select: none;
2598
+ }
2599
+ .w100n-text-body ul[data-type=taskList] > li > label input {
2600
+ display: block;
2601
+ width: 15px;
2602
+ height: 15px;
2603
+ margin: 0;
2604
+ accent-color: #7c3aed;
2605
+ cursor: pointer;
2606
+ }
2607
+ .w100n-text-body ul[data-type=taskList] > li > div {
2608
+ flex: 1;
2609
+ min-width: 0;
2610
+ }
2611
+ .w100n-text-body ul[data-type=taskList] > li[data-checked=true] > div {
2612
+ color: #64748b;
2613
+ text-decoration: line-through;
2614
+ }
2615
+ .w100n-text-body .tableWrapper {
2616
+ margin: 0 0 14px;
2617
+ overflow-x: auto;
2618
+ }
2619
+ .w100n-text-body table {
2620
+ display: table;
2621
+ width: 100%;
2622
+ margin: 0;
2623
+ table-layout: fixed;
2624
+ }
2625
+ .w100n-text-body :is(td, th) {
2626
+ position: relative;
2627
+ min-width: 48px;
2628
+ vertical-align: top;
2629
+ }
2630
+ .w100n-text-body th {
2631
+ background: #f8fafc;
2632
+ font-weight: 650;
2633
+ text-align: left;
2634
+ }
2635
+ .w100n-text-body :is(td, th) > :last-child {
2636
+ margin-bottom: 0;
2637
+ }
2638
+ .w100n-text-body .selectedCell::after {
2639
+ content: "";
2640
+ position: absolute;
2641
+ inset: 0;
2642
+ background: #8b5cf626;
2643
+ pointer-events: none;
2644
+ }
2645
+ .w100n-text-body pre {
2646
+ white-space: pre;
2647
+ }
2648
+ .w100n-text-body pre code {
2649
+ padding: 0;
2650
+ background: none;
2651
+ }
2652
+ .w100n-text-body .w100n-text-lock {
2653
+ position: relative;
2654
+ padding: 8px 12px 8px 34px;
2655
+ border: 1px dashed #cbd5e1;
2656
+ border-radius: 9px;
2657
+ background: #f8fafc;
2658
+ color: #64748b;
2659
+ font-size: 12.5px;
2660
+ cursor: default;
2661
+ user-select: none;
2662
+ }
2663
+ .w100n-text-lock::before {
2664
+ content: "";
2665
+ position: absolute;
2666
+ left: 12px;
2667
+ top: 11px;
2668
+ width: 14px;
2669
+ height: 14px;
2670
+ background: #64748b;
2671
+ -webkit-mask: var(--w100n-lock) center / contain no-repeat;
2672
+ mask: var(--w100n-lock) center / contain no-repeat;
2673
+ }
2674
+ .w100n-text-lock::after {
2675
+ content: attr(data-label);
2676
+ margin-left: 8px;
2677
+ padding: 1px 7px;
2678
+ border-radius: 6px;
2679
+ background: #e2e8f0;
2680
+ color: #475569;
471
2681
  font-size: 10.5px;
472
2682
  font-weight: 700;
473
- letter-spacing: .06em;
2683
+ white-space: nowrap;
2684
+ }
2685
+ .w100n-text-body {
2686
+ --w100n-lock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='11' x='3' y='11' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E");
2687
+ }
2688
+ .w100n-text-toc {
2689
+ display: flex;
2690
+ flex-direction: column;
2691
+ gap: 2px;
2692
+ margin: 0 0 1em;
2693
+ padding: 12px 14px;
2694
+ border: 1px solid #e2e8f0;
2695
+ border-radius: 10px;
2696
+ background: #f8fafc;
2697
+ user-select: none;
2698
+ }
2699
+ .w100n-text-toc > b {
2700
+ margin-bottom: 4px;
2701
+ color: #0f172a;
2702
+ font-size: 13px;
2703
+ }
2704
+ .w100n-text-toc > button {
2705
+ padding: 2px 6px;
2706
+ border: 0;
2707
+ border-radius: 6px;
2708
+ background: none;
2709
+ color: #334155;
2710
+ font: inherit;
2711
+ font-size: 13px;
2712
+ text-align: left;
2713
+ cursor: pointer;
2714
+ }
2715
+ .w100n-text-toc > button:hover {
2716
+ background: #ede9fe;
2717
+ color: #5b21b6;
2718
+ }
2719
+ .w100n-text-toc > button[data-level="2"] {
2720
+ padding-left: 22px;
2721
+ }
2722
+ .w100n-text-toc > button[data-level="3"] {
2723
+ padding-left: 38px;
2724
+ font-size: 12.5px;
2725
+ }
2726
+ .w100n-text-toc > small {
2727
+ color: #64748b;
2728
+ font-size: 12px;
2729
+ }
2730
+ .ProseMirror-selectednode.w100n-text-toc {
2731
+ outline: 2px solid #8b5cf6;
2732
+ }
2733
+ .w100n-text-body ins.w100n-text-rev {
2734
+ color: #15803d;
2735
+ background: #dcfce7;
2736
+ text-decoration: underline;
2737
+ text-decoration-color: #22c55e;
2738
+ }
2739
+ .w100n-text-body del.w100n-text-rev {
2740
+ color: #b91c1c;
2741
+ background: #fee2e2;
2742
+ text-decoration: line-through;
2743
+ }
2744
+ .w100n-text-change[data-kind=insertion] {
2745
+ border-left: 3px solid #22c55e;
2746
+ }
2747
+ .w100n-text-change[data-kind=deletion] {
2748
+ border-left: 3px solid #ef4444;
2749
+ }
2750
+ .w100n-text-change p {
2751
+ margin: 0;
2752
+ font-size: 12.5px;
2753
+ color: var(--docs-muted);
2754
+ }
2755
+ .w100n-text-change q {
2756
+ color: var(--docs-text);
2757
+ font-weight: 600;
2758
+ }
2759
+ .w100n-text-note {
2760
+ background: #fde68a99;
2761
+ border-bottom: 2px solid #f59e0b;
2762
+ cursor: pointer;
2763
+ }
2764
+ .w100n-text-note.is-active {
2765
+ background: #fcd34d;
2766
+ }
2767
+ .w100n-text-break {
2768
+ position: relative;
2769
+ height: 18px;
2770
+ margin: 10px 0;
2771
+ border-top: 1px dashed #cbd5e1;
2772
+ }
2773
+ .w100n-text-break::after {
2774
+ content: attr(data-label);
2775
+ position: absolute;
2776
+ top: -9px;
2777
+ left: 50%;
2778
+ transform: translateX(-50%);
2779
+ padding: 0 8px;
2780
+ background: var(--docs-paper);
2781
+ color: #64748b;
2782
+ font-size: 10px;
2783
+ font-weight: 700;
2784
+ letter-spacing: .05em;
2785
+ line-height: 18px;
474
2786
  text-transform: uppercase;
2787
+ white-space: nowrap;
475
2788
  }
476
- .w100n-docs-grid {
2789
+ .w100n-text-body .w100n-text-break.ProseMirror-selectednode {
2790
+ outline: none;
2791
+ border-top-color: #8b5cf6;
2792
+ }
2793
+ .w100n-text-gap {
2794
+ position: relative;
2795
+ margin: 0 calc(-1 * var(--mr)) 0 calc(-1 * var(--ml));
2796
+ pointer-events: none;
2797
+ user-select: none;
2798
+ background:
2799
+ linear-gradient(
2800
+ to bottom,
2801
+ transparent calc(100% - var(--mt) - 24px),
2802
+ var(--docs-bg) 0 calc(100% - var(--mt)),
2803
+ transparent 0);
2804
+ }
2805
+ .w100n-text-gap::after {
2806
+ content: attr(data-page);
2807
+ position: absolute;
2808
+ right: var(--mr);
2809
+ bottom: calc(var(--mt) + 24px + var(--mb) / 2 - 7px);
2810
+ color: #64748b;
2811
+ font-size: 10px;
2812
+ font-variant-numeric: tabular-nums;
2813
+ }
2814
+ .w100n-text-gap.is-end {
2815
+ background: none;
2816
+ }
2817
+ .w100n-text-gap.is-end::after {
2818
+ bottom: calc(var(--mb) / -2 - 7px);
2819
+ }
2820
+ .w100n-text-notes {
477
2821
  display: grid;
478
- grid-template-columns: repeat(auto-fill, minmax(124px, 1fr));
2822
+ gap: 10px;
2823
+ }
2824
+ .w100n-text-notes > .w100n-docs-row .w100n-docs-caption {
2825
+ padding: 0;
2826
+ }
2827
+ .w100n-text-card {
2828
+ display: grid;
2829
+ gap: 7px;
2830
+ padding: 10px;
2831
+ border: 1px solid var(--docs-border);
2832
+ border-radius: 12px;
2833
+ background: var(--docs-card);
2834
+ cursor: pointer;
2835
+ transition: border-color .15s;
2836
+ }
2837
+ .w100n-text-card:hover {
2838
+ border-color: #8b5cf666;
2839
+ }
2840
+ .w100n-text-card[aria-current=true] {
2841
+ border-color: #8b5cf6;
2842
+ box-shadow: 0 0 0 1px #8b5cf6;
2843
+ }
2844
+ .w100n-text-card[data-resolved=true] {
2845
+ opacity: .75;
2846
+ }
2847
+ .w100n-text-draft {
2848
+ cursor: default;
2849
+ border-color: #8b5cf6;
2850
+ }
2851
+ .w100n-text-card header {
2852
+ display: flex;
2853
+ align-items: center;
479
2854
  gap: 8px;
2855
+ min-width: 0;
2856
+ }
2857
+ .w100n-text-who {
2858
+ display: grid;
2859
+ flex: 1;
2860
+ min-width: 0;
2861
+ line-height: 1.3;
2862
+ }
2863
+ .w100n-text-who b {
2864
+ overflow: hidden;
2865
+ text-overflow: ellipsis;
2866
+ white-space: nowrap;
2867
+ font-weight: 650;
2868
+ }
2869
+ .w100n-text-who small {
2870
+ color: var(--docs-dim);
2871
+ font-size: 11px;
2872
+ white-space: nowrap;
2873
+ }
2874
+ .w100n-text-face {
2875
+ display: grid;
2876
+ place-items: center;
2877
+ width: 24px;
2878
+ height: 24px;
2879
+ flex-shrink: 0;
2880
+ border-radius: 8px;
2881
+ color: #fff;
2882
+ background:
2883
+ linear-gradient(
2884
+ 145deg,
2885
+ #8b5cf6,
2886
+ #6d28d9);
2887
+ font-size: 11px;
2888
+ font-weight: 700;
2889
+ object-fit: cover;
480
2890
  }
481
- .w100n-docs .w100n-docs-card {
2891
+ .w100n-text-people {
482
2892
  display: flex;
483
- flex-direction: column;
484
- min-width: 0;
485
- overflow: hidden;
486
- border: 1px solid var(--docs-border);
487
- border-radius: 12px;
488
- background: var(--docs-card);
489
- text-align: left;
490
- transition: border-color .15s, box-shadow .15s;
491
- }
492
- .w100n-docs .w100n-docs-card:hover {
493
- border-color: #8b5cf666;
494
- }
495
- .w100n-docs .w100n-docs-card[aria-current=true] {
496
- border-color: #8b5cf6;
497
- box-shadow: 0 0 0 1px #8b5cf6, 0 8px 22px -12px #8b5cf6b3;
2893
+ align-items: center;
2894
+ margin: 0 6px 0 4px;
498
2895
  }
499
- .w100n-docs-thumb {
500
- position: relative;
501
- display: block;
502
- aspect-ratio: 4 / 3;
2896
+ .w100n-text-people .w100n-text-face {
2897
+ width: 26px;
2898
+ height: 26px;
2899
+ margin-left: -6px;
503
2900
  overflow: hidden;
504
- border-bottom: 1px solid var(--docs-border);
505
- background: var(--docs-thumb);
2901
+ border-radius: 50%;
2902
+ background:
2903
+ linear-gradient(
2904
+ 145deg,
2905
+ var(--face),
2906
+ color-mix(in srgb, var(--face), #000 28%));
2907
+ box-shadow: 0 0 0 2px var(--docs-card);
506
2908
  }
507
- .w100n-docs-thumb img {
2909
+ .w100n-text-people .w100n-text-face:first-child {
2910
+ margin-left: 0;
2911
+ }
2912
+ .w100n-text-people img {
508
2913
  width: 100%;
509
2914
  height: 100%;
510
2915
  object-fit: cover;
511
- object-position: top;
512
- background: #fff;
513
2916
  }
514
- .w100n-docs-paper {
2917
+ .w100n-text-live {
2918
+ display: inline-flex;
2919
+ align-items: center;
2920
+ gap: 6px;
2921
+ margin-right: 6px;
2922
+ color: var(--docs-muted);
2923
+ font-size: 12px;
2924
+ white-space: nowrap;
2925
+ }
2926
+ .w100n-text-live svg {
2927
+ width: 14px;
2928
+ height: 14px;
2929
+ }
2930
+ .w100n-text-body .collaboration-carets__caret {
2931
+ position: relative;
2932
+ margin: 0 -1px;
2933
+ border-left: 1px solid;
2934
+ border-right: 1px solid;
2935
+ word-break: normal;
2936
+ pointer-events: none;
2937
+ }
2938
+ .w100n-text-body .collaboration-carets__label {
515
2939
  position: absolute;
516
- inset: 9px 12px 0;
517
- display: block;
2940
+ top: -1.45em;
2941
+ left: -1px;
2942
+ padding: 1px 5px;
2943
+ border-radius: 4px 4px 4px 0;
2944
+ color: #fff;
2945
+ font-size: 11px;
2946
+ font-style: normal;
2947
+ font-weight: 600;
2948
+ line-height: 1.3;
2949
+ white-space: nowrap;
2950
+ user-select: none;
2951
+ }
2952
+ .w100n-text-card blockquote {
2953
+ margin: 0;
2954
+ padding-left: 8px;
2955
+ border-left: 3px solid #f59e0b;
2956
+ color: var(--docs-muted);
2957
+ font-size: 12px;
2958
+ overflow-wrap: anywhere;
2959
+ max-height: 3em;
518
2960
  overflow: hidden;
519
- padding: 9px 10px;
520
- border-radius: 4px 4px 0 0;
521
- background: #fff;
522
- color: #475569;
523
- box-shadow: 0 2px 8px rgb(15 23 42 / 12%);
524
- font-size: 5.6px;
525
- line-height: 1.45;
2961
+ }
2962
+ .w100n-text-card p {
2963
+ margin: 0;
2964
+ white-space: pre-wrap;
526
2965
  overflow-wrap: anywhere;
527
2966
  }
528
- .w100n-docs-paper b {
529
- display: block;
530
- margin-bottom: 4px;
531
- color: #0f172a;
532
- font-size: 8px;
533
- line-height: 1.2;
534
- font-weight: 700;
2967
+ .w100n-text-reply {
2968
+ display: grid;
2969
+ gap: 5px;
2970
+ margin-left: 4px;
2971
+ padding: 6px 0 0 10px;
2972
+ border-left: 2px solid var(--docs-border);
2973
+ cursor: default;
535
2974
  }
536
- .w100n-docs-paper i {
537
- display: block;
538
- height: 4px;
539
- margin-bottom: 5px;
540
- border-radius: 2px;
541
- background: #e2e8f0;
2975
+ .w100n-text-card textarea {
2976
+ min-height: 64px;
2977
+ resize: vertical;
2978
+ padding: 8px;
2979
+ border: 1px solid var(--docs-border);
2980
+ border-radius: 8px;
2981
+ background: var(--docs-bg);
2982
+ color: var(--docs-text);
2983
+ font: inherit;
2984
+ outline: none;
542
2985
  }
543
- .w100n-docs-paper i:first-child {
544
- width: 62%;
545
- height: 6px;
546
- background: #334155;
2986
+ .w100n-text-card textarea:focus {
2987
+ border-color: var(--docs-accent);
547
2988
  }
548
- .w100n-docs-paper i:nth-child(3) {
549
- width: 84%;
2989
+ .w100n-text-actions {
2990
+ display: flex;
2991
+ align-items: center;
2992
+ justify-content: flex-end;
2993
+ gap: 6px;
550
2994
  }
551
- .w100n-docs-paper i:nth-child(5) {
552
- width: 48%;
2995
+ .w100n-text-actions .w100n-docs-badge {
2996
+ margin-right: auto;
2997
+ }
2998
+ .w100n-docs .w100n-text-notes .w100n-docs-action {
2999
+ height: 28px;
3000
+ padding: 0 10px;
3001
+ font-size: 12px;
3002
+ }
3003
+ .w100n-docs .w100n-docs-action[data-tone=green] {
3004
+ background:
3005
+ linear-gradient(
3006
+ 135deg,
3007
+ #08865c,
3008
+ #047857);
3009
+ }
3010
+ .w100n-text-card header .w100n-text-own {
3011
+ display: flex;
3012
+ gap: 4px;
3013
+ }
3014
+ .w100n-docs .w100n-text-own button {
3015
+ display: grid;
3016
+ place-items: center;
3017
+ width: 24px;
3018
+ height: 24px;
3019
+ border-radius: 7px;
3020
+ color: #fff;
3021
+ background:
3022
+ linear-gradient(
3023
+ 145deg,
3024
+ #8b5cf6,
3025
+ #6d28d9);
3026
+ }
3027
+ .w100n-docs .w100n-text-own button[data-tone=red] {
3028
+ background:
3029
+ linear-gradient(
3030
+ 145deg,
3031
+ #e11d48,
3032
+ #be123c);
3033
+ }
3034
+ .w100n-text-own svg {
3035
+ width: 12px;
3036
+ height: 12px;
3037
+ }
3038
+ .w100n-text-edit {
3039
+ margin-left: 0;
3040
+ padding-left: 0;
3041
+ border-left: 0;
3042
+ }
3043
+ .w100n-text-confirm {
3044
+ display: grid;
3045
+ gap: 8px;
3046
+ padding: 8px 10px;
3047
+ border: 1px solid #fecdd3;
3048
+ border-radius: 9px;
3049
+ background: #fff1f2;
3050
+ color: #881337;
3051
+ cursor: default;
3052
+ }
3053
+ .w100n-docs[data-theme=dark] .w100n-text-confirm {
3054
+ border-color: #f43f5e4d;
3055
+ background: #f43f5e1a;
3056
+ color: #fecdd3;
3057
+ }
3058
+ .w100n-text-confirm p {
3059
+ font-weight: 600;
3060
+ }
3061
+ .w100n-docs-about .w100n-docs-caption {
3062
+ padding: 0;
3063
+ }
3064
+ .w100n-docs-bar > .w100n-docs-close {
3065
+ flex-shrink: 0;
3066
+ }
3067
+ @container (max-width: 1180px) {
3068
+ .w100n-docs-panel {
3069
+ width: 240px;
3070
+ }
3071
+ .w100n-docs-list {
3072
+ width: 272px;
3073
+ }
3074
+ }
3075
+ @container (max-width: 900px) {
3076
+ .w100n-docs-body {
3077
+ --docs-narrow: 1;
3078
+ }
3079
+ .w100n-docs-list,
3080
+ .w100n-docs-panel {
3081
+ position: absolute;
3082
+ z-index: 5;
3083
+ top: 10px;
3084
+ bottom: 10px;
3085
+ width: min(320px, calc(100% - 20px));
3086
+ }
3087
+ .w100n-docs-list {
3088
+ left: 10px;
3089
+ }
3090
+ .w100n-docs-panel {
3091
+ right: 10px;
3092
+ }
3093
+ .w100n-docs-page {
3094
+ padding: 32px 24px;
3095
+ }
3096
+ .w100n-docs-crumbs {
3097
+ display: none;
3098
+ }
3099
+ .w100n-pdf-rail {
3100
+ position: absolute;
3101
+ z-index: 5;
3102
+ top: 50px;
3103
+ bottom: 0;
3104
+ left: 0;
3105
+ box-shadow: var(--docs-shadow);
3106
+ }
3107
+ .w100n-text-tabs {
3108
+ gap: 4px;
3109
+ }
3110
+ .w100n-text-tabs [role=tablist],
3111
+ .w100n-text-tools {
3112
+ flex-wrap: nowrap;
3113
+ min-width: 0;
3114
+ overflow-x: auto;
3115
+ scrollbar-width: none;
3116
+ }
3117
+ .w100n-text-tools {
3118
+ padding-block: 2px;
3119
+ }
3120
+ .w100n-text-tabs [role=tab],
3121
+ .w100n-text-tools > *,
3122
+ .w100n-text-end {
3123
+ flex-shrink: 0;
3124
+ }
3125
+ .w100n-text-pop {
3126
+ position: fixed;
3127
+ z-index: 30;
3128
+ top: auto;
3129
+ left: 12px;
3130
+ right: 12px;
3131
+ bottom: 12px;
3132
+ max-height: 60%;
3133
+ overflow-y: auto;
3134
+ }
3135
+ .w100n-text-form {
3136
+ width: auto;
3137
+ }
3138
+ }
3139
+ @container (max-width: 560px) {
3140
+ .w100n-docs-bar {
3141
+ gap: 8px;
3142
+ padding: 10px 12px;
3143
+ }
3144
+ .w100n-docs-bar > .w100n-docs-badge {
3145
+ display: none;
3146
+ }
3147
+ .w100n-docs-body {
3148
+ padding: 8px;
3149
+ }
3150
+ .w100n-docs-list,
3151
+ .w100n-docs-panel {
3152
+ top: 8px;
3153
+ bottom: 8px;
3154
+ width: calc(100% - 16px);
3155
+ }
3156
+ .w100n-docs-list {
3157
+ left: 8px;
3158
+ }
3159
+ .w100n-docs-panel {
3160
+ right: 8px;
3161
+ }
3162
+ .w100n-text-end .w100n-docs-action {
3163
+ margin-left: 2px;
3164
+ padding: 0 10px;
3165
+ }
3166
+ .w100n-docs-overlay .w100n-docs-end .w100n-docs-action {
3167
+ width: 32px;
3168
+ padding: 0;
3169
+ justify-content: center;
3170
+ }
3171
+ .w100n-docs-overlay .w100n-docs-end .w100n-docs-action span {
3172
+ display: none;
3173
+ }
3174
+ }
3175
+ .w100n-docs .w100n-docs-action[data-tone=blue] {
3176
+ background:
3177
+ linear-gradient(
3178
+ 135deg,
3179
+ #3b82f6,
3180
+ #1d4ed8);
3181
+ }
3182
+ .w100n-docs .w100n-docs-action[data-tone=slate] {
3183
+ background:
3184
+ linear-gradient(
3185
+ 135deg,
3186
+ #64748b,
3187
+ #475569);
3188
+ }
3189
+ .w100n-share {
3190
+ display: grid;
3191
+ gap: 10px;
3192
+ }
3193
+ .w100n-share-link,
3194
+ .w100n-share-team {
3195
+ display: grid;
3196
+ gap: 9px;
3197
+ padding: 11px;
3198
+ border: 1px solid var(--docs-border);
3199
+ border-radius: 12px;
3200
+ background: var(--docs-card);
3201
+ }
3202
+ .w100n-share-link[data-ended=true] {
3203
+ opacity: .72;
3204
+ }
3205
+ .w100n-share-link header,
3206
+ .w100n-share-team {
3207
+ display: flex;
3208
+ align-items: center;
3209
+ gap: 10px;
3210
+ min-width: 0;
3211
+ }
3212
+ .w100n-share-link header > span:last-child,
3213
+ .w100n-share-team > span:last-child {
3214
+ display: grid;
3215
+ gap: 2px;
3216
+ min-width: 0;
3217
+ }
3218
+ .w100n-share-link b,
3219
+ .w100n-share-team b {
3220
+ font-size: 13px;
3221
+ font-weight: 650;
3222
+ }
3223
+ .w100n-share-link small,
3224
+ .w100n-share-team small,
3225
+ .w100n-share-who small {
3226
+ color: var(--docs-muted);
3227
+ font-size: 11.5px;
3228
+ line-height: 1.4;
3229
+ }
3230
+ .w100n-share-tile {
3231
+ display: grid;
3232
+ place-items: center;
3233
+ width: 30px;
3234
+ height: 30px;
3235
+ flex-shrink: 0;
3236
+ border-radius: 9px;
3237
+ color: #fff;
3238
+ background:
3239
+ linear-gradient(
3240
+ 145deg,
3241
+ #8b5cf6,
3242
+ #6d28d9);
3243
+ box-shadow: 0 6px 14px -6px #7c3aed99;
3244
+ }
3245
+ .w100n-share-tile svg {
3246
+ width: 15px;
3247
+ height: 15px;
3248
+ }
3249
+ .w100n-share-tile[data-tone=blue] {
3250
+ background:
3251
+ linear-gradient(
3252
+ 145deg,
3253
+ #3b82f6,
3254
+ #1d4ed8);
3255
+ box-shadow: 0 6px 14px -6px #1d4ed899;
553
3256
  }
554
- .w100n-docs-kind {
555
- position: absolute;
556
- right: 6px;
557
- bottom: 6px;
558
- padding: 1px 6px;
559
- border-radius: 5px;
560
- color: #fff;
561
- background: #7c3aed;
562
- font-size: 9.5px;
563
- font-weight: 800;
564
- letter-spacing: .02em;
565
- text-transform: uppercase;
3257
+ .w100n-share-tile[data-tone=amber] {
3258
+ background:
3259
+ linear-gradient(
3260
+ 145deg,
3261
+ #f59e0b,
3262
+ #c2410c);
3263
+ box-shadow: 0 6px 14px -6px #c2410c99;
566
3264
  }
567
- .w100n-docs-kind[data-kind=docx] {
568
- background: #2563eb;
3265
+ .w100n-share-tile[data-tone=slate] {
3266
+ background:
3267
+ linear-gradient(
3268
+ 145deg,
3269
+ #64748b,
3270
+ #475569);
3271
+ box-shadow: 0 6px 14px -6px #47556999;
569
3272
  }
570
- .w100n-docs-kind[data-kind=pdf] {
571
- background: #e11d48;
3273
+ .w100n-share-chips {
3274
+ display: flex;
3275
+ flex-wrap: wrap;
3276
+ gap: 6px;
572
3277
  }
573
- .w100n-docs-kind[data-kind=sheet] {
574
- background: #059669;
3278
+ .w100n-share-chips span {
3279
+ display: inline-flex;
3280
+ align-items: center;
3281
+ gap: 5px;
3282
+ height: 24px;
3283
+ padding: 0 8px;
3284
+ border-radius: 7px;
3285
+ background: var(--docs-soft);
3286
+ color: var(--docs-muted);
3287
+ font-size: 11.5px;
3288
+ font-weight: 600;
575
3289
  }
576
- .w100n-docs-kind[data-kind=slides] {
577
- background: #ea580c;
3290
+ .w100n-share-chips svg {
3291
+ width: 12px;
3292
+ height: 12px;
578
3293
  }
579
- .w100n-docs-card-text {
580
- display: grid;
581
- gap: 2px;
3294
+ .w100n-share-url {
3295
+ display: flex;
3296
+ align-items: center;
3297
+ gap: 8px;
582
3298
  min-width: 0;
583
- padding: 7px 9px 8px;
584
- }
585
- .w100n-docs-card-text b {
586
- overflow: hidden;
587
- text-overflow: ellipsis;
588
- white-space: nowrap;
589
- font-size: 12.5px;
590
- font-weight: 650;
3299
+ padding: 4px 4px 4px 10px;
3300
+ border: 1px solid var(--docs-border);
3301
+ border-radius: 10px;
3302
+ background: var(--docs-soft);
591
3303
  }
592
- .w100n-docs-card-text small {
3304
+ .w100n-share-url span {
3305
+ flex: 1;
3306
+ min-width: 0;
593
3307
  overflow: hidden;
594
3308
  text-overflow: ellipsis;
595
3309
  white-space: nowrap;
596
- color: var(--docs-dim);
597
- font-size: 11px;
598
- }
599
- .w100n-docs-muted {
600
- margin: 0;
601
- color: var(--docs-muted);
602
3310
  font-size: 12px;
603
3311
  }
604
- .w100n-docs-about {
3312
+ .w100n-docs .w100n-share-url .w100n-docs-action,
3313
+ .w100n-docs .w100n-share-tools .w100n-docs-action {
3314
+ height: 28px;
3315
+ padding: 0 10px;
3316
+ }
3317
+ .w100n-share-who {
605
3318
  display: grid;
3319
+ gap: 6px;
3320
+ }
3321
+ .w100n-share-who div {
3322
+ display: flex;
3323
+ align-items: center;
606
3324
  gap: 8px;
607
- margin-top: 14px;
608
- padding-top: 12px;
609
- border-top: 1px solid var(--docs-border);
3325
+ min-width: 0;
3326
+ font-size: 12.5px;
610
3327
  }
611
- .w100n-docs-stage {
612
- position: relative;
613
- flex: 1;
3328
+ .w100n-share-who b {
614
3329
  min-width: 0;
615
- min-height: 0;
616
- display: flex;
617
- flex-direction: column;
3330
+ overflow: hidden;
3331
+ text-overflow: ellipsis;
3332
+ white-space: nowrap;
3333
+ font-weight: 600;
618
3334
  }
619
- .w100n-docs-scroll {
620
- flex: 1;
621
- min-height: 0;
622
- overflow: auto;
623
- padding: 56px 12px 32px;
3335
+ .w100n-share-who small {
3336
+ margin-left: auto;
3337
+ white-space: nowrap;
624
3338
  }
625
- .w100n-docs-zoomed {
3339
+ .w100n-share-tools {
626
3340
  display: flex;
627
- flex-direction: column;
628
- align-items: center;
629
- gap: 16px;
630
- min-height: 100%;
3341
+ flex-wrap: wrap;
3342
+ gap: 6px;
631
3343
  }
632
- .w100n-docs-zoom {
633
- position: absolute;
634
- z-index: 3;
635
- top: 8px;
636
- left: 50%;
637
- transform: translateX(-50%);
638
- display: flex;
639
- align-items: center;
640
- gap: 2px;
641
- height: 38px;
642
- padding: 0 4px;
643
- border: 1px solid var(--docs-border);
644
- border-radius: 11px;
645
- background: var(--docs-card);
646
- box-shadow: var(--docs-shadow);
3344
+ .w100n-docs .w100n-share-new {
3345
+ justify-content: center;
647
3346
  }
648
- .w100n-docs-zoom button {
3347
+ .w100n-share-field {
649
3348
  display: grid;
650
- place-items: center;
651
- width: 30px;
652
- height: 30px;
653
- border-radius: 8px;
654
- color: var(--docs-muted);
655
- }
656
- .w100n-docs-zoom button:hover {
657
- background: var(--docs-hover);
658
- color: var(--docs-text);
3349
+ gap: 6px;
659
3350
  }
660
- .w100n-docs-zoom span {
661
- min-width: 44px;
662
- text-align: center;
3351
+ .w100n-share-field > span {
3352
+ color: var(--docs-muted);
663
3353
  font-size: 12px;
664
- font-weight: 650;
665
- font-variant-numeric: tabular-nums;
3354
+ font-weight: 600;
666
3355
  }
667
- .w100n-docs-empty {
668
- margin: auto;
669
- display: grid;
670
- justify-items: center;
671
- gap: 10px;
672
- color: var(--docs-muted);
3356
+ .w100n-docs .w100n-share-input {
3357
+ width: 100%;
3358
+ height: 36px;
3359
+ padding: 0 10px;
3360
+ border: 1px solid var(--docs-border);
3361
+ border-radius: 10px;
3362
+ background: var(--docs-card);
3363
+ color: var(--docs-text);
3364
+ font: inherit;
3365
+ font-size: 13px;
673
3366
  }
674
- .w100n-docs-empty svg {
675
- width: 32px;
676
- height: 32px;
3367
+ .w100n-docs .w100n-share-input:focus {
3368
+ outline: 2px solid #8b5cf680;
3369
+ outline-offset: 1px;
677
3370
  }
678
- .w100n-docs-note {
3371
+ .w100n-share-toggle {
679
3372
  display: flex;
680
- align-items: center;
3373
+ align-items: flex-start;
681
3374
  gap: 10px;
682
- color: var(--docs-muted);
683
- }
684
- .w100n-docs-note button {
685
- color: var(--docs-accent);
686
- font-weight: 600;
687
- }
688
- .w100n-docs-page {
689
- width: min(820px, 100%);
690
- padding: 56px 64px;
691
- border-radius: 6px;
692
- background: var(--docs-paper);
693
- color: #1f2937;
694
- box-shadow: 0 1px 2px rgb(15 23 42 / 8%), 0 18px 40px -20px rgb(15 23 42 / 35%);
3375
+ padding: 9px 10px;
3376
+ border: 1px solid var(--docs-border);
3377
+ border-radius: 10px;
3378
+ background: var(--docs-card);
3379
+ cursor: pointer;
695
3380
  }
696
- .w100n-docs-prose {
697
- font-size: 15px;
698
- line-height: 1.7;
699
- overflow-wrap: anywhere;
3381
+ .w100n-share-toggle input {
3382
+ position: relative;
3383
+ width: 30px;
3384
+ height: 18px;
3385
+ margin: 1px 0 0;
3386
+ flex-shrink: 0;
3387
+ appearance: none;
3388
+ border-radius: 999px;
3389
+ background: var(--docs-line2);
3390
+ cursor: pointer;
3391
+ transition: background .15s;
700
3392
  }
701
- .w100n-docs-prose :is(p, ul, ol, pre, table, blockquote, hr) {
702
- margin: 0 0 14px;
3393
+ .w100n-share-toggle input::after {
3394
+ content: "";
3395
+ position: absolute;
3396
+ top: 2px;
3397
+ left: 2px;
3398
+ width: 14px;
3399
+ height: 14px;
3400
+ border-radius: 50%;
3401
+ background: #fff;
3402
+ box-shadow: 0 1px 3px rgb(0 0 0 / 30%);
3403
+ transition: transform .15s;
703
3404
  }
704
- .w100n-docs-prose :is(ul, ol) {
705
- padding-left: 24px;
3405
+ .w100n-share-toggle input:checked {
3406
+ background:
3407
+ linear-gradient(
3408
+ 135deg,
3409
+ #8b5cf6,
3410
+ #6d28d9);
706
3411
  }
707
- .w100n-docs-prose ul {
708
- list-style: disc;
3412
+ .w100n-share-toggle input:checked::after {
3413
+ transform: translateX(12px);
709
3414
  }
710
- .w100n-docs-prose ol {
711
- list-style: decimal;
3415
+ .w100n-share-toggle input:focus-visible {
3416
+ outline: 2px solid #8b5cf680;
3417
+ outline-offset: 2px;
712
3418
  }
713
- .w100n-docs-prose li + li {
714
- margin-top: 4px;
3419
+ .w100n-share-toggle span {
3420
+ display: grid;
3421
+ gap: 2px;
3422
+ min-width: 0;
715
3423
  }
716
- .w100n-docs-prose blockquote {
717
- padding-left: 14px;
718
- border-left: 3px solid #e2e8f0;
719
- color: #64748b;
3424
+ .w100n-share-toggle b {
3425
+ font-size: 12.5px;
3426
+ font-weight: 600;
720
3427
  }
721
- .w100n-docs-prose hr {
722
- border: 0;
723
- border-top: 1px solid #e2e8f0;
3428
+ .w100n-share-toggle small {
3429
+ color: var(--docs-muted);
3430
+ font-size: 11.5px;
724
3431
  }
725
- .w100n-docs-prose h1,
726
- .w100n-docs-prose h2,
727
- .w100n-docs-prose h3 {
728
- margin: 28px 0 12px;
729
- color: #0f172a;
3432
+ .w100n-guest-brand {
3433
+ display: inline-flex;
3434
+ align-items: center;
3435
+ gap: 8px;
3436
+ flex-shrink: 0;
3437
+ padding-right: 12px;
3438
+ border-right: 1px solid var(--docs-border);
3439
+ font-size: 13px;
730
3440
  font-weight: 650;
731
- line-height: 1.3;
732
- scroll-margin-top: 12px;
3441
+ white-space: nowrap;
733
3442
  }
734
- .w100n-docs-prose > :first-child {
735
- margin-top: 0;
3443
+ .w100n-guest-gate {
3444
+ flex: 1;
3445
+ display: grid;
3446
+ place-items: center;
3447
+ padding: 24px 16px;
3448
+ overflow-y: auto;
736
3449
  }
737
- .w100n-docs-prose h1 {
738
- font-size: 28px;
3450
+ .w100n-guest-card {
3451
+ display: grid;
3452
+ justify-items: center;
3453
+ gap: 12px;
3454
+ width: min(400px, 100%);
3455
+ padding: 28px 24px;
3456
+ border: 1px solid var(--docs-border);
3457
+ border-radius: 16px;
3458
+ background: var(--docs-card);
3459
+ box-shadow: var(--docs-shadow);
3460
+ text-align: center;
739
3461
  }
740
- .w100n-docs-prose h2 {
741
- font-size: 21px;
3462
+ .w100n-guest-card .w100n-share-tile {
3463
+ width: 44px;
3464
+ height: 44px;
3465
+ border-radius: 13px;
742
3466
  }
743
- .w100n-docs-prose h3 {
3467
+ .w100n-guest-card .w100n-share-tile svg {
3468
+ width: 20px;
3469
+ height: 20px;
3470
+ }
3471
+ .w100n-guest-card h2 {
3472
+ margin: 0;
744
3473
  font-size: 17px;
3474
+ font-weight: 700;
3475
+ overflow-wrap: anywhere;
3476
+ }
3477
+ .w100n-guest-card p {
3478
+ margin: 0;
3479
+ color: var(--docs-muted);
3480
+ font-size: 13px;
3481
+ line-height: 1.5;
745
3482
  }
746
- .w100n-docs-prose a {
747
- color: #7c3aed;
3483
+ .w100n-guest-form {
3484
+ display: grid;
3485
+ gap: 10px;
3486
+ width: 100%;
748
3487
  }
749
- .w100n-docs-prose pre,
750
- .w100n-docs-prose code {
751
- border-radius: 6px;
752
- background: #f1f5f9;
3488
+ .w100n-docs .w100n-guest-form .w100n-docs-action {
3489
+ justify-content: center;
3490
+ height: 40px;
753
3491
  }
754
- .w100n-docs-prose pre {
755
- padding: 12px 14px;
756
- overflow-x: auto;
3492
+ .w100n-guest-note {
3493
+ margin: 0;
3494
+ padding: 6px 16px;
757
3495
  }
758
- .w100n-docs-prose code {
759
- padding: 1px 5px;
3496
+ .w100n-guest-panel .w100n-docs-panel-body {
3497
+ display: grid;
3498
+ align-content: start;
3499
+ gap: 10px;
760
3500
  }
761
- .w100n-docs-prose table {
762
- border-collapse: collapse;
763
- display: block;
764
- overflow-x: auto;
3501
+ @container (max-width: 900px) {
3502
+ .w100n-guest-body {
3503
+ flex-direction: column;
3504
+ }
3505
+ .w100n-docs-body .w100n-guest-panel {
3506
+ position: static;
3507
+ width: auto;
3508
+ max-height: 45%;
3509
+ }
765
3510
  }
766
- .w100n-docs-prose th,
767
- .w100n-docs-prose td {
768
- padding: 6px 10px;
769
- border: 1px solid #e2e8f0;
3511
+ @container (max-width: 560px) {
3512
+ .w100n-docs-bar > .w100n-docs-action span,
3513
+ .w100n-docs-bar > .w100n-docs-tile {
3514
+ display: none;
3515
+ }
770
3516
  }
771
- .w100n-docs-prose img {
772
- max-width: 100%;
3517
+ @container (max-width: 720px) {
3518
+ .w100n-guest-brand > :not(:first-child),
3519
+ .w100n-guest-bar .w100n-docs-action span,
3520
+ .w100n-guest-bar > .w100n-docs-badge {
3521
+ display: none;
3522
+ }
3523
+ .w100n-guest-brand {
3524
+ padding-right: 8px;
3525
+ }
773
3526
  }
774
- .w100n-docs-pdf,
775
- .w100n-docs-docx {
3527
+
3528
+ /* src/sheets/sheets.css */
3529
+ @font-face {
3530
+ font-family: "Calibri";
3531
+ font-weight: 400;
3532
+ font-style: normal;
3533
+ src:
3534
+ local("Calibri"),
3535
+ local("Carlito"),
3536
+ local("Arial"),
3537
+ local("ArialMT"),
3538
+ local("Liberation Sans");
3539
+ }
3540
+ @font-face {
3541
+ font-family: "Calibri";
3542
+ font-weight: 400;
3543
+ font-style: italic;
3544
+ src:
3545
+ local("Calibri Italic"),
3546
+ local("Carlito Italic"),
3547
+ local("Arial Italic"),
3548
+ local("Arial-ItalicMT"),
3549
+ local("Liberation Sans Italic");
3550
+ }
3551
+ @font-face {
3552
+ font-family: "Calibri";
3553
+ font-weight: 700;
3554
+ font-style: normal;
3555
+ src:
3556
+ local("Calibri Bold"),
3557
+ local("Carlito Bold"),
3558
+ local("Arial Bold"),
3559
+ local("Arial-BoldMT"),
3560
+ local("Liberation Sans Bold");
3561
+ }
3562
+ @font-face {
3563
+ font-family: "Calibri";
3564
+ font-weight: 700;
3565
+ font-style: italic;
3566
+ src:
3567
+ local("Calibri Bold Italic"),
3568
+ local("Carlito Bold Italic"),
3569
+ local("Arial Bold Italic"),
3570
+ local("Arial-BoldItalicMT"),
3571
+ local("Liberation Sans Bold Italic");
3572
+ }
3573
+ @font-face {
3574
+ font-family: "Aptos";
3575
+ font-weight: 400;
3576
+ font-style: normal;
3577
+ src:
3578
+ local("Aptos"),
3579
+ local("Arial"),
3580
+ local("ArialMT"),
3581
+ local("Liberation Sans");
3582
+ }
3583
+ @font-face {
3584
+ font-family: "Aptos";
3585
+ font-weight: 400;
3586
+ font-style: italic;
3587
+ src:
3588
+ local("Aptos Italic"),
3589
+ local("Arial Italic"),
3590
+ local("Arial-ItalicMT"),
3591
+ local("Liberation Sans Italic");
3592
+ }
3593
+ @font-face {
3594
+ font-family: "Aptos";
3595
+ font-weight: 700;
3596
+ font-style: normal;
3597
+ src:
3598
+ local("Aptos Bold"),
3599
+ local("Arial Bold"),
3600
+ local("Arial-BoldMT"),
3601
+ local("Liberation Sans Bold");
3602
+ }
3603
+ @font-face {
3604
+ font-family: "Aptos";
3605
+ font-weight: 700;
3606
+ font-style: italic;
3607
+ src:
3608
+ local("Aptos Bold Italic"),
3609
+ local("Arial Bold Italic"),
3610
+ local("Arial-BoldItalicMT"),
3611
+ local("Liberation Sans Bold Italic");
3612
+ }
3613
+ .w100n-sheet {
3614
+ position: relative;
3615
+ flex: 1;
3616
+ min-height: 0;
776
3617
  display: flex;
777
3618
  flex-direction: column;
778
- align-items: center;
779
- gap: 16px;
780
- width: 100%;
781
- }
782
- .w100n-docs-sheet {
783
- max-width: 100%;
784
- height: auto;
785
- border-radius: 4px;
786
- background: #fff;
787
- box-shadow: 0 18px 40px -20px rgb(15 23 42 / 35%);
788
- scroll-margin-top: 12px;
789
- }
790
- .w100n-docs-docx section.w100n-docx {
791
- box-shadow: 0 18px 40px -20px rgb(15 23 42 / 35%);
792
- border-radius: 4px;
793
- }
794
- .w100n-docs-docx .w100n-docx-wrapper {
795
- background: transparent;
796
- padding: 0;
3619
+ gap: 8px;
797
3620
  }
798
- .w100n-docs-slides {
799
- width: min(1040px, 100%);
800
- aspect-ratio: 16 / 9;
3621
+ .w100n-sheet-ribbon {
3622
+ align-self: center;
3623
+ display: grid;
3624
+ grid-template-columns: minmax(0, 1fr) auto;
3625
+ align-items: start;
3626
+ gap: 6px;
3627
+ width: min(100%, 1240px);
3628
+ padding: 4px;
801
3629
  border: 1px solid var(--docs-border);
802
3630
  border-radius: 12px;
803
- background: #fff;
3631
+ background: var(--docs-card);
804
3632
  box-shadow: var(--docs-shadow);
805
3633
  }
806
- .w100n-docs-tabs {
807
- display: grid;
808
- flex: 1;
809
- grid-auto-columns: 1fr;
810
- grid-auto-flow: column;
811
- gap: 3px;
812
- padding: 3px;
813
- border-radius: 11px;
814
- background: var(--docs-soft);
815
- }
816
- .w100n-docs-tabs button {
3634
+ .w100n-sheet-tools {
817
3635
  display: flex;
3636
+ flex-wrap: wrap;
818
3637
  align-items: center;
819
- justify-content: center;
820
- gap: 5px;
3638
+ gap: 2px;
3639
+ min-width: 0;
3640
+ min-height: 32px;
3641
+ }
3642
+ .w100n-sheet-ribbon button:not(.w100n-docs-action) {
3643
+ position: relative;
3644
+ display: grid;
3645
+ place-items: center;
3646
+ width: 30px;
821
3647
  height: 30px;
822
3648
  border-radius: 8px;
823
3649
  color: var(--docs-muted);
3650
+ }
3651
+ .w100n-sheet-ribbon button:not(.w100n-docs-action):hover:not(:disabled) {
3652
+ background: var(--docs-hover);
3653
+ color: var(--docs-text);
3654
+ }
3655
+ .w100n-docs .w100n-sheet-ribbon button[aria-pressed=true],
3656
+ .w100n-docs .w100n-sheet-ribbon button[aria-expanded=true] {
3657
+ color: #fff;
3658
+ background:
3659
+ linear-gradient(
3660
+ 145deg,
3661
+ #8b5cf6,
3662
+ #6d28d9);
3663
+ box-shadow: 0 6px 14px -6px #7c3aed99;
3664
+ }
3665
+ .w100n-sheet-gap {
3666
+ width: 1px;
3667
+ height: 20px;
3668
+ margin: 0 5px;
3669
+ background: var(--docs-border);
3670
+ }
3671
+ .w100n-sheet-end {
3672
+ display: flex;
3673
+ align-items: center;
3674
+ gap: 8px;
3675
+ min-height: 32px;
3676
+ }
3677
+ .w100n-sheet-muted {
3678
+ max-width: 380px;
3679
+ color: var(--docs-muted);
824
3680
  font-size: 12px;
825
- font-weight: 600;
3681
+ line-height: 1.35;
826
3682
  }
827
- .w100n-docs-tabs svg {
828
- width: 13px;
829
- height: 13px;
3683
+ .w100n-sheet-anchor {
3684
+ position: relative;
3685
+ display: inline-flex;
830
3686
  }
831
- .w100n-docs-tabs button:hover {
832
- color: var(--docs-text);
3687
+ .w100n-sheet-bar {
3688
+ position: absolute;
3689
+ left: 8px;
3690
+ right: 8px;
3691
+ bottom: 4px;
3692
+ height: 3px;
3693
+ border-radius: 2px;
833
3694
  }
834
- .w100n-docs-tabs button[aria-selected=true] {
835
- background: var(--docs-card);
3695
+ .w100n-sheet-ribbon .w100n-sheet-anchor > button.w100n-sheet-picker {
3696
+ display: flex;
3697
+ justify-content: space-between;
3698
+ gap: 6px;
3699
+ width: 132px;
3700
+ padding: 0 8px 0 10px;
3701
+ border: 1px solid var(--docs-border);
836
3702
  color: var(--docs-text);
837
- box-shadow: 0 1px 2px #0f172a14;
3703
+ font-size: 12.5px;
3704
+ font-weight: 600;
3705
+ white-space: nowrap;
838
3706
  }
839
- .w100n-docs[data-theme=dark] .w100n-docs-tabs button[aria-selected=true] {
840
- background: #ffffff14;
841
- box-shadow: none;
3707
+ .w100n-sheet-picker span {
3708
+ min-width: 0;
3709
+ overflow: hidden;
3710
+ text-overflow: ellipsis;
842
3711
  }
843
- .w100n-docs-panel-body {
844
- flex: 1;
845
- min-height: 0;
846
- overflow-y: auto;
847
- padding: 12px;
3712
+ .w100n-sheet-picker svg {
3713
+ width: 14px;
3714
+ height: 14px;
3715
+ color: var(--docs-dim);
848
3716
  }
849
- .w100n-docs-outline {
3717
+ .w100n-sheet-pop {
3718
+ position: absolute;
3719
+ z-index: 30;
3720
+ top: calc(100% + 8px);
3721
+ left: 0;
3722
+ padding: 6px;
3723
+ border: 1px solid var(--docs-border);
3724
+ border-radius: 12px;
3725
+ background: var(--docs-card);
3726
+ box-shadow: var(--docs-shadow);
3727
+ }
3728
+ .w100n-sheet-list {
850
3729
  display: grid;
851
3730
  gap: 2px;
3731
+ min-width: 200px;
852
3732
  }
853
- .w100n-docs-outline button {
854
- padding: 6px 9px;
855
- border-radius: 8px;
3733
+ .w100n-sheet-ribbon .w100n-sheet-list button:not(.w100n-docs-action) {
3734
+ display: flex;
3735
+ justify-content: flex-start;
3736
+ gap: 9px;
3737
+ width: 100%;
3738
+ height: 32px;
3739
+ padding: 0 10px;
3740
+ color: var(--docs-text);
3741
+ font-size: 12.5px;
3742
+ font-weight: 550;
856
3743
  text-align: left;
857
- overflow-wrap: anywhere;
858
- }
859
- .w100n-docs-outline button:hover {
860
- background: var(--docs-hover);
3744
+ white-space: nowrap;
861
3745
  }
862
- .w100n-docs-outline button[data-level="2"] {
863
- padding-left: 20px;
3746
+ .w100n-sheet-list button small {
3747
+ margin-left: auto;
3748
+ padding-left: 12px;
3749
+ color: var(--docs-dim);
3750
+ font-size: 11px;
3751
+ font-variant-numeric: tabular-nums;
864
3752
  }
865
- .w100n-docs-outline button[data-level="3"] {
866
- padding-left: 32px;
867
- color: var(--docs-muted);
3753
+ .w100n-docs .w100n-sheet-ribbon .w100n-sheet-list button[aria-selected=true] {
3754
+ background: var(--docs-active);
3755
+ color: var(--docs-accent);
3756
+ box-shadow: none;
868
3757
  }
869
- .w100n-docs-versions {
3758
+ .w100n-sheet-swatches {
870
3759
  display: grid;
3760
+ grid-template-columns: repeat(5, 28px);
871
3761
  gap: 4px;
872
3762
  }
873
- .w100n-docs-versions button {
874
- display: grid;
875
- gap: 2px;
876
- padding: 8px 10px;
877
- border-radius: 9px;
878
- text-align: left;
879
- }
880
- .w100n-docs-versions button:hover {
881
- background: var(--docs-hover);
3763
+ .w100n-sheet-ribbon .w100n-sheet-swatches button:not(.w100n-docs-action) {
3764
+ width: 28px;
3765
+ height: 28px;
882
3766
  }
883
- .w100n-docs-versions button[aria-pressed=true] {
3767
+ .w100n-docs .w100n-sheet-ribbon .w100n-sheet-swatches button[aria-pressed=true] {
884
3768
  background: var(--docs-active);
3769
+ box-shadow: inset 0 0 0 1px #8b5cf659;
885
3770
  }
886
- .w100n-docs-versions b {
887
- display: flex;
888
- align-items: center;
889
- gap: 6px;
890
- font-weight: 600;
3771
+ .w100n-sheet-swatches i {
3772
+ display: block;
3773
+ width: 16px;
3774
+ height: 16px;
3775
+ border-radius: 50%;
3776
+ box-shadow: inset 0 0 0 1px #0f172a2e;
891
3777
  }
892
- .w100n-docs-versions small {
3778
+ .w100n-sheet-ribbon .w100n-sheet-swatches .w100n-sheet-none {
3779
+ grid-column: 1 / -1;
3780
+ width: auto;
3781
+ height: 28px;
3782
+ padding: 0 8px;
3783
+ place-items: center start;
893
3784
  color: var(--docs-muted);
894
3785
  font-size: 12px;
3786
+ font-weight: 600;
895
3787
  }
896
- .w100n-docs-details {
897
- display: grid;
898
- grid-template-columns: auto 1fr;
899
- gap: 8px 12px;
900
- margin: 0;
3788
+ .w100n-sheet-stage {
3789
+ position: relative;
3790
+ flex: 1;
3791
+ min-height: 0;
3792
+ overflow: hidden;
3793
+ border: 1px solid var(--docs-border);
3794
+ border-radius: 13px;
3795
+ background: var(--docs-card);
3796
+ box-shadow: var(--docs-shadow);
901
3797
  }
902
- .w100n-docs-details dt {
903
- color: var(--docs-muted);
3798
+ .w100n-sheet-grid,
3799
+ .w100n-sheet-host {
3800
+ position: absolute;
3801
+ inset: 0;
904
3802
  }
905
- .w100n-docs-details dd {
906
- margin: 0;
907
- overflow-wrap: anywhere;
3803
+ :root [class*=univer-]:not(canvas) {
3804
+ font-family:
3805
+ Inter,
3806
+ ui-sans-serif,
3807
+ system-ui,
3808
+ sans-serif;
908
3809
  }
909
- @container (max-width: 1180px) {
910
- .w100n-docs-panel {
911
- width: 240px;
912
- }
913
- .w100n-docs-list {
914
- width: 272px;
915
- }
3810
+ .w100n-sheet-cover {
3811
+ position: absolute;
3812
+ inset: 0;
3813
+ z-index: 5;
3814
+ display: grid;
3815
+ place-items: center;
3816
+ background: var(--docs-card);
3817
+ color: var(--docs-muted);
3818
+ font-weight: 600;
3819
+ }
3820
+ .w100n-sheet-cover span {
3821
+ display: flex;
3822
+ align-items: center;
3823
+ gap: 12px;
916
3824
  }
917
3825
  @container (max-width: 900px) {
918
- .w100n-docs {
919
- --docs-narrow: 1;
3826
+ .w100n-sheet-tools {
3827
+ flex-wrap: nowrap;
3828
+ overflow-x: auto;
3829
+ scrollbar-width: none;
3830
+ padding-block: 2px;
920
3831
  }
921
- .w100n-docs-list,
922
- .w100n-docs-panel {
923
- position: absolute;
924
- z-index: 5;
925
- top: 10px;
926
- bottom: 10px;
927
- width: min(320px, calc(100% - 20px));
928
- }
929
- .w100n-docs-list {
930
- left: 10px;
931
- }
932
- .w100n-docs-panel {
933
- right: 10px;
3832
+ .w100n-sheet-tools > * {
3833
+ flex-shrink: 0;
934
3834
  }
935
- .w100n-docs-page {
936
- padding: 32px 24px;
3835
+ .w100n-sheet-pop {
3836
+ position: fixed;
3837
+ top: auto;
3838
+ left: 12px;
3839
+ right: 12px;
3840
+ bottom: 12px;
937
3841
  }
938
- .w100n-docs-crumbs {
3842
+ .w100n-sheet-muted {
939
3843
  display: none;
940
3844
  }
941
3845
  }