papyr-react 1.0.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 (64) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +87 -0
  3. package/dist/blocks/WorkspaceBlock/WorkspaceBlock.d.ts +79 -0
  4. package/dist/blocks/index.d.ts +2 -0
  5. package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +12 -0
  6. package/dist/components/Breadcrumbs/index.d.ts +2 -0
  7. package/dist/components/DoubleSidebarLayout/DoubleSidebarLayout.d.ts +49 -0
  8. package/dist/components/DoubleSidebarLayout/index.d.ts +2 -0
  9. package/dist/components/EmptyState/EmptyState.d.ts +31 -0
  10. package/dist/components/EmptyState/index.d.ts +2 -0
  11. package/dist/components/FileHierarchy/FileHierarchy.d.ts +19 -0
  12. package/dist/components/FileHierarchy/FileHierarchy.test.d.ts +1 -0
  13. package/dist/components/FileHierarchy/MemoizedFolderTree.d.ts +16 -0
  14. package/dist/components/FileHierarchy/index.d.ts +3 -0
  15. package/dist/components/FileHierarchy/types.d.ts +9 -0
  16. package/dist/components/FileHierarchy/utils.d.ts +5 -0
  17. package/dist/components/FileSearch/FileSearch.d.ts +27 -0
  18. package/dist/components/FileSearch/index.d.ts +2 -0
  19. package/dist/components/GraphView/GraphView.d.ts +19 -0
  20. package/dist/components/GraphView/index.d.ts +2 -0
  21. package/dist/components/HoverPreview/HoverPreview.d.ts +12 -0
  22. package/dist/components/HoverPreview/index.d.ts +2 -0
  23. package/dist/components/MiniGraph/MiniGraph.d.ts +8 -0
  24. package/dist/components/MiniGraph/MiniGraph.test.d.ts +1 -0
  25. package/dist/components/MiniGraph/index.d.ts +2 -0
  26. package/dist/components/NotePreview/NotePreviewContent.d.ts +14 -0
  27. package/dist/components/NotePreview/index.d.ts +2 -0
  28. package/dist/components/NoteViewer/NoteViewer.d.ts +15 -0
  29. package/dist/components/NoteViewer/NoteViewer.test.d.ts +1 -0
  30. package/dist/components/NoteViewer/index.d.ts +2 -0
  31. package/dist/components/SearchBar/SearchBar.d.ts +9 -0
  32. package/dist/components/SearchBar/index.d.ts +2 -0
  33. package/dist/components/SearchDropdown/SearchDropdown.d.ts +12 -0
  34. package/dist/components/SearchDropdown/index.d.ts +1 -0
  35. package/dist/components/SidebarLayout/SidebarLayout.d.ts +33 -0
  36. package/dist/components/SidebarLayout/index.d.ts +2 -0
  37. package/dist/components/TableOfContents/TableOfContents.d.ts +10 -0
  38. package/dist/components/TableOfContents/TableOfContents.test.d.ts +1 -0
  39. package/dist/components/TableOfContents/index.d.ts +1 -0
  40. package/dist/components/TagFilter/TagFilter.d.ts +9 -0
  41. package/dist/components/TagFilter/index.d.ts +2 -0
  42. package/dist/components/Toast/Toast.d.ts +11 -0
  43. package/dist/components/index.d.ts +16 -0
  44. package/dist/hooks/index.d.ts +3 -0
  45. package/dist/hooks/useActiveNote.d.ts +27 -0
  46. package/dist/hooks/useActiveNote.test.d.ts +1 -0
  47. package/dist/hooks/useNotes.d.ts +3 -0
  48. package/dist/hooks/useRoutableActiveNote.d.ts +16 -0
  49. package/dist/index.d.ts +6 -0
  50. package/dist/index.js +3178 -0
  51. package/dist/index.js.map +1 -0
  52. package/dist/providers/PapyrProvider.d.ts +24 -0
  53. package/dist/providers/index.d.ts +2 -0
  54. package/dist/style.css +1548 -0
  55. package/dist/styles/index.d.ts +0 -0
  56. package/dist/types/index.d.ts +1 -0
  57. package/dist/utils/graphUtils.d.ts +18 -0
  58. package/dist/utils/hydration.d.ts +8 -0
  59. package/dist/utils/index.d.ts +3 -0
  60. package/dist/utils/linkUtils.d.ts +10 -0
  61. package/package.json +87 -0
  62. package/src/styles/index.ts +2 -0
  63. package/src/styles/theme.css +184 -0
  64. package/style.css +1 -0
package/dist/style.css ADDED
@@ -0,0 +1,1548 @@
1
+ ._shell_j3ea5_1 {
2
+ position: relative;
3
+ width: 100%;
4
+ height: 100%;
5
+ overflow: visible;
6
+ }
7
+
8
+ ._root_j3ea5_8 {
9
+ position: relative;
10
+ width: 100%;
11
+ height: 100%;
12
+ min-height: 0;
13
+ overflow: visible;
14
+ }
15
+
16
+ ._canvas_j3ea5_16 {
17
+ width: 100%;
18
+ height: 100%;
19
+ display: block;
20
+ background: var(--papyr-surface, transparent);
21
+ border: none;
22
+ border-radius: 0;
23
+ touch-action: none;
24
+ user-select: none;
25
+ }
26
+
27
+ ._fullscreenButton_j3ea5_27 {
28
+ position: absolute;
29
+ top: 0.5rem;
30
+ right: 0.5rem;
31
+ z-index: 1;
32
+ border: none;
33
+ background: var(--papyr-button-muted, rgba(255, 255, 255, 0.9));
34
+ border-radius: 999px;
35
+ width: 1.75rem;
36
+ height: 1.75rem;
37
+ font-size: 0.85rem;
38
+ cursor: pointer;
39
+ color: var(--papyr-foreground, #111827);
40
+ box-shadow: 0 6px 14px rgba(15, 23, 42, 0.12);
41
+ transition: transform 0.2s ease, box-shadow 0.2s ease;
42
+ }
43
+
44
+ ._fullscreenButton_j3ea5_27:hover {
45
+ transform: translateY(-1px);
46
+ box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18);
47
+ }
48
+
49
+ ._fullscreenOverlay_j3ea5_49 {
50
+ position: fixed;
51
+ inset: 0;
52
+ z-index: 1000;
53
+ display: flex;
54
+ align-items: center;
55
+ justify-content: center;
56
+ }
57
+
58
+ ._fullscreenBackdrop_j3ea5_58 {
59
+ position: absolute;
60
+ inset: 0;
61
+ background: rgba(15, 23, 42, 0.55);
62
+ backdrop-filter: blur(4px);
63
+ }
64
+
65
+ ._fullscreenDialog_j3ea5_65 {
66
+ position: relative;
67
+ z-index: 1;
68
+ width: min(1100px, calc(100vw - 2rem));
69
+ height: min(720px, calc(100vh - 2rem));
70
+ background: var(--papyr-surface, #fff);
71
+ border-radius: 1rem;
72
+ box-shadow: 0 20px 80px rgba(15, 23, 42, 0.35);
73
+ display: flex;
74
+ flex-direction: column;
75
+ }
76
+
77
+ ._fullscreenHeader_j3ea5_77 {
78
+ display: flex;
79
+ align-items: center;
80
+ justify-content: space-between;
81
+ padding: 1rem 1.25rem;
82
+ border-bottom: 1px solid rgba(15, 23, 42, 0.08);
83
+ font-weight: 600;
84
+ }
85
+
86
+ ._fullscreenClose_j3ea5_86 {
87
+ border: none;
88
+ background: transparent;
89
+ cursor: pointer;
90
+ font-size: 0.9rem;
91
+ color: var(--papyr-muted-foreground, #475569);
92
+ }
93
+
94
+ ._fullscreenBody_j3ea5_94 {
95
+ flex: 1;
96
+ padding: 1rem;
97
+ }
98
+
99
+ ._fullscreenGraph_j3ea5_99 {
100
+ height: 100%;
101
+ min-height: 20rem;
102
+ }
103
+
104
+ ._emptyState_j3ea5_104 {
105
+ position: absolute;
106
+ inset: 0.75rem;
107
+ display: grid;
108
+ place-items: center;
109
+ pointer-events: none;
110
+ text-align: center;
111
+ font-size: 0.9rem;
112
+ color: var(--papyr-muted-foreground, rgba(71, 85, 105, 0.9));
113
+ }
114
+
115
+ ._node_j3ea5_115 {
116
+ cursor: pointer;
117
+ transition: opacity 0.25s ease, stroke-width 0.25s ease;
118
+ }
119
+
120
+ ._isActive_j3ea5_120 {
121
+ fill: var(--papyr-primary, #6366f1) !important;
122
+ }
123
+
124
+ ._label_j3ea5_124 {
125
+ font-size: 11px;
126
+ font-weight: 400;
127
+ letter-spacing: 0.01em;
128
+ text-transform: none;
129
+ fill: rgba(255, 255, 255, 0.85);
130
+ stroke: none;
131
+ dominant-baseline: hanging;
132
+ pointer-events: none;
133
+ transition: opacity 0.25s ease;
134
+ }
135
+ ._frame_187pj_1 {
136
+ display: grid;
137
+ gap: 0.75rem;
138
+ padding: 1rem;
139
+ border-radius: 0.9rem;
140
+ border: 1px solid var(--papyr-border, rgba(15, 23, 42, 0.12));
141
+ background: var(--papyr-surface, #ffffff);
142
+ color: var(--papyr-foreground, #0f172a);
143
+ box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
144
+ }
145
+
146
+ ._header_187pj_12 {
147
+ display: flex;
148
+ align-items: center;
149
+ justify-content: space-between;
150
+ gap: 0.75rem;
151
+ }
152
+
153
+ ._title_187pj_19 {
154
+ font-size: 0.7rem;
155
+ text-transform: uppercase;
156
+ letter-spacing: 0.12em;
157
+ font-weight: 700;
158
+ color: var(--papyr-muted-foreground, #64748b);
159
+ }
160
+
161
+ ._subtitle_187pj_27 {
162
+ margin-top: 0.25rem;
163
+ font-size: 0.8rem;
164
+ font-weight: 500;
165
+ color: var(--papyr-foreground, #111827);
166
+ }
167
+
168
+ ._badge_187pj_34 {
169
+ display: inline-flex;
170
+ align-items: center;
171
+ justify-content: center;
172
+ min-width: 2.5rem;
173
+ height: 1.5rem;
174
+ padding: 0 0.5rem;
175
+ border-radius: 999px;
176
+ font-size: 0.7rem;
177
+ font-weight: 600;
178
+ background: rgba(99, 102, 241, 0.12);
179
+ color: var(--papyr-accent, #4f46e5);
180
+ }
181
+
182
+ ._canvas_187pj_48 {
183
+ width: 100%;
184
+ height: 160px;
185
+ border-radius: 0.75rem;
186
+ border: 1px solid rgba(148, 163, 184, 0.25);
187
+ background: radial-gradient(circle at top, rgba(226, 232, 240, 0.6), rgba(248, 250, 252, 0.9));
188
+ }
189
+
190
+ ._glow_187pj_56 {
191
+ fill: url(#papyr-mini-graph-glow);
192
+ }
193
+
194
+ ._edge_187pj_60 {
195
+ stroke: rgba(99, 102, 241, 0.4);
196
+ stroke-width: 1.1;
197
+ }
198
+
199
+ ._node_187pj_65 {
200
+ fill: rgba(30, 64, 175, 0.9);
201
+ stroke: rgba(255, 255, 255, 0.85);
202
+ stroke-width: 0.9;
203
+ }
204
+
205
+ ._emptyState_187pj_71 {
206
+ font-size: 0.75rem;
207
+ text-align: center;
208
+ color: var(--papyr-muted-foreground, #6b7280);
209
+ }
210
+ ._container_1vncr_1 {
211
+ display: grid;
212
+ gap: 1.5rem;
213
+ width: 100%;
214
+ max-width: 72ch;
215
+ margin: 0 auto;
216
+ min-width: 0;
217
+ }
218
+
219
+ ._header_1vncr_10 {
220
+ display: grid;
221
+ gap: 0.5rem;
222
+ width: 100%;
223
+ min-width: 0;
224
+ }
225
+
226
+ ._breadcrumbs_1vncr_17 {
227
+ font-size: 0.875rem;
228
+ }
229
+
230
+ ._title_1vncr_21 {
231
+ font-size: 2rem;
232
+ line-height: 1.2;
233
+ }
234
+
235
+ ._summary_1vncr_26 {
236
+ margin: 0;
237
+ color: var(--papyr-muted-foreground, rgba(255, 255, 255, 0.7));
238
+ font-size: 1rem;
239
+ line-height: 1.5;
240
+ }
241
+
242
+ ._metaRow_1vncr_33 {
243
+ display: flex;
244
+ flex-wrap: wrap;
245
+ align-items: center;
246
+ justify-content: space-between;
247
+ gap: 0.75rem;
248
+ color: var(--papyr-muted-foreground, rgba(255, 255, 255, 0.6));
249
+ font-size: 0.875rem;
250
+ }
251
+
252
+ ._tagList_1vncr_43 {
253
+ display: flex;
254
+ flex-wrap: wrap;
255
+ gap: 0.4rem;
256
+ }
257
+
258
+ ._tag_1vncr_43 {
259
+ display: inline-flex;
260
+ align-items: center;
261
+ padding: 0.25rem 0.65rem;
262
+ border-radius: 999px;
263
+ background: var(--papyr-tag-background, rgba(99, 102, 241, 0.12));
264
+ color: var(--papyr-tag-foreground, #6366f1);
265
+ font-weight: 500;
266
+ font-size: 0.8rem;
267
+ }
268
+
269
+ ._tagEmpty_1vncr_60 {
270
+ font-size: 0.85rem;
271
+ color: var(--papyr-muted-foreground, #6b7280);
272
+ }
273
+
274
+ ._metaList_1vncr_65 {
275
+ display: flex;
276
+ gap: 0.75rem;
277
+ margin: 0;
278
+ }
279
+
280
+ ._metaItem_1vncr_71 {
281
+ display: grid;
282
+ gap: 0.1rem;
283
+ }
284
+
285
+ ._metaItem_1vncr_71 dt {
286
+ font-size: 0.75rem;
287
+ text-transform: uppercase;
288
+ letter-spacing: 0.08em;
289
+ font-weight: 600;
290
+ color: var(--papyr-muted-foreground, rgba(255, 255, 255, 0.5));
291
+ }
292
+
293
+ ._metaItem_1vncr_71 dd {
294
+ margin: 0;
295
+ font-weight: 600;
296
+ color: var(--papyr-foreground, #e0e0e0);
297
+ }
298
+
299
+ ._content_1vncr_90 {
300
+ line-height: 1.7;
301
+ width: 100%;
302
+ min-width: 0;
303
+ max-width: 100%;
304
+ overflow-wrap: break-word;
305
+ word-break: break-word;
306
+ }
307
+
308
+ ._content_1vncr_90 pre {
309
+ font-family: var(
310
+ --papyr-mono-font,
311
+ 'JetBrains Mono',
312
+ ui-monospace,
313
+ SFMono-Regular,
314
+ Menlo,
315
+ Monaco,
316
+ Consolas,
317
+ 'Liberation Mono',
318
+ 'Courier New',
319
+ monospace
320
+ );
321
+ }
322
+
323
+ ._content_1vncr_90 .hljs {
324
+ background: transparent;
325
+ color: inherit;
326
+ }
327
+
328
+ ._codeBlockWrapper_1vncr_119 {
329
+ position: relative;
330
+ margin: 1.5rem 0;
331
+ border-radius: 0.9rem;
332
+ border: 1px solid var(--papyr-border-strong, rgba(15, 23, 42, 0.25));
333
+ background: var(--papyr-code-surface, linear-gradient(135deg, #0f172a, #111827));
334
+ color: var(--papyr-code-foreground, #e2e8f0);
335
+ box-shadow: 0 16px 35px rgba(15, 23, 42, 0.35);
336
+ overflow: hidden;
337
+ max-width: 100%;
338
+ }
339
+
340
+ ._codeBlockHeader_1vncr_131 {
341
+ display: flex;
342
+ align-items: center;
343
+ justify-content: space-between;
344
+ padding: 0.65rem 1rem;
345
+ gap: 0.75rem;
346
+ background: var(--papyr-code-header, rgba(15, 23, 42, 0.75));
347
+ border-bottom: 1px solid rgba(148, 163, 184, 0.2);
348
+ }
349
+
350
+ ._codeBlockLanguage_1vncr_141 {
351
+ font-size: 0.75rem;
352
+ font-weight: 600;
353
+ letter-spacing: 0.08em;
354
+ text-transform: uppercase;
355
+ color: var(--papyr-code-label, rgba(148, 163, 184, 0.9));
356
+ }
357
+
358
+ ._copyButton_1vncr_149 {
359
+ display: inline-flex;
360
+ align-items: center;
361
+ justify-content: center;
362
+ padding: 0.35rem 0.85rem;
363
+ font-size: 0.75rem;
364
+ font-weight: 600;
365
+ border: 1px solid rgba(148, 163, 184, 0.35);
366
+ border-radius: 0.65rem;
367
+ background: rgba(30, 41, 59, 0.35);
368
+ color: var(--papyr-code-label, rgba(226, 232, 240, 0.9));
369
+ cursor: pointer;
370
+ transition: none;
371
+ margin-left: auto;
372
+ }
373
+
374
+ ._copyButton_1vncr_149:hover,
375
+ ._copyButton_1vncr_149:active {
376
+ background: rgba(30, 41, 59, 0.55);
377
+ color: var(--papyr-code-label, rgba(226, 232, 240, 0.9));
378
+ }
379
+
380
+ ._copyButton_1vncr_149:focus-visible {
381
+ background: rgba(30, 41, 59, 0.55);
382
+ color: var(--papyr-code-label, rgba(226, 232, 240, 0.9));
383
+ outline: 2px solid rgba(99, 102, 241, 0.6);
384
+ outline-offset: 2px;
385
+ }
386
+
387
+ ._codeBlockPre_1vncr_178 {
388
+ margin: 0;
389
+ padding: 1.25rem 1.5rem;
390
+ background: transparent;
391
+ overflow-x: auto;
392
+ width: 100%;
393
+ max-width: 100%;
394
+ font-size: 0.85rem;
395
+ line-height: 1.75;
396
+ }
397
+
398
+ ._codeBlockPre_1vncr_178::-webkit-scrollbar {
399
+ height: 8px;
400
+ }
401
+
402
+ ._codeBlockPre_1vncr_178::-webkit-scrollbar-thumb {
403
+ background: rgba(148, 163, 184, 0.25);
404
+ border-radius: 999px;
405
+ }
406
+
407
+ ._codeBlockCode_1vncr_198 {
408
+ background: transparent;
409
+ display: block;
410
+ min-width: max-content;
411
+ color: inherit;
412
+ }
413
+
414
+ ._linkedNotes_1vncr_205 {
415
+ border-top: 1px solid var(--papyr-border, rgba(15, 23, 42, 0.08));
416
+ padding-top: 1.5rem;
417
+ margin-top: 1rem;
418
+ display: flex;
419
+ flex-direction: column;
420
+ gap: 0.75rem;
421
+ }
422
+
423
+ ._linkedNotesHeader_1vncr_214 {
424
+ display: flex;
425
+ align-items: center;
426
+ gap: 0.5rem;
427
+ }
428
+
429
+ ._linkedNotesTitle_1vncr_220 {
430
+ font-size: 0.95rem;
431
+ font-weight: 600;
432
+ text-transform: uppercase;
433
+ letter-spacing: 0.08em;
434
+ margin: 0;
435
+ color: var(--papyr-muted-foreground, #6b7280);
436
+ }
437
+
438
+ ._linkedNotesCount_1vncr_229 {
439
+ display: inline-flex;
440
+ align-items: center;
441
+ justify-content: center;
442
+ min-width: 1.75rem;
443
+ height: 1.5rem;
444
+ border-radius: 999px;
445
+ padding: 0 0.5rem;
446
+ font-size: 0.75rem;
447
+ font-weight: 600;
448
+ color: var(--papyr-count-foreground, #4338ca);
449
+ background: var(--papyr-count-background, rgba(67, 56, 202, 0.12));
450
+ }
451
+
452
+ ._linkedNotesList_1vncr_243 {
453
+ list-style: none;
454
+ padding: 0;
455
+ margin: 0;
456
+ display: flex;
457
+ flex-direction: column;
458
+ gap: 0.5rem;
459
+ }
460
+
461
+ ._linkedNotesItem_1vncr_252 {
462
+ margin: 0;
463
+ padding: 0;
464
+ }
465
+
466
+ ._linkedNoteLink_1vncr_257 {
467
+ color: var(--papyr-link, #6366f1);
468
+ text-decoration: none;
469
+ font-weight: 500;
470
+ display: block;
471
+ overflow: hidden;
472
+ text-overflow: ellipsis;
473
+ white-space: nowrap;
474
+ max-width: 100%;
475
+ }
476
+
477
+ ._linkedNoteLink_1vncr_257:hover,
478
+ ._linkedNoteLink_1vncr_257:focus-visible {
479
+ text-decoration: underline;
480
+ }
481
+ ._trigger_j6udx_1 {
482
+ position: relative;
483
+ display: inline-flex;
484
+ align-items: center;
485
+ }
486
+
487
+ ._highlight_j6udx_7 {
488
+ cursor: pointer;
489
+ text-decoration: underline;
490
+ text-decoration-style: dotted;
491
+ }
492
+
493
+ ._panel_j6udx_13 {
494
+ position: absolute;
495
+ z-index: 20;
496
+ min-width: 16rem;
497
+ max-width: min(24rem, 80vw);
498
+ padding: 0.75rem 1rem;
499
+ background: var(--papyr-surface, #1e1e1e);
500
+ box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
501
+ border-radius: 0.75rem;
502
+ border: 1px solid var(--papyr-border, rgba(255, 255, 255, 0.08));
503
+ animation: _fadeIn_j6udx_1 150ms ease-out;
504
+ }
505
+
506
+ @keyframes _fadeIn_j6udx_1 {
507
+ from {
508
+ opacity: 0;
509
+ transform: translateY(4px);
510
+ }
511
+ to {
512
+ opacity: 1;
513
+ transform: translateY(0);
514
+ }
515
+ }
516
+
517
+ @media (prefers-reduced-motion: reduce) {
518
+ ._panel_j6udx_13 {
519
+ animation: none;
520
+ }
521
+ }
522
+ ._container_1raaj_1 {
523
+ display: flex;
524
+ flex-direction: column;
525
+ gap: 0.4rem;
526
+ max-width: 24rem;
527
+ }
528
+
529
+ ._title_1raaj_8 {
530
+ font-size: 1rem;
531
+ font-weight: 600;
532
+ color: var(--papyr-foreground, #e0e0e0);
533
+ margin: 0;
534
+ overflow: hidden;
535
+ text-overflow: ellipsis;
536
+ white-space: nowrap;
537
+ }
538
+
539
+ ._excerpt_1raaj_18 {
540
+ font-size: 0.875rem;
541
+ line-height: 1.5;
542
+ color: var(--papyr-muted-foreground, rgba(255, 255, 255, 0.7));
543
+ margin: 0;
544
+ }
545
+
546
+ ._empty_1raaj_25 {
547
+ font-size: 0.875rem;
548
+ font-style: italic;
549
+ color: var(--papyr-muted-foreground, rgba(255, 255, 255, 0.5));
550
+ margin: 0;
551
+ }
552
+
553
+ ._tags_1raaj_32 {
554
+ display: flex;
555
+ flex-wrap: wrap;
556
+ gap: 0.35rem;
557
+ list-style: none;
558
+ margin: 0;
559
+ padding: 0;
560
+ }
561
+
562
+ ._tag_1raaj_32 {
563
+ font-size: 0.8rem;
564
+ font-weight: 500;
565
+ color: var(--papyr-tag-foreground, #6366f1);
566
+ background: var(--papyr-tag-background, rgba(99, 102, 241, 0.12));
567
+ border-radius: 999px;
568
+ padding: 0.15rem 0.75rem;
569
+ }
570
+ ._list_bm9au_1 {
571
+ display: flex;
572
+ flex-wrap: wrap;
573
+ gap: 0.375rem;
574
+ list-style: none;
575
+ padding: 0;
576
+ margin: 0;
577
+ color: var(--papyr-muted-foreground, rgba(255, 255, 255, 0.6));
578
+ font-size: 0.875rem;
579
+ }
580
+
581
+ ._item_bm9au_12 {
582
+ display: inline-flex;
583
+ align-items: center;
584
+ gap: 0.375rem;
585
+ }
586
+
587
+ ._item_bm9au_12[aria-current="page"] span {
588
+ color: var(--papyr-foreground, #e0e0e0);
589
+ font-weight: 500;
590
+ }
591
+
592
+ ._separator_bm9au_23 {
593
+ color: var(--papyr-border, rgba(255, 255, 255, 0.3));
594
+ }
595
+
596
+ ._link_bm9au_27 {
597
+ color: inherit;
598
+ text-decoration: none;
599
+ }
600
+
601
+ ._link_bm9au_27:hover {
602
+ text-decoration: underline;
603
+ }
604
+
605
+ ._link_bm9au_27:focus-visible {
606
+ outline: 2px solid var(--papyr-primary, #6366f1);
607
+ outline-offset: 2px;
608
+ border-radius: 2px;
609
+ }
610
+ ._viewport_1tgm1_1 {
611
+ position: fixed;
612
+ bottom: 24px;
613
+ left: 50%;
614
+ transform: translateX(-50%);
615
+ display: flex;
616
+ flex-direction: column;
617
+ gap: 8px;
618
+ z-index: 1000;
619
+ pointer-events: none;
620
+ }
621
+
622
+ ._toast_1tgm1_13 {
623
+ min-width: 260px;
624
+ max-width: 360px;
625
+ display: flex;
626
+ align-items: center;
627
+ justify-content: space-between;
628
+ gap: 12px;
629
+ padding: 12px 16px;
630
+ border-radius: 12px;
631
+ background: var(--papyr-toast-background, rgba(28, 36, 52, 0.95));
632
+ color: var(--papyr-toast-foreground, #f9fafb);
633
+ box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
634
+ pointer-events: auto;
635
+ animation: _toastEnter_1tgm1_1 200ms ease-out;
636
+ }
637
+
638
+ @keyframes _toastEnter_1tgm1_1 {
639
+ from {
640
+ opacity: 0;
641
+ transform: translateY(16px);
642
+ }
643
+ to {
644
+ opacity: 1;
645
+ transform: translateY(0);
646
+ }
647
+ }
648
+
649
+ @media (prefers-reduced-motion: reduce) {
650
+ ._toast_1tgm1_13 {
651
+ animation: none;
652
+ }
653
+ }
654
+
655
+ ._message_1tgm1_46 {
656
+ flex: 1;
657
+ font-size: 0.875rem;
658
+ line-height: 1.4;
659
+ }
660
+
661
+ ._closeButton_1tgm1_52 {
662
+ border: none;
663
+ background: rgba(255, 255, 255, 0.12);
664
+ color: inherit;
665
+ border-radius: 999px;
666
+ padding: 8px 14px;
667
+ font-size: 0.8125rem;
668
+ font-weight: 500;
669
+ cursor: pointer;
670
+ transition: background 0.15s ease;
671
+ min-height: 36px;
672
+ }
673
+
674
+ ._closeButton_1tgm1_52:hover {
675
+ background: rgba(255, 255, 255, 0.2);
676
+ }
677
+
678
+ ._closeButton_1tgm1_52:focus-visible {
679
+ background: rgba(255, 255, 255, 0.2);
680
+ outline: 2px solid rgba(255, 255, 255, 0.5);
681
+ outline-offset: 2px;
682
+ }
683
+ ._wrapper_1suuy_1 {
684
+ display: grid;
685
+ gap: 0.5rem;
686
+ }
687
+
688
+ ._input_1suuy_6 {
689
+ appearance: none;
690
+ border-radius: 6px;
691
+ border: 1px solid var(--papyr-border, rgba(255, 255, 255, 0.1));
692
+ padding: 0.625rem 0.875rem;
693
+ font-size: 1rem;
694
+ background: var(--papyr-input-bg, rgba(255, 255, 255, 0.05));
695
+ color: var(--papyr-foreground, #e0e0e0);
696
+ transition: border-color 150ms ease, box-shadow 150ms ease;
697
+ }
698
+
699
+ ._input_1suuy_6::placeholder {
700
+ color: var(--papyr-muted-foreground, rgba(255, 255, 255, 0.5));
701
+ }
702
+
703
+ ._input_1suuy_6:focus {
704
+ outline: none;
705
+ border-color: var(--papyr-primary, #6366f1);
706
+ box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
707
+ }
708
+ ._container_r50hu_1 {
709
+ display: flex;
710
+ flex-wrap: wrap;
711
+ gap: 0.5rem;
712
+ }
713
+
714
+ ._tag_r50hu_7 {
715
+ display: inline-flex;
716
+ align-items: center;
717
+ gap: 0.35rem;
718
+ padding: 0.35rem 0.75rem;
719
+ font-size: 0.875rem;
720
+ border-radius: 1.5rem;
721
+ cursor: pointer;
722
+ background: var(--papyr-surface-muted, rgba(255, 255, 255, 0.08));
723
+ border: 1px solid transparent;
724
+ color: var(--papyr-foreground, #e0e0e0);
725
+ transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
726
+ }
727
+
728
+ ._tag_r50hu_7:hover {
729
+ background: var(--papyr-surface-hover, rgba(255, 255, 255, 0.12));
730
+ }
731
+
732
+ ._tag_r50hu_7:focus-visible {
733
+ outline: 2px solid var(--papyr-primary, #6366f1);
734
+ outline-offset: 2px;
735
+ }
736
+
737
+ ._tagActive_r50hu_30 {
738
+ background: var(--papyr-primary-soft, rgba(99, 102, 241, 0.15));
739
+ border-color: var(--papyr-primary, rgba(99, 102, 241, 0.4));
740
+ color: var(--papyr-primary, #6366f1);
741
+ }
742
+ ._container_vip00_1 {
743
+ position: relative;
744
+ width: 100%;
745
+ flex-shrink: 0; /* Prevent container from growing */
746
+ }
747
+
748
+ ._input_vip00_7 {
749
+ width: 100%;
750
+ padding: 8px 12px;
751
+ border: 1px solid var(--papyr-border, #e5e7eb);
752
+ border-radius: 6px;
753
+ background: var(--papyr-background, #ffffff);
754
+ color: var(--papyr-foreground, #1f2937);
755
+ font-size: 14px;
756
+ outline: none;
757
+ transition: border-color 0.2s ease;
758
+ }
759
+
760
+ ._input_vip00_7:focus {
761
+ border-color: var(--papyr-primary, #6366f1);
762
+ box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
763
+ }
764
+
765
+ ._dropdown_vip00_24 {
766
+ position: absolute;
767
+ top: 100%;
768
+ left: 0;
769
+ right: 0;
770
+ background: var(--papyr-background, #ffffff);
771
+ border: 1px solid var(--papyr-border, #e5e7eb);
772
+ border-radius: 6px;
773
+ box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
774
+ max-height: 400px;
775
+ overflow-y: auto;
776
+ z-index: 1000;
777
+ margin-top: 4px;
778
+ }
779
+
780
+ ._category_vip00_39 {
781
+ padding: 8px 0;
782
+ }
783
+
784
+ ._categoryTitle_vip00_43 {
785
+ padding: 8px 12px 4px;
786
+ font-size: 0.75rem;
787
+ font-weight: 600;
788
+ color: var(--papyr-muted-foreground, #6b7280);
789
+ text-transform: uppercase;
790
+ letter-spacing: 0.05em;
791
+ border-bottom: 1px solid var(--papyr-border, #e5e7eb);
792
+ margin-bottom: 4px;
793
+ }
794
+
795
+ ._resultItem_vip00_54 {
796
+ display: flex;
797
+ align-items: flex-start;
798
+ padding: 8px 12px;
799
+ cursor: pointer;
800
+ transition: background-color 0.15s ease;
801
+ position: relative;
802
+ }
803
+
804
+ ._resultItem_vip00_54:hover {
805
+ background: var(--papyr-hover, #f9fafb);
806
+ }
807
+
808
+ ._resultItemSelected_vip00_67 {
809
+ background: var(--papyr-active, #f3f4f6);
810
+ }
811
+
812
+ ._resultItemSelected_vip00_67 ._resultTitle_vip00_71 {
813
+ color: var(--papyr-active-foreground, #1f2937);
814
+ }
815
+
816
+ ._resultItemSelected_vip00_67 ._resultExcerpt_vip00_75 {
817
+ color: var(--papyr-active-foreground-muted, #4b5563);
818
+ }
819
+
820
+
821
+ ._titleMatch_vip00_80 {
822
+ border-left: 3px solid var(--papyr-primary, #6366f1);
823
+ }
824
+
825
+ ._headingMatch_vip00_84 {
826
+ border-left: 3px solid var(--papyr-accent, #10b981);
827
+ }
828
+
829
+ ._resultTitle_vip00_71 {
830
+ flex: 1;
831
+ font-weight: 500;
832
+ color: var(--papyr-foreground, #1f2937);
833
+ font-size: 14px;
834
+ line-height: 1.4;
835
+ margin-bottom: 2px;
836
+ }
837
+
838
+ ._resultExcerpt_vip00_75 {
839
+ flex: 1;
840
+ color: var(--papyr-muted-foreground, #6b7280);
841
+ font-size: 0.8125rem;
842
+ line-height: 1.4;
843
+ margin-top: 2px;
844
+ display: -webkit-box;
845
+ -webkit-line-clamp: 2;
846
+ -webkit-box-orient: vertical;
847
+ overflow: hidden;
848
+ }
849
+
850
+
851
+ ._highlight_vip00_110 {
852
+ background: rgba(59, 130, 246, 0.5); /* Blue highlight */
853
+ color: #1e293b; /* Dark text - always readable */
854
+ font-weight: 600;
855
+ padding: 0 2px;
856
+ border-radius: 2px;
857
+ }
858
+
859
+ /* Dark mode support */
860
+ @media (prefers-color-scheme: dark) {
861
+ ._input_vip00_7 {
862
+ background: var(--papyr-background, #1f2937);
863
+ border-color: var(--papyr-border, #374151);
864
+ color: var(--papyr-foreground, #f9fafb);
865
+ }
866
+
867
+ ._input_vip00_7:focus {
868
+ border-color: var(--papyr-primary, #818cf8);
869
+ }
870
+
871
+ ._dropdown_vip00_24 {
872
+ background: var(--papyr-background, #1f2937);
873
+ border-color: var(--papyr-border, #374151);
874
+ }
875
+
876
+ ._categoryTitle_vip00_43 {
877
+ color: var(--papyr-muted, #9ca3af);
878
+ border-bottom-color: var(--papyr-border, #374151);
879
+ }
880
+
881
+ ._resultItem_vip00_54:hover {
882
+ background: var(--papyr-hover, #374151);
883
+ }
884
+
885
+ ._resultItemSelected_vip00_67 {
886
+ background: var(--papyr-active, #4b5563);
887
+ }
888
+
889
+ ._resultItemSelected_vip00_67 ._resultTitle_vip00_71 {
890
+ color: var(--papyr-active-foreground, #f9fafb);
891
+ }
892
+
893
+ ._resultItemSelected_vip00_67 ._resultExcerpt_vip00_75 {
894
+ color: var(--papyr-active-foreground-muted, #d1d5db);
895
+ }
896
+
897
+ ._resultTitle_vip00_71 {
898
+ color: var(--papyr-foreground, #f9fafb);
899
+ }
900
+
901
+ ._resultExcerpt_vip00_75 {
902
+ color: var(--papyr-muted, #9ca3af);
903
+ }
904
+ }
905
+ /* Base container styles */
906
+ ._container_1dw3c_2 {
907
+ width: 100%;
908
+ flex-shrink: 0; /* Prevent container from growing */
909
+ }
910
+
911
+ ._containerCompact_1dw3c_7 {
912
+ padding: 0.5rem 0.75rem;
913
+ border-bottom: 1px solid var(--papyr-border, rgba(255, 255, 255, 0.05));
914
+ }
915
+
916
+ /* Base input styles */
917
+ ._input_1dw3c_13 {
918
+ width: 100%;
919
+ padding: 0.625rem 0.875rem;
920
+ background: var(--papyr-input-bg, rgba(255, 255, 255, 0.05));
921
+ border: 1px solid var(--papyr-border, rgba(255, 255, 255, 0.1));
922
+ border-radius: 6px;
923
+ color: var(--papyr-foreground, #e0e0e0);
924
+ font-size: 0.875rem;
925
+ font-family: inherit;
926
+ outline: none;
927
+ transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
928
+ }
929
+
930
+ ._input_1dw3c_13::placeholder {
931
+ color: var(--papyr-muted-foreground, rgba(255, 255, 255, 0.4));
932
+ }
933
+
934
+ ._input_1dw3c_13:focus {
935
+ background: var(--papyr-input-bg-focus, rgba(255, 255, 255, 0.08));
936
+ border-color: var(--papyr-border-focus, rgba(100, 108, 255, 0.5));
937
+ box-shadow: 0 0 0 3px var(--papyr-focus-ring, rgba(100, 108, 255, 0.1));
938
+ }
939
+
940
+ /* Compact variant for sidebars */
941
+ ._inputCompact_1dw3c_37 {
942
+ padding: 0.5rem 0.75rem;
943
+ border-radius: 4px;
944
+ font-size: 0.875rem;
945
+ }
946
+
947
+ /* Remove default search input styling */
948
+ ._input_1dw3c_13::-webkit-search-cancel-button,
949
+ ._input_1dw3c_13::-webkit-search-decoration {
950
+ -webkit-appearance: none;
951
+ appearance: none;
952
+ }
953
+
954
+ ._input_1dw3c_13[type="search"]::-ms-clear {
955
+ display: none;
956
+ width: 0;
957
+ height: 0;
958
+ }
959
+
960
+ ._fileHierarchy_15xp0_1 {
961
+ display: flex;
962
+ flex-direction: column;
963
+ height: 100%;
964
+ background: var(--papyr-surface-sidebar, #1e1e1e);
965
+ border-right: 1px solid var(--papyr-border, rgba(255, 255, 255, 0.1));
966
+ color: var(--papyr-foreground, #e0e0e0);
967
+ font-size: 0.875rem;
968
+ }
969
+
970
+ ._header_15xp0_11 {
971
+ padding: 0.75rem 1rem;
972
+ border-bottom: 1px solid var(--papyr-border, rgba(255, 255, 255, 0.05));
973
+ flex-shrink: 0;
974
+ }
975
+
976
+ ._sectionTitle_15xp0_17 {
977
+ text-transform: uppercase;
978
+ font-size: 0.75rem;
979
+ letter-spacing: 0.08em;
980
+ font-weight: 600;
981
+ color: var(--papyr-muted-foreground, rgba(255, 255, 255, 0.6));
982
+ }
983
+
984
+ /* Search container - fixed height, doesn't expand */
985
+ ._searchContainer_15xp0_26 {
986
+ padding: 0.75rem 1rem;
987
+ border-bottom: 1px solid var(--papyr-border, rgba(255, 255, 255, 0.05));
988
+ flex-shrink: 0;
989
+ }
990
+
991
+ /* Scrollable container with hidden scrollbar */
992
+ ._scrollContainer_15xp0_33 {
993
+ flex: 1;
994
+ overflow-y: auto;
995
+ overflow-x: hidden;
996
+ padding: 0.5rem 0;
997
+
998
+ /* Hide scrollbar but keep functionality */
999
+ scrollbar-width: none; /* Firefox */
1000
+ -ms-overflow-style: none; /* IE and Edge */
1001
+ }
1002
+
1003
+ ._scrollContainer_15xp0_33::-webkit-scrollbar {
1004
+ display: none; /* Chrome, Safari, Opera */
1005
+ }
1006
+
1007
+ ._tree_15xp0_48 {
1008
+ list-style: none;
1009
+ padding: 0;
1010
+ margin: 0;
1011
+ }
1012
+
1013
+ ._treeItem_15xp0_54 {
1014
+ list-style: none;
1015
+ user-select: none;
1016
+ }
1017
+
1018
+ /* Folder header */
1019
+ ._folderHeader_15xp0_60 {
1020
+ display: flex;
1021
+ align-items: center;
1022
+ gap: 0.25rem;
1023
+ padding: 0.25rem 0.75rem;
1024
+ border-radius: 4px;
1025
+ cursor: default;
1026
+ transition: background-color 0.15s ease;
1027
+ }
1028
+
1029
+ ._folderHeaderClickable_15xp0_70 {
1030
+ cursor: pointer;
1031
+ }
1032
+
1033
+ ._folderHeaderClickable_15xp0_70:hover ._folderName_15xp0_74 {
1034
+ color: var(--papyr-hover, #a1a1aa) !important;
1035
+ }
1036
+
1037
+ ._folderHeaderClickable_15xp0_70:hover ._chevron_15xp0_78 {
1038
+ color: var(--papyr-hover, #a1a1aa) !important;
1039
+ }
1040
+
1041
+ ._folderHeaderClickable_15xp0_70:active ._folderName_15xp0_74 {
1042
+ color: var(--papyr-active, #71717a) !important;
1043
+ }
1044
+
1045
+ ._folderHeaderClickable_15xp0_70:active ._chevron_15xp0_78 {
1046
+ color: var(--papyr-active, #71717a) !important;
1047
+ }
1048
+
1049
+ ._folderHeaderClickable_15xp0_70:focus-visible {
1050
+ outline: 2px solid var(--papyr-primary, #6366f1);
1051
+ outline-offset: -2px;
1052
+ }
1053
+
1054
+ /* Chevron icon */
1055
+ ._chevron_15xp0_78 {
1056
+ display: inline-flex;
1057
+ align-items: center;
1058
+ justify-content: center;
1059
+ width: 1rem;
1060
+ height: 1rem;
1061
+ font-size: 1rem;
1062
+ line-height: 1;
1063
+ color: var(--papyr-muted-foreground, rgba(255, 255, 255, 0.5));
1064
+ transform: rotate(0deg);
1065
+ transition: transform 0.15s ease;
1066
+ }
1067
+
1068
+ ._chevronExpanded_15xp0_109 {
1069
+ transform: rotate(90deg);
1070
+ }
1071
+
1072
+ /* Folder name */
1073
+ ._folderName_15xp0_74 {
1074
+ font-weight: 500;
1075
+ color: var(--papyr-foreground, #e0e0e0);
1076
+ flex: 1;
1077
+ min-width: 0;
1078
+ white-space: normal;
1079
+ word-break: break-word;
1080
+ }
1081
+
1082
+ /* Children container */
1083
+ ._children_15xp0_124 {
1084
+ list-style: none;
1085
+ padding: 0;
1086
+ margin: 0;
1087
+ padding-left: 1.25rem;
1088
+ border-left: 1px solid var(--papyr-border, rgba(255, 255, 255, 0.08));
1089
+ margin-left: 0.5rem;
1090
+ }
1091
+
1092
+ /* Note items */
1093
+ ._noteItem_15xp0_134 {
1094
+ list-style: none;
1095
+ }
1096
+
1097
+ ._noteButton_15xp0_138 {
1098
+ display: flex;
1099
+ align-items: flex-start;
1100
+ gap: 0.5rem;
1101
+ width: 100%;
1102
+ padding: 0.25rem 1.5rem 0.25rem 0.75rem;
1103
+ border: none;
1104
+ background: transparent;
1105
+ color: var(--papyr-foreground, rgba(255, 255, 255, 0.8));
1106
+ text-align: left;
1107
+ cursor: pointer;
1108
+ border-radius: 4px;
1109
+ font-size: 0.875rem;
1110
+ font-family: inherit;
1111
+ transition: background-color 0.15s ease, color 0.15s ease;
1112
+ white-space: normal;
1113
+ word-break: break-word;
1114
+ }
1115
+
1116
+ ._noteLabel_15xp0_157 {
1117
+ flex: 1;
1118
+ min-width: 0;
1119
+ display: block;
1120
+ box-sizing: border-box;
1121
+ padding-right: 0;
1122
+ white-space: normal;
1123
+ overflow-wrap: anywhere;
1124
+ }
1125
+
1126
+ ._noteButton_15xp0_138:hover {
1127
+ color: var(--papyr-hover, #a1a1aa) !important;
1128
+ }
1129
+
1130
+ ._noteButton_15xp0_138:active {
1131
+ color: var(--papyr-active, #71717a) !important;
1132
+ }
1133
+
1134
+ ._noteButton_15xp0_138:focus-visible {
1135
+ outline: 2px solid var(--papyr-primary, #6366f1);
1136
+ outline-offset: -2px;
1137
+ }
1138
+
1139
+ ._noteButtonActive_15xp0_180 {
1140
+ color: var(--papyr-active-item, #6366f1) !important;
1141
+ font-weight: 600;
1142
+ }
1143
+
1144
+ ._noteButtonActive_15xp0_180:hover {
1145
+ color: var(--papyr-active-item-hover, #4f46e5) !important;
1146
+ }
1147
+
1148
+ ._noteButtonSearchMatch_15xp0_189 {
1149
+ color: var(--papyr-search-match, #fbbf24) !important;
1150
+ font-weight: 600;
1151
+ }
1152
+
1153
+ ._noteButtonSearchMatch_15xp0_189:hover {
1154
+ color: var(--papyr-search-match-hover, #f59e0b) !important;
1155
+ }
1156
+
1157
+ ._emptyState_15xp0_198 {
1158
+ display: flex;
1159
+ align-items: center;
1160
+ justify-content: center;
1161
+ padding: 1.5rem;
1162
+ color: var(--papyr-muted-foreground, rgba(255, 255, 255, 0.6));
1163
+ font-size: 0.875rem;
1164
+ text-align: center;
1165
+ height: 100%;
1166
+ }
1167
+ ._container_f89dg_1 {
1168
+ display: flex;
1169
+ flex-direction: column;
1170
+ align-items: center;
1171
+ justify-content: center;
1172
+ padding: 3rem 2rem;
1173
+ text-align: center;
1174
+ color: var(--papyr-muted-foreground, rgba(255, 255, 255, 0.6));
1175
+ }
1176
+
1177
+ ._icon_f89dg_11 {
1178
+ margin-bottom: 1.5rem;
1179
+ opacity: 0.8;
1180
+ }
1181
+
1182
+ ._emoji_f89dg_16 {
1183
+ font-size: 3rem;
1184
+ line-height: 1;
1185
+ }
1186
+
1187
+ ._title_f89dg_21 {
1188
+ font-size: 1.5rem;
1189
+ font-weight: 600;
1190
+ margin: 0 0 0.75rem 0;
1191
+ color: var(--papyr-foreground, rgba(255, 255, 255, 0.9));
1192
+ }
1193
+
1194
+ ._description_f89dg_28 {
1195
+ font-size: 1rem;
1196
+ margin: 0 0 1.5rem 0;
1197
+ max-width: 32rem;
1198
+ line-height: 1.6;
1199
+ color: var(--papyr-muted-foreground, rgba(255, 255, 255, 0.6));
1200
+ }
1201
+
1202
+ ._actions_f89dg_36 {
1203
+ margin-top: 0;
1204
+ display: flex;
1205
+ gap: 0.75rem;
1206
+ flex-wrap: wrap;
1207
+ justify-content: center;
1208
+ }
1209
+
1210
+ ._container_13ske_1 {
1211
+ display: grid;
1212
+ gap: 0;
1213
+ width: 100%;
1214
+ grid-template-rows: 1fr;
1215
+ position: relative;
1216
+ }
1217
+
1218
+ ._skipLink_13ske_9 {
1219
+ position: absolute;
1220
+ left: -9999px;
1221
+ z-index: 999;
1222
+ padding: 0.5rem 1rem;
1223
+ background: var(--papyr-primary, #6366f1);
1224
+ color: #fff;
1225
+ text-decoration: none;
1226
+ font-weight: 500;
1227
+ border-radius: 4px;
1228
+ }
1229
+
1230
+ ._skipLink_13ske_9:focus {
1231
+ left: 0.5rem;
1232
+ top: 0.5rem;
1233
+ }
1234
+
1235
+ ._containerFullHeight_13ske_26 {
1236
+ height: 100vh;
1237
+ height: 100dvh;
1238
+ overflow: hidden;
1239
+ }
1240
+
1241
+ ._containerAutoHeight_13ske_32 {
1242
+ min-height: 100vh;
1243
+ }
1244
+
1245
+ ._sidebar_13ske_36 {
1246
+ background: var(--papyr-sidebar-background, transparent);
1247
+ display: flex;
1248
+ flex-direction: column;
1249
+ height: 100%;
1250
+ min-height: 0;
1251
+ overflow: hidden;
1252
+ border-right: 1px solid var(--papyr-border, rgba(255, 255, 255, 0.06));
1253
+ }
1254
+
1255
+ ._sidebarScrollArea_13ske_46 {
1256
+ flex: 1;
1257
+ height: 100%;
1258
+ min-height: 0;
1259
+ }
1260
+
1261
+ ._sidebarScrollAreaFullHeight_13ske_52 {
1262
+ overflow-y: auto;
1263
+ overflow-x: hidden;
1264
+
1265
+ /* Break scroll chaining */
1266
+ overscroll-behavior: contain;
1267
+ }
1268
+
1269
+ ._sidebarScrollAreaAutoHeight_13ske_60 {
1270
+ overflow: visible;
1271
+ }
1272
+
1273
+ ._sidebarScrollAreaHiddenScrollbars_13ske_64 {
1274
+ /* Hide scrollbars while keeping scrollability */
1275
+ scrollbar-width: none; /* Firefox */
1276
+ -ms-overflow-style: none; /* IE/Edge */
1277
+ }
1278
+
1279
+ ._sidebarScrollAreaHiddenScrollbars_13ske_64::-webkit-scrollbar {
1280
+ display: none; /* Chrome/Safari/Opera */
1281
+ }
1282
+
1283
+ ._main_13ske_74 {
1284
+ background: var(--papyr-background, #1a1a1a);
1285
+ display: flex;
1286
+ flex-direction: column;
1287
+ height: 100%;
1288
+ min-height: 0;
1289
+ min-width: 0;
1290
+ max-width: 100%;
1291
+ overflow: hidden;
1292
+ }
1293
+
1294
+ ._mainScrollArea_13ske_85 {
1295
+ flex: 1;
1296
+ height: 100%;
1297
+ min-height: 0;
1298
+ max-width: 100%;
1299
+ overflow-wrap: break-word;
1300
+ word-break: break-word;
1301
+ }
1302
+
1303
+ ._mainScrollAreaFullHeight_13ske_94 {
1304
+ overflow-y: auto;
1305
+ overflow-x: hidden;
1306
+
1307
+ /* Break scroll chaining - keep main content scroll independent */
1308
+ overscroll-behavior: contain;
1309
+ }
1310
+
1311
+ ._mainScrollAreaAutoHeight_13ske_102 {
1312
+ overflow: visible;
1313
+ }
1314
+ ._container_1ttbz_1 {
1315
+ display: flex;
1316
+ width: 100%;
1317
+ gap: 0;
1318
+ min-height: 0;
1319
+ position: relative;
1320
+ }
1321
+
1322
+ ._skipLink_1ttbz_9 {
1323
+ position: absolute;
1324
+ left: -9999px;
1325
+ z-index: 999;
1326
+ padding: 0.5rem 1rem;
1327
+ background: var(--papyr-primary, #6366f1);
1328
+ color: #fff;
1329
+ text-decoration: none;
1330
+ font-weight: 500;
1331
+ border-radius: 4px;
1332
+ }
1333
+
1334
+ ._skipLink_1ttbz_9:focus {
1335
+ left: 0.5rem;
1336
+ top: 0.5rem;
1337
+ }
1338
+
1339
+ ._containerFullHeight_1ttbz_26 {
1340
+ height: 100vh;
1341
+ height: 100dvh;
1342
+ overflow: hidden;
1343
+ }
1344
+
1345
+ ._containerAutoHeight_1ttbz_32 {
1346
+ min-height: 100vh;
1347
+ }
1348
+
1349
+ ._sidebar_1ttbz_36 {
1350
+ display: flex;
1351
+ flex-direction: column;
1352
+ overflow: hidden;
1353
+ height: 100%;
1354
+ min-height: 0;
1355
+ background: var(--papyr-sidebar-background, transparent);
1356
+ border-right: 1px solid var(--papyr-border, rgba(255, 255, 255, 0.06));
1357
+ }
1358
+
1359
+ ._sidebar_1ttbz_36 + ._sidebar_1ttbz_36 {
1360
+ border-right: none;
1361
+ border-left: 1px solid var(--papyr-border, rgba(255, 255, 255, 0.06));
1362
+ }
1363
+
1364
+ ._sidebarScrollArea_1ttbz_51 {
1365
+ flex: 1;
1366
+ overflow-y: auto;
1367
+ overflow-x: hidden;
1368
+ height: 100%;
1369
+ min-height: 0;
1370
+
1371
+ /* Break scroll chaining - prevent scroll from propagating to main content */
1372
+ overscroll-behavior: contain;
1373
+ }
1374
+
1375
+ ._sidebarScrollAreaHiddenScrollbars_1ttbz_62 {
1376
+ /* Hide scrollbars for all browsers */
1377
+ scrollbar-width: none; /* Firefox */
1378
+ -ms-overflow-style: none; /* IE/Edge */
1379
+ }
1380
+
1381
+ ._sidebarScrollAreaHiddenScrollbars_1ttbz_62::-webkit-scrollbar {
1382
+ display: none; /* Chrome/Safari/Opera */
1383
+ }
1384
+
1385
+ ._main_1ttbz_72 {
1386
+ flex: 1;
1387
+ display: flex;
1388
+ flex-direction: column;
1389
+ overflow: hidden;
1390
+ height: 100%;
1391
+ min-height: 0;
1392
+ min-width: 0;
1393
+ max-width: 100%;
1394
+ background: var(--papyr-background, #1a1a1a);
1395
+ }
1396
+
1397
+ ._mainScrollArea_1ttbz_84 {
1398
+ flex: 1;
1399
+ overflow-y: auto;
1400
+ overflow-x: hidden;
1401
+ min-height: 0;
1402
+ max-width: 100%;
1403
+ overflow-wrap: break-word;
1404
+ word-break: break-word;
1405
+
1406
+ /* Break scroll chaining - keep main content scroll independent */
1407
+ overscroll-behavior: contain;
1408
+
1409
+ /* Content padding for breathing room */
1410
+ padding: 2rem 2.5rem;
1411
+
1412
+ /* Hide scrollbar but keep functionality */
1413
+ scrollbar-width: none;
1414
+ -ms-overflow-style: none;
1415
+ }
1416
+
1417
+ ._mainScrollArea_1ttbz_84::-webkit-scrollbar {
1418
+ display: none;
1419
+ }
1420
+ ._container_1uvfd_1 {
1421
+ display: flex;
1422
+ flex-direction: column;
1423
+ padding: 0.75rem 0;
1424
+ border-radius: 0;
1425
+ border: none;
1426
+ background: transparent;
1427
+ box-shadow: none;
1428
+ color: var(--papyr-foreground, #e0e0e0);
1429
+ gap: 0.35rem;
1430
+ }
1431
+
1432
+ ._list_1uvfd_13 {
1433
+ --toc-rail-offset: 0.12rem;
1434
+ --toc-rail-gap: 0.02rem;
1435
+ --toc-rail-width: 2px;
1436
+ position: relative;
1437
+ list-style: none;
1438
+ margin: 0;
1439
+ padding: 0;
1440
+ padding-left: calc(var(--toc-rail-offset) + var(--toc-rail-gap));
1441
+ display: flex;
1442
+ flex-direction: column;
1443
+ gap: 0;
1444
+ }
1445
+
1446
+ ._list_1uvfd_13::before {
1447
+ content: '';
1448
+ position: absolute;
1449
+ left: var(--toc-rail-offset);
1450
+ top: 0;
1451
+ bottom: 0;
1452
+ width: var(--toc-rail-width);
1453
+ background: var(--papyr-border, rgba(255, 255, 255, 0.15));
1454
+ border-radius: 999px;
1455
+ pointer-events: none;
1456
+ z-index: 0;
1457
+ }
1458
+
1459
+ ._item_1uvfd_40 {
1460
+ --toc-indent: 0rem;
1461
+ position: relative;
1462
+ color: var(--papyr-muted-foreground, rgba(255, 255, 255, 0.7));
1463
+ line-height: 1.35;
1464
+ font-size: 0.875rem;
1465
+ }
1466
+
1467
+ ._itemActive_1uvfd_48 {
1468
+ color: var(--papyr-foreground, #e0e0e0);
1469
+ }
1470
+
1471
+ ._itemActive_1uvfd_48::before {
1472
+ content: '';
1473
+ position: absolute;
1474
+ left: calc(var(--toc-rail-gap) * -1);
1475
+ top: 0;
1476
+ bottom: 0;
1477
+ width: var(--toc-rail-width);
1478
+ background: var(--papyr-primary, #6366f1);
1479
+ border-radius: 0;
1480
+ pointer-events: none;
1481
+ z-index: 1;
1482
+ }
1483
+
1484
+ ._link_1uvfd_65 {
1485
+ display: block;
1486
+ padding: 0.35rem 0.6rem 0.35rem calc(var(--toc-indent, 0rem) + 0.2rem);
1487
+ border-radius: 0;
1488
+ text-decoration: none;
1489
+ color: inherit;
1490
+ transition: color 0.2s ease, background 0.2s ease;
1491
+ }
1492
+
1493
+ ._link_1uvfd_65:hover {
1494
+ color: var(--papyr-foreground, #e0e0e0);
1495
+ background: var(--papyr-surface-hover, rgba(99, 102, 241, 0.12));
1496
+ }
1497
+
1498
+ ._link_1uvfd_65:focus-visible {
1499
+ outline: 2px solid var(--papyr-primary, #6366f1);
1500
+ outline-offset: -2px;
1501
+ }
1502
+
1503
+ ._linkActive_1uvfd_84 {
1504
+ background: var(--papyr-active-background, rgba(99, 102, 241, 0.15));
1505
+ color: var(--papyr-foreground, #e0e0e0);
1506
+ box-shadow: none;
1507
+ border-radius: 0;
1508
+ }
1509
+
1510
+ ._level1_1uvfd_91 {
1511
+ --toc-indent: 0.4rem;
1512
+ font-weight: 600;
1513
+ color: var(--papyr-foreground, #e0e0e0);
1514
+ margin-top: 0.6rem;
1515
+ }
1516
+
1517
+ ._level1_1uvfd_91:first-child {
1518
+ margin-top: 0;
1519
+ }
1520
+
1521
+ ._level2_1uvfd_102 {
1522
+ --toc-indent: 0.75rem;
1523
+ }
1524
+
1525
+ ._level3_1uvfd_106 {
1526
+ --toc-indent: 1.5rem;
1527
+ }
1528
+
1529
+ ._level4_1uvfd_110 {
1530
+ --toc-indent: 2.25rem;
1531
+ }
1532
+
1533
+ ._level5_1uvfd_114 {
1534
+ --toc-indent: 3rem;
1535
+ }
1536
+
1537
+ ._level6_1uvfd_118 {
1538
+ --toc-indent: 3.75rem;
1539
+ }
1540
+
1541
+ ._level2_1uvfd_102,
1542
+ ._level3_1uvfd_106,
1543
+ ._level4_1uvfd_110,
1544
+ ._level5_1uvfd_114,
1545
+ ._level6_1uvfd_118 {
1546
+ font-size: 0.8125rem;
1547
+ color: var(--papyr-muted-foreground, rgba(255, 255, 255, 0.65));
1548
+ }