waybetter 0.1.0 → 0.6.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 (515) hide show
  1. package/README.md +143 -9
  2. package/bin/waybetter.mjs +46 -0
  3. package/build/runtime.mjs +105 -0
  4. package/cli/buildenv.mjs +130 -0
  5. package/cli/dev.mjs +97 -0
  6. package/cli/i18n.mjs +382 -0
  7. package/cli/manifests.mjs +383 -0
  8. package/cli/privacy.mjs +768 -0
  9. package/cli/release.mjs +444 -0
  10. package/cli/remote.mjs +260 -0
  11. package/cli/store.mjs +326 -0
  12. package/cli/strings.mjs +121 -0
  13. package/dist/runtime/column.d.ts +93 -0
  14. package/dist/runtime/column.js +451 -0
  15. package/dist/runtime/column.js.map +1 -0
  16. package/dist/runtime/commandReport.d.ts +19 -0
  17. package/dist/runtime/commandReport.js +47 -0
  18. package/dist/runtime/commandReport.js.map +1 -0
  19. package/dist/runtime/commands.d.ts +72 -0
  20. package/dist/runtime/commands.js +214 -0
  21. package/dist/runtime/commands.js.map +1 -0
  22. package/dist/runtime/devErrors.d.ts +16 -0
  23. package/dist/runtime/devErrors.js +30 -0
  24. package/dist/runtime/devErrors.js.map +1 -0
  25. package/dist/runtime/domHub.d.ts +21 -0
  26. package/dist/runtime/domHub.js +139 -4
  27. package/dist/runtime/domHub.js.map +1 -1
  28. package/dist/runtime/featureModules.d.ts +157 -0
  29. package/dist/runtime/featureModules.js +484 -0
  30. package/dist/runtime/featureModules.js.map +1 -0
  31. package/dist/runtime/featureTable.d.ts +144 -0
  32. package/dist/runtime/featureTable.js +223 -0
  33. package/dist/runtime/featureTable.js.map +1 -0
  34. package/dist/runtime/fonts.d.ts +22 -0
  35. package/dist/runtime/fonts.js +72 -0
  36. package/dist/runtime/fonts.js.map +1 -0
  37. package/dist/runtime/i18n.d.ts +138 -0
  38. package/dist/runtime/i18n.js +614 -0
  39. package/dist/runtime/i18n.js.map +1 -0
  40. package/dist/runtime/i18nCheck.d.ts +30 -0
  41. package/dist/runtime/i18nCheck.js +224 -0
  42. package/dist/runtime/i18nCheck.js.map +1 -0
  43. package/dist/runtime/pageLang.d.ts +8 -0
  44. package/dist/runtime/pageLang.js +64 -0
  45. package/dist/runtime/pageLang.js.map +1 -0
  46. package/dist/runtime/pageStrings.d.ts +35 -0
  47. package/dist/runtime/pageStrings.js +76 -0
  48. package/dist/runtime/pageStrings.js.map +1 -0
  49. package/dist/runtime/panelButton.d.ts +33 -0
  50. package/dist/runtime/panelButton.js +83 -0
  51. package/dist/runtime/panelButton.js.map +1 -0
  52. package/dist/runtime/permissions.d.ts +47 -0
  53. package/dist/runtime/permissions.js +141 -0
  54. package/dist/runtime/permissions.js.map +1 -0
  55. package/dist/runtime/pluginApi.d.ts +51 -2
  56. package/dist/runtime/pluginApi.js +137 -22
  57. package/dist/runtime/pluginApi.js.map +1 -1
  58. package/dist/runtime/pluginI18n.d.ts +29 -0
  59. package/dist/runtime/pluginI18n.js +119 -0
  60. package/dist/runtime/pluginI18n.js.map +1 -0
  61. package/dist/runtime/settingsForm.d.ts +66 -0
  62. package/dist/runtime/settingsForm.js +114 -0
  63. package/dist/runtime/settingsForm.js.map +1 -0
  64. package/dist/runtime/site.d.ts +5 -0
  65. package/dist/runtime/site.js +1 -1
  66. package/dist/runtime/site.js.map +1 -1
  67. package/dist/runtime/siteRuntime.d.ts +144 -0
  68. package/dist/runtime/siteRuntime.js +175 -0
  69. package/dist/runtime/siteRuntime.js.map +1 -0
  70. package/dist/runtime/stringPackHook.d.ts +84 -0
  71. package/dist/runtime/stringPackHook.js +220 -0
  72. package/dist/runtime/stringPackHook.js.map +1 -0
  73. package/dist/runtime/stringPackTranslate.d.ts +59 -0
  74. package/dist/runtime/stringPackTranslate.js +264 -0
  75. package/dist/runtime/stringPackTranslate.js.map +1 -0
  76. package/dist/runtime/stringPacks.d.ts +200 -0
  77. package/dist/runtime/stringPacks.js +474 -0
  78. package/dist/runtime/stringPacks.js.map +1 -0
  79. package/dist/runtime/styles.d.ts +15 -0
  80. package/dist/runtime/styles.js +81 -0
  81. package/dist/runtime/styles.js.map +1 -0
  82. package/dist/runtime/textNet.d.ts +15 -0
  83. package/dist/runtime/textNet.js +131 -0
  84. package/dist/runtime/textNet.js.map +1 -0
  85. package/dist/runtime/themeApi.d.ts +121 -0
  86. package/dist/runtime/themeApi.js +220 -0
  87. package/dist/runtime/themeApi.js.map +1 -0
  88. package/dist/runtime/themeChoice.d.ts +52 -0
  89. package/dist/runtime/themeChoice.js +69 -0
  90. package/dist/runtime/themeChoice.js.map +1 -0
  91. package/dist/runtime/themeComponents.d.ts +435 -0
  92. package/dist/runtime/themeComponents.js +463 -0
  93. package/dist/runtime/themeComponents.js.map +1 -0
  94. package/dist/runtime/themeDecor.d.ts +73 -0
  95. package/dist/runtime/themeDecor.js +131 -0
  96. package/dist/runtime/themeDecor.js.map +1 -0
  97. package/dist/runtime/themeDoctor.d.ts +11 -0
  98. package/dist/runtime/themeDoctor.js +51 -0
  99. package/dist/runtime/themeDoctor.js.map +1 -0
  100. package/dist/runtime/themeIcons.d.ts +130 -0
  101. package/dist/runtime/themeIcons.js +263 -0
  102. package/dist/runtime/themeIcons.js.map +1 -0
  103. package/dist/runtime/themeRuntime.d.ts +100 -0
  104. package/dist/runtime/themeRuntime.js +497 -0
  105. package/dist/runtime/themeRuntime.js.map +1 -0
  106. package/dist/runtime/themeSchema.d.ts +10 -0
  107. package/dist/runtime/themeSchema.js +150 -0
  108. package/dist/runtime/themeSchema.js.map +1 -0
  109. package/dist/runtime/themeSpec.d.ts +259 -0
  110. package/dist/runtime/themeSpec.js +439 -0
  111. package/dist/runtime/themeSpec.js.map +1 -0
  112. package/dist/runtime/themeTokens.d.ts +12 -0
  113. package/dist/runtime/themeTokens.js +14 -6
  114. package/dist/runtime/themeTokens.js.map +1 -1
  115. package/dist/runtime/themeVariants.d.ts +30 -0
  116. package/dist/runtime/themeVariants.js +53 -0
  117. package/dist/runtime/themeVariants.js.map +1 -0
  118. package/dist/runtime/ui.d.ts +192 -0
  119. package/dist/runtime/ui.js +926 -0
  120. package/dist/runtime/ui.js.map +1 -0
  121. package/dist/shell/InstallDialog.d.ts +40 -0
  122. package/dist/shell/InstallDialog.js +170 -0
  123. package/dist/shell/InstallDialog.js.map +1 -0
  124. package/dist/shell/StoreView.d.ts +66 -0
  125. package/dist/shell/StoreView.js +103 -0
  126. package/dist/shell/StoreView.js.map +1 -0
  127. package/dist/shell/addressModel.js.map +1 -1
  128. package/dist/shell/chrome.js.map +1 -1
  129. package/dist/shell/deckModel.d.ts +117 -0
  130. package/dist/shell/deckModel.js +267 -0
  131. package/dist/shell/deckModel.js.map +1 -0
  132. package/dist/shell/frame/AccountSwitcher.d.ts +42 -0
  133. package/dist/shell/frame/AccountSwitcher.js +243 -0
  134. package/dist/shell/frame/AccountSwitcher.js.map +1 -0
  135. package/dist/shell/frame/AddColumnDialog.d.ts +8 -0
  136. package/dist/shell/frame/AddColumnDialog.js +81 -0
  137. package/dist/shell/frame/AddColumnDialog.js.map +1 -0
  138. package/dist/shell/frame/AppMenu.d.ts +21 -0
  139. package/dist/shell/frame/AppMenu.js +642 -0
  140. package/dist/shell/frame/AppMenu.js.map +1 -0
  141. package/dist/shell/frame/CommandPalette.d.ts +7 -0
  142. package/dist/shell/frame/CommandPalette.js +118 -0
  143. package/dist/shell/frame/CommandPalette.js.map +1 -0
  144. package/dist/shell/frame/DeckView.d.ts +13 -0
  145. package/dist/shell/frame/DeckView.js +287 -0
  146. package/dist/shell/frame/DeckView.js.map +1 -0
  147. package/dist/shell/frame/FindBar.d.ts +10 -0
  148. package/dist/shell/frame/FindBar.js +108 -0
  149. package/dist/shell/frame/FindBar.js.map +1 -0
  150. package/dist/shell/frame/MediaPanel.d.ts +8 -0
  151. package/dist/shell/frame/MediaPanel.js +76 -0
  152. package/dist/shell/frame/MediaPanel.js.map +1 -0
  153. package/dist/shell/frame/NewTabPage.d.ts +9 -0
  154. package/dist/shell/frame/NewTabPage.js +71 -0
  155. package/dist/shell/frame/NewTabPage.js.map +1 -0
  156. package/dist/shell/frame/PaneTheme.d.ts +16 -0
  157. package/dist/shell/frame/PaneTheme.js +67 -0
  158. package/dist/shell/frame/PaneTheme.js.map +1 -0
  159. package/dist/shell/frame/ReportDialog.d.ts +3 -0
  160. package/dist/shell/frame/ReportDialog.js +95 -0
  161. package/dist/shell/frame/ReportDialog.js.map +1 -0
  162. package/dist/shell/frame/Shell.d.ts +8 -0
  163. package/dist/shell/frame/Shell.js +1131 -0
  164. package/dist/shell/frame/Shell.js.map +1 -0
  165. package/dist/shell/frame/Titlebar.d.ts +16 -0
  166. package/dist/shell/frame/Titlebar.js +77 -0
  167. package/dist/shell/frame/Titlebar.js.map +1 -0
  168. package/dist/shell/frame/TitlebarExtras.d.ts +4 -0
  169. package/dist/shell/frame/TitlebarExtras.js +202 -0
  170. package/dist/shell/frame/TitlebarExtras.js.map +1 -0
  171. package/dist/shell/frame/WebPanel.d.ts +4 -0
  172. package/dist/shell/frame/WebPanel.js +182 -0
  173. package/dist/shell/frame/WebPanel.js.map +1 -0
  174. package/dist/shell/frame/accountModel.d.ts +49 -0
  175. package/dist/shell/frame/accountModel.js +67 -0
  176. package/dist/shell/frame/accountModel.js.map +1 -0
  177. package/dist/shell/frame/accountSwitcher.css +91 -0
  178. package/dist/shell/frame/appI18n.d.ts +44 -0
  179. package/dist/shell/frame/appI18n.js +64 -0
  180. package/dist/shell/frame/appI18n.js.map +1 -0
  181. package/dist/shell/frame/appMenu.css +121 -0
  182. package/dist/shell/frame/backupModel.d.ts +38 -0
  183. package/dist/shell/frame/backupModel.js +192 -0
  184. package/dist/shell/frame/backupModel.js.map +1 -0
  185. package/dist/shell/frame/boot.d.ts +8 -0
  186. package/dist/shell/frame/boot.js +35 -0
  187. package/dist/shell/frame/boot.js.map +1 -0
  188. package/dist/shell/frame/brand.d.ts +1 -0
  189. package/dist/shell/frame/brand.js +4 -0
  190. package/dist/shell/frame/brand.js.map +1 -0
  191. package/dist/shell/frame/bridge.d.ts +35 -0
  192. package/dist/shell/frame/bridge.js +70 -0
  193. package/dist/shell/frame/bridge.js.map +1 -0
  194. package/dist/shell/frame/chromeTheme.d.ts +29 -0
  195. package/dist/shell/frame/chromeTheme.js +81 -0
  196. package/dist/shell/frame/chromeTheme.js.map +1 -0
  197. package/dist/shell/frame/deck.css +209 -0
  198. package/dist/shell/frame/deckStore.d.ts +89 -0
  199. package/dist/shell/frame/deckStore.js +239 -0
  200. package/dist/shell/frame/deckStore.js.map +1 -0
  201. package/dist/shell/frame/devHost.d.ts +35 -0
  202. package/dist/shell/frame/devHost.js +80 -0
  203. package/dist/shell/frame/devHost.js.map +1 -0
  204. package/dist/shell/frame/devModel.d.ts +7 -0
  205. package/dist/shell/frame/devModel.js +17 -0
  206. package/dist/shell/frame/devModel.js.map +1 -0
  207. package/dist/shell/frame/diag.d.ts +7 -0
  208. package/dist/shell/frame/diag.js +39 -0
  209. package/dist/shell/frame/diag.js.map +1 -0
  210. package/dist/shell/frame/findBar.css +14 -0
  211. package/dist/shell/frame/frameMessages.d.ts +248 -0
  212. package/dist/shell/frame/frameMessages.js +252 -0
  213. package/dist/shell/frame/frameMessages.js.map +1 -0
  214. package/dist/shell/frame/hooks.d.ts +39 -0
  215. package/dist/shell/frame/hooks.js +97 -0
  216. package/dist/shell/frame/hooks.js.map +1 -0
  217. package/dist/shell/frame/i18n.d.ts +27 -0
  218. package/dist/shell/frame/i18n.js +66 -0
  219. package/dist/shell/frame/i18n.js.map +1 -0
  220. package/dist/shell/frame/iconPack.d.ts +11 -0
  221. package/dist/shell/frame/iconPack.js +45 -0
  222. package/dist/shell/frame/iconPack.js.map +1 -0
  223. package/dist/shell/frame/icons.d.ts +71 -0
  224. package/dist/shell/frame/icons.js +75 -0
  225. package/dist/shell/frame/icons.js.map +1 -0
  226. package/dist/shell/frame/index.d.ts +34 -0
  227. package/dist/shell/frame/index.js +43 -0
  228. package/dist/shell/frame/index.js.map +1 -0
  229. package/dist/shell/frame/language.d.ts +58 -0
  230. package/dist/shell/frame/language.js +165 -0
  231. package/dist/shell/frame/language.js.map +1 -0
  232. package/dist/shell/frame/mediaModel.d.ts +34 -0
  233. package/dist/shell/frame/mediaModel.js +53 -0
  234. package/dist/shell/frame/mediaModel.js.map +1 -0
  235. package/dist/shell/frame/menuMessages.en.json +54 -0
  236. package/dist/shell/frame/menuModel.d.ts +277 -0
  237. package/dist/shell/frame/menuModel.js +293 -0
  238. package/dist/shell/frame/menuModel.js.map +1 -0
  239. package/dist/shell/frame/paletteModel.d.ts +139 -0
  240. package/dist/shell/frame/paletteModel.js +112 -0
  241. package/dist/shell/frame/paletteModel.js.map +1 -0
  242. package/dist/shell/frame/paneTheme.css +9 -0
  243. package/dist/shell/frame/pluginCommandStore.d.ts +23 -0
  244. package/dist/shell/frame/pluginCommandStore.js +70 -0
  245. package/dist/shell/frame/pluginCommandStore.js.map +1 -0
  246. package/dist/shell/frame/reportModel.d.ts +52 -0
  247. package/dist/shell/frame/reportModel.js +105 -0
  248. package/dist/shell/frame/reportModel.js.map +1 -0
  249. package/dist/shell/frame/safeStore.d.ts +7 -0
  250. package/dist/shell/frame/safeStore.js +40 -0
  251. package/dist/shell/frame/safeStore.js.map +1 -0
  252. package/dist/shell/frame/searchInput.d.ts +2 -0
  253. package/dist/shell/frame/searchInput.js +11 -0
  254. package/dist/shell/frame/searchInput.js.map +1 -0
  255. package/dist/shell/frame/shell.css +629 -0
  256. package/dist/shell/frame/site.d.ts +206 -0
  257. package/dist/shell/frame/site.js +22 -0
  258. package/dist/shell/frame/site.js.map +1 -0
  259. package/dist/shell/frame/state.d.ts +99 -0
  260. package/dist/shell/frame/state.js +284 -0
  261. package/dist/shell/frame/state.js.map +1 -0
  262. package/dist/shell/frame/syncGate.d.ts +10 -0
  263. package/dist/shell/frame/syncGate.js +36 -0
  264. package/dist/shell/frame/syncGate.js.map +1 -0
  265. package/dist/shell/frame/syncHost.d.ts +35 -0
  266. package/dist/shell/frame/syncHost.js +85 -0
  267. package/dist/shell/frame/syncHost.js.map +1 -0
  268. package/dist/shell/frame/tabStill.d.ts +2 -0
  269. package/dist/shell/frame/tabStill.js +62 -0
  270. package/dist/shell/frame/tabStill.js.map +1 -0
  271. package/dist/shell/frame/themeScopes.d.ts +29 -0
  272. package/dist/shell/frame/themeScopes.js +61 -0
  273. package/dist/shell/frame/themeScopes.js.map +1 -0
  274. package/dist/shell/frame/themeStore.d.ts +99 -0
  275. package/dist/shell/frame/themeStore.js +252 -0
  276. package/dist/shell/frame/themeStore.js.map +1 -0
  277. package/dist/shell/frame/windowBinding.d.ts +2 -0
  278. package/dist/shell/frame/windowBinding.js +7 -0
  279. package/dist/shell/frame/windowBinding.js.map +1 -0
  280. package/dist/shell/frame/workspaceModel.d.ts +82 -0
  281. package/dist/shell/frame/workspaceModel.js +250 -0
  282. package/dist/shell/frame/workspaceModel.js.map +1 -0
  283. package/dist/shell/frame/workspaces.css +84 -0
  284. package/dist/shell/frame/workspaces.d.ts +22 -0
  285. package/dist/shell/frame/workspaces.js +125 -0
  286. package/dist/shell/frame/workspaces.js.map +1 -0
  287. package/dist/shell/frame/zoomStore.d.ts +10 -0
  288. package/dist/shell/frame/zoomStore.js +65 -0
  289. package/dist/shell/frame/zoomStore.js.map +1 -0
  290. package/dist/shell/installController.d.ts +122 -0
  291. package/dist/shell/installController.js +146 -0
  292. package/dist/shell/installController.js.map +1 -0
  293. package/dist/shell/installerMessages.d.ts +30 -0
  294. package/dist/shell/installerMessages.js +36 -0
  295. package/dist/shell/installerMessages.js.map +1 -0
  296. package/dist/shell/linkDrop.js.map +1 -1
  297. package/dist/shell/messages.d.ts +16 -0
  298. package/dist/shell/messages.js +27 -0
  299. package/dist/shell/messages.js.map +1 -0
  300. package/dist/shell/palette.js.map +1 -1
  301. package/dist/shell/paneModel.d.ts +22 -0
  302. package/dist/shell/paneModel.js +24 -1
  303. package/dist/shell/paneModel.js.map +1 -1
  304. package/dist/shell/panel/Appearance.d.ts +8 -0
  305. package/dist/shell/panel/Appearance.js +256 -0
  306. package/dist/shell/panel/Appearance.js.map +1 -0
  307. package/dist/shell/panel/BackupPanel.d.ts +5 -0
  308. package/dist/shell/panel/BackupPanel.js +198 -0
  309. package/dist/shell/panel/BackupPanel.js.map +1 -0
  310. package/dist/shell/panel/DeveloperPanel.d.ts +4 -0
  311. package/dist/shell/panel/DeveloperPanel.js +51 -0
  312. package/dist/shell/panel/DeveloperPanel.js.map +1 -0
  313. package/dist/shell/panel/FeatureToggles.d.ts +13 -0
  314. package/dist/shell/panel/FeatureToggles.js +42 -0
  315. package/dist/shell/panel/FeatureToggles.js.map +1 -0
  316. package/dist/shell/panel/Home.d.ts +3 -0
  317. package/dist/shell/panel/Home.js +23 -0
  318. package/dist/shell/panel/Home.js.map +1 -0
  319. package/dist/shell/panel/IconPackInstall.d.ts +15 -0
  320. package/dist/shell/panel/IconPackInstall.js +41 -0
  321. package/dist/shell/panel/IconPackInstall.js.map +1 -0
  322. package/dist/shell/panel/LanguageSettings.d.ts +1 -0
  323. package/dist/shell/panel/LanguageSettings.js +54 -0
  324. package/dist/shell/panel/LanguageSettings.js.map +1 -0
  325. package/dist/shell/panel/MakePanel.d.ts +3 -0
  326. package/dist/shell/panel/MakePanel.js +237 -0
  327. package/dist/shell/panel/MakePanel.js.map +1 -0
  328. package/dist/shell/panel/MarkdownDoc.d.ts +6 -0
  329. package/dist/shell/panel/MarkdownDoc.js +35 -0
  330. package/dist/shell/panel/MarkdownDoc.js.map +1 -0
  331. package/dist/shell/panel/Modes.d.ts +40 -0
  332. package/dist/shell/panel/Modes.js +270 -0
  333. package/dist/shell/panel/Modes.js.map +1 -0
  334. package/dist/shell/panel/NavIcon.d.ts +4 -0
  335. package/dist/shell/panel/NavIcon.js +6 -0
  336. package/dist/shell/panel/NavIcon.js.map +1 -0
  337. package/dist/shell/panel/Panel.d.ts +7 -0
  338. package/dist/shell/panel/Panel.js +139 -0
  339. package/dist/shell/panel/Panel.js.map +1 -0
  340. package/dist/shell/panel/PluginFeatures.d.ts +24 -0
  341. package/dist/shell/panel/PluginFeatures.js +165 -0
  342. package/dist/shell/panel/PluginFeatures.js.map +1 -0
  343. package/dist/shell/panel/Plugins.d.ts +33 -0
  344. package/dist/shell/panel/Plugins.js +112 -0
  345. package/dist/shell/panel/Plugins.js.map +1 -0
  346. package/dist/shell/panel/PowerSettings.d.ts +4 -0
  347. package/dist/shell/panel/PowerSettings.js +52 -0
  348. package/dist/shell/panel/PowerSettings.js.map +1 -0
  349. package/dist/shell/panel/Settings.d.ts +23 -0
  350. package/dist/shell/panel/Settings.js +116 -0
  351. package/dist/shell/panel/Settings.js.map +1 -0
  352. package/dist/shell/panel/ShareSetup.d.ts +8 -0
  353. package/dist/shell/panel/ShareSetup.js +130 -0
  354. package/dist/shell/panel/ShareSetup.js.map +1 -0
  355. package/dist/shell/panel/StoreSection.d.ts +6 -0
  356. package/dist/shell/panel/StoreSection.js +48 -0
  357. package/dist/shell/panel/StoreSection.js.map +1 -0
  358. package/dist/shell/panel/StringPacks.d.ts +11 -0
  359. package/dist/shell/panel/StringPacks.js +106 -0
  360. package/dist/shell/panel/StringPacks.js.map +1 -0
  361. package/dist/shell/panel/ThemeBuilder.d.ts +5 -0
  362. package/dist/shell/panel/ThemeBuilder.js +205 -0
  363. package/dist/shell/panel/ThemeBuilder.js.map +1 -0
  364. package/dist/shell/panel/backup.css +34 -0
  365. package/dist/shell/panel/builder.css +232 -0
  366. package/dist/shell/panel/builderModel.d.ts +55 -0
  367. package/dist/shell/panel/builderModel.js +95 -0
  368. package/dist/shell/panel/builderModel.js.map +1 -0
  369. package/dist/shell/panel/compare.d.ts +10 -0
  370. package/dist/shell/panel/compare.js +51 -0
  371. package/dist/shell/panel/compare.js.map +1 -0
  372. package/dist/shell/panel/controls.d.ts +135 -0
  373. package/dist/shell/panel/controls.js +213 -0
  374. package/dist/shell/panel/controls.js.map +1 -0
  375. package/dist/shell/panel/featureModel.d.ts +69 -0
  376. package/dist/shell/panel/featureModel.js +79 -0
  377. package/dist/shell/panel/featureModel.js.map +1 -0
  378. package/dist/shell/panel/fonts/FontBrowser.d.ts +10 -0
  379. package/dist/shell/panel/fonts/FontBrowser.js +189 -0
  380. package/dist/shell/panel/fonts/FontBrowser.js.map +1 -0
  381. package/dist/shell/panel/fonts/FontRoles.d.ts +20 -0
  382. package/dist/shell/panel/fonts/FontRoles.js +77 -0
  383. package/dist/shell/panel/fonts/FontRoles.js.map +1 -0
  384. package/dist/shell/panel/fonts/catalog.d.ts +37 -0
  385. package/dist/shell/panel/fonts/catalog.js +68 -0
  386. package/dist/shell/panel/fonts/catalog.js.map +1 -0
  387. package/dist/shell/panel/fonts/googleFontsCatalog.json +1 -0
  388. package/dist/shell/panel/index.d.ts +20 -0
  389. package/dist/shell/panel/index.js +34 -0
  390. package/dist/shell/panel/index.js.map +1 -0
  391. package/dist/shell/panel/languageModel.d.ts +5 -0
  392. package/dist/shell/panel/languageModel.js +7 -0
  393. package/dist/shell/panel/languageModel.js.map +1 -0
  394. package/dist/shell/panel/make.css +72 -0
  395. package/dist/shell/panel/makeModel.d.ts +32 -0
  396. package/dist/shell/panel/makeModel.js +84 -0
  397. package/dist/shell/panel/makeModel.js.map +1 -0
  398. package/dist/shell/panel/markdown.d.ts +46 -0
  399. package/dist/shell/panel/markdown.js +100 -0
  400. package/dist/shell/panel/markdown.js.map +1 -0
  401. package/dist/shell/panel/nav.d.ts +12 -0
  402. package/dist/shell/panel/nav.js +50 -0
  403. package/dist/shell/panel/nav.js.map +1 -0
  404. package/dist/shell/panel/panel.css +401 -0
  405. package/dist/shell/panel/panelMessages.d.ts +763 -0
  406. package/dist/shell/panel/panelMessages.js +767 -0
  407. package/dist/shell/panel/panelMessages.js.map +1 -0
  408. package/dist/shell/panel/plugins.css +59 -0
  409. package/dist/shell/panel/setupModel.d.ts +87 -0
  410. package/dist/shell/panel/setupModel.js +152 -0
  411. package/dist/shell/panel/setupModel.js.map +1 -0
  412. package/dist/shell/panel/site.d.ts +259 -0
  413. package/dist/shell/panel/site.js +25 -0
  414. package/dist/shell/panel/site.js.map +1 -0
  415. package/dist/shell/panel/strings.css +7 -0
  416. package/dist/shell/panel/themes.d.ts +10 -0
  417. package/dist/shell/panel/themes.js +8 -0
  418. package/dist/shell/panel/themes.js.map +1 -0
  419. package/dist/shell/profileModel.d.ts +3 -2
  420. package/dist/shell/profileModel.js +7 -5
  421. package/dist/shell/profileModel.js.map +1 -1
  422. package/dist/shell/store.css +230 -0
  423. package/dist/shell/storeMessages.d.ts +169 -0
  424. package/dist/shell/storeMessages.js +172 -0
  425. package/dist/shell/storeMessages.js.map +1 -0
  426. package/dist/shell/storeModel.d.ts +181 -0
  427. package/dist/shell/storeModel.js +133 -0
  428. package/dist/shell/storeModel.js.map +1 -0
  429. package/dist/shell/stringPacksModel.d.ts +44 -0
  430. package/dist/shell/stringPacksModel.js +94 -0
  431. package/dist/shell/stringPacksModel.js.map +1 -0
  432. package/dist/shell/updateModel.d.ts +2 -1
  433. package/dist/shell/updateModel.js +5 -4
  434. package/dist/shell/updateModel.js.map +1 -1
  435. package/dist/shell/windowControls.d.ts +4 -0
  436. package/dist/shell/windowControls.js +5 -0
  437. package/dist/shell/windowControls.js.map +1 -1
  438. package/i18n-config.schema.json +29 -0
  439. package/i18n-meta.schema.json +26 -0
  440. package/i18n.schema.json +42 -0
  441. package/icons.schema.json +646 -0
  442. package/languages.schema.json +23 -0
  443. package/locales/ar-x-fm.json +11 -0
  444. package/locales/ar.json +1281 -0
  445. package/locales/bg.json +1280 -0
  446. package/locales/bn.json +1280 -0
  447. package/locales/ca.json +1280 -0
  448. package/locales/cs.json +1280 -0
  449. package/locales/da.json +1280 -0
  450. package/locales/de.json +1280 -0
  451. package/locales/el.json +1280 -0
  452. package/locales/en-GB.json +27 -0
  453. package/locales/en.json +1280 -0
  454. package/locales/en.meta.json +51 -0
  455. package/locales/es.json +1280 -0
  456. package/locales/eu.json +1280 -0
  457. package/locales/fa.json +1281 -0
  458. package/locales/fi.json +1280 -0
  459. package/locales/fil.json +1280 -0
  460. package/locales/fr.json +1280 -0
  461. package/locales/ga.json +1280 -0
  462. package/locales/gl.json +1280 -0
  463. package/locales/gu.json +1280 -0
  464. package/locales/ha.json +1280 -0
  465. package/locales/he.json +1281 -0
  466. package/locales/hi.json +1280 -0
  467. package/locales/hr.json +1280 -0
  468. package/locales/hu.json +1279 -0
  469. package/locales/id.json +1280 -0
  470. package/locales/ig.json +1280 -0
  471. package/locales/it.json +1280 -0
  472. package/locales/ja.json +1280 -0
  473. package/locales/kn.json +1280 -0
  474. package/locales/ko.json +1280 -0
  475. package/locales/mr.json +1280 -0
  476. package/locales/ms.json +1280 -0
  477. package/locales/nb.json +1280 -0
  478. package/locales/nl.json +1280 -0
  479. package/locales/pl.json +1280 -0
  480. package/locales/pt.json +1280 -0
  481. package/locales/ro.json +1280 -0
  482. package/locales/ru.json +1280 -0
  483. package/locales/sk.json +1280 -0
  484. package/locales/sr.json +1280 -0
  485. package/locales/sv.json +1280 -0
  486. package/locales/ta.json +1280 -0
  487. package/locales/th.json +1280 -0
  488. package/locales/tr.json +1280 -0
  489. package/locales/uk.json +1280 -0
  490. package/locales/ur.json +1281 -0
  491. package/locales/vi.json +1280 -0
  492. package/locales/yo.json +1280 -0
  493. package/locales/zh-Hans.json +1280 -0
  494. package/locales/zh-Hant.json +1280 -0
  495. package/package.json +148 -6
  496. package/store-catalog.schema.json +65 -0
  497. package/theme.schema.json +4659 -0
  498. package/windows/installer.nsi +926 -0
  499. package/windows/languages/Basque.nsh +28 -0
  500. package/windows/languages/Catalan.nsh +28 -0
  501. package/windows/languages/Croatian.nsh +28 -0
  502. package/windows/languages/Czech.nsh +28 -0
  503. package/windows/languages/Danish.nsh +28 -0
  504. package/windows/languages/Finnish.nsh +28 -0
  505. package/windows/languages/Galician.nsh +28 -0
  506. package/windows/languages/Greek.nsh +28 -0
  507. package/windows/languages/Hungarian.nsh +28 -0
  508. package/windows/languages/Indonesian.nsh +28 -0
  509. package/windows/languages/Irish.nsh +28 -0
  510. package/windows/languages/Malay.nsh +28 -0
  511. package/windows/languages/Polish.nsh +28 -0
  512. package/windows/languages/Romanian.nsh +28 -0
  513. package/windows/languages/Serbian.nsh +28 -0
  514. package/windows/languages/Slovak.nsh +28 -0
  515. package/windows/languages/Thai.nsh +28 -0
@@ -0,0 +1,401 @@
1
+ /* wayBetter panel. Night Ink + Geist; narrow split pane first, side rail from 720px.
2
+ One grammar for every setting: section header, a card of rows, label left, control right. */
3
+ .btp {
4
+ /* Follows the active theme like the shell chrome (`--wb-p-*` / `--wb-f-*`, src/shell/themeStore.ts). */
5
+ --c-ground: var(--wb-p-ground, #07080c); --c-chrome: var(--wb-p-chrome, #0b0d13); --c-card: var(--wb-p-card, #0d1017); --c-field: var(--wb-p-field, #131722); --c-raise: var(--wb-p-raise, #1a1f2d);
6
+ --c-line: var(--wb-p-line, #20263a); --c-line-soft: var(--wb-p-line-soft, #171b28); --c-line-strong: var(--wb-p-line-strong, #2d3550);
7
+ --c-text: var(--wb-p-text, #eef0f7); --c-text-2: var(--wb-p-text-2, #c9cfe3); --c-muted: var(--wb-p-muted, #8e95ab); --c-faint: var(--wb-p-faint, #5f667c);
8
+ --c-accent: var(--wb-p-accent, #7b9cff); --c-accent-ink: var(--wb-p-accent-ink, #0a0f22); --c-accent-rgb: var(--wb-p-accent-rgb, 123 156 255); --c-accent-soft: rgb(var(--c-accent-rgb) / .16);
9
+ --c-text-rgb: var(--wb-p-text-rgb, 238 240 247); --c-popover: var(--wb-p-popover, #10131c); --c-thumb: var(--wb-p-thumb, linear-gradient(180deg, #252b3d, #1c2130)); --c-track: var(--wb-p-track, #1c2130); --c-knob: var(--wb-p-knob, #aeb4c7);
10
+ color-scheme: var(--wb-c-scheme, dark);
11
+ --c-danger: #ff5c6c; --c-ok: #3ddc97; --c-warn: #f6c453;
12
+ --c-brush: linear-gradient(90deg, #4f6bff, #22d3ee 55%, #a855f7);
13
+ --f-ui: var(--wb-f-chrome, 'Geist Variable', 'Segoe UI', system-ui, sans-serif); --f-mono: var(--wb-f-mono, 'Geist Mono Variable', ui-monospace, Consolas, monospace);
14
+ --ease: cubic-bezier(.2, .7, .2, 1);
15
+ position: relative; height: 100%; display: grid; grid-template-rows: auto auto 1fr; overflow: hidden;
16
+ background: var(--c-ground); color: var(--c-text); font: 400 13px/1.45 var(--f-ui); letter-spacing: -.003em;
17
+ -webkit-font-smoothing: antialiased; font-feature-settings: 'ss01', 'cv11';
18
+ }
19
+ .btp-root { position: absolute; inset: 0; container-type: inline-size; container-name: panel; }
20
+ .btp *, .btp *::before, .btp *::after { box-sizing: border-box; }
21
+ .btp button { font: inherit; color: inherit; }
22
+ .btp code { padding: 1px 5px; border-radius: 5px; background: var(--c-field); border: 1px solid var(--c-line-soft); font: 11.5px var(--f-mono); color: var(--c-text-2); }
23
+ .btp mark { background: var(--c-accent-soft); color: var(--c-text); border-radius: 3px; box-shadow: 0 0 0 1px rgb(var(--c-accent-rgb) / .35); }
24
+ .btp :focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }
25
+ .btp :is(.bt-search, .bt-inputrow) input:focus-visible, .btp .bt-hex:focus-visible, .btp .bt-code textarea:focus-visible, .btp .btp-input:focus-visible, .btp .bt-input:focus-visible { outline: none; }
26
+
27
+ /* Header: brand + settings search */
28
+ .btp-head { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 16px; }
29
+ .btp-head::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--c-brush); opacity: .38; }
30
+ .btp-brand { display: flex; align-items: center; gap: 9px; flex: 0 0 auto; }
31
+ .btp-brand img { border-radius: 6px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .06); }
32
+ .btp-brand strong { font-size: 13.5px; font-weight: 650; letter-spacing: -.015em; }
33
+ .btp-head .bt-search { margin-inline-start: auto; width: min(320px, 100%); }
34
+
35
+ /* Section nav: a scrolling strip in a narrow pane, a rail in a wide one */
36
+ .btp-nav { display: flex; gap: 2px; padding: 8px 10px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--c-line-soft); background: var(--c-chrome); }
37
+ .btp-nav::-webkit-scrollbar { display: none; }
38
+ .btp-nav button { position: relative; flex: 0 0 auto; display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; color: var(--c-muted); font-weight: 520; cursor: pointer; transition: color .15s, background-color .15s; }
39
+ .btp-nav button svg { flex: none; opacity: .8; }
40
+ .btp-nav button:hover { color: var(--c-text); background: var(--c-field); }
41
+ .btp-nav button.is-on { color: var(--c-text); background: var(--c-raise); }
42
+ .btp-nav button.is-on svg { color: var(--c-accent); opacity: 1; }
43
+
44
+ .btp-body { overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--c-line) transparent; }
45
+ .btp-page { max-width: 860px; padding: 18px 16px 64px; }
46
+ .btp-title { margin: 2px 0 14px; font-size: 20px; font-weight: 650; letter-spacing: -.025em; }
47
+ .btp-title-sub { color: var(--c-muted); font-weight: 450; }
48
+
49
+ @container panel (min-width: 720px) {
50
+ .btp { grid-template-columns: 196px 1fr; grid-template-rows: auto 1fr; }
51
+ .btp-head { grid-column: 1 / -1; padding: 12px 20px; }
52
+ .btp-nav { flex-direction: column; gap: 1px; padding: 14px 10px; border-bottom: 0; border-inline-end: 1px solid var(--c-line-soft); overflow: visible; }
53
+ .btp-nav button { height: auto; min-height: 32px; padding: 6px 10px; text-align: start; line-height: 1.25; }
54
+ .btp-nav button.is-on::before { content: ''; position: absolute; inset-inline-start: -10px; top: 8px; bottom: 8px; width: 2px; border-start-start-radius: 0; border-start-end-radius: 2px; border-end-end-radius: 2px; border-end-start-radius: 0; background: var(--c-accent); }
55
+ .btp-page { padding: 26px 32px 72px; }
56
+ .btp-title { font-size: 22px; margin-bottom: 18px; }
57
+ }
58
+
59
+ /* Sections and rows */
60
+ .bt-section { margin-bottom: 22px; }
61
+ .bt-section-head { display: flex; align-items: flex-end; gap: 12px; margin: 0 2px 8px; }
62
+ .bt-section-head > div:first-child { flex: 1; min-width: 0; }
63
+ .bt-section-head h2 { margin: 0; font-size: 13px; font-weight: 620; letter-spacing: -.005em; }
64
+ .bt-section-head p { margin: 2px 0 0; color: var(--c-muted); font-size: 12px; line-height: 1.45; max-width: 62ch; }
65
+ .bt-section-action { flex: 0 0 auto; }
66
+ .bt-card { border: 1px solid var(--c-line-soft); border-radius: 12px; background: var(--c-card); box-shadow: 0 1px 0 rgba(255, 255, 255, .02) inset; }
67
+ .bt-card:empty { display: none; }
68
+ .bt-card > .bt-gallery, .bt-card > .bt-import { padding: 12px; }
69
+
70
+ .bt-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 20px; padding: 12px 16px; min-height: 52px; }
71
+ .bt-row + .bt-row, .bt-card > * + .bt-row { border-top: 1px solid var(--c-line-soft); }
72
+ .bt-row.is-wide { grid-template-columns: minmax(0, 1fr); }
73
+ .bt-row-copy { min-width: 0; }
74
+ .bt-row-label { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; font-weight: 540; }
75
+ .bt-row-hint { margin-top: 2px; color: var(--c-muted); font-size: 12px; line-height: 1.45; max-width: 58ch; }
76
+ .bt-row-control { display: flex; justify-content: flex-end; min-width: 0; }
77
+ .bt-row.is-wide .bt-row-control { justify-content: flex-start; }
78
+
79
+ @container panel (max-width: 460px) {
80
+ .bt-row { grid-template-columns: minmax(0, 1fr); }
81
+ .bt-row-control { justify-content: flex-start; }
82
+ .bt-row:has(> .bt-row-control > .bt-toggle) { grid-template-columns: minmax(0, 1fr) auto; }
83
+ .bt-section-head { flex-wrap: wrap; align-items: flex-start; }
84
+ }
85
+
86
+ .bt-inline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
87
+ .bt-stack { display: flex; flex-direction: column; gap: 10px; width: 100%; }
88
+ .bt-badge { display: inline-flex; align-items: center; height: 18px; padding: 0 6px; border-radius: 5px; background: var(--c-field); border: 1px solid var(--c-line-soft); color: var(--c-muted); font: 500 10.5px/1 var(--f-mono); letter-spacing: 0; }
89
+ .bt-badge.is-accent { color: var(--c-accent); border-color: rgb(var(--c-accent-rgb) / .3); background: var(--c-accent-soft); }
90
+ .bt-status { color: var(--c-muted); font: 11.5px var(--f-mono); }
91
+ .bt-status.is-warn { color: var(--c-warn); }
92
+ .bt-alert { margin: 12px; padding: 10px 12px; border: 1px solid rgba(255, 92, 108, .35); border-radius: 10px; background: rgba(255, 92, 108, .08); font-size: 12px; }
93
+
94
+ /* Buttons */
95
+ .bt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 32px; padding: 0 13px; border: 1px solid var(--c-line); border-radius: 9px; background: var(--c-field); color: var(--c-text); font-weight: 540; white-space: nowrap; cursor: pointer; transition: background-color .15s, border-color .15s, transform .1s; }
96
+ .bt-btn.is-sm { height: 28px; padding: 0 11px; font-size: 12.5px; border-radius: 8px; }
97
+ .bt-btn:hover:not(:disabled) { border-color: var(--c-line-strong); background: var(--c-raise); }
98
+ .bt-btn:active:not(:disabled) { transform: translateY(.5px); }
99
+ .bt-btn:disabled { opacity: .42; cursor: default; }
100
+ .bt-btn.is-primary { background: var(--c-text); border-color: var(--c-text); color: var(--c-ground); }
101
+ .bt-btn.is-primary:hover:not(:disabled) { background: color-mix(in srgb, var(--c-text) 88%, var(--c-ground)); border-color: transparent; }
102
+ .bt-btn.is-ghost { background: transparent; border-color: transparent; color: var(--c-muted); }
103
+ .bt-btn.is-ghost:hover:not(:disabled) { background: var(--c-field); color: var(--c-text); border-color: transparent; }
104
+ .bt-btn.is-danger { background: var(--c-danger); border-color: var(--c-danger); color: #fff; }
105
+
106
+ /* Toggle */
107
+ .bt-toggle { position: relative; flex: 0 0 auto; width: 36px; height: 21px; padding: 0; border: 1px solid var(--c-line-strong); border-radius: 999px; background: var(--c-track); cursor: pointer; transition: background-color .18s var(--ease), border-color .18s; }
108
+ .bt-toggle-knob { position: absolute; top: 2px; left: 2px; width: 15px; height: 15px; border-radius: 50%; background: var(--c-knob); box-shadow: 0 1px 2px rgba(0, 0, 0, .4); transition: transform .2s var(--ease), background-color .18s; }
109
+ .bt-toggle.is-on { background: var(--c-accent); border-color: var(--c-accent); }
110
+ .bt-toggle.is-on .bt-toggle-knob { transform: translateX(15px); background: #fff; }
111
+ .bt-toggle:disabled { opacity: .45; cursor: default; }
112
+
113
+ /* Segmented */
114
+ .bt-seg { position: relative; display: inline-flex; flex-wrap: nowrap; max-width: 100%; padding: 3px; border: 1px solid var(--c-line); border-radius: 10px; background: var(--c-ground); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .35); isolation: isolate; }
115
+ .bt-seg-thumb { position: absolute; z-index: -1; top: 3px; bottom: 3px; left: 3px; border-radius: 7px; background: var(--c-thumb); box-shadow: 0 0 0 1px var(--c-line-strong), 0 2px 6px rgba(0, 0, 0, .35); transition: transform .22s var(--ease), width .22s var(--ease), opacity .15s; }
116
+ .bt-seg button { position: relative; display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 12px; border: 0; border-radius: 7px; background: transparent; color: var(--c-muted); font-weight: 520; white-space: nowrap; cursor: pointer; transition: color .15s; }
117
+ .bt-seg.is-sm button { padding: 0 10px; font-size: 12.5px; }
118
+ .bt-seg button:hover { color: var(--c-text); }
119
+ .bt-seg button.is-on { color: var(--c-text); }
120
+ .bt-seg button:focus-visible { outline-offset: -1px; }
121
+
122
+ /* Select */
123
+ .bt-select { position: relative; min-width: 150px; }
124
+ .bt-select-button { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; height: 32px; padding-block: 0; padding-inline: 11px 10px; border: 1px solid var(--c-line); border-radius: 9px; background: var(--c-field); text-align: start; cursor: pointer; transition: border-color .15s; }
125
+ .bt-select-button:hover, .bt-select.is-open .bt-select-button { border-color: var(--c-line-strong); }
126
+ .bt-select-button svg { flex: 0 0 auto; color: var(--c-muted); transition: transform .18s var(--ease); }
127
+ .bt-select.is-open .bt-select-button svg { transform: rotate(180deg); }
128
+ .bt-select-value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
129
+ .bt-select-list { position: absolute; z-index: 30; top: calc(100% + 6px); inset-inline-end: 0; min-width: 100%; width: max-content; max-width: 300px; max-height: 300px; margin: 0; padding: 5px; overflow-y: auto; list-style: none; border: 1px solid var(--c-line-strong); border-radius: 11px; background: var(--c-popover); box-shadow: 0 18px 50px rgba(0, 0, 0, .6), 0 0 0 1px rgba(0, 0, 0, .4); animation: bt-pop .14s var(--ease); scrollbar-width: thin; }
130
+ .bt-select-list li { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 32px; padding-block: 5px; padding-inline: 9px 28px; border-radius: 7px; cursor: pointer; }
131
+ .bt-select-list li.bt-select-group { min-height: 0; margin-top: 4px; padding-block: 7px 3px; color: var(--c-muted); font-size: 11px; font-weight: 600; cursor: default; pointer-events: none; }
132
+ .bt-select-list li.bt-select-group:first-child { margin-top: 0; }
133
+ .bt-select-list li.is-active { background: var(--c-raise); }
134
+ .bt-select-list li.is-on .bt-select-opt { color: var(--c-text); font-weight: 560; }
135
+ .bt-select-list li small { color: var(--c-muted); font-size: 11px; }
136
+ .bt-select-opt { font-size: 13.5px; }
137
+ .bt-select-check { position: absolute; inset-inline-end: 9px; top: 50%; margin-top: -7px; color: var(--c-accent); }
138
+ @keyframes bt-pop { from { opacity: 0; transform: translateY(-4px) scale(.98); } }
139
+
140
+ /* Slider */
141
+ .bt-slider { display: flex; align-items: center; gap: 12px; width: min(260px, 100%); }
142
+ .bt-slider input { --pct: 50%; flex: 1; min-width: 0; height: 20px; margin: 0; background: transparent; appearance: none; -webkit-appearance: none; cursor: pointer; }
143
+ .bt-slider input::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--c-accent) var(--pct), var(--c-line) var(--pct)); }
144
+ .bt-slider input::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -6px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgb(var(--c-accent-rgb) / .22), 0 1px 3px rgba(0, 0, 0, .5); transition: box-shadow .15s; }
145
+ .bt-slider input:hover::-webkit-slider-thumb { box-shadow: 0 0 0 6px rgb(var(--c-accent-rgb) / .25), 0 1px 3px rgba(0, 0, 0, .5); }
146
+ .bt-slider input::-moz-range-track { height: 4px; border-radius: 4px; background: var(--c-line); }
147
+ .bt-slider input::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--c-accent); }
148
+ .bt-slider input::-moz-range-thumb { width: 16px; height: 16px; border: 0; border-radius: 50%; background: #fff; }
149
+ .bt-slider output { flex: 0 0 auto; min-width: 54px; padding: 3px 6px; border: 1px solid var(--c-line-soft); border-radius: 6px; background: var(--c-chrome); color: var(--c-text); font: 500 11.5px var(--f-mono); text-align: center; }
150
+
151
+ /* Color */
152
+ .bt-color { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
153
+ .bt-swatch { position: relative; flex: 0 0 auto; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 50%; background: var(--sw, transparent); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); cursor: pointer; transition: transform .15s var(--ease), box-shadow .15s; }
154
+ .bt-swatch:hover { transform: scale(1.08); }
155
+ .bt-swatch.is-on { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 0 0 2px var(--c-card), 0 0 0 4px var(--c-text); }
156
+ .bt-swatch.is-auto { width: auto; height: 26px; padding: 0 11px; border-radius: 999px; background: var(--c-field); box-shadow: inset 0 0 0 1px var(--c-line); color: var(--c-muted); font-size: 12px; font-weight: 540; }
157
+ .bt-swatch.is-auto.is-on { color: var(--c-text); box-shadow: inset 0 0 0 1px var(--c-line-strong), 0 0 0 2px var(--c-card), 0 0 0 4px var(--c-text); }
158
+ .bt-swatch.is-picker { display: inline-grid; place-items: center; overflow: hidden; background: conic-gradient(from 90deg, #ff5f6d, #ffd400, #3ddc97, #1d9bf0, #7856ff, #f91880, #ff5f6d); }
159
+ .bt-swatch.is-picker.is-on { background: var(--sw); }
160
+ .bt-swatch.is-picker input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
161
+ .bt-hex { width: 84px; height: 28px; margin-inline-start: 2px; padding: 0 8px; border: 1px solid var(--c-line); border-radius: 7px; background: var(--c-field); color: var(--c-text); font: 12px var(--f-mono); outline: none; }
162
+ .bt-hex:focus { border-color: var(--c-accent); }
163
+
164
+ /* Inputs */
165
+ .bt-input, .btp-input { width: 100%; height: 32px; padding: 0 11px; border: 1px solid var(--c-line); border-radius: 9px; background: var(--c-field); color: var(--c-text); font: inherit; outline: none; transition: border-color .15s, box-shadow .15s; }
166
+ .bt-input.is-mono { font-family: var(--f-mono); font-size: 12px; }
167
+ .bt-input:focus, .btp-input:focus { border-color: var(--c-accent); box-shadow: 0 0 0 3px var(--c-accent-soft); }
168
+ .bt-inputrow { display: flex; width: min(420px, 100%); border: 1px solid var(--c-line); border-radius: 9px; background: var(--c-field); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
169
+ .bt-inputrow:focus-within { border-color: var(--c-accent); box-shadow: 0 0 0 3px var(--c-accent-soft); }
170
+ .bt-inputrow input { flex: 1; min-width: 0; height: 32px; padding: 0 11px; border: 0; background: transparent; color: var(--c-text); font: inherit; outline: none; }
171
+ .bt-inputrow input.is-mono { font: 12px var(--f-mono); }
172
+ .bt-inputrow button { flex: 0 0 auto; padding: 0 14px; border: 0; border-inline-start: 1px solid var(--c-line); background: var(--c-raise); font-weight: 560; cursor: pointer; }
173
+ .bt-inputrow button:hover:not(:disabled) { background: var(--c-raise); }
174
+ .bt-inputrow button:disabled { color: var(--c-faint); cursor: default; }
175
+
176
+ .bt-search { position: relative; display: flex; align-items: center; height: 30px; padding-block: 0; padding-inline: 10px 8px; gap: 7px; border: 1px solid var(--c-line); border-radius: 9px; background: var(--c-field); color: var(--c-muted); transition: border-color .15s, box-shadow .15s; }
177
+ .bt-search:focus-within { border-color: var(--c-accent); box-shadow: 0 0 0 3px var(--c-accent-soft); color: var(--c-text); }
178
+ .bt-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; color: var(--c-text); font: inherit; outline: none; }
179
+ .bt-search input::-webkit-search-cancel-button { display: none; }
180
+ .bt-search input::placeholder { color: var(--c-faint); }
181
+ .bt-search button { width: 20px; height: 20px; padding: 0; border: 0; border-radius: 5px; background: var(--c-raise); color: var(--c-muted); line-height: 1; cursor: pointer; }
182
+
183
+ /* Chips */
184
+ .bt-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
185
+ .bt-chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; max-width: 100%; padding-block: 0; padding-inline: 10px 4px; border: 1px solid var(--c-line); border-radius: 999px; background: var(--c-field); font-size: 12.5px; animation: bt-pop .16s var(--ease); }
186
+ .bt-chip > svg { flex: 0 0 auto; color: var(--c-muted); }
187
+ .bt-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
188
+ .bt-chip button { display: grid; place-items: center; width: 20px; height: 20px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--c-muted); cursor: pointer; }
189
+ .bt-chip button:hover { background: rgba(255, 92, 108, .16); color: var(--c-danger); }
190
+ .bt-chips-empty { margin: 0; color: var(--c-faint); font-size: 12px; }
191
+
192
+ .bt-stepper { display: inline-flex; align-items: center; height: 30px; border: 1px solid var(--c-line); border-radius: 9px; background: var(--c-field); overflow: hidden; }
193
+ .bt-stepper button { width: 30px; height: 100%; border: 0; background: transparent; color: var(--c-muted); font-size: 15px; cursor: pointer; }
194
+ .bt-stepper button:hover:not(:disabled) { background: var(--c-raise); color: var(--c-text); }
195
+ .bt-stepper button:disabled { opacity: .35; cursor: default; }
196
+ .bt-stepper output { min-width: 42px; text-align: center; font: 500 12.5px var(--f-mono); }
197
+ .bt-stepper output small { margin-inline-start: 2px; color: var(--c-muted); }
198
+
199
+ /* Empty state */
200
+ .bt-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 30px 20px 28px; text-align: center; }
201
+ .bt-empty-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 6px; border: 1px solid var(--c-line); border-radius: 13px; background: linear-gradient(180deg, var(--c-raise), var(--c-field)); color: var(--c-muted); }
202
+ .bt-empty strong { font-size: 13.5px; font-weight: 600; }
203
+ .bt-empty p { max-width: 44ch; margin: 0; color: var(--c-muted); font-size: 12.5px; line-height: 1.5; }
204
+ .bt-empty-action { margin-top: 10px; }
205
+ .bt-snippet { margin: 8px 0 2px; padding: 10px 14px; border: 1px solid var(--c-line-soft); border-radius: 9px; background: var(--c-ground); color: var(--c-text-2); font: 11.5px/1.6 var(--f-mono); text-align: start; white-space: pre; overflow-x: auto; max-width: 100%; }
206
+
207
+ /* Code editor (Custom CSS, theme JSON) */
208
+ .bt-code { display: flex; flex-direction: column; }
209
+ .bt-code textarea { width: 100%; min-height: 200px; padding: 14px 16px; border: 0; border-radius: 12px 12px 0 0; background: transparent; color: var(--c-text-2); font: 12px/1.65 var(--f-mono); resize: vertical; outline: none; tab-size: 2; }
210
+ .bt-code.is-compact textarea { min-height: 110px; border: 1px solid var(--c-line); border-bottom: 0; background: var(--c-chrome); }
211
+ .bt-code-bar { display: flex; align-items: center; gap: 8px; padding-block: 8px; padding-inline: 16px 10px; border-top: 1px solid var(--c-line-soft); }
212
+ .bt-code.is-compact .bt-code-bar { border: 1px solid var(--c-line); border-radius: 0 0 10px 10px; background: var(--c-chrome); }
213
+ .bt-code-bar small { margin-inline-end: auto; color: var(--c-faint); font-size: 11.5px; }
214
+ .bt-code-bar small.is-error { color: var(--c-danger); font-family: var(--f-ui); font-size: 12px; }
215
+
216
+ /* Theme gallery */
217
+ .bt-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
218
+ .bt-theme { position: relative; }
219
+ .bt-theme-hit { display: flex; flex-direction: column; width: 100%; padding: 0; overflow: hidden; border: 1px solid var(--c-line); border-radius: 13px; background: var(--c-chrome); text-align: start; cursor: pointer; transition: border-color .18s, box-shadow .18s, transform .18s var(--ease); }
220
+ .bt-theme-hit:hover { border-color: var(--c-line-strong); transform: translateY(-1px); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
221
+ .bt-theme.is-on .bt-theme-hit { border-color: var(--c-accent); box-shadow: 0 0 0 1px var(--c-accent), 0 12px 36px rgba(59, 90, 200, .22); }
222
+ .bt-theme-hit .tp { border-bottom: 1px solid var(--c-line-soft); }
223
+ .bt-theme-info { display: flex; flex-direction: column; gap: 3px; padding: 11px 13px 12px; }
224
+ .bt-theme-title { display: flex; align-items: center; gap: 8px; }
225
+ .bt-theme-title strong { font-size: 13.5px; font-weight: 620; letter-spacing: -.01em; }
226
+ .bt-theme-check { display: grid; place-items: center; width: 18px; height: 18px; margin-inline-start: auto; border-radius: 50%; background: var(--c-accent); color: var(--c-accent-ink); }
227
+ .bt-theme-info small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--c-muted); font-size: 12px; line-height: 1.4; }
228
+ .bt-theme-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px; }
229
+ .bt-theme-tags em { padding: 1px 6px; border-radius: 5px; background: var(--c-field); color: var(--c-muted); font: normal 500 10.5px/16px var(--f-mono); }
230
+ .bt-theme-tags em.is-accent { color: var(--c-accent); background: var(--c-accent-soft); }
231
+ .bt-theme-remove { position: absolute; top: 8px; inset-inline-end: 8px; display: grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 1px solid rgba(255, 255, 255, .12); border-radius: 8px; background: rgba(7, 8, 12, .72); color: #fff; backdrop-filter: blur(6px); opacity: 0; cursor: pointer; transition: opacity .15s; }
232
+ .bt-theme:hover .bt-theme-remove, .bt-theme-remove:focus-visible { opacity: 1; }
233
+ .bt-theme-remove:hover { background: var(--c-danger); border-color: var(--c-danger); }
234
+
235
+ .bt-import { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; border-bottom: 1px solid var(--c-line-soft); }
236
+ .bt-import-drop { display: flex; flex-direction: column; gap: 6px; padding: 16px; border: 1px dashed var(--c-line-strong); border-radius: 11px; background: repeating-linear-gradient(135deg, rgba(123, 156, 255, .03) 0 8px, transparent 8px 16px); }
237
+ .bt-import-drop strong { font-size: 13px; font-weight: 600; }
238
+ .bt-import-drop p { margin: 0 0 6px; color: var(--c-muted); font-size: 12px; line-height: 1.5; }
239
+ @container panel (min-width: 620px) { .bt-import { grid-template-columns: 1fr 1fr; } }
240
+
241
+ /* Theme preview: a scaled X mock built from the theme document */
242
+ .tp { position: relative; width: 100%; overflow: hidden; }
243
+ .tp-stage { position: absolute; top: 0; left: 0; display: flex; justify-content: center; gap: 0; transform-origin: 0 0; color: var(--tp-text); font-family: var(--tp-ui); font-weight: var(--tp-weight); letter-spacing: var(--tp-track); overflow: hidden; }
244
+ .tp-stage b, .tp-stage strong { font-weight: var(--tp-bold); }
245
+ .tp-nav { flex: 0 0 auto; display: flex; flex-direction: column; gap: 2px; width: 206px; padding: 10px 12px 0 14px; }
246
+ .tp-logo { display: grid; place-items: center; width: 50px; height: 50px; }
247
+ .tp-nav-item { display: flex; align-items: center; gap: 18px; height: 50px; padding: 0 14px; border-radius: var(--tp-pill); }
248
+ .tp-nav-item.is-on { font-weight: var(--tp-bold); }
249
+ .tp-post-btn { display: grid; place-items: center; height: 50px; margin: 14px 12px 0 0; border-radius: var(--tp-pill); background: var(--tp-inverse); color: var(--tp-on-inverse); font-weight: var(--tp-bold); }
250
+ .tp-col { flex: 0 0 auto; height: 100%; background: var(--tp-bg); border-left: 1px solid var(--tp-border); border-right: 1px solid var(--tp-border); overflow: hidden; } /* rtl-ok: symmetric borders (theme preview mock of X) */
251
+ .tp-col-head { background: color-mix(in srgb, var(--tp-bg) 88%, transparent); border-bottom: 1px solid var(--tp-border); }
252
+ .tp-col-head > strong { display: block; padding: 14px 16px 0; }
253
+ .tp-tabs { display: flex; margin-top: 10px; }
254
+ .tp-tabs span { flex: 1; padding: 12px 0 14px; color: var(--tp-muted); text-align: center; font-weight: 500; }
255
+ .tp-tabs span.is-on { position: relative; color: var(--tp-text); font-weight: var(--tp-bold); }
256
+ .tp-tabs span.is-on::after { content: ''; position: absolute; left: 50%; bottom: 0; width: 56px; height: 4px; margin-left: -28px; border-radius: 4px; background: var(--tp-accent); } /* rtl-ok: centred with left: 50% */
257
+ .tp-feed.is-cards { padding: 6px 0; }
258
+ .tp-post { display: flex; gap: 12px; padding: var(--tp-pad) 16px; border-bottom: 1px solid var(--tp-border); }
259
+ .tp-feed.is-cards .tp-post { margin: calc(var(--tp-pad) / 2 + 2px) 12px; border: 1px solid var(--tp-border); border-radius: var(--tp-r); background: var(--tp-surface); }
260
+ .tp-avatar { flex: 0 0 auto; width: 40px; height: 40px; border-radius: var(--tp-avatar); background: var(--tp-elevated); }
261
+ .tp-avatar.is-sm { background: linear-gradient(135deg, #1d9bf0, #7856ff); }
262
+ .tp-post-body { flex: 1; min-width: 0; }
263
+ .tp-post-meta { display: flex; gap: 5px; white-space: nowrap; overflow: hidden; }
264
+ .tp-post-meta span { color: var(--tp-muted); }
265
+ .tp-post p { margin: 2px 0 0; font-family: var(--tp-body); }
266
+ .tp-media { height: 112px; margin-top: 10px; border: 1px solid var(--tp-border); border-radius: var(--tp-r); background: linear-gradient(135deg, color-mix(in srgb, var(--tp-accent) 70%, #000), color-mix(in srgb, var(--tp-accent) 25%, var(--tp-bg))); overflow: hidden; }
267
+ .tp-media span { display: block; width: 45%; height: 100%; margin-left: auto; background: radial-gradient(circle at 60% 40%, rgba(255, 255, 255, .35), transparent 60%); } /* rtl-ok: theme preview mock of X, which is LTR */
268
+ .tp-actions { display: flex; justify-content: space-between; max-width: 420px; margin-top: 10px; color: var(--tp-muted); }
269
+ .tp-actions span { display: inline-flex; align-items: center; gap: 5px; }
270
+ .tp-actions span.is-hot { color: #f91880; }
271
+ .tp-side { flex: 0 0 auto; padding: 8px 0 0 22px; }
272
+ .tp-searchbox { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 16px; border: 1px solid var(--tp-border); border-radius: var(--tp-pill); color: var(--tp-muted); background: var(--tp-bg); }
273
+ .tp-module { margin-top: 14px; padding: 12px 16px 6px; border: 1px solid var(--tp-border); border-radius: var(--tp-r); background: var(--tp-bg); }
274
+ .tp-module > strong { display: block; margin-bottom: 6px; }
275
+ .tp-trend { display: flex; flex-direction: column; padding: 7px 0; }
276
+ .tp-trend small { color: var(--tp-muted); }
277
+ .tp-follow { display: flex; align-items: center; gap: 10px; padding: 8px 0 10px; }
278
+ .tp-follow > div { display: flex; flex: 1; flex-direction: column; min-width: 0; }
279
+ .tp-follow small { color: var(--tp-muted); }
280
+ .tp-follow-btn { padding: 7px 16px; border-radius: var(--tp-pill); background: var(--tp-inverse); color: var(--tp-on-inverse); font-weight: var(--tp-bold); }
281
+ .tp-crt { position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .16) 0 1px, transparent 1px 3px), radial-gradient(ellipse at center, transparent 60%, rgba(0, 0, 0, .45)); }
282
+
283
+ /* Search mode: sections without a matching row disappear */
284
+ .btp.is-searching .bt-section:not(:has(.bt-row)) { display: none; }
285
+ .btp-results .bt-section:first-child { margin-top: 0; }
286
+
287
+ /* Toast */
288
+ .btp-toast { position: absolute; left: 50%; bottom: 18px; z-index: 40; max-width: min(520px, calc(100% - 32px)); padding: 10px 14px; border: 1px solid var(--c-line-strong); border-radius: 11px; background: #141824; box-shadow: 0 16px 40px rgba(0, 0, 0, .55); font-size: 12.5px; cursor: pointer; transform: translateX(-50%); animation: bt-toast .22s var(--ease); }
289
+ .btp-toast.is-error { border-color: rgba(255, 92, 108, .55); background: color-mix(in srgb, var(--c-danger) 12%, var(--c-card)); }
290
+ @keyframes bt-toast { from { opacity: 0; transform: translate(-50%, 8px); } }
291
+
292
+ @media (prefers-reduced-motion: reduce) { .btp *, .btp *::before, .btp *::after { transition: none !important; animation: none !important; } }
293
+
294
+ /* ---------------------------------------------------------------------------------------------
295
+ Lists and editors shared with Drafts, Accounts and Updates (btp-* grammar). */
296
+ .btp-group { padding: 0 0 6px; margin-bottom: 18px; }
297
+ .btp-group-head { margin: 0 2px 10px; }
298
+ .btp-group-head h2 { margin: 0; font-size: 13px; font-weight: 620; }
299
+ .btp-group-head p { margin: 2px 0 0; color: var(--c-muted); font-size: 12px; }
300
+ .btp-muted { color: var(--c-muted); font-size: 12px; margin-inline-end: auto; }
301
+ .btp-btn { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border: 1px solid var(--c-line); border-radius: 8px; background: var(--c-field); cursor: pointer; font-weight: 540; white-space: nowrap; transition: border-color .15s, background-color .15s; }
302
+ .btp-btn:hover:not(:disabled) { border-color: var(--c-line-strong); background: var(--c-raise); }
303
+ .btp-btn:disabled { opacity: .42; cursor: default; }
304
+ .btp-btn.is-primary { background: var(--c-text); border-color: var(--c-text); color: var(--c-ground); }
305
+ .btp-btn.is-danger { background: var(--c-danger); border-color: var(--c-danger); color: #fff; }
306
+ .btp-link { border: 0; background: none; padding: 6px 0; color: var(--c-accent); cursor: pointer; font-weight: 540; }
307
+ .btp-row-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; }
308
+ .btp-alert { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0; padding: 10px 12px; border: 1px solid rgba(255, 92, 108, .35); border-radius: 10px; background: rgba(255, 92, 108, .08); font-size: 12px; }
309
+ .btp-alert .btp-btn { margin-inline-start: auto; }
310
+ .btp-toolbar { display: flex; gap: 8px; }
311
+ .btp-seg { display: inline-flex; gap: 2px; margin: 12px 0 8px; padding: 3px; border: 1px solid var(--c-line); border-radius: 10px; background: var(--c-chrome); }
312
+ .btp-seg button { height: 26px; padding: 0 11px; border: 0; border-radius: 7px; background: none; color: var(--c-muted); cursor: pointer; font-weight: 520; }
313
+ .btp-seg button.is-on { background: var(--c-raise); color: var(--c-text); box-shadow: 0 0 0 1px var(--c-line-strong); }
314
+ .btp-seg span { margin-inline-start: 5px; font: 11px var(--f-mono); opacity: .7; }
315
+ .btp-list { display: flex; flex-direction: column; gap: 6px; }
316
+ .btp-list-head { margin: 16px 2px 4px; color: var(--c-muted); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
317
+ .btp-list-head span { font-family: var(--f-mono); }
318
+ .btp-empty { margin: 0; padding: 26px 16px; border: 1px dashed var(--c-line); border-radius: 12px; color: var(--c-muted); font-size: 12.5px; text-align: center; }
319
+ .btp-item { display: flex; flex-direction: column; gap: 3px; width: 100%; padding: 11px 13px; border: 1px solid var(--c-line-soft); border-radius: 11px; background: var(--c-card); text-align: start; cursor: pointer; transition: border-color .15s, background-color .15s; }
320
+ .btp-item:hover { border-color: var(--c-line); background: var(--c-field); }
321
+ .btp-item.is-on { border-color: var(--c-accent); }
322
+ .btp-item-top { display: flex; align-items: baseline; gap: 8px; }
323
+ .btp-item-top strong { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
324
+ .btp-item-top small { flex: 0 0 auto; color: var(--c-muted); font: 11px var(--f-mono); }
325
+ .btp-item-text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--c-muted); font-size: 12px; white-space: pre-wrap; }
326
+ .btp-item-meta { display: flex; gap: 6px; margin-top: 3px; }
327
+ .btp-item-meta em { padding: 0 6px; border-radius: 5px; background: var(--c-field); color: var(--c-muted); font: normal 10.5px/17px var(--f-mono); }
328
+ .btp-item-meta em.is-warn { color: var(--c-warn); }
329
+ .btp-draft { padding-top: 2px; }
330
+ .btp-draft-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
331
+ .btp-save { font: 11px var(--f-mono); color: var(--c-muted); }
332
+ .btp-save.is-saved { color: var(--c-ok); }
333
+ .btp-save.is-error, .btp-save.is-conflict { color: var(--c-danger); }
334
+ .btp-draft-title { margin-bottom: 8px; font-weight: 600; }
335
+ .btp-draft-text { height: auto; min-height: 200px; padding: 12px; resize: vertical; line-height: 1.55; }
336
+ .btp-diff pre { margin: 6px 0 0; padding: 8px 10px; max-height: 180px; overflow: auto; border: 1px solid var(--c-line-soft); border-radius: 9px; background: var(--c-card); font: 11.5px/1.5 var(--f-mono); white-space: pre-wrap; }
337
+ .btp-diff pre span { display: block; }
338
+ .btp-diff .is-del { background: rgba(255, 92, 108, .14); }
339
+ .btp-diff .is-add { background: rgba(61, 220, 151, .14); }
340
+ .btp-account { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--c-line-soft); border-radius: 11px; background: var(--c-card); }
341
+ .btp-account.is-on { border-color: var(--c-line-strong); }
342
+ .btp-account .btp-input { flex: 1; }
343
+ .btp-dot { flex: 0 0 auto; width: 14px; height: 14px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; box-shadow: 0 0 0 3px var(--c-card), 0 0 0 4px var(--c-line); }
344
+ .btp-account-name { display: flex; flex: 1; min-width: 0; flex-direction: column; border: 0; background: none; text-align: start; cursor: pointer; }
345
+ .btp-account-name strong { font-weight: 600; }
346
+ .btp-account-name small { color: var(--c-muted); font-size: 11.5px; }
347
+ .btp-account.is-on .btp-account-name small { color: var(--c-accent); }
348
+ .btp-card { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--c-line-soft); border-radius: 12px; background: var(--c-card); }
349
+ .btp-card > div { flex: 1; min-width: 180px; display: flex; flex-direction: column; gap: 2px; }
350
+ .btp-card small { color: var(--c-muted); font-size: 12px; }
351
+ .btp-notes { margin: 6px 0 0; color: var(--c-muted); font-size: 12px; white-space: pre-wrap; }
352
+
353
+ /* Home: the wayBetter hero, highlights and About */
354
+ .btp-hero { position: relative; overflow: hidden; isolation: isolate; padding: 30px 24px 26px; border: 1px solid var(--c-line); border-radius: 18px; background: radial-gradient(120% 90% at 0% 0%, rgba(79, 107, 255, .16), transparent 60%), radial-gradient(90% 80% at 100% 10%, rgba(168, 85, 247, .14), transparent 60%), var(--c-card); }
355
+ .btp-hero::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--c-brush); opacity: .9; }
356
+ .btp-hero-glow { position: absolute; z-index: -1; inset-inline-end: -60px; bottom: -90px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(34, 211, 238, .16), transparent 70%); filter: blur(8px); }
357
+ .btp-hero-mark { display: inline-grid; place-items: center; width: 76px; height: 76px; margin-bottom: 18px; border-radius: 20px; background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02)); box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 18px 40px -12px rgba(79, 107, 255, .55); }
358
+ .btp-hero-mark img { border-radius: 14px; }
359
+ .btp-hero-kicker { margin: 0 0 6px; color: var(--c-muted); font-size: 12.5px; font-weight: 560; letter-spacing: .01em; }
360
+ .btp-hero-name { background: var(--c-brush); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 720; }
361
+ .btp-hero-title { margin: 0; font-size: clamp(24px, 6cqi, 34px); line-height: 1.08; font-weight: 700; letter-spacing: -.035em; }
362
+ .btp-hero-title em { font-style: normal; background: var(--c-brush); -webkit-background-clip: text; background-clip: text; color: transparent; }
363
+ .btp-hero-lede { max-width: 54ch; margin: 12px 0 0; color: var(--c-muted); font-size: 13.5px; line-height: 1.55; }
364
+ .btp-hero-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
365
+ .btp-chip { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border: 1px solid var(--c-line-strong); border-radius: 999px; background: rgba(255, 255, 255, .03); color: var(--c-text); font-size: 11.5px; font-weight: 560; font-variant-numeric: tabular-nums; }
366
+ .btp-hero-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
367
+ .btp-hero-actions .btp-btn { height: 34px; padding: 0 16px; border-radius: 10px; }
368
+
369
+ .btp-highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px; margin: 12px 0 26px; }
370
+ .btp-highlight { display: grid; grid-template-columns: auto 1fr; column-gap: 9px; row-gap: 3px; align-items: center; padding: 13px 14px; border: 1px solid var(--c-line-soft); border-radius: 12px; background: var(--c-card); color: var(--c-text); text-align: start; cursor: pointer; transition: border-color .15s, background-color .15s, transform .15s; }
371
+ .btp-highlight:hover { border-color: var(--c-line-strong); background: var(--c-field); transform: translateY(-1px); }
372
+ .btp-highlight svg { color: var(--c-accent); }
373
+ .btp-highlight strong { font-size: 13px; font-weight: 640; }
374
+ .btp-highlight span { grid-column: 1 / -1; color: var(--c-muted); font-size: 12px; line-height: 1.45; }
375
+
376
+ .btp-about .btp-group-head p { max-width: 64ch; line-height: 1.55; font-size: 12.5px; margin-top: 4px; }
377
+ .btp-layers { display: grid; gap: 1px; margin: 12px 0 0; padding: 0; list-style: none; border: 1px solid var(--c-line-soft); border-radius: 12px; overflow: hidden; background: var(--c-line-soft); }
378
+ .btp-layers li { display: flex; gap: 14px; align-items: baseline; padding: 13px 16px; background: var(--c-card); }
379
+ .btp-layers li div { display: grid; gap: 2px; }
380
+ .btp-layers strong { font-size: 13px; font-weight: 640; }
381
+ .btp-layers li div span { color: var(--c-muted); font-size: 12px; line-height: 1.45; }
382
+ .btp-layer-n { flex: 0 0 auto; background: var(--c-brush); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 12px; font-weight: 720; font-variant-numeric: tabular-nums; }
383
+ .btp-about-foot { display: flex; align-items: center; gap: 6px; margin: 14px 2px 0; color: var(--c-faint); font-size: 12px; }
384
+ .btp-about-foot b { color: var(--c-muted); font-weight: 600; }
385
+ .btp-about-foot .btp-link { padding: 0; font-size: 12px; }
386
+
387
+ @container panel (min-width: 720px) {
388
+ .btp-hero { padding: 40px 36px 34px; }
389
+ }
390
+ @media (prefers-reduced-motion: reduce) { .btp-highlight { transition: none; } .btp-highlight:hover { transform: none; } }
391
+ /* Icon pack install screen (Appearance > Icons > Import icon pack) */
392
+ .wb-pack-facts { display: grid; grid-template-columns: max-content 1fr; gap: 2px 12px; margin: 4px 0; font-size: 12px; }
393
+ .wb-pack-facts dt { color: var(--c-text-2, inherit); opacity: .75; }
394
+ .wb-pack-facts dd { margin: 0; overflow-wrap: anywhere; }
395
+ .wb-pack-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(32px, 1fr)); gap: 6px; padding: 8px 0; }
396
+ .wb-pack-grid span { display: grid; place-items: center; height: 32px; border-radius: 8px; background: rgba(127, 127, 127, .08); }
397
+ .wb-pack-grid .bt-glyph { width: 20px; height: 20px; }
398
+ .wb-pack-warning { color: var(--c-warn, #d9a441); font-size: 12px; }
399
+ .wb-pack-list { flex-wrap: wrap; margin-top: 6px; }
400
+ .wb-pack-row { display: flex; flex-direction: column; gap: 8px; width: 100%; }
401
+ .wb-pack-review { width: 100%; max-width: 560px; box-sizing: border-box; }