@usableapp/cardds 0.7.126 → 0.7.128

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.128 — 2026-10-25
6
+
7
+ `Foot split`: a card foot split in half, now the own-item standard. Under `lit`, sheet shadows are very subtle.
8
+
9
+ Components: Foot, Btn, Sheet, SheetStack
10
+
11
+ ### Added
12
+ - **`Foot split`**: two `Btn`s that ARE the card's foot, each half its width, edge to edge and flush with the card's bottom edge. The card's corners round them, and a `--rule-w` rule runs between them and over them. On a `paper="bands"` foot band there is no rule over them; the band's fill is the edge. No pill: no fill, no edge, no radius, and every finish leaves them flat. Knob `--foot-split-rule-ink`. Story `Foot · Split` (new).
13
+
14
+ ### Changed
15
+ - **The member's own item: the foot is split in half** (replaces 0.7.127's two pills in a row): `<Foot split><Btn><Icon name="pencil" size="xs" /> Edit</Btn><Btn warn><Icon name="x" size="xs" /> Cancel request</Btn></Foot>`. Story `Btn · OwnItemFoot`; `docs/reference.md`.
16
+ - **Under `data-finish="lit"`, a sheet's shadow is very subtle** (`--shadow-sheet`): the sheets of a stack, the top one, and a lone `Sheet`. The layers are now 4% and 6%; they were 6% and 18%. The shadow still falls up the screen.
17
+
18
+ ## 0.7.127 — 2026-10-25
19
+
20
+ `Btn warn`: a pill in the warning ink. The member's own item gets a standard foot: Edit left, cancel right.
21
+
22
+ Components: Btn
23
+
24
+ ### Added
25
+ - **`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.
26
+ - **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`.
27
+
5
28
  ## 0.7.126 — 2026-10-25
6
29
 
7
30
  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.
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!") */
package/css/finish.css CHANGED
@@ -45,8 +45,8 @@
45
45
  0 0.0625rem 0.125rem color-mix(in srgb, var(--_shade) 12%, transparent),
46
46
  0 0.5rem 1.25rem -0.25rem color-mix(in srgb, var(--_shade) 22%, transparent);
47
47
  --shadow-sheet: var(--finish-edge), var(--finish-ring),
48
- 0 -0.0625rem 0.125rem color-mix(in srgb, var(--_shade) 6%, transparent),
49
- 0 -0.75rem 2.5rem color-mix(in srgb, var(--_shade) 18%, transparent);
48
+ 0 -0.0625rem 0.0625rem color-mix(in srgb, var(--_shade) 4%, transparent),
49
+ 0 -0.5rem 2rem -0.25rem color-mix(in srgb, var(--_shade) 6%, transparent);
50
50
 
51
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
52
  --finish-control: var(--finish-edge), var(--finish-ring);
@@ -66,14 +66,14 @@
66
66
  [data-finish="lit"] .sheet-stack > .card,
67
67
  [data-finish="lit"] .sheet-stack > :not(.card, .sheet-stack__base) > .card { box-shadow: var(--shadow-sheet); }
68
68
 
69
- /* ---- controls: a filled button stands up, and goes down under the finger ---- */
70
- [data-finish="lit"] .btn:not(.btn--quiet),
69
+ /* ---- controls: a filled button stands up, and goes down under the finger. The halves of a split foot (.foot--split > *) stay flat in every finish: the card carries it ---- */
70
+ [data-finish="lit"] .btn:not(.btn--quiet, .foot--split > *),
71
71
  [data-finish="lit"] .icon-btn:not(.icon-btn-group > *, .stack-sheet__tab:not(.icon-btn--invert)) {
72
72
  background-image: var(--finish-sheen);
73
73
  box-shadow: var(--finish-control);
74
74
  }
75
75
  /* the main button: its lit edge only, no ring and no shadow behind it */
76
- [data-finish="lit"] .btn--primary,
76
+ [data-finish="lit"] .btn--primary:not(.foot--split > *),
77
77
  [data-finish="lit"] :is(.icon-btn--invert, .icon-btn--primary):not(.icon-btn-group > *) {
78
78
  box-shadow: var(--finish-edge);
79
79
  }
@@ -82,7 +82,7 @@
82
82
  background-image: none;
83
83
  box-shadow: none;
84
84
  }
85
- [data-finish="lit"] :is(.btn:not(.btn--quiet), .icon-btn:not(.icon-btn-group > *, .stack-sheet__tab:not(.icon-btn--invert))):active:not(:disabled) {
85
+ [data-finish="lit"] :is(.btn:not(.btn--quiet, .foot--split > *), .icon-btn:not(.icon-btn-group > *, .stack-sheet__tab:not(.icon-btn--invert))):active:not(:disabled) {
86
86
  background-image: none;
87
87
  box-shadow: var(--finish-control-down);
88
88
  }
@@ -121,13 +121,13 @@
121
121
  padding-bottom: var(--sp-2);
122
122
  border-bottom: var(--rule-w) dotted color-mix(in srgb, currentColor 45%, transparent);
123
123
  }
124
- [data-finish="print"] :is(.btn, .chip) {
124
+ [data-finish="print"] :is(.btn:not(.foot--split > *), .chip) {
125
125
  border-color: var(--_ink);
126
126
  box-shadow: 0.125rem 0.125rem 0 0 color-mix(in srgb, currentColor 35%, transparent);
127
127
  }
128
128
  [data-finish="print"] .chip { border-color: var(--chip-border, var(--_ink)); } /* a holder that clears a chip's edge (a note's chips) clears it in print too */
129
- [data-finish="print"] .btn--primary { box-shadow: 0.125rem 0.125rem 0 0 color-mix(in srgb, var(--card-ink) 60%, transparent); }
130
- [data-finish="print"] :is(.btn, .chip):active { box-shadow: none; translate: 0.125rem 0.125rem; }
129
+ [data-finish="print"] .btn--primary:not(.foot--split > *) { box-shadow: 0.125rem 0.125rem 0 0 color-mix(in srgb, var(--card-ink) 60%, transparent); }
130
+ [data-finish="print"] :is(.btn:not(.foot--split > *), .chip):active { box-shadow: none; translate: 0.125rem 0.125rem; }
131
131
  [data-finish="print"] .card--row > .lead { border-style: dashed; }
132
132
 
133
133
  /* ============================================================
@@ -146,12 +146,12 @@
146
146
  [data-finish="sticker"] .card:not(.sheet, .modal, .card--away, .sheet-stack *, .card-list > *, .card-feed > *) { rotate: var(--sticker-tilt, 0.8deg); }
147
147
  [data-finish="sticker"] .card:not(.sheet, .modal, .card--away, .sheet-stack *, .card-list > *, .card-feed > *):nth-of-type(even) { rotate: calc(-1 * var(--sticker-tilt, 0.8deg)); }
148
148
  [data-finish="sticker"] .card-list { gap: var(--sp-5); }
149
- [data-finish="sticker"] .btn {
149
+ [data-finish="sticker"] .btn:not(.foot--split > *) {
150
150
  box-shadow: 0 0.1875rem 0 0 color-mix(in srgb, currentColor 30%, transparent);
151
151
  border-color: color-mix(in srgb, currentColor 25%, transparent);
152
152
  }
153
- [data-finish="sticker"] .btn--primary { box-shadow: 0 0.1875rem 0 0 color-mix(in srgb, var(--btn-primary-bg, var(--accent)) 55%, var(--on-surface)); }
154
- [data-finish="sticker"] .btn:active { box-shadow: none; translate: 0 0.1875rem; }
153
+ [data-finish="sticker"] .btn--primary:not(.foot--split > *) { box-shadow: 0 0.1875rem 0 0 color-mix(in srgb, var(--btn-primary-bg, var(--accent)) 55%, var(--on-surface)); }
154
+ [data-finish="sticker"] .btn:not(.foot--split > *):active { box-shadow: none; translate: 0 0.1875rem; }
155
155
  [data-finish="sticker"] .chip { box-shadow: 0 0 0 0.1875rem #fff; }
156
156
 
157
157
  /* ============================================================
@@ -160,7 +160,8 @@
160
160
  ============================================================ */
161
161
  [data-finish="ink"] { --card-border: var(--on-surface); --action-border: var(--on-surface); --outline: currentColor; }
162
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); }
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--primary { border-color: var(--on-surface); box-shadow: 0.1875rem 0.1875rem 0 0 var(--on-surface); }
163
+ [data-finish="ink"] :is(.btn:not(.foot--split > *), .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:not(.foot--split > *) { 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 */
165
+ [data-finish="ink"] .btn--primary:not(.foot--split > *) { border-color: var(--on-surface); box-shadow: 0.1875rem 0.1875rem 0 0 var(--on-surface); }
165
166
  [data-finish="ink"] .toggle { box-shadow: 0.125rem 0.125rem 0 0 var(--on-surface); }
166
167
  [data-finish="ink"] .card--row > .lead { border-width: var(--ink-w, 0.15625rem); }
package/css/parts.css CHANGED
@@ -403,6 +403,24 @@
403
403
  .foot--round { justify-content: center; gap: var(--foot-gap, var(--sp-6)); }
404
404
  /* joined (Foot round joined): the round buttons linked by dots (the dots are BtnRow's, actions.css), a closer gap */
405
405
  .foot--joined { gap: var(--btn-trio-gap, var(--sp-3)); }
406
+ /* split (Foot split, Lh 2026-10-25): two Btns that ARE the card's foot — each half its width, edge to edge, flush with its bottom edge,
407
+ the card's bottom corners round them. No pill: no fill, no edge, no radius; the words in the ink of the ground they stand on (a `Btn warn`
408
+ keeps its warning, on that ground's side). A rule of --rule-w between the halves and over them (the band's own fill is the edge on bands).
409
+ Knob --foot-split-rule-ink. The finishes leave the halves flat (finish.css): the card carries the finish */
410
+ .foot.foot--split {
411
+ gap: 0;
412
+ align-items: stretch;
413
+ margin: 0 calc(-1 * var(--card-pad)) calc(-1 * var(--card-pad));
414
+ padding: 0;
415
+ border-block-start: var(--rule-w) solid var(--foot-split-rule-ink, var(--hairline));
416
+ overflow: hidden;
417
+ border-end-start-radius: calc(var(--card-radius, var(--r-card)) - var(--border-w));
418
+ border-end-end-radius: calc(var(--card-radius, var(--r-card)) - var(--border-w));
419
+ }
420
+ :is(.card--bands, .card--bands > .card__face) > .foot.foot--split { padding: 0; border-block-start: 0; } /* the band's slim padding goes: the halves are the band */
421
+ .foot--split > .btn { --btn-bg: transparent; --btn-ink: var(--card-ink); flex: 1 1 0; min-width: 0; border: 0; border-radius: 0; box-shadow: none; }
422
+ .foot--split > .btn--warn { --dark: inherit; }
423
+ .foot--split > .btn + .btn { border-inline-start: var(--rule-w) solid var(--foot-split-rule-ink, var(--hairline)); }
406
424
  /* 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
407
425
  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
408
426
  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,
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!") */
@@ -4597,6 +4598,24 @@ button.calendar__label:focus-visible { outline: var(--focus); outline-offset: va
4597
4598
  .foot--round { justify-content: center; gap: var(--foot-gap, var(--sp-6)); }
4598
4599
  /* joined (Foot round joined): the round buttons linked by dots (the dots are BtnRow's, actions.css), a closer gap */
4599
4600
  .foot--joined { gap: var(--btn-trio-gap, var(--sp-3)); }
4601
+ /* split (Foot split, Lh 2026-10-25): two Btns that ARE the card's foot — each half its width, edge to edge, flush with its bottom edge,
4602
+ the card's bottom corners round them. No pill: no fill, no edge, no radius; the words in the ink of the ground they stand on (a `Btn warn`
4603
+ keeps its warning, on that ground's side). A rule of --rule-w between the halves and over them (the band's own fill is the edge on bands).
4604
+ Knob --foot-split-rule-ink. The finishes leave the halves flat (finish.css): the card carries the finish */
4605
+ .foot.foot--split {
4606
+ gap: 0;
4607
+ align-items: stretch;
4608
+ margin: 0 calc(-1 * var(--card-pad)) calc(-1 * var(--card-pad));
4609
+ padding: 0;
4610
+ border-block-start: var(--rule-w) solid var(--foot-split-rule-ink, var(--hairline));
4611
+ overflow: hidden;
4612
+ border-end-start-radius: calc(var(--card-radius, var(--r-card)) - var(--border-w));
4613
+ border-end-end-radius: calc(var(--card-radius, var(--r-card)) - var(--border-w));
4614
+ }
4615
+ :is(.card--bands, .card--bands > .card__face) > .foot.foot--split { padding: 0; border-block-start: 0; } /* the band's slim padding goes: the halves are the band */
4616
+ .foot--split > .btn { --btn-bg: transparent; --btn-ink: var(--card-ink); flex: 1 1 0; min-width: 0; border: 0; border-radius: 0; box-shadow: none; }
4617
+ .foot--split > .btn--warn { --dark: inherit; }
4618
+ .foot--split > .btn + .btn { border-inline-start: var(--rule-w) solid var(--foot-split-rule-ink, var(--hairline)); }
4600
4619
  /* 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
4601
4620
  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
4602
4621
  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,
@@ -6363,8 +6382,8 @@ button.calendar__label:focus-visible { outline: var(--focus); outline-offset: va
6363
6382
  0 0.0625rem 0.125rem color-mix(in srgb, var(--_shade) 12%, transparent),
6364
6383
  0 0.5rem 1.25rem -0.25rem color-mix(in srgb, var(--_shade) 22%, transparent);
6365
6384
  --shadow-sheet: var(--finish-edge), var(--finish-ring),
6366
- 0 -0.0625rem 0.125rem color-mix(in srgb, var(--_shade) 6%, transparent),
6367
- 0 -0.75rem 2.5rem color-mix(in srgb, var(--_shade) 18%, transparent);
6385
+ 0 -0.0625rem 0.0625rem color-mix(in srgb, var(--_shade) 4%, transparent),
6386
+ 0 -0.5rem 2rem -0.25rem color-mix(in srgb, var(--_shade) 6%, transparent);
6368
6387
 
6369
6388
  /* a control: its lit edge and ring, no shadow behind it (Lh 2026-10-25), and the sheen that runs down its face */
6370
6389
  --finish-control: var(--finish-edge), var(--finish-ring);
@@ -6384,14 +6403,14 @@ button.calendar__label:focus-visible { outline: var(--focus); outline-offset: va
6384
6403
  [data-finish="lit"] .sheet-stack > .card,
6385
6404
  [data-finish="lit"] .sheet-stack > :not(.card, .sheet-stack__base) > .card { box-shadow: var(--shadow-sheet); }
6386
6405
 
6387
- /* ---- controls: a filled button stands up, and goes down under the finger ---- */
6388
- [data-finish="lit"] .btn:not(.btn--quiet),
6406
+ /* ---- controls: a filled button stands up, and goes down under the finger. The halves of a split foot (.foot--split > *) stay flat in every finish: the card carries it ---- */
6407
+ [data-finish="lit"] .btn:not(.btn--quiet, .foot--split > *),
6389
6408
  [data-finish="lit"] .icon-btn:not(.icon-btn-group > *, .stack-sheet__tab:not(.icon-btn--invert)) {
6390
6409
  background-image: var(--finish-sheen);
6391
6410
  box-shadow: var(--finish-control);
6392
6411
  }
6393
6412
  /* the main button: its lit edge only, no ring and no shadow behind it */
6394
- [data-finish="lit"] .btn--primary,
6413
+ [data-finish="lit"] .btn--primary:not(.foot--split > *),
6395
6414
  [data-finish="lit"] :is(.icon-btn--invert, .icon-btn--primary):not(.icon-btn-group > *) {
6396
6415
  box-shadow: var(--finish-edge);
6397
6416
  }
@@ -6400,7 +6419,7 @@ button.calendar__label:focus-visible { outline: var(--focus); outline-offset: va
6400
6419
  background-image: none;
6401
6420
  box-shadow: none;
6402
6421
  }
6403
- [data-finish="lit"] :is(.btn:not(.btn--quiet), .icon-btn:not(.icon-btn-group > *, .stack-sheet__tab:not(.icon-btn--invert))):active:not(:disabled) {
6422
+ [data-finish="lit"] :is(.btn:not(.btn--quiet, .foot--split > *), .icon-btn:not(.icon-btn-group > *, .stack-sheet__tab:not(.icon-btn--invert))):active:not(:disabled) {
6404
6423
  background-image: none;
6405
6424
  box-shadow: var(--finish-control-down);
6406
6425
  }
@@ -6439,13 +6458,13 @@ button.calendar__label:focus-visible { outline: var(--focus); outline-offset: va
6439
6458
  padding-bottom: var(--sp-2);
6440
6459
  border-bottom: var(--rule-w) dotted color-mix(in srgb, currentColor 45%, transparent);
6441
6460
  }
6442
- [data-finish="print"] :is(.btn, .chip) {
6461
+ [data-finish="print"] :is(.btn:not(.foot--split > *), .chip) {
6443
6462
  border-color: var(--_ink);
6444
6463
  box-shadow: 0.125rem 0.125rem 0 0 color-mix(in srgb, currentColor 35%, transparent);
6445
6464
  }
6446
6465
  [data-finish="print"] .chip { border-color: var(--chip-border, var(--_ink)); } /* a holder that clears a chip's edge (a note's chips) clears it in print too */
6447
- [data-finish="print"] .btn--primary { box-shadow: 0.125rem 0.125rem 0 0 color-mix(in srgb, var(--card-ink) 60%, transparent); }
6448
- [data-finish="print"] :is(.btn, .chip):active { box-shadow: none; translate: 0.125rem 0.125rem; }
6466
+ [data-finish="print"] .btn--primary:not(.foot--split > *) { box-shadow: 0.125rem 0.125rem 0 0 color-mix(in srgb, var(--card-ink) 60%, transparent); }
6467
+ [data-finish="print"] :is(.btn:not(.foot--split > *), .chip):active { box-shadow: none; translate: 0.125rem 0.125rem; }
6449
6468
  [data-finish="print"] .card--row > .lead { border-style: dashed; }
6450
6469
 
6451
6470
  /* ============================================================
@@ -6464,12 +6483,12 @@ button.calendar__label:focus-visible { outline: var(--focus); outline-offset: va
6464
6483
  [data-finish="sticker"] .card:not(.sheet, .modal, .card--away, .sheet-stack *, .card-list > *, .card-feed > *) { rotate: var(--sticker-tilt, 0.8deg); }
6465
6484
  [data-finish="sticker"] .card:not(.sheet, .modal, .card--away, .sheet-stack *, .card-list > *, .card-feed > *):nth-of-type(even) { rotate: calc(-1 * var(--sticker-tilt, 0.8deg)); }
6466
6485
  [data-finish="sticker"] .card-list { gap: var(--sp-5); }
6467
- [data-finish="sticker"] .btn {
6486
+ [data-finish="sticker"] .btn:not(.foot--split > *) {
6468
6487
  box-shadow: 0 0.1875rem 0 0 color-mix(in srgb, currentColor 30%, transparent);
6469
6488
  border-color: color-mix(in srgb, currentColor 25%, transparent);
6470
6489
  }
6471
- [data-finish="sticker"] .btn--primary { box-shadow: 0 0.1875rem 0 0 color-mix(in srgb, var(--btn-primary-bg, var(--accent)) 55%, var(--on-surface)); }
6472
- [data-finish="sticker"] .btn:active { box-shadow: none; translate: 0 0.1875rem; }
6490
+ [data-finish="sticker"] .btn--primary:not(.foot--split > *) { box-shadow: 0 0.1875rem 0 0 color-mix(in srgb, var(--btn-primary-bg, var(--accent)) 55%, var(--on-surface)); }
6491
+ [data-finish="sticker"] .btn:not(.foot--split > *):active { box-shadow: none; translate: 0 0.1875rem; }
6473
6492
  [data-finish="sticker"] .chip { box-shadow: 0 0 0 0.1875rem #fff; }
6474
6493
 
6475
6494
  /* ============================================================
@@ -6478,8 +6497,9 @@ button.calendar__label:focus-visible { outline: var(--focus); outline-offset: va
6478
6497
  ============================================================ */
6479
6498
  [data-finish="ink"] { --card-border: var(--on-surface); --action-border: var(--on-surface); --outline: currentColor; }
6480
6499
  [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); }
6481
- [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; }
6482
- [data-finish="ink"] .btn--primary { border-color: var(--on-surface); box-shadow: 0.1875rem 0.1875rem 0 0 var(--on-surface); }
6500
+ [data-finish="ink"] :is(.btn:not(.foot--split > *), .chip, .icon-btn:not(.icon-btn-group > *)) { border: var(--ink-w, 0.15625rem) solid currentColor; box-shadow: 0.1875rem 0.1875rem 0 0 currentColor; }
6501
+ [data-finish="ink"] .btn--warn:not(.foot--split > *) { 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 */
6502
+ [data-finish="ink"] .btn--primary:not(.foot--split > *) { border-color: var(--on-surface); box-shadow: 0.1875rem 0.1875rem 0 0 var(--on-surface); }
6483
6503
  [data-finish="ink"] .toggle { box-shadow: 0.125rem 0.125rem 0 0 var(--on-surface); }
6484
6504
  [data-finish="ink"] .card--row > .lead { border-width: var(--ink-w, 0.15625rem); }
6485
6505