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

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 (158) hide show
  1. package/dist/client/app.js +14 -2
  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 +41 -11
  6. package/dist/client/components/AppList.d.ts +3 -1
  7. package/dist/client/components/AppList.js +77 -15
  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 +3 -1
  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 -1
  32. package/dist/client/components/GridSelection.js +20 -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 +39 -14
  40. package/dist/client/components/ListFilterBar.js +39 -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 +22 -4
  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 +8 -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 +1 -1
  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/valueModel.d.ts +1 -0
  102. package/dist/client/components/valueModel.js +39 -4
  103. package/dist/client/composer.css +2 -2
  104. package/dist/client/copy/es.js +3 -3
  105. package/dist/client/copy/filters/components/ListFilterBar.d.ts +1 -0
  106. package/dist/client/copy/filters/components/ListFilterBar.js +1 -0
  107. package/dist/client/copy/forms/components/DateField.d.ts +2 -0
  108. package/dist/client/copy/forms/components/DateField.js +2 -0
  109. package/dist/client/copy/forms/components/NewRecord.d.ts +8 -0
  110. package/dist/client/copy/forms/components/NewRecord.js +2 -0
  111. package/dist/client/copy/lists/components/AppList.d.ts +2 -0
  112. package/dist/client/copy/lists/components/AppList.js +2 -0
  113. package/dist/client/copy/lists/components/GridSelection.d.ts +1 -0
  114. package/dist/client/copy/lists/components/GridSelection.js +1 -0
  115. package/dist/client/copy/lists/components/ListColumns.d.ts +5 -0
  116. package/dist/client/copy/lists/components/ListColumns.js +7 -0
  117. package/dist/client/copy/lists/components/TableRoom.d.ts +3 -1
  118. package/dist/client/copy/lists/components/TableRoom.js +3 -1
  119. package/dist/client/copy/record/components/PageHistory.d.ts +2 -2
  120. package/dist/client/copy/record/components/PageHistory.js +4 -2
  121. package/dist/client/copy/record/components/WorkflowStatus.d.ts +1 -0
  122. package/dist/client/copy/record/components/WorkflowStatus.js +1 -0
  123. package/dist/client/copy/shell/components/MobileNavDrawer.d.ts +1 -0
  124. package/dist/client/copy/shell/components/MobileNavDrawer.js +2 -0
  125. package/dist/client/customThemes.css +3 -3
  126. package/dist/client/dom.js +5 -5
  127. package/dist/client/features.css +216 -356
  128. package/dist/client/fonts/Manrope-OFL.txt +93 -0
  129. package/dist/client/fonts/faces.css +10 -1
  130. package/dist/client/fonts/manrope-latin.woff2 +0 -0
  131. package/dist/client/formControls.css +4 -4
  132. package/dist/client/help.css +2 -2
  133. package/dist/client/ledgerLook.css +28 -0
  134. package/dist/client/locale.d.ts +2 -10
  135. package/dist/client/locale.js +0 -0
  136. package/dist/client/lumenLook.css +295 -105
  137. package/dist/client/manropeFace.css +32 -0
  138. package/dist/client/messages.d.ts +3 -3
  139. package/dist/client/messages.js +3 -3
  140. package/dist/client/page.css +98 -354
  141. package/dist/client/palette.js +31 -6
  142. package/dist/client/partsLook.css +60 -60
  143. package/dist/client/sageLook.css +101 -32
  144. package/dist/client/shellHost.d.ts +2 -2
  145. package/dist/client/shellHost.js +2 -2
  146. package/dist/client/shellMode.d.ts +9 -0
  147. package/dist/client/shellMode.js +2 -0
  148. package/dist/client/structure.css +281 -201
  149. package/dist/client/style.css +75 -224
  150. package/dist/client/themeFamilies.css +471 -66
  151. package/dist/client/tilesLook.css +502 -0
  152. package/dist/client/visualTheme.js +5 -2
  153. package/dist/client/visualThemes.css +38 -34
  154. package/dist/client/workbenchLook.css +12 -12
  155. package/dist/client/workshopLook.css +3 -8
  156. package/dist/vite.d.ts +1 -20
  157. package/dist/vite.js +33 -3
  158. package/package.json +8 -7
@@ -54,10 +54,11 @@
54
54
  position: relative;
55
55
  z-index: 20;
56
56
  min-width: 15rem;
57
- padding: var(--space-2h);
57
+ /* The popup family's inset and corner (style.css): a menu, a listbox and a picker's list are one box. */
58
+ padding: var(--space-2);
58
59
  background: var(--surface);
59
60
  border: 1px solid var(--line-strong);
60
- border-radius: var(--radius);
61
+ border-radius: var(--radius-pop, var(--radius));
61
62
  box-shadow: var(--shadow-pop);
62
63
  }
63
64
 
@@ -81,7 +82,7 @@
81
82
  border-radius: var(--radius-item);
82
83
  background: transparent;
83
84
  color: var(--ink);
84
- font-size: var(--text-sm);
85
+ font-size: var(--text-base);
85
86
  }
86
87
  @media (prefers-reduced-motion: no-preference) {
87
88
  .export-item, .page-actions-item { transition: background-color var(--t-hover) var(--ease-out); }
@@ -89,6 +90,8 @@
89
90
  .export-item:hover:not(:disabled), .export-item[data-highlighted]:not(:disabled),
90
91
  .page-actions-item:hover:not(:disabled), .page-actions-item[data-highlighted]:not(:disabled) { background: var(--raised); }
91
92
  .export-item:disabled, .page-actions-item:disabled { color: var(--ink-muted); cursor: progress; }
93
+ /* A verb that does not apply now (Views' Save, with nothing to keep) stays in its place, quiet. */
94
+ .page-actions-item[aria-disabled="true"] { color: var(--ink-subtle); cursor: default; }
92
95
  /* Delete: last in More, in the danger colour, ruled off from the record's
93
96
  own verbs so it is never the item a hurried tap lands on. */
94
97
  .page-actions-item.is-danger { color: var(--status-critical); position: relative; }
@@ -113,7 +116,6 @@ button.ghost.fav-star[aria-pressed="true"] { color: var(--status-warning); borde
113
116
  .applist-head.dash-head:has(.fav-star):has(.dash-description) { flex-wrap: wrap; }
114
117
  .applist-head.dash-head:has(.fav-star) .dash-description { flex-basis: 100%; margin: 0; }
115
118
 
116
-
117
119
  .export-columns-item { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-4); }
118
120
  .export-count { font: var(--text-xs) var(--mono); color: var(--ink-subtle); }
119
121
  /* No bottom border: the group below already draws a top one at this seam, and
@@ -464,7 +466,7 @@ body.app-mode .page-edit { font-family: var(--sans); }
464
466
  .applist-quick:focus { border-color: var(--focus); outline: none; }
465
467
  .applist-quick-text { width: 120px; font: var(--text-sm) var(--mono); background: var(--ground); }
466
468
  /* The house listbox, sized like the inputs beside it. */
467
- .applist-field .dd-button {
469
+ .applist-field [data-slot='select-trigger'] {
468
470
  padding: var(--space-2) var(--space-3); min-width: 110px;
469
471
  font: var(--text-sm) var(--sans);
470
472
  border: 1px solid var(--line-control); border-radius: var(--radius);
@@ -627,112 +629,8 @@ body.first-run #db-label {
627
629
  .welcome-examples li { grid-template-columns: 1fr; gap: 0.15rem; }
628
630
  }
629
631
 
630
- /* ---------- the tour ----------
631
-
632
- A scrim, a ring around the thing being talked about, and a card beside it.
633
- The scrim is light: this is a tool someone is trying to read, and a
634
- near-black overlay makes the interface behind it unreadable at exactly the
635
- moment the card is telling them to look at it. */
636
- /* The dim is painted by the ring's own outward shadow, not by this, so that
637
- the one element being talked about is the one element at full strength. A
638
- full-bleed layer with the ring on top of it tints the anchor as well —
639
- which is the whole interface saying "look here" while making "here" the
640
- hardest thing on screen to read.
641
-
642
- This stays as the thing that catches a click outside. */
643
- .tour-scrim {
644
- position: fixed;
645
- inset: 0;
646
- z-index: 60;
647
- }
648
-
649
- /* The stop with no anchor has no hole to punch, so the scrim paints it. */
650
- .tour-scrim.dim { background: var(--tour-veil); }
651
-
652
632
  :root { --tour-veil: color-mix(in srgb, var(--ground) 62%, transparent); }
653
633
 
654
- .tour-ring {
655
- position: fixed;
656
- z-index: 61;
657
- border: 2px solid var(--accent);
658
- border-radius: var(--radius);
659
- /* Everything outside the ring, dimmed, in one shadow — which is what makes
660
- the inside of it untouched. `100vmax` rather than a round number of
661
- pixels so it still covers the corners of a very wide window. */
662
- box-shadow: 0 0 0 100vmax var(--tour-veil);
663
- pointer-events: none;
664
- transition: top var(--t-popover) var(--ease-out), left var(--t-popover) var(--ease-out),
665
- width var(--t-popover) var(--ease-out), height var(--t-popover) var(--ease-out);
666
- }
667
-
668
- .tour-card {
669
- position: fixed;
670
- z-index: 62;
671
- width: min(23rem, calc(100vw - 2rem));
672
- padding: 1rem 1.1rem 0.9rem;
673
- background: var(--surface);
674
- border: 1px solid var(--line-strong);
675
- border-radius: var(--radius);
676
- box-shadow: var(--shadow-panel);
677
- }
678
-
679
- .tour-step {
680
- margin: 0 0 0.35rem;
681
- font-size: 0.72rem;
682
- letter-spacing: 0.06em;
683
- text-transform: uppercase;
684
- color: var(--ink-muted);
685
- }
686
-
687
- .tour-title {
688
- margin: 0 0 0.4rem;
689
- font-size: 1rem;
690
- font-weight: 600;
691
- }
692
-
693
- .tour-body {
694
- margin: 0;
695
- font-size: 0.87rem;
696
- line-height: 1.55;
697
- color: var(--ink-muted);
698
- }
699
-
700
- .tour-actions {
701
- display: flex;
702
- gap: 0.5rem;
703
- margin-top: 1rem;
704
- align-items: center;
705
- }
706
-
707
- /* Skip sits away from the two that move through the tour, so "leave" is never
708
- the button next to the one the hand is already on. */
709
- .tour-skip { margin-right: auto; }
710
-
711
- .tour-actions button { font-size: 0.83rem; padding: 0.35rem 0.8rem; }
712
-
713
- @media (prefers-reduced-motion: reduce) {
714
- .tour-ring { transition: none; }
715
- }
716
-
717
- /* The example query on the stop that explains the bar. Its own line, because
718
- it is the thing to be typed rather than part of the sentence around it. */
719
- .tour-code {
720
- display: block;
721
- margin: 0 0 0.55rem;
722
- padding: 0.4rem 0.55rem;
723
- background: var(--raised);
724
- border: 1px solid var(--line);
725
- border-radius: var(--radius);
726
- font-family: var(--mono);
727
- font-size: 0.79rem;
728
- color: var(--ink);
729
- /* Wrapped rather than scrolled. A horizontal scrollbar inside a 23rem card
730
- hides the end of the one line the reader is being asked to copy, and a
731
- query reads perfectly well over two lines. */
732
- white-space: pre-wrap;
733
- word-break: break-word;
734
- }
735
-
736
634
  /* Connections that exist and would not open, on the screen you land on when
737
635
  none of them did. The screen used to say "nothing connected" over a list of
738
636
  things that were configured and broken, and offer adding another as the
@@ -766,19 +664,29 @@ body.first-run #db-label {
766
664
 
767
665
  /* ---------- preferences ---------- */
768
666
 
769
- .prefs { width: min(24rem, 92vw); }
770
- .prefs-title { margin: 0 0 var(--space-4h); font: 600 calc(15px * var(--type-k)) var(--sans); letter-spacing: -0.01em; }
667
+ .prefs { width: min(26rem, 92vw); }
668
+ /* A dialog's title, as a command's and a New form's are (page.css): the look's heading face and weight at a list's
669
+ title size. Set in the sans at 15px and 600 it was the one title in a look with a serif that was not in it, and a
670
+ size under every other dialog's. */
671
+ .prefs-title { margin: 0 0 var(--space-4h); font: var(--heading-weight, 600) var(--type-list-title, var(--text-xl)) / 1.2 var(--heading-font, var(--sans)); letter-spacing: var(--track-title); }
771
672
  .prefs-row {
772
673
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-5);
773
674
  padding: var(--space-3) 0;
774
675
  }
775
676
  .prefs-row + .prefs-row { border-top: 1px solid var(--line); }
776
- .prefs-name { display: flex; flex-direction: column; gap: var(--space-1); font-size: var(--text-sm); }
777
- .prefs-hint { color: var(--ink-subtle); font-size: var(--text-xs); }
677
+ /* A setting is named as a form names a field, at the label's size and weight, and its hint is a sentence under it in
678
+ the muted ink: at 12px over an 11px fragment the names were the smallest words in the dialog, under the values
679
+ they name. */
680
+ .prefs-name { display: flex; flex-direction: column; gap: var(--space-1); min-width: 0; font-size: var(--text-md); font-weight: 500; }
681
+ .prefs-hint { color: var(--ink-muted); font-size: var(--text-sm); font-weight: 400; line-height: 1.4; }
778
682
  /* A quiet text action under the label, in the accent's ink: it undoes a pick, so it is not a button of its own weight. */
779
- .prefs-reset { align-self: flex-start; padding: 0; border: 0; background: none; color: var(--accent-ink); font: inherit; font-size: var(--text-xs); cursor: pointer; }
683
+ .prefs-reset { align-self: flex-start; padding: 0; border: 0; background: none; color: var(--accent-ink); font: inherit; font-size: var(--text-sm); font-weight: 400; cursor: pointer; }
780
684
  .prefs-reset:hover { text-decoration: underline; }
781
- .prefs-row .dd-button { min-width: 9rem; }
685
+ .prefs-row [data-slot='select-trigger'] { min-width: 9rem; }
686
+ /* A pick's name stays on one line and the row's words give way: "Safety orange" beside its swatches broke in two
687
+ and made its box taller than the others. */
688
+ .prefs-row [data-slot='select-value'] { white-space: nowrap; }
689
+ .prefs-row [data-slot='dropdown'] { flex: none; }
782
690
  .prefs-foot { display: flex; justify-content: flex-end; margin-top: var(--space-4h); }
783
691
 
784
692
  /* The user's own tabs sit after the app's, set apart by a hairline; the ×
@@ -813,8 +721,6 @@ body.app-mode.page-bare .content { padding-inline: 0; }
813
721
  the pane edge over a centered grid read as two different screens. */
814
722
  .dash-head { margin-top: var(--space-2h); margin-bottom: var(--space-6); width: 100%; }
815
723
  .dash-head .dash-description { padding: 0; margin: var(--space-2h) 0 0; max-width: 70ch; font-size: var(--text-md); line-height: 1.5; }
816
- /* Filter controls already separate the heading from the dashboard body. */
817
- .dash-head:has(+ div .dash-controls) { margin-bottom: 0; }
818
724
  /* `head: 'compact'`: the title at a list's size on one line with its star, and the body close under it — a working
819
725
  page whose own controls are its intro. Same gutters as the full head, so switching the form moves nothing sideways. */
820
726
  .dash-head-compact { align-items: center; gap: var(--space-2h); width: 100%; margin-bottom: var(--space-3); }
@@ -824,20 +730,12 @@ body.app-mode.page-bare .content { padding-inline: 0; }
824
730
  measurement need layout) but out of sight and out of the page's flow. */
825
731
  /* The hosts React trees are drawn into: no box of their own. */
826
732
  .dash-host, .applist-host, .crumbs-host, .landing-host, .grid-host, .peek-host, .peekpanel-host, .palette-host, .help-host, .host-contents { display: contents; }
827
- /* Aligned with the head and the body's centered column, above the grid
828
- and outside it — a control row is not a section. */
829
- .dash-controls {
830
- display: flex; align-items: center; gap: var(--space-2) 18px; flex-wrap: wrap;
831
- width: 100%; padding: var(--space-4) var(--space-4h) var(--space-2);
832
- }
833
733
  /* A window's name is one word to the eye ("last 30 days"): it never wraps
834
734
  inside its pill. On a phone the row wraps between pills rather than
835
735
  squeezing each to a stack of words, or scrolling a control sideways inside
836
736
  its section, which hid the last window behind the edge. */
837
737
  .dash-windows { display: flex; flex-wrap: wrap; gap: var(--space-2); max-width: 100%; }
838
738
  .dash-window { white-space: nowrap; flex-shrink: 0; }
839
- .dash-picks { display: flex; gap: var(--space-3); margin-left: auto; }
840
- .dash-pick .dd-button { font-size: var(--text-sm); padding: var(--space-1h) var(--space-3); }
841
739
  .dash-window {
842
740
  padding: var(--space-1) var(--space-3h); font: var(--text-sm) var(--mono); color: var(--ink-muted);
843
741
  background: none; border: 1px solid transparent; border-radius: 999px;
@@ -846,11 +744,6 @@ body.app-mode.page-bare .content { padding-inline: 0; }
846
744
  .dash-window[aria-pressed="true"] {
847
745
  color: var(--accent-ink); border-color: var(--accent); background: var(--accent-soft);
848
746
  }
849
- .dash-delta { font-size: var(--text-sm); color: var(--ink-muted); font-family: var(--mono); }
850
- /* Only when the author said which way is better: a fall in "won" is bad,
851
- a fall in "overdue" is good, and the card cannot know without being told. */
852
- .dash-delta.good { color: var(--status-good); }
853
- .dash-delta.bad { color: var(--status-critical); }
854
747
  /* A trend spans its card and never widens it: the spark stretches to the
855
748
  card's width (Chart.tsx, Sparkline), its stroke and dot keeping their size. */
856
749
  .spark-host { display: block; align-self: stretch; margin-top: var(--space-3); height: 28px; width: 100%; min-width: 0; }
@@ -863,31 +756,11 @@ body.app-mode.page-bare .content { padding-inline: 0; }
863
756
  .spark-stroke { fill: none; stroke: var(--spark-ink, var(--accent)); stroke-width: 1.5; opacity: 0.75; }
864
757
  /* The last point: a round cap on a zero-length stroke, round however far the spark stretches. */
865
758
  .spark-dot { fill: none; stroke: var(--spark-ink, var(--accent)); stroke-width: 5; stroke-linecap: round; }
866
- /* A change names what it is a change from, a step quieter than the change. */
867
- .dash-delta-period { color: var(--ink-muted); font-family: var(--sans); }
868
- /* The period phrase is one unit: a line breaks before "vs", never inside "prior 30 days", and never inside the change
869
- ("↓ $785.1K" broke under its own arrow in half a phone's row). */
870
- .dash-delta-period, .dash-delta-whole, .dash-delta-figure { white-space: nowrap; }
871
- /* A card the reader's window does not move says so, in the caption's ink. */
872
- .dash-fixed { font-size: var(--text-sm); color: var(--ink-muted); }
873
- .dash-list-head, .board-head { display: flex; align-items: baseline; gap: var(--space-3h); }
874
- /* A section's title may wrap; its count and its way to the full list do not.
875
- Each stays one line, level with the title's first: "2 in all" broke into
876
- "2 in / all" beside a two-line title in a narrow aside. */
877
- :is(.dash-list-head, .board-head) > .page-section-title { flex: 0 1 auto; min-width: 0; }
878
- :is(.dash-list-head, .board-head) > :not(.page-section-title) { flex: none; white-space: nowrap; }
879
759
  /* A dashboard's section title is an h2 under the dashboard's name. Its size
880
760
  and its spacing were the browser's for an h3 and are kept here, on the
881
761
  class, so the outline could change and the page not: each look still sets
882
762
  the type over this. */
883
763
  .page-section-title { margin-block: 1em; font-size: 1.17em; font-weight: bold; }
884
- /* "View all" is a way on, not a thing to read: muted ink with its arrow, and the underline and the ink only under the
885
- pointer. A bold underlined link in link ink was the loudest word on a section whose rows were the point. */
886
- button.ghost.dash-open { margin-left: auto; padding: var(--space-2) 0; border: 0; background: none; box-shadow: none; color: var(--ink-muted); font-size: var(--text-base); font-weight: 500; text-decoration: none; text-underline-offset: 3px; white-space: nowrap; }
887
- /* The arrow is drawn, not said: the button's name stays "View all" (alt text after the slash). */
888
- button.ghost.dash-open::after { content: ' →' / ''; }
889
- button.ghost.dash-open:hover { color: var(--ink); background: none; text-decoration: underline; }
890
- .dash-count { font-size: var(--text-sm); color: var(--ink-muted); font-family: var(--mono); }
891
764
  /* Inside a card the grid's own stat row (count, timing, Export) was a
892
765
  second strip of chrome between the title and the rows; the count worth
893
766
  keeping moved up beside the title. */
@@ -953,8 +826,6 @@ button.ghost.dash-open:hover { color: var(--ink); background: none; text-decorat
953
826
 
954
827
  /* A metric against its goal: a meter under the number, the share said beside it. */
955
828
  .dash-target { display: flex; align-items: center; gap: var(--space-3); margin-top: var(--space-2h); font: var(--text-sm) var(--mono); color: var(--ink-muted); }
956
- .dash-target-meter { flex: 0 0 64px; height: 4px; background: var(--raised); }
957
- .dash-target-meter > span { display: block; height: 100%; background: var(--accent); }
958
829
 
959
830
  /* A percent drawn as well as said. The bar leads, the number settles it. */
960
831
  .pct-wrap { display: inline-flex; align-items: center; gap: var(--space-3); }
@@ -1036,6 +907,9 @@ td.dressed { white-space: nowrap; }
1036
907
  kept together, the line wrapping between them rather than the table scrolling sideways. Said a size down, the
1037
908
  line muted; the values keep their own dress, a chip its tone. */
1038
909
  td.has-more { white-space: normal; }
910
+ /* The name over its folded columns takes a second line rather than an ellipsis: a folded row is two lines already,
911
+ and "Redgate Analytics Holdi…" stood cut over a detail line that wrapped whole beneath it (G187). */
912
+ td.has-more .cell-main { white-space: normal; text-overflow: clip; }
1039
913
  .cell-more { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-4); font: 400 var(--text-xs)/1.35 var(--sans); color: var(--ink-muted); }
1040
914
  .cell-more-item { display: inline-flex; flex-wrap: wrap; align-items: baseline; column-gap: var(--space-2); min-width: 0; }
1041
915
  .cell-more-head { color: var(--ink-subtle); }
@@ -1097,7 +971,7 @@ body.app-mode .table-wrap.grid-dense .lead-icon { width: 22px; height: 22px; }
1097
971
  border-radius: var(--radius);
1098
972
  box-shadow: var(--shadow-modal);
1099
973
  }
1100
- .prefs-backdrop { background: var(--scrim); }
974
+ [data-slot='dialog-backdrop'][data-for='prefs'] { background: var(--scrim); }
1101
975
 
1102
976
  .app-loaderror {
1103
977
  margin: 0 var(--space-4h) var(--space-3);
@@ -1170,7 +1044,7 @@ body.app-mobile-nav .topnav { display: flex; flex: none; align-self: center; mar
1170
1044
  .tn-mobile-menu { display: inline-flex; align-items: center; gap: var(--space-3); min-height: 36px; padding: 0 var(--space-3); border: 0; background: transparent; color: var(--ink-muted); font: var(--type-ui) var(--sans); }
1171
1045
  .tn-mobile-menu:hover { color: var(--ink); background: var(--raised); }
1172
1046
  .tn-mobile-menu .mistri-icon { width: 17px; height: 17px; }
1173
- .modal.mobile-nav-drawer { position: fixed; inset: 0 auto 0 0; width: min(20rem, calc(100% - 44px)); height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; border-right: 1px solid var(--line); border-radius: 0; transform: none; background: var(--surface); box-shadow: var(--shadow-modal); }
1047
+ [data-slot='dialog-content'][data-kind='modal'].mobile-nav-drawer { position: fixed; inset: 0 auto 0 0; width: min(20rem, calc(100% - 44px)); height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; border-right: 1px solid var(--line); border-radius: 0; transform: none; background: var(--surface); box-shadow: var(--shadow-modal); }
1174
1048
  body.app-mobile-nav .topnav { order: -1; }
1175
1049
  body.app-mobile-nav .brand { flex: 1; min-width: 0; }
1176
1050
  body.app-mobile-nav .brand-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@@ -1188,6 +1062,8 @@ body.app-mobile-nav .brand-name { overflow: hidden; text-overflow: ellipsis; whi
1188
1062
  .mobile-nav-close:hover, .mobile-nav-search:hover { color: var(--ink); background: var(--raised); }
1189
1063
  .mobile-nav-list { flex: 1; min-height: 0; overflow-y: auto; margin: 0; padding: var(--space-3); list-style: none; }
1190
1064
  .mobile-nav-list li { margin-bottom: 1px; }
1065
+ /* The reader's own rows (settings, account) under the rooms: as tall as their two rows, ruled off from the menu. */
1066
+ .mobile-nav-account { flex: none; overflow: visible; border-top: 1px solid var(--line); }
1191
1067
  .mobile-nav-list button { width: 100%; min-height: 44px; padding: var(--space-3); text-align: left; border: 0; border-radius: var(--radius); background: transparent; color: var(--ink); font: var(--type-ui)/1.35 var(--sans); display: flex; justify-content: space-between; gap: var(--space-3); align-items: center; }
1192
1068
  .mobile-nav-list button:hover { background: var(--raised); }
1193
1069
  .mobile-nav-list button[aria-current="true"], .mobile-nav-list button.active { background: var(--accent-soft); color: var(--accent-ink); }
@@ -1195,7 +1071,7 @@ body.app-mobile-nav .brand-name { overflow: hidden; text-overflow: ellipsis; whi
1195
1071
  .mobile-nav-list .nav-icon + .nav-label { flex: 1; min-width: 0; }
1196
1072
  .mobile-nav-list .rows { color: var(--ink-muted); font-size: var(--text-xs); font-variant-numeric: tabular-nums; }
1197
1073
  .mobile-nav-list .view-tag { color: var(--status-info); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.06em; }
1198
- .mobile-nav-list li.nav-group { padding: var(--space-4) var(--space-3) var(--space-1h) calc(8px + var(--nav-group-inset, 0px)); color: var(--nav-muted); font: var(--text-xs) var(--sans); text-transform: uppercase; letter-spacing: 0.06em; }
1074
+ .mobile-nav-list li.nav-group { padding: var(--space-4) var(--space-3) var(--space-1h) calc(8px + var(--nav-group-inset, 0px)); color: var(--nav-muted); font: 500 var(--text-xs) var(--sans); }
1199
1075
  .mobile-nav-list li.nav-group .nav-group-fold { position: relative; min-height: 0; padding: 0; font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; }
1200
1076
  /* The heading's geometry stays the plain one's; the touch target reaches into its own padding (style.css). */
1201
1077
  .mobile-nav-list li.nav-group .nav-group-fold::before { content: ''; position: absolute; inset: -10px -8px -3px; }
@@ -1281,7 +1157,7 @@ body.app-nav-rail.sidebar-hidden #sidebar-app-footer { padding-inline: var(--spa
1281
1157
  body.app-nav-rail.sidebar-hidden .sidebar-identity-copy { position: absolute; width: 1px; height: 1px;
1282
1158
  padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
1283
1159
  body.app-nav-rail.sidebar-hidden .sidebar-identity { justify-content: center; padding-inline: 0; }
1284
- body.app-mode .sidebar-footer { display: flex; flex: none; padding: var(--space-3); border-top: 1px solid var(--line); }
1160
+ body.app-mode .sidebar-footer:not([hidden]) { display: flex; flex: none; padding: var(--space-3); border-top: 1px solid var(--line); }
1285
1161
  body.app-mode .sidebar-footer .sidebar-collapse { color: inherit; width: 100%; height: 36px; justify-content: flex-start; gap: var(--space-3h); padding-inline: var(--space-3h); font: var(--text-sm) var(--sans); }
1286
1162
  body.app-mode.sidebar-hidden .sidebar-footer .sidebar-collapse { justify-content: center; padding-inline: 0; }
1287
1163
  body.app-mode.sidebar-hidden .sidebar-collapse-label { display: none; }
@@ -1487,7 +1363,7 @@ body.app-mode .sidebar[data-density="comfortable"] #table-list .nav-dot { width:
1487
1363
  /* ---------- the peek drawer ---------- */
1488
1364
 
1489
1365
  .peekpanel-root { position: fixed; inset: 0; z-index: 80; }
1490
- .peekpanel-backdrop, .peekpanel-glance-backdrop { position: absolute; inset: 0; background: var(--scrim-light); }
1366
+ :is(.peekpanel-backdrop, [data-slot='dialog-backdrop'][data-for='peekpanel']),[data-slot='dialog-backdrop'][data-for='peekpanel-glance'] { position: absolute; inset: 0; background: var(--scrim-light); }
1491
1367
  .peekpanel {
1492
1368
  position: absolute; top: 0; right: 0; bottom: 0;
1493
1369
  width: min(34rem, 92vw);
@@ -1498,16 +1374,16 @@ body.app-mode .sidebar[data-density="comfortable"] #table-list .nav-dot { width:
1498
1374
  /* The glance is a Modal (PeekPanel.tsx): its panel and scrim are drawn in the
1499
1375
  dialog portal, not in a root of their own, so they stand where the root
1500
1376
  stood, over the page. */
1501
- .peekpanel-glance, .peekpanel-glance-backdrop { position: fixed; z-index: 80; }
1377
+ .peekpanel-glance,[data-slot='dialog-backdrop'][data-for='peekpanel-glance'] { position: fixed; z-index: 80; }
1502
1378
  /* Its title holds the focus only so that J, K and Tab start inside; the
1503
- glance's own box says where the focus is, as a dialog's does (.modal). */
1379
+ glance's own box says where the focus is, as a dialog's does. */
1504
1380
  .peekpanel-glance .peekpanel-title:focus { outline: none; }
1505
1381
  @media (prefers-reduced-motion: no-preference) {
1506
1382
  .peekpanel {
1507
1383
  transition: transform var(--t-panel) var(--ease-out), opacity var(--t-panel) var(--ease-out);
1508
1384
  @starting-style { transform: translateX(24px); opacity: 0; }
1509
1385
  }
1510
- .peekpanel-backdrop, .peekpanel-glance-backdrop {
1386
+ :is(.peekpanel-backdrop, [data-slot='dialog-backdrop'][data-for='peekpanel']),[data-slot='dialog-backdrop'][data-for='peekpanel-glance'] {
1511
1387
  transition: opacity var(--t-panel) var(--ease-out);
1512
1388
  @starting-style { opacity: 0; }
1513
1389
  }
@@ -1530,11 +1406,31 @@ body.app-mode .sidebar[data-density="comfortable"] #table-list .nav-dot { width:
1530
1406
  body.app-mode .confirm:is(.insert-dialog, .command-form, .set-field-dialog) > h2 {
1531
1407
  font: var(--heading-weight, 600) var(--type-list-title) / 1.2 var(--heading-font, var(--sans)); letter-spacing: var(--track-title);
1532
1408
  }
1409
+ /* A dialog that asks for fields ends as the New drawer does: its verbs in a band across its foot, ruled off from
1410
+ the fields and standing while they scroll, so Cancel and the verb are in one place in every form. The band runs
1411
+ out over the box's own padding (the `.confirm` box's, said here once so the two cannot drift) to its edges. A
1412
+ phone's dialog fills the screen and stacks its verbs (structure.css); a confirmation has no fields to rule off. */
1413
+ @media (min-width: 641px) {
1414
+ body.app-mode .confirm:is(.insert-dialog, .command-form, .set-field-dialog) {
1415
+ --dialog-pad-y: 20px; --dialog-pad-x: 22px;
1416
+ padding: var(--dialog-pad-y) var(--dialog-pad-x);
1417
+ }
1418
+ body.app-mode .confirm:is(.insert-dialog, .command-form, .set-field-dialog) :is(.confirm-actions, .newpanel-foot) {
1419
+ position: sticky; bottom: calc(-1 * var(--dialog-pad-y)); z-index: 1;
1420
+ margin: var(--space-6) calc(-1 * var(--dialog-pad-x)) calc(-1 * var(--dialog-pad-y));
1421
+ padding: var(--space-4) var(--dialog-pad-x);
1422
+ border-top: 1px solid var(--line);
1423
+ background: color-mix(in srgb, var(--raised) 60%, var(--surface));
1424
+ }
1425
+ }
1533
1426
  .peekpanel-open { flex: none; font-size: var(--text-sm); color: var(--ink-muted); }
1534
1427
  .peekpanel-open:hover { color: var(--ink); }
1428
+ /* A 28px square with the cross at a size it is seen at: at the text's 16px in the faint ink it was the smallest
1429
+ mark on the drawer and the one a reader looks for. */
1535
1430
  .peekpanel-close {
1536
- flex: none; background: none; border: none; border-radius: var(--radius);
1537
- font-size: var(--text-lg); line-height: 1; padding: var(--space-2) var(--space-3); color: var(--ink-subtle);
1431
+ flex: none; display: grid; place-items: center; width: 28px; height: 28px; padding: 0;
1432
+ background: none; border: none; border-radius: var(--radius);
1433
+ font-size: calc(20px * var(--type-k, 1)); line-height: 1; color: var(--ink-muted);
1538
1434
  }
1539
1435
  .peekpanel-close:hover { color: var(--ink); background: var(--raised); }
1540
1436
  .peekpanel-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: var(--space-4h); }
@@ -1551,46 +1447,8 @@ body.app-mode .confirm:is(.insert-dialog, .command-form, .set-field-dialog) > h2
1551
1447
  }
1552
1448
  .peekpanel-fields dd { margin: 0; min-width: 0; font-size: var(--text-base); overflow-wrap: anywhere; }
1553
1449
  .peekpanel-fields .ref-jump { white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
1554
-
1555
- /* ---------- the matrix ---------- */
1556
-
1557
- .matrix-host { margin-top: var(--space-3); }
1558
- .matrix-wrap { overflow-x: auto; padding-bottom: var(--space-2); }
1559
1450
  .matrix { border-collapse: collapse; font: var(--text-sm) var(--mono); }
1560
1451
  .matrix th, .matrix td { padding: 5px 9px; text-align: right; white-space: nowrap; }
1561
- .matrix-col { color: var(--ink-subtle); font-weight: 400; font-size: var(--text-xs); }
1562
- .matrix-row { text-align: left; color: var(--ink-muted); font-weight: 400; padding-left: 0; }
1563
- /* A cell's heat (Dashboard.tsx sets --heat, its share of the heaviest) tints it with the accent, from 6% up to the
1564
- palette's heat top: the strongest tint its ink still reads on at 4.5:1 (appTheme.js, theme.ts heatTop), 62% where
1565
- nothing measured one. The figure, and folded its column's name, are in the ink. */
1566
- .matrix-cell {
1567
- min-width: 4.5rem; border-radius: min(3px, var(--radius)); color: var(--ink);
1568
- --heat-fill: color-mix(in srgb, var(--accent) max(6%, var(--heat-top, 62%) * var(--heat, 0)), transparent);
1569
- }
1570
- .matrix-drill {
1571
- background: none; border: none; padding: 0; font: inherit;
1572
- color: inherit; cursor: pointer;
1573
- }
1574
- .matrix-drill:hover { color: var(--accent-ink); }
1575
-
1576
- /* A matrix wider than its section is folded (Dashboard.tsx, useMatrixFold) rather than scrolled sideways: each row
1577
- its name over its figures, each figure under its column's name, as many to a line as fit. The heads stay for a
1578
- reader that hears them; to the eye each cell carries its own. */
1579
- .matrix-host[data-fold] .matrix-wrap { overflow-x: visible; }
1580
- .matrix-host[data-fold] :is(.matrix, .matrix tbody) { display: block; }
1581
- .matrix-host[data-fold] .matrix thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
1582
- .matrix-host[data-fold] .matrix tr {
1583
- display: grid; grid-template-columns: repeat(auto-fill, minmax(4.5rem, 1fr)); gap: var(--space-1);
1584
- padding: var(--space-3) 0; border-bottom: 1px solid var(--line);
1585
- }
1586
- .matrix-host[data-fold] .matrix .matrix-row { grid-column: 1 / -1; padding: 0 0 var(--space-1); }
1587
- .matrix-host[data-fold] .matrix-cell {
1588
- display: flex; flex-direction: column; gap: var(--space-1); min-width: 0; text-align: left; padding: var(--space-2) var(--space-3);
1589
- }
1590
- .matrix-host[data-fold] .matrix-cell::before { content: attr(data-label); color: var(--ink-subtle); font-size: var(--text-xs); }
1591
- /* On a tinted cell the column's name is in the cell's ink, as its figure is: the second and third inks fell to 2:1
1592
- on the heaviest step. Its size, not a fainter ink, sets it under the figure. */
1593
- .matrix-host[data-fold] .matrix-cell[style]::before { color: inherit; }
1594
1452
 
1595
1453
  /* ---------- the board ---------- */
1596
1454
 
@@ -1609,13 +1467,6 @@ body.app-mode .confirm:is(.insert-dialog, .command-form, .set-field-dialog) > h2
1609
1467
  border: 1px solid var(--line); border-radius: var(--radius);
1610
1468
  padding: var(--space-3);
1611
1469
  }
1612
- .board-lane-head {
1613
- display: flex; align-items: baseline; gap: var(--space-3);
1614
- padding: 0 var(--space-1) var(--space-3); font-size: var(--text-sm);
1615
- }
1616
- .board-lane-name { color: var(--ink-muted); }
1617
- .board-lane-count { margin-left: auto; color: var(--ink-subtle); font-family: var(--mono); font-size: var(--text-xs); }
1618
- .board-cards { display: flex; flex-direction: column; gap: var(--space-2h); }
1619
1470
  .board-card {
1620
1471
  display: flex; flex-direction: column; gap: var(--space-1h); align-items: flex-start;
1621
1472
  width: 100%; text-align: left; font: inherit; cursor: pointer;
@@ -1624,10 +1475,6 @@ body.app-mode .confirm:is(.insert-dialog, .command-form, .set-field-dialog) > h2
1624
1475
  padding: var(--space-3) var(--space-3);
1625
1476
  }
1626
1477
  .board-card:hover { border-color: var(--line-strong); }
1627
- .board-card-title { font-size: var(--text-base); }
1628
- .board-card-line { font-size: var(--text-sm); color: var(--ink-muted); }
1629
- .board-more { align-self: flex-start; font-size: var(--text-sm); color: var(--ink-muted); padding: var(--space-2) var(--space-1); }
1630
- .board-more:hover { color: var(--ink); }
1631
1478
 
1632
1479
  /* The modal: the same glance wearing centred clothes — one enum, one
1633
1480
  seam, two presentations. */
@@ -1639,12 +1486,12 @@ body.app-mode .confirm:is(.insert-dialog, .command-form, .set-field-dialog) > h2
1639
1486
  border-radius: var(--radius);
1640
1487
  box-shadow: var(--shadow-modal);
1641
1488
  }
1642
- .modal.peekpanel-modal {
1489
+ [data-slot='dialog-content'][data-kind='modal'].peekpanel-modal {
1643
1490
  position: fixed; inset: 0; margin: auto; transform: none; padding: 0;
1644
1491
  width: min(42rem, 92vw); height: fit-content; max-height: 78%;
1645
1492
  overflow: hidden; background: var(--surface); color: var(--ink);
1646
1493
  }
1647
- .modal-backdrop.peekpanel-backdrop { position: fixed; background: var(--scrim); }
1494
+ [data-slot='dialog-backdrop'][data-kind='modal']:is(.peekpanel-backdrop, [data-slot='dialog-backdrop'][data-for='peekpanel']) { position: fixed; background: var(--scrim); }
1648
1495
  .peekpanel-modal .peekpanel-head { flex: none; }
1649
1496
  .peekpanel-modal .peekpanel-body { min-height: 0; }
1650
1497
  /* The record dialog is a workspace, not a glance: on a wide screen it takes
@@ -1653,7 +1500,7 @@ body.app-mode .confirm:is(.insert-dialog, .command-form, .set-field-dialog) > h2
1653
1500
  resized the dialog on every step. Above the phone breakpoint only: below
1654
1501
  it the dialog is full-screen (Modal.css). */
1655
1502
  @media (min-width: 641px) {
1656
- .modal.peekpanel-modal.record-modal {
1503
+ [data-slot='dialog-content'][data-kind='modal'].peekpanel-modal.record-modal {
1657
1504
  width: min(80rem, 94vw); height: 88%; max-height: none;
1658
1505
  display: flex; flex-direction: column;
1659
1506
  }
@@ -1674,7 +1521,7 @@ body.app-mode .confirm:is(.insert-dialog, .command-form, .set-field-dialog) > h2
1674
1521
  transition: transform var(--t-panel) var(--ease-out), opacity var(--t-panel) var(--ease-out);
1675
1522
  @starting-style { transform: translateX(-50%) translateY(8px); opacity: 0; }
1676
1523
  }
1677
- .modal.peekpanel-modal { @starting-style { transform: none; opacity: 0; } }
1524
+ [data-slot='dialog-content'][data-kind='modal'].peekpanel-modal { @starting-style { transform: none; opacity: 0; } }
1678
1525
  }
1679
1526
 
1680
1527
  /* The component measures the full strip; folding is not a table-count rule. */
@@ -1718,6 +1565,10 @@ body.app-mode .confirm:is(.insert-dialog, .command-form, .set-field-dialog) > h2
1718
1565
  font: var(--text-sm) var(--mono); padding: var(--space-1) var(--space-3h);
1719
1566
  }
1720
1567
  .app-issues:hover { background: color-mix(in srgb, var(--status-warning) 20%, transparent); }
1568
+ /* Where the bar is the menu's ground and that ground is dark by day (`data-bar-ground`: a look whose menu is
1569
+ near-black beside a white page), the badge leans toward the menu's ink, as on a dark bar (brandLook.css): leaned
1570
+ toward the page's, it read 2.15:1 in Graphite's top bar. */
1571
+ :root[data-bar-ground~='light:dark'] body.app-topnav .topbar .app-issues { color: color-mix(in srgb, var(--status-warning) 40%, var(--nav-ink)); }
1721
1572
  .app-issues-dialog { max-width: 44rem; }
1722
1573
  .app-issues-dialog h2 { margin: 0 0 var(--space-3h); font: 600 var(--text-md) var(--mono); }
1723
1574
  .app-issues-list { margin: 0 0 var(--space-3h); padding-left: 1.4rem; }
@@ -1736,19 +1587,25 @@ body.app-mode .confirm:is(.insert-dialog, .command-form, .set-field-dialog) > h2
1736
1587
  min-height: 30px; padding: var(--space-1) var(--space-6) var(--space-1) var(--space-2h); border: 1px solid var(--line-control); border-radius: var(--radius);
1737
1588
  background: var(--surface); font: var(--text-sm) var(--mono); }
1738
1589
  .picker:focus-within { border-color: var(--focus); }
1739
- .picker-input { flex: 1 1 8rem; min-width: 6rem; border: 0; outline: none; background: none; color: var(--ink);
1590
+ /* The picker is the box; the input in it takes its line's height, not a field's own. */
1591
+ .picker-input { flex: 1 1 8rem; min-width: 6rem; height: auto; border: 0; outline: none; background: none; color: var(--ink);
1740
1592
  font: inherit; padding: var(--space-1h) var(--space-1); }
1741
1593
  .picker-input::placeholder { color: var(--ink-subtle); }
1742
1594
  .picker-clear { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); border: 0; background: none;
1743
1595
  color: var(--ink-muted); font-size: var(--text-md); line-height: 1; padding: var(--space-1) var(--space-2h); cursor: pointer; border-radius: var(--radius); }
1744
1596
  .picker-clear:hover { color: var(--ink); background: var(--raised); }
1745
1597
  .picker-popup { padding: var(--space-2); max-height: min(17rem, var(--available-height)); overflow-y: auto;
1746
- overscroll-behavior: contain; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
1598
+ overscroll-behavior: contain; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-pop, var(--radius));
1747
1599
  box-shadow: var(--shadow-pop); }
1600
+ /* The picker's popup is the box, as wide as the picker: the control's own popup round it draws nothing, or its edge
1601
+ and shadow round this one read as a panel in a panel and set the list in from the field by its padding. */
1602
+ [data-slot='autocomplete-content']:has(> .picker-popup) { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
1603
+ /* What was typed, picked out of each name by its weight. */
1604
+ .picker-match { font-weight: 650; }
1748
1605
  .picker-list { position: relative; margin: 0; padding: 0; list-style: none;
1749
1606
  max-height: none; overflow: visible; background: none; border: 0; border-radius: 0; box-shadow: none; }
1750
1607
  .picker-list[hidden] { display: none; }
1751
- .picker-option { display: flex; justify-content: space-between; gap: var(--space-4); padding: var(--space-2) var(--space-3); border-radius: var(--radius); cursor: pointer; }
1608
+ .picker-option { display: flex; justify-content: space-between; gap: var(--space-4); padding: var(--space-2) var(--space-3); border-radius: var(--radius-item, var(--radius)); cursor: pointer; }
1752
1609
  .picker-option.active, .picker-option:hover { background: var(--accent-soft); color: var(--accent-ink); }
1753
1610
  .picker-option.chosen .picker-option-label::before { content: '✓ '; }
1754
1611
  .picker-option-detail { color: var(--ink-muted); font-size: var(--text-xs); }
@@ -1770,12 +1627,12 @@ body.app-mode .insert-field .req { color: var(--status-critical); font-size: var
1770
1627
  .insert-missing { grid-column: 2; font: var(--text-xs) var(--mono); color: var(--status-critical); }
1771
1628
  .insert-missing[hidden] { display: none; }
1772
1629
  /* Command fields stack label, input and feedback (components/Field.tsx). */
1773
- .command-field :is(.field-control, .dd-button, .date-field-input)[aria-invalid="true"],
1630
+ .command-field :is(:is([data-slot='input'], [data-slot='textarea']),[data-slot='select-trigger'],:is([data-slot='date-field'] > [data-slot='input']))[aria-invalid="true"],
1774
1631
  .command-field .picker:has([aria-invalid="true"]) { border-color: var(--status-critical); }
1775
1632
  @media (max-width: 700px) {
1776
1633
  .insert-missing { grid-column: 1; }
1777
1634
  }
1778
- .insert-field.missing .insert-input, .insert-field.missing .picker, .insert-field.missing .dd-button { border-color: var(--status-critical); }
1635
+ .insert-field.missing .insert-input, .insert-field.missing .picker, .insert-field.missing [data-slot='select-trigger'] { border-color: var(--status-critical); }
1779
1636
 
1780
1637
  /* ---------- the New drawer ---------- */
1781
1638
 
@@ -1788,12 +1645,34 @@ body.app-mode .insert-field .req { color: var(--status-critical); font-size: var
1788
1645
  fields: in a phone's drawer a lead's Create sat under the fold, past six fields. */
1789
1646
  .newpanel-foot {
1790
1647
  display: flex; justify-content: flex-end; gap: var(--space-3);
1791
- padding: var(--space-4) var(--space-4h); border-top: 1px solid var(--line); background: var(--surface);
1648
+ /* No padding at its sides: the body has the drawer's, and with its own the buttons stood a step in from the
1649
+ fields they end. */
1650
+ padding: var(--space-4) 0; border-top: 1px solid var(--line); background: var(--surface);
1792
1651
  /* The body's own padding would leave a strip of fields showing under it. */
1793
1652
  position: sticky; bottom: calc(-1 * var(--space-4h)); z-index: 1;
1794
1653
  /* The last field's help stood on the foot's rule with no room between: the gap a field keeps from the next. */
1795
1654
  margin-top: calc(var(--space-6) - var(--space-2));
1796
1655
  }
1656
+ /* The drawer's form fills its body, so the foot stands at the drawer's foot however few the fields: under three
1657
+ fields it stood mid-air, the buttons a different place in every form. It is a band from the drawer's edge to
1658
+ its edge, a step off the surface, so what ends the form is not read as one more row of it. */
1659
+ .newpanel-body { display: flex; flex-direction: column; }
1660
+ .newpanel-body > .insert-form { flex: 1 0 auto; display: flex; flex-direction: column; }
1661
+ .newpanel-body > .insert-form > .insert-fields { flex: 1 0 auto; align-content: start; }
1662
+ .newpanel-body > .insert-form > .newpanel-foot {
1663
+ /* Out over the body's own padding on three sides, so the band ends at the drawer's edges and its foot. */
1664
+ margin: calc(var(--space-6) - var(--space-2)) calc(-1 * var(--space-4h)) calc(-1 * var(--space-4h));
1665
+ padding: var(--space-4) var(--space-4h);
1666
+ background: color-mix(in srgb, var(--raised) 60%, var(--surface));
1667
+ }
1668
+ /* At a desk a drawer stands off the window's edge, in the look's larger corner: a sheet laid over the page, as a
1669
+ dialog is, and not a wall of the window. A phone's fills the screen (structure.css). */
1670
+ @media (min-width: 761px) {
1671
+ .peekpanel {
1672
+ top: var(--space-3); right: var(--space-3); bottom: var(--space-3);
1673
+ border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: clip;
1674
+ }
1675
+ }
1797
1676
 
1798
1677
  /* An App's New form reads as its command forms do (components/Field.tsx): each
1799
1678
  label over its control, the help under it, then what is wrong — one column,
@@ -1802,22 +1681,40 @@ body.app-mode .insert-field .req { color: var(--status-critical); font-size: var
1802
1681
  .insert-form-app .insert-fields { gap: var(--field-gap); padding-right: 0; }
1803
1682
  .insert-form-app .insert-group-fields { gap: calc(var(--space-6) - var(--space-2)); }
1804
1683
  /* Fields are laid on a grid of 200px-or-wider cells: a field takes the whole row, and a short answer (a count, an
1805
- amount, a day, a time — `data-kind`, which Field and the New form's field set from the data) takes one cell, so
1684
+ amount, a day, a time — `data-answer`, which Field and the New form's field set from the data) takes one cell, so
1806
1685
  consecutive short answers share a row and wrap at narrow widths, one to a row where two cells do not fit (the
1807
1686
  `min(…, 100%)` keeps a 320px page at one column and no sideways scroll). Decided from the data kinds in order,
1808
- never measured, so no answer moves another (docs/design.md, Forms). An author's own row (`.form-columns`) is one
1687
+ never measured, so no answer moves another (docs/design.md, Forms). An author's own row (Columns) is one
1809
1688
  whole-row item and keeps its own columns. */
1810
1689
  :is(.insert-form-app .insert-group-fields, .command-fields) { grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); column-gap: var(--space-5); align-items: start; }
1811
1690
  :is(.insert-form-app .insert-group-fields, .command-fields) > * { grid-column: 1 / -1; min-width: 0; }
1812
- :is(.insert-form-app .insert-group-fields, .command-fields) > [data-kind] { grid-column: auto; }
1691
+ :is(.insert-form-app .insert-group-fields, .command-fields) > [data-answer] { grid-column: auto; }
1813
1692
  .insert-form-app .insert-field { grid-template-columns: minmax(0, 1fr); gap: var(--space-2h); align-items: stretch; }
1814
1693
  /* The label sits in a row with its optional word, so the row's label is named as well as a bare one: `> :is(label,
1815
- .form-field-label-row > label)` matched only the bare one, and the muted 12px Workbench rule drew the rest. */
1694
+ the row's label)` matched only the bare one, and the muted 12px Workbench rule drew the rest. */
1816
1695
  body.app-mode .insert-form-app .insert-field > label,
1817
- body.app-mode .insert-form-app .insert-field > .form-field-label-row > label { font: 400 var(--text-md)/1.3 var(--sans); color: var(--ink); }
1818
- .insert-form-app .insert-field .insert-input, .insert-form-app .insert-field .dd-button { width: 100%; box-sizing: border-box; font-family: var(--sans); font-size: var(--text-md); }
1696
+ body.app-mode .insert-form-app .insert-field > [data-slot='field-head'] > label { font: 400 var(--text-md)/1.3 var(--sans); color: var(--ink); }
1697
+ .insert-form-app .insert-field .insert-input, .insert-form-app .insert-field [data-slot='select-trigger'] { width: 100%; box-sizing: border-box; font-family: var(--sans); font-size: var(--text-md); }
1819
1698
  .insert-form-app .insert-field textarea.insert-input { min-height: 88px; resize: vertical; line-height: 1.45; }
1820
1699
  .insert-form-app .insert-missing { grid-column: 1; font: var(--text-sm)/1.45 var(--sans); }
1700
+ /* What a refused form got wrong, said together at its head (NewRecord.tsx): the critical tone's wash and edge, a
1701
+ line that says how many, and each problem a press from its field. The field's name is the press, in the critical
1702
+ ink and underlined as a link in a sentence is; what is wrong with it follows in the ink, to be read. */
1703
+ div.form-problems {
1704
+ grid-column: 1 / -1; display: grid; gap: var(--space-2);
1705
+ margin: 0; padding: var(--space-3h) var(--space-4);
1706
+ border: 1px solid color-mix(in srgb, var(--status-critical) 35%, var(--line)); border-radius: var(--radius);
1707
+ background: color-mix(in srgb, var(--status-critical) 6%, var(--surface));
1708
+ font: var(--text-base)/1.45 var(--sans); color: var(--ink);
1709
+ }
1710
+ div.form-problems > p { margin: 0; font-weight: 600; color: var(--ink); }
1711
+ div.form-problems > ul { margin: 0; padding-inline-start: var(--space-5); }
1712
+ div.form-problems li + li { margin-top: var(--space-1); }
1713
+ div.form-problems button {
1714
+ min-height: 0; height: auto; padding: 0; border: 0; border-radius: var(--radius-sm, 2px); background: none;
1715
+ color: var(--status-critical); font: inherit; font-weight: 600;
1716
+ text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
1717
+ }
1821
1718
  .insert-form-app .insert-group + .insert-group { margin-top: var(--space-5); }
1822
1719
  .insert-form-app .insert-group { border-top: 1px solid var(--line); padding-top: var(--space-4h); }
1823
1720
  .insert-form-app .insert-group legend { float: left; width: 100%; margin: 0; padding: 0; border: 0;
@@ -1853,11 +1750,12 @@ body.app-mode .insert-form-app .insert-field > .form-field-label-row > label { f
1853
1750
  /* ---------- signing in ---------- */
1854
1751
 
1855
1752
  .signin { display: grid; justify-items: center; align-content: start; min-height: 70vh; padding: clamp(32px, 14vh, 140px) var(--space-5) var(--space-8); }
1856
- /* One box at the optical centre (a little above the middle), as wide as a
1857
- sentence of its note: the App's name is in the bar, so the card says what
1858
- the screen is for — "Sign in to Payday" — and nothing twice. */
1859
- .signin-card { width: min(25rem, 100%); box-sizing: border-box; display: grid; gap: 18px; padding: var(--space-7); border: 1px solid var(--line); border-radius: var(--radius-lg, var(--radius)); background: var(--surface); }
1860
- .signin-title { margin: 0 0 var(--space-1); font: var(--heading-weight, 600) calc(22px * var(--type-k))/1.25 var(--heading-font, var(--sans)); letter-spacing: var(--track-title, -0.012em); overflow-wrap: anywhere; }
1753
+ /* One column at the optical centre (a little above the middle), 22rem wide and drawn in no box: the door is the
1754
+ only thing on its screen, so a frame round it framed nothing, and on a phone it never had one. The App's mark,
1755
+ the heading — "Sign in to Payday" — the fields and the links share the column's left edge. */
1756
+ .signin-card { width: min(22rem, 100%); box-sizing: border-box; display: grid; gap: var(--space-5); }
1757
+ /* off-scale: the door's heading is the one headline on its screen, a display size as a landing's is, over 20px. */
1758
+ .signin-title { margin: 0 0 var(--space-2); font: var(--heading-weight, 600) calc(28px * var(--type-k))/1.2 var(--heading-font, var(--sans)); letter-spacing: var(--track-display, -0.022em); overflow-wrap: anywhere; text-wrap: balance; }
1861
1759
  .signin-form { display: grid; gap: var(--space-5); }
1862
1760
  /* The fields and buttons are the primitives (Field, Button); what is left here
1863
1761
  is the card's own arrangement. */
@@ -1868,33 +1766,44 @@ body.app-mode .insert-form-app .insert-field > .form-field-label-row > label { f
1868
1766
  .signin-secret { position: relative; display: grid; }
1869
1767
  .signin-secret .signin-input { padding-inline-end: 4.25rem; }
1870
1768
  .signin-secret .signin-reveal { position: absolute; inset-block: 4px; inset-inline-end: 4px; min-width: 52px; min-height: 0; padding-block: 0; }
1871
- .signin-submit { margin-top: var(--space-2); }
1872
- .signin-card .btn-large { font-weight: 600; }
1769
+ .signin-card [data-slot='button'][data-size='lg'] { font-weight: 600; }
1873
1770
  /* A form's one action fills in the theme's primary-action color (docs/design.md, the Button), as a command form's does
1874
1771
  (formDress.css): the sign-in door, a prompt or a confirmation, the account profile. Lumen's ink, so the door says
1875
1772
  "Sign in" by weight as every other form says "next"; the accent where a theme names none, and in the Workbench. */
1876
1773
  :is(.signin-card, .confirm, .account-profile) { --form-primary: var(--primary, var(--accent)); --form-on-primary: var(--on-primary, var(--on-accent)); }
1877
- :is(.signin-card, .confirm, .account-profile) .btn-primary { --accent: var(--form-primary); --on-accent: var(--form-on-primary); }
1774
+ :is(.signin-card, .confirm, .account-profile) [data-slot='button'][data-variant='solid'] { --accent: var(--form-primary); --on-accent: var(--form-on-primary); }
1878
1775
  .signin-social-row { display: grid; gap: var(--space-3); }
1776
+ /* "or", on a rule between another account's buttons and the App's own form. */
1777
+ .signin-or { display: flex; align-items: center; gap: var(--space-4); margin: 0; color: var(--ink-subtle); font: var(--text-sm)/1.4 var(--sans); }
1778
+ .signin-or::before, .signin-or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
1879
1779
  .signin-social .signin-mark { flex: none; width: 18px; height: 18px; margin-right: var(--space-2); }
1880
1780
  .signin-problem { margin: 0; font: var(--text-base) var(--sans); color: var(--status-critical); }
1881
- /* The credentials form's line is held while empty, so a refusal arriving there moves nothing. */
1882
- .signin-problem-held { min-height: calc(var(--text-base) * 1.4); line-height: 1.4; }
1781
+ /* The credentials form's line is held while empty, so a refusal arriving there moves nothing. It is held inside the
1782
+ gap between the password and the button, not as a row of its own between two gaps: empty, that row read as a hole
1783
+ in the form three times the space between its fields. */
1784
+ .signin-problem-held { min-height: calc(var(--text-base) * 1.4); margin-block: calc(var(--space-2) - var(--space-5)); line-height: 1.4; }
1785
+ /* The held line's other word, Caps Lock: a note, not a refusal. */
1786
+ .signin-note { color: var(--ink-muted); }
1883
1787
  .signin-lede { margin: 0; color: var(--ink-muted); font: var(--text-md)/1.5 var(--sans); }
1884
1788
  /* Switching mode, Forgot password? and Back to sign in are links in words, not
1885
1789
  more outlined buttons beside Sign in: quiet Buttons, drawn as the link they read as. */
1886
- .signin-card .btn-quiet { justify-self: start; min-height: 24px; padding: 0; font: 500 var(--text-base) var(--sans); text-decoration: underline; text-underline-offset: 3px; }
1887
- .signin-card .btn-quiet:hover:not(:disabled, [aria-disabled="true"]) { background: none; text-decoration-thickness: 2px; }
1790
+ .signin-card [data-slot='button'][data-variant='quiet'] { justify-self: start; min-height: 24px; padding: 0; font: 500 var(--text-base) var(--sans); text-decoration: underline; text-underline-offset: 3px; }
1791
+ .signin-card [data-slot='button'][data-variant='quiet']:hover:not(:disabled, [aria-disabled="true"]) { background: none; text-decoration-thickness: 2px; }
1792
+ /* Show and Hide are the password box's own adornment, not a link out of the form: the muted ink, no underline. */
1793
+ .signin-card .signin-secret [data-slot='button'][data-variant='quiet'].signin-reveal { justify-self: auto; padding-inline: var(--space-2); color: var(--ink-muted); text-decoration: none; }
1794
+ @media (hover: hover) {
1795
+ .signin-card .signin-secret [data-slot='button'][data-variant='quiet'].signin-reveal:hover:not(:disabled, [aria-disabled="true"]) { color: var(--ink); }
1796
+ }
1888
1797
  /* A sentence the form opens with (an account made, a password changed) is not a footnote: no rule above it. */
1889
1798
  .signin-notice { margin: 0; color: var(--ink); font: var(--text-md)/1.5 var(--sans); }
1890
1799
  /* An application asking for a token (OAuthConsent.tsx): the person's roles as checkboxes under one label,
1891
1800
  and the answer's two buttons, the primary last at the right, as a form's actions stand. */
1892
1801
  .oauth-consent-roles { display: grid; gap: var(--space-3h); min-width: 0; margin: 0; padding: 0; border: 0; }
1893
1802
  .oauth-consent-roles > legend { margin: 0 0 var(--space-1); padding: 0; }
1894
- .oauth-consent-roles > .form-field-hint { margin: 0; }
1803
+ .oauth-consent-roles > [data-slot='field-description'] { margin: 0; }
1895
1804
  .oauth-consent-actions { display: flex; justify-content: flex-end; gap: var(--space-3h); margin-top: var(--space-2h); }
1896
1805
  /* The way back to the App's public pages sits over the card, on its edge. */
1897
- .signin-home { width: min(25rem, 100%); box-sizing: border-box; margin-bottom: var(--space-4h); padding-block: var(--space-2); color: var(--link); font: 500 var(--text-base) var(--sans); text-decoration: none; }
1806
+ .signin-home { width: min(22rem, 100%); box-sizing: border-box; margin-top: var(--space-4h); padding-block: var(--space-2); color: var(--link); font: 500 var(--text-base) var(--sans); text-decoration: none; }
1898
1807
  .signin-home:hover { text-decoration: underline; text-underline-offset: 3px; }
1899
1808
  .signin-home:focus-visible { outline: var(--focus-width) solid var(--focus); outline-offset: 2px; }
1900
1809
  /* Sign-in has no database or App navigation, including a persisted collapsed
@@ -1988,21 +1897,42 @@ body.session-locked > :not(#session-lock) { display: none !important; }
1988
1897
  .cell-edit-launch:hover { outline: 1px solid var(--line); outline-offset: 2px; }
1989
1898
  .cell-edit-launch:focus-visible { outline: var(--focus-width) solid var(--focus); outline-offset: 2px; }
1990
1899
  .cell-edit-surface { min-width: 0; }
1991
- .cell-edit-surface :is(.cell-edit, .dd, .dd-button, .picker, .date-field, .date-field-input) { width: 100%; min-width: 0; }
1992
- .set-field-dialog .form-field + .form-field { margin-top: var(--space-5); }
1900
+ .cell-edit-surface :is(.cell-edit,[data-slot='dropdown'],[data-slot='select-trigger'], .picker,[data-slot='date-field'],:is([data-slot='date-field'] > [data-slot='input'])) { width: 100%; min-width: 0; }
1901
+ .set-field-dialog [data-slot='field'] + [data-slot='field'] { margin-top: var(--space-5); }
1993
1902
  .conn-form-fields { min-width: 0; margin: 0; padding: 0; border: 0; }
1994
1903
  .prompt-multiline { width: 100%; min-width: 0; min-height: 12rem; max-height: 60vh; resize: vertical; font-family: var(--mono); white-space: pre; }
1995
1904
 
1996
- /* The queue's selection on a grid: a checkbox in each row's leading cell,
1997
- select all in the header row's (no label, no count), and the bulk bar
1998
- above the rows. */
1999
- .grid-select-bar { display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; margin: 0 0 var(--space-3); }
2000
- .grid-select-bar { padding-inline: var(--space-5); }
2001
- /* Nothing chosen and nothing to report is no bar: an empty band over the
2002
- rows would be space scrolled past on every visit. */
2003
- .grid-select-bar:not(:has(.queue-bulk, .queue-status, .queue-result:not([hidden]))) { display: none; }
2004
- .grid-select-bar .queue-bulk { margin: 0; padding: 0; border: 0; background: none; }
2005
- .grid-select-bar .queue-report { flex-basis: 100%; }
1905
+ /* The queue's selection on a grid: a checkbox in each row's leading cell, select all in the header row's (no
1906
+ label, no count), and the bulk bar at the rows' foot, held in view while they are. It takes no room of its own
1907
+ (a height of none, its box standing up from it), so ticking a row moves no row, and it is the page's ink with
1908
+ the surface's words: the one thing on the page that is about the rows chosen and not the rows. What stands in
1909
+ it reads the two swapped, so each look's buttons draw there as they do on the page. Nothing chosen and nothing
1910
+ to report is no bar. */
1911
+ .grid-select-bar { position: sticky; bottom: var(--space-5); z-index: 5; display: flex; justify-content: center; align-items: flex-end; height: 0; pointer-events: none; }
1912
+ /* While it stands, the rows end with the bar's own height under them: at the list's foot the bar rests in that room
1913
+ and the last rows are read above it, where it lay over them. The room is after the rows, so ticking one still
1914
+ moves none. */
1915
+ .grid-select-bar:has(.grid-select-float) { margin-top: calc(var(--control-h) + var(--space-7)); }
1916
+ .grid-select-float {
1917
+ --float-ground: var(--ink); --float-ink: var(--surface);
1918
+ display: flex; flex-direction: column; gap: var(--space-2); box-sizing: border-box; max-width: 100%; pointer-events: auto;
1919
+ padding: var(--space-2h) var(--space-2h) var(--space-2h) var(--space-4h);
1920
+ border-radius: var(--radius-pop, var(--radius)); background: var(--float-ground); color: var(--float-ink); box-shadow: var(--shadow-pop);
1921
+ }
1922
+ .grid-select-float > * {
1923
+ --surface: var(--float-ground); --ground: var(--float-ground); --ink: var(--float-ink);
1924
+ --ink-muted: color-mix(in srgb, var(--float-ink) 76%, var(--float-ground)); --ink-subtle: var(--ink-muted);
1925
+ --line: color-mix(in srgb, var(--float-ink) 26%, var(--float-ground)); --line-strong: var(--line); --line-control: var(--line);
1926
+ --raised: color-mix(in srgb, var(--float-ink) 14%, var(--float-ground)); --shadow-control: none;
1927
+ color: var(--ink);
1928
+ }
1929
+ .grid-select-float:not(:has(.queue-bulk, .queue-status, .queue-result:not([hidden]))) { display: none; }
1930
+ .grid-select-bar .queue-bulk { position: static; margin: 0; padding: 0; border: 0; background: none; flex-wrap: nowrap; }
1931
+ .grid-select-bar .queue-count { margin-inline-end: var(--space-3); font-weight: 600; color: var(--ink); white-space: nowrap; }
1932
+ /* A line under the row's name keeps the body's weight (the name's is themeFamilies.css's). */
1933
+ .app-mode tbody tr > td:is(:first-child:not(.row-host), .row-host + td) .cell-sub { font-weight: 400; }
1934
+ /* A chosen row is on the accent's tint: the tick alone was a mark fifteen pixels wide in a row a thousand long. */
1935
+ .table-wrap tbody tr:has(> .row-host > .row-select:checked) > td { background: var(--accent-soft); }
2006
1936
  .row-host .row-select { width: 15px; height: 15px; margin: 0; accent-color: var(--accent); cursor: pointer; }
2007
1937
  /* Select all sat against the first column's sort button, a finger's 24px
2008
1938
  round it 0.4px short of clear (WCAG 2.5.8, which a 15px box meets by its
@@ -2061,41 +1991,36 @@ body.app-mode th .pk { display: none; }
2061
1991
  .crumb-tools, .applist-head-tools { margin-left: auto; display: flex; align-items: center; gap: var(--space-3); }
2062
1992
  /* With no bar over it, a list's heading row ends in the same verbs (AppList): baseline-set beside its title. */
2063
1993
  .applist-head-tools { align-self: center; flex-shrink: 0; }
2064
- /* Import's mark is drawn only where it stands for the word (structure.css, a phone's crumb bar). */
2065
- .applist-import-mark { display: none; }
1994
+ /* A list's summary (`summary` on its view): a dashboard's strip of figures between the list's name and its tabs, on
1995
+ the room's own edge. */
1996
+ .applist-host > .list-summary { margin: var(--space-3) var(--room-inset) 0; }
1997
+ /* A page's verbs are one family at the head's end, in one order: Views, Export, Import, then New (AppList.tsx).
1998
+ Each of the first three is a mark and its word; on a phone the mark stands for the word (structure.css). Under a
1999
+ bar the rows draw Export after the others, so the order is said here. */
2000
+ .applist-head-slot { display: contents; }
2001
+ .crumb-tools > :is(.applist-import, .applist-new) { order: 1; }
2002
+ .app-mode :is(.crumb-tools, .applist-head-tools) :is(.export-summary, .applist-import) { display: inline-flex; align-items: center; gap: var(--space-2h); }
2003
+ :is(.applist-verb-mark, .applist-import-mark) { flex: none; }
2066
2004
  .applist-count {
2067
2005
  padding: 1px var(--space-3); border-radius: 999px; background: var(--raised);
2068
2006
  font: 500 var(--text-sm)/1.5 var(--sans); color: var(--ink-muted); font-variant-numeric: tabular-nums;
2069
2007
  }
2070
- .crumb-tools :is(button, .export > button) { min-height: 30px; padding-block: var(--space-2); font-size: var(--text-sm); }
2071
- /* One stable row, including selected chips. Scroll inside the controls, never
2072
- the page. The room under the bar is reserved whether or not it is showing
2073
- (`scrollbar-gutter`), so growing filter labels cannot move the table when
2074
- overflow first appears — that is what `overflow-x: scroll` used to buy, at
2075
- the price of a permanent bar under the tabs on every platform that draws a
2076
- classic one. `auto` keeps the guarantee and draws nothing until there is
2077
- something to scroll.
2078
- Focused controls scroll into view natively; pickers render through portals. */
2008
+ .applist-count-of { font: 400 var(--text-sm)/1.5 var(--sans); color: var(--ink-muted); font-variant-numeric: tabular-nums; }
2009
+ .crumb-tools :is(button, .export > button) { min-height: var(--control-h-sm); padding-block: var(--space-2); font-size: var(--text-sm); }
2010
+ /* Two rows over the rows (docs/design.md, Standing layout rules): the tabs on a rule of their own, and under them
2011
+ the bar that refines what the tab shows, its search first, its filters after it and the list's own controls at
2012
+ its end. Each row fits its width and neither scrolls: the tabs past the strip's end go under More (useTabFold.ts)
2013
+ and the filters not yet asked for into one "+ Filter" (ListFilterBar.tsx, which reads this strip's own overrun to
2014
+ know when). What a late face or a long chip still overruns by scrolls inside the strip, never the page; the room
2015
+ under its bar is reserved (`scrollbar-gutter`), so it draws nothing until there is something to scroll. */
2079
2016
  .applist-controls {
2080
- display: flex; flex: none; flex-wrap: nowrap; align-items: center; gap: var(--space-3) var(--space-5);
2017
+ display: flex; flex: none; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-5);
2081
2018
  /* This strip is the shared seam between the heading, filters and every
2082
- result presentation. Equal block padding keeps the scrollable control
2083
- row clear of cards, queues and tables without each presentation owning a
2084
- margin. */
2019
+ result presentation. Equal block padding keeps the control rows clear
2020
+ of cards, queues and tables without each presentation owning a margin. */
2085
2021
  box-sizing: border-box; min-width: 0; max-width: 100%; padding: var(--space-4) var(--space-4h);
2086
- overflow-x: auto; scrollbar-gutter: stable; container-type: scroll-state;
2087
- }
2088
- /* More tabs than the strip holds: the strip draws no bar (the App's panes
2089
- draw none), so a tab stopping at the edge read as the last one, cut in
2090
- half. The far edge fades while there is more to scroll to and clears at
2091
- the end, as a board's lanes do (TriageBoard.css): it answers the scroll
2092
- position, so nothing moves, and the sliver's negative margin gives back
2093
- its width and the row's gap, so it adds no scroll of its own. */
2094
- .applist-controls::after {
2095
- content: ''; position: sticky; right: 0; flex: 0 0 32px; align-self: stretch; margin-left: -48px;
2096
- pointer-events: none; visibility: hidden; background: linear-gradient(to right, transparent, var(--ground));
2097
- }
2098
- @container scroll-state(scrollable: right) { .applist-controls::after { visibility: visible; } }
2022
+ overflow-x: auto; scrollbar-gutter: stable;
2023
+ }
2099
2024
  .applist-controls .applist-fields { flex-wrap: nowrap; justify-content: flex-start; align-items: center; gap: var(--space-3) var(--space-4); }
2100
2025
  .applist-controls .applist-fields > * { flex-shrink: 0; }
2101
2026
  .applist-controls .applist-search { flex: 0 0 17rem; }
@@ -2106,8 +2031,9 @@ body.app-mode th .pk { display: none; }
2106
2031
  .applist-controls .applist-search { flex-basis: 10rem; }
2107
2032
  .applist-controls .applist-fields .applist-chip { min-height: 36px; }
2108
2033
  }
2109
- /* The view's verbs remain one group at the end of the same scrolling row. */
2110
- .applist-actions { display: flex; align-items: center; gap: var(--space-1); margin-left: var(--space-2); flex: none; }
2034
+ /* The list's own controls (its columns, its layout, how it is read) stand at the bar's far end, apart from what
2035
+ refines the rows. */
2036
+ .applist-actions { display: flex; align-items: center; gap: var(--space-1); margin-left: auto; flex: none; }
2111
2037
  .applist-actions:empty { display: none; }
2112
2038
  /* Rows or a board (LayoutSwitch.tsx): a segmented pair of marks, the phone's Records/Table switch drawn at every width. */
2113
2039
  .list-layout { display: inline-flex; }
@@ -2120,12 +2046,9 @@ body.app-mode th .pk { display: none; }
2120
2046
  .list-layout-seg:last-child { border-radius: 0 var(--radius-item) var(--radius-item) 0; margin-inline-start: -1px; }
2121
2047
  .list-layout-seg[aria-pressed="true"] { background: var(--raised); color: var(--accent-ink); border-color: var(--accent); position: relative; }
2122
2048
  .list-layout-seg:focus-visible { outline: var(--focus-width) solid var(--focus); outline-offset: 1px; }
2123
- /* Where the rail folds into its sheet, the strip's one row scrolls and the
2124
- verbs sit at its end — so Filters, which is now the only way to reach the
2125
- facets at all, was off the right edge behind a horizontal scroll nobody
2126
- thinks to try. At those widths the verbs come first and the tabs scroll
2127
- past them instead. */
2128
- @media (max-width: 860px) {
2049
+ /* On a phone the search and Filters lead and the tabs take the row under them (structure.css): Filters is the only
2050
+ way to the facets there, and it stands first in its row, before the search. */
2051
+ @media (max-width: 760px) {
2129
2052
  /* `.applist-actions` sits inside the filter bar's field row, so the order
2130
2053
  is set on both: the bar ahead of the tabs, the verbs ahead of the fields. */
2131
2054
  .applist-controls > .applist-filterbar { order: -1; }
@@ -2144,24 +2067,12 @@ body.app-mode th .pk { display: none; }
2144
2067
  /* The stepper for multi-step forms (command forms and the New form). Global, not a
2145
2068
  component import: the New form sits on a module path the node tests load. */
2146
2069
  .multi-step-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-5); min-width: 0; }
2147
- /* The nav scrolls itself and nothing else: it is the step's own width, so the page never moves sideways to reach the
2148
- current item (MultiStepForm.tsx sets its scrollLeft). Relative, so an item's offset is the nav's. */
2149
- .multi-step-nav { position: relative; container-type: inline-size; border-bottom: 1px solid var(--line); overflow-x: auto; }
2150
- .multi-step-nav ol { display: flex; gap: var(--space-2); min-width: max-content; margin: 0; padding: 0; list-style: none; }
2151
- .multi-step-nav-item { display: inline-flex; align-items: center; gap: var(--space-3); min-height: 40px; padding: var(--space-2h) var(--space-3h); border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--ink-muted); font: inherit; cursor: pointer; }
2152
- .multi-step-nav-item[aria-current='step'] { border-bottom-color: var(--accent); color: var(--accent-ink); font-weight: 700; }
2153
- .multi-step-nav-item:disabled { cursor: default; opacity: .6; }
2154
- .multi-step-nav-item:not(:disabled):hover { background: var(--raised); color: var(--ink); }
2155
- .multi-step-label { display: block; min-width: 0; }
2156
- /* The current step's name keeps to half the row and ends in an ellipsis, so the numbers stay in view at 411px. */
2157
- .multi-step-nav-item[aria-current='step'] .multi-step-label { max-width: 50cqw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
2158
- .multi-step-number { flex: none; display: inline-grid; place-items: center; width: 20px; height: 20px; border: 1px solid currentColor; border-radius: 50%; font: 600 var(--text-xs) var(--mono); }
2159
2070
  /* Where the reader is, said one way in every stepped form, the stepper's and the intake's, on a page or in a dialog:
2160
2071
  a thin bar with "Step n of m" beside it in tabular figures, so it does not shift from step to step (the bar's own
2161
2072
  name says it to assistive technology). Here and not with the intake's sheet, so the stepper's first paint has it. */
2162
2073
  .multi-step-progress { display: flex; align-items: center; gap: var(--space-4); }
2163
- .multi-step-progress > .progress-bar { flex: 1; height: 4px; overflow: hidden; border-radius: min(3px, var(--radius)); background: color-mix(in oklab, var(--ink) 9%, transparent); }
2164
- .multi-step-progress .progress-bar-fill { display: block; height: 100%; border-radius: inherit; background: var(--form-primary, var(--accent)); }
2074
+ .multi-step-progress > [data-slot='progress-track'][data-kind='bar'] { flex: 1; height: 4px; overflow: hidden; border-radius: min(3px, var(--radius)); background: color-mix(in oklab, var(--ink) 9%, transparent); }
2075
+ .multi-step-progress :is([data-slot='progress-track'][data-kind='bar'] > [data-slot='progress-indicator']) { display: block; height: 100%; border-radius: inherit; background: var(--form-primary, var(--accent)); }
2165
2076
  .multi-step-count { flex: none; font-size: var(--text-sm); line-height: 1; color: var(--ink-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
2166
2077
  /* The stepper's step: the bar, then its name set tight, the step's one strong thing. */
2167
2078
  .multi-step-heading { display: grid; gap: var(--space-5); }
@@ -2169,7 +2080,7 @@ body.app-mode th .pk { display: none; }
2169
2080
  .multi-step-heading .multi-step-lead { margin: calc(var(--space-2) - var(--space-5)) 0 0; max-width: 60ch; font-size: var(--text-md); line-height: 1.5; color: var(--ink-muted); text-wrap: pretty; }
2170
2081
  /* A row of two fields (`show: [['a', 'b']]`) in a stepper is spaced as the fields around it are: forms.css gave it a
2171
2082
  16px gap both ways, so the pair stood closer than the stack above and below it. */
2172
- .multi-step-form:not([data-style='intake']) .form-columns { column-gap: var(--space-4); row-gap: var(--field-gap); }
2083
+ .multi-step-form:not([data-style='intake']) [data-slot='columns'] { column-gap: var(--space-4); row-gap: var(--field-gap); }
2173
2084
 
2174
2085
  /* A page's steps beside the form (MultiStepForm.tsx): drawn always, shown only where the page is wide enough for both
2175
2086
  (structure.css lays the column out), so a page's first frame is the same at any width. Their dress is here. */
@@ -2202,18 +2113,10 @@ button.multi-step-list-item:focus-visible { outline: var(--focus-width) solid va
2202
2113
  .multi-step-problem { margin: 0; color: var(--status-critical); }
2203
2114
  /* The grid's gap and this make the actions' 24px above (style.css, .form-actions). */
2204
2115
  .multi-step-actions.form-actions { margin-top: var(--space-2h); }
2205
- .multi-step-actions > :is(.btn-secondary, .multi-step-back) { margin-right: auto; }
2116
+ .multi-step-actions > :is([data-slot='button']:not([data-variant]), .multi-step-back) { margin-right: auto; }
2206
2117
  @media (max-width: 600px) {
2207
2118
  .multi-step-form { gap: var(--space-4h); }
2208
2119
  .multi-step-actions.form-actions { margin-top: var(--space-3h); }
2209
- .multi-step-nav-item { padding-inline: var(--space-3); }
2210
- }
2211
- /* On a phone the steps ahead and behind are their numbers; the current one
2212
- keeps its name. Three names across 390px ran the third off the edge. */
2213
- @media (max-width: 760px) {
2214
- .multi-step-nav-item:not([aria-current='step']) .multi-step-label {
2215
- position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
2216
- }
2217
2120
  }
2218
2121
 
2219
2122
  /* A public visitor's way to the staff door (auth.public): a quiet button in the
@@ -2292,53 +2195,10 @@ tr[data-drop="after"] > td { box-shadow: inset 0 -2px 0 var(--accent); }
2292
2195
  .order-menu-list .more-item:disabled { color: var(--ink-subtle); cursor: default; }
2293
2196
  .order-menu-list .more-item:hover:disabled { background: transparent; }
2294
2197
 
2295
- /* Card embeds carry their own boundaries; a heavy section rule competes
2296
- with the cards and makes adjacent dashboard columns look misaligned. */
2297
- :root[data-theme-style] .dash-body > .page-section.dash-cards-section {
2298
- border: 0; padding: 0; background: none; box-shadow: none;
2299
- }
2300
- .dash-cards-section .dash-list-head { margin-bottom: var(--space-5); }
2301
-
2302
- /* Dashboards with supporting content flow independently in each column. */
2303
- .dashboard-layout.page-layout { grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); padding: 0 var(--space-4h) 56px; }
2304
- .dashboard-layout > .dash-body { padding: 0; align-content: start; }
2305
- .dashboard-layout > .page-aside { border: 0; padding: 0; }
2306
- .dashboard-layout .page-aside .dash-body { padding: 0; }
2307
- .dashboard-layout .page-aside .page-section { flex-basis: 100%; }
2308
- @media (max-width: 1100px) {
2309
- .dashboard-layout.page-layout { grid-template-columns: minmax(0, 1fr); }
2310
- }
2311
-
2312
2198
  /* The account is a person in the app header, with its full accessible name. */
2313
2199
  button.account { display: inline-flex; align-items: center; gap: var(--space-3); }
2314
2200
  .account-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
2315
2201
  .account-avatar { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); font: 600 var(--text-sm) var(--sans); }
2316
2202
  .app-mode button.ghost.account { border-color: transparent; background: none; box-shadow: none; }
2317
2203
  .app-mode button.ghost.account:hover { background: var(--raised); }
2318
-
2319
- .dashboard-layout .page-aside .dashboard-note-title { font-size: calc(17px * var(--type-k)); line-height: 1.35; }
2320
-
2321
- /* ---------- A metric that opens its list, and the aside's lists ----------
2322
- A metric naming a view (`view`) is a way in, and says so: an arrow after
2323
- its label, which moves toward the ink with the card's hover — colour only. */
2324
- .home-card-go { display: inline; margin-left: var(--space-2h); color: var(--ink-muted); font-family: var(--sans); letter-spacing: 0; transition: color var(--t-hover) var(--ease-out); }
2325
- .home-card.opens-view:hover .home-card-go, .home-card.opens-view:focus-visible .home-card-go { color: var(--accent-ink); }
2326
- @media (prefers-reduced-motion: reduce) { .home-card-go { transition: none; } }
2327
- /* A list in the aside is names, not a table: one row a record, its name
2328
- whole and wrapping (never cut to "Riley C…"), a quiet line under it and a
2329
- value at its end, rows parted by hairlines. The row is the record's link. */
2330
- .dash-mini { list-style: none; margin: var(--space-1) 0 0; padding: 0; }
2331
- .dash-mini > li + li { border-top: 1px solid var(--line); }
2332
- .app-mode button.dash-mini-row, button.dash-mini-row {
2333
- display: flex; align-items: baseline; gap: var(--space-4); width: 100%; min-height: 0; padding: var(--space-3) 0; margin: 0;
2334
- border: 0; border-radius: 0; background: none; box-shadow: none; color: var(--ink); text-align: left; font: inherit; cursor: pointer;
2335
- }
2336
- button.dash-mini-row:disabled { cursor: default; }
2337
- button.dash-mini-row:focus-visible { outline: var(--focus-width) solid var(--focus); outline-offset: -2px; }
2338
- .dash-mini-text { display: flex; flex-direction: column; gap: 1px; flex: 1 1 auto; min-width: 0; }
2339
- .dash-mini-name { font-size: var(--text-base); font-weight: 500; line-height: 1.35; overflow-wrap: anywhere; transition: color var(--t-hover) var(--ease-out); }
2340
- button.dash-mini-row:hover:not(:disabled) .dash-mini-name { color: var(--link); }
2341
- .dash-mini-line { color: var(--ink-muted); font-size: var(--text-sm); line-height: 1.35; overflow-wrap: anywhere; }
2342
- .dash-mini-value { flex: none; color: var(--ink-muted); font-size: var(--text-sm); line-height: 1.35; font-variant-numeric: tabular-nums; white-space: nowrap; }
2343
- @media (prefers-reduced-motion: reduce) { .dash-mini-name { transition: none; } }
2344
2204
  }