viewkitjs 0.24.0 → 0.25.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 (82) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/fields/dist/creatable.d.ts +9 -5
  3. package/fields/dist/creatable.js +8 -1
  4. package/fields/dist/messages.d.ts +19 -1
  5. package/fields/dist/messages.js +75 -0
  6. package/fields/dist/registry.js +4 -7
  7. package/fields/dist/types.d.ts +4 -2
  8. package/fields/dist/zod.d.ts +58 -0
  9. package/fields/dist/zod.js +430 -2
  10. package/fields/docs/guides/checking-definitions.md +6 -1
  11. package/fields/docs/guides/field-types.md +5 -1
  12. package/fields/docs/reference/definitions.md +1 -2
  13. package/fields/docs/reference/types.md +2 -1
  14. package/fields/skills/viewkit/SKILL.md +2 -2
  15. package/package.json +1 -1
  16. package/views/dist/controls/avatar/avatar.d.ts +58 -0
  17. package/views/dist/controls/avatar/avatar.js +54 -0
  18. package/views/dist/controls/avatar/looks.d.ts +4 -0
  19. package/views/dist/controls/avatar/looks.js +5 -0
  20. package/views/dist/controls/avatar/tokens.d.ts +131 -0
  21. package/views/dist/controls/avatar/tokens.js +35 -0
  22. package/views/dist/controls/avatar.css +163 -0
  23. package/views/dist/controls/controls.d.ts +2 -0
  24. package/views/dist/controls/controls.js +2 -0
  25. package/views/dist/controls/index.d.ts +12 -0
  26. package/views/dist/controls/index.js +12 -0
  27. package/views/dist/controls/internal/phone.d.ts +9 -0
  28. package/views/dist/controls/internal/phone.js +15 -0
  29. package/views/dist/controls/internal/read-token.d.ts +2 -1
  30. package/views/dist/controls/internal/read-token.js +1 -1
  31. package/views/dist/controls/internal/scroll.d.ts +38 -0
  32. package/views/dist/controls/internal/scroll.js +126 -0
  33. package/views/dist/controls/list/looks.d.ts +4 -0
  34. package/views/dist/controls/list/looks.js +12 -0
  35. package/views/dist/controls/list.css +17 -13
  36. package/views/dist/controls/menu/map-menu.d.ts +11 -0
  37. package/views/dist/controls/menu/map-menu.js +47 -0
  38. package/views/dist/controls/menu/menu.d.ts +75 -0
  39. package/views/dist/controls/menu/menu.js +105 -0
  40. package/views/dist/controls/menu/tokens.d.ts +23 -0
  41. package/views/dist/controls/menu/tokens.js +8 -0
  42. package/views/dist/controls/menu-list/looks.d.ts +5 -1
  43. package/views/dist/controls/menu-list/looks.js +6 -4
  44. package/views/dist/controls/menu-list/menu-list.js +3 -1
  45. package/views/dist/controls/menu-list.css +39 -31
  46. package/views/dist/controls/menu.css +25 -0
  47. package/views/dist/controls/picker/looks.d.ts +19 -0
  48. package/views/dist/controls/picker/looks.js +32 -0
  49. package/views/dist/controls/picker/picker.d.ts +153 -0
  50. package/views/dist/controls/picker/picker.js +773 -0
  51. package/views/dist/controls/picker/rows.d.ts +129 -0
  52. package/views/dist/controls/picker/rows.js +90 -0
  53. package/views/dist/controls/picker/tokens.d.ts +147 -0
  54. package/views/dist/controls/picker/tokens.js +39 -0
  55. package/views/dist/controls/picker.css +237 -0
  56. package/views/dist/controls/popup-line/tokens.d.ts +23 -0
  57. package/views/dist/controls/popup-line/tokens.js +8 -0
  58. package/views/dist/controls/popup-line.css +44 -0
  59. package/views/dist/controls/select/filled.d.ts +7 -0
  60. package/views/dist/controls/select/filled.js +5 -0
  61. package/views/dist/controls/select/fit.d.ts +9 -0
  62. package/views/dist/controls/select/fit.js +11 -0
  63. package/views/dist/controls/select/select.d.ts +131 -0
  64. package/views/dist/controls/select/select.js +227 -0
  65. package/views/dist/controls/select/side.d.ts +3 -0
  66. package/views/dist/controls/select/side.js +4 -0
  67. package/views/dist/controls/select/tokens.d.ts +27 -0
  68. package/views/dist/controls/select/tokens.js +9 -0
  69. package/views/dist/controls/select.css +91 -0
  70. package/views/dist/controls/tokens.js +10 -0
  71. package/views/dist/looks/index.d.ts +4 -0
  72. package/views/dist/looks/index.js +4 -0
  73. package/views/dist/looks/pieces.js +6 -0
  74. package/views/dist/styles.css +586 -62
  75. package/views/dist/styles.unlayered.css +586 -62
  76. package/views/docs/controls/avatar.md +38 -0
  77. package/views/docs/controls/menu.md +11 -0
  78. package/views/docs/controls/picker.md +42 -0
  79. package/views/docs/controls/popup-line.md +11 -0
  80. package/views/docs/controls/select.md +12 -0
  81. package/views/docs/reference/controls.md +86 -0
  82. package/views/docs/reference/looks.md +8 -0
@@ -1,4 +1,4 @@
1
- /*! viewkitjs 0.24.0 · viewkitjs/views/styles.unlayered.css: ViewKit's look, its defaults the Outright look */
1
+ /*! viewkitjs 0.25.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] *),
@@ -302,6 +302,158 @@
302
302
  --smooth-khx: calc(var(--smooth-k) - var(--smooth-hx));
303
303
  }
304
304
 
305
+ /* ── A person: a circle of their initials on their tone, 32px ──────────────────────────────────────── */
306
+ .o-avatar {
307
+ flex: none; display: inline-grid; place-items: center; box-sizing: border-box; overflow: hidden;
308
+ width: calc(var(--vk-spacing) * 8); height: calc(var(--vk-spacing) * 8); border-radius: var(--vk-radius-full);
309
+ background-color: var(--vk-person-1); color: var(--vk-person-fg);
310
+ font-size: var(--vk-font-size-xs); line-height: 1; font-weight: var(--vk-font-weight-semibold); letter-spacing: var(--vk-tracking-normal); user-select: none;
311
+ }
312
+ .o-avatar[data-tone="2"] { background-color: var(--vk-person-2); }
313
+ .o-avatar[data-tone="3"] { background-color: var(--vk-person-3); }
314
+ .o-avatar[data-tone="4"] { background-color: var(--vk-person-4); }
315
+ .o-avatar[data-tone="5"] { background-color: var(--vk-person-5); }
316
+ .o-avatar[data-tone="6"] { background-color: var(--vk-person-6); }
317
+ /* A photo or a logo fills the shape and replaces the tone. */
318
+ .o-avatar-image { width: 100%; height: 100%; object-fit: cover; }
319
+ .o-avatar-letters { display: grid; place-items: center; width: 100%; height: 100%; }
320
+ .o-avatar-letters svg { width: 55%; height: 55%; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
321
+
322
+ /* ── Sizes: 16 in a typed Select's chip, its initials at the 3xs type size; 20 in chips and text, 24 in dense rows and stacks,
323
+ 40 in headers, 64 on a record's page ── */
324
+ .o-avatar.o-avatar-2xs { width: calc(var(--vk-spacing) * 4); height: calc(var(--vk-spacing) * 4); font-size: var(--vk-font-size-3xs); }
325
+ .o-avatar.o-avatar-xs { width: calc(var(--vk-spacing) * 5); height: calc(var(--vk-spacing) * 5); font-size: var(--vk-font-size-2xs); }
326
+ .o-avatar.o-avatar-sm { width: calc(var(--vk-spacing) * 6); height: calc(var(--vk-spacing) * 6); font-size: var(--vk-font-size-2xs); }
327
+ .o-avatar.o-avatar-lg { width: calc(var(--vk-spacing) * 10); height: calc(var(--vk-spacing) * 10); font-size: var(--vk-font-size-sm); }
328
+ .o-avatar.o-avatar-xl { width: calc(var(--vk-spacing) * 16); height: calc(var(--vk-spacing) * 16); font-size: var(--vk-font-size-2xl); }
329
+
330
+ /* ── A thing: a square, its corners a step that grows with it, on the neutral ground, its edge inside ─ */
331
+ .o-avatar.o-avatar-thing { border-radius: var(--avatar-r); background-color: var(--vk-neutral); color: var(--vk-fg-subtle); box-shadow: inset 0 0 0 var(--vk-border-width) var(--vk-border-subtle); }
332
+ /* The workspace: the one square in the brand. */
333
+ .o-avatar.o-avatar-workspace { background-color: var(--vk-brand); color: var(--vk-fg-on-brand); box-shadow: none; }
334
+ /* An agent: a thing's square holding its own icon. Its mark comes in its own fills, so it is filled, never drawn as a
335
+ line as a record's icon is; a mark with no colour of its own (Codex's, Grok's) takes the text's ink, as the canvas drew it. */
336
+ .o-avatar-agent .o-avatar-letters svg { fill: var(--vk-fg); stroke: none; }
337
+
338
+ /* ── Corners: a radius token per size, in steps; Medium with nothing set: xs at 20, sm at 24 and 32, md at 40, lg at 64,
339
+ between Small and Large, the tokens holding nothing between xs and sm ────────────────────────────── */
340
+ .o-avatar.o-avatar-thing { --avatar-r: var(--vk-radius-sm); }
341
+ .o-avatar.o-avatar-thing:is(.o-avatar-2xs, .o-avatar-xs) { --avatar-r: var(--vk-radius-xs); }
342
+ .o-avatar.o-avatar-thing.o-avatar-lg { --avatar-r: var(--vk-radius-md); }
343
+ .o-avatar.o-avatar-thing.o-avatar-xl { --avatar-r: var(--vk-radius-lg); }
344
+ /* Small: xs at 20 and 24, sm at 32 and 40, md at 64. */
345
+ [data-avatar-corners="small"] .o-avatar.o-avatar-thing { --avatar-r: var(--vk-radius-sm); }
346
+ [data-avatar-corners="small"] .o-avatar.o-avatar-thing:is(.o-avatar-2xs, .o-avatar-xs, .o-avatar-sm) { --avatar-r: var(--vk-radius-xs); }
347
+ [data-avatar-corners="small"] .o-avatar.o-avatar-thing.o-avatar-xl { --avatar-r: var(--vk-radius-md); }
348
+ /* Large, the radii before Medium came: sm at 20 and 24, md at 32, lg at 40, xl at 64. */
349
+ [data-avatar-corners="large"] .o-avatar.o-avatar-thing { --avatar-r: var(--vk-radius-md); }
350
+ [data-avatar-corners="large"] .o-avatar.o-avatar-thing:is(.o-avatar-2xs, .o-avatar-xs, .o-avatar-sm) { --avatar-r: var(--vk-radius-sm); }
351
+ [data-avatar-corners="large"] .o-avatar.o-avatar-thing.o-avatar-lg { --avatar-r: var(--vk-radius-lg); }
352
+ [data-avatar-corners="large"] .o-avatar.o-avatar-thing.o-avatar-xl { --avatar-r: var(--vk-radius-xl); }
353
+ /* Extra large: md at 20 and 24, lg at 32, xl at 40, 2xl at 64. */
354
+ [data-avatar-corners="xlarge"] .o-avatar.o-avatar-thing { --avatar-r: var(--vk-radius-lg); }
355
+ [data-avatar-corners="xlarge"] .o-avatar.o-avatar-thing:is(.o-avatar-2xs, .o-avatar-xs, .o-avatar-sm) { --avatar-r: var(--vk-radius-md); }
356
+ [data-avatar-corners="xlarge"] .o-avatar.o-avatar-thing.o-avatar-lg { --avatar-r: var(--vk-radius-xl); }
357
+ [data-avatar-corners="xlarge"] .o-avatar.o-avatar-thing.o-avatar-xl { --avatar-r: var(--vk-radius-2xl); }
358
+
359
+ /* ── Corner smoothing: Smooth, with nothing set, draws a square's corners with the smooth outline (smooth.css),
360
+ every browser that knows shape() showing it; one that doesn't keeps the quarter circles above, and so does Round. Its
361
+ smoothing eases off where a side is too short for 1.7 radii at each end, as the canvas drew it (o-smooth-ease, from its size and
362
+ its radius, both tokens, so it follows Corner radius). The outline would cut the edge drawn inside the square, so under it the
363
+ edge is a ring of its own (::before), between the outline and the same outline drawn a hairline in, under whatever the square
364
+ holds; the workspace has none. Its smoothing is its own Corner smoothing, never a host's: the outline's amount inherits, and a
365
+ crumb, a tab or a list's card that follows the token sets it on itself, so the square sets it back. ─────── */
366
+ @supports (clip-path: shape(evenodd from 0 0, curve by 1px 1px with 1px 0 / 1px 0, close, move to 0 0, hline to 1px, close)) and (width: calc(tan(atan2(1px, 1px)) * 1px)) {
367
+ .o-avatar.o-avatar-thing { --smooth-amount: initial; }
368
+ .o-avatar.o-avatar-thing:not([data-avatar-smoothing="round"] *) {
369
+ --avatar-rr: min(var(--avatar-r), var(--avatar-size) / 2); --smooth-t: var(--avatar-rr); --smooth-side: var(--avatar-size);
370
+ position: relative; box-shadow: none; clip-path: shape(var(--smooth-outline));
371
+ }
372
+ /* Its edge, a hairline ring along the outline, under the picture or the letters it holds; the workspace has none. */
373
+ .o-avatar.o-avatar-thing:not(.o-avatar-workspace):not([data-avatar-smoothing="round"] *)::before {
374
+ --smooth-t: calc(var(--avatar-rr) - var(--vk-border-width)); --smooth-in: var(--vk-border-width);
375
+ content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-color: var(--vk-border-subtle);
376
+ clip-path: shape(var(--smooth-ring));
377
+ }
378
+ }
379
+
380
+ /* ── A stack: each after the first overlaps by a fifth of its size, cut out of whatever it stands on (a cut, so a card,
381
+ a hovered row or the dark shows through it, never the page's colour) ──────────────────────────────────────────────── */
382
+ .o-avatar-stack { display: inline-flex; align-items: center; isolation: isolate; }
383
+ :is(.o-avatar, .o-avatar-badged) { --avatar-overlap: calc(var(--vk-spacing) * 1.6); }
384
+ :is(.o-avatar.o-avatar-xs, .o-avatar-badged[data-size="20"]) { --avatar-overlap: calc(var(--vk-spacing) * 1); }
385
+ :is(.o-avatar.o-avatar-sm, .o-avatar-badged[data-size="24"]) { --avatar-overlap: calc(var(--vk-spacing) * 1.2); }
386
+ :is(.o-avatar.o-avatar-lg, .o-avatar-badged[data-size="40"]) { --avatar-overlap: calc(var(--vk-spacing) * 2); }
387
+ :is(.o-avatar.o-avatar-xl, .o-avatar-badged[data-size="64"]) { --avatar-overlap: calc(var(--vk-spacing) * 3.2); }
388
+ .o-avatar-stack > :is(.o-avatar, .o-avatar-badged) + :is(.o-avatar, .o-avatar-badged) { margin-left: calc(var(--avatar-overlap) * -1); }
389
+ /* A face with a face after it: the next one's circle and its ring taken out of it. */
390
+ :is(.o-avatar-stack > .o-avatar:has(+ :is(.o-avatar, .o-avatar-badged)), .o-avatar-stack > .o-avatar-badged:has(+ :is(.o-avatar, .o-avatar-badged)) > .o-avatar) {
391
+ --avatar-next-at: calc(var(--avatar-size) - var(--avatar-overlap) - var(--avatar-cut)) calc(var(--avatar-cut) * -1);
392
+ --avatar-next-size: calc(var(--avatar-size) + var(--avatar-cut) * 2) calc(var(--avatar-size) + var(--avatar-cut) * 2);
393
+ }
394
+ /* A face after a badged one: that face's badge stands over it, its circle and ring taken out of it too. */
395
+ :is(.o-avatar-stack > .o-avatar-badged + .o-avatar, .o-avatar-stack > .o-avatar-badged + .o-avatar-badged > .o-avatar) {
396
+ --avatar-prev-at: calc(var(--avatar-overlap) - var(--avatar-dot-inset) - var(--avatar-dot) - var(--avatar-cut)) calc(var(--avatar-size) - var(--avatar-dot-inset) - var(--avatar-dot) - var(--avatar-cut));
397
+ --avatar-prev-size: calc(var(--avatar-dot) + var(--avatar-cut) * 2) calc(var(--avatar-dot) + var(--avatar-cut) * 2);
398
+ }
399
+ /* The whole stack as one button (after Linear): the quiet Button wearing it, its ground under the pointer showing through the cuts. */
400
+ .o-button.o-avatar-stack-button { height: auto; padding: var(--vk-spacing); --button-r: var(--vk-radius-full); --button-side: calc(var(--vk-spacing) * 10 + var(--button-line) * 2); }
401
+ /* Its side, its faces' size and its padding, which its own corner is fitted to where a frame's Corners outweighs its Full. */
402
+ .o-button.o-avatar-stack-button:has(.o-avatar-xs) { --button-side: calc(var(--vk-spacing) * 7 + var(--button-line) * 2); }
403
+ .o-button.o-avatar-stack-button:has(.o-avatar-sm) { --button-side: calc(var(--vk-spacing) * 8 + var(--button-line) * 2); }
404
+ .o-button.o-avatar-stack-button:has(.o-avatar-lg) { --button-side: calc(var(--vk-spacing) * 12 + var(--button-line) * 2); }
405
+ .o-button.o-avatar-stack-button:has(.o-avatar-xl) { --button-side: calc(var(--vk-spacing) * 18 + var(--button-line) * 2); }
406
+ /* Its add (after Asana): the outline Button the avatar's size, its edge dashed at rest, solid under the pointer. */
407
+ .o-avatar-add[data-size="20"] { --avatar-size: calc(var(--vk-spacing) * 5); }
408
+ .o-avatar-add[data-size="24"] { --avatar-size: calc(var(--vk-spacing) * 6); }
409
+ .o-avatar-add[data-size="32"] { --avatar-size: calc(var(--vk-spacing) * 8); }
410
+ .o-avatar-add[data-size="40"] { --avatar-size: calc(var(--vk-spacing) * 10); }
411
+ .o-avatar-add[data-size="64"] { --avatar-size: calc(var(--vk-spacing) * 16); }
412
+ .o-button.o-avatar-add { flex: none; width: var(--avatar-size); height: var(--avatar-size); --button-side: var(--avatar-size); padding: 0; border-style: dashed; }
413
+ @media (hover: hover) { .o-button.o-avatar-add:hover { border-style: solid; } }
414
+ /* A stack and its add stand together on one line. */
415
+ .o-avatar-stack-group { display: inline-flex; align-items: center; gap: var(--vk-spacing); }
416
+ /* The rest, as a count in a neutral circle. */
417
+ .o-avatar.o-avatar-more { background-color: var(--vk-neutral); color: var(--vk-fg-subtle); font-variant-numeric: tabular-nums; }
418
+ /* ── Presence and the badge: a dot on the corner, its size stepping with the avatar's (6,
419
+ 8, 10, 12, 16), cut out of whatever the avatar stands on by a mask, never a ring painted in the page's colour. The mask stands
420
+ only on a badged avatar and a stack's faces: a mask clips what is outside the box and makes a stacking context. ──────── */
421
+ :is(.o-avatar, .o-avatar-badged) { --avatar-size: calc(var(--vk-spacing) * 8); --avatar-dot: calc(var(--vk-spacing) * 2.5); --avatar-cut: calc(var(--vk-spacing) * 0.5); --avatar-dot-inset: 0px; }
422
+ .o-avatar.o-avatar-2xs { --avatar-size: calc(var(--vk-spacing) * 4); }
423
+ :is(.o-avatar.o-avatar-xs, .o-avatar-badged[data-size="20"]) { --avatar-size: calc(var(--vk-spacing) * 5); --avatar-dot: var(--vk-dot-size); --avatar-cut: calc(var(--vk-spacing) * 0.375); }
424
+ :is(.o-avatar.o-avatar-sm, .o-avatar-badged[data-size="24"]) { --avatar-size: calc(var(--vk-spacing) * 6); --avatar-dot: calc(var(--vk-spacing) * 2); }
425
+ :is(.o-avatar.o-avatar-lg, .o-avatar-badged[data-size="40"]) { --avatar-size: calc(var(--vk-spacing) * 10); --avatar-dot: calc(var(--vk-spacing) * 3); }
426
+ :is(.o-avatar.o-avatar-xl, .o-avatar-badged[data-size="64"]) { --avatar-size: calc(var(--vk-spacing) * 16); --avatar-dot: calc(var(--vk-spacing) * 4); --avatar-dot-inset: calc(var(--vk-spacing) * 0.5); }
427
+ :is(.o-avatar.o-avatar-thing, .o-avatar-badged[data-thing]) { --avatar-dot-inset: calc(var(--vk-spacing) * -0.75); }
428
+ .o-avatar-badged { position: relative; display: inline-flex; flex: none; vertical-align: middle; isolation: isolate; }
429
+ /* In a stack the badge stands over the next face, so the stack holds it, not the face. */
430
+ .o-avatar-stack > .o-avatar-badged { isolation: auto; }
431
+ .o-avatar-badge {
432
+ position: absolute; right: var(--avatar-dot-inset); bottom: var(--avatar-dot-inset); z-index: 1; box-sizing: border-box;
433
+ display: grid; place-items: center; width: var(--avatar-dot); height: var(--avatar-dot); border-radius: var(--vk-radius-full);
434
+ background-color: var(--vk-brand); color: var(--vk-fg-on-brand);
435
+ }
436
+ .o-avatar-badge > svg { display: none; width: 70%; height: 70%; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
437
+ .o-avatar-badged:is([data-size="32"], [data-size="40"], [data-size="64"]) > .o-avatar-badge > svg { display: block; }
438
+ /* Here, a green dot; away, a hollow ring whose middle shows the ground. */
439
+ .o-avatar-badge[data-presence="here"] { background-color: var(--vk-success-bold); }
440
+ .o-avatar-badge[data-presence="away"] { background-color: transparent; box-shadow: inset 0 0 0 calc(var(--vk-border-width) * 2) var(--vk-fg-subtlest); }
441
+ .o-avatar-badged[data-size="20"] > .o-avatar-badge[data-presence="away"] { box-shadow: inset 0 0 0 calc(var(--vk-border-width) * 1.5) var(--vk-fg-subtlest); }
442
+ /* The cut: circles taken out of the avatar, the ground showing through them. Each is an SVG circle (WebKit draws a gradient's
443
+ edge ragged in a mask), set where it stands and how big: the badge's own, with its ring; in a stack, the next face's and the
444
+ badge of the face before. Unused, a circle is drawn at no size. */
445
+ .o-avatar-badged > .o-avatar {
446
+ --avatar-own-at: calc(var(--avatar-size) - var(--avatar-dot-inset) - var(--avatar-dot) - var(--avatar-cut)) calc(var(--avatar-size) - var(--avatar-dot-inset) - var(--avatar-dot) - var(--avatar-cut));
447
+ --avatar-own-size: calc(var(--avatar-dot) + var(--avatar-cut) * 2) calc(var(--avatar-dot) + var(--avatar-cut) * 2);
448
+ }
449
+ :is(.o-avatar-badged > .o-avatar, .o-avatar-stack > .o-avatar, .o-avatar-stack > .o-avatar-badged > .o-avatar) {
450
+ --avatar-hole: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2 2'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E");
451
+ mask-image: linear-gradient(black 0 0), var(--avatar-hole), var(--avatar-hole), var(--avatar-hole);
452
+ mask-repeat: no-repeat; mask-composite: subtract, add, add;
453
+ mask-position: 0 0, var(--avatar-own-at, 0 0), var(--avatar-next-at, 0 0), var(--avatar-prev-at, 0 0);
454
+ mask-size: 100% 100%, var(--avatar-own-size, 0 0), var(--avatar-next-size, 0 0), var(--avatar-prev-size, 0 0);
455
+ }
456
+
305
457
  /* ── At rest ──────────────────────────────────────────────────────────────────────────────────────── */
306
458
  :where(.o-button) {
307
459
  height: calc(var(--vk-spacing) * 9);
@@ -1612,15 +1764,18 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
1612
1764
  [data-input-radius="2xl"] { --list-box-r: var(--vk-radius-2xl); --list-box-pill: 0; }
1613
1765
  /* A Pill box's rows are pills, and its panel keeps its 2xl (--list-box-pill says so, under the list's Smooth). */
1614
1766
  [data-input-radius="full"] { --list-box-r: var(--vk-radius-2xl); --list-box-pill: 1; }
1767
+ [data-list-edge="subtle"] { --list-edge: var(--vk-border-subtle); --list-sep-colour: var(--vk-border-subtle); }
1615
1768
  [data-list-edge="outline"] { --list-edge: var(--vk-border); --list-sep-colour: var(--vk-border); }
1616
- [data-list-edge="none"] { --list-edge: transparent; }
1769
+ [data-list-edge="none"] { --list-edge: transparent; --list-sep-colour: var(--vk-border-subtle); }
1617
1770
  [data-list-shadow="none"] { --list-shadow: none; }
1618
1771
  [data-list-shadow="xs"] { --list-shadow: var(--vk-shadow-xs); }
1619
1772
  [data-list-shadow="sm"] { --list-shadow: var(--vk-shadow-sm); }
1773
+ [data-list-shadow="md"] { --list-shadow: var(--vk-shadow-md); }
1620
1774
  [data-list-shadow="lg"] { --list-shadow: var(--vk-shadow-lg); }
1621
1775
  [data-list-shadow="xl"] { --list-shadow: var(--vk-shadow-xl); }
1622
1776
  [data-list-padding="0"] { --list-pad: 0px; --list-row-corners: 0px; --list-row-corners-pill: 0; }
1623
1777
  [data-list-padding="2"] { --list-pad: calc(var(--vk-spacing) * 0.5); }
1778
+ [data-list-padding="4"] { --list-pad: var(--vk-spacing); }
1624
1779
  [data-list-padding="6"] { --list-pad: calc(var(--vk-spacing) * 1.5); }
1625
1780
  [data-list-padding="8"] { --list-pad: calc(var(--vk-spacing) * 2); }
1626
1781
  [data-list-rows="28"] { --list-row-h: calc(var(--vk-spacing) * 7); --list-row-pad: var(--vk-spacing); }
@@ -1629,12 +1784,12 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
1629
1784
  [data-list-rows="36"] { --list-row-h: calc(var(--vk-spacing) * 9); }
1630
1785
  [data-list-rows="38"] { --list-row-h: calc(var(--vk-spacing) * 9.5); }
1631
1786
  [data-list-rows="40"] { --list-row-h: calc(var(--vk-spacing) * 10); }
1632
- [data-list-highlight="brand"] { --list-highlight: var(--list-hl-brand, var(--vk-brand-subtlest)); }
1787
+ [data-list-highlight="brand"] { --list-highlight: var(--list-hl-brand, var(--vk-brand-subtler)); }
1633
1788
  /* The Dividers as two numbers on the frame, so the nearest frame's pick wins, for every line that reaches by them:
1634
1789
  --dividers-words 1 where a line stands in by a row's 8 (Inset), --dividers-rows 1 where it stands in by what its holder pads. */
1635
1790
  [data-list-dividers="words"] { --dividers-words: 1; --dividers-rows: 1; }
1636
1791
  [data-list-dividers="rows"] { --list-sep-inset: 0px; --dividers-words: 0; --dividers-rows: 1; }
1637
- [data-list-dividers="full"] { --list-sep-inset: calc(-1 * var(--list-pad, var(--vk-spacing))); --dividers-words: 0; --dividers-rows: 0; }
1792
+ [data-list-dividers="full"] { --list-sep-inset: calc(-1 * var(--list-pad, calc(var(--vk-spacing) * 1.5))); --dividers-words: 0; --dividers-rows: 0; }
1638
1793
  [data-list-row-corners="0"] { --list-row-r: 0px; --list-row-pill: 0; }
1639
1794
  [data-list-row-corners="xs"] { --list-row-r: var(--vk-radius-xs); --list-row-pill: 0; }
1640
1795
  [data-list-row-corners="sm"] { --list-row-r: var(--vk-radius-sm); --list-row-pill: 0; }
@@ -1642,17 +1797,18 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
1642
1797
  [data-list-row-corners="lg"] { --list-row-r: var(--vk-radius-lg); --list-row-pill: 0; }
1643
1798
  [data-list-row-corners="xl"] { --list-row-r: var(--vk-radius-xl); --list-row-pill: 0; }
1644
1799
  [data-list-row-corners="full"] { --list-row-r: var(--vk-radius-full); --list-row-pill: 1; }
1800
+ [data-list-intensity="1"] { --list-hl-grey: var(--vk-overlay-hovered); --list-hl-brand: var(--vk-brand-subtlest); }
1645
1801
  [data-list-intensity="2"] { --list-hl-grey: var(--vk-overlay-pressed); --list-hl-brand: var(--vk-brand-subtler); }
1646
1802
  [data-list-intensity="3"] { --list-hl-grey: var(--vk-overlay-selected); --list-hl-brand: var(--vk-brand-subtler-hovered); }
1647
1803
 
1648
- /* ── The panel: on the overlay's ground, a soft edge, the Input box's corners and its padding round them, 4px in; it fades in and drops 4px ─ */
1804
+ /* ── The panel: on the overlay's ground, its Edge, the Input box's corners and its Padding round them; it fades in and drops 4px ── */
1649
1805
  /* Its lines' colour, --divider-colour, its Edge's (border-subtle with none): what it holds draws its lines in it. */
1650
1806
  .o-list {
1651
1807
  --list-row-corners-in: var(--list-row-corners, var(--list-row-r, var(--list-box-r, var(--vk-radius-lg))));
1652
- --divider-colour: var(--list-sep-colour, var(--vk-border-subtle));
1653
- box-sizing: border-box; display: grid; padding: var(--list-pad, var(--vk-spacing));
1654
- border: var(--vk-border-width) solid var(--list-edge, var(--vk-border-subtle)); border-radius: calc(min(var(--list-box-r, var(--vk-radius-lg)), var(--vk-radius-2xl)) + var(--list-pad, var(--vk-spacing)));
1655
- background-color: var(--vk-overlay); box-shadow: var(--list-shadow, var(--vk-shadow-md)); color: var(--vk-fg); outline: none;
1808
+ --divider-colour: var(--list-sep-colour, var(--vk-border));
1809
+ box-sizing: border-box; display: grid; padding: var(--list-pad, calc(var(--vk-spacing) * 1.5));
1810
+ border: var(--vk-border-width) solid var(--list-edge, var(--vk-border)); border-radius: calc(min(var(--list-box-r, var(--vk-radius-lg)), var(--vk-radius-2xl)) + var(--list-pad, calc(var(--vk-spacing) * 1.5)));
1811
+ background-color: var(--vk-overlay); box-shadow: var(--list-shadow, var(--vk-shadow-xl)); color: var(--vk-fg); outline: none;
1656
1812
  transition: opacity var(--vk-duration-fast) var(--vk-ease-out), translate var(--vk-duration-fast) var(--vk-ease-out);
1657
1813
  }
1658
1814
  .o-list:is([data-starting-style], [data-ending-style]) { opacity: 0; translate: 0 calc(var(--vk-spacing) * -1); }
@@ -1667,7 +1823,7 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
1667
1823
  }
1668
1824
  /* Inside a list's panel its corners are the Input box's (square at padding 0); elsewhere (the Picker's, in its shell) the radius's. */
1669
1825
  .o-list .o-list-row { --list-row-rad: var(--list-row-corners-in); --list-row-pill-in: var(--list-row-corners-pill, var(--list-row-pill, var(--list-box-pill, 0))); }
1670
- .o-list-row:is([data-highlighted], [data-popup-open], [data-force="hover"]) { background-color: var(--list-highlight, var(--list-hl-grey, var(--vk-overlay-hovered))); }
1826
+ .o-list-row:is([data-highlighted], [data-popup-open], [data-force="hover"]) { background-color: var(--list-highlight, var(--list-hl-grey, var(--vk-overlay-pressed))); }
1671
1827
  /* A row that can't be picked: greyed, no fill under the pointer. */
1672
1828
  .o-list-row[data-disabled] { color: var(--vk-fg-disabled); cursor: not-allowed; }
1673
1829
  .o-list-row[data-disabled] :is(.o-list-line, .o-list-you) { color: var(--vk-fg-disabled); }
@@ -1688,7 +1844,7 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
1688
1844
  .o-list-heading { margin: 0; padding: calc(var(--vk-spacing) * 2) calc(var(--vk-spacing) * 2) calc(var(--vk-spacing) * 1); font-size: var(--vk-font-size-xs); line-height: calc(var(--vk-font-size-xs) * var(--vk-line-height-xs)); font-weight: var(--vk-font-weight-medium); color: var(--vk-fg-subtle); }
1689
1845
  /* In a Popover it stands in from the Popover's padding, which may not be the list's: Full width reaches its edge, inside it. */
1690
1846
  .o-popover .o-list-sep { margin-inline: calc(var(--vk-spacing) * 2 * var(--dividers-words, 1) - (1 - var(--dividers-rows, 1)) * var(--divider-reach, 0px)); }
1691
- .o-list-sep { height: var(--vk-border-width); margin: calc(var(--vk-spacing) * 1) var(--list-sep-inset, calc(var(--vk-spacing) * 2)); border: 0; background-color: var(--divider-colour, var(--list-sep-colour, var(--vk-border-subtle))); }
1847
+ .o-list-sep { height: var(--vk-border-width); margin: calc(var(--vk-spacing) * 1) var(--list-sep-inset, calc(var(--vk-spacing) * 2)); border: 0; background-color: var(--divider-colour, var(--list-sep-colour, var(--vk-border))); }
1692
1848
 
1693
1849
  /* ── On the phone a row is 44px, so a finger finds it ──────────────────────────────────────────────── */
1694
1850
  @media (width < 640px) {
@@ -1718,8 +1874,8 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
1718
1874
  --list-box-cap: min(var(--list-box-r, var(--vk-radius-lg)), var(--vk-radius-2xl));
1719
1875
  --list-k: calc(1 - var(--list-box-pill, 0));
1720
1876
  --list-box-fit: min(var(--list-box-cap), var(--list-row-side) / 3.4);
1721
- --list-panel-r: calc(var(--list-box-cap) + (var(--list-box-fit) - var(--list-box-cap)) * var(--list-k) + var(--list-pad, var(--vk-spacing)));
1722
- --list-panel-side: calc(var(--list-row-side) + var(--list-pad, var(--vk-spacing)) * 2 + var(--vk-border-width) * 2);
1877
+ --list-panel-r: calc(var(--list-box-cap) + (var(--list-box-fit) - var(--list-box-cap)) * var(--list-k) + var(--list-pad, calc(var(--vk-spacing) * 1.5)));
1878
+ --list-panel-side: calc(var(--list-row-side) + var(--list-pad, calc(var(--vk-spacing) * 1.5)) * 2 + var(--vk-border-width) * 2);
1723
1879
  }
1724
1880
  /* The panel itself; the Picker's in its Popover draws the same panel from the same numbers. */
1725
1881
  .o-list:not([data-list-smoothing="round"], [data-list-smoothing="round"] *) {
@@ -1730,7 +1886,7 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
1730
1886
  .o-list:not([data-list-smoothing="round"], [data-list-smoothing="round"] *)::after {
1731
1887
  content: ""; position: absolute; inset: calc(var(--vk-border-width) * -1); z-index: -1; pointer-events: none; border-radius: inherit;
1732
1888
  }
1733
- .o-list:not([data-list-smoothing="round"], [data-list-smoothing="round"] *)::before { background-color: var(--vk-overlay); background-image: linear-gradient(var(--list-edge, var(--vk-border-subtle)), var(--list-edge, var(--vk-border-subtle))); clip-path: shape(var(--smooth-outline)); }
1889
+ .o-list:not([data-list-smoothing="round"], [data-list-smoothing="round"] *)::before { background-color: var(--vk-overlay); background-image: linear-gradient(var(--list-edge, var(--vk-border)), var(--list-edge, var(--vk-border))); clip-path: shape(var(--smooth-outline)); }
1734
1890
  .o-list:not([data-list-smoothing="round"], [data-list-smoothing="round"] *)::after {
1735
1891
  --smooth-t: max(0px, min(var(--list-panel-r), var(--list-panel-side) / 2) - var(--vk-border-width));
1736
1892
  inset: 0; border-radius: calc(min(var(--list-panel-r), var(--list-panel-side) / 2) - var(--vk-border-width)); background-color: var(--vk-overlay); clip-path: shape(var(--smooth-outline));
@@ -1768,10 +1924,10 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
1768
1924
  --menu-list-row: calc(var(--vk-spacing) * 13); --menu-list-corners: var(--vk-radius-xl); --menu-list-inset: calc(var(--vk-spacing) * 4);
1769
1925
  display: grid; gap: calc(var(--vk-spacing) * 3); min-width: 0;
1770
1926
  }
1771
- [data-menu-list-height="48"] .o-menu-list { --menu-list-row: calc(var(--vk-spacing) * 12); }
1772
- [data-menu-list-height="56"] .o-menu-list { --menu-list-row: calc(var(--vk-spacing) * 14); }
1773
- [data-menu-list-corners="lg"] .o-menu-list { --menu-list-corners: var(--vk-radius-lg); }
1774
- [data-menu-list-corners="2xl"] .o-menu-list { --menu-list-corners: var(--vk-radius-2xl); }
1927
+ [data-menu-list-height="48"] .o-menu-list:where(:not([data-menu-list-height="48"] [data-menu-list-height]:not([data-menu-list-height="48"]) *)) { --menu-list-row: calc(var(--vk-spacing) * 12); }
1928
+ [data-menu-list-height="56"] .o-menu-list:where(:not([data-menu-list-height="56"] [data-menu-list-height]:not([data-menu-list-height="56"]) *)), .o-menu-list:not([data-menu-list-height] *) { --menu-list-row: calc(var(--vk-spacing) * 14); }
1929
+ [data-menu-list-corners="lg"] .o-menu-list:where(:not([data-menu-list-corners="lg"] [data-menu-list-corners]:not([data-menu-list-corners="lg"]) *)) { --menu-list-corners: var(--vk-radius-lg); }
1930
+ [data-menu-list-corners="2xl"] .o-menu-list:where(:not([data-menu-list-corners="2xl"] [data-menu-list-corners]:not([data-menu-list-corners="2xl"]) *)), .o-menu-list:not([data-menu-list-corners] *) { --menu-list-corners: var(--vk-radius-2xl); }
1775
1931
 
1776
1932
  /* ── A section: rows that belong together, on a card ─────────────────────────────────────────────────────────────── */
1777
1933
  .o-menu-list-section { display: grid; min-width: 0; overflow: hidden; border-radius: var(--menu-list-corners); background-color: var(--vk-overlay-card); }
@@ -1782,10 +1938,10 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
1782
1938
  as they are, a line under it, as a phone's action sheet holds its title. ─────────────────────────────────────────────────── */
1783
1939
  .o-menu-list-group { display: grid; gap: calc(var(--vk-spacing) * 1.5); min-width: 0; }
1784
1940
  .o-menu-list-group > .o-list-heading { padding: 0 calc(var(--vk-spacing) * 1); font-size: var(--vk-font-size-sm); line-height: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm)); }
1785
- [data-menu-list-rows="plain"] .o-menu-list-group > .o-list-heading { padding-inline: calc(var(--vk-spacing) * 2); }
1786
- [data-menu-list-rows="words"] .o-menu-list-group { gap: 0; overflow: hidden; border-radius: var(--vk-radius-2xl); background-color: var(--vk-overlay); box-shadow: var(--vk-shadow-2xl); }
1787
- [data-menu-list-rows="words"] .o-menu-list-group > .o-list-heading { padding: calc(var(--vk-spacing) * 3) calc(var(--vk-spacing) * 4); border-bottom: var(--vk-border-width) solid var(--vk-border); text-align: center; }
1788
- [data-menu-list-rows="words"] .o-menu-list-group > .o-menu-list-section { border-radius: 0; box-shadow: none; }
1941
+ [data-menu-list-rows="plain"] .o-menu-list-group > .o-list-heading:where(:not([data-menu-list-rows="plain"] [data-menu-list-rows]:not([data-menu-list-rows="plain"]) *)) { padding-inline: calc(var(--vk-spacing) * 2); }
1942
+ [data-menu-list-rows="words"] .o-menu-list-group:where(:not([data-menu-list-rows="words"] [data-menu-list-rows]:not([data-menu-list-rows="words"]) *)), .o-menu-list-group:not([data-menu-list-rows] *) { gap: 0; overflow: hidden; border-radius: var(--vk-radius-2xl); background-color: var(--vk-overlay); box-shadow: var(--vk-shadow-2xl); }
1943
+ [data-menu-list-rows="words"] .o-menu-list-group > .o-list-heading:where(:not([data-menu-list-rows="words"] [data-menu-list-rows]:not([data-menu-list-rows="words"]) *)), .o-menu-list-group > .o-list-heading:not([data-menu-list-rows] *) { padding: calc(var(--vk-spacing) * 3) calc(var(--vk-spacing) * 4); border-bottom: var(--vk-border-width) solid var(--vk-border); text-align: center; }
1944
+ [data-menu-list-rows="words"] .o-menu-list-group > .o-menu-list-section:where(:not([data-menu-list-rows="words"] [data-menu-list-rows]:not([data-menu-list-rows="words"]) *)), .o-menu-list-group > .o-menu-list-section:not([data-menu-list-rows] *) { border-radius: 0; box-shadow: none; }
1789
1945
 
1790
1946
  /* ── A row: an icon, its name, and on its right a value, an arrow, a tick or a switch ────────────────────────────── */
1791
1947
  .o-menu-list-row {
@@ -1846,36 +2002,36 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
1846
2002
  .o-menu-list-row:active:not(:disabled, [data-disabled])::before, .o-menu-list-row:active:not(:disabled, [data-disabled]) + .o-menu-list-row::before { opacity: 0; }
1847
2003
 
1848
2004
  /* Its lines the card's whole width, or none. */
1849
- [data-menu-list-lines="none"] .o-menu-list-row::before { display: none; }
2005
+ [data-menu-list-lines="none"] .o-menu-list-row:where(:not([data-menu-list-lines="none"] [data-menu-list-lines]:not([data-menu-list-lines="none"]) *))::before { display: none; }
1850
2006
 
1851
2007
  /* Plain: on the sheet, no ground. A row keeps its own padding, and its press reaches a little past the page's line. */
1852
- [data-menu-list-rows="plain"] .o-menu-list-section { margin-inline: calc(var(--vk-spacing) * -2); overflow: visible; border-radius: 0; background-color: transparent; }
1853
- [data-menu-list-rows="plain"] :where(.o-menu-list) .o-menu-list-row { border-radius: var(--vk-radius-lg); }
1854
- [data-menu-list-rows="plain"] :where(.o-menu-list) .o-menu-list-row:active:not(:disabled, [data-disabled]) { background-color: var(--vk-overlay-pressed); }
2008
+ [data-menu-list-rows="plain"] .o-menu-list-section:where(:not([data-menu-list-rows="plain"] [data-menu-list-rows]:not([data-menu-list-rows="plain"]) *)) { margin-inline: calc(var(--vk-spacing) * -2); overflow: visible; border-radius: 0; background-color: transparent; }
2009
+ [data-menu-list-rows="plain"] :where(.o-menu-list) .o-menu-list-row:where(:not([data-menu-list-rows="plain"] [data-menu-list-rows]:not([data-menu-list-rows="plain"]) *)) { border-radius: var(--vk-radius-lg); }
2010
+ [data-menu-list-rows="plain"] :where(.o-menu-list) .o-menu-list-row:active:not(:disabled, [data-disabled]):where(:not([data-menu-list-rows="plain"] [data-menu-list-rows]:not([data-menu-list-rows="plain"]) *)) { background-color: var(--vk-overlay-pressed); }
1855
2011
 
1856
2012
  /* Joined: each row a tile, a hair apart, its section's two ends rounded. */
1857
- [data-menu-list-rows="joined"] .o-menu-list-section { gap: calc(var(--vk-spacing) * 0.75); overflow: visible; border-radius: 0; background-color: transparent; }
1858
- [data-menu-list-rows="joined"] :where(.o-menu-list) .o-menu-list-row { border-radius: var(--vk-radius-sm); background-color: var(--vk-overlay-card); }
1859
- [data-menu-list-rows="joined"] :where(.o-menu-list) .o-menu-list-row:first-child { border-start-start-radius: var(--menu-list-corners); border-start-end-radius: var(--menu-list-corners); }
1860
- [data-menu-list-rows="joined"] :where(.o-menu-list) .o-menu-list-row:last-child { border-end-start-radius: var(--menu-list-corners); border-end-end-radius: var(--menu-list-corners); }
1861
- [data-menu-list-rows="joined"] :where(.o-menu-list) .o-menu-list-row::before { display: none; }
1862
- [data-menu-list-rows="joined"] :where(.o-menu-list) .o-menu-list-row:active:not(:disabled, [data-disabled]) { background-color: var(--vk-overlay-card-pressed); }
2013
+ [data-menu-list-rows="joined"] .o-menu-list-section:where(:not([data-menu-list-rows="joined"] [data-menu-list-rows]:not([data-menu-list-rows="joined"]) *)) { gap: calc(var(--vk-spacing) * 0.75); overflow: visible; border-radius: 0; background-color: transparent; }
2014
+ [data-menu-list-rows="joined"] :where(.o-menu-list) .o-menu-list-row:where(:not([data-menu-list-rows="joined"] [data-menu-list-rows]:not([data-menu-list-rows="joined"]) *)) { border-radius: var(--vk-radius-sm); background-color: var(--vk-overlay-card); }
2015
+ [data-menu-list-rows="joined"] :where(.o-menu-list) .o-menu-list-row:first-child:where(:not([data-menu-list-rows="joined"] [data-menu-list-rows]:not([data-menu-list-rows="joined"]) *)) { border-start-start-radius: var(--menu-list-corners); border-start-end-radius: var(--menu-list-corners); }
2016
+ [data-menu-list-rows="joined"] :where(.o-menu-list) .o-menu-list-row:last-child:where(:not([data-menu-list-rows="joined"] [data-menu-list-rows]:not([data-menu-list-rows="joined"]) *)) { border-end-start-radius: var(--menu-list-corners); border-end-end-radius: var(--menu-list-corners); }
2017
+ [data-menu-list-rows="joined"] :where(.o-menu-list) .o-menu-list-row:where(:not([data-menu-list-rows="joined"] [data-menu-list-rows]:not([data-menu-list-rows="joined"]) *))::before { display: none; }
2018
+ [data-menu-list-rows="joined"] :where(.o-menu-list) .o-menu-list-row:active:not(:disabled, [data-disabled]):where(:not([data-menu-list-rows="joined"] [data-menu-list-rows]:not([data-menu-list-rows="joined"]) *)) { background-color: var(--vk-overlay-card-pressed); }
1863
2019
 
1864
2020
  /* Words: centred, no icons, each section a card of its own on the sheet's ground. It stands on nothing, clear of the home bar: the
1865
2021
  sheet round it gives up its ground, its shadow and its handle. */
1866
- [data-menu-list-rows="words"] .o-menu-list { gap: calc(var(--vk-spacing) * 2); }
1867
- [data-menu-list-rows="words"] .o-menu-list-section { border-radius: var(--vk-radius-2xl); background-color: var(--vk-overlay); box-shadow: var(--vk-shadow-2xl); }
1868
- [data-menu-list-rows="words"] :where(.o-menu-list) .o-menu-list-row { justify-content: center; text-align: center; font-weight: var(--vk-font-weight-medium); }
1869
- [data-menu-list-rows="words"] :where(.o-menu-list) .o-menu-list-row::before { background-color: var(--vk-border); }
1870
- [data-menu-list-rows="words"] :where(.o-menu-list) .o-menu-list-row:active:not(:disabled, [data-disabled]) { background-color: var(--vk-overlay-pressed); }
1871
- [data-menu-list-rows="words"] :where(.o-menu-list) :is(.o-menu-list-mark, .o-menu-list-more, .o-menu-list-value, .o-menu-list-end) { display: none; }
1872
- [data-menu-list-rows="words"] :where(.o-menu-list) .o-menu-list-name { flex: none; }
1873
- [data-menu-list-rows="words"] .o-sheet.o-sheet:has(.o-menu-list) { background-color: transparent; box-shadow: none; }
1874
- [data-menu-list-rows="words"] .o-sheet.o-sheet:has(.o-menu-list) > .o-sheet-cut { background-color: transparent; clip-path: none; overflow: visible; }
1875
- [data-menu-list-rows="words"] .o-sheet:has(.o-menu-list) .o-sheet-handle { display: none; }
1876
- [data-menu-list-rows="words"] .o-sheet:has(.o-menu-list) .o-sheet-body { padding: 0 0 max(calc(var(--vk-spacing) * 2), var(--sheet-home)); overflow: visible; }
1877
-
1878
- [data-menu-list-lines="full"] .o-menu-list-row { --menu-list-line: 0px; }
2022
+ [data-menu-list-rows="words"] .o-menu-list:where(:not([data-menu-list-rows="words"] [data-menu-list-rows]:not([data-menu-list-rows="words"]) *)), .o-menu-list:not([data-menu-list-rows] *) { gap: calc(var(--vk-spacing) * 2); }
2023
+ [data-menu-list-rows="words"] .o-menu-list-section:where(:not([data-menu-list-rows="words"] [data-menu-list-rows]:not([data-menu-list-rows="words"]) *)), .o-menu-list-section:not([data-menu-list-rows] *) { border-radius: var(--vk-radius-2xl); background-color: var(--vk-overlay); box-shadow: var(--vk-shadow-2xl); }
2024
+ [data-menu-list-rows="words"] :where(.o-menu-list) .o-menu-list-row:where(:not([data-menu-list-rows="words"] [data-menu-list-rows]:not([data-menu-list-rows="words"]) *)), :where(.o-menu-list) .o-menu-list-row:not([data-menu-list-rows] *) { justify-content: center; text-align: center; font-weight: var(--vk-font-weight-medium); }
2025
+ [data-menu-list-rows="words"] :where(.o-menu-list) .o-menu-list-row:where(:not([data-menu-list-rows="words"] [data-menu-list-rows]:not([data-menu-list-rows="words"]) *))::before, :where(.o-menu-list) .o-menu-list-row:not([data-menu-list-rows] *)::before { background-color: var(--vk-border); }
2026
+ [data-menu-list-rows="words"] :where(.o-menu-list) .o-menu-list-row:active:not(:disabled, [data-disabled]):where(:not([data-menu-list-rows="words"] [data-menu-list-rows]:not([data-menu-list-rows="words"]) *)), :where(.o-menu-list) .o-menu-list-row:active:not(:disabled, [data-disabled]):not([data-menu-list-rows] *) { background-color: var(--vk-overlay-pressed); }
2027
+ [data-menu-list-rows="words"] :where(.o-menu-list) :is(.o-menu-list-mark, .o-menu-list-more, .o-menu-list-value, .o-menu-list-end):where(:not([data-menu-list-rows="words"] [data-menu-list-rows]:not([data-menu-list-rows="words"]) *)), :where(.o-menu-list) :is(.o-menu-list-mark, .o-menu-list-more, .o-menu-list-value, .o-menu-list-end):not([data-menu-list-rows] *) { display: none; }
2028
+ [data-menu-list-rows="words"] :where(.o-menu-list) .o-menu-list-name:where(:not([data-menu-list-rows="words"] [data-menu-list-rows]:not([data-menu-list-rows="words"]) *)), :where(.o-menu-list) .o-menu-list-name:not([data-menu-list-rows] *) { flex: none; }
2029
+ [data-menu-list-rows="words"] .o-sheet.o-sheet:has(.o-menu-list:where(:not([data-menu-list-rows="words"] [data-menu-list-rows]:not([data-menu-list-rows="words"]) *))), .o-sheet.o-sheet:has(.o-menu-list:not([data-menu-list-rows] *)) { background-color: transparent; box-shadow: none; }
2030
+ [data-menu-list-rows="words"] .o-sheet.o-sheet:has(.o-menu-list:where(:not([data-menu-list-rows="words"] [data-menu-list-rows]:not([data-menu-list-rows="words"]) *))) > .o-sheet-cut, .o-sheet.o-sheet:has(.o-menu-list:not([data-menu-list-rows] *)) > .o-sheet-cut { background-color: transparent; clip-path: none; overflow: visible; }
2031
+ [data-menu-list-rows="words"] .o-sheet:has(.o-menu-list:where(:not([data-menu-list-rows="words"] [data-menu-list-rows]:not([data-menu-list-rows="words"]) *))) .o-sheet-handle, .o-sheet:has(.o-menu-list:not([data-menu-list-rows] *)) .o-sheet-handle { display: none; }
2032
+ [data-menu-list-rows="words"] .o-sheet:has(.o-menu-list:where(:not([data-menu-list-rows="words"] [data-menu-list-rows]:not([data-menu-list-rows="words"]) *))) .o-sheet-body, .o-sheet:has(.o-menu-list:not([data-menu-list-rows] *)) .o-sheet-body { padding: 0 0 max(calc(var(--vk-spacing) * 2), var(--sheet-home)); overflow: visible; }
2033
+
2034
+ [data-menu-list-lines="full"] .o-menu-list-row:where(:not([data-menu-list-lines="full"] [data-menu-list-lines]:not([data-menu-list-lines="full"]) *)), .o-menu-list-row:not([data-menu-list-lines] *) { --menu-list-line: 0px; }
1879
2035
 
1880
2036
  /* ── The tiles: the few done most, side by side over its rows ────────────────────────────────────────────────────── */
1881
2037
  .o-menu-list-tiles { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: calc(var(--vk-spacing) * 2); min-width: 0; }
@@ -1960,7 +2116,7 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
1960
2116
  level with it; room kept for them. A computer's cases: on a phone the page's On the phone stands the Sheet at its step (sheet.tsx) ─ */
1961
2117
  .o-menu-pair { padding-right: calc(var(--vk-spacing) * 52); }
1962
2118
  .o-menu-subwrap { position: relative; }
1963
- .o-menu-subwrap > .o-menu-sub { position: absolute; z-index: 2; top: calc(-1 * var(--list-pad, var(--vk-spacing)) - var(--vk-border-width)); left: calc(100% + var(--vk-spacing)); }
2119
+ .o-menu-subwrap > .o-menu-sub { position: absolute; z-index: 2; top: calc(-1 * var(--list-pad, calc(var(--vk-spacing) * 1.5)) - var(--vk-border-width)); left: calc(100% + var(--list-pad, calc(var(--vk-spacing) * 1.5))); }
1964
2120
 
1965
2121
  /* ── What scrolls in a menu's panel (MenuScroll): its rows, alone, when the panel is taller than the room on screen. ── */
1966
2122
  .o-menu-list-scroll { display: grid; min-height: 0; overflow-y: auto; overscroll-behavior: contain; outline: none; }
@@ -2001,6 +2157,23 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
2001
2157
  .o-menu-row[data-lifted] > .o-menu-grip { cursor: grabbing; }
2002
2158
  .o-menu-said { position: absolute; width: var(--vk-border-width); height: var(--vk-border-width); overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
2003
2159
 
2160
+ /* ── Its catcher of presses outside it: Base UI draws it unnamed beside the panel, in the menu's own portal. It stands on
2161
+ the popup layer under the panel, so a menu opened over a drawer-layer overlay (a Sheet, a page's side panel on a phone)
2162
+ takes a press on that overlay's dim and closes alone. ─────────────────────────────────────────────────── */
2163
+ .o-menu-portal > [role="presentation"] { z-index: var(--vk-layer-popup); }
2164
+
2165
+ /* ── The panel: it fits its widest row, 208px to 320px; its shadow, edge, corners and padding the list's options (list.css) ── */
2166
+ .o-list.o-menu { width: max-content; min-width: calc(var(--vk-spacing) * 52); max-width: calc(var(--vk-spacing) * 80); }
2167
+ /* Never taller than the room on screen: its rows, which alone scroll (MenuScroll, menu-list.css), stand in the panel's
2168
+ padding, the kit's scrollbar over them; the panel and its edge stay still. */
2169
+ .o-list.o-menu { max-height: var(--available-height); grid-template-rows: minmax(0, 1fr); }
2170
+
2171
+ /* ── The ⋯ button: under the pointer and while its menu is open, the neutral fill and the text colour ─ */
2172
+ .o-button.o-menu-dots { color: var(--vk-fg-subtle); }
2173
+ /* A hover only on a screen with a pointer (iOS keeps :hover on what was last tapped); a press and the forced state stay out. */
2174
+ .o-button.o-menu-dots:is([data-popup-open], [data-force="hover"], [data-force="open"]) { --button-ground: var(--vk-neutral); color: var(--vk-fg); }
2175
+ @media (hover: hover) { .o-button.o-menu-dots:hover { --button-ground: var(--vk-neutral); color: var(--vk-fg); } }
2176
+
2004
2177
  .o-number { min-width: 0; }
2005
2178
  /* 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. */
2006
2179
  .o-number-bare { display: contents; }
@@ -2171,6 +2344,232 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
2171
2344
  [data-phone-header-surface="flat"] .o-hd-bar > .o-hd-bar-title { font-size: var(--vk-font-size-sm); line-height: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm)); }
2172
2345
  [data-phone-header-surface="flat"] .o-hd-bar > .o-hd-bar-side { gap: calc(var(--vk-spacing) * 0.5); }
2173
2346
 
2347
+ .o-picker { 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)); }
2348
+ /* How long a phone's row is held before it lifts, handed on the Picker, where every row it holds inherits it: picker.tsx reads
2349
+ it off the held row. */
2350
+ .o-picker { --picker-hold: var(--vk-hold-delay); }
2351
+ .o-picker .o-list-line { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
2352
+ /* A row's second line beside its name (Second line: Beside, Attio's): the name takes its width first, the line what is
2353
+ left, cut first; or below it, as the list's rows draw it. */
2354
+ .o-picker .o-list-text { display: flex; align-items: baseline; gap: calc(var(--vk-spacing) * 2); }
2355
+ .o-picker .o-list-main { flex: 0 1 auto; }
2356
+ .o-picker .o-list-line { flex: 1 1 0; min-width: 0; }
2357
+ [data-picker-line="below"] .o-picker .o-list-text { display: grid; gap: var(--vk-border-width); }
2358
+
2359
+ /* The check in the brand's circle at a row's end (Held: Check, Attio's), seen only on the row the field holds. */
2360
+ .o-picker-check { flex: none; display: grid; place-items: center; width: calc(var(--vk-spacing) * 4); height: calc(var(--vk-spacing) * 4); border-radius: var(--vk-radius-full); background-color: var(--vk-brand); color: var(--vk-fg-on-brand); visibility: hidden; }
2361
+ .o-picker-check > svg { width: calc(var(--vk-spacing) * 2.5); height: calc(var(--vk-spacing) * 2.5); }
2362
+ /* Read from the Picker's root, so the list's shared row class stays lib's (check-fields: a class lib homes is shared). */
2363
+ .o-picker .o-list-row:is([data-selected], [aria-selected="true"]) > .o-picker-check { visibility: visible; }
2364
+ /* Create below a line (Create: Below a line, Attio's): its words the text's, not the quieter ones. */
2365
+ .o-list-row.o-picker-create-apart .o-list-main { color: var(--vk-fg); }
2366
+
2367
+ /* ── The search: the shared line across a popup's top (popup-line.css), 6 above and below round its chips, 4 over the
2368
+ rows. With nothing to search it stays, out of sight, so the keys still work; a letter typed brings it back holding the
2369
+ letter. Its box is the kit's Input's list, bare: 64 at least beside chips, the list's words. ── */
2370
+ .o-picker-search { --popup-line-pad-block: calc(var(--vk-spacing) * 1.5); }
2371
+ .o-input-control.o-picker-input { min-width: calc(var(--vk-spacing) * 16); font-size: var(--vk-font-size-sm); }
2372
+ /* In the Soft box (searchLook "soft"): the Input's own box, its place in the list as Customize's Columns' search, 4 over the rows. */
2373
+ .o-picker-search-soft { flex: none; padding-bottom: calc(var(--vk-spacing) * 1); }
2374
+ /* What is picked as chips (the option Chips): the Options with their × before the words typed, wrapping. */
2375
+ .o-picker-chips { flex: 1; display: flex; flex-wrap: wrap; align-items: center; gap: calc(var(--vk-spacing) * 1.5); }
2376
+
2377
+ /* ── How many are picked, and Clear all, when several can be ────────────────────────────────────────────────────── */
2378
+ .o-picker-count { display: flex; align-items: center; justify-content: space-between; padding: calc(var(--vk-spacing) * 1.5) calc(var(--vk-spacing) * 2); font-size: var(--vk-font-size-xs); line-height: calc(var(--vk-font-size-xs) * var(--vk-line-height-xs)); color: var(--vk-fg-subtle); }
2379
+ .o-picker-count > .o-button { margin: calc(var(--vk-spacing) * -1) calc(var(--vk-spacing) * -2) calc(var(--vk-spacing) * -1) 0; }
2380
+
2381
+ /* ── The rows: they scroll under the search when there are many, in a box of their own inside the list; a row keeps its height,
2382
+ so a row with its second line below stands whole and the rows scroll ──────────────────────────────────────── */
2383
+ .o-picker-listbox { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; outline: none; }
2384
+ .o-picker-rows { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; max-height: calc(var(--vk-spacing) * 80); overflow-y: auto; outline: none; }
2385
+ .o-picker-rows > * { flex: none; }
2386
+ /* ── The foot: the actions, and Create where it stands below a line, under the rows, always in view; the shared line at the foot
2387
+ (popup-line.css), its line reaching as the search's, as the list's Dividers say, 4 under the rows, its rows
2388
+ standing where the rows above stand ── */
2389
+ .o-picker-foot.o-popup-line {
2390
+ --popup-line-height: 0px; --popup-line-under: var(--vk-spacing); --popup-line-gap: 0px;
2391
+ --popup-line-pad: var(--popup-line-reach); --popup-line-pad-block: var(--popup-line-reach);
2392
+ flex: none; flex-direction: column; align-items: stretch;
2393
+ }
2394
+
2395
+ /* ── On a computer it follows the list's rules, so a Picker and a Select's list side by
2396
+ side match. Its rows are the list's: the Input box's corners or Row corners, square at padding 0 (list.css), 8½ rows at most
2397
+ (list-rows), a row's room round the one brought into view. And a Popover holding it, and no editor, draws the list's panel in
2398
+ place of its own options: the list's Edge (its lines' colour with it), Shadow and Padding, its corners the Input box's plus the padding, never past 2xl,
2399
+ and its Corner smoothing (the list's smooth outline, or round), the Popover's own smooth outline not drawn. A body picks the shell's
2400
+ options it needs; the Popover knows nothing of what it holds. ── */
2401
+ .o-picker[data-picker-form="computer"] .o-list-row { --list-row-rad: var(--list-row-corners, var(--list-row-r, var(--list-box-r, var(--vk-radius-lg))));
2402
+ --list-row-pill-in: var(--list-row-corners-pill, var(--list-row-pill, var(--list-box-pill, 0))); }
2403
+ .o-picker[data-picker-form="computer"] .o-picker-rows {
2404
+ max-height: calc(var(--list-rows) * var(--list-row-h, calc(var(--vk-spacing) * 8))); scroll-padding-block: var(--list-row-h, calc(var(--vk-spacing) * 8));
2405
+ }
2406
+ .o-popover:has(.o-picker[data-picker-form="computer"]):not(:has([data-kit$="-editor"])) {
2407
+ --popover-edge: var(--list-edge, var(--vk-border)); --divider-colour: var(--list-sep-colour, var(--vk-border)); --popover-shadow: var(--list-shadow, var(--vk-shadow-xl)); --popover-pad: var(--list-pad, calc(var(--vk-spacing) * 1.5));
2408
+ --popover-corners: calc(min(var(--list-box-r, var(--vk-radius-lg)), var(--vk-radius-2xl)) + var(--list-pad, calc(var(--vk-spacing) * 1.5)));
2409
+ background-color: var(--vk-overlay);
2410
+ }
2411
+ .o-popover:has(.o-picker[data-picker-form="computer"]):not(:has([data-kit$="-editor"])) > .o-popover-cut { clip-path: none; }
2412
+ .o-popover:has(.o-picker[data-picker-form="computer"]):not(:has([data-kit$="-editor"])) > .o-popover-cut::before,
2413
+ .o-popover:has(.o-picker[data-picker-form="computer"]):not(:has([data-kit$="-editor"])) > .o-popover-cut::after { clip-path: none; border-radius: var(--picker-c); } /* set by nothing: no radius */
2414
+ /* Under the list's Smooth its panel is the Select's list's to the curve: the same radius (its rows' fitted corners plus
2415
+ the padding) and the same smoothing, eased on the same side (list.css works the numbers out on this Popover as on a list). The
2416
+ Popover's cut eases nothing, so the Picker draws the panel itself, as the list does: its edge (::before) clipped by the kit's
2417
+ outline and its ground (::after) by the outline a line in, over it, each filling the cut it stands in; the cut paints nothing and the shell keeps the shadow.
2418
+ The Picker draws it wherever in the cut it stands, as the ground is taken off wherever the Popover holds one: on the grid a
2419
+ wrapper with no box of its own stands between them, and a Picker reached only as the cut's child left the list with no
2420
+ ground there. */
2421
+ @supports (clip-path: shape(evenodd from 0 0, curve by 1px 1px with 1px 0 / 1px 0, close, move to 0 0, hline to 1px, close)) and (width: calc(tan(atan2(1px, 1px)) * 1px)) {
2422
+ .o-popover:has(.o-picker[data-picker-form="computer"]):not(:has([data-kit$="-editor"])):not([data-list-smoothing="round"] *) { --popover-corners: min(var(--list-panel-r), var(--list-panel-side) / 2); background-color: transparent; }
2423
+ .o-popover:has(.o-picker[data-picker-form="computer"]):not(:has([data-kit$="-editor"])):not([data-list-smoothing="round"] *) > .o-popover-cut { background-color: transparent; }
2424
+ .o-popover:has(.o-picker[data-picker-form="computer"]):not(:has([data-kit$="-editor"])):not([data-list-smoothing="round"] *) > .o-popover-cut::before,
2425
+ .o-popover:has(.o-picker[data-picker-form="computer"]):not(:has([data-kit$="-editor"])):not([data-list-smoothing="round"] *) > .o-popover-cut::after { content: none; }
2426
+ .o-popover:has(.o-picker[data-picker-form="computer"]):not(:has([data-kit$="-editor"])):not([data-list-smoothing="round"] *) > .o-popover-cut .o-picker[data-picker-form="computer"] {
2427
+ --smooth-amount: initial; --smooth-t: min(var(--list-panel-r), var(--list-panel-side) / 2); --smooth-side: var(--list-panel-side);
2428
+ position: relative; isolation: isolate;
2429
+ }
2430
+ .o-popover:has(.o-picker[data-picker-form="computer"]):not(:has([data-kit$="-editor"])):not([data-list-smoothing="round"] *) > .o-popover-cut .o-picker[data-picker-form="computer"]::before,
2431
+ .o-popover:has(.o-picker[data-picker-form="computer"]):not(:has([data-kit$="-editor"])):not([data-list-smoothing="round"] *) > .o-popover-cut .o-picker[data-picker-form="computer"]::after {
2432
+ content: ""; position: absolute; inset: calc(var(--list-pad, calc(var(--vk-spacing) * 1.5)) * -1); z-index: -1; pointer-events: none;
2433
+ }
2434
+ .o-popover:has(.o-picker[data-picker-form="computer"]):not(:has([data-kit$="-editor"])):not([data-list-smoothing="round"] *) > .o-popover-cut .o-picker[data-picker-form="computer"]::before {
2435
+ background-color: var(--vk-overlay); background-image: linear-gradient(var(--list-edge, var(--vk-border)), var(--list-edge, var(--vk-border))); clip-path: shape(var(--smooth-outline));
2436
+ }
2437
+ .o-popover:has(.o-picker[data-picker-form="computer"]):not(:has([data-kit$="-editor"])):not([data-list-smoothing="round"] *) > .o-popover-cut .o-picker[data-picker-form="computer"]::after {
2438
+ --smooth-t: max(0px, min(var(--list-panel-r), var(--list-panel-side) / 2) - var(--vk-border-width));
2439
+ inset: calc(var(--vk-border-width) - var(--list-pad, calc(var(--vk-spacing) * 1.5))); background-color: var(--vk-overlay); clip-path: shape(var(--smooth-outline));
2440
+ }
2441
+ }
2442
+ /* At rest: the light Base UI puts on a row by itself while nothing is typed (as the list opens, as its search empties, after a
2443
+ pick) is not drawn: a row lights only under the pointer, after ↑ or ↓, or while something is typed. A row under the pointer keeps it, and
2444
+ a row whose menu is open keeps its own (below); a ⋮ shown only on the lit row stays hidden. A page's standing list stands the same. */
2445
+ .o-picker[data-rest] .o-list-row[data-highlighted]:not([data-menu-open], [data-force="hover"]) { background-color: transparent; }
2446
+ .o-picker[data-rest] .o-list-row[data-highlighted]:not([data-menu-open]) > .o-picker-row-menu[data-shown="pointer"] { visibility: hidden; }
2447
+ @media (hover: hover) {
2448
+ .o-picker[data-rest] .o-list-row[data-highlighted]:hover:not([data-menu-open]) { background-color: var(--list-highlight, var(--list-hl-grey, var(--vk-overlay-pressed))); }
2449
+ .o-picker[data-rest] .o-list-row[data-highlighted]:hover:not([data-menu-open]) > .o-picker-row-menu[data-shown="pointer"] { visibility: visible; }
2450
+ }
2451
+ /* In a list's panel (the Select's) the search's line and the foot's reach the panel's edge by its padding, as the
2452
+ Select's own did. */
2453
+ .o-list :is(.o-picker-search, .o-picker-foot) { --popup-line-bleed: var(--list-pad, calc(var(--vk-spacing) * 1.5)); }
2454
+ /* In the Popover it takes the room the shell has and no more, so on a short screen its rows scroll and the search stays. */
2455
+ .o-picker[data-picker-form="computer"] { flex: 1 1 auto; min-height: 0; }
2456
+ .o-picker-kind { flex: none; font-size: var(--vk-font-size-xs); color: var(--vk-fg-subtlest); }
2457
+ /* A row's kind as a badge at its end (Kind: Badge, Attio's): the kind's icon on the kind's colour, a person's blue, a
2458
+ company's amber, another kind its first letter on the neutral ground. On a phone a size up. */
2459
+ .o-picker-badge { flex: none; display: grid; place-items: center; width: calc(var(--vk-spacing) * 5); height: calc(var(--vk-spacing) * 5); border-radius: var(--vk-radius-sm); background-color: var(--vk-neutral); color: var(--vk-fg-subtle); font-size: var(--vk-font-size-xs); font-weight: var(--vk-font-weight-semibold); line-height: 1; }
2460
+ .o-picker-badge[data-of="person"] { background-color: var(--vk-label-blue); color: var(--vk-fg-inverse); }
2461
+ .o-picker-badge[data-of="company"] { background-color: var(--vk-label-amber); color: var(--vk-fg-inverse); }
2462
+ .o-picker-badge > svg { width: calc(var(--vk-spacing) * 3); height: calc(var(--vk-spacing) * 3); }
2463
+ .o-picker[data-picker-form="phone"] .o-picker-badge { width: calc(var(--vk-spacing) * 6); height: calc(var(--vk-spacing) * 6); border-radius: var(--vk-radius-md); }
2464
+ .o-picker[data-picker-form="phone"] .o-picker-badge > svg { width: calc(var(--vk-spacing) * 3.75); height: calc(var(--vk-spacing) * 3.75); }
2465
+ /* A set's lead: its word on the leading held row, read as the kind's word; Make lead, a text Button, on the others. */
2466
+ .o-picker-lead { flex: none; font-size: var(--vk-font-size-xs); color: var(--vk-fg-subtlest); }
2467
+ .o-picker-lead-make { flex: none; }
2468
+ /* A row's own menu: ⋮ at its end, the kit's quiet Button as it is (⋯, the Menu's, on a phone), only placed here. Under
2469
+ Pointer (rowMenus), it shows on the lit row and on the row whose menu is open; and that row stays lit while its menu is open. */
2470
+ .o-picker-row-menu { flex: none; }
2471
+ .o-picker-row-menu[data-shown="pointer"] { visibility: hidden; }
2472
+ .o-picker .o-list-row:is([data-highlighted], [data-menu-open]) > .o-picker-row-menu[data-shown="pointer"] { visibility: visible; }
2473
+ .o-picker .o-list-row[data-menu-open] { background-color: var(--list-highlight, var(--list-hl-grey, var(--vk-overlay-pressed))); }
2474
+ /* Rows put in order: only a row marked data-row, in a Picker asked to order its rows. Held on a phone, no callout; lifted,
2475
+ it rides over the rows as the Menu list's lifted row does, unclipped so its shadow shows (a computer's row is clipped to its smooth
2476
+ corners), the phone's lines beside it gone while it is carried. */
2477
+ .o-picker [data-row][data-drag-start] { -webkit-touch-callout: none; }
2478
+ .o-picker [data-row][data-lifted] { position: relative; z-index: var(--vk-layer-popup); background-color: var(--vk-overlay); box-shadow: var(--vk-shadow-lg); }
2479
+ .o-picker[data-picker-form="computer"] [data-row][data-lifted] { cursor: grabbing; clip-path: none; }
2480
+ .o-picker .o-picker-row[data-row][data-lifted], .o-picker .o-picker-row[data-row][data-lifted] + .o-picker-row[data-row] { background-image: none; }
2481
+ /* A sign before the name (a currency's €), in a column of its own so the names line up. */
2482
+ .o-picker-sign { display: inline-block; min-width: calc(var(--vk-spacing) * 8); color: var(--vk-fg-subtle); font-variant-numeric: tabular-nums; }
2483
+ .o-picker-mark { display: inline-flex; align-items: center; margin-right: calc(var(--vk-spacing) * 2.5); vertical-align: middle; }
2484
+ /* On a phone the rows' text is a size up, so the column is too, the computer's at the phone's size: a three-letter code
2485
+ (CHF) keeps the room before its name it has on a computer. */
2486
+ .o-picker[data-picker-form="phone"] .o-picker-sign { min-width: calc(var(--vk-spacing) * 9); }
2487
+ /* ── A level in (Attio's): ‹ at the search's start, in the magnifier's place, its words where they stood; the open level's
2488
+ own row on top; its rows in a box of their own, indented 20, a thin line along their start, 8 in
2489
+ from the rows' own start (a row's padding: 8 on a computer, 16 on a phone), so it stands where it stands on both; a row that leads
2490
+ one level in ends in its count and ›. On a phone the same, in the same Sheet, ‹ at the bar's start ── */
2491
+ /* Its 24 pulled in above and below to the magnifier's line, so the search never grows as it comes; still pressed whole. */
2492
+ .o-picker-search > .o-picker-back { flex: none; margin: calc(var(--vk-spacing) * -1) calc(var(--vk-spacing) * -1) calc(var(--vk-spacing) * -1) calc(var(--vk-spacing) * -1.25); }
2493
+ /* The level's own row stands unlit, lighting only under the pointer as a row does; on a phone it has no ground of its own. */
2494
+ .o-list-row.o-picker-parent { cursor: default; }
2495
+ @media (hover: hover) { .o-list-row.o-picker-parent:hover { background-color: var(--list-highlight, var(--list-hl-grey, var(--vk-overlay-pressed))); } }
2496
+ .o-picker-row.o-picker-parent { cursor: default; }
2497
+ .o-picker-level { --picker-level-pad: calc(var(--vk-spacing) * 2); position: relative; padding-left: calc(var(--vk-spacing) * 5); }
2498
+ .o-picker-level::before { content: ""; position: absolute; top: var(--vk-spacing); bottom: var(--vk-spacing); left: calc(var(--picker-level-pad) + var(--vk-spacing) * 2); width: var(--vk-border-width); background-color: var(--vk-border-subtle); }
2499
+ /* On a phone its rows stay the card's whole width, as a phone's rows are, so one pressed or lit lights edge to edge: the 20 in is each
2500
+ row's own padding, its separator starting under its words; the line, drawn over them, wears the edge's colour, the subtle edge's being the
2501
+ card's own ground there. */
2502
+ .o-picker[data-picker-form="phone"] .o-picker-level { --picker-level-pad: calc(var(--vk-spacing) * 4); padding-left: 0; }
2503
+ .o-picker[data-picker-form="phone"] .o-picker-level::before { background-color: var(--vk-border); }
2504
+ .o-picker[data-picker-form="phone"] .o-picker-level > .o-picker-row { padding-left: calc(var(--vk-spacing) * 9); }
2505
+ .o-picker[data-picker-form="phone"] .o-picker-level > .o-picker-row + .o-picker-row { background-size: calc(100% - var(--vk-spacing) * 9) var(--vk-border-width); background-position: calc(var(--vk-spacing) * 9) 0; }
2506
+ .o-picker-bar > [data-back] { flex: none; margin-right: auto; }
2507
+ .o-picker-opens { flex: none; display: flex; align-items: center; gap: calc(var(--vk-spacing) * 0.5); font-size: var(--vk-font-size-xs); color: var(--vk-fg-subtlest); font-variant-numeric: tabular-nums; }
2508
+ .o-picker-opens > svg { width: calc(var(--vk-spacing) * 4); height: calc(var(--vk-spacing) * 4); }
2509
+ .o-picker[data-picker-form="phone"] .o-picker-opens { font-size: var(--vk-font-size-sm); }
2510
+ /* A value's count: at its row's end, right before what says it is held, so the marks keep their column and the counts stand on
2511
+ one edge beside them; read as a level's count is, its figures lined up down the list. */
2512
+ .o-picker-row-count { flex: none; font-size: var(--vk-font-size-xs); color: var(--vk-fg-subtlest); font-variant-numeric: tabular-nums; }
2513
+ .o-picker[data-picker-form="phone"] .o-picker-row-count { font-size: var(--vk-font-size-sm); }
2514
+ .o-picker[data-picker-form="phone"] .o-picker-opens > svg { width: calc(var(--vk-spacing) * 5); height: calc(var(--vk-spacing) * 5); }
2515
+ .o-picker-icon { flex: none; display: grid; place-items: center; width: calc(var(--vk-spacing) * 4); height: calc(var(--vk-spacing) * 4); color: var(--vk-fg-subtle); }
2516
+ .o-picker-icon > svg { width: 100%; height: 100%; }
2517
+ .o-picker-action > .o-kbd, .o-picker-action > .o-keys { flex: none; }
2518
+
2519
+ /* ── What the list is doing: searching, nothing matches, couldn't search, nothing yet; loading more at its end ────── */
2520
+ /* Centred (What the list is doing: Centred, Attio's), or at the start. */
2521
+ .o-picker-message { display: flex; align-items: center; justify-content: center; gap: calc(var(--vk-spacing) * 2); padding: calc(var(--vk-spacing) * 3) calc(var(--vk-spacing) * 2); color: var(--vk-fg-subtle); text-align: center; }
2522
+ .o-picker-message-text { flex: 0 1 auto; }
2523
+ [data-picker-doing="start"] .o-picker-message { justify-content: flex-start; text-align: left; }
2524
+ [data-picker-doing="start"] .o-picker-message-text { flex: 1; }
2525
+ .o-picker-more { 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); }
2526
+
2527
+ /* ── On a phone (rounds 3 and 4 of its sketch): the Selected card, one plain card of what can be picked 24 under it, rows of
2528
+ 56 (64 with a second line), a circle or, for several in Attio's look, a box at a row's end, and the bar floating at the foot of what scrolls ──────────────── */
2529
+ .o-picker[data-picker-form="phone"] { min-height: var(--picker-room, auto); font-size: var(--vk-font-size-base); line-height: calc(var(--vk-font-size-base) * var(--vk-line-height-base)); }
2530
+ .o-picker-phone { display: flex; flex-direction: column; outline: none; }
2531
+ .o-picker-label { margin: calc(var(--vk-spacing) * 4) var(--vk-spacing) calc(var(--vk-spacing) * 2); font-size: var(--vk-font-size-sm); color: var(--vk-fg-subtle); }
2532
+ .o-picker-card { overflow: hidden; border: var(--vk-border-width) solid var(--vk-border-subtle); border-radius: var(--vk-radius-xl); background-color: var(--vk-overlay-card); }
2533
+ .o-picker-list { margin-top: calc(var(--vk-spacing) * 6); }
2534
+ .o-picker-row { display: flex; align-items: center; gap: calc(var(--vk-spacing) * 3); box-sizing: border-box; min-height: calc(var(--vk-spacing) * 14); padding: 0 calc(var(--vk-spacing) * 4); cursor: pointer; outline: none; user-select: none; -webkit-tap-highlight-color: transparent; }
2535
+ .o-picker-row:has(.o-list-line) { min-height: calc(var(--vk-spacing) * 16); }
2536
+ .o-picker-row + .o-picker-row { background-image: linear-gradient(var(--vk-border-subtle), var(--vk-border-subtle)); background-size: calc(100% - var(--vk-spacing) * 4) var(--vk-border-width); background-position: calc(var(--vk-spacing) * 4) 0; background-repeat: no-repeat; }
2537
+ /* A press shows; the keys' highlight shows only while something is typed in the search and it has focus (data-typed), the first
2538
+ match Enter picks. With nothing typed Base UI lights the held row, the first in its order, so a list never opens, nor its search
2539
+ takes a tap, looking pressed. */
2540
+ .o-picker-row:not([data-disabled]):active, .o-picker[data-typed]:has(.o-input-control:focus) .o-picker-row[data-highlighted]:not([data-disabled]) { background-color: var(--vk-overlay-card-pressed); }
2541
+ .o-picker-row[data-disabled] { color: var(--vk-fg-disabled); cursor: default; }
2542
+ .o-picker-row[data-disabled] .o-list-line { color: var(--vk-fg-disabled); }
2543
+ .o-picker-row .o-list-line { font-size: var(--vk-font-size-sm); }
2544
+ /* The circle: filled when held, an empty ring when it could be, grey with an edge when the field can't be left empty. */
2545
+ .o-picker-circle { flex: none; display: grid; place-items: center; width: calc(var(--vk-spacing) * 6); height: calc(var(--vk-spacing) * 6); border-radius: var(--vk-radius-full); background-color: var(--vk-brand); color: var(--vk-fg-inverse); }
2546
+ .o-picker-circle > svg { width: calc(var(--vk-spacing) * 3.25); height: calc(var(--vk-spacing) * 3.25); }
2547
+ .o-picker-circle-off { background-color: transparent; box-shadow: inset 0 0 0 calc(var(--vk-border-width) * 1.5) var(--vk-border-bold); }
2548
+ .o-picker-circle-fixed { background-color: var(--vk-neutral); color: var(--vk-fg); box-shadow: inset 0 0 0 calc(var(--vk-border-width) * 1.5) var(--vk-border-bold); }
2549
+ /* What the list is doing, in the list's place: centred words, and a button where there is something to do. */
2550
+ .o-picker-note { display: flex; flex-direction: column; align-items: center; gap: calc(var(--vk-spacing) * 3); padding: calc(var(--vk-spacing) * 9) calc(var(--vk-spacing) * 4); text-align: center; color: var(--vk-fg-subtle); }
2551
+ .o-picker-note b { color: var(--vk-fg); font-weight: var(--vk-font-weight-semibold); }
2552
+ .o-picker-first { padding-top: calc(var(--vk-spacing) * 30); }
2553
+ .o-picker[data-picker-form="phone"] .o-picker-more { min-height: calc(var(--vk-spacing) * 12); font-size: var(--vk-font-size-sm); }
2554
+ /* The bar: the search and ⋯, or Create while what is typed matches nothing, at the foot of what scrolls, over a fade to the
2555
+ ground; 8 over the padding the Sheet's body keeps under what it holds, which, while the search has focus, is the phone's
2556
+ keyboard (sheet.css, --sheet-keyboard), so it stands 8 over the keyboard and the list ends above it. */
2557
+ .o-picker-bar {
2558
+ position: sticky; bottom: calc(-1 * var(--picker-under, 0px)); z-index: 1; display: flex; align-items: center; justify-content: flex-end; gap: calc(var(--vk-spacing) * 2.5);
2559
+ margin-top: auto; margin-bottom: calc(-1 * var(--picker-under, 0px)); padding: calc(var(--vk-spacing) * 8) 0 calc(var(--vk-spacing) * 2 + var(--picker-under, 0px));
2560
+ background-image: linear-gradient(to bottom, transparent, var(--vk-overlay) calc(var(--vk-spacing) * 8));
2561
+ }
2562
+ .o-picker-pill { flex: 1; }
2563
+ /* ── A mark after a row's name (a private view's lock), quieter; and a phone's actions under the list (actionsUnder), each
2564
+ the outlined Button across the list's width, 16 under it ── */
2565
+ .o-picker-after { flex: none; display: inline-flex; align-items: center; margin-left: calc(var(--vk-spacing) * 1.5); color: var(--vk-fg-subtlest); vertical-align: middle; }
2566
+ .o-picker-after > svg { width: calc(var(--vk-spacing) * 3.5); height: calc(var(--vk-spacing) * 3.5); }
2567
+ .o-picker[data-picker-form="phone"] .o-picker-after > svg { width: calc(var(--vk-spacing) * 4); height: calc(var(--vk-spacing) * 4); }
2568
+ .o-picker-under { display: grid; gap: calc(var(--vk-spacing) * 2); margin-top: calc(var(--vk-spacing) * 4); }
2569
+ .o-picker-under > .o-button { width: 100%; }
2570
+ @media (width < 640px) { .o-input-control.o-picker-input:where(:not([data-computer-host], [data-computer-host] *)) { font-size: var(--vk-font-size-base); } }
2571
+ @container o-phone (width < 640px) { .o-input-control.o-picker-input { font-size: var(--vk-font-size-base); } }
2572
+
2174
2573
  /* ── Where it stands: on the popup layer, over the Modal, the drawer and the sheet; one opened later stands
2175
2574
  over the one it opened from, being later on the page ─────────────────────────────────────────────────────────── */
2176
2575
  .o-popover-positioner { z-index: var(--vk-layer-popup); outline: none; }
@@ -2247,6 +2646,32 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
2247
2646
 
2248
2647
  /* Under reduced motion it just appears. */
2249
2648
  @media (prefers-reduced-motion: reduce) { .o-popover { transition: none; } }
2649
+ .o-popup-line {
2650
+ --popup-line-reach: var(--popup-line-bleed, calc(max(0px, calc(var(--popover-pad, 0px) - var(--vk-border-width))) + var(--popup-line-more, 0px)));
2651
+ display: flex; align-items: center; gap: var(--popup-line-gap, calc(var(--vk-spacing) * 2)); box-sizing: border-box;
2652
+ min-height: var(--popup-line-height, calc(var(--vk-spacing) * 8.75));
2653
+ margin: calc(-1 * var(--popup-line-reach)) calc(-1 * var(--popup-line-reach)) var(--popup-line-under, var(--vk-spacing));
2654
+ padding: var(--popup-line-pad-block, 0px) var(--popup-line-pad, calc(var(--vk-spacing) * 3));
2655
+ --popup-line-colour: var(--vk-border-subtle); border-bottom: var(--vk-border-width) solid var(--popup-line-colour);
2656
+ }
2657
+ .o-popup-line[data-at="foot"] {
2658
+ margin: var(--popup-line-under, var(--vk-spacing)) calc(-1 * var(--popup-line-reach)) calc(-1 * var(--popup-line-reach));
2659
+ border-top: var(--vk-border-width) solid var(--popup-line-colour); border-bottom: 0;
2660
+ }
2661
+ .o-popup-line > svg { flex: none; width: calc(var(--vk-spacing) * 3.75); height: calc(var(--vk-spacing) * 3.75); color: var(--vk-fg-subtlest); }
2662
+ /* In a floating surface: its rule drawn in from each end, in the surface's line colour. */
2663
+ :is(.o-popover, .o-list) .o-popup-line {
2664
+ --popup-line-colour: var(--divider-colour, var(--vk-border-subtle));
2665
+ --popup-line-in: calc(var(--popup-line-reach) * var(--dividers-rows, 1) + var(--vk-spacing) * 2 * var(--dividers-words, 1));
2666
+ position: relative; border-color: transparent;
2667
+ }
2668
+ :is(.o-popover, .o-list) .o-popup-line::after {
2669
+ content: ""; position: absolute; left: var(--popup-line-in); right: var(--popup-line-in); bottom: calc(-1 * var(--vk-border-width)); height: var(--vk-border-width);
2670
+ background-color: var(--popup-line-colour); pointer-events: none;
2671
+ }
2672
+ :is(.o-popover, .o-list) .o-popup-line[data-at="foot"]::after { top: calc(-1 * var(--vk-border-width)); bottom: auto; }
2673
+ /* Refused, its line turns red; at the foot it has no line under it, and the Values editor's refused line draws its own. */
2674
+ .o-popup-line[data-bad]:not([data-at="foot"]) { --popup-line-colour: var(--vk-border-danger); }
2250
2675
 
2251
2676
  /* Doubled, so a component's own overflow: auto in the same layer never brings the sideways scroll back. */
2252
2677
  [data-scrollbar][data-scrollbar] { overflow-x: hidden; }
@@ -2279,6 +2704,88 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
2279
2704
 
2280
2705
  @media (prefers-reduced-motion: reduce) { .o-scrollbar { transition: none; } }
2281
2706
 
2707
+ /* ── The field: its value, then the chevron ────────────────────────────────────────────────────────── */
2708
+ .o-select { position: relative; }
2709
+ .o-select-field { display: flex; align-items: center; gap: calc(var(--vk-spacing) * 2); text-align: left; cursor: pointer; }
2710
+ .o-select-value { flex: 1; min-width: 0; display: flex; align-items: center; gap: calc(var(--vk-spacing) * 2); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
2711
+ .o-select-placeholder { color: var(--vk-fg-subtlest); }
2712
+ .o-select-field:is([data-disabled], :disabled) .o-select-placeholder { color: var(--vk-fg-disabled); }
2713
+ .o-select-chevron { flex: none; display: grid; place-items: center; transition: rotate var(--vk-duration-fast) var(--vk-ease-out); }
2714
+ .o-select-chevron svg { width: calc(var(--vk-spacing) * 4); height: calc(var(--vk-spacing) * 4); fill: none; stroke: var(--vk-fg-subtlest); stroke-linecap: round; stroke-linejoin: round; }
2715
+ /* The smallest, in dense rows: its words and chevron closer, the chevron 14px; on the phone 16px, as the
2716
+ field is 44px there. */
2717
+ .o-select-2xs .o-select-field { gap: calc(var(--vk-spacing) * 1.5); }
2718
+ .o-select-2xs .o-select-chevron svg { width: calc(var(--vk-spacing) * 3.5); height: calc(var(--vk-spacing) * 3.5); }
2719
+ @media (width < 640px) { .o-select-2xs .o-select-chevron svg:where(:not([data-computer-host], [data-computer-host] *)) { width: calc(var(--vk-spacing) * 4); height: calc(var(--vk-spacing) * 4); } }
2720
+ @container o-phone (width < 640px) { .o-select-2xs .o-select-chevron svg { width: calc(var(--vk-spacing) * 4); height: calc(var(--vk-spacing) * 4); } }
2721
+ .o-select-field[data-popup-open] .o-select-chevron:not([data-arrow="right"]) { rotate: 180deg; }
2722
+
2723
+ /* ── Typed into: the field holds the box you type in (the group's bare control), and with several, their
2724
+ chips first, each the Option with its own ×, wrapping onto more lines as they grow; from 32px up a quiet ×
2725
+ clears it; the chevron shows every choice ───────────────────────────────────────────────────────── */
2726
+ .o-select-field.o-select-typed { gap: calc(var(--vk-spacing) * 2); cursor: text; }
2727
+ .o-select-chips { flex: 1; min-width: 0; display: flex; align-items: center; gap: calc(var(--vk-spacing) * 1); overflow: hidden; }
2728
+ /* Several stay one line, the field's own height: the chips that fit, the first shrinking to "…" if it must, the count for the rest
2729
+ (the Option's "+1"), then the box to type in, which keeps room for what is typed (--select-typed, set as it is typed). */
2730
+ .o-select-chips > .o-option { flex: none; }
2731
+ .o-select-chips > .o-option:first-child { flex: 0 1 auto; min-width: 0; }
2732
+ .o-select-chips > [data-over] { display: none; }
2733
+ .o-select-chips > .o-input-control.o-select-typed-input { flex: 1 1 0; min-width: max(calc(var(--vk-spacing) * 6), var(--select-typed, 0px)); }
2734
+ /* The copy the chips are measured by: out of sight, taking no room, never focused or read. */
2735
+ .o-select-measure { position: absolute; width: 0; height: 0; overflow: hidden; visibility: hidden; pointer-events: none; }
2736
+ .o-select-measure > span { display: flex; width: max-content; gap: calc(var(--vk-spacing) * 1); white-space: pre; }
2737
+ .o-select-measure > span > * { flex: none; }
2738
+ .o-input-control.o-select-typed-input { min-width: calc(var(--vk-spacing) * 16); text-overflow: ellipsis; }
2739
+ .o-select-typed-input:disabled::placeholder { color: var(--vk-fg-disabled); }
2740
+ .o-select-typed-trigger { margin: 0; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; outline: none; }
2741
+ .o-select-typed-trigger:disabled { cursor: not-allowed; }
2742
+ .o-select-typed > .o-select-clear { flex: none; }
2743
+ /* One chosen, its mark before its name: the Input's own start addon, the field's 8px before the
2744
+ words; the search glyph, the addon's own 16px icon (14 at 24px, input.css), stands over the mark's centre and shows while the
2745
+ words are a search, the mark hidden, so the slot keeps the mark's width and the words never move. */
2746
+ .o-select-typed > .o-select-mark { position: relative; }
2747
+ .o-select-mark-own { display: flex; }
2748
+ .o-select-mark > .o-select-mark-search { position: absolute; inset: 50% auto auto 50%; translate: -50% -50%; visibility: hidden; }
2749
+ .o-select-mark[data-searching] > .o-select-mark-own { visibility: hidden; }
2750
+ .o-select-mark[data-searching] > .o-select-mark-search { visibility: visible; }
2751
+
2752
+ /* ── The list (the Picker's panel, a typed-into field's too): 4px under the field, exactly as wide as it (a long name ends in "…"), never taller than the room its side
2753
+ has. It stands still: its search on top (a pressed one's; typed into, the field is its search), under it its rows, the only part that scrolls, its actions at its foot (the Picker's),
2754
+ 8½ rows at most (--list-rows), the half row saying there is more; a row brought into view stands a row clear of the edge.
2755
+ ──────────────────────────────────────────────────────────────────── */
2756
+ .o-select-list { display: flex; flex-direction: column; width: var(--anchor-width); max-width: var(--available-width); max-height: var(--available-height); overflow: hidden; }
2757
+ /* Where its place asks for its rows' width (listWidth: the filter editor's and the
2758
+ sort editor's boxes): as wide as its widest row needs, never narrower than its box nor 192, unless the room on screen is less; never past that room or the 288 a Picker stands in a Popover (popover.css),
2759
+ a longer name then ending in "…"; its search counts as a row does, so a list with a search is never narrower than it (as the
2760
+ Picker in a Popover handed its own width), and its foot takes the width the rows give it. */
2761
+ .o-select-list[data-list-width="rows"] {
2762
+ width: max-content; min-width: min(max(var(--anchor-width), calc(var(--vk-spacing) * 48)), var(--available-width));
2763
+ max-width: min(var(--available-width), calc(var(--vk-spacing) * 72));
2764
+ }
2765
+ .o-select-list[data-list-width="rows"] .o-picker-foot { contain: inline-size; }
2766
+ /* Under the list's Smooth its edge is a layer reaching over its border, which hiding what overflows would cut: the kit's
2767
+ outline cuts the panel instead, and its rows scroll inside it (the Picker's rows). */
2768
+ @supports (clip-path: shape(evenodd from 0 0, curve by 1px 1px with 1px 0 / 1px 0, close, move to 0 0, hline to 1px, close)) and (width: calc(tan(atan2(1px, 1px)) * 1px)) {
2769
+ .o-select-list:not([data-list-smoothing="round"] *) { overflow: visible; }
2770
+ }
2771
+ /* While a list is open the page behind it never moves (scroll.ts, holdsThePage). A finger that lands outside it lands on Base
2772
+ UI's backdrop, drawn just before the list's positioner, which closes the list and turns inert at once, so no script sees that
2773
+ finger again: it may never pan, read by the browser as the finger lands. */
2774
+ [data-base-ui-inert]:has(+ .o-list-positioner > .o-select-list) { touch-action: none; }
2775
+ /* The box's form input: out of sight and out of the tab order, but a box all the same, so at 16px on a phone, as every
2776
+ box is, and iOS never zooms if something hands it the focus. */
2777
+ @media (width < 640px) { .o-select-form:where(:not([data-computer-host], [data-computer-host] *)) { font-size: var(--vk-font-size-base); } }
2778
+ @container o-phone (width < 640px) { .o-select-form { font-size: var(--vk-font-size-base); } }
2779
+
2780
+ /* ── Shown open, standing in the page: the list under its field, in the flow, the Picker standing: its held row lit at
2781
+ rest by picker.css's standing rule, the one under the pointer by Base UI, in the list's Highlight and its intensity. ─── */
2782
+ .o-select-shown { display: grid; gap: calc(var(--vk-spacing) * 1); min-width: 0; }
2783
+ .o-select-shown .o-select-list { position: relative; width: auto; max-width: none; max-height: none; }
2784
+ /* The list stands over its field's focus glow, as it did before the field stood its smooth layers in a stacking context of its
2785
+ own, which lifts the field over what follows it unless that is lifted too. */
2786
+
2787
+ @media (prefers-reduced-motion: reduce) { .o-select-chevron { transition: none; } }
2788
+
2282
2789
  .o-sheet, .o-sheet-backdrop, .o-sheet-below {
2283
2790
  --sheet-spring: var(--vk-spring-quick); --sheet-spring-ease: var(--vk-ease-spring-quick); --sheet-spring-time: var(--vk-duration-spring-quick);
2284
2791
  }
@@ -6018,6 +6525,31 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
6018
6525
  --vk-label-teal-fill: hsl(196 52% 91.5%);
6019
6526
  --vk-label-teal-edge: hsl(196 52% 74.5%);
6020
6527
  --vk-label-teal-strong: hsl(193 82% 26%);
6528
+ --vk-person-1: #d7a77e;
6529
+ --vk-person-2: #93b6ce;
6530
+ --vk-person-3: #afc98f;
6531
+ --vk-person-4: #cfa3c9;
6532
+ --vk-person-5: #dcc57f;
6533
+ --vk-person-6: #9dabdd;
6534
+ --vk-person-fg: #10141a;
6535
+ --vk-success-bold: hsl(158 98% 26%);
6536
+ --vk-border-width: 1px;
6537
+ --vk-dot-size: 6px;
6538
+ --vk-font-size-2xl: 24px;
6539
+ --vk-font-size-2xs: 10px;
6540
+ --vk-font-size-3xs: 8px;
6541
+ --vk-font-size-sm: 14px;
6542
+ --vk-font-size-xs: 12px;
6543
+ --vk-font-weight-semibold: 600;
6544
+ --vk-radius-2xl: 20px;
6545
+ --vk-radius-full: 9999px;
6546
+ --vk-radius-lg: 10px;
6547
+ --vk-radius-md: 7.5px;
6548
+ --vk-radius-sm: 5px;
6549
+ --vk-radius-xl: 15px;
6550
+ --vk-radius-xs: 2.5px;
6551
+ --vk-spacing: 4px;
6552
+ --vk-tracking-normal: 0em;
6021
6553
  --vk-brand-hovered: hsl(219 70% 46.5%);
6022
6554
  --vk-brand-pressed: hsl(219 70% 38%);
6023
6555
  --vk-brand-subtler: hsl(218 100% 94%);
@@ -6029,7 +6561,6 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
6029
6561
  --vk-info-bold: hsl(219 87% 54%);
6030
6562
  --vk-info-bold-hovered: hsl(219 70% 46.5%);
6031
6563
  --vk-info-bold-pressed: hsl(219 70% 38%);
6032
- --vk-success-bold: hsl(158 98% 26%);
6033
6564
  --vk-success-bold-hovered: hsl(157 88% 24%);
6034
6565
  --vk-success-bold-pressed: hsl(156 87% 21%);
6035
6566
  --vk-warning-bold: hsl(25 92% 41%);
@@ -6046,9 +6577,7 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
6046
6577
  --vk-overlay-card-pressed: hsl(220 7% 90%);
6047
6578
  --vk-fg-disabled: hsl(210 1% 72%);
6048
6579
  --vk-fg-accent: hsl(219 87% 54%);
6049
- --vk-border-width: 1px;
6050
6580
  --vk-corner-smoothing: 0.7;
6051
- --vk-dot-size: 6px;
6052
6581
  --vk-duration-instant: 60ms;
6053
6582
  --vk-duration-fast: 150ms;
6054
6583
  --vk-duration-base: 200ms;
@@ -6058,19 +6587,11 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
6058
6587
  --vk-focus-width: 2px;
6059
6588
  --vk-focus-offset: 2px;
6060
6589
  --vk-font-weight-medium: 500;
6061
- --vk-font-weight-semibold: 600;
6062
6590
  --vk-hover-lift: 1px;
6063
6591
  --vk-press-scale: 0.98;
6064
6592
  --vk-press-squash: 1.025 0.92;
6065
6593
  --vk-press-travel: 1px;
6066
6594
  --vk-press-travel-lg: 2px;
6067
- --vk-radius-xs: 2.5px;
6068
- --vk-radius-sm: 5px;
6069
- --vk-radius-md: 7.5px;
6070
- --vk-radius-lg: 10px;
6071
- --vk-radius-xl: 15px;
6072
- --vk-radius-2xl: 20px;
6073
- --vk-radius-full: 9999px;
6074
6595
  --vk-shadow-key: inset 0 1px 0 0 hsl(0 0% 100% / 0.24), inset 0 -1px 0 0 hsl(214 30% 10% / 0.18), 0 1px 0 0 hsl(214 30% 10% / 0.32), 0 1px 2px 0 hsl(214 30% 10% / 0.12);
6075
6596
  --vk-shadow-key-pressed: inset 0 1px 1.5px 0 hsl(214 30% 10% / 0.12);
6076
6597
  --vk-shadow-key-pressed-bold: inset 0 1px 1.5px 0 hsl(214 30% 10% / 0.28);
@@ -6084,9 +6605,6 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
6084
6605
  --vk-shadow-rim-bold: inset 0 1px 0 0 hsl(0 0% 100% / 0.22);
6085
6606
  --vk-shadow-rim-bold-raised: inset 0 1px 0 0 hsl(0 0% 100% / 0.3);
6086
6607
  --vk-shadow-rim-raised: inset 0 1px 0 0 hsl(0 0% 100% / 0.14);
6087
- --vk-spacing: 4px;
6088
- --vk-font-size-xs: 12px;
6089
- --vk-font-size-sm: 14px;
6090
6608
  --vk-font-size-base: 16px;
6091
6609
  --vk-font-size-lg: 18px;
6092
6610
  --vk-border-danger: hsl(3 87% 68%);
@@ -6192,7 +6710,6 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
6192
6710
  --vk-warning-subtler: hsl(19 72% 92.5%);
6193
6711
  --vk-font-weight-bold: 700;
6194
6712
  --vk-tracking-wide: 0.025em;
6195
- --vk-font-size-2xs: 10px;
6196
6713
  --vk-tooltip-delay: 500ms;
6197
6714
  --vk-tooltip-warm: 300ms;
6198
6715
  --vk-toast-duration: 4000ms;
@@ -6286,6 +6803,14 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
6286
6803
  --vk-label-teal-fill: hsl(196 32% 17.5%);
6287
6804
  --vk-label-teal-edge: hsl(195 42% 22.5%);
6288
6805
  --vk-label-teal-strong: hsl(196 67% 75.5%);
6806
+ --vk-person-1: #d7a77e;
6807
+ --vk-person-2: #93b6ce;
6808
+ --vk-person-3: #afc98f;
6809
+ --vk-person-4: #cfa3c9;
6810
+ --vk-person-5: #dcc57f;
6811
+ --vk-person-6: #9dabdd;
6812
+ --vk-person-fg: #10141a;
6813
+ --vk-success-bold: hsl(158 98% 34%);
6289
6814
  --vk-brand-hovered: hsl(219 95% 64%);
6290
6815
  --vk-brand-pressed: hsl(219 100% 72.5%);
6291
6816
  --vk-brand-subtler: hsl(218 32% 14.5%);
@@ -6297,7 +6822,6 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
6297
6822
  --vk-info-bold: hsl(219 87% 59.5%);
6298
6823
  --vk-info-bold-hovered: hsl(219 95% 64%);
6299
6824
  --vk-info-bold-pressed: hsl(219 100% 72.5%);
6300
- --vk-success-bold: hsl(158 98% 34%);
6301
6825
  --vk-success-bold-hovered: hsl(150 45% 51.5%);
6302
6826
  --vk-success-bold-pressed: hsl(148 46% 62.5%);
6303
6827
  --vk-warning-bold: hsl(25 92% 41%);