payload-plugin-backup-postgres 0.0.0-stage → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (187) hide show
  1. package/LICENSE +22 -0
  2. package/README.md +355 -2
  3. package/dist/backup-dashboard.css +1149 -0
  4. package/dist/client.d.ts +3 -0
  5. package/dist/client.js +3 -0
  6. package/dist/client.js.map +1 -0
  7. package/dist/collections/BackupSettings.d.ts +6 -0
  8. package/dist/collections/BackupSettings.js +91 -0
  9. package/dist/collections/BackupSettings.js.map +1 -0
  10. package/dist/collections/BackupTasks.d.ts +2 -0
  11. package/dist/collections/BackupTasks.js +63 -0
  12. package/dist/collections/BackupTasks.js.map +1 -0
  13. package/dist/components/BackupDashboard/BackupItemActions.client.d.ts +7 -0
  14. package/dist/components/BackupDashboard/BackupItemActions.client.js +90 -0
  15. package/dist/components/BackupDashboard/BackupItemActions.client.js.map +1 -0
  16. package/dist/components/BackupDashboard/BackupListCollapsible.client.d.ts +16 -0
  17. package/dist/components/BackupDashboard/BackupListCollapsible.client.js +597 -0
  18. package/dist/components/BackupDashboard/BackupListCollapsible.client.js.map +1 -0
  19. package/dist/components/BackupDashboard/BackupSettingsModal.client.d.ts +2 -0
  20. package/dist/components/BackupDashboard/BackupSettingsModal.client.js +1027 -0
  21. package/dist/components/BackupDashboard/BackupSettingsModal.client.js.map +1 -0
  22. package/dist/components/BackupDashboard/CollectionBackupPreviewBody.client.d.ts +18 -0
  23. package/dist/components/BackupDashboard/CollectionBackupPreviewBody.client.js +267 -0
  24. package/dist/components/BackupDashboard/CollectionBackupPreviewBody.client.js.map +1 -0
  25. package/dist/components/BackupDashboard/ManualBackupDialog.client.d.ts +1 -0
  26. package/dist/components/BackupDashboard/ManualBackupDialog.client.js +276 -0
  27. package/dist/components/BackupDashboard/ManualBackupDialog.client.js.map +1 -0
  28. package/dist/components/BackupDashboard/RestoreBackupDialog.client.d.ts +6 -0
  29. package/dist/components/BackupDashboard/RestoreBackupDialog.client.js +551 -0
  30. package/dist/components/BackupDashboard/RestoreBackupDialog.client.js.map +1 -0
  31. package/dist/components/BackupDashboard/TaskActionButton.client.d.ts +29 -0
  32. package/dist/components/BackupDashboard/TaskActionButton.client.js +273 -0
  33. package/dist/components/BackupDashboard/TaskActionButton.client.js.map +1 -0
  34. package/dist/components/BackupDashboard/backupDashboardInlineCss.d.ts +1 -0
  35. package/dist/components/BackupDashboard/backupDashboardInlineCss.js +3 -0
  36. package/dist/components/BackupDashboard/backupDashboardInlineCss.js.map +1 -0
  37. package/dist/components/BackupDashboard/index.client.d.ts +8 -0
  38. package/dist/components/BackupDashboard/index.client.js +9 -0
  39. package/dist/components/BackupDashboard/index.client.js.map +1 -0
  40. package/dist/components/BackupDashboard/index.d.ts +15 -0
  41. package/dist/components/BackupDashboard/index.js +246 -0
  42. package/dist/components/BackupDashboard/index.js.map +1 -0
  43. package/dist/core/archive.d.ts +8 -0
  44. package/dist/core/archive.js +47 -0
  45. package/dist/core/archive.js.map +1 -0
  46. package/dist/core/backup.d.ts +54 -0
  47. package/dist/core/backup.js +282 -0
  48. package/dist/core/backup.js.map +1 -0
  49. package/dist/core/backupArchiveRead.d.ts +15 -0
  50. package/dist/core/backupArchiveRead.js +30 -0
  51. package/dist/core/backupArchiveRead.js.map +1 -0
  52. package/dist/core/backupBlobIO.d.ts +54 -0
  53. package/dist/core/backupBlobIO.js +179 -0
  54. package/dist/core/backupBlobIO.js.map +1 -0
  55. package/dist/core/backupBlobTransfer.d.ts +29 -0
  56. package/dist/core/backupBlobTransfer.js +85 -0
  57. package/dist/core/backupBlobTransfer.js.map +1 -0
  58. package/dist/core/backupSettings.d.ts +35 -0
  59. package/dist/core/backupSettings.js +100 -0
  60. package/dist/core/backupSettings.js.map +1 -0
  61. package/dist/core/backupSourcePreview.d.ts +10 -0
  62. package/dist/core/backupSourcePreview.js +46 -0
  63. package/dist/core/backupSourcePreview.js.map +1 -0
  64. package/dist/core/blobTokenValidate.d.ts +14 -0
  65. package/dist/core/blobTokenValidate.js +75 -0
  66. package/dist/core/blobTokenValidate.js.map +1 -0
  67. package/dist/core/db.d.ts +56 -0
  68. package/dist/core/db.js +161 -0
  69. package/dist/core/db.js.map +1 -0
  70. package/dist/core/pgArchive.d.ts +37 -0
  71. package/dist/core/pgArchive.js +57 -0
  72. package/dist/core/pgArchive.js.map +1 -0
  73. package/dist/core/restore.d.ts +46 -0
  74. package/dist/core/restore.js +439 -0
  75. package/dist/core/restore.js.map +1 -0
  76. package/dist/core/restorePreview.d.ts +76 -0
  77. package/dist/core/restorePreview.js +222 -0
  78. package/dist/core/restorePreview.js.map +1 -0
  79. package/dist/core/restoreResult.d.ts +34 -0
  80. package/dist/core/restoreResult.js +45 -0
  81. package/dist/core/restoreResult.js.map +1 -0
  82. package/dist/core/storage/config.d.ts +31 -0
  83. package/dist/core/storage/config.js +60 -0
  84. package/dist/core/storage/config.js.map +1 -0
  85. package/dist/core/storage/index.d.ts +23 -0
  86. package/dist/core/storage/index.js +25 -0
  87. package/dist/core/storage/index.js.map +1 -0
  88. package/dist/core/storage/s3.d.ts +35 -0
  89. package/dist/core/storage/s3.js +200 -0
  90. package/dist/core/storage/s3.js.map +1 -0
  91. package/dist/core/storage/types.d.ts +60 -0
  92. package/dist/core/storage/types.js +6 -0
  93. package/dist/core/storage/types.js.map +1 -0
  94. package/dist/core/storage/vercelBlob.d.ts +25 -0
  95. package/dist/core/storage/vercelBlob.js +53 -0
  96. package/dist/core/storage/vercelBlob.js.map +1 -0
  97. package/dist/core/tableGroups.d.ts +25 -0
  98. package/dist/core/tableGroups.js +80 -0
  99. package/dist/core/tableGroups.js.map +1 -0
  100. package/dist/core/taskProgress.d.ts +39 -0
  101. package/dist/core/taskProgress.js +104 -0
  102. package/dist/core/taskProgress.js.map +1 -0
  103. package/dist/core/vercelBackupCron.d.ts +8 -0
  104. package/dist/core/vercelBackupCron.js +38 -0
  105. package/dist/core/vercelBackupCron.js.map +1 -0
  106. package/dist/endpoints/index.d.ts +3 -0
  107. package/dist/endpoints/index.js +29 -0
  108. package/dist/endpoints/index.js.map +1 -0
  109. package/dist/endpoints/paths/admin-backup-download.d.ts +8 -0
  110. package/dist/endpoints/paths/admin-backup-download.js +73 -0
  111. package/dist/endpoints/paths/admin-backup-download.js.map +1 -0
  112. package/dist/endpoints/paths/admin-delete.d.ts +3 -0
  113. package/dist/endpoints/paths/admin-delete.js +61 -0
  114. package/dist/endpoints/paths/admin-delete.js.map +1 -0
  115. package/dist/endpoints/paths/admin-manual.d.ts +3 -0
  116. package/dist/endpoints/paths/admin-manual.js +62 -0
  117. package/dist/endpoints/paths/admin-manual.js.map +1 -0
  118. package/dist/endpoints/paths/admin-preview.d.ts +6 -0
  119. package/dist/endpoints/paths/admin-preview.js +109 -0
  120. package/dist/endpoints/paths/admin-preview.js.map +1 -0
  121. package/dist/endpoints/paths/admin-restore.d.ts +3 -0
  122. package/dist/endpoints/paths/admin-restore.js +77 -0
  123. package/dist/endpoints/paths/admin-restore.js.map +1 -0
  124. package/dist/endpoints/paths/admin-settings.d.ts +3 -0
  125. package/dist/endpoints/paths/admin-settings.js +263 -0
  126. package/dist/endpoints/paths/admin-settings.js.map +1 -0
  127. package/dist/endpoints/paths/admin-task.d.ts +3 -0
  128. package/dist/endpoints/paths/admin-task.js +34 -0
  129. package/dist/endpoints/paths/admin-task.js.map +1 -0
  130. package/dist/endpoints/paths/admin-validate-blob-token.d.ts +8 -0
  131. package/dist/endpoints/paths/admin-validate-blob-token.js +26 -0
  132. package/dist/endpoints/paths/admin-validate-blob-token.js.map +1 -0
  133. package/dist/endpoints/paths/cron-list.d.ts +2 -0
  134. package/dist/endpoints/paths/cron-list.js +34 -0
  135. package/dist/endpoints/paths/cron-list.js.map +1 -0
  136. package/dist/endpoints/paths/cron-restore.d.ts +2 -0
  137. package/dist/endpoints/paths/cron-restore.js +71 -0
  138. package/dist/endpoints/paths/cron-restore.js.map +1 -0
  139. package/dist/endpoints/paths/cron-run.d.ts +3 -0
  140. package/dist/endpoints/paths/cron-run.js +46 -0
  141. package/dist/endpoints/paths/cron-run.js.map +1 -0
  142. package/dist/endpoints/shared.d.ts +12 -0
  143. package/dist/endpoints/shared.js +52 -0
  144. package/dist/endpoints/shared.js.map +1 -0
  145. package/dist/exports/client.d.ts +1 -0
  146. package/dist/exports/client.js +3 -0
  147. package/dist/exports/client.js.map +1 -0
  148. package/dist/exports/rsc.d.ts +1 -0
  149. package/dist/exports/rsc.js +3 -0
  150. package/dist/exports/rsc.js.map +1 -0
  151. package/dist/index.d.ts +25 -0
  152. package/dist/index.js +18 -0
  153. package/dist/index.js.map +1 -0
  154. package/dist/plugin.d.ts +3 -0
  155. package/dist/plugin.js +69 -0
  156. package/dist/plugin.js.map +1 -0
  157. package/dist/publicApiPaths.d.ts +18 -0
  158. package/dist/publicApiPaths.js +19 -0
  159. package/dist/publicApiPaths.js.map +1 -0
  160. package/dist/types.d.ts +16 -0
  161. package/dist/types.js +3 -0
  162. package/dist/types.js.map +1 -0
  163. package/dist/utils/backupSelection.d.ts +6 -0
  164. package/dist/utils/backupSelection.js +16 -0
  165. package/dist/utils/backupSelection.js.map +1 -0
  166. package/dist/utils/blobName.d.ts +32 -0
  167. package/dist/utils/blobName.js +99 -0
  168. package/dist/utils/blobName.js.map +1 -0
  169. package/dist/utils/dashboardRoleAccess.d.ts +23 -0
  170. package/dist/utils/dashboardRoleAccess.js +64 -0
  171. package/dist/utils/dashboardRoleAccess.js.map +1 -0
  172. package/dist/utils/dialogBackdrop.d.ts +9 -0
  173. package/dist/utils/dialogBackdrop.js +17 -0
  174. package/dist/utils/dialogBackdrop.js.map +1 -0
  175. package/dist/utils/formatBytes.d.ts +2 -0
  176. package/dist/utils/formatBytes.js +20 -0
  177. package/dist/utils/formatBytes.js.map +1 -0
  178. package/dist/utils/hostname.d.ts +4 -0
  179. package/dist/utils/hostname.js +32 -0
  180. package/dist/utils/hostname.js.map +1 -0
  181. package/dist/utils/index.d.ts +5 -0
  182. package/dist/utils/index.js +7 -0
  183. package/dist/utils/index.js.map +1 -0
  184. package/dist/utils/maskBlobToken.d.ts +11 -0
  185. package/dist/utils/maskBlobToken.js +42 -0
  186. package/dist/utils/maskBlobToken.js.map +1 -0
  187. package/package.json +140 -3
@@ -0,0 +1,1149 @@
1
+ @charset "UTF-8";
2
+ @layer payload-default {}
3
+ @layer payload-default {}
4
+ .backup-dashboard {
5
+ box-sizing: border-box;
6
+ width: 100%;
7
+ max-width: 100%;
8
+ margin-top: 60px;
9
+ margin-inline: 5px;
10
+ padding-inline: 0;
11
+ }
12
+ .backup-dashboard h2 {
13
+ margin-bottom: 20px;
14
+ }
15
+ .backup-dashboard .experimental {
16
+ color: #909090;
17
+ font-size: 12px;
18
+ }
19
+ .backup-dashboard {
20
+ margin-bottom: 30px;
21
+ display: flex;
22
+ flex-direction: column;
23
+ gap: 4px;
24
+ }
25
+ .backup-dashboard__collapsible-title {
26
+ font-size: 13px;
27
+ font-weight: 600;
28
+ line-height: 1.3;
29
+ color: var(--theme-elevation-900);
30
+ letter-spacing: -0.01em;
31
+ pointer-events: none;
32
+ }
33
+ .backup-dashboard__backup-list-toolbar {
34
+ display: flex;
35
+ justify-content: flex-start;
36
+ align-items: center;
37
+ margin: 2px 0 7px;
38
+ /* Payload `.btn` often adds vertical margin — tighten only this toolbar */
39
+ }
40
+ .backup-dashboard__backup-list-toolbar > .btn {
41
+ margin-block: 0;
42
+ }
43
+ .backup-dashboard__filter-btn {
44
+ margin-block: 0;
45
+ }
46
+ .backup-dashboard__collapsible-checkbox {
47
+ display: flex;
48
+ /* center would vertically center the box against multi-line labels — looks misaligned */
49
+ align-items: flex-start;
50
+ gap: 7px;
51
+ }
52
+ .backup-dashboard__collapsible-checkbox .checkbox-input__input {
53
+ appearance: none;
54
+ width: 14px;
55
+ height: 14px;
56
+ border: 1px solid var(--theme-elevation-300);
57
+ background: var(--theme-input-bg);
58
+ border-radius: 3px;
59
+ flex-shrink: 0;
60
+ /* Nudge into the first line’s cap-height vs. 12px / ~1.35–1.45 line box */
61
+ margin: 2px 0 0;
62
+ cursor: pointer;
63
+ position: relative;
64
+ }
65
+ .backup-dashboard__collapsible-checkbox .checkbox-input__input:checked {
66
+ border-color: var(--theme-elevation-800);
67
+ background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.58333 7.5L0 3.91667L0.7 3.21667L3.58333 6.1L9.3 0.383333L10 1.08333L3.58333 7.5Z' fill='%23333333'/%3E%3C/svg%3E");
68
+ background-repeat: no-repeat;
69
+ background-position: center;
70
+ background-size: 10px 8px;
71
+ }
72
+ .backup-dashboard__collapsible-checkbox .checkbox-input__input:hover {
73
+ border-color: var(--theme-elevation-400);
74
+ }
75
+ .backup-dashboard__collapsible-checkbox .checkbox-input__input:focus {
76
+ outline: none;
77
+ border-color: var(--theme-elevation-400);
78
+ }
79
+ .backup-dashboard__collapsible-checkbox .field-label {
80
+ font-size: 12px;
81
+ line-height: 1.45;
82
+ color: var(--theme-elevation-800);
83
+ cursor: pointer;
84
+ white-space: nowrap;
85
+ }
86
+ .backup-dashboard__filter-btn--active {
87
+ box-shadow: 0 0 0 2px rgba(25, 118, 210, 0.35);
88
+ }
89
+ .backup-dashboard__list-empty {
90
+ margin: 0 0 15px;
91
+ font-size: 13px;
92
+ color: var(--theme-elevation-600);
93
+ }
94
+ .backup-dashboard__setup-hint {
95
+ margin: 0 0 18px;
96
+ padding: 13px 18px;
97
+ font-size: 13px;
98
+ line-height: 1.45;
99
+ color: var(--theme-elevation-800);
100
+ background: var(--theme-warning-50, rgba(255, 193, 7, 0.12));
101
+ border: 1px solid var(--theme-warning-200, rgba(255, 152, 0, 0.35));
102
+ border-radius: 4px;
103
+ }
104
+ .backup-dashboard__setup-hint-code {
105
+ font-family: var(--font-mono, ui-monospace, monospace);
106
+ font-size: 12px;
107
+ font-weight: 500;
108
+ }
109
+ .backup-dashboard__toolbar {
110
+ margin: 0 0 15px;
111
+ padding: 2px 24px;
112
+ border: 1px solid var(--theme-elevation-100);
113
+ border-radius: 4px;
114
+ background: var(--theme-elevation-25, #fafafa);
115
+ display: flex;
116
+ justify-content: space-between;
117
+ align-items: center;
118
+ gap: 14px;
119
+ flex-wrap: wrap;
120
+ }
121
+ .backup-dashboard__toolbar-meta {
122
+ display: flex;
123
+ flex-direction: row;
124
+ flex-wrap: wrap;
125
+ gap: 7px;
126
+ align-items: center;
127
+ }
128
+ .backup-dashboard__toolbar-pill {
129
+ display: inline-flex;
130
+ align-items: center;
131
+ gap: 6px;
132
+ font-size: 12px;
133
+ padding: 4px 9px;
134
+ border-radius: 999px;
135
+ border: 1px solid var(--theme-elevation-150);
136
+ background: var(--theme-elevation-0);
137
+ color: var(--theme-elevation-800);
138
+ }
139
+ .backup-dashboard__toolbar-key {
140
+ font-size: 10px;
141
+ text-transform: uppercase;
142
+ letter-spacing: 0.04em;
143
+ color: var(--theme-elevation-500);
144
+ font-weight: 600;
145
+ }
146
+ .backup-dashboard .backup-item {
147
+ margin-bottom: 20px;
148
+ display: flex;
149
+ flex-direction: row;
150
+ gap: 15px;
151
+ justify-content: space-between;
152
+ align-items: flex-start;
153
+ background-color: var(--theme-elevation-50, #f5f5f5);
154
+ padding: 13px 20px;
155
+ border-radius: 5px;
156
+ border: 1px solid var(--theme-elevation-100);
157
+ }
158
+ @media (max-width: 768px) {
159
+ .backup-dashboard .backup-item {
160
+ flex-direction: column;
161
+ align-items: stretch;
162
+ }
163
+ }
164
+ .backup-dashboard .backup-item__main {
165
+ flex: 1;
166
+ min-width: 0;
167
+ display: flex;
168
+ flex-direction: column;
169
+ gap: 9px;
170
+ }
171
+ .backup-dashboard .backup-item__primary {
172
+ display: flex;
173
+ flex-direction: row;
174
+ flex-wrap: wrap;
175
+ align-items: baseline;
176
+ gap: 8px;
177
+ }
178
+ .backup-dashboard .backup-item__time {
179
+ font-size: 14px;
180
+ font-weight: 600;
181
+ color: var(--theme-elevation-900);
182
+ letter-spacing: -0.01em;
183
+ }
184
+ .backup-dashboard .backup-item__meta {
185
+ display: flex;
186
+ flex-direction: row;
187
+ flex-wrap: wrap;
188
+ align-items: center;
189
+ gap: 6px;
190
+ }
191
+ .backup-dashboard .backup-item__pill {
192
+ display: inline-flex;
193
+ flex-direction: row;
194
+ align-items: center;
195
+ gap: 5px;
196
+ font-size: 12px;
197
+ line-height: 1.25;
198
+ padding: 3px 9px;
199
+ border-radius: 999px;
200
+ background: var(--theme-elevation-100, #ebebeb);
201
+ color: var(--theme-elevation-800);
202
+ border: 1px solid transparent;
203
+ max-width: 100%;
204
+ }
205
+ .backup-dashboard .backup-item__pill-key {
206
+ font-weight: 500;
207
+ font-size: 10px;
208
+ text-transform: uppercase;
209
+ letter-spacing: 0.04em;
210
+ color: var(--theme-elevation-500);
211
+ }
212
+ .backup-dashboard .backup-item__pill--kind {
213
+ font-weight: 600;
214
+ font-size: 11px;
215
+ text-transform: uppercase;
216
+ letter-spacing: 0.03em;
217
+ }
218
+ .backup-dashboard .backup-item__pill--cron {
219
+ background: rgba(46, 125, 50, 0.12);
220
+ color: var(--theme-success-800, #1b5e20);
221
+ border-color: rgba(46, 125, 50, 0.22);
222
+ }
223
+ .backup-dashboard .backup-item__pill--manual {
224
+ background: rgba(25, 118, 210, 0.1);
225
+ color: var(--theme-elevation-900);
226
+ border-color: rgba(25, 118, 210, 0.2);
227
+ }
228
+ .backup-dashboard .backup-item__pill--media {
229
+ font-weight: 600;
230
+ font-size: 11px;
231
+ background: var(--theme-elevation-0, #fff);
232
+ border-color: var(--theme-elevation-150);
233
+ }
234
+ .backup-dashboard .backup-item__pill--collections {
235
+ background: var(--theme-elevation-0, #fff);
236
+ border-color: var(--theme-elevation-150);
237
+ font-variant-numeric: tabular-nums;
238
+ }
239
+ .backup-dashboard .backup-item__pill--label {
240
+ background: rgba(124, 58, 237, 0.1);
241
+ color: var(--theme-elevation-900);
242
+ border-color: rgba(124, 58, 237, 0.25);
243
+ font-weight: 600;
244
+ max-width: 24ch;
245
+ overflow: hidden;
246
+ text-overflow: ellipsis;
247
+ white-space: nowrap;
248
+ }
249
+ .backup-dashboard .backup-item__pill--label .backup-item__pill-key {
250
+ color: rgba(124, 58, 237, 0.9);
251
+ }
252
+ .backup-dashboard .backup-item__pill--size {
253
+ background: var(--theme-elevation-0, #fff);
254
+ border-color: var(--theme-elevation-150);
255
+ }
256
+ .backup-dashboard .backup-item__pill--warn {
257
+ background: var(--theme-warning-50, rgba(255, 193, 7, 0.12));
258
+ border-color: var(--theme-warning-200, rgba(255, 152, 0, 0.35));
259
+ color: var(--theme-warning-800, #8a5a00);
260
+ }
261
+ .backup-dashboard .backup-item__pill--warn .backup-item__pill-key {
262
+ color: var(--theme-warning-700, #a26a00);
263
+ font-weight: 700;
264
+ }
265
+ .backup-dashboard .backup-item__pill--danger {
266
+ background: var(--theme-error-50, rgba(220, 38, 38, 0.1));
267
+ border-color: var(--theme-error-200, rgba(220, 38, 38, 0.35));
268
+ color: var(--theme-error-800, #991b1b);
269
+ font-weight: 600;
270
+ }
271
+ .backup-dashboard .backup-item__pill--neutral {
272
+ background: var(--theme-elevation-50, #f4f4f4);
273
+ border-color: var(--theme-elevation-150);
274
+ color: var(--theme-elevation-700);
275
+ }
276
+ .backup-dashboard .backup-item__size-value {
277
+ font-weight: 600;
278
+ font-variant-numeric: tabular-nums;
279
+ color: var(--theme-elevation-900);
280
+ }
281
+ .backup-dashboard .make-backup-container {
282
+ padding-top: 7px;
283
+ }
284
+ .backup-dashboard .make-backup-actions {
285
+ display: flex;
286
+ flex-direction: row;
287
+ flex-wrap: wrap;
288
+ align-items: center;
289
+ gap: 10px;
290
+ }
291
+ .backup-dashboard {
292
+ /* Filter modal: checkbox row uses shared checkbox styles; allow label wrap in dialog */
293
+ }
294
+ .backup-dashboard .backup-list-filters__scope-row .field-label {
295
+ white-space: normal;
296
+ line-height: 1.35;
297
+ }
298
+
299
+ .backup-item-actions {
300
+ flex-shrink: 0;
301
+ }
302
+ .backup-item-actions__buttons {
303
+ display: flex;
304
+ flex-direction: row;
305
+ gap: 8px;
306
+ align-items: center;
307
+ }
308
+
309
+ .backup-confirm-dialog {
310
+ padding: 0;
311
+ border: 1px solid var(--theme-elevation-200);
312
+ border-radius: 6px;
313
+ box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
314
+ min-width: 320px;
315
+ max-width: 440px;
316
+ background: var(--theme-elevation-0);
317
+ }
318
+ .backup-confirm-dialog--restore, .backup-confirm-dialog--manual, .backup-confirm-dialog--settings, .backup-confirm-dialog--backup-list-filters {
319
+ min-width: 360px;
320
+ max-width: min(560px, 96vw);
321
+ }
322
+ .backup-confirm-dialog--settings .backup-confirm-dialog__body.restore-preview {
323
+ /* ~120px taller than default; cap keeps full dialog under the viewport */
324
+ max-height: min(100dvh - 10rem, 660px);
325
+ }
326
+ .backup-confirm-dialog--settings .backup-confirm-dialog__subtitle--with-help {
327
+ display: flex;
328
+ flex-wrap: wrap;
329
+ align-items: flex-start;
330
+ gap: 7px;
331
+ padding-bottom: 7px;
332
+ }
333
+ .backup-confirm-dialog--settings .backup-confirm-dialog__subtitle-text {
334
+ flex: 1;
335
+ min-width: 0;
336
+ }
337
+ .backup-confirm-dialog--settings .restore-preview__sticky-heading--with-help {
338
+ display: flex;
339
+ align-items: center;
340
+ justify-content: space-between;
341
+ gap: 7px;
342
+ margin-top: 4px;
343
+ margin-bottom: 6px;
344
+ padding-top: 7px;
345
+ padding-bottom: 5px;
346
+ }
347
+ .backup-confirm-dialog--settings .restore-preview__sticky-heading--with-help > span:first-child {
348
+ flex: 1;
349
+ min-width: 0;
350
+ }
351
+ .backup-confirm-dialog--settings .restore-preview__intro {
352
+ margin-bottom: 7px;
353
+ }
354
+ .backup-confirm-dialog--settings .restore-preview__settings-fields {
355
+ margin-bottom: 10px;
356
+ }
357
+ .backup-confirm-dialog--settings .restore-preview__settings-block {
358
+ margin-bottom: 11px;
359
+ }
360
+ .backup-confirm-dialog--danger-confirm {
361
+ border-color: var(--theme-error-500, #c0392b);
362
+ box-shadow: 0 8px 28px rgba(192, 57, 43, 0.18);
363
+ }
364
+ .backup-confirm-dialog--danger-confirm .backup-confirm-dialog__actions .btn:first-of-type {
365
+ background-color: var(--theme-error-600, #c0392b);
366
+ border-color: var(--theme-error-600, #c0392b);
367
+ color: #fff;
368
+ }
369
+ .backup-confirm-dialog--danger-confirm .backup-confirm-dialog__actions .btn:first-of-type:hover:not([disabled]) {
370
+ background-color: var(--theme-error-700, #a93226);
371
+ border-color: var(--theme-error-700, #a93226);
372
+ }
373
+ .backup-confirm-dialog::backdrop {
374
+ background: rgba(0, 0, 0, 0.35);
375
+ }
376
+ .backup-confirm-dialog__title {
377
+ margin: 0;
378
+ padding: 16px 20px 6px;
379
+ font-size: 15px;
380
+ font-weight: 600;
381
+ color: var(--theme-elevation-1000);
382
+ }
383
+ .backup-confirm-dialog__subtitle {
384
+ margin: 0;
385
+ padding: 0 20px 10px;
386
+ font-size: 12px;
387
+ line-height: 1.45;
388
+ color: var(--theme-elevation-600);
389
+ }
390
+ .backup-confirm-dialog__subtitle code {
391
+ font-size: 11px;
392
+ }
393
+ .backup-confirm-dialog__body {
394
+ margin: 0;
395
+ padding: 0 20px 16px;
396
+ font-size: 13px;
397
+ color: var(--theme-elevation-600);
398
+ }
399
+ .backup-confirm-dialog__body.restore-preview {
400
+ max-height: min(70vh, 520px);
401
+ overflow-y: auto;
402
+ }
403
+ .backup-confirm-dialog__actions {
404
+ display: flex;
405
+ flex-direction: row;
406
+ align-items: center;
407
+ gap: 8px;
408
+ padding: 12px 20px 16px;
409
+ border-top: 1px solid var(--theme-elevation-100);
410
+ }
411
+
412
+ .backup-list-filters__body {
413
+ display: flex;
414
+ flex-direction: column;
415
+ gap: 15px;
416
+ }
417
+ .backup-list-filters__fieldset {
418
+ margin: 0;
419
+ padding: 0;
420
+ border: 0;
421
+ min-width: 0;
422
+ }
423
+ .backup-list-filters__legend {
424
+ font-size: 11px;
425
+ font-weight: 600;
426
+ text-transform: uppercase;
427
+ letter-spacing: 0.04em;
428
+ color: var(--theme-elevation-600);
429
+ margin: 0 0 7px;
430
+ padding: 0;
431
+ }
432
+ .backup-list-filters__row {
433
+ display: grid;
434
+ grid-template-columns: 56px 1fr;
435
+ gap: 8px;
436
+ align-items: center;
437
+ margin-bottom: 7px;
438
+ }
439
+ .backup-list-filters__row:last-child {
440
+ margin-bottom: 0;
441
+ }
442
+ .backup-list-filters__label {
443
+ font-size: 12px;
444
+ color: var(--theme-elevation-700);
445
+ }
446
+ .backup-list-filters__date {
447
+ font-size: 13px;
448
+ padding: 6px 8px;
449
+ border-radius: 3px;
450
+ border: 1px solid var(--theme-elevation-200);
451
+ background: var(--theme-input-bg);
452
+ color: var(--theme-elevation-900);
453
+ }
454
+ .backup-list-filters__text {
455
+ font-size: 13px;
456
+ padding: 6px 8px;
457
+ border-radius: 3px;
458
+ border: 1px solid var(--theme-elevation-200);
459
+ background: var(--theme-input-bg);
460
+ color: var(--theme-elevation-900);
461
+ min-width: 0;
462
+ width: 100%;
463
+ }
464
+ .backup-list-filters__text::placeholder {
465
+ color: var(--theme-elevation-400);
466
+ }
467
+ .backup-list-filters__row--label {
468
+ grid-template-columns: 56px 1fr;
469
+ }
470
+ .backup-list-filters {
471
+ /* Payload-style radios (match checkbox-input sizing / borders, circular + dot) */
472
+ }
473
+ .backup-list-filters__radio-row {
474
+ display: flex;
475
+ align-items: center;
476
+ gap: 7px;
477
+ margin-bottom: 5.6px;
478
+ cursor: pointer;
479
+ }
480
+ .backup-list-filters__radio-row:last-child {
481
+ margin-bottom: 0;
482
+ }
483
+ .backup-list-filters__radio-row .radio-input__input {
484
+ appearance: none;
485
+ width: 14px;
486
+ height: 14px;
487
+ border: 1px solid var(--theme-elevation-300);
488
+ background: var(--theme-input-bg);
489
+ border-radius: 50%;
490
+ margin: 0;
491
+ cursor: pointer;
492
+ flex-shrink: 0;
493
+ position: relative;
494
+ }
495
+ .backup-list-filters__radio-row .radio-input__input:checked {
496
+ border-color: var(--theme-elevation-800);
497
+ background-color: var(--theme-input-bg);
498
+ background-image: radial-gradient(circle at center, var(--theme-elevation-800) 0, var(--theme-elevation-800) 32%, transparent 33%);
499
+ }
500
+ .backup-list-filters__radio-row .radio-input__input:hover {
501
+ border-color: var(--theme-elevation-400);
502
+ }
503
+ .backup-list-filters__radio-row .radio-input__input:focus {
504
+ outline: none;
505
+ border-color: var(--theme-elevation-400);
506
+ }
507
+ .backup-list-filters__radio-row .radio-input__input:focus-visible {
508
+ outline: 2px solid var(--theme-elevation-400);
509
+ outline-offset: 2px;
510
+ }
511
+ .backup-list-filters__radio-row .field-label {
512
+ font-size: 12px;
513
+ color: var(--theme-elevation-800);
514
+ cursor: pointer;
515
+ line-height: 1.35;
516
+ }
517
+ .backup-list-filters__scope-row {
518
+ margin-bottom: 8px;
519
+ }
520
+ .backup-list-filters__scope-row:last-child {
521
+ margin-bottom: 0;
522
+ }
523
+ .backup-list-filters__hint {
524
+ font-weight: 400;
525
+ color: var(--theme-elevation-500);
526
+ }
527
+
528
+ .manual-backup-label {
529
+ display: flex;
530
+ flex-direction: column;
531
+ gap: 4px;
532
+ padding: 0 20px;
533
+ margin: 5px 0 11px;
534
+ }
535
+ .manual-backup-label__label {
536
+ font-size: 12px;
537
+ font-weight: 600;
538
+ color: var(--theme-elevation-800);
539
+ text-transform: uppercase;
540
+ letter-spacing: 0.04em;
541
+ }
542
+ .manual-backup-label__hint {
543
+ font-weight: 400;
544
+ text-transform: none;
545
+ letter-spacing: 0;
546
+ color: var(--theme-elevation-500);
547
+ }
548
+ .manual-backup-label__input {
549
+ font-size: 13px;
550
+ padding: 7px 10px;
551
+ border-radius: 3px;
552
+ border: 1px solid var(--theme-elevation-200);
553
+ background: var(--theme-input-bg);
554
+ color: var(--theme-elevation-900);
555
+ }
556
+ .manual-backup-label__input::placeholder {
557
+ color: var(--theme-elevation-400);
558
+ }
559
+ .manual-backup-label__input:focus {
560
+ outline: none;
561
+ border-color: var(--theme-elevation-400);
562
+ }
563
+ .manual-backup-label__input:focus-visible {
564
+ outline: 2px solid var(--theme-elevation-400);
565
+ outline-offset: 1px;
566
+ }
567
+ .manual-backup-label__help {
568
+ margin: 0;
569
+ font-size: 11px;
570
+ line-height: 1.35;
571
+ color: var(--theme-elevation-500);
572
+ }
573
+
574
+ .backup-task-action {
575
+ display: flex;
576
+ flex-direction: row;
577
+ align-items: center;
578
+ gap: 8px;
579
+ flex-wrap: wrap;
580
+ }
581
+ .backup-task-action .btn[disabled] {
582
+ opacity: 0.7;
583
+ cursor: wait;
584
+ }
585
+ .backup-task-action .btn--style-error {
586
+ background-color: var(--theme-error-600, #c0392b);
587
+ color: #fff;
588
+ border-color: var(--theme-error-600, #c0392b);
589
+ }
590
+ .backup-task-action .btn--style-error:hover:not([disabled]) {
591
+ background-color: var(--theme-error-700, #a93226);
592
+ border-color: var(--theme-error-700, #a93226);
593
+ }
594
+
595
+ .backup-task-status-slot {
596
+ display: flex;
597
+ flex-direction: row;
598
+ align-items: flex-start;
599
+ gap: 6px;
600
+ }
601
+ .backup-task-status-slot .backup-task-status__details {
602
+ display: flex;
603
+ flex-direction: column;
604
+ gap: 3px;
605
+ min-width: 0;
606
+ }
607
+ .backup-task-status-slot .backup-task-status__message {
608
+ font-size: 12px;
609
+ line-height: 1.4;
610
+ color: var(--theme-elevation-700);
611
+ }
612
+ .backup-task-status-slot .backup-task-status__warnings {
613
+ font-size: 12px;
614
+ line-height: 1.4;
615
+ color: var(--theme-warning-600, #b7791f);
616
+ white-space: pre-wrap;
617
+ }
618
+ .backup-task-status-slot .backup-task-status__error {
619
+ font-size: 12px;
620
+ line-height: 1.4;
621
+ color: var(--theme-error-500, #c0392b);
622
+ }
623
+
624
+ .restore-preview__blob-token-row {
625
+ display: flex;
626
+ gap: 6px;
627
+ align-items: center;
628
+ width: 100%;
629
+ align-self: stretch;
630
+ }
631
+ .restore-preview__blob-token-row .restore-preview__settings-input {
632
+ flex: 1 1 auto;
633
+ min-width: 0;
634
+ }
635
+ .restore-preview__blob-token-row .backup-item__pill {
636
+ flex: 0 0 auto;
637
+ white-space: nowrap;
638
+ }
639
+ .restore-preview__blob-token-pill-slot {
640
+ flex: 0 0 86px;
641
+ display: flex;
642
+ justify-content: flex-end;
643
+ align-items: center;
644
+ min-height: 18px;
645
+ }
646
+ .restore-preview__blob-token-error {
647
+ margin: 4px 0 0;
648
+ font-size: 12px;
649
+ line-height: 1.35;
650
+ color: var(--theme-error-700, #b91c1c);
651
+ }
652
+ .restore-preview__loading-block {
653
+ padding: 10px 11px;
654
+ border-radius: 3px;
655
+ background: var(--theme-elevation-25, #fafafa);
656
+ border: 1px solid var(--theme-elevation-100);
657
+ margin-bottom: 12px;
658
+ }
659
+ .restore-preview__loading-block--section {
660
+ min-height: 132px;
661
+ display: flex;
662
+ flex-direction: column;
663
+ justify-content: center;
664
+ }
665
+ .restore-preview__loading-line {
666
+ height: 10px;
667
+ border-radius: 999px;
668
+ background: linear-gradient(90deg, var(--theme-elevation-100) 0%, var(--theme-elevation-150) 40%, var(--theme-elevation-100) 100%);
669
+ background-size: 240px 100%;
670
+ animation: backup-shimmer 1.2s linear infinite;
671
+ margin-bottom: 6px;
672
+ }
673
+ .restore-preview__loading-line--short {
674
+ width: 65%;
675
+ }
676
+ .restore-preview__sticky-heading {
677
+ position: sticky;
678
+ /* Must stay >= 0: negative top clips under overflow-y:auto on the dialog body */
679
+ top: 0;
680
+ z-index: 2;
681
+ margin: 7px 0 9px;
682
+ padding: 10px 0 7px;
683
+ font-size: 12px;
684
+ font-weight: 700;
685
+ letter-spacing: 0.02em;
686
+ text-transform: uppercase;
687
+ color: var(--theme-elevation-700);
688
+ background: var(--theme-elevation-0);
689
+ border-bottom: 1px solid var(--theme-elevation-100);
690
+ }
691
+ .restore-preview__sticky-heading-hint {
692
+ margin-left: 4px;
693
+ font-size: 11px;
694
+ font-weight: 500;
695
+ letter-spacing: 0.01em;
696
+ text-transform: none;
697
+ color: var(--theme-elevation-500);
698
+ }
699
+ .restore-preview__status {
700
+ margin: 0 0 10px;
701
+ color: var(--theme-elevation-700);
702
+ }
703
+ .restore-preview__status--footer {
704
+ margin: 10px 0 0;
705
+ }
706
+ .restore-preview__settings-block {
707
+ margin: 0 0 15px;
708
+ padding: 9px 10px;
709
+ border-radius: 3px;
710
+ background: var(--theme-elevation-50, #fafafa);
711
+ border: 1px solid var(--theme-elevation-100);
712
+ font-size: 12px;
713
+ line-height: 1.45;
714
+ color: var(--theme-elevation-800);
715
+ }
716
+ .restore-preview__settings-block code {
717
+ font-size: 11px;
718
+ }
719
+ .restore-preview__settings-row {
720
+ margin: 0 0 5px;
721
+ word-break: break-all;
722
+ }
723
+ .restore-preview__settings-row:last-child {
724
+ margin-bottom: 0;
725
+ }
726
+ .restore-preview__settings-k {
727
+ font-weight: 600;
728
+ color: var(--theme-elevation-700);
729
+ margin-right: 4px;
730
+ }
731
+ .restore-preview__settings-human {
732
+ margin: 7px 0 0;
733
+ font-size: 13px;
734
+ color: var(--theme-elevation-900);
735
+ }
736
+ .restore-preview__settings-human--muted {
737
+ color: var(--theme-elevation-600);
738
+ font-size: 12px;
739
+ }
740
+ .restore-preview__settings-hint {
741
+ margin: 0 0 5px;
742
+ font-size: 11px;
743
+ line-height: 1.45;
744
+ color: var(--theme-elevation-600);
745
+ }
746
+ .restore-preview__settings-snippet {
747
+ margin: 3px 0 9px;
748
+ padding: 9px 11px;
749
+ border-radius: 3px;
750
+ background: var(--theme-elevation-900);
751
+ color: var(--theme-elevation-0);
752
+ font-size: 11px;
753
+ line-height: 1.45;
754
+ overflow-x: auto;
755
+ white-space: pre;
756
+ }
757
+ .restore-preview__settings-fields {
758
+ display: flex;
759
+ flex-direction: column;
760
+ align-items: flex-start;
761
+ gap: 7px;
762
+ margin: 0 0 17px;
763
+ }
764
+ .restore-preview__settings-label {
765
+ font-size: 13px;
766
+ font-weight: 600;
767
+ color: var(--theme-elevation-900);
768
+ }
769
+ .restore-preview__settings-input {
770
+ width: 5.5rem;
771
+ padding: 7px 9px;
772
+ border: 1px solid var(--theme-elevation-200);
773
+ border-radius: 3px;
774
+ font-size: 14px;
775
+ background: var(--theme-input-bg);
776
+ color: var(--theme-elevation-900);
777
+ }
778
+ .restore-preview__settings-input--wide {
779
+ width: 100%;
780
+ min-width: 0;
781
+ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
782
+ font-size: 12px;
783
+ letter-spacing: 0.01em;
784
+ }
785
+ .restore-preview__settings-note {
786
+ margin: 0;
787
+ font-size: 12px;
788
+ line-height: 1.45;
789
+ color: var(--theme-elevation-600);
790
+ max-width: 48ch;
791
+ }
792
+ .restore-preview__settings-note code {
793
+ font-size: 11px;
794
+ }
795
+ .restore-preview__settings-note--warn {
796
+ color: var(--theme-warning-700, #a26a00);
797
+ }
798
+ .restore-preview__blob-transfer-row {
799
+ margin-top: 4px;
800
+ margin-bottom: 0;
801
+ max-width: min(48ch, 100%);
802
+ }
803
+ .restore-preview__blob-transfer-row .field-label {
804
+ white-space: normal;
805
+ line-height: 1.45;
806
+ }
807
+ .restore-preview__blob-transfer-row--with-help-tip .field-label {
808
+ flex: 1;
809
+ min-width: 0;
810
+ }
811
+ .restore-preview__blob-transfer-row--with-help-tip .backup-help-icon {
812
+ margin-top: 2px;
813
+ }
814
+ .restore-preview__transfer-panel {
815
+ width: 100%;
816
+ margin-top: 5px;
817
+ padding: 9px 10px;
818
+ border-radius: 3px;
819
+ background: var(--theme-elevation-50, #fafafa);
820
+ border: 1px solid var(--theme-elevation-100);
821
+ }
822
+ .restore-preview__transfer-bar-track {
823
+ height: 8px;
824
+ border-radius: 999px;
825
+ background: var(--theme-elevation-100);
826
+ overflow: hidden;
827
+ }
828
+ .restore-preview__transfer-bar-fill {
829
+ height: 100%;
830
+ min-width: 0;
831
+ border-radius: 999px;
832
+ background: var(--theme-success-600, #2e7d32);
833
+ transition: width 0.22s ease-out;
834
+ }
835
+ .restore-preview__transfer-meta {
836
+ margin: 8px 0 0;
837
+ font-size: 12px;
838
+ line-height: 1.45;
839
+ color: var(--theme-elevation-800);
840
+ word-break: break-all;
841
+ }
842
+ .restore-preview__transfer-path {
843
+ font-size: 11px;
844
+ color: var(--theme-elevation-600);
845
+ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
846
+ }
847
+ .restore-preview__intro, .restore-preview__note, .restore-preview__warn {
848
+ margin: 0 0 12px;
849
+ line-height: 1.45;
850
+ }
851
+ .restore-preview__media-block {
852
+ display: flex;
853
+ flex-direction: row;
854
+ align-items: flex-start;
855
+ gap: 9px;
856
+ margin: 0 0 13px;
857
+ padding: 9px 10px;
858
+ border-radius: 3px;
859
+ background: var(--theme-elevation-50, #fafafa);
860
+ border: 1px solid var(--theme-elevation-100);
861
+ cursor: pointer;
862
+ }
863
+ .restore-preview__media-label {
864
+ font-size: 13px;
865
+ font-weight: 500;
866
+ color: var(--theme-elevation-800);
867
+ line-height: 1.4;
868
+ }
869
+ .restore-preview__media-block--nested {
870
+ margin-top: 7px;
871
+ cursor: pointer;
872
+ }
873
+ .restore-preview__all-block {
874
+ display: flex;
875
+ flex-direction: column;
876
+ gap: 8px;
877
+ margin: 0 0 13px;
878
+ padding: 11px 12px 10px;
879
+ border-radius: 3px;
880
+ background: var(--theme-elevation-50, #fafafa);
881
+ border: 1px solid var(--theme-elevation-100);
882
+ }
883
+ .restore-preview__all-block-head {
884
+ display: flex;
885
+ flex-direction: row;
886
+ align-items: center;
887
+ gap: 9px;
888
+ cursor: pointer;
889
+ margin: 0;
890
+ }
891
+ .restore-preview__all-list {
892
+ list-style: none;
893
+ margin: 0;
894
+ padding: 7px 0 0;
895
+ display: flex;
896
+ flex-direction: column;
897
+ gap: 2px;
898
+ border-top: 1px dashed var(--theme-elevation-150, #e5e5e5);
899
+ }
900
+ .restore-preview__all-item {
901
+ display: flex;
902
+ flex-direction: row;
903
+ flex-wrap: wrap;
904
+ align-items: baseline;
905
+ justify-content: space-between;
906
+ gap: 7px 12px;
907
+ padding: 3px 2px 3px 32px;
908
+ font-size: 12px;
909
+ line-height: 1.4;
910
+ color: var(--theme-elevation-800);
911
+ }
912
+ .restore-preview__all-name {
913
+ flex: 1 1 12rem;
914
+ min-width: 0;
915
+ font-weight: 500;
916
+ color: var(--theme-elevation-900);
917
+ line-height: 1.45;
918
+ }
919
+ .restore-preview__all-count {
920
+ flex-shrink: 0;
921
+ font-variant-numeric: tabular-nums;
922
+ color: var(--theme-elevation-600);
923
+ }
924
+ .restore-preview__all-count-sub {
925
+ color: var(--theme-elevation-500);
926
+ }
927
+ .restore-preview__note--media {
928
+ margin-top: 0;
929
+ }
930
+ .restore-preview__warn {
931
+ padding: 10px 12px;
932
+ border-radius: 4px;
933
+ background: var(--theme-warning-50, rgba(255, 193, 7, 0.12));
934
+ border: 1px solid var(--theme-warning-200, rgba(255, 152, 0, 0.35));
935
+ color: var(--theme-elevation-800);
936
+ }
937
+ .restore-preview__warn--auth {
938
+ background: var(--theme-error-50, rgba(192, 57, 43, 0.08));
939
+ border-color: var(--theme-error-200, rgba(192, 57, 43, 0.25));
940
+ }
941
+ .restore-preview__note code {
942
+ font-size: 12px;
943
+ }
944
+ .restore-preview__error {
945
+ margin-bottom: 12px;
946
+ }
947
+ .restore-preview__error p {
948
+ margin: 0 0 8px;
949
+ }
950
+ .restore-preview__error--inline {
951
+ margin: 7px 20px 10px;
952
+ color: var(--theme-error-700, #c0392b);
953
+ font-size: 13px;
954
+ }
955
+ .restore-preview__error-hint {
956
+ font-size: 12px;
957
+ color: var(--theme-elevation-600);
958
+ }
959
+ .restore-preview__empty {
960
+ margin: 0 0 10px;
961
+ font-size: 13px;
962
+ color: var(--theme-elevation-600);
963
+ }
964
+ .restore-preview__list {
965
+ list-style: none;
966
+ margin: 0;
967
+ padding: 0;
968
+ display: flex;
969
+ flex-direction: column;
970
+ gap: 10px;
971
+ }
972
+ .restore-preview__group {
973
+ padding: 9px 10px;
974
+ border-radius: 3px;
975
+ background: var(--theme-elevation-50, #fafafa);
976
+ border: 1px solid var(--theme-elevation-100);
977
+ }
978
+ .restore-preview__group--empty {
979
+ background: var(--theme-elevation-50, #fafafa);
980
+ border-color: var(--theme-elevation-100);
981
+ }
982
+ .restore-preview__group--empty .restore-preview__group-title {
983
+ color: var(--theme-elevation-500);
984
+ }
985
+ .restore-preview__group--empty .restore-preview__subline--empty {
986
+ color: var(--theme-elevation-500);
987
+ font-style: italic;
988
+ }
989
+ .restore-preview__group--disabled {
990
+ opacity: 0.55;
991
+ filter: saturate(0.7);
992
+ }
993
+ .restore-preview__group-head {
994
+ display: flex;
995
+ flex-direction: row;
996
+ flex-wrap: wrap;
997
+ align-items: center;
998
+ gap: 7px;
999
+ width: 100%;
1000
+ margin: 0 0 2px;
1001
+ }
1002
+ .restore-preview__group-label {
1003
+ display: flex;
1004
+ flex-direction: row;
1005
+ align-items: flex-start;
1006
+ gap: 9px;
1007
+ cursor: pointer;
1008
+ margin: 0;
1009
+ flex: 1;
1010
+ min-width: 0;
1011
+ }
1012
+ .restore-preview__group-check {
1013
+ appearance: none;
1014
+ width: 14px;
1015
+ height: 14px;
1016
+ flex-shrink: 0;
1017
+ margin-top: 3px;
1018
+ border: 1px solid var(--theme-elevation-300);
1019
+ background: var(--theme-input-bg);
1020
+ border-radius: 3px;
1021
+ cursor: pointer;
1022
+ position: relative;
1023
+ }
1024
+ .restore-preview__group-check:checked {
1025
+ border-color: var(--theme-elevation-800);
1026
+ background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.58333 7.5L0 3.91667L0.7 3.21667L3.58333 6.1L9.3 0.383333L10 1.08333L3.58333 7.5Z' fill='%23333333'/%3E%3C/svg%3E");
1027
+ background-repeat: no-repeat;
1028
+ background-position: center;
1029
+ background-size: 10px 8px;
1030
+ }
1031
+ .restore-preview__group-check:hover {
1032
+ border-color: var(--theme-elevation-400);
1033
+ }
1034
+ .restore-preview__group-check:focus {
1035
+ outline: none;
1036
+ border-color: var(--theme-elevation-400);
1037
+ }
1038
+ .restore-preview__group-title {
1039
+ font-size: 14px;
1040
+ font-weight: 600;
1041
+ color: var(--theme-elevation-900);
1042
+ line-height: 1.35;
1043
+ }
1044
+ .restore-preview__sublines {
1045
+ margin: 6px 0 0 32px;
1046
+ display: flex;
1047
+ flex-direction: column;
1048
+ gap: 3px;
1049
+ }
1050
+ .restore-preview__subline {
1051
+ font-size: 12px;
1052
+ color: var(--theme-elevation-600);
1053
+ line-height: 1.4;
1054
+ }
1055
+ .restore-preview__pills {
1056
+ display: flex;
1057
+ flex-wrap: wrap;
1058
+ gap: 5px;
1059
+ margin-top: 4px;
1060
+ }
1061
+ .restore-preview__pill {
1062
+ font-size: 11px;
1063
+ line-height: 1.2;
1064
+ padding: 2px 6px;
1065
+ border-radius: 999px;
1066
+ background: var(--theme-elevation-150, #ececec);
1067
+ color: var(--theme-elevation-700);
1068
+ flex-shrink: 0;
1069
+ }
1070
+ .restore-preview__pill--signin {
1071
+ background: var(--theme-warning-50, rgba(255, 193, 7, 0.28));
1072
+ border: 1px solid var(--theme-warning-400, rgba(255, 152, 0, 0.55));
1073
+ color: var(--theme-elevation-900);
1074
+ font-weight: 500;
1075
+ }
1076
+
1077
+ @keyframes backup-shimmer {
1078
+ 0% {
1079
+ background-position: -220px 0;
1080
+ }
1081
+ 100% {
1082
+ background-position: 220px 0;
1083
+ }
1084
+ }
1085
+ button.backup-help-icon {
1086
+ margin: 0;
1087
+ padding: 0;
1088
+ border: none;
1089
+ font: inherit;
1090
+ appearance: none;
1091
+ }
1092
+
1093
+ .backup-help-icon {
1094
+ position: relative;
1095
+ display: inline-flex;
1096
+ align-items: center;
1097
+ justify-content: center;
1098
+ width: 16px;
1099
+ height: 16px;
1100
+ border-radius: 50%;
1101
+ background-color: var(--theme-elevation-200);
1102
+ color: var(--theme-elevation-600);
1103
+ font-size: 11px;
1104
+ font-style: normal;
1105
+ cursor: help;
1106
+ flex-shrink: 0;
1107
+ user-select: none;
1108
+ }
1109
+ .backup-help-icon::after {
1110
+ content: attr(data-tip);
1111
+ position: absolute;
1112
+ bottom: calc(100% + 6px);
1113
+ left: 50%;
1114
+ transform: translateX(-50%);
1115
+ background: var(--theme-elevation-900);
1116
+ color: var(--theme-elevation-0);
1117
+ font-size: 11px;
1118
+ line-height: 1.4;
1119
+ white-space: nowrap;
1120
+ padding: 4px 8px;
1121
+ border-radius: 4px;
1122
+ pointer-events: none;
1123
+ opacity: 0;
1124
+ transition: opacity 0.15s ease;
1125
+ z-index: 100;
1126
+ }
1127
+ .backup-help-icon:hover::after {
1128
+ opacity: 1;
1129
+ }
1130
+ .backup-help-icon {
1131
+ /* Longer copy in settings / footers — wrap instead of one endless line */
1132
+ }
1133
+ .backup-help-icon--multiline::after {
1134
+ white-space: normal;
1135
+ text-align: left;
1136
+ width: max-content;
1137
+ max-width: min(280px, 85vw);
1138
+ }
1139
+ .backup-help-icon {
1140
+ /* Settings modal body scrolls — absolute ::after gets clipped; anchor to viewport instead */
1141
+ }
1142
+ .backup-help-icon--settings-tooltip::after {
1143
+ position: fixed;
1144
+ left: var(--backup-tip-x, 50%);
1145
+ top: var(--backup-tip-y, 0);
1146
+ bottom: auto;
1147
+ transform: translate(-50%, calc(-100% - 6px));
1148
+ z-index: 2147483000;
1149
+ }