@birdycom/omniaui 0.13.0 → 0.14.1

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 (55) hide show
  1. package/bin/lib/copy-js.mjs +5 -1
  2. package/dist/components.css +975 -20
  3. package/dist/components.min.css +1 -1
  4. package/dist/docs-ui.css +12 -1
  5. package/dist/form-extras.d.ts +3 -1
  6. package/dist/form-extras.js +21 -3
  7. package/dist/language-select.d.ts +7 -0
  8. package/dist/language-select.js +48 -0
  9. package/dist/oc-theme.css +1 -1
  10. package/dist/particles.d.ts +14 -0
  11. package/dist/particles.js +133 -0
  12. package/dist/parts/app-accordion-accent.css +18 -1
  13. package/dist/parts/app-callout.css +20 -0
  14. package/dist/parts/app-group.css +36 -0
  15. package/dist/parts/app-page-header.css +1 -1
  16. package/dist/parts/app-status-dot.css +19 -4
  17. package/dist/parts/app-version-banner.css +18 -1
  18. package/dist/parts/data-dl-glossary.css +11 -0
  19. package/dist/parts/data-graph.css +132 -0
  20. package/dist/parts/data-meter-row.css +63 -3
  21. package/dist/parts/data-reading.css +26 -0
  22. package/dist/parts/data-step-list.css +42 -0
  23. package/dist/parts/forms-language-select.css +80 -0
  24. package/dist/parts/nav-menu-static.css +50 -0
  25. package/dist/parts/site-backgrounds.css +68 -0
  26. package/dist/parts/site-cards.css +2 -1
  27. package/dist/parts/site-doc-layout.css +39 -0
  28. package/dist/parts/site-layout.css +15 -1
  29. package/dist/parts/site-neon.css +47 -0
  30. package/dist/parts/site-prose.css +4 -1
  31. package/dist/parts/site-tint-card.css +223 -0
  32. package/dist/showcase.css +22 -5
  33. package/dist/toc.d.ts +9 -0
  34. package/dist/toc.js +96 -0
  35. package/manifest.json +88 -0
  36. package/package.json +5 -2
  37. package/snippets/accordion-accent.html +22 -0
  38. package/snippets/backgrounds.html +18 -0
  39. package/snippets/callout.html +17 -0
  40. package/snippets/definition-list.html +1 -0
  41. package/snippets/doc-layout.html +39 -0
  42. package/snippets/graph.html +41 -0
  43. package/snippets/group.html +34 -0
  44. package/snippets/language-select.html +11 -0
  45. package/snippets/menu-static.html +36 -0
  46. package/snippets/meter-row.html +23 -0
  47. package/snippets/neon.html +18 -0
  48. package/snippets/page-sections.html +1 -1
  49. package/snippets/particle-field.html +14 -0
  50. package/snippets/progress.html +1 -1
  51. package/snippets/reading.html +25 -0
  52. package/snippets/status-dot.html +1 -0
  53. package/snippets/step-list.html +28 -0
  54. package/snippets/tint-card.html +66 -0
  55. package/snippets/toc.html +1 -1
@@ -1,4 +1,4 @@
1
- /* File: oc-theme.css — generated from tokens/semantic.json by @birdycom/omniacss 0.13.0. Do not edit. */
1
+ /* File: oc-theme.css — generated from tokens/semantic.json by @birdycom/omniacss 0.14.1. Do not edit. */
2
2
  /* Semantic theme tokens: every color is light-dark() of an Omnia palette token (oc-colors.css). */
3
3
  /* Same source as the desktop export: npx omniacss tokens --format json|dtcg|python */
4
4
  :root {
@@ -2114,6 +2114,10 @@ a.oc-breadcrumb-item:hover {
2114
2114
  border-radius: 999px;
2115
2115
  transition: width 300ms ease;
2116
2116
  }
2117
+ /* contain: the width change of the bar is laid out inside the track only, never the page around it.
2118
+ --live: no transition, for a bar that gets a new value every few seconds in a window that stays open. */
2119
+ .oc-progress { contain: layout paint; }
2120
+ .oc-progress--live .oc-progress-bar { transition: none; }
2117
2121
 
2118
2122
  .oc-progress-bar--success { --oc-progress-color: var(--oc-success); }
2119
2123
  .oc-progress-bar--danger { --oc-progress-color: var(--oc-destructive); }
@@ -3887,6 +3891,8 @@ details.oc-collapsible[open]::details-content { block-size: auto; }
3887
3891
  .oc-lead { margin: 0 0 1rem; color: var(--oc-muted-foreground); font-size: 1.15rem; line-height: 1.65; max-inline-size: 42rem; text-wrap: pretty; }
3888
3892
  /* Larger and narrower, for a home hero. */
3889
3893
  .oc-lead--lg { font-size: 1.2rem; max-inline-size: 36rem; }
3894
+ /* Plain: the lead size in the text color and the full width (the intro of a product page). */
3895
+ .oc-lead--plain { color: var(--oc-foreground); max-inline-size: none; }
3890
3896
  .oc-split { display: grid; grid-template-columns: var(--oc-split-cols, repeat(auto-fit, minmax(min(100%, 24rem), 1fr))); gap: var(--oc-split-gap, 3rem); align-items: center; }
3891
3897
  /* Ratio presets (one column up to 960px): --lead makes the text column wider, --media the image column.
3892
3898
  Your own ratio: set --oc-split-cols in a class (and to 1fr in a media query for small screens). */
@@ -4055,17 +4061,32 @@ details.oc-collapsible[open]::details-content { block-size: auto; }
4055
4061
  --strong starts at the full accent with a wider ring. */
4056
4062
  .oc-pill .oc-status-dot {
4057
4063
  --oc-status-dot-pulse-alpha: 0.6;
4058
- --oc-status-dot-pulse-size: 8px;
4064
+ --oc-status-dot-pulse-scale: 3;
4065
+ position: relative;
4059
4066
  inline-size: 0.5rem;
4060
4067
  aspect-ratio: 1;
4061
4068
  border-radius: 50%;
4062
4069
  background: var(--oc-accent-from);
4063
- animation: oc-status-dot-ring 2s infinite;
4070
+ box-shadow: none;
4071
+ }
4072
+ /* The ring is a ::after that scales and fades (transform + opacity): drawn by the GPU, no work per frame on the page. */
4073
+ .oc-pill .oc-status-dot::after {
4074
+ content: "";
4075
+ position: absolute;
4076
+ inset: 0;
4077
+ border-radius: inherit;
4078
+ background: var(--oc-accent-from);
4079
+ opacity: 0;
4080
+ pointer-events: none;
4081
+ animation: oc-status-dot-ring 2s ease-out var(--oc-status-dot-pulses, infinite);
4064
4082
  }
4065
- .oc-pill .oc-status-dot--strong { --oc-status-dot-pulse-alpha: 1; --oc-status-dot-pulse-size: 10px; }
4083
+ .oc-pill .oc-status-dot--strong { --oc-status-dot-pulse-alpha: 1; --oc-status-dot-pulse-scale: 3.5; }
4066
4084
  @keyframes oc-status-dot-ring {
4067
- 0% { box-shadow: 0 0 0 0 oklch(from var(--oc-accent-from) l c h / var(--oc-status-dot-pulse-alpha)); }
4068
- 70%, 100% { box-shadow: 0 0 0 var(--oc-status-dot-pulse-size) transparent; }
4085
+ 0% { transform: scale(1); opacity: var(--oc-status-dot-pulse-alpha); }
4086
+ 70%, 100% { transform: scale(var(--oc-status-dot-pulse-scale)); opacity: 0; }
4087
+ }
4088
+ @media (prefers-reduced-motion: reduce) {
4089
+ .oc-pill .oc-status-dot::after { animation: none; }
4069
4090
  }
4070
4091
 
4071
4092
  /* Stat strip: big numbers in a bordered row (pairs with .oc-counter for counting up) */
@@ -4317,9 +4338,17 @@ details.oc-collapsible[open]::details-content { block-size: auto; }
4317
4338
  .oc-sidebar--docs.oc-sidebar--collapsed { inline-size: auto; }
4318
4339
 
4319
4340
  /* ---- On this page: .oc-toc ---------------------------------------------------------------------- */
4320
- .oc-toc { position: sticky; inset-block-start: 0; max-block-size: 100%; overflow: auto; padding-block-start: 2px; padding-inline-end: 0.5rem; }
4341
+ /* Sticky only from 64rem: stacked above the text on a phone it would stay over the text. It stops under a sticky site
4342
+ header (--oc-sticky-offset, see parts/site-doc-layout.css). */
4343
+ .oc-toc { max-block-size: 100%; overflow: auto; padding-block-start: 2px; padding-inline-end: 0.5rem; }
4344
+ @media (min-width: 64rem) {
4345
+ .oc-toc { position: sticky; inset-block-start: var(--oc-sticky-offset, 0px); }
4346
+ }
4321
4347
  .oc-toc-title { margin: 1rem 0 0.5rem; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--oc-muted-foreground); }
4322
4348
  .oc-toc-list { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
4349
+ /* Label above a group of links (Articles, Annexes): a <p> between two lists, or an <li> inside one list. */
4350
+ .oc-toc-group-label { margin: 1.25rem 0 0.4rem; padding-inline: 0.5rem; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--oc-subtle-foreground, var(--oc-muted-foreground)); }
4351
+ .oc-toc-group-label:first-child { margin-block-start: 0; }
4323
4352
  .oc-toc-link {
4324
4353
  display: block;
4325
4354
  padding: 0.375rem 0.5rem;
@@ -4336,6 +4365,9 @@ details.oc-collapsible[open]::details-content { block-size: auto; }
4336
4365
  .oc-toc-link.is-active { color: var(--oc-foreground); border-color: var(--oc-primary); background: oklch(from var(--oc-primary) l c h / 0.1); }
4337
4366
  /* Scroll-spy without JavaScript: the link of the heading you are reading is highlighted (native :target-current). */
4338
4367
  .oc-toc-list { scroll-target-group: auto; }
4368
+ /* One group for the whole table of contents, so with several lists (one per group) only one link lights up. */
4369
+ .oc-toc { scroll-target-group: auto; }
4370
+ .oc-toc .oc-toc-list { scroll-target-group: none; }
4339
4371
  .oc-toc-link:target-current { color: var(--oc-foreground); border-color: var(--oc-primary); background: oklch(from var(--oc-primary) l c h / 0.1); }
4340
4372
  .oc-toc-item--sub { margin-inline-start: 0.75rem; }
4341
4373
  .oc-toc-item--sub .oc-toc-link { font-size: 0.8125rem; }
@@ -5497,7 +5529,7 @@ input.oc-input[type="month"] { inline-size: auto; min-inline-size: 11rem; }
5497
5529
  .oc-separator--strong { background: var(--oc-border-strong); }
5498
5530
 
5499
5531
  /* parts/app-accordion-accent.css */
5500
- /* File: packages/ui/src/parts/app-accordion-accent.css | Map: accent accordion (separate cards) -> item card + left accent -> trigger -> open state -> color modifiers (presets) -> flush combination */
5532
+ /* File: packages/ui/src/parts/app-accordion-accent.css | Map: accent accordion (separate cards) -> item card + left accent -> trigger -> open state -> color modifiers (presets) -> status (data-status) -> status dot -> flush combination */
5501
5533
  /* Accordion accent: every item becomes its own card with a colored accent on the start edge.
5502
5534
  Add .oc-accordion--accent to an .oc-accordion. The color comes from --oc-accordion-accent:
5503
5535
  primary by default, or an existing .oc-accent--* preset (blue, cyan, green, orange, red, violet, yellow)
@@ -5551,6 +5583,23 @@ input.oc-input[type="month"] { inline-size: auto; min-inline-size: 11rem; }
5551
5583
  .oc-accordion--accent .oc-accordion-item--danger,
5552
5584
  .oc-accordion--accent.oc-accordion--danger .oc-accordion-item { --oc-accordion-accent: var(--oc-destructive); }
5553
5585
 
5586
+ /* Info and muted (not checked, skipped). */
5587
+ .oc-accordion--accent .oc-accordion-item--info { --oc-accordion-accent: var(--oc-info, light-dark(var(--color-deepskyblue-70), var(--color-skyblue-50))); }
5588
+ .oc-accordion--accent .oc-accordion-item--muted { --oc-accordion-accent: var(--oc-muted-foreground); }
5589
+
5590
+ /* Status of a check (one row per check): data-status="ok|warn|error|skip|pending" on the item. Pending is primary. */
5591
+ .oc-accordion--accent .oc-accordion-item[data-status="ok"] { --oc-accordion-accent: var(--oc-success); }
5592
+ .oc-accordion--accent .oc-accordion-item[data-status="warn"] { --oc-accordion-accent: var(--oc-warning); }
5593
+ .oc-accordion--accent .oc-accordion-item[data-status="error"] { --oc-accordion-accent: var(--oc-destructive); }
5594
+ .oc-accordion--accent .oc-accordion-item[data-status="skip"] { --oc-accordion-accent: var(--oc-muted-foreground); }
5595
+ .oc-accordion--accent .oc-accordion-item[data-status="pending"] { --oc-accordion-accent: var(--oc-primary); }
5596
+ .oc-accordion--accent .oc-accordion-item[data-status="skip"] > .oc-accordion-trigger { color: var(--oc-muted-foreground); }
5597
+
5598
+ /* A dot in the status color at the start of the trigger (hollow while pending). */
5599
+ .oc-accordion-accent-dot { flex-shrink: 0; inline-size: 0.5rem; block-size: 0.5rem; border-radius: 50%; background: var(--oc-accordion-accent); }
5600
+ .oc-accordion-trigger:has(> .oc-accordion-accent-dot) { justify-content: flex-start; gap: 0.6rem; }
5601
+ .oc-accordion-item[data-status="pending"] .oc-accordion-accent-dot { background: transparent; border: 1.5px solid var(--oc-accordion-accent); }
5602
+
5554
5603
  /* Accent + flush: no frame around each card except the accent edge. */
5555
5604
  .oc-accordion--accent.oc-accordion--flush .oc-accordion-item { border-block: 0; border-inline-end: 0; border-radius: 0; }
5556
5605
 
@@ -5655,6 +5704,28 @@ input.oc-input[type="month"] { inline-size: auto; min-inline-size: 11rem; }
5655
5704
  @keyframes oc-busy-in { from { opacity: 0; } }
5656
5705
  @media (prefers-reduced-motion: reduce) { .oc-busy-overlay[open], .oc-busy-overlay[open]::backdrop { animation-duration: 0s; } }
5657
5706
 
5707
+ /* parts/app-callout.css */
5708
+ /* File: packages/ui/src/parts/app-callout.css | Map: card row (text + action) -> text -> action -> narrow: action under the text */
5709
+ /* Callout: a small card with a text on the left and one action on the right ("Like the app? Support it" + a button).
5710
+ Centred vertically; when the card is narrower than about 300px the action moves under the text. */
5711
+
5712
+ .oc-callout {
5713
+ display: flex;
5714
+ flex-wrap: wrap;
5715
+ align-items: center;
5716
+ gap: 0.5rem 0.75rem;
5717
+ padding: 11px 13px;
5718
+ color: var(--oc-card-foreground, var(--oc-foreground));
5719
+ background: var(--oc-card-background, var(--oc-card));
5720
+ border: 1px solid var(--oc-card-border, var(--oc-border));
5721
+ border-radius: var(--oc-radius);
5722
+ }
5723
+ /* 12rem basis: next to a button the text wraps under it at about 300px. */
5724
+ .oc-callout__text { flex: 1 1 12rem; min-inline-size: 0; margin: 0; font-size: 0.85rem; line-height: 1.45; }
5725
+ .oc-callout__text strong { display: block; color: var(--oc-foreground); }
5726
+ .oc-callout__text > :is(p, span):not(:first-child) { color: var(--oc-muted-foreground); }
5727
+ .oc-callout__action { flex-shrink: 0; display: flex; gap: 0.5rem; }
5728
+
5658
5729
  /* parts/app-confirm-dialog.css */
5659
5730
  /* File: packages/ui/src/parts/app-confirm-dialog.css | Map: confirm modifier (icon ring) -> close button -> typed confirm field -> confirm lock -> three-button footer -> narrow screens */
5660
5731
  /* Confirm dialog: a variant of the alert dialog (dialog.oc-modal + .oc-alert-dialog).
@@ -6190,6 +6261,44 @@ input.oc-input[type="month"] { inline-size: auto; min-inline-size: 11rem; }
6190
6261
  .oc-greeting--lg .oc-greeting-title { font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem); }
6191
6262
  .oc-greeting--lg .oc-greeting-icon { inline-size: 3.5rem; block-size: 3.5rem; }
6192
6263
 
6264
+ /* parts/app-group.css */
6265
+ /* File: packages/ui/src/parts/app-group.css | Map: group -> head (title + aside) -> meta line -> hairline between groups */
6266
+ /* Group: one section inside a panel or widget (a service, an account), with a title, a short status on the right
6267
+ ("2 busy") and a muted line under it. Consecutive groups get a hairline between them.
6268
+ <section class="oc-group"><header class="oc-group__head"><h2 class="oc-group__title">…</h2><span class="oc-group__aside">…</span></header>
6269
+ <p class="oc-group__meta">…</p> … </section> The aside takes a color from data-tone="busy|ok|warn|error". */
6270
+
6271
+ .oc-group { padding: 14px 0 6px; }
6272
+ .oc-group + .oc-group { border-block-start: 1px solid var(--oc-group-line, var(--oc-glass-hairline, var(--oc-border))); }
6273
+ .oc-group__head {
6274
+ display: flex;
6275
+ align-items: baseline;
6276
+ justify-content: space-between;
6277
+ gap: 0.75rem;
6278
+ margin-block-end: 0.25rem;
6279
+ }
6280
+ .oc-group__title {
6281
+ min-inline-size: 0;
6282
+ margin: 0;
6283
+ overflow: hidden;
6284
+ font-size: 0.875rem;
6285
+ font-weight: 600;
6286
+ text-overflow: ellipsis;
6287
+ white-space: nowrap;
6288
+ }
6289
+ .oc-group__aside {
6290
+ flex-shrink: 0;
6291
+ font-size: 0.75rem;
6292
+ font-weight: 600;
6293
+ font-variant-numeric: tabular-nums;
6294
+ color: var(--oc-group-tone, var(--oc-muted-foreground));
6295
+ }
6296
+ .oc-group__aside[data-tone="busy"] { --oc-group-tone: var(--oc-primary); }
6297
+ .oc-group__aside[data-tone="ok"] { --oc-group-tone: var(--oc-success); }
6298
+ .oc-group__aside[data-tone="warn"] { --oc-group-tone: var(--oc-warning); }
6299
+ .oc-group__aside[data-tone="error"] { --oc-group-tone: var(--oc-destructive); }
6300
+ .oc-group__meta { margin: 0 0 0.625rem; font-size: 0.75rem; color: var(--oc-muted-foreground); }
6301
+
6193
6302
  /* parts/app-list-toolbar.css */
6194
6303
  /* File: packages/ui/src/parts/app-list-toolbar.css | Map: toolbar row -> search -> count -> view toggle (radio icons) -> actions -> sticky modifier -> CSS-only view switch (scope) -> narrow screens */
6195
6304
  /* List toolbar: search field + result count + cards / table view toggle + actions, above a list.
@@ -6390,7 +6499,7 @@ input.oc-input[type="month"] { inline-size: auto; min-inline-size: 11rem; }
6390
6499
  .oc-page-header--bordered { margin-block-end: 1rem; border-block-end: 1px solid var(--oc-border); }
6391
6500
 
6392
6501
  /* Sticky: stays on top while the page scrolls (needs a background). */
6393
- .oc-page-header--sticky { position: sticky; inset-block-start: 0; z-index: 10; background: var(--oc-background); }
6502
+ .oc-page-header--sticky { position: sticky; inset-block-start: var(--oc-sticky-offset, 0px); z-index: 10; background: var(--oc-background); }
6394
6503
 
6395
6504
  /* Small: for sub pages and dialogs. */
6396
6505
  .oc-page-header--sm { padding-block: 0.5rem 0.75rem; }
@@ -6690,17 +6799,32 @@ button.oc-stat-card:focus-visible { outline: 2px solid var(--oc-ring); outline-o
6690
6799
  vertical-align: middle;
6691
6800
  }
6692
6801
 
6693
- /* Tones. --working pulses a ring outwards. */
6802
+ /* Tones. --working pulses a ring outwards: a ::after that only scales and fades (transform + opacity), so the GPU
6803
+ draws it and the page does no style or paint work per frame, also in a window that is always open.
6804
+ --oc-status-dot-pulses: how many times (default infinite; 3 = pulse three times and then stay a steady dot).
6805
+ --still: working without the pulse. */
6806
+ :where(.oc-status-dot--working) { position: relative; }
6694
6807
  .oc-status-dot--working {
6695
6808
  --oc-status-dot-color: var(--oc-primary);
6696
- animation: oc-status-dot-pulse 1.8s ease-in-out infinite;
6697
6809
  }
6810
+ .oc-status-dot--working::after {
6811
+ content: "";
6812
+ position: absolute;
6813
+ inset: 0;
6814
+ border-radius: inherit;
6815
+ background: var(--oc-status-dot-color);
6816
+ opacity: 0;
6817
+ pointer-events: none;
6818
+ animation: oc-status-dot-pulse 1.8s ease-out var(--oc-status-dot-pulses, infinite);
6819
+ }
6820
+ .oc-status-dot--still::after { content: none; }
6698
6821
  .oc-status-dot--waiting { --oc-status-dot-color: var(--oc-warning); }
6699
6822
  .oc-status-dot--done { --oc-status-dot-color: var(--oc-success); }
6700
6823
  .oc-status-dot--error { --oc-status-dot-color: var(--oc-destructive); }
6701
6824
  .oc-status-dot--idle { --oc-status-dot-color: var(--oc-muted-foreground); box-shadow: none; opacity: 0.7; }
6702
6825
  @keyframes oc-status-dot-pulse {
6703
- 50% { box-shadow: 0 0 0 5px oklch(from var(--oc-status-dot-color) l c h / 0.08); }
6826
+ 0% { transform: scale(1); opacity: 0.35; }
6827
+ 100% { transform: scale(2.25); opacity: 0; }
6704
6828
  }
6705
6829
 
6706
6830
  /* Sizes */
@@ -6720,7 +6844,7 @@ button.oc-stat-card:focus-visible { outline: 2px solid var(--oc-ring); outline-o
6720
6844
  .oc-status__meta { flex: none; margin-inline-start: auto; color: var(--oc-muted-foreground); font-variant-numeric: tabular-nums; }
6721
6845
 
6722
6846
  @media (prefers-reduced-motion: reduce) {
6723
- .oc-status-dot--working { animation: none; }
6847
+ .oc-status-dot--working::after { animation: none; }
6724
6848
  }
6725
6849
 
6726
6850
  /* parts/app-table-actions.css */
@@ -7258,9 +7382,26 @@ a.oc-tree-label:focus-visible { outline: 2px solid var(--oc-ring); outline-offse
7258
7382
  block-size: 0.5rem;
7259
7383
  border-radius: 50%;
7260
7384
  background: var(--oc-version-banner-color);
7385
+ position: relative;
7386
+ }
7387
+ /* The pulse is a ::after that scales and fades (transform + opacity): drawn by the GPU, no work per frame. */
7388
+ .oc-version-banner-dot::after {
7389
+ content: "";
7390
+ position: absolute;
7391
+ inset: 0;
7392
+ border-radius: inherit;
7393
+ background: var(--oc-version-banner-color);
7394
+ opacity: 0;
7395
+ pointer-events: none;
7261
7396
  animation: oc-version-banner-pulse 2s ease-in-out infinite;
7262
7397
  }
7263
- @keyframes oc-version-banner-pulse { 50% { box-shadow: 0 0 0 4px oklch(from var(--oc-version-banner-color) l c h / 0.2); } }
7398
+ @keyframes oc-version-banner-pulse {
7399
+ 0%, 100% { transform: scale(1); opacity: 0; }
7400
+ 50% { transform: scale(2); opacity: 0.2; }
7401
+ }
7402
+ @media (prefers-reduced-motion: reduce) {
7403
+ .oc-version-banner-dot::after { animation: none; }
7404
+ }
7264
7405
 
7265
7406
  /* Text: the long text hides on small screens, the short one shows instead. */
7266
7407
  .oc-version-banner-text { min-inline-size: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@@ -7477,10 +7618,159 @@ a.oc-tree-label:focus-visible { outline: 2px solid var(--oc-ring); outline-offse
7477
7618
  .oc-chart-line__dot, .oc-chart-line__tip { transition: none; }
7478
7619
  }
7479
7620
 
7621
+ /* parts/data-dl-glossary.css */
7622
+ /* File: packages/ui/src/parts/data-dl-glossary.css | Map: glossary rows (term bold, explanation normal, same top line) */
7623
+ /* Glossary: the definition list (.oc-dl) as term + explanation instead of label + value. The term is bold in the
7624
+ foreground, the explanation normal text; both use the same line height, so their first lines sit on one line. */
7625
+
7626
+ .oc-dl--glossary .oc-dl-row { align-items: baseline; }
7627
+ .oc-dl--glossary :is(.oc-dl-term, .oc-dl-detail) { line-height: 1.55; }
7628
+ .oc-dl--glossary .oc-dl-term { color: var(--oc-foreground); font-weight: 600; }
7629
+ .oc-dl--glossary .oc-dl-detail { color: var(--oc-muted-foreground); font-weight: 400; overflow-wrap: break-word; }
7630
+ @media (min-width: 40rem) {
7631
+ .oc-dl--glossary .oc-dl-row { grid-template-columns: minmax(8rem, var(--oc-dl-term-width, 30%)) minmax(0, 1fr); }
7632
+ }
7633
+
7634
+ /* parts/data-graph.css */
7635
+ /* File: packages/ui/src/parts/data-graph.css
7636
+ Map: frame -> edges (moving dashes) -> nodes (halo, dot, mark, label) -> levels -> center node + pulse -> focus
7637
+ (one node lit, the rest dimmed) -> tooltip -> reduced motion
7638
+ Graph: the look of a small network graph in SVG, a center (a person, an account, a server) with linked nodes
7639
+ around it. Draw it yourself (by hand, d3 or any code) with these classes, or let OmniaUI Pro's network graph
7640
+ lay it out. Node colors follow the severity tokens: data-level="low|medium|high|critical" on .oc-graph__node.
7641
+ <div class="oc-graph"><svg class="oc-graph__svg" viewBox="…">
7642
+ <line class="oc-graph__edge" …/>
7643
+ <g class="oc-graph__node" data-level="high" transform="translate(…)"><circle class="oc-graph__halo" r="21"/>
7644
+ <circle class="oc-graph__dot" r="14"/><text class="oc-graph__mark">▲</text><text class="oc-graph__label" y="27">…</text></g>
7645
+ </svg></div> */
7646
+
7647
+ .oc-graph {
7648
+ --oc-graph-accent: var(--oc-accent-from, var(--oc-primary));
7649
+ position: relative;
7650
+ inline-size: 100%;
7651
+ color: var(--oc-foreground);
7652
+ }
7653
+ .oc-graph__svg { display: block; inline-size: 100%; block-size: auto; overflow: visible; }
7654
+
7655
+ /* Edges: thin dashed lines in the accent color that flow from the center outwards. */
7656
+ .oc-graph__edge {
7657
+ fill: none;
7658
+ stroke: var(--oc-graph-accent);
7659
+ stroke-opacity: 0.35;
7660
+ stroke-width: 1.5;
7661
+ stroke-dasharray: 6 4;
7662
+ animation: oc-graph-flow 1.5s linear infinite;
7663
+ transition: stroke-opacity 0.3s, stroke-width 0.3s;
7664
+ }
7665
+ @keyframes oc-graph-flow { to { stroke-dashoffset: -20; } }
7666
+
7667
+ /* Nodes: a soft halo, a dot in the level color, a mark inside and a label under it. */
7668
+ .oc-graph__node {
7669
+ --oc-graph-color: var(--oc-muted-foreground);
7670
+ cursor: default;
7671
+ outline: none;
7672
+ transition: opacity 0.3s;
7673
+ }
7674
+ .oc-graph__node[role="button"] { cursor: pointer; }
7675
+ .oc-graph__halo {
7676
+ fill: none;
7677
+ stroke: var(--oc-graph-color);
7678
+ stroke-opacity: 0.25;
7679
+ stroke-width: 9;
7680
+ filter: blur(3px);
7681
+ transition: stroke-opacity 0.3s, stroke-width 0.3s;
7682
+ }
7683
+ .oc-graph__dot {
7684
+ fill: var(--oc-graph-color);
7685
+ fill-opacity: 0.88;
7686
+ transition: fill-opacity 0.3s, scale 0.3s;
7687
+ transform-box: fill-box;
7688
+ transform-origin: center;
7689
+ }
7690
+ .oc-graph__mark {
7691
+ fill: var(--color-white-50);
7692
+ font-size: 10px;
7693
+ text-anchor: middle;
7694
+ dominant-baseline: central;
7695
+ pointer-events: none;
7696
+ }
7697
+ .oc-graph__label {
7698
+ fill: var(--oc-muted-foreground);
7699
+ font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
7700
+ font-size: 8.5px;
7701
+ text-anchor: middle;
7702
+ pointer-events: none;
7703
+ }
7704
+ .oc-graph__node:focus-visible .oc-graph__dot { stroke: var(--oc-ring); stroke-width: 2.5; }
7705
+
7706
+ /* Levels (the same tokens as the severity card); the tooltip takes the level of its node. */
7707
+ .oc-graph__node[data-level="low"],
7708
+ .oc-graph__tip[data-level="low"] { --oc-graph-color: var(--oc-success); }
7709
+ .oc-graph__node[data-level="medium"],
7710
+ .oc-graph__tip[data-level="medium"] { --oc-graph-color: var(--oc-warning); }
7711
+ .oc-graph__node[data-level="high"],
7712
+ .oc-graph__tip[data-level="high"] { --oc-graph-color: var(--oc-destructive); }
7713
+ .oc-graph__node[data-level="critical"],
7714
+ .oc-graph__tip[data-level="critical"] { --oc-graph-color: light-dark(var(--color-red-95), var(--color-red-30)); }
7715
+
7716
+ /* Center: the accent color, a thin white ring and a pulse that grows and fades. */
7717
+ .oc-graph__node--center { --oc-graph-color: var(--oc-graph-accent); }
7718
+ .oc-graph__node--center .oc-graph__dot { stroke: var(--color-white-50); stroke-opacity: 0.3; stroke-width: 1.5; }
7719
+ .oc-graph__node--center .oc-graph__mark { font-size: 13px; }
7720
+ .oc-graph__node--center .oc-graph__label { fill: var(--oc-graph-accent); }
7721
+ .oc-graph__pulse {
7722
+ fill: none;
7723
+ stroke: var(--oc-graph-accent);
7724
+ stroke-width: 2;
7725
+ transform-box: fill-box;
7726
+ transform-origin: center;
7727
+ animation: oc-graph-pulse 2.2s ease-out infinite;
7728
+ }
7729
+ @keyframes oc-graph-pulse {
7730
+ from { scale: 1; opacity: 0.6; }
7731
+ to { scale: 2; opacity: 0; }
7732
+ }
7733
+
7734
+ /* Focus: .is-focused on the graph and .is-active on one node light that node and its edge; the rest dims. */
7735
+ .oc-graph.is-focused .oc-graph__node:not(.is-active, .oc-graph__node--center) { opacity: 0.15; }
7736
+ .oc-graph.is-focused .oc-graph__edge { stroke-opacity: 0.08; stroke-width: 1; }
7737
+ .oc-graph.is-focused .oc-graph__edge.is-active { stroke-opacity: 0.8; stroke-width: 3; }
7738
+ .oc-graph__node.is-active .oc-graph__dot { fill-opacity: 1; scale: 1.55; }
7739
+ .oc-graph__node.is-active .oc-graph__halo { stroke-opacity: 0.6; stroke-width: 14; }
7740
+ .oc-graph__node.is-active .oc-graph__label { fill: var(--oc-graph-accent); }
7741
+
7742
+ /* Tooltip: level, title and meta lines of the node under the pointer. */
7743
+ .oc-graph__tip {
7744
+ position: absolute;
7745
+ z-index: 5;
7746
+ min-inline-size: 10rem;
7747
+ max-inline-size: 14rem;
7748
+ padding: 0.75rem;
7749
+ pointer-events: none;
7750
+ opacity: 0;
7751
+ background: var(--oc-popover);
7752
+ color: var(--oc-popover-foreground);
7753
+ border: 1px solid var(--oc-border);
7754
+ border-radius: 0.75rem;
7755
+ box-shadow: 0 8px 24px oklch(from var(--color-black-60) l c h / 0.15);
7756
+ transition: opacity 0.15s;
7757
+ }
7758
+ .oc-graph__tip.is-visible { opacity: 1; }
7759
+ .oc-graph__tip-level { margin-block-end: 0.25rem; font-size: 0.625rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--oc-graph-color, var(--oc-muted-foreground)); }
7760
+ .oc-graph__tip-title { margin-block-end: 0.375rem; font-size: 0.75rem; font-weight: 700; }
7761
+ .oc-graph__tip-meta { font-size: 0.6875rem; line-height: 1.6; color: var(--oc-muted-foreground); }
7762
+
7763
+ @media (prefers-reduced-motion: reduce) {
7764
+ .oc-graph__edge, .oc-graph__pulse { animation: none; }
7765
+ .oc-graph__pulse { opacity: 0; }
7766
+ }
7767
+
7480
7768
  /* parts/data-meter-row.css */
7481
- /* File: packages/ui/src/parts/data-meter-row.css | Map: row grid -> label and value -> bar and fill -> levels -> reset line -> list */
7769
+ /* File: packages/ui/src/parts/data-meter-row.css | Map: row grid -> label and value -> bar and fill (or a fill element) -> levels -> reset line -> sub-line -> list (compact, dense) */
7482
7770
  /* Usage meter row: a label, the usage as text, a bar and when it resets. The fill comes from
7483
- --oc-meter (0–100%); data-level="warn" or "critical" changes the color. */
7771
+ --oc-meter (0–100%); data-level="warn" or "critical" changes the color.
7772
+ A live meter can also carry its own fill element (<span class="oc-meter-row__fill" style="inline-size: 42%">):
7773
+ patch its inline width in place; the bar then draws no fill of its own. */
7484
7774
 
7485
7775
  .oc-meter-row {
7486
7776
  display: grid;
@@ -7492,6 +7782,7 @@ a.oc-tree-label:focus-visible { outline: 2px solid var(--oc-ring); outline-offse
7492
7782
  .oc-meter-row__value { font-size: 0.8125rem; font-variant-numeric: tabular-nums; color: var(--oc-muted-foreground); white-space: nowrap; }
7493
7783
  .oc-meter-row__value strong { color: var(--oc-foreground); }
7494
7784
  .oc-meter-row__bar {
7785
+ contain: layout paint;
7495
7786
  grid-column: 1 / -1;
7496
7787
  block-size: 0.5rem;
7497
7788
  overflow: hidden;
@@ -7507,16 +7798,73 @@ a.oc-tree-label:focus-visible { outline: 2px solid var(--oc-ring); outline-offse
7507
7798
  border-radius: inherit;
7508
7799
  transition: inline-size 0.4s ease;
7509
7800
  }
7801
+ .oc-meter-row__bar:has(> .oc-meter-row__fill)::before { content: none; }
7802
+ .oc-meter-row__fill {
7803
+ display: block;
7804
+ max-inline-size: 100%;
7805
+ block-size: 100%;
7806
+ background: var(--oc-meter-color, var(--oc-success));
7807
+ border-radius: inherit;
7808
+ transition: inline-size 0.4s ease;
7809
+ }
7510
7810
  .oc-meter-row[data-level="warn"] { --oc-meter-color: var(--oc-warning); }
7511
7811
  .oc-meter-row[data-level="critical"] { --oc-meter-color: var(--oc-destructive); }
7512
7812
  .oc-meter-row[data-level="critical"] .oc-meter-row__value strong { color: var(--oc-destructive); }
7513
7813
  .oc-meter-row__reset { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.75rem; color: var(--oc-muted-foreground); }
7814
+ /* Sub-line: a muted second reading under the bar ("VRAM 2.7 / 8.0 GB") with an optional thin bar of its own.
7815
+ The thin bar takes --oc-meter on itself (or an .oc-meter-row__fill child) and its own data-level. */
7816
+ .oc-meter-row__sub {
7817
+ grid-column: 1 / -1;
7818
+ display: flex;
7819
+ align-items: center;
7820
+ gap: 0.5rem;
7821
+ font-size: 0.75rem;
7822
+ font-variant-numeric: tabular-nums;
7823
+ color: var(--oc-muted-foreground);
7824
+ white-space: nowrap;
7825
+ }
7826
+ .oc-meter-row__subbar {
7827
+ --oc-meter-color: var(--oc-muted-foreground);
7828
+ contain: layout paint;
7829
+ flex: 1;
7830
+ min-inline-size: 2rem;
7831
+ block-size: 3px;
7832
+ overflow: hidden;
7833
+ background: var(--oc-muted);
7834
+ border-radius: 999px;
7835
+ }
7836
+ .oc-meter-row__subbar::before {
7837
+ content: "";
7838
+ display: block;
7839
+ inline-size: clamp(0%, var(--oc-meter, 0%), 100%);
7840
+ block-size: 100%;
7841
+ background: var(--oc-meter-color);
7842
+ border-radius: inherit;
7843
+ transition: inline-size 0.4s ease;
7844
+ }
7845
+ .oc-meter-row__subbar:has(> .oc-meter-row__fill)::before { content: none; }
7846
+ .oc-meter-row__subbar[data-level="warn"] { --oc-meter-color: var(--oc-warning); }
7847
+ .oc-meter-row__subbar[data-level="critical"] { --oc-meter-color: var(--oc-destructive); }
7848
+
7514
7849
  .oc-meter-list { display: grid; gap: 1rem; }
7515
7850
  .oc-meter-list--compact { gap: 0.625rem; }
7516
7851
  .oc-meter-list--compact .oc-meter-row__bar { block-size: 0.375rem; }
7852
+ /* Dense: for a small widget or tray window (5px bar, smaller label). */
7853
+ .oc-meter-list--dense { gap: 0.5rem; }
7854
+ .oc-meter-list--dense .oc-meter-row { gap: 0.25rem 0.625rem; }
7855
+ .oc-meter-list--dense .oc-meter-row__label { font-size: 0.8rem; }
7856
+ .oc-meter-list--dense .oc-meter-row__value { font-size: 0.75rem; }
7857
+ .oc-meter-list--dense .oc-meter-row__bar { block-size: 5px; }
7858
+ /* Live meters (a value every few seconds, a window that stays open): no width transition, so no layout per frame.
7859
+ The dense list is meant for that, so it has none either. */
7860
+ :is(.oc-meter-list--live, .oc-meter-list--dense) .oc-meter-row__bar::before,
7861
+ :is(.oc-meter-list--live, .oc-meter-list--dense) .oc-meter-row__subbar::before,
7862
+ :is(.oc-meter-list--live, .oc-meter-list--dense) .oc-meter-row__fill { transition: none; }
7517
7863
 
7518
7864
  @media (prefers-reduced-motion: reduce) {
7519
- .oc-meter-row__bar::before { transition: none; }
7865
+ .oc-meter-row__bar::before,
7866
+ .oc-meter-row__subbar::before,
7867
+ .oc-meter-row__fill { transition: none; }
7520
7868
  }
7521
7869
 
7522
7870
  /* parts/data-price.css */
@@ -7541,6 +7889,34 @@ a.oc-tree-label:focus-visible { outline: 2px solid var(--oc-ring); outline-offse
7541
7889
  td[data-numeric] > .oc-price, .oc-price--end { justify-items: end; text-align: end; }
7542
7890
  td[data-numeric] > .oc-price .oc-price__main, .oc-price--end .oc-price__main { justify-content: flex-end; }
7543
7891
 
7892
+ /* parts/data-reading.css */
7893
+ /* File: packages/ui/src/parts/data-reading.css | Map: reading -> levels (cool, warm, hot) -> inside a meter row */
7894
+ /* Reading: a small measured value next to another value ("57 °C", "1.2 GHz"), in tabular numbers.
7895
+ Levels: --cool (muted, the default look), --warm (warning) and --hot (destructive). The app picks the level,
7896
+ for example warm from 70 °C and hot from 85 °C. */
7897
+
7898
+ .oc-reading {
7899
+ display: inline-flex;
7900
+ align-items: center;
7901
+ gap: 0.25rem;
7902
+ padding: 0.0625rem 0.375rem;
7903
+ font-size: 0.75rem;
7904
+ font-weight: 600;
7905
+ font-variant-numeric: tabular-nums;
7906
+ line-height: 1.4;
7907
+ color: var(--oc-reading-color, var(--oc-muted-foreground));
7908
+ white-space: nowrap;
7909
+ background: oklch(from var(--oc-reading-color, var(--oc-muted-foreground)) l c h / 0.1);
7910
+ border: 1px solid oklch(from var(--oc-reading-color, var(--oc-muted-foreground)) l c h / 0.25);
7911
+ border-radius: 999px;
7912
+ }
7913
+ .oc-reading--cool { --oc-reading-color: var(--oc-muted-foreground); }
7914
+ .oc-reading--warm { --oc-reading-color: var(--oc-warning); }
7915
+ .oc-reading--hot { --oc-reading-color: var(--oc-destructive); }
7916
+
7917
+ /* In the value of a meter row: a little room before it. */
7918
+ .oc-meter-row__value .oc-reading { margin-inline-start: 0.375rem; }
7919
+
7544
7920
  /* parts/data-ribbon.css */
7545
7921
  /* File: packages/ui/src/parts/data-ribbon.css | Map: host (positioned, clipped) -> ribbon band -> four corners -> tones -> size -> RTL */
7546
7922
  /* Corner ribbon: a diagonal band across one corner of a card, an image or a document ("Paid", "New", "Sale").
@@ -7657,6 +8033,50 @@ td[data-numeric] > .oc-price .oc-price__main, .oc-price--end .oc-price__main { j
7657
8033
  .oc-spec-row > dd { margin: 0; min-inline-size: 0; font-weight: 500; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
7658
8034
  .oc-spec-row > dd > small { margin-inline-start: 0.25rem; font-weight: 400; color: var(--oc-muted-foreground); }
7659
8035
 
8036
+ /* parts/data-step-list.css */
8037
+ /* File: packages/ui/src/parts/data-step-list.css | Map: list (one column, counter) -> row (number + text) -> number color
8038
+ -> links -> small */
8039
+ /* Step list: a compact numbered list of steps inside a card or a disclosure ("How to remove this", the steps per
8040
+ service, what a scan does). One row per step: the number on the left in the display font, the text on the right.
8041
+ The number takes --oc-step-list-color, else the color of the severity card it sits in (--oc-severity-color), else
8042
+ primary. Start at another number: style="counter-reset: oc-step-list 3" (the first step is then 4).
8043
+ Not to be confused with .oc-steps, the large process section of a website. */
8044
+
8045
+ .oc-step-list {
8046
+ display: grid;
8047
+ gap: 0.6rem;
8048
+ margin: 0;
8049
+ padding: 0;
8050
+ list-style: none;
8051
+ counter-reset: oc-step-list;
8052
+ font-size: 0.875rem;
8053
+ line-height: 1.5;
8054
+ }
8055
+ /* The text flows as normal text (bold words and links stay inline); the number hangs in the indent on the first line. */
8056
+ .oc-step-list > li {
8057
+ position: relative;
8058
+ padding-inline-start: 1.85rem;
8059
+ counter-increment: oc-step-list;
8060
+ }
8061
+ .oc-step-list > li::before {
8062
+ content: counter(oc-step-list);
8063
+ position: absolute;
8064
+ inset-block-start: 0;
8065
+ inset-inline-start: 0;
8066
+ inline-size: 1.25rem;
8067
+ color: var(--oc-step-list-color, var(--oc-severity-color, var(--oc-primary)));
8068
+ font-family: var(--oc-font-display, inherit);
8069
+ font-weight: 700;
8070
+ font-variant-numeric: tabular-nums;
8071
+ text-align: end;
8072
+ }
8073
+ .oc-step-list > li > :first-child { margin-block-start: 0; }
8074
+ .oc-step-list > li > :last-child { margin-block-end: 0; }
8075
+ .oc-step-list a { text-underline-offset: 2px; }
8076
+
8077
+ /* Small: tighter rows and a smaller text, for a dense panel. */
8078
+ .oc-step-list--sm { gap: 0.4rem; font-size: 0.8125rem; }
8079
+
7660
8080
  /* parts/data-stock.css */
7661
8081
  /* File: packages/ui/src/parts/data-stock.css | Map: indicator (dot + text) -> levels (ok, low, out, order) -> badge variant -> count */
7662
8082
  /* Stock status: a colored dot with a short text ("In stock", "Only 3 left", "Out of stock", "On order").
@@ -8544,6 +8964,86 @@ button.oc-language-select {
8544
8964
  outline: none;
8545
8965
  }
8546
8966
  button.oc-language-select:hover { background: var(--oc-surface); }
8967
+
8968
+ /* Code: closed it shows only the language code ("NL"), open it shows the native list with the full names.
8969
+ 34 × 30px, for the actions of a title bar. The code comes from data-code on the wrapper; form-extras.js (and the
8970
+ React, Vue and Blade components) keep it in step with the chosen option (its data-code, else its value). */
8971
+ .oc-language-select--code {
8972
+ justify-content: center;
8973
+ inline-size: 34px;
8974
+ block-size: 30px;
8975
+ padding: 0;
8976
+ border-radius: calc(var(--oc-radius) - 2px);
8977
+ font-size: 0.75rem;
8978
+ font-weight: 700;
8979
+ letter-spacing: 0.04em;
8980
+ }
8981
+ .oc-language-select--code::before { content: attr(data-code); text-transform: uppercase; pointer-events: none; }
8982
+ .oc-language-select--code::after,
8983
+ .oc-language-select--code .oc-language-select-icon { display: none; }
8984
+ .oc-language-select--code .oc-language-select-control { position: absolute; inset: 0; padding: 0; opacity: 0; }
8985
+
8986
+ /* Open list in the OmniaUI dropdown look (Chrome and Edge 135+: customizable select, appearance: base-select).
8987
+ The native list of the system looked like a bare Windows list: narrow, small, no padding. Now it is a popover with
8988
+ the colors, padding, radius and shadow of .oc-dropdown-menu, as wide as the longest language (at least 8rem), with a check at the current
8989
+ language. Other browsers keep the system list (the select still works the same). */
8990
+ @supports (appearance: base-select) {
8991
+ .oc-language-select-control,
8992
+ .oc-language-select-control::picker(select) { appearance: base-select; }
8993
+ .oc-language-select-control {
8994
+ min-inline-size: 0;
8995
+ border: 0;
8996
+ background: transparent;
8997
+ }
8998
+ /* The list lines up with the whole pill (icon included), not only with the select inside it. anchor-scope keeps
8999
+ every pill its own anchor when a page has several. */
9000
+ .oc-language-select:has(> .oc-language-select-control) { anchor-name: --oc-language-select; anchor-scope: --oc-language-select; }
9001
+ .oc-language-select-control::picker(select) { position-anchor: --oc-language-select; }
9002
+ /* The label draws its own chevron (::after). */
9003
+ .oc-language-select-control::picker-icon { display: none; }
9004
+ .oc-language-select-control::picker(select) {
9005
+ /* As wide as the longest language, at least 8rem and never narrower than the field. */
9006
+ min-inline-size: max(8rem, anchor-size(inline));
9007
+ margin-block: 4px;
9008
+ padding: 4px;
9009
+ border: 1px solid var(--oc-border);
9010
+ border-radius: var(--oc-radius);
9011
+ background: var(--oc-popover);
9012
+ color: var(--oc-popover-foreground);
9013
+ box-shadow: 0 8px 24px oklch(from var(--color-black-60) l c h / 0.15);
9014
+ font-size: 0.875rem;
9015
+ font-weight: 400;
9016
+ letter-spacing: normal;
9017
+ text-transform: none;
9018
+ position-area: block-end span-inline-end;
9019
+ /* Under the field; above it only when it does not fit below (normal order: no "side with the most room"). */
9020
+ position-try-order: normal;
9021
+ position-try-fallbacks: flip-block;
9022
+ }
9023
+ .oc-language-select-control option {
9024
+ display: flex;
9025
+ align-items: center;
9026
+ gap: 1rem;
9027
+ padding: 8px 10px;
9028
+ border-radius: calc(var(--oc-radius) - 2px);
9029
+ background: transparent;
9030
+ color: inherit;
9031
+ cursor: pointer;
9032
+ }
9033
+ .oc-language-select-control option:hover,
9034
+ .oc-language-select-control option:focus-visible {
9035
+ background: var(--oc-accent);
9036
+ color: var(--oc-accent-foreground);
9037
+ outline: none;
9038
+ }
9039
+ .oc-language-select-control option:checked { font-weight: 600; }
9040
+ /* The check of the current language on the right, in the primary color. */
9041
+ .oc-language-select-control option::checkmark { order: 1; margin-inline-start: auto; color: var(--oc-primary); }
9042
+
9043
+ /* Code: the select lies over the whole button (still invisible text), the list opens under it, aligned right. */
9044
+ .oc-language-select--code .oc-language-select-control { opacity: 1; color: transparent; overflow: hidden; }
9045
+ .oc-language-select--code .oc-language-select-control::picker(select) { position-area: block-end span-inline-start; }
9046
+ }
8547
9047
 
8548
9048
  /* parts/forms-number-input.css */
8549
9049
  /* File: packages/ui/src/parts/forms-number-input.css
@@ -11211,6 +11711,58 @@ a.oc-message__quote:focus-visible { outline: 2px solid var(--oc-ring); outline-o
11211
11711
  .oc-watermark { --oc-watermark-opacity: 0.2; print-color-adjust: exact; }
11212
11712
  }
11213
11713
 
11714
+ /* parts/nav-menu-static.css */
11715
+ /* File: packages/ui/src/parts/nav-menu-static.css | Map: static menu (no popover, fills its box) -> check column -> hint -> group title */
11716
+ /* Static menu: the dropdown menu as a whole surface of its own, for a tray menu in its own small window or a menu
11717
+ inside a panel. .oc-dropdown-menu--static drops the popover position and fills its container.
11718
+ Items can carry a check column (.oc-dropdown-check, 20px, shows ✓ when the item has aria-checked="true") and a
11719
+ muted hint on the right (.oc-dropdown-hint). Group titles: .oc-dropdown-label; red item: .oc-dropdown-item--destructive. */
11720
+
11721
+ .oc-dropdown-menu.oc-dropdown-menu--static,
11722
+ .oc-dropdown-menu.oc-dropdown-menu--static[popover] {
11723
+ position: static;
11724
+ display: block;
11725
+ inline-size: 100%;
11726
+ min-inline-size: 0;
11727
+ margin: 0;
11728
+ animation: none;
11729
+ }
11730
+ /* In a transparent desktop window the window is the frame: --flat drops the border and shadow. */
11731
+ .oc-dropdown-menu--static.oc-dropdown-menu--flat { border: 0; border-radius: 0; box-shadow: none; background: transparent; }
11732
+
11733
+ .oc-dropdown-check {
11734
+ display: inline-flex;
11735
+ flex: none;
11736
+ justify-content: center;
11737
+ inline-size: 20px;
11738
+ margin-inline-start: -4px;
11739
+ color: var(--oc-primary);
11740
+ }
11741
+ .oc-dropdown-check::before {
11742
+ content: "";
11743
+ inline-size: 0.35rem;
11744
+ block-size: 0.65rem;
11745
+ border-inline-end: 2px solid currentColor;
11746
+ border-block-end: 2px solid currentColor;
11747
+ rotate: 45deg;
11748
+ translate: 0 -10%;
11749
+ opacity: 0;
11750
+ }
11751
+ .oc-dropdown-item[aria-checked="true"] > .oc-dropdown-check::before { opacity: 1; }
11752
+ /* With its own check column, the role-based check mark is not drawn a second time. */
11753
+ .oc-dropdown-item:has(> .oc-dropdown-check) { padding-inline-start: 10px; }
11754
+ .oc-dropdown-item:has(> .oc-dropdown-check)::before { content: none; }
11755
+
11756
+ .oc-dropdown-hint {
11757
+ margin-inline-start: auto;
11758
+ padding-inline-start: 1rem;
11759
+ font-size: 0.75rem;
11760
+ font-variant-numeric: tabular-nums;
11761
+ color: var(--oc-muted-foreground);
11762
+ white-space: nowrap;
11763
+ }
11764
+ .oc-dropdown-menu--static .oc-dropdown-label { font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; }
11765
+
11214
11766
  /* parts/nav-topbar-variants.css */
11215
11767
  /* File: packages/ui/src/parts/nav-topbar-variants.css
11216
11768
  Map: brand (logo tile, room before the menu) -> centred menu -> plain links -> dark / brand colour -> floating pill
@@ -11309,6 +11861,76 @@ a.oc-message__quote:focus-visible { outline: 2px solid var(--oc-ring); outline-o
11309
11861
  .oc-footerbar--dark :is(a, .oc-footerbar-links a) { color: oklch(from var(--color-white-50) l c h / 0.85); }
11310
11862
  .oc-footerbar--dark .oc-footerbar-links a:hover { color: var(--color-white-50); }
11311
11863
 
11864
+ /* parts/site-backgrounds.css */
11865
+ /* File: packages/ui/src/parts/site-backgrounds.css | Map: grid (--fixed, --fade) -> orb (--sm, --drift) -> scan lines -> particle canvas -> reduced motion */
11866
+ /* Background pack: decorative layers behind (or over) a page or a section. All are aria-hidden, ignore the pointer and
11867
+ follow the theme tokens; put them in a positioned parent (scan lines and the particle canvas cover the viewport unless --local).
11868
+ <div class="oc-bg-grid" aria-hidden="true"></div> <div class="oc-orb" aria-hidden="true"></div>
11869
+ <div class="oc-scanlines" aria-hidden="true"></div> <canvas class="oc-particles" aria-hidden="true"></canvas> (+ particles.js) */
11870
+
11871
+ /* Grid: thin lines in the primary color. --oc-bg-grid-size (60px) and --oc-bg-grid-line set the size and the color. */
11872
+ .oc-bg-grid {
11873
+ position: absolute;
11874
+ inset: 0;
11875
+ z-index: -1;
11876
+ pointer-events: none;
11877
+ background-image:
11878
+ linear-gradient(var(--oc-bg-grid-line, oklch(from var(--oc-primary) l c h / 0.04)) 1px, transparent 1px),
11879
+ linear-gradient(90deg, var(--oc-bg-grid-line, oklch(from var(--oc-primary) l c h / 0.04)) 1px, transparent 1px);
11880
+ background-size: var(--oc-bg-grid-size, 60px) var(--oc-bg-grid-size, 60px);
11881
+ }
11882
+ .oc-bg-grid--fixed { position: fixed; --oc-bg-grid-size: 40px; }
11883
+ /* Fade: the lines disappear towards the edges. */
11884
+ .oc-bg-grid--fade { mask-image: radial-gradient(ellipse at 50% 40%, black 30%, transparent 75%); }
11885
+
11886
+ /* Orb: a soft round glow in the accent color (.oc-accent--violet for another color). Place it with inset-* or translate. */
11887
+ .oc-orb {
11888
+ position: absolute;
11889
+ z-index: -1;
11890
+ inline-size: var(--oc-orb-size, min(500px, 90vw));
11891
+ aspect-ratio: 1;
11892
+ pointer-events: none;
11893
+ background: radial-gradient(circle, oklch(from var(--oc-accent-from) l c h / var(--oc-orb-strength, 0.15)) 0%, transparent 70%);
11894
+ border-radius: 50%;
11895
+ filter: blur(var(--oc-orb-blur, 50px));
11896
+ }
11897
+ .oc-orb--sm { --oc-orb-size: 18rem; --oc-orb-blur: 35px; }
11898
+ .oc-orb--drift { animation: oc-orb-drift 18s ease-in-out infinite alternate; }
11899
+ @keyframes oc-orb-drift { to { translate: 3rem 2rem; scale: 1.1; } }
11900
+
11901
+ /* Scan lines: a fine horizontal raster over the page (2% primary). --local keeps it inside a positioned parent. */
11902
+ .oc-scanlines {
11903
+ position: fixed;
11904
+ inset: 0;
11905
+ z-index: var(--oc-scanlines-z, 9999);
11906
+ pointer-events: none;
11907
+ background: repeating-linear-gradient(
11908
+ 0deg,
11909
+ transparent 0 2px,
11910
+ var(--oc-scanlines-color, oklch(from var(--oc-primary) l c h / 0.02)) 2px 4px
11911
+ );
11912
+ }
11913
+ .oc-scanlines--local { position: absolute; z-index: 1; }
11914
+
11915
+ /* Particle canvas: particles.js draws drifting points with thin lines between neighbours. It reads two colors from
11916
+ this element: color (points and lines) and border-color (a second point color). --local fills a positioned parent. */
11917
+ .oc-particles {
11918
+ position: fixed;
11919
+ inset: 0;
11920
+ z-index: -1;
11921
+ display: block;
11922
+ inline-size: 100%;
11923
+ block-size: 100%;
11924
+ pointer-events: none;
11925
+ color: var(--oc-accent-from);
11926
+ border: 0 solid var(--oc-accent-to);
11927
+ }
11928
+ .oc-particles--local { position: absolute; }
11929
+
11930
+ @media (prefers-reduced-motion: reduce) {
11931
+ .oc-orb--drift { animation: none; }
11932
+ }
11933
+
11312
11934
  /* parts/site-base.css */
11313
11935
  /* File: packages/ui/src/parts/site-base.css */
11314
11936
  /* Map: skip link -> icon */
@@ -11525,7 +12147,8 @@ a.oc-message__quote:focus-visible { outline: 2px solid var(--oc-ring); outline-o
11525
12147
  }
11526
12148
  .oc-note--md {
11527
12149
  max-inline-size: 60rem;
11528
- font-size: 1rem;
12150
+ /* The size of the running text around it (the body size of the page). */
12151
+ font-size: inherit;
11529
12152
  }
11530
12153
 
11531
12154
  /* Row of badges or pills above a title, and a tagline in the accent color (lighter, so it reads on a dark page). */
@@ -11587,6 +12210,47 @@ a.oc-message__quote:focus-visible { outline: 2px solid var(--oc-ring); outline-o
11587
12210
  filter: drop-shadow(0 10px 20px oklch(0 0 0 / 0.6));
11588
12211
  }
11589
12212
 
12213
+ /* parts/site-doc-layout.css */
12214
+ /* File: packages/ui/src/parts/site-doc-layout.css */
12215
+ /* Map: sticky offset (token, auto under a site header, scroll padding for anchors) -> document layout (side column +
12216
+ text) -> sticky side column from 64rem -> a table of contents inside it */
12217
+ /* A document page with a side column (a table of contents next to a privacy policy, terms or a manual) and the offset
12218
+ that keeps sticky parts and anchor jumps clear of a sticky site header.
12219
+ --oc-sticky-offset: how far from the top sticky parts stop. Set it yourself (:root { --oc-sticky-offset: 5rem }), or
12220
+ let it follow .oc-site-header: its height (--oc-site-header-height, 4.5rem) plus 1rem. Used by .oc-toc,
12221
+ .oc-doc-layout__aside, .oc-page-header--sticky and the scroll padding of the page, so a heading you jump to from the
12222
+ table of contents is not hidden under the header. */
12223
+
12224
+ /* Only the header of the page itself (not one shown as an example inside <main>); :where keeps it overridable, also
12225
+ by a scroll-p* utility on <html>. */
12226
+ :where(html:has(.oc-site-header:not(main *))) { --oc-sticky-offset: calc(var(--oc-site-header-height, 4.5rem) + 1rem); }
12227
+ :where(html) { scroll-padding-block-start: var(--oc-sticky-offset, 0px); }
12228
+
12229
+ /* Document layout: side column (--oc-doc-aside, 17rem) and the text; stacked below 64rem, side column first.
12230
+ --end puts the side column on the right on a wide screen. */
12231
+ .oc-doc-layout {
12232
+ display: grid;
12233
+ gap: var(--oc-doc-gap, 2rem 4rem);
12234
+ align-items: start;
12235
+ }
12236
+ .oc-doc-layout__aside,
12237
+ .oc-doc-layout__main { min-inline-size: 0; }
12238
+ @media (min-width: 64rem) {
12239
+ .oc-doc-layout { grid-template-columns: var(--oc-doc-aside, 17rem) minmax(0, 1fr); }
12240
+ .oc-doc-layout--end { grid-template-columns: minmax(0, 1fr) var(--oc-doc-aside, 17rem); }
12241
+ .oc-doc-layout--end > .oc-doc-layout__aside { order: 1; }
12242
+ /* Sticky only next to the text: stacked on a phone it would stay over the text. */
12243
+ .oc-doc-layout__aside {
12244
+ position: sticky;
12245
+ inset-block-start: var(--oc-sticky-offset, 0px);
12246
+ max-block-size: calc(100dvh - var(--oc-sticky-offset, 0px) - 1rem);
12247
+ overflow: auto;
12248
+ overscroll-behavior: contain;
12249
+ }
12250
+ }
12251
+ /* The column is sticky itself, so the table of contents in it is not. */
12252
+ .oc-doc-layout__aside .oc-toc { position: static; max-block-size: none; overflow: visible; }
12253
+
11590
12254
  /* parts/site-fact-list.css */
11591
12255
  /* File: packages/ui/src/parts/site-fact-list.css
11592
12256
  Map: plain -> compact -> stacked -> accent values -> narrow screens
@@ -11730,7 +12394,7 @@ a.oc-message__quote:focus-visible { outline: 2px solid var(--oc-ring); outline-o
11730
12394
 
11731
12395
  /* parts/site-layout.css */
11732
12396
  /* File: packages/ui/src/parts/site-layout.css */
11733
- /* Map: page hero -> section head / more -> action row -> group title -> band -> meta line */
12397
+ /* Map: page hero -> section head (split) / more -> action row -> group title -> band -> meta line */
11734
12398
  /* Page building blocks for a marketing or company site, on top of the showcase classes (.oc-section-pad, .oc-display):
11735
12399
  the larger header of an inner page, a section head and a "see more" row, a row of buttons, a group title with a count,
11736
12400
  a full-width band (for a stat strip) and a meta line (version · date). */
@@ -11751,6 +12415,20 @@ a.oc-message__quote:focus-visible { outline: 2px solid var(--oc-ring); outline-o
11751
12415
  margin-inline: auto;
11752
12416
  text-align: center;
11753
12417
  }
12418
+ /* Split: the title on the left, the lead on the right (one column below 56rem). Put the eyebrow and the title in a
12419
+ <div>, the lead next to it. */
12420
+ .oc-section-head--split {
12421
+ display: grid;
12422
+ gap: 1rem 4rem;
12423
+ align-items: end;
12424
+ max-inline-size: none;
12425
+ }
12426
+ .oc-section-head--split > :last-child,
12427
+ .oc-section-head--split > div > :last-child { margin-block-end: 0; }
12428
+ @media (min-width: 56rem) {
12429
+ .oc-section-head--split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
12430
+ .oc-section-head--split > .oc-lead { justify-self: end; max-inline-size: 36rem; }
12431
+ }
11754
12432
  .oc-section-more { margin-block-start: 2.5rem; }
11755
12433
 
11756
12434
  /* Row of buttons under a text: wraps on a narrow screen. */
@@ -11927,6 +12605,55 @@ a.oc-message__quote:focus-visible { outline: 2px solid var(--oc-ring); outline-o
11927
12605
  .oc-marquee__item[aria-hidden="true"] { display: none; }
11928
12606
  }
11929
12607
 
12608
+ /* parts/site-neon.css */
12609
+ /* File: packages/ui/src/parts/site-neon.css | Map: glowing border (animated) -> neon button -> reduced motion */
12610
+ /* Neon: a border that slowly glows from one accent color to the other, and a button with a neon gradient.
12611
+ Colors: --oc-accent-from and --oc-accent-to (brand-1 and brand-2, or an .oc-accent--* preset).
12612
+ .oc-glow-border goes on anything with a border: <form class="oc-glass oc-glow-border">, an .oc-card, a panel. */
12613
+
12614
+ /* The element keeps a steady border and glow in --oc-accent-from; a ::after with the border and a wider glow in
12615
+ --oc-accent-to fades in and out over it. Only opacity animates, so the GPU does it: no style or paint work per frame.
12616
+ position: relative only when the element has no position of its own (:where = no specificity). */
12617
+ :where(.oc-glow-border) { position: relative; }
12618
+ .oc-glow-border {
12619
+ border-color: var(--oc-accent-from);
12620
+ box-shadow: 0 0 10px oklch(from var(--oc-accent-from) l c h / 0.35), var(--oc-glow-extra, 0 0 transparent);
12621
+ }
12622
+ .oc-glow-border::after {
12623
+ content: "";
12624
+ position: absolute;
12625
+ inset: calc(-1 * var(--oc-glow-border-width, 1px));
12626
+ border: var(--oc-glow-border-width, 1px) solid var(--oc-accent-to);
12627
+ border-radius: inherit;
12628
+ box-shadow: 0 0 20px oklch(from var(--oc-accent-to) l c h / 0.35);
12629
+ opacity: 0;
12630
+ pointer-events: none;
12631
+ animation: oc-glow-border var(--oc-glow-border-duration, 3s) ease-in-out infinite;
12632
+ }
12633
+ /* Glass keeps its light top edge and drop shadow under the glow. */
12634
+ .oc-glass.oc-glow-border { --oc-glow-extra: var(--oc-glass-shadow), inset 0 1px 0 var(--oc-glass-edge-hi); }
12635
+ @keyframes oc-glow-border {
12636
+ 0%, 100% { opacity: 0; }
12637
+ 50% { opacity: 1; }
12638
+ }
12639
+
12640
+ /* Neon button: gradient from one accent to the other, with a glow. --oc-btn-neon-ink sets the text color. */
12641
+ .oc-btn--neon {
12642
+ font-weight: 700;
12643
+ letter-spacing: 0.08em;
12644
+ color: var(--oc-btn-neon-ink, light-dark(var(--color-white-50), var(--color-black-40)));
12645
+ background: linear-gradient(135deg, var(--oc-accent-from), var(--oc-accent-to)) border-box;
12646
+ border-color: transparent;
12647
+ box-shadow: 0 0 24px oklch(from var(--oc-accent-from) l c h / 0.4);
12648
+ transition: filter var(--oc-transition-fast), box-shadow var(--oc-transition-fast);
12649
+ }
12650
+ .oc-btn--neon:hover:not(:disabled) { filter: brightness(1.08); box-shadow: 0 0 32px oklch(from var(--oc-accent-from) l c h / 0.55); opacity: 1; }
12651
+ .oc-btn--neon:disabled { color: var(--oc-muted-foreground); background: var(--oc-muted); box-shadow: none; }
12652
+
12653
+ @media (prefers-reduced-motion: reduce) {
12654
+ .oc-glow-border::after { animation: none; }
12655
+ }
12656
+
11930
12657
  /* parts/site-next-teaser.css */
11931
12658
  /* File: packages/ui/src/parts/site-next-teaser.css
11932
12659
  Map: card -> label -> name (+ mark) -> tagline with arrow -> previous variant -> hover -> reduced motion
@@ -12343,7 +13070,8 @@ a.oc-message__quote:focus-visible { outline: 2px solid var(--oc-ring); outline-o
12343
13070
  .oc-prose :where(h3) { margin-block-start: 1.6em; font-size: 1.2em; }
12344
13071
  .oc-prose :where(h4) { margin-block-start: 1.4em; font-size: 1em; }
12345
13072
  .oc-prose :where(h1, h2, h3, h4) + :where(*) { margin-block-start: 0.6em; }
12346
- .oc-prose :where(h2, h3, h4) { scroll-margin-block-start: 5rem; }
13073
+ /* Room above a heading you jump to: 5rem, or 0.5rem on top of the page's scroll padding (--oc-sticky-offset). */
13074
+ .oc-prose :where(h2, h3, h4) { scroll-margin-block-start: max(0.5rem, 5rem - var(--oc-sticky-offset, 0px)); }
12347
13075
 
12348
13076
  /* ---- Paragraphs ---- */
12349
13077
  .oc-prose :where(p) { text-wrap: pretty; }
@@ -12466,6 +13194,8 @@ a.oc-message__quote:focus-visible { outline: 2px solid var(--oc-ring); outline-o
12466
13194
  .oc-prose--legal :where(a) { color: var(--oc-brand-1); font-weight: inherit; text-decoration-color: currentColor; text-underline-offset: 3px; }
12467
13195
  .oc-prose--legal :where(a:hover) { color: var(--oc-foreground); }
12468
13196
  .oc-prose--legal :where(table) { font-size: 0.93rem; }
13197
+ /* Ruled: a line under every h2, so the articles of a long document stand apart (with --legal or any prose). */
13198
+ .oc-prose--ruled :where(h2) { padding-block-end: 0.6rem; border-block-end: 1px solid var(--oc-border); }
12469
13199
 
12470
13200
  /* parts/site-stack-list.css */
12471
13201
  /* File: packages/ui/src/parts/site-stack-list.css
@@ -12573,6 +13303,231 @@ a.oc-message__quote:focus-visible { outline: 2px solid var(--oc-ring); outline-o
12573
13303
  /* Line in the accent color instead of the neutral border. */
12574
13304
  .oc-timeline--accent { border-inline-start-color: color-mix(in oklch, var(--oc-accent-from) 55%, transparent); }
12575
13305
 
13306
+ /* parts/site-tint-card.css */
13307
+ /* File: packages/ui/src/parts/site-tint-card.css */
13308
+ /* Map: tint card (link, tint, lift) -> head (title + go chip) -> text + meta -> corner art (drift, tilt on hover)
13309
+ -> glow -> tones -> large cards -> reduced motion */
13310
+ /* Tint card: a card that is a link, tinted in one color (--oc-tint), with a large outline webicon that sticks out of the
13311
+ bottom corner. The icon drifts slowly up and down (each card in a grid on its own beat) and tilts and grows on hover;
13312
+ a soft glow behind it grows with it. The arrow chip top right fills with the tint and the arrow flies out and back
13313
+ in. The card lifts 4px with a shadow in its own tint. For a row of services, training modules or product areas in an
13314
+ .oc-card-grid. Colors mix with the card color, so light and dark mode work without extra classes. */
13315
+
13316
+ .oc-tint-card {
13317
+ --oc-tint: var(--oc-primary);
13318
+ --oc-tint-foreground: var(--oc-primary-foreground);
13319
+ --oc-tint-mix: 9%;
13320
+ --oc-tint-mix-hover: 15%;
13321
+ position: relative;
13322
+ isolation: isolate;
13323
+ overflow: hidden;
13324
+ container-type: inline-size;
13325
+ display: flex;
13326
+ flex-direction: column;
13327
+ min-block-size: 9rem;
13328
+ padding: 1.5rem;
13329
+ border: 1px solid color-mix(in oklab, var(--oc-tint) 14%, transparent);
13330
+ border-radius: var(--oc-radius-xl, 1.5rem);
13331
+ background: color-mix(in oklab, var(--oc-tint) var(--oc-tint-mix), var(--oc-card, var(--oc-background)));
13332
+ color: var(--oc-foreground);
13333
+ text-decoration: none;
13334
+ transition:
13335
+ translate 0.3s var(--oc-ease-out, ease-out),
13336
+ box-shadow 0.3s var(--oc-ease-out, ease-out),
13337
+ background-color 0.3s var(--oc-ease-out, ease-out);
13338
+ }
13339
+ @media (min-width: 40rem) {
13340
+ .oc-tint-card { min-block-size: 15rem; padding: 1.75rem; }
13341
+ }
13342
+ .oc-tint-card:is(a, button):hover,
13343
+ .oc-tint-card:is(a, button):focus-visible,
13344
+ .oc-tint-card:has(.oc-tint-card__link:is(:hover, :focus-visible)) {
13345
+ translate: 0 -4px;
13346
+ background: color-mix(in oklab, var(--oc-tint) var(--oc-tint-mix-hover), var(--oc-card, var(--oc-background)));
13347
+ box-shadow: 0 24px 48px -24px color-mix(in oklab, var(--oc-tint) 45%, transparent);
13348
+ }
13349
+ .oc-tint-card:focus-visible { outline: 2px solid var(--oc-ring); outline-offset: 2px; }
13350
+ /* A card that is not a link itself: the title link covers the whole card. */
13351
+ .oc-tint-card__link { color: inherit; text-decoration: none; }
13352
+ .oc-tint-card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
13353
+ .oc-tint-card__link:focus-visible { outline: none; }
13354
+ .oc-tint-card__link:focus-visible::after { outline: 2px solid var(--oc-ring); outline-offset: 2px; }
13355
+
13356
+ /* Head: title on the left, the arrow chip on the right. */
13357
+ .oc-tint-card__head {
13358
+ display: flex;
13359
+ align-items: flex-start;
13360
+ justify-content: space-between;
13361
+ gap: 1rem;
13362
+ }
13363
+ .oc-tint-card__title {
13364
+ margin: 0;
13365
+ font-family: var(--oc-font-display, inherit);
13366
+ font-size: 1.125rem;
13367
+ font-weight: 650;
13368
+ line-height: 1.3;
13369
+ letter-spacing: -0.01em;
13370
+ text-wrap: balance;
13371
+ }
13372
+ .oc-tint-card__text {
13373
+ margin: 0.5rem 0 0;
13374
+ max-inline-size: 26ch;
13375
+ color: var(--oc-muted-foreground);
13376
+ font-size: 0.875rem;
13377
+ line-height: 1.6;
13378
+ text-wrap: pretty;
13379
+ }
13380
+ /* Meta line at the bottom (12 modules, New, From € 9): in the tint, pushed down. */
13381
+ .oc-tint-card__meta {
13382
+ margin-block-start: auto;
13383
+ padding-block-start: 1rem;
13384
+ color: color-mix(in oklab, var(--oc-tint) 75%, var(--oc-foreground));
13385
+ font-size: 0.8rem;
13386
+ font-weight: 600;
13387
+ }
13388
+ @container (min-width: 16rem) {
13389
+ .oc-tint-card__title { font-size: 1.25rem; }
13390
+ .oc-tint-card__text { font-size: 0.94rem; }
13391
+ }
13392
+
13393
+ /* Arrow chip: a round chip in the tint; on hover it fills and the arrow flies out top right and back in from below. */
13394
+ .oc-tint-card__go {
13395
+ display: inline-grid;
13396
+ place-items: center;
13397
+ flex-shrink: 0;
13398
+ inline-size: 2rem;
13399
+ block-size: 2rem;
13400
+ overflow: hidden;
13401
+ border-radius: 999px;
13402
+ background: color-mix(in oklab, var(--oc-tint) 16%, transparent);
13403
+ color: var(--oc-tint);
13404
+ font-size: 1.1rem;
13405
+ transition: background-color 0.3s, color 0.3s;
13406
+ }
13407
+ .oc-tint-card__go > * { display: block; }
13408
+ :is(a.oc-tint-card, button.oc-tint-card):is(:hover, :focus-visible) .oc-tint-card__go,
13409
+ .oc-tint-card:has(.oc-tint-card__link:is(:hover, :focus-visible)) .oc-tint-card__go {
13410
+ background: var(--oc-tint);
13411
+ color: var(--oc-tint-foreground);
13412
+ }
13413
+ :is(a.oc-tint-card, button.oc-tint-card):is(:hover, :focus-visible) .oc-tint-card__go > *,
13414
+ .oc-tint-card:has(.oc-tint-card__link:is(:hover, :focus-visible)) .oc-tint-card__go > * {
13415
+ animation: oc-tint-go 0.55s var(--oc-ease-out, ease-out);
13416
+ }
13417
+ @keyframes oc-tint-go {
13418
+ 0% { translate: 0 0; opacity: 1; }
13419
+ 45% { translate: 130% -130%; opacity: 0; }
13420
+ 46% { translate: -130% 130%; opacity: 0; }
13421
+ 100% { translate: 0 0; opacity: 1; }
13422
+ }
13423
+
13424
+ /* Corner art: a large outline webicon (mdi-light or material-symbols ...-outline), half outside the bottom corner.
13425
+ It drifts slowly (transform); hover tilts and grows it (rotate, scale), so the two never fight. */
13426
+ .oc-tint-card__art {
13427
+ position: absolute;
13428
+ inset-block-end: -1rem;
13429
+ inset-inline-end: -0.75rem;
13430
+ z-index: -1;
13431
+ display: block;
13432
+ color: var(--oc-tint);
13433
+ font-size: 6rem;
13434
+ line-height: 1;
13435
+ opacity: 0.32;
13436
+ pointer-events: none;
13437
+ transform-origin: 70% 70%;
13438
+ will-change: transform;
13439
+ animation: oc-tint-drift var(--oc-tint-drift, 6s) ease-in-out var(--oc-tint-delay, 0s) infinite alternate;
13440
+ transition:
13441
+ rotate 0.5s var(--oc-ease-out, ease-out),
13442
+ scale 0.5s var(--oc-ease-out, ease-out),
13443
+ opacity 0.5s var(--oc-ease-out, ease-out);
13444
+ }
13445
+ .oc-tint-card__art > * { display: block; }
13446
+ /* transform (not translate) + will-change: the drift runs on the GPU, so it costs no style work per frame. */
13447
+ @keyframes oc-tint-drift {
13448
+ from { transform: translate3d(0, 0, 0); }
13449
+ to { transform: translate3d(-4px, -10px, 0); }
13450
+ }
13451
+ /* Each card in a row drifts on its own beat. */
13452
+ .oc-tint-card:nth-child(5n + 2) { --oc-tint-delay: -1.2s; }
13453
+ .oc-tint-card:nth-child(5n + 3) { --oc-tint-delay: -2.4s; }
13454
+ .oc-tint-card:nth-child(5n + 4) { --oc-tint-delay: -3.6s; }
13455
+ .oc-tint-card:nth-child(5n + 5) { --oc-tint-delay: -4.8s; }
13456
+ :is(a.oc-tint-card, button.oc-tint-card):is(:hover, :focus-visible) .oc-tint-card__art,
13457
+ .oc-tint-card:has(.oc-tint-card__link:is(:hover, :focus-visible)) .oc-tint-card__art {
13458
+ rotate: -8deg;
13459
+ scale: 1.12;
13460
+ opacity: 0.5;
13461
+ }
13462
+
13463
+ /* Glow: a soft spot in the tint behind the icon that grows on hover. */
13464
+ .oc-tint-card::after {
13465
+ content: "";
13466
+ position: absolute;
13467
+ inset-block-end: -35%;
13468
+ inset-inline-end: -25%;
13469
+ z-index: -2;
13470
+ inline-size: min(75%, 14rem);
13471
+ aspect-ratio: 1;
13472
+ border-radius: 50%;
13473
+ background: radial-gradient(circle, color-mix(in oklab, var(--oc-tint) 24%, transparent), transparent 68%);
13474
+ scale: 0.8;
13475
+ pointer-events: none;
13476
+ transition: scale 0.6s var(--oc-ease-out, ease-out);
13477
+ }
13478
+ .oc-tint-card:is(a, button):is(:hover, :focus-visible)::after,
13479
+ .oc-tint-card:has(.oc-tint-card__link:is(:hover, :focus-visible))::after { scale: 1.15; }
13480
+
13481
+ /* On a phone the cards are low and wide: the icon stays small there and only grows from 40rem (in a card of 16rem+). */
13482
+ @media (min-width: 40rem) {
13483
+ .oc-tint-card__art { inset-block-end: -1.5rem; inset-inline-end: -1.5rem; font-size: 7rem; }
13484
+ @container (min-width: 16rem) {
13485
+ .oc-tint-card__art { font-size: 9rem; }
13486
+ }
13487
+ }
13488
+
13489
+ /* Tones (or set --oc-tint yourself: style="--oc-tint: #e8590c"). */
13490
+ .oc-tint-card--success { --oc-tint: var(--oc-success); --oc-tint-foreground: var(--oc-success-foreground); }
13491
+ .oc-tint-card--warning { --oc-tint: var(--oc-warning); --oc-tint-foreground: var(--oc-warning-foreground); }
13492
+ .oc-tint-card--destructive { --oc-tint: var(--oc-destructive); --oc-tint-foreground: var(--oc-destructive-foreground); }
13493
+ .oc-tint-card--info {
13494
+ --oc-tint: var(--oc-info, light-dark(var(--color-deepskyblue-70), var(--color-skyblue-50)));
13495
+ --oc-tint-foreground: #fff;
13496
+ }
13497
+ .oc-tint-card--muted { --oc-tint: var(--oc-muted-foreground); --oc-tint-foreground: var(--oc-background); }
13498
+
13499
+ /* Large: a card for a row of two or three, with more room and a larger icon. */
13500
+ .oc-tint-card--lg { min-block-size: 18rem; }
13501
+ @media (min-width: 40rem) {
13502
+ .oc-tint-card--lg { padding: 2.25rem; }
13503
+ }
13504
+ .oc-tint-card--lg .oc-tint-card__title { font-size: 1.5rem; }
13505
+ .oc-tint-card--lg .oc-tint-card__text { max-inline-size: 34ch; font-size: 1rem; }
13506
+ @media (min-width: 40rem) {
13507
+ @container (min-width: 22rem) {
13508
+ .oc-tint-card--lg .oc-tint-card__art { font-size: 12rem; }
13509
+ }
13510
+ }
13511
+
13512
+ /* With the fly-in (.oc-reveal--fly + fly.js) the card keeps its own hover transitions next to the fly-in ones. */
13513
+ .oc-fly-ready .oc-tint-card.oc-reveal--fly {
13514
+ transition:
13515
+ opacity 0.6s var(--oc-ease-out, ease) var(--oc-fly-delay, 0s),
13516
+ transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) var(--oc-fly-delay, 0s),
13517
+ translate 0.3s var(--oc-ease-out, ease-out),
13518
+ box-shadow 0.3s var(--oc-ease-out, ease-out),
13519
+ background-color 0.3s var(--oc-ease-out, ease-out);
13520
+ }
13521
+
13522
+ @media (prefers-reduced-motion: reduce) {
13523
+ .oc-tint-card,
13524
+ .oc-tint-card__art,
13525
+ .oc-tint-card::after { transition: none; animation: none; }
13526
+ .oc-tint-card:is(a, button):is(:hover, :focus-visible),
13527
+ .oc-tint-card:has(.oc-tint-card__link:is(:hover, :focus-visible)) { translate: none; }
13528
+ .oc-tint-card .oc-tint-card__go > * { animation: none !important; }
13529
+ }
13530
+
12576
13531
  /* parts/utility-hover.css */
12577
13532
  /* File: packages/ui/src/parts/utility-hover.css */
12578
13533
  /* Map: smooth timing -> lift / grow / glow / none -> steady hover area -> reduced motion */