@cameronsjo/artificer 0.25.0 → 0.28.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/README.md +14 -12
  2. package/dist/artificer-chromium-dark.zip +0 -0
  3. package/dist/artificer-chromium-light.zip +0 -0
  4. package/dist/artificer-firefox.zip +0 -0
  5. package/package.json +5 -1
  6. package/reference/SKILL.md +30 -24
  7. package/src/artificer-editorial.css +3 -1
  8. package/src/artificer-sploot.js +303 -0
  9. package/src/artificer-texture.css +129 -23
  10. package/src/artificer-whimsy.css +209 -30
  11. package/src/artificer-whimsy.js +227 -5
  12. package/src/artificer.css +334 -117
  13. package/src/assets/app-icon-1024.png +0 -0
  14. package/src/assets/app-icon.svg +1 -0
  15. package/src/assets/favicon-16.png +0 -0
  16. package/src/assets/favicon-180.png +0 -0
  17. package/src/assets/favicon-32.png +0 -0
  18. package/src/assets/favicon-48.png +0 -0
  19. package/src/assets/favicon-512.png +0 -0
  20. package/src/assets/favicon-legacy.svg +5 -0
  21. package/src/assets/favicon.ico +0 -0
  22. package/src/assets/favicon.svg +1 -5
  23. package/src/assets/fonts/bricolage-grotesque-variable.woff2 +0 -0
  24. package/src/assets/fonts/jetbrains-mono-blocks.woff2 +0 -0
  25. package/src/assets/fonts/recursive-variable.woff2 +0 -0
  26. package/src/assets/og-image.png +0 -0
  27. package/src/assets/og-image.svg +14 -20
  28. package/src/primitives.json +77 -4
  29. package/src/print.css +4 -3
  30. package/src/tokens.json +4 -4
  31. package/types/sploot.d.ts +48 -0
  32. package/src/assets/fonts/ia-writer-quattro-s-400-italic.woff2 +0 -0
  33. package/src/assets/fonts/ia-writer-quattro-s-400.woff2 +0 -0
  34. package/src/assets/fonts/ia-writer-quattro-s-700-italic.woff2 +0 -0
  35. package/src/assets/fonts/ia-writer-quattro-s-700.woff2 +0 -0
  36. package/src/assets/fonts/ia-writer-quattro-v-400-italic.woff2 +0 -0
  37. package/src/assets/fonts/ia-writer-quattro-v-400.woff2 +0 -0
package/src/artificer.css CHANGED
@@ -1,5 +1,5 @@
1
1
  /* ═══════════════════════════════════════════════════════════════════════════
2
- ARTIFICER · Design tokens · v0.25.0 (apothecary × deco × speakeasy)
2
+ ARTIFICER · Design tokens · v0.28.0 (apothecary × deco × speakeasy)
3
3
  AuDHD-optimized, Ghostty-rooted, with warm Jazz-Age accents.
4
4
  Default theme = dark. Add data-theme="light" on <html> for ivory paper mode.
5
5
 
@@ -34,19 +34,19 @@
34
34
  DIAGRAMS primitives for hand-drawn SVG
35
35
  NAVIGATION the spine — .crumb (where am I) · .sidenav (what sections) ·
36
36
  .appbar (global chrome) · .tabs (switch view within a surface)
37
- BRAND wordmark (lowercase "artificer." + burnished stop)
37
+ BRAND wordmark (lowercase "artificer." + burnished stop) ·
38
+ Sploot the corgi (block-glyph critter; artificer-sploot.js)
38
39
  RESPONSIVE breakpoints · touch escalation · safe-area · table reflow
39
40
  PRIMITIVES v0.10.0 — avatar · accordion · selectable rows · date/time
40
41
  ═══════════════════════════════════════════════════════════════════════════ */
41
42
 
42
43
  /* ─── Self-hosted fonts ──────────────────────────────────────────────────
43
44
  JetBrains Mono — code, identifiers, numerals, dense tool body
44
- iA Writer Quattro S / V — the two roles split by surface (see FONTS.md):
45
- S is interface chrome (labels, controls, tabular UI numerals), V is
46
- body prose. No bare 'iA Writer Quattro' face ships — it was a duplicate
47
- of S/V's own glyph set with no role of its own.
45
+ Recursive — interface chrome (labels, controls, tabular UI numerals)
46
+ Bricolage Grotesque — body prose (see FONTS.md for the role split)
48
47
  All SIL OFL 1.1. Files live in src/assets/fonts/. See FONTS.md for the
49
- rationale and the Windows faux-bold disposition. */
48
+ rationale. Both are variable fonts: one file per family covers every
49
+ weight, so no weight is ever synthesized. */
50
50
  @font-face {
51
51
  font-family: 'JetBrains Mono';
52
52
  src: url('assets/fonts/jetbrains-mono-400.woff2') format('woff2');
@@ -62,44 +62,57 @@
62
62
  src: url('assets/fonts/jetbrains-mono-700.woff2') format('woff2');
63
63
  font-weight: 700; font-style: normal; font-display: swap;
64
64
  }
65
-
66
- /* iA Writer Quattro S — tabular-numeral variant. Interface chrome: labels,
67
- controls, badges, dense tabular UI numerals. Same metrics as Quattro, so
68
- the fallback chain doesn't reflow when this variant is missing. */
65
+ /* Box drawing, block elements, geometric shapes (U+2500–25FF). The three
66
+ faces above are Latin subsets without them, so text art — Sploot, `├──`
67
+ trees, `╭─╮` boxes, `●` dot matrices — fell back to the OS mono, whose
68
+ advance widths and block heights differ, and misaligned. One 3.4 KB file
69
+ (JetBrains Mono 2.304 Regular; block geometry is weight-independent)
70
+ extends the family by unicode-range, declared once per shipped weight: a
71
+ face whose weight descriptor differs lands in a separate matching group and
72
+ is never consulted for those weights. Regenerate: see FONTS.md. */
69
73
  @font-face {
70
- font-family: 'iA Writer Quattro S';
71
- src: url('assets/fonts/ia-writer-quattro-s-400.woff2') format('woff2');
74
+ font-family: 'JetBrains Mono';
75
+ src: url('assets/fonts/jetbrains-mono-blocks.woff2') format('woff2');
72
76
  font-weight: 400; font-style: normal; font-display: swap;
77
+ unicode-range: U+2500-25FF;
73
78
  }
74
79
  @font-face {
75
- font-family: 'iA Writer Quattro S';
76
- src: url('assets/fonts/ia-writer-quattro-s-400-italic.woff2') format('woff2');
77
- font-weight: 400; font-style: italic; font-display: swap;
80
+ font-family: 'JetBrains Mono';
81
+ src: url('assets/fonts/jetbrains-mono-blocks.woff2') format('woff2');
82
+ font-weight: 500; font-style: normal; font-display: swap;
83
+ unicode-range: U+2500-25FF;
78
84
  }
79
85
  @font-face {
80
- font-family: 'iA Writer Quattro S';
81
- src: url('assets/fonts/ia-writer-quattro-s-700.woff2') format('woff2');
86
+ font-family: 'JetBrains Mono';
87
+ src: url('assets/fonts/jetbrains-mono-blocks.woff2') format('woff2');
82
88
  font-weight: 700; font-style: normal; font-display: swap;
83
- }
84
- @font-face {
85
- font-family: 'iA Writer Quattro S';
86
- src: url('assets/fonts/ia-writer-quattro-s-700-italic.woff2') format('woff2');
87
- font-weight: 700; font-style: italic; font-display: swap;
89
+ unicode-range: U+2500-25FF;
88
90
  }
89
91
 
90
- /* iA Writer Quattro V — display variant (slightly tighter, more contrast).
91
- Body prose face. Only 400 weight ships from iA — a bold body run
92
- (headlines set on --font-body) synthesizes faux-bold in the browser,
93
- same as any face missing a weight. */
92
+ /* Recursive — interface chrome: labels, controls, badges, form fields, nav,
93
+ tabular UI numerals (its digits are fixed-width by default). Variable:
94
+ wght 300–1000 plus a slnt axis that serves italic as a true oblique.
95
+ Latin subset of the Sans Linear default (CASL 0, MONO 0). ONE face with
96
+ an oblique 0–15deg range covers upright and italic: a separate
97
+ `font-style: normal` face would tie with the range at 0deg, and the
98
+ browser would pick the later-declared one for upright text anyway. */
94
99
  @font-face {
95
- font-family: 'iA Writer Quattro V';
96
- src: url('assets/fonts/ia-writer-quattro-v-400.woff2') format('woff2');
97
- font-weight: 400; font-style: normal; font-display: swap;
100
+ font-family: 'Recursive';
101
+ src: url('assets/fonts/recursive-variable.woff2') format('woff2-variations'),
102
+ url('assets/fonts/recursive-variable.woff2') format('woff2');
103
+ font-weight: 300 1000; font-style: oblique 0deg 15deg; font-display: swap;
98
104
  }
105
+
106
+ /* Bricolage Grotesque — body prose: document surfaces, .meta, headline/body
107
+ type utilities. Variable: wght 200–800 plus an optical-size axis the
108
+ browser drives from font-size (font-optical-sizing: auto), so headlines
109
+ get the tighter display cut and body text the open text cut. No italic
110
+ ships upstream; italic prose is a synthesized slant. Latin subset. */
99
111
  @font-face {
100
- font-family: 'iA Writer Quattro V';
101
- src: url('assets/fonts/ia-writer-quattro-v-400-italic.woff2') format('woff2');
102
- font-weight: 400; font-style: italic; font-display: swap;
112
+ font-family: 'Bricolage Grotesque';
113
+ src: url('assets/fonts/bricolage-grotesque-variable.woff2') format('woff2-variations'),
114
+ url('assets/fonts/bricolage-grotesque-variable.woff2') format('woff2');
115
+ font-weight: 200 800; font-style: normal; font-display: swap;
103
116
  }
104
117
 
105
118
  /* ─── DARK (default) ──────────────────────────────────────────────────── */
@@ -111,7 +124,7 @@
111
124
  --bg-inactive: #1d1f21; /* unfocused panes */
112
125
 
113
126
  /* Foreground — bone, not chrome. Softer than #fff but still AAA. */
114
- --fg: #e8e6e1; /* warm off-white, 11.2:1 on --bg */
127
+ --fg: #e8e6e1; /* warm off-white, 11.21:1 on --bg */
115
128
  --fg-secondary: #c5c8c6;
116
129
  --fg-muted: #5a7a8a; /* steel-blue muted — meta/comment text, between secondary and disabled */
117
130
  --fg-disabled: #666666;
@@ -159,15 +172,14 @@
159
172
 
160
173
  /* Type, radii, spacing, motion — identical across themes */
161
174
  --font-mono: 'JetBrains Mono', 'Berkeley Mono', ui-monospace, 'SF Mono', Menlo, monospace;
162
- /* iA Writer Quattro V — display/body variant. Body prose face: document
163
- surfaces, .meta, headline/body type utilities. Falls back to serif →
164
- system-ui. */
165
- --font-body: 'iA Writer Quattro V', 'Iowan Old Style', 'Charter',
166
- 'Source Sans 3', system-ui, -apple-system, sans-serif;
167
- /* iA Writer Quattro S — tabular-numeral variant. Interface chrome face:
168
- labels, controls, badges, form fields, nav, tabular UI numerals. */
169
- --font-interface: 'iA Writer Quattro S', 'Iowan Old Style', 'Charter',
170
- 'Source Sans 3', system-ui, -apple-system, sans-serif;
175
+ /* Bricolage Grotesque — body prose face: document surfaces, .meta,
176
+ headline/body type utilities. Falls back to Source Sans 3 → system-ui. */
177
+ --font-body: 'Bricolage Grotesque', 'Source Sans 3', system-ui,
178
+ -apple-system, sans-serif;
179
+ /* Recursive — interface chrome face: labels, controls, badges, form
180
+ fields, nav, tabular UI numerals. */
181
+ --font-interface: 'Recursive', 'Source Sans 3', system-ui,
182
+ -apple-system, sans-serif;
171
183
  /* --font-sans is a legacy alias kept resolvable for public-API back-compat —
172
184
  new rules use --font-body or --font-interface directly (see FONTS.md). */
173
185
  --font-sans: var(--font-body);
@@ -175,25 +187,25 @@
175
187
  /* Type sizes are REM (root = browser default, never overridden) so text
176
188
  honors the user's browser font-size preference, not just zoom. 1rem = 16px
177
189
  at default. Spacing/radii/component-internal px stay px on purpose. */
178
- --t-headline-lg-size: 1.75rem; --t-headline-lg-lh: 1.3; --t-headline-lg-ls: -0.01em; /* 28px */
179
- --t-headline-md-size: 1.375rem; --t-headline-md-lh: 1.35; /* 22px */
180
- --t-body-lg-size: 1rem; --t-body-lg-lh: 1.65; /* 16px */
181
- --t-body-md-size: 0.875rem; --t-body-md-lh: 1.6; /* 14px */
182
- --t-label-md-size: 0.8125rem; --t-label-md-lh: 1.3; /* 13px */
183
- --t-label-sm-size: 0.75rem; --t-label-sm-lh: 1.3; /* 12px */
184
- --t-label-xs-size: 0.6875rem; --t-label-xs-lh: 1.3; /* 11px — micro-chrome (v0.9.0 tier; restored v0.10.1) */
185
- --t-code-size: 0.875rem; --t-code-lh: 1.5; /* 14px */
186
-
187
- --letter-spacing-body: 0.01em;
188
- --word-spacing-body: 0.16em;
190
+ --t-headline-lg-size: 1.75rem; --t-headline-lg-lh: 1.3; /* @kind other */ --t-headline-lg-ls: -0.01em; /* @kind other */ /* 28px */
191
+ --t-headline-md-size: 1.375rem; --t-headline-md-lh: 1.35; /* @kind other */ /* 22px */
192
+ --t-body-lg-size: 1rem; --t-body-lg-lh: 1.65; /* @kind other */ /* 16px */
193
+ --t-body-md-size: 0.875rem; --t-body-md-lh: 1.6; /* @kind other */ /* 14px */
194
+ --t-label-md-size: 0.8125rem; --t-label-md-lh: 1.3; /* @kind other */ /* 13px */
195
+ --t-label-sm-size: 0.75rem; --t-label-sm-lh: 1.3; /* @kind other */ /* 12px */
196
+ --t-label-xs-size: 0.6875rem; --t-label-xs-lh: 1.3; /* @kind other */ /* 11px — micro-chrome (v0.9.0 tier; restored v0.10.1) */
197
+ --t-code-size: 0.875rem; --t-code-lh: 1.5; /* @kind other */ /* 14px */
198
+
199
+ --letter-spacing-body: 0.01em; /* @kind other */
200
+ --word-spacing-body: 0.16em; /* @kind other */
189
201
 
190
202
  --radius-sm: 4px; --radius-md: 8px; --radius-lg: 12px; --radius-pill: 999px; /* fully-rounded pills: toggle track, chip */
191
203
 
192
204
  --s-xs: 4px; --s-sm: 8px; --s-md: 16px; --s-lg: 24px; --s-xl: 32px; --s-2xl: 48px; --s-3xl: 96px;
193
205
 
194
- --dur-instant: 80ms; --dur-fast: 160ms; --dur-max: 300ms;
195
- --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
196
- --ease-linear: linear; /* continuous translation only (motion pattern #02) */
206
+ --dur-instant: 80ms; /* @kind other */ --dur-fast: 160ms; /* @kind other */ --dur-max: 300ms; /* @kind other */
207
+ --ease: cubic-bezier(0.2, 0.7, 0.3, 1); /* @kind other */
208
+ --ease-linear: linear; /* @kind other */ /* continuous translation only (motion pattern #02) */
197
209
 
198
210
  /* Focus ring — tokenized so themes/consumers retune; a11y floor: never 0. */
199
211
  --focus-width: 2px;
@@ -205,15 +217,15 @@
205
217
  --shadow-popover: 0 2px 8px rgba(0, 0, 0, 0.30);
206
218
 
207
219
  /* z-index scale — six rungs, no improvising */
208
- --z-base: 1; /* in-flow */
209
- --z-raised: 10; /* sticky elements, dropdown triggers */
210
- --z-overlay: 100; /* sidebars, theme toggle */
211
- --z-popover: 1000; /* tooltips, popovers, dropdowns */
212
- --z-modal: 2000; /* dialogs, scrim + content */
213
- --z-toast: 3000; /* always-on-top notifications */
220
+ --z-base: 1; /* @kind other */ /* in-flow */
221
+ --z-raised: 10; /* @kind other */ /* sticky elements, dropdown triggers */
222
+ --z-overlay: 100; /* @kind other */ /* sidebars, theme toggle */
223
+ --z-popover: 1000; /* @kind other */ /* tooltips, popovers, dropdowns */
224
+ --z-modal: 2000; /* @kind other */ /* dialogs, scrim + content */
225
+ --z-toast: 3000; /* @kind other */ /* always-on-top notifications */
214
226
 
215
227
  /* Artificer v0.10.1 — baseline contract: see CLAUDE.md § Baseline contract */
216
- --art-version: "0.25.0";
228
+ --art-version: "0.28.0"; /* @kind other */
217
229
 
218
230
  color-scheme: dark;
219
231
  }
@@ -312,7 +324,7 @@
312
324
  }
313
325
 
314
326
  @media (prefers-reduced-motion: reduce) {
315
- :root { --dur-instant: 0ms; --dur-fast: 0ms; --dur-max: 0ms; }
327
+ :root { --dur-instant: 0ms; /* @kind other */ --dur-fast: 0ms; /* @kind other */ --dur-max: 0ms; /* @kind other */ }
316
328
  }
317
329
 
318
330
  /* ═══ Base ══════════════════════════════════════════════════════════════ */
@@ -361,12 +373,18 @@ body { font-size: var(--t-body-md-size); }
361
373
  to it, so they're re-declared explicitly below. */
362
374
  .surface-document, .surface-document * { font-family: var(--font-body); }
363
375
  /* code/kbd are bare-tag selectors ((0,0,1)) and lose to .surface-document *
364
- ((0,1,0)) on specificity, not source order — re-declared here to hold mono. */
365
- .surface-document code, .surface-document kbd { font-family: var(--font-mono); }
376
+ ((0,1,0)) on specificity, not source order — re-declared here to hold mono.
377
+ The universal rule also reaches every element INSIDE them, so a highlighter's
378
+ token <span>s (chroma, Shiki, Prism) fell back to --font-body and a code
379
+ block's columns stopped lining up: pre and the descendants of pre/code/kbd
380
+ (and of their .code/.kbd class forms) hold mono too. */
381
+ .surface-document code, .surface-document kbd, .surface-document pre,
382
+ .surface-document pre *, .surface-document code *, .surface-document kbd *,
383
+ .surface-document .code *, .surface-document .kbd * { font-family: var(--font-mono); }
366
384
 
367
385
  /* ═══ Type utilities ════════════════════════════════════════════════════
368
- Headlines and body run on --font-body (Quattro V) by default — document
369
- mode; label utilities run on --font-interface (Quattro S).
386
+ Headlines and body run on --font-body (Bricolage Grotesque) by default — document
387
+ mode; label utilities run on --font-interface (Recursive).
370
388
  On tool surfaces, wrap the surface in <… class="surface-tool"> to flip to mono.
371
389
  .t-mono-* are explicit mono utilities for code blocks and identifier displays. */
372
390
  .t-headline-lg { font-family: var(--font-body); font-weight: 700; font-size: var(--t-headline-lg-size); line-height: var(--t-headline-lg-lh); letter-spacing: var(--t-headline-lg-ls); color: var(--fg); }
@@ -387,14 +405,56 @@ body { font-size: var(--t-body-md-size); }
387
405
 
388
406
  /* Doc-page chrome — section header convention promoted from live-spec
389
407
  (10+ identical instances; same shape as the .crumb-at-14 promotion). */
408
+ /* Mixed case, medium weight, full --fg: a heading that leads the section
409
+ instead of shouting over it. Uppercase tracking is reserved for small labels
410
+ (.eyebrow, .table th, .sidenav__group) — at 22px it read as a banner. */
390
411
  .section-title {
391
- font-family: var(--font-mono); font-weight: 700; font-size: var(--t-headline-md-size);
392
- letter-spacing: .04em; text-transform: uppercase;
393
- color: var(--fg-secondary);
412
+ font-family: var(--font-mono); font-weight: 500; font-size: var(--t-headline-md-size);
413
+ line-height: var(--t-headline-md-lh); letter-spacing: -0.01em;
414
+ color: var(--fg); text-wrap: balance;
394
415
  margin: var(--s-2xl) 0 var(--s-md);
395
416
  padding-bottom: var(--s-sm);
396
417
  border-bottom: 1px solid var(--border);
397
418
  }
419
+ /* Sibling of .section-title for the h3 under it (#508). */
420
+ .subsection-title {
421
+ font-family: var(--font-mono); font-weight: 700;
422
+ font-size: var(--t-body-md-size); line-height: var(--t-body-md-lh);
423
+ color: var(--fg);
424
+ margin: var(--s-lg) 0 var(--s-sm);
425
+ }
426
+ /* Uppercase overline label above a heading, block, or demo (#507). Tracking
427
+ matches .stat__label / .menu__label so the system has one label tracking. */
428
+ .eyebrow {
429
+ font-family: var(--font-interface); font-weight: 500;
430
+ font-size: var(--t-label-xs-size); line-height: var(--t-label-xs-lh);
431
+ letter-spacing: .08em; text-transform: uppercase;
432
+ color: var(--fg-secondary);
433
+ }
434
+ .eyebrow--accent { color: var(--accent); }
435
+ /* Callout: a raised note with a tier rule (#461). Tier modifiers recolor the
436
+ rule only; the title (.callout__title) must name the tier in text, so color
437
+ never carries the meaning alone. No success tier: no success token clears
438
+ the 3:1 non-text floor on --bg-raised in dark.
439
+ The rule is an INSET bar with rounded ends, not a border-left: a left border
440
+ on a rounded box bends into the corner radius at both ends. */
441
+ .callout {
442
+ position: relative;
443
+ background: var(--bg-raised);
444
+ border: 1px solid var(--border);
445
+ border-radius: var(--radius-md);
446
+ padding: var(--s-md) var(--s-lg) var(--s-md) var(--s-xl);
447
+ }
448
+ .callout::before {
449
+ content: ""; position: absolute;
450
+ left: var(--s-md); top: var(--s-md); bottom: var(--s-md); width: 3px;
451
+ border-radius: 2px; background: var(--accent);
452
+ }
453
+ .callout__title { margin-bottom: var(--s-xs); }
454
+ .callout--steel::before { background: var(--steel); }
455
+ .callout--attention::before { background: var(--attention); }
456
+ .callout--urgent::before { background: var(--urgent-text); }
457
+ @media (forced-colors: active) { .callout::before { background: CanvasText; forced-color-adjust: none; } }
398
458
 
399
459
  code, .code {
400
460
  font-family: var(--font-mono);
@@ -488,10 +548,13 @@ a:focus-visible { outline: var(--focus-width) solid var(--accent); outline-offse
488
548
  border-radius: var(--radius-md); padding: var(--s-lg);
489
549
  border: 1px solid transparent;
490
550
  }
491
- .card--active { background: var(--bg); border-left: 2px solid var(--accent); }
492
- .card--attention { background: var(--bg); border-left: 2px solid var(--attention); }
493
- .card--urgent { background: var(--bg); border-left: 2px solid var(--urgent); }
494
- .card--success { background: var(--bg); border-left: 2px solid var(--success); }
551
+ /* State cards ring the whole card in the tier color (the base .card already
552
+ reserves a 1px transparent border, so nothing shifts). The old 2px left edge
553
+ bent into the corner radius at both ends. */
554
+ .card--active { background: var(--bg); border-color: var(--accent); }
555
+ .card--attention { background: var(--bg); border-color: var(--attention); }
556
+ .card--urgent { background: var(--bg); border-color: var(--urgent); }
557
+ .card--success { background: var(--bg); border-color: var(--success); }
495
558
 
496
559
  /* ═══ Inputs ════════════════════════════════════════════════════════════ */
497
560
  .input, .textarea, .select {
@@ -548,11 +611,17 @@ a:focus-visible { outline: var(--focus-width) solid var(--accent); outline-offse
548
611
  surface, both themes — measured with scripts/contrast.mjs). */
549
612
  .badge--steel { background: color-mix(in oklch, var(--steel-fill) 15%, transparent); color: var(--steel); border: 1px solid var(--steel-fill); }
550
613
 
551
- .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
614
+ .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; background: currentColor; }
552
615
  .dot--accent { background: var(--accent-fill); }
553
616
  .dot--attention { background: var(--attention-fill); }
554
617
  .dot--urgent { background: var(--urgent-fill); }
555
618
  .dot--success { background: var(--success-fill); }
619
+ /* A tier dot inside a filled badge of the same tier painted fill-on-fill and
620
+ vanished, leaving a gap before the label. Inside a filled badge the dot takes
621
+ the badge's on-color text, so dot and label always read as one mark. A bare
622
+ .dot (no tier) is currentColor everywhere — the ghost "idle" badge's dot. */
623
+ .badge--accent > .dot, .badge--attention > .dot,
624
+ .badge--urgent > .dot, .badge--success > .dot { background: currentColor; }
556
625
 
557
626
  /* ═══ Cell glyphs ════════════════════════════════════════════════════════ */
558
627
  /*
@@ -618,7 +687,9 @@ hr, .divider { border: none; border-top: 1px solid var(--border); margin: var(--
618
687
  opacity: 0.55; background: var(--bg-inactive); filter: saturate(0.6);
619
688
  transition: opacity var(--dur-fast) var(--ease), filter var(--dur-fast) var(--ease);
620
689
  }
621
- .pane--active { border-left: 2px solid var(--accent); }
690
+ /* Inset ring, not a left edge: follows any radius the pane carries, and adds
691
+ no width (an outline never takes layout space). */
692
+ .pane--active { outline: 1px solid var(--accent); outline-offset: -1px; }
622
693
 
623
694
  /* ═══ Selection ═════════════════════════════════════════════════════════ */
624
695
  ::selection { background: var(--accent-fill); color: var(--on-accent); }
@@ -692,6 +763,8 @@ hr, .divider { border: none; border-top: 1px solid var(--border); margin: var(--
692
763
  .container--sm { max-width: 560px; }
693
764
  .container--md { max-width: 820px; }
694
765
  .container--lg { max-width: 1120px; }
766
+ /* Page-level block padding for a top-level <main> (#506): top --s-2xl, bottom --s-3xl. */
767
+ .container--page { padding-block: var(--s-2xl) var(--s-3xl); }
695
768
 
696
769
  /* Page shell: sticky masthead + scrolling main. */
697
770
  .page-shell { display: grid; grid-template-rows: auto 1fr; min-height: 100vh; }
@@ -905,6 +978,16 @@ hr, .divider { border: none; border-top: 1px solid var(--border); margin: var(--
905
978
  padding: 10px 0; color: var(--fg);
906
979
  }
907
980
  .search > input::placeholder { color: var(--fg-disabled); }
981
+ /* One ring, not two. The global input:focus-visible ring drew a second
982
+ accent box inside the .search border, which already flips to --accent on
983
+ :focus-within. Same suppress-and-compensate as .palette__search (#175). */
984
+ .search > input:focus-visible { outline: none; }
985
+ /* Forced colors (Windows High Contrast) replace border-color with a system
986
+ color, so the accent flip above shows nothing there. With the input's ring
987
+ suppressed, the box draws the outline instead, in the system text color. */
988
+ @media (forced-colors: active) {
989
+ .search:has(> input:focus-visible) { outline: var(--focus-width) solid CanvasText; outline-offset: var(--focus-offset); }
990
+ }
908
991
  .search > .icon { color: var(--fg-secondary); flex-shrink: 0; }
909
992
 
910
993
  /* Slider */
@@ -999,6 +1082,19 @@ hr, .divider { border: none; border-top: 1px solid var(--border); margin: var(--
999
1082
  }
1000
1083
  .figure--frame { padding: 0; overflow: hidden; position: relative; }
1001
1084
  .figure--flush { padding: 0; overflow: hidden; }
1085
+ /* Embed: a labeled diagram or media card (#461). Compose on .figure--frame:
1086
+ .figure__bar holds an .eyebrow kind label and an optional reset control;
1087
+ .figure__body centers the content. The bar's icon button drops to 32px
1088
+ (>= 24px floor); the coarse-pointer rule still lifts it to 44px on touch. */
1089
+ .figure__bar {
1090
+ display: flex; align-items: center; gap: var(--s-sm);
1091
+ padding: var(--s-xs) var(--s-md);
1092
+ border-bottom: 1px solid var(--border);
1093
+ }
1094
+ .figure__bar > .eyebrow { flex: 1; }
1095
+ .figure__bar > .btn--icon { width: var(--s-xl); height: var(--s-xl); min-width: var(--s-xl); }
1096
+ .figure__body { display: flex; justify-content: center; padding: var(--s-lg); overflow: auto; }
1097
+ .figure__body > svg, .figure__body > img { max-width: 100%; height: auto; }
1002
1098
 
1003
1099
  .table {
1004
1100
  width: 100%; border-collapse: collapse;
@@ -1012,6 +1108,17 @@ hr, .divider { border: none; border-top: 1px solid var(--border); margin: var(--
1012
1108
  .kv { display: grid; grid-template-columns: max-content 1fr; gap: var(--s-sm) var(--s-lg); font-family: var(--font-mono); font-size: var(--t-body-md-size); }
1013
1109
  .kv dt { color: var(--fg-secondary); }
1014
1110
  .kv dd { margin: 0; color: var(--fg); }
1111
+ /* Properties block (#461): .kv in a bordered raised box, one divider per row,
1112
+ an optional leading icon on each key, and wrapping tag values in the dd. */
1113
+ .kv--props {
1114
+ gap: 0; background: var(--bg-raised);
1115
+ border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden;
1116
+ }
1117
+ .kv--props dt, .kv--props dd { padding: var(--s-xs) var(--s-md); border-bottom: 1px solid var(--border); }
1118
+ .kv--props dt:last-of-type, .kv--props dd:last-of-type { border-bottom: none; }
1119
+ .kv--props dt { display: flex; align-items: center; gap: var(--s-xs); font-size: var(--t-label-sm-size); }
1120
+ .kv--props dt > .icon { color: var(--fg-disabled); flex: none; }
1121
+ .kv--props dd { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-xs); }
1015
1122
 
1016
1123
  /* ═══ States — empty, skeleton, progress ══════════════════════════════ */
1017
1124
  .empty-state {
@@ -1110,9 +1217,9 @@ select:focus-visible,
1110
1217
  Three densities for tables, lists, and dashboards. Set on a container.
1111
1218
  compact = consoles, log views, ops; cozy = default; comfortable = docs.
1112
1219
  ═══════════════════════════════════════════════════════════════════════ */
1113
- .density-compact { --row-y: 4px; --row-x: 10px; --gap: var(--s-sm); }
1114
- .density-cozy { --row-y: 8px; --row-x: 16px; --gap: var(--s-md); }
1115
- .density-comfortable { --row-y: 14px; --row-x: 20px; --gap: var(--s-lg); }
1220
+ .density-compact { --row-y: 4px; /* @kind spacing */ --row-x: 10px; /* @kind spacing */ --gap: var(--s-sm); /* @kind spacing */ }
1221
+ .density-cozy { --row-y: 8px; /* @kind spacing */ --row-x: 16px; /* @kind spacing */ --gap: var(--s-md); /* @kind spacing */ }
1222
+ .density-comfortable { --row-y: 14px; /* @kind spacing */ --row-x: 20px; /* @kind spacing */ --gap: var(--s-lg); /* @kind spacing */ }
1116
1223
 
1117
1224
  /* When a density is set, table cells and list items pick it up */
1118
1225
  [class*="density-"] .table th,
@@ -1145,7 +1252,26 @@ select:focus-visible,
1145
1252
  .table--sticky-head.table--sticky-col thead th:first-child { z-index: calc(var(--z-raised) + 1); }
1146
1253
  .table .num,
1147
1254
  .table th.num,
1148
- .table td.num { font-variant-numeric: tabular-nums; text-align: right; }
1255
+ .table td.num { font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
1256
+ /* Identifiers never split mid-token ("--bp-" / "tablet", "build-" / "1284"):
1257
+ a wrapped token reads as two. Tables scroll inside their wrapper instead, so
1258
+ table/kv code keeps a hard nowrap (released at tablet width and below, where
1259
+ inline code is also forced to wrap even inside a nowrap ancestor). */
1260
+ .table code, .kv code { white-space: nowrap; }
1261
+ /* Inline code in running text is a plain inline that may wrap inside its own
1262
+ container. Three properties pull against each other and no CSS holds all of
1263
+ them: (a) a token that fits stays whole, (b) a token wider than its container
1264
+ wraps inside it instead of overflowing (the app shell clips the spill, so the
1265
+ text is lost), (c) punctuation glued to code never starts or ends a line.
1266
+ A hard nowrap gives (a) and (c) but not (b). An inline-block capped with
1267
+ max-width gives (a) and (b) but not (c): an atomic inline is a break
1268
+ opportunity on both sides even next to "(" ")" "." ",". This keeps (b) and
1269
+ (c) and gives up (a): a token that straddles a line end may split at a hyphen
1270
+ or slash ("--bp-" / "tablet"), as inline code did before v0.28.
1271
+ No wrapper box, so a link or strike round the code decorates it, nested or
1272
+ not. Pinned by tests/regressions/inline-code-wrap.spec.mjs. */
1273
+ :not(pre) > code { overflow-wrap: anywhere; }
1274
+ @media (max-width: 800px) { :not(pre) > code, .table code, .kv code { white-space: normal; overflow-wrap: anywhere; } }
1149
1275
  .table tr.group-row td {
1150
1276
  font-family: var(--font-interface); font-size: var(--t-label-sm-size);
1151
1277
  text-transform: uppercase; letter-spacing: 0.08em;
@@ -1329,33 +1455,33 @@ select:focus-visible,
1329
1455
  ═══════════════════════════════════════════════════════════════════════ */
1330
1456
  :root {
1331
1457
  /* Structural — the chart's chrome */
1332
- --chart-grid: color-mix(in oklch, var(--border) 70%, transparent);
1333
- --chart-grid-strong: var(--border);
1334
- --chart-axis: var(--fg-secondary);
1335
- --chart-axis-label: var(--fg-secondary);
1336
- --chart-plot-bg: transparent;
1458
+ --chart-grid: color-mix(in oklch, var(--border) 70%, transparent); /* @kind color */
1459
+ --chart-grid-strong: var(--border); /* @kind color */
1460
+ --chart-axis: var(--fg-secondary); /* @kind color */
1461
+ --chart-axis-label: var(--fg-secondary); /* @kind color */
1462
+ --chart-plot-bg: transparent; /* @kind color */
1337
1463
 
1338
1464
  /* Series — categorical 5-color palette, contrast-tuned for both themes.
1339
1465
  Order matters: series 1 is the accent. Keep total ≤ 5; beyond that,
1340
1466
  re-encode (split charts, group, or use sequential ramp). */
1341
- --series-1: var(--accent); /* gold */
1342
- --series-2: var(--steel); /* steel-blue */
1343
- --series-3: var(--brand-purple); /* purple */
1344
- --series-4: var(--success); /* olive */
1345
- --series-5: var(--attention); /* rose */
1467
+ --series-1: var(--accent); /* @kind color */ /* gold */
1468
+ --series-2: var(--steel); /* @kind color */ /* steel-blue */
1469
+ --series-3: var(--brand-purple); /* @kind color */ /* purple */
1470
+ --series-4: var(--success); /* @kind color */ /* apothecary green */
1471
+ --series-5: var(--attention); /* @kind color */ /* rose */
1346
1472
 
1347
1473
  /* Sequential ramp — single-hue, 5 stops light→dark.
1348
1474
  Use for quantitative encoding (heatmap, choropleth). */
1349
- --ramp-1: color-mix(in oklch, var(--accent) 25%, var(--bg));
1350
- --ramp-2: color-mix(in oklch, var(--accent) 45%, var(--bg));
1351
- --ramp-3: color-mix(in oklch, var(--accent) 65%, var(--bg));
1352
- --ramp-4: color-mix(in oklch, var(--accent) 85%, var(--bg));
1353
- --ramp-5: var(--accent);
1475
+ --ramp-1: color-mix(in oklch, var(--accent) 25%, var(--bg)); /* @kind color */
1476
+ --ramp-2: color-mix(in oklch, var(--accent) 45%, var(--bg)); /* @kind color */
1477
+ --ramp-3: color-mix(in oklch, var(--accent) 65%, var(--bg)); /* @kind color */
1478
+ --ramp-4: color-mix(in oklch, var(--accent) 85%, var(--bg)); /* @kind color */
1479
+ --ramp-5: var(--accent); /* @kind color */
1354
1480
 
1355
- /* Diverging — for signed deltas. Vermillion-low → neutral → olive-high. */
1356
- --diverge-low: var(--urgent);
1357
- --diverge-mid: var(--fg-disabled);
1358
- --diverge-high: var(--success);
1481
+ /* Diverging — for signed deltas. Brick-low → neutral → apothecary-green-high. */
1482
+ --diverge-low: var(--urgent); /* @kind color */
1483
+ --diverge-mid: var(--fg-disabled); /* @kind color */
1484
+ --diverge-high: var(--success); /* @kind color */
1359
1485
  }
1360
1486
 
1361
1487
  /* Chart shell — gives it a card-like surface, optional header row,
@@ -1426,12 +1552,12 @@ select:focus-visible,
1426
1552
  Mermaid + React Flow override the same tokens via their respective theming.
1427
1553
  ═══════════════════════════════════════════════════════════════════════ */
1428
1554
  :root {
1429
- --dia-node-bg: var(--bg-raised);
1430
- --dia-node-fg: var(--fg);
1431
- --dia-node-border: var(--border);
1432
- --dia-edge: var(--fg-secondary);
1433
- --dia-edge-strong: var(--fg);
1434
- --dia-rail: var(--border-lifted);
1555
+ --dia-node-bg: var(--bg-raised); /* @kind color */
1556
+ --dia-node-fg: var(--fg); /* @kind color */
1557
+ --dia-node-border: var(--border); /* @kind color */
1558
+ --dia-edge: var(--fg-secondary); /* @kind color */
1559
+ --dia-edge-strong: var(--fg); /* @kind color */
1560
+ --dia-rail: var(--border-lifted); /* @kind color */
1435
1561
  }
1436
1562
  .dia-node {
1437
1563
  fill: var(--dia-node-bg);
@@ -1525,7 +1651,7 @@ select:focus-visible,
1525
1651
  holds a .stack of .dia-box nodes (composes the HTML node above). Distinct
1526
1652
  from the horizontal single-node .flow chain. */
1527
1653
  .spine {
1528
- --spine-gutter: 32px;
1654
+ --spine-gutter: 32px; /* @kind spacing */
1529
1655
  display: flex; flex-direction: column; gap: var(--s-lg);
1530
1656
  }
1531
1657
  .phase {
@@ -1587,7 +1713,10 @@ select:focus-visible,
1587
1713
  color: var(--fg-secondary); margin: 0 0 var(--s-md);
1588
1714
  }
1589
1715
  .crumb a { color: var(--fg-secondary); text-decoration: none; }
1590
- .crumb a:hover, .crumb a:focus-visible { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
1716
+ .crumb a:focus-visible { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
1717
+ @media (hover: hover) {
1718
+ .crumb a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
1719
+ }
1591
1720
  .crumb [aria-current="page"] { color: var(--fg); }
1592
1721
  .crumb__sep { color: var(--fg-disabled); margin: 0 0.4em; }
1593
1722
 
@@ -1653,8 +1782,20 @@ select:focus-visible,
1653
1782
  .sidenav button:focus-visible { outline: var(--focus-width) solid var(--accent); outline-offset: var(--focus-offset-inset); }
1654
1783
  .sidenav a[aria-current="page"],
1655
1784
  .sidenav button[aria-current="page"] {
1785
+ position: relative;
1656
1786
  background: var(--bg); color: var(--accent);
1657
- box-shadow: inset 2px 0 0 var(--accent); /* active rail — no layout shift */
1787
+ }
1788
+ /* Active rail — an inset bar with rounded ends, held off the item's corners.
1789
+ The old inset box-shadow followed the 4px radius and curled at both ends
1790
+ (same fix as .callout, v0.28). Absolute, so no layout shift. */
1791
+ .sidenav a[aria-current="page"]::before,
1792
+ .sidenav button[aria-current="page"]::before {
1793
+ content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 2px;
1794
+ border-radius: 2px; background: var(--accent);
1795
+ }
1796
+ @media (forced-colors: active) {
1797
+ .sidenav a[aria-current="page"]::before,
1798
+ .sidenav button[aria-current="page"]::before { background: Highlight; forced-color-adjust: none; }
1658
1799
  }
1659
1800
 
1660
1801
  /* Rail — collapsed, icon-only (~56px). Labels go SR-only, not display:none,
@@ -1845,7 +1986,9 @@ select:focus-visible,
1845
1986
  border-bottom: 2px solid transparent;
1846
1987
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
1847
1988
  }
1848
- .tabs button:hover, .tabs a:hover { color: var(--fg); }
1989
+ @media (hover: hover) {
1990
+ .tabs button:hover, .tabs a:hover { color: var(--fg); }
1991
+ }
1849
1992
  .tabs [aria-selected="true"], .tabs [aria-current="page"] {
1850
1993
  color: var(--accent); border-bottom-color: var(--accent);
1851
1994
  }
@@ -1877,6 +2020,72 @@ select:focus-visible,
1877
2020
  .wordmark--stop-none::after { content: none; }
1878
2021
 
1879
2022
 
2023
+ /* ═══════════════════════════════════════════════════════════════════════
2024
+ BRAND · Sploot — the system's critter: a Pembroke corgi drawn as text in
2025
+ quadrant block glyphs (2×2 px per character), gold like the wordmark's
2026
+ stop. artificer-sploot.js turns <span data-sploot="pose"> into stacked
2027
+ text layers; its pixel grids are the one source for every pose. Static:
2028
+ the only motion is a one-shot hop on hover, a state change, not a loop.
2029
+
2030
+ Sizes are whole-pixel on purpose. Glyph cells are 0.6em wide and block
2031
+ glyphs 1.32em tall, so the size must make 0.6em a whole pixel (10, 15,
2032
+ 20, 25px) and the line pitch must be a whole pixel just under 1.32em —
2033
+ a fractional pitch lets baseline snapping open hairlines between rows.
2034
+ The --sploot-* knobs are set only by the size modifiers; any other value
2035
+ breaks that arithmetic.
2036
+ ═══════════════════════════════════════════════════════════════════════ */
2037
+ .sploot {
2038
+ --sploot-size: 1.25rem; /* 20px → 12px cells */
2039
+ --sploot-pitch: 1.625rem; /* 26px under 26.4px glyphs */
2040
+ display: inline-grid;
2041
+ vertical-align: bottom;
2042
+ font-size: var(--sploot-size);
2043
+ line-height: var(--sploot-pitch);
2044
+ }
2045
+ .sploot--mini { --sploot-size: 0.625rem; --sploot-pitch: 0.8125rem; } /* 10 / 13 */
2046
+ .sploot--sm { --sploot-size: 0.9375rem; --sploot-pitch: 1.1875rem; } /* 15 / 19 */
2047
+ .sploot--lg { --sploot-size: 1.5625rem; --sploot-pitch: 2rem; } /* 25 / 32 */
2048
+ .sploot__layer {
2049
+ grid-area: 1 / 1;
2050
+ display: block;
2051
+ white-space: pre;
2052
+ font-family: var(--font-mono);
2053
+ font-weight: 400;
2054
+ font-size: inherit;
2055
+ line-height: inherit;
2056
+ /* Body letter/word spacing would pry the glyphs apart. */
2057
+ letter-spacing: 0;
2058
+ word-spacing: normal;
2059
+ font-kerning: none;
2060
+ font-variant-ligatures: none;
2061
+ /* Two glyphs' anti-aliased edges don't add up to a solid pixel where they
2062
+ meet, leaving hairline seams (worst on light ground). A same-color
2063
+ stroke this thin swells each glyph just past the seam. */
2064
+ -webkit-text-stroke: 0.03em currentColor;
2065
+ }
2066
+ .sploot__body { color: var(--accent); }
2067
+ /* Overlays paint over the body in source order. Text marks (z, scent) and
2068
+ box drawing overlap their neighbors already, so they skip the stroke. */
2069
+ .sploot__helmet,
2070
+ .sploot__zzz,
2071
+ .sploot__scent { color: var(--fg-secondary); -webkit-text-stroke: 0; }
2072
+ /* Winter scarf, `stand` only: shown December–February, when <html> carries
2073
+ data-season="winter" (the module sets it from the reader's clock). */
2074
+ .sploot__scarf { display: none; color: var(--brand-purple); }
2075
+ :root[data-season="winter"] .sploot__scarf { display: block; }
2076
+
2077
+ @keyframes sploot-hop {
2078
+ 0%, 100% { transform: none; }
2079
+ 45% { transform: translateY(-0.35em); }
2080
+ }
2081
+ .sploot:hover,
2082
+ .sploot-host:hover .sploot { animation: sploot-hop var(--dur-max) var(--ease); }
2083
+ @media (prefers-reduced-motion: reduce) {
2084
+ .sploot:hover,
2085
+ .sploot-host:hover .sploot { animation: none; }
2086
+ }
2087
+
2088
+
1880
2089
  /* ═══════════════════════════════════════════════════════════════════════
1881
2090
  RESPONSIVE — breakpoints · touch escalation · safe-area · table reflow.
1882
2091
  v0.10.0. Reconciles Lane 3's "mobile layer" audit, with two corrections:
@@ -1890,9 +2099,9 @@ select:focus-visible,
1890
2099
  ═══════════════════════════════════════════════════════════════════════ */
1891
2100
 
1892
2101
  :root {
1893
- --bp-mobile: 640px; /* phone */
1894
- --bp-tablet: 800px; /* small tablet / split view */
1895
- --bp-wide: 1200px; /* wide desktop */
2102
+ --bp-mobile: 640px; /* @kind other */ /* phone */
2103
+ --bp-tablet: 800px; /* @kind other */ /* small tablet / split view */
2104
+ --bp-wide: 1200px; /* @kind other */ /* wide desktop */
1896
2105
  }
1897
2106
 
1898
2107
  /* Safe-area — sticky/fixed chrome clears the notch + home indicator.
@@ -2079,7 +2288,10 @@ select:focus-visible,
2079
2288
  classic flush shell — consumers set --shell-gap instead of redefining the grid */
2080
2289
  }
2081
2290
  .app-shell > .appbar { grid-row: bar; grid-column: 1 / -1; }
2082
- .app-shell > .sidenav { grid-row: body; grid-column: rail; }
2291
+ /* In the shell the rail is flush chrome, not a floating card: square, one
2292
+ divider on its content side. A rounded, fully bordered panel under the
2293
+ appbar left a visible seam at the junction. */
2294
+ .app-shell > .sidenav { grid-row: body; grid-column: rail; border-radius: 0; border-width: 0 1px 0 0; }
2083
2295
  /* Sticky rail — the sidenav pins while the content scrolls. align-self: start
2084
2296
  is load-bearing: a default-stretch grid child is as tall as the body row and
2085
2297
  has nowhere to stick. --sidenav-sticky-top clears any sticky chrome above
@@ -2149,7 +2361,9 @@ select:focus-visible,
2149
2361
  transform: rotate(45deg); transition: transform var(--dur-fast) var(--ease);
2150
2362
  }
2151
2363
  .accordion details[open] > summary::after { transform: rotate(-135deg); }
2152
- .accordion summary:hover { background: var(--bg-raised); }
2364
+ @media (hover: hover) {
2365
+ .accordion summary:hover { background: var(--bg-raised); }
2366
+ }
2153
2367
  .accordion summary:focus-visible { outline: var(--focus-width) solid var(--accent); outline-offset: var(--focus-offset-inset); }
2154
2368
  .accordion__body { padding: 0 var(--s-md) var(--s-md); color: var(--fg-secondary); }
2155
2369
 
@@ -2377,7 +2591,10 @@ select:focus-visible,
2377
2591
  color: var(--fg-secondary); cursor: pointer;
2378
2592
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
2379
2593
  }
2380
- .tree__row:hover { background: var(--bg-raised); color: var(--fg); }
2594
+ /* Hover only where hover exists — same latch rationale as the .sidenav guard. */
2595
+ @media (hover: hover) {
2596
+ .tree__row:hover { background: var(--bg-raised); color: var(--fg); }
2597
+ }
2381
2598
  /* aria-expanded / aria-selected live on the parent [role="treeitem"] (APG tree
2382
2599
  pattern), so reach the row through it — keying off .tree__row[aria-*] matches
2383
2600
  nothing (the row is a roleless div, the attrs sit on the <li>). */