@usableapp/cardds 0.7.125 → 0.7.127

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,29 @@
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.127 — 2026-10-25
6
+
7
+ `Btn warn`: a pill in the warning ink. The member's own item gets a standard foot: Edit left, cancel right.
8
+
9
+ Components: Btn
10
+
11
+ ### Added
12
+ - **`Btn warn`**: the button's words and icon are in the warning signal ink (`--signal-warn`, knob `--btn-warn-ink`). Use it for a move to think twice about, not an error. Fill, edge and size stay the plain Btn's; under `data-finish="ink"` the edge stays the plain button's too.
13
+ - **Standard: the member's own item** (their request, post, booking). The foot is one line: Edit left, cancel right. `<Foot><Btn><Icon name="pencil" size="xs" /> Edit</Btn><Btn warn><Icon name="x" size="xs" /> Cancel request</Btn></Foot>`. Story `Btn · OwnItemFoot` (new); `docs/reference.md`.
14
+
15
+ ## 0.7.126 — 2026-10-25
16
+
17
+ A long `Text expand` keeps its ink when pressed, a banded card's head holds an `under` stamp beside it, and under `lit` a button has no shadow behind it.
18
+
19
+ Components: Text, Card, Btn, IconBtn
20
+
21
+ ### Fixed
22
+ - **A `Text expand` that does not fit no longer dims under the finger.** It is words: it opens or folds on a tap, and its ink never changes. Pointer stays.
23
+ - **A `paper="bands"` card with `StampOn under` beside its head (a card's child, not in the head) gets a head band at least as tall as the stamp plus `--card-pad` above and below.** A short title no longer leaves the stamp hanging past the band. A long title still runs over the stamp and grows the band. Story `Card/StampOnUnderBandsTitle` (new).
24
+
25
+ ### Changed
26
+ - **Under `data-finish="lit"`, a button has no shadow behind it.** `Btn` and `IconBtn` keep the lit top edge, the ring and the sheen; the primary one keeps its lit edge only. Pressed still goes down. Cards and sheets keep their shadow.
27
+
5
28
  ## 0.7.125 — 2026-10-25
6
29
 
7
30
  A caption over an h1 that wraps starts where a one-line one does, and every stamp in a card head is glued down.
package/css/actions.css CHANGED
@@ -153,6 +153,7 @@
153
153
  it is ink on whatever it sits on — inherit, or on the dark slot (card--3) it
154
154
  would take the light-card action ink and vanish */
155
155
  .btn--quiet { background: transparent; color: inherit; border-color: var(--btn-quiet-border, color-mix(in srgb, currentColor 35%, transparent)); }
156
+ .btn--warn { --dark: var(--action-dark); color: var(--btn-warn-ink, var(--signal-warn)); } /* a move to think twice about ("cancel the request"): the signal set's warning, on the button's own paper — its side, not the card's */
156
157
  .btn--block { width: 100%; }
157
158
  .btn--form { justify-self: center; align-self: center; margin-inline: auto; padding-inline: var(--btn-form-pad-x, calc(var(--sp-base) * 14.5)); /* 58px: "ส่งรหัส OTP" at 213px, 20% longer than at 40px sides (Lh 2026-09-25) */ } /* a form's button: its words + wide sides, centred in a grid (a step) or a block (Lh 2026-09-25) */
158
159
  /* xl: the one giant call to action in a tinted card ("Taxi!") */
@@ -429,7 +430,8 @@
429
430
  .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
431
  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
432
  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. */
433
+ .t-expand--more (Lh 2026-10-25) = a `Text expand` that does not fit: the whole box opens or folds. It is WORDS, so it neither
434
+ dims nor gives: its ink never changes under the finger (Lh 2026-10-25), the opening is the answer. Pointer only (below). */
433
435
  :where(.btn, .icon-btn, .link, a.chip, button.chip, .chip--pick, a.tile, button.tile, .tile--pick, .day, .segment__item, .calendar__day,
434
436
  .float-bar__item, .avatar-pick__item, .add-row, .picker__item, .dropdown__btn, .appbar__who, .check, .toggle, .mood__opt, .sheet__handle,
435
437
  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, .count-in__cancel) {
@@ -437,11 +439,12 @@
437
439
  touch-action: manipulation;
438
440
  transition: scale var(--motion-press) var(--ease-out);
439
441
  }
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) {
442
+ :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) {
441
443
  cursor: pointer;
442
444
  touch-action: manipulation;
443
445
  transition: opacity var(--motion-press) var(--ease-out);
444
446
  }
447
+ :where(.t-expand--more) { cursor: pointer; touch-action: manipulation; }
445
448
  /* a CHOICE's fill fades in as it is picked (a plain button's colour never changes on a tap, so it does not fade) */
446
449
  :where(.chip--pick, button.chip, .tile--pick, button.tile, .day, .segment__item, .calendar__day, .float-bar__item, .picker__item, .check,
447
450
  .icon-btn[role="tab"], .avatar-pick__item > .avatar, .map-pick > .map-pick__mark, .map-pick > .map-pick__name) {
@@ -452,7 +455,7 @@
452
455
  :where(.btn, .icon-btn, .link, a.chip, button.chip, .chip--pick, a.tile, button.tile, .tile--pick, .day, .segment__item, .calendar__day,
453
456
  .float-bar__item, .avatar-pick__item, .add-row, .picker__item, .dropdown__btn, .appbar__who, .check, .toggle, .mood__opt, .sheet__handle,
454
457
  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); }
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); }
458
+ :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); }
456
459
  /* 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:
457
460
  it darkens a touch instead (--press-shade) */
458
461
  :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); }
package/css/finish.css CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  FINISHES — four values of the one attribute (Lh 2026-10-12, from the timebank home with each injected:
8
8
  four finishes, variations of one concept, never new pieces; teeth · tape · ticket · slab were rejected):
9
- lit = lit from above: a lit top edge, a hairline ring and a layered shadow that grows with height; filled buttons stand up and go down under the finger; fields and pin cells are sunk.
9
+ lit = lit from above: a lit top edge, a hairline ring and a layered shadow that grows with height; filled buttons have a lit edge and no shadow behind them, and go down under the finger; fields and pin cells are sunk.
10
10
  print = printed paper: an ink line in the card's own ink, a hard misregistered offset instead of a blurred shadow, paper grain over the card, a dotted rule under the head as on a printed form; information inside stays flat.
11
11
  sticker = a die-cut sticker: a white cut line round the card, a short hard drop, a slight tilt on a lone card, buttons with a bottom edge that press down.
12
12
  ink = a poster / comic print: a thick line in the surface's ink round every boundary and control, a hard offset in the same ink.
@@ -48,10 +48,8 @@
48
48
  0 -0.0625rem 0.125rem color-mix(in srgb, var(--_shade) 6%, transparent),
49
49
  0 -0.75rem 2.5rem color-mix(in srgb, var(--_shade) 18%, transparent);
50
50
 
51
- /* a control: its own small lift, and the sheen that runs down its face */
52
- --finish-control: var(--finish-edge), var(--finish-ring),
53
- 0 0.0625rem 0.125rem color-mix(in srgb, var(--_shade) 12%, transparent),
54
- 0 0.25rem 0.5rem -0.125rem color-mix(in srgb, var(--_shade) 12%, transparent);
51
+ /* a control: its lit edge and ring, no shadow behind it (Lh 2026-10-25), and the sheen that runs down its face */
52
+ --finish-control: var(--finish-edge), var(--finish-ring);
55
53
  --finish-control-down: var(--finish-ring), inset 0 0.0625rem 0.125rem color-mix(in srgb, var(--_shade) 18%, transparent);
56
54
  --finish-sheen: linear-gradient(to bottom, rgb(255 255 255 / 0.16), rgb(255 255 255 / 0) 60%);
57
55
  --finish-sunk: inset 0 0.0625rem 0.125rem color-mix(in srgb, var(--_shade) 14%, transparent), 0 0.0625rem 0 rgb(255 255 255 / 0.5);
@@ -74,12 +72,10 @@
74
72
  background-image: var(--finish-sheen);
75
73
  box-shadow: var(--finish-control);
76
74
  }
77
- /* the main button throws its own colour */
75
+ /* the main button: its lit edge only, no ring and no shadow behind it */
78
76
  [data-finish="lit"] .btn--primary,
79
77
  [data-finish="lit"] :is(.icon-btn--invert, .icon-btn--primary):not(.icon-btn-group > *) {
80
- box-shadow: var(--finish-edge),
81
- 0 0.0625rem 0.125rem color-mix(in srgb, var(--_shade) 20%, transparent),
82
- 0 0.5rem 1rem -0.25rem color-mix(in srgb, var(--accent) 45%, transparent);
78
+ box-shadow: var(--finish-edge);
83
79
  }
84
80
  /* a peeked stack tab is the icon alone: no sheen and no shadow until its sheet is open (the fill fades with the sheet) */
85
81
  [data-finish="lit"] .sheet-stack--tap > .card:not(.is-open) > .head .stack-sheet__tab {
@@ -165,6 +161,7 @@
165
161
  [data-finish="ink"] { --card-border: var(--on-surface); --action-border: var(--on-surface); --outline: currentColor; }
166
162
  [data-finish="ink"] .card { border: var(--ink-w, 0.15625rem) solid var(--on-surface); box-shadow: var(--ink-off, 0.3125rem) var(--ink-off, 0.3125rem) 0 0 var(--on-surface); }
167
163
  [data-finish="ink"] :is(.btn, .chip, .icon-btn:not(.icon-btn-group > *)) { border: var(--ink-w, 0.15625rem) solid currentColor; box-shadow: 0.1875rem 0.1875rem 0 0 currentColor; }
164
+ [data-finish="ink"] .btn--warn { border-color: var(--btn-ink, var(--action-ink)); box-shadow: 0.1875rem 0.1875rem 0 0 var(--btn-ink, var(--action-ink)); } /* the edge stays the plain button's: only the words take the warning */
168
165
  [data-finish="ink"] .btn--primary { border-color: var(--on-surface); box-shadow: 0.1875rem 0.1875rem 0 0 var(--on-surface); }
169
166
  [data-finish="ink"] .toggle { box-shadow: 0.125rem 0.125rem 0 0 var(--on-surface); }
170
167
  [data-finish="ink"] .card--row > .lead { border-width: var(--ink-w, 0.15625rem); }
package/css/parts.css CHANGED
@@ -174,6 +174,9 @@
174
174
  onto a pseudo-element one step lower (--z-under-2): the stamp shows on the band and the head's words stay over the stamp */
175
175
  :is(.card--bands, .card--bands > .card__face):has(> .stamp-on--under, > .card__middle > .stamp-on--under) > .head { position: relative; background: none; }
176
176
  :is(.card--bands, .card--bands > .card__face):has(> .stamp-on--under, > .card__middle > .stamp-on--under) > .head::before { content: ""; position: absolute; inset: 0; z-index: var(--z-under-2); background: var(--card-bg); }
177
+ /* the under stamp is absolute at --card-pad from the card's top, so it takes no room in the head: the band is held at least as tall as the stamp
178
+ (--stamp-size wide, 4 : 5) plus --card-pad above and below it, so a short title never leaves the stamp hanging past the band. Words taller grow it as before */
179
+ :is(.card--bands, .card--bands > .card__face):has(> .stamp-on--under, > .card__middle > .stamp-on--under) > .head { min-block-size: calc(var(--card-pad) * 2 + var(--stamp-size, calc(var(--tap) * 2)) * 5 / 4); }
177
180
 
178
181
  /* in a sheet stack */
179
182
  /* stack headers: uniform — [back?] title left, icons right, one height,
package/css/tokens.css CHANGED
@@ -361,7 +361,7 @@
361
361
  tile) takes its ground's side: `--dark: inherit`. inkGrounds() measures it; docs/reference.md "Ink follows its ground" */
362
362
  :where(body, [data-palette], [data-mode], .card, .tile, .modal__drawer, .postcard__front, .postcard__back, .sticky, .post-paper,
363
363
  .float-bar__pill, .snackbar__body, .track, .tile-badge, .avatar, .bubble__body, .map__hint, .map__pin, .sheet--paper > :is(.body, .foot),
364
- .postcard__band, .track__step, .toggle, .chip, .card__face, .card--bands > :is(.head, .foot), .card--bands > .card__face > :is(.head, .foot)) {
364
+ .postcard__band, .track__step, .toggle, .chip, .btn--warn, .card__face, .card--bands > :is(.head, .foot), .card--bands > .card__face > :is(.head, .foot)) {
365
365
  --card-ink: color-mix(in srgb, var(--ink-ondark) calc(var(--dark) * 100%), var(--ink-onlight));
366
366
  --card-muted: color-mix(in srgb, var(--ink-ondark-muted) calc(var(--dark) * 100%), var(--ink-onlight-muted));
367
367
  --on-accent: color-mix(in srgb, var(--ink-ondark) calc(var(--accent-dark) * 100%), var(--ink-onlight));
@@ -4,6 +4,8 @@ export interface BtnProps extends Omit<ComponentProps<'button'>, 'form'> {
4
4
  primary?: boolean;
5
5
  /** ink on whatever it sits on, a faint outline */
6
6
  quiet?: boolean;
7
+ /** the warning ink (`--signal-warn`, knob `--btn-warn-ink`), for a move to think twice about: "Cancel request" on the member's own item */
8
+ warn?: boolean;
7
9
  /** full width */
8
10
  block?: boolean;
9
11
  /** a form's button: sized to its words with wide side padding, centred on its own row — it reads as part of the form above it,
@@ -19,7 +21,7 @@ export interface BtnProps extends Omit<ComponentProps<'button'>, 'form'> {
19
21
  * Btn — the pill button (48px+ tall). Plain by default; `primary` for the one move; `quiet` on tinted cards.
20
22
  * In a Foot up to four share the line; in an ActionBar it takes the width. An Icon xs may lead or trail the label.
21
23
  */
22
- export declare function Btn({ primary, quiet, block, form, xl, href, className, type, ...rest }: BtnProps): import("react").DetailedReactHTMLElement<{
24
+ export declare function Btn({ primary, quiet, warn, block, form, xl, href, className, type, ...rest }: BtnProps): import("react").DetailedReactHTMLElement<{
23
25
  translate?: "yes" | "no" | undefined | undefined;
24
26
  onChange?: import("react").ChangeEventHandler<HTMLButtonElement, Element> | undefined;
25
27
  slot?: string | undefined | undefined;
@@ -4,11 +4,11 @@ import { cx } from '../cx.js';
4
4
  * Btn — the pill button (48px+ tall). Plain by default; `primary` for the one move; `quiet` on tinted cards.
5
5
  * In a Foot up to four share the line; in an ActionBar it takes the width. An Icon xs may lead or trail the label.
6
6
  */
7
- export function Btn({ primary, quiet, block, form, xl, href, className, type, ...rest }) {
7
+ export function Btn({ primary, quiet, warn, block, form, xl, href, className, type, ...rest }) {
8
8
  return createElement(href ? 'a' : 'button', {
9
9
  href,
10
10
  type: href ? undefined : type ?? 'button',
11
- className: cx('btn', primary && 'btn--primary', quiet && 'btn--quiet', block && 'btn--block', form && 'btn--form', xl && 'btn--xl', className),
11
+ className: cx('btn', primary && 'btn--primary', quiet && 'btn--quiet', warn && 'btn--warn', block && 'btn--block', form && 'btn--form', xl && 'btn--xl', className),
12
12
  ...rest,
13
13
  });
14
14
  }
package/dist/cardds.css CHANGED
@@ -402,7 +402,7 @@
402
402
  tile) takes its ground's side: `--dark: inherit`. inkGrounds() measures it; docs/reference.md "Ink follows its ground" */
403
403
  :where(body, [data-palette], [data-mode], .card, .tile, .modal__drawer, .postcard__front, .postcard__back, .sticky, .post-paper,
404
404
  .float-bar__pill, .snackbar__body, .track, .tile-badge, .avatar, .bubble__body, .map__hint, .map__pin, .sheet--paper > :is(.body, .foot),
405
- .postcard__band, .track__step, .toggle, .chip, .card__face, .card--bands > :is(.head, .foot), .card--bands > .card__face > :is(.head, .foot)) {
405
+ .postcard__band, .track__step, .toggle, .chip, .btn--warn, .card__face, .card--bands > :is(.head, .foot), .card--bands > .card__face > :is(.head, .foot)) {
406
406
  --card-ink: color-mix(in srgb, var(--ink-ondark) calc(var(--dark) * 100%), var(--ink-onlight));
407
407
  --card-muted: color-mix(in srgb, var(--ink-ondark-muted) calc(var(--dark) * 100%), var(--ink-onlight-muted));
408
408
  --on-accent: color-mix(in srgb, var(--ink-ondark) calc(var(--accent-dark) * 100%), var(--ink-onlight));
@@ -2833,6 +2833,7 @@ button:enabled { cursor: pointer; } /* a disabled one keeps the arrow */
2833
2833
  it is ink on whatever it sits on — inherit, or on the dark slot (card--3) it
2834
2834
  would take the light-card action ink and vanish */
2835
2835
  .btn--quiet { background: transparent; color: inherit; border-color: var(--btn-quiet-border, color-mix(in srgb, currentColor 35%, transparent)); }
2836
+ .btn--warn { --dark: var(--action-dark); color: var(--btn-warn-ink, var(--signal-warn)); } /* a move to think twice about ("cancel the request"): the signal set's warning, on the button's own paper — its side, not the card's */
2836
2837
  .btn--block { width: 100%; }
2837
2838
  .btn--form { justify-self: center; align-self: center; margin-inline: auto; padding-inline: var(--btn-form-pad-x, calc(var(--sp-base) * 14.5)); /* 58px: "ส่งรหัส OTP" at 213px, 20% longer than at 40px sides (Lh 2026-09-25) */ } /* a form's button: its words + wide sides, centred in a grid (a step) or a block (Lh 2026-09-25) */
2838
2839
  /* xl: the one giant call to action in a tinted card ("Taxi!") */
@@ -3109,7 +3110,8 @@ button:enabled { cursor: pointer; } /* a disabled one keeps the arrow */
3109
3110
  .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
3110
3111
  button (src/cards/cardGo.ts). It is in the DIM pointer and :active lists only — the focus ring and the disabled look stay the
3111
3112
  button's, the card itself is never focused or disabled.
3112
- .t-expand--more (Lh 2026-10-25) = a `Text expand` that does not fit: the whole box opens or folds, so it DIMS. */
3113
+ .t-expand--more (Lh 2026-10-25) = a `Text expand` that does not fit: the whole box opens or folds. It is WORDS, so it neither
3114
+ dims nor gives: its ink never changes under the finger (Lh 2026-10-25), the opening is the answer. Pointer only (below). */
3113
3115
  :where(.btn, .icon-btn, .link, a.chip, button.chip, .chip--pick, a.tile, button.tile, .tile--pick, .day, .segment__item, .calendar__day,
3114
3116
  .float-bar__item, .avatar-pick__item, .add-row, .picker__item, .dropdown__btn, .appbar__who, .check, .toggle, .mood__opt, .sheet__handle,
3115
3117
  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, .count-in__cancel) {
@@ -3117,11 +3119,12 @@ button:enabled { cursor: pointer; } /* a disabled one keeps the arrow */
3117
3119
  touch-action: manipulation;
3118
3120
  transition: scale var(--motion-press) var(--ease-out);
3119
3121
  }
3120
- :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) {
3122
+ :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) {
3121
3123
  cursor: pointer;
3122
3124
  touch-action: manipulation;
3123
3125
  transition: opacity var(--motion-press) var(--ease-out);
3124
3126
  }
3127
+ :where(.t-expand--more) { cursor: pointer; touch-action: manipulation; }
3125
3128
  /* a CHOICE's fill fades in as it is picked (a plain button's colour never changes on a tap, so it does not fade) */
3126
3129
  :where(.chip--pick, button.chip, .tile--pick, button.tile, .day, .segment__item, .calendar__day, .float-bar__item, .picker__item, .check,
3127
3130
  .icon-btn[role="tab"], .avatar-pick__item > .avatar, .map-pick > .map-pick__mark, .map-pick > .map-pick__name) {
@@ -3132,7 +3135,7 @@ button:enabled { cursor: pointer; } /* a disabled one keeps the arrow */
3132
3135
  :where(.btn, .icon-btn, .link, a.chip, button.chip, .chip--pick, a.tile, button.tile, .tile--pick, .day, .segment__item, .calendar__day,
3133
3136
  .float-bar__item, .avatar-pick__item, .add-row, .picker__item, .dropdown__btn, .appbar__who, .check, .toggle, .mood__opt, .sheet__handle,
3134
3137
  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); }
3135
- :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); }
3138
+ :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); }
3136
3139
  /* 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:
3137
3140
  it darkens a touch instead (--press-shade) */
3138
3141
  :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); }
@@ -4366,6 +4369,9 @@ button.calendar__label:focus-visible { outline: var(--focus); outline-offset: va
4366
4369
  onto a pseudo-element one step lower (--z-under-2): the stamp shows on the band and the head's words stay over the stamp */
4367
4370
  :is(.card--bands, .card--bands > .card__face):has(> .stamp-on--under, > .card__middle > .stamp-on--under) > .head { position: relative; background: none; }
4368
4371
  :is(.card--bands, .card--bands > .card__face):has(> .stamp-on--under, > .card__middle > .stamp-on--under) > .head::before { content: ""; position: absolute; inset: 0; z-index: var(--z-under-2); background: var(--card-bg); }
4372
+ /* the under stamp is absolute at --card-pad from the card's top, so it takes no room in the head: the band is held at least as tall as the stamp
4373
+ (--stamp-size wide, 4 : 5) plus --card-pad above and below it, so a short title never leaves the stamp hanging past the band. Words taller grow it as before */
4374
+ :is(.card--bands, .card--bands > .card__face):has(> .stamp-on--under, > .card__middle > .stamp-on--under) > .head { min-block-size: calc(var(--card-pad) * 2 + var(--stamp-size, calc(var(--tap) * 2)) * 5 / 4); }
4369
4375
 
4370
4376
  /* in a sheet stack */
4371
4377
  /* stack headers: uniform — [back?] title left, icons right, one height,
@@ -6319,7 +6325,7 @@ button.calendar__label:focus-visible { outline: var(--focus); outline-offset: va
6319
6325
 
6320
6326
  FINISHES — four values of the one attribute (Lh 2026-10-12, from the timebank home with each injected:
6321
6327
  four finishes, variations of one concept, never new pieces; teeth · tape · ticket · slab were rejected):
6322
- lit = lit from above: a lit top edge, a hairline ring and a layered shadow that grows with height; filled buttons stand up and go down under the finger; fields and pin cells are sunk.
6328
+ lit = lit from above: a lit top edge, a hairline ring and a layered shadow that grows with height; filled buttons have a lit edge and no shadow behind them, and go down under the finger; fields and pin cells are sunk.
6323
6329
  print = printed paper: an ink line in the card's own ink, a hard misregistered offset instead of a blurred shadow, paper grain over the card, a dotted rule under the head as on a printed form; information inside stays flat.
6324
6330
  sticker = a die-cut sticker: a white cut line round the card, a short hard drop, a slight tilt on a lone card, buttons with a bottom edge that press down.
6325
6331
  ink = a poster / comic print: a thick line in the surface's ink round every boundary and control, a hard offset in the same ink.
@@ -6361,10 +6367,8 @@ button.calendar__label:focus-visible { outline: var(--focus); outline-offset: va
6361
6367
  0 -0.0625rem 0.125rem color-mix(in srgb, var(--_shade) 6%, transparent),
6362
6368
  0 -0.75rem 2.5rem color-mix(in srgb, var(--_shade) 18%, transparent);
6363
6369
 
6364
- /* a control: its own small lift, and the sheen that runs down its face */
6365
- --finish-control: var(--finish-edge), var(--finish-ring),
6366
- 0 0.0625rem 0.125rem color-mix(in srgb, var(--_shade) 12%, transparent),
6367
- 0 0.25rem 0.5rem -0.125rem color-mix(in srgb, var(--_shade) 12%, transparent);
6370
+ /* a control: its lit edge and ring, no shadow behind it (Lh 2026-10-25), and the sheen that runs down its face */
6371
+ --finish-control: var(--finish-edge), var(--finish-ring);
6368
6372
  --finish-control-down: var(--finish-ring), inset 0 0.0625rem 0.125rem color-mix(in srgb, var(--_shade) 18%, transparent);
6369
6373
  --finish-sheen: linear-gradient(to bottom, rgb(255 255 255 / 0.16), rgb(255 255 255 / 0) 60%);
6370
6374
  --finish-sunk: inset 0 0.0625rem 0.125rem color-mix(in srgb, var(--_shade) 14%, transparent), 0 0.0625rem 0 rgb(255 255 255 / 0.5);
@@ -6387,12 +6391,10 @@ button.calendar__label:focus-visible { outline: var(--focus); outline-offset: va
6387
6391
  background-image: var(--finish-sheen);
6388
6392
  box-shadow: var(--finish-control);
6389
6393
  }
6390
- /* the main button throws its own colour */
6394
+ /* the main button: its lit edge only, no ring and no shadow behind it */
6391
6395
  [data-finish="lit"] .btn--primary,
6392
6396
  [data-finish="lit"] :is(.icon-btn--invert, .icon-btn--primary):not(.icon-btn-group > *) {
6393
- box-shadow: var(--finish-edge),
6394
- 0 0.0625rem 0.125rem color-mix(in srgb, var(--_shade) 20%, transparent),
6395
- 0 0.5rem 1rem -0.25rem color-mix(in srgb, var(--accent) 45%, transparent);
6397
+ box-shadow: var(--finish-edge);
6396
6398
  }
6397
6399
  /* a peeked stack tab is the icon alone: no sheen and no shadow until its sheet is open (the fill fades with the sheet) */
6398
6400
  [data-finish="lit"] .sheet-stack--tap > .card:not(.is-open) > .head .stack-sheet__tab {
@@ -6478,6 +6480,7 @@ button.calendar__label:focus-visible { outline: var(--focus); outline-offset: va
6478
6480
  [data-finish="ink"] { --card-border: var(--on-surface); --action-border: var(--on-surface); --outline: currentColor; }
6479
6481
  [data-finish="ink"] .card { border: var(--ink-w, 0.15625rem) solid var(--on-surface); box-shadow: var(--ink-off, 0.3125rem) var(--ink-off, 0.3125rem) 0 0 var(--on-surface); }
6480
6482
  [data-finish="ink"] :is(.btn, .chip, .icon-btn:not(.icon-btn-group > *)) { border: var(--ink-w, 0.15625rem) solid currentColor; box-shadow: 0.1875rem 0.1875rem 0 0 currentColor; }
6483
+ [data-finish="ink"] .btn--warn { border-color: var(--btn-ink, var(--action-ink)); box-shadow: 0.1875rem 0.1875rem 0 0 var(--btn-ink, var(--action-ink)); } /* the edge stays the plain button's: only the words take the warning */
6481
6484
  [data-finish="ink"] .btn--primary { border-color: var(--on-surface); box-shadow: 0.1875rem 0.1875rem 0 0 var(--on-surface); }
6482
6485
  [data-finish="ink"] .toggle { box-shadow: 0.125rem 0.125rem 0 0 var(--on-surface); }
6483
6486
  [data-finish="ink"] .card--row > .lead { border-width: var(--ink-w, 0.15625rem); }