viewkitjs 0.26.0 → 0.27.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/MIGRATION.md +84 -6
  3. package/package.json +1 -1
  4. package/views/dist/contract.d.ts +171 -1
  5. package/views/dist/contract.js +162 -0
  6. package/views/dist/controls/compound-editor/map-parts-body.js +2 -1
  7. package/views/dist/controls/compound-editor/name-parts.js +10 -2
  8. package/views/dist/controls/compound-editor/place.d.ts +2 -1
  9. package/views/dist/controls/compound-editor/place.js +2 -0
  10. package/views/dist/controls/controls.d.ts +8 -0
  11. package/views/dist/controls/controls.js +8 -0
  12. package/views/dist/controls/index.d.ts +16 -0
  13. package/views/dist/controls/index.js +16 -0
  14. package/views/dist/controls/internal/editor-parts.d.ts +40 -0
  15. package/views/dist/controls/internal/editor-parts.js +43 -0
  16. package/views/dist/controls/links-editor/links-editor.d.ts +78 -0
  17. package/views/dist/controls/links-editor/links-editor.js +308 -0
  18. package/views/dist/controls/links-editor/links.d.ts +62 -0
  19. package/views/dist/controls/links-editor/links.js +50 -0
  20. package/views/dist/controls/links-editor/map-links-body.d.ts +10 -0
  21. package/views/dist/controls/links-editor/map-links-body.js +71 -0
  22. package/views/dist/controls/links-editor/tokens.d.ts +71 -0
  23. package/views/dist/controls/links-editor/tokens.js +20 -0
  24. package/views/dist/controls/links-editor/words.d.ts +56 -0
  25. package/views/dist/controls/links-editor/words.js +33 -0
  26. package/views/dist/controls/links-editor.css +132 -0
  27. package/views/dist/controls/number-editor/format.d.ts +31 -0
  28. package/views/dist/controls/number-editor/format.js +79 -0
  29. package/views/dist/controls/number-editor/looks.d.ts +14 -0
  30. package/views/dist/controls/number-editor/looks.js +17 -0
  31. package/views/dist/controls/number-editor/map-number-body.d.ts +16 -0
  32. package/views/dist/controls/number-editor/map-number-body.js +57 -0
  33. package/views/dist/controls/number-editor/number-editor.d.ts +72 -0
  34. package/views/dist/controls/number-editor/number-editor.js +202 -0
  35. package/views/dist/controls/number-editor/tokens.d.ts +28 -0
  36. package/views/dist/controls/number-editor/tokens.js +9 -0
  37. package/views/dist/controls/number-editor/words.d.ts +23 -0
  38. package/views/dist/controls/number-editor/words.js +13 -0
  39. package/views/dist/controls/number-editor.css +37 -0
  40. package/views/dist/controls/number-field/number-field.js +57 -5
  41. package/views/dist/controls/radio/radio.d.ts +33 -0
  42. package/views/dist/controls/radio/radio.js +19 -0
  43. package/views/dist/controls/radio/tokens.d.ts +127 -0
  44. package/views/dist/controls/radio/tokens.js +34 -0
  45. package/views/dist/controls/radio.css +104 -0
  46. package/views/dist/controls/text-editor/phone-number.d.ts +4 -0
  47. package/views/dist/controls/text-editor/phone-number.js +20 -0
  48. package/views/dist/controls/text-editor/text-editor.js +2 -19
  49. package/views/dist/controls/tokens.js +10 -0
  50. package/views/dist/controls/values-editor/looks.d.ts +16 -0
  51. package/views/dist/controls/values-editor/looks.js +19 -0
  52. package/views/dist/controls/values-editor/map-values-body.d.ts +12 -0
  53. package/views/dist/controls/values-editor/map-values-body.js +71 -0
  54. package/views/dist/controls/values-editor/tokens.d.ts +132 -0
  55. package/views/dist/controls/values-editor/tokens.js +35 -0
  56. package/views/dist/controls/values-editor/values-editor.d.ts +62 -0
  57. package/views/dist/controls/values-editor/values-editor.js +435 -0
  58. package/views/dist/controls/values-editor/values.d.ts +71 -0
  59. package/views/dist/controls/values-editor/values.js +59 -0
  60. package/views/dist/controls/values-editor/words.d.ts +50 -0
  61. package/views/dist/controls/values-editor/words.js +29 -0
  62. package/views/dist/controls/values-editor.css +207 -0
  63. package/views/dist/controls/views-list/looks.d.ts +13 -0
  64. package/views/dist/controls/views-list/looks.js +12 -0
  65. package/views/dist/controls/views-list/map-views-list-body.d.ts +19 -0
  66. package/views/dist/controls/views-list/map-views-list-body.js +65 -0
  67. package/views/dist/controls/views-list/rules.d.ts +72 -0
  68. package/views/dist/controls/views-list/rules.js +4 -0
  69. package/views/dist/controls/views-list/tokens.d.ts +11 -0
  70. package/views/dist/controls/views-list/tokens.js +5 -0
  71. package/views/dist/controls/views-list/views-list.d.ts +44 -0
  72. package/views/dist/controls/views-list/views-list.js +57 -0
  73. package/views/dist/controls/views-list/words.d.ts +22 -0
  74. package/views/dist/controls/views-list/words.js +3 -0
  75. package/views/dist/controls/views-list.css +8 -0
  76. package/views/dist/editors/NumberEditor.js +3 -1
  77. package/views/dist/grid/chrome/GridCellEditors.js +1 -1
  78. package/views/dist/grid/chrome/GridDateEditor.d.ts +3 -1
  79. package/views/dist/grid/chrome/GridDateEditor.js +2 -1
  80. package/views/dist/looks/index.d.ts +3 -0
  81. package/views/dist/looks/index.js +3 -0
  82. package/views/dist/looks/pieces.js +6 -0
  83. package/views/dist/provider/components.d.ts +4 -0
  84. package/views/dist/styles.css +432 -2
  85. package/views/dist/styles.unlayered.css +432 -2
  86. package/views/docs/contract.md +10 -8
  87. package/views/docs/controls/links-editor.md +25 -0
  88. package/views/docs/controls/number-editor.md +12 -0
  89. package/views/docs/controls/radio.md +39 -0
  90. package/views/docs/controls/values-editor.md +40 -0
  91. package/views/docs/controls/views-list.md +8 -0
  92. package/views/docs/reference/controls.md +117 -5
  93. package/views/docs/reference/looks.md +9 -2
  94. package/views/docs/reference/react.md +2 -2
@@ -1,4 +1,4 @@
1
- /*! viewkitjs 0.26.0 · viewkitjs/views/styles.unlayered.css: ViewKit's look, its defaults the Outright look */
1
+ /*! viewkitjs 0.27.0 · viewkitjs/views/styles.unlayered.css: ViewKit's look, its defaults the Outright look */
2
2
 
3
3
  @layer base {
4
4
  @layer viewkit {:where(*):where([data-slot^="vk-"], [data-vk-body], [data-slot^="vk-"] *, [data-vk-body] *),
@@ -1956,6 +1956,123 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
1956
1956
  .o-keys { display: inline-flex; align-items: center; gap: calc(var(--vk-spacing) * 0.75); font: inherit; }
1957
1957
  .o-keys-then { margin: 0 calc(var(--vk-spacing) * 1); font-size: var(--vk-font-size-xs); color: var(--vk-fg-subtlest); }
1958
1958
 
1959
+ .o-links-editor { position: relative; display: flex; flex-direction: column; min-width: 0; color: var(--vk-fg); font-size: var(--vk-font-size-sm); line-height: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm)); }
1960
+ .o-links-editor:focus { outline: none; }
1961
+
1962
+ /* ── The search: the shared line across the popup's top, 6 above and below, 4 over the list ─ */
1963
+ .o-links-editor-search { --popup-line-pad-block: calc(var(--vk-spacing) * 1.5); --popup-line-under: var(--vk-spacing); }
1964
+ .o-links-editor-search > svg { flex: none; width: calc(var(--vk-spacing) * 3.75); height: calc(var(--vk-spacing) * 3.75); }
1965
+ .o-input-control.o-links-editor-input { flex: 1; min-width: calc(var(--vk-spacing) * 16); font-size: var(--vk-font-size-sm); }
1966
+
1967
+ /* ── The one list: 10½ rows at most, scrolling as one ─ */
1968
+ /* It scrolls with no bar at all (Mihai, 18 Nov 2026): the browser's own, which macOS draws taking room with a mouse plugged in, hidden. */
1969
+ .o-links-editor-list { display: flex; flex-direction: column; min-height: 0; max-height: calc(10.5 * var(--vk-spacing) * 8); overflow-y: auto; overscroll-behavior: contain; outline: none; scrollbar-width: none; }
1970
+ .o-links-editor-list::-webkit-scrollbar { display: none; }
1971
+ /* A field's list, the Picker in its own Popover: its rows scroll with no bar too, as the editor's list does. */
1972
+ .o-links-editor-pop .o-picker-rows, .o-links-editor-shown .o-picker-rows { scrollbar-width: none; }
1973
+ .o-links-editor-pop .o-picker-rows::-webkit-scrollbar, .o-links-editor-shown .o-picker-rows::-webkit-scrollbar { display: none; }
1974
+ .o-links-editor-list > *, .o-links-editor-adds > * { flex: none; }
1975
+ .o-links-editor-list[data-head] { scroll-padding-top: calc(var(--vk-spacing) * 7); }
1976
+ .o-links-editor-adds { display: flex; flex-direction: column; }
1977
+
1978
+ /* The columns' names and a linked record's row: the same columns, 12 apart. */
1979
+ .o-links-editor-head, .o-links-editor-row { display: flex; align-items: center; gap: calc(var(--vk-spacing) * 3); box-sizing: border-box; min-width: 0; padding: 0 calc(var(--vk-spacing) * 1) 0 calc(var(--vk-spacing) * 2); }
1980
+ .o-links-editor-head {
1981
+ position: sticky; top: 0; z-index: 1; min-height: calc(var(--vk-spacing) * 7);
1982
+ background-color: var(--vk-overlay); color: var(--vk-fg-subtlest); font-size: var(--vk-font-size-xs); line-height: calc(var(--vk-font-size-xs) * var(--vk-line-height-xs));
1983
+ }
1984
+ .o-links-editor-row { min-height: calc(var(--vk-spacing) * 8); }
1985
+ .o-radio-group.o-links-editor-rows, .o-links-editor-rows { display: flex; flex-direction: column; gap: 0; }
1986
+ .o-links-editor-who { flex: 1 1 0; display: flex; align-items: center; gap: calc(var(--vk-spacing) * 2); min-width: calc(var(--vk-spacing) * 38); }
1987
+ .o-links-editor-who > .o-avatar { flex: none; }
1988
+ .o-links-editor-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
1989
+ .o-links-editor-cell { flex: none; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
1990
+ .o-links-editor-row > .o-links-editor-cell { color: var(--vk-fg-subtle); }
1991
+ .o-links-editor-cell[data-kind="several"] { width: calc(var(--vk-spacing) * 48); }
1992
+ .o-links-editor-cell:is([data-kind="one"], [data-kind="yes-no"]) { width: calc(var(--vk-spacing) * 10); }
1993
+ /* With one field its column holds its short button, 192 whatever its kind. */
1994
+ .o-links-editor[data-links-fields="one"] .o-links-editor-cell { width: calc(var(--vk-spacing) * 48); }
1995
+ .o-links-editor-lead { flex: none; display: flex; justify-content: center; width: calc(var(--vk-spacing) * 8); }
1996
+ .o-links-editor-head > .o-links-editor-lead { display: block; text-align: center; }
1997
+ .o-links-editor-lead .o-radio-ring { margin-top: 0; }
1998
+ .o-links-editor-end { flex: none; display: flex; justify-content: center; width: calc(var(--vk-spacing) * 6); }
1999
+
2000
+ /* One field: a short quiet button, as wide as its words and its chevron, its words where the column's name starts; none, the
2001
+ field's name in the faintest words; its chevron turns while its list is open. */
2002
+ .o-links-editor-cell:has(> .o-links-editor-short) { overflow: visible; }
2003
+ .o-links-editor-short.o-button { max-width: calc(100% + var(--vk-spacing) * 2); margin-left: calc(var(--vk-spacing) * -2); font-weight: var(--vk-font-weight-normal); color: var(--vk-fg-subtle); }
2004
+ .o-links-editor-short > [data-slot="vk-button-label"] { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
2005
+ .o-links-editor-short[data-none] { color: var(--vk-fg-subtlest); }
2006
+ .o-links-editor-short > [data-slot="vk-button-icon"] { color: var(--vk-fg-subtlest); transition: rotate var(--vk-duration-fast) var(--vk-ease-out); }
2007
+ .o-links-editor-short:is([data-popup-open], [aria-expanded="true"]) > [data-slot="vk-button-icon"] { rotate: 180deg; }
2008
+
2009
+ /* The records to add: the list's rows, the face before the name. */
2010
+ .o-links-editor-add > .o-avatar { flex: none; }
2011
+ .o-links-editor-add { cursor: pointer; }
2012
+ /* Everything linked, or nothing found: what it says, quiet, in the list's middle. */
2013
+ .o-links-editor-message { padding: calc(var(--vk-spacing) * 3) calc(var(--vk-spacing) * 2); color: var(--vk-fg-subtle); text-align: center; }
2014
+
2015
+ /* A list a page shows standing open: under its button, over the rows, as the Popover would stand it, as wide as its rows. */
2016
+ .o-links-editor .o-links-editor-shown { position: absolute; z-index: var(--vk-layer-popup); width: max-content; min-width: calc(var(--vk-spacing) * 48); max-width: calc(var(--vk-spacing) * 72); }
2017
+
2018
+ /* ── A link's fields, a step inside the popup ─ */
2019
+ .o-links-editor-step-head { --popup-line-under: var(--vk-spacing); --popup-line-pad: calc(var(--vk-spacing) * 2); }
2020
+ .o-links-editor-step-head > .o-avatar { flex: none; }
2021
+ .o-links-editor-step-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: var(--vk-font-weight-medium); }
2022
+ .o-links-editor-fields { display: grid; gap: calc(var(--vk-spacing) * 2); padding: calc(var(--vk-spacing) * 2) calc(var(--vk-spacing) * 2) 0; }
2023
+ .o-links-editor-field { display: flex; align-items: center; gap: calc(var(--vk-spacing) * 3); min-width: 0; min-height: calc(var(--vk-spacing) * 8); }
2024
+ .o-links-editor-field-label { flex: none; width: calc(var(--vk-spacing) * 16); color: var(--vk-fg-subtle); }
2025
+ .o-links-editor-field-control { flex: 1; display: flex; min-width: 0; }
2026
+ .o-links-editor-field-control[data-kind="one"] { flex: none; width: calc(var(--vk-spacing) * 28); }
2027
+ .o-links-editor-field-control > .o-select { width: 100%; }
2028
+ .o-links-editor-step-foot { display: flex; padding: calc(var(--vk-spacing) * 2) 0 0; }
2029
+
2030
+ /* ── On a phone: what the Sheet holds, filling its body: a card per linked record, 12 apart (its head 56, its face 24 and its name,
2031
+ "Lead" on the leading one, ⋯ or the settings button; then its field's row, or what it holds in quiet words); then "Add a
2032
+ company" and the records to add, each its face 40, its name and +; then the search at the foot, over a fade to the ground. Every
2033
+ target 44 at least. ─ */
2034
+ .o-links-editor[data-links-form="phone"] { min-height: var(--links-room, auto); font-size: var(--vk-font-size-base); line-height: calc(var(--vk-font-size-base) * var(--vk-line-height-base)); }
2035
+ .o-links-editor-cards { display: grid; gap: calc(var(--vk-spacing) * 3); }
2036
+ .o-links-editor-card-head { padding-right: calc(var(--vk-spacing) * 1); }
2037
+ .o-links-editor-card-head > .o-avatar { flex: none; }
2038
+ .o-links-editor-card-name { flex: 1; display: flex; align-items: baseline; gap: calc(var(--vk-spacing) * 2); min-width: 0; font-weight: var(--vk-font-weight-medium); }
2039
+ .o-links-editor-card-name > :first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
2040
+ .o-links-editor-lead-word { flex: none; color: var(--vk-fg-subtle); font-size: var(--vk-font-size-sm); line-height: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm)); font-weight: var(--vk-font-weight-normal); }
2041
+ .o-links-editor-more, .o-links-editor[data-links-form="phone"] .o-links-editor-config { flex: none; }
2042
+ .o-links-editor-card-line {
2043
+ margin-top: calc(var(--vk-spacing) * -2); padding: 0 calc(var(--vk-spacing) * 4) calc(var(--vk-spacing) * 3.5) calc(var(--vk-spacing) * 13);
2044
+ color: var(--vk-fg-subtle); font-size: var(--vk-font-size-sm); line-height: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm));
2045
+ }
2046
+ .o-links-editor-card-line[data-none] { color: var(--vk-fg-subtlest); }
2047
+ /* A field's row: its name, its words at its end, cut with "…", and ›. */
2048
+ .o-links-editor-open-name { flex: none; }
2049
+ .o-links-editor-open-value { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: right; color: var(--vk-fg-subtle); }
2050
+ .o-links-editor-open-mark { flex: none; width: calc(var(--vk-spacing) * 4.5); height: calc(var(--vk-spacing) * 4.5); margin-right: calc(var(--vk-spacing) * -1); color: var(--vk-fg-subtlest); }
2051
+ .o-links-editor-label { margin: calc(var(--vk-spacing) * 6) var(--vk-spacing) calc(var(--vk-spacing) * 2); font-size: var(--vk-font-size-sm); line-height: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm)); color: var(--vk-fg-subtle); }
2052
+ .o-links-editor-add-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
2053
+ .o-links-editor-add-mark { flex: none; width: calc(var(--vk-spacing) * 5); height: calc(var(--vk-spacing) * 5); color: var(--vk-fg-subtlest); }
2054
+ .o-links-editor-note { padding: calc(var(--vk-spacing) * 9) calc(var(--vk-spacing) * 4); text-align: center; color: var(--vk-fg-subtle); }
2055
+
2056
+ /* ── A list its editor finds: more records coming as its end comes into sight, the ask again after a failed search, and the create
2057
+ rows after the records to add (a mark before the words where one is handed) ─ */
2058
+ .o-links-editor-loading { display: flex; align-items: center; justify-content: center; gap: calc(var(--vk-spacing) * 2); min-height: calc(var(--vk-spacing) * 8); font-size: var(--vk-font-size-xs); color: var(--vk-fg-subtle); }
2059
+ .o-links-editor[data-links-form="phone"] .o-links-editor-loading { min-height: calc(var(--vk-spacing) * 12); font-size: var(--vk-font-size-sm); }
2060
+ .o-links-editor-retry { margin-inline-start: calc(var(--vk-spacing) * 2); }
2061
+ .o-links-editor-action-mark { flex: none; display: grid; place-items: center; width: calc(var(--vk-spacing) * 5); height: calc(var(--vk-spacing) * 5); color: var(--vk-fg-subtle); }
2062
+ .o-links-editor-action-mark > svg { width: calc(var(--vk-spacing) * 4); height: calc(var(--vk-spacing) * 4); }
2063
+ .o-links-editor-bar {
2064
+ position: sticky; bottom: calc(-1 * var(--links-under, 0px)); z-index: 1; display: flex; align-items: center;
2065
+ margin-top: auto; margin-bottom: calc(-1 * var(--links-under, 0px)); padding: calc(var(--vk-spacing) * 8) 0 calc(var(--vk-spacing) * 2 + var(--links-under, 0px));
2066
+ background-image: linear-gradient(to bottom, transparent, var(--vk-overlay) calc(var(--vk-spacing) * 8));
2067
+ }
2068
+ .o-links-editor-pill { flex: 1; }
2069
+ /* A link's fields, in the Modal's full Sheet: a field's words at its row's end; a switch at its end; Unlink its own card, in red. */
2070
+ .o-links-editor-fields .o-links-editor-open-value { flex: 1; }
2071
+ .o-links-editor-switch { flex: none; margin-left: auto; }
2072
+ .o-links-editor-fields-foot { margin-top: calc(var(--vk-spacing) * 6); }
2073
+ .o-links-editor-unlink.o-field-row { color: var(--vk-danger); }
2074
+ .o-input-control.o-links-editor-input:where([data-vk-phone], [data-vk-phone] *) { font-size: var(--vk-font-size-base); }
2075
+
1959
2076
  /* ── The list's options (a select's options, which name them): set on the
1960
2077
  frame around a list as custom properties, which every list inside it reads, the Select's list and the Menu's panel whole, and
1961
2078
  the Picker on a computer whole, its rows and its Popover's panel. Each value chooses a token. Unset, a list draws as built.
@@ -2387,6 +2504,26 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
2387
2504
  .o-button.o-menu-dots:is([data-popup-open], [data-force="hover"], [data-force="open"]) { --button-ground: var(--vk-neutral); color: var(--vk-fg); }
2388
2505
  @media (hover: hover) { .o-button.o-menu-dots:hover { --button-ground: var(--vk-neutral); color: var(--vk-fg); } }
2389
2506
 
2507
+ /* ── A number in its cell: Attio's line of the focus colour, Mihai's ring: the kit's Number field in a cell, filling it ── */
2508
+ .o-number-editor[data-number-form="computer"] { box-sizing: border-box; width: 100%; height: 100%; min-width: 0; color: var(--vk-fg); }
2509
+ .o-number-editor .o-number-editor-field, .o-number-editor .o-number-editor-field > .o-inline-input-group { height: 100%; }
2510
+ /* Where a shell stands it: over its cell, the cell's lines under its edge, as Attio's editor stands; in the ring, the cell. */
2511
+ .o-number-editor-place { position: absolute; inset: calc(var(--vk-border-width) * -1) 0 calc(var(--vk-border-width) * -1) calc(var(--vk-border-width) * -1); }
2512
+ [data-inline-input-edge="ring"] .o-number-editor-place { inset: 0; }
2513
+
2514
+ /* Money's currency at the box's start, a press away; a field with one currency, its sign alone. A percent's % after it. */
2515
+ .o-number-editor-currency { flex: none; margin-right: auto; }
2516
+ /* Attio's: the code, a quiet press away from the currencies, or the code alone where nothing can be pressed. */
2517
+ .o-number-editor-code { flex: none; margin-right: auto; }
2518
+ span.o-number-editor-code { color: var(--vk-fg-subtle); }
2519
+ .o-number-editor-sign, .o-number-editor-unit { flex: none; color: var(--vk-fg-subtle); }
2520
+ .o-number-editor[data-number-form="computer"] .o-number-editor-sign { margin-right: auto; }
2521
+
2522
+ /* ── On a phone: the box and what is under it ───────────────────────────────────────────────────────────────────── */
2523
+ .o-number-editor[data-number-form="phone"] { display: grid; gap: calc(var(--vk-spacing) * 2); }
2524
+ .o-number-editor :is(.o-number-editor-code, .o-number-editor-sign, .o-number-editor-unit, .o-input-addon > .o-button):where([data-vk-phone], [data-vk-phone] *) { font-size: var(--vk-font-size-base); }
2525
+ .o-number-editor .o-input-addon > .o-button.o-number-editor-currency:where([data-vk-phone], [data-vk-phone] *) { font-size: var(--vk-font-size-sm); }
2526
+
2390
2527
  .o-number { min-width: 0; }
2391
2528
  /* Bare: the control alone, Base UI's root standing aside, so the input is its place's own child, as the Input's bare form. */
2392
2529
  .o-number-bare { display: contents; }
@@ -2884,6 +3021,102 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
2884
3021
  /* Refused, its line turns red; at the foot it has no line under it, and the Values editor's refused line draws its own. */
2885
3022
  .o-popup-line[data-bad]:not([data-at="foot"]) { --popup-line-colour: var(--vk-border-danger); }
2886
3023
 
3024
+ /* ── A group: its choices one under another, 14px apart, or two to four in a row; its name is the FieldSet's
3025
+ legend (field.css) ─────────────────────────────────────────────────────────────────────────────────── */
3026
+ .o-radio-group { display: grid; gap: calc(var(--vk-spacing) * 3.5); }
3027
+ .o-radio-group.o-radio-row { display: flex; flex-wrap: wrap; gap: calc(var(--vk-spacing) * 2) calc(var(--vk-spacing) * 6); }
3028
+
3029
+ /* ── At rest: a 16px ring, see-through; the label 10px to its right presses it ─────────────────────── */
3030
+ .o-radio { position: relative; display: inline-flex; align-items: flex-start; gap: calc(var(--vk-spacing) * 2.5); cursor: pointer; -webkit-tap-highlight-color: transparent; }
3031
+ .o-radio-ring {
3032
+ flex: none; box-sizing: border-box; display: grid; place-items: center;
3033
+ width: calc(var(--vk-spacing) * 4); height: calc(var(--vk-spacing) * 4); margin-top: calc(var(--vk-spacing) * 0.5);
3034
+ border: var(--vk-border-width) solid var(--vk-border-input); border-radius: var(--vk-radius-full);
3035
+ background-color: var(--vk-input); outline: none;
3036
+ transition: background-color var(--vk-duration-fast) var(--vk-ease-out), border-color var(--vk-duration-fast) var(--vk-ease-out);
3037
+ }
3038
+ /* The dot grows in its middle when the ring is chosen. */
3039
+ .o-radio-dot { width: calc(var(--vk-spacing) * 1.5); height: calc(var(--vk-spacing) * 1.5); border-radius: var(--vk-radius-full); background-color: var(--vk-fg-inverse); scale: 0; transition: scale var(--vk-duration-base) var(--vk-ease-out); }
3040
+
3041
+ /* ── Under the pointer, on the ring or its label: a louder edge; a chosen ring a deeper brand ─────── */
3042
+ /* A hover only on a screen with a pointer (KIT-368: iOS keeps :hover on what was last tapped); a press and the forced state stay out. */
3043
+ .o-radio-ring[data-force="hover"]:not([data-disabled]) { border-color: var(--vk-border-input-hovered); }
3044
+ @media (hover: hover) { .o-radio:hover > .o-radio-ring:not([data-disabled]) { border-color: var(--vk-border-input-hovered); } }
3045
+
3046
+ /* ── On: the brand, with the dot ───────────────────────────────────────────────────────────────────── */
3047
+ .o-radio-ring[data-checked] { border-color: var(--vk-brand); background-color: var(--vk-brand); }
3048
+ .o-radio-ring[data-force="hover"][data-checked]:not([data-disabled]) { border-color: var(--vk-brand-hovered); background-color: var(--vk-brand-hovered); }
3049
+ @media (hover: hover) { .o-radio:hover > .o-radio-ring[data-checked]:not([data-disabled]) { border-color: var(--vk-brand-hovered); background-color: var(--vk-brand-hovered); } }
3050
+ .o-radio-ring[data-checked] .o-radio-dot { scale: 1; background-color: var(--vk-fg-on-brand); }
3051
+
3052
+ /* ── In error (aria-invalid, its Field's error, or a group in error around it): a red edge; chosen, the
3053
+ danger colour fills it. The pointer never takes it away; focus rings it in red; disabled wins. ─── */
3054
+ .o-radio-ring:is([aria-invalid="true"], [data-invalid], .o-fieldset[data-invalid] *):not([data-disabled]),
3055
+ .o-radio-ring[data-force="hover"]:is([aria-invalid="true"], [data-invalid], .o-fieldset[data-invalid] *):not([data-disabled]) { border-color: var(--vk-border-danger); }
3056
+ @media (hover: hover) { .o-radio:hover > .o-radio-ring:is([aria-invalid="true"], [data-invalid], .o-fieldset[data-invalid] *):not([data-disabled]) { border-color: var(--vk-border-danger); } }
3057
+ .o-radio-ring[data-checked]:is([aria-invalid="true"], [data-invalid], .o-fieldset[data-invalid] *):not([data-disabled]) { border-color: var(--vk-danger-bold); background-color: var(--vk-danger-bold); }
3058
+ .o-radio-ring[data-checked]:is([aria-invalid="true"], [data-invalid], .o-fieldset[data-invalid] *):not([data-disabled]) .o-radio-dot { background-color: var(--vk-fg-inverse); }
3059
+ .o-radio-ring[data-force="hover"][data-checked]:is([aria-invalid="true"], [data-invalid], .o-fieldset[data-invalid] *):not([data-disabled]) { border-color: var(--vk-danger-bold-hovered); background-color: var(--vk-danger-bold-hovered); }
3060
+ @media (hover: hover) { .o-radio:hover > .o-radio-ring[data-checked]:is([aria-invalid="true"], [data-invalid], .o-fieldset[data-invalid] *):not([data-disabled]) { border-color: var(--vk-danger-bold-hovered); background-color: var(--vk-danger-bold-hovered); } }
3061
+ .o-radio-ring:is(:focus-visible, [data-force="focus"]):is([aria-invalid="true"], [data-invalid], .o-fieldset[data-invalid] *) { outline-color: var(--vk-border-danger); }
3062
+
3063
+ /* ── Focus: the outline 2px outside the ring ───────────────────────────────────────────────────────── */
3064
+ .o-radio-ring:is(:focus-visible, [data-force="focus"]) { outline: var(--vk-focus-width) solid var(--vk-border-brand); outline-offset: var(--vk-focus-offset); }
3065
+
3066
+ /* ── Disabled: a grey ring, a softer edge, the dot and the label greyed ─────────────────────────────── */
3067
+ .o-radio-ring[data-disabled] { border-color: var(--vk-border-subtle); background-color: var(--vk-neutral); }
3068
+ .o-radio-ring[data-disabled] .o-radio-dot { background-color: var(--vk-fg-disabled); }
3069
+ .o-radio:has(> .o-radio-ring[data-disabled]) { cursor: not-allowed; }
3070
+ .o-radio:has(> .o-radio-ring[data-disabled]) .o-choice-label { color: var(--vk-fg-disabled); }
3071
+
3072
+ /* ── A marked card (KIT-668; the map, UI Kit · doc · list toolbar, parts 51 and 79; the canvas, rounds 5, 6 and 12): a mark
3073
+ in place of the ring, the radio itself still, its name under it and an optional line under that. Its edge the field's;
3074
+ chosen, ringed in the brand, its edge and a hairline just outside it as the map draws it (KIT-816), the mark in the brand, no
3075
+ selected ground; one that can't be picked yet
3076
+ dashed, all of it greyed, with no word under its name (KIT-777), which the arrows pass by. Focus rings the whole card. Each rule
3077
+ carries a class more than choice.css's card, which it draws over. ─────────────────────────────────────────────────── */
3078
+ .o-choice-card.o-radio-marked { flex-direction: column; align-items: flex-start; gap: var(--vk-spacing); padding: calc(var(--vk-spacing) * 3); border-color: var(--vk-border-input); }
3079
+ .o-radio-mark { flex: none; display: grid; place-items: center; color: var(--vk-fg-subtle); outline: none; transition: color var(--vk-duration-fast) var(--vk-ease-out); }
3080
+ .o-radio-mark > svg { width: calc(var(--vk-spacing) * 5); height: calc(var(--vk-spacing) * 5); }
3081
+ .o-choice-card.o-radio-marked:has(> [data-checked]) { border-color: var(--vk-border-selected); box-shadow: 0 0 0 var(--vk-border-width) var(--vk-border-selected); background-color: var(--vk-ground); }
3082
+ .o-radio-mark[data-checked] { color: var(--vk-fg-accent); }
3083
+ .o-choice-card.o-radio-marked:has(> [data-force="hover"]:not([data-checked], [data-disabled])) { background-color: var(--vk-hovered); }
3084
+ .o-choice-card.o-radio-marked:has(> .o-radio-mark:is(:focus-visible, [data-force="focus"])) { outline: var(--vk-focus-width) solid var(--vk-border-brand); outline-offset: var(--vk-focus-offset); }
3085
+ /* Marked cards in a row: two across, as New view's layouts; one under another on a phone. Marked cards, as a row or as tiles, keep
3086
+ room on every side for what stands outside a card's edge, the chosen one's ring and the focus outline, so a holder that clips
3087
+ its sides (the Pane's body) never cuts either (KIT-816); the map's tiles stand as far in. */
3088
+ .o-radio-group.o-radio-row:has(> .o-radio-marked.o-choice-card) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
3089
+ .o-radio-group:where(.o-radio-row, .o-radio-tiles):has(> .o-radio-marked.o-choice-card) { padding: calc(var(--vk-focus-width) + var(--vk-focus-offset)); }
3090
+
3091
+ /* ── Tiles: marked cards three across, each centred, its mark over its name in the card's quieter words; chosen, the mark
3092
+ and the name in the brand. On a computer the marks of a row stand on one line, a tile with a line growing under its
3093
+ name; on a phone they stand on one card, each at least 72 tall, what it holds in its middle. ──────────────────────── */
3094
+ .o-radio-group.o-radio-tiles:has(> .o-choice-card) { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(var(--vk-spacing) * 1.5); }
3095
+ .o-radio-tiles > .o-choice-card.o-radio-marked {
3096
+ justify-content: flex-start; align-items: center; gap: calc(var(--vk-spacing) * 1.5); padding: calc(var(--vk-spacing) * 2.5) var(--vk-spacing);
3097
+ border-radius: var(--vk-radius-lg); background-color: transparent; color: var(--vk-fg-subtle); text-align: center;
3098
+ }
3099
+ .o-radio-tiles > .o-radio-marked > .o-choice-text { max-width: 100%; }
3100
+ .o-radio-tiles > .o-radio-marked .o-choice-label { font-weight: var(--vk-font-weight-normal); color: inherit; }
3101
+ .o-radio-tiles > .o-radio-marked > .o-radio-mark { color: inherit; }
3102
+ .o-radio-tiles > .o-radio-marked > .o-radio-mark > svg { width: calc(var(--vk-spacing) * 4.5); height: calc(var(--vk-spacing) * 4.5); }
3103
+ .o-radio-tiles > .o-choice-card.o-radio-marked:has(> [data-checked]) { background-color: transparent; color: var(--vk-fg-accent); }
3104
+ @media (hover: hover) { .o-radio-tiles > .o-choice-card.o-radio-marked:hover:not(:has(> :is([data-checked], [data-disabled]))) { background-color: var(--vk-hovered); } }
3105
+ .o-radio-tiles > .o-choice-card.o-radio-marked:has(> [data-force="hover"]:not([data-checked], [data-disabled])) { background-color: var(--vk-hovered); }
3106
+
3107
+ /* ── A marked card that can't be picked yet: dashed, greyed, no ground; it wins over the tiles' colours. ──────────── */
3108
+ .o-choice-card.o-radio-marked:has(> [data-disabled]) { border-style: dashed; border-color: var(--vk-border-input); box-shadow: none; background-color: transparent; cursor: not-allowed; }
3109
+ .o-choice-card.o-radio-marked:has(> [data-disabled]) :is(.o-radio-mark, .o-choice-label, .o-choice-note) { color: var(--vk-fg-disabled); }
3110
+
3111
+ /* On a phone (`data-vk-phone`, the group's own mark from the device, or a phone frame round it): marked cards one under
3112
+ another, tiles on one card. */
3113
+ .o-radio-group.o-radio-row:where([data-vk-phone], [data-vk-phone] *):has(> .o-radio-marked.o-choice-card) { grid-template-columns: minmax(0, 1fr); }
3114
+ .o-radio-group.o-radio-tiles:where([data-vk-phone], [data-vk-phone] *):has(> .o-choice-card) { gap: calc(var(--vk-spacing) * 2); padding: calc(var(--vk-spacing) * 3); border-radius: var(--vk-radius-xl); background-color: var(--vk-overlay-card); }
3115
+ .o-radio-tiles:where([data-vk-phone], [data-vk-phone] *) > .o-choice-card.o-radio-marked { justify-content: center; min-height: calc(var(--vk-spacing) * 18); }
3116
+ .o-radio-tiles:where([data-vk-phone], [data-vk-phone] *) > .o-radio-marked > .o-radio-mark > svg { width: calc(var(--vk-spacing) * 5.5); height: calc(var(--vk-spacing) * 5.5); }
3117
+
3118
+ @media (prefers-reduced-motion: reduce) { .o-radio-ring, .o-radio-dot, .o-radio-mark { transition: none; } }
3119
+
2887
3120
  /* Doubled, so a component's own overflow: auto in the same layer never brings the sideways scroll back. */
2888
3121
  [data-scrollbar][data-scrollbar] { overflow-x: hidden; }
2889
3122
 
@@ -3893,6 +4126,201 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
3893
4126
  background-color: var(--vk-fg); clip-path: shape(var(--smooth-outline));
3894
4127
  }
3895
4128
  }
4129
+
4130
+ .o-values-editor { position: relative; display: flex; flex-direction: column; min-width: 0; color: var(--vk-fg); font-size: var(--vk-font-size-sm); line-height: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm)); }
4131
+ .o-values-editor:focus { outline: none; }
4132
+ .o-values-editor svg:where(:not(.o-popup-line > svg)) { flex: none; width: calc(var(--vk-spacing) * 4); height: calc(var(--vk-spacing) * 4); }
4133
+ /* A fixed value's tick in its circle (the Picker's) stands at 16 here too, wherever the Picker's stylesheet stands in the page. */
4134
+ .o-values-editor .o-picker-circle > svg { width: calc(var(--vk-spacing) * 4); height: calc(var(--vk-spacing) * 4); }
4135
+
4136
+ /* ── The rows: 34 high, 2 apart ─────────────────────────────────────────────────────────────────────────────────── */
4137
+ .o-values-editor-rows { display: flex; flex-direction: column; gap: calc(var(--vk-spacing) * 0.5); }
4138
+ .o-values-editor-row {
4139
+ position: relative; display: flex; align-items: center; gap: calc(var(--vk-spacing) * 1.5); box-sizing: border-box; height: calc(var(--vk-spacing) * 8.5);
4140
+ padding: 0 calc(var(--vk-spacing) * 2) 0 calc(var(--vk-spacing) * 0.5); border-radius: var(--vk-radius-lg); white-space: nowrap;
4141
+ }
4142
+ /* A hover only on a screen with a pointer (KIT-368: iOS keeps :hover on what was last tapped); a press and the forced state stay out. */
4143
+ @media (hover: hover) { .o-values-editor-row:hover { background-color: var(--vk-overlay-hovered); } }
4144
+ /* Held by its grip, it lifts over the others. */
4145
+ .o-values-editor-row[data-lifted], .o-values-editor [data-lifted] { position: relative; z-index: var(--vk-layer-popup); }
4146
+ .o-values-editor-row[data-lifted] { background-color: var(--vk-overlay); box-shadow: var(--vk-shadow-lg), inset 0 0 0 var(--vk-border-width) var(--vk-border); }
4147
+ .o-values-editor-grip { flex: none; touch-action: none; }
4148
+ .o-values-editor-value:focus-visible, .o-values-editor-label:is(button):not(.o-button):focus-visible, .o-values-editor-minus:not(.o-button):focus-visible {
4149
+ outline: var(--vk-focus-width) solid var(--vk-border-brand); outline-offset: calc(-1 * var(--vk-focus-width));
4150
+ }
4151
+ /* The value: a link to look at; a press edits it. */
4152
+ .o-values-editor-value {
4153
+ min-width: 0; margin: 0; padding: 0; border: 0; background: transparent; font: inherit; text-align: left; cursor: text;
4154
+ overflow: hidden; text-overflow: ellipsis; color: var(--vk-fg-brand); text-decoration: underline; text-underline-offset: calc(var(--vk-spacing) * 0.75); font-variant-numeric: tabular-nums;
4155
+ }
4156
+ .o-values-editor-main {
4157
+ flex: none; display: inline-flex; align-items: center; height: calc(var(--vk-spacing) * 4.5); padding: 0 calc(var(--vk-spacing) * 1.5); border-radius: var(--vk-radius-full);
4158
+ background-color: var(--vk-neutral); color: var(--vk-fg-subtle); font-size: var(--vk-font-size-xs); font-weight: var(--vk-font-weight-medium);
4159
+ }
4160
+ .o-values-editor-label { flex: none; margin-left: auto; color: var(--vk-fg-subtle); font-size: var(--vk-font-size-xs); }
4161
+ .o-values-editor-remove { flex: none; opacity: 0; }
4162
+ .o-values-editor-row:not(:has(.o-values-editor-label)) .o-values-editor-remove { margin-left: auto; }
4163
+ .o-values-editor-remove:focus-visible { opacity: 1; }
4164
+ @media (hover: hover) { .o-values-editor-row:hover .o-values-editor-remove { opacity: 1; } }
4165
+ /* On a touch screen, where no pointer hovers, every row's remove stands always, as the phone form's does (KIT-425). */
4166
+ @media (hover: none) { .o-values-editor-remove { opacity: 1; } }
4167
+ /* A value being edited: the kit's Input in a cell (an InputGroup, its label a Button in its end addon), across the row. */
4168
+ .o-values-editor-rows .o-values-editor-edit { flex: 1; min-width: 0; }
4169
+
4170
+ /* ── The line to add one. Every form's: a row, its words on one line, its icon quieter. In Mihai's look on a computer it is the
4171
+ shared line across a popup's top, at its foot (ViewKit's popup-line.css, through lib/popup-line, data-at="foot"), its measures the line's own (KIT-498), its line over it; a
4172
+ ring in focus, a danger line refused. Attio's (a plus, below) and the phone's (further down) draw their own. ──────────── */
4173
+ .o-values-editor-line { display: flex; align-items: center; box-sizing: border-box; white-space: nowrap; }
4174
+ .o-values-editor-line > svg { color: var(--vk-fg-subtlest); }
4175
+ .o-values-editor-rows + .o-values-editor-error + .o-values-editor-line.o-popup-line, .o-values-editor > .o-values-editor-line.o-popup-line:first-child { margin-top: calc(-1 * var(--popup-line-reach)); }
4176
+ .o-values-editor > .o-values-editor-line.o-popup-line:first-child { border-top: 0; }
4177
+ .o-values-editor > .o-values-editor-line.o-popup-line:first-child::after { content: none; }
4178
+ .o-values-editor-line.o-popup-line:focus-within { box-shadow: inset 0 0 0 var(--vk-focus-width) var(--vk-border-brand); border-radius: 0 0 var(--popover-corners, var(--vk-radius-xl)) var(--popover-corners, var(--vk-radius-xl)); }
4179
+ .o-values-editor > .o-values-editor-line.o-popup-line:first-child:focus-within { border-radius: var(--popover-corners, var(--vk-radius-xl)); }
4180
+ .o-values-editor .o-values-editor-line.o-popup-line[data-bad] { margin-bottom: 0; box-shadow: inset 0 calc(-1 * var(--vk-focus-width)) 0 var(--vk-border-danger); border-radius: 0; }
4181
+ /* The line's box, on a computer and a phone, and each of Mihai's cards' is the kit's Input, bare, its digits lined up (numeric;
4182
+ KIT-483): what it draws is the Input's own, a value cut at rest ending in "…". */
4183
+ .o-values-editor-code { flex: none; }
4184
+ .o-values-editor-prefix { flex: none; color: var(--vk-fg-subtle); font-variant-numeric: tabular-nums; }
4185
+ .o-values-editor-error { margin: calc(var(--vk-spacing) * 2) var(--vk-spacing) 0; font-size: var(--vk-font-size-xs); line-height: calc(var(--vk-font-size-xs) * var(--vk-line-height-xs)); color: var(--vk-danger); }
4186
+ .o-values-editor-rows + .o-values-editor-error { margin: var(--vk-spacing) var(--vk-spacing) 0; }
4187
+ /* A list in the rows' place: a back row, the shared line across a popup's top (ViewKit's popup-line.css, through lib/popup-line), ‹ where the line's icon
4188
+ stands, as the Picker's level (KIT-498), then the Picker. */
4189
+ .o-values-editor-back { font-weight: var(--vk-font-weight-medium); }
4190
+
4191
+ /* ── On a phone, Mihai's look: a card for each value, 56 high, the grip ≡, ⊖, and a line with Add at the foot ──────── */
4192
+ .o-values-editor[data-values-form="phone"] { display: grid; font-size: var(--vk-font-size-base); line-height: calc(var(--vk-font-size-base) * var(--vk-line-height-base)); }
4193
+ /* Its cards and their rows are Field rows' (KIT-622), in the look this editor hands it (values-editor.tsx, MIHAI_CARDS and
4194
+ ATTIO_ROWS); what a row holds and where stays here. */
4195
+ .o-values-editor-card { white-space: nowrap; }
4196
+ .o-values-editor-card .o-values-editor-label { font-size: var(--vk-font-size-sm); }
4197
+ .o-values-editor-minus { flex: none; }
4198
+ /* Its mark, a drawn bar: the span in the Button's label, never the Button's cut (KIT-645: a bare span inside the Button took the
4199
+ cut's two spans too, and ⊖ drew as a red sliver over a white dash). */
4200
+ .o-values-editor-minus > [data-slot="vk-button-label"] > span { display: block; width: calc(var(--vk-spacing) * 2.5); height: calc(var(--vk-spacing) * 0.5); border-radius: var(--vk-radius-full); background-color: var(--vk-fg-inverse); }
4201
+ .o-values-editor [data-lifted] > .o-values-editor-card { background-color: var(--vk-overlay); box-shadow: var(--vk-shadow-lg); }
4202
+ .o-values-editor-adding { display: flex; align-items: center; gap: calc(var(--vk-spacing) * 2.5); }
4203
+ .o-values-editor-new { flex: 1; min-width: 0; }
4204
+ .o-values-editor-new > svg { color: var(--vk-fg-subtlest); }
4205
+ .o-values-editor-new .o-values-editor-prefix { margin-left: calc(var(--vk-spacing) * -1); }
4206
+
4207
+ /* ── Attio's look on a computer (data-values-rows="copy", data-values-line="plus") ──────────────────────────────────── */
4208
+ .o-values-editor[data-values-rows="copy"] .o-values-editor-rows { gap: 0; }
4209
+ .o-values-editor[data-values-rows="copy"] .o-values-editor-row { gap: var(--vk-spacing); height: calc(var(--vk-spacing) * 8); padding: 0 var(--vk-spacing) 0 0; border-radius: var(--vk-radius-md); }
4210
+ @media (hover: hover) { .o-values-editor[data-values-rows="copy"] .o-values-editor-row:hover { background-color: transparent; } }
4211
+ .o-values-editor[data-values-rows="copy"] .o-values-editor-row[data-lifted] { background-color: var(--vk-overlay); }
4212
+ .o-values-editor[data-values-holds="one"] .o-values-editor-row { padding-left: var(--vk-spacing); }
4213
+ /* The value in its pill: the pill shows under the pointer and in focus, and takes its copy's room after the value's end, so the
4214
+ value reads to its last letter, its copy after it (KIT-488, Mihai's pick, 20 Nov 2026: "Make room for it"); only a value too
4215
+ long for its row's room gives way, cut with … before its copy. The row's label and trash stay where they stood. */
4216
+ .o-values-editor-pill {
4217
+ position: relative; display: inline-flex; align-items: center; min-width: 0; max-width: 100%;
4218
+ padding: calc(var(--vk-spacing) * 0.5) calc(var(--vk-spacing) * 1.5); margin-left: calc(var(--vk-spacing) * -0.5); border-radius: var(--vk-radius-sm);
4219
+ }
4220
+ .o-values-editor[data-values-rows="copy"] .o-values-editor-value { display: block; text-decoration-color: var(--vk-brand-subtler); }
4221
+ .o-values-editor-copy { opacity: 0; }
4222
+ .o-values-editor-row:focus-within .o-values-editor-pill { background-color: var(--vk-overlay-hovered); }
4223
+ @media (hover: hover) { .o-values-editor-row:hover .o-values-editor-pill { background-color: var(--vk-overlay-hovered); } }
4224
+ .o-values-editor-row:focus-within .o-values-editor-copy, .o-values-editor-copy[data-copied] { opacity: 1; }
4225
+ @media (hover: hover) { .o-values-editor-row:hover .o-values-editor-copy { opacity: 1; } }
4226
+ .o-values-editor[data-values-rows="copy"] .o-values-editor-row:focus-within .o-values-editor-pill,
4227
+ .o-values-editor[data-values-rows="copy"] .o-values-editor-pill:has(> .o-values-editor-copy[data-copied]) { padding-right: calc(var(--vk-spacing) * 6); }
4228
+ @media (hover: hover) { .o-values-editor[data-values-rows="copy"] .o-values-editor-row:hover .o-values-editor-pill { padding-right: calc(var(--vk-spacing) * 6); } }
4229
+ /* On a touch screen, where no pointer hovers, every value's copy stands always, after the value's end in the pill's own room,
4230
+ every value whole (KIT-444, Mihai's pick D, 13 Nov 2026), as under a pointer (KIT-488). */
4231
+ @media (hover: none) {
4232
+ .o-values-editor-copy { opacity: 1; }
4233
+ .o-values-editor[data-values-rows="copy"] .o-values-editor-pill { padding-right: calc(var(--vk-spacing) * 6); }
4234
+ }
4235
+ /* A long email, on one line: its name cut, its domain whole beside its copy (KIT-455, Mihai's pick C, 13 Nov 2026), on a touch
4236
+ screen and under a pointer alike (KIT-808, Mihai's pick, 20 Nov 2026: "As on the phone"), and in Mihai's look's rows too,
4237
+ beside Main ("Yes, his look too", the same day). */
4238
+ .o-values-editor .o-values-editor-value:has(> .o-values-editor-domain) { display: flex; }
4239
+ .o-values-editor-name { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
4240
+ .o-values-editor-domain { flex: none; white-space: nowrap; }
4241
+ .o-values-editor[data-values-rows="copy"] .o-values-editor-label { color: var(--vk-fg-subtlest); font-size: var(--vk-font-size-sm); }
4242
+ .o-values-editor[data-values-rows="copy"] .o-values-editor-row:not(:has(.o-values-editor-label)) .o-values-editor-remove { margin-left: auto; }
4243
+ .o-values-editor[data-values-rows="copy"] .o-values-editor-row:focus-within .o-values-editor-remove { opacity: 1; }
4244
+ /* A value edited: the in-cell Input's hairline, 2px further out than the row's words. */
4245
+ .o-values-editor[data-values-rows="copy"] .o-values-editor-edit { margin-left: calc(var(--vk-spacing) * -0.5); }
4246
+
4247
+ /* The line: 36 high under a hairline inside the Popover's padding, a + in the grips' column, the caret and no ring. */
4248
+ .o-values-editor[data-values-line="plus"] .o-values-editor-line, .o-values-editor[data-values-line="plus"] .o-values-editor-rows + .o-values-editor-error + .o-values-editor-line {
4249
+ gap: var(--vk-spacing); min-height: calc(var(--vk-spacing) * 10 + var(--vk-border-width)); margin: var(--vk-spacing) 0 0; padding: var(--vk-spacing) 0 0; border-top: var(--vk-border-width) solid var(--vk-border-subtle);
4250
+ box-shadow: none; border-radius: 0;
4251
+ }
4252
+ .o-values-editor[data-values-line="plus"] > .o-values-editor-line:first-child { margin: 0; padding: 0; border-top: 0; }
4253
+ /* In the Popover its hairline is a line inside a floating surface (KIT-863): drawn in from each end as the list's Dividers say, Inset
4254
+ by a row's 8, Rows as wide as the values, Full width to the Popover's edge, inside it, in the Popover's line colour; the first, standing alone, has none. */
4255
+ .o-popover :is(.o-values-editor[data-values-line="plus"] .o-values-editor-line:not(:first-child), .o-values-editor[data-values-line="plus"] .o-values-editor-rows + .o-values-editor-error + .o-values-editor-line) {
4256
+ --values-line-in: calc(var(--vk-spacing) * 2 * var(--dividers-words, 1) - (1 - var(--dividers-rows, 1)) * var(--divider-reach, 0px));
4257
+ position: relative; border-top-color: transparent;
4258
+ }
4259
+ .o-popover :is(.o-values-editor[data-values-line="plus"] .o-values-editor-line:not(:first-child), .o-values-editor[data-values-line="plus"] .o-values-editor-rows + .o-values-editor-error + .o-values-editor-line)::after {
4260
+ content: ""; position: absolute; left: var(--values-line-in); right: var(--values-line-in); top: calc(-1 * var(--vk-border-width)); height: var(--vk-border-width);
4261
+ background-color: var(--divider-colour, var(--vk-border-subtle)); pointer-events: none;
4262
+ }
4263
+ .o-values-editor[data-values-line="plus"] .o-values-editor-line:focus-within, .o-values-editor[data-values-line="plus"] .o-values-editor-line[data-bad] { box-shadow: none; border-radius: 0; }
4264
+ .o-values-editor-plus { flex: none; display: grid; place-items: center; width: calc(var(--vk-spacing) * 6); color: var(--vk-fg-subtle); }
4265
+ .o-values-editor[data-values-line="plus"] .o-values-editor-prefix { color: var(--vk-fg-subtlest); }
4266
+ .o-values-editor[data-values-line="plus"] .o-values-editor-error { margin: var(--vk-spacing) 0 var(--vk-spacing) calc(var(--vk-spacing) * 7); }
4267
+
4268
+ /* ── Attio's look on a phone (data-values-phone="rows"): one card, rows 48 high at 16, each with its grip, its label, its call,
4269
+ write or open and its trash; the line in the card under a line; a refusal's words under the card ─────────────────── */
4270
+ .o-values-editor[data-values-phone="rows"] .o-values-editor-card { white-space: normal; }
4271
+ /* Its row's inside: the grip at its start's edge, its acts at its end, the computer's row height let go. */
4272
+ .o-values-editor[data-values-phone="rows"] .o-values-editor-row { gap: 0; height: auto; padding: 0 var(--vk-spacing) 0 calc(var(--vk-spacing) * 0.5); border-radius: 0; }
4273
+ @media (hover: hover) { .o-values-editor[data-values-phone="rows"] .o-values-editor-row:hover { background-color: transparent; } }
4274
+ .o-values-editor[data-values-phone="rows"] .o-values-editor-row[data-lifted] { background-color: var(--vk-overlay); box-shadow: var(--vk-shadow-lg); }
4275
+ .o-values-editor[data-values-holds="one"][data-values-phone="rows"] .o-values-editor-row { padding-left: calc(var(--vk-spacing) * 3); }
4276
+ .o-values-editor[data-values-phone="rows"] .o-values-editor-value { flex: 0 1 auto; min-width: 0; min-height: calc(var(--vk-spacing) * 11); cursor: text; text-decoration-color: var(--vk-brand-subtler); text-underline-offset: var(--vk-spacing); }
4277
+ .o-values-editor[data-values-phone="rows"] .o-values-editor-label { margin-left: auto; padding-left: calc(var(--vk-spacing) * 2); color: var(--vk-fg-subtlest); font-size: var(--vk-font-size-sm); }
4278
+ .o-values-editor-acts { display: flex; flex: none; margin-left: auto; }
4279
+ .o-values-editor-label + .o-values-editor-acts { margin-left: 0; }
4280
+ .o-values-editor[data-values-phone="rows"] .o-values-editor-remove { opacity: 1; }
4281
+ /* A value edited: the kit's Input in a cell across the row, 4px short of its end; its words the Sheet's, 16 on 24 (KIT-369). */
4282
+ .o-values-editor[data-values-phone="rows"] .o-values-editor-card .o-values-editor-edit { flex: 1; min-width: 0; margin: 0 var(--vk-spacing) 0 0; font-size: inherit; line-height: inherit; }
4283
+ .o-values-editor[data-values-phone="rows"] .o-values-editor-card > .o-values-editor-error { margin: 0 calc(var(--vk-spacing) * 3) calc(var(--vk-spacing) * 2) calc(var(--vk-spacing) * 8.5); font-size: var(--vk-font-size-sm); }
4284
+ .o-values-editor[data-values-phone="rows"] .o-values-editor-line {
4285
+ display: flex; align-items: center; gap: calc(var(--vk-spacing) * 0.5); min-height: calc(var(--vk-spacing) * 12); margin: 0; padding: 0 calc(var(--vk-spacing) * 3) 0 calc(var(--vk-spacing) * 0.5);
4286
+ border-top: var(--vk-border-width) solid var(--vk-border-overlay-card); box-shadow: none; border-radius: 0;
4287
+ }
4288
+ .o-values-editor[data-values-phone="rows"] .o-values-editor-card > .o-values-editor-line:first-child { border-top: 0; }
4289
+ .o-values-editor[data-values-phone="rows"] .o-values-editor-line .o-values-editor-plus { width: calc(var(--vk-spacing) * 8); }
4290
+ .o-values-editor[data-values-phone="rows"] .o-values-editor-line .o-values-editor-plus svg { width: calc(var(--vk-spacing) * 4.5); height: calc(var(--vk-spacing) * 4.5); }
4291
+ .o-values-editor[data-values-phone="rows"] .o-values-editor-line .o-values-editor-prefix { margin-right: var(--vk-spacing); color: var(--vk-fg-subtlest); }
4292
+ .o-values-editor[data-values-phone="rows"] > .o-values-editor-error { margin: calc(var(--vk-spacing) * 2) var(--vk-spacing) 0; font-size: var(--vk-font-size-sm); line-height: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm)); }
4293
+
4294
+ /* ── Where its buttons stand: the editor's own places, the Button drawing the rest (KIT-492) ─────────────────────────────── */
4295
+ .o-values-editor[data-values-form="computer"]:not([data-values-rows="copy"]) .o-values-editor-row .o-button.o-values-editor-remove { margin: 0 calc(var(--vk-spacing) * -1) 0 0; }
4296
+ .o-values-editor[data-values-form="computer"] .o-values-editor-row:not(:has(.o-values-editor-label)) .o-button.o-values-editor-remove { margin-left: auto; }
4297
+ .o-values-editor[data-values-form="computer"] .o-values-editor-row[data-lifted] .o-button.o-values-editor-grip { cursor: grabbing; }
4298
+ /* Copy after the value's end, in the pill's own room (KIT-444, KIT-488). */
4299
+ .o-values-editor[data-values-form="computer"] .o-values-editor-row .o-button.o-values-editor-copy { position: absolute; top: 50%; right: 0; margin: calc(var(--vk-spacing) * -2.5) 0 0; }
4300
+ .o-values-editor[data-values-form="computer"]:not([data-values-line="plus"]) .o-values-editor-line .o-button.o-values-editor-code { margin: 0 0 0 calc(var(--vk-spacing) * -1); }
4301
+ .o-values-editor[data-values-form="phone"] .o-values-editor-row .o-button.o-values-editor-grip { margin-left: calc(var(--vk-spacing) * -1); }
4302
+ .o-values-editor[data-values-form="phone"] .o-values-editor-row[data-lifted] .o-button.o-values-editor-grip { cursor: grabbing; }
4303
+ .o-values-editor[data-values-form="phone"] .o-values-editor-acts .o-button:is(.o-values-editor-open, .o-values-editor-remove) { margin: 0; }
4304
+ .o-values-editor[data-values-form="phone"] .o-values-editor-line .o-button.o-values-editor-code { margin: 0 0 0 calc(var(--vk-spacing) * 0.5); }
4305
+ .o-values-editor[data-values-form="phone"] .o-values-editor-cards .o-values-editor-card .o-button.o-values-editor-grip { margin-left: calc(var(--vk-spacing) * -1); }
4306
+ .o-values-editor[data-values-form="phone"] .o-values-editor-cards [data-lifted] .o-values-editor-card .o-button.o-values-editor-grip { cursor: grabbing; }
4307
+ .o-values-editor[data-values-form="phone"] .o-values-editor-cards .o-values-editor-card .o-button.o-values-editor-label { margin: 0 0 0 auto; }
4308
+ .o-values-editor[data-values-form="phone"] .o-values-editor-cards .o-values-editor-card .o-button.o-values-editor-minus, .o-values-editor[data-values-form="phone"] .o-values-editor-new .o-button.o-values-editor-code { margin: 0; }
4309
+
4310
+ /* The pressing area under 640px (L2, the kit's own rule for packed targets): half the room to the next target, so no area
4311
+ reaches another. None where they stand flush: across Attio's phone rows and line, and across and up and down the computer's
4312
+ rows (24px buttons in rows of 32 and 34 with no gap); 6px across on Mihai's cards. These need only outweigh press.css's
4313
+ rooms (three classes at most). */
4314
+ .o-values-editor[data-values-form="computer"] .o-values-editor-row .o-button:is(.o-values-editor-grip, .o-values-editor-remove, .o-values-editor-copy),
4315
+ .o-values-editor[data-values-form="computer"] .o-values-editor-edit .o-button.o-values-editor-edit-label { --pressing-room-x: 0px; --pressing-room-y: 0px; }
4316
+ .o-values-editor[data-values-form="computer"] .o-values-editor-line .o-button.o-values-editor-code,
4317
+ .o-values-editor[data-values-phone="rows"] .o-values-editor-card .o-button:is(.o-values-editor-grip, .o-values-editor-open, .o-values-editor-remove, .o-values-editor-code, .o-values-editor-edit-label) { --pressing-room-x: 0px; }
4318
+ .o-values-editor[data-values-phone="cards"] :is(.o-values-editor-cards, .o-values-editor-new) .o-button:is(.o-values-editor-grip, .o-values-editor-label, .o-values-editor-minus, .o-values-editor-code) { --pressing-room-x: calc(var(--vk-spacing) * 1.5); }
4319
+ .o-values-editor :is(.o-values-editor-line-input, .o-values-editor-card-input):where([data-vk-phone], [data-vk-phone] *) { font-size: var(--vk-font-size-base); }
4320
+ .o-views-list { display: contents; }
4321
+ .o-views-list-mark { display: inline-grid; place-items: center; color: var(--vk-fg-subtle); }
4322
+ .o-views-list-mark > svg { width: calc(var(--vk-spacing) * 4); height: calc(var(--vk-spacing) * 4); }
4323
+ .o-picker[data-picker-form="phone"] .o-views-list-mark > svg { width: calc(var(--vk-spacing) * 5); height: calc(var(--vk-spacing) * 5); }
3896
4324
  .\@container {
3897
4325
  container-type: inline-size;
3898
4326
  }
@@ -6902,13 +7330,13 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
6902
7330
  --vk-shadow-field-focus-danger: 0 0 10px 0 hsl(3 87% 68% / 0.3);
6903
7331
  --vk-shadow-field-hover: 0 1px 1px 0 rgb(16 17 26 / 0.16);
6904
7332
  --vk-font-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
7333
+ --vk-layer-popup: 50;
6905
7334
  --vk-overlay-selected: hsl(220 7% 90%);
6906
7335
  --vk-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
6907
7336
  --vk-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
6908
7337
  --vk-shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
6909
7338
  --vk-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
6910
7339
  --vk-shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
6911
- --vk-layer-popup: 50;
6912
7340
  --vk-label-amber-pressed: hsl(24 86% 35.5%);
6913
7341
  --vk-label-blue-pressed: hsl(219 70% 46.5%);
6914
7342
  --vk-label-green-pressed: hsl(157 88% 24%);
@@ -6920,6 +7348,7 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
6920
7348
  --vk-header: hsl(0 0% 100%);
6921
7349
  --vk-blur-xs: 4px;
6922
7350
  --vk-blur-sm: 8px;
7351
+ --vk-border-selected: hsl(219 90% 65.5%);
6923
7352
  --vk-scrollbar-size: 6px;
6924
7353
  --vk-scrollbar-inset: 2px;
6925
7354
  --vk-scrollbar-thumb: hsl(210 1% 82%);
@@ -7150,6 +7579,7 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
7150
7579
  --vk-label-purple-pressed: hsl(256 100% 73%);
7151
7580
  --vk-shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
7152
7581
  --vk-header: hsl(210 6% 7%);
7582
+ --vk-border-selected: hsl(219 66% 47%);
7153
7583
  --vk-scrollbar-thumb: hsl(210 2% 26.5%);
7154
7584
  --vk-scrollbar-thumb-hovered: hsl(210 1% 37%);
7155
7585
  --vk-backdrop-sheet: hsl(0 0% 0% / 0.45);