@usableapp/cardds 0.7.118 → 0.7.119

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,24 @@
2
2
 
3
3
  > For: a project that consumes `@usableapp/cardds` and its AI — what changed between versions, written as before → after, so a screen can be brought up to date without reading the source. Newest first. A consumer never edits cardds; if something here leaves you without a way to do what you did before, report the gap. Each release section after 0.7.97 carries one `Components:` line, written by `node scripts/components-changed.mjs <previous tag>`: the components the release changed, or `all` when a file changed that any component can read (a token, the build), or `none`; check only the screens that import those.
4
4
 
5
+ ## 0.7.119 — 2026-10-25
6
+
7
+ Rows and a lined Kv in a card's foot run the card's full width, a `Link error` for a move that cancels, a tighter h1, and a `Stamp under` that lets a long title run over the head's stamp.
8
+
9
+ Components: all (`css/tokens.css`: `--lh-h1` 1.2 → 1.15, new tokens `--lh-h1-caption` and `--shadow-glued`; the components a screen sees change are Text, Words, Head, Stamp, Foot, Rows, Kv and Link)
10
+
11
+ ### Changed
12
+ - **`--lh-h1` is 1.15 (was 1.2): an h1 reads tighter (Lh 2026-10-25).** A stacked Thai mark (1.13em up) still clears the line above. A project that set `--lh-h1` is unchanged.
13
+ - **A caption that goes with an h1, over it or under it, keeps to the heading's leading** (new token `--lh-h1-caption`, `var(--lh-tight)`), not a caption's own 1.35. A caption over an h1 is an inline-block, so its wrapped lines keep their own leading and its last line keeps its distance to the h1. Story `Text/HeadingWraps` (new).
14
+ - **A `Foot`'s `Rows`, or a lined `Kv`, runs the card's FULL width (Lh 2026-10-25).** Its rule meets the card's edges as the band seams do, and each row takes the card's padding back, so the words stand on the body's line. Nothing to change in a screen. Story `Card/FootRows` (new).
15
+
16
+ ### Added
17
+ - **`Link error`: the signal set's error ink, for a move that undoes or ends something** ("Cancel the request" in a `Foot`'s `link`). Knob `--link-error-ink`. Story `Link/ErrorInFoot` (new).
18
+ - **`Stamp under`: in a `Head`, the words keep no room for the stamp (Lh 2026-10-25).** They run the head's whole width over it; the stamp keeps its place and size at the right, under them, and never hides a word. Where the words cross the stamp's pictures they carry a paper edge in the head's own fill (knobs `--stamp-under-edge-ink`, `--stamp-under-edge-size`). The stamp lies glued down, a hair of shadow at its teeth (new token `--shadow-glued`, knob `--stamp-under-drop`); a bare or xs stamp stays flat. For a long title that would wrap in the column beside the stamp. Before → after: `<Head><Words title={long} meta={…} /><Stamp …/></Head>` → `<Stamp under …/>`. Story `Card/StampBesideLongTitle` (new).
19
+
20
+ ### Fixed
21
+ - **A clamped head title keeps room under its last line for a Thai lower vowel** (it reaches 0.30em under the baseline; the tighter h1 line box ends 0.175em under it): room inside the clip, given back outside, so nothing moves.
22
+
5
23
  ## 0.7.118 — 2026-10-25
6
24
 
7
25
  A long body text that opens in place (`Text expand`, replaces `Text scroll`), a settings sheet whose sections are all open (`SheetSettings`), a two-line `Tile inline`, and `Panes` that slide when the app moves them.
package/css/base.css CHANGED
@@ -144,6 +144,9 @@ button:enabled { cursor: pointer; } /* a disabled one keeps the arrow */
144
144
  .t-expand__sign { justify-self: center; } /* the chevron: down = there is more, up = fold it */
145
145
  .t-label { font: var(--type-label); }
146
146
  .t-caption { font: var(--type-caption); color: var(--t-caption-ink, inherit); }
147
+ .t-caption:has(+ .t-h1), .t-h1 + .t-caption { line-height: var(--lh-h1-caption); } /* an h1's caption, over it or under it (Words meta) */
148
+ .t-caption:has(+ .t-h1) { display: inline-block; } /* a caption over an h1 is a span in its div's line: inline, its wrapped lines stood on the div's body leading (33px);
149
+ an inline-block keeps its own leading inside and still stands on that line, so its last line keeps its distance to the h1 (Lh 2026-10-25) */
147
150
  .t-stat { font: var(--type-stat); letter-spacing: var(--track-display); margin: 0; font-variant-numeric: tabular-nums; }
148
151
  .t-stat--mono { font-family: var(--font-mono); letter-spacing: 0; } /* clocks, ETAs, codes */
149
152
  .t-stat--xl { font-size: var(--fs-hero); } /* the one number on a sheet */
package/css/lists.css CHANGED
@@ -185,6 +185,7 @@
185
185
  .link--sm { position: relative; font-size: var(--link-sm-font-size, var(--fs-2xs)); min-height: var(--link-sm-min-h, calc(var(--tap-base) * 7 / 12)); }
186
186
  .link--sm::after { content: ""; position: absolute; inset: calc((var(--link-sm-min-h, calc(var(--tap-base) * 7 / 12)) - var(--tap-sm)) / 2) 0; }
187
187
  .link--muted { color: var(--link-muted-ink, var(--card-muted)); }
188
+ .link--error { color: var(--link-error-ink, var(--signal-error)); } /* a move that undoes or ends something ("cancel the request"): the signal set's error, the word that says it */
188
189
  .link:disabled { color: var(--link-disabled-ink, var(--card-muted)); cursor: default; } /* inactive = muted (a Countdown) */
189
190
  .link--wait { font-variant-numeric: tabular-nums; } /* the countdown's digits keep their width: the words do not jiggle each second */
190
191
 
package/css/parts.css CHANGED
@@ -85,9 +85,10 @@
85
85
  -webkit-line-clamp: var(--head-title-lines, 3);
86
86
  line-clamp: var(--head-title-lines, 3);
87
87
  overflow: hidden;
88
- padding-block-start: var(--_mark-room); /* a stacked Thai mark rises over the first line's box: room inside the clip, given back outside */
89
- margin-block-start: calc(-1 * var(--_mark-room));
88
+ padding-block: var(--_mark-room) var(--_mark-foot); /* a stacked Thai mark rises over the first line's box, a lower vowel hangs under the last: room inside the clip, given back outside */
89
+ margin-block: calc(-1 * var(--_mark-room)) calc(-1 * var(--_mark-foot));
90
90
  --_mark-room: 0.2em;
91
+ --_mark-foot: 0.15em; /* a lower vowel reaches 0.30em under the baseline, a tight line box (1.15) ends 0.175em under it */
91
92
  }
92
93
 
93
94
  .head > .words__title { font: var(--words-title-font, var(--_type, var(--type-h2))); } /* --_type: the level's own face, set by .t-h1 and .t-display (base.css) */
@@ -117,6 +118,25 @@
117
118
  <div class="head"><h2 class="words__title t-h2">…</h2><span class="words__meta t-caption t-muted">…</span><span class="stamp">…</span></div> */
118
119
  .head:has(> .stamp) { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
119
120
  .head:has(> .stamp) > :is(h1, h2, h3) { grid-column: 1; grid-row: 1; align-self: end; }
121
+ /* `Stamp under` (Lh 2026-10-25): the words keep no room for the stamp — one column, the stamp at its end (stamp.css), every word over it.
122
+ A grid item takes z-index unpositioned. The stamp is a look piece: it lies under the words and never hides one */
123
+ .head:has(> .stamp--under) { grid-template-columns: minmax(0, 1fr); }
124
+ .head:has(> .stamp--under) > :not(.stamp) { z-index: var(--z-over); }
125
+ /* the words' paper edge (Lh 2026-10-25): where they run over the stamp's pictures they stay readable — a text-shadow in the ground they stand
126
+ on (the head's fill: --card-bg, the band's own in a banded card), eight ways round each glyph and its Thai marks, under the glyphs, never
127
+ thickening them. A shadow, not paint-order + -webkit-text-stroke: the stroke sits half inside the glyph unless paint-order applies, and
128
+ paint-order on HTML text is too young for the iOS 16.4 floor. Knobs: --stamp-under-edge-ink, --stamp-under-edge-size */
129
+ .head:has(> .stamp--under) > :not(.stamp) {
130
+ --_e: var(--stamp-under-edge-size, var(--sp-0));
131
+ --_n: calc(-1 * var(--_e));
132
+ --_ink: var(--stamp-under-edge-ink, var(--card-bg));
133
+ text-shadow:
134
+ var(--_e) 0 var(--_ink), var(--_n) 0 var(--_ink), 0 var(--_e) var(--_ink), 0 var(--_n) var(--_ink),
135
+ var(--_e) var(--_e) var(--_ink), var(--_n) var(--_e) var(--_ink), var(--_e) var(--_n) var(--_ink), var(--_n) var(--_n) var(--_ink),
136
+ 0 0 var(--_e) var(--_ink);
137
+ }
138
+ /* words in a wrapper (`<div><Text caption/><Text h1/></div>`): the stamp's rows are taken, so auto placement would put it under them — it stands in row 1 of the one column */
139
+ .head:has(> .stamp--under) > :first-child:not(.stamp, h1, h2, h3, .t-caption, .t-body) { grid-area: 1 / 1; }
120
140
 
121
141
  /* a head that LEADS with a date (Lh 2026-10-21, timebank's request card): a `Head` whose first child is a JourneyBadge and whose second is a
122
142
  ChipRow. The date stands at the left and the chips beside it, the two as tall as each other; the heading and its caption take the whole
@@ -350,6 +370,12 @@
350
370
  .foot--round { justify-content: center; gap: var(--foot-gap, var(--sp-6)); }
351
371
  /* joined (Foot round joined): the round buttons linked by dots (the dots are BtnRow's, actions.css), a closer gap */
352
372
  .foot--joined { gap: var(--btn-trio-gap, var(--sp-3)); }
373
+ /* what draws across the foot runs the card's FULL width (Lh 2026-10-25): a Rows or a lined Kv in a foot reaches the card's edges, so its
374
+ rule meets them as the band seams do, and each of its rows takes the card's padding back (--card-pad, the body's own), so the words
375
+ stand on the body's line. Every foot's content box is --card-pad in from the card's edges (the card's padding, or a band's, a sheet's,
376
+ a stack sheet's), so the one margin is exact in each */
377
+ .foot > :is(.rows, .kv--lined) { flex: 1 1 100%; margin-inline: calc(-1 * var(--card-pad)); }
378
+ .foot > .rows > .row, .foot > .kv--lined > .kv__row { padding-inline: var(--card-pad); }
353
379
 
354
380
  /* in a card with paper bands: the foot band (the head's look, above) is slim */
355
381
  :is(.card--bands, .card--bands > .card__face) > .foot { margin-bottom: calc(-1 * var(--card-pad)); padding-block: var(--sp-3); }
package/css/stamp.css CHANGED
@@ -293,7 +293,11 @@
293
293
  A sheet is a `.card` too, but what it holds stands off its paper: the album, the tray, a start screen's stamp keep their shadow, and so
294
294
  does a stamp in an album's cell wherever the album lies */
295
295
  .card:not(.sheet) .stamp:not(.stamp-cell > .stamp) { filter: none; }
296
+ /* ONE exception (Lh 2026-10-25): the head's `under` stamp is glued down — a hair of shadow at its teeth, flat paper, never a lifted sticker.
297
+ A bare or xs stamp stays flat. Knob: --stamp-under-drop */
298
+ .card:not(.sheet) .head > .stamp--under:not(.stamp--bare, .stamp--xs) { filter: drop-shadow(var(--stamp-under-drop, var(--shadow-glued))); }
296
299
  .head > .stamp { grid-column: 2; grid-row: 1 / span 2; margin-inline: 0; }
300
+ .head > .stamp--under { grid-column: 1; justify-self: end; } /* `under`: in the words' own column, at its end, the words over it (parts.css) */
297
301
  /* ---- where it sits in what people.css draws (docs/reference.md rule 15) ---- */
298
302
  /* a stamp in the stack is the stamp's small size (--stamp-sm-size: one rule in stamp.css, 48 × 60), lapped like the heads. Measured 2026-10-11 in a Row's
299
303
  lead with a title, a meta line and an end button: at 375 the meta line breaks in two, accepted by Lh (a lap of 16 would hold it; the lap stays 8)
@@ -70,7 +70,7 @@
70
70
  motion: --motion-* (times) --ease --ease-in --ease-out --ease-in-out --ease-linear --ease-settle
71
71
  angle: --tilt-base (1deg; 0deg lays every note, stamp and letter straight)
72
72
  layer: --z-under-2 … --z-over-3 fade: --off --fade-faint … --fade-most
73
- type: per kind (display h1 h2 title body label caption stat) --face-<kind> --fw-<kind> --fs-<kind> --lh-<kind> --track-<kind>;
73
+ type: per kind (display h1 h2 title body label caption stat) --face-<kind> --fw-<kind> --fs-<kind> --lh-<kind> --track-<kind>; --lh-h1-caption;
74
74
  the scales --fw-regular --fw-medium --fw-semibold --fw-strong --fw-bold --fw-heavy --fw-black
75
75
  --lh-mark --lh-band --lh-badge --lh-solid --lh-tight --lh-field --lh-hand --lh-ruled --track-loose --track-caps */
76
76
  }
package/css/tokens.css CHANGED
@@ -202,13 +202,14 @@
202
202
  --track-caps: 0.08em; /* a kicker in capitals */
203
203
  /* THE EIGHT KINDS: each has its face, weight, size (--fs-* above), leading and tracking, and its style --type-<kind> is made of them */
204
204
  --fw-display: var(--fw-heavy); --lh-display: 1.15; --track-display: -0.02em; /* leading: Thai marks stack to 1.1em up and 0.3em down in FC Pride — 1.02 clipped them (2026-09-10) */
205
- --fw-h1: var(--fw-black); --lh-h1: 1.2; --track-h1: -0.015em;
205
+ --fw-h1: var(--fw-black); --lh-h1: 1.15; --track-h1: -0.015em; /* tight, the display's floor: a stacked mark (1.13em up) clears the line above (Lh 2026-10-25: 1.2 read loose) */
206
206
  --fw-h2: var(--fw-bold); --lh-h2: 1.25; --track-h2: -0.01em;
207
207
  --fw-title: var(--fw-strong); --lh-title: 1.3; --track-title: normal;
208
208
  --fw-body: var(--fw-regular); --lh-body: 1.5; --track-body: normal;
209
209
  --fw-label: var(--fw-semibold); --lh-label: 1.2; --track-label: normal; /* chips, buttons */
210
210
  --fw-caption: var(--fw-medium); --lh-caption: 1.35; --track-caption: normal;
211
211
  --fw-stat: var(--fw-heavy); --lh-stat: 1.05; --track-stat: normal; /* big numbers */
212
+ --lh-h1-caption: var(--lh-tight); /* the caption that goes with an h1, over it or under it: it keeps to the heading, not a caption's own 1.35 (Lh 2026-10-25) */
212
213
  --face-display: var(--font-display); --face-h1: var(--font-display); --face-h2: var(--font-display); --face-stat: var(--font-display);
213
214
  --face-title: var(--font-ui); --face-body: var(--font-ui); --face-label: var(--font-ui); --face-caption: var(--font-ui);
214
215
  /* --type-<kind> is set where a palette or a mode is (below), so a weight or a face tuned there reaches the words inside */
@@ -337,6 +338,7 @@
337
338
  /* shadows of paper laid on paper: mixed from the onlight ink, so re-derived where a palette is set */
338
339
  --shadow-paper: 0 var(--sp-1) var(--sp-2) color-mix(in srgb, var(--ink-onlight) 16%, transparent); /* a stamp lying on paper: follows its teeth (drop-shadow) */
339
340
  --shadow-lift: 0 var(--sp-0) var(--sp-1) color-mix(in srgb, var(--ink-onlight) 35%, transparent); /* a small disc lifted over a picture */
341
+ --shadow-glued: 0 var(--border-w) var(--border-w) rgb(0 0 0 / 0.22); /* a stamp glued flat on its card, a hair raised (Lh 2026-10-25): one border's offset and blur, black as the scrim; no color-mix (iOS 16.4) */
340
342
  --shadow-fold: calc(-1 * var(--sp-0)) calc(-1 * var(--sp-0)) var(--sp-1) color-mix(in srgb, var(--ink-onlight) 8%, transparent); /* a note's folded corner */
341
343
  --on-surface: color-mix(in srgb, var(--ink-ondark) calc(var(--surface-dark) * 100%), var(--ink-onlight));
342
344
  --on-surface-muted: color-mix(in srgb, var(--ink-ondark-muted) calc(var(--surface-dark) * 100%), var(--ink-onlight-muted));
@@ -3,6 +3,8 @@ import { type IconName } from '../type/Icon.js';
3
3
  export interface LinkProps extends ComponentProps<'a'> {
4
4
  /** muted ink (Skip, "didn't get the code?") */
5
5
  muted?: boolean;
6
+ /** the error ink (`--signal-error`, knob `--link-error-ink`), for a move that undoes or ends something: "Cancel the request" in a Foot's `link` */
7
+ error?: boolean;
6
8
  /** a trailing xs icon (arrow-up-right for "See all") */
7
9
  icon?: IconName;
8
10
  /** SMALL: the minor-link size (15) and a 28px line, for what is tapped rarely (details, a ctaLink); the tap target stays 44px */
@@ -13,7 +15,7 @@ export interface LinkProps extends ComponentProps<'a'> {
13
15
  disabled?: boolean;
14
16
  }
15
17
  /** Link — an inline text action big enough to tap (40px): "See all ↗" in a card head, "Skip" between pager buttons. */
16
- export declare function Link({ muted, sm, icon, href, className, children, ...rest }: LinkProps): import("react").DetailedReactHTMLElement<{
18
+ export declare function Link({ muted, error, sm, icon, href, className, children, ...rest }: LinkProps): import("react").DetailedReactHTMLElement<{
17
19
  /** a button link that takes no taps now (reads inactive: muted) — `Countdown` while it counts down */
18
20
  disabled?: boolean;
19
21
  ref?: import("react").Ref<HTMLAnchorElement> | undefined;
@@ -3,6 +3,6 @@ import { createElement } from 'react';
3
3
  import { cx } from '../cx.js';
4
4
  import { Icon } from '../type/Icon.js';
5
5
  /** Link — an inline text action big enough to tap (40px): "See all ↗" in a card head, "Skip" between pager buttons. */
6
- export function Link({ muted, sm, icon, href, className, children, ...rest }) {
7
- return createElement(href ? 'a' : 'button', { href, type: href ? undefined : 'button', className: cx('link', muted && 'link--muted', sm && 'link--sm', className), ...rest }, children, icon && _jsx(Icon, { name: icon, size: "xs" }));
6
+ export function Link({ muted, error, sm, icon, href, className, children, ...rest }) {
7
+ return createElement(href ? 'a' : 'button', { href, type: href ? undefined : 'button', className: cx('link', muted && 'link--muted', error && 'link--error', sm && 'link--sm', className), ...rest }, children, icon && _jsx(Icon, { name: icon, size: "xs" }));
8
8
  }
package/dist/cardds.css CHANGED
@@ -243,13 +243,14 @@
243
243
  --track-caps: 0.08em; /* a kicker in capitals */
244
244
  /* THE EIGHT KINDS: each has its face, weight, size (--fs-* above), leading and tracking, and its style --type-<kind> is made of them */
245
245
  --fw-display: var(--fw-heavy); --lh-display: 1.15; --track-display: -0.02em; /* leading: Thai marks stack to 1.1em up and 0.3em down in FC Pride — 1.02 clipped them (2026-09-10) */
246
- --fw-h1: var(--fw-black); --lh-h1: 1.2; --track-h1: -0.015em;
246
+ --fw-h1: var(--fw-black); --lh-h1: 1.15; --track-h1: -0.015em; /* tight, the display's floor: a stacked mark (1.13em up) clears the line above (Lh 2026-10-25: 1.2 read loose) */
247
247
  --fw-h2: var(--fw-bold); --lh-h2: 1.25; --track-h2: -0.01em;
248
248
  --fw-title: var(--fw-strong); --lh-title: 1.3; --track-title: normal;
249
249
  --fw-body: var(--fw-regular); --lh-body: 1.5; --track-body: normal;
250
250
  --fw-label: var(--fw-semibold); --lh-label: 1.2; --track-label: normal; /* chips, buttons */
251
251
  --fw-caption: var(--fw-medium); --lh-caption: 1.35; --track-caption: normal;
252
252
  --fw-stat: var(--fw-heavy); --lh-stat: 1.05; --track-stat: normal; /* big numbers */
253
+ --lh-h1-caption: var(--lh-tight); /* the caption that goes with an h1, over it or under it: it keeps to the heading, not a caption's own 1.35 (Lh 2026-10-25) */
253
254
  --face-display: var(--font-display); --face-h1: var(--font-display); --face-h2: var(--font-display); --face-stat: var(--font-display);
254
255
  --face-title: var(--font-ui); --face-body: var(--font-ui); --face-label: var(--font-ui); --face-caption: var(--font-ui);
255
256
  /* --type-<kind> is set where a palette or a mode is (below), so a weight or a face tuned there reaches the words inside */
@@ -378,6 +379,7 @@
378
379
  /* shadows of paper laid on paper: mixed from the onlight ink, so re-derived where a palette is set */
379
380
  --shadow-paper: 0 var(--sp-1) var(--sp-2) color-mix(in srgb, var(--ink-onlight) 16%, transparent); /* a stamp lying on paper: follows its teeth (drop-shadow) */
380
381
  --shadow-lift: 0 var(--sp-0) var(--sp-1) color-mix(in srgb, var(--ink-onlight) 35%, transparent); /* a small disc lifted over a picture */
382
+ --shadow-glued: 0 var(--border-w) var(--border-w) rgb(0 0 0 / 0.22); /* a stamp glued flat on its card, a hair raised (Lh 2026-10-25): one border's offset and blur, black as the scrim; no color-mix (iOS 16.4) */
381
383
  --shadow-fold: calc(-1 * var(--sp-0)) calc(-1 * var(--sp-0)) var(--sp-1) color-mix(in srgb, var(--ink-onlight) 8%, transparent); /* a note's folded corner */
382
384
  --on-surface: color-mix(in srgb, var(--ink-ondark) calc(var(--surface-dark) * 100%), var(--ink-onlight));
383
385
  --on-surface-muted: color-mix(in srgb, var(--ink-ondark-muted) calc(var(--surface-dark) * 100%), var(--ink-onlight-muted));
@@ -713,6 +715,9 @@ button:enabled { cursor: pointer; } /* a disabled one keeps the arrow */
713
715
  .t-expand__sign { justify-self: center; } /* the chevron: down = there is more, up = fold it */
714
716
  .t-label { font: var(--type-label); }
715
717
  .t-caption { font: var(--type-caption); color: var(--t-caption-ink, inherit); }
718
+ .t-caption:has(+ .t-h1), .t-h1 + .t-caption { line-height: var(--lh-h1-caption); } /* an h1's caption, over it or under it (Words meta) */
719
+ .t-caption:has(+ .t-h1) { display: inline-block; } /* a caption over an h1 is a span in its div's line: inline, its wrapped lines stood on the div's body leading (33px);
720
+ an inline-block keeps its own leading inside and still stands on that line, so its last line keeps its distance to the h1 (Lh 2026-10-25) */
716
721
  .t-stat { font: var(--type-stat); letter-spacing: var(--track-display); margin: 0; font-variant-numeric: tabular-nums; }
717
722
  .t-stat--mono { font-family: var(--font-mono); letter-spacing: 0; } /* clocks, ETAs, codes */
718
723
  .t-stat--xl { font-size: var(--fs-hero); } /* the one number on a sheet */
@@ -4167,6 +4172,7 @@ button.calendar__label:focus-visible { outline: var(--focus); outline-offset: va
4167
4172
  .link--sm { position: relative; font-size: var(--link-sm-font-size, var(--fs-2xs)); min-height: var(--link-sm-min-h, calc(var(--tap-base) * 7 / 12)); }
4168
4173
  .link--sm::after { content: ""; position: absolute; inset: calc((var(--link-sm-min-h, calc(var(--tap-base) * 7 / 12)) - var(--tap-sm)) / 2) 0; }
4169
4174
  .link--muted { color: var(--link-muted-ink, var(--card-muted)); }
4175
+ .link--error { color: var(--link-error-ink, var(--signal-error)); } /* a move that undoes or ends something ("cancel the request"): the signal set's error, the word that says it */
4170
4176
  .link:disabled { color: var(--link-disabled-ink, var(--card-muted)); cursor: default; } /* inactive = muted (a Countdown) */
4171
4177
  .link--wait { font-variant-numeric: tabular-nums; } /* the countdown's digits keep their width: the words do not jiggle each second */
4172
4178
 
@@ -4270,9 +4276,10 @@ button.calendar__label:focus-visible { outline: var(--focus); outline-offset: va
4270
4276
  -webkit-line-clamp: var(--head-title-lines, 3);
4271
4277
  line-clamp: var(--head-title-lines, 3);
4272
4278
  overflow: hidden;
4273
- padding-block-start: var(--_mark-room); /* a stacked Thai mark rises over the first line's box: room inside the clip, given back outside */
4274
- margin-block-start: calc(-1 * var(--_mark-room));
4279
+ padding-block: var(--_mark-room) var(--_mark-foot); /* a stacked Thai mark rises over the first line's box, a lower vowel hangs under the last: room inside the clip, given back outside */
4280
+ margin-block: calc(-1 * var(--_mark-room)) calc(-1 * var(--_mark-foot));
4275
4281
  --_mark-room: 0.2em;
4282
+ --_mark-foot: 0.15em; /* a lower vowel reaches 0.30em under the baseline, a tight line box (1.15) ends 0.175em under it */
4276
4283
  }
4277
4284
 
4278
4285
  .head > .words__title { font: var(--words-title-font, var(--_type, var(--type-h2))); } /* --_type: the level's own face, set by .t-h1 and .t-display (base.css) */
@@ -4302,6 +4309,25 @@ button.calendar__label:focus-visible { outline: var(--focus); outline-offset: va
4302
4309
  <div class="head"><h2 class="words__title t-h2">…</h2><span class="words__meta t-caption t-muted">…</span><span class="stamp">…</span></div> */
4303
4310
  .head:has(> .stamp) { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
4304
4311
  .head:has(> .stamp) > :is(h1, h2, h3) { grid-column: 1; grid-row: 1; align-self: end; }
4312
+ /* `Stamp under` (Lh 2026-10-25): the words keep no room for the stamp — one column, the stamp at its end (stamp.css), every word over it.
4313
+ A grid item takes z-index unpositioned. The stamp is a look piece: it lies under the words and never hides one */
4314
+ .head:has(> .stamp--under) { grid-template-columns: minmax(0, 1fr); }
4315
+ .head:has(> .stamp--under) > :not(.stamp) { z-index: var(--z-over); }
4316
+ /* the words' paper edge (Lh 2026-10-25): where they run over the stamp's pictures they stay readable — a text-shadow in the ground they stand
4317
+ on (the head's fill: --card-bg, the band's own in a banded card), eight ways round each glyph and its Thai marks, under the glyphs, never
4318
+ thickening them. A shadow, not paint-order + -webkit-text-stroke: the stroke sits half inside the glyph unless paint-order applies, and
4319
+ paint-order on HTML text is too young for the iOS 16.4 floor. Knobs: --stamp-under-edge-ink, --stamp-under-edge-size */
4320
+ .head:has(> .stamp--under) > :not(.stamp) {
4321
+ --_e: var(--stamp-under-edge-size, var(--sp-0));
4322
+ --_n: calc(-1 * var(--_e));
4323
+ --_ink: var(--stamp-under-edge-ink, var(--card-bg));
4324
+ text-shadow:
4325
+ var(--_e) 0 var(--_ink), var(--_n) 0 var(--_ink), 0 var(--_e) var(--_ink), 0 var(--_n) var(--_ink),
4326
+ var(--_e) var(--_e) var(--_ink), var(--_n) var(--_e) var(--_ink), var(--_e) var(--_n) var(--_ink), var(--_n) var(--_n) var(--_ink),
4327
+ 0 0 var(--_e) var(--_ink);
4328
+ }
4329
+ /* words in a wrapper (`<div><Text caption/><Text h1/></div>`): the stamp's rows are taken, so auto placement would put it under them — it stands in row 1 of the one column */
4330
+ .head:has(> .stamp--under) > :first-child:not(.stamp, h1, h2, h3, .t-caption, .t-body) { grid-area: 1 / 1; }
4305
4331
 
4306
4332
  /* a head that LEADS with a date (Lh 2026-10-21, timebank's request card): a `Head` whose first child is a JourneyBadge and whose second is a
4307
4333
  ChipRow. The date stands at the left and the chips beside it, the two as tall as each other; the heading and its caption take the whole
@@ -4535,6 +4561,12 @@ button.calendar__label:focus-visible { outline: var(--focus); outline-offset: va
4535
4561
  .foot--round { justify-content: center; gap: var(--foot-gap, var(--sp-6)); }
4536
4562
  /* joined (Foot round joined): the round buttons linked by dots (the dots are BtnRow's, actions.css), a closer gap */
4537
4563
  .foot--joined { gap: var(--btn-trio-gap, var(--sp-3)); }
4564
+ /* what draws across the foot runs the card's FULL width (Lh 2026-10-25): a Rows or a lined Kv in a foot reaches the card's edges, so its
4565
+ rule meets them as the band seams do, and each of its rows takes the card's padding back (--card-pad, the body's own), so the words
4566
+ stand on the body's line. Every foot's content box is --card-pad in from the card's edges (the card's padding, or a band's, a sheet's,
4567
+ a stack sheet's), so the one margin is exact in each */
4568
+ .foot > :is(.rows, .kv--lined) { flex: 1 1 100%; margin-inline: calc(-1 * var(--card-pad)); }
4569
+ .foot > .rows > .row, .foot > .kv--lined > .kv__row { padding-inline: var(--card-pad); }
4538
4570
 
4539
4571
  /* in a card with paper bands: the foot band (the head's look, above) is slim */
4540
4572
  :is(.card--bands, .card--bands > .card__face) > .foot { margin-bottom: calc(-1 * var(--card-pad)); padding-block: var(--sp-3); }
@@ -5282,7 +5314,11 @@ button.calendar__label:focus-visible { outline: var(--focus); outline-offset: va
5282
5314
  A sheet is a `.card` too, but what it holds stands off its paper: the album, the tray, a start screen's stamp keep their shadow, and so
5283
5315
  does a stamp in an album's cell wherever the album lies */
5284
5316
  .card:not(.sheet) .stamp:not(.stamp-cell > .stamp) { filter: none; }
5317
+ /* ONE exception (Lh 2026-10-25): the head's `under` stamp is glued down — a hair of shadow at its teeth, flat paper, never a lifted sticker.
5318
+ A bare or xs stamp stays flat. Knob: --stamp-under-drop */
5319
+ .card:not(.sheet) .head > .stamp--under:not(.stamp--bare, .stamp--xs) { filter: drop-shadow(var(--stamp-under-drop, var(--shadow-glued))); }
5285
5320
  .head > .stamp { grid-column: 2; grid-row: 1 / span 2; margin-inline: 0; }
5321
+ .head > .stamp--under { grid-column: 1; justify-self: end; } /* `under`: in the words' own column, at its end, the words over it (parts.css) */
5286
5322
  /* ---- where it sits in what people.css draws (docs/reference.md rule 15) ---- */
5287
5323
  /* a stamp in the stack is the stamp's small size (--stamp-sm-size: one rule in stamp.css, 48 × 60), lapped like the heads. Measured 2026-10-11 in a Row's
5288
5324
  lead with a title, a meta line and an end button: at 375 the meta line breaks in two, accepted by Lh (a lap of 16 would hold it; the lap stays 8)