@usableapp/cardds 0.7.117 → 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,48 @@
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
+
23
+ ## 0.7.118 — 2026-10-25
24
+
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.
26
+
27
+ Components: Text, Card, Panes, Tile, SheetSettings, SheetSettingsGroup, SheetSteps
28
+
29
+ ### Breaking
30
+ - **`Text scroll` is gone; a long body text is `Text expand` (Lh 2026-10-25).** `scroll` showed a box of `--text-scroll-lines` lines that scrolled inside itself. `expand` CUTS the text at those lines with a chevron under it; a tap on the box or the chevron opens the whole text in place (the chevron turns up), a tap again folds it. A text that fits is only read: no chevron, not a control. Controlled like an input: `open` + `onOpenChange`, or `defaultOpen`. A cut text is a control (`role="button"`, `aria-expanded`, Enter/Space): a turning card does not turn on it, and a card with it beside one foot button is no longer pressed whole. Before → after: `<Text level="body" scroll>` → `<Text level="body" expand>`. The knobs keep their names: `--text-scroll-lines`, `--text-scroll-size` (`3.6lh` keeps the closed box 3.6 lines tall at every text size). Stories `Text/ExpandInATurningCard`, `Text/ExpandWithOneFootButton`, `Text/ExpandFits`, `Text/Controlled` (new); `Card/ReasonScrolls` removed, `Card/ReasonFixedHeight` uses `expand`.
31
+
32
+ ### Changed
33
+ - **`--text-scroll-lines` defaults to 3.6 (was 3.5):** a part of the next line peeks out under the cut, so it reads as more. A project that set the knob is unchanged.
34
+
35
+ ### Added
36
+ - **`SheetSettings` + `SheetSettingsGroup title`: a settings sheet's sections, ALL open, one under another (Lh 2026-10-25).** Settings built from `SheetSteps` had to be done one section before the next showed, and a done line looked like a title bar. `SheetSettings` has no order, no `at`, no ✓, no summary, no finish and no folding: each `SheetSettingsGroup` is a group labelled by its title, then its own rows and controls (`Rows` of `Row` + `Toggle`, a row with an `End` value). The title bar is the `SheetStep`'s own (same tint, height, type, inset), and information only: nothing to press. It shares the step's rules, so the `--sheet-step-bar-*`, `--sheet-step-title-font`, `--sheet-steps-row-h` and `--sheet-step-inner-pad-x` knobs retune both. Before → after: `<SheetSteps>` with one `SheetStep` per settings section → `<SheetSettings><SheetSettingsGroup title="Notifications">…`. Goes in a Sheet's `Body`. Stories `SheetSettings/Default`, `Short`, `Ruled` (new).
37
+ - **`Tile inline`: a two-line tile.** The icon at the start of the label's line, the sub under the label, at least the two lines tall (floored at the tap height). For wide picks in a `TileGrid` (time slots with their hours). Without `inline` nothing changes. Knobs `--tile-inline-gap`, `--tile-inline-min-h`. Story `Tile/Inline` (new).
38
+
39
+ ### Fixed
40
+ - **`Panes` slides when `at` changes from outside.** A `BtnGroup` (or anything of the app's) driving `at` made the rail jump instead of slide: the size watcher was made anew every render and its at-once align cut the smooth scroll short. Now one watcher for the rail's life, aligning only when the rail's width really changes. Story `Panes/Controlled` (new).
41
+ - **`Card` re-finds its pressed-whole control when a child becomes a control after mounting** (a `Text expand` that turns out not to fit), so the card is no longer pressed whole beside it.
42
+ - **`SheetSteps`:** nothing moves; its bar's rules are now written once with `SheetSettings` (`:is(.sheet-step__head, .sheet-settings__head)`).
43
+
44
+ ### Gallery
45
+ - ↓ / ↑ go page to page again, and a story no longer takes the focus or scrolls the page on arrival. Not shipped in the package.
46
+
5
47
  ## 0.7.117 — 2026-10-25
6
48
 
7
49
  Every switch follows the brand on every palette (orchard's sky Toggle and Ring removed); a gallery page of every switch; the spec scripts are paused.
package/css/actions.css CHANGED
@@ -428,7 +428,8 @@
428
428
  .feed-card--small (Lh 2026-10-09) = the small card of a CardFeed: the card itself is the button that grows it, so it has the ring too.
429
429
  .card--go (Lh 2026-10-09) = a card pressed whole: `Card` renders it while its ONE control is its foot's button or a row card's end
430
430
  button (src/cards/cardGo.ts). It is in the DIM pointer and :active lists only — the focus ring and the disabled look stay the
431
- button's, the card itself is never focused or disabled. */
431
+ button's, the card itself is never focused or disabled.
432
+ .t-expand--more (Lh 2026-10-25) = a `Text expand` that does not fit: the whole box opens or folds, so it DIMS. */
432
433
  :where(.btn, .icon-btn, .link, a.chip, button.chip, .chip--pick, a.tile, button.tile, .tile--pick, .day, .segment__item, .calendar__day,
433
434
  .float-bar__item, .avatar-pick__item, .add-row, .picker__item, .dropdown__btn, .appbar__who, .check, .toggle, .mood__opt, .sheet__handle,
434
435
  a.avatar, button.avatar, .menu__item, button.snackbar__body, .stamp--tap, button.stamp-cell, button.stamp-place, .post-letter__turn, .post-desk__slot, .post-desk__pick, .post-desk__reach, .stamp-on__remove, .map-pick) {
@@ -436,7 +437,7 @@
436
437
  touch-action: manipulation;
437
438
  transition: scale var(--motion-press) var(--ease-out);
438
439
  }
439
- :where(a.row, button.row, label.row, .row-expand > summary, .banner__summary, a.card, label.card, .card--go, .feed-card--small, .toggle-field, .post-box__edge) {
440
+ :where(a.row, button.row, label.row, .row-expand > summary, .banner__summary, a.card, label.card, .card--go, .feed-card--small, .toggle-field, .post-box__edge, .t-expand--more) {
440
441
  cursor: pointer;
441
442
  touch-action: manipulation;
442
443
  transition: opacity var(--motion-press) var(--ease-out);
@@ -451,7 +452,7 @@
451
452
  :where(.btn, .icon-btn, .link, a.chip, button.chip, .chip--pick, a.tile, button.tile, .tile--pick, .day, .segment__item, .calendar__day,
452
453
  .float-bar__item, .avatar-pick__item, .add-row, .picker__item, .dropdown__btn, .appbar__who, .check, .toggle, .mood__opt, .sheet__handle,
453
454
  a.avatar, button.avatar, .menu__item, button.snackbar__body, .stamp--tap, button.stamp-cell, button.stamp-place, .post-letter__turn, .post-desk__slot, .post-desk__pick, .post-desk__reach, .stamp-on__remove, .map-pick):active:not(:disabled, [aria-disabled="true"], :has(:disabled)) { scale: var(--press-scale); }
454
- :where(a.row, button.row, label.row, .row-expand > summary, .banner__summary, a.card, label.card, .card--go, .feed-card--small, .toggle-field, .post-box__edge):active:not([aria-disabled="true"], :has(:disabled)) { opacity: var(--press-dim); }
455
+ :where(a.row, button.row, label.row, .row-expand > summary, .banner__summary, a.card, label.card, .card--go, .feed-card--small, .toggle-field, .post-box__edge, .t-expand--more):active:not([aria-disabled="true"], :has(:disabled)) { opacity: var(--press-dim); }
455
456
  /* SHADE — what has something BEHIND it (a peeked sheet over the pile, a postcard's face over its back, a post letter's sheet over the other) must not turn see-through:
456
457
  it darkens a touch instead (--press-shade) */
457
458
  :where(.sheet-stack--tap > .card:not(.is-open), .postcard__turn, .post-letter__sheet:not(:has(.icon-btn:active))) { cursor: pointer; touch-action: manipulation; transition: filter var(--motion-press) var(--ease-out); }
@@ -461,7 +462,7 @@
461
462
  .float-bar__item, .avatar-pick__item, .add-row, .picker__item, .dropdown__btn, .appbar__who, .check, .toggle, .mood__opt, .sheet__handle,
462
463
  a.avatar, button.avatar, .menu__item, button.snackbar__body, .stamp--tap, button.stamp-cell, button.stamp-place, .post-letter__turn, .post-desk__slot, .post-desk__pick, .post-desk__reach, .stamp-on__remove):focus-visible,
463
464
  :where(.chip--pick, .tile--pick, label.btn, label.row, .toggle-field):has(:focus-visible), :where(label.card:has(> input[type="radio"]:focus-visible)) { outline: var(--focus); outline-offset: var(--sp-1); }
464
- :where(a.row, button.row, label.row, .row-expand > summary, .banner__summary, a.card, label.card, .feed-card--small, .toggle-field, .post-box__edge):not(label, .toggle-field):focus-visible { outline: var(--focus); outline-offset: var(--sp-1); }
465
+ :where(a.row, button.row, label.row, .row-expand > summary, .banner__summary, a.card, label.card, .feed-card--small, .toggle-field, .post-box__edge, .t-expand--more):not(label, .toggle-field):focus-visible { outline: var(--focus); outline-offset: var(--sp-1); }
465
466
  /* disabled: no pointer anywhere; a control fades (a link and a row keep their own muted look) */
466
467
  :where(.btn, .icon-btn, .link, a.chip, button.chip, .chip--pick, a.tile, button.tile, .tile--pick, .day, .segment__item, .calendar__day,
467
468
  .float-bar__item, .avatar-pick__item, .add-row, .picker__item, .dropdown__btn, .appbar__who, .check, .toggle, .mood__opt, .sheet__handle,
package/css/base.css CHANGED
@@ -138,9 +138,15 @@ button:enabled { cursor: pointer; } /* a disabled one keeps the arrow */
138
138
  .t-h2 { font: var(--type-h2); letter-spacing: var(--track-h2); margin: 0; --fs-self: var(--fs-h2); }
139
139
  .t-title { font: var(--type-title); margin: 0; --fs-self: var(--fs-title); }
140
140
  .t-body { font: var(--type-body); margin: 0; }
141
- .t-scroll { --_t-scroll-max: calc(var(--text-scroll-lines, 3.5) * 1lh); height: var(--text-scroll-size, auto); max-height: var(--text-scroll-size, var(--_t-scroll-max)); overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; } /* the box is plain: no border, no ground; lh = the body's own line */
141
+ .t-scroll { --_t-scroll-max: calc(var(--text-scroll-lines, 3.6) * 1lh); height: var(--text-scroll-size, auto); max-height: var(--text-scroll-size, var(--_t-scroll-max)); overflow: hidden; } /* the cut box of `Text expand`: plain, no border, no ground, no scroll; lh = the body's own line */
142
+ .t-expand { display: grid; } /* the box, and under it the chevron when the text does not fit */
143
+ .t-expand.is-open > .t-scroll { height: auto; max-height: none; } /* open: the whole text in place */
144
+ .t-expand__sign { justify-self: center; } /* the chevron: down = there is more, up = fold it */
142
145
  .t-label { font: var(--type-label); }
143
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) */
144
150
  .t-stat { font: var(--type-stat); letter-spacing: var(--track-display); margin: 0; font-variant-numeric: tabular-nums; }
145
151
  .t-stat--mono { font-family: var(--font-mono); letter-spacing: 0; } /* clocks, ETAs, codes */
146
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/media.css CHANGED
@@ -16,7 +16,7 @@
16
16
  .quote--sm .quote__text { font: var(--type-h2); letter-spacing: var(--track-h2); }
17
17
  .quote__by { font: var(--quote-by-font, var(--type-caption)); color: var(--quote-by-ink, var(--card-muted)); }
18
18
 
19
- /* ---- tile grid: big square tiles — icon top, label bottom ----
19
+ /* ---- tile grid: big square tiles — icon top, label bottom (inline: icon and label on one line) ----
20
20
  <div class="tile-grid"><button class="tile"><svg class="icon"/><span class="tile__label">Light</span></button>
21
21
  <label class="tile tile--pick"><input type="checkbox"><svg class="icon"/><span class="tile__label">Music</span></label></div> */
22
22
  .tile-grid {
@@ -48,6 +48,18 @@
48
48
  .tile--on { background: var(--tile-on-bg, var(--accent)); --dark: var(--accent-dark); color: var(--tile-on-ink, var(--card-ink)); border-color: transparent; }
49
49
  /* .tile--pick's hidden input and :has(:checked) fill are declared once in choice.css, alongside .chip--pick and .mood__opt */
50
50
  .tile--wide { grid-column: 1 / -1; }
51
+ /* inline: the icon at the start of the label's line, the sub under the label (not under the icon); as tall as those two lines */
52
+ .tile--inline {
53
+ grid-template-columns: auto 1fr;
54
+ align-items: center;
55
+ align-content: center;
56
+ column-gap: var(--tile-inline-gap, var(--sp-3));
57
+ row-gap: var(--tile-text-gap, var(--sp-0));
58
+ min-height: var(--tile-inline-min-h, var(--tap));
59
+ }
60
+ .tile--inline:not(:has(> .icon)) { grid-template-columns: 1fr; }
61
+ .tile--inline .tile__text { display: contents; }
62
+ .tile--inline .tile__sub { grid-column: -2; }
51
63
  /* upload: dashed, centred plus + label */
52
64
  .tile--upload {
53
65
  border-style: dashed;
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/sheet.css CHANGED
@@ -491,21 +491,23 @@
491
491
  display: grid; grid-template-columns: minmax(0, 1fr); /* the column is the step's width, never its words' — a long summary is cut with …, it never pushes the row past the sheet's edge (Lh 2026-09-28, #153) */ grid-template-rows: auto 0fr; align-content: start; /* mid-fold the rows sum to less than the box: the spare room stays BELOW, never spread into the title row (Lh: it looked like a spring) */
492
492
  flex: 0 0 auto;
493
493
  transition: grid-template-rows var(--motion-sheet) var(--ease), flex-grow var(--motion-sheet) var(--ease);
494
- --_row-h: var(--sheet-steps-row-h, calc(var(--tap-base) * 2 / 3)); /* the bar's own floor, read once (__head and __go below share it) */
495
494
  }
495
+ /* the title bar, its words and the inset of what stands under it are ONE look for a step and a settings section (SheetSettings,
496
+ Lh 2026-10-25): the same rules, the same knobs — a theme that retunes the step bar retunes the settings bar with it */
497
+ :where(.sheet-step, .sheet-settings__group) { --_row-h: var(--sheet-steps-row-h, calc(var(--tap-base) * 2 / 3)); /* the bar's own floor, read once (__head and __go below share it) */ }
496
498
  /* the open step GROWS into the room left, so the steps not done yet wait in a pile at the bottom — and a move is an ACCORDION:
497
499
  in one beat the step that was open folds while the new one unfolds (flex-grow and the 1fr row both ease), the piles slide
498
500
  with them, nothing jumps (Lh 2026-09-24) */
499
501
  .sheet-step--now { grid-template-rows: auto 1fr; flex-grow: 1; }
500
502
  .sheet-step + .sheet-step { margin-top: var(--sheet-steps-gap, var(--sp-1)); } /* the folded bars read as a pile, a little ground between them (Lh 2026-09-25) */
501
- .sheet-step__head { /* every step's title line is a quiet BAR (a tint of the ink, not the brand — a brand bar read as a button, Lh 2026-09-25), the same height open or folded — opening shows the card's room under it, never a taller bar (Lh 2026-09-25; was a thin rule on top) */
503
+ :is(.sheet-step__head, .sheet-settings__head) { /* every step's title line is a quiet BAR (a tint of the ink, not the brand — a brand bar read as a button, Lh 2026-09-25), the same height open or folded — opening shows the card's room under it, never a taller bar (Lh 2026-09-25; was a thin rule on top) */
502
504
  display: flex; align-items: center; gap: var(--sp-3); min-height: var(--_row-h); min-width: 0; /* THIN: 32px, a summary line, not a button (Lh 2026-09-25) — the tap stays 44, see __go */
503
505
  padding-inline: var(--sheet-step-bar-pad-x, var(--sp-3)); border-radius: var(--sheet-step-bar-radius, var(--r-chip));
504
506
  background: var(--sheet-step-bar-bg, var(--ink-tint)); color: var(--sheet-step-bar-ink, inherit);
505
507
  --card-muted: var(--card-ink); /* a tint of the ink: its secondary words are the full ink (no lighter shade holds 4.5:1 there) */
506
508
  border-top: var(--sheet-step-border-w, 0rem) solid var(--sheet-step-border, currentColor); /* a rule instead of the bar: set this, the bar's bg transparent, radius 0 */
507
509
  }
508
- .sheet-step__title { font: var(--sheet-step-title-font, var(--type-label)); margin: 0; flex: 0 1 auto; min-width: 0; outline: none; /* the label size, not a body title: a pile of rows must stay small (Lh 2026-09-24) */ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
510
+ :is(.sheet-step__title, .sheet-settings__title) { font: var(--sheet-step-title-font, var(--type-label)); margin: 0; flex: 0 1 auto; min-width: 0; outline: none; /* the label size, not a body title: a pile of rows must stay small (Lh 2026-09-24) */ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
509
511
  .sheet-step__num { /* `numbered`: the step's number in a disc BEFORE its title (Lh 2026-09-25) — a disc of the card's colour on the bar, the number in the ink */
510
512
  flex: none; display: grid; place-items: center; box-sizing: border-box; inline-size: var(--sheet-step-num-size, 1.408em); block-size: var(--sheet-step-num-size, 1.408em); /* em, not rem (Lh 2026-10-03, as the StackSheet's count): the disc is cut from ITS OWN number's size —
511
513
  at a large text size the number grew and a 24px disc did not, so the digit sat on its bottom edge; 1.408em of a 17px caption = the 24px it always was */
@@ -522,15 +524,22 @@
522
524
  so a .bleed cancels it exactly. The sum is computed on the body, before the inner's --card-pad takes over; outside a card there is
523
525
  no --card-pad and the step keeps its own inset (0px, as .bleed reads it). The inner reads the knob itself, not the sum: a theme's
524
526
  unitless 0 (SheetSteps · Ruled) is a length there but not in a calc, so the step stays right and only the bleed is lost. */
525
- .sheet-step__body { --_step-pad: var(--sheet-step-inner-pad-x, var(--sheet-step-bar-pad-x, var(--sp-3))); --_pad: calc(var(--card-pad, 0rem) + var(--_step-pad)); margin-inline: calc(-1 * var(--card-pad, 0rem)); padding-inline: var(--card-pad, 0rem); min-height: 0; overflow: clip; overflow-clip-margin: var(--sp-1); }
526
- .sheet-step__inner { --card-pad: var(--_pad); display: grid; gap: var(--card-gap); padding-block: var(--card-gap); padding-inline: var(--_step-pad); } /* the open step's content in the frame of its title's words (the bar's own inset), so it reads as that step's (Lh 2026-09-28, #153) */
527
- .sheet-step__inner > * { min-width: 0; }
527
+ :is(.sheet-step__body, .sheet-settings__group) { --_step-pad: var(--sheet-step-inner-pad-x, var(--sheet-step-bar-pad-x, var(--sp-3))); --_pad: calc(var(--card-pad, 0rem) + var(--_step-pad)); }
528
+ .sheet-step__body { margin-inline: calc(-1 * var(--card-pad, 0rem)); padding-inline: var(--card-pad, 0rem); min-height: 0; overflow: clip; overflow-clip-margin: var(--sp-1); }
529
+ :is(.sheet-step__inner, .sheet-settings__body) { --card-pad: var(--_pad); display: grid; gap: var(--card-gap); padding-block: var(--card-gap); padding-inline: var(--_step-pad); } /* the open step's content in the frame of its title's words (the bar's own inset), so it reads as that step's (Lh 2026-09-28, #153) */
530
+ :is(.sheet-step__inner, .sheet-settings__body) > * { min-width: 0; }
528
531
  .sheet-step:not(.sheet-step--now) > .sheet-step__body { visibility: hidden; transition: visibility 0s var(--ease-linear) var(--motion-sheet); }
529
532
  .sheet-step__go { position: absolute; inset: min(0rem, (var(--_row-h) - var(--tap-sm)) / 2) 0 auto; min-height: max(100%, var(--tap-sm)); /* a thin bar still takes a 44px tap */ margin: 0; cursor: pointer; }
530
533
  /* the last step's finish, when the app gives one: under the steps */
531
534
  .sheet-steps__finish { display: grid; padding-top: var(--card-gap); }
532
535
  @media (prefers-reduced-motion: reduce) { .sheet-step { transition: none; } }
533
536
 
537
+ /* ---- sheet settings: a settings sheet's sections, ALL open, one under another (Lh 2026-10-25) ----
538
+ <div class="sheet-settings"> › <div class="sheet-settings__group" role="group"> › __head (the step's bar, rules above) + __body (the
539
+ step's inner: the bar's inset, the card's gap). No order, no fold, nothing pressed: the bar is information. */
540
+ .sheet-settings { display: flex; flex-direction: column; min-width: 0; }
541
+ .sheet-settings__group { display: flex; flex-direction: column; min-width: 0; }
542
+
534
543
  /* ==== the step bar answers a press, as PRESS in actions.css answers every other control (#62: a block is written in its own file) ==== */
535
544
  .sheet-step:has(> .sheet-step__go:active) { opacity: var(--press-dim); } /* the step bar's button is invisible over it: the bar answers */
536
545
 
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));
@@ -707,9 +709,15 @@ button:enabled { cursor: pointer; } /* a disabled one keeps the arrow */
707
709
  .t-h2 { font: var(--type-h2); letter-spacing: var(--track-h2); margin: 0; --fs-self: var(--fs-h2); }
708
710
  .t-title { font: var(--type-title); margin: 0; --fs-self: var(--fs-title); }
709
711
  .t-body { font: var(--type-body); margin: 0; }
710
- .t-scroll { --_t-scroll-max: calc(var(--text-scroll-lines, 3.5) * 1lh); height: var(--text-scroll-size, auto); max-height: var(--text-scroll-size, var(--_t-scroll-max)); overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; } /* the box is plain: no border, no ground; lh = the body's own line */
712
+ .t-scroll { --_t-scroll-max: calc(var(--text-scroll-lines, 3.6) * 1lh); height: var(--text-scroll-size, auto); max-height: var(--text-scroll-size, var(--_t-scroll-max)); overflow: hidden; } /* the cut box of `Text expand`: plain, no border, no ground, no scroll; lh = the body's own line */
713
+ .t-expand { display: grid; } /* the box, and under it the chevron when the text does not fit */
714
+ .t-expand.is-open > .t-scroll { height: auto; max-height: none; } /* open: the whole text in place */
715
+ .t-expand__sign { justify-self: center; } /* the chevron: down = there is more, up = fold it */
711
716
  .t-label { font: var(--type-label); }
712
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) */
713
721
  .t-stat { font: var(--type-stat); letter-spacing: var(--track-display); margin: 0; font-variant-numeric: tabular-nums; }
714
722
  .t-stat--mono { font-family: var(--font-mono); letter-spacing: 0; } /* clocks, ETAs, codes */
715
723
  .t-stat--xl { font-size: var(--fs-hero); } /* the one number on a sheet */
@@ -2334,21 +2342,23 @@ button:enabled { cursor: pointer; } /* a disabled one keeps the arrow */
2334
2342
  display: grid; grid-template-columns: minmax(0, 1fr); /* the column is the step's width, never its words' — a long summary is cut with …, it never pushes the row past the sheet's edge (Lh 2026-09-28, #153) */ grid-template-rows: auto 0fr; align-content: start; /* mid-fold the rows sum to less than the box: the spare room stays BELOW, never spread into the title row (Lh: it looked like a spring) */
2335
2343
  flex: 0 0 auto;
2336
2344
  transition: grid-template-rows var(--motion-sheet) var(--ease), flex-grow var(--motion-sheet) var(--ease);
2337
- --_row-h: var(--sheet-steps-row-h, calc(var(--tap-base) * 2 / 3)); /* the bar's own floor, read once (__head and __go below share it) */
2338
2345
  }
2346
+ /* the title bar, its words and the inset of what stands under it are ONE look for a step and a settings section (SheetSettings,
2347
+ Lh 2026-10-25): the same rules, the same knobs — a theme that retunes the step bar retunes the settings bar with it */
2348
+ :where(.sheet-step, .sheet-settings__group) { --_row-h: var(--sheet-steps-row-h, calc(var(--tap-base) * 2 / 3)); /* the bar's own floor, read once (__head and __go below share it) */ }
2339
2349
  /* the open step GROWS into the room left, so the steps not done yet wait in a pile at the bottom — and a move is an ACCORDION:
2340
2350
  in one beat the step that was open folds while the new one unfolds (flex-grow and the 1fr row both ease), the piles slide
2341
2351
  with them, nothing jumps (Lh 2026-09-24) */
2342
2352
  .sheet-step--now { grid-template-rows: auto 1fr; flex-grow: 1; }
2343
2353
  .sheet-step + .sheet-step { margin-top: var(--sheet-steps-gap, var(--sp-1)); } /* the folded bars read as a pile, a little ground between them (Lh 2026-09-25) */
2344
- .sheet-step__head { /* every step's title line is a quiet BAR (a tint of the ink, not the brand — a brand bar read as a button, Lh 2026-09-25), the same height open or folded — opening shows the card's room under it, never a taller bar (Lh 2026-09-25; was a thin rule on top) */
2354
+ :is(.sheet-step__head, .sheet-settings__head) { /* every step's title line is a quiet BAR (a tint of the ink, not the brand — a brand bar read as a button, Lh 2026-09-25), the same height open or folded — opening shows the card's room under it, never a taller bar (Lh 2026-09-25; was a thin rule on top) */
2345
2355
  display: flex; align-items: center; gap: var(--sp-3); min-height: var(--_row-h); min-width: 0; /* THIN: 32px, a summary line, not a button (Lh 2026-09-25) — the tap stays 44, see __go */
2346
2356
  padding-inline: var(--sheet-step-bar-pad-x, var(--sp-3)); border-radius: var(--sheet-step-bar-radius, var(--r-chip));
2347
2357
  background: var(--sheet-step-bar-bg, var(--ink-tint)); color: var(--sheet-step-bar-ink, inherit);
2348
2358
  --card-muted: var(--card-ink); /* a tint of the ink: its secondary words are the full ink (no lighter shade holds 4.5:1 there) */
2349
2359
  border-top: var(--sheet-step-border-w, 0rem) solid var(--sheet-step-border, currentColor); /* a rule instead of the bar: set this, the bar's bg transparent, radius 0 */
2350
2360
  }
2351
- .sheet-step__title { font: var(--sheet-step-title-font, var(--type-label)); margin: 0; flex: 0 1 auto; min-width: 0; outline: none; /* the label size, not a body title: a pile of rows must stay small (Lh 2026-09-24) */ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
2361
+ :is(.sheet-step__title, .sheet-settings__title) { font: var(--sheet-step-title-font, var(--type-label)); margin: 0; flex: 0 1 auto; min-width: 0; outline: none; /* the label size, not a body title: a pile of rows must stay small (Lh 2026-09-24) */ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
2352
2362
  .sheet-step__num { /* `numbered`: the step's number in a disc BEFORE its title (Lh 2026-09-25) — a disc of the card's colour on the bar, the number in the ink */
2353
2363
  flex: none; display: grid; place-items: center; box-sizing: border-box; inline-size: var(--sheet-step-num-size, 1.408em); block-size: var(--sheet-step-num-size, 1.408em); /* em, not rem (Lh 2026-10-03, as the StackSheet's count): the disc is cut from ITS OWN number's size —
2354
2364
  at a large text size the number grew and a 24px disc did not, so the digit sat on its bottom edge; 1.408em of a 17px caption = the 24px it always was */
@@ -2365,15 +2375,22 @@ button:enabled { cursor: pointer; } /* a disabled one keeps the arrow */
2365
2375
  so a .bleed cancels it exactly. The sum is computed on the body, before the inner's --card-pad takes over; outside a card there is
2366
2376
  no --card-pad and the step keeps its own inset (0px, as .bleed reads it). The inner reads the knob itself, not the sum: a theme's
2367
2377
  unitless 0 (SheetSteps · Ruled) is a length there but not in a calc, so the step stays right and only the bleed is lost. */
2368
- .sheet-step__body { --_step-pad: var(--sheet-step-inner-pad-x, var(--sheet-step-bar-pad-x, var(--sp-3))); --_pad: calc(var(--card-pad, 0rem) + var(--_step-pad)); margin-inline: calc(-1 * var(--card-pad, 0rem)); padding-inline: var(--card-pad, 0rem); min-height: 0; overflow: clip; overflow-clip-margin: var(--sp-1); }
2369
- .sheet-step__inner { --card-pad: var(--_pad); display: grid; gap: var(--card-gap); padding-block: var(--card-gap); padding-inline: var(--_step-pad); } /* the open step's content in the frame of its title's words (the bar's own inset), so it reads as that step's (Lh 2026-09-28, #153) */
2370
- .sheet-step__inner > * { min-width: 0; }
2378
+ :is(.sheet-step__body, .sheet-settings__group) { --_step-pad: var(--sheet-step-inner-pad-x, var(--sheet-step-bar-pad-x, var(--sp-3))); --_pad: calc(var(--card-pad, 0rem) + var(--_step-pad)); }
2379
+ .sheet-step__body { margin-inline: calc(-1 * var(--card-pad, 0rem)); padding-inline: var(--card-pad, 0rem); min-height: 0; overflow: clip; overflow-clip-margin: var(--sp-1); }
2380
+ :is(.sheet-step__inner, .sheet-settings__body) { --card-pad: var(--_pad); display: grid; gap: var(--card-gap); padding-block: var(--card-gap); padding-inline: var(--_step-pad); } /* the open step's content in the frame of its title's words (the bar's own inset), so it reads as that step's (Lh 2026-09-28, #153) */
2381
+ :is(.sheet-step__inner, .sheet-settings__body) > * { min-width: 0; }
2371
2382
  .sheet-step:not(.sheet-step--now) > .sheet-step__body { visibility: hidden; transition: visibility 0s var(--ease-linear) var(--motion-sheet); }
2372
2383
  .sheet-step__go { position: absolute; inset: min(0rem, (var(--_row-h) - var(--tap-sm)) / 2) 0 auto; min-height: max(100%, var(--tap-sm)); /* a thin bar still takes a 44px tap */ margin: 0; cursor: pointer; }
2373
2384
  /* the last step's finish, when the app gives one: under the steps */
2374
2385
  .sheet-steps__finish { display: grid; padding-top: var(--card-gap); }
2375
2386
  @media (prefers-reduced-motion: reduce) { .sheet-step { transition: none; } }
2376
2387
 
2388
+ /* ---- sheet settings: a settings sheet's sections, ALL open, one under another (Lh 2026-10-25) ----
2389
+ <div class="sheet-settings"> › <div class="sheet-settings__group" role="group"> › __head (the step's bar, rules above) + __body (the
2390
+ step's inner: the bar's inset, the card's gap). No order, no fold, nothing pressed: the bar is information. */
2391
+ .sheet-settings { display: flex; flex-direction: column; min-width: 0; }
2392
+ .sheet-settings__group { display: flex; flex-direction: column; min-width: 0; }
2393
+
2377
2394
  /* ==== the step bar answers a press, as PRESS in actions.css answers every other control (#62: a block is written in its own file) ==== */
2378
2395
  .sheet-step:has(> .sheet-step__go:active) { opacity: var(--press-dim); } /* the step bar's button is invisible over it: the bar answers */
2379
2396
 
@@ -3090,7 +3107,8 @@ button:enabled { cursor: pointer; } /* a disabled one keeps the arrow */
3090
3107
  .feed-card--small (Lh 2026-10-09) = the small card of a CardFeed: the card itself is the button that grows it, so it has the ring too.
3091
3108
  .card--go (Lh 2026-10-09) = a card pressed whole: `Card` renders it while its ONE control is its foot's button or a row card's end
3092
3109
  button (src/cards/cardGo.ts). It is in the DIM pointer and :active lists only — the focus ring and the disabled look stay the
3093
- button's, the card itself is never focused or disabled. */
3110
+ button's, the card itself is never focused or disabled.
3111
+ .t-expand--more (Lh 2026-10-25) = a `Text expand` that does not fit: the whole box opens or folds, so it DIMS. */
3094
3112
  :where(.btn, .icon-btn, .link, a.chip, button.chip, .chip--pick, a.tile, button.tile, .tile--pick, .day, .segment__item, .calendar__day,
3095
3113
  .float-bar__item, .avatar-pick__item, .add-row, .picker__item, .dropdown__btn, .appbar__who, .check, .toggle, .mood__opt, .sheet__handle,
3096
3114
  a.avatar, button.avatar, .menu__item, button.snackbar__body, .stamp--tap, button.stamp-cell, button.stamp-place, .post-letter__turn, .post-desk__slot, .post-desk__pick, .post-desk__reach, .stamp-on__remove, .map-pick) {
@@ -3098,7 +3116,7 @@ button:enabled { cursor: pointer; } /* a disabled one keeps the arrow */
3098
3116
  touch-action: manipulation;
3099
3117
  transition: scale var(--motion-press) var(--ease-out);
3100
3118
  }
3101
- :where(a.row, button.row, label.row, .row-expand > summary, .banner__summary, a.card, label.card, .card--go, .feed-card--small, .toggle-field, .post-box__edge) {
3119
+ :where(a.row, button.row, label.row, .row-expand > summary, .banner__summary, a.card, label.card, .card--go, .feed-card--small, .toggle-field, .post-box__edge, .t-expand--more) {
3102
3120
  cursor: pointer;
3103
3121
  touch-action: manipulation;
3104
3122
  transition: opacity var(--motion-press) var(--ease-out);
@@ -3113,7 +3131,7 @@ button:enabled { cursor: pointer; } /* a disabled one keeps the arrow */
3113
3131
  :where(.btn, .icon-btn, .link, a.chip, button.chip, .chip--pick, a.tile, button.tile, .tile--pick, .day, .segment__item, .calendar__day,
3114
3132
  .float-bar__item, .avatar-pick__item, .add-row, .picker__item, .dropdown__btn, .appbar__who, .check, .toggle, .mood__opt, .sheet__handle,
3115
3133
  a.avatar, button.avatar, .menu__item, button.snackbar__body, .stamp--tap, button.stamp-cell, button.stamp-place, .post-letter__turn, .post-desk__slot, .post-desk__pick, .post-desk__reach, .stamp-on__remove, .map-pick):active:not(:disabled, [aria-disabled="true"], :has(:disabled)) { scale: var(--press-scale); }
3116
- :where(a.row, button.row, label.row, .row-expand > summary, .banner__summary, a.card, label.card, .card--go, .feed-card--small, .toggle-field, .post-box__edge):active:not([aria-disabled="true"], :has(:disabled)) { opacity: var(--press-dim); }
3134
+ :where(a.row, button.row, label.row, .row-expand > summary, .banner__summary, a.card, label.card, .card--go, .feed-card--small, .toggle-field, .post-box__edge, .t-expand--more):active:not([aria-disabled="true"], :has(:disabled)) { opacity: var(--press-dim); }
3117
3135
  /* SHADE — what has something BEHIND it (a peeked sheet over the pile, a postcard's face over its back, a post letter's sheet over the other) must not turn see-through:
3118
3136
  it darkens a touch instead (--press-shade) */
3119
3137
  :where(.sheet-stack--tap > .card:not(.is-open), .postcard__turn, .post-letter__sheet:not(:has(.icon-btn:active))) { cursor: pointer; touch-action: manipulation; transition: filter var(--motion-press) var(--ease-out); }
@@ -3123,7 +3141,7 @@ button:enabled { cursor: pointer; } /* a disabled one keeps the arrow */
3123
3141
  .float-bar__item, .avatar-pick__item, .add-row, .picker__item, .dropdown__btn, .appbar__who, .check, .toggle, .mood__opt, .sheet__handle,
3124
3142
  a.avatar, button.avatar, .menu__item, button.snackbar__body, .stamp--tap, button.stamp-cell, button.stamp-place, .post-letter__turn, .post-desk__slot, .post-desk__pick, .post-desk__reach, .stamp-on__remove):focus-visible,
3125
3143
  :where(.chip--pick, .tile--pick, label.btn, label.row, .toggle-field):has(:focus-visible), :where(label.card:has(> input[type="radio"]:focus-visible)) { outline: var(--focus); outline-offset: var(--sp-1); }
3126
- :where(a.row, button.row, label.row, .row-expand > summary, .banner__summary, a.card, label.card, .feed-card--small, .toggle-field, .post-box__edge):not(label, .toggle-field):focus-visible { outline: var(--focus); outline-offset: var(--sp-1); }
3144
+ :where(a.row, button.row, label.row, .row-expand > summary, .banner__summary, a.card, label.card, .feed-card--small, .toggle-field, .post-box__edge, .t-expand--more):not(label, .toggle-field):focus-visible { outline: var(--focus); outline-offset: var(--sp-1); }
3127
3145
  /* disabled: no pointer anywhere; a control fades (a link and a row keep their own muted look) */
3128
3146
  :where(.btn, .icon-btn, .link, a.chip, button.chip, .chip--pick, a.tile, button.tile, .tile--pick, .day, .segment__item, .calendar__day,
3129
3147
  .float-bar__item, .avatar-pick__item, .add-row, .picker__item, .dropdown__btn, .appbar__who, .check, .toggle, .mood__opt, .sheet__handle,
@@ -4154,6 +4172,7 @@ button.calendar__label:focus-visible { outline: var(--focus); outline-offset: va
4154
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)); }
4155
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; }
4156
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 */
4157
4176
  .link:disabled { color: var(--link-disabled-ink, var(--card-muted)); cursor: default; } /* inactive = muted (a Countdown) */
4158
4177
  .link--wait { font-variant-numeric: tabular-nums; } /* the countdown's digits keep their width: the words do not jiggle each second */
4159
4178
 
@@ -4257,9 +4276,10 @@ button.calendar__label:focus-visible { outline: var(--focus); outline-offset: va
4257
4276
  -webkit-line-clamp: var(--head-title-lines, 3);
4258
4277
  line-clamp: var(--head-title-lines, 3);
4259
4278
  overflow: hidden;
4260
- padding-block-start: var(--_mark-room); /* a stacked Thai mark rises over the first line's box: room inside the clip, given back outside */
4261
- 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));
4262
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 */
4263
4283
  }
4264
4284
 
4265
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) */
@@ -4289,6 +4309,25 @@ button.calendar__label:focus-visible { outline: var(--focus); outline-offset: va
4289
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> */
4290
4310
  .head:has(> .stamp) { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
4291
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; }
4292
4331
 
4293
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
4294
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
@@ -4522,6 +4561,12 @@ button.calendar__label:focus-visible { outline: var(--focus); outline-offset: va
4522
4561
  .foot--round { justify-content: center; gap: var(--foot-gap, var(--sp-6)); }
4523
4562
  /* joined (Foot round joined): the round buttons linked by dots (the dots are BtnRow's, actions.css), a closer gap */
4524
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); }
4525
4570
 
4526
4571
  /* in a card with paper bands: the foot band (the head's look, above) is slim */
4527
4572
  :is(.card--bands, .card--bands > .card__face) > .foot { margin-bottom: calc(-1 * var(--card-pad)); padding-block: var(--sp-3); }
@@ -5269,7 +5314,11 @@ button.calendar__label:focus-visible { outline: var(--focus); outline-offset: va
5269
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
5270
5315
  does a stamp in an album's cell wherever the album lies */
5271
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))); }
5272
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) */
5273
5322
  /* ---- where it sits in what people.css draws (docs/reference.md rule 15) ---- */
5274
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
5275
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)
@@ -5645,7 +5694,7 @@ button.calendar__label:focus-visible { outline: var(--focus); outline-offset: va
5645
5694
  .quote--sm .quote__text { font: var(--type-h2); letter-spacing: var(--track-h2); }
5646
5695
  .quote__by { font: var(--quote-by-font, var(--type-caption)); color: var(--quote-by-ink, var(--card-muted)); }
5647
5696
 
5648
- /* ---- tile grid: big square tiles — icon top, label bottom ----
5697
+ /* ---- tile grid: big square tiles — icon top, label bottom (inline: icon and label on one line) ----
5649
5698
  <div class="tile-grid"><button class="tile"><svg class="icon"/><span class="tile__label">Light</span></button>
5650
5699
  <label class="tile tile--pick"><input type="checkbox"><svg class="icon"/><span class="tile__label">Music</span></label></div> */
5651
5700
  .tile-grid {
@@ -5677,6 +5726,18 @@ button.calendar__label:focus-visible { outline: var(--focus); outline-offset: va
5677
5726
  .tile--on { background: var(--tile-on-bg, var(--accent)); --dark: var(--accent-dark); color: var(--tile-on-ink, var(--card-ink)); border-color: transparent; }
5678
5727
  /* .tile--pick's hidden input and :has(:checked) fill are declared once in choice.css, alongside .chip--pick and .mood__opt */
5679
5728
  .tile--wide { grid-column: 1 / -1; }
5729
+ /* inline: the icon at the start of the label's line, the sub under the label (not under the icon); as tall as those two lines */
5730
+ .tile--inline {
5731
+ grid-template-columns: auto 1fr;
5732
+ align-items: center;
5733
+ align-content: center;
5734
+ column-gap: var(--tile-inline-gap, var(--sp-3));
5735
+ row-gap: var(--tile-text-gap, var(--sp-0));
5736
+ min-height: var(--tile-inline-min-h, var(--tap));
5737
+ }
5738
+ .tile--inline:not(:has(> .icon)) { grid-template-columns: 1fr; }
5739
+ .tile--inline .tile__text { display: contents; }
5740
+ .tile--inline .tile__sub { grid-column: -2; }
5680
5741
  /* upload: dashed, centred plus + label */
5681
5742
  .tile--upload {
5682
5743
  border-style: dashed;