@mistriwork/kit 1.0.0-rc.58 → 1.0.0-rc.60

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 (164) hide show
  1. package/dist/client/app.js +16 -3
  2. package/dist/client/audience.d.ts +1 -0
  3. package/dist/client/audience.js +10 -0
  4. package/dist/client/brandLook.css +49 -1
  5. package/dist/client/components/AppColumnMenuPopups.js +46 -11
  6. package/dist/client/components/AppList.d.ts +3 -1
  7. package/dist/client/components/AppList.js +92 -19
  8. package/dist/client/components/CardsList.js +14 -1
  9. package/dist/client/components/Chart.css +4 -0
  10. package/dist/client/components/Chart.d.ts +4 -4
  11. package/dist/client/components/Chart.js +30 -9
  12. package/dist/client/components/Content.js +4 -2
  13. package/dist/client/components/DateField.css +1 -1
  14. package/dist/client/components/DateField.js +1 -0
  15. package/dist/client/components/DefinedFields.js +2 -2
  16. package/dist/client/components/Diagram.css +82 -0
  17. package/dist/client/components/Diagram.d.ts +1 -0
  18. package/dist/client/components/Diagram.js +1 -0
  19. package/dist/client/components/Dressed.js +1 -1
  20. package/dist/client/components/Editable.js +7 -3
  21. package/dist/client/components/Export.js +1 -1
  22. package/dist/client/components/FilterBoxes.js +2 -2
  23. package/dist/client/components/FilterRail.css +1 -1
  24. package/dist/client/components/FilterRail.js +6 -4
  25. package/dist/client/components/Gallery.css +171 -0
  26. package/dist/client/components/Gallery.d.ts +1 -0
  27. package/dist/client/components/Gallery.js +1 -0
  28. package/dist/client/components/Grid.d.ts +2 -1
  29. package/dist/client/components/Grid.js +78 -24
  30. package/dist/client/components/GridCellEditor.js +4 -2
  31. package/dist/client/components/GridSelection.d.ts +4 -7
  32. package/dist/client/components/GridSelection.js +45 -3
  33. package/dist/client/components/LandingSurface.css +2 -2
  34. package/dist/client/components/LayoutBuilder.css +225 -0
  35. package/dist/client/components/LayoutBuilder.d.ts +1 -0
  36. package/dist/client/components/LayoutBuilder.js +1 -0
  37. package/dist/client/components/ListColumns.d.ts +12 -0
  38. package/dist/client/components/ListColumns.js +61 -0
  39. package/dist/client/components/ListFilterBar.css +43 -16
  40. package/dist/client/components/ListFilterBar.js +45 -23
  41. package/dist/client/components/MultiStepForm.css +22 -22
  42. package/dist/client/components/NewRecord.js +120 -104
  43. package/dist/client/components/Notes.css +9 -0
  44. package/dist/client/components/Notes.d.ts +6 -2
  45. package/dist/client/components/Notes.js +10 -6
  46. package/dist/client/components/OverflowMenu.js +16 -11
  47. package/dist/client/components/PageFields.js +19 -4
  48. package/dist/client/components/PageRelated.d.ts +8 -1
  49. package/dist/client/components/PageRelated.js +46 -33
  50. package/dist/client/components/PageSections.js +18 -5
  51. package/dist/client/components/Palette.js +1 -1
  52. package/dist/client/components/Prefs.d.ts +10 -0
  53. package/dist/client/components/Prefs.js +33 -23
  54. package/dist/client/components/PresentationSwitch.js +4 -0
  55. package/dist/client/components/Prompt.js +4 -4
  56. package/dist/client/components/RecordGone.js +4 -4
  57. package/dist/client/components/RecordPicker.js +24 -6
  58. package/dist/client/components/RecordSummaries.js +31 -5
  59. package/dist/client/components/RecordTrailNav.js +4 -0
  60. package/dist/client/components/RichTextEditor.css +2 -2
  61. package/dist/client/components/RichTextEditor.js +18 -19
  62. package/dist/client/components/Rooms.js +27 -6
  63. package/dist/client/components/SectionPeriod.css +1 -1
  64. package/dist/client/components/SetFieldDialog.js +1 -1
  65. package/dist/client/components/Sidebar.js +15 -5
  66. package/dist/client/components/SuggestBox.js +2 -2
  67. package/dist/client/components/TableRoom.d.ts +5 -1
  68. package/dist/client/components/TableRoom.js +29 -10
  69. package/dist/client/components/TableView.js +6 -2
  70. package/dist/client/components/ThMenu.js +26 -15
  71. package/dist/client/components/Tour.css +96 -0
  72. package/dist/client/components/Tour.d.ts +1 -0
  73. package/dist/client/components/Tour.js +1 -0
  74. package/dist/client/components/TreePicker.css +1 -1
  75. package/dist/client/components/TreePicker.js +27 -20
  76. package/dist/client/components/Value.js +4 -1
  77. package/dist/client/components/WorkflowStatus.js +8 -4
  78. package/dist/client/components/appListModel.d.ts +4 -0
  79. package/dist/client/components/appRooms.d.ts +2 -0
  80. package/dist/client/components/appRooms.js +2 -0
  81. package/dist/client/components/boardNew.d.ts +5 -0
  82. package/dist/client/components/boardNew.js +5 -0
  83. package/dist/client/components/conditionWords.d.ts +10 -0
  84. package/dist/client/components/conditionWords.js +20 -0
  85. package/dist/client/components/dashboardModel.d.ts +8 -0
  86. package/dist/client/components/dashboardModel.js +28 -1
  87. package/dist/client/components/editInteraction.d.ts +1 -1
  88. package/dist/client/components/editInteraction.js +1 -1
  89. package/dist/client/components/gridSizing.d.ts +14 -20
  90. package/dist/client/components/gridSizing.js +147 -108
  91. package/dist/client/components/pageContext.d.ts +3 -2
  92. package/dist/client/components/pageModel.d.ts +2 -0
  93. package/dist/client/components/pickerStaleness.d.ts +11 -1
  94. package/dist/client/components/pickerStaleness.js +12 -2
  95. package/dist/client/components/rowTitle.d.ts +2 -0
  96. package/dist/client/components/rowTitle.js +10 -0
  97. package/dist/client/components/textMeasure.js +72 -3
  98. package/dist/client/components/useConditionWords.d.ts +5 -0
  99. package/dist/client/components/useConditionWords.js +3 -1
  100. package/dist/client/components/useGridKeyboard.js +5 -0
  101. package/dist/client/components/useMediaQuery.d.ts +2 -0
  102. package/dist/client/components/useMediaQuery.js +2 -0
  103. package/dist/client/components/valueModel.d.ts +1 -0
  104. package/dist/client/components/valueModel.js +39 -4
  105. package/dist/client/composer.css +2 -2
  106. package/dist/client/copy/es.js +3 -3
  107. package/dist/client/copy/filters/components/ListFilterBar.d.ts +1 -0
  108. package/dist/client/copy/filters/components/ListFilterBar.js +1 -0
  109. package/dist/client/copy/forms/components/DateField.d.ts +2 -0
  110. package/dist/client/copy/forms/components/DateField.js +2 -0
  111. package/dist/client/copy/forms/components/NewRecord.d.ts +8 -0
  112. package/dist/client/copy/forms/components/NewRecord.js +2 -0
  113. package/dist/client/copy/lists/components/AppList.d.ts +2 -0
  114. package/dist/client/copy/lists/components/AppList.js +2 -0
  115. package/dist/client/copy/lists/components/GridSelection.d.ts +1 -0
  116. package/dist/client/copy/lists/components/GridSelection.js +1 -0
  117. package/dist/client/copy/lists/components/ListColumns.d.ts +5 -0
  118. package/dist/client/copy/lists/components/ListColumns.js +7 -0
  119. package/dist/client/copy/lists/components/TableRoom.d.ts +3 -1
  120. package/dist/client/copy/lists/components/TableRoom.js +3 -1
  121. package/dist/client/copy/record/components/PageHistory.d.ts +2 -2
  122. package/dist/client/copy/record/components/PageHistory.js +4 -2
  123. package/dist/client/copy/record/components/WorkflowStatus.d.ts +1 -0
  124. package/dist/client/copy/record/components/WorkflowStatus.js +1 -0
  125. package/dist/client/copy/shell/components/MobileNavDrawer.d.ts +1 -0
  126. package/dist/client/copy/shell/components/MobileNavDrawer.js +2 -0
  127. package/dist/client/core.d.ts +2 -1
  128. package/dist/client/core.js +46 -2
  129. package/dist/client/customThemes.css +3 -3
  130. package/dist/client/dom.js +5 -5
  131. package/dist/client/features.css +220 -356
  132. package/dist/client/fonts/Manrope-OFL.txt +93 -0
  133. package/dist/client/fonts/faces.css +10 -1
  134. package/dist/client/fonts/manrope-latin.woff2 +0 -0
  135. package/dist/client/formControls.css +4 -4
  136. package/dist/client/help.css +2 -2
  137. package/dist/client/ledgerLook.css +28 -0
  138. package/dist/client/locale.d.ts +2 -10
  139. package/dist/client/locale.js +0 -0
  140. package/dist/client/lumenLook.css +295 -105
  141. package/dist/client/manropeFace.css +32 -0
  142. package/dist/client/messages.d.ts +3 -3
  143. package/dist/client/messages.js +3 -3
  144. package/dist/client/navigationHold.d.ts +9 -0
  145. package/dist/client/navigationHold.js +46 -3
  146. package/dist/client/page.css +107 -357
  147. package/dist/client/palette.js +31 -6
  148. package/dist/client/partsLook.css +60 -60
  149. package/dist/client/sageLook.css +101 -32
  150. package/dist/client/shellHost.d.ts +2 -2
  151. package/dist/client/shellHost.js +2 -2
  152. package/dist/client/shellMode.d.ts +9 -0
  153. package/dist/client/shellMode.js +2 -0
  154. package/dist/client/structure.css +282 -201
  155. package/dist/client/style.css +75 -224
  156. package/dist/client/themeFamilies.css +471 -66
  157. package/dist/client/tilesLook.css +502 -0
  158. package/dist/client/visualTheme.js +5 -2
  159. package/dist/client/visualThemes.css +38 -34
  160. package/dist/client/workbenchLook.css +12 -12
  161. package/dist/client/workshopLook.css +3 -8
  162. package/dist/vite.d.ts +1 -20
  163. package/dist/vite.js +33 -3
  164. package/package.json +8 -7
@@ -55,21 +55,21 @@
55
55
  it replaces rather than like a form control, because it is still the name
56
56
  of what you are looking at — the caret is the only thing saying there is
57
57
  more than one of them. */
58
- .page-title-pick .dd-button {
58
+ .page-title-pick [data-slot='select-trigger'] {
59
59
  padding: var(--space-1) var(--space-3) var(--space-1) var(--space-2);
60
60
  border-color: transparent;
61
61
  background: none;
62
62
  }
63
- .page-title-pick .dd-value {
63
+ .page-title-pick [data-slot='select-value'] {
64
64
  font: 620 calc(17px * var(--type-k)) var(--mono);
65
65
  letter-spacing: -0.01em;
66
66
  color: var(--ink);
67
67
  }
68
- .page-title-pick .dd-button:hover {
68
+ .page-title-pick [data-slot='select-trigger']:hover {
69
69
  border-color: var(--line);
70
70
  background: var(--raised);
71
71
  }
72
- .page-title-pick .dd-list {
72
+ .page-title-pick :is([data-slot='select-content'], [data-slot='menu-content']) {
73
73
  min-width: 16rem;
74
74
  }
75
75
  /* The Edit control to the far right; everything else keeps to the left, so
@@ -167,14 +167,17 @@
167
167
  .page-section .table-wrap {
168
168
  padding-bottom: 0;
169
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. */
170
+ /* A table starts on its section's heading, not 14px in from it and not 14px out (a room has one content edge): its
171
+ first column's words and the rules under its rows both begin on the heading's line, as a room's own grid does
172
+ (style.css, .grid-inset). The wrap reached out by the first cell's 14px to put the words there, which left every
173
+ rule starting left of the title it stands under. A section that is a box (Lumen's card, Sage's panel) sets its own
174
+ bleed and keeps the inset it gives. */
174
175
  .page-section .table-wrap {
175
- margin-inline-start: -14px;
176
176
  max-width: none;
177
177
  }
178
+ .page-section .table-wrap :is(th, td):where(:not([data-slot])):first-child {
179
+ padding-left: 0;
180
+ }
178
181
  /* A section's table scrolls sideways only; it grows to its rows. `overflow-x: auto` alone makes it a vertical scroller
179
182
  too, and a sliver of vertical overflow (a row a pixel taller in another font, Lumen's card) let it take a wheel
180
183
  turned over it and keep it, so the record stopped short of its end (e2e/scrolling.spec.ts, on an iPad). */
@@ -641,7 +644,7 @@
641
644
  then how you are reading it. Without a record the page name stays the
642
645
  heading, because then it is the room. */
643
646
  .page-head.has-record .page-title,
644
- .page-head.has-record .page-title-pick .dd-value {
647
+ .page-head.has-record .page-title-pick [data-slot='select-value'] {
645
648
  font: 500 var(--text-xs) var(--mono);
646
649
  text-transform: uppercase;
647
650
  letter-spacing: 0.06em;
@@ -692,7 +695,7 @@
692
695
  .page-action {
693
696
  font-size: var(--text-sm);
694
697
  padding: var(--space-2) var(--space-4);
695
- min-height: 30px;
698
+ min-height: var(--control-h-sm);
696
699
  }
697
700
  button.ghost.page-action {
698
701
  color: var(--ink);
@@ -1226,7 +1229,7 @@
1226
1229
  font: var(--text-xs) var(--sans);
1227
1230
  color: var(--ink-muted);
1228
1231
  }
1229
- .page-preview.modal {
1232
+ .page-preview[data-slot='dialog-content'][data-kind='modal'] {
1230
1233
  width: 1400px;
1231
1234
  max-width: calc(100% - 24px);
1232
1235
  height: 90%;
@@ -1239,7 +1242,7 @@
1239
1242
  background: var(--surface);
1240
1243
  color: var(--ink);
1241
1244
  }
1242
- :where(:root:not([data-visual-theme])) .page-preview.modal {
1245
+ :where(:root:not([data-visual-theme])) .page-preview[data-slot='dialog-content'][data-kind='modal'] {
1243
1246
  border-radius: 6px;
1244
1247
  }
1245
1248
  .page-preview-head {
@@ -1283,19 +1286,13 @@
1283
1286
  margin-inline: auto;
1284
1287
  background: var(--surface);
1285
1288
  }
1286
- .pb[aria-busy='true'] .pb-head button,
1287
- .pb[aria-busy='true'] .pb-foot button {
1289
+ /* Every one of these buttons is disabled while the builder is busy, and the rule says so: keyed on a bare
1290
+ `button`, any aria-busy anywhere (a list's table while it sorts) restyled every button under it, since the
1291
+ browser cannot tell which element's aria-busy a rule is about (test/built-client-vitals.mjs). */
1292
+ .pb[aria-busy='true'] :is(.pb-head, .pb-foot) button[disabled] {
1288
1293
  opacity: 0.55;
1289
1294
  cursor: wait;
1290
1295
  }
1291
-
1292
- .pb-label {
1293
- font: var(--text-xs) var(--mono);
1294
- text-transform: uppercase;
1295
- letter-spacing: 0.06em;
1296
- color: var(--ink-subtle);
1297
- flex: none;
1298
- }
1299
1296
  .pb-name-row {
1300
1297
  display: flex;
1301
1298
  align-items: center;
@@ -1325,7 +1322,7 @@
1325
1322
  font: var(--text-base) var(--sans);
1326
1323
  border-radius: 0;
1327
1324
  }
1328
- .page-field .cell-edit-control :is(.dd-button, .date-field-input) {
1325
+ .page-field .cell-edit-control :is([data-slot='select-trigger'],:is([data-slot='date-field'] > [data-slot='input'])) {
1329
1326
  font: var(--text-base) var(--sans);
1330
1327
  }
1331
1328
  .pb-advanced {
@@ -1348,15 +1345,15 @@
1348
1345
  with its own type and its own corners, in a dialog that has neither. It is
1349
1346
  the one control a page cannot style, which is exactly why this codebase
1350
1347
  already had a replacement; the builder was simply not using it. */
1351
- .pb-section .dd {
1348
+ .pb-section [data-slot='dropdown'] {
1352
1349
  flex: none;
1353
1350
  }
1354
- .pb-section .dd-button {
1351
+ .pb-section [data-slot='select-trigger'] {
1355
1352
  padding: var(--space-2) var(--space-3);
1356
1353
  font: var(--text-xs) var(--mono);
1357
1354
  min-width: 5.5rem;
1358
1355
  }
1359
- .pb-section .dd-list {
1356
+ .pb-section :is([data-slot='select-content'], [data-slot='menu-content']) {
1360
1357
  min-width: 12rem;
1361
1358
  }
1362
1359
 
@@ -1441,9 +1438,6 @@
1441
1438
  opacity: 0.3;
1442
1439
  cursor: default;
1443
1440
  }
1444
- .pb-remove:hover {
1445
- color: var(--status-critical);
1446
- }
1447
1441
 
1448
1442
  .pb-add {
1449
1443
  display: flex;
@@ -1545,9 +1539,6 @@
1545
1539
  align-items: center;
1546
1540
  gap: var(--space-3);
1547
1541
  }
1548
- .pb-spacer {
1549
- flex: 1 1 auto;
1550
- }
1551
1542
  .pb-json {
1552
1543
  font-size: var(--text-xs);
1553
1544
  }
@@ -1561,29 +1552,6 @@
1561
1552
  flex-direction: column;
1562
1553
  }
1563
1554
 
1564
- .pb-panel {
1565
- margin: 0 var(--space-3) var(--space-1);
1566
- padding: var(--space-3) var(--space-3h) var(--space-3h);
1567
- background: var(--raised);
1568
- border: 1px solid var(--line);
1569
- border-top: none;
1570
- border-radius: 0 0 var(--radius) var(--radius);
1571
- }
1572
- .pb-panel-head {
1573
- display: flex;
1574
- align-items: baseline;
1575
- gap: var(--space-3);
1576
- margin-bottom: var(--space-2h);
1577
- }
1578
- .pb-panel-head button {
1579
- padding: var(--space-1) var(--space-3);
1580
- font-size: var(--text-xs);
1581
- }
1582
- .pb-field-count {
1583
- font: var(--text-xs) var(--mono);
1584
- color: var(--ink-subtle);
1585
- }
1586
-
1587
1555
  /* Several across, because forty names in one column is a scroll and the names
1588
1556
  are short enough to read three or four abreast. */
1589
1557
  .pb-field-grid {
@@ -1611,114 +1579,6 @@
1611
1579
  flex: none;
1612
1580
  margin: 0;
1613
1581
  }
1614
- .pb-field-name {
1615
- font: var(--text-sm) var(--mono);
1616
- color: var(--ink);
1617
- overflow: hidden;
1618
- text-overflow: ellipsis;
1619
- white-space: nowrap;
1620
- }
1621
- .pb-field-type {
1622
- font: var(--text-xs) var(--mono);
1623
- color: var(--ink-subtle);
1624
- flex: none;
1625
- }
1626
-
1627
- /* The fields on a group, laid out the way the page will lay them out — same
1628
- column count, same order — so arranging them is done on a picture of the
1629
- result rather than on a list that has to be imagined into one. */
1630
- .pb-arrange {
1631
- display: grid;
1632
- gap: var(--space-1) var(--space-3h);
1633
- max-height: 34vh;
1634
- overflow-y: auto;
1635
- margin-bottom: var(--space-3);
1636
- }
1637
- .pb-arrange-row {
1638
- display: flex;
1639
- align-items: baseline;
1640
- gap: var(--space-3);
1641
- padding: var(--space-1h) var(--space-2) var(--space-1h) var(--space-1);
1642
- border-radius: var(--radius);
1643
- background: var(--surface);
1644
- border: 1px solid var(--line);
1645
- cursor: grab;
1646
- min-width: 0;
1647
- position: relative;
1648
- }
1649
- .pb-arrange-row:focus-visible {
1650
- outline: var(--focus-width) solid var(--focus);
1651
- outline-offset: 1px;
1652
- }
1653
- .pb-arrange-row.dragging {
1654
- opacity: 0.45;
1655
- cursor: grabbing;
1656
- }
1657
- .pb-arrange-row .pb-field-name {
1658
- flex: 1;
1659
- }
1660
- .pb-grip {
1661
- font: var(--text-sm) var(--mono);
1662
- color: var(--ink-subtle);
1663
- letter-spacing: -1px;
1664
- flex: none;
1665
- transform: rotate(90deg);
1666
- }
1667
- .pb-arrange-row .pb-send,
1668
- .pb-arrange-row .pb-remove {
1669
- flex: none;
1670
- padding: 0 var(--space-2);
1671
- font-size: var(--text-xs);
1672
- line-height: 1.6;
1673
- opacity: 0;
1674
- }
1675
- @media (prefers-reduced-motion: no-preference) {
1676
- .pb-arrange-row .pb-send,
1677
- .pb-arrange-row .pb-remove {
1678
- transition: opacity var(--t-hover) var(--ease-out);
1679
- }
1680
- }
1681
- .pb-arrange-row:hover .pb-send,
1682
- .pb-arrange-row:hover .pb-remove,
1683
- .pb-arrange-row:focus-within .pb-send,
1684
- .pb-arrange-row:focus-within .pb-remove {
1685
- opacity: 1;
1686
- }
1687
-
1688
- /* Which group to send a field to, opened in the row itself: a dialog here
1689
- would cover the arrangement being made. */
1690
- .pb-send-menu {
1691
- position: absolute;
1692
- z-index: 3;
1693
- top: 100%;
1694
- right: 0;
1695
- display: flex;
1696
- flex-direction: column;
1697
- background: var(--surface);
1698
- border: 1px solid var(--line);
1699
- border-radius: var(--radius);
1700
- padding: var(--space-1h);
1701
- gap: var(--space-1);
1702
- box-shadow: var(--shadow, var(--shadow-pop));
1703
- }
1704
- .pb-send-menu button {
1705
- font-size: var(--text-xs);
1706
- text-align: left;
1707
- white-space: nowrap;
1708
- }
1709
-
1710
- /* Everything not on the page, as chips: short names, many of them, and each
1711
- one click from being added. */
1712
- .pb-pool {
1713
- display: flex;
1714
- flex-wrap: wrap;
1715
- align-items: baseline;
1716
- gap: var(--space-2);
1717
- }
1718
- .pb-add-field {
1719
- font: var(--text-xs) var(--mono);
1720
- padding: var(--space-1) var(--space-3);
1721
- }
1722
1582
 
1723
1583
  /* A hidden section keeps its row and stops looking live. */
1724
1584
  .pb-section.pb-hidden {
@@ -1910,7 +1770,11 @@
1910
1770
  flex: 1;
1911
1771
  border-top: 1px solid var(--line);
1912
1772
  }
1913
- .timeline-rows > * + * {
1773
+ /* Every row but the first, rather than `* + *` (or `li + li`): a `+` whose right side is a bare tag or `*` is a rule
1774
+ the browser checks against the next sibling of every such element added or removed anywhere in the page, and a
1775
+ list's sort restyled its whole filter row for it, a phone's every summary (test/built-client-vitals.mjs).
1776
+ `:first-child` is asked only of this list's own children. */
1777
+ .timeline-rows > :not(:first-child) {
1914
1778
  margin-top: var(--space-4h);
1915
1779
  }
1916
1780
  .timeline-rows > .is-compact + .is-compact,
@@ -2230,6 +2094,27 @@
2230
2094
  outline: 1px solid color-mix(in srgb, var(--accent) 60%, var(--line));
2231
2095
  outline-offset: -1px;
2232
2096
  }
2097
+ /* The ways off the road (cancelled, returned): said quietly under the steps, apart from them, since none is the next
2098
+ step. The one the record ended in is in the ink. */
2099
+ .workflow-outcomes {
2100
+ display: flex;
2101
+ flex-wrap: wrap;
2102
+ gap: var(--space-2) var(--space-4);
2103
+ list-style: none;
2104
+ padding: 0;
2105
+ margin: var(--space-3) 0 0;
2106
+ font-size: var(--text-sm);
2107
+ color: var(--ink-muted);
2108
+ }
2109
+ /* Named, so two words under a road do not read as strays: the list's own name, said once before them. */
2110
+ .workflow-outcomes::before {
2111
+ content: attr(aria-label);
2112
+ color: var(--ink-subtle);
2113
+ }
2114
+ .workflow-outcomes li[aria-current='step'] {
2115
+ color: var(--ink);
2116
+ font-weight: 600;
2117
+ }
2233
2118
  .workflow-unmapped {
2234
2119
  margin: var(--space-3) 0 0;
2235
2120
  font-size: var(--text-base);
@@ -2294,6 +2179,16 @@
2294
2179
  text-overflow: clip;
2295
2180
  overflow-wrap: anywhere;
2296
2181
  }
2182
+ /* A figure's note (`notes`): one quiet line under it, in the text face at the caption's size whatever the figure
2183
+ is set in, so "3 charges open" is read as words about the number and never as a second number. */
2184
+ .page-field-summary .page-field > dd > .page-field-note {
2185
+ display: block;
2186
+ margin-top: var(--space-2);
2187
+ font: 400 var(--text-sm)/1.4 var(--sans);
2188
+ letter-spacing: 0;
2189
+ color: var(--ink-muted);
2190
+ font-variant-numeric: normal;
2191
+ }
2297
2192
  /* Prose under its section's title (a description): a paragraph, not a figure. */
2298
2193
  .page-field-summary .page-field.page-field-prose > dd {
2299
2194
  font: 400 calc(15px * var(--type-k))/1.55 var(--sans);
@@ -2530,21 +2425,6 @@
2530
2425
  gap: var(--space-3h);
2531
2426
  min-width: 0;
2532
2427
  }
2533
- .gallery-lead {
2534
- position: relative;
2535
- display: block;
2536
- width: 100%;
2537
- padding: 0;
2538
- aspect-ratio: 4 / 3;
2539
- overflow: hidden;
2540
- /* Held short enough that the thumbnails show under it on a laptop screen:
2541
- the height the screen has left under the title, as a 4:3 width. The
2542
- zoom-corrected height, since vh units ignore the density zoom. */
2543
- max-width: min(100%, calc((var(--shell-vh, 100vh) - 400px) * 4 / 3));
2544
- border: 1px solid var(--line);
2545
- border-radius: var(--radius);
2546
- background: var(--raised);
2547
- }
2548
2428
  /* Beside an offer card the gallery leads the page, so its photo takes the
2549
2429
  column's width in a 16:9 frame (covered, centred): as wide as the room and
2550
2430
  still short enough for the thumbnails above the fold. The thumbnails and
@@ -2556,164 +2436,12 @@
2556
2436
  max-width: min(100%, calc((var(--shell-vh, 100vh) - 380px) * 16 / 9));
2557
2437
  }
2558
2438
  }
2559
- /* What opens the photo: a button over the frame, stopping at the steps' columns (a step's 40px at 10px from the
2560
- edge, and its hit area's 2px either side) so a step and the photo are side by side, never one over the other. */
2561
- .gallery-open {
2562
- position: absolute;
2563
- inset: 0;
2564
- padding: 0;
2565
- border: 0;
2566
- border-radius: inherit;
2567
- background: transparent;
2568
- cursor: zoom-in;
2569
- }
2570
- .gallery-lead.has-steps > .gallery-open {
2571
- inset: 0 56px;
2572
- }
2573
- .gallery-open:focus-visible {
2574
- outline: none;
2575
- }
2576
- .gallery-lead:has(> .gallery-open:focus-visible) {
2577
- outline: var(--focus-width) solid var(--focus);
2578
- outline-offset: 2px;
2579
- }
2580
- .gallery-lead-image {
2581
- display: block;
2582
- width: 100%;
2583
- height: 100%;
2584
- object-fit: cover;
2585
- }
2586
- .gallery-count {
2587
- position: absolute;
2588
- right: 10px;
2589
- bottom: 10px;
2590
- padding: var(--space-1h) var(--space-3);
2591
- border-radius: 999px;
2592
- background: var(--lightbox-ground);
2593
- color: var(--lightbox-ink);
2594
- font: 500 var(--text-sm) var(--sans);
2595
- font-variant-numeric: tabular-nums;
2596
- }
2597
- /* The lead's previous and next: square, on the photo stage's scrim, at the
2598
- photo's middle. Quiet until the stage is hovered or holds focus where a
2599
- pointer can hover; always there on touch, where nothing hovers. */
2600
- .gallery-stage {
2601
- position: relative;
2602
- min-width: 0;
2603
- }
2604
- .gallery-step {
2605
- position: absolute;
2606
- top: 50%;
2607
- translate: 0 -50%;
2608
- display: grid;
2609
- place-items: center;
2610
- width: 40px;
2611
- height: 40px;
2612
- padding: 0;
2613
- border: 0;
2614
- border-radius: var(--radius);
2615
- background: var(--lightbox-ground);
2616
- color: var(--lightbox-ink);
2617
- cursor: pointer;
2618
- }
2619
- /* On a touch screen a step's 40px takes a 44px hit area, as the chrome's small controls do (structure.css); it
2620
- reaches 2px past the step, short of the photo's button. */
2621
- @media (pointer: coarse) {
2622
- .gallery-step::after {
2623
- content: '';
2624
- position: absolute;
2625
- left: 50%;
2626
- top: 50%;
2627
- width: 44px;
2628
- height: 44px;
2629
- transform: translate(-50%, -50%);
2630
- }
2631
- }
2632
- .gallery-step.is-prev {
2633
- left: 10px;
2634
- }
2635
- .gallery-step.is-next {
2636
- right: 10px;
2637
- }
2638
- .gallery-step:focus-visible {
2639
- outline: var(--focus-width) solid var(--focus);
2640
- outline-offset: 2px;
2641
- }
2642
- @media (hover: hover) {
2643
- .gallery-step {
2644
- opacity: 0;
2645
- }
2646
- .gallery-stage:hover .gallery-step,
2647
- .gallery-stage:focus-within .gallery-step {
2648
- opacity: 1;
2649
- }
2650
- }
2651
- @media (hover: hover) and (prefers-reduced-motion: no-preference) {
2652
- .gallery-step {
2653
- transition: opacity var(--t-hover) var(--ease-out);
2654
- }
2655
- }
2656
- .gallery-caption {
2657
- margin: 0;
2658
- color: var(--ink-muted);
2659
- font-size: var(--text-base);
2660
- }
2661
- .gallery-strip {
2662
- display: flex;
2663
- gap: var(--space-3);
2664
- overflow-x: auto;
2665
- padding: var(--space-1);
2666
- scrollbar-width: thin;
2667
- }
2668
- .gallery-thumb {
2669
- flex: none;
2670
- width: 96px;
2671
- aspect-ratio: 4 / 3;
2672
- padding: 0;
2673
- overflow: hidden;
2674
- cursor: pointer;
2675
- border: 1px solid var(--line);
2676
- border-radius: calc(var(--radius) - 2px);
2677
- background: var(--raised);
2678
- opacity: 0.78;
2679
- transition:
2680
- opacity var(--t-hover) var(--ease-out),
2681
- border-color var(--t-hover) var(--ease-out);
2682
- }
2683
- .gallery-thumb img {
2684
- display: block;
2685
- width: 100%;
2686
- height: 100%;
2687
- object-fit: cover;
2688
- }
2689
- .gallery-thumb:hover {
2690
- opacity: 1;
2691
- }
2692
- .gallery-thumb[aria-current='true'] {
2693
- opacity: 1;
2694
- border-color: var(--accent);
2695
- box-shadow: 0 0 0 1px var(--accent);
2696
- }
2697
- .gallery-thumb:focus-visible {
2698
- outline: var(--focus-width) solid var(--focus);
2699
- outline-offset: 2px;
2700
- }
2701
- @media (max-width: 600px) {
2702
- .gallery-thumb {
2703
- width: 72px;
2704
- }
2705
- }
2706
- @media (prefers-reduced-motion: reduce) {
2707
- .gallery-thumb {
2708
- transition: none;
2709
- }
2710
- }
2711
2439
 
2712
2440
  /* The lightbox: the photo on a deep ground that is the same in both themes,
2713
2441
  because a photograph is judged against dark, whatever the page is. The
2714
2442
  ground and its ink are tokens (style.css); the box enters with the
2715
2443
  popover's fade where motion is welcome and leaves at once. */
2716
- .lightbox-backdrop {
2444
+ [data-slot='dialog-backdrop'][data-for='lightbox'] {
2717
2445
  position: fixed;
2718
2446
  inset: 0;
2719
2447
  z-index: 400;
@@ -2848,13 +2576,11 @@
2848
2576
  }
2849
2577
  }
2850
2578
  @media (prefers-reduced-motion: no-preference) {
2851
- .lightbox,
2852
- .lightbox-backdrop {
2579
+ .lightbox,[data-slot='dialog-backdrop'][data-for='lightbox'] {
2853
2580
  transition: opacity var(--t-popover) var(--ease-out);
2854
2581
  }
2855
2582
  @starting-style {
2856
- .lightbox,
2857
- .lightbox-backdrop {
2583
+ .lightbox,[data-slot='dialog-backdrop'][data-for='lightbox'] {
2858
2584
  opacity: 0;
2859
2585
  }
2860
2586
  }
@@ -3256,7 +2982,7 @@
3256
2982
  align-items: flex-end;
3257
2983
  gap: var(--space-3);
3258
2984
  }
3259
- .attachments-rename .form-field {
2985
+ .attachments-rename [data-slot='field'] {
3260
2986
  flex: 1 1 14rem;
3261
2987
  min-width: 0;
3262
2988
  margin: 0;
@@ -3438,6 +3164,15 @@
3438
3164
  .page-fact .date-value {
3439
3165
  font: inherit;
3440
3166
  }
3167
+ /* A record is where the exact day is read: its head says the date and the day from today quiet beside it
3168
+ ("Nov 8, 2026 · 7 days ago"). A list keeps the short form, the date its title. */
3169
+ .page-fact .date-value.relative[data-date]:not(.overdue) {
3170
+ color: var(--ink-muted);
3171
+ }
3172
+ .page-fact .date-value.relative[data-date]::before {
3173
+ content: attr(data-date) ' · ';
3174
+ color: var(--ink);
3175
+ }
3441
3176
  .page-fact-caption {
3442
3177
  color: var(--ink-muted);
3443
3178
  white-space: pre;
@@ -3724,11 +3459,12 @@
3724
3459
  background: var(--surface);
3725
3460
  min-width: 0;
3726
3461
  }
3462
+ /* The caption says what the card is of ("Home", "Resident") and the title under it which one: a quiet label
3463
+ over a name, in every look. Set as a section's head it was a second title over the first, and the aside's
3464
+ three of them outweighed the page's own sections. */
3727
3465
  .page-card-caption {
3728
3466
  margin: 0;
3729
- font: 600 var(--text-xs) var(--sans);
3730
- text-transform: uppercase;
3731
- letter-spacing: var(--track-caps, 0.05em);
3467
+ font: 600 var(--text-sm)/1.4 var(--sans);
3732
3468
  color: var(--ink-muted);
3733
3469
  }
3734
3470
  .page-card-title {
@@ -3737,21 +3473,33 @@
3737
3473
  letter-spacing: var(--track-title, -0.012em);
3738
3474
  overflow-wrap: anywhere;
3739
3475
  }
3476
+ /* A person's card: the disc their name wears in a list stands before it, centred on the name's first line. */
3477
+ .page-card-title.has-avatar {
3478
+ display: flex;
3479
+ align-items: center;
3480
+ gap: var(--space-3);
3481
+ }
3482
+ .page-card-title.has-avatar > .avatar {
3483
+ flex: none;
3484
+ }
3485
+ /* The card's facts are a list of properties: each a row, its caption in a column of its own so the values
3486
+ start on one edge and are read down. Two across under their captions, three facts stood as one and a half
3487
+ rows and no edge ran through them. */
3740
3488
  .page-card-facts {
3741
3489
  display: grid;
3742
- grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
3743
- gap: var(--space-4) var(--space-5);
3490
+ gap: var(--space-3);
3744
3491
  margin: 0;
3745
3492
  }
3746
3493
  .page-card-fact {
3494
+ display: grid;
3495
+ grid-template-columns: minmax(5.5rem, 34%) minmax(0, 1fr);
3496
+ column-gap: var(--space-4);
3497
+ align-items: baseline;
3747
3498
  min-width: 0;
3748
3499
  }
3749
- /* An address is read whole or cut with an ellipsis (its title says the rest), never broken mid-word across two lines
3750
- in a column of 8rem: an email takes the card's row. */
3751
- .page-card-fact:has(> dd > a.value-link:is([href^='mailto:'], [href^='http']):not(.value-address)) {
3752
- grid-column: 1 / -1;
3753
- }
3754
- /* A postal address is not cut: it stands on its own lines (Value.tsx). */
3500
+ /* An address breaks only where its parts meet (Value.tsx marks them), so it is read whole on two lines in a
3501
+ narrow column; a part wider than the column is cut with an ellipsis and never broken mid-word (its title says
3502
+ the rest). A postal address is not cut: it stands on its own lines (Value.tsx). */
3755
3503
  .page-card-fact > dd > a.value-link:is([href^='mailto:'], [href^='http']):not(.value-address) {
3756
3504
  display: block;
3757
3505
  overflow: hidden;
@@ -3759,13 +3507,15 @@
3759
3507
  white-space: nowrap;
3760
3508
  }
3761
3509
  .page-card-fact > dt {
3762
- font: 500 var(--text-sm) var(--sans);
3510
+ font: 400 var(--text-base)/1.45 var(--sans);
3763
3511
  color: var(--ink-muted);
3764
3512
  }
3765
3513
  .page-card-fact > dd {
3766
- margin: var(--space-1) 0 0;
3767
- font-size: var(--text-md);
3514
+ margin: 0;
3515
+ font-size: var(--text-base);
3516
+ line-height: 1.45;
3768
3517
  overflow-wrap: anywhere;
3518
+ font-variant-numeric: tabular-nums;
3769
3519
  }
3770
3520
  .page-card-foot {
3771
3521
  margin: var(--space-2) 0 0;
@@ -3791,10 +3541,10 @@
3791
3541
  text-decoration: underline;
3792
3542
  text-underline-offset: 3px;
3793
3543
  }
3794
- /* "View home →" is a way on, as a section's "View all" is (features.css): muted, its arrow always, the ink and the
3795
- underline under the pointer. */
3544
+ /* "View home →" is the way on from the card, and the one link in it that is not a value: it is set in the link
3545
+ colour so it is found, its arrow always, and underlined under the pointer. */
3796
3546
  button.ref-jump.page-card-more {
3797
- color: var(--ink-muted);
3547
+ color: var(--link);
3798
3548
  font: 500 var(--text-base) var(--sans);
3799
3549
  }
3800
3550
  button.ref-jump.page-card-more::after {
@@ -3802,7 +3552,7 @@
3802
3552
  }
3803
3553
  button.ref-jump.page-card-more:hover {
3804
3554
  background: none;
3805
- color: var(--ink);
3555
+ color: var(--link);
3806
3556
  text-decoration: underline;
3807
3557
  text-underline-offset: 3px;
3808
3558
  }
@@ -3954,7 +3704,7 @@
3954
3704
  }
3955
3705
  /* On a filled verb the faint ink is near the fill, unseen: the hint takes the button's own ink, whatever the look
3956
3706
  fills it with, and stays quieter than the verb by its size and face, never by opacity. */
3957
- :is(.btn-primary, .btn-danger) .key-hint {
3707
+ :is([data-slot='button'][data-variant='solid'],[data-slot='button'][data-variant='destructive']) .key-hint {
3958
3708
  color: inherit;
3959
3709
  opacity: 1;
3960
3710
  }