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.css: ViewKit's look, its defaults the Outright look */
1
+ /*! viewkitjs 0.25.0 · viewkitjs/views/styles.css: ViewKit's look, its defaults the Outright look */
2
2
  /*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
3
3
  @layer theme, base, components, utilities;
4
4
  @layer base {
@@ -352,6 +352,158 @@
352
352
  --smooth-khx: calc(var(--smooth-k) - var(--smooth-hx));
353
353
  }
354
354
 
355
+ /* ── A person: a circle of their initials on their tone, 32px ──────────────────────────────────────── */
356
+ .o-avatar {
357
+ flex: none; display: inline-grid; place-items: center; box-sizing: border-box; overflow: hidden;
358
+ width: calc(var(--vk-spacing) * 8); height: calc(var(--vk-spacing) * 8); border-radius: var(--vk-radius-full);
359
+ background-color: var(--vk-person-1); color: var(--vk-person-fg);
360
+ 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;
361
+ }
362
+ .o-avatar[data-tone="2"] { background-color: var(--vk-person-2); }
363
+ .o-avatar[data-tone="3"] { background-color: var(--vk-person-3); }
364
+ .o-avatar[data-tone="4"] { background-color: var(--vk-person-4); }
365
+ .o-avatar[data-tone="5"] { background-color: var(--vk-person-5); }
366
+ .o-avatar[data-tone="6"] { background-color: var(--vk-person-6); }
367
+ /* A photo or a logo fills the shape and replaces the tone. */
368
+ .o-avatar-image { width: 100%; height: 100%; object-fit: cover; }
369
+ .o-avatar-letters { display: grid; place-items: center; width: 100%; height: 100%; }
370
+ .o-avatar-letters svg { width: 55%; height: 55%; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
371
+
372
+ /* ── 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,
373
+ 40 in headers, 64 on a record's page ── */
374
+ .o-avatar.o-avatar-2xs { width: calc(var(--vk-spacing) * 4); height: calc(var(--vk-spacing) * 4); font-size: var(--vk-font-size-3xs); }
375
+ .o-avatar.o-avatar-xs { width: calc(var(--vk-spacing) * 5); height: calc(var(--vk-spacing) * 5); font-size: var(--vk-font-size-2xs); }
376
+ .o-avatar.o-avatar-sm { width: calc(var(--vk-spacing) * 6); height: calc(var(--vk-spacing) * 6); font-size: var(--vk-font-size-2xs); }
377
+ .o-avatar.o-avatar-lg { width: calc(var(--vk-spacing) * 10); height: calc(var(--vk-spacing) * 10); font-size: var(--vk-font-size-sm); }
378
+ .o-avatar.o-avatar-xl { width: calc(var(--vk-spacing) * 16); height: calc(var(--vk-spacing) * 16); font-size: var(--vk-font-size-2xl); }
379
+
380
+ /* ── A thing: a square, its corners a step that grows with it, on the neutral ground, its edge inside ─ */
381
+ .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); }
382
+ /* The workspace: the one square in the brand. */
383
+ .o-avatar.o-avatar-workspace { background-color: var(--vk-brand); color: var(--vk-fg-on-brand); box-shadow: none; }
384
+ /* 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
385
+ 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. */
386
+ .o-avatar-agent .o-avatar-letters svg { fill: var(--vk-fg); stroke: none; }
387
+
388
+ /* ── 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,
389
+ between Small and Large, the tokens holding nothing between xs and sm ────────────────────────────── */
390
+ .o-avatar.o-avatar-thing { --avatar-r: var(--vk-radius-sm); }
391
+ .o-avatar.o-avatar-thing:is(.o-avatar-2xs, .o-avatar-xs) { --avatar-r: var(--vk-radius-xs); }
392
+ .o-avatar.o-avatar-thing.o-avatar-lg { --avatar-r: var(--vk-radius-md); }
393
+ .o-avatar.o-avatar-thing.o-avatar-xl { --avatar-r: var(--vk-radius-lg); }
394
+ /* Small: xs at 20 and 24, sm at 32 and 40, md at 64. */
395
+ [data-avatar-corners="small"] .o-avatar.o-avatar-thing { --avatar-r: var(--vk-radius-sm); }
396
+ [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); }
397
+ [data-avatar-corners="small"] .o-avatar.o-avatar-thing.o-avatar-xl { --avatar-r: var(--vk-radius-md); }
398
+ /* Large, the radii before Medium came: sm at 20 and 24, md at 32, lg at 40, xl at 64. */
399
+ [data-avatar-corners="large"] .o-avatar.o-avatar-thing { --avatar-r: var(--vk-radius-md); }
400
+ [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); }
401
+ [data-avatar-corners="large"] .o-avatar.o-avatar-thing.o-avatar-lg { --avatar-r: var(--vk-radius-lg); }
402
+ [data-avatar-corners="large"] .o-avatar.o-avatar-thing.o-avatar-xl { --avatar-r: var(--vk-radius-xl); }
403
+ /* Extra large: md at 20 and 24, lg at 32, xl at 40, 2xl at 64. */
404
+ [data-avatar-corners="xlarge"] .o-avatar.o-avatar-thing { --avatar-r: var(--vk-radius-lg); }
405
+ [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); }
406
+ [data-avatar-corners="xlarge"] .o-avatar.o-avatar-thing.o-avatar-lg { --avatar-r: var(--vk-radius-xl); }
407
+ [data-avatar-corners="xlarge"] .o-avatar.o-avatar-thing.o-avatar-xl { --avatar-r: var(--vk-radius-2xl); }
408
+
409
+ /* ── Corner smoothing: Smooth, with nothing set, draws a square's corners with the smooth outline (smooth.css),
410
+ every browser that knows shape() showing it; one that doesn't keeps the quarter circles above, and so does Round. Its
411
+ 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
412
+ its radius, both tokens, so it follows Corner radius). The outline would cut the edge drawn inside the square, so under it the
413
+ edge is a ring of its own (::before), between the outline and the same outline drawn a hairline in, under whatever the square
414
+ holds; the workspace has none. Its smoothing is its own Corner smoothing, never a host's: the outline's amount inherits, and a
415
+ crumb, a tab or a list's card that follows the token sets it on itself, so the square sets it back. ─────── */
416
+ @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)) {
417
+ .o-avatar.o-avatar-thing { --smooth-amount: initial; }
418
+ .o-avatar.o-avatar-thing:not([data-avatar-smoothing="round"] *) {
419
+ --avatar-rr: min(var(--avatar-r), var(--avatar-size) / 2); --smooth-t: var(--avatar-rr); --smooth-side: var(--avatar-size);
420
+ position: relative; box-shadow: none; clip-path: shape(var(--smooth-outline));
421
+ }
422
+ /* Its edge, a hairline ring along the outline, under the picture or the letters it holds; the workspace has none. */
423
+ .o-avatar.o-avatar-thing:not(.o-avatar-workspace):not([data-avatar-smoothing="round"] *)::before {
424
+ --smooth-t: calc(var(--avatar-rr) - var(--vk-border-width)); --smooth-in: var(--vk-border-width);
425
+ content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-color: var(--vk-border-subtle);
426
+ clip-path: shape(var(--smooth-ring));
427
+ }
428
+ }
429
+
430
+ /* ── 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,
431
+ a hovered row or the dark shows through it, never the page's colour) ──────────────────────────────────────────────── */
432
+ .o-avatar-stack { display: inline-flex; align-items: center; isolation: isolate; }
433
+ :is(.o-avatar, .o-avatar-badged) { --avatar-overlap: calc(var(--vk-spacing) * 1.6); }
434
+ :is(.o-avatar.o-avatar-xs, .o-avatar-badged[data-size="20"]) { --avatar-overlap: calc(var(--vk-spacing) * 1); }
435
+ :is(.o-avatar.o-avatar-sm, .o-avatar-badged[data-size="24"]) { --avatar-overlap: calc(var(--vk-spacing) * 1.2); }
436
+ :is(.o-avatar.o-avatar-lg, .o-avatar-badged[data-size="40"]) { --avatar-overlap: calc(var(--vk-spacing) * 2); }
437
+ :is(.o-avatar.o-avatar-xl, .o-avatar-badged[data-size="64"]) { --avatar-overlap: calc(var(--vk-spacing) * 3.2); }
438
+ .o-avatar-stack > :is(.o-avatar, .o-avatar-badged) + :is(.o-avatar, .o-avatar-badged) { margin-left: calc(var(--avatar-overlap) * -1); }
439
+ /* A face with a face after it: the next one's circle and its ring taken out of it. */
440
+ :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) {
441
+ --avatar-next-at: calc(var(--avatar-size) - var(--avatar-overlap) - var(--avatar-cut)) calc(var(--avatar-cut) * -1);
442
+ --avatar-next-size: calc(var(--avatar-size) + var(--avatar-cut) * 2) calc(var(--avatar-size) + var(--avatar-cut) * 2);
443
+ }
444
+ /* A face after a badged one: that face's badge stands over it, its circle and ring taken out of it too. */
445
+ :is(.o-avatar-stack > .o-avatar-badged + .o-avatar, .o-avatar-stack > .o-avatar-badged + .o-avatar-badged > .o-avatar) {
446
+ --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));
447
+ --avatar-prev-size: calc(var(--avatar-dot) + var(--avatar-cut) * 2) calc(var(--avatar-dot) + var(--avatar-cut) * 2);
448
+ }
449
+ /* The whole stack as one button (after Linear): the quiet Button wearing it, its ground under the pointer showing through the cuts. */
450
+ .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); }
451
+ /* Its side, its faces' size and its padding, which its own corner is fitted to where a frame's Corners outweighs its Full. */
452
+ .o-button.o-avatar-stack-button:has(.o-avatar-xs) { --button-side: calc(var(--vk-spacing) * 7 + var(--button-line) * 2); }
453
+ .o-button.o-avatar-stack-button:has(.o-avatar-sm) { --button-side: calc(var(--vk-spacing) * 8 + var(--button-line) * 2); }
454
+ .o-button.o-avatar-stack-button:has(.o-avatar-lg) { --button-side: calc(var(--vk-spacing) * 12 + var(--button-line) * 2); }
455
+ .o-button.o-avatar-stack-button:has(.o-avatar-xl) { --button-side: calc(var(--vk-spacing) * 18 + var(--button-line) * 2); }
456
+ /* Its add (after Asana): the outline Button the avatar's size, its edge dashed at rest, solid under the pointer. */
457
+ .o-avatar-add[data-size="20"] { --avatar-size: calc(var(--vk-spacing) * 5); }
458
+ .o-avatar-add[data-size="24"] { --avatar-size: calc(var(--vk-spacing) * 6); }
459
+ .o-avatar-add[data-size="32"] { --avatar-size: calc(var(--vk-spacing) * 8); }
460
+ .o-avatar-add[data-size="40"] { --avatar-size: calc(var(--vk-spacing) * 10); }
461
+ .o-avatar-add[data-size="64"] { --avatar-size: calc(var(--vk-spacing) * 16); }
462
+ .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; }
463
+ @media (hover: hover) { .o-button.o-avatar-add:hover { border-style: solid; } }
464
+ /* A stack and its add stand together on one line. */
465
+ .o-avatar-stack-group { display: inline-flex; align-items: center; gap: var(--vk-spacing); }
466
+ /* The rest, as a count in a neutral circle. */
467
+ .o-avatar.o-avatar-more { background-color: var(--vk-neutral); color: var(--vk-fg-subtle); font-variant-numeric: tabular-nums; }
468
+ /* ── Presence and the badge: a dot on the corner, its size stepping with the avatar's (6,
469
+ 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
470
+ only on a badged avatar and a stack's faces: a mask clips what is outside the box and makes a stacking context. ──────── */
471
+ :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; }
472
+ .o-avatar.o-avatar-2xs { --avatar-size: calc(var(--vk-spacing) * 4); }
473
+ :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); }
474
+ :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); }
475
+ :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); }
476
+ :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); }
477
+ :is(.o-avatar.o-avatar-thing, .o-avatar-badged[data-thing]) { --avatar-dot-inset: calc(var(--vk-spacing) * -0.75); }
478
+ .o-avatar-badged { position: relative; display: inline-flex; flex: none; vertical-align: middle; isolation: isolate; }
479
+ /* In a stack the badge stands over the next face, so the stack holds it, not the face. */
480
+ .o-avatar-stack > .o-avatar-badged { isolation: auto; }
481
+ .o-avatar-badge {
482
+ position: absolute; right: var(--avatar-dot-inset); bottom: var(--avatar-dot-inset); z-index: 1; box-sizing: border-box;
483
+ display: grid; place-items: center; width: var(--avatar-dot); height: var(--avatar-dot); border-radius: var(--vk-radius-full);
484
+ background-color: var(--vk-brand); color: var(--vk-fg-on-brand);
485
+ }
486
+ .o-avatar-badge > svg { display: none; width: 70%; height: 70%; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
487
+ .o-avatar-badged:is([data-size="32"], [data-size="40"], [data-size="64"]) > .o-avatar-badge > svg { display: block; }
488
+ /* Here, a green dot; away, a hollow ring whose middle shows the ground. */
489
+ .o-avatar-badge[data-presence="here"] { background-color: var(--vk-success-bold); }
490
+ .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); }
491
+ .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); }
492
+ /* The cut: circles taken out of the avatar, the ground showing through them. Each is an SVG circle (WebKit draws a gradient's
493
+ 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
494
+ badge of the face before. Unused, a circle is drawn at no size. */
495
+ .o-avatar-badged > .o-avatar {
496
+ --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));
497
+ --avatar-own-size: calc(var(--avatar-dot) + var(--avatar-cut) * 2) calc(var(--avatar-dot) + var(--avatar-cut) * 2);
498
+ }
499
+ :is(.o-avatar-badged > .o-avatar, .o-avatar-stack > .o-avatar, .o-avatar-stack > .o-avatar-badged > .o-avatar) {
500
+ --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");
501
+ mask-image: linear-gradient(black 0 0), var(--avatar-hole), var(--avatar-hole), var(--avatar-hole);
502
+ mask-repeat: no-repeat; mask-composite: subtract, add, add;
503
+ mask-position: 0 0, var(--avatar-own-at, 0 0), var(--avatar-next-at, 0 0), var(--avatar-prev-at, 0 0);
504
+ mask-size: 100% 100%, var(--avatar-own-size, 0 0), var(--avatar-next-size, 0 0), var(--avatar-prev-size, 0 0);
505
+ }
506
+
355
507
  /* ── At rest ──────────────────────────────────────────────────────────────────────────────────────── */
356
508
  :where(.o-button) {
357
509
  height: calc(var(--vk-spacing) * 9);
@@ -1662,15 +1814,18 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
1662
1814
  [data-input-radius="2xl"] { --list-box-r: var(--vk-radius-2xl); --list-box-pill: 0; }
1663
1815
  /* A Pill box's rows are pills, and its panel keeps its 2xl (--list-box-pill says so, under the list's Smooth). */
1664
1816
  [data-input-radius="full"] { --list-box-r: var(--vk-radius-2xl); --list-box-pill: 1; }
1817
+ [data-list-edge="subtle"] { --list-edge: var(--vk-border-subtle); --list-sep-colour: var(--vk-border-subtle); }
1665
1818
  [data-list-edge="outline"] { --list-edge: var(--vk-border); --list-sep-colour: var(--vk-border); }
1666
- [data-list-edge="none"] { --list-edge: transparent; }
1819
+ [data-list-edge="none"] { --list-edge: transparent; --list-sep-colour: var(--vk-border-subtle); }
1667
1820
  [data-list-shadow="none"] { --list-shadow: none; }
1668
1821
  [data-list-shadow="xs"] { --list-shadow: var(--vk-shadow-xs); }
1669
1822
  [data-list-shadow="sm"] { --list-shadow: var(--vk-shadow-sm); }
1823
+ [data-list-shadow="md"] { --list-shadow: var(--vk-shadow-md); }
1670
1824
  [data-list-shadow="lg"] { --list-shadow: var(--vk-shadow-lg); }
1671
1825
  [data-list-shadow="xl"] { --list-shadow: var(--vk-shadow-xl); }
1672
1826
  [data-list-padding="0"] { --list-pad: 0px; --list-row-corners: 0px; --list-row-corners-pill: 0; }
1673
1827
  [data-list-padding="2"] { --list-pad: calc(var(--vk-spacing) * 0.5); }
1828
+ [data-list-padding="4"] { --list-pad: var(--vk-spacing); }
1674
1829
  [data-list-padding="6"] { --list-pad: calc(var(--vk-spacing) * 1.5); }
1675
1830
  [data-list-padding="8"] { --list-pad: calc(var(--vk-spacing) * 2); }
1676
1831
  [data-list-rows="28"] { --list-row-h: calc(var(--vk-spacing) * 7); --list-row-pad: var(--vk-spacing); }
@@ -1679,12 +1834,12 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
1679
1834
  [data-list-rows="36"] { --list-row-h: calc(var(--vk-spacing) * 9); }
1680
1835
  [data-list-rows="38"] { --list-row-h: calc(var(--vk-spacing) * 9.5); }
1681
1836
  [data-list-rows="40"] { --list-row-h: calc(var(--vk-spacing) * 10); }
1682
- [data-list-highlight="brand"] { --list-highlight: var(--list-hl-brand, var(--vk-brand-subtlest)); }
1837
+ [data-list-highlight="brand"] { --list-highlight: var(--list-hl-brand, var(--vk-brand-subtler)); }
1683
1838
  /* The Dividers as two numbers on the frame, so the nearest frame's pick wins, for every line that reaches by them:
1684
1839
  --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. */
1685
1840
  [data-list-dividers="words"] { --dividers-words: 1; --dividers-rows: 1; }
1686
1841
  [data-list-dividers="rows"] { --list-sep-inset: 0px; --dividers-words: 0; --dividers-rows: 1; }
1687
- [data-list-dividers="full"] { --list-sep-inset: calc(-1 * var(--list-pad, var(--vk-spacing))); --dividers-words: 0; --dividers-rows: 0; }
1842
+ [data-list-dividers="full"] { --list-sep-inset: calc(-1 * var(--list-pad, calc(var(--vk-spacing) * 1.5))); --dividers-words: 0; --dividers-rows: 0; }
1688
1843
  [data-list-row-corners="0"] { --list-row-r: 0px; --list-row-pill: 0; }
1689
1844
  [data-list-row-corners="xs"] { --list-row-r: var(--vk-radius-xs); --list-row-pill: 0; }
1690
1845
  [data-list-row-corners="sm"] { --list-row-r: var(--vk-radius-sm); --list-row-pill: 0; }
@@ -1692,17 +1847,18 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
1692
1847
  [data-list-row-corners="lg"] { --list-row-r: var(--vk-radius-lg); --list-row-pill: 0; }
1693
1848
  [data-list-row-corners="xl"] { --list-row-r: var(--vk-radius-xl); --list-row-pill: 0; }
1694
1849
  [data-list-row-corners="full"] { --list-row-r: var(--vk-radius-full); --list-row-pill: 1; }
1850
+ [data-list-intensity="1"] { --list-hl-grey: var(--vk-overlay-hovered); --list-hl-brand: var(--vk-brand-subtlest); }
1695
1851
  [data-list-intensity="2"] { --list-hl-grey: var(--vk-overlay-pressed); --list-hl-brand: var(--vk-brand-subtler); }
1696
1852
  [data-list-intensity="3"] { --list-hl-grey: var(--vk-overlay-selected); --list-hl-brand: var(--vk-brand-subtler-hovered); }
1697
1853
 
1698
- /* ── 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 ─ */
1854
+ /* ── 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 ── */
1699
1855
  /* Its lines' colour, --divider-colour, its Edge's (border-subtle with none): what it holds draws its lines in it. */
1700
1856
  .o-list {
1701
1857
  --list-row-corners-in: var(--list-row-corners, var(--list-row-r, var(--list-box-r, var(--vk-radius-lg))));
1702
- --divider-colour: var(--list-sep-colour, var(--vk-border-subtle));
1703
- box-sizing: border-box; display: grid; padding: var(--list-pad, var(--vk-spacing));
1704
- 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)));
1705
- background-color: var(--vk-overlay); box-shadow: var(--list-shadow, var(--vk-shadow-md)); color: var(--vk-fg); outline: none;
1858
+ --divider-colour: var(--list-sep-colour, var(--vk-border));
1859
+ box-sizing: border-box; display: grid; padding: var(--list-pad, calc(var(--vk-spacing) * 1.5));
1860
+ 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)));
1861
+ background-color: var(--vk-overlay); box-shadow: var(--list-shadow, var(--vk-shadow-xl)); color: var(--vk-fg); outline: none;
1706
1862
  transition: opacity var(--vk-duration-fast) var(--vk-ease-out), translate var(--vk-duration-fast) var(--vk-ease-out);
1707
1863
  }
1708
1864
  .o-list:is([data-starting-style], [data-ending-style]) { opacity: 0; translate: 0 calc(var(--vk-spacing) * -1); }
@@ -1717,7 +1873,7 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
1717
1873
  }
1718
1874
  /* 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. */
1719
1875
  .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))); }
1720
- .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))); }
1876
+ .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))); }
1721
1877
  /* A row that can't be picked: greyed, no fill under the pointer. */
1722
1878
  .o-list-row[data-disabled] { color: var(--vk-fg-disabled); cursor: not-allowed; }
1723
1879
  .o-list-row[data-disabled] :is(.o-list-line, .o-list-you) { color: var(--vk-fg-disabled); }
@@ -1738,7 +1894,7 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
1738
1894
  .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); }
1739
1895
  /* 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. */
1740
1896
  .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)); }
1741
- .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))); }
1897
+ .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))); }
1742
1898
 
1743
1899
  /* ── On the phone a row is 44px, so a finger finds it ──────────────────────────────────────────────── */
1744
1900
  @media (width < 640px) {
@@ -1768,8 +1924,8 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
1768
1924
  --list-box-cap: min(var(--list-box-r, var(--vk-radius-lg)), var(--vk-radius-2xl));
1769
1925
  --list-k: calc(1 - var(--list-box-pill, 0));
1770
1926
  --list-box-fit: min(var(--list-box-cap), var(--list-row-side) / 3.4);
1771
- --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)));
1772
- --list-panel-side: calc(var(--list-row-side) + var(--list-pad, var(--vk-spacing)) * 2 + var(--vk-border-width) * 2);
1927
+ --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)));
1928
+ --list-panel-side: calc(var(--list-row-side) + var(--list-pad, calc(var(--vk-spacing) * 1.5)) * 2 + var(--vk-border-width) * 2);
1773
1929
  }
1774
1930
  /* The panel itself; the Picker's in its Popover draws the same panel from the same numbers. */
1775
1931
  .o-list:not([data-list-smoothing="round"], [data-list-smoothing="round"] *) {
@@ -1780,7 +1936,7 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
1780
1936
  .o-list:not([data-list-smoothing="round"], [data-list-smoothing="round"] *)::after {
1781
1937
  content: ""; position: absolute; inset: calc(var(--vk-border-width) * -1); z-index: -1; pointer-events: none; border-radius: inherit;
1782
1938
  }
1783
- .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)); }
1939
+ .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)); }
1784
1940
  .o-list:not([data-list-smoothing="round"], [data-list-smoothing="round"] *)::after {
1785
1941
  --smooth-t: max(0px, min(var(--list-panel-r), var(--list-panel-side) / 2) - var(--vk-border-width));
1786
1942
  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));
@@ -1818,10 +1974,10 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
1818
1974
  --menu-list-row: calc(var(--vk-spacing) * 13); --menu-list-corners: var(--vk-radius-xl); --menu-list-inset: calc(var(--vk-spacing) * 4);
1819
1975
  display: grid; gap: calc(var(--vk-spacing) * 3); min-width: 0;
1820
1976
  }
1821
- [data-menu-list-height="48"] .o-menu-list { --menu-list-row: calc(var(--vk-spacing) * 12); }
1822
- [data-menu-list-height="56"] .o-menu-list { --menu-list-row: calc(var(--vk-spacing) * 14); }
1823
- [data-menu-list-corners="lg"] .o-menu-list { --menu-list-corners: var(--vk-radius-lg); }
1824
- [data-menu-list-corners="2xl"] .o-menu-list { --menu-list-corners: var(--vk-radius-2xl); }
1977
+ [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); }
1978
+ [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); }
1979
+ [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); }
1980
+ [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); }
1825
1981
 
1826
1982
  /* ── A section: rows that belong together, on a card ─────────────────────────────────────────────────────────────── */
1827
1983
  .o-menu-list-section { display: grid; min-width: 0; overflow: hidden; border-radius: var(--menu-list-corners); background-color: var(--vk-overlay-card); }
@@ -1832,10 +1988,10 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
1832
1988
  as they are, a line under it, as a phone's action sheet holds its title. ─────────────────────────────────────────────────── */
1833
1989
  .o-menu-list-group { display: grid; gap: calc(var(--vk-spacing) * 1.5); min-width: 0; }
1834
1990
  .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)); }
1835
- [data-menu-list-rows="plain"] .o-menu-list-group > .o-list-heading { padding-inline: calc(var(--vk-spacing) * 2); }
1836
- [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); }
1837
- [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; }
1838
- [data-menu-list-rows="words"] .o-menu-list-group > .o-menu-list-section { border-radius: 0; box-shadow: none; }
1991
+ [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); }
1992
+ [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); }
1993
+ [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; }
1994
+ [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; }
1839
1995
 
1840
1996
  /* ── A row: an icon, its name, and on its right a value, an arrow, a tick or a switch ────────────────────────────── */
1841
1997
  .o-menu-list-row {
@@ -1896,36 +2052,36 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
1896
2052
  .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; }
1897
2053
 
1898
2054
  /* Its lines the card's whole width, or none. */
1899
- [data-menu-list-lines="none"] .o-menu-list-row::before { display: none; }
2055
+ [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; }
1900
2056
 
1901
2057
  /* Plain: on the sheet, no ground. A row keeps its own padding, and its press reaches a little past the page's line. */
1902
- [data-menu-list-rows="plain"] .o-menu-list-section { margin-inline: calc(var(--vk-spacing) * -2); overflow: visible; border-radius: 0; background-color: transparent; }
1903
- [data-menu-list-rows="plain"] :where(.o-menu-list) .o-menu-list-row { border-radius: var(--vk-radius-lg); }
1904
- [data-menu-list-rows="plain"] :where(.o-menu-list) .o-menu-list-row:active:not(:disabled, [data-disabled]) { background-color: var(--vk-overlay-pressed); }
2058
+ [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; }
2059
+ [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); }
2060
+ [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); }
1905
2061
 
1906
2062
  /* Joined: each row a tile, a hair apart, its section's two ends rounded. */
1907
- [data-menu-list-rows="joined"] .o-menu-list-section { gap: calc(var(--vk-spacing) * 0.75); overflow: visible; border-radius: 0; background-color: transparent; }
1908
- [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); }
1909
- [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); }
1910
- [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); }
1911
- [data-menu-list-rows="joined"] :where(.o-menu-list) .o-menu-list-row::before { display: none; }
1912
- [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); }
2063
+ [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; }
2064
+ [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); }
2065
+ [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); }
2066
+ [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); }
2067
+ [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; }
2068
+ [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); }
1913
2069
 
1914
2070
  /* 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
1915
2071
  sheet round it gives up its ground, its shadow and its handle. */
1916
- [data-menu-list-rows="words"] .o-menu-list { gap: calc(var(--vk-spacing) * 2); }
1917
- [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); }
1918
- [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); }
1919
- [data-menu-list-rows="words"] :where(.o-menu-list) .o-menu-list-row::before { background-color: var(--vk-border); }
1920
- [data-menu-list-rows="words"] :where(.o-menu-list) .o-menu-list-row:active:not(:disabled, [data-disabled]) { background-color: var(--vk-overlay-pressed); }
1921
- [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; }
1922
- [data-menu-list-rows="words"] :where(.o-menu-list) .o-menu-list-name { flex: none; }
1923
- [data-menu-list-rows="words"] .o-sheet.o-sheet:has(.o-menu-list) { background-color: transparent; box-shadow: none; }
1924
- [data-menu-list-rows="words"] .o-sheet.o-sheet:has(.o-menu-list) > .o-sheet-cut { background-color: transparent; clip-path: none; overflow: visible; }
1925
- [data-menu-list-rows="words"] .o-sheet:has(.o-menu-list) .o-sheet-handle { display: none; }
1926
- [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; }
1927
-
1928
- [data-menu-list-lines="full"] .o-menu-list-row { --menu-list-line: 0px; }
2072
+ [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); }
2073
+ [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); }
2074
+ [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); }
2075
+ [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); }
2076
+ [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); }
2077
+ [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; }
2078
+ [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; }
2079
+ [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; }
2080
+ [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; }
2081
+ [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; }
2082
+ [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; }
2083
+
2084
+ [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; }
1929
2085
 
1930
2086
  /* ── The tiles: the few done most, side by side over its rows ────────────────────────────────────────────────────── */
1931
2087
  .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; }
@@ -2010,7 +2166,7 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
2010
2166
  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) ─ */
2011
2167
  .o-menu-pair { padding-right: calc(var(--vk-spacing) * 52); }
2012
2168
  .o-menu-subwrap { position: relative; }
2013
- .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)); }
2169
+ .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))); }
2014
2170
 
2015
2171
  /* ── What scrolls in a menu's panel (MenuScroll): its rows, alone, when the panel is taller than the room on screen. ── */
2016
2172
  .o-menu-list-scroll { display: grid; min-height: 0; overflow-y: auto; overscroll-behavior: contain; outline: none; }
@@ -2051,6 +2207,23 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
2051
2207
  .o-menu-row[data-lifted] > .o-menu-grip { cursor: grabbing; }
2052
2208
  .o-menu-said { position: absolute; width: var(--vk-border-width); height: var(--vk-border-width); overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
2053
2209
 
2210
+ /* ── Its catcher of presses outside it: Base UI draws it unnamed beside the panel, in the menu's own portal. It stands on
2211
+ 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)
2212
+ takes a press on that overlay's dim and closes alone. ─────────────────────────────────────────────────── */
2213
+ .o-menu-portal > [role="presentation"] { z-index: var(--vk-layer-popup); }
2214
+
2215
+ /* ── The panel: it fits its widest row, 208px to 320px; its shadow, edge, corners and padding the list's options (list.css) ── */
2216
+ .o-list.o-menu { width: max-content; min-width: calc(var(--vk-spacing) * 52); max-width: calc(var(--vk-spacing) * 80); }
2217
+ /* Never taller than the room on screen: its rows, which alone scroll (MenuScroll, menu-list.css), stand in the panel's
2218
+ padding, the kit's scrollbar over them; the panel and its edge stay still. */
2219
+ .o-list.o-menu { max-height: var(--available-height); grid-template-rows: minmax(0, 1fr); }
2220
+
2221
+ /* ── The ⋯ button: under the pointer and while its menu is open, the neutral fill and the text colour ─ */
2222
+ .o-button.o-menu-dots { color: var(--vk-fg-subtle); }
2223
+ /* 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. */
2224
+ .o-button.o-menu-dots:is([data-popup-open], [data-force="hover"], [data-force="open"]) { --button-ground: var(--vk-neutral); color: var(--vk-fg); }
2225
+ @media (hover: hover) { .o-button.o-menu-dots:hover { --button-ground: var(--vk-neutral); color: var(--vk-fg); } }
2226
+
2054
2227
  .o-number { min-width: 0; }
2055
2228
  /* 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. */
2056
2229
  .o-number-bare { display: contents; }
@@ -2221,6 +2394,232 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
2221
2394
  [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)); }
2222
2395
  [data-phone-header-surface="flat"] .o-hd-bar > .o-hd-bar-side { gap: calc(var(--vk-spacing) * 0.5); }
2223
2396
 
2397
+ .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)); }
2398
+ /* 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
2399
+ it off the held row. */
2400
+ .o-picker { --picker-hold: var(--vk-hold-delay); }
2401
+ .o-picker .o-list-line { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
2402
+ /* A row's second line beside its name (Second line: Beside, Attio's): the name takes its width first, the line what is
2403
+ left, cut first; or below it, as the list's rows draw it. */
2404
+ .o-picker .o-list-text { display: flex; align-items: baseline; gap: calc(var(--vk-spacing) * 2); }
2405
+ .o-picker .o-list-main { flex: 0 1 auto; }
2406
+ .o-picker .o-list-line { flex: 1 1 0; min-width: 0; }
2407
+ [data-picker-line="below"] .o-picker .o-list-text { display: grid; gap: var(--vk-border-width); }
2408
+
2409
+ /* The check in the brand's circle at a row's end (Held: Check, Attio's), seen only on the row the field holds. */
2410
+ .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; }
2411
+ .o-picker-check > svg { width: calc(var(--vk-spacing) * 2.5); height: calc(var(--vk-spacing) * 2.5); }
2412
+ /* Read from the Picker's root, so the list's shared row class stays lib's (check-fields: a class lib homes is shared). */
2413
+ .o-picker .o-list-row:is([data-selected], [aria-selected="true"]) > .o-picker-check { visibility: visible; }
2414
+ /* Create below a line (Create: Below a line, Attio's): its words the text's, not the quieter ones. */
2415
+ .o-list-row.o-picker-create-apart .o-list-main { color: var(--vk-fg); }
2416
+
2417
+ /* ── The search: the shared line across a popup's top (popup-line.css), 6 above and below round its chips, 4 over the
2418
+ rows. With nothing to search it stays, out of sight, so the keys still work; a letter typed brings it back holding the
2419
+ letter. Its box is the kit's Input's list, bare: 64 at least beside chips, the list's words. ── */
2420
+ .o-picker-search { --popup-line-pad-block: calc(var(--vk-spacing) * 1.5); }
2421
+ .o-input-control.o-picker-input { min-width: calc(var(--vk-spacing) * 16); font-size: var(--vk-font-size-sm); }
2422
+ /* 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. */
2423
+ .o-picker-search-soft { flex: none; padding-bottom: calc(var(--vk-spacing) * 1); }
2424
+ /* What is picked as chips (the option Chips): the Options with their × before the words typed, wrapping. */
2425
+ .o-picker-chips { flex: 1; display: flex; flex-wrap: wrap; align-items: center; gap: calc(var(--vk-spacing) * 1.5); }
2426
+
2427
+ /* ── How many are picked, and Clear all, when several can be ────────────────────────────────────────────────────── */
2428
+ .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); }
2429
+ .o-picker-count > .o-button { margin: calc(var(--vk-spacing) * -1) calc(var(--vk-spacing) * -2) calc(var(--vk-spacing) * -1) 0; }
2430
+
2431
+ /* ── 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,
2432
+ so a row with its second line below stands whole and the rows scroll ──────────────────────────────────────── */
2433
+ .o-picker-listbox { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; outline: none; }
2434
+ .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; }
2435
+ .o-picker-rows > * { flex: none; }
2436
+ /* ── The foot: the actions, and Create where it stands below a line, under the rows, always in view; the shared line at the foot
2437
+ (popup-line.css), its line reaching as the search's, as the list's Dividers say, 4 under the rows, its rows
2438
+ standing where the rows above stand ── */
2439
+ .o-picker-foot.o-popup-line {
2440
+ --popup-line-height: 0px; --popup-line-under: var(--vk-spacing); --popup-line-gap: 0px;
2441
+ --popup-line-pad: var(--popup-line-reach); --popup-line-pad-block: var(--popup-line-reach);
2442
+ flex: none; flex-direction: column; align-items: stretch;
2443
+ }
2444
+
2445
+ /* ── On a computer it follows the list's rules, so a Picker and a Select's list side by
2446
+ 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
2447
+ (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
2448
+ 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,
2449
+ 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
2450
+ options it needs; the Popover knows nothing of what it holds. ── */
2451
+ .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))));
2452
+ --list-row-pill-in: var(--list-row-corners-pill, var(--list-row-pill, var(--list-box-pill, 0))); }
2453
+ .o-picker[data-picker-form="computer"] .o-picker-rows {
2454
+ 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));
2455
+ }
2456
+ .o-popover:has(.o-picker[data-picker-form="computer"]):not(:has([data-kit$="-editor"])) {
2457
+ --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));
2458
+ --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)));
2459
+ background-color: var(--vk-overlay);
2460
+ }
2461
+ .o-popover:has(.o-picker[data-picker-form="computer"]):not(:has([data-kit$="-editor"])) > .o-popover-cut { clip-path: none; }
2462
+ .o-popover:has(.o-picker[data-picker-form="computer"]):not(:has([data-kit$="-editor"])) > .o-popover-cut::before,
2463
+ .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 */
2464
+ /* Under the list's Smooth its panel is the Select's list's to the curve: the same radius (its rows' fitted corners plus
2465
+ 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
2466
+ Popover's cut eases nothing, so the Picker draws the panel itself, as the list does: its edge (::before) clipped by the kit's
2467
+ 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.
2468
+ 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
2469
+ 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
2470
+ ground there. */
2471
+ @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)) {
2472
+ .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; }
2473
+ .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; }
2474
+ .o-popover:has(.o-picker[data-picker-form="computer"]):not(:has([data-kit$="-editor"])):not([data-list-smoothing="round"] *) > .o-popover-cut::before,
2475
+ .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; }
2476
+ .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"] {
2477
+ --smooth-amount: initial; --smooth-t: min(var(--list-panel-r), var(--list-panel-side) / 2); --smooth-side: var(--list-panel-side);
2478
+ position: relative; isolation: isolate;
2479
+ }
2480
+ .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,
2481
+ .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 {
2482
+ content: ""; position: absolute; inset: calc(var(--list-pad, calc(var(--vk-spacing) * 1.5)) * -1); z-index: -1; pointer-events: none;
2483
+ }
2484
+ .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 {
2485
+ 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));
2486
+ }
2487
+ .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 {
2488
+ --smooth-t: max(0px, min(var(--list-panel-r), var(--list-panel-side) / 2) - var(--vk-border-width));
2489
+ 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));
2490
+ }
2491
+ }
2492
+ /* 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
2493
+ 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
2494
+ 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. */
2495
+ .o-picker[data-rest] .o-list-row[data-highlighted]:not([data-menu-open], [data-force="hover"]) { background-color: transparent; }
2496
+ .o-picker[data-rest] .o-list-row[data-highlighted]:not([data-menu-open]) > .o-picker-row-menu[data-shown="pointer"] { visibility: hidden; }
2497
+ @media (hover: hover) {
2498
+ .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))); }
2499
+ .o-picker[data-rest] .o-list-row[data-highlighted]:hover:not([data-menu-open]) > .o-picker-row-menu[data-shown="pointer"] { visibility: visible; }
2500
+ }
2501
+ /* 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
2502
+ Select's own did. */
2503
+ .o-list :is(.o-picker-search, .o-picker-foot) { --popup-line-bleed: var(--list-pad, calc(var(--vk-spacing) * 1.5)); }
2504
+ /* 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. */
2505
+ .o-picker[data-picker-form="computer"] { flex: 1 1 auto; min-height: 0; }
2506
+ .o-picker-kind { flex: none; font-size: var(--vk-font-size-xs); color: var(--vk-fg-subtlest); }
2507
+ /* 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
2508
+ company's amber, another kind its first letter on the neutral ground. On a phone a size up. */
2509
+ .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; }
2510
+ .o-picker-badge[data-of="person"] { background-color: var(--vk-label-blue); color: var(--vk-fg-inverse); }
2511
+ .o-picker-badge[data-of="company"] { background-color: var(--vk-label-amber); color: var(--vk-fg-inverse); }
2512
+ .o-picker-badge > svg { width: calc(var(--vk-spacing) * 3); height: calc(var(--vk-spacing) * 3); }
2513
+ .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); }
2514
+ .o-picker[data-picker-form="phone"] .o-picker-badge > svg { width: calc(var(--vk-spacing) * 3.75); height: calc(var(--vk-spacing) * 3.75); }
2515
+ /* 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. */
2516
+ .o-picker-lead { flex: none; font-size: var(--vk-font-size-xs); color: var(--vk-fg-subtlest); }
2517
+ .o-picker-lead-make { flex: none; }
2518
+ /* 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
2519
+ 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. */
2520
+ .o-picker-row-menu { flex: none; }
2521
+ .o-picker-row-menu[data-shown="pointer"] { visibility: hidden; }
2522
+ .o-picker .o-list-row:is([data-highlighted], [data-menu-open]) > .o-picker-row-menu[data-shown="pointer"] { visibility: visible; }
2523
+ .o-picker .o-list-row[data-menu-open] { background-color: var(--list-highlight, var(--list-hl-grey, var(--vk-overlay-pressed))); }
2524
+ /* 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,
2525
+ 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
2526
+ corners), the phone's lines beside it gone while it is carried. */
2527
+ .o-picker [data-row][data-drag-start] { -webkit-touch-callout: none; }
2528
+ .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); }
2529
+ .o-picker[data-picker-form="computer"] [data-row][data-lifted] { cursor: grabbing; clip-path: none; }
2530
+ .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; }
2531
+ /* A sign before the name (a currency's €), in a column of its own so the names line up. */
2532
+ .o-picker-sign { display: inline-block; min-width: calc(var(--vk-spacing) * 8); color: var(--vk-fg-subtle); font-variant-numeric: tabular-nums; }
2533
+ .o-picker-mark { display: inline-flex; align-items: center; margin-right: calc(var(--vk-spacing) * 2.5); vertical-align: middle; }
2534
+ /* 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
2535
+ (CHF) keeps the room before its name it has on a computer. */
2536
+ .o-picker[data-picker-form="phone"] .o-picker-sign { min-width: calc(var(--vk-spacing) * 9); }
2537
+ /* ── A level in (Attio's): ‹ at the search's start, in the magnifier's place, its words where they stood; the open level's
2538
+ own row on top; its rows in a box of their own, indented 20, a thin line along their start, 8 in
2539
+ 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
2540
+ one level in ends in its count and ›. On a phone the same, in the same Sheet, ‹ at the bar's start ── */
2541
+ /* Its 24 pulled in above and below to the magnifier's line, so the search never grows as it comes; still pressed whole. */
2542
+ .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); }
2543
+ /* 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. */
2544
+ .o-list-row.o-picker-parent { cursor: default; }
2545
+ @media (hover: hover) { .o-list-row.o-picker-parent:hover { background-color: var(--list-highlight, var(--list-hl-grey, var(--vk-overlay-pressed))); } }
2546
+ .o-picker-row.o-picker-parent { cursor: default; }
2547
+ .o-picker-level { --picker-level-pad: calc(var(--vk-spacing) * 2); position: relative; padding-left: calc(var(--vk-spacing) * 5); }
2548
+ .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); }
2549
+ /* 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
2550
+ 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
2551
+ card's own ground there. */
2552
+ .o-picker[data-picker-form="phone"] .o-picker-level { --picker-level-pad: calc(var(--vk-spacing) * 4); padding-left: 0; }
2553
+ .o-picker[data-picker-form="phone"] .o-picker-level::before { background-color: var(--vk-border); }
2554
+ .o-picker[data-picker-form="phone"] .o-picker-level > .o-picker-row { padding-left: calc(var(--vk-spacing) * 9); }
2555
+ .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; }
2556
+ .o-picker-bar > [data-back] { flex: none; margin-right: auto; }
2557
+ .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; }
2558
+ .o-picker-opens > svg { width: calc(var(--vk-spacing) * 4); height: calc(var(--vk-spacing) * 4); }
2559
+ .o-picker[data-picker-form="phone"] .o-picker-opens { font-size: var(--vk-font-size-sm); }
2560
+ /* 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
2561
+ one edge beside them; read as a level's count is, its figures lined up down the list. */
2562
+ .o-picker-row-count { flex: none; font-size: var(--vk-font-size-xs); color: var(--vk-fg-subtlest); font-variant-numeric: tabular-nums; }
2563
+ .o-picker[data-picker-form="phone"] .o-picker-row-count { font-size: var(--vk-font-size-sm); }
2564
+ .o-picker[data-picker-form="phone"] .o-picker-opens > svg { width: calc(var(--vk-spacing) * 5); height: calc(var(--vk-spacing) * 5); }
2565
+ .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); }
2566
+ .o-picker-icon > svg { width: 100%; height: 100%; }
2567
+ .o-picker-action > .o-kbd, .o-picker-action > .o-keys { flex: none; }
2568
+
2569
+ /* ── What the list is doing: searching, nothing matches, couldn't search, nothing yet; loading more at its end ────── */
2570
+ /* Centred (What the list is doing: Centred, Attio's), or at the start. */
2571
+ .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; }
2572
+ .o-picker-message-text { flex: 0 1 auto; }
2573
+ [data-picker-doing="start"] .o-picker-message { justify-content: flex-start; text-align: left; }
2574
+ [data-picker-doing="start"] .o-picker-message-text { flex: 1; }
2575
+ .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); }
2576
+
2577
+ /* ── 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
2578
+ 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 ──────────────── */
2579
+ .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)); }
2580
+ .o-picker-phone { display: flex; flex-direction: column; outline: none; }
2581
+ .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); }
2582
+ .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); }
2583
+ .o-picker-list { margin-top: calc(var(--vk-spacing) * 6); }
2584
+ .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; }
2585
+ .o-picker-row:has(.o-list-line) { min-height: calc(var(--vk-spacing) * 16); }
2586
+ .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; }
2587
+ /* A press shows; the keys' highlight shows only while something is typed in the search and it has focus (data-typed), the first
2588
+ 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
2589
+ takes a tap, looking pressed. */
2590
+ .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); }
2591
+ .o-picker-row[data-disabled] { color: var(--vk-fg-disabled); cursor: default; }
2592
+ .o-picker-row[data-disabled] .o-list-line { color: var(--vk-fg-disabled); }
2593
+ .o-picker-row .o-list-line { font-size: var(--vk-font-size-sm); }
2594
+ /* The circle: filled when held, an empty ring when it could be, grey with an edge when the field can't be left empty. */
2595
+ .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); }
2596
+ .o-picker-circle > svg { width: calc(var(--vk-spacing) * 3.25); height: calc(var(--vk-spacing) * 3.25); }
2597
+ .o-picker-circle-off { background-color: transparent; box-shadow: inset 0 0 0 calc(var(--vk-border-width) * 1.5) var(--vk-border-bold); }
2598
+ .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); }
2599
+ /* What the list is doing, in the list's place: centred words, and a button where there is something to do. */
2600
+ .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); }
2601
+ .o-picker-note b { color: var(--vk-fg); font-weight: var(--vk-font-weight-semibold); }
2602
+ .o-picker-first { padding-top: calc(var(--vk-spacing) * 30); }
2603
+ .o-picker[data-picker-form="phone"] .o-picker-more { min-height: calc(var(--vk-spacing) * 12); font-size: var(--vk-font-size-sm); }
2604
+ /* The bar: the search and ⋯, or Create while what is typed matches nothing, at the foot of what scrolls, over a fade to the
2605
+ ground; 8 over the padding the Sheet's body keeps under what it holds, which, while the search has focus, is the phone's
2606
+ keyboard (sheet.css, --sheet-keyboard), so it stands 8 over the keyboard and the list ends above it. */
2607
+ .o-picker-bar {
2608
+ 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);
2609
+ 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));
2610
+ background-image: linear-gradient(to bottom, transparent, var(--vk-overlay) calc(var(--vk-spacing) * 8));
2611
+ }
2612
+ .o-picker-pill { flex: 1; }
2613
+ /* ── A mark after a row's name (a private view's lock), quieter; and a phone's actions under the list (actionsUnder), each
2614
+ the outlined Button across the list's width, 16 under it ── */
2615
+ .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; }
2616
+ .o-picker-after > svg { width: calc(var(--vk-spacing) * 3.5); height: calc(var(--vk-spacing) * 3.5); }
2617
+ .o-picker[data-picker-form="phone"] .o-picker-after > svg { width: calc(var(--vk-spacing) * 4); height: calc(var(--vk-spacing) * 4); }
2618
+ .o-picker-under { display: grid; gap: calc(var(--vk-spacing) * 2); margin-top: calc(var(--vk-spacing) * 4); }
2619
+ .o-picker-under > .o-button { width: 100%; }
2620
+ @media (width < 640px) { .o-input-control.o-picker-input:where(:not([data-computer-host], [data-computer-host] *)) { font-size: var(--vk-font-size-base); } }
2621
+ @container o-phone (width < 640px) { .o-input-control.o-picker-input { font-size: var(--vk-font-size-base); } }
2622
+
2224
2623
  /* ── Where it stands: on the popup layer, over the Modal, the drawer and the sheet; one opened later stands
2225
2624
  over the one it opened from, being later on the page ─────────────────────────────────────────────────────────── */
2226
2625
  .o-popover-positioner { z-index: var(--vk-layer-popup); outline: none; }
@@ -2297,6 +2696,32 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
2297
2696
 
2298
2697
  /* Under reduced motion it just appears. */
2299
2698
  @media (prefers-reduced-motion: reduce) { .o-popover { transition: none; } }
2699
+ .o-popup-line {
2700
+ --popup-line-reach: var(--popup-line-bleed, calc(max(0px, calc(var(--popover-pad, 0px) - var(--vk-border-width))) + var(--popup-line-more, 0px)));
2701
+ display: flex; align-items: center; gap: var(--popup-line-gap, calc(var(--vk-spacing) * 2)); box-sizing: border-box;
2702
+ min-height: var(--popup-line-height, calc(var(--vk-spacing) * 8.75));
2703
+ margin: calc(-1 * var(--popup-line-reach)) calc(-1 * var(--popup-line-reach)) var(--popup-line-under, var(--vk-spacing));
2704
+ padding: var(--popup-line-pad-block, 0px) var(--popup-line-pad, calc(var(--vk-spacing) * 3));
2705
+ --popup-line-colour: var(--vk-border-subtle); border-bottom: var(--vk-border-width) solid var(--popup-line-colour);
2706
+ }
2707
+ .o-popup-line[data-at="foot"] {
2708
+ margin: var(--popup-line-under, var(--vk-spacing)) calc(-1 * var(--popup-line-reach)) calc(-1 * var(--popup-line-reach));
2709
+ border-top: var(--vk-border-width) solid var(--popup-line-colour); border-bottom: 0;
2710
+ }
2711
+ .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); }
2712
+ /* In a floating surface: its rule drawn in from each end, in the surface's line colour. */
2713
+ :is(.o-popover, .o-list) .o-popup-line {
2714
+ --popup-line-colour: var(--divider-colour, var(--vk-border-subtle));
2715
+ --popup-line-in: calc(var(--popup-line-reach) * var(--dividers-rows, 1) + var(--vk-spacing) * 2 * var(--dividers-words, 1));
2716
+ position: relative; border-color: transparent;
2717
+ }
2718
+ :is(.o-popover, .o-list) .o-popup-line::after {
2719
+ 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);
2720
+ background-color: var(--popup-line-colour); pointer-events: none;
2721
+ }
2722
+ :is(.o-popover, .o-list) .o-popup-line[data-at="foot"]::after { top: calc(-1 * var(--vk-border-width)); bottom: auto; }
2723
+ /* Refused, its line turns red; at the foot it has no line under it, and the Values editor's refused line draws its own. */
2724
+ .o-popup-line[data-bad]:not([data-at="foot"]) { --popup-line-colour: var(--vk-border-danger); }
2300
2725
 
2301
2726
  /* Doubled, so a component's own overflow: auto in the same layer never brings the sideways scroll back. */
2302
2727
  [data-scrollbar][data-scrollbar] { overflow-x: hidden; }
@@ -2329,6 +2754,88 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
2329
2754
 
2330
2755
  @media (prefers-reduced-motion: reduce) { .o-scrollbar { transition: none; } }
2331
2756
 
2757
+ /* ── The field: its value, then the chevron ────────────────────────────────────────────────────────── */
2758
+ .o-select { position: relative; }
2759
+ .o-select-field { display: flex; align-items: center; gap: calc(var(--vk-spacing) * 2); text-align: left; cursor: pointer; }
2760
+ .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; }
2761
+ .o-select-placeholder { color: var(--vk-fg-subtlest); }
2762
+ .o-select-field:is([data-disabled], :disabled) .o-select-placeholder { color: var(--vk-fg-disabled); }
2763
+ .o-select-chevron { flex: none; display: grid; place-items: center; transition: rotate var(--vk-duration-fast) var(--vk-ease-out); }
2764
+ .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; }
2765
+ /* The smallest, in dense rows: its words and chevron closer, the chevron 14px; on the phone 16px, as the
2766
+ field is 44px there. */
2767
+ .o-select-2xs .o-select-field { gap: calc(var(--vk-spacing) * 1.5); }
2768
+ .o-select-2xs .o-select-chevron svg { width: calc(var(--vk-spacing) * 3.5); height: calc(var(--vk-spacing) * 3.5); }
2769
+ @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); } }
2770
+ @container o-phone (width < 640px) { .o-select-2xs .o-select-chevron svg { width: calc(var(--vk-spacing) * 4); height: calc(var(--vk-spacing) * 4); } }
2771
+ .o-select-field[data-popup-open] .o-select-chevron:not([data-arrow="right"]) { rotate: 180deg; }
2772
+
2773
+ /* ── Typed into: the field holds the box you type in (the group's bare control), and with several, their
2774
+ chips first, each the Option with its own ×, wrapping onto more lines as they grow; from 32px up a quiet ×
2775
+ clears it; the chevron shows every choice ───────────────────────────────────────────────────────── */
2776
+ .o-select-field.o-select-typed { gap: calc(var(--vk-spacing) * 2); cursor: text; }
2777
+ .o-select-chips { flex: 1; min-width: 0; display: flex; align-items: center; gap: calc(var(--vk-spacing) * 1); overflow: hidden; }
2778
+ /* 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
2779
+ (the Option's "+1"), then the box to type in, which keeps room for what is typed (--select-typed, set as it is typed). */
2780
+ .o-select-chips > .o-option { flex: none; }
2781
+ .o-select-chips > .o-option:first-child { flex: 0 1 auto; min-width: 0; }
2782
+ .o-select-chips > [data-over] { display: none; }
2783
+ .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)); }
2784
+ /* The copy the chips are measured by: out of sight, taking no room, never focused or read. */
2785
+ .o-select-measure { position: absolute; width: 0; height: 0; overflow: hidden; visibility: hidden; pointer-events: none; }
2786
+ .o-select-measure > span { display: flex; width: max-content; gap: calc(var(--vk-spacing) * 1); white-space: pre; }
2787
+ .o-select-measure > span > * { flex: none; }
2788
+ .o-input-control.o-select-typed-input { min-width: calc(var(--vk-spacing) * 16); text-overflow: ellipsis; }
2789
+ .o-select-typed-input:disabled::placeholder { color: var(--vk-fg-disabled); }
2790
+ .o-select-typed-trigger { margin: 0; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; outline: none; }
2791
+ .o-select-typed-trigger:disabled { cursor: not-allowed; }
2792
+ .o-select-typed > .o-select-clear { flex: none; }
2793
+ /* One chosen, its mark before its name: the Input's own start addon, the field's 8px before the
2794
+ 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
2795
+ words are a search, the mark hidden, so the slot keeps the mark's width and the words never move. */
2796
+ .o-select-typed > .o-select-mark { position: relative; }
2797
+ .o-select-mark-own { display: flex; }
2798
+ .o-select-mark > .o-select-mark-search { position: absolute; inset: 50% auto auto 50%; translate: -50% -50%; visibility: hidden; }
2799
+ .o-select-mark[data-searching] > .o-select-mark-own { visibility: hidden; }
2800
+ .o-select-mark[data-searching] > .o-select-mark-search { visibility: visible; }
2801
+
2802
+ /* ── 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
2803
+ 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),
2804
+ 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.
2805
+ ──────────────────────────────────────────────────────────────────── */
2806
+ .o-select-list { display: flex; flex-direction: column; width: var(--anchor-width); max-width: var(--available-width); max-height: var(--available-height); overflow: hidden; }
2807
+ /* Where its place asks for its rows' width (listWidth: the filter editor's and the
2808
+ 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),
2809
+ 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
2810
+ Picker in a Popover handed its own width), and its foot takes the width the rows give it. */
2811
+ .o-select-list[data-list-width="rows"] {
2812
+ width: max-content; min-width: min(max(var(--anchor-width), calc(var(--vk-spacing) * 48)), var(--available-width));
2813
+ max-width: min(var(--available-width), calc(var(--vk-spacing) * 72));
2814
+ }
2815
+ .o-select-list[data-list-width="rows"] .o-picker-foot { contain: inline-size; }
2816
+ /* Under the list's Smooth its edge is a layer reaching over its border, which hiding what overflows would cut: the kit's
2817
+ outline cuts the panel instead, and its rows scroll inside it (the Picker's rows). */
2818
+ @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)) {
2819
+ .o-select-list:not([data-list-smoothing="round"] *) { overflow: visible; }
2820
+ }
2821
+ /* While a list is open the page behind it never moves (scroll.ts, holdsThePage). A finger that lands outside it lands on Base
2822
+ UI's backdrop, drawn just before the list's positioner, which closes the list and turns inert at once, so no script sees that
2823
+ finger again: it may never pan, read by the browser as the finger lands. */
2824
+ [data-base-ui-inert]:has(+ .o-list-positioner > .o-select-list) { touch-action: none; }
2825
+ /* 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
2826
+ box is, and iOS never zooms if something hands it the focus. */
2827
+ @media (width < 640px) { .o-select-form:where(:not([data-computer-host], [data-computer-host] *)) { font-size: var(--vk-font-size-base); } }
2828
+ @container o-phone (width < 640px) { .o-select-form { font-size: var(--vk-font-size-base); } }
2829
+
2830
+ /* ── Shown open, standing in the page: the list under its field, in the flow, the Picker standing: its held row lit at
2831
+ rest by picker.css's standing rule, the one under the pointer by Base UI, in the list's Highlight and its intensity. ─── */
2832
+ .o-select-shown { display: grid; gap: calc(var(--vk-spacing) * 1); min-width: 0; }
2833
+ .o-select-shown .o-select-list { position: relative; width: auto; max-width: none; max-height: none; }
2834
+ /* 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
2835
+ own, which lifts the field over what follows it unless that is lifted too. */
2836
+
2837
+ @media (prefers-reduced-motion: reduce) { .o-select-chevron { transition: none; } }
2838
+
2332
2839
  .o-sheet, .o-sheet-backdrop, .o-sheet-below {
2333
2840
  --sheet-spring: var(--vk-spring-quick); --sheet-spring-ease: var(--vk-ease-spring-quick); --sheet-spring-time: var(--vk-duration-spring-quick);
2334
2841
  }
@@ -5742,6 +6249,31 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
5742
6249
  --vk-label-teal-fill: hsl(196 52% 91.5%);
5743
6250
  --vk-label-teal-edge: hsl(196 52% 74.5%);
5744
6251
  --vk-label-teal-strong: hsl(193 82% 26%);
6252
+ --vk-person-1: #d7a77e;
6253
+ --vk-person-2: #93b6ce;
6254
+ --vk-person-3: #afc98f;
6255
+ --vk-person-4: #cfa3c9;
6256
+ --vk-person-5: #dcc57f;
6257
+ --vk-person-6: #9dabdd;
6258
+ --vk-person-fg: #10141a;
6259
+ --vk-success-bold: hsl(158 98% 26%);
6260
+ --vk-border-width: 1px;
6261
+ --vk-dot-size: 6px;
6262
+ --vk-font-size-2xl: 24px;
6263
+ --vk-font-size-2xs: 10px;
6264
+ --vk-font-size-3xs: 8px;
6265
+ --vk-font-size-sm: 14px;
6266
+ --vk-font-size-xs: 12px;
6267
+ --vk-font-weight-semibold: 600;
6268
+ --vk-radius-2xl: 20px;
6269
+ --vk-radius-full: 9999px;
6270
+ --vk-radius-lg: 10px;
6271
+ --vk-radius-md: 7.5px;
6272
+ --vk-radius-sm: 5px;
6273
+ --vk-radius-xl: 15px;
6274
+ --vk-radius-xs: 2.5px;
6275
+ --vk-spacing: 4px;
6276
+ --vk-tracking-normal: 0em;
5745
6277
  --vk-brand-hovered: hsl(219 70% 46.5%);
5746
6278
  --vk-brand-pressed: hsl(219 70% 38%);
5747
6279
  --vk-brand-subtler: hsl(218 100% 94%);
@@ -5753,7 +6285,6 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
5753
6285
  --vk-info-bold: hsl(219 87% 54%);
5754
6286
  --vk-info-bold-hovered: hsl(219 70% 46.5%);
5755
6287
  --vk-info-bold-pressed: hsl(219 70% 38%);
5756
- --vk-success-bold: hsl(158 98% 26%);
5757
6288
  --vk-success-bold-hovered: hsl(157 88% 24%);
5758
6289
  --vk-success-bold-pressed: hsl(156 87% 21%);
5759
6290
  --vk-warning-bold: hsl(25 92% 41%);
@@ -5770,9 +6301,7 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
5770
6301
  --vk-overlay-card-pressed: hsl(220 7% 90%);
5771
6302
  --vk-fg-disabled: hsl(210 1% 72%);
5772
6303
  --vk-fg-accent: hsl(219 87% 54%);
5773
- --vk-border-width: 1px;
5774
6304
  --vk-corner-smoothing: 0.7;
5775
- --vk-dot-size: 6px;
5776
6305
  --vk-duration-instant: 60ms;
5777
6306
  --vk-duration-fast: 150ms;
5778
6307
  --vk-duration-base: 200ms;
@@ -5782,19 +6311,11 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
5782
6311
  --vk-focus-width: 2px;
5783
6312
  --vk-focus-offset: 2px;
5784
6313
  --vk-font-weight-medium: 500;
5785
- --vk-font-weight-semibold: 600;
5786
6314
  --vk-hover-lift: 1px;
5787
6315
  --vk-press-scale: 0.98;
5788
6316
  --vk-press-squash: 1.025 0.92;
5789
6317
  --vk-press-travel: 1px;
5790
6318
  --vk-press-travel-lg: 2px;
5791
- --vk-radius-xs: 2.5px;
5792
- --vk-radius-sm: 5px;
5793
- --vk-radius-md: 7.5px;
5794
- --vk-radius-lg: 10px;
5795
- --vk-radius-xl: 15px;
5796
- --vk-radius-2xl: 20px;
5797
- --vk-radius-full: 9999px;
5798
6319
  --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);
5799
6320
  --vk-shadow-key-pressed: inset 0 1px 1.5px 0 hsl(214 30% 10% / 0.12);
5800
6321
  --vk-shadow-key-pressed-bold: inset 0 1px 1.5px 0 hsl(214 30% 10% / 0.28);
@@ -5808,9 +6329,6 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
5808
6329
  --vk-shadow-rim-bold: inset 0 1px 0 0 hsl(0 0% 100% / 0.22);
5809
6330
  --vk-shadow-rim-bold-raised: inset 0 1px 0 0 hsl(0 0% 100% / 0.3);
5810
6331
  --vk-shadow-rim-raised: inset 0 1px 0 0 hsl(0 0% 100% / 0.14);
5811
- --vk-spacing: 4px;
5812
- --vk-font-size-xs: 12px;
5813
- --vk-font-size-sm: 14px;
5814
6332
  --vk-font-size-base: 16px;
5815
6333
  --vk-font-size-lg: 18px;
5816
6334
  --vk-border-danger: hsl(3 87% 68%);
@@ -5916,7 +6434,6 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
5916
6434
  --vk-warning-subtler: hsl(19 72% 92.5%);
5917
6435
  --vk-font-weight-bold: 700;
5918
6436
  --vk-tracking-wide: 0.025em;
5919
- --vk-font-size-2xs: 10px;
5920
6437
  --vk-tooltip-delay: 500ms;
5921
6438
  --vk-tooltip-warm: 300ms;
5922
6439
  --vk-toast-duration: 4000ms;
@@ -6010,6 +6527,14 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
6010
6527
  --vk-label-teal-fill: hsl(196 32% 17.5%);
6011
6528
  --vk-label-teal-edge: hsl(195 42% 22.5%);
6012
6529
  --vk-label-teal-strong: hsl(196 67% 75.5%);
6530
+ --vk-person-1: #d7a77e;
6531
+ --vk-person-2: #93b6ce;
6532
+ --vk-person-3: #afc98f;
6533
+ --vk-person-4: #cfa3c9;
6534
+ --vk-person-5: #dcc57f;
6535
+ --vk-person-6: #9dabdd;
6536
+ --vk-person-fg: #10141a;
6537
+ --vk-success-bold: hsl(158 98% 34%);
6013
6538
  --vk-brand-hovered: hsl(219 95% 64%);
6014
6539
  --vk-brand-pressed: hsl(219 100% 72.5%);
6015
6540
  --vk-brand-subtler: hsl(218 32% 14.5%);
@@ -6021,7 +6546,6 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
6021
6546
  --vk-info-bold: hsl(219 87% 59.5%);
6022
6547
  --vk-info-bold-hovered: hsl(219 95% 64%);
6023
6548
  --vk-info-bold-pressed: hsl(219 100% 72.5%);
6024
- --vk-success-bold: hsl(158 98% 34%);
6025
6549
  --vk-success-bold-hovered: hsl(150 45% 51.5%);
6026
6550
  --vk-success-bold-pressed: hsl(148 46% 62.5%);
6027
6551
  --vk-warning-bold: hsl(25 92% 41%);