@mistriwork/kit 1.0.0-rc.11 → 1.0.0-rc.12

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 (970) hide show
  1. package/dist/client/actionGrants.d.ts +21 -0
  2. package/dist/client/actionGrants.js +24 -0
  3. package/dist/client/addressMount.d.ts +67 -0
  4. package/dist/client/addressMount.js +136 -0
  5. package/dist/client/app.d.ts +10 -0
  6. package/dist/client/app.js +976 -0
  7. package/dist/client/boot.d.ts +1 -0
  8. package/dist/client/boot.js +37 -0
  9. package/dist/client/brandLook.css +125 -0
  10. package/dist/client/breakdownBatch.d.ts +34 -0
  11. package/dist/client/breakdownBatch.js +115 -0
  12. package/dist/client/bulkActions.d.ts +66 -0
  13. package/dist/client/bulkActions.js +171 -0
  14. package/dist/client/chart.d.ts +20 -0
  15. package/dist/client/chart.js +80 -0
  16. package/dist/client/clauses.d.ts +121 -0
  17. package/dist/client/clauses.js +276 -0
  18. package/dist/client/columns.d.ts +77 -0
  19. package/dist/client/columns.js +102 -0
  20. package/dist/client/components/Accordion.d.ts +26 -0
  21. package/dist/client/components/Accordion.js +44 -0
  22. package/dist/client/components/ApiOperations.d.ts +3 -0
  23. package/dist/client/components/ApiOperations.js +162 -0
  24. package/dist/client/components/AppColumnMenu.d.ts +66 -0
  25. package/dist/client/components/AppColumnMenu.js +59 -0
  26. package/dist/client/components/AppColumnMenuPopups.d.ts +21 -0
  27. package/dist/client/components/AppColumnMenuPopups.js +92 -0
  28. package/dist/client/components/AppFooter.css +17 -0
  29. package/dist/client/components/AppFooter.d.ts +23 -0
  30. package/dist/client/components/AppFooter.js +12 -0
  31. package/dist/client/components/AppIssues.d.ts +4 -0
  32. package/dist/client/components/AppIssues.js +18 -0
  33. package/dist/client/components/AppList.d.ts +20 -0
  34. package/dist/client/components/AppList.js +696 -0
  35. package/dist/client/components/AttachmentList.d.ts +45 -0
  36. package/dist/client/components/AttachmentList.js +178 -0
  37. package/dist/client/components/BoardList.css +9 -0
  38. package/dist/client/components/Breakdown.d.ts +11 -0
  39. package/dist/client/components/Breakdown.js +157 -0
  40. package/dist/client/components/BreakdownRoom.d.ts +4 -0
  41. package/dist/client/components/BreakdownRoom.js +48 -0
  42. package/dist/client/components/CardsList.d.ts +23 -0
  43. package/dist/client/components/CardsList.js +209 -0
  44. package/dist/client/components/Chart.css +165 -0
  45. package/dist/client/components/Chart.d.ts +194 -0
  46. package/dist/client/components/Chart.js +801 -0
  47. package/dist/client/components/ChartFigure.d.ts +82 -0
  48. package/dist/client/components/ChartFigure.js +102 -0
  49. package/dist/client/components/ChartShapes.css +213 -0
  50. package/dist/client/components/ChartShapes.d.ts +63 -0
  51. package/dist/client/components/ChartShapes.js +393 -0
  52. package/dist/client/components/Checklist.css +16 -0
  53. package/dist/client/components/Composer.d.ts +1 -0
  54. package/dist/client/components/Composer.js +331 -0
  55. package/dist/client/components/Content.d.ts +8 -0
  56. package/dist/client/components/Content.js +170 -0
  57. package/dist/client/components/CountedLabel.d.ts +10 -0
  58. package/dist/client/components/CountedLabel.js +26 -0
  59. package/dist/client/components/Crumbs.d.ts +11 -0
  60. package/dist/client/components/Crumbs.js +142 -0
  61. package/dist/client/components/DashboardList.css +7 -0
  62. package/dist/client/components/DashboardList.d.ts +9 -0
  63. package/dist/client/components/DashboardList.js +46 -0
  64. package/dist/client/components/DashboardNote.d.ts +21 -0
  65. package/dist/client/components/DashboardNote.js +22 -0
  66. package/dist/client/components/DateField.css +6 -0
  67. package/dist/client/components/DateField.d.ts +7 -0
  68. package/dist/client/components/DateField.js +27 -0
  69. package/dist/client/components/DefinedFields.d.ts +50 -0
  70. package/dist/client/components/DefinedFields.js +186 -0
  71. package/dist/client/components/DeleteButton.d.ts +30 -0
  72. package/dist/client/components/DeleteButton.js +198 -0
  73. package/dist/client/components/Diagram.d.ts +7 -0
  74. package/dist/client/components/Diagram.js +320 -0
  75. package/dist/client/components/Dressed.d.ts +31 -0
  76. package/dist/client/components/Dressed.js +138 -0
  77. package/dist/client/components/Dropdown.d.ts +14 -0
  78. package/dist/client/components/Dropdown.js +20 -0
  79. package/dist/client/components/EditLayoutButton.d.ts +13 -0
  80. package/dist/client/components/EditLayoutButton.js +7 -0
  81. package/dist/client/components/Editable.d.ts +47 -0
  82. package/dist/client/components/Editable.js +422 -0
  83. package/dist/client/components/ErrorBoundary.d.ts +40 -0
  84. package/dist/client/components/ErrorBoundary.js +41 -0
  85. package/dist/client/components/Export.d.ts +15 -0
  86. package/dist/client/components/Export.js +151 -0
  87. package/dist/client/components/ExportHold.d.ts +18 -0
  88. package/dist/client/components/ExportHold.js +30 -0
  89. package/dist/client/components/FavoriteStar.d.ts +5 -0
  90. package/dist/client/components/FavoriteStar.js +14 -0
  91. package/dist/client/components/FieldArranger.d.ts +28 -0
  92. package/dist/client/components/FieldArranger.js +82 -0
  93. package/dist/client/components/FilePreview.css +20 -0
  94. package/dist/client/components/FilePreview.d.ts +26 -0
  95. package/dist/client/components/FilePreview.js +170 -0
  96. package/dist/client/components/FilterBoxes.d.ts +76 -0
  97. package/dist/client/components/FilterBoxes.js +294 -0
  98. package/dist/client/components/FilterRail.css +100 -0
  99. package/dist/client/components/FilterRail.d.ts +61 -0
  100. package/dist/client/components/FilterRail.js +559 -0
  101. package/dist/client/components/Gallery.d.ts +11 -0
  102. package/dist/client/components/Gallery.js +53 -0
  103. package/dist/client/components/Grid.d.ts +122 -0
  104. package/dist/client/components/Grid.js +1115 -0
  105. package/dist/client/components/GridCellEditor.d.ts +35 -0
  106. package/dist/client/components/GridCellEditor.js +291 -0
  107. package/dist/client/components/GridSelection.d.ts +16 -0
  108. package/dist/client/components/GridSelection.js +28 -0
  109. package/dist/client/components/HelpPanel.d.ts +5 -0
  110. package/dist/client/components/HelpPanel.js +92 -0
  111. package/dist/client/components/History.d.ts +10 -0
  112. package/dist/client/components/History.js +22 -0
  113. package/dist/client/components/Icon.d.ts +31 -0
  114. package/dist/client/components/Icon.js +20 -0
  115. package/dist/client/components/JsonPreview.d.ts +5 -0
  116. package/dist/client/components/JsonPreview.js +25 -0
  117. package/dist/client/components/JsonValue.d.ts +4 -0
  118. package/dist/client/components/JsonValue.js +3 -0
  119. package/dist/client/components/JsonView.css +109 -0
  120. package/dist/client/components/JsonView.d.ts +3 -0
  121. package/dist/client/components/JsonView.js +118 -0
  122. package/dist/client/components/Landing.d.ts +19 -0
  123. package/dist/client/components/Landing.js +55 -0
  124. package/dist/client/components/LandingSurface.css +177 -0
  125. package/dist/client/components/LandingSurface.d.ts +42 -0
  126. package/dist/client/components/LandingSurface.js +108 -0
  127. package/dist/client/components/LayoutBuilder.d.ts +36 -0
  128. package/dist/client/components/LayoutBuilder.js +104 -0
  129. package/dist/client/components/Lightbox.d.ts +29 -0
  130. package/dist/client/components/Lightbox.js +62 -0
  131. package/dist/client/components/ListEmpty.css +13 -0
  132. package/dist/client/components/ListEmpty.d.ts +10 -0
  133. package/dist/client/components/ListEmpty.js +8 -0
  134. package/dist/client/components/ListFilterBar.css +76 -0
  135. package/dist/client/components/ListFilterBar.d.ts +52 -0
  136. package/dist/client/components/ListFilterBar.js +304 -0
  137. package/dist/client/components/LiveNotices.css +105 -0
  138. package/dist/client/components/LiveNotices.d.ts +26 -0
  139. package/dist/client/components/LiveNotices.js +211 -0
  140. package/dist/client/components/MinorMoneyInput.d.ts +26 -0
  141. package/dist/client/components/MinorMoneyInput.js +50 -0
  142. package/dist/client/components/Modal.css +3 -0
  143. package/dist/client/components/MultiStepForm.css +122 -0
  144. package/dist/client/components/MultiStepForm.d.ts +59 -0
  145. package/dist/client/components/MultiStepForm.js +216 -0
  146. package/dist/client/components/NavGlyph.d.ts +14 -0
  147. package/dist/client/components/NavGlyph.js +27 -0
  148. package/dist/client/components/Nested.d.ts +21 -0
  149. package/dist/client/components/Nested.js +86 -0
  150. package/dist/client/components/NewRecord.d.ts +89 -0
  151. package/dist/client/components/NewRecord.js +897 -0
  152. package/dist/client/components/NewRecordButton.d.ts +13 -0
  153. package/dist/client/components/NewRecordButton.js +28 -0
  154. package/dist/client/components/Notes.css +39 -0
  155. package/dist/client/components/Notes.d.ts +59 -0
  156. package/dist/client/components/Notes.js +96 -0
  157. package/dist/client/components/OverflowMenu.d.ts +3 -0
  158. package/dist/client/components/OverflowMenu.js +60 -0
  159. package/dist/client/components/Page.d.ts +52 -0
  160. package/dist/client/components/Page.js +237 -0
  161. package/dist/client/components/PageCurrent.d.ts +38 -0
  162. package/dist/client/components/PageCurrent.js +27 -0
  163. package/dist/client/components/PageEmptyRun.d.ts +18 -0
  164. package/dist/client/components/PageEmptyRun.js +118 -0
  165. package/dist/client/components/PageFields.d.ts +3 -0
  166. package/dist/client/components/PageFields.js +294 -0
  167. package/dist/client/components/PageFlowDiagram.css +193 -0
  168. package/dist/client/components/PageFlowDiagram.d.ts +95 -0
  169. package/dist/client/components/PageFlowDiagram.js +276 -0
  170. package/dist/client/components/PageFlows.css +27 -0
  171. package/dist/client/components/PageFlows.d.ts +54 -0
  172. package/dist/client/components/PageFlows.js +92 -0
  173. package/dist/client/components/PageGroups.d.ts +43 -0
  174. package/dist/client/components/PageGroups.js +123 -0
  175. package/dist/client/components/PageHead.d.ts +28 -0
  176. package/dist/client/components/PageHead.js +279 -0
  177. package/dist/client/components/PageHeadline.d.ts +23 -0
  178. package/dist/client/components/PageHeadline.js +101 -0
  179. package/dist/client/components/PageHistory.d.ts +62 -0
  180. package/dist/client/components/PageHistory.js +160 -0
  181. package/dist/client/components/PageLayout.d.ts +22 -0
  182. package/dist/client/components/PageLayout.js +13 -0
  183. package/dist/client/components/PageMetrics.d.ts +11 -0
  184. package/dist/client/components/PageMetrics.js +252 -0
  185. package/dist/client/components/PageRelated.d.ts +70 -0
  186. package/dist/client/components/PageRelated.js +667 -0
  187. package/dist/client/components/PageRoom.d.ts +37 -0
  188. package/dist/client/components/PageRoom.js +277 -0
  189. package/dist/client/components/PageSectionBox.d.ts +28 -0
  190. package/dist/client/components/PageSectionBox.js +65 -0
  191. package/dist/client/components/PageSections.d.ts +38 -0
  192. package/dist/client/components/PageSections.js +352 -0
  193. package/dist/client/components/PageSkeleton.css +17 -0
  194. package/dist/client/components/PageSkeleton.d.ts +11 -0
  195. package/dist/client/components/PageSkeleton.js +25 -0
  196. package/dist/client/components/PageTimeline.d.ts +2 -0
  197. package/dist/client/components/PageTimeline.js +273 -0
  198. package/dist/client/components/Palette.d.ts +4 -0
  199. package/dist/client/components/Palette.js +176 -0
  200. package/dist/client/components/Peek.d.ts +1 -0
  201. package/dist/client/components/Peek.js +158 -0
  202. package/dist/client/components/PeekPanel.d.ts +16 -0
  203. package/dist/client/components/PeekPanel.js +120 -0
  204. package/dist/client/components/Picker.d.ts +13 -0
  205. package/dist/client/components/Picker.js +33 -0
  206. package/dist/client/components/Prefs.d.ts +3 -0
  207. package/dist/client/components/Prefs.js +121 -0
  208. package/dist/client/components/PresentationSwitch.d.ts +13 -0
  209. package/dist/client/components/PresentationSwitch.js +10 -0
  210. package/dist/client/components/Prompt.d.ts +35 -0
  211. package/dist/client/components/Prompt.js +114 -0
  212. package/dist/client/components/QrCode.css +11 -0
  213. package/dist/client/components/QrCode.d.ts +4 -0
  214. package/dist/client/components/QrCode.js +57 -0
  215. package/dist/client/components/QueueList.css +122 -0
  216. package/dist/client/components/QuickAdd.css +18 -0
  217. package/dist/client/components/QuickAdd.d.ts +11 -0
  218. package/dist/client/components/QuickAdd.js +53 -0
  219. package/dist/client/components/QuickAddOnDemand.d.ts +4 -0
  220. package/dist/client/components/QuickAddOnDemand.js +10 -0
  221. package/dist/client/components/Record.d.ts +36 -0
  222. package/dist/client/components/Record.js +385 -0
  223. package/dist/client/components/RecordGone.d.ts +7 -0
  224. package/dist/client/components/RecordGone.js +22 -0
  225. package/dist/client/components/RecordPicker.d.ts +59 -0
  226. package/dist/client/components/RecordPicker.js +299 -0
  227. package/dist/client/components/RecordSummaries.d.ts +55 -0
  228. package/dist/client/components/RecordSummaries.js +151 -0
  229. package/dist/client/components/RecordTags.d.ts +6 -0
  230. package/dist/client/components/RecordTags.js +119 -0
  231. package/dist/client/components/RecordTrailNav.d.ts +25 -0
  232. package/dist/client/components/RecordTrailNav.js +110 -0
  233. package/dist/client/components/RichText.d.ts +7 -0
  234. package/dist/client/components/RichText.js +82 -0
  235. package/dist/client/components/RichTextEditor.css +202 -0
  236. package/dist/client/components/RichTextEditor.d.ts +33 -0
  237. package/dist/client/components/RichTextEditor.js +348 -0
  238. package/dist/client/components/RichTextField.d.ts +26 -0
  239. package/dist/client/components/RichTextField.js +71 -0
  240. package/dist/client/components/Rooms.d.ts +35 -0
  241. package/dist/client/components/Rooms.js +276 -0
  242. package/dist/client/components/RowActions.d.ts +8 -0
  243. package/dist/client/components/RowActions.js +49 -0
  244. package/dist/client/components/RowHost.d.ts +110 -0
  245. package/dist/client/components/RowHost.js +212 -0
  246. package/dist/client/components/SavedViews.d.ts +25 -0
  247. package/dist/client/components/SavedViews.js +35 -0
  248. package/dist/client/components/SchemaExport.d.ts +15 -0
  249. package/dist/client/components/SchemaExport.js +42 -0
  250. package/dist/client/components/SectionPeriod.css +14 -0
  251. package/dist/client/components/SectionPeriod.d.ts +7 -0
  252. package/dist/client/components/SectionPeriod.js +14 -0
  253. package/dist/client/components/SetFieldDialog.d.ts +12 -0
  254. package/dist/client/components/SetFieldDialog.js +51 -0
  255. package/dist/client/components/Sidebar.d.ts +34 -0
  256. package/dist/client/components/Sidebar.js +398 -0
  257. package/dist/client/components/Skeleton.d.ts +35 -0
  258. package/dist/client/components/Skeleton.js +49 -0
  259. package/dist/client/components/SortMenu.d.ts +20 -0
  260. package/dist/client/components/SortMenu.js +45 -0
  261. package/dist/client/components/SplitListDetail.css +119 -0
  262. package/dist/client/components/SuggestBox.d.ts +29 -0
  263. package/dist/client/components/SuggestBox.js +60 -0
  264. package/dist/client/components/Summary.d.ts +14 -0
  265. package/dist/client/components/Summary.js +93 -0
  266. package/dist/client/components/TableRoom.d.ts +88 -0
  267. package/dist/client/components/TableRoom.js +246 -0
  268. package/dist/client/components/TableView.d.ts +111 -0
  269. package/dist/client/components/TableView.js +324 -0
  270. package/dist/client/components/ThMenu.d.ts +40 -0
  271. package/dist/client/components/ThMenu.js +163 -0
  272. package/dist/client/components/ThemeLab.d.ts +4 -0
  273. package/dist/client/components/ThemeLab.js +67 -0
  274. package/dist/client/components/TimelineSides.css +23 -0
  275. package/dist/client/components/TimelineSides.d.ts +7 -0
  276. package/dist/client/components/TimelineSides.js +9 -0
  277. package/dist/client/components/Tour.d.ts +12 -0
  278. package/dist/client/components/Tour.js +131 -0
  279. package/dist/client/components/Value.d.ts +38 -0
  280. package/dist/client/components/Value.js +172 -0
  281. package/dist/client/components/WorkPanel.d.ts +9 -0
  282. package/dist/client/components/WorkPanel.js +43 -0
  283. package/dist/client/components/WorkflowStatus.d.ts +6 -0
  284. package/dist/client/components/WorkflowStatus.js +44 -0
  285. package/dist/client/components/WriteConfirm.d.ts +4 -0
  286. package/dist/client/components/WriteConfirm.js +27 -0
  287. package/dist/client/components/appColumnMenuModel.d.ts +46 -0
  288. package/dist/client/components/appColumnMenuModel.js +51 -0
  289. package/dist/client/components/appListModel.d.ts +179 -0
  290. package/dist/client/components/appListModel.js +421 -0
  291. package/dist/client/components/appRooms.d.ts +106 -0
  292. package/dist/client/components/appRooms.js +133 -0
  293. package/dist/client/components/autoChart.d.ts +33 -0
  294. package/dist/client/components/autoChart.js +107 -0
  295. package/dist/client/components/avatarPhotos.d.ts +45 -0
  296. package/dist/client/components/avatarPhotos.js +93 -0
  297. package/dist/client/components/besideDetail.d.ts +1 -0
  298. package/dist/client/components/besideDetail.js +10 -0
  299. package/dist/client/components/boardNew.d.ts +2 -0
  300. package/dist/client/components/boardNew.js +8 -0
  301. package/dist/client/components/cardsModel.d.ts +11 -0
  302. package/dist/client/components/cardsModel.js +24 -0
  303. package/dist/client/components/chromeIcons.d.ts +16 -0
  304. package/dist/client/components/chromeIcons.js +16 -0
  305. package/dist/client/components/columnPresentation.d.ts +8 -0
  306. package/dist/client/components/columnPresentation.js +47 -0
  307. package/dist/client/components/componentSlot.d.ts +31 -0
  308. package/dist/client/components/componentSlot.js +76 -0
  309. package/dist/client/components/composerDraft.d.ts +16 -0
  310. package/dist/client/components/composerDraft.js +16 -0
  311. package/dist/client/components/conditionText.d.ts +14 -0
  312. package/dist/client/components/conditionText.js +45 -0
  313. package/dist/client/components/conditionWords.d.ts +37 -0
  314. package/dist/client/components/conditionWords.js +382 -0
  315. package/dist/client/components/crumbSlot.d.ts +14 -0
  316. package/dist/client/components/crumbSlot.js +49 -0
  317. package/dist/client/components/dashboardModel.d.ts +283 -0
  318. package/dist/client/components/dashboardModel.js +415 -0
  319. package/dist/client/components/dashboardParts.d.ts +9 -0
  320. package/dist/client/components/dashboardParts.js +18 -0
  321. package/dist/client/components/diagramModel.d.ts +83 -0
  322. package/dist/client/components/diagramModel.js +211 -0
  323. package/dist/client/components/dueOpen.d.ts +1 -0
  324. package/dist/client/components/dueOpen.js +23 -0
  325. package/dist/client/components/editInteraction.d.ts +20 -0
  326. package/dist/client/components/editInteraction.js +178 -0
  327. package/dist/client/components/favoriteNav.d.ts +6 -0
  328. package/dist/client/components/favoriteNav.js +31 -0
  329. package/dist/client/components/favorites.d.ts +23 -0
  330. package/dist/client/components/favorites.js +86 -0
  331. package/dist/client/components/filePreviewModel.d.ts +18 -0
  332. package/dist/client/components/filePreviewModel.js +21 -0
  333. package/dist/client/components/filterRailModel.d.ts +93 -0
  334. package/dist/client/components/filterRailModel.js +302 -0
  335. package/dist/client/components/formControlsStyle.d.ts +1 -0
  336. package/dist/client/components/formControlsStyle.js +3 -0
  337. package/dist/client/components/formDefaults.d.ts +17 -0
  338. package/dist/client/components/formDefaults.js +128 -0
  339. package/dist/client/components/gridArrange.d.ts +33 -0
  340. package/dist/client/components/gridArrange.js +62 -0
  341. package/dist/client/components/gridCellModel.d.ts +32 -0
  342. package/dist/client/components/gridCellModel.js +42 -0
  343. package/dist/client/components/gridSizing.d.ts +89 -0
  344. package/dist/client/components/gridSizing.js +295 -0
  345. package/dist/client/components/groupMoves.d.ts +44 -0
  346. package/dist/client/components/groupMoves.js +295 -0
  347. package/dist/client/components/groupOrder.d.ts +43 -0
  348. package/dist/client/components/groupOrder.js +63 -0
  349. package/dist/client/components/inputRenderers.d.ts +48 -0
  350. package/dist/client/components/inputRenderers.js +37 -0
  351. package/dist/client/components/intakeStyle.d.ts +2 -0
  352. package/dist/client/components/intakeStyle.js +6 -0
  353. package/dist/client/components/jsonModel.d.ts +98 -0
  354. package/dist/client/components/jsonModel.js +264 -0
  355. package/dist/client/components/listColumn.d.ts +20 -0
  356. package/dist/client/components/listColumn.js +31 -0
  357. package/dist/client/components/listNavigation.d.ts +16 -0
  358. package/dist/client/components/listNavigation.js +14 -0
  359. package/dist/client/components/mentionRows.d.ts +5 -0
  360. package/dist/client/components/mentionRows.js +62 -0
  361. package/dist/client/components/mount.d.ts +55 -0
  362. package/dist/client/components/mount.js +155 -0
  363. package/dist/client/components/myViews.d.ts +54 -0
  364. package/dist/client/components/myViews.js +82 -0
  365. package/dist/client/components/navCounts.d.ts +84 -0
  366. package/dist/client/components/navCounts.js +194 -0
  367. package/dist/client/components/navigationTree.d.ts +52 -0
  368. package/dist/client/components/navigationTree.js +49 -0
  369. package/dist/client/components/newMenuModel.d.ts +27 -0
  370. package/dist/client/components/newMenuModel.js +58 -0
  371. package/dist/client/components/newRecordModel.d.ts +58 -0
  372. package/dist/client/components/newRecordModel.js +232 -0
  373. package/dist/client/components/onDemand.d.ts +30 -0
  374. package/dist/client/components/onDemand.js +121 -0
  375. package/dist/client/components/optimisticMoves.d.ts +21 -0
  376. package/dist/client/components/optimisticMoves.js +145 -0
  377. package/dist/client/components/pageContext.d.ts +154 -0
  378. package/dist/client/components/pageContext.js +47 -0
  379. package/dist/client/components/pageFieldsRead.d.ts +67 -0
  380. package/dist/client/components/pageFieldsRead.js +55 -0
  381. package/dist/client/components/pageModel.d.ts +203 -0
  382. package/dist/client/components/pageModel.js +67 -0
  383. package/dist/client/components/pageStep.d.ts +31 -0
  384. package/dist/client/components/pageStep.js +15 -0
  385. package/dist/client/components/paletteModel.d.ts +9 -0
  386. package/dist/client/components/paletteModel.js +46 -0
  387. package/dist/client/components/pickerStaleness.d.ts +32 -0
  388. package/dist/client/components/pickerStaleness.js +27 -0
  389. package/dist/client/components/placeOrder.d.ts +47 -0
  390. package/dist/client/components/placeOrder.js +71 -0
  391. package/dist/client/components/pointerDrag.d.ts +54 -0
  392. package/dist/client/components/pointerDrag.js +95 -0
  393. package/dist/client/components/presentationFit.d.ts +19 -0
  394. package/dist/client/components/presentationFit.js +32 -0
  395. package/dist/client/components/recordKeys.d.ts +2 -0
  396. package/dist/client/components/recordKeys.js +8 -0
  397. package/dist/client/components/recordSearch.d.ts +31 -0
  398. package/dist/client/components/recordSearch.js +80 -0
  399. package/dist/client/components/recordSurface.d.ts +86 -0
  400. package/dist/client/components/recordSurface.js +267 -0
  401. package/dist/client/components/rowOpens.d.ts +19 -0
  402. package/dist/client/components/rowOpens.js +25 -0
  403. package/dist/client/components/sidebarModel.d.ts +152 -0
  404. package/dist/client/components/sidebarModel.js +372 -0
  405. package/dist/client/components/suggestModel.d.ts +22 -0
  406. package/dist/client/components/suggestModel.js +49 -0
  407. package/dist/client/components/suggestPart.d.ts +4 -0
  408. package/dist/client/components/suggestPart.js +4 -0
  409. package/dist/client/components/textMeasure.d.ts +2 -0
  410. package/dist/client/components/textMeasure.js +35 -0
  411. package/dist/client/components/unknownIcon.d.ts +8 -0
  412. package/dist/client/components/unknownIcon.js +32 -0
  413. package/dist/client/components/useBulkSelection.d.ts +30 -0
  414. package/dist/client/components/useBulkSelection.js +360 -0
  415. package/dist/client/components/useConditionWords.d.ts +17 -0
  416. package/dist/client/components/useConditionWords.js +104 -0
  417. package/dist/client/components/useGridKeyboard.d.ts +32 -0
  418. package/dist/client/components/useGridKeyboard.js +223 -0
  419. package/dist/client/components/useListOrder.d.ts +94 -0
  420. package/dist/client/components/useListOrder.js +294 -0
  421. package/dist/client/components/useMediaQuery.d.ts +10 -0
  422. package/dist/client/components/useMediaQuery.js +45 -0
  423. package/dist/client/components/useMessageLanguage.d.ts +1 -0
  424. package/dist/client/components/useMessageLanguage.js +6 -0
  425. package/dist/client/components/usePins.d.ts +20 -0
  426. package/dist/client/components/usePins.js +66 -0
  427. package/dist/client/components/usePointerDrag.d.ts +72 -0
  428. package/dist/client/components/usePointerDrag.js +553 -0
  429. package/dist/client/components/useRecordInsert.d.ts +42 -0
  430. package/dist/client/components/useRecordInsert.js +145 -0
  431. package/dist/client/components/useRowWindow.d.ts +35 -0
  432. package/dist/client/components/useRowWindow.js +149 -0
  433. package/dist/client/components/useStickyHead.d.ts +17 -0
  434. package/dist/client/components/useStickyHead.js +65 -0
  435. package/dist/client/components/useTabFold.d.ts +32 -0
  436. package/dist/client/components/useTabFold.js +145 -0
  437. package/dist/client/components/valueModel.d.ts +300 -0
  438. package/dist/client/components/valueModel.js +560 -0
  439. package/dist/client/components/valueRenderers.d.ts +36 -0
  440. package/dist/client/components/valueRenderers.js +13 -0
  441. package/dist/client/components/viewLink.d.ts +27 -0
  442. package/dist/client/components/viewLink.js +79 -0
  443. package/dist/client/components/walk.d.ts +14 -0
  444. package/dist/client/components/walk.js +16 -0
  445. package/dist/client/compose.d.ts +8 -0
  446. package/dist/client/compose.js +163 -0
  447. package/dist/client/composedHook.d.ts +20 -0
  448. package/dist/client/composedHook.js +12 -0
  449. package/dist/client/composedReads.d.ts +26 -0
  450. package/dist/client/composedReads.js +183 -0
  451. package/dist/client/composer.css +499 -0
  452. package/dist/client/composer.d.ts +121 -0
  453. package/dist/client/composer.js +1079 -0
  454. package/dist/client/composerEntry.d.ts +1 -0
  455. package/dist/client/composerEntry.js +58 -0
  456. package/dist/client/composerTab.d.ts +6 -0
  457. package/dist/client/composerTab.js +20 -0
  458. package/dist/client/conditions.d.ts +46 -0
  459. package/dist/client/conditions.js +150 -0
  460. package/dist/client/connectionList.d.ts +11 -0
  461. package/dist/client/connectionList.js +146 -0
  462. package/dist/client/connectionScope.d.ts +6 -0
  463. package/dist/client/connectionScope.js +14 -0
  464. package/dist/client/connectionTransition.d.ts +12 -0
  465. package/dist/client/connectionTransition.js +41 -0
  466. package/dist/client/copy/columnMenu/components/AppColumnMenu.d.ts +4 -0
  467. package/dist/client/copy/columnMenu/components/AppColumnMenu.js +6 -0
  468. package/dist/client/copy/columnMenu/components/AppColumnMenuPopups.d.ts +4 -0
  469. package/dist/client/copy/columnMenu/components/AppColumnMenuPopups.js +6 -0
  470. package/dist/client/copy/columnMenu/components/ThMenu.d.ts +35 -0
  471. package/dist/client/copy/columnMenu/components/ThMenu.js +37 -0
  472. package/dist/client/copy/columnMenu/components/appColumnMenuModel.d.ts +10 -0
  473. package/dist/client/copy/columnMenu/components/appColumnMenuModel.js +12 -0
  474. package/dist/client/copy/dashboards/breakdownBatch.d.ts +3 -0
  475. package/dist/client/copy/dashboards/breakdownBatch.js +5 -0
  476. package/dist/client/copy/dashboards/components/Breakdown.d.ts +32 -0
  477. package/dist/client/copy/dashboards/components/Breakdown.js +25 -0
  478. package/dist/client/copy/dashboards/components/BreakdownRoom.d.ts +3 -0
  479. package/dist/client/copy/dashboards/components/BreakdownRoom.js +5 -0
  480. package/dist/client/copy/dashboards/components/Chart.d.ts +26 -0
  481. package/dist/client/copy/dashboards/components/Chart.js +19 -0
  482. package/dist/client/copy/dashboards/components/ChartShapes.d.ts +16 -0
  483. package/dist/client/copy/dashboards/components/ChartShapes.js +12 -0
  484. package/dist/client/copy/dashboards/components/PageMetrics.d.ts +21 -0
  485. package/dist/client/copy/dashboards/components/PageMetrics.js +20 -0
  486. package/dist/client/copy/dashboards/components/SectionPeriod.d.ts +4 -0
  487. package/dist/client/copy/dashboards/components/SectionPeriod.js +6 -0
  488. package/dist/client/copy/dashboards/components/dashboardModel.d.ts +3 -0
  489. package/dist/client/copy/dashboards/components/dashboardModel.js +5 -0
  490. package/dist/client/copy/es.d.ts +11 -0
  491. package/dist/client/copy/es.js +60 -0
  492. package/dist/client/copy/filters/components/FilterBoxes.d.ts +10 -0
  493. package/dist/client/copy/filters/components/FilterBoxes.js +12 -0
  494. package/dist/client/copy/filters/components/FilterRail.d.ts +16 -0
  495. package/dist/client/copy/filters/components/FilterRail.js +18 -0
  496. package/dist/client/copy/filters/components/ListFilterBar.d.ts +9 -0
  497. package/dist/client/copy/filters/components/ListFilterBar.js +11 -0
  498. package/dist/client/copy/filters/components/conditionWords.d.ts +46 -0
  499. package/dist/client/copy/filters/components/conditionWords.js +95 -0
  500. package/dist/client/copy/filters/components/filterRailModel.d.ts +12 -0
  501. package/dist/client/copy/filters/components/filterRailModel.js +14 -0
  502. package/dist/client/copy/forms/components/DateField.d.ts +13 -0
  503. package/dist/client/copy/forms/components/DateField.js +15 -0
  504. package/dist/client/copy/forms/components/MinorMoneyInput.d.ts +4 -0
  505. package/dist/client/copy/forms/components/MinorMoneyInput.js +6 -0
  506. package/dist/client/copy/forms/components/MultiStepForm.d.ts +10 -0
  507. package/dist/client/copy/forms/components/MultiStepForm.js +12 -0
  508. package/dist/client/copy/forms/components/NewRecord.d.ts +29 -0
  509. package/dist/client/copy/forms/components/NewRecord.js +31 -0
  510. package/dist/client/copy/forms/components/NewRecordButton.d.ts +6 -0
  511. package/dist/client/copy/forms/components/NewRecordButton.js +8 -0
  512. package/dist/client/copy/forms/components/Picker.d.ts +4 -0
  513. package/dist/client/copy/forms/components/Picker.js +6 -0
  514. package/dist/client/copy/forms/components/QuickAdd.d.ts +3 -0
  515. package/dist/client/copy/forms/components/QuickAdd.js +5 -0
  516. package/dist/client/copy/forms/components/RecordPicker.d.ts +6 -0
  517. package/dist/client/copy/forms/components/RecordPicker.js +8 -0
  518. package/dist/client/copy/forms/components/RichTextEditor.d.ts +36 -0
  519. package/dist/client/copy/forms/components/RichTextEditor.js +40 -0
  520. package/dist/client/copy/forms/components/RichTextField.d.ts +3 -0
  521. package/dist/client/copy/forms/components/RichTextField.js +5 -0
  522. package/dist/client/copy/forms/components/SetFieldDialog.d.ts +10 -0
  523. package/dist/client/copy/forms/components/SetFieldDialog.js +9 -0
  524. package/dist/client/copy/forms/components/useRecordInsert.d.ts +7 -0
  525. package/dist/client/copy/forms/components/useRecordInsert.js +9 -0
  526. package/dist/client/copy/help/helpContent.d.ts +71 -0
  527. package/dist/client/copy/help/helpContent.js +73 -0
  528. package/dist/client/copy/lists/bulkActions.d.ts +12 -0
  529. package/dist/client/copy/lists/bulkActions.js +14 -0
  530. package/dist/client/copy/lists/components/AppList.d.ts +28 -0
  531. package/dist/client/copy/lists/components/AppList.js +30 -0
  532. package/dist/client/copy/lists/components/CardsList.d.ts +3 -0
  533. package/dist/client/copy/lists/components/CardsList.js +5 -0
  534. package/dist/client/copy/lists/components/Gallery.d.ts +7 -0
  535. package/dist/client/copy/lists/components/Gallery.js +9 -0
  536. package/dist/client/copy/lists/components/Grid.d.ts +30 -0
  537. package/dist/client/copy/lists/components/Grid.js +29 -0
  538. package/dist/client/copy/lists/components/GridCellEditor.d.ts +5 -0
  539. package/dist/client/copy/lists/components/GridCellEditor.js +7 -0
  540. package/dist/client/copy/lists/components/GridSelection.d.ts +4 -0
  541. package/dist/client/copy/lists/components/GridSelection.js +6 -0
  542. package/dist/client/copy/lists/components/Nested.d.ts +7 -0
  543. package/dist/client/copy/lists/components/Nested.js +9 -0
  544. package/dist/client/copy/lists/components/RowActions.d.ts +1 -0
  545. package/dist/client/copy/lists/components/RowActions.js +3 -0
  546. package/dist/client/copy/lists/components/SavedViews.d.ts +5 -0
  547. package/dist/client/copy/lists/components/SavedViews.js +7 -0
  548. package/dist/client/copy/lists/components/SortMenu.d.ts +5 -0
  549. package/dist/client/copy/lists/components/SortMenu.js +7 -0
  550. package/dist/client/copy/lists/components/TableRoom.d.ts +12 -0
  551. package/dist/client/copy/lists/components/TableRoom.js +14 -0
  552. package/dist/client/copy/lists/components/TableView.d.ts +37 -0
  553. package/dist/client/copy/lists/components/TableView.js +39 -0
  554. package/dist/client/copy/lists/components/appListModel.d.ts +6 -0
  555. package/dist/client/copy/lists/components/appListModel.js +5 -0
  556. package/dist/client/copy/lists/components/myViews.d.ts +4 -0
  557. package/dist/client/copy/lists/components/myViews.js +6 -0
  558. package/dist/client/copy/lists/components/placeOrder.d.ts +4 -0
  559. package/dist/client/copy/lists/components/placeOrder.js +6 -0
  560. package/dist/client/copy/lists/components/useBulkSelection.d.ts +20 -0
  561. package/dist/client/copy/lists/components/useBulkSelection.js +16 -0
  562. package/dist/client/copy/lists/components/useListOrder.d.ts +7 -0
  563. package/dist/client/copy/lists/components/useListOrder.js +9 -0
  564. package/dist/client/copy/public/components/appRooms.d.ts +3 -0
  565. package/dist/client/copy/public/components/appRooms.js +5 -0
  566. package/dist/client/copy/record/components/Actions.d.ts +13 -0
  567. package/dist/client/copy/record/components/Actions.js +15 -0
  568. package/dist/client/copy/record/components/AttachmentList.d.ts +23 -0
  569. package/dist/client/copy/record/components/AttachmentList.js +22 -0
  570. package/dist/client/copy/record/components/DeleteButton.d.ts +22 -0
  571. package/dist/client/copy/record/components/DeleteButton.js +24 -0
  572. package/dist/client/copy/record/components/Dressed.d.ts +5 -0
  573. package/dist/client/copy/record/components/Dressed.js +7 -0
  574. package/dist/client/copy/record/components/EditLayoutButton.d.ts +5 -0
  575. package/dist/client/copy/record/components/EditLayoutButton.js +7 -0
  576. package/dist/client/copy/record/components/Editable.d.ts +25 -0
  577. package/dist/client/copy/record/components/Editable.js +24 -0
  578. package/dist/client/copy/record/components/FieldArranger.d.ts +15 -0
  579. package/dist/client/copy/record/components/FieldArranger.js +17 -0
  580. package/dist/client/copy/record/components/FilePreview.d.ts +13 -0
  581. package/dist/client/copy/record/components/FilePreview.js +15 -0
  582. package/dist/client/copy/record/components/JsonPreview.d.ts +3 -0
  583. package/dist/client/copy/record/components/JsonPreview.js +5 -0
  584. package/dist/client/copy/record/components/JsonView.d.ts +12 -0
  585. package/dist/client/copy/record/components/JsonView.js +14 -0
  586. package/dist/client/copy/record/components/LayoutBuilder.d.ts +23 -0
  587. package/dist/client/copy/record/components/LayoutBuilder.js +25 -0
  588. package/dist/client/copy/record/components/Lightbox.d.ts +5 -0
  589. package/dist/client/copy/record/components/Lightbox.js +7 -0
  590. package/dist/client/copy/record/components/LiveNotices.d.ts +33 -0
  591. package/dist/client/copy/record/components/LiveNotices.js +29 -0
  592. package/dist/client/copy/record/components/PageCurrent.d.ts +1 -0
  593. package/dist/client/copy/record/components/PageCurrent.js +3 -0
  594. package/dist/client/copy/record/components/PageEmptyRun.d.ts +3 -0
  595. package/dist/client/copy/record/components/PageEmptyRun.js +5 -0
  596. package/dist/client/copy/record/components/PageFields.d.ts +5 -0
  597. package/dist/client/copy/record/components/PageFields.js +7 -0
  598. package/dist/client/copy/record/components/PageFlowDiagram.d.ts +33 -0
  599. package/dist/client/copy/record/components/PageFlowDiagram.js +37 -0
  600. package/dist/client/copy/record/components/PageFlows.d.ts +20 -0
  601. package/dist/client/copy/record/components/PageFlows.js +22 -0
  602. package/dist/client/copy/record/components/PageGroups.d.ts +12 -0
  603. package/dist/client/copy/record/components/PageGroups.js +14 -0
  604. package/dist/client/copy/record/components/PageHead.d.ts +8 -0
  605. package/dist/client/copy/record/components/PageHead.js +10 -0
  606. package/dist/client/copy/record/components/PageHistory.d.ts +18 -0
  607. package/dist/client/copy/record/components/PageHistory.js +20 -0
  608. package/dist/client/copy/record/components/PageLayout.d.ts +5 -0
  609. package/dist/client/copy/record/components/PageLayout.js +7 -0
  610. package/dist/client/copy/record/components/PageRelated.d.ts +24 -0
  611. package/dist/client/copy/record/components/PageRelated.js +26 -0
  612. package/dist/client/copy/record/components/PageRoom.d.ts +4 -0
  613. package/dist/client/copy/record/components/PageRoom.js +6 -0
  614. package/dist/client/copy/record/components/PageSectionBox.d.ts +6 -0
  615. package/dist/client/copy/record/components/PageSectionBox.js +10 -0
  616. package/dist/client/copy/record/components/PageTimeline.d.ts +9 -0
  617. package/dist/client/copy/record/components/PageTimeline.js +8 -0
  618. package/dist/client/copy/record/components/Peek.d.ts +3 -0
  619. package/dist/client/copy/record/components/Peek.js +5 -0
  620. package/dist/client/copy/record/components/PeekPanel.d.ts +5 -0
  621. package/dist/client/copy/record/components/PeekPanel.js +7 -0
  622. package/dist/client/copy/record/components/QrCode.d.ts +3 -0
  623. package/dist/client/copy/record/components/QrCode.js +5 -0
  624. package/dist/client/copy/record/components/Record.d.ts +19 -0
  625. package/dist/client/copy/record/components/Record.js +21 -0
  626. package/dist/client/copy/record/components/RecordGone.d.ts +4 -0
  627. package/dist/client/copy/record/components/RecordGone.js +6 -0
  628. package/dist/client/copy/record/components/RecordSummaries.d.ts +1 -0
  629. package/dist/client/copy/record/components/RecordSummaries.js +3 -0
  630. package/dist/client/copy/record/components/RecordTags.d.ts +9 -0
  631. package/dist/client/copy/record/components/RecordTags.js +11 -0
  632. package/dist/client/copy/record/components/RecordTrailNav.d.ts +8 -0
  633. package/dist/client/copy/record/components/RecordTrailNav.js +10 -0
  634. package/dist/client/copy/record/components/RichText.d.ts +4 -0
  635. package/dist/client/copy/record/components/RichText.js +6 -0
  636. package/dist/client/copy/record/components/Value.d.ts +4 -0
  637. package/dist/client/copy/record/components/Value.js +6 -0
  638. package/dist/client/copy/record/components/WorkflowStatus.d.ts +7 -0
  639. package/dist/client/copy/record/components/WorkflowStatus.js +9 -0
  640. package/dist/client/copy/record/components/WriteConfirm.d.ts +11 -0
  641. package/dist/client/copy/record/components/WriteConfirm.js +13 -0
  642. package/dist/client/copy/record/components/groupMoves.d.ts +7 -0
  643. package/dist/client/copy/record/components/groupMoves.js +9 -0
  644. package/dist/client/copy/record/components/jsonModel.d.ts +3 -0
  645. package/dist/client/copy/record/components/jsonModel.js +5 -0
  646. package/dist/client/copy/record/components/pageModel.d.ts +5 -0
  647. package/dist/client/copy/record/components/pageModel.js +7 -0
  648. package/dist/client/copy/record/components/recordSurface.d.ts +6 -0
  649. package/dist/client/copy/record/components/recordSurface.js +8 -0
  650. package/dist/client/copy/record/components/valueModel.d.ts +5 -0
  651. package/dist/client/copy/record/components/valueModel.js +7 -0
  652. package/dist/client/copy/record/fileSource.d.ts +3 -0
  653. package/dist/client/copy/record/fileSource.js +5 -0
  654. package/dist/client/copy/record/insert.d.ts +6 -0
  655. package/dist/client/copy/record/insert.js +8 -0
  656. package/dist/client/copy/record/page.d.ts +4 -0
  657. package/dist/client/copy/record/page.js +6 -0
  658. package/dist/client/copy/record/recordEditValidation.d.ts +4 -0
  659. package/dist/client/copy/record/recordEditValidation.js +6 -0
  660. package/dist/client/copy/record/savedPages.d.ts +4 -0
  661. package/dist/client/copy/record/savedPages.js +6 -0
  662. package/dist/client/copy/record/template.d.ts +9 -0
  663. package/dist/client/copy/record/template.js +11 -0
  664. package/dist/client/copy/record/write.d.ts +30 -0
  665. package/dist/client/copy/record/write.js +26 -0
  666. package/dist/client/copy/shell/app.d.ts +27 -0
  667. package/dist/client/copy/shell/app.js +43 -0
  668. package/dist/client/copy/shell/components/AppIssues.d.ts +10 -0
  669. package/dist/client/copy/shell/components/AppIssues.js +9 -0
  670. package/dist/client/copy/shell/components/Crumbs.d.ts +7 -0
  671. package/dist/client/copy/shell/components/Crumbs.js +17 -0
  672. package/dist/client/copy/shell/components/Dropdown.d.ts +3 -0
  673. package/dist/client/copy/shell/components/Dropdown.js +5 -0
  674. package/dist/client/copy/shell/components/ErrorBoundary.d.ts +4 -0
  675. package/dist/client/copy/shell/components/ErrorBoundary.js +6 -0
  676. package/dist/client/copy/shell/components/FavoriteStar.d.ts +4 -0
  677. package/dist/client/copy/shell/components/FavoriteStar.js +6 -0
  678. package/dist/client/copy/shell/components/MobileNavDrawer.d.ts +4 -0
  679. package/dist/client/copy/shell/components/MobileNavDrawer.js +12 -0
  680. package/dist/client/copy/shell/components/OverflowMenu.d.ts +3 -0
  681. package/dist/client/copy/shell/components/OverflowMenu.js +10 -0
  682. package/dist/client/copy/shell/components/Palette.d.ts +15 -0
  683. package/dist/client/copy/shell/components/Palette.js +18 -0
  684. package/dist/client/copy/shell/components/Prefs.d.ts +4 -0
  685. package/dist/client/copy/shell/components/Prefs.js +11 -0
  686. package/dist/client/copy/shell/components/Prompt.d.ts +1 -0
  687. package/dist/client/copy/shell/components/Prompt.js +3 -0
  688. package/dist/client/copy/shell/components/Rooms.d.ts +6 -0
  689. package/dist/client/copy/shell/components/Rooms.js +8 -0
  690. package/dist/client/copy/shell/components/Sidebar.d.ts +7 -0
  691. package/dist/client/copy/shell/components/Sidebar.js +9 -0
  692. package/dist/client/copy/shell/components/Skeleton.d.ts +5 -0
  693. package/dist/client/copy/shell/components/Skeleton.js +7 -0
  694. package/dist/client/copy/shell/components/TopNav.d.ts +4 -0
  695. package/dist/client/copy/shell/components/TopNav.js +12 -0
  696. package/dist/client/copy/shell/components/Tour.d.ts +4 -0
  697. package/dist/client/copy/shell/components/Tour.js +6 -0
  698. package/dist/client/copy/shell/components/newMenuModel.d.ts +3 -0
  699. package/dist/client/copy/shell/components/newMenuModel.js +5 -0
  700. package/dist/client/copy/shell/components/onDemand.d.ts +3 -0
  701. package/dist/client/copy/shell/components/onDemand.js +5 -0
  702. package/dist/client/copy/shell/components/sidebarModel.d.ts +3 -0
  703. package/dist/client/copy/shell/components/sidebarModel.js +5 -0
  704. package/dist/client/copy/shell/connectionList.d.ts +6 -0
  705. package/dist/client/copy/shell/connectionList.js +8 -0
  706. package/dist/client/copy/shell/core.d.ts +16 -0
  707. package/dist/client/copy/shell/core.js +18 -0
  708. package/dist/client/copy/shell/palette.d.ts +6 -0
  709. package/dist/client/copy/shell/palette.js +8 -0
  710. package/dist/client/copy/shell/prompt.d.ts +1 -0
  711. package/dist/client/copy/shell/prompt.js +3 -0
  712. package/dist/client/copy/shell/requestIdentity.d.ts +9 -0
  713. package/dist/client/copy/shell/requestIdentity.js +11 -0
  714. package/dist/client/copy/shell/resourceRequests.d.ts +4 -0
  715. package/dist/client/copy/shell/resourceRequests.js +6 -0
  716. package/dist/client/copy/shell/sessionIdentity.d.ts +11 -0
  717. package/dist/client/copy/shell/sessionIdentity.js +13 -0
  718. package/dist/client/copy/shell/sessionLifecycle.d.ts +5 -0
  719. package/dist/client/copy/shell/sessionLifecycle.js +7 -0
  720. package/dist/client/copy/shell/startup.d.ts +5 -0
  721. package/dist/client/copy/shell/startup.js +7 -0
  722. package/dist/client/copy/shell/theme.d.ts +5 -0
  723. package/dist/client/copy/shell/theme.js +14 -0
  724. package/dist/client/copy/shell/toast.d.ts +3 -0
  725. package/dist/client/copy/shell/toast.js +5 -0
  726. package/dist/client/copy/shell/updateAttempts.d.ts +6 -0
  727. package/dist/client/copy/shell/updateAttempts.js +8 -0
  728. package/dist/client/copy/shell/visualTheme.d.ts +4 -0
  729. package/dist/client/copy/shell/visualTheme.js +6 -0
  730. package/dist/client/copy/workbench/clauses.d.ts +3 -0
  731. package/dist/client/copy/workbench/clauses.js +5 -0
  732. package/dist/client/copy/workbench/components/ApiOperations.d.ts +21 -0
  733. package/dist/client/copy/workbench/components/ApiOperations.js +23 -0
  734. package/dist/client/copy/workbench/components/Composer.d.ts +105 -0
  735. package/dist/client/copy/workbench/components/Composer.js +92 -0
  736. package/dist/client/copy/workbench/components/Diagram.d.ts +56 -0
  737. package/dist/client/copy/workbench/components/Diagram.js +46 -0
  738. package/dist/client/copy/workbench/components/Export.d.ts +26 -0
  739. package/dist/client/copy/workbench/components/Export.js +25 -0
  740. package/dist/client/copy/workbench/components/HelpPanel.d.ts +10 -0
  741. package/dist/client/copy/workbench/components/HelpPanel.js +12 -0
  742. package/dist/client/copy/workbench/components/History.d.ts +11 -0
  743. package/dist/client/copy/workbench/components/History.js +10 -0
  744. package/dist/client/copy/workbench/components/Landing.d.ts +5 -0
  745. package/dist/client/copy/workbench/components/Landing.js +7 -0
  746. package/dist/client/copy/workbench/components/SchemaExport.d.ts +24 -0
  747. package/dist/client/copy/workbench/components/SchemaExport.js +20 -0
  748. package/dist/client/copy/workbench/components/Summary.d.ts +28 -0
  749. package/dist/client/copy/workbench/components/Summary.js +24 -0
  750. package/dist/client/copy/workbench/components/ThemeLab.d.ts +25 -0
  751. package/dist/client/copy/workbench/components/ThemeLab.js +27 -0
  752. package/dist/client/copy/workbench/components/WorkPanel.d.ts +12 -0
  753. package/dist/client/copy/workbench/components/WorkPanel.js +14 -0
  754. package/dist/client/copy/workbench/composer.d.ts +36 -0
  755. package/dist/client/copy/workbench/composer.js +32 -0
  756. package/dist/client/copy/workbench/composerEntry.d.ts +4 -0
  757. package/dist/client/copy/workbench/composerEntry.js +6 -0
  758. package/dist/client/copy/workbench/export.d.ts +8 -0
  759. package/dist/client/copy/workbench/export.js +7 -0
  760. package/dist/client/copy/workbench/filterbar.d.ts +6 -0
  761. package/dist/client/copy/workbench/filterbar.js +8 -0
  762. package/dist/client/copy/workbench/handoff.d.ts +20 -0
  763. package/dist/client/copy/workbench/handoff.js +19 -0
  764. package/dist/client/copy/workbench/help.d.ts +6 -0
  765. package/dist/client/copy/workbench/help.js +8 -0
  766. package/dist/client/copy/workbench/history.d.ts +3 -0
  767. package/dist/client/copy/workbench/history.js +5 -0
  768. package/dist/client/copy/workbench/schemaexport.d.ts +5 -0
  769. package/dist/client/copy/workbench/schemaexport.js +7 -0
  770. package/dist/client/copy/workbench/tour.d.ts +22 -0
  771. package/dist/client/copy/workbench/tour.js +24 -0
  772. package/dist/client/copy/workbench/views.d.ts +6 -0
  773. package/dist/client/copy/workbench/views.js +8 -0
  774. package/dist/client/core.d.ts +312 -0
  775. package/dist/client/core.js +1067 -0
  776. package/dist/client/customThemes.css +43 -0
  777. package/dist/client/dashboard.d.ts +16 -0
  778. package/dist/client/dashboard.js +35 -0
  779. package/dist/client/deeplink.d.ts +64 -0
  780. package/dist/client/deeplink.js +384 -0
  781. package/dist/client/delete.d.ts +8 -0
  782. package/dist/client/delete.js +35 -0
  783. package/dist/client/density.d.ts +8 -0
  784. package/dist/client/density.js +102 -0
  785. package/dist/client/devtoolsEventClient.d.ts +27 -0
  786. package/dist/client/devtoolsEventClient.js +32 -0
  787. package/dist/client/documents.d.ts +9 -0
  788. package/dist/client/documents.js +23 -0
  789. package/dist/client/dom.d.ts +36 -0
  790. package/dist/client/dom.js +232 -0
  791. package/dist/client/draftRecovery.d.ts +16 -0
  792. package/dist/client/draftRecovery.js +56 -0
  793. package/dist/client/export.d.ts +59 -0
  794. package/dist/client/export.js +217 -0
  795. package/dist/client/features.css +2187 -0
  796. package/dist/client/fieldErrors.d.ts +27 -0
  797. package/dist/client/fieldErrors.js +20 -0
  798. package/dist/client/fileSource.d.ts +10 -0
  799. package/dist/client/fileSource.js +115 -0
  800. package/dist/client/filterbar.d.ts +87 -0
  801. package/dist/client/filterbar.js +168 -0
  802. package/dist/client/firstPaint.d.ts +26 -0
  803. package/dist/client/firstPaint.js +102 -0
  804. package/dist/client/fonts/Barlow-OFL.txt +125 -0
  805. package/dist/client/fonts/IBMPlexMono-OFL.txt +104 -0
  806. package/dist/client/fonts/Inter-OFL.txt +92 -0
  807. package/dist/client/fonts/barlow-400.woff2 +0 -0
  808. package/dist/client/fonts/barlow-600.woff2 +0 -0
  809. package/dist/client/fonts/barlow-semi-condensed-700.woff2 +0 -0
  810. package/dist/client/fonts/ibm-plex-mono-400.woff2 +0 -0
  811. package/dist/client/fonts/ibm-plex-mono-500.woff2 +0 -0
  812. package/dist/client/fonts/inter-latin.woff2 +0 -0
  813. package/dist/client/formControls.css +5 -0
  814. package/dist/client/handoff.d.ts +47 -0
  815. package/dist/client/handoff.js +138 -0
  816. package/dist/client/help.css +151 -0
  817. package/dist/client/help.d.ts +20 -0
  818. package/dist/client/help.js +103 -0
  819. package/dist/client/helpContent.d.ts +95 -0
  820. package/dist/client/helpContent.js +661 -0
  821. package/dist/client/history.d.ts +10 -0
  822. package/dist/client/history.js +181 -0
  823. package/dist/client/historyToken.d.ts +18 -0
  824. package/dist/client/historyToken.js +27 -0
  825. package/dist/client/iconWeight.d.ts +16 -0
  826. package/dist/client/iconWeight.js +44 -0
  827. package/dist/client/index.html +244 -0
  828. package/dist/client/insert.d.ts +50 -0
  829. package/dist/client/insert.js +269 -0
  830. package/dist/client/kit.d.ts +7 -0
  831. package/dist/client/kit.js +1 -0
  832. package/dist/client/layoutDraftRecovery.d.ts +8 -0
  833. package/dist/client/layoutDraftRecovery.js +33 -0
  834. package/dist/client/ledgerLook.css +32 -0
  835. package/dist/client/liveReads.d.ts +23 -0
  836. package/dist/client/liveReads.js +38 -0
  837. package/dist/client/liveState.d.ts +94 -0
  838. package/dist/client/liveState.js +212 -0
  839. package/dist/client/locale.d.ts +141 -0
  840. package/dist/client/locale.js +0 -0
  841. package/dist/client/lumenLook.css +1867 -0
  842. package/dist/client/menu.d.ts +49 -0
  843. package/dist/client/menu.js +131 -0
  844. package/dist/client/menuScope.d.ts +6 -0
  845. package/dist/client/menuScope.js +4 -0
  846. package/dist/client/messages.d.ts +240 -0
  847. package/dist/client/messages.js +370 -0
  848. package/dist/client/motionStill.d.ts +1 -0
  849. package/dist/client/motionStill.js +17 -0
  850. package/dist/client/navigationHold.d.ts +37 -0
  851. package/dist/client/navigationHold.js +503 -0
  852. package/dist/client/nested.d.ts +8 -0
  853. package/dist/client/nested.js +26 -0
  854. package/dist/client/ownWrites.d.ts +33 -0
  855. package/dist/client/ownWrites.js +76 -0
  856. package/dist/client/page.css +4052 -0
  857. package/dist/client/page.d.ts +21 -0
  858. package/dist/client/page.js +187 -0
  859. package/dist/client/pagemarks.d.ts +32 -0
  860. package/dist/client/pagemarks.js +98 -0
  861. package/dist/client/palette.d.ts +35 -0
  862. package/dist/client/palette.js +357 -0
  863. package/dist/client/partsLook.css +1047 -0
  864. package/dist/client/peek.d.ts +11 -0
  865. package/dist/client/peek.js +51 -0
  866. package/dist/client/peekpanel.d.ts +26 -0
  867. package/dist/client/peekpanel.js +121 -0
  868. package/dist/client/pendingWork.d.ts +19 -0
  869. package/dist/client/pendingWork.js +36 -0
  870. package/dist/client/pins.d.ts +24 -0
  871. package/dist/client/pins.js +97 -0
  872. package/dist/client/prefs.d.ts +3 -0
  873. package/dist/client/prefs.js +32 -0
  874. package/dist/client/prompt.d.ts +27 -0
  875. package/dist/client/prompt.js +61 -0
  876. package/dist/client/readGathering.d.ts +4 -0
  877. package/dist/client/readGathering.js +23 -0
  878. package/dist/client/recordCompose.d.ts +11 -0
  879. package/dist/client/recordCompose.js +69 -0
  880. package/dist/client/recordDrafts.d.ts +40 -0
  881. package/dist/client/recordDrafts.js +57 -0
  882. package/dist/client/recordEditValidation.d.ts +12 -0
  883. package/dist/client/recordEditValidation.js +52 -0
  884. package/dist/client/recordIntent.d.ts +6 -0
  885. package/dist/client/recordIntent.js +15 -0
  886. package/dist/client/recordPress.d.ts +12 -0
  887. package/dist/client/recordPress.js +84 -0
  888. package/dist/client/recordSource.d.ts +6 -0
  889. package/dist/client/recordSource.js +15 -0
  890. package/dist/client/recordTrail.d.ts +77 -0
  891. package/dist/client/recordTrail.js +101 -0
  892. package/dist/client/recordWriteRefresh.d.ts +74 -0
  893. package/dist/client/recordWriteRefresh.js +284 -0
  894. package/dist/client/relatedRows.d.ts +4 -0
  895. package/dist/client/relatedRows.js +24 -0
  896. package/dist/client/requestIdentity.d.ts +36 -0
  897. package/dist/client/requestIdentity.js +97 -0
  898. package/dist/client/resourceRequests.d.ts +7 -0
  899. package/dist/client/resourceRequests.js +32 -0
  900. package/dist/client/roleLabels.d.ts +7 -0
  901. package/dist/client/roleLabels.js +24 -0
  902. package/dist/client/rowEditing.d.ts +15 -0
  903. package/dist/client/rowEditing.js +36 -0
  904. package/dist/client/sageLook.css +242 -0
  905. package/dist/client/savedPages.d.ts +15 -0
  906. package/dist/client/savedPages.js +123 -0
  907. package/dist/client/schemaexport.d.ts +14 -0
  908. package/dist/client/schemaexport.js +182 -0
  909. package/dist/client/sessionIdentity.d.ts +39 -0
  910. package/dist/client/sessionIdentity.js +255 -0
  911. package/dist/client/sessionLifecycle.d.ts +33 -0
  912. package/dist/client/sessionLifecycle.js +276 -0
  913. package/dist/client/shellHost.d.ts +70 -0
  914. package/dist/client/shellHost.js +92 -0
  915. package/dist/client/shellMain.d.ts +8 -0
  916. package/dist/client/shellMode.d.ts +433 -0
  917. package/dist/client/shellMode.js +68 -0
  918. package/dist/client/shellStart.d.ts +5 -0
  919. package/dist/client/shellStart.js +54 -0
  920. package/dist/client/shells.d.ts +123 -0
  921. package/dist/client/shells.js +1 -0
  922. package/dist/client/sql.css +139 -0
  923. package/dist/client/startup.d.ts +8 -0
  924. package/dist/client/startup.js +85 -0
  925. package/dist/client/startupHold.d.ts +10 -0
  926. package/dist/client/startupHold.js +73 -0
  927. package/dist/client/structure.css +1296 -0
  928. package/dist/client/style.css +3526 -0
  929. package/dist/client/styleImports.d.ts +3 -0
  930. package/dist/client/surfaces.d.ts +18 -0
  931. package/dist/client/surfaces.js +27 -0
  932. package/dist/client/surfacesLook.css +88 -0
  933. package/dist/client/template.d.ts +75 -0
  934. package/dist/client/template.js +403 -0
  935. package/dist/client/theme.d.ts +14 -0
  936. package/dist/client/theme.js +112 -0
  937. package/dist/client/themeFamilies.css +788 -0
  938. package/dist/client/thmenu.d.ts +12 -0
  939. package/dist/client/thmenu.js +94 -0
  940. package/dist/client/toast.d.ts +7 -0
  941. package/dist/client/toast.js +117 -0
  942. package/dist/client/tour.d.ts +8 -0
  943. package/dist/client/tour.js +176 -0
  944. package/dist/client/transport.d.ts +2 -0
  945. package/dist/client/transport.js +13 -0
  946. package/dist/client/typography.d.ts +4 -0
  947. package/dist/client/typography.js +51 -0
  948. package/dist/client/uiBridge.d.ts +57 -0
  949. package/dist/client/uiBridge.js +30 -0
  950. package/dist/client/updateAttempts.d.ts +46 -0
  951. package/dist/client/updateAttempts.js +131 -0
  952. package/dist/client/url.d.ts +74 -0
  953. package/dist/client/url.js +388 -0
  954. package/dist/client/views.d.ts +19 -0
  955. package/dist/client/views.js +133 -0
  956. package/dist/client/visualTheme.d.ts +62 -0
  957. package/dist/client/visualTheme.js +502 -0
  958. package/dist/client/visualThemes.css +421 -0
  959. package/dist/client/workshopLook.css +126 -0
  960. package/dist/client/write.d.ts +100 -0
  961. package/dist/client/write.js +882 -0
  962. package/dist/client/writePaths.d.ts +16 -0
  963. package/dist/client/writePaths.js +35 -0
  964. package/dist/client/yesNoRule.d.ts +12 -0
  965. package/dist/client/yesNoRule.js +39 -0
  966. package/dist/clientFiles.d.ts +11 -4
  967. package/dist/clientFiles.js +16 -12
  968. package/dist/vite.d.ts +136 -0
  969. package/dist/vite.js +571 -0
  970. package/package.json +130 -3
@@ -0,0 +1,4052 @@
1
+ /* The tool's own rules: the first layer (style.css names the order). */
2
+ @layer base {
3
+ /* Pages: one root, and everything that hangs off it.
4
+
5
+ In its own file because it is a self-contained surface and style.css is
6
+ already long. Nothing here names a colour — every value is a token defined
7
+ at the top of style.css, so the dark scheme needs no second set of rules. */
8
+
9
+ /* Two rows — see `.page-head-top` below. The head was a single flex row and
10
+ an earlier rule here set it, so the two-row version quietly did nothing. */
11
+ .page-head {
12
+ margin-bottom: var(--space-4h);
13
+ }
14
+ .page-title {
15
+ margin: 0;
16
+ font: 600 var(--text-lg) var(--mono);
17
+ letter-spacing: -0.015em;
18
+ }
19
+
20
+ /* The heading keeps the full accessible label; the initials disc is a quiet
21
+ identity cue alongside it, using the same avatar tokens as cards and lists. */
22
+ .page-record-avatar {
23
+ flex: none;
24
+ }
25
+
26
+ /* ---------- the layout ---------- */
27
+
28
+ /* Full width, like every other room. Pages sat in a centred 76rem column
29
+ while the lists ran edge to edge, so each navigation jumped the content
30
+ edge — one column discipline everywhere is what makes the rooms read as
31
+ one building. (The endorsed model here is the classic record form,
32
+ which is full width too.) */
33
+ .page-head,
34
+ .page-body {
35
+ width: 100%;
36
+ }
37
+ /* Two rows: what the page is called, then how you choose the record it is
38
+ about. They were one row, and the filter — the widest thing there and the
39
+ only one you type into — ended up wedged between two buttons. */
40
+ .page-head {
41
+ margin-bottom: var(--space-5);
42
+ }
43
+ .page-head-top {
44
+ display: flex;
45
+ align-items: center;
46
+ gap: var(--space-3h);
47
+ flex-wrap: wrap;
48
+ margin-bottom: var(--space-4);
49
+ }
50
+ /* The Layout button goes to the far end, away from the name it is not about. */
51
+ .page-head-top .page-edit {
52
+ margin-left: auto;
53
+ }
54
+ /* The title, when it is also the way to another page. Sized like the heading
55
+ it replaces rather than like a form control, because it is still the name
56
+ of what you are looking at — the caret is the only thing saying there is
57
+ more than one of them. */
58
+ .page-title-pick .dd-button {
59
+ padding: var(--space-1) var(--space-3) var(--space-1) var(--space-2);
60
+ border-color: transparent;
61
+ background: none;
62
+ }
63
+ .page-title-pick .dd-value {
64
+ font: 620 calc(17px * var(--type-k)) var(--mono);
65
+ letter-spacing: -0.01em;
66
+ color: var(--ink);
67
+ }
68
+ .page-title-pick .dd-button:hover {
69
+ border-color: var(--line);
70
+ background: var(--raised);
71
+ }
72
+ .page-title-pick .dd-list {
73
+ min-width: 16rem;
74
+ }
75
+ /* The Edit control to the far right; everything else keeps to the left, so
76
+ the filter sits beside the title it belongs to rather than adrift. */
77
+ .page-edit {
78
+ flex: none;
79
+ margin-left: auto;
80
+ font-size: var(--text-xs);
81
+ }
82
+
83
+ /* Sections flow into rows, each taking the share of the row its width names.
84
+ Wrapping rather than a grid with declared tracks: a section is a piece of
85
+ content and "half" survives a narrow window, where "columns 4 through 9"
86
+ needs a breakpoint table to mean anything. */
87
+ .page-body {
88
+ /* Sections need room to read as separate things. A page is several
89
+ answers about one record, and at 26px the seam between two of them was
90
+ the same distance as the gap between two rows of fields inside one — so
91
+ the eye had to use the hairline to find the edge, and a section without
92
+ a heading had nothing to find. */
93
+ --page-row-gap: var(--section-seam);
94
+ display: flex;
95
+ flex-wrap: wrap;
96
+ column-gap: var(--space-7);
97
+ row-gap: var(--page-row-gap);
98
+ /* Sections in one row stand as tall as the tallest (docs/design.md), their
99
+ content from the top; a section without a box shows only its height. */
100
+ align-items: stretch;
101
+ }
102
+
103
+ /* The aside is a third of the record, between 16rem and 20rem: a ratio of the
104
+ room the pane leaves rather than a fixed column. Fixed at 320px, it took
105
+ the same share beside the side menu as beside the top one, and the main
106
+ column was left 487px at 1280 — three figures a pixel short of a row, a
107
+ related list one column short. A third leaves the top menu's shell its
108
+ 320px at a desk and gives the side menu's main column 538px there, and it
109
+ grows back as the window does. The floor is a properties rail's caption
110
+ beside its value; under it the columns are one (1100px, below). */
111
+ .page-layout {
112
+ --page-aside-gap: 32px;
113
+ display: grid;
114
+ grid-template-columns: minmax(0, 1fr) clamp(256px, (100% - var(--page-aside-gap)) / 3, 320px);
115
+ gap: var(--page-aside-gap);
116
+ width: 100%;
117
+ align-items: start;
118
+ }
119
+ .page-layout > .page-body {
120
+ min-width: 0;
121
+ }
122
+ .page-aside {
123
+ border-left: 1px solid var(--line);
124
+ padding-left: var(--space-6);
125
+ }
126
+ @media (min-width: 1101px) {
127
+ /* The aside's rule runs the length of the page it stands beside: stopping
128
+ at its last field, it read as a short box rather than a column. */
129
+ /* Stretched, a wrapping column hands its spare height to its rows: two
130
+ aside sections beside a long page stood half a page apart. They stack
131
+ from the top; only the rule runs the length. */
132
+ .page-layout > .page-aside {
133
+ align-self: stretch;
134
+ align-content: flex-start;
135
+ }
136
+ .page-layout .page-aside .page-section {
137
+ flex-basis: 100%;
138
+ margin-inline: 0;
139
+ }
140
+ .page-aside .page-metric-row {
141
+ flex-direction: column;
142
+ }
143
+ }
144
+ /* Stacked under the record, the aside is more sections: its first takes the
145
+ section rule a section takes, in the look's weight, rather than the aside
146
+ drawing a hairline of its own a row under the last field's (two rules, a
147
+ gap apart, where one was meant). A headline or a card is a box, and a line
148
+ of facts draws no rule: those stay as they are. */
149
+ @media (max-width: 1100px) {
150
+ .page-layout {
151
+ grid-template-columns: minmax(0, 1fr);
152
+ gap: var(--page-row-gap, var(--section-seam));
153
+ }
154
+ .page-aside {
155
+ border-left: 0;
156
+ padding-left: 0;
157
+ }
158
+ .page-aside > .page-section:first-child:not(:has(.page-headline, > .page-facts), .page-card-section) {
159
+ border-top-style: solid;
160
+ padding-top: var(--space-3h);
161
+ }
162
+ }
163
+
164
+ /* A section's own table brings its bottom padding, which lands on top of the
165
+ row gap and makes the space under a list visibly bigger than the space
166
+ under a metric strip. The gap is the layout's job here. */
167
+ .page-section .table-wrap {
168
+ padding-bottom: 0;
169
+ }
170
+ /* A table's first column starts on its section's heading, not 14px in from it (a room has one content edge). The
171
+ edge cells keep their 14px, which is what a frozen column needs (style.css, .table-wrap): the wrap itself
172
+ reaches out by that much on its start side only, so the text sits on the heading's line and nothing stands past the section's far edge.
173
+ A section that is a box (Lumen's card, Sage's panel) sets its own bleed and keeps the inset it gives. */
174
+ .page-section .table-wrap {
175
+ margin-inline-start: -14px;
176
+ max-width: none;
177
+ }
178
+ /* A section's table scrolls sideways only; it grows to its rows. `overflow-x: auto` alone makes it a vertical scroller
179
+ too, and a sliver of vertical overflow (a row a pixel taller in another font, Lumen's card) let it take a wheel
180
+ turned over it and keep it, so the record stopped short of its end (e2e/scrolling.spec.ts, on an iPad). */
181
+ .page-section .table-wrap {
182
+ overflow-y: hidden;
183
+ }
184
+
185
+ /* No box.
186
+
187
+ Every section in a rounded card with its own border made six boxes on a
188
+ page, and a border around content that is already a table draws the same
189
+ line twice. Separation comes from space and one hairline above the
190
+ heading — which is what the eye needs to see a group, and all it needs.
191
+ The cards also fixed a width to the content inside them, so a five-row
192
+ table and a two-row one drew boxes of visibly different weight for no
193
+ reason a reader could name. */
194
+ .page-section[hidden] {
195
+ display: none;
196
+ }
197
+ .page-section {
198
+ flex: 1 1 100%;
199
+ min-width: 0;
200
+ padding: 0;
201
+ background: none;
202
+ border: none;
203
+ border-top: 1px solid var(--line);
204
+ padding-top: var(--space-3h);
205
+ }
206
+ /* `calc` rather than a bare percentage: the gap comes out of the row, so two
207
+ halves at 50% each wrap onto separate lines the moment there is one. */
208
+ .page-section.width-half {
209
+ flex-basis: calc(50% - 16px);
210
+ }
211
+ .page-section.width-third {
212
+ flex-basis: calc(33.333% - 22px);
213
+ }
214
+ .page-section.width-two-thirds {
215
+ flex-basis: calc(66.667% - 10px);
216
+ }
217
+
218
+ /* Offsets: empty space standing where a section of that fraction would have
219
+ stood. The pixel corrections make the margin end exactly where the next
220
+ column would begin — a third-offset third lines up under the middle of
221
+ three, not a gap-width to its left — except `quarter`, which has no column
222
+ to align to and is trimmed a little so a quarter–half–quarter row cannot
223
+ round itself past 100% and wrap. */
224
+ .page-section.offset-l-quarter {
225
+ margin-left: calc(25% + 6px);
226
+ }
227
+ .page-section.offset-l-third {
228
+ margin-left: calc(33.333% + 10px);
229
+ }
230
+ .page-section.offset-l-half {
231
+ margin-left: calc(50% + 16px);
232
+ }
233
+ .page-section.offset-l-two-thirds {
234
+ margin-left: calc(66.666% + 20px);
235
+ }
236
+ .page-section.offset-r-quarter {
237
+ margin-right: calc(25% + 6px);
238
+ }
239
+ .page-section.offset-r-third {
240
+ margin-right: calc(33.333% + 10px);
241
+ }
242
+ .page-section.offset-r-half {
243
+ margin-right: calc(50% + 16px);
244
+ }
245
+ .page-section.offset-r-two-thirds {
246
+ margin-right: calc(66.666% + 20px);
247
+ }
248
+
249
+ @media (max-width: 900px) {
250
+ .page-section.width-half,
251
+ .page-section.width-third,
252
+ .page-section.width-two-thirds {
253
+ flex-basis: 100%;
254
+ }
255
+ /* A narrow screen stacks everything full-width; an offset there is not
256
+ placement, it is a squeezed column. */
257
+ .page-section[class*='offset-'] {
258
+ margin-left: 0;
259
+ margin-right: 0;
260
+ }
261
+ }
262
+
263
+ /* The first section is the record itself and wants no rule above it: there is
264
+ nothing above it to be separated from. */
265
+ .page-section:first-child {
266
+ border-top: none;
267
+ padding-top: 0;
268
+ }
269
+ /* Nor do the sections that share its row: a row is one band, under one rule
270
+ or none, and a half beside the first half drew a rule its neighbour did not.
271
+ Only while sections sit side by side — narrow, each has its own row. */
272
+ @media (min-width: 901px) {
273
+ .page-section:first-child.width-half + .page-section.width-half,
274
+ .page-section:first-child.width-third + .page-section:is(.width-third, .width-two-thirds),
275
+ .page-section:first-child.width-third + .page-section.width-third + .page-section.width-third,
276
+ .page-section:first-child.width-two-thirds + .page-section.width-third {
277
+ border-top: none;
278
+ padding-top: 0;
279
+ }
280
+ }
281
+
282
+ /* A section heading carries a tab's weight and none of its furniture.
283
+
284
+ Drawing it as a chip did make it legible — it had been a faint grey line
285
+ beside content that was not — but a page then had a box round every
286
+ heading on it, and boxes are what the sections deliberately do not have.
287
+ The weight and the colour are what were missing; the border was not. */
288
+ .page-section-head {
289
+ display: inline-flex;
290
+ align-items: center;
291
+ gap: var(--space-2h);
292
+ margin: 0 0 var(--space-3h);
293
+ font: 600 var(--text-xs) var(--mono);
294
+ text-transform: uppercase;
295
+ letter-spacing: 0.07em;
296
+ color: var(--ink);
297
+ }
298
+ /* An embedded view's heading opens its room: the heading's own ink, the underline on hover saying it goes somewhere. */
299
+ .page-section-link {
300
+ color: inherit;
301
+ text-decoration: none;
302
+ }
303
+ .page-section-link:hover {
304
+ text-decoration: underline;
305
+ text-underline-offset: 3px;
306
+ }
307
+ .page-section-link:focus-visible {
308
+ outline: var(--focus-width) solid var(--focus);
309
+ outline-offset: 2px;
310
+ }
311
+
312
+ /* A section that could not run says so in its own place, and the page keeps
313
+ its shape around it. A page is most useful on the day something is
314
+ misconfigured, which is the day an error instead of a page is worst.
315
+ Its heading and rule stay the section's: the problem note under them
316
+ (Notes.tsx) carries the warn mark, and a red title over it said the same
317
+ thing twice, louder than anything else on the page. */
318
+ .page-broken > .problem {
319
+ padding-bottom: 0;
320
+ }
321
+
322
+ /* ---------- fields ---------- */
323
+
324
+ /* Label above value, not beside it.
325
+
326
+ Beside it, a fixed label column put two hundred pixels between `code` and
327
+ `NZ` — and with three pairs to a row, the eye had to work out which value
328
+ belonged to which label on every line. That is what makes a record read as
329
+ jumbled: not the amount of data, the distance between a thing and its name.
330
+
331
+ Stacked, each pair is one object. The label is small and quiet because it
332
+ is the same on every record; the value is what you came to read. */
333
+ /* The label and its value belong together and the next pair does not, and
334
+ the spacing is the only thing that can say so. Twenty-seven fields with
335
+ every line the same distance from the next is a wall of text; what fixes
336
+ it is the ratio — 2px under a label, 14px to the next row — not a large
337
+ row gap, which only spreads a record down the screen. */
338
+ .page-field-grid {
339
+ /* A <dl> (its fields are terms and values): not the list's own margins. */
340
+ display: grid;
341
+ margin: 0;
342
+ gap: var(--space-4h) 28px;
343
+ grid-template-columns: var(--page-field-columns, repeat(auto-fit, minmax(min(100%, var(--page-field-min, 16rem)), 1fr)));
344
+ /* Full-width rooms, capped measures: on an ultrawide the auto-fit grid
345
+ became one fourteen-column strip nobody can scan. The grid stops
346
+ growing at a readable measure and stays on the shared left edge; the
347
+ room keeps its width, the content keeps its shape. */
348
+ max-width: 100rem;
349
+ }
350
+ @media (max-width: 600px) {
351
+ .page-field-grid {
352
+ grid-template-columns: minmax(0, 1fr);
353
+ }
354
+ }
355
+ /* Where some values open for editing, their text sits inside the edit box's
356
+ edge and padding; a value that cannot be edited — an id — takes the same
357
+ step down, or it stood a line of its own above the row's other values. */
358
+ .page-field-grid:has(.edit-field-surface) > .page-field > dd:not(:has(> .edit-field-surface)) {
359
+ padding-top: 5px;
360
+ }
361
+ /* A folded group of fields.
362
+
363
+ `<details>` rather than a button and a class, because the browser already
364
+ knows how to open and close one, and the state lives on the element instead
365
+ of in a variable something else has to keep in step. The marker is replaced
366
+ with a chevron that turns, so the heading reads the same folded or not. */
367
+ .page-fold > summary {
368
+ cursor: pointer;
369
+ /* inline-flex, so the chip is the width of its name rather than the width
370
+ of the page — a full-width bar reads as a rule, not a label. */
371
+ display: inline-flex;
372
+ align-items: center;
373
+ gap: var(--space-2h);
374
+ list-style: none;
375
+ user-select: none;
376
+ }
377
+ /* A shut group is still legible and no longer the thing in front. */
378
+ .page-fold:not([open]) > summary {
379
+ color: var(--ink-muted);
380
+ }
381
+ .page-fold > summary::-webkit-details-marker {
382
+ display: none;
383
+ }
384
+ /* The chevron is drawn, not set: the '›' glyph was 3px wide in a look's sans,
385
+ and turned open it read as a stray dash before the heading. */
386
+ .page-fold > summary::before {
387
+ content: '';
388
+ flex: none;
389
+ width: 5px;
390
+ height: 5px;
391
+ margin-inline: 1px var(--space-1);
392
+ border: solid var(--ink-subtle);
393
+ border-width: 0 1.5px 1.5px 0;
394
+ transform: rotate(-45deg);
395
+ }
396
+ @media (prefers-reduced-motion: no-preference) {
397
+ .page-fold > summary::before {
398
+ transition: transform var(--t-hover) var(--ease-out);
399
+ }
400
+ }
401
+ .page-fold[open] > summary::before {
402
+ transform: translateY(-2px) rotate(45deg);
403
+ }
404
+ .page-fold > summary:focus-visible {
405
+ outline: var(--focus-width) solid var(--focus);
406
+ outline-offset: 2px;
407
+ border-radius: min(3px, var(--radius));
408
+ }
409
+ .page-fold > .page-field-grid {
410
+ margin-top: var(--space-3h);
411
+ }
412
+
413
+ .page-field {
414
+ display: flex;
415
+ flex-direction: column;
416
+ gap: var(--space-1);
417
+ min-width: 0;
418
+ }
419
+ /* An editable field is the same field with a box round the value, so a page
420
+ in write mode reads as the page it already was rather than as a form. */
421
+ .page-field-edit .cell-edit {
422
+ width: 100%;
423
+ min-width: 0;
424
+ padding: 5px var(--space-3);
425
+ min-height: 32px;
426
+ font: var(--text-base) var(--sans);
427
+ font-variant-numeric: tabular-nums;
428
+ color: var(--ink);
429
+ background: var(--surface);
430
+ border: 1px solid var(--line-control);
431
+ border-radius: min(2px, var(--radius));
432
+ }
433
+ .page-field-edit .cell-edit:focus-visible {
434
+ outline: var(--focus-width) solid var(--focus);
435
+ outline-offset: -1px;
436
+ }
437
+ .page-field-edit .cell-edit.dirty {
438
+ border-color: var(--status-warning);
439
+ background: var(--status-warning-soft, var(--raised));
440
+ }
441
+ .page-pending {
442
+ flex: 1 0 100%;
443
+ }
444
+ /* A label has to be readable before it can be quiet.
445
+
446
+ Uppercase at ten pixels in the faintest colour on the page was a caption
447
+ of a caption: the value under it was legible and the name of the value was
448
+ not, which is the wrong way round on a screen whose whole job is saying
449
+ what the numbers are. One step darker and half a pixel larger buys that
450
+ back; weight does not — thirty bold labels on a screen compete with the
451
+ thirty values they are labelling, which is the same problem the other way
452
+ round. The record view's labels have always been dimmed text at regular
453
+ weight and they read fine. */
454
+ .page-field > dt {
455
+ font: calc(10.5px * var(--type-k)) var(--mono);
456
+ text-transform: uppercase;
457
+ letter-spacing: 0.05em;
458
+ color: var(--ink-muted);
459
+ overflow: hidden;
460
+ text-overflow: ellipsis;
461
+ white-space: nowrap;
462
+ }
463
+ .page-field > dd {
464
+ margin: 0;
465
+ font: var(--text-base) var(--mono);
466
+ color: var(--ink);
467
+ overflow: hidden;
468
+ text-overflow: ellipsis;
469
+ white-space: nowrap;
470
+ }
471
+ .page-field > dd.null {
472
+ color: var(--ink-subtle);
473
+ font-style: italic;
474
+ }
475
+
476
+ /* ---------- metrics ---------- */
477
+
478
+ /* A metric is as wide as its number, and metrics sit in one strip.
479
+
480
+ Widths are declared per section, and for a list that is right — but a
481
+ two-digit count stretched to a third of the page is four inches of nothing,
482
+ and two of them read as a layout that failed rather than as a summary. They
483
+ take the space they need and the row fills left to right.
484
+
485
+ `full` stays the exception, for someone who wants a number on its own. */
486
+ .page-section.page-metric {
487
+ flex: 0 1 auto;
488
+ min-width: 7rem;
489
+ border-top: none;
490
+ padding-top: 0;
491
+ padding-right: var(--space-7);
492
+ }
493
+ .page-section.page-metric.width-full {
494
+ flex: 1 1 100%;
495
+ }
496
+ /* A hairline between counts rather than a box around each: the run reads as
497
+ one strip of related numbers, which is what it is. */
498
+ .page-metric + .page-metric {
499
+ border-left: 1px solid var(--line);
500
+ padding-left: var(--space-7);
501
+ }
502
+ .page-metric .page-section-head {
503
+ margin-bottom: var(--space-1h);
504
+ }
505
+
506
+ .page-metric-value {
507
+ display: flex;
508
+ align-items: baseline;
509
+ gap: var(--space-3);
510
+ width: 100%;
511
+ padding: 0;
512
+ text-align: left;
513
+ background: none;
514
+ border: none;
515
+ cursor: pointer;
516
+ color: var(--ink);
517
+ }
518
+ .metric-number {
519
+ font: 600 calc(26px * var(--type-k)) var(--mono);
520
+ letter-spacing: -0.02em;
521
+ font-variant-numeric: tabular-nums;
522
+ }
523
+ .metric-of {
524
+ font: var(--text-xs) var(--mono);
525
+ color: var(--ink-subtle);
526
+ }
527
+ .page-metric-value:hover .metric-number {
528
+ color: var(--accent-ink);
529
+ }
530
+ .page-metric-value:focus-visible {
531
+ outline: var(--focus-width) solid var(--focus);
532
+ outline-offset: 3px;
533
+ border-radius: min(4px, var(--radius));
534
+ }
535
+
536
+ /* ---------- breakdown sections: label, bar, count ----------
537
+ `pbd-`, not `pb-`: the page *builder* owns the pb- namespace below, and
538
+ sharing it dressed these rows in the dialog's label styles. */
539
+
540
+ /* Same rule as the field grid: a bar that spans an ultrawide puts the
541
+ count a monitor away from its label. */
542
+ /* The rows share one set of tracks (subgrid), so every bar ends on one
543
+ line whatever the width of its count, and the label gets room before the
544
+ bar does. */
545
+ .page-breakdown-rows {
546
+ display: grid;
547
+ grid-template-columns: minmax(64px, max-content) 1fr auto;
548
+ row-gap: 5px;
549
+ max-width: 46rem;
550
+ container-type: inline-size;
551
+ }
552
+ /* In a column too narrow for label, bar and count side by side (a third of a desk, a phone) the bar was left a
553
+ 2px sliver: the bar goes under its label, full width, the count staying at the label's line end. */
554
+ @container (max-width: 18rem) {
555
+ .pbd-row {
556
+ grid-template-columns: minmax(0, 1fr) auto;
557
+ row-gap: var(--space-2);
558
+ }
559
+ .pbd-row > .pbd-label {
560
+ max-width: none;
561
+ }
562
+ .pbd-row > .pbd-bar {
563
+ grid-row: 2;
564
+ grid-column: 1 / -1;
565
+ }
566
+ .pbd-row > .pbd-count {
567
+ grid-row: 1;
568
+ grid-column: 2;
569
+ }
570
+ }
571
+ .page-breakdown-rows > * {
572
+ grid-column: 1 / -1;
573
+ }
574
+ .pbd-label {
575
+ max-width: 14rem;
576
+ }
577
+ .pbd-row {
578
+ display: grid;
579
+ grid-template-columns: subgrid;
580
+ gap: var(--space-3h);
581
+ align-items: center;
582
+ font: var(--text-sm) var(--mono);
583
+ }
584
+ .pbd-label {
585
+ color: var(--ink);
586
+ overflow: hidden;
587
+ text-overflow: ellipsis;
588
+ white-space: nowrap;
589
+ }
590
+ .pbd-bar {
591
+ height: 8px;
592
+ background: var(--raised);
593
+ border-radius: min(2px, var(--radius));
594
+ overflow: hidden;
595
+ }
596
+ .pbd-fill {
597
+ display: block;
598
+ height: 100%;
599
+ background: var(--accent-soft);
600
+ border-right: 2px solid var(--accent);
601
+ }
602
+ /* A group of a column that colors its values wears the color, as a chart's bar does (Dashboard.tsx, G209). */
603
+ .pbd-fill.is-toned {
604
+ background: color-mix(in srgb, var(--bar-ink) 40%, var(--surface));
605
+ border-right-color: var(--bar-ink);
606
+ }
607
+ .pbd-count {
608
+ color: var(--ink-muted);
609
+ font-variant-numeric: tabular-nums;
610
+ text-align: right;
611
+ }
612
+ .pbd-more {
613
+ margin: var(--space-1) 0 0;
614
+ font-size: var(--text-xs);
615
+ }
616
+
617
+ /* The record the page is about: the pill that names it, and — clicked —
618
+ the way back to the list to pick another. The chooser that used to live
619
+ here (filter boxes, candidate hits, a recents menu) went: the list
620
+ itself is the chooser now, and its styles live with the list. */
621
+ .root-bar {
622
+ display: flex;
623
+ align-items: center;
624
+ gap: var(--space-3);
625
+ flex-wrap: wrap;
626
+ }
627
+
628
+ /* The record's name, as the heading it is. */
629
+ .root-current {
630
+ display: inline-flex;
631
+ align-items: center;
632
+ gap: var(--space-3);
633
+ max-width: 100%;
634
+ margin: 0;
635
+ font: 600 var(--text-xl) var(--sans);
636
+ letter-spacing: 0;
637
+ color: var(--ink);
638
+ }
639
+ /* With a record rooted, the page's name steps back to an eyebrow over it:
640
+ "LEAD" small and dim, "Margot Fontaine" large — what you are looking at,
641
+ then how you are reading it. Without a record the page name stays the
642
+ heading, because then it is the room. */
643
+ .page-head.has-record .page-title,
644
+ .page-head.has-record .page-title-pick .dd-value {
645
+ font: 500 var(--text-xs) var(--mono);
646
+ text-transform: uppercase;
647
+ letter-spacing: 0.06em;
648
+ color: var(--ink-muted);
649
+ }
650
+ .page-head.has-record .page-head-top {
651
+ margin-bottom: var(--space-2);
652
+ }
653
+ /* The eyebrow does not sit on the trail's rule above it: a step of the title's size (20px, four fifths), so the
654
+ two read as two things. A room that draws the head without a trail over it (a dialog) takes it back. */
655
+ .page-head.has-record {
656
+ margin-top: var(--space-5);
657
+ }
658
+ .page-group-empty {
659
+ margin: var(--space-2) 0 0;
660
+ font: var(--text-base) var(--mono);
661
+ color: var(--ink-muted);
662
+ }
663
+ /* The record's toolbar: its usual next step filled, a few more quiet, and
664
+ the rest — Delete last — in More. One height, so filled and quiet sit on
665
+ one line. */
666
+ .page-action {
667
+ font-size: var(--text-sm);
668
+ padding: var(--space-2) var(--space-4);
669
+ min-height: 30px;
670
+ }
671
+ button.ghost.page-action {
672
+ color: var(--ink);
673
+ border-color: var(--line);
674
+ }
675
+ button.ghost.page-action:hover:not(:disabled) {
676
+ border-color: var(--line-strong);
677
+ }
678
+ .page-action[hidden] {
679
+ display: none;
680
+ }
681
+ /* The host the action bar is drawn into: no box of its own, so its buttons
682
+ sit in the head's row like the Delete beside them. */
683
+ .page-actions {
684
+ display: contents;
685
+ }
686
+ /* The toolbar shares the title's row, at its far end, on a wide screen;
687
+ on a phone it is a row of its own under the name, starting where the
688
+ name starts, instead of splitting across two lines. A record's head is
689
+ two columns for it: the name, with its eyebrow over it, wraps inside the
690
+ first however long it is, and the toolbar keeps the second. It was one
691
+ wrapping row, and a long name — or a display-sized one in a book face —
692
+ pushed the toolbar under it at 1280px in every look. */
693
+ .page-head-actions {
694
+ display: flex;
695
+ align-items: center;
696
+ gap: var(--space-3);
697
+ margin-left: auto;
698
+ flex-wrap: wrap;
699
+ justify-content: flex-end;
700
+ }
701
+ /* The name's column keeps a floor: with four verbs beside a record trail, an
702
+ unfloored name was squeezed a few letters wide ("KL-20001 / 2 · / Joshu /
703
+ a"), and the verbs wrap in their own column instead. */
704
+ .page-head.has-record {
705
+ display: grid;
706
+ grid-template-columns: minmax(min(100%, 24rem), 1fr) auto;
707
+ align-items: center;
708
+ }
709
+ .page-head.has-record > * {
710
+ grid-column: 1 / -1;
711
+ }
712
+ .page-head.has-record > .root-bar {
713
+ grid-column: 1;
714
+ flex-wrap: nowrap;
715
+ min-width: 0;
716
+ }
717
+ .page-head.has-record > .page-head-actions {
718
+ grid-column: 2;
719
+ margin-left: var(--space-6);
720
+ }
721
+ .page-head.has-record .root-bar > .root-current {
722
+ flex: 0 1 auto;
723
+ min-width: 0;
724
+ }
725
+ .page-head.has-record .root-bar > .fav-star {
726
+ flex: none;
727
+ }
728
+ /* On a phone, and in a room as narrow (a peek, a split's detail), a long name
729
+ wraps its own words and the star stays beside it, instead of dropping to a
730
+ line of its own under the title; the toolbar takes the row under both. */
731
+ @media (max-width: 600px) {
732
+ .page-head.has-record > :is(.root-bar, .page-head-actions) {
733
+ grid-column: 1 / -1;
734
+ }
735
+ .page-head.has-record > .root-bar {
736
+ flex-wrap: wrap;
737
+ }
738
+ .page-head.has-record .root-bar > .record-trail {
739
+ flex-basis: 100%;
740
+ justify-content: flex-end;
741
+ }
742
+ .page-head.has-record > .page-head-actions {
743
+ margin-left: 0;
744
+ justify-content: flex-start;
745
+ }
746
+ .page-head.has-record .root-bar > .root-current {
747
+ flex: 1 1 0;
748
+ }
749
+ .page-head.has-record .root-bar > .fav-star {
750
+ align-self: flex-start;
751
+ }
752
+ }
753
+ @container record-host (max-width: 600px) {
754
+ .page-head.has-record > :is(.root-bar, .page-head-actions) {
755
+ grid-column: 1 / -1;
756
+ }
757
+ .page-head.has-record > .root-bar {
758
+ flex-wrap: wrap;
759
+ }
760
+ .page-head.has-record .root-bar > .root-current {
761
+ flex: 1 1 0;
762
+ }
763
+ .page-head.has-record .root-bar > .record-trail {
764
+ flex-basis: 100%;
765
+ justify-content: flex-end;
766
+ }
767
+ .page-head.has-record > .page-head-actions {
768
+ margin-left: 0;
769
+ justify-content: flex-start;
770
+ }
771
+ }
772
+ /* The name is one line, cut short with an ellipsis where the column ends: a name that wrapped beside the verbs
773
+ pushed the facts down and read as a paragraph. The whole name is its title and the crumb's. */
774
+ .root-current > span:first-child {
775
+ min-width: 0;
776
+ overflow: hidden;
777
+ text-overflow: ellipsis;
778
+ white-space: nowrap;
779
+ }
780
+ .page-head.has-record .root-bar > .root-current {
781
+ overflow: hidden;
782
+ }
783
+ /* A record header (useRecordHeader in PageHead.tsx): its status is a chip beside the name, in
784
+ the tone's own dress, and its facts are the line under the name, in the
785
+ name's column, quieter than the name and no louder than the fields. On a
786
+ phone the status takes the line under the name and the facts the next,
787
+ above the toolbar's own row. */
788
+ .page-head-status {
789
+ flex: none;
790
+ display: inline-flex;
791
+ align-items: center;
792
+ margin-inline-start: var(--space-2);
793
+ font-size: var(--text-md);
794
+ }
795
+ .page-head.has-record > .page-head-facts {
796
+ grid-column: 1;
797
+ margin-top: var(--space-2h);
798
+ font-weight: 400;
799
+ font-size: calc(15px * var(--type-k));
800
+ }
801
+ /* A header's facts are captioned values, as the fields under them are — "Close date" over "Dec 11, 2026" — in a
802
+ row with room between, never a sentence of links: a reference says its name in the ink, and is a link only to
803
+ the pointer. A fact the author gave a word ("3 beds") is its own caption and stands on the row's baseline. */
804
+ .page-head-facts {
805
+ align-items: flex-end;
806
+ gap: var(--space-3h) var(--space-7);
807
+ margin-top: var(--space-4h);
808
+ }
809
+ .page-head.has-record > .page-head-facts {
810
+ margin-top: var(--space-4h);
811
+ font-size: var(--text-md);
812
+ }
813
+ .page-head-facts > .page-fact::before {
814
+ content: none;
815
+ }
816
+ .page-head-facts > .page-fact:has(> .page-fact-caption) {
817
+ flex-direction: column;
818
+ align-items: flex-start;
819
+ gap: var(--space-1);
820
+ min-width: 0;
821
+ }
822
+ .page-fact-caption {
823
+ font: 500 var(--text-sm)/1.4 var(--sans);
824
+ color: var(--ink-muted);
825
+ white-space: nowrap;
826
+ }
827
+ .page-head-facts :is(.ref-jump, .value-link) {
828
+ color: var(--ink);
829
+ text-decoration: none;
830
+ }
831
+ .page-head-facts :is(.ref-jump, .value-link):hover {
832
+ color: var(--link);
833
+ text-decoration: underline;
834
+ text-underline-offset: 3px;
835
+ }
836
+ .page-head-facts .num-value {
837
+ font-variant-numeric: tabular-nums;
838
+ }
839
+ @media (max-width: 600px) {
840
+ .page-head.has-record .root-bar > .page-head-status {
841
+ flex-basis: 100%;
842
+ margin-inline-start: 0;
843
+ }
844
+ .page-head.has-record > .page-head-facts {
845
+ grid-column: 1 / -1;
846
+ order: -1;
847
+ }
848
+ .page-head.has-record > :is(.page-head-top, .root-bar) {
849
+ order: -2;
850
+ }
851
+ }
852
+ /* On a phone a record room's verbs are a bar at the foot of the screen, where a thumb is: under a long page they
853
+ were a scroll away from the record they act on. The page keeps the dock's clearance under its last section
854
+ (style.css), and the pending dock, when it is up, stands over the bar. */
855
+ @media (max-width: 600px) {
856
+ body.app-mode .page-head.has-record.is-room > .page-head-actions {
857
+ position: fixed;
858
+ z-index: 40;
859
+ inset-inline: 0;
860
+ bottom: 0;
861
+ margin: 0;
862
+ padding: var(--space-3h) var(--space-5) calc(10px + env(safe-area-inset-bottom, 0px));
863
+ justify-content: flex-end;
864
+ /* One row as a rule (a phone keeps one button, Actions.tsx); a verb and the menu too wide together at 320px
865
+ under a large base and roomy spacing take a second row rather than run off the screen's left edge. */
866
+ flex-wrap: wrap;
867
+ background: var(--surface);
868
+ border-top: 1px solid var(--line);
869
+ }
870
+ }
871
+ @container record-host (max-width: 600px) {
872
+ .page-head.has-record .root-bar > .page-head-status {
873
+ flex-basis: 100%;
874
+ margin-inline-start: 0;
875
+ }
876
+ .page-head.has-record > .page-head-facts {
877
+ grid-column: 1 / -1;
878
+ order: -1;
879
+ }
880
+ .page-head.has-record > :is(.page-head-top, .root-bar) {
881
+ order: -2;
882
+ }
883
+ }
884
+ /* The record's name, when it can be changed where it is said: the heading's
885
+ own type, not a form control's. */
886
+ .root-current .inline-edit-value {
887
+ font: inherit;
888
+ color: inherit;
889
+ letter-spacing: inherit;
890
+ min-height: 0;
891
+ padding: 0;
892
+ width: auto;
893
+ }
894
+ /* Where a pointer can hover, the heading's own hover frame and focus ring say it
895
+ can be changed; a pencil held invisible beside it only pushed the star away
896
+ from the name. On touch the dim pencil stays, as the only sign (features.css). */
897
+ @media (hover: hover) {
898
+ .root-current .inline-edit-value::after {
899
+ content: none;
900
+ }
901
+ }
902
+ /* The heading's closed value has no padding and no minimum (above); an input with the control's 4px and 32px floor
903
+ was 8px taller than the name it replaced, and the page moved under the cursor. */
904
+ .root-current .inline-field-open .cell-edit {
905
+ font: inherit;
906
+ min-height: 0;
907
+ padding-block: 0;
908
+ }
909
+
910
+ .page-empty {
911
+ margin: var(--space-2) 0 0;
912
+ }
913
+
914
+ /* The strip a run of metrics sits in: one item on the page, several inside
915
+ it, so the page gets one seam after it rather than two.
916
+
917
+ The hairline between two metrics sits in the middle of the gap, drawn by
918
+ the second, and the strip clips at its own left edge: a metric that wraps
919
+ to the start of a line has its hairline outside the strip, so it starts
920
+ where the first did. As a padded left border, a third metric on a line of
921
+ its own (a narrow main column, a phone) stood indented behind a rule
922
+ that divided it from nothing. 4px past the edge is kept for a focus ring. */
923
+ .page-metric-row {
924
+ --metric-gap: 64px;
925
+ flex: 1 0 100%;
926
+ display: flex;
927
+ flex-wrap: wrap;
928
+ align-items: stretch;
929
+ gap: 20px var(--metric-gap);
930
+ clip-path: inset(-100vmax -100vmax -100vmax -4px);
931
+ }
932
+ .page-metric-row > .page-section.page-metric {
933
+ position: relative;
934
+ padding-inline: 0;
935
+ border-left: none;
936
+ }
937
+ .page-metric-row > .page-metric + .page-metric::before {
938
+ content: '';
939
+ position: absolute;
940
+ inset-block: 0;
941
+ left: calc(var(--metric-gap) / -2);
942
+ border-left: 1px solid var(--line);
943
+ }
944
+ /* Metrics that share the line evenly are told apart by the gap alone. */
945
+ .page-metric-row:has(> .page-metric.width-auto) {
946
+ --metric-gap: 28px;
947
+ }
948
+ .page-metric-row > .page-metric.width-auto {
949
+ flex: 1 1 10rem;
950
+ }
951
+ .page-metric-row > .page-metric.width-auto::before {
952
+ content: none;
953
+ }
954
+
955
+ /* Related lists as tabs.
956
+
957
+ The strip carries the hairline the sections it replaced each carried, and
958
+ the selected tab sits on it — the border under the strip and the border of
959
+ the tab are the same line, which is what makes a tab read as being in
960
+ front of the page rather than beside it.
961
+
962
+ The strip scrolls sideways only. `overflow-x: auto` alone makes the other
963
+ axis auto too, and a pixel of a tab's mark past the strip's padding box
964
+ then made it a vertical scroller of its own: a wheel over the tabs latched
965
+ onto that one pixel and the record never moved (Chromium latches a wheel
966
+ gesture to the first box that can scroll it). */
967
+ .page-tabs {
968
+ flex: 1 0 100%;
969
+ min-width: 0;
970
+ }
971
+ .page-tabstrip {
972
+ display: flex;
973
+ flex-wrap: nowrap;
974
+ gap: var(--space-1);
975
+ overflow-x: auto;
976
+ overflow-y: hidden;
977
+ scrollbar-width: none;
978
+ border-top: 1px solid var(--line);
979
+ padding-top: var(--space-3);
980
+ margin-bottom: var(--space-1);
981
+ }
982
+ .page-tabstrip::-webkit-scrollbar {
983
+ display: none;
984
+ }
985
+ /* Square, like everything else that holds data here: the grid, the query
986
+ bar and the tables under these tabs are all straight-edged, and a rounded
987
+ tab was the one soft corner on a screen full of hard ones. */
988
+ .page-tab {
989
+ flex: 0 0 auto;
990
+ white-space: nowrap;
991
+ appearance: none;
992
+ background: none;
993
+ cursor: pointer;
994
+ border: 1px solid transparent;
995
+ border-bottom: none;
996
+ border-radius: 0;
997
+ padding: 5px 11px var(--space-2h);
998
+ /* 24px at the least (WCAG 2.5.8): a look's small caps left a phone's tab at 21. */
999
+ min-height: 24px;
1000
+ font: 600 calc(10px * var(--type-k)) var(--mono);
1001
+ text-transform: uppercase;
1002
+ letter-spacing: 0.07em;
1003
+ color: var(--ink-subtle);
1004
+ }
1005
+ .page-tab:hover {
1006
+ color: var(--ink);
1007
+ background: var(--raised);
1008
+ }
1009
+ .page-tab[aria-selected='true'] {
1010
+ color: var(--ink);
1011
+ background: var(--raised);
1012
+ border-color: var(--line);
1013
+ }
1014
+ .page-tab:focus-visible {
1015
+ outline: var(--focus-width) solid var(--focus);
1016
+ outline-offset: -2px;
1017
+ }
1018
+ /* Visited panels share one grid cell: a shorter/empty tab cannot collapse
1019
+ the page and clamp its scroll position. Unopened tabs still fetch nothing.
1020
+ Hidden panels contribute geometry only, never focus, pointer or AT content.
1021
+ Natural CSS sizing also follows density, wrapping and viewport changes.
1022
+ A small floor holds the loading rows even when the first list is empty. */
1023
+ .page-tabpanels {
1024
+ display: grid;
1025
+ grid-template-columns: minmax(0, 1fr);
1026
+ min-height: 12rem;
1027
+ }
1028
+ .page-tabpanel {
1029
+ grid-area: 1 / 1;
1030
+ min-width: 0;
1031
+ align-self: start;
1032
+ }
1033
+ .page-tabpanel[hidden] {
1034
+ display: block;
1035
+ visibility: hidden;
1036
+ pointer-events: none;
1037
+ }
1038
+ /* The loading rows stand inside that floor: a look's taller placeholder rows and the grid's foot under them
1039
+ stood 8.5px past it, and the strip grew while a tab loaded. The table that replaces them has no foot. */
1040
+ .page-tabpanel .sk-grid {
1041
+ padding-bottom: 0;
1042
+ }
1043
+ /* The panel's own section has already drawn the line above it; inside a tab
1044
+ strip that line is the strip's, and drawing it twice boxes the table. */
1045
+ .page-tabpanel > .page-section {
1046
+ border-top: none;
1047
+ padding-top: var(--space-2);
1048
+ }
1049
+ .page-tabpanel > .page-section > .page-section-head {
1050
+ display: none;
1051
+ }
1052
+ .page-tabpanel:focus-visible {
1053
+ outline: var(--focus-width) solid var(--focus);
1054
+ outline-offset: 2px;
1055
+ }
1056
+ /* A record's sections as tabs (`tab` on a section). A panel is sections
1057
+ again, laid out as the page lays them out — the 40px seam between rows,
1058
+ each section's heading and its rule — so the strip draws no rule of its
1059
+ own: the sections under it carry theirs, and one drawn above the tabs as
1060
+ well would box the strip between two lines. */
1061
+ .page-tabs-sections > .page-tabstrip {
1062
+ border-top: 0;
1063
+ padding-top: 0;
1064
+ }
1065
+ .page-tab-sections {
1066
+ display: flex;
1067
+ flex-wrap: wrap;
1068
+ align-items: flex-start;
1069
+ column-gap: var(--space-7);
1070
+ row-gap: var(--page-row-gap, var(--section-seam));
1071
+ padding-top: var(--space-4);
1072
+ }
1073
+
1074
+ .pb-tabs-toggle {
1075
+ display: flex;
1076
+ align-items: center;
1077
+ gap: var(--space-2);
1078
+ flex: none;
1079
+ font: var(--text-xs) var(--mono);
1080
+ color: var(--ink-muted);
1081
+ cursor: pointer;
1082
+ white-space: nowrap;
1083
+ }
1084
+ .pb-tabs-toggle input {
1085
+ margin: 0;
1086
+ }
1087
+
1088
+ .pb-backdrop {
1089
+ position: fixed;
1090
+ inset: 0;
1091
+ z-index: 85;
1092
+ background: var(--scrim);
1093
+ }
1094
+ .pb {
1095
+ position: fixed;
1096
+ top: 6vh;
1097
+ left: 50%;
1098
+ z-index: 85;
1099
+ transform: translateX(-50%);
1100
+ display: flex;
1101
+ flex-direction: column;
1102
+ gap: var(--space-4);
1103
+ width: min(58rem, calc(100% - 32px));
1104
+ max-height: 86vh;
1105
+ padding: var(--space-5) var(--space-5);
1106
+ background: var(--surface);
1107
+ border: 1px solid var(--line-strong);
1108
+ border-radius: var(--radius-dialog);
1109
+ box-shadow: var(--shadow-modal);
1110
+ }
1111
+ :where(:root:not([data-visual-theme])) .pb {
1112
+ border-radius: 12px;
1113
+ }
1114
+ .pb-head {
1115
+ display: flex;
1116
+ align-items: baseline;
1117
+ gap: var(--space-3h);
1118
+ }
1119
+ .pb-title {
1120
+ margin: 0;
1121
+ font: 600 calc(15px * var(--type-k)) var(--mono);
1122
+ }
1123
+ .pb-base {
1124
+ font: var(--text-xs) var(--mono);
1125
+ color: var(--ink-subtle);
1126
+ }
1127
+ .pb-close {
1128
+ margin-left: auto;
1129
+ font-size: calc(15px * var(--type-k));
1130
+ line-height: 1;
1131
+ padding: var(--space-1) var(--space-3);
1132
+ }
1133
+ .pb-error {
1134
+ margin: 0;
1135
+ padding: var(--space-3) var(--space-3h);
1136
+ border-left: 3px solid var(--status-critical);
1137
+ background: color-mix(in srgb, var(--status-critical) 7%, var(--surface));
1138
+ color: var(--status-critical);
1139
+ font: var(--text-sm) var(--mono);
1140
+ overflow-wrap: anywhere;
1141
+ }
1142
+ .pb-error:focus {
1143
+ outline: 2px solid var(--status-critical);
1144
+ outline-offset: 2px;
1145
+ }
1146
+ .pb-status {
1147
+ min-width: 5rem;
1148
+ font: var(--text-xs) var(--mono);
1149
+ color: var(--ink-muted);
1150
+ }
1151
+ .pb-recovery {
1152
+ border-block: 1px solid var(--line);
1153
+ padding-block: var(--space-3h);
1154
+ font: var(--text-sm) var(--sans);
1155
+ }
1156
+ .pb-recovery p {
1157
+ margin: 0 0 var(--space-3);
1158
+ overflow-wrap: anywhere;
1159
+ }
1160
+ .pb-recovery time {
1161
+ color: var(--ink-muted);
1162
+ margin-left: var(--space-3);
1163
+ }
1164
+ .pb-recovery button {
1165
+ margin: 0 var(--space-2h) var(--space-2) 0;
1166
+ }
1167
+ .pb button:disabled {
1168
+ opacity: 0.5;
1169
+ cursor: default;
1170
+ }
1171
+ .pb > [inert] {
1172
+ opacity: 0.65;
1173
+ }
1174
+ .pb-recovery-status {
1175
+ margin: 0;
1176
+ font: var(--text-xs) var(--sans);
1177
+ color: var(--ink-muted);
1178
+ }
1179
+ .page-preview.modal {
1180
+ width: 1400px;
1181
+ max-width: calc(100% - 24px);
1182
+ height: 90%;
1183
+ padding: var(--space-4h);
1184
+ display: flex;
1185
+ flex-direction: column;
1186
+ gap: var(--space-4);
1187
+ border: 1px solid var(--line-strong);
1188
+ border-radius: var(--radius-dialog);
1189
+ background: var(--surface);
1190
+ color: var(--ink);
1191
+ }
1192
+ :where(:root:not([data-visual-theme])) .page-preview.modal {
1193
+ border-radius: 6px;
1194
+ }
1195
+ .page-preview-head {
1196
+ display: flex;
1197
+ align-items: center;
1198
+ gap: var(--space-4);
1199
+ flex-wrap: wrap;
1200
+ flex: none;
1201
+ }
1202
+ .page-preview-head h2 {
1203
+ margin: 0;
1204
+ font: 600 calc(15px * var(--type-k)) var(--sans);
1205
+ }
1206
+ .page-preview-head > button {
1207
+ margin-left: auto;
1208
+ }
1209
+ .page-preview-modes {
1210
+ display: flex;
1211
+ border: 1px solid var(--line);
1212
+ border-radius: min(4px, var(--radius));
1213
+ }
1214
+ .page-preview-modes button {
1215
+ border: 0;
1216
+ border-radius: min(2px, var(--radius));
1217
+ }
1218
+ .page-preview-modes [aria-pressed='true'] {
1219
+ background: var(--accent-soft);
1220
+ color: var(--accent-ink);
1221
+ }
1222
+ .page-preview-scroll {
1223
+ flex: 1;
1224
+ min-height: 0;
1225
+ overflow: auto;
1226
+ background: var(--raised);
1227
+ }
1228
+ .page-preview-frame {
1229
+ display: block;
1230
+ height: 100%;
1231
+ max-width: none;
1232
+ border: 0;
1233
+ margin-inline: auto;
1234
+ background: var(--surface);
1235
+ }
1236
+ .pb[aria-busy='true'] .pb-head button,
1237
+ .pb[aria-busy='true'] .pb-foot button {
1238
+ opacity: 0.55;
1239
+ cursor: wait;
1240
+ }
1241
+
1242
+ .pb-label {
1243
+ font: var(--text-xs) var(--mono);
1244
+ text-transform: uppercase;
1245
+ letter-spacing: 0.06em;
1246
+ color: var(--ink-subtle);
1247
+ flex: none;
1248
+ }
1249
+ .pb-name-row {
1250
+ display: flex;
1251
+ align-items: center;
1252
+ gap: var(--space-3h);
1253
+ }
1254
+ .pb-input {
1255
+ flex: 1 1 auto;
1256
+ min-width: 0;
1257
+ padding: var(--space-2) var(--space-3h);
1258
+ font: var(--text-sm) var(--mono);
1259
+ background: var(--surface);
1260
+ color: var(--ink);
1261
+ border: 1px solid var(--line-control);
1262
+ border-radius: var(--radius);
1263
+ }
1264
+ .pb-input:focus {
1265
+ outline: none;
1266
+ border-color: var(--focus);
1267
+ }
1268
+ .pb-limit {
1269
+ flex: 0 0 5rem;
1270
+ }
1271
+ .pb-width {
1272
+ flex: none;
1273
+ }
1274
+ .page-field .cell-edit-control .picker-input {
1275
+ font: var(--text-base) var(--sans);
1276
+ border-radius: 0;
1277
+ }
1278
+ .page-field .cell-edit-control :is(.dd-button, .date-field-input) {
1279
+ font: var(--text-base) var(--sans);
1280
+ }
1281
+ .pb-advanced {
1282
+ position: relative;
1283
+ font: var(--text-xs) var(--sans);
1284
+ }
1285
+ .pb-advanced summary {
1286
+ cursor: pointer;
1287
+ padding: var(--space-2h);
1288
+ }
1289
+ .pb-advanced[open] {
1290
+ display: flex;
1291
+ flex-wrap: wrap;
1292
+ gap: var(--space-2);
1293
+ }
1294
+
1295
+ /* The themed listbox, not the browser's own.
1296
+
1297
+ A native `<select>` opens the operating system's menu — a blue macOS popup
1298
+ with its own type and its own corners, in a dialog that has neither. It is
1299
+ the one control a page cannot style, which is exactly why this codebase
1300
+ already had a replacement; the builder was simply not using it. */
1301
+ .pb-section .dd {
1302
+ flex: none;
1303
+ }
1304
+ .pb-section .dd-button {
1305
+ padding: var(--space-2) var(--space-3);
1306
+ font: var(--text-xs) var(--mono);
1307
+ min-width: 5.5rem;
1308
+ }
1309
+ .pb-section .dd-list {
1310
+ min-width: 12rem;
1311
+ }
1312
+
1313
+ /* The sections, in the order they will appear. Scrolls on its own so the
1314
+ Add and Save rows stay put — a builder whose Save button walks off the
1315
+ bottom as you add sections is a builder you have to scroll to finish. */
1316
+ .pb-body {
1317
+ display: flex;
1318
+ flex-direction: column;
1319
+ gap: var(--space-2h);
1320
+ overflow-y: auto;
1321
+ min-height: 4rem;
1322
+ padding: var(--space-1);
1323
+ }
1324
+ .pb-section {
1325
+ display: flex;
1326
+ align-items: center;
1327
+ gap: var(--space-3);
1328
+ padding: var(--space-2h) var(--space-3);
1329
+ background: var(--raised);
1330
+ border: 1px solid var(--line);
1331
+ border-radius: var(--radius);
1332
+ }
1333
+ /* The grip is the only draggable part of the row, because everything else on
1334
+ it is an input. Faint until the row is hovered: it is a handle, not a
1335
+ decoration, and a column of them down the dialog reads as noise. */
1336
+ .pb-section-grip {
1337
+ flex: none;
1338
+ cursor: grab;
1339
+ user-select: none;
1340
+ padding: var(--space-1) 1px;
1341
+ margin-right: -2px;
1342
+ font: var(--text-sm) var(--mono);
1343
+ letter-spacing: -1px;
1344
+ line-height: 1;
1345
+ color: var(--ink-subtle);
1346
+ opacity: 0.45;
1347
+ transform: rotate(90deg);
1348
+ }
1349
+ @media (prefers-reduced-motion: no-preference) {
1350
+ .pb-section-grip {
1351
+ transition: opacity var(--t-hover) var(--ease-out);
1352
+ }
1353
+ }
1354
+ .pb-section:hover .pb-section-grip {
1355
+ opacity: 1;
1356
+ }
1357
+ .pb-section-grip:active {
1358
+ cursor: grabbing;
1359
+ }
1360
+ .pb-section.pb-dragging {
1361
+ opacity: 0.45;
1362
+ }
1363
+ /* Where the row will land, drawn as the line it will sit on rather than by
1364
+ moving everything else out of the way mid-drag. */
1365
+ .pb-section.pb-drop-above {
1366
+ box-shadow: 0 -2px 0 var(--accent);
1367
+ }
1368
+ .pb-section.pb-drop-below {
1369
+ box-shadow: 0 2px 0 var(--accent);
1370
+ }
1371
+
1372
+ .pb-kind {
1373
+ flex: 0 0 3.4rem;
1374
+ font: var(--text-xs) var(--mono);
1375
+ text-transform: uppercase;
1376
+ letter-spacing: 0.05em;
1377
+ color: var(--ink-subtle);
1378
+ }
1379
+ .pb-section-actions {
1380
+ display: flex;
1381
+ gap: var(--space-1);
1382
+ margin-left: auto;
1383
+ flex: none;
1384
+ }
1385
+ .pb-section-actions button {
1386
+ padding: var(--space-1) var(--space-3);
1387
+ font-size: var(--text-sm);
1388
+ line-height: 1;
1389
+ }
1390
+ .pb-section-actions button:disabled {
1391
+ opacity: 0.3;
1392
+ cursor: default;
1393
+ }
1394
+ .pb-remove:hover {
1395
+ color: var(--status-critical);
1396
+ }
1397
+
1398
+ .pb-add {
1399
+ display: flex;
1400
+ align-items: center;
1401
+ gap: var(--space-3);
1402
+ flex-wrap: wrap;
1403
+ }
1404
+ .pb-picker {
1405
+ position: relative;
1406
+ }
1407
+ .pb-add-btn {
1408
+ display: inline-block;
1409
+ list-style: none;
1410
+ cursor: pointer;
1411
+ padding: var(--space-1h) var(--space-3h);
1412
+ font: var(--text-sm) var(--sans);
1413
+ background: transparent;
1414
+ color: var(--ink-muted);
1415
+ border: 1px solid var(--line-strong);
1416
+ border-radius: 999px;
1417
+ }
1418
+ .pb-add-btn::-webkit-details-marker {
1419
+ display: none;
1420
+ }
1421
+ .pb-add-btn:hover {
1422
+ border-color: var(--accent);
1423
+ color: var(--accent-ink);
1424
+ }
1425
+ .pb-menu {
1426
+ /* Placed by the positioner (Base UI) above its button, no taller than the room there. */
1427
+ position: relative;
1428
+ z-index: 90;
1429
+ min-width: 22rem;
1430
+ max-height: min(22rem, var(--available-height, 22rem));
1431
+ overflow-y: auto;
1432
+ padding: var(--space-2h);
1433
+ background: var(--surface);
1434
+ border: 1px solid var(--line-strong);
1435
+ border-radius: var(--radius-pop);
1436
+ box-shadow: var(--shadow-panel);
1437
+ }
1438
+ .pb-group + .pb-group {
1439
+ margin-top: var(--space-3);
1440
+ padding-top: var(--space-3);
1441
+ border-top: 1px solid var(--line);
1442
+ }
1443
+ .pb-group-head {
1444
+ margin: 0 0 var(--space-2);
1445
+ padding: 0 var(--space-3);
1446
+ font: 600 var(--text-xs) var(--mono);
1447
+ text-transform: uppercase;
1448
+ letter-spacing: 0.06em;
1449
+ color: var(--ink-subtle);
1450
+ }
1451
+ .pb-menu-item {
1452
+ display: flex;
1453
+ flex-direction: column;
1454
+ align-items: flex-start;
1455
+ gap: 1px;
1456
+ width: 100%;
1457
+ padding: var(--space-2) var(--space-3);
1458
+ text-align: left;
1459
+ background: none;
1460
+ border: 1px solid transparent;
1461
+ border-radius: var(--radius);
1462
+ cursor: pointer;
1463
+ }
1464
+ .pb-section.pb-drop {
1465
+ border-color: var(--accent);
1466
+ background: var(--accent-soft);
1467
+ }
1468
+ .pb-holds {
1469
+ flex: none;
1470
+ font: var(--text-xs) var(--mono);
1471
+ color: var(--ink-subtle);
1472
+ white-space: nowrap;
1473
+ }
1474
+ .pb-menu-item:hover {
1475
+ background: var(--raised);
1476
+ }
1477
+ .pb-menu-item:focus-visible {
1478
+ outline: var(--focus-width) solid var(--focus);
1479
+ outline-offset: -2px;
1480
+ }
1481
+ .pb-menu-label {
1482
+ font: var(--text-sm) var(--mono);
1483
+ color: var(--ink);
1484
+ }
1485
+ /* The route, so choosing between two entries with the same table name is a
1486
+ choice between two things you can tell apart. */
1487
+ .pb-menu-detail {
1488
+ font: calc(10.5px * var(--type-k)) var(--mono);
1489
+ color: var(--ink-subtle);
1490
+ }
1491
+
1492
+ .pb-foot {
1493
+ display: flex;
1494
+ flex-wrap: wrap;
1495
+ align-items: center;
1496
+ gap: var(--space-3);
1497
+ }
1498
+ .pb-spacer {
1499
+ flex: 1 1 auto;
1500
+ }
1501
+ .pb-json {
1502
+ font-size: var(--text-xs);
1503
+ }
1504
+
1505
+ /* ---------- the field panel, inline ---------- */
1506
+
1507
+ /* A section and its open panel are one thing, so they move together and the
1508
+ panel cannot end up beside a different row. */
1509
+ .pb-group-row {
1510
+ display: flex;
1511
+ flex-direction: column;
1512
+ }
1513
+
1514
+ .pb-panel {
1515
+ margin: 0 var(--space-3) var(--space-1);
1516
+ padding: var(--space-3) var(--space-3h) var(--space-3h);
1517
+ background: var(--raised);
1518
+ border: 1px solid var(--line);
1519
+ border-top: none;
1520
+ border-radius: 0 0 var(--radius) var(--radius);
1521
+ }
1522
+ .pb-panel-head {
1523
+ display: flex;
1524
+ align-items: baseline;
1525
+ gap: var(--space-3);
1526
+ margin-bottom: var(--space-2h);
1527
+ }
1528
+ .pb-panel-head button {
1529
+ padding: var(--space-1) var(--space-3);
1530
+ font-size: var(--text-xs);
1531
+ }
1532
+ .pb-field-count {
1533
+ font: var(--text-xs) var(--mono);
1534
+ color: var(--ink-subtle);
1535
+ }
1536
+
1537
+ /* Several across, because forty names in one column is a scroll and the names
1538
+ are short enough to read three or four abreast. */
1539
+ .pb-field-grid {
1540
+ display: grid;
1541
+ gap: 1px var(--space-3h);
1542
+ grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
1543
+ max-height: 34vh;
1544
+ overflow-y: auto;
1545
+ }
1546
+ /* The whole row toggles: a checkbox is a twelve-pixel target and the name
1547
+ beside it is not. */
1548
+ .pb-field-row {
1549
+ display: flex;
1550
+ align-items: baseline;
1551
+ gap: var(--space-3);
1552
+ padding: var(--space-1h) var(--space-2h);
1553
+ border-radius: var(--radius);
1554
+ cursor: pointer;
1555
+ min-width: 0;
1556
+ }
1557
+ .pb-field-row:hover {
1558
+ background: var(--surface);
1559
+ }
1560
+ .pb-field-row input {
1561
+ flex: none;
1562
+ margin: 0;
1563
+ }
1564
+ .pb-field-name {
1565
+ font: var(--text-sm) var(--mono);
1566
+ color: var(--ink);
1567
+ overflow: hidden;
1568
+ text-overflow: ellipsis;
1569
+ white-space: nowrap;
1570
+ }
1571
+ .pb-field-type {
1572
+ font: var(--text-xs) var(--mono);
1573
+ color: var(--ink-subtle);
1574
+ flex: none;
1575
+ }
1576
+
1577
+ /* The fields on a group, laid out the way the page will lay them out — same
1578
+ column count, same order — so arranging them is done on a picture of the
1579
+ result rather than on a list that has to be imagined into one. */
1580
+ .pb-arrange {
1581
+ display: grid;
1582
+ gap: var(--space-1) var(--space-3h);
1583
+ max-height: 34vh;
1584
+ overflow-y: auto;
1585
+ margin-bottom: var(--space-3);
1586
+ }
1587
+ .pb-arrange-row {
1588
+ display: flex;
1589
+ align-items: baseline;
1590
+ gap: var(--space-3);
1591
+ padding: var(--space-1h) var(--space-2) var(--space-1h) var(--space-1);
1592
+ border-radius: var(--radius);
1593
+ background: var(--surface);
1594
+ border: 1px solid var(--line);
1595
+ cursor: grab;
1596
+ min-width: 0;
1597
+ position: relative;
1598
+ }
1599
+ .pb-arrange-row:focus-visible {
1600
+ outline: var(--focus-width) solid var(--focus);
1601
+ outline-offset: 1px;
1602
+ }
1603
+ .pb-arrange-row.dragging {
1604
+ opacity: 0.45;
1605
+ cursor: grabbing;
1606
+ }
1607
+ .pb-arrange-row .pb-field-name {
1608
+ flex: 1;
1609
+ }
1610
+ .pb-grip {
1611
+ font: var(--text-sm) var(--mono);
1612
+ color: var(--ink-subtle);
1613
+ letter-spacing: -1px;
1614
+ flex: none;
1615
+ transform: rotate(90deg);
1616
+ }
1617
+ .pb-arrange-row .pb-send,
1618
+ .pb-arrange-row .pb-remove {
1619
+ flex: none;
1620
+ padding: 0 var(--space-2);
1621
+ font-size: var(--text-xs);
1622
+ line-height: 1.6;
1623
+ opacity: 0;
1624
+ }
1625
+ @media (prefers-reduced-motion: no-preference) {
1626
+ .pb-arrange-row .pb-send,
1627
+ .pb-arrange-row .pb-remove {
1628
+ transition: opacity var(--t-hover) var(--ease-out);
1629
+ }
1630
+ }
1631
+ .pb-arrange-row:hover .pb-send,
1632
+ .pb-arrange-row:hover .pb-remove,
1633
+ .pb-arrange-row:focus-within .pb-send,
1634
+ .pb-arrange-row:focus-within .pb-remove {
1635
+ opacity: 1;
1636
+ }
1637
+
1638
+ /* Which group to send a field to, opened in the row itself: a dialog here
1639
+ would cover the arrangement being made. */
1640
+ .pb-send-menu {
1641
+ position: absolute;
1642
+ z-index: 3;
1643
+ top: 100%;
1644
+ right: 0;
1645
+ display: flex;
1646
+ flex-direction: column;
1647
+ background: var(--surface);
1648
+ border: 1px solid var(--line);
1649
+ border-radius: var(--radius);
1650
+ padding: var(--space-1h);
1651
+ gap: var(--space-1);
1652
+ box-shadow: var(--shadow, var(--shadow-pop));
1653
+ }
1654
+ .pb-send-menu button {
1655
+ font-size: var(--text-xs);
1656
+ text-align: left;
1657
+ white-space: nowrap;
1658
+ }
1659
+
1660
+ /* Everything not on the page, as chips: short names, many of them, and each
1661
+ one click from being added. */
1662
+ .pb-pool {
1663
+ display: flex;
1664
+ flex-wrap: wrap;
1665
+ align-items: baseline;
1666
+ gap: var(--space-2);
1667
+ }
1668
+ .pb-add-field {
1669
+ font: var(--text-xs) var(--mono);
1670
+ padding: var(--space-1) var(--space-3);
1671
+ }
1672
+
1673
+ /* A hidden section keeps its row and stops looking live. */
1674
+ .pb-section.pb-hidden {
1675
+ opacity: 0.5;
1676
+ }
1677
+ .pb-section.pb-hidden .pb-input {
1678
+ text-decoration: line-through;
1679
+ }
1680
+ .pb-hide {
1681
+ flex: none;
1682
+ font-size: var(--text-xs);
1683
+ line-height: 1.9;
1684
+ }
1685
+
1686
+ .pb-cols {
1687
+ flex: none;
1688
+ }
1689
+
1690
+ .pb-fields-btn {
1691
+ flex: none;
1692
+ font-size: var(--text-xs);
1693
+ padding: var(--space-1h) var(--space-3);
1694
+ }
1695
+ .pb-fields-btn.open {
1696
+ border-color: var(--accent);
1697
+ color: var(--accent-ink);
1698
+ }
1699
+ /* The row an open panel belongs to keeps its bottom edge open, so the two
1700
+ read as one block rather than as two stacked boxes. */
1701
+ .pb-section.pb-open {
1702
+ border-bottom-left-radius: 0;
1703
+ border-bottom-right-radius: 0;
1704
+ }
1705
+
1706
+ /* Destructive, and at the far end from Save so the two are not neighbours. */
1707
+ .pb-delete {
1708
+ color: var(--status-critical);
1709
+ }
1710
+ .pb-delete:hover {
1711
+ border-color: var(--status-critical);
1712
+ background: color-mix(in srgb, var(--status-critical) 10%, transparent);
1713
+ }
1714
+
1715
+ /* A list's own pager. Right-aligned under the table, quiet, and present only
1716
+ when there is somewhere to go — two disabled arrows under a list that fits
1717
+ on one page are an explanation that nothing can be done. */
1718
+ .page-pager {
1719
+ display: flex;
1720
+ align-items: center;
1721
+ justify-content: flex-end;
1722
+ margin-top: var(--space-2h);
1723
+ }
1724
+ .page-range {
1725
+ font: var(--text-xs) var(--mono);
1726
+ color: var(--ink-subtle);
1727
+ font-variant-numeric: tabular-nums;
1728
+ }
1729
+
1730
+ /* A related list read as groups: a header for each record its rows share, that group's table under it. The header
1731
+ is the record's name, its facts after it and the count at the far end, on the line a table's head would take;
1732
+ the groups are spaced by ratio, not by a rule, so the table is what the eye follows. */
1733
+ .page-groups {
1734
+ display: flex;
1735
+ flex-direction: column;
1736
+ gap: var(--space-6);
1737
+ }
1738
+ .page-group-head {
1739
+ display: flex;
1740
+ flex-wrap: wrap;
1741
+ align-items: baseline;
1742
+ gap: var(--space-1) var(--space-4);
1743
+ padding-bottom: var(--space-2h);
1744
+ }
1745
+ .page-group-name {
1746
+ margin: 0;
1747
+ font-size: var(--text-md);
1748
+ font-weight: 600;
1749
+ min-width: 0;
1750
+ overflow-wrap: anywhere;
1751
+ }
1752
+ .page-group-link {
1753
+ background: none;
1754
+ border: 0;
1755
+ padding: 0;
1756
+ min-height: 0;
1757
+ font: inherit;
1758
+ color: var(--accent-ink);
1759
+ text-align: start;
1760
+ cursor: pointer;
1761
+ }
1762
+ .page-group-link:hover {
1763
+ text-decoration: underline;
1764
+ }
1765
+ .page-group-facts {
1766
+ display: inline-flex;
1767
+ flex-wrap: wrap;
1768
+ min-width: 0;
1769
+ font-size: var(--text-base);
1770
+ color: var(--ink-muted);
1771
+ }
1772
+ .page-group-fact + .page-group-fact::before {
1773
+ content: '·';
1774
+ margin-inline: var(--space-2h);
1775
+ color: var(--ink-subtle);
1776
+ }
1777
+ .page-group-count {
1778
+ margin-inline-start: auto;
1779
+ font: var(--text-xs) var(--mono);
1780
+ color: var(--ink-subtle);
1781
+ font-variant-numeric: tabular-nums;
1782
+ }
1783
+ /* A summed column keeps to the count's quiet line, after it: the same small figure, a dot between. */
1784
+ .page-group-sum {
1785
+ font: var(--text-xs) var(--mono);
1786
+ color: var(--ink-subtle);
1787
+ font-variant-numeric: tabular-nums;
1788
+ }
1789
+ .page-group-sum::before {
1790
+ content: '·';
1791
+ margin-inline-end: var(--space-2h);
1792
+ }
1793
+ .page-group-more {
1794
+ margin-top: var(--space-2);
1795
+ min-height: 40px;
1796
+ }
1797
+ .page-group-total {
1798
+ display: flex;
1799
+ flex-wrap: wrap;
1800
+ align-items: baseline;
1801
+ gap: var(--space-2) var(--space-5);
1802
+ margin: 0;
1803
+ padding-top: var(--space-3);
1804
+ border-top: 1px solid var(--line);
1805
+ font-size: var(--text-base);
1806
+ }
1807
+ .page-group-total-label {
1808
+ color: var(--ink-muted);
1809
+ }
1810
+ .page-group-total-caption {
1811
+ margin-inline-end: var(--space-2h);
1812
+ color: var(--ink-subtle);
1813
+ }
1814
+ @media (max-width: 600px) {
1815
+ /* A header that opens its record is a target: the 44px a finger needs, with the facts under the name. */
1816
+ .page-group-link {
1817
+ min-height: 44px;
1818
+ display: inline-flex;
1819
+ align-items: center;
1820
+ }
1821
+ .page-group-more {
1822
+ min-height: 44px;
1823
+ }
1824
+ }
1825
+
1826
+ /* ---------- the timeline ---------- */
1827
+
1828
+ /* The record's activity by day: the day said once over its rows. A message is
1829
+ who, what kind and when, the time at the line's end, over the words; what no
1830
+ person wrote is one quiet line, and a run of them folds to its count, opened
1831
+ in place without motion (a disclosure read often moves nothing). The rhythm
1832
+ is the gaps: 3px inside a message, 14px between messages, 4px between quiet
1833
+ lines, 18px before a day. */
1834
+ .timeline,
1835
+ .timeline-rows {
1836
+ list-style: none;
1837
+ margin: 0;
1838
+ padding: 0;
1839
+ }
1840
+ .timeline {
1841
+ max-width: 46rem;
1842
+ }
1843
+ .timeline-day + .timeline-day {
1844
+ margin-top: var(--space-5);
1845
+ }
1846
+ .timeline-day-label,
1847
+ .timeline-source,
1848
+ .timeline-when {
1849
+ font-size: var(--text-sm);
1850
+ color: var(--ink-subtle);
1851
+ }
1852
+ .timeline-day-label {
1853
+ display: flex;
1854
+ align-items: center;
1855
+ gap: var(--space-3h);
1856
+ margin-bottom: var(--space-3h);
1857
+ }
1858
+ .timeline-day-label::after {
1859
+ content: '';
1860
+ flex: 1;
1861
+ border-top: 1px solid var(--line);
1862
+ }
1863
+ .timeline-rows > * + * {
1864
+ margin-top: var(--space-4h);
1865
+ }
1866
+ .timeline-rows > .is-compact + .is-compact,
1867
+ .timeline-fold > .timeline-rows {
1868
+ margin-top: var(--space-2);
1869
+ }
1870
+ .timeline-row {
1871
+ display: grid;
1872
+ grid-template-columns: 24px minmax(0, 1fr);
1873
+ gap: var(--space-1h) var(--space-3h);
1874
+ }
1875
+ .timeline-avatar {
1876
+ grid-row: span 2;
1877
+ }
1878
+ .timeline-head {
1879
+ display: flex;
1880
+ flex-wrap: wrap;
1881
+ align-items: center;
1882
+ gap: var(--space-1) var(--space-3);
1883
+ min-height: 24px;
1884
+ font-size: var(--text-base);
1885
+ }
1886
+ .timeline-by {
1887
+ font-weight: 500;
1888
+ }
1889
+ .timeline-when {
1890
+ margin-left: auto;
1891
+ white-space: nowrap;
1892
+ }
1893
+ .timeline-text {
1894
+ min-width: 0;
1895
+ font-size: var(--text-base);
1896
+ line-height: 1.5;
1897
+ }
1898
+ /* A line no person wrote, under the words of the messages around it: smaller, in the quieter ink (below, with rich text). */
1899
+ .timeline-row.is-compact {
1900
+ grid-template-columns: minmax(0, 1fr) auto;
1901
+ padding-left: var(--space-7);
1902
+ align-items: baseline;
1903
+ }
1904
+ .timeline-fold-toggle {
1905
+ display: inline-flex;
1906
+ align-items: center;
1907
+ gap: var(--space-5);
1908
+ min-height: 24px;
1909
+ margin-left: var(--space-2h);
1910
+ padding: 0;
1911
+ background: none;
1912
+ font-size: var(--text-sm);
1913
+ color: var(--ink-muted);
1914
+ }
1915
+ .timeline-fold-toggle[aria-expanded='true'] svg {
1916
+ transform: rotate(90deg);
1917
+ }
1918
+ .page-related-create.timeline-compose {
1919
+ padding-block: 0 var(--space-2h);
1920
+ }
1921
+
1922
+ /* A conversation: oldest first inside a box of its own that holds the scroll, the composer pinned beneath it. The box has
1923
+ its height before the rows arrive, so nothing moves when they do. */
1924
+ /* The wheel chains to the page when the box has nothing left to scroll: with `overscroll-behavior: contain` the
1925
+ pointer over the conversation trapped it, even for a box with no overflow, until it moved off to the side. */
1926
+ .timeline-scroll {
1927
+ max-height: min(60vh, 30rem);
1928
+ overflow-y: auto;
1929
+ }
1930
+ /* A tinted message (an internal note) is a card in its column: its tone's wash, and an edge that says what it is. */
1931
+ .timeline-row.is-tinted {
1932
+ padding: var(--space-3) var(--space-3h);
1933
+ background: color-mix(in srgb, var(--tone, var(--accent)) 7%, transparent);
1934
+ border-left: 2px solid var(--tone, var(--accent));
1935
+ }
1936
+ .timeline-row[data-tone='warn'] {
1937
+ --tone: var(--status-warning);
1938
+ }
1939
+ .timeline-row[data-tone='info'] {
1940
+ --tone: var(--link);
1941
+ }
1942
+ .timeline-row[data-tone='bad'] {
1943
+ --tone: var(--status-critical);
1944
+ }
1945
+ .timeline-row[data-tone='good'] {
1946
+ --tone: var(--status-good);
1947
+ }
1948
+ .timeline-composer {
1949
+ max-width: 46rem;
1950
+ margin-top: var(--space-3h);
1951
+ padding-top: var(--space-3);
1952
+ border-top: 1px solid var(--rule, var(--line));
1953
+ display: flex;
1954
+ flex-direction: column;
1955
+ gap: var(--space-2h);
1956
+ }
1957
+ .timeline-composer.is-note .timeline-input {
1958
+ background: color-mix(in srgb, var(--status-warning) 8%, var(--surface));
1959
+ }
1960
+ /* A small segmented control: the pressed segment is filled, and the note segment wears the warning tint the
1961
+ box takes in note mode, so which of the two a send goes out as is never a guess (a note sent as a reply
1962
+ reaches the resident). */
1963
+ .timeline-modes {
1964
+ display: inline-flex;
1965
+ align-self: flex-start;
1966
+ padding: var(--space-1);
1967
+ gap: var(--space-1);
1968
+ border: 1px solid var(--line-control, var(--line));
1969
+ border-radius: var(--radius-item, 6px);
1970
+ background: var(--surface);
1971
+ }
1972
+ .timeline-mode {
1973
+ appearance: none;
1974
+ border: 0;
1975
+ border-radius: calc(var(--radius-item, 6px) - 2px);
1976
+ background: transparent;
1977
+ color: var(--ink-muted);
1978
+ font: inherit;
1979
+ font-size: var(--type-ui);
1980
+ padding: var(--space-1h) var(--space-3h);
1981
+ min-block-size: 24px;
1982
+ cursor: pointer;
1983
+ }
1984
+ .timeline-mode:hover {
1985
+ color: var(--ink);
1986
+ }
1987
+ .timeline-mode[aria-pressed='true'] {
1988
+ color: var(--ink);
1989
+ font-weight: 600;
1990
+ background: var(--surface-sunken, color-mix(in srgb, var(--ink) 8%, var(--surface)));
1991
+ }
1992
+ .timeline-mode.is-note[aria-pressed='true'] {
1993
+ background: color-mix(in srgb, var(--status-warning) 16%, var(--surface));
1994
+ }
1995
+ /* The house field (style.css .field-control): bare, it was the browser's own box — flush text, and a grey
1996
+ ground in dark mode. */
1997
+ .timeline-input {
1998
+ min-height: 4.5rem;
1999
+ }
2000
+ .timeline-composer-foot {
2001
+ display: flex;
2002
+ justify-content: flex-end;
2003
+ gap: var(--space-3);
2004
+ }
2005
+ /* Templates sits at the foot's start, Send at its end: two controls of one height, so the foot never moves. */
2006
+ .timeline-templates {
2007
+ margin-inline-end: auto;
2008
+ }
2009
+
2010
+ /* ---------- the record's history ---------- */
2011
+
2012
+ /* One write per entry, newest first: who and what on one line with the
2013
+ moment at its end, then each field it changed, caption beside the change.
2014
+ Ruled like a list, not carded — the timeline's quiet, with the before
2015
+ value dimmed so the eye lands on what the record holds now. */
2016
+ .history {
2017
+ list-style: none;
2018
+ margin: var(--space-2h) 0 0;
2019
+ padding: 0;
2020
+ max-width: 46rem;
2021
+ container: history / inline-size;
2022
+ }
2023
+ .history-entry {
2024
+ padding: var(--space-3h) 0;
2025
+ border-top: 1px solid var(--line);
2026
+ }
2027
+ .history-entry:first-child {
2028
+ border-top: 0;
2029
+ padding-top: var(--space-2);
2030
+ }
2031
+ .history-head {
2032
+ display: flex;
2033
+ flex-wrap: wrap;
2034
+ align-items: baseline;
2035
+ gap: var(--space-1) var(--space-3);
2036
+ font-size: var(--text-base);
2037
+ line-height: 1.5;
2038
+ }
2039
+ .history-by {
2040
+ color: var(--ink);
2041
+ font-weight: 500;
2042
+ }
2043
+ .history-what {
2044
+ color: var(--ink-muted);
2045
+ }
2046
+ .history-when {
2047
+ margin-left: auto;
2048
+ font: var(--text-xs) var(--mono);
2049
+ color: var(--ink-subtle);
2050
+ font-variant-numeric: tabular-nums;
2051
+ }
2052
+ .history-fields {
2053
+ display: grid;
2054
+ grid-template-columns: minmax(6rem, 11rem) minmax(0, 1fr);
2055
+ gap: var(--space-1h) var(--space-4h);
2056
+ margin: var(--space-2h) 0 0;
2057
+ }
2058
+ .history-field {
2059
+ display: contents;
2060
+ }
2061
+ .history-field dt {
2062
+ font-size: var(--text-sm);
2063
+ color: var(--ink-muted);
2064
+ }
2065
+ .history-field dd {
2066
+ margin: 0;
2067
+ min-width: 0;
2068
+ font-size: var(--text-base);
2069
+ overflow-wrap: anywhere;
2070
+ }
2071
+ .history-before {
2072
+ color: var(--ink-subtle);
2073
+ }
2074
+ .history-before :is(.num-value, .date-value, .bool-value) {
2075
+ color: inherit;
2076
+ }
2077
+ .history-arrow {
2078
+ margin: 0 var(--space-2h);
2079
+ color: var(--ink-subtle);
2080
+ }
2081
+ .history-changed,
2082
+ .history-cut {
2083
+ color: var(--ink-subtle);
2084
+ }
2085
+ .history-more {
2086
+ display: flex;
2087
+ justify-content: flex-start;
2088
+ padding-top: var(--space-2h);
2089
+ }
2090
+ /* Narrow — a phone, a half-width section — the caption goes over its change
2091
+ and the moment under who made it, so neither squeezes the values. */
2092
+ @container history (max-width: 30rem) {
2093
+ .history-fields {
2094
+ grid-template-columns: minmax(0, 1fr);
2095
+ gap: 0;
2096
+ }
2097
+ .history-field dt {
2098
+ margin-top: var(--space-2);
2099
+ }
2100
+ .history-when {
2101
+ margin-left: 0;
2102
+ flex-basis: 100%;
2103
+ }
2104
+ }
2105
+
2106
+ .workflow-status {
2107
+ margin-bottom: 20px;
2108
+ }
2109
+ .page-related-create {
2110
+ display: flex;
2111
+ justify-content: flex-end;
2112
+ align-items: center;
2113
+ gap: var(--space-4);
2114
+ padding-block: var(--space-3);
2115
+ }
2116
+ .page-related-create [role='status'] {
2117
+ font-size: var(--text-base);
2118
+ color: var(--ink-muted);
2119
+ }
2120
+ .page-related-create button {
2121
+ min-height: 40px;
2122
+ }
2123
+ /* At a desk a list's Add is the record's verbs' size (30px): a third button height stood on one page.
2124
+ A phone keeps the 40px a thumb needs. */
2125
+ @media (min-width: 761px) and (pointer: fine) {
2126
+ .page-related-create button {
2127
+ min-height: 30px;
2128
+ }
2129
+ }
2130
+ /* A workflow is a track of segments, one per step, its label under it: a
2131
+ step walked is filled in a quiet tint of the accent, the current one in the
2132
+ accent with its label in the ink, a step ahead the rule's grey. The track
2133
+ carries the order, so no joining rule and no box around it. */
2134
+ .workflow-steps {
2135
+ display: flex;
2136
+ flex-wrap: wrap;
2137
+ gap: var(--space-3h) var(--space-2);
2138
+ list-style: none;
2139
+ padding: 0;
2140
+ margin: 0;
2141
+ }
2142
+ .workflow-steps li {
2143
+ flex: 1 1 0;
2144
+ min-width: max-content;
2145
+ display: flex;
2146
+ flex-direction: column;
2147
+ gap: var(--space-3);
2148
+ font-size: var(--text-base);
2149
+ line-height: 1.3;
2150
+ color: var(--ink-muted);
2151
+ }
2152
+ .workflow-marker {
2153
+ order: -1;
2154
+ height: 4px;
2155
+ border-radius: min(2px, var(--radius));
2156
+ background: var(--line);
2157
+ }
2158
+ @media (prefers-reduced-motion: no-preference) {
2159
+ .workflow-marker {
2160
+ transition: background-color var(--t-popover) var(--ease-out);
2161
+ }
2162
+ }
2163
+ .workflow-steps li[data-passed] {
2164
+ color: var(--ink-muted);
2165
+ }
2166
+ .workflow-steps li[data-passed] .workflow-marker {
2167
+ background: color-mix(in srgb, var(--accent) 50%, var(--line));
2168
+ }
2169
+ .workflow-steps li[aria-current='step'] {
2170
+ color: var(--ink);
2171
+ font-weight: 600;
2172
+ }
2173
+ .workflow-steps li[aria-current='step'] .workflow-marker {
2174
+ background: var(--accent);
2175
+ }
2176
+ /* A step the record's own actions can move it to now: the label in the ink
2177
+ and its segment hollow, outlined in the accent — ahead of it, not yet it. */
2178
+ .workflow-steps li[data-reachable] {
2179
+ color: var(--ink);
2180
+ }
2181
+ .workflow-steps li[data-reachable] .workflow-marker {
2182
+ background: transparent;
2183
+ outline: 1px solid color-mix(in srgb, var(--accent) 60%, var(--line));
2184
+ outline-offset: -1px;
2185
+ }
2186
+ .workflow-unmapped {
2187
+ margin: var(--space-3) 0 0;
2188
+ font-size: var(--text-base);
2189
+ }
2190
+ /* On a phone the strip is one row that scrolls sideways, the current step brought into view (WorkflowStatus):
2191
+ wrapped, a second row of segments read as a second track. An edge fades where there is more beyond it. A
2192
+ step's label takes up to two lines under its segment: on one, "Confirmed by the supplier" ran on past the
2193
+ window and its fade and read "Confirmed by the s", and the current step stood half out of view. */
2194
+ @media (max-width: 600px) {
2195
+ .workflow-steps {
2196
+ flex-wrap: nowrap;
2197
+ overflow-x: auto;
2198
+ overscroll-behavior-x: contain;
2199
+ scrollbar-width: none;
2200
+ }
2201
+ .workflow-steps[data-more-after] {
2202
+ mask-image: linear-gradient(90deg, var(--ink) calc(100% - 24px), transparent);
2203
+ }
2204
+ .workflow-steps[data-more-before] {
2205
+ mask-image: linear-gradient(90deg, transparent, var(--ink) 24px);
2206
+ }
2207
+ .workflow-steps[data-more-before][data-more-after] {
2208
+ mask-image: linear-gradient(90deg, transparent, var(--ink) 24px, var(--ink) calc(100% - 24px), transparent);
2209
+ }
2210
+ .workflow-steps::-webkit-scrollbar {
2211
+ display: none;
2212
+ }
2213
+ .workflow-steps li {
2214
+ flex: 1 0 auto;
2215
+ min-width: 88px;
2216
+ max-width: 9.5em;
2217
+ }
2218
+ }
2219
+ /* No rule of its own under it: every section after the summary draws its
2220
+ hairline above its heading, and the two with a row gap between them read as
2221
+ a doubled rule with an empty band — twice, under a pair of half sections. */
2222
+ .page-field-grid.page-field-summary {
2223
+ /* Short summary facts fit a tighter measure than editing fields. Explicit
2224
+ authored columns still win; otherwise the host determines the count. At
2225
+ 7rem four facts beside an aside stood three and one, 123px apart, and a
2226
+ name broke over two lines ("Dr. Marcus / Webb", "Willamette /
2227
+ Wheelhouse"); 9rem gives a customer's or a provider's name, and a date
2228
+ with its time, one line, and four facts two and two. */
2229
+ --page-field-min: 9rem;
2230
+ gap: 18px var(--space-6);
2231
+ padding-block: var(--space-3) 0;
2232
+ }
2233
+ .page-field-summary .page-field {
2234
+ min-width: 0;
2235
+ }
2236
+ .page-field-summary .page-field > dt {
2237
+ font-size: var(--text-xs);
2238
+ margin-bottom: var(--space-2h);
2239
+ }
2240
+ /* A summary says its values whole: one clipped mid-word ("margot.fontaine@exam")
2241
+ says less than one that wraps. An address breaks where its parts meet
2242
+ (Value.tsx breakable), and anywhere only when one part is wider than its column. */
2243
+ .page-field-summary .page-field > dd {
2244
+ font-size: var(--text-md);
2245
+ white-space: normal;
2246
+ overflow: visible;
2247
+ text-overflow: clip;
2248
+ overflow-wrap: anywhere;
2249
+ }
2250
+ /* Prose under its section's title (a description): a paragraph, not a figure. */
2251
+ .page-field-summary .page-field.page-field-prose > dd {
2252
+ font: 400 calc(15px * var(--type-k))/1.55 var(--sans);
2253
+ max-width: 65ch;
2254
+ color: var(--ink);
2255
+ }
2256
+ .page-prose-empty {
2257
+ margin: 0;
2258
+ color: var(--ink-muted);
2259
+ font-size: var(--text-md);
2260
+ }
2261
+ /* A number to call is one thing: it never wraps between its groups. */
2262
+ .page-field-summary .value-link[href^='tel:'] {
2263
+ white-space: nowrap;
2264
+ }
2265
+ /* An address, a number or a page in a record's fields is a link in the link
2266
+ ink, as a named reference is (Value.tsx, ValueLink): it breaks anywhere,
2267
+ since an email address has no spaces to wrap at. */
2268
+ .value-link {
2269
+ color: var(--link);
2270
+ text-decoration: none;
2271
+ overflow-wrap: anywhere;
2272
+ }
2273
+ .value-link:hover {
2274
+ text-decoration: underline;
2275
+ text-underline-offset: 3px;
2276
+ }
2277
+ .page-field .ref-jump {
2278
+ max-width: 100%;
2279
+ white-space: normal;
2280
+ text-align: left;
2281
+ }
2282
+ .page-field .ref-jump-value {
2283
+ min-width: 0;
2284
+ overflow-wrap: anywhere;
2285
+ }
2286
+ /* On a phone a record's figures sit two to a row (structure.css), as a dashboard's do. */
2287
+ /* A property rail: the classic record form's properties — caption beside
2288
+ value on one row, a hairline under each — at the side panel's scale. Unlike
2289
+ the sheet it keeps an empty field, because that is where a value is set,
2290
+ and a value stays editable in place. The caption wraps instead of cutting
2291
+ a word short; the value takes the rest of the row. Rows fill `columns`
2292
+ columns where the room has the width, as the sheet's do. The looks space a
2293
+ field's label and value as a stack (visualThemes.css), so the row's own
2294
+ gap is said at a weight that outranks theirs. */
2295
+ .page-properties {
2296
+ display: grid;
2297
+ column-gap: var(--space-7);
2298
+ margin: 0;
2299
+ max-width: 100rem;
2300
+ grid-template-columns: repeat(
2301
+ auto-fill,
2302
+ minmax(min(100%, max(16rem, (100% - (var(--page-properties-columns, 1) - 1) * 32px) / var(--page-properties-columns, 1))), 1fr)
2303
+ );
2304
+ }
2305
+ dl.page-properties > .page-field > :is(dt, dd) {
2306
+ white-space: normal;
2307
+ overflow-wrap: anywhere;
2308
+ }
2309
+ dl.page-properties > .page-field > dd {
2310
+ min-width: 0;
2311
+ }
2312
+
2313
+ /* A record drawn inside a dialog, a side panel or a split list's detail is as
2314
+ narrow as that host, not as the screen: on a wide window the peek kept the
2315
+ desktop page — an aside column, half-width sections, a three-column field
2316
+ grid in 325px — and a name broke one letter to a line. The host is the
2317
+ container, and the same stacking the screen rules above apply follows the
2318
+ room the record actually has. */
2319
+ .peekpanel-body,
2320
+ .split-list-detail-body {
2321
+ container: record-host / inline-size;
2322
+ }
2323
+ @container record-host (max-width: 1100px) {
2324
+ .page-layout {
2325
+ grid-template-columns: minmax(0, 1fr);
2326
+ }
2327
+ .page-aside {
2328
+ border-left: 0;
2329
+ padding-left: 0;
2330
+ }
2331
+ .page-aside > .page-section:first-child:not(:has(.page-headline, > .page-facts), .page-card-section) {
2332
+ border-top-style: solid;
2333
+ padding-top: var(--space-3h);
2334
+ }
2335
+ /* Stacked under the main column, the aside's fields flow into columns again,
2336
+ as they do on a narrow screen, instead of one field to a 640px row. */
2337
+ }
2338
+ @container record-host (max-width: 900px) {
2339
+ .page-section.width-half,
2340
+ .page-section.width-third,
2341
+ .page-section.width-two-thirds {
2342
+ flex-basis: 100%;
2343
+ }
2344
+ .page-section[class*='offset-'] {
2345
+ margin-left: 0;
2346
+ margin-right: 0;
2347
+ }
2348
+ }
2349
+ @container record-host (max-width: 600px) {
2350
+ .page-field-grid {
2351
+ grid-template-columns: minmax(0, 1fr);
2352
+ }
2353
+ }
2354
+
2355
+ /* A page's archetype (`page(…, { layout })`, shared/pageLayouts.ts) moves its regions; the looks still dress them.
2356
+ Each is keyed on `data-layout`, drawn from the first render, so the columns never change under a landed
2357
+ section. A desk's columns are the screen's; a record in a dialog, a side panel or a split's detail stacks by the
2358
+ room its host has (the container reset below), as every record page does. */
2359
+ @media (min-width: 1101px) {
2360
+ /* A conversation: the thread keeps a reading measure beside the record's cards. Wider than measure and
2361
+ aside, the slack goes to the gutter between them, not to the bubbles: a reply 900px wide is read as a
2362
+ banner. */
2363
+ .page-layout[data-layout='conversation'] {
2364
+ grid-template-columns: minmax(0, var(--page-measure)) clamp(256px, (100% - var(--page-aside-gap)) / 3, 320px);
2365
+ justify-content: space-between;
2366
+ }
2367
+ /* A showcase: the photos at two thirds with the panel beside them, then the body under both at full width,
2368
+ where a related list has the page's columns rather than the aside's leftover. */
2369
+ .page-layout[data-layout='showcase'] {
2370
+ grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
2371
+ row-gap: var(--section-seam);
2372
+ }
2373
+ .page-layout[data-layout='showcase'] > .page-showcase-body {
2374
+ grid-column: 1 / -1;
2375
+ }
2376
+ /* The panel ends with its band: top-aligned, never sticky over the body that follows it. */
2377
+ .page-layout[data-layout='showcase'] > .page-panel {
2378
+ align-self: start;
2379
+ }
2380
+ }
2381
+ /* An offer card is the panel's own edge, as beside a record's photos. */
2382
+ .page-layout[data-layout='showcase'] > .page-panel:has(.page-headline) {
2383
+ border-left: 0;
2384
+ padding-left: 0;
2385
+ }
2386
+ @container record-host (max-width: 1100px) {
2387
+ .page-layout[data-layout] {
2388
+ grid-template-columns: minmax(0, 1fr);
2389
+ }
2390
+ }
2391
+ /* An article: one column at a reading measure, the head's words on the same measure and the same content edge
2392
+ as the crumb, not centred. A band header (`data-look-header`) still paints the pane's width behind it. */
2393
+ .page-body[data-layout='article'],
2394
+ .page-head[data-layout='article'] > * {
2395
+ max-width: var(--page-measure);
2396
+ }
2397
+
2398
+ /* The accordion: hairlines between items, one quiet button per heading.
2399
+ Opening is instant; the chevron is the one thing that moves, and only as
2400
+ a press's feedback, silenced under reduced motion. */
2401
+ .accordion {
2402
+ border-top: 1px solid var(--line);
2403
+ }
2404
+ .accordion-item {
2405
+ border-bottom: 1px solid var(--line);
2406
+ }
2407
+ .accordion > .accordion-item:last-child {
2408
+ border-bottom: 1px solid var(--line);
2409
+ }
2410
+ .accordion-heading {
2411
+ margin: 0;
2412
+ font: inherit;
2413
+ }
2414
+ .accordion-trigger {
2415
+ display: flex;
2416
+ align-items: center;
2417
+ justify-content: space-between;
2418
+ gap: var(--space-5);
2419
+ width: 100%;
2420
+ min-height: 48px;
2421
+ padding: var(--space-4) var(--space-1);
2422
+ border: 0;
2423
+ border-radius: 0;
2424
+ background: none;
2425
+ color: var(--ink);
2426
+ text-align: left;
2427
+ cursor: pointer;
2428
+ font: 600 calc(15px * var(--type-k))/1.35 var(--sans);
2429
+ letter-spacing: -0.005em;
2430
+ }
2431
+ @media (prefers-reduced-motion: no-preference) {
2432
+ .accordion-trigger {
2433
+ transition: color var(--t-hover) var(--ease-out);
2434
+ }
2435
+ }
2436
+ /* Hover is the chevron's ink, not the title's: a heading recoloured under a
2437
+ resting pointer read as the one section that was chosen. */
2438
+ .accordion-trigger:hover {
2439
+ background: none;
2440
+ }
2441
+ .accordion-trigger:hover .accordion-chevron {
2442
+ color: var(--ink);
2443
+ }
2444
+ /* A page field's prose is read, not inspected: the workbench's scrolling box
2445
+ around a long value stays in the record view's raw reading. */
2446
+ .page-field .long-value.prose {
2447
+ background: none;
2448
+ border: 0;
2449
+ border-radius: 0;
2450
+ padding: 0;
2451
+ max-height: none;
2452
+ font-size: var(--text-md);
2453
+ line-height: 1.6;
2454
+ }
2455
+ .accordion-trigger:focus-visible {
2456
+ outline: var(--focus-width) solid var(--focus);
2457
+ outline-offset: 2px;
2458
+ border-radius: var(--radius);
2459
+ }
2460
+ .accordion-chevron {
2461
+ flex: none;
2462
+ color: var(--ink-muted);
2463
+ }
2464
+ .accordion-item.is-open > .accordion-heading .accordion-chevron {
2465
+ transform: rotate(180deg);
2466
+ }
2467
+ .accordion-panel {
2468
+ padding: 0 var(--space-1) var(--space-5);
2469
+ color: var(--ink);
2470
+ }
2471
+ @media (prefers-reduced-motion: no-preference) {
2472
+ .accordion-chevron {
2473
+ transition: transform var(--t-press) var(--ease-out);
2474
+ }
2475
+ }
2476
+
2477
+ /* The gallery: one lead photo at a fixed ratio, so nothing moves as it
2478
+ loads, and a strip of thumbnails that scrolls inside itself. The current
2479
+ thumbnail is the accent's outline; hover is colour only. */
2480
+ .gallery {
2481
+ display: flex;
2482
+ flex-direction: column;
2483
+ gap: var(--space-3h);
2484
+ min-width: 0;
2485
+ }
2486
+ .gallery-lead {
2487
+ position: relative;
2488
+ display: block;
2489
+ width: 100%;
2490
+ padding: 0;
2491
+ aspect-ratio: 4 / 3;
2492
+ overflow: hidden;
2493
+ /* Held short enough that the thumbnails show under it on a laptop screen:
2494
+ the height the screen has left under the title, as a 4:3 width. The
2495
+ zoom-corrected height, since vh units ignore the density zoom. */
2496
+ max-width: min(100%, calc((var(--shell-vh, 100vh) - 400px) * 4 / 3));
2497
+ border: 1px solid var(--line);
2498
+ border-radius: var(--radius);
2499
+ background: var(--raised);
2500
+ }
2501
+ /* Beside an offer card the gallery leads the page, so its photo takes the
2502
+ column's width in a 16:9 frame (covered, centred): as wide as the room and
2503
+ still short enough for the thumbnails above the fold. The thumbnails and
2504
+ the lightbox keep the whole photo. A phone's column is narrow enough for
2505
+ the photo's own 4:3. */
2506
+ @media (min-width: 601px) {
2507
+ .page-layout:is([data-layout='showcase'], :has(> .page-aside .page-headline)) .gallery-lead {
2508
+ aspect-ratio: 16 / 9;
2509
+ max-width: min(100%, calc((var(--shell-vh, 100vh) - 380px) * 16 / 9));
2510
+ }
2511
+ }
2512
+ /* What opens the photo: a button over the frame, stopping at the steps' columns (a step's 40px at 10px from the
2513
+ edge, and its hit area's 2px either side) so a step and the photo are side by side, never one over the other. */
2514
+ .gallery-open {
2515
+ position: absolute;
2516
+ inset: 0;
2517
+ padding: 0;
2518
+ border: 0;
2519
+ border-radius: inherit;
2520
+ background: transparent;
2521
+ cursor: zoom-in;
2522
+ }
2523
+ .gallery-lead.has-steps > .gallery-open {
2524
+ inset: 0 56px;
2525
+ }
2526
+ .gallery-open:focus-visible {
2527
+ outline: none;
2528
+ }
2529
+ .gallery-lead:has(> .gallery-open:focus-visible) {
2530
+ outline: var(--focus-width) solid var(--focus);
2531
+ outline-offset: 2px;
2532
+ }
2533
+ .gallery-lead-image {
2534
+ display: block;
2535
+ width: 100%;
2536
+ height: 100%;
2537
+ object-fit: cover;
2538
+ }
2539
+ .gallery-count {
2540
+ position: absolute;
2541
+ right: 10px;
2542
+ bottom: 10px;
2543
+ padding: var(--space-1h) var(--space-3);
2544
+ border-radius: 999px;
2545
+ background: var(--lightbox-ground);
2546
+ color: var(--lightbox-ink);
2547
+ font: 500 var(--text-sm) var(--sans);
2548
+ font-variant-numeric: tabular-nums;
2549
+ }
2550
+ /* The lead's previous and next: square, on the photo stage's scrim, at the
2551
+ photo's middle. Quiet until the stage is hovered or holds focus where a
2552
+ pointer can hover; always there on touch, where nothing hovers. */
2553
+ .gallery-stage {
2554
+ position: relative;
2555
+ min-width: 0;
2556
+ }
2557
+ .gallery-step {
2558
+ position: absolute;
2559
+ top: 50%;
2560
+ translate: 0 -50%;
2561
+ display: grid;
2562
+ place-items: center;
2563
+ width: 40px;
2564
+ height: 40px;
2565
+ padding: 0;
2566
+ border: 0;
2567
+ border-radius: var(--radius);
2568
+ background: var(--lightbox-ground);
2569
+ color: var(--lightbox-ink);
2570
+ cursor: pointer;
2571
+ }
2572
+ /* On a touch screen a step's 40px takes a 44px hit area, as the chrome's small controls do (structure.css); it
2573
+ reaches 2px past the step, short of the photo's button. */
2574
+ @media (pointer: coarse) {
2575
+ .gallery-step::after {
2576
+ content: '';
2577
+ position: absolute;
2578
+ left: 50%;
2579
+ top: 50%;
2580
+ width: 44px;
2581
+ height: 44px;
2582
+ transform: translate(-50%, -50%);
2583
+ }
2584
+ }
2585
+ .gallery-step.is-prev {
2586
+ left: 10px;
2587
+ }
2588
+ .gallery-step.is-next {
2589
+ right: 10px;
2590
+ }
2591
+ .gallery-step:focus-visible {
2592
+ outline: var(--focus-width) solid var(--focus);
2593
+ outline-offset: 2px;
2594
+ }
2595
+ @media (hover: hover) {
2596
+ .gallery-step {
2597
+ opacity: 0;
2598
+ }
2599
+ .gallery-stage:hover .gallery-step,
2600
+ .gallery-stage:focus-within .gallery-step {
2601
+ opacity: 1;
2602
+ }
2603
+ }
2604
+ @media (hover: hover) and (prefers-reduced-motion: no-preference) {
2605
+ .gallery-step {
2606
+ transition: opacity var(--t-hover) var(--ease-out);
2607
+ }
2608
+ }
2609
+ .gallery-caption {
2610
+ margin: 0;
2611
+ color: var(--ink-muted);
2612
+ font-size: var(--text-base);
2613
+ }
2614
+ .gallery-strip {
2615
+ display: flex;
2616
+ gap: var(--space-3);
2617
+ overflow-x: auto;
2618
+ padding: var(--space-1);
2619
+ scrollbar-width: thin;
2620
+ }
2621
+ .gallery-thumb {
2622
+ flex: none;
2623
+ width: 96px;
2624
+ aspect-ratio: 4 / 3;
2625
+ padding: 0;
2626
+ overflow: hidden;
2627
+ cursor: pointer;
2628
+ border: 1px solid var(--line);
2629
+ border-radius: calc(var(--radius) - 2px);
2630
+ background: var(--raised);
2631
+ opacity: 0.78;
2632
+ transition:
2633
+ opacity var(--t-hover) var(--ease-out),
2634
+ border-color var(--t-hover) var(--ease-out);
2635
+ }
2636
+ .gallery-thumb img {
2637
+ display: block;
2638
+ width: 100%;
2639
+ height: 100%;
2640
+ object-fit: cover;
2641
+ }
2642
+ .gallery-thumb:hover {
2643
+ opacity: 1;
2644
+ }
2645
+ .gallery-thumb[aria-current='true'] {
2646
+ opacity: 1;
2647
+ border-color: var(--accent);
2648
+ box-shadow: 0 0 0 1px var(--accent);
2649
+ }
2650
+ .gallery-thumb:focus-visible {
2651
+ outline: var(--focus-width) solid var(--focus);
2652
+ outline-offset: 2px;
2653
+ }
2654
+ @media (max-width: 600px) {
2655
+ .gallery-thumb {
2656
+ width: 72px;
2657
+ }
2658
+ }
2659
+ @media (prefers-reduced-motion: reduce) {
2660
+ .gallery-thumb {
2661
+ transition: none;
2662
+ }
2663
+ }
2664
+
2665
+ /* The lightbox: the photo on a deep ground that is the same in both themes,
2666
+ because a photograph is judged against dark, whatever the page is. The
2667
+ ground and its ink are tokens (style.css); the box enters with the
2668
+ popover's fade where motion is welcome and leaves at once. */
2669
+ .lightbox-backdrop {
2670
+ position: fixed;
2671
+ inset: 0;
2672
+ z-index: 400;
2673
+ background: var(--lightbox-ground);
2674
+ }
2675
+ .lightbox {
2676
+ position: fixed;
2677
+ inset: 0;
2678
+ z-index: 401;
2679
+ display: flex;
2680
+ flex-direction: column;
2681
+ color: var(--lightbox-ink);
2682
+ outline: none;
2683
+ }
2684
+ .lightbox-body {
2685
+ display: flex;
2686
+ flex-direction: column;
2687
+ flex: 1;
2688
+ min-height: 0;
2689
+ }
2690
+ .lightbox-bar {
2691
+ display: flex;
2692
+ align-items: center;
2693
+ justify-content: space-between;
2694
+ gap: var(--space-4);
2695
+ padding: max(10px, env(safe-area-inset-top, 0px)) var(--space-5) var(--space-3h);
2696
+ }
2697
+ .lightbox-count {
2698
+ font: 500 var(--text-md) var(--sans);
2699
+ font-variant-numeric: tabular-nums;
2700
+ }
2701
+ .lightbox-close,
2702
+ .lightbox-step {
2703
+ display: inline-flex;
2704
+ align-items: center;
2705
+ justify-content: center;
2706
+ min-width: 44px;
2707
+ min-height: 44px;
2708
+ border: 1px solid var(--lightbox-line);
2709
+ border-radius: var(--radius);
2710
+ background: none;
2711
+ color: var(--lightbox-ink);
2712
+ font: 500 var(--text-md) var(--sans);
2713
+ cursor: pointer;
2714
+ }
2715
+ @media (prefers-reduced-motion: no-preference) {
2716
+ .lightbox-close,
2717
+ .lightbox-step {
2718
+ transition: background-color var(--t-hover) var(--ease-out);
2719
+ }
2720
+ }
2721
+ .lightbox-close {
2722
+ padding: 0 var(--space-4h);
2723
+ }
2724
+ .lightbox-close:hover,
2725
+ .lightbox-step:hover {
2726
+ background: var(--lightbox-line);
2727
+ }
2728
+ .lightbox-close:focus-visible,
2729
+ .lightbox-step:focus-visible {
2730
+ outline: 2px solid var(--lightbox-ink);
2731
+ outline-offset: 2px;
2732
+ }
2733
+ .lightbox-stage {
2734
+ position: relative;
2735
+ flex: 1;
2736
+ min-height: 0;
2737
+ display: grid;
2738
+ grid-template-columns: auto minmax(0, 1fr) auto;
2739
+ align-items: center;
2740
+ gap: var(--space-4);
2741
+ padding: 0 var(--space-5) max(16px, env(safe-area-inset-bottom, 0px));
2742
+ touch-action: pan-y;
2743
+ }
2744
+ .lightbox-figure {
2745
+ grid-column: 2;
2746
+ margin: 0;
2747
+ min-width: 0;
2748
+ height: 100%;
2749
+ display: flex;
2750
+ flex-direction: column;
2751
+ align-items: center;
2752
+ justify-content: center;
2753
+ gap: var(--space-3h);
2754
+ }
2755
+ /* Fitted, never cropped: the whole photo, as large as the room allows. */
2756
+ .lightbox-image {
2757
+ display: block;
2758
+ max-width: 100%;
2759
+ max-height: calc(100dvh - 140px);
2760
+ object-fit: contain;
2761
+ user-select: none;
2762
+ }
2763
+ .lightbox-caption {
2764
+ font: 400 var(--text-md)/1.4 var(--sans);
2765
+ text-align: center;
2766
+ max-width: 60ch;
2767
+ color: var(--lightbox-ink);
2768
+ opacity: 0.86;
2769
+ }
2770
+ .lightbox-prev {
2771
+ grid-column: 1;
2772
+ }
2773
+ .lightbox-next {
2774
+ grid-column: 3;
2775
+ }
2776
+ /* On a phone the steps sit over the photo's edges; the swipe is the main gesture there. */
2777
+ @media (max-width: 600px) {
2778
+ .lightbox-stage {
2779
+ grid-template-columns: minmax(0, 1fr);
2780
+ padding: 0 0 max(12px, env(safe-area-inset-bottom, 0px));
2781
+ }
2782
+ .lightbox-figure {
2783
+ grid-column: 1;
2784
+ grid-row: 1;
2785
+ }
2786
+ .lightbox-step {
2787
+ grid-row: 1;
2788
+ position: relative;
2789
+ z-index: 1;
2790
+ background: var(--lightbox-ground);
2791
+ }
2792
+ .lightbox-prev {
2793
+ grid-column: 1;
2794
+ justify-self: start;
2795
+ margin-left: var(--space-3);
2796
+ }
2797
+ .lightbox-next {
2798
+ grid-column: 1;
2799
+ justify-self: end;
2800
+ margin-right: var(--space-3);
2801
+ }
2802
+ }
2803
+ @media (prefers-reduced-motion: no-preference) {
2804
+ .lightbox,
2805
+ .lightbox-backdrop {
2806
+ transition: opacity var(--t-popover) var(--ease-out);
2807
+ }
2808
+ @starting-style {
2809
+ .lightbox,
2810
+ .lightbox-backdrop {
2811
+ opacity: 0;
2812
+ }
2813
+ }
2814
+ }
2815
+
2816
+ /* Cards: one box each, hairlines inside, the picture at a fixed 4:3 so the
2817
+ grid never moves as photos arrive. Columns follow the room (a container
2818
+ query), one to four. Hover is 120ms of border colour; the focus ring is
2819
+ the title button's, drawn around the whole card it stretches over. */
2820
+ /* The wrapper is the container: a query sizes what is inside it, never itself. */
2821
+ .cards {
2822
+ container-type: inline-size;
2823
+ min-width: 0;
2824
+ }
2825
+ .cards-grid {
2826
+ list-style: none;
2827
+ margin: 0;
2828
+ padding: 0;
2829
+ display: grid;
2830
+ grid-template-columns: minmax(0, 1fr);
2831
+ gap: var(--space-5);
2832
+ }
2833
+ @container (min-width: 520px) {
2834
+ .cards-grid {
2835
+ grid-template-columns: repeat(2, minmax(0, 1fr));
2836
+ }
2837
+ }
2838
+ @container (min-width: 820px) {
2839
+ .cards-grid {
2840
+ grid-template-columns: repeat(3, minmax(0, 1fr));
2841
+ }
2842
+ }
2843
+ @container (min-width: 1120px) {
2844
+ .cards-grid {
2845
+ grid-template-columns: repeat(4, minmax(0, 1fr));
2846
+ }
2847
+ }
2848
+ .cards-item {
2849
+ min-width: 0;
2850
+ display: flex;
2851
+ }
2852
+ /* A long page's windowed lines (useRowWindow.ts): the spacer holds the undrawn lines' height across every column. */
2853
+ .cards-spacer {
2854
+ grid-column: 1 / -1;
2855
+ }
2856
+ .cards-card {
2857
+ position: relative;
2858
+ display: flex;
2859
+ flex-direction: column;
2860
+ width: 100%;
2861
+ min-width: 0;
2862
+ overflow: hidden;
2863
+ border: 1px solid var(--line);
2864
+ border-radius: var(--radius);
2865
+ background: var(--surface);
2866
+ transition: border-color var(--t-hover) var(--ease-out);
2867
+ }
2868
+ .cards-card:hover {
2869
+ border-color: var(--line-strong);
2870
+ }
2871
+ .cards-media {
2872
+ position: relative;
2873
+ aspect-ratio: 4 / 3;
2874
+ background: var(--raised);
2875
+ border-bottom: 1px solid var(--line);
2876
+ }
2877
+ .cards-image {
2878
+ display: block;
2879
+ width: 100%;
2880
+ height: 100%;
2881
+ object-fit: cover;
2882
+ }
2883
+ /* An avatar reuses the card image source, but keeps a person-sized portrait and
2884
+ the same deterministic initials disc Value draws when the file is absent. */
2885
+ .cards-card.cards-profile {
2886
+ flex-direction: row;
2887
+ align-items: flex-start;
2888
+ gap: var(--space-4h);
2889
+ padding: 18px;
2890
+ }
2891
+ .cards-profile .cards-body {
2892
+ flex: 1;
2893
+ padding: 0;
2894
+ }
2895
+ .cards-profile .cards-facts {
2896
+ grid-template-columns: minmax(0, 1fr);
2897
+ }
2898
+ .cards-media.cards-avatar {
2899
+ flex: none;
2900
+ display: grid;
2901
+ place-items: center;
2902
+ aspect-ratio: auto;
2903
+ background: none;
2904
+ border: 0;
2905
+ }
2906
+ .cards-media.cards-avatar .cards-image,
2907
+ .cards-media .cards-avatar-mark {
2908
+ width: 48px;
2909
+ height: 48px;
2910
+ border-radius: 50%;
2911
+ }
2912
+ .cards-media.cards-avatar .cards-image {
2913
+ border: 1px solid var(--line);
2914
+ object-fit: cover;
2915
+ }
2916
+ .cards-media .cards-avatar-mark {
2917
+ font-size: calc(17px * var(--type-k));
2918
+ }
2919
+ .cards-placeholder {
2920
+ position: absolute;
2921
+ inset: 0;
2922
+ display: flex;
2923
+ align-items: center;
2924
+ justify-content: center;
2925
+ color: var(--ink-subtle);
2926
+ }
2927
+ .cards-body {
2928
+ display: flex;
2929
+ flex-direction: column;
2930
+ gap: var(--space-2h);
2931
+ padding: var(--space-4) var(--space-4h) var(--space-4h);
2932
+ min-width: 0;
2933
+ }
2934
+ .cards-title {
2935
+ margin: 0;
2936
+ font: 600 calc(15px * var(--type-k))/1.35 var(--sans);
2937
+ letter-spacing: -0.005em;
2938
+ color: var(--ink);
2939
+ }
2940
+ /* The value's mark before the name, in the caption's ink like a mark anywhere; it sits on the text's first line and never pushes the title's wrap. */
2941
+ .cards-icon {
2942
+ margin-right: var(--space-2h);
2943
+ vertical-align: -2px;
2944
+ color: var(--ink-muted);
2945
+ }
2946
+ /* An icon tile (media: 'icon'): the value's mark large on a tinted square — its tone's where the rule gives one —
2947
+ leading the card where a picture would, a fixed square so every card's title starts on one line. */
2948
+ .cards-tile {
2949
+ flex: none;
2950
+ display: inline-grid;
2951
+ place-items: center;
2952
+ width: 44px;
2953
+ height: 44px;
2954
+ margin-bottom: var(--space-2);
2955
+ border-radius: var(--radius-item, var(--radius));
2956
+ }
2957
+ /* Untoned, the lead square's accent tint; a tone class colours it instead (features.css). */
2958
+ .cards-tile:not([class*='tone-']) {
2959
+ color: color-mix(in srgb, var(--accent) 80%, var(--ink));
2960
+ background: color-mix(in srgb, var(--accent) 12%, transparent);
2961
+ }
2962
+ /* The foot (footer): values along the card's last line under a hairline, at the card's bottom so a row of cards ends
2963
+ together. The first value — a price — in the ink, the rest in the caption's. */
2964
+ .cards-foot {
2965
+ display: flex;
2966
+ flex-wrap: wrap;
2967
+ gap: var(--space-2) var(--space-5);
2968
+ margin: auto 0 0;
2969
+ padding: var(--space-3h) var(--space-4h);
2970
+ border-top: 1px solid var(--line);
2971
+ color: var(--ink-muted);
2972
+ font: 400 var(--text-base)/1.35 var(--sans);
2973
+ font-variant-numeric: tabular-nums;
2974
+ }
2975
+ .cards-foot-item {
2976
+ min-width: 0;
2977
+ overflow-wrap: anywhere;
2978
+ }
2979
+ .cards-foot-item:first-child {
2980
+ color: var(--ink);
2981
+ }
2982
+ /* On a profile card the foot spans under the portrait and the text, edge to edge. */
2983
+ .cards-card.cards-profile:has(.cards-foot) {
2984
+ flex-wrap: wrap;
2985
+ }
2986
+ .cards-profile .cards-foot {
2987
+ flex-basis: 100%;
2988
+ margin: var(--space-2) -18px -18px;
2989
+ }
2990
+ .cards-open {
2991
+ display: inline;
2992
+ padding: 0;
2993
+ min-height: 0;
2994
+ border: 0;
2995
+ background: none;
2996
+ color: inherit;
2997
+ font: inherit;
2998
+ text-align: left;
2999
+ cursor: pointer;
3000
+ }
3001
+ /* The button covers the card, so the whole card is the one target. */
3002
+ .cards-open::after {
3003
+ content: '';
3004
+ position: absolute;
3005
+ inset: 0;
3006
+ border-radius: var(--radius);
3007
+ }
3008
+ .cards-open:hover {
3009
+ background: none;
3010
+ color: inherit;
3011
+ }
3012
+ .cards-open:focus-visible {
3013
+ outline: none;
3014
+ }
3015
+ .cards-open:focus-visible::after {
3016
+ outline: var(--focus-width) solid var(--focus);
3017
+ outline-offset: -2px;
3018
+ }
3019
+ .cards-description {
3020
+ margin: 0;
3021
+ color: var(--ink-muted);
3022
+ font: 400 var(--text-base)/1.45 var(--sans);
3023
+ overflow-wrap: anywhere;
3024
+ display: -webkit-box;
3025
+ -webkit-box-orient: vertical;
3026
+ -webkit-line-clamp: 3;
3027
+ line-clamp: 3;
3028
+ overflow: hidden;
3029
+ }
3030
+ .cards-value {
3031
+ margin: 0;
3032
+ font: 650 var(--text-xl)/1.2 var(--sans);
3033
+ letter-spacing: var(--track-title);
3034
+ color: var(--ink);
3035
+ font-variant-numeric: tabular-nums;
3036
+ }
3037
+ .cards-value .num-value {
3038
+ font: inherit;
3039
+ }
3040
+ .cards-facts {
3041
+ display: grid;
3042
+ grid-template-columns: repeat(2, minmax(0, 1fr));
3043
+ gap: var(--space-2h) var(--space-4);
3044
+ margin: var(--space-2) 0 0;
3045
+ }
3046
+ .cards-fact {
3047
+ min-width: 0;
3048
+ }
3049
+ .cards-fact > dt {
3050
+ color: var(--ink-subtle);
3051
+ font: 500 var(--text-xs) var(--sans);
3052
+ }
3053
+ .cards-fact > dd {
3054
+ margin: 0;
3055
+ color: var(--ink-muted);
3056
+ font: 400 var(--text-base)/1.35 var(--sans);
3057
+ overflow-wrap: anywhere;
3058
+ }
3059
+ .cards-card.has-media:not(.cards-profile) .cards-badge {
3060
+ position: absolute;
3061
+ top: 10px;
3062
+ left: 10px;
3063
+ padding: var(--space-1h) var(--space-3h);
3064
+ border-radius: 999px;
3065
+ background: var(--surface);
3066
+ color: var(--ink);
3067
+ font: 600 var(--text-sm)/1.4 var(--sans);
3068
+ box-shadow: 0 0 0 1px var(--line);
3069
+ }
3070
+ .cards-body > .cards-badge {
3071
+ align-self: flex-start;
3072
+ padding: var(--space-1h) var(--space-3h);
3073
+ border-radius: 999px;
3074
+ background: var(--raised);
3075
+ color: var(--ink);
3076
+ font: 600 var(--text-sm)/1.4 var(--sans);
3077
+ }
3078
+ .cards-body > .cards-badge:has(> .tone) {
3079
+ padding: 0;
3080
+ background: none;
3081
+ }
3082
+ @media (prefers-reduced-motion: reduce) {
3083
+ .cards-card {
3084
+ transition: none;
3085
+ }
3086
+ }
3087
+
3088
+ /* Attachments: a quiet list of files in the page's own tokens. The badge is
3089
+ the extension in words; a drop target is the accent's outline, nothing more. */
3090
+ .attachments {
3091
+ border-radius: var(--radius);
3092
+ transition: box-shadow var(--t-hover) var(--ease-out);
3093
+ }
3094
+ .attachments.is-over {
3095
+ box-shadow: 0 0 0 2px var(--accent);
3096
+ background: var(--accent-soft);
3097
+ }
3098
+ /* The drop area is an edge you can aim a file at, dashed in the border ink
3099
+ so it reads as a place, not as another card; while a file is over the
3100
+ list it takes the accent with the list. */
3101
+ .attachments-add {
3102
+ display: flex;
3103
+ flex-wrap: wrap;
3104
+ align-items: center;
3105
+ gap: var(--space-3) var(--space-4);
3106
+ margin-bottom: var(--space-3h);
3107
+ padding: var(--space-4);
3108
+ border: 1px dashed var(--line-strong, var(--line));
3109
+ border-radius: var(--radius);
3110
+ }
3111
+ .attachments.is-over .attachments-add {
3112
+ border-color: var(--accent);
3113
+ }
3114
+ .attachments-hint {
3115
+ color: var(--ink-subtle);
3116
+ font-size: var(--text-sm);
3117
+ }
3118
+ .attachments-said {
3119
+ color: var(--status-good);
3120
+ font-size: var(--text-sm);
3121
+ }
3122
+ .attachments-error {
3123
+ color: var(--status-critical);
3124
+ font-size: var(--text-sm);
3125
+ flex-basis: 100%;
3126
+ }
3127
+ .attachments-list {
3128
+ list-style: none;
3129
+ margin: 0;
3130
+ padding: 0;
3131
+ display: flex;
3132
+ flex-direction: column;
3133
+ }
3134
+ .attachments-item {
3135
+ display: flex;
3136
+ align-items: center;
3137
+ gap: var(--space-4);
3138
+ padding: var(--space-3) 0;
3139
+ border-top: 1px solid var(--line);
3140
+ min-width: 0;
3141
+ }
3142
+ .attachments-item:first-child {
3143
+ border-top: 0;
3144
+ }
3145
+ .attachments-badge {
3146
+ /* At least square, and wider for a four-letter word: "JSON" no longer
3147
+ touches the badge's edges. */
3148
+ flex: none;
3149
+ display: inline-flex;
3150
+ align-items: center;
3151
+ justify-content: center;
3152
+ min-width: 38px;
3153
+ height: 38px;
3154
+ padding: 0 var(--space-2h);
3155
+ box-sizing: border-box;
3156
+ border-radius: calc(var(--radius) - 2px);
3157
+ background: var(--accent-soft);
3158
+ color: var(--accent-ink);
3159
+ font: 600 var(--text-xs) var(--sans);
3160
+ letter-spacing: 0.02em;
3161
+ }
3162
+ .attachments-text {
3163
+ display: flex;
3164
+ flex-direction: column;
3165
+ align-items: flex-start;
3166
+ min-width: 0;
3167
+ flex: 1;
3168
+ }
3169
+ .attachments-name {
3170
+ max-width: 100%;
3171
+ padding: 0;
3172
+ border: 0;
3173
+ background: none;
3174
+ text-align: left;
3175
+ cursor: pointer;
3176
+ color: var(--link);
3177
+ font: inherit;
3178
+ font-weight: 500;
3179
+ overflow: hidden;
3180
+ text-overflow: ellipsis;
3181
+ white-space: nowrap;
3182
+ text-decoration: none;
3183
+ }
3184
+ .attachments-name:hover {
3185
+ text-decoration: underline;
3186
+ }
3187
+ .attachments-actions {
3188
+ flex: none;
3189
+ display: inline-flex;
3190
+ align-items: center;
3191
+ gap: var(--space-2);
3192
+ }
3193
+ .attachments-download {
3194
+ text-decoration: none;
3195
+ }
3196
+ /* Rename in place: the box and its two buttons on the name's own line. */
3197
+ .attachments-rename {
3198
+ flex: 1;
3199
+ min-width: 0;
3200
+ display: flex;
3201
+ flex-wrap: wrap;
3202
+ align-items: flex-end;
3203
+ gap: var(--space-3);
3204
+ }
3205
+ .attachments-rename .form-field {
3206
+ flex: 1 1 14rem;
3207
+ min-width: 0;
3208
+ margin: 0;
3209
+ }
3210
+ .attachments-rename-actions {
3211
+ display: inline-flex;
3212
+ gap: var(--space-3);
3213
+ }
3214
+
3215
+ .attachments-meta {
3216
+ color: var(--ink-muted);
3217
+ font-size: var(--text-sm);
3218
+ font-variant-numeric: tabular-nums;
3219
+ }
3220
+ @media (prefers-reduced-motion: reduce) {
3221
+ .attachments {
3222
+ transition: none;
3223
+ }
3224
+ }
3225
+
3226
+ /* A record's tags: small toned chips under the title. The × and + stay quiet
3227
+ until wanted; the chip's tone is the App's, never a colour of its own. */
3228
+ .record-tags {
3229
+ display: flex;
3230
+ flex-wrap: wrap;
3231
+ align-items: center;
3232
+ gap: var(--space-2h);
3233
+ margin: var(--space-3) 0 var(--space-1);
3234
+ }
3235
+ .record-tags-list {
3236
+ display: flex;
3237
+ flex-wrap: wrap;
3238
+ gap: var(--space-2h);
3239
+ list-style: none;
3240
+ margin: 0;
3241
+ padding: 0;
3242
+ }
3243
+ .record-tag {
3244
+ display: inline-flex;
3245
+ align-items: center;
3246
+ gap: var(--space-2);
3247
+ }
3248
+ /* A record's tags where a value is drawn whole (a phone's row card, a summary): every chip, wrapping between chips. */
3249
+ .value-tags {
3250
+ display: inline-flex;
3251
+ flex-wrap: wrap;
3252
+ gap: var(--space-2);
3253
+ vertical-align: middle;
3254
+ }
3255
+ /* A record's tags in a list's cell: one line of chips, the rest counted. */
3256
+ .tags-cell-list {
3257
+ display: inline-flex;
3258
+ align-items: center;
3259
+ gap: var(--space-2);
3260
+ max-width: 100%;
3261
+ overflow: hidden;
3262
+ white-space: nowrap;
3263
+ vertical-align: middle;
3264
+ }
3265
+ .tags-cell-more {
3266
+ color: var(--ink-muted);
3267
+ font-size: var(--text-sm);
3268
+ }
3269
+ /* In the tag's own ink: faded to .55 the × was 2.3:1, too faint for the one mark of a control. */
3270
+ .record-tag-remove {
3271
+ border: 0;
3272
+ background: none;
3273
+ padding: 0 var(--space-1);
3274
+ min-height: 0;
3275
+ color: inherit;
3276
+ cursor: pointer;
3277
+ font: inherit;
3278
+ line-height: 1;
3279
+ }
3280
+ .record-tags-add {
3281
+ padding: var(--space-1) var(--space-3);
3282
+ min-height: 0;
3283
+ font-size: var(--text-sm);
3284
+ color: var(--ink-muted);
3285
+ border-style: dashed;
3286
+ }
3287
+ .record-tags-pick {
3288
+ min-width: 220px;
3289
+ }
3290
+
3291
+ /* A record's headline: the figure large with its call to action beside it,
3292
+ the facts in one row under their captions. The action is the accent
3293
+ button, at least 44px tall, full width on a phone. */
3294
+ .page-headline {
3295
+ display: grid;
3296
+ grid-template-columns: minmax(0, 1fr) auto;
3297
+ grid-template-areas: 'figure actions' 'sub actions' 'facts facts' 'note note';
3298
+ align-items: center;
3299
+ gap: var(--space-4h) var(--space-6);
3300
+ }
3301
+ .page-headline-figure {
3302
+ grid-area: figure;
3303
+ }
3304
+ .page-headline-sub {
3305
+ grid-area: sub;
3306
+ }
3307
+ .page-headline-actions {
3308
+ grid-area: actions;
3309
+ }
3310
+ .page-headline-facts {
3311
+ grid-area: facts;
3312
+ }
3313
+ .page-headline-note {
3314
+ grid-area: note;
3315
+ }
3316
+ /* The second figure sits under the first, a step down in size and ink: an
3317
+ estimate is read after the price, never instead of it. */
3318
+ .page-headline-sub {
3319
+ margin: -8px 0 0;
3320
+ color: var(--ink-muted);
3321
+ font: 500 calc(15px * var(--type-k)) var(--sans);
3322
+ font-variant-numeric: tabular-nums;
3323
+ }
3324
+ .page-headline-sub .num-value {
3325
+ font: inherit;
3326
+ color: var(--ink);
3327
+ }
3328
+ .page-headline-note {
3329
+ margin: 0;
3330
+ color: var(--ink-subtle);
3331
+ font: var(--text-sm)/1.5 var(--sans);
3332
+ }
3333
+
3334
+ /* A facts line: the values alone, one sentence of them, a dot between. The
3335
+ first says the most (a year, a size), so all are the same weight and ink:
3336
+ hierarchy is the order, not the dress. Wraps as words do. */
3337
+ /* No dot opens a line: every fact carries its dot in the column gap before
3338
+ it, and the row clips sideways, so the dot of a fact that starts a line
3339
+ falls outside the row and is not drawn. */
3340
+ .page-facts {
3341
+ display: flex;
3342
+ flex-wrap: wrap;
3343
+ align-items: baseline;
3344
+ gap: var(--space-2) 21px;
3345
+ margin: 0;
3346
+ padding: 0;
3347
+ list-style: none;
3348
+ color: var(--ink);
3349
+ font: 500 calc(15.5px * var(--type-k))/1.5 var(--sans);
3350
+ overflow-x: clip;
3351
+ }
3352
+ .page-fact {
3353
+ display: inline-flex;
3354
+ align-items: baseline;
3355
+ }
3356
+ .page-fact::before {
3357
+ content: '·';
3358
+ flex: none;
3359
+ width: 21px;
3360
+ margin-inline-start: -21px;
3361
+ text-align: center;
3362
+ color: var(--ink-subtle);
3363
+ }
3364
+ .page-fact .num-value,
3365
+ .page-fact .date-value {
3366
+ font: inherit;
3367
+ }
3368
+ .page-fact-caption {
3369
+ color: var(--ink-muted);
3370
+ white-space: pre;
3371
+ }
3372
+ /* A fact is a flex row, which drops the space at a word's edge: kept, so "Born Apr 24" never reads "BornApr 24". */
3373
+ .page-fact-word {
3374
+ white-space: pre;
3375
+ }
3376
+ .page-section:has(> .page-facts) {
3377
+ border-top: 0;
3378
+ padding-top: 0;
3379
+ }
3380
+ /* Wrapped facts use spacing: a separator at the start of a new line reads
3381
+ like a stray bullet rather than a boundary between values. */
3382
+ @media (max-width: 600px) {
3383
+ .page-facts {
3384
+ gap: var(--space-3) var(--space-5);
3385
+ }
3386
+ .page-fact + .page-fact::before {
3387
+ content: none;
3388
+ }
3389
+ }
3390
+ @container record-host (max-width: 600px) {
3391
+ .page-facts {
3392
+ gap: var(--space-3) var(--space-5);
3393
+ }
3394
+ .page-fact + .page-fact::before {
3395
+ content: none;
3396
+ }
3397
+ }
3398
+
3399
+ /* A sheet: caption beside value, a hairline under each row, in columns of
3400
+ rows where the room has the width. The caption is quiet; the value is
3401
+ what is read. */
3402
+ .page-sheet {
3403
+ /* At most the columns asked for, and one fewer wherever a column would be
3404
+ narrower than 16rem: a column's least width is the wider of 16rem and an
3405
+ exact Nth of the row. The sheet decides from its own width, so it holds
3406
+ in any host — a public page is not a record-host container. */
3407
+ display: grid;
3408
+ column-gap: var(--space-7);
3409
+ grid-template-columns: repeat(
3410
+ auto-fill,
3411
+ minmax(min(100%, max(16rem, (100% - (var(--page-sheet-columns, 1) - 1) * 32px) / var(--page-sheet-columns, 1))), 1fr)
3412
+ );
3413
+ margin: 0;
3414
+ max-width: 100rem;
3415
+ }
3416
+ .page-sheet-row {
3417
+ display: grid;
3418
+ grid-template-columns: minmax(8rem, 40%) minmax(0, 1fr);
3419
+ gap: var(--space-4);
3420
+ padding: var(--space-3) 0;
3421
+ border-bottom: 1px solid var(--line);
3422
+ min-width: 0;
3423
+ }
3424
+ .page-sheet-row > dt {
3425
+ color: var(--ink-muted);
3426
+ font: var(--text-base)/1.5 var(--sans);
3427
+ }
3428
+ .page-sheet-row > dd {
3429
+ margin: 0;
3430
+ color: var(--ink);
3431
+ font: 500 var(--text-md)/1.5 var(--sans);
3432
+ min-width: 0;
3433
+ overflow-wrap: anywhere;
3434
+ }
3435
+ /* A text of one item per line, as a list: two or three columns of items
3436
+ where there is room, each after a quiet check in the accent. */
3437
+ .value-items {
3438
+ display: grid;
3439
+ grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
3440
+ gap: var(--space-3) var(--space-6);
3441
+ margin: 0;
3442
+ padding: 0;
3443
+ list-style: none;
3444
+ font: var(--text-md)/1.45 var(--sans);
3445
+ color: var(--ink);
3446
+ }
3447
+ .value-items li {
3448
+ position: relative;
3449
+ padding-left: var(--space-6);
3450
+ }
3451
+ .value-items li::before {
3452
+ content: '';
3453
+ position: absolute;
3454
+ left: 2px;
3455
+ top: 0.3em;
3456
+ width: 10px;
3457
+ height: 5px;
3458
+ border-left: 1.7px solid var(--accent);
3459
+ border-bottom: 1.7px solid var(--accent);
3460
+ transform: rotate(-45deg);
3461
+ }
3462
+
3463
+ /* A card's summary: its facts as one line under the figure, a dot between. */
3464
+ /* As a facts line (above): the dot rides in the gap, and one that would open
3465
+ a line is clipped, so "· Operations" never starts the second line. */
3466
+ /* One line, ending in an ellipsis where it runs out: a summary that wrapped
3467
+ in one card and not the next set the facts under it 22px lower there than
3468
+ in its neighbour, so a row of cards read as a row of different forms. The
3469
+ first item's dot stands outside the line and is clipped with it. */
3470
+ .cards-summary {
3471
+ display: block;
3472
+ margin: var(--space-1) 0 0;
3473
+ overflow: hidden;
3474
+ white-space: nowrap;
3475
+ text-overflow: ellipsis;
3476
+ color: var(--ink-muted);
3477
+ font: var(--text-base)/1.45 var(--sans);
3478
+ }
3479
+ .cards-summary-item + .cards-summary-item {
3480
+ margin-inline-start: var(--space-5);
3481
+ }
3482
+ .cards-summary-item::before {
3483
+ content: '·';
3484
+ display: inline-block;
3485
+ width: 15px;
3486
+ margin-inline-start: -15px;
3487
+ text-align: center;
3488
+ color: var(--ink-subtle);
3489
+ }
3490
+ .cards-summary .num-value {
3491
+ font: inherit;
3492
+ }
3493
+
3494
+ /* A list's Sort menu: the word, then the choice, at the filters' height. */
3495
+ .applist-sort {
3496
+ display: inline-flex;
3497
+ align-items: center;
3498
+ gap: var(--space-3);
3499
+ }
3500
+ .applist-sort-label {
3501
+ color: var(--ink-muted);
3502
+ font: var(--text-base) var(--sans);
3503
+ }
3504
+ .page-headline-figure {
3505
+ margin: 0;
3506
+ font: 650 calc(32px * var(--type-k))/1.15 var(--sans);
3507
+ letter-spacing: var(--track-display);
3508
+ color: var(--ink);
3509
+ font-variant-numeric: tabular-nums;
3510
+ }
3511
+ .page-headline-figure .num-value {
3512
+ font: inherit;
3513
+ }
3514
+ /* The earlier price beside the price, a step down and struck through: read second, and as what it was. */
3515
+ .page-headline-was {
3516
+ margin-left: var(--space-3h);
3517
+ color: var(--ink-subtle);
3518
+ font: 500 calc(17px * var(--type-k)) var(--sans);
3519
+ letter-spacing: 0;
3520
+ text-decoration: line-through;
3521
+ text-decoration-thickness: 1px;
3522
+ }
3523
+ .page-headline-was .num-value {
3524
+ font: inherit;
3525
+ color: inherit;
3526
+ }
3527
+ .page-headline-actions {
3528
+ display: flex;
3529
+ flex-wrap: wrap;
3530
+ gap: var(--space-3h);
3531
+ }
3532
+ .page-headline-action {
3533
+ display: inline-flex;
3534
+ align-items: center;
3535
+ justify-content: center;
3536
+ min-height: 44px;
3537
+ padding: 0 20px;
3538
+ border: 1px solid transparent;
3539
+ border-radius: var(--radius);
3540
+ font: 600 calc(15px * var(--type-k)) var(--sans);
3541
+ text-decoration: none;
3542
+ }
3543
+ .page-headline-action.is-primary {
3544
+ background: var(--primary, var(--accent));
3545
+ color: var(--on-primary, var(--on-accent));
3546
+ }
3547
+ .page-headline-action.is-primary:hover {
3548
+ background: color-mix(in srgb, var(--primary, var(--accent)) 86%, var(--ink));
3549
+ }
3550
+ .page-headline-action.is-secondary {
3551
+ color: var(--ink);
3552
+ border-color: var(--line-strong);
3553
+ }
3554
+ .page-headline-action.is-secondary:hover {
3555
+ background: var(--raised);
3556
+ }
3557
+ .page-headline-action:focus-visible {
3558
+ outline: var(--focus-width) solid var(--focus);
3559
+ outline-offset: 2px;
3560
+ }
3561
+ .page-headline-facts {
3562
+ display: flex;
3563
+ flex-wrap: wrap;
3564
+ gap: var(--space-3) var(--space-7);
3565
+ margin: 0;
3566
+ }
3567
+ /* A caption is read, not squinted at: 12.5px, as a card's facts say theirs. */
3568
+ .page-headline-facts > div > dt {
3569
+ color: var(--ink-muted);
3570
+ font: 500 var(--text-sm) var(--sans);
3571
+ }
3572
+ .page-headline-facts > div > dd {
3573
+ margin: var(--space-1) 0 0;
3574
+ color: var(--ink);
3575
+ font: 500 calc(15px * var(--type-k)) var(--sans);
3576
+ }
3577
+ @media (max-width: 600px) {
3578
+ /* A phone reads the price, then the facts, then the button, full width under them. */
3579
+ .page-headline {
3580
+ grid-template-columns: minmax(0, 1fr);
3581
+ grid-template-areas: 'figure' 'sub' 'facts' 'actions' 'note';
3582
+ }
3583
+ .page-headline-figure {
3584
+ font-size: calc(28px * var(--type-k));
3585
+ }
3586
+ .page-headline-action {
3587
+ flex: 1 1 100%;
3588
+ }
3589
+ }
3590
+ @media (prefers-reduced-motion: no-preference) {
3591
+ .page-headline-action {
3592
+ transition: background-color var(--t-hover) var(--ease-out);
3593
+ }
3594
+ }
3595
+
3596
+ /* A headline in the side panel is the offer: one card beside the photos,
3597
+ the figure first, the facts in two columns, the call to action across its
3598
+ foot. The panel widens for it, drops its rule (the card is the edge), and
3599
+ stays in view while the details below scroll past — anchored to the top
3600
+ of the grid, as the related panel is, so sticky has room to work. */
3601
+ .page-layout:not([data-layout='showcase']):has(> .page-aside .page-headline) {
3602
+ grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
3603
+ }
3604
+ .page-layout:not([data-layout='showcase']) > .page-aside:has(.page-headline) {
3605
+ border-left: 0;
3606
+ padding-left: 0;
3607
+ position: sticky;
3608
+ top: 16px;
3609
+ align-self: start;
3610
+ }
3611
+ .page-aside .page-headline {
3612
+ display: flex;
3613
+ flex-direction: column;
3614
+ align-items: stretch;
3615
+ gap: var(--space-5);
3616
+ padding: 20px;
3617
+ border: 1px solid var(--line);
3618
+ border-radius: var(--radius);
3619
+ background: var(--surface);
3620
+ }
3621
+ /* A column, not a grid of named rows: a grid kept a gap for the second figure
3622
+ and the small print when the card had neither, and its foot stood 39px
3623
+ under the button against 20px over the price. The call to action follows
3624
+ the facts, and the small print closes the card. */
3625
+ .page-aside .page-headline > .page-headline-actions {
3626
+ order: 1;
3627
+ }
3628
+ .page-aside .page-headline > .page-headline-note {
3629
+ order: 2;
3630
+ }
3631
+ /* A card (presentation: 'card'): the record a reference names, dressed as
3632
+ the offer card beside it — one box, a hairline, the look's radius — so the
3633
+ aside reads as two boxes of one kind. Its caption is the section's title,
3634
+ its title the record's name in the heading face, a link in all but colour
3635
+ until it is hovered; the facts two across; "View dealer" ruled off below. */
3636
+ .page-card-section {
3637
+ border-top: 0;
3638
+ padding-top: 0;
3639
+ }
3640
+ /* Two boxes stacked in the aside (the offer, then who sells it) are one
3641
+ column of cards, not two sections: 20px between them, not the 40px seam. */
3642
+ .page-aside > .page-section:is(:has(.page-headline), .page-card-section) + .page-card-section {
3643
+ margin-top: -20px;
3644
+ }
3645
+ .page-card {
3646
+ display: grid;
3647
+ gap: var(--space-4);
3648
+ padding: 20px;
3649
+ border: 1px solid var(--line);
3650
+ border-radius: var(--radius);
3651
+ background: var(--surface);
3652
+ min-width: 0;
3653
+ }
3654
+ .page-card-caption {
3655
+ margin: 0;
3656
+ font: 600 var(--text-xs) var(--sans);
3657
+ text-transform: uppercase;
3658
+ letter-spacing: var(--track-caps, 0.05em);
3659
+ color: var(--ink-muted);
3660
+ }
3661
+ .page-card-title {
3662
+ margin: 0;
3663
+ font: var(--heading-weight, 600) calc(18px * var(--type-k))/1.3 var(--heading-font, var(--sans));
3664
+ letter-spacing: var(--track-title, -0.012em);
3665
+ overflow-wrap: anywhere;
3666
+ }
3667
+ .page-card-facts {
3668
+ display: grid;
3669
+ grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
3670
+ gap: var(--space-4) var(--space-5);
3671
+ margin: 0;
3672
+ }
3673
+ .page-card-fact {
3674
+ min-width: 0;
3675
+ }
3676
+ /* An address is read whole or cut with an ellipsis (its title says the rest), never broken mid-word across two lines
3677
+ in a column of 8rem: an email takes the card's row. */
3678
+ .page-card-fact:has(> dd > a.value-link:is([href^='mailto:'], [href^='http'])) {
3679
+ grid-column: 1 / -1;
3680
+ }
3681
+ .page-card-fact > dd > a.value-link:is([href^='mailto:'], [href^='http']) {
3682
+ display: block;
3683
+ overflow: hidden;
3684
+ text-overflow: ellipsis;
3685
+ white-space: nowrap;
3686
+ }
3687
+ .page-card-fact > dt {
3688
+ font: 500 var(--text-sm) var(--sans);
3689
+ color: var(--ink-muted);
3690
+ }
3691
+ .page-card-fact > dd {
3692
+ margin: var(--space-1) 0 0;
3693
+ font-size: var(--text-md);
3694
+ overflow-wrap: anywhere;
3695
+ }
3696
+ .page-card-foot {
3697
+ margin: var(--space-2) 0 0;
3698
+ padding-top: var(--space-4);
3699
+ border-top: 1px solid var(--line);
3700
+ }
3701
+ /* The card's links are words, not chips: the reference pill is the Workbench's. */
3702
+ button.ref-jump:is(.page-card-name, .page-card-more) {
3703
+ display: inline;
3704
+ padding: 0;
3705
+ border: 0;
3706
+ border-radius: 0;
3707
+ background: none;
3708
+ box-shadow: none;
3709
+ font: inherit;
3710
+ color: inherit;
3711
+ text-align: left;
3712
+ cursor: pointer;
3713
+ }
3714
+ button.ref-jump.page-card-name:hover {
3715
+ background: none;
3716
+ color: var(--link);
3717
+ text-decoration: underline;
3718
+ text-underline-offset: 3px;
3719
+ }
3720
+ button.ref-jump.page-card-more {
3721
+ color: var(--link);
3722
+ font: 500 var(--text-base) var(--sans);
3723
+ }
3724
+ button.ref-jump.page-card-more::after {
3725
+ content: ' →';
3726
+ }
3727
+ button.ref-jump.page-card-more:hover {
3728
+ background: none;
3729
+ text-decoration: underline;
3730
+ text-underline-offset: 3px;
3731
+ }
3732
+ .page-aside .page-headline-facts {
3733
+ display: grid;
3734
+ grid-template-columns: repeat(2, minmax(0, 1fr));
3735
+ gap: var(--space-4) var(--space-5);
3736
+ }
3737
+ .page-aside .page-headline-facts > div {
3738
+ min-width: 0;
3739
+ }
3740
+ .page-aside .page-headline-facts > div > dd {
3741
+ overflow-wrap: anywhere;
3742
+ }
3743
+ .page-aside .page-headline-action {
3744
+ flex: 1 1 100%;
3745
+ }
3746
+ /* One column: what the aside says about the record's surroundings — the
3747
+ offer card (the headline: the price and its actions), the card of the
3748
+ record a reference names, the one current row — follows the photos and the
3749
+ summary, ahead of the related lists it explains; the rest of the aside —
3750
+ the properties rail, the history, the notes — follows the main work, as any
3751
+ aside does stacked. Moving the whole aside up put a property rail and a
3752
+ history ahead of a lease's payments. The two bodies give
3753
+ up their boxes so their sections share one order. A grid rather than a
3754
+ flex column: its items fill the width however little they hold (a shut
3755
+ accordion), and a section's row-wrap flex-basis means nothing here
3756
+ instead of becoming a height. */
3757
+ @media (max-width: 1100px) {
3758
+ /* Which layouts these are is said by the page (`data-leads`, Page.tsx), not asked with
3759
+ `:has(> .page-aside :is(.page-headline, .page-card-section))`: a :has() over the whole layout restyled every
3760
+ section on the page each time an element came or went in it (test/built-client-vitals.mjs). The attribute
3761
+ said twice keeps the weight :has() gave.
3762
+ The row gap is the bodies' own (`--page-row-gap` is set on .page-body, which
3763
+ gave up its box here): read bare on the layout it was undefined, the gap
3764
+ fell to nothing, and a card stood flush under the list above it. */
3765
+ .page-layout[data-leads][data-leads]:not([data-layout]) {
3766
+ display: grid;
3767
+ grid-template-columns: minmax(0, 1fr);
3768
+ gap: var(--page-row-gap, var(--section-seam));
3769
+ }
3770
+ .page-layout[data-leads][data-leads]:not([data-layout]) > .page-body {
3771
+ display: contents;
3772
+ }
3773
+ .page-layout[data-leads][data-leads]:not([data-layout]) > .page-main > * {
3774
+ order: 2;
3775
+ }
3776
+ .page-layout[data-leads][data-leads]:not([data-layout]) > .page-main > :first-child {
3777
+ order: 0;
3778
+ }
3779
+ .page-layout[data-leads][data-leads]:not([data-layout]) > .page-aside > * {
3780
+ order: 3;
3781
+ }
3782
+ .page-layout[data-leads][data-leads]:not([data-layout])
3783
+ > .page-aside
3784
+ > :is(:has(.page-headline), .page-card-section:not(.page-reference-card)) {
3785
+ order: 1;
3786
+ }
3787
+ /* The headline and a current() row lead the lists; a reference card (card(), the parent) is context, so it
3788
+ follows the main work with the rail (a field report on 0.9.0). */
3789
+ /* The card that followed the headline in the aside now follows the lists:
3790
+ it keeps the row gap instead of tucking under a box that is no longer above it. */
3791
+ .page-layout[data-leads][data-leads]:not([data-layout]) > .page-aside > .page-section:has(.page-headline) + .page-card-section {
3792
+ margin-top: 0;
3793
+ }
3794
+ }
3795
+ }
3796
+
3797
+ /* Notes (DashboardNote.tsx): a dashboard's and, since pages draw them too, a
3798
+ record page's. Kept here rather than beside the component because the
3799
+ page modules may not import a stylesheet — they are read outside a bundler
3800
+ (test/agreement.test.ts) — and this sheet is on every screen already.
3801
+ Still a component's rules: after the base, before any look. */
3802
+ @layer components {
3803
+ .dashboard-note {
3804
+ max-width: 44rem;
3805
+ padding: var(--space-2) 0;
3806
+ }
3807
+ .dashboard-note.is-quiet {
3808
+ padding: 0;
3809
+ }
3810
+ .dashboard-note.is-quiet .dashboard-note-title {
3811
+ font-size: var(--text-base);
3812
+ }
3813
+ .dashboard-note.is-quiet .dashboard-note-text {
3814
+ margin-top: var(--space-1);
3815
+ font-size: var(--text-sm);
3816
+ color: var(--ink-subtle);
3817
+ }
3818
+ .dashboard-note.is-callout {
3819
+ padding: var(--space-4) var(--space-4h);
3820
+ border: 1px solid var(--rule, var(--line));
3821
+ border-radius: var(--radius);
3822
+ background: color-mix(in srgb, var(--accent) 6%, var(--surface, var(--ground)));
3823
+ }
3824
+ .dashboard-note-icon {
3825
+ display: block;
3826
+ margin: 0 0 var(--space-4);
3827
+ color: var(--accent-ink);
3828
+ }
3829
+ .dashboard-note-title {
3830
+ margin: 0;
3831
+ font: var(--heading-weight, 600) var(--type-list-title, var(--text-xl)) var(--heading-font, var(--sans));
3832
+ letter-spacing: var(--track-title, -0.012em);
3833
+ color: var(--ink);
3834
+ }
3835
+ .dashboard-note-text {
3836
+ max-width: 70ch;
3837
+ margin: var(--space-3) 0 0;
3838
+ color: var(--ink-muted);
3839
+ font: var(--text-md)/1.55 var(--sans);
3840
+ }
3841
+ .dashboard-note-action {
3842
+ display: inline-flex;
3843
+ align-items: center;
3844
+ min-height: 36px;
3845
+ margin-top: var(--space-5);
3846
+ padding: var(--space-3) var(--space-4);
3847
+ border-radius: var(--radius);
3848
+ background: var(--primary, var(--accent));
3849
+ color: var(--on-primary, var(--on-accent));
3850
+ font: 600 var(--text-base) var(--sans);
3851
+ text-decoration: none;
3852
+ }
3853
+ .dashboard-note-action:hover {
3854
+ background: color-mix(in srgb, var(--primary, var(--accent)) 86%, var(--ink));
3855
+ }
3856
+ .dashboard-note-action:focus-visible {
3857
+ outline: var(--focus-width) solid var(--focus);
3858
+ outline-offset: 2px;
3859
+ }
3860
+ @media (max-width: 600px) {
3861
+ .dashboard-note {
3862
+ max-width: none;
3863
+ }
3864
+ .dashboard-note-action {
3865
+ min-height: 44px;
3866
+ padding-inline: var(--space-4h);
3867
+ }
3868
+ }
3869
+ }
3870
+
3871
+ /* A key beside the verb it runs: quiet, mono, the width of one glyph so the button does not move when it arrives. */
3872
+ .key-hint {
3873
+ margin-left: var(--space-3);
3874
+ font: var(--text-xs) var(--mono);
3875
+ color: var(--ink-subtle);
3876
+ opacity: 0.8;
3877
+ }
3878
+ /* On a filled verb the faint ink is near the fill, unseen: the hint takes the button's own ink, whatever the look
3879
+ fills it with, and stays quieter than the verb by its size and face, never by opacity. */
3880
+ :is(.btn-primary, .btn-danger) .key-hint {
3881
+ color: inherit;
3882
+ opacity: 1;
3883
+ }
3884
+ .page-actions-item .key-hint {
3885
+ float: right;
3886
+ }
3887
+
3888
+ /* ---------- rich text ---------- */
3889
+
3890
+ /* A rich text value as it reads: the page's own type, blocks spaced by ratio
3891
+ rather than gaps, tables ruled like a list, a task's box the platform's
3892
+ check. The same rules dress the editor's text, so what is typed is what
3893
+ is read. */
3894
+ .rich-text {
3895
+ font: var(--text-md)/1.55 var(--sans);
3896
+ color: var(--ink);
3897
+ overflow-wrap: anywhere;
3898
+ /* A record's field value (.page-field > dd) is one line clipped with an ellipsis, which is right for a
3899
+ value and wrong for paragraphs: the text wraps wherever it is drawn. */
3900
+ white-space: normal;
3901
+ min-width: 0;
3902
+ }
3903
+ /* A timeline's quiet line, rich text or plain: smaller, in the quieter ink. */
3904
+ .is-compact :is(.timeline-text, .rich-text) {
3905
+ font-size: var(--text-sm);
3906
+ color: var(--ink-muted);
3907
+ }
3908
+ .page-field > dd:has(.rich-text, .rich-editor) {
3909
+ white-space: normal;
3910
+ overflow: visible;
3911
+ text-overflow: clip;
3912
+ }
3913
+ /* Formatted text is read and written at the record's full width, as a long text would be: a half-width
3914
+ column wrapped the editor's toolbar onto three rows. */
3915
+ .page-field-wide {
3916
+ grid-column: 1 / -1;
3917
+ }
3918
+ .rich-text > :first-child {
3919
+ margin-top: 0;
3920
+ }
3921
+ .rich-text > :last-child {
3922
+ margin-bottom: 0;
3923
+ }
3924
+ .rich-text :is(p, ul, ol, blockquote, pre, table) {
3925
+ margin: 0 0 0.6em;
3926
+ }
3927
+ .rich-text :is(h2, h3, h4) {
3928
+ margin: 0.9em 0 0.35em;
3929
+ line-height: 1.3;
3930
+ color: var(--ink);
3931
+ }
3932
+ .rich-text h2 {
3933
+ font-size: 1.2em;
3934
+ font-weight: 600;
3935
+ }
3936
+ .rich-text h3 {
3937
+ font-size: 1.07em;
3938
+ font-weight: 600;
3939
+ }
3940
+ .rich-text h4 {
3941
+ font-size: 1em;
3942
+ font-weight: 600;
3943
+ color: var(--ink-muted);
3944
+ }
3945
+ .rich-text :is(ul, ol) {
3946
+ padding-left: 1.4em;
3947
+ }
3948
+ .rich-text li > p {
3949
+ margin: 0;
3950
+ }
3951
+ .rich-text a {
3952
+ color: var(--link);
3953
+ text-decoration: underline;
3954
+ text-underline-offset: 2px;
3955
+ }
3956
+ .rich-text blockquote {
3957
+ padding-left: var(--space-4);
3958
+ border-left: 2px solid var(--line-strong);
3959
+ color: var(--ink-muted);
3960
+ }
3961
+ .rich-text code {
3962
+ font: 0.92em var(--mono);
3963
+ padding: 1px var(--space-2);
3964
+ background: var(--raised);
3965
+ border-radius: var(--radius-item, var(--radius));
3966
+ }
3967
+ .rich-text pre {
3968
+ padding: var(--space-3h) var(--space-4);
3969
+ background: var(--raised);
3970
+ border-radius: var(--radius-panel, var(--radius));
3971
+ overflow-x: auto;
3972
+ }
3973
+ .rich-text pre code {
3974
+ padding: 0;
3975
+ background: none;
3976
+ font-size: var(--text-sm);
3977
+ }
3978
+ .rich-text table {
3979
+ border-collapse: collapse;
3980
+ display: block;
3981
+ max-width: 100%;
3982
+ overflow-x: auto;
3983
+ font-size: var(--text-base);
3984
+ }
3985
+ .rich-text :is(th, td) {
3986
+ padding: var(--space-2) var(--space-3h);
3987
+ border: 1px solid var(--line);
3988
+ text-align: left;
3989
+ vertical-align: top;
3990
+ min-width: 3em;
3991
+ }
3992
+ .rich-text th {
3993
+ background: var(--raised);
3994
+ font-weight: 600;
3995
+ }
3996
+ .rich-text img {
3997
+ display: block;
3998
+ max-width: 100%;
3999
+ height: auto;
4000
+ margin: 0.4em 0;
4001
+ border-radius: var(--radius-panel, var(--radius));
4002
+ }
4003
+ .rich-text ul[data-type='taskList'] {
4004
+ list-style: none;
4005
+ padding-left: 0.2em;
4006
+ }
4007
+ .rich-text li[data-type='taskItem'] {
4008
+ display: flex;
4009
+ gap: var(--space-3);
4010
+ align-items: flex-start;
4011
+ }
4012
+ .rich-text li[data-type='taskItem'] > :is(input, label) {
4013
+ margin: 0.3em 0 0;
4014
+ flex: none;
4015
+ }
4016
+ .rich-text li[data-type='taskItem'] > div {
4017
+ flex: 1;
4018
+ min-width: 0;
4019
+ }
4020
+ .rich-text li[data-type='taskItem'] > label {
4021
+ display: inline-flex;
4022
+ line-height: 1;
4023
+ }
4024
+ .rich-text li[data-type='taskItem'] input[type='checkbox'] {
4025
+ margin: 0;
4026
+ accent-color: var(--accent);
4027
+ }
4028
+ .rich-text li[data-type='taskItem'][data-checked='true'] > div {
4029
+ color: var(--ink-muted);
4030
+ text-decoration: line-through;
4031
+ text-decoration-color: var(--ink-subtle);
4032
+ }
4033
+ .rich-text .rich-text-mention,
4034
+ .rich-text span[data-type='mention'] {
4035
+ color: var(--accent-ink);
4036
+ font-weight: 500;
4037
+ }
4038
+ .rich-text-missing {
4039
+ color: var(--ink-subtle);
4040
+ font-style: italic;
4041
+ }
4042
+ .rich-text-excerpt {
4043
+ overflow-wrap: anywhere;
4044
+ }
4045
+ /* A field that waits for its editor keeps the editor's height: nothing under it moves when it arrives. */
4046
+ .rich-field {
4047
+ min-height: 7.25rem;
4048
+ }
4049
+ /* A group's goal beside its figure (G76): "64% of $20,000 target", quieter than the figure it measures. */
4050
+ .pbd-goal {
4051
+ color: var(--ink-subtle);
4052
+ }