actual-css 0.17.1 → 0.18.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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,45 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [0.18.0] - 2026-11-11
6
+ ### Added
7
+ - Docs: "Coding agents and DESIGN.md" guide — the skill, `PRODUCT.md`/`DESIGN.md`/`PROJECT.md` ownership, and working with a design skill such as Impeccable.
8
+ - Starter skill: reads the project's `DESIGN.md` after `PROJECT.md`.
9
+ - Starter skill: `PROJECT.md.example` gains a "Design mapping" section from `DESIGN.md` roles to Actual classes.
10
+ - `demo/templates/alerts.html`: alert icon alignment bench — icon sources, icon sets, text fonts, text sizes, line heights, icon sizes, message shapes, actions and lists, variants, mixed timeline markers and the neo-brutalist tile, with optional box guides.
11
+ - `demo/templates/carousel.html`: a hero carousel from one scroll-snap list, with full-width slides, native scroll buttons for previous/next and scroll markers as dots.
12
+ - `.list.grouped`: opt-in raised surface, border, rounded shell and inline gutter for standalone lists; `--list-radius` is the new hook.
13
+ - `neo-brutalist` and `glass` themes: `.list.grouped` joins the framed-surface and frosted-panel treatments.
14
+ - Docs: the List page composes grouped active-sessions and member rows, including a `surface sm` pill action, a badge and a row flyout.
15
+ - `.timeline-dates-end`: each event's `<time>` sits at the end of its first line instead of above it.
16
+ - `.timeline`: an icon slot with an intent gets a soft tinted disc, rim and ink, following `--soft-bg-mix` and `--soft-border-mix`.
17
+ - `--timeline-glyph-size`: icon and spinner size in a timeline slot, half the slot by default.
18
+ - `--timeline-marker-nudge`: moves the whole timeline marker off the first line box's centre, like `--alert-icon-nudge`.
19
+ - Docs: the Timeline page shows an in-progress event with a `.spinner` inside the icon slot.
20
+ - Docs: the Timeline page composes an activity feed with avatars, a `.chat-bubble` comment, a `.badge` status and a file `.btn`.
21
+
22
+ ### Changed
23
+ - Docs: the site loads Inter for its own pages; the framework keeps the platform faces, so a consumer's page depends on no locally installed family.
24
+ - `.btn.surface`: hover paints an opaque ink mix, so a surface button still shows feedback on a dark theme.
25
+ - `demo/templates/data-grid.html`: `data-grid-component` 3.10.0, with the grouped page-size footer, the floating bulk bar and one quiet control edge.
26
+ - `.btn.outline`: a neutral outline takes `--border-control`; an explicit intent keeps its color.
27
+ - Docs: the search panel opens on its destination quick links, keeps the close in the header row, and pins a keyboard footer below a scrolling result list.
28
+ - Docs: the header search opener is a quiet surface button on the control edge that shows `⌘ K` on macOS and `Ctrl K` elsewhere.
29
+ - Docs: the sidebar lists one destination's pages as static group sections instead of collapsible, indented rows.
30
+ - Docs: page-end navigation is two cards (Previous / Next); the source links are quiet text links.
31
+ - Docs: the header marks the active section by ink alone, so only the sidebar row is filled.
32
+ - `.timeline`: `--timeline-slot-size` defaults to `2rem`, and the dateline uses tabular numerals.
33
+
34
+ ### Fixed
35
+ - A bare checkbox or radio focuses in `--focus`; the core currentColor fallback painted the ring in the text ink, so it read as untinted on a dark surface.
36
+ - Docs: card hover lifts to `--border-control`; the former `--border-strong` was never a token, so `border-color` fell back to `currentColor` and drew a full-contrast ring.
37
+ - `check:docs` rejects a `var()` in the site chrome whose token no stylesheet declares.
38
+ - `.timeline`: an avatar or icon slot taller than the line box stays inside its event instead of overflowing the list and eating into `--timeline-gap`.
39
+ - `.alert-icon`: centred on the first line box from `--alert-line-height`, `--alert-font-size` and `--alert-icon-size` instead of a fixed `0.125em`; `--alert-line-height` and `--alert-icon-nudge` are the new hooks.
40
+ - `.alert.admonition > .alert-title > .alert-icon`: an icon in the admonition title bar takes `.alert-icon` and follows `--alert-icon-nudge`.
41
+ - `.alert > .close`: centred on the first line box and no longer grows the title row, which pushed the body down.
42
+ - `.alert > ul`, `.alert > ol`: bullets start on the text column's edge instead of the 40px UA indent.
43
+
5
44
  ## [0.17.1] - 2026-11-08
6
45
  ### Added
7
46
  - Docs: a "Skip to content" link is the first tab stop on every page.
package/README.md CHANGED
@@ -67,7 +67,7 @@ size is not worth optimizing:
67
67
  ```
68
68
 
69
69
  ```html
70
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/actual-css@0.17/dist/actual.full.min.css">
70
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/actual-css@0.18/dist/actual.full.min.css">
71
71
  ```
72
72
 
73
73
  ## Usage
@@ -144,7 +144,7 @@ registries:
144
144
  * **Full runtime, zero-config** — every built-in enhancer, compiled:
145
145
 
146
146
  ```html
147
- <script src="https://cdn.jsdelivr.net/npm/actual-css@0.17/dist/actual.full.js" type="module"></script>
147
+ <script src="https://cdn.jsdelivr.net/npm/actual-css@0.18/dist/actual.full.js" type="module"></script>
148
148
  ```
149
149
 
150
150
  * **Your own build** — copy the package's `src/js/full.js` as your entry,
@@ -186,8 +186,8 @@ Actual CSS is before 1.0:
186
186
  * A patch release (`0.12.0` → `0.12.1`) keeps every class and hook. It fixes
187
187
  bugs and may add hooks, so a fix can still move a rendering by a few pixels.
188
188
 
189
- The floating `actual-css@0.17` CDN path takes patches automatically. Pin the exact
190
- version (`actual-css@0.17.0`) when the rendering must not change without a
189
+ The floating `actual-css@0.18` CDN path takes patches automatically. Pin the exact
190
+ version (`actual-css@0.18.0`) when the rendering must not change without a
191
191
  review.
192
192
 
193
193
  ## Browser support
@@ -228,7 +228,9 @@ layout primitives and progressive enhancements without recreating framework
228
228
  behavior in application CSS.
229
229
 
230
230
  Copy it into your project's agent skills and extend it with your application's
231
- theme, loaded modules and local conventions.
231
+ theme, loaded modules and local conventions. Visual direction belongs in your
232
+ own `DESIGN.md`; see
233
+ [Coding agents and DESIGN.md](https://lekoala.github.io/actual-css/site/guides/coding-agents.html).
232
234
 
233
235
  ## License
234
236
 
package/components.json CHANGED
@@ -40,8 +40,10 @@
40
40
  "--alert-pad-block",
41
41
  "--alert-pad-inline",
42
42
  "--alert-font-size",
43
+ "--alert-line-height",
43
44
  "--alert-radius",
44
45
  "--alert-icon-size",
46
+ "--alert-icon-nudge",
45
47
  "--alert-border-inline-start-color",
46
48
  "--alert-border-inline-start-width"
47
49
  ],
@@ -462,6 +464,7 @@
462
464
  "cssImport": "actual-css/css/components/list",
463
465
  "docs": "https://lekoala.github.io/actual-css/site/components/list.html",
464
466
  "classes": [
467
+ "grouped",
465
468
  "list",
466
469
  "list-item",
467
470
  "list-item-content",
@@ -474,7 +477,8 @@
474
477
  "--list-item-pad-block",
475
478
  "--list-item-pad-inline",
476
479
  "--list-item-gap",
477
- "--list-divider"
480
+ "--list-divider",
481
+ "--list-radius"
478
482
  ],
479
483
  "states": [
480
484
  "aria-current"
@@ -851,18 +855,27 @@
851
855
  "cssImport": "actual-css/css/components/timeline",
852
856
  "docs": "https://lekoala.github.io/actual-css/site/components/timeline.html",
853
857
  "classes": [
854
- "timeline"
858
+ "timeline",
859
+ "timeline-dates-end"
855
860
  ],
856
861
  "publicHooks": [
857
862
  "--timeline-dot-size",
858
863
  "--timeline-slot-size",
864
+ "--timeline-glyph-size",
859
865
  "--timeline-gap",
860
866
  "--timeline-inline-gap",
861
- "--timeline-line-size"
867
+ "--timeline-line-size",
868
+ "--timeline-marker-nudge"
862
869
  ],
863
870
  "internalHooks": [
864
871
  "--timeline-rail-size",
865
- "--timeline-line-box"
872
+ "--timeline-line-box",
873
+ "--timeline-marker-shift",
874
+ "--timeline-marker-inset",
875
+ "--timeline-marker-center",
876
+ "--timeline-slot-bg",
877
+ "--timeline-slot-border",
878
+ "--timeline-slot-fg"
866
879
  ],
867
880
  "states": [
868
881
  "aria-hidden"
@@ -871,6 +884,9 @@
871
884
  ".timeline li": [
872
885
  "::after",
873
886
  "::before"
887
+ ],
888
+ ".timeline-dates-end time": [
889
+ "::before"
874
890
  ]
875
891
  }
876
892
  },
@@ -81,7 +81,10 @@ select {
81
81
  */
82
82
 
83
83
  /* Typography */
84
- --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
84
+ /* The platform's own faces, never a download: a framework cannot assume a
85
+ locally installed family, and naming one renders the same page differently
86
+ on two machines of the same OS. The docs site loads a webfont instead. */
87
+ --font-sans: system-ui, sans-serif;
85
88
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
86
89
  --font-width: 100%;
87
90
  --line-height: 1.5;
@@ -2695,6 +2698,13 @@ small {
2695
2698
  --choice-border: var(--text-subtle);
2696
2699
  }
2697
2700
 
2701
+ /* A bare checkbox or radio (a table row selector, an application's native
2702
+ control) is boxed by its own skin, not text-like: it takes the themed ring
2703
+ instead of the core currentColor fallback, which paints the text ink. */
2704
+ :where(input[type="checkbox"], input[type="radio"]) {
2705
+ --focus-outline-color: var(--focus);
2706
+ }
2707
+
2698
2708
  .check:focus-visible,
2699
2709
  .radio:focus-visible {
2700
2710
  outline: var(--focus-ring-width) solid var(--focus);
@@ -4426,8 +4436,26 @@ small {
4426
4436
  --ui-border: transparent;
4427
4437
  }
4428
4438
 
4429
- /* Solid keeps the overlay darkening on hover; soft/outline/ghost/link stay
4430
- flat. The soft hover is its own fill change (--soft-hover-alpha) — a second
4439
+ /* A neutral outline is a quiet action, so its edge is the control edge that
4440
+ identifies a field, not the full text ink. An explicit intent still wins
4441
+ through --intent, and --border-control stays the theme's override point. */
4442
+ .btn.outline {
4443
+ --ui-border: var(--intent, var(--border-control));
4444
+ }
4445
+
4446
+ /* A surface button is neutral chrome, so it hovers at the .outline rate: an
4447
+ opaque mix keeps its fill (--ui-bg, so an author override follows), and ink
4448
+ rather than a black wash stays visible on a dark page. Without color-mix()
4449
+ the solid overlay is the fallback. */
4450
+ @supports (color: color-mix(in oklab, red, white)) {
4451
+ .btn.surface {
4452
+ --ui-hover-bg: color-mix(in oklab, var(--ui-bg) 90%, var(--intent, var(--text)));
4453
+ --btn-hover-overlay: transparent;
4454
+ }
4455
+ }
4456
+
4457
+ /* Solid keeps the overlay darkening on hover. The recipes below keep their
4458
+ fill: the soft hover is its own fill change (--soft-hover-alpha) — a second
4431
4459
  overlay on top would double the fill step and drag its ink below the resting
4432
4460
  contrast on every intent. Routed through a variable instead of a
4433
4461
  :not(.outline, .ghost, .link) exclusion so the hover rule below only has to
@@ -4964,8 +4992,10 @@ a.badge[aria-disabled="true"] {
4964
4992
  * --alert-pad-block
4965
4993
  * --alert-pad-inline
4966
4994
  * --alert-font-size
4995
+ * --alert-line-height
4967
4996
  * --alert-radius
4968
4997
  * --alert-icon-size
4998
+ * --alert-icon-nudge
4969
4999
  * --alert-border-inline-start-color
4970
5000
  * --alert-border-inline-start-width
4971
5001
  *
@@ -4992,6 +5022,7 @@ a.badge[aria-disabled="true"] {
4992
5022
  --alert-pad-block: var(--space-30);
4993
5023
  --alert-pad-inline: var(--space-40);
4994
5024
  --alert-font-size: var(--font-size-md);
5025
+ --alert-line-height: var(--line-height);
4995
5026
  --alert-icon-size: 1.25rem;
4996
5027
  --alert-default-bg: var(--surface-subtle);
4997
5028
  --alert-default-fg: var(--intent, var(--text));
@@ -5009,6 +5040,11 @@ a.badge[aria-disabled="true"] {
5009
5040
  border-inline-start-width: var(--alert-border-inline-start-width, var(--border-width));
5010
5041
  border-radius: var(--alert-radius, var(--radius-lg));
5011
5042
  font-size: var(--alert-font-size);
5043
+ /* why: the icon offset below is derived from this line box. Inheriting the
5044
+ leading would leave the formula blind to a container that changed it, so
5045
+ the alert owns its line height the way it owns its font size; an author
5046
+ changing the rhythm sets the hook, not `line-height` directly. */
5047
+ line-height: var(--alert-line-height);
5012
5048
  }
5013
5049
 
5014
5050
  /* Density steps the block padding only: the inline padding is the text
@@ -5030,7 +5066,7 @@ a.badge[aria-disabled="true"] {
5030
5066
  siblings instead of a wrapper carrying an inline --gap. What made that pair
5031
5067
  read as detached is the UA paragraph margin: trimming only the outer edges
5032
5068
  left it in place between them. Content keeps its own internal rhythm — a
5033
- nested list keeps its bullets and padding, a .prose child keeps its flow.
5069
+ list keeps its bullets, a .prose child keeps its flow.
5034
5070
  The slots are excluded because they are anatomy, not content: an
5035
5071
  admonition's title bar has to stay flush against its body. The list follows
5036
5072
  the anatomy, so it grows with it. */
@@ -5044,6 +5080,13 @@ a.badge[aria-disabled="true"] {
5044
5080
  margin-block-start: var(--space-10);
5045
5081
  }
5046
5082
 
5083
+ /* why: the UA indent (40px) set a list's bullets in a column of their own,
5084
+ detached from the title above it. The bullets start on the text column's
5085
+ edge instead, the way an error summary reads. */
5086
+ .alert > :where(ul, ol) {
5087
+ padding-inline-start: 1.25em;
5088
+ }
5089
+
5047
5090
  /* Alerts are soft by default. The recipe writes local defaults rather than
5048
5091
  --ui-* so an explicit shared treatment always wins without exclusions. The
5049
5092
  fill is the translucent soft tint (see badge.css), with no rim unless a
@@ -5136,13 +5179,25 @@ a.badge[aria-disabled="true"] {
5136
5179
  icon sat in the title row alone — any icon taller than one line inflated
5137
5180
  that row and pushed the body down. Spanning the title and body rows lets
5138
5181
  its height spread over both; only an icon taller than both together still
5139
- splits its excess between them. */
5182
+ splits its excess between them. Spanning is also why the icon cannot ride
5183
+ the text baseline (align-self: baseline): a baseline group over both
5184
+ rows would let a tall icon set the row's baseline, inflating row 1 and
5185
+ pushing the title down — the regression alert-anatomy.test.js guards. */
5140
5186
  .alert:has(> .alert-icon) > .alert-icon {
5141
5187
  grid-column: 1;
5142
5188
  grid-row: 1 / span 2;
5143
5189
  display: inline-grid;
5144
5190
  place-items: center;
5145
- margin-block-start: 0.125em;
5191
+ /* The line box's centre is not the cap-height centre: cap/ex cannot derive
5192
+ an optical correction from it. Keep glyph corrections explicit.
5193
+ --alert-font-size must stay in rem or px because em resolves against
5194
+ the icon's own size here. The nudge also accommodates a theme tile whose
5195
+ padding and border grow the icon box (neo-brutalist). */
5196
+ margin-block-start: calc(
5197
+ (var(--alert-line-height) * var(--alert-font-size) - var(--alert-icon-size)) /
5198
+ 2 +
5199
+ var(--alert-icon-nudge, 0px)
5200
+ );
5146
5201
  }
5147
5202
 
5148
5203
  .alert:has(> .alert-icon) > :not(.alert-icon, .close) {
@@ -5160,6 +5215,11 @@ a.badge[aria-disabled="true"] {
5160
5215
  .alert:has(> .close) > .close {
5161
5216
  grid-column: -2 / -1;
5162
5217
  grid-row: 1;
5218
+ /* why: the button is taller than the line, so top-aligned it sat 2px below
5219
+ the title centre, opposite an icon centred on it, and grew row 1, pushing
5220
+ the body down. Equal negative margins centre it on the first line box and
5221
+ let it overflow into the padding instead; the hit area is unchanged. */
5222
+ margin-block: calc((var(--alert-line-height) * var(--alert-font-size) - var(--close-size)) / 2);
5163
5223
  }
5164
5224
  /* Links */
5165
5225
  .alert :where(a:not(.btn)) {
@@ -5211,6 +5271,11 @@ a.badge[aria-disabled="true"] {
5211
5271
  border-start-end-radius: calc(var(--alert-radius, var(--radius-lg)) - var(--border-width));
5212
5272
  }
5213
5273
 
5274
+ /* Translate preserves the title bar's flex geometry when nudging a glyph. */
5275
+ .alert.admonition > .alert-title > .alert-icon {
5276
+ translate: 0 var(--alert-icon-nudge, 0px);
5277
+ }
5278
+
5214
5279
  /* Close inside an admonition title bar rides the inline end. */
5215
5280
  .alert.admonition > .alert-title > .close {
5216
5281
  margin-inline-start: auto;
@@ -8504,18 +8569,29 @@ a.avatar[aria-disabled="true"] {
8504
8569
  * place. A direct <time> child is the event's dateline. The content stays in
8505
8570
  * block flow, so a sentence mixing text and links is never split into items.
8506
8571
  *
8572
+ * .timeline-dates-end moves every dateline to the inline end of the event's
8573
+ * first line, beside the title instead of above it.
8574
+ *
8507
8575
  * Progress through a process is .steps, not a timeline.
8508
8576
  *
8509
8577
  * Public hooks:
8510
8578
  * --timeline-dot-size
8511
8579
  * --timeline-slot-size
8580
+ * --timeline-glyph-size
8512
8581
  * --timeline-gap
8513
8582
  * --timeline-inline-gap
8514
8583
  * --timeline-line-size
8584
+ * --timeline-marker-nudge
8515
8585
  *
8516
8586
  * Internal:
8517
8587
  * --timeline-rail-size
8518
8588
  * --timeline-line-box
8589
+ * --timeline-marker-shift
8590
+ * --timeline-marker-inset
8591
+ * --timeline-marker-center
8592
+ * --timeline-slot-bg
8593
+ * --timeline-slot-border
8594
+ * --timeline-slot-fg
8519
8595
  */
8520
8596
 
8521
8597
  /* Registered so the event's line box computes to a length on the <li> and
@@ -8531,9 +8607,18 @@ a.avatar[aria-disabled="true"] {
8531
8607
  initial-value: 0px;
8532
8608
  }
8533
8609
 
8610
+ /* An author nudge in em must resolve against the event's text before it
8611
+ inherits into a slot with a different glyph size. */
8612
+ @property --timeline-marker-shift {
8613
+ syntax: "<length>";
8614
+ inherits: true;
8615
+ initial-value: 0px;
8616
+ }
8617
+
8534
8618
  .timeline {
8535
8619
  --timeline-dot-size: 0.625rem;
8536
- --timeline-slot-size: 1.75rem;
8620
+ --timeline-slot-size: 2rem;
8621
+ --timeline-glyph-size: calc(var(--timeline-slot-size) / 2);
8537
8622
  --timeline-gap: var(--density-space);
8538
8623
  --timeline-inline-gap: var(--space-30);
8539
8624
  --timeline-line-size: var(--border-width);
@@ -8561,11 +8646,38 @@ a.avatar[aria-disabled="true"] {
8561
8646
 
8562
8647
  /* The line box is a length, not the unitless ratio: a smaller <time> opening
8563
8648
  the event keeps the same first line as text would, so the marker centred on
8564
- it lines up whichever element comes first. */
8649
+ it lines up whichever element comes first.
8650
+
8651
+ A slot taller than the line box would overflow the event above and below:
8652
+ the first marker would poke out of the list (clipped by a card with
8653
+ overflow), and the gap between two discs would shrink below the gap. The
8654
+ inset pushes the first line down until the marker, nudge included, starts
8655
+ at the top, and the minimum size ends the event at the marker's bottom, so
8656
+ the event box always holds its marker. Every marker position derives from
8657
+ the one centre.
8658
+
8659
+ Points, discs and avatars share the first line box's centre. The nudge
8660
+ moves that shared geometry; correct an off-centre glyph inside its disc
8661
+ instead, so the marker and rail stay aligned. */
8565
8662
  .timeline > li {
8566
8663
  --timeline-line-box: calc(var(--line-height) * 1em);
8664
+ --timeline-marker-shift: var(--timeline-marker-nudge, 0px);
8665
+ --timeline-marker-inset: max(
8666
+ 0px,
8667
+ (var(--timeline-rail-size) - var(--timeline-line-box)) /
8668
+ 2 -
8669
+ var(--timeline-marker-shift)
8670
+ );
8671
+ --timeline-marker-center: calc(
8672
+ var(--timeline-marker-inset) +
8673
+ var(--timeline-line-box) /
8674
+ 2 +
8675
+ var(--timeline-marker-shift)
8676
+ );
8567
8677
 
8568
8678
  position: relative;
8679
+ min-block-size: calc(var(--timeline-marker-center) + var(--timeline-rail-size) / 2);
8680
+ padding-block-start: var(--timeline-marker-inset);
8569
8681
  padding-inline-start: calc(var(--timeline-rail-size) + var(--timeline-inline-gap));
8570
8682
  line-height: var(--timeline-line-box);
8571
8683
  }
@@ -8580,12 +8692,43 @@ a.avatar[aria-disabled="true"] {
8580
8692
  display: block;
8581
8693
  color: var(--text-muted);
8582
8694
  font-size: var(--font-size-sm);
8695
+ /* Equal-width digits keep times aligned down the list. */
8696
+ font-variant-numeric: tabular-nums;
8697
+ }
8698
+
8699
+ /* A float, not a grid: a grid would turn each run of bare text between links
8700
+ into its own item and split the sentence. The dateline comes first in the
8701
+ source, so it floats on the first line and shares its line box; the text
8702
+ wraps beside it, and the next lines take the full width. flow-root keeps a
8703
+ float taller than a one-line event inside the <li>, where the rail segment
8704
+ measures from. */
8705
+ .timeline-dates-end > li {
8706
+ display: flow-root;
8707
+ }
8708
+
8709
+ .timeline-dates-end > li > time {
8710
+ float: inline-end;
8711
+ /* The strut below grows the dateline's line past the line box; held to
8712
+ one line box, the float never narrows the event's second line. */
8713
+ block-size: var(--timeline-line-box);
8714
+ margin-inline-start: var(--timeline-inline-gap);
8715
+ }
8716
+
8717
+ /* A float lays out its own line, so the smaller dateline centres in the line
8718
+ box while the title beside it sits on the event's baseline: a pixel or two
8719
+ apart, by font, and the eye compares baselines on a shared row. An empty
8720
+ strut at the event's font size gives the dateline's line that same
8721
+ baseline. The size comes from the registered line box, since 1em here is
8722
+ the dateline's own. */
8723
+ .timeline-dates-end > li > time::before {
8724
+ content: "";
8725
+ font-size: calc(var(--timeline-line-box) / var(--line-height));
8583
8726
  }
8584
8727
 
8585
8728
  .timeline > li::before {
8586
8729
  content: "";
8587
8730
  position: absolute;
8588
- inset-block-start: calc((var(--timeline-line-box) - var(--timeline-dot-size)) / 2);
8731
+ inset-block-start: calc(var(--timeline-marker-center) - var(--timeline-dot-size) / 2);
8589
8732
  inset-inline-start: calc((var(--timeline-rail-size) - var(--timeline-dot-size)) / 2);
8590
8733
  inline-size: var(--timeline-dot-size);
8591
8734
  block-size: var(--timeline-dot-size);
@@ -8607,7 +8750,7 @@ a.avatar[aria-disabled="true"] {
8607
8750
  .timeline > li:not(:last-child)::after {
8608
8751
  content: "";
8609
8752
  position: absolute;
8610
- inset-block-start: calc((var(--timeline-line-box) + var(--timeline-rail-size)) / 2);
8753
+ inset-block-start: calc(var(--timeline-marker-center) + var(--timeline-rail-size) / 2);
8611
8754
  inset-inline-start: calc((var(--timeline-rail-size) - var(--timeline-line-size)) / 2);
8612
8755
  block-size: calc(100% + var(--timeline-gap) - var(--timeline-rail-size));
8613
8756
  border-inline-start: var(--timeline-line-size) solid var(--border);
@@ -8617,25 +8760,50 @@ a.avatar[aria-disabled="true"] {
8617
8760
  --avatar-size: var(--timeline-rail-size);
8618
8761
 
8619
8762
  position: absolute;
8620
- inset-block-start: calc((var(--timeline-line-box) - var(--timeline-rail-size)) / 2);
8763
+ inset-block-start: calc(var(--timeline-marker-center) - var(--timeline-rail-size) / 2);
8621
8764
  inset-inline-start: 0;
8622
8765
  }
8623
8766
 
8624
8767
  /* An icon slot gets a disc of the avatar's size, so both slot kinds read as one
8625
- rail. The event's intent colors the glyph. */
8768
+ rail. The event's intent colors the glyph, sized from the slot so a larger
8769
+ disc never looks empty. */
8626
8770
  .timeline > li > [aria-hidden="true"]:first-child:not(.avatar) {
8627
8771
  display: grid;
8628
8772
  place-items: center;
8629
8773
  inline-size: var(--timeline-rail-size);
8630
8774
  block-size: var(--timeline-rail-size);
8631
- border: var(--border-width) solid var(--border);
8775
+ border: var(--border-width) solid var(--timeline-slot-border, var(--border));
8632
8776
  border-radius: var(--radius-full);
8633
- background: var(--surface-opaque);
8634
- color: var(--intent, var(--text-muted));
8635
- font-size: var(--font-size-sm);
8777
+ background: var(--timeline-slot-bg, var(--surface-opaque));
8778
+ color: var(--timeline-slot-fg, var(--intent, var(--text-muted)));
8779
+ font-size: var(--timeline-glyph-size);
8636
8780
  line-height: 1;
8637
8781
  }
8638
8782
 
8783
+ /* An event with an intent tints its disc like a soft badge: a translucent
8784
+ fill, a rim, and the soft ink. Each mix names var(--intent) bare, so an
8785
+ event without one leaves them guaranteed-invalid and the disc falls back to
8786
+ the neutral surface above. Guarded because an unsupported color-mix() in a
8787
+ custom property is not dropped: it would void the fallback with it. */
8788
+ @supports (color: color-mix(in oklch, red, white)) {
8789
+ .timeline > li > [aria-hidden="true"]:first-child:not(.avatar) {
8790
+ --timeline-slot-bg: color-mix(
8791
+ in oklab,
8792
+ var(--intent) calc(100% - var(--soft-bg-mix)),
8793
+ transparent
8794
+ );
8795
+ --timeline-slot-border: color-mix(
8796
+ in oklab,
8797
+ var(--intent) calc(100% - var(--soft-border-mix, 70%)),
8798
+ transparent
8799
+ );
8800
+ --timeline-slot-fg: var(
8801
+ --intent-soft-fg,
8802
+ color-mix(in oklab, var(--text), var(--intent) var(--soft-fg-mix))
8803
+ );
8804
+ }
8805
+ }
8806
+
8639
8807
  .timeline > li > [aria-hidden="true"]:first-child:not(.avatar) > svg {
8640
8808
  inline-size: 1em;
8641
8809
  block-size: 1em;
@@ -9777,6 +9945,7 @@ a.avatar[aria-disabled="true"] {
9777
9945
  * --list-item-pad-inline
9778
9946
  * --list-item-gap
9779
9947
  * --list-divider
9948
+ * --list-radius
9780
9949
  */
9781
9950
  .list {
9782
9951
  --list-item-min-size: var(--control-size-lg);
@@ -9798,6 +9967,37 @@ a.avatar[aria-disabled="true"] {
9798
9967
  margin: 0;
9799
9968
  }
9800
9969
 
9970
+ /*
9971
+ * Grouped — the list owns a raised surface for rows that stand alone: a
9972
+ * settings group, a member list, an active-sessions panel. A bare list (the
9973
+ * default) leaves the surface to its container, so the shell is opt-in.
9974
+ *
9975
+ * The shell replaces the leading divider with its own border. It is not a
9976
+ * scroll container: a row flyout must be able to escape it. The first and last
9977
+ * rows carry the matching corner radius directly instead, which keeps a hover
9978
+ * or current fill inside the shell without clipping the panel.
9979
+ */
9980
+ .list.grouped {
9981
+ --list-item-pad-inline: var(--space-40);
9982
+ --list-radius: var(--radius-lg);
9983
+
9984
+ border: var(--border-width) solid var(--border);
9985
+ border-radius: var(--list-radius);
9986
+ background: var(--surface-raised);
9987
+ }
9988
+
9989
+ /* A row's fill sits inside the shell's border box, so its inner radius is the
9990
+ shell radius minus that border — and never negative on a square theme. */
9991
+ .list.grouped > :where(li:first-child > .list-item, .list-item:first-child) {
9992
+ border-start-start-radius: max(0px, calc(var(--list-radius) - var(--border-width)));
9993
+ border-start-end-radius: max(0px, calc(var(--list-radius) - var(--border-width)));
9994
+ }
9995
+
9996
+ .list.grouped > :where(li:last-child > .list-item, .list-item:last-child) {
9997
+ border-end-start-radius: max(0px, calc(var(--list-radius) - var(--border-width)));
9998
+ border-end-end-radius: max(0px, calc(var(--list-radius) - var(--border-width)));
9999
+ }
10000
+
9801
10001
  /*
9802
10002
  * Flex, not a three-track grid: the leading and trailing regions are optional,
9803
10003
  * and a fixed `auto minmax(0, 1fr) auto` template gives an absent region a
@@ -10248,16 +10448,9 @@ a.list-item:is([aria-current="page"], [aria-current="true"])::before {
10248
10448
 
10249
10449
  /* Text controls paint their own inset focus outline (control.css), so a
10250
10450
  .join never moves the ring to the group: button-only groups and wrapped
10251
- inputs alike keep per-control focus, with no :has() group treatment. */
10252
-
10253
- /* A default outline action belongs to the composite field border. An explicit
10254
- intent still provides its own outline color — --intent is guaranteed-invalid
10255
- for a neutral button (the :where(.btn) boundary), so the fallback applies.
10256
- The second :has() covers a control nested one wrapper level deep. */
10257
- .join:has(> :is(.input, .textarea, .select)) > .btn.outline,
10258
- .join:has(> * > :is(.input, .textarea, .select)) > .btn.outline {
10259
- --btn-border-color: var(--intent, var(--border-control));
10260
- }
10451
+ inputs alike keep per-control focus, with no :has() group treatment.
10452
+ A neutral outline action draws the same --border-control edge as the field
10453
+ by its own base rule, so the group needs no special case. */
10261
10454
 
10262
10455
  /* Effects — purely visual enrichments. */
10263
10456
  /*